summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore2
-rw-r--r--CMakeLists.txt15
-rw-r--r--CREDITS7
-rw-r--r--VERSION2
-rw-r--r--client/CMakeLists.txt3
-rw-r--r--client/mysql.cc13
-rw-r--r--client/mysql_plugin.c4
-rw-r--r--client/mysqlcheck.c2
-rw-r--r--client/mysqldump.c170
-rw-r--r--client/mysqltest.cc21
-rw-r--r--cmake/CPackRPM.cmake16
-rw-r--r--cmake/cpack_rpm.cmake132
-rw-r--r--cmake/install_macros.cmake1
-rw-r--r--cmake/jemalloc.cmake4
-rw-r--r--cmake/mysql_add_executable.cmake96
-rw-r--r--cmake/pcre.cmake16
-rw-r--r--cmake/plugin.cmake3
-rw-r--r--cmake/versioninfo.rc.in76
-rw-r--r--cmake/zlib.cmake3
-rw-r--r--config.h.cmake13
-rw-r--r--dbug/dbug.c1
-rw-r--r--debian/dist/Debian/mariadb-server-10.0.files.in3
-rw-r--r--debian/dist/Ubuntu/mariadb-server-10.0.files.in3
-rw-r--r--debian/po/it.po10
-rw-r--r--debian/po/sv.po12
-rw-r--r--extra/jemalloc/ChangeLog9
-rw-r--r--extra/jemalloc/include/jemalloc/internal/arena.h66
-rw-r--r--extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in4
-rw-r--r--extra/jemalloc/include/jemalloc/internal/private_namespace.h2
-rw-r--r--extra/jemalloc/include/jemalloc/internal/tcache.h4
-rw-r--r--extra/jemalloc/src/arena.c44
-rw-r--r--extra/replace.c4
-rw-r--r--extra/yassl/CMakeLists.txt2
-rw-r--r--extra/yassl/include/yassl_error.hpp2
-rw-r--r--extra/yassl/include/yassl_types.hpp2
-rw-r--r--extra/yassl/src/handshake.cpp2
-rw-r--r--extra/yassl/src/yassl_error.cpp2
-rw-r--r--extra/yassl/src/yassl_imp.cpp2
-rw-r--r--extra/yassl/taocrypt/CMakeLists.txt2
-rw-r--r--include/atomic/gcc_builtins.h6
-rw-r--r--include/hash.h9
-rw-r--r--include/heap.h16
-rw-r--r--include/ma_dyncol.h3
-rw-r--r--include/maria.h8
-rw-r--r--include/my_bitmap.h11
-rw-r--r--include/my_getopt.h2
-rw-r--r--include/my_global.h37
-rw-r--r--include/my_net.h2
-rw-r--r--include/my_pthread.h6
-rw-r--r--include/my_sys.h5
-rw-r--r--include/my_time.h7
-rw-r--r--include/my_valgrind.h6
-rw-r--r--include/myisam.h10
-rw-r--r--include/mysql/plugin.h5
-rw-r--r--include/mysql/plugin_audit.h2
-rw-r--r--include/mysql/plugin_audit.h.pp1
-rw-r--r--include/mysql/plugin_auth.h.pp1
-rw-r--r--include/mysql/plugin_ftparser.h.pp1
-rw-r--r--include/mysql/psi/mysql_thread.h14
-rw-r--r--include/queues.h1
-rw-r--r--include/welcome_copyright_notice.h6
-rw-r--r--libmysql/CMakeLists.txt191
-rw-r--r--libmysql/conf_to_src.c2
-rw-r--r--libmysql/libmysql.c65
-rw-r--r--libmysql/libmysql.ver.in1
-rw-r--r--libmysql/libmysql_rpm_version.in62
-rw-r--r--libmysql/libmysql_versions.ld.in45
-rw-r--r--libmysql/rpm_support.cc41
-rw-r--r--libmysqld/CMakeLists.txt3
-rw-r--r--libmysqld/examples/CMakeLists.txt3
-rw-r--r--libmysqld/lib_sql.cc6
-rw-r--r--mysql-test/CMakeLists.txt2
-rwxr-xr-xmysql-test/collections/default.weekly3
-rw-r--r--mysql-test/extra/rpl_tests/rpl_ddl.test1
-rw-r--r--mysql-test/extra/rpl_tests/rpl_log.test8
-rw-r--r--mysql-test/extra/rpl_tests/rpl_stop_slave.test3
-rw-r--r--mysql-test/include/commit.inc2
-rw-r--r--mysql-test/include/ctype_filesort2.inc9
-rw-r--r--mysql-test/include/have_innodb.combinations2
-rw-r--r--mysql-test/include/have_metadata_lock_info.inc4
-rw-r--r--mysql-test/include/have_metadata_lock_info.opt2
-rw-r--r--mysql-test/include/have_rbr_triggers.inc5
-rw-r--r--mysql-test/include/have_unix_socket.inc13
-rw-r--r--mysql-test/include/index_merge_ror_cpk.inc3
-rw-r--r--mysql-test/include/mtr_check.sql15
-rw-r--r--mysql-test/include/save_master_gtid.inc28
-rw-r--r--mysql-test/include/sync_with_master_gtid.inc48
-rw-r--r--mysql-test/include/type_hrtime.inc3
-rw-r--r--mysql-test/lib/My/Config.pm2
-rw-r--r--mysql-test/lib/My/SafeProcess/safe_process.cc2
-rw-r--r--mysql-test/lib/My/SysInfo.pm3
-rw-r--r--mysql-test/lib/mtr_cases.pm17
-rwxr-xr-xmysql-test/mysql-test-run.pl43
-rw-r--r--mysql-test/r/alter_table.result73
-rw-r--r--mysql-test/r/backup.result111
-rw-r--r--mysql-test/r/binlog_tx_isolation.result48
-rw-r--r--mysql-test/r/blackhole.result8
-rw-r--r--mysql-test/r/cast.result13
-rw-r--r--mysql-test/r/comment_column.result3
-rw-r--r--mysql-test/r/comments.result6
-rw-r--r--mysql-test/r/commit_1innodb.result2
-rw-r--r--mysql-test/r/contributors.result6
-rw-r--r--mysql-test/r/create-big.result4
-rw-r--r--mysql-test/r/create.result2
-rw-r--r--mysql-test/r/create_or_replace.result430
-rw-r--r--mysql-test/r/create_or_replace2.result25
-rw-r--r--mysql-test/r/ctype_binary.result2
-rw-r--r--mysql-test/r/ctype_cp1250_ch.result96
-rw-r--r--mysql-test/r/ctype_cp1251.result2
-rw-r--r--mysql-test/r/ctype_latin1.result2
-rw-r--r--mysql-test/r/ctype_ucs.result2
-rw-r--r--mysql-test/r/ctype_utf16.result15
-rw-r--r--mysql-test/r/ctype_utf16le.result15
-rw-r--r--mysql-test/r/ctype_utf32.result15
-rw-r--r--mysql-test/r/ctype_utf8.result2
-rw-r--r--mysql-test/r/ctype_utf8mb4.result15
-rw-r--r--mysql-test/r/derived_view.result42
-rw-r--r--mysql-test/r/distinct.result40
-rw-r--r--mysql-test/r/drop.result36
-rw-r--r--mysql-test/r/dyncol.result21
-rw-r--r--mysql-test/r/error_simulation.result2
-rw-r--r--mysql-test/r/events_trans.result1
-rw-r--r--mysql-test/r/failed_auth_unixsocket.result12
-rw-r--r--mysql-test/r/func_compress.result21
-rw-r--r--mysql-test/r/func_group.result11
-rw-r--r--mysql-test/r/func_math.result30
-rw-r--r--mysql-test/r/func_misc.result26
-rw-r--r--mysql-test/r/func_regexp.result14
-rw-r--r--mysql-test/r/func_str.result1
-rw-r--r--mysql-test/r/func_time.result49
-rw-r--r--mysql-test/r/gis-precise.result3
-rw-r--r--mysql-test/r/gis.result21
-rw-r--r--mysql-test/r/index_intersect_innodb.result16
-rw-r--r--mysql-test/r/index_merge_innodb.result3
-rw-r--r--mysql-test/r/index_merge_myisam.result3
-rw-r--r--mysql-test/r/information_schema-big.result6
-rw-r--r--mysql-test/r/information_schema.result42
-rw-r--r--mysql-test/r/information_schema_all_engines.result20
-rw-r--r--mysql-test/r/innodb_ext_key.result2
-rw-r--r--mysql-test/r/isam.result251
-rw-r--r--mysql-test/r/join.result11
-rw-r--r--mysql-test/r/join_outer.result2
-rw-r--r--mysql-test/r/join_outer_jcl6.result2
-rw-r--r--mysql-test/r/key.result27
-rw-r--r--mysql-test/r/locked_temporary-5955.result2
-rw-r--r--mysql-test/r/lowercase_fs_off.result2
-rw-r--r--mysql-test/r/lowercase_table.result19
-rw-r--r--mysql-test/r/lowercase_table2.result57
-rw-r--r--mysql-test/r/lowercase_table5.result13
-rw-r--r--mysql-test/r/lowercase_view.result30
-rw-r--r--mysql-test/r/merge.result72
-rw-r--r--mysql-test/r/multi_update.result28
-rw-r--r--mysql-test/r/myisampack.result7
-rw-r--r--mysql-test/r/mysqld--help.result61
-rw-r--r--mysql-test/r/mysqldump.result14
-rw-r--r--mysql-test/r/not_embedded_server.result85
-rw-r--r--mysql-test/r/not_partition.result14
-rw-r--r--mysql-test/r/old-mode.result81
-rw-r--r--mysql-test/r/partition.result28
-rw-r--r--mysql-test/r/partition_debug_sync.result1
-rw-r--r--mysql-test/r/partition_disabled.result15
-rw-r--r--mysql-test/r/partition_error.result96
-rw-r--r--mysql-test/r/partition_exchange.result2
-rw-r--r--mysql-test/r/partition_innodb.result71
-rw-r--r--mysql-test/r/partition_order.result4
-rw-r--r--mysql-test/r/partition_windows.result4
-rw-r--r--mysql-test/r/plugin.result18
-rw-r--r--mysql-test/r/plugin_auth_qa_3.result2
-rw-r--r--mysql-test/r/ps.result11
-rw-r--r--mysql-test/r/ps_ddl.result6
-rw-r--r--mysql-test/r/range.result65
-rw-r--r--mysql-test/r/range_mrr_icp.result65
-rw-r--r--mysql-test/r/range_vs_index_merge.result3
-rw-r--r--mysql-test/r/range_vs_index_merge_innodb.result7
-rw-r--r--mysql-test/r/rpl_colSize.result179
-rw-r--r--mysql-test/r/rpl_extraColmaster_innodb.resultbin24418 -> 0 bytes
-rw-r--r--mysql-test/r/rpl_extraColmaster_myisam.resultbin24418 -> 0 bytes
-rw-r--r--mysql-test/r/rpl_mysqldump_slave.result21
-rw-r--r--mysql-test/r/select.result45
-rw-r--r--mysql-test/r/select_found.result33
-rw-r--r--mysql-test/r/select_jcl6.result45
-rw-r--r--mysql-test/r/select_pkeycache.result45
-rw-r--r--mysql-test/r/selectivity.result182
-rw-r--r--mysql-test/r/selectivity_innodb.result166
-rw-r--r--mysql-test/r/selectivity_no_engine.result147
-rw-r--r--mysql-test/r/show_check.result2
-rw-r--r--mysql-test/r/slave-running.result3
-rw-r--r--mysql-test/r/slave-stopped.result3
-rw-r--r--mysql-test/r/sp-security.result30
-rw-r--r--mysql-test/r/ssl.result4
-rw-r--r--mysql-test/r/stack-crash.result93
-rw-r--r--mysql-test/r/stat_tables.result5
-rw-r--r--mysql-test/r/stat_tables_innodb.result5
-rw-r--r--mysql-test/r/stat_tables_par.result5
-rw-r--r--mysql-test/r/stat_tables_par_innodb.result29
-rw-r--r--mysql-test/r/stat_tables_partition.result1
-rw-r--r--mysql-test/r/stat_tables_rbr.result2
-rw-r--r--mysql-test/r/stat_tables_repl.result5
-rw-r--r--mysql-test/r/statistics.result32
-rw-r--r--mysql-test/r/subselect.result20
-rw-r--r--mysql-test/r/subselect2.result4
-rw-r--r--mysql-test/r/subselect4.result49
-rw-r--r--mysql-test/r/subselect_exists2in.result23
-rw-r--r--mysql-test/r/subselect_exists_to_in.result20
-rw-r--r--mysql-test/r/subselect_extra.result4
-rw-r--r--mysql-test/r/subselect_innodb.result56
-rw-r--r--mysql-test/r/subselect_mat.result14
-rw-r--r--mysql-test/r/subselect_no_mat.result20
-rw-r--r--mysql-test/r/subselect_no_opts.result20
-rw-r--r--mysql-test/r/subselect_no_scache.result20
-rw-r--r--mysql-test/r/subselect_no_semijoin.result20
-rw-r--r--mysql-test/r/subselect_sj.result16
-rw-r--r--mysql-test/r/subselect_sj2.result17
-rw-r--r--mysql-test/r/subselect_sj2_jcl6.result17
-rw-r--r--mysql-test/r/subselect_sj2_mat.result17
-rw-r--r--mysql-test/r/subselect_sj_jcl6.result16
-rw-r--r--mysql-test/r/subselect_sj_mat.result22
-rw-r--r--mysql-test/r/temporal_literal.result175
-rw-r--r--mysql-test/r/timezone2.result10
-rw-r--r--mysql-test/r/trigger.result2
-rw-r--r--mysql-test/r/type_datetime.result4
-rw-r--r--mysql-test/r/type_datetime_hires.result6
-rw-r--r--mysql-test/r/type_float.result18
-rw-r--r--mysql-test/r/type_time.result10
-rw-r--r--mysql-test/r/type_time_hires.result28
-rw-r--r--mysql-test/r/type_timestamp_hires.result14
-rw-r--r--mysql-test/r/udf_debug_sync.result20
-rw-r--r--mysql-test/r/union_crash-714.result5
-rw-r--r--mysql-test/r/update.result27
-rw-r--r--mysql-test/r/variables.result4
-rw-r--r--mysql-test/r/view.result54
-rw-r--r--mysql-test/r/view_grant.result149
-rw-r--r--mysql-test/r/xml.result41
-rw-r--r--mysql-test/std_data/cacert.pem31
-rw-r--r--mysql-test/std_data/client-cert.pem95
-rw-r--r--mysql-test/std_data/client-key.pem26
-rw-r--r--mysql-test/std_data/mariadb-5.5-binlog.000001bin0 -> 1037 bytes
-rw-r--r--mysql-test/std_data/server-cert.pem90
-rw-r--r--mysql-test/std_data/server-key.pem20
-rw-r--r--mysql-test/std_data/server8k-cert.pem116
-rw-r--r--mysql-test/std_data/server8k-key.pem110
-rw-r--r--mysql-test/suite.pm18
-rw-r--r--mysql-test/suite/archive/archive_no_symlink-master.opt1
-rw-r--r--mysql-test/suite/archive/archive_no_symlink.result26
-rw-r--r--mysql-test/suite/archive/archive_no_symlink.test26
-rw-r--r--mysql-test/suite/archive/archive_symlink.result57
-rw-r--r--mysql-test/suite/archive/archive_symlink.test72
-rw-r--r--mysql-test/suite/archive/discover.result3
-rw-r--r--mysql-test/suite/archive/discover.test4
-rw-r--r--mysql-test/suite/binlog/r/binlog_checkpoint.result1
-rw-r--r--mysql-test/suite/binlog/t/binlog_checkpoint.test1
-rw-r--r--mysql-test/suite/binlog/t/binlog_row_mysqlbinlog_options.test4
-rw-r--r--mysql-test/suite/csv/csv.result8
-rw-r--r--mysql-test/suite/csv/csv.test9
-rw-r--r--mysql-test/suite/federated/federated.test1
-rw-r--r--mysql-test/suite/federated/federated_maybe_16324629.result16
-rw-r--r--mysql-test/suite/federated/federated_maybe_16324629.test23
-rw-r--r--mysql-test/suite/funcs_1/r/innodb_func_view.result38
-rw-r--r--mysql-test/suite/funcs_1/r/innodb_views.result16
-rw-r--r--mysql-test/suite/funcs_1/r/is_columns_is.result28
-rw-r--r--mysql-test/suite/funcs_1/r/memory_func_view.result38
-rw-r--r--mysql-test/suite/funcs_1/r/memory_views.result16
-rw-r--r--mysql-test/suite/funcs_1/r/myisam_func_view.result38
-rw-r--r--mysql-test/suite/funcs_1/r/myisam_views-big.result16
-rw-r--r--mysql-test/suite/funcs_1/views/func_view.inc4
-rw-r--r--mysql-test/suite/heap/heap.result42
-rw-r--r--mysql-test/suite/heap/heap.test53
-rw-r--r--mysql-test/suite/innodb/r/innodb-change-buffer-recovery.result39
-rw-r--r--mysql-test/suite/innodb/r/innodb_bug54044.result6
-rw-r--r--mysql-test/suite/innodb/r/innodb_information_schema.result2
-rw-r--r--mysql-test/suite/innodb/r/innodb_mysql.result7
-rw-r--r--mysql-test/suite/innodb/r/row_lock.result16
-rw-r--r--mysql-test/suite/innodb/t/innodb-change-buffer-recovery-master.opt1
-rw-r--r--mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test75
-rw-r--r--mysql-test/suite/innodb/t/innodb_bug54044.test13
-rw-r--r--mysql-test/suite/innodb/t/innodb_bug60196-master.opt2
-rw-r--r--mysql-test/suite/innodb/t/innodb_mysql.test4
-rw-r--r--mysql-test/suite/innodb/t/row_lock.test53
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb-create-options.result (renamed from mysql-test/suite/innodb/r/innodb-create-options.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb-zip.result (renamed from mysql-test/suite/innodb/r/innodb-zip.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_bug36169.result (renamed from mysql-test/suite/innodb/r/innodb_bug36169.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_bug36172.result (renamed from mysql-test/suite/innodb/r/innodb_bug36172.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_bug52745.result (renamed from mysql-test/suite/innodb/r/innodb_bug52745.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_bug53591.result (renamed from mysql-test/suite/innodb/r/innodb_bug53591.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_bug56680.result (renamed from mysql-test/suite/innodb/r/innodb_bug56680.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_cmp_drop_table.result (renamed from mysql-test/suite/innodb/r/innodb_cmp_drop_table.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_index_large_prefix.result (renamed from mysql-test/suite/innodb/r/innodb_index_large_prefix.result)0
-rw-r--r--mysql-test/suite/innodb_zip/r/innodb_prefix_index_liftedlimit.result (renamed from mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb-create-options.test (renamed from mysql-test/suite/innodb/t/innodb-create-options.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb-zip.test (renamed from mysql-test/suite/innodb/t/innodb-zip.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_bug36169.test (renamed from mysql-test/suite/innodb/t/innodb_bug36169.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_bug36172.test (renamed from mysql-test/suite/innodb/t/innodb_bug36172.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_bug52745.test (renamed from mysql-test/suite/innodb/t/innodb_bug52745.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_bug53591.test (renamed from mysql-test/suite/innodb/t/innodb_bug53591.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_bug56680.test (renamed from mysql-test/suite/innodb/t/innodb_bug56680.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_cmp_drop_table-master.opt (renamed from mysql-test/suite/innodb/t/innodb_cmp_drop_table-master.opt)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_cmp_drop_table.test (renamed from mysql-test/suite/innodb/t/innodb_cmp_drop_table.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_index_large_prefix.test (renamed from mysql-test/suite/innodb/t/innodb_index_large_prefix.test)0
-rw-r--r--mysql-test/suite/innodb_zip/t/innodb_prefix_index_liftedlimit.test (renamed from mysql-test/suite/innodb/t/innodb_prefix_index_liftedlimit.test)0
-rw-r--r--mysql-test/suite/maria/icp.result2
-rw-r--r--mysql-test/suite/maria/maria-preload.result28
-rw-r--r--mysql-test/suite/maria/maria.result7
-rw-r--r--mysql-test/suite/maria/maria.test3
-rw-r--r--mysql-test/suite/multi_source/gtid_ignore_duplicates.cnf24
-rw-r--r--mysql-test/suite/multi_source/gtid_ignore_duplicates.result279
-rw-r--r--mysql-test/suite/multi_source/gtid_ignore_duplicates.test304
-rw-r--r--mysql-test/suite/multi_source/skip_counter.result10
-rw-r--r--mysql-test/suite/multi_source/skip_counter.test22
-rw-r--r--mysql-test/suite/optimizer_unfixed_bugs/t/bug42991.test496
-rw-r--r--mysql-test/suite/parts/r/partition_mgm_lc2_innodb.result8
-rw-r--r--mysql-test/suite/parts/r/partition_mgm_lc2_memory.result8
-rw-r--r--mysql-test/suite/parts/r/partition_mgm_lc2_myisam.result8
-rw-r--r--mysql-test/suite/perfschema/r/dml_setup_instruments.result10
-rw-r--r--mysql-test/suite/perfschema/r/func_mutex.result14
-rw-r--r--mysql-test/suite/perfschema/r/hostcache_ipv4_blocked.result8
-rw-r--r--mysql-test/suite/perfschema/r/hostcache_ipv6_blocked.result8
-rw-r--r--mysql-test/suite/perfschema/r/server_init.result4
-rw-r--r--mysql-test/suite/perfschema/t/func_mutex.test12
-rw-r--r--mysql-test/suite/perfschema/t/hostcache_ipv4_blocked.test8
-rw-r--r--mysql-test/suite/perfschema/t/hostcache_ipv6_blocked.test8
-rw-r--r--mysql-test/suite/perfschema/t/server_init.test3
-rw-r--r--mysql-test/suite/plugins/r/server_audit.result202
-rw-r--r--mysql-test/suite/plugins/t/server_audit.opt2
-rw-r--r--mysql-test/suite/plugins/t/server_audit.test78
-rw-r--r--mysql-test/suite/plugins/t/unix_socket.test18
-rw-r--r--mysql-test/suite/roles/grant-5771.result33
-rw-r--r--mysql-test/suite/roles/grant-5771.test31
-rw-r--r--mysql-test/suite/roles/grant_empty.result (renamed from mysql-test/suite/roles/show_grants_anon-5238.result)2
-rw-r--r--mysql-test/suite/roles/grant_empty.test (renamed from mysql-test/suite/roles/show_grants_anon-5238.test)6
-rw-r--r--mysql-test/suite/roles/recursive_dbug.result46
-rw-r--r--mysql-test/suite/rpl/disabled.def1
-rw-r--r--mysql-test/suite/rpl/r/create_or_replace_mix.result259
-rw-r--r--mysql-test/suite/rpl/r/create_or_replace_row.result281
-rw-r--r--mysql-test/suite/rpl/r/create_or_replace_statement.result248
-rw-r--r--mysql-test/suite/rpl/r/rpl_000011.result6
-rw-r--r--mysql-test/suite/rpl/r/rpl_ddl.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_drop_view.result4
-rw-r--r--mysql-test/suite/rpl/r/rpl_gtid_basic.result125
-rw-r--r--mysql-test/suite/rpl/r/rpl_gtid_crash.result14
-rw-r--r--mysql-test/suite/rpl/r/rpl_gtid_errorhandling.result6
-rw-r--r--mysql-test/suite/rpl/r/rpl_gtid_ignored.result2
-rw-r--r--mysql-test/suite/rpl/r/rpl_gtid_nobinlog.result4
-rw-r--r--mysql-test/suite/rpl/r/rpl_gtid_startpos.result15
-rw-r--r--mysql-test/suite/rpl/r/rpl_gtid_stop_start.result4
-rw-r--r--mysql-test/suite/rpl/r/rpl_mariadb_slave_capability.result28
-rw-r--r--mysql-test/suite/rpl/r/rpl_mdev382.result2
-rw-r--r--mysql-test/suite/rpl/r/rpl_old_master.result27
-rw-r--r--mysql-test/suite/rpl/r/rpl_parallel.result213
-rw-r--r--mysql-test/suite/rpl/r/rpl_parallel2.result18
-rw-r--r--mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result2
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_create_table.result157
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_log.result3
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_log_innodb.result3
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_show_relaylog_events.result4
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_triggers.result240
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_triggers_sbr.result14
-rw-r--r--mysql-test/suite/rpl/r/rpl_stm_log.result3
-rw-r--r--mysql-test/suite/rpl/r/rpl_stm_mix_show_relaylog_events.result4
-rw-r--r--mysql-test/suite/rpl/r/rpl_temp_table_mix_row.result4
-rw-r--r--mysql-test/suite/rpl/t/create_or_replace.inc213
-rw-r--r--mysql-test/suite/rpl/t/create_or_replace_mix.cnf9
-rw-r--r--mysql-test/suite/rpl/t/create_or_replace_mix.test4
-rw-r--r--mysql-test/suite/rpl/t/create_or_replace_row.cnf9
-rw-r--r--mysql-test/suite/rpl/t/create_or_replace_row.test4
-rw-r--r--mysql-test/suite/rpl/t/create_or_replace_statement.cnf9
-rw-r--r--mysql-test/suite/rpl/t/create_or_replace_statement.test4
-rw-r--r--mysql-test/suite/rpl/t/rpl_000011-slave.opt1
-rw-r--r--mysql-test/suite/rpl/t/rpl_000011.test8
-rw-r--r--mysql-test/suite/rpl/t/rpl_bug37426.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_connection.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_create_if_not_exists.test4
-rw-r--r--mysql-test/suite/rpl/t/rpl_drop_db.test4
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_basic.test191
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_crash.test28
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_errorhandling.test12
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_ignored.test4
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_mdev4485.test1
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_nobinlog.test8
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_startpos.test32
-rw-r--r--mysql-test/suite/rpl/t/rpl_gtid_stop_start.test8
-rw-r--r--mysql-test/suite/rpl/t/rpl_heartbeat_basic.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_known_bugs_detection.test7
-rw-r--r--mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test50
-rw-r--r--mysql-test/suite/rpl/t/rpl_mix_found_rows.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_old_master.test49
-rw-r--r--mysql-test/suite/rpl/t/rpl_parallel.test341
-rw-r--r--mysql-test/suite/rpl/t/rpl_parallel2.test41
-rw-r--r--mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_row_create_table.test3
-rw-r--r--mysql-test/suite/rpl/t/rpl_row_find_row_debug.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_row_triggers.test280
-rw-r--r--mysql-test/suite/rpl/t/rpl_row_triggers_sbr.test43
-rw-r--r--mysql-test/suite/rpl/t/rpl_row_unsafe_funcs.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_row_utf32.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_stm_log.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_stm_sql_mode.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_stm_stop_middle_group.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test2
-rw-r--r--mysql-test/suite/sys_vars/r/back_log_basic.result10
-rw-r--r--mysql-test/suite/sys_vars/r/engine_condition_pushdown_basic.result22
-rw-r--r--mysql-test/suite/sys_vars/r/gtid_ignore_duplicates_basic.result13
-rw-r--r--mysql-test/suite/sys_vars/r/innodb_monitor_disable_basic.result8
-rw-r--r--mysql-test/suite/sys_vars/r/innodb_monitor_enable_basic.result8
-rw-r--r--mysql-test/suite/sys_vars/r/innodb_monitor_reset_all_basic.result8
-rw-r--r--mysql-test/suite/sys_vars/r/innodb_monitor_reset_basic.result8
-rw-r--r--mysql-test/suite/sys_vars/r/last_gtid_basic.result9
-rw-r--r--mysql-test/suite/sys_vars/r/old_mode_basic.result8
-rw-r--r--mysql-test/suite/sys_vars/r/optimizer_switch_basic.result16
-rw-r--r--mysql-test/suite/sys_vars/r/progress_report_time_basic.result12
-rw-r--r--mysql-test/suite/sys_vars/r/slave_ddl_exec_mode_basic.result39
-rw-r--r--mysql-test/suite/sys_vars/r/slave_domain_parallel_threads_basic.result13
-rw-r--r--mysql-test/suite/sys_vars/r/version_malloc_library_basic.result53
-rw-r--r--mysql-test/suite/sys_vars/t/gtid_ignore_duplicates_basic.test14
-rw-r--r--mysql-test/suite/sys_vars/t/last_gtid_basic.test11
-rw-r--r--mysql-test/suite/sys_vars/t/old_mode_basic.test5
-rw-r--r--mysql-test/suite/sys_vars/t/slave_ddl_exec_mode_basic.test67
-rw-r--r--mysql-test/suite/sys_vars/t/slave_domain_parallel_threads_basic.test14
-rw-r--r--mysql-test/suite/sys_vars/t/version_malloc_library_basic.test90
-rw-r--r--mysql-test/suite/vcol/r/vcol_misc.result5
-rw-r--r--mysql-test/suite/vcol/t/vcol_misc.test7
-rw-r--r--mysql-test/t/aborted_clients.test56
-rw-r--r--mysql-test/t/alter_table.test41
-rw-r--r--mysql-test/t/auth_rpl.test132
-rw-r--r--mysql-test/t/blackhole.test9
-rw-r--r--mysql-test/t/cast.test3
-rw-r--r--mysql-test/t/comment_column.test2
-rw-r--r--mysql-test/t/comments.test2
-rw-r--r--mysql-test/t/create-big.test13
-rw-r--r--mysql-test/t/create.test2
-rw-r--r--mysql-test/t/create_or_replace-master.opt1
-rw-r--r--mysql-test/t/create_or_replace.test338
-rw-r--r--mysql-test/t/create_or_replace2.test35
-rw-r--r--mysql-test/t/derived_view.test27
-rw-r--r--mysql-test/t/distinct.test38
-rw-r--r--mysql-test/t/drop.test37
-rw-r--r--mysql-test/t/dyncol.test16
-rw-r--r--mysql-test/t/error_simulation.test2
-rw-r--r--mysql-test/t/events_trans.test1
-rw-r--r--mysql-test/t/failed_auth_unixsocket.test30
-rw-r--r--mysql-test/t/func_compress.test21
-rw-r--r--mysql-test/t/func_gconcat.test6
-rw-r--r--mysql-test/t/func_group.test12
-rw-r--r--mysql-test/t/func_math.test27
-rw-r--r--mysql-test/t/func_misc.test28
-rw-r--r--mysql-test/t/func_regexp.test12
-rw-r--r--mysql-test/t/func_time.test17
-rw-r--r--mysql-test/t/gis-precise.test3
-rw-r--r--mysql-test/t/gis.test18
-rw-r--r--mysql-test/t/information_schema.test56
-rw-r--r--mysql-test/t/join.test15
-rw-r--r--mysql-test/t/key.test20
-rw-r--r--mysql-test/t/locked_temporary-5955.test10
-rw-r--r--mysql-test/t/lowercase_table.test13
-rw-r--r--mysql-test/t/lowercase_table2.test33
-rw-r--r--mysql-test/t/lowercase_table4-master.opt2
-rw-r--r--mysql-test/t/lowercase_table4.test216
-rw-r--r--mysql-test/t/lowercase_table5.test20
-rw-r--r--mysql-test/t/multi_update.test26
-rw-r--r--mysql-test/t/myisampack.test12
-rw-r--r--mysql-test/t/mysqld--help.test4
-rw-r--r--mysql-test/t/mysqldump.test15
-rw-r--r--mysql-test/t/not_embedded_server.test107
-rw-r--r--mysql-test/t/not_partition.test14
-rw-r--r--mysql-test/t/old-mode.test39
-rw-r--r--mysql-test/t/partition.test286
-rw-r--r--mysql-test/t/partition_debug_sync.test1
-rw-r--r--mysql-test/t/partition_disabled.test17
-rw-r--r--mysql-test/t/partition_error.test46
-rw-r--r--mysql-test/t/partition_exchange.test2
-rw-r--r--mysql-test/t/partition_innodb.test81
-rw-r--r--mysql-test/t/plugin.test2
-rw-r--r--mysql-test/t/ps.test15
-rw-r--r--mysql-test/t/ps_ddl.test6
-rw-r--r--mysql-test/t/range.test47
-rw-r--r--mysql-test/t/range_vs_index_merge.test3
-rw-r--r--mysql-test/t/rpl_mysqldump_slave.test9
-rw-r--r--mysql-test/t/select.test32
-rw-r--r--mysql-test/t/select_found.test40
-rw-r--r--mysql-test/t/selectivity.test106
-rw-r--r--mysql-test/t/selectivity_no_engine.test112
-rw-r--r--mysql-test/t/show_check.test2
-rw-r--r--mysql-test/t/sp-security.test41
-rw-r--r--mysql-test/t/stack-crash.test96
-rw-r--r--mysql-test/t/stat_tables_par.test4
-rw-r--r--mysql-test/t/statistics.test4
-rw-r--r--mysql-test/t/subselect4.test56
-rw-r--r--mysql-test/t/subselect_exists2in.test25
-rw-r--r--mysql-test/t/subselect_innodb.test55
-rw-r--r--mysql-test/t/subselect_sj.test18
-rw-r--r--mysql-test/t/subselect_sj2.test18
-rw-r--r--mysql-test/t/subselect_sj_mat.test18
-rw-r--r--mysql-test/t/temporal_literal.test81
-rw-r--r--mysql-test/t/timezone2.test2
-rw-r--r--mysql-test/t/type_float.test12
-rw-r--r--mysql-test/t/type_time.test4
-rw-r--r--mysql-test/t/udf_debug_sync.test40
-rw-r--r--mysql-test/t/union_crash-714.test9
-rw-r--r--mysql-test/t/update.test22
-rw-r--r--mysql-test/t/view.test21
-rw-r--r--mysql-test/t/view_grant.test162
-rw-r--r--mysql-test/t/xml.test35
-rw-r--r--mysql-test/valgrind.supp38
-rw-r--r--mysys/array.c8
-rw-r--r--mysys/file_logger.c1
-rw-r--r--mysys/hash.c32
-rw-r--r--mysys/ma_dyncol.c20
-rw-r--r--mysys/md5.c.THIS2
-rw-r--r--mysys/mf_iocache.c6
-rw-r--r--mysys/mf_keycache.c5
-rw-r--r--mysys/mf_qsort.c3
-rw-r--r--mysys/mf_radix.c3
-rw-r--r--mysys/mf_same.c3
-rw-r--r--mysys/mf_soundex.c3
-rw-r--r--mysys/mf_tempdir.c4
-rw-r--r--mysys/mf_tempfile.c4
-rw-r--r--mysys/mf_wcomp.c3
-rw-r--r--mysys/mulalloc.c3
-rw-r--r--mysys/my_access.c4
-rw-r--r--mysys/my_aes.c.THIS3
-rw-r--r--mysys/my_alloc.c2
-rw-r--r--mysys/my_bitmap.c10
-rw-r--r--mysys/my_conio.c3
-rw-r--r--mysys/my_copy.c2
-rw-r--r--mysys/my_crc32.c3
-rw-r--r--mysys/my_delete.c2
-rw-r--r--mysys/my_div.c3
-rw-r--r--mysys/my_error.c2
-rw-r--r--mysys/my_fopen.c4
-rw-r--r--mysys/my_gethwaddr.c2
-rw-r--r--mysys/my_getpagesize.c3
-rw-r--r--mysys/my_getwd.c6
-rw-r--r--mysys/my_libwrap.c2
-rw-r--r--mysys/my_lockmem.c2
-rw-r--r--mysys/my_malloc.c18
-rw-r--r--mysys/my_memmem.c3
-rw-r--r--mysys/my_mkdir.c3
-rw-r--r--mysys/my_once.c2
-rw-r--r--mysys/my_rename.c15
-rw-r--r--mysys/my_symlink2.c3
-rw-r--r--mysys/my_wincond.c4
-rw-r--r--mysys/my_winthread.c2
-rw-r--r--mysys/safemalloc.c2
-rw-r--r--mysys/test_dir.c3
-rw-r--r--mysys/test_xml.c3
-rw-r--r--mysys/thr_alarm.c5
-rw-r--r--mysys/thr_mutex.c4
-rw-r--r--mysys/tree.c2
-rw-r--r--packaging/WiX/CPackWixConfig.cmake2
-rw-r--r--packaging/WiX/custom_ui.wxs4
-rw-r--r--packaging/WiX/mysql_server.wxs.in2
-rw-r--r--packaging/rpm-oel/CMakeLists.txt36
-rw-r--r--packaging/rpm-oel/filter-provides.sh6
-rw-r--r--packaging/rpm-oel/filter-requires.sh6
-rw-r--r--packaging/rpm-oel/my.cnf31
-rw-r--r--packaging/rpm-oel/my_config.h30
-rw-r--r--packaging/rpm-oel/mysql-embedded-check.c26
-rw-r--r--packaging/rpm-oel/mysql-systemd-start52
-rw-r--r--packaging/rpm-oel/mysql.conf1
-rw-r--r--packaging/rpm-oel/mysql.init209
-rw-r--r--packaging/rpm-oel/mysql.spec.in1556
-rw-r--r--packaging/rpm-oel/mysql_config.sh28
-rw-r--r--packaging/rpm-oel/mysqld.service48
-rw-r--r--plugin/auth_pam/auth_pam.c2
-rw-r--r--plugin/auth_socket/auth_socket.c2
-rw-r--r--plugin/daemon_example/daemon_example.cc1
-rw-r--r--plugin/feedback/CMakeLists.txt3
-rw-r--r--plugin/feedback/feedback.cc2
-rw-r--r--plugin/handler_socket/libhsclient/auto_file.hpp5
-rw-r--r--plugin/locale_info/locale_info.cc2
-rw-r--r--plugin/metadata_lock_info/metadata_lock_info.cc3
-rw-r--r--plugin/metadata_lock_info/mysql-test/metadata_lock_info/r/user_lock.result2
-rw-r--r--plugin/qc_info/CMakeLists.txt3
-rw-r--r--plugin/qc_info/qc_info.cc2
-rw-r--r--plugin/query_response_time/mysql-test/query_response_time/basic.result4
-rw-r--r--plugin/query_response_time/plugin.cc4
-rw-r--r--plugin/server_audit/CMakeLists.txt16
-rw-r--r--plugin/server_audit/COPYING339
-rw-r--r--plugin/server_audit/server_audit.c1915
-rw-r--r--plugin/sql_errlog/sql_errlog.c2
-rw-r--r--plugin/win_auth_client/CMakeLists.txt2
-rw-r--r--scripts/CMakeLists.txt2
-rw-r--r--scripts/mysql_config.pl.in2
-rw-r--r--scripts/mysql_config.sh2
-rw-r--r--scripts/mysql_install_db.pl.in9
-rw-r--r--scripts/mysql_install_db.sh15
-rw-r--r--scripts/mysql_system_tables.sql5
-rw-r--r--scripts/mysql_system_tables_fix.sql16
-rw-r--r--scripts/mysqlaccess.sh7
-rw-r--r--sql-bench/innotest1.sh280
-rw-r--r--sql-bench/innotest1a.sh212
-rw-r--r--sql-bench/innotest1b.sh198
-rw-r--r--sql-bench/innotest2.sh296
-rw-r--r--sql-bench/innotest2a.sh184
-rw-r--r--sql-bench/innotest2b.sh204
-rw-r--r--sql-bench/limits/access_odbc.cfg894
-rw-r--r--sql-common/client.c6
-rw-r--r--sql-common/my_time.c7
-rw-r--r--sql-common/mysql_async.c6
-rw-r--r--sql-common/pack.c3
-rw-r--r--sql/CMakeLists.txt5
-rw-r--r--sql/authors.h11
-rw-r--r--sql/contributors.h12
-rw-r--r--sql/create_options.cc1
-rw-r--r--sql/custom_conf.h3
-rw-r--r--sql/event_db_repository.cc12
-rw-r--r--sql/event_scheduler.cc2
-rw-r--r--sql/event_scheduler.h2
-rw-r--r--sql/events.cc5
-rw-r--r--sql/events.h2
-rw-r--r--sql/field.cc56
-rw-r--r--sql/field.h41
-rw-r--r--sql/field_conv.cc115
-rw-r--r--sql/filesort.cc155
-rw-r--r--sql/filesort_utils.h2
-rw-r--r--sql/ha_ndbcluster_binlog.cc12
-rw-r--r--sql/ha_ndbcluster_cond.cc2
-rw-r--r--sql/ha_ndbcluster_cond.h14
-rw-r--r--sql/ha_ndbcluster_tables.h3
-rw-r--r--sql/ha_partition.cc194
-rw-r--r--sql/ha_partition.h21
-rw-r--r--sql/handler.cc111
-rw-r--r--sql/handler.h51
-rw-r--r--sql/hash_filo.h13
-rw-r--r--sql/hostname.cc12
-rw-r--r--sql/item.cc201
-rw-r--r--sql/item.h58
-rw-r--r--sql/item_cmpfunc.cc30
-rw-r--r--sql/item_cmpfunc.h8
-rw-r--r--sql/item_create.cc62
-rw-r--r--sql/item_func.cc70
-rw-r--r--sql/item_func.h26
-rw-r--r--sql/item_geofunc.cc8
-rw-r--r--sql/item_strfunc.cc37
-rw-r--r--sql/item_strfunc.h3
-rw-r--r--sql/item_subselect.cc51
-rw-r--r--sql/item_subselect.h7
-rw-r--r--sql/item_sum.cc71
-rw-r--r--sql/item_sum.h43
-rw-r--r--sql/item_timefunc.cc84
-rw-r--r--sql/item_xmlfunc.cc140
-rw-r--r--sql/item_xmlfunc.h55
-rw-r--r--sql/key.cc12
-rw-r--r--sql/key.h2
-rw-r--r--sql/lex_symbol.h3
-rw-r--r--sql/lock.cc5
-rw-r--r--sql/log.cc202
-rw-r--r--sql/log.h6
-rw-r--r--sql/log_event.cc489
-rw-r--r--sql/log_event.h52
-rw-r--r--sql/log_event_old.cc16
-rw-r--r--sql/log_event_old.h9
-rw-r--r--sql/mdl.cc49
-rw-r--r--sql/mdl.h31
-rw-r--r--sql/mem_root_array.h2
-rw-r--r--sql/message.h154
-rw-r--r--sql/multi_range_read.cc34
-rw-r--r--sql/my_apc.h2
-rw-r--r--sql/my_decimal.h4
-rw-r--r--sql/mysqld.cc77
-rw-r--r--sql/mysqld.h21
-rw-r--r--sql/net_serv.cc16
-rw-r--r--sql/opt_index_cond_pushdown.cc4
-rw-r--r--sql/opt_range.cc220
-rw-r--r--sql/opt_range.h2
-rw-r--r--sql/opt_subselect.cc31
-rw-r--r--sql/opt_subselect.h4
-rw-r--r--sql/opt_sum.cc14
-rw-r--r--sql/opt_table_elimination.cc8
-rw-r--r--sql/partition_element.h2
-rw-r--r--sql/partition_info.cc6
-rw-r--r--sql/partition_info.h2
-rw-r--r--sql/password.c2
-rw-r--r--sql/rpl_filter.cc2
-rw-r--r--sql/rpl_gtid.cc698
-rw-r--r--sql/rpl_gtid.h96
-rw-r--r--sql/rpl_injector.h4
-rw-r--r--sql/rpl_mi.cc2
-rw-r--r--sql/rpl_parallel.cc1156
-rw-r--r--sql/rpl_parallel.h151
-rw-r--r--sql/rpl_record.cc23
-rw-r--r--sql/rpl_record.h11
-rw-r--r--sql/rpl_rli.cc103
-rw-r--r--sql/rpl_rli.h44
-rw-r--r--sql/rpl_utility.cc19
-rw-r--r--sql/rpl_utility.h1
-rw-r--r--sql/scheduler.cc1
-rw-r--r--sql/scheduler.h3
-rw-r--r--sql/set_var.cc4
-rw-r--r--sql/set_var.h8
-rw-r--r--sql/share/charsets/Index.xml2
-rw-r--r--sql/share/charsets/armscii8.xml3
-rw-r--r--sql/share/charsets/ascii.xml2
-rw-r--r--sql/share/charsets/cp1250.xml2
-rw-r--r--sql/share/charsets/cp852.xml3
-rw-r--r--sql/share/charsets/hebrew.xml2
-rw-r--r--sql/share/charsets/latin1.xml2
-rw-r--r--sql/share/charsets/latin2.xml2
-rw-r--r--sql/share/charsets/latin5.xml2
-rw-r--r--sql/share/errmsg-utf8.txt16
-rw-r--r--sql/signal_handler.cc4
-rw-r--r--sql/slave.cc182
-rw-r--r--sql/sp_head.cc5
-rw-r--r--sql/sp_head.h9
-rw-r--r--sql/sp_rcontext.h2
-rw-r--r--sql/spatial.cc3
-rw-r--r--sql/sql_acl.cc207
-rw-r--r--sql/sql_admin.cc13
-rw-r--r--sql/sql_admin.h2
-rw-r--r--sql/sql_alter.cc15
-rw-r--r--sql/sql_analyse.cc57
-rw-r--r--sql/sql_analyse.h2
-rw-r--r--sql/sql_audit.cc6
-rw-r--r--sql/sql_audit.h14
-rw-r--r--sql/sql_base.cc344
-rw-r--r--sql/sql_base.h4
-rw-r--r--sql/sql_binlog.cc2
-rw-r--r--sql/sql_bitmap.h10
-rw-r--r--sql/sql_cache.cc29
-rw-r--r--sql/sql_class.cc128
-rw-r--r--sql/sql_class.h123
-rw-r--r--sql/sql_connect.cc4
-rw-r--r--sql/sql_db.cc97
-rw-r--r--sql/sql_delete.cc41
-rw-r--r--sql/sql_derived.cc50
-rw-r--r--sql/sql_error.cc1
-rw-r--r--sql/sql_handler.cc4
-rw-r--r--sql/sql_help.cc3
-rw-r--r--sql/sql_insert.cc299
-rw-r--r--sql/sql_insert.h1
-rw-r--r--sql/sql_join_cache.cc20
-rw-r--r--sql/sql_lex.cc29
-rw-r--r--sql/sql_lex.h2
-rw-r--r--sql/sql_lifo_buffer.h3
-rw-r--r--sql/sql_list.h9
-rw-r--r--sql/sql_load.cc15
-rw-r--r--sql/sql_manager.cc2
-rw-r--r--sql/sql_parse.cc210
-rw-r--r--sql/sql_parse.h2
-rw-r--r--sql/sql_partition.cc22
-rw-r--r--sql/sql_partition_admin.cc9
-rw-r--r--sql/sql_plugin.cc14
-rw-r--r--sql/sql_prepare.cc4
-rw-r--r--sql/sql_prepare.h4
-rw-r--r--sql/sql_priv.h3
-rw-r--r--sql/sql_rename.cc8
-rw-r--r--sql/sql_repl.cc381
-rw-r--r--sql/sql_repl.h2
-rw-r--r--sql/sql_select.cc311
-rw-r--r--sql/sql_select.h20
-rw-r--r--sql/sql_servers.cc1
-rw-r--r--sql/sql_show.cc89
-rw-r--r--sql/sql_show.h7
-rw-r--r--sql/sql_statistics.cc125
-rw-r--r--sql/sql_statistics.h33
-rw-r--r--sql/sql_string.cc5
-rw-r--r--sql/sql_string.h14
-rw-r--r--sql/sql_table.cc735
-rw-r--r--sql/sql_table.h20
-rw-r--r--sql/sql_test.cc24
-rw-r--r--sql/sql_time.cc158
-rw-r--r--sql/sql_time.h31
-rw-r--r--sql/sql_trigger.cc2
-rw-r--r--sql/sql_truncate.cc9
-rw-r--r--sql/sql_udf.cc18
-rw-r--r--sql/sql_union.cc9
-rw-r--r--sql/sql_update.cc147
-rw-r--r--sql/sql_view.cc6
-rw-r--r--sql/sql_yacc.yy73
-rw-r--r--sql/strfunc.cc2
-rw-r--r--sql/sys_vars.cc221
-rw-r--r--sql/sys_vars.h51
-rw-r--r--sql/table.cc160
-rw-r--r--sql/table.h60
-rw-r--r--sql/table_cache.cc403
-rw-r--r--sql/table_cache.h16
-rw-r--r--sql/threadpool_unix.cc5
-rw-r--r--sql/transaction.cc30
-rw-r--r--sql/transaction.h3
-rw-r--r--sql/tztime.cc2
-rw-r--r--sql/uniques.cc2
-rw-r--r--sql/unireg.cc93
-rw-r--r--storage/archive/ha_archive.cc22
-rw-r--r--storage/cassandra/ha_cassandra.cc13
-rw-r--r--storage/connect/csort.cpp4
-rw-r--r--storage/connect/domdoc.cpp24
-rw-r--r--storage/connect/filamfix.cpp4
-rw-r--r--storage/connect/filamtxt.cpp2
-rwxr-xr-xstorage/connect/filamvct.cpp24
-rw-r--r--storage/connect/ha_connect.cc104
-rw-r--r--storage/connect/ha_connect.h10
-rw-r--r--storage/connect/inihandl.c2
-rw-r--r--storage/connect/myconn.cpp4
-rw-r--r--storage/connect/mysql-test/connect/r/xml_mult.result102
-rw-r--r--storage/connect/mysql-test/connect/std_data/bookstore.xml31
-rw-r--r--storage/connect/mysql-test/connect/t/xml_mult.test64
-rw-r--r--storage/connect/odbconn.cpp9
-rw-r--r--storage/connect/os.h6
-rw-r--r--storage/connect/osutil.h10
-rw-r--r--storage/connect/plgdbutl.cpp10
-rw-r--r--storage/connect/reldef.cpp4
-rw-r--r--storage/connect/tabdos.cpp8
-rw-r--r--storage/connect/tabfmt.cpp24
-rw-r--r--storage/connect/tabmysql.cpp5
-rw-r--r--storage/connect/taboccur.cpp4
-rw-r--r--storage/connect/tabodbc.cpp2
-rw-r--r--storage/connect/tabxml.cpp125
-rw-r--r--storage/connect/tabxml.h480
-rw-r--r--storage/connect/valblk.cpp10
-rw-r--r--storage/connect/value.cpp18
-rwxr-xr-xstorage/connect/xindex.cpp4
-rw-r--r--storage/example/ha_example.cc133
-rw-r--r--storage/example/ha_example.h5
-rw-r--r--storage/federated/ha_federated.cc26
-rw-r--r--storage/federated/ha_federated.h3
-rw-r--r--storage/federatedx/CMakeLists.txt8
-rw-r--r--storage/federatedx/federatedx_io_mysql.cc17
-rw-r--r--storage/federatedx/ha_federatedx.cc31
-rw-r--r--storage/heap/_check.c3
-rw-r--r--storage/heap/_rectest.c3
-rw-r--r--storage/heap/ha_heap.cc13
-rw-r--r--storage/heap/ha_heap.h2
-rw-r--r--storage/heap/hp_create.c4
-rw-r--r--storage/heap/hp_delete.c4
-rw-r--r--storage/heap/hp_extra.c3
-rw-r--r--storage/heap/hp_hash.c16
-rw-r--r--storage/heap/hp_open.c4
-rw-r--r--storage/heap/hp_rfirst.c3
-rw-r--r--storage/heap/hp_rlast.c3
-rw-r--r--storage/heap/hp_rnext.c3
-rw-r--r--storage/heap/hp_rprev.c3
-rw-r--r--storage/heap/hp_rrnd.c3
-rw-r--r--storage/heap/hp_rsame.c3
-rw-r--r--storage/heap/hp_scan.c3
-rw-r--r--storage/heap/hp_update.c3
-rw-r--r--storage/heap/hp_write.c2
-rw-r--r--storage/innobase/CMakeLists.txt9
-rw-r--r--storage/innobase/api/api0api.cc64
-rw-r--r--storage/innobase/btr/btr0btr.cc11
-rw-r--r--storage/innobase/btr/btr0cur.cc31
-rw-r--r--storage/innobase/btr/btr0pcur.cc44
-rwxr-xr-x[-rw-r--r--]storage/innobase/compile-innodb0
-rw-r--r--storage/innobase/dict/dict0crea.cc14
-rw-r--r--storage/innobase/dict/dict0dict.cc54
-rw-r--r--storage/innobase/dict/dict0load.cc2
-rw-r--r--storage/innobase/dict/dict0mem.cc6
-rw-r--r--storage/innobase/dict/dict0stats.cc27
-rw-r--r--storage/innobase/fil/fil0fil.cc35
-rw-r--r--storage/innobase/fts/fts0config.cc4
-rw-r--r--storage/innobase/fts/fts0fts.cc61
-rw-r--r--storage/innobase/fts/fts0opt.cc30
-rw-r--r--storage/innobase/fts/fts0que.cc17
-rw-r--r--storage/innobase/handler/ha_innodb.cc191
-rw-r--r--storage/innobase/handler/handler0alter.cc12
-rw-r--r--storage/innobase/handler/i_s.cc225
-rw-r--r--storage/innobase/ibuf/ibuf0ibuf.cc28
-rw-r--r--storage/innobase/include/api0api.h16
-rw-r--r--storage/innobase/include/btr0cur.h14
-rw-r--r--storage/innobase/include/btr0pcur.h44
-rw-r--r--storage/innobase/include/btr0pcur.ic4
-rw-r--r--storage/innobase/include/btr0sea.h2
-rw-r--r--storage/innobase/include/db0err.h1
-rw-r--r--storage/innobase/include/dict0stats.ic2
-rw-r--r--storage/innobase/include/dict0types.h5
-rw-r--r--storage/innobase/include/fts0fts.h10
-rw-r--r--storage/innobase/include/fts0types.h1
-rw-r--r--storage/innobase/include/ibuf0ibuf.h5
-rw-r--r--storage/innobase/include/log0log.h2
-rw-r--r--storage/innobase/include/mtr0mtr.h2
-rw-r--r--storage/innobase/include/mtr0mtr.ic39
-rw-r--r--storage/innobase/include/os0file.h11
-rw-r--r--storage/innobase/include/row0ftsort.h6
-rw-r--r--storage/innobase/include/srv0conc.h2
-rw-r--r--storage/innobase/include/srv0mon.h6
-rw-r--r--storage/innobase/include/srv0mon.ic2
-rw-r--r--storage/innobase/include/sync0arr.h23
-rw-r--r--storage/innobase/include/sync0arr.ic40
-rw-r--r--storage/innobase/include/sync0sync.h2
-rw-r--r--storage/innobase/include/trx0trx.h4
-rw-r--r--storage/innobase/include/univ.i2
-rw-r--r--storage/innobase/include/ut0bh.h2
-rw-r--r--storage/innobase/include/ut0bh.ic2
-rw-r--r--storage/innobase/log/log0log.cc109
-rw-r--r--storage/innobase/mtr/mtr0mtr.cc29
-rw-r--r--storage/innobase/os/os0file.cc39
-rw-r--r--storage/innobase/os/os0thread.cc5
-rwxr-xr-x[-rw-r--r--]storage/innobase/pars/make_bison.sh0
-rwxr-xr-x[-rw-r--r--]storage/innobase/pars/make_flex.sh0
-rw-r--r--storage/innobase/row/row0ftsort.cc142
-rw-r--r--storage/innobase/row/row0log.cc140
-rw-r--r--storage/innobase/row/row0merge.cc110
-rw-r--r--storage/innobase/row/row0mysql.cc2
-rw-r--r--storage/innobase/row/row0quiesce.cc2
-rw-r--r--storage/innobase/row/row0sel.cc103
-rw-r--r--storage/innobase/srv/srv0mon.cc28
-rw-r--r--storage/innobase/srv/srv0start.cc55
-rw-r--r--storage/innobase/sync/sync0arr.cc14
-rw-r--r--storage/innobase/sync/sync0rw.cc27
-rw-r--r--storage/innobase/sync/sync0sync.cc9
-rw-r--r--storage/innobase/trx/trx0purge.cc2
-rw-r--r--storage/innobase/trx/trx0sys.cc4
-rw-r--r--storage/innobase/trx/trx0trx.cc31
-rw-r--r--storage/innobase/ut/ut0ut.cc2
-rw-r--r--storage/maria/ha_maria.cc22
-rw-r--r--storage/maria/ha_maria.h2
-rw-r--r--storage/maria/ma_blockrec.c24
-rw-r--r--storage/maria/ma_check.c21
-rw-r--r--storage/maria/ma_create.c11
-rw-r--r--storage/maria/ma_delete_table.c13
-rw-r--r--storage/maria/ma_dynrec.c42
-rw-r--r--storage/maria/ma_extra.c6
-rw-r--r--storage/maria/ma_ft_boolean_search.c2
-rw-r--r--storage/maria/ma_locking.c2
-rw-r--r--storage/maria/ma_loghandler.c20
-rw-r--r--storage/maria/ma_open.c8
-rw-r--r--storage/maria/ma_packrec.c6
-rw-r--r--storage/maria/ma_pagecache.c2
-rw-r--r--storage/maria/ma_pagecrc.c2
-rw-r--r--storage/maria/ma_range.c31
-rw-r--r--storage/maria/ma_recovery.c2
-rw-r--r--storage/maria/ma_static.c2
-rw-r--r--storage/maria/ma_test1.c2
-rw-r--r--storage/maria/ma_test2.c2
-rwxr-xr-xstorage/maria/ma_test_force_start.pl2
-rw-r--r--storage/maria/ma_unique.c6
-rw-r--r--storage/maria/maria_chk.c7
-rw-r--r--storage/maria/maria_def.h1
-rw-r--r--storage/maria/maria_pack.c10
-rw-r--r--storage/maria/maria_read_log.c2
-rw-r--r--storage/maria/unittest/ma_pagecache_single.c56
-rw-r--r--storage/maria/unittest/ma_test_loghandler-t.c2
-rw-r--r--storage/maria/unittest/ma_test_loghandler_multigroup-t.c2
-rw-r--r--storage/myisam/ft_boolean_search.c2
-rw-r--r--storage/myisam/ft_stopwords.c2
-rwxr-xr-xstorage/myisam/ftbench/Ecompare.pl2
-rwxr-xr-xstorage/myisam/ftbench/Ecreate.pl2
-rwxr-xr-xstorage/myisam/ftbench/Ereport.pl2
-rwxr-xr-xstorage/myisam/ftbench/ft-test-run.sh5
-rw-r--r--storage/myisam/ha_myisam.cc41
-rw-r--r--storage/myisam/mi_check.c19
-rw-r--r--storage/myisam/mi_checksum.c6
-rw-r--r--storage/myisam/mi_create.c7
-rw-r--r--storage/myisam/mi_delete.c4
-rw-r--r--storage/myisam/mi_delete_table.c53
-rw-r--r--storage/myisam/mi_dynrec.c10
-rw-r--r--storage/myisam/mi_extra.c4
-rw-r--r--storage/myisam/mi_locking.c2
-rw-r--r--storage/myisam/mi_open.c6
-rw-r--r--storage/myisam/mi_rfirst.c3
-rw-r--r--storage/myisam/mi_rlast.c3
-rw-r--r--storage/myisam/mi_rrnd.c3
-rw-r--r--storage/myisam/mi_rsamepos.c3
-rw-r--r--storage/myisam/mi_scan.c3
-rw-r--r--storage/myisam/mi_search.c4
-rw-r--r--storage/myisam/mi_test1.c7
-rw-r--r--storage/myisam/mi_write.c3
-rw-r--r--storage/myisam/myisamchk.c7
-rw-r--r--storage/myisam/myisampack.c2
-rw-r--r--storage/myisam/rt_index.h3
-rw-r--r--storage/myisam/rt_key.c3
-rw-r--r--storage/myisam/rt_key.h3
-rw-r--r--storage/myisam/rt_mbr.c3
-rw-r--r--storage/myisam/rt_mbr.h3
-rw-r--r--storage/myisam/sp_defs.h3
-rw-r--r--storage/myisammrg/myrg_delete.c3
-rw-r--r--storage/myisammrg/myrg_locking.c3
-rw-r--r--storage/myisammrg/myrg_panic.c3
-rw-r--r--storage/myisammrg/myrg_range.c3
-rw-r--r--storage/myisammrg/myrg_rfirst.c3
-rw-r--r--storage/myisammrg/myrg_rlast.c3
-rw-r--r--storage/myisammrg/myrg_rnext.c3
-rw-r--r--storage/myisammrg/myrg_rnext_same.c3
-rw-r--r--storage/myisammrg/myrg_rprev.c3
-rw-r--r--storage/myisammrg/myrg_rrnd.c3
-rw-r--r--storage/myisammrg/myrg_rsame.c3
-rw-r--r--storage/myisammrg/myrg_update.c3
-rw-r--r--storage/myisammrg/myrg_write.c3
-rwxr-xr-xstorage/ndb/config/win-includes2
-rwxr-xr-xstorage/ndb/config/win-libraries2
-rwxr-xr-xstorage/ndb/config/win-name2
-rwxr-xr-xstorage/ndb/config/win-sources2
-rw-r--r--storage/ndb/include/debugger/DebuggerNames.hpp2
-rw-r--r--storage/ndb/include/debugger/EventLogger.hpp2
-rw-r--r--storage/ndb/include/debugger/GrepError.hpp2
-rw-r--r--storage/ndb/include/debugger/SignalLoggerManager.hpp2
-rw-r--r--storage/ndb/include/editline/editline.h2
-rw-r--r--storage/ndb/include/kernel/AttributeDescriptor.hpp2
-rw-r--r--storage/ndb/include/kernel/AttributeHeader.hpp2
-rw-r--r--storage/ndb/include/kernel/AttributeList.hpp2
-rw-r--r--storage/ndb/include/kernel/BlockNumbers.h2
-rw-r--r--storage/ndb/include/kernel/GlobalSignalNumbers.h2
-rw-r--r--storage/ndb/include/kernel/GrepEvent.hpp2
-rw-r--r--storage/ndb/include/kernel/Interpreter.hpp2
-rw-r--r--storage/ndb/include/kernel/LogLevel.hpp2
-rw-r--r--storage/ndb/include/kernel/NodeBitmask.hpp2
-rw-r--r--storage/ndb/include/kernel/NodeInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/NodeState.hpp2
-rw-r--r--storage/ndb/include/kernel/RefConvert.hpp2
-rw-r--r--storage/ndb/include/kernel/kernel_types.h2
-rw-r--r--storage/ndb/include/kernel/ndb_limits.h2
-rw-r--r--storage/ndb/include/kernel/signaldata/AbortAll.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AccFrag.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AccLock.hpp3
-rw-r--r--storage/ndb/include/kernel/signaldata/AccScan.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AccSizeAltReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AllocNodeId.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AlterIndx.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AlterTab.hpp4
-rw-r--r--storage/ndb/include/kernel/signaldata/AlterTable.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AlterTrig.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ApiBroadcast.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ApiRegSignalData.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ApiVersion.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/AttrInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/BackupContinueB.hpp4
-rw-r--r--storage/ndb/include/kernel/signaldata/BackupImpl.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/BackupSignalData.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/BlockCommitOrd.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/BuildIndx.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CheckNodeGroups.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CloseComReqConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CmInit.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CmRegSignalData.hpp3
-rw-r--r--storage/ndb/include/kernel/signaldata/CmvmiCfgConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CntrMasterConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CntrMasterReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ConfigParamId.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ContinueFragmented.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CopyActive.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CopyFrag.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CopyGCIReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateEvnt.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateFilegroupImpl.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateFrag.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateFragmentation.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateIndx.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateObj.hpp3
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateTab.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateTable.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/CreateTrig.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DiAddTab.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DiGetNodes.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DictLock.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DictObjOp.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DictSchemaInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DictSizeAltReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DictStart.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DictTabInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DihAddFrag.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DihContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DihSizeAltReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DihStartTab.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DihSwitchReplica.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DisconnectRep.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropFilegroup.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropFilegroupImpl.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropIndx.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropObj.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropTab.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropTabFile.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropTable.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DropTrig.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/EmptyLcp.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/EndTo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/EventReport.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/EventSubscribeReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ExecFragReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/Extent.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FailRep.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FireTrigOrd.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FsAppendReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FsCloseReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FsConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FsOpenReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FsReadWriteReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FsRef.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/FsRemoveReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/GCPSave.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/GetTabInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/GetTableId.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/GrepImpl.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/HotSpareRep.hpp2
-rwxr-xr-xstorage/ndb/include/kernel/signaldata/IndxAttrInfo.hpp2
-rwxr-xr-xstorage/ndb/include/kernel/signaldata/IndxKeyInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/InvalidateNodeLCPConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/InvalidateNodeLCPReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/KeyInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/LCP.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/LgmanContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ListTables.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/LqhFrag.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/LqhKey.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/LqhSizeAltReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/LqhTransConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ManagementServer.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/MasterGCP.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/MasterLCP.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/NFCompleteRep.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/NdbSttor.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/NdbfsContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/NextScan.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/NodeFailRep.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/NodeStateSignalData.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/PackedSignal.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/PgmanContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/PrepDropTab.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/PrepFailReqRef.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ReadNodesConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/RelTabMem.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/RepImpl.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/RestoreContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/RestoreImpl.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ResumeReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/RouteOrd.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ScanFrag.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/ScanTab.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SetLogLevelOrd.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SetVarReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SignalData.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SignalDataPrint.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SignalDroppedRep.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SrFragidConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StartFragReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StartInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StartMe.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StartOrd.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StartPerm.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StartRec.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StartTo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StopMe.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StopPerm.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/StopReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SumaImpl.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/SystemError.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TamperOrd.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcCommit.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcHbRep.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcIndx.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcKeyConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcKeyFailConf.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcKeyRef.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcKeyReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcRollbackRep.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TcSizeAltReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TestOrd.hpp2
-rwxr-xr-xstorage/ndb/include/kernel/signaldata/TransIdAI.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TrigAttrInfo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TsmanContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TupCommit.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TupFrag.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TupKey.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TupSizeAltReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TuxBound.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TuxContinueB.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TuxMaint.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/TuxSizeAltReq.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/UpdateTo.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/UtilDelete.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/UtilExecute.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/UtilLock.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/UtilPrepare.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/UtilRelease.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/UtilSequence.hpp2
-rw-r--r--storage/ndb/include/kernel/signaldata/WaitGCP.hpp2
-rw-r--r--storage/ndb/include/kernel/trigger_definitions.h2
-rw-r--r--storage/ndb/include/logger/ConsoleLogHandler.hpp2
-rw-r--r--storage/ndb/include/logger/FileLogHandler.hpp2
-rw-r--r--storage/ndb/include/logger/LogHandler.hpp2
-rw-r--r--storage/ndb/include/logger/Logger.hpp2
-rw-r--r--storage/ndb/include/logger/SysLogHandler.hpp2
-rw-r--r--storage/ndb/include/mgmapi/mgmapi.h2
-rw-r--r--storage/ndb/include/mgmapi/mgmapi_debug.h2
-rw-r--r--storage/ndb/include/mgmapi/mgmapi_error.h2
-rw-r--r--storage/ndb/include/mgmapi/ndb_logevent.h2
-rw-r--r--storage/ndb/include/mgmapi/ndbd_exit_codes.h2
-rw-r--r--storage/ndb/include/mgmcommon/ConfigRetriever.hpp2
-rw-r--r--storage/ndb/include/mgmcommon/IPCConfig.hpp2
-rw-r--r--storage/ndb/include/mgmcommon/MgmtErrorReporter.hpp2
-rw-r--r--storage/ndb/include/ndb_constants.h2
-rw-r--r--storage/ndb/include/ndb_global.h.in2
-rw-r--r--storage/ndb/include/ndb_init.h2
-rw-r--r--storage/ndb/include/ndb_types.h.in2
-rw-r--r--storage/ndb/include/ndb_version.h.in2
-rw-r--r--storage/ndb/include/ndbapi/Ndb.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbApi.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbBlob.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbDictionary.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbError.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbEventOperation.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbIndexOperation.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbIndexStat.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbOperation.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbPool.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbRecAttr.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbReceiver.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbScanFilter.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbScanOperation.hpp2
-rw-r--r--storage/ndb/include/ndbapi/NdbTransaction.hpp2
-rw-r--r--storage/ndb/include/ndbapi/ndb_cluster_connection.hpp2
-rw-r--r--storage/ndb/include/ndbapi/ndb_opt_defaults.h2
-rw-r--r--storage/ndb/include/ndbapi/ndbapi_limits.h2
-rw-r--r--storage/ndb/include/ndbapi/ndberror.h2
-rw-r--r--storage/ndb/include/newtonapi/dba.h2
-rw-r--r--storage/ndb/include/newtonapi/defs/pcn_types.h2
-rw-r--r--storage/ndb/include/portlib/NdbCondition.h2
-rw-r--r--storage/ndb/include/portlib/NdbConfig.h2
-rw-r--r--storage/ndb/include/portlib/NdbDaemon.h2
-rw-r--r--storage/ndb/include/portlib/NdbEnv.h2
-rw-r--r--storage/ndb/include/portlib/NdbHost.h2
-rw-r--r--storage/ndb/include/portlib/NdbMain.h2
-rw-r--r--storage/ndb/include/portlib/NdbMem.h2
-rw-r--r--storage/ndb/include/portlib/NdbMutex.h2
-rw-r--r--storage/ndb/include/portlib/NdbSleep.h2
-rw-r--r--storage/ndb/include/portlib/NdbTCP.h2
-rw-r--r--storage/ndb/include/portlib/NdbThread.h2
-rw-r--r--storage/ndb/include/portlib/NdbTick.h2
-rw-r--r--storage/ndb/include/portlib/PortDefs.h2
-rw-r--r--storage/ndb/include/portlib/prefetch.h2
-rw-r--r--storage/ndb/include/transporter/TransporterCallback.hpp2
-rw-r--r--storage/ndb/include/transporter/TransporterDefinitions.hpp2
-rw-r--r--storage/ndb/include/transporter/TransporterRegistry.hpp2
-rw-r--r--storage/ndb/include/util/BaseString.hpp2
-rw-r--r--storage/ndb/include/util/Bitmask.hpp2
-rw-r--r--storage/ndb/include/util/File.hpp2
-rw-r--r--storage/ndb/include/util/InputStream.hpp2
-rw-r--r--storage/ndb/include/util/NdbAutoPtr.hpp2
-rw-r--r--storage/ndb/include/util/NdbOut.hpp2
-rw-r--r--storage/ndb/include/util/NdbSqlUtil.hpp2
-rw-r--r--storage/ndb/include/util/OutputStream.hpp2
-rw-r--r--storage/ndb/include/util/Parser.hpp2
-rw-r--r--storage/ndb/include/util/Properties.hpp2
-rw-r--r--storage/ndb/include/util/SimpleProperties.hpp2
-rw-r--r--storage/ndb/include/util/SocketAuthenticator.hpp2
-rw-r--r--storage/ndb/include/util/SocketClient.hpp2
-rw-r--r--storage/ndb/include/util/SocketServer.hpp2
-rw-r--r--storage/ndb/include/util/UtilBuffer.hpp2
-rw-r--r--storage/ndb/include/util/Vector.hpp2
-rw-r--r--storage/ndb/include/util/basestring_vsnprintf.h2
-rw-r--r--storage/ndb/include/util/md5_hash.hpp2
-rw-r--r--storage/ndb/include/util/ndb_opts.h2
-rw-r--r--storage/ndb/include/util/ndb_rand.h2
-rw-r--r--storage/ndb/include/util/random.h2
-rw-r--r--storage/ndb/include/util/socket_io.h2
-rw-r--r--storage/ndb/include/util/uucode.h2
-rw-r--r--storage/ndb/include/util/version.h2
-rw-r--r--storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_async/ndbapi_async.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_retries/ndbapi_retries.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_scan/ndbapi_scan.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_simple/ndbapi_simple.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp2
-rw-r--r--storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp2
-rw-r--r--storage/ndb/src/common/debugger/BlockNames.cpp2
-rw-r--r--storage/ndb/src/common/debugger/DebuggerNames.cpp2
-rw-r--r--storage/ndb/src/common/debugger/EventLogger.cpp2
-rw-r--r--storage/ndb/src/common/debugger/GrepError.cpp2
-rw-r--r--storage/ndb/src/common/debugger/SignalLoggerManager.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/AccLock.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/AlterIndx.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/AlterTab.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/AlterTable.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/AlterTrig.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/BackupImpl.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/BackupSignalData.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/CloseComReqConf.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/ContinueB.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/CopyGCI.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/CreateEvnt.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/CreateFragmentation.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/CreateIndx.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/CreateTrig.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/DihContinueB.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/DihSwitchReplicaReq.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/DisconnectRep.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/DropIndx.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/DropTab.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/DropTrig.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FailRep.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FireTrigOrd.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FsAppendReq.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FsCloseReq.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FsConf.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FsOpenReq.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/FsRef.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/GCPSave.cpp2
-rwxr-xr-xstorage/ndb/src/common/debugger/signaldata/IndxAttrInfo.cpp2
-rwxr-xr-xstorage/ndb/src/common/debugger/signaldata/IndxKeyInfo.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/LCP.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/LqhFrag.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/LqhKey.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/LqhTrans.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/MasterLCP.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/NFCompleteRep.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/NdbSttor.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/PackedSignal.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/PrepDropTab.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/PrepFailReqRef.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/ScanFrag.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/ScanTab.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/SignalDroppedRep.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/SignalNames.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/StartRec.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/SumaImpl.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/SystemError.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TcIndx.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TcKeyConf.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TcKeyRef.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TcKeyReq.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TcRollbackRep.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TrigAttrInfo.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TupCommit.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TupKey.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/TuxMaint.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/UtilDelete.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/UtilExecute.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/UtilLock.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/UtilPrepare.cpp2
-rw-r--r--storage/ndb/src/common/debugger/signaldata/UtilSequence.cpp2
-rw-r--r--storage/ndb/src/common/logger/ConsoleLogHandler.cpp2
-rw-r--r--storage/ndb/src/common/logger/FileLogHandler.cpp2
-rw-r--r--storage/ndb/src/common/logger/LogHandler.cpp2
-rw-r--r--storage/ndb/src/common/logger/LogHandlerList.cpp2
-rw-r--r--storage/ndb/src/common/logger/LogHandlerList.hpp2
-rw-r--r--storage/ndb/src/common/logger/Logger.cpp2
-rw-r--r--storage/ndb/src/common/logger/SysLogHandler.cpp2
-rw-r--r--storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.cpp2
-rw-r--r--storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.hpp2
-rw-r--r--storage/ndb/src/common/logger/loggertest/LoggerUnitTest.cpp2
-rw-r--r--storage/ndb/src/common/logger/loggertest/LoggerUnitTest.hpp2
-rw-r--r--storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp2
-rw-r--r--storage/ndb/src/common/mgmcommon/IPCConfig.cpp2
-rw-r--r--storage/ndb/src/common/mgmcommon/printConfig/printConfig.cpp2
-rw-r--r--storage/ndb/src/common/portlib/NdbCondition.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbConfig.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbDaemon.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbEnv.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbHost.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbMem.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbMutex.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbPortLibTest.cpp2
-rw-r--r--storage/ndb/src/common/portlib/NdbSleep.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbTCP.cpp2
-rw-r--r--storage/ndb/src/common/portlib/NdbThread.c2
-rw-r--r--storage/ndb/src/common/portlib/NdbTick.c2
-rw-r--r--storage/ndb/src/common/portlib/memtest.c2
-rw-r--r--storage/ndb/src/common/portlib/mmstest.cpp2
-rw-r--r--storage/ndb/src/common/portlib/munmaptest.cpp2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbCondition.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbDaemon.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbEnv.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbHost.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbMem.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbMutex.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbSleep.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbTCP.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbThread.c2
-rw-r--r--storage/ndb/src/common/portlib/win32/NdbTick.c2
-rw-r--r--storage/ndb/src/common/transporter/Packer.cpp2
-rw-r--r--storage/ndb/src/common/transporter/Packer.hpp2
-rw-r--r--storage/ndb/src/common/transporter/SCI_Transporter.cpp2
-rw-r--r--storage/ndb/src/common/transporter/SCI_Transporter.hpp2
-rw-r--r--storage/ndb/src/common/transporter/SHM_Buffer.hpp2
-rw-r--r--storage/ndb/src/common/transporter/SHM_Transporter.cpp2
-rw-r--r--storage/ndb/src/common/transporter/SHM_Transporter.hpp2
-rw-r--r--storage/ndb/src/common/transporter/SHM_Transporter.unix.cpp2
-rw-r--r--storage/ndb/src/common/transporter/SHM_Transporter.win32.cpp2
-rw-r--r--storage/ndb/src/common/transporter/SendBuffer.cpp2
-rw-r--r--storage/ndb/src/common/transporter/SendBuffer.hpp2
-rw-r--r--storage/ndb/src/common/transporter/TCP_Transporter.cpp2
-rw-r--r--storage/ndb/src/common/transporter/TCP_Transporter.hpp2
-rw-r--r--storage/ndb/src/common/transporter/Transporter.cpp2
-rw-r--r--storage/ndb/src/common/transporter/Transporter.hpp2
-rw-r--r--storage/ndb/src/common/transporter/TransporterInternalDefinitions.hpp2
-rw-r--r--storage/ndb/src/common/transporter/TransporterRegistry.cpp2
-rw-r--r--storage/ndb/src/common/transporter/basictest/basicTransporterTest.cpp2
-rw-r--r--storage/ndb/src/common/transporter/buddy.cpp2
-rw-r--r--storage/ndb/src/common/transporter/buddy.hpp2
-rw-r--r--storage/ndb/src/common/transporter/failoverSCI/failoverSCI.cpp2
-rw-r--r--storage/ndb/src/common/transporter/perftest/perfTransporterTest.cpp2
-rw-r--r--storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp2
-rw-r--r--storage/ndb/src/common/transporter/priotest/prioSHM/prioSHM.cpp2
-rw-r--r--storage/ndb/src/common/transporter/priotest/prioTCP/prioTCP.cpp2
-rw-r--r--storage/ndb/src/common/transporter/priotest/prioTransporterTest.cpp2
-rw-r--r--storage/ndb/src/common/transporter/priotest/prioTransporterTest.hpp2
-rw-r--r--storage/ndb/src/common/util/BaseString.cpp2
-rw-r--r--storage/ndb/src/common/util/File.cpp2
-rw-r--r--storage/ndb/src/common/util/InputStream.cpp2
-rw-r--r--storage/ndb/src/common/util/NdbOut.cpp2
-rw-r--r--storage/ndb/src/common/util/NdbSqlUtil.cpp2
-rw-r--r--storage/ndb/src/common/util/OutputStream.cpp2
-rw-r--r--storage/ndb/src/common/util/Parser.cpp2
-rw-r--r--storage/ndb/src/common/util/Properties.cpp2
-rw-r--r--storage/ndb/src/common/util/SimpleProperties.cpp2
-rw-r--r--storage/ndb/src/common/util/SocketAuthenticator.cpp2
-rw-r--r--storage/ndb/src/common/util/SocketClient.cpp2
-rw-r--r--storage/ndb/src/common/util/SocketServer.cpp2
-rw-r--r--storage/ndb/src/common/util/basestring_vsnprintf.c2
-rw-r--r--storage/ndb/src/common/util/filetest/FileUnitTest.cpp2
-rw-r--r--storage/ndb/src/common/util/filetest/FileUnitTest.hpp2
-rw-r--r--storage/ndb/src/common/util/md5_hash.cpp2
-rw-r--r--storage/ndb/src/common/util/ndb_init.c2
-rw-r--r--storage/ndb/src/common/util/ndb_rand.c2
-rw-r--r--storage/ndb/src/common/util/random.c2
-rw-r--r--storage/ndb/src/common/util/socket_io.cpp2
-rw-r--r--storage/ndb/src/common/util/strdup.c2
-rw-r--r--storage/ndb/src/common/util/testProperties/testProperties.cpp2
-rw-r--r--storage/ndb/src/common/util/testSimpleProperties/sp_test.cpp2
-rw-r--r--storage/ndb/src/common/util/uucode.c2
-rw-r--r--storage/ndb/src/common/util/version.c2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.cpp2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.h2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/NdbControls.cpp2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/StdAfx.cpp2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/StdAfx.h2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/TreeView.cpp2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/TreeView.h2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/C++/resource.h2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/CPC_Form.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/Computer.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/ComputerAddDialog.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/ComputerRemoveDialog.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/Database.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/PanelWizard.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/Process.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/ProcessDefineDialog.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/fileaccess/FileMgmt.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/simpleparser/SimpleCPCParser.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/SocketComm.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/myTcpClient.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/startDatabaseDlg.cs2
-rw-r--r--storage/ndb/src/cw/cpcc-win32/csharp/telnetclient/telnetClient.cs2
-rw-r--r--storage/ndb/src/cw/cpcd/APIService.cpp2
-rw-r--r--storage/ndb/src/cw/cpcd/APIService.hpp2
-rw-r--r--storage/ndb/src/cw/cpcd/CPCD.cpp2
-rw-r--r--storage/ndb/src/cw/cpcd/CPCD.hpp2
-rw-r--r--storage/ndb/src/cw/cpcd/Monitor.cpp2
-rw-r--r--storage/ndb/src/cw/cpcd/Process.cpp2
-rw-r--r--storage/ndb/src/cw/cpcd/common.cpp2
-rw-r--r--storage/ndb/src/cw/cpcd/common.hpp2
-rw-r--r--storage/ndb/src/cw/cpcd/main.cpp2
-rw-r--r--storage/ndb/src/cw/test/socketclient/socketClientTest.cpp2
-rw-r--r--storage/ndb/src/cw/util/ClientInterface.cpp2
-rw-r--r--storage/ndb/src/cw/util/ClientInterface.hpp2
-rw-r--r--storage/ndb/src/cw/util/SocketRegistry.cpp2
-rw-r--r--storage/ndb/src/cw/util/SocketRegistry.hpp2
-rw-r--r--storage/ndb/src/cw/util/SocketService.cpp2
-rw-r--r--storage/ndb/src/cw/util/SocketService.hpp2
-rw-r--r--storage/ndb/src/kernel/SimBlockList.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/backup/Backup.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/backup/Backup.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/backup/BackupInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/backup/read.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdict/SchemaFile.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdih/Sysfile.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdih/printSysfile.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/AttributeOffset.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupTabDesMan.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupVarAlloc.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/tuppage.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/tuppage.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxStat.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbutil/DbUtil.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/dbutil/DbUtil.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/diskpage.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/lgman.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/mutexes.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrSysTable.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/Filename.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/Filename.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/MemoryChannelTest/MemoryChannelTest.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/Pool.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/ndbfs/VoidFs.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/pgman.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/pgman.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/print_file.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/qmgr/timer.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/record_types.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/restore.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/restore.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/suma/Suma.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/suma/Suma.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/suma/SumaInit.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/trix/Trix.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/trix/Trix.hpp2
-rw-r--r--storage/ndb/src/kernel/blocks/tsman.cpp2
-rw-r--r--storage/ndb/src/kernel/blocks/tsman.hpp2
-rw-r--r--storage/ndb/src/kernel/error/ErrorHandlingMacros.hpp2
-rw-r--r--storage/ndb/src/kernel/error/ErrorReporter.cpp2
-rw-r--r--storage/ndb/src/kernel/error/ErrorReporter.hpp2
-rw-r--r--storage/ndb/src/kernel/error/TimeModule.cpp2
-rw-r--r--storage/ndb/src/kernel/error/TimeModule.hpp2
-rw-r--r--storage/ndb/src/kernel/error/ndbd_exit_codes.c2
-rw-r--r--storage/ndb/src/kernel/main.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/Array.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/ArrayPool.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/CArray.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/Callback.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/ClusterConfiguration.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/ClusterConfiguration.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/Configuration.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/Configuration.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DLCFifoList.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DLCHashTable.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DLFifoList.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DLHashTable.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DLHashTable2.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DLList.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DataBuffer.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/DynArr256.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/DynArr256.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/Emulator.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/Emulator.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/FastScheduler.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/FastScheduler.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/GlobalData.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/KeyDescriptor.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/KeyTable.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/KeyTable2.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/KeyTable2Ref.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/LinearPool.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/LongSignal.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/Mutex.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/Mutex.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/NdbdSuperPool.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/NdbdSuperPool.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/Pool.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/Pool.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/Prio.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/RWPool.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/RWPool.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/RequestTracker.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/Rope.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SLFifoList.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SLList.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SafeCounter.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/SafeCounter.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SectionReader.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/SectionReader.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SignalCounter.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SimBlockList.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SimplePropertiesSection.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/SimulatedBlock.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/SimulatedBlock.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/SuperPool.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/SuperPool.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/ThreadConfig.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/ThreadConfig.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/TimeQueue.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/TimeQueue.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/TransporterCallback.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/VMSignal.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/VMSignal.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/WOPool.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/WOPool.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/WaitQueue.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/WatchDog.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/WatchDog.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/al_test/arrayListTest.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/al_test/arrayPoolTest.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/al_test/main.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/bench_pool.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/ndbd_malloc.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/ndbd_malloc.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/pc.hpp2
-rw-r--r--storage/ndb/src/kernel/vm/testCopy/rr.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/testCopy/testCopy.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/testDataBuffer/testDataBuffer.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/testLongSig/testLongSig.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/testSimplePropertiesSection/test.cpp2
-rw-r--r--storage/ndb/src/kernel/vm/testSuperPool.cpp2
-rw-r--r--storage/ndb/src/mgmapi/LocalConfig.cpp2
-rw-r--r--storage/ndb/src/mgmapi/LocalConfig.hpp2
-rw-r--r--storage/ndb/src/mgmapi/mgmapi.cpp2
-rw-r--r--storage/ndb/src/mgmapi/mgmapi_configuration.hpp2
-rw-r--r--storage/ndb/src/mgmapi/mgmapi_internal.h2
-rw-r--r--storage/ndb/src/mgmapi/ndb_logevent.cpp2
-rw-r--r--storage/ndb/src/mgmapi/ndb_logevent.hpp2
-rw-r--r--storage/ndb/src/mgmapi/test/keso.c2
-rw-r--r--storage/ndb/src/mgmapi/test/mgmSrvApi.cpp2
-rw-r--r--storage/ndb/src/mgmclient/CommandInterpreter.cpp2
-rw-r--r--storage/ndb/src/mgmclient/main.cpp2
-rw-r--r--storage/ndb/src/mgmclient/ndb_mgmclient.h2
-rw-r--r--storage/ndb/src/mgmclient/ndb_mgmclient.hpp2
-rw-r--r--storage/ndb/src/mgmclient/test_cpcd/test_cpcd.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/Config.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/Config.hpp2
-rw-r--r--storage/ndb/src/mgmsrv/ConfigInfo.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/ConfigInfo.hpp2
-rw-r--r--storage/ndb/src/mgmsrv/InitConfigFileParser.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/InitConfigFileParser.hpp2
-rw-r--r--storage/ndb/src/mgmsrv/MgmtSrvr.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/MgmtSrvr.hpp2
-rw-r--r--storage/ndb/src/mgmsrv/MgmtSrvrConfig.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/Services.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/Services.hpp2
-rw-r--r--storage/ndb/src/mgmsrv/SignalQueue.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/SignalQueue.hpp2
-rw-r--r--storage/ndb/src/mgmsrv/convertStrToInt.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/convertStrToInt.hpp2
-rw-r--r--storage/ndb/src/mgmsrv/main.cpp2
-rw-r--r--storage/ndb/src/mgmsrv/mkconfig/mkconfig.cpp2
-rw-r--r--storage/ndb/src/ndbapi/API.hpp2
-rw-r--r--storage/ndb/src/ndbapi/ClusterMgr.cpp2
-rw-r--r--storage/ndb/src/ndbapi/ClusterMgr.hpp2
-rw-r--r--storage/ndb/src/ndbapi/DictCache.cpp2
-rw-r--r--storage/ndb/src/ndbapi/DictCache.hpp2
-rw-r--r--storage/ndb/src/ndbapi/Ndb.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbApiSignal.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbApiSignal.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbBlob.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbBlobImpl.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbDictionary.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbErrorOut.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbEventOperation.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbImpl.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbIndexOperation.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbIndexStat.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbLinHash.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbOperation.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbOperationDefine.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbOperationExec.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbOperationInt.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbOperationScan.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbOperationSearch.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbPool.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbPoolImpl.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbPoolImpl.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbRecAttr.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbReceiver.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbScanFilter.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbScanOperation.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbTransaction.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbTransactionScan.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbUtil.cpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbUtil.hpp2
-rw-r--r--storage/ndb/src/ndbapi/NdbWaiter.hpp2
-rw-r--r--storage/ndb/src/ndbapi/Ndberr.cpp2
-rw-r--r--storage/ndb/src/ndbapi/Ndbif.cpp2
-rw-r--r--storage/ndb/src/ndbapi/Ndbinit.cpp2
-rw-r--r--storage/ndb/src/ndbapi/Ndblist.cpp2
-rw-r--r--storage/ndb/src/ndbapi/ObjectMap.cpp2
-rw-r--r--storage/ndb/src/ndbapi/ObjectMap.hpp2
-rw-r--r--storage/ndb/src/ndbapi/SignalSender.cpp2
-rw-r--r--storage/ndb/src/ndbapi/SignalSender.hpp2
-rw-r--r--storage/ndb/src/ndbapi/TransporterFacade.cpp2
-rw-r--r--storage/ndb/src/ndbapi/TransporterFacade.hpp2
-rw-r--r--storage/ndb/src/ndbapi/ndb_cluster_connection.cpp2
-rw-r--r--storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp2
-rw-r--r--storage/ndb/src/ndbapi/ndberror.c2
-rw-r--r--storage/ndb/src/ndbapi/signal-sender/SignalSender.cpp2
-rw-r--r--storage/ndb/src/ndbapi/signal-sender/SignalSender.hpp2
-rw-r--r--storage/ndb/test/include/AtrtClient.hpp2
-rw-r--r--storage/ndb/test/include/CpcClient.hpp2
-rwxr-xr-xstorage/ndb/test/include/DbUtil.hpp2
-rw-r--r--storage/ndb/test/include/HugoAsynchTransactions.hpp2
-rw-r--r--storage/ndb/test/include/HugoCalculator.hpp2
-rw-r--r--storage/ndb/test/include/HugoOperations.hpp2
-rw-r--r--storage/ndb/test/include/HugoTransactions.hpp2
-rw-r--r--storage/ndb/test/include/NDBT.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_DataSet.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_DataSetTransaction.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_Error.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_Output.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_ResultRow.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_ReturnCodes.h2
-rw-r--r--storage/ndb/test/include/NDBT_Stats.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_Table.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_Tables.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_Test.hpp2
-rw-r--r--storage/ndb/test/include/NDBT_Thread.hpp2
-rw-r--r--storage/ndb/test/include/NdbBackup.hpp2
-rw-r--r--storage/ndb/test/include/NdbConfig.hpp2
-rw-r--r--storage/ndb/test/include/NdbGrep.hpp2
-rw-r--r--storage/ndb/test/include/NdbMixRestarter.hpp2
-rw-r--r--storage/ndb/test/include/NdbRestarter.hpp2
-rw-r--r--storage/ndb/test/include/NdbRestarts.hpp2
-rw-r--r--storage/ndb/test/include/NdbSchemaCon.hpp2
-rw-r--r--storage/ndb/test/include/NdbSchemaOp.hpp2
-rw-r--r--storage/ndb/test/include/NdbTest.hpp2
-rw-r--r--storage/ndb/test/include/NdbTimer.hpp2
-rw-r--r--storage/ndb/test/include/TestNdbEventOperation.hpp2
-rw-r--r--storage/ndb/test/include/UtilTransactions.hpp2
-rw-r--r--storage/ndb/test/include/getarg.h2
-rw-r--r--storage/ndb/test/ndbapi/InsertRecs.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ScanFilter.hpp2
-rw-r--r--storage/ndb/test/ndbapi/ScanFunctions.hpp2
-rw-r--r--storage/ndb/test/ndbapi/ScanInterpretTest.hpp2
-rw-r--r--storage/ndb/test/ndbapi/TraceNdbApi.cpp2
-rw-r--r--storage/ndb/test/ndbapi/VerifyNdbApi.cpp2
-rw-r--r--storage/ndb/test/ndbapi/acid.cpp2
-rw-r--r--storage/ndb/test/ndbapi/acid2.cpp2
-rw-r--r--storage/ndb/test/ndbapi/acrt/NdbRepStress.cpp2
-rw-r--r--storage/ndb/test/ndbapi/adoInsertRecs.cpp2
-rw-r--r--storage/ndb/test/ndbapi/asyncGenerator.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/Bank.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/Bank.hpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/BankLoad.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/bankCreator.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/bankMakeGL.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/bankSumAccounts.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/bankTimer.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/bankTransactionMaker.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/bankValidateAllGLs.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bank/testBank.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/asyncGenerator.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/dbGenerator.h2
-rw-r--r--storage/ndb/test/ndbapi/bench/dbPopulate.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/dbPopulate.h2
-rw-r--r--storage/ndb/test/ndbapi/bench/macros.h2
-rw-r--r--storage/ndb/test/ndbapi/bench/mainAsyncGenerator.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/mainPopulate.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_async1.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_async2.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_error.hpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_schema.hpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_user_transaction.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_user_transaction2.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_user_transaction3.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_user_transaction4.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_user_transaction5.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/ndb_user_transaction6.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/testData.h2
-rw-r--r--storage/ndb/test/ndbapi/bench/testDefinitions.h2
-rw-r--r--storage/ndb/test/ndbapi/bench/userInterface.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bench/userInterface.h2
-rw-r--r--storage/ndb/test/ndbapi/benchronja.cpp2
-rw-r--r--storage/ndb/test/ndbapi/bulk_copy.cpp2
-rw-r--r--storage/ndb/test/ndbapi/cdrserver.cpp2
-rw-r--r--storage/ndb/test/ndbapi/celloDb.cpp2
-rw-r--r--storage/ndb/test/ndbapi/create_all_tabs.cpp2
-rw-r--r--storage/ndb/test/ndbapi/create_tab.cpp2
-rw-r--r--storage/ndb/test/ndbapi/drop_all_tabs.cpp2
-rw-r--r--storage/ndb/test/ndbapi/flexAsynch.cpp2
-rw-r--r--storage/ndb/test/ndbapi/flexBench.cpp2
-rw-r--r--storage/ndb/test/ndbapi/flexHammer.cpp2
-rw-r--r--storage/ndb/test/ndbapi/flexScan.cpp2
-rw-r--r--storage/ndb/test/ndbapi/flexTT.cpp2
-rw-r--r--storage/ndb/test/ndbapi/flexTimedAsynch.cpp2
-rw-r--r--storage/ndb/test/ndbapi/flex_bench_mysql.cpp2
-rw-r--r--storage/ndb/test/ndbapi/index.cpp2
-rw-r--r--storage/ndb/test/ndbapi/index2.cpp2
-rw-r--r--storage/ndb/test/ndbapi/initronja.cpp2
-rw-r--r--storage/ndb/test/ndbapi/interpreterInTup.cpp2
-rw-r--r--storage/ndb/test/ndbapi/mainAsyncGenerator.cpp2
-rw-r--r--storage/ndb/test/ndbapi/msa.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_async1.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_async2.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_user_populate.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_user_transaction.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_user_transaction2.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_user_transaction3.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_user_transaction4.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_user_transaction5.cpp2
-rw-r--r--storage/ndb/test/ndbapi/ndb_user_transaction6.cpp2
-rw-r--r--storage/ndb/test/ndbapi/restarter.cpp2
-rw-r--r--storage/ndb/test/ndbapi/restarter2.cpp2
-rw-r--r--storage/ndb/test/ndbapi/restarts.cpp2
-rw-r--r--storage/ndb/test/ndbapi/size.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testBackup.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testBasic.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testBasicAsynch.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testBlobs.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testDataBuffers.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testDeadlock.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testDict.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testGrepVerify.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testIndex.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testIndexStat.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testInterpreter.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testMgm.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testNDBT.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testNdbApi.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testNodeRestart.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testOIBasic.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testOperations.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testOrderedIndex.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testPartitioning.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testReadPerf.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testRestartGci.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testSRBank.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testScan.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testScanInterpreter.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testScanPerf.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testSystemRestart.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testTimeout.cpp2
-rw-r--r--storage/ndb/test/ndbapi/testTransactions.cpp2
-rw-r--r--storage/ndb/test/ndbapi/test_event.cpp2
-rw-r--r--storage/ndb/test/ndbapi/test_event_merge.cpp2
-rw-r--r--storage/ndb/test/ndbapi/test_event_multi_table.cpp2
-rw-r--r--storage/ndb/test/ndbapi/userInterface.cpp2
-rw-r--r--storage/ndb/test/ndbnet/test.run2
-rw-r--r--storage/ndb/test/ndbnet/testError.run2
-rw-r--r--storage/ndb/test/ndbnet/testMNF.run2
-rw-r--r--storage/ndb/test/ndbnet/testNR.run2
-rw-r--r--storage/ndb/test/ndbnet/testNR1.run2
-rw-r--r--storage/ndb/test/ndbnet/testNR4.run2
-rw-r--r--storage/ndb/test/ndbnet/testSRhang.run2
-rw-r--r--storage/ndb/test/ndbnet/testTR295.run2
-rw-r--r--storage/ndb/test/newtonapi/basic_test/basic/basic.cpp2
-rw-r--r--storage/ndb/test/newtonapi/basic_test/bulk_read/br_test.cpp2
-rw-r--r--storage/ndb/test/newtonapi/basic_test/common.cpp2
-rw-r--r--storage/ndb/test/newtonapi/basic_test/common.hpp2
-rw-r--r--storage/ndb/test/newtonapi/basic_test/ptr_binding/ptr_binding_test.cpp2
-rw-r--r--storage/ndb/test/newtonapi/basic_test/too_basic.cpp2
-rw-r--r--storage/ndb/test/newtonapi/perf_test/perf.cpp2
-rw-r--r--storage/ndb/test/odbc/SQL99_test/SQL99_test.cpp2
-rw-r--r--storage/ndb/test/odbc/SQL99_test/SQL99_test.h2
-rw-r--r--storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE.cpp2
-rw-r--r--storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE_HDBC.cpp2
-rw-r--r--storage/ndb/test/odbc/client/NDBT_SQLConnect.cpp2
-rw-r--r--storage/ndb/test/odbc/client/NDBT_SQLPrepare.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLAllocEnvTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLAllocHandleTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLAllocHandleTest_bf.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLBindColTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLBindParameterTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLCancelTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLCloseCursorTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLColAttributeTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLColAttributeTest1.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLColAttributeTest2.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLColAttributeTest3.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLConnectTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLCopyDescTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLDescribeColTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLDisconnectTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLDriverConnectTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLEndTranTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLErrorTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLExecDirectTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLExecuteTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLFetchScrollTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLFetchTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLFreeHandleTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLFreeStmtTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetConnectAttrTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetCursorNameTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetDataTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetDescFieldTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetDescRecTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetDiagFieldTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetDiagRecSimpleTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetDiagRecTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetEnvAttrTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetFunctionsTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetInfoTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetStmtAttrTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLGetTypeInfoTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLMoreResultsTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLNumResultColsTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLParamDataTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLPrepareTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLPutDataTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLRowCountTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLSetConnectAttrTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLSetCursorNameTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLSetDescFieldTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLSetDescRecTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLSetEnvAttrTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLSetStmtAttrTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLTablesTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/SQLTransactTest.cpp2
-rw-r--r--storage/ndb/test/odbc/client/common.hpp2
-rw-r--r--storage/ndb/test/odbc/client/main.cpp2
-rw-r--r--storage/ndb/test/odbc/driver/testOdbcDriver.cpp2
-rw-r--r--storage/ndb/test/odbc/test_compiler/test_compiler.cpp2
-rwxr-xr-xstorage/ndb/test/run-test/atrt-analyze-result.sh2
-rwxr-xr-xstorage/ndb/test/run-test/atrt-clear-result.sh2
-rwxr-xr-xstorage/ndb/test/run-test/atrt-gather-result.sh2
-rwxr-xr-xstorage/ndb/test/run-test/atrt-setup.sh2
-rwxr-xr-xstorage/ndb/test/run-test/atrt-testBackup2
-rw-r--r--storage/ndb/test/run-test/atrt.hpp2
-rw-r--r--storage/ndb/test/run-test/main.cpp2
-rwxr-xr-xstorage/ndb/test/run-test/make-index.sh2
-rw-r--r--storage/ndb/test/src/CpcClient.cpp2
-rwxr-xr-xstorage/ndb/test/src/DbUtil.cpp2
-rw-r--r--storage/ndb/test/src/HugoAsynchTransactions.cpp2
-rw-r--r--storage/ndb/test/src/HugoCalculator.cpp2
-rw-r--r--storage/ndb/test/src/HugoOperations.cpp2
-rw-r--r--storage/ndb/test/src/HugoTransactions.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_Error.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_Output.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_ResultRow.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_ReturnCodes.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_Table.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_Tables.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_Test.cpp2
-rw-r--r--storage/ndb/test/src/NDBT_Thread.cpp2
-rw-r--r--storage/ndb/test/src/NdbBackup.cpp2
-rw-r--r--storage/ndb/test/src/NdbConfig.cpp2
-rw-r--r--storage/ndb/test/src/NdbGrep.cpp2
-rw-r--r--storage/ndb/test/src/NdbMixRestarter.cpp2
-rw-r--r--storage/ndb/test/src/NdbRestarter.cpp2
-rw-r--r--storage/ndb/test/src/NdbRestarts.cpp2
-rw-r--r--storage/ndb/test/src/NdbSchemaCon.cpp2
-rw-r--r--storage/ndb/test/src/NdbSchemaOp.cpp2
-rw-r--r--storage/ndb/test/src/UtilTransactions.cpp2
-rw-r--r--storage/ndb/test/tools/connect.cpp2
-rw-r--r--storage/ndb/test/tools/copy_tab.cpp2
-rw-r--r--storage/ndb/test/tools/cpcc.cpp2
-rw-r--r--storage/ndb/test/tools/create_index.cpp2
-rw-r--r--storage/ndb/test/tools/hugoCalculator.cpp2
-rw-r--r--storage/ndb/test/tools/hugoFill.cpp2
-rw-r--r--storage/ndb/test/tools/hugoLoad.cpp2
-rw-r--r--storage/ndb/test/tools/hugoLockRecords.cpp2
-rw-r--r--storage/ndb/test/tools/hugoPkDelete.cpp2
-rw-r--r--storage/ndb/test/tools/hugoPkRead.cpp2
-rw-r--r--storage/ndb/test/tools/hugoPkReadRecord.cpp2
-rw-r--r--storage/ndb/test/tools/hugoPkUpdate.cpp2
-rw-r--r--storage/ndb/test/tools/hugoScanRead.cpp2
-rw-r--r--storage/ndb/test/tools/hugoScanUpdate.cpp2
-rw-r--r--storage/ndb/test/tools/listen.cpp2
-rw-r--r--storage/ndb/test/tools/rep_latency.cpp2
-rw-r--r--storage/ndb/test/tools/restart.cpp2
-rw-r--r--storage/ndb/test/tools/transproxy.cpp2
-rw-r--r--storage/ndb/test/tools/verify_index.cpp2
-rwxr-xr-xstorage/ndb/tools/clean-links.sh2
-rw-r--r--storage/ndb/tools/delete_all.cpp2
-rw-r--r--storage/ndb/tools/desc.cpp2
-rw-r--r--storage/ndb/tools/drop_index.cpp2
-rw-r--r--storage/ndb/tools/drop_tab.cpp2
-rw-r--r--storage/ndb/tools/listTables.cpp2
-rw-r--r--storage/ndb/tools/make-errors.pl2
-rwxr-xr-xstorage/ndb/tools/make-links.sh2
-rw-r--r--storage/ndb/tools/ndb_config.cpp2
-rw-r--r--storage/ndb/tools/ndb_error_reporter2
-rw-r--r--storage/ndb/tools/ndb_test_platform.cpp2
-rw-r--r--storage/ndb/tools/ndbsql.cpp2
-rw-r--r--storage/ndb/tools/restore/Restore.cpp2
-rw-r--r--storage/ndb/tools/restore/Restore.hpp2
-rw-r--r--storage/ndb/tools/restore/consumer.cpp2
-rw-r--r--storage/ndb/tools/restore/consumer.hpp2
-rw-r--r--storage/ndb/tools/restore/consumer_printer.cpp2
-rw-r--r--storage/ndb/tools/restore/consumer_printer.hpp2
-rw-r--r--storage/ndb/tools/restore/consumer_restore.cpp2
-rw-r--r--storage/ndb/tools/restore/consumer_restore.hpp2
-rw-r--r--storage/ndb/tools/restore/consumer_restorem.cpp2
-rw-r--r--storage/ndb/tools/restore/ndb_nodegroup_map.h2
-rw-r--r--storage/ndb/tools/restore/restore_main.cpp2
-rwxr-xr-xstorage/ndb/tools/rgrep2
-rw-r--r--storage/ndb/tools/select_all.cpp2
-rw-r--r--storage/ndb/tools/select_count.cpp2
-rw-r--r--storage/ndb/tools/waiter.cpp2
-rw-r--r--storage/oqgraph/CMakeLists.txt8
-rw-r--r--storage/oqgraph/ha_oqgraph.cc4
-rw-r--r--storage/oqgraph/ha_oqgraph.h14
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result1
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test2
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.result32
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.test37
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/invalid_operations.result1
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/invalid_operations.test2
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/isnull.result2
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/isnull.test3
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/regression_1233113.result1
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/regression_1233113.test2
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/regression_drop_after.result1
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/regression_drop_after.test2
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.opt1
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.result42
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.test50
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/suite.pm3
-rw-r--r--storage/perfschema/CMakeLists.txt3
-rw-r--r--storage/perfschema/pfs_check.cc3
-rw-r--r--storage/perfschema/pfs_events_waits.cc2
-rw-r--r--storage/perfschema/pfs_global.cc4
-rw-r--r--storage/perfschema/table_events_waits.cc14
-rw-r--r--storage/perfschema/unittest/CMakeLists.txt3
-rw-r--r--storage/sequence/mysql-test/sequence/simple.result4
-rw-r--r--storage/sequence/mysql-test/sequence/simple.test8
-rw-r--r--storage/sequence/sequence.cc16
-rw-r--r--storage/sphinx/ha_sphinx.cc6
-rw-r--r--storage/sphinx/mysql-test/sphinx/suite.pm1
-rw-r--r--storage/sphinx/mysql-test/sphinx/union-5539.result10
-rw-r--r--storage/sphinx/mysql-test/sphinx/union-5539.test16
-rw-r--r--storage/spider/ha_spider.cc600
-rw-r--r--storage/spider/ha_spider.h31
-rw-r--r--storage/spider/mysql-test/spider/bg/suite.opt2
-rw-r--r--storage/spider/scripts/install_spider.sql84
-rw-r--r--storage/spider/spd_conn.cc162
-rw-r--r--storage/spider/spd_conn.h21
-rw-r--r--storage/spider/spd_copy_tables.cc15
-rw-r--r--storage/spider/spd_copy_tables.h2
-rw-r--r--storage/spider/spd_db_conn.cc407
-rw-r--r--storage/spider/spd_db_conn.h5
-rw-r--r--storage/spider/spd_db_handlersocket.cc11178
-rw-r--r--storage/spider/spd_db_handlersocket.h1899
-rw-r--r--storage/spider/spd_db_include.h24
-rw-r--r--storage/spider/spd_db_mysql.cc23443
-rw-r--r--storage/spider/spd_db_mysql.h2760
-rw-r--r--storage/spider/spd_db_oracle.cc24959
-rw-r--r--storage/spider/spd_db_oracle.h2945
-rw-r--r--storage/spider/spd_direct_sql.cc14
-rw-r--r--storage/spider/spd_direct_sql.h2
-rw-r--r--storage/spider/spd_err.h4
-rw-r--r--storage/spider/spd_i_s.cc315
-rw-r--r--storage/spider/spd_include.h38
-rw-r--r--storage/spider/spd_malloc.cc2
-rw-r--r--storage/spider/spd_malloc.h2
-rw-r--r--storage/spider/spd_param.cc164
-rw-r--r--storage/spider/spd_param.h15
-rw-r--r--storage/spider/spd_ping_table.cc2912
-rw-r--r--storage/spider/spd_ping_table.h204
-rw-r--r--storage/spider/spd_sys_table.cc15
-rw-r--r--storage/spider/spd_sys_table.h2
-rw-r--r--storage/spider/spd_table.cc103
-rw-r--r--storage/spider/spd_table.h2
-rw-r--r--storage/spider/spd_trx.cc402
-rw-r--r--storage/spider/spd_trx.h6
-rw-r--r--storage/spider/spd_udf.cc2
-rw-r--r--storage/spider/spd_udf.h2
-rw-r--r--storage/test_sql_discovery/mysql-test/archive/discover.rdiff35
-rw-r--r--storage/test_sql_discovery/mysql-test/main/r/plugin.rdiff11
-rw-r--r--storage/tokudb/CMakeLists.txt20
-rw-r--r--storage/tokudb/README.md22
-rw-r--r--storage/tokudb/ft-index/CMakeLists.txt10
-rw-r--r--storage/tokudb/ft-index/README.md24
-rw-r--r--storage/tokudb/ft-index/buildheader/CMakeLists.txt2
-rw-r--r--storage/tokudb/ft-index/buildheader/make_tdb.cc19
-rw-r--r--storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake4
-rw-r--r--storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake1
-rw-r--r--storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake35
-rw-r--r--storage/tokudb/ft-index/examples/CMakeLists.txt2
-rw-r--r--storage/tokudb/ft-index/ft/CMakeLists.txt2
-rw-r--r--storage/tokudb/ft-index/ft/bndata.cc10
-rw-r--r--storage/tokudb/ft-index/ft/bndata.h4
-rw-r--r--storage/tokudb/ft-index/ft/cachetable-internal.h16
-rw-r--r--storage/tokudb/ft-index/ft/cachetable.cc262
-rw-r--r--storage/tokudb/ft-index/ft/cachetable.h16
-rw-r--r--storage/tokudb/ft-index/ft/checkpoint.cc29
-rw-r--r--storage/tokudb/ft-index/ft/compress.cc6
-rw-r--r--storage/tokudb/ft-index/ft/fifo.cc17
-rw-r--r--storage/tokudb/ft-index/ft/fifo.h2
-rw-r--r--storage/tokudb/ft-index/ft/ft-cachetable-wrappers.cc5
-rw-r--r--storage/tokudb/ft-index/ft/ft-flusher.cc62
-rw-r--r--storage/tokudb/ft-index/ft/ft-flusher.h2
-rw-r--r--storage/tokudb/ft-index/ft/ft-hot-flusher.cc6
-rw-r--r--storage/tokudb/ft-index/ft/ft-internal.h49
-rw-r--r--storage/tokudb/ft-index/ft/ft-ops.cc568
-rw-r--r--storage/tokudb/ft-index/ft/ft-ops.h17
-rw-r--r--storage/tokudb/ft-index/ft/ft-serialize.cc2
-rw-r--r--storage/tokudb/ft-index/ft/ft-test-helpers.cc4
-rw-r--r--storage/tokudb/ft-index/ft/ft.cc20
-rw-r--r--storage/tokudb/ft-index/ft/ft.h7
-rw-r--r--storage/tokudb/ft-index/ft/ft_layout_version.h1
-rw-r--r--storage/tokudb/ft-index/ft/ft_node-serialize.cc160
-rw-r--r--storage/tokudb/ft-index/ft/ftloader-internal.h4
-rw-r--r--storage/tokudb/ft-index/ft/ftloader.cc23
-rw-r--r--storage/tokudb/ft-index/ft/fttypes.h4
-rw-r--r--storage/tokudb/ft-index/ft/leafentry.h10
-rw-r--r--storage/tokudb/ft-index/ft/log-internal.h5
-rw-r--r--storage/tokudb/ft-index/ft/logformat.cc2
-rw-r--r--storage/tokudb/ft-index/ft/logger.cc6
-rw-r--r--storage/tokudb/ft-index/ft/logger.h1
-rw-r--r--storage/tokudb/ft-index/ft/roll.cc44
-rw-r--r--storage/tokudb/ft-index/ft/rollback-apply.cc19
-rw-r--r--storage/tokudb/ft-index/ft/rollback-ct-callbacks.cc13
-rw-r--r--storage/tokudb/ft-index/ft/rollback-ct-callbacks.h9
-rw-r--r--storage/tokudb/ft-index/ft/rollback.cc34
-rw-r--r--storage/tokudb/ft-index/ft/rollback.h6
-rw-r--r--storage/tokudb/ft-index/ft/rollback_log_node_cache.cc7
-rw-r--r--storage/tokudb/ft-index/ft/rollback_log_node_cache.h1
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-5097.cc7
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-5978.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction2.cc13
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction3.cc14
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc7
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-eviction-close-test2.cc7
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-eviction-getandpin-test2.cc7
-rw-r--r--storage/tokudb/ft-index/ft/tests/cachetable-evictor-class.cc4
-rw-r--r--storage/tokudb/ft-index/ft/tests/ft-bfe-query.cc25
-rw-r--r--storage/tokudb/ft-index/ft/tests/ft-clock-test.cc28
-rw-r--r--storage/tokudb/ft-index/ft/tests/ft-serialize-benchmark.cc6
-rw-r--r--storage/tokudb/ft-index/ft/tests/ft-serialize-test.cc28
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test-bad-generate.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test-extractor-errors.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test-extractor.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test-merge-files-dbufio.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test-open.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test-writer-errors.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test-writer.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/ftloader-test.cc2
-rw-r--r--storage/tokudb/ft-index/ft/tests/make-tree.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/mempool-115.cc196
-rw-r--r--storage/tokudb/ft-index/ft/tests/msnfilter.cc9
-rw-r--r--storage/tokudb/ft-index/ft/tests/orthopush-flush.cc19
-rw-r--r--storage/tokudb/ft-index/ft/tests/test-flushes-on-cleaner.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/test-inc-split.cc14
-rw-r--r--storage/tokudb/ft-index/ft/tests/test-leafentry-nested.cc7
-rw-r--r--storage/tokudb/ft-index/ft/tests/test-pick-child-to-flush.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/test.h14
-rw-r--r--storage/tokudb/ft-index/ft/tests/upgrade_test_simple.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/verify-bad-msn.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/verify-bad-pivots.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/verify-dup-in-leaf.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/verify-dup-pivots.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/verify-misrouted-msgs.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/verify-unsorted-leaf.cc3
-rw-r--r--storage/tokudb/ft-index/ft/tests/verify-unsorted-pivots.cc3
-rw-r--r--storage/tokudb/ft-index/ft/txn.cc14
-rw-r--r--storage/tokudb/ft-index/ft/txn_manager.cc26
-rw-r--r--storage/tokudb/ft-index/ft/txn_manager.h60
-rw-r--r--storage/tokudb/ft-index/ft/ule.cc159
-rw-r--r--storage/tokudb/ft-index/ft/ule.h3
-rw-r--r--storage/tokudb/ft-index/locktree/lock_request.cc64
-rw-r--r--storage/tokudb/ft-index/locktree/lock_request.h15
-rw-r--r--storage/tokudb/ft-index/locktree/locktree.cc13
-rw-r--r--storage/tokudb/ft-index/locktree/locktree.h80
-rw-r--r--storage/tokudb/ft-index/locktree/manager.cc222
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_create_set.cc4
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_get_set_keys.cc11
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_killed.cc179
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_not_killed.cc175
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_start_deadlock.cc24
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_start_pending.cc8
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_unit_test.h3
-rw-r--r--storage/tokudb/ft-index/locktree/tests/lock_request_wait_time_callback.cc151
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_conflicts.cc8
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_escalation_1big7lt_1small.cc304
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_1lt.cc250
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_2lt.cc250
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_escalation_impossible.cc204
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_escalation_stalls.cc87
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_infinity.cc38
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_overlapping_relock.cc6
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_simple_lock.cc6
-rw-r--r--storage/tokudb/ft-index/locktree/tests/locktree_single_txnid_optimization.cc4
-rw-r--r--storage/tokudb/ft-index/locktree/tests/manager_create_destroy.cc1
-rw-r--r--storage/tokudb/ft-index/locktree/tests/manager_params.cc4
-rw-r--r--storage/tokudb/ft-index/locktree/tests/manager_status.cc8
-rw-r--r--storage/tokudb/ft-index/portability/CMakeLists.txt13
-rw-r--r--storage/tokudb/ft-index/portability/file.cc24
-rw-r--r--storage/tokudb/ft-index/portability/os_malloc.cc1
-rw-r--r--storage/tokudb/ft-index/portability/tests/test-fair-rwlock.cc665
-rw-r--r--storage/tokudb/ft-index/portability/toku_fair_rwlock.cc361
-rw-r--r--storage/tokudb/ft-index/portability/toku_fair_rwlock.h237
-rwxr-xr-xstorage/tokudb/ft-index/scripts/run.stress-tests.py1
-rw-r--r--storage/tokudb/ft-index/src/CMakeLists.txt10
-rw-r--r--storage/tokudb/ft-index/src/export.map1
-rw-r--r--storage/tokudb/ft-index/src/indexer-undo-do.cc36
-rw-r--r--storage/tokudb/ft-index/src/loader.cc6
-rw-r--r--storage/tokudb/ft-index/src/tests/CMakeLists.txt13
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-first-empty.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-first.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-last.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-next-prev-deadlock.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-prelock-range.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-put-timeout.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-put-wakeup.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-put.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-set-range-0.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-set-range-n.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-set-range-reverse-0.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-set.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/blocking-table-lock.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/db-put-simple-deadlock-threads.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/db-put-simple-lockwait.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/db-put-update-deadlock.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/env_loader_memory.cc9
-rw-r--r--storage/tokudb/ft-index/src/tests/env_nproc.cc143
-rw-r--r--storage/tokudb/ft-index/src/tests/filesize.cc3
-rw-r--r--storage/tokudb/ft-index/src/tests/get_last_key.cc299
-rw-r--r--storage/tokudb/ft-index/src/tests/hot-optimize-table-tests.cc3
-rw-r--r--storage/tokudb/ft-index/src/tests/locktree_escalation_stalls.cc312
-rw-r--r--storage/tokudb/ft-index/src/tests/recover-child-rollback.cc168
-rw-r--r--storage/tokudb/ft-index/src/tests/test_4368.cc3
-rw-r--r--storage/tokudb/ft-index/src/tests/test_bad_implicit_promotion.cc190
-rw-r--r--storage/tokudb/ft-index/src/tests/test_cursor_interrupt.cc202
-rw-r--r--storage/tokudb/ft-index/src/tests/test_insert_many_gc.cc157
-rw-r--r--storage/tokudb/ft-index/src/tests/test_iterate_pending_lock_requests.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/test_kv_gen.h3
-rw-r--r--storage/tokudb/ft-index/src/tests/test_lock_timeout_callback.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/test_stress5.cc2
-rw-r--r--storage/tokudb/ft-index/src/tests/threaded_stress_test_helpers.h21
-rw-r--r--storage/tokudb/ft-index/src/tests/update-multiple-with-indexer-array.cc158
-rw-r--r--storage/tokudb/ft-index/src/ydb-internal.h7
-rw-r--r--storage/tokudb/ft-index/src/ydb.cc77
-rw-r--r--storage/tokudb/ft-index/src/ydb_cursor.cc9
-rw-r--r--storage/tokudb/ft-index/src/ydb_db.cc81
-rw-r--r--storage/tokudb/ft-index/src/ydb_env_func.cc4
-rw-r--r--storage/tokudb/ft-index/src/ydb_row_lock.cc22
-rw-r--r--storage/tokudb/ft-index/src/ydb_txn.cc12
-rw-r--r--storage/tokudb/ft-index/src/ydb_txn.h3
-rw-r--r--storage/tokudb/ft-index/toku_include/CMakeLists.txt2
-rw-r--r--storage/tokudb/ft-index/util/CMakeLists.txt4
-rw-r--r--storage/tokudb/ft-index/util/context.cc242
-rw-r--r--storage/tokudb/ft-index/util/context.h204
-rw-r--r--storage/tokudb/ft-index/util/frwlock.cc70
-rw-r--r--storage/tokudb/ft-index/util/frwlock.h47
-rw-r--r--storage/tokudb/ft-index/util/kibbutz.cc19
-rw-r--r--storage/tokudb/ft-index/util/kibbutz.h2
-rw-r--r--storage/tokudb/ft-index/util/mempool.cc17
-rw-r--r--storage/tokudb/ft-index/util/mempool.h7
-rw-r--r--storage/tokudb/ft-index/util/scoped_malloc.cc265
-rw-r--r--storage/tokudb/ft-index/util/scoped_malloc.h153
-rw-r--r--storage/tokudb/ft-index/util/tests/test-frwlock-fair-writers.cc52
-rw-r--r--storage/tokudb/ft-index/util/tests/test-kibbutz.cc4
-rw-r--r--storage/tokudb/ft-index/util/tests/test-kibbutz2.cc4
-rw-r--r--storage/tokudb/ft-index/util/tests/test-rwlock-cheapness.cc11
-rw-r--r--storage/tokudb/ft-index/util/tests/test-rwlock-unfair-writers.cc60
-rw-r--r--storage/tokudb/ft-index/util/tests/test-rwlock.cc298
-rw-r--r--storage/tokudb/ha_tokudb.cc1270
-rw-r--r--storage/tokudb/ha_tokudb.h50
-rw-r--r--storage/tokudb/ha_tokudb_admin.cc56
-rw-r--r--storage/tokudb/ha_tokudb_alter_56.cc130
-rw-r--r--storage/tokudb/ha_tokudb_alter_common.cc15
-rw-r--r--storage/tokudb/ha_tokudb_update.cc14
-rw-r--r--storage/tokudb/hatoku_cmp.cc125
-rw-r--r--storage/tokudb/hatoku_cmp.h75
-rw-r--r--storage/tokudb/hatoku_defines.h279
-rw-r--r--storage/tokudb/hatoku_hton.cc352
-rw-r--r--storage/tokudb/hatoku_hton.h54
-rw-r--r--storage/tokudb/mysql-test/tokudb/locks-blocking-row-locks-testgen.py6
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/auto_increment.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary_traditional.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_char_default.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_int_default.result40
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varbin.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varbin_default.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varbin_multiple.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varchar.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varchar_default.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_a.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_b.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_varchar_sum_cross256.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/cluster_2968-0.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/cluster_2968-1.result24
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/cluster_2968-2.result24
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/cluster_2968-3.result22
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/cluster_create_table.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/cluster_filter_unpack_varchar_and_int_hidden.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/ctype_collate.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/ctype_cp1250_ch.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result20000
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result20000
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/information-schema-global-status.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks-getset.result10
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks.result7
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-10.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-11.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-12.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-13.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-14.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-15.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-16.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-17.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-18.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-21.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-22.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-23.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-25.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-3.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-33.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-34.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-35.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-36.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-37.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-38.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-39.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-4.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-40.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-5.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-6.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-7.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-8.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-9.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/mvcc-checksum-locks.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_binary.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_bit.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_blob.result10
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_datetime.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_decimal.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_enum.result20
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_float.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_nchar.result14
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_newdecimal.result18
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_set.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_timestamp.result18
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/type_varchar.result39
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/auto_increment.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary_traditional.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/bulk-fetch.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/bulk-fetch2.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_10.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_auto_inc.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_bin.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_bin_descriptor.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_bin_key.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_bin_pad.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_bin_rename.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_blob.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_binary.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_charbinary.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_charset.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_default.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_descriptor.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_key.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_null.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_char_rename.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_int.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_int_default.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_int_descriptor.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_int_key.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_int_not_supported.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_int_rename.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_multiple_columns.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_text.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_cross256.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_default.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_descriptor.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_key.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_multiple.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_null.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_rename.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varbin_varchar.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_charset.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_cross256.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_default.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_descriptor.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_key.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_null.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_a.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_b.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_rename.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_sum_cross256.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/change_column_varchar_varbin.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_1829.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_2968-0.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_2968-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_2968-2.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_2968-3.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_create_table.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_delete.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_delete2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_filter.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_filter_key.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_and_int_hidden.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_hidden.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_filter_varchar_prefix.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_key.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_query_plan.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993_2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_update.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/cluster_update2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/ctype_ascii.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/ctype_collate.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/ctype_cp1250_ch.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/ctype_cp1251.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-del-0.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_released.test7
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_timeout.test3
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_locks_released.test3
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/information-schema-global-status.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/lockretry-insert.writelocktable.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert2.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks-getset.test13
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks.test14
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-delete-deadlock-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-no-read-lock-serializable-autocommit.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-select-update-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-select-update-2.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-select-update-3.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/locks-update-deadlock-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-10.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-11.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-12.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-13.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-14.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-15.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-16.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-17.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-18.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-19.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-20.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-21.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-22.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-23.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-24.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-25.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-26.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-27.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-28.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-committed.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-uncommitted.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-29.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-3.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-30.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-31.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-33.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-34.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-35.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-36.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-37.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-38.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-39.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-4.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-40.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-5.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-6.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-7.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-8.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-9.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/mvcc-checksum-locks.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/nested_txn_autocommit.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/nested_txn_begin.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/nested_txn_implicit_commit.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/prim_key_1.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/prim_key_2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/prim_key_3.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/prim_key_4.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/prim_key_5.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/prim_key_6.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/replace-ignore.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/rows-32m-0.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/rows-32m-1.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/rows-32m-rand-insert.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/rows-32m-seq-insert.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/savepoint-3.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/simple_delete_all.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/simple_join_tokudb_myisam.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/simple_truncate.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/truncate_row_count.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/truncate_txn_commit.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/truncate_txn_rollback.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/type_varchar.test42
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/r/hot_create_unique_index.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/1522.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_1.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_10.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_11.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_12.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_13.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_14.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_16.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_17.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_18.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_3.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_4.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test7
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_7.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_8.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_9.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23691.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23692.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/hot_create_unique_index.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/tokudb_bug_1152.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/ai_part.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/alter_column_default.result10
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/auto_inc.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/drop_pk_with_prefix.result20
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/fractional_time_alter_table.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/frm_discover.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_and_rename_table.result7
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_drop_char0_t6.result5
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_part.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcr.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcr3.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/mod_enum.result60
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_add_key.result51
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_col_rename.result51
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_default.result51
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_key.result53
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter2.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/row_format_alter.result3
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/test_field_same_detection.resultbin6551 -> 6579 bytes
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/5260.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/ai_di.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/auto_inc.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/drop_pk_with_prefix.test32
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add.test33442
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add2.test32574
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add3.test33442
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_add.test7402
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_drop.test704
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_drop.test23740
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_add.test7402
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_drop.test624
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_add.test6534
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_drop.test704
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_and_rename_table.test3
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_diff_num_offset_bytes.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_drop_char0_t6.test17
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add.test12606
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add2.test12606
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_drop.test3800
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add.test12606
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add2.test12606
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_drop.test4080
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_indexing_mix.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_null_bits.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_template.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables_56.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add.test12606
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add2.test11738
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_drop.test3800
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_dels.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_lock_sps.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_locks.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcr.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcr2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcr3.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hot_row_format_alter.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/mod_enum.test56
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_add_key.test62
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_col_rename.test62
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_default.test62
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_key.test64
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/row_format_alter.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/test_field_same_detection.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/virtual_columns.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/disabled.def3
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/include/not_5_5.inc0
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/2952.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/2970.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/4676.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/5089.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/alter_external_lock_assert.result21
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/alter_part_tokudb_bug_155.result33
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/alter_table_copy_table.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_1.result15
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_2.result5
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/dict_leak_3518.result12
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/expand_tinytext_text.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/fractional_time.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/frm_store.result8
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/frm_store2.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/frm_store3.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/leak172.result124
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/optimize_temp_table_tokudb.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/subselect_index_next_same_bug_157.result78
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_part_table_668.result3
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_simple_table_668.result23
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr2.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t1.data2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t2.data2108
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/1913.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/1938.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/1949.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2043.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2219.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2262.test8
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2383.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2458.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2548.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2641.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2952.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/2970.test3
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/3014.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/3015.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/3083.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/4472.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/4656.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/4656_2.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/5089.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/6053.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/6684.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/alter_external_lock_assert.test26
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/alter_part_tokudb_bug_155.test51
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/alter_table_copy_table.test12
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_1.test23
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_2.test14
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/expand_tinytext_text.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/fileops-4.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/index_read.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/leak172.test152
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/optimize_temp_table_tokudb.test15
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/subselect_index_next_same_bug_157.test91
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_part_table_668.test3
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_simple_table_668.test3
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/xa-1.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/xa-2.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/r/alter.result6
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/r/clustering.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/r/compression.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/r/create_or_replace.result9
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/r/discover_names.result13
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/t/compression.test7
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/t/create_or_replace.test20
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/t/discover_names.test20
-rw-r--r--storage/tokudb/scripts/common.sh10
-rwxr-xr-xstorage/tokudb/scripts/make.mysql.bash13
-rwxr-xr-xstorage/tokudb/scripts/make.mysql.debug.env.bash70
-rwxr-xr-xstorage/tokudb/scripts/nightly.mysql.build.and.test.bash26
-rwxr-xr-xstorage/tokudb/scripts/run.atc.ontime.bash29
-rwxr-xr-xstorage/tokudb/scripts/run.mysql.tests.bash55
-rwxr-xr-xstorage/tokudb/scripts/run.sql.bench.bash2
-rw-r--r--storage/tokudb/scripts/run.tests.7.0.3.bash50
-rwxr-xr-xstorage/tokudb/scripts/run.tpch.bash27
-rwxr-xr-xstorage/tokudb/scripts/setup.mysql.bash61
-rwxr-xr-xstorage/tokudb/scripts/tokutek.make.mysql.bash24
-rw-r--r--storage/tokudb/tokudb_card.h19
-rw-r--r--storage/tokudb/tokudb_update_fun.cc19
-rw-r--r--storage/xtradb/CMakeLists.txt13
-rw-r--r--storage/xtradb/api/api0api.cc64
-rw-r--r--storage/xtradb/btr/btr0btr.cc19
-rw-r--r--storage/xtradb/btr/btr0cur.cc31
-rw-r--r--storage/xtradb/btr/btr0pcur.cc44
-rw-r--r--storage/xtradb/buf/buf0buf.cc1
-rw-r--r--storage/xtradb/buf/buf0flu.cc2
-rw-r--r--storage/xtradb/dict/dict0crea.cc14
-rw-r--r--storage/xtradb/dict/dict0dict.cc54
-rw-r--r--storage/xtradb/dict/dict0load.cc2
-rw-r--r--storage/xtradb/dict/dict0mem.cc6
-rw-r--r--storage/xtradb/dict/dict0stats.cc27
-rw-r--r--storage/xtradb/fil/fil0fil.cc51
-rw-r--r--storage/xtradb/fts/fts0config.cc4
-rw-r--r--storage/xtradb/fts/fts0fts.cc61
-rw-r--r--storage/xtradb/fts/fts0opt.cc30
-rw-r--r--storage/xtradb/fts/fts0que.cc17
-rw-r--r--storage/xtradb/handler/ha_innodb.cc301
-rw-r--r--storage/xtradb/handler/handler0alter.cc12
-rw-r--r--storage/xtradb/handler/i_s.cc225
-rw-r--r--storage/xtradb/handler/xtradb_i_s.cc2
-rw-r--r--storage/xtradb/ibuf/ibuf0ibuf.cc28
-rw-r--r--storage/xtradb/include/api0api.h16
-rw-r--r--storage/xtradb/include/btr0cur.h14
-rw-r--r--storage/xtradb/include/btr0pcur.h44
-rw-r--r--storage/xtradb/include/btr0pcur.ic4
-rw-r--r--storage/xtradb/include/btr0sea.h2
-rw-r--r--storage/xtradb/include/buf0flu.h6
-rw-r--r--storage/xtradb/include/buf0flu.ic17
-rw-r--r--storage/xtradb/include/db0err.h1
-rw-r--r--storage/xtradb/include/dict0stats.ic2
-rw-r--r--storage/xtradb/include/dict0types.h5
-rw-r--r--storage/xtradb/include/fts0fts.h10
-rw-r--r--storage/xtradb/include/fts0types.h1
-rw-r--r--storage/xtradb/include/ibuf0ibuf.h5
-rw-r--r--storage/xtradb/include/log0log.h2
-rw-r--r--storage/xtradb/include/mtr0mtr.h2
-rw-r--r--storage/xtradb/include/mtr0mtr.ic39
-rw-r--r--storage/xtradb/include/os0file.h12
-rw-r--r--storage/xtradb/include/row0ftsort.h6
-rw-r--r--storage/xtradb/include/srv0conc.h2
-rw-r--r--storage/xtradb/include/srv0mon.h6
-rw-r--r--storage/xtradb/include/srv0mon.ic2
-rw-r--r--storage/xtradb/include/sync0arr.h23
-rw-r--r--storage/xtradb/include/sync0arr.ic40
-rw-r--r--storage/xtradb/include/sync0rw.h8
-rw-r--r--storage/xtradb/include/sync0rw.ic32
-rw-r--r--storage/xtradb/include/sync0sync.h31
-rw-r--r--storage/xtradb/include/sync0sync.ic26
-rw-r--r--storage/xtradb/include/sync0types.h6
-rw-r--r--storage/xtradb/include/trx0trx.h4
-rw-r--r--storage/xtradb/include/univ.i4
-rw-r--r--storage/xtradb/include/ut0bh.h2
-rw-r--r--storage/xtradb/include/ut0bh.ic2
-rw-r--r--storage/xtradb/log/log0log.cc148
-rw-r--r--storage/xtradb/log/log0online.cc25
-rw-r--r--storage/xtradb/log/log0recv.cc10
-rw-r--r--storage/xtradb/mtr/mtr0mtr.cc29
-rw-r--r--storage/xtradb/os/os0file.cc42
-rw-r--r--storage/xtradb/os/os0thread.cc5
-rw-r--r--storage/xtradb/row/row0ftsort.cc142
-rw-r--r--storage/xtradb/row/row0log.cc140
-rw-r--r--storage/xtradb/row/row0merge.cc110
-rw-r--r--storage/xtradb/row/row0mysql.cc2
-rw-r--r--storage/xtradb/row/row0quiesce.cc2
-rw-r--r--storage/xtradb/row/row0sel.cc103
-rw-r--r--storage/xtradb/srv/srv0mon.cc28
-rw-r--r--storage/xtradb/srv/srv0start.cc55
-rw-r--r--storage/xtradb/sync/sync0arr.cc20
-rw-r--r--storage/xtradb/sync/sync0rw.cc88
-rw-r--r--storage/xtradb/sync/sync0sync.cc39
-rw-r--r--storage/xtradb/trx/trx0purge.cc2
-rw-r--r--storage/xtradb/trx/trx0sys.cc4
-rw-r--r--storage/xtradb/trx/trx0trx.cc34
-rw-r--r--storage/xtradb/ut/ut0ut.cc2
-rw-r--r--strings/CMakeLists.txt2
-rw-r--r--strings/ctype-bin.c37
-rw-r--r--strings/ctype-mb.c12
-rw-r--r--strings/ctype-simple.c5
-rw-r--r--strings/ctype-uca.c6
-rw-r--r--strings/ctype-ucs2.c16
-rw-r--r--strings/ctype-utf8.c267
-rw-r--r--strings/ctype-win1250ch.c9
-rw-r--r--strings/ctype.c6
-rw-r--r--strings/decimal.c41
-rw-r--r--strings/dtoa.c2
-rw-r--r--strings/t_ctype.h3
-rw-r--r--support-files/MySQL-shared-compat.spec.sh2
-rw-r--r--support-files/compiler_warnings.supp16
-rw-r--r--support-files/mysql.server.sh122
-rw-r--r--support-files/rpm/server-postun.sh5
-rw-r--r--support-files/rpm/server-prein.sh1
-rw-r--r--tests/connect_test.c3
-rwxr-xr-xtests/fork_big.pl5
-rw-r--r--tests/fork_big2.pl5
-rw-r--r--tests/insert_test.c3
-rw-r--r--tests/list_test.c3
-rw-r--r--tests/mysql_client_test.c120
-rw-r--r--tests/select_test.c3
-rw-r--r--tests/showdb_test.c3
-rw-r--r--tests/ssl_test.c3
-rw-r--r--unittest/mysys/CMakeLists.txt3
-rw-r--r--unittest/mysys/bitmap-t.c10
-rw-r--r--unittest/mysys/ma_dyncol-t.c1
-rw-r--r--vio/CMakeLists.txt2
-rw-r--r--vio/vio.c2
-rw-r--r--vio/viosocket.c14
-rw-r--r--vio/viossl.c2
-rw-r--r--vio/viosslfactories.c2
-rw-r--r--zlib/CMakeLists.txt2
2827 files changed, 217922 insertions, 187537 deletions
diff --git a/.bzrignore b/.bzrignore
index 0d51462e06d..334cd021c95 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -1455,4 +1455,4 @@ storage/tokudb/ft-index/utils/tokudb_gen
storage/tokudb/ft-index/utils/tokudb_load
storage/connect/connect.cnf
storage/cassandra/cassandra.cnf
-libmysql/libmysql.version
+libmysql/libmysql_versions.ld
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 170d333fc37..f8ebddc70fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,6 +153,7 @@ INCLUDE(readline)
INCLUDE(libutils)
INCLUDE(dtrace)
INCLUDE(jemalloc)
+INCLUDE(pcre)
INCLUDE(ctest)
INCLUDE(plugin)
INCLUDE(install_macros)
@@ -329,8 +330,15 @@ SET(PLUGINDIR "${DEFAULT_MYSQL_HOME}/${INSTALL_PLUGINDIR}")
IF(INSTALL_SYSCONFDIR)
SET(DEFAULT_SYSCONFDIR "${INSTALL_SYSCONFDIR}")
ENDIF()
+
+OPTION(TMPDIR
+"PATH to MySQL TMP dir. If unspecified, defaults to P_tmpdir in <stdio.h>" OFF)
IF(TMPDIR)
- SET(DEFAULT_TMPDIR "${TMPDIR}")
+ # Quote it, to make it a const char string.
+ SET(DEFAULT_TMPDIR "\"${TMPDIR}\"")
+ELSE()
+ # Do not quote it, to refer to the P_tmpdir macro in <stdio.h>.
+ SET(DEFAULT_TMPDIR "P_tmpdir")
ENDIF()
# Run platform tests
@@ -352,8 +360,11 @@ MYSQL_CHECK_SSL()
# Add readline or libedit.
MYSQL_CHECK_READLINE()
+SET(MALLOC_LIBRARY "system")
CHECK_JEMALLOC()
+CHECK_PCRE()
+
#
# Setup maintainer mode options. Platform checks are
# not run with the warning options as to not perturb fragile checks
@@ -389,7 +400,6 @@ ADD_SUBDIRECTORY(include)
ADD_SUBDIRECTORY(dbug)
ADD_SUBDIRECTORY(strings)
ADD_SUBDIRECTORY(vio)
-ADD_SUBDIRECTORY(pcre)
ADD_SUBDIRECTORY(mysys)
ADD_SUBDIRECTORY(mysys_ssl)
ADD_SUBDIRECTORY(libmysql)
@@ -417,6 +427,7 @@ IF(NOT WITHOUT_SERVER)
ADD_SUBDIRECTORY(internal)
ENDIF()
ADD_SUBDIRECTORY(packaging/rpm-uln)
+ ADD_SUBDIRECTORY(packaging/rpm-oel)
ENDIF()
IF(UNIX)
diff --git a/CREDITS b/CREDITS
index 041105f977a..42ecf72ca3d 100644
--- a/CREDITS
+++ b/CREDITS
@@ -3,9 +3,10 @@ organization.
The current main members and sponsors of the MariaDB foundation are:
-Booking.com http://www.booking.com
-SkySQL Ab http://www.skysql.com
-Parallels http://www.parallels.com/products/plesk
+Automattic http://automattic.com (2014)
+SkySQL Ab http://www.skysql.com (2013, 2014)
+Booking.com http://www.booking.com (2013)
+Parallels http://www.parallels.com/products/plesk (2013)
For a full list of supporters and sponsors see
https://mariadb.org/en/supporters/
diff --git a/VERSION b/VERSION
index 90ff77599dd..0141f2b7e10 100644
--- a/VERSION
+++ b/VERSION
@@ -4,5 +4,5 @@
#
MYSQL_VERSION_MAJOR=10
MYSQL_VERSION_MINOR=0
-MYSQL_VERSION_PATCH=8
+MYSQL_VERSION_PATCH=11
MYSQL_VERSION_EXTRA=
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index 7f725e09006..1bf466c1e47 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -15,8 +15,7 @@
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/include
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/mysys_ssl
${ZLIB_INCLUDE_DIR}
${SSL_INCLUDE_DIRS}
diff --git a/client/mysql.cc b/client/mysql.cc
index e8634af6c2c..ca7cb7dd910 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1,6 +1,7 @@
/*
Copyright (c) 2000, 2013, Oracle and/or its affiliates.
Copyright (c) 2009, 2013, Monty Program Ab.
+ Copyright (c) 2013, 2014, SkySQL Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -915,6 +916,7 @@ static COMMANDS commands[] = {
{ "MAKE_SET", 0, 0, 0, ""},
{ "MAKEDATE", 0, 0, 0, ""},
{ "MAKETIME", 0, 0, 0, ""},
+ { "MASTER_GTID_WAIT", 0, 0, 0, ""},
{ "MASTER_POS_WAIT", 0, 0, 0, ""},
{ "MAX", 0, 0, 0, ""},
{ "MBRCONTAINS", 0, 0, 0, ""},
@@ -1175,12 +1177,9 @@ int main(int argc,char *argv[])
exit(1);
}
defaults_argv=argv;
- if (get_options(argc, (char **) argv))
- {
- free_defaults(defaults_argv);
- my_end(0);
- exit(1);
- }
+ if ((status.exit_status= get_options(argc, (char **) argv)))
+ mysql_end(-1);
+
if (status.batch && !status.line_buff &&
!(status.line_buff= batch_readline_init(MAX_BATCH_BUFFER_SIZE, stdin)))
{
@@ -1876,7 +1875,7 @@ static int get_options(int argc, char **argv)
opt_net_buffer_length= *mysql_params->p_net_buffer_length;
if ((ho_error=handle_options(&argc, &argv, my_long_options, get_one_option)))
- exit(ho_error);
+ return(ho_error);
*mysql_params->p_max_allowed_packet= opt_max_allowed_packet;
*mysql_params->p_net_buffer_length= opt_net_buffer_length;
diff --git a/client/mysql_plugin.c b/client/mysql_plugin.c
index c3fa1a49e81..99da157f8c6 100644
--- a/client/mysql_plugin.c
+++ b/client/mysql_plugin.c
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -857,7 +857,7 @@ static int process_options(int argc, char *argv[], char *operation)
strncat(buff, FN_DIRSEP, sizeof(buff) - strlen(buff) - 1);
#endif
buff[sizeof(buff) - 1]= 0;
- my_delete(opt_basedir, MYF(0));
+ my_free(opt_basedir);
opt_basedir= my_strdup(buff, MYF(MY_FAE));
}
}
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index ebc8f551888..57b7ce09ab5 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -1047,7 +1047,7 @@ int main(int argc, char **argv)
for (i = 0; i < alter_table_cmds.elements ; i++)
run_query((char*) dynamic_array_ptr(&alter_table_cmds, i));
}
- ret= test(first_error);
+ ret= MY_TEST(first_error);
end:
dbDisconnect(current_host);
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 1c4a32d076a..a0222f370b3 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -39,7 +39,7 @@
** 10 Jun 2003: SET NAMES and --no-set-names by Alexander Barkov
*/
-#define DUMP_VERSION "10.14"
+#define DUMP_VERSION "10.15"
#include <my_global.h>
#include <my_sys.h>
@@ -137,6 +137,12 @@ static uint opt_slave_data;
static uint my_end_arg;
static char * opt_mysql_unix_port=0;
static int first_error=0;
+/*
+ multi_source is 0 if old server or 2 if server that support multi source
+ This is choosen this was as multi_source has 2 extra columns first in
+ SHOW ALL SLAVES STATUS.
+*/
+static uint multi_source= 0;
static DYNAMIC_STRING extended_row;
#include <sslopt-vars.h>
FILE *md_result_file= 0;
@@ -160,6 +166,8 @@ static void dynstr_set_checked(DYNAMIC_STRING *str, const char *init_str);
static void dynstr_append_mem_checked(DYNAMIC_STRING *str, const char *append,
uint length);
static void dynstr_realloc_checked(DYNAMIC_STRING *str, ulong additional_size);
+
+static int do_start_slave_sql(MYSQL *mysql_con);
/*
Constant for detection of default value of default_charset.
If default_charset is equal to mysql_universal_client_charset, then
@@ -1494,6 +1502,8 @@ static void free_resources()
static void maybe_exit(int error)
{
+ if (opt_slave_data)
+ do_start_slave_sql(mysql);
if (!first_error)
first_error= error;
if (ignore_errors)
@@ -3649,7 +3659,8 @@ static void dump_table(char *table, char *db)
field->type == MYSQL_TYPE_BLOB ||
field->type == MYSQL_TYPE_LONG_BLOB ||
field->type == MYSQL_TYPE_MEDIUM_BLOB ||
- field->type == MYSQL_TYPE_TINY_BLOB)) ? 1 : 0;
+ field->type == MYSQL_TYPE_TINY_BLOB ||
+ field->type == MYSQL_TYPE_GEOMETRY)) ? 1 : 0;
if (extended_insert && !opt_xml)
{
if (i == 0)
@@ -3993,7 +4004,13 @@ static int dump_tablespaces(char* ts_where)
char *ubs;
char *endsemi;
DBUG_ENTER("dump_tablespaces");
-
+
+ /*
+ Try to turn off semi-join optimization (if that fails, this is a
+ pre-optimizer_switch server, and the old query plan is ok for us.
+ */
+ mysql_query(mysql, "set optimizer_switch='semijoin=off'");
+
init_dynamic_string_checked(&sqlbuf,
"SELECT LOGFILE_GROUP_NAME,"
" FILE_NAME,"
@@ -4153,6 +4170,8 @@ static int dump_tablespaces(char* ts_where)
mysql_free_result(tableres);
dynstr_free(&sqlbuf);
+ mysql_query(mysql, "set optimizer_switch=default");
+
DBUG_RETURN(0);
}
@@ -4735,7 +4754,8 @@ static int do_show_master_status(MYSQL *mysql_con, int consistent_binlog_pos)
}
else
{
- if (mysql_query_with_error_report(mysql_con, &master, "SHOW MASTER STATUS"))
+ if (mysql_query_with_error_report(mysql_con, &master,
+ "SHOW MASTER STATUS"))
return 1;
row= mysql_fetch_row(master);
@@ -4780,29 +4800,37 @@ static int do_show_master_status(MYSQL *mysql_con, int consistent_binlog_pos)
static int do_stop_slave_sql(MYSQL *mysql_con)
{
MYSQL_RES *slave;
- /* We need to check if the slave sql is running in the first place */
- if (mysql_query_with_error_report(mysql_con, &slave, "SHOW SLAVE STATUS"))
+ MYSQL_ROW row;
+
+ if (mysql_query_with_error_report(mysql_con, &slave,
+ multi_source ?
+ "SHOW ALL SLAVES STATUS" :
+ "SHOW SLAVE STATUS"))
return(1);
- else
+
+ /* Loop over all slaves */
+ while ((row= mysql_fetch_row(slave)))
{
- MYSQL_ROW row= mysql_fetch_row(slave);
- if (row && row[11])
+ if (row[11 + multi_source])
{
/* if SLAVE SQL is not running, we don't stop it */
- if (!strcmp(row[11],"No"))
+ if (strcmp(row[11 + multi_source], "No"))
{
- mysql_free_result(slave);
- /* Silently assume that they don't have the slave running */
- return(0);
+ char query[160];
+ if (multi_source)
+ sprintf(query, "STOP SLAVE '%.80s' SQL_THREAD", row[0]);
+ else
+ strmov(query, "STOP SLAVE SQL_THREAD");
+
+ if (mysql_query_with_error_report(mysql_con, 0, query))
+ {
+ mysql_free_result(slave);
+ return 1;
+ }
}
}
}
mysql_free_result(slave);
-
- /* now, stop slave if running */
- if (mysql_query_with_error_report(mysql_con, 0, "STOP SLAVE SQL_THREAD"))
- return(1);
-
return(0);
}
@@ -4811,7 +4839,10 @@ static int add_stop_slave(void)
if (opt_comments)
fprintf(md_result_file,
"\n--\n-- stop slave statement to make a recovery dump)\n--\n\n");
- fprintf(md_result_file, "STOP SLAVE;\n");
+ if (multi_source)
+ fprintf(md_result_file, "STOP ALL SLAVES;\n");
+ else
+ fprintf(md_result_file, "STOP SLAVE;\n");
return(0);
}
@@ -4820,16 +4851,24 @@ static int add_slave_statements(void)
if (opt_comments)
fprintf(md_result_file,
"\n--\n-- start slave statement to make a recovery dump)\n--\n\n");
- fprintf(md_result_file, "START SLAVE;\n");
+ if (multi_source)
+ fprintf(md_result_file, "START ALL SLAVES;\n");
+ else
+ fprintf(md_result_file, "START SLAVE;\n");
return(0);
}
static int do_show_slave_status(MYSQL *mysql_con)
{
MYSQL_RES *UNINIT_VAR(slave);
+ MYSQL_ROW row;
const char *comment_prefix=
(opt_slave_data == MYSQL_OPT_SLAVE_DATA_COMMENTED_SQL) ? "-- " : "";
- if (mysql_query_with_error_report(mysql_con, &slave, "SHOW SLAVE STATUS"))
+
+ if (mysql_query_with_error_report(mysql_con, &slave,
+ multi_source ?
+ "SHOW ALL SLAVES STATUS" :
+ "SHOW SLAVE STATUS"))
{
if (!ignore_errors)
{
@@ -4839,10 +4878,10 @@ static int do_show_slave_status(MYSQL *mysql_con)
mysql_free_result(slave);
return 1;
}
- else
+
+ while ((row= mysql_fetch_row(slave)))
{
- MYSQL_ROW row= mysql_fetch_row(slave);
- if (row && row[9] && row[21])
+ if (row[9 + multi_source] && row[21 + multi_source])
{
/* SHOW MASTER STATUS reports file and position */
if (opt_comments)
@@ -4850,54 +4889,70 @@ static int do_show_slave_status(MYSQL *mysql_con)
"\n--\n-- Position to start replication or point-in-time "
"recovery from (the master of this slave)\n--\n\n");
- fprintf(md_result_file, "%sCHANGE MASTER TO ", comment_prefix);
-
+ if (multi_source)
+ fprintf(md_result_file, "%sCHANGE MASTER '%.80s' TO ",
+ comment_prefix, row[0]);
+ else
+ fprintf(md_result_file, "%sCHANGE MASTER TO ", comment_prefix);
+
if (opt_include_master_host_port)
{
- if (row[1])
- fprintf(md_result_file, "MASTER_HOST='%s', ", row[1]);
+ if (row[1 + multi_source])
+ fprintf(md_result_file, "MASTER_HOST='%s', ", row[1 + multi_source]);
if (row[3])
- fprintf(md_result_file, "MASTER_PORT=%s, ", row[3]);
+ fprintf(md_result_file, "MASTER_PORT=%s, ", row[3 + multi_source]);
}
fprintf(md_result_file,
- "MASTER_LOG_FILE='%s', MASTER_LOG_POS=%s;\n", row[9], row[21]);
+ "MASTER_LOG_FILE='%s', MASTER_LOG_POS=%s;\n",
+ row[9 + multi_source], row[21 + multi_source]);
check_io(md_result_file);
}
- mysql_free_result(slave);
}
+ mysql_free_result(slave);
return 0;
}
static int do_start_slave_sql(MYSQL *mysql_con)
{
MYSQL_RES *slave;
+ MYSQL_ROW row;
+ int error= 0;
+ DBUG_ENTER("do_start_slave_sql");
+
/* We need to check if the slave sql is stopped in the first place */
- if (mysql_query_with_error_report(mysql_con, &slave, "SHOW SLAVE STATUS"))
- return(1);
- else
+ if (mysql_query_with_error_report(mysql_con, &slave,
+ multi_source ?
+ "SHOW ALL SLAVES STATUS" :
+ "SHOW SLAVE STATUS"))
+ DBUG_RETURN(1);
+
+ while ((row= mysql_fetch_row(slave)))
{
- MYSQL_ROW row= mysql_fetch_row(slave);
- if (row && row[11])
+ DBUG_PRINT("info", ("Connection: '%s' status: '%s'",
+ multi_source ? row[0] : "", row[11 + multi_source]));
+ if (row[11 + multi_source])
{
/* if SLAVE SQL is not running, we don't start it */
- if (!strcmp(row[11],"Yes"))
+ if (strcmp(row[11 + multi_source], "Yes"))
{
- mysql_free_result(slave);
- /* Silently assume that they don't have the slave running */
- return(0);
+ char query[160];
+ if (multi_source)
+ sprintf(query, "START SLAVE '%.80s'", row[0]);
+ else
+ strmov(query, "START SLAVE");
+
+ if (mysql_query_with_error_report(mysql_con, 0, query))
+ {
+ fprintf(stderr, "%s: Error: Unable to start slave '%s'\n",
+ my_progname_short, multi_source ? row[0] : "");
+ error= 1;
+ }
}
}
}
mysql_free_result(slave);
-
- /* now, start slave if stopped */
- if (mysql_query_with_error_report(mysql_con, 0, "START SLAVE"))
- {
- fprintf(stderr, "%s: Error: Unable to start slave\n", my_progname_short);
- return 1;
- }
- return(0);
+ DBUG_RETURN(error);
}
@@ -5575,6 +5630,10 @@ int main(int argc, char **argv)
if (!path)
write_header(md_result_file, *argv);
+ /* Check if the server support multi source */
+ if (mysql_get_server_version(mysql) >= 100000)
+ multi_source= 2;
+
if (opt_slave_data && do_stop_slave_sql(mysql))
goto err;
@@ -5654,10 +5713,6 @@ int main(int argc, char **argv)
dump_databases(argv);
}
- /* if --dump-slave , start the slave sql thread */
- if (opt_slave_data && do_start_slave_sql(mysql))
- goto err;
-
/* add 'START SLAVE' to end of dump */
if (opt_slave_apply && add_slave_statements())
goto err;
@@ -5673,9 +5728,6 @@ int main(int argc, char **argv)
if (opt_delete_master_logs && purge_bin_logs_to(mysql, bin_log_name))
goto err;
-#ifdef HAVE_SMEM
- my_free(shared_memory_base_name);
-#endif
/*
No reason to explicitely COMMIT the transaction, neither to explicitely
UNLOCK TABLES: these will be automatically be done by the server when we
@@ -5683,6 +5735,14 @@ int main(int argc, char **argv)
server.
*/
err:
+ /* if --dump-slave , start the slave sql thread */
+ if (opt_slave_data && do_start_slave_sql(mysql))
+ goto err;
+
+#ifdef HAVE_SMEM
+ my_free(shared_memory_base_name);
+#endif
+
dbDisconnect(current_host);
if (!path)
write_footer(md_result_file);
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index a2e2ad55d66..91bc531b2ae 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -528,6 +528,7 @@ struct st_command
{
char *query, *query_buf,*first_argument,*last_argument,*end;
DYNAMIC_STRING content;
+ DYNAMIC_STRING eval_query;
int first_word_len, query_len;
my_bool abort_on_error, used_replace;
struct st_expected_errors expected_errors;
@@ -1399,6 +1400,8 @@ void free_used_memory()
{
struct st_command **q= dynamic_element(&q_lines, i, struct st_command**);
my_free((*q)->query_buf);
+ if ((*q)->eval_query.str)
+ dynstr_free(&(*q)->eval_query);
if ((*q)->content.str)
dynstr_free(&(*q)->content);
my_free((*q));
@@ -7940,6 +7943,7 @@ void handle_error(struct st_command *command,
DBUG_ENTER("handle_error");
+ command->used_replace= 1;
if (command->require_file)
{
/*
@@ -8342,7 +8346,6 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags)
DYNAMIC_STRING ds_result;
DYNAMIC_STRING ds_sorted;
DYNAMIC_STRING ds_warnings;
- DYNAMIC_STRING eval_query;
char *query;
int query_len;
my_bool view_created= 0, sp_created= 0;
@@ -8365,10 +8368,14 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags)
if (command->type == Q_EVAL || command->type == Q_SEND_EVAL ||
command->type == Q_EVALP)
{
- init_dynamic_string(&eval_query, "", command->query_len+256, 1024);
- do_eval(&eval_query, command->query, command->end, FALSE);
- query = eval_query.str;
- query_len = eval_query.length;
+ if (!command->eval_query.str)
+ init_dynamic_string(&command->eval_query, "", command->query_len + 256,
+ 1024);
+ else
+ dynstr_set(&command->eval_query, 0);
+ do_eval(&command->eval_query, command->query, command->end, FALSE);
+ query= command->eval_query.str;
+ query_len= command->eval_query.length;
}
else
{
@@ -8536,8 +8543,6 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags)
dynstr_free(&ds_warnings);
ds_warn= 0;
- if (command->type == Q_EVAL || command->type == Q_SEND_EVAL)
- dynstr_free(&eval_query);
if (display_result_sorted)
{
@@ -8941,7 +8946,7 @@ int main(int argc, char **argv)
my_init_dynamic_array(&q_lines, sizeof(struct st_command*), 1024, 1024, MYF(0));
if (my_hash_init2(&var_hash, 64, charset_info,
- 128, 0, 0, get_var_key, var_free, MYF(0)))
+ 128, 0, 0, get_var_key, 0, var_free, MYF(0)))
die("Variable hash initialization failed");
var_set_string("MYSQL_SERVER_VERSION", MYSQL_SERVER_VERSION);
diff --git a/cmake/CPackRPM.cmake b/cmake/CPackRPM.cmake
new file mode 100644
index 00000000000..1d22387d098
--- /dev/null
+++ b/cmake/CPackRPM.cmake
@@ -0,0 +1,16 @@
+#
+# Wrapper for CPackRPM.cmake
+#
+
+# load the original CPackRPM.cmake
+set(orig_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
+unset(CMAKE_MODULE_PATH)
+include(CPackRPM)
+set(CMAKE_MODULE_PATH ${orig_CMAKE_MODULE_PATH})
+
+# per-component cleanup
+foreach(_RPM_SPEC_HEADER URL REQUIRES SUGGESTS PROVIDES OBSOLETES PREFIX CONFLICTS AUTOPROV AUTOREQ AUTOREQPROV)
+ unset(TMP_RPM_${_RPM_SPEC_HEADER})
+ unset(CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}_TMP)
+endforeach()
+
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index a8439fcab00..03c6a03a3ed 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -23,14 +23,14 @@ SET(CPACK_COMPONENT_SHAREDLIBRARIES_GROUP "shared")
SET(CPACK_COMPONENT_COMMON_GROUP "common")
SET(CPACK_COMPONENT_COMPAT_GROUP "compat")
SET(CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
- SupportFiles Development ManPagesDevelopment
- ManPagesTest Readme ManPagesClient Test
- Common Client SharedLibraries)
+ SupportFiles Development ManPagesDevelopment
+ ManPagesTest Readme ManPagesClient Test
+ Common Client SharedLibraries)
SET(CPACK_RPM_PACKAGE_NAME "MariaDB")
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE_SYSTEM_PROCESSOR}")
-SET(CPACK_RPM_PACKAGE_RELEASE 1) # FIX: add distribution name here
+SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}")
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_RELOCATABLE FALSE)
SET(CPACK_RPM_PACKAGE_GROUP "Applications/Databases")
@@ -94,55 +94,128 @@ SET(CPACK_RPM_compat_USER_FILELIST ${ignored})
SET(CPACK_RPM_devel_USER_FILELIST ${ignored})
SET(CPACK_RPM_test_USER_FILELIST ${ignored})
-SET(CPACK_RPM_client_PACKAGE_OBSOLETES "mysql-client MySQL-client MySQL-OurDelta-client")
-SET(CPACK_RPM_client_PACKAGE_PROVIDES "MySQL-client mysql-client")
+# "set/append array" - append a set of strings, separated by a space
+MACRO(SETA var)
+ FOREACH(v ${ARGN})
+ SET(${var} "${${var}} ${v}")
+ ENDFOREACH()
+ENDMACRO(SETA)
+
+SETA(CPACK_RPM_client_PACKAGE_OBSOLETES
+ "mysql-client"
+ "MySQL-client"
+ "MySQL-OurDelta-client")
+SETA(CPACK_RPM_client_PACKAGE_PROVIDES
+ "MySQL-client"
+ "mysql-client")
+
+SETA(CPACK_RPM_devel_PACKAGE_OBSOLETES
+ "MySQL-devel"
+ "MySQL-OurDelta-devel")
+SETA(CPACK_RPM_devel_PACKAGE_PROVIDES
+ "MySQL-devel")
+
+SETA(CPACK_RPM_server_PACKAGE_OBSOLETES
+ "MariaDB"
+ "MySQL"
+ "mysql-server"
+ "MySQL-server"
+ "MySQL-OurDelta-server")
+SETA(CPACK_RPM_server_PACKAGE_PROVIDES
+ "MariaDB"
+ "MySQL"
+ "MySQL-server"
+ "msqlormysql"
+ "mysql-server")
+
+SETA(CPACK_RPM_shared_PACKAGE_OBSOLETES
+ "mysql-shared"
+ "MySQL-shared-standard"
+ "MySQL-shared-pro"
+ "MySQL-shared-pro-cert"
+ "MySQL-shared-pro-gpl"
+ "MySQL-shared-pro-gpl-cert"
+ "MySQL-shared"
+ "MySQL-OurDelta-shared")
+SETA(CPACK_RPM_shared_PACKAGE_PROVIDES
+ "MySQL-shared"
+ "mysql-shared")
+
+SETA(CPACK_RPM_test_PACKAGE_OBSOLETES
+ "MySQL-test"
+ "MySQL-OurDelta-test")
+SETA(CPACK_RPM_test_PACKAGE_PROVIDES
+ "MySQL-test")
-# this is a workaround for CPackRPM.cmake (as of 2.8.8) bug.
-# If a package group does not specify OBSOLETES/REQUIRES the values of the
-# previous (alphabetically) group will apply.
-SET(CPACK_RPM_common_PACKAGE_OBSOLETES "MySQL-common")
-SET(CPACK_RPM_common_PACKAGE_PROVIDES "MariaDB-common")
-
-SET(CPACK_RPM_devel_PACKAGE_OBSOLETES "mysql-devel MySQL-devel MySQL-OurDelta-devel")
-SET(CPACK_RPM_devel_PACKAGE_PROVIDES "MySQL-devel mysql-devel")
-
-SET(CPACK_RPM_server_PACKAGE_OBSOLETES "MariaDB MySQL mysql-server MySQL-server MySQL-OurDelta-server")
-SET(CPACK_RPM_server_PACKAGE_PROVIDES "MariaDB MySQL MySQL-server msqlormysql mysql-server")
SET(CPACK_RPM_server_PRE_INSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/support-files/rpm/server-prein.sh)
SET(CPACK_RPM_server_PRE_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/support-files/rpm/server-preun.sh)
SET(CPACK_RPM_server_POST_INSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/support-files/rpm/server-postin.sh)
SET(CPACK_RPM_server_POST_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/support-files/rpm/server-postun.sh)
-
-SET(CPACK_RPM_shared_PACKAGE_OBSOLETES "mysql-shared MySQL-shared-standard MySQL-shared-pro MySQL-shared-pro-cert MySQL-shared-pro-gpl MySQL-shared-pro-gpl-cert MySQL-shared MySQL-OurDelta-shared mysql-libs")
-SET(CPACK_RPM_shared_PACKAGE_PROVIDES "MySQL-shared mysql-shared")
-
SET(CPACK_RPM_shared_POST_INSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/support-files/rpm/shared-post.sh)
SET(CPACK_RPM_shared_POST_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/support-files/rpm/shared-post.sh)
-SET(CPACK_RPM_test_PACKAGE_OBSOLETES "mysql-test MySQL-test MySQL-OurDelta-test")
-SET(CPACK_RPM_test_PACKAGE_PROVIDES "MySQL-test mysql-test")
-
-# Argh! Different distributions call packages differently, to be a drop-in replacement
-# we have to fake distribution-speficic dependencies
MACRO(ALTERNATIVE_NAME real alt)
+ SET(ver "%{version}-%{release}")
+ IF (${epoch})
+ SET(ver "${epoch}:${ver}")
+ ENDIF()
+
SET(p "CPACK_RPM_${real}_PACKAGE_PROVIDES")
- SET(${p} "${${p}} ${alt} ${alt}(x86-32) ${alt}(x86-64) config(${alt})")
+ SET(${p} "${${p}} ${alt} = ${ver} ${alt}%{?_isa} = ${ver} config(${alt}) = ${ver}")
SET(o "CPACK_RPM_${real}_PACKAGE_OBSOLETES")
- SET(${o} "${${o}} ${alt}")
+ SET(${o} "${${o}} ${alt} ${alt}%{_isa}")
ENDMACRO(ALTERNATIVE_NAME)
+# Argh! Different distributions call packages differently, to be a drop-in
+# replacement we have to fake distribution-speficic dependencies
+
+ALTERNATIVE_NAME("devel" "mysql-devel")
+ALTERNATIVE_NAME("server" "mysql-server")
+ALTERNATIVE_NAME("test" "mysql-test")
+
IF(RPM MATCHES "(rhel|centos)5")
ALTERNATIVE_NAME("shared" "mysql")
ELSEIF(RPM MATCHES "(rhel|centos)6")
ALTERNATIVE_NAME("client" "mysql")
ALTERNATIVE_NAME("shared" "mysql-libs")
ELSEIF(RPM MATCHES "fedora")
+ SET(epoch 1) # this is fedora
+ ALTERNATIVE_NAME("client" "mariadb")
ALTERNATIVE_NAME("client" "mysql")
+ ALTERNATIVE_NAME("devel" "mariadb-devel")
+ ALTERNATIVE_NAME("server" "mariadb-server")
+ ALTERNATIVE_NAME("shared" "mariadb-libs")
ALTERNATIVE_NAME("shared" "mysql-libs")
+ ALTERNATIVE_NAME("test" "mariadb-test")
+ SET(CPACK_RPM_common_PACKAGE_CONFLICTS "mariadb-libs < 1:%{version}-%{release}")
ENDIF()
# workaround for lots of perl dependencies added by rpmbuild
-SET(CPACK_RPM_test_PACKAGE_PROVIDES "${CPACK_RPM_test_PACKAGE_PROVIDES} perl(lib::mtr_gcov.pl) perl(lib::mtr_gprof.pl) perl(lib::mtr_io.pl) perl(lib::mtr_misc.pl) perl(lib::mtr_process.pl) perl(lib::v1/mtr_cases.pl) perl(lib::v1/mtr_gcov.pl) perl(lib::v1/mtr_gprof.pl) perl(lib::v1/mtr_im.pl) perl(lib::v1/mtr_io.pl) perl(lib::v1/mtr_match.pl) perl(lib::v1/mtr_misc.pl) perl(lib::v1/mtr_process.pl) perl(lib::v1/mtr_report.pl) perl(lib::v1/mtr_stress.pl) perl(lib::v1/mtr_timer.pl) perl(lib::v1/mtr_unique.pl) perl(mtr_cases) perl(mtr_io.pl) perl(mtr_match) perl(mtr_misc.pl) perl(mtr_report) perl(mtr_results) perl(mtr_unique)")
+SETA(CPACK_RPM_test_PACKAGE_PROVIDES
+ "perl(lib::mtr_gcov.pl)"
+ "perl(lib::mtr_gprof.pl)"
+ "perl(lib::mtr_io.pl)"
+ "perl(lib::mtr_misc.pl)"
+ "perl(lib::mtr_process.pl)"
+ "perl(lib::v1/mtr_cases.pl)"
+ "perl(lib::v1/mtr_gcov.pl)"
+ "perl(lib::v1/mtr_gprof.pl)"
+ "perl(lib::v1/mtr_im.pl)"
+ "perl(lib::v1/mtr_io.pl)"
+ "perl(lib::v1/mtr_match.pl)"
+ "perl(lib::v1/mtr_misc.pl)"
+ "perl(lib::v1/mtr_process.pl)"
+ "perl(lib::v1/mtr_report.pl)"
+ "perl(lib::v1/mtr_stress.pl)"
+ "perl(lib::v1/mtr_timer.pl)"
+ "perl(lib::v1/mtr_unique.pl)"
+ "perl(mtr_cases)"
+ "perl(mtr_io.pl)"
+ "perl(mtr_match)"
+ "perl(mtr_misc.pl)"
+ "perl(mtr_report)"
+ "perl(mtr_results)"
+ "perl(mtr_unique)")
# If we want to build build MariaDB-shared-compat,
# extract compat libraries from MariaDB-shared-5.3 rpm
@@ -170,7 +243,6 @@ IF (compat_rpm)
ENDIF()
ENDIF(compat_rpm)
-SET(CPACK_RPM_compat_PACKAGE_REQUIRES "/bin/sh") # to mask CPACK_RPM_PACKAGE_REQUIRES
SET(CPACK_RPM_compat_PACKAGE_PROVIDES "mysql-libs = 5.3.5") # exact version doesn't matter as long as it greater than 5.1
SET(CPACK_RPM_compat_PACKAGE_OBSOLETES "mysql-libs < 5.3.5")
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake
index b1af0bbdf39..7feba109296 100644
--- a/cmake/install_macros.cmake
+++ b/cmake/install_macros.cmake
@@ -397,6 +397,7 @@ FUNCTION(INSTALL_MYSQL_TEST from to)
PATTERN "*.vcxproj.filters" EXCLUDE
PATTERN "*.vcxproj.user" EXCLUDE
PATTERN "CTest" EXCLUDE
+ PATTERN "*~" EXCLUDE
)
ENDIF()
ENDFUNCTION()
diff --git a/cmake/jemalloc.cmake b/cmake/jemalloc.cmake
index bc6bf60781d..b677f226266 100644
--- a/cmake/jemalloc.cmake
+++ b/cmake/jemalloc.cmake
@@ -46,13 +46,14 @@ ELSE()
ENDIF()
SET(WITH_JEMALLOC ${WITH_JEMALLOC_DEFAULT} CACHE STRING
- "Which jemalloc to use (possible values are 'no', 'bundled', 'system', 'yes' (system if possible, otherwise bundled)")
+ "Which jemalloc to use. Possible values are 'no', 'bundled', 'system', 'yes' (system if possible, otherwise bundled)")
MACRO (CHECK_JEMALLOC)
IF(WITH_JEMALLOC STREQUAL "system" OR WITH_JEMALLOC STREQUAL "yes")
CHECK_LIBRARY_EXISTS(jemalloc malloc_stats_print "" HAVE_JEMALLOC)
IF (HAVE_JEMALLOC)
SET(LIBJEMALLOC jemalloc)
+ SET(MALLOC_LIBRARY "system jemalloc")
ELSEIF (WITH_JEMALLOC STREQUAL "system")
MESSAGE(FATAL_ERROR "system jemalloc is not found")
ELSEIF (WITH_JEMALLOC STREQUAL "yes")
@@ -61,5 +62,6 @@ MACRO (CHECK_JEMALLOC)
ENDIF()
IF(WITH_JEMALLOC STREQUAL "bundled" OR trybundled)
USE_BUNDLED_JEMALLOC()
+ SET(MALLOC_LIBRARY "bundled jemalloc")
ENDIF()
ENDMACRO()
diff --git a/cmake/mysql_add_executable.cmake b/cmake/mysql_add_executable.cmake
index b1e1d3129e6..0c93fb179f5 100644
--- a/cmake/mysql_add_executable.cmake
+++ b/cmake/mysql_add_executable.cmake
@@ -1,48 +1,48 @@
-# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-# Add executable plus some additional MySQL specific stuff
-# Usage (same as for standard CMake's ADD_EXECUTABLE)
-#
-# MYSQL_ADD_EXECUTABLE(target source1...sourceN)
-#
-# MySQL specifics:
-# - instruct CPack to install executable under ${CMAKE_INSTALL_PREFIX}/bin directory
-# On Windows :
-# - add version resource
-# - instruct CPack to do autenticode signing if SIGNCODE is set
-
-INCLUDE(cmake_parse_arguments)
-
-FUNCTION (MYSQL_ADD_EXECUTABLE)
- # Pass-through arguments for ADD_EXECUTABLE
- MYSQL_PARSE_ARGUMENTS(ARG
- "WIN32;MACOSX_BUNDLE;EXCLUDE_FROM_ALL;DESTINATION;COMPONENT"
- ""
- ${ARGN}
- )
- LIST(GET ARG_DEFAULT_ARGS 0 target)
- LIST(REMOVE_AT ARG_DEFAULT_ARGS 0)
-
- SET(sources ${ARG_DEFAULT_ARGS})
- ADD_VERSION_INFO(${target} EXECUTABLE sources)
- ADD_EXECUTABLE(${target} ${ARG_WIN32} ${ARG_MACOSX_BUNDLE} ${ARG_EXCLUDE_FROM_ALL} ${sources})
- # tell CPack where to install
- IF(NOT ARG_EXCLUDE_FROM_ALL)
- IF(NOT ARG_DESTINATION)
- SET(ARG_DESTINATION ${INSTALL_BINDIR})
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+# Add executable plus some additional MySQL specific stuff
+# Usage (same as for standard CMake's ADD_EXECUTABLE)
+#
+# MYSQL_ADD_EXECUTABLE(target source1...sourceN)
+#
+# MySQL specifics:
+# - instruct CPack to install executable under ${CMAKE_INSTALL_PREFIX}/bin directory
+# On Windows :
+# - add version resource
+# - instruct CPack to do autenticode signing if SIGNCODE is set
+
+INCLUDE(cmake_parse_arguments)
+
+FUNCTION (MYSQL_ADD_EXECUTABLE)
+ # Pass-through arguments for ADD_EXECUTABLE
+ MYSQL_PARSE_ARGUMENTS(ARG
+ "WIN32;MACOSX_BUNDLE;EXCLUDE_FROM_ALL;DESTINATION;COMPONENT"
+ ""
+ ${ARGN}
+ )
+ LIST(GET ARG_DEFAULT_ARGS 0 target)
+ LIST(REMOVE_AT ARG_DEFAULT_ARGS 0)
+
+ SET(sources ${ARG_DEFAULT_ARGS})
+ ADD_VERSION_INFO(${target} EXECUTABLE sources)
+ ADD_EXECUTABLE(${target} ${ARG_WIN32} ${ARG_MACOSX_BUNDLE} ${ARG_EXCLUDE_FROM_ALL} ${sources})
+ # tell CPack where to install
+ IF(NOT ARG_EXCLUDE_FROM_ALL)
+ IF(NOT ARG_DESTINATION)
+ SET(ARG_DESTINATION ${INSTALL_BINDIR})
ENDIF()
IF(ARG_COMPONENT)
SET(COMP COMPONENT ${ARG_COMPONENT})
@@ -50,7 +50,7 @@ FUNCTION (MYSQL_ADD_EXECUTABLE)
SET(COMP COMPONENT ${MYSQL_INSTALL_COMPONENT})
ELSE()
SET(COMP COMPONENT Client)
- ENDIF()
- MYSQL_INSTALL_TARGETS(${target} DESTINATION ${ARG_DESTINATION} ${COMP})
- ENDIF()
+ ENDIF()
+ MYSQL_INSTALL_TARGETS(${target} DESTINATION ${ARG_DESTINATION} ${COMP})
+ ENDIF()
ENDFUNCTION()
diff --git a/cmake/pcre.cmake b/cmake/pcre.cmake
new file mode 100644
index 00000000000..45d9bc01ddb
--- /dev/null
+++ b/cmake/pcre.cmake
@@ -0,0 +1,16 @@
+SET(WITH_PCRE "auto" CACHE STRING
+ "Which pcre to use (possible values are 'bundled', 'system', or 'auto')")
+
+MACRO (CHECK_PCRE)
+ IF(WITH_PCRE STREQUAL "system" OR WITH_PCRE STREQUAL "auto")
+ CHECK_LIBRARY_EXISTS(pcre pcre_stack_guard "" HAVE_PCRE)
+ ENDIF()
+ IF(NOT HAVE_PCRE)
+ IF (WITH_PCRE STREQUAL "system")
+ MESSAGE(FATAL_ERROR "system pcre is not found or unusable")
+ ENDIF()
+ SET(PCRE_INCLUDES ${CMAKE_BINARY_DIR}/pcre ${CMAKE_SOURCE_DIR}/pcre)
+ ADD_SUBDIRECTORY(pcre)
+ ENDIF()
+ENDMACRO()
+
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index d0847f1f84e..07372849a10 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -37,8 +37,7 @@ MACRO(MYSQL_ADD_PLUGIN)
# Add common include directories
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${SSL_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR})
diff --git a/cmake/versioninfo.rc.in b/cmake/versioninfo.rc.in
index 6eb853936d2..cd880b917e0 100644
--- a/cmake/versioninfo.rc.in
+++ b/cmake/versioninfo.rc.in
@@ -1,38 +1,38 @@
-// Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; version 2 of the License.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-#include <windows.h>
-VS_VERSION_INFO VERSIONINFO
-FILEVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@PATCH_VERSION@,@TINY_VERSION@
-PRODUCTVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@PATCH_VERSION@,@TINY_VERSION@
-FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
-FILEFLAGS 0
-FILEOS VOS__WINDOWS32
-FILETYPE @FILETYPE@
-FILESUBTYPE VFT2_UNKNOWN
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904E4"
- BEGIN
- VALUE "FileVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@.@TINY_VERSION@\0"
- VALUE "ProductVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@.@TINY_VERSION@\0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1252
- END
-END
+// Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; version 2 of the License.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+#include <windows.h>
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@PATCH_VERSION@,@TINY_VERSION@
+PRODUCTVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@PATCH_VERSION@,@TINY_VERSION@
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+FILEFLAGS 0
+FILEOS VOS__WINDOWS32
+FILETYPE @FILETYPE@
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "FileVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@.@TINY_VERSION@\0"
+ VALUE "ProductVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@.@TINY_VERSION@\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END
diff --git a/cmake/zlib.cmake b/cmake/zlib.cmake
index d2e78dd7049..03d2c542ba4 100644
--- a/cmake/zlib.cmake
+++ b/cmake/zlib.cmake
@@ -1,5 +1,4 @@
-# Copyright (c) 2009 Sun Microsystems, Inc.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/config.h.cmake b/config.h.cmake
index d09be63894e..c48d17fada0 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -618,7 +618,7 @@
#cmakedefine DEFAULT_CHARSET_HOME "@DEFAULT_CHARSET_HOME@"
#cmakedefine PLUGINDIR "@PLUGINDIR@"
#cmakedefine DEFAULT_SYSCONFDIR "@DEFAULT_SYSCONFDIR@"
-#cmakedefine DEFAULT_TMPDIR "@DEFAULT_TMPDIR@"
+#cmakedefine DEFAULT_TMPDIR @DEFAULT_TMPDIR@
#cmakedefine SO_EXT "@CMAKE_SHARED_MODULE_SUFFIX@"
@@ -636,10 +636,19 @@
#define VERSION "@VERSION@"
#define PROTOCOL_VERSION 10
+#define MALLOC_LIBRARY "@MALLOC_LIBRARY@"
/* time_t related defines */
#cmakedefine SIZEOF_TIME_T @SIZEOF_TIME_T@
#cmakedefine TIME_T_UNSIGNED @TIME_T_UNSIGNED@
+#ifdef _AIX
+/*
+ AIX includes inttypes.h from sys/types.h
+ Explicitly request format macros before the first inclusion of inttypes.h
+*/
+#define __STDC_FORMAT_MACROS
+#endif
+
#endif
diff --git a/dbug/dbug.c b/dbug/dbug.c
index c6d95a74c1c..dffd7a44cd8 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -1642,6 +1642,7 @@ void _db_end_()
cs->stack= &init_settings;
FreeState(cs, 0);
+ pthread_mutex_destroy(&THR_LOCK_dbug);
init_done= 0;
}
diff --git a/debian/dist/Debian/mariadb-server-10.0.files.in b/debian/dist/Debian/mariadb-server-10.0.files.in
index 891e0437a5e..c56816fb3ba 100644
--- a/debian/dist/Debian/mariadb-server-10.0.files.in
+++ b/debian/dist/Debian/mariadb-server-10.0.files.in
@@ -2,7 +2,7 @@ usr/lib/mysql/plugin/auth_pam.so
usr/lib/mysql/plugin/auth_socket.so
usr/lib/mysql/plugin/ha_sequence.so
usr/lib/mysql/plugin/ha_sphinx.so
-usr/lib/mysql/plugin/ha_xtradb.so
+usr/lib/mysql/plugin/ha_innodb.so
usr/lib/mysql/plugin/handlersocket.so
usr/lib/mysql/plugin/locales.so
usr/lib/mysql/plugin/metadata_lock_info.so
@@ -11,6 +11,7 @@ usr/lib/mysql/plugin/query_response_time.so
usr/lib/mysql/plugin/semisync_master.so
usr/lib/mysql/plugin/semisync_slave.so
usr/lib/mysql/plugin/sql_errlog.so
+usr/lib/mysql/plugin/server_audit.so
usr/lib/libhsclient.so.*
etc/mysql/debian-start
etc/mysql/conf.d/mysqld_safe_syslog.cnf
diff --git a/debian/dist/Ubuntu/mariadb-server-10.0.files.in b/debian/dist/Ubuntu/mariadb-server-10.0.files.in
index 8de4e943bb2..f489b29081e 100644
--- a/debian/dist/Ubuntu/mariadb-server-10.0.files.in
+++ b/debian/dist/Ubuntu/mariadb-server-10.0.files.in
@@ -2,7 +2,7 @@ usr/lib/mysql/plugin/auth_pam.so
usr/lib/mysql/plugin/auth_socket.so
usr/lib/mysql/plugin/ha_sequence.so
usr/lib/mysql/plugin/ha_sphinx.so
-usr/lib/mysql/plugin/ha_xtradb.so
+usr/lib/mysql/plugin/ha_innodb.so
usr/lib/mysql/plugin/handlersocket.so
usr/lib/mysql/plugin/locales.so
usr/lib/mysql/plugin/metadata_lock_info.so
@@ -11,6 +11,7 @@ usr/lib/mysql/plugin/query_response_time.so
usr/lib/mysql/plugin/semisync_master.so
usr/lib/mysql/plugin/semisync_slave.so
usr/lib/mysql/plugin/sql_errlog.so
+usr/lib/mysql/plugin/server_audit.so
usr/lib/libhsclient.so.*
etc/apparmor.d/usr.sbin.mysqld
usr/share/apport/package-hooks/source_mariadb-10.0.py
diff --git a/debian/po/it.po b/debian/po/it.po
index b989f84fbf2..bd39afe5398 100644
--- a/debian/po/it.po
+++ b/debian/po/it.po
@@ -1,8 +1,8 @@
-# Italian (it) translation of debconf templates for mysql-dfsg-5.1
-# Copyright (C) 2009 Software in the Public Interest
-# This file is distributed under the same license as the mysql-dfsg-5.1 package.
-# Luca Monducci <luca.mo@tiscali.it>, 2006 - 2009.
-#
+# Italian (it) translation of debconf templates for mysql-dfsg-5.1
+# Copyright (C) 2009 Software in the Public Interest
+# This file is distributed under the same license as the mysql-dfsg-5.1 package.
+# Luca Monducci <luca.mo@tiscali.it>, 2006 - 2009.
+#
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.1 5.1.37 italian debconf templates\n"
diff --git a/debian/po/sv.po b/debian/po/sv.po
index 2aec886a6dd..788349fa504 100644
--- a/debian/po/sv.po
+++ b/debian/po/sv.po
@@ -1,9 +1,9 @@
-# Translation of mysql-dfsg-5.1 debconf template to Swedish
-# Copyright (C) 2009 Martin Bagge <brother@bsnet.se>
-# This file is distributed under the same license as the mysql-dfsg-5.1 package.
-#
-# Andreas Henriksson <andreas@fatal.se>, 2007
-# Martin Bagge <brother@bsnet.se>, 2009
+# Translation of mysql-dfsg-5.1 debconf template to Swedish
+# Copyright (C) 2009 Martin Bagge <brother@bsnet.se>
+# This file is distributed under the same license as the mysql-dfsg-5.1 package.
+#
+# Andreas Henriksson <andreas@fatal.se>, 2007
+# Martin Bagge <brother@bsnet.se>, 2009
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.1 5.0.21-3\n"
diff --git a/extra/jemalloc/ChangeLog b/extra/jemalloc/ChangeLog
index fc096d8f42f..4f03fc141cb 100644
--- a/extra/jemalloc/ChangeLog
+++ b/extra/jemalloc/ChangeLog
@@ -6,6 +6,15 @@ found in the git revision history:
http://www.canonware.com/cgi-bin/gitweb.cgi?p=jemalloc.git
git://canonware.com/jemalloc.git
+* 3.3.1a (December 27, 2013)
+
+ Bug fixes from 3.4.1
+ - Fix Valgrind integration flaws that caused Valgrind warnings about reads of
+ uninitialized memory in:
+ + arena chunk headers
+ + internal zero-initialized data structures (relevant to tcache and prof
+ code)
+
* 3.3.1 (March 6, 2013)
This version fixes bugs that are typically encountered only when utilizing
diff --git a/extra/jemalloc/include/jemalloc/internal/arena.h b/extra/jemalloc/include/jemalloc/internal/arena.h
index f2c18f43543..bbcfedacead 100644
--- a/extra/jemalloc/include/jemalloc/internal/arena.h
+++ b/extra/jemalloc/include/jemalloc/internal/arena.h
@@ -441,6 +441,7 @@ void arena_postfork_child(arena_t *arena);
#ifndef JEMALLOC_ENABLE_INLINE
arena_chunk_map_t *arena_mapp_get(arena_chunk_t *chunk, size_t pageind);
size_t *arena_mapbitsp_get(arena_chunk_t *chunk, size_t pageind);
+size_t arena_mapbitsp_read(size_t *mapbitsp);
size_t arena_mapbits_get(arena_chunk_t *chunk, size_t pageind);
size_t arena_mapbits_unallocated_size_get(arena_chunk_t *chunk,
size_t pageind);
@@ -451,6 +452,7 @@ size_t arena_mapbits_dirty_get(arena_chunk_t *chunk, size_t pageind);
size_t arena_mapbits_unzeroed_get(arena_chunk_t *chunk, size_t pageind);
size_t arena_mapbits_large_get(arena_chunk_t *chunk, size_t pageind);
size_t arena_mapbits_allocated_get(arena_chunk_t *chunk, size_t pageind);
+void arena_mapbitsp_write(size_t *mapbitsp, size_t mapbits);
void arena_mapbits_unallocated_set(arena_chunk_t *chunk, size_t pageind,
size_t size, size_t flags);
void arena_mapbits_unallocated_size_set(arena_chunk_t *chunk, size_t pageind,
@@ -498,10 +500,17 @@ arena_mapbitsp_get(arena_chunk_t *chunk, size_t pageind)
}
JEMALLOC_ALWAYS_INLINE size_t
+arena_mapbitsp_read(size_t *mapbitsp)
+{
+
+ return (*mapbitsp);
+}
+
+JEMALLOC_ALWAYS_INLINE size_t
arena_mapbits_get(arena_chunk_t *chunk, size_t pageind)
{
- return (*arena_mapbitsp_get(chunk, pageind));
+ return (arena_mapbitsp_read(arena_mapbitsp_get(chunk, pageind)));
}
JEMALLOC_ALWAYS_INLINE size_t
@@ -585,82 +594,89 @@ arena_mapbits_allocated_get(arena_chunk_t *chunk, size_t pageind)
}
JEMALLOC_ALWAYS_INLINE void
+arena_mapbitsp_write(size_t *mapbitsp, size_t mapbits)
+{
+
+ *mapbitsp = mapbits;
+}
+
+JEMALLOC_ALWAYS_INLINE void
arena_mapbits_unallocated_set(arena_chunk_t *chunk, size_t pageind, size_t size,
size_t flags)
{
- size_t *mapbitsp;
+ size_t *mapbitsp = arena_mapbitsp_get(chunk, pageind);
- mapbitsp = arena_mapbitsp_get(chunk, pageind);
assert((size & PAGE_MASK) == 0);
assert((flags & ~CHUNK_MAP_FLAGS_MASK) == 0);
assert((flags & (CHUNK_MAP_DIRTY|CHUNK_MAP_UNZEROED)) == flags);
- *mapbitsp = size | CHUNK_MAP_BININD_INVALID | flags;
+ arena_mapbitsp_write(mapbitsp, size | CHUNK_MAP_BININD_INVALID | flags);
}
JEMALLOC_ALWAYS_INLINE void
arena_mapbits_unallocated_size_set(arena_chunk_t *chunk, size_t pageind,
size_t size)
{
- size_t *mapbitsp;
+ size_t *mapbitsp = arena_mapbitsp_get(chunk, pageind);
+ size_t mapbits = arena_mapbitsp_read(mapbitsp);
- mapbitsp = arena_mapbitsp_get(chunk, pageind);
assert((size & PAGE_MASK) == 0);
- assert((*mapbitsp & (CHUNK_MAP_LARGE|CHUNK_MAP_ALLOCATED)) == 0);
- *mapbitsp = size | (*mapbitsp & PAGE_MASK);
+ assert((mapbits & (CHUNK_MAP_LARGE|CHUNK_MAP_ALLOCATED)) == 0);
+ arena_mapbitsp_write(mapbitsp, size | (mapbits & PAGE_MASK));
}
JEMALLOC_ALWAYS_INLINE void
arena_mapbits_large_set(arena_chunk_t *chunk, size_t pageind, size_t size,
size_t flags)
{
- size_t *mapbitsp;
+ size_t *mapbitsp = arena_mapbitsp_get(chunk, pageind);
+ size_t mapbits = arena_mapbitsp_read(mapbitsp);
size_t unzeroed;
- mapbitsp = arena_mapbitsp_get(chunk, pageind);
assert((size & PAGE_MASK) == 0);
assert((flags & CHUNK_MAP_DIRTY) == flags);
- unzeroed = *mapbitsp & CHUNK_MAP_UNZEROED; /* Preserve unzeroed. */
- *mapbitsp = size | CHUNK_MAP_BININD_INVALID | flags | unzeroed |
- CHUNK_MAP_LARGE | CHUNK_MAP_ALLOCATED;
+ unzeroed = mapbits & CHUNK_MAP_UNZEROED; /* Preserve unzeroed. */
+ arena_mapbitsp_write(mapbitsp, size | CHUNK_MAP_BININD_INVALID | flags
+ | unzeroed | CHUNK_MAP_LARGE | CHUNK_MAP_ALLOCATED);
}
JEMALLOC_ALWAYS_INLINE void
arena_mapbits_large_binind_set(arena_chunk_t *chunk, size_t pageind,
size_t binind)
{
- size_t *mapbitsp;
+ size_t *mapbitsp = arena_mapbitsp_get(chunk, pageind);
+ size_t mapbits = arena_mapbitsp_read(mapbitsp);
assert(binind <= BININD_INVALID);
- mapbitsp = arena_mapbitsp_get(chunk, pageind);
assert(arena_mapbits_large_size_get(chunk, pageind) == PAGE);
- *mapbitsp = (*mapbitsp & ~CHUNK_MAP_BININD_MASK) | (binind <<
- CHUNK_MAP_BININD_SHIFT);
+ arena_mapbitsp_write(mapbitsp, (mapbits & ~CHUNK_MAP_BININD_MASK) |
+ (binind << CHUNK_MAP_BININD_SHIFT));
}
JEMALLOC_ALWAYS_INLINE void
arena_mapbits_small_set(arena_chunk_t *chunk, size_t pageind, size_t runind,
size_t binind, size_t flags)
{
- size_t *mapbitsp;
+ size_t *mapbitsp = arena_mapbitsp_get(chunk, pageind);
+ size_t mapbits = arena_mapbitsp_read(mapbitsp);
size_t unzeroed;
assert(binind < BININD_INVALID);
- mapbitsp = arena_mapbitsp_get(chunk, pageind);
assert(pageind - runind >= map_bias);
assert((flags & CHUNK_MAP_DIRTY) == flags);
- unzeroed = *mapbitsp & CHUNK_MAP_UNZEROED; /* Preserve unzeroed. */
- *mapbitsp = (runind << LG_PAGE) | (binind << CHUNK_MAP_BININD_SHIFT) |
- flags | unzeroed | CHUNK_MAP_ALLOCATED;
+ unzeroed = mapbits & CHUNK_MAP_UNZEROED; /* Preserve unzeroed. */
+ arena_mapbitsp_write(mapbitsp, (runind << LG_PAGE) | (binind <<
+ CHUNK_MAP_BININD_SHIFT) | flags | unzeroed | CHUNK_MAP_ALLOCATED);
}
JEMALLOC_ALWAYS_INLINE void
arena_mapbits_unzeroed_set(arena_chunk_t *chunk, size_t pageind,
size_t unzeroed)
{
- size_t *mapbitsp;
+ size_t *mapbitsp = arena_mapbitsp_get(chunk, pageind);
+ size_t mapbits = arena_mapbitsp_read(mapbitsp);
- mapbitsp = arena_mapbitsp_get(chunk, pageind);
- *mapbitsp = (*mapbitsp & ~CHUNK_MAP_UNZEROED) | unzeroed;
+ arena_mapbitsp_write(mapbitsp, (mapbits & ~CHUNK_MAP_UNZEROED) |
+ unzeroed);
}
JEMALLOC_INLINE bool
diff --git a/extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in b/extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in
index 50d84cabf69..124ec34bddf 100644
--- a/extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in
+++ b/extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in
@@ -235,6 +235,7 @@ static const bool config_ivsalloc =
#ifdef JEMALLOC_DEBUG
/* Disable inlining to make debugging easier. */
# define JEMALLOC_ALWAYS_INLINE
+# define JEMALLOC_ALWAYS_INLINE_C static
# define JEMALLOC_INLINE
# define inline
#else
@@ -242,8 +243,11 @@ static const bool config_ivsalloc =
# ifdef JEMALLOC_HAVE_ATTR
# define JEMALLOC_ALWAYS_INLINE \
static inline JEMALLOC_ATTR(unused) JEMALLOC_ATTR(always_inline)
+# define JEMALLOC_ALWAYS_INLINE_C \
+ static inline JEMALLOC_ATTR(always_inline)
# else
# define JEMALLOC_ALWAYS_INLINE static inline
+# define JEMALLOC_ALWAYS_INLINE_C static inline
# endif
# define JEMALLOC_INLINE static inline
# ifdef _MSC_VER
diff --git a/extra/jemalloc/include/jemalloc/internal/private_namespace.h b/extra/jemalloc/include/jemalloc/internal/private_namespace.h
index 65de3163fd3..cdb0b0eb1c4 100644
--- a/extra/jemalloc/include/jemalloc/internal/private_namespace.h
+++ b/extra/jemalloc/include/jemalloc/internal/private_namespace.h
@@ -33,6 +33,8 @@
#define arena_mapbits_unzeroed_get JEMALLOC_N(arena_mapbits_unzeroed_get)
#define arena_mapbits_unzeroed_set JEMALLOC_N(arena_mapbits_unzeroed_set)
#define arena_mapbitsp_get JEMALLOC_N(arena_mapbitsp_get)
+#define arena_mapbitsp_read JEMALLOC_N(arena_mapbitsp_read)
+#define arena_mapbitsp_write JEMALLOC_N(arena_mapbitsp_write)
#define arena_mapp_get JEMALLOC_N(arena_mapp_get)
#define arena_maxclass JEMALLOC_N(arena_maxclass)
#define arena_new JEMALLOC_N(arena_new)
diff --git a/extra/jemalloc/include/jemalloc/internal/tcache.h b/extra/jemalloc/include/jemalloc/internal/tcache.h
index ba36204ff21..d4eecdee0dc 100644
--- a/extra/jemalloc/include/jemalloc/internal/tcache.h
+++ b/extra/jemalloc/include/jemalloc/internal/tcache.h
@@ -313,6 +313,7 @@ tcache_alloc_small(tcache_t *tcache, size_t size, bool zero)
} else if (opt_zero)
memset(ret, 0, size);
}
+ VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
} else {
if (config_fill && opt_junk) {
arena_alloc_junk_small(ret, &arena_bin_info[binind],
@@ -321,7 +322,6 @@ tcache_alloc_small(tcache_t *tcache, size_t size, bool zero)
VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
memset(ret, 0, size);
}
- VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
if (config_stats)
tbin->tstats.nrequests++;
@@ -368,11 +368,11 @@ tcache_alloc_large(tcache_t *tcache, size_t size, bool zero)
else if (opt_zero)
memset(ret, 0, size);
}
+ VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
} else {
VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
memset(ret, 0, size);
}
- VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
if (config_stats)
tbin->tstats.nrequests++;
diff --git a/extra/jemalloc/src/arena.c b/extra/jemalloc/src/arena.c
index 05a787f89d9..d28b629a1e1 100644
--- a/extra/jemalloc/src/arena.c
+++ b/extra/jemalloc/src/arena.c
@@ -369,13 +369,20 @@ arena_run_zero(arena_chunk_t *chunk, size_t run_ind, size_t npages)
}
static inline void
+arena_run_page_mark_zeroed(arena_chunk_t *chunk, size_t run_ind)
+{
+
+ VALGRIND_MAKE_MEM_DEFINED((void *)((uintptr_t)chunk + (run_ind <<
+ LG_PAGE)), PAGE);
+}
+
+static inline void
arena_run_page_validate_zeroed(arena_chunk_t *chunk, size_t run_ind)
{
size_t i;
UNUSED size_t *p = (size_t *)((uintptr_t)chunk + (run_ind << LG_PAGE));
- VALGRIND_MAKE_MEM_DEFINED((void *)((uintptr_t)chunk + (run_ind <<
- LG_PAGE)), PAGE);
+ arena_run_page_mark_zeroed(chunk, run_ind);
for (i = 0; i < PAGE / sizeof(size_t); i++)
assert(p[i] == 0);
}
@@ -458,6 +465,9 @@ arena_run_split(arena_t *arena, arena_run_t *run, size_t size, bool large,
} else if (config_debug) {
arena_run_page_validate_zeroed(
chunk, run_ind+i);
+ } else {
+ arena_run_page_mark_zeroed(
+ chunk, run_ind+i);
}
}
} else {
@@ -467,6 +477,9 @@ arena_run_split(arena_t *arena, arena_run_t *run, size_t size, bool large,
*/
arena_run_zero(chunk, run_ind, need_pages);
}
+ } else {
+ VALGRIND_MAKE_MEM_UNDEFINED((void *)((uintptr_t)chunk +
+ (run_ind << LG_PAGE)), (need_pages << LG_PAGE));
}
/*
@@ -508,9 +521,9 @@ arena_run_split(arena_t *arena, arena_run_t *run, size_t size, bool large,
arena_run_page_validate_zeroed(chunk,
run_ind+need_pages-1);
}
+ VALGRIND_MAKE_MEM_UNDEFINED((void *)((uintptr_t)chunk +
+ (run_ind << LG_PAGE)), (need_pages << LG_PAGE));
}
- VALGRIND_MAKE_MEM_UNDEFINED((void *)((uintptr_t)chunk + (run_ind <<
- LG_PAGE)), (need_pages << LG_PAGE));
}
static arena_chunk_t *
@@ -569,17 +582,24 @@ arena_chunk_alloc(arena_t *arena)
* unless the chunk is not zeroed.
*/
if (zero == false) {
+ VALGRIND_MAKE_MEM_UNDEFINED(
+ (void *)arena_mapp_get(chunk, map_bias+1),
+ (size_t)((uintptr_t) arena_mapp_get(chunk,
+ chunk_npages-1) - (uintptr_t)arena_mapp_get(chunk,
+ map_bias+1)));
for (i = map_bias+1; i < chunk_npages-1; i++)
arena_mapbits_unzeroed_set(chunk, i, unzeroed);
- } else if (config_debug) {
+ } else {
VALGRIND_MAKE_MEM_DEFINED(
(void *)arena_mapp_get(chunk, map_bias+1),
- (void *)((uintptr_t)
- arena_mapp_get(chunk, chunk_npages-1)
- - (uintptr_t)arena_mapp_get(chunk, map_bias+1)));
- for (i = map_bias+1; i < chunk_npages-1; i++) {
- assert(arena_mapbits_unzeroed_get(chunk, i) ==
- unzeroed);
+ (size_t)((uintptr_t) arena_mapp_get(chunk,
+ chunk_npages-1) - (uintptr_t)arena_mapp_get(chunk,
+ map_bias+1)));
+ if (config_debug) {
+ for (i = map_bias+1; i < chunk_npages-1; i++) {
+ assert(arena_mapbits_unzeroed_get(chunk,
+ i) == unzeroed);
+ }
}
}
arena_mapbits_unallocated_set(chunk, chunk_npages-1,
@@ -1458,6 +1478,7 @@ arena_malloc_small(arena_t *arena, size_t size, bool zero)
} else if (opt_zero)
memset(ret, 0, size);
}
+ VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
} else {
if (config_fill && opt_junk) {
arena_alloc_junk_small(ret, &arena_bin_info[binind],
@@ -1466,7 +1487,6 @@ arena_malloc_small(arena_t *arena, size_t size, bool zero)
VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
memset(ret, 0, size);
}
- VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
return (ret);
}
diff --git a/extra/replace.c b/extra/replace.c
index c2dcc9f50b5..c4105e45973 100644
--- a/extra/replace.c
+++ b/extra/replace.c
@@ -265,7 +265,7 @@ static int insert_pointer_name(reg1 POINTER_ARRAY *pa,char * name)
if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD),
MYF(MY_WME))))
{
- my_free((char*) pa->typelib.type_names);
+ my_free((void*) pa->typelib.type_names);
DBUG_RETURN (-1);
}
pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+
@@ -327,7 +327,7 @@ static void free_pointer_array(reg1 POINTER_ARRAY *pa)
if (pa->typelib.count)
{
pa->typelib.count=0;
- my_free((char*) pa->typelib.type_names);
+ my_free((void*) pa->typelib.type_names);
pa->typelib.type_names=0;
my_free(pa->str);
}
diff --git a/extra/yassl/CMakeLists.txt b/extra/yassl/CMakeLists.txt
index cb81d05874c..08e0f49d8a2 100644
--- a/extra/yassl/CMakeLists.txt
+++ b/extra/yassl/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/extra/yassl/include/yassl_error.hpp b/extra/yassl/include/yassl_error.hpp
index a4b29ae2e8c..beba7b0b5dd 100644
--- a/extra/yassl/include/yassl_error.hpp
+++ b/extra/yassl/include/yassl_error.hpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/extra/yassl/include/yassl_types.hpp b/extra/yassl/include/yassl_types.hpp
index 6a8c3f6c075..129661c58ed 100644
--- a/extra/yassl/include/yassl_types.hpp
+++ b/extra/yassl/include/yassl_types.hpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/extra/yassl/src/handshake.cpp b/extra/yassl/src/handshake.cpp
index d4c45ae8a3d..79a0c291fb6 100644
--- a/extra/yassl/src/handshake.cpp
+++ b/extra/yassl/src/handshake.cpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005, 2012, Oracle and/or its affiliates.
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/extra/yassl/src/yassl_error.cpp b/extra/yassl/src/yassl_error.cpp
index 2d42e82ab4a..36e286a73ce 100644
--- a/extra/yassl/src/yassl_error.cpp
+++ b/extra/yassl/src/yassl_error.cpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005, 2012, Oracle and/or its affiliates
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/extra/yassl/src/yassl_imp.cpp b/extra/yassl/src/yassl_imp.cpp
index d943775101b..b927a55237d 100644
--- a/extra/yassl/src/yassl_imp.cpp
+++ b/extra/yassl/src/yassl_imp.cpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005, 2012, Oracle and/or its affiliates
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/extra/yassl/taocrypt/CMakeLists.txt b/extra/yassl/taocrypt/CMakeLists.txt
index 6e9b84c7398..84f1fc186e4 100644
--- a/extra/yassl/taocrypt/CMakeLists.txt
+++ b/extra/yassl/taocrypt/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/include/atomic/gcc_builtins.h b/include/atomic/gcc_builtins.h
index fb6a537d204..6e807b3c51c 100644
--- a/include/atomic/gcc_builtins.h
+++ b/include/atomic/gcc_builtins.h
@@ -31,6 +31,12 @@
#define make_atomic_store_body(S) *a= v
#define MY_ATOMIC_MODE "gcc-builtins-up"
+#elif defined(__ATOMIC_SEQ_CST)
+#define MY_ATOMIC_MODE "gcc-builtins-smp"
+#define make_atomic_load_body(S) \
+ ret= __atomic_load_n(a, __ATOMIC_SEQ_CST)
+#define make_atomic_store_body(S) \
+ __atomic_store_n(a, v, __ATOMIC_SEQ_CST)
#else
#define MY_ATOMIC_MODE "gcc-builtins-smp"
#define make_atomic_load_body(S) \
diff --git a/include/hash.h b/include/hash.h
index f014c44c7ec..ba36df23f58 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -44,6 +44,8 @@ extern "C" {
typedef uint my_hash_value_type;
typedef uchar *(*my_hash_get_key)(const uchar *,size_t*,my_bool);
+typedef my_hash_value_type (*my_hash_function)(const CHARSET_INFO *,
+ const uchar *, size_t);
typedef void (*my_hash_free_key)(void *);
typedef my_bool (*my_hash_walk_action)(void *,void *);
@@ -54,6 +56,7 @@ typedef struct st_hash {
uint flags;
DYNAMIC_ARRAY array; /* Place for hash_keys */
my_hash_get_key get_key;
+ my_hash_function hash_function;
void (*free)(void *);
CHARSET_INFO *charset;
} HASH;
@@ -61,10 +64,11 @@ typedef struct st_hash {
/* A search iterator state */
typedef uint HASH_SEARCH_STATE;
-#define my_hash_init(A,B,C,D,E,F,G,H) my_hash_init2(A,0,B,C,D,E,F,G,H)
+#define my_hash_init(A,B,C,D,E,F,G,H) my_hash_init2(A,0,B,C,D,E,F,0,G,H)
my_bool my_hash_init2(HASH *hash, uint growth_size, CHARSET_INFO *charset,
ulong default_array_elements, size_t key_offset,
size_t key_length, my_hash_get_key get_key,
+ my_hash_function hash_function,
void (*free_element)(void*),
uint flags);
void my_hash_free(HASH *tree);
@@ -74,8 +78,9 @@ uchar *my_hash_search(const HASH *info, const uchar *key, size_t length);
uchar *my_hash_search_using_hash_value(const HASH *info,
my_hash_value_type hash_value,
const uchar *key, size_t length);
-my_hash_value_type my_calc_hash(const HASH *info,
+my_hash_value_type my_hash_sort(const CHARSET_INFO *cs,
const uchar *key, size_t length);
+#define my_calc_hash(A, B, C) my_hash_sort((A)->charset, B, C)
uchar *my_hash_first(const HASH *info, const uchar *key, size_t length,
HASH_SEARCH_STATE *state);
uchar *my_hash_first_from_hash_value(const HASH *info,
diff --git a/include/heap.h b/include/heap.h
index 149f9ed5f56..724cf6c5f98 100644
--- a/include/heap.h
+++ b/include/heap.h
@@ -102,8 +102,8 @@ typedef struct st_heap_block
HP_PTRS *root; /* Top-level block */
struct st_level_info level_info[HP_MAX_LEVELS+1];
uint levels; /* number of used levels */
- uint records_in_block; /* Records in one heap-block */
uint recbuffer; /* Length of one saved record */
+ ulong records_in_block; /* Records in one heap-block */
ulong last_allocated; /* number of records there is allocated space for */
} HP_BLOCK;
@@ -134,14 +134,15 @@ typedef struct st_heap_share
{
HP_BLOCK block;
HP_KEYDEF *keydef;
- ulong min_records,max_records; /* Params to open */
ulonglong data_length,index_length,max_table_size;
+ ulonglong auto_increment;
+ ulong min_records,max_records; /* Params to open */
+ ulong records; /* records */
+ ulong blength; /* records rounded up to 2^n */
+ ulong deleted; /* Deleted records in database */
uint key_stat_version; /* version to indicate insert/delete */
uint key_version; /* Updated on key change */
uint file_version; /* Update on clear */
- uint records; /* records */
- uint blength; /* records rounded up to 2^n */
- uint deleted; /* Deleted records in database */
uint reclength; /* Length of one record */
uint changed;
uint keys,max_key_length;
@@ -157,7 +158,6 @@ typedef struct st_heap_share
LIST open_list;
uint auto_key;
uint auto_key_type; /* real type of the auto key segment */
- ulonglong auto_increment;
} HP_SHARE;
struct st_hp_hash_info;
@@ -188,12 +188,12 @@ typedef struct st_heap_info
typedef struct st_heap_create_info
{
HP_KEYDEF *keydef;
- ulong max_records;
- ulong min_records;
uint auto_key; /* keynr [1 - maxkey] for auto key */
uint auto_key_type;
uint keys;
uint reclength;
+ ulong max_records;
+ ulong min_records;
ulonglong max_table_size;
ulonglong auto_increment;
my_bool with_auto_increment;
diff --git a/include/ma_dyncol.h b/include/ma_dyncol.h
index cacd8f66c50..cb03ccb5382 100644
--- a/include/ma_dyncol.h
+++ b/include/ma_dyncol.h
@@ -220,6 +220,9 @@ mariadb_dyncol_unpack(DYNAMIC_COLUMN *str,
uint *count,
MYSQL_LEX_STRING **names, DYNAMIC_COLUMN_VALUE **vals);
+void mariadb_dyncol_unpack_free(MYSQL_LEX_STRING *names,
+ DYNAMIC_COLUMN_VALUE *vals);
+
int mariadb_dyncol_column_cmp_named(const MYSQL_LEX_STRING *s1,
const MYSQL_LEX_STRING *s2);
diff --git a/include/maria.h b/include/maria.h
index 5812c543c1e..908825b9970 100644
--- a/include/maria.h
+++ b/include/maria.h
@@ -69,8 +69,8 @@ extern "C" {
#if MARIA_MAX_KEY > MARIA_KEYMAP_BITS
#define maria_is_key_active(_keymap_,_keyno_) \
(((_keyno_) < MARIA_KEYMAP_BITS) ? \
- test((_keymap_) & (1ULL << (_keyno_))) : \
- test((_keymap_) & MARIA_KEYMAP_HIGH_MASK))
+ MY_TEST((_keymap_) & (1ULL << (_keyno_))) : \
+ MY_TEST((_keymap_) & MARIA_KEYMAP_HIGH_MASK))
#define maria_set_key_active(_keymap_,_keyno_) \
(_keymap_)|= (((_keyno_) < MARIA_KEYMAP_BITS) ? \
(1ULL << (_keyno_)) : \
@@ -81,14 +81,14 @@ extern "C" {
(~ (0ULL)) /*ignore*/ )
#else
#define maria_is_key_active(_keymap_,_keyno_) \
- test((_keymap_) & (1ULL << (_keyno_)))
+ MY_TEST((_keymap_) & (1ULL << (_keyno_)))
#define maria_set_key_active(_keymap_,_keyno_) \
(_keymap_)|= (1ULL << (_keyno_))
#define maria_clear_key_active(_keymap_,_keyno_) \
(_keymap_)&= (~ (1ULL << (_keyno_)))
#endif
#define maria_is_any_key_active(_keymap_) \
- test((_keymap_))
+ MY_TEST((_keymap_))
#define maria_is_all_keys_active(_keymap_,_keys_) \
((_keymap_) == maria_get_mask_all_keys_active(_keys_))
#define maria_set_all_keys_active(_keymap_,_keys_) \
diff --git a/include/my_bitmap.h b/include/my_bitmap.h
index ef3274a8269..9c9550e3141 100644
--- a/include/my_bitmap.h
+++ b/include/my_bitmap.h
@@ -41,9 +41,14 @@ typedef struct st_bitmap
#ifdef __cplusplus
extern "C" {
#endif
+
+/* compatibility functions */
+#define bitmap_init(A,B,C,D) my_bitmap_init(A,B,C,D)
+#define bitmap_free(A) my_bitmap_free(A)
+
extern void create_last_word_mask(MY_BITMAP *map);
-extern my_bool bitmap_init(MY_BITMAP *map, my_bitmap_map *buf, uint n_bits,
- my_bool thread_safe);
+extern my_bool my_bitmap_init(MY_BITMAP *map, my_bitmap_map *buf, uint n_bits,
+ my_bool thread_safe);
extern my_bool bitmap_is_clear_all(const MY_BITMAP *map);
extern my_bool bitmap_is_prefix(const MY_BITMAP *map, uint prefix_size);
extern my_bool bitmap_is_set_all(const MY_BITMAP *map);
@@ -64,7 +69,7 @@ extern uint bitmap_get_first(const MY_BITMAP *map);
extern uint bitmap_get_first_set(const MY_BITMAP *map);
extern uint bitmap_bits_set(const MY_BITMAP *map);
extern uint bitmap_get_next_set(const MY_BITMAP *map, uint bitmap_bit);
-extern void bitmap_free(MY_BITMAP *map);
+extern void my_bitmap_free(MY_BITMAP *map);
extern void bitmap_set_above(MY_BITMAP *map, uint from_byte, uint use_bit);
extern void bitmap_set_prefix(MY_BITMAP *map, uint prefix_size);
extern void bitmap_intersect(MY_BITMAP *map, const MY_BITMAP *map2);
diff --git a/include/my_getopt.h b/include/my_getopt.h
index 56662079ce4..18b4bf10698 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2002, 2012, Oracle and/or its affiliates.
+ Copyright (c) 2002, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/include/my_global.h b/include/my_global.h
index 927c1fcd893..e9a472e686e 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -144,6 +144,7 @@
/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
#if defined(_AIX) && defined(_LARGE_FILE_API)
#undef _LARGE_FILE_API
+#undef __GNUG__
#endif
/*
@@ -264,6 +265,16 @@
#endif
#endif
+
+#ifdef _AIX
+/*
+ AIX includes inttypes.h from sys/types.h
+ Explicitly request format macros before the first inclusion of inttypes.h
+*/
+#define __STDC_FORMAT_MACROS
+#endif
+
+
#if !defined(__WIN__)
#ifndef _POSIX_PTHREAD_SEMANTICS
#define _POSIX_PTHREAD_SEMANTICS /* We want posix threads */
@@ -316,6 +327,13 @@ C_MODE_END
#define _LONG_LONG 1 /* For AIX string library */
#endif
+/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
+#if defined(_AIX) && defined(_LARGE_FILE_API)
+#undef _LARGE_FILE_API
+#undef __GNUG__
+#endif
+
+
#ifndef stdin
#include <stdio.h>
#endif
@@ -341,6 +359,14 @@ C_MODE_END
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+
+/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
+#if defined(_AIX) && defined(_LARGE_FILE_API)
+#undef _LARGE_FILE_API
+#undef __GNUG__
+#endif
+
+
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
@@ -474,7 +500,7 @@ typedef unsigned short ushort;
#endif
#define swap_variables(t, a, b) do { t dummy; dummy= a; a= b; b= dummy; } while(0)
-#define test(a) ((a) ? 1 : 0)
+#define MY_TEST(a) ((a) ? 1 : 0)
#define set_if_bigger(a,b) do { if ((a) < (b)) (a)=(b); } while(0)
#define set_if_smaller(a,b) do { if ((a) > (b)) (a)=(b); } while(0)
#define set_bits(type, bit_count) (sizeof(type)*8 <= (bit_count) ? ~(type) 0 : ((((type) 1) << (bit_count)) - (type) 1))
@@ -1214,11 +1240,10 @@ static inline double rint(double x)
#define HAVE_EXTERNAL_CLIENT
#endif /* EMBEDDED_LIBRARY */
-/*
- Define default tmpdir if not already set.
-*/
-#if !defined(DEFAULT_TMPDIR)
-#define DEFAULT_TMPDIR P_tmpdir
+/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
+#if defined(_AIX) && defined(_LARGE_FILE_API)
+#undef _LARGE_FILE_API
+#undef __GNUG__
#endif
#endif /* my_global_h */
diff --git a/include/my_net.h b/include/my_net.h
index 06e5a382b48..1ebb71ead23 100644
--- a/include/my_net.h
+++ b/include/my_net.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/include/my_pthread.h b/include/my_pthread.h
index ebbd666be70..0be821586a1 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -1,5 +1,5 @@
-/* Copyright (C) 2000-2008 MySQL AB, 2008-2009 Sun Microsystems, Inc,
- 2010-2011 Oracle and/or its affiliates, 2009-2010 Monty Program Ab.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2013, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -96,7 +96,7 @@ int pthread_create(pthread_t *, const pthread_attr_t *, pthread_handler, void *)
int pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr);
int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
- struct timespec *abstime);
+ const struct timespec *abstime);
int pthread_cond_signal(pthread_cond_t *cond);
int pthread_cond_broadcast(pthread_cond_t *cond);
int pthread_cond_destroy(pthread_cond_t *cond);
diff --git a/include/my_sys.h b/include/my_sys.h
index bb7a9204678..4b4e5b7a22f 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -782,8 +782,9 @@ extern my_bool real_open_cached_file(IO_CACHE *cache);
extern void close_cached_file(IO_CACHE *cache);
File create_temp_file(char *to, const char *dir, const char *pfx,
int mode, myf MyFlags);
-#define my_init_dynamic_array(A,B,C,D,E) my_init_dynamic_array2(A,B,NULL,C,D,E)
-extern my_bool my_init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
+#define my_init_dynamic_array(A,B,C,D,E) init_dynamic_array2(A,B,NULL,C,D,E)
+#define my_init_dynamic_array2(A,B,C,D,E,F) init_dynamic_array2(A,B,C,D,E,F)
+extern my_bool init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
void *init_buffer, uint init_alloc,
uint alloc_increment, myf my_flags);
extern my_bool insert_dynamic(DYNAMIC_ARRAY *array, const void* element);
diff --git a/include/my_time.h b/include/my_time.h
index 67aa9a27f7f..3c45d1d9235 100644
--- a/include/my_time.h
+++ b/include/my_time.h
@@ -74,8 +74,11 @@ extern uchar days_in_month[];
#define MYSQL_TIME_WARN_WARNINGS (MYSQL_TIME_WARN_TRUNCATED|MYSQL_TIME_WARN_OUT_OF_RANGE)
#define MYSQL_TIME_WARN_NOTES (MYSQL_TIME_NOTE_TRUNCATED)
-#define MYSQL_TIME_WARN_HAVE_WARNINGS(x) test((x) & MYSQL_TIME_WARN_WARNINGS)
-#define MYSQL_TIME_WARN_HAVE_NOTES(x) test((x) & MYSQL_TIME_WARN_NOTES)
+#define MYSQL_TIME_WARN_HAVE_WARNINGS(x) MY_TEST((x) & MYSQL_TIME_WARN_WARNINGS)
+#define MYSQL_TIME_WARN_HAVE_NOTES(x) MY_TEST((x) & MYSQL_TIME_WARN_NOTES)
+
+/* Usefull constants */
+#define SECONDS_IN_24H 86400L
/* Limits for the TIME data type */
#define TIME_MAX_HOUR 838
diff --git a/include/my_valgrind.h b/include/my_valgrind.h
index 49da89ab78c..4531ec78f9a 100644
--- a/include/my_valgrind.h
+++ b/include/my_valgrind.h
@@ -13,10 +13,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-/* Some defines to make it easier to use valgrind */
-#include <m_string.h> /* bfill */
-
#ifdef HAVE_valgrind
#define IF_VALGRIND(A,B) A
#else
@@ -37,7 +33,7 @@
#endif /* HAVE_VALGRIND */
#ifndef DBUG_OFF
-#define TRASH_FILL(A,B,C) do { const size_t trash_tmp= (B) ; bfill(A, trash_tmp, C); MEM_UNDEFINED(A, trash_tmp); } while (0)
+#define TRASH_FILL(A,B,C) do { const size_t trash_tmp= (B); memset(A, C, trash_tmp); MEM_UNDEFINED(A, trash_tmp); } while (0)
#else
#define TRASH_FILL(A,B,C) do{ const size_t trash_tmp __attribute__((unused)) = (B) ; MEM_CHECK_ADDRESSABLE(A,trash_tmp);MEM_UNDEFINED(A,trash_tmp);} while (0)
#endif
diff --git a/include/myisam.h b/include/myisam.h
index 218dd1877e8..853fac20ae4 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2000, 2012, Oracle and/or its affiliates.
+ Copyright (c) 2000, 2013, Oracle and/or its affiliates.
Copyright (c) 2009, 2013, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
@@ -68,8 +68,8 @@ extern "C" {
#define mi_is_key_active(_keymap_,_keyno_) \
(((_keyno_) < MI_KEYMAP_BITS) ? \
- test((_keymap_) & (1ULL << (_keyno_))) : \
- test((_keymap_) & MI_KEYMAP_HIGH_MASK))
+ MY_TEST((_keymap_) & (1ULL << (_keyno_))) : \
+ MY_TEST((_keymap_) & MI_KEYMAP_HIGH_MASK))
#define mi_set_key_active(_keymap_,_keyno_) \
(_keymap_)|= (((_keyno_) < MI_KEYMAP_BITS) ? \
(1ULL << (_keyno_)) : \
@@ -82,7 +82,7 @@ extern "C" {
#else
#define mi_is_key_active(_keymap_,_keyno_) \
- test((_keymap_) & (1ULL << (_keyno_)))
+ MY_TEST((_keymap_) & (1ULL << (_keyno_)))
#define mi_set_key_active(_keymap_,_keyno_) \
(_keymap_)|= (1ULL << (_keyno_))
#define mi_clear_key_active(_keymap_,_keyno_) \
@@ -91,7 +91,7 @@ extern "C" {
#endif
#define mi_is_any_key_active(_keymap_) \
- test((_keymap_))
+ MY_TEST((_keymap_))
#define mi_is_all_keys_active(_keymap_,_keys_) \
((_keymap_) == mi_get_mask_all_keys_active(_keys_))
#define mi_set_all_keys_active(_keymap_,_keys_) \
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h
index aa678ceba83..ceb6ac93ff5 100644
--- a/include/mysql/plugin.h
+++ b/include/mysql/plugin.h
@@ -1,5 +1,5 @@
-/* Copyright (c) 2005, 2011, Oracle and/or its affiliates
- Copyright (C) 2009, 2011, Monty Program Ab
+/* Copyright (c) 2005, 2013, Oracle and/or its affiliates
+ Copyright (C) 2009, 2013, Monty Program Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -622,6 +622,7 @@ void **thd_ha_data(const MYSQL_THD thd, const struct handlerton *hton);
void thd_storage_lock_wait(MYSQL_THD thd, long long value);
int thd_tx_isolation(const MYSQL_THD thd);
int thd_tx_is_read_only(const MYSQL_THD thd);
+int thd_rpl_is_parallel(const MYSQL_THD thd);
/**
Create a temporary file.
diff --git a/include/mysql/plugin_audit.h b/include/mysql/plugin_audit.h
index 99f5744cd35..31589f071f0 100644
--- a/include/mysql/plugin_audit.h
+++ b/include/mysql/plugin_audit.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
diff --git a/include/mysql/plugin_audit.h.pp b/include/mysql/plugin_audit.h.pp
index dff4dac460d..98fd089570d 100644
--- a/include/mysql/plugin_audit.h.pp
+++ b/include/mysql/plugin_audit.h.pp
@@ -303,6 +303,7 @@ void **thd_ha_data(const void* thd, const struct handlerton *hton);
void thd_storage_lock_wait(void* thd, long long value);
int thd_tx_isolation(const void* thd);
int thd_tx_is_read_only(const void* thd);
+int thd_rpl_is_parallel(const void* thd);
int mysql_tmpfile(const char *prefix);
unsigned long thd_get_thread_id(const void* thd);
void thd_get_xid(const void* thd, MYSQL_XID *xid);
diff --git a/include/mysql/plugin_auth.h.pp b/include/mysql/plugin_auth.h.pp
index b6a02fe8be9..6d52c5be7f0 100644
--- a/include/mysql/plugin_auth.h.pp
+++ b/include/mysql/plugin_auth.h.pp
@@ -303,6 +303,7 @@ void **thd_ha_data(const void* thd, const struct handlerton *hton);
void thd_storage_lock_wait(void* thd, long long value);
int thd_tx_isolation(const void* thd);
int thd_tx_is_read_only(const void* thd);
+int thd_rpl_is_parallel(const void* thd);
int mysql_tmpfile(const char *prefix);
unsigned long thd_get_thread_id(const void* thd);
void thd_get_xid(const void* thd, MYSQL_XID *xid);
diff --git a/include/mysql/plugin_ftparser.h.pp b/include/mysql/plugin_ftparser.h.pp
index 4db34f1a380..cb3e7cafc97 100644
--- a/include/mysql/plugin_ftparser.h.pp
+++ b/include/mysql/plugin_ftparser.h.pp
@@ -256,6 +256,7 @@ void **thd_ha_data(const void* thd, const struct handlerton *hton);
void thd_storage_lock_wait(void* thd, long long value);
int thd_tx_isolation(const void* thd);
int thd_tx_is_read_only(const void* thd);
+int thd_rpl_is_parallel(const void* thd);
int mysql_tmpfile(const char *prefix);
unsigned long thd_get_thread_id(const void* thd);
void thd_get_xid(const void* thd, MYSQL_XID *xid);
diff --git a/include/mysql/psi/mysql_thread.h b/include/mysql/psi/mysql_thread.h
index f0d88ff8ede..7a70503e162 100644
--- a/include/mysql/psi/mysql_thread.h
+++ b/include/mysql/psi/mysql_thread.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2008, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -66,6 +66,7 @@
An instrumented mutex structure.
@sa mysql_mutex_t
*/
+
struct st_mysql_mutex
{
/** The real mutex. */
@@ -96,6 +97,15 @@ struct st_mysql_mutex
*/
typedef struct st_mysql_mutex mysql_mutex_t;
+/* How to access the pthread_mutex in mysql_mutex_t */
+#ifdef SAFE_MUTEX
+#define mysql_mutex_real_mutex(A) &(A)->m_mutex.mutex
+#elif defined(MY_PTHREAD_FASTMUTEX)
+#define mysql_mutex_real_mutex(A) &(A)->m_mutex.mutex
+#else
+#define mysql_mutex_real_mutex(A) &(A)->m_mutex
+#endif
+
/**
An instrumented rwlock structure.
@sa mysql_rwlock_t
@@ -1170,7 +1180,7 @@ static inline int inline_mysql_cond_wait(
static inline int inline_mysql_cond_timedwait(
mysql_cond_t *that,
mysql_mutex_t *mutex,
- struct timespec *abstime
+ const struct timespec *abstime
#ifdef HAVE_PSI_COND_INTERFACE
, const char *src_file, uint src_line
#endif
diff --git a/include/queues.h b/include/queues.h
index 4fef72b149c..f341bbb8148 100644
--- a/include/queues.h
+++ b/include/queues.h
@@ -51,6 +51,7 @@ typedef struct st_queue {
#define queue_first_element(queue) 1
#define queue_last_element(queue) (queue)->elements
+#define queue_empty(queue) ((queue)->elements == 0)
#define queue_top(queue) ((queue)->root[1])
#define queue_element(queue,index) ((queue)->root[index])
#define queue_end(queue) ((queue)->root[(queue)->elements])
diff --git a/include/welcome_copyright_notice.h b/include/welcome_copyright_notice.h
index 302f623e377..ff2d1fea3b1 100644
--- a/include/welcome_copyright_notice.h
+++ b/include/welcome_copyright_notice.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, 2012, Oracle and/or its affiliates.
+/* Copyright (c) 2011, 2014, Oracle and/or its affiliates.
Copyright (c) 2011, 2012, Monty Program Ab
This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
#ifndef _welcome_copyright_notice_h_
#define _welcome_copyright_notice_h_
-#define COPYRIGHT_NOTICE_CURRENT_YEAR "2013"
+#define COPYRIGHT_NOTICE_CURRENT_YEAR "2014"
/*
This define specifies copyright notice which is displayed by every MySQL
@@ -25,6 +25,6 @@
*/
#define ORACLE_WELCOME_COPYRIGHT_NOTICE(first_year) \
"Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
- ", Oracle, Monty Program Ab and others.\n"
+ ", Oracle, SkySQL Ab and others.\n"
#endif /* _welcome_copyright_notice_h_ */
diff --git a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt
index 3f2f2be1e35..737840fbab7 100644
--- a/libmysql/CMakeLists.txt
+++ b/libmysql/CMakeLists.txt
@@ -1,4 +1,5 @@
-# Copyright (c) 2006, 2012, Oracle and/or its affiliates.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates.
+# Copyright (c) 2009, 2013, SkySQL Ab.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,8 +17,7 @@
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/libmysql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/strings
${SSL_INCLUDE_DIRS}
${SSL_INTERNAL_INCLUDE_DIRS}
@@ -26,8 +26,6 @@ ADD_DEFINITIONS(${SSL_DEFINES})
SET(CLIENT_API_FUNCTIONS_5_1
get_tty_password
-handle_options
-load_defaults
mysql_thread_end
mysql_thread_init
myodbc_remove_escape
@@ -131,6 +129,12 @@ mysql_server_init
mysql_server_end
mysql_set_character_set
mysql_get_character_set_info
+# These are documented in Paul DuBois' MySQL book,
+# so we treat them as part of the de-facto API.
+handle_options
+load_defaults
+free_defaults
+my_print_help
)
SET(CLIENT_API_FUNCTIONS_5_5
@@ -153,6 +157,8 @@ mysql_close_cont
mysql_close_start
mysql_commit_cont
mysql_commit_start
+mysql_dump_debug_info_cont
+mysql_dump_debug_info_start
mysql_fetch_row_cont
mysql_fetch_row_start
mysql_free_result_cont
@@ -242,6 +248,7 @@ mariadb_dyncol_val_str
mariadb_dyncol_val_long
mariadb_dyncol_val_double
mariadb_dyncol_unpack
+mariadb_dyncol_unpack_free
mariadb_dyncol_column_cmp_named
mariadb_dyncol_column_count
mariadb_dyncol_prepare_decimal
@@ -259,73 +266,114 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
# for compatibility with distribution packages, so client shared library can
# painlessly replace the one supplied by the distribution.
- # Also list of exported symbols in distributions may differ from what is considered
- # official API. Define CLIENT_API_EXTRA for the set of symbols, that required to
- # be exported on different platforms.
+ # Also list of exported symbols in distributions may differ from what is
+ # considered official API. Define CLIENT_API_5_1_EXTRA for the set of
+ # symbols, that required to be exported on different platforms.
- IF(RPM)
- # Fedora & Co declared following functions as part of API
- SET(CLIENT_API_EXTRA
- mysql_default_charset_info
- mysql_get_charset
- mysql_get_charset_by_csname
- mysql_net_realloc
- mysql_client_errors
+ # Fedora & Co declared following functions as part of API
+ SET(CLIENT_API_5_1_EXTRA
+ # why does Fedora export these?
+ _fini
+ _init
+ my_init
- # Also export the non-renamed variants
- # (in case someone wants to rebuild mysqli-php or something similar)
- # See MDEV-4127
- default_charset_info
- get_charset
- get_charset_by_csname
- net_realloc
- client_errors
- THR_KEY_mysys
- )
-
- # Add special script to fix symbols renames by Fedora
- SET(CLIENT_SOURCES_EXTRA rpm_support.cc)
- SET(VERSION_SCRIPT_TEMPLATE
- ${CMAKE_CURRENT_SOURCE_DIR}/libmysql_rpm_version.in)
- ELSEIF(DEB)
- # libmyodbc on Ubuntu is using functions below
- # If we don't export them, linker would just remove
- # them (they are not used inside libmysqlclient)
- SET(CLIENT_API_EXTRA
- strfill
- init_dynamic_string
- )
- # MySQL supplied with Ubuntu does not have versioning, bug Debian does.
- IF(DEB MATCHES "debian")
- SET(VERSION_SCRIPT_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/libmysql.ver.in)
- ENDIF()
- ENDIF()
+ # mysql-connector-odbc requires these
+ mysql_default_charset_info
+ mysql_get_charset
+ mysql_get_charset_by_csname
+ mysql_net_realloc
- IF(VERSION_SCRIPT_TEMPLATE)
- # Generate version script.
- # Create semicolon separated lists of functions to export from
- # Since RPM packages use separate versioning for 5.1 API
- # and 5.5 API (libmysqlclient_16 vs libmysqlclient_18),
- # we need 2 lists.
- SET (CLIENT_API_5_1_LIST)
- FOREACH (f ${CLIENT_API_FUNCTIONS_5_1})
- SET(CLIENT_API_5_1_LIST "${CLIENT_API_5_1_LIST}\n${f};")
- ENDFOREACH()
-
- SET (CLIENT_API_5_5_LIST)
- FOREACH (f ${CLIENT_API_FUNCTIONS_5_5})
- SET(CLIENT_API_5_5_LIST "${CLIENT_API_5_5_LIST}\n${f};")
- ENDFOREACH()
+ # PHP's mysqli.so requires this (via the ER() macro)
+ mysql_client_errors
+
+ # Also export the non-renamed variants
+ # (in case someone wants to rebuild mysqli-php or something similar)
+ # See MDEV-4127
+ default_charset_info
+ get_charset
+ get_charset_by_csname
+ net_realloc
+ client_errors
+
+ # pure-ftpd requires this
+ my_make_scrambled_password
+
+ # hydra requires this
+ scramble
+
+ # ODB requires this: https://bugzilla.redhat.com/show_bug.cgi?id=846602
+ THR_KEY_mysys
+
+ # DBD::mysql requires this
+ is_prefix
+ )
+
+
+ # And even more so on Debian
+ SET(CLIENT_API_5_5_EXTRA
+ # libmyodbc. Argh!
+ alloc_dynamic
+ alloc_root
+ delete_dynamic
+ dynstr_append
+ dynstr_append_mem
+ dynstr_append_os_quoted
+ dynstr_free
+ dynstr_realloc
+ free_root
+ get_dynamic
+ init_dynamic_array2
+ init_dynamic_string
+ int2str
+ list_add
+ list_delete
+ my_end
+ my_free
+ my_malloc
+ my_memdup
+ my_realloc
+ my_strdup
+ set_dynamic
+ strdup_root
+ strend
+ strfill
+ strmake
+ strmake_root
+ strxmov
+
+ # pam_mysql.so
+ make_scrambled_password
+ make_scrambled_password_323
+ )
+
+ # Linker script to version symbols in Fedora- and Debian- compatible way, MDEV-5529
+ SET(VERSION_SCRIPT_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/libmysql_versions.ld.in)
+
+ # Generate version script.
+ # Create semicolon separated lists of functions to export from
+ # Since RPM packages use separate versioning for 5.1 API
+ # and 5.5 API (libmysqlclient_16 vs libmysqlclient_18),
+ # we need 2 lists.
+ SET (CLIENT_API_5_1_LIST)
+ SET (CLIENT_API_5_1_ALIASES)
+ FOREACH (f ${CLIENT_API_FUNCTIONS_5_1} ${CLIENT_API_5_1_EXTRA})
+ SET(CLIENT_API_5_1_LIST "${CLIENT_API_5_1_LIST}\t${f};\n")
+ SET(CLIENT_API_5_1_ALIASES "${CLIENT_API_5_1_ALIASES}\"${f}@libmysqlclient_16\" = ${f};\n")
+ ENDFOREACH()
+
+ SET (CLIENT_API_5_5_LIST)
+ FOREACH (f ${CLIENT_API_FUNCTIONS_5_5} ${CLIENT_API_5_5_EXTRA})
+ SET(CLIENT_API_5_5_LIST "${CLIENT_API_5_5_LIST}\t${f};\n")
+ ENDFOREACH()
+
+ CONFIGURE_FILE(
+ ${VERSION_SCRIPT_TEMPLATE}
+ ${CMAKE_CURRENT_BINARY_DIR}/libmysql_versions.ld
+ @ONLY@
+ )
+ SET(VERSION_SCRIPT_LINK_FLAGS
+ "-Wl,${CMAKE_CURRENT_BINARY_DIR}/libmysql_versions.ld")
- CONFIGURE_FILE(
- ${VERSION_SCRIPT_TEMPLATE}
- ${CMAKE_CURRENT_BINARY_DIR}/libmysql.version
- @ONLY@
- )
- SET(VERSION_SCRIPT_LINK_FLAGS
- "-Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/libmysql.version")
- ENDIF()
-
ENDIF()
@@ -375,7 +423,9 @@ IF(UNIX)
ENDIF()
IF(NOT DISABLE_SHARED)
- MERGE_LIBRARIES(libmysql SHARED ${LIBS} EXPORTS ${CLIENT_API_FUNCTIONS} ${CLIENT_API_EXTRA} COMPONENT SharedLibraries)
+ MERGE_LIBRARIES(libmysql SHARED ${LIBS}
+ EXPORTS ${CLIENT_API_FUNCTIONS} ${CLIENT_API_5_1_EXTRA} ${CLIENT_API_5_5_EXTRA}
+ COMPONENT SharedLibraries)
IF(UNIX)
# libtool compatability
IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR APPLE)
@@ -392,9 +442,6 @@ IF(NOT DISABLE_SHARED)
SOVERSION "${SHARED_LIB_MAJOR_VERSION}")
IF(LINK_FLAG_NO_UNDEFINED OR VERSION_SCRIPT_LINK_FLAGS)
GET_TARGET_PROPERTY(libmysql_link_flags libmysql LINK_FLAGS)
- IF(NOT libmysql_link_flag)
- SET(libmysql_link_flags)
- ENDIF()
SET_TARGET_PROPERTIES(libmysql PROPERTIES LINK_FLAGS
"${libmysql_link_flags} ${LINK_FLAG_NO_UNDEFINED} ${VERSION_SCRIPT_LINK_FLAGS}")
ENDIF()
diff --git a/libmysql/conf_to_src.c b/libmysql/conf_to_src.c
index 04a6a727029..a5a7d23db0b 100644
--- a/libmysql/conf_to_src.c
+++ b/libmysql/conf_to_src.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2004 MySQL AB
+/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 78de4b8867f..3d8a2bebc75 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2012, Oracle and/or its affiliates
- Copyright (c) 2009, 2012, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates
+ Copyright (c) 2009, 2013, Monty Program Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1273,6 +1273,7 @@ static my_bool setup_one_fetch_function(MYSQL_BIND *, MYSQL_FIELD *field);
#define RESET_LONG_DATA 2
#define RESET_STORE_RESULT 4
#define RESET_CLEAR_ERROR 8
+#define RESET_ALL_BUFFERS 16
static my_bool reset_stmt_handle(MYSQL_STMT *stmt, uint flags);
@@ -2083,8 +2084,8 @@ static my_bool execute(MYSQL_STMT *stmt, char *packet, ulong length)
buff[4]= (char) stmt->flags;
int4store(buff+5, 1); /* iteration count */
- res= test(cli_advanced_command(mysql, COM_STMT_EXECUTE, buff, sizeof(buff),
- (uchar*) packet, length, 1, stmt) ||
+ res= MY_TEST(cli_advanced_command(mysql, COM_STMT_EXECUTE, buff, sizeof(buff),
+ (uchar*) packet, length, 1, stmt) ||
(*mysql->methods->read_query_result)(mysql));
stmt->affected_rows= mysql->affected_rows;
stmt->server_status= mysql->server_status;
@@ -2571,7 +2572,7 @@ int STDCALL mysql_stmt_execute(MYSQL_STMT *stmt)
reinit_result_set_metadata(stmt);
prepare_to_fetch_result(stmt);
}
- DBUG_RETURN(test(stmt->last_errno));
+ DBUG_RETURN(MY_TEST(stmt->last_errno));
}
@@ -3187,14 +3188,14 @@ static void fetch_string_with_conversion(MYSQL_BIND *param, char *value,
{
double data= my_strntod(&my_charset_latin1, value, length, &endptr, &err);
float fdata= (float) data;
- *param->error= (fdata != data) | test(err);
+ *param->error= (fdata != data) | MY_TEST(err);
floatstore(buffer, fdata);
break;
}
case MYSQL_TYPE_DOUBLE:
{
double data= my_strntod(&my_charset_latin1, value, length, &endptr, &err);
- *param->error= test(err);
+ *param->error= MY_TEST(err);
doublestore(buffer, data);
break;
}
@@ -3204,7 +3205,7 @@ static void fetch_string_with_conversion(MYSQL_BIND *param, char *value,
MYSQL_TIME_STATUS status;
str_to_time(value, length, tm, 0, &status);
err= status.warnings;
- *param->error= test(err);
+ *param->error= MY_TEST(err);
break;
}
case MYSQL_TYPE_DATE:
@@ -3215,8 +3216,8 @@ static void fetch_string_with_conversion(MYSQL_BIND *param, char *value,
MYSQL_TIME_STATUS status;
(void) str_to_datetime(value, length, tm, 0, &status);
err= status.warnings;
- *param->error= test(err) && (param->buffer_type == MYSQL_TYPE_DATE &&
- tm->time_type != MYSQL_TIMESTAMP_DATE);
+ *param->error= MY_TEST(err) && (param->buffer_type == MYSQL_TYPE_DATE &&
+ tm->time_type != MYSQL_TIMESTAMP_DATE);
break;
}
case MYSQL_TYPE_TINY_BLOB:
@@ -3338,7 +3339,7 @@ static void fetch_long_with_conversion(MYSQL_BIND *param, MYSQL_FIELD *field,
{
int error;
value= number_to_datetime(value, 0, (MYSQL_TIME *) buffer, 0, &error);
- *param->error= test(error);
+ *param->error= MY_TEST(error);
break;
}
default:
@@ -3686,7 +3687,7 @@ static void fetch_result_with_conversion(MYSQL_BIND *param, MYSQL_FIELD *field,
static void fetch_result_tinyint(MYSQL_BIND *param, MYSQL_FIELD *field,
uchar **row)
{
- my_bool field_is_unsigned= test(field->flags & UNSIGNED_FLAG);
+ my_bool field_is_unsigned= MY_TEST(field->flags & UNSIGNED_FLAG);
uchar data= **row;
*(uchar *)param->buffer= data;
*param->error= param->is_unsigned != field_is_unsigned && data > INT_MAX8;
@@ -3696,7 +3697,7 @@ static void fetch_result_tinyint(MYSQL_BIND *param, MYSQL_FIELD *field,
static void fetch_result_short(MYSQL_BIND *param, MYSQL_FIELD *field,
uchar **row)
{
- my_bool field_is_unsigned= test(field->flags & UNSIGNED_FLAG);
+ my_bool field_is_unsigned= MY_TEST(field->flags & UNSIGNED_FLAG);
ushort data= (ushort) sint2korr(*row);
shortstore(param->buffer, data);
*param->error= param->is_unsigned != field_is_unsigned && data > INT_MAX16;
@@ -3707,7 +3708,7 @@ static void fetch_result_int32(MYSQL_BIND *param,
MYSQL_FIELD *field __attribute__((unused)),
uchar **row)
{
- my_bool field_is_unsigned= test(field->flags & UNSIGNED_FLAG);
+ my_bool field_is_unsigned= MY_TEST(field->flags & UNSIGNED_FLAG);
uint32 data= (uint32) sint4korr(*row);
longstore(param->buffer, data);
*param->error= param->is_unsigned != field_is_unsigned && data > INT_MAX32;
@@ -3718,7 +3719,7 @@ static void fetch_result_int64(MYSQL_BIND *param,
MYSQL_FIELD *field __attribute__((unused)),
uchar **row)
{
- my_bool field_is_unsigned= test(field->flags & UNSIGNED_FLAG);
+ my_bool field_is_unsigned= MY_TEST(field->flags & UNSIGNED_FLAG);
ulonglong data= (ulonglong) sint8korr(*row);
*param->error= param->is_unsigned != field_is_unsigned && data > LONGLONG_MAX;
longlongstore(param->buffer, data);
@@ -4615,6 +4616,14 @@ static my_bool reset_stmt_handle(MYSQL_STMT *stmt, uint flags)
*mysql->unbuffered_fetch_owner= TRUE;
mysql->status= MYSQL_STATUS_READY;
}
+ if (flags & RESET_ALL_BUFFERS)
+ {
+ /* mysql_stmt_next_result will flush all pending
+ result sets
+ */
+ while (mysql_more_results(mysql) &&
+ mysql_stmt_next_result(stmt) == 0);
+ }
}
if (flags & RESET_SERVER_SIDE)
{
@@ -4679,27 +4688,18 @@ my_bool STDCALL mysql_stmt_close(MYSQL_STMT *stmt)
{
mysql->stmts= list_delete(mysql->stmts, &stmt->list);
/*
- Clear NET error state: if the following commands come through
- successfully, connection will still be usable for other commands.
+ Clear NET error state: if the following commands come through
+ successfully, connection will still be usable for other commands.
*/
net_clear_error(&mysql->net);
+
if ((int) stmt->state > (int) MYSQL_STMT_INIT_DONE)
{
uchar buff[MYSQL_STMT_HEADER]; /* 4 bytes - stmt id */
- if (mysql->unbuffered_fetch_owner == &stmt->unbuffered_fetch_cancelled)
- mysql->unbuffered_fetch_owner= 0;
- if (mysql->status != MYSQL_STATUS_READY)
- {
- /*
- Flush result set of the connection. If it does not belong
- to this statement, set a warning.
- */
- (*mysql->methods->flush_use_result)(mysql, TRUE);
- if (mysql->unbuffered_fetch_owner)
- *mysql->unbuffered_fetch_owner= TRUE;
- mysql->status= MYSQL_STATUS_READY;
- }
+ if ((rc= reset_stmt_handle(stmt, RESET_ALL_BUFFERS | RESET_CLEAR_ERROR)))
+ return rc;
+
int4store(buff, stmt->stmt_id);
if ((rc= stmt_command(mysql, COM_STMT_CLOSE, buff, 4, stmt)))
{
@@ -4711,7 +4711,7 @@ my_bool STDCALL mysql_stmt_close(MYSQL_STMT *stmt)
my_free(stmt->extension);
my_free(stmt);
- DBUG_RETURN(test(rc));
+ DBUG_RETURN(MY_TEST(rc));
}
/*
@@ -4731,7 +4731,7 @@ my_bool STDCALL mysql_stmt_reset(MYSQL_STMT *stmt)
/* Reset the client and server sides of the prepared statement */
DBUG_RETURN(reset_stmt_handle(stmt,
RESET_SERVER_SIDE | RESET_LONG_DATA |
- RESET_CLEAR_ERROR));
+ RESET_ALL_BUFFERS | RESET_CLEAR_ERROR));
}
/*
@@ -4843,7 +4843,6 @@ int STDCALL mysql_next_result(MYSQL *mysql)
DBUG_RETURN(-1); /* No more results */
}
-
int STDCALL mysql_stmt_next_result(MYSQL_STMT *stmt)
{
MYSQL *mysql= stmt->mysql;
diff --git a/libmysql/libmysql.ver.in b/libmysql/libmysql.ver.in
deleted file mode 100644
index 20eb0fd41bb..00000000000
--- a/libmysql/libmysql.ver.in
+++ /dev/null
@@ -1 +0,0 @@
-libmysqlclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; };
diff --git a/libmysql/libmysql_rpm_version.in b/libmysql/libmysql_rpm_version.in
deleted file mode 100644
index ff0707cdb75..00000000000
--- a/libmysql/libmysql_rpm_version.in
+++ /dev/null
@@ -1,62 +0,0 @@
-# This version script is heavily inspired by Fedora's and Mageia's version scripts for
-# MySQL client shared library. It is used in MariaDB for building RPMs.
-
-libmysqlclient_16 {
- global:
-@CLIENT_API_5_1_LIST@
-
-# some stuff from Mageia, I have no idea why it is there
-# But too afraid to throw anything away
- _fini;
- _init;
- my_init;
- my_progname;
- myodbc_remove_escape;
-
-# These are documented in Paul DuBois' MySQL book, so we treat them as part
-# of the de-facto API.
- free_defaults;
- handle_options;
- load_defaults;
- my_print_help;
-# pure-ftpd requires this
- my_make_scrambled_password;
-# fedora18 export
- THR_KEY_mysys;
-# hydra requires this
- scramble;
-# DBD::mysql requires this
- is_prefix;
- local:
- *;
-};
-
-libmysqlclient_18 {
- global:
- @CLIENT_API_5_5_LIST@
-#
-# Ideally the following symbols wouldn't be exported, but various applications
-# require them. Fedora limits the namespace damage by prefixing mysql_
-# (see mysql-dubious-exports.patch), which means the symbols are not present
-# in libmysqlclient_16.
-#
-# MariaDB does not do the Fedora-style function renaming via #define in headers,
-# however it exports mysql_ prefixed symbols in addition to the "normal" ones.
-#
-# To ensure successful recompilation of affected projects, as well as drop-in replacement
-# for MySQL libraries, provided by distribution, both original symbols and their mysql_
-# prefixed counterparts have to be exported.
-
-# mysql-connector-odbc requires these
- mysql_default_charset_info;
- mysql_get_charset;
- mysql_get_charset_by_csname;
- mysql_net_realloc;
- default_charset_info;
- get_charset;
- get_charset_by_csname;
- net_realloc;
-# PHP's mysqli.so requires this (via the ER() macro)
- mysql_client_errors;
- client_errors;
-};
diff --git a/libmysql/libmysql_versions.ld.in b/libmysql/libmysql_versions.ld.in
new file mode 100644
index 00000000000..8d97da5b2eb
--- /dev/null
+++ b/libmysql/libmysql_versions.ld.in
@@ -0,0 +1,45 @@
+/*
+ This version script is heavily inspired by Fedora's and Mageia's version
+ scripts for MySQL client shared library.
+ But it was modified to support Debian-compatible versioning too.
+
+ In RedHat universe, symbols from old libmysqlclient.so.16
+ keep their libmysqlclient_16 version. New symbols added in
+ libmysqlclient.so.18 get the new libmysqlclient_18 version.
+
+ In Debian all symbols in libmysqlclient.so.18 have libmysqlclient_18 version,
+ including symbols that existed in libmysqlclient.so.16
+
+ We solve this by putting all symbols into libmysqlclient_18 version node,
+ but creating aliases for old symbols in the libmysqlclient_16 version node.
+*/
+
+@CLIENT_API_5_1_ALIASES@
+
+/*
+ On Fedora the following symbols are exported, but renamed into a mysql_
+ namespace. We export them as aliases, but keep original symbols too. See
+ MDEV-4127.
+*/
+mysql_default_charset_info = default_charset_info;
+mysql_get_charset = get_charset;
+mysql_get_charset_by_csname = get_charset_by_csname;
+mysql_net_realloc = net_realloc;
+mysql_client_errors = client_errors;
+
+VERSION {
+
+libmysqlclient_18 {
+ global:
+@CLIENT_API_5_1_LIST@
+@CLIENT_API_5_5_LIST@
+
+ local:
+ *;
+};
+
+libmysqlclient_16 {
+ /* empty here. aliases are added above */
+};
+
+}
diff --git a/libmysql/rpm_support.cc b/libmysql/rpm_support.cc
deleted file mode 100644
index 8c9a1e8683d..00000000000
--- a/libmysql/rpm_support.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Provide aliases for several symbols, to support drop-in replacement for
- MariaDB on Fedora and several derives distributions.
-
- These distributions redefine several symbols (in a way that is no compatible
- with either MySQL or MariaDB) and export it from the client library ( as seen
- e.g from this patch)
-http://lists.fedoraproject.org/pipermail/scm-commits/2010-December/537257.html
-
- MariaDB handles compatibility distribution by providing the same symbols from
- the client library if it is built with -DRPM
-
-*/
-#include <errmsg.h>
-#include <my_sys.h>
-#include <mysql.h>
-extern "C" {
-
-CHARSET_INFO *mysql_default_charset_info = default_charset_info;
-
-CHARSET_INFO *mysql_get_charset(uint cs_number, myf flags)
-{
- return get_charset(cs_number, flags);
-}
-
-CHARSET_INFO *mysql_get_charset_by_csname(const char *cs_name,
- uint cs_flags, myf my_flags)
-{
- return get_charset_by_csname(cs_name, cs_flags, my_flags);
-}
-
-
-my_bool mysql_net_realloc(NET *net, size_t length)
-{
- return net_realloc(net,length);
-}
-
-const char **mysql_client_errors = client_errors;
-
-} /*extern "C" */
-
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index 3bcaab597b7..d0c3fafdf69 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -22,8 +22,7 @@ ${CMAKE_SOURCE_DIR}/libmysql
${CMAKE_SOURCE_DIR}/libmysqld
${CMAKE_SOURCE_DIR}/sql
${CMAKE_BINARY_DIR}/sql
-${CMAKE_BINARY_DIR}/pcre
-${CMAKE_SOURCE_DIR}/pcre
+${PCRE_INCLUDES}
${ZLIB_INCLUDE_DIR}
${SSL_INCLUDE_DIRS}
${SSL_INTERNAL_INCLUDE_DIRS}
diff --git a/libmysqld/examples/CMakeLists.txt b/libmysqld/examples/CMakeLists.txt
index cf23fdc4a6a..d47638ad2f9 100644
--- a/libmysqld/examples/CMakeLists.txt
+++ b/libmysqld/examples/CMakeLists.txt
@@ -15,8 +15,7 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/libmysqld/include
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/sql
${MY_READLINE_INCLUDE_DIR}
)
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 86b3bc6a283..1c043c6d03b 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -332,8 +332,8 @@ static int emb_stmt_execute(MYSQL_STMT *stmt)
thd->client_param_count= stmt->param_count;
thd->client_params= stmt->params;
- res= test(emb_advanced_command(stmt->mysql, COM_STMT_EXECUTE, 0, 0,
- header, sizeof(header), 1, stmt) ||
+ res= MY_TEST(emb_advanced_command(stmt->mysql, COM_STMT_EXECUTE, 0, 0,
+ header, sizeof(header), 1, stmt) ||
emb_read_query_result(stmt->mysql));
stmt->affected_rows= stmt->mysql->affected_rows;
stmt->insert_id= stmt->mysql->insert_id;
@@ -566,7 +566,7 @@ int init_embedded_server(int argc, char **argv, char **groups)
opt_mysql_tmpdir=getenv("TMP");
#endif
if (!opt_mysql_tmpdir || !opt_mysql_tmpdir[0])
- opt_mysql_tmpdir=(char*) DEFAULT_TMPDIR; /* purecov: inspected */
+ opt_mysql_tmpdir= const_cast<char*>(DEFAULT_TMPDIR); /* purecov: inspected*/
init_ssl();
umask(((~my_umask) & 0666));
diff --git a/mysql-test/CMakeLists.txt b/mysql-test/CMakeLists.txt
index 227e490331f..2948fb88069 100644
--- a/mysql-test/CMakeLists.txt
+++ b/mysql-test/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/mysql-test/collections/default.weekly b/mysql-test/collections/default.weekly
index 40f0548f374..a03e2593cfe 100755
--- a/mysql-test/collections/default.weekly
+++ b/mysql-test/collections/default.weekly
@@ -5,3 +5,6 @@ perl mysql-test-run.pl --timer --force --debug-server --parallel=auto --comment
perl mysql-test-run.pl --timer --force --debug-server --parallel=auto --comment=eits-tests-innodb-engine --experimental=collections/default.experimental --vardir=var-stmt-eits-tests-innodb-engine --suite=engines/iuds,engines/funcs --suite-timeout=500 --max-test-fail=0 --retry-failure=0 --mysqld=--default-storage-engine=innodb --mysqld=--innodb --skip-test-list=collections/disabled-weekly.list
perl mysql-test-run.pl --timer --force --debug-server --parallel=auto --comment=eits-rpl-binlog-row-tests-innodb-engine --experimental=collections/default.experimental --vardir=var-binlog-row-eits-tests-innodb-engine --suite=engines/iuds,engines/funcs --suite-timeout=500 --max-test-fail=0 --retry-failure=0 --mysqld=--default-storage-engine=innodb --mysqld=--innodb --do-test=rpl --mysqld=--binlog-format=row --skip-test-list=collections/disabled-weekly.list
perl mysql-test-run.pl --timer --force --debug-server --parallel=auto --comment=eits-rpl-binlog-mixed-tests-innodb-engine --experimental=collections/default.experimental --vardir=var-binlog-mixed-eits-tests-innodb-engine --suite=engines/iuds,engines/funcs --suite-timeout=500 --max-test-fail=0 --retry-failure=0 --mysqld=--default-storage-engine=innodb --mysqld=--innodb --do-test=rpl --mysqld=--binlog-format=mixed --skip-test-list=collections/disabled-weekly.list
+
+# Run innodb compression tests
+perl mysql-test-run.pl --force --debug-server --comment=innodb_compression --vardir=var-innodb-zip --big-test --testcase-timeout=60 --parallel=auto --experimental=collections/default.experimental --suite=innodb_zip
diff --git a/mysql-test/extra/rpl_tests/rpl_ddl.test b/mysql-test/extra/rpl_tests/rpl_ddl.test
index 3b0348cc29f..32fc10479b8 100644
--- a/mysql-test/extra/rpl_tests/rpl_ddl.test
+++ b/mysql-test/extra/rpl_tests/rpl_ddl.test
@@ -608,6 +608,7 @@ use test;
--echo
--echo -------- switch to master -------
connection master;
+DROP TEMPORARY TABLE mysqltest1.t22;
DROP DATABASE mysqltest1;
# mysqltest2 was alreday DROPPED some tests before.
DROP DATABASE mysqltest3;
diff --git a/mysql-test/extra/rpl_tests/rpl_log.test b/mysql-test/extra/rpl_tests/rpl_log.test
index deff9d653e0..01e8497e4de 100644
--- a/mysql-test/extra/rpl_tests/rpl_log.test
+++ b/mysql-test/extra/rpl_tests/rpl_log.test
@@ -18,8 +18,12 @@ start slave;
--source include/wait_for_slave_to_start.inc
let $VERSION=`select version()`;
-
+# Lets run this test in STRICT MODE (DROP TABLE is not DROP TABLE IF EXISTS)
+connection slave;
+set @save_slave_ddl_exec_mode=@@global.slave_ddl_exec_mode;
+set @@global.slave_ddl_exec_mode=STRICT;
connection master;
+
eval create table t1(n int not null auto_increment primary key)ENGINE=$engine_type;
insert into t1 values (NULL);
drop table t1;
@@ -141,3 +145,5 @@ drop table t1;
# End of 4.1 tests
sync_slave_with_master;
+set @@global.slave_ddl_exec_mode=@save_slave_ddl_exec_mode;
+connection master;
diff --git a/mysql-test/extra/rpl_tests/rpl_stop_slave.test b/mysql-test/extra/rpl_tests/rpl_stop_slave.test
index b226f4f22f1..0f09faa0301 100644
--- a/mysql-test/extra/rpl_tests/rpl_stop_slave.test
+++ b/mysql-test/extra/rpl_tests/rpl_stop_slave.test
@@ -59,3 +59,6 @@ source include/wait_for_slave_sql_to_stop.inc;
connection slave;
START SLAVE SQL_THREAD;
source include/wait_for_slave_sql_to_start.inc;
+
+connection master;
+sync_slave_with_master;
diff --git a/mysql-test/include/commit.inc b/mysql-test/include/commit.inc
index bdb6f48f095..e72ebba8527 100644
--- a/mysql-test/include/commit.inc
+++ b/mysql-test/include/commit.inc
@@ -751,7 +751,7 @@ call p_verify_status_increment(4, 4, 4, 4);
--echo # Sic: no table is created.
create table if not exists t2 (a int) select 6 union select 7;
--echo # Sic: first commits the statement, and then the transaction.
-call p_verify_status_increment(2, 0, 2, 0);
+call p_verify_status_increment(0, 0, 0, 0);
create table t3 select a from t2;
call p_verify_status_increment(2, 0, 4, 4);
alter table t3 add column (b int);
diff --git a/mysql-test/include/ctype_filesort2.inc b/mysql-test/include/ctype_filesort2.inc
index 7b09eb482a5..7b576034136 100644
--- a/mysql-test/include/ctype_filesort2.inc
+++ b/mysql-test/include/ctype_filesort2.inc
@@ -14,3 +14,12 @@ SELECT HEX(a), HEX(CONVERT(a USING utf8mb4)) FROM t1 ORDER BY a;
ALTER TABLE t1 ADD KEY(a);
SELECT HEX(a), HEX(CONVERT(a USING utf8mb4)) FROM t1 ORDER BY a;
DROP TABLE IF EXISTS t1;
+--echo #
+--echo # BUG#16691598 - ORDER BY LOWER(COLUMN) PRODUCES
+--echo # OUT-OF-ORDER RESULTS
+--echo #
+CREATE TABLE t1 SELECT ('a a') as n;
+INSERT INTO t1 VALUES('a b');
+SELECT * FROM t1 ORDER BY LOWER(n) ASC;
+SELECT * FROM t1 ORDER BY LOWER(n) DESC;
+DROP TABLE t1;
diff --git a/mysql-test/include/have_innodb.combinations b/mysql-test/include/have_innodb.combinations
index 3c5cfa7bd5a..f647f15ddb6 100644
--- a/mysql-test/include/have_innodb.combinations
+++ b/mysql-test/include/have_innodb.combinations
@@ -24,7 +24,7 @@ innodb-sys-foreign
innodb-sys-foreign-col
innodb-metrics
-[innodb]
+[xtradb]
innodb
innodb-cmpmem
innodb-trx
diff --git a/mysql-test/include/have_metadata_lock_info.inc b/mysql-test/include/have_metadata_lock_info.inc
new file mode 100644
index 00000000000..51fae1c62f0
--- /dev/null
+++ b/mysql-test/include/have_metadata_lock_info.inc
@@ -0,0 +1,4 @@
+if (!`SELECT count(*) FROM information_schema.plugins WHERE
+ (PLUGIN_STATUS = 'ACTIVE') AND PLUGIN_NAME = 'METADATA_LOCK_INFO'`){
+ skip Need archive METADATA_LOCK_INFO plugin;
+}
diff --git a/mysql-test/include/have_metadata_lock_info.opt b/mysql-test/include/have_metadata_lock_info.opt
new file mode 100644
index 00000000000..677c4ec01be
--- /dev/null
+++ b/mysql-test/include/have_metadata_lock_info.opt
@@ -0,0 +1,2 @@
+--loose-metadata-lock-info
+--plugin-load-add=$METADATA_LOCK_INFO_SO
diff --git a/mysql-test/include/have_rbr_triggers.inc b/mysql-test/include/have_rbr_triggers.inc
new file mode 100644
index 00000000000..9ccfc18bfde
--- /dev/null
+++ b/mysql-test/include/have_rbr_triggers.inc
@@ -0,0 +1,5 @@
+if (`select count(*) = 0 from information_schema.session_variables where variable_name = 'slave_run_triggers_for_rbr'`)
+{
+ skip RBR triggers are not available;
+}
+
diff --git a/mysql-test/include/have_unix_socket.inc b/mysql-test/include/have_unix_socket.inc
new file mode 100644
index 00000000000..4246b138e9d
--- /dev/null
+++ b/mysql-test/include/have_unix_socket.inc
@@ -0,0 +1,13 @@
+--source include/not_embedded.inc
+
+if (!$AUTH_SOCKET_SO) {
+ skip No unix_socket plugin;
+}
+
+if (!$USER) {
+ skip USER variable is undefined;
+}
+
+if (`SELECT count(*) <> 0 FROM mysql.user WHERE user = '$USER'`) {
+ skip \$USER=$USER which exists in mysql.user;
+}
diff --git a/mysql-test/include/index_merge_ror_cpk.inc b/mysql-test/include/index_merge_ror_cpk.inc
index 3912aa34026..df42745b4fc 100644
--- a/mysql-test/include/index_merge_ror_cpk.inc
+++ b/mysql-test/include/index_merge_ror_cpk.inc
@@ -79,8 +79,11 @@ select pk1,pk2 from t1 where key1 = 10 and key2=10 and 2*pk1+1 < 2*96+1;
# Verify that CPK is always used for index intersection scans
# (this is because it is used as a filter, not for retrieval)
explain select * from t1 where badkey=1 and key1=10;
+set @tmp_index_merge_ror_cpk=@@optimizer_switch;
+set optimizer_switch='extended_keys=off';
--replace_column 9 ROWS
explain select * from t1 where pk1 < 7500 and key1 = 10;
+set optimizer_switch=@tmp_index_merge_ror_cpk;
# Verify that keys with 'tails' of PK members are ok.
explain select * from t1 where pktail1ok=1 and key1=10;
diff --git a/mysql-test/include/mtr_check.sql b/mysql-test/include/mtr_check.sql
index 31e89b84ae9..e34e32ad1a6 100644
--- a/mysql-test/include/mtr_check.sql
+++ b/mysql-test/include/mtr_check.sql
@@ -1,4 +1,5 @@
--- Copyright (c) 2008, 2011, Oracle and/or its affiliates
+-- Copyright (c) 2008, 2013, Oracle and/or its affiliates
+-- Copyright (c) 2009, 2013, SkySQL Ab
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@@ -57,6 +58,16 @@ BEGIN
WHERE table_schema='mysql' AND table_name != 'ndb_apply_status'
ORDER BY columns_in_mysql;
+ -- Dump all events, there should be none
+ SELECT * FROM INFORMATION_SCHEMA.EVENTS;
+ -- Dump all triggers except mtr internals, there should be none
+ SELECT * FROM INFORMATION_SCHEMA.TRIGGERS
+ WHERE TRIGGER_NAME NOT IN ('gs_insert', 'ts_insert');
+ -- Dump all created procedures, there should be none
+ SELECT * FROM INFORMATION_SCHEMA.ROUTINES;
+
+ SHOW STATUS LIKE 'slave_open_temp_tables';
+
-- Checksum system tables to make sure they have been properly
-- restored after test
checksum table
@@ -85,7 +96,5 @@ BEGIN
select * from information_schema.session_variables
where variable_name = 'debug_sync';
- show status like 'slave_open_temp_tables';
-
END||
diff --git a/mysql-test/include/save_master_gtid.inc b/mysql-test/include/save_master_gtid.inc
new file mode 100644
index 00000000000..4fd0d3266a2
--- /dev/null
+++ b/mysql-test/include/save_master_gtid.inc
@@ -0,0 +1,28 @@
+# ==== Purpose ====
+#
+# Save the current binlog GTID position on the master, to be used
+# with include/sync_with_master_gtid.inc.
+#
+#
+# ==== Usage ====
+#
+# [--let $rpl_debug= 1]
+# --source include/save_master_gtid.inc
+#
+# Parameters:
+# $rpl_debug
+# See include/rpl_init.inc
+
+
+--let $include_filename= save_master_gtid.inc
+--source include/begin_include_file.inc
+
+--let $master_pos= `SELECT @@gtid_binlog_pos`
+
+if ($rpl_debug)
+{
+ --echo save_master_gtid saved master_pos='$master_pos'
+}
+
+--let $include_filename= save_master_gtid.inc
+--source include/end_include_file.inc
diff --git a/mysql-test/include/sync_with_master_gtid.inc b/mysql-test/include/sync_with_master_gtid.inc
new file mode 100644
index 00000000000..97ada8eea29
--- /dev/null
+++ b/mysql-test/include/sync_with_master_gtid.inc
@@ -0,0 +1,48 @@
+# ==== Purpose ====
+#
+# Wait until the slave has reached a certain GTID position.
+# Similar to --sync_with_master, but using GTID instead of old-style
+# binlog file/offset coordinates.
+#
+#
+# ==== Usage ====
+#
+# --let $master_pos= `SELECT @@GLOBAL.gtid_binlog_pos`
+# [--let $slave_timeout= NUMBER]
+# [--let $rpl_debug= 1]
+# --source include/sync_with_master_gtid.inc
+#
+# Syncs slave to the specified GTID position.
+#
+# Must be called on the slave.
+#
+# Parameters:
+# $master_pos
+# The GTID position to sync to. Typically obtained from
+# @@GLOBAL.gtid_binlog_pos on the master.
+#
+# $slave_timeout
+# Timeout in seconds. The default is 2 minutes.
+#
+# $rpl_debug
+# See include/rpl_init.inc
+
+--let $include_filename= sync_with_master_gtid.inc
+--source include/begin_include_file.inc
+
+let $_slave_timeout= $slave_timeout;
+if (!$_slave_timeout)
+{
+ let $_slave_timeout= 120;
+}
+
+--let $_result= `SELECT master_gtid_wait('$master_pos', $_slave_timeout)`
+if ($_result == -1)
+{
+ --let $_current_gtid_pos= `SELECT @@GLOBAL.gtid_slave_pos`
+ --echo Timeout in master_gtid_wait('$master_pos', $_slave_timeout), current slave GTID position is: $_current_gtid_pos.
+ --die Failed to sync with master
+}
+
+--let $include_filename= sync_with_master_gtid.inc
+--source include/end_include_file.inc
diff --git a/mysql-test/include/type_hrtime.inc b/mysql-test/include/type_hrtime.inc
index cd631f25632..5d847d72195 100644
--- a/mysql-test/include/type_hrtime.inc
+++ b/mysql-test/include/type_hrtime.inc
@@ -1,6 +1,8 @@
--source include/have_innodb.inc
+SET timestamp=UNIX_TIMESTAMP('2001-02-03 10:20:30');
+
--disable_warnings
drop table if exists t1, t2, t3;
--enable_warnings
@@ -126,3 +128,4 @@ select * from t2;
drop view v1;
drop table t1, t2;
+SET timestamp=DEFAULT;
diff --git a/mysql-test/lib/My/Config.pm b/mysql-test/lib/My/Config.pm
index 1d8d1617fce..a343a0ef688 100644
--- a/mysql-test/lib/My/Config.pm
+++ b/mysql-test/lib/My/Config.pm
@@ -47,7 +47,7 @@ sub option {
my $value= $self->{value};
my $opt= $name;
- $opt= "$name=$value" if ($value);
+ $opt= "$name=$value" if (defined $value);
$opt= "--$opt" unless ($opt =~ /^--/);
return $opt;
}
diff --git a/mysql-test/lib/My/SafeProcess/safe_process.cc b/mysql-test/lib/My/SafeProcess/safe_process.cc
index 007acf77617..f19ca622278 100644
--- a/mysql-test/lib/My/SafeProcess/safe_process.cc
+++ b/mysql-test/lib/My/SafeProcess/safe_process.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008, 2011, Oracle and/or its affiliates
+/* Copyright (c) 2008, 2012, Oracle and/or its affiliates
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysql-test/lib/My/SysInfo.pm b/mysql-test/lib/My/SysInfo.pm
index 36c50ab91d1..4cca116620e 100644
--- a/mysql-test/lib/My/SysInfo.pm
+++ b/mysql-test/lib/My/SysInfo.pm
@@ -1,6 +1,5 @@
# -*- cperl -*-
-# Copyright (c) 2013 MySQL AB, 2008 Sun Microsystems, Inc.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm
index e6bd18fc363..59216f41cff 100644
--- a/mysql-test/lib/mtr_cases.pm
+++ b/mysql-test/lib/mtr_cases.pm
@@ -337,15 +337,20 @@ sub parse_disabled {
#
sub collect_default_suites(@)
{
- my @dirs = my_find_dir(dirname($::glob_mysql_test_dir),
- [ @plugin_suitedirs ], '*');
- for my $d (@dirs) {
- next unless -f "$d/suite.pm";
- my $sname= basename($d);
+ use File::Find;
+ my @dirs;
+ find(sub {
+ push @dirs, [$File::Find::topdir, $File::Find::name]
+ if -d and -f "$File::Find::name/suite.pm";
+ }, my_find_dir(dirname($::glob_mysql_test_dir), \@plugin_suitedirs));
+
+ for (@dirs) {
+ my ($plugin_root, $dir) = @$_;
+ my $sname= substr $dir, 1 + length $plugin_root;
# ignore overlays here, otherwise we'd need accurate
# duplicate detection with overlay support for the default suite list
next if $sname eq 'main' or -d "$::glob_mysql_test_dir/suite/$sname";
- my $s = load_suite_object($sname, $d);
+ my $s = load_suite_object($sname, $dir);
push @_, $sname if $s->is_default();
}
return @_;
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 5a5f2655fda..8a51846317f 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -174,6 +174,7 @@ my @DEFAULT_SUITES= qw(
heap-
innodb-
innodb_fts-
+ innodb_zip-
maria-
multi_source-
optimizer_unfixed_bugs-
@@ -2678,7 +2679,7 @@ sub setup_vardir() {
# and make them world readable
copytree("$glob_mysql_test_dir/std_data", "$opt_vardir/std_data", "0022");
- # create a plugin dir and copy plugins into it
+ # create a plugin dir and copy or symlink plugins into it
if ($source_dist)
{
$plugindir="$opt_vardir/plugins";
@@ -2696,6 +2697,13 @@ sub setup_vardir() {
}
else
{
+ my $opt_use_copy= 1;
+ if (symlink "$opt_vardir/run", "$plugindir/symlink_test")
+ {
+ $opt_use_copy= 0;
+ unlink "$plugindir/symlink_test";
+ }
+
for (<../storage/*/.libs/*.so>,
<../plugin/*/.libs/*.so>,
<../plugin/*/*/.libs/*.so>,
@@ -2705,7 +2713,14 @@ sub setup_vardir() {
<$bindir/sql/*.so>)
{
my $pname=basename($_);
- symlink rel2abs($_), "$plugindir/$pname";
+ if ($opt_use_copy)
+ {
+ copy rel2abs($_), "$plugindir/$pname";
+ }
+ else
+ {
+ symlink rel2abs($_), "$plugindir/$pname";
+ }
set_plugin_var($pname);
}
}
@@ -5219,7 +5234,7 @@ sub report_failure_and_restart ($) {
# In these cases we may want valgrind report from normal termination
$tinfo->{'dont_kill_server'}= 1;
}
- # Shotdown properly if not to be killed (for valgrind)
+ # Shutdown properly if not to be killed (for valgrind)
stop_all_servers($tinfo->{'dont_kill_server'} ? $opt_shutdown_timeout : 0);
$tinfo->{'result'}= 'MTR_RES_FAILED';
@@ -6188,6 +6203,13 @@ sub valgrind_arguments {
mtr_add_arg($args, "--num-callers=16");
mtr_add_arg($args, "--suppressions=%s/valgrind.supp", $glob_mysql_test_dir)
if -f "$glob_mysql_test_dir/valgrind.supp";
+
+ # Ensure the jemalloc works with mysqld
+ if ($mysqld_variables{'version-malloc-library'} ne "system" &&
+ $$exe =~ /mysqld/)
+ {
+ mtr_add_arg($args, "--soname-synonyms=somalloc=NONE" );
+ }
}
# Add valgrind options, can be overriden by user
@@ -6318,7 +6340,20 @@ sub usage ($) {
$0 [ OPTIONS ] [ TESTCASE ]
-Options to control what engine/variation to run
+Where test case can be specified as:
+
+testcase[.test] Runs the test case named 'testcase' from all suits
+path-to-testcase
+[suite.]testcase[,combination]
+
+Examples:
+
+alias
+main.alias 'main' is the name of the suite for the 't' directory.
+rpl.rpl_invoked_features,mix,xtradb_plugin
+suite/rpl/t/rpl.rpl_invoked_features
+
+Options to control what engine/variation to run:
embedded-server Use the embedded server, i.e. no mysqld daemons
ps-protocol Use the binary protocol between client and server
diff --git a/mysql-test/r/alter_table.result b/mysql-test/r/alter_table.result
index f714e6646de..207f6166fe0 100644
--- a/mysql-test/r/alter_table.result
+++ b/mysql-test/r/alter_table.result
@@ -1354,7 +1354,7 @@ CREATE TABLE t1 (
id INT(11) NOT NULL,
x_param INT(11) DEFAULT NULL,
PRIMARY KEY (id)
-);
+) ENGINE=MYISAM;
ALTER TABLE t1 ADD COLUMN IF NOT EXISTS id INT,
ADD COLUMN IF NOT EXISTS lol INT AFTER id;
Warnings:
@@ -1390,6 +1390,77 @@ t1 CREATE TABLE `t1` (
KEY `x_param1` (`x_param`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1;
+CREATE TABLE t1 (
+id INT(11) NOT NULL,
+x_param INT(11) DEFAULT NULL,
+PRIMARY KEY (id)
+) ENGINE=INNODB;
+CREATE TABLE t2 (
+id INT(11) NOT NULL) ENGINE=INNODB;
+ALTER TABLE t1 ADD COLUMN IF NOT EXISTS id INT,
+ADD COLUMN IF NOT EXISTS lol INT AFTER id;
+Warnings:
+Note 1060 Duplicate column name 'id'
+ALTER TABLE t1 ADD COLUMN IF NOT EXISTS lol INT AFTER id;
+Warnings:
+Note 1060 Duplicate column name 'lol'
+ALTER TABLE t1 DROP COLUMN IF EXISTS lol;
+ALTER TABLE t1 DROP COLUMN IF EXISTS lol;
+Warnings:
+Note 1091 Can't DROP 'lol'; check that column/key exists
+ALTER TABLE t1 ADD KEY IF NOT EXISTS x_param(x_param);
+ALTER TABLE t1 ADD KEY IF NOT EXISTS x_param(x_param);
+Warnings:
+Note 1061 Duplicate key name 'x_param'
+ALTER TABLE t1 MODIFY IF EXISTS lol INT;
+Warnings:
+Note 1054 Unknown column 'lol' in 't1'
+DROP INDEX IF EXISTS x_param ON t1;
+DROP INDEX IF EXISTS x_param ON t1;
+Warnings:
+Note 1091 Can't DROP 'x_param'; check that column/key exists
+CREATE INDEX IF NOT EXISTS x_param1 ON t1(x_param);
+CREATE INDEX IF NOT EXISTS x_param1 ON t1(x_param);
+Warnings:
+Note 1061 Duplicate key name 'x_param1'
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `id` int(11) NOT NULL,
+ `x_param` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ KEY `x_param1` (`x_param`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+ALTER TABLE t2 ADD FOREIGN KEY IF NOT EXISTS fk(id) REFERENCES t1(id);
+ALTER TABLE t2 ADD FOREIGN KEY IF NOT EXISTS fk(id) REFERENCES t1(id);
+Warnings:
+Note 1061 Duplicate key name 'fk'
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS fk;
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS fk;
+Warnings:
+Note 1091 Can't DROP 'fk'; check that column/key exists
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `id` int(11) NOT NULL,
+ KEY `fk` (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+ALTER TABLE t2 ADD FOREIGN KEY (id) REFERENCES t1(id);
+ALTER TABLE t2 ADD FOREIGN KEY IF NOT EXISTS t2_ibfk_1(id) REFERENCES t1(id);
+Warnings:
+Note 1061 Duplicate key name 't2_ibfk_1'
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS t2_ibfk_1;
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS t2_ibfk_1;
+Warnings:
+Note 1091 Can't DROP 't2_ibfk_1'; check that column/key exists
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `id` int(11) NOT NULL,
+ KEY `id` (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+DROP TABLE t2;
+DROP TABLE t1;
#
# Bug#11938817 ALTER BEHAVIOR DIFFERENT THEN DOCUMENTED
#
diff --git a/mysql-test/r/backup.result b/mysql-test/r/backup.result
deleted file mode 100644
index 89be20aee70..00000000000
--- a/mysql-test/r/backup.result
+++ /dev/null
@@ -1,111 +0,0 @@
-set SQL_LOG_BIN=0;
-drop table if exists t1, t2, t3, t4;
-create table t4(n int);
-backup table t4 to '../../bogus';
-Table Op Msg_type Msg_text
-test.t4 backup error Failed copying .frm file (errno: X)
-test.t4 backup Warning 'BACKUP TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t4 backup Error Can't create/write to file 'MYSQLTEST_VARDIR/bogus/t4.frm' (Errcode: X)
-test.t4 backup status Operation failed
-backup table t4 to '../../tmp';
-Table Op Msg_type Msg_text
-test.t4 backup Warning 'BACKUP TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t4 backup status OK
-backup table t4 to '../../tmp';
-Table Op Msg_type Msg_text
-test.t4 backup error Failed copying .frm file (errno: X)
-test.t4 backup Warning 'BACKUP TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t4 backup Error Can't create/write to file 'MYSQLTEST_VARDIR/tmp/t4.frm' (Errcode: X)
-test.t4 backup status Operation failed
-drop table t4;
-restore table t4 from '../../tmp';
-Table Op Msg_type Msg_text
-test.t4 restore Warning 'RESTORE TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t4 restore status OK
-select count(*) from t4;
-count(*)
-0
-create table t1(n int);
-insert into t1 values (23),(45),(67);
-backup table t1 to '../../tmp';
-Table Op Msg_type Msg_text
-test.t1 backup Warning 'BACKUP TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t1 backup status OK
-drop table t1;
-restore table t1 from '../../bogus';
-Table Op Msg_type Msg_text
-t1 restore error Failed copying .frm file
-Warnings:
-Warning 1287 'RESTORE TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-Error 29 File 'MYSQLTEST_VARDIR/bogus/t1.frm' not found (Errcode: X)
-restore table t1 from '../../tmp';
-Table Op Msg_type Msg_text
-test.t1 restore Warning 'RESTORE TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t1 restore status OK
-select n from t1;
-n
-23
-45
-67
-create table t2(m int not null primary key);
-create table t3(k int not null primary key);
-insert into t2 values (123),(145),(167);
-insert into t3 values (223),(245),(267);
-backup table t2,t3 to '../../tmp';
-Table Op Msg_type Msg_text
-test.t2 backup Warning 'BACKUP TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t2 backup status OK
-test.t3 backup status OK
-drop table t1,t2,t3;
-restore table t1,t2,t3 from '../../tmp';
-Table Op Msg_type Msg_text
-test.t1 restore Warning 'RESTORE TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t1 restore status OK
-test.t2 restore status OK
-test.t3 restore status OK
-select n from t1;
-n
-23
-45
-67
-select m from t2;
-m
-123
-145
-167
-select k from t3;
-k
-223
-245
-267
-drop table t1,t2,t3,t4;
-restore table t1 from '../../tmp';
-Table Op Msg_type Msg_text
-test.t1 restore Warning 'RESTORE TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t1 restore status OK
-rename table t1 to t5;
-lock tables t5 write;
-backup table t5 to '../../tmp';
-unlock tables;
-Table Op Msg_type Msg_text
-test.t5 backup Warning 'BACKUP TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t5 backup status OK
-drop table t5;
-DROP TABLE IF EXISTS `t+1`;
-CREATE TABLE `t+1` (c1 INT);
-INSERT INTO `t+1` VALUES (1), (2), (3);
-BACKUP TABLE `t+1` TO '../../tmp';
-Table Op Msg_type Msg_text
-test.t+1 backup Warning 'BACKUP TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t+1 backup status OK
-DROP TABLE `t+1`;
-RESTORE TABLE `t+1` FROM '../../tmp';
-Table Op Msg_type Msg_text
-test.t+1 restore Warning 'RESTORE TABLE' is deprecated and will be removed in a future release. Please use MySQL Administrator (mysqldump, mysql) instead
-test.t+1 restore status OK
-SELECT * FROM `t+1`;
-c1
-1
-2
-3
-DROP TABLE `t+1`;
diff --git a/mysql-test/r/binlog_tx_isolation.result b/mysql-test/r/binlog_tx_isolation.result
deleted file mode 100644
index 39aba22758d..00000000000
--- a/mysql-test/r/binlog_tx_isolation.result
+++ /dev/null
@@ -1,48 +0,0 @@
-CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=INNODB;
-INSERT INTO t1 VALUES (1,1),(2,2),(3,3),(4,4),(5,5),(6,6);
-SET BINLOG_FORMAT=STATEMENT;
-BEGIN;
-SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
-ERROR HY000: Transaction isolation level 'READ-COMMITTED' is not safe for 'STATEMENT' binlog mode
-UPDATE t1 SET b = a*a WHERE a > 1;
-COMMIT;
-BEGIN;
-SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
-UPDATE t1 SET b = a*a WHERE a > 1;
-COMMIT;
-BEGIN;
-SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
-UPDATE t1 SET b = a*a WHERE a > 1;
-COMMIT;
-SET BINLOG_FORMAT=MIXED;
-BEGIN;
-SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
-ERROR HY000: Transaction isolation level 'READ-COMMITTED' is not safe for 'MIXED' binlog mode
-UPDATE t1 SET b = a*a*a WHERE a > 2;
-COMMIT;
-SET BINLOG_FORMAT=ROW;
-BEGIN;
-SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
-UPDATE t1 SET b = a*a*a*a WHERE a > 3;
-COMMIT;
-SELECT @@session.tx_isolation, @@session.binlog_format;
-@@session.tx_isolation READ-COMMITTED
-@@session.binlog_format ROW
-BEGIN;
-SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
-SET BINLOG_FORMAT=MIXED;
-ERROR HY000: Transaction isolation level 'READ-COMMITTED' prevents leaving 'ROW' binlog mode
-UPDATE t1 SET b = a*a*a*a WHERE a > 3;
-COMMIT;
-SELECT @@session.tx_isolation, @@session.binlog_format;
-@@session.tx_isolation READ-COMMITTED
-@@session.binlog_format ROW
-BEGIN;
-SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
-SET BINLOG_FORMAT=STATEMENT;
-ERROR HY000: Transaction isolation level 'READ-COMMITTED' prevents leaving 'ROW' binlog mode
-UPDATE t1 SET b = a*a*a*a WHERE a > 3;
-COMMIT;
-SELECT @@session.tx_isolation, @@session.binlog_format;
-@@session.tx_isolation READ-COMMITTED
-@@session.binlog_format ROW
diff --git a/mysql-test/r/blackhole.result b/mysql-test/r/blackhole.result
index 317070ca08e..16a97927262 100644
--- a/mysql-test/r/blackhole.result
+++ b/mysql-test/r/blackhole.result
@@ -9,3 +9,11 @@ SELECT 1 FROM t1 WHERE a = ANY (SELECT a FROM t2);
1
DROP TABLE t1, t2;
End of 5.5 tests
+#
+# Bug#13948247 DIVISION BY 0 IN GET_BEST_DISJUNCT_QUICK WITH FORCE INDEX GROUP BY
+#
+CREATE TABLE t1(a INT, b INT, c INT, KEY(c), UNIQUE(a)) ENGINE = BLACKHOLE;
+SELECT 0 FROM t1 FORCE INDEX FOR GROUP BY(a) WHERE a = 0 OR b = 0 AND c = 0;
+0
+DROP TABLE t1;
+End of 5.6 tests
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result
index 5e933914f5d..8ae61881c07 100644
--- a/mysql-test/r/cast.result
+++ b/mysql-test/r/cast.result
@@ -1,3 +1,4 @@
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
select CAST(1-2 AS UNSIGNED);
CAST(1-2 AS UNSIGNED)
18446744073709551615
@@ -62,7 +63,7 @@ cast(12.444 as double)
12.444
select cast(cast("20:01:01" as time) as datetime);
cast(cast("20:01:01" as time) as datetime)
-0000-00-00 20:01:01
+2001-02-03 20:01:01
select cast(cast("8:46:06.23434" AS time) as decimal(32,10));
cast(cast("8:46:06.23434" AS time) as decimal(32,10))
84606.0000000000
@@ -764,7 +765,7 @@ cast(cast("2101-00-01 02:03:04" as datetime) as time)
02:03:04
SELECT CAST(CAST('20:05:05' AS TIME) as date);
CAST(CAST('20:05:05' AS TIME) as date)
-0000-00-00
+2001-02-03
set sql_mode= TRADITIONAL;
select cast("2101-00-01 02:03:04" as datetime);
cast("2101-00-01 02:03:04" as datetime)
@@ -778,9 +779,7 @@ Warnings:
Warning 1292 Incorrect datetime value: '2101-00-01 02:03:04'
SELECT CAST(CAST('20:05:05' AS TIME) as date);
CAST(CAST('20:05:05' AS TIME) as date)
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '20:05:05'
+2001-02-03
set sql_mode=DEFAULT;
create table t1 (f1 time, f2 date, f3 datetime);
insert into t1 values ('11:22:33','2011-12-13','2011-12-13 11:22:33');
@@ -790,9 +789,7 @@ cast(f1 as unsigned) cast(f2 as unsigned) cast(f3 as unsigned)
drop table t1;
SELECT CAST(TIME('10:20:30') AS DATE) + INTERVAL 1 DAY;
CAST(TIME('10:20:30') AS DATE) + INTERVAL 1 DAY
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '0000-00-00'
+2001-02-04
SET SQL_MODE=ALLOW_INVALID_DATES;
SELECT DATE("foo");
DATE("foo")
diff --git a/mysql-test/r/comment_column.result b/mysql-test/r/comment_column.result
index 6ddd9eaf3de..552a83da472 100644
--- a/mysql-test/r/comment_column.result
+++ b/mysql-test/r/comment_column.result
@@ -408,4 +408,7 @@ Warning 1688 Comment for index 'i1' is too long (max = 1024)
CREATE INDEX i2 ON t1_toupg(c2) COMMENT '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234';
Warnings:
Warning 1688 Comment for index 'i2' is too long (max = 1024)
+ALTER TABLE t1_toupg drop column c1, drop column c2, drop column c3, add column c4 int, COMMENT='012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012301234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234';
+Warnings:
+Warning 1628 Comment for table 't1_toupg' is too long (max = 2048)
drop table t1_toupg;
diff --git a/mysql-test/r/comments.result b/mysql-test/r/comments.result
index ce817b5012f..c13eb510326 100644
--- a/mysql-test/r/comments.result
+++ b/mysql-test/r/comments.result
@@ -35,6 +35,12 @@ select 1 /*M!50000 +1 */;
select 1 /*M!50300 +1 */;
1 +1
2
+select 2 /*M!99999 +1 */;
+2 +1
+3
+select 2 /*M!100000 +1 */;
+2 +1
+3
select 2 /*M!999999 +1 */;
2
2
diff --git a/mysql-test/r/commit_1innodb.result b/mysql-test/r/commit_1innodb.result
index 3583e8ed396..1e173221b15 100644
--- a/mysql-test/r/commit_1innodb.result
+++ b/mysql-test/r/commit_1innodb.result
@@ -830,7 +830,7 @@ create table if not exists t2 (a int) select 6 union select 7;
Warnings:
Note 1050 Table 't2' already exists
# Sic: first commits the statement, and then the transaction.
-call p_verify_status_increment(2, 0, 2, 0);
+call p_verify_status_increment(0, 0, 0, 0);
SUCCESS
create table t3 select a from t2;
diff --git a/mysql-test/r/contributors.result b/mysql-test/r/contributors.result
index 836d5858d2f..d578d43cb62 100644
--- a/mysql-test/r/contributors.result
+++ b/mysql-test/r/contributors.result
@@ -2,10 +2,16 @@ SHOW CONTRIBUTORS;
Name Location Comment
Booking.com http://www.booking.com Founding member of the MariaDB foundation
SkySQL Ab http://www.skysql.com Founding member of the MariaDB foundation
+Auttomatic http://automattic.com Member of the MariaDB foundation
Parallels http://www.parallels.com/products/plesk Founding member of the MariaDB foundation
+Verkkokauppa.com Finland Sponsor of the MariaDB foundation
+Webyog Bangalor Sponsor of the MariaDB foundation
+Percona USA Sponsor of the MariaDB foundation
Jelastic.com Russia Sponsor of the MariaDB foundation
Planetta.net Finland Sponsor of the MariaDB foundation
Open query Australia Sponsor of the MariaDB foundation
+Google USA Sponsoring parallel replication and GTID
+Facebook USA Sponsoring non-blocking API, LIMIT ROWS EXAMINED etc
Ronald Bradford Brisbane, Australia EFF contribution for UC2006 Auction
Sheeri Kritzer Boston, Mass. USA EFF contribution for UC2006 Auction
Mark Shuttleworth London, UK. EFF contribution for UC2006 Auction
diff --git a/mysql-test/r/create-big.result b/mysql-test/r/create-big.result
index c47aecd7174..5aa44c2941d 100644
--- a/mysql-test/r/create-big.result
+++ b/mysql-test/r/create-big.result
@@ -161,7 +161,9 @@ create table t1 (i int);
set @a:=0;
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
create table if not exists t1 select 1 as i;;
-create trigger t1_bi before insert on t1 for each row set @a:=1;
+set debug_sync='now WAIT_FOR parked';
+create trigger t1_bi before insert on t1 for each row set @a:=1;;
+set debug_sync='now SIGNAL go';
Warnings:
Note 1050 Table 't1' already exists
select @a;
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index 7eba25d8ea3..41a2200c13f 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -2602,6 +2602,8 @@ create table t1 (a int, b int) select 2,2;
ERROR 42S01: Table 't1' already exists
create table t1 like t2;
ERROR 42S01: Table 't1' already exists
+create or replace table t1 (a int, b int) select 2,2;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
select * from t1;
a b
1 1
diff --git a/mysql-test/r/create_or_replace.result b/mysql-test/r/create_or_replace.result
new file mode 100644
index 00000000000..e6589807c2b
--- /dev/null
+++ b/mysql-test/r/create_or_replace.result
@@ -0,0 +1,430 @@
+drop table if exists t1,t2,t3;
+CREATE TABLE t2 (a int);
+INSERT INTO t2 VALUES(1),(2),(3);
+#
+# Check first syntax and wrong usage
+#
+CREATE OR REPLACE TABLE IF NOT EXISTS t1 (a int);
+ERROR HY000: Incorrect usage of OR REPLACE and IF NOT EXISTS
+create or replace trigger trg before insert on t1 for each row set @a:=1;
+ERROR HY000: Incorrect usage of OR REPLACE and TRIGGERS / SP / EVENT
+create or replace table mysql.general_log (a int);
+ERROR HY000: You cannot 'CREATE OR REPLACE' a log table if logging is enabled
+create or replace table mysql.slow_log (a int);
+ERROR HY000: You cannot 'CREATE OR REPLACE' a log table if logging is enabled
+#
+# Usage when table doesn't exist
+#
+CREATE OR REPLACE TABLE t1 (a int);
+CREATE TABLE t1 (a int);
+ERROR 42S01: Table 't1' already exists
+DROP TABLE t1;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int);
+CREATE TEMPORARY TABLE t1 (a int, b int, c int);
+ERROR 42S01: Table 't1' already exists
+DROP TEMPORARY TABLE t1;
+#
+# Testing with temporary tables
+#
+CREATE OR REPLACE TABLE t1 (a int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TEMPORARY TABLE `t1` (
+ `a` int(11) DEFAULT NULL,
+ `b` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TEMPORARY TABLE t1;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TABLE t1;
+create temporary table t1 (i int) engine=InnoDB;
+create or replace temporary table t1 (a int, b int) engine=InnoDB;
+create or replace temporary table t1 (j int);
+show create table t1;
+Table Create Table
+t1 CREATE TEMPORARY TABLE `t1` (
+ `j` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int) engine= innodb;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int) engine= innodb;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int) engine=myisam;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TEMPORARY TABLE `t1` (
+ `a` int(11) DEFAULT NULL,
+ `b` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TEMPORARY TABLE t1;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+CREATE OR REPLACE TABLE t2 (a int);
+ERROR HY000: Table 't2' was not locked with LOCK TABLES
+DROP TABLE t1;
+UNLOCK TABLES;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int) SELECT * from t2;
+SELECT * FROM t1;
+a
+1
+2
+3
+CREATE OR REPLACE TEMPORARY TABLE t1 (b int) SELECT * from t2;
+SELECT * FROM t1;
+b a
+NULL 1
+NULL 2
+NULL 3
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TEMPORARY TABLE `t1` (
+ `b` int(11) DEFAULT NULL,
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TABLE t1;
+CREATE TEMPORARY TABLE t1 AS SELECT a FROM t2;
+CREATE TEMPORARY TABLE IF NOT EXISTS t1(a int, b int) SELECT 1,2 FROM t2;
+Warnings:
+Note 1050 Table 't1' already exists
+DROP TABLE t1;
+CREATE TABLE t1 (a int);
+CREATE OR REPLACE TABLE t1 AS SELECT 1;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `1` int(1) NOT NULL DEFAULT '0'
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TABLE t1;
+create table t1 (a int);
+create or replace table t1 as select * from t1;
+ERROR HY000: Table 't1' is specified twice, both as a target for 'CREATE' and as a separate source for data
+create or replace table t1 as select a from (select a from t1) as t3;
+ERROR HY000: Table 't1' is specified twice, both as a target for 'CREATE' and as a separate source for data
+create or replace table t1 as select a from t2 where t2.a in (select a from t1);
+ERROR HY000: Table 't1' is specified twice, both as a target for 'CREATE' and as a separate source for data
+drop table t1;
+#
+# Testing with normal tables
+#
+CREATE OR REPLACE TABLE t1 (a int);
+CREATE OR REPLACE TABLE t1 (a int, b int);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL,
+ `b` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TABLE t1;
+CREATE TABLE t1 (a int) SELECT * from t2;
+SELECT * FROM t1;
+a
+1
+2
+3
+TRUNCATE TABLE t1;
+CREATE TABLE IF NOT EXISTS t1 (a int) SELECT * from t2;
+Warnings:
+Note 1050 Table 't1' already exists
+SELECT * FROM t1;
+a
+DROP TABLE t1;
+CREATE TABLE t1 (i int);
+CREATE OR REPLACE TABLE t1 AS SELECT 1;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `1` int(1) NOT NULL DEFAULT '0'
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TABLE t1;
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write,t2 write;
+CREATE OR REPLACE TABLE t1 (a int, b int);
+SELECT * FROM t1;
+a b
+INSERT INTO t1 values(1,1);
+CREATE OR REPLACE TABLE t1 (a int, b int, c int);
+INSERT INTO t1 values(1,1,1);
+CREATE OR REPLACE TABLE t3 (a int);
+ERROR HY000: Table 't3' was not locked with LOCK TABLES
+UNLOCK TABLES;
+DROP TABLE t1;
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write,t2 write;
+CREATE OR REPLACE TABLE t1 (a int, b int) select a,1 from t2;
+SELECT * FROM t2;
+a
+1
+2
+3
+SELECT * FROM t1;
+b a 1
+NULL 1 1
+NULL 2 1
+NULL 3 1
+SELECT * FROM t1;
+b a 1
+NULL 1 1
+NULL 2 1
+NULL 3 1
+INSERT INTO t1 values(1,1,1);
+CREATE OR REPLACE TABLE t1 (a int, b int, c int, d int);
+INSERT INTO t1 values(1,1,1,1);
+CREATE OR REPLACE TABLE t3 (a int);
+ERROR HY000: Table 't3' was not locked with LOCK TABLES
+UNLOCK TABLES;
+DROP TABLE t1;
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write,t2 write, t1 as t1_read read;
+CREATE OR REPLACE TABLE t1 (a int, b int) select a,1 from t2;
+SELECT * FROM t1;
+b a 1
+NULL 1 1
+NULL 2 1
+NULL 3 1
+SELECT * FROM t2;
+a
+1
+2
+3
+SELECT * FROM t1 as t1_read;
+ERROR HY000: Table 't1_read' was not locked with LOCK TABLES
+DROP TABLE t1;
+UNLOCK TABLES;
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLE t1 WRITE;
+CREATE OR REPLACE TABLE t1 AS SELECT 1;
+SELECT * from t1;
+1
+1
+SELECT * from t2;
+ERROR HY000: Table 't2' was not locked with LOCK TABLES
+DROP TABLE t1;
+#
+# Test also with InnoDB (transactional engine)
+#
+create table t1 (i int) engine=innodb;
+lock table t1 write;
+create or replace table t1 (j int);
+unlock tables;
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `j` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+create table t1 (i int) engine=InnoDB;
+lock table t1 write, t2 write;
+create or replace table t1 (j int) engine=innodb;
+unlock tables;
+drop table t1;
+create table t1 (i int) engine=InnoDB;
+create table t3 (i int) engine=InnoDB;
+insert into t3 values(1),(2),(3);
+create table t4 (i int) engine=InnoDB;
+insert into t4 values(1);
+lock table t1 write, t2 write, t3 write, t4 write;
+create or replace table t1 (a int, i int) engine=innodb select t2.a,t3.i from t2,t3;
+select * from t4;
+i
+1
+unlock tables;
+select * from t1 order by a,i;
+a i
+1 1
+1 2
+1 3
+2 1
+2 2
+2 3
+3 1
+3 2
+3 3
+drop table t1,t3,t4;
+#
+# Test the meta data locks are freed properly
+#
+create database mysqltest2;
+drop table if exists test.t1,mysqltest2.t2;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+Note 1051 Unknown table 'mysqltest2.t2'
+create table test.t1 (i int);
+create table mysqltest2.t2 like test.t1;
+lock table test.t1 write, mysqltest2.t2 write;
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock test t1
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock mysqltest2
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock mysqltest2 t2
+create or replace table test.t1;
+ERROR 42000: A table must have at least 1 column
+show tables;
+Tables_in_test
+t2
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock mysqltest2
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock mysqltest2 t2
+create or replace table mysqltest2.t2;
+ERROR 42000: A table must have at least 1 column
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+create table t1 (i int);
+drop table t1;
+create table test.t1 (i int);
+create table mysqltest2.t2 like test.t1;
+lock table test.t1 write, mysqltest2.t2 write;
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock test t1
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock mysqltest2
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock mysqltest2 t2
+create or replace table test.t1 (a int) select 1 as 'a', 2 as 'a';
+ERROR 42S21: Duplicate column name 'a'
+show tables;
+Tables_in_test
+t2
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock mysqltest2
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock mysqltest2 t2
+create or replace table mysqltest2.t2 (a int) select 1 as 'a', 2 as 'a';
+ERROR 42S21: Duplicate column name 'a'
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+create table t1 (i int);
+drop table t1;
+drop database mysqltest2;
+#
+# Testing CREATE .. LIKE
+#
+create or replace table t1 like t2;
+create or replace table t1 like t2;
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+create table t1 (b int);
+lock tables t1 write, t2 read;
+create or replace table t1 like t2;
+SELECT * FROM t1;
+a
+INSERT INTO t1 values(1);
+CREATE OR REPLACE TABLE t1 like t2;
+INSERT INTO t1 values(2);
+unlock tables;
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+create or replace table t1 like t2;
+create or replace table t1 like t1;
+ERROR 42000: Not unique table/alias: 't1'
+drop table t1;
+CREATE TEMPORARY TABLE t1 like t2;
+CREATE OR REPLACE TABLE t1 like t1;
+ERROR 42000: Not unique table/alias: 't1'
+CREATE OR REPLACE TABLE t1 like t1;
+ERROR 42000: Not unique table/alias: 't1'
+drop table t1;
+CREATE TEMPORARY TABLE t1 like t2;
+CREATE OR REPLACE TEMPORARY TABLE t3 like t1;
+CREATE OR REPLACE TEMPORARY TABLE t3 like t3;
+ERROR 42000: Not unique table/alias: 't3'
+drop table t1,t3;
+#
+# Test with prepared statements
+#
+prepare stmt1 from 'create or replace table t1 select * from t2';
+execute stmt1;
+select * from t1;
+a
+1
+2
+3
+execute stmt1;
+select * from t1;
+a
+1
+2
+3
+drop table t1;
+execute stmt1;
+select * from t1;
+a
+1
+2
+3
+deallocate prepare stmt1;
+drop table t1;
+#
+# Test with views
+#
+create view t1 as select 1;
+create table if not exists t1 (a int);
+Warnings:
+Note 1050 Table 't1' already exists
+create or replace table t1 (a int);
+ERROR 42S02: 'test.t1' is a view
+drop table t1;
+ERROR 42S02: 'test.t1' is a view
+drop view t1;
+#
+# MDEV-5602 CREATE OR REPLACE obtains stricter locks than the
+# connection had before
+#
+create table t1 (a int);
+lock table t1 write, t2 read;
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock test t1
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_READ MDL_EXPLICIT Table metadata lock test t2
+create or replace table t1 (i int);
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock test t1
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_READ MDL_EXPLICIT Table metadata lock test t2
+create or replace table t1 like t2;
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock test t1
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_READ MDL_EXPLICIT Table metadata lock test t2
+create or replace table t1 select 1 as f1;
+select * from information_schema.metadata_lock_info;
+THREAD_ID LOCK_MODE LOCK_DURATION LOCK_TYPE TABLE_SCHEMA TABLE_NAME
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Global read lock
+# MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT Table metadata lock test t1
+# MDL_INTENTION_EXCLUSIVE MDL_EXPLICIT Schema metadata lock test
+# MDL_SHARED_READ MDL_EXPLICIT Table metadata lock test t2
+drop table t1;
+unlock tables;
+DROP TABLE t2;
diff --git a/mysql-test/r/create_or_replace2.result b/mysql-test/r/create_or_replace2.result
new file mode 100644
index 00000000000..6f5e412b91c
--- /dev/null
+++ b/mysql-test/r/create_or_replace2.result
@@ -0,0 +1,25 @@
+include/master-slave.inc
+[connection master]
+drop table if exists t1;
+SET @old_debug= @@session.debug;
+CREATE TABLE t1 (i INT, KEY(i)) ENGINE=InnoDB;
+CREATE OR REPLACE TEMPORARY TABLE tmp (a int, b int, key(a)) engine=myisam;
+set debug_dbug='+d,send_kill_after_delete';
+CREATE OR REPLACE TABLE t1 LIKE tmp;
+set debug_dbug=@old_debug;
+SHOW TABLES;
+Tables_in_test
+t1
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL,
+ `b` int(11) DEFAULT NULL,
+ KEY `a` (`a`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+SHOW TABLES;
+Tables_in_test
+t1
+drop temporary table if exists tmp;
+drop table t1;
+include/rpl_end.inc
diff --git a/mysql-test/r/ctype_binary.result b/mysql-test/r/ctype_binary.result
index 9b38776e1ec..3dfcaf18120 100644
--- a/mysql-test/r/ctype_binary.result
+++ b/mysql-test/r/ctype_binary.result
@@ -740,7 +740,7 @@ create table t1 as select concat(uncompressed_length('')) as c1;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `c1` varbinary(10) NOT NULL DEFAULT ''
+ `c1` varbinary(10) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 as select concat(connection_id()) as c1;
diff --git a/mysql-test/r/ctype_cp1250_ch.result b/mysql-test/r/ctype_cp1250_ch.result
index 96e81f04613..f7cfda49db1 100644
--- a/mysql-test/r/ctype_cp1250_ch.result
+++ b/mysql-test/r/ctype_cp1250_ch.result
@@ -383,55 +383,55 @@ hex(weight_string('abc' as char(5)))
A4A5A6020202
select hex(weight_string('abc', 1, 2, 0xC0));
hex(weight_string('abc', 1, 2, 0xC0))
-A4A5
+A4
select hex(weight_string('abc', 2, 2, 0xC0));
hex(weight_string('abc', 2, 2, 0xC0))
-A4A5A6
+A4A5
select hex(weight_string('abc', 3, 2, 0xC0));
hex(weight_string('abc', 3, 2, 0xC0))
-A4A5A602
+A4A5A6
select hex(weight_string('abc', 4, 2, 0xC0));
hex(weight_string('abc', 4, 2, 0xC0))
-A4A5A60202
+A4A5A602
select hex(weight_string('abc', 5, 2, 0xC0));
hex(weight_string('abc', 5, 2, 0xC0))
-A4A5A6020202
+A4A5A60202
select hex(weight_string('abc',25, 2, 0xC0));
hex(weight_string('abc',25, 2, 0xC0))
A4A5A602020200000000000000000000000000000000000000
select hex(weight_string('abc', 1, 3, 0xC0));
hex(weight_string('abc', 1, 3, 0xC0))
-A4A5
+A4
select hex(weight_string('abc', 2, 3, 0xC0));
hex(weight_string('abc', 2, 3, 0xC0))
-A4A5A6
+A4A5
select hex(weight_string('abc', 3, 3, 0xC0));
hex(weight_string('abc', 3, 3, 0xC0))
-A4A5A602
+A4A5A6
select hex(weight_string('abc', 4, 3, 0xC0));
hex(weight_string('abc', 4, 3, 0xC0))
-A4A5A60202
+A4A5A602
select hex(weight_string('abc', 5, 3, 0xC0));
hex(weight_string('abc', 5, 3, 0xC0))
-A4A5A6020202
+A4A5A60202
select hex(weight_string('abc',25, 3, 0xC0));
hex(weight_string('abc',25, 3, 0xC0))
A4A5A602020200000000000000000000000000000000000000
select hex(weight_string('abc', 1, 4, 0xC0));
hex(weight_string('abc', 1, 4, 0xC0))
-A4A5
+A4
select hex(weight_string('abc', 2, 4, 0xC0));
hex(weight_string('abc', 2, 4, 0xC0))
-A4A5A6
+A4A5
select hex(weight_string('abc', 3, 4, 0xC0));
hex(weight_string('abc', 3, 4, 0xC0))
-A4A5A602
+A4A5A6
select hex(weight_string('abc', 4, 4, 0xC0));
hex(weight_string('abc', 4, 4, 0xC0))
-A4A5A60202
+A4A5A602
select hex(weight_string('abc', 5, 4, 0xC0));
hex(weight_string('abc', 5, 4, 0xC0))
-A4A5A6020202
+A4A5A60202
select hex(weight_string('abc',25, 4, 0xC0));
hex(weight_string('abc',25, 4, 0xC0))
A4A5A602020200000000000000000000000000000000000000
@@ -455,55 +455,55 @@ hex(weight_string(cast(_latin1 0x808080 as char) as char(5)))
818181232323
select hex(weight_string(cast(_latin1 0x808080 as char), 1, 2, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 1, 2, 0xC0))
-8181
+81
select hex(weight_string(cast(_latin1 0x808080 as char), 2, 2, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 2, 2, 0xC0))
-818181
+8181
select hex(weight_string(cast(_latin1 0x808080 as char), 3, 2, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 3, 2, 0xC0))
-81818123
+818181
select hex(weight_string(cast(_latin1 0x808080 as char), 4, 2, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 4, 2, 0xC0))
-8181812323
+81818123
select hex(weight_string(cast(_latin1 0x808080 as char), 5, 2, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 5, 2, 0xC0))
-818181232323
+8181812323
select hex(weight_string(cast(_latin1 0x808080 as char),25, 2, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char),25, 2, 0xC0))
81818123232300000000000000000000000000000000000000
select hex(weight_string(cast(_latin1 0x808080 as char), 1, 3, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 1, 3, 0xC0))
-8181
+81
select hex(weight_string(cast(_latin1 0x808080 as char), 2, 3, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 2, 3, 0xC0))
-818181
+8181
select hex(weight_string(cast(_latin1 0x808080 as char), 3, 3, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 3, 3, 0xC0))
-81818123
+818181
select hex(weight_string(cast(_latin1 0x808080 as char), 4, 3, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 4, 3, 0xC0))
-8181812323
+81818123
select hex(weight_string(cast(_latin1 0x808080 as char), 5, 3, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 5, 3, 0xC0))
-818181232323
+8181812323
select hex(weight_string(cast(_latin1 0x808080 as char),25, 3, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char),25, 3, 0xC0))
81818123232300000000000000000000000000000000000000
select hex(weight_string(cast(_latin1 0x808080 as char), 1, 4, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 1, 4, 0xC0))
-8181
+81
select hex(weight_string(cast(_latin1 0x808080 as char), 2, 4, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 2, 4, 0xC0))
-818181
+8181
select hex(weight_string(cast(_latin1 0x808080 as char), 3, 4, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 3, 4, 0xC0))
-81818123
+818181
select hex(weight_string(cast(_latin1 0x808080 as char), 4, 4, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 4, 4, 0xC0))
-8181812323
+81818123
select hex(weight_string(cast(_latin1 0x808080 as char), 5, 4, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char), 5, 4, 0xC0))
-818181232323
+8181812323
select hex(weight_string(cast(_latin1 0x808080 as char),25, 4, 0xC0));
hex(weight_string(cast(_latin1 0x808080 as char),25, 4, 0xC0))
81818123232300000000000000000000000000000000000000
@@ -566,13 +566,13 @@ hex(weight_string(cast(_latin1 0xDF6368 as char) as char(4)))
BBAD0103
select hex(weight_string(cast(_latin1 0x6368DF as char), 1, 2, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 1, 2, 0xC0))
-ADBB
+AD
select hex(weight_string(cast(_latin1 0x6368DF as char), 2, 2, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 2, 2, 0xC0))
-ADBB03
+ADBB
select hex(weight_string(cast(_latin1 0x6368DF as char), 3, 2, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 3, 2, 0xC0))
-ADBB0301
+ADBB03
select hex(weight_string(cast(_latin1 0x6368DF as char), 4, 2, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 4, 2, 0xC0))
ADBB0301
@@ -581,13 +581,13 @@ hex(weight_string(cast(_latin1 0x6368DF as char),25, 2, 0xC0))
ADBB0301000000000000000000000000000000000000000000
select hex(weight_string(cast(_latin1 0x6368DF as char), 1, 3, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 1, 3, 0xC0))
-ADBB
+AD
select hex(weight_string(cast(_latin1 0x6368DF as char), 2, 3, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 2, 3, 0xC0))
-ADBB03
+ADBB
select hex(weight_string(cast(_latin1 0x6368DF as char), 3, 3, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 3, 3, 0xC0))
-ADBB0301
+ADBB03
select hex(weight_string(cast(_latin1 0x6368DF as char), 4, 3, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 4, 3, 0xC0))
ADBB0301
@@ -596,13 +596,13 @@ hex(weight_string(cast(_latin1 0x6368DF as char),25, 3, 0xC0))
ADBB0301000000000000000000000000000000000000000000
select hex(weight_string(cast(_latin1 0x6368DF as char), 1, 4, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 1, 4, 0xC0))
-ADBB
+AD
select hex(weight_string(cast(_latin1 0x6368DF as char), 2, 4, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 2, 4, 0xC0))
-ADBB03
+ADBB
select hex(weight_string(cast(_latin1 0x6368DF as char), 3, 4, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 3, 4, 0xC0))
-ADBB0301
+ADBB03
select hex(weight_string(cast(_latin1 0x6368DF as char), 4, 4, 0xC0));
hex(weight_string(cast(_latin1 0x6368DF as char), 4, 4, 0xC0))
ADBB0301
@@ -611,13 +611,13 @@ hex(weight_string(cast(_latin1 0x6368DF as char),25, 4, 0xC0))
ADBB0301000000000000000000000000000000000000000000
select hex(weight_string(cast(_latin1 0xDF6368 as char), 1, 2,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 1, 2,0xC0))
-BBAD
+BB
select hex(weight_string(cast(_latin1 0xDF6368 as char), 2, 2,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 2, 2,0xC0))
-BBAD01
+BBAD
select hex(weight_string(cast(_latin1 0xDF6368 as char), 3, 2,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 3, 2,0xC0))
-BBAD0103
+BBAD01
select hex(weight_string(cast(_latin1 0xDF6368 as char), 4, 2,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 4, 2,0xC0))
BBAD0103
@@ -626,13 +626,13 @@ hex(weight_string(cast(_latin1 0xDF6368 as char),25, 2,0xC0))
BBAD0103000000000000000000000000000000000000000000
select hex(weight_string(cast(_latin1 0xDF6368 as char), 1, 3,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 1, 3,0xC0))
-BBAD
+BB
select hex(weight_string(cast(_latin1 0xDF6368 as char), 2, 3,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 2, 3,0xC0))
-BBAD01
+BBAD
select hex(weight_string(cast(_latin1 0xDF6368 as char), 3, 3,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 3, 3,0xC0))
-BBAD0103
+BBAD01
select hex(weight_string(cast(_latin1 0xDF6368 as char), 4, 3,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 4, 3,0xC0))
BBAD0103
@@ -641,13 +641,13 @@ hex(weight_string(cast(_latin1 0xDF6368 as char),25, 3,0xC0))
BBAD0103000000000000000000000000000000000000000000
select hex(weight_string(cast(_latin1 0xDF6368 as char), 1, 4,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 1, 4,0xC0))
-BBAD
+BB
select hex(weight_string(cast(_latin1 0xDF6368 as char), 2, 4,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 2, 4,0xC0))
-BBAD01
+BBAD
select hex(weight_string(cast(_latin1 0xDF6368 as char), 3, 4,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 3, 4,0xC0))
-BBAD0103
+BBAD01
select hex(weight_string(cast(_latin1 0xDF6368 as char), 4, 4,0xC0));
hex(weight_string(cast(_latin1 0xDF6368 as char), 4, 4,0xC0))
BBAD0103
diff --git a/mysql-test/r/ctype_cp1251.result b/mysql-test/r/ctype_cp1251.result
index b6114ba6f59..7030a77b6b2 100644
--- a/mysql-test/r/ctype_cp1251.result
+++ b/mysql-test/r/ctype_cp1251.result
@@ -1132,7 +1132,7 @@ create table t1 as select concat(uncompressed_length('')) as c1;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `c1` varchar(10) CHARACTER SET cp1251 NOT NULL DEFAULT ''
+ `c1` varchar(10) CHARACTER SET cp1251 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 as select concat(connection_id()) as c1;
diff --git a/mysql-test/r/ctype_latin1.result b/mysql-test/r/ctype_latin1.result
index 630288ebcb7..b1507a3222b 100644
--- a/mysql-test/r/ctype_latin1.result
+++ b/mysql-test/r/ctype_latin1.result
@@ -1212,7 +1212,7 @@ create table t1 as select concat(uncompressed_length('')) as c1;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `c1` varchar(10) NOT NULL DEFAULT ''
+ `c1` varchar(10) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 as select concat(connection_id()) as c1;
diff --git a/mysql-test/r/ctype_ucs.result b/mysql-test/r/ctype_ucs.result
index 5ce58fd7617..6e5ea46fde1 100644
--- a/mysql-test/r/ctype_ucs.result
+++ b/mysql-test/r/ctype_ucs.result
@@ -2212,7 +2212,7 @@ create table t1 as select concat(uncompressed_length('')) as c1;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `c1` varchar(10) CHARACTER SET ucs2 NOT NULL DEFAULT ''
+ `c1` varchar(10) CHARACTER SET ucs2 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 as select concat(connection_id()) as c1;
diff --git a/mysql-test/r/ctype_utf16.result b/mysql-test/r/ctype_utf16.result
index 6925da6b206..5c75bc098e3 100644
--- a/mysql-test/r/ctype_utf16.result
+++ b/mysql-test/r/ctype_utf16.result
@@ -671,6 +671,21 @@ FF9D EFBE9D
D800DF84 F0908E84
DBC0DC00 F4808080
DROP TABLE IF EXISTS t1;
+#
+# BUG#16691598 - ORDER BY LOWER(COLUMN) PRODUCES
+# OUT-OF-ORDER RESULTS
+#
+CREATE TABLE t1 SELECT ('a a') as n;
+INSERT INTO t1 VALUES('a b');
+SELECT * FROM t1 ORDER BY LOWER(n) ASC;
+n
+a a
+a b
+SELECT * FROM t1 ORDER BY LOWER(n) DESC;
+n
+a b
+a a
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf16_bin
diff --git a/mysql-test/r/ctype_utf16le.result b/mysql-test/r/ctype_utf16le.result
index 8f63dda2adc..baf3f4bb0f8 100644
--- a/mysql-test/r/ctype_utf16le.result
+++ b/mysql-test/r/ctype_utf16le.result
@@ -714,6 +714,21 @@ HEX(a) HEX(CONVERT(a USING utf8mb4))
00D884DF F0908E84
C0DB00DC F4808080
DROP TABLE IF EXISTS t1;
+#
+# BUG#16691598 - ORDER BY LOWER(COLUMN) PRODUCES
+# OUT-OF-ORDER RESULTS
+#
+CREATE TABLE t1 SELECT ('a a') as n;
+INSERT INTO t1 VALUES('a b');
+SELECT * FROM t1 ORDER BY LOWER(n) ASC;
+n
+a a
+a b
+SELECT * FROM t1 ORDER BY LOWER(n) DESC;
+n
+a b
+a a
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf16le_bin
diff --git a/mysql-test/r/ctype_utf32.result b/mysql-test/r/ctype_utf32.result
index e0bede76fb7..b67de4d0051 100644
--- a/mysql-test/r/ctype_utf32.result
+++ b/mysql-test/r/ctype_utf32.result
@@ -670,6 +670,21 @@ HEX(a) HEX(CONVERT(a USING utf8mb4))
00010384 F0908E84
00100000 F4808080
DROP TABLE IF EXISTS t1;
+#
+# BUG#16691598 - ORDER BY LOWER(COLUMN) PRODUCES
+# OUT-OF-ORDER RESULTS
+#
+CREATE TABLE t1 SELECT ('a a') as n;
+INSERT INTO t1 VALUES('a b');
+SELECT * FROM t1 ORDER BY LOWER(n) ASC;
+n
+a a
+a b
+SELECT * FROM t1 ORDER BY LOWER(n) DESC;
+n
+a b
+a a
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf32_bin
diff --git a/mysql-test/r/ctype_utf8.result b/mysql-test/r/ctype_utf8.result
index 4d558b2902c..ba96712653d 100644
--- a/mysql-test/r/ctype_utf8.result
+++ b/mysql-test/r/ctype_utf8.result
@@ -3089,7 +3089,7 @@ create table t1 as select concat(uncompressed_length('')) as c1;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `c1` varchar(10) CHARACTER SET utf8 NOT NULL DEFAULT ''
+ `c1` varchar(10) CHARACTER SET utf8 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 as select concat(connection_id()) as c1;
diff --git a/mysql-test/r/ctype_utf8mb4.result b/mysql-test/r/ctype_utf8mb4.result
index 73ceae39295..55d5c6eed86 100644
--- a/mysql-test/r/ctype_utf8mb4.result
+++ b/mysql-test/r/ctype_utf8mb4.result
@@ -1149,6 +1149,21 @@ EFBE9D EFBE9D
F0908E84 F0908E84
F4808080 F4808080
DROP TABLE IF EXISTS t1;
+#
+# BUG#16691598 - ORDER BY LOWER(COLUMN) PRODUCES
+# OUT-OF-ORDER RESULTS
+#
+CREATE TABLE t1 SELECT ('a a') as n;
+INSERT INTO t1 VALUES('a b');
+SELECT * FROM t1 ORDER BY LOWER(n) ASC;
+n
+a a
+a b
+SELECT * FROM t1 ORDER BY LOWER(n) DESC;
+n
+a b
+a a
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_bin
diff --git a/mysql-test/r/derived_view.result b/mysql-test/r/derived_view.result
index cbf5900d57c..64501ab5b76 100644
--- a/mysql-test/r/derived_view.result
+++ b/mysql-test/r/derived_view.result
@@ -2253,7 +2253,7 @@ EXPLAIN EXTENDED SELECT a FROM v1 WHERE a > 100 ORDER BY b;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
-Note 1003 select 4 AS `a` from dual where (4 > 100) order by 1
+Note 1003 select 4 AS `a` from dual where 0 order by 1
DROP VIEW v1;
DROP TABLE t1;
CREATE TABLE IF NOT EXISTS `galleries` (
@@ -2366,6 +2366,46 @@ id select_type table type possible_keys key key_len ref rows Extra
3 DEPENDENT SUBQUERY pi ref gallery_id gallery_id 4 test.gal.id 4 Using temporary; Using filesort
drop table galleries, pictures;
#
+# MDEV-5740: Assertion
+#`!derived->first_select()->exclude_from_table_unique_test ||
+#derived->outer_select()-> exclude_from_table_unique_test'
+#failed on 2nd execution of PS with derived_merge
+#
+set @save_optimizer_switch5740=@@optimizer_switch;
+SET optimizer_switch = 'derived_merge=on';
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
+PREPARE stmt FROM '
+ INSERT INTO t1 SELECT * FROM t2 UNION SELECT * FROM (SELECT * FROM t1) AS sq
+';
+EXECUTE stmt;
+select * from t1;
+a
+1
+2
+3
+4
+1
+2
+EXECUTE stmt;
+select * from t1;
+a
+1
+2
+3
+4
+1
+2
+3
+4
+1
+2
+deallocate prepare stmt;
+drop table t1,t2;
+set optimizer_switch=@save_optimizer_switch5740;
+#
# end of 5.3 tests
#
set optimizer_switch=@exit_optimizer_switch;
diff --git a/mysql-test/r/distinct.result b/mysql-test/r/distinct.result
index 019099bde14..6f68483f684 100644
--- a/mysql-test/r/distinct.result
+++ b/mysql-test/r/distinct.result
@@ -999,4 +999,44 @@ c
11112222
33334444
DROP TABLE t1;
+#
+# Bug#16539979 BASIC SELECT COUNT(DISTINCT ID) IS BROKEN.
+# Bug#17867117 ERROR RESULT WHEN "COUNT + DISTINCT + CASE WHEN" NEED MERGE_WALK
+#
+SET @tmp_table_size_save= @@tmp_table_size;
+SET @@tmp_table_size= 1024;
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
+INSERT INTO t1 SELECT a+8 FROM t1;
+INSERT INTO t1 SELECT a+16 FROM t1;
+INSERT INTO t1 SELECT a+32 FROM t1;
+INSERT INTO t1 SELECT a+64 FROM t1;
+INSERT INTO t1 VALUE(NULL);
+SELECT COUNT(DISTINCT a) FROM t1;
+COUNT(DISTINCT a)
+128
+SELECT COUNT(DISTINCT (a+0)) FROM t1;
+COUNT(DISTINCT (a+0))
+128
+DROP TABLE t1;
+create table tb(
+id int auto_increment primary key,
+v varchar(32))
+engine=myisam charset=gbk;
+insert into tb(v) values("aaa");
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+update tb set v=concat(v, id);
+select count(distinct case when id<=64 then id end) from tb;
+count(distinct case when id<=64 then id end)
+64
+select count(distinct case when id<=63 then id end) from tb;
+count(distinct case when id<=63 then id end)
+63
+drop table tb;
+SET @@tmp_table_size= @tmp_table_size_save;
End of 5.5 tests
diff --git a/mysql-test/r/drop.result b/mysql-test/r/drop.result
index a3b7be855eb..c23ffbe327b 100644
--- a/mysql-test/r/drop.result
+++ b/mysql-test/r/drop.result
@@ -173,3 +173,39 @@ DROP TABLE t1, t1;
ERROR 42000: Not unique table/alias: 't1'
UNLOCK TABLES;
DROP TABLE t1;
+#
+# BUG#34750: Print database name in Unknown Table error message
+#
+
+# Test error message when droping table/view
+DROP TABLE table1;
+ERROR 42S02: Unknown table 'test.table1'
+DROP TABLE table1,table2;
+ERROR 42S02: Unknown table 'test.table1,test.table2'
+DROP VIEW view1,view2,view3,view4;
+ERROR 42S02: Unknown table 'test.view1,test.view2,test.view3,test.view4'
+
+DROP TABLE IF EXISTS table1;
+Warnings:
+Note 1051 Unknown table 'test.table1'
+DROP TABLE IF EXISTS table1,table2;
+Warnings:
+Note 1051 Unknown table 'test.table1'
+Note 1051 Unknown table 'test.table2'
+DROP VIEW IF EXISTS view1,view2,view3,view4;
+Warnings:
+Note 1051 Unknown table 'test.view1'
+Note 1051 Unknown table 'test.view2'
+Note 1051 Unknown table 'test.view3'
+Note 1051 Unknown table 'test.view4'
+
+# Test error message when trigger does not find table
+CREATE TABLE table1(a int);
+CREATE TABLE table2(b int);
+CREATE TRIGGER trg1 AFTER INSERT ON table1
+FOR EACH ROW
+INSERT INTO table2 SELECT t.notable.*;
+INSERT INTO table1 VALUES (1);
+ERROR 42S02: Unknown table 't.notable'
+DROP TABLE table1,table2;
+# End BUG#34750
diff --git a/mysql-test/r/dyncol.result b/mysql-test/r/dyncol.result
index efe519fe3f9..5646de88d26 100644
--- a/mysql-test/r/dyncol.result
+++ b/mysql-test/r/dyncol.result
@@ -697,14 +697,14 @@ column_get(column_create(1, 0), 1 as datetime)
select column_get(column_create(1, "2001021"), 1 as datetime);
column_get(column_create(1, "2001021"), 1 as datetime)
2020-01-02 01:00:00
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
select column_get(column_create(1, "8:46:06.23434" AS time), 1 as datetime);
column_get(column_create(1, "8:46:06.23434" AS time), 1 as datetime)
-0000-00-00 08:46:06
+2001-02-03 08:46:06
select column_get(column_create(1, "-808:46:06.23434" AS time), 1 as datetime);
column_get(column_create(1, "-808:46:06.23434" AS time), 1 as datetime)
-NULL
-Warnings:
-Warning 1292 Truncated incorrect datetime value: '-808:46:06'
+2000-12-31 07:13:53
+SET timestamp=DEFAULT;
set @@sql_mode="allow_invalid_dates";
select column_get(column_create(1, "2011-02-30 18:46:06.23434" AS CHAR), 1 as datetime);
column_get(column_create(1, "2011-02-30 18:46:06.23434" AS CHAR), 1 as datetime)
@@ -1755,3 +1755,16 @@ Warning 1265 Data truncated for column 'dyncol' at row 1
SELECT COLUMN_ADD( COLUMN_ADD( dyncol, 1, REPEAT('b',130) ), 3, 'y' ) FROM t1;
ERROR HY000: Encountered illegal format of dynamic column string
DROP TABLE t1;
+#
+#MDEV-5840: group_concat( column_json(dynamic_column )) return empty
+#result
+#
+create table t1 (dyn blob);
+insert into t1 values (column_create('name1','value1','name2','value2'));
+select group_concat(cast(column_json(dyn) as char)) from t1;
+group_concat(cast(column_json(dyn) as char))
+{"name1":"value1","name2":"value2"}
+drop table t1;
+#
+# end of 10.0 tests
+#
diff --git a/mysql-test/r/error_simulation.result b/mysql-test/r/error_simulation.result
index 88a9d114bc6..006c51d1880 100644
--- a/mysql-test/r/error_simulation.result
+++ b/mysql-test/r/error_simulation.result
@@ -94,7 +94,7 @@ INSERT INTO t1 VALUES (1),(2);
INSERT INTO t2 VALUES (1),(2);
SET SESSION debug_dbug="+d,bug11747970_raise_error";
INSERT IGNORE INTO t2 SELECT f1 FROM t1 a WHERE NOT EXISTS (SELECT 1 FROM t2 b WHERE a.f1 = b.f1);
-ERROR HY000: Unknown error
+ERROR 70100: Query execution was interrupted
SET SESSION debug_dbug = DEFAULT;
DROP TABLE t1,t2;
#
diff --git a/mysql-test/r/events_trans.result b/mysql-test/r/events_trans.result
index 37951c30787..084587079ba 100644
--- a/mysql-test/r/events_trans.result
+++ b/mysql-test/r/events_trans.result
@@ -135,3 +135,4 @@ SELECT * FROM t2;
a
ROLLBACK WORK TO SAVEPOINT A;
DROP TABLE t1, t2;
+DROP EVENT e1;
diff --git a/mysql-test/r/failed_auth_unixsocket.result b/mysql-test/r/failed_auth_unixsocket.result
new file mode 100644
index 00000000000..3cf58ca5bec
--- /dev/null
+++ b/mysql-test/r/failed_auth_unixsocket.result
@@ -0,0 +1,12 @@
+update mysql.user set plugin='unix_socket';
+flush privileges;
+connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
+ERROR HY000: Plugin 'unix_socket' is not loaded
+ERROR HY000: Plugin 'unix_socket' is not loaded
+install plugin unix_socket soname 'auth_socket.so';
+connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
+ERROR 28000: Access denied for user 'USER'@'localhost'
+ERROR 28000: Access denied for user 'USER'@'localhost'
+update mysql.user set plugin='';
+flush privileges;
+uninstall plugin unix_socket;
diff --git a/mysql-test/r/func_compress.result b/mysql-test/r/func_compress.result
index c2f1e5bf273..22b75de8c60 100644
--- a/mysql-test/r/func_compress.result
+++ b/mysql-test/r/func_compress.result
@@ -102,7 +102,6 @@ a
foo
Warnings:
Warning 1259 ZLIB: Input data corrupted
-Warning 1259 ZLIB: Input data corrupted
explain select *, uncompress(a) from t1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 system NULL NULL NULL NULL 1
@@ -128,3 +127,23 @@ NULL 825307441
EXPLAIN EXTENDED SELECT * FROM (SELECT UNCOMPRESSED_LENGTH(c1) FROM t1) AS s;
DROP TABLE t1;
End of 5.0 tests
+#
+# Start of 5.3 tests
+#
+#
+# MDEV-5783 Assertion `0' failed in make_sortkey(SORTPARAM*, uchar*, uchar*) on ORDER BY HEX(UNCOMPRESSED_LENGTH(pk))
+#
+CREATE TABLE t1 (pk INT PRIMARY KEY);
+INSERT INTO t1 VALUES (1),(2);
+SELECT UNCOMPRESSED_LENGTH(pk) FROM t1;
+UNCOMPRESSED_LENGTH(pk)
+NULL
+NULL
+Warnings:
+Warning 1259 ZLIB: Input data corrupted
+Warning 1259 ZLIB: Input data corrupted
+SELECT * FROM t1 ORDER BY HEX(UNCOMPRESSED_LENGTH(pk));
+DROP TABLE t1;
+#
+# End of 5.3 tests
+#
diff --git a/mysql-test/r/func_group.result b/mysql-test/r/func_group.result
index 8e50c045775..8e2bdeae93c 100644
--- a/mysql-test/r/func_group.result
+++ b/mysql-test/r/func_group.result
@@ -1458,6 +1458,8 @@ DROP TABLE derived1;
DROP TABLE D;
CREATE TABLE t1 (a INT, b INT);
INSERT INTO t1 VALUES (1,1), (1,2), (1,3);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
SET SQL_MODE='ONLY_FULL_GROUP_BY';
SELECT COUNT(*) FROM t1;
COUNT(*)
@@ -1473,12 +1475,19 @@ COUNT(*)
SELECT COUNT(*), (SELECT count(*) FROM t1 inr WHERE inr.a = outr.a)
FROM t1 outr;
ERROR 42000: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
+SELECT COUNT(*) FROM t1 outr, (SELECT b, count(*) FROM t2) as t3;
+ERROR 42000: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
+SELECT COUNT(*) FROM t1 outr where (1,1) in (SELECT a, count(*) FROM t2);
+COUNT(*)
+0
SELECT COUNT(*) FROM t1 a JOIN t1 outr
ON a.a= (SELECT count(*) FROM t1 inr WHERE inr.a = outr.a);
COUNT(*)
0
+SELECT * FROM (SELECT a FROM t1 GROUP BY a) sq JOIN t2 ON a = b;
+a b
SET SQL_MODE=default;
-DROP TABLE t1;
+DROP TABLE t1,t2;
End of 5.0 tests
#
# BUG#47280 - strange results from count(*) with order by multiple
diff --git a/mysql-test/r/func_math.result b/mysql-test/r/func_math.result
index 04e71a715ce..3631af8a22f 100644
--- a/mysql-test/r/func_math.result
+++ b/mysql-test/r/func_math.result
@@ -728,6 +728,21 @@ select (1.175494351E-37 div 1.7976931348623157E+308);
Warnings:
Warning 1916 Got overflow when converting '' to DECIMAL. Value truncated.
#
+# Bug#12744991 - DECIMAL_ROUND(X,D) GIVES WRONG RESULTS WHEN D == N*(-9)
+#
+select round(999999999, -9);
+round(999999999, -9)
+1000000000
+select round(999999999.0, -9);
+round(999999999.0, -9)
+1000000000
+select round(999999999999999999, -18);
+round(999999999999999999, -18)
+1000000000000000000
+select round(999999999999999999.0, -18);
+round(999999999999999999.0, -18)
+1000000000000000000
+#
# Bug#12537160 ASSERTION FAILED:
# STOP0 <= &TO->BUF[TO->LEN] WITH LARGE NUMBER.
#
@@ -756,3 +771,18 @@ select 5 div 2.0;
select 5.9 div 2, 1.23456789e3 DIV 2, 1.23456789e9 DIV 2, 1.23456789e19 DIV 2;
5.9 div 2 1.23456789e3 DIV 2 1.23456789e9 DIV 2 1.23456789e19 DIV 2
2 617 617283945 6172839450000000000
+#
+# End of 5.5 tests
+#
+#
+# Start of 10.0 tests
+#
+#
+# MDEV-5781 Item_sum_std::val_real(): Assertion `nr >= 0.0' fails on query with STDDEV_POP, ROUND and variable
+#
+SELECT STDDEV_POP(ROUND(0,@A:=2009)) FROM (SELECT 1 UNION SELECT 2) fake_table;
+STDDEV_POP(ROUND(0,@A:=2009))
+0.0000
+#
+# End of 10.0 tests
+#
diff --git a/mysql-test/r/func_misc.result b/mysql-test/r/func_misc.result
index a033c91bc05..0c4d22f89b7 100644
--- a/mysql-test/r/func_misc.result
+++ b/mysql-test/r/func_misc.result
@@ -264,7 +264,30 @@ INET_NTOA(0)
SELECT '1' IN ('1', INET_NTOA(0));
'1' IN ('1', INET_NTOA(0))
1
+SELECT NAME_CONST('a', -(1 OR 2)) OR 1;
+ERROR HY000: Incorrect arguments to NAME_CONST
+SELECT NAME_CONST('a', -(1 AND 2)) AND 1;
+ERROR HY000: Incorrect arguments to NAME_CONST
+SELECT NAME_CONST('a', -(1)) OR 1;
+NAME_CONST('a', -(1)) OR 1
+1
#
+#MDEV-5446: Assertion `!table || (!table->read_set ||
+#bitmap_is_set(table->read_set, field_index))' fails on
+#EXPLAIN EXTENDED with VALUES function
+#
+CREATE TABLE t1 (a INT, b INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,10);
+CREATE VIEW v1 AS SELECT * FROM t1;
+EXPLAIN EXTENDED SELECT VALUES(b) FROM v1;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
+Warnings:
+Note 1003 select values(10) AS `VALUES(b)` from dual
+drop view v1;
+drop table t1;
+End of 5.3 tests
+#
# Bug #52165: Assertion failed: file .\dtoa.c, line 465
#
CREATE TABLE t1 (a SET('a'), b INT);
@@ -561,6 +584,3 @@ ERROR 42000: Identifier name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
#
# End of 5.5 tests
#
-#
-# End of tests
-#
diff --git a/mysql-test/r/func_regexp.result b/mysql-test/r/func_regexp.result
index 78b8e5d908a..53c58d5dddb 100644
--- a/mysql-test/r/func_regexp.result
+++ b/mysql-test/r/func_regexp.result
@@ -52,7 +52,7 @@ explain extended select * from t1 where xxx regexp('is a test of some long text
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
Warnings:
-Note 1003 select 'this is a test of some long text to see what happens' AS `xxx` from dual where ('this is a test of some long text to see what happens' regexp 'is a test of some long text to')
+Note 1003 select 'this is a test of some long text to see what happens' AS `xxx` from dual where 1
select * from t1 where xxx regexp('is a test of some long text to ');
xxx
this is a test of some long text to see what happens
@@ -145,3 +145,15 @@ a
DEALLOCATE PREPARE stmt1;
DROP TABLE t1;
End of 5.1 tests
+SELECT ' ' REGEXP '[[:blank:]]';
+' ' REGEXP '[[:blank:]]'
+1
+SELECT '\t' REGEXP '[[:blank:]]';
+'\t' REGEXP '[[:blank:]]'
+1
+SELECT ' ' REGEXP '[[:space:]]';
+' ' REGEXP '[[:space:]]'
+1
+SELECT '\t' REGEXP '[[:space:]]';
+'\t' REGEXP '[[:space:]]'
+1
diff --git a/mysql-test/r/func_str.result b/mysql-test/r/func_str.result
index a5280f13ada..c9d7b6636c4 100644
--- a/mysql-test/r/func_str.result
+++ b/mysql-test/r/func_str.result
@@ -1153,7 +1153,6 @@ str num
notnumber 0
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'notnumber'
-Warning 1292 Truncated incorrect DOUBLE value: 'notnumber'
SELECT * FROM t1, t2 WHERE num=substring(str from 1 for 6);
str num
notnumber 0
diff --git a/mysql-test/r/func_time.result b/mysql-test/r/func_time.result
index fab0ebe2ba7..400e3fdc544 100644
--- a/mysql-test/r/func_time.result
+++ b/mysql-test/r/func_time.result
@@ -1719,6 +1719,8 @@ create table t1(a time);
insert into t1 values ('00:00:00'),('00:01:00');
select 1 from t1 where 1 < some (select cast(a as datetime) from t1);
1
+1
+1
drop table t1;
select time('10:10:10') > 10;
time('10:10:10') > 10
@@ -1853,9 +1855,11 @@ Warnings:
Warning 1292 Incorrect datetime value: '0'
Warning 1292 Incorrect datetime value: '0'
drop table t1;
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
select convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow');
convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow')
NULL
+SET timestamp=DEFAULT;
create table t1 (f1 integer, f2 date);
insert into t1 values (1,'2011-05-05'),(2,'2011-05-05'),(3,'2011-05-05'),(4,'2011-05-05'),(5,'2011-05-05'),(6, '2011-05-06');
select * from t1 where 1 and concat(f2)=MAKEDATE(2011, 125);
@@ -2330,6 +2334,7 @@ SELECT * FROM t1;
TIMESTAMP('2001-01-01 00:00:00','10:10:10') TIMESTAMP('2001-01-01 00:00:00.1','10:10:10') TIMESTAMP('2001-01-01 00:00:00.12','10:10:10') TIMESTAMP('2001-01-01 00:00:00.123','10:10:10') TIMESTAMP('2001-01-01 00:00:00.1234','10:10:10') TIMESTAMP('2001-01-01 00:00:00.12345','10:10:10') TIMESTAMP('2001-01-01 00:00:00.123456','10:10:10') TIMESTAMP('2001-01-01 00:00:00.1234567','10:10:10')
2001-01-01 10:10:10 2001-01-01 10:10:10.1 2001-01-01 10:10:10.12 2001-01-01 10:10:10.123 2001-01-01 10:10:10.1234 2001-01-01 10:10:10.12345 2001-01-01 10:10:10.123456 2001-01-01 10:10:10.123456
DROP TABLE t1;
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
CREATE TABLE t1 AS SELECT
TIMESTAMP('00:00:00','10:10:10'),
TIMESTAMP(TIME('00:00:00'),'10:10:10');
@@ -2339,8 +2344,9 @@ TIMESTAMP('00:00:00','10:10:10') datetime YES NULL
TIMESTAMP(TIME('00:00:00'),'10:10:10') datetime YES NULL
SELECT * FROM t1;
TIMESTAMP('00:00:00','10:10:10') TIMESTAMP(TIME('00:00:00'),'10:10:10')
-NULL NULL
+NULL 2001-02-03 10:10:10
DROP TABLE t1;
+SET timestamp=DEFAULT;
#
# MDEV-4869 Wrong result of MAKETIME(0, 0, -0.1)
#
@@ -2350,6 +2356,7 @@ NULL
#
# MDEV-4857 Wrong result of HOUR('1 00:00:00')
#
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT HOUR('1 02:00:00'), HOUR('26:00:00');
HOUR('1 02:00:00') HOUR('26:00:00')
26 26
@@ -2361,7 +2368,7 @@ HOUR(TIME('1 02:00:00')) HOUR(TIME('26:00:00'))
26 26
SELECT DAY(TIME('1 02:00:00')), DAY(TIME('26:00:00'));
DAY(TIME('1 02:00:00')) DAY(TIME('26:00:00'))
-0 0
+4 4
SELECT EXTRACT(HOUR FROM '1 02:00:00'), EXTRACT(HOUR FROM '26:00:00');
EXTRACT(HOUR FROM '1 02:00:00') EXTRACT(HOUR FROM '26:00:00')
2 2
@@ -2374,6 +2381,7 @@ EXTRACT(HOUR FROM TIME('1 02:00:00')) EXTRACT(HOUR FROM TIME('26:00:00'))
SELECT EXTRACT(DAY FROM TIME('1 02:00:00')), EXTRACT(DAY FROM TIME('26:00:00'));
EXTRACT(DAY FROM TIME('1 02:00:00')) EXTRACT(DAY FROM TIME('26:00:00'))
1 1
+SET timestamp=DEFAULT;
#
# MDEV-5458 RQG hits 'sql/tztime.cc:799: my_time_t sec_since_epoch(int, int, int, int, int, int): Assertion `mon > 0 && mon < 13' failed.'
#
@@ -2382,13 +2390,11 @@ CREATE TABLE t1 (t TIME);
INSERT INTO t1 VALUES ('03:22:30'),('18:30:05');
SELECT CONVERT_TZ(GREATEST(t, CURRENT_DATE()), '+02:00', '+10:00') FROM t1;
CONVERT_TZ(GREATEST(t, CURRENT_DATE()), '+02:00', '+10:00')
-NULL
-NULL
+2014-02-26 06:59:59
+2014-02-26 06:59:59
Warnings:
Warning 1292 Truncated incorrect time value: '1296:00:00'
-Warning 1292 Incorrect datetime value: '838:59:59'
Warning 1292 Truncated incorrect time value: '1296:00:00'
-Warning 1292 Incorrect datetime value: '838:59:59'
SELECT GREATEST(t, CURRENT_DATE()) FROM t1;
GREATEST(t, CURRENT_DATE())
838:59:59
@@ -2446,30 +2452,45 @@ SELECT CAST(ADDTIME(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR) FROM t1;
CAST(ADDTIME(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR)
2012-12-21 00:00:00
DROP TABLE t1;
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
CREATE TABLE t1 (a DATETIME, b TIME);
INSERT INTO t1 VALUES (NULL, '00:20:12');
SELECT IF(1,ADDDATE(IFNULL(a,b),0),1) FROM t1;
IF(1,ADDDATE(IFNULL(a,b),0),1)
-0000-00-00 00:20:12
+2001-02-03 00:20:12
SELECT CAST(ADDDATE(IFNULL(a,b),0) AS CHAR) FROM t1;
CAST(ADDDATE(IFNULL(a,b),0) AS CHAR)
-0000-00-00 00:20:12
+2001-02-03 00:20:12
SELECT CAST(ADDDATE(COALESCE(a,b),0) AS CHAR) FROM t1;
CAST(ADDDATE(COALESCE(a,b),0) AS CHAR)
-0000-00-00 00:20:12
+2001-02-03 00:20:12
SELECT CAST(ADDDATE(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR) FROM t1;
CAST(ADDDATE(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR)
-0000-00-00 00:20:12
+2001-02-03 00:20:12
SELECT IF(1,ADDTIME(IFNULL(a,b),0),1) FROM t1;
IF(1,ADDTIME(IFNULL(a,b),0),1)
-NULL
+2001-02-03 00:20:12
SELECT CAST(ADDTIME(IFNULL(a,b),0) AS CHAR) FROM t1;
CAST(ADDTIME(IFNULL(a,b),0) AS CHAR)
-NULL
+2001-02-03 00:20:12
SELECT CAST(ADDTIME(COALESCE(a,b),0) AS CHAR) FROM t1;
CAST(ADDTIME(COALESCE(a,b),0) AS CHAR)
-NULL
+2001-02-03 00:20:12
SELECT CAST(ADDTIME(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR) FROM t1;
CAST(ADDTIME(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR)
-NULL
+2001-02-03 00:20:12
+DROP TABLE t1;
+SET timestamp=DEFAULT;
+#
+# MDEV-5870 Assertion `ltime->neg == 0' fails with COALESCE, ADDDATE, MAKEDATE
+#
+CREATE TABLE t1 (dt DATETIME);
+INSERT INTO t1 VALUES ('2003-05-13 19:36:05'), ('2012-12-12 09:20:06');
+SELECT COALESCE(ADDDATE(MAKEDATE(2011,121), dt), '2006-09-12' ) FROM t1;
+COALESCE(ADDDATE(MAKEDATE(2011,121), dt), '2006-09-12' )
+2006-09-12
+2006-09-12
+Warnings:
+Warning 1441 Datetime function: datetime field overflow
+Warning 1441 Datetime function: datetime field overflow
DROP TABLE t1;
diff --git a/mysql-test/r/gis-precise.result b/mysql-test/r/gis-precise.result
index 3b07be3930a..71eed65b2ea 100644
--- a/mysql-test/r/gis-precise.result
+++ b/mysql-test/r/gis-precise.result
@@ -452,3 +452,6 @@ ST_NUMPOINTS(ST_EXTERIORRING(ST_BUFFER( POLYGONFROMTEXT( 'POLYGON( ( 0.0 -3.0,
0.0 -3.0
))' ),
136
+select astext(buffer(st_linestringfromwkb(linestring(point(-1,1), point(-1,-2))),-1));
+astext(buffer(st_linestringfromwkb(linestring(point(-1,1), point(-1,-2))),-1))
+GEOMETRYCOLLECTION EMPTY
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index fa7b93092d9..9acdb1a87c2 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -1574,6 +1574,27 @@ SELECT 1 FROM g1 WHERE a >= ANY
1
DROP TABLE g1;
#
+# Bug#16451878 GEOMETRY QUERY CRASHES SERVER
+#
+# should not crash
+SELECT ASTEXT(0x0100000000030000000100000000000010);
+ASTEXT(0x0100000000030000000100000000000010)
+NULL
+#should not crash
+SELECT ENVELOPE(0x0100000000030000000100000000000010);
+ENVELOPE(0x0100000000030000000100000000000010)
+NULL
+#should not crash
+SELECT
+GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffff0000, 1);
+GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffff0000, 1)
+NULL
+#should not crash
+SELECT
+GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1);
+GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1)
+NULL
+#
# MDEV-3819 missing constraints for spatial column types
#
create table t1 (pt point);
diff --git a/mysql-test/r/index_intersect_innodb.result b/mysql-test/r/index_intersect_innodb.result
index d28b3a0bf92..33f2247e5d1 100644
--- a/mysql-test/r/index_intersect_innodb.result
+++ b/mysql-test/r/index_intersect_innodb.result
@@ -463,29 +463,29 @@ EXPLAIN
SELECT * FROM City
WHERE ID BETWEEN 501 AND 1000 AND Population > 700000 AND Country LIKE 'C%';
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,3,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,7,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
EXPLAIN
SELECT * FROM City
WHERE ID BETWEEN 1 AND 500 AND Population > 1000000 AND Country LIKE 'A%';
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Population,Country 4,4,3 NULL # Using sort_intersect(PRIMARY,Population,Country); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Population,Country 4,4,7 NULL # Using sort_intersect(PRIMARY,Population,Country); Using where
EXPLAIN
SELECT * FROM City
WHERE ID BETWEEN 2001 AND 2500 AND Population > 300000 AND Country LIKE 'H%';
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country 4,3 NULL # Using sort_intersect(PRIMARY,Country); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country 4,7 NULL # Using sort_intersect(PRIMARY,Country); Using where
EXPLAIN
SELECT * FROM City
WHERE ID BETWEEN 3701 AND 4000 AND Population > 1000000
AND Country BETWEEN 'S' AND 'Z';
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,3,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,7,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
EXPLAIN
SELECT * FROM City
WHERE ID BETWEEN 3001 AND 4000 AND Population > 600000
AND Country BETWEEN 'S' AND 'Z' ;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,3,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,7,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
SELECT * FROM City USE INDEX ()
WHERE ID BETWEEN 501 AND 1000 AND Population > 700000 AND Country LIKE 'C%';
ID Name Country Population
@@ -739,13 +739,13 @@ EXPLAIN
SELECT * FROM City
WHERE ID BETWEEN 1 AND 500 AND Population > 1000000 AND Country LIKE 'A%';
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Population,Country 4,4,3 NULL # Using sort_intersect(PRIMARY,Population,Country); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Population,Country 4,4,7 NULL # Using sort_intersect(PRIMARY,Population,Country); Using where
EXPLAIN
SELECT * FROM City
WHERE ID BETWEEN 3001 AND 4000 AND Population > 600000
AND Country BETWEEN 'S' AND 'Z';
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,3,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country PRIMARY,Country,Population 4,7,4 NULL # Using sort_intersect(PRIMARY,Country,Population); Using where
SELECT * FROM City WHERE
Name LIKE 'C%' AND Population > 1000000;
ID Name Country Population
@@ -1033,7 +1033,7 @@ EXPLAIN
SELECT * FROM t1
WHERE (f1 < 535 OR f1 > 985) AND ( f4='r' OR f4 LIKE 'a%' ) ;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 index_merge PRIMARY,f4 PRIMARY,f4 4,35 NULL # Using sort_intersect(PRIMARY,f4); Using where
+1 SIMPLE t1 index_merge PRIMARY,f4 PRIMARY,f4 4,39 NULL # Using sort_intersect(PRIMARY,f4); Using where
SELECT * FROM t1
WHERE (f1 < 535 OR f1 > 985) AND ( f4='r' OR f4 LIKE 'a%' ) ;
f1 f4 f5
diff --git a/mysql-test/r/index_merge_innodb.result b/mysql-test/r/index_merge_innodb.result
index b93d15f7bef..5202c79f3c7 100644
--- a/mysql-test/r/index_merge_innodb.result
+++ b/mysql-test/r/index_merge_innodb.result
@@ -580,9 +580,12 @@ pk1 pk2
explain select * from t1 where badkey=1 and key1=10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref key1 key1 4 const 100 Using where
+set @tmp_index_merge_ror_cpk=@@optimizer_switch;
+set optimizer_switch='extended_keys=off';
explain select * from t1 where pk1 < 7500 and key1 = 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index_merge PRIMARY,key1 key1,PRIMARY 4,4 NULL ROWS Using intersect(key1,PRIMARY); Using where
+set optimizer_switch=@tmp_index_merge_ror_cpk;
explain select * from t1 where pktail1ok=1 and key1=10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index_merge key1,pktail1ok key1,pktail1ok 4,4 NULL 1 Using intersect(key1,pktail1ok); Using where
diff --git a/mysql-test/r/index_merge_myisam.result b/mysql-test/r/index_merge_myisam.result
index 2fa2d5bcce1..2c0dc77399f 100644
--- a/mysql-test/r/index_merge_myisam.result
+++ b/mysql-test/r/index_merge_myisam.result
@@ -1415,9 +1415,12 @@ pk1 pk2
explain select * from t1 where badkey=1 and key1=10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref key1 key1 4 const 91 Using where
+set @tmp_index_merge_ror_cpk=@@optimizer_switch;
+set optimizer_switch='extended_keys=off';
explain select * from t1 where pk1 < 7500 and key1 = 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref PRIMARY,key1 key1 4 const ROWS Using where
+set optimizer_switch=@tmp_index_merge_ror_cpk;
explain select * from t1 where pktail1ok=1 and key1=10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref key1,pktail1ok pktail1ok 4 const 76 Using where
diff --git a/mysql-test/r/information_schema-big.result b/mysql-test/r/information_schema-big.result
index 45898c77989..9bf015d1b37 100644
--- a/mysql-test/r/information_schema-big.result
+++ b/mysql-test/r/information_schema-big.result
@@ -57,9 +57,6 @@ TRIGGERS TRIGGER_SCHEMA
USER_PRIVILEGES GRANTEE
USER_STATISTICS USER
VIEWS TABLE_SCHEMA
-XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME
-XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER
-XTRADB_RSEG rseg_id
SELECT t.table_name, c1.column_name
FROM information_schema.tables t
INNER JOIN
@@ -114,6 +111,3 @@ TRIGGERS TRIGGER_SCHEMA
USER_PRIVILEGES GRANTEE
USER_STATISTICS USER
VIEWS TABLE_SCHEMA
-XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME
-XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER
-XTRADB_RSEG rseg_id
diff --git a/mysql-test/r/information_schema.result b/mysql-test/r/information_schema.result
index d27b03e85d3..a070c5c10d5 100644
--- a/mysql-test/r/information_schema.result
+++ b/mysql-test/r/information_schema.result
@@ -1985,3 +1985,45 @@ drop database mysqltest;
#
# End of 5.5 tests
#
+#
+# MDEV-5723: mysqldump -uroot unusable for multi-database operations, checks all databases
+#
+drop database if exists db1;
+create database db1;
+use db1;
+create table t1 (a int);
+create table t2 (a int);
+create table t3 (a int);
+create database mysqltest;
+use mysqltest;
+create table t1 (a int);
+create table t2 (a int);
+create table t3 (a int);
+flush tables;
+flush status;
+SELECT
+LOGFILE_GROUP_NAME, FILE_NAME, TOTAL_EXTENTS, INITIAL_SIZE, ENGINE, EXTRA
+FROM
+INFORMATION_SCHEMA.FILES
+WHERE
+FILE_TYPE = 'UNDO LOG' AND FILE_NAME IS NOT NULL AND
+LOGFILE_GROUP_NAME IN (SELECT DISTINCT LOGFILE_GROUP_NAME
+FROM INFORMATION_SCHEMA.FILES
+WHERE
+FILE_TYPE = 'DATAFILE' AND
+TABLESPACE_NAME IN (SELECT DISTINCT TABLESPACE_NAME
+FROM INFORMATION_SCHEMA.PARTITIONS
+WHERE TABLE_SCHEMA IN ('db1')
+)
+)
+GROUP BY
+LOGFILE_GROUP_NAME, FILE_NAME, ENGINE
+ORDER BY
+LOGFILE_GROUP_NAME;
+LOGFILE_GROUP_NAME FILE_NAME TOTAL_EXTENTS INITIAL_SIZE ENGINE EXTRA
+# This must have Opened_tables=3, not 6.
+show status like 'Opened_tables';
+Variable_name Value
+Opened_tables 3
+drop database mysqltest;
+drop database db1;
diff --git a/mysql-test/r/information_schema_all_engines.result b/mysql-test/r/information_schema_all_engines.result
index 7ced16404a6..7e6cfd176a4 100644
--- a/mysql-test/r/information_schema_all_engines.result
+++ b/mysql-test/r/information_schema_all_engines.result
@@ -55,9 +55,6 @@ TRIGGERS
USER_PRIVILEGES
USER_STATISTICS
VIEWS
-XTRADB_INTERNAL_HASH_TABLES
-XTRADB_READ_VIEW
-XTRADB_RSEG
SELECT t.table_name, c1.column_name
FROM information_schema.tables t
INNER JOIN
@@ -127,9 +124,6 @@ TRIGGERS TRIGGER_SCHEMA
USER_PRIVILEGES GRANTEE
USER_STATISTICS USER
VIEWS TABLE_SCHEMA
-XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME
-XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER
-XTRADB_RSEG rseg_id
SELECT t.table_name, c1.column_name
FROM information_schema.tables t
INNER JOIN
@@ -199,9 +193,6 @@ TRIGGERS TRIGGER_SCHEMA
USER_PRIVILEGES GRANTEE
USER_STATISTICS USER
VIEWS TABLE_SCHEMA
-XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME
-XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER
-XTRADB_RSEG rseg_id
select 1 as "must be 1" from information_schema.tables where "ACCOUNTS"=
(select cast(table_name as char) from information_schema.tables
order by table_name limit 1) limit 1;
@@ -276,9 +267,6 @@ TRIGGERS information_schema.TRIGGERS 1
USER_PRIVILEGES information_schema.USER_PRIVILEGES 1
USER_STATISTICS information_schema.USER_STATISTICS 1
VIEWS information_schema.VIEWS 1
-XTRADB_INTERNAL_HASH_TABLES information_schema.XTRADB_INTERNAL_HASH_TABLES 1
-XTRADB_READ_VIEW information_schema.XTRADB_READ_VIEW 1
-XTRADB_RSEG information_schema.XTRADB_RSEG 1
+---------------------------------------+
+---------------------------------------+
+---------------------------------------+
@@ -338,9 +326,6 @@ Database: information_schema
| USER_PRIVILEGES |
| USER_STATISTICS |
| VIEWS |
-| XTRADB_INTERNAL_HASH_TABLES |
-| XTRADB_READ_VIEW |
-| XTRADB_RSEG |
+---------------------------------------+
+---------------------------------------+
+---------------------------------------+
@@ -400,9 +385,6 @@ Database: INFORMATION_SCHEMA
| USER_PRIVILEGES |
| USER_STATISTICS |
| VIEWS |
-| XTRADB_INTERNAL_HASH_TABLES |
-| XTRADB_READ_VIEW |
-| XTRADB_RSEG |
+--------------------+
+--------------------+
+--------------------+
@@ -411,5 +393,5 @@ Wildcard: inf_rmation_schema
| information_schema |
SELECT table_schema, count(*) FROM information_schema.TABLES WHERE table_schema IN ('mysql', 'INFORMATION_SCHEMA', 'test', 'mysqltest') AND table_name<>'ndb_binlog_index' AND table_name<>'ndb_apply_status' GROUP BY TABLE_SCHEMA;
table_schema count(*)
-information_schema 57
+information_schema 54
mysql 30
diff --git a/mysql-test/r/innodb_ext_key.result b/mysql-test/r/innodb_ext_key.result
index 9ef28e1ce54..9140f306f77 100644
--- a/mysql-test/r/innodb_ext_key.result
+++ b/mysql-test/r/innodb_ext_key.result
@@ -327,7 +327,7 @@ from lineitem use index (i_l_shipdate, i_l_receiptdate)
where l_shipdate='1992-07-01' and l_orderkey=130
or l_receiptdate='1992-07-01' and l_orderkey=5603;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE lineitem index_merge i_l_shipdate,i_l_receiptdate i_l_shipdate,i_l_receiptdate 8,8 NULL 2 Using sort_union(i_l_shipdate,i_l_receiptdate); Using where
+1 SIMPLE lineitem index_merge i_l_shipdate,i_l_receiptdate i_l_shipdate,i_l_receiptdate 8,8 NULL 2 Using union(i_l_shipdate,i_l_receiptdate); Using where
flush status;
select l_orderkey, l_linenumber
from lineitem use index (i_l_shipdate, i_l_receiptdate)
diff --git a/mysql-test/r/isam.result b/mysql-test/r/isam.result
deleted file mode 100644
index cb308a1c71d..00000000000
--- a/mysql-test/r/isam.result
+++ /dev/null
@@ -1,251 +0,0 @@
-drop table if exists t1,t2;
-create table t1 (a tinyint not null auto_increment, b blob not null, primary key (a)) engine=isam;
-delete from t1 where (a & 1);
-select sum(length(b)) from t1;
-sum(length(b))
-3274494
-drop table t1;
-create table t1 (a int not null auto_increment,b int, primary key (a)) engine=isam;
-insert into t1 values (1,1),(NULL,2),(3,3),(NULL,4);
-delete from t1 where a=4 or a=2;
-insert into t1 values (NULL,4),(NULL,5),(6,6);
-select * from t1;
-a b
-1 1
-5 5
-3 3
-4 4
-6 6
-delete from t1 where a=6;
-replace t1 values (3,1);
-replace t1 values (3,3);
-ALTER TABLE t1 add c int;
-insert into t1 values (NULL,6,6);
-select * from t1;
-a b c
-1 1 NULL
-5 5 NULL
-3 3 NULL
-4 4 NULL
-6 6 6
-drop table t1;
-create table t1 (a int,b text, index(a)) engine=isam;
-ERROR 42000: Column 'a' is used with UNIQUE or INDEX but is not defined as NOT NULL
-create table t1 (a int,b text, index(b)) engine=isam;
-ERROR 42000: BLOB column 'b' can't be used in key specification with the used table type
-create table t1 (ordid int(8) not null auto_increment, ord varchar(50) not null, primary key (ord,ordid)) engine=isam;
-ERROR 42000: Incorrect table definition; there can be only one auto column and it must be defined as a key
-create table t1 (ordid int(8), unique (ordid)) engine=isam;
-ERROR 42000: Column 'ordid' is used with UNIQUE or INDEX but is not defined as NOT NULL
-drop table if exists t1;
-Warnings:
-Note 1051 Unknown table 't1'
-create table t1 (a int not null primary key, b int not null,c int not null, key(b,c));
-insert into t1 values (1,2,2),(2,2,3),(3,2,4),(4,2,4);
-create table t2 engine=isam select * from t1;
-optimize table t1;
-Table Op Msg_type Msg_text
-test.t1 optimize status OK
-check table t1,t2;
-Table Op Msg_type Msg_text
-test.t1 check status OK
-test.t2 check note The storage engine for the table doesn't support check
-repair table t1,t2;
-Table Op Msg_type Msg_text
-test.t1 repair status OK
-test.t2 repair note The storage engine for the table doesn't support repair
-check table t2,t1;
-Table Op Msg_type Msg_text
-test.t2 check note The storage engine for the table doesn't support check
-test.t1 check status OK
-lock tables t1 write;
-check table t2,t1;
-Table Op Msg_type Msg_text
-test.t2 check error Table 't2' was not locked with LOCK TABLES
-test.t1 check status OK
-show columns from t1;
-Field Type Null Key Default Extra
-a int(11) PRI
-b int(11) MUL
-c int(11)
-show full columns from t1;
-Field Type Collation Null Key Default Extra Privileges Comment
-a int(11) NULL PRI select,insert,update,references
-b int(11) NULL MUL select,insert,update,references
-c int(11) NULL select,insert,update,references
-show index from t1;
-Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
-t1 0 PRIMARY 1 a A 4 NULL NULL BTREE
-t1 1 b 1 b A 1 NULL NULL BTREE
-t1 1 b 2 c A 4 NULL NULL BTREE
-drop table t1,t2;
-create table t1 (i1 int, i2 int, i3 int, i4 int, i5 int, i6 int, i7 int, i8
-int, i9 int, i10 int, i11 int, i12 int, i13 int, i14 int, i15 int, i16 int, i17
-int, i18 int, i19 int, i20 int, i21 int, i22 int, i23 int, i24 int, i25 int,
-i26 int, i27 int, i28 int, i29 int, i30 int, i31 int, i32 int, i33 int, i34
-int, i35 int, i36 int, i37 int, i38 int, i39 int, i40 int, i41 int, i42 int,
-i43 int, i44 int, i45 int, i46 int, i47 int, i48 int, i49 int, i50 int, i51
-int, i52 int, i53 int, i54 int, i55 int, i56 int, i57 int, i58 int, i59 int,
-i60 int, i61 int, i62 int, i63 int, i64 int, i65 int, i66 int, i67 int, i68
-int, i69 int, i70 int, i71 int, i72 int, i73 int, i74 int, i75 int, i76 int,
-i77 int, i78 int, i79 int, i80 int, i81 int, i82 int, i83 int, i84 int, i85
-int, i86 int, i87 int, i88 int, i89 int, i90 int, i91 int, i92 int, i93 int,
-i94 int, i95 int, i96 int, i97 int, i98 int, i99 int, i100 int, i101 int, i102
-int, i103 int, i104 int, i105 int, i106 int, i107 int, i108 int, i109 int, i110
-int, i111 int, i112 int, i113 int, i114 int, i115 int, i116 int, i117 int, i118
-int, i119 int, i120 int, i121 int, i122 int, i123 int, i124 int, i125 int, i126
-int, i127 int, i128 int, i129 int, i130 int, i131 int, i132 int, i133 int, i134
-int, i135 int, i136 int, i137 int, i138 int, i139 int, i140 int, i141 int, i142
-int, i143 int, i144 int, i145 int, i146 int, i147 int, i148 int, i149 int, i150
-int, i151 int, i152 int, i153 int, i154 int, i155 int, i156 int, i157 int, i158
-int, i159 int, i160 int, i161 int, i162 int, i163 int, i164 int, i165 int, i166
-int, i167 int, i168 int, i169 int, i170 int, i171 int, i172 int, i173 int, i174
-int, i175 int, i176 int, i177 int, i178 int, i179 int, i180 int, i181 int, i182
-int, i183 int, i184 int, i185 int, i186 int, i187 int, i188 int, i189 int, i190
-int, i191 int, i192 int, i193 int, i194 int, i195 int, i196 int, i197 int, i198
-int, i199 int, i200 int, i201 int, i202 int, i203 int, i204 int, i205 int, i206
-int, i207 int, i208 int, i209 int, i210 int, i211 int, i212 int, i213 int, i214
-int, i215 int, i216 int, i217 int, i218 int, i219 int, i220 int, i221 int, i222
-int, i223 int, i224 int, i225 int, i226 int, i227 int, i228 int, i229 int, i230
-int, i231 int, i232 int, i233 int, i234 int, i235 int, i236 int, i237 int, i238
-int, i239 int, i240 int, i241 int, i242 int, i243 int, i244 int, i245 int, i246
-int, i247 int, i248 int, i249 int, i250 int, i251 int, i252 int, i253 int, i254
-int, i255 int, i256 int, i257 int, i258 int, i259 int, i260 int, i261 int, i262
-int, i263 int, i264 int, i265 int, i266 int, i267 int, i268 int, i269 int, i270
-int, i271 int, i272 int, i273 int, i274 int, i275 int, i276 int, i277 int, i278
-int, i279 int, i280 int, i281 int, i282 int, i283 int, i284 int, i285 int, i286
-int, i287 int, i288 int, i289 int, i290 int, i291 int, i292 int, i293 int, i294
-int, i295 int, i296 int, i297 int, i298 int, i299 int, i300 int, i301 int, i302
-int, i303 int, i304 int, i305 int, i306 int, i307 int, i308 int, i309 int, i310
-int, i311 int, i312 int, i313 int, i314 int, i315 int, i316 int, i317 int, i318
-int, i319 int, i320 int, i321 int, i322 int, i323 int, i324 int, i325 int, i326
-int, i327 int, i328 int, i329 int, i330 int, i331 int, i332 int, i333 int, i334
-int, i335 int, i336 int, i337 int, i338 int, i339 int, i340 int, i341 int, i342
-int, i343 int, i344 int, i345 int, i346 int, i347 int, i348 int, i349 int, i350
-int, i351 int, i352 int, i353 int, i354 int, i355 int, i356 int, i357 int, i358
-int, i359 int, i360 int, i361 int, i362 int, i363 int, i364 int, i365 int, i366
-int, i367 int, i368 int, i369 int, i370 int, i371 int, i372 int, i373 int, i374
-int, i375 int, i376 int, i377 int, i378 int, i379 int, i380 int, i381 int, i382
-int, i383 int, i384 int, i385 int, i386 int, i387 int, i388 int, i389 int, i390
-int, i391 int, i392 int, i393 int, i394 int, i395 int, i396 int, i397 int, i398
-int, i399 int, i400 int, i401 int, i402 int, i403 int, i404 int, i405 int, i406
-int, i407 int, i408 int, i409 int, i410 int, i411 int, i412 int, i413 int, i414
-int, i415 int, i416 int, i417 int, i418 int, i419 int, i420 int, i421 int, i422
-int, i423 int, i424 int, i425 int, i426 int, i427 int, i428 int, i429 int, i430
-int, i431 int, i432 int, i433 int, i434 int, i435 int, i436 int, i437 int, i438
-int, i439 int, i440 int, i441 int, i442 int, i443 int, i444 int, i445 int, i446
-int, i447 int, i448 int, i449 int, i450 int, i451 int, i452 int, i453 int, i454
-int, i455 int, i456 int, i457 int, i458 int, i459 int, i460 int, i461 int, i462
-int, i463 int, i464 int, i465 int, i466 int, i467 int, i468 int, i469 int, i470
-int, i471 int, i472 int, i473 int, i474 int, i475 int, i476 int, i477 int, i478
-int, i479 int, i480 int, i481 int, i482 int, i483 int, i484 int, i485 int, i486
-int, i487 int, i488 int, i489 int, i490 int, i491 int, i492 int, i493 int, i494
-int, i495 int, i496 int, i497 int, i498 int, i499 int, i500 int, i501 int, i502
-int, i503 int, i504 int, i505 int, i506 int, i507 int, i508 int, i509 int, i510
-int, i511 int, i512 int, i513 int, i514 int, i515 int, i516 int, i517 int, i518
-int, i519 int, i520 int, i521 int, i522 int, i523 int, i524 int, i525 int, i526
-int, i527 int, i528 int, i529 int, i530 int, i531 int, i532 int, i533 int, i534
-int, i535 int, i536 int, i537 int, i538 int, i539 int, i540 int, i541 int, i542
-int, i543 int, i544 int, i545 int, i546 int, i547 int, i548 int, i549 int, i550
-int, i551 int, i552 int, i553 int, i554 int, i555 int, i556 int, i557 int, i558
-int, i559 int, i560 int, i561 int, i562 int, i563 int, i564 int, i565 int, i566
-int, i567 int, i568 int, i569 int, i570 int, i571 int, i572 int, i573 int, i574
-int, i575 int, i576 int, i577 int, i578 int, i579 int, i580 int, i581 int, i582
-int, i583 int, i584 int, i585 int, i586 int, i587 int, i588 int, i589 int, i590
-int, i591 int, i592 int, i593 int, i594 int, i595 int, i596 int, i597 int, i598
-int, i599 int, i600 int, i601 int, i602 int, i603 int, i604 int, i605 int, i606
-int, i607 int, i608 int, i609 int, i610 int, i611 int, i612 int, i613 int, i614
-int, i615 int, i616 int, i617 int, i618 int, i619 int, i620 int, i621 int, i622
-int, i623 int, i624 int, i625 int, i626 int, i627 int, i628 int, i629 int, i630
-int, i631 int, i632 int, i633 int, i634 int, i635 int, i636 int, i637 int, i638
-int, i639 int, i640 int, i641 int, i642 int, i643 int, i644 int, i645 int, i646
-int, i647 int, i648 int, i649 int, i650 int, i651 int, i652 int, i653 int, i654
-int, i655 int, i656 int, i657 int, i658 int, i659 int, i660 int, i661 int, i662
-int, i663 int, i664 int, i665 int, i666 int, i667 int, i668 int, i669 int, i670
-int, i671 int, i672 int, i673 int, i674 int, i675 int, i676 int, i677 int, i678
-int, i679 int, i680 int, i681 int, i682 int, i683 int, i684 int, i685 int, i686
-int, i687 int, i688 int, i689 int, i690 int, i691 int, i692 int, i693 int, i694
-int, i695 int, i696 int, i697 int, i698 int, i699 int, i700 int, i701 int, i702
-int, i703 int, i704 int, i705 int, i706 int, i707 int, i708 int, i709 int, i710
-int, i711 int, i712 int, i713 int, i714 int, i715 int, i716 int, i717 int, i718
-int, i719 int, i720 int, i721 int, i722 int, i723 int, i724 int, i725 int, i726
-int, i727 int, i728 int, i729 int, i730 int, i731 int, i732 int, i733 int, i734
-int, i735 int, i736 int, i737 int, i738 int, i739 int, i740 int, i741 int, i742
-int, i743 int, i744 int, i745 int, i746 int, i747 int, i748 int, i749 int, i750
-int, i751 int, i752 int, i753 int, i754 int, i755 int, i756 int, i757 int, i758
-int, i759 int, i760 int, i761 int, i762 int, i763 int, i764 int, i765 int, i766
-int, i767 int, i768 int, i769 int, i770 int, i771 int, i772 int, i773 int, i774
-int, i775 int, i776 int, i777 int, i778 int, i779 int, i780 int, i781 int, i782
-int, i783 int, i784 int, i785 int, i786 int, i787 int, i788 int, i789 int, i790
-int, i791 int, i792 int, i793 int, i794 int, i795 int, i796 int, i797 int, i798
-int, i799 int, i800 int, i801 int, i802 int, i803 int, i804 int, i805 int, i806
-int, i807 int, i808 int, i809 int, i810 int, i811 int, i812 int, i813 int, i814
-int, i815 int, i816 int, i817 int, i818 int, i819 int, i820 int, i821 int, i822
-int, i823 int, i824 int, i825 int, i826 int, i827 int, i828 int, i829 int, i830
-int, i831 int, i832 int, i833 int, i834 int, i835 int, i836 int, i837 int, i838
-int, i839 int, i840 int, i841 int, i842 int, i843 int, i844 int, i845 int, i846
-int, i847 int, i848 int, i849 int, i850 int, i851 int, i852 int, i853 int, i854
-int, i855 int, i856 int, i857 int, i858 int, i859 int, i860 int, i861 int, i862
-int, i863 int, i864 int, i865 int, i866 int, i867 int, i868 int, i869 int, i870
-int, i871 int, i872 int, i873 int, i874 int, i875 int, i876 int, i877 int, i878
-int, i879 int, i880 int, i881 int, i882 int, i883 int, i884 int, i885 int, i886
-int, i887 int, i888 int, i889 int, i890 int, i891 int, i892 int, i893 int, i894
-int, i895 int, i896 int, i897 int, i898 int, i899 int, i900 int, i901 int, i902
-int, i903 int, i904 int, i905 int, i906 int, i907 int, i908 int, i909 int, i910
-int, i911 int, i912 int, i913 int, i914 int, i915 int, i916 int, i917 int, i918
-int, i919 int, i920 int, i921 int, i922 int, i923 int, i924 int, i925 int, i926
-int, i927 int, i928 int, i929 int, i930 int, i931 int, i932 int, i933 int, i934
-int, i935 int, i936 int, i937 int, i938 int, i939 int, i940 int, i941 int, i942
-int, i943 int, i944 int, i945 int, i946 int, i947 int, i948 int, i949 int, i950
-int, i951 int, i952 int, i953 int, i954 int, i955 int, i956 int, i957 int, i958
-int, i959 int, i960 int, i961 int, i962 int, i963 int, i964 int, i965 int, i966
-int, i967 int, i968 int, i969 int, i970 int, i971 int, i972 int, i973 int, i974
-int, i975 int, i976 int, i977 int, i978 int, i979 int, i980 int, i981 int, i982
-int, i983 int, i984 int, i985 int, i986 int, i987 int, i988 int, i989 int, i990
-int, i991 int, i992 int, i993 int, i994 int, i995 int, i996 int, i997 int, i998
-int, i999 int, i1000 int, b blob) row_format=dynamic;
-insert into t1 values (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, "Sergei");
-update t1 set b=repeat('a',256);
-update t1 set i1=0, i2=0, i3=0, i4=0, i5=0, i6=0, i7=0;
-check table t1;
-Table Op Msg_type Msg_text
-test.t1 check status OK
-drop table t1;
diff --git a/mysql-test/r/join.result b/mysql-test/r/join.result
index 0f798f7ba1a..e7292e8ddce 100644
--- a/mysql-test/r/join.result
+++ b/mysql-test/r/join.result
@@ -1538,3 +1538,14 @@ a
3
4
DROP TABLE t1,t2;
+#
+# MDEV-5635: join of a const table with non-const tables
+#
+CREATE TABLE t1 (a varchar(3) NOT NULL) ENGINE=MyISAM;
+INSERT INTO t1 VALUES ('foo');
+CREATE TABLE t2 (b varchar(3), c varchar(3), INDEX(b)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES ('bar', 'bar'),( 'qux', 'qux');
+SELECT STRAIGHT_JOIN * FROM t1, t2 AS t2_1, t2 AS t2_2
+WHERE t2_2.c = t2_1.c AND t2_2.b = t2_1.b AND ( a IS NULL OR t2_1.c = a );
+a b c b c
+DROP TABLE t1,t2;
diff --git a/mysql-test/r/join_outer.result b/mysql-test/r/join_outer.result
index 4a806e0831c..e303c288552 100644
--- a/mysql-test/r/join_outer.result
+++ b/mysql-test/r/join_outer.result
@@ -1311,7 +1311,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
1 SIMPLE t2 system NULL NULL NULL NULL 1 100.00
Warnings:
-Note 1003 select 1 AS `f1`,NULL AS `f2`,3 AS `f3`,NULL AS `f1`,NULL AS `f2` from `test`.`t2` where ((coalesce(1,NULL),3) in ((1,3),(2,2)))
+Note 1003 select 1 AS `f1`,NULL AS `f2`,3 AS `f3`,NULL AS `f1`,NULL AS `f2` from `test`.`t2` where 1
SELECT * FROM t1 LEFT JOIN t2 ON t1.f2 = t2.f2
WHERE (COALESCE(t1.f1, t2.f1), f3) IN ((1, 3), (2, 2));
f1 f2 f3 f1 f2
diff --git a/mysql-test/r/join_outer_jcl6.result b/mysql-test/r/join_outer_jcl6.result
index 6a543f920e4..88f2fd7c630 100644
--- a/mysql-test/r/join_outer_jcl6.result
+++ b/mysql-test/r/join_outer_jcl6.result
@@ -1322,7 +1322,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
1 SIMPLE t2 system NULL NULL NULL NULL 1 100.00
Warnings:
-Note 1003 select 1 AS `f1`,NULL AS `f2`,3 AS `f3`,NULL AS `f1`,NULL AS `f2` from `test`.`t2` where ((coalesce(1,NULL),3) in ((1,3),(2,2)))
+Note 1003 select 1 AS `f1`,NULL AS `f2`,3 AS `f3`,NULL AS `f1`,NULL AS `f2` from `test`.`t2` where 1
SELECT * FROM t1 LEFT JOIN t2 ON t1.f2 = t2.f2
WHERE (COALESCE(t1.f1, t2.f1), f3) IN ((1, 3), (2, 2));
f1 f2 f3 f1 f2
diff --git a/mysql-test/r/key.result b/mysql-test/r/key.result
index 2479308a2c4..a89a79dadbb 100644
--- a/mysql-test/r/key.result
+++ b/mysql-test/r/key.result
@@ -612,3 +612,30 @@ SELECT 1 as RES FROM t1 AS t1_outer WHERE
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
RES
DROP TABLE t1;
+#
+# Bug#18144: Cost with FORCE/USE index seems incorrect in some cases.
+#
+# We are interested in showing that the cost for the last plan is higher
+# than for the preceding two plans.
+#
+CREATE TABLE t1( a INT, b INT, KEY( a ) );
+INSERT INTO t1 values (1, 2), (1, 3), (2, 3), (2, 4), (3, 4), (3, 5);
+EXPLAIN SELECT a, SUM( b ) FROM t1 GROUP BY a;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 6 Using temporary; Using filesort
+SHOW STATUS LIKE 'Last_query_cost';
+Variable_name Value
+Last_query_cost 9.212184
+EXPLAIN SELECT a, SUM( b ) FROM t1 USE INDEX( a ) GROUP BY a;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 6 Using temporary; Using filesort
+SHOW STATUS LIKE 'Last_query_cost';
+Variable_name Value
+Last_query_cost 9.212184
+EXPLAIN SELECT a, SUM( b ) FROM t1 FORCE INDEX( a ) GROUP BY a;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 index NULL a 5 NULL 6
+SHOW STATUS LIKE 'Last_query_cost';
+Variable_name Value
+Last_query_cost 14.199000
+DROP TABLE t1;
diff --git a/mysql-test/r/locked_temporary-5955.result b/mysql-test/r/locked_temporary-5955.result
new file mode 100644
index 00000000000..8999bdd39c4
--- /dev/null
+++ b/mysql-test/r/locked_temporary-5955.result
@@ -0,0 +1,2 @@
+CREATE TEMPORARY TABLE tmp (i INT) ENGINE=InnoDB;
+LOCK TABLES tmp AS p WRITE;
diff --git a/mysql-test/r/lowercase_fs_off.result b/mysql-test/r/lowercase_fs_off.result
index c3284b225dd..9b819cf3843 100644
--- a/mysql-test/r/lowercase_fs_off.result
+++ b/mysql-test/r/lowercase_fs_off.result
@@ -44,7 +44,7 @@ f1(1)
call p1();
ERROR 42000: execute command denied to user 'USER_1'@'localhost' for routine 'db1.p1'
call P1();
-ERROR 42000: execute command denied to user 'USER_1'@'localhost' for routine 'db1.p1'
+ERROR 42000: execute command denied to user 'USER_1'@'localhost' for routine 'db1.P1'
select f1(1);
ERROR 42000: execute command denied to user 'USER_1'@'localhost' for routine 'db1.f1'
REVOKE ALL PRIVILEGES, GRANT OPTION FROM user_1@localhost;
diff --git a/mysql-test/r/lowercase_table.result b/mysql-test/r/lowercase_table.result
index 464f423fa92..ac7d3e6bf7b 100644
--- a/mysql-test/r/lowercase_table.result
+++ b/mysql-test/r/lowercase_table.result
@@ -108,3 +108,22 @@ ii
drop table Ä°Ä°;
set names latin1;
End of 5.0 tests
+create database mysql_TEST character set latin2;
+create table mysql_TEST.T1 (a int);
+show create database mysql_TEST;
+Database Create Database
+mysql_TEST CREATE DATABASE `mysql_test` /*!40100 DEFAULT CHARACTER SET latin2 */
+show create table mysql_TEST.T1;
+Table Create Table
+T1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin2
+show databases like "mysql%";
+Database (mysql%)
+mysql
+mysql_test
+show databases like "mysql_TE%";
+Database (mysql_TE%)
+mysql_test
+drop database mysql_TEST;
+End of 10.0 tests
diff --git a/mysql-test/r/lowercase_table2.result b/mysql-test/r/lowercase_table2.result
index 58b976413de..7491334907e 100644
--- a/mysql-test/r/lowercase_table2.result
+++ b/mysql-test/r/lowercase_table2.result
@@ -108,6 +108,14 @@ SELECT * from T1;
a
1
DROP TABLE T1;
+create database mysqltest_UPPERCASE;
+CREATE TABLE mysqltest_UPPERCASE.T1 (a int) engine=innodb;
+CREATE TABLE mysqltest_uppercase.t2 (a int) engine=innodb;
+CREATE TABLE mysqltest_UPPERCASE.t3 (a int) engine=innodb;
+drop table mysqltest_UPPERCASE.T1;
+drop table mysqltest_UPPERCASE.T2;
+drop table mysqltest_uppercase.t3;
+drop database mysqltest_UPPERCASE;
create table T1 (EVENT_ID int auto_increment primary key, LOCATION char(20));
insert into T1 values (NULL,"Mic-4"),(NULL,"Mic-5"),(NULL,"Mic-6");
SELECT LOCATION FROM T1 WHERE EVENT_ID=2 UNION ALL SELECT LOCATION FROM T1 WHERE EVENT_ID=3;
@@ -148,6 +156,9 @@ drop table T1;
create database mysqltest_LC2;
use mysqltest_LC2;
create table myUC (i int);
+show tables;
+Tables_in_mysqltest_LC2
+myUC
insert into myUC values (1),(2),(3);
select * from myUC;
i
@@ -224,16 +235,25 @@ drop database if exists mysqltest_UPPERCASE;
drop table if exists t_bug44738_UPPERCASE;
create database mysqltest_UPPERCASE;
use mysqltest_UPPERCASE;
+select database();
+database()
+mysqltest_UPPERCASE
create table t_bug44738_UPPERCASE (i int) comment='Old comment';
create table t_bug44738_lowercase (i int) comment='Old comment';
+create table t_bug44738_UPPERCASE2 (i int) comment='Old comment';
+create table t_bug44738_lowercase2 (i int) comment='Old comment';
select table_schema, table_name, table_comment from information_schema.tables
where table_schema like 'mysqltest_%' and table_name like 't_bug44738_%'
order by table_name;
table_schema table_name table_comment
mysqltest_UPPERCASE t_bug44738_lowercase Old comment
+mysqltest_UPPERCASE t_bug44738_lowercase2 Old comment
mysqltest_UPPERCASE t_bug44738_UPPERCASE Old comment
+mysqltest_UPPERCASE t_bug44738_UPPERCASE2 Old comment
alter table t_bug44738_UPPERCASE comment='New comment';
alter table t_bug44738_lowercase comment='New comment';
+alter table mysqltest_uppercase.t_bug44738_UPPERCASE2 comment='New comment';
+alter table mysqltest_UPPERCASE.t_bug44738_lowercase2 comment='New comment';
# There should be no stale entries in TDC for our tables after the
# above ALTER TABLE statements so new version of comments should be
# returned by the below query to I_S.
@@ -242,7 +262,9 @@ where table_schema like 'mysqltest_%' and table_name like 't_bug44738_%'
order by table_name;
table_schema table_name table_comment
mysqltest_UPPERCASE t_bug44738_lowercase New comment
+mysqltest_UPPERCASE t_bug44738_lowercase2 New comment
mysqltest_UPPERCASE t_bug44738_UPPERCASE New comment
+mysqltest_UPPERCASE t_bug44738_UPPERCASE2 New comment
drop database mysqltest_UPPERCASE;
use test;
# Let us check that the original test case which led to discovery
@@ -274,8 +296,41 @@ Database Table In_use Name_locked
test t_bug44738_uppercase 0 0
# So attempt to create table with the same name should fail.
create table t_bug44738_UPPERCASE (i int);
-ERROR HY000: Can't find file: './test/t_bug44738_uppercase.MYI' (errno: 2 "No such file or directory")
+ERROR 42S01: Table 't_bug44738_uppercase' already exists
# And should succeed after FLUSH TABLES.
flush tables;
create table t_bug44738_UPPERCASE (i int);
drop table t_bug44738_UPPERCASE;
+#
+# Bug #21317 SHOW CREATE DATABASE does not obey to
+# lower_case_table_names
+#
+create database mysql_TEST;
+create table mysql_TEST.T1(a int);
+show databases like 'mysql%';
+Database (mysql%)
+mysql
+mysql_TEST
+show databases like 'mysql_T%';
+Database (mysql_T%)
+mysql_TEST
+show databases like 'mysql_t%';
+Database (mysql_t%)
+mysql_TEST
+show create database mysql_test;
+Database Create Database
+mysql_test CREATE DATABASE `mysql_test` /*!40100 DEFAULT CHARACTER SET latin1 */
+show create database mysql_TEST;
+Database Create Database
+mysql_TEST CREATE DATABASE `mysql_TEST` /*!40100 DEFAULT CHARACTER SET latin1 */
+show create table mysql_TEST.T1;
+Table Create Table
+T1 CREATE TABLE `T1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+show create table mysql_test.t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop database mysql_TEST;
diff --git a/mysql-test/r/lowercase_table5.result b/mysql-test/r/lowercase_table5.result
new file mode 100644
index 00000000000..9adfd0590a8
--- /dev/null
+++ b/mysql-test/r/lowercase_table5.result
@@ -0,0 +1,13 @@
+CREATE DATABASE mysql_TEST CHARACTER SET utf8;
+SHOW CREATE DATABASE mysql_TEST;
+Database Create Database
+mysql_TEST CREATE DATABASE `mysql_TEST` /*!40100 DEFAULT CHARACTER SET utf8 */
+CREATE DATABASE mysql_test CHARACTER SET latin2;
+SHOW CREATE DATABASE mysql_test;
+Database Create Database
+mysql_test CREATE DATABASE `mysql_test` /*!40100 DEFAULT CHARACTER SET latin2 */
+SHOW CREATE DATABASE mysql_TEST;
+Database Create Database
+mysql_TEST CREATE DATABASE `mysql_TEST` /*!40100 DEFAULT CHARACTER SET utf8 */
+DROP DATABASE mysql_test;
+DROP DATABASE mysql_TEST;
diff --git a/mysql-test/r/lowercase_view.result b/mysql-test/r/lowercase_view.result
index 33c87ec101c..f43c39c4fc1 100644
--- a/mysql-test/r/lowercase_view.result
+++ b/mysql-test/r/lowercase_view.result
@@ -20,13 +20,13 @@ ERROR HY000: The definition of table 'v1Aa' prevents operation UPDATE on table '
update v2Aa set col1 = (select max(col1) from t1Aa);
ERROR HY000: The definition of table 'v2Aa' prevents operation UPDATE on table 'v2Aa'.
update v2aA set col1 = (select max(col1) from v2Aa);
-ERROR HY000: You can't specify target table 'v2aA' for update in FROM clause
+ERROR HY000: Table 'v2aA' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update v2aA,t2Aa set v2Aa.col1 = (select max(col1) from v1aA) where v2aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v1aA' prevents operation UPDATE on table 'v2aA'.
update t1aA,t2Aa set t1Aa.col1 = (select max(col1) from v1Aa) where t1aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v1Aa' prevents operation UPDATE on table 't1aA'.
update v1aA,t2Aa set v1Aa.col1 = (select max(col1) from v1aA) where v1Aa.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 'v1aA' for update in FROM clause
+ERROR HY000: Table 'v1aA' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t2Aa,v2Aa set v2aA.col1 = (select max(col1) from v1aA) where v2Aa.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v1aA' prevents operation UPDATE on table 't2Aa'.
update t2Aa,t1Aa set t1aA.col1 = (select max(col1) from v1Aa) where t1Aa.col1 = t2aA.col1;
@@ -36,17 +36,17 @@ ERROR HY000: The definition of table 'v1aA' prevents operation UPDATE on table '
update v2aA,t2Aa set v2Aa.col1 = (select max(col1) from t1aA) where v2aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v2aA' prevents operation UPDATE on table 'v2aA'.
update t1Aa,t2Aa set t1aA.col1 = (select max(col1) from t1Aa) where t1aA.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 't1Aa' for update in FROM clause
+ERROR HY000: Table 't1Aa' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update v1aA,t2Aa set v1Aa.col1 = (select max(col1) from t1Aa) where v1aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v1aA' prevents operation UPDATE on table 'v1aA'.
update t2Aa,v2Aa set v2aA.col1 = (select max(col1) from t1aA) where v2Aa.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 't2Aa' for update in FROM clause
+ERROR HY000: Table 't2Aa' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t2Aa,t1Aa set t1aA.col1 = (select max(col1) from t1Aa) where t1aA.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 't2Aa' for update in FROM clause
+ERROR HY000: Table 't2Aa' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t2Aa,v1Aa set v1aA.col1 = (select max(col1) from t1Aa) where v1Aa.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 't2Aa' for update in FROM clause
+ERROR HY000: Table 't2Aa' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update v2aA,t2Aa set v2Aa.col1 = (select max(col1) from v2aA) where v2Aa.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 'v2aA' for update in FROM clause
+ERROR HY000: Table 'v2aA' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1aA,t2Aa set t1Aa.col1 = (select max(col1) from v2aA) where t1aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v2aA' prevents operation UPDATE on table 't1aA'.
update v1aA,t2Aa set v1Aa.col1 = (select max(col1) from v2Aa) where v1aA.col1 = t2aA.col1;
@@ -64,27 +64,27 @@ ERROR HY000: The definition of table 'v3aA' prevents operation UPDATE on table '
update v3aA set v3Aa.col1 = (select max(col1) from v2aA);
ERROR HY000: The definition of table 'v2aA' prevents operation UPDATE on table 'v3aA'.
update v3aA set v3Aa.col1 = (select max(col1) from v3aA);
-ERROR HY000: You can't specify target table 'v3aA' for update in FROM clause
+ERROR HY000: Table 'v3aA' is specified twice, both as a target for 'UPDATE' and as a separate source for data
delete from v2Aa where col1 = (select max(col1) from v1Aa);
ERROR HY000: The definition of table 'v1Aa' prevents operation DELETE on table 'v2Aa'.
delete from v2aA where col1 = (select max(col1) from t1Aa);
ERROR HY000: The definition of table 'v2aA' prevents operation DELETE on table 'v2aA'.
delete from v2Aa where col1 = (select max(col1) from v2aA);
-ERROR HY000: You can't specify target table 'v2Aa' for update in FROM clause
+ERROR HY000: Table 'v2Aa' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete v2Aa from v2aA,t2Aa where (select max(col1) from v1aA) > 0 and v2Aa.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v1aA' prevents operation DELETE on table 'v2aA'.
delete t1aA from t1Aa,t2Aa where (select max(col1) from v1Aa) > 0 and t1aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v1Aa' prevents operation DELETE on table 't1Aa'.
delete v1aA from v1Aa,t2Aa where (select max(col1) from v1aA) > 0 and v1Aa.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 'v1Aa' for update in FROM clause
+ERROR HY000: Table 'v1Aa' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete v2aA from v2Aa,t2Aa where (select max(col1) from t1Aa) > 0 and v2aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v2Aa' prevents operation DELETE on table 'v2Aa'.
delete t1aA from t1Aa,t2Aa where (select max(col1) from t1aA) > 0 and t1Aa.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 't1Aa' for update in FROM clause
+ERROR HY000: Table 't1Aa' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete v1aA from v1Aa,t2Aa where (select max(col1) from t1aA) > 0 and v1aA.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v1Aa' prevents operation DELETE on table 'v1Aa'.
delete v2Aa from v2aA,t2Aa where (select max(col1) from v2Aa) > 0 and v2aA.col1 = t2aA.col1;
-ERROR HY000: You can't specify target table 'v2aA' for update in FROM clause
+ERROR HY000: Table 'v2aA' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t1Aa from t1aA,t2Aa where (select max(col1) from v2Aa) > 0 and t1Aa.col1 = t2aA.col1;
ERROR HY000: The definition of table 'v2Aa' prevents operation DELETE on table 't1aA'.
delete v1Aa from v1aA,t2Aa where (select max(col1) from v2aA) > 0 and v1Aa.col1 = t2aA.col1;
@@ -98,15 +98,15 @@ ERROR HY000: The definition of table 'v1aA' prevents operation INSERT on table '
insert into v2Aa values ((select max(col1) from t1Aa));
ERROR HY000: The definition of table 'v2Aa' prevents operation INSERT on table 'v2Aa'.
insert into t1aA values ((select max(col1) from t1Aa));
-ERROR HY000: You can't specify target table 't1aA' for update in FROM clause
+ERROR HY000: Table 't1aA' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into v2aA values ((select max(col1) from t1aA));
ERROR HY000: The definition of table 'v2aA' prevents operation INSERT on table 'v2aA'.
insert into v2Aa values ((select max(col1) from v2aA));
-ERROR HY000: You can't specify target table 'v2Aa' for update in FROM clause
+ERROR HY000: Table 'v2Aa' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into t1Aa values ((select max(col1) from v2Aa));
ERROR HY000: The definition of table 'v2Aa' prevents operation INSERT on table 't1Aa'.
insert into v2aA values ((select max(col1) from v2Aa));
-ERROR HY000: You can't specify target table 'v2aA' for update in FROM clause
+ERROR HY000: Table 'v2aA' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into v3Aa (col1) values ((select max(col1) from v1Aa));
ERROR HY000: The definition of table 'v1Aa' prevents operation INSERT on table 'v3Aa'.
insert into v3aA (col1) values ((select max(col1) from t1aA));
diff --git a/mysql-test/r/merge.result b/mysql-test/r/merge.result
index 0feb1cdce98..89aaf48219e 100644
--- a/mysql-test/r/merge.result
+++ b/mysql-test/r/merge.result
@@ -3657,85 +3657,85 @@ insert into tmp (b) values (1);
insert into t1 (a) values (1);
insert into t3 (b) values (1);
insert into m1 (a) values ((select max(a) from m1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from m2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from t1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from t2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from t3, m1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from t3, m2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from t3, t1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from t3, t2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from tmp, m1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from tmp, m2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from tmp, t1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from tmp, t2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into m1 (a) values ((select max(a) from v1));
ERROR HY000: The definition of table 'v1' prevents operation INSERT on table 'm1'.
insert into m1 (a) values ((select max(a) from tmp, v1));
ERROR HY000: The definition of table 'v1' prevents operation INSERT on table 'm1'.
update m1 set a = ((select max(a) from m1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from m2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from t1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from t2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from t3, m1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from t3, m2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from t3, t1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from t3, t2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from tmp, m1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from tmp, m2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from tmp, t1));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from tmp, t2));
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update m1 set a = ((select max(a) from v1));
ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 'm1'.
update m1 set a = ((select max(a) from tmp, v1));
ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 'm1'.
delete from m1 where a = (select max(a) from m1);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from m2);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from t1);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from t2);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from t3, m1);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from t3, m2);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from t3, t1);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from t3, t2);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from tmp, m1);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from tmp, m2);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from tmp, t1);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from tmp, t2);
-ERROR HY000: You can't specify target table 'm1' for update in FROM clause
+ERROR HY000: Table 'm1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from m1 where a = (select max(a) from v1);
ERROR HY000: The definition of table 'v1' prevents operation DELETE on table 'm1'.
delete from m1 where a = (select max(a) from tmp, v1);
diff --git a/mysql-test/r/multi_update.result b/mysql-test/r/multi_update.result
index f49998da5f4..7fa9620f0e6 100644
--- a/mysql-test/r/multi_update.result
+++ b/mysql-test/r/multi_update.result
@@ -439,9 +439,9 @@ drop table t1, t2, t3;
create table t1 (col1 int);
create table t2 (col1 int);
update t1,t2 set t1.col1 = (select max(col1) from t1) where t1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
delete t1 from t1,t2 where t1.col1 < (select max(col1) from t1) and t1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
drop table t1,t2;
create table t1 (
aclid bigint not null primary key,
@@ -457,7 +457,7 @@ drop table t1, t2;
create table t1(a int);
create table t2(a int);
delete from t1,t2 using t1,t2 where t1.a=(select a from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
drop table t1, t2;
create table t1 ( c char(8) not null ) engine=innodb;
insert into t1 values ('0'),('1'),('2'),('3'),('4'),('5'),('6'),('7'),('8'),('9');
@@ -795,3 +795,25 @@ col_int_key pk_1 pk_2 col_int
1 7 11 4
DROP TABLE t1,t2;
end of 5.5 tests
+
+# Bug mdev-5970
+# Bug#13256831 - ERROR 1032 (HY000): CAN'T FIND RECORD
+
+CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 INT) ENGINE=InnoDB;
+CREATE TABLE t2 (f1 INT PRIMARY KEY, f2 INT) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (5, 7);
+INSERT INTO t2 VALUES (6, 97);
+CREATE ALGORITHM = MERGE VIEW v1 AS
+SELECT a2.f1 AS f1, a2.f2 AS f2
+FROM t1 AS a1 JOIN t2 AS a2 ON a1.f2 > a2.f1
+WITH LOCAL CHECK OPTION;
+SELECT * FROM v1;
+f1 f2
+6 97
+UPDATE v1 SET f1 = 1;
+SELECT * FROM v1;
+f1 f2
+1 97
+DROP TABLE t1, t2;
+DROP VIEW v1;
+end of 10.0 tests
diff --git a/mysql-test/r/myisampack.result b/mysql-test/r/myisampack.result
index 2cefa385048..a2ce12bffc1 100644
--- a/mysql-test/r/myisampack.result
+++ b/mysql-test/r/myisampack.result
@@ -150,3 +150,10 @@ CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK
DROP TABLE t1;
+#
+# BUG#11751736: DROP DATABASE STATEMENT SHOULD REMOVE .OLD SUFFIX FROM
+# DATABASE DIRECTORY
+#
+CREATE DATABASE db1;
+CREATE TABLE db1.t1(c1 INT) ENGINE=MyISAM;
+DROP DATABASE db1;
diff --git a/mysql-test/r/mysqld--help.result b/mysql-test/r/mysqld--help.result
index e5d6cbc0e31..5a468cdf236 100644
--- a/mysql-test/r/mysqld--help.result
+++ b/mysql-test/r/mysqld--help.result
@@ -212,6 +212,16 @@ The following options may be given as the first argument:
multiple masters), each independent source server must
use a distinct domain_id. For simple tree-shaped
replication topologies, it can be left at its default, 0.
+ --gtid-ignore-duplicates
+ When set, different master connections in multi-source
+ replication are allowed to receive and process event
+ groups with the same GTID (when using GTID mode). Only
+ one will be applied, any others will be ignored. Within a
+ given replication domain, just the sequence number will
+ be used to decide whether a given GTID has been already
+ applied; this means it is the responsibility of the user
+ to ensure that GTID sequence numbers are strictly
+ increasing.
--gtid-strict-mode Enforce strict seq_no ordering of events in the binary
log. Slave stops with an error if it encounters an event
that would cause it to generate an out-of-order binlog if
@@ -860,13 +870,29 @@ The following options may be given as the first argument:
--skip-slave-start If set, slave is not autostarted.
--slave-compressed-protocol
Use compression on master/slave protocol
+ --slave-ddl-exec-mode=name
+ How replication events should be executed. Legal values
+ are STRICT and IDEMPOTENT (default). In IDEMPOTENT mode,
+ replication will not stop for DDL operations that are
+ idempotent. This means that CREATE TABLE is treated as
+ CREATE TABLE OR REPLACE and DROP TABLE is treated as DROP
+ TABLE IF EXISTS.
+ --slave-domain-parallel-threads=#
+ Maximum number of parallel threads to use on slave for
+ events in a single replication domain. When using
+ multiple domains, this can be used to limit a single
+ domain from grabbing all threads and thus stalling other
+ domains. The default of 0 means to allow a domain to grab
+ as many threads as it wants, up to the value of
+ slave_parallel_threads.
--slave-exec-mode=name
- Modes for how replication events should be executed.
- Legal values are STRICT (default) and IDEMPOTENT. In
- IDEMPOTENT mode, replication will not stop for operations
- that are idempotent. In STRICT mode, replication will
- stop on any unexpected difference between the master and
- the slave
+ How replication events should be executed. Legal values
+ are STRICT (default) and IDEMPOTENT. In IDEMPOTENT mode,
+ replication will not stop for operations that are
+ idempotent. For example, in row based replication
+ attempts to delete rows that doesn't exist will be
+ ignored. In STRICT mode, replication will stop on any
+ unexpected difference between the master and the slave
--slave-load-tmpdir=name
The location where the slave should put its temporary
files when replicating a LOAD DATA INFILE command
@@ -882,11 +908,12 @@ The following options may be given as the first argument:
relay log looking for opportunities for parallel
replication. Only used when --slave-parallel-threads > 0.
--slave-parallel-threads=#
- Alpha feature, to only be used by developers doing
- testing! If non-zero, number of threads to spawn to apply
- in parallel events on the slave that were group-committed
- on the master or were logged with GTID in different
- replication domains.
+ If non-zero, number of threads to spawn to apply in
+ parallel events on the slave that were group-committed on
+ the master or were logged with GTID in different
+ replication domains. Note that these threads are in
+ addition to the IO and SQL threads, which are always
+ created by a replication slave
--slave-skip-errors=name
Tells the slave thread to continue replication when a
query event returns an error from the provided list
@@ -1007,7 +1034,7 @@ The following options may be given as the first argument:
(usually get from GUI tools)
--use-stat-tables=name
Specifies how to use system statistics tables. Possible
- values are NEVER, COMPLEMENTARY, PREVERABLY
+ values are NEVER, COMPLEMENTARY, PREFERABLY
-u, --user=name Run mysqld daemon as user.
--userstat Enables statistics gathering for USER_STATISTICS,
CLIENT_STATISTICS, INDEX_STATISTICS and TABLE_STATISTICS
@@ -1023,7 +1050,7 @@ auto-increment-increment 1
auto-increment-offset 1
autocommit TRUE
automatic-sp-privileges TRUE
-back-log 50
+back-log 150
big-tables FALSE
bind-address (No default value)
binlog-annotate-row-events FALSE
@@ -1077,6 +1104,7 @@ gdb FALSE
general-log FALSE
group-concat-max-len 1024
gtid-domain-id 0
+gtid-ignore-duplicates FALSE
gtid-strict-mode FALSE
help TRUE
histogram-size 0
@@ -1174,7 +1202,7 @@ old-style-user-limits FALSE
optimizer-prune-level 1
optimizer-search-depth 62
optimizer-selectivity-sampling-limit 100
-optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on
+optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on
optimizer-use-condition-selectivity 1
performance-schema TRUE
performance-schema-accounts-size 10
@@ -1225,7 +1253,8 @@ port 3306
port-open-timeout 0
preload-buffer-size 32768
profiling-history-size 15
-progress-report-time 56
+progress-report-time 5
+protocol-version 10
query-alloc-block-size 8192
query-cache-limit 1048576
query-cache-min-res-unit 4096
@@ -1264,6 +1293,8 @@ skip-networking FALSE
skip-show-database FALSE
skip-slave-start FALSE
slave-compressed-protocol FALSE
+slave-ddl-exec-mode IDEMPOTENT
+slave-domain-parallel-threads 0
slave-exec-mode STRICT
slave-max-allowed-packet 1073741824
slave-net-timeout 3600
diff --git a/mysql-test/r/mysqldump.result b/mysql-test/r/mysqldump.result
index a473279ce40..c67a7a00425 100644
--- a/mysql-test/r/mysqldump.result
+++ b/mysql-test/r/mysqldump.result
@@ -5265,6 +5265,20 @@ slow_log CREATE TABLE `slow_log` (
SET @@global.log_output= @old_log_output_state;
SET @@global.slow_query_log= @old_slow_query_log_state;
SET @@global.general_log= @old_general_log_state;
+# MDEV-5481 mysqldump fails to dump geometry types properly
+create table t1 (g GEOMETRY) CHARSET koi8r;
+create table t2 (g GEOMETRY) CHARSET koi8r;
+insert into t1 values (point(1,1)), (point(2,2));
+##################################################
+\0\0\0\0\0\0\0\0\0\0\0\0\0ð?\0\0\0\0\0\0ð?
+\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@
+##################################################
+LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET koi8r;
+select astext(g) from t2;
+astext(g)
+POINT(1 1)
+POINT(2 2)
+drop table t1, t2;
#
# End of 5.1 tests
#
diff --git a/mysql-test/r/not_embedded_server.result b/mysql-test/r/not_embedded_server.result
index 33c8bfdb5d6..2295276099a 100644
--- a/mysql-test/r/not_embedded_server.result
+++ b/mysql-test/r/not_embedded_server.result
@@ -48,3 +48,88 @@ DROP USER nopriv_user@localhost;
#
# End Bug#54812
#
+
+#
+# Test for Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES
+# IGNORED AND BREAKS REPLICATION
+#
+SET @org_mode=@@sql_mode;
+SET @@sql_mode='';
+# USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION
+CREATE USER 'user\'s_12601974'@'localhost';
+CREATE USER 'user\'s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\'s_12601974'@'localhost'
+DROP USER 'user\'s_12601974'@'localhost';
+CREATE USER 'user\"s_12601974'@'localhost';
+CREATE USER 'user\"s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\"s_12601974'@'localhost'
+DROP USER 'user\"s_12601974'@'localhost';
+CREATE USER 'user\bs_12601974'@'localhost';
+CREATE USER 'user\bs_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'users_12601974'@'localhost'
+DROP USER 'user\bs_12601974'@'localhost';
+CREATE USER 'user\ns_12601974'@'localhost';
+CREATE USER 'user\ns_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\ns_12601974'@'localhost'
+DROP USER 'user\ns_12601974'@'localhost';
+CREATE USER 'user\rs_12601974'@'localhost';
+CREATE USER 'user\rs_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\rs_12601974'@'localhost'
+DROP USER 'user\rs_12601974'@'localhost';
+CREATE USER 'user\ts_12601974'@'localhost';
+CREATE USER 'user\ts_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user s_12601974'@'localhost'
+DROP USER 'user\ts_12601974'@'localhost';
+CREATE USER 'user\\s_12601974'@'localhost';
+CREATE USER 'user\\s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\\s_12601974'@'localhost'
+DROP USER 'user\\s_12601974'@'localhost';
+CREATE USER 'user\%s_12601974'@'localhost';
+CREATE USER 'user\%s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\\%s_12601974'@'localhost'
+DROP USER 'user\%s_12601974'@'localhost';
+CREATE USER 'user\_s_12601974'@'localhost';
+CREATE USER 'user\_s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\\_s_12601974'@'localhost'
+DROP USER 'user\_s_12601974'@'localhost';
+
+# END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION
+SET @@sql_mode='NO_BACKSLASH_ESCAPES';
+# USER NAME CONTAINING BACKSLASH IN DROP USER OPERATION
+CREATE USER 'user\"s_12601974'@'localhost';
+CREATE USER 'user\"s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\"s_12601974'@'localhost'
+DROP USER 'user\"s_12601974'@'localhost';
+CREATE USER 'user\bs_12601974'@'localhost';
+CREATE USER 'user\bs_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\bs_12601974'@'localhost'
+DROP USER 'user\bs_12601974'@'localhost';
+CREATE USER 'user\ns_12601974'@'localhost';
+CREATE USER 'user\ns_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\ns_12601974'@'localhost'
+DROP USER 'user\ns_12601974'@'localhost';
+CREATE USER 'user\rs_12601974'@'localhost';
+CREATE USER 'user\rs_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\rs_12601974'@'localhost'
+DROP USER 'user\rs_12601974'@'localhost';
+CREATE USER 'user\ts_12601974'@'localhost';
+CREATE USER 'user\ts_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\ts_12601974'@'localhost'
+DROP USER 'user\ts_12601974'@'localhost';
+CREATE USER 'user\\s_12601974'@'localhost';
+CREATE USER 'user\\s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\\s_12601974'@'localhost'
+DROP USER 'user\\s_12601974'@'localhost';
+CREATE USER 'user\%s_12601974'@'localhost';
+CREATE USER 'user\%s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\%s_12601974'@'localhost'
+DROP USER 'user\%s_12601974'@'localhost';
+CREATE USER 'user\_s_12601974'@'localhost';
+CREATE USER 'user\_s_12601974'@'localhost';
+ERROR HY000: Operation CREATE USER failed for 'user\_s_12601974'@'localhost'
+DROP USER 'user\_s_12601974'@'localhost';
+
+# END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION
+SET @@sql_mode= @org_mode;
+
+#End of Test for Bug#12601974
diff --git a/mysql-test/r/not_partition.result b/mysql-test/r/not_partition.result
index 8bff8708a86..3d6f3fe39a3 100644
--- a/mysql-test/r/not_partition.result
+++ b/mysql-test/r/not_partition.result
@@ -85,3 +85,17 @@ explain partitions select * from t1 where a='a ' OR a='a';
id select_type table partitions type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL 5 Using where
drop table t1;
+#
+# bug#11760213-52599: ALTER TABLE REMOVE PARTITIONING ON NON-PARTITIONED
+# TABLE CORRUPTS MYISAM
+DROP TABLE if exists `t1`;
+CREATE TABLE `t1`(`a` INT)ENGINE=myisam;
+ALTER TABLE `t1` ADD COLUMN `b` INT;
+CREATE UNIQUE INDEX `i1` ON `t1`(`b`);
+CREATE UNIQUE INDEX `i2` ON `t1`(`a`);
+ALTER TABLE `t1` ADD PRIMARY KEY (`a`);
+ALTER TABLE `t1` REMOVE PARTITIONING;
+CHECK TABLE `t1` EXTENDED;
+Table Op Msg_type Msg_text
+test.t1 check status OK
+DROP TABLE t1;
diff --git a/mysql-test/r/old-mode.result b/mysql-test/r/old-mode.result
index eec08d4d5c8..b7e1ee26391 100644
--- a/mysql-test/r/old-mode.result
+++ b/mysql-test/r/old-mode.result
@@ -19,3 +19,84 @@ drop table t1,t2;
SHOW PROCESSLIST;
Id User Host db Command Time State Info
<Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST
+#
+# MDEV-5372 Make "CAST(time_expr AS DATETIME)" compatible with the SQL Standard)
+#
+set @@old_mode=zero_date_time_cast;
+SELECT CAST(TIME'-10:30:30' AS DATETIME);
+CAST(TIME'-10:30:30' AS DATETIME)
+NULL
+Warnings:
+Warning 1292 Truncated incorrect datetime value: '-10:30:30'
+SELECT CAST(TIME'10:20:30' AS DATETIME);
+CAST(TIME'10:20:30' AS DATETIME)
+0000-00-00 10:20:30
+SELECT CAST(TIME'830:20:30' AS DATETIME);
+CAST(TIME'830:20:30' AS DATETIME)
+0000-01-03 14:20:30
+CREATE TABLE t1 (a DATETIME);
+INSERT INTO t1 VALUES (TIME'-10:20:30');
+Warnings:
+Warning 1265 Data truncated for column 'a' at row 1
+INSERT INTO t1 VALUES (TIME'10:20:30');
+INSERT INTO t1 VALUES (TIME'830:20:30');
+SELECT * FROM t1;
+a
+0000-00-00 00:00:00
+0000-00-00 10:20:30
+0000-01-03 14:20:30
+DROP TABLE t1;
+CREATE TABLE t1 (a TIMESTAMP);
+INSERT INTO t1 VALUES (TIME'-10:20:30');
+Warnings:
+Warning 1265 Data truncated for column 'a' at row 1
+INSERT INTO t1 VALUES (TIME'10:20:30');
+Warnings:
+Warning 1265 Data truncated for column 'a' at row 1
+INSERT INTO t1 VALUES (TIME'830:20:30');
+Warnings:
+Warning 1264 Out of range value for column 'a' at row 1
+SELECT * FROM t1;
+a
+0000-00-00 00:00:00
+0000-00-00 00:00:00
+0000-00-00 00:00:00
+DROP TABLE t1;
+CREATE TABLE t1 (a TIME);
+INSERT INTO t1 VALUES (TIME'-10:20:30');
+INSERT INTO t1 VALUES (TIME'10:20:30');
+INSERT INTO t1 VALUES (TIME'830:20:30');
+SELECT a, CAST(a AS DATETIME), TO_DAYS(a) FROM t1;
+a CAST(a AS DATETIME) TO_DAYS(a)
+-10:20:30 NULL NULL
+10:20:30 0000-00-00 10:20:30 NULL
+830:20:30 0000-01-03 14:20:30 NULL
+Warnings:
+Warning 1292 Truncated incorrect datetime value: '-10:20:30'
+Warning 1264 Out of range value for column 'a' at row 1
+Warning 1264 Out of range value for column 'a' at row 2
+Warning 1264 Out of range value for column 'a' at row 3
+DROP TABLE t1;
+SELECT TO_DAYS(TIME'-10:20:30');
+TO_DAYS(TIME'-10:20:30')
+NULL
+Warnings:
+Warning 1292 Truncated incorrect datetime value: '-10:20:30'
+SELECT TO_DAYS(TIME'10:20:30');
+TO_DAYS(TIME'10:20:30')
+NULL
+Warnings:
+Warning 1292 Truncated incorrect datetime value: '10:20:30'
+SELECT TO_DAYS(TIME'830:20:30');
+TO_DAYS(TIME'830:20:30')
+3
+CREATE TABLE t1 (a DATETIME, b TIME);
+INSERT INTO t1 VALUES (NULL, '00:20:12');
+INSERT INTO t1 VALUES (NULL, '-00:20:12');
+SELECT IF(1,ADDDATE(IFNULL(a,b),0),1) FROM t1;
+IF(1,ADDDATE(IFNULL(a,b),0),1)
+0000-00-00 00:20:12
+NULL
+Warnings:
+Warning 1292 Truncated incorrect datetime value: '-00:20:12'
+DROP TABLE t1;
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result
index e57715d1eb6..b8011656415 100644
--- a/mysql-test/r/partition.result
+++ b/mysql-test/r/partition.result
@@ -2534,6 +2534,34 @@ i
3
4
DROP TABLE t1;
+#
+# MDEV-5555: Incorrect index_merge on BTREE indices
+#
+CREATE TABLE t1 (
+id bigint(20) unsigned NOT NULL,
+id2 bigint(20) unsigned NOT NULL,
+dob date DEFAULT NULL,
+address char(100) DEFAULT NULL,
+city char(35) DEFAULT NULL,
+hours_worked_per_week smallint(5) unsigned DEFAULT NULL,
+weeks_worked_last_year tinyint(3) unsigned DEFAULT NULL,
+KEY dob (dob),
+KEY address (address),
+KEY city (city),
+KEY hours_worked_per_week (hours_worked_per_week),
+KEY weeks_worked_last_year (weeks_worked_last_year)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+PARTITION BY KEY (id) PARTITIONS 5;
+# Insert some rows
+select * from t1 where hours_worked_per_week = 40 and weeks_worked_last_year = 52 and dob < '1949-11-21';
+id id2 dob address city hours_worked_per_week weeks_worked_last_year
+16 16 1949-11-07 address16 city16 40 52
+50 50 1923-09-08 address50 city50 40 52
+select * from t1 IGNORE INDEX(dob, weeks_worked_last_year, hours_worked_per_week) where hours_worked_per_week = 40 and weeks_worked_last_year = 52 and dob < '1949-11-21';
+id id2 dob address city hours_worked_per_week weeks_worked_last_year
+16 16 1949-11-07 address16 city16 40 52
+50 50 1923-09-08 address50 city50 40 52
+drop table t1;
CREATE TABLE t1 ( d DATE NOT NULL)
PARTITION BY RANGE( YEAR(d) ) (
PARTITION p0 VALUES LESS THAN (1960),
diff --git a/mysql-test/r/partition_debug_sync.result b/mysql-test/r/partition_debug_sync.result
index c30651c1c0d..7abe0163a98 100644
--- a/mysql-test/r/partition_debug_sync.result
+++ b/mysql-test/r/partition_debug_sync.result
@@ -84,4 +84,5 @@ SELECT 1;
# Con1
UNLOCK TABLES;
# Default
+SET DEBUG_SYNC = 'RESET';
DROP TABLE t1, t2;
diff --git a/mysql-test/r/partition_disabled.result b/mysql-test/r/partition_disabled.result
index edf3a56d9b2..c78552beb9d 100644
--- a/mysql-test/r/partition_disabled.result
+++ b/mysql-test/r/partition_disabled.result
@@ -91,3 +91,18 @@ explain partitions select * from t1 where a='a ' OR a='a';
id select_type table partitions type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL 5 Using where
drop table t1;
+#
+# bug#11760213-52599: ALTER TABLE REMOVE PARTITIONING ON NON-PARTITIONED
+# TABLE CORRUPTS MYISAM
+DROP TABLE if exists `t1`;
+CREATE TABLE `t1`(`a` INT)ENGINE=myisam;
+ALTER TABLE `t1` ADD COLUMN `b` INT;
+CREATE UNIQUE INDEX `i1` ON `t1`(`b`);
+CREATE UNIQUE INDEX `i2` ON `t1`(`a`);
+ALTER TABLE `t1` ADD PRIMARY KEY (`a`);
+ALTER TABLE `t1` REMOVE PARTITIONING;
+ERROR HY000: Partition management on a not partitioned table is not possible
+CHECK TABLE `t1` EXTENDED;
+Table Op Msg_type Msg_text
+test.t1 check status OK
+DROP TABLE t1;
diff --git a/mysql-test/r/partition_error.result b/mysql-test/r/partition_error.result
index fb327e937f4..41ede085623 100644
--- a/mysql-test/r/partition_error.result
+++ b/mysql-test/r/partition_error.result
@@ -1764,3 +1764,99 @@ PARTITION pmax VALUES LESS THAN MAXVALUE);
ERROR HY000: Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
DROP TABLE t1;
End of 5.1 tests
+CREATE TABLE t1 (a INT)
+PARTITION BY LIST (a)
+SUBPARTITION BY HASH (a) SUBPARTITIONS 2
+(PARTITION p1 VALUES IN (1) COMMENT "Comment in p1"
+ (SUBPARTITION p1spFirst COMMENT "SubPartition comment in p1spFirst",
+SUBPARTITION p1spSecond COMMENT "SubPartition comment in p1spSecond"),
+PARTITION p2 VALUES IN (2) COMMENT "Comment in p2"
+ (SUBPARTITION p2spFirst COMMENT "SubPartition comment in p2spFirst",
+SUBPARTITION p2spSecond COMMENT "SubPartition comment in p2spSecond"));
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+/*!50100 PARTITION BY LIST (a)
+SUBPARTITION BY HASH (a)
+(PARTITION p1 VALUES IN (1)
+ (SUBPARTITION p1spFirst COMMENT = 'SubPartition comment in p1spFirst' ENGINE = MyISAM,
+ SUBPARTITION p1spSecond COMMENT = 'SubPartition comment in p1spSecond' ENGINE = MyISAM),
+ PARTITION p2 VALUES IN (2)
+ (SUBPARTITION p2spFirst COMMENT = 'SubPartition comment in p2spFirst' ENGINE = MyISAM,
+ SUBPARTITION p2spSecond COMMENT = 'SubPartition comment in p2spSecond' ENGINE = MyISAM)) */
+SELECT PARTITION_NAME, SUBPARTITION_NAME, PARTITION_COMMENT FROM INFORMATION_SCHEMA.PARTITIONS
+WHERE TABLE_NAME = 't1' AND TABLE_SCHEMA = 'test';
+PARTITION_NAME SUBPARTITION_NAME PARTITION_COMMENT
+p1 p1spFirst SubPartition comment in p1spFirst
+p1 p1spSecond SubPartition comment in p1spSecond
+p2 p2spFirst SubPartition comment in p2spFirst
+p2 p2spSecond SubPartition comment in p2spSecond
+DROP TABLE t1;
+CREATE TABLE t1 (a INT)
+PARTITION BY LIST (a)
+SUBPARTITION BY HASH (a) SUBPARTITIONS 2
+(PARTITION p1 VALUES IN (1)
+(SUBPARTITION p1spFirst COMMENT "SubPartition comment in p1spFirst",
+SUBPARTITION p1spSecond),
+PARTITION p2 VALUES IN (2) COMMENT "Comment in p2"
+ (SUBPARTITION p2spFirst,
+SUBPARTITION p2spSecond COMMENT "SubPartition comment in p2spSecond"));
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+/*!50100 PARTITION BY LIST (a)
+SUBPARTITION BY HASH (a)
+(PARTITION p1 VALUES IN (1)
+ (SUBPARTITION p1spFirst COMMENT = 'SubPartition comment in p1spFirst' ENGINE = MyISAM,
+ SUBPARTITION p1spSecond ENGINE = MyISAM),
+ PARTITION p2 VALUES IN (2)
+ (SUBPARTITION p2spFirst COMMENT = 'Comment in p2' ENGINE = MyISAM,
+ SUBPARTITION p2spSecond COMMENT = 'SubPartition comment in p2spSecond' ENGINE = MyISAM)) */
+SELECT PARTITION_NAME, SUBPARTITION_NAME, PARTITION_COMMENT FROM INFORMATION_SCHEMA.PARTITIONS
+WHERE TABLE_NAME = 't1' AND TABLE_SCHEMA = 'test';
+PARTITION_NAME SUBPARTITION_NAME PARTITION_COMMENT
+p1 p1spFirst SubPartition comment in p1spFirst
+p1 p1spSecond
+p2 p2spFirst Comment in p2
+p2 p2spSecond SubPartition comment in p2spSecond
+DROP TABLE t1;
+CREATE TABLE t1
+(a INT ,
+KEY inx_a (a) )
+PARTITION BY RANGE (a)
+SUBPARTITION BY HASH (a) SUBPARTITIONS 2
+(PARTITION pUpTo10 VALUES LESS THAN (10) COMMENT
+"This is a long comment (2050 ascii characters) 50 pUpTo10 partition ......80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1500 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 2000 ......................................2048-|++"
+ (SUBPARTITION `p-10sp0` ,SUBPARTITION `p-10sp1` ),
+PARTITION pMax VALUES LESS THAN MAXVALUE COMMENT
+"This is a long comment (2050 ascii characters) 50 pMax partition comment .80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1500 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 2000 ......................................2048-|++"
+ (SUBPARTITION `pMaxsp0` ,SUBPARTITION `pMaxsp1` ));
+Warnings:
+Warning 1793 Comment for table partition 'pUpTo10' is too long (max = 1024)
+Warning 1793 Comment for table partition 'pMax' is too long (max = 1024)
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL,
+ KEY `inx_a` (`a`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+/*!50100 PARTITION BY RANGE (a)
+SUBPARTITION BY HASH (a)
+(PARTITION pUpTo10 VALUES LESS THAN (10)
+ (SUBPARTITION `p-10sp0` COMMENT = 'This is a long comment (2050 ascii characters) 50 pUpTo10 partition ......80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|' ENGINE = MyISAM,
+ SUBPARTITION `p-10sp1` COMMENT = 'This is a long comment (2050 ascii characters) 50 pUpTo10 partition ......80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|' ENGINE = MyISAM),
+ PARTITION pMax VALUES LESS THAN MAXVALUE
+ (SUBPARTITION pMaxsp0 COMMENT = 'This is a long comment (2050 ascii characters) 50 pMax partition comment .80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|' ENGINE = MyISAM,
+ SUBPARTITION pMaxsp1 COMMENT = 'This is a long comment (2050 ascii characters) 50 pMax partition comment .80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|' ENGINE = MyISAM)) */
+SELECT PARTITION_NAME, SUBPARTITION_NAME, PARTITION_COMMENT FROM INFORMATION_SCHEMA.PARTITIONS
+WHERE TABLE_NAME = 't1' AND TABLE_SCHEMA = 'test';
+PARTITION_NAME SUBPARTITION_NAME PARTITION_COMMENT
+pUpTo10 p-10sp0 This is a long comment (2050 ascii characters) 50 pUpTo10 partition ......80-!
+pUpTo10 p-10sp1 This is a long comment (2050 ascii characters) 50 pUpTo10 partition ......80-!
+pMax pMaxsp0 This is a long comment (2050 ascii characters) 50 pMax partition comment .80-!
+pMax pMaxsp1 This is a long comment (2050 ascii characters) 50 pMax partition comment .80-!
+DROP TABLE t1;
diff --git a/mysql-test/r/partition_exchange.result b/mysql-test/r/partition_exchange.result
index 36499004869..fec08e99c72 100644
--- a/mysql-test/r/partition_exchange.result
+++ b/mysql-test/r/partition_exchange.result
@@ -1088,7 +1088,7 @@ ALTER TABLE t PARTITION BY RANGE (UNIX_TIMESTAMP(event_time) DIV 1)
(PARTITION p0 VALUES LESS THAN (123456789),
PARTITION pMAX VALUES LESS THAN MAXVALUE);
ALTER TABLE t EXCHANGE PARTITION p0 WITH TABLE general_log;
-ERROR HY000: Incorrect usage of PARTITION and log table
+ERROR HY000: You cannot 'ALTER PARTITION' a log table if logging is enabled
ALTER TABLE general_log ENGINE = CSV;
SET @@global.general_log = @old_general_log_state;
DROP TABLE t;
diff --git a/mysql-test/r/partition_innodb.result b/mysql-test/r/partition_innodb.result
index 9a837cb4b5b..82ccbe9c6a8 100644
--- a/mysql-test/r/partition_innodb.result
+++ b/mysql-test/r/partition_innodb.result
@@ -654,4 +654,75 @@ col1 col2 col3
1 2 2013-03-11 16:33:04
1 2 2013-03-11 16:33:24
DROP TABLE t1;
+#
+# MDEV-5177: ha_partition and innodb index intersection produce fewer rows (MySQL Bug#70703)
+#
+create table t1 (
+a int not null,
+b int not null,
+pk int not null,
+primary key (pk),
+key(a),
+key(b)
+) engine=innodb partition by hash(pk) partitions 10;
+insert into t1 values (1,2,4);
+insert into t1 values (1,0,17);
+insert into t1 values (1,2,25);
+insert into t1 values (10,20,122);
+insert into t1 values (10,20,123);
+create table t2 (a int);
+insert into t2 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+insert into t1 select 1,2, 200 + A.a + 10*B.a + 100*C.a from t2 A, t2 B, t2 C;
+insert into t1 select 10+A.a + 10*B.a + 100*C.a + 1000*D.a,
+10+A.a + 10*B.a + 100*C.a + 1000*D.a,
+2000 + A.a + 10*B.a + 100*C.a + 1000*D.a
+from t2 A, t2 B, t2 C ,t2 D;
+explain select * from t1 where a=1 and b=2 and pk between 1 and 999999 ;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 index_merge PRIMARY,a,b b,a 4,4 NULL # Using intersect(b,a); Using where; Using index
+create temporary table t3 as
+select * from t1 where a=1 and b=2 and pk between 1 and 999 ;
+select count(*) from t3;
+count(*)
+802
+drop table t3;
+create temporary table t3 as
+select * from t1 ignore index(a,b) where a=1 and b=2 and pk between 1 and 999 ;
+select count(*) from t3;
+count(*)
+802
+drop table t3;
+drop table t1,t2;
+#
+# MDEV-5963: InnoDB: Assertion failure in file row0sel.cc line 2503,
+# Failing assertion: 0 with "key ptr now exceeds key end by 762 bytes"
+# (independent testcase for Oracle Bug#13947868)
+#
+CREATE TABLE t1 (f1 VARCHAR(512) CHARACTER SET utf8) ENGINE=InnoDB;
+INSERT INTO t1 VALUES ('j');
+CREATE TABLE t2 (
+f2 VARCHAR(5) CHARACTER SET latin1,
+f3 VARCHAR(5) CHARACTER SET utf8,
+f4 INT,
+f5 VARCHAR(512) CHARACTER SET utf8,
+f6 VARCHAR(256) CHARACTER SET utf8,
+key (f2),
+key (f3),
+key (f5)
+) ENGINE=InnoDB PARTITION BY LIST COLUMNS (f4)
+SUBPARTITION BY KEY(f6) SUBPARTITIONS 4 (
+PARTITION p0 VALUES IN (1,3,9,null),
+PARTITION p1 VALUES IN (2,4,0)
+);
+Warnings:
+Warning 1071 Specified key was too long; max key length is 767 bytes
+INSERT INTO t2 VALUES
+('k','s',3,'b','j'),('a','b',NULL,'v','j'),('c','m',9,'t',NULL),
+('b','l',9,'b',NULL),('i','y',3,'o','w'),('c','m',NULL,'a','m'),
+('f','o',9,'m','w'),('f','q',NULL,'o','a');
+CREATE TABLE t3 LIKE t2;
+SELECT * FROM t1 INNER JOIN t2 ON ( f5 = f1 );
+f1 f2 f3 f4 f5 f6
+INSERT INTO t3 SELECT * FROM t2 WHERE f3 = 'm' AND f2 ='c';
+DROP TABLE t1,t2,t3;
set global default_storage_engine=default;
diff --git a/mysql-test/r/partition_order.result b/mysql-test/r/partition_order.result
index 78ff7cd3121..cecfc90eefb 100644
--- a/mysql-test/r/partition_order.result
+++ b/mysql-test/r/partition_order.result
@@ -734,8 +734,8 @@ a b
7 1
35 2
3 3
-2 4
30 4
+2 4
4 5
6 6
select * from t1 force index (b) where b < 10 ORDER BY b;
@@ -744,8 +744,8 @@ a b
7 1
35 2
3 3
-2 4
30 4
+2 4
4 5
6 6
select * from t1 force index (b) where b < 10 ORDER BY b DESC;
diff --git a/mysql-test/r/partition_windows.result b/mysql-test/r/partition_windows.result
index 756690925f8..dabcedcb3f9 100644
--- a/mysql-test/r/partition_windows.result
+++ b/mysql-test/r/partition_windows.result
@@ -26,5 +26,9 @@ ALTER TABLE t1 ADD PARTITION (PARTITION p3 DATA DIRECTORY = 'G:/mysqltest/p3Data
Warnings:
Warning 1618 <DATA DIRECTORY> option ignored
Warning 1618 <INDEX DIRECTORY> option ignored
+Warning 1618 <DATA DIRECTORY> option ignored
+Warning 1618 <INDEX DIRECTORY> option ignored
+Warning 1618 <DATA DIRECTORY> option ignored
+Warning 1618 <INDEX DIRECTORY> option ignored
INSERT INTO t1 VALUES (NULL, "last", 4);
DROP TABLE t1;
diff --git a/mysql-test/r/plugin.result b/mysql-test/r/plugin.result
index d304f094987..54693eaee56 100644
--- a/mysql-test/r/plugin.result
+++ b/mysql-test/r/plugin.result
@@ -127,7 +127,7 @@ drop table t1;
SET @OLD_SQL_MODE=@@SQL_MODE;
SET SQL_MODE='IGNORE_BAD_TABLE_OPTIONS';
#illegal value fixed
-CREATE TABLE t1 (a int) ENGINE=example ULL=10000000000000000000 one_or_two='ttt' YESNO=SSS;
+CREATE TABLE t1 (a int, b int) ENGINE=example ULL=10000000000000000000 one_or_two='ttt' YESNO=SSS;
Warnings:
Warning 1912 Incorrect value '10000000000000000000' for option 'ULL'
Warning 1912 Incorrect value 'ttt' for option 'one_or_two'
@@ -135,7 +135,8 @@ Warning 1912 Incorrect value 'SSS' for option 'YESNO'
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `a` int(11) DEFAULT NULL
+ `a` int(11) DEFAULT NULL,
+ `b` int(11) DEFAULT NULL
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `ULL`=10000000000000000000 `one_or_two`='ttt' `YESNO`=SSS `VAROPT`='5'
#alter table
alter table t1 ULL=10000000;
@@ -144,7 +145,8 @@ Note 1105 EXAMPLE DEBUG: ULL 4294967290 -> 10000000
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `a` int(11) DEFAULT NULL
+ `a` int(11) DEFAULT NULL,
+ `b` int(11) DEFAULT NULL
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `one_or_two`='ttt' `YESNO`=SSS `VAROPT`='5' `ULL`=10000000
alter table t1 change a a int complex='c,c,c';
Warnings:
@@ -152,15 +154,15 @@ Note 1105 EXAMPLE DEBUG: Field `a` COMPLEX '(null)' -> 'c,c,c'
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `a` int(11) DEFAULT NULL `complex`='c,c,c'
+ `a` int(11) DEFAULT NULL `complex`='c,c,c',
+ `b` int(11) DEFAULT NULL
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `one_or_two`='ttt' `YESNO`=SSS `VAROPT`='5' `ULL`=10000000
alter table t1 one_or_two=two;
-Warnings:
-Note 1105 EXAMPLE DEBUG: Field `a` COMPLEX 'c,c,c' -> 'c,c,c'
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `a` int(11) DEFAULT NULL `complex`='c,c,c'
+ `a` int(11) DEFAULT NULL `complex`='c,c,c',
+ `b` int(11) DEFAULT NULL
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `YESNO`=SSS `VAROPT`='5' `ULL`=10000000 `one_or_two`=two
drop table t1;
#illegal value error
@@ -204,8 +206,6 @@ t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `varopt`=15
alter table t1 varopt=default;
-Warnings:
-Note 1105 EXAMPLE DEBUG: Field `a` COMPLEX '(null)' -> '(null)'
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
diff --git a/mysql-test/r/plugin_auth_qa_3.result b/mysql-test/r/plugin_auth_qa_3.result
index dd4fb76ff8d..62a37a21478 100644
--- a/mysql-test/r/plugin_auth_qa_3.result
+++ b/mysql-test/r/plugin_auth_qa_3.result
@@ -6,6 +6,6 @@ exec MYSQL --default_auth=qa_auth_client -h localhost -P MASTER_MYPORT -u qa_tes
current_user() user() @@local.proxy_user @@local.external_user
qa_test_11_dest@% qa_test_11_user@localhost 'qa_test_11_user'@'%' NULL
exec MYSQL --default_auth=qa_auth_client -h localhost -P MASTER_MYPORT -u qa_test_2_user --password=qa_test_11_dest test_user_db -e "SELECT current_user(),user(),@@local.proxy_user,@@local.external_user;" 2>&1
-ERROR 1045 (28000): Access denied for user 'qa_test_2_user'@'localhost' (using password: NO)
+ERROR 1045 (28000): Access denied for user 'qa_test_2_user'@'localhost' (using password: YES)
DROP USER qa_test_11_user, qa_test_11_dest;
DROP DATABASE test_user_db;
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result
index 4ac47bb8554..ec680b112a3 100644
--- a/mysql-test/r/ps.result
+++ b/mysql-test/r/ps.result
@@ -4041,3 +4041,14 @@ DEALLOCATE PREPARE stmt;
DROP VIEW v2;
DROP TABLE t1, t2;
# End of 5.3 tests
+#
+# MDEV-5505: Assertion `! is_set()' fails on PREPARE SELECT
+# with out of range in GROUP BY
+#
+CREATE TABLE t1 (a INT);
+PREPARE stmt FROM "SELECT 1 FROM t1 GROUP BY 0 OR 18446744073709551615+1";
+ERROR 22003: BIGINT UNSIGNED value is out of range in '(18446744073709551615 + 1)'
+SELECT 1 FROM t1 GROUP BY 0 OR 18446744073709551615+1;
+ERROR 22003: BIGINT UNSIGNED value is out of range in '(18446744073709551615 + 1)'
+drop table t1;
+# End of 5.3 tests
diff --git a/mysql-test/r/ps_ddl.result b/mysql-test/r/ps_ddl.result
index 8284e974574..dec0d12c455 100644
--- a/mysql-test/r/ps_ddl.result
+++ b/mysql-test/r/ps_ddl.result
@@ -1930,7 +1930,7 @@ SUCCESS
execute stmt;
ERROR 42S01: Table 't2' already exists
-call p_verify_reprepare_count(1);
+call p_verify_reprepare_count(0);
SUCCESS
execute stmt;
@@ -1946,7 +1946,7 @@ SUCCESS
execute stmt;
ERROR 42S01: Table 't2' already exists
-call p_verify_reprepare_count(1);
+call p_verify_reprepare_count(0);
SUCCESS
drop temporary table t2;
@@ -1964,7 +1964,7 @@ drop table t2;
create view t2 as select 1;
execute stmt;
Got one of the listed errors
-call p_verify_reprepare_count(1);
+call p_verify_reprepare_count(0);
SUCCESS
execute stmt;
diff --git a/mysql-test/r/range.result b/mysql-test/r/range.result
index c0c67bd3e33..01be3cbfe2c 100644
--- a/mysql-test/r/range.result
+++ b/mysql-test/r/range.result
@@ -2047,6 +2047,71 @@ f1 f2 f3 f4
DROP TABLE t1;
DROP VIEW v3;
#
+# BUG#13731380: RANGE OPTIMIZER CALLS RECORDS_IN_RANGE() FOR OPEN RANGE
+#
+CREATE TABLE t1 (pk INT PRIMARY KEY);
+INSERT INTO t1 VALUES (1),(3),(5);
+SELECT * FROM t1 WHERE pk <> 3 OR pk < 4;
+pk
+1
+3
+5
+DROP TABLE t1;
+#
+# BUG#13803810: TOO FEW ROWS RETURNED FOR RANGE ACCESS IN
+# VARCHAR INDEX USING DATETIME VALUE
+
+CREATE TABLE t1 (a DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 00:00:00');
+INSERT INTO t1 VALUES ('2001-01-01 11:22:33');
+CREATE TABLE t2 (b VARCHAR(64), KEY (b));
+INSERT INTO t2 VALUES ('2001-01-01');
+INSERT INTO t2 VALUES ('2001.01.01');
+INSERT INTO t2 VALUES ('2001#01#01');
+INSERT INTO t2 VALUES ('2001-01-01 00:00:00');
+INSERT INTO t2 VALUES ('2001-01-01 11:22:33');
+
+# range/ref access cannot be used for this query
+
+EXPLAIN SELECT * FROM t2 WHERE b=CAST('2001-01-01' AS DATE);
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t2 index b b 67 NULL 5 Using where; Using index
+SELECT * FROM t2 WHERE b=CAST('2001-01-01' AS DATE);
+b
+2001#01#01
+2001-01-01
+2001-01-01 00:00:00
+2001.01.01
+
+# range/ref access cannot be used for any of the queries below.
+# See BUG#13814468 about 'Range checked for each record'
+
+EXPLAIN SELECT * FROM t1, t2 WHERE a=b ORDER BY BINARY a, BINARY b;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using temporary; Using filesort
+1 SIMPLE t2 ALL b NULL NULL NULL 5 Range checked for each record (index map: 0x1)
+SELECT * FROM t1, t2 WHERE a=b ORDER BY BINARY a, BINARY b;
+a b
+2001-01-01 00:00:00 2001#01#01
+2001-01-01 00:00:00 2001-01-01
+2001-01-01 00:00:00 2001-01-01 00:00:00
+2001-01-01 00:00:00 2001.01.01
+2001-01-01 11:22:33 2001-01-01 11:22:33
+
+EXPLAIN SELECT * FROM t1, t2 WHERE b=a ORDER BY BINARY a, BINARY b;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using temporary; Using filesort
+1 SIMPLE t2 ALL b NULL NULL NULL 5 Range checked for each record (index map: 0x1)
+SELECT * FROM t1, t2 WHERE b=a ORDER BY BINARY a, BINARY b;
+a b
+2001-01-01 00:00:00 2001#01#01
+2001-01-01 00:00:00 2001-01-01
+2001-01-01 00:00:00 2001-01-01 00:00:00
+2001-01-01 00:00:00 2001.01.01
+2001-01-01 11:22:33 2001-01-01 11:22:33
+
+DROP TABLE t1,t2;
+#
# MDEV-5606: range optimizer: "x < y" is sargable, while "y > x" is not
#
create table t1(a int);
diff --git a/mysql-test/r/range_mrr_icp.result b/mysql-test/r/range_mrr_icp.result
index 0122fb15193..dc6bed5fd98 100644
--- a/mysql-test/r/range_mrr_icp.result
+++ b/mysql-test/r/range_mrr_icp.result
@@ -2049,6 +2049,71 @@ f1 f2 f3 f4
DROP TABLE t1;
DROP VIEW v3;
#
+# BUG#13731380: RANGE OPTIMIZER CALLS RECORDS_IN_RANGE() FOR OPEN RANGE
+#
+CREATE TABLE t1 (pk INT PRIMARY KEY);
+INSERT INTO t1 VALUES (1),(3),(5);
+SELECT * FROM t1 WHERE pk <> 3 OR pk < 4;
+pk
+1
+3
+5
+DROP TABLE t1;
+#
+# BUG#13803810: TOO FEW ROWS RETURNED FOR RANGE ACCESS IN
+# VARCHAR INDEX USING DATETIME VALUE
+
+CREATE TABLE t1 (a DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 00:00:00');
+INSERT INTO t1 VALUES ('2001-01-01 11:22:33');
+CREATE TABLE t2 (b VARCHAR(64), KEY (b));
+INSERT INTO t2 VALUES ('2001-01-01');
+INSERT INTO t2 VALUES ('2001.01.01');
+INSERT INTO t2 VALUES ('2001#01#01');
+INSERT INTO t2 VALUES ('2001-01-01 00:00:00');
+INSERT INTO t2 VALUES ('2001-01-01 11:22:33');
+
+# range/ref access cannot be used for this query
+
+EXPLAIN SELECT * FROM t2 WHERE b=CAST('2001-01-01' AS DATE);
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t2 index b b 67 NULL 5 Using where; Using index
+SELECT * FROM t2 WHERE b=CAST('2001-01-01' AS DATE);
+b
+2001#01#01
+2001-01-01
+2001-01-01 00:00:00
+2001.01.01
+
+# range/ref access cannot be used for any of the queries below.
+# See BUG#13814468 about 'Range checked for each record'
+
+EXPLAIN SELECT * FROM t1, t2 WHERE a=b ORDER BY BINARY a, BINARY b;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using temporary; Using filesort
+1 SIMPLE t2 ALL b NULL NULL NULL 5 Range checked for each record (index map: 0x1)
+SELECT * FROM t1, t2 WHERE a=b ORDER BY BINARY a, BINARY b;
+a b
+2001-01-01 00:00:00 2001#01#01
+2001-01-01 00:00:00 2001-01-01
+2001-01-01 00:00:00 2001-01-01 00:00:00
+2001-01-01 00:00:00 2001.01.01
+2001-01-01 11:22:33 2001-01-01 11:22:33
+
+EXPLAIN SELECT * FROM t1, t2 WHERE b=a ORDER BY BINARY a, BINARY b;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using temporary; Using filesort
+1 SIMPLE t2 ALL b NULL NULL NULL 5 Range checked for each record (index map: 0x1)
+SELECT * FROM t1, t2 WHERE b=a ORDER BY BINARY a, BINARY b;
+a b
+2001-01-01 00:00:00 2001#01#01
+2001-01-01 00:00:00 2001-01-01
+2001-01-01 00:00:00 2001-01-01 00:00:00
+2001-01-01 00:00:00 2001.01.01
+2001-01-01 11:22:33 2001-01-01 11:22:33
+
+DROP TABLE t1,t2;
+#
# MDEV-5606: range optimizer: "x < y" is sargable, while "y > x" is not
#
create table t1(a int);
diff --git a/mysql-test/r/range_vs_index_merge.result b/mysql-test/r/range_vs_index_merge.result
index 424b1009a97..1b12a9f5512 100644
--- a/mysql-test/r/range_vs_index_merge.result
+++ b/mysql-test/r/range_vs_index_merge.result
@@ -797,6 +797,8 @@ EXPLAIN
SELECT * FROM City WHERE Name LIKE 'Pa%';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE City range Name Name 35 NULL 41 Using index condition
+set @tmp_range_vs_index_merge=@@optimizer_switch;
+set optimizer_switch='extended_keys=off';
EXPLAIN
SELECT * FROM City
WHERE ((Population > 101000 AND Population < 102000) OR
@@ -985,6 +987,7 @@ ID Name Country Population
3798 Phoenix USA 1321045
DROP INDEX Population ON City;
DROP INDEX Name ON City;
+set optimizer_switch=@tmp_range_vs_index_merge;
EXPLAIN
SELECT * FROM City
WHERE Country='USA' AND Population BETWEEN 101000 AND 102000 OR
diff --git a/mysql-test/r/range_vs_index_merge_innodb.result b/mysql-test/r/range_vs_index_merge_innodb.result
index 67e341192da..8428936d25f 100644
--- a/mysql-test/r/range_vs_index_merge_innodb.result
+++ b/mysql-test/r/range_vs_index_merge_innodb.result
@@ -65,7 +65,7 @@ Country IN ('CAN', 'ARG') AND ID < 3800 OR
Country < 'U' AND Name LIKE 'Zhu%' OR
ID BETWEEN 3800 AND 3810;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country,Name Name,Country,PRIMARY 35,3,4 NULL 125 Using sort_union(Name,Country,PRIMARY); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country,Name Name,Country,PRIMARY 35,7,4 NULL 123 Using sort_union(Name,Country,PRIMARY); Using where
EXPLAIN
SELECT * FROM City
WHERE (Population > 101000 AND Population < 115000);
@@ -362,7 +362,7 @@ WHERE ((ID < 800) AND (Name LIKE 'Ha%' OR (Country > 'A' AND Country < 'ARG')))
OR ((ID BETWEEN 900 AND 1500) AND
(Name LIKE 'Pa%' OR (Population > 103000 AND Population < 104000)));
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE City index_merge PRIMARY,Population,Country,Name Name,Country,PRIMARY 35,3,4 NULL 681 Using sort_union(Name,Country,PRIMARY); Using where
+1 SIMPLE City index_merge PRIMARY,Population,Country,Name Name,Country,PRIMARY 39,3,4 NULL 680 Using sort_union(Name,Country,PRIMARY); Using where
EXPLAIN
SELECT * FROM City
WHERE ((ID < 200) AND (Name LIKE 'Ha%' OR (Country > 'A' AND Country < 'ARG')))
@@ -798,6 +798,8 @@ EXPLAIN
SELECT * FROM City WHERE Name LIKE 'Pa%';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE City range Name Name 35 NULL 71 Using index condition
+set @tmp_range_vs_index_merge=@@optimizer_switch;
+set optimizer_switch='extended_keys=off';
EXPLAIN
SELECT * FROM City
WHERE ((Population > 101000 AND Population < 102000) OR
@@ -986,6 +988,7 @@ ID Name Country Population
3798 Phoenix USA 1321045
DROP INDEX Population ON City;
DROP INDEX Name ON City;
+set optimizer_switch=@tmp_range_vs_index_merge;
EXPLAIN
SELECT * FROM City
WHERE Country='USA' AND Population BETWEEN 101000 AND 102000 OR
diff --git a/mysql-test/r/rpl_colSize.result b/mysql-test/r/rpl_colSize.result
deleted file mode 100644
index 91456742833..00000000000
--- a/mysql-test/r/rpl_colSize.result
+++ /dev/null
@@ -1,179 +0,0 @@
-stop slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-reset master;
-reset slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-start slave;
-DROP TABLE IF EXISTS t1;
-**** Testing WL#3228 changes. ****
-*** Create "wider" table on slave ***
-STOP SLAVE;
-RESET SLAVE;
-CREATE TABLE t1 (
-a float (47),
-b double (143,9),
-c decimal (65,30),
-d numeric (4,0),
-e bit (32),
-f char (21),
-g varchar (1300),
-h binary (33),
-j varbinary (200),
-k enum ('5','6','7', '8','9','0'),
-l set ('1','2','3','4','5','6','7','8','9','0','11','12','13','14','15','16','17','18','19','21','22','23','24','25','26','27','28','29'),
-m TINYBLOB,
-n BLOB,
-o MEDIUMBLOB,
-p LONGBLOB,
-q TINYTEXT,
-r TEXT,
-s MEDIUMTEXT,
-t LONGTEXT
-);
-*** Create same table on master but with narrow columns ***
-CREATE TABLE t1 (
-a float (44),
-b double (10,3),
-c decimal (10,2),
-d numeric (3,0),
-e bit (16),
-f char (10),
-g varchar (100),
-h binary (20),
-j varbinary (20),
-k enum ('5','6','7'),
-l set ('1','2','3','4','5','6','7','8','9','0'),
-m TINYBLOB,
-n BLOB,
-o MEDIUMBLOB,
-p LONGBLOB,
-q TINYTEXT,
-r TEXT,
-s MEDIUMTEXT,
-t LONGTEXT
-);
-RESET MASTER;
-*** Start replication ***
-START SLAVE;
-*** Insert data on master and display it. ***
-INSERT INTO t1 () VALUES (
-17.567,
-2.123,
-10.20,
-125,
-hex(64),
-'TEST',
-'This is a test',
-'binary data',
-'more binary data',
-'6',
-'7',
-"blob 1",
-"blob 2",
-"blob 3",
-"blob 4",
-"text 1",
-"text 2",
-"text 3",
-"text 4");
-SELECT * FROM t1 ORDER BY a;
-a b c d e f g h j k l m n o p q r s t
-17.567 2.123 10.20 125 # TEST This is a test # more binary data 6 7 blob 1 blob 2 blob 3 blob 4 text 1 text 2 text 3 text 4
-*** Select data from slave to compare ***
-SELECT * FROM t1 ORDER BY a;
-a b c d e f g h j k l m n o p q r s t
-17.567 2.123000000 10.200000000000000000000000000000 125 # TEST This is a test # more binary data 6 7 blob 1 blob 2 blob 3 blob 4 text 1 text 2 text 3 text 4
-DROP TABLE t1;
-Create varchar table on master
-CREATE TABLE t1 (
-a VARCHAR(50),
-b VARCHAR(100),
-c VARCHAR(300),
-d CHAR(5)
-);
-Alter varchar table on slave
-ALTER TABLE t1 CHANGE COLUMN a a VARCHAR(100);
-ALTER TABLE t1 CHANGE COLUMN b b VARCHAR(400);
-ALTER TABLE t1 CHANGE COLUMN c c VARCHAR(500);
-ALTER TABLE t1 CHANGE COLUMN d d CHAR(100);
-Insert some values and select them on master
-INSERT INTO t1 VALUES ("This is a test of col a.",
-"This is another test of col b.",
-"This is a test of the large col c.",
-"Col d");
-SELECT * FROM t1;
-a b c d
-This is a test of col a. This is another test of col b. This is a test of the large col c. Col d
-SHOW CREATE TABLE t1;
-Table Create Table
-t1 CREATE TABLE `t1` (
- `a` varchar(50) DEFAULT NULL,
- `b` varchar(100) DEFAULT NULL,
- `c` varchar(300) DEFAULT NULL,
- `d` char(5) DEFAULT NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-Insert some values and select them on slave
-SELECT * FROM t1;
-a b c d
-This is a test of col a. This is another test of col b. This is a test of the large col c. Col d
-SHOW CREATE TABLE t1;
-Table Create Table
-t1 CREATE TABLE `t1` (
- `a` varchar(100) DEFAULT NULL,
- `b` varchar(400) DEFAULT NULL,
- `c` varchar(500) DEFAULT NULL,
- `d` char(100) DEFAULT NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-DROP TABLE t1;
-Create bit table on master
-CREATE TABLE t1 (
-a BIT(7),
-b BIT(8),
-c BIT(21),
-d BIT(11),
-e BIT(11)
-);
-Create bit table on slave
-DROP TABLE t1;
-CREATE TABLE t1 (
-a BIT(16),
-b BIT(22),
-c BIT(54),
-d BIT(25),
-e BIT(13)
-);
-Insert some values and select them on master
-INSERT INTO t1 VALUES (
-b'1010101',
-b'10101011',
-b'101010110101010101111',
-b'10101010101',
-b'10101011111'
- );
-SELECT BIN(a), BIN(b), BIN(c), BIN(d), BIN(e) FROM t1;
-BIN(a) BIN(b) BIN(c) BIN(d) BIN(e)
-1010101 10101011 101010110101010101111 10101010101 10101011111
-SHOW CREATE TABLE t1;
-Table Create Table
-t1 CREATE TABLE `t1` (
- `a` bit(7) DEFAULT NULL,
- `b` bit(8) DEFAULT NULL,
- `c` bit(21) DEFAULT NULL,
- `d` bit(11) DEFAULT NULL,
- `e` bit(11) DEFAULT NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-Insert some values and select them on master
-SELECT BIN(a), BIN(b), BIN(c), BIN(d), BIN(e) FROM t1;
-BIN(a) BIN(b) BIN(c) BIN(d) BIN(e)
-1010101 10101011 101010110101010101111 10101010101 10101011111
-SHOW CREATE TABLE t1;
-Table Create Table
-t1 CREATE TABLE `t1` (
- `a` bit(16) DEFAULT NULL,
- `b` bit(22) DEFAULT NULL,
- `c` bit(54) DEFAULT NULL,
- `d` bit(25) DEFAULT NULL,
- `e` bit(13) DEFAULT NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-*** Cleanup ***
-DROP TABLE t1;
diff --git a/mysql-test/r/rpl_extraColmaster_innodb.result b/mysql-test/r/rpl_extraColmaster_innodb.result
deleted file mode 100644
index 27d6592a7ad..00000000000
--- a/mysql-test/r/rpl_extraColmaster_innodb.result
+++ /dev/null
Binary files differ
diff --git a/mysql-test/r/rpl_extraColmaster_myisam.result b/mysql-test/r/rpl_extraColmaster_myisam.result
deleted file mode 100644
index 9a77ae6ca19..00000000000
--- a/mysql-test/r/rpl_extraColmaster_myisam.result
+++ /dev/null
Binary files differ
diff --git a/mysql-test/r/rpl_mysqldump_slave.result b/mysql-test/r/rpl_mysqldump_slave.result
index 1b13ebb79c1..4b29ff99f61 100644
--- a/mysql-test/r/rpl_mysqldump_slave.result
+++ b/mysql-test/r/rpl_mysqldump_slave.result
@@ -4,11 +4,18 @@ include/master-slave.inc
# New --dump-slave, --apply-slave-statements functionality
#
use test;
-CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
-STOP SLAVE;
-CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
-START SLAVE;
-STOP SLAVE;
-CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT, MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
-START SLAVE;
+CHANGE MASTER '' TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
+STOP ALL SLAVES;
+CHANGE MASTER '' TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
+START ALL SLAVES;
+STOP ALL SLAVES;
+CHANGE MASTER '' TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT, MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
+START ALL SLAVES;
+start slave;
+Warnings:
+Note 1254 Slave is already running
+CHANGE MASTER '' TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
+start slave;
+Warnings:
+Note 1254 Slave is already running
include/rpl_end.inc
diff --git a/mysql-test/r/select.result b/mysql-test/r/select.result
index 005dd52c449..7219a9c4462 100644
--- a/mysql-test/r/select.result
+++ b/mysql-test/r/select.result
@@ -5191,6 +5191,37 @@ WHERE t2.pk <> 2;
pk i pk i pk i
DROP TABLE t1,t2,t_empty;
End of 5.1 tests
+#
+# Bug#45227: Lost HAVING clause led to a wrong result.
+#
+CREATE TABLE `CC` (
+`int_nokey` int(11) NOT NULL,
+`int_key` int(11) NOT NULL,
+`varchar_key` varchar(1) NOT NULL,
+`varchar_nokey` varchar(1) NOT NULL,
+KEY `int_key` (`int_key`),
+KEY `varchar_key` (`varchar_key`)
+);
+INSERT INTO `CC` VALUES
+(0,8,'q','q'),(5,8,'m','m'),(7,3,'j','j'),(1,2,'z','z'),(8,2,'a','a'),(2,6,'',''),(1,8,'e'
+,'e'),(8,9,'t','t'),(5,2,'q','q'),(4,6,'b','b'),(5,5,'w','w'),(3,2,'m','m'),(0,4,'x','x'),
+(8,9,'',''),(0,6,'w','w'),(4,5,'x','x'),(0,0,'e','e'),(0,0,'e','e'),(2,8,'p','p'),(0,0,'x'
+,'x');
+EXPLAIN SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE CC range int_key int_key 4 NULL 10 Using index condition; Using where; Using filesort
+SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+G1
+Warnings:
+Warning 1292 Truncated incorrect DOUBLE value: 'z'
+Warning 1292 Truncated incorrect DOUBLE value: 'a'
+Warning 1292 Truncated incorrect DOUBLE value: 'q'
+Warning 1292 Truncated incorrect DOUBLE value: 'm'
+Warning 1292 Truncated incorrect DOUBLE value: 'j'
+DROP TABLE CC;
+# End of test#45227
#
# BUG#776274: substitution of a single row table
#
@@ -5297,6 +5328,14 @@ f1
DROP TABLE t1;
DROP VIEW view_t1;
# End of test BUG#63020
+#
+# Bug #13571700 TINYBLOB NOT NULL, CRASH IN PROTOCOL::NET_STORE_DATA
+#
+CREATE TABLE t1 (a TINYBLOB NOT NULL);
+SELECT a, COUNT(*) FROM t1 WHERE 0;
+a COUNT(*)
+NULL 0
+DROP TABLE t1;
SET optimizer_switch=@save_optimizer_switch;
#
# LP bug#994275 Assertion `real->type() == Item::FIELD_ITEM' failed
@@ -5321,7 +5360,7 @@ SELECT * FROM t1 WHERE (1=2 OR t1.pk=2) AND t1.a <> 0;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
-Note 1003 select 2 AS `pk`,0 AS `a` from `test`.`t1` where (0 <> 0)
+Note 1003 select 2 AS `pk`,0 AS `a` from `test`.`t1` where 0
DROP TABLE t1;
SELECT * FROM mysql.time_zone
WHERE ( NOT (Use_leap_seconds <= Use_leap_seconds AND Time_zone_id != 1)
@@ -5344,7 +5383,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 system idx NULL NULL NULL 1 100.00
1 SIMPLE t2 ref idx idx 5 const 1 100.00 Using index
Warnings:
-Note 1003 select 8 AS `a`,8 AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where ((`test`.`t2`.`c` = 8) and 1)
+Note 1003 select 8 AS `a`,8 AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where (`test`.`t2`.`c` = 8)
SELECT * FROM t1 INNER JOIN t2 ON ( c = a )
WHERE 1 IS NULL OR b < 33 AND b = c;
a b c
@@ -5468,7 +5507,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t2 system PRIMARY NULL NULL NULL 1 100.00
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 100.00 Using where
Warnings:
-Note 1003 select `test`.`t1`.`pk1` AS `pk1`,`test`.`t1`.`a1` AS `a1`,`test`.`t1`.`b1` AS `b1`,1 AS `pk2`,1 AS `a2` from `test`.`t1` where ((`test`.`t1`.`a1` = 1) and ((`test`.`t1`.`b1` = 6) or 0))
+Note 1003 select `test`.`t1`.`pk1` AS `pk1`,`test`.`t1`.`a1` AS `a1`,`test`.`t1`.`b1` AS `b1`,1 AS `pk2`,1 AS `a2` from `test`.`t1` where ((`test`.`t1`.`a1` = 1) and (`test`.`t1`.`b1` = 6))
INSERT INTO t1 VALUES (3,1,6);
SELECT * FROM t1, t2
WHERE a1 = pk2 AND ( ( b1 = 6 OR a2 > 4 ) AND pk2 = a2 OR pk1 IS NULL );
diff --git a/mysql-test/r/select_found.result b/mysql-test/r/select_found.result
index ee6d309f005..07c7b7939af 100644
--- a/mysql-test/r/select_found.result
+++ b/mysql-test/r/select_found.result
@@ -291,3 +291,36 @@ select found_rows();
found_rows()
1
drop table t1, t2;
+create table t1 (
+a1 int auto_increment primary key,
+b1 datetime,
+c1 int
+);
+insert t1 (a1) values (null);
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+update t1 set c1=a1 % 2;
+create table t2 (
+a2 int,
+b2 int,
+c2 char(16) default '',
+primary key (a2, b2)
+);
+insert t2 select a1, 1, 'ok' from t1;
+insert t2 select a1, 2, 'ko' from t1;
+insert t2 select a1, 3, 'ko' from t1;
+insert t2 select a1, 4, 'ok' from t1;
+insert t2 select a1, 5, 'ok' from t1;
+select sql_calc_found_rows distinct a1,b1,c2 from t1 join t2 on a2=a1
+where a1 <= 256 and c1=0 and c2='ok' order by b1 desc, a1 desc limit 46;
+select found_rows();
+found_rows()
+128
+drop table t1, t2;
diff --git a/mysql-test/r/select_jcl6.result b/mysql-test/r/select_jcl6.result
index 0113791b799..3b51efa26b0 100644
--- a/mysql-test/r/select_jcl6.result
+++ b/mysql-test/r/select_jcl6.result
@@ -5202,6 +5202,37 @@ WHERE t2.pk <> 2;
pk i pk i pk i
DROP TABLE t1,t2,t_empty;
End of 5.1 tests
+#
+# Bug#45227: Lost HAVING clause led to a wrong result.
+#
+CREATE TABLE `CC` (
+`int_nokey` int(11) NOT NULL,
+`int_key` int(11) NOT NULL,
+`varchar_key` varchar(1) NOT NULL,
+`varchar_nokey` varchar(1) NOT NULL,
+KEY `int_key` (`int_key`),
+KEY `varchar_key` (`varchar_key`)
+);
+INSERT INTO `CC` VALUES
+(0,8,'q','q'),(5,8,'m','m'),(7,3,'j','j'),(1,2,'z','z'),(8,2,'a','a'),(2,6,'',''),(1,8,'e'
+,'e'),(8,9,'t','t'),(5,2,'q','q'),(4,6,'b','b'),(5,5,'w','w'),(3,2,'m','m'),(0,4,'x','x'),
+(8,9,'',''),(0,6,'w','w'),(4,5,'x','x'),(0,0,'e','e'),(0,0,'e','e'),(2,8,'p','p'),(0,0,'x'
+,'x');
+EXPLAIN SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE CC range int_key int_key 4 NULL 10 Using index condition; Using where; Rowid-ordered scan; Using filesort
+SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+G1
+Warnings:
+Warning 1292 Truncated incorrect DOUBLE value: 'j'
+Warning 1292 Truncated incorrect DOUBLE value: 'z'
+Warning 1292 Truncated incorrect DOUBLE value: 'a'
+Warning 1292 Truncated incorrect DOUBLE value: 'q'
+Warning 1292 Truncated incorrect DOUBLE value: 'm'
+DROP TABLE CC;
+# End of test#45227
#
# BUG#776274: substitution of a single row table
#
@@ -5308,6 +5339,14 @@ f1
DROP TABLE t1;
DROP VIEW view_t1;
# End of test BUG#63020
+#
+# Bug #13571700 TINYBLOB NOT NULL, CRASH IN PROTOCOL::NET_STORE_DATA
+#
+CREATE TABLE t1 (a TINYBLOB NOT NULL);
+SELECT a, COUNT(*) FROM t1 WHERE 0;
+a COUNT(*)
+NULL 0
+DROP TABLE t1;
SET optimizer_switch=@save_optimizer_switch;
#
# LP bug#994275 Assertion `real->type() == Item::FIELD_ITEM' failed
@@ -5332,7 +5371,7 @@ SELECT * FROM t1 WHERE (1=2 OR t1.pk=2) AND t1.a <> 0;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
-Note 1003 select 2 AS `pk`,0 AS `a` from `test`.`t1` where (0 <> 0)
+Note 1003 select 2 AS `pk`,0 AS `a` from `test`.`t1` where 0
DROP TABLE t1;
SELECT * FROM mysql.time_zone
WHERE ( NOT (Use_leap_seconds <= Use_leap_seconds AND Time_zone_id != 1)
@@ -5355,7 +5394,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 system idx NULL NULL NULL 1 100.00
1 SIMPLE t2 ref idx idx 5 const 1 100.00 Using index
Warnings:
-Note 1003 select 8 AS `a`,8 AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where ((`test`.`t2`.`c` = 8) and 1)
+Note 1003 select 8 AS `a`,8 AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where (`test`.`t2`.`c` = 8)
SELECT * FROM t1 INNER JOIN t2 ON ( c = a )
WHERE 1 IS NULL OR b < 33 AND b = c;
a b c
@@ -5479,7 +5518,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t2 system PRIMARY NULL NULL NULL 1 100.00
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 100.00 Using where
Warnings:
-Note 1003 select `test`.`t1`.`pk1` AS `pk1`,`test`.`t1`.`a1` AS `a1`,`test`.`t1`.`b1` AS `b1`,1 AS `pk2`,1 AS `a2` from `test`.`t1` where ((`test`.`t1`.`a1` = 1) and ((`test`.`t1`.`b1` = 6) or 0))
+Note 1003 select `test`.`t1`.`pk1` AS `pk1`,`test`.`t1`.`a1` AS `a1`,`test`.`t1`.`b1` AS `b1`,1 AS `pk2`,1 AS `a2` from `test`.`t1` where ((`test`.`t1`.`a1` = 1) and (`test`.`t1`.`b1` = 6))
INSERT INTO t1 VALUES (3,1,6);
SELECT * FROM t1, t2
WHERE a1 = pk2 AND ( ( b1 = 6 OR a2 > 4 ) AND pk2 = a2 OR pk1 IS NULL );
diff --git a/mysql-test/r/select_pkeycache.result b/mysql-test/r/select_pkeycache.result
index 005dd52c449..7219a9c4462 100644
--- a/mysql-test/r/select_pkeycache.result
+++ b/mysql-test/r/select_pkeycache.result
@@ -5191,6 +5191,37 @@ WHERE t2.pk <> 2;
pk i pk i pk i
DROP TABLE t1,t2,t_empty;
End of 5.1 tests
+#
+# Bug#45227: Lost HAVING clause led to a wrong result.
+#
+CREATE TABLE `CC` (
+`int_nokey` int(11) NOT NULL,
+`int_key` int(11) NOT NULL,
+`varchar_key` varchar(1) NOT NULL,
+`varchar_nokey` varchar(1) NOT NULL,
+KEY `int_key` (`int_key`),
+KEY `varchar_key` (`varchar_key`)
+);
+INSERT INTO `CC` VALUES
+(0,8,'q','q'),(5,8,'m','m'),(7,3,'j','j'),(1,2,'z','z'),(8,2,'a','a'),(2,6,'',''),(1,8,'e'
+,'e'),(8,9,'t','t'),(5,2,'q','q'),(4,6,'b','b'),(5,5,'w','w'),(3,2,'m','m'),(0,4,'x','x'),
+(8,9,'',''),(0,6,'w','w'),(4,5,'x','x'),(0,0,'e','e'),(0,0,'e','e'),(2,8,'p','p'),(0,0,'x'
+,'x');
+EXPLAIN SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE CC range int_key int_key 4 NULL 10 Using index condition; Using where; Using filesort
+SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+G1
+Warnings:
+Warning 1292 Truncated incorrect DOUBLE value: 'z'
+Warning 1292 Truncated incorrect DOUBLE value: 'a'
+Warning 1292 Truncated incorrect DOUBLE value: 'q'
+Warning 1292 Truncated incorrect DOUBLE value: 'm'
+Warning 1292 Truncated incorrect DOUBLE value: 'j'
+DROP TABLE CC;
+# End of test#45227
#
# BUG#776274: substitution of a single row table
#
@@ -5297,6 +5328,14 @@ f1
DROP TABLE t1;
DROP VIEW view_t1;
# End of test BUG#63020
+#
+# Bug #13571700 TINYBLOB NOT NULL, CRASH IN PROTOCOL::NET_STORE_DATA
+#
+CREATE TABLE t1 (a TINYBLOB NOT NULL);
+SELECT a, COUNT(*) FROM t1 WHERE 0;
+a COUNT(*)
+NULL 0
+DROP TABLE t1;
SET optimizer_switch=@save_optimizer_switch;
#
# LP bug#994275 Assertion `real->type() == Item::FIELD_ITEM' failed
@@ -5321,7 +5360,7 @@ SELECT * FROM t1 WHERE (1=2 OR t1.pk=2) AND t1.a <> 0;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
-Note 1003 select 2 AS `pk`,0 AS `a` from `test`.`t1` where (0 <> 0)
+Note 1003 select 2 AS `pk`,0 AS `a` from `test`.`t1` where 0
DROP TABLE t1;
SELECT * FROM mysql.time_zone
WHERE ( NOT (Use_leap_seconds <= Use_leap_seconds AND Time_zone_id != 1)
@@ -5344,7 +5383,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 system idx NULL NULL NULL 1 100.00
1 SIMPLE t2 ref idx idx 5 const 1 100.00 Using index
Warnings:
-Note 1003 select 8 AS `a`,8 AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where ((`test`.`t2`.`c` = 8) and 1)
+Note 1003 select 8 AS `a`,8 AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where (`test`.`t2`.`c` = 8)
SELECT * FROM t1 INNER JOIN t2 ON ( c = a )
WHERE 1 IS NULL OR b < 33 AND b = c;
a b c
@@ -5468,7 +5507,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t2 system PRIMARY NULL NULL NULL 1 100.00
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 100.00 Using where
Warnings:
-Note 1003 select `test`.`t1`.`pk1` AS `pk1`,`test`.`t1`.`a1` AS `a1`,`test`.`t1`.`b1` AS `b1`,1 AS `pk2`,1 AS `a2` from `test`.`t1` where ((`test`.`t1`.`a1` = 1) and ((`test`.`t1`.`b1` = 6) or 0))
+Note 1003 select `test`.`t1`.`pk1` AS `pk1`,`test`.`t1`.`a1` AS `a1`,`test`.`t1`.`b1` AS `b1`,1 AS `pk2`,1 AS `a2` from `test`.`t1` where ((`test`.`t1`.`a1` = 1) and (`test`.`t1`.`b1` = 6))
INSERT INTO t1 VALUES (3,1,6);
SELECT * FROM t1, t2
WHERE a1 = pk2 AND ( ( b1 = 6 OR a2 > 4 ) AND pk2 = a2 OR pk1 IS NULL );
diff --git a/mysql-test/r/selectivity.result b/mysql-test/r/selectivity.result
index 3704812eb04..b276ebb709c 100644
--- a/mysql-test/r/selectivity.result
+++ b/mysql-test/r/selectivity.result
@@ -1,3 +1,4 @@
+drop table if exists t0,t1,t2,t3;
select @@global.use_stat_tables;
@@global.use_stat_tables
COMPLEMENTARY
@@ -15,6 +16,7 @@ insert into t1 values
(9), (3), (2), (NULL), (NULL), (2), (NULL), (1), (5), (NULL);
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
select * from mysql.column_stats;
db_name table_name column_name min_value max_value nulls_ratio avg_length avg_frequency hist_size hist_type histogram
@@ -68,17 +70,17 @@ order by
s_acctbal desc, n_name, s_name, p_partkey;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 0.31 Using where; Using temporary; Using filesort
-1 PRIMARY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where; Using join buffer (flat, BNL join)
1 PRIMARY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00 Using where
-1 PRIMARY supplier ALL PRIMARY,i_s_nationkey NULL NULL NULL 10 80.00 Using where; Using join buffer (flat, BNL join)
+1 PRIMARY supplier eq_ref PRIMARY,i_s_nationkey PRIMARY 4 dbt3_s001.partsupp.ps_suppkey 1 100.00 Using where
1 PRIMARY nation eq_ref PRIMARY,i_n_regionkey PRIMARY 4 dbt3_s001.supplier.s_nationkey 1 100.00 Using where
+1 PRIMARY region eq_ref PRIMARY PRIMARY 4 dbt3_s001.nation.n_regionkey 1 20.00 Using where
2 DEPENDENT SUBQUERY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where
2 DEPENDENT SUBQUERY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00
2 DEPENDENT SUBQUERY supplier eq_ref PRIMARY,i_s_nationkey PRIMARY 4 dbt3_s001.partsupp.ps_suppkey 1 100.00 Using where
2 DEPENDENT SUBQUERY nation eq_ref PRIMARY,i_n_regionkey PRIMARY 4 dbt3_s001.supplier.s_nationkey 1 100.00 Using where
Warnings:
Note 1276 Field or reference 'dbt3_s001.part.p_partkey' of SELECT #2 was resolved in SELECT #1
-Note 1003 select `dbt3_s001`.`supplier`.`s_acctbal` AS `s_acctbal`,`dbt3_s001`.`supplier`.`s_name` AS `s_name`,`dbt3_s001`.`nation`.`n_name` AS `n_name`,`dbt3_s001`.`part`.`p_partkey` AS `p_partkey`,`dbt3_s001`.`part`.`p_mfgr` AS `p_mfgr`,`dbt3_s001`.`supplier`.`s_address` AS `s_address`,`dbt3_s001`.`supplier`.`s_phone` AS `s_phone`,`dbt3_s001`.`supplier`.`s_comment` AS `s_comment` from `dbt3_s001`.`part` join `dbt3_s001`.`supplier` join `dbt3_s001`.`partsupp` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`partsupp`.`ps_partkey` = `dbt3_s001`.`part`.`p_partkey`) and (`dbt3_s001`.`supplier`.`s_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`part`.`p_size` = 9) and (`dbt3_s001`.`nation`.`n_nationkey` = `dbt3_s001`.`supplier`.`s_nationkey`) and (`dbt3_s001`.`nation`.`n_regionkey` = `dbt3_s001`.`region`.`r_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_type` like '%TIN') and (`dbt3_s001`.`partsupp`.`ps_supplycost` = <expr_cache><`dbt3_s001`.`part`.`p_partkey`>((select min(`dbt3_s001`.`partsupp`.`ps_supplycost`) from `dbt3_s001`.`partsupp` join `dbt3_s001`.`supplier` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`supplier`.`s_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`nation`.`n_nationkey` = `dbt3_s001`.`supplier`.`s_nationkey`) and (`dbt3_s001`.`nation`.`n_regionkey` = `dbt3_s001`.`region`.`r_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_partkey` = `dbt3_s001`.`partsupp`.`ps_partkey`)))))) order by `dbt3_s001`.`supplier`.`s_acctbal` desc,`dbt3_s001`.`nation`.`n_name`,`dbt3_s001`.`supplier`.`s_name`,`dbt3_s001`.`part`.`p_partkey`
+Note 1003 select `dbt3_s001`.`supplier`.`s_acctbal` AS `s_acctbal`,`dbt3_s001`.`supplier`.`s_name` AS `s_name`,`dbt3_s001`.`nation`.`n_name` AS `n_name`,`dbt3_s001`.`part`.`p_partkey` AS `p_partkey`,`dbt3_s001`.`part`.`p_mfgr` AS `p_mfgr`,`dbt3_s001`.`supplier`.`s_address` AS `s_address`,`dbt3_s001`.`supplier`.`s_phone` AS `s_phone`,`dbt3_s001`.`supplier`.`s_comment` AS `s_comment` from `dbt3_s001`.`part` join `dbt3_s001`.`supplier` join `dbt3_s001`.`partsupp` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`partsupp`.`ps_partkey` = `dbt3_s001`.`part`.`p_partkey`) and (`dbt3_s001`.`supplier`.`s_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`part`.`p_size` = 9) and (`dbt3_s001`.`nation`.`n_nationkey` = `dbt3_s001`.`supplier`.`s_nationkey`) and (`dbt3_s001`.`region`.`r_regionkey` = `dbt3_s001`.`nation`.`n_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_type` like '%TIN') and (`dbt3_s001`.`partsupp`.`ps_supplycost` = <expr_cache><`dbt3_s001`.`part`.`p_partkey`>((select min(`dbt3_s001`.`partsupp`.`ps_supplycost`) from `dbt3_s001`.`partsupp` join `dbt3_s001`.`supplier` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`supplier`.`s_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`nation`.`n_nationkey` = `dbt3_s001`.`supplier`.`s_nationkey`) and (`dbt3_s001`.`nation`.`n_regionkey` = `dbt3_s001`.`region`.`r_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_partkey` = `dbt3_s001`.`partsupp`.`ps_partkey`)))))) order by `dbt3_s001`.`supplier`.`s_acctbal` desc,`dbt3_s001`.`nation`.`n_name`,`dbt3_s001`.`supplier`.`s_name`,`dbt3_s001`.`part`.`p_partkey`
set optimizer_use_condition_selectivity=4;
explain extended
select
@@ -109,17 +111,17 @@ order by
s_acctbal desc, n_name, s_name, p_partkey;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where; Using temporary; Using filesort
+1 PRIMARY nation ref PRIMARY,i_n_regionkey i_n_regionkey 5 dbt3_s001.region.r_regionkey 5 100.00
+1 PRIMARY supplier ref PRIMARY,i_s_nationkey i_s_nationkey 5 dbt3_s001.nation.n_nationkey 1 100.00
1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 2.08 Using where; Using join buffer (flat, BNL join)
-1 PRIMARY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00 Using where
-1 PRIMARY supplier ALL PRIMARY,i_s_nationkey NULL NULL NULL 10 80.00 Using where; Using join buffer (flat, BNL join)
-1 PRIMARY nation eq_ref PRIMARY,i_n_regionkey PRIMARY 4 dbt3_s001.supplier.s_nationkey 1 100.00 Using where
+1 PRIMARY partsupp eq_ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 8 dbt3_s001.part.p_partkey,dbt3_s001.supplier.s_suppkey 1 100.00 Using where
2 DEPENDENT SUBQUERY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where
2 DEPENDENT SUBQUERY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00
2 DEPENDENT SUBQUERY supplier eq_ref PRIMARY,i_s_nationkey PRIMARY 4 dbt3_s001.partsupp.ps_suppkey 1 100.00 Using where
2 DEPENDENT SUBQUERY nation eq_ref PRIMARY,i_n_regionkey PRIMARY 4 dbt3_s001.supplier.s_nationkey 1 100.00 Using where
Warnings:
Note 1276 Field or reference 'dbt3_s001.part.p_partkey' of SELECT #2 was resolved in SELECT #1
-Note 1003 select `dbt3_s001`.`supplier`.`s_acctbal` AS `s_acctbal`,`dbt3_s001`.`supplier`.`s_name` AS `s_name`,`dbt3_s001`.`nation`.`n_name` AS `n_name`,`dbt3_s001`.`part`.`p_partkey` AS `p_partkey`,`dbt3_s001`.`part`.`p_mfgr` AS `p_mfgr`,`dbt3_s001`.`supplier`.`s_address` AS `s_address`,`dbt3_s001`.`supplier`.`s_phone` AS `s_phone`,`dbt3_s001`.`supplier`.`s_comment` AS `s_comment` from `dbt3_s001`.`part` join `dbt3_s001`.`supplier` join `dbt3_s001`.`partsupp` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`partsupp`.`ps_partkey` = `dbt3_s001`.`part`.`p_partkey`) and (`dbt3_s001`.`supplier`.`s_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`part`.`p_size` = 9) and (`dbt3_s001`.`nation`.`n_nationkey` = `dbt3_s001`.`supplier`.`s_nationkey`) and (`dbt3_s001`.`nation`.`n_regionkey` = `dbt3_s001`.`region`.`r_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_type` like '%TIN') and (`dbt3_s001`.`partsupp`.`ps_supplycost` = <expr_cache><`dbt3_s001`.`part`.`p_partkey`>((select min(`dbt3_s001`.`partsupp`.`ps_supplycost`) from `dbt3_s001`.`partsupp` join `dbt3_s001`.`supplier` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`supplier`.`s_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`nation`.`n_nationkey` = `dbt3_s001`.`supplier`.`s_nationkey`) and (`dbt3_s001`.`nation`.`n_regionkey` = `dbt3_s001`.`region`.`r_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_partkey` = `dbt3_s001`.`partsupp`.`ps_partkey`)))))) order by `dbt3_s001`.`supplier`.`s_acctbal` desc,`dbt3_s001`.`nation`.`n_name`,`dbt3_s001`.`supplier`.`s_name`,`dbt3_s001`.`part`.`p_partkey`
+Note 1003 select `dbt3_s001`.`supplier`.`s_acctbal` AS `s_acctbal`,`dbt3_s001`.`supplier`.`s_name` AS `s_name`,`dbt3_s001`.`nation`.`n_name` AS `n_name`,`dbt3_s001`.`part`.`p_partkey` AS `p_partkey`,`dbt3_s001`.`part`.`p_mfgr` AS `p_mfgr`,`dbt3_s001`.`supplier`.`s_address` AS `s_address`,`dbt3_s001`.`supplier`.`s_phone` AS `s_phone`,`dbt3_s001`.`supplier`.`s_comment` AS `s_comment` from `dbt3_s001`.`part` join `dbt3_s001`.`supplier` join `dbt3_s001`.`partsupp` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`partsupp`.`ps_partkey` = `dbt3_s001`.`part`.`p_partkey`) and (`dbt3_s001`.`partsupp`.`ps_suppkey` = `dbt3_s001`.`supplier`.`s_suppkey`) and (`dbt3_s001`.`part`.`p_size` = 9) and (`dbt3_s001`.`supplier`.`s_nationkey` = `dbt3_s001`.`nation`.`n_nationkey`) and (`dbt3_s001`.`nation`.`n_regionkey` = `dbt3_s001`.`region`.`r_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_type` like '%TIN') and (`dbt3_s001`.`partsupp`.`ps_supplycost` = <expr_cache><`dbt3_s001`.`part`.`p_partkey`>((select min(`dbt3_s001`.`partsupp`.`ps_supplycost`) from `dbt3_s001`.`partsupp` join `dbt3_s001`.`supplier` join `dbt3_s001`.`nation` join `dbt3_s001`.`region` where ((`dbt3_s001`.`supplier`.`s_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`nation`.`n_nationkey` = `dbt3_s001`.`supplier`.`s_nationkey`) and (`dbt3_s001`.`nation`.`n_regionkey` = `dbt3_s001`.`region`.`r_regionkey`) and (`dbt3_s001`.`region`.`r_name` = 'ASIA') and (`dbt3_s001`.`part`.`p_partkey` = `dbt3_s001`.`partsupp`.`ps_partkey`)))))) order by `dbt3_s001`.`supplier`.`s_acctbal` desc,`dbt3_s001`.`nation`.`n_name`,`dbt3_s001`.`supplier`.`s_name`,`dbt3_s001`.`part`.`p_partkey`
=== Q15 ===
create view revenue0 (supplier_no, total_revenue) as
select l_suppkey, sum(l_extendedprice * (1 - l_discount))
@@ -354,13 +356,13 @@ and o_orderkey = l_orderkey
group by c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice
order by o_totalprice desc, o_orderdate;
id select_type table type possible_keys key key_len ref rows filtered Extra
-1 PRIMARY orders ALL PRIMARY,i_o_custkey NULL NULL NULL 1500 100.00 Using where; Using temporary; Using filesort
-1 PRIMARY <subquery2> eq_ref distinct_key distinct_key 4 dbt3_s001.orders.o_orderkey 1 100.00
+1 PRIMARY <subquery2> ALL distinct_key NULL NULL NULL 6005 0.00 Using temporary; Using filesort
+1 PRIMARY orders eq_ref PRIMARY,i_o_custkey PRIMARY 4 <subquery2>.l_orderkey 1 100.00 Using where
1 PRIMARY customer eq_ref PRIMARY PRIMARY 4 dbt3_s001.orders.o_custkey 1 100.00
-1 PRIMARY lineitem ref PRIMARY,i_l_orderkey,i_l_orderkey_quantity i_l_orderkey_quantity 4 dbt3_s001.orders.o_orderkey 4 100.00 Using index
+1 PRIMARY lineitem ref PRIMARY,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 <subquery2>.l_orderkey 4 100.00
2 MATERIALIZED lineitem index NULL i_l_orderkey_quantity 13 NULL 6005 100.00 Using index
Warnings:
-Note 1003 select `dbt3_s001`.`customer`.`c_name` AS `c_name`,`dbt3_s001`.`customer`.`c_custkey` AS `c_custkey`,`dbt3_s001`.`orders`.`o_orderkey` AS `o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE` AS `o_orderdate`,`dbt3_s001`.`orders`.`o_totalprice` AS `o_totalprice`,sum(`dbt3_s001`.`lineitem`.`l_quantity`) AS `sum(l_quantity)` from <materialize> (select `dbt3_s001`.`lineitem`.`l_orderkey` from `dbt3_s001`.`lineitem` group by `dbt3_s001`.`lineitem`.`l_orderkey` having (sum(`dbt3_s001`.`lineitem`.`l_quantity`) > 250)) join `dbt3_s001`.`customer` join `dbt3_s001`.`orders` join `dbt3_s001`.`lineitem` where ((`dbt3_s001`.`customer`.`c_custkey` = `dbt3_s001`.`orders`.`o_custkey`) and (`<subquery2>`.`l_orderkey` = `dbt3_s001`.`orders`.`o_orderkey`) and (`dbt3_s001`.`lineitem`.`l_orderkey` = `dbt3_s001`.`orders`.`o_orderkey`)) group by `dbt3_s001`.`customer`.`c_name`,`dbt3_s001`.`customer`.`c_custkey`,`dbt3_s001`.`orders`.`o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE`,`dbt3_s001`.`orders`.`o_totalprice` order by `dbt3_s001`.`orders`.`o_totalprice` desc,`dbt3_s001`.`orders`.`o_orderDATE`
+Note 1003 select `dbt3_s001`.`customer`.`c_name` AS `c_name`,`dbt3_s001`.`customer`.`c_custkey` AS `c_custkey`,`dbt3_s001`.`orders`.`o_orderkey` AS `o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE` AS `o_orderdate`,`dbt3_s001`.`orders`.`o_totalprice` AS `o_totalprice`,sum(`dbt3_s001`.`lineitem`.`l_quantity`) AS `sum(l_quantity)` from <materialize> (select `dbt3_s001`.`lineitem`.`l_orderkey` from `dbt3_s001`.`lineitem` group by `dbt3_s001`.`lineitem`.`l_orderkey` having (sum(`dbt3_s001`.`lineitem`.`l_quantity`) > 250)) join `dbt3_s001`.`customer` join `dbt3_s001`.`orders` join `dbt3_s001`.`lineitem` where ((`dbt3_s001`.`customer`.`c_custkey` = `dbt3_s001`.`orders`.`o_custkey`) and (`dbt3_s001`.`orders`.`o_orderkey` = `<subquery2>`.`l_orderkey`) and (`dbt3_s001`.`lineitem`.`l_orderkey` = `<subquery2>`.`l_orderkey`)) group by `dbt3_s001`.`customer`.`c_name`,`dbt3_s001`.`customer`.`c_custkey`,`dbt3_s001`.`orders`.`o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE`,`dbt3_s001`.`orders`.`o_totalprice` order by `dbt3_s001`.`orders`.`o_totalprice` desc,`dbt3_s001`.`orders`.`o_orderDATE`
select
c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem
@@ -536,14 +538,13 @@ limit 10;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY nation ALL PRIMARY NULL NULL NULL 25 4.00 Using where; Using temporary; Using filesort
1 PRIMARY supplier ref PRIMARY,i_s_nationkey i_s_nationkey 5 dbt3_s001.nation.n_nationkey 1 100.00
-1 PRIMARY <subquery2> eq_ref distinct_key distinct_key 4 func 1 100.00
-2 MATERIALIZED part ALL PRIMARY NULL NULL NULL 200 4.17 Using where
-2 MATERIALIZED partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00 Using where
+1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 4.17 Using where; Start temporary; Using join buffer (flat, BNL join)
+1 PRIMARY partsupp eq_ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 8 dbt3_s001.part.p_partkey,dbt3_s001.supplier.s_suppkey 1 100.00 Using where; End temporary
4 DEPENDENT SUBQUERY lineitem ref i_l_shipdate,i_l_suppkey_partkey,i_l_partkey,i_l_suppkey i_l_suppkey_partkey 10 dbt3_s001.partsupp.ps_partkey,dbt3_s001.partsupp.ps_suppkey 8 15.14 Using where
Warnings:
Note 1276 Field or reference 'dbt3_s001.partsupp.ps_partkey' of SELECT #4 was resolved in SELECT #2
Note 1276 Field or reference 'dbt3_s001.partsupp.ps_suppkey' of SELECT #4 was resolved in SELECT #2
-Note 1003 select sql_calc_found_rows `dbt3_s001`.`supplier`.`s_name` AS `s_name`,`dbt3_s001`.`supplier`.`s_address` AS `s_address` from `dbt3_s001`.`supplier` semi join (`dbt3_s001`.`part` join `dbt3_s001`.`partsupp`) join `dbt3_s001`.`nation` where ((`dbt3_s001`.`supplier`.`s_nationkey` = `dbt3_s001`.`nation`.`n_nationkey`) and (`dbt3_s001`.`nation`.`n_name` = 'UNITED STATES') and (`dbt3_s001`.`partsupp`.`ps_partkey` = `dbt3_s001`.`part`.`p_partkey`) and (`dbt3_s001`.`partsupp`.`ps_availqty` > <expr_cache><`dbt3_s001`.`partsupp`.`ps_partkey`,`dbt3_s001`.`partsupp`.`ps_suppkey`>((select (0.5 * sum(`dbt3_s001`.`lineitem`.`l_quantity`)) from `dbt3_s001`.`lineitem` where ((`dbt3_s001`.`lineitem`.`l_partkey` = `dbt3_s001`.`partsupp`.`ps_partkey`) and (`dbt3_s001`.`lineitem`.`l_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`lineitem`.`l_shipDATE` >= <cache>(cast('1993-01-01' as date))) and (`dbt3_s001`.`lineitem`.`l_shipDATE` < <cache>((cast('1993-01-01' as date) + interval '1' year))))))) and (`dbt3_s001`.`part`.`p_name` like 'g%')) order by `dbt3_s001`.`supplier`.`s_name` limit 10
+Note 1003 select sql_calc_found_rows `dbt3_s001`.`supplier`.`s_name` AS `s_name`,`dbt3_s001`.`supplier`.`s_address` AS `s_address` from `dbt3_s001`.`supplier` semi join (`dbt3_s001`.`part` join `dbt3_s001`.`partsupp`) join `dbt3_s001`.`nation` where ((`dbt3_s001`.`supplier`.`s_nationkey` = `dbt3_s001`.`nation`.`n_nationkey`) and (`dbt3_s001`.`nation`.`n_name` = 'UNITED STATES') and (`dbt3_s001`.`partsupp`.`ps_partkey` = `dbt3_s001`.`part`.`p_partkey`) and (`dbt3_s001`.`partsupp`.`ps_suppkey` = `dbt3_s001`.`supplier`.`s_suppkey`) and (`dbt3_s001`.`partsupp`.`ps_availqty` > <expr_cache><`dbt3_s001`.`partsupp`.`ps_partkey`,`dbt3_s001`.`partsupp`.`ps_suppkey`>((select (0.5 * sum(`dbt3_s001`.`lineitem`.`l_quantity`)) from `dbt3_s001`.`lineitem` where ((`dbt3_s001`.`lineitem`.`l_partkey` = `dbt3_s001`.`partsupp`.`ps_partkey`) and (`dbt3_s001`.`lineitem`.`l_suppkey` = `dbt3_s001`.`partsupp`.`ps_suppkey`) and (`dbt3_s001`.`lineitem`.`l_shipDATE` >= <cache>(cast('1993-01-01' as date))) and (`dbt3_s001`.`lineitem`.`l_shipDATE` < <cache>((cast('1993-01-01' as date) + interval '1' year))))))) and (`dbt3_s001`.`part`.`p_name` like 'g%')) order by `dbt3_s001`.`supplier`.`s_name` limit 10
select sql_calc_found_rows
s_name, s_address
from supplier, nation
@@ -567,6 +568,7 @@ Supplier#000000010 Saygah3gYWMp72i PY
set histogram_size=127;
ANALYZE TABLE part PERSISTENT FOR COLUMNS(p_name) INDEXES();
Table Op Msg_type Msg_text
+dbt3_s001.part analyze status Engine-independent statistics collected
dbt3_s001.part analyze status Table is already up to date
flush table part;
set optimizer_use_condition_selectivity=4;
@@ -592,7 +594,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY nation ALL PRIMARY NULL NULL NULL 25 4.00 Using where; Using temporary; Using filesort
1 PRIMARY supplier ref PRIMARY,i_s_nationkey i_s_nationkey 5 dbt3_s001.nation.n_nationkey 1 100.00
1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 7.03 Using where
-1 PRIMARY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey i_ps_partkey 4 dbt3_s001.part.p_partkey 3 100.00 Using where; FirstMatch(supplier)
+1 PRIMARY partsupp eq_ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 8 dbt3_s001.part.p_partkey,dbt3_s001.supplier.s_suppkey 1 100.00 Using where; FirstMatch(supplier)
4 DEPENDENT SUBQUERY lineitem ref i_l_shipdate,i_l_suppkey_partkey,i_l_partkey,i_l_suppkey i_l_suppkey_partkey 10 dbt3_s001.partsupp.ps_partkey,dbt3_s001.partsupp.ps_suppkey 8 15.14 Using where
Warnings:
Note 1276 Field or reference 'dbt3_s001.partsupp.ps_partkey' of SELECT #4 was resolved in SELECT #2
@@ -622,6 +624,7 @@ set histogram_type='DOUBLE_PREC_HB';
set histogram_size=126;
ANALYZE TABLE part PERSISTENT FOR COLUMNS(p_name) INDEXES();
Table Op Msg_type Msg_text
+dbt3_s001.part analyze status Engine-independent statistics collected
dbt3_s001.part analyze status Table is already up to date
flush table part;
EXPLAIN EXTENDED select sql_calc_found_rows
@@ -646,7 +649,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY nation ALL PRIMARY NULL NULL NULL 25 4.00 Using where; Using temporary; Using filesort
1 PRIMARY supplier ref PRIMARY,i_s_nationkey i_s_nationkey 5 dbt3_s001.nation.n_nationkey 1 100.00
1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 7.81 Using where
-1 PRIMARY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey i_ps_partkey 4 dbt3_s001.part.p_partkey 3 100.00 Using where; FirstMatch(supplier)
+1 PRIMARY partsupp eq_ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 8 dbt3_s001.part.p_partkey,dbt3_s001.supplier.s_suppkey 1 100.00 Using where; FirstMatch(supplier)
4 DEPENDENT SUBQUERY lineitem ref i_l_shipdate,i_l_suppkey_partkey,i_l_partkey,i_l_suppkey i_l_suppkey_partkey 10 dbt3_s001.partsupp.ps_partkey,dbt3_s001.partsupp.ps_suppkey 8 15.14 Using where
Warnings:
Note 1276 Field or reference 'dbt3_s001.partsupp.ps_partkey' of SELECT #4 was resolved in SELECT #2
@@ -676,6 +679,7 @@ set histogram_type='SINGLE_PREC_HB';
set histogram_size=24;
ANALYZE TABLE nation PERSISTENT FOR COLUMNS(n_name) INDEXES();
Table Op Msg_type Msg_text
+dbt3_s001.nation analyze status Engine-independent statistics collected
dbt3_s001.nation analyze status Table is already up to date
flush table nation;
EXPLAIN EXTENDED select sql_calc_found_rows
@@ -700,7 +704,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY nation ALL PRIMARY NULL NULL NULL 25 4.00 Using where; Using temporary; Using filesort
1 PRIMARY supplier ref PRIMARY,i_s_nationkey i_s_nationkey 5 dbt3_s001.nation.n_nationkey 1 100.00
1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 7.81 Using where
-1 PRIMARY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey i_ps_partkey 4 dbt3_s001.part.p_partkey 3 100.00 Using where; FirstMatch(supplier)
+1 PRIMARY partsupp eq_ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 8 dbt3_s001.part.p_partkey,dbt3_s001.supplier.s_suppkey 1 100.00 Using where; FirstMatch(supplier)
4 DEPENDENT SUBQUERY lineitem ref i_l_shipdate,i_l_suppkey_partkey,i_l_partkey,i_l_suppkey i_l_suppkey_partkey 10 dbt3_s001.partsupp.ps_partkey,dbt3_s001.partsupp.ps_suppkey 8 15.14 Using where
Warnings:
Note 1276 Field or reference 'dbt3_s001.partsupp.ps_partkey' of SELECT #4 was resolved in SELECT #2
@@ -821,12 +825,13 @@ set histogram_size=127;
set histogram_type='SINGLE_PREC_HB';
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
flush table t1;
set optimizer_use_condition_selectivity=4;
explain extended select * from t1 where a=0;
id select_type table type possible_keys key key_len ref rows filtered Extra
-1 SIMPLE t1 ALL NULL NULL NULL NULL 1025 49.61 Using where
+1 SIMPLE t1 ALL NULL NULL NULL NULL 1025 0.39 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` = 0)
drop table t1;
@@ -888,6 +893,7 @@ CREATE TABLE t1 (a int);
INSERT INTO t1 VALUES (9), (1);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -915,7 +921,9 @@ CREATE TABLE t2 (c int);
INSERT INTO t2 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
ANALYZE TABLE t1, t2;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -942,6 +950,7 @@ CREATE TABLE t1 (a varchar(1));
INSERT INTO t1 VALUES ('x'), ('y');
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -962,7 +971,9 @@ CREATE TABLE t2 (b int);
INSERT INTO t2 VALUES (4),(5),(2),(5),(1),(1),(2);
ANALYZE TABLE t1, t2;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -988,6 +999,7 @@ INSERT INTO t1 VALUES
(1),(7),(4),(7),(NULL),(2),(NULL),(4),(NULL),(NULL),(1),(3),(8),(8);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
FLUSH TABLE t1;
set optimizer_use_condition_selectivity=3;
@@ -1035,8 +1047,11 @@ INSERT INTO t3 VALUES
('brown'),('taylor'),('anderson'),('taylor');
ANALYZE TABLE t1, t2, t3;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
+test.t3 analyze status Engine-independent statistics collected
test.t3 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=4;
@@ -1060,8 +1075,11 @@ CREATE TABLE t3 (c VARCHAR(8), d VARCHAR(8));
INSERT INTO t3 VALUES ('white','black'),('cyan','yellow');
ANALYZE TABLE t1, t2, t3;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
+test.t3 analyze status Engine-independent statistics collected
test.t3 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -1085,7 +1103,9 @@ INSERT INTO t2 VALUES
('j'),('u'),('i'),('r'),('x'),('a'),('x'),('s');
ANALYZE TABLE t1, t2;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
FLUSH TABLES;
SET optimizer_use_condition_selectivity=3;
@@ -1104,6 +1124,7 @@ insert into t1 values
set use_stat_tables='preferably';
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
flush table t1;
set optimizer_use_condition_selectivity=3;
@@ -1118,6 +1139,7 @@ Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a`
alter table t1 change column a a int;
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
flush table t1;
explain extended select * from t1 where a between 5 and 7;
@@ -1142,8 +1164,11 @@ CREATE TABLE t3 (c3 char(1), INDEX(c3)) ENGINE=MyISAM;
INSERT INTO t3 VALUES ('v'), ('c');
ANALYZE TABLE t1,t2,t3;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
+test.t3 analyze status Engine-independent statistics collected
test.t3 analyze status OK
SELECT * FROM t1
WHERE 2 IN ( SELECT pk2 FROM t2 LEFT JOIN t3 ON (c3 = c2 ) WHERE i2 = 3 );
@@ -1166,6 +1191,25 @@ SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE SQL_MODE != '';
TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
#
+# Bug mdev-5630: always true conjunctive condition
+# when optimizer_use_condition_selectivity=3
+#
+set use_stat_tables = 'preferably';
+set optimizer_use_condition_selectivity = 3;
+CREATE TABLE t1 (a int) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (10);
+CREATE TABLE t2 (id int, flag char(1), INDEX(id)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (100,'0'),(101,'1');
+ANALYZE TABLE t1, t2;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
+test.t2 analyze status OK
+SELECT * FROM t1, t2 WHERE id = a AND ( a = 16 OR flag AND a != 6 );
+a id flag
+DROP TABLE t1,t2;
+#
# Bug mdev-4429: join with range condition whose selectivity == 0
# when optimizer_use_condition_selectivity=3
#
@@ -1183,8 +1227,11 @@ INSERT INTO continent VALUES
SET use_stat_tables=PREFERABLY;
ANALYZE TABLE country, language, continent;
Table Op Msg_type Msg_text
+test.country analyze status Engine-independent statistics collected
test.country analyze status OK
+test.language analyze status Engine-independent statistics collected
test.language analyze status OK
+test.continent analyze status Engine-independent statistics collected
test.continent analyze status OK
FLUSH TABLES;
SET optimizer_use_condition_selectivity=3;
@@ -1203,3 +1250,100 @@ Note 1003 select `test`.`language`.`lang_group` AS `lang_group`,`test`.`language
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
drop table language, country, continent;
set use_stat_tables=@save_use_stat_tables;
+#
+# Bug mdev-5191: performance degradation due to a suboptimal chosen plan
+# when optimizer_use_condition_selectivity=3
+#
+set use_stat_tables = 'preferably';
+set @@RAND_SEED1=810763568, @@RAND_SEED2=600681772;
+set TIMESTAMP=1394806993;
+create table t1 (a int, b int) engine=myisam;
+insert t1 values (rand()*1e5, rand()*1e5);
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+create table t2 (c int, d int, key(c), key(d)) engine=myisam;
+insert t2 select floor(rand()*1e5/2)*2, floor(rand()*1e5/3)*3 from t1;
+analyze table t1,t2;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
+test.t2 analyze status Table is already up to date
+set optimizer_use_condition_selectivity=1;
+explain extended
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 262144 100.00 Using where
+1 SIMPLE t2 ref c,d c 5 test.t1.b 5 100.00
+1 SIMPLE t3 ALL NULL NULL NULL NULL 262144 100.00 Using where; Using join buffer (flat, BNL join)
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t2`.`c` AS `c`,`test`.`t2`.`d` AS `d`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b` from `test`.`t1` join `test`.`t2` join `test`.`t1` `t3` where ((`test`.`t2`.`c` = `test`.`t1`.`b`) and (`test`.`t3`.`a` = `test`.`t2`.`d`) and (`test`.`t3`.`b` < 5) and (`test`.`t1`.`a` < 2000))
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+a b c d a b
+1495 89366 89366 28296 28296 3
+961 24512 24512 85239 85239 4
+1063 89366 89366 28296 28296 3
+221 56120 56120 28296 28296 3
+set optimizer_use_condition_selectivity=3;
+explain extended
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t3 ALL NULL NULL NULL NULL 262144 0.00 Using where
+1 SIMPLE t2 ref c,d d 5 test.t3.a 7 100.00
+1 SIMPLE t1 ALL NULL NULL NULL NULL 262144 2.00 Using where; Using join buffer (flat, BNL join)
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t2`.`c` AS `c`,`test`.`t2`.`d` AS `d`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b` from `test`.`t1` join `test`.`t2` join `test`.`t1` `t3` where ((`test`.`t1`.`b` = `test`.`t2`.`c`) and (`test`.`t2`.`d` = `test`.`t3`.`a`) and (`test`.`t3`.`b` < 5) and (`test`.`t1`.`a` < 2000))
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+a b c d a b
+961 24512 24512 85239 85239 4
+1495 89366 89366 28296 28296 3
+1063 89366 89366 28296 28296 3
+221 56120 56120 28296 28296 3
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+drop table t1,t2;
+set histogram_type=@save_histogram_type;
+set histogram_size=@save_histogram_size;
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+#
+# Bug mdev-5931: no where condition after constant table row substitution
+# with optimizer_use_condition_selectivity=3
+#
+CREATE TABLE t1 (a varchar(3), b varchar(3)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES ('foo', 'foo');
+CREATE TABLE t2 (c INT) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1), (2);
+set optimizer_use_condition_selectivity=3;
+EXPLAIN EXTENDED
+SELECT * FROM t1, t2 WHERE c >= 0 OR a = b ;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
+1 SIMPLE t2 ALL NULL NULL NULL NULL 2 100.00
+Warnings:
+Note 1003 select 'foo' AS `a`,'foo' AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where 1
+SELECT * FROM t1, t2 WHERE c >= 0 OR a = b ;
+a b c
+foo foo 1
+foo foo 2
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+DROP TABLE t1,t2;
+set use_stat_tables=@save_use_stat_tables;
diff --git a/mysql-test/r/selectivity_innodb.result b/mysql-test/r/selectivity_innodb.result
index a3b6049c4d0..399e12560ac 100644
--- a/mysql-test/r/selectivity_innodb.result
+++ b/mysql-test/r/selectivity_innodb.result
@@ -1,6 +1,7 @@
SET SESSION STORAGE_ENGINE='InnoDB';
set @save_optimizer_switch_for_selectivity_test=@@optimizer_switch;
set optimizer_switch='extended_keys=on';
+drop table if exists t0,t1,t2,t3;
select @@global.use_stat_tables;
@@global.use_stat_tables
COMPLEMENTARY
@@ -18,6 +19,7 @@ insert into t1 values
(9), (3), (2), (NULL), (NULL), (2), (NULL), (1), (5), (NULL);
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
select * from mysql.column_stats;
db_name table_name column_name min_value max_value nulls_ratio avg_length avg_frequency hist_size hist_type histogram
@@ -73,7 +75,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 0.31 Using where; Using temporary; Using filesort
1 PRIMARY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where; Using join buffer (flat, BNL join)
1 PRIMARY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00 Using where
-1 PRIMARY supplier ALL PRIMARY,i_s_nationkey NULL NULL NULL 10 80.00 Using where; Using join buffer (flat, BNL join)
+1 PRIMARY supplier eq_ref PRIMARY,i_s_nationkey PRIMARY 4 dbt3_s001.partsupp.ps_suppkey 1 100.00 Using where
1 PRIMARY nation eq_ref PRIMARY,i_n_regionkey PRIMARY 4 dbt3_s001.supplier.s_nationkey 1 100.00 Using where
2 DEPENDENT SUBQUERY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where
2 DEPENDENT SUBQUERY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00
@@ -114,7 +116,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where; Using temporary; Using filesort
1 PRIMARY part ALL PRIMARY NULL NULL NULL 200 2.08 Using where; Using join buffer (flat, BNL join)
1 PRIMARY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00 Using where
-1 PRIMARY supplier ALL PRIMARY,i_s_nationkey NULL NULL NULL 10 80.00 Using where; Using join buffer (flat, BNL join)
+1 PRIMARY supplier eq_ref PRIMARY,i_s_nationkey PRIMARY 4 dbt3_s001.partsupp.ps_suppkey 1 100.00 Using where
1 PRIMARY nation eq_ref PRIMARY,i_n_regionkey PRIMARY 4 dbt3_s001.supplier.s_nationkey 1 100.00 Using where
2 DEPENDENT SUBQUERY region ALL PRIMARY NULL NULL NULL 5 20.00 Using where
2 DEPENDENT SUBQUERY partsupp ref PRIMARY,i_ps_partkey,i_ps_suppkey PRIMARY 4 dbt3_s001.part.p_partkey 3 100.00
@@ -164,7 +166,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY supplier index PRIMARY PRIMARY 4 NULL 10 100.00
1 PRIMARY <derived3> ref key0 key0 5 dbt3_s001.supplier.s_suppkey 10 100.00 Using where
3 DERIVED lineitem range i_l_shipdate i_l_shipdate 4 NULL 228 100.00 Using where; Using temporary; Using filesort
-2 SUBQUERY <derived4> ALL NULL NULL NULL NULL 228 100.00
+2 SUBQUERY <derived4> ALL NULL NULL NULL NULL 227 100.00
4 DERIVED lineitem range i_l_shipdate i_l_shipdate 4 NULL 228 100.00 Using where; Using temporary; Using filesort
Warnings:
Note 1003 select `dbt3_s001`.`supplier`.`s_suppkey` AS `s_suppkey`,`dbt3_s001`.`supplier`.`s_name` AS `s_name`,`dbt3_s001`.`supplier`.`s_address` AS `s_address`,`dbt3_s001`.`supplier`.`s_phone` AS `s_phone`,`revenue0`.`total_revenue` AS `total_revenue` from `dbt3_s001`.`supplier` join `dbt3_s001`.`revenue0` where ((`revenue0`.`supplier_no` = `dbt3_s001`.`supplier`.`s_suppkey`) and (`revenue0`.`total_revenue` = (select max(`revenue0`.`total_revenue`) from `dbt3_s001`.`revenue0`))) order by `dbt3_s001`.`supplier`.`s_suppkey`
@@ -357,13 +359,13 @@ and o_orderkey = l_orderkey
group by c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice
order by o_totalprice desc, o_orderdate;
id select_type table type possible_keys key key_len ref rows filtered Extra
-1 PRIMARY orders ALL PRIMARY,i_o_custkey NULL NULL NULL 1500 100.00 Using where; Using temporary; Using filesort
-1 PRIMARY <subquery2> eq_ref distinct_key distinct_key 4 dbt3_s001.orders.o_orderkey 1 100.00
+1 PRIMARY <subquery2> ALL distinct_key NULL NULL NULL 6005 0.00 Using temporary; Using filesort
+1 PRIMARY orders eq_ref PRIMARY,i_o_custkey PRIMARY 4 <subquery2>.l_orderkey 1 100.00 Using where
1 PRIMARY customer eq_ref PRIMARY PRIMARY 4 dbt3_s001.orders.o_custkey 1 100.00
-1 PRIMARY lineitem ref PRIMARY,i_l_orderkey,i_l_orderkey_quantity i_l_orderkey_quantity 4 dbt3_s001.orders.o_orderkey 4 100.00 Using index
+1 PRIMARY lineitem ref PRIMARY,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 <subquery2>.l_orderkey 4 100.00
2 MATERIALIZED lineitem index NULL PRIMARY 8 NULL 6005 100.00
Warnings:
-Note 1003 select `dbt3_s001`.`customer`.`c_name` AS `c_name`,`dbt3_s001`.`customer`.`c_custkey` AS `c_custkey`,`dbt3_s001`.`orders`.`o_orderkey` AS `o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE` AS `o_orderdate`,`dbt3_s001`.`orders`.`o_totalprice` AS `o_totalprice`,sum(`dbt3_s001`.`lineitem`.`l_quantity`) AS `sum(l_quantity)` from <materialize> (select `dbt3_s001`.`lineitem`.`l_orderkey` from `dbt3_s001`.`lineitem` group by `dbt3_s001`.`lineitem`.`l_orderkey` having (sum(`dbt3_s001`.`lineitem`.`l_quantity`) > 250)) join `dbt3_s001`.`customer` join `dbt3_s001`.`orders` join `dbt3_s001`.`lineitem` where ((`dbt3_s001`.`customer`.`c_custkey` = `dbt3_s001`.`orders`.`o_custkey`) and (`<subquery2>`.`l_orderkey` = `dbt3_s001`.`orders`.`o_orderkey`) and (`dbt3_s001`.`lineitem`.`l_orderkey` = `dbt3_s001`.`orders`.`o_orderkey`)) group by `dbt3_s001`.`customer`.`c_name`,`dbt3_s001`.`customer`.`c_custkey`,`dbt3_s001`.`orders`.`o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE`,`dbt3_s001`.`orders`.`o_totalprice` order by `dbt3_s001`.`orders`.`o_totalprice` desc,`dbt3_s001`.`orders`.`o_orderDATE`
+Note 1003 select `dbt3_s001`.`customer`.`c_name` AS `c_name`,`dbt3_s001`.`customer`.`c_custkey` AS `c_custkey`,`dbt3_s001`.`orders`.`o_orderkey` AS `o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE` AS `o_orderdate`,`dbt3_s001`.`orders`.`o_totalprice` AS `o_totalprice`,sum(`dbt3_s001`.`lineitem`.`l_quantity`) AS `sum(l_quantity)` from <materialize> (select `dbt3_s001`.`lineitem`.`l_orderkey` from `dbt3_s001`.`lineitem` group by `dbt3_s001`.`lineitem`.`l_orderkey` having (sum(`dbt3_s001`.`lineitem`.`l_quantity`) > 250)) join `dbt3_s001`.`customer` join `dbt3_s001`.`orders` join `dbt3_s001`.`lineitem` where ((`dbt3_s001`.`customer`.`c_custkey` = `dbt3_s001`.`orders`.`o_custkey`) and (`dbt3_s001`.`orders`.`o_orderkey` = `<subquery2>`.`l_orderkey`) and (`dbt3_s001`.`lineitem`.`l_orderkey` = `<subquery2>`.`l_orderkey`)) group by `dbt3_s001`.`customer`.`c_name`,`dbt3_s001`.`customer`.`c_custkey`,`dbt3_s001`.`orders`.`o_orderkey`,`dbt3_s001`.`orders`.`o_orderDATE`,`dbt3_s001`.`orders`.`o_totalprice` order by `dbt3_s001`.`orders`.`o_totalprice` desc,`dbt3_s001`.`orders`.`o_orderDATE`
select
c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem
@@ -570,6 +572,7 @@ Supplier#000000010 Saygah3gYWMp72i PY
set histogram_size=127;
ANALYZE TABLE part PERSISTENT FOR COLUMNS(p_name) INDEXES();
Table Op Msg_type Msg_text
+dbt3_s001.part analyze status Engine-independent statistics collected
dbt3_s001.part analyze status OK
flush table part;
set optimizer_use_condition_selectivity=4;
@@ -626,6 +629,7 @@ set histogram_type='DOUBLE_PREC_HB';
set histogram_size=126;
ANALYZE TABLE part PERSISTENT FOR COLUMNS(p_name) INDEXES();
Table Op Msg_type Msg_text
+dbt3_s001.part analyze status Engine-independent statistics collected
dbt3_s001.part analyze status OK
flush table part;
EXPLAIN EXTENDED select sql_calc_found_rows
@@ -681,6 +685,7 @@ set histogram_type='SINGLE_PREC_HB';
set histogram_size=24;
ANALYZE TABLE nation PERSISTENT FOR COLUMNS(n_name) INDEXES();
Table Op Msg_type Msg_text
+dbt3_s001.nation analyze status Engine-independent statistics collected
dbt3_s001.nation analyze status OK
flush table nation;
EXPLAIN EXTENDED select sql_calc_found_rows
@@ -798,9 +803,10 @@ explain extended
select * from t1 where a in ( select b from t2 ) AND ( a > 3 );
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL 1 0.00 Using where
-1 PRIMARY t2 ALL NULL NULL NULL NULL 2 0.00 Using where; FirstMatch(t1); Using join buffer (flat, BNL join)
+1 PRIMARY <subquery2> eq_ref distinct_key distinct_key 4 func 1 100.00
+2 MATERIALIZED t2 ALL NULL NULL NULL NULL 2 0.00
Warnings:
-Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` semi join (`test`.`t2`) where ((`test`.`t2`.`b` = `test`.`t1`.`a`) and (`test`.`t1`.`a` > 3))
+Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` semi join (`test`.`t2`) where ((`test`.`t1`.`a` > 3))
select * from t1 where a in ( select b from t2 ) AND ( a > 3 );
a
drop table t1,t2;
@@ -828,12 +834,13 @@ set histogram_size=127;
set histogram_type='SINGLE_PREC_HB';
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
flush table t1;
set optimizer_use_condition_selectivity=4;
explain extended select * from t1 where a=0;
id select_type table type possible_keys key key_len ref rows filtered Extra
-1 SIMPLE t1 ALL NULL NULL NULL NULL 1025 49.61 Using where
+1 SIMPLE t1 ALL NULL NULL NULL NULL 1025 0.39 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` = 0)
drop table t1;
@@ -895,6 +902,7 @@ CREATE TABLE t1 (a int);
INSERT INTO t1 VALUES (9), (1);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -922,7 +930,9 @@ CREATE TABLE t2 (c int);
INSERT INTO t2 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
ANALYZE TABLE t1, t2;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -950,6 +960,7 @@ CREATE TABLE t1 (a varchar(1));
INSERT INTO t1 VALUES ('x'), ('y');
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -970,7 +981,9 @@ CREATE TABLE t2 (b int);
INSERT INTO t2 VALUES (4),(5),(2),(5),(1),(1),(2);
ANALYZE TABLE t1, t2;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -996,6 +1009,7 @@ INSERT INTO t1 VALUES
(1),(7),(4),(7),(NULL),(2),(NULL),(4),(NULL),(NULL),(1),(3),(8),(8);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
FLUSH TABLE t1;
set optimizer_use_condition_selectivity=3;
@@ -1043,8 +1057,11 @@ INSERT INTO t3 VALUES
('brown'),('taylor'),('anderson'),('taylor');
ANALYZE TABLE t1, t2, t3;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
+test.t3 analyze status Engine-independent statistics collected
test.t3 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=4;
@@ -1068,8 +1085,11 @@ CREATE TABLE t3 (c VARCHAR(8), d VARCHAR(8));
INSERT INTO t3 VALUES ('white','black'),('cyan','yellow');
ANALYZE TABLE t1, t2, t3;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
+test.t3 analyze status Engine-independent statistics collected
test.t3 analyze status OK
FLUSH TABLES;
set optimizer_use_condition_selectivity=3;
@@ -1093,7 +1113,9 @@ INSERT INTO t2 VALUES
('j'),('u'),('i'),('r'),('x'),('a'),('x'),('s');
ANALYZE TABLE t1, t2;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
FLUSH TABLES;
SET optimizer_use_condition_selectivity=3;
@@ -1112,6 +1134,7 @@ insert into t1 values
set use_stat_tables='preferably';
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
flush table t1;
set optimizer_use_condition_selectivity=3;
@@ -1126,6 +1149,7 @@ Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a`
alter table t1 change column a a int;
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
flush table t1;
explain extended select * from t1 where a between 5 and 7;
@@ -1150,8 +1174,11 @@ CREATE TABLE t3 (c3 char(1), INDEX(c3)) ENGINE=MyISAM;
INSERT INTO t3 VALUES ('v'), ('c');
ANALYZE TABLE t1,t2,t3;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
+test.t3 analyze status Engine-independent statistics collected
test.t3 analyze status OK
SELECT * FROM t1
WHERE 2 IN ( SELECT pk2 FROM t2 LEFT JOIN t3 ON (c3 = c2 ) WHERE i2 = 3 );
@@ -1174,6 +1201,25 @@ SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE SQL_MODE != '';
TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
#
+# Bug mdev-5630: always true conjunctive condition
+# when optimizer_use_condition_selectivity=3
+#
+set use_stat_tables = 'preferably';
+set optimizer_use_condition_selectivity = 3;
+CREATE TABLE t1 (a int) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (10);
+CREATE TABLE t2 (id int, flag char(1), INDEX(id)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (100,'0'),(101,'1');
+ANALYZE TABLE t1, t2;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
+test.t2 analyze status OK
+SELECT * FROM t1, t2 WHERE id = a AND ( a = 16 OR flag AND a != 6 );
+a id flag
+DROP TABLE t1,t2;
+#
# Bug mdev-4429: join with range condition whose selectivity == 0
# when optimizer_use_condition_selectivity=3
#
@@ -1191,8 +1237,11 @@ INSERT INTO continent VALUES
SET use_stat_tables=PREFERABLY;
ANALYZE TABLE country, language, continent;
Table Op Msg_type Msg_text
+test.country analyze status Engine-independent statistics collected
test.country analyze status OK
+test.language analyze status Engine-independent statistics collected
test.language analyze status OK
+test.continent analyze status Engine-independent statistics collected
test.continent analyze status OK
FLUSH TABLES;
SET optimizer_use_condition_selectivity=3;
@@ -1211,5 +1260,102 @@ Note 1003 select `test`.`language`.`lang_group` AS `lang_group`,`test`.`language
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
drop table language, country, continent;
set use_stat_tables=@save_use_stat_tables;
+#
+# Bug mdev-5191: performance degradation due to a suboptimal chosen plan
+# when optimizer_use_condition_selectivity=3
+#
+set use_stat_tables = 'preferably';
+set @@RAND_SEED1=810763568, @@RAND_SEED2=600681772;
+set TIMESTAMP=1394806993;
+create table t1 (a int, b int) engine=myisam;
+insert t1 values (rand()*1e5, rand()*1e5);
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+create table t2 (c int, d int, key(c), key(d)) engine=myisam;
+insert t2 select floor(rand()*1e5/2)*2, floor(rand()*1e5/3)*3 from t1;
+analyze table t1,t2;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
+test.t2 analyze status Table is already up to date
+set optimizer_use_condition_selectivity=1;
+explain extended
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 262144 100.00 Using where
+1 SIMPLE t2 ref c,d c 5 test.t1.b 5 100.00
+1 SIMPLE t3 ALL NULL NULL NULL NULL 262144 100.00 Using where; Using join buffer (flat, BNL join)
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t2`.`c` AS `c`,`test`.`t2`.`d` AS `d`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b` from `test`.`t1` join `test`.`t2` join `test`.`t1` `t3` where ((`test`.`t2`.`c` = `test`.`t1`.`b`) and (`test`.`t3`.`a` = `test`.`t2`.`d`) and (`test`.`t3`.`b` < 5) and (`test`.`t1`.`a` < 2000))
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+a b c d a b
+1495 89366 89366 28296 28296 3
+961 24512 24512 85239 85239 4
+1063 89366 89366 28296 28296 3
+221 56120 56120 28296 28296 3
+set optimizer_use_condition_selectivity=3;
+explain extended
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t3 ALL NULL NULL NULL NULL 262144 0.00 Using where
+1 SIMPLE t2 ref c,d d 5 test.t3.a 7 100.00
+1 SIMPLE t1 ALL NULL NULL NULL NULL 262144 2.00 Using where; Using join buffer (flat, BNL join)
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t2`.`c` AS `c`,`test`.`t2`.`d` AS `d`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b` from `test`.`t1` join `test`.`t2` join `test`.`t1` `t3` where ((`test`.`t1`.`b` = `test`.`t2`.`c`) and (`test`.`t2`.`d` = `test`.`t3`.`a`) and (`test`.`t3`.`b` < 5) and (`test`.`t1`.`a` < 2000))
+select * from t1, t2, t1 as t3
+where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+a b c d a b
+961 24512 24512 85239 85239 4
+1495 89366 89366 28296 28296 3
+1063 89366 89366 28296 28296 3
+221 56120 56120 28296 28296 3
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+drop table t1,t2;
+set histogram_type=@save_histogram_type;
+set histogram_size=@save_histogram_size;
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+#
+# Bug mdev-5931: no where condition after constant table row substitution
+# with optimizer_use_condition_selectivity=3
+#
+CREATE TABLE t1 (a varchar(3), b varchar(3)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES ('foo', 'foo');
+CREATE TABLE t2 (c INT) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1), (2);
+set optimizer_use_condition_selectivity=3;
+EXPLAIN EXTENDED
+SELECT * FROM t1, t2 WHERE c >= 0 OR a = b ;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
+1 SIMPLE t2 ALL NULL NULL NULL NULL 2 100.00
+Warnings:
+Note 1003 select 'foo' AS `a`,'foo' AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where 1
+SELECT * FROM t1, t2 WHERE c >= 0 OR a = b ;
+a b c
+foo foo 1
+foo foo 2
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+DROP TABLE t1,t2;
+set use_stat_tables=@save_use_stat_tables;
set optimizer_switch=@save_optimizer_switch_for_selectivity_test;
SET SESSION STORAGE_ENGINE=DEFAULT;
diff --git a/mysql-test/r/selectivity_no_engine.result b/mysql-test/r/selectivity_no_engine.result
new file mode 100644
index 00000000000..6516abbe318
--- /dev/null
+++ b/mysql-test/r/selectivity_no_engine.result
@@ -0,0 +1,147 @@
+#
+# Engine-agnostic tests for statistics-based selectivity calculations.
+# - selectivity tests that depend on the engine should go into
+# t/selectivity.test. That test is run with myisam/innodb/xtradb.
+# - this file is for tests that don't depend on the engine.
+#
+drop table if exists t0,t1,t2,t3;
+select @@global.use_stat_tables;
+@@global.use_stat_tables
+COMPLEMENTARY
+select @@session.use_stat_tables;
+@@session.use_stat_tables
+COMPLEMENTARY
+set @save_use_stat_tables=@@use_stat_tables;
+set use_stat_tables='preferably';
+set @save_optimizer_use_condition_selectivity=@@optimizer_use_condition_selectivity;
+set @save_histogram_size=@@histogram_size;
+set @save_histogram_type=@@histogram_type;
+#
+# MDEV-5917: EITS: different order of predicates in IN (...) causes different estimates
+#
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t2 (col1 int);
+# one value in 1..100 range
+insert into t2 select A.a + B.a*10 from t1 A, t1 B;
+# ten values in 100...200 range
+insert into t2 select 100 + A.a + B.a*10 from t1 A, t1 B, t1 C;
+set histogram_type='SINGLE_PREC_HB';
+set histogram_size=100;
+set optimizer_use_condition_selectivity=4;
+analyze table t2 persistent for all;
+Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
+test.t2 analyze status OK
+# The following two must have the same in 'Extra' column:
+explain extended select * from t2 where col1 IN (20, 180);
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t2 ALL NULL NULL NULL NULL 1100 1.35 Using where
+Warnings:
+Note 1003 select `test`.`t2`.`col1` AS `col1` from `test`.`t2` where (`test`.`t2`.`col1` in (20,180))
+explain extended select * from t2 where col1 IN (180, 20);
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t2 ALL NULL NULL NULL NULL 1100 1.35 Using where
+Warnings:
+Note 1003 select `test`.`t2`.`col1` AS `col1` from `test`.`t2` where (`test`.`t2`.`col1` in (180,20))
+drop table t1, t2;
+#
+# MDEV-5926: EITS: Histogram estimates for column=least_possible_value are wrong
+#
+create table t0(a int);
+insert into t0 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t1(a int);
+insert into t1 select A.a from t0 A, t0 B, t0 C;
+set histogram_size=20;
+set histogram_type='single_prec_hb';
+analyze table t1 persistent for all;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+set use_stat_tables='preferably';
+set optimizer_use_condition_selectivity=4;
+# Should select about 10%:
+explain extended select * from t1 where a=2;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 9.52 Using where
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` = 2)
+# Should select about 10%:
+explain extended select * from t1 where a=1;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 9.52 Using where
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` = 1)
+# Must not have filtered=100%:
+explain extended select * from t1 where a=0;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 9.52 Using where
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` = 0)
+# Again, must not have filtered=100%:
+explain extended select * from t1 where a=-1;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 9.52 Using where
+Warnings:
+Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` = <cache>(-(1)))
+drop table t0, t1;
+#
+# MDEV-4362: Selectivity estimates for IN (...) do not depend on whether the values are in range
+#
+create table t1 (col1 int);
+set @a=-1;
+create table t2 (a int) select (@a:=@a+1) as a from information_schema.session_variables A limit 100;
+insert into t1 select A.a from t2 A, t2 B where A.a < 100 and B.a < 100;
+select min(col1), max(col1), count(*) from t1;
+min(col1) max(col1) count(*)
+0 99 10000
+set histogram_size=100;
+analyze table t1 persistent for all;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+explain extended select * from t1 where col1 in (1,2,3);
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 10000 3.37 Using where
+Warnings:
+Note 1003 select `test`.`t1`.`col1` AS `col1` from `test`.`t1` where (`test`.`t1`.`col1` in (1,2,3))
+# Must not cause fp division by zero, or produce nonsense numbers:
+explain extended select * from t1 where col1 in (-1,-2,-3);
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 10000 5.94 Using where
+Warnings:
+Note 1003 select `test`.`t1`.`col1` AS `col1` from `test`.`t1` where (`test`.`t1`.`col1` in (<cache>(-(1)),<cache>(-(2)),<cache>(-(3))))
+explain extended select * from t1 where col1<=-1;
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t1 ALL NULL NULL NULL NULL 10000 1.00 Using where
+Warnings:
+Note 1003 select `test`.`t1`.`col1` AS `col1` from `test`.`t1` where (`test`.`t1`.`col1` <= <cache>(-(1)))
+drop table t1, t2;
+#
+# MDEV-5984: EITS: Incorrect filtered% value for single-table select with range access
+#
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t2 (a int, b int, col1 varchar(64), col2 varchar(64), key(a,b));
+insert into t2 select A.a+10*B.a, C.a+10*D.a, 'filler-data1', 'filler-data2' from t1 A, t1 B, t1 C, t1 D;
+set histogram_size=100;
+set optimizer_use_condition_selectivity=4;
+set use_stat_tables='preferably';
+analyze table t2 persistent for all;
+Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
+test.t2 analyze status Table is already up to date
+# This must show filtered=100%:
+explain extended select * from t2 where a in (1,2,3) and b in (1,2,3);
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 SIMPLE t2 range a a 10 NULL 9 100.00 Using index condition
+Warnings:
+Note 1003 select `test`.`t2`.`a` AS `a`,`test`.`t2`.`b` AS `b`,`test`.`t2`.`col1` AS `col1`,`test`.`t2`.`col2` AS `col2` from `test`.`t2` where ((`test`.`t2`.`a` in (1,2,3)) and (`test`.`t2`.`b` in (1,2,3)))
+drop table t2, t1;
+#
+# End of the test file
+#
+set use_stat_tables= @save_use_stat_tables;
+set histogram_type=@save_histogram_type;
+set histogram_size=@save_histogram_size;
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
diff --git a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result
index efe52894aab..6d6fd2e43d6 100644
--- a/mysql-test/r/show_check.result
+++ b/mysql-test/r/show_check.result
@@ -1553,7 +1553,7 @@ RELEASE_LOCK('t')
1
SET NAMES latin1;
#
-# WL#6454: Deprecate SHOW AUTHORS and SHOW CONTRIBUTORS
+# Test SHOW AUTHORS and SHOW CONTRIBUTORS
#
SHOW AUTHORS;
SHOW WARNINGS;
diff --git a/mysql-test/r/slave-running.result b/mysql-test/r/slave-running.result
deleted file mode 100644
index 3699390a7d3..00000000000
--- a/mysql-test/r/slave-running.result
+++ /dev/null
@@ -1,3 +0,0 @@
-show status like 'Slave_running';
-Variable_name Value
-Slave_running ON
diff --git a/mysql-test/r/slave-stopped.result b/mysql-test/r/slave-stopped.result
deleted file mode 100644
index 90b416b7bd7..00000000000
--- a/mysql-test/r/slave-stopped.result
+++ /dev/null
@@ -1,3 +0,0 @@
-show status like 'Slave_running';
-Variable_name Value
-Slave_running OFF
diff --git a/mysql-test/r/sp-security.result b/mysql-test/r/sp-security.result
index 88908b05f46..e8c3fbff0e3 100644
--- a/mysql-test/r/sp-security.result
+++ b/mysql-test/r/sp-security.result
@@ -617,3 +617,33 @@ SELECT 1 latin1 latin1_swedish_ci latin1_swedish_ci
# Connection default
DROP USER user2@localhost;
DROP DATABASE db1;
+#
+# Test for bug#12602983 - User without privilege on routine can discover
+# its existence by executing "select non_existing_func();" or by
+# "call non_existing_proc()";
+#
+drop database if exists mysqltest_db;
+create database mysqltest_db;
+create function mysqltest_db.f1() returns int return 0;
+create procedure mysqltest_db.p1() begin end;
+# Create user with no privileges on mysqltest_db database.
+create user bug12602983_user@localhost;
+# Connect as user 'bug12602983_user@localhost'
+# Attempt to execute routine on which user doesn't have privileges
+# should result in the same 'access denied' error whether
+# routine exists or not.
+select mysqltest_db.f_does_not_exist();
+ERROR 42000: execute command denied to user 'bug12602983_user'@'localhost' for routine 'mysqltest_db.f_does_not_exist'
+call mysqltest_db.p_does_not_exist();
+ERROR 42000: execute command denied to user 'bug12602983_user'@'localhost' for routine 'mysqltest_db.p_does_not_exist'
+select mysqltest_db.f1();
+ERROR 42000: execute command denied to user 'bug12602983_user'@'localhost' for routine 'mysqltest_db.f1'
+call mysqltest_db.p1();
+ERROR 42000: execute command denied to user 'bug12602983_user'@'localhost' for routine 'mysqltest_db.p1'
+create view bug12602983_v1 as select mysqltest_db.f_does_not_exist();
+ERROR 42000: execute command denied to user 'bug12602983_user'@'localhost' for routine 'mysqltest_db.f_does_not_exist'
+create view bug12602983_v1 as select mysqltest_db.f1();
+ERROR 42000: execute command denied to user 'bug12602983_user'@'localhost' for routine 'mysqltest_db.f1'
+# Connection 'default'.
+drop user bug12602983_user@localhost;
+drop database mysqltest_db;
diff --git a/mysql-test/r/ssl.result b/mysql-test/r/ssl.result
index 88d81196dcf..868efcbdf31 100644
--- a/mysql-test/r/ssl.result
+++ b/mysql-test/r/ssl.result
@@ -3,10 +3,10 @@ Variable_name Value
Ssl_cipher DHE-RSA-AES256-SHA
SHOW STATUS LIKE 'Ssl_server_not_before';
Variable_name Value
-Ssl_server_not_before Jan 29 11:56:49 2010 GMT
+Ssl_server_not_before Feb 20 02:55:06 2010 GMT
SHOW STATUS LIKE 'Ssl_server_not_after';
Variable_name Value
-Ssl_server_not_after Jan 28 11:56:49 2015 GMT
+Ssl_server_not_after Sep 3 02:55:06 2030 GMT
drop table if exists t1,t2,t3,t4;
CREATE TABLE t1 (
Period smallint(4) unsigned zerofill DEFAULT '0000' NOT NULL,
diff --git a/mysql-test/r/stack-crash.result b/mysql-test/r/stack-crash.result
new file mode 100644
index 00000000000..be5b6464b9a
--- /dev/null
+++ b/mysql-test/r/stack-crash.result
@@ -0,0 +1,93 @@
+drop table if exists t1,t2;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+Note 1051 Unknown table 'test.t2'
+CREATE TABLE t1 (
+`sspo_id` int(11) NOT NULL AUTO_INCREMENT,
+`sspo_uid` int(11) NOT NULL DEFAULT '0',
+`sspo_type` varchar(1) NOT NULL DEFAULT 'P',
+`sspo_text` longtext NOT NULL,
+`sspo_image` varchar(255) NOT NULL,
+`sspo_source` int(11) NOT NULL DEFAULT '0',
+`sspo_event_name` varchar(255) NOT NULL DEFAULT '',
+`sspo_event_location` varchar(255) NOT NULL DEFAULT '',
+`sspo_event_date` datetime DEFAULT NULL,
+`sspo_remote_title` varchar(255) NOT NULL,
+`sspo_remote_url` varchar(255) NOT NULL,
+`sspo_remote_desc` text NOT NULL,
+`sspo_remote_image` varchar(255) NOT NULL,
+`sspo_obj_status` varchar(1) NOT NULL DEFAULT 'A',
+`sspo_cr_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+`sspo_cr_uid` int(11) NOT NULL DEFAULT '0',
+`sspo_lu_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+`sspo_lu_uid` int(11) NOT NULL DEFAULT '0',
+PRIMARY KEY (`sspo_id`),
+KEY `post_uid` (`sspo_uid`,`sspo_cr_date`)
+) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;
+Warnings:
+Warning 1286 Unknown storage engine 'InnoDB'
+Warning 1266 Using storage engine MyISAM for table 't1'
+INSERT INTO t1 VALUES (1,2,'P','test1','',0,'','',NULL,'','','','','A','2013-09-30 00:19:32',2,'2013-09-30 00:19:32',2),(2,2,'P','bbb','',0,'','',NULL,'','','','','A','2013-10-02 15:06:35',2,'2013-10-02 15:06:35',2);
+CREATE TABLE `t2` (
+`spoo_id` int(11) NOT NULL AUTO_INCREMENT,
+`spoo_user_type_id` int(11) NOT NULL DEFAULT '0',
+`spoo_uid` int(11) NOT NULL DEFAULT '0',
+`spoo_option_id` int(11) NOT NULL DEFAULT '0',
+`spoo_value` varchar(10000) NOT NULL,
+`spoo_obj_status` varchar(1) NOT NULL DEFAULT 'A',
+`spoo_cr_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+`spoo_cr_uid` int(11) NOT NULL DEFAULT '0',
+`spoo_lu_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+`spoo_lu_uid` int(11) NOT NULL DEFAULT '0',
+PRIMARY KEY (`spoo_id`),
+KEY `object_option_main_idx` (`spoo_user_type_id`,`spoo_uid`,`spoo_option_id`,`spoo_value`(255))
+) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8;
+Warnings:
+Warning 1286 Unknown storage engine 'InnoDB'
+Warning 1266 Using storage engine MyISAM for table 't2'
+INSERT INTO `t2` VALUES (19,1,2,6,'Dortmund','A','2013-09-26 01:36:51',2,'2013-09-26 01:36:51',2),(20,1,2,8,'49','A','2013-09-26 01:36:51',2,'2013-09-26 01:36:51',2);
+SELECT Count(*)
+FROM t1 AS tbl
+LEFT JOIN t2 a
+ON a.spoo_uid = sspo_uid
+AND a.spoo_option_id = 1
+LEFT JOIN t2 b
+ON b.spoo_uid = sspo_uid
+AND b.spoo_option_id = 2
+LEFT JOIN t2 c
+ON c.spoo_uid = sspo_uid
+AND c.spoo_option_id = 3
+LEFT JOIN t2 d
+ON d.spoo_uid = sspo_uid
+AND d.spoo_option_id = 5
+LEFT JOIN t2 e
+ON e.spoo_uid = sspo_uid
+AND e.spoo_option_id = 4
+LEFT JOIN t2 f
+ON f.spoo_uid = sspo_uid
+AND f.spoo_option_id = 11
+LEFT JOIN t2 g
+ON g.spoo_uid = sspo_uid
+AND g.spoo_option_id = 7
+LEFT JOIN t2 h
+ON h.spoo_uid = sspo_uid
+AND h.spoo_option_id = 10
+LEFT JOIN t2 i
+ON i.spoo_uid = sspo_uid
+AND i.spoo_option_id = 18
+LEFT JOIN t2 j
+ON j.spoo_uid = sspo_uid
+AND j.spoo_option_id = 6
+GROUP BY a.spoo_value,
+b.spoo_value,
+c.spoo_value,
+d.spoo_value,
+e.spoo_value,
+f.spoo_value,
+g.spoo_value,
+h.spoo_value,
+i.spoo_value,
+j.spoo_value;
+Count(*)
+2
+drop table t1,t2;
diff --git a/mysql-test/r/stat_tables.result b/mysql-test/r/stat_tables.result
index 63c65e23c19..285284596c4 100644
--- a/mysql-test/r/stat_tables.result
+++ b/mysql-test/r/stat_tables.result
@@ -350,6 +350,7 @@ create table t1 (i int);
lock table t1 write;
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
alter table t1 add column a varchar(8);
drop table t1;
@@ -362,6 +363,7 @@ INSERT INTO t1 VALUES (1),(2);
DELETE FROM t1 WHERE a=1;
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
DROP TABLE t1;
#
@@ -390,10 +392,12 @@ CREATE TABLE t1 (id int PRIMARY KEY) ENGINE=MyISAM;
INSERT INTO t1 VALUES (1),(2);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
CREATE TABLE t2 (name char(3)) ENGINE=MyISAM;
ANALYZE TABLE t2;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status Table is already up to date
INSERT INTO t2 VALUES ('USA'),('AUS');
SELECT * FROM t1 STRAIGHT_JOIN t2 WHERE name IN ( 'AUS','YEM' ) AND id = 1;
@@ -406,6 +410,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ALL NULL NULL NULL NULL 0 Using where
ANALYZE TABLE t2;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM t1 STRAIGHT_JOIN t2 WHERE name IN ( 'AUS','YEM' ) AND id = 1;
id name
diff --git a/mysql-test/r/stat_tables_innodb.result b/mysql-test/r/stat_tables_innodb.result
index c601271c4d0..301c093ce9c 100644
--- a/mysql-test/r/stat_tables_innodb.result
+++ b/mysql-test/r/stat_tables_innodb.result
@@ -377,6 +377,7 @@ create table t1 (i int);
lock table t1 write;
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
alter table t1 add column a varchar(8);
drop table t1;
@@ -389,6 +390,7 @@ INSERT INTO t1 VALUES (1),(2);
DELETE FROM t1 WHERE a=1;
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
DROP TABLE t1;
#
@@ -417,10 +419,12 @@ CREATE TABLE t1 (id int PRIMARY KEY) ENGINE=MyISAM;
INSERT INTO t1 VALUES (1),(2);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
CREATE TABLE t2 (name char(3)) ENGINE=MyISAM;
ANALYZE TABLE t2;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status Table is already up to date
INSERT INTO t2 VALUES ('USA'),('AUS');
SELECT * FROM t1 STRAIGHT_JOIN t2 WHERE name IN ( 'AUS','YEM' ) AND id = 1;
@@ -433,6 +437,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ALL NULL NULL NULL NULL 0 Using where
ANALYZE TABLE t2;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM t1 STRAIGHT_JOIN t2 WHERE name IN ( 'AUS','YEM' ) AND id = 1;
id name
diff --git a/mysql-test/r/stat_tables_par.result b/mysql-test/r/stat_tables_par.result
index a98f934fa96..ed39b7af9a9 100644
--- a/mysql-test/r/stat_tables_par.result
+++ b/mysql-test/r/stat_tables_par.result
@@ -148,7 +148,7 @@ use dbt3_s001;
set use_stat_tables='preferably';
analyze table lineitem persistent for columns() indexes (i_l_receiptdate);
set debug_sync='RESET';
-select * from mysql.index_stats where table_name='lineitem' order by index_name;
+select * from mysql.index_stats where table_name='lineitem' order by index_name, prefix_arity;
db_name table_name index_name prefix_arity avg_frequency
dbt3_s001 lineitem PRIMARY 1 4.0033
dbt3_s001 lineitem PRIMARY 2 1.0000
@@ -212,7 +212,7 @@ analyze table lineitem persistent for all;
set debug_sync='open_and_process_table WAIT_FOR parker';
set debug_sync='statistics_read_start SIGNAL go1 WAIT_FOR go2';
use dbt3_s001;
-select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68;
+select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68 order by prefix_arity;;
db_name table_name index_name prefix_arity avg_frequency l_orderkey l_partkey l_suppkey l_linenumber l_quantity l_extendedprice l_discount l_tax l_returnflag l_linestatus l_shipDATE l_commitDATE l_receiptDATE l_shipinstruct l_shipmode l_comment
dbt3_s001 lineitem i_l_shipdate 1 2.6500 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
set debug_sync='RESET';
@@ -226,6 +226,7 @@ create table t1 (a int, b int, key(a));
insert t1 values (1,1),(2,2);
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SET debug_sync='after_open_table_ignore_flush WAIT_FOR go';
select * from information_schema.statistics where table_schema='test';
diff --git a/mysql-test/r/stat_tables_par_innodb.result b/mysql-test/r/stat_tables_par_innodb.result
index e0c00c482a0..cb4e4b09827 100644
--- a/mysql-test/r/stat_tables_par_innodb.result
+++ b/mysql-test/r/stat_tables_par_innodb.result
@@ -151,7 +151,7 @@ use dbt3_s001;
set use_stat_tables='preferably';
analyze table lineitem persistent for columns() indexes (i_l_receiptdate);
set debug_sync='RESET';
-select * from mysql.index_stats where table_name='lineitem' order by index_name;
+select * from mysql.index_stats where table_name='lineitem' order by index_name, prefix_arity;
db_name table_name index_name prefix_arity avg_frequency
dbt3_s001 lineitem PRIMARY 1 4.0033
dbt3_s001 lineitem PRIMARY 2 1.0000
@@ -161,7 +161,11 @@ dbt3_s001 lineitem i_l_orderkey_quantity 1 4.0033
dbt3_s001 lineitem i_l_orderkey_quantity 2 1.0404
dbt3_s001 lineitem i_l_partkey 1 30.0250
dbt3_s001 lineitem i_l_receiptdate 1 2.6477
+dbt3_s001 lineitem i_l_receiptdate 2 1.0152
+dbt3_s001 lineitem i_l_receiptdate 3 1.0000
dbt3_s001 lineitem i_l_shipdate 1 2.6500
+dbt3_s001 lineitem i_l_shipdate 2 1.0149
+dbt3_s001 lineitem i_l_shipdate 3 1.0000
dbt3_s001 lineitem i_l_suppkey 1 600.5000
dbt3_s001 lineitem i_l_suppkey_partkey 1 30.0250
dbt3_s001 lineitem i_l_suppkey_partkey 2 8.5786
@@ -176,7 +180,11 @@ dbt3_s001 lineitem i_l_orderkey_quantity 1 4.0033
dbt3_s001 lineitem i_l_orderkey_quantity 2 1.0404
dbt3_s001 lineitem i_l_partkey 1 30.0250
dbt3_s001 lineitem i_l_receiptdate 1 2.6477
+dbt3_s001 lineitem i_l_receiptdate 2 1.0152
+dbt3_s001 lineitem i_l_receiptdate 3 1.0000
dbt3_s001 lineitem i_l_shipdate 1 2.6500
+dbt3_s001 lineitem i_l_shipdate 2 1.0149
+dbt3_s001 lineitem i_l_shipdate 3 1.0000
dbt3_s001 lineitem i_l_suppkey 1 600.5000
dbt3_s001 lineitem i_l_suppkey_partkey 1 30.0250
dbt3_s001 lineitem i_l_suppkey_partkey 2 8.5786
@@ -202,15 +210,29 @@ db_name table_name index_name prefix_arity avg_frequency
dbt3_s001 lineitem PRIMARY 1 4.0027
dbt3_s001 lineitem PRIMARY 2 1.0000
dbt3_s001 lineitem i_l_commitdate 1 2.7155
+dbt3_s001 lineitem i_l_commitdate 2 1.0364
+dbt3_s001 lineitem i_l_commitdate 3 1.0000
dbt3_s001 lineitem i_l_orderkey 1 4.0027
+dbt3_s001 lineitem i_l_orderkey 2 1.0000
dbt3_s001 lineitem i_l_orderkey_quantity 1 4.0027
dbt3_s001 lineitem i_l_orderkey_quantity 2 1.0404
+dbt3_s001 lineitem i_l_orderkey_quantity 3 1.0000
dbt3_s001 lineitem i_l_partkey 1 30.0200
+dbt3_s001 lineitem i_l_partkey 2 1.0089
+dbt3_s001 lineitem i_l_partkey 3 1.0000
dbt3_s001 lineitem i_l_receiptdate 1 2.6473
+dbt3_s001 lineitem i_l_receiptdate 2 1.0152
+dbt3_s001 lineitem i_l_receiptdate 3 1.0000
dbt3_s001 lineitem i_l_shipdate 1 2.6496
+dbt3_s001 lineitem i_l_shipdate 2 1.0149
+dbt3_s001 lineitem i_l_shipdate 3 1.0000
dbt3_s001 lineitem i_l_suppkey 1 600.4000
+dbt3_s001 lineitem i_l_suppkey 2 1.2073
+dbt3_s001 lineitem i_l_suppkey 3 1.0000
dbt3_s001 lineitem i_l_suppkey_partkey 1 30.0200
dbt3_s001 lineitem i_l_suppkey_partkey 2 8.5771
+dbt3_s001 lineitem i_l_suppkey_partkey 3 1.0030
+dbt3_s001 lineitem i_l_suppkey_partkey 4 1.0000
set @save_global_use_stat_tables=@@global.use_stat_tables;
set global use_stat_tables='preferably';
set debug_sync='RESET';
@@ -221,9 +243,11 @@ analyze table lineitem persistent for all;
set debug_sync='open_and_process_table WAIT_FOR parker';
set debug_sync='statistics_read_start SIGNAL go1 WAIT_FOR go2';
use dbt3_s001;
-select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68;
+select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68 order by prefix_arity;;
db_name table_name index_name prefix_arity avg_frequency l_orderkey l_partkey l_suppkey l_linenumber l_quantity l_extendedprice l_discount l_tax l_returnflag l_linestatus l_shipDATE l_commitDATE l_receiptDATE l_shipinstruct l_shipmode l_comment
dbt3_s001 lineitem i_l_shipdate 1 2.6496 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
+dbt3_s001 lineitem i_l_shipdate 2 1.0149 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
+dbt3_s001 lineitem i_l_shipdate 3 1.0000 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
set debug_sync='RESET';
set global use_stat_tables=@save_global_use_stat_tables;
DROP DATABASE dbt3_s001;
@@ -235,6 +259,7 @@ create table t1 (a int, b int, key(a));
insert t1 values (1,1),(2,2);
analyze table t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SET debug_sync='after_open_table_ignore_flush WAIT_FOR go';
select * from information_schema.statistics where table_schema='test';
diff --git a/mysql-test/r/stat_tables_partition.result b/mysql-test/r/stat_tables_partition.result
index 75454b61fe0..12ae2570272 100644
--- a/mysql-test/r/stat_tables_partition.result
+++ b/mysql-test/r/stat_tables_partition.result
@@ -7,6 +7,7 @@ CREATE TABLE t1 (pk int PRIMARY KEY, a bit(1), INDEX idx(a)
INSERT INTO t1 VALUES (1,1),(2,0),(3,0),(4,1);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SET use_stat_tables = DEFAULT;
DROP TABLE t1;
diff --git a/mysql-test/r/stat_tables_rbr.result b/mysql-test/r/stat_tables_rbr.result
index 0c941bcb248..119801bf7d4 100644
--- a/mysql-test/r/stat_tables_rbr.result
+++ b/mysql-test/r/stat_tables_rbr.result
@@ -5,6 +5,7 @@ SET GLOBAL use_stat_tables = PREFERABLY;
CREATE TABLE t1 (i INT) ENGINE=InnoDB;
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
DROP TABLE t1;
SET GLOBAL use_stat_tables = DEFAULT;
@@ -12,6 +13,7 @@ SET use_stat_tables = PREFERABLY;
CREATE TABLE t1 ( a INT ) ENGINE=MyISAM PARTITION BY HASH(a) PARTITIONS 2;
ALTER TABLE t1 ANALYZE PARTITION p1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
diff --git a/mysql-test/r/stat_tables_repl.result b/mysql-test/r/stat_tables_repl.result
index 370b8c59db1..132e5f7beae 100644
--- a/mysql-test/r/stat_tables_repl.result
+++ b/mysql-test/r/stat_tables_repl.result
@@ -8,12 +8,14 @@ CREATE TABLE t1 ( a int, b int ) ENGINE=MyISAM;
INSERT INTO t1 VALUES (2,20), (1,20), (3,30);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
DROP TABLE t1;
CREATE TABLE t1 ( a int, b int, INDEX idx1(b) ) ENGINE=MyISAM;
INSERT INTO t1 VALUES (2,20), (1,20), (3,30);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
DROP INDEX idx1 ON t1;
DROP TABLE t1;
@@ -21,6 +23,7 @@ CREATE TABLE t1 ( a int, b int, INDEX idx1(b) ) ENGINE=MyISAM;
INSERT INTO t1 VALUES (2,20), (1,20), (3,30);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
ALTER TABLE t1 DROP COLUMN b;
DROP TABLE t1;
@@ -28,6 +31,7 @@ CREATE TABLE t1 ( a int, b int, INDEX idx1(b) ) ENGINE=MyISAM;
INSERT INTO t1 VALUES (2,20), (1,20), (3,30);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
ALTER TABLE t1 RENAME to s;
DROP TABLE s;
@@ -35,6 +39,7 @@ CREATE TABLE t1 ( a int, b int, INDEX idx1(b) ) ENGINE=MyISAM;
INSERT INTO t1 VALUES (2,20), (1,20), (3,30);
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
ALTER TABLE t1 CHANGE COLUMN b c int ;
DROP TABLE t1;
diff --git a/mysql-test/r/statistics.result b/mysql-test/r/statistics.result
index e7d25f3476c..a2d3d392f45 100644
--- a/mysql-test/r/statistics.result
+++ b/mysql-test/r/statistics.result
@@ -59,6 +59,7 @@ INSERT INTO t1 VALUES
(25, 'zzzzzzzzzzzzzzzzzz', 'bbb', '1989-03-12', 0.01, b'101');
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -210,6 +211,7 @@ DELETE FROM mysql.column_stats;
set histogram_size=4;
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
SELECT db_name, table_name, column_name,
min_value, max_value,
@@ -228,6 +230,7 @@ set histogram_size=8;
set histogram_type='DOUBLE_PREC_HB';
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
SELECT db_name, table_name, column_name,
min_value, max_value,
@@ -246,6 +249,7 @@ set histogram_size= 0;
set histogram_type=default;
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
CREATE TABLE t3 (
a int NOT NULL PRIMARY KEY,
@@ -273,6 +277,7 @@ INSERT INTO t3 VALUES
(29, 'vvvvvvvvvvvvv', 'dddddddd');
ANALYZE TABLE t3;
Table Op Msg_type Msg_text
+test.t3 analyze status Engine-independent statistics collected
test.t3 analyze status OK
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -574,6 +579,7 @@ test t1 idx2 2 2.3846
test t1 idx3 1 8.5000
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS(b) INDEXES(idx1, idx4);
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SELECT * FROM mysql.column_stats;
db_name table_name column_name min_value max_value nulls_ratio avg_length avg_frequency hist_size hist_type histogram
@@ -774,6 +780,7 @@ test t1 PRIMARY 1 1.0000
test t1 idx3 1 8.5000
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS(b) INDEXES(idx1, idx2, idx4);
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SELECT * FROM mysql.column_stats;
db_name table_name column_name min_value max_value nulls_ratio avg_length avg_frequency hist_size hist_type histogram
@@ -797,6 +804,7 @@ test t1 idx4 3 NULL
UPDATE t1 SET b=(SELECT b FROM t0 WHERE t0.a= t1.a);
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS(b) INDEXES(idx1, idx2, idx4);
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SELECT * FROM mysql.column_stats;
db_name table_name column_name min_value max_value nulls_ratio avg_length avg_frequency hist_size hist_type histogram
@@ -873,6 +881,7 @@ test t1 PRIMARY 1 1.0000
test t1 idx3 1 8.5000
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS(b) INDEXES(idx1, idx2, idx4);
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SELECT * FROM mysql.column_stats;
db_name table_name column_name min_value max_value nulls_ratio avg_length avg_frequency hist_size hist_type histogram
@@ -898,6 +907,7 @@ DELETE FROM mysql.column_stats;
DELETE FROM mysql.index_stats;
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS() INDEXES();
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -908,6 +918,7 @@ SELECT * FROM mysql.index_stats;
db_name table_name index_name prefix_arity avg_frequency
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS(c,e,b) INDEXES(idx2,idx4);
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -934,6 +945,7 @@ test t1 idx4 2 1.6875
test t1 idx4 3 1.1304
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS() INDEXES(primary);
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
SELECT * FROM mysql.index_stats;
db_name table_name index_name prefix_arity avg_frequency
@@ -948,6 +960,7 @@ DELETE FROM mysql.column_stats;
DELETE FROM mysql.index_stats;
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS ALL INDEXES ALL;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -977,6 +990,7 @@ INSERT INTO t2 SELECT * FROM t1;
set optimizer_switch='extended_keys=off';
ANALYZE TABLE t2;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -1022,6 +1036,7 @@ DELETE FROM mysql.index_stats;
set optimizer_switch='extended_keys=on';
ANALYZE TABLE t2;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -1070,6 +1085,7 @@ test t2 idx4 2 1.6875
test t2 idx4 3 1.1304
ANALYZE TABLE t2 PERSISTENT FOR COLUMNS() INDEXES ALL;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM mysql.index_stats ORDER BY index_name, prefix_arity, table_name;
db_name table_name index_name prefix_arity avg_frequency
@@ -1094,6 +1110,7 @@ test t2 idx2 2 2.3846
test t2 idx3 1 8.5000
ANALYZE TABLE t2 PERSISTENT FOR COLUMNS ALL INDEXES ALL;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM mysql.index_stats ORDER BY index_name, prefix_arity, table_name;
db_name table_name index_name prefix_arity avg_frequency
@@ -1128,6 +1145,7 @@ test t2 idx4 3 1.1154
test t2 idx4 4 1.0000
ANALYZE TABLE t2 PERSISTENT FOR COLUMNS ALL INDEXES ALL;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM mysql.index_stats ORDER BY index_name, prefix_arity, table_name;
db_name table_name index_name prefix_arity avg_frequency
@@ -1152,6 +1170,7 @@ test t2 idx2 2 2.3846
test t2 idx3 1 8.5000
ANALYZE TABLE t2 PERSISTENT FOR COLUMNS() INDEXES ALL;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
SELECT * FROM mysql.index_stats ORDER BY index_name, prefix_arity, table_name;
db_name table_name index_name prefix_arity avg_frequency
@@ -1192,6 +1211,7 @@ test t2 idx3 2 1.0000
test t2 PRIMARY 1 1.0000
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
SELECT * FROM mysql.column_stats;
db_name table_name column_name min_value max_value nulls_ratio avg_length avg_frequency hist_size hist_type histogram
@@ -1244,6 +1264,7 @@ db_name table_name index_name prefix_arity avg_frequency
set use_stat_tables='never';
ANALYZE TABLE t1 PERSISTENT FOR ALL;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status Table is already up to date
SELECT * FROM mysql.table_stats;
db_name table_name cardinality
@@ -1435,7 +1456,7 @@ set histogram_size=254;
set histogram_type='DOUBLE_PREC_HB';
ANALYZE TABLE City;
FLUSH TABLES;
-select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(histogram,hist_type) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='COUNTRYLANGUAGE' and UPPER(column_name) = 'PERCENTAGE';;
+select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='COUNTRYLANGUAGE' and UPPER(column_name) = 'PERCENTAGE';;
UPPER(db_name) WORLD
UPPER(table_name) COUNTRYLANGUAGE
UPPER(column_name) PERCENTAGE
@@ -1447,8 +1468,8 @@ avg_frequency 2.7640
hist_size 100
hist_type SINGLE_PREC_HB
hex(histogram) 0000000000000000000000000101010101010101010202020303030304040404050505050606070707080809090A0A0B0C0D0D0E0E0F10111213131415161718191B1C1E202224292A2E33373B4850575F6A76818C9AA7B9C4CFDADFE5EBF0F4F8FAFCFF
-decode_histogram(histogram,hist_type) 0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.004,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.004,0.000,0.000,0.004,0.000,0.000,0.000,0.004,0.000,0.000,0.000,0.004,0.000,0.000,0.000,0.004,0.000,0.004,0.000,0.000,0.004,0.000,0.004,0.000,0.004,0.000,0.004,0.004,0.004,0.000,0.004,0.000,0.004,0.004,0.004,0.004,0.004,0.000,0.004,0.004,0.004,0.004,0.004,0.004,0.008,0.004,0.008,0.008,0.008,0.008,0.020,0.004,0.016,0.020,0.016,0.016,0.051,0.031,0.027,0.031,0.043,0.047,0.043,0.043,0.055,0.051,0.071,0.043,0.043,0.043,0.020,0.024,0.024,0.020,0.016,0.016,0.008,0.008,0.012,0.000
-select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(histogram,hist_type) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='CITY' and UPPER(column_name) = 'POPULATION';;
+decode_histogram(hist_type,histogram) 0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.004,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.004,0.000,0.000,0.004,0.000,0.000,0.000,0.004,0.000,0.000,0.000,0.004,0.000,0.000,0.000,0.004,0.000,0.004,0.000,0.000,0.004,0.000,0.004,0.000,0.004,0.000,0.004,0.004,0.004,0.000,0.004,0.000,0.004,0.004,0.004,0.004,0.004,0.000,0.004,0.004,0.004,0.004,0.004,0.004,0.008,0.004,0.008,0.008,0.008,0.008,0.020,0.004,0.016,0.020,0.016,0.016,0.051,0.031,0.027,0.031,0.043,0.047,0.043,0.043,0.055,0.051,0.071,0.043,0.043,0.043,0.020,0.024,0.024,0.020,0.016,0.016,0.008,0.008,0.012,0.000
+select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='CITY' and UPPER(column_name) = 'POPULATION';;
UPPER(db_name) WORLD
UPPER(table_name) CITY
UPPER(column_name) POPULATION
@@ -1460,7 +1481,7 @@ avg_frequency 1.0467
hist_size 254
hist_type DOUBLE_PREC_HB
hex(histogram) 1F00A1002B023002350238023F02430249024E02520258025D02630268026E02720276027B02800285028C02920297029D02A102A802AC02B402BC02C402CC02D302DA02E302EA02F102F802010305030C03120319031F03290333033D0343034F03590363036D037803840390039A03A603B303C303D103E003F203020412042404330440045304600472047F049104A204B804C804DE04F2040A0526053F0558056F058E05B305D905F4051306380667068406AB06DA06020731075C079407C507F8072E085E08A508DF0824096909CC092E0A760AD50A400BA90B150CAD0C310D240E130F0E103B11B9126B14F0166B192F1CB71FFF240630483FC567
-decode_histogram(histogram,hist_type) 0.00047,0.00198,0.00601,0.00008,0.00008,0.00005,0.00011,0.00006,0.00009,0.00008,0.00006,0.00009,0.00008,0.00009,0.00008,0.00009,0.00006,0.00006,0.00008,0.00008,0.00008,0.00011,0.00009,0.00008,0.00009,0.00006,0.00011,0.00006,0.00012,0.00012,0.00012,0.00012,0.00011,0.00011,0.00014,0.00011,0.00011,0.00011,0.00014,0.00006,0.00011,0.00009,0.00011,0.00009,0.00015,0.00015,0.00015,0.00009,0.00018,0.00015,0.00015,0.00015,0.00017,0.00018,0.00018,0.00015,0.00018,0.00020,0.00024,0.00021,0.00023,0.00027,0.00024,0.00024,0.00027,0.00023,0.00020,0.00029,0.00020,0.00027,0.00020,0.00027,0.00026,0.00034,0.00024,0.00034,0.00031,0.00037,0.00043,0.00038,0.00038,0.00035,0.00047,0.00056,0.00058,0.00041,0.00047,0.00056,0.00072,0.00044,0.00060,0.00072,0.00061,0.00072,0.00066,0.00085,0.00075,0.00078,0.00082,0.00073,0.00108,0.00089,0.00105,0.00105,0.00151,0.00150,0.00110,0.00145,0.00163,0.00160,0.00165,0.00232,0.00201,0.00371,0.00365,0.00383,0.00459,0.00583,0.00662,0.00984,0.00969,0.01080,0.01379,0.02063,0.04308,0.05960,0.15816,0.59464
+decode_histogram(hist_type,histogram) 0.00047,0.00198,0.00601,0.00008,0.00008,0.00005,0.00011,0.00006,0.00009,0.00008,0.00006,0.00009,0.00008,0.00009,0.00008,0.00009,0.00006,0.00006,0.00008,0.00008,0.00008,0.00011,0.00009,0.00008,0.00009,0.00006,0.00011,0.00006,0.00012,0.00012,0.00012,0.00012,0.00011,0.00011,0.00014,0.00011,0.00011,0.00011,0.00014,0.00006,0.00011,0.00009,0.00011,0.00009,0.00015,0.00015,0.00015,0.00009,0.00018,0.00015,0.00015,0.00015,0.00017,0.00018,0.00018,0.00015,0.00018,0.00020,0.00024,0.00021,0.00023,0.00027,0.00024,0.00024,0.00027,0.00023,0.00020,0.00029,0.00020,0.00027,0.00020,0.00027,0.00026,0.00034,0.00024,0.00034,0.00031,0.00037,0.00043,0.00038,0.00038,0.00035,0.00047,0.00056,0.00058,0.00041,0.00047,0.00056,0.00072,0.00044,0.00060,0.00072,0.00061,0.00072,0.00066,0.00085,0.00075,0.00078,0.00082,0.00073,0.00108,0.00089,0.00105,0.00105,0.00151,0.00150,0.00110,0.00145,0.00163,0.00160,0.00165,0.00232,0.00201,0.00371,0.00365,0.00383,0.00459,0.00583,0.00662,0.00984,0.00969,0.01080,0.01379,0.02063,0.04308,0.05960,0.15816,0.59464
set histogram_type=default;
set histogram_size=default;
use test;
@@ -1523,6 +1544,7 @@ insert into t1 values (1),(2),(3);
set histogram_size=10;
analyze table t1 persistent for all;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
select db_name, table_name, column_name,
min_value, max_value,
@@ -1547,6 +1569,7 @@ histogram_size 10
histogram_type DOUBLE_PREC_HB
analyze table t1 persistent for all;
Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
test.t1 analyze status OK
select db_name, table_name, column_name,
min_value, max_value,
@@ -1587,6 +1610,7 @@ set @@max_heap_table_size=1024*16;
set histogram_size=63;
analyze table t2 persistent for all;
Table Op Msg_type Msg_text
+test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
select db_name, table_name, column_name,
min_value, max_value,
diff --git a/mysql-test/r/subselect.result b/mysql-test/r/subselect.result
index fc98607e38a..4cc3cd4a85f 100644
--- a/mysql-test/r/subselect.result
+++ b/mysql-test/r/subselect.result
@@ -561,7 +561,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t1 const PRIMARY,numreponse PRIMARY 7 const,const 1 100.00 Using index
2 SUBQUERY NULL NULL NULL NULL NULL NULL NULL NULL Select tables optimized away
Warnings:
-Note 1003 select 3 AS `numreponse` from `test`.`t1` where (1 = '1')
+Note 1003 select 3 AS `numreponse` from `test`.`t1` where 1
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
@@ -579,7 +579,7 @@ a b
1 11
2 12
update t1 set b= (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1 set b= (select b from t2);
ERROR 21000: Subquery returns more than 1 row
update t1 set b= (select b from t2 where t1.a = t2.a);
@@ -602,7 +602,7 @@ select * from t1 where b = (select b from t2 where t1.a = t2.a);
a b
2 12
delete from t1 where b in (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from t1 where b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete from t1 where b = (select b from t2 where t1.a = t2.a);
@@ -628,7 +628,7 @@ a b
22 11
2 12
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t12 where t11.a = t12.a);
-ERROR HY000: You can't specify target table 't12' for update in FROM clause
+ERROR HY000: Table 't12' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2 where t11.a = t2.a);
@@ -647,7 +647,7 @@ create table t3 (b int);
insert into t2 values (1);
insert into t3 values (1),(2);
INSERT INTO t1 (x) VALUES ((SELECT x FROM t1));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t1 (x) VALUES ((SELECT b FROM t3));
ERROR 21000: Subquery returns more than 1 row
INSERT INTO t1 (x) VALUES ((SELECT a FROM t2));
@@ -697,7 +697,7 @@ insert into t3 values (1),(2);
select * from t1;
x y
replace into t1 (x, y) VALUES ((SELECT x FROM t1), (SELECT a+1 FROM t2));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
replace into t1 (x, y) VALUES ((SELECT a FROM t3), (SELECT a+1 FROM t2));
ERROR 21000: Subquery returns more than 1 row
replace into t1 (x, y) VALUES ((SELECT a FROM t2), (SELECT a+1 FROM t2));
@@ -765,9 +765,9 @@ SELECT * FROM t2 WHERE id IN (SELECT 5 UNION SELECT 2);
id
2
INSERT INTO t2 VALUES ((SELECT * FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t2 VALUES ((SELECT id FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
SELECT * FROM t2;
id
1
@@ -4968,7 +4968,7 @@ SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 index PRIMARY PRIMARY 4 NULL 2 Using index
1 PRIMARY t3 ref b,b_2 b 5 test.t1.a 1 Using index
-2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index; Using filesort
+2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index
SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT 1) AS incorrect FROM t1, t3 WHERE t3.b=t1.a;
a incorrect
1 1
@@ -6098,7 +6098,7 @@ FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
sq4_alias1.col_varchar_key = @var3;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
+1 SIMPLE sq4_alias1 system NULL NULL NULL NULL 0 const row not found
SELECT @var3:=12, sq4_alias1.*
FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
diff --git a/mysql-test/r/subselect2.result b/mysql-test/r/subselect2.result
index 426e1ba39f9..034cba58c8f 100644
--- a/mysql-test/r/subselect2.result
+++ b/mysql-test/r/subselect2.result
@@ -163,7 +163,7 @@ SELECT * FROM t2,t3 WHERE (2,9) IN (SELECT DISTINCT a,pk FROM t1) OR a = b;
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t2 index a a 5 NULL 2 Using where; Using index
1 PRIMARY t3 ref b b 5 test.t2.a 2 Using index
-2 SUBQUERY t1 index_subquery PRIMARY,a a 5 const 0 Using index; Using where
+2 SUBQUERY t1 const PRIMARY,a PRIMARY 4 const 1 Using where
SELECT * FROM t2,t3 WHERE (2,9) IN (SELECT DISTINCT a,pk FROM t1) OR a = b;
pk a b
0 4 4
@@ -172,7 +172,7 @@ SELECT * FROM t2,t3 WHERE (2,9) IN (SELECT DISTINCT a,pk FROM v1) OR a = b;
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t2 index a a 5 NULL 2 Using where; Using index
1 PRIMARY t3 ref b b 5 test.t2.a 2 Using index
-2 SUBQUERY t1 index_subquery PRIMARY,a a 5 const 0 Using index; Using where
+2 SUBQUERY t1 const PRIMARY,a PRIMARY 4 const 1 Using where
SELECT * FROM t2,t3 WHERE (2,9) IN (SELECT DISTINCT a,pk FROM v1) OR a = b;
pk a b
0 4 4
diff --git a/mysql-test/r/subselect4.result b/mysql-test/r/subselect4.result
index 2c826cc9172..a909230121d 100644
--- a/mysql-test/r/subselect4.result
+++ b/mysql-test/r/subselect4.result
@@ -2304,6 +2304,55 @@ WHERE a='r' AND (c,b) NOT IN (SELECT c,b FROM t2 WHERE (c,b)=(t.c,t.b));
a b c d
DROP TABLE t1, t2;
#
+# MDEV-5468: assertion failure with a simplified condition in subselect
+#
+CREATE TABLE t1 (a int, b int) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,1);
+CREATE TABLE t2 ( pk int PRIMARY KEY, c INT) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1,4), (2,6);
+SELECT ( SELECT MAX(b) FROM t1, t2 WHERE pk = a AND b < from_sq.c ) AS select_sq,
+COUNT( DISTINCT from_sq.c )
+FROM ( SELECT DISTINCT t2_1.* FROM t2 AS t2_1, t2 AS t2_2 ) AS from_sq
+GROUP BY select_sq ;
+select_sq COUNT( DISTINCT from_sq.c )
+1 2
+DROP TABLE t1,t2;
+CREATE TABLE t1 (id int, a2 char(2), a3 char(3)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,'BE','BEL');
+CREATE TABLE t2 (id int, a2 char(2), a3 char(3)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1,'BE','BEL'), (2,'MX','MEX');
+CREATE VIEW v2 AS SELECT DISTINCT * FROM t2;
+SELECT * FROM t1 AS outer_t1, v2
+WHERE v2.a3 = outer_t1.a3
+AND EXISTS ( SELECT * FROM t1 WHERE a2 < v2.a2 AND id = outer_t1.id )
+AND outer_t1.a3 < 'J'
+ORDER BY v2.id;
+id a2 a3 id a2 a3
+DROP VIEW v2;
+DROP TABLE t1,t2;
+#
+# MDEV-5686: degenerate disjunct in NOT IN subquery
+#
+CREATE TABLE t1 (a int, b int, c varchar(3)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,1,'CAN'),(2,2,'AUS');
+CREATE TABLE t2 (f int) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (3);
+EXPLAIN EXTENDED
+SELECT * FROM t2
+WHERE f NOT IN (SELECT b FROM t1
+WHERE 0 OR (c IN ('USA') OR c NOT IN ('USA')) AND a = b);
+id select_type table type possible_keys key key_len ref rows filtered Extra
+1 PRIMARY t2 system NULL NULL NULL NULL 1 100.00
+2 DEPENDENT SUBQUERY t1 ALL NULL NULL NULL NULL 2 100.00 Using where
+Warnings:
+Note 1003 select 3 AS `f` from dual where (not(<expr_cache><3>(<in_optimizer>(3,<exists>(select `test`.`t1`.`b` from `test`.`t1` where (((`test`.`t1`.`c` = 'USA') or (`test`.`t1`.`c` <> 'USA')) and trigcond(((<cache>(3) = `test`.`t1`.`b`) or isnull(`test`.`t1`.`b`))) and (`test`.`t1`.`b` = `test`.`t1`.`a`)) having trigcond(<is_not_null_test>(`test`.`t1`.`b`)))))))
+SELECT * FROM t2
+WHERE f NOT IN (SELECT b FROM t1
+WHERE 0 OR (c IN ('USA') OR c NOT IN ('USA')) AND a = b);
+f
+3
+DROP TABLE t1,t2;
+#
# MDEV-3899 Valgrind warnings (blocks are definitely lost) in filesort on IN subquery with SUM and DISTINCT
#
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
diff --git a/mysql-test/r/subselect_exists2in.result b/mysql-test/r/subselect_exists2in.result
index efbbe08cede..1d0732060b7 100644
--- a/mysql-test/r/subselect_exists2in.result
+++ b/mysql-test/r/subselect_exists2in.result
@@ -862,4 +862,27 @@ i c1 c2 t1_field t2_field
drop table t1,t2,t3;
set optimizer_switch=default;
set optimizer_switch='exists_to_in=on';
+#
+#MDEV-5401: Wrong result (missing row) on a 2nd execution of PS with
+#exists_to_in=on, MERGE view or a SELECT SQ
+#
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+CREATE ALGORITHM=MERGE VIEW v1 AS SELECT * FROM t1;
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (2),(3);
+SELECT * FROM v1 WHERE EXISTS ( SELECT * FROM t2 t2x, t2 t2y WHERE t2y.b = a );
+a
+2
+PREPARE stmt FROM "SELECT * FROM v1 WHERE EXISTS ( SELECT * FROM t2 t2x, t2 t2y WHERE t2y.b = a )";
+EXECUTE stmt;
+a
+2
+EXECUTE stmt;
+a
+2
+deallocate prepare stmt;
+drop view v1;
+drop table t1,t2;
+# End of 10.0 tests
set optimizer_switch=default;
diff --git a/mysql-test/r/subselect_exists_to_in.result b/mysql-test/r/subselect_exists_to_in.result
index a70e6df3d00..e4577cf9b52 100644
--- a/mysql-test/r/subselect_exists_to_in.result
+++ b/mysql-test/r/subselect_exists_to_in.result
@@ -565,7 +565,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t1 const PRIMARY,numreponse PRIMARY 7 const,const 1 100.00 Using index
2 SUBQUERY NULL NULL NULL NULL NULL NULL NULL NULL Select tables optimized away
Warnings:
-Note 1003 select 3 AS `numreponse` from `test`.`t1` where (1 = '1')
+Note 1003 select 3 AS `numreponse` from `test`.`t1` where 1
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
@@ -583,7 +583,7 @@ a b
1 11
2 12
update t1 set b= (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1 set b= (select b from t2);
ERROR 21000: Subquery returns more than 1 row
update t1 set b= (select b from t2 where t1.a = t2.a);
@@ -606,7 +606,7 @@ select * from t1 where b = (select b from t2 where t1.a = t2.a);
a b
2 12
delete from t1 where b in (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from t1 where b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete from t1 where b = (select b from t2 where t1.a = t2.a);
@@ -632,7 +632,7 @@ a b
22 11
2 12
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t12 where t11.a = t12.a);
-ERROR HY000: You can't specify target table 't12' for update in FROM clause
+ERROR HY000: Table 't12' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2 where t11.a = t2.a);
@@ -651,7 +651,7 @@ create table t3 (b int);
insert into t2 values (1);
insert into t3 values (1),(2);
INSERT INTO t1 (x) VALUES ((SELECT x FROM t1));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t1 (x) VALUES ((SELECT b FROM t3));
ERROR 21000: Subquery returns more than 1 row
INSERT INTO t1 (x) VALUES ((SELECT a FROM t2));
@@ -701,7 +701,7 @@ insert into t3 values (1),(2);
select * from t1;
x y
replace into t1 (x, y) VALUES ((SELECT x FROM t1), (SELECT a+1 FROM t2));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
replace into t1 (x, y) VALUES ((SELECT a FROM t3), (SELECT a+1 FROM t2));
ERROR 21000: Subquery returns more than 1 row
replace into t1 (x, y) VALUES ((SELECT a FROM t2), (SELECT a+1 FROM t2));
@@ -769,9 +769,9 @@ SELECT * FROM t2 WHERE id IN (SELECT 5 UNION SELECT 2);
id
2
INSERT INTO t2 VALUES ((SELECT * FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t2 VALUES ((SELECT id FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
SELECT * FROM t2;
id
1
@@ -4974,7 +4974,7 @@ SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 index PRIMARY PRIMARY 4 NULL 2 Using index
1 PRIMARY t3 ref b,b_2 b 5 test.t1.a 1 Using index
-2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index; Using filesort
+2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index
SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT 1) AS incorrect FROM t1, t3 WHERE t3.b=t1.a;
a incorrect
1 1
@@ -6106,7 +6106,7 @@ FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
sq4_alias1.col_varchar_key = @var3;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
+1 SIMPLE sq4_alias1 system NULL NULL NULL NULL 0 const row not found
SELECT @var3:=12, sq4_alias1.*
FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
diff --git a/mysql-test/r/subselect_extra.result b/mysql-test/r/subselect_extra.result
index 5849ccda631..47cb8bca734 100644
--- a/mysql-test/r/subselect_extra.result
+++ b/mysql-test/r/subselect_extra.result
@@ -46,7 +46,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
Note 1276 Field or reference 'test.t1.cur_date' of SELECT #2 was resolved in SELECT #1
-Note 1003 select 1 AS `id`,'2007-04-25 18:30:22' AS `cur_date` from (dual) where ('2007-04-25 18:30:22' = 0)
+Note 1003 select 1 AS `id`,'2007-04-25 18:30:22' AS `cur_date` from (dual) where 0
select * from t1
where id in (select id from t1 as x1 where (t1.cur_date is null));
id cur_date
@@ -57,7 +57,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
Note 1276 Field or reference 'test.t2.cur_date' of SELECT #2 was resolved in SELECT #1
-Note 1003 select 1 AS `id`,'2007-04-25' AS `cur_date` from (dual) where ('2007-04-25' = 0)
+Note 1003 select 1 AS `id`,'2007-04-25' AS `cur_date` from (dual) where 0
select * from t2
where id in (select id from t2 as x1 where (t2.cur_date is null));
id cur_date
diff --git a/mysql-test/r/subselect_innodb.result b/mysql-test/r/subselect_innodb.result
index e9e1ccd0bf6..07d00e96549 100644
--- a/mysql-test/r/subselect_innodb.result
+++ b/mysql-test/r/subselect_innodb.result
@@ -313,7 +313,7 @@ EXPLAIN SELECT 1 FROM t1 WHERE NOT EXISTS
(SELECT 1 FROM t2 WHERE d = (SELECT d FROM t2 WHERE a >= 1) ORDER BY d);
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL 1 Using where
-2 DEPENDENT SUBQUERY t2 eq_ref PRIMARY,d d 2 func 1 Using where
+2 DEPENDENT SUBQUERY t2 eq_ref PRIMARY,d PRIMARY 1 func 1 Using where
3 DEPENDENT SUBQUERY t2 index NULL d 2 NULL 1 Using where; Using index
DROP TABLE t2;
CREATE TABLE t2 (b INT, c INT, UNIQUE KEY (b), UNIQUE KEY (b, c )) ENGINE=INNODB;
@@ -495,3 +495,57 @@ HAVING SQ2_alias1 . col_int_key >= 7
1
drop table t1;
set optimizer_switch=@subselect_innodb_tmp;
+#
+# MDEV-6041: ORDER BY+subqueries: subquery_table.key=outer_table.col is not recongized as binding
+#
+create table t1(a int) engine=innodb;
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t2(
+id int primary key,
+key1 int,
+col1 int,
+key(key1)
+) engine=innodb;
+insert into t2
+select
+A.a + B.a*10 + C.a*100 + D.a* 1000,
+A.a + 10*B.a,
+123456
+from t1 A, t1 B, t1 C, t1 D;
+# Table tsubq:
+# - must use 'ref' (not 'index'), and must not use 'Using filesort'
+# - shows a bad estimate for 'rows' (but I'm not sure if one can do better w/o histograms)
+explain select
+(SELECT
+concat(id, '-', key1, '-', col1)
+FROM t2
+WHERE t2.key1 = t1.a
+ORDER BY t2.id ASC LIMIT 1)
+from
+t1;
+id select_type table type possible_keys key key_len ref rows Extra
+1 PRIMARY t1 ALL NULL NULL NULL NULL 10
+2 DEPENDENT SUBQUERY t2 ref key1 key1 5 test.t1.a 1 Using where
+#
+# MDEV-6081: ORDER BY+ref(const): selectivity is very incorrect (MySQL Bug#14338686)
+#
+alter table t2 add key2 int;
+update t2 set key2=key1;
+alter table t2 add key(key2);
+analyze table t2;
+Table Op Msg_type Msg_text
+test.t2 analyze status OK
+flush tables;
+# Table tsubq must use 'ref' + Using filesort (not 'index' w/o filesort)
+explain select
+(SELECT
+concat(id, '-', key1, '-', col1)
+FROM t2
+WHERE t2.key1 = t1.a
+ORDER BY t2.key2 ASC LIMIT 1)
+from
+t1;
+id select_type table type possible_keys key key_len ref rows Extra
+1 PRIMARY t1 ALL NULL NULL NULL NULL #
+2 DEPENDENT SUBQUERY t2 ref key1 key1 5 test.t1.a # Using where; Using filesort
+drop table t1,t2;
diff --git a/mysql-test/r/subselect_mat.result b/mysql-test/r/subselect_mat.result
index cd78d9f93fb..6cc627ad16c 100644
--- a/mysql-test/r/subselect_mat.result
+++ b/mysql-test/r/subselect_mat.result
@@ -2055,6 +2055,20 @@ EXECUTE stmt;
a
DROP TABLE t1, t2;
DROP VIEW v2;
+#
+# MDEV-5811: Server crashes in best_access_path with materialization+semijoin and big_tables=ON
+#
+SET @tmp_mdev5811= @@big_tables;
+SET big_tables = ON;
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
+SELECT * FROM t1 AS t1_1, t1 AS t1_2
+WHERE ( t1_1.a, t1_2.a ) IN ( SELECT MAX(b), MIN(b) FROM t2 );
+a a
+DROP TABLE t1,t2;
+SET big_tables=@tmp_mdev5811;
# End of 5.3 tests
#
# MDEV-5056: Wrong result (extra rows) with materialization+semijoin, IN subqueries
diff --git a/mysql-test/r/subselect_no_mat.result b/mysql-test/r/subselect_no_mat.result
index 16f67820e0e..a1ad1558f31 100644
--- a/mysql-test/r/subselect_no_mat.result
+++ b/mysql-test/r/subselect_no_mat.result
@@ -568,7 +568,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t1 const PRIMARY,numreponse PRIMARY 7 const,const 1 100.00 Using index
2 SUBQUERY NULL NULL NULL NULL NULL NULL NULL NULL Select tables optimized away
Warnings:
-Note 1003 select 3 AS `numreponse` from `test`.`t1` where (1 = '1')
+Note 1003 select 3 AS `numreponse` from `test`.`t1` where 1
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
@@ -586,7 +586,7 @@ a b
1 11
2 12
update t1 set b= (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1 set b= (select b from t2);
ERROR 21000: Subquery returns more than 1 row
update t1 set b= (select b from t2 where t1.a = t2.a);
@@ -609,7 +609,7 @@ select * from t1 where b = (select b from t2 where t1.a = t2.a);
a b
2 12
delete from t1 where b in (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from t1 where b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete from t1 where b = (select b from t2 where t1.a = t2.a);
@@ -635,7 +635,7 @@ a b
22 11
2 12
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t12 where t11.a = t12.a);
-ERROR HY000: You can't specify target table 't12' for update in FROM clause
+ERROR HY000: Table 't12' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2 where t11.a = t2.a);
@@ -654,7 +654,7 @@ create table t3 (b int);
insert into t2 values (1);
insert into t3 values (1),(2);
INSERT INTO t1 (x) VALUES ((SELECT x FROM t1));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t1 (x) VALUES ((SELECT b FROM t3));
ERROR 21000: Subquery returns more than 1 row
INSERT INTO t1 (x) VALUES ((SELECT a FROM t2));
@@ -704,7 +704,7 @@ insert into t3 values (1),(2);
select * from t1;
x y
replace into t1 (x, y) VALUES ((SELECT x FROM t1), (SELECT a+1 FROM t2));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
replace into t1 (x, y) VALUES ((SELECT a FROM t3), (SELECT a+1 FROM t2));
ERROR 21000: Subquery returns more than 1 row
replace into t1 (x, y) VALUES ((SELECT a FROM t2), (SELECT a+1 FROM t2));
@@ -772,9 +772,9 @@ SELECT * FROM t2 WHERE id IN (SELECT 5 UNION SELECT 2);
id
2
INSERT INTO t2 VALUES ((SELECT * FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t2 VALUES ((SELECT id FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
SELECT * FROM t2;
id
1
@@ -4970,7 +4970,7 @@ SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 index PRIMARY PRIMARY 4 NULL 2 Using index
1 PRIMARY t3 ref b,b_2 b 5 test.t1.a 1 Using index
-2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index; Using filesort
+2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index
SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT 1) AS incorrect FROM t1, t3 WHERE t3.b=t1.a;
a incorrect
1 1
@@ -6097,7 +6097,7 @@ FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
sq4_alias1.col_varchar_key = @var3;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
+1 SIMPLE sq4_alias1 system NULL NULL NULL NULL 0 const row not found
SELECT @var3:=12, sq4_alias1.*
FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
diff --git a/mysql-test/r/subselect_no_opts.result b/mysql-test/r/subselect_no_opts.result
index bc2cc71b0fa..28a72a52daa 100644
--- a/mysql-test/r/subselect_no_opts.result
+++ b/mysql-test/r/subselect_no_opts.result
@@ -564,7 +564,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t1 const PRIMARY,numreponse PRIMARY 7 const,const 1 100.00 Using index
2 SUBQUERY NULL NULL NULL NULL NULL NULL NULL NULL Select tables optimized away
Warnings:
-Note 1003 select 3 AS `numreponse` from `test`.`t1` where (1 = '1')
+Note 1003 select 3 AS `numreponse` from `test`.`t1` where 1
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
@@ -582,7 +582,7 @@ a b
1 11
2 12
update t1 set b= (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1 set b= (select b from t2);
ERROR 21000: Subquery returns more than 1 row
update t1 set b= (select b from t2 where t1.a = t2.a);
@@ -605,7 +605,7 @@ select * from t1 where b = (select b from t2 where t1.a = t2.a);
a b
2 12
delete from t1 where b in (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from t1 where b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete from t1 where b = (select b from t2 where t1.a = t2.a);
@@ -631,7 +631,7 @@ a b
22 11
2 12
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t12 where t11.a = t12.a);
-ERROR HY000: You can't specify target table 't12' for update in FROM clause
+ERROR HY000: Table 't12' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2 where t11.a = t2.a);
@@ -650,7 +650,7 @@ create table t3 (b int);
insert into t2 values (1);
insert into t3 values (1),(2);
INSERT INTO t1 (x) VALUES ((SELECT x FROM t1));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t1 (x) VALUES ((SELECT b FROM t3));
ERROR 21000: Subquery returns more than 1 row
INSERT INTO t1 (x) VALUES ((SELECT a FROM t2));
@@ -700,7 +700,7 @@ insert into t3 values (1),(2);
select * from t1;
x y
replace into t1 (x, y) VALUES ((SELECT x FROM t1), (SELECT a+1 FROM t2));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
replace into t1 (x, y) VALUES ((SELECT a FROM t3), (SELECT a+1 FROM t2));
ERROR 21000: Subquery returns more than 1 row
replace into t1 (x, y) VALUES ((SELECT a FROM t2), (SELECT a+1 FROM t2));
@@ -768,9 +768,9 @@ SELECT * FROM t2 WHERE id IN (SELECT 5 UNION SELECT 2);
id
2
INSERT INTO t2 VALUES ((SELECT * FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t2 VALUES ((SELECT id FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
SELECT * FROM t2;
id
1
@@ -4966,7 +4966,7 @@ SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 index PRIMARY PRIMARY 4 NULL 2 Using index
1 PRIMARY t3 ref b,b_2 b 5 test.t1.a 1 Using index
-2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index; Using filesort
+2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index
SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT 1) AS incorrect FROM t1, t3 WHERE t3.b=t1.a;
a incorrect
1 1
@@ -6093,7 +6093,7 @@ FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
sq4_alias1.col_varchar_key = @var3;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
+1 SIMPLE sq4_alias1 system NULL NULL NULL NULL 0 const row not found
SELECT @var3:=12, sq4_alias1.*
FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
diff --git a/mysql-test/r/subselect_no_scache.result b/mysql-test/r/subselect_no_scache.result
index 40a63afb1c6..ea11c39ab65 100644
--- a/mysql-test/r/subselect_no_scache.result
+++ b/mysql-test/r/subselect_no_scache.result
@@ -567,7 +567,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t1 const PRIMARY,numreponse PRIMARY 7 const,const 1 100.00 Using index
2 SUBQUERY NULL NULL NULL NULL NULL NULL NULL NULL Select tables optimized away
Warnings:
-Note 1003 select 3 AS `numreponse` from `test`.`t1` where (1 = '1')
+Note 1003 select 3 AS `numreponse` from `test`.`t1` where 1
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
@@ -585,7 +585,7 @@ a b
1 11
2 12
update t1 set b= (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1 set b= (select b from t2);
ERROR 21000: Subquery returns more than 1 row
update t1 set b= (select b from t2 where t1.a = t2.a);
@@ -608,7 +608,7 @@ select * from t1 where b = (select b from t2 where t1.a = t2.a);
a b
2 12
delete from t1 where b in (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from t1 where b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete from t1 where b = (select b from t2 where t1.a = t2.a);
@@ -634,7 +634,7 @@ a b
22 11
2 12
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t12 where t11.a = t12.a);
-ERROR HY000: You can't specify target table 't12' for update in FROM clause
+ERROR HY000: Table 't12' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2 where t11.a = t2.a);
@@ -653,7 +653,7 @@ create table t3 (b int);
insert into t2 values (1);
insert into t3 values (1),(2);
INSERT INTO t1 (x) VALUES ((SELECT x FROM t1));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t1 (x) VALUES ((SELECT b FROM t3));
ERROR 21000: Subquery returns more than 1 row
INSERT INTO t1 (x) VALUES ((SELECT a FROM t2));
@@ -703,7 +703,7 @@ insert into t3 values (1),(2);
select * from t1;
x y
replace into t1 (x, y) VALUES ((SELECT x FROM t1), (SELECT a+1 FROM t2));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
replace into t1 (x, y) VALUES ((SELECT a FROM t3), (SELECT a+1 FROM t2));
ERROR 21000: Subquery returns more than 1 row
replace into t1 (x, y) VALUES ((SELECT a FROM t2), (SELECT a+1 FROM t2));
@@ -771,9 +771,9 @@ SELECT * FROM t2 WHERE id IN (SELECT 5 UNION SELECT 2);
id
2
INSERT INTO t2 VALUES ((SELECT * FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t2 VALUES ((SELECT id FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
SELECT * FROM t2;
id
1
@@ -4974,7 +4974,7 @@ SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 index PRIMARY PRIMARY 4 NULL 2 Using index
1 PRIMARY t3 ref b,b_2 b 5 test.t1.a 1 Using index
-2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index; Using filesort
+2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index
SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT 1) AS incorrect FROM t1, t3 WHERE t3.b=t1.a;
a incorrect
1 1
@@ -6104,7 +6104,7 @@ FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
sq4_alias1.col_varchar_key = @var3;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
+1 SIMPLE sq4_alias1 system NULL NULL NULL NULL 0 const row not found
SELECT @var3:=12, sq4_alias1.*
FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
diff --git a/mysql-test/r/subselect_no_semijoin.result b/mysql-test/r/subselect_no_semijoin.result
index 1fc2d98c0e8..8cf6e6f7d9f 100644
--- a/mysql-test/r/subselect_no_semijoin.result
+++ b/mysql-test/r/subselect_no_semijoin.result
@@ -564,7 +564,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t1 const PRIMARY,numreponse PRIMARY 7 const,const 1 100.00 Using index
2 SUBQUERY NULL NULL NULL NULL NULL NULL NULL NULL Select tables optimized away
Warnings:
-Note 1003 select 3 AS `numreponse` from `test`.`t1` where (1 = '1')
+Note 1003 select 3 AS `numreponse` from `test`.`t1` where 1
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
@@ -582,7 +582,7 @@ a b
1 11
2 12
update t1 set b= (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1 set b= (select b from t2);
ERROR 21000: Subquery returns more than 1 row
update t1 set b= (select b from t2 where t1.a = t2.a);
@@ -605,7 +605,7 @@ select * from t1 where b = (select b from t2 where t1.a = t2.a);
a b
2 12
delete from t1 where b in (select b from t1);
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete from t1 where b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete from t1 where b = (select b from t2 where t1.a = t2.a);
@@ -631,7 +631,7 @@ a b
22 11
2 12
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t12 where t11.a = t12.a);
-ERROR HY000: You can't specify target table 't12' for update in FROM clause
+ERROR HY000: Table 't12' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2);
ERROR 21000: Subquery returns more than 1 row
delete t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b = (select b from t2 where t11.a = t2.a);
@@ -650,7 +650,7 @@ create table t3 (b int);
insert into t2 values (1);
insert into t3 values (1),(2);
INSERT INTO t1 (x) VALUES ((SELECT x FROM t1));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t1 (x) VALUES ((SELECT b FROM t3));
ERROR 21000: Subquery returns more than 1 row
INSERT INTO t1 (x) VALUES ((SELECT a FROM t2));
@@ -700,7 +700,7 @@ insert into t3 values (1),(2);
select * from t1;
x y
replace into t1 (x, y) VALUES ((SELECT x FROM t1), (SELECT a+1 FROM t2));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
replace into t1 (x, y) VALUES ((SELECT a FROM t3), (SELECT a+1 FROM t2));
ERROR 21000: Subquery returns more than 1 row
replace into t1 (x, y) VALUES ((SELECT a FROM t2), (SELECT a+1 FROM t2));
@@ -768,9 +768,9 @@ SELECT * FROM t2 WHERE id IN (SELECT 5 UNION SELECT 2);
id
2
INSERT INTO t2 VALUES ((SELECT * FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
INSERT INTO t2 VALUES ((SELECT id FROM t2));
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'INSERT' and as a separate source for data
SELECT * FROM t2;
id
1
@@ -4966,7 +4966,7 @@ SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 index PRIMARY PRIMARY 4 NULL 2 Using index
1 PRIMARY t3 ref b,b_2 b 5 test.t1.a 1 Using index
-2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index; Using filesort
+2 DEPENDENT SUBQUERY t2 ref b,b_2,c b 10 test.t3.c,test.t1.a 1 Using where; Using index
SELECT t1.a, (SELECT 1 FROM t2 WHERE t2.b=t3.c AND t2.c=t1.a ORDER BY t2.d LIMIT 1) AS incorrect FROM t1, t3 WHERE t3.b=t1.a;
a incorrect
1 1
@@ -6093,7 +6093,7 @@ FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
sq4_alias1.col_varchar_key = @var3;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
+1 SIMPLE sq4_alias1 system NULL NULL NULL NULL 0 const row not found
SELECT @var3:=12, sq4_alias1.*
FROM t1 AS sq4_alias1
WHERE (sq4_alias1.col_varchar_key + NULL) IS NULL OR
diff --git a/mysql-test/r/subselect_sj.result b/mysql-test/r/subselect_sj.result
index b5263163cb1..c76d40d1a5f 100644
--- a/mysql-test/r/subselect_sj.result
+++ b/mysql-test/r/subselect_sj.result
@@ -2793,6 +2793,22 @@ mysql
information_schema
DROP TABLE t1;
#
+# MDEV-5581: Server crashes in in JOIN::prepare on 2nd execution of PS with materialization+semijoin
+#
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (2),(3);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (8),(9);
+CREATE TABLE t3 (c INT, INDEX(c));
+INSERT INTO t2 VALUES (5),(6);
+PREPARE stmt FROM
+"SELECT * FROM t1 WHERE ( 9, 5 ) IN ( SELECT b, COUNT(*) FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) )";
+EXECUTE stmt;
+a
+EXECUTE stmt;
+a
+DROP TABLE t1,t2,t3;
+#
# MySQL Bug#13340270: assertion table->sort.record_pointers == __null
#
CREATE TABLE t1 (
diff --git a/mysql-test/r/subselect_sj2.result b/mysql-test/r/subselect_sj2.result
index d87514923c4..2975176c64a 100644
--- a/mysql-test/r/subselect_sj2.result
+++ b/mysql-test/r/subselect_sj2.result
@@ -1109,6 +1109,23 @@ t3 AS t3a INNER JOIN t3 AS t3b ON ( t3a.i3 = t3b.i3 )
);
i1
DROP TABLE t1,t2,t3;
+#
+# MDEV-5582: Plugin 'MEMORY' has ref_count=1 after shutdown with materialization+semijoin
+#
+CREATE TABLE t1 (a INT) engine=innodb;
+INSERT INTO t1 VALUES (8),(9);
+CREATE TABLE t2 (b INT) engine=innodb;
+INSERT INTO t2 VALUES (2),(3);
+CREATE TABLE t3 (c INT, INDEX(c)) engine=innodb;
+INSERT INTO t2 VALUES (4),(5);
+explain
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+id select_type table type possible_keys key key_len ref rows Extra
+1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
+3 MATERIALIZED NULL NULL NULL NULL NULL NULL NULL No matching min/max row
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+a
+DROP TABLE t1,t2,t3;
DROP TABLE IF EXISTS t1,t2,t3,t4;
#
# MDEV-4782: Valgrind warnings (Conditional jump or move depends on uninitialised value) with InnoDB, semijoin
diff --git a/mysql-test/r/subselect_sj2_jcl6.result b/mysql-test/r/subselect_sj2_jcl6.result
index 00e393635a2..ff97882c469 100644
--- a/mysql-test/r/subselect_sj2_jcl6.result
+++ b/mysql-test/r/subselect_sj2_jcl6.result
@@ -1124,6 +1124,23 @@ t3 AS t3a INNER JOIN t3 AS t3b ON ( t3a.i3 = t3b.i3 )
);
i1
DROP TABLE t1,t2,t3;
+#
+# MDEV-5582: Plugin 'MEMORY' has ref_count=1 after shutdown with materialization+semijoin
+#
+CREATE TABLE t1 (a INT) engine=innodb;
+INSERT INTO t1 VALUES (8),(9);
+CREATE TABLE t2 (b INT) engine=innodb;
+INSERT INTO t2 VALUES (2),(3);
+CREATE TABLE t3 (c INT, INDEX(c)) engine=innodb;
+INSERT INTO t2 VALUES (4),(5);
+explain
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+id select_type table type possible_keys key key_len ref rows Extra
+1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
+3 MATERIALIZED NULL NULL NULL NULL NULL NULL NULL No matching min/max row
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+a
+DROP TABLE t1,t2,t3;
DROP TABLE IF EXISTS t1,t2,t3,t4;
#
# MDEV-4782: Valgrind warnings (Conditional jump or move depends on uninitialised value) with InnoDB, semijoin
diff --git a/mysql-test/r/subselect_sj2_mat.result b/mysql-test/r/subselect_sj2_mat.result
index 2306f19606c..f4d7d986a9d 100644
--- a/mysql-test/r/subselect_sj2_mat.result
+++ b/mysql-test/r/subselect_sj2_mat.result
@@ -1111,6 +1111,23 @@ t3 AS t3a INNER JOIN t3 AS t3b ON ( t3a.i3 = t3b.i3 )
);
i1
DROP TABLE t1,t2,t3;
+#
+# MDEV-5582: Plugin 'MEMORY' has ref_count=1 after shutdown with materialization+semijoin
+#
+CREATE TABLE t1 (a INT) engine=innodb;
+INSERT INTO t1 VALUES (8),(9);
+CREATE TABLE t2 (b INT) engine=innodb;
+INSERT INTO t2 VALUES (2),(3);
+CREATE TABLE t3 (c INT, INDEX(c)) engine=innodb;
+INSERT INTO t2 VALUES (4),(5);
+explain
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+id select_type table type possible_keys key key_len ref rows Extra
+1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
+3 MATERIALIZED NULL NULL NULL NULL NULL NULL NULL No matching min/max row
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+a
+DROP TABLE t1,t2,t3;
DROP TABLE IF EXISTS t1,t2,t3,t4;
#
# MDEV-4782: Valgrind warnings (Conditional jump or move depends on uninitialised value) with InnoDB, semijoin
diff --git a/mysql-test/r/subselect_sj_jcl6.result b/mysql-test/r/subselect_sj_jcl6.result
index 60e309cdf4a..92ad951325b 100644
--- a/mysql-test/r/subselect_sj_jcl6.result
+++ b/mysql-test/r/subselect_sj_jcl6.result
@@ -2807,6 +2807,22 @@ information_schema
mysql
DROP TABLE t1;
#
+# MDEV-5581: Server crashes in in JOIN::prepare on 2nd execution of PS with materialization+semijoin
+#
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (2),(3);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (8),(9);
+CREATE TABLE t3 (c INT, INDEX(c));
+INSERT INTO t2 VALUES (5),(6);
+PREPARE stmt FROM
+"SELECT * FROM t1 WHERE ( 9, 5 ) IN ( SELECT b, COUNT(*) FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) )";
+EXECUTE stmt;
+a
+EXECUTE stmt;
+a
+DROP TABLE t1,t2,t3;
+#
# MySQL Bug#13340270: assertion table->sort.record_pointers == __null
#
CREATE TABLE t1 (
diff --git a/mysql-test/r/subselect_sj_mat.result b/mysql-test/r/subselect_sj_mat.result
index efe1bcfe066..95dfc34777b 100644
--- a/mysql-test/r/subselect_sj_mat.result
+++ b/mysql-test/r/subselect_sj_mat.result
@@ -94,7 +94,7 @@ a1 a2
explain extended
select * from t1i where a1 in (select b1 from t2i where b1 > '0');
id select_type table type possible_keys key key_len ref rows filtered Extra
-1 PRIMARY t2i index it2i1,it2i3 it2i1 # NULL 5 40.00 Using where; Using index; LooseScan
+1 PRIMARY t2i index it2i1,it2i3 it2i1 # NULL 5 50.00 Using where; Using index; LooseScan
1 PRIMARY t1i ref _it1_idx _it1_idx # _ref_ 1 100.00
Warnings:
Note 1003 select `test`.`t1i`.`a1` AS `a1`,`test`.`t1i`.`a2` AS `a2` from `test`.`t1i` semi join (`test`.`t2i`) where ((`test`.`t1i`.`a1` = `test`.`t2i`.`b1`) and (`test`.`t2i`.`b1` > '0'))
@@ -117,7 +117,7 @@ a1 a2
explain extended
select * from t1i where (a1, a2) in (select b1, b2 from t2i where b1 > '0');
id select_type table type possible_keys key key_len ref rows filtered Extra
-1 PRIMARY t2i index it2i1,it2i2,it2i3 it2i3 # NULL 5 40.00 Using where; Using index; LooseScan
+1 PRIMARY t2i index it2i1,it2i2,it2i3 it2i3 # NULL 5 50.00 Using where; Using index; LooseScan
1 PRIMARY t1i ref _it1_idx _it1_idx # _ref_ 1 100.00
Warnings:
Note 1003 select `test`.`t1i`.`a1` AS `a1`,`test`.`t1i`.`a2` AS `a2` from `test`.`t1i` semi join (`test`.`t2i`) where ((`test`.`t1i`.`a1` = `test`.`t2i`.`b1`) and (`test`.`t1i`.`a2` = `test`.`t2i`.`b2`) and (`test`.`t2i`.`b1` > '0'))
@@ -319,7 +319,7 @@ where (a1, a2) in (select b1, b2 from t2i where b1 > '0') and
(a1, a2) in (select c1, c2 from t3i
where (c1, c2) in (select b1, b2 from t2i where b2 > '0'));
id select_type table type possible_keys key key_len ref rows filtered Extra
-1 PRIMARY t2i index it2i1,it2i2,it2i3 # # # 5 40.00 #
+1 PRIMARY t2i index it2i1,it2i2,it2i3 # # # 5 50.00 #
1 PRIMARY t1i ref it1i1,it1i2,it1i3 # # # 1 100.00 #
1 PRIMARY t3i ref it3i1,it3i2,it3i3 # # # 1 100.00 #
1 PRIMARY t2i ref it2i1,it2i2,it2i3 # # # 2 100.00 #
@@ -407,7 +407,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
2 MATERIALIZED t2 ALL NULL # # # 5 100.00 #
4 MATERIALIZED t3 ALL NULL # # # 4 100.00 #
3 MATERIALIZED t3 ALL NULL # # # 4 100.00 #
-7 UNION t2i index it2i1,it2i2,it2i3 # # # 5 40.00 #
+7 UNION t2i index it2i1,it2i2,it2i3 # # # 5 50.00 #
7 UNION t1i ref it1i1,it1i2,it1i3 # # # 1 100.00 #
7 UNION t3i ref it3i1,it3i2,it3i3 # # # 1 100.00 #
7 UNION t2i ref it2i1,it2i2,it2i3 # # # 2 100.00 #
@@ -2095,6 +2095,20 @@ EXECUTE stmt;
a
DROP TABLE t1, t2;
DROP VIEW v2;
+#
+# MDEV-5811: Server crashes in best_access_path with materialization+semijoin and big_tables=ON
+#
+SET @tmp_mdev5811= @@big_tables;
+SET big_tables = ON;
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
+SELECT * FROM t1 AS t1_1, t1 AS t1_2
+WHERE ( t1_1.a, t1_2.a ) IN ( SELECT MAX(b), MIN(b) FROM t2 );
+a a
+DROP TABLE t1,t2;
+SET big_tables=@tmp_mdev5811;
# End of 5.3 tests
#
# MDEV-5056: Wrong result (extra rows) with materialization+semijoin, IN subqueries
diff --git a/mysql-test/r/temporal_literal.result b/mysql-test/r/temporal_literal.result
index ea0421c0940..6b7ee2d61c7 100644
--- a/mysql-test/r/temporal_literal.result
+++ b/mysql-test/r/temporal_literal.result
@@ -371,49 +371,35 @@ DROP TABLE t1;
#
# TIME literals in no-zero date context
#
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT TO_DAYS(TIME'00:00:00');
TO_DAYS(TIME'00:00:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+730884
SELECT TO_SECONDS(TIME'00:00:00');
TO_SECONDS(TIME'00:00:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+63148377600
SELECT DAYOFYEAR(TIME'00:00:00');
DAYOFYEAR(TIME'00:00:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+34
SELECT WEEK(TIME'00:00:00');
WEEK(TIME'00:00:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+4
SELECT YEARWEEK(TIME'00:00:00');
YEARWEEK(TIME'00:00:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+200104
SELECT WEEKDAY(TIME'00:00:00');
WEEKDAY(TIME'00:00:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+5
SELECT CONVERT_TZ(TIME'00:00:00','+00:00','+01:00');
CONVERT_TZ(TIME'00:00:00','+00:00','+01:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+2001-02-03 01:00:00
SELECT DATE_ADD(TIME'00:00:00', INTERVAL 1 HOUR);
DATE_ADD(TIME'00:00:00', INTERVAL 1 HOUR)
01:00:00
SELECT TIMESTAMPDIFF(SECOND,TIME'00:00:00', TIME'00:00:00');
TIMESTAMPDIFF(SECOND,TIME'00:00:00', TIME'00:00:00')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+0
+SET timestamp=DEFAULT;
#
# Testing Item_func::fix_fields()
#
@@ -486,3 +472,144 @@ a
10:20:30.123456
10:20:30.123456
DROP TABLE t1;
+#
+# MDEV-5969 Crash in prepared statement with NO_ZERO_IN_DATE and ROLLUP
+#
+CREATE TABLE t1
+(
+year INT NOT NULL,
+product VARCHAR(32) NOT NULL,
+profit INT
+);
+INSERT INTO t1 VALUES ('2001','car',101);
+INSERT INTO t1 VALUES ('2001','gas',102);
+INSERT INTO t1 VALUES ('2001','toy',103);
+INSERT INTO t1 VALUES ('2002','car',201);
+INSERT INTO t1 VALUES ('2002','gas',202);
+INSERT INTO t1 VALUES ('2002','toy',203);
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT DATE'2001-00-00' AS c,year, SUM(profit) FROM t1 GROUP BY c,year WITH ROLLUP";
+EXECUTE stmt;
+c year SUM(profit)
+2001-00-00 2001 306
+2001-00-00 2002 606
+2001-00-00 NULL 912
+NULL NULL 912
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+c year SUM(profit)
+NULL 2001 306
+NULL 2002 606
+NULL NULL 912
+NULL NULL 912
+Warnings:
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+Warning 1292 Incorrect datetime value: '2001-00-00'
+SET sql_mode=DEFAULT;
+DROP TABLE t1;
+#
+# MDEV-5971 Asymmetry between CAST(DATE'2001-00-00') to INT and TO CHAR in prepared statements
+#
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS SIGNED) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+c
+NULL
+Warnings:
+Warning 1292 Incorrect datetime value: '2001-00-00'
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS CHAR) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+c
+NULL
+Warnings:
+Warning 1292 Incorrect datetime value: '2001-00-00'
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS DECIMAL(30,0)) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+c
+NULL
+Warnings:
+Warning 1292 Incorrect datetime value: '2001-00-00'
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS DOUBLE) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+c
+NULL
+Warnings:
+Warning 1292 Incorrect datetime value: '2001-00-00'
+#
+# Zero month or zero day automatically mean NULL flag, no matter SQL_MODE is.
+# Only zero year is OK for NOT NULL.
+#
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "CREATE TABLE t1 AS SELECT CAST(DATE'2001-00-00' AS CHAR) AS c";
+EXECUTE stmt;
+SHOW COLUMNS FROM t1;
+Field Type Null Key Default Extra
+c varchar(10) YES NULL
+SELECT * FROM t1;
+c
+2001-00-00
+DROP TABLE t1;
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+Warnings:
+Warning 1292 Incorrect datetime value: '2001-00-00'
+SHOW COLUMNS FROM t1;
+Field Type Null Key Default Extra
+c varchar(10) YES NULL
+SELECT * FROM t1;
+c
+NULL
+DROP TABLE t1;
+SET sql_mode=DEFAULT;
+CREATE TABLE t1 AS SELECT
+DATE'2001-01-01',
+DATE'0000-01-01',
+DATE'2001-00-00',
+DATE'2001-00-01',
+DATE'2001-01-00';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `DATE'2001-01-01'` date NOT NULL DEFAULT '0000-00-00',
+ `DATE'0000-01-01'` date NOT NULL DEFAULT '0000-00-00',
+ `DATE'2001-00-00'` date DEFAULT NULL,
+ `DATE'2001-00-01'` date DEFAULT NULL,
+ `DATE'2001-01-00'` date DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TABLE t1;
+CREATE TABLE t1 AS SELECT
+TIMESTAMP'2001-01-01 00:00:00',
+TIMESTAMP'0000-01-01 00:00:00',
+TIMESTAMP'2001-00-00 00:00:00',
+TIMESTAMP'2001-00-01 00:00:00',
+TIMESTAMP'2001-01-00 00:00:00';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `TIMESTAMP'2001-01-01 00:00:00'` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `TIMESTAMP'0000-01-01 00:00:00'` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `TIMESTAMP'2001-00-00 00:00:00'` datetime DEFAULT NULL,
+ `TIMESTAMP'2001-00-01 00:00:00'` datetime DEFAULT NULL,
+ `TIMESTAMP'2001-01-00 00:00:00'` datetime DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+DROP TABLE t1;
diff --git a/mysql-test/r/timezone2.result b/mysql-test/r/timezone2.result
index 0ac4ddca277..096e996bffb 100644
--- a/mysql-test/r/timezone2.result
+++ b/mysql-test/r/timezone2.result
@@ -315,16 +315,14 @@ End of 5.1 tests
#
# MDEV-4653 Wrong result for CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5')
#
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5');
CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+2001-02-03 07:05:00
SELECT CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5');
CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+2001-02-03 07:05:00
+SET timestamp=DEFAULT;
#
# MDEV-5506 safe_mutex: Trying to lock unitialized mutex at safemalloc.c on server shutdown after SELECT with CONVERT_TZ
#
diff --git a/mysql-test/r/trigger.result b/mysql-test/r/trigger.result
index b3965bef008..8bf31766031 100644
--- a/mysql-test/r/trigger.result
+++ b/mysql-test/r/trigger.result
@@ -1944,7 +1944,7 @@ insert into table_25411_b select new.*;
select * from table_25411_a;
a
insert into table_25411_a values (1);
-ERROR 42S02: Unknown table 'new'
+ERROR 42S02: Unknown table 'test.new'
select * from table_25411_a;
a
1
diff --git a/mysql-test/r/type_datetime.result b/mysql-test/r/type_datetime.result
index 1c8039f6b53..c508bc310e1 100644
--- a/mysql-test/r/type_datetime.result
+++ b/mysql-test/r/type_datetime.result
@@ -519,7 +519,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
Note 1276 Field or reference 'test.t1.cur_date' of SELECT #2 was resolved in SELECT #1
-Note 1003 select 1 AS `id`,'2007-04-25 18:30:22' AS `cur_date` from (dual) where ('2007-04-25 18:30:22' = 0)
+Note 1003 select 1 AS `id`,'2007-04-25 18:30:22' AS `cur_date` from (dual) where 0
select * from t1
where id in (select id from t1 as x1 where (t1.cur_date is null));
id cur_date
@@ -530,7 +530,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
Warnings:
Note 1276 Field or reference 'test.t2.cur_date' of SELECT #2 was resolved in SELECT #1
-Note 1003 select 1 AS `id`,'2007-04-25' AS `cur_date` from (dual) where ('2007-04-25' = 0)
+Note 1003 select 1 AS `id`,'2007-04-25' AS `cur_date` from (dual) where 0
select * from t2
where id in (select id from t2 as x1 where (t2.cur_date is null));
id cur_date
diff --git a/mysql-test/r/type_datetime_hires.result b/mysql-test/r/type_datetime_hires.result
index 203e45b86cb..61c8001d98e 100644
--- a/mysql-test/r/type_datetime_hires.result
+++ b/mysql-test/r/type_datetime_hires.result
@@ -1,3 +1,4 @@
+SET timestamp=UNIX_TIMESTAMP('2001-02-03 10:20:30');
drop table if exists t1, t2, t3;
create table t1 (a datetime(7));
ERROR 42000: Too big precision 7 specified for 'a'. Maximum is 6.
@@ -197,7 +198,7 @@ bigint_f5_datetime 20101112111417
varchar_f6_datetime 2010-11-12 11:14:17.765432
alter table t1 modify time4_f0_datetime datetime(0), modify datetime3_f1_datetime datetime(1), modify date_f2_datetime datetime(2), modify double_f3_datetime datetime(3), modify decimal5_f4_datetime datetime(4), modify bigint_f5_datetime datetime(5), modify varchar_f6_datetime datetime(6);
select * from t1;
-time4_f0_datetime 0000-00-00 11:14:17
+time4_f0_datetime 2001-02-03 11:14:17
datetime3_f1_datetime 2010-11-12 11:14:17.7
date_f2_datetime 2010-11-12 00:00:00.00
double_f3_datetime 2010-11-12 11:14:17.766
@@ -207,7 +208,7 @@ varchar_f6_datetime 2010-11-12 11:14:17.765432
delete from t1;
insert t1 select * from t2;
select * from t1;
-time4_f0_datetime 0000-00-00 11:14:17
+time4_f0_datetime 2001-02-03 11:14:17
datetime3_f1_datetime 2010-11-12 11:14:17.7
date_f2_datetime 2010-11-12 00:00:00.00
double_f3_datetime 2010-11-12 11:14:17.765
@@ -262,6 +263,7 @@ a b
2011-01-02 03:04:06.234500 2011-01-02 03:04:06.234561
drop view v1;
drop table t1, t2;
+SET timestamp=DEFAULT;
CREATE TABLE t1 (
taken datetime(5) NOT NULL DEFAULT '0000-00-00 00:00:00',
id int(11) NOT NULL DEFAULT '0',
diff --git a/mysql-test/r/type_float.result b/mysql-test/r/type_float.result
index f41c2e7688b..f498b6889a5 100644
--- a/mysql-test/r/type_float.result
+++ b/mysql-test/r/type_float.result
@@ -447,3 +447,21 @@ End of 5.0 tests
select format(truncate('1.7976931348623157E+308',-12),1,'fr_BE') as foo;
foo
0
+#
+# Bug #13500371 63704: CONVERSION OF '1.' TO A NUMBER GIVES ERROR 1265
+# (WARN_DATA_TRUNCATED)
+#
+CREATE TABLE t1 (f FLOAT);
+INSERT INTO t1 VALUES ('1.');
+INSERT INTO t1 VALUES ('2.0.');
+Warnings:
+Warning 1265 Data truncated for column 'f' at row 1
+INSERT INTO t1 VALUES ('.');
+Warnings:
+Warning 1265 Data truncated for column 'f' at row 1
+SELECT * FROM t1 ORDER BY f;
+f
+0
+1
+2
+DROP TABLE t1;
diff --git a/mysql-test/r/type_time.result b/mysql-test/r/type_time.result
index ef02368e375..00a7a9b783e 100644
--- a/mysql-test/r/type_time.result
+++ b/mysql-test/r/type_time.result
@@ -144,12 +144,14 @@ End of 5.0 tests
#
# Bug#53942 valgrind warnings with timestamp() function and incomplete datetime values
#
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
CREATE TABLE t1(f1 TIME);
INSERT INTO t1 VALUES ('23:38:57');
SELECT TIMESTAMP(f1,'1') FROM t1;
TIMESTAMP(f1,'1')
-NULL
+2001-02-03 23:38:58
DROP TABLE t1;
+SET timestamp=DEFAULT;
End of 5.1 tests
create table t1 (a time);
insert t1 values (-131415);
@@ -177,11 +179,11 @@ drop table t1;
#
# MDEV-4634 Crash in CONVERT_TZ
#
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT CONVERT_TZ(GREATEST(TIME('00:00:00'),TIME('00:00:00')),'+00:00','+7:5');
CONVERT_TZ(GREATEST(TIME('00:00:00'),TIME('00:00:00')),'+00:00','+7:5')
-NULL
-Warnings:
-Warning 1292 Incorrect datetime value: '00:00:00'
+2001-02-03 07:05:00
+SET timestamp=DEFAULT;
#
# MDEV-4652 Wrong result for CONCAT(GREATEST(TIME('00:00:01'),TIME('00:00:00')))
#
diff --git a/mysql-test/r/type_time_hires.result b/mysql-test/r/type_time_hires.result
index bf54434a04c..2239ecfcaaa 100644
--- a/mysql-test/r/type_time_hires.result
+++ b/mysql-test/r/type_time_hires.result
@@ -1,3 +1,4 @@
+SET timestamp=UNIX_TIMESTAMP('2001-02-03 10:20:30');
drop table if exists t1, t2, t3;
create table t1 (a time(7));
ERROR 42000: Too big precision 7 specified for 'a'. Maximum is 6.
@@ -194,8 +195,8 @@ f5_time 11:14:17.76543
f6_time 11:14:17.765432
select cast(f0_time as time(4)) time4_f0_time, cast(f1_time as datetime(3)) datetime3_f1_time, cast(f2_time as date) date_f2_time, cast(f4_time as double) double_f3_time, cast(f4_time as decimal(40,5)) decimal5_f4_time, cast(f5_time as signed) bigint_f5_time, cast(f6_time as char(255)) varchar_f6_time from t1;
time4_f0_time 11:14:17.0000
-datetime3_f1_time 0000-00-00 11:14:17.700
-date_f2_time 0000-00-00
+datetime3_f1_time 2001-02-03 11:14:17.700
+date_f2_time 2001-02-03
double_f3_time 111417.7654
decimal5_f4_time 111417.76540
bigint_f5_time 111417
@@ -208,8 +209,8 @@ Code 1265
Message Data truncated for column 'date_f2_time' at row 1
select * from t2;
time4_f0_time 11:14:17.0000
-datetime3_f1_time 0000-00-00 11:14:17.700
-date_f2_time 0000-00-00
+datetime3_f1_time 2001-02-03 11:14:17.700
+date_f2_time 2001-02-03
double_f3_time 111417.765
decimal5_f4_time 111417.76540
bigint_f5_time 111417
@@ -221,13 +222,20 @@ Code 1265
Message Data truncated for column 'date_f2_time' at row 1
select * from t1;
time4_f0_time 11:14:17.0000
-datetime3_f1_time 0000-00-00 11:14:17.700
-date_f2_time 0000-00-00
+datetime3_f1_time 2001-02-03 11:14:17.700
+date_f2_time 2001-02-03
double_f3_time 111417.765
decimal5_f4_time 111417.76540
bigint_f5_time 111417
varchar_f6_time 11:14:17.765432
alter table t1 modify time4_f0_time time(0), modify datetime3_f1_time time(1), modify date_f2_time time(2), modify double_f3_time time(3), modify decimal5_f4_time time(4), modify bigint_f5_time time(5), modify varchar_f6_time time(6);
+Warnings:
+Level Note
+Code 1265
+Message Data truncated for column 'datetime3_f1_time' at row 1
+Level Note
+Code 1265
+Message Data truncated for column 'date_f2_time' at row 1
select * from t1;
time4_f0_time 11:14:17
datetime3_f1_time 11:14:17.7
@@ -238,6 +246,13 @@ bigint_f5_time 11:14:17.00000
varchar_f6_time 11:14:17.765432
delete from t1;
insert t1 select * from t2;
+Warnings:
+Level Note
+Code 1265
+Message Data truncated for column 'datetime3_f1_time' at row 1
+Level Note
+Code 1265
+Message Data truncated for column 'date_f2_time' at row 1
select * from t1;
time4_f0_time 11:14:17
datetime3_f1_time 11:14:17.7
@@ -301,6 +316,7 @@ a b
04:05:06.000000 04:05:06.789100
drop view v1;
drop table t1, t2;
+SET timestamp=DEFAULT;
create table t1 (a time(4) not null, key(a));
insert into t1 values ('1:2:3.001'),('1:2:3'), ('-00:00:00.6'),('-00:00:00.7'),('-00:00:00.8'),('-00:00:00.9'),('-00:00:01.0'),('-00:00:01.1'),('-00:00:01.000000'),('-00:00:01.100001'),('-00:00:01.000002'),('-00:00:01.090000');
select * from t1 order by a;
diff --git a/mysql-test/r/type_timestamp_hires.result b/mysql-test/r/type_timestamp_hires.result
index cc2cb6a403d..dc1cbb377f9 100644
--- a/mysql-test/r/type_timestamp_hires.result
+++ b/mysql-test/r/type_timestamp_hires.result
@@ -1,3 +1,4 @@
+SET timestamp=UNIX_TIMESTAMP('2001-02-03 10:20:30');
drop table if exists t1, t2, t3;
create table t1 (a timestamp(7));
ERROR 42000: Too big precision 7 specified for 'a'. Maximum is 6.
@@ -196,12 +197,8 @@ decimal5_f4_timestamp 20101112111417.76540
bigint_f5_timestamp 20101112111417
varchar_f6_timestamp 2010-11-12 11:14:17.765432
alter table t1 modify time4_f0_timestamp timestamp(0), modify datetime3_f1_timestamp timestamp(1), modify date_f2_timestamp timestamp(2), modify double_f3_timestamp timestamp(3), modify decimal5_f4_timestamp timestamp(4), modify bigint_f5_timestamp timestamp(5), modify varchar_f6_timestamp timestamp(6);
-Warnings:
-Level Warning
-Code 1265
-Message Data truncated for column 'time4_f0_timestamp' at row 1
select * from t1;
-time4_f0_timestamp 0000-00-00 00:00:00
+time4_f0_timestamp 2001-02-03 11:14:17
datetime3_f1_timestamp 2010-11-12 11:14:17.7
date_f2_timestamp 2010-11-12 00:00:00.00
double_f3_timestamp 2010-11-12 11:14:17.766
@@ -210,12 +207,8 @@ bigint_f5_timestamp 2010-11-12 11:14:17.00000
varchar_f6_timestamp 2010-11-12 11:14:17.765432
delete from t1;
insert t1 select * from t2;
-Warnings:
-Level Warning
-Code 1265
-Message Data truncated for column 'time4_f0_timestamp' at row 1
select * from t1;
-time4_f0_timestamp 0000-00-00 00:00:00
+time4_f0_timestamp 2001-02-03 11:14:17
datetime3_f1_timestamp 2010-11-12 11:14:17.7
date_f2_timestamp 2010-11-12 00:00:00.00
double_f3_timestamp 2010-11-12 11:14:17.765
@@ -270,6 +263,7 @@ a b
2011-01-02 03:04:06.234500 2011-01-02 03:04:06.234561
drop view v1;
drop table t1, t2;
+SET timestamp=DEFAULT;
set time_zone='+03:00';
set timestamp=unix_timestamp('2011-01-01 01:01:01') + 0.123456;
create table t1 (a timestamp(5));
diff --git a/mysql-test/r/udf_debug_sync.result b/mysql-test/r/udf_debug_sync.result
new file mode 100644
index 00000000000..2db75f9aa76
--- /dev/null
+++ b/mysql-test/r/udf_debug_sync.result
@@ -0,0 +1,20 @@
+CREATE FUNCTION myfunc_int RETURNS INTEGER SONAME "UDF_EXAMPLE_LIB";
+CREATE VIEW v1 AS SELECT myfunc_int(1);
+SET debug_sync='mysql_create_function_after_lock SIGNAL locked WAIT_FOR go';
+CREATE FUNCTION myfunc_double RETURNS REAL SONAME "UDF_EXAMPLE_LIB";
+SET debug_sync='now WAIT_FOR locked';
+SET debug_sync='find_udf_before_lock SIGNAL go';
+SELECT * FROM v1;
+myfunc_int(1)
+1
+FLUSH TABLES;
+SET debug_sync='mysql_drop_function_after_lock SIGNAL locked WAIT_FOR go';
+DROP FUNCTION myfunc_double;
+SET debug_sync='now WAIT_FOR locked';
+SET debug_sync='find_udf_before_lock SIGNAL go';
+SELECT * FROM v1;
+myfunc_int(1)
+1
+SET debug_sync='RESET';
+DROP VIEW v1;
+DROP FUNCTION myfunc_int;
diff --git a/mysql-test/r/union_crash-714.result b/mysql-test/r/union_crash-714.result
new file mode 100644
index 00000000000..4a51f88b76f
--- /dev/null
+++ b/mysql-test/r/union_crash-714.result
@@ -0,0 +1,5 @@
+create table t1 (i tinyint);
+set debug_dbug='+d,bug11747970_raise_error';
+insert into t1 (i) select i from t1 union select i from t1;
+ERROR 70100: Query execution was interrupted
+drop table t1;
diff --git a/mysql-test/r/update.result b/mysql-test/r/update.result
index 3f3a3ac07df..bc0f9411d15 100644
--- a/mysql-test/r/update.result
+++ b/mysql-test/r/update.result
@@ -603,3 +603,30 @@ Variable_name Value
Handler_update 5
ROLLBACK;
DROP TABLE t1, t2;
+#
+# MDEV-4410: update does not want to use a covering index, but select uses it.
+#
+create table t2(a int);
+insert into t2 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t1 (key1 int, col1 int, key(key1));
+insert into t1
+select A.a + 10 * B.a + 100 * C.a, 1234 from t2 A, t2 B, t2 C;
+# This must not have "Using filesort":
+explain
+update t1 set key1=key1+1 where key1 between 10 and 110 order by key1 limit 2;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 range key1 key1 5 NULL 100 Using where; Using buffer
+flush status;
+update t1 set key1=key1+1 where key1 between 10 and 110 order by key1 limit 2;
+show status like 'Handler_read%';
+Variable_name Value
+Handler_read_first 0
+Handler_read_key 1
+Handler_read_last 0
+Handler_read_next 1
+Handler_read_prev 0
+Handler_read_rnd 2
+Handler_read_rnd_deleted 0
+Handler_read_rnd_next 0
+drop table t1, t2;
+# End of MariaDB 10.0 tests
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index 9b1c1b6955e..eb896082810 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -1137,12 +1137,12 @@ ERROR HY000: Variable 'ft_stopword_file' is a read only variable
#
SHOW VARIABLES like 'back_log';
Variable_name Value
-back_log 50
+back_log 150
SELECT @@session.back_log;
ERROR HY000: Variable 'back_log' is a GLOBAL variable
SELECT @@global.back_log;
@@global.back_log
-50
+150
SET @@session.back_log= 7;
ERROR HY000: Variable 'back_log' is a read only variable
SET @@global.back_log= 7;
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result
index 19fc1bda402..a382cb86869 100644
--- a/mysql-test/r/view.result
+++ b/mysql-test/r/view.result
@@ -201,11 +201,11 @@ c d
2 5
3 10
drop view v100;
-ERROR 42S02: Unknown table 'v100'
+ERROR 42S02: Unknown table 'test.v100'
drop view t1;
ERROR HY000: 'test.t1' is not VIEW
drop table v1;
-ERROR 42S02: Unknown table 'test.v1'
+ERROR 42S02: 'test.v1' is a view
drop view v1,v2;
drop table t1;
create table t1 (a int);
@@ -931,13 +931,13 @@ ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 'v2
update v2 set col1 = (select max(col1) from t1);
ERROR HY000: The definition of table 'v2' prevents operation UPDATE on table 'v2'.
update v2 set col1 = (select max(col1) from v2);
-ERROR HY000: You can't specify target table 'v2' for update in FROM clause
+ERROR HY000: Table 'v2' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update v2,t2 set v2.col1 = (select max(col1) from v1) where v2.col1 = t2.col1;
ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 'v2'.
update t1,t2 set t1.col1 = (select max(col1) from v1) where t1.col1 = t2.col1;
ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 't1'.
update v1,t2 set v1.col1 = (select max(col1) from v1) where v1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 'v1' for update in FROM clause
+ERROR HY000: Table 'v1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t2,v2 set v2.col1 = (select max(col1) from v1) where v2.col1 = t2.col1;
ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 't2'.
update t2,t1 set t1.col1 = (select max(col1) from v1) where t1.col1 = t2.col1;
@@ -947,17 +947,17 @@ ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 't2
update v2,t2 set v2.col1 = (select max(col1) from t1) where v2.col1 = t2.col1;
ERROR HY000: The definition of table 'v2' prevents operation UPDATE on table 'v2'.
update t1,t2 set t1.col1 = (select max(col1) from t1) where t1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update v1,t2 set v1.col1 = (select max(col1) from t1) where v1.col1 = t2.col1;
ERROR HY000: The definition of table 'v1' prevents operation UPDATE on table 'v1'.
update t2,v2 set v2.col1 = (select max(col1) from t1) where v2.col1 = t2.col1;
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t2,t1 set t1.col1 = (select max(col1) from t1) where t1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t2,v1 set v1.col1 = (select max(col1) from t1) where v1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 't2' for update in FROM clause
+ERROR HY000: Table 't2' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update v2,t2 set v2.col1 = (select max(col1) from v2) where v2.col1 = t2.col1;
-ERROR HY000: You can't specify target table 'v2' for update in FROM clause
+ERROR HY000: Table 'v2' is specified twice, both as a target for 'UPDATE' and as a separate source for data
update t1,t2 set t1.col1 = (select max(col1) from v2) where t1.col1 = t2.col1;
ERROR HY000: The definition of table 'v2' prevents operation UPDATE on table 't1'.
update v1,t2 set v1.col1 = (select max(col1) from v2) where v1.col1 = t2.col1;
@@ -975,27 +975,27 @@ ERROR HY000: The definition of table 'v3' prevents operation UPDATE on table 'v3
update v3 set v3.col1 = (select max(col1) from v2);
ERROR HY000: The definition of table 'v2' prevents operation UPDATE on table 'v3'.
update v3 set v3.col1 = (select max(col1) from v3);
-ERROR HY000: You can't specify target table 'v3' for update in FROM clause
+ERROR HY000: Table 'v3' is specified twice, both as a target for 'UPDATE' and as a separate source for data
delete from v2 where col1 = (select max(col1) from v1);
ERROR HY000: The definition of table 'v1' prevents operation DELETE on table 'v2'.
delete from v2 where col1 = (select max(col1) from t1);
ERROR HY000: The definition of table 'v2' prevents operation DELETE on table 'v2'.
delete from v2 where col1 = (select max(col1) from v2);
-ERROR HY000: You can't specify target table 'v2' for update in FROM clause
+ERROR HY000: Table 'v2' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete v2 from v2,t2 where (select max(col1) from v1) > 0 and v2.col1 = t2.col1;
ERROR HY000: The definition of table 'v1' prevents operation DELETE on table 'v2'.
delete t1 from t1,t2 where (select max(col1) from v1) > 0 and t1.col1 = t2.col1;
ERROR HY000: The definition of table 'v1' prevents operation DELETE on table 't1'.
delete v1 from v1,t2 where (select max(col1) from v1) > 0 and v1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 'v1' for update in FROM clause
+ERROR HY000: Table 'v1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete v2 from v2,t2 where (select max(col1) from t1) > 0 and v2.col1 = t2.col1;
ERROR HY000: The definition of table 'v2' prevents operation DELETE on table 'v2'.
delete t1 from t1,t2 where (select max(col1) from t1) > 0 and t1.col1 = t2.col1;
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete v1 from v1,t2 where (select max(col1) from t1) > 0 and v1.col1 = t2.col1;
ERROR HY000: The definition of table 'v1' prevents operation DELETE on table 'v1'.
delete v2 from v2,t2 where (select max(col1) from v2) > 0 and v2.col1 = t2.col1;
-ERROR HY000: You can't specify target table 'v2' for update in FROM clause
+ERROR HY000: Table 'v2' is specified twice, both as a target for 'DELETE' and as a separate source for data
delete t1 from t1,t2 where (select max(col1) from v2) > 0 and t1.col1 = t2.col1;
ERROR HY000: The definition of table 'v2' prevents operation DELETE on table 't1'.
delete v1 from v1,t2 where (select max(col1) from v2) > 0 and v1.col1 = t2.col1;
@@ -1009,15 +1009,15 @@ ERROR HY000: The definition of table 'v1' prevents operation INSERT on table 'v2
insert into v2 values ((select max(col1) from t1));
ERROR HY000: The definition of table 'v2' prevents operation INSERT on table 'v2'.
insert into t1 values ((select max(col1) from t1));
-ERROR HY000: You can't specify target table 't1' for update in FROM clause
+ERROR HY000: Table 't1' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into v2 values ((select max(col1) from t1));
ERROR HY000: The definition of table 'v2' prevents operation INSERT on table 'v2'.
insert into v2 values ((select max(col1) from v2));
-ERROR HY000: You can't specify target table 'v2' for update in FROM clause
+ERROR HY000: Table 'v2' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into t1 values ((select max(col1) from v2));
ERROR HY000: The definition of table 'v2' prevents operation INSERT on table 't1'.
insert into v2 values ((select max(col1) from v2));
-ERROR HY000: You can't specify target table 'v2' for update in FROM clause
+ERROR HY000: Table 'v2' is specified twice, both as a target for 'INSERT' and as a separate source for data
insert into v3 (col1) values ((select max(col1) from v1));
ERROR HY000: The definition of table 'v1' prevents operation INSERT on table 'v3'.
insert into v3 (col1) values ((select max(col1) from t1));
@@ -2872,7 +2872,7 @@ Tables_in_test
t1
v1
DROP VIEW v2,v1;
-ERROR 42S02: Unknown table 'v2'
+ERROR 42S02: Unknown table 'test.v2'
SHOW TABLES;
Tables_in_test
t1
@@ -4415,7 +4415,7 @@ WHERE f1<>0 OR f2<>0 AND f4='v' AND (f2<>0 OR f3<>0 AND f5<>0 OR f4 LIKE '%b%');
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
Warnings:
-Note 1003 select 'r' AS `f4` from dual where (20 <> 0)
+Note 1003 select 'r' AS `f4` from dual where 1
DROP VIEW v1;
DROP TABLE t1;
#
@@ -5000,6 +5000,22 @@ v1_field1
deallocate prepare my_stmt;
DROP VIEW v1,v2;
DROP TABLE t1,t2,t3,t4;
+#
+#MDEV-5717: Server crash with insert statement containing DEFAULT into
+#view
+#
+CREATE TABLE t1 (
+`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+`test` tinyint(3) unsigned NOT NULL DEFAULT '0',
+PRIMARY KEY (`id`)
+);
+CREATE VIEW v1 AS (select t1.id AS id, t1.test AS test from t1);
+INSERT INTO v1 SET test = DEFAULT;
+select * from v1;
+id test
+1 0
+drop view v1;
+drop table t1;
# -----------------------------------------------------------------
# -- End of 5.3 tests.
# -----------------------------------------------------------------
diff --git a/mysql-test/r/view_grant.result b/mysql-test/r/view_grant.result
index 85e64078daf..8f0ffdda742 100644
--- a/mysql-test/r/view_grant.result
+++ b/mysql-test/r/view_grant.result
@@ -1575,3 +1575,152 @@ USE test;
DROP DATABASE mysqltest1;
DROP USER 'mysqluser1'@'%';
DROP USER 'mysqluser2'@'%';
+#
+# Test for bug #11766767 - "59957: VIEW USING MERGE PERMISSIONS
+# IN MULTI-TABLE UPDATE".
+#
+drop database if exists mysqltest1;
+drop database if exists mysqltest2;
+#
+# Prepare playground.
+create database mysqltest1;
+create database mysqltest2;
+create user user_11766767;
+grant select on mysqltest1.* to user_11766767;
+grant all on mysqltest2.* to user_11766767;
+use mysqltest1;
+create table t1 (id int primary key, val varchar(20));
+insert into t1 values (1, 'test1');
+create table t11 (id int primary key);
+insert into t11 values (1);
+create algorithm=temptable view v1_temp as select * from t1;
+create algorithm=merge view v1_merge as select * from t1;
+create algorithm=temptable view v11_temp as
+select t1.id as id, t1.val as val from t1, t11 where t1.id= t11.id;
+create algorithm=merge view v11_merge as
+select t1.id as id, t1.val as val from t1, t11 where t1.id= t11.id;
+use mysqltest2;
+create table t2 (id int primary key, val varchar(20));
+insert into t2 values (1, 'test2');
+create table t21 (id int primary key);
+insert into t21 values (1);
+create algorithm=temptable view v2_temp as select * from t2;
+create algorithm=merge view v2_merge as select * from t2;
+create algorithm=temptable view v21_temp as
+select t2.id as id, t2.val as val from t2, t21 where t2.id= t21.id;
+create algorithm=merge view v21_merge as
+select t2.id as id, t2.val as val from t2, t21 where t2.id= t21.id;
+create algorithm=temptable sql security invoker view v3_temp as
+select t1.id as id, t1.val as val from mysqltest1.t1 as t1, mysqltest1.t11 as t11
+where t1.id = t11.id;
+create algorithm=merge sql security invoker view v3_merge as
+select t1.id as id, t1.val as val from mysqltest1.t1 as t1, mysqltest1.t11 as t11
+where t1.id = t11.id;
+create sql security invoker view v31 as
+select t2.id as id, t2.val as val from mysqltest2.t2 as t2, mysqltest1.t11 as t11
+where t2.id = t11.id;
+create sql security invoker view v4 as
+select t2.id as id, t2.val as val from mysqltest2.t2 as t2, mysqltest1.v1_merge as v1
+where t2.id = v1.id;
+create sql security invoker view v41 as
+select v1.id as id, v1.val as val from mysqltest2.t2 as t2, mysqltest1.v1_merge as v1
+where t2.id = v1.id;
+create sql security invoker view v42 as
+select v2.id as id, v2.val as val from mysqltest2.t2 as t2, mysqltest2.v2_merge as v2
+where t2.id = v2.id;
+#
+# Connect as user_11766767
+#
+# A) Check how we handle privilege checking in multi-update for
+# directly used views.
+#
+# A.1) Originally reported problem, view is used in read-only mode.
+# This should work with only SELECT privilege for both mergeable
+# and temptable algorithms.
+update mysqltest2.t2 as t2, mysqltest1.v1_merge as v1 set t2.val= 'test3'
+ where t2.id= v1.id;
+update mysqltest2.t2 as t2, mysqltest1.v1_temp as v1 set t2.val= 'test4'
+ where t2.id= v1.id;
+#
+# A.2) If view is updated an UPDATE privilege on it is required.
+# Temptable views can't be updated.
+update mysqltest2.t2 as t2, mysqltest1.v1_merge as v1 set v1.val= 'test5'
+ where t2.id= v1.id;
+ERROR 42000: UPDATE command denied to user 'user_11766767'@'localhost' for table 'v1_merge'
+update mysqltest1.t1 as t1, mysqltest2.v2_merge as v2 set v2.val= 'test6'
+ where t1.id= v2.id;
+#
+# Note that the below error is OK even though user lacks UPDATE
+# privilege on v1_temp since he/she still has SELECT privilege on
+# this view.
+update mysqltest2.t2 as t2, mysqltest1.v1_temp as v1 set v1.val= 'test7'
+ where t2.id= v1.id;
+ERROR HY000: The target table v1 of the UPDATE is not updatable
+update mysqltest1.t1 as t1, mysqltest2.v2_temp as v2 set v2.val= 'test8'
+ where t1.id= v2.id;
+ERROR HY000: The target table v2 of the UPDATE is not updatable
+#
+# A.3) This also works for correctly for multi-table views.
+# When usage is read-only SELECT is enough.
+update mysqltest2.t2 as t2, mysqltest1.v11_merge as v11 set t2.val= 'test9'
+ where t2.id= v11.id;
+update mysqltest2.t2 as t2, mysqltest1.v11_temp as v11 set t2.val= 'test10'
+ where t2.id= v11.id;
+# When one of view's tables is updated, UPDATE is required
+# on a view.
+update mysqltest2.t2 as t2, mysqltest1.v11_merge as v11 set v11.val= 'test11'
+ where t2.id= v11.id;
+ERROR 42000: UPDATE command denied to user 'user_11766767'@'localhost' for table 'v11_merge'
+update mysqltest1.t1 as t1, mysqltest2.v21_merge as v21 set v21.val= 'test12'
+ where t1.id= v21.id;
+# As before, temptable views are not updateable.
+update mysqltest2.t2 as t2, mysqltest1.v11_temp as v11 set v11.val= 'test13'
+ where t2.id= v11.id;
+ERROR HY000: The target table v11 of the UPDATE is not updatable
+update mysqltest1.t1 as t1, mysqltest2.v21_temp as v21 set v21.val= 'test14'
+ where t1.id= v21.id;
+ERROR HY000: The target table v21 of the UPDATE is not updatable
+#
+# B) Now check that correct privileges are required on underlying
+# tables. To simplify this part of test we will use SECURITY
+# INVOKER views in it.
+#
+# B.1) In case when view is used for read only it is enough to have
+# SELECT on its underlying tables.
+update mysqltest2.t2 as t2, mysqltest2.v3_merge as v3 set t2.val= 'test15'
+ where t2.id= v3.id;
+update mysqltest2.t2 as t2, mysqltest2.v3_temp as v3 set t2.val= 'test16'
+ where t2.id= v3.id;
+#
+# B.2) If view is updated, UPDATE privilege on the table being updated
+# is required (since we already checked that temptable views are
+# not updateable we don't test them here).
+update mysqltest2.t2 as t2, mysqltest2.v3_merge as v3 set v3.val= 'test17'
+ where t2.id= v3.id;
+ERROR HY000: View 'mysqltest2.v3_merge' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
+update mysqltest1.t11 as t11, mysqltest2.v31 as v31 set v31.val= 'test18'
+ where t11.id= v31.id;
+#
+# C) Finally, check how we handle privilege checking in case when
+# view is used through another view. Again we will use SECURITY
+# INVOKER views for simplicity.
+#
+# C.1) As usual, when a view used by another view is going to be used
+# in read-only fashion, only SELECT privilege is necessary.
+update mysqltest1.t11 as t11, mysqltest2.v4 as v4 set v4.val= 'test19'
+ where t11.id= v4.id;
+#
+# C.2) If one of underlying tables of the view is updated then
+# UPDATE on a view is necessary.
+update mysqltest1.t11 as t11, mysqltest2.v41 as v4 set v4.val= 'test20'
+ where t11.id= v4.id;
+ERROR HY000: View 'mysqltest2.v41' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
+update mysqltest1.t11 as t11, mysqltest2.v42 as v4 set v4.val= 'test20'
+ where t11.id= v4.id;
+#
+# Clean-up.
+#
+# Switching to connection 'default'.
+drop user user_11766767;
+drop database mysqltest1;
+drop database mysqltest2;
diff --git a/mysql-test/r/xml.result b/mysql-test/r/xml.result
index 95dad6d5510..05c0db6e3cf 100644
--- a/mysql-test/r/xml.result
+++ b/mysql-test/r/xml.result
@@ -1161,6 +1161,9 @@ UPDATEXML('<a><c><a>x</a></c></a>','(a)//a','<b />')
SELECT ExtractValue('<a><a>aa</a><b>bb</b></a>','(a)/a|(a)/b');
ExtractValue('<a><a>aa</a><b>bb</b></a>','(a)/a|(a)/b')
aa bb
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,..)');
+ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,..)')
+
#
# Bug#62429 XML: ExtractValue, UpdateXML max arg length 127 chars
#
@@ -1211,3 +1214,41 @@ DROP TABLE t1;
#
# End of 5.5 tests
#
+#
+# Start of 10.0 tests
+#
+#
+# MDEV-5689 ExtractValue(xml, 'substring(/x,/y)') crashes
+#
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,..)') AS e;
+e
+
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/c)') AS e;
+e
+bc
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/d)') AS e;
+e
+abc
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/c,/a/d)') AS e;
+e
+b
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/d,/a/c)') AS e;
+e
+ab
+#
+# MDEV-5709 ExtractValue() with XPath variable references returns wrong result
+#
+CREATE TABLE t1 (c1 INT, c2 VARCHAR(10));
+INSERT INTO t1 VALUES (1,'b1'),(2,'b2');
+SELECT *,IF(@i:=c1,ExtractValue('<a><b>b1</b><b>b2</b></a>','//b[$@i]'),0) AS xpath FROM t1;
+c1 c2 xpath
+1 b1 b1
+2 b2 b2
+SELECT * FROM t1 WHERE c2=IF(@i:=c1,ExtractValue('<a><b>b1</b><b>b2</b></a>','//b[$@i]'),0);
+c1 c2
+1 b1
+2 b2
+DROP TABLE t1;
+#
+# End of 10.0 tests
+#
diff --git a/mysql-test/std_data/cacert.pem b/mysql-test/std_data/cacert.pem
index e44341384e4..f5ba4fec58d 100644
--- a/mysql-test/std_data/cacert.pem
+++ b/mysql-test/std_data/cacert.pem
@@ -1,17 +1,22 @@
-----BEGIN CERTIFICATE-----
-MIICrTCCAhagAwIBAgIJAMI7xZKjhrDbMA0GCSqGSIb3DQEBBAUAMEQxCzAJBgNV
+MIIDsjCCApqgAwIBAgIJAL5YrUwfPSWVMA0GCSqGSIb3DQEBBQUAMEQxCzAJBgNV
BAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBzYWxhMREwDwYD
-VQQKEwhNeVNRTCBBQjAeFw0xMDAxMjkxMTQ3MTBaFw0xNTAxMjgxMTQ3MTBaMEQx
+VQQKEwhNeVNRTCBBQjAeFw0xMDAxMjkwNTU5NTNaFw0xNTAxMjgwNTU5NTNaMEQx
CzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBzYWxh
-MREwDwYDVQQKEwhNeVNRTCBBQjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-wQYsOEfrN4ESP3FjsI8cghE+tZVuyK2gck61lwieVxjgFMtBd65mI5a1y9pmlOI1
-yM4SB2Ppqcuw7/e1CdV1y7lvHrGNt5yqEHbN4QX1gvsN8TQauP/2WILturk4R4Hq
-rKg0ZySu7f1Xhl0ed9a48LpaEHD17IcxWEGMMJwAxF0CAwEAAaOBpjCBozAMBgNV
-HRMEBTADAQH/MB0GA1UdDgQWBBSvktYQ0ahLnyxyVKqty+WpBbBrDTB0BgNVHSME
-bTBrgBSvktYQ0ahLnyxyVKqty+WpBbBrDaFIpEYwRDELMAkGA1UEBhMCU0UxEDAO
-BgNVBAgTB1VwcHNhbGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FM
-IEFCggkAwjvFkqOGsNswDQYJKoZIhvcNAQEEBQADgYEAdKN1PjwMHAKG2Ww1145g
-JQGBnKxSFOUaoSvkBi/4ntTM+ysnViWh7WvxyWjR9zU9arfr7aqsDeQxm0XDOqzj
-AQ/cQIla2/Li8tXyfc06bisH/IHRaSc2zWqioTKbEwMdVOdrvq4a8V8ic3xYyIWn
-7F4WeS07J8LKardSvM0+hOA=
+MREwDwYDVQQKEwhNeVNRTCBBQjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
+ggEBAL6kNN4peX7uhK9rb06W/QbPEpVuejmdWdl2PqMshP/eSuXXw7kwVgfpxx9R
+vC000CKQQSG9MCoZjtqPnFRsetmWLZgApRpEalGXTXJqq9sEbCfoFizg94U8G7d2
+u5XJjLVmcG34ru36KoBgVx1zeH1puBAf8dOzrE4L7Y+ZQBFzFohjh8C2LqWC4nM5
+qsLmOkDWMipGqYU5DvkKjIbTbwTyRNRgZHWSPfVDDPUIUOsY4BGUp2DpgeGY9aEv
+lIs57Ev9JqlIUCV65lOhhDkG+xwmkHKHA+ECEU9cALI8+uXbh48MB9XpMOuk408X
+/lX89aZwD0/G9kmObVGnE2G+H5UCAwEAAaOBpjCBozAdBgNVHQ4EFgQUsft+d7VA
+jWgRftkR5cPG2k2sUbAwdAYDVR0jBG0wa4AUsft+d7VAjWgRftkR5cPG2k2sUbCh
+SKRGMEQxCzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdV
+cHBzYWxhMREwDwYDVQQKEwhNeVNRTCBBQoIJAL5YrUwfPSWVMAwGA1UdEwQFMAMB
+Af8wDQYJKoZIhvcNAQEFBQADggEBALRUOAmdL8R8sl1y8kiEiFgDatdXK5RDqWai
+8yZChfmwTIToHhmQsOEshJe2e8hky3huUj+33VyXjINoMbebIwMuXPwEkbJal8RZ
+nSJmF0jN1Qz7J/jFffwK9xmejWZJx49Kt2+Qwrwp6kDeq9TLFqQOoVczgyJPYsTL
+NAOib5WqTud3XWvCwxrhqmWu7JZq6sp1fomP/uunprb8y2miWfLESZN2mKAhm44Q
+Lws867LT8v2lskEjq2dT1LutD5+R66XcdjgSr0uDziDs64jZwCD6ea94hVFM7ej0
+ZOXYeSEZJ56FjUxu632e9fY8NyMh30yKjjmQf1mM9PuGJvdvsWU=
-----END CERTIFICATE-----
diff --git a/mysql-test/std_data/client-cert.pem b/mysql-test/std_data/client-cert.pem
index ee7f2ab281e..b83ae7c655d 100644
--- a/mysql-test/std_data/client-cert.pem
+++ b/mysql-test/std_data/client-cert.pem
@@ -1,46 +1,69 @@
Certificate:
Data:
- Version: 1 (0x0)
- Serial Number: 1048577 (0x100001)
- Signature Algorithm: md5WithRSAEncryption
+ Version: 3 (0x2)
+ Serial Number: 6 (0x6)
+ Signature Algorithm: sha1WithRSAEncryption
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Validity
- Not Before: Jan 29 11:50:22 2010 GMT
- Not After : Jan 28 11:50:22 2015 GMT
+ Not Before: Feb 20 03:03:26 2010 GMT
+ Not After : Sep 3 03:03:26 2030 GMT
Subject: C=SE, ST=Uppsala, O=MySQL AB
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
- Public-Key: (1024 bit)
- Modulus:
- 00:cc:9a:37:49:13:66:dc:cf:e3:0b:13:a1:23:ed:
- 78:db:4e:bd:11:f6:8c:0d:76:f9:a3:32:56:9a:f8:
- a1:21:6a:55:4e:4d:3f:e6:67:9d:26:99:b2:cd:a4:
- 9a:d2:2b:59:5c:d7:8a:d3:60:68:f8:18:bd:c5:be:
- 15:e1:2a:3c:a3:d4:61:cb:f5:11:94:17:81:81:f7:
- 87:8c:f6:6a:d2:ee:d8:e6:77:f6:62:66:4d:2e:16:
- 8d:08:81:4a:c9:c6:4b:31:e5:b9:c7:8a:84:96:48:
- a7:47:8c:0d:26:90:56:4e:e6:a5:6e:8c:b3:f2:9f:
- fc:3d:78:9b:49:6e:86:83:77
+ RSA Public Key: (1024 bit)
+ Modulus (1024 bit):
+ 00:c2:e7:20:cf:89:59:2f:67:cb:4c:9f:e8:11:f2:
+ 23:e5:f1:b1:ee:3f:66:5f:c3:f5:fd:1e:31:ee:8f:
+ 4c:2a:bd:c0:4a:a5:9f:c8:44:d5:77:8f:15:1b:4d:
+ 78:6e:b2:a2:48:a5:24:33:05:40:02:b3:c1:87:8d:
+ 59:3c:1a:07:aa:86:f0:04:e1:9c:20:4b:22:32:c4:
+ 51:9e:40:e4:31:c3:57:f5:98:bf:2e:b1:fd:2c:56:
+ bf:49:d9:9b:e7:17:cc:95:5f:b5:08:19:5e:9d:df:
+ 65:22:39:2c:48:fb:69:96:31:7a:35:4d:de:60:b4:
+ c1:60:19:5f:96:56:7e:55:19
Exponent: 65537 (0x10001)
- Signature Algorithm: md5WithRSAEncryption
- 5e:1f:a3:53:5f:24:13:1c:f8:28:32:b0:7f:69:69:f3:0e:c0:
- 34:87:10:03:7d:da:15:8b:bd:19:b8:1a:56:31:e7:85:49:81:
- c9:7f:45:20:74:3e:89:c0:e0:26:84:51:cc:04:16:ce:69:99:
- 01:e1:26:99:b3:e3:f5:bd:ec:5f:a0:84:e4:38:da:75:78:7b:
- 89:9c:d2:cd:60:95:20:ba:8e:e3:7c:e6:df:76:3a:7c:89:77:
- 02:94:86:11:3a:c4:61:7d:6f:71:83:21:8a:17:fb:17:e2:ee:
- 02:6b:61:c1:b4:52:63:d7:d8:46:b2:c5:9c:6f:38:91:8a:35:
- 32:0b
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+ CA:FALSE
+ X509v3 Subject Key Identifier:
+ 8D:10:67:91:33:76:9C:02:E5:78:5D:D8:C5:EF:25:96:B2:D7:FA:1F
+ X509v3 Authority Key Identifier:
+ keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0
+ DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
+ serial:BE:58:AD:4C:1F:3D:25:95
+
+ Signature Algorithm: sha1WithRSAEncryption
+ a9:88:10:3e:5d:2a:47:29:c8:03:27:7a:31:5a:8e:10:03:bc:
+ b5:4e:37:1d:12:7b:eb:5f:50:71:70:b1:a3:8e:93:0e:77:17:
+ 6c:47:b6:c9:a4:4d:2a:c4:38:f0:61:55:b2:7f:28:ba:06:79:
+ ee:67:11:7d:d4:c9:7f:0a:18:c8:c1:cb:d0:2c:f9:63:0f:bb:
+ 45:ca:de:ea:bb:ac:00:01:52:48:36:2b:07:2b:c8:46:c7:b1:
+ 21:81:bd:77:39:e7:4c:39:aa:bd:ac:60:d8:a7:bf:cf:14:98:
+ 4a:0b:a1:40:55:06:8d:6f:35:a9:39:a0:71:a9:97:ba:7c:73:
+ 3c:41:ba:c5:1c:11:4b:2b:43:1d:2d:ba:7b:5f:14:b5:3d:64:
+ 62:15:36:b4:16:bd:78:c8:43:8d:f9:1c:a5:d2:ac:a1:58:74:
+ e1:99:de:ad:04:19:43:a8:bd:0a:fd:19:9b:50:44:46:6d:18:
+ 55:4d:bf:b4:5b:a4:93:62:c7:64:91:6c:54:34:d1:f8:f3:ff:
+ 12:6d:5f:85:e7:35:9e:5c:42:81:5e:fb:c8:bb:44:51:98:b2:
+ ef:1b:9f:5a:22:77:28:7d:da:fb:08:c2:94:9a:0f:42:08:93:
+ 54:10:1e:ad:f2:4f:fc:62:98:51:e9:9b:b9:3a:93:d9:e4:1f:
+ 1d:c4:76:d0
-----BEGIN CERTIFICATE-----
-MIIB5zCCAVACAxAAATANBgkqhkiG9w0BAQQFADBEMQswCQYDVQQGEwJTRTEQMA4G
-A1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwg
-QUIwHhcNMTAwMTI5MTE1MDIyWhcNMTUwMTI4MTE1MDIyWjAyMQswCQYDVQQGEwJT
-RTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIwgZ8wDQYJKoZI
-hvcNAQEBBQADgY0AMIGJAoGBAMyaN0kTZtzP4wsToSPteNtOvRH2jA12+aMyVpr4
-oSFqVU5NP+ZnnSaZss2kmtIrWVzXitNgaPgYvcW+FeEqPKPUYcv1EZQXgYH3h4z2
-atLu2OZ39mJmTS4WjQiBSsnGSzHluceKhJZIp0eMDSaQVk7mpW6Ms/Kf/D14m0lu
-hoN3AgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAXh+jU18kExz4KDKwf2lp8w7ANIcQ
-A33aFYu9GbgaVjHnhUmByX9FIHQ+icDgJoRRzAQWzmmZAeEmmbPj9b3sX6CE5Dja
-dXh7iZzSzWCVILqO43zm33Y6fIl3ApSGETrEYX1vcYMhihf7F+LuAmthwbRSY9fY
-RrLFnG84kYo1Mgs=
+MIIDETCCAfmgAwIBAgIBBjANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ
+MA4GA1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlT
+UUwgQUIwHhcNMTAwMjIwMDMwMzI2WhcNMzAwOTAzMDMwMzI2WjAyMQswCQYDVQQG
+EwJTRTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIwgZ8wDQYJ
+KoZIhvcNAQEBBQADgY0AMIGJAoGBAMLnIM+JWS9ny0yf6BHyI+Xxse4/Zl/D9f0e
+Me6PTCq9wEqln8hE1XePFRtNeG6yokilJDMFQAKzwYeNWTwaB6qG8AThnCBLIjLE
+UZ5A5DHDV/WYvy6x/SxWv0nZm+cXzJVftQgZXp3fZSI5LEj7aZYxejVN3mC0wWAZ
+X5ZWflUZAgMBAAGjgaMwgaAwCQYDVR0TBAIwADAdBgNVHQ4EFgQUjRBnkTN2nALl
+eF3Yxe8llrLX+h8wdAYDVR0jBG0wa4AUsft+d7VAjWgRftkR5cPG2k2sUbChSKRG
+MEQxCzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBz
+YWxhMREwDwYDVQQKEwhNeVNRTCBBQoIJAL5YrUwfPSWVMA0GCSqGSIb3DQEBBQUA
+A4IBAQCpiBA+XSpHKcgDJ3oxWo4QA7y1TjcdEnvrX1BxcLGjjpMOdxdsR7bJpE0q
+xDjwYVWyfyi6BnnuZxF91Ml/ChjIwcvQLPljD7tFyt7qu6wAAVJINisHK8hGx7Eh
+gb13OedMOaq9rGDYp7/PFJhKC6FAVQaNbzWpOaBxqZe6fHM8QbrFHBFLK0MdLbp7
+XxS1PWRiFTa0Fr14yEON+Ryl0qyhWHThmd6tBBlDqL0K/RmbUERGbRhVTb+0W6ST
+YsdkkWxUNNH48/8SbV+F5zWeXEKBXvvIu0RRmLLvG59aIncofdr7CMKUmg9CCJNU
+EB6t8k/8YphR6Zu5OpPZ5B8dxHbQ
-----END CERTIFICATE-----
diff --git a/mysql-test/std_data/client-key.pem b/mysql-test/std_data/client-key.pem
index 205b5f31cb9..2fc1754e9c5 100644
--- a/mysql-test/std_data/client-key.pem
+++ b/mysql-test/std_data/client-key.pem
@@ -1,15 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
-MIICXQIBAAKBgQDMmjdJE2bcz+MLE6Ej7XjbTr0R9owNdvmjMlaa+KEhalVOTT/m
-Z50mmbLNpJrSK1lc14rTYGj4GL3FvhXhKjyj1GHL9RGUF4GB94eM9mrS7tjmd/Zi
-Zk0uFo0IgUrJxksx5bnHioSWSKdHjA0mkFZO5qVujLPyn/w9eJtJboaDdwIDAQAB
-AoGASqk/4We2En+93y3jkIO4pXafIe3w/3zZ7caRue1ehx4RUQh5d+95djuB9u7J
-HEZ7TpjM7QNyao5EueL6gvbxt0LXFvqAMni7yM9tt/HUYtHHPqYiRtUny9bKYFTm
-l8szCCMal/wD9GZU9ByHDNHm7tHUMyMhARNTYSgx+SERFmECQQD/6jJocC4SXf6f
-T3LqimWR02lbJ7qCoDgRglsUXh0zjrG+IIiAyE+QOCCx1GMe3Uw6bsIuYwdHT6as
-WcdPs04xAkEAzKulvEvLVvN5zfa/DTYRTV7jh6aDleOxjsD5oN/oJXoACnPzVuUL
-qQQMNtuAXm6Q1QItrRxpQsSKbY0UQka6JwJBAOSgoNoG5lIIYTKIMvzwGV+XBLeo
-HYsXgh+6Wo4uql3mLErUG78ZtWL9kc/tE4R+ZdyKGLaCR/1gXmH5bwN4B/ECQEBb
-uUH8k3REG4kojesZlVc+/00ojzgS4UKCa/yqa9VdB6ZBz8MDQydinnShkTwgiGpy
-xOoqhO753o2UT0qH8wECQQC99IEJWUnwvExVMkLaZH5NjAFJkb22sjkmuT11tAgU
-RQgOMoDOm6driojnOnDWOkx1r1Gy9NgMLooduja4v6cx
+MIICWwIBAAKBgQDC5yDPiVkvZ8tMn+gR8iPl8bHuP2Zfw/X9HjHuj0wqvcBKpZ/I
+RNV3jxUbTXhusqJIpSQzBUACs8GHjVk8GgeqhvAE4ZwgSyIyxFGeQOQxw1f1mL8u
+sf0sVr9J2ZvnF8yVX7UIGV6d32UiOSxI+2mWMXo1Td5gtMFgGV+WVn5VGQIDAQAB
+AoGARXcXLKDpVooJ3W+IyQyiWsw//IhANpWjUOm4JiyQmxMyO+i4ACr4Yjpu7WI5
+MEseqAGj20NdwxjKO0PXsCIe5LmrGZ+SI8+CSERFOWXWRtCWz7y7SG30i1k6suvM
+mwqWom0tJLwn93uA1lm/WSwKQwUrJRahRQd3EaZqrl7DP5kCQQD/8gbuYAT5pxQe
+ULLGM0RvEsXxDYbEDxNbY5wrBazfklBwpumxZpFl6jEAT++7Kh2Ns3A7kB1oUNlA
+FPYr+dYPAkEAwvHEwRtoyUr8jqoqVVJWI76CDmBjEOzVeMKW97ztqbs2LxZW8dYI
+iOh/myFGpdoUwgu0U8w9MmXcj3ZeZCYKVwJALyQ+AJPw9qa+fuLwOq9gsHCtwrty
+EhSQxSlwrz/pWniRll439vPkXfgntF4E0t1r+hiN2Hqv3/HcQgBaYzkuIwJAG023
+bACFxaOuCeFFepvEms8E8jSHy4gQQhCnCl24v8wLw76SQN7kZSCDNtwLRBFuVNtE
+z3PMonFn2eQPRmGZkwJAP1c1BHprMQx/ruafdscROILv3JrH40C1bR6KVVBKt1dK
+Qpnpgi7hK5rUQjDF8k3bn9ugTt06jyeHe/QhAml0kg==
-----END RSA PRIVATE KEY-----
diff --git a/mysql-test/std_data/mariadb-5.5-binlog.000001 b/mysql-test/std_data/mariadb-5.5-binlog.000001
new file mode 100644
index 00000000000..9b6f6dce0fb
--- /dev/null
+++ b/mysql-test/std_data/mariadb-5.5-binlog.000001
Binary files differ
diff --git a/mysql-test/std_data/server-cert.pem b/mysql-test/std_data/server-cert.pem
index 5922fe7ded7..d77bae800f2 100644
--- a/mysql-test/std_data/server-cert.pem
+++ b/mysql-test/std_data/server-cert.pem
@@ -1,41 +1,69 @@
Certificate:
Data:
- Version: 1 (0x0)
- Serial Number: 1048578 (0x100002)
- Signature Algorithm: md5WithRSAEncryption
+ Version: 3 (0x2)
+ Serial Number: 4 (0x4)
+ Signature Algorithm: sha1WithRSAEncryption
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Validity
- Not Before: Jan 29 11:56:49 2010 GMT
- Not After : Jan 28 11:56:49 2015 GMT
+ Not Before: Feb 20 02:55:06 2010 GMT
+ Not After : Sep 3 02:55:06 2030 GMT
Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=localhost
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
- Public-Key: (512 bit)
- Modulus:
- 00:cd:e4:87:51:9d:72:11:a0:d1:fa:f3:92:8b:13:
- 1c:eb:f7:e2:9a:2f:72:a8:d6:65:48:d1:69:af:1b:
- c0:4c:13:e5:60:60:51:41:e9:ab:a6:bc:13:bb:0c:
- 5e:32:7c:d9:6c:9e:cd:05:24:84:78:db:80:91:2e:
- d8:88:2b:c2:ed
+ RSA Public Key: (1024 bit)
+ Modulus (1024 bit):
+ 00:e3:7d:4f:c2:23:77:a9:3a:2c:d2:69:59:a0:2f:
+ 4e:d1:51:4c:ae:8d:f5:17:cc:ce:58:9c:83:4f:0b:
+ a3:bb:29:a2:b8:1d:3e:1b:04:f9:a9:3e:e2:61:d0:
+ e6:7b:b9:7c:12:d8:1f:86:c9:53:b5:04:dd:df:26:
+ e9:c0:2b:de:4a:96:2e:f3:23:6f:79:6d:a9:d2:4e:
+ 17:af:2f:de:8b:68:44:ae:de:a3:e2:c4:37:1c:04:
+ ad:73:4b:85:f9:83:ac:fe:b7:c1:54:47:2e:96:d4:
+ 31:96:85:94:69:d6:5a:63:24:04:99:89:19:1d:56:
+ 8a:d1:77:aa:87:fb:38:cd:b7
Exponent: 65537 (0x10001)
- Signature Algorithm: md5WithRSAEncryption
- 73:ce:9c:6e:39:46:b4:14:be:da:3f:f3:1b:ba:90:bc:23:43:
- d7:82:2a:70:4e:a6:d9:5a:65:5c:b7:df:71:df:75:77:c5:80:
- a4:af:fa:d2:59:e2:fd:c9:9c:f0:98:95:8e:69:a9:8c:7c:d8:
- 6f:48:d2:e3:36:e0:cd:ff:3f:d1:a5:e6:ab:75:09:c4:50:10:
- c4:96:dd:bf:3b:de:32:46:da:ca:4a:f1:d6:52:8a:33:2f:ab:
- f5:2e:70:3f:d4:9c:be:00:c8:03:f9:39:8a:df:5b:70:3c:40:
- ef:03:be:7c:3d:1d:32:32:f3:51:81:e2:83:30:6e:3d:38:9b:
- fb:3c
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+ CA:FALSE
+ X509v3 Subject Key Identifier:
+ CC:8C:71:40:D0:0F:BF:D1:99:79:3F:1B:E9:10:76:19:67:36:0F:A3
+ X509v3 Authority Key Identifier:
+ keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0
+ DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
+ serial:BE:58:AD:4C:1F:3D:25:95
+
+ Signature Algorithm: sha1WithRSAEncryption
+ 6f:ad:5e:59:fa:84:3a:be:e2:72:b1:e8:66:2a:4e:f8:73:19:
+ 11:06:11:92:78:56:3e:d6:e8:68:29:90:8b:59:d2:fe:aa:ae:
+ 25:59:c7:e9:99:bb:4a:06:43:dd:40:bd:cb:f4:ae:79:95:7d:
+ 8e:90:ef:58:d2:a8:fc:bf:07:f3:37:b2:9b:bd:da:e6:8c:56:
+ dd:5e:c6:4a:70:7c:3e:3d:a1:e8:35:06:b8:a7:7b:ac:26:85:
+ 54:5d:09:a2:7b:77:b4:17:7f:72:31:cb:ff:cc:67:6d:e6:3e:
+ c6:dc:96:eb:4a:0a:ae:e9:48:ae:8a:e0:d6:73:57:6e:32:4c:
+ 00:dc:28:da:55:b3:9f:9f:d8:98:cc:d9:f1:b6:b3:14:67:2e:
+ a1:47:1e:51:11:cf:70:9f:31:8f:ba:59:29:f2:d0:88:0b:e2:
+ 51:6b:f8:31:ed:6d:ac:00:5e:d3:78:4c:95:97:02:cc:74:2b:
+ 3b:c6:28:e6:2a:c3:30:99:35:b4:4d:31:46:d4:90:f2:47:ed:
+ 64:85:1a:75:2a:72:0a:2f:c6:3a:2f:d2:ac:6b:31:cc:e5:a8:
+ 07:c2:d6:22:f3:c6:0f:bf:67:d9:d6:b2:79:cd:48:b5:c3:e0:
+ e3:18:7f:b5:74:c9:43:19:fb:c4:93:29:ca:cc:90:2b:1b:6f:
+ 45:f6:25:f9
-----BEGIN CERTIFICATE-----
-MIIBtzCCASACAxAAAjANBgkqhkiG9w0BAQQFADBEMQswCQYDVQQGEwJTRTEQMA4G
-A1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwg
-QUIwHhcNMTAwMTI5MTE1NjQ5WhcNMTUwMTI4MTE1NjQ5WjBGMQswCQYDVQQGEwJT
-RTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIxEjAQBgNVBAMT
-CWxvY2FsaG9zdDBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDN5IdRnXIRoNH685KL
-Exzr9+KaL3Ko1mVI0WmvG8BME+VgYFFB6aumvBO7DF4yfNlsns0FJIR424CRLtiI
-K8LtAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAc86cbjlGtBS+2j/zG7qQvCND14Iq
-cE6m2VplXLffcd91d8WApK/60lni/cmc8JiVjmmpjHzYb0jS4zbgzf8/0aXmq3UJ
-xFAQxJbdvzveMkbaykrx1lKKMy+r9S5wP9ScvgDIA/k5it9bcDxA7wO+fD0dMjLz
-UYHigzBuPTib+zw=
+MIIDJTCCAg2gAwIBAgIBBDANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ
+MA4GA1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlT
+UUwgQUIwHhcNMTAwMjIwMDI1NTA2WhcNMzAwOTAzMDI1NTA2WjBGMQswCQYDVQQG
+EwJTRTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIxEjAQBgNV
+BAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA431PwiN3
+qTos0mlZoC9O0VFMro31F8zOWJyDTwujuymiuB0+GwT5qT7iYdDme7l8EtgfhslT
+tQTd3ybpwCveSpYu8yNveW2p0k4Xry/ei2hErt6j4sQ3HAStc0uF+YOs/rfBVEcu
+ltQxloWUadZaYyQEmYkZHVaK0Xeqh/s4zbcCAwEAAaOBozCBoDAJBgNVHRMEAjAA
+MB0GA1UdDgQWBBTMjHFA0A+/0Zl5PxvpEHYZZzYPozB0BgNVHSMEbTBrgBSx+353
+tUCNaBF+2RHlw8baTaxRsKFIpEYwRDELMAkGA1UEBhMCU0UxEDAOBgNVBAgTB1Vw
+cHNhbGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCggkAvlit
+TB89JZUwDQYJKoZIhvcNAQEFBQADggEBAG+tXln6hDq+4nKx6GYqTvhzGREGEZJ4
+Vj7W6GgpkItZ0v6qriVZx+mZu0oGQ91Avcv0rnmVfY6Q71jSqPy/B/M3spu92uaM
+Vt1exkpwfD49oeg1Brine6wmhVRdCaJ7d7QXf3Ixy//MZ23mPsbclutKCq7pSK6K
+4NZzV24yTADcKNpVs5+f2JjM2fG2sxRnLqFHHlERz3CfMY+6WSny0IgL4lFr+DHt
+bawAXtN4TJWXAsx0KzvGKOYqwzCZNbRNMUbUkPJH7WSFGnUqcgovxjov0qxrMczl
+qAfC1iLzxg+/Z9nWsnnNSLXD4OMYf7V0yUMZ+8STKcrMkCsbb0X2Jfk=
-----END CERTIFICATE-----
diff --git a/mysql-test/std_data/server-key.pem b/mysql-test/std_data/server-key.pem
index 1083495cb96..bf0ae205107 100644
--- a/mysql-test/std_data/server-key.pem
+++ b/mysql-test/std_data/server-key.pem
@@ -1,9 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
-MIIBOwIBAAJBAM3kh1GdchGg0frzkosTHOv34povcqjWZUjRaa8bwEwT5WBgUUHp
-q6a8E7sMXjJ82WyezQUkhHjbgJEu2Igrwu0CAwEAAQJBAJuwhFbF3NzRpBbEmnqJ
-4GPa1UJMQMLFJF+04tqj/HxJcAIVhOJhGmmtYNw1yjz/ZsPnfJCMz4eFOtdjvGtf
-peECIQDmFFg2WLvYo+2m9w9V7z4ZIkg7ixYkI/ObUUctfZkPOQIhAOUWnrvjFrAX
-bIvYT/YR50+3ZDLEc51XxNgJnWqWYl1VAiEAnTOFWgyivFC1DgF8PvDp8u5TgCt2
-A1d1GMgd490O+TECIC/WMl0/hTxOF9930vKqOGf//o9PUGkZq8QE9fcM4gtlAiAE
-iOcFpnLjtWj57jrhuw214ucnB5rklkQQe+AtcARNkg==
+MIICXgIBAAKBgQDjfU/CI3epOizSaVmgL07RUUyujfUXzM5YnINPC6O7KaK4HT4b
+BPmpPuJh0OZ7uXwS2B+GyVO1BN3fJunAK95Kli7zI295banSThevL96LaESu3qPi
+xDccBK1zS4X5g6z+t8FURy6W1DGWhZRp1lpjJASZiRkdVorRd6qH+zjNtwIDAQAB
+AoGAUb0o91y/FjMs/72S0pes/lDz+JRRSGfyjKxQEgrgndNsADOhqRu0iTdrKDJj
+XnlbN3ooecnFJfnFrvTQcJhSmlS30j6VrBw6LXpCBK3dvjYgJ9LOne7WK+dF1+vS
+FMQtsP04C56Sxy6HJDpMyWJ6oS3Bu169ygG2AxKo+Fk+E6ECQQD38w/MzmrARz2Z
+AGeEPDUnVZPYgtmXkmks95S0/2jSoLhmgpvJimzxwpYwVG/BG8dSDVuTDu5kp05D
+3bZIp3EzAkEA6uAwJsCZPtHXlWU3wYZJsA697rUNjPaCQOIaZ/lnh5RUHTmUiw1h
+Oj/VORqKB0kXqcDfawwLjZEvh1Xli+H5bQJBANTmhw2TvEPnp/OFTl1UGUvyBmXl
+TRMB639qAu07VfVtfYi/4ya1zn/0VmOfTOoigQ5qW9Q1AOu6YNCTQl62L9MCQQDc
+YfEsW2kvNYxYJHoVfuBjbuGuOnn1e1Oqd70ZND59S6NFLMMBWlORaVWzWACNZ3rp
+kAzSj6HDeqgjD2jsQONdAkEAt7S1YHUn8F760bRn4AnAto2TVOYdArtTP/wYjd4o
+9rJREO/d8AYkYJ96APLvF0SZ4n3t1pLwQRsKKN8ZGTmzLA==
-----END RSA PRIVATE KEY-----
diff --git a/mysql-test/std_data/server8k-cert.pem b/mysql-test/std_data/server8k-cert.pem
index e71ba5722b9..c4c4c3a6374 100644
--- a/mysql-test/std_data/server8k-cert.pem
+++ b/mysql-test/std_data/server8k-cert.pem
@@ -1,51 +1,69 @@
+Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number: 5 (0x5)
+ Signature Algorithm: sha1WithRSAEncryption
+ Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
+ Validity
+ Not Before: Feb 20 03:00:54 2010 GMT
+ Not After : Sep 3 03:00:54 2030 GMT
+ Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=server
+ Subject Public Key Info:
+ Public Key Algorithm: rsaEncryption
+ RSA Public Key: (1024 bit)
+ Modulus (1024 bit):
+ 00:c5:da:44:95:06:77:16:21:af:a0:c4:3c:e9:f8:
+ 1d:2d:95:f9:63:90:8c:3f:86:ba:77:76:4a:52:4b:
+ 6b:af:29:f5:1c:aa:d4:3f:3e:42:9f:6d:46:ba:86:
+ 90:b1:2d:cc:db:c6:33:15:a3:f4:af:53:33:4f:a1:
+ 56:d1:aa:3b:26:10:f7:64:b5:f9:bf:1b:b1:47:8e:
+ cc:a6:d6:0d:aa:4a:77:e3:a3:63:9d:2a:dc:65:f4:
+ 7f:91:17:38:2d:d6:cd:4e:8d:53:52:97:6e:87:fc:
+ 64:60:a6:a1:00:ac:96:6c:e4:42:94:75:17:46:6f:
+ 91:b5:dd:06:47:ed:05:e3:db
+ Exponent: 65537 (0x10001)
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+ CA:FALSE
+ X509v3 Subject Key Identifier:
+ 6E:60:3F:29:13:60:99:ED:0C:F7:15:B5:DB:7B:1C:FB:6F:60:19:ED
+ X509v3 Authority Key Identifier:
+ keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0
+ DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
+ serial:BE:58:AD:4C:1F:3D:25:95
+
+ Signature Algorithm: sha1WithRSAEncryption
+ 63:2e:0f:07:14:06:cf:74:90:3d:37:42:f2:48:70:60:21:bc:
+ 34:52:31:f1:87:70:d2:b2:fb:ff:13:38:dc:f0:5e:43:d7:ee:
+ a7:c7:1f:ac:aa:d2:8c:4f:fa:3c:4c:73:f6:b6:c2:0c:a0:ea:
+ a2:c9:e2:73:61:c3:2e:78:40:0f:2a:d3:63:50:9b:b8:f9:89:
+ 40:ed:98:08:97:c3:07:24:17:34:b5:78:89:0a:bb:83:4c:e2:
+ 5c:2e:13:d6:21:30:ad:30:48:b5:70:12:ff:4a:6f:42:f0:f8:
+ 9f:b1:4b:bd:89:2b:f0:9d:e2:49:2b:35:69:18:1f:76:40:b4:
+ 76:bd:cb:dd:27:2f:c0:c1:e2:33:3e:6e:df:68:54:19:92:8a:
+ bb:13:9c:cf:d6:17:56:da:bf:0d:64:70:3a:45:b7:aa:5f:e3:
+ f5:96:ae:34:f2:17:37:27:d0:4b:e8:30:4a:c0:02:42:e2:d2:
+ 30:eb:eb:c7:d7:ec:d8:df:5c:43:58:e2:6f:b7:58:54:0d:c4:
+ 01:71:2d:59:8f:44:c7:a1:6c:0b:41:28:fa:b7:63:a7:68:d3:
+ 4f:c3:0f:17:9e:b2:32:50:e6:0b:87:3d:e2:39:47:c0:d8:0a:
+ 3b:f6:af:50:68:0f:9d:ef:6e:34:0d:3a:07:94:f8:a4:d7:24:
+ 86:32:d3:b4
-----BEGIN CERTIFICATE-----
-MIIJFDCCBPwCAQEwDQYJKoZIhvcNAQEEBQAwTjELMAkGA1UEBhMCU0UxEDAOBgNV
-BAgTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCMQ0wCwYDVQQLEwRUZXN0MQsw
-CQYDVQQDEwJDQTAeFw0xMDA3MjgxNDA3MjhaFw0xODEwMTQxNDA3MjhaMFIxCzAJ
-BgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMREwDwYDVQQKEwhNeVNRTCBBQjEN
-MAsGA1UECxMEVGVzdDEPMA0GA1UEAxMGc2VydmVyMIIEIjANBgkqhkiG9w0BAQEF
-AAOCBA8AMIIECgKCBAEA6h3v1OWb9I9U/Z8diBu/xYGS8NCTD3ZESboHxVI2qSEC
-PgxNNcG8Lh0ktQdgYcOe64MnDTZX0Bibm47hoDldrAlTSffFxQhylqBBoXxDF+Lr
-hXIqCz7K0PsK+bYusL9ezJ7PETDnCT7oy95q4GXbKsutbNsm9if4ZE41gs2KnoU2
-DA7kvMmkKojrMIL4+BqTXA20LLo0iSbgvUTvpSJw4u96BeyzMNnxK2wP5vvTtUo5
-hACbfU87YjaSKs+q2VXCzfyYGZk1L1xk5GUI0bP+jutf1dDzNttW2/q2Nf5rxx09
-Gh/GwmOnEk1O7cOZ8VQCsOHirIM39NuSARsY6Y3G5XM4k2W4nxyR/RtdG9bvs/33
-aGsZ5V5yp7WSs8s9HHwaCPSsUiLKckQ7uA0TTRgbeweMrrLKovG57jsbBBB8pQD4
-PRd31qgxCdstWXHiWwRyI8vOLWENPXPFqA/rJwwqNdWTogy38aqVXxGYR8PIwjA2
-OaIwFjwGZcsPNLqw6bgAN8O2UBqZHWiMF8mi7brvioDvAIufZuqa2SqT/At45H83
-psQ6R4FsxZt6SAK7EsdPo8OYTrY1i4iPZd/eKhnEu2srEZgsKRwY5H1mvDH5fWCc
-HSFu07sWmlmK6Or65Fsa0IaKLJiQDVVETd6xrI0wkM4AOcbKDrS7aywJ426dopbs
-+LFdt4N0cdII4gBgJAfLuuA2yrDXRq4P6cgpVMy0R+0dEYE8zzm8zf1a+Ud273LS
-9+LB+LJKwqbW8nOPBoiekimIKfJYoOA4+C/mAjsYl1sVjjEhXJAs9S9L2UvnUk1P
-sZi4UKHI6eAIEl7VM1sQ4GbdZ0px2dF2Ax7pGkhD+DLpYyYkCprharKZdmuUNLUd
-NhXxi/HSEiE+Uy+o8RIzmH7LuROl/ZgnfHjJEiBLt2qPvwrwYd4c3XuXWs4YsWfV
-JTt8Mx2ihgVcdGy9//shCSmgJwR1oWrhgC10AEL2fKeRnYUal1i+IxFPp7nb8uwx
-UADgR0cY4A3qR/JP489QFIcxBTVs65De+Bq3ecnujk6yeGpD9iptonq4Y8uNZMc1
-kOE7GiFGwR4EufT5SEMh+tUkjth2r+842vmZZuxrVQaohDiATmIJA07W51zKH+nQ
-uw4qVKnAhPaDLCLc7YMIH9JcmkeQX0nf8/S2O2WYDH8glVDi5hfW08tCmV647vRY
-nTIywUTO0lFpz7M+VyMNaJ6yXU6biBV5hLAI8C5ldr/SWI789W2+ebBaJ9gfK+PT
-trohFSK37GcoSH4V6qSLJHCBASEsiddqHIHMLJZRYD+B6J3tLhjVUM43u+MEGbFT
-d33ZDke/WzLTExWkaOv36e67gDBmgDuj9yroq3wGfwIDAQABMA0GCSqGSIb3DQEB
-BAUAA4IEAQCc9RBhRbuWlmRZPZkqIdi5/+enyjoMmOa6ryJPxFSP8D2jrlHgQsk1
-+GsJmPFT3rwWfoGAQu/aeSX4sp8OhKVJtqNA6MJrGYnZIMolgYa1wZPbkjJsdEfi
-UsZdIB0n2+KA0xwEdGPdkGCfNPBtOg557DkcyEvsIZ9ELp4Pp2XzWRhyFGasJZc4
-YwgD/3K2rpOPZoMkBKeKqV19j41OfLKGBVyuaqzitbu9+KT4RU1ibr2a+UuFCwdT
-oqyN7bfWXjcjXOMkxCsOmLfKmqQxs7TEOVrYPTdYjamDxLy/e5g5FgoCxGY8iil0
-+YFLZyH6eEx/Os9DlG/M3O1MeRD9U97CdsphbDVZIDyWw5xeX8qQHJe0KSprAgiG
-TLhTZHeyrKujQCQS1oFFmNy4gSqXt0j1/6/9T80j6HeyjiiYEaEQK9YLTAjRoA7W
-VN8wtHI5F3RlNOVQEJks/bjdlpLL3VhaWtfewGh/mXRGcow84cgcsejMexmhreHm
-JfTUl9+X1IFFxGq2/606A9ROQ7kN/s4rXu7/TiMODXI/kZijoWd2SCc7Z0YWoNo7
-IRKkmZtrsflJbObEuK2Jk59uqzSxyQOBId8qtbPo8qJJyHGV5GCp34g4x67BxJBo
-h1iyVMamBAS5Ip1ejghuROrB8Hit8NhAZApXju62btJeXLX+mQayXb/wC/IXNJJD
-83tXiLfZgs6GzLAq7+KW/64sZSvj87CPiNtxkvjchAvyr+fhbBXCrf4rlOjJE6SH
-Je2/Jon7uqijncARGLBeYUT0Aa6k1slpXuSKxDNt7EIkP21kDZ5/OJ0Y1u587KVB
-dEhuDgNf2/8ij7gAQBwBoZMe1DrwddrxgLLBlyHpAZetNYFZNT+Cs/OlpqI0Jm59
-kK9pX0BY4AGOd23XM3K/uLawdmf67kkftim7aVaqXFHPiWsJVtlzmidKvNSmbmZe
-dOmMXp6PBoqcdusFVUS7vjd3KAes5wUX/CaTyOOPRu0LMSnpwEnaL76IC9x4Jd6d
-7QqY/OFTjpPH8nP57LwouiT6MgSUCWGaOkPuBJ9w9sENSbbINpgJJ42iAe2kE+R7
-qEIvf/2ETCTseeQUqm2nWiSPLkNagEh6kojmEoKrGyrv3YjrSXSOY1a70tDVy43+
-ueQDQzNZm3Q7inpke2ZKvWyY0LQmLzP2te+tnNBcdLyKJx7emPRTuMUlEdK7cLbt
-V3Sy9IKtyAXqqd66fPFj4NhJygyncj8M6CSqhG5L0GhDbkA8UJ8yK/gfKm3h5xe2
-utULK5VMtAhQt6cVahO59A9t/OI17y45bmlIgdlEQISzVFe9ZbIUJW44zBfPx74k
-/w8pMRr8gEuRqpL2WdJiKGG6lhMHLVFo
+MIIDIjCCAgqgAwIBAgIBBTANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ
+MA4GA1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlT
+UUwgQUIwHhcNMTAwMjIwMDMwMDU0WhcNMzAwOTAzMDMwMDU0WjBDMQswCQYDVQQG
+EwJTRTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIxDzANBgNV
+BAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxdpElQZ3FiGv
+oMQ86fgdLZX5Y5CMP4a6d3ZKUktrryn1HKrUPz5Cn21GuoaQsS3M28YzFaP0r1Mz
+T6FW0ao7JhD3ZLX5vxuxR47MptYNqkp346NjnSrcZfR/kRc4LdbNTo1TUpduh/xk
+YKahAKyWbORClHUXRm+Rtd0GR+0F49sCAwEAAaOBozCBoDAJBgNVHRMEAjAAMB0G
+A1UdDgQWBBRuYD8pE2CZ7Qz3FbXbexz7b2AZ7TB0BgNVHSMEbTBrgBSx+353tUCN
+aBF+2RHlw8baTaxRsKFIpEYwRDELMAkGA1UEBhMCU0UxEDAOBgNVBAgTB1VwcHNh
+bGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCggkAvlitTB89
+JZUwDQYJKoZIhvcNAQEFBQADggEBAGMuDwcUBs90kD03QvJIcGAhvDRSMfGHcNKy
++/8TONzwXkPX7qfHH6yq0oxP+jxMc/a2wgyg6qLJ4nNhwy54QA8q02NQm7j5iUDt
+mAiXwwckFzS1eIkKu4NM4lwuE9YhMK0wSLVwEv9Kb0Lw+J+xS72JK/Cd4kkrNWkY
+H3ZAtHa9y90nL8DB4jM+bt9oVBmSirsTnM/WF1bavw1kcDpFt6pf4/WWrjTyFzcn
+0EvoMErAAkLi0jDr68fX7NjfXENY4m+3WFQNxAFxLVmPRMehbAtBKPq3Y6do00/D
+DxeesjJQ5guHPeI5R8DYCjv2r1BoD53vbjQNOgeU+KTXJIYy07Q=
-----END CERTIFICATE-----
diff --git a/mysql-test/std_data/server8k-key.pem b/mysql-test/std_data/server8k-key.pem
index 99e7417733e..d3c3ec5baba 100644
--- a/mysql-test/std_data/server8k-key.pem
+++ b/mysql-test/std_data/server8k-key.pem
@@ -1,99 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
-MIISKQIBAAKCBAEA6h3v1OWb9I9U/Z8diBu/xYGS8NCTD3ZESboHxVI2qSECPgxN
-NcG8Lh0ktQdgYcOe64MnDTZX0Bibm47hoDldrAlTSffFxQhylqBBoXxDF+LrhXIq
-Cz7K0PsK+bYusL9ezJ7PETDnCT7oy95q4GXbKsutbNsm9if4ZE41gs2KnoU2DA7k
-vMmkKojrMIL4+BqTXA20LLo0iSbgvUTvpSJw4u96BeyzMNnxK2wP5vvTtUo5hACb
-fU87YjaSKs+q2VXCzfyYGZk1L1xk5GUI0bP+jutf1dDzNttW2/q2Nf5rxx09Gh/G
-wmOnEk1O7cOZ8VQCsOHirIM39NuSARsY6Y3G5XM4k2W4nxyR/RtdG9bvs/33aGsZ
-5V5yp7WSs8s9HHwaCPSsUiLKckQ7uA0TTRgbeweMrrLKovG57jsbBBB8pQD4PRd3
-1qgxCdstWXHiWwRyI8vOLWENPXPFqA/rJwwqNdWTogy38aqVXxGYR8PIwjA2OaIw
-FjwGZcsPNLqw6bgAN8O2UBqZHWiMF8mi7brvioDvAIufZuqa2SqT/At45H83psQ6
-R4FsxZt6SAK7EsdPo8OYTrY1i4iPZd/eKhnEu2srEZgsKRwY5H1mvDH5fWCcHSFu
-07sWmlmK6Or65Fsa0IaKLJiQDVVETd6xrI0wkM4AOcbKDrS7aywJ426dopbs+LFd
-t4N0cdII4gBgJAfLuuA2yrDXRq4P6cgpVMy0R+0dEYE8zzm8zf1a+Ud273LS9+LB
-+LJKwqbW8nOPBoiekimIKfJYoOA4+C/mAjsYl1sVjjEhXJAs9S9L2UvnUk1PsZi4
-UKHI6eAIEl7VM1sQ4GbdZ0px2dF2Ax7pGkhD+DLpYyYkCprharKZdmuUNLUdNhXx
-i/HSEiE+Uy+o8RIzmH7LuROl/ZgnfHjJEiBLt2qPvwrwYd4c3XuXWs4YsWfVJTt8
-Mx2ihgVcdGy9//shCSmgJwR1oWrhgC10AEL2fKeRnYUal1i+IxFPp7nb8uwxUADg
-R0cY4A3qR/JP489QFIcxBTVs65De+Bq3ecnujk6yeGpD9iptonq4Y8uNZMc1kOE7
-GiFGwR4EufT5SEMh+tUkjth2r+842vmZZuxrVQaohDiATmIJA07W51zKH+nQuw4q
-VKnAhPaDLCLc7YMIH9JcmkeQX0nf8/S2O2WYDH8glVDi5hfW08tCmV647vRYnTIy
-wUTO0lFpz7M+VyMNaJ6yXU6biBV5hLAI8C5ldr/SWI789W2+ebBaJ9gfK+PTtroh
-FSK37GcoSH4V6qSLJHCBASEsiddqHIHMLJZRYD+B6J3tLhjVUM43u+MEGbFTd33Z
-Dke/WzLTExWkaOv36e67gDBmgDuj9yroq3wGfwIDAQABAoIEAQCSt6YoZqigz/50
-XvYT6Uf6T6S1lBDFXNmY1qOuDkLBJTWRiwYMDViQEaWCaZgGTKDYeT3M8uR/Phyu
-lRFi5vCEMufmcAeZ3hxptw7KU+R8ILJ207/zgit6YglTys9h5txTIack39+6FJmx
-wbZ64HpETJZnpMO6+fuZaMXyLjuT8mmXjvHcOgXOvjWeFkZOveDhjJkAesUXuqyX
-EI+ajoXuQiPXeKonkD2qd7NTjzfy4gw/ZF4NXs0ZVJeviqtIPo2xp33udOw2vRFh
-bMvlF4cNLAbIKYVyOG0ruOfd2I7Unsc/CvD1u5vlRVuUd8OO0JZLIZR7hlRX+A58
-8O1g2H/wJZAsF1BnLnFzDGYCX2WjCCK3Zn85FkKGRa0lTdYDduad/C/N3Y2/pHFE
-e7U/2D7IkEei59tD2HcsDBB3MJnckkn/hyiL9qWcxqWZ61vurE+XjU6tc6fnfhk9
-pJQ6yU3epPU7Vfsk0UGA7bbgKpsyzyH8Zl76YC2mN2ZVJjZekfhY+ibT9odEPdOl
-yLB5iXA6/WhKkDWaOqZGOH+7MblWgT9wHINlcn+nKzOr00JHl26ac6aMlXXi9vbe
-4jgJbFK1HYlFIndyX/BdqRTsFemDoDrVqrEYsaONoVYDd9c5qrqYOeh34DhOksQW
-hNwWBfmMlfzgOGtCYhMeK+AajqTtUbMYQA6qp47KJd/Oa5Dvi3ZCpvZh3Ll5iIau
-rqCtmojsWCqmpWSu7P+Wu4+O3XkUMPdQUuQ5rJFESEBB3yEJcxqk/RItTcKNElNC
-PASrPrMD9cli7S/pJ+frbhu1Gna1ArXzXQE9pMozPaBpjCig7+15R0lL3pmOKO6e
-WK3dgSwrnW6TQdLPlSD4lbRoiIdTHVBczztDeUqVvFiV3/cuaEi1nvaVdAYLqjuL
-ogK4HwE/FQ54S0ijAsP52n25usoH6OTU3bSd/7NTp0vZCy3yf10x7HUdsh2DvhRO
-3+TSK5t0yz0Nt7hNwcI6pLmWUIYcZgpFc/WsiiGscTfhy8rh3kRHI8ylGq53KNF+
-yCVmjqnBRWs91ArxmeF1ctX2t3w5p7gf65hJWqoX/2DiSi5FBsr6HLxa5sUi4wRZ
-136aCNt5Wu7w+AzPDbQW6qKUGSyfHJAw4JZasZcaZLise5IWb1ks0DtFbWWdT3ux
-8r2AM7IO1WopnekrYCnx/aBvBAv4NjWozVA517ztVttPERt3AGb4nm387nYt5R2U
-NO2GBWcDyT8JQLKmffE1AkWolCR1GsvcNLQfLCbnNppgsnsLE/viTG4mq1wjnd8O
-2Q8nH1SVTuyGFREMp/zsiAEaGfdd0hI2r1J7OdNPBBCtmhITsy9ZYHqm5vrGvy3s
-vi2GuB2RAoICAQD/oWUsg4eTJxHifTJLz/tVSTXnw7DhfbFVa1K1rUV63/MRQAFW
-pabN4T6Yfp3CpdRkljCA8KPJZj7euwhm4OEg1ulpOouA+cfWlE9RFE8wyOK5SYwM
-k+nk31P9MUC866pZg/ghzBGDub91OW1+ZGEtqnLI/n/LhiAIWt0hJvgZclTc1cAL
-xffHVlFwoSyNl/nc3ueZCC95nOLst2XcuxZLLbOFtZCmDYsp49q/Jn6EFjn4Ge2o
-qp38z6eZgDMP1F4lb9nDqXPHfUSt2jxKlmpfXS+IPKdba67+EjhbtmUYzaR4EoPI
-zh+o6SrVWT6Yve7KGiYv06fuRz1m/lLQO/Arbd9ntSjgn+ZEXGOkbhnHUX3DJ4ny
-/6XEGB9NLQjern4uNTn0AaV+uvhncapFMaIBnVfq0Cw8eog0136PBYRaVX7T44j5
-HwIyGXWtYGA/SzDEQoksD0Y/T61BEGnLZaKeavNd82WwFvcYHZtE0J4aQGjCEE7N
-+nijzCy+j5ETmme9KJvQHpEyXP3N4RBko1eWvyTwFZDdIXtoa6TTEI51lm+FXJ/b
-Y+BzMr6KRo29FB+7//1ptUoMvn5hzL0PwOv2ZSTQuoG5hLDEbxWXLNhd1VHcfznF
-3EZHwfD2F8aGQ3kz+fkMTNfK955KorDrmLgvmV9eZZ5yQxGZrs5H5YfKpwKCAgEA
-6nSUbzfSdVFUH89NM5FmEJgkD06vqCgHl2mpyF+VmDGcay4K06eA4QbRO5kns13+
-n6PcBl/YVW/rNE8iFi+WxfqUpAjdR1HlShvTuTRVqtFTfuN8XhbYU6VMjKyuE0kd
-LKe3KRdwubjVNhXRZLBknU+3Y/4hnIR7mcE3/M5Zv5hjb7XnwWg/SzxV9WojCKiu
-vQ7cXhH5/o7EuKcl1d6vueGhWsRylCG9RimwgViR2H7zD9kpkOc0nNym9cSpb0Gv
-Lui4cf/fVwIt2HfNEGBjbM/83e2MH6b8Xp1fFAy0aXCdRtOo4LVOzJVAxn5dERMX
-4JJ4d5cSFbssDN1bITOKzuytfBqRIQGNkOfizgQNWUiaFI0MhEN/icymjm1ybOIh
-Gc9tzqKI4wP2X9g+u3+Oof1QaBcZ4UbZEU9ITN87Pa6XVJmpNx7A81BafWoEPFeE
-ahoO4XDwlHZazDuSlOseEShxXcVwaIiqySy7OBEPBVuYdEd2Qw/z3JTx9Kw8MKnf
-hu+ar5tz5dPnJIsvLeYCcJDe/K6loiZuHTtPbWEy9p6It7qubQNPBvTSBN5eVDKc
-Q2bTQNCx8SAAA9C5gJiwWoQKsXJzbRFRY77P9JjuGpua3YJ2nYBHEJmF+fp1R33c
-uHIyMphPMkKC4GC3/43kkMr6tck8kZbXGSYsLsBr2GkCggIBAJvvrjILQianzKcm
-zAmnI6AQ+ssYesvyyrxaraeZvSqJdlLtgmOCxVANuQt5IW9djUSWwZvGL4Np1aw0
-15k6UNqhftzsE7FnrVneOsww4WXXBUcV8FKz4Bf3i9qFswILmGzmrfSf8YczRfGS
-SJKzVPxwX3jwlrBmbx/pnb7dcLbFIbNcyLvl1ZJJu4BDMVRmgssTRp/5eExtQZg4
-//A4SA8wH7TO3yAMXvn8vrGgH8kfbdlEp88d1SYk3g4rP/rGB3A63NIYikIEzmJn
-ICQ3wUfPJnGq3kRMWgEuyCZaCy2oNE3yrWVPJ8z3/2MJ/79ZDVNHxEeki2o1FuW+
-+nGAPq+fZIp03iy4HdVRro7dgugtc9QaSHJtNId8V4vSjviX5Oz3FxUb9AJst58S
-nVV8Q2FMxBa/SlzSOkhRtCg2q1gXkzhaMnIVUleRZFGQ2uWBToxKMjcoUifIyN1J
-z999bkfI4hBLq5pRSAXz+YVu5SMKa10GaawIwJLat+i+1zboF6QyI2o/Wz8nrsNq
-KX/ajFGu5C94WFgsVoWKNI90KBLe48Ssje9c68waBlV/WHMg1YLvU3yqVDOV+K5c
-IHB9tPMnG+AgBYZPxSzuvnLrrkj/GeKx0WI7TrvzOLRGKJo6irMEJ8IzFegASRUq
-TVZKYQDYRG7m+lKlSxU+pyMAh2c9AoICAE4kavCip1eIssQjYLTGSkFPo/0iGbOv
-G9CgXAE3snFWX67tWphupKrbjdMSWcQTmPD2OTg6q6zWL4twsIi6dcMooHAHsFC7
-//LyUV/SDJdxSyXohiQJ8zH1zwy35RDydnHSuF5OvLh53T44iWDI1dAEqLgAFI3J
-LjTxzEpLMGiGTuYFt+ejai0WQAQayvBw4ESM9m+4CB2K0hBFTXv5y5HlnNTW0uWC
-VUZUUMrbjUieDz8B/zOXi9aYSGFzmZFGUDAPSqJcSMEELemPDF7f8WNr8vi42tIV
-4tlaFD1nep4F9bWMiCXU6B2RxVQi+7vcJEIqL1KUnGd3ydfD00K+ng4Xnj7Vz/cz
-QE7CqrpFaXmPlCMzW6+dm51/AyhHXDLkL2od05hiXcNkJ7KMLWRqwExHVIxM3shR
-x7lYNl3ArUsCrNd6m4aOjnrKFk7kjeLavHxskPccoGKrC9o0JMfTkWLgmuBJFQ0S
-N/HzIbcvIFWF0Ms4ojb50yp6ziXhXfJOO/0KUQEki71XIhvw89mVZszDzD5lqzjf
-HCZMBU4MbmL6NdEevFIDH0zPPkx3HPNtJt3kIJbit9wI8VhUMe+ldGnGxpWb8tKw
-SfM3vrHkYr+lizk26XfXMFhdAuVtT7dzQKSNEyP/1a2Hs307Xzgiv8JulJ8QIkrX
-/nsYWPOAGLG5AoICABmdW9Ppkvuhb1AEcjTWb+XCyopoBc6vit/uQWD9uO+CeX7a
-cfzq+iH01CAjyVMc4E1JDc5Lpi106U+GRGcAAaPJB2Sp5NznoxaOVrb71blu4Q4x
-bNjtKM/P/DXpO+yJYoOPdKtaSDhtnfNDM7H/jztJ3XIrOltKA7CcRDohbBWIx8Q0
-0uEpvfFpZZBco3yVmjP0RLgIVYn/ZDj9wGhSvFWIJ5vv6GXmtDrcHGMLxcfv7t76
-UVcMW/Yy4mYJRCzGOrWagyVijJ6MTVNciqadWcH1KcbB3EGoMFYMn61or2qJABPM
-xz89IlhnROU1Re3X/QRx5t86cw6oa+FqrWMOhSs31I0dNWSuS/xDympG27YIYSDd
-mv5seT78GjFmMJC5pPOLoXsbTPB0HpsX2/UL/w/eRAfilTOef/Cf9VE5MP/C2YR7
-NBxUU7/+21D6WvdtBTcZbrXWGroAo8zPP+PwX0+c6WoAvqDJvCPndp8xZhSgEJN/
-0kScptezi8n3ZHI95EA9U5mAHxHz0IhDDVzWw/z1f1SBPxKVX3+By3zaa3lrD2ch
-cHq7nBkX72veEevnHUY8Z2rHE2G2jdmRfOtwm4sjL0VBV9fRRoxzJWRduKyeOtDL
-EhhBhUoTrT48UnfW9hxnbNLB9P/hh+UJu9HrS2uAwHoGE1+8gcyundupGDBn
+MIICXgIBAAKBgQDF2kSVBncWIa+gxDzp+B0tlfljkIw/hrp3dkpSS2uvKfUcqtQ/
+PkKfbUa6hpCxLczbxjMVo/SvUzNPoVbRqjsmEPdktfm/G7FHjsym1g2qSnfjo2Od
+Ktxl9H+RFzgt1s1OjVNSl26H/GRgpqEArJZs5EKUdRdGb5G13QZH7QXj2wIDAQAB
+AoGBAJLCjh7Q9eLnx+QDzH9s+Q/IcH4nSbERmh1lFEopAc6j29qQ6PGkmDy0DUPs
+70VOCOh5A4mo3aZzm9sUfVb24/nRtmyTP/AtMuIVGCsUqzI28dJRGvRlY0aSQG/C
+ILqMP69kiMNGBvuyEIiJhisOmMvDFEp7HrrXHJM9qcc217DpAkEA4nzJ9yyy2e4O
+r6/D711hdfcU/F+ktXw+pL77kSSdTABUap92Uv2RL36UA4q5h8RNvq/GrzMNm6Ye
+u2IMvBCiTQJBAN+iRbiMJCSitTg5YVMluVbT87co7jbTqk7LN1ujyIFEklm4xlHG
+DLJNgEoDR7QJtAkL++FyogC4zsQsey5voscCQQCp54trTbDuI9QIoAaQrrDKWgz4
+NpfNPeOQm2UFQT5vIWAyjGWrZGViB8bp0UvVOcJI5nxaOiZfOYOcdrWu75uRAkAn
+67zMc9/j1lPJRJz2Dc7nDBD+ikTz7pcBV897AWLCiK4jbBOi91q+3YzgKXO8VNsZ
+nlUJasA2psbqSBJ5OJ5zAkEA2UxoMju54hASjT54Z92IzraVw4Vo8CYwOcw5fr7z
++m5xg1mmWdLBclmZ+WjARzDuTHIW6u/WCxNGg42AykWzfw==
-----END RSA PRIVATE KEY-----
diff --git a/mysql-test/suite.pm b/mysql-test/suite.pm
index 7f676b7ccfd..d80b4aaf822 100644
--- a/mysql-test/suite.pm
+++ b/mysql-test/suite.pm
@@ -9,9 +9,9 @@ sub skip_combinations {
# disable innodb/xtradb combinatons for configurations that were not built
push @combinations, 'innodb_plugin' unless $ENV{HA_INNODB_SO};
- # if something is compiled in, it's innodb. xtradb is MODULE_ONLY:
- push @combinations, 'innodb' unless $::mysqld_variables{'innodb'} eq "ON";
- push @combinations, 'xtradb';
+ # if something is compiled in, it's xtradb. innodb is MODULE_ONLY:
+ push @combinations, 'xtradb' unless $::mysqld_variables{'innodb'} eq "ON";
+ push @combinations, 'innodb';
# XtraDB is RECOMPILE_FOR_EMBEDDED, ha_xtradb.so cannot work with embedded server
push @combinations, 'xtradb_plugin' if not $ENV{HA_XTRADB_SO}
@@ -43,10 +43,14 @@ sub skip_combinations {
unless $::mysqld_variables{'innodb'} eq "ON";
# disable tests that use ipv6, if unsupported
- use Socket;
- $skip{'include/check_ipv6.inc'} = 'No IPv6'
- unless socket SOCK, PF_INET6, SOCK_STREAM, getprotobyname('tcp');
- close SOCK;
+ sub ipv6_ok() {
+ use Socket;
+ return 0 unless socket my $sock, PF_INET6, SOCK_STREAM, getprotobyname('tcp');
+ # eval{}, if there's no Socket::sockaddr_in6 at all, old Perl installation
+ eval { connect $sock, sockaddr_in6(7, Socket::IN6ADDR_LOOPBACK) };
+ return $! != 101;
+ }
+ $skip{'include/check_ipv6.inc'} = 'No IPv6' unless ipv6_ok();
%skip;
}
diff --git a/mysql-test/suite/archive/archive_no_symlink-master.opt b/mysql-test/suite/archive/archive_no_symlink-master.opt
new file mode 100644
index 00000000000..c7844699cdb
--- /dev/null
+++ b/mysql-test/suite/archive/archive_no_symlink-master.opt
@@ -0,0 +1 @@
+--skip-symbolic-links
diff --git a/mysql-test/suite/archive/archive_no_symlink.result b/mysql-test/suite/archive/archive_no_symlink.result
new file mode 100644
index 00000000000..9ee114ae90f
--- /dev/null
+++ b/mysql-test/suite/archive/archive_no_symlink.result
@@ -0,0 +1,26 @@
+#
+# This test shows that DATA DIRECTORY and INDEX DIRECTORY are
+# ignored where symbolic links are not supported such as Windows.
+#
+CREATE TABLE t1 (
+c1 int(10) unsigned NOT NULL AUTO_INCREMENT,
+c2 varchar(30) NOT NULL,
+c3 smallint(5) unsigned DEFAULT NULL,
+PRIMARY KEY (c1))
+ENGINE = archive
+DATA DIRECTORY = 'MYSQL_TMP_DIR/archive' INDEX DIRECTORY = 'MYSQL_TMP_DIR/archive';
+Warnings:
+Warning 1618 <DATA DIRECTORY> option ignored
+Warning 1618 <INDEX DIRECTORY> option ignored
+INSERT INTO t1 VALUES (NULL, "first", 1);
+INSERT INTO t1 VALUES (NULL, "second", 2);
+INSERT INTO t1 VALUES (NULL, "third", 3);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `c2` varchar(30) NOT NULL,
+ `c3` smallint(5) unsigned DEFAULT NULL,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=4 DEFAULT CHARSET=latin1
+DROP TABLE t1;
diff --git a/mysql-test/suite/archive/archive_no_symlink.test b/mysql-test/suite/archive/archive_no_symlink.test
new file mode 100644
index 00000000000..737b8444007
--- /dev/null
+++ b/mysql-test/suite/archive/archive_no_symlink.test
@@ -0,0 +1,26 @@
+# Test archive engine when symbolic links are not available.
+--source include/have_archive.inc
+
+--echo #
+--echo # This test shows that DATA DIRECTORY and INDEX DIRECTORY are
+--echo # ignored where symbolic links are not supported such as Windows.
+--echo #
+
+let $data_directory = DATA DIRECTORY = '$MYSQL_TMP_DIR/archive';
+let $index_directory = INDEX DIRECTORY = '$MYSQL_TMP_DIR/archive';
+
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+eval CREATE TABLE t1 (
+ c1 int(10) unsigned NOT NULL AUTO_INCREMENT,
+ c2 varchar(30) NOT NULL,
+ c3 smallint(5) unsigned DEFAULT NULL,
+ PRIMARY KEY (c1))
+ENGINE = archive
+$data_directory $index_directory;
+
+INSERT INTO t1 VALUES (NULL, "first", 1);
+INSERT INTO t1 VALUES (NULL, "second", 2);
+INSERT INTO t1 VALUES (NULL, "third", 3);
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
diff --git a/mysql-test/suite/archive/archive_symlink.result b/mysql-test/suite/archive/archive_symlink.result
new file mode 100644
index 00000000000..de5c4c071d6
--- /dev/null
+++ b/mysql-test/suite/archive/archive_symlink.result
@@ -0,0 +1,57 @@
+#
+# Archive can only use an existing directory for DATA DIRECTORY.
+#
+CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ENGINE archive DATA DIRECTORY = 'MYSQL_TMP_DIR/archive' INDEX DIRECTORY = 'MYSQL_TMP_DIR/archive';
+ERROR HY000: Can't create table `test`.`t1` (errno: 2 "No such file or directory")
+#
+# mkdir MYSQL_TMP_DIR/archive and try again...
+# Archive will use a symlink for DATA DIRECTORY but ignore INDEX DIRECTORY.
+#
+CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ENGINE archive DATA DIRECTORY = 'MYSQL_TMP_DIR/archive' INDEX DIRECTORY = 'MYSQL_TMP_DIR/archive';
+Warnings:
+Warning 1618 <INDEX DIRECTORY> option ignored
+INSERT INTO t1 VALUES (NULL, "blue");
+INSERT INTO t1 VALUES (NULL, "red");
+INSERT INTO t1 VALUES (NULL, "yellow");
+# Checking if archive file exists where we specified in DATA DIRECTORY
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) NOT NULL AUTO_INCREMENT,
+ `b` char(30) DEFAULT NULL,
+ PRIMARY KEY (`a`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 DATA DIRECTORY='MYSQL_TMP_DIR/archive/'
+DROP TABLE t1;
+#
+# Be sure SQL MODE "NO_DIR_IN_CREATE" prevents the use of DATA DIRECTORY
+#
+SET @org_mode=@@sql_mode;
+SET @@sql_mode='NO_DIR_IN_CREATE';
+SELECT @@sql_mode;
+@@sql_mode
+NO_DIR_IN_CREATE
+CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ENGINE archive DATA DIRECTORY = 'MYSQL_TMP_DIR/archive';
+Warnings:
+Warning 1618 <DATA DIRECTORY> option ignored
+INSERT INTO t1 VALUES (NULL, "blue");
+INSERT INTO t1 VALUES (NULL, "red");
+INSERT INTO t1 VALUES (NULL, "yellow");
+# Checking if archive file exists in --datadir since DATA DIRECTORY was ignored.
+DROP TABLE t1;
+set @@sql_mode=@org_mode;
+#
+# MySQL engine does not allow DATA DIRECTORY to be
+# within --datadir for any engine, including Archive
+#
+CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ENGINE archive DATA DIRECTORY 'MYSQLD_DATADIR/test';
+ERROR HY000: Incorrect arguments to DATA DIRECTORY
+CREATE TABLE t1 (c1 int(10), PRIMARY KEY (c1))
+ENGINE archive INDEX DIRECTORY 'MYSQLD_DATADIR/test';
+ERROR HY000: Incorrect arguments to INDEX DIRECTORY
+#
+# Cleanup
+#
diff --git a/mysql-test/suite/archive/archive_symlink.test b/mysql-test/suite/archive/archive_symlink.test
new file mode 100644
index 00000000000..1c79e153146
--- /dev/null
+++ b/mysql-test/suite/archive/archive_symlink.test
@@ -0,0 +1,72 @@
+# Test archive engine when symbolic links are available.
+--source include/not_windows.inc
+--source include/have_archive.inc
+
+# DATA DIRECTORY/INDEX DIRECTORY require symbolic link support
+--source include/have_symlink.inc
+
+let $MYSQLD_DATADIR= `select @@datadir`;
+let $data_directory = DATA DIRECTORY = '$MYSQL_TMP_DIR/archive';
+let $index_directory = INDEX DIRECTORY = '$MYSQL_TMP_DIR/archive';
+
+--echo #
+--echo # Archive can only use an existing directory for DATA DIRECTORY.
+--echo #
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+--error ER_CANT_CREATE_TABLE
+eval CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ ENGINE archive $data_directory $index_directory;
+
+--echo #
+--echo # mkdir MYSQL_TMP_DIR/archive and try again...
+--echo # Archive will use a symlink for DATA DIRECTORY but ignore INDEX DIRECTORY.
+--echo #
+--mkdir $MYSQL_TMP_DIR/archive
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+eval CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ ENGINE archive $data_directory $index_directory;
+INSERT INTO t1 VALUES (NULL, "blue");
+INSERT INTO t1 VALUES (NULL, "red");
+INSERT INTO t1 VALUES (NULL, "yellow");
+--echo # Checking if archive file exists where we specified in DATA DIRECTORY
+--file_exists $MYSQL_TMP_DIR/archive/t1.ARZ
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
+--echo #
+--echo # Be sure SQL MODE "NO_DIR_IN_CREATE" prevents the use of DATA DIRECTORY
+--echo #
+SET @org_mode=@@sql_mode;
+SET @@sql_mode='NO_DIR_IN_CREATE';
+SELECT @@sql_mode;
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+eval CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ ENGINE archive $data_directory;
+INSERT INTO t1 VALUES (NULL, "blue");
+INSERT INTO t1 VALUES (NULL, "red");
+INSERT INTO t1 VALUES (NULL, "yellow");
+--echo # Checking if archive file exists in --datadir since DATA DIRECTORY was ignored.
+--file_exists $MYSQLD_DATADIR/test/t1.ARZ
+DROP TABLE t1;
+set @@sql_mode=@org_mode;
+
+--echo #
+--echo # MySQL engine does not allow DATA DIRECTORY to be
+--echo # within --datadir for any engine, including Archive
+--echo #
+--replace_result $MYSQLD_DATADIR MYSQLD_DATADIR
+--error ER_WRONG_ARGUMENTS
+eval CREATE TABLE t1 (a int AUTO_INCREMENT KEY, b char(30))
+ ENGINE archive DATA DIRECTORY '$MYSQLD_DATADIR/test';
+
+--replace_result $MYSQLD_DATADIR MYSQLD_DATADIR
+--error ER_WRONG_ARGUMENTS
+eval CREATE TABLE t1 (c1 int(10), PRIMARY KEY (c1))
+ENGINE archive INDEX DIRECTORY '$MYSQLD_DATADIR/test';
+
+--echo #
+--echo # Cleanup
+--echo #
+--rmdir $MYSQL_TMP_DIR/archive
+
diff --git a/mysql-test/suite/archive/discover.result b/mysql-test/suite/archive/discover.result
index c4f4bb4104f..e1ca9cb6a65 100644
--- a/mysql-test/suite/archive/discover.result
+++ b/mysql-test/suite/archive/discover.result
@@ -135,4 +135,7 @@ select * from t1;
a
flush tables;
create table t1 (a int) engine=archive;
+flush tables;
+create table t1 (a int) engine=archive;
+ERROR 42S01: Table 't1' already exists
drop table t1;
diff --git a/mysql-test/suite/archive/discover.test b/mysql-test/suite/archive/discover.test
index 8dfe09f7b33..20cb69efa00 100644
--- a/mysql-test/suite/archive/discover.test
+++ b/mysql-test/suite/archive/discover.test
@@ -126,5 +126,9 @@ select * from t1;
flush tables;
remove_file $mysqld_datadir/test/t1.ARZ;
create table t1 (a int) engine=archive;
+remove_file $mysqld_datadir/test/t1.frm;
+flush tables;
+--error ER_TABLE_EXISTS_ERROR
+create table t1 (a int) engine=archive;
drop table t1;
diff --git a/mysql-test/suite/binlog/r/binlog_checkpoint.result b/mysql-test/suite/binlog/r/binlog_checkpoint.result
index 8a57b26ebb0..2ce9ed760f5 100644
--- a/mysql-test/suite/binlog/r/binlog_checkpoint.result
+++ b/mysql-test/suite/binlog/r/binlog_checkpoint.result
@@ -115,3 +115,4 @@ master-bin.000006 #
DROP TABLE t1, t2;
SET GLOBAL max_binlog_size= @old_max_binlog_size;
SET GLOBAL innodb_flush_log_at_trx_commit= @old_innodb_flush_log_at_trx_commit;
+SET debug_sync = 'reset';
diff --git a/mysql-test/suite/binlog/t/binlog_checkpoint.test b/mysql-test/suite/binlog/t/binlog_checkpoint.test
index 4fa40b23547..356f860af32 100644
--- a/mysql-test/suite/binlog/t/binlog_checkpoint.test
+++ b/mysql-test/suite/binlog/t/binlog_checkpoint.test
@@ -143,3 +143,4 @@ INSERT INTO t1 VALUES (31, REPEAT("x", 4100));
DROP TABLE t1, t2;
SET GLOBAL max_binlog_size= @old_max_binlog_size;
SET GLOBAL innodb_flush_log_at_trx_commit= @old_innodb_flush_log_at_trx_commit;
+SET debug_sync = 'reset';
diff --git a/mysql-test/suite/binlog/t/binlog_row_mysqlbinlog_options.test b/mysql-test/suite/binlog/t/binlog_row_mysqlbinlog_options.test
index c1756b22eab..daf4969be85 100644
--- a/mysql-test/suite/binlog/t/binlog_row_mysqlbinlog_options.test
+++ b/mysql-test/suite/binlog/t/binlog_row_mysqlbinlog_options.test
@@ -45,8 +45,8 @@ INSERT INTO t3 VALUES (1),(2);
INSERT INTO test1.t1 VALUES (3,3);
USE test1;
-LOAD DATA INFILE '../../std_data/loaddata7.dat' INTO TABLE t1
- FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n';
+LOAD DATA INFILE '../../std_data/loaddata7.dat' INTO TABLE t1
+ FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n';
DELETE FROM test3.t3 WHERE a=1;
flush logs;
diff --git a/mysql-test/suite/csv/csv.result b/mysql-test/suite/csv/csv.result
index fc6aab530c7..8d497f52b31 100644
--- a/mysql-test/suite/csv/csv.result
+++ b/mysql-test/suite/csv/csv.result
@@ -5485,3 +5485,11 @@ SELECT * FROM t1;
ERROR HY000: Table 't1' is marked as crashed and should be repaired
DROP TABLE t1;
End of 5.1 tests
+#
+# MDEV-5612 - my_rename() deletes files when it shouldn't
+#
+CREATE TABLE t1(a INT NOT NULL) ENGINE=CSV;
+RENAME TABLE t1 TO t2;
+SELECT * FROM t2;
+a
+DROP TABLE t2;
diff --git a/mysql-test/suite/csv/csv.test b/mysql-test/suite/csv/csv.test
index 768a21912a2..90617d06599 100644
--- a/mysql-test/suite/csv/csv.test
+++ b/mysql-test/suite/csv/csv.test
@@ -1917,3 +1917,12 @@ SELECT * FROM t1;
DROP TABLE t1;
--echo End of 5.1 tests
+
+--echo #
+--echo # MDEV-5612 - my_rename() deletes files when it shouldn't
+--echo #
+CREATE TABLE t1(a INT NOT NULL) ENGINE=CSV;
+move_file $MYSQLD_DATADIR/test/t1.CSV $MYSQLD_DATADIR/test/t2.CSV;
+RENAME TABLE t1 TO t2;
+SELECT * FROM t2;
+DROP TABLE t2;
diff --git a/mysql-test/suite/federated/federated.test b/mysql-test/suite/federated/federated.test
index cb14dc2a239..0cb0551d23e 100644
--- a/mysql-test/suite/federated/federated.test
+++ b/mysql-test/suite/federated/federated.test
@@ -6,6 +6,7 @@ connection master;
#
--error 1
CREATE TABLE t1 (a INT) ENGINE=FEDERATED CONNECTION='non_existing';
+--replace_result "Not owner" "Operation not permitted"
SHOW WARNINGS;
#
diff --git a/mysql-test/suite/federated/federated_maybe_16324629.result b/mysql-test/suite/federated/federated_maybe_16324629.result
new file mode 100644
index 00000000000..b1dd8097cac
--- /dev/null
+++ b/mysql-test/suite/federated/federated_maybe_16324629.result
@@ -0,0 +1,16 @@
+CREATE DATABASE federated;
+CREATE DATABASE federated;
+create table federated.t1 (a int, b int, unique key (a), key (b));
+create table t1 (a int, b int, unique key (a), key (b))
+engine=federated CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
+insert into t1 values (3, 3), (7, 7);
+delete t1 from t1 where a = 3;
+select * from t1;
+a b
+3 3
+7 7
+drop table t1;
+DROP TABLE IF EXISTS federated.t1;
+DROP DATABASE IF EXISTS federated;
+DROP TABLE IF EXISTS federated.t1;
+DROP DATABASE IF EXISTS federated;
diff --git a/mysql-test/suite/federated/federated_maybe_16324629.test b/mysql-test/suite/federated/federated_maybe_16324629.test
new file mode 100644
index 00000000000..53d79e70c80
--- /dev/null
+++ b/mysql-test/suite/federated/federated_maybe_16324629.test
@@ -0,0 +1,23 @@
+#
+# Inspired by a bug fix for internal Oracle MySQL bug#16324629
+#
+source include/federated.inc;
+
+connection slave;
+create table federated.t1 (a int, b int, unique key (a), key (b));
+
+connection master;
+
+--replace_result $SLAVE_MYPORT SLAVE_PORT
+eval create table t1 (a int, b int, unique key (a), key (b))
+ engine=federated CONNECTION='mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/t1';
+
+insert into t1 values (3, 3), (7, 7);
+delete t1 from t1 where a = 3;
+select * from t1;
+drop table t1;
+
+connection slave;
+connection default;
+source include/federated_cleanup.inc;
+
diff --git a/mysql-test/suite/funcs_1/r/innodb_func_view.result b/mysql-test/suite/funcs_1/r/innodb_func_view.result
index 9cf63fb355c..2b98bc704d5 100644
--- a/mysql-test/suite/funcs_1/r/innodb_func_view.result
+++ b/mysql-test/suite/funcs_1/r/innodb_func_view.result
@@ -1,3 +1,4 @@
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
DROP TABLE IF EXISTS t1_selects, t1_modes, t1_values;
DROP VIEW IF EXISTS v1;
CREATE TABLE t1_values
@@ -3936,12 +3937,10 @@ my_time, id FROM t1_values
WHERE select_id = 46 OR select_id IS NULL order by id;
CAST(my_time AS DATETIME) my_time id
NULL NULL 1
-NULL -838:59:59 2
-0000-01-03 22:59:59 838:59:59 3
-0000-00-00 13:00:00 13:00:00 4
-0000-00-00 10:00:00 10:00:00 5
-Warnings:
-Warning 1292 Truncated incorrect datetime value: '-838:59:59'
+2000-12-30 01:00:01 -838:59:59 2
+2001-03-09 22:59:59 838:59:59 3
+2001-02-03 13:00:00 13:00:00 4
+2001-02-03 10:00:00 10:00:00 5
SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_time` as datetime) AS `CAST(my_time AS DATETIME)`,`t1_values`.`my_time` AS `my_time`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@@ -3950,12 +3949,10 @@ WHERE v1.id IN (SELECT id FROM t1_values
WHERE select_id = 46 OR select_id IS NULL) order by id;
CAST(my_time AS DATETIME) my_time id
NULL NULL 1
-NULL -838:59:59 2
-0000-01-03 22:59:59 838:59:59 3
-0000-00-00 13:00:00 13:00:00 4
-0000-00-00 10:00:00 10:00:00 5
-Warnings:
-Warning 1292 Truncated incorrect datetime value: '-838:59:59'
+2000-12-30 01:00:01 -838:59:59 2
+2001-03-09 22:59:59 838:59:59 3
+2001-02-03 13:00:00 13:00:00 4
+2001-02-03 10:00:00 10:00:00 5
DROP VIEW v1;
@@ -4302,10 +4299,10 @@ my_time, id FROM t1_values
WHERE select_id = 35 OR select_id IS NULL order by id;
CAST(my_time AS DATE) my_time id
NULL NULL 1
-0000-00-00 -838:59:59 2
-0000-00-00 838:59:59 3
-0000-00-00 13:00:00 4
-0000-00-00 10:00:00 5
+2000-12-30 -838:59:59 2
+2001-03-09 838:59:59 3
+2001-02-03 13:00:00 4
+2001-02-03 10:00:00 5
SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_time` as date) AS `CAST(my_time AS DATE)`,`t1_values`.`my_time` AS `my_time`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@@ -4314,10 +4311,10 @@ WHERE v1.id IN (SELECT id FROM t1_values
WHERE select_id = 35 OR select_id IS NULL) order by id;
CAST(my_time AS DATE) my_time id
NULL NULL 1
-0000-00-00 -838:59:59 2
-0000-00-00 838:59:59 3
-0000-00-00 13:00:00 4
-0000-00-00 10:00:00 5
+2000-12-30 -838:59:59 2
+2001-03-09 838:59:59 3
+2001-02-03 13:00:00 4
+2001-02-03 10:00:00 5
DROP VIEW v1;
@@ -5280,3 +5277,4 @@ DROP VIEW v1;
DROP TABLE t1_selects, t1_modes, t1_values;
+SET timestamp=DEFAULT;
diff --git a/mysql-test/suite/funcs_1/r/innodb_views.result b/mysql-test/suite/funcs_1/r/innodb_views.result
index 96b6d3171f0..e7523922154 100644
--- a/mysql-test/suite/funcs_1/r/innodb_views.result
+++ b/mysql-test/suite/funcs_1/r/innodb_views.result
@@ -7579,7 +7579,7 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
SELECT * FROM test.tb2 limit 2' at line 1
CREATE OR REPLACE TEMPORARY VIEW test.v1 AS
SELECT * FROM test.tb2 limit 2 ;
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TEMPORARY VIEW test.v1 AS
+ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'VIEW test.v1 AS
SELECT * FROM test.tb2 limit 2' at line 1
Drop view if exists test.v1 ;
Use test;
@@ -21307,7 +21307,7 @@ CREATE TABLE t1 ( f1 VARCHAR(1000) ) ENGINE = innodb ;
CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW v1;
DROP VIEW v1;
-ERROR 42S02: Unknown table 'v1'
+ERROR 42S02: Unknown table 'test.v1'
CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW IF EXISTS v1;
DROP VIEW IF EXISTS v1;
@@ -21324,31 +21324,31 @@ CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top CASCADE ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base CASCADE ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top RESTRICT ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base RESTRICT ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
Testcase 3.3.1.69, 3.3.1.70, 3.3.1.A5
diff --git a/mysql-test/suite/funcs_1/r/is_columns_is.result b/mysql-test/suite/funcs_1/r/is_columns_is.result
index 6d79be772cb..8f2f81a4616 100644
--- a/mysql-test/suite/funcs_1/r/is_columns_is.result
+++ b/mysql-test/suite/funcs_1/r/is_columns_is.result
@@ -429,20 +429,6 @@ def information_schema VIEWS TABLE_CATALOG 1 NO varchar 512 1536 NULL NULL NULL
def information_schema VIEWS TABLE_NAME 3 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
def information_schema VIEWS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
def information_schema VIEWS VIEW_DEFINITION 4 NULL NO longtext 4294967295 4294967295 NULL NULL NULL utf8 utf8_general_ci longtext select
-def information_schema XTRADB_INTERNAL_HASH_TABLES CONSTANT_MEMORY 3 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME 1 NO varchar 100 300 NULL NULL NULL utf8 utf8_general_ci varchar(100) select
-def information_schema XTRADB_INTERNAL_HASH_TABLES TOTAL_MEMORY 2 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_INTERNAL_HASH_TABLES VARIABLE_MEMORY 4 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_ID 4 NO varchar 18 54 NULL NULL NULL utf8 utf8_general_ci varchar(18) select
-def information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_NUMBER 2 NO varchar 18 54 NULL NULL NULL utf8 utf8_general_ci varchar(18) select
-def information_schema XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER 1 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_READ_VIEW READ_VIEW_UPPER_LIMIT_TRX_ID 3 NO varchar 18 54 NULL NULL NULL utf8 utf8_general_ci varchar(18) select
-def information_schema XTRADB_RSEG curr_size 6 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_RSEG max_size 5 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_RSEG page_no 4 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_RSEG rseg_id 1 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_RSEG space_id 2 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
-def information_schema XTRADB_RSEG zip_size 3 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
##########################################################################
# Show the quotient of CHARACTER_OCTET_LENGTH and CHARACTER_MAXIMUM_LENGTH
##########################################################################
@@ -930,17 +916,3 @@ NULL information_schema USER_STATISTICS EMPTY_QUERIES bigint NULL NULL NULL NULL
3.0000 information_schema VIEWS SECURITY_TYPE varchar 7 21 utf8 utf8_general_ci varchar(7)
3.0000 information_schema VIEWS CHARACTER_SET_CLIENT varchar 32 96 utf8 utf8_general_ci varchar(32)
3.0000 information_schema VIEWS COLLATION_CONNECTION varchar 32 96 utf8 utf8_general_ci varchar(32)
-3.0000 information_schema XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME varchar 100 300 utf8 utf8_general_ci varchar(100)
-NULL information_schema XTRADB_INTERNAL_HASH_TABLES TOTAL_MEMORY bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_INTERNAL_HASH_TABLES CONSTANT_MEMORY bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_INTERNAL_HASH_TABLES VARIABLE_MEMORY bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER bigint NULL NULL NULL NULL bigint(21) unsigned
-3.0000 information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_NUMBER varchar 18 54 utf8 utf8_general_ci varchar(18)
-3.0000 information_schema XTRADB_READ_VIEW READ_VIEW_UPPER_LIMIT_TRX_ID varchar 18 54 utf8 utf8_general_ci varchar(18)
-3.0000 information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_ID varchar 18 54 utf8 utf8_general_ci varchar(18)
-NULL information_schema XTRADB_RSEG rseg_id bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_RSEG space_id bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_RSEG zip_size bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_RSEG page_no bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_RSEG max_size bigint NULL NULL NULL NULL bigint(21) unsigned
-NULL information_schema XTRADB_RSEG curr_size bigint NULL NULL NULL NULL bigint(21) unsigned
diff --git a/mysql-test/suite/funcs_1/r/memory_func_view.result b/mysql-test/suite/funcs_1/r/memory_func_view.result
index 5d12796c46e..43516edc70a 100644
--- a/mysql-test/suite/funcs_1/r/memory_func_view.result
+++ b/mysql-test/suite/funcs_1/r/memory_func_view.result
@@ -1,4 +1,5 @@
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
DROP TABLE IF EXISTS t1_selects, t1_modes, t1_values;
DROP VIEW IF EXISTS v1;
CREATE TABLE t1_values
@@ -3937,12 +3938,10 @@ my_time, id FROM t1_values
WHERE select_id = 46 OR select_id IS NULL order by id;
CAST(my_time AS DATETIME) my_time id
NULL NULL 1
-NULL -838:59:59 2
-0000-01-03 22:59:59 838:59:59 3
-0000-00-00 13:00:00 13:00:00 4
-0000-00-00 10:00:00 10:00:00 5
-Warnings:
-Warning 1292 Truncated incorrect datetime value: '-838:59:59'
+2000-12-30 01:00:01 -838:59:59 2
+2001-03-09 22:59:59 838:59:59 3
+2001-02-03 13:00:00 13:00:00 4
+2001-02-03 10:00:00 10:00:00 5
SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_time` as datetime) AS `CAST(my_time AS DATETIME)`,`t1_values`.`my_time` AS `my_time`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@@ -3951,12 +3950,10 @@ WHERE v1.id IN (SELECT id FROM t1_values
WHERE select_id = 46 OR select_id IS NULL) order by id;
CAST(my_time AS DATETIME) my_time id
NULL NULL 1
-NULL -838:59:59 2
-0000-01-03 22:59:59 838:59:59 3
-0000-00-00 13:00:00 13:00:00 4
-0000-00-00 10:00:00 10:00:00 5
-Warnings:
-Warning 1292 Truncated incorrect datetime value: '-838:59:59'
+2000-12-30 01:00:01 -838:59:59 2
+2001-03-09 22:59:59 838:59:59 3
+2001-02-03 13:00:00 13:00:00 4
+2001-02-03 10:00:00 10:00:00 5
DROP VIEW v1;
@@ -4303,10 +4300,10 @@ my_time, id FROM t1_values
WHERE select_id = 35 OR select_id IS NULL order by id;
CAST(my_time AS DATE) my_time id
NULL NULL 1
-0000-00-00 -838:59:59 2
-0000-00-00 838:59:59 3
-0000-00-00 13:00:00 4
-0000-00-00 10:00:00 5
+2000-12-30 -838:59:59 2
+2001-03-09 838:59:59 3
+2001-02-03 13:00:00 4
+2001-02-03 10:00:00 5
SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_time` as date) AS `CAST(my_time AS DATE)`,`t1_values`.`my_time` AS `my_time`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@@ -4315,10 +4312,10 @@ WHERE v1.id IN (SELECT id FROM t1_values
WHERE select_id = 35 OR select_id IS NULL) order by id;
CAST(my_time AS DATE) my_time id
NULL NULL 1
-0000-00-00 -838:59:59 2
-0000-00-00 838:59:59 3
-0000-00-00 13:00:00 4
-0000-00-00 10:00:00 5
+2000-12-30 -838:59:59 2
+2001-03-09 838:59:59 3
+2001-02-03 13:00:00 4
+2001-02-03 10:00:00 5
DROP VIEW v1;
@@ -5281,3 +5278,4 @@ DROP VIEW v1;
DROP TABLE t1_selects, t1_modes, t1_values;
+SET timestamp=DEFAULT;
diff --git a/mysql-test/suite/funcs_1/r/memory_views.result b/mysql-test/suite/funcs_1/r/memory_views.result
index ddde31b76d1..9f8ec11a7d8 100644
--- a/mysql-test/suite/funcs_1/r/memory_views.result
+++ b/mysql-test/suite/funcs_1/r/memory_views.result
@@ -7580,7 +7580,7 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
SELECT * FROM test.tb2 limit 2' at line 1
CREATE OR REPLACE TEMPORARY VIEW test.v1 AS
SELECT * FROM test.tb2 limit 2 ;
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TEMPORARY VIEW test.v1 AS
+ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'VIEW test.v1 AS
SELECT * FROM test.tb2 limit 2' at line 1
Drop view if exists test.v1 ;
Use test;
@@ -21309,7 +21309,7 @@ CREATE TABLE t1 ( f1 VARCHAR(1000) ) ENGINE = memory ;
CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW v1;
DROP VIEW v1;
-ERROR 42S02: Unknown table 'v1'
+ERROR 42S02: Unknown table 'test.v1'
CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW IF EXISTS v1;
DROP VIEW IF EXISTS v1;
@@ -21326,31 +21326,31 @@ CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top CASCADE ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base CASCADE ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top RESTRICT ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base RESTRICT ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
Testcase 3.3.1.69, 3.3.1.70, 3.3.1.A5
diff --git a/mysql-test/suite/funcs_1/r/myisam_func_view.result b/mysql-test/suite/funcs_1/r/myisam_func_view.result
index 5d12796c46e..43516edc70a 100644
--- a/mysql-test/suite/funcs_1/r/myisam_func_view.result
+++ b/mysql-test/suite/funcs_1/r/myisam_func_view.result
@@ -1,4 +1,5 @@
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
DROP TABLE IF EXISTS t1_selects, t1_modes, t1_values;
DROP VIEW IF EXISTS v1;
CREATE TABLE t1_values
@@ -3937,12 +3938,10 @@ my_time, id FROM t1_values
WHERE select_id = 46 OR select_id IS NULL order by id;
CAST(my_time AS DATETIME) my_time id
NULL NULL 1
-NULL -838:59:59 2
-0000-01-03 22:59:59 838:59:59 3
-0000-00-00 13:00:00 13:00:00 4
-0000-00-00 10:00:00 10:00:00 5
-Warnings:
-Warning 1292 Truncated incorrect datetime value: '-838:59:59'
+2000-12-30 01:00:01 -838:59:59 2
+2001-03-09 22:59:59 838:59:59 3
+2001-02-03 13:00:00 13:00:00 4
+2001-02-03 10:00:00 10:00:00 5
SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_time` as datetime) AS `CAST(my_time AS DATETIME)`,`t1_values`.`my_time` AS `my_time`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@@ -3951,12 +3950,10 @@ WHERE v1.id IN (SELECT id FROM t1_values
WHERE select_id = 46 OR select_id IS NULL) order by id;
CAST(my_time AS DATETIME) my_time id
NULL NULL 1
-NULL -838:59:59 2
-0000-01-03 22:59:59 838:59:59 3
-0000-00-00 13:00:00 13:00:00 4
-0000-00-00 10:00:00 10:00:00 5
-Warnings:
-Warning 1292 Truncated incorrect datetime value: '-838:59:59'
+2000-12-30 01:00:01 -838:59:59 2
+2001-03-09 22:59:59 838:59:59 3
+2001-02-03 13:00:00 13:00:00 4
+2001-02-03 10:00:00 10:00:00 5
DROP VIEW v1;
@@ -4303,10 +4300,10 @@ my_time, id FROM t1_values
WHERE select_id = 35 OR select_id IS NULL order by id;
CAST(my_time AS DATE) my_time id
NULL NULL 1
-0000-00-00 -838:59:59 2
-0000-00-00 838:59:59 3
-0000-00-00 13:00:00 4
-0000-00-00 10:00:00 5
+2000-12-30 -838:59:59 2
+2001-03-09 838:59:59 3
+2001-02-03 13:00:00 4
+2001-02-03 10:00:00 5
SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_time` as date) AS `CAST(my_time AS DATE)`,`t1_values`.`my_time` AS `my_time`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@@ -4315,10 +4312,10 @@ WHERE v1.id IN (SELECT id FROM t1_values
WHERE select_id = 35 OR select_id IS NULL) order by id;
CAST(my_time AS DATE) my_time id
NULL NULL 1
-0000-00-00 -838:59:59 2
-0000-00-00 838:59:59 3
-0000-00-00 13:00:00 4
-0000-00-00 10:00:00 5
+2000-12-30 -838:59:59 2
+2001-03-09 838:59:59 3
+2001-02-03 13:00:00 4
+2001-02-03 10:00:00 5
DROP VIEW v1;
@@ -5281,3 +5278,4 @@ DROP VIEW v1;
DROP TABLE t1_selects, t1_modes, t1_values;
+SET timestamp=DEFAULT;
diff --git a/mysql-test/suite/funcs_1/r/myisam_views-big.result b/mysql-test/suite/funcs_1/r/myisam_views-big.result
index 39782f8d2c5..9f5adc15b7f 100644
--- a/mysql-test/suite/funcs_1/r/myisam_views-big.result
+++ b/mysql-test/suite/funcs_1/r/myisam_views-big.result
@@ -8400,7 +8400,7 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
SELECT * FROM test.tb2 limit 2' at line 1
CREATE OR REPLACE TEMPORARY VIEW test.v1 AS
SELECT * FROM test.tb2 limit 2 ;
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TEMPORARY VIEW test.v1 AS
+ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'VIEW test.v1 AS
SELECT * FROM test.tb2 limit 2' at line 1
Drop view if exists test.v1 ;
Use test;
@@ -22984,7 +22984,7 @@ CREATE TABLE t1 ( f1 VARCHAR(1000) ) ENGINE = myisam ;
CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW v1;
DROP VIEW v1;
-ERROR 42S02: Unknown table 'v1'
+ERROR 42S02: Unknown table 'test.v1'
CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW IF EXISTS v1;
DROP VIEW IF EXISTS v1;
@@ -23001,31 +23001,31 @@ CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top CASCADE ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base CASCADE ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
CREATE VIEW v1_base AS SELECT * FROM t1;
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_top RESTRICT ;
DROP VIEW v1_top;
-ERROR 42S02: Unknown table 'v1_top'
+ERROR 42S02: Unknown table 'test.v1_top'
CREATE VIEW v1_top AS SELECT * FROM v1_base;
DROP VIEW v1_base RESTRICT ;
DROP VIEW v1_base;
-ERROR 42S02: Unknown table 'v1_base'
+ERROR 42S02: Unknown table 'test.v1_base'
DROP VIEW v1_top;
Testcase 3.3.1.69, 3.3.1.70, 3.3.1.A5
diff --git a/mysql-test/suite/funcs_1/views/func_view.inc b/mysql-test/suite/funcs_1/views/func_view.inc
index 1dba96f6901..c26f21945c3 100644
--- a/mysql-test/suite/funcs_1/views/func_view.inc
+++ b/mysql-test/suite/funcs_1/views/func_view.inc
@@ -151,6 +151,8 @@
#
#
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
+
--disable_warnings
DROP TABLE IF EXISTS t1_selects, t1_modes, t1_values;
DROP VIEW IF EXISTS v1;
@@ -1359,3 +1361,5 @@ while ($select_id)
--enable_ps_protocol
DROP TABLE t1_selects, t1_modes, t1_values;
+
+SET timestamp=DEFAULT;
diff --git a/mysql-test/suite/heap/heap.result b/mysql-test/suite/heap/heap.result
index 0142cfa66b0..d2c9977e4bd 100644
--- a/mysql-test/suite/heap/heap.result
+++ b/mysql-test/suite/heap/heap.result
@@ -758,6 +758,48 @@ SELECT * from t1;
id color ts
7 GREEN 2
DROP TABLE t1;
+CREATE TABLE t1 (id INT);
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (2);
+SET @@max_heap_table_size = 1024*1024*1024*20;
+CREATE TEMPORARY TABLE tmp ENGINE=MEMORY
+SELECT id FROM t1;
+DROP TEMPORARY TABLE tmp;
+drop table t1;
+#
+# BUG#11825482: Broken key length calculation for btree index
+#
+CREATE TABLE h1 (f1 VARCHAR(1), f2 INT NOT NULL,
+UNIQUE KEY h1i (f1,f2) USING BTREE ) ENGINE=HEAP;
+INSERT INTO h1 VALUES(NULL,0),(NULL,1);
+SELECT 'wrong' as 'result' FROM dual WHERE ('h', 0) NOT IN (SELECT * FROM h1);
+result
+CREATE TABLE t1 (
+pk int NOT NULL,
+col_int_nokey INT,
+col_varchar_nokey VARCHAR(1),
+PRIMARY KEY (pk)
+);
+INSERT INTO t1 VALUES (19,5,'h'),(20,5,'h');
+CREATE TABLE t2 (col_int_nokey INT);
+INSERT INTO t2 VALUES (1),(2);
+CREATE VIEW v1 AS
+SELECT col_varchar_nokey, COUNT( col_varchar_nokey )
+FROM t1
+WHERE col_int_nokey <= 141 AND pk <= 4
+;
+SELECT col_int_nokey FROM t2
+WHERE ('h', 0) NOT IN ( SELECT * FROM v1);
+col_int_nokey
+# shouldn't crash
+EXPLAIN SELECT col_int_nokey FROM t2
+WHERE ('h', 0) NOT IN ( SELECT * FROM v1);
+id select_type table type possible_keys key key_len ref rows Extra
+1 PRIMARY t2 ALL NULL NULL NULL NULL 2
+2 SUBQUERY <derived3> ALL NULL NULL NULL NULL 2 Using where
+3 DERIVED t1 range PRIMARY PRIMARY 4 NULL 1 Using index condition; Using where
+DROP TABLE t1,t2,h1;
+DROP VIEW v1;
CREATE TABLE t1 (a int, index(a)) engine=heap min_rows=10 max_rows=100;
insert into t1 values(1);
select data_length,index_length from information_schema.tables where table_schema="test" and table_name="t1";
diff --git a/mysql-test/suite/heap/heap.test b/mysql-test/suite/heap/heap.test
index ef2527beeb0..1d934bec0fd 100644
--- a/mysql-test/suite/heap/heap.test
+++ b/mysql-test/suite/heap/heap.test
@@ -510,6 +510,59 @@ DELETE FROM t1 WHERE ts = 1 AND color = 'GREEN';
SELECT * from t1;
DROP TABLE t1;
+
+#
+# MDEV-5905 Creating tmp. memory table kills the server
+#
+
+CREATE TABLE t1 (id INT);
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (2);
+
+--disable_warnings
+SET @@max_heap_table_size = 1024*1024*1024*20;
+--enable_warnings
+
+CREATE TEMPORARY TABLE tmp ENGINE=MEMORY
+ SELECT id FROM t1;
+DROP TEMPORARY TABLE tmp;
+drop table t1;
+
+--echo #
+--echo # BUG#11825482: Broken key length calculation for btree index
+--echo #
+CREATE TABLE h1 (f1 VARCHAR(1), f2 INT NOT NULL,
+ UNIQUE KEY h1i (f1,f2) USING BTREE ) ENGINE=HEAP;
+INSERT INTO h1 VALUES(NULL,0),(NULL,1);
+SELECT 'wrong' as 'result' FROM dual WHERE ('h', 0) NOT IN (SELECT * FROM h1);
+
+CREATE TABLE t1 (
+ pk int NOT NULL,
+ col_int_nokey INT,
+ col_varchar_nokey VARCHAR(1),
+ PRIMARY KEY (pk)
+);
+
+INSERT INTO t1 VALUES (19,5,'h'),(20,5,'h');
+
+CREATE TABLE t2 (col_int_nokey INT);
+
+INSERT INTO t2 VALUES (1),(2);
+
+CREATE VIEW v1 AS
+ SELECT col_varchar_nokey, COUNT( col_varchar_nokey )
+ FROM t1
+ WHERE col_int_nokey <= 141 AND pk <= 4
+;
+
+SELECT col_int_nokey FROM t2
+WHERE ('h', 0) NOT IN ( SELECT * FROM v1);
+--echo # shouldn't crash
+EXPLAIN SELECT col_int_nokey FROM t2
+WHERE ('h', 0) NOT IN ( SELECT * FROM v1);
+
+DROP TABLE t1,t2,h1;
+DROP VIEW v1;
# End of 5.1 tests
#
diff --git a/mysql-test/suite/innodb/r/innodb-change-buffer-recovery.result b/mysql-test/suite/innodb/r/innodb-change-buffer-recovery.result
new file mode 100644
index 00000000000..cc2a0373444
--- /dev/null
+++ b/mysql-test/suite/innodb/r/innodb-change-buffer-recovery.result
@@ -0,0 +1,39 @@
+#
+# Bug#69122 - INNODB DOESN'T REDO-LOG INSERT BUFFER MERGE
+# OPERATION IF IT IS DONE IN-PLACE
+#
+SET GLOBAL innodb_change_buffering_debug = 1;
+CREATE TABLE t1(
+a INT AUTO_INCREMENT PRIMARY KEY,
+b CHAR(1),
+c INT,
+INDEX(b))
+ENGINE=InnoDB;
+INSERT INTO t1 VALUES(0,'x',1);
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+BEGIN;
+SELECT b FROM t1 LIMIT 3;
+b
+x
+x
+x
+BEGIN;
+DELETE FROM t1 WHERE a=1;
+INSERT INTO t1 VALUES(1,'X',1);
+SET DEBUG_DBUG='+d,crash_after_log_ibuf_upd_inplace';
+SELECT b FROM t1 LIMIT 3;
+ERROR HY000: Lost connection to MySQL server during query
+CHECK TABLE t1;
+Table Op Msg_type Msg_text
+test.t1 check status OK
+DROP TABLE t1;
diff --git a/mysql-test/suite/innodb/r/innodb_bug54044.result b/mysql-test/suite/innodb/r/innodb_bug54044.result
index 4935febcbfb..d80c451c841 100644
--- a/mysql-test/suite/innodb/r/innodb_bug54044.result
+++ b/mysql-test/suite/innodb/r/innodb_bug54044.result
@@ -15,3 +15,9 @@ tmp CREATE TABLE `tmp` (
`NULL` binary(0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
DROP TABLE tmp;
+CREATE TABLE t1 (a VARCHAR(3)) ENGINE=InnoDB;
+INSERT INTO t1 VALUES ('foo'),('bar');
+FLUSH TABLES;
+CREATE TEMPORARY TABLE tmp ENGINE=InnoDB AS SELECT VALUES(a) FROM t1;
+ERROR HY000: Can't create table `test`.`tmp` (errno: -1 "Internal error < 0 (Not system error)")
+DROP TABLE t1;
diff --git a/mysql-test/suite/innodb/r/innodb_information_schema.result b/mysql-test/suite/innodb/r/innodb_information_schema.result
index 6f97fdcc0a0..1b83bc29493 100644
--- a/mysql-test/suite/innodb/r/innodb_information_schema.result
+++ b/mysql-test/suite/innodb/r/innodb_information_schema.result
@@ -51,4 +51,4 @@ RUNNING 4 0 0 7 1 0 REPEATABLE READ 1 1
trx_isolation_level trx_unique_checks trx_foreign_key_checks
SERIALIZABLE 0 0
trx_state trx_isolation_level trx_last_foreign_key_error
-RUNNING REPEATABLE READ `test`.`t2`, CONSTRAINT `t2_ibfk_1` FOREIGN KEY (`c02`) REFERENCES `t1` (`c01`)
+RUNNING REPEATABLE READ `test`.`t2`, CONSTRAINT `fk1` FOREIGN KEY (`c02`) REFERENCES `t1` (`c01`)
diff --git a/mysql-test/suite/innodb/r/innodb_mysql.result b/mysql-test/suite/innodb/r/innodb_mysql.result
index eb48b0ec895..b7fb733b9fd 100644
--- a/mysql-test/suite/innodb/r/innodb_mysql.result
+++ b/mysql-test/suite/innodb/r/innodb_mysql.result
@@ -1700,8 +1700,8 @@ t2 CREATE TABLE `t2` (
PRIMARY KEY (`c`,`d`),
CONSTRAINT `c1` FOREIGN KEY (`c`) REFERENCES `t1` (`a`) ON DELETE NO ACTION,
CONSTRAINT `c2` FOREIGN KEY (`c`) REFERENCES `t1` (`a`) ON UPDATE NO ACTION,
- CONSTRAINT `t2_ibfk_1` FOREIGN KEY (`c`) REFERENCES `t1` (`a`) ON UPDATE NO ACTION,
- CONSTRAINT `t2_ibfk_2` FOREIGN KEY (`c`) REFERENCES `t1` (`a`) ON UPDATE NO ACTION
+ CONSTRAINT `f3` FOREIGN KEY (`c`) REFERENCES `t1` (`a`) ON UPDATE NO ACTION,
+ CONSTRAINT `t2_ibfk_1` FOREIGN KEY (`c`) REFERENCES `t1` (`a`) ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=latin1
DROP TABLE t2;
DROP TABLE t1;
@@ -2561,6 +2561,8 @@ KEY idx2 (f2,f4)
) ENGINE=InnoDB;
LOAD DATA INFILE '../../std_data/intersect-bug50389.tsv' INTO TABLE t1;
ANALYZE TABLE t1;
+set @tmp_innodb_mysql= @@optimizer_switch;
+set optimizer_switch='extended_keys=off';
SELECT * FROM t1 WHERE f1 IN
(3305028,3353871,3772880,3346860,4228206,3336022,
3470988,3305175,3329875,3817277,3856380,3796193,
@@ -2584,6 +2586,7 @@ EXPLAIN SELECT * FROM t1 WHERE f1 IN
AND f5 = 'abcdefghijklmnopwrst' AND f2 = 1221457 AND f4 = 0 ;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index_merge PRIMARY,idx1,idx2 idx2,idx1,PRIMARY 7,60,4 NULL 1 Using intersect(idx2,idx1,PRIMARY); Using where
+set optimizer_switch=@tmp_innodb_mysql;
DROP TABLE t1;
#
# Bug#51431 Wrong sort order after import of dump file
diff --git a/mysql-test/suite/innodb/r/row_lock.result b/mysql-test/suite/innodb/r/row_lock.result
new file mode 100644
index 00000000000..c2fb7b90c3f
--- /dev/null
+++ b/mysql-test/suite/innodb/r/row_lock.result
@@ -0,0 +1,16 @@
+CREATE TABLE t1 (a INT, b INT) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1,1),(2,2);
+CREATE TABLE t2 (c INT, d INT) ENGINE=InnoDB;
+INSERT INTO t2 VALUES (1,1), (2,2);
+CREATE TABLE t3 (e INT) ENGINE=InnoDB;
+CREATE TABLE t4 ENGINE=InnoDB AS SELECT * FROM t2;
+BEGIN;
+UPDATE t1 SET a = 0 WHERE a = ( SELECT e FROM t3 );
+SET DEBUG_SYNC='srv_suspend_mysql_thread_enter SIGNAL waiting';
+UPDATE t4 SET d = 1 WHERE d in ( SELECT a FROM t1 ) ORDER BY c LIMIT 6;
+SET DEBUG_SYNC='now WAIT_FOR waiting';
+SET DEBUG_SYNC='RESET';
+UPDATE t4 SET d = 9;
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
+commit;
+drop table t1,t2,t3,t4;
diff --git a/mysql-test/suite/innodb/t/innodb-change-buffer-recovery-master.opt b/mysql-test/suite/innodb/t/innodb-change-buffer-recovery-master.opt
new file mode 100644
index 00000000000..33e2b863684
--- /dev/null
+++ b/mysql-test/suite/innodb/t/innodb-change-buffer-recovery-master.opt
@@ -0,0 +1 @@
+--log-error=$MYSQLTEST_VARDIR/tmp/my_restart.err
diff --git a/mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test b/mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test
new file mode 100644
index 00000000000..1774bb7f796
--- /dev/null
+++ b/mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test
@@ -0,0 +1,75 @@
+if (`select plugin_auth_version < "5.6.17" from information_schema.plugins where plugin_name='innodb'`)
+{
+ --skip Not fixed in InnoDB before 5.6.17
+}
+
+--echo #
+--echo # Bug#69122 - INNODB DOESN'T REDO-LOG INSERT BUFFER MERGE
+--echo # OPERATION IF IT IS DONE IN-PLACE
+--echo #
+--source include/have_innodb.inc
+# innodb_change_buffering_debug option is debug only
+--source include/have_debug.inc
+# Embedded server does not support crashing
+--source include/not_embedded.inc
+# DBUG_SUICIDE() hangs under valgrind
+--source include/not_valgrind.inc
+
+# The flag innodb_change_buffering_debug is only available in debug builds.
+# It instructs InnoDB to try to evict pages from the buffer pool when
+# change buffering is possible, so that the change buffer will be used
+# whenever possible.
+SET GLOBAL innodb_change_buffering_debug = 1;
+let SEARCH_FILE = $MYSQLTEST_VARDIR/tmp/my_restart.err;
+
+CREATE TABLE t1(
+ a INT AUTO_INCREMENT PRIMARY KEY,
+ b CHAR(1),
+ c INT,
+ INDEX(b))
+ENGINE=InnoDB;
+
+# Create enough rows for the table, so that the change buffer will be
+# used for modifying the secondary index page. There must be multiple
+# index pages, because changes to the root page are never buffered.
+INSERT INTO t1 VALUES(0,'x',1);
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+INSERT INTO t1 SELECT 0,b,c FROM t1;
+
+BEGIN;
+SELECT b FROM t1 LIMIT 3;
+
+connect (con1,localhost,root,,);
+connection con1;
+BEGIN;
+DELETE FROM t1 WHERE a=1;
+# This should be buffered, if innodb_change_buffering_debug = 1 is in effect.
+INSERT INTO t1 VALUES(1,'X',1);
+
+SET DEBUG_DBUG='+d,crash_after_log_ibuf_upd_inplace';
+--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--error 2013
+# This should force a change buffer merge
+SELECT b FROM t1 LIMIT 3;
+
+let SEARCH_PATTERN=Wrote log record for ibuf update in place operation;
+--source include/search_pattern_in_file.inc
+
+# Write file to make mysql-test-run.pl start up the server again
+--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--enable_reconnect
+--source include/wait_until_connected_again.inc
+
+CHECK TABLE t1;
+
+# Cleanup
+DROP TABLE t1;
diff --git a/mysql-test/suite/innodb/t/innodb_bug54044.test b/mysql-test/suite/innodb/t/innodb_bug54044.test
index 13c37d9c841..aa19c51018c 100644
--- a/mysql-test/suite/innodb/t/innodb_bug54044.test
+++ b/mysql-test/suite/innodb/t/innodb_bug54044.test
@@ -10,10 +10,17 @@ CREATE TEMPORARY TABLE table_54044 ENGINE = INNODB
SHOW CREATE TABLE table_54044;
DROP TABLE table_54044;
-# These 'create table' operations should fail because of
-# using NULL datatype
-
CREATE TABLE tmp ENGINE = INNODB AS SELECT COALESCE(NULL, NULL, NULL), GREATEST(NULL, NULL), NULL;
SHOW CREATE TABLE tmp;
DROP TABLE tmp;
+# These 'create table' operations should fail because of
+# using NULL datatype
+
+CREATE TABLE t1 (a VARCHAR(3)) ENGINE=InnoDB;
+INSERT INTO t1 VALUES ('foo'),('bar');
+FLUSH TABLES;
+--error 1005
+CREATE TEMPORARY TABLE tmp ENGINE=InnoDB AS SELECT VALUES(a) FROM t1;
+DROP TABLE t1;
+
diff --git a/mysql-test/suite/innodb/t/innodb_bug60196-master.opt b/mysql-test/suite/innodb/t/innodb_bug60196-master.opt
index c0a1981fa7c..ac4d3211e89 100644
--- a/mysql-test/suite/innodb/t/innodb_bug60196-master.opt
+++ b/mysql-test/suite/innodb/t/innodb_bug60196-master.opt
@@ -1 +1 @@
---lower-case-table-names=2
+--lower-case-table-names=2
diff --git a/mysql-test/suite/innodb/t/innodb_mysql.test b/mysql-test/suite/innodb/t/innodb_mysql.test
index 44e2e8b2342..7c2ae98f001 100644
--- a/mysql-test/suite/innodb/t/innodb_mysql.test
+++ b/mysql-test/suite/innodb/t/innodb_mysql.test
@@ -717,6 +717,9 @@ LOAD DATA INFILE '../../std_data/intersect-bug50389.tsv' INTO TABLE t1;
ANALYZE TABLE t1;
-- enable_result_log
+set @tmp_innodb_mysql= @@optimizer_switch;
+set optimizer_switch='extended_keys=off';
+
SELECT * FROM t1 WHERE f1 IN
(3305028,3353871,3772880,3346860,4228206,3336022,
3470988,3305175,3329875,3817277,3856380,3796193,
@@ -728,6 +731,7 @@ EXPLAIN SELECT * FROM t1 WHERE f1 IN
3470988,3305175,3329875,3817277,3856380,3796193,
3784744,4180925,4559596,3963734,3856391,4494153)
AND f5 = 'abcdefghijklmnopwrst' AND f2 = 1221457 AND f4 = 0 ;
+set optimizer_switch=@tmp_innodb_mysql;
DROP TABLE t1;
diff --git a/mysql-test/suite/innodb/t/row_lock.test b/mysql-test/suite/innodb/t/row_lock.test
new file mode 100644
index 00000000000..7a209f08956
--- /dev/null
+++ b/mysql-test/suite/innodb/t/row_lock.test
@@ -0,0 +1,53 @@
+if (`select plugin_auth_version < "5.6.17" from information_schema.plugins where plugin_name='innodb'`)
+{
+ --skip Not fixed in InnoDB before 5.6.17
+}
+
+#
+# Test of wrong call to unlock_row
+# MDEV-5629 Failing assertion: state == TRX_STATE_NOT_STARTED on
+# concurrent CREATE OR REPLACE and transactional UPDATE
+#
+
+--source include/have_innodb.inc
+--source include/have_debug_sync.inc
+
+CREATE TABLE t1 (a INT, b INT) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1,1),(2,2);
+
+CREATE TABLE t2 (c INT, d INT) ENGINE=InnoDB;
+INSERT INTO t2 VALUES (1,1), (2,2);
+
+CREATE TABLE t3 (e INT) ENGINE=InnoDB;
+CREATE TABLE t4 ENGINE=InnoDB AS SELECT * FROM t2;
+
+--connect (con11,localhost,root,,test)
+
+BEGIN;
+UPDATE t1 SET a = 0 WHERE a = ( SELECT e FROM t3 );
+
+--connect (con12,localhost,root,,test)
+
+SET DEBUG_SYNC='srv_suspend_mysql_thread_enter SIGNAL waiting';
+
+--send
+UPDATE t4 SET d = 1 WHERE d in ( SELECT a FROM t1 ) ORDER BY c LIMIT 6;
+
+--connection con11
+
+# Wait for con12 to start waiting for con11
+
+SET DEBUG_SYNC='now WAIT_FOR waiting';
+SET DEBUG_SYNC='RESET';
+
+UPDATE t4 SET d = 9;
+
+--connection con12
+--error ER_LOCK_DEADLOCK
+--reap
+--connection con11
+commit;
+--connection default
+--disconnect con12
+--disconnect con11
+drop table t1,t2,t3,t4;
diff --git a/mysql-test/suite/innodb/r/innodb-create-options.result b/mysql-test/suite/innodb_zip/r/innodb-create-options.result
index fe3d799229d..fe3d799229d 100644
--- a/mysql-test/suite/innodb/r/innodb-create-options.result
+++ b/mysql-test/suite/innodb_zip/r/innodb-create-options.result
diff --git a/mysql-test/suite/innodb/r/innodb-zip.result b/mysql-test/suite/innodb_zip/r/innodb-zip.result
index dbfae3c0630..dbfae3c0630 100644
--- a/mysql-test/suite/innodb/r/innodb-zip.result
+++ b/mysql-test/suite/innodb_zip/r/innodb-zip.result
diff --git a/mysql-test/suite/innodb/r/innodb_bug36169.result b/mysql-test/suite/innodb_zip/r/innodb_bug36169.result
index aa80e4d7aa4..aa80e4d7aa4 100644
--- a/mysql-test/suite/innodb/r/innodb_bug36169.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_bug36169.result
diff --git a/mysql-test/suite/innodb/r/innodb_bug36172.result b/mysql-test/suite/innodb_zip/r/innodb_bug36172.result
index 195775f74c8..195775f74c8 100644
--- a/mysql-test/suite/innodb/r/innodb_bug36172.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_bug36172.result
diff --git a/mysql-test/suite/innodb/r/innodb_bug52745.result b/mysql-test/suite/innodb_zip/r/innodb_bug52745.result
index f4393e8fae0..f4393e8fae0 100644
--- a/mysql-test/suite/innodb/r/innodb_bug52745.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_bug52745.result
diff --git a/mysql-test/suite/innodb/r/innodb_bug53591.result b/mysql-test/suite/innodb_zip/r/innodb_bug53591.result
index dbebb9d2d33..dbebb9d2d33 100644
--- a/mysql-test/suite/innodb/r/innodb_bug53591.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_bug53591.result
diff --git a/mysql-test/suite/innodb/r/innodb_bug56680.result b/mysql-test/suite/innodb_zip/r/innodb_bug56680.result
index 5e798b69167..5e798b69167 100644
--- a/mysql-test/suite/innodb/r/innodb_bug56680.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_bug56680.result
diff --git a/mysql-test/suite/innodb/r/innodb_cmp_drop_table.result b/mysql-test/suite/innodb_zip/r/innodb_cmp_drop_table.result
index 1f6d6948756..1f6d6948756 100644
--- a/mysql-test/suite/innodb/r/innodb_cmp_drop_table.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_cmp_drop_table.result
diff --git a/mysql-test/suite/innodb/r/innodb_index_large_prefix.result b/mysql-test/suite/innodb_zip/r/innodb_index_large_prefix.result
index b610d1ed7b8..b610d1ed7b8 100644
--- a/mysql-test/suite/innodb/r/innodb_index_large_prefix.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_index_large_prefix.result
diff --git a/mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result b/mysql-test/suite/innodb_zip/r/innodb_prefix_index_liftedlimit.result
index 746072781bd..746072781bd 100644
--- a/mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result
+++ b/mysql-test/suite/innodb_zip/r/innodb_prefix_index_liftedlimit.result
diff --git a/mysql-test/suite/innodb/t/innodb-create-options.test b/mysql-test/suite/innodb_zip/t/innodb-create-options.test
index aeb22514bf6..aeb22514bf6 100644
--- a/mysql-test/suite/innodb/t/innodb-create-options.test
+++ b/mysql-test/suite/innodb_zip/t/innodb-create-options.test
diff --git a/mysql-test/suite/innodb/t/innodb-zip.test b/mysql-test/suite/innodb_zip/t/innodb-zip.test
index 1c7c7c8c419..1c7c7c8c419 100644
--- a/mysql-test/suite/innodb/t/innodb-zip.test
+++ b/mysql-test/suite/innodb_zip/t/innodb-zip.test
diff --git a/mysql-test/suite/innodb/t/innodb_bug36169.test b/mysql-test/suite/innodb_zip/t/innodb_bug36169.test
index 6426bd683ae..6426bd683ae 100644
--- a/mysql-test/suite/innodb/t/innodb_bug36169.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_bug36169.test
diff --git a/mysql-test/suite/innodb/t/innodb_bug36172.test b/mysql-test/suite/innodb_zip/t/innodb_bug36172.test
index 015f461e532..015f461e532 100644
--- a/mysql-test/suite/innodb/t/innodb_bug36172.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_bug36172.test
diff --git a/mysql-test/suite/innodb/t/innodb_bug52745.test b/mysql-test/suite/innodb_zip/t/innodb_bug52745.test
index 3c5d79826f0..3c5d79826f0 100644
--- a/mysql-test/suite/innodb/t/innodb_bug52745.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_bug52745.test
diff --git a/mysql-test/suite/innodb/t/innodb_bug53591.test b/mysql-test/suite/innodb_zip/t/innodb_bug53591.test
index 8bc461719b8..8bc461719b8 100644
--- a/mysql-test/suite/innodb/t/innodb_bug53591.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_bug53591.test
diff --git a/mysql-test/suite/innodb/t/innodb_bug56680.test b/mysql-test/suite/innodb_zip/t/innodb_bug56680.test
index f592bd16942..f592bd16942 100644
--- a/mysql-test/suite/innodb/t/innodb_bug56680.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_bug56680.test
diff --git a/mysql-test/suite/innodb/t/innodb_cmp_drop_table-master.opt b/mysql-test/suite/innodb_zip/t/innodb_cmp_drop_table-master.opt
index a9a3d8c3db8..a9a3d8c3db8 100644
--- a/mysql-test/suite/innodb/t/innodb_cmp_drop_table-master.opt
+++ b/mysql-test/suite/innodb_zip/t/innodb_cmp_drop_table-master.opt
diff --git a/mysql-test/suite/innodb/t/innodb_cmp_drop_table.test b/mysql-test/suite/innodb_zip/t/innodb_cmp_drop_table.test
index 4263e839c85..4263e839c85 100644
--- a/mysql-test/suite/innodb/t/innodb_cmp_drop_table.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_cmp_drop_table.test
diff --git a/mysql-test/suite/innodb/t/innodb_index_large_prefix.test b/mysql-test/suite/innodb_zip/t/innodb_index_large_prefix.test
index 17f82f88fef..17f82f88fef 100644
--- a/mysql-test/suite/innodb/t/innodb_index_large_prefix.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_index_large_prefix.test
diff --git a/mysql-test/suite/innodb/t/innodb_prefix_index_liftedlimit.test b/mysql-test/suite/innodb_zip/t/innodb_prefix_index_liftedlimit.test
index 77f55002da5..77f55002da5 100644
--- a/mysql-test/suite/innodb/t/innodb_prefix_index_liftedlimit.test
+++ b/mysql-test/suite/innodb_zip/t/innodb_prefix_index_liftedlimit.test
diff --git a/mysql-test/suite/maria/icp.result b/mysql-test/suite/maria/icp.result
index 28b6418d6cf..85a21ada47d 100644
--- a/mysql-test/suite/maria/icp.result
+++ b/mysql-test/suite/maria/icp.result
@@ -167,7 +167,7 @@ WHERE ts BETWEEN '0000-00-00' AND '2010-00-01 00:00:00'
ORDER BY ts DESC
LIMIT 2;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 range PRIMARY PRIMARY 4 NULL 4 Using where
+1 SIMPLE t1 index PRIMARY PRIMARY 4 NULL 2 Using where
DROP TABLE t1;
#
diff --git a/mysql-test/suite/maria/maria-preload.result b/mysql-test/suite/maria/maria-preload.result
index a693b6768ac..2c2a529e006 100644
--- a/mysql-test/suite/maria/maria-preload.result
+++ b/mysql-test/suite/maria/maria-preload.result
@@ -58,13 +58,13 @@ count(*)
4181
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 9
+ARIA_PAGECACHE_READS 11
select count(*) from t1 where b = 'test1';
count(*)
4181
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 9
+ARIA_PAGECACHE_READS 11
flush tables;
flush status;
select @@preload_buffer_size;
@@ -75,18 +75,18 @@ Table Op Msg_type Msg_text
test.t1 preload_keys status OK
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 80
+ARIA_PAGECACHE_READS 107
select count(*) from t1 where b = 'test1';
count(*)
4181
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 80
+ARIA_PAGECACHE_READS 107
flush tables;
flush status;
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 80
+ARIA_PAGECACHE_READS 107
set session preload_buffer_size=256*1024;
select @@preload_buffer_size;
@@preload_buffer_size
@@ -96,18 +96,18 @@ Table Op Msg_type Msg_text
test.t1 preload_keys status OK
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 151
+ARIA_PAGECACHE_READS 203
select count(*) from t1 where b = 'test1';
count(*)
4181
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 157
+ARIA_PAGECACHE_READS 211
flush tables;
flush status;
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 157
+ARIA_PAGECACHE_READS 211
set session preload_buffer_size=1*1024;
select @@preload_buffer_size;
@@preload_buffer_size
@@ -118,7 +118,7 @@ test.t1 preload_keys status OK
test.t2 preload_keys status OK
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 271
+ARIA_PAGECACHE_READS 364
select count(*) from t1 where b = 'test1';
count(*)
4181
@@ -127,12 +127,12 @@ count(*)
2584
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 274
+ARIA_PAGECACHE_READS 369
flush tables;
flush status;
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 274
+ARIA_PAGECACHE_READS 369
load index into cache t3, t2 key (primary,b) ;
Table Op Msg_type Msg_text
test.t3 preload_keys Error Table 'test.t3' doesn't exist
@@ -140,12 +140,12 @@ test.t3 preload_keys status Operation failed
test.t2 preload_keys status OK
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 317
+ARIA_PAGECACHE_READS 426
flush tables;
flush status;
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 317
+ARIA_PAGECACHE_READS 426
load index into cache t3 key (b), t2 key (c) ;
Table Op Msg_type Msg_text
test.t3 preload_keys Error Table 'test.t3' doesn't exist
@@ -154,7 +154,7 @@ test.t2 preload_keys Error Key 'c' doesn't exist in table 't2'
test.t2 preload_keys status Operation failed
select g.variable_name,g.variable_value-i.variable_value from information_schema.global_status as g,initial as i where g.variable_name like "Aria_pagecache_read%" and g.variable_name=i.variable_name order by g.variable_name desc;
variable_name g.variable_value-i.variable_value
-ARIA_PAGECACHE_READS 317
+ARIA_PAGECACHE_READS 426
drop table t1, t2;
drop temporary table initial;
show status like "key_read%";
diff --git a/mysql-test/suite/maria/maria.result b/mysql-test/suite/maria/maria.result
index 77da9813559..952cdc09c90 100644
--- a/mysql-test/suite/maria/maria.result
+++ b/mysql-test/suite/maria/maria.result
@@ -662,6 +662,13 @@ create table t1 ( a tinytext, b char(1), index idx (a(1),b) );
insert into t1 values (null,''), (null,'');
explain select count(*) from t1 where a is null;
id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ref idx idx 4 const 2 Using where
+insert into t1 values(1,'a');
+explain select count(*) from t1 where a is null;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ref idx idx 4 const 2 Using where
+explain select count(*) from t1 where a = 'a';
+id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref idx idx 4 const 1 Using where
select count(*) from t1 where a is null;
count(*)
diff --git a/mysql-test/suite/maria/maria.test b/mysql-test/suite/maria/maria.test
index 7ecf1e33061..df73c8d8199 100644
--- a/mysql-test/suite/maria/maria.test
+++ b/mysql-test/suite/maria/maria.test
@@ -632,6 +632,9 @@ drop table t1,t2;
create table t1 ( a tinytext, b char(1), index idx (a(1),b) );
insert into t1 values (null,''), (null,'');
explain select count(*) from t1 where a is null;
+insert into t1 values(1,'a');
+explain select count(*) from t1 where a is null;
+explain select count(*) from t1 where a = 'a';
select count(*) from t1 where a is null;
drop table t1;
diff --git a/mysql-test/suite/multi_source/gtid_ignore_duplicates.cnf b/mysql-test/suite/multi_source/gtid_ignore_duplicates.cnf
new file mode 100644
index 00000000000..b47ebb2cf30
--- /dev/null
+++ b/mysql-test/suite/multi_source/gtid_ignore_duplicates.cnf
@@ -0,0 +1,24 @@
+!include my.cnf
+
+[mysqld.1]
+log-slave-updates
+loose-innodb
+
+[mysqld.2]
+log-slave-updates
+loose-innodb
+
+[mysqld.3]
+log-bin=server3-bin
+log-slave-updates
+loose-innodb
+
+[mysqld.4]
+server-id=4
+log-bin=server4-bin
+log-slave-updates
+loose-innodb
+
+[ENV]
+SERVER_MYPORT_4= @mysqld.4.port
+SERVER_MYSOCK_4= @mysqld.4.socket
diff --git a/mysql-test/suite/multi_source/gtid_ignore_duplicates.result b/mysql-test/suite/multi_source/gtid_ignore_duplicates.result
new file mode 100644
index 00000000000..9bd09330ae7
--- /dev/null
+++ b/mysql-test/suite/multi_source/gtid_ignore_duplicates.result
@@ -0,0 +1,279 @@
+*** Test all-to-all replication with --gtid-ignore-duplicates ***
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 1;
+SET SESSION gtid_domain_id= 1;
+CHANGE MASTER 'b2a' TO master_port=MYPORT_2, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+CHANGE MASTER 'c2a' TO master_port=MYPORT_3, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'b2a';
+START SLAVE;
+include/wait_for_slave_to_start.inc
+set default_master_connection = 'c2a';
+START SLAVE;
+include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 2;
+SET SESSION gtid_domain_id= 2;
+CHANGE MASTER 'a2b' TO master_port=MYPORT_1, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+CHANGE MASTER 'c2b' TO master_port=MYPORT_3, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'a2b';
+START SLAVE;
+include/wait_for_slave_to_start.inc
+set default_master_connection = 'c2b';
+START SLAVE;
+include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 3;
+SET SESSION gtid_domain_id= 3;
+CHANGE MASTER 'a2c' TO master_port=MYPORT_1, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+CHANGE MASTER 'b2c' TO master_port=MYPORT_2, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'a2c';
+START SLAVE;
+include/wait_for_slave_to_start.inc
+set default_master_connection = 'b2c';
+START SLAVE;
+include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 1;
+SET SESSION gtid_domain_id= 1;
+CHANGE MASTER 'a2d' TO master_port=MYPORT_1, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'a2d';
+START SLAVE;
+include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
+CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+BEGIN;
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (3);
+COMMIT;
+INSERT INTO t1 VALUES (4), (5);
+INSERT INTO t1 VALUES (6);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+a
+1
+2
+3
+4
+5
+6
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+a
+1
+2
+3
+4
+5
+6
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+a
+1
+2
+3
+4
+5
+6
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+a
+1
+2
+3
+4
+5
+6
+INSERT INTO t1 VALUES (10);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+a
+10
+STOP SLAVE "c2b";
+SET default_master_connection = "c2b";
+include/wait_for_slave_to_stop.inc
+STOP SLAVE "a2b";
+SET default_master_connection = "a2b";
+include/wait_for_slave_to_stop.inc
+INSERT INTO t1 VALUES (11);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+a
+10
+11
+SET default_master_connection = "b2a";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+INSERT INTO t1 VALUES (12);
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+a
+10
+12
+include/save_master_gtid.inc
+START SLAVE "b2a";
+SET default_master_connection = "b2a";
+include/wait_for_slave_to_start.inc
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+a
+10
+11
+12
+START SLAVE "c2b";
+SET default_master_connection = "c2b";
+include/wait_for_slave_to_start.inc
+START SLAVE "a2b";
+SET default_master_connection = "a2b";
+include/wait_for_slave_to_start.inc
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+a
+10
+11
+12
+*** Test also with not using parallel replication.
+SET default_master_connection = "b2a";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+SET default_master_connection = "c2a";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "b2a";
+START SLAVE;
+include/wait_for_slave_to_start.inc
+SET default_master_connection = "c2a";
+START SLAVE;
+include/wait_for_slave_to_start.inc
+SET default_master_connection = "a2b";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+SET default_master_connection = "c2b";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "a2b";
+START SLAVE;
+include/wait_for_slave_to_start.inc
+SET default_master_connection = "c2b";
+START SLAVE;
+include/wait_for_slave_to_start.inc
+SET default_master_connection = "a2c";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+SET default_master_connection = "b2c";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "a2c";
+START SLAVE;
+include/wait_for_slave_to_start.inc
+SET default_master_connection = "b2c";
+START SLAVE;
+include/wait_for_slave_to_start.inc
+SET default_master_connection = "a2d";
+STOP SLAVE;
+include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "a2d";
+START SLAVE;
+include/wait_for_slave_to_start.inc
+INSERT INTO t1 VALUES (21);
+BEGIN;
+INSERT INTO t1 VALUES (22);
+INSERT INTO t1 VALUES (23);
+COMMIT;
+INSERT INTO t1 VALUES (24), (25);
+INSERT INTO t1 VALUES (26);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+a
+21
+22
+23
+24
+25
+26
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+a
+21
+22
+23
+24
+25
+26
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+a
+21
+22
+23
+24
+25
+26
+include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+a
+21
+22
+23
+24
+25
+26
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+Warnings:
+Note 1938 SLAVE 'c2a' stopped
+Note 1938 SLAVE 'b2a' stopped
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+Warnings:
+Note 1938 SLAVE 'a2b' stopped
+Note 1938 SLAVE 'c2b' stopped
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+Warnings:
+Note 1938 SLAVE 'a2c' stopped
+Note 1938 SLAVE 'b2c' stopped
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+Warnings:
+Note 1938 SLAVE 'a2d' stopped
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+DROP TABLE t1;
+include/reset_master_slave.inc
+DROP TABLE t1;
+include/reset_master_slave.inc
+DROP TABLE t1;
+include/reset_master_slave.inc
+DROP TABLE t1;
+include/reset_master_slave.inc
diff --git a/mysql-test/suite/multi_source/gtid_ignore_duplicates.test b/mysql-test/suite/multi_source/gtid_ignore_duplicates.test
new file mode 100644
index 00000000000..3e98d7c76cb
--- /dev/null
+++ b/mysql-test/suite/multi_source/gtid_ignore_duplicates.test
@@ -0,0 +1,304 @@
+--source include/not_embedded.inc
+--source include/have_innodb.inc
+
+--echo *** Test all-to-all replication with --gtid-ignore-duplicates ***
+
+--connect (server_1,127.0.0.1,root,,,$SERVER_MYPORT_1)
+--connect (server_2,127.0.0.1,root,,,$SERVER_MYPORT_2)
+--connect (server_3,127.0.0.1,root,,,$SERVER_MYPORT_3)
+--connect (server_4,127.0.0.1,root,,,$SERVER_MYPORT_4)
+
+# Setup A <-> B, B <-> C, C <-> A, and A -> D.
+
+--connection server_1
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 1;
+SET SESSION gtid_domain_id= 1;
+--replace_result $SERVER_MYPORT_2 MYPORT_2
+eval CHANGE MASTER 'b2a' TO master_port=$SERVER_MYPORT_2, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+--replace_result $SERVER_MYPORT_3 MYPORT_3
+eval CHANGE MASTER 'c2a' TO master_port=$SERVER_MYPORT_3, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'b2a';
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+set default_master_connection = 'c2a';
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+
+--connection server_2
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 2;
+SET SESSION gtid_domain_id= 2;
+--replace_result $SERVER_MYPORT_1 MYPORT_1
+eval CHANGE MASTER 'a2b' TO master_port=$SERVER_MYPORT_1, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+--replace_result $SERVER_MYPORT_3 MYPORT_3
+eval CHANGE MASTER 'c2b' TO master_port=$SERVER_MYPORT_3, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'a2b';
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+set default_master_connection = 'c2b';
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+
+--connection server_3
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 3;
+SET SESSION gtid_domain_id= 3;
+--replace_result $SERVER_MYPORT_1 MYPORT_1
+eval CHANGE MASTER 'a2c' TO master_port=$SERVER_MYPORT_1, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+--replace_result $SERVER_MYPORT_2 MYPORT_2
+eval CHANGE MASTER 'b2c' TO master_port=$SERVER_MYPORT_2, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'a2c';
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+set default_master_connection = 'b2c';
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+
+--connection server_4
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=5;
+SET @old_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SET GLOBAL gtid_ignore_duplicates=1;
+SET GLOBAL gtid_domain_id= 1;
+SET SESSION gtid_domain_id= 1;
+--replace_result $SERVER_MYPORT_1 MYPORT_1
+eval CHANGE MASTER 'a2d' TO master_port=$SERVER_MYPORT_1, master_host='127.0.0.1', master_user='root', master_use_gtid=slave_pos;
+set default_master_connection = 'a2d';
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+set default_master_connection = '';
+
+
+--connection server_1
+ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
+CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+BEGIN;
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (3);
+COMMIT;
+INSERT INTO t1 VALUES (4), (5);
+INSERT INTO t1 VALUES (6);
+
+--source include/save_master_gtid.inc
+
+--connection server_2
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+
+--connection server_3
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+
+--connection server_4
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+
+--connection server_1
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 ORDER BY a;
+
+# Test that we can connect at a GTID position that has not yet reached
+# that master server.
+# We stop the connections C->B and A->B, create an event on C, Check that
+# the event has reached A (but not B). Then let A stop and re-connect to
+# B, which will connect at the new event, which is in the future for B.
+
+--connection server_3
+INSERT INTO t1 VALUES (10);
+--source include/save_master_gtid.inc
+
+--connection server_2
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+STOP SLAVE "c2b";
+SET default_master_connection = "c2b";
+--source include/wait_for_slave_to_stop.inc
+STOP SLAVE "a2b";
+SET default_master_connection = "a2b";
+--source include/wait_for_slave_to_stop.inc
+
+--connection server_3
+INSERT INTO t1 VALUES (11);
+--source include/save_master_gtid.inc
+
+--connection server_1
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+SET default_master_connection = "b2a";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+
+--connection server_2
+INSERT INTO t1 VALUES (12);
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+--source include/save_master_gtid.inc
+
+--connection server_1
+START SLAVE "b2a";
+SET default_master_connection = "b2a";
+--source include/wait_for_slave_to_start.inc
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+
+--connection server_2
+START SLAVE "c2b";
+SET default_master_connection = "c2b";
+--source include/wait_for_slave_to_start.inc
+START SLAVE "a2b";
+SET default_master_connection = "a2b";
+--source include/wait_for_slave_to_start.inc
+
+--connection server_1
+--source include/save_master_gtid.inc
+
+--connection server_2
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 10 ORDER BY a;
+
+
+--echo *** Test also with not using parallel replication.
+
+--connection server_1
+SET default_master_connection = "b2a";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+SET default_master_connection = "c2a";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "b2a";
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+SET default_master_connection = "c2a";
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+
+
+--connection server_2
+SET default_master_connection = "a2b";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+SET default_master_connection = "c2b";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "a2b";
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+SET default_master_connection = "c2b";
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+
+
+--connection server_3
+SET default_master_connection = "a2c";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+SET default_master_connection = "b2c";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "a2c";
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+SET default_master_connection = "b2c";
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+
+
+--connection server_4
+SET default_master_connection = "a2d";
+STOP SLAVE;
+--source include/wait_for_slave_to_stop.inc
+SET GLOBAL slave_parallel_threads=0;
+SET default_master_connection = "a2d";
+START SLAVE;
+--source include/wait_for_slave_to_start.inc
+
+
+--connection server_2
+INSERT INTO t1 VALUES (21);
+BEGIN;
+INSERT INTO t1 VALUES (22);
+INSERT INTO t1 VALUES (23);
+COMMIT;
+INSERT INTO t1 VALUES (24), (25);
+INSERT INTO t1 VALUES (26);
+
+--source include/save_master_gtid.inc
+
+--connection server_1
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+
+--connection server_3
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+
+--connection server_4
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+
+--connection server_2
+--source include/sync_with_master_gtid.inc
+SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
+
+
+# Clean up.
+--connection server_1
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+
+--connection server_2
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+
+--connection server_3
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+
+--connection server_4
+SET GLOBAL gtid_domain_id=0;
+STOP ALL SLAVES;
+SET GLOBAL slave_parallel_threads= @old_parallel;
+SET GLOBAL gtid_ignore_duplicates= @old_ignore_duplicates;
+
+--connection server_1
+DROP TABLE t1;
+--source reset_master_slave.inc
+--disconnect server_1
+
+--connection server_2
+DROP TABLE t1;
+--source reset_master_slave.inc
+--disconnect server_2
+
+--connection server_3
+DROP TABLE t1;
+--source reset_master_slave.inc
+--disconnect server_3
+
+--connection server_4
+DROP TABLE t1;
+--source reset_master_slave.inc
+--disconnect server_4
diff --git a/mysql-test/suite/multi_source/skip_counter.result b/mysql-test/suite/multi_source/skip_counter.result
index bdf9a03d9a1..10226e2ba4e 100644
--- a/mysql-test/suite/multi_source/skip_counter.result
+++ b/mysql-test/suite/multi_source/skip_counter.result
@@ -1,9 +1,11 @@
drop database if exists db;
create database db;
+create table db.this_will_not_be_replicated (i int) engine=MyISAM;
create table db.t1 (i int) engine=MyISAM;
+create table db.t2 (i int) engine=MyISAM;
drop database if exists db;
create database db;
-create table db.t2 (i int) engine=MyISAM;
+create table db.t3 (i int) engine=MyISAM;
change master 'master1' to
master_port=MYPORT_1,
master_host='127.0.0.1',
@@ -37,7 +39,7 @@ select @@global.sql_slave_skip_counter;
select @@session.sql_slave_skip_counter;
@@session.sql_slave_skip_counter
0
-set global sql_slave_skip_counter= 5;
+set global sql_slave_skip_counter= 4;
set default_master_connection = 'master1';
select @@session.sql_slave_skip_counter;
@@session.sql_slave_skip_counter
@@ -51,7 +53,7 @@ Warning 1617 There is no master connection 'qqq'
set default_master_connection = 'master2';
select @@session.sql_slave_skip_counter;
@@session.sql_slave_skip_counter
-5
+4
select @@global.max_relay_log_size;
@@global.max_relay_log_size
1073741824
@@ -102,6 +104,8 @@ show tables in db;
Tables_in_db
t1
t2
+t3
+this_will_not_be_replicated
drop database db;
set global sql_slave_skip_counter = 0;
set global max_relay_log_size = 1073741824;
diff --git a/mysql-test/suite/multi_source/skip_counter.test b/mysql-test/suite/multi_source/skip_counter.test
index 73c48dfd6d7..937261350a8 100644
--- a/mysql-test/suite/multi_source/skip_counter.test
+++ b/mysql-test/suite/multi_source/skip_counter.test
@@ -14,7 +14,9 @@
drop database if exists db;
--enable_warnings
create database db;
+create table db.this_will_not_be_replicated (i int) engine=MyISAM;
create table db.t1 (i int) engine=MyISAM;
+create table db.t2 (i int) engine=MyISAM;
--save_master_pos
# Create the same schema and another table
@@ -26,7 +28,7 @@ create table db.t1 (i int) engine=MyISAM;
drop database if exists db;
--enable_warnings
create database db;
-create table db.t2 (i int) engine=MyISAM;
+create table db.t3 (i int) engine=MyISAM;
--connect (slave,127.0.0.1,root,,,$SERVER_MYPORT_3)
@@ -54,10 +56,14 @@ master_host='127.0.0.1',
master_user='root';
# the schema creation will be replicated from the 1st master,
-# so we want to skip it in the second replication connection.
-
-# Normally it should have been 2 events, but currently Binlog_checkpoint +
-# 2 Gtid also count. Maybe we'll need to modify the test later
+# so we want to skip it in the second replication connection
+# The events we want to skip are:
+#
+# The start format statement event
+# drop database if exists db
+# create database db
+# Create table db.t1
+# - > 4 events in total
--let $skip_counter_saved = `select @@global.sql_slave_skip_counter`
--let $max_relay_log_size_saved= `select @@global.max_relay_log_size`
@@ -71,7 +77,8 @@ select @@session.sql_slave_skip_counter;
set global sql_slave_skip_counter= default;
select @@global.sql_slave_skip_counter;
select @@session.sql_slave_skip_counter;
-set global sql_slave_skip_counter= 5;
+set global sql_slave_skip_counter= 4;
+
set default_master_connection = 'master1';
select @@session.sql_slave_skip_counter;
set default_master_connection = 'qqq';
@@ -100,7 +107,6 @@ select @@session.max_relay_log_size;
set global max_binlog_size= 4*1024*1024;
select @@global.max_relay_log_size;
-
start slave 'master2';
--source include/wait_for_slave_to_start.inc
set default_master_connection = '';
@@ -115,7 +121,7 @@ set default_master_connection = '';
# If the skip_counter worked as expected, we should
# get here (replication shouldn't have broken)
# and should see both tables here
-# (drop database which came from master2 shoudn't have been executed
+# (drop database which came from master2 shouldn't have been executed
# so t1 should still exist)
show tables in db;
diff --git a/mysql-test/suite/optimizer_unfixed_bugs/t/bug42991.test b/mysql-test/suite/optimizer_unfixed_bugs/t/bug42991.test
index 6c6b416df8a..2b5864a3e69 100644
--- a/mysql-test/suite/optimizer_unfixed_bugs/t/bug42991.test
+++ b/mysql-test/suite/optimizer_unfixed_bugs/t/bug42991.test
@@ -1,248 +1,248 @@
---source include/have_debug.inc
-# Test for BUG#42991 "invalid memory access and/or crash when using
-# index condition pushdown + InnoDB"
-# Note that you need to run with --valgrind to see the warnings
-# about invalid memory accesses.
-
---source include/have_innodb.inc
-
-# Valgrind errors happen only with this:
-set session debug_dbug="+d,optimizer_innodb_icp";
-
-
-/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
-/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
-/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
-/*!40101 SET NAMES utf8 */;
-/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
-/*!40103 SET TIME_ZONE='+00:00' */;
-/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
-/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
-/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-
-
-DROP TABLE IF EXISTS `table5`;
-SET @saved_cs_client = @@character_set_client;
-SET character_set_client = utf8;
-CREATE TABLE `table5` (
- `col0` mediumtext,
- `col1` varchar(90) DEFAULT NULL,
- `col2` tinytext,
- `col3` time DEFAULT NULL,
- `col4` tinyint(1) DEFAULT NULL,
- `col5` tinytext,
- `col6` tinyint(1) DEFAULT NULL,
- `col7` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `col8` tinyblob,
- `col9` tinyint(4) DEFAULT NULL,
- `col10` year(4) DEFAULT NULL,
- `col11` set('test1','test2','test3') DEFAULT NULL,
- `col12` text,
- `col13` char(248) DEFAULT NULL,
- `col14` bigint(20) DEFAULT NULL,
- `col15` text,
- `col16` tinyint(4) DEFAULT NULL,
- `col17` decimal(10,0) DEFAULT NULL,
- `col18` set('test1','test2','test3') DEFAULT NULL,
- `col19` varchar(255) DEFAULT NULL,
- `col20` float DEFAULT NULL,
- `col21` int(11) DEFAULT NULL,
- `col22` text,
- `col23` tinyint(1) DEFAULT NULL,
- `col24` decimal(10,0) NOT NULL DEFAULT '0',
- `col25` double DEFAULT NULL,
- `col26` float DEFAULT NULL,
- `col27` tinyblob,
- `col28` decimal(10,0) DEFAULT NULL,
- `col29` mediumblob,
- `col30` date DEFAULT NULL,
- `col31` longtext,
- `col32` date DEFAULT NULL,
- `col33` float DEFAULT NULL,
- `col34` bigint(20) DEFAULT NULL,
- `col35` tinytext,
- `col36` mediumtext,
- `col37` time DEFAULT NULL,
- `col38` int(11) DEFAULT NULL,
- `col39` tinyint(4) DEFAULT NULL,
- `col40` set('test1','test2','test3') DEFAULT NULL,
- `col41` char(130) DEFAULT NULL,
- `col42` smallint(6) DEFAULT NULL,
- `col43` int(11) DEFAULT NULL,
- `col44` mediumtext,
- `col45` varchar(126) DEFAULT NULL,
- `col46` int(11) DEFAULT NULL,
- `col47` double DEFAULT NULL,
- `col48` bigint(20) DEFAULT NULL,
- `col49` mediumtext,
- `col50` tinyblob,
- `col51` mediumint(9) DEFAULT NULL,
- `col52` text,
- `col53` varchar(208) DEFAULT NULL,
- `col54` varchar(207) DEFAULT NULL,
- `col55` decimal(10,0) DEFAULT NULL,
- `col56` datetime DEFAULT NULL,
- `col57` enum('test1','test2','test3') DEFAULT NULL,
- `col58` decimal(10,0) DEFAULT NULL,
- `col59` tinyblob,
- `col60` varchar(73) DEFAULT NULL,
- `col61` mediumtext,
- `col62` tinyblob,
- `col63` datetime DEFAULT NULL,
- `col64` decimal(10,0) DEFAULT NULL,
- `col65` mediumint(9) DEFAULT NULL,
- `col66` datetime DEFAULT NULL,
- `col67` decimal(10,0) DEFAULT NULL,
- `col68` tinyint(4) DEFAULT NULL,
- `col69` varchar(58) DEFAULT NULL,
- `col70` decimal(10,0) DEFAULT NULL,
- `col71` mediumtext,
- `col72` date DEFAULT NULL,
- `col73` time DEFAULT NULL,
- `col74` double DEFAULT NULL,
- `col75` decimal(10,0) DEFAULT NULL,
- `col76` mediumblob,
- `col77` double DEFAULT NULL,
- `col78` year(4) DEFAULT NULL,
- `col79` year(4) DEFAULT NULL,
- `col80` varchar(255) DEFAULT NULL,
- `col81` blob,
- `col82` bigint(20) DEFAULT NULL,
- `col83` enum('test1','test2','test3') DEFAULT NULL,
- `col84` decimal(10,0) DEFAULT NULL,
- `col85` set('test1','test2','test3') DEFAULT NULL,
- `col86` mediumtext,
- `col87` varchar(255) DEFAULT NULL,
- `col88` time DEFAULT NULL,
- `col89` enum('test1','test2','test3') DEFAULT NULL,
- `col90` decimal(10,0) DEFAULT NULL,
- `col91` float DEFAULT NULL,
- `col92` datetime DEFAULT NULL,
- `col93` tinytext,
- `col94` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
- `col95` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
- `col96` text,
- `col97` double DEFAULT NULL,
- `col98` varchar(198) DEFAULT NULL,
- `col99` time DEFAULT NULL,
- `col100` tinyint(4) DEFAULT NULL,
- `col101` bigint(20) DEFAULT NULL,
- `col102` varchar(255) DEFAULT NULL,
- `col103` varchar(255) DEFAULT NULL,
- `col104` mediumint(9) DEFAULT NULL,
- `col105` mediumtext,
- `col106` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
- `col107` smallint(6) DEFAULT NULL,
- `col108` decimal(10,0) DEFAULT NULL,
- `col109` decimal(10,0) DEFAULT NULL,
- `col110` float DEFAULT NULL,
- `col111` decimal(10,0) DEFAULT NULL,
- `col112` double DEFAULT NULL,
- `col113` tinytext,
- `col114` float DEFAULT NULL,
- `col115` varchar(7) DEFAULT NULL,
- `col116` longtext,
- `col117` date DEFAULT NULL,
- `col118` bigint(20) DEFAULT NULL,
- `col119` text,
- `col120` bigint(20) DEFAULT NULL,
- `col121` blob,
- `col122` char(110) DEFAULT NULL,
- `col123` decimal(10,0) DEFAULT NULL,
- `col124` mediumblob,
- `col125` decimal(10,0) DEFAULT NULL,
- `col126` decimal(10,0) DEFAULT NULL,
- `col127` tinyint(1) DEFAULT NULL,
- `col128` time DEFAULT NULL,
- `col129` tinyblob,
- `col130` tinyblob,
- `col131` date DEFAULT NULL,
- `col132` int(11) DEFAULT NULL,
- `col133` varchar(123) DEFAULT NULL,
- `col134` char(238) DEFAULT NULL,
- `col135` varchar(225) DEFAULT NULL,
- `col136` longtext,
- `col137` varchar(255) DEFAULT NULL,
- `col138` double DEFAULT NULL,
- `col139` tinyblob,
- `col140` datetime DEFAULT NULL,
- `col141` tinytext,
- `col142` varchar(255) DEFAULT NULL,
- `col143` bigint(20) DEFAULT NULL,
- `col144` varchar(236) DEFAULT NULL,
- `col145` text,
- `col146` year(4) DEFAULT NULL,
- `col147` decimal(10,0) DEFAULT NULL,
- `col148` text,
- `col149` mediumblob,
- `col150` tinyint(4) DEFAULT NULL,
- `col151` tinyint(1) DEFAULT NULL,
- `col152` varchar(72) DEFAULT NULL,
- `col153` int(11) DEFAULT NULL,
- `col154` varchar(165) DEFAULT NULL,
- `col155` tinyint(4) DEFAULT NULL,
- `col156` mediumtext,
- `col157` double DEFAULT NULL,
- `col158` time DEFAULT NULL,
- `col159` mediumblob,
- `col160` varchar(255) DEFAULT NULL,
- `col161` datetime DEFAULT NULL,
- `col162` double DEFAULT NULL,
- `col163` blob,
- `col164` enum('test1','test2','test3') DEFAULT NULL,
- `col165` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
- `col166` date DEFAULT NULL,
- `col167` tinyblob,
- `col168` tinyblob,
- `col169` varchar(255) DEFAULT NULL,
- `col170` datetime DEFAULT NULL,
- `col171` bigint(20) DEFAULT NULL,
- `col172` varchar(30) DEFAULT NULL,
- `col173` longtext,
- `col174` time DEFAULT NULL,
- `col175` float DEFAULT NULL,
- PRIMARY KEY (`col24`),
- KEY `idx0` (`col16`,`col156`(139),`col97`,`col120`),
- KEY `idx1` (`col24`,`col0`(108)),
- KEY `idx2` (`col117`,`col173`(34),`col132`,`col82`),
- KEY `idx3` (`col2`(86)),
- KEY `idx4` (`col2`(43)),
- KEY `idx5` (`col83`,`col35`(87),`col111`),
- KEY `idx6` (`col6`,`col134`,`col92`),
- KEY `idx7` (`col56`),
- KEY `idx8` (`col30`,`col53`,`col129`(66)),
- KEY `idx9` (`col53`,`col113`(211),`col32`,`col15`(75)),
- KEY `idx10` (`col34`),
- KEY `idx11` (`col126`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-SET character_set_client = @saved_cs_client;
-
-
-LOCK TABLES `table5` WRITE;
-/*!40000 ALTER TABLE `table5` DISABLE KEYS */;
-INSERT INTO `table5` VALUES ('referenda','hermaphroditism','superable','00:00:00',-128,NULL,-128,'0000-00-00 00:00:00',NULL,-128,1901,NULL,'blandly',NULL,6541,'unsuspectingly',NULL,'7250','',NULL,-31358,26248,'Kilmarnock\'s',127,'-27305',28987,NULL,NULL,'-30388','utilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitarians','0000-00-00','Agincourt','0000-00-00',-28063,27242,'readies',NULL,'00:00:00',NULL,-128,'',NULL,NULL,18719,NULL,NULL,14038,17275,NULL,'gait\'s','honeymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'sho',8860,NULL,'demigod','outpulling',NULL,'1904-01-17 09:51:06','test1','-18008','grotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'s','Oakleil\'s','Shostakovich','indiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscre','2076-10-05 02:05:43','29914',-18885,'2088-05-25 13:36:33','25',-128,'Bob','-14559','ammeter','0000-00-00','00:00:00',-29756,NULL,'digressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigression',-23894,1963,1915,'SadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadye',NULL,NULL,'','17512','','anaphylaxis\'s','chiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schise','50:11:25','test1','-13685',-18328,'2020-01-19 22:04:54',NULL,'1988-05-10 10:30:56','0000-00-00 00:00:00','Birdie\'s',-27746,NULL,'179:19:25',-128,24141,'radiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparen','ingroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'sing',18950,'Beaulieu','0000-00-00 00:00:00',-23421,'-2865',NULL,NULL,NULL,NULL,'vandalizes',-24683,'interop','Apis\'s','0000-00-00',19745,'Volgograd\'s',-15194,NULL,'Binni','4540','phylumphylumphylumphylum','-25781',NULL,-128,'406:37:03','posthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthastepos','manneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristman','0000-00-00',19774,'shariah',NULL,'aquarelle','homographic',NULL,-18959,'thoroughfarethoroughfarethoroughfarethoroughfarethoroughfarethoroughfare','2000-09-05 03:33:50','Baptlsta','Witt\'sWitt\'sWitt\'sWitt\'sWitt\'sWitt\'sWitt\'sWitt\'s',4727,NULL,'posting',2119,'32416',NULL,'charredcharredcharredcharredcharredcharredcharredcharredcharredcharred',-128,NULL,'Rollin\'s',NULL,NULL,127,'waviness\'s',11164,'424:28:18','FaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucher','stalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'s','1901-01-29 13:48:34',-31988,'Dyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'s','','2022-01-01 21:14:30','0000-00-00','conventionalistconventionalistconventionalistconventionalistconventionalistconventionalistconventionalistconventionalist','mirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnesses','tessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stes','2028-05-21 04:56:16',NULL,'Hasid','Hardecanute','00:00:00',-3782);
-INSERT INTO `table5` VALUES ('hemoglobin\'s','Toffey\'s','Juvenal','00:00:00',-128,'harmonicon',-128,'2004-02-13 09:45:46',NULL,NULL,1911,'','Tananarive\'s',NULL,30666,'spiniferous',127,'30675','','Frederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFr',30388,4769,'Erymanthus\'s',127,'-20972',NULL,-17111,'explosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosiveness','-28154','magnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'s','0000-00-00','removes','0000-00-00',16859,NULL,NULL,'Moishe\'s','00:00:00',NULL,NULL,NULL,'hyperform\'s',30540,-26603,'soporific',NULL,NULL,19264,-14618,NULL,'zootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszo',5654,'intermezzi','Atkins\'s','hieroglyphically','15885','2068-10-19 12:22:30','','4972','apatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapa','severeness','pleaders',NULL,'2070-09-15 17:21:46','15245',-18313,'1934-01-01 01:20:15','-3488',127,'Delawarian','14952','foregathers','0000-00-00','00:00:00',-27837,'7143','madhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'s',-17163,1951,2054,'raffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraf','REMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMs',3607,'','-17633','',NULL,NULL,'806:59:31','test1','-29600',20301,'1985-10-09 17:57:25',NULL,'0000-00-00 00:00:00','0000-00-00 00:00:00','Perseid',-32117,'constructer\'s','612:19:03',127,NULL,'overdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingove','Carlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCa',24868,'preamble','0000-00-00 00:00:00',-7582,'-865','-14488',6884,'-24713',NULL,'topknot\'s',18469,NULL,'histrionism\'s','0000-00-00',31715,'Dag',14543,'wooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'s','tightest',NULL,'aquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'s','15603',NULL,-128,'640:34:17','acetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumaceta','torridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridl','9323-05-13',-28292,'Barnaul\'s',NULL,'slanginesses','supernova',NULL,20804,NULL,'2020-10-05 12:00:38','rive',NULL,-31498,'considerateness\'s','nevus\'s',1901,'-12956','fashioner\'s','unfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'s',-128,127,'nephralgia\'s',13881,'sciatically',NULL,'Tuesday',21227,'00:00:00','halocarbons','duvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduv','2075-01-21 10:49:44',-19735,'snubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubs','test1','0000-00-00 00:00:00','0000-00-00','kiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkib',NULL,'connoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseurscon','1953-01-23 17:36:00',NULL,'Principal',NULL,'316:28:48',NULL);
-INSERT INTO `table5` VALUES (NULL,'Annmarie','intangibleness\'s','00:00:00',-128,'transmogrify',127,'0000-00-00 00:00:00',NULL,127,2093,'','enamored','refired',-21296,'neglectful',127,'-9992','',NULL,NULL,3583,'Lockheed\'s',127,'-15717',-29743,-16280,'embouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembou','-24875',NULL,'0000-00-00',NULL,'0000-00-00',30124,20356,'drinkable','obscenity','00:00:00',NULL,127,'',NULL,-16664,NULL,'unmoor','Vaughan\'s',30457,-16509,-10049,'squeamishness','encirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencir',-16460,'abatement\'s',NULL,'expatriate','-28670','1925-05-15 11:44:20','','-3762','DelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDel','Skerl\'s','unmatched',NULL,'1980-01-11 16:02:04','25917',18187,'2001-07-26 13:48:08','-28706',127,'gimme','8807',NULL,'0000-00-00','00:00:00',7666,'21762','drawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacks',16131,2031,2077,'subjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysub','Argenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'s',NULL,'','-17090','','fobs','humiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliat','221:02:40','','-1107',4624,'1926-05-11 03:35:52',NULL,'2037-05-13 05:02:44','0000-00-00 00:00:00','Heddie\'s',-6554,NULL,'00:00:00',127,NULL,'lxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlx','RawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawley',6613,'Beaufort','0000-00-00 00:00:00',12214,NULL,'25469',-26474,'12062',NULL,'physiographer',26382,'cosmogo','deportment\'s','0000-00-00',17492,'propretor\'s',NULL,'zingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzing','Suzetta','25513','tearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkers','21613',NULL,-128,'108:58:18','sporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallyspo','Monera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'','0000-00-00',18776,'diffractometer',NULL,'crawls','Inglebert','unguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableun',18112,'melanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanis','1940-05-18 13:21:00','artlessly','blotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblots',6476,NULL,'Bartlett',2143,NULL,'thaumaturge\'s','Hazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'s',127,127,'Winthorpe',-29765,'idiocrasy\'s',NULL,'sandcastles',-9852,'281:41:52','Volny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'s','protagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagon','2076-01-04 15:01:57',NULL,'auscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultations','','0000-00-00 00:00:00','0000-00-00','limenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimen','accommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatingly',NULL,'2018-01-01 05:48:54',17404,NULL,NULL,'195:36:50',24658);
-INSERT INTO `table5` VALUES ('caddishly',NULL,'Kotah','00:00:00',-128,'tailoring',127,'0000-00-00 00:00:00','trustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustie',-128,1967,NULL,NULL,'parallelisms',NULL,NULL,127,NULL,'',NULL,NULL,-513,NULL,NULL,'-14518',NULL,-22393,'AngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAng','32257','regalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregaling','0000-00-00','newspaperwoman','0000-00-00',24845,-17741,'impassiveness','Antillean','00:00:00',-13615,-128,'','gantries',-27983,-6070,'Benetton','aridest',NULL,21574,-25634,'McWilliams\'s','burrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowe',18947,NULL,NULL,'surrealistic',NULL,'1954-07-07 08:58:49','test1','-11714','ExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExEx','administrants','Oxycontin','interpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterper','1914-05-28 05:15:03','3942',NULL,'2046-09-07 18:16:36','3220',127,'arising','18472','anacolutha','0000-00-00','613:15:45',NULL,'-23969',NULL,18979,2031,1975,'AlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcesti','septicitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticities',-25058,'',NULL,'','Kulturkampf','pollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpol','00:00:00','','12283',2881,'1926-12-10 09:24:42','Darken\'s','2034-12-21 15:59:00','0000-00-00 00:00:00',NULL,NULL,NULL,'305:05:06',127,NULL,'feudalityfeudality','Merrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMer',-25733,'borak','0000-00-00 00:00:00',-11465,'877',NULL,-1029,'5107',NULL,'Balaton\'s',NULL,'Martian','miserliness','0000-00-00',14689,'catchment',18457,'billet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'s','humerus\'s','24741',NULL,NULL,'-19233',-128,'00:00:00','fashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfas','judiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjud','0000-00-00',15972,'Letrice\'s','hydrographer',NULL,'Federica','evidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevi',4115,'pshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspsh','1924-10-15 16:31:18','Hamlet','trowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'',-3485,'galvanized',NULL,1924,'-22877','unfired','inchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'s',-128,-128,'VHF',-5304,NULL,127,'glossator',16348,'213:10:59','',NULL,'1946-01-11 17:25:16',262,'DoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDouty','test1','0000-00-00 00:00:00','0000-00-00',NULL,'feasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasibl','contortionisticcontortionisticcontortionisticcontortionisticcontortionisticcontortionisticcontortionistic','2027-06-09 07:56:16',6909,'tessitura','indefensible','00:00:00',-6628);
-INSERT INTO `table5` VALUES ('bassoonist\'s',NULL,'refastens','114:27:50',127,'unrestricted',127,'2032-01-13 11:11:22','abstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'s',NULL,1955,'','Hodosh','allocates',-5067,'Cenac\'s',-128,'31546',NULL,'impassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassab',-30347,292,'Sandi\'s',NULL,'-12402',8206,NULL,'encircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircl','6346','ArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentinians','0000-00-00','Riehl\'s','0000-00-00',NULL,5580,'planets',NULL,'58:35:07',317,127,'','gender',-19514,7112,'Pissaro','relevantly',28777,-21818,-17111,'shoddiness\'s',NULL,NULL,'flee','Boatwright\'s','restrict','12537','2096-04-25 08:45:21','test1','-4613','quagga','masterstroke\'s','overcheck\'s',NULL,'1981-10-14 18:30:02','21097',-26481,'2065-07-11 02:13:44',NULL,NULL,'bathroom','-29833','gracelessness\'s','0000-00-00','09:44:40',-7368,NULL,'applecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'s',-21077,2015,2039,'cascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scas','nervingnervingnervingnervingnervingnervingnervingnervingnervingnerving',22043,'','5740','','mustached','actin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'s','00:00:00','test1','13871',-22276,'1956-01-05 15:08:47','slimline','0000-00-00 00:00:00','0000-00-00 00:00:00','royally',NULL,'mako','51:54:53',NULL,NULL,'deliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'s','DOADOADOADOADOADOADOADOADOADOADOADOADOA',-16244,'Fayette\'s','2020-06-21 05:34:18',-24353,'24097','-28819',12278,'-2365',21322,'stumps',-61,NULL,'subpoena\'s','0000-00-00',31242,'knicker',23567,NULL,'Cathar','29557','thallusthallusthallusthallusthallusthallusthallusthallusthallusthallus','26114',NULL,-128,'00:00:00','salmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsal','shiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshive','0000-00-00',-3152,'syndesis','misbrands','Smiga','stagnation\'s','nonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricno',NULL,NULL,'1988-09-11 14:33:03',NULL,'provokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglypr',25510,'thunderpeal\'s','hierology',1932,'7729','Fahrenheit','metathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'s',NULL,-128,'sinfonia\'s',-6293,'proactive',127,NULL,-24751,'00:00:00','woodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopper','Constantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'','1997-01-01 22:40:48',NULL,'MatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlick','test1','2000-12-17 11:19:08','0000-00-00',NULL,'cosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmica','Loesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesc','2078-07-25 04:56:08',10472,NULL,NULL,'345:12:02',-13120);
-INSERT INTO `table5` VALUES ('segmentation\'s','shapelessness\'s','coagulators','127:46:24',-128,NULL,127,'0000-00-00 00:00:00','seekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingsee',NULL,2085,'','indent','flyblown',NULL,'Alegre',-128,'-27917','','DesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDes',2473,NULL,'screwball\'s',NULL,'-4861',-7088,-30734,'tambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintam',NULL,NULL,'0000-00-00','Dorcia','0000-00-00',-25745,-1237,'Shoifet\'s','sarsaparillas','21:11:41',31612,-128,'','subway\'s',-5032,-30369,'preventives','lyre',7995,21283,13197,'chippies','rubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubig',19050,'orch','semiliterates','Gerome',NULL,'2058-12-26 21:29:19','',NULL,'dyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdya','Dukas\'s','Christiania','polyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvale','1920-05-23 14:07:00','672',NULL,'1956-06-27 12:15:00','-22658',NULL,'holograph\'s',NULL,'gutsy','0000-00-00','00:00:00',-9558,'1148','fainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfains',NULL,2023,2132,'Balmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBal','overdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdo',-24707,'test1','-13970','','tensility','BuddieBuddieBuddieBuddieBuddieBuddieBuddieBuddieBuddieBuddie','00:00:00','','580',25115,'2000-07-01 09:01:36','apprentice','1992-01-01 08:55:38','0000-00-00 00:00:00','premunire',24664,NULL,'821:21:05',NULL,-29284,'rapidestrapidestrapidestrapidestrapidestrapidestrapidest','convectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorcon',-3808,'intuitively','0000-00-00 00:00:00',-22296,NULL,'2802',28786,NULL,NULL,'loanword',-12107,'deodori','strophe','0000-00-00',-11013,'undeclared',-8513,'sinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'s','peloria\'s','14940','blushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblush','30550','11566',127,'00:00:00','worktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'swo','looker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'s','5657-05-11',23094,'onerousness','bearer','censured','Shoemaker','mulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomul',5930,'ZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoust','1953-04-28 11:55:44','consulted','invalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinv',-27798,'carnauba\'s','Wilson',1963,NULL,'On\'s','leisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurely',NULL,-128,NULL,17674,'Queenstown\'s',-128,'convertors',1776,'576:20:59',NULL,'allegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriall','2097-10-02 08:41:26',31057,'AfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikaners','test1','0000-00-00 00:00:00','0000-00-00','backwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbac',NULL,NULL,'1932-10-01 18:49:04',12985,NULL,'leukocytes','603:54:26',-22488);
-INSERT INTO `table5` VALUES ('Frasquito\'s','unsatisfactory','jetted','00:00:00',NULL,'Merlin\'s',127,'0000-00-00 00:00:00',NULL,NULL,1998,'','decomposer','Commons',-14813,'oversimplification\'s',NULL,'-5368','','engirdengirdengirdengirdengirdengirdengirdengirdengird',-13627,14305,'frontally',127,'18421',-32295,NULL,NULL,'21841',NULL,'0000-00-00','cytology','2424-00-17',-30542,-17621,'octarchy\'s','outfoxed','00:00:00',27469,-128,'','Kamat\'s',-24130,-5948,'riband','Betsy',NULL,-18769,NULL,NULL,'Serafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSeraf',NULL,'disconcerting',NULL,'whirly','-20343','2020-07-01 12:09:36','','-26975','antiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticant',NULL,'ecumenically','utilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilize','1952-08-01 17:53:28','7903',-5633,'2024-03-17 13:46:59','-5474',127,'Malmö\'s',NULL,NULL,'0000-00-00','571:58:00',17287,'26711','alphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetize',-15158,2001,1997,'hobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithob','Campinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'s',-5693,'test1','3741','','Audrye\'s','monstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymo','00:00:00','test1','-21023',4693,'1998-01-06 04:41:40','Silastic\'s','0000-00-00 00:00:00','0000-00-00 00:00:00','Hedelman\'s',-30080,'normalization\'s','00:00:00',NULL,8197,NULL,NULL,NULL,'nudism\'s','2005-04-13 00:31:55',29046,'8992','11992',NULL,'-1685',-11453,'mythology\'s',26185,'Pyrenea','Pedrick\'s','0000-00-00',27436,'shots',NULL,'discordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscords','bayonet','-7217','scriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscripts',NULL,'17182',NULL,'628:49:55','nunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenuncle',NULL,'0000-00-00',-17444,'celestite\'s','Adars','Hispaniola','Mesopotamians','agglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutin',31998,'electrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistriesele','2005-09-09 23:41:06','bastinaded',NULL,-10763,'impetuosity\'s','xenogenesis\'s',1947,'-29913',NULL,'taxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomies',NULL,NULL,'internees',28697,'Kharkov\'s',NULL,'Swabia',18366,'00:00:00','delayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayer','circusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycir','2066-02-13 14:27:00',-28405,NULL,'test1','0000-00-00 00:00:00','0000-00-00','heterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotr','enchondromaenchondromaenchondromaenchondromaenchondromaenchondromaenchondromaenchondroma','AryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAry','2090-10-13 10:03:05',NULL,NULL,'Yucatan','285:37:51',7627);
-/*!40000 ALTER TABLE `table5` ENABLE KEYS */;
-UNLOCK TABLES;
-/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
-
-/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
-/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
-/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
-/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
-/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
-/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-
-
-#explain select * from `table5` where (col2 <= '6566-06-15' AND col24 <> 'd') group by `col83` order by `col83` desc ;
-
-select * from `table5` where (col2 <= '6566-06-15' AND col24 <> 'd') group by `col83` order by `col83` desc ;
-
-drop table `table5`;
+--source include/have_debug.inc
+# Test for BUG#42991 "invalid memory access and/or crash when using
+# index condition pushdown + InnoDB"
+# Note that you need to run with --valgrind to see the warnings
+# about invalid memory accesses.
+
+--source include/have_innodb.inc
+
+# Valgrind errors happen only with this:
+set session debug_dbug="+d,optimizer_innodb_icp";
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+
+DROP TABLE IF EXISTS `table5`;
+SET @saved_cs_client = @@character_set_client;
+SET character_set_client = utf8;
+CREATE TABLE `table5` (
+ `col0` mediumtext,
+ `col1` varchar(90) DEFAULT NULL,
+ `col2` tinytext,
+ `col3` time DEFAULT NULL,
+ `col4` tinyint(1) DEFAULT NULL,
+ `col5` tinytext,
+ `col6` tinyint(1) DEFAULT NULL,
+ `col7` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+ `col8` tinyblob,
+ `col9` tinyint(4) DEFAULT NULL,
+ `col10` year(4) DEFAULT NULL,
+ `col11` set('test1','test2','test3') DEFAULT NULL,
+ `col12` text,
+ `col13` char(248) DEFAULT NULL,
+ `col14` bigint(20) DEFAULT NULL,
+ `col15` text,
+ `col16` tinyint(4) DEFAULT NULL,
+ `col17` decimal(10,0) DEFAULT NULL,
+ `col18` set('test1','test2','test3') DEFAULT NULL,
+ `col19` varchar(255) DEFAULT NULL,
+ `col20` float DEFAULT NULL,
+ `col21` int(11) DEFAULT NULL,
+ `col22` text,
+ `col23` tinyint(1) DEFAULT NULL,
+ `col24` decimal(10,0) NOT NULL DEFAULT '0',
+ `col25` double DEFAULT NULL,
+ `col26` float DEFAULT NULL,
+ `col27` tinyblob,
+ `col28` decimal(10,0) DEFAULT NULL,
+ `col29` mediumblob,
+ `col30` date DEFAULT NULL,
+ `col31` longtext,
+ `col32` date DEFAULT NULL,
+ `col33` float DEFAULT NULL,
+ `col34` bigint(20) DEFAULT NULL,
+ `col35` tinytext,
+ `col36` mediumtext,
+ `col37` time DEFAULT NULL,
+ `col38` int(11) DEFAULT NULL,
+ `col39` tinyint(4) DEFAULT NULL,
+ `col40` set('test1','test2','test3') DEFAULT NULL,
+ `col41` char(130) DEFAULT NULL,
+ `col42` smallint(6) DEFAULT NULL,
+ `col43` int(11) DEFAULT NULL,
+ `col44` mediumtext,
+ `col45` varchar(126) DEFAULT NULL,
+ `col46` int(11) DEFAULT NULL,
+ `col47` double DEFAULT NULL,
+ `col48` bigint(20) DEFAULT NULL,
+ `col49` mediumtext,
+ `col50` tinyblob,
+ `col51` mediumint(9) DEFAULT NULL,
+ `col52` text,
+ `col53` varchar(208) DEFAULT NULL,
+ `col54` varchar(207) DEFAULT NULL,
+ `col55` decimal(10,0) DEFAULT NULL,
+ `col56` datetime DEFAULT NULL,
+ `col57` enum('test1','test2','test3') DEFAULT NULL,
+ `col58` decimal(10,0) DEFAULT NULL,
+ `col59` tinyblob,
+ `col60` varchar(73) DEFAULT NULL,
+ `col61` mediumtext,
+ `col62` tinyblob,
+ `col63` datetime DEFAULT NULL,
+ `col64` decimal(10,0) DEFAULT NULL,
+ `col65` mediumint(9) DEFAULT NULL,
+ `col66` datetime DEFAULT NULL,
+ `col67` decimal(10,0) DEFAULT NULL,
+ `col68` tinyint(4) DEFAULT NULL,
+ `col69` varchar(58) DEFAULT NULL,
+ `col70` decimal(10,0) DEFAULT NULL,
+ `col71` mediumtext,
+ `col72` date DEFAULT NULL,
+ `col73` time DEFAULT NULL,
+ `col74` double DEFAULT NULL,
+ `col75` decimal(10,0) DEFAULT NULL,
+ `col76` mediumblob,
+ `col77` double DEFAULT NULL,
+ `col78` year(4) DEFAULT NULL,
+ `col79` year(4) DEFAULT NULL,
+ `col80` varchar(255) DEFAULT NULL,
+ `col81` blob,
+ `col82` bigint(20) DEFAULT NULL,
+ `col83` enum('test1','test2','test3') DEFAULT NULL,
+ `col84` decimal(10,0) DEFAULT NULL,
+ `col85` set('test1','test2','test3') DEFAULT NULL,
+ `col86` mediumtext,
+ `col87` varchar(255) DEFAULT NULL,
+ `col88` time DEFAULT NULL,
+ `col89` enum('test1','test2','test3') DEFAULT NULL,
+ `col90` decimal(10,0) DEFAULT NULL,
+ `col91` float DEFAULT NULL,
+ `col92` datetime DEFAULT NULL,
+ `col93` tinytext,
+ `col94` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `col95` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `col96` text,
+ `col97` double DEFAULT NULL,
+ `col98` varchar(198) DEFAULT NULL,
+ `col99` time DEFAULT NULL,
+ `col100` tinyint(4) DEFAULT NULL,
+ `col101` bigint(20) DEFAULT NULL,
+ `col102` varchar(255) DEFAULT NULL,
+ `col103` varchar(255) DEFAULT NULL,
+ `col104` mediumint(9) DEFAULT NULL,
+ `col105` mediumtext,
+ `col106` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `col107` smallint(6) DEFAULT NULL,
+ `col108` decimal(10,0) DEFAULT NULL,
+ `col109` decimal(10,0) DEFAULT NULL,
+ `col110` float DEFAULT NULL,
+ `col111` decimal(10,0) DEFAULT NULL,
+ `col112` double DEFAULT NULL,
+ `col113` tinytext,
+ `col114` float DEFAULT NULL,
+ `col115` varchar(7) DEFAULT NULL,
+ `col116` longtext,
+ `col117` date DEFAULT NULL,
+ `col118` bigint(20) DEFAULT NULL,
+ `col119` text,
+ `col120` bigint(20) DEFAULT NULL,
+ `col121` blob,
+ `col122` char(110) DEFAULT NULL,
+ `col123` decimal(10,0) DEFAULT NULL,
+ `col124` mediumblob,
+ `col125` decimal(10,0) DEFAULT NULL,
+ `col126` decimal(10,0) DEFAULT NULL,
+ `col127` tinyint(1) DEFAULT NULL,
+ `col128` time DEFAULT NULL,
+ `col129` tinyblob,
+ `col130` tinyblob,
+ `col131` date DEFAULT NULL,
+ `col132` int(11) DEFAULT NULL,
+ `col133` varchar(123) DEFAULT NULL,
+ `col134` char(238) DEFAULT NULL,
+ `col135` varchar(225) DEFAULT NULL,
+ `col136` longtext,
+ `col137` varchar(255) DEFAULT NULL,
+ `col138` double DEFAULT NULL,
+ `col139` tinyblob,
+ `col140` datetime DEFAULT NULL,
+ `col141` tinytext,
+ `col142` varchar(255) DEFAULT NULL,
+ `col143` bigint(20) DEFAULT NULL,
+ `col144` varchar(236) DEFAULT NULL,
+ `col145` text,
+ `col146` year(4) DEFAULT NULL,
+ `col147` decimal(10,0) DEFAULT NULL,
+ `col148` text,
+ `col149` mediumblob,
+ `col150` tinyint(4) DEFAULT NULL,
+ `col151` tinyint(1) DEFAULT NULL,
+ `col152` varchar(72) DEFAULT NULL,
+ `col153` int(11) DEFAULT NULL,
+ `col154` varchar(165) DEFAULT NULL,
+ `col155` tinyint(4) DEFAULT NULL,
+ `col156` mediumtext,
+ `col157` double DEFAULT NULL,
+ `col158` time DEFAULT NULL,
+ `col159` mediumblob,
+ `col160` varchar(255) DEFAULT NULL,
+ `col161` datetime DEFAULT NULL,
+ `col162` double DEFAULT NULL,
+ `col163` blob,
+ `col164` enum('test1','test2','test3') DEFAULT NULL,
+ `col165` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `col166` date DEFAULT NULL,
+ `col167` tinyblob,
+ `col168` tinyblob,
+ `col169` varchar(255) DEFAULT NULL,
+ `col170` datetime DEFAULT NULL,
+ `col171` bigint(20) DEFAULT NULL,
+ `col172` varchar(30) DEFAULT NULL,
+ `col173` longtext,
+ `col174` time DEFAULT NULL,
+ `col175` float DEFAULT NULL,
+ PRIMARY KEY (`col24`),
+ KEY `idx0` (`col16`,`col156`(139),`col97`,`col120`),
+ KEY `idx1` (`col24`,`col0`(108)),
+ KEY `idx2` (`col117`,`col173`(34),`col132`,`col82`),
+ KEY `idx3` (`col2`(86)),
+ KEY `idx4` (`col2`(43)),
+ KEY `idx5` (`col83`,`col35`(87),`col111`),
+ KEY `idx6` (`col6`,`col134`,`col92`),
+ KEY `idx7` (`col56`),
+ KEY `idx8` (`col30`,`col53`,`col129`(66)),
+ KEY `idx9` (`col53`,`col113`(211),`col32`,`col15`(75)),
+ KEY `idx10` (`col34`),
+ KEY `idx11` (`col126`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+SET character_set_client = @saved_cs_client;
+
+
+LOCK TABLES `table5` WRITE;
+/*!40000 ALTER TABLE `table5` DISABLE KEYS */;
+INSERT INTO `table5` VALUES ('referenda','hermaphroditism','superable','00:00:00',-128,NULL,-128,'0000-00-00 00:00:00',NULL,-128,1901,NULL,'blandly',NULL,6541,'unsuspectingly',NULL,'7250','',NULL,-31358,26248,'Kilmarnock\'s',127,'-27305',28987,NULL,NULL,'-30388','utilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitariansutilitarians','0000-00-00','Agincourt','0000-00-00',-28063,27242,'readies',NULL,'00:00:00',NULL,-128,'',NULL,NULL,18719,NULL,NULL,14038,17275,NULL,'gait\'s','honeymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'shoneymoon\'sho',8860,NULL,'demigod','outpulling',NULL,'1904-01-17 09:51:06','test1','-18008','grotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'sgrotesqueness\'s','Oakleil\'s','Shostakovich','indiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscretionsindiscre','2076-10-05 02:05:43','29914',-18885,'2088-05-25 13:36:33','25',-128,'Bob','-14559','ammeter','0000-00-00','00:00:00',-29756,NULL,'digressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigressiondigression',-23894,1963,1915,'SadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadyeSadye',NULL,NULL,'','17512','','anaphylaxis\'s','chiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schiseler\'schise','50:11:25','test1','-13685',-18328,'2020-01-19 22:04:54',NULL,'1988-05-10 10:30:56','0000-00-00 00:00:00','Birdie\'s',-27746,NULL,'179:19:25',-128,24141,'radiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparentradiotransparen','ingroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'singroup\'sing',18950,'Beaulieu','0000-00-00 00:00:00',-23421,'-2865',NULL,NULL,NULL,NULL,'vandalizes',-24683,'interop','Apis\'s','0000-00-00',19745,'Volgograd\'s',-15194,NULL,'Binni','4540','phylumphylumphylumphylum','-25781',NULL,-128,'406:37:03','posthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthasteposthastepos','manneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristmanneristman','0000-00-00',19774,'shariah',NULL,'aquarelle','homographic',NULL,-18959,'thoroughfarethoroughfarethoroughfarethoroughfarethoroughfarethoroughfare','2000-09-05 03:33:50','Baptlsta','Witt\'sWitt\'sWitt\'sWitt\'sWitt\'sWitt\'sWitt\'sWitt\'s',4727,NULL,'posting',2119,'32416',NULL,'charredcharredcharredcharredcharredcharredcharredcharredcharredcharred',-128,NULL,'Rollin\'s',NULL,NULL,127,'waviness\'s',11164,'424:28:18','FaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucherFaucher','stalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'sstalactite\'s','1901-01-29 13:48:34',-31988,'Dyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'sDyan\'s','','2022-01-01 21:14:30','0000-00-00','conventionalistconventionalistconventionalistconventionalistconventionalistconventionalistconventionalistconventionalist','mirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnessesmirthlessnesses','tessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stessellation\'stes','2028-05-21 04:56:16',NULL,'Hasid','Hardecanute','00:00:00',-3782);
+INSERT INTO `table5` VALUES ('hemoglobin\'s','Toffey\'s','Juvenal','00:00:00',-128,'harmonicon',-128,'2004-02-13 09:45:46',NULL,NULL,1911,'','Tananarive\'s',NULL,30666,'spiniferous',127,'30675','','Frederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFrederick\'sFr',30388,4769,'Erymanthus\'s',127,'-20972',NULL,-17111,'explosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosivenessexplosiveness','-28154','magnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'smagnitude\'s','0000-00-00','removes','0000-00-00',16859,NULL,NULL,'Moishe\'s','00:00:00',NULL,NULL,NULL,'hyperform\'s',30540,-26603,'soporific',NULL,NULL,19264,-14618,NULL,'zootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszootechnicszo',5654,'intermezzi','Atkins\'s','hieroglyphically','15885','2068-10-19 12:22:30','','4972','apatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapatosaurapa','severeness','pleaders',NULL,'2070-09-15 17:21:46','15245',-18313,'1934-01-01 01:20:15','-3488',127,'Delawarian','14952','foregathers','0000-00-00','00:00:00',-27837,'7143','madhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'smadhouse\'s',-17163,1951,2054,'raffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraffiaraf','REMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMsREMs',3607,'','-17633','',NULL,NULL,'806:59:31','test1','-29600',20301,'1985-10-09 17:57:25',NULL,'0000-00-00 00:00:00','0000-00-00 00:00:00','Perseid',-32117,'constructer\'s','612:19:03',127,NULL,'overdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingoverdressingove','Carlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCarlstrom\'sCa',24868,'preamble','0000-00-00 00:00:00',-7582,'-865','-14488',6884,'-24713',NULL,'topknot\'s',18469,NULL,'histrionism\'s','0000-00-00',31715,'Dag',14543,'wooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'swooziness\'s','tightest',NULL,'aquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'saquiculture\'s','15603',NULL,-128,'640:34:17','acetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumacetabulumaceta','torridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridlytorridl','9323-05-13',-28292,'Barnaul\'s',NULL,'slanginesses','supernova',NULL,20804,NULL,'2020-10-05 12:00:38','rive',NULL,-31498,'considerateness\'s','nevus\'s',1901,'-12956','fashioner\'s','unfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'sunfitness\'s',-128,127,'nephralgia\'s',13881,'sciatically',NULL,'Tuesday',21227,'00:00:00','halocarbons','duvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduvetynduv','2075-01-21 10:49:44',-19735,'snubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubssnubs','test1','0000-00-00 00:00:00','0000-00-00','kiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkiblahkib',NULL,'connoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseursconnoisseurscon','1953-01-23 17:36:00',NULL,'Principal',NULL,'316:28:48',NULL);
+INSERT INTO `table5` VALUES (NULL,'Annmarie','intangibleness\'s','00:00:00',-128,'transmogrify',127,'0000-00-00 00:00:00',NULL,127,2093,'','enamored','refired',-21296,'neglectful',127,'-9992','',NULL,NULL,3583,'Lockheed\'s',127,'-15717',-29743,-16280,'embouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembouchureembou','-24875',NULL,'0000-00-00',NULL,'0000-00-00',30124,20356,'drinkable','obscenity','00:00:00',NULL,127,'',NULL,-16664,NULL,'unmoor','Vaughan\'s',30457,-16509,-10049,'squeamishness','encirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencirclingencir',-16460,'abatement\'s',NULL,'expatriate','-28670','1925-05-15 11:44:20','','-3762','DelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDelwynDel','Skerl\'s','unmatched',NULL,'1980-01-11 16:02:04','25917',18187,'2001-07-26 13:48:08','-28706',127,'gimme','8807',NULL,'0000-00-00','00:00:00',7666,'21762','drawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacksdrawbacks',16131,2031,2077,'subjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysubjectivitysub','Argenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'sArgenteuil\'s',NULL,'','-17090','','fobs','humiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliatinglyhumiliat','221:02:40','','-1107',4624,'1926-05-11 03:35:52',NULL,'2037-05-13 05:02:44','0000-00-00 00:00:00','Heddie\'s',-6554,NULL,'00:00:00',127,NULL,'lxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlxlx','RawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawleyRawley',6613,'Beaufort','0000-00-00 00:00:00',12214,NULL,'25469',-26474,'12062',NULL,'physiographer',26382,'cosmogo','deportment\'s','0000-00-00',17492,'propretor\'s',NULL,'zingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzingzing','Suzetta','25513','tearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkerstearjerkers','21613',NULL,-128,'108:58:18','sporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallysporadicallyspo','Monera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'sMonera\'','0000-00-00',18776,'diffractometer',NULL,'crawls','Inglebert','unguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableunguessableun',18112,'melanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanismmelanis','1940-05-18 13:21:00','artlessly','blotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblotsblots',6476,NULL,'Bartlett',2143,NULL,'thaumaturge\'s','Hazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'sHazelton\'s',127,127,'Winthorpe',-29765,'idiocrasy\'s',NULL,'sandcastles',-9852,'281:41:52','Volny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'sVolny\'s','protagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagonist\'sprotagon','2076-01-04 15:01:57',NULL,'auscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultationsauscultations','','0000-00-00 00:00:00','0000-00-00','limenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimenlimen','accommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatinglyaccommodatingly',NULL,'2018-01-01 05:48:54',17404,NULL,NULL,'195:36:50',24658);
+INSERT INTO `table5` VALUES ('caddishly',NULL,'Kotah','00:00:00',-128,'tailoring',127,'0000-00-00 00:00:00','trustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustiestrustie',-128,1967,NULL,NULL,'parallelisms',NULL,NULL,127,NULL,'',NULL,NULL,-513,NULL,NULL,'-14518',NULL,-22393,'AngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAngeliAng','32257','regalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregalingregaling','0000-00-00','newspaperwoman','0000-00-00',24845,-17741,'impassiveness','Antillean','00:00:00',-13615,-128,'','gantries',-27983,-6070,'Benetton','aridest',NULL,21574,-25634,'McWilliams\'s','burrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowedburrowe',18947,NULL,NULL,'surrealistic',NULL,'1954-07-07 08:58:49','test1','-11714','ExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExExEx','administrants','Oxycontin','interpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterpersonalinterper','1914-05-28 05:15:03','3942',NULL,'2046-09-07 18:16:36','3220',127,'arising','18472','anacolutha','0000-00-00','613:15:45',NULL,'-23969',NULL,18979,2031,1975,'AlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcestisAlcesti','septicitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticitiessepticities',-25058,'',NULL,'','Kulturkampf','pollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpollutantpol','00:00:00','','12283',2881,'1926-12-10 09:24:42','Darken\'s','2034-12-21 15:59:00','0000-00-00 00:00:00',NULL,NULL,NULL,'305:05:06',127,NULL,'feudalityfeudality','Merrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMerrili\'sMer',-25733,'borak','0000-00-00 00:00:00',-11465,'877',NULL,-1029,'5107',NULL,'Balaton\'s',NULL,'Martian','miserliness','0000-00-00',14689,'catchment',18457,'billet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'sbillet\'s','humerus\'s','24741',NULL,NULL,'-19233',-128,'00:00:00','fashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfashfas','judiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjudiciaryjud','0000-00-00',15972,'Letrice\'s','hydrographer',NULL,'Federica','evidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevidentlyevi',4115,'pshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspshawspsh','1924-10-15 16:31:18','Hamlet','trowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'strowel\'',-3485,'galvanized',NULL,1924,'-22877','unfired','inchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'sinchworm\'s',-128,-128,'VHF',-5304,NULL,127,'glossator',16348,'213:10:59','',NULL,'1946-01-11 17:25:16',262,'DoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDoutyDouty','test1','0000-00-00 00:00:00','0000-00-00',NULL,'feasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasiblefeasibl','contortionisticcontortionisticcontortionisticcontortionisticcontortionisticcontortionisticcontortionistic','2027-06-09 07:56:16',6909,'tessitura','indefensible','00:00:00',-6628);
+INSERT INTO `table5` VALUES ('bassoonist\'s',NULL,'refastens','114:27:50',127,'unrestricted',127,'2032-01-13 11:11:22','abstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'sabstainer\'s',NULL,1955,'','Hodosh','allocates',-5067,'Cenac\'s',-128,'31546',NULL,'impassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassabilityimpassab',-30347,292,'Sandi\'s',NULL,'-12402',8206,NULL,'encircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircleencircl','6346','ArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentiniansArgentinians','0000-00-00','Riehl\'s','0000-00-00',NULL,5580,'planets',NULL,'58:35:07',317,127,'','gender',-19514,7112,'Pissaro','relevantly',28777,-21818,-17111,'shoddiness\'s',NULL,NULL,'flee','Boatwright\'s','restrict','12537','2096-04-25 08:45:21','test1','-4613','quagga','masterstroke\'s','overcheck\'s',NULL,'1981-10-14 18:30:02','21097',-26481,'2065-07-11 02:13:44',NULL,NULL,'bathroom','-29833','gracelessness\'s','0000-00-00','09:44:40',-7368,NULL,'applecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'sapplecart\'s',-21077,2015,2039,'cascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scascara\'scas','nervingnervingnervingnervingnervingnervingnervingnervingnervingnerving',22043,'','5740','','mustached','actin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'sactin\'s','00:00:00','test1','13871',-22276,'1956-01-05 15:08:47','slimline','0000-00-00 00:00:00','0000-00-00 00:00:00','royally',NULL,'mako','51:54:53',NULL,NULL,'deliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'sdeliquescence\'s','DOADOADOADOADOADOADOADOADOADOADOADOADOA',-16244,'Fayette\'s','2020-06-21 05:34:18',-24353,'24097','-28819',12278,'-2365',21322,'stumps',-61,NULL,'subpoena\'s','0000-00-00',31242,'knicker',23567,NULL,'Cathar','29557','thallusthallusthallusthallusthallusthallusthallusthallusthallusthallus','26114',NULL,-128,'00:00:00','salmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsalmonoidsal','shiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshiveshive','0000-00-00',-3152,'syndesis','misbrands','Smiga','stagnation\'s','nonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricnonelectricno',NULL,NULL,'1988-09-11 14:33:03',NULL,'provokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglyprovokinglypr',25510,'thunderpeal\'s','hierology',1932,'7729','Fahrenheit','metathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'smetathesis\'s',NULL,-128,'sinfonia\'s',-6293,'proactive',127,NULL,-24751,'00:00:00','woodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopperwoodchopper','Constantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'sConstantinople\'','1997-01-01 22:40:48',NULL,'MatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlickMatlick','test1','2000-12-17 11:19:08','0000-00-00',NULL,'cosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmicalcosmica','Loesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesceke\'sLoesc','2078-07-25 04:56:08',10472,NULL,NULL,'345:12:02',-13120);
+INSERT INTO `table5` VALUES ('segmentation\'s','shapelessness\'s','coagulators','127:46:24',-128,NULL,127,'0000-00-00 00:00:00','seekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingseekingsee',NULL,2085,'','indent','flyblown',NULL,'Alegre',-128,'-27917','','DesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDesiraeDes',2473,NULL,'screwball\'s',NULL,'-4861',-7088,-30734,'tambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintambourintam',NULL,NULL,'0000-00-00','Dorcia','0000-00-00',-25745,-1237,'Shoifet\'s','sarsaparillas','21:11:41',31612,-128,'','subway\'s',-5032,-30369,'preventives','lyre',7995,21283,13197,'chippies','rubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubiginousrubig',19050,'orch','semiliterates','Gerome',NULL,'2058-12-26 21:29:19','',NULL,'dyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdyad\'sdya','Dukas\'s','Christiania','polyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvalenciespolyvale','1920-05-23 14:07:00','672',NULL,'1956-06-27 12:15:00','-22658',NULL,'holograph\'s',NULL,'gutsy','0000-00-00','00:00:00',-9558,'1148','fainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfainsfains',NULL,2023,2132,'Balmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBalmung\'sBal','overdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdooverdo',-24707,'test1','-13970','','tensility','BuddieBuddieBuddieBuddieBuddieBuddieBuddieBuddieBuddieBuddie','00:00:00','','580',25115,'2000-07-01 09:01:36','apprentice','1992-01-01 08:55:38','0000-00-00 00:00:00','premunire',24664,NULL,'821:21:05',NULL,-29284,'rapidestrapidestrapidestrapidestrapidestrapidestrapidest','convectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorconvectorcon',-3808,'intuitively','0000-00-00 00:00:00',-22296,NULL,'2802',28786,NULL,NULL,'loanword',-12107,'deodori','strophe','0000-00-00',-11013,'undeclared',-8513,'sinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'ssinuosity\'s','peloria\'s','14940','blushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblushblush','30550','11566',127,'00:00:00','worktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'sworktable\'swo','looker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'slooker\'s','5657-05-11',23094,'onerousness','bearer','censured','Shoemaker','mulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomulattomul',5930,'ZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoustZlatoust','1953-04-28 11:55:44','consulted','invalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinvalidity\'sinv',-27798,'carnauba\'s','Wilson',1963,NULL,'On\'s','leisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurelyleisurely',NULL,-128,NULL,17674,'Queenstown\'s',-128,'convertors',1776,'576:20:59',NULL,'allegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriallegriall','2097-10-02 08:41:26',31057,'AfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikanersAfrikaners','test1','0000-00-00 00:00:00','0000-00-00','backwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbackwardsbac',NULL,NULL,'1932-10-01 18:49:04',12985,NULL,'leukocytes','603:54:26',-22488);
+INSERT INTO `table5` VALUES ('Frasquito\'s','unsatisfactory','jetted','00:00:00',NULL,'Merlin\'s',127,'0000-00-00 00:00:00',NULL,NULL,1998,'','decomposer','Commons',-14813,'oversimplification\'s',NULL,'-5368','','engirdengirdengirdengirdengirdengirdengirdengirdengird',-13627,14305,'frontally',127,'18421',-32295,NULL,NULL,'21841',NULL,'0000-00-00','cytology','2424-00-17',-30542,-17621,'octarchy\'s','outfoxed','00:00:00',27469,-128,'','Kamat\'s',-24130,-5948,'riband','Betsy',NULL,-18769,NULL,NULL,'Serafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSerafina\'sSeraf',NULL,'disconcerting',NULL,'whirly','-20343','2020-07-01 12:09:36','','-26975','antiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticantiphlogisticant',NULL,'ecumenically','utilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilizerutilize','1952-08-01 17:53:28','7903',-5633,'2024-03-17 13:46:59','-5474',127,'Malmö\'s',NULL,NULL,'0000-00-00','571:58:00',17287,'26711','alphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetizealphabetize',-15158,2001,1997,'hobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithobbithob','Campinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'sCampinas\'s',-5693,'test1','3741','','Audrye\'s','monstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymonstrouslymo','00:00:00','test1','-21023',4693,'1998-01-06 04:41:40','Silastic\'s','0000-00-00 00:00:00','0000-00-00 00:00:00','Hedelman\'s',-30080,'normalization\'s','00:00:00',NULL,8197,NULL,NULL,NULL,'nudism\'s','2005-04-13 00:31:55',29046,'8992','11992',NULL,'-1685',-11453,'mythology\'s',26185,'Pyrenea','Pedrick\'s','0000-00-00',27436,'shots',NULL,'discordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscordsdiscords','bayonet','-7217','scriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscriptsscripts',NULL,'17182',NULL,'628:49:55','nunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenunclenuncle',NULL,'0000-00-00',-17444,'celestite\'s','Adars','Hispaniola','Mesopotamians','agglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutinativeagglutin',31998,'electrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistrieselectrochemistriesele','2005-09-09 23:41:06','bastinaded',NULL,-10763,'impetuosity\'s','xenogenesis\'s',1947,'-29913',NULL,'taxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomiestaxonomies',NULL,NULL,'internees',28697,'Kharkov\'s',NULL,'Swabia',18366,'00:00:00','delayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayerdelayer','circusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycircusycir','2066-02-13 14:27:00',-28405,NULL,'test1','0000-00-00 00:00:00','0000-00-00','heterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotrophicheterotr','enchondromaenchondromaenchondromaenchondromaenchondromaenchondromaenchondromaenchondroma','AryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAryAry','2090-10-13 10:03:05',NULL,NULL,'Yucatan','285:37:51',7627);
+/*!40000 ALTER TABLE `table5` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+
+#explain select * from `table5` where (col2 <= '6566-06-15' AND col24 <> 'd') group by `col83` order by `col83` desc ;
+
+select * from `table5` where (col2 <= '6566-06-15' AND col24 <> 'd') group by `col83` order by `col83` desc ;
+
+drop table `table5`;
diff --git a/mysql-test/suite/parts/r/partition_mgm_lc2_innodb.result b/mysql-test/suite/parts/r/partition_mgm_lc2_innodb.result
index 6b737588ba8..50579e84d96 100644
--- a/mysql-test/suite/parts/r/partition_mgm_lc2_innodb.result
+++ b/mysql-test/suite/parts/r/partition_mgm_lc2_innodb.result
@@ -239,7 +239,7 @@ PARTITION Partc ,
PARTITION PartD );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -466,7 +466,7 @@ PARTITION Partc ,
PARTITION PartD );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -688,7 +688,7 @@ PARTITION Partc VALUES LESS THAN (10) ,
PARTITION PartD VALUES LESS THAN (13) );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -906,7 +906,7 @@ PARTITION Partc VALUES IN (3,4,7) ,
PARTITION PartD VALUES IN (5,6,12) );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
diff --git a/mysql-test/suite/parts/r/partition_mgm_lc2_memory.result b/mysql-test/suite/parts/r/partition_mgm_lc2_memory.result
index 1a7dd39cbc3..e92aac28e79 100644
--- a/mysql-test/suite/parts/r/partition_mgm_lc2_memory.result
+++ b/mysql-test/suite/parts/r/partition_mgm_lc2_memory.result
@@ -239,7 +239,7 @@ PARTITION Partc ,
PARTITION PartD );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -466,7 +466,7 @@ PARTITION Partc ,
PARTITION PartD );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -688,7 +688,7 @@ PARTITION Partc VALUES LESS THAN (10) ,
PARTITION PartD VALUES LESS THAN (13) );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -906,7 +906,7 @@ PARTITION Partc VALUES IN (3,4,7) ,
PARTITION PartD VALUES IN (5,6,12) );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
diff --git a/mysql-test/suite/parts/r/partition_mgm_lc2_myisam.result b/mysql-test/suite/parts/r/partition_mgm_lc2_myisam.result
index 99fa3e66377..35c663caae3 100644
--- a/mysql-test/suite/parts/r/partition_mgm_lc2_myisam.result
+++ b/mysql-test/suite/parts/r/partition_mgm_lc2_myisam.result
@@ -239,7 +239,7 @@ PARTITION Partc ,
PARTITION PartD );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -466,7 +466,7 @@ PARTITION Partc ,
PARTITION PartD );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -688,7 +688,7 @@ PARTITION Partc VALUES LESS THAN (10) ,
PARTITION PartD VALUES LESS THAN (13) );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
@@ -906,7 +906,7 @@ PARTITION Partc VALUES IN (3,4,7) ,
PARTITION PartD VALUES IN (5,6,12) );
ERROR 42S01: Table 'tablea' already exists
SHOW TABLES;
-Tables_in_mysql_test_db
+Tables_in_MySQL_Test_DB
TableA
RENAME TABLE TableA to tablea;
ERROR 42S01: Table 'tablea' already exists
diff --git a/mysql-test/suite/perfschema/r/dml_setup_instruments.result b/mysql-test/suite/perfschema/r/dml_setup_instruments.result
index ff3f9ec76fa..b264a075eba 100644
--- a/mysql-test/suite/perfschema/r/dml_setup_instruments.result
+++ b/mysql-test/suite/perfschema/r/dml_setup_instruments.result
@@ -7,20 +7,19 @@ NAME ENABLED TIMED
wait/synch/mutex/sql/Cversion_lock YES YES
wait/synch/mutex/sql/Delayed_insert::mutex YES YES
wait/synch/mutex/sql/Event_scheduler::LOCK_scheduler_state YES YES
+wait/synch/mutex/sql/gtid_waiting::LOCK_gtid_waiting YES YES
wait/synch/mutex/sql/hash_filo::lock YES YES
wait/synch/mutex/sql/HA_DATA_PARTITION::LOCK_auto_inc YES YES
wait/synch/mutex/sql/LOCK_active_mi YES YES
wait/synch/mutex/sql/LOCK_audit_mask YES YES
wait/synch/mutex/sql/LOCK_binlog_state YES YES
wait/synch/mutex/sql/LOCK_commit_ordered YES YES
-wait/synch/mutex/sql/LOCK_connection_count YES YES
select * from performance_schema.setup_instruments
where name like 'Wait/Synch/Rwlock/sql/%'
and name not in ('wait/synch/rwlock/sql/CRYPTO_dynlock_value::lock')
order by name limit 10;
NAME ENABLED TIMED
wait/synch/rwlock/sql/LOCK_dboptions YES YES
-wait/synch/rwlock/sql/LOCK_flush YES YES
wait/synch/rwlock/sql/LOCK_grant YES YES
wait/synch/rwlock/sql/LOCK_system_variables_hash YES YES
wait/synch/rwlock/sql/LOCK_sys_init_connect YES YES
@@ -29,6 +28,7 @@ wait/synch/rwlock/sql/LOCK_tdc YES YES
wait/synch/rwlock/sql/LOGGER::LOCK_logger YES YES
wait/synch/rwlock/sql/MDL_context::LOCK_waiting_for YES YES
wait/synch/rwlock/sql/MDL_lock::rwlock YES YES
+wait/synch/rwlock/sql/Query_cache_query::lock YES YES
select * from performance_schema.setup_instruments
where name like 'Wait/Synch/Cond/sql/%'
and name not in (
@@ -37,15 +37,15 @@ where name like 'Wait/Synch/Cond/sql/%'
order by name limit 10;
NAME ENABLED TIMED
wait/synch/cond/sql/COND_flush_thread_cache YES YES
+wait/synch/cond/sql/COND_group_commit_orderer YES YES
+wait/synch/cond/sql/COND_gtid_ignore_duplicates YES YES
wait/synch/cond/sql/COND_manager YES YES
wait/synch/cond/sql/COND_parallel_entry YES YES
wait/synch/cond/sql/COND_prepare_ordered YES YES
wait/synch/cond/sql/COND_queue_state YES YES
wait/synch/cond/sql/COND_rpl_thread YES YES
wait/synch/cond/sql/COND_rpl_thread_pool YES YES
-wait/synch/cond/sql/COND_server_started YES YES
-wait/synch/cond/sql/COND_thread_cache YES YES
-wait/synch/cond/sql/COND_thread_count YES YES
+wait/synch/cond/sql/COND_rpl_thread_queue YES YES
select * from performance_schema.setup_instruments
where name='Wait';
select * from performance_schema.setup_instruments
diff --git a/mysql-test/suite/perfschema/r/func_mutex.result b/mysql-test/suite/perfschema/r/func_mutex.result
index 9f86ba49d39..a76e7f3a646 100644
--- a/mysql-test/suite/perfschema/r/func_mutex.result
+++ b/mysql-test/suite/perfschema/r/func_mutex.result
@@ -4,9 +4,9 @@ WHERE name LIKE 'wait/synch/mutex/%'
OR name LIKE 'wait/synch/rwlock/%';
flush status;
select NAME from performance_schema.mutex_instances
-where NAME = 'wait/synch/mutex/sql/LOCK_open';
+where NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share' GROUP BY NAME;
NAME
-wait/synch/mutex/sql/LOCK_open
+wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share
select NAME from performance_schema.rwlock_instances
where NAME = 'wait/synch/rwlock/sql/LOCK_grant';
NAME
@@ -23,7 +23,7 @@ id b
1 initial value
SET @before_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
-WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT * FROM t1;
id b
1 initial value
@@ -36,12 +36,12 @@ id b
8 initial value
SET @after_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
-WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT IF((@after_count - @before_count) > 0, 'Success', 'Failure') test_fm1_timed;
test_fm1_timed
Success
UPDATE performance_schema.setup_instruments SET enabled = 'NO'
-WHERE NAME = 'wait/synch/mutex/sql/LOCK_open';
+WHERE NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share';
TRUNCATE TABLE performance_schema.events_waits_history_long;
TRUNCATE TABLE performance_schema.events_waits_history;
TRUNCATE TABLE performance_schema.events_waits_current;
@@ -50,7 +50,7 @@ id b
1 initial value
SET @before_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
-WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT * FROM t1;
id b
1 initial value
@@ -63,7 +63,7 @@ id b
8 initial value
SET @after_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
-WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT IF((COALESCE(@after_count, 0) - COALESCE(@before_count, 0)) = 0, 'Success', 'Failure') test_fm2_timed;
test_fm2_timed
Success
diff --git a/mysql-test/suite/perfschema/r/hostcache_ipv4_blocked.result b/mysql-test/suite/perfschema/r/hostcache_ipv4_blocked.result
index 88c7c2fbd3d..e7af3cdc006 100644
--- a/mysql-test/suite/perfschema/r/hostcache_ipv4_blocked.result
+++ b/mysql-test/suite/perfschema/r/hostcache_ipv4_blocked.result
@@ -32,7 +32,7 @@ select current_user();
current_user()
root@localhost
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4,native_password_bad_reply";
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 192.0.2.4
HOST santa.claus.ipv4.example.com
@@ -61,7 +61,7 @@ COUNT_LOCAL_ERRORS 0
COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 192.0.2.4
HOST santa.claus.ipv4.example.com
@@ -90,7 +90,7 @@ COUNT_LOCAL_ERRORS 0
COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 192.0.2.4
HOST santa.claus.ipv4.example.com
@@ -178,7 +178,7 @@ COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
flush hosts;
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 192.0.2.4
HOST santa.claus.ipv4.example.com
diff --git a/mysql-test/suite/perfschema/r/hostcache_ipv6_blocked.result b/mysql-test/suite/perfschema/r/hostcache_ipv6_blocked.result
index 0097c680c70..2e9ad44b58d 100644
--- a/mysql-test/suite/perfschema/r/hostcache_ipv6_blocked.result
+++ b/mysql-test/suite/perfschema/r/hostcache_ipv6_blocked.result
@@ -32,7 +32,7 @@ select current_user();
current_user()
root@localhost
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6,native_password_bad_reply";
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
@@ -61,7 +61,7 @@ COUNT_LOCAL_ERRORS 0
COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
@@ -90,7 +90,7 @@ COUNT_LOCAL_ERRORS 0
COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
@@ -178,7 +178,7 @@ COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
flush hosts;
-ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
+ERROR 08S01: Bad handshake
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
diff --git a/mysql-test/suite/perfschema/r/server_init.result b/mysql-test/suite/perfschema/r/server_init.result
index 0f983ee968d..20dc1309795 100644
--- a/mysql-test/suite/perfschema/r/server_init.result
+++ b/mysql-test/suite/perfschema/r/server_init.result
@@ -32,10 +32,6 @@ where name like "wait/synch/cond/mysys/THR_COND_threads";
count(name)
1
select count(name) from mutex_instances
-where name like "wait/synch/mutex/sql/LOCK_open";
-count(name)
-1
-select count(name) from mutex_instances
where name like "wait/synch/mutex/sql/LOCK_thread_count";
count(name)
1
diff --git a/mysql-test/suite/perfschema/t/func_mutex.test b/mysql-test/suite/perfschema/t/func_mutex.test
index 13e63286e8e..01bf7e14d96 100644
--- a/mysql-test/suite/perfschema/t/func_mutex.test
+++ b/mysql-test/suite/perfschema/t/func_mutex.test
@@ -18,7 +18,7 @@ flush status;
# Make sure objects are instrumented
select NAME from performance_schema.mutex_instances
- where NAME = 'wait/synch/mutex/sql/LOCK_open';
+ where NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share' GROUP BY NAME;
select NAME from performance_schema.rwlock_instances
where NAME = 'wait/synch/rwlock/sql/LOCK_grant';
@@ -48,18 +48,18 @@ SELECT * FROM t1 WHERE id = 1;
SET @before_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
- WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+ WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT * FROM t1;
SET @after_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
- WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+ WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT IF((@after_count - @before_count) > 0, 'Success', 'Failure') test_fm1_timed;
UPDATE performance_schema.setup_instruments SET enabled = 'NO'
-WHERE NAME = 'wait/synch/mutex/sql/LOCK_open';
+WHERE NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share';
TRUNCATE TABLE performance_schema.events_waits_history_long;
TRUNCATE TABLE performance_schema.events_waits_history;
@@ -69,13 +69,13 @@ SELECT * FROM t1 WHERE id = 1;
SET @before_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
- WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+ WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT * FROM t1;
SET @after_count = (SELECT SUM(TIMER_WAIT)
FROM performance_schema.events_waits_history_long
- WHERE (EVENT_NAME = 'wait/synch/mutex/sql/LOCK_open'));
+ WHERE (EVENT_NAME = 'wait/synch/mutex/sql/TABLE_SHARE::tdc.LOCK_table_share'));
SELECT IF((COALESCE(@after_count, 0) - COALESCE(@before_count, 0)) = 0, 'Success', 'Failure') test_fm2_timed;
diff --git a/mysql-test/suite/perfschema/t/hostcache_ipv4_blocked.test b/mysql-test/suite/perfschema/t/hostcache_ipv4_blocked.test
index 0917fbf2aa8..4e735156c4b 100644
--- a/mysql-test/suite/perfschema/t/hostcache_ipv4_blocked.test
+++ b/mysql-test/suite/perfschema/t/hostcache_ipv4_blocked.test
@@ -31,7 +31,7 @@ disconnect con1;
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4,native_password_bad_reply";
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2a,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
@@ -39,7 +39,7 @@ connect (con2a,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
--source ../include/hostcache_dump.inc
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2b,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
@@ -47,7 +47,7 @@ connect (con2b,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
--source ../include/hostcache_dump.inc
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2c,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
@@ -74,7 +74,7 @@ connect (con2e,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
flush hosts;
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2c,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
diff --git a/mysql-test/suite/perfschema/t/hostcache_ipv6_blocked.test b/mysql-test/suite/perfschema/t/hostcache_ipv6_blocked.test
index 9ed365bf3c8..4d3defe77cc 100644
--- a/mysql-test/suite/perfschema/t/hostcache_ipv6_blocked.test
+++ b/mysql-test/suite/perfschema/t/hostcache_ipv6_blocked.test
@@ -32,7 +32,7 @@ disconnect con1;
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6,native_password_bad_reply";
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2a,"::1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
@@ -40,7 +40,7 @@ connect (con2a,"::1",quota,,test,$MASTER_MYPORT,);
--source ../include/hostcache_dump.inc
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2b,"::1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
@@ -48,7 +48,7 @@ connect (con2b,"::1",quota,,test,$MASTER_MYPORT,);
--source ../include/hostcache_dump.inc
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2c,"::1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
@@ -75,7 +75,7 @@ connect (con2e,"::1",quota,,test,$MASTER_MYPORT,);
flush hosts;
--disable_query_log
---error ER_ACCESS_DENIED_ERROR
+--error ER_HANDSHAKE_ERROR
connect (con2c,"::1",quota,,test,$MASTER_MYPORT,);
--enable_query_log
diff --git a/mysql-test/suite/perfschema/t/server_init.test b/mysql-test/suite/perfschema/t/server_init.test
index 8f5e18623f0..d5a7e18827d 100644
--- a/mysql-test/suite/perfschema/t/server_init.test
+++ b/mysql-test/suite/perfschema/t/server_init.test
@@ -44,9 +44,6 @@ select count(name) from cond_instances
# Verify that these global mutexes have been properly initilized in sql
select count(name) from mutex_instances
- where name like "wait/synch/mutex/sql/LOCK_open";
-
-select count(name) from mutex_instances
where name like "wait/synch/mutex/sql/LOCK_thread_count";
select count(name) from mutex_instances
diff --git a/mysql-test/suite/plugins/r/server_audit.result b/mysql-test/suite/plugins/r/server_audit.result
new file mode 100644
index 00000000000..cc474ceb970
--- /dev/null
+++ b/mysql-test/suite/plugins/r/server_audit.result
@@ -0,0 +1,202 @@
+install plugin server_audit soname 'server_audit';
+show variables like 'server_audit%';
+Variable_name Value
+server_audit_events
+server_audit_excl_users
+server_audit_file_path server_audit.log
+server_audit_file_rotate_now OFF
+server_audit_file_rotate_size 1000000
+server_audit_file_rotations 9
+server_audit_incl_users
+server_audit_logging OFF
+server_audit_mode 0
+server_audit_output_type file
+server_audit_syslog_facility LOG_USER
+server_audit_syslog_ident mysql-server_auditing
+server_audit_syslog_info
+server_audit_syslog_priority LOG_INFO
+set global server_audit_file_path='server_audit.log';
+set global server_audit_output_type=file;
+set global server_audit_logging=on;
+connect(localhost,no_such_user,,mysql,MASTER_PORT,MASTER_SOCKET);
+ERROR 28000: Access denied for user 'no_such_user'@'localhost' (using password: NO)
+set global server_audit_incl_users='odin, dva, tri';
+create table t1 (id int);
+set global server_audit_incl_users='odin, root, dva, tri';
+create table t2 (id int);
+set global server_audit_excl_users='odin, dva, tri';
+Warnings:
+Warning 1 User 'odin' is in the server_audit_incl_users, so wasn't added.
+Warning 1 User 'dva' is in the server_audit_incl_users, so wasn't added.
+Warning 1 User 'tri' is in the server_audit_incl_users, so wasn't added.
+insert into t1 values (1), (2);
+select * from t1;
+id
+1
+2
+set global server_audit_incl_users='odin, root, dva, tri';
+insert into t2 values (1), (2);
+select * from t2;
+id
+1
+2
+alter table t1 rename renamed_t1;
+set global server_audit_events='connect,query';
+insert into t2 values (1), (2);
+select * from t2;
+id
+1
+2
+1
+2
+select * from t_doesnt_exist;
+ERROR 42S02: Table 'test.t_doesnt_exist' doesn't exist
+syntax_error_query;
+ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'syntax_error_query' at line 1
+drop table renamed_t1, t2;
+show variables like 'server_audit%';
+Variable_name Value
+server_audit_events CONNECT,QUERY
+server_audit_excl_users
+server_audit_file_path server_audit.log
+server_audit_file_rotate_now OFF
+server_audit_file_rotate_size 1000000
+server_audit_file_rotations 9
+server_audit_incl_users odin, root, dva, tri
+server_audit_logging ON
+server_audit_mode 0
+server_audit_output_type file
+server_audit_syslog_facility LOG_USER
+server_audit_syslog_ident mysql-server_auditing
+server_audit_syslog_info
+server_audit_syslog_priority LOG_INFO
+set global server_audit_mode=1;
+set global server_audit_events='';
+create database sa_db;
+create table t1 (id2 int);
+insert into t1 values (1), (2);
+select * from t1;
+id2
+1
+2
+drop table t1;
+use sa_db;
+create table sa_t1(id int);
+insert into sa_t1 values (1), (2);
+drop table sa_t1;
+drop database sa_db;
+set global server_audit_file_path='.';
+show status like 'server_audit_current_log';
+Variable_name Value
+Server_audit_current_log HOME_DIR/server_audit.log
+set global server_audit_file_path='';
+show status like 'server_audit_current_log';
+Variable_name Value
+Server_audit_current_log server_audit.log
+set global server_audit_file_path=' ';
+show status like 'server_audit_current_log';
+Variable_name Value
+Server_audit_current_log server_audit.log
+set global server_audit_file_path='nonexisting_dir/';
+Warnings:
+Warning 1 SERVER AUDIT plugin can't create file 'nonexisting_dir/'.
+show status like 'server_audit_current_log';
+Variable_name Value
+Server_audit_current_log server_audit.log
+show variables like 'server_audit%';
+Variable_name Value
+server_audit_events
+server_audit_excl_users
+server_audit_file_path
+server_audit_file_rotate_now OFF
+server_audit_file_rotate_size 1000000
+server_audit_file_rotations 9
+server_audit_incl_users odin, root, dva, tri
+server_audit_logging ON
+server_audit_mode 1
+server_audit_output_type file
+server_audit_syslog_facility LOG_USER
+server_audit_syslog_ident mysql-server_auditing
+server_audit_syslog_info
+server_audit_syslog_priority LOG_INFO
+uninstall plugin server_audit;
+Warnings:
+Warning 1620 Plugin is busy and will be uninstalled on shutdown
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_logging=on',0
+TIME,HOSTNAME,root,localhost,ID,0,CONNECT,mysql,,0
+TIME,HOSTNAME,root,localhost,ID,0,DISCONNECT,mysql,,0
+TIME,HOSTNAME,no_such_user,localhost,ID,0,FAILED_CONNECT,,,ID
+TIME,HOSTNAME,no_such_user,localhost,ID,0,DISCONNECT,,,0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_incl_users=\'odin, root, dva, tri\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,CREATE,test,t2,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'create table t2 (id int)',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_excl_users=\'odin, dva, tri\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'SHOW WARNINGS',0
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,test,t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'insert into t1 values (1), (2)',0
+TIME,HOSTNAME,root,localhost,ID,ID,READ,test,t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'select * from t1',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_incl_users=\'odin, root, dva, tri\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,test,t2,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'insert into t2 values (1), (2)',0
+TIME,HOSTNAME,root,localhost,ID,ID,READ,test,t2,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'select * from t2',0
+TIME,HOSTNAME,root,localhost,ID,ID,ALTER,test,t1,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,table_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,column_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,index_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,RENAME,test,t1|test.renamed_t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'alter table t1 rename renamed_t1',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_events=\'connect,query\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'insert into t2 values (1), (2)',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'select * from t2',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'select * from t_doesnt_exist',ID
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'syntax_error_query',ID
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'drop table renamed_t1, t2',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'show variables like \'server_audit%\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_mode=1',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_events=\'\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'create database sa_db',0
+TIME,HOSTNAME,root,localhost,ID,0,CONNECT,test,,0
+TIME,HOSTNAME,root,localhost,ID,ID,CREATE,test,t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'create table t1 (id2 int)',0
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,test,t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'insert into t1 values (1), (2)',0
+TIME,HOSTNAME,root,localhost,ID,ID,READ,test,t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'select * from t1',0
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,table_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,column_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,index_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,DROP,test,t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'drop table t1',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'use sa_db',0
+TIME,HOSTNAME,root,localhost,ID,ID,CREATE,sa_db,sa_t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'create table sa_t1(id int)',0
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,sa_db,sa_t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'insert into sa_t1 values (1), (2)',0
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,table_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,column_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,index_stats,
+TIME,HOSTNAME,root,localhost,ID,ID,DROP,sa_db,sa_t1,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'drop table sa_t1',0
+TIME,HOSTNAME,root,localhost,ID,ID,READ,mysql,proc,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,proc,
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,event,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'drop database sa_db',0
+TIME,HOSTNAME,root,localhost,ID,0,DISCONNECT,sa_db,,0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\'.\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\'.\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'show status like \'server_audit_current_log\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\'\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\'\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'show status like \'server_audit_current_log\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\' \'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\' \'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'show status like \'server_audit_current_log\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\'nonexisting_dir/\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'set global server_audit_file_path=\'nonexisting_dir/\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'SHOW WARNINGS',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'show status like \'server_audit_current_log\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'show variables like \'server_audit%\'',0
+TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,plugin,
+TIME,HOSTNAME,root,localhost,ID,ID,QUERY,test,'uninstall plugin server_audit',0
diff --git a/mysql-test/suite/plugins/t/server_audit.opt b/mysql-test/suite/plugins/t/server_audit.opt
new file mode 100644
index 00000000000..089ed94b688
--- /dev/null
+++ b/mysql-test/suite/plugins/t/server_audit.opt
@@ -0,0 +1,2 @@
+--thread_handling='one-thread-per-connection'
+
diff --git a/mysql-test/suite/plugins/t/server_audit.test b/mysql-test/suite/plugins/t/server_audit.test
new file mode 100644
index 00000000000..f63c8022392
--- /dev/null
+++ b/mysql-test/suite/plugins/t/server_audit.test
@@ -0,0 +1,78 @@
+
+--source include/not_embedded.inc
+
+if (!$SERVER_AUDIT_SO) {
+ skip No SERVER_AUDIT plugin;
+}
+
+install plugin server_audit soname 'server_audit';
+
+show variables like 'server_audit%';
+set global server_audit_file_path='server_audit.log';
+set global server_audit_output_type=file;
+set global server_audit_logging=on;
+connect (con1,localhost,root,,mysql);
+connection default;
+disconnect con1;
+--sleep 2
+--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
+--error ER_ACCESS_DENIED_ERROR
+connect (con1,localhost,no_such_user,,mysql);
+connection default;
+--sleep 2
+set global server_audit_incl_users='odin, dva, tri';
+create table t1 (id int);
+set global server_audit_incl_users='odin, root, dva, tri';
+create table t2 (id int);
+set global server_audit_excl_users='odin, dva, tri';
+insert into t1 values (1), (2);
+select * from t1;
+set global server_audit_incl_users='odin, root, dva, tri';
+insert into t2 values (1), (2);
+select * from t2;
+alter table t1 rename renamed_t1;
+set global server_audit_events='connect,query';
+insert into t2 values (1), (2);
+select * from t2;
+--error ER_NO_SUCH_TABLE
+select * from t_doesnt_exist;
+--error 1064
+syntax_error_query;
+drop table renamed_t1, t2;
+show variables like 'server_audit%';
+set global server_audit_mode=1;
+set global server_audit_events='';
+create database sa_db;
+connect (con1,localhost,root,,test);
+connection con1;
+create table t1 (id2 int);
+insert into t1 values (1), (2);
+select * from t1;
+drop table t1;
+use sa_db;
+create table sa_t1(id int);
+insert into sa_t1 values (1), (2);
+drop table sa_t1;
+drop database sa_db;
+connection default;
+disconnect con1;
+
+--sleep 2
+set global server_audit_file_path='.';
+--replace_regex /\.[\\\/]/HOME_DIR\//
+show status like 'server_audit_current_log';
+set global server_audit_file_path='';
+show status like 'server_audit_current_log';
+set global server_audit_file_path=' ';
+show status like 'server_audit_current_log';
+set global server_audit_file_path='nonexisting_dir/';
+show status like 'server_audit_current_log';
+show variables like 'server_audit%';
+uninstall plugin server_audit;
+
+let $MYSQLD_DATADIR= `SELECT @@datadir`;
+# replace the timestamp and the hostname with constant values
+--replace_regex /[0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\,[^,]*\,/TIME,HOSTNAME,/ /\,[1-9][0-9]*\,/,1,/ /\,[1-9][0-9]*/,ID/
+cat_file $MYSQLD_DATADIR/server_audit.log;
+remove_file $MYSQLD_DATADIR/server_audit.log;
+
diff --git a/mysql-test/suite/plugins/t/unix_socket.test b/mysql-test/suite/plugins/t/unix_socket.test
index 5869e2717c9..2c1af9fb1da 100644
--- a/mysql-test/suite/plugins/t/unix_socket.test
+++ b/mysql-test/suite/plugins/t/unix_socket.test
@@ -1,20 +1,4 @@
---source include/not_embedded.inc
-# If we run this as root, $USER gets authenticated as the `root' user, and we
-# get .result differences from CURRENT_USER().
---source include/not_as_root.inc
-
-# The previous check verifies that the user does not have root permissions.
-# However in some cases tests are run under a user named 'root',
-# even although this user does not have real root permissions.
-# This test should be skipped in this case, since it does not expect
-# that there are records in mysql.user where user=<username>
-if ($USER=="root") {
- skip Cannot be run by user named 'root' even if it does not have all privileges;
-}
-
-if (!$AUTH_SOCKET_SO) {
- skip No auth_socket plugin;
-}
+--source include/have_unix_socket.inc
if (!$USER) {
skip USER variable is undefined;
diff --git a/mysql-test/suite/roles/grant-5771.result b/mysql-test/suite/roles/grant-5771.result
new file mode 100644
index 00000000000..4921641f3a5
--- /dev/null
+++ b/mysql-test/suite/roles/grant-5771.result
@@ -0,0 +1,33 @@
+create database mysqltest1;
+create database mysqltest2;
+create role r1, r2;
+grant all on mysqltest1.* to r1;
+grant all on mysqltest2.* to r2;
+grant r1 to r2;
+grant r2 to foo@localhost;
+select current_user;
+current_user
+foo@localhost
+show tables in mysqltest1;
+ERROR 42000: Access denied for user 'foo'@'localhost' to database 'mysqltest1'
+show tables in mysqltest2;
+ERROR 42000: Access denied for user 'foo'@'localhost' to database 'mysqltest2'
+set role r2;
+show tables in mysqltest1;
+Tables_in_mysqltest1
+show tables in mysqltest2;
+Tables_in_mysqltest2
+show grants;
+Grants for foo@localhost
+GRANT r2 TO 'foo'@'localhost'
+GRANT USAGE ON *.* TO 'foo'@'localhost'
+GRANT r1 TO 'r2'
+GRANT USAGE ON *.* TO 'r2'
+GRANT ALL PRIVILEGES ON `mysqltest2`.* TO 'r2'
+GRANT USAGE ON *.* TO 'r1'
+GRANT ALL PRIVILEGES ON `mysqltest1`.* TO 'r1'
+drop user foo@localhost;
+drop role r1;
+drop role r2;
+drop database mysqltest1;
+drop database mysqltest2;
diff --git a/mysql-test/suite/roles/grant-5771.test b/mysql-test/suite/roles/grant-5771.test
new file mode 100644
index 00000000000..84c625a6067
--- /dev/null
+++ b/mysql-test/suite/roles/grant-5771.test
@@ -0,0 +1,31 @@
+#
+# MDEV-5771 Privileges acquired via roles depend on the order of granting
+#
+--source include/not_embedded.inc
+
+create database mysqltest1;
+create database mysqltest2;
+
+create role r1, r2;
+grant all on mysqltest1.* to r1;
+grant all on mysqltest2.* to r2;
+grant r1 to r2;
+grant r2 to foo@localhost;
+
+--connect (foo,localhost,foo,,)
+select current_user;
+--error ER_DBACCESS_DENIED_ERROR
+show tables in mysqltest1;
+--error ER_DBACCESS_DENIED_ERROR
+show tables in mysqltest2;
+set role r2;
+show tables in mysqltest1;
+show tables in mysqltest2;
+show grants;
+
+connection default;
+drop user foo@localhost;
+drop role r1;
+drop role r2;
+drop database mysqltest1;
+drop database mysqltest2;
diff --git a/mysql-test/suite/roles/show_grants_anon-5238.result b/mysql-test/suite/roles/grant_empty.result
index 85be1ac92f3..dfc0f513396 100644
--- a/mysql-test/suite/roles/show_grants_anon-5238.result
+++ b/mysql-test/suite/roles/grant_empty.result
@@ -1,3 +1,5 @@
+grant '' to foo@localhost;
+ERROR OP000: Invalid role specification ``.
create user ''@localhost;
create role r1;
grant r1 to ''@localhost;
diff --git a/mysql-test/suite/roles/show_grants_anon-5238.test b/mysql-test/suite/roles/grant_empty.test
index adb22490233..e419fffa2ba 100644
--- a/mysql-test/suite/roles/show_grants_anon-5238.test
+++ b/mysql-test/suite/roles/grant_empty.test
@@ -1,4 +1,10 @@
#
+# MDEV-5668 Assertion `granted_role->is_role()' fails on granting role with empty name
+#
+--error ER_INVALID_ROLE
+grant '' to foo@localhost;
+
+#
# MDEV-5238 Server crashes in find_role_grant_pair on SHOW GRANTS for an anonymous user
#
--source include/not_embedded.inc
diff --git a/mysql-test/suite/roles/recursive_dbug.result b/mysql-test/suite/roles/recursive_dbug.result
index 268ef47232e..1d857a5c888 100644
--- a/mysql-test/suite/roles/recursive_dbug.result
+++ b/mysql-test/suite/roles/recursive_dbug.result
@@ -46,7 +46,7 @@ role9 role6 NO
role9 role7 NO
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 0
+Debug_role_merges_global 11
Debug_role_merges_db 0
Debug_role_merges_table 0
Debug_role_merges_column 0
@@ -54,7 +54,7 @@ Debug_role_merges_routine 0
grant select on *.* to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 8
+Debug_role_merges_global 19
Debug_role_merges_db 0
Debug_role_merges_table 0
Debug_role_merges_column 0
@@ -102,7 +102,7 @@ role9
revoke select on *.* from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 0
Debug_role_merges_table 0
Debug_role_merges_column 0
@@ -118,7 +118,7 @@ set role none;
grant select on mysql.* to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 8
Debug_role_merges_table 0
Debug_role_merges_column 0
@@ -156,7 +156,7 @@ GRANT role9 TO 'role10'
revoke select on mysql.* from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 0
Debug_role_merges_column 0
@@ -167,7 +167,7 @@ set role none;
grant select on mysql.roles_mapping to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 8
Debug_role_merges_column 0
@@ -205,7 +205,7 @@ GRANT role9 TO 'role10'
revoke select on mysql.roles_mapping from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 16
Debug_role_merges_column 0
@@ -216,7 +216,7 @@ set role none;
grant select(User) on mysql.roles_mapping to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 24
Debug_role_merges_column 8
@@ -256,7 +256,7 @@ GRANT role9 TO 'role10'
grant select(Host) on mysql.roles_mapping to role3;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 30
Debug_role_merges_column 14
@@ -294,7 +294,7 @@ GRANT role9 TO 'role10'
revoke select(User) on mysql.roles_mapping from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 38
Debug_role_merges_column 22
@@ -307,7 +307,7 @@ count(concat(Host))
revoke select(Host) on mysql.roles_mapping from role3;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 44
Debug_role_merges_column 28
@@ -320,7 +320,7 @@ create function fn1() returns char(10) return "fn1";
grant execute on procedure test.pr1 to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 44
Debug_role_merges_column 28
@@ -336,7 +336,7 @@ ERROR 42000: execute command denied to user 'foo'@'localhost' for routine 'test.
grant execute on function test.fn1 to role5;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 44
Debug_role_merges_column 28
@@ -347,7 +347,7 @@ fn1
revoke execute on procedure test.pr1 from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 44
Debug_role_merges_column 28
@@ -360,7 +360,7 @@ fn1
revoke execute on function test.fn1 from role5;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 44
Debug_role_merges_column 28
@@ -373,7 +373,7 @@ drop function fn1;
grant select on mysql.roles_mapping to role3;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 50
Debug_role_merges_column 28
@@ -381,7 +381,7 @@ Debug_role_merges_routine 26
grant select on mysql.roles_mapping to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 53
Debug_role_merges_column 28
@@ -389,7 +389,7 @@ Debug_role_merges_routine 26
revoke select on mysql.roles_mapping from role3;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 54
Debug_role_merges_column 28
@@ -397,7 +397,7 @@ Debug_role_merges_routine 26
revoke select on mysql.roles_mapping from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 16
Debug_role_merges_table 62
Debug_role_merges_column 28
@@ -405,7 +405,7 @@ Debug_role_merges_routine 26
grant select on mysql.* to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 24
Debug_role_merges_table 62
Debug_role_merges_column 28
@@ -413,7 +413,7 @@ Debug_role_merges_routine 26
grant select on test.* to role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 32
Debug_role_merges_table 62
Debug_role_merges_column 28
@@ -421,7 +421,7 @@ Debug_role_merges_routine 26
revoke select on mysql.* from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 40
Debug_role_merges_table 62
Debug_role_merges_column 28
@@ -429,7 +429,7 @@ Debug_role_merges_routine 26
revoke select on test.* from role1;
show status like 'debug%';
Variable_name Value
-Debug_role_merges_global 16
+Debug_role_merges_global 27
Debug_role_merges_db 48
Debug_role_merges_table 62
Debug_role_merges_column 28
diff --git a/mysql-test/suite/rpl/disabled.def b/mysql-test/suite/rpl/disabled.def
index 5cc3916b614..de3091a56e5 100644
--- a/mysql-test/suite/rpl/disabled.def
+++ b/mysql-test/suite/rpl/disabled.def
@@ -10,7 +10,6 @@
#
##############################################################################
-rpl_row_create_table : Bug#11759274 2010-02-27 andrei failed different way than earlier with bug#45576
rpl_spec_variables : BUG#11755836 2009-10-27 jasonh rpl_spec_variables fails on PB2 hpux
rpl_get_master_version_and_clock : Bug#11766137 Jan 05 2011 joro Valgrind warnings rpl_get_master_version_and_clock
rpl_partition_archive : MDEV-5077 2013-09-27 svoj Cannot exchange partition with archive table
diff --git a/mysql-test/suite/rpl/r/create_or_replace_mix.result b/mysql-test/suite/rpl/r/create_or_replace_mix.result
new file mode 100644
index 00000000000..839032a305c
--- /dev/null
+++ b/mysql-test/suite/rpl/r/create_or_replace_mix.result
@@ -0,0 +1,259 @@
+include/rpl_init.inc [topology=1->2]
+create table t2 (a int) engine=myisam;
+insert into t2 values (0),(1),(2),(2);
+create temporary table t3 (a_in_temporary int) engine=myisam;
+#
+# Check how create table and create or replace table are logged
+#
+create table t1 (to_be_deleted int);
+CREATE TABLE t1 AS SELECT 1 AS f1;
+CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1;
+CREATE OR REPLACE table t1 like t2;
+CREATE OR REPLACE table t1 like t3;
+drop table t1;
+binlog from server 1
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t2 (a int) engine=myisam
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; insert into t2 values (0),(1),(2),(2)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t3 (a_in_temporary int) engine=myisam
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE TABLE t1 AS SELECT 1 AS f1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t2
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t3
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t2 (a int) engine=myisam
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; insert into t2 values (0),(1),(2),(2)
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create temporary table t3 (a_in_temporary int) engine=myisam
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (to_be_deleted int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE t1 AS SELECT 1 AS f1
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t2
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t3
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
+#
+# Ensure that also failed create_or_replace are logged
+#
+create table t1 (a int);
+create or replace table t1;
+ERROR 42000: A table must have at least 1 column
+drop table if exists t1;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+create or replace table t1 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+create table t1 (a int);
+create or replace table t1 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+create temporary table t9 (a int);
+create or replace temporary table t9 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+binlog from server 1
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create or replace table t1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `test`.`t1`/* Generated to handle failed CREATE OR REPLACE */
+master-bin.000001 # Query # # ROLLBACK
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t9`/* Generated to handle failed CREATE OR REPLACE */
+master-bin.000001 # Query # # ROLLBACK
+show tables;
+Tables_in_test
+t2
+create table t1 (a int);
+create or replace table t1 (a int, a int) select * from t2;
+ERROR 42S21: Duplicate column name 'a'
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+drop table if exists t1,t2;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+drop temporary table if exists t9;
+Warnings:
+Note 1051 Unknown table 'test.t9'
+#
+# Ensure that CREATE are run as CREATE OR REPLACE on slave
+#
+create table t1 (server_2_to_be_delete int);
+create table t1 (new_table int);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `new_table` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+#
+# Check how CREATE is logged on slave in case of conflicts
+#
+create table t1 (server_2_to_be_delete int);
+create table t2 (server_2_to_be_delete int);
+create table t4 (server_2_to_be_delete int);
+set @org_binlog_format=@@binlog_format;
+set @@global.binlog_format="ROW";
+stop slave;
+include/wait_for_slave_to_stop.inc
+start slave;
+include/wait_for_slave_to_start.inc
+create temporary table t9 (a int);
+insert into t9 values(1);
+create table t1 (new_table int);
+create table t2 select * from t9;
+create table t4 like t9;
+create table t5 select * from t9;
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t2 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t4 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (new_table int)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t2` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t4` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t5` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t5)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+set @@global.binlog_format=@org_binlog_format;
+stop slave;
+include/wait_for_slave_to_stop.inc
+start slave;
+include/wait_for_slave_to_start.inc
+drop table t1,t2,t4,t5,t9;
+#
+# Ensure that DROP TABLE is run as DROP IF NOT EXISTS
+#
+create table t1 (server_1_ver_1 int);
+create table t4 (server_1_ver_2 int);
+drop table t1;
+drop table t1,t4;
+create table t1 (server_2_ver_2 int);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `server_2_ver_2` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1`,`t4` /* generated by server */
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (server_2_ver_2 int)
+drop table t1;
+#
+# Ensure that CREATE ... SELECT is recorded as one GTID on the slave
+#
+create table t1 (a int);
+insert into t1 values (0),(1),(2);
+create table t2 engine=myisam select * from t1;
+create or replace table t2 engine=innodb select * from t1;
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (a int)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Table_map # # table_id: # (test.t1)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t2` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t2` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=InnoDB
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Xid # # COMMIT /* XID */
+drop table t1;
+#
+# Check logging of drop temporary table
+#
+drop temporary table t3;
+set @org_binlog_format=@@binlog_format;
+set binlog_format="STATEMENT";
+create temporary table t5 (a int);
+drop temporary table t5;
+set binlog_format="ROW";
+create temporary table t6 (a int);
+drop temporary table t6;
+set binlog_format="STATEMENT";
+create temporary table t7 (a int);
+set binlog_format="ROW";
+drop temporary table t7;
+create temporary table t8 (a int);
+set binlog_format="STATEMENT";
+ERROR HY000: Cannot switch out of the row-based binary log format when the session has open temporary tables
+drop temporary table t8;
+set @@binlog_format=@org_binlog_format;
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t5 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TEMPORARY TABLE `t5` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t6` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t7 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t7` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t8` /* generated by server */
+drop table t2;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/create_or_replace_row.result b/mysql-test/suite/rpl/r/create_or_replace_row.result
new file mode 100644
index 00000000000..6e29d02e3bc
--- /dev/null
+++ b/mysql-test/suite/rpl/r/create_or_replace_row.result
@@ -0,0 +1,281 @@
+include/rpl_init.inc [topology=1->2]
+create table t2 (a int) engine=myisam;
+insert into t2 values (0),(1),(2),(2);
+create temporary table t3 (a_in_temporary int) engine=myisam;
+#
+# Check how create table and create or replace table are logged
+#
+create table t1 (to_be_deleted int);
+CREATE TABLE t1 AS SELECT 1 AS f1;
+CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1;
+CREATE OR REPLACE table t1 like t2;
+CREATE OR REPLACE table t1 like t3;
+drop table t1;
+binlog from server 1
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t2 (a int) engine=myisam
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Table_map # # table_id: # (test.t2)
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE TABLE `t1` (
+ `f1` int(1) NOT NULL DEFAULT '0'
+)
+master-bin.000001 # Table_map # # table_id: # (test.t1)
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t1` (
+ `f1` int(1) NOT NULL DEFAULT '0'
+)
+master-bin.000001 # Table_map # # table_id: # (test.t1)
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t2
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t1` (
+ `a_in_temporary` int(11) DEFAULT NULL
+)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t2 (a int) engine=myisam
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (to_be_deleted int)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t1` (
+ `f1` int(1) NOT NULL DEFAULT '0'
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t1)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t1` (
+ `f1` int(1) NOT NULL DEFAULT '0'
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t1)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t2
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t1` (
+ `a_in_temporary` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
+#
+# Ensure that also failed create_or_replace are logged
+#
+create table t1 (a int);
+create or replace table t1;
+ERROR 42000: A table must have at least 1 column
+drop table if exists t1;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+create or replace table t1 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+create table t1 (a int);
+create or replace table t1 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+create temporary table t9 (a int);
+create or replace temporary table t9 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+binlog from server 1
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create or replace table t1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `test`.`t1`/* Generated to handle failed CREATE OR REPLACE */
+master-bin.000001 # Query # # ROLLBACK
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t9`/* Generated to handle failed CREATE OR REPLACE */
+master-bin.000001 # Query # # ROLLBACK
+show tables;
+Tables_in_test
+t2
+create table t1 (a int);
+create or replace table t1 (a int, a int) select * from t2;
+ERROR 42S21: Duplicate column name 'a'
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+drop table if exists t1,t2;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+drop temporary table if exists t9;
+Warnings:
+Note 1051 Unknown table 'test.t9'
+#
+# Ensure that CREATE are run as CREATE OR REPLACE on slave
+#
+create table t1 (server_2_to_be_delete int);
+create table t1 (new_table int);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `new_table` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+#
+# Check how CREATE is logged on slave in case of conflicts
+#
+create table t1 (server_2_to_be_delete int);
+create table t2 (server_2_to_be_delete int);
+create table t4 (server_2_to_be_delete int);
+set @org_binlog_format=@@binlog_format;
+set @@global.binlog_format="ROW";
+stop slave;
+include/wait_for_slave_to_stop.inc
+start slave;
+include/wait_for_slave_to_start.inc
+create temporary table t9 (a int);
+insert into t9 values(1);
+create table t1 (new_table int);
+create table t2 select * from t9;
+create table t4 like t9;
+create table t5 select * from t9;
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t2 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t4 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (new_table int)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t2` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t4` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t5` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t5)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+set @@global.binlog_format=@org_binlog_format;
+stop slave;
+include/wait_for_slave_to_stop.inc
+start slave;
+include/wait_for_slave_to_start.inc
+drop table t1,t2,t4,t5,t9;
+#
+# Ensure that DROP TABLE is run as DROP IF NOT EXISTS
+#
+create table t1 (server_1_ver_1 int);
+create table t4 (server_1_ver_2 int);
+drop table t1;
+drop table t1,t4;
+create table t1 (server_2_ver_2 int);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `server_2_ver_2` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1`,`t4` /* generated by server */
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (server_2_ver_2 int)
+drop table t1;
+#
+# Ensure that CREATE ... SELECT is recorded as one GTID on the slave
+#
+create table t1 (a int);
+insert into t1 values (0),(1),(2);
+create table t2 engine=myisam select * from t1;
+create or replace table t2 engine=innodb select * from t1;
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (a int)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Table_map # # table_id: # (test.t1)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t2` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t2` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=InnoDB
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Xid # # COMMIT /* XID */
+drop table t1;
+#
+# Check logging of drop temporary table
+#
+drop temporary table t3;
+set @org_binlog_format=@@binlog_format;
+set binlog_format="STATEMENT";
+create temporary table t5 (a int);
+drop temporary table t5;
+set binlog_format="ROW";
+create temporary table t6 (a int);
+drop temporary table t6;
+set binlog_format="STATEMENT";
+create temporary table t7 (a int);
+set binlog_format="ROW";
+drop temporary table t7;
+create temporary table t8 (a int);
+set binlog_format="STATEMENT";
+ERROR HY000: Cannot switch out of the row-based binary log format when the session has open temporary tables
+drop temporary table t8;
+set @@binlog_format=@org_binlog_format;
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t5 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TEMPORARY TABLE `t5` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t6` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t7 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t7` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t8` /* generated by server */
+drop table t2;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/create_or_replace_statement.result b/mysql-test/suite/rpl/r/create_or_replace_statement.result
new file mode 100644
index 00000000000..8550976e87a
--- /dev/null
+++ b/mysql-test/suite/rpl/r/create_or_replace_statement.result
@@ -0,0 +1,248 @@
+include/rpl_init.inc [topology=1->2]
+create table t2 (a int) engine=myisam;
+insert into t2 values (0),(1),(2),(2);
+create temporary table t3 (a_in_temporary int) engine=myisam;
+#
+# Check how create table and create or replace table are logged
+#
+create table t1 (to_be_deleted int);
+CREATE TABLE t1 AS SELECT 1 AS f1;
+CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1;
+CREATE OR REPLACE table t1 like t2;
+CREATE OR REPLACE table t1 like t3;
+drop table t1;
+binlog from server 1
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t2 (a int) engine=myisam
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; insert into t2 values (0),(1),(2),(2)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t3 (a_in_temporary int) engine=myisam
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE TABLE t1 AS SELECT 1 AS f1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t2
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t3
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t2 (a int) engine=myisam
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; insert into t2 values (0),(1),(2),(2)
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create temporary table t3 (a_in_temporary int) engine=myisam
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (to_be_deleted int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE t1 AS SELECT 1 AS f1
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t2
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE table t1 like t3
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
+#
+# Ensure that also failed create_or_replace are logged
+#
+create table t1 (a int);
+create or replace table t1;
+ERROR 42000: A table must have at least 1 column
+drop table if exists t1;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+create or replace table t1 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+create table t1 (a int);
+create or replace table t1 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+create temporary table t9 (a int);
+create or replace temporary table t9 (a int primary key) select a from t2;
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+binlog from server 1
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create or replace table t1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `test`.`t1`/* Generated to handle failed CREATE OR REPLACE */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t9 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t9`/* Generated to handle failed CREATE OR REPLACE */
+show tables;
+Tables_in_test
+t2
+create table t1 (a int);
+create or replace table t1 (a int, a int) select * from t2;
+ERROR 42S21: Duplicate column name 'a'
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int)
+drop table if exists t1,t2;
+Warnings:
+Note 1051 Unknown table 'test.t1'
+drop temporary table if exists t9;
+Warnings:
+Note 1051 Unknown table 'test.t9'
+#
+# Ensure that CREATE are run as CREATE OR REPLACE on slave
+#
+create table t1 (server_2_to_be_delete int);
+create table t1 (new_table int);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `new_table` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+#
+# Check how CREATE is logged on slave in case of conflicts
+#
+create table t1 (server_2_to_be_delete int);
+create table t2 (server_2_to_be_delete int);
+create table t4 (server_2_to_be_delete int);
+set @org_binlog_format=@@binlog_format;
+set @@global.binlog_format="ROW";
+stop slave;
+include/wait_for_slave_to_stop.inc
+start slave;
+include/wait_for_slave_to_start.inc
+create temporary table t9 (a int);
+insert into t9 values(1);
+create table t1 (new_table int);
+create table t2 select * from t9;
+create table t4 like t9;
+create table t5 select * from t9;
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t2 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t4 (server_2_to_be_delete int)
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (new_table int)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t2` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t2)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t4` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; CREATE TABLE `t5` (
+ `a` int(11) DEFAULT NULL
+)
+slave-bin.000001 # Table_map # # table_id: # (test.t5)
+slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+slave-bin.000001 # Query # # COMMIT
+set @@global.binlog_format=@org_binlog_format;
+stop slave;
+include/wait_for_slave_to_stop.inc
+start slave;
+include/wait_for_slave_to_start.inc
+drop table t1,t2,t4,t5,t9;
+#
+# Ensure that DROP TABLE is run as DROP IF NOT EXISTS
+#
+create table t1 (server_1_ver_1 int);
+create table t4 (server_1_ver_2 int);
+drop table t1;
+drop table t1,t4;
+create table t1 (server_2_ver_2 int);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `server_2_ver_2` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1`,`t4` /* generated by server */
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (server_2_ver_2 int)
+drop table t1;
+#
+# Ensure that CREATE ... SELECT is recorded as one GTID on the slave
+#
+create table t1 (a int);
+insert into t1 values (0),(1),(2);
+create table t2 engine=myisam select * from t1;
+create or replace table t2 engine=innodb select * from t1;
+binlog from server 2
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t1 (a int)
+slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
+slave-bin.000001 # Query # # use `test`; insert into t1 values (0),(1),(2)
+slave-bin.000001 # Query # # COMMIT
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create table t2 engine=myisam select * from t1
+slave-bin.000001 # Gtid # # GTID #-#-#
+slave-bin.000001 # Query # # use `test`; create or replace table t2 engine=innodb select * from t1
+drop table t1;
+#
+# Check logging of drop temporary table
+#
+drop temporary table t3;
+set @org_binlog_format=@@binlog_format;
+set binlog_format="STATEMENT";
+create temporary table t5 (a int);
+drop temporary table t5;
+set binlog_format="ROW";
+create temporary table t6 (a int);
+drop temporary table t6;
+set binlog_format="STATEMENT";
+create temporary table t7 (a int);
+set binlog_format="ROW";
+drop temporary table t7;
+create temporary table t8 (a int);
+set binlog_format="STATEMENT";
+ERROR HY000: Cannot switch out of the row-based binary log format when the session has open temporary tables
+drop temporary table t8;
+set @@binlog_format=@org_binlog_format;
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t5 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; DROP TEMPORARY TABLE `t5` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t6` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create temporary table t7 (a int)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t7` /* generated by server */
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t8` /* generated by server */
+drop table t2;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_000011.result b/mysql-test/suite/rpl/r/rpl_000011.result
index 8a59eb746ad..12859a17f95 100644
--- a/mysql-test/suite/rpl/r/rpl_000011.result
+++ b/mysql-test/suite/rpl/r/rpl_000011.result
@@ -2,7 +2,13 @@ include/master-slave.inc
[connection master]
create table t1 (n int);
insert into t1 values(1);
+show global status like 'com_insert';
+Variable_name Value
+Com_insert 1
stop slave;
+show global status like 'com_insert';
+Variable_name Value
+Com_insert 1
include/wait_for_slave_to_stop.inc
start slave;
include/wait_for_slave_to_start.inc
diff --git a/mysql-test/suite/rpl/r/rpl_ddl.result b/mysql-test/suite/rpl/r/rpl_ddl.result
index 246ae3790a6..0173bf1e28d 100644
--- a/mysql-test/suite/rpl/r/rpl_ddl.result
+++ b/mysql-test/suite/rpl/r/rpl_ddl.result
@@ -1617,6 +1617,7 @@ user
use test;
-------- switch to master -------
+DROP TEMPORARY TABLE mysqltest1.t22;
DROP DATABASE mysqltest1;
DROP DATABASE mysqltest3;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_drop_view.result b/mysql-test/suite/rpl/r/rpl_drop_view.result
index 0688ce42bc2..70a87816e4b 100644
--- a/mysql-test/suite/rpl/r/rpl_drop_view.result
+++ b/mysql-test/suite/rpl/r/rpl_drop_view.result
@@ -9,9 +9,9 @@ create view v1 as select * from t1;
create view v2 as select * from t2;
create view v3 as select * from t3;
drop view not_exist_view;
-ERROR 42S02: Unknown table 'not_exist_view'
+ERROR 42S02: Unknown table 'test.not_exist_view'
drop view v1, not_exist_view;
-ERROR 42S02: Unknown table 'not_exist_view'
+ERROR 42S02: Unknown table 'test.not_exist_view'
select * from v1;
ERROR 42S02: Table 'test.v1' doesn't exist
drop view v2, v3;
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_basic.result b/mysql-test/suite/rpl/r/rpl_gtid_basic.result
index 404424f14a8..fd33221814d 100644
--- a/mysql-test/suite/rpl/r/rpl_gtid_basic.result
+++ b/mysql-test/suite/rpl/r/rpl_gtid_basic.result
@@ -61,7 +61,13 @@ include/stop_slave.inc
INSERT INTO t1 VALUES (5, "m1a");
INSERT INTO t2 VALUES (5, "i1a");
CHANGE MASTER TO master_host = '127.0.0.1', master_port = MASTER_PORT,
+MASTER_USE_GTID=SLAVE_POS;
+SET GLOBAL sql_slave_skip_counter=1;
+ERROR HY000: When using GTID, @@sql_slave_skip_counter can not be used. Instead, setting @@gtid_slave_pos explicitly can be used to skip to after a given GTID position.
+CHANGE MASTER TO master_host = '127.0.0.1', master_port = MASTER_PORT,
MASTER_USE_GTID=CURRENT_POS;
+SET GLOBAL sql_slave_skip_counter=10;
+ERROR HY000: When using GTID, @@sql_slave_skip_counter can not be used. Instead, setting @@gtid_slave_pos explicitly can be used to skip to after a given GTID position.
include/start_slave.inc
SELECT * FROM t1 ORDER BY a;
a b
@@ -99,13 +105,13 @@ a b
5 j1a
*** Now move C to D, after letting it fall a little behind ***
include/stop_slave.inc
-BEGIN;
INSERT INTO t2 VALUES (6, "i6b");
INSERT INTO t2 VALUES (7, "i7b");
-COMMIT;
+include/save_master_gtid.inc
CHANGE MASTER TO master_host = '127.0.0.1', master_port = SERVER_MYPORT_4,
MASTER_USE_GTID=CURRENT_POS;
include/start_slave.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t2 ORDER BY a;
a b
1 i1
@@ -116,6 +122,7 @@ a b
6 i6b
7 i7b
*** Now change everything back to what it was, to make rpl_end.inc happy
+include/sync_with_master_gtid.inc
include/stop_slave.inc
CHANGE MASTER TO master_host = '127.0.0.1', master_port = MASTER_MYPORT;
include/start_slave.inc
@@ -123,10 +130,12 @@ include/wait_for_slave_to_start.inc
include/stop_slave.inc
CHANGE MASTER TO master_host = '127.0.0.1', master_port = SLAVE_MYPORT;
include/start_slave.inc
+include/sync_with_master_gtid.inc
include/stop_slave.inc
CHANGE MASTER TO master_host = '127.0.0.1', master_port = SERVER_MYPORT_3;
include/start_slave.inc
DROP TABLE t1,t2;
+include/save_master_gtid.inc
*** A few more checks for BINLOG_GTID_POS function ***
SELECT BINLOG_GTID_POS();
ERROR 42000: Incorrect parameter count in the call to native function 'BINLOG_GTID_POS'
@@ -163,6 +172,7 @@ NULL
Warnings:
Warning 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
*** Some tests of @@GLOBAL.gtid_binlog_state ***
+include/sync_with_master_gtid.inc
include/stop_slave.inc
SET @old_state= @@GLOBAL.gtid_binlog_state;
SET GLOBAL gtid_binlog_state = '';
@@ -196,10 +206,121 @@ SET GLOBAL gtid_binlog_state = @old_state;
CREATE TABLE t1 (a INT PRIMARY KEY);
SET gtid_seq_no=100;
INSERT INTO t1 VALUES (1);
+include/save_master_gtid.inc
include/start_slave.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1;
a
1
Gtid_IO_Pos = '0-1-100'
+*** Test @@LAST_GTID and MASTER_GTID_WAIT() ***
+DROP TABLE t1;
+CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
+include/stop_slave.inc
+SELECT @@last_gtid;
+@@last_gtid
+
+SET gtid_seq_no=110;
+SELECT @@last_gtid;
+@@last_gtid
+
+BEGIN;
+SELECT @@last_gtid;
+@@last_gtid
+
+INSERT INTO t1 VALUES (2);
+SELECT @@last_gtid;
+@@last_gtid
+
+COMMIT;
+SELECT @@last_gtid;
+@@last_gtid
+0-1-110
+SET @pos= '0-1-110';
+SELECT master_gtid_wait(NULL);
+master_gtid_wait(NULL)
+NULL
+SELECT master_gtid_wait('', NULL);
+master_gtid_wait('', NULL)
+0
+SELECT master_gtid_wait(@pos, 0.5);
+master_gtid_wait(@pos, 0.5)
+-1
+SELECT * FROM t1 ORDER BY a;
+a
+SELECT master_gtid_wait(@pos);
+include/start_slave.inc
+master_gtid_wait(@pos)
+0
+SELECT * FROM t1 ORDER BY a;
+a
+2
+include/stop_slave.inc
+SET gtid_domain_id= 1;
+INSERT INTO t1 VALUES (3);
+SET @pos= '1-1-1,0-1-110';
+SELECT master_gtid_wait(@pos, 0);
+master_gtid_wait(@pos, 0)
+-1
+SELECT * FROM t1 WHERE a >= 3;
+a
+SELECT master_gtid_wait(@pos, -1);
+include/start_slave.inc
+master_gtid_wait(@pos, -1)
+0
+SELECT * FROM t1 WHERE a >= 3;
+a
+3
+SELECT master_gtid_wait('1-1-1', 0);
+master_gtid_wait('1-1-1', 0)
+0
+SELECT master_gtid_wait('2-1-1,1-1-4,0-1-110');
+SELECT master_gtid_wait('0-1-1000', 0.5);
+SELECT master_gtid_wait('0-1-2000');
+SELECT master_gtid_wait('2-1-10');
+SELECT master_gtid_wait('2-1-6', 1);
+SELECT master_gtid_wait('2-1-5');
+SELECT master_gtid_wait('2-1-10');
+SELECT master_gtid_wait('2-1-5,1-1-4,0-1-110');
+SELECT master_gtid_wait('2-1-2');
+SELECT master_gtid_wait('1-1-1');
+master_gtid_wait('1-1-1')
+0
+SELECT master_gtid_wait('0-1-109');
+SELECT master_gtid_wait('2-1-2', 0.5);
+master_gtid_wait('2-1-2', 0.5)
+-1
+KILL QUERY KILL_ID;
+ERROR 70100: Query execution was interrupted
+SET gtid_domain_id=2;
+SET gtid_seq_no=2;
+INSERT INTO t1 VALUES (4);
+master_gtid_wait('2-1-2')
+0
+KILL CONNECTION KILL_ID;
+ERROR HY000: Lost connection to MySQL server during query
+SET gtid_domain_id=1;
+SET gtid_seq_no=4;
+INSERT INTO t1 VALUES (5);
+SET gtid_domain_id=2;
+SET gtid_seq_no=5;
+INSERT INTO t1 VALUES (6);
+master_gtid_wait('2-1-5,1-1-4,0-1-110')
+0
+master_gtid_wait('2-1-1,1-1-4,0-1-110')
+0
+master_gtid_wait('0-1-1000', 0.5)
+-1
+master_gtid_wait('2-1-6', 1)
+-1
+master_gtid_wait('0-1-109')
+0
+SET gtid_domain_id=2;
+SET gtid_seq_no=10;
+INSERT INTO t1 VALUES (7);
+master_gtid_wait('2-1-10')
+0
+master_gtid_wait('2-1-10')
+0
DROP TABLE t1;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_crash.result b/mysql-test/suite/rpl/r/rpl_gtid_crash.result
index 209c83ebe17..fdbd1cc6898 100644
--- a/mysql-test/suite/rpl/r/rpl_gtid_crash.result
+++ b/mysql-test/suite/rpl/r/rpl_gtid_crash.result
@@ -13,10 +13,14 @@ MASTER_USE_GTID=CURRENT_POS;
INSERT INTO t1 VALUES (2,1);
INSERT INTO t1 VALUES (3,1);
include/start_slave.inc
+include/save_master_gtid.inc
SET SESSION debug_dbug="+d,crash_dispatch_command_before";
SELECT 1;
Got one of the listed errors
+include/sync_with_master_gtid.inc
INSERT INTO t1 VALUES (1000, 3);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
DROP TABLE t1;
*** Test crashing the master mysqld and check that binlog state is recovered. ***
include/stop_slave.inc
@@ -65,22 +69,32 @@ include/stop_slave.inc
SET GLOBAL debug_dbug="+d,inject_crash_before_write_rpl_slave_state";
START SLAVE;
INSERT INTO t1 VALUES (4);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
include/stop_slave.inc
SET GLOBAL debug_dbug="+d,crash_commit_before";
START SLAVE;
INSERT INTO t1 VALUES (5);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
include/stop_slave.inc
SET GLOBAL debug_dbug="+d,crash_commit_after";
START SLAVE;
INSERT INTO t1 VALUES (6);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
include/stop_slave.inc
SET GLOBAL debug_dbug="+d,inject_crash_before_flush_rli";
START SLAVE;
INSERT INTO t1 VALUES (7);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
include/stop_slave.inc
SET GLOBAL debug_dbug="+d,inject_crash_after_flush_rli";
START SLAVE;
INSERT INTO t1 VALUES (8);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_errorhandling.result b/mysql-test/suite/rpl/r/rpl_gtid_errorhandling.result
index 98a8c0b2d87..385a374888c 100644
--- a/mysql-test/suite/rpl/r/rpl_gtid_errorhandling.result
+++ b/mysql-test/suite/rpl/r/rpl_gtid_errorhandling.result
@@ -57,6 +57,7 @@ include/stop_slave.inc
RESET MASTER;
INSERT INTO t1 VALUES (2);
INSERT INTO t1 VALUES (4);
+include/save_master_gtid.inc
SET sql_log_bin = 0;
INSERT INTO t1 VALUES (2);
SET sql_log_bin = 1;
@@ -84,6 +85,7 @@ Warning 1948 Specified value for @@gtid_slave_pos contains no value for replicat
RESET MASTER;
SET GLOBAL gtid_slave_pos = "0-1-1";
START SLAVE;
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
@@ -93,6 +95,7 @@ a
*** MDEV-4688: Empty value of @@GLOBAL.gtid_slave_pos ***
include/stop_slave.inc
INSERT INTO t1 VALUES (5);
+include/save_master_gtid.inc
SET @old_dbug= @@GLOBAL.debug_dbug;
SET GLOBAL debug_dbug="+d,dummy_disable_default_dbug_output";
SET GLOBAL debug_dbug="+d,gtid_fail_after_record_gtid";
@@ -112,6 +115,7 @@ a
4
SET GLOBAL debug_dbug= @old_dbug;
START SLAVE SQL_THREAD;
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
@@ -136,6 +140,8 @@ SET GLOBAL gtid_slave_pos = "0-1-3";
START SLAVE;
include/wait_for_slave_to_start.inc
INSERT INTO t1 VALUES (6);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_ignored.result b/mysql-test/suite/rpl/r/rpl_gtid_ignored.result
index 7d6e65bcb6f..80df3af9232 100644
--- a/mysql-test/suite/rpl/r/rpl_gtid_ignored.result
+++ b/mysql-test/suite/rpl/r/rpl_gtid_ignored.result
@@ -66,5 +66,7 @@ a
9
DROP TABLE t1;
SET GLOBAL gtid_strict_mode= @old_gtid_strict_mode;
+SET debug_sync = "reset";
SET GLOBAL gtid_strict_mode= @old_gtid_strict_mode;
+SET debug_sync = "reset";
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_nobinlog.result b/mysql-test/suite/rpl/r/rpl_gtid_nobinlog.result
index 5a9acb157c6..9aee74d0b46 100644
--- a/mysql-test/suite/rpl/r/rpl_gtid_nobinlog.result
+++ b/mysql-test/suite/rpl/r/rpl_gtid_nobinlog.result
@@ -23,6 +23,7 @@ START SLAVE;
include/wait_for_slave_to_start.inc
INSERT INTO t1 VALUES (3, 2);
INSERT INTO t1 VALUES (4, 2);
+include/save_master_gtid.inc
include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
@@ -31,6 +32,7 @@ slave-bin.000001 # Query # # COMMIT
slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
slave-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (4, 2)
slave-bin.000001 # Query # # COMMIT
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a b
1 1
@@ -41,9 +43,11 @@ include/stop_slave.inc
RESET SLAVE;
INSERT INTO t1 VALUES (5, 1);
INSERT INTO t1 VALUES (6, 1);
+include/save_master_gtid.inc
CHANGE MASTER TO master_host = '127.0.0.1', master_port = MASTER_PORT,
master_use_gtid = current_pos;
START SLAVE;
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a b
1 1
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_startpos.result b/mysql-test/suite/rpl/r/rpl_gtid_startpos.result
index 9be5903b2e9..9ff51ff6b8a 100644
--- a/mysql-test/suite/rpl/r/rpl_gtid_startpos.result
+++ b/mysql-test/suite/rpl/r/rpl_gtid_startpos.result
@@ -43,10 +43,12 @@ SET sql_log_bin=1;
*** Test that we give warning when explict @@gtid_slave_pos=xxx that conflicts with what is in our binary log ***
include/stop_slave.inc
INSERT INTO t1 VALUES(3);
+include/save_master_gtid.inc
SET GLOBAL gtid_slave_pos='0-1-3';
CHANGE MASTER TO master_host = '127.0.0.1', master_port = MASTER_PORT,
MASTER_USE_GTID=CURRENT_POS;
include/start_slave.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER by a;
a
1
@@ -54,6 +56,7 @@ a
3
include/stop_slave.inc
INSERT INTO t1 VALUES (4);
+include/save_master_gtid.inc
INSERT INTO t1 VALUES (10);
DELETE FROM t1 WHERE a=10;
SET GLOBAL gtid_slave_pos='0-1-4';
@@ -62,6 +65,7 @@ Warning 1947 Specified GTID 0-1-4 conflicts with the binary log which contains a
RESET MASTER;
SET GLOBAL gtid_slave_pos='0-1-4';
START SLAVE;
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER by a;
a
1
@@ -110,6 +114,8 @@ DROP TABLE t1;
SET SQL_LOG_BIN=1;
RESET SLAVE;
SET GLOBAL gtid_slave_pos="";
+SET @save_slave_ddl_exec_mode=@@global.slave_ddl_exec_mode;
+SET GLOBAL slave_ddl_exec_mode=STRICT;
include/start_slave.inc
SELECT * FROM t1 ORDER BY a;
a
@@ -125,6 +131,8 @@ STOP SLAVE IO_THREAD;
CHANGE MASTER TO MASTER_USE_GTID=CURRENT_POS;
include/start_slave.inc
INSERT INTO t1 VALUES(3);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
@@ -136,6 +144,8 @@ SET SQL_LOG_BIN=1;
*** Test reconnecting slave with GTID after purge logs on master. ***
FLUSH LOGS;
INSERT INTO t1 VALUES (4);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
include/stop_slave.inc
FLUSH LOGS;
FLUSH LOGS;
@@ -144,8 +154,10 @@ show binary logs;
Log_name File_size
master-bin.000004 #
INSERT INTO t1 VALUES (5);
+include/save_master_gtid.inc
CHANGE MASTER TO master_host = '127.0.0.1', master_port = MASTER_PORT;
include/start_slave.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
@@ -160,7 +172,9 @@ SET GLOBAL gtid_slave_pos="";
RESET MASTER;
TRUNCATE TABLE t1;
INSERT INTO t1 VALUES (10);
+include/save_master_gtid.inc
include/start_slave.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1;
a
10
@@ -225,4 +239,5 @@ a
1
2
DROP TABLE t1;
+set @@global.slave_ddl_exec_mode=@save_slave_ddl_exec_mode;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_stop_start.result b/mysql-test/suite/rpl/r/rpl_gtid_stop_start.result
index 61c2fc0a0e9..ddcbaf8dffd 100644
--- a/mysql-test/suite/rpl/r/rpl_gtid_stop_start.result
+++ b/mysql-test/suite/rpl/r/rpl_gtid_stop_start.result
@@ -14,10 +14,12 @@ master-bin.000002 #
INSERT INTO t1 VALUES (2);
FLUSH LOGS;
INSERT INTO t1 VALUES (3);
+include/save_master_gtid.inc
show binary logs;
Log_name File_size
master-bin.000002 #
master-bin.000003 #
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
@@ -43,6 +45,8 @@ master-bin.000003 #
master-bin.000004 #
master-bin.000005 #
INSERT INTO t1 VALUES(5);
+include/save_master_gtid.inc
+include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
a
1
diff --git a/mysql-test/suite/rpl/r/rpl_mariadb_slave_capability.result b/mysql-test/suite/rpl/r/rpl_mariadb_slave_capability.result
index f6ce29101f8..9c19062255c 100644
--- a/mysql-test/suite/rpl/r/rpl_mariadb_slave_capability.result
+++ b/mysql-test/suite/rpl/r/rpl_mariadb_slave_capability.result
@@ -62,6 +62,32 @@ slave-relay-bin.000007 # Query # # # Dummy ev
slave-relay-bin.000007 # Table_map # # table_id: # (test.t1)
slave-relay-bin.000007 # Write_rows_v1 # # table_id: # flags: STMT_END_F
slave-relay-bin.000007 # Query # # COMMIT
+*** MDEV-5754: MySQL 5.5 slaves cannot replicate from MariaDB 10.0 ***
+CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=InnoDB;
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+INSERT INTO t2 VALUES (1);
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+INSERT INTO t2 VALUES (2);
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+SET debug_sync='RESET';
+SET debug_sync='RESET';
+SET debug_sync='RESET';
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000003 # Gtid # # BEGIN GTID #-#-# cid=#
+master-bin.000003 # Table_map # # table_id: # (test.t2)
+master-bin.000003 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000003 # Xid # # COMMIT /* XID */
+master-bin.000003 # Gtid # # BEGIN GTID #-#-# cid=#
+master-bin.000003 # Table_map # # table_id: # (test.t2)
+master-bin.000003 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000003 # Xid # # COMMIT /* XID */
+SELECT * FROM t2 ORDER BY a;
+a
+1
+2
# Test that slave which cannot tolerate holes in binlog stream but
# knows the event does not get dummy event
include/stop_slave.inc
@@ -95,5 +121,5 @@ select @@global.replicate_annotate_row_events;
set @@global.debug_dbug= @old_slave_dbug;
Clean up.
set @@global.binlog_checksum = @old_master_binlog_checksum;
-DROP TABLE t1;
+DROP TABLE t1, t2;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_mdev382.result b/mysql-test/suite/rpl/r/rpl_mdev382.result
index 6cd6aa09ede..bc245a073cd 100644
--- a/mysql-test/suite/rpl/r/rpl_mdev382.result
+++ b/mysql-test/suite/rpl/r/rpl_mdev382.result
@@ -315,7 +315,7 @@ CREATE TABLE `t``1` ( `a``` INT PRIMARY KEY) ENGINE=innodb;
CREATE TABLE `t``2` ( `b``` INT PRIMARY KEY, `c``` INT NOT NULL,
FOREIGN KEY fk (`c```) REFERENCES `t``1`(`a```)) ENGINE=innodb;
TRUNCATE `t``1`;
-ERROR 42000: Cannot truncate a table referenced in a foreign key constraint (`db1``; select 'oops!'`.`t``2`, CONSTRAINT `t``2_ibfk_1` FOREIGN KEY (`c```) REFERENCES `db1``; select 'oops!'`.`t``1` (`a```))
+ERROR 42000: Cannot truncate a table referenced in a foreign key constraint (`db1``; select 'oops!'`.`t``2`, CONSTRAINT `fk` FOREIGN KEY (`c```) REFERENCES `db1``; select 'oops!'`.`t``1` (`a```))
DROP TABLE `t``2`;
DROP TABLE `t``1`;
*** Test correct quoting of DELETE FROM statement binlogged for HEAP table that is emptied due to server restart
diff --git a/mysql-test/suite/rpl/r/rpl_old_master.result b/mysql-test/suite/rpl/r/rpl_old_master.result
new file mode 100644
index 00000000000..df5bbe34256
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_old_master.result
@@ -0,0 +1,27 @@
+include/master-slave.inc
+[connection master]
+include/stop_slave.inc
+include/rpl_stop_server.inc [server_number=1]
+include/rpl_start_server.inc [server_number=1]
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=10;
+CHANGE MASTER TO master_host='127.0.0.1', master_port=SERVER_MYPORT_1, master_user='root', master_log_file='master-bin.000001', master_log_pos=4;
+include/start_slave.inc
+CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=InnoDB;
+INSERT INTO t2 VALUES (1);
+SELECT * FROM t1 ORDER BY a;
+a b
+1 1
+2 2
+3 4
+4 8
+5 16
+SELECT * FROM t2;
+a
+1
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=@old_parallel;
+DROP TABLE t1;
+include/start_slave.inc
+DROP TABLE t2;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_parallel.result b/mysql-test/suite/rpl/r/rpl_parallel.result
index d196e7ea25c..20b75cbbdab 100644
--- a/mysql-test/suite/rpl/r/rpl_parallel.result
+++ b/mysql-test/suite/rpl/r/rpl_parallel.result
@@ -115,6 +115,7 @@ SET GLOBAL slave_parallel_threads=10;
SET debug_sync='RESET';
include/start_slave.inc
*** Test that group-committed transactions on the master can replicate in parallel on the slave. ***
+SET debug_sync='RESET';
FLUSH LOGS;
CREATE TABLE t3 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
INSERT INTO t3 VALUES (1,1), (3,3), (5,5), (7,7);
@@ -141,6 +142,7 @@ INSERT INTO t3 VALUES (6, foo(16,
''));
SET debug_sync='now WAIT_FOR master_queued3';
SET debug_sync='now SIGNAL master_cont1';
+SET debug_sync='RESET';
SELECT * FROM t3 ORDER BY a;
a b
1 1
@@ -213,6 +215,9 @@ slave-bin.000003 # Query # # use `test`; INSERT INTO t3 VALUES (6, foo(16,
slave-bin.000003 # Xid # # COMMIT /* XID */
*** Test STOP SLAVE in parallel mode ***
include/stop_slave.inc
+SET debug_sync='RESET';
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
SET binlog_direct_non_transactional_updates=0;
SET sql_log_bin=0;
CALL mtr.add_suppression("Statement is unsafe because it accesses a non-transactional table after accessing a transactional table within the same transaction");
@@ -227,10 +232,15 @@ INSERT INTO t3 VALUES(21, 21);
INSERT INTO t3 VALUES(22, 22);
SET binlog_format=@old_format;
BEGIN;
-INSERT INTO t2 VALUES (21);
+INSERT INTO t2 VALUES (21);
START SLAVE;
+SET @old_dbug= @@GLOBAL.debug_dbug;
+SET GLOBAL debug_dbug="+d,rpl_parallel_wait_for_done_trigger";
STOP SLAVE;
+SET debug_sync='now WAIT_FOR wait_for_done_waiting';
ROLLBACK;
+SET GLOBAL debug_dbug=@old_dbug;
+SET debug_sync='RESET';
include/wait_for_slave_to_stop.inc
SELECT * FROM t1 WHERE a >= 20 ORDER BY a;
a
@@ -292,6 +302,7 @@ a b
32 32
33 33
34 34
+SET debug_sync='RESET';
SET sql_log_bin=0;
CALL mtr.add_suppression("Query execution was interrupted");
CALL mtr.add_suppression("Commit failed due to failure of an earlier commit on which this one depends");
@@ -303,11 +314,12 @@ SET debug_sync='now WAIT_FOR t1_ready';
KILL THD_ID;
SET debug_sync='now WAIT_FOR t2_killed';
SET debug_sync='now SIGNAL t1_cont';
-include/wait_for_slave_sql_error.inc [errno=1317,1963]
+include/wait_for_slave_sql_error.inc [errno=1317,1964]
STOP SLAVE IO_THREAD;
SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
a b
31 31
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -379,16 +391,15 @@ a b
42 42
43 43
44 44
+SET debug_sync='RESET';
SET debug_sync='now WAIT_FOR t2_query';
SET debug_sync='now SIGNAL t2_cont';
SET debug_sync='now WAIT_FOR t1_ready';
KILL THD_ID;
SET debug_sync='now WAIT_FOR t2_killed';
SET debug_sync='now SIGNAL t1_cont';
-include/wait_for_slave_sql_error.inc [errno=1317,1963]
-SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
-a b
-41 41
+include/wait_for_slave_sql_error.inc [errno=1317,1964]
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -463,16 +474,18 @@ a b
52 52
53 53
54 54
+SET debug_sync='RESET';
SET debug_sync='now WAIT_FOR t2_query';
SET debug_sync='now SIGNAL t2_cont';
SET debug_sync='now WAIT_FOR t1_ready';
KILL THD_ID;
SET debug_sync='now WAIT_FOR t2_killed';
SET debug_sync='now SIGNAL t1_cont';
-include/wait_for_slave_sql_error.inc [errno=1317,1963]
+include/wait_for_slave_sql_error.inc [errno=1317,1964]
SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
a b
51 51
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -514,14 +527,18 @@ include/start_slave.inc
include/stop_slave.inc
SET GLOBAL binlog_format=@old_format;
SET GLOBAL slave_parallel_threads=0;
-SET GLOBAL slave_parallel_threads=3;
+SET GLOBAL slave_parallel_threads=4;
include/start_slave.inc
*** 4. Test killing thread that is waiting to start transaction until previous transaction commits ***
SET binlog_format=statement;
SET gtid_domain_id=2;
+BEGIN;
+INSERT INTO t3 VALUES (70, foo(70,
+'rpl_parallel_start_waiting_for_prior SIGNAL t4_waiting', ''));
INSERT INTO t3 VALUES (60, foo(60,
'ha_write_row_end SIGNAL d2_query WAIT_FOR d2_cont2',
'rpl_parallel_end_of_group SIGNAL d2_done WAIT_FOR d2_cont'));
+COMMIT;
SET gtid_domain_id=0;
SET debug_sync='now WAIT_FOR d2_query';
SET gtid_domain_id=1;
@@ -540,15 +557,27 @@ INSERT INTO t3 VALUES (63, foo(63,
'ha_write_row_end SIGNAL d0_query WAIT_FOR d0_cont2',
'rpl_parallel_end_of_group SIGNAL d0_done WAIT_FOR d0_cont'));
SET debug_sync='now WAIT_FOR d0_query';
+SET gtid_domain_id=3;
+BEGIN;
+INSERT INTO t3 VALUES (68, foo(68,
+'rpl_parallel_start_waiting_for_prior SIGNAL t2_waiting', ''));
+INSERT INTO t3 VALUES (69, foo(69,
+'ha_write_row_end SIGNAL d3_query WAIT_FOR d3_cont2',
+'rpl_parallel_end_of_group SIGNAL d3_done WAIT_FOR d3_cont'));
+COMMIT;
+SET gtid_domain_id=0;
+SET debug_sync='now WAIT_FOR d3_query';
SET debug_sync='now SIGNAL d2_cont2';
SET debug_sync='now WAIT_FOR d2_done';
SET debug_sync='now SIGNAL d1_cont2';
SET debug_sync='now WAIT_FOR d1_done';
SET debug_sync='now SIGNAL d0_cont2';
SET debug_sync='now WAIT_FOR d0_done';
+SET debug_sync='now SIGNAL d3_cont2';
+SET debug_sync='now WAIT_FOR d3_done';
SET binlog_format=statement;
INSERT INTO t3 VALUES (64, foo(64,
-'commit_before_prepare_ordered SIGNAL t1_waiting WAIT_FOR t1_cont', ''));
+'rpl_parallel_before_mark_start_commit SIGNAL t1_waiting WAIT_FOR t1_cont', ''));
SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2 WAIT_FOR master_cont2';
INSERT INTO t3 VALUES (65, foo(65, '', ''));
SET debug_sync='now WAIT_FOR master_queued2';
@@ -569,23 +598,34 @@ a b
65 65
66 66
67 67
+68 68
+69 69
+70 70
+SET debug_sync='RESET';
SET debug_sync='now SIGNAL d0_cont';
SET debug_sync='now WAIT_FOR t1_waiting';
+SET debug_sync='now SIGNAL d3_cont';
+SET debug_sync='now WAIT_FOR t2_waiting';
SET debug_sync='now SIGNAL d1_cont';
SET debug_sync='now WAIT_FOR t3_waiting';
SET debug_sync='now SIGNAL d2_cont';
+SET debug_sync='now WAIT_FOR t4_waiting';
KILL THD_ID;
SET debug_sync='now WAIT_FOR t3_killed';
SET debug_sync='now SIGNAL t1_cont';
-include/wait_for_slave_sql_error.inc [errno=1317,1927,1963]
+include/wait_for_slave_sql_error.inc [errno=1317,1927,1964]
STOP SLAVE IO_THREAD;
-SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+SELECT * FROM t3 WHERE a >= 60 AND a != 65 ORDER BY a;
a b
60 60
61 61
62 62
63 63
64 64
+68 68
+69 69
+70 70
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -597,11 +637,11 @@ RETURN x;
END
||
SET sql_log_bin=1;
-INSERT INTO t3 VALUES (69,0);
+UPDATE t3 SET b=b+1 WHERE a=60;
include/start_slave.inc
SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
a b
-60 60
+60 61
61 61
62 62
63 63
@@ -609,7 +649,9 @@ a b
65 65
66 66
67 67
-69 0
+68 68
+69 69
+70 70
SET sql_log_bin=0;
DROP FUNCTION foo;
CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
@@ -634,47 +676,154 @@ include/start_slave.inc
SET @old_max_queued= @@GLOBAL.slave_parallel_max_queued;
SET GLOBAL slave_parallel_max_queued=9000;
SET binlog_format=statement;
-INSERT INTO t3 VALUES (70, foo(0,
+INSERT INTO t3 VALUES (80, foo(0,
'ha_write_row_end SIGNAL query_waiting WAIT_FOR query_cont', ''));
SET debug_sync='now WAIT_FOR query_waiting';
SET @old_dbug= @@GLOBAL.debug_dbug;
SET GLOBAL debug_dbug="+d,rpl_parallel_wait_queue_max";
-INSERT INTO t3 VALUES (72, 0);
-SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+SELECT * FROM t3 WHERE a >= 80 ORDER BY a;
a b
-70 0
-71 10000
-72 0
+80 0
+81 10000
SET debug_sync='now WAIT_FOR wait_queue_ready';
KILL THD_ID;
SET debug_sync='now WAIT_FOR wait_queue_killed';
SET debug_sync='now SIGNAL query_cont';
-include/wait_for_slave_sql_error.inc [errno=1317,1927,1963]
+include/wait_for_slave_sql_error.inc [errno=1317,1927,1964]
STOP SLAVE IO_THREAD;
-SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
-a b
-70 0
-71 10000
SET GLOBAL debug_dbug=@old_dbug;
SET GLOBAL slave_parallel_max_queued= @old_max_queued;
-INSERT INTO t3 VALUES (73,0);
+INSERT INTO t3 VALUES (82,0);
+SET binlog_format=@old_format;
+SET debug_sync='RESET';
include/start_slave.inc
-SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+SELECT * FROM t3 WHERE a >= 80 ORDER BY a;
a b
-70 0
-71 10000
-72 0
-73 0
+80 0
+81 10000
+82 0
include/stop_slave.inc
SET GLOBAL binlog_format=@old_format;
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
include/start_slave.inc
+*** MDEV-5788 Incorrect free of rgi->deferred_events in parallel replication ***
+include/stop_slave.inc
+SET GLOBAL replicate_ignore_table="test.t3";
+SET GLOBAL slave_parallel_threads=2;
+include/start_slave.inc
+INSERT INTO t3 VALUES (100, rand());
+INSERT INTO t3 VALUES (101, rand());
+INSERT INTO t3 VALUES (102, rand());
+INSERT INTO t3 VALUES (103, rand());
+INSERT INTO t3 VALUES (104, rand());
+INSERT INTO t3 VALUES (105, rand());
+include/stop_slave.inc
+SET GLOBAL replicate_ignore_table="";
+include/start_slave.inc
+INSERT INTO t3 VALUES (106, rand());
+INSERT INTO t3 VALUES (107, rand());
+SELECT * FROM t3 WHERE a >= 100 ORDER BY a;
+a b
+106 #
+107 #
+*** MDEV-5921: In parallel replication, an error is not correctly signalled to the next transaction ***
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=10;
+include/start_slave.inc
+INSERT INTO t3 VALUES (110, 1);
+SELECT * FROM t3 WHERE a >= 110 ORDER BY a;
+a b
+110 1
+SET sql_log_bin=0;
+INSERT INTO t3 VALUES (111, 666);
+SET sql_log_bin=1;
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+INSERT INTO t3 VALUES (111, 2);
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+INSERT INTO t3 VALUES (112, 3);
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+SET debug_sync='RESET';
+include/wait_for_slave_sql_error.inc [errno=1062]
+include/wait_for_slave_sql_to_stop.inc
+SELECT * FROM t3 WHERE a >= 110 ORDER BY a;
+a b
+110 1
+111 666
+SET sql_log_bin=0;
+DELETE FROM t3 WHERE a=111 AND b=666;
+SET sql_log_bin=1;
+START SLAVE SQL_THREAD;
+SELECT * FROM t3 WHERE a >= 110 ORDER BY a;
+a b
+110 1
+111 2
+112 3
+***MDEV-5914: Parallel replication deadlock due to InnoDB lock conflicts ***
+include/stop_slave.inc
+CREATE TABLE t4 (a INT PRIMARY KEY, b INT, KEY b_idx(b)) ENGINE=InnoDB;
+INSERT INTO t4 VALUES (1,NULL), (2,2), (3,NULL), (4,4), (5, NULL), (6, 6);
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+UPDATE t4 SET b=NULL WHERE a=6;
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+DELETE FROM t4 WHERE b <= 3;
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+SET debug_sync='RESET';
+include/start_slave.inc
+include/stop_slave.inc
+SELECT * FROM t4 ORDER BY a;
+a b
+1 NULL
+3 NULL
+4 4
+5 NULL
+6 NULL
+DELETE FROM t4;
+INSERT INTO t4 VALUES (1,NULL), (2,2), (3,NULL), (4,4), (5, NULL), (6, 6);
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+INSERT INTO t4 VALUES (7, NULL);
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+DELETE FROM t4 WHERE b <= 3;
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+SET debug_sync='RESET';
+include/start_slave.inc
+SELECT * FROM t4 ORDER BY a;
+a b
+1 NULL
+3 NULL
+4 4
+5 NULL
+6 6
+7 NULL
+*** MDEV-5938: Exec_master_log_pos not updated at log rotate in parallel replication ***
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=1;
+SET DEBUG_SYNC= 'RESET';
+include/start_slave.inc
+CREATE TABLE t5 (a INT PRIMARY KEY, b INT);
+INSERT INTO t5 VALUES (1,1);
+INSERT INTO t5 VALUES (2,2), (3,8);
+INSERT INTO t5 VALUES (4,16);
+test_check
+OK
+test_check
+OK
+FLUSH LOGS;
+test_check
+OK
+test_check
+OK
include/stop_slave.inc
SET GLOBAL slave_parallel_threads=@old_parallel_threads;
include/start_slave.inc
SET DEBUG_SYNC= 'RESET';
DROP function foo;
-DROP TABLE t1,t2,t3;
+DROP TABLE t1,t2,t3,t4,t5;
SET DEBUG_SYNC= 'RESET';
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_parallel2.result b/mysql-test/suite/rpl/r/rpl_parallel2.result
new file mode 100644
index 00000000000..49be484f419
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_parallel2.result
@@ -0,0 +1,18 @@
+include/rpl_init.inc [topology=1->2]
+*** MDEV-5509: Incorrect value for Seconds_Behind_Master if parallel replication ***
+SET @old_parallel_threads=@@GLOBAL.slave_parallel_threads;
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=5;
+include/start_slave.inc
+CREATE TABLE t1 (a INT PRIMARY KEY, b INT);
+CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave");
+INSERT INTO t1 VALUES (1,sleep(2));
+Warnings:
+Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave.
+Seconds_Behind_Master should be zero here because the slave is fully caught up and idle.
+Seconds_Behind_Master = '0'
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=@old_parallel_threads;
+include/start_slave.inc
+DROP TABLE t1;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result b/mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result
index 067d92a962f..0f0b6c9f02a 100644
--- a/mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result
+++ b/mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result
@@ -116,7 +116,9 @@ SET GLOBAL slave_parallel_threads=10;
include/start_slave.inc
include/stop_slave.inc
SET GLOBAL slave_parallel_threads=@old_parallel_threads;
+SET debug_sync = 'reset';
include/start_slave.inc
DROP function foo;
DROP TABLE t3;
+SET debug_sync = 'reset';
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_row_create_table.result b/mysql-test/suite/rpl/r/rpl_row_create_table.result
index 393e2fdb851..9c04f580c07 100644
--- a/mysql-test/suite/rpl/r/rpl_row_create_table.result
+++ b/mysql-test/suite/rpl/r/rpl_row_create_table.result
@@ -1,23 +1,24 @@
-stop slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-reset master;
-reset slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-start slave;
-**** Resetting master and slave ****
-include/stop_slave.inc
-RESET SLAVE;
-RESET MASTER;
-include/start_slave.inc
-CREATE TABLE t1 (a INT, b INT);
+include/master-slave.inc
+[connection master]
+include/wait_for_slave_to_stop.inc
+include/wait_for_slave_to_start.inc
+include/rpl_reset.inc
+CREATE TABLE t1 (a INT);
+CREATE OR REPLACE TABLE t1 (a INT, b INT);
CREATE TABLE t2 (a INT, b INT) ENGINE=Merge;
CREATE TABLE t3 (a INT, b INT) CHARSET=utf8;
CREATE TABLE t4 (a INT, b INT) ENGINE=Merge CHARSET=utf8;
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
-master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a INT, b INT)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a INT)
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t1 (a INT, b INT)
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a INT, b INT) ENGINE=Merge
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t3 (a INT, b INT) CHARSET=utf8
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t4 (a INT, b INT) ENGINE=Merge CHARSET=utf8
**** On Master ****
SHOW CREATE TABLE t1;
@@ -111,15 +112,10 @@ NULL 3 6
NULL 4 2
NULL 5 10
NULL 6 12
-**** Resetting master and slave ****
-include/stop_slave.inc
-RESET SLAVE;
-RESET MASTER;
-include/start_slave.inc
+include/rpl_reset.inc
CREATE TABLE t7 (UNIQUE(b)) SELECT a,b FROM tt3;
ERROR 23000: Duplicate entry '2' for key 'b'
-show binlog events from <binlog_start>;
-Log_name Pos Event_type Server_id End_log_pos Info
+include/show_binlog_events.inc
CREATE TABLE t7 (a INT, b INT UNIQUE);
INSERT INTO t7 SELECT a,b FROM tt3;
ERROR 23000: Duplicate entry '2' for key 'b'
@@ -128,23 +124,20 @@ a b
1 2
2 4
3 6
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t7 (a INT, b INT UNIQUE)
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Table_map # # table_id: # (test.t7)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
SELECT * FROM t7 ORDER BY a,b;
a b
1 2
2 4
3 6
-**** Resetting master and slave ****
-include/stop_slave.inc
-RESET SLAVE;
-RESET MASTER;
-include/start_slave.inc
+include/rpl_reset.inc
CREATE TEMPORARY TABLE tt4 (a INT, b INT);
INSERT INTO tt4 VALUES (4,8), (5,10), (6,12);
BEGIN;
@@ -152,11 +145,11 @@ INSERT INTO t7 SELECT a,b FROM tt4;
ROLLBACK;
Warnings:
Warning 1196 Some non-transactional changed tables couldn't be rolled back
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Table_map # # table_id: # (test.t7)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
SELECT * FROM t7 ORDER BY a,b;
a b
@@ -174,11 +167,7 @@ a b
4 8
5 10
6 12
-**** Resetting master and slave ****
-include/stop_slave.inc
-RESET SLAVE;
-RESET MASTER;
-include/start_slave.inc
+include/rpl_reset.inc
CREATE TABLE t8 LIKE t4;
CREATE TABLE t9 LIKE tt4;
CREATE TEMPORARY TABLE tt5 LIKE t4;
@@ -197,9 +186,11 @@ Create Table CREATE TABLE `t9` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t8 LIKE t4
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE `t9` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
@@ -219,15 +210,12 @@ Create Table CREATE TABLE `t9` (
) ENGINE=MEMORY DEFAULT CHARSET=latin1
DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7,t8,t9;
STOP SLAVE;
+include/wait_for_slave_to_stop.inc
SET GLOBAL storage_engine=@storage_engine;
START SLAVE;
+include/wait_for_slave_to_start.inc
================ BUG#22864 ================
-stop slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-reset master;
-reset slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-start slave;
+include/rpl_reset.inc
SET AUTOCOMMIT=0;
CREATE TABLE t1 (a INT);
INSERT INTO t1 VALUES (1),(2),(3);
@@ -270,37 +258,38 @@ a
1
2
3
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a INT)
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Table_map # # table_id: # (test.t1)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL
) ENGINE=InnoDB
master-bin.000001 # Table_map # # table_id: # (test.t2)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Xid # # COMMIT /* XID */
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE `t3` (
`a` int(11) DEFAULT NULL
) ENGINE=InnoDB
master-bin.000001 # Table_map # # table_id: # (test.t3)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Xid # # COMMIT /* XID */
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE `t4` (
`a` int(11) DEFAULT NULL
) ENGINE=InnoDB
master-bin.000001 # Table_map # # table_id: # (test.t4)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Xid # # COMMIT /* XID */
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Table_map # # table_id: # (test.t1)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
SHOW TABLES;
Tables_in_test
@@ -333,10 +322,7 @@ a
3
DROP TABLE IF EXISTS t1,t2,t3,t4;
SET AUTOCOMMIT=1;
-STOP SLAVE;
-RESET SLAVE;
-RESET MASTER;
-START SLAVE;
+include/rpl_reset.inc
CREATE TABLE t1 (a INT);
INSERT INTO t1 VALUES (1),(2),(3);
CREATE TABLE t2 (a INT) ENGINE=INNODB;
@@ -355,19 +341,21 @@ a
4
6
9
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a INT)
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Table_map # # table_id: # (test.t1)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a INT) ENGINE=INNODB
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Table_map # # table_id: # (test.t2)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Table_map # # table_id: # (test.t2)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Xid # # COMMIT /* XID */
SELECT * FROM t2 ORDER BY a;
a
@@ -377,11 +365,7 @@ a
6
9
TRUNCATE TABLE t2;
-**** Resetting master and slave ****
-include/stop_slave.inc
-RESET SLAVE;
-RESET MASTER;
-include/start_slave.inc
+include/rpl_reset.inc
BEGIN;
INSERT INTO t2 SELECT a*a FROM t1;
CREATE TEMPORARY TABLE tt2
@@ -394,8 +378,14 @@ Warnings:
Warning 1196 Some non-transactional changed tables couldn't be rolled back
SELECT * FROM t2 ORDER BY a;
a
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Table_map # # table_id: # (test.t2)
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000001 # Table_map # # table_id: # (test.t2)
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000001 # Query # # ROLLBACK
SELECT * FROM t2 ORDER BY a;
a
DROP TABLE t1,t2;
@@ -412,35 +402,28 @@ a
1
2
DROP TABLE t1;
-stop slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-reset master;
-reset slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-start slave;
+include/rpl_reset.inc
DROP DATABASE IF EXISTS mysqltest1;
CREATE DATABASE mysqltest1;
CREATE TABLE mysqltest1.without_select (f1 BIGINT);
CREATE TABLE mysqltest1.with_select AS SELECT 1 AS f1;
-show binlog events from <binlog_start>;
+include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # DROP DATABASE IF EXISTS mysqltest1
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # CREATE DATABASE mysqltest1
+master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE mysqltest1.without_select (f1 BIGINT)
-master-bin.000001 # Query # # BEGIN
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE `mysqltest1`.`with_select` (
`f1` int(1) NOT NULL DEFAULT '0'
)
master-bin.000001 # Table_map # # table_id: # (mysqltest1.with_select)
-master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
DROP DATABASE mysqltest1;
-stop slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-reset master;
-reset slave;
-drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
-start slave;
+include/rpl_reset.inc
CREATE TEMPORARY TABLE t7(c1 INT);
CREATE TABLE t5(c1 INT);
CREATE TABLE t4(c1 INT);
@@ -456,9 +439,9 @@ CREATE TABLE IF NOT EXISTS bug48506_t3 LIKE t7;
CREATE TABLE IF NOT EXISTS bug48506_t4 LIKE t7;
SHOW TABLES LIKE 'bug48506%';
Tables_in_test (bug48506%)
-bug48506_t4
DROP VIEW IF EXISTS bug48506_t1, bug48506_t2, bug48506_t3;
DROP TEMPORARY TABLES t7;
DROP TABLES t4, t5;
DROP TABLES IF EXISTS bug48506_t4;
+include/rpl_end.inc
end of the tests
diff --git a/mysql-test/suite/rpl/r/rpl_row_log.result b/mysql-test/suite/rpl/r/rpl_row_log.result
index d3d5b42c80a..83ec26486e0 100644
--- a/mysql-test/suite/rpl/r/rpl_row_log.result
+++ b/mysql-test/suite/rpl/r/rpl_row_log.result
@@ -6,6 +6,8 @@ reset master;
reset slave;
start slave;
include/wait_for_slave_to_start.inc
+set @save_slave_ddl_exec_mode=@@global.slave_ddl_exec_mode;
+set @@global.slave_ddl_exec_mode=STRICT;
create table t1(n int not null auto_increment primary key)ENGINE=MyISAM;
insert into t1 values (NULL);
drop table t1;
@@ -287,4 +289,5 @@ a b
5 1
6 1
drop table t1;
+set @@global.slave_ddl_exec_mode=@save_slave_ddl_exec_mode;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_row_log_innodb.result b/mysql-test/suite/rpl/r/rpl_row_log_innodb.result
index 5dd5ff1b4ff..3b9733a18e8 100644
--- a/mysql-test/suite/rpl/r/rpl_row_log_innodb.result
+++ b/mysql-test/suite/rpl/r/rpl_row_log_innodb.result
@@ -6,6 +6,8 @@ reset master;
reset slave;
start slave;
include/wait_for_slave_to_start.inc
+set @save_slave_ddl_exec_mode=@@global.slave_ddl_exec_mode;
+set @@global.slave_ddl_exec_mode=STRICT;
create table t1(n int not null auto_increment primary key)ENGINE=InnoDB;
insert into t1 values (NULL);
drop table t1;
@@ -287,4 +289,5 @@ a b
5 1
6 1
drop table t1;
+set @@global.slave_ddl_exec_mode=@save_slave_ddl_exec_mode;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_row_show_relaylog_events.result b/mysql-test/suite/rpl/r/rpl_row_show_relaylog_events.result
index 9872316dc97..a132b50a471 100644
--- a/mysql-test/suite/rpl/r/rpl_row_show_relaylog_events.result
+++ b/mysql-test/suite/rpl/r/rpl_row_show_relaylog_events.result
@@ -172,7 +172,7 @@ include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
slave-bin.000002 # Binlog_checkpoint # # slave-bin.000002
slave-bin.000002 # Gtid # # GTID #-#-#
-slave-bin.000002 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+slave-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
******** [slave] SHOW BINLOG EVENTS IN <FILE> LIMIT 2 ********
include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
@@ -181,7 +181,7 @@ slave-bin.000002 # Gtid # # GTID #-#-#
******** [slave] SHOW BINLOG EVENTS IN <FILE> LIMIT 2,3 ********
include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
-slave-bin.000002 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+slave-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
******** [slave] SHOW BINLOG EVENTS ********
include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
diff --git a/mysql-test/suite/rpl/r/rpl_row_triggers.result b/mysql-test/suite/rpl/r/rpl_row_triggers.result
new file mode 100644
index 00000000000..82dbc727993
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_row_triggers.result
@@ -0,0 +1,240 @@
+include/master-slave.inc
+[connection master]
+# Test of row replication with triggers on the slave side
+CREATE TABLE t1 (C1 CHAR(1) primary key, C2 CHAR(1)) engine=innodb;
+SELECT * FROM t1;
+C1 C2
+SET @old_slave_exec_mode= @@global.slave_exec_mode;
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+SET @@global.slave_exec_mode= IDEMPOTENT;
+SET @@global.slave_run_triggers_for_rbr= YES;
+SELECT * FROM t1;
+C1 C2
+create table t2 (id char(2) primary key, cnt int, o char(1), n char(1));
+insert into t2 values
+('u0', 0, ' ', ' '),('u1', 0, ' ', ' '),
+('d0', 0, ' ', ' '),('d1', 0, ' ', ' '),
+('i0', 0, ' ', ' '),('i1', 0, ' ', ' ');
+create trigger t1_cnt_b before update on t1 for each row
+update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u0';
+create trigger t1_cnt_db before delete on t1 for each row
+update t2 set cnt=cnt+1, o=old.C1, n=' ' where id = 'd0';
+create trigger t1_cnt_ib before insert on t1 for each row
+update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i0';
+create trigger t1_cnt_a after update on t1 for each row
+update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u1';
+create trigger t1_cnt_da after delete on t1 for each row
+update t2 set cnt=cnt+1, o=old.C1, n=' ' where id = 'd1';
+create trigger t1_cnt_ia after insert on t1 for each row
+update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i1';
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 0
+i1 0
+u0 0
+u1 0
+# INSERT triggers test
+insert into t1 values ('a','b');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 1 a
+i1 1 a
+u0 0
+u1 0
+# UPDATE triggers test
+update t1 set C1= 'd';
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 1 a
+i1 1 a
+u0 1 a d
+u1 1 a d
+# DELETE triggers test
+delete from t1 where C1='d';
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 1 d
+d1 1 d
+i0 1 a
+i1 1 a
+u0 1 a d
+u1 1 a d
+# INSERT triggers which cause also UPDATE test (insert duplicate row)
+insert into t1 values ('0','1');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 1 d
+d1 1 d
+i0 2 0
+i1 2 0
+u0 1 a d
+u1 1 a d
+insert into t1 values ('0','1');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 1 d
+d1 1 d
+i0 3 0
+i1 3 0
+u0 2 0 0
+u1 2 0 0
+# INSERT triggers which cause also DELETE test
+# (insert duplicate row in table referenced by foreign key)
+insert into t1 values ('1','1');
+CREATE TABLE t3 (C1 CHAR(1) primary key, FOREIGN KEY (C1) REFERENCES t1(C1) ) engine=innodb;
+insert into t1 values ('1','1');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 2 1
+d1 2 1
+i0 5 1
+i1 5 1
+u0 2 0 0
+u1 2 0 0
+drop table t3,t1;
+SET @@global.slave_exec_mode= @old_slave_exec_mode;
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+drop table t2;
+CREATE TABLE t1 (i INT) ENGINE=InnoDB;
+CREATE TABLE t2 (i INT) ENGINE=InnoDB;
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+SET GLOBAL slave_run_triggers_for_rbr=YES;
+CREATE TRIGGER tr AFTER INSERT ON t1 FOR EACH ROW
+INSERT INTO t2 VALUES (new.i);
+BEGIN;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (2);
+COMMIT;
+select * from t2;
+i
+1
+2
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+drop tables t2,t1;
+# Triggers on slave do not work if master has some
+CREATE TABLE t1 (C1 CHAR(1) primary key, C2 CHAR(1)) engine=innodb;
+SELECT * FROM t1;
+C1 C2
+create trigger t1_dummy before delete on t1 for each row
+set @dummy= 1;
+SET @old_slave_exec_mode= @@global.slave_exec_mode;
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+SET @@global.slave_exec_mode= IDEMPOTENT;
+SET @@global.slave_run_triggers_for_rbr= YES;
+SELECT * FROM t1;
+C1 C2
+create table t2 (id char(2) primary key, cnt int, o char(1), n char(1));
+insert into t2 values
+('u0', 0, ' ', ' '),('u1', 0, ' ', ' '),
+('d0', 0, ' ', ' '),('d1', 0, ' ', ' '),
+('i0', 0, ' ', ' '),('i1', 0, ' ', ' ');
+create trigger t1_cnt_b before update on t1 for each row
+update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u0';
+create trigger t1_cnt_ib before insert on t1 for each row
+update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i0';
+create trigger t1_cnt_a after update on t1 for each row
+update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u1';
+create trigger t1_cnt_da after delete on t1 for each row
+update t2 set cnt=cnt+1, o=old.C1, n=' ' where id = 'd1';
+create trigger t1_cnt_ia after insert on t1 for each row
+update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i1';
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 0
+i1 0
+u0 0
+u1 0
+# INSERT triggers test
+insert into t1 values ('a','b');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 0
+i1 0
+u0 0
+u1 0
+# UPDATE triggers test
+update t1 set C1= 'd';
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 0
+i1 0
+u0 0
+u1 0
+# DELETE triggers test
+delete from t1 where C1='d';
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 0
+i1 0
+u0 0
+u1 0
+# INSERT triggers which cause also UPDATE test (insert duplicate row)
+insert into t1 values ('0','1');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 1 0
+i1 1 0
+u0 0
+u1 0
+insert into t1 values ('0','1');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 1 0
+i1 1 0
+u0 0
+u1 0
+# INSERT triggers which cause also DELETE test
+# (insert duplicate row in table referenced by foreign key)
+insert into t1 values ('1','1');
+CREATE TABLE t3 (C1 CHAR(1) primary key, FOREIGN KEY (C1) REFERENCES t1(C1) ) engine=innodb;
+insert into t1 values ('1','1');
+SELECT * FROM t2 order by id;
+id cnt o n
+d0 0
+d1 0
+i0 2 1
+i1 2 1
+u0 0
+u1 0
+drop table t3,t1;
+SET @@global.slave_exec_mode= @old_slave_exec_mode;
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+drop table t2;
+#
+# MDEV-5513: Trigger is applied to the rows after first one
+#
+create table t1 (a int, b int);
+create table tlog (a int);
+set sql_log_bin=0;
+create trigger tr1 after insert on t1 for each row insert into tlog values (1);
+set sql_log_bin=1;
+set @slave_run_triggers_for_rbr.saved = @@slave_run_triggers_for_rbr;
+set global slave_run_triggers_for_rbr=1;
+create trigger tr2 before insert on t1 for each row set new.b = new.a;
+insert into t1 values (1,10),(2,20),(3,30);
+select * from t1;
+a b
+1 10
+2 20
+3 30
+set global slave_run_triggers_for_rbr = @slave_run_triggers_for_rbr.saved;
+drop table t1, tlog;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_row_triggers_sbr.result b/mysql-test/suite/rpl/r/rpl_row_triggers_sbr.result
new file mode 100644
index 00000000000..96197393de9
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_row_triggers_sbr.result
@@ -0,0 +1,14 @@
+include/master-slave.inc
+[connection master]
+set binlog_format = row;
+create table t1 (i int);
+create table t2 (i int);
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+set global slave_run_triggers_for_rbr=YES;
+create trigger tr_before before insert on t1 for each row
+insert into t2 values (1);
+insert into t1 values (1);
+include/wait_for_slave_sql_error_and_skip.inc [errno=1666]
+drop tables t1,t2;
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_stm_log.result b/mysql-test/suite/rpl/r/rpl_stm_log.result
index 360a0e526de..da925035c9c 100644
--- a/mysql-test/suite/rpl/r/rpl_stm_log.result
+++ b/mysql-test/suite/rpl/r/rpl_stm_log.result
@@ -6,6 +6,8 @@ reset master;
reset slave;
start slave;
include/wait_for_slave_to_start.inc
+set @save_slave_ddl_exec_mode=@@global.slave_ddl_exec_mode;
+set @@global.slave_ddl_exec_mode=STRICT;
create table t1(n int not null auto_increment primary key)ENGINE=MyISAM;
insert into t1 values (NULL);
drop table t1;
@@ -286,4 +288,5 @@ a b
5 1
6 1
drop table t1;
+set @@global.slave_ddl_exec_mode=@save_slave_ddl_exec_mode;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_stm_mix_show_relaylog_events.result b/mysql-test/suite/rpl/r/rpl_stm_mix_show_relaylog_events.result
index 57d84eef52e..69e144b5cd1 100644
--- a/mysql-test/suite/rpl/r/rpl_stm_mix_show_relaylog_events.result
+++ b/mysql-test/suite/rpl/r/rpl_stm_mix_show_relaylog_events.result
@@ -154,7 +154,7 @@ include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
slave-bin.000002 # Binlog_checkpoint # # slave-bin.000002
slave-bin.000002 # Gtid # # GTID #-#-#
-slave-bin.000002 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+slave-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
******** [slave] SHOW BINLOG EVENTS IN <FILE> LIMIT 2 ********
include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
@@ -163,7 +163,7 @@ slave-bin.000002 # Gtid # # GTID #-#-#
******** [slave] SHOW BINLOG EVENTS IN <FILE> LIMIT 2,3 ********
include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
-slave-bin.000002 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
+slave-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
******** [slave] SHOW BINLOG EVENTS ********
include/show_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
diff --git a/mysql-test/suite/rpl/r/rpl_temp_table_mix_row.result b/mysql-test/suite/rpl/r/rpl_temp_table_mix_row.result
index a0102baacfe..1933b0b82f8 100644
--- a/mysql-test/suite/rpl/r/rpl_temp_table_mix_row.result
+++ b/mysql-test/suite/rpl/r/rpl_temp_table_mix_row.result
@@ -62,7 +62,7 @@ slave-bin.000001 # Query # # use `test`; ALTER TABLE t1_tmp ADD COLUMN b INT
slave-bin.000001 # Gtid # # GTID #-#-#
slave-bin.000001 # Query # # DROP TEMPORARY TABLE IF EXISTS `test`.`t1_tmp` /* generated by server */
slave-bin.000001 # Gtid # # GTID #-#-#
-slave-bin.000001 # Query # # use `test`; DROP TABLE `t2` /* generated by server */
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by server */
slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
slave-bin.000001 # Table_map # # table_id: # (test.t1)
slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
@@ -73,7 +73,7 @@ slave-bin.000001 # Gtid # # BEGIN GTID #-#-#
slave-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (2)
slave-bin.000001 # Xid # # COMMIT /* XID */
slave-bin.000001 # Gtid # # GTID #-#-#
-slave-bin.000001 # Query # # use `test`; DROP TABLE `t3`,`t1` /* generated by server */
+slave-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t3`,`t1` /* generated by server */
# Bug#55478 Row events wrongly apply on the temporary table of the same name
# ==========================================================================
diff --git a/mysql-test/suite/rpl/t/create_or_replace.inc b/mysql-test/suite/rpl/t/create_or_replace.inc
new file mode 100644
index 00000000000..7d0dc487061
--- /dev/null
+++ b/mysql-test/suite/rpl/t/create_or_replace.inc
@@ -0,0 +1,213 @@
+# Test CREATE OR REPLACE TABLE in replication
+--source include/have_innodb.inc
+
+--let $rpl_topology=1->2
+--source include/rpl_init.inc
+
+# Create help tables
+create table t2 (a int) engine=myisam;
+insert into t2 values (0),(1),(2),(2);
+create temporary table t3 (a_in_temporary int) engine=myisam;
+
+--echo #
+--echo # Check how create table and create or replace table are logged
+--echo #
+
+save_master_pos;
+connection server_2;
+sync_with_master;
+create table t1 (to_be_deleted int);
+
+connection server_1;
+CREATE TABLE t1 AS SELECT 1 AS f1;
+CREATE OR REPLACE TABLE t1 AS SELECT 2 AS f1;
+CREATE OR REPLACE table t1 like t2;
+CREATE OR REPLACE table t1 like t3;
+drop table t1;
+
+--echo binlog from server 1
+--source include/show_binlog_events.inc
+save_master_pos;
+connection server_2;
+sync_with_master;
+--echo binlog from server 2
+--source include/show_binlog_events.inc
+
+connection server_1;
+
+--echo #
+--echo # Ensure that also failed create_or_replace are logged
+--echo #
+
+--let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
+
+create table t1 (a int);
+--error ER_TABLE_MUST_HAVE_COLUMNS
+create or replace table t1;
+drop table if exists t1;
+# The following is not logged as t1 does not exists;
+--error ER_DUP_ENTRY
+create or replace table t1 (a int primary key) select a from t2;
+
+create table t1 (a int);
+# This should as a delete as we will delete t1
+--error ER_DUP_ENTRY
+create or replace table t1 (a int primary key) select a from t2;
+
+# Same with temporary table
+create temporary table t9 (a int);
+--error ER_DUP_ENTRY
+create or replace temporary table t9 (a int primary key) select a from t2;
+
+--echo binlog from server 1
+--source include/show_binlog_events.inc
+save_master_pos;
+connection server_2;
+sync_with_master;
+show tables;
+connection server_1;
+
+--let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
+create table t1 (a int);
+--error ER_DUP_FIELDNAME
+create or replace table t1 (a int, a int) select * from t2;
+--source include/show_binlog_events.inc
+
+drop table if exists t1,t2;
+drop temporary table if exists t9;
+
+--echo #
+--echo # Ensure that CREATE are run as CREATE OR REPLACE on slave
+--echo #
+
+save_master_pos;
+connection server_2;
+sync_with_master;
+create table t1 (server_2_to_be_delete int);
+connection server_1;
+create table t1 (new_table int);
+
+save_master_pos;
+connection server_2;
+sync_with_master;
+
+show create table t1;
+connection server_1;
+drop table t1;
+
+--echo #
+--echo # Check how CREATE is logged on slave in case of conflicts
+--echo #
+
+save_master_pos;
+connection server_2;
+sync_with_master;
+--let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
+create table t1 (server_2_to_be_delete int);
+create table t2 (server_2_to_be_delete int);
+create table t4 (server_2_to_be_delete int);
+set @org_binlog_format=@@binlog_format;
+set @@global.binlog_format="ROW";
+stop slave;
+--source include/wait_for_slave_to_stop.inc
+start slave;
+--source include/wait_for_slave_to_start.inc
+connection server_1;
+create temporary table t9 (a int);
+insert into t9 values(1);
+create table t1 (new_table int);
+create table t2 select * from t9;
+create table t4 like t9;
+create table t5 select * from t9;
+save_master_pos;
+connection server_2;
+sync_with_master;
+--echo binlog from server 2
+--source include/show_binlog_events.inc
+set @@global.binlog_format=@org_binlog_format;
+stop slave;
+--source include/wait_for_slave_to_stop.inc
+start slave;
+--source include/wait_for_slave_to_start.inc
+connection server_1;
+drop table t1,t2,t4,t5,t9;
+
+--echo #
+--echo # Ensure that DROP TABLE is run as DROP IF NOT EXISTS
+--echo #
+
+create table t1 (server_1_ver_1 int);
+create table t4 (server_1_ver_2 int);
+
+save_master_pos;
+connection server_2;
+sync_with_master;
+--let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
+
+# Drop the table on the slave
+drop table t1;
+connection server_1;
+drop table t1,t4;
+create table t1 (server_2_ver_2 int);
+save_master_pos;
+connection server_2;
+sync_with_master;
+show create table t1;
+--echo binlog from server 2
+--source include/show_binlog_events.inc
+connection server_1;
+drop table t1;
+
+--echo #
+--echo # Ensure that CREATE ... SELECT is recorded as one GTID on the slave
+--echo #
+
+save_master_pos;
+connection server_2;
+sync_with_master;
+--let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
+connection server_1;
+
+create table t1 (a int);
+insert into t1 values (0),(1),(2);
+create table t2 engine=myisam select * from t1;
+create or replace table t2 engine=innodb select * from t1;
+save_master_pos;
+connection server_2;
+sync_with_master;
+--echo binlog from server 2
+--source include/show_binlog_events.inc
+connection server_1;
+drop table t1;
+
+--echo #
+--echo # Check logging of drop temporary table
+--echo #
+
+drop temporary table t3;
+
+--let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
+
+set @org_binlog_format=@@binlog_format;
+set binlog_format="STATEMENT";
+create temporary table t5 (a int);
+drop temporary table t5;
+set binlog_format="ROW";
+create temporary table t6 (a int);
+drop temporary table t6;
+set binlog_format="STATEMENT";
+create temporary table t7 (a int);
+set binlog_format="ROW";
+drop temporary table t7;
+create temporary table t8 (a int);
+--error ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR
+set binlog_format="STATEMENT";
+drop temporary table t8;
+set @@binlog_format=@org_binlog_format;
+
+--source include/show_binlog_events.inc
+
+# Clean up
+drop table t2;
+
+--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/create_or_replace_mix.cnf b/mysql-test/suite/rpl/t/create_or_replace_mix.cnf
new file mode 100644
index 00000000000..03d69b2864f
--- /dev/null
+++ b/mysql-test/suite/rpl/t/create_or_replace_mix.cnf
@@ -0,0 +1,9 @@
+!include suite/rpl/my.cnf
+
+[mysqld.1]
+log-slave-updates
+loose-innodb
+
+[mysqld.2]
+log-slave-updates
+loose-innodb
diff --git a/mysql-test/suite/rpl/t/create_or_replace_mix.test b/mysql-test/suite/rpl/t/create_or_replace_mix.test
new file mode 100644
index 00000000000..0cabef15ad7
--- /dev/null
+++ b/mysql-test/suite/rpl/t/create_or_replace_mix.test
@@ -0,0 +1,4 @@
+# Testing create or replace table in mixed mode.
+
+--source include/have_binlog_format_mixed.inc
+--source create_or_replace.inc
diff --git a/mysql-test/suite/rpl/t/create_or_replace_row.cnf b/mysql-test/suite/rpl/t/create_or_replace_row.cnf
new file mode 100644
index 00000000000..03d69b2864f
--- /dev/null
+++ b/mysql-test/suite/rpl/t/create_or_replace_row.cnf
@@ -0,0 +1,9 @@
+!include suite/rpl/my.cnf
+
+[mysqld.1]
+log-slave-updates
+loose-innodb
+
+[mysqld.2]
+log-slave-updates
+loose-innodb
diff --git a/mysql-test/suite/rpl/t/create_or_replace_row.test b/mysql-test/suite/rpl/t/create_or_replace_row.test
new file mode 100644
index 00000000000..88dd8fd2d74
--- /dev/null
+++ b/mysql-test/suite/rpl/t/create_or_replace_row.test
@@ -0,0 +1,4 @@
+# Testing create or replace table in mixed mode.
+
+--source include/have_binlog_format_row.inc
+--source create_or_replace.inc
diff --git a/mysql-test/suite/rpl/t/create_or_replace_statement.cnf b/mysql-test/suite/rpl/t/create_or_replace_statement.cnf
new file mode 100644
index 00000000000..03d69b2864f
--- /dev/null
+++ b/mysql-test/suite/rpl/t/create_or_replace_statement.cnf
@@ -0,0 +1,9 @@
+!include suite/rpl/my.cnf
+
+[mysqld.1]
+log-slave-updates
+loose-innodb
+
+[mysqld.2]
+log-slave-updates
+loose-innodb
diff --git a/mysql-test/suite/rpl/t/create_or_replace_statement.test b/mysql-test/suite/rpl/t/create_or_replace_statement.test
new file mode 100644
index 00000000000..2709e4142f4
--- /dev/null
+++ b/mysql-test/suite/rpl/t/create_or_replace_statement.test
@@ -0,0 +1,4 @@
+# Testing create or replace table in mixed mode.
+
+--source include/have_binlog_format_statement.inc
+--source create_or_replace.inc
diff --git a/mysql-test/suite/rpl/t/rpl_000011-slave.opt b/mysql-test/suite/rpl/t/rpl_000011-slave.opt
new file mode 100644
index 00000000000..7c3d2411b28
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_000011-slave.opt
@@ -0,0 +1 @@
+--verbose=1
diff --git a/mysql-test/suite/rpl/t/rpl_000011.test b/mysql-test/suite/rpl/t/rpl_000011.test
index 625b0c22c62..faad2242235 100644
--- a/mysql-test/suite/rpl/t/rpl_000011.test
+++ b/mysql-test/suite/rpl/t/rpl_000011.test
@@ -1,9 +1,17 @@
+#
+# Test very simply slave replication (to ensure it works at all)
+# In addition, test also:
+# MDEV-5829 STOP SLAVE resets global status variables
+#
+
source include/master-slave.inc;
create table t1 (n int);
insert into t1 values(1);
sync_slave_with_master;
+show global status like 'com_insert';
stop slave;
+show global status like 'com_insert';
--source include/wait_for_slave_to_stop.inc
start slave;
--source include/wait_for_slave_to_start.inc
diff --git a/mysql-test/suite/rpl/t/rpl_bug37426.test b/mysql-test/suite/rpl/t/rpl_bug37426.test
index d0a60524fef..18e80a5f806 100644
--- a/mysql-test/suite/rpl/t/rpl_bug37426.test
+++ b/mysql-test/suite/rpl/t/rpl_bug37426.test
@@ -3,8 +3,8 @@
# RBR breaks for CHAR() UTF8 fields > 85 chars
#############################################################
-source include/master-slave.inc;
source include/have_binlog_format_row.inc;
+source include/master-slave.inc;
connection master;
CREATE TABLE char128_utf8 (i1 INT NOT NULL, c CHAR(128) CHARACTER SET utf8 NOT NULL, i2 INT NOT NULL);
diff --git a/mysql-test/suite/rpl/t/rpl_connection.test b/mysql-test/suite/rpl/t/rpl_connection.test
index 1233e28dc86..310240061d1 100644
--- a/mysql-test/suite/rpl/t/rpl_connection.test
+++ b/mysql-test/suite/rpl/t/rpl_connection.test
@@ -1,6 +1,6 @@
--source include/not_embedded.inc
---source include/master-slave.inc
--source include/have_binlog_format_mixed.inc
+--source include/master-slave.inc
#
# BUG#13427949: CHANGE MASTER TO USER='' (EMPTY USER) CAUSES ERRORS ON VALGRING
diff --git a/mysql-test/suite/rpl/t/rpl_create_if_not_exists.test b/mysql-test/suite/rpl/t/rpl_create_if_not_exists.test
index 72f1201c93c..b27250f908f 100644
--- a/mysql-test/suite/rpl/t/rpl_create_if_not_exists.test
+++ b/mysql-test/suite/rpl/t/rpl_create_if_not_exists.test
@@ -52,6 +52,8 @@ CREATE DATABASE IF NOT EXISTS mysqltest;
USE mysqltest;
CREATE TABLE IF NOT EXISTS t(c1 int);
CREATE TABLE IF NOT EXISTS t1 LIKE t;
+# The following will not be logged because t2 existed and we will not
+# put the data of SELECT into the binary log
CREATE TABLE IF NOT EXISTS t2 SELECT * FROM t;
CREATE EVENT IF NOT EXISTS e
ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR
@@ -104,7 +106,7 @@ SELECT * FROM t1;
SELECT * FROM t2;
sync_slave_with_master;
-# In these two statements, t1 and t2 are the base table. The recoreds of t2
+# In these two statements, t1 and t2 are the base table. The records of t2
# are inserted into it when CREATE TABLE ... SELECT was executed.
SELECT * FROM t1;
SELECT * FROM t2;
diff --git a/mysql-test/suite/rpl/t/rpl_drop_db.test b/mysql-test/suite/rpl/t/rpl_drop_db.test
index ac859b4655a..a67850a66dd 100644
--- a/mysql-test/suite/rpl/t/rpl_drop_db.test
+++ b/mysql-test/suite/rpl/t/rpl_drop_db.test
@@ -13,7 +13,7 @@ insert into mysqltest1.t1 values (1);
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
create table mysqltest1.t2 (n int);
create table mysqltest1.t3 (n int);
---replace_result \\ / 66 39
+--replace_result \\ / 66 39 17 39 "File exists" "Directory not empty"
--error 1010
drop database mysqltest1;
use mysqltest1;
@@ -30,7 +30,7 @@ while ($1)
}
--enable_query_log
---replace_result \\ / 66 39
+--replace_result \\ / 66 39 17 39 "File exists" "Directory not empty"
--error 1010
drop database mysqltest1;
use mysqltest1;
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_basic.test b/mysql-test/suite/rpl/t/rpl_gtid_basic.test
index 687c0d62cb1..3f2d5e1e321 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_basic.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_basic.test
@@ -69,7 +69,15 @@ save_master_pos;
connection server_4;
--replace_result $MASTER_MYPORT MASTER_PORT
eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $MASTER_MYPORT,
+ MASTER_USE_GTID=SLAVE_POS;
+# Test that sql_slave_skip_counter is prevented in GTID mode.
+--error ER_SLAVE_SKIP_NOT_IN_GTID
+SET GLOBAL sql_slave_skip_counter=1;
+--replace_result $MASTER_MYPORT MASTER_PORT
+eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $MASTER_MYPORT,
MASTER_USE_GTID=CURRENT_POS;
+--error ER_SLAVE_SKIP_NOT_IN_GTID
+SET GLOBAL sql_slave_skip_counter=10;
--source include/start_slave.inc
sync_with_master;
SELECT * FROM t1 ORDER BY a;
@@ -97,19 +105,16 @@ connection server_3;
--source include/stop_slave.inc
connection server_1;
-BEGIN;
INSERT INTO t2 VALUES (6, "i6b");
INSERT INTO t2 VALUES (7, "i7b");
-COMMIT;
+--source include/save_master_gtid.inc
connection server_3;
--replace_result $SERVER_MYPORT_4 SERVER_MYPORT_4
eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $SERVER_MYPORT_4,
MASTER_USE_GTID=CURRENT_POS;
--source include/start_slave.inc
-# This time, let's sync up without reference to binlog on D.
---let $wait_condition= SELECT COUNT(*) = 7 FROM t2
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t2 ORDER BY a;
--echo *** Now change everything back to what it was, to make rpl_end.inc happy
@@ -118,8 +123,7 @@ connection server_2;
# We need to sync up server_2 before switching. If it happened to have reached
# the point 'UPDATE t2 SET b="j1a" WHERE a=5' it will fail to connect to
# server_1, which is (deliberately) missing that transaction.
---let $wait_condition= SELECT COUNT(*) = 7 FROM t2
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
--source include/stop_slave.inc
--replace_result $MASTER_MYPORT MASTER_MYPORT
eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $MASTER_MYPORT;
@@ -131,8 +135,7 @@ connection server_3;
--replace_result $SLAVE_MYPORT SLAVE_MYPORT
eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $SLAVE_MYPORT;
--source include/start_slave.inc
---let $wait_condition= SELECT COUNT(*) = 7 FROM t2
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
connection server_4;
--source include/stop_slave.inc
@@ -142,6 +145,7 @@ eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $SERVER_MYPORT_3;
connection server_1;
DROP TABLE t1,t2;
+--source include/save_master_gtid.inc
--echo *** A few more checks for BINLOG_GTID_POS function ***
--let $valid_binlog_name = query_get_value(SHOW BINARY LOGS,Log_name,1)
@@ -163,6 +167,7 @@ eval SELECT BINLOG_GTID_POS('$valid_binlog_name',18446744073709551616);
--echo *** Some tests of @@GLOBAL.gtid_binlog_state ***
--connection server_2
+--source include/sync_with_master_gtid.inc
--source include/stop_slave.inc
--connection server_1
@@ -192,21 +197,183 @@ SET GLOBAL gtid_binlog_state = @old_state;
CREATE TABLE t1 (a INT PRIMARY KEY);
SET gtid_seq_no=100;
INSERT INTO t1 VALUES (1);
---let $master_pos= `SELECT @@GLOBAL.gtid_binlog_pos`
+--source include/save_master_gtid.inc
--connection server_2
--source include/start_slave.inc
# We cannot just use sync_with_master as we've done RESET MASTER, so
# slave old-style position is wrong.
# So sync on gtid position instead.
---let $wait_condition= SELECT @@GLOBAL.gtid_binlog_pos = '$master_pos'
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1;
# Check that the IO gtid position in SHOW SLAVE STATUS is also correct.
--let $status_items= Gtid_IO_Pos
--source include/show_slave_status.inc
+--echo *** Test @@LAST_GTID and MASTER_GTID_WAIT() ***
+
+--connection server_1
+DROP TABLE t1;
+CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+--source include/stop_slave.inc
+
+--connect (m1,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SELECT @@last_gtid;
+SET gtid_seq_no=110;
+SELECT @@last_gtid;
+BEGIN;
+SELECT @@last_gtid;
+INSERT INTO t1 VALUES (2);
+SELECT @@last_gtid;
+COMMIT;
+SELECT @@last_gtid;
+--let $pos= `SELECT @@gtid_binlog_pos`
+
+--connect (s1,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+eval SET @pos= '$pos';
+# Check NULL argument.
+SELECT master_gtid_wait(NULL);
+# Check empty argument returns immediately.
+SELECT master_gtid_wait('', NULL);
+# Let's check that we get a timeout
+SELECT master_gtid_wait(@pos, 0.5);
+SELECT * FROM t1 ORDER BY a;
+# Now actually wait until the slave reaches the position
+send SELECT master_gtid_wait(@pos);
+
+--connection server_2
+--source include/start_slave.inc
+
+--connection s1
+reap;
+SELECT * FROM t1 ORDER BY a;
+
+# Test waiting on a domain that does not exist yet.
+--source include/stop_slave.inc
+
+--connection server_1
+SET gtid_domain_id= 1;
+INSERT INTO t1 VALUES (3);
+--let $pos= `SELECT @@gtid_binlog_pos`
+
+--connection s1
+eval SET @pos= '$pos';
+SELECT master_gtid_wait(@pos, 0);
+SELECT * FROM t1 WHERE a >= 3;
+send SELECT master_gtid_wait(@pos, -1);
+
+--connection server_2
+--source include/start_slave.inc
+
+--connection s1
+reap;
+SELECT * FROM t1 WHERE a >= 3;
+# Waiting for only part of the position.
+SELECT master_gtid_wait('1-1-1', 0);
+
+# Now test a lot of parallel master_gtid_wait() calls, completing in different
+# order, and some of which time out or get killed on the way.
+
+--connection s1
+send SELECT master_gtid_wait('2-1-1,1-1-4,0-1-110');
+
+--connect (s2,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+# This will time out.
+send SELECT master_gtid_wait('0-1-1000', 0.5);
+
+--connect (s3,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+# This one we will kill
+--let $kill1_id= `SELECT connection_id()`
+send SELECT master_gtid_wait('0-1-2000');
+
+--connect (s4,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+send SELECT master_gtid_wait('2-1-10');
+
+--connect (s5,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+send SELECT master_gtid_wait('2-1-6', 1);
+
+# This one we will kill also.
+--connect (s6,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+--let $kill2_id= `SELECT connection_id()`
+send SELECT master_gtid_wait('2-1-5');
+
+--connect (s7,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+send SELECT master_gtid_wait('2-1-10');
+
+--connect (s8,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+send SELECT master_gtid_wait('2-1-5,1-1-4,0-1-110');
+
+--connect (s9,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+send SELECT master_gtid_wait('2-1-2');
+
+--connection server_2
+# This one completes immediately.
+SELECT master_gtid_wait('1-1-1');
+
+--connect (s10,127.0.0.1,root,,test,$SERVER_MYPORT_2,)
+send SELECT master_gtid_wait('0-1-109');
+
+--connection server_2
+# This one should time out.
+SELECT master_gtid_wait('2-1-2', 0.5);
+
+--replace_result $kill1_id KILL_ID
+eval KILL QUERY $kill1_id;
+--connection s3
+--error ER_QUERY_INTERRUPTED
+reap;
+
+--connection server_1
+SET gtid_domain_id=2;
+SET gtid_seq_no=2;
+INSERT INTO t1 VALUES (4);
+
+--connection s9
+reap;
+
+--connection server_2
+--replace_result $kill2_id KILL_ID
+eval KILL CONNECTION $kill2_id;
+
+--connection s6
+--error 2013
+reap;
+
+--connection server_1
+SET gtid_domain_id=1;
+SET gtid_seq_no=4;
+INSERT INTO t1 VALUES (5);
+SET gtid_domain_id=2;
+SET gtid_seq_no=5;
+INSERT INTO t1 VALUES (6);
+
+--connection s8
+reap;
+--connection s1
+reap;
+--connection s2
+reap;
+--connection s5
+reap;
+--connection s10
+reap;
+
+--connection server_1
+SET gtid_domain_id=2;
+SET gtid_seq_no=10;
+INSERT INTO t1 VALUES (7);
+
+--connection s4
+reap;
+--connection s7
+reap;
+
+
--connection server_1
DROP TABLE t1;
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_crash.test b/mysql-test/suite/rpl/t/rpl_gtid_crash.test
index 913a87f9862..e02816e1d30 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_crash.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_crash.test
@@ -47,6 +47,7 @@ while ($1)
dec $1;
}
--enable_query_log
+--source include/save_master_gtid.inc
SET SESSION debug_dbug="+d,crash_dispatch_command_before";
--error 2006,2013
@@ -61,15 +62,14 @@ EOF
--source include/wait_until_connected_again.inc
--connection server_2
---let $wait_condition= SELECT COUNT(*) = 200 FROM t1 WHERE b=2
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
--connection server_1
INSERT INTO t1 VALUES (1000, 3);
+--source include/save_master_gtid.inc
--connection server_2
---let $wait_condition= SELECT COUNT(*) = 1 FROM t1 WHERE b=3
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
--connection server_1
DROP TABLE t1;
@@ -142,6 +142,7 @@ START SLAVE;
--connection server_1
INSERT INTO t1 VALUES (4);
+--source include/save_master_gtid.inc
--connection server_2
--source include/wait_until_disconnected.inc
@@ -153,8 +154,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
---let $wait_condition= SELECT COUNT(*) = 4 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
# Crash the slave just before committing.
--source include/stop_slave.inc
@@ -166,6 +166,7 @@ START SLAVE;
--connection server_1
INSERT INTO t1 VALUES (5);
+--source include/save_master_gtid.inc
--connection server_2
--source include/wait_until_disconnected.inc
@@ -177,8 +178,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
---let $wait_condition= SELECT COUNT(*) = 5 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
# Crash the slave just after committing.
--source include/stop_slave.inc
@@ -190,6 +190,7 @@ START SLAVE;
--connection server_1
INSERT INTO t1 VALUES (6);
+--source include/save_master_gtid.inc
--connection server_2
--source include/wait_until_disconnected.inc
@@ -201,8 +202,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
---let $wait_condition= SELECT COUNT(*) = 6 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
# Crash the slave just before updating relay-log.info
--source include/stop_slave.inc
@@ -214,6 +214,7 @@ START SLAVE;
--connection server_1
INSERT INTO t1 VALUES (7);
+--source include/save_master_gtid.inc
--connection server_2
--source include/wait_until_disconnected.inc
@@ -225,8 +226,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
---let $wait_condition= SELECT COUNT(*) = 7 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
# Crash the slave just after updating relay-log.info
--source include/stop_slave.inc
@@ -238,6 +238,7 @@ START SLAVE;
--connection server_1
INSERT INTO t1 VALUES (8);
+--source include/save_master_gtid.inc
--connection server_2
--source include/wait_until_disconnected.inc
@@ -249,8 +250,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
---let $wait_condition= SELECT COUNT(*) = 8 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
# Check that everything was replicated correctly.
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_errorhandling.test b/mysql-test/suite/rpl/t/rpl_gtid_errorhandling.test
index d2a7445c0bc..31492b7c096 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_errorhandling.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_errorhandling.test
@@ -79,6 +79,7 @@ RESET MASTER;
INSERT INTO t1 VALUES (2);
# And this will be GTID 0-1-2
INSERT INTO t1 VALUES (4);
+--source include/save_master_gtid.inc
--connection slave
SET sql_log_bin = 0;
@@ -110,8 +111,7 @@ RESET MASTER;
SET GLOBAL gtid_slave_pos = "0-1-1";
START SLAVE;
---let $wait_condition= SELECT COUNT(*) = 4 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
--echo *** MDEV-4688: Empty value of @@GLOBAL.gtid_slave_pos ***
@@ -125,6 +125,7 @@ SELECT * FROM t1 ORDER BY a;
--connection master
# This will be GTID 0-1-3
INSERT INTO t1 VALUES (5);
+--source include/save_master_gtid.inc
--connection slave
SET @old_dbug= @@GLOBAL.debug_dbug;
@@ -141,8 +142,7 @@ SELECT @@GLOBAL.gtid_slave_pos;
SELECT * FROM t1 ORDER BY a;
SET GLOBAL debug_dbug= @old_dbug;
START SLAVE SQL_THREAD;
---let $wait_condition= SELECT COUNT(*) = 5 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
@@ -167,10 +167,10 @@ START SLAVE;
--connection master
INSERT INTO t1 VALUES (6);
+--source include/save_master_gtid.inc
--connection slave
---let $wait_condition= SELECT COUNT(*) = 6 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_ignored.test b/mysql-test/suite/rpl/t/rpl_gtid_ignored.test
index ee5ca92b55e..cb98be3c838 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_ignored.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_ignored.test
@@ -130,7 +130,11 @@ SELECT * FROM t1 ORDER BY a;
--connection server_1
DROP TABLE t1;
SET GLOBAL gtid_strict_mode= @old_gtid_strict_mode;
+SET debug_sync = "reset";
+
--connection server_2
SET GLOBAL gtid_strict_mode= @old_gtid_strict_mode;
+SET debug_sync = "reset";
--source include/rpl_end.inc
+
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_mdev4485.test b/mysql-test/suite/rpl/t/rpl_gtid_mdev4485.test
index 4a0c76d5c1d..6c37ceaff31 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_mdev4485.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_mdev4485.test
@@ -28,6 +28,7 @@ drop table t1;
--connection server_2
drop table t2;
+--save_master_pos
--connection server_3
--sync_with_master 0,'m2'
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_nobinlog.test b/mysql-test/suite/rpl/t/rpl_gtid_nobinlog.test
index 1e33520efb5..a5caebf0276 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_nobinlog.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_nobinlog.test
@@ -32,12 +32,12 @@ START SLAVE;
--connection server_2
INSERT INTO t1 VALUES (3, 2);
INSERT INTO t1 VALUES (4, 2);
+--source include/save_master_gtid.inc
--source include/show_binlog_events.inc
--connection server_1
---let $wait_condition= SELECT COUNT(*) = 4 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
@@ -45,14 +45,14 @@ SELECT * FROM t1 ORDER BY a;
RESET SLAVE;
INSERT INTO t1 VALUES (5, 1);
INSERT INTO t1 VALUES (6, 1);
+--source include/save_master_gtid.inc
--connection server_2
--replace_result $MASTER_MYPORT MASTER_PORT
eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $MASTER_MYPORT,
master_use_gtid = current_pos;
START SLAVE;
---let $wait_condition= SELECT COUNT(*) = 6 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_startpos.test b/mysql-test/suite/rpl/t/rpl_gtid_startpos.test
index 0797eead0ee..100d75a8cdc 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_startpos.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_startpos.test
@@ -67,6 +67,7 @@ SET sql_log_bin=1;
--connection server_1
INSERT INTO t1 VALUES(3);
+--source include/save_master_gtid.inc
--connection server_2
SET GLOBAL gtid_slave_pos='0-1-3';
@@ -74,13 +75,13 @@ SET GLOBAL gtid_slave_pos='0-1-3';
eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $MASTER_MYPORT,
MASTER_USE_GTID=CURRENT_POS;
--source include/start_slave.inc
---let $wait_condition= SELECT COUNT(*) = 3 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER by a;
--source include/stop_slave.inc
--connection server_1
INSERT INTO t1 VALUES (4);
+--source include/save_master_gtid.inc
--connection server_2
# Now add some local transactions that conflict with the GTID position
@@ -93,8 +94,7 @@ SET GLOBAL gtid_slave_pos='0-1-4';
RESET MASTER;
SET GLOBAL gtid_slave_pos='0-1-4';
START SLAVE;
---let $wait_condition= SELECT COUNT(*) = 4 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER by a;
--connection server_1
@@ -165,7 +165,7 @@ SET GLOBAL gtid_slave_pos="";
SELECT * FROM t1 ORDER BY a;
-# Same thing, but this time using SQL_LOG_BIN=0 to avoid polliting the
+# Same thing, but this time using SQL_LOG_BIN=0 to avoid polluting the
# slave binlog.
--connection server_2
@@ -175,6 +175,9 @@ DROP TABLE t1;
SET SQL_LOG_BIN=1;
RESET SLAVE;
SET GLOBAL gtid_slave_pos="";
+# Ensure that the slave fails because of missing table to be dropped
+SET @save_slave_ddl_exec_mode=@@global.slave_ddl_exec_mode;
+SET GLOBAL slave_ddl_exec_mode=STRICT;
--source include/start_slave.inc
--sync_with_master
@@ -200,10 +203,10 @@ CHANGE MASTER TO MASTER_USE_GTID=CURRENT_POS;
--connection server_1
INSERT INTO t1 VALUES(3);
+--source include/save_master_gtid.inc
--connection server_2
---let $wait_condition= SELECT COUNT(*) = 3 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
SET SQL_LOG_BIN=0;
call mtr.add_suppression("Slave: Table 't1' already exists error.* 1050");
@@ -215,10 +218,10 @@ SET SQL_LOG_BIN=1;
--connection server_1
FLUSH LOGS;
INSERT INTO t1 VALUES (4);
+--source include/save_master_gtid.inc
--connection server_2
---let $wait_condition= SELECT COUNT(*) = 4 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
--source include/stop_slave.inc
--connection server_1
@@ -228,13 +231,13 @@ FLUSH LOGS;
--source include/wait_for_purge.inc
--source include/show_binary_logs.inc
INSERT INTO t1 VALUES (5);
+--source include/save_master_gtid.inc
--connection server_2
--replace_result $MASTER_MYPORT MASTER_PORT
eval CHANGE MASTER TO master_host = '127.0.0.1', master_port = $MASTER_MYPORT;
--source include/start_slave.inc
---let $wait_condition= SELECT COUNT(*) = 5 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
@@ -249,11 +252,11 @@ SET GLOBAL gtid_slave_pos="";
RESET MASTER;
TRUNCATE TABLE t1;
INSERT INTO t1 VALUES (10); # Will be GTID 0-1-2
+--source include/save_master_gtid.inc
--connection server_2
--source include/start_slave.inc
---let $wait_condition= SELECT COUNT(*) = 1 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1;
--let $value= query_get_value(SHOW SLAVE STATUS, "Using_Gtid", 1)
@@ -349,6 +352,7 @@ SELECT * FROM t1 ORDER BY a;
# Clean up.
--connection server_1
DROP TABLE t1;
-
+--connection server_2
+set @@global.slave_ddl_exec_mode=@save_slave_ddl_exec_mode;
--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_gtid_stop_start.test b/mysql-test/suite/rpl/t/rpl_gtid_stop_start.test
index 925095c852b..1f0532f9922 100644
--- a/mysql-test/suite/rpl/t/rpl_gtid_stop_start.test
+++ b/mysql-test/suite/rpl/t/rpl_gtid_stop_start.test
@@ -39,6 +39,7 @@ FLUSH LOGS;
INSERT INTO t1 VALUES (2);
FLUSH LOGS;
INSERT INTO t1 VALUES (3);
+--source include/save_master_gtid.inc
--source include/show_binary_logs.inc
# Let the slave mysqld server start again.
@@ -50,8 +51,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
---let $wait_condition= SELECT COUNT(*) = 3 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
@@ -88,10 +88,10 @@ SHOW BINLOG EVENTS IN 'master-bin.000005' LIMIT 1,1;
--source include/show_binary_logs.inc
INSERT INTO t1 VALUES(5);
+--source include/save_master_gtid.inc
--connection server_2
---let $wait_condition= SELECT COUNT(*) = 5 FROM t1
---source include/wait_condition.inc
+--source include/sync_with_master_gtid.inc
SELECT * FROM t1 ORDER BY a;
--echo *** Test that @@gtid_slave_pos and @@gtid_current_pos are correctly loaded even if slave threads have not started. ***
diff --git a/mysql-test/suite/rpl/t/rpl_heartbeat_basic.test b/mysql-test/suite/rpl/t/rpl_heartbeat_basic.test
index 27dce9cd652..a1e52cf23da 100644
--- a/mysql-test/suite/rpl/t/rpl_heartbeat_basic.test
+++ b/mysql-test/suite/rpl/t/rpl_heartbeat_basic.test
@@ -367,7 +367,7 @@ DROP EVENT e1;
-
+--sync_slave_with_master
# Check received heartbeat events while logs flushed on slave
--connection slave
--echo *** Flush logs on slave ***
diff --git a/mysql-test/suite/rpl/t/rpl_known_bugs_detection.test b/mysql-test/suite/rpl/t/rpl_known_bugs_detection.test
index ee41df6592b..ab263ece407 100644
--- a/mysql-test/suite/rpl/t/rpl_known_bugs_detection.test
+++ b/mysql-test/suite/rpl/t/rpl_known_bugs_detection.test
@@ -8,13 +8,14 @@ call mtr.add_suppression("Unsafe statement written to the binary log using state
source include/have_debug.inc;
# because of pretend_version_50034_in_binlog the test can't run with checksum
source include/have_binlog_checksum_off.inc;
-source include/master-slave.inc;
-
-call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.");
# Currently only statement-based-specific bugs are here
-- source include/have_binlog_format_statement.inc
+source include/master-slave.inc;
+
+call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.");
+
#
# This is to test that slave properly detects if
# master may suffer from:
diff --git a/mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test b/mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test
index 99a371eac44..7a2f5f3e699 100644
--- a/mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test
+++ b/mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test
@@ -1,6 +1,8 @@
--source include/master-slave.inc
--source include/have_debug.inc
+--source include/have_debug_sync.inc
--source include/have_binlog_format_row.inc
+--source include/have_innodb.inc
connection master;
@@ -71,6 +73,52 @@ let $binlog_start= 0;
let $binlog_limit=7,5;
--source include/show_relaylog_events.inc
+
+--echo *** MDEV-5754: MySQL 5.5 slaves cannot replicate from MariaDB 10.0 ***
+
+# The problem was that for a group commit, we get commit id into the
+# GTID event, and there was a bug in the code that replaces GTID with
+# dummy that failed when commit id was present.
+#
+# So setup a group commit in InnoDB.
+
+--connection master
+CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=InnoDB;
+let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1);
+let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1);
+
+--connect (con1,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+send INSERT INTO t2 VALUES (1);
+
+--connection master
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connect (con2,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+send INSERT INTO t2 VALUES (2);
+
+--connection master
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con1
+REAP;
+SET debug_sync='RESET';
+--connection con2
+REAP;
+SET debug_sync='RESET';
+--connection master
+SET debug_sync='RESET';
+let $binlog_limit= 0, 8;
+--source include/show_binlog_events.inc
+--save_master_pos
+
+--connection slave
+--sync_with_master
+SELECT * FROM t2 ORDER BY a;
+
+
--echo # Test that slave which cannot tolerate holes in binlog stream but
--echo # knows the event does not get dummy event
@@ -106,6 +154,6 @@ set @@global.debug_dbug= @old_slave_dbug;
--echo Clean up.
connection master;
set @@global.binlog_checksum = @old_master_binlog_checksum;
-DROP TABLE t1;
+DROP TABLE t1, t2;
sync_slave_with_master;
--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_mix_found_rows.test b/mysql-test/suite/rpl/t/rpl_mix_found_rows.test
index ed932eb5cea..433280326c7 100644
--- a/mysql-test/suite/rpl/t/rpl_mix_found_rows.test
+++ b/mysql-test/suite/rpl/t/rpl_mix_found_rows.test
@@ -1,5 +1,5 @@
-source include/master-slave.inc;
source include/have_binlog_format_mixed.inc;
+source include/master-slave.inc;
# It is not possible to replicate FOUND_ROWS() using statement-based
# replication, but there is a workaround that stores the result of
diff --git a/mysql-test/suite/rpl/t/rpl_old_master.test b/mysql-test/suite/rpl/t/rpl_old_master.test
new file mode 100644
index 00000000000..8f61d6979cd
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_old_master.test
@@ -0,0 +1,49 @@
+# Test replicating off old master.
+# We simulate old master by copying in pre-generated binlog files from earlier
+# server versions.
+
+--source include/have_innodb.inc
+--source include/master-slave.inc
+
+--connection slave
+--source include/stop_slave.inc
+
+--connection master
+--let $datadir= `SELECT @@datadir`
+
+--let $rpl_server_number= 1
+--source include/rpl_stop_server.inc
+
+--remove_file $datadir/master-bin.000001
+--copy_file $MYSQL_TEST_DIR/std_data/mariadb-5.5-binlog.000001 $datadir/master-bin.000001
+
+--let $rpl_server_number= 1
+--source include/rpl_start_server.inc
+
+--source include/wait_until_connected_again.inc
+
+--connection slave
+SET @old_parallel= @@GLOBAL.slave_parallel_threads;
+SET GLOBAL slave_parallel_threads=10;
+--replace_result $SERVER_MYPORT_1 SERVER_MYPORT_1
+eval CHANGE MASTER TO master_host='127.0.0.1', master_port=$SERVER_MYPORT_1, master_user='root', master_log_file='master-bin.000001', master_log_pos=4;
+--source include/start_slave.inc
+
+--connection master
+CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=InnoDB;
+INSERT INTO t2 VALUES (1);
+--save_master_pos
+
+--connection slave
+--sync_with_master
+SELECT * FROM t1 ORDER BY a;
+SELECT * FROM t2;
+
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=@old_parallel;
+DROP TABLE t1;
+--source include/start_slave.inc
+
+--connection master
+DROP TABLE t2;
+--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_parallel.test b/mysql-test/suite/rpl/t/rpl_parallel.test
index ababc3bd0e7..9b68d6648e0 100644
--- a/mysql-test/suite/rpl/t/rpl_parallel.test
+++ b/mysql-test/suite/rpl/t/rpl_parallel.test
@@ -163,6 +163,7 @@ SET debug_sync='RESET';
--echo *** Test that group-committed transactions on the master can replicate in parallel on the slave. ***
--connection server_1
+SET debug_sync='RESET';
FLUSH LOGS;
--source include/wait_for_binlog_checkpoint.inc
CREATE TABLE t3 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
@@ -230,6 +231,7 @@ REAP;
REAP;
--connection con_temp5
REAP;
+SET debug_sync='RESET';
--connection server_1
SELECT * FROM t3 ORDER BY a;
@@ -270,6 +272,10 @@ SELECT * FROM t3 ORDER BY a;
--echo *** Test STOP SLAVE in parallel mode ***
--connection server_2
--source include/stop_slave.inc
+# Respawn all worker threads to clear any left-over debug_sync or other stuff.
+SET debug_sync='RESET';
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
--connection server_1
# Set up a couple of transactions. The first will be blocked halfway
@@ -288,7 +294,7 @@ BEGIN;
INSERT INTO t2 VALUES (20);
--disable_warnings
INSERT INTO t1 VALUES (20);
---disable_warnings
+--enable_warnings
INSERT INTO t2 VALUES (21);
INSERT INTO t3 VALUES (20, 20);
COMMIT;
@@ -300,7 +306,7 @@ SET binlog_format=@old_format;
# Start a connection that will block the replicated transaction halfway.
--connection con_temp1
BEGIN;
-INSERT INTO t2 VALUES (21);
+INSERT INTO t2 VALUES (21);
--connection server_2
START SLAVE;
@@ -312,13 +318,20 @@ START SLAVE;
--connection con_temp2
# Initiate slave stop. It will have to wait for the current event group
# to complete.
+# The dbug injection causes debug_sync to signal 'wait_for_done_waiting'
+# when the SQL driver thread is ready.
+SET @old_dbug= @@GLOBAL.debug_dbug;
+SET GLOBAL debug_dbug="+d,rpl_parallel_wait_for_done_trigger";
send STOP SLAVE;
--connection con_temp1
+SET debug_sync='now WAIT_FOR wait_for_done_waiting';
ROLLBACK;
--connection con_temp2
reap;
+SET GLOBAL debug_dbug=@old_dbug;
+SET debug_sync='RESET';
--connection server_2
--source include/wait_for_slave_to_stop.inc
@@ -397,6 +410,7 @@ REAP;
--connection server_1
SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+SET debug_sync='RESET';
--connection server_2
SET sql_log_bin=0;
@@ -424,13 +438,14 @@ SET debug_sync='now WAIT_FOR t2_killed';
# Now we can allow T1 to proceed.
SET debug_sync='now SIGNAL t1_cont';
---let $slave_sql_errno= 1317,1963
+--let $slave_sql_errno= 1317,1964
--source include/wait_for_slave_sql_error.inc
STOP SLAVE IO_THREAD;
SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
# Now we have to disable the debug_sync statements, so they do not trigger
# when the events are retried.
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -535,6 +550,7 @@ REAP;
--connection server_1
SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
+SET debug_sync='RESET';
--connection server_2
# Wait until T2 is inside executing its insert of 42, then find it in SHOW
@@ -557,12 +573,12 @@ SET debug_sync='now WAIT_FOR t2_killed';
# Now we can allow T1 to proceed.
SET debug_sync='now SIGNAL t1_cont';
---let $slave_sql_errno= 1317,1963
+--let $slave_sql_errno= 1317,1964
--source include/wait_for_slave_sql_error.inc
-SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
# Now we have to disable the debug_sync statements, so they do not trigger
# when the events are retried.
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -673,6 +689,7 @@ REAP;
--connection server_1
SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
+SET debug_sync='RESET';
--connection server_2
# Wait until T2 is inside executing its insert of 52, then find it in SHOW
@@ -695,12 +712,13 @@ SET debug_sync='now WAIT_FOR t2_killed';
# Now we can allow T1 to proceed.
SET debug_sync='now SIGNAL t1_cont';
---let $slave_sql_errno= 1317,1963
+--let $slave_sql_errno= 1317,1964
--source include/wait_for_slave_sql_error.inc
SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
# Now we have to disable the debug_sync statements, so they do not trigger
# when the events are retried.
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -752,7 +770,7 @@ CHANGE MASTER TO master_use_gtid=slave_pos;
--source include/stop_slave.inc
SET GLOBAL binlog_format=@old_format;
SET GLOBAL slave_parallel_threads=0;
-SET GLOBAL slave_parallel_threads=3;
+SET GLOBAL slave_parallel_threads=4;
--source include/start_slave.inc
@@ -762,24 +780,29 @@ SET GLOBAL slave_parallel_threads=3;
# can run in parallel with each other (same group commit and commit id),
# but not in parallel with T1.
#
-# We use three worker threads. T1 and T2 will be queued on the first, T3 on
-# the second, and T4 on the third. We will delay T1 commit, T3 will wait for
-# T1 to commit before it can start. We will kill T3 during this wait, and
+# We use four worker threads, each Ti will be queued on each their own
+# worker thread. We will delay T1 commit, T3 will wait for T1 to begin
+# commit before it can start. We will kill T3 during this wait, and
# check that everything works correctly.
#
# It is rather tricky to get the correct thread id of the worker to kill.
-# We start by injecting three dummy transactions in a debug_sync-controlled
+# We start by injecting four dummy transactions in a debug_sync-controlled
# manner to be able to get known thread ids for the workers in a pool with
-# just 3 worker threads. Then we let in each of the real test transactions
+# just 4 worker threads. Then we let in each of the real test transactions
# T1-T4 one at a time in a way which allows us to know which transaction
# ends up with which thread id.
--connection server_1
SET binlog_format=statement;
SET gtid_domain_id=2;
+BEGIN;
+# This debug_sync will linger on and be used to control T4 later.
+INSERT INTO t3 VALUES (70, foo(70,
+ 'rpl_parallel_start_waiting_for_prior SIGNAL t4_waiting', ''));
INSERT INTO t3 VALUES (60, foo(60,
'ha_write_row_end SIGNAL d2_query WAIT_FOR d2_cont2',
'rpl_parallel_end_of_group SIGNAL d2_done WAIT_FOR d2_cont'));
+COMMIT;
SET gtid_domain_id=0;
--connection server_2
@@ -813,12 +836,30 @@ INSERT INTO t3 VALUES (63, foo(63,
SET debug_sync='now WAIT_FOR d0_query';
--let $d0_thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(63%' AND INFO NOT LIKE '%LIKE%'`
+--connection server_1
+SET gtid_domain_id=3;
+BEGIN;
+# These debug_sync's will linger on and be used to control T2 later.
+INSERT INTO t3 VALUES (68, foo(68,
+ 'rpl_parallel_start_waiting_for_prior SIGNAL t2_waiting', ''));
+INSERT INTO t3 VALUES (69, foo(69,
+ 'ha_write_row_end SIGNAL d3_query WAIT_FOR d3_cont2',
+ 'rpl_parallel_end_of_group SIGNAL d3_done WAIT_FOR d3_cont'));
+COMMIT;
+SET gtid_domain_id=0;
+
+--connection server_2
+SET debug_sync='now WAIT_FOR d3_query';
+--let $d3_thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(69%' AND INFO NOT LIKE '%LIKE%'`
+
SET debug_sync='now SIGNAL d2_cont2';
SET debug_sync='now WAIT_FOR d2_done';
SET debug_sync='now SIGNAL d1_cont2';
SET debug_sync='now WAIT_FOR d1_done';
SET debug_sync='now SIGNAL d0_cont2';
SET debug_sync='now WAIT_FOR d0_done';
+SET debug_sync='now SIGNAL d3_cont2';
+SET debug_sync='now WAIT_FOR d3_done';
# Now prepare the real transactions T1, T2, T3, T4 on the master.
@@ -826,7 +867,7 @@ SET debug_sync='now WAIT_FOR d0_done';
# Create transaction T1.
SET binlog_format=statement;
INSERT INTO t3 VALUES (64, foo(64,
- 'commit_before_prepare_ordered SIGNAL t1_waiting WAIT_FOR t1_cont', ''));
+ 'rpl_parallel_before_mark_start_commit SIGNAL t1_waiting WAIT_FOR t1_cont', ''));
# Create transaction T2, as a group commit leader on the master.
SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2 WAIT_FOR master_cont2';
@@ -861,6 +902,7 @@ REAP;
--connection server_1
SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+SET debug_sync='RESET';
--connection server_2
# Now we have the four transactions pending for replication on the slave.
@@ -872,15 +914,20 @@ SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
SET debug_sync='now SIGNAL d0_cont';
SET debug_sync='now WAIT_FOR t1_waiting';
-# T2 will be queued on the same worker D0 as T1.
+# Make the worker D3 free, and wait for T2 to be queued in it.
+SET debug_sync='now SIGNAL d3_cont';
+SET debug_sync='now WAIT_FOR t2_waiting';
+
# Now release worker D1, and wait for T3 to be queued in it.
# T3 will wait for T1 to commit before it can start.
SET debug_sync='now SIGNAL d1_cont';
SET debug_sync='now WAIT_FOR t3_waiting';
-# Release worker D2. T4 may or may not have time to be queued on it, but
-# it will not be able to complete due to T3 being killed.
+# Release worker D2. Wait for T4 to be queued, so we are sure it has
+# received the debug_sync signal (else we might overwrite it with the
+# next debug_sync).
SET debug_sync='now SIGNAL d2_cont';
+SET debug_sync='now WAIT_FOR t4_waiting';
# Now we kill the waiting transaction T3 in worker D1.
--replace_result $d1_thd_id THD_ID
@@ -892,13 +939,18 @@ SET debug_sync='now WAIT_FOR t3_killed';
# Now we can allow T1 to proceed.
SET debug_sync='now SIGNAL t1_cont';
---let $slave_sql_errno= 1317,1927,1963
+--let $slave_sql_errno= 1317,1927,1964
--source include/wait_for_slave_sql_error.inc
STOP SLAVE IO_THREAD;
-SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+# Since T2, T3, and T4 run in parallel, we can not be sure if T2 will have time
+# to commit or not before the stop. However, T1 should commit, and T3/T4 may
+# not have committed. (After slave restart we check that all become committed
+# eventually).
+SELECT * FROM t3 WHERE a >= 60 AND a != 65 ORDER BY a;
# Now we have to disable the debug_sync statements, so they do not trigger
# when the events are retried.
+SET debug_sync='RESET';
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
SET sql_log_bin=0;
@@ -914,7 +966,7 @@ CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
SET sql_log_bin=1;
--connection server_1
-INSERT INTO t3 VALUES (69,0);
+UPDATE t3 SET b=b+1 WHERE a=60;
--save_master_pos
--connection server_2
@@ -951,6 +1003,7 @@ SET GLOBAL slave_parallel_threads=10;
--echo *** 5. Test killing thread that is waiting for queue of max length to shorten ***
+# Find the thread id of the driver SQL thread that we want to kill.
--let $wait_condition= SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '%Slave has read all relay log%'
--source include/wait_condition.inc
--let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '%Slave has read all relay log%'`
@@ -961,12 +1014,8 @@ SET GLOBAL slave_parallel_max_queued=9000;
--let bigstring= `SELECT REPEAT('x', 10000)`
SET binlog_format=statement;
# Create an event that will wait to be signalled.
-INSERT INTO t3 VALUES (70, foo(0,
+INSERT INTO t3 VALUES (80, foo(0,
'ha_write_row_end SIGNAL query_waiting WAIT_FOR query_cont', ''));
---disable_query_log
-# Create an event that will fill up the queue.
-eval INSERT INTO t3 VALUES (71, LENGTH('$bigstring'));
---enable_query_log
--connection server_2
SET debug_sync='now WAIT_FOR query_waiting';
@@ -977,11 +1026,14 @@ SET @old_dbug= @@GLOBAL.debug_dbug;
SET GLOBAL debug_dbug="+d,rpl_parallel_wait_queue_max";
--connection server_1
-# This event will have to wait for the queue to become shorter before it can
-# be queued. We will test that things work when we kill the SQL driver thread
-# during this wait.
-INSERT INTO t3 VALUES (72, 0);
-SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+--disable_query_log
+# Create an event that will fill up the queue.
+# The Xid event at the end of the event group will have to wait for the Query
+# event with the INSERT to drain so the queue becomes shorter. However that in
+# turn waits for the prior event group to continue.
+eval INSERT INTO t3 VALUES (81, LENGTH('$bigstring'));
+--enable_query_log
+SELECT * FROM t3 WHERE a >= 80 ORDER BY a;
--connection server_2
SET debug_sync='now WAIT_FOR wait_queue_ready';
@@ -992,22 +1044,23 @@ eval KILL $thd_id;
SET debug_sync='now WAIT_FOR wait_queue_killed';
SET debug_sync='now SIGNAL query_cont';
---let $slave_sql_errno= 1317,1927,1963
+--let $slave_sql_errno= 1317,1927,1964
--source include/wait_for_slave_sql_error.inc
STOP SLAVE IO_THREAD;
-SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
SET GLOBAL debug_dbug=@old_dbug;
SET GLOBAL slave_parallel_max_queued= @old_max_queued;
--connection server_1
-INSERT INTO t3 VALUES (73,0);
+INSERT INTO t3 VALUES (82,0);
+SET binlog_format=@old_format;
--save_master_pos
--connection server_2
+SET debug_sync='RESET';
--source include/start_slave.inc
--sync_with_master
-SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+SELECT * FROM t3 WHERE a >= 80 ORDER BY a;
--connection server_2
@@ -1017,6 +1070,226 @@ SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
--source include/start_slave.inc
+--echo *** MDEV-5788 Incorrect free of rgi->deferred_events in parallel replication ***
+
+--connection server_2
+# Use just two worker threads, so we are sure to get the rpl_group_info added
+# to the free list, which is what triggered the bug.
+--source include/stop_slave.inc
+SET GLOBAL replicate_ignore_table="test.t3";
+SET GLOBAL slave_parallel_threads=2;
+--source include/start_slave.inc
+
+--connection server_1
+INSERT INTO t3 VALUES (100, rand());
+INSERT INTO t3 VALUES (101, rand());
+
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+
+--connection server_1
+INSERT INTO t3 VALUES (102, rand());
+INSERT INTO t3 VALUES (103, rand());
+INSERT INTO t3 VALUES (104, rand());
+INSERT INTO t3 VALUES (105, rand());
+
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+--source include/stop_slave.inc
+SET GLOBAL replicate_ignore_table="";
+--source include/start_slave.inc
+
+--connection server_1
+INSERT INTO t3 VALUES (106, rand());
+INSERT INTO t3 VALUES (107, rand());
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+--replace_column 2 #
+SELECT * FROM t3 WHERE a >= 100 ORDER BY a;
+
+
+--echo *** MDEV-5921: In parallel replication, an error is not correctly signalled to the next transaction ***
+
+--connection server_2
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=10;
+--source include/start_slave.inc
+
+--connection server_1
+INSERT INTO t3 VALUES (110, 1);
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 110 ORDER BY a;
+# Inject a duplicate key error.
+SET sql_log_bin=0;
+INSERT INTO t3 VALUES (111, 666);
+SET sql_log_bin=1;
+
+--connection server_1
+
+# Create a group commit with two inserts, the first one conflicts with a row on the slave
+--connect (con1,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+send INSERT INTO t3 VALUES (111, 2);
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connect (con2,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+send INSERT INTO t3 VALUES (112, 3);
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con1
+REAP;
+--connection con2
+REAP;
+SET debug_sync='RESET';
+--save_master_pos
+
+--connection server_2
+--let $slave_sql_errno= 1062
+--source include/wait_for_slave_sql_error.inc
+--source include/wait_for_slave_sql_to_stop.inc
+# We should not see the row (112,3) here, it should be rolled back due to
+# error signal from the prior transaction.
+SELECT * FROM t3 WHERE a >= 110 ORDER BY a;
+SET sql_log_bin=0;
+DELETE FROM t3 WHERE a=111 AND b=666;
+SET sql_log_bin=1;
+START SLAVE SQL_THREAD;
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 110 ORDER BY a;
+
+
+--echo ***MDEV-5914: Parallel replication deadlock due to InnoDB lock conflicts ***
+--connection server_2
+--source include/stop_slave.inc
+
+--connection server_1
+CREATE TABLE t4 (a INT PRIMARY KEY, b INT, KEY b_idx(b)) ENGINE=InnoDB;
+INSERT INTO t4 VALUES (1,NULL), (2,2), (3,NULL), (4,4), (5, NULL), (6, 6);
+
+# Create a group commit with UPDATE and DELETE, in that order.
+# The bug was that while the UPDATE's row lock does not block the DELETE, the
+# DELETE's gap lock _does_ block the UPDATE. This could cause a deadlock
+# on the slave.
+--connection con1
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+send UPDATE t4 SET b=NULL WHERE a=6;
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connection con2
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+send DELETE FROM t4 WHERE b <= 3;
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con1
+REAP;
+--connection con2
+REAP;
+SET debug_sync='RESET';
+--save_master_pos
+
+--connection server_2
+--source include/start_slave.inc
+--sync_with_master
+--source include/stop_slave.inc
+
+SELECT * FROM t4 ORDER BY a;
+
+
+# Another example, this one with INSERT vs. DELETE
+--connection server_1
+DELETE FROM t4;
+INSERT INTO t4 VALUES (1,NULL), (2,2), (3,NULL), (4,4), (5, NULL), (6, 6);
+
+# Create a group commit with INSERT and DELETE, in that order.
+# The bug was that while the INSERT's insert intention lock does not block
+# the DELETE, the DELETE's gap lock _does_ block the INSERT. This could cause
+# a deadlock on the slave.
+--connection con1
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+send INSERT INTO t4 VALUES (7, NULL);
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connection con2
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+send DELETE FROM t4 WHERE b <= 3;
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con1
+REAP;
+--connection con2
+REAP;
+SET debug_sync='RESET';
+--save_master_pos
+
+--connection server_2
+--source include/start_slave.inc
+--sync_with_master
+
+SELECT * FROM t4 ORDER BY a;
+
+
+--echo *** MDEV-5938: Exec_master_log_pos not updated at log rotate in parallel replication ***
+--connection server_2
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=1;
+SET DEBUG_SYNC= 'RESET';
+--source include/start_slave.inc
+
+--connection server_1
+CREATE TABLE t5 (a INT PRIMARY KEY, b INT);
+INSERT INTO t5 VALUES (1,1);
+INSERT INTO t5 VALUES (2,2), (3,8);
+INSERT INTO t5 VALUES (4,16);
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+let $io_file= query_get_value(SHOW SLAVE STATUS, Master_Log_File, 1);
+let $io_pos= query_get_value(SHOW SLAVE STATUS, Read_Master_Log_Pos, 1);
+let $sql_file= query_get_value(SHOW SLAVE STATUS, Relay_Master_Log_File, 1);
+let $sql_pos= query_get_value(SHOW SLAVE STATUS, Exec_Master_Log_Pos, 1);
+--disable_query_log
+eval SELECT IF('$io_file' = '$sql_file', "OK", "Not ok, $io_file <> $sql_file") AS test_check;
+eval SELECT IF('$io_pos' = '$sql_pos', "OK", "Not ok, $io_pos <> $sql_pos") AS test_check;
+--enable_query_log
+
+--connection server_1
+FLUSH LOGS;
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+let $io_file= query_get_value(SHOW SLAVE STATUS, Master_Log_File, 1);
+let $io_pos= query_get_value(SHOW SLAVE STATUS, Read_Master_Log_Pos, 1);
+let $sql_file= query_get_value(SHOW SLAVE STATUS, Relay_Master_Log_File, 1);
+let $sql_pos= query_get_value(SHOW SLAVE STATUS, Exec_Master_Log_Pos, 1);
+--disable_query_log
+eval SELECT IF('$io_file' = '$sql_file', "OK", "Not ok, $io_file <> $sql_file") AS test_check;
+eval SELECT IF('$io_pos' = '$sql_pos', "OK", "Not ok, $io_pos <> $sql_pos") AS test_check;
+--enable_query_log
+
--connection server_2
--source include/stop_slave.inc
@@ -1026,7 +1299,7 @@ SET DEBUG_SYNC= 'RESET';
--connection server_1
DROP function foo;
-DROP TABLE t1,t2,t3;
+DROP TABLE t1,t2,t3,t4,t5;
SET DEBUG_SYNC= 'RESET';
--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_parallel2.test b/mysql-test/suite/rpl/t/rpl_parallel2.test
new file mode 100644
index 00000000000..39b35063c7c
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_parallel2.test
@@ -0,0 +1,41 @@
+--source include/have_binlog_format_statement.inc
+--let $rpl_topology=1->2
+--source include/rpl_init.inc
+
+--echo *** MDEV-5509: Incorrect value for Seconds_Behind_Master if parallel replication ***
+
+--connection server_2
+SET @old_parallel_threads=@@GLOBAL.slave_parallel_threads;
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=5;
+--source include/start_slave.inc
+
+--connection server_1
+CREATE TABLE t1 (a INT PRIMARY KEY, b INT);
+CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave");
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+
+--connection server_1
+INSERT INTO t1 VALUES (1,sleep(2));
+--save_master_pos
+
+--connection server_2
+--sync_with_master
+
+--echo Seconds_Behind_Master should be zero here because the slave is fully caught up and idle.
+--let $status_items= Seconds_Behind_Master
+--source include/show_slave_status.inc
+
+
+--connection server_2
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=@old_parallel_threads;
+--source include/start_slave.inc
+
+--connection server_1
+DROP TABLE t1;
+
+--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test b/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test
index 98f919e4727..75db619d225 100644
--- a/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test
+++ b/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test
@@ -190,10 +190,12 @@ SET GLOBAL slave_parallel_threads=10;
--connection server_2
--source include/stop_slave.inc
SET GLOBAL slave_parallel_threads=@old_parallel_threads;
+SET debug_sync = 'reset';
--source include/start_slave.inc
--connection server_1
DROP function foo;
DROP TABLE t3;
+SET debug_sync = 'reset';
--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_row_create_table.test b/mysql-test/suite/rpl/t/rpl_row_create_table.test
index ef3c0758643..da73d753dcd 100644
--- a/mysql-test/suite/rpl/t/rpl_row_create_table.test
+++ b/mysql-test/suite/rpl/t/rpl_row_create_table.test
@@ -28,7 +28,8 @@ START SLAVE;
--source include/rpl_reset.inc
connection master;
-CREATE TABLE t1 (a INT, b INT);
+CREATE TABLE t1 (a INT);
+CREATE OR REPLACE TABLE t1 (a INT, b INT);
CREATE TABLE t2 (a INT, b INT) ENGINE=Merge;
CREATE TABLE t3 (a INT, b INT) CHARSET=utf8;
CREATE TABLE t4 (a INT, b INT) ENGINE=Merge CHARSET=utf8;
diff --git a/mysql-test/suite/rpl/t/rpl_row_find_row_debug.test b/mysql-test/suite/rpl/t/rpl_row_find_row_debug.test
index af7ccf74295..fb7491b0077 100644
--- a/mysql-test/suite/rpl/t/rpl_row_find_row_debug.test
+++ b/mysql-test/suite/rpl/t/rpl_row_find_row_debug.test
@@ -1,9 +1,9 @@
#
# Bug#11760927: 53375: RBR + NO PK => HIGH LOAD ON SLAVE (TABLE SCAN/CPU) => SLAVE FAILURE
#
---source include/master-slave.inc
--source include/have_binlog_format_row.inc
--source include/have_debug.inc
+--source include/master-slave.inc
# SETUP
# - setup log_warnings and debug
diff --git a/mysql-test/suite/rpl/t/rpl_row_triggers.test b/mysql-test/suite/rpl/t/rpl_row_triggers.test
new file mode 100644
index 00000000000..3a884727325
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_row_triggers.test
@@ -0,0 +1,280 @@
+-- source include/have_binlog_format_row.inc
+-- source include/have_rbr_triggers.inc
+-- source include/have_innodb.inc
+-- source include/master-slave.inc
+
+-- echo # Test of row replication with triggers on the slave side
+
+connection master;
+CREATE TABLE t1 (C1 CHAR(1) primary key, C2 CHAR(1)) engine=innodb;
+SELECT * FROM t1;
+
+sync_slave_with_master;
+
+connection slave;
+SET @old_slave_exec_mode= @@global.slave_exec_mode;
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+SET @@global.slave_exec_mode= IDEMPOTENT;
+SET @@global.slave_run_triggers_for_rbr= YES;
+SELECT * FROM t1;
+create table t2 (id char(2) primary key, cnt int, o char(1), n char(1));
+insert into t2 values
+ ('u0', 0, ' ', ' '),('u1', 0, ' ', ' '),
+ ('d0', 0, ' ', ' '),('d1', 0, ' ', ' '),
+ ('i0', 0, ' ', ' '),('i1', 0, ' ', ' ');
+create trigger t1_cnt_b before update on t1 for each row
+ update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u0';
+create trigger t1_cnt_db before delete on t1 for each row
+ update t2 set cnt=cnt+1, o=old.C1, n=' ' where id = 'd0';
+create trigger t1_cnt_ib before insert on t1 for each row
+ update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i0';
+create trigger t1_cnt_a after update on t1 for each row
+ update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u1';
+create trigger t1_cnt_da after delete on t1 for each row
+ update t2 set cnt=cnt+1, o=old.C1, n=' ' where id = 'd1';
+create trigger t1_cnt_ia after insert on t1 for each row
+ update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i1';
+SELECT * FROM t2 order by id;
+
+connection master;
+--echo # INSERT triggers test
+insert into t1 values ('a','b');
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+connection master;
+
+--echo # UPDATE triggers test
+update t1 set C1= 'd';
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+connection master;
+--echo # DELETE triggers test
+delete from t1 where C1='d';
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+--echo # INSERT triggers which cause also UPDATE test (insert duplicate row)
+insert into t1 values ('0','1');
+
+SELECT * FROM t2 order by id;
+
+connection master;
+
+insert into t1 values ('0','1');
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+
+--echo # INSERT triggers which cause also DELETE test
+--echo # (insert duplicate row in table referenced by foreign key)
+insert into t1 values ('1','1');
+
+connection master;
+
+CREATE TABLE t3 (C1 CHAR(1) primary key, FOREIGN KEY (C1) REFERENCES t1(C1) ) engine=innodb;
+
+insert into t1 values ('1','1');
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+connection master;
+
+drop table t3,t1;
+
+sync_slave_with_master;
+
+connection slave;
+SET @@global.slave_exec_mode= @old_slave_exec_mode;
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+drop table t2;
+
+--connection master
+
+CREATE TABLE t1 (i INT) ENGINE=InnoDB;
+CREATE TABLE t2 (i INT) ENGINE=InnoDB;
+
+--sync_slave_with_master
+
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+SET GLOBAL slave_run_triggers_for_rbr=YES;
+
+CREATE TRIGGER tr AFTER INSERT ON t1 FOR EACH ROW
+ INSERT INTO t2 VALUES (new.i);
+
+--connection master
+
+BEGIN;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (2);
+COMMIT;
+
+--sync_slave_with_master
+select * from t2;
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+
+--connection master
+drop tables t2,t1;
+
+--sync_slave_with_master
+
+-- echo # Triggers on slave do not work if master has some
+
+connection master;
+CREATE TABLE t1 (C1 CHAR(1) primary key, C2 CHAR(1)) engine=innodb;
+SELECT * FROM t1;
+
+create trigger t1_dummy before delete on t1 for each row
+ set @dummy= 1;
+
+sync_slave_with_master;
+
+connection slave;
+SET @old_slave_exec_mode= @@global.slave_exec_mode;
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+SET @@global.slave_exec_mode= IDEMPOTENT;
+SET @@global.slave_run_triggers_for_rbr= YES;
+SELECT * FROM t1;
+create table t2 (id char(2) primary key, cnt int, o char(1), n char(1));
+insert into t2 values
+ ('u0', 0, ' ', ' '),('u1', 0, ' ', ' '),
+ ('d0', 0, ' ', ' '),('d1', 0, ' ', ' '),
+ ('i0', 0, ' ', ' '),('i1', 0, ' ', ' ');
+create trigger t1_cnt_b before update on t1 for each row
+ update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u0';
+create trigger t1_cnt_ib before insert on t1 for each row
+ update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i0';
+create trigger t1_cnt_a after update on t1 for each row
+ update t2 set cnt=cnt+1, o=old.C1, n=new.C1 where id = 'u1';
+create trigger t1_cnt_da after delete on t1 for each row
+ update t2 set cnt=cnt+1, o=old.C1, n=' ' where id = 'd1';
+create trigger t1_cnt_ia after insert on t1 for each row
+ update t2 set cnt=cnt+1, n=new.C1, o=' ' where id = 'i1';
+SELECT * FROM t2 order by id;
+
+connection master;
+--echo # INSERT triggers test
+insert into t1 values ('a','b');
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+connection master;
+
+--echo # UPDATE triggers test
+update t1 set C1= 'd';
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+connection master;
+--echo # DELETE triggers test
+delete from t1 where C1='d';
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+--echo # INSERT triggers which cause also UPDATE test (insert duplicate row)
+insert into t1 values ('0','1');
+
+SELECT * FROM t2 order by id;
+
+connection master;
+
+insert into t1 values ('0','1');
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+
+--echo # INSERT triggers which cause also DELETE test
+--echo # (insert duplicate row in table referenced by foreign key)
+insert into t1 values ('1','1');
+
+connection master;
+
+CREATE TABLE t3 (C1 CHAR(1) primary key, FOREIGN KEY (C1) REFERENCES t1(C1) ) engine=innodb;
+
+insert into t1 values ('1','1');
+
+sync_slave_with_master;
+
+connection slave;
+SELECT * FROM t2 order by id;
+
+connection master;
+
+drop table t3,t1;
+
+sync_slave_with_master;
+
+connection slave;
+SET @@global.slave_exec_mode= @old_slave_exec_mode;
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+drop table t2;
+
+--echo #
+--echo # MDEV-5513: Trigger is applied to the rows after first one
+--echo #
+
+--connection master
+
+create table t1 (a int, b int);
+create table tlog (a int);
+
+set sql_log_bin=0;
+create trigger tr1 after insert on t1 for each row insert into tlog values (1);
+set sql_log_bin=1;
+
+sync_slave_with_master;
+--connection slave
+
+set @slave_run_triggers_for_rbr.saved = @@slave_run_triggers_for_rbr;
+set global slave_run_triggers_for_rbr=1;
+create trigger tr2 before insert on t1 for each row set new.b = new.a;
+
+--connection master
+
+insert into t1 values (1,10),(2,20),(3,30);
+
+--sync_slave_with_master
+
+select * from t1;
+
+# Cleanup
+
+set global slave_run_triggers_for_rbr = @slave_run_triggers_for_rbr.saved;
+
+--connection master
+
+drop table t1, tlog;
+
+sync_slave_with_master;
+
+
+
+--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_row_triggers_sbr.test b/mysql-test/suite/rpl/t/rpl_row_triggers_sbr.test
new file mode 100644
index 00000000000..a801363b931
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_row_triggers_sbr.test
@@ -0,0 +1,43 @@
+--source include/have_binlog_format_statement.inc
+--source include/have_rbr_triggers.inc
+--source include/master-slave.inc
+
+--disable_query_log
+CALL mtr.add_suppression("Cannot execute statement: impossible to write to binary log since statement is in row format and BINLOG_FORMAT = STATEMENT");
+--enable_query_log
+
+set binlog_format = row;
+
+create table t1 (i int);
+create table t2 (i int);
+
+--sync_slave_with_master
+--disable_query_log
+CALL mtr.add_suppression("impossible to write to binary log since statement is in row format and BINLOG_FORMAT = STATEMENT");
+--enable_query_log
+
+SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
+set global slave_run_triggers_for_rbr=YES;
+
+create trigger tr_before before insert on t1 for each row
+ insert into t2 values (1);
+
+--connection master
+
+insert into t1 values (1);
+
+--connection slave
+
+--let $slave_sql_errno= 1666
+--source include/wait_for_slave_sql_error_and_skip.inc
+
+--connection master
+
+drop tables t1,t2;
+
+--sync_slave_with_master
+SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
+
+--connection master
+
+--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_row_unsafe_funcs.test b/mysql-test/suite/rpl/t/rpl_row_unsafe_funcs.test
index 9e6485d6630..31eea3a2068 100644
--- a/mysql-test/suite/rpl/t/rpl_row_unsafe_funcs.test
+++ b/mysql-test/suite/rpl/t/rpl_row_unsafe_funcs.test
@@ -1,5 +1,5 @@
-source include/master-slave.inc;
source include/have_binlog_format_mixed.inc;
+source include/master-slave.inc;
#
# Bug #30244: row_count/found_rows does not replicate well
diff --git a/mysql-test/suite/rpl/t/rpl_row_utf32.test b/mysql-test/suite/rpl/t/rpl_row_utf32.test
index 936d62b09bd..c82cd4e5c2f 100644
--- a/mysql-test/suite/rpl/t/rpl_row_utf32.test
+++ b/mysql-test/suite/rpl/t/rpl_row_utf32.test
@@ -1,6 +1,6 @@
--- source include/master-slave.inc
-- source include/have_binlog_format_row.inc
-- source include/have_utf32.inc
+-- source include/master-slave.inc
#
# BUG#51787 Assertion `(n % 4) == 0' on slave upon INSERT into a table with UTF32
diff --git a/mysql-test/suite/rpl/t/rpl_stm_log.test b/mysql-test/suite/rpl/t/rpl_stm_log.test
index 7e7e1d4033f..23130528465 100644
--- a/mysql-test/suite/rpl/t/rpl_stm_log.test
+++ b/mysql-test/suite/rpl/t/rpl_stm_log.test
@@ -4,7 +4,5 @@
let $engine_type=MyISAM;
-- source extra/rpl_tests/rpl_log.test
-
# End of 4.1 tests
-# Adding comment for force manual merge 5.0 -> wl1012: Delete me
--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_stm_sql_mode.test b/mysql-test/suite/rpl/t/rpl_stm_sql_mode.test
index 0eb41d1c6bd..56821621bfe 100644
--- a/mysql-test/suite/rpl/t/rpl_stm_sql_mode.test
+++ b/mysql-test/suite/rpl/t/rpl_stm_sql_mode.test
@@ -1,5 +1,5 @@
--- source include/master-slave.inc
-- source include/have_binlog_format_statement.inc
+-- source include/master-slave.inc
#
# Bug #51055 Replication failure on duplicate key + traditional SQL mode
diff --git a/mysql-test/suite/rpl/t/rpl_stm_stop_middle_group.test b/mysql-test/suite/rpl/t/rpl_stm_stop_middle_group.test
index 84d663298c4..31880d17dfb 100644
--- a/mysql-test/suite/rpl/t/rpl_stm_stop_middle_group.test
+++ b/mysql-test/suite/rpl/t/rpl_stm_stop_middle_group.test
@@ -2,9 +2,9 @@
# Please, check extra/rpl_tests/rpl_stop_middle_group.test.
###################################################################################
-- source include/have_debug.inc
--- source include/master-slave.inc
-- source include/have_innodb.inc
-- source include/have_binlog_format_statement.inc
+-- source include/master-slave.inc
SET @@session.binlog_direct_non_transactional_updates= FALSE;
-- source extra/rpl_tests/rpl_stop_middle_group.test
diff --git a/mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test b/mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test
index aa22b23925c..e9cc098857e 100644
--- a/mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test
+++ b/mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test
@@ -5,8 +5,8 @@
# does not exist' base on myisam engine.
#
-source include/master-slave.inc;
source include/have_binlog_format_row.inc;
+source include/master-slave.inc;
LET $ENGINE_TYPE= MyISAM;
source extra/rpl_tests/rpl_tmp_table_and_DDL.test;
diff --git a/mysql-test/suite/sys_vars/r/back_log_basic.result b/mysql-test/suite/sys_vars/r/back_log_basic.result
index 5cfb0da65d6..d68e72a8a4a 100644
--- a/mysql-test/suite/sys_vars/r/back_log_basic.result
+++ b/mysql-test/suite/sys_vars/r/back_log_basic.result
@@ -1,20 +1,20 @@
select @@global.back_log;
@@global.back_log
-50
+150
select @@session.back_log;
ERROR HY000: Variable 'back_log' is a GLOBAL variable
show global variables like 'back_log';
Variable_name Value
-back_log 50
+back_log 150
show session variables like 'back_log';
Variable_name Value
-back_log 50
+back_log 150
select * from information_schema.global_variables where variable_name='back_log';
VARIABLE_NAME VARIABLE_VALUE
-BACK_LOG 50
+BACK_LOG 150
select * from information_schema.session_variables where variable_name='back_log';
VARIABLE_NAME VARIABLE_VALUE
-BACK_LOG 50
+BACK_LOG 150
set global back_log=1;
ERROR HY000: Variable 'back_log' is a read only variable
set session back_log=1;
diff --git a/mysql-test/suite/sys_vars/r/engine_condition_pushdown_basic.result b/mysql-test/suite/sys_vars/r/engine_condition_pushdown_basic.result
index 937a3b164fa..64028e537bf 100644
--- a/mysql-test/suite/sys_vars/r/engine_condition_pushdown_basic.result
+++ b/mysql-test/suite/sys_vars/r/engine_condition_pushdown_basic.result
@@ -9,7 +9,7 @@ SELECT @global_start_value;
select @old_session_opt_switch:=@@session.optimizer_switch,
@old_global_opt_switch:=@@global.optimizer_switch;
@old_session_opt_switch:=@@session.optimizer_switch @old_global_opt_switch:=@@global.optimizer_switch
-index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
'#--------------------FN_DYNVARS_028_01------------------------#'
SET @@session.engine_condition_pushdown = 0;
Warnings:
@@ -212,7 +212,7 @@ select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@session.engine_condition_pushdown = TRUE;
Warnings:
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
@@ -220,7 +220,7 @@ select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@session.engine_condition_pushdown = FALSE;
Warnings:
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
@@ -228,7 +228,7 @@ select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@global.engine_condition_pushdown = TRUE;
Warnings:
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
@@ -236,7 +236,7 @@ select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 1 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 1 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@global.engine_condition_pushdown = FALSE;
Warnings:
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
@@ -244,31 +244,31 @@ select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@session.optimizer_switch = "engine_condition_pushdown=on";
select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@session.optimizer_switch = "engine_condition_pushdown=off";
select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@global.optimizer_switch = "engine_condition_pushdown=on";
select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 1 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 1 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set @@global.optimizer_switch = "engine_condition_pushdown=off";
select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
SET @@session.engine_condition_pushdown = @session_start_value;
Warnings:
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
@@ -287,4 +287,4 @@ select @@session.engine_condition_pushdown,
@@global.engine_condition_pushdown,
@@session.optimizer_switch, @@global.optimizer_switch;
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
-0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
diff --git a/mysql-test/suite/sys_vars/r/gtid_ignore_duplicates_basic.result b/mysql-test/suite/sys_vars/r/gtid_ignore_duplicates_basic.result
new file mode 100644
index 00000000000..b0256673825
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/gtid_ignore_duplicates_basic.result
@@ -0,0 +1,13 @@
+SET @save_gtid_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+SELECT @@GLOBAL.gtid_ignore_duplicates as 'must be zero because of default';
+must be zero because of default
+0
+SELECT @@SESSION.gtid_ignore_duplicates as 'no session var';
+ERROR HY000: Variable 'gtid_ignore_duplicates' is a GLOBAL variable
+SET GLOBAL gtid_ignore_duplicates= FALSE;
+SET GLOBAL gtid_ignore_duplicates= DEFAULT;
+SET GLOBAL gtid_ignore_duplicates= TRUE;
+SELECT @@GLOBAL.gtid_ignore_duplicates;
+@@GLOBAL.gtid_ignore_duplicates
+1
+SET GLOBAL gtid_ignore_duplicates = @save_gtid_ignore_duplicates;
diff --git a/mysql-test/suite/sys_vars/r/innodb_monitor_disable_basic.result b/mysql-test/suite/sys_vars/r/innodb_monitor_disable_basic.result
index ce57dbb2fdc..6f1c4c21d17 100644
--- a/mysql-test/suite/sys_vars/r/innodb_monitor_disable_basic.result
+++ b/mysql-test/suite/sys_vars/r/innodb_monitor_disable_basic.result
@@ -160,8 +160,12 @@ compress_pages_compressed disabled
compress_pages_decompressed disabled
compression_pad_increments disabled
compression_pad_decrements disabled
-index_splits disabled
-index_merges disabled
+index_page_splits disabled
+index_page_merge_attempts disabled
+index_page_merge_successful disabled
+index_page_reorg_attempts disabled
+index_page_reorg_successful disabled
+index_page_discards disabled
adaptive_hash_searches disabled
adaptive_hash_searches_btree disabled
adaptive_hash_pages_added disabled
diff --git a/mysql-test/suite/sys_vars/r/innodb_monitor_enable_basic.result b/mysql-test/suite/sys_vars/r/innodb_monitor_enable_basic.result
index ce57dbb2fdc..6f1c4c21d17 100644
--- a/mysql-test/suite/sys_vars/r/innodb_monitor_enable_basic.result
+++ b/mysql-test/suite/sys_vars/r/innodb_monitor_enable_basic.result
@@ -160,8 +160,12 @@ compress_pages_compressed disabled
compress_pages_decompressed disabled
compression_pad_increments disabled
compression_pad_decrements disabled
-index_splits disabled
-index_merges disabled
+index_page_splits disabled
+index_page_merge_attempts disabled
+index_page_merge_successful disabled
+index_page_reorg_attempts disabled
+index_page_reorg_successful disabled
+index_page_discards disabled
adaptive_hash_searches disabled
adaptive_hash_searches_btree disabled
adaptive_hash_pages_added disabled
diff --git a/mysql-test/suite/sys_vars/r/innodb_monitor_reset_all_basic.result b/mysql-test/suite/sys_vars/r/innodb_monitor_reset_all_basic.result
index ce57dbb2fdc..6f1c4c21d17 100644
--- a/mysql-test/suite/sys_vars/r/innodb_monitor_reset_all_basic.result
+++ b/mysql-test/suite/sys_vars/r/innodb_monitor_reset_all_basic.result
@@ -160,8 +160,12 @@ compress_pages_compressed disabled
compress_pages_decompressed disabled
compression_pad_increments disabled
compression_pad_decrements disabled
-index_splits disabled
-index_merges disabled
+index_page_splits disabled
+index_page_merge_attempts disabled
+index_page_merge_successful disabled
+index_page_reorg_attempts disabled
+index_page_reorg_successful disabled
+index_page_discards disabled
adaptive_hash_searches disabled
adaptive_hash_searches_btree disabled
adaptive_hash_pages_added disabled
diff --git a/mysql-test/suite/sys_vars/r/innodb_monitor_reset_basic.result b/mysql-test/suite/sys_vars/r/innodb_monitor_reset_basic.result
index ce57dbb2fdc..6f1c4c21d17 100644
--- a/mysql-test/suite/sys_vars/r/innodb_monitor_reset_basic.result
+++ b/mysql-test/suite/sys_vars/r/innodb_monitor_reset_basic.result
@@ -160,8 +160,12 @@ compress_pages_compressed disabled
compress_pages_decompressed disabled
compression_pad_increments disabled
compression_pad_decrements disabled
-index_splits disabled
-index_merges disabled
+index_page_splits disabled
+index_page_merge_attempts disabled
+index_page_merge_successful disabled
+index_page_reorg_attempts disabled
+index_page_reorg_successful disabled
+index_page_discards disabled
adaptive_hash_searches disabled
adaptive_hash_searches_btree disabled
adaptive_hash_pages_added disabled
diff --git a/mysql-test/suite/sys_vars/r/last_gtid_basic.result b/mysql-test/suite/sys_vars/r/last_gtid_basic.result
new file mode 100644
index 00000000000..d39b6595f04
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/last_gtid_basic.result
@@ -0,0 +1,9 @@
+SELECT @@global.last_gtid;
+ERROR HY000: Variable 'last_gtid' is a SESSION variable
+SET GLOBAL last_gtid= 10;
+ERROR HY000: Variable 'last_gtid' is a read only variable
+SET SESSION last_gtid= 20;
+ERROR HY000: Variable 'last_gtid' is a read only variable
+SELECT @@session.last_gtid;
+@@session.last_gtid
+
diff --git a/mysql-test/suite/sys_vars/r/old_mode_basic.result b/mysql-test/suite/sys_vars/r/old_mode_basic.result
index c9a650e7b15..052221d796e 100644
--- a/mysql-test/suite/sys_vars/r/old_mode_basic.result
+++ b/mysql-test/suite/sys_vars/r/old_mode_basic.result
@@ -111,10 +111,14 @@ SELECT @@global.old_mode;
@@global.old_mode
NO_PROGRESS_INFO
SET @@global.old_mode = 4;
-ERROR 42000: Variable 'old_mode' can't be set to the value of '4'
SELECT @@global.old_mode;
@@global.old_mode
-NO_PROGRESS_INFO
+ZERO_DATE_TIME_CAST
+SET @@global.old_mode = 8;
+ERROR 42000: Variable 'old_mode' can't be set to the value of '8'
+SELECT @@global.old_mode;
+@@global.old_mode
+ZERO_DATE_TIME_CAST
SET @@global.old_mode = 0.4;
ERROR 42000: Incorrect argument type to variable 'old_mode'
'#---------------------FN_DYNVARS_152_08----------------------#'
diff --git a/mysql-test/suite/sys_vars/r/optimizer_switch_basic.result b/mysql-test/suite/sys_vars/r/optimizer_switch_basic.result
index 8a9c49def85..99b1d6296a8 100644
--- a/mysql-test/suite/sys_vars/r/optimizer_switch_basic.result
+++ b/mysql-test/suite/sys_vars/r/optimizer_switch_basic.result
@@ -1,25 +1,25 @@
SET @start_global_value = @@global.optimizer_switch;
SELECT @start_global_value;
@start_global_value
-index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
select @@global.optimizer_switch;
@@global.optimizer_switch
-index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
select @@session.optimizer_switch;
@@session.optimizer_switch
-index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
show global variables like 'optimizer_switch';
Variable_name Value
-optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
show session variables like 'optimizer_switch';
Variable_name Value
-optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
select * from information_schema.global_variables where variable_name='optimizer_switch';
VARIABLE_NAME VARIABLE_VALUE
-OPTIMIZER_SWITCH index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+OPTIMIZER_SWITCH index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
select * from information_schema.session_variables where variable_name='optimizer_switch';
VARIABLE_NAME VARIABLE_VALUE
-OPTIMIZER_SWITCH index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+OPTIMIZER_SWITCH index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
set global optimizer_switch=10;
set session optimizer_switch=5;
select @@global.optimizer_switch;
@@ -67,4 +67,4 @@ ERROR 42000: Variable 'optimizer_switch' can't be set to the value of 'foobar'
SET @@global.optimizer_switch = @start_global_value;
SELECT @@global.optimizer_switch;
@@global.optimizer_switch
-index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
+index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=off
diff --git a/mysql-test/suite/sys_vars/r/progress_report_time_basic.result b/mysql-test/suite/sys_vars/r/progress_report_time_basic.result
index 7aab917b4f8..b8e8c39f451 100644
--- a/mysql-test/suite/sys_vars/r/progress_report_time_basic.result
+++ b/mysql-test/suite/sys_vars/r/progress_report_time_basic.result
@@ -1,22 +1,22 @@
SET @start_global_value = @@global.progress_report_time;
select @@global.progress_report_time;
@@global.progress_report_time
-56
+5
select @@session.progress_report_time;
@@session.progress_report_time
-56
+5
show global variables like 'progress_report_time';
Variable_name Value
-progress_report_time 56
+progress_report_time 5
show session variables like 'progress_report_time';
Variable_name Value
-progress_report_time 56
+progress_report_time 5
select * from information_schema.global_variables where variable_name='progress_report_time';
VARIABLE_NAME VARIABLE_VALUE
-PROGRESS_REPORT_TIME 56
+PROGRESS_REPORT_TIME 5
select * from information_schema.session_variables where variable_name='progress_report_time';
VARIABLE_NAME VARIABLE_VALUE
-PROGRESS_REPORT_TIME 56
+PROGRESS_REPORT_TIME 5
set global progress_report_time=10;
select @@global.progress_report_time;
@@global.progress_report_time
diff --git a/mysql-test/suite/sys_vars/r/slave_ddl_exec_mode_basic.result b/mysql-test/suite/sys_vars/r/slave_ddl_exec_mode_basic.result
new file mode 100644
index 00000000000..e758e61f648
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/slave_ddl_exec_mode_basic.result
@@ -0,0 +1,39 @@
+SET @start_value = @@global.slave_ddl_exec_mode;
+SELECT @@global.slave_ddl_exec_mode;
+@@global.slave_ddl_exec_mode
+IDEMPOTENT
+SELECT @@slave_ddl_exec_mode = @@GLOBAL.slave_ddl_exec_mode;
+@@slave_ddl_exec_mode = @@GLOBAL.slave_ddl_exec_mode
+1
+1 Expected
+SELECT COUNT(@@slave_ddl_exec_mode);
+COUNT(@@slave_ddl_exec_mode)
+1
+1 Expected
+SELECT COUNT(@@local.slave_ddl_exec_mode);
+ERROR HY000: Variable 'slave_ddl_exec_mode' is a GLOBAL variable
+Expected error 'Variable is a GLOBAL variable'
+SELECT COUNT(@@SESSION.slave_ddl_exec_mode);
+ERROR HY000: Variable 'slave_ddl_exec_mode' is a GLOBAL variable
+Expected error 'Variable is a GLOBAL variable'
+SELECT COUNT(@@GLOBAL.slave_ddl_exec_mode);
+COUNT(@@GLOBAL.slave_ddl_exec_mode)
+1
+1 Expected
+SELECT slave_ddl_exec_mode = @@SESSION.version;
+ERROR 42S22: Unknown column 'slave_ddl_exec_mode' in 'field list'
+Expected error 'Readonly variable'
+SET @@GLOBAL.slave_ddl_exec_mode=STRICT;
+SELECT @@GLOBAL.slave_ddl_exec_mode;
+@@GLOBAL.slave_ddl_exec_mode
+STRICT
+SET @@GLOBAL.slave_ddl_exec_mode=IDEMPOTENT;
+SELECT @@GLOBAL.slave_ddl_exec_mode;
+@@GLOBAL.slave_ddl_exec_mode
+IDEMPOTENT
+SET @@GLOBAL.slave_ddl_exec_mode=XXX;
+ERROR 42000: Variable 'slave_ddl_exec_mode' can't be set to the value of 'XXX'
+SELECT @@GLOBAL.slave_ddl_exec_mode;
+@@GLOBAL.slave_ddl_exec_mode
+IDEMPOTENT
+SET @@global.slave_ddl_exec_mode= @start_value;
diff --git a/mysql-test/suite/sys_vars/r/slave_domain_parallel_threads_basic.result b/mysql-test/suite/sys_vars/r/slave_domain_parallel_threads_basic.result
new file mode 100644
index 00000000000..9e53d9bd891
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/slave_domain_parallel_threads_basic.result
@@ -0,0 +1,13 @@
+SET @save_slave_domain_parallel_threads= @@GLOBAL.slave_domain_parallel_threads;
+SELECT @@GLOBAL.slave_domain_parallel_threads as 'must be zero because of default';
+must be zero because of default
+0
+SELECT @@SESSION.slave_domain_parallel_threads as 'no session var';
+ERROR HY000: Variable 'slave_domain_parallel_threads' is a GLOBAL variable
+SET GLOBAL slave_domain_parallel_threads= 0;
+SET GLOBAL slave_domain_parallel_threads= DEFAULT;
+SET GLOBAL slave_domain_parallel_threads= 10;
+SELECT @@GLOBAL.slave_domain_parallel_threads;
+@@GLOBAL.slave_domain_parallel_threads
+10
+SET GLOBAL slave_domain_parallel_threads = @save_slave_domain_parallel_threads;
diff --git a/mysql-test/suite/sys_vars/r/version_malloc_library_basic.result b/mysql-test/suite/sys_vars/r/version_malloc_library_basic.result
new file mode 100644
index 00000000000..5895b8122d9
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/version_malloc_library_basic.result
@@ -0,0 +1,53 @@
+'#---------------------BS_STVARS_053_01----------------------#'
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+COUNT(@@GLOBAL.version_malloc_library)
+1
+1 Expected
+'#---------------------BS_STVARS_053_02----------------------#'
+SET @@GLOBAL.version_malloc_library=1;
+ERROR HY000: Variable 'version_malloc_library' is a read only variable
+Expected error 'Read only variable'
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+COUNT(@@GLOBAL.version_malloc_library)
+1
+1 Expected
+'#---------------------BS_STVARS_053_03----------------------#'
+SELECT @@GLOBAL.version_malloc_library = VARIABLE_VALUE
+FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
+WHERE VARIABLE_NAME='version_malloc_library';
+@@GLOBAL.version_malloc_library = VARIABLE_VALUE
+1
+1 Expected
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+COUNT(@@GLOBAL.version_malloc_library)
+1
+1 Expected
+SELECT COUNT(VARIABLE_VALUE)
+FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
+WHERE VARIABLE_NAME='version_malloc_library';
+COUNT(VARIABLE_VALUE)
+1
+1 Expected
+'#---------------------BS_STVARS_053_04----------------------#'
+SELECT @@version_malloc_library = @@GLOBAL.version_malloc_library;
+@@version_malloc_library = @@GLOBAL.version_malloc_library
+1
+1 Expected
+'#---------------------BS_STVARS_053_05----------------------#'
+SELECT COUNT(@@version_malloc_library);
+COUNT(@@version_malloc_library)
+1
+1 Expected
+SELECT COUNT(@@local.version_malloc_library);
+ERROR HY000: Variable 'version_malloc_library' is a GLOBAL variable
+Expected error 'Variable is a GLOBAL variable'
+SELECT COUNT(@@SESSION.version_malloc_library);
+ERROR HY000: Variable 'version_malloc_library' is a GLOBAL variable
+Expected error 'Variable is a GLOBAL variable'
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+COUNT(@@GLOBAL.version_malloc_library)
+1
+1 Expected
+SELECT version_malloc_library = @@SESSION.version;
+ERROR 42S22: Unknown column 'version_malloc_library' in 'field list'
+Expected error 'Readonly variable'
diff --git a/mysql-test/suite/sys_vars/t/gtid_ignore_duplicates_basic.test b/mysql-test/suite/sys_vars/t/gtid_ignore_duplicates_basic.test
new file mode 100644
index 00000000000..23b7dc85596
--- /dev/null
+++ b/mysql-test/suite/sys_vars/t/gtid_ignore_duplicates_basic.test
@@ -0,0 +1,14 @@
+--source include/not_embedded.inc
+
+SET @save_gtid_ignore_duplicates= @@GLOBAL.gtid_ignore_duplicates;
+
+SELECT @@GLOBAL.gtid_ignore_duplicates as 'must be zero because of default';
+--error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SELECT @@SESSION.gtid_ignore_duplicates as 'no session var';
+
+SET GLOBAL gtid_ignore_duplicates= FALSE;
+SET GLOBAL gtid_ignore_duplicates= DEFAULT;
+SET GLOBAL gtid_ignore_duplicates= TRUE;
+SELECT @@GLOBAL.gtid_ignore_duplicates;
+
+SET GLOBAL gtid_ignore_duplicates = @save_gtid_ignore_duplicates;
diff --git a/mysql-test/suite/sys_vars/t/last_gtid_basic.test b/mysql-test/suite/sys_vars/t/last_gtid_basic.test
new file mode 100644
index 00000000000..85fbf079bfb
--- /dev/null
+++ b/mysql-test/suite/sys_vars/t/last_gtid_basic.test
@@ -0,0 +1,11 @@
+--source include/not_embedded.inc
+
+--error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SELECT @@global.last_gtid;
+
+--error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SET GLOBAL last_gtid= 10;
+--error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SET SESSION last_gtid= 20;
+
+SELECT @@session.last_gtid;
diff --git a/mysql-test/suite/sys_vars/t/old_mode_basic.test b/mysql-test/suite/sys_vars/t/old_mode_basic.test
index 6770219887d..93a93960836 100644
--- a/mysql-test/suite/sys_vars/t/old_mode_basic.test
+++ b/mysql-test/suite/sys_vars/t/old_mode_basic.test
@@ -168,10 +168,13 @@ SELECT @@global.old_mode;
SET @@global.old_mode = 2;
SELECT @@global.old_mode;
---Error ER_WRONG_VALUE_FOR_VAR
SET @@global.old_mode = 4;
SELECT @@global.old_mode;
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = 8;
+SELECT @@global.old_mode;
+
# use of decimal values
--Error ER_WRONG_TYPE_FOR_VAR
diff --git a/mysql-test/suite/sys_vars/t/slave_ddl_exec_mode_basic.test b/mysql-test/suite/sys_vars/t/slave_ddl_exec_mode_basic.test
new file mode 100644
index 00000000000..64f8a75f443
--- /dev/null
+++ b/mysql-test/suite/sys_vars/t/slave_ddl_exec_mode_basic.test
@@ -0,0 +1,67 @@
+############## mysql-test\t\slave_ddl_exec_mode_basic.test ####################
+# #
+# Variable Name: slave_ddl_exec_mode #
+# Scope: GLOBAL & SESSION #
+# Access Type: Dynamic #
+# Data Type: Numeric #
+# Default Value: 1 #
+# Range: 1 - 65536 #
+# #
+# #
+# Description: Test Cases of Dynamic System Variable slave_ddl_exec_mode #
+# that checks the behavior of this variable in the following ways#
+# * Default Value #
+# * Valid & Invalid values #
+# * Scope & Access method #
+# * Data Integrity #
+# #
+###############################################################################
+
+--source include/not_embedded.inc
+--source include/load_sysvars.inc
+
+########################################################################
+# START OF slave_ddl_exec_mode TESTS #
+########################################################################
+
+SET @start_value = @@global.slave_ddl_exec_mode;
+
+SELECT @@global.slave_ddl_exec_mode;
+
+SELECT @@slave_ddl_exec_mode = @@GLOBAL.slave_ddl_exec_mode;
+--echo 1 Expected
+
+SELECT COUNT(@@slave_ddl_exec_mode);
+--echo 1 Expected
+
+--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SELECT COUNT(@@local.slave_ddl_exec_mode);
+--echo Expected error 'Variable is a GLOBAL variable'
+
+--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SELECT COUNT(@@SESSION.slave_ddl_exec_mode);
+--echo Expected error 'Variable is a GLOBAL variable'
+
+SELECT COUNT(@@GLOBAL.slave_ddl_exec_mode);
+--echo 1 Expected
+
+--Error ER_BAD_FIELD_ERROR
+SELECT slave_ddl_exec_mode = @@SESSION.version;
+--echo Expected error 'Readonly variable'
+
+
+SET @@GLOBAL.slave_ddl_exec_mode=STRICT;
+SELECT @@GLOBAL.slave_ddl_exec_mode;
+
+SET @@GLOBAL.slave_ddl_exec_mode=IDEMPOTENT;
+SELECT @@GLOBAL.slave_ddl_exec_mode;
+
+--error ER_WRONG_VALUE_FOR_VAR
+SET @@GLOBAL.slave_ddl_exec_mode=XXX;
+SELECT @@GLOBAL.slave_ddl_exec_mode;
+
+SET @@global.slave_ddl_exec_mode= @start_value;
+
+########################################################################
+# END OF slave_ddl_exec_mode TESTS #
+########################################################################
diff --git a/mysql-test/suite/sys_vars/t/slave_domain_parallel_threads_basic.test b/mysql-test/suite/sys_vars/t/slave_domain_parallel_threads_basic.test
new file mode 100644
index 00000000000..7be48fbd4c5
--- /dev/null
+++ b/mysql-test/suite/sys_vars/t/slave_domain_parallel_threads_basic.test
@@ -0,0 +1,14 @@
+--source include/not_embedded.inc
+
+SET @save_slave_domain_parallel_threads= @@GLOBAL.slave_domain_parallel_threads;
+
+SELECT @@GLOBAL.slave_domain_parallel_threads as 'must be zero because of default';
+--error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SELECT @@SESSION.slave_domain_parallel_threads as 'no session var';
+
+SET GLOBAL slave_domain_parallel_threads= 0;
+SET GLOBAL slave_domain_parallel_threads= DEFAULT;
+SET GLOBAL slave_domain_parallel_threads= 10;
+SELECT @@GLOBAL.slave_domain_parallel_threads;
+
+SET GLOBAL slave_domain_parallel_threads = @save_slave_domain_parallel_threads;
diff --git a/mysql-test/suite/sys_vars/t/version_malloc_library_basic.test b/mysql-test/suite/sys_vars/t/version_malloc_library_basic.test
new file mode 100644
index 00000000000..6318ca4abd5
--- /dev/null
+++ b/mysql-test/suite/sys_vars/t/version_malloc_library_basic.test
@@ -0,0 +1,90 @@
+################## mysql-test\t\version_malloc_library.test ###################
+# #
+# Variable Name: version_malloc_library #
+# Scope: Global #
+# Access Type: Static #
+# Data Type: String #
+# #
+# Description:Test Cases of Dynamic System Variable version #
+# that checks the behavior of this variable in the following ways #
+# * Value Check #
+# * Scope Check #
+# #
+###############################################################################
+
+--echo '#---------------------BS_STVARS_053_01----------------------#'
+####################################################################
+# Displaying default value #
+####################################################################
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+--echo 1 Expected
+
+
+--echo '#---------------------BS_STVARS_053_02----------------------#'
+####################################################################
+# Check if Value can set #
+####################################################################
+
+--error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SET @@GLOBAL.version_malloc_library=1;
+--echo Expected error 'Read only variable'
+
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+--echo 1 Expected
+
+
+
+
+--echo '#---------------------BS_STVARS_053_03----------------------#'
+#################################################################
+# Check if the value in GLOBAL Table matches value in variable #
+#################################################################
+
+SELECT @@GLOBAL.version_malloc_library = VARIABLE_VALUE
+FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
+WHERE VARIABLE_NAME='version_malloc_library';
+--echo 1 Expected
+
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+--echo 1 Expected
+
+SELECT COUNT(VARIABLE_VALUE)
+FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
+WHERE VARIABLE_NAME='version_malloc_library';
+--echo 1 Expected
+
+
+
+--echo '#---------------------BS_STVARS_053_04----------------------#'
+###############################################################################
+# Check if accessing variable with and without GLOBAL point to same variable #
+###############################################################################
+SELECT @@version_malloc_library = @@GLOBAL.version_malloc_library;
+--echo 1 Expected
+
+
+
+--echo '#---------------------BS_STVARS_053_05----------------------#'
+###############################################################################
+# Check if version_malloc_library can be accessed with and without @@ sign #
+###############################################################################
+
+SELECT COUNT(@@version_malloc_library);
+--echo 1 Expected
+
+--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SELECT COUNT(@@local.version_malloc_library);
+--echo Expected error 'Variable is a GLOBAL variable'
+
+--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
+SELECT COUNT(@@SESSION.version_malloc_library);
+--echo Expected error 'Variable is a GLOBAL variable'
+
+SELECT COUNT(@@GLOBAL.version_malloc_library);
+--echo 1 Expected
+
+--Error ER_BAD_FIELD_ERROR
+SELECT version_malloc_library = @@SESSION.version;
+--echo Expected error 'Readonly variable'
+
+
diff --git a/mysql-test/suite/vcol/r/vcol_misc.result b/mysql-test/suite/vcol/r/vcol_misc.result
index 4514928e592..8631789f15f 100644
--- a/mysql-test/suite/vcol/r/vcol_misc.result
+++ b/mysql-test/suite/vcol/r/vcol_misc.result
@@ -316,4 +316,9 @@ ERROR HY000: The value specified for computed column 'd' in table 't1' ignored
INSERT INTO `test`.`t1`(`a`,`b`,`c`,`d`) VALUES ( '1','a',NULL,'a');
ERROR HY000: The value specified for computed column 'd' in table 't1' ignored
drop table t1;
+#
+# MDEV-5611: self-referencing virtual column
+#
+create table t1 (a int, b int as (b is null) virtual);
+ERROR HY000: A computed column cannot be based on a computed column
# end of 5.3 tests
diff --git a/mysql-test/suite/vcol/t/vcol_misc.test b/mysql-test/suite/vcol/t/vcol_misc.test
index 9c8443218fa..a4c1fc06ce9 100644
--- a/mysql-test/suite/vcol/t/vcol_misc.test
+++ b/mysql-test/suite/vcol/t/vcol_misc.test
@@ -275,4 +275,11 @@ UPDATE `test`.`t1` SET `d`='b' WHERE `a`='1' AND `b`='a' AND `c`='1' AND `d`='a
INSERT INTO `test`.`t1`(`a`,`b`,`c`,`d`) VALUES ( '1','a',NULL,'a');
drop table t1;
+--echo #
+--echo # MDEV-5611: self-referencing virtual column
+--echo #
+
+--error ER_VCOL_BASED_ON_VCOL
+create table t1 (a int, b int as (b is null) virtual);
+
--echo # end of 5.3 tests
diff --git a/mysql-test/t/aborted_clients.test b/mysql-test/t/aborted_clients.test
index fafcfb6b3e9..20ddc9991e6 100644
--- a/mysql-test/t/aborted_clients.test
+++ b/mysql-test/t/aborted_clients.test
@@ -1,28 +1,28 @@
-# Test case for MDEV-246, lp:992983
-# Check that ordinary connect/disconnect does not increase aborted_clients
-# status variable, but KILL connection does
-
--- source include/not_embedded.inc
--- source include/count_sessions.inc
-
-FLUSH STATUS;
-# Connect/Disconnect look that aborted_clients stays 0
-connect (con1,localhost,root,,);
-disconnect con1;
-connection default;
--- source include/wait_until_count_sessions.inc
-# Check that there is 0 aborted clients so far
-SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME='aborted_clients';
-
-# Kill a connection, check that aborted_clients is incremented
-connect(con2,localhost,root,,);
---disable_reconnect
---error ER_CONNECTION_KILLED
-KILL CONNECTION_ID();
-disconnect con2;
-connection default;
--- source include/wait_until_count_sessions.inc
-
-# aborted clients must be 1 now
-SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME='aborted_clients';
-FLUSH STATUS;
+# Test case for MDEV-246, lp:992983
+# Check that ordinary connect/disconnect does not increase aborted_clients
+# status variable, but KILL connection does
+
+-- source include/not_embedded.inc
+-- source include/count_sessions.inc
+
+FLUSH STATUS;
+# Connect/Disconnect look that aborted_clients stays 0
+connect (con1,localhost,root,,);
+disconnect con1;
+connection default;
+-- source include/wait_until_count_sessions.inc
+# Check that there is 0 aborted clients so far
+SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME='aborted_clients';
+
+# Kill a connection, check that aborted_clients is incremented
+connect(con2,localhost,root,,);
+--disable_reconnect
+--error ER_CONNECTION_KILLED
+KILL CONNECTION_ID();
+disconnect con2;
+connection default;
+-- source include/wait_until_count_sessions.inc
+
+# aborted clients must be 1 now
+SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME='aborted_clients';
+FLUSH STATUS;
diff --git a/mysql-test/t/alter_table.test b/mysql-test/t/alter_table.test
index 2053e2d9d59..3050fc0378d 100644
--- a/mysql-test/t/alter_table.test
+++ b/mysql-test/t/alter_table.test
@@ -1258,7 +1258,7 @@ CREATE TABLE t1 (
id INT(11) NOT NULL,
x_param INT(11) DEFAULT NULL,
PRIMARY KEY (id)
-);
+) ENGINE=MYISAM;
ALTER TABLE t1 ADD COLUMN IF NOT EXISTS id INT,
ADD COLUMN IF NOT EXISTS lol INT AFTER id;
@@ -1277,6 +1277,45 @@ CREATE INDEX IF NOT EXISTS x_param1 ON t1(x_param);
SHOW CREATE TABLE t1;
DROP TABLE t1;
+CREATE TABLE t1 (
+ id INT(11) NOT NULL,
+ x_param INT(11) DEFAULT NULL,
+ PRIMARY KEY (id)
+) ENGINE=INNODB;
+
+CREATE TABLE t2 (
+ id INT(11) NOT NULL) ENGINE=INNODB;
+
+ALTER TABLE t1 ADD COLUMN IF NOT EXISTS id INT,
+ ADD COLUMN IF NOT EXISTS lol INT AFTER id;
+ALTER TABLE t1 ADD COLUMN IF NOT EXISTS lol INT AFTER id;
+ALTER TABLE t1 DROP COLUMN IF EXISTS lol;
+ALTER TABLE t1 DROP COLUMN IF EXISTS lol;
+
+ALTER TABLE t1 ADD KEY IF NOT EXISTS x_param(x_param);
+ALTER TABLE t1 ADD KEY IF NOT EXISTS x_param(x_param);
+ALTER TABLE t1 MODIFY IF EXISTS lol INT;
+
+DROP INDEX IF EXISTS x_param ON t1;
+DROP INDEX IF EXISTS x_param ON t1;
+CREATE INDEX IF NOT EXISTS x_param1 ON t1(x_param);
+CREATE INDEX IF NOT EXISTS x_param1 ON t1(x_param);
+SHOW CREATE TABLE t1;
+
+ALTER TABLE t2 ADD FOREIGN KEY IF NOT EXISTS fk(id) REFERENCES t1(id);
+ALTER TABLE t2 ADD FOREIGN KEY IF NOT EXISTS fk(id) REFERENCES t1(id);
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS fk;
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS fk;
+SHOW CREATE TABLE t2;
+ALTER TABLE t2 ADD FOREIGN KEY (id) REFERENCES t1(id);
+ALTER TABLE t2 ADD FOREIGN KEY IF NOT EXISTS t2_ibfk_1(id) REFERENCES t1(id);
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS t2_ibfk_1;
+ALTER TABLE t2 DROP FOREIGN KEY IF EXISTS t2_ibfk_1;
+SHOW CREATE TABLE t2;
+
+DROP TABLE t2;
+DROP TABLE t1;
+
--echo #
--echo # Bug#11938817 ALTER BEHAVIOR DIFFERENT THEN DOCUMENTED
--echo #
diff --git a/mysql-test/t/auth_rpl.test b/mysql-test/t/auth_rpl.test
index c413a84b53c..0ff024c73e7 100644
--- a/mysql-test/t/auth_rpl.test
+++ b/mysql-test/t/auth_rpl.test
@@ -1,66 +1,66 @@
---source include/have_plugin_auth.inc
---source include/not_embedded.inc
---source include/master-slave.inc
-
-#
-# Check that replication slave can connect to master using an account
-# which authenticates with an external authentication plugin (bug#12897501).
-
-#
-# First stop the slave to guarantee that nothing is replicated.
-#
---connection slave
---echo [connection slave]
---source include/stop_slave.inc
-#
-# Create an replication account on the master.
-#
---connection master
---echo [connection master]
-CREATE USER 'plug_user' IDENTIFIED WITH 'test_plugin_server' AS 'plug_user';
-GRANT REPLICATION SLAVE ON *.* TO plug_user;
-FLUSH PRIVILEGES;
-
-#
-# Now go to slave and change the replication user.
-#
---connection slave
---echo [connection slave]
---let $master_user= query_get_value(SHOW SLAVE STATUS, Master_User, 1)
-CHANGE MASTER TO
- MASTER_USER= 'plug_user',
- MASTER_PASSWORD= 'plug_user';
-
-#
-# Start slave with new replication account - this should trigger connection
-# to the master server.
-#
---source include/start_slave.inc
-
-# Replicate all statements executed on master, in this case,
-# (creation of the plug_user account).
-#
---connection master
---sync_slave_with_master
---echo # Slave in-sync with master now.
-
-SELECT user, plugin, authentication_string FROM mysql.user WHERE user LIKE 'plug_user';
-
-#
-# Now we can stop the slave and clean up.
-#
-# Note: it is important that slave is stopped at this
-# moment - otherwise master's cleanup statements
-# would be replicated on slave!
-#
---echo # Cleanup (on slave).
---source include/stop_slave.inc
-eval CHANGE MASTER TO MASTER_USER='$master_user';
-DROP USER 'plug_user';
-
---echo # Cleanup (on master).
---connection master
-DROP USER 'plug_user';
-
---let $rpl_only_running_threads= 1
---source include/rpl_end.inc
+--source include/have_plugin_auth.inc
+--source include/not_embedded.inc
+--source include/master-slave.inc
+
+#
+# Check that replication slave can connect to master using an account
+# which authenticates with an external authentication plugin (bug#12897501).
+
+#
+# First stop the slave to guarantee that nothing is replicated.
+#
+--connection slave
+--echo [connection slave]
+--source include/stop_slave.inc
+#
+# Create an replication account on the master.
+#
+--connection master
+--echo [connection master]
+CREATE USER 'plug_user' IDENTIFIED WITH 'test_plugin_server' AS 'plug_user';
+GRANT REPLICATION SLAVE ON *.* TO plug_user;
+FLUSH PRIVILEGES;
+
+#
+# Now go to slave and change the replication user.
+#
+--connection slave
+--echo [connection slave]
+--let $master_user= query_get_value(SHOW SLAVE STATUS, Master_User, 1)
+CHANGE MASTER TO
+ MASTER_USER= 'plug_user',
+ MASTER_PASSWORD= 'plug_user';
+
+#
+# Start slave with new replication account - this should trigger connection
+# to the master server.
+#
+--source include/start_slave.inc
+
+# Replicate all statements executed on master, in this case,
+# (creation of the plug_user account).
+#
+--connection master
+--sync_slave_with_master
+--echo # Slave in-sync with master now.
+
+SELECT user, plugin, authentication_string FROM mysql.user WHERE user LIKE 'plug_user';
+
+#
+# Now we can stop the slave and clean up.
+#
+# Note: it is important that slave is stopped at this
+# moment - otherwise master's cleanup statements
+# would be replicated on slave!
+#
+--echo # Cleanup (on slave).
+--source include/stop_slave.inc
+eval CHANGE MASTER TO MASTER_USER='$master_user';
+DROP USER 'plug_user';
+
+--echo # Cleanup (on master).
+--connection master
+DROP USER 'plug_user';
+
+--let $rpl_only_running_threads= 1
+--source include/rpl_end.inc
diff --git a/mysql-test/t/blackhole.test b/mysql-test/t/blackhole.test
index 1451f7606e0..32d7d70200a 100644
--- a/mysql-test/t/blackhole.test
+++ b/mysql-test/t/blackhole.test
@@ -19,3 +19,12 @@ DROP TABLE t1, t2;
--echo End of 5.5 tests
+--echo #
+--echo # Bug#13948247 DIVISION BY 0 IN GET_BEST_DISJUNCT_QUICK WITH FORCE INDEX GROUP BY
+--echo #
+
+CREATE TABLE t1(a INT, b INT, c INT, KEY(c), UNIQUE(a)) ENGINE = BLACKHOLE;
+SELECT 0 FROM t1 FORCE INDEX FOR GROUP BY(a) WHERE a = 0 OR b = 0 AND c = 0;
+DROP TABLE t1;
+
+--echo End of 5.6 tests
diff --git a/mysql-test/t/cast.test b/mysql-test/t/cast.test
index 008610569e2..b6c37cacd8a 100644
--- a/mysql-test/t/cast.test
+++ b/mysql-test/t/cast.test
@@ -2,6 +2,9 @@
# Test of cast function
#
+# For TIME->DATETIME conversion
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
+
select CAST(1-2 AS UNSIGNED);
select CAST(CAST(1-2 AS UNSIGNED) AS SIGNED INTEGER);
select CAST('10 ' as unsigned integer);
diff --git a/mysql-test/t/comment_column.test b/mysql-test/t/comment_column.test
index 90976d143b5..de1c9b8ce47 100644
--- a/mysql-test/t/comment_column.test
+++ b/mysql-test/t/comment_column.test
@@ -125,6 +125,8 @@ ALTER TABLE t1_toupg ADD c3 TIMESTAMP COMMENT 'abcdefghijabcdefghijabcdefghijabc
ALTER TABLE t1_toupg ADD INDEX i1(c1) COMMENT '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234';
# Add index with comment using CREATE INDEX
CREATE INDEX i2 ON t1_toupg(c2) COMMENT '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234';
+# Alter the existing table, replace all columns, change comment
+ALTER TABLE t1_toupg drop column c1, drop column c2, drop column c3, add column c4 int, COMMENT='012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012301234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234';
drop table t1_toupg;
diff --git a/mysql-test/t/comments.test b/mysql-test/t/comments.test
index ce4f4d50675..6cf69635d1e 100644
--- a/mysql-test/t/comments.test
+++ b/mysql-test/t/comments.test
@@ -27,6 +27,8 @@ select 1 # The rest of the row will be ignored
select 1 /*M! +1 */;
select 1 /*M!50000 +1 */;
select 1 /*M!50300 +1 */;
+select 2 /*M!99999 +1 */;
+select 2 /*M!100000 +1 */;
select 2 /*M!999999 +1 */;
--error ER_PARSE_ERROR
select 2 /*M!0000 +1 */;
diff --git a/mysql-test/t/create-big.test b/mysql-test/t/create-big.test
index 8d916f8da82..7f20a8b42af 100644
--- a/mysql-test/t/create-big.test
+++ b/mysql-test/t/create-big.test
@@ -420,9 +420,20 @@ set @a:=0;
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
--send create table if not exists t1 select 1 as i;
connection addconroot1;
-create trigger t1_bi before insert on t1 for each row set @a:=1;
+set debug_sync='now WAIT_FOR parked';
+--send create trigger t1_bi before insert on t1 for each row set @a:=1;
+connection addconroot2;
+# Wait until the above DROP TABLE is blocked due to CREATE TABLE
+let $wait_condition=
+ select count(*) = 1 from information_schema.processlist
+ where state = "Waiting for table metadata lock" and
+ info like "create trigger%";
+--source include/wait_condition.inc
+set debug_sync='now SIGNAL go';
connection default;
--reap
+connection addconroot1;
+--reap
connection default;
select @a;
select * from t1;
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index ebcad5f4af4..8bb7339ce83 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -2014,6 +2014,8 @@ create table t1 (a int, b int);
create table t1 (a int, b int) select 2,2;
--error ER_TABLE_EXISTS_ERROR
create table t1 like t2;
+--error ER_LOCK_WAIT_TIMEOUT
+create or replace table t1 (a int, b int) select 2,2;
disconnect user1;
connection default;
select * from t1;
diff --git a/mysql-test/t/create_or_replace-master.opt b/mysql-test/t/create_or_replace-master.opt
new file mode 100644
index 00000000000..e94228f2f33
--- /dev/null
+++ b/mysql-test/t/create_or_replace-master.opt
@@ -0,0 +1 @@
+--log-output=TABLE,FILE --general-log=1 --slow-query-log=1
diff --git a/mysql-test/t/create_or_replace.test b/mysql-test/t/create_or_replace.test
new file mode 100644
index 00000000000..384768a87d5
--- /dev/null
+++ b/mysql-test/t/create_or_replace.test
@@ -0,0 +1,338 @@
+#
+# Check CREATE OR REPLACE TABLE
+#
+
+--source include/have_innodb.inc
+--source include/have_metadata_lock_info.inc
+--disable_warnings
+drop table if exists t1,t2,t3;
+--enable_warnings
+
+#
+# Create help table
+#
+
+CREATE TABLE t2 (a int);
+INSERT INTO t2 VALUES(1),(2),(3);
+
+--echo #
+--echo # Check first syntax and wrong usage
+--echo #
+
+--error ER_WRONG_USAGE
+CREATE OR REPLACE TABLE IF NOT EXISTS t1 (a int);
+--error ER_WRONG_USAGE
+create or replace trigger trg before insert on t1 for each row set @a:=1;
+
+# check that we don't try to create a log table in use
+--error ER_BAD_LOG_STATEMENT
+create or replace table mysql.general_log (a int);
+--error ER_BAD_LOG_STATEMENT
+create or replace table mysql.slow_log (a int);
+
+--echo #
+--echo # Usage when table doesn't exist
+--echo #
+
+CREATE OR REPLACE TABLE t1 (a int);
+--error ER_TABLE_EXISTS_ERROR
+CREATE TABLE t1 (a int);
+DROP TABLE t1;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int);
+--error ER_TABLE_EXISTS_ERROR
+CREATE TEMPORARY TABLE t1 (a int, b int, c int);
+DROP TEMPORARY TABLE t1;
+
+--echo #
+--echo # Testing with temporary tables
+--echo #
+
+CREATE OR REPLACE TABLE t1 (a int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int);
+SHOW CREATE TABLE t1;
+DROP TEMPORARY TABLE t1;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
+# Test also with InnoDB
+create temporary table t1 (i int) engine=InnoDB;
+create or replace temporary table t1 (a int, b int) engine=InnoDB;
+create or replace temporary table t1 (j int);
+show create table t1;
+drop table t1;
+
+# Using lock tables on normal tables with create or replace on temp tables
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int);
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int) engine= innodb;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int) engine= innodb;
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int) engine=myisam;
+SHOW CREATE TABLE t1;
+DROP TEMPORARY TABLE t1;
+SHOW CREATE TABLE t1;
+# Verify that table is still locked
+--error ER_TABLE_NOT_LOCKED
+CREATE OR REPLACE TABLE t2 (a int);
+DROP TABLE t1;
+UNLOCK TABLES;
+
+#
+# Using CREATE SELECT
+#
+
+CREATE OR REPLACE TEMPORARY TABLE t1 (a int) SELECT * from t2;
+SELECT * FROM t1;
+CREATE OR REPLACE TEMPORARY TABLE t1 (b int) SELECT * from t2;
+SELECT * FROM t1;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+CREATE TEMPORARY TABLE t1 AS SELECT a FROM t2;
+CREATE TEMPORARY TABLE IF NOT EXISTS t1(a int, b int) SELECT 1,2 FROM t2;
+DROP TABLE t1;
+
+CREATE TABLE t1 (a int);
+CREATE OR REPLACE TABLE t1 AS SELECT 1;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
+create table t1 (a int);
+--error ER_UPDATE_TABLE_USED
+create or replace table t1 as select * from t1;
+--error ER_UPDATE_TABLE_USED
+create or replace table t1 as select a from (select a from t1) as t3;
+--error ER_UPDATE_TABLE_USED
+create or replace table t1 as select a from t2 where t2.a in (select a from t1);
+drop table t1;
+
+--echo #
+--echo # Testing with normal tables
+--echo #
+
+CREATE OR REPLACE TABLE t1 (a int);
+CREATE OR REPLACE TABLE t1 (a int, b int);
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
+CREATE TABLE t1 (a int) SELECT * from t2;
+SELECT * FROM t1;
+TRUNCATE TABLE t1;
+CREATE TABLE IF NOT EXISTS t1 (a int) SELECT * from t2;
+SELECT * FROM t1;
+DROP TABLE t1;
+
+CREATE TABLE t1 (i int);
+CREATE OR REPLACE TABLE t1 AS SELECT 1;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
+# Using lock tables with CREATE OR REPLACE
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write,t2 write;
+CREATE OR REPLACE TABLE t1 (a int, b int);
+# Verify if table is still locked
+SELECT * FROM t1;
+INSERT INTO t1 values(1,1);
+CREATE OR REPLACE TABLE t1 (a int, b int, c int);
+INSERT INTO t1 values(1,1,1);
+--error ER_TABLE_NOT_LOCKED
+CREATE OR REPLACE TABLE t3 (a int);
+UNLOCK TABLES;
+DROP TABLE t1;
+
+# Using lock tables with CREATE OR REPLACE ... SELECT
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write,t2 write;
+CREATE OR REPLACE TABLE t1 (a int, b int) select a,1 from t2;
+# Verify if table is still locked
+SELECT * FROM t2;
+SELECT * FROM t1;
+SELECT * FROM t1;
+INSERT INTO t1 values(1,1,1);
+CREATE OR REPLACE TABLE t1 (a int, b int, c int, d int);
+INSERT INTO t1 values(1,1,1,1);
+--error ER_TABLE_NOT_LOCKED
+CREATE OR REPLACE TABLE t3 (a int);
+UNLOCK TABLES;
+DROP TABLE t1;
+
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLES t1 write,t2 write, t1 as t1_read read;
+CREATE OR REPLACE TABLE t1 (a int, b int) select a,1 from t2;
+SELECT * FROM t1;
+SELECT * FROM t2;
+--error ER_TABLE_NOT_LOCKED
+SELECT * FROM t1 as t1_read;
+DROP TABLE t1;
+UNLOCK TABLES;
+
+CREATE OR REPLACE TABLE t1 (a int);
+LOCK TABLE t1 WRITE;
+CREATE OR REPLACE TABLE t1 AS SELECT 1;
+SELECT * from t1;
+--error ER_TABLE_NOT_LOCKED
+SELECT * from t2;
+DROP TABLE t1;
+
+--echo #
+--echo # Test also with InnoDB (transactional engine)
+--echo #
+
+create table t1 (i int) engine=innodb;
+lock table t1 write;
+create or replace table t1 (j int);
+unlock tables;
+show create table t1;
+drop table t1;
+
+create table t1 (i int) engine=InnoDB;
+lock table t1 write, t2 write;
+create or replace table t1 (j int) engine=innodb;
+unlock tables;
+drop table t1;
+
+create table t1 (i int) engine=InnoDB;
+create table t3 (i int) engine=InnoDB;
+insert into t3 values(1),(2),(3);
+create table t4 (i int) engine=InnoDB;
+insert into t4 values(1);
+lock table t1 write, t2 write, t3 write, t4 write;
+create or replace table t1 (a int, i int) engine=innodb select t2.a,t3.i from t2,t3;
+select * from t4;
+unlock tables;
+select * from t1 order by a,i;
+drop table t1,t3,t4;
+
+--echo #
+--echo # Test the meta data locks are freed properly
+--echo #
+
+create database mysqltest2;
+
+drop table if exists test.t1,mysqltest2.t2;
+create table test.t1 (i int);
+create table mysqltest2.t2 like test.t1;
+lock table test.t1 write, mysqltest2.t2 write;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+--error ER_TABLE_MUST_HAVE_COLUMNS
+create or replace table test.t1;
+show tables;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+--error ER_TABLE_MUST_HAVE_COLUMNS
+create or replace table mysqltest2.t2;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+create table t1 (i int);
+drop table t1;
+
+create table test.t1 (i int);
+create table mysqltest2.t2 like test.t1;
+lock table test.t1 write, mysqltest2.t2 write;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+--error ER_DUP_FIELDNAME
+create or replace table test.t1 (a int) select 1 as 'a', 2 as 'a';
+show tables;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+--error ER_DUP_FIELDNAME
+create or replace table mysqltest2.t2 (a int) select 1 as 'a', 2 as 'a';
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+create table t1 (i int);
+drop table t1;
+drop database mysqltest2;
+
+--echo #
+--echo # Testing CREATE .. LIKE
+--echo #
+
+create or replace table t1 like t2;
+create or replace table t1 like t2;
+show create table t1;
+drop table t1;
+create table t1 (b int);
+lock tables t1 write, t2 read;
+create or replace table t1 like t2;
+SELECT * FROM t1;
+INSERT INTO t1 values(1);
+CREATE OR REPLACE TABLE t1 like t2;
+INSERT INTO t1 values(2);
+unlock tables;
+show create table t1;
+drop table t1;
+
+create or replace table t1 like t2;
+--error ER_NONUNIQ_TABLE
+create or replace table t1 like t1;
+drop table t1;
+
+CREATE TEMPORARY TABLE t1 like t2;
+--error ER_NONUNIQ_TABLE
+CREATE OR REPLACE TABLE t1 like t1;
+--error ER_NONUNIQ_TABLE
+CREATE OR REPLACE TABLE t1 like t1;
+drop table t1;
+
+CREATE TEMPORARY TABLE t1 like t2;
+CREATE OR REPLACE TEMPORARY TABLE t3 like t1;
+--error ER_NONUNIQ_TABLE
+CREATE OR REPLACE TEMPORARY TABLE t3 like t3;
+drop table t1,t3;
+
+--echo #
+--echo # Test with prepared statements
+--echo #
+
+prepare stmt1 from 'create or replace table t1 select * from t2';
+execute stmt1;
+select * from t1;
+execute stmt1;
+select * from t1;
+drop table t1;
+execute stmt1;
+select * from t1;
+deallocate prepare stmt1;
+drop table t1;
+
+--echo #
+--echo # Test with views
+--echo #
+
+create view t1 as select 1;
+create table if not exists t1 (a int);
+--error ER_IT_IS_A_VIEW
+create or replace table t1 (a int);
+--error ER_IT_IS_A_VIEW
+drop table t1;
+drop view t1;
+
+--echo #
+--echo # MDEV-5602 CREATE OR REPLACE obtains stricter locks than the
+--echo # connection had before
+--echo #
+
+create table t1 (a int);
+lock table t1 write, t2 read;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+create or replace table t1 (i int);
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+create or replace table t1 like t2;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+create or replace table t1 select 1 as f1;
+--replace_column 1 #
+select * from information_schema.metadata_lock_info;
+drop table t1;
+unlock tables;
+
+#
+# Cleanup
+#
+DROP TABLE t2;
diff --git a/mysql-test/t/create_or_replace2.test b/mysql-test/t/create_or_replace2.test
new file mode 100644
index 00000000000..be1bd9a3d81
--- /dev/null
+++ b/mysql-test/t/create_or_replace2.test
@@ -0,0 +1,35 @@
+#
+# Check CREATE OR REPLACE TABLE for test that requires DEBUG
+#
+
+--source include/have_debug.inc
+--source include/master-slave.inc
+--source include/have_binlog_format_row.inc
+--source include/have_xtradb.inc
+
+--disable_warnings
+drop table if exists t1;
+--enable_warnings
+SET @old_debug= @@session.debug;
+
+#
+# MDEV-5854
+# Interrupted CREATE OR REPLACE is written into binlog, and in a wrong format
+#
+
+CREATE TABLE t1 (i INT, KEY(i)) ENGINE=InnoDB;
+CREATE OR REPLACE TEMPORARY TABLE tmp (a int, b int, key(a)) engine=myisam;
+set debug_dbug='+d,send_kill_after_delete';
+CREATE OR REPLACE TABLE t1 LIKE tmp;
+set debug_dbug=@old_debug;
+SHOW TABLES;
+show create table t1;
+--sync_slave_with_master
+SHOW TABLES;
+--connection master
+
+--disable_warnings
+drop temporary table if exists tmp;
+--enable_warnings
+drop table t1;
+--source include/rpl_end.inc
diff --git a/mysql-test/t/derived_view.test b/mysql-test/t/derived_view.test
index 61e11cebad4..de08b1c4d0d 100644
--- a/mysql-test/t/derived_view.test
+++ b/mysql-test/t/derived_view.test
@@ -1704,6 +1704,33 @@ ORDER BY gallery_name ASC
drop table galleries, pictures;
--echo #
+--echo # MDEV-5740: Assertion
+--echo #`!derived->first_select()->exclude_from_table_unique_test ||
+--echo #derived->outer_select()-> exclude_from_table_unique_test'
+--echo #failed on 2nd execution of PS with derived_merge
+--echo #
+
+set @save_optimizer_switch5740=@@optimizer_switch;
+SET optimizer_switch = 'derived_merge=on';
+
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
+
+PREPARE stmt FROM '
+ INSERT INTO t1 SELECT * FROM t2 UNION SELECT * FROM (SELECT * FROM t1) AS sq
+';
+EXECUTE stmt;
+select * from t1;
+EXECUTE stmt;
+select * from t1;
+deallocate prepare stmt;
+
+drop table t1,t2;
+set optimizer_switch=@save_optimizer_switch5740;
+
+--echo #
--echo # end of 5.3 tests
--echo #
diff --git a/mysql-test/t/distinct.test b/mysql-test/t/distinct.test
index 71643a25c5a..952609be7e0 100644
--- a/mysql-test/t/distinct.test
+++ b/mysql-test/t/distinct.test
@@ -750,4 +750,42 @@ INSERT INTO t1 VALUES (1111, 2222), (3333, 4444);
SELECT DISTINCT CONCAT(a,b) AS c FROM t1 ORDER BY 1;
DROP TABLE t1;
+--echo #
+--echo # Bug#16539979 BASIC SELECT COUNT(DISTINCT ID) IS BROKEN.
+--echo # Bug#17867117 ERROR RESULT WHEN "COUNT + DISTINCT + CASE WHEN" NEED MERGE_WALK
+--echo #
+
+SET @tmp_table_size_save= @@tmp_table_size;
+SET @@tmp_table_size= 1024;
+
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
+INSERT INTO t1 SELECT a+8 FROM t1;
+INSERT INTO t1 SELECT a+16 FROM t1;
+INSERT INTO t1 SELECT a+32 FROM t1;
+INSERT INTO t1 SELECT a+64 FROM t1;
+INSERT INTO t1 VALUE(NULL);
+SELECT COUNT(DISTINCT a) FROM t1;
+SELECT COUNT(DISTINCT (a+0)) FROM t1;
+DROP TABLE t1;
+
+create table tb(
+id int auto_increment primary key,
+v varchar(32))
+engine=myisam charset=gbk;
+insert into tb(v) values("aaa");
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+insert into tb(v) (select v from tb);
+
+update tb set v=concat(v, id);
+select count(distinct case when id<=64 then id end) from tb;
+select count(distinct case when id<=63 then id end) from tb;
+drop table tb;
+
+SET @@tmp_table_size= @tmp_table_size_save;
+
--echo End of 5.5 tests
diff --git a/mysql-test/t/drop.test b/mysql-test/t/drop.test
index 2cd87b1d980..d9784bc819a 100644
--- a/mysql-test/t/drop.test
+++ b/mysql-test/t/drop.test
@@ -276,3 +276,40 @@ DROP TABLE t1, t1;
UNLOCK TABLES;
DROP TABLE t1;
+
+--echo #
+--echo # BUG#34750: Print database name in Unknown Table error message
+--echo #
+
+--echo
+--echo # Test error message when droping table/view
+
+--error ER_BAD_TABLE_ERROR
+DROP TABLE table1;
+--error ER_BAD_TABLE_ERROR
+DROP TABLE table1,table2;
+--error ER_BAD_TABLE_ERROR
+DROP VIEW view1,view2,view3,view4;
+--echo
+DROP TABLE IF EXISTS table1;
+DROP TABLE IF EXISTS table1,table2;
+DROP VIEW IF EXISTS view1,view2,view3,view4;
+
+--echo
+--echo # Test error message when trigger does not find table
+
+CREATE TABLE table1(a int);
+CREATE TABLE table2(b int);
+
+# Database name is only available (for printing) if specified in
+# the trigger definition
+CREATE TRIGGER trg1 AFTER INSERT ON table1
+FOR EACH ROW
+ INSERT INTO table2 SELECT t.notable.*;
+
+--error ER_BAD_TABLE_ERROR
+INSERT INTO table1 VALUES (1);
+
+DROP TABLE table1,table2;
+
+--echo # End BUG#34750
diff --git a/mysql-test/t/dyncol.test b/mysql-test/t/dyncol.test
index 4fba43b2cce..626309330b7 100644
--- a/mysql-test/t/dyncol.test
+++ b/mysql-test/t/dyncol.test
@@ -248,8 +248,10 @@ select column_get(column_create(1, "20010203"), 1 as datetime);
select column_get(column_create(1, 0), 1 as datetime);
select column_get(column_create(1, "2001021"), 1 as datetime);
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
select column_get(column_create(1, "8:46:06.23434" AS time), 1 as datetime);
select column_get(column_create(1, "-808:46:06.23434" AS time), 1 as datetime);
+SET timestamp=DEFAULT;
set @@sql_mode="allow_invalid_dates";
select column_get(column_create(1, "2011-02-30 18:46:06.23434" AS CHAR), 1 as datetime);
@@ -818,3 +820,17 @@ INSERT INTO t1 SET dyncol = COLUMN_CREATE( 3, REPEAT('a',330), 4, 'x' );
SELECT COLUMN_ADD( COLUMN_ADD( dyncol, 1, REPEAT('b',130) ), 3, 'y' ) FROM t1;
DROP TABLE t1;
+
+--echo #
+--echo #MDEV-5840: group_concat( column_json(dynamic_column )) return empty
+--echo #result
+--echo #
+create table t1 (dyn blob);
+insert into t1 values (column_create('name1','value1','name2','value2'));
+select group_concat(cast(column_json(dyn) as char)) from t1;
+
+drop table t1;
+
+--echo #
+--echo # end of 10.0 tests
+--echo #
diff --git a/mysql-test/t/error_simulation.test b/mysql-test/t/error_simulation.test
index ea7dd12fb9e..58ead1e3ced 100644
--- a/mysql-test/t/error_simulation.test
+++ b/mysql-test/t/error_simulation.test
@@ -103,7 +103,7 @@ CREATE TABLE t2(f1 INT);
INSERT INTO t1 VALUES (1),(2);
INSERT INTO t2 VALUES (1),(2);
SET SESSION debug_dbug="+d,bug11747970_raise_error";
---error 1105
+--error ER_QUERY_INTERRUPTED
INSERT IGNORE INTO t2 SELECT f1 FROM t1 a WHERE NOT EXISTS (SELECT 1 FROM t2 b WHERE a.f1 = b.f1);
SET SESSION debug_dbug = DEFAULT;
DROP TABLE t1,t2;
diff --git a/mysql-test/t/events_trans.test b/mysql-test/t/events_trans.test
index 4cf2583ac96..6d829379fea 100644
--- a/mysql-test/t/events_trans.test
+++ b/mysql-test/t/events_trans.test
@@ -146,3 +146,4 @@ SELECT * FROM t2;
ROLLBACK WORK TO SAVEPOINT A;
DROP TABLE t1, t2;
+DROP EVENT e1;
diff --git a/mysql-test/t/failed_auth_unixsocket.test b/mysql-test/t/failed_auth_unixsocket.test
new file mode 100644
index 00000000000..ba31cf6a59f
--- /dev/null
+++ b/mysql-test/t/failed_auth_unixsocket.test
@@ -0,0 +1,30 @@
+--source include/have_unix_socket.inc
+
+#
+# MDEV-3909 remote user enumeration
+# unix_socket tests
+#
+update mysql.user set plugin='unix_socket';
+flush privileges;
+
+--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT $USER USER
+--error ER_PLUGIN_IS_NOT_LOADED
+connect (fail,localhost,$USER);
+
+--error ER_PLUGIN_IS_NOT_LOADED
+change_user $USER;
+
+eval install plugin unix_socket soname '$AUTH_SOCKET_SO';
+
+--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT $USER USER
+--error ER_ACCESS_DENIED_NO_PASSWORD_ERROR
+connect (fail,localhost,$USER);
+
+--replace_result $USER USER
+--error ER_ACCESS_DENIED_NO_PASSWORD_ERROR
+change_user $USER;
+
+update mysql.user set plugin='';
+flush privileges;
+uninstall plugin unix_socket;
+
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test
index 207f3a436d0..eaed0c88fe1 100644
--- a/mysql-test/t/func_compress.test
+++ b/mysql-test/t/func_compress.test
@@ -115,3 +115,24 @@ DROP TABLE t1;
set @@global.max_allowed_packet=default;
--enable_result_log
--enable_query_log
+
+
+--echo #
+--echo # Start of 5.3 tests
+--echo #
+
+--echo #
+--echo # MDEV-5783 Assertion `0' failed in make_sortkey(SORTPARAM*, uchar*, uchar*) on ORDER BY HEX(UNCOMPRESSED_LENGTH(pk))
+--echo #
+CREATE TABLE t1 (pk INT PRIMARY KEY);
+INSERT INTO t1 VALUES (1),(2);
+SELECT UNCOMPRESSED_LENGTH(pk) FROM t1;
+# ORDER is not strict, so disable results
+--disable_result_log
+SELECT * FROM t1 ORDER BY HEX(UNCOMPRESSED_LENGTH(pk));
+--enable_result_log
+DROP TABLE t1;
+
+--echo #
+--echo # End of 5.3 tests
+--echo #
diff --git a/mysql-test/t/func_gconcat.test b/mysql-test/t/func_gconcat.test
index 936b93b49c9..7643676ea61 100644
--- a/mysql-test/t/func_gconcat.test
+++ b/mysql-test/t/func_gconcat.test
@@ -49,9 +49,9 @@ select grp,group_concat(c order by grp desc) from t1 group by grp order by grp;
# Test transfer to real values
-select grp, group_concat(a separator "")+0 from t1 group by grp;
-select grp, group_concat(a separator "")+0.0 from t1 group by grp;
-select grp, ROUND(group_concat(a separator "")) from t1 group by grp;
+select grp, group_concat(a separator "")+0 from t1 group by grp;
+select grp, group_concat(a separator "")+0.0 from t1 group by grp;
+select grp, ROUND(group_concat(a separator "")) from t1 group by grp;
drop table t1;
# Test NULL values
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test
index cf5f00c3ee1..363f089e8d7 100644
--- a/mysql-test/t/func_group.test
+++ b/mysql-test/t/func_group.test
@@ -981,10 +981,13 @@ DROP TABLE D;
#
# Bug #39656: Behaviour different for agg functions with & without where -
# ONLY_FULL_GROUP_BY
+# MDEV-5617 mysqld crashes when running a query with ONLY_FULL_GROUP_BY
#
CREATE TABLE t1 (a INT, b INT);
INSERT INTO t1 VALUES (1,1), (1,2), (1,3);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
SET SQL_MODE='ONLY_FULL_GROUP_BY';
@@ -1000,11 +1003,18 @@ SELECT COUNT(*) FROM t1 a JOIN t1 b ON a.a= b.a;
SELECT COUNT(*), (SELECT count(*) FROM t1 inr WHERE inr.a = outr.a)
FROM t1 outr;
+--error ER_MIX_OF_GROUP_FUNC_AND_FIELDS
+SELECT COUNT(*) FROM t1 outr, (SELECT b, count(*) FROM t2) as t3;
+
+SELECT COUNT(*) FROM t1 outr where (1,1) in (SELECT a, count(*) FROM t2);
+
SELECT COUNT(*) FROM t1 a JOIN t1 outr
ON a.a= (SELECT count(*) FROM t1 inr WHERE inr.a = outr.a);
+SELECT * FROM (SELECT a FROM t1 GROUP BY a) sq JOIN t2 ON a = b;
+
SET SQL_MODE=default;
-DROP TABLE t1;
+DROP TABLE t1,t2;
###
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index b843cf8c364..2998742dbcc 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -539,6 +539,15 @@ SELECT 1 div null;
select (1.175494351E-37 div 1.7976931348623157E+308);
--echo #
+--echo # Bug#12744991 - DECIMAL_ROUND(X,D) GIVES WRONG RESULTS WHEN D == N*(-9)
+--echo #
+
+select round(999999999, -9);
+select round(999999999.0, -9);
+select round(999999999999999999, -18);
+select round(999999999999999999.0, -18);
+
+--echo #
--echo # Bug#12537160 ASSERTION FAILED:
--echo # STOP0 <= &TO->BUF[TO->LEN] WITH LARGE NUMBER.
--echo #
@@ -559,3 +568,21 @@ select 5.0 div 2.0;
select 5.0 div 2;
select 5 div 2.0;
select 5.9 div 2, 1.23456789e3 DIV 2, 1.23456789e9 DIV 2, 1.23456789e19 DIV 2;
+
+--echo #
+--echo # End of 5.5 tests
+--echo #
+
+--echo #
+--echo # Start of 10.0 tests
+--echo #
+
+--echo #
+--echo # MDEV-5781 Item_sum_std::val_real(): Assertion `nr >= 0.0' fails on query with STDDEV_POP, ROUND and variable
+--echo #
+SELECT STDDEV_POP(ROUND(0,@A:=2009)) FROM (SELECT 1 UNION SELECT 2) fake_table;
+
+
+--echo #
+--echo # End of 10.0 tests
+--echo #
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index 22ebb6248e2..44fd0b274e8 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -298,8 +298,32 @@ DROP TABLE t1;
SELECT INET_NTOA(0);
SELECT '1' IN ('1', INET_NTOA(0));
+#
+# MDEV-5655 Server crashes on NAME_CONST containing AND/OR expressions
+#
+--error ER_WRONG_ARGUMENTS
+SELECT NAME_CONST('a', -(1 OR 2)) OR 1;
+--error ER_WRONG_ARGUMENTS
+SELECT NAME_CONST('a', -(1 AND 2)) AND 1;
+SELECT NAME_CONST('a', -(1)) OR 1;
--echo #
+--echo #MDEV-5446: Assertion `!table || (!table->read_set ||
+--echo #bitmap_is_set(table->read_set, field_index))' fails on
+--echo #EXPLAIN EXTENDED with VALUES function
+--echo #
+CREATE TABLE t1 (a INT, b INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,10);
+CREATE VIEW v1 AS SELECT * FROM t1;
+
+EXPLAIN EXTENDED SELECT VALUES(b) FROM v1;
+
+drop view v1;
+drop table t1;
+
+--echo End of 5.3 tests
+
+--echo #
--echo # Bug #52165: Assertion failed: file .\dtoa.c, line 465
--echo #
@@ -548,7 +572,3 @@ select release_lock(repeat('a', 193));
--echo #
--echo # End of 5.5 tests
--echo #
-
---echo #
---echo # End of tests
---echo #
diff --git a/mysql-test/t/func_regexp.test b/mysql-test/t/func_regexp.test
index 638e0bf08ee..d0ab0cc9044 100644
--- a/mysql-test/t/func_regexp.test
+++ b/mysql-test/t/func_regexp.test
@@ -92,3 +92,15 @@ DROP TABLE t1;
--echo End of 5.1 tests
+
+#
+# MDEV-5820 MySQL Bug #54805 definitions in regex/my_regex.h conflict with /usr/include/regex.h
+# Bug #55427 REGEXP does not recognize '\t' as [:blank:]
+#
+# Test that \t is indeed recognized as [[:blank:]]
+#
+SELECT ' ' REGEXP '[[:blank:]]';
+SELECT '\t' REGEXP '[[:blank:]]';
+
+SELECT ' ' REGEXP '[[:space:]]';
+SELECT '\t' REGEXP '[[:space:]]';
diff --git a/mysql-test/t/func_time.test b/mysql-test/t/func_time.test
index ee5292a5ba8..9270b30c042 100644
--- a/mysql-test/t/func_time.test
+++ b/mysql-test/t/func_time.test
@@ -1103,7 +1103,9 @@ drop table t1;
#
# lp:731815 Crash/valgrind warning Item::send with 5.1-micro
#
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
select convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow');
+SET timestamp=DEFAULT;
#
# lp:736370 Datetime functions in subquery context cause wrong result and bogus warnings in mysql-5.1-micr
@@ -1425,12 +1427,14 @@ SHOW COLUMNS FROM t1;
SELECT * FROM t1;
DROP TABLE t1;
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
CREATE TABLE t1 AS SELECT
TIMESTAMP('00:00:00','10:10:10'),
TIMESTAMP(TIME('00:00:00'),'10:10:10');
SHOW COLUMNS FROM t1;
SELECT * FROM t1;
DROP TABLE t1;
+SET timestamp=DEFAULT;
--echo #
--echo # MDEV-4869 Wrong result of MAKETIME(0, 0, -0.1)
@@ -1440,6 +1444,7 @@ SELECT MAKETIME(0, 0, -0.1);
--echo #
--echo # MDEV-4857 Wrong result of HOUR('1 00:00:00')
--echo #
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT HOUR('1 02:00:00'), HOUR('26:00:00');
SELECT HOUR(TIME'1 02:00:00'), HOUR(TIME'26:00:00');
SELECT HOUR(TIME('1 02:00:00')), HOUR(TIME('26:00:00'));
@@ -1449,6 +1454,7 @@ SELECT EXTRACT(HOUR FROM '1 02:00:00'), EXTRACT(HOUR FROM '26:00:00');
SELECT EXTRACT(HOUR FROM TIME'1 02:00:00'), EXTRACT(HOUR FROM TIME'26:00:00');
SELECT EXTRACT(HOUR FROM TIME('1 02:00:00')), EXTRACT(HOUR FROM TIME('26:00:00'));
SELECT EXTRACT(DAY FROM TIME('1 02:00:00')), EXTRACT(DAY FROM TIME('26:00:00'));
+SET timestamp=DEFAULT;
--echo #
--echo # MDEV-5458 RQG hits 'sql/tztime.cc:799: my_time_t sec_since_epoch(int, int, int, int, int, int): Assertion `mon > 0 && mon < 13' failed.'
@@ -1492,6 +1498,7 @@ SELECT CAST(ADDTIME(COALESCE(a,b),0) AS CHAR) FROM t1;
SELECT CAST(ADDTIME(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR) FROM t1;
DROP TABLE t1;
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
CREATE TABLE t1 (a DATETIME, b TIME);
INSERT INTO t1 VALUES (NULL, '00:20:12');
SELECT IF(1,ADDDATE(IFNULL(a,b),0),1) FROM t1;
@@ -1503,3 +1510,13 @@ SELECT CAST(ADDTIME(IFNULL(a,b),0) AS CHAR) FROM t1;
SELECT CAST(ADDTIME(COALESCE(a,b),0) AS CHAR) FROM t1;
SELECT CAST(ADDTIME(CASE WHEN 0 THEN a ELSE b END,0) AS CHAR) FROM t1;
DROP TABLE t1;
+SET timestamp=DEFAULT;
+
+
+--echo #
+--echo # MDEV-5870 Assertion `ltime->neg == 0' fails with COALESCE, ADDDATE, MAKEDATE
+--echo #
+CREATE TABLE t1 (dt DATETIME);
+INSERT INTO t1 VALUES ('2003-05-13 19:36:05'), ('2012-12-12 09:20:06');
+SELECT COALESCE(ADDDATE(MAKEDATE(2011,121), dt), '2006-09-12' ) FROM t1;
+DROP TABLE t1;
diff --git a/mysql-test/t/gis-precise.test b/mysql-test/t/gis-precise.test
index d021bb0b53d..0c6410b5a75 100644
--- a/mysql-test/t/gis-precise.test
+++ b/mysql-test/t/gis-precise.test
@@ -325,3 +325,6 @@ SELECT ST_NUMPOINTS(ST_EXTERIORRING(ST_BUFFER( POLYGONFROMTEXT( 'POLYGON( ( 0.0
0.0 -3.0
))' ), 3 )));
+# MDEV-5615 crash in Gcalc_function::add_operation
+select astext(buffer(st_linestringfromwkb(linestring(point(-1,1), point(-1,-2))),-1));
+
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test
index c1153d5071d..c38706959e4 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -1434,6 +1434,24 @@ SELECT 1 FROM g1 WHERE a >= ANY
DROP TABLE g1;
--echo #
+--echo # Bug#16451878 GEOMETRY QUERY CRASHES SERVER
+--echo #
+
+--echo # should not crash
+SELECT ASTEXT(0x0100000000030000000100000000000010);
+
+--echo #should not crash
+SELECT ENVELOPE(0x0100000000030000000100000000000010);
+
+--echo #should not crash
+SELECT
+ GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffff0000, 1);
+
+--echo #should not crash
+SELECT
+ GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1);
+
+--echo #
--echo # MDEV-3819 missing constraints for spatial column types
--echo #
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test
index 8c88be5c603..f6422a0aae7 100644
--- a/mysql-test/t/information_schema.test
+++ b/mysql-test/t/information_schema.test
@@ -1816,5 +1816,61 @@ drop database mysqltest;
--echo # End of 5.5 tests
--echo #
+--echo #
+--echo # MDEV-5723: mysqldump -uroot unusable for multi-database operations, checks all databases
+--echo #
+
+--disable_warnings
+drop database if exists db1;
+--enable_warnings
+
+connect (con1,localhost,root,,);
+connection con1;
+
+create database db1;
+use db1;
+create table t1 (a int);
+create table t2 (a int);
+create table t3 (a int);
+
+create database mysqltest;
+use mysqltest;
+create table t1 (a int);
+create table t2 (a int);
+create table t3 (a int);
+
+flush tables;
+flush status;
+
+SELECT
+ LOGFILE_GROUP_NAME, FILE_NAME, TOTAL_EXTENTS, INITIAL_SIZE, ENGINE, EXTRA
+FROM
+ INFORMATION_SCHEMA.FILES
+WHERE
+ FILE_TYPE = 'UNDO LOG' AND FILE_NAME IS NOT NULL AND
+ LOGFILE_GROUP_NAME IN (SELECT DISTINCT LOGFILE_GROUP_NAME
+ FROM INFORMATION_SCHEMA.FILES
+ WHERE
+ FILE_TYPE = 'DATAFILE' AND
+ TABLESPACE_NAME IN (SELECT DISTINCT TABLESPACE_NAME
+ FROM INFORMATION_SCHEMA.PARTITIONS
+ WHERE TABLE_SCHEMA IN ('db1')
+ )
+ )
+GROUP BY
+ LOGFILE_GROUP_NAME, FILE_NAME, ENGINE
+ORDER BY
+ LOGFILE_GROUP_NAME;
+
+--echo # This must have Opened_tables=3, not 6.
+show status like 'Opened_tables';
+
+drop database mysqltest;
+drop database db1;
+
+connection default;
+disconnect con1;
+
# Wait till all disconnects are completed
--source include/wait_until_count_sessions.inc
+
diff --git a/mysql-test/t/join.test b/mysql-test/t/join.test
index 54b2a3c82ea..e07a3665920 100644
--- a/mysql-test/t/join.test
+++ b/mysql-test/t/join.test
@@ -1185,3 +1185,18 @@ SELECT t1.a FROM t1 NATURAL STRAIGHT_JOIN t2 ORDER BY t1.a;
SELECT t1.a FROM t1 NATURAL STRAIGHT_JOIN t2 ORDER BY t1.a;
DROP TABLE t1,t2;
+
+--echo #
+--echo # MDEV-5635: join of a const table with non-const tables
+--echo #
+
+CREATE TABLE t1 (a varchar(3) NOT NULL) ENGINE=MyISAM;
+INSERT INTO t1 VALUES ('foo');
+
+CREATE TABLE t2 (b varchar(3), c varchar(3), INDEX(b)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES ('bar', 'bar'),( 'qux', 'qux');
+
+SELECT STRAIGHT_JOIN * FROM t1, t2 AS t2_1, t2 AS t2_2
+ WHERE t2_2.c = t2_1.c AND t2_2.b = t2_1.b AND ( a IS NULL OR t2_1.c = a );
+
+DROP TABLE t1,t2;
diff --git a/mysql-test/t/key.test b/mysql-test/t/key.test
index 9a4158d8e13..355c5ef53a4 100644
--- a/mysql-test/t/key.test
+++ b/mysql-test/t/key.test
@@ -561,3 +561,23 @@ SELECT 1 as RES FROM t1 AS t1_outer WHERE
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
DROP TABLE t1;
+
+--echo #
+--echo # Bug#18144: Cost with FORCE/USE index seems incorrect in some cases.
+--echo #
+--echo # We are interested in showing that the cost for the last plan is higher
+--echo # than for the preceding two plans.
+--echo #
+CREATE TABLE t1( a INT, b INT, KEY( a ) );
+INSERT INTO t1 values (1, 2), (1, 3), (2, 3), (2, 4), (3, 4), (3, 5);
+
+EXPLAIN SELECT a, SUM( b ) FROM t1 GROUP BY a;
+SHOW STATUS LIKE 'Last_query_cost';
+
+EXPLAIN SELECT a, SUM( b ) FROM t1 USE INDEX( a ) GROUP BY a;
+SHOW STATUS LIKE 'Last_query_cost';
+
+EXPLAIN SELECT a, SUM( b ) FROM t1 FORCE INDEX( a ) GROUP BY a;
+SHOW STATUS LIKE 'Last_query_cost';
+
+DROP TABLE t1;
diff --git a/mysql-test/t/locked_temporary-5955.test b/mysql-test/t/locked_temporary-5955.test
new file mode 100644
index 00000000000..1ade63f4913
--- /dev/null
+++ b/mysql-test/t/locked_temporary-5955.test
@@ -0,0 +1,10 @@
+#
+# MDEV-5955 Server crashes in handler::ha_external_lock or assertion `m_lock_type == 2' fails in handler::ha_close on disconnect with a locked temporary table
+#
+
+--source include/have_innodb.inc
+--connect (con1,localhost,root,,)
+CREATE TEMPORARY TABLE tmp (i INT) ENGINE=InnoDB;
+LOCK TABLES tmp AS p WRITE;
+--disconnect con1
+
diff --git a/mysql-test/t/lowercase_table.test b/mysql-test/t/lowercase_table.test
index 31513f1bd06..c339105aae4 100644
--- a/mysql-test/t/lowercase_table.test
+++ b/mysql-test/t/lowercase_table.test
@@ -105,3 +105,16 @@ drop table Ä°Ä°;
set names latin1;
--echo End of 5.0 tests
+
+#
+# Bug#21317: SHOW CREATE DATABASE does not obey to lower_case_table_names
+#
+create database mysql_TEST character set latin2;
+create table mysql_TEST.T1 (a int);
+show create database mysql_TEST;
+show create table mysql_TEST.T1;
+show databases like "mysql%";
+show databases like "mysql_TE%";
+drop database mysql_TEST;
+
+--echo End of 10.0 tests
diff --git a/mysql-test/t/lowercase_table2.test b/mysql-test/t/lowercase_table2.test
index 30433d15be4..ec495ac4708 100644
--- a/mysql-test/t/lowercase_table2.test
+++ b/mysql-test/t/lowercase_table2.test
@@ -80,6 +80,15 @@ SHOW TABLES LIKE "T1";
SELECT * from T1;
DROP TABLE T1;
+create database mysqltest_UPPERCASE;
+CREATE TABLE mysqltest_UPPERCASE.T1 (a int) engine=innodb;
+CREATE TABLE mysqltest_uppercase.t2 (a int) engine=innodb;
+CREATE TABLE mysqltest_UPPERCASE.t3 (a int) engine=innodb;
+drop table mysqltest_UPPERCASE.T1;
+drop table mysqltest_UPPERCASE.T2;
+drop table mysqltest_uppercase.t3;
+drop database mysqltest_UPPERCASE;
+
#
# Test problem with temporary tables (Bug #2858)
#
@@ -119,6 +128,7 @@ drop table T1;
create database mysqltest_LC2;
use mysqltest_LC2;
create table myUC (i int);
+show tables;
insert into myUC values (1),(2),(3);
select * from myUC;
use test;
@@ -208,13 +218,18 @@ drop table if exists t_bug44738_UPPERCASE;
--enable_warnings
create database mysqltest_UPPERCASE;
use mysqltest_UPPERCASE;
+select database();
create table t_bug44738_UPPERCASE (i int) comment='Old comment';
create table t_bug44738_lowercase (i int) comment='Old comment';
+create table t_bug44738_UPPERCASE2 (i int) comment='Old comment';
+create table t_bug44738_lowercase2 (i int) comment='Old comment';
select table_schema, table_name, table_comment from information_schema.tables
where table_schema like 'mysqltest_%' and table_name like 't_bug44738_%'
order by table_name;
alter table t_bug44738_UPPERCASE comment='New comment';
alter table t_bug44738_lowercase comment='New comment';
+alter table mysqltest_uppercase.t_bug44738_UPPERCASE2 comment='New comment';
+alter table mysqltest_UPPERCASE.t_bug44738_lowercase2 comment='New comment';
--echo # There should be no stale entries in TDC for our tables after the
--echo # above ALTER TABLE statements so new version of comments should be
--echo # returned by the below query to I_S.
@@ -251,9 +266,25 @@ let $MYSQLD_DATADIR= `select @@datadir`;
--echo # Check that still there is an entry for table in TDC.
show open tables like 't_bug44738_%';
--echo # So attempt to create table with the same name should fail.
---error ER_FILE_NOT_FOUND
+--error ER_TABLE_EXISTS_ERROR
create table t_bug44738_UPPERCASE (i int);
--echo # And should succeed after FLUSH TABLES.
flush tables;
create table t_bug44738_UPPERCASE (i int);
drop table t_bug44738_UPPERCASE;
+
+--echo #
+--echo # Bug #21317 SHOW CREATE DATABASE does not obey to
+--echo # lower_case_table_names
+--echo #
+
+create database mysql_TEST;
+create table mysql_TEST.T1(a int);
+show databases like 'mysql%';
+show databases like 'mysql_T%';
+show databases like 'mysql_t%';
+show create database mysql_test;
+show create database mysql_TEST;
+show create table mysql_TEST.T1;
+show create table mysql_test.t1;
+drop database mysql_TEST;
diff --git a/mysql-test/t/lowercase_table4-master.opt b/mysql-test/t/lowercase_table4-master.opt
index c0a1981fa7c..ac4d3211e89 100644
--- a/mysql-test/t/lowercase_table4-master.opt
+++ b/mysql-test/t/lowercase_table4-master.opt
@@ -1 +1 @@
---lower-case-table-names=2
+--lower-case-table-names=2
diff --git a/mysql-test/t/lowercase_table4.test b/mysql-test/t/lowercase_table4.test
index d13b1a16be1..435ff0dae66 100644
--- a/mysql-test/t/lowercase_table4.test
+++ b/mysql-test/t/lowercase_table4.test
@@ -1,108 +1,108 @@
---source include/have_case_insensitive_file_system.inc
---source include/have_innodb.inc
-
---echo #
---echo # Bug#46941 crash with lower_case_table_names=2 and
---echo # foreign data dictionary confusion
---echo #
-
-CREATE DATABASE XY;
-USE XY;
-
-#
-# Logs are disabled, since the number of creates tables
-# and subsequent select statements may vary between
-# versions
-#
---disable_query_log
---disable_result_log
-
-let $tcs = `SELECT @@table_open_cache + 1`;
-
-let $i = $tcs;
-
-while ($i)
-{
- eval CREATE TABLE XY.T_$i (a INT NOT NULL, b INT NOT NULL, c INT NOT NULL, d INT,
- primary key(a, b), unique(b)) ENGINE=InnoDB;
- dec $i;
-}
-
-eval ALTER TABLE XY.T_$tcs ADD INDEX I1 (c, b),
- ADD CONSTRAINT C1 FOREIGN KEY (c, b) REFERENCES XY.T_1 (a, b);
-
-eval ALTER TABLE XY.T_$tcs ADD INDEX I2 (b),
- ADD CONSTRAINT C2 FOREIGN KEY (b) REFERENCES XY.T_1(a);
-
-let $i = $tcs;
-while ($i)
-{
- eval SELECT * FROM XY.T_$i LIMIT 1;
- dec $i;
-}
-
-DROP DATABASE XY;
-CREATE DATABASE XY;
-USE XY;
-eval CREATE TABLE XY.T_$tcs (a INT NOT NULL, b INT NOT NULL, c INT NOT NULL, d INT,
- PRIMARY KEY(a, b), UNIQUE(b)) ENGINE=InnoDB;
-#
-# The bug causes this SELECT to err
-eval SELECT * FROM XY.T_$tcs LIMIT 1;
-
---enable_query_log
---enable_result_log
-DROP DATABASE XY;
-USE TEST;
-
---echo #
---echo # Bug55222 Mysqldump table names case bug in REFERENCES clause
---echo # InnoDB did not handle lower_case_table_names=2 for
---echo # foreign_table_names and referenced_table_names.
---echo #
-
-SHOW VARIABLES LIKE 'lower_case_table_names';
-
---disable_warnings
-DROP TABLE IF EXISTS `Table2`;
-DROP TABLE IF EXISTS `Table1`;
---disable_warnings
-
-CREATE TABLE `Table1`(c1 INT PRIMARY KEY) ENGINE=InnoDB;
-CREATE TABLE `Table2`(c1 INT PRIMARY KEY, c2 INT) ENGINE=InnoDB;
-ALTER TABLE `Table2` ADD CONSTRAINT fk1 FOREIGN KEY(c2) REFERENCES `Table1`(c1);
-query_vertical SHOW CREATE TABLE `Table2`;
-query_vertical SELECT * FROM INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_SCHEMA='test';
-DROP TABLE `Table2`;
-DROP TABLE `Table1`;
-
---disable_warnings
-DROP TABLE IF EXISTS Product_Order;
-DROP TABLE IF EXISTS Product;
-DROP TABLE IF EXISTS Customer;
---enable_warnings
-
-CREATE TABLE Product (Category INT NOT NULL, Id INT NOT NULL,
- Price DECIMAL, PRIMARY KEY(Category, Id)) ENGINE=InnoDB;
-CREATE TABLE Customer (Id INT NOT NULL, PRIMARY KEY (Id)) ENGINE=InnoDB;
-CREATE TABLE Product_Order (No INT NOT NULL AUTO_INCREMENT,
- Product_Category INT NOT NULL,
- Product_Id INT NOT NULL,
- Customer_Id INT NOT NULL,
- PRIMARY KEY(No),
- INDEX (Product_Category, Product_Id),
- FOREIGN KEY (Product_Category, Product_Id)
- REFERENCES Product(Category, Id) ON UPDATE CASCADE ON DELETE RESTRICT,
- INDEX (Customer_Id),
- FOREIGN KEY (Customer_Id)
- REFERENCES Customer(Id)
- ) ENGINE=INNODB;
-
-query_vertical SHOW CREATE TABLE Product_Order;
-query_vertical SHOW CREATE TABLE Product;
-query_vertical SHOW CREATE TABLE Customer;
-query_vertical SELECT * FROM INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_SCHEMA='test';
-DROP TABLE Product_Order;
-DROP TABLE Product;
-DROP TABLE Customer;
-
+--source include/have_case_insensitive_file_system.inc
+--source include/have_innodb.inc
+
+--echo #
+--echo # Bug#46941 crash with lower_case_table_names=2 and
+--echo # foreign data dictionary confusion
+--echo #
+
+CREATE DATABASE XY;
+USE XY;
+
+#
+# Logs are disabled, since the number of creates tables
+# and subsequent select statements may vary between
+# versions
+#
+--disable_query_log
+--disable_result_log
+
+let $tcs = `SELECT @@table_open_cache + 1`;
+
+let $i = $tcs;
+
+while ($i)
+{
+ eval CREATE TABLE XY.T_$i (a INT NOT NULL, b INT NOT NULL, c INT NOT NULL, d INT,
+ primary key(a, b), unique(b)) ENGINE=InnoDB;
+ dec $i;
+}
+
+eval ALTER TABLE XY.T_$tcs ADD INDEX I1 (c, b),
+ ADD CONSTRAINT C1 FOREIGN KEY (c, b) REFERENCES XY.T_1 (a, b);
+
+eval ALTER TABLE XY.T_$tcs ADD INDEX I2 (b),
+ ADD CONSTRAINT C2 FOREIGN KEY (b) REFERENCES XY.T_1(a);
+
+let $i = $tcs;
+while ($i)
+{
+ eval SELECT * FROM XY.T_$i LIMIT 1;
+ dec $i;
+}
+
+DROP DATABASE XY;
+CREATE DATABASE XY;
+USE XY;
+eval CREATE TABLE XY.T_$tcs (a INT NOT NULL, b INT NOT NULL, c INT NOT NULL, d INT,
+ PRIMARY KEY(a, b), UNIQUE(b)) ENGINE=InnoDB;
+#
+# The bug causes this SELECT to err
+eval SELECT * FROM XY.T_$tcs LIMIT 1;
+
+--enable_query_log
+--enable_result_log
+DROP DATABASE XY;
+USE TEST;
+
+--echo #
+--echo # Bug55222 Mysqldump table names case bug in REFERENCES clause
+--echo # InnoDB did not handle lower_case_table_names=2 for
+--echo # foreign_table_names and referenced_table_names.
+--echo #
+
+SHOW VARIABLES LIKE 'lower_case_table_names';
+
+--disable_warnings
+DROP TABLE IF EXISTS `Table2`;
+DROP TABLE IF EXISTS `Table1`;
+--disable_warnings
+
+CREATE TABLE `Table1`(c1 INT PRIMARY KEY) ENGINE=InnoDB;
+CREATE TABLE `Table2`(c1 INT PRIMARY KEY, c2 INT) ENGINE=InnoDB;
+ALTER TABLE `Table2` ADD CONSTRAINT fk1 FOREIGN KEY(c2) REFERENCES `Table1`(c1);
+query_vertical SHOW CREATE TABLE `Table2`;
+query_vertical SELECT * FROM INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_SCHEMA='test';
+DROP TABLE `Table2`;
+DROP TABLE `Table1`;
+
+--disable_warnings
+DROP TABLE IF EXISTS Product_Order;
+DROP TABLE IF EXISTS Product;
+DROP TABLE IF EXISTS Customer;
+--enable_warnings
+
+CREATE TABLE Product (Category INT NOT NULL, Id INT NOT NULL,
+ Price DECIMAL, PRIMARY KEY(Category, Id)) ENGINE=InnoDB;
+CREATE TABLE Customer (Id INT NOT NULL, PRIMARY KEY (Id)) ENGINE=InnoDB;
+CREATE TABLE Product_Order (No INT NOT NULL AUTO_INCREMENT,
+ Product_Category INT NOT NULL,
+ Product_Id INT NOT NULL,
+ Customer_Id INT NOT NULL,
+ PRIMARY KEY(No),
+ INDEX (Product_Category, Product_Id),
+ FOREIGN KEY (Product_Category, Product_Id)
+ REFERENCES Product(Category, Id) ON UPDATE CASCADE ON DELETE RESTRICT,
+ INDEX (Customer_Id),
+ FOREIGN KEY (Customer_Id)
+ REFERENCES Customer(Id)
+ ) ENGINE=INNODB;
+
+query_vertical SHOW CREATE TABLE Product_Order;
+query_vertical SHOW CREATE TABLE Product;
+query_vertical SHOW CREATE TABLE Customer;
+query_vertical SELECT * FROM INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_SCHEMA='test';
+DROP TABLE Product_Order;
+DROP TABLE Product;
+DROP TABLE Customer;
+
diff --git a/mysql-test/t/lowercase_table5.test b/mysql-test/t/lowercase_table5.test
new file mode 100644
index 00000000000..dfdfafcb3da
--- /dev/null
+++ b/mysql-test/t/lowercase_table5.test
@@ -0,0 +1,20 @@
+#
+# Tests that requires lower_case_table_names to be 0
+# (Normal case on Unix)
+#
+--source include/have_lowercase0.inc
+--source include/have_case_sensitive_file_system.inc
+
+#
+# Check caching of database options
+#
+
+CREATE DATABASE mysql_TEST CHARACTER SET utf8;
+SHOW CREATE DATABASE mysql_TEST;
+CREATE DATABASE mysql_test CHARACTER SET latin2;
+SHOW CREATE DATABASE mysql_test;
+SHOW CREATE DATABASE mysql_TEST;
+DROP DATABASE mysql_test;
+DROP DATABASE mysql_TEST;
+
+# End of 10.0 tests
diff --git a/mysql-test/t/multi_update.test b/mysql-test/t/multi_update.test
index e0a35ca2bb9..78f0076f98c 100644
--- a/mysql-test/t/multi_update.test
+++ b/mysql-test/t/multi_update.test
@@ -810,3 +810,29 @@ DROP TABLE t1,t2;
--echo end of 5.5 tests
+
+--source include/have_xtradb.inc
+
+--echo
+--echo # Bug mdev-5970
+--echo # Bug#13256831 - ERROR 1032 (HY000): CAN'T FIND RECORD
+--echo
+
+CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 INT) ENGINE=InnoDB;
+CREATE TABLE t2 (f1 INT PRIMARY KEY, f2 INT) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (5, 7);
+INSERT INTO t2 VALUES (6, 97);
+
+CREATE ALGORITHM = MERGE VIEW v1 AS
+SELECT a2.f1 AS f1, a2.f2 AS f2
+FROM t1 AS a1 JOIN t2 AS a2 ON a1.f2 > a2.f1
+WITH LOCAL CHECK OPTION;
+
+SELECT * FROM v1;
+UPDATE v1 SET f1 = 1;
+SELECT * FROM v1;
+
+DROP TABLE t1, t2;
+DROP VIEW v1;
+
+--echo end of 10.0 tests
diff --git a/mysql-test/t/myisampack.test b/mysql-test/t/myisampack.test
index afa417822e6..ac47d521930 100644
--- a/mysql-test/t/myisampack.test
+++ b/mysql-test/t/myisampack.test
@@ -267,3 +267,15 @@ FLUSH TABLE t1;
--exec $MYISAMCHK -soq $MYSQLD_DATADIR/test/t1
CHECK TABLE t1;
DROP TABLE t1;
+
+--echo #
+--echo # BUG#11751736: DROP DATABASE STATEMENT SHOULD REMOVE .OLD SUFFIX FROM
+--echo # DATABASE DIRECTORY
+--echo #
+CREATE DATABASE db1;
+CREATE TABLE db1.t1(c1 INT) ENGINE=MyISAM;
+## Added -f to force pack db in any case regardless the size of database
+## being packed
+let $MYSQLD_DATADIR = `SELECT @@datadir`;
+--exec $MYISAMPACK -b -f $MYSQLD_DATADIR/db1/t1
+DROP DATABASE db1;
diff --git a/mysql-test/t/mysqld--help.test b/mysql-test/t/mysqld--help.test
index 1b119ca7ea6..c27fa58f935 100644
--- a/mysql-test/t/mysqld--help.test
+++ b/mysql-test/t/mysqld--help.test
@@ -20,7 +20,9 @@ perl;
# their paths may vary:
@skipvars=qw/basedir open-files-limit general-log-file log plugin-dir
log-slow-queries pid-file slow-query-log-file log-basename
- datadir slave-load-tmpdir tmpdir socket thread-pool-size/;
+ datadir slave-load-tmpdir tmpdir socket thread-pool-size
+ large-files-support lower-case-file-system system-time-zone
+ version.*/;
# Plugins which may or may not be there:
@plugins=qw/innodb ndb archive blackhole federated partition ndbcluster
diff --git a/mysql-test/t/mysqldump.test b/mysql-test/t/mysqldump.test
index 1ddce574a88..6e717e85122 100644
--- a/mysql-test/t/mysqldump.test
+++ b/mysql-test/t/mysqldump.test
@@ -2440,6 +2440,21 @@ SET @@global.log_output= @old_log_output_state;
SET @@global.slow_query_log= @old_slow_query_log_state;
SET @@global.general_log= @old_general_log_state;
+--echo # MDEV-5481 mysqldump fails to dump geometry types properly
+
+create table t1 (g GEOMETRY) CHARSET koi8r;
+create table t2 (g GEOMETRY) CHARSET koi8r;
+insert into t1 values (point(1,1)), (point(2,2));
+--exec $MYSQL_DUMP --hex-blob --character-sets-dir=$MYSQL_SHAREDIR/charsets --tab=$MYSQLTEST_VARDIR/tmp/ test t1
+--echo ##################################################
+--cat_file $file
+--echo ##################################################
+--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
+--eval LOAD DATA INFILE '$file' INTO TABLE t2 CHARACTER SET koi8r
+--remove_file $file
+select astext(g) from t2;
+drop table t1, t2;
+
--echo #
--echo # End of 5.1 tests
--echo #
diff --git a/mysql-test/t/not_embedded_server.test b/mysql-test/t/not_embedded_server.test
index 0878a78b885..e74da3a8ff4 100644
--- a/mysql-test/t/not_embedded_server.test
+++ b/mysql-test/t/not_embedded_server.test
@@ -102,3 +102,110 @@ DROP USER nopriv_user@localhost;
--echo #
--echo # End Bug#54812
--echo #
+
+
+--echo
+--echo #
+--echo # Test for Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES
+--echo # IGNORED AND BREAKS REPLICATION
+--echo #
+
+SET @org_mode=@@sql_mode;
+
+SET @@sql_mode='';
+
+--echo # USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION
+CREATE USER 'user\'s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\'s_12601974'@'localhost';
+DROP USER 'user\'s_12601974'@'localhost';
+
+CREATE USER 'user\"s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\"s_12601974'@'localhost';
+DROP USER 'user\"s_12601974'@'localhost';
+
+CREATE USER 'user\bs_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\bs_12601974'@'localhost';
+DROP USER 'user\bs_12601974'@'localhost';
+
+CREATE USER 'user\ns_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\ns_12601974'@'localhost';
+DROP USER 'user\ns_12601974'@'localhost';
+
+CREATE USER 'user\rs_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\rs_12601974'@'localhost';
+DROP USER 'user\rs_12601974'@'localhost';
+
+CREATE USER 'user\ts_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\ts_12601974'@'localhost';
+DROP USER 'user\ts_12601974'@'localhost';
+
+CREATE USER 'user\\s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\\s_12601974'@'localhost';
+DROP USER 'user\\s_12601974'@'localhost';
+
+CREATE USER 'user\%s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\%s_12601974'@'localhost';
+DROP USER 'user\%s_12601974'@'localhost';
+
+CREATE USER 'user\_s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\_s_12601974'@'localhost';
+DROP USER 'user\_s_12601974'@'localhost';
+--echo
+--echo # END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION
+
+SET @@sql_mode='NO_BACKSLASH_ESCAPES';
+--echo # USER NAME CONTAINING BACKSLASH IN DROP USER OPERATION
+CREATE USER 'user\"s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\"s_12601974'@'localhost';
+DROP USER 'user\"s_12601974'@'localhost';
+
+CREATE USER 'user\bs_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\bs_12601974'@'localhost';
+DROP USER 'user\bs_12601974'@'localhost';
+
+CREATE USER 'user\ns_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\ns_12601974'@'localhost';
+DROP USER 'user\ns_12601974'@'localhost';
+
+CREATE USER 'user\rs_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\rs_12601974'@'localhost';
+DROP USER 'user\rs_12601974'@'localhost';
+
+CREATE USER 'user\ts_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\ts_12601974'@'localhost';
+DROP USER 'user\ts_12601974'@'localhost';
+
+CREATE USER 'user\\s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\\s_12601974'@'localhost';
+DROP USER 'user\\s_12601974'@'localhost';
+
+CREATE USER 'user\%s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\%s_12601974'@'localhost';
+DROP USER 'user\%s_12601974'@'localhost';
+
+CREATE USER 'user\_s_12601974'@'localhost';
+--error ER_CANNOT_USER
+CREATE USER 'user\_s_12601974'@'localhost';
+DROP USER 'user\_s_12601974'@'localhost';
+--echo
+--echo # END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION
+SET @@sql_mode= @org_mode;
+
+--echo
+--echo #End of Test for Bug#12601974
diff --git a/mysql-test/t/not_partition.test b/mysql-test/t/not_partition.test
index a4faa794e3d..dd52e4b97e6 100644
--- a/mysql-test/t/not_partition.test
+++ b/mysql-test/t/not_partition.test
@@ -84,3 +84,17 @@ create table t1 (a varchar(10) charset latin1 collate latin1_bin);
insert into t1 values (''),(' '),('a'),('a '),('a ');
explain partitions select * from t1 where a='a ' OR a='a';
drop table t1;
+--echo #
+--echo # bug#11760213-52599: ALTER TABLE REMOVE PARTITIONING ON NON-PARTITIONED
+--echo # TABLE CORRUPTS MYISAM
+--disable_warnings
+DROP TABLE if exists `t1`;
+--enable_warnings
+CREATE TABLE `t1`(`a` INT)ENGINE=myisam;
+ALTER TABLE `t1` ADD COLUMN `b` INT;
+CREATE UNIQUE INDEX `i1` ON `t1`(`b`);
+CREATE UNIQUE INDEX `i2` ON `t1`(`a`);
+ALTER TABLE `t1` ADD PRIMARY KEY (`a`);
+ALTER TABLE `t1` REMOVE PARTITIONING;
+CHECK TABLE `t1` EXTENDED;
+DROP TABLE t1;
diff --git a/mysql-test/t/old-mode.test b/mysql-test/t/old-mode.test
index 182c166ebbc..483549886db 100644
--- a/mysql-test/t/old-mode.test
+++ b/mysql-test/t/old-mode.test
@@ -25,3 +25,42 @@ drop table t1,t2;
--replace_result "Writing to net" "NULL"
--replace_regex /localhost[:0-9]*/localhost/
SHOW PROCESSLIST;
+
+--echo #
+--echo # MDEV-5372 Make "CAST(time_expr AS DATETIME)" compatible with the SQL Standard)
+--echo #
+set @@old_mode=zero_date_time_cast;
+SELECT CAST(TIME'-10:30:30' AS DATETIME);
+SELECT CAST(TIME'10:20:30' AS DATETIME);
+SELECT CAST(TIME'830:20:30' AS DATETIME);
+CREATE TABLE t1 (a DATETIME);
+INSERT INTO t1 VALUES (TIME'-10:20:30');
+INSERT INTO t1 VALUES (TIME'10:20:30');
+INSERT INTO t1 VALUES (TIME'830:20:30');
+SELECT * FROM t1;
+DROP TABLE t1;
+CREATE TABLE t1 (a TIMESTAMP);
+INSERT INTO t1 VALUES (TIME'-10:20:30');
+INSERT INTO t1 VALUES (TIME'10:20:30');
+INSERT INTO t1 VALUES (TIME'830:20:30');
+SELECT * FROM t1;
+DROP TABLE t1;
+CREATE TABLE t1 (a TIME);
+INSERT INTO t1 VALUES (TIME'-10:20:30');
+INSERT INTO t1 VALUES (TIME'10:20:30');
+INSERT INTO t1 VALUES (TIME'830:20:30');
+SELECT a, CAST(a AS DATETIME), TO_DAYS(a) FROM t1;
+DROP TABLE t1;
+# Note, it was actually a bug that TO_DAYS('830:20:30') returned NULL
+# for a column, while 3 for an expression. We won't fix this,
+# it's "old_mode" anyway.
+SELECT TO_DAYS(TIME'-10:20:30');
+SELECT TO_DAYS(TIME'10:20:30');
+SELECT TO_DAYS(TIME'830:20:30');
+
+# This is to cover Item_temporal_hybrid_func::fix_temporal_type in old_mode:
+CREATE TABLE t1 (a DATETIME, b TIME);
+INSERT INTO t1 VALUES (NULL, '00:20:12');
+INSERT INTO t1 VALUES (NULL, '-00:20:12');
+SELECT IF(1,ADDDATE(IFNULL(a,b),0),1) FROM t1;
+DROP TABLE t1;
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test
index 713b3ed7347..1e1150157c7 100644
--- a/mysql-test/t/partition.test
+++ b/mysql-test/t/partition.test
@@ -2530,6 +2530,292 @@ ALTER TABLE t1 ADD PARTITION PARTITIONS 2;
SELECT * from t1 order by i;
DROP TABLE t1;
+--echo #
+--echo # MDEV-5555: Incorrect index_merge on BTREE indices
+--echo #
+
+CREATE TABLE t1 (
+ id bigint(20) unsigned NOT NULL,
+ id2 bigint(20) unsigned NOT NULL,
+ dob date DEFAULT NULL,
+ address char(100) DEFAULT NULL,
+ city char(35) DEFAULT NULL,
+ hours_worked_per_week smallint(5) unsigned DEFAULT NULL,
+ weeks_worked_last_year tinyint(3) unsigned DEFAULT NULL,
+ KEY dob (dob),
+ KEY address (address),
+ KEY city (city),
+ KEY hours_worked_per_week (hours_worked_per_week),
+ KEY weeks_worked_last_year (weeks_worked_last_year)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+PARTITION BY KEY (id) PARTITIONS 5;
+
+--echo # Insert some rows
+--disable_query_log
+INSERT INTO t1 VALUES (123,123,'2001-04-14','address123','city123',40,51),
+(127,127,'1977-03-30','address127','city127',0,0),
+(131,131,'1985-07-29','address131','city131',50,52),
+(135,135,'1997-01-20','address135','city135',0,0),
+(139,139,'1963-04-27','address139','city139',27,52),
+(143,143,'1979-01-28','address143','city143',40,52),
+(147,147,'1985-08-28','address147','city147',0,0),
+(151,151,'1997-01-24','address151','city151',40,52),
+(156,156,'1975-02-19','address156','city156',46,52),
+(158,158,'1996-07-06','address158','city158',46,8),
+(164,164,'1925-12-30','address164','city164',0,0),
+(166,166,'2010-12-30','address166','city166',0,0),
+(172,172,'1996-08-15','address172','city172',0,0),
+(174,174,'2008-05-20','address174','city174',40,52),
+(180,180,'1969-09-05','address180','city180',25,52),
+(182,182,'1977-08-11','address182','city182',40,8),
+(188,188,'2012-03-29','address188','city188',0,0),
+(190,190,'1978-02-19','address190','city190',0,0),
+(215,215,'1982-02-07','address215','city215',40,36),
+(223,223,'2005-02-11','address223','city223',55,52),
+(247,247,'2005-07-02','address247','city247',30,51),
+(255,255,'1997-08-15','address255','city255',0,0),
+(2,2,'1973-05-05','address2','city2',25,52),
+(4,4,'2012-07-21','address4','city4',40,12),
+(6,6,'1982-07-15','address6','city6',0,0),
+(8,8,'1979-02-16','address8','city8',0,0),
+(10,10,'1955-10-06','address10','city10',60,52),
+(12,12,'1977-08-09','address12','city12',40,52),
+(14,14,'2005-03-28','address14','city14',0,0),
+(16,16,'1949-11-07','address16','city16',40,52),
+(18,18,'2012-01-04','address18','city18',0,0),
+(20,20,'2011-01-23','address20','city20',0,0),
+(22,22,'1954-10-14','address22','city22',20,52),
+(24,24,'2010-01-22','address24','city24',0,0),
+(26,26,'1999-08-15','address26','city26',0,0),
+(28,28,'1964-07-05','address28','city28',10,20),
+(30,30,'2004-10-13','address30','city30',0,0),
+(32,32,'2007-06-08','address32','city32',0,0),
+(34,34,'1977-02-23','address34','city34',40,52),
+(36,36,'2007-06-11','address36','city36',75,52),
+(38,38,'1932-04-12','address38','city38',0,0),
+(40,40,'1968-11-16','address40','city40',0,0),
+(42,42,'1996-10-01','address42','city42',38,52),
+(44,44,'1977-08-23','address44','city44',18,6),
+(46,46,'1978-11-23','address46','city46',0,0),
+(48,48,'1998-02-27','address48','city48',0,0),
+(50,50,'1923-09-08','address50','city50',40,52),
+(52,52,'1964-09-09','address52','city52',0,0),
+(55,55,'2001-01-27','address55','city55',40,40),
+(56,56,'1938-08-28','address56','city56',48,52),
+(59,59,'1967-12-19','address59','city59',40,52),
+(60,60,'1969-06-30','address60','city60',40,46),
+(63,63,'2002-04-05','address63','city63',0,0),
+(64,64,'1972-11-21','address64','city64',48,52),
+(67,67,'1988-04-04','address67','city67',0,0),
+(68,68,'1964-07-14','address68','city68',4,16),
+(71,71,'1998-03-09','address71','city71',0,0),
+(72,72,'1960-10-28','address72','city72',35,52),
+(75,75,'1968-04-14','address75','city75',40,52),
+(76,76,'1977-05-13','address76','city76',0,0),
+(79,79,'1982-12-19','address79','city79',0,0),
+(80,80,'1966-01-07','address80','city80',15,12),
+(83,83,'1947-02-09','address83','city83',10,18),
+(84,84,'1976-06-23','address84','city84',40,52),
+(87,87,'2000-10-24','address87','city87',25,4),
+(88,88,'2002-05-23','address88','city88',20,52),
+(91,91,'2000-11-28','address91','city91',60,52),
+(92,92,'1965-07-17','address92','city92',40,52),
+(95,95,'1977-09-16','address95','city95',30,52),
+(96,96,'1994-09-26','address96','city96',0,0),
+(99,99,'2008-02-19','address99','city99',0,0),
+(100,100,'1953-01-07','address100','city100',0,0),
+(103,103,'2010-12-29','address103','city103',0,0),
+(104,104,'1990-12-03','address104','city104',40,52),
+(107,107,'2003-10-27','address107','city107',0,0),
+(108,108,'1998-03-05','address108','city108',40,17),
+(111,111,'2002-10-18','address111','city111',0,0),
+(112,112,'1960-04-02','address112','city112',0,0),
+(115,115,'1989-05-28','address115','city115',40,52),
+(116,116,'1985-10-25','address116','city116',15,52),
+(119,119,'1974-04-15','address119','city119',0,0),
+(120,120,'1926-03-21','address120','city120',0,0),
+(157,157,'1972-03-23','address157','city157',0,0),
+(159,159,'2002-11-08','address159','city159',0,0),
+(165,165,'1998-07-10','address165','city165',0,0),
+(167,167,'1973-11-16','address167','city167',0,0),
+(173,173,'1966-06-26','address173','city173',0,0),
+(175,175,'1957-02-02','address175','city175',0,0),
+(181,181,'1964-11-16','address181','city181',45,26),
+(183,183,'1943-12-02','address183','city183',0,0),
+(189,189,'1986-06-30','address189','city189',0,0),
+(191,191,'2005-05-14','address191','city191',0,0),
+(196,196,'1961-03-23','address196','city196',0,0),
+(197,197,'1955-07-13','address197','city197',0,0),
+(198,198,'2006-11-26','address198','city198',0,0),
+(199,199,'1978-02-06','address199','city199',0,0),
+(208,208,'2012-04-13','address208','city208',48,52),
+(210,210,'1989-08-18','address210','city210',0,0),
+(211,211,'1982-08-17','address211','city211',40,52),
+(212,212,'1919-08-29','address212','city212',0,0),
+(213,213,'1987-03-25','address213','city213',0,0),
+(228,228,'1988-05-05','address228','city228',40,52),
+(229,229,'1936-10-15','address229','city229',0,0),
+(230,230,'1973-08-19','address230','city230',40,52),
+(231,231,'2002-06-18','address231','city231',50,52),
+(240,240,'2011-10-17','address240','city240',60,52),
+(242,242,'1981-07-24','address242','city242',0,0),
+(243,243,'1978-10-12','address243','city243',0,0),
+(244,244,'2003-01-15','address244','city244',0,0),
+(245,245,'1950-09-26','address245','city245',0,0),
+(125,125,'1939-08-02','address125','city125',28,32),
+(126,126,'1984-02-10','address126','city126',0,0),
+(129,129,'1992-01-20','address129','city129',0,0),
+(130,130,'1992-09-18','address130','city130',0,0),
+(133,133,'1996-05-07','address133','city133',24,20),
+(134,134,'1987-07-13','address134','city134',0,0),
+(137,137,'2004-03-10','address137','city137',0,0),
+(138,138,'1989-02-10','address138','city138',0,0),
+(141,141,'1970-03-21','address141','city141',0,0),
+(142,142,'1984-05-25','address142','city142',40,50),
+(145,145,'1959-05-24','address145','city145',0,0),
+(146,146,'1946-07-28','address146','city146',35,16),
+(149,149,'1993-09-16','address149','city149',0,0),
+(150,150,'1975-12-18','address150','city150',0,0),
+(153,153,'1993-12-20','address153','city153',0,0),
+(155,155,'1934-10-29','address155','city155',0,0),
+(161,161,'1969-11-04','address161','city161',50,50),
+(163,163,'1976-05-03','address163','city163',40,52),
+(169,169,'1982-12-19','address169','city169',0,0),
+(171,171,'1976-07-01','address171','city171',0,0),
+(177,177,'2002-11-16','address177','city177',0,0),
+(179,179,'1964-02-05','address179','city179',40,32),
+(185,185,'1981-02-06','address185','city185',0,0),
+(187,187,'1962-06-04','address187','city187',40,52),
+(216,216,'1996-05-21','address216','city216',48,52),
+(248,248,'1963-09-06','address248','city248',0,0),
+(256,256,'1966-07-14','address256','city256',0,0),
+(53,53,'1992-05-25','address53','city53',0,0),
+(57,57,'2003-11-12','address57','city57',25,20),
+(61,61,'1953-01-29','address61','city61',0,0),
+(65,65,'1975-05-02','address65','city65',10,10),
+(69,69,'1938-03-20','address69','city69',0,0),
+(73,73,'1969-05-05','address73','city73',0,0),
+(77,77,'1996-05-19','address77','city77',0,0),
+(81,81,'1985-06-22','address81','city81',0,0),
+(85,85,'2002-10-10','address85','city85',0,0),
+(89,89,'1958-06-16','address89','city89',0,0),
+(93,93,'1962-06-16','address93','city93',0,0),
+(97,97,'1964-10-08','address97','city97',0,0),
+(101,101,'1986-06-11','address101','city101',40,52),
+(105,105,'1999-05-14','address105','city105',40,45),
+(109,109,'2000-05-23','address109','city109',0,0),
+(113,113,'1960-08-03','address113','city113',8,15),
+(117,117,'1982-02-15','address117','city117',50,36),
+(121,121,'1998-10-18','address121','city121',24,52),
+(192,192,'1964-07-24','address192','city192',40,52),
+(193,193,'1973-05-03','address193','city193',0,0),
+(194,194,'1980-01-14','address194','city194',40,52),
+(195,195,'1975-07-15','address195','city195',45,52),
+(200,200,'2006-03-09','address200','city200',0,0),
+(201,201,'2008-05-20','address201','city201',3,28),
+(202,202,'2000-06-30','address202','city202',12,52),
+(203,203,'1992-07-08','address203','city203',50,52),
+(204,204,'1988-07-05','address204','city204',14,40),
+(205,205,'1950-10-29','address205','city205',0,0),
+(206,206,'1962-11-25','address206','city206',0,0),
+(207,207,'1946-06-03','address207','city207',0,0),
+(214,214,'1973-12-14','address214','city214',0,0),
+(217,217,'1945-11-06','address217','city217',40,36),
+(218,218,'2007-07-20','address218','city218',0,0),
+(219,219,'1979-10-05','address219','city219',0,0),
+(220,220,'1992-06-20','address220','city220',10,12),
+(221,221,'2007-03-26','address221','city221',50,52),
+(222,222,'1989-12-24','address222','city222',0,0),
+(224,224,'1975-07-14','address224','city224',0,0),
+(225,225,'1976-02-23','address225','city225',20,52),
+(226,226,'1974-06-22','address226','city226',0,0),
+(227,227,'2004-01-16','address227','city227',0,0),
+(232,232,'1958-01-01','address232','city232',0,0),
+(233,233,'1966-08-03','address233','city233',40,32),
+(234,234,'1975-10-22','address234','city234',40,52),
+(235,235,'1983-10-25','address235','city235',0,0),
+(236,236,'1974-03-07','address236','city236',0,0),
+(237,237,'1965-12-31','address237','city237',45,20),
+(238,238,'1971-10-16','address238','city238',0,0),
+(239,239,'1989-07-19','address239','city239',0,0),
+(246,246,'1960-07-08','address246','city246',0,0),
+(249,249,'1943-07-01','address249','city249',40,30),
+(250,250,'1983-10-15','address250','city250',30,52),
+(251,251,'1979-07-03','address251','city251',0,0),
+(252,252,'1985-10-04','address252','city252',15,4),
+(253,253,'1966-10-24','address253','city253',0,0),
+(254,254,'1956-02-02','address254','city254',0,0),
+(1,1,'2003-11-23','address1','city1',40,52),
+(3,3,'1938-01-23','address3','city3',0,0),
+(5,5,'2006-12-27','address5','city5',40,48),
+(7,7,'1969-04-09','address7','city7',0,0),
+(9,9,'2006-06-14','address9','city9',0,0),
+(11,11,'1999-01-12','address11','city11',40,52),
+(13,13,'1968-01-13','address13','city13',50,12),
+(15,15,'1960-04-11','address15','city15',0,0),
+(17,17,'2006-10-13','address17','city17',40,52),
+(19,19,'1950-08-19','address19','city19',0,0),
+(21,21,'2000-05-01','address21','city21',40,30),
+(23,23,'1952-06-09','address23','city23',40,52),
+(25,25,'1934-12-08','address25','city25',32,40),
+(27,27,'1995-04-19','address27','city27',40,45),
+(29,29,'1986-01-14','address29','city29',44,52),
+(31,31,'1978-04-19','address31','city31',10,20),
+(33,33,'1989-11-23','address33','city33',25,10),
+(35,35,'2012-01-02','address35','city35',8,48),
+(37,37,'2005-08-24','address37','city37',40,42),
+(39,39,'1973-11-02','address39','city39',40,52),
+(41,41,'2011-10-12','address41','city41',20,30),
+(43,43,'1960-12-24','address43','city43',0,0),
+(45,45,'1990-04-17','address45','city45',35,40),
+(47,47,'1964-04-02','address47','city47',0,0),
+(49,49,'1957-01-25','address49','city49',40,52),
+(51,51,'1970-10-20','address51','city51',0,0),
+(54,54,'1987-09-30','address54','city54',0,0),
+(58,58,'1975-05-07','address58','city58',0,0),
+(62,62,'1972-08-03','address62','city62',40,52),
+(66,66,'1995-11-04','address66','city66',0,0),
+(70,70,'1985-10-19','address70','city70',40,52),
+(74,74,'1969-06-09','address74','city74',0,0),
+(78,78,'2003-01-16','address78','city78',66,52),
+(82,82,'2012-04-29','address82','city82',50,30),
+(86,86,'2008-02-03','address86','city86',0,0),
+(90,90,'1973-05-15','address90','city90',35,12),
+(94,94,'1987-10-28','address94','city94',40,50),
+(98,98,'1973-06-10','address98','city98',65,50),
+(102,102,'2009-09-13','address102','city102',0,0),
+(106,106,'1986-07-03','address106','city106',0,0),
+(110,110,'1982-06-10','address110','city110',35,52),
+(114,114,'1963-10-08','address114','city114',48,52),
+(118,118,'1948-03-07','address118','city118',0,0),
+(122,122,'1997-12-19','address122','city122',0,0),
+(124,124,'1966-03-25','address124','city124',0,0),
+(128,128,'1968-08-13','address128','city128',0,0),
+(132,132,'1989-09-25','address132','city132',20,20),
+(136,136,'1993-09-02','address136','city136',0,0),
+(140,140,'1981-05-31','address140','city140',48,52),
+(144,144,'1960-09-15','address144','city144',0,0),
+(148,148,'1945-02-13','address148','city148',40,38),
+(152,152,'2010-11-13','address152','city152',20,52),
+(154,154,'1950-11-07','address154','city154',55,52),
+(160,160,'1981-01-17','address160','city160',0,0),
+(162,162,'2001-03-19','address162','city162',0,0),
+(168,168,'2003-03-28','address168','city168',0,0),
+(170,170,'1977-06-18','address170','city170',50,52),
+(176,176,'1967-04-15','address176','city176',30,50),
+(178,178,'1989-10-25','address178','city178',60,12),
+(184,184,'2004-04-21','address184','city184',0,0),
+(186,186,'1952-11-08','address186','city186',50,48),
+(209,209,'1943-03-15','address209','city209',40,30),
+(241,241,'1979-12-02','address241','city241',0,0),
+(257,257,'2010-03-06','address257','city257',40,47);
+--enable_query_log
+
+select * from t1 where hours_worked_per_week = 40 and weeks_worked_last_year = 52 and dob < '1949-11-21';
+select * from t1 IGNORE INDEX(dob, weeks_worked_last_year, hours_worked_per_week) where hours_worked_per_week = 40 and weeks_worked_last_year = 52 and dob < '1949-11-21';
+
+drop table t1;
+
#
# Test ALTER TABLE ADD/DROP PARTITION IF EXISTS
#
diff --git a/mysql-test/t/partition_debug_sync.test b/mysql-test/t/partition_debug_sync.test
index 3ca21c2185a..90f1d4173ff 100644
--- a/mysql-test/t/partition_debug_sync.test
+++ b/mysql-test/t/partition_debug_sync.test
@@ -131,5 +131,6 @@ UNLOCK TABLES;
--echo # Default
connection default;
+SET DEBUG_SYNC = 'RESET';
DROP TABLE t1, t2;
diff --git a/mysql-test/t/partition_disabled.test b/mysql-test/t/partition_disabled.test
index c3e6cd5119f..940aea105ce 100644
--- a/mysql-test/t/partition_disabled.test
+++ b/mysql-test/t/partition_disabled.test
@@ -85,3 +85,20 @@ create table t1 (a varchar(10) charset latin1 collate latin1_bin);
insert into t1 values (''),(' '),('a'),('a '),('a ');
explain partitions select * from t1 where a='a ' OR a='a';
drop table t1;
+
+--echo #
+--echo # bug#11760213-52599: ALTER TABLE REMOVE PARTITIONING ON NON-PARTITIONED
+--echo # TABLE CORRUPTS MYISAM
+--disable_warnings
+DROP TABLE if exists `t1`;
+--enable_warnings
+CREATE TABLE `t1`(`a` INT)ENGINE=myisam;
+ALTER TABLE `t1` ADD COLUMN `b` INT;
+CREATE UNIQUE INDEX `i1` ON `t1`(`b`);
+CREATE UNIQUE INDEX `i2` ON `t1`(`a`);
+ALTER TABLE `t1` ADD PRIMARY KEY (`a`);
+--error ER_PARTITION_MGMT_ON_NONPARTITIONED
+ALTER TABLE `t1` REMOVE PARTITIONING;
+CHECK TABLE `t1` EXTENDED;
+DROP TABLE t1;
+
diff --git a/mysql-test/t/partition_error.test b/mysql-test/t/partition_error.test
index 9351dd2378a..c5b37615a92 100644
--- a/mysql-test/t/partition_error.test
+++ b/mysql-test/t/partition_error.test
@@ -2016,3 +2016,49 @@ PARTITION pmax VALUES LESS THAN MAXVALUE);
DROP TABLE t1;
--echo End of 5.1 tests
+
+CREATE TABLE t1 (a INT)
+PARTITION BY LIST (a)
+SUBPARTITION BY HASH (a) SUBPARTITIONS 2
+(PARTITION p1 VALUES IN (1) COMMENT "Comment in p1"
+ (SUBPARTITION p1spFirst COMMENT "SubPartition comment in p1spFirst",
+ SUBPARTITION p1spSecond COMMENT "SubPartition comment in p1spSecond"),
+ PARTITION p2 VALUES IN (2) COMMENT "Comment in p2"
+ (SUBPARTITION p2spFirst COMMENT "SubPartition comment in p2spFirst",
+ SUBPARTITION p2spSecond COMMENT "SubPartition comment in p2spSecond"));
+SHOW CREATE TABLE t1;
+SELECT PARTITION_NAME, SUBPARTITION_NAME, PARTITION_COMMENT FROM INFORMATION_SCHEMA.PARTITIONS
+WHERE TABLE_NAME = 't1' AND TABLE_SCHEMA = 'test';
+DROP TABLE t1;
+
+CREATE TABLE t1 (a INT)
+PARTITION BY LIST (a)
+SUBPARTITION BY HASH (a) SUBPARTITIONS 2
+(PARTITION p1 VALUES IN (1)
+ (SUBPARTITION p1spFirst COMMENT "SubPartition comment in p1spFirst",
+ SUBPARTITION p1spSecond),
+ PARTITION p2 VALUES IN (2) COMMENT "Comment in p2"
+ (SUBPARTITION p2spFirst,
+ SUBPARTITION p2spSecond COMMENT "SubPartition comment in p2spSecond"));
+SHOW CREATE TABLE t1;
+SELECT PARTITION_NAME, SUBPARTITION_NAME, PARTITION_COMMENT FROM INFORMATION_SCHEMA.PARTITIONS
+WHERE TABLE_NAME = 't1' AND TABLE_SCHEMA = 'test';
+DROP TABLE t1;
+
+CREATE TABLE t1
+(a INT ,
+ KEY inx_a (a) )
+PARTITION BY RANGE (a)
+SUBPARTITION BY HASH (a) SUBPARTITIONS 2
+(PARTITION pUpTo10 VALUES LESS THAN (10) COMMENT
+"This is a long comment (2050 ascii characters) 50 pUpTo10 partition ......80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1500 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 2000 ......................................2048-|++"
+ (SUBPARTITION `p-10sp0` ,SUBPARTITION `p-10sp1` ),
+ PARTITION pMax VALUES LESS THAN MAXVALUE COMMENT
+"This is a long comment (2050 ascii characters) 50 pMax partition comment .80-!.................. 100 ................................................................................................ 200....................................................................................................................................................................................................................................................................................................... 500 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1000 ..............1024-|.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1500 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 2000 ......................................2048-|++"
+ (SUBPARTITION `pMaxsp0` ,SUBPARTITION `pMaxsp1` ));
+
+SHOW CREATE TABLE t1;
+SELECT PARTITION_NAME, SUBPARTITION_NAME, PARTITION_COMMENT FROM INFORMATION_SCHEMA.PARTITIONS
+WHERE TABLE_NAME = 't1' AND TABLE_SCHEMA = 'test';
+
+DROP TABLE t1;
diff --git a/mysql-test/t/partition_exchange.test b/mysql-test/t/partition_exchange.test
index d7dfd6f543e..e538bee16cd 100644
--- a/mysql-test/t/partition_exchange.test
+++ b/mysql-test/t/partition_exchange.test
@@ -439,7 +439,7 @@ CREATE TABLE t LIKE general_log;
ALTER TABLE t PARTITION BY RANGE (UNIX_TIMESTAMP(event_time) DIV 1)
(PARTITION p0 VALUES LESS THAN (123456789),
PARTITION pMAX VALUES LESS THAN MAXVALUE);
---error ER_WRONG_USAGE
+--error ER_BAD_LOG_STATEMENT
ALTER TABLE t EXCHANGE PARTITION p0 WITH TABLE general_log;
ALTER TABLE general_log ENGINE = CSV;
SET @@global.general_log = @old_general_log_state;
diff --git a/mysql-test/t/partition_innodb.test b/mysql-test/t/partition_innodb.test
index ad9de559a9c..43f409731a6 100644
--- a/mysql-test/t/partition_innodb.test
+++ b/mysql-test/t/partition_innodb.test
@@ -729,5 +729,86 @@ GROUP BY 1, 2, 3;
DROP TABLE t1;
+--echo #
+--echo # MDEV-5177: ha_partition and innodb index intersection produce fewer rows (MySQL Bug#70703)
+--echo #
+create table t1 (
+ a int not null,
+ b int not null,
+ pk int not null,
+ primary key (pk),
+ key(a),
+ key(b)
+) engine=innodb partition by hash(pk) partitions 10;
+
+insert into t1 values (1,2,4); # both
+insert into t1 values (1,0,17); # left
+insert into t1 values (1,2,25); # both
+
+insert into t1 values (10,20,122);
+insert into t1 values (10,20,123);
+
+# Now, fill in some data so that the optimizer choses index_merge
+create table t2 (a int);
+insert into t2 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+
+insert into t1 select 1,2, 200 + A.a + 10*B.a + 100*C.a from t2 A, t2 B, t2 C;
+
+insert into t1 select 10+A.a + 10*B.a + 100*C.a + 1000*D.a,
+ 10+A.a + 10*B.a + 100*C.a + 1000*D.a,
+ 2000 + A.a + 10*B.a + 100*C.a + 1000*D.a
+ from t2 A, t2 B, t2 C ,t2 D;
+
+# This should show index_merge, using intersect
+--replace_column 9 #
+explain select * from t1 where a=1 and b=2 and pk between 1 and 999999 ;
+# 794 rows in output
+create temporary table t3 as
+select * from t1 where a=1 and b=2 and pk between 1 and 999 ;
+select count(*) from t3;
+drop table t3;
+
+# 802 rows in output
+create temporary table t3 as
+select * from t1 ignore index(a,b) where a=1 and b=2 and pk between 1 and 999 ;
+select count(*) from t3;
+drop table t3;
+
+drop table t1,t2;
+
+--echo #
+--echo # MDEV-5963: InnoDB: Assertion failure in file row0sel.cc line 2503,
+--echo # Failing assertion: 0 with "key ptr now exceeds key end by 762 bytes"
+--echo # (independent testcase for Oracle Bug#13947868)
+--echo #
+CREATE TABLE t1 (f1 VARCHAR(512) CHARACTER SET utf8) ENGINE=InnoDB;
+INSERT INTO t1 VALUES ('j');
+
+CREATE TABLE t2 (
+ f2 VARCHAR(5) CHARACTER SET latin1,
+ f3 VARCHAR(5) CHARACTER SET utf8,
+ f4 INT,
+ f5 VARCHAR(512) CHARACTER SET utf8,
+ f6 VARCHAR(256) CHARACTER SET utf8,
+ key (f2),
+ key (f3),
+ key (f5)
+) ENGINE=InnoDB PARTITION BY LIST COLUMNS (f4)
+ SUBPARTITION BY KEY(f6) SUBPARTITIONS 4 (
+ PARTITION p0 VALUES IN (1,3,9,null),
+ PARTITION p1 VALUES IN (2,4,0)
+);
+
+INSERT INTO t2 VALUES
+ ('k','s',3,'b','j'),('a','b',NULL,'v','j'),('c','m',9,'t',NULL),
+ ('b','l',9,'b',NULL),('i','y',3,'o','w'),('c','m',NULL,'a','m'),
+ ('f','o',9,'m','w'),('f','q',NULL,'o','a');
+
+CREATE TABLE t3 LIKE t2;
+
+SELECT * FROM t1 INNER JOIN t2 ON ( f5 = f1 );
+INSERT INTO t3 SELECT * FROM t2 WHERE f3 = 'm' AND f2 ='c';
+
+DROP TABLE t1,t2,t3;
set global default_storage_engine=default;
diff --git a/mysql-test/t/plugin.test b/mysql-test/t/plugin.test
index eda70dafc30..fb608ee5bf8 100644
--- a/mysql-test/t/plugin.test
+++ b/mysql-test/t/plugin.test
@@ -121,7 +121,7 @@ SET @OLD_SQL_MODE=@@SQL_MODE;
SET SQL_MODE='IGNORE_BAD_TABLE_OPTIONS';
--echo #illegal value fixed
-CREATE TABLE t1 (a int) ENGINE=example ULL=10000000000000000000 one_or_two='ttt' YESNO=SSS;
+CREATE TABLE t1 (a int, b int) ENGINE=example ULL=10000000000000000000 one_or_two='ttt' YESNO=SSS;
show create table t1;
--echo #alter table
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test
index 4200f7435fb..9775a8dc28e 100644
--- a/mysql-test/t/ps.test
+++ b/mysql-test/t/ps.test
@@ -3618,3 +3618,18 @@ DROP VIEW v2;
DROP TABLE t1, t2;
--echo # End of 5.3 tests
+
+--echo #
+--echo # MDEV-5505: Assertion `! is_set()' fails on PREPARE SELECT
+--echo # with out of range in GROUP BY
+--echo #
+CREATE TABLE t1 (a INT);
+
+--error ER_DATA_OUT_OF_RANGE
+PREPARE stmt FROM "SELECT 1 FROM t1 GROUP BY 0 OR 18446744073709551615+1";
+--error ER_DATA_OUT_OF_RANGE
+SELECT 1 FROM t1 GROUP BY 0 OR 18446744073709551615+1;
+
+drop table t1;
+
+--echo # End of 5.3 tests
diff --git a/mysql-test/t/ps_ddl.test b/mysql-test/t/ps_ddl.test
index c34800976c7..21355ca42b7 100644
--- a/mysql-test/t/ps_ddl.test
+++ b/mysql-test/t/ps_ddl.test
@@ -1610,7 +1610,7 @@ call p_verify_reprepare_count(0);
# Base table with name of table to be created exists
--error ER_TABLE_EXISTS_ERROR
execute stmt;
-call p_verify_reprepare_count(1);
+call p_verify_reprepare_count(0);
--error ER_TABLE_EXISTS_ERROR
execute stmt;
call p_verify_reprepare_count(0);
@@ -1622,7 +1622,7 @@ execute stmt;
call p_verify_reprepare_count(0);
--error ER_TABLE_EXISTS_ERROR
execute stmt;
-call p_verify_reprepare_count(1);
+call p_verify_reprepare_count(0);
drop temporary table t2;
--error ER_TABLE_EXISTS_ERROR
execute stmt;
@@ -1641,7 +1641,7 @@ drop table t2;
create view t2 as select 1;
--error ER_TABLE_EXISTS_ERROR,9999
execute stmt;
-call p_verify_reprepare_count(1);
+call p_verify_reprepare_count(0);
--error ER_TABLE_EXISTS_ERROR,9999
execute stmt;
call p_verify_reprepare_count(0);
diff --git a/mysql-test/t/range.test b/mysql-test/t/range.test
index 5d744dba77a..f0434f50c98 100644
--- a/mysql-test/t/range.test
+++ b/mysql-test/t/range.test
@@ -1640,6 +1640,53 @@ DROP TABLE t1;
DROP VIEW v3;
--echo #
+--echo # BUG#13731380: RANGE OPTIMIZER CALLS RECORDS_IN_RANGE() FOR OPEN RANGE
+--echo #
+
+CREATE TABLE t1 (pk INT PRIMARY KEY);
+INSERT INTO t1 VALUES (1),(3),(5);
+SELECT * FROM t1 WHERE pk <> 3 OR pk < 4;
+DROP TABLE t1;
+
+--echo #
+--echo # BUG#13803810: TOO FEW ROWS RETURNED FOR RANGE ACCESS IN
+--echo # VARCHAR INDEX USING DATETIME VALUE
+--echo
+CREATE TABLE t1 (a DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 00:00:00');
+INSERT INTO t1 VALUES ('2001-01-01 11:22:33');
+
+CREATE TABLE t2 (b VARCHAR(64), KEY (b));
+INSERT INTO t2 VALUES ('2001-01-01');
+INSERT INTO t2 VALUES ('2001.01.01');
+INSERT INTO t2 VALUES ('2001#01#01');
+INSERT INTO t2 VALUES ('2001-01-01 00:00:00');
+INSERT INTO t2 VALUES ('2001-01-01 11:22:33');
+
+
+--echo
+--echo # range/ref access cannot be used for this query
+--echo
+EXPLAIN SELECT * FROM t2 WHERE b=CAST('2001-01-01' AS DATE);
+SELECT * FROM t2 WHERE b=CAST('2001-01-01' AS DATE);
+
+let $query_ab=SELECT * FROM t1, t2 WHERE a=b ORDER BY BINARY a, BINARY b;
+let $query_ba=SELECT * FROM t1, t2 WHERE b=a ORDER BY BINARY a, BINARY b;
+
+--echo
+--echo # range/ref access cannot be used for any of the queries below.
+--echo # See BUG#13814468 about 'Range checked for each record'
+--echo
+eval EXPLAIN $query_ab;
+eval $query_ab;
+--echo
+eval EXPLAIN $query_ba;
+eval $query_ba;
+
+--echo
+DROP TABLE t1,t2;
+
+--echo #
--echo # MDEV-5606: range optimizer: "x < y" is sargable, while "y > x" is not
--echo #
create table t1(a int);
diff --git a/mysql-test/t/range_vs_index_merge.test b/mysql-test/t/range_vs_index_merge.test
index fb8fd778559..7ecca454f4c 100644
--- a/mysql-test/t/range_vs_index_merge.test
+++ b/mysql-test/t/range_vs_index_merge.test
@@ -454,6 +454,8 @@ SELECT * FROM City WHERE Name LIKE 'Pa%';
# index merge retrievals over:
# 2. key1 and key3
# 3. key2 and key3
+set @tmp_range_vs_index_merge=@@optimizer_switch;
+set optimizer_switch='extended_keys=off';
EXPLAIN
SELECT * FROM City
@@ -578,6 +580,7 @@ SELECT * FROM City
DROP INDEX Population ON City;
DROP INDEX Name ON City;
+set optimizer_switch=@tmp_range_vs_index_merge;
# The pattern of the WHERE condition used in the following query is
# (key1|2_p1=c AND range(key1_p2)) OR (key1|2_p1=c AND range(key2_p2))
diff --git a/mysql-test/t/rpl_mysqldump_slave.test b/mysql-test/t/rpl_mysqldump_slave.test
index 3f39fe19c0a..77fc4a050cc 100644
--- a/mysql-test/t/rpl_mysqldump_slave.test
+++ b/mysql-test/t/rpl_mysqldump_slave.test
@@ -27,4 +27,13 @@ connection slave;
# Execute mysqldump with --dump-slave ,--apply-slave-statements and --include-master-host-port
--exec $MYSQL_DUMP_SLAVE --compact --dump-slave --apply-slave-statements --include-master-host-port test
+#
+# MDEV-5624 mysqldump --dump-slave option does not restart the replication if the dump has failed
+#
+start slave;
+--replace_regex /MASTER_LOG_POS=[0-9]+/MASTER_LOG_POS=BINLOG_START/
+--error 2
+--exec $MYSQL_DUMP_SLAVE --compact --dump-slave no_such_db
+start slave;
+
--source include/rpl_end.inc
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test
index 1174ab535ba..2d75dc48f73 100644
--- a/mysql-test/t/select.test
+++ b/mysql-test/t/select.test
@@ -4363,6 +4363,30 @@ DROP TABLE t1,t2,t_empty;
--echo End of 5.1 tests
+--echo #
+--echo # Bug#45227: Lost HAVING clause led to a wrong result.
+--echo #
+CREATE TABLE `CC` (
+ `int_nokey` int(11) NOT NULL,
+ `int_key` int(11) NOT NULL,
+ `varchar_key` varchar(1) NOT NULL,
+ `varchar_nokey` varchar(1) NOT NULL,
+ KEY `int_key` (`int_key`),
+ KEY `varchar_key` (`varchar_key`)
+);
+INSERT INTO `CC` VALUES
+(0,8,'q','q'),(5,8,'m','m'),(7,3,'j','j'),(1,2,'z','z'),(8,2,'a','a'),(2,6,'',''),(1,8,'e'
+,'e'),(8,9,'t','t'),(5,2,'q','q'),(4,6,'b','b'),(5,5,'w','w'),(3,2,'m','m'),(0,4,'x','x'),
+(8,9,'',''),(0,6,'w','w'),(4,5,'x','x'),(0,0,'e','e'),(0,0,'e','e'),(2,8,'p','p'),(0,0,'x'
+,'x');
+EXPLAIN SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+ HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+
+SELECT `varchar_nokey` G1 FROM CC WHERE `int_nokey` AND `int_key` <= 4
+ HAVING G1 ORDER BY `varchar_key` LIMIT 6 ;
+
+DROP TABLE CC;
+--echo # End of test#45227
--echo #
--echo # BUG#776274: substitution of a single row table
--echo #
@@ -4446,6 +4470,14 @@ DROP TABLE t1;
DROP VIEW view_t1;
--echo # End of test BUG#63020
+--echo #
+--echo # Bug #13571700 TINYBLOB NOT NULL, CRASH IN PROTOCOL::NET_STORE_DATA
+--echo #
+
+CREATE TABLE t1 (a TINYBLOB NOT NULL);
+SELECT a, COUNT(*) FROM t1 WHERE 0;
+DROP TABLE t1;
+
SET optimizer_switch=@save_optimizer_switch;
--echo #
diff --git a/mysql-test/t/select_found.test b/mysql-test/t/select_found.test
index d6bca6b19b1..684ae54b517 100644
--- a/mysql-test/t/select_found.test
+++ b/mysql-test/t/select_found.test
@@ -208,3 +208,43 @@ select f1 from t1,t2 where f1=f3 and f2=3 order by f1;
select found_rows();
drop table t1, t2;
+create table t1 (
+ a1 int auto_increment primary key,
+ b1 datetime,
+ c1 int
+);
+
+insert t1 (a1) values (null);
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+insert t1 (a1) select null from t1;
+update t1 set c1=a1 % 2;
+
+create table t2 (
+ a2 int,
+ b2 int,
+ c2 char(16) default '',
+ primary key (a2, b2)
+);
+
+insert t2 select a1, 1, 'ok' from t1;
+insert t2 select a1, 2, 'ko' from t1;
+insert t2 select a1, 3, 'ko' from t1;
+insert t2 select a1, 4, 'ok' from t1;
+insert t2 select a1, 5, 'ok' from t1;
+
+--disable_result_log
+select sql_calc_found_rows distinct a1,b1,c2 from t1 join t2 on a2=a1
+ where a1 <= 256 and c1=0 and c2='ok' order by b1 desc, a1 desc limit 46;
+--enable_result_log
+
+select found_rows();
+
+drop table t1, t2;
+
diff --git a/mysql-test/t/selectivity.test b/mysql-test/t/selectivity.test
index 6b38e8594ee..8cb2620550e 100644
--- a/mysql-test/t/selectivity.test
+++ b/mysql-test/t/selectivity.test
@@ -1,5 +1,9 @@
--source include/have_stat_tables.inc
+--disable_warnings
+drop table if exists t0,t1,t2,t3;
+--enable_warnings
+
select @@global.use_stat_tables;
select @@session.use_stat_tables;
@@ -749,6 +753,26 @@ SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE SQL_MODE != '';
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
--echo #
+--echo # Bug mdev-5630: always true conjunctive condition
+--echo # when optimizer_use_condition_selectivity=3
+--echo #
+
+set use_stat_tables = 'preferably';
+set optimizer_use_condition_selectivity = 3;
+
+CREATE TABLE t1 (a int) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (10);
+
+CREATE TABLE t2 (id int, flag char(1), INDEX(id)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (100,'0'),(101,'1');
+
+ANALYZE TABLE t1, t2;
+
+SELECT * FROM t1, t2 WHERE id = a AND ( a = 16 OR flag AND a != 6 );
+
+DROP TABLE t1,t2;
+
+--echo #
--echo # Bug mdev-4429: join with range condition whose selectivity == 0
--echo # when optimizer_use_condition_selectivity=3
--echo #
@@ -784,3 +808,85 @@ drop table language, country, continent;
set use_stat_tables=@save_use_stat_tables;
+--echo #
+--echo # Bug mdev-5191: performance degradation due to a suboptimal chosen plan
+--echo # when optimizer_use_condition_selectivity=3
+--echo #
+
+set use_stat_tables = 'preferably';
+
+set @@RAND_SEED1=810763568, @@RAND_SEED2=600681772;
+set TIMESTAMP=1394806993;
+
+create table t1 (a int, b int) engine=myisam;
+insert t1 values (rand()*1e5, rand()*1e5);
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+insert t1 select rand()*1e5, rand()*1e5 from t1;
+
+create table t2 (c int, d int, key(c), key(d)) engine=myisam;
+insert t2 select floor(rand()*1e5/2)*2, floor(rand()*1e5/3)*3 from t1;
+
+analyze table t1,t2;
+
+set optimizer_use_condition_selectivity=1;
+explain extended
+select * from t1, t2, t1 as t3
+ where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+select * from t1, t2, t1 as t3
+ where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+
+set optimizer_use_condition_selectivity=3;
+explain extended
+select * from t1, t2, t1 as t3
+ where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+select * from t1, t2, t1 as t3
+ where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
+
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+
+drop table t1,t2;
+
+set histogram_type=@save_histogram_type;
+set histogram_size=@save_histogram_size;
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+
+
+--echo #
+--echo # Bug mdev-5931: no where condition after constant table row substitution
+--echo # with optimizer_use_condition_selectivity=3
+--echo #
+
+CREATE TABLE t1 (a varchar(3), b varchar(3)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES ('foo', 'foo');
+
+CREATE TABLE t2 (c INT) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1), (2);
+
+set optimizer_use_condition_selectivity=3;
+
+EXPLAIN EXTENDED
+SELECT * FROM t1, t2 WHERE c >= 0 OR a = b ;
+
+SELECT * FROM t1, t2 WHERE c >= 0 OR a = b ;
+
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+
+DROP TABLE t1,t2;
+
+set use_stat_tables=@save_use_stat_tables;
diff --git a/mysql-test/t/selectivity_no_engine.test b/mysql-test/t/selectivity_no_engine.test
new file mode 100644
index 00000000000..eb6642fb5c7
--- /dev/null
+++ b/mysql-test/t/selectivity_no_engine.test
@@ -0,0 +1,112 @@
+--source include/have_stat_tables.inc
+
+--echo #
+--echo # Engine-agnostic tests for statistics-based selectivity calculations.
+--echo # - selectivity tests that depend on the engine should go into
+--echo # t/selectivity.test. That test is run with myisam/innodb/xtradb.
+--echo # - this file is for tests that don't depend on the engine.
+--echo #
+
+--disable_warnings
+drop table if exists t0,t1,t2,t3;
+--enable_warnings
+
+select @@global.use_stat_tables;
+select @@session.use_stat_tables;
+
+set @save_use_stat_tables=@@use_stat_tables;
+
+set use_stat_tables='preferably';
+
+set @save_optimizer_use_condition_selectivity=@@optimizer_use_condition_selectivity;
+set @save_histogram_size=@@histogram_size;
+set @save_histogram_type=@@histogram_type;
+
+--echo #
+--echo # MDEV-5917: EITS: different order of predicates in IN (...) causes different estimates
+--echo #
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+
+create table t2 (col1 int);
+--echo # one value in 1..100 range
+insert into t2 select A.a + B.a*10 from t1 A, t1 B;
+--echo # ten values in 100...200 range
+insert into t2 select 100 + A.a + B.a*10 from t1 A, t1 B, t1 C;
+
+set histogram_type='SINGLE_PREC_HB';
+set histogram_size=100;
+set optimizer_use_condition_selectivity=4;
+analyze table t2 persistent for all;
+
+--echo # The following two must have the same in 'Extra' column:
+explain extended select * from t2 where col1 IN (20, 180);
+explain extended select * from t2 where col1 IN (180, 20);
+
+drop table t1, t2;
+
+--echo #
+--echo # MDEV-5926: EITS: Histogram estimates for column=least_possible_value are wrong
+--echo #
+create table t0(a int);
+insert into t0 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t1(a int);
+insert into t1 select A.a from t0 A, t0 B, t0 C;
+set histogram_size=20;
+set histogram_type='single_prec_hb';
+analyze table t1 persistent for all;
+set use_stat_tables='preferably';
+set optimizer_use_condition_selectivity=4;
+--echo # Should select about 10%:
+explain extended select * from t1 where a=2;
+--echo # Should select about 10%:
+explain extended select * from t1 where a=1;
+--echo # Must not have filtered=100%:
+explain extended select * from t1 where a=0;
+--echo # Again, must not have filtered=100%:
+explain extended select * from t1 where a=-1;
+
+drop table t0, t1;
+
+--echo #
+--echo # MDEV-4362: Selectivity estimates for IN (...) do not depend on whether the values are in range
+--echo #
+create table t1 (col1 int);
+set @a=-1;
+create table t2 (a int) select (@a:=@a+1) as a from information_schema.session_variables A limit 100;
+insert into t1 select A.a from t2 A, t2 B where A.a < 100 and B.a < 100;
+select min(col1), max(col1), count(*) from t1;
+set histogram_size=100;
+analyze table t1 persistent for all;
+explain extended select * from t1 where col1 in (1,2,3);
+--echo # Must not cause fp division by zero, or produce nonsense numbers:
+explain extended select * from t1 where col1 in (-1,-2,-3);
+explain extended select * from t1 where col1<=-1;
+drop table t1, t2;
+
+--echo #
+--echo # MDEV-5984: EITS: Incorrect filtered% value for single-table select with range access
+--echo #
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+
+create table t2 (a int, b int, col1 varchar(64), col2 varchar(64), key(a,b));
+insert into t2 select A.a+10*B.a, C.a+10*D.a, 'filler-data1', 'filler-data2' from t1 A, t1 B, t1 C, t1 D;
+
+set histogram_size=100;
+set optimizer_use_condition_selectivity=4;
+set use_stat_tables='preferably';
+analyze table t2 persistent for all;
+--echo # This must show filtered=100%:
+explain extended select * from t2 where a in (1,2,3) and b in (1,2,3);
+
+drop table t2, t1;
+--echo #
+--echo # End of the test file
+--echo #
+
+set use_stat_tables= @save_use_stat_tables;
+set histogram_type=@save_histogram_type;
+set histogram_size=@save_histogram_size;
+set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
+
diff --git a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test
index 32bf5417a0a..14d50709921 100644
--- a/mysql-test/t/show_check.test
+++ b/mysql-test/t/show_check.test
@@ -1375,7 +1375,7 @@ SET NAMES latin1;
--echo #
---echo # WL#6454: Deprecate SHOW AUTHORS and SHOW CONTRIBUTORS
+--echo # Test SHOW AUTHORS and SHOW CONTRIBUTORS
--echo #
--disable_result_log
diff --git a/mysql-test/t/sp-security.test b/mysql-test/t/sp-security.test
index ca4e6b04f13..a2079e91440 100644
--- a/mysql-test/t/sp-security.test
+++ b/mysql-test/t/sp-security.test
@@ -995,6 +995,47 @@ disconnect con2;
DROP USER user2@localhost;
DROP DATABASE db1;
+--echo #
+--echo # Test for bug#12602983 - User without privilege on routine can discover
+--echo # its existence by executing "select non_existing_func();" or by
+--echo # "call non_existing_proc()";
+--echo #
+--disable_warnings
+drop database if exists mysqltest_db;
+--enable_warnings
+create database mysqltest_db;
+create function mysqltest_db.f1() returns int return 0;
+create procedure mysqltest_db.p1() begin end;
+
+--echo # Create user with no privileges on mysqltest_db database.
+create user bug12602983_user@localhost;
+
+--echo # Connect as user 'bug12602983_user@localhost'
+connect (conn1, localhost, bug12602983_user,,);
+
+--echo # Attempt to execute routine on which user doesn't have privileges
+--echo # should result in the same 'access denied' error whether
+--echo # routine exists or not.
+--error ER_PROCACCESS_DENIED_ERROR
+select mysqltest_db.f_does_not_exist();
+--error ER_PROCACCESS_DENIED_ERROR
+call mysqltest_db.p_does_not_exist();
+
+--error ER_PROCACCESS_DENIED_ERROR
+select mysqltest_db.f1();
+--error ER_PROCACCESS_DENIED_ERROR
+call mysqltest_db.p1();
+
+--error ER_PROCACCESS_DENIED_ERROR
+create view bug12602983_v1 as select mysqltest_db.f_does_not_exist();
+--error ER_PROCACCESS_DENIED_ERROR
+create view bug12602983_v1 as select mysqltest_db.f1();
+
+--echo # Connection 'default'.
+connection default;
+disconnect conn1;
+drop user bug12602983_user@localhost;
+drop database mysqltest_db;
# Wait till all disconnects are completed
--source include/wait_until_count_sessions.inc
diff --git a/mysql-test/t/stack-crash.test b/mysql-test/t/stack-crash.test
new file mode 100644
index 00000000000..d5bdccc132d
--- /dev/null
+++ b/mysql-test/t/stack-crash.test
@@ -0,0 +1,96 @@
+#
+# Test to ensure that we don't get stack overflows
+#
+
+drop table if exists t1,t2;
+
+#
+# MDEV-5724
+# Server crashes on SQL select containing more group by and left join
+# statements
+# This was because record_buffer was 300,000 bytes and caused stack overflow
+#
+
+CREATE TABLE t1 (
+ `sspo_id` int(11) NOT NULL AUTO_INCREMENT,
+ `sspo_uid` int(11) NOT NULL DEFAULT '0',
+ `sspo_type` varchar(1) NOT NULL DEFAULT 'P',
+ `sspo_text` longtext NOT NULL,
+ `sspo_image` varchar(255) NOT NULL,
+ `sspo_source` int(11) NOT NULL DEFAULT '0',
+ `sspo_event_name` varchar(255) NOT NULL DEFAULT '',
+ `sspo_event_location` varchar(255) NOT NULL DEFAULT '',
+ `sspo_event_date` datetime DEFAULT NULL,
+ `sspo_remote_title` varchar(255) NOT NULL,
+ `sspo_remote_url` varchar(255) NOT NULL,
+ `sspo_remote_desc` text NOT NULL,
+ `sspo_remote_image` varchar(255) NOT NULL,
+ `sspo_obj_status` varchar(1) NOT NULL DEFAULT 'A',
+ `sspo_cr_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+ `sspo_cr_uid` int(11) NOT NULL DEFAULT '0',
+ `sspo_lu_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+ `sspo_lu_uid` int(11) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`sspo_id`),
+ KEY `post_uid` (`sspo_uid`,`sspo_cr_date`)
+) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;
+INSERT INTO t1 VALUES (1,2,'P','test1','',0,'','',NULL,'','','','','A','2013-09-30 00:19:32',2,'2013-09-30 00:19:32',2),(2,2,'P','bbb','',0,'','',NULL,'','','','','A','2013-10-02 15:06:35',2,'2013-10-02 15:06:35',2);
+
+CREATE TABLE `t2` (
+ `spoo_id` int(11) NOT NULL AUTO_INCREMENT,
+ `spoo_user_type_id` int(11) NOT NULL DEFAULT '0',
+ `spoo_uid` int(11) NOT NULL DEFAULT '0',
+ `spoo_option_id` int(11) NOT NULL DEFAULT '0',
+ `spoo_value` varchar(10000) NOT NULL,
+ `spoo_obj_status` varchar(1) NOT NULL DEFAULT 'A',
+ `spoo_cr_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+ `spoo_cr_uid` int(11) NOT NULL DEFAULT '0',
+ `spoo_lu_date` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
+ `spoo_lu_uid` int(11) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`spoo_id`),
+ KEY `object_option_main_idx` (`spoo_user_type_id`,`spoo_uid`,`spoo_option_id`,`spoo_value`(255))
+) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8;
+INSERT INTO `t2` VALUES (19,1,2,6,'Dortmund','A','2013-09-26 01:36:51',2,'2013-09-26 01:36:51',2),(20,1,2,8,'49','A','2013-09-26 01:36:51',2,'2013-09-26 01:36:51',2);
+
+SELECT Count(*)
+FROM t1 AS tbl
+ LEFT JOIN t2 a
+ ON a.spoo_uid = sspo_uid
+ AND a.spoo_option_id = 1
+ LEFT JOIN t2 b
+ ON b.spoo_uid = sspo_uid
+ AND b.spoo_option_id = 2
+ LEFT JOIN t2 c
+ ON c.spoo_uid = sspo_uid
+ AND c.spoo_option_id = 3
+ LEFT JOIN t2 d
+ ON d.spoo_uid = sspo_uid
+ AND d.spoo_option_id = 5
+ LEFT JOIN t2 e
+ ON e.spoo_uid = sspo_uid
+ AND e.spoo_option_id = 4
+ LEFT JOIN t2 f
+ ON f.spoo_uid = sspo_uid
+ AND f.spoo_option_id = 11
+ LEFT JOIN t2 g
+ ON g.spoo_uid = sspo_uid
+ AND g.spoo_option_id = 7
+ LEFT JOIN t2 h
+ ON h.spoo_uid = sspo_uid
+ AND h.spoo_option_id = 10
+ LEFT JOIN t2 i
+ ON i.spoo_uid = sspo_uid
+ AND i.spoo_option_id = 18
+ LEFT JOIN t2 j
+ ON j.spoo_uid = sspo_uid
+ AND j.spoo_option_id = 6
+GROUP BY a.spoo_value,
+ b.spoo_value,
+ c.spoo_value,
+ d.spoo_value,
+ e.spoo_value,
+ f.spoo_value,
+ g.spoo_value,
+ h.spoo_value,
+ i.spoo_value,
+ j.spoo_value;
+drop table t1,t2;
diff --git a/mysql-test/t/stat_tables_par.test b/mysql-test/t/stat_tables_par.test
index 6c4e1be6e48..7305d1453a8 100644
--- a/mysql-test/t/stat_tables_par.test
+++ b/mysql-test/t/stat_tables_par.test
@@ -144,7 +144,7 @@ disconnect con1;
disconnect con2;
set debug_sync='RESET';
-select * from mysql.index_stats where table_name='lineitem' order by index_name;
+select * from mysql.index_stats where table_name='lineitem' order by index_name, prefix_arity;
#
# Test for parallel statistics collection and update (innodb)
@@ -217,7 +217,7 @@ connection con2;
set debug_sync='open_and_process_table WAIT_FOR parker';
set debug_sync='statistics_read_start SIGNAL go1 WAIT_FOR go2';
use dbt3_s001;
---send select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68
+--send select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68 order by prefix_arity;
connection con1;
--disable_result_log
diff --git a/mysql-test/t/statistics.test b/mysql-test/t/statistics.test
index a6ecffaaff2..36e2c5a77bd 100644
--- a/mysql-test/t/statistics.test
+++ b/mysql-test/t/statistics.test
@@ -576,8 +576,8 @@ ANALYZE TABLE City;
FLUSH TABLES;
--enable_result_log
---query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(histogram,hist_type) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='COUNTRYLANGUAGE' and UPPER(column_name) = 'PERCENTAGE';
---query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(histogram,hist_type) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='CITY' and UPPER(column_name) = 'POPULATION';
+--query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='COUNTRYLANGUAGE' and UPPER(column_name) = 'PERCENTAGE';
+--query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='CITY' and UPPER(column_name) = 'POPULATION';
set histogram_type=default;
set histogram_size=default;
diff --git a/mysql-test/t/subselect4.test b/mysql-test/t/subselect4.test
index a114af6a66b..4eb9701ee71 100644
--- a/mysql-test/t/subselect4.test
+++ b/mysql-test/t/subselect4.test
@@ -1850,6 +1850,62 @@ SELECT * FROM t1 AS t
WHERE a='r' AND (c,b) NOT IN (SELECT c,b FROM t2 WHERE (c,b)=(t.c,t.b));
DROP TABLE t1, t2;
+
+--echo #
+--echo # MDEV-5468: assertion failure with a simplified condition in subselect
+--echo #
+
+CREATE TABLE t1 (a int, b int) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,1);
+
+CREATE TABLE t2 ( pk int PRIMARY KEY, c INT) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1,4), (2,6);
+
+SELECT ( SELECT MAX(b) FROM t1, t2 WHERE pk = a AND b < from_sq.c ) AS select_sq,
+ COUNT( DISTINCT from_sq.c )
+FROM ( SELECT DISTINCT t2_1.* FROM t2 AS t2_1, t2 AS t2_2 ) AS from_sq
+GROUP BY select_sq ;
+
+DROP TABLE t1,t2;
+
+
+CREATE TABLE t1 (id int, a2 char(2), a3 char(3)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,'BE','BEL');
+
+CREATE TABLE t2 (id int, a2 char(2), a3 char(3)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1,'BE','BEL'), (2,'MX','MEX');
+CREATE VIEW v2 AS SELECT DISTINCT * FROM t2;
+
+SELECT * FROM t1 AS outer_t1, v2
+WHERE v2.a3 = outer_t1.a3
+ AND EXISTS ( SELECT * FROM t1 WHERE a2 < v2.a2 AND id = outer_t1.id )
+ AND outer_t1.a3 < 'J'
+ORDER BY v2.id;
+
+DROP VIEW v2;
+DROP TABLE t1,t2;
+
+--echo #
+--echo # MDEV-5686: degenerate disjunct in NOT IN subquery
+--echo #
+
+CREATE TABLE t1 (a int, b int, c varchar(3)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,1,'CAN'),(2,2,'AUS');
+
+CREATE TABLE t2 (f int) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (3);
+
+EXPLAIN EXTENDED
+SELECT * FROM t2
+ WHERE f NOT IN (SELECT b FROM t1
+ WHERE 0 OR (c IN ('USA') OR c NOT IN ('USA')) AND a = b);
+
+SELECT * FROM t2
+ WHERE f NOT IN (SELECT b FROM t1
+ WHERE 0 OR (c IN ('USA') OR c NOT IN ('USA')) AND a = b);
+
+DROP TABLE t1,t2;
+
--echo #
--echo # MDEV-3899 Valgrind warnings (blocks are definitely lost) in filesort on IN subquery with SUM and DISTINCT
--echo #
diff --git a/mysql-test/t/subselect_exists2in.test b/mysql-test/t/subselect_exists2in.test
index 94e7109e9d2..9450ef71494 100644
--- a/mysql-test/t/subselect_exists2in.test
+++ b/mysql-test/t/subselect_exists2in.test
@@ -735,5 +735,30 @@ drop table t1,t2,t3;
set optimizer_switch=default;
set optimizer_switch='exists_to_in=on';
+--echo #
+--echo #MDEV-5401: Wrong result (missing row) on a 2nd execution of PS with
+--echo #exists_to_in=on, MERGE view or a SELECT SQ
+--echo #
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+
+CREATE ALGORITHM=MERGE VIEW v1 AS SELECT * FROM t1;
+
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (2),(3);
+
+SELECT * FROM v1 WHERE EXISTS ( SELECT * FROM t2 t2x, t2 t2y WHERE t2y.b = a );
+
+PREPARE stmt FROM "SELECT * FROM v1 WHERE EXISTS ( SELECT * FROM t2 t2x, t2 t2y WHERE t2y.b = a )";
+EXECUTE stmt;
+EXECUTE stmt;
+
+deallocate prepare stmt;
+
+drop view v1;
+drop table t1,t2;
+
+--echo # End of 10.0 tests
+
#restore defaults
set optimizer_switch=default;
diff --git a/mysql-test/t/subselect_innodb.test b/mysql-test/t/subselect_innodb.test
index bd4f3a3c2d8..af6ec90ba74 100644
--- a/mysql-test/t/subselect_innodb.test
+++ b/mysql-test/t/subselect_innodb.test
@@ -481,3 +481,58 @@ drop table t1;
set optimizer_switch=@subselect_innodb_tmp;
+
+--echo #
+--echo # MDEV-6041: ORDER BY+subqueries: subquery_table.key=outer_table.col is not recongized as binding
+--echo #
+create table t1(a int) engine=innodb;
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+
+create table t2(
+ id int primary key,
+ key1 int,
+ col1 int,
+ key(key1)
+) engine=innodb;
+
+insert into t2
+ select
+ A.a + B.a*10 + C.a*100 + D.a* 1000,
+ A.a + 10*B.a,
+ 123456
+from t1 A, t1 B, t1 C, t1 D;
+
+--echo # Table tsubq:
+--echo # - must use 'ref' (not 'index'), and must not use 'Using filesort'
+--echo # - shows a bad estimate for 'rows' (but I'm not sure if one can do better w/o histograms)
+explain select
+ (SELECT
+ concat(id, '-', key1, '-', col1)
+ FROM t2
+ WHERE t2.key1 = t1.a
+ ORDER BY t2.id ASC LIMIT 1)
+from
+ t1;
+
+--echo #
+--echo # MDEV-6081: ORDER BY+ref(const): selectivity is very incorrect (MySQL Bug#14338686)
+--echo #
+
+alter table t2 add key2 int;
+update t2 set key2=key1;
+alter table t2 add key(key2);
+analyze table t2;
+flush tables;
+--echo # Table tsubq must use 'ref' + Using filesort (not 'index' w/o filesort)
+--replace_column 9 #
+explain select
+ (SELECT
+ concat(id, '-', key1, '-', col1)
+ FROM t2
+ WHERE t2.key1 = t1.a
+ ORDER BY t2.key2 ASC LIMIT 1)
+from
+ t1;
+
+drop table t1,t2;
+
diff --git a/mysql-test/t/subselect_sj.test b/mysql-test/t/subselect_sj.test
index a6ce3f25617..1b0076fd1e6 100644
--- a/mysql-test/t/subselect_sj.test
+++ b/mysql-test/t/subselect_sj.test
@@ -2489,6 +2489,24 @@ INSERT INTO t1 VALUES ('mysql'),('information_schema');
SELECT * FROM t1 WHERE db IN (SELECT `SCHEMA_NAME` FROM information_schema.SCHEMATA);
DROP TABLE t1;
+--echo #
+--echo # MDEV-5581: Server crashes in in JOIN::prepare on 2nd execution of PS with materialization+semijoin
+--echo #
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (2),(3);
+
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (8),(9);
+
+CREATE TABLE t3 (c INT, INDEX(c));
+INSERT INTO t2 VALUES (5),(6);
+
+PREPARE stmt FROM
+"SELECT * FROM t1 WHERE ( 9, 5 ) IN ( SELECT b, COUNT(*) FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) )";
+EXECUTE stmt;
+EXECUTE stmt;
+
+DROP TABLE t1,t2,t3;
--echo #
--echo # MySQL Bug#13340270: assertion table->sort.record_pointers == __null
diff --git a/mysql-test/t/subselect_sj2.test b/mysql-test/t/subselect_sj2.test
index 18221c90bc0..9d9e7848415 100644
--- a/mysql-test/t/subselect_sj2.test
+++ b/mysql-test/t/subselect_sj2.test
@@ -1245,6 +1245,24 @@ SELECT * FROM t1 WHERE ( 1, 1 ) IN (
DROP TABLE t1,t2,t3;
+--echo #
+--echo # MDEV-5582: Plugin 'MEMORY' has ref_count=1 after shutdown with materialization+semijoin
+--echo #
+CREATE TABLE t1 (a INT) engine=innodb;
+INSERT INTO t1 VALUES (8),(9);
+
+CREATE TABLE t2 (b INT) engine=innodb;
+INSERT INTO t2 VALUES (2),(3);
+
+CREATE TABLE t3 (c INT, INDEX(c)) engine=innodb;
+INSERT INTO t2 VALUES (4),(5);
+
+explain
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+SELECT * FROM t1 WHERE 9 IN ( SELECT b FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) );
+
+DROP TABLE t1,t2,t3;
+
--source include/have_innodb.inc
--disable_warnings
diff --git a/mysql-test/t/subselect_sj_mat.test b/mysql-test/t/subselect_sj_mat.test
index 52a73d24822..91b69a6a09c 100644
--- a/mysql-test/t/subselect_sj_mat.test
+++ b/mysql-test/t/subselect_sj_mat.test
@@ -1745,6 +1745,24 @@ EXECUTE stmt;
DROP TABLE t1, t2;
DROP VIEW v2;
+--echo #
+--echo # MDEV-5811: Server crashes in best_access_path with materialization+semijoin and big_tables=ON
+--echo #
+SET @tmp_mdev5811= @@big_tables;
+SET big_tables = ON;
+
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
+
+SELECT * FROM t1 AS t1_1, t1 AS t1_2
+ WHERE ( t1_1.a, t1_2.a ) IN ( SELECT MAX(b), MIN(b) FROM t2 );
+
+DROP TABLE t1,t2;
+SET big_tables=@tmp_mdev5811;
+
--echo # End of 5.3 tests
diff --git a/mysql-test/t/temporal_literal.test b/mysql-test/t/temporal_literal.test
index a8380fd95da..177aab0daa8 100644
--- a/mysql-test/t/temporal_literal.test
+++ b/mysql-test/t/temporal_literal.test
@@ -195,6 +195,7 @@ DROP TABLE t1;
--echo #
--echo # TIME literals in no-zero date context
--echo #
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT TO_DAYS(TIME'00:00:00');
SELECT TO_SECONDS(TIME'00:00:00');
SELECT DAYOFYEAR(TIME'00:00:00');
@@ -204,6 +205,7 @@ SELECT WEEKDAY(TIME'00:00:00');
SELECT CONVERT_TZ(TIME'00:00:00','+00:00','+01:00');
SELECT DATE_ADD(TIME'00:00:00', INTERVAL 1 HOUR);
SELECT TIMESTAMPDIFF(SECOND,TIME'00:00:00', TIME'00:00:00');
+SET timestamp=DEFAULT;
--echo #
--echo # Testing Item_func::fix_fields()
@@ -245,3 +247,82 @@ INSERT INTO t1 VALUES (TIME'10:20:30.1234567');
INSERT INTO t1 VALUES (TIME('10:20:30.1234567'));
SELECT * FROM t1;
DROP TABLE t1;
+
+--echo #
+--echo # MDEV-5969 Crash in prepared statement with NO_ZERO_IN_DATE and ROLLUP
+--echo #
+CREATE TABLE t1
+(
+ year INT NOT NULL,
+ product VARCHAR(32) NOT NULL,
+ profit INT
+);
+INSERT INTO t1 VALUES ('2001','car',101);
+INSERT INTO t1 VALUES ('2001','gas',102);
+INSERT INTO t1 VALUES ('2001','toy',103);
+INSERT INTO t1 VALUES ('2002','car',201);
+INSERT INTO t1 VALUES ('2002','gas',202);
+INSERT INTO t1 VALUES ('2002','toy',203);
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT DATE'2001-00-00' AS c,year, SUM(profit) FROM t1 GROUP BY c,year WITH ROLLUP";
+EXECUTE stmt;
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+SET sql_mode=DEFAULT;
+DROP TABLE t1;
+
+--echo #
+--echo # MDEV-5971 Asymmetry between CAST(DATE'2001-00-00') to INT and TO CHAR in prepared statements
+--echo #
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS SIGNED) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS CHAR) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS DECIMAL(30,0)) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "SELECT CAST(DATE'2001-00-00' AS DOUBLE) AS c";
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+
+--echo #
+--echo # Zero month or zero day automatically mean NULL flag, no matter SQL_MODE is.
+--echo # Only zero year is OK for NOT NULL.
+--echo #
+
+SET sql_mode=DEFAULT;
+PREPARE stmt FROM "CREATE TABLE t1 AS SELECT CAST(DATE'2001-00-00' AS CHAR) AS c";
+EXECUTE stmt;
+SHOW COLUMNS FROM t1;
+SELECT * FROM t1;
+DROP TABLE t1;
+SET sql_mode='no_zero_in_date';
+EXECUTE stmt;
+SHOW COLUMNS FROM t1;
+SELECT * FROM t1;
+DROP TABLE t1;
+SET sql_mode=DEFAULT;
+
+CREATE TABLE t1 AS SELECT
+ DATE'2001-01-01',
+ DATE'0000-01-01',
+ DATE'2001-00-00',
+ DATE'2001-00-01',
+ DATE'2001-01-00';
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
+CREATE TABLE t1 AS SELECT
+ TIMESTAMP'2001-01-01 00:00:00',
+ TIMESTAMP'0000-01-01 00:00:00',
+ TIMESTAMP'2001-00-00 00:00:00',
+ TIMESTAMP'2001-00-01 00:00:00',
+ TIMESTAMP'2001-01-00 00:00:00';
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
diff --git a/mysql-test/t/timezone2.test b/mysql-test/t/timezone2.test
index 2d61c7631f2..7a38610ad95 100644
--- a/mysql-test/t/timezone2.test
+++ b/mysql-test/t/timezone2.test
@@ -294,8 +294,10 @@ DROP TABLE t1;
--echo # MDEV-4653 Wrong result for CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5')
--echo #
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5');
SELECT CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5');
+SET timestamp=DEFAULT;
--echo #
--echo # MDEV-5506 safe_mutex: Trying to lock unitialized mutex at safemalloc.c on server shutdown after SELECT with CONVERT_TZ
diff --git a/mysql-test/t/type_float.test b/mysql-test/t/type_float.test
index b33c51566a0..96ce1bcbd9e 100644
--- a/mysql-test/t/type_float.test
+++ b/mysql-test/t/type_float.test
@@ -331,3 +331,15 @@ eval select concat((truncate((-1.7976931348623157E+307),(0x1e))),
--echo #
select format(truncate('1.7976931348623157E+308',-12),1,'fr_BE') as foo;
+
+--echo #
+--echo # Bug #13500371 63704: CONVERSION OF '1.' TO A NUMBER GIVES ERROR 1265
+--echo # (WARN_DATA_TRUNCATED)
+--echo #
+
+CREATE TABLE t1 (f FLOAT);
+INSERT INTO t1 VALUES ('1.');
+INSERT INTO t1 VALUES ('2.0.');
+INSERT INTO t1 VALUES ('.');
+SELECT * FROM t1 ORDER BY f;
+DROP TABLE t1;
diff --git a/mysql-test/t/type_time.test b/mysql-test/t/type_time.test
index 9ecd5d22a81..1daeec03a08 100644
--- a/mysql-test/t/type_time.test
+++ b/mysql-test/t/type_time.test
@@ -94,10 +94,12 @@ DROP TABLE t1;
--echo # Bug#53942 valgrind warnings with timestamp() function and incomplete datetime values
--echo #
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
CREATE TABLE t1(f1 TIME);
INSERT INTO t1 VALUES ('23:38:57');
SELECT TIMESTAMP(f1,'1') FROM t1;
DROP TABLE t1;
+SET timestamp=DEFAULT;
--echo End of 5.1 tests
@@ -126,7 +128,9 @@ drop table t1;
--echo #
--echo # MDEV-4634 Crash in CONVERT_TZ
--echo #
+SET timestamp=unix_timestamp('2001-02-03 10:20:30');
SELECT CONVERT_TZ(GREATEST(TIME('00:00:00'),TIME('00:00:00')),'+00:00','+7:5');
+SET timestamp=DEFAULT;
--echo #
--echo # MDEV-4652 Wrong result for CONCAT(GREATEST(TIME('00:00:01'),TIME('00:00:00')))
diff --git a/mysql-test/t/udf_debug_sync.test b/mysql-test/t/udf_debug_sync.test
new file mode 100644
index 00000000000..593500c1e18
--- /dev/null
+++ b/mysql-test/t/udf_debug_sync.test
@@ -0,0 +1,40 @@
+--source include/have_debug_sync.inc
+--source include/have_udf.inc
+
+#
+# MDEV-5616 - Deadlock between CREATE/DROP FUNCTION and SELECT from view
+#
+--replace_result $UDF_EXAMPLE_SO UDF_EXAMPLE_LIB
+eval CREATE FUNCTION myfunc_int RETURNS INTEGER SONAME "$UDF_EXAMPLE_SO";
+CREATE VIEW v1 AS SELECT myfunc_int(1);
+connect(con1, localhost, root,,);
+
+connection con1;
+SET debug_sync='mysql_create_function_after_lock SIGNAL locked WAIT_FOR go';
+--replace_result $UDF_EXAMPLE_SO UDF_EXAMPLE_LIB
+send_eval CREATE FUNCTION myfunc_double RETURNS REAL SONAME "$UDF_EXAMPLE_SO";
+
+connection default;
+SET debug_sync='now WAIT_FOR locked';
+SET debug_sync='find_udf_before_lock SIGNAL go';
+SELECT * FROM v1;
+FLUSH TABLES;
+
+connection con1;
+reap;
+SET debug_sync='mysql_drop_function_after_lock SIGNAL locked WAIT_FOR go';
+send DROP FUNCTION myfunc_double;
+
+connection default;
+SET debug_sync='now WAIT_FOR locked';
+SET debug_sync='find_udf_before_lock SIGNAL go';
+SELECT * FROM v1;
+
+connection con1;
+reap;
+disconnect con1;
+
+connection default;
+SET debug_sync='RESET';
+DROP VIEW v1;
+DROP FUNCTION myfunc_int;
diff --git a/mysql-test/t/union_crash-714.test b/mysql-test/t/union_crash-714.test
new file mode 100644
index 00000000000..6c31a2202cb
--- /dev/null
+++ b/mysql-test/t/union_crash-714.test
@@ -0,0 +1,9 @@
+#
+# MDEV-714 LP:1020645 - crash (sig 11) with union query
+#
+--source include/have_debug.inc
+create table t1 (i tinyint);
+set debug_dbug='+d,bug11747970_raise_error';
+--error ER_QUERY_INTERRUPTED
+insert into t1 (i) select i from t1 union select i from t1;
+drop table t1;
diff --git a/mysql-test/t/update.test b/mysql-test/t/update.test
index daa20509ab6..09d32966c50 100644
--- a/mysql-test/t/update.test
+++ b/mysql-test/t/update.test
@@ -544,3 +544,25 @@ SHOW STATUS LIKE 'HANDLER_UPDATE';
ROLLBACK;
DROP TABLE t1, t2;
+--echo #
+--echo # MDEV-4410: update does not want to use a covering index, but select uses it.
+--echo #
+create table t2(a int);
+insert into t2 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+
+create table t1 (key1 int, col1 int, key(key1));
+insert into t1
+select A.a + 10 * B.a + 100 * C.a, 1234 from t2 A, t2 B, t2 C;
+
+--echo # This must not have "Using filesort":
+explain
+update t1 set key1=key1+1 where key1 between 10 and 110 order by key1 limit 2;
+
+flush status;
+update t1 set key1=key1+1 where key1 between 10 and 110 order by key1 limit 2;
+# Handler_read_next should be 1 (due to LIMIT), not 100:
+show status like 'Handler_read%';
+
+drop table t1, t2;
+
+--echo # End of MariaDB 10.0 tests
diff --git a/mysql-test/t/view.test b/mysql-test/t/view.test
index c7a7e332236..7402e992350 100644
--- a/mysql-test/t/view.test
+++ b/mysql-test/t/view.test
@@ -141,7 +141,7 @@ drop view v100;
drop view t1;
# try to drop VIEW with DROP TABLE
--- error ER_BAD_TABLE_ERROR
+-- error ER_IT_IS_A_VIEW
drop table v1;
# try to drop table with DROP VIEW
@@ -4918,6 +4918,25 @@ deallocate prepare my_stmt;
DROP VIEW v1,v2;
DROP TABLE t1,t2,t3,t4;
+--echo #
+--echo #MDEV-5717: Server crash with insert statement containing DEFAULT into
+--echo #view
+--echo #
+CREATE TABLE t1 (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `test` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`id`)
+);
+
+CREATE VIEW v1 AS (select t1.id AS id, t1.test AS test from t1);
+
+INSERT INTO v1 SET test = DEFAULT;
+
+select * from v1;
+
+drop view v1;
+drop table t1;
+
--echo # -----------------------------------------------------------------
--echo # -- End of 5.3 tests.
--echo # -----------------------------------------------------------------
diff --git a/mysql-test/t/view_grant.test b/mysql-test/t/view_grant.test
index 847153d19f4..8907c726ae3 100644
--- a/mysql-test/t/view_grant.test
+++ b/mysql-test/t/view_grant.test
@@ -2047,6 +2047,168 @@ DROP DATABASE mysqltest1;
DROP USER 'mysqluser1'@'%';
DROP USER 'mysqluser2'@'%';
+--echo #
+--echo # Test for bug #11766767 - "59957: VIEW USING MERGE PERMISSIONS
+--echo # IN MULTI-TABLE UPDATE".
+--echo #
+--disable_warnings
+drop database if exists mysqltest1;
+drop database if exists mysqltest2;
+--enable_warnings
+--echo #
+--echo # Prepare playground.
+create database mysqltest1;
+create database mysqltest2;
+create user user_11766767;
+grant select on mysqltest1.* to user_11766767;
+grant all on mysqltest2.* to user_11766767;
+use mysqltest1;
+create table t1 (id int primary key, val varchar(20));
+insert into t1 values (1, 'test1');
+create table t11 (id int primary key);
+insert into t11 values (1);
+create algorithm=temptable view v1_temp as select * from t1;
+create algorithm=merge view v1_merge as select * from t1;
+create algorithm=temptable view v11_temp as
+ select t1.id as id, t1.val as val from t1, t11 where t1.id= t11.id;
+create algorithm=merge view v11_merge as
+ select t1.id as id, t1.val as val from t1, t11 where t1.id= t11.id;
+use mysqltest2;
+create table t2 (id int primary key, val varchar(20));
+insert into t2 values (1, 'test2');
+create table t21 (id int primary key);
+insert into t21 values (1);
+create algorithm=temptable view v2_temp as select * from t2;
+create algorithm=merge view v2_merge as select * from t2;
+create algorithm=temptable view v21_temp as
+ select t2.id as id, t2.val as val from t2, t21 where t2.id= t21.id;
+create algorithm=merge view v21_merge as
+ select t2.id as id, t2.val as val from t2, t21 where t2.id= t21.id;
+create algorithm=temptable sql security invoker view v3_temp as
+ select t1.id as id, t1.val as val from mysqltest1.t1 as t1, mysqltest1.t11 as t11
+ where t1.id = t11.id;
+create algorithm=merge sql security invoker view v3_merge as
+ select t1.id as id, t1.val as val from mysqltest1.t1 as t1, mysqltest1.t11 as t11
+ where t1.id = t11.id;
+create sql security invoker view v31 as
+ select t2.id as id, t2.val as val from mysqltest2.t2 as t2, mysqltest1.t11 as t11
+ where t2.id = t11.id;
+create sql security invoker view v4 as
+ select t2.id as id, t2.val as val from mysqltest2.t2 as t2, mysqltest1.v1_merge as v1
+ where t2.id = v1.id;
+create sql security invoker view v41 as
+ select v1.id as id, v1.val as val from mysqltest2.t2 as t2, mysqltest1.v1_merge as v1
+ where t2.id = v1.id;
+create sql security invoker view v42 as
+ select v2.id as id, v2.val as val from mysqltest2.t2 as t2, mysqltest2.v2_merge as v2
+ where t2.id = v2.id;
+
+
+--echo #
+--echo # Connect as user_11766767
+connect (conn_11766767, localhost, user_11766767,,);
+
+--echo #
+--echo # A) Check how we handle privilege checking in multi-update for
+--echo # directly used views.
+--echo #
+--echo # A.1) Originally reported problem, view is used in read-only mode.
+--echo # This should work with only SELECT privilege for both mergeable
+--echo # and temptable algorithms.
+update mysqltest2.t2 as t2, mysqltest1.v1_merge as v1 set t2.val= 'test3'
+ where t2.id= v1.id;
+update mysqltest2.t2 as t2, mysqltest1.v1_temp as v1 set t2.val= 'test4'
+ where t2.id= v1.id;
+--echo #
+--echo # A.2) If view is updated an UPDATE privilege on it is required.
+--echo # Temptable views can't be updated.
+--error ER_TABLEACCESS_DENIED_ERROR
+update mysqltest2.t2 as t2, mysqltest1.v1_merge as v1 set v1.val= 'test5'
+ where t2.id= v1.id;
+update mysqltest1.t1 as t1, mysqltest2.v2_merge as v2 set v2.val= 'test6'
+ where t1.id= v2.id;
+--echo #
+--echo # Note that the below error is OK even though user lacks UPDATE
+--echo # privilege on v1_temp since he/she still has SELECT privilege on
+--echo # this view.
+--error ER_NON_UPDATABLE_TABLE
+update mysqltest2.t2 as t2, mysqltest1.v1_temp as v1 set v1.val= 'test7'
+ where t2.id= v1.id;
+--error ER_NON_UPDATABLE_TABLE
+update mysqltest1.t1 as t1, mysqltest2.v2_temp as v2 set v2.val= 'test8'
+ where t1.id= v2.id;
+--echo #
+--echo # A.3) This also works for correctly for multi-table views.
+--echo # When usage is read-only SELECT is enough.
+update mysqltest2.t2 as t2, mysqltest1.v11_merge as v11 set t2.val= 'test9'
+ where t2.id= v11.id;
+update mysqltest2.t2 as t2, mysqltest1.v11_temp as v11 set t2.val= 'test10'
+ where t2.id= v11.id;
+--echo # When one of view's tables is updated, UPDATE is required
+--echo # on a view.
+--error ER_TABLEACCESS_DENIED_ERROR
+update mysqltest2.t2 as t2, mysqltest1.v11_merge as v11 set v11.val= 'test11'
+ where t2.id= v11.id;
+update mysqltest1.t1 as t1, mysqltest2.v21_merge as v21 set v21.val= 'test12'
+ where t1.id= v21.id;
+--echo # As before, temptable views are not updateable.
+--error ER_NON_UPDATABLE_TABLE
+update mysqltest2.t2 as t2, mysqltest1.v11_temp as v11 set v11.val= 'test13'
+ where t2.id= v11.id;
+--error ER_NON_UPDATABLE_TABLE
+update mysqltest1.t1 as t1, mysqltest2.v21_temp as v21 set v21.val= 'test14'
+ where t1.id= v21.id;
+
+--echo #
+--echo # B) Now check that correct privileges are required on underlying
+--echo # tables. To simplify this part of test we will use SECURITY
+--echo # INVOKER views in it.
+--echo #
+--echo # B.1) In case when view is used for read only it is enough to have
+--echo # SELECT on its underlying tables.
+update mysqltest2.t2 as t2, mysqltest2.v3_merge as v3 set t2.val= 'test15'
+ where t2.id= v3.id;
+update mysqltest2.t2 as t2, mysqltest2.v3_temp as v3 set t2.val= 'test16'
+ where t2.id= v3.id;
+--echo #
+--echo # B.2) If view is updated, UPDATE privilege on the table being updated
+--echo # is required (since we already checked that temptable views are
+--echo # not updateable we don't test them here).
+--error ER_VIEW_INVALID
+update mysqltest2.t2 as t2, mysqltest2.v3_merge as v3 set v3.val= 'test17'
+ where t2.id= v3.id;
+update mysqltest1.t11 as t11, mysqltest2.v31 as v31 set v31.val= 'test18'
+ where t11.id= v31.id;
+
+--disable_ps_protocol
+--echo #
+--echo # C) Finally, check how we handle privilege checking in case when
+--echo # view is used through another view. Again we will use SECURITY
+--echo # INVOKER views for simplicity.
+--echo #
+--echo # C.1) As usual, when a view used by another view is going to be used
+--echo # in read-only fashion, only SELECT privilege is necessary.
+update mysqltest1.t11 as t11, mysqltest2.v4 as v4 set v4.val= 'test19'
+ where t11.id= v4.id;
+--echo #
+--echo # C.2) If one of underlying tables of the view is updated then
+--echo # UPDATE on a view is necessary.
+--error ER_VIEW_INVALID
+update mysqltest1.t11 as t11, mysqltest2.v41 as v4 set v4.val= 'test20'
+ where t11.id= v4.id;
+update mysqltest1.t11 as t11, mysqltest2.v42 as v4 set v4.val= 'test20'
+ where t11.id= v4.id;
+--enable_ps_protocol
+
+--echo #
+--echo # Clean-up.
+--echo #
+--echo # Switching to connection 'default'.
+disconnect conn_11766767;
+connection default;
+drop user user_11766767;
+drop database mysqltest1;
+drop database mysqltest2;
# Wait till we reached the initial number of concurrent sessions
--source include/wait_until_count_sessions.inc
diff --git a/mysql-test/t/xml.test b/mysql-test/t/xml.test
index cdc6bd6f91e..bc9a74fd8cd 100644
--- a/mysql-test/t/xml.test
+++ b/mysql-test/t/xml.test
@@ -673,6 +673,11 @@ SELECT UPDATEXML('<a><c><a>x</a></c></a>','(a)/a','<b />');
SELECT UPDATEXML('<a><c><a>x</a></c></a>','(a)//a','<b />');
SELECT ExtractValue('<a><a>aa</a><b>bb</b></a>','(a)/a|(a)/b');
+#
+# MDEV-5689 ExtractValue(xml, 'substring(/x,/y)') crashes
+# MySQL bug#12428404 MYSQLD.EXE CRASHES WHEN EXTRACTVALUE() IS CALLED WITH MALFORMED XPATH EXP
+#
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,..)');
--echo #
--echo # Bug#62429 XML: ExtractValue, UpdateXML max arg length 127 chars
@@ -702,6 +707,36 @@ INSERT INTO t1 VALUES (CONCAT('<a><', REPEAT('b',128),'>b128</',REPEAT('b',128),
SELECT ExtractValue (a, CONCAT('//',REPEAT('c',512))) AS c512 FROM t1;
DROP TABLE t1;
+--horizontal_results
+
--echo #
--echo # End of 5.5 tests
--echo #
+
+--echo #
+--echo # Start of 10.0 tests
+--echo #
+
+
+--echo #
+--echo # MDEV-5689 ExtractValue(xml, 'substring(/x,/y)') crashes
+--echo #
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,..)') AS e;
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/c)') AS e;
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/d)') AS e;
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/c,/a/d)') AS e;
+SELECT ExtractValue('<a><b>abc</b><c>2</c><d>1</d></a>','substring(/a/b,/a/d,/a/c)') AS e;
+
+--echo #
+--echo # MDEV-5709 ExtractValue() with XPath variable references returns wrong result
+--echo #
+CREATE TABLE t1 (c1 INT, c2 VARCHAR(10));
+INSERT INTO t1 VALUES (1,'b1'),(2,'b2');
+SELECT *,IF(@i:=c1,ExtractValue('<a><b>b1</b><b>b2</b></a>','//b[$@i]'),0) AS xpath FROM t1;
+SELECT * FROM t1 WHERE c2=IF(@i:=c1,ExtractValue('<a><b>b1</b><b>b2</b></a>','//b[$@i]'),0);
+DROP TABLE t1;
+
+
+--echo #
+--echo # End of 10.0 tests
+--echo #
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp
index 754991e9014..45499e5891f 100644
--- a/mysql-test/valgrind.supp
+++ b/mysql-test/valgrind.supp
@@ -118,6 +118,15 @@
}
{
+ pthread memalign memory loss2
+ Memcheck:Leak
+ fun:memalign
+ fun:tls_get_addr_tail
+ ...
+ fun:*ha_initialize_handlerton*
+}
+
+{
pthread pthread_key_create
Memcheck:Leak
fun:malloc
@@ -583,6 +592,26 @@
fun:dl_open_worker
}
+{
+ libc pthread_exit 9
+ Memcheck:Leak
+ fun:malloc
+ fun:local_strdup
+ fun:_dl_map_object
+ fun:openaux
+ fun:_dl_catch_error
+}
+
+{
+ libc do_lookup_x
+ Memcheck:Leak
+ fun:calloc
+ fun:do_lookup_x
+ fun:_dl_lookup_symbol_x
+ ...
+ fun:_dl_catch_error
+}
+
#
# This is seen internally in the system libraries on 64-bit RHAS3.
#
@@ -1209,3 +1238,12 @@
...
obj:*/libodbc.so*
}
+
+{
+ XtraDB uses gcc __thread variables
+ Memcheck:Leak
+ fun:memalign
+ fun:*
+ fun:__tls_get_addr
+}
+
diff --git a/mysys/array.c b/mysys/array.c
index e92c5b45e67..a8c5d181638 100644
--- a/mysys/array.c
+++ b/mysys/array.c
@@ -22,7 +22,7 @@
Initiate dynamic array
SYNOPSIS
- my_init_dynamic_array2()
+ init_dynamic_array2()
array Pointer to an array
element_size Size of element
init_buffer Initial buffer pointer
@@ -31,7 +31,7 @@
my_flags Flags to my_malloc
DESCRIPTION
- my_init_dynamic_array2() initiates array and allocate space for
+ init_dynamic_array() initiates array and allocate space for
init_alloc eilements.
Array is usable even if space allocation failed, hence, the
function never returns TRUE.
@@ -41,11 +41,11 @@
FALSE Ok
*/
-my_bool my_init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
+my_bool init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
void *init_buffer, uint init_alloc,
uint alloc_increment, myf my_flags)
{
- DBUG_ENTER("my_init_dynamic_array2");
+ DBUG_ENTER("init_dynamic_array2");
if (!alloc_increment)
{
alloc_increment=MY_MAX((8192-MALLOC_OVERHEAD)/element_size,16);
diff --git a/mysys/file_logger.c b/mysys/file_logger.c
index 4c07b8c7854..da8b5c8d531 100644
--- a/mysys/file_logger.c
+++ b/mysys/file_logger.c
@@ -16,6 +16,7 @@
#include "my_global.h"
#include <my_sys.h>
+#include <m_string.h>
#include <mysql/service_logger.h>
#include <my_pthread.h>
diff --git a/mysys/hash.c b/mysys/hash.c
index 25210d3fcfe..4ef731cde15 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -40,12 +40,12 @@ static void movelink(HASH_LINK *array,uint pos,uint next_link,uint newlink);
static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key,
size_t length);
-static my_hash_value_type calc_hash(const HASH *hash,
- const uchar *key, size_t length)
+my_hash_value_type my_hash_sort(const CHARSET_INFO *cs, const uchar *key,
+ size_t length)
{
- ulong nr1=1, nr2=4;
- hash->charset->coll->hash_sort(hash->charset,(uchar*) key,length,&nr1,&nr2);
- return (my_hash_value_type)nr1;
+ ulong nr1= 1, nr2= 4;
+ cs->coll->hash_sort(cs, (uchar*) key, length, &nr1, &nr2);
+ return (my_hash_value_type) nr1;
}
/**
@@ -78,6 +78,7 @@ my_bool
my_hash_init2(HASH *hash, uint growth_size, CHARSET_INFO *charset,
ulong size, size_t key_offset, size_t key_length,
my_hash_get_key get_key,
+ my_hash_function hash_function,
void (*free_element)(void*), uint flags)
{
my_bool res;
@@ -89,6 +90,7 @@ my_hash_init2(HASH *hash, uint growth_size, CHARSET_INFO *charset,
hash->key_length=key_length;
hash->blength=1;
hash->get_key=get_key;
+ hash->hash_function= hash_function ? hash_function : my_hash_sort;
hash->free=free_element;
hash->flags=flags;
hash->charset=charset;
@@ -200,7 +202,8 @@ static uint my_hash_rec_mask(const HASH *hash, HASH_LINK *pos,
{
size_t length;
uchar *key= (uchar*) my_hash_key(hash, pos->data, &length, 0);
- return my_hash_mask(calc_hash(hash, key, length), buffmax, maxlength);
+ return my_hash_mask(hash->hash_function(hash->charset, key, length), buffmax,
+ maxlength);
}
@@ -214,7 +217,7 @@ my_hash_value_type rec_hashnr(HASH *hash,const uchar *record)
{
size_t length;
uchar *key= (uchar*) my_hash_key(hash, record, &length, 0);
- return calc_hash(hash,key,length);
+ return hash->hash_function(hash->charset, key, length);
}
@@ -234,12 +237,6 @@ uchar* my_hash_search_using_hash_value(const HASH *hash,
key, length, &state);
}
-my_hash_value_type my_calc_hash(const HASH *hash,
- const uchar *key, size_t length)
-{
- return calc_hash(hash, key, length ? length : hash->key_length);
-}
-
/*
Search after a record based on a key
@@ -254,7 +251,8 @@ uchar* my_hash_first(const HASH *hash, const uchar *key, size_t length,
uchar *res;
if (my_hash_inited(hash))
res= my_hash_first_from_hash_value(hash,
- calc_hash(hash, key, length ? length : hash->key_length),
+ hash->hash_function(hash->charset, key,
+ length ? length : hash->key_length),
key, length, current_record);
else
res= 0;
@@ -644,9 +642,9 @@ my_bool my_hash_update(HASH *hash, uchar *record, uchar *old_key,
/* Search after record with key */
- idx= my_hash_mask(calc_hash(hash, old_key, (old_key_length ?
- old_key_length :
- hash->key_length)),
+ idx= my_hash_mask(hash->hash_function(hash->charset, old_key,
+ (old_key_length ? old_key_length :
+ hash->key_length)),
blength, records);
new_index= my_hash_mask(rec_hashnr(hash, record), blength, records);
if (idx == new_index)
diff --git a/mysys/ma_dyncol.c b/mysys/ma_dyncol.c
index 3c77e5f820a..3b5e05f1b01 100644
--- a/mysys/ma_dyncol.c
+++ b/mysys/ma_dyncol.c
@@ -117,7 +117,7 @@ my_bool mariadb_dyncol_has_names(DYNAMIC_COLUMN *str)
{
if (str->length < 1)
return FALSE;
- return test(str->str[0] & DYNCOL_FLG_NAMES);
+ return MY_TEST(str->str[0] & DYNCOL_FLG_NAMES);
}
static enum enum_dyncol_func_result
@@ -1616,7 +1616,7 @@ dynamic_new_column_store(DYNAMIC_COLUMN *str,
enum enum_dyncol_func_result rc= ER_DYNCOL_RESOURCE;
size_t all_headers_size;
- if (!(columns_order= malloc(sizeof(void*)*column_count)))
+ if (column_count && !(columns_order= malloc(sizeof(void*)*column_count)))
return ER_DYNCOL_RESOURCE;
if (new_str || str->str == 0)
{
@@ -3959,7 +3959,7 @@ mariadb_dyncol_val_long(longlong *ll, DYNAMIC_COLUMN_VALUE *val)
{
sign= -1;
src++;
- } else if (*src == '-')
+ } else if (*src == '+')
src++;
while(len && my_isdigit(&my_charset_latin1, *src))
{
@@ -4032,7 +4032,7 @@ mariadb_dyncol_val_double(double *dbl, DYNAMIC_COLUMN_VALUE *val)
case DYN_COL_STRING:
{
char *str, *end;
- if ((str= malloc(val->x.string.value.length + 1)))
+ if (!(str= malloc(val->x.string.value.length + 1)))
return ER_DYNCOL_RESOURCE;
memcpy(str, val->x.string.value.str, val->x.string.value.length);
str[val->x.string.value.length]= '\0';
@@ -4317,6 +4317,18 @@ err:
}
/**
+ Free arrays allocated by mariadb_dyncol_unpack()
+
+ @param names Where to put names (should be free by user)
+ @param vals Where to put values (should be free by user)
+*/
+void mariadb_dyncol_unpack_free(LEX_STRING *names, DYNAMIC_COLUMN_VALUE *vals)
+{
+ my_free(names);
+ my_free(vals);
+}
+
+/**
Get not NULL column count
@param str The packed string
diff --git a/mysys/md5.c.THIS b/mysys/md5.c.THIS
index b4c2cb569fb..829eea50d22 100644
--- a/mysys/md5.c.THIS
+++ b/mysys/md5.c.THIS
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c
index 3fa6ec28f7d..a3cbaff68b0 100644
--- a/mysys/mf_iocache.c
+++ b/mysys/mf_iocache.c
@@ -179,7 +179,7 @@ int init_io_cache(IO_CACHE *info, File file, size_t cachesize,
DBUG_ASSERT(seek_offset == 0);
}
else
- info->seek_not_done= test(seek_offset != pos);
+ info->seek_not_done= MY_TEST(seek_offset != pos);
}
info->disk_writes= 0;
@@ -1281,10 +1281,6 @@ read_append_buffer:
size_t transfer_len;
DBUG_ASSERT(info->append_read_pos <= info->write_pos);
- /*
- TODO: figure out if the assert below is needed or correct.
- */
- DBUG_ASSERT(pos_in_file == info->end_of_file);
copy_len=MY_MIN(Count, len_in_buff);
memcpy(Buffer, info->append_read_pos, copy_len);
info->append_read_pos += copy_len;
diff --git a/mysys/mf_keycache.c b/mysys/mf_keycache.c
index 1ee71e55b68..d4c4f8c9997 100644
--- a/mysys/mf_keycache.c
+++ b/mysys/mf_keycache.c
@@ -1,5 +1,4 @@
-/*
- Copyright (c) 2000, 2011, Oracle and/or its affiliates
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -5651,7 +5650,7 @@ int flush_partitioned_key_cache_blocks(PARTITIONED_KEY_CACHE_CB *keycache,
if ((type == FLUSH_KEEP || type == FLUSH_FORCE_WRITE) &&
!((*dirty_part_map) & ((ulonglong) 1 << i)))
continue;
- err|= test(flush_simple_key_cache_blocks(partition, file, 0, type));
+ err|= MY_TEST(flush_simple_key_cache_blocks(partition, file, 0, type));
}
*dirty_part_map= 0;
diff --git a/mysys/mf_qsort.c b/mysys/mf_qsort.c
index e681ac9cec4..3e91c0ac0b0 100644
--- a/mysys/mf_qsort.c
+++ b/mysys/mf_qsort.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000-2002, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/mf_radix.c b/mysys/mf_radix.c
index 7ae4ac9211f..11c4ac45a93 100644
--- a/mysys/mf_radix.c
+++ b/mysys/mf_radix.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/mf_same.c b/mysys/mf_same.c
index b4af4cbf1b6..244dc650d8b 100644
--- a/mysys/mf_same.c
+++ b/mysys/mf_same.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2001, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/mf_soundex.c b/mysys/mf_soundex.c
index b3718f20b3f..2784d112805 100644
--- a/mysys/mf_soundex.c
+++ b/mysys/mf_soundex.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2002, 2004, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/mf_tempdir.c b/mysys/mf_tempdir.c
index 4f4513490ea..2fbbedc4e89 100644
--- a/mysys/mf_tempdir.c
+++ b/mysys/mf_tempdir.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -43,7 +43,7 @@ my_bool init_tmpdir(MY_TMPDIR *tmpdir, const char *pathlist)
pathlist=getenv("TMP");
#endif
if (!pathlist || !pathlist[0])
- pathlist=(char*) DEFAULT_TMPDIR;
+ pathlist= DEFAULT_TMPDIR;
}
do
{
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c
index 5ff139bc92a..62b3e09747f 100644
--- a/mysys/mf_tempfile.c
+++ b/mysys/mf_tempfile.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -111,7 +111,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix,
sizeof(prefix_buff)-7),"XXXXXX") -
prefix_buff);
if (!dir && ! (dir =getenv("TMPDIR")))
- dir=DEFAULT_TMPDIR;
+ dir= DEFAULT_TMPDIR;
if (strlen(dir)+ pfx_len > FN_REFLEN-2)
{
errno=my_errno= ENAMETOOLONG;
diff --git a/mysys/mf_wcomp.c b/mysys/mf_wcomp.c
index 74e6fccb5a1..fe64d06f2db 100644
--- a/mysys/mf_wcomp.c
+++ b/mysys/mf_wcomp.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2003, 2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/mulalloc.c b/mysys/mulalloc.c
index 2caac6997ee..9384ed744ad 100644
--- a/mysys/mulalloc.c
+++ b/mysys/mulalloc.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2002, 2003, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_access.c b/mysys/my_access.c
index 1b63b827592..68cd01d33e6 100644
--- a/mysys/my_access.c
+++ b/mysys/my_access.c
@@ -1,5 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
- Copyright (c) 2012, Monty Program Ab
+/* Copyright (c) 2000, 2012, Oracle and/or its affiliates
+ Copyright (c) 2012, 2014, SkySQL Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_aes.c.THIS b/mysys/my_aes.c.THIS
index 5c52a0b1ab5..7074f700413 100644
--- a/mysys/my_aes.c.THIS
+++ b/mysys/my_aes.c.THIS
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002 MySQL AB
+/* Copyright (c) 2002, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_alloc.c b/mysys/my_alloc.c
index d61c7e171d0..fc30185eb5a 100644
--- a/mysys/my_alloc.c
+++ b/mysys/my_alloc.c
@@ -61,7 +61,7 @@ void init_alloc_root(MEM_ROOT *mem_root, size_t block_size,
mem_root->free= mem_root->used= mem_root->pre_alloc= 0;
mem_root->min_malloc= 32;
mem_root->block_size= (block_size - ALLOC_ROOT_MIN_BLOCK_SIZE) & ~1;
- if (test(my_flags & MY_THREAD_SPECIFIC))
+ if (MY_TEST(my_flags & MY_THREAD_SPECIFIC))
mem_root->block_size|= 1;
mem_root->error_handler= 0;
diff --git a/mysys/my_bitmap.c b/mysys/my_bitmap.c
index 3105f4b1daf..67c478659b5 100644
--- a/mysys/my_bitmap.c
+++ b/mysys/my_bitmap.c
@@ -167,10 +167,10 @@ static inline uint get_first_set(my_bitmap_map value, uint word_pos)
}
-my_bool bitmap_init(MY_BITMAP *map, my_bitmap_map *buf, uint n_bits,
- my_bool thread_safe __attribute__((unused)))
+my_bool my_bitmap_init(MY_BITMAP *map, my_bitmap_map *buf, uint n_bits,
+ my_bool thread_safe __attribute__((unused)))
{
- DBUG_ENTER("bitmap_init");
+ DBUG_ENTER("my_bitmap_init");
if (!buf)
{
uint size_in_bytes= bitmap_buffer_size(n_bits);
@@ -202,9 +202,9 @@ my_bool bitmap_init(MY_BITMAP *map, my_bitmap_map *buf, uint n_bits,
}
-void bitmap_free(MY_BITMAP *map)
+void my_bitmap_free(MY_BITMAP *map)
{
- DBUG_ENTER("bitmap_free");
+ DBUG_ENTER("my_bitmap_free");
if (map->bitmap)
{
if (map->mutex)
diff --git a/mysys/my_conio.c b/mysys/my_conio.c
index 85ea99196a4..0af5706cace 100644
--- a/mysys/my_conio.c
+++ b/mysys/my_conio.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2005, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_copy.c b/mysys/my_copy.c
index 58cacb9639d..8af572b5518 100644
--- a/mysys/my_copy.c
+++ b/mysys/my_copy.c
@@ -66,7 +66,7 @@ int my_copy(const char *from, const char *to, myf MyFlags)
from_file=to_file= -1;
DBUG_ASSERT(!(MyFlags & (MY_FNABP | MY_NABP))); /* for my_read/my_write */
if (MyFlags & MY_HOLD_ORIGINAL_MODES) /* Copy stat if possible */
- new_file_stat= test(my_stat((char*) to, &new_stat_buff, MYF(0)));
+ new_file_stat= MY_TEST(my_stat((char*) to, &new_stat_buff, MYF(0)));
if ((from_file=my_open(from,O_RDONLY | O_SHARE,MyFlags)) >= 0)
{
diff --git a/mysys/my_crc32.c b/mysys/my_crc32.c
index 27800098f12..0981c75755d 100644
--- a/mysys/my_crc32.c
+++ b/mysys/my_crc32.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_delete.c b/mysys/my_delete.c
index c1a821e90c2..e99c7ff5fcb 100644
--- a/mysys/my_delete.c
+++ b/mysys/my_delete.c
@@ -150,4 +150,4 @@ error:
my_osmaperr(last_error);
DBUG_RETURN(-1);
}
-#endif \ No newline at end of file
+#endif
diff --git a/mysys/my_div.c b/mysys/my_div.c
index 29f04a7a01b..660b87e5ab4 100644
--- a/mysys/my_div.c
+++ b/mysys/my_div.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2002, 2004, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_error.c b/mysys/my_error.c
index 1200385a43d..5d16091e0be 100644
--- a/mysys/my_error.c
+++ b/mysys/my_error.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_fopen.c b/mysys/my_fopen.c
index f1a4d078440..ede434f2c32 100644
--- a/mysys/my_fopen.c
+++ b/mysys/my_fopen.c
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 1985-2011 Monty Program Ab
+/* Copyright (c) 2000, 2012, Oracle and/or its affiliates
+ Copyright (c) 1985, 2011, Monty Program Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_gethwaddr.c b/mysys/my_gethwaddr.c
index aa63138b48c..208f2ff902a 100644
--- a/mysys/my_gethwaddr.c
+++ b/mysys/my_gethwaddr.c
@@ -134,7 +134,7 @@ err:
#elif defined(_WIN32)
#include <winsock2.h>
#include <iphlpapi.h>
-#pragma comment(lib, "iphlpapi.lib")
+#pragma comment(lib, "iphlpapi.lib")
#define ETHER_ADDR_LEN 6
diff --git a/mysys/my_getpagesize.c b/mysys/my_getpagesize.c
index 2c2804dfab8..e1c1fcb168d 100644
--- a/mysys/my_getpagesize.c
+++ b/mysys/my_getpagesize.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2003 MySQL AB
+/* Copyright (c) 2000-2003, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_getwd.c b/mysys/my_getwd.c
index 79ec58d3c5c..fbdcef88bda 100644
--- a/mysys/my_getwd.c
+++ b/mysys/my_getwd.c
@@ -157,12 +157,12 @@ int test_if_hard_path(register const char *dir_name)
my_bool has_path(const char *name)
{
- return test(strchr(name, FN_LIBCHAR))
+ return MY_TEST(strchr(name, FN_LIBCHAR))
#if FN_LIBCHAR != '/'
- || test(strchr(name,'/'))
+ || MY_TEST(strchr(name, '/'))
#endif
#ifdef FN_DEVCHAR
- || test(strchr(name, FN_DEVCHAR))
+ || MY_TEST(strchr(name, FN_DEVCHAR))
#endif
;
}
diff --git a/mysys/my_libwrap.c b/mysys/my_libwrap.c
index dea4bca114e..1cbfa83030b 100644
--- a/mysys/my_libwrap.c
+++ b/mysys/my_libwrap.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_lockmem.c b/mysys/my_lockmem.c
index 2e036936c70..3e27564f100 100644
--- a/mysys/my_lockmem.c
+++ b/mysys/my_lockmem.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_malloc.c b/mysys/my_malloc.c
index 2f3a5276a59..e533230106e 100644
--- a/mysys/my_malloc.c
+++ b/mysys/my_malloc.c
@@ -1,6 +1,6 @@
/*
- Copyright (c) 2000, 2010, Oracle and/or its affiliates
- Copyright (c) 2009, 2013, Monty Program Ab.
+ Copyright (c) 2000, 2013, Oracle and/or its affiliates
+ Copyright (c) 2009, 2014, SkySQL Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -112,9 +112,10 @@ void *my_malloc(size_t size, myf my_flags)
}
else
{
- MALLOC_STORE_SIZE(point, void*, size, test(my_flags & MY_THREAD_SPECIFIC));
+ MALLOC_STORE_SIZE(point, void*, size,
+ MY_TEST(my_flags & MY_THREAD_SPECIFIC));
update_malloc_size(size + MALLOC_PREFIX_SIZE,
- test(my_flags & MY_THREAD_SPECIFIC));
+ MY_TEST(my_flags & MY_THREAD_SPECIFIC));
DBUG_EXECUTE_IF("simulate_out_of_memory",
{
/* my_free() handles memory accounting */
@@ -158,7 +159,7 @@ void *my_realloc(void *oldpoint, size_t size, myf my_flags)
Test that the new and old area are the same, if not MY_THREAD_MOVE is
given
*/
- DBUG_ASSERT((test(my_flags & MY_THREAD_SPECIFIC) == old_flags) ||
+ DBUG_ASSERT((MY_TEST(my_flags & MY_THREAD_SPECIFIC) == old_flags) ||
(my_flags & MY_THREAD_MOVE));
if ((point= sf_realloc(MALLOC_FIX_POINTER_FOR_FREE(oldpoint),
size + MALLOC_PREFIX_SIZE, my_flags)) == NULL)
@@ -177,13 +178,14 @@ void *my_realloc(void *oldpoint, size_t size, myf my_flags)
}
else
{
- MALLOC_STORE_SIZE(point, void*, size, test(my_flags & MY_THREAD_SPECIFIC));
- if (test(my_flags & MY_THREAD_SPECIFIC) != old_flags)
+ MALLOC_STORE_SIZE(point, void*, size,
+ MY_TEST(my_flags & MY_THREAD_SPECIFIC));
+ if (MY_TEST(my_flags & MY_THREAD_SPECIFIC) != old_flags)
{
/* memory moved between system and thread specific */
update_malloc_size(-(longlong) old_size - MALLOC_PREFIX_SIZE, old_flags);
update_malloc_size((longlong) size + MALLOC_PREFIX_SIZE,
- test(my_flags & MY_THREAD_SPECIFIC));
+ MY_TEST(my_flags & MY_THREAD_SPECIFIC));
}
else
update_malloc_size((longlong)size - (longlong)old_size, old_flags);
diff --git a/mysys/my_memmem.c b/mysys/my_memmem.c
index 5184037ed39..5806c502b2b 100644
--- a/mysys/my_memmem.c
+++ b/mysys/my_memmem.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2006, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_mkdir.c b/mysys/my_mkdir.c
index 0e77180cd75..5e9691f5b91 100644
--- a/mysys/my_mkdir.c
+++ b/mysys/my_mkdir.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2001, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_once.c b/mysys/my_once.c
index b9232db9b2e..dfd5de81ac7 100644
--- a/mysys/my_once.c
+++ b/mysys/my_once.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_rename.c b/mysys/my_rename.c
index 8a9e6eb3dfd..09e7eafa980 100644
--- a/mysys/my_rename.c
+++ b/mysys/my_rename.c
@@ -27,19 +27,18 @@ int my_rename(const char *from, const char *to, myf MyFlags)
DBUG_ENTER("my_rename");
DBUG_PRINT("my",("from %s to %s MyFlags %lu", from, to, MyFlags));
-#if defined(HAVE_RENAME)
#if defined(__WIN__)
- /*
- On windows we can't rename over an existing file:
- Remove any conflicting files:
- */
- (void) my_delete(to, MYF(0));
-#endif
+ if (!MoveFileEx(from, to, MOVEFILE_COPY_ALLOWED |
+ MOVEFILE_REPLACE_EXISTING))
+ {
+ my_osmaperr(GetLastError());
+#elif defined(HAVE_RENAME)
if (rename(from,to))
+ {
#else
if (link(from, to) || unlink(from))
-#endif
{
+#endif
my_errno=errno;
error = -1;
if (MyFlags & (MY_FAE+MY_WME))
diff --git a/mysys/my_symlink2.c b/mysys/my_symlink2.c
index e8ac1dedec1..fcaf78ccff6 100644
--- a/mysys/my_symlink2.c
+++ b/mysys/my_symlink2.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2001, 2003, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/my_wincond.c b/mysys/my_wincond.c
index f88e33e17f3..6674a5d394d 100644
--- a/mysys/my_wincond.c
+++ b/mysys/my_wincond.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -289,7 +289,7 @@ int pthread_cond_signal(pthread_cond_t *cond)
int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
- struct timespec *abstime)
+ const struct timespec *abstime)
{
if (have_native_conditions)
{
diff --git a/mysys/my_winthread.c b/mysys/my_winthread.c
index d7d7817d400..81fd0e7277c 100644
--- a/mysys/my_winthread.c
+++ b/mysys/my_winthread.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c
index f0447da42f6..5d19647c989 100644
--- a/mysys/safemalloc.c
+++ b/mysys/safemalloc.c
@@ -209,7 +209,7 @@ size_t sf_malloc_usable_size(void *ptr, my_bool *is_thread_specific)
{
struct st_irem *irem= (struct st_irem *)ptr - 1;
DBUG_ENTER("sf_malloc_usable_size");
- *is_thread_specific= test(irem->flags & MY_THREAD_SPECIFIC);
+ *is_thread_specific= MY_TEST(irem->flags & MY_THREAD_SPECIFIC);
DBUG_PRINT("exit", ("size: %lu flags: %lu", (ulong) irem->datasize,
(ulong)irem->flags));
DBUG_RETURN(irem->datasize);
diff --git a/mysys/test_dir.c b/mysys/test_dir.c
index 0ac559568b1..364562a6972 100644
--- a/mysys/test_dir.c
+++ b/mysys/test_dir.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/test_xml.c b/mysys/test_xml.c
index e5ff42ab2f5..56b50611498 100644
--- a/mysys/test_xml.c
+++ b/mysys/test_xml.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2002 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c
index 7fd87edda6c..d0bb2f1ef4c 100644
--- a/mysys/thr_alarm.c
+++ b/mysys/thr_alarm.c
@@ -1,6 +1,5 @@
-/*
- Copyright (c) 2000, 2011, Oracle and/or its affiliates
- Copyright (c) 2012, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates
+ Copyright (c) 2012, 2014, SkySQL Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/mysys/thr_mutex.c b/mysys/thr_mutex.c
index c70aa342802..18af5f47b10 100644
--- a/mysys/thr_mutex.c
+++ b/mysys/thr_mutex.c
@@ -174,12 +174,12 @@ static int safe_mutex_lazy_init_deadlock_detection(safe_mutex_t *mp)
128,
offsetof(safe_mutex_deadlock_t, id),
sizeof(mp->id),
- 0, 0, HASH_UNIQUE);
+ 0, 0, 0, HASH_UNIQUE);
my_hash_init2(mp->used_mutex, 64, &my_charset_bin,
128,
offsetof(safe_mutex_t, id),
sizeof(mp->id),
- 0, 0, HASH_UNIQUE);
+ 0, 0, 0, HASH_UNIQUE);
return 0;
}
diff --git a/mysys/tree.c b/mysys/tree.c
index fe2d3f45d57..a9fc542faf6 100644
--- a/mysys/tree.c
+++ b/mysys/tree.c
@@ -127,7 +127,7 @@ void init_tree(TREE *tree, size_t default_alloc_size, size_t memory_limit,
tree->offset_to_key=0; /* use key through pointer */
tree->size_of_element+=sizeof(void*);
}
- if (!(tree->with_delete= test(my_flags & MY_TREE_WITH_DELETE)))
+ if (!(tree->with_delete= MY_TEST(my_flags & MY_TREE_WITH_DELETE)))
{
init_alloc_root(&tree->mem_root, default_alloc_size, 0, MYF(my_flags));
tree->mem_root.min_malloc= sizeof(TREE_ELEMENT)+tree->size_of_element;
diff --git a/packaging/WiX/CPackWixConfig.cmake b/packaging/WiX/CPackWixConfig.cmake
index e8edd8a835f..c782b7cd17a 100644
--- a/packaging/WiX/CPackWixConfig.cmake
+++ b/packaging/WiX/CPackWixConfig.cmake
@@ -1,4 +1,4 @@
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packaging/WiX/custom_ui.wxs b/packaging/WiX/custom_ui.wxs
index 6e243832e12..d49e4210b12 100644
--- a/packaging/WiX/custom_ui.wxs
+++ b/packaging/WiX/custom_ui.wxs
@@ -2,7 +2,7 @@
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<!--
- Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@
<Control Id="Back" Type="PushButton" X="156" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" Disabled="yes" />
<Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgDescription)" />
<Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgTitle)" />
- <Control Id="CopyrightText" Type="Text" X="135" Y="200" Width="220" Height="40" Transparent="yes" Text="Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved." />
+ <Control Id="CopyrightText" Type="Text" X="135" Y="200" Width="220" Height="40" Transparent="yes" Text="Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved." />
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.WelcomeDlgBitmap)" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
</Dialog>
diff --git a/packaging/WiX/mysql_server.wxs.in b/packaging/WiX/mysql_server.wxs.in
index 65688838316..1802baedf3b 100644
--- a/packaging/WiX/mysql_server.wxs.in
+++ b/packaging/WiX/mysql_server.wxs.in
@@ -2,7 +2,7 @@
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<!--
- Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/packaging/rpm-oel/CMakeLists.txt b/packaging/rpm-oel/CMakeLists.txt
new file mode 100644
index 00000000000..fb1a1c1600c
--- /dev/null
+++ b/packaging/rpm-oel/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+IF(UNIX)
+ SET(prefix ${CMAKE_INSTALL_PREFIX})
+
+ SET(SPECFILENAME "mysql.spec")
+ IF("${VERSION}" MATCHES "-ndb-")
+ STRING(REGEX REPLACE "^.*-ndb-" "" NDBVERSION "${VERSION}")
+ SET(SPECFILENAME "mysql-cluster-${NDBVERSION}.spec")
+ ENDIF()
+
+ # Left in current directory, to be taken during build
+ CONFIGURE_FILE(mysql.spec.in ${CMAKE_CURRENT_BINARY_DIR}/${SPECFILENAME} @ONLY)
+
+ FOREACH(fedfile my.cnf my_config.h mysql_config.sh
+ mysqld.service mysql-systemd-start mysql.conf
+ filter-requires.sh filter-provides.sh
+ mysql-embedded-check.c mysql.init)
+ CONFIGURE_FILE(${fedfile} ${CMAKE_CURRENT_BINARY_DIR}/${fedfile} COPYONLY)
+ ENDFOREACH()
+ENDIF()
+
diff --git a/packaging/rpm-oel/filter-provides.sh b/packaging/rpm-oel/filter-provides.sh
new file mode 100644
index 00000000000..bc166bd82d0
--- /dev/null
+++ b/packaging/rpm-oel/filter-provides.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+#
+
+/usr/lib/rpm/perl.prov $* |
+sed -e '/perl(hostnames)/d' -e '/perl(lib::mtr.*/d' -e '/perl(lib::v1.*/d' -e '/perl(mtr_.*/d' -e '/perl(My::.*/d'
+
diff --git a/packaging/rpm-oel/filter-requires.sh b/packaging/rpm-oel/filter-requires.sh
new file mode 100644
index 00000000000..521eb0ca7d9
--- /dev/null
+++ b/packaging/rpm-oel/filter-requires.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+#
+
+/usr/lib/rpm/perl.req $* |
+sed -e '/perl(hostnames)/d' -e '/perl(lib::mtr.*/d' -e '/perl(lib::v1.*/d' -e '/perl(mtr_.*/d' -e '/perl(My::.*/d'
+
diff --git a/packaging/rpm-oel/my.cnf b/packaging/rpm-oel/my.cnf
new file mode 100644
index 00000000000..b8ee584d485
--- /dev/null
+++ b/packaging/rpm-oel/my.cnf
@@ -0,0 +1,31 @@
+# For advice on how to change settings please see
+# http://dev.mysql.com/doc/refman/5.5/en/server-configuration-defaults.html
+
+[mysqld]
+#
+# Remove leading # and set to the amount of RAM for the most important data
+# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
+# innodb_buffer_pool_size = 128M
+#
+# Remove leading # to turn on a very important data integrity option: logging
+# changes to the binary log between backups.
+# log_bin
+#
+# Remove leading # to set options mainly useful for reporting servers.
+# The server defaults are faster for transactions and fast SELECTs.
+# Adjust sizes as needed, experiment to find the optimal values.
+# join_buffer_size = 128M
+# sort_buffer_size = 2M
+# read_rnd_buffer_size = 2M
+datadir=/var/lib/mysql
+socket=/var/lib/mysql/mysql.sock
+
+# Disabling symbolic-links is recommended to prevent assorted security risks
+symbolic-links=0
+
+# Recommended in standard MySQL setup
+#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
+
+[mysqld_safe]
+log-error=/var/log/mysqld.log
+pid-file=/var/run/mysqld/mysqld.pid
diff --git a/packaging/rpm-oel/my_config.h b/packaging/rpm-oel/my_config.h
new file mode 100644
index 00000000000..75dc5e1d754
--- /dev/null
+++ b/packaging/rpm-oel/my_config.h
@@ -0,0 +1,30 @@
+/*
+ * Fedora supports multi arch: having 32 and 64 versions of MySQL
+ * installed at the same time. my_config.h will differ due arch
+ * dependent defs creating a file conflict. We move arch specific
+ * headers to arch specific file names and include the correct arch
+ * specific file by installing this generic file.
+ *
+ */
+
+#if defined(__i386__)
+#include "my_config_i386.h"
+#elif defined(__ia64__)
+#include "my_config_ia64.h"
+#elif defined(__powerpc__)
+#include "my_config_ppc.h"
+#elif defined(__powerpc64__)
+#include "my_config_ppc64.h"
+#elif defined(__s390x__)
+#include "my_config_s390x.h"
+#elif defined(__s390__)
+#include "my_config_s390.h"
+#elif defined(__sparc__) && defined(__arch64__)
+#include "my_config_sparc64.h"
+#elif defined(__sparc__)
+#include "my_config_sparc.h"
+#elif defined(__x86_64__)
+#include "my_config_x86_64.h"
+#else
+#error "This MySQL devel package does not work your architecture?"
+#endif
diff --git a/packaging/rpm-oel/mysql-embedded-check.c b/packaging/rpm-oel/mysql-embedded-check.c
new file mode 100644
index 00000000000..8bf8ca53dad
--- /dev/null
+++ b/packaging/rpm-oel/mysql-embedded-check.c
@@ -0,0 +1,26 @@
+/* simple test program to see if we can link the embedded server library */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdarg.h>
+
+#include "mysql.h"
+
+MYSQL *mysql;
+
+static char *server_options[] = \
+ { "mysql_test", "--defaults-file=my.cnf", NULL };
+int num_elements = (sizeof(server_options) / sizeof(char *)) - 1;
+
+static char *server_groups[] = { "libmysqld_server",
+ "libmysqld_client", NULL };
+
+int main(int argc, char **argv)
+{
+ mysql_library_init(num_elements, server_options, server_groups);
+ mysql = mysql_init(NULL);
+ mysql_close(mysql);
+ mysql_library_end();
+
+ return 0;
+}
diff --git a/packaging/rpm-oel/mysql-systemd-start b/packaging/rpm-oel/mysql-systemd-start
new file mode 100644
index 00000000000..9cb2a25c990
--- /dev/null
+++ b/packaging/rpm-oel/mysql-systemd-start
@@ -0,0 +1,52 @@
+#! /bin/bash
+#
+# Scripts to run by MySQL systemd service
+#
+# Needed argument: pre | post
+#
+# pre mode : try to run mysql_install_db and fix perms and SELinux contexts
+# post mode : ping server until answer is received
+#
+
+install_db () {
+ # Note: something different than datadir=/var/lib/mysql requires SELinux policy changes (in enforcing mode)
+ datadir=$(/usr/bin/my_print_defaults server mysqld | grep '^--datadir=' | sed -n 's/--datadir=//p')
+
+ # Restore log, dir, perms and SELinux contexts
+ [ -d "$datadir" ] || install -d -m 0755 -omysql -gmysql "$datadir" || exit 1
+ log=/var/log/mysqld.log
+ [ -e $log ] || touch $log
+ chmod 0640 $log
+ chown mysql:mysql $log || exit 1
+ if [ -x /usr/sbin/restorecon ]; then
+ /usr/sbin/restorecon "$datadir"
+ /usr/sbin/restorecon $log
+ fi
+
+ # If special mysql dir is in place, skip db install
+ [ -d "$datadir/mysql" ] && exit 0
+
+ # Create initial db
+ /usr/bin/mysql_install_db --rpm --datadir="$datadir" --user=mysql
+ exit 0
+}
+
+pinger () {
+ # Wait for ping to answer to signal startup completed,
+ # might take a while in case of e.g. crash recovery
+ # MySQL systemd service will timeout script if no answer
+ while /bin/true ; do
+ sleep 1
+ mysqladmin ping >/dev/null 2>&1 && break
+ done
+ exit 0
+}
+
+# main
+case $1 in
+ "pre") install_db ;;
+ "post") pinger ;;
+esac
+
+exit 0
+
diff --git a/packaging/rpm-oel/mysql.conf b/packaging/rpm-oel/mysql.conf
new file mode 100644
index 00000000000..74cd5f836e7
--- /dev/null
+++ b/packaging/rpm-oel/mysql.conf
@@ -0,0 +1 @@
+d /var/run/mysqld 0755 mysql mysql -
diff --git a/packaging/rpm-oel/mysql.init b/packaging/rpm-oel/mysql.init
new file mode 100644
index 00000000000..d6f8f023850
--- /dev/null
+++ b/packaging/rpm-oel/mysql.init
@@ -0,0 +1,209 @@
+#!/bin/sh
+#
+# mysqld This shell script takes care of starting and stopping
+# the MySQL subsystem (mysqld).
+#
+# chkconfig: - 64 36
+# description: MySQL database server.
+# processname: mysqld
+# config: /etc/my.cnf
+# pidfile: /var/run/mysqld/mysqld.pid
+
+# Source function library.
+. /etc/rc.d/init.d/functions
+
+# Source networking configuration.
+. /etc/sysconfig/network
+
+
+exec="/usr/bin/mysqld_safe"
+prog="mysqld"
+
+# Set timeouts here so they can be overridden from /etc/sysconfig/mysqld
+STARTTIMEOUT=120
+STOPTIMEOUT=60
+
+[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
+
+lockfile=/var/lock/subsys/$prog
+
+
+# extract value of a MySQL option from config files
+# Usage: get_mysql_option SECTION VARNAME DEFAULT
+# result is returned in $result
+# We use my_print_defaults which prints all options from multiple files,
+# with the more specific ones later; hence take the last match.
+get_mysql_option(){
+ result=`/usr/bin/my_print_defaults "$1" | sed -n "s/^--$2=//p" | tail -n 1`
+ if [ -z "$result" ]; then
+ # not found, use default
+ result="$3"
+ fi
+}
+
+get_mysql_option mysqld datadir "/var/lib/mysql"
+datadir="$result"
+get_mysql_option mysqld socket "$datadir/mysql.sock"
+socketfile="$result"
+get_mysql_option mysqld_safe log-error "/var/log/mysqld.log"
+errlogfile="$result"
+get_mysql_option mysqld_safe pid-file "/var/run/mysqld/mysqld.pid"
+mypidfile="$result"
+
+
+start(){
+ [ -x $exec ] || exit 5
+ # check to see if it's already running
+ RESPONSE=`/usr/bin/mysqladmin --socket="$socketfile" --user=UNKNOWN_MYSQL_USER ping 2>&1`
+ if [ $? = 0 ]; then
+ # already running, do nothing
+ action $"Starting $prog: " /bin/true
+ ret=0
+ elif echo "$RESPONSE" | grep -q "Access denied for user"
+ then
+ # already running, do nothing
+ action $"Starting $prog: " /bin/true
+ ret=0
+ else
+ # prepare for start
+ touch "$errlogfile"
+ chown mysql:mysql "$errlogfile"
+ chmod 0640 "$errlogfile"
+ [ -x /sbin/restorecon ] && /sbin/restorecon "$errlogfile"
+ if [ ! -d "$datadir/mysql" ] ; then
+ # First, make sure $datadir is there with correct permissions
+ if [ ! -e "$datadir" -a ! -h "$datadir" ]
+ then
+ mkdir -p "$datadir" || exit 1
+ fi
+ chown mysql:mysql "$datadir"
+ chmod 0755 "$datadir"
+ [ -x /sbin/restorecon ] && /sbin/restorecon "$datadir"
+ # Now create the database
+ action $"Initializing MySQL database: " /usr/bin/mysql_install_db --rpm --datadir="$datadir" --user=mysql
+ ret=$?
+ chown -R mysql:mysql "$datadir"
+ if [ $ret -ne 0 ] ; then
+ return $ret
+ fi
+ fi
+ chown mysql:mysql "$datadir"
+ chmod 0755 "$datadir"
+ # Pass all the options determined above, to ensure consistent behavior.
+ # In many cases mysqld_safe would arrive at the same conclusions anyway
+ # but we need to be sure. (An exception is that we don't force the
+ # log-error setting, since this script doesn't really depend on that,
+ # and some users might prefer to configure logging to syslog.)
+ # Note: set --basedir to prevent probes that might trigger SELinux
+ # alarms, per bug #547485
+ $exec --datadir="$datadir" --socket="$socketfile" \
+ --pid-file="$mypidfile" \
+ --basedir=/usr --user=mysql >/dev/null 2>&1 &
+ safe_pid=$!
+ # Spin for a maximum of N seconds waiting for the server to come up;
+ # exit the loop immediately if mysqld_safe process disappears.
+ # Rather than assuming we know a valid username, accept an "access
+ # denied" response as meaning the server is functioning.
+ ret=0
+ TIMEOUT="$STARTTIMEOUT"
+ while [ $TIMEOUT -gt 0 ]; do
+ RESPONSE=`/usr/bin/mysqladmin --socket="$socketfile" --user=UNKNOWN_MYSQL_USER ping 2>&1` && break
+ echo "$RESPONSE" | grep -q "Access denied for user" && break
+ if ! /bin/kill -0 $safe_pid 2>/dev/null; then
+ echo "MySQL Daemon failed to start."
+ ret=1
+ break
+ fi
+ sleep 1
+ let TIMEOUT=${TIMEOUT}-1
+ done
+ if [ $TIMEOUT -eq 0 ]; then
+ echo "Timeout error occurred trying to start MySQL Daemon."
+ ret=1
+ fi
+ if [ $ret -eq 0 ]; then
+ action $"Starting $prog: " /bin/true
+ touch $lockfile
+ else
+ action $"Starting $prog: " /bin/false
+ fi
+ fi
+ return $ret
+}
+
+stop(){
+ if [ ! -f "$mypidfile" ]; then
+ # not running; per LSB standards this is "ok"
+ action $"Stopping $prog: " /bin/true
+ return 0
+ fi
+ MYSQLPID=`cat "$mypidfile"`
+ if [ -n "$MYSQLPID" ]; then
+ /bin/kill "$MYSQLPID" >/dev/null 2>&1
+ ret=$?
+ if [ $ret -eq 0 ]; then
+ TIMEOUT="$STOPTIMEOUT"
+ while [ $TIMEOUT -gt 0 ]; do
+ /bin/kill -0 "$MYSQLPID" >/dev/null 2>&1 || break
+ sleep 1
+ let TIMEOUT=${TIMEOUT}-1
+ done
+ if [ $TIMEOUT -eq 0 ]; then
+ echo "Timeout error occurred trying to stop MySQL Daemon."
+ ret=1
+ action $"Stopping $prog: " /bin/false
+ else
+ rm -f $lockfile
+ rm -f "$socketfile"
+ action $"Stopping $prog: " /bin/true
+ fi
+ else
+ action $"Stopping $prog: " /bin/false
+ fi
+ else
+ # failed to read pidfile, probably insufficient permissions
+ action $"Stopping $prog: " /bin/false
+ ret=4
+ fi
+ return $ret
+}
+
+restart(){
+ stop
+ start
+}
+
+condrestart(){
+ [ -e $lockfile ] && restart || :
+}
+
+
+# See how we were called.
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ status)
+ status -p "$mypidfile" $prog
+ ;;
+ restart)
+ restart
+ ;;
+ condrestart|try-restart)
+ condrestart
+ ;;
+ reload)
+ exit 3
+ ;;
+ force-reload)
+ restart
+ ;;
+ *)
+ echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
+ exit 2
+esac
+
+exit $?
diff --git a/packaging/rpm-oel/mysql.spec.in b/packaging/rpm-oel/mysql.spec.in
new file mode 100644
index 00000000000..47a11053b28
--- /dev/null
+++ b/packaging/rpm-oel/mysql.spec.in
@@ -0,0 +1,1556 @@
+# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to the
+# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston
+# MA 02110-1301 USA.
+
+
+# NOTE: "vendor" is used in upgrade/downgrade check, so you can't
+# change these, has to be exactly as is.
+
+%global mysql_vendor Oracle and/or its affiliates
+%global mysqldatadir /var/lib/mysql
+
+# By default, a build will include the bundeled "yaSSL" library for SSL.
+%{?with_ssl: %global ssl_option -DWITH_SSL=%{with_ssl}}
+
+# Regression tests may take a long time, override the default to skip them
+%{!?runselftest:%global runselftest 0}
+
+%{!?with_systemd: %global systemd 0}
+%{!?with_debuginfo: %global nodebuginfo 1}
+%{!?product_suffix: %global product_suffix community}
+%{!?feature_set: %global feature_set community}
+%{!?compilation_comment_release: %global compilation_comment_release MySQL Community Server - (GPL)}
+%{!?compilation_comment_debug: %global compilation_comment_debug MySQL Community Server - Debug (GPL)}
+%{!?src_base: %global src_base mysql}
+
+%global libmysqld_so_major 0
+%global libmysqld_so_long 0.0.1
+
+# Version for compat libs
+%global compatver 5.1.72
+
+%global src_dir %{src_base}-%{version}
+
+# No debuginfo for now, ships /usr/sbin/mysqld-debug and libmysqlcliet-debug.a
+%if 0%{?nodebuginfo}
+%global _enable_debug_package 0
+%global debug_package %{nil}
+%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
+%endif
+
+# multiarch
+%global multiarchs ppc %{power64} %{ix86} x86_64 %{sparc}
+
+%if 0%{?commercial}
+%global license_files_server %{src_dir}/LICENSE.mysql
+%global license_type Commercial
+%else
+%global license_files_server %{src_dir}/COPYING %{src_dir}/README
+%global license_type GPLv2
+%endif
+
+
+Name: mysql-%{product_suffix}
+Summary: A very fast and reliable SQL database server
+Group: Applications/Databases
+Version: @VERSION@
+Release: 1%{?dist}
+License: Copyright (c) 2000, @MYSQL_COPYRIGHT_YEAR@, %{mysql_vendor}. All rights reserved. Under %{?license_type} license as shown in the Description field.
+Source0: https://cdn.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/%{src_dir}.tar.gz
+URL: http://www.mysql.com/
+Packager: MySQL Release Engineering <mysql-build@oss.oracle.com>
+Vendor: %{mysql_vendor}
+Source1: mysql-systemd-start
+Source2: mysqld.service
+Source3: mysql.conf
+Source4: my_config.h
+Source5: mysql_config.sh
+Source6: mysql-embedded-check.c
+Source7: https://cdn.mysql.com/Downloads/MySQL-5.5/mysql-%{compatver}.tar.gz
+Source90: filter-provides.sh
+Source91: filter-requires.sh
+BuildRequires: cmake
+BuildRequires: perl
+BuildRequires: time
+BuildRequires: libaio-devel
+BuildRequires: ncurses-devel
+BuildRequires: openssl-devel
+BuildRequires: zlib-devel
+%if 0%{?systemd}
+BuildRequires: systemd-units
+%endif
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+# https://fedoraproject.org/wiki/EPEL:Packaging#Generic_Filtering_on_EPEL6
+%global __perl_provides %{SOURCE90}
+%global __perl_requires %{SOURCE91}
+
+%description
+The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
+and robust SQL (Structured Query Language) database server. MySQL Server
+is intended for mission-critical, heavy-load production systems as well
+as for embedding into mass-deployed software. MySQL is a trademark of
+%{mysql_vendor}
+
+The MySQL software has Dual Licensing, which means you can use the MySQL
+software free of charge under the GNU General Public License
+(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
+licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
+the GPL. See the chapter "Licensing and Support" in the manual for
+further info.
+
+The MySQL web site (http://www.mysql.com/) provides the latest
+news and information about the MySQL software. Also please see the
+documentation and the manual for more information.
+
+%package server
+Summary: A very fast and reliable SQL database server
+Group: Applications/Databases
+Requires: coreutils
+Requires: grep
+Requires: procps
+Requires: shadow-utils
+Requires: net-tools
+%if 0%{?commercial}
+Obsoletes: mysql-community-server < %{version}-%{release}
+Requires: mysql-enterprise-client%{?_isa} = %{version}-%{release}
+Requires: mysql-enterprise-common%{?_isa} = %{version}-%{release}
+%else
+Requires: mysql-community-client%{?_isa} = %{version}-%{release}
+Requires: mysql-community-common%{?_isa} = %{version}-%{release}
+%endif
+Obsoletes: mysql-server < %{version}-%{release}
+Provides: mysql-server = %{version}-%{release}
+Provides: mysql-server%{?_isa} = %{version}-%{release}
+%if 0%{?systemd}
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+%else
+Requires(post): /sbin/chkconfig
+Requires(preun): /sbin/chkconfig
+Requires(preun): /sbin/service
+%endif
+
+%description server
+The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
+and robust SQL (Structured Query Language) database server. MySQL Server
+is intended for mission-critical, heavy-load production systems as well
+as for embedding into mass-deployed software. MySQL is a trademark of
+%{mysql_vendor}
+
+The MySQL software has Dual Licensing, which means you can use the MySQL
+software free of charge under the GNU General Public License
+(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
+licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
+the GPL. See the chapter "Licensing and Support" in the manual for
+further info.
+
+The MySQL web site (http://www.mysql.com/) provides the latest news and
+information about the MySQL software. Also please see the documentation
+and the manual for more information.
+
+This package includes the MySQL server binary as well as related utilities
+to run and administer a MySQL server.
+
+%package client
+Summary: MySQL database client applications and tools
+Group: Applications/Databases
+%if 0%{?commercial}
+Obsoletes: mysql-community-client < %{version}-%{release}
+Requires: mysql-enterprise-libs%{?_isa} = %{version}-%{release}
+%else
+Requires: mysql-community-libs%{?_isa} = %{version}-%{release}
+%endif
+Obsoletes: mysql < %{version}-%{release}
+Provides: mysql = %{version}-%{release}
+Provides: mysql%{?_isa} = %{version}-%{release}
+
+%description client
+This package contains the standard MySQL clients and administration
+tools.
+
+%package common
+Summary: MySQL database common files for server and client libs
+Group: Applications/Databases
+%if 0%{?commercial}
+Obsoletes: mysql-community-common < %{version}-%{release}
+%endif
+Provides: mysql-common = %{version}-%{release}
+Provides: mysql-common%{?_isa} = %{version}-%{release}
+
+%description common
+This packages contains common files needed by MySQL client library,
+MySQL database server, and MySQL embedded server.
+
+
+%package test
+Summary: Test suite for the MySQL database server
+Group: Applications/Databases
+%if 0%{?commercial}
+Obsoletes: mysql-community-test < %{version}-%{release}
+Requires: mysql-enterprise-server%{?_isa} = %{version}-%{release}
+%else
+Requires: mysql-community-server%{?_isa} = %{version}-%{release}
+%endif
+Obsoletes: mysql-test < %{version}-%{release}
+Provides: mysql-test = %{version}-%{release}
+Provides: mysql-test%{?_isa} = %{version}-%{release}
+
+
+%description test
+This package contains the MySQL regression test suite for MySQL
+database server.
+
+
+%package devel
+Summary: Development header files and libraries for MySQL database client applications
+Group: Applications/Databases
+%if 0%{?commercial}
+Obsoletes: mysql-community-devel < %{version}-%{release}
+Requires: mysql-enterprise-libs%{?_isa} = %{version}-%{release}
+%else
+Requires: mysql-community-libs%{?_isa} = %{version}-%{release}
+%endif
+Obsoletes: mysql-devel < %{version}-%{release}
+Provides: mysql-devel = %{version}-%{release}
+Provides: mysql-devel%{?_isa} = %{version}-%{release}
+
+%description devel
+This package contains the development header files and libraries necessary
+to develop MySQL client applications.
+
+%package libs
+Summary: Shared libraries for MySQL database client applications
+Group: Applications/Databases
+%if 0%{?commercial}
+Obsoletes: mysql-community-libs < %{version}-%{release}
+Requires: mysql-enterprise-common%{?_isa} = %{version}-%{release}
+%else
+Requires: mysql-community-common%{?_isa} = %{version}-%{release}
+%endif
+Obsoletes: mysql-libs < %{version}-%{release}
+Provides: mysql-libs = %{version}-%{release}
+Provides: mysql-libs%{?_isa} = %{version}-%{release}
+
+%description libs
+This package contains the shared libraries for MySQL client
+applications.
+
+%package libs-compat
+Summary: Shared compat libraries for MySQL 5.1 database client applications
+Group: Applications/Databases
+Obsoletes: mysql-libs-compat < %{version}-%{release}
+Provides: mysql-libs-compat = %{version}-%{release}
+Provides: mysql-libs-compat%{?_isa} = %{version}-%{release}
+
+%description libs-compat
+This package contains the shared compat libraries for MySQL 5.1 client
+applications.
+
+%package embedded
+Summary: MySQL embedded library
+Group: Applications/Databases
+%if 0%{?commercial}
+Obsoletes: mysql-community-embedded < %{version}-%{release}
+Requires: mysql-enterprise-common%{?_isa} = %{version}-%{release}
+%else
+Requires: mysql-community-common%{?_isa} = %{version}-%{release}
+%endif
+Obsoletes: mysql-embedded < %{version}-%{release}
+Provides: mysql-embedded = %{version}-%{release}
+Provides: mysql-emdedded%{?_isa} = %{version}-%{release}
+
+%description embedded
+This package contains the mysql server as an embedded library.
+
+The embedded MySQL server library makes it possible to run a full-featured
+MySQL server inside the client application. The main benefits are increased
+speed and more simple management for embedded applications.
+
+The API is identical for the embedded MySQL version and the
+client/server version.
+
+For a description of MySQL see the base MySQL RPM or http://www.mysql.com/
+
+%package embedded-devel
+Summary: Development header files and libraries for MySQL as an embeddable library
+Group: Applications/Databases
+%if 0%{?commercial}
+Obsoletes: mysql-community-embedded-devel < %{version}-%{release}
+Requires: mysql-enterprise-devel%{?_isa} = %{version}-%{release}
+Requires: mysql-enterprise-embedded%{?_isa} = %{version}-%{release}
+%else
+Requires: mysql-community-devel%{?_isa} = %{version}-%{release}
+Requires: mysql-community-embedded%{?_isa} = %{version}-%{release}
+%endif
+Obsoletes: mysql-embedded-devel < %{version}-%{release}
+Provides: mysql-embedded-devel = %{version}-%{release}
+Provides: mysql-embedded-devel%{?_isa} = %{version}-%{release}
+
+%description embedded-devel
+This package contains files needed for developing applicatison using
+the embedded version of the MySQL server.
+
+%prep
+%setup -q -T -a 0 -a 7 -c -n %{src_dir}
+cd %{src_dir}
+
+%build
+# Fail quickly and obviously if user tries to build as root
+%if 0%{?runselftest}
+if [ "x$(id -u)" = "x0" ] ; then
+ echo "The MySQL regression tests may fail if run as root."
+ echo "If you really need to build the RPM as root, use"
+ echo "--define='runselftest 0' to skip the regression tests."
+ exit 1
+fi
+%endif
+
+# Build compat libs
+(
+export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv"
+export CXXFLAGS="$CFLAGS -felide-constructors -fno-rtti -fno-exceptions"
+pushd mysql-%{compatver}
+%configure \
+ --with-readline \
+ --with-ssl=%{_prefix} \
+ --without-debug \
+ --enable-shared \
+ --with-embedded-server \
+ --localstatedir=/var/lib/mysql \
+ --with-unix-socket-path=/var/lib/mysql/mysql.sock \
+ --with-mysqld-user="mysql" \
+ --with-extra-charsets=all \
+ --with-big-tables \
+ --with-pic \
+ --with-plugin-innobase \
+ --with-plugin-innodb_plugin \
+ --with-plugin-partition \
+ --enable-local-infile \
+ --enable-largefile \
+ --enable-thread-safe-client \
+ --disable-dependency-tracking
+make %{?_smp_mflags}
+popd
+)
+
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
+
+# Build debug versions of mysqld and libmysqld.a
+mkdir debug
+(
+ cd debug
+ # Attempt to remove any optimisation flags from the debug build
+ CFLAGS=$(echo "${CFLAGS}" | sed -e 's/-O2 / /' -e 's/-Wp,-D_FORTIFY_SOURCE=2/ /')
+ CXXFLAGS=$(echo "${CFLAGS}" | sed -e 's/-O2 / /' -e 's/-Wp,-D_FORTIFY_SOURCE=2/ /')
+ cmake ../%{src_dir} \
+ -DBUILD_CONFIG=mysql_release \
+ -DINSTALL_LAYOUT=RPM \
+ -DCMAKE_BUILD_TYPE=Debug \
+ -DWITH_INNODB_MEMCACHED=1 \
+ -DINSTALL_LIBDIR="%{_lib}/mysql" \
+ -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
+ -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
+ -DFEATURE_SET="%{feature_set}" \
+ %{?ssl_option} \
+ -DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
+ -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
+ echo BEGIN_DEBUG_CONFIG ; egrep '^#define' include/config.h ; echo END_DEBUG_CONFIG
+ make %{?_smp_mflags} VERBOSE=1
+)
+
+# Build full release
+mkdir release
+(
+ cd release
+ cmake ../%{src_dir} \
+ -DBUILD_CONFIG=mysql_release \
+ -DINSTALL_LAYOUT=RPM \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DWITH_INNODB_MEMCACHED=1 \
+ -DINSTALL_LIBDIR="%{_lib}/mysql" \
+ -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
+ -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
+ -DFEATURE_SET="%{feature_set}" \
+ %{?ssl_option} \
+ -DCOMPILATION_COMMENT="%{compilation_comment_release}" \
+ -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
+ echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG
+ make %{?_smp_mflags} VERBOSE=1
+
+# Need to build libmysqld.so for distros
+mkdir libmysqld/work
+pushd libmysqld/work
+
+ar -x ../libmysqld.a
+[ -e ../../extra/yassl/libyassl.a ] && ar -x ../../extra/yassl/libyassl.a
+rm -f sql_binlog.cc.o rpl_utility.cc.o
+%{__cc} $CFLAGS $LDFLAGS -DEMBEDDED_LIBRARY -shared -Wl,-soname,libmysqld.so.%{libmysqld_so_major} \
+ -o libmysqld.so.%{libmysqld_so_long} *.o \
+ -lpthread -laio -lcrypt -lssl -lcrypto -lz -lrt -lstdc++ -ldl -lm -lc
+
+# Compile check
+cp %{SOURCE6} .
+ln -s libmysqld.so.%{libmysqld_so_long} libmysqld.so.%{libmysqld_so_major}
+%{__cc} -I../../../%{src_dir}/include -I../../include $CFLAGS \
+ mysql-embedded-check.c libmysqld.so.%{libmysqld_so_major}
+LD_LIBRARY_PATH=. ldd ./a.out
+)
+
+%install
+# Install compat libs
+for dir in libmysql libmysql_r ; do
+ pushd mysql-%{compatver}/$dir
+ make DESTDIR=%{buildroot} install
+ popd
+done
+rm -f %{buildroot}%{_libdir}/mysql/libmysqlclient{,_r}.{a,la,so}
+
+MBD=$RPM_BUILD_DIR/%{src_dir}
+
+# Ensure that needed directories exists
+install -d -m 0755 %{buildroot}%{_datadir}/mysql/SELinux/RHEL4
+install -d -m 0755 %{buildroot}/var/lib/mysql
+install -d -m 0755 %{buildroot}/var/run/mysqld
+
+# Install all binaries
+cd $MBD/release
+make DESTDIR=%{buildroot} install
+
+# Install logrotate and autostart
+install -D -m 0644 $MBD/release/support-files/mysql-log-rotate %{buildroot}%{_sysconfdir}/logrotate.d/mysql
+install -D -m 0644 $MBD/release/packaging/rpm-oel/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
+%if 0%{?systemd}
+install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/mysql-systemd-start
+install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/mysqld.service
+%else
+install -D -m 0755 $MBD/release/packaging/rpm-oel/mysql.init %{buildroot}%{_sysconfdir}/init.d/mysqld
+%endif
+install -D -m 0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/tmpfiles.d/mysql.conf
+
+install -m 0755 $MBD/release/libmysqld/work/libmysqld.so.%{libmysqld_so_long} \
+ %{buildroot}%{_libdir}/mysql/libmysqld.so.%{libmysqld_so_long}
+ln -s libmysqld.so.%{libmysqld_so_long} %{buildroot}%{_libdir}/mysql/libmysqld.so.%{libmysqld_so_major}
+ln -s libmysqld.so.%{libmysqld_so_long} %{buildroot}%{_libdir}/mysql/libmysqld.so
+
+
+# Make library links
+install -d -m 0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
+echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
+
+# multiarch support
+%ifarch %{multiarchs}
+mv %{buildroot}/%{_includedir}/mysql/my_config.h \
+ %{buildroot}/%{_includedir}/mysql/my_config_%{_arch}.h
+install -p -m 0644 %{SOURCE4} %{buildroot}/%{_includedir}/mysql/my_config.h
+mv %{buildroot}/%{_bindir}/mysql_config %{buildroot}/%{_bindir}/mysql_config-%{__isa_bits}
+install -p -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/mysql_config
+%endif
+
+# Install SELinux files in datadir
+install -m 0644 $MBD/%{src_dir}/support-files/RHEL4-SElinux/mysql.{fc,te} \
+ %{buildroot}%{_datadir}/mysql/SELinux/RHEL4
+
+# Remove files pages we explicitly do not want to package
+rm -rf %{buildroot}%{_datadir}/mysql/solaris
+rm -rf %{buildroot}%{_infodir}/mysql.info*
+rm -rf %{buildroot}%{_datadir}/mysql/binary-configure
+rm -rf %{buildroot}%{_datadir}/mysql/mysql.server
+rm -rf %{buildroot}%{_datadir}/mysql/mysqld_multi.server
+rm -f %{buildroot}%{_datadir}/mysql/{ndb-config-2-node,config*}.ini
+rm -f %{buildroot}%{_datadir}/mysql/my-*.cnf
+%if 0%{?systemd}
+rm -rf %{buildroot}%{_sysconfdir}/init.d/mysqld
+%endif
+rm -rf %{buildroot}%{_bindir}/mysql_embedded
+rm -rf %{buildroot}%{_bindir}/mysql_setpermission
+rm -rf %{buildroot}%{_mandir}/man1/mysql_setpermission.1*
+
+%check
+%if 0%{?runselftest}
+pushd release
+make test VERBOSE=1
+export MTR_BUILD_THREAD=auto
+pushd mysql-test
+./mtr \
+ --mem --parallel=auto --force --retry=0 \
+ --mysqld=--binlog-format=mixed \
+ --suite-timeout=720 --testcase-timeout=30
+rm -rf var/*
+%endif
+
+%pre server
+/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
+/usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/bash \
+ -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
+
+%post server
+datadir=$(/usr/bin/my_print_defaults server mysqld | grep '^--datadir=' | sed -n 's/--datadir=//p')
+/bin/chmod 0755 "$datadir"
+/bin/touch /var/log/mysqld.log
+%if 0%{?systemd}
+%systemd_post mysqld.service
+/sbin/service mysqld enable >/dev/null 2>&1 || :
+%else
+/sbin/chkconfig --add mysqld
+%endif
+
+%preun server
+%if 0%{?systemd}
+%systemd_preun mysqld.service
+%else
+if [ "$1" = 0 ]; then
+ /sbin/service mysqld stop >/dev/null 2>&1 || :
+ /sbin/chkconfig --del mysqld
+fi
+%endif
+
+%postun server
+%if 0%{?systemd}
+%systemd_postun_with_restart mysqld.service
+%else
+if [ $1 -ge 1 ]; then
+ /sbin/service mysqld condrestart >/dev/null 2>&1 || :
+fi
+%endif
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%post libs-compat -p /sbin/ldconfig
+
+%postun libs-compat -p /sbin/ldconfig
+
+%post embedded -p /sbin/ldconfig
+
+%postun embedded -p /sbin/ldconfig
+
+%files server
+%defattr(-, root, root, -)
+%doc %{?license_files_server} %{src_dir}/Docs/ChangeLog
+%doc %{src_dir}/Docs/INFO_SRC*
+%doc release/Docs/INFO_BIN*
+%attr(644, root, root) %{_mandir}/man1/innochecksum.1*
+%attr(644, root, root) %{_mandir}/man1/my_print_defaults.1*
+%attr(644, root, root) %{_mandir}/man1/myisam_ftdump.1*
+%attr(644, root, root) %{_mandir}/man1/myisamchk.1*
+%attr(644, root, root) %{_mandir}/man1/myisamlog.1*
+%attr(644, root, root) %{_mandir}/man1/myisampack.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_convert_table_format.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_fix_extensions.1*
+%attr(644, root, root) %{_mandir}/man8/mysqld.8*
+%attr(644, root, root) %{_mandir}/man1/mysqld_multi.1*
+%attr(644, root, root) %{_mandir}/man1/mysqld_safe.1*
+%attr(644, root, root) %{_mandir}/man1/mysqldumpslow.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_install_db.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_plugin.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_secure_installation.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_upgrade.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlhotcopy.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlman.1*
+%attr(644, root, root) %{_mandir}/man1/mysql.server.1*
+%attr(644, root, root) %{_mandir}/man1/mysqltest.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_zap.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlbug.1*
+%attr(644, root, root) %{_mandir}/man1/perror.1*
+%attr(644, root, root) %{_mandir}/man1/replace.1*
+%attr(644, root, root) %{_mandir}/man1/resolve_stack_dump.1*
+%attr(644, root, root) %{_mandir}/man1/resolveip.1*
+
+%config(noreplace) %{_sysconfdir}/my.cnf
+
+%attr(755, root, root) %{_bindir}/innochecksum
+%attr(755, root, root) %{_bindir}/my_print_defaults
+%attr(755, root, root) %{_bindir}/myisam_ftdump
+%attr(755, root, root) %{_bindir}/myisamchk
+%attr(755, root, root) %{_bindir}/myisamlog
+%attr(755, root, root) %{_bindir}/myisampack
+%attr(755, root, root) %{_bindir}/mysql_convert_table_format
+%attr(755, root, root) %{_bindir}/mysql_fix_extensions
+%attr(755, root, root) %{_bindir}/mysql_install_db
+%attr(755, root, root) %{_bindir}/mysql_plugin
+%attr(755, root, root) %{_bindir}/mysql_secure_installation
+%attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
+%attr(755, root, root) %{_bindir}/mysql_upgrade
+%attr(755, root, root) %{_bindir}/mysql_zap
+%attr(755, root, root) %{_bindir}/mysqlbug
+%attr(755, root, root) %{_bindir}/mysqld_multi
+%attr(755, root, root) %{_bindir}/mysqld_safe
+%attr(755, root, root) %{_bindir}/mysqldumpslow
+%attr(755, root, root) %{_bindir}/mysqlhotcopy
+%attr(755, root, root) %{_bindir}/mysqltest
+%attr(755, root, root) %{_bindir}/perror
+%attr(755, root, root) %{_bindir}/replace
+%attr(755, root, root) %{_bindir}/resolve_stack_dump
+%attr(755, root, root) %{_bindir}/resolveip
+%if 0%{?systemd}
+%attr(755, root, root) %{_bindir}/mysql-systemd-start
+%endif
+%attr(755, root, root) %{_sbindir}/mysqld
+%attr(755, root, root) %{_sbindir}/mysqld-debug
+
+%{_libdir}/mysql/plugin
+
+%attr(644, root, root) %{_datadir}/mysql/fill_help_tables.sql
+%attr(644, root, root) %{_datadir}/mysql/mysql_system_tables.sql
+%attr(644, root, root) %{_datadir}/mysql/mysql_system_tables_data.sql
+%attr(644, root, root) %{_datadir}/mysql/mysql_test_data_timezone.sql
+%attr(644, root, root) %{_datadir}/mysql/mysql-log-rotate
+%attr(644, root, root) %{_datadir}/mysql/SELinux/RHEL4/mysql.fc
+%attr(644, root, root) %{_datadir}/mysql/SELinux/RHEL4/mysql.te
+%attr(644, root, root) %{_datadir}/mysql/magic
+%attr(644, root, root) %{_prefix}/lib/tmpfiles.d/mysql.conf
+%if 0%{?systemd}
+%attr(644, root, root) %{_unitdir}/mysql.service
+%else
+%attr(755, root, root) %{_sysconfdir}/init.d/mysqld
+%endif
+%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
+%dir %attr(755, mysql, mysql) /var/lib/mysql
+%dir %attr(755, mysql, mysql) /var/run/mysqld
+
+%files common
+%defattr(-, root, root, -)
+%{_datadir}/mysql/charsets/
+%{_datadir}/mysql/errmsg-utf8.txt
+%{_datadir}/mysql/czech/
+%{_datadir}/mysql/danish/
+%{_datadir}/mysql/dutch/
+%{_datadir}/mysql/english/
+%{_datadir}/mysql/estonian/
+%{_datadir}/mysql/french/
+%{_datadir}/mysql/german/
+%{_datadir}/mysql/greek/
+%{_datadir}/mysql/hungarian/
+%{_datadir}/mysql/italian/
+%{_datadir}/mysql/japanese/
+%{_datadir}/mysql/korean/
+%{_datadir}/mysql/norwegian-ny/
+%{_datadir}/mysql/norwegian/
+%{_datadir}/mysql/polish/
+%{_datadir}/mysql/portuguese/
+%{_datadir}/mysql/romanian/
+%{_datadir}/mysql/russian/
+%{_datadir}/mysql/serbian/
+%{_datadir}/mysql/slovak/
+%{_datadir}/mysql/spanish/
+%{_datadir}/mysql/swedish/
+%{_datadir}/mysql/ukrainian/
+
+%files client
+%defattr(-, root, root, -)
+%attr(755, root, root) %{_bindir}/msql2mysql
+%attr(755, root, root) %{_bindir}/mysql
+%attr(755, root, root) %{_bindir}/mysql_find_rows
+%attr(755, root, root) %{_bindir}/mysql_waitpid
+%attr(755, root, root) %{_bindir}/mysqlaccess
+# XXX: This should be moved to %{_sysconfdir}
+%attr(644, root, root) %{_bindir}/mysqlaccess.conf
+%attr(755, root, root) %{_bindir}/mysqladmin
+%attr(755, root, root) %{_bindir}/mysqlbinlog
+%attr(755, root, root) %{_bindir}/mysqlcheck
+%attr(755, root, root) %{_bindir}/mysqldump
+%attr(755, root, root) %{_bindir}/mysqlimport
+%attr(755, root, root) %{_bindir}/mysqlshow
+%attr(755, root, root) %{_bindir}/mysqlslap
+%attr(755, root, root) %{_bindir}/mysql_config
+%attr(755, root, root) %{_bindir}/mysql_config-%{__isa_bits}
+
+%attr(644, root, root) %{_mandir}/man1/msql2mysql.1*
+%attr(644, root, root) %{_mandir}/man1/mysql.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_find_rows.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_waitpid.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlaccess.1*
+%attr(644, root, root) %{_mandir}/man1/mysqladmin.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlbinlog.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlcheck.1*
+%attr(644, root, root) %{_mandir}/man1/mysqldump.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlimport.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlshow.1*
+%attr(644, root, root) %{_mandir}/man1/mysqlslap.1*
+
+%files devel
+%defattr(-, root, root, -)
+%attr(644, root, root) %{_mandir}/man1/comp_err.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_config.1*
+%attr(755, root, root) %{_bindir}/mysql_config
+%attr(755, root, root) %{_bindir}/mysql_config-%{__isa_bits}
+%{_includedir}/mysql
+%{_datadir}/aclocal/mysql.m4
+%{_libdir}/mysql/libmysqlclient.a
+%{_libdir}/mysql/libmysqlclient_r.a
+%{_libdir}/mysql/libmysqlservices.a
+%{_libdir}/mysql/libmysqlclient_r.so
+%{_libdir}/mysql/libmysqlclient.so
+
+%files libs
+%defattr(-, root, root, -)
+%dir %attr(755, root, root) %{_libdir}/mysql
+%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
+%{_libdir}/mysql/libmysqlclient.so.18*
+%{_libdir}/mysql/libmysqlclient_r.so.18*
+
+%files libs-compat
+%defattr(-, root, root, -)
+%dir %attr(755, root, root) %{_libdir}/mysql
+%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
+%{_libdir}/mysql/libmysqlclient.so.16
+%{_libdir}/mysql/libmysqlclient.so.16.0.0
+%{_libdir}/mysql/libmysqlclient_r.so.16
+%{_libdir}/mysql/libmysqlclient_r.so.16.0.0
+
+%files test
+%defattr(-, root, root, -)
+%attr(-, root, root) %{_datadir}/mysql-test
+%attr(755, root, root) %{_bindir}/mysql_client_test
+%attr(755, root, root) %{_bindir}/mysql_client_test_embedded
+%attr(755, root, root) %{_bindir}/mysqltest_embedded
+%attr(644, root, root) %{_mandir}/man1/mysql_client_test.1*
+%attr(644, root, root) %{_mandir}/man1/mysql-stress-test.pl.1*
+%attr(644, root, root) %{_mandir}/man1/mysql-test-run.pl.1*
+%attr(644, root, root) %{_mandir}/man1/mysql_client_test_embedded.1*
+%attr(644, root, root) %{_mandir}/man1/mysqltest_embedded.1*
+
+%files embedded
+%defattr(-, root, root, -)
+%dir %attr(755, root, root) %{_libdir}/mysql
+%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
+%attr(644, root, root) %{_libdir}/mysql/libmysqld.so.*
+
+%files embedded-devel
+%defattr(-, root, root, -)
+%attr(644, root, root) %{_libdir}/mysql/libmysqld.a
+%attr(644, root, root) %{_libdir}/mysql/libmysqld-debug.a
+%attr(755, root, root) %{_libdir}/mysql/libmysqld.so
+
+%changelog
+* Fri Oct 25 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.15-1
+- Fixed uln advanced rpm libyassl.a error
+- Updated to 5.6.15
+
+* Wed Oct 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-3
+- Fixed mysql_install_db usage
+- Improved handling of plugin directory
+
+* Fri Sep 27 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-2
+- Refresh mysql-install patch and service renaming
+
+* Mon Sep 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-1
+- Updated to 5.6.14
+
+* Wed Sep 04 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-5
+- Support upgrade from 5.5 ULN packages to 5.6
+
+* Tue Aug 27 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-4
+- Enhanced perl filtering
+- Added openssl-devel to buildreq
+
+* Wed Aug 21 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-3
+- Removed mysql_embedded binary to resolve multilib conflict issue
+
+* Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-2
+- Fixed Provides and Obsoletes issues in server, test packages
+
+* Wed Aug 14 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-1
+- Updated to 5.6.13
+
+* Mon Aug 05 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-9
+- Added files list to embedded packages
+
+* Thu Aug 01 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-8
+- Updated libmysqld.a with libmysqld.so in embedded package
+
+* Mon Jul 29 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-7
+- Updated test package dependency from client to server
+
+* Wed Jul 24 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-6
+- Added libs-compat dependency under libs package to resolve server
+ installation conflicts issue.
+
+* Wed Jul 17 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-5
+- Removed libmysqlclient.so.16 from libs package
+
+* Fri Jul 05 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-4
+- Adjusted to work on OEL6
+
+* Wed Jun 26 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-3
+- Move libs to mysql/
+- Basic multi arch support
+- Fix changelog dates
+
+* Thu Jun 20 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-2
+- Major cleanup
+
+* Tue Jun 04 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-1
+- Updated to 5.6.12
+
+* Mon Nov 05 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Allow to override the default to use the bundled yaSSL by an option like
+ --define="with_ssl /path/to/ssl"
+
+* Wed Oct 10 2012 Bjorn Munch <bjorn.munch@oracle.com>
+
+- Replace old my-*.cnf config file examples with template my-default.cnf
+
+* Fri Oct 05 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Let the installation use the new option "--random-passwords" of "mysql_install_db".
+ (Bug# 12794345 Ensure root password)
+- Fix an inconsistency: "new install" vs "upgrade" are told from the (non)existence
+ of "$mysql_datadir/mysql" (holding table "mysql.user" and other system stuff).
+
+* Tue Jul 24 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Add a macro "runselftest":
+ if set to 1 (default), the test suite will be run during the RPM build;
+ this can be oveeridden via the command line by adding
+ --define "runselftest 0"
+ Failures of the test suite will NOT make the RPM build fail!
+
+* Mon Jul 16 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Add the man page for the "mysql_config_editor".
+
+* Mon Jun 11 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Make sure newly added "SPECIFIC-ULN/" directory does not disturb packaging.
+
+* Wed Feb 29 2012 Brajmohan Saxena <brajmohan.saxena@oracle.com>
+
+- Removal all traces of the readline library from mysql (BUG 13738013)
+
+* Wed Sep 28 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Fix duplicate mentioning of "mysql_plugin" and its manual page,
+ it is better to keep alphabetic order in the files list (merging!).
+
+* Wed Sep 14 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Let the RPM capabilities ("obsoletes" etc) ensure that an upgrade may replace
+ the RPMs of any configuration (of the current or the preceding release series)
+ by the new ones. This is done by not using the implicitly generated capabilities
+ (which include the configuration name) and relying on more generic ones which
+ just list the function ("server", "client", ...).
+ The implicit generation cannot be prevented, so all these capabilities must be
+ explicitly listed in "Obsoletes:"
+
+* Tue Sep 13 2011 Jonathan Perkin <jonathan.perkin@oracle.com>
+
+- Add support for Oracle Linux 6 and Red Hat Enterprise Linux 6. Due to
+ changes in RPM behaviour ($RPM_BUILD_ROOT is removed prior to install)
+ this necessitated a move of the libmygcc.a installation to the install
+ phase, which is probably where it belonged in the first place.
+
+* Tue Sep 13 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- "make_win_bin_dist" and its manual are dropped, cmake does it different.
+
+* Thu Sep 08 2011 Daniel Fischer <daniel.fischer@oracle.com>
+
+- Add mysql_plugin man page.
+
+* Tue Aug 30 2011 Tor Didriksen <tor.didriksen@oracle.com>
+
+- Set CXX=g++ by default to add a dependency on libgcc/libstdc++.
+ Also, remove the use of the -fno-exceptions and -fno-rtti flags.
+ TODO: update distro_buildreq/distro_requires
+
+* Tue Aug 30 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Add the manual page for "mysql_plugin" to the server package.
+
+* Fri Aug 19 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Null-upmerge the fix of bug#37165: This spec file is not affected.
+- Replace "/var/lib/mysql" by the spec file variable "%{mysqldatadir}".
+
+* Fri Aug 12 2011 Daniel Fischer <daniel.fischer@oracle.com>
+
+- Source plugin library files list from cmake-generated file.
+
+* Mon Jul 25 2011 Chuck Bell <chuck.bell@oracle.com>
+
+- Added the mysql_plugin client - enables or disables plugins.
+
+* Thu Jul 21 2011 Sunanda Menon <sunanda.menon@oracle.com>
+
+- Fix bug#12561297: Added the MySQL embedded binary
+
+* Thu Jul 07 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Fix bug#45415: "rpm upgrade recreates test database"
+ Let the creation of the "test" database happen only during a new installation,
+ not in an RPM upgrade.
+ This affects both the "mkdir" and the call of "mysql_install_db".
+
+* Wed Feb 09 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Fix bug#56581: If an installation deviates from the default file locations
+ ("datadir" and "pid-file"), the mechanism to detect a running server (on upgrade)
+ should still work, and use these locations.
+ The problem was that the fix for bug#27072 did not check for local settings.
+
+* Mon Jan 31 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- Install the new "manifest" files: "INFO_SRC" and "INFO_BIN".
+
+* Tue Nov 23 2010 Jonathan Perkin <jonathan.perkin@oracle.com>
+
+- EXCEPTIONS-CLIENT has been deleted, remove it from here too
+- Support MYSQL_BUILD_MAKE_JFLAG environment variable for passing
+ a '-j' argument to make.
+
+* Mon Nov 1 2010 Georgi Kodinov <georgi.godinov@oracle.com>
+
+- Added test authentication (WL#1054) plugin binaries
+
+* Wed Oct 6 2010 Georgi Kodinov <georgi.godinov@oracle.com>
+
+- Added example external authentication (WL#1054) plugin binaries
+
+* Wed Aug 11 2010 Joerg Bruehe <joerg.bruehe@oracle.com>
+
+- With a recent spec file cleanup, names have changed: A "-community" part was dropped.
+ Reflect that in the "Obsoletes" specifications.
+- Add a "triggerpostun" to handle the uninstall of the "-community" server RPM.
+- This fixes bug#55015 "MySQL server is not restarted properly after RPM upgrade".
+
+* Tue Jun 15 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Change the behaviour on installation and upgrade:
+ On installation, do not autostart the server.
+ *Iff* the server was stopped before the upgrade is started, this is taken as a
+ sign the administrator is handling that manually, and so the new server will
+ not be started automatically at the end of the upgrade.
+ The start/stop scripts will still be installed, so the server will be started
+ on the next machine boot.
+ This is the 5.5 version of fixing bug#27072 (RPM autostarting the server).
+
+* Tue Jun 1 2010 Jonathan Perkin <jonathan.perkin@oracle.com>
+
+- Implement SELinux checks from distribution-specific spec file.
+
+* Wed May 12 2010 Jonathan Perkin <jonathan.perkin@oracle.com>
+
+- Large number of changes to build using CMake
+- Introduce distribution-specific RPMs
+- Drop debuginfo, build all binaries with debug/symbols
+- Remove __os_install_post, use native macro
+- Remove _unpackaged_files_terminate_build, make it an error to have
+ unpackaged files
+- Remove cluster RPMs
+
+* Wed Mar 24 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Add "--with-perfschema" to the configure options.
+
+* Mon Mar 22 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- User "usr/lib*" to allow for both "usr/lib" and "usr/lib64",
+ mask "rmdir" return code 1.
+- Remove "ha_example.*" files from the list, they aren't built.
+
+* Wed Mar 17 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Fix a wrong path name in handling the debug plugins.
+
+* Wed Mar 10 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Take the result of the debug plugin build and put it into the optimized tree,
+ so that it becomes part of the final installation;
+ include the files in the packlist. Part of the fixes for bug#49022.
+
+* Mon Mar 01 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Set "Oracle and/or its affiliates" as the vendor and copyright owner,
+ accept upgrading from packages showing MySQL or Sun as vendor.
+
+* Fri Feb 12 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Formatting changes:
+ Have a consistent structure of separator lines and of indentation
+ (8 leading blanks => tab).
+- Introduce the variable "src_dir".
+- Give the environment variables "MYSQL_BUILD_CC(CXX)" precedence
+ over "CC" ("CXX").
+- Drop the old "with_static" argument analysis, this is not supported
+ in 5.1 since ages.
+- Introduce variables to control the handlers individually, as well
+ as other options.
+- Use the new "--with-plugin" notation for the table handlers.
+- Drop handling "/etc/rc.d/init.d/mysql", the switch to "/etc/init.d/mysql"
+ was done back in 2002 already.
+- Make "--with-zlib-dir=bundled" the default, add an option to disable it.
+- Add missing manual pages to the file list.
+- Improve the runtime check for "libgcc.a", protect it against being tried
+ with the Intel compiler "icc".
+
+* Mon Jan 11 2010 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Change RPM file naming:
+ - Suffix like "-m2", "-rc" becomes part of version as "_m2", "_rc".
+ - Release counts from 1, not 0.
+
+* Wed Dec 23 2009 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- The "semisync" plugin file name has lost its introductory "lib",
+ adapt the file lists for the subpackages.
+ This is a part missing from the fix for bug#48351.
+- Remove the "fix_privilege_tables" manual, it does not exist in 5.5
+ (and likely, the whole script will go, too).
+
+* Mon Nov 16 2009 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Fix some problems with the directives around "tcmalloc" (experimental),
+ remove erroneous traces of the InnoDB plugin (that is 5.1 only).
+
+* Tue Oct 06 2009 Magnus Blaudd <mvensson@mysql.com>
+
+- Removed mysql_fix_privilege_tables
+
+* Fri Oct 02 2009 Alexander Nozdrin <alexander.nozdrin@sun.com>
+
+- "mysqlmanager" got removed from version 5.4, all references deleted.
+
+* Fri Aug 28 2009 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- Merge up from 5.1 to 5.4: Remove handling for the InnoDB plugin.
+
+* Thu Aug 27 2009 Joerg Bruehe <joerg.bruehe@sun.com>
+
+- This version does not contain the "Instance manager", "mysqlmanager":
+ Remove it from the spec file so that packaging succeeds.
+
+* Mon Aug 24 2009 Jonathan Perkin <jperkin@sun.com>
+
+- Add conditionals for bundled zlib and innodb plugin
+
+* Fri Aug 21 2009 Jonathan Perkin <jperkin@sun.com>
+
+- Install plugin libraries in appropriate packages.
+- Disable libdaemon_example and ftexample plugins.
+
+* Thu Aug 20 2009 Jonathan Perkin <jperkin@sun.com>
+
+- Update variable used for mysql-test suite location to match source.
+
+* Fri Nov 07 2008 Joerg Bruehe <joerg@mysql.com>
+
+- Correct yesterday's fix, so that it also works for the last flag,
+ and fix a wrong quoting: un-quoted quote marks must not be escaped.
+
+* Thu Nov 06 2008 Kent Boortz <kent.boortz@sun.com>
+
+- Removed "mysql_upgrade_shell"
+- Removed some copy/paste between debug and normal build
+
+* Thu Nov 06 2008 Joerg Bruehe <joerg@mysql.com>
+
+- Modify CFLAGS and CXXFLAGS such that a debug build is not optimized.
+ This should cover both gcc and icc flags. Fixes bug#40546.
+
+* Fri Aug 29 2008 Kent Boortz <kent@mysql.com>
+
+- Removed the "Federated" storage engine option, and enabled in all
+
+* Tue Aug 26 2008 Joerg Bruehe <joerg@mysql.com>
+
+- Get rid of the "warning: Installed (but unpackaged) file(s) found:"
+ Some generated files aren't needed in RPMs:
+ - the "sql-bench/" subdirectory
+ Some files were missing:
+ - /usr/share/aclocal/mysql.m4 ("devel" subpackage)
+ - Manual "mysqlbug" ("server" subpackage)
+ - Program "innochecksum" and its manual ("server" subpackage)
+ - Manual "mysql_find_rows" ("client" subpackage)
+ - Script "mysql_upgrade_shell" ("client" subpackage)
+ - Program "ndb_cpcd" and its manual ("ndb-extra" subpackage)
+ - Manuals "ndb_mgm" + "ndb_restore" ("ndb-tools" subpackage)
+
+* Mon Mar 31 2008 Kent Boortz <kent@mysql.com>
+
+- Made the "Federated" storage engine an option
+- Made the "Cluster" storage engine and sub packages an option
+
+* Wed Mar 19 2008 Joerg Bruehe <joerg@mysql.com>
+
+- Add the man pages for "ndbd" and "ndb_mgmd".
+
+* Mon Feb 18 2008 Timothy Smith <tim@mysql.com>
+
+- Require a manual upgrade if the alread-installed mysql-server is
+ from another vendor, or is of a different major version.
+
+* Wed May 02 2007 Joerg Bruehe <joerg@mysql.com>
+
+- "ndb_size.tmpl" is not needed any more,
+ "man1/mysql_install_db.1" lacked the trailing '*'.
+
+* Sat Apr 07 2007 Kent Boortz <kent@mysql.com>
+
+- Removed man page for "mysql_create_system_tables"
+
+* Wed Mar 21 2007 Daniel Fischer <df@mysql.com>
+
+- Add debug server.
+
+* Mon Mar 19 2007 Daniel Fischer <df@mysql.com>
+
+- Remove Max RPMs; the server RPMs contain a mysqld compiled with all
+ features that previously only were built into Max.
+
+* Fri Mar 02 2007 Joerg Bruehe <joerg@mysql.com>
+
+- Add several man pages for NDB which are now created.
+
+* Fri Jan 05 2007 Kent Boortz <kent@mysql.com>
+
+- Put back "libmygcc.a", found no real reason it was removed.
+
+- Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
+ correct "libgcc.a" path is returned for the 32/64 bit architecture.
+
+* Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com>
+
+- Fix the move of "mysqlmanager" to section 8: Directory name was wrong.
+
+* Thu Dec 14 2006 Joerg Bruehe <joerg@mysql.com>
+
+- Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
+ in the server RPM.
+- The "mysqlmanager" man page got moved from section 1 to 8.
+
+* Thu Nov 30 2006 Joerg Bruehe <joerg@mysql.com>
+
+- Call "make install" using "benchdir_root=%{_datadir}",
+ because that is affecting the regression test suite as well.
+
+* Thu Nov 16 2006 Joerg Bruehe <joerg@mysql.com>
+
+- Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
+ replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
+ (bug#22081).
+
+* Mon Nov 13 2006 Joerg Bruehe <joerg@mysql.com>
+
+- Add "--with-partition" t 2006 Joerg Bruehe <joerg@mysql.com>
+
+- Use the Perl script to run the tests, because it will automatically check
+ whether the server is configured with SSL.
+
+* Tue Jun 27 2006 Joerg Bruehe <joerg@mysql.com>
+
+- move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)
+
+- Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
+ there are some more aspects which need to be solved before this is possible.
+ For now, just ensure the binary "mysql_upgrade" is delivered and installysql.com>
+
+- To run "mysql_upgrade", we need a running server;
+ start it in isolation and skip password checks.
+
+* Sat May 20 2006 Kent Boortz <kent@mysql.com>
+
+- Always compile for PIC, position independent code.
+
+* Wed May 10 2006 Kent Boortz <kent@mysql.com>
+
+- Use character set "all" when compiling with Cluster, to make Cluster
+ nodes independent on the character set directory, and the problem
+ that two RPM sub packages both wants to install this directory.
+
+* Mon May 01 2006 Kent Boortz <kent@mysql.com>
+
+- Use "./libtool --mode=execute" instead of searching for the
+ executable in current directory and ".libs".
+
+* Fri Apr 28 2006 Kent Boortz <kent@mysql.com>
+
+- Install and run "mysql_upgrade"
+
+* Wed Apr 12 2006 Jim Winstead <jimw@mysql.com>
+
+- Remove sql-bench, and MySQL-bench RPM (will be built as an independent
+ project from the mysql-bench repository)
+
+* Tue Apr 11 2006 Jim Winstead <jimw@mysql.com>
+
+- Remove old mysqltestmanager and related programs
+* Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
+
+- Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
+
+* Tue Mar 07 2006 Kent Boortz <kent@mysql.com>
+
+- Changed product name from "Community Edition" to "Community Server"
+
+* Mon Mar 06 2006 Kent Boortz <kent@mysql.com>
+
+- Fast mutexes is now disabled by default, but should be
+ used in Linux builds.
+
+* Mon Feb 20 2006 Kent Boortz <kent@mysql.com>
+
+- Reintroduced a max build
+- Limited testing of 'debug' and 'max' servers
+- Berkeley DB only in 'max'
+
+* Mon Feb 13 2006 Joerg Bruehe <joerg@mysql.com>
+
+- Use "-i" on "make test-force";
+ this is essential for later evaluation of this log file.
+
+* Thu Feb 09 2006 Kent Boortz <kent@mysql.com>
+
+- Pass '-static' to libtool, link static with our own libraries, dynamic
+ with system libraries. Link with the bundled zlib.
+
+* Wed Feb 08 2006 Kristian Nielsen <knielsen@mysql.com>
+
+- Modified RPM spec to match new 5.1 debug+max combined community packaging.
+
+* Sun Dec 18 2005 Kent Boortz <kent@mysql.com>
+
+- Added "client/mysqlslap"
+
+* Mon Dec 12 2005 Rodrigo Novo <rodrigo@mysql.com>
+
+- Added zlib to the list of (static) libraries installed
+- Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
+- Compile MySQL with bundled zlib
+- Fixed %packager name to "MySQL Production Engineering Team"
+
+* Mon Dec 05 2005 Joerg Bruehe <joerg@mysql.com>
+
+- Avoid using the "bundled" zlib on "shared" builds:
+ As it is not installed (on the build system), this gives dependency
+ problems with "libtool" causing the build to fail.
+ (Change was done on Nov 11, but left uncommented.)
+
+* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com>
+
+- Extend the file existence check for "init.d/mysql" on un-install
+ to also guard the call to "insserv"/"chkconfig".
+
+* Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com>
+
+- added more man pages
+
+* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
+
+- Made yaSSL support an option (off by default)
+
+* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
+
+- Enabled yaSSL support
+
+* Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
+
+- Give mode arguments the same way in all places
+lenz@mysql.com>
+
+- fixed the removing of the RPM_BUILD_ROOT in the %clean section (the
+ $RBR variable did not get expanded, thus leaving old build roots behind)
+
+* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com>
+
+- Fixed the creation of the mysql user group account in the postinstall
+ section (BUG 12348)
+- Fixed enabling the Archive storage engine in the Max binary
+
+* Tue Aug 02 2005 Lenz Grimmer <lenz@mysql.com>
+
+- Fixed the Requires: tag for the server RPM (BUG 12233)
+
+* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com>
+
+- create a "mysql" user group and assign the mysql user account to that group
+ in the server postinstall section. (BUG 10984)
+
+* Tue Jun 14 2005 Lenz Grimmer <lenz@mysql.com>
+
+- Do not build statically on i386 by default, only when adding either "--with
+ static" or "--define '_with_static 1'" to the RPM build options. Static
+ linking really only makes sense when linking against the specially patched
+ glibc 2.2.5.
+
+* Mon Jun 06 2005 Lenz Grimmer <lenz@mysql.com>
+
+- added mysql_client_test to the "bench" subpackage (BUG 10676)
+- added the libndbclient static and shared libraries (BUG 10676)
+
+* Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com>
+
+- use "mysqldatadir" variable instead of hard-coding the path multiple times
+- use the "mysqld_user" variable on all occasions a user name is referenced
+- removed (incomplete) Brazilian translations
+- removed redundant release tags from the subpackage descriptions
+
+* Wed May 25 2005 Joerg Bruehe <joerg@mysql.com>
+
+- Added a "make clean" between separate calls to "BuildMySQL".
+
+* Thu May 12 2005 Guilhem Bichot <guilhem@mysql.com>
+
+- Removed the mysql_tableinfo script made obsolete by the information schema
+
+* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com>
+
+- Enabled the "blackhole" storage engine for the Max RPM
+
+* Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com>
+
+- removed the MySQL manual files (html/ps/texi) - they have been removed
+ from the MySQL sources and are now available seperately.
+
+* Mon Apr 4 2005 Petr Chardin <petr@mysql.com>
+
+- old mysqlmanager, mysq* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com>
+
+- enabled the "Ndbcluster" storage engine for the max binary
+- added extra make install in ndb subdir after Max build to get ndb binaries
+- added packages for ndbcluster storage engine
+
+* Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com>
+
+- replaced obsoleted "BuildPrereq" with "BuildRequires" instead
+
+* Thu Jan 13 2005 Lenz Grimmer <lenz@mysql.com>
+
+- enabled the "Federated" storage engine for the max binary
+
+* Tue Jan 04 2005 Petr Chardin <petr@mysql.com>
+
+- ISAM and merge storage engines were purged. As well as appropriate
+ tools and manpages (isamchk and isamlog)
+
+* Fri Dec 31 2004 Lenz Grimmer <lenz@mysql.com>
+
+- enabled the "Archive" storage engine for the max binary
+- enabled the "CSV" storage engine for the max binary
+- enabled the "Example" storage engine for the max binary
+
+* Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com>
+
+- MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860)
+
+* Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com>
+
+- do not link statically on IA64/AMD64 as these systems do not have
+ a patched glibc installed
+
+* Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com>
+
+- Added libmygcc.a to the devel subpackage (required to link applications
+ against the the embedded server libmysqld.a) (BUG 4921)
+
+* Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com>
+
+- Added EXCEPTIONS-CLIENT to the "devel" package
+
+* Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com>
+
+- disabled OpenSSL in the Max binaries again (the RPM packages were the
+ only exception to this anyway) (BUG 1043)
+
+* Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com>
+
+- fixed server postinstall (mysql_install_db was called with the wrong
+ parameter)
+
+* Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com>
+
+- added mysql_tzinfo_to_sql to the server subpackage
+- run "make clean" instead of "make distclean"
+
+* Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com>
+
+- added ncurses-devel to the build prerequisites (BUG 3377)
+
+* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com>
+
+- when using gcc, _always_ use CXX=gcc
+- replaced Copyright with License field (Copyright is obsolete)
+
+* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com>
+
+- added myisam_ftdump to the Server package
+
+* Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com>
+
+- link the mysql client against libreadline instead of libedit (BUG 2289)
+
+* Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com>
+
+- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
+
+* Sat Dec 13 2003 Lenz Grimmer <lenz@mysql.com>
+
+- fixed file permissions (BUG 1672)
+
+* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com>
+
+- made testing for gcc3 a bit more robust
+
+* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com>
+
+- added missing file mysql_create_system_tables to the server subpackage
+
+* Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com>
+
+- removed dependency on MySQL-client from the MySQL-devel subpackage
+ as it is not really required. (BUG 1610)
+
+* Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com>
+
+- Fixed BUG 1162 (removed macro names from the changelog)
+- Really fixed BUG 998 (disable the checking for installed but
+ unpackaged files)
+
+* Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com>
+
+- Fixed BUG 959 (libmysqld not being compiled properly)
+- Fixed BUG 998 (RPM build errors): added missing files to the
+ distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
+ mysql_fix_privilege_tables.1), removed "-n" from install section.
+
+* Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com>
+
+- removed the GIF Icon (file was not included in the sources anyway)
+- removed unused variable shared_lib_version
+- do not run automake before building the standard binary
+ (should not be necessary)
+- add server suffix '-standard' to standard binary (to be in line
+ with the binary tarball distributions)
+- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
+ _datadir, _includedir) throughout the spec file.
+- allow overriding CC and CXX (required when building with other compilers)
+
+* Fri May 16 2003 Lenz Grimmer <lenz@mysql.com>
+
+- re-enabled RAID again
+
+* Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com>
+
+- disabled MyISAM RAID (--with-raid)- it throws an assertion which
+ needs to be investigated first.
+
+* Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com>
+
+- added missing file mysql_secure_installation to server subpackage
+ (BUG 141)
+
+* Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com>
+
+- re-added missing pre- and post(un)install scripts to server subpackage
+- added config file /etc/my.cnf to the file list (just for completeness)
+- make sure to create the datadir with 755 permissions
+
+* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com>
+
+- removed unusedql.com>
+
+- Reworked the build steps a little bit: the Max binary is supposed
+ to include OpenSSL, which cannot be linked statically, thus trying
+ to statically link against a special glibc is futile anyway
+- because of this, it is not required to make yet another build run
+ just to compile the shared libs (saves a lot of time)
+- updated package description of the Max subpackage
+- clean up the BuildRoot directory afterwards
+
+* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com>
+
+- Updated Packager information
+- Fixed the build options: the regular package is supposed to
+ include InnoDB and linked statically, while the Max package
+ should include BDB and SSL support
+
+* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com>
+
+- Use more RPM macros (e.g. infodir, mandir) to make the spec
+ file more portable
+- reorganized the installation of documentation files: let RPM
+ take care of this
+- reorganized the file list: actually install man pages along
+ with the binaries of the respective subpackage
+- do not include libmysqld.a in the devel subpackage as well, if we
+ have a special "embedded" subpackage
+- reworked the package descriptions
+
+* Mon Oct 8 2001 Monty
+
+- Added embedded server as a separate RPM
+
+* Fri Apr 13 2001 Monty
+
+- Added mysqld-max to the distribution
+
+* Tue Jan 2 2001 Monty
+
+- Added mysql-test to the bench package
+
+* Fri Aug 18 2000 Tim Smith <tim@mysql.com>
+
+- Added separate libmysql_r directory; now both a threaded
+ and non-threaded library is shipped.
+
+* Tue Sep 28 1999 David Axmark <davida@mysql.com>
+
+- Added the support-files/my-example.cnf to the docs directory.
+
+- Removed devel dependency on base since it is about client
+ development.
+
+* Wed Sep 8 1999 David Axmark <davida@mysql.com>
+
+- Cleaned up some for 3.23.
+
+* Thu Jul 1 1999 David Axmark <davida@mysql.com>
+
+- Added support for shared libraries in a separate sub
+ package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
+
+- The --enable-assembler switch is now automatically disables on
+ platforms there assembler code is unavailable. This should allow
+ building this RPM on non i386 systems.
+
+* Mon Feb 22 1999 David Axmark <david@detron.se>
+
+- Removed unportable cc switches from the spec file. The defaults can
+ now be overridden with environment variables. This feature is used
+ to compile the official RPM with optimal (but compiler version
+ specific) switches.
+
+- Removed the repetitive description parts for the sub rpms. Maybe add
+ again if RPM gets a multiline macro capability.
+
+- Added support for a pt_BR translation. Translation contributed by
+ Jorge Godoy <jorge@bestway.com.br>.
+
+* Wed Nov 4 1998 David Axmark <david@detron.se>
+
+- A lot of changes in all the rpm and install scripts. This may even
+ be a working RPM :-)
+
+* Sun Aug 16 1998 David Axmark <david@detron.se>
+
+- A developers changelog for MySQL is available in the source RPM. And
+ there is a history of major user visible changed in the Reference
+ Manual. Only RPM specific changes will be documented here.
diff --git a/packaging/rpm-oel/mysql_config.sh b/packaging/rpm-oel/mysql_config.sh
new file mode 100644
index 00000000000..abe46e0ed74
--- /dev/null
+++ b/packaging/rpm-oel/mysql_config.sh
@@ -0,0 +1,28 @@
+#! /bin/bash
+#
+# Wrapper script for mysql_config to support multilib
+#
+# Only works on OEL6/RHEL6 and similar
+#
+# This command respects setarch
+
+bits=$(rpm --eval %__isa_bits)
+
+case $bits in
+ 32|64) status=known ;;
+ *) status=unknown ;;
+esac
+
+if [ "$status" = "unknown" ] ; then
+ echo "$0: error: command 'rpm --eval %__isa_bits' returned unknown value: $bits"
+ exit 1
+fi
+
+
+if [ -x /usr/bin/mysql_config-$bits ] ; then
+ /usr/bin/mysql_config-$bits "$@"
+else
+ echo "$0: error: needed binary: /usr/bin/mysql_config-$bits is missing. Please check your MySQL installation."
+ exit 1
+fi
+
diff --git a/packaging/rpm-oel/mysqld.service b/packaging/rpm-oel/mysqld.service
new file mode 100644
index 00000000000..78ef3bffe60
--- /dev/null
+++ b/packaging/rpm-oel/mysqld.service
@@ -0,0 +1,48 @@
+#
+# Simple MySQL systemd service file
+#
+# systemd supports lots of fancy features, look here (and linked docs) for a full list:
+# http://www.freedesktop.org/software/systemd/man/systemd.exec.html
+#
+# Note: this file ( /usr/lib/systemd/system/mysql.service )
+# will be overwritten on package upgrade, please copy the file to
+#
+# /etc/systemd/system/mysql.service
+#
+# to make needed changes.
+#
+# systemd-delta can be used to check differences between the two mysql.service files.
+#
+
+[Unit]
+Description=MySQL Community Server
+After=network.target
+After=syslog.target
+
+[Install]
+WantedBy=multi-user.target
+Alias=mysql.service
+
+[Service]
+User=mysql
+Group=mysql
+
+# Execute pre and post scripts as root
+PermissionsStartOnly=true
+
+# Needed to create system tables etc.
+ExecStartPre=/usr/bin/mysql-systemd-start pre
+
+# Start main service
+ExecStart=/usr/bin/mysqld_safe
+
+# Don't signal startup success before a ping works
+ExecStartPost=/usr/bin/mysql-systemd-start post
+
+# Give up if ping don't get an answer
+TimeoutSec=600
+
+Restart=always
+PrivateTmp=false
+
+
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c
index 2a06b6a01a6..fbca8bf9e93 100644
--- a/plugin/auth_pam/auth_pam.c
+++ b/plugin/auth_pam/auth_pam.c
@@ -189,6 +189,6 @@ maria_declare_plugin(pam)
NULL,
vars,
"1.0",
- MariaDB_PLUGIN_MATURITY_BETA
+ MariaDB_PLUGIN_MATURITY_STABLE
}
maria_declare_plugin_end;
diff --git a/plugin/auth_socket/auth_socket.c b/plugin/auth_socket/auth_socket.c
index 78d7e769f7b..779998395b0 100644
--- a/plugin/auth_socket/auth_socket.c
+++ b/plugin/auth_socket/auth_socket.c
@@ -99,7 +99,7 @@ maria_declare_plugin(socket_auth)
NULL,
NULL,
"1.0",
- MariaDB_PLUGIN_MATURITY_BETA
+ MariaDB_PLUGIN_MATURITY_STABLE
}
maria_declare_plugin_end;
diff --git a/plugin/daemon_example/daemon_example.cc b/plugin/daemon_example/daemon_example.cc
index 7d047b2eaf7..ffa9789a0e9 100644
--- a/plugin/daemon_example/daemon_example.cc
+++ b/plugin/daemon_example/daemon_example.cc
@@ -162,6 +162,7 @@ static int daemon_example_plugin_deinit(void *p __attribute__ ((unused)))
struct tm tm_tmp;
pthread_cancel(con->heartbeat_thread);
+ pthread_join(con->heartbeat_thread, NULL);
localtime_r(&result, &tm_tmp);
my_snprintf(buffer, sizeof(buffer),
diff --git a/plugin/feedback/CMakeLists.txt b/plugin/feedback/CMakeLists.txt
index 919324fb63b..9807eadbe34 100644
--- a/plugin/feedback/CMakeLists.txt
+++ b/plugin/feedback/CMakeLists.txt
@@ -1,6 +1,5 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${SSL_INCLUDE_DIRS})
SET(FEEDBACK_SOURCES feedback.cc sender_thread.cc
diff --git a/plugin/feedback/feedback.cc b/plugin/feedback/feedback.cc
index 9bf2fcb99bc..54459ae6f17 100644
--- a/plugin/feedback/feedback.cc
+++ b/plugin/feedback/feedback.cc
@@ -394,7 +394,7 @@ maria_declare_plugin(feedback)
NULL,
feedback::settings,
"1.1",
- MariaDB_PLUGIN_MATURITY_BETA
+ MariaDB_PLUGIN_MATURITY_STABLE
}
maria_declare_plugin_end;
#endif
diff --git a/plugin/handler_socket/libhsclient/auto_file.hpp b/plugin/handler_socket/libhsclient/auto_file.hpp
index 841351e54cd..03c357f4d4e 100644
--- a/plugin/handler_socket/libhsclient/auto_file.hpp
+++ b/plugin/handler_socket/libhsclient/auto_file.hpp
@@ -9,6 +9,11 @@
#ifndef DENA_AUTO_FILE_HPP
#define DENA_AUTO_FILE_HPP
+/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
+#if defined(_AIX) && defined(_LARGE_FILE_API)
+#undef _LARGE_FILE_API
+#endif
+
#include <unistd.h>
#include <sys/types.h>
#include <dirent.h>
diff --git a/plugin/locale_info/locale_info.cc b/plugin/locale_info/locale_info.cc
index f88c9eb9f6b..2d998b5c880 100644
--- a/plugin/locale_info/locale_info.cc
+++ b/plugin/locale_info/locale_info.cc
@@ -117,6 +117,6 @@ maria_declare_plugin(locales)
NULL, /* Status variables */
NULL, /* System variables */
"1.0", /* String version representation */
- MariaDB_PLUGIN_MATURITY_ALPHA /* Maturity (see include/mysql/plugin.h)*/
+ MariaDB_PLUGIN_MATURITY_GAMMA /* Maturity (see include/mysql/plugin.h)*/
}
maria_declare_plugin_end;
diff --git a/plugin/metadata_lock_info/metadata_lock_info.cc b/plugin/metadata_lock_info/metadata_lock_info.cc
index 0ddde226553..2a2d5e58e2b 100644
--- a/plugin/metadata_lock_info/metadata_lock_info.cc
+++ b/plugin/metadata_lock_info/metadata_lock_info.cc
@@ -37,6 +37,7 @@ static const LEX_STRING metadata_lock_info_lock_mode[] = {
{ C_STRING_WITH_LEN("MDL_SHARED_HIGH_PRIO") },
{ C_STRING_WITH_LEN("MDL_SHARED_READ") },
{ C_STRING_WITH_LEN("MDL_SHARED_WRITE") },
+ { C_STRING_WITH_LEN("MDL_SHARED_UPGRADABLE") },
{ C_STRING_WITH_LEN("MDL_SHARED_NO_WRITE") },
{ C_STRING_WITH_LEN("MDL_SHARED_NO_READ_WRITE") },
{ C_STRING_WITH_LEN("MDL_EXCLUSIVE") },
@@ -162,7 +163,7 @@ maria_declare_plugin(metadata_lock_info)
NULL,
NULL,
NULL,
- MariaDB_PLUGIN_MATURITY_ALPHA,
+ MariaDB_PLUGIN_MATURITY_BETA,
}
maria_declare_plugin_end;
#else
diff --git a/plugin/metadata_lock_info/mysql-test/metadata_lock_info/r/user_lock.result b/plugin/metadata_lock_info/mysql-test/metadata_lock_info/r/user_lock.result
index 9e3779e0336..e1d690b566c 100644
--- a/plugin/metadata_lock_info/mysql-test/metadata_lock_info/r/user_lock.result
+++ b/plugin/metadata_lock_info/mysql-test/metadata_lock_info/r/user_lock.result
@@ -5,7 +5,7 @@ GET_LOCK('LOCK1',0)
1
SELECT lock_mode, lock_duration, lock_type, table_schema, table_name FROM information_schema.metadata_lock_info;
lock_mode lock_duration lock_type table_schema table_name
-MDL_SHARED_NO_READ_WRITE MDL_EXPLICIT User lock LOCK1
+MDL_SHARED_NO_WRITE MDL_EXPLICIT User lock LOCK1
SELECT RELEASE_LOCK('LOCK1');
RELEASE_LOCK('LOCK1')
1
diff --git a/plugin/qc_info/CMakeLists.txt b/plugin/qc_info/CMakeLists.txt
index ca59130b072..d10f4547227 100644
--- a/plugin/qc_info/CMakeLists.txt
+++ b/plugin/qc_info/CMakeLists.txt
@@ -1,6 +1,5 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/extra/yassl/include)
MYSQL_ADD_PLUGIN(QUERY_CACHE_INFO qc_info.cc)
diff --git a/plugin/qc_info/qc_info.cc b/plugin/qc_info/qc_info.cc
index 717c54d548b..796fa0fbd9a 100644
--- a/plugin/qc_info/qc_info.cc
+++ b/plugin/qc_info/qc_info.cc
@@ -207,7 +207,7 @@ maria_declare_plugin(query_cache_info)
NULL, /* status variables */
NULL, /* system variables */
"1.0", /* version as a string */
- MariaDB_PLUGIN_MATURITY_ALPHA
+ MariaDB_PLUGIN_MATURITY_GAMMA
}
maria_declare_plugin_end;
diff --git a/plugin/query_response_time/mysql-test/query_response_time/basic.result b/plugin/query_response_time/mysql-test/query_response_time/basic.result
index b8aeb0a8e6e..15746424b1d 100644
--- a/plugin/query_response_time/mysql-test/query_response_time/basic.result
+++ b/plugin/query_response_time/mysql-test/query_response_time/basic.result
@@ -17,11 +17,11 @@ PLUGIN_TYPE INFORMATION SCHEMA
PLUGIN_AUTHOR Percona and Sergey Vojtovich
PLUGIN_DESCRIPTION Query Response Time Distribution INFORMATION_SCHEMA Plugin
PLUGIN_LICENSE GPL
-PLUGIN_MATURITY Alpha
+PLUGIN_MATURITY Gamma
PLUGIN_NAME QUERY_RESPONSE_TIME_AUDIT
PLUGIN_VERSION 1.0
PLUGIN_TYPE AUDIT
PLUGIN_AUTHOR Percona and Sergey Vojtovich
PLUGIN_DESCRIPTION Query Response Time Distribution Audit Plugin
PLUGIN_LICENSE GPL
-PLUGIN_MATURITY Alpha
+PLUGIN_MATURITY Gamma
diff --git a/plugin/query_response_time/plugin.cc b/plugin/query_response_time/plugin.cc
index ce7b8a784ff..4012ad09d2b 100644
--- a/plugin/query_response_time/plugin.cc
+++ b/plugin/query_response_time/plugin.cc
@@ -143,7 +143,7 @@ maria_declare_plugin(query_response_time)
NULL,
query_response_time_info_vars,
"1.0",
- MariaDB_PLUGIN_MATURITY_ALPHA
+ MariaDB_PLUGIN_MATURITY_GAMMA
},
{
MYSQL_AUDIT_PLUGIN,
@@ -158,6 +158,6 @@ maria_declare_plugin(query_response_time)
NULL,
NULL,
"1.0",
- MariaDB_PLUGIN_MATURITY_ALPHA
+ MariaDB_PLUGIN_MATURITY_GAMMA
}
maria_declare_plugin_end;
diff --git a/plugin/server_audit/CMakeLists.txt b/plugin/server_audit/CMakeLists.txt
new file mode 100644
index 00000000000..527d0d702da
--- /dev/null
+++ b/plugin/server_audit/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Copyright (C) 2013 Alexey Botchkov and SkySQL Ab
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+MYSQL_ADD_PLUGIN(server_audit server_audit.c MODULE_ONLY)
diff --git a/plugin/server_audit/COPYING b/plugin/server_audit/COPYING
new file mode 100644
index 00000000000..d511905c164
--- /dev/null
+++ b/plugin/server_audit/COPYING
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/plugin/server_audit/server_audit.c b/plugin/server_audit/server_audit.c
new file mode 100644
index 00000000000..becea65dd4a
--- /dev/null
+++ b/plugin/server_audit/server_audit.c
@@ -0,0 +1,1915 @@
+/* Copyright (C) 2013 Alexey Botchkov and SkySQL Ab
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+
+#define PLUGIN_VERSION 0x101
+#define PLUGIN_STR_VERSION "1.1.5"
+
+#include <stdio.h>
+#include <time.h>
+#include <string.h>
+
+#ifndef _WIN32
+#include <syslog.h>
+#else
+#define syslog(PRIORITY, FORMAT, INFO, MESSAGE_LEN, MESSAGE) do {}while(0)
+static void closelog() {}
+#define openlog(IDENT, LOG_NOWAIT, LOG_USER) do {}while(0)
+
+/* priorities */
+#define LOG_EMERG 0 /* system is unusable */
+#define LOG_ALERT 1 /* action must be taken immediately */
+#define LOG_CRIT 2 /* critical conditions */
+#define LOG_ERR 3 /* error conditions */
+#define LOG_WARNING 4 /* warning conditions */
+#define LOG_NOTICE 5 /* normal but significant condition */
+#define LOG_INFO 6 /* informational */
+#define LOG_DEBUG 7 /* debug-level messages */
+
+#define LOG_MAKEPRI(fac, pri) (((fac) << 3) | (pri))
+
+/* facility codes */
+#define LOG_KERN (0<<3) /* kernel messages */
+#define LOG_USER (1<<3) /* random user-level messages */
+#define LOG_MAIL (2<<3) /* mail system */
+#define LOG_DAEMON (3<<3) /* system daemons */
+#define LOG_AUTH (4<<3) /* security/authorization messages */
+#define LOG_SYSLOG (5<<3) /* messages generated internally by syslogd */
+#define LOG_LPR (6<<3) /* line printer subsystem */
+#define LOG_NEWS (7<<3) /* network news subsystem */
+#define LOG_UUCP (8<<3) /* UUCP subsystem */
+#define LOG_CRON (9<<3) /* clock daemon */
+#define LOG_AUTHPRIV (10<<3) /* security/authorization messages (private) */
+#define LOG_FTP (11<<3) /* ftp daemon */
+#define LOG_LOCAL0 (16<<3) /* reserved for local use */
+#define LOG_LOCAL1 (17<<3) /* reserved for local use */
+#define LOG_LOCAL2 (18<<3) /* reserved for local use */
+#define LOG_LOCAL3 (19<<3) /* reserved for local use */
+#define LOG_LOCAL4 (20<<3) /* reserved for local use */
+#define LOG_LOCAL5 (21<<3) /* reserved for local use */
+#define LOG_LOCAL6 (22<<3) /* reserved for local use */
+#define LOG_LOCAL7 (23<<3) /* reserved for local use */
+
+#endif /*!_WIN32*/
+
+/*
+ Defines that can be used to reshape the pluging:
+ #define MARIADB_ONLY
+ #define USE_MARIA_PLUGIN_INTERFACE
+*/
+
+#if !defined(MYSQL_DYNAMIC_PLUGIN) && !defined(MARIADB_ONLY)
+#define MARIADB_ONLY
+#endif /*MYSQL_PLUGIN_DYNAMIC*/
+
+#ifndef MARIADB_ONLY
+#define MYSQL_SERVICE_LOGGER_INCLUDED
+#endif /*MARIADB_ONLY*/
+
+#include <my_base.h>
+//#include <hash.h>
+#include <my_dir.h>
+#include <typelib.h>
+#include <mysql/plugin.h>
+#include <mysql/plugin_audit.h>
+#ifndef RTLD_DEFAULT
+#define RTLD_DEFAULT NULL
+#endif
+
+#undef my_init_dynamic_array_ci
+#define init_dynamic_array2 loc_init_dynamic_array2
+#define my_init_dynamic_array_ci(A,B,C,D) loc_init_dynamic_array2(A,B,NULL,C,D)
+#define my_hash_init2 loc_my_hash_init
+#define my_hash_search loc_my_hash_search
+#define my_hash_insert loc_my_hash_insert
+#define my_hash_delete loc_my_hash_delete
+#define my_hash_update loc_my_hash_update
+#define my_hash_free loc_my_hash_free
+#define my_hash_first loc_my_hash_first
+#define my_hash_reset loc_my_hash_reset
+#define my_hash_search_using_hash_value loc_my_hash_search_using_hash_value
+#define my_hash_first_from_hash_value loc_my_hash_first_from_hash_value
+#define my_hash_sort loc_my_hash_sort
+#undef my_hash_first_from_hash_value
+#define my_hash_first_from_hash_value loc_my_my_hash_first_from_hash_value
+#define my_hash_next loc_my_hash_next
+#define my_hash_element loc_my_hash_element
+#define my_hash_replace loc_my_hash_replace
+#define my_hash_iterate loc_my_hash_iterate
+
+#define alloc_dynamic loc_alloc_dynamic
+#define pop_dynamic loc_pop_dynamic
+#define delete_dynamic loc_delete_dynamic
+void *loc_alloc_dynamic(DYNAMIC_ARRAY *array);
+#ifdef my_strnncoll
+#undef my_strnncoll
+#define my_strnncoll(s, a, b, c, d) (my_strnncoll_binary((s), (a), (b), (c), (d), 0))
+#endif
+
+static int my_strnncoll_binary(CHARSET_INFO * cs __attribute__((unused)),
+ const uchar *s, size_t slen,
+ const uchar *t, size_t tlen,
+ my_bool t_is_prefix)
+{
+ size_t len= slen < tlen ? slen : tlen;
+ int cmp= memcmp(s,t,len);
+ return cmp ? cmp : (int)((t_is_prefix ? len : slen) - tlen);
+}
+
+#include "../../mysys/array.c"
+#include "../../mysys/hash.c"
+
+#ifndef MARIADB_ONLY
+#undef MYSQL_SERVICE_LOGGER_INCLUDED
+#undef MYSQL_DYNAMIC_PLUGIN
+#define FLOGGER_NO_PSI
+#define flogger_mutex_init(A,B,C) pthread_mutex_init(mysql_mutex_real_mutex(B), C)
+#define flogger_mutex_destroy(A) pthread_mutex_destroy(mysql_mutex_real_mutex(A))
+#define flogger_mutex_lock(A) pthread_mutex_lock(mysql_mutex_real_mutex(A))
+#define flogger_mutex_unlock(A) pthread_mutex_unlock(mysql_mutex_real_mutex(A))
+
+#include "../../mysys/file_logger.c"
+#endif /*!MARIADB_ONLY*/
+
+#ifndef DBUG_OFF
+#define PLUGIN_DEBUG_VERSION "-debug"
+#else
+#define PLUGIN_DEBUG_VERSION ""
+#endif /*DBUG_OFF*/
+/*
+ Disable __attribute__() on non-gcc compilers.
+*/
+#if !defined(__attribute__) && !defined(__GNUC__)
+#define __attribute__(A)
+#endif
+
+#ifdef _WIN32
+#define localtime_r(a, b) localtime_s(b, a)
+#endif /*WIN32*/
+
+
+extern char server_version[];
+static const char *serv_ver= NULL;
+static int started_mysql= 0;
+static int maria_above_5= 0;
+static char *incl_users, *excl_users,
+ *file_path, *syslog_info;
+static char path_buffer[FN_REFLEN];
+static unsigned int mode, mode_readonly= 0;
+static ulong output_type;
+static ulong syslog_facility, syslog_priority;
+
+static ulonglong events; /* mask for events to log */
+static unsigned long long file_rotate_size;
+static unsigned int rotations;
+static my_bool rotate= TRUE;
+static char logging;
+static int internal_stop_logging= 0;
+static char incl_user_buffer[1024];
+static char excl_user_buffer[1024];
+
+static char servhost[256];
+static size_t servhost_len;
+static char *syslog_ident;
+static char syslog_ident_buffer[128]= "mysql-server_auditing";
+#define DEFAULT_FILENAME_LEN 16
+static char default_file_name[DEFAULT_FILENAME_LEN+1]= "server_audit.log";
+
+static void update_file_path(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_file_rotate_size(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_file_rotations(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_incl_users(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_excl_users(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_output_type(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_syslog_facility(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_syslog_priority(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_mode(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_logging(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void update_syslog_ident(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+static void rotate_log(MYSQL_THD thd, struct st_mysql_sys_var *var,
+ void *var_ptr, const void *save);
+
+static MYSQL_SYSVAR_STR(incl_users, incl_users, PLUGIN_VAR_RQCMDARG,
+ "Comma separated list of users to monitor.",
+ NULL, update_incl_users, NULL);
+static MYSQL_SYSVAR_STR(excl_users, excl_users, PLUGIN_VAR_RQCMDARG,
+ "Comma separated list of users to exclude from auditing.",
+ NULL, update_excl_users, NULL);
+/* bits in the event filter. */
+#define EVENT_CONNECT 1
+#define EVENT_QUERY 2
+#define EVENT_TABLE 4
+static const char *event_names[]=
+{
+ "CONNECT", "QUERY", "TABLE",
+ NULL
+};
+static TYPELIB events_typelib=
+{
+ array_elements(event_names) - 1, "", event_names, NULL
+};
+static MYSQL_SYSVAR_SET(events, events, PLUGIN_VAR_RQCMDARG,
+ "Specifies the set of events to monitor. Can be CONNECT, QUERY, TABLE.",
+ NULL, NULL, 0, &events_typelib);
+#define OUTPUT_SYSLOG 0
+#define OUTPUT_FILE 1
+#define OUTPUT_NO 0xFFFF
+static const char *output_type_names[]= { "syslog", "file", 0 };
+static TYPELIB output_typelib=
+{
+ array_elements(output_type_names) - 1, "output_typelib",
+ output_type_names, NULL
+};
+static MYSQL_SYSVAR_ENUM(output_type, output_type, PLUGIN_VAR_RQCMDARG,
+ "Desired output type. Possible values - 'syslog', 'file'"
+ " or 'null' as no output.", 0, update_output_type, OUTPUT_FILE,
+ &output_typelib);
+static MYSQL_SYSVAR_STR(file_path, file_path, PLUGIN_VAR_RQCMDARG,
+ "Path to the log file.", NULL, update_file_path, default_file_name);
+static MYSQL_SYSVAR_ULONGLONG(file_rotate_size, file_rotate_size,
+ PLUGIN_VAR_RQCMDARG, "Maximum size of the log to start the rotation.",
+ NULL, update_file_rotate_size,
+ 1000000, 100, ((long long) 0x7FFFFFFFFFFFFFFFLL), 1);
+static MYSQL_SYSVAR_UINT(file_rotations, rotations,
+ PLUGIN_VAR_RQCMDARG, "Number of rotations before log is removed.",
+ NULL, update_file_rotations, 9, 0, 999, 1);
+static MYSQL_SYSVAR_BOOL(file_rotate_now, rotate, PLUGIN_VAR_OPCMDARG,
+ "Force log rotation now.", NULL, rotate_log, FALSE);
+static MYSQL_SYSVAR_BOOL(logging, logging,
+ PLUGIN_VAR_OPCMDARG, "Turn on/off the logging.", NULL,
+ update_logging, 0);
+static MYSQL_SYSVAR_UINT(mode, mode,
+ PLUGIN_VAR_OPCMDARG, "Auditing mode.", NULL, update_mode, 0, 0, 1, 1);
+static MYSQL_SYSVAR_STR(syslog_ident, syslog_ident, PLUGIN_VAR_RQCMDARG,
+ "The SYSLOG identifier - the beginning of each SYSLOG record.",
+ NULL, update_syslog_ident, syslog_ident_buffer);
+static MYSQL_SYSVAR_STR(syslog_info, syslog_info,
+ PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_MEMALLOC,
+ "The <info> string to be added to the SYSLOG record.", NULL, NULL, "");
+
+static const char *syslog_facility_names[]=
+{
+ "LOG_USER", "LOG_MAIL", "LOG_DAEMON", "LOG_AUTH",
+ "LOG_SYSLOG", "LOG_LPR", "LOG_NEWS", "LOG_UUCP",
+ "LOG_CRON",
+#ifdef LOG_AUTHPRIV
+ "LOG_AUTHPRIV",
+#endif
+#ifdef LOG_FTP
+ "LOG_FTP",
+#endif
+ "LOG_LOCAL0", "LOG_LOCAL1", "LOG_LOCAL2", "LOG_LOCAL3",
+ "LOG_LOCAL4", "LOG_LOCAL5", "LOG_LOCAL6", "LOG_LOCAL7",
+ 0
+};
+static unsigned int syslog_facility_codes[]=
+{
+ LOG_USER, LOG_MAIL, LOG_DAEMON, LOG_AUTH,
+ LOG_SYSLOG, LOG_LPR, LOG_NEWS, LOG_UUCP,
+ LOG_CRON,
+#ifdef LOG_AUTHPRIV
+ LOG_AUTHPRIV,
+#endif
+#ifdef LOG_FTP
+ LOG_FTP,
+#endif
+ LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3,
+ LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6, LOG_LOCAL7,
+};
+static TYPELIB syslog_facility_typelib=
+{
+ array_elements(syslog_facility_names) - 1, "syslog_facility_typelib",
+ syslog_facility_names, NULL
+};
+static MYSQL_SYSVAR_ENUM(syslog_facility, syslog_facility, PLUGIN_VAR_RQCMDARG,
+ "The 'facility' parameter of the SYSLOG record."
+ " The default is LOG_USER.", 0, update_syslog_facility, 0/*LOG_USER*/,
+ &syslog_facility_typelib);
+
+static const char *syslog_priority_names[]=
+{
+ "LOG_EMERG", "LOG_ALERT", "LOG_CRIT", "LOG_ERR",
+ "LOG_WARNING", "LOG_NOTICE", "LOG_INFO", "LOG_DEBUG",
+ 0
+};
+
+static unsigned int syslog_priority_codes[]=
+{
+ LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR,
+ LOG_WARNING, LOG_NOTICE, LOG_INFO, LOG_DEBUG,
+};
+
+static TYPELIB syslog_priority_typelib=
+{
+ array_elements(syslog_priority_names) - 1, "syslog_priority_typelib",
+ syslog_priority_names, NULL
+};
+static MYSQL_SYSVAR_ENUM(syslog_priority, syslog_priority, PLUGIN_VAR_RQCMDARG,
+ "The 'priority' parameter of the SYSLOG record."
+ " The default is LOG_INFO.", 0, update_syslog_priority, 6/*LOG_INFO*/,
+ &syslog_priority_typelib);
+
+
+static struct st_mysql_sys_var* vars[] = {
+ MYSQL_SYSVAR(incl_users),
+ MYSQL_SYSVAR(excl_users),
+ MYSQL_SYSVAR(events),
+ MYSQL_SYSVAR(output_type),
+ MYSQL_SYSVAR(file_path),
+ MYSQL_SYSVAR(file_rotate_size),
+ MYSQL_SYSVAR(file_rotations),
+ MYSQL_SYSVAR(file_rotate_now),
+ MYSQL_SYSVAR(logging),
+ MYSQL_SYSVAR(mode),
+ MYSQL_SYSVAR(syslog_info),
+ MYSQL_SYSVAR(syslog_ident),
+ MYSQL_SYSVAR(syslog_facility),
+ MYSQL_SYSVAR(syslog_priority),
+ NULL
+};
+
+
+/* Status variables for SHOW STATUS */
+static int is_active= 0;
+static long log_write_failures= 0;
+static char current_log_buf[FN_REFLEN]= "";
+static char last_error_buf[512]= "";
+
+static struct st_mysql_show_var audit_status[]=
+{
+ {"server_audit_active", (char *)&is_active, SHOW_BOOL},
+ {"server_audit_current_log", current_log_buf, SHOW_CHAR},
+ {"server_audit_writes_failed", (char *)&log_write_failures, SHOW_LONG},
+ {"server_audit_last_error", last_error_buf, SHOW_CHAR},
+ {0,0,0}
+};
+
+#if defined(HAVE_PSI_INTERFACE) && !defined(FLOGGER_NO_PSI)
+/* These belong to the service initialization */
+static PSI_mutex_key key_LOCK_operations;
+static PSI_mutex_info mutex_key_list[]=
+{{ &key_LOCK_operations, "SERVER_AUDIT_plugin::lock_operations",
+ PSI_FLAG_GLOBAL}};
+#endif
+static mysql_mutex_t lock_operations;
+
+/* The Percona server and partly MySQL don't support */
+/* launching client errors in the 'update_variable' methods. */
+/* So the client errors just disabled for them. */
+/* The possible solution is to implement the 'check_variable'*/
+/* methods there properly, but at the moment i'm not sure it */
+/* worths doing. */
+#define CLIENT_ERROR if (!started_mysql) my_printf_error
+
+static uchar *getkey_user(const char *entry, size_t *length,
+ my_bool nu __attribute__((unused)) )
+{
+ const char *e= entry;
+ while (*e && *e != ' ' && *e != ',')
+ ++e;
+ *length= e - entry;
+ return (uchar *) entry;
+}
+
+
+static void blank_user(uchar *user)
+{
+ for (; *user && *user != ','; user++)
+ *user= ' ';
+}
+
+
+static void remove_user(char *user)
+{
+ char *start_user= user;
+ while (*user != ',')
+ {
+ if (*user == 0)
+ {
+ *start_user= 0;
+ return;
+ }
+ user++;
+ }
+ user++;
+ while (*user == ' ')
+ user++;
+
+ do {
+ *(start_user++)= *user;
+ } while (*(user++));
+}
+
+
+static void remove_blanks(char *user)
+{
+ char *user_orig= user;
+ char *user_to= user;
+ char *start_tok;
+ int blank_name;
+
+ while (*user != 0)
+ {
+ start_tok= user;
+ blank_name= 1;
+ while (*user !=0 && *user != ',')
+ {
+ if (*user != ' ')
+ blank_name= 0;
+ user++;
+ }
+ if (!blank_name)
+ {
+ while (start_tok <= user)
+ *(user_to++)= *(start_tok++);
+ }
+ if (*user == ',')
+ user++;
+ }
+ if (user_to > user_orig && user_to[-1] == ',')
+ user_to--;
+ *user_to= 0;
+}
+
+
+static int user_hash_fill(HASH *h, char *users,
+ HASH *cmp_hash, int take_over_cmp)
+{
+ char *orig_users= users;
+ uchar *cmp_user= 0;
+ size_t cmp_length;
+ int refill_cmp_hash= 0;
+
+ if (my_hash_inited(h))
+ my_hash_reset(h);
+ else
+ loc_my_hash_init(h, 0, &my_charset_bin, 0x100, 0, 0,
+ (my_hash_get_key) getkey_user, 0, 0, 0);
+
+ while (*users)
+ {
+ while (*users == ' ')
+ users++;
+ if (!*users)
+ return 0;
+
+
+ if (cmp_hash)
+ {
+ (void) getkey_user(users, &cmp_length, FALSE);
+ cmp_user= my_hash_search(cmp_hash, (const uchar *) users, cmp_length);
+
+ if (cmp_user && take_over_cmp)
+ {
+ internal_stop_logging= 1;
+ CLIENT_ERROR(1, "User '%.*s' was removed from the"
+ " server_audit_excl_users.",
+ MYF(ME_JUST_WARNING), (int) cmp_length, users);
+ internal_stop_logging= 0;
+ blank_user(cmp_user);
+ refill_cmp_hash= 1;
+ }
+ else if (cmp_user)
+ {
+ internal_stop_logging= 1;
+ CLIENT_ERROR(1, "User '%.*s' is in the server_audit_incl_users, "
+ "so wasn't added.", MYF(ME_JUST_WARNING), (int) cmp_length, users);
+ internal_stop_logging= 0;
+ remove_user(users);
+ continue;
+ }
+ }
+ if (my_hash_insert(h, (const uchar *) users))
+ return 1;
+ while (*users && *users != ',')
+ users++;
+ if (!*users)
+ break;
+ users++;
+ }
+
+ if (refill_cmp_hash)
+ {
+ remove_blanks(excl_users);
+ return user_hash_fill(cmp_hash, excl_users, 0, 0);
+ }
+
+ if (users > orig_users && users[-1] == ',')
+ users[-1]= 0;
+
+ return 0;
+}
+
+
+static void error_header()
+{
+ struct tm tm_time;
+ time_t curtime;
+
+ (void) time(&curtime);
+ (void) localtime_r(&curtime, &tm_time);
+
+ (void) fprintf(stderr,"%02d%02d%02d %2d:%02d:%02d server_audit: ",
+ tm_time.tm_year % 100, tm_time.tm_mon + 1,
+ tm_time.tm_mday, tm_time.tm_hour, tm_time.tm_min, tm_time.tm_sec);
+}
+
+
+static LOGGER_HANDLE *logfile;
+static HASH incl_user_hash, excl_user_hash;
+static unsigned long long query_counter= 1;
+
+struct connection_info
+{
+ unsigned long thread_id;
+ unsigned long long query_id;
+ char db[256];
+ int db_length;
+ char user[64];
+ int user_length;
+ char host[64];
+ int host_length;
+ char ip[64];
+ int ip_length;
+ const char *query;
+ int query_length;
+ char query_buffer[1024];
+ time_t query_time;
+ int log_always;
+};
+
+static HASH connection_hash;
+
+
+struct connection_info *alloc_connection()
+{
+ return malloc(ALIGN_SIZE(sizeof(struct connection_info)));
+}
+
+
+void free_connection(void* pconn)
+{
+ (void) free(pconn);
+}
+
+
+static struct connection_info *find_connection(unsigned long id)
+{
+ return (struct connection_info *)
+ my_hash_search(&connection_hash, (const uchar *) &id, sizeof(id));
+}
+
+
+static void get_str_n(char *dest, int *dest_len, size_t dest_size,
+ const char *src, size_t src_len)
+{
+ if (src_len >= dest_size)
+ src_len= dest_size - 1;
+
+ memcpy(dest, src, src_len);
+ dest[src_len]= 0;
+ *dest_len= src_len;
+}
+
+
+static int get_user_host(const char *uh_line, unsigned int uh_len,
+ char *buffer, size_t buf_len,
+ size_t *user_len, size_t *host_len, size_t *ip_len)
+{
+ const char *buf_end= buffer + buf_len - 1;
+ const char *buf_start;
+ const char *uh_end= uh_line + uh_len;
+
+ while (uh_line < uh_end && *uh_line != '[')
+ ++uh_line;
+
+ if (uh_line == uh_end)
+ return 1;
+ ++uh_line;
+
+ buf_start= buffer;
+ while (uh_line < uh_end && *uh_line != ']')
+ {
+ if (buffer == buf_end)
+ return 1;
+ *(buffer++)= *(uh_line++);
+ }
+ if (uh_line == uh_end)
+ return 1;
+ *user_len= buffer - buf_start;
+ *(buffer++)= 0;
+
+ while (uh_line < uh_end && *uh_line != '@')
+ ++uh_line;
+ if (uh_line == uh_end || *(++uh_line) == 0)
+ return 1;
+ ++uh_line;
+
+ buf_start= buffer;
+ while (uh_line < uh_end && *uh_line != ' ' && *uh_line != '[')
+ {
+ if (buffer == buf_end)
+ break;
+ *(buffer++)= *(uh_line++);
+ }
+ *host_len= buffer - buf_start;
+ *(buffer++)= 0;
+
+ while (uh_line < uh_end && *uh_line != '[')
+ ++uh_line;
+
+ buf_start= buffer;
+ if (*uh_line == '[')
+ {
+ ++uh_line;
+ while (uh_line < uh_end && *uh_line != ']')
+ *(buffer++)= *(uh_line++);
+ }
+ *ip_len= buffer - buf_start;
+ return 0;
+}
+
+#if defined(__WIN__) && !defined(S_ISDIR)
+#define S_ISDIR(x) ((x) & _S_IFDIR)
+#endif /*__WIN__ && !S_ISDIR*/
+
+static int start_logging()
+{
+ last_error_buf[0]= 0;
+ log_write_failures= 0;
+ if (output_type == OUTPUT_FILE)
+ {
+ char alt_path_buffer[FN_REFLEN+1+DEFAULT_FILENAME_LEN];
+ MY_STAT *f_stat;
+ const char *alt_fname= file_path;
+
+ while (*alt_fname == ' ')
+ alt_fname++;
+
+ if (*alt_fname == 0)
+ {
+ /* Empty string means the default file name. */
+ alt_fname= default_file_name;
+ }
+ else
+ {
+ /* See if the directory exists with the name of file_path. */
+ /* Log file name should be [file_path]/server_audit.log then. */
+ if ((f_stat= my_stat(file_path, (MY_STAT *)alt_path_buffer, MYF(0))) &&
+ S_ISDIR(f_stat->st_mode))
+ {
+ size_t p_len= strlen(file_path);
+ memcpy(alt_path_buffer, file_path, p_len);
+ if (alt_path_buffer[p_len-1] != FN_LIBCHAR)
+ {
+ alt_path_buffer[p_len]= FN_LIBCHAR;
+ p_len++;
+ }
+ memcpy(alt_path_buffer+p_len, default_file_name, DEFAULT_FILENAME_LEN);
+ alt_path_buffer[p_len+DEFAULT_FILENAME_LEN]= 0;
+ alt_fname= alt_path_buffer;
+ }
+ }
+
+ logfile= logger_open(alt_fname, file_rotate_size, rotations);
+
+ if (logfile == NULL)
+ {
+ error_header();
+ fprintf(stderr, "Could not create file '%s'.\n",
+ alt_fname);
+ logging= 0;
+ my_snprintf(last_error_buf, sizeof(last_error_buf),
+ "Could not create file '%s'.", alt_fname);
+ is_active= 0;
+ CLIENT_ERROR(1, "SERVER AUDIT plugin can't create file '%s'.",
+ MYF(ME_JUST_WARNING), alt_fname);
+ return 1;
+ }
+ error_header();
+ fprintf(stderr, "logging started to the file %s.\n", alt_fname);
+ strncpy(current_log_buf, alt_fname, sizeof(current_log_buf));
+ }
+ else if (output_type == OUTPUT_SYSLOG)
+ {
+ openlog(syslog_ident, LOG_NOWAIT, syslog_facility_codes[syslog_facility]);
+ error_header();
+ fprintf(stderr, "logging started to the syslog.\n");
+ strncpy(current_log_buf, "[SYSLOG]", sizeof(current_log_buf));
+ }
+ is_active= 1;
+ return 0;
+}
+
+
+static int stop_logging()
+{
+ last_error_buf[0]= 0;
+ if (output_type == OUTPUT_FILE && logfile)
+ {
+ logger_close(logfile);
+ logfile= NULL;
+ }
+ else if (output_type == OUTPUT_SYSLOG)
+ {
+ closelog();
+ }
+ error_header();
+ fprintf(stderr, "logging was stopped.\n");
+ is_active= 0;
+ return 0;
+}
+
+static struct connection_info *
+ add_connection(const struct mysql_event_connection *event)
+{
+ struct connection_info *cn= alloc_connection();
+ if (!cn)
+ return 0;
+ cn->thread_id= event->thread_id;
+ cn->query_id= 0;
+ cn->log_always= 0;
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->database, event->database_length);
+ get_str_n(cn->user, &cn->user_length, sizeof(cn->db),
+ event->user, event->user_length);
+ get_str_n(cn->host, &cn->host_length, sizeof(cn->host),
+ event->host, event->host_length);
+ get_str_n(cn->ip, &cn->ip_length, sizeof(cn->ip),
+ event->ip, event->ip_length);
+
+ if (my_hash_insert(&connection_hash, (const uchar *) cn))
+ return 0;
+
+ return cn;
+}
+
+
+#define SAFE_STRLEN(s) (s ? strlen(s) : 0)
+
+
+static struct connection_info *
+ add_connection_initdb(const struct mysql_event_general *event)
+{
+ struct connection_info *cn;
+ size_t user_len, host_len, ip_len;
+ char uh_buffer[512];
+
+ if (get_user_host(event->general_user, event->general_user_length,
+ uh_buffer, sizeof(uh_buffer),
+ &user_len, &host_len, &ip_len) ||
+ (cn= alloc_connection()) == NULL)
+ return 0;
+
+ cn->thread_id= event->general_thread_id;
+ cn->query_id= 0;
+ cn->log_always= 0;
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->general_query, event->general_query_length);
+ get_str_n(cn->user, &cn->user_length, sizeof(cn->db),
+ uh_buffer, user_len);
+ get_str_n(cn->host, &cn->host_length, sizeof(cn->host),
+ uh_buffer+user_len+1, host_len);
+ get_str_n(cn->ip, &cn->ip_length, sizeof(cn->ip),
+ uh_buffer+user_len+1+host_len+1, ip_len);
+
+ if (my_hash_insert(&connection_hash, (const uchar *) cn))
+ return 0;
+
+ return cn;
+}
+
+
+static struct connection_info *
+ add_connection_table(const struct mysql_event_table *event)
+{
+ struct connection_info *cn;
+
+ if ((cn= alloc_connection()) == NULL)
+ return 0;
+
+ cn->thread_id= event->thread_id;
+ cn->query_id= query_counter++;
+ cn->log_always= 0;
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->database, event->database_length);
+ get_str_n(cn->user, &cn->user_length, sizeof(cn->db),
+ event->user, SAFE_STRLEN(event->user));
+ get_str_n(cn->host, &cn->host_length, sizeof(cn->host),
+ event->host, SAFE_STRLEN(event->host));
+ get_str_n(cn->ip, &cn->ip_length, sizeof(cn->ip),
+ event->ip, SAFE_STRLEN(event->ip));
+
+ if (my_hash_insert(&connection_hash, (const uchar *) cn))
+ return 0;
+
+ return cn;
+}
+
+
+static struct connection_info *
+ add_connection_query(const struct mysql_event_general *event)
+{
+ struct connection_info *cn;
+ size_t user_len, host_len, ip_len;
+ char uh_buffer[512];
+
+ if (get_user_host(event->general_user, event->general_user_length,
+ uh_buffer, sizeof(uh_buffer),
+ &user_len, &host_len, &ip_len) ||
+ (cn= alloc_connection()) == NULL)
+ return 0;
+
+ cn->thread_id= event->general_thread_id;
+ cn->query_id= query_counter++;
+ cn->log_always= 0;
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db), "", 0);
+ get_str_n(cn->user, &cn->user_length, sizeof(cn->db),
+ uh_buffer, user_len);
+ get_str_n(cn->host, &cn->host_length, sizeof(cn->host),
+ uh_buffer+user_len+1, host_len);
+ get_str_n(cn->ip, &cn->ip_length, sizeof(cn->ip),
+ uh_buffer+user_len+1+host_len+1, ip_len);
+
+ if (my_hash_insert(&connection_hash, (const uchar *) cn))
+ return 0;
+
+ return cn;
+}
+
+
+static void change_connection(struct connection_info *cn,
+ const struct mysql_event_connection *event)
+{
+ get_str_n(cn->user, &cn->user_length, sizeof(cn->user),
+ event->user, event->user_length);
+ get_str_n(cn->ip, &cn->ip_length, sizeof(cn->ip),
+ event->ip, event->ip_length);
+}
+
+static int write_log(const char *message, int len)
+{
+ if (output_type == OUTPUT_FILE)
+ {
+ if (logfile &&
+ (is_active= (logger_write(logfile, message, len) == len)))
+ return 0;
+ ++log_write_failures;
+ return 1;
+ }
+ else if (output_type == OUTPUT_SYSLOG)
+ {
+ syslog(syslog_facility_codes[syslog_facility] |
+ syslog_priority_codes[syslog_priority],
+ "%s %.*s", syslog_info, len, message);
+ }
+ return 0;
+}
+
+
+static size_t log_header(char *message, size_t message_len,
+ time_t *ts,
+ const char *serverhost, unsigned int serverhost_len,
+ const char *username, unsigned int username_len,
+ const char *host, unsigned int host_len,
+ const char *userip, unsigned int userip_len,
+ unsigned int connection_id, long long query_id,
+ const char *operation)
+{
+ struct tm tm_time;
+
+ if (host_len == 0 && userip_len != 0)
+ {
+ host_len= userip_len;
+ host= userip;
+ }
+
+ if (output_type == OUTPUT_SYSLOG)
+ return my_snprintf(message, message_len,
+ "%.*s,%.*s,%.*s,%d,%lld,%s",
+ serverhost_len, serverhost,
+ username_len, username,
+ host_len, host,
+ connection_id, query_id, operation);
+
+ (void) localtime_r(ts, &tm_time);
+ return my_snprintf(message, message_len,
+ "%04d%02d%02d %02d:%02d:%02d,%.*s,%.*s,%.*s,%d,%lld,%s",
+ tm_time.tm_year+1900, tm_time.tm_mon+1, tm_time.tm_mday,
+ tm_time.tm_hour, tm_time.tm_min, tm_time.tm_sec,
+ serverhost_len, serverhost,
+ username_len, username,
+ host_len, host,
+ connection_id, query_id, operation);
+}
+
+
+static int log_connection(const struct connection_info *cn,
+ const struct mysql_event_connection *event,
+ const char *type)
+{
+ time_t ctime;
+ size_t csize;
+ char message[1024];
+
+ (void) time(&ctime);
+ csize= log_header(message, sizeof(message)-1, &ctime,
+ servhost, servhost_len,
+ cn->user, cn->user_length,
+ cn->host, cn->host_length,
+ cn->ip, cn->ip_length,
+ event->thread_id, 0, type);
+ csize+= my_snprintf(message+csize, sizeof(message) - 1 - csize,
+ ",%.*s,,%d", cn->db_length, cn->db, event->status);
+ message[csize]= '\n';
+ return write_log(message, csize + 1);
+}
+
+
+static size_t escape_string(const char *str, unsigned int len,
+ char *result, size_t result_len)
+{
+ const char *res_start= result;
+ const char *res_end= result + result_len - 2;
+ while (len)
+ {
+ if (result >= res_end)
+ break;
+ if (*str == '\'')
+ {
+ *(result++)= '\\';
+ *(result++)= '\'';
+ }
+ else if (*str == '\\')
+ {
+ *(result++)= '\\';
+ *(result++)= '\\';
+ }
+ else
+ *(result++)= *str;
+ str++;
+ len--;
+ }
+ *result= 0;
+ return result - res_start;
+}
+
+
+static int do_log_user(const char *name)
+{
+ size_t len;
+
+ if (!name)
+ return 0;
+ len= strlen(name);
+
+ if (incl_user_hash.records)
+ return my_hash_search(&incl_user_hash, (const uchar *) name, len) != 0;
+
+ if (excl_user_hash.records)
+ return my_hash_search(&excl_user_hash, (const uchar *) name, len) == 0;
+
+ return 1;
+}
+
+
+static int log_statement_ex(const struct connection_info *cn,
+ time_t ev_time, unsigned long thd_id,
+ const char *query, unsigned int query_len,
+ int error_code, const char *type)
+{
+ size_t csize, esc_q_len;
+ char message[1024];
+ char uh_buffer[768];
+ const char *db;
+ unsigned int db_length;
+ long long query_id;
+
+ if ((db= cn->db))
+ db_length= cn->db_length;
+ else
+ {
+ db= "";
+ db_length= 0;
+ }
+
+ if (!(query_id= cn->query_id))
+ query_id= query_counter++;
+
+ csize= log_header(message, sizeof(message)-1, &ev_time,
+ servhost, servhost_len,
+ cn->user, cn->user_length,cn->host, cn->host_length,
+ cn->ip, cn->ip_length, thd_id, query_id, type);
+
+ csize+= my_snprintf(message+csize, sizeof(message) - 1 - csize,
+ ",%.*s", db_length, db);
+
+ if (query == 0)
+ {
+ /* Can happen after the error in mysqld_prepare_stmt() */
+ query= cn->query;
+ query_len= cn->query_length;
+ }
+
+ esc_q_len= escape_string(query, query_len,
+ uh_buffer, sizeof(uh_buffer));
+ csize+= my_snprintf(message+csize, sizeof(message) - 1 - csize,
+ ",\'%.*s\',%d", esc_q_len, uh_buffer, error_code);
+ message[csize]= '\n';
+ return write_log(message, csize + 1);
+}
+
+
+static int log_statement(const struct connection_info *cn,
+ const struct mysql_event_general *event,
+ const char *type)
+{
+ return log_statement_ex(cn, event->general_time, event->general_thread_id,
+ event->general_query, event->general_query_length,
+ event->general_error_code, type);
+}
+
+
+static int log_table(const struct connection_info *cn,
+ const struct mysql_event_table *event, const char *type)
+{
+ size_t csize;
+ char message[1024];
+ time_t ctime;
+
+ (void) time(&ctime);
+ csize= log_header(message, sizeof(message)-1, &ctime,
+ servhost, servhost_len,
+ event->user, SAFE_STRLEN(event->user),
+ event->host, SAFE_STRLEN(event->host),
+ event->ip, SAFE_STRLEN(event->ip),
+ event->thread_id, cn->query_id, type);
+ csize+= my_snprintf(message+csize, sizeof(message) - 1 - csize,
+ ",%.*s,%.*s,",event->database_length, event->database,
+ event->table_length, event->table);
+ message[csize]= '\n';
+ return write_log(message, csize + 1);
+}
+
+
+static int log_rename(const struct connection_info *cn,
+ const struct mysql_event_table *event)
+{
+ size_t csize;
+ char message[1024];
+ time_t ctime;
+
+ (void) time(&ctime);
+ csize= log_header(message, sizeof(message)-1, &ctime,
+ servhost, servhost_len,
+ event->user, SAFE_STRLEN(event->user),
+ event->host, SAFE_STRLEN(event->host),
+ event->ip, SAFE_STRLEN(event->ip),
+ event->thread_id, cn->query_id, "RENAME");
+ csize+= my_snprintf(message+csize, sizeof(message) - 1 - csize,
+ ",%.*s,%.*s|%.*s.%.*s,",event->database_length, event->database,
+ event->table_length, event->table,
+ event->new_database_length, event->new_database,
+ event->new_table_length, event->new_table);
+ message[csize]= '\n';
+ return write_log(message, csize + 1);
+}
+
+
+static int event_query_command(const struct mysql_event_general *event)
+{
+ return (event->general_command_length == 5 &&
+ strncmp(event->general_command, "Query", 5) == 0) ||
+ (event->general_command_length == 7 &&
+ (strncmp(event->general_command, "Execute", 7) == 0 ||
+ (event->general_error_code != 0 &&
+ strncmp(event->general_command, "Prepare", 7) == 0)));
+}
+
+
+static void update_general_user(struct connection_info *cn,
+ const struct mysql_event_general *event)
+{
+ char uh_buffer[768];
+ size_t user_len, host_len, ip_len;
+ if (cn->user_length == 0 && cn->host_length == 0 && cn->ip_length == 0 &&
+ get_user_host(event->general_user, event->general_user_length,
+ uh_buffer, sizeof(uh_buffer),
+ &user_len, &host_len, &ip_len) == 0)
+ {
+ get_str_n(cn->user, &cn->user_length, sizeof(cn->user),
+ uh_buffer, user_len);
+ get_str_n(cn->host, &cn->host_length, sizeof(cn->host),
+ uh_buffer+user_len+1, host_len);
+ get_str_n(cn->ip, &cn->ip_length, sizeof(cn->ip),
+ uh_buffer+user_len+1+host_len+1, ip_len);
+ }
+
+}
+
+
+#define AA_FREE_CONNECTION 1
+#define AA_CHANGE_USER 2
+
+static struct connection_info *update_connection_hash(unsigned int event_class,
+ const void *ev,
+ int *after_action)
+{
+ struct connection_info *cn= NULL;
+ *after_action= 0;
+
+ switch (event_class) {
+ case MYSQL_AUDIT_GENERAL_CLASS:
+ {
+ const struct mysql_event_general *event =
+ (const struct mysql_event_general *) ev;
+ switch (event->event_subclass) {
+ case MYSQL_AUDIT_GENERAL_LOG:
+ {
+ int init_db_command= event->general_command_length == 7 &&
+ strncmp(event->general_command, "Init DB", 7) == 0;
+ if ((cn= find_connection(event->general_thread_id)))
+ {
+ if (init_db_command)
+ {
+ /* Change DB */
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->general_query, event->general_query_length);
+ }
+ cn->query_id= mode ? query_counter++ : event->query_id;
+ cn->query= event->general_query;
+ cn->query_length= event->general_query_length;
+ cn->query_time= (time_t) event->general_time;
+ update_general_user(cn, event);
+ }
+ else if (init_db_command)
+ cn= add_connection_initdb(event);
+ else if (event_query_command(event))
+ cn= add_connection_query(event);
+ break;
+ }
+
+ case MYSQL_AUDIT_GENERAL_STATUS:
+ if (event_query_command(event))
+ {
+ if (!(cn= find_connection(event->general_thread_id)) &&
+ !(cn= add_connection_query(event)))
+ return 0;
+
+ if (mode == 0 && cn->db_length == 0 && event->database_length > 0)
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->database, event->database_length);
+
+ if (event->general_error_code == 0)
+ {
+ /* We need to check if it's the USE command to change the DB */
+ int use_command= event->general_query_length > 4 &&
+ strncasecmp(event->general_query, "use ", 4) == 0;
+ if (use_command)
+ {
+ /* Change DB */
+ if (mode)
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->general_query + 4, event->general_query_length - 4);
+ else
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->database, event->database_length);
+ }
+ }
+ update_general_user(cn, event);
+ }
+ break;
+ case MYSQL_AUDIT_GENERAL_ERROR:
+ /* We need this because of a bug in the MariaDB */
+ /* that it returns NULL query field for the */
+ /* MYSQL_AUDIT_GENERAL_STATUS in the mysqld_stmt_prepare. */
+ /* As a result we get empty QUERY field for errors. */
+ if (!(cn= find_connection(event->general_thread_id)) &&
+ !(cn= add_connection_query(event)))
+ return 0;
+ cn->query_id= mode ? query_counter++ : event->query_id;
+ get_str_n(cn->query_buffer, &cn->query_length, sizeof(cn->query_buffer),
+ event->general_query, event->general_query_length);
+ cn->query= cn->query_buffer;
+ cn->query_time= (time_t) event->general_time;
+ break;
+ default:;
+ }
+ break;
+ }
+ case MYSQL_AUDIT_TABLE_CLASS:
+ {
+ const struct mysql_event_table *event =
+ (const struct mysql_event_table *) ev;
+ if (!(cn= find_connection(event->thread_id)) &&
+ !(cn= add_connection_table(event)))
+ return 0;
+ if (cn->user_length == 0 && cn->host_length == 0 && cn->ip_length == 0)
+ {
+ get_str_n(cn->user, &cn->user_length, sizeof(cn->user),
+ event->user, SAFE_STRLEN(event->user));
+ get_str_n(cn->host, &cn->host_length, sizeof(cn->host),
+ event->host, SAFE_STRLEN(event->host));
+ get_str_n(cn->ip, &cn->ip_length, sizeof(cn->ip),
+ event->ip, SAFE_STRLEN(event->ip));
+ }
+
+ if (cn->db_length == 0 && event->database_length != 0)
+ get_str_n(cn->db, &cn->db_length, sizeof(cn->db),
+ event->database, event->database_length);
+
+ if (mode == 0)
+ cn->query_id= event->query_id;
+ break;
+ }
+ case MYSQL_AUDIT_CONNECTION_CLASS:
+ {
+ const struct mysql_event_connection *event =
+ (const struct mysql_event_connection *) ev;
+ switch (event->event_subclass)
+ {
+ case MYSQL_AUDIT_CONNECTION_CONNECT:
+ cn= add_connection(ev);
+ break;
+ case MYSQL_AUDIT_CONNECTION_DISCONNECT:
+ cn= find_connection(event->thread_id);
+ if (cn)
+ *after_action= AA_FREE_CONNECTION;
+ break;
+ case MYSQL_AUDIT_CONNECTION_CHANGE_USER:
+ cn= find_connection(event->thread_id);
+ if (cn)
+ *after_action= AA_CHANGE_USER;
+ break;
+ default:;
+ }
+ break;
+ }
+ default:
+ break;
+ }
+ return cn;
+}
+
+
+#define FILTER(MASK) (events == 0 || (events & MASK))
+static void auditing(MYSQL_THD thd __attribute__((unused)),
+ unsigned int event_class,
+ const void *ev)
+{
+ struct connection_info *cn;
+ int after_action;
+
+ /* That one is important as this function can be called with */
+ /* &lock_operations locked when the server logs an error reported */
+ /* by this plugin. */
+ if (internal_stop_logging)
+ return;
+
+ flogger_mutex_lock(&lock_operations);
+
+ if (!(cn= update_connection_hash(event_class, ev, &after_action)))
+ goto exit_func;
+
+ if (!logging)
+ goto exit_func;
+
+ if (event_class == MYSQL_AUDIT_GENERAL_CLASS && FILTER(EVENT_QUERY) &&
+ cn && do_log_user(cn->user))
+ {
+ const struct mysql_event_general *event =
+ (const struct mysql_event_general *) ev;
+
+ /*
+ Only one subclass is logged.
+ */
+ if (event->event_subclass == MYSQL_AUDIT_GENERAL_STATUS)
+ log_statement(cn, event, "QUERY");
+ }
+ else if (event_class == MYSQL_AUDIT_TABLE_CLASS && FILTER(EVENT_TABLE) && cn)
+ {
+ const struct mysql_event_table *event =
+ (const struct mysql_event_table *) ev;
+ if (do_log_user(event->user))
+ {
+ switch (event->event_subclass)
+ {
+ case MYSQL_AUDIT_TABLE_LOCK:
+ log_table(cn, event, event->read_only ? "READ" : "WRITE");
+ break;
+ case MYSQL_AUDIT_TABLE_CREATE:
+ log_table(cn, event, "CREATE");
+ break;
+ case MYSQL_AUDIT_TABLE_DROP:
+ log_table(cn, event, "DROP");
+ break;
+ case MYSQL_AUDIT_TABLE_RENAME:
+ log_rename(cn, event);
+ break;
+ case MYSQL_AUDIT_TABLE_ALTER:
+ log_table(cn, event, "ALTER");
+ break;
+ default:
+ break;
+ }
+ }
+ }
+ else if (event_class == MYSQL_AUDIT_CONNECTION_CLASS &&
+ FILTER(EVENT_CONNECT) && cn)
+ {
+ const struct mysql_event_connection *event =
+ (const struct mysql_event_connection *) ev;
+ switch (event->event_subclass)
+ {
+ case MYSQL_AUDIT_CONNECTION_CONNECT:
+ log_connection(cn, event, event->status ? "FAILED_CONNECT": "CONNECT");
+ break;
+ case MYSQL_AUDIT_CONNECTION_DISCONNECT:
+ log_connection(cn, event, "DISCONNECT");
+ break;
+ case MYSQL_AUDIT_CONNECTION_CHANGE_USER:
+ log_connection(cn, event, "CHANGEUSER");
+ break;
+ default:;
+ }
+ }
+exit_func:
+ /*
+ This must work always, whether logging is ON or not.
+ */
+ if (after_action)
+ {
+ switch (after_action) {
+ case AA_FREE_CONNECTION:
+ my_hash_delete(&connection_hash, (uchar *) cn);
+ cn= 0;
+ break;
+ case AA_CHANGE_USER:
+ {
+ const struct mysql_event_connection *event =
+ (const struct mysql_event_connection *) ev;
+ change_connection(cn, event);
+ break;
+ }
+ default:
+ break;
+ }
+ }
+ if (cn)
+ cn->log_always= 0;
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+/*
+ As it's just too difficult to #include "sql_class.h",
+ let's just copy the necessary part of the system_variables
+ structure here.
+*/
+typedef struct loc_system_variables
+{
+ ulong dynamic_variables_version;
+ char* dynamic_variables_ptr;
+ uint dynamic_variables_head; /* largest valid variable offset */
+ uint dynamic_variables_size; /* how many bytes are in use */
+
+ ulonglong max_heap_table_size;
+ ulonglong tmp_table_size;
+ ulonglong long_query_time;
+ ulonglong optimizer_switch;
+ ulonglong sql_mode; ///< which non-standard SQL behaviour should be enabled
+ ulonglong option_bits; ///< OPTION_xxx constants, e.g. OPTION_PROFILING
+ ulonglong join_buff_space_limit;
+ ulonglong log_slow_filter;
+ ulonglong log_slow_verbosity;
+ ulonglong bulk_insert_buff_size;
+ ulonglong join_buff_size;
+ ulonglong sortbuff_size;
+ ulonglong group_concat_max_len;
+ ha_rows select_limit;
+ ha_rows max_join_size;
+ ha_rows expensive_subquery_limit;
+ ulong auto_increment_increment, auto_increment_offset;
+ ulong lock_wait_timeout;
+ ulong join_cache_level;
+ ulong max_allowed_packet;
+ ulong max_error_count;
+ ulong max_length_for_sort_data;
+ ulong max_sort_length;
+ ulong max_tmp_tables;
+ ulong max_insert_delayed_threads;
+ ulong min_examined_row_limit;
+ ulong multi_range_count;
+ ulong net_buffer_length;
+ ulong net_interactive_timeout;
+ ulong net_read_timeout;
+ ulong net_retry_count;
+ ulong net_wait_timeout;
+ ulong net_write_timeout;
+ ulong optimizer_prune_level;
+ ulong optimizer_search_depth;
+ ulong preload_buff_size;
+ ulong profiling_history_size;
+ ulong read_buff_size;
+ ulong read_rnd_buff_size;
+ ulong mrr_buff_size;
+ ulong div_precincrement;
+ /* Total size of all buffers used by the subselect_rowid_merge_engine. */
+ ulong rowid_merge_buff_size;
+ ulong max_sp_recursion_depth;
+ ulong default_week_format;
+ ulong max_seeks_for_key;
+ ulong range_alloc_block_size;
+ ulong query_alloc_block_size;
+ ulong query_prealloc_size;
+ ulong trans_alloc_block_size;
+ ulong trans_prealloc_size;
+ ulong log_warnings;
+ /* Flags for slow log filtering */
+ ulong log_slow_rate_limit;
+ ulong binlog_format; ///< binlog format for this thd (see enum_binlog_format)
+ ulong progress_report_time;
+ my_bool binlog_annotate_row_events;
+ my_bool binlog_direct_non_trans_update;
+ my_bool sql_log_bin;
+ ulong completion_type;
+ ulong query_cache_type;
+} LOC_SV;
+
+static int server_audit_init(void *p __attribute__((unused)))
+{
+ const void *my_hash_init_ptr;
+#ifdef _WIN32
+ serv_ver= (const char *) GetProcAddress(0, "server_version");
+#else
+ serv_ver= server_version;
+#endif /*_WIN32*/
+
+ my_hash_init_ptr= dlsym(RTLD_DEFAULT, "_my_hash_init");
+ if (!my_hash_init_ptr)
+ {
+ maria_above_5= 1;
+ my_hash_init_ptr= dlsym(RTLD_DEFAULT, "my_hash_init2");
+ }
+
+ if (!serv_ver || !my_hash_init_ptr)
+ return 0;
+
+ if (!started_mysql)
+ {
+ if (!maria_above_5 && serv_ver[4]=='3' && serv_ver[5]<'3')
+ {
+ mode= 1;
+ mode_readonly= 1;
+ }
+ }
+
+
+ if (gethostname(servhost, sizeof(servhost)))
+ strcpy(servhost, "unknown");
+
+ servhost_len= strlen(servhost);
+
+ logger_init_mutexes();
+#if defined(HAVE_PSI_INTERFACE) && !defined(FLOGGER_NO_PSI)
+ if (PSI_server)
+ PSI_server->register_mutex("server_audit", mutex_key_list, 1);
+#endif
+ flogger_mutex_init(key_LOCK_operations, &lock_operations, MY_MUTEX_INIT_FAST);
+
+ my_hash_clear(&incl_user_hash);
+ my_hash_clear(&excl_user_hash);
+
+ if (incl_users)
+ {
+ if (excl_users)
+ {
+ incl_users= excl_users= NULL;
+ error_header();
+ fprintf(stderr, "INCL_DML_USERS and EXCL_DML_USERS specified"
+ " simultaneously - both set to empty\n");
+ }
+ update_incl_users(NULL, NULL, NULL, &incl_users);
+ }
+ else if (excl_users)
+ {
+ update_excl_users(NULL, NULL, NULL, &excl_users);
+ }
+
+ loc_my_hash_init(&connection_hash, 0, &my_charset_bin, 0x100, 0,
+ sizeof(unsigned long), 0, 0, free_connection, 0);
+
+ error_header();
+ fprintf(stderr, "MariaDB Audit Plugin version %s%s STARTED.\n",
+ PLUGIN_STR_VERSION, PLUGIN_DEBUG_VERSION);
+
+ /* The Query Cache shadows TABLE events if the result is taken from it */
+ /* so we warn users if both Query Cashe and TABLE events enabled. */
+ if (!started_mysql && FILTER(EVENT_TABLE))
+ {
+ ulonglong *qc_size= (ulonglong *) dlsym(RTLD_DEFAULT, "query_cache_size");
+ if (qc_size == NULL || *qc_size != 0)
+ {
+ struct loc_system_variables *g_sys_var=
+ (struct loc_system_variables *) dlsym(RTLD_DEFAULT,
+ "global_system_variables");
+ if (g_sys_var && g_sys_var->query_cache_type != 0)
+ {
+ error_header();
+ fprintf(stderr, "Query cache is enabled with the TABLE events."
+ " Some table reads can be veiled.");
+ }
+ }
+ }
+
+ if (logging)
+ start_logging();
+
+ return 0;
+}
+
+
+static int server_audit_init_mysql(void *p)
+{
+ started_mysql= 1;
+ mode= 1;
+ mode_readonly= 1;
+ return server_audit_init(p);
+}
+
+
+static int server_audit_deinit(void *p __attribute__((unused)))
+{
+ if (my_hash_inited(&incl_user_hash))
+ my_hash_free(&incl_user_hash);
+
+ if (my_hash_inited(&excl_user_hash))
+ my_hash_free(&excl_user_hash);
+
+ my_hash_free(&connection_hash);
+
+ if (output_type == OUTPUT_FILE && logfile)
+ logger_close(logfile);
+ else if (output_type == OUTPUT_SYSLOG)
+ closelog();
+ flogger_mutex_destroy(&lock_operations);
+
+ error_header();
+ fprintf(stderr, "STOPPED\n");
+ return 0;
+}
+
+
+static void rotate_log(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)),
+ const void *save __attribute__((unused)))
+{
+ if (output_type == OUTPUT_FILE && logfile && *(my_bool*) save)
+ (void) logger_rotate(logfile);
+}
+
+
+static struct st_mysql_audit mysql_descriptor =
+{
+ MYSQL_AUDIT_INTERFACE_VERSION,
+ NULL,
+ auditing,
+ { MYSQL_AUDIT_GENERAL_CLASSMASK | MYSQL_AUDIT_CONNECTION_CLASSMASK }
+};
+
+mysql_declare_plugin(server_audit)
+{
+ MYSQL_AUDIT_PLUGIN,
+ &mysql_descriptor,
+ "SERVER_AUDIT",
+ " Alexey Botchkov (MariaDB)",
+ "Audit the server activity.",
+ PLUGIN_LICENSE_GPL,
+ server_audit_init_mysql,
+ server_audit_deinit,
+ PLUGIN_VERSION,
+ audit_status,
+ vars,
+ NULL,
+ 0
+}
+mysql_declare_plugin_end;
+
+
+static struct st_mysql_audit maria_descriptor =
+{
+ MYSQL_AUDIT_INTERFACE_VERSION,
+ NULL,
+ auditing,
+ { MYSQL_AUDIT_GENERAL_CLASSMASK |
+ MYSQL_AUDIT_TABLE_CLASSMASK |
+ MYSQL_AUDIT_CONNECTION_CLASSMASK }
+};
+maria_declare_plugin(server_audit)
+{
+ MYSQL_AUDIT_PLUGIN,
+ &maria_descriptor,
+ "SERVER_AUDIT",
+ "Alexey Botchkov (MariaDB)",
+ "Audit the server activity.",
+ PLUGIN_LICENSE_GPL,
+ server_audit_init,
+ server_audit_deinit,
+ PLUGIN_VERSION,
+ audit_status,
+ vars,
+ PLUGIN_STR_VERSION,
+ MariaDB_PLUGIN_MATURITY_BETA
+}
+maria_declare_plugin_end;
+
+
+static void mark_always_logged(MYSQL_THD thd)
+{
+ struct connection_info *cn;
+ if (thd && (cn= find_connection(thd_get_thread_id(thd))))
+ cn->log_always= 1;
+}
+
+
+static void log_current_query(MYSQL_THD thd)
+{
+ unsigned long thd_id;
+ struct connection_info *cn;
+ if (!thd ||
+ !(cn= find_connection((thd_id= thd_get_thread_id(thd)))))
+ return;
+ if (FILTER(EVENT_QUERY) && do_log_user(cn->user))
+ {
+ log_statement_ex(cn, cn->query_time, thd_id, cn->query, cn->query_length,
+ 0, "QUERY");
+ cn->log_always= 1;
+ }
+}
+
+
+static void update_file_path(MYSQL_THD thd,
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ flogger_mutex_lock(&lock_operations);
+ internal_stop_logging= 1;
+ error_header();
+ fprintf(stderr, "Log file name was changed to '%s'.\n", *(const char **) save);
+
+ if (logging)
+ log_current_query(thd);
+
+ if (logging && output_type == OUTPUT_FILE)
+ {
+ char *sav_path= file_path;
+
+ file_path= *(char **) save;
+ internal_stop_logging= 1;
+ stop_logging();
+ if (start_logging())
+ {
+ file_path= sav_path;
+ error_header();
+ fprintf(stderr, "Reverting log filename back to '%s'.\n", file_path);
+ logging= (start_logging() == 0);
+ if (!logging)
+ {
+ error_header();
+ fprintf(stderr, "Logging was disabled..\n");
+ CLIENT_ERROR(1, "Logging was disabled.", MYF(ME_JUST_WARNING));
+ }
+ goto exit_func;
+ }
+ internal_stop_logging= 0;
+ }
+
+ strncpy(path_buffer, *(const char **) save, sizeof(path_buffer));
+ file_path= path_buffer;
+exit_func:
+ internal_stop_logging= 0;
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_file_rotations(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ rotations= *(unsigned int *) save;
+ error_header();
+ fprintf(stderr, "Log file rotations was changed to '%d'.\n", rotations);
+
+ if (!logging || output_type != OUTPUT_FILE)
+ return;
+
+ flogger_mutex_lock(&lock_operations);
+ logfile->rotations= rotations;
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_file_rotate_size(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ file_rotate_size= *(unsigned long long *) save;
+ error_header();
+ fprintf(stderr, "Log file rotate size was changed to '%lld'.\n",
+ file_rotate_size);
+
+ if (!logging || output_type != OUTPUT_FILE)
+ return;
+
+ flogger_mutex_lock(&lock_operations);
+ logfile->size_limit= file_rotate_size;
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_incl_users(MYSQL_THD thd,
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ flogger_mutex_lock(&lock_operations);
+ mark_always_logged(thd);
+ strncpy(incl_user_buffer, *(const char **) save, sizeof(incl_user_buffer));
+ incl_users= incl_user_buffer;
+ user_hash_fill(&incl_user_hash, incl_users, &excl_user_hash, 1);
+ error_header();
+ fprintf(stderr, "server_audit_incl_users set to '%s'.\n", incl_users);
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_excl_users(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ flogger_mutex_lock(&lock_operations);
+ mark_always_logged(thd);
+ strncpy(excl_user_buffer, *(const char **) save, sizeof(excl_user_buffer));
+ excl_users= excl_user_buffer;
+ user_hash_fill(&excl_user_hash, excl_users, &incl_user_hash, 0);
+ error_header();
+ fprintf(stderr, "server_audit_excl_users set to '%s'.\n", excl_users);
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_output_type(MYSQL_THD thd,
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ ulong new_output_type= *((ulong *) save);
+ if (output_type == new_output_type)
+ return;
+
+ flogger_mutex_lock(&lock_operations);
+ internal_stop_logging= 1;
+ if (logging)
+ {
+ log_current_query(thd);
+ stop_logging();
+ }
+
+ output_type= new_output_type;
+ error_header();
+ fprintf(stderr, "Output was redirected to '%s'\n",
+ output_type_names[output_type]);
+
+ if (logging)
+ start_logging();
+ internal_stop_logging= 0;
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_syslog_facility(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ ulong new_facility= *((ulong *) save);
+ if (syslog_facility == new_facility)
+ return;
+
+ mark_always_logged(thd);
+ error_header();
+ fprintf(stderr, "SysLog facility was changed from '%s' to '%s'.\n",
+ syslog_facility_names[syslog_facility],
+ syslog_facility_names[new_facility]);
+ syslog_facility= new_facility;
+}
+
+
+static void update_syslog_priority(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ ulong new_priority= *((ulong *) save);
+ if (syslog_priority == new_priority)
+ return;
+
+ flogger_mutex_lock(&lock_operations);
+ mark_always_logged(thd);
+ flogger_mutex_unlock(&lock_operations);
+ error_header();
+ fprintf(stderr, "SysLog priority was changed from '%s' to '%s'.\n",
+ syslog_priority_names[syslog_priority],
+ syslog_priority_names[new_priority]);
+ syslog_priority= new_priority;
+}
+
+
+static void update_logging(MYSQL_THD thd,
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ char new_logging= *(char *) save;
+ if (new_logging == logging)
+ return;
+
+ flogger_mutex_lock(&lock_operations);
+ internal_stop_logging= 1;
+ if ((logging= new_logging))
+ {
+ start_logging();
+ if (!logging)
+ {
+ CLIENT_ERROR(1, "Logging was disabled.", MYF(ME_JUST_WARNING));
+ }
+ }
+ else
+ {
+ log_current_query(thd);
+ stop_logging();
+ }
+
+ internal_stop_logging= 0;
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_mode(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ unsigned int new_mode= *(unsigned int *) save;
+ if (mode_readonly || new_mode == mode)
+ return;
+
+ flogger_mutex_lock(&lock_operations);
+ internal_stop_logging= 1;
+ mark_always_logged(thd);
+ error_header();
+ fprintf(stderr, "Logging mode was changed from %d to %d.\n", mode, new_mode);
+ mode= new_mode;
+ internal_stop_logging= 0;
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
+static void update_syslog_ident(MYSQL_THD thd __attribute__((unused)),
+ struct st_mysql_sys_var *var __attribute__((unused)),
+ void *var_ptr __attribute__((unused)), const void *save)
+{
+ strncpy(syslog_ident_buffer, *(const char **) save,
+ sizeof(syslog_ident_buffer));
+ syslog_ident= syslog_ident_buffer;
+ error_header();
+ fprintf(stderr, "SYSYLOG ident was changed to '%s'\n", syslog_ident);
+ flogger_mutex_lock(&lock_operations);
+ mark_always_logged(thd);
+ if (logging && output_type == OUTPUT_SYSLOG)
+ {
+ stop_logging();
+ start_logging();
+ }
+ flogger_mutex_unlock(&lock_operations);
+}
+
+
diff --git a/plugin/sql_errlog/sql_errlog.c b/plugin/sql_errlog/sql_errlog.c
index 5ff1279a2fe..1c7e141c022 100644
--- a/plugin/sql_errlog/sql_errlog.c
+++ b/plugin/sql_errlog/sql_errlog.c
@@ -158,6 +158,6 @@ maria_declare_plugin(sql_errlog)
NULL,
vars,
"1.0",
- MariaDB_PLUGIN_MATURITY_ALPHA
+ MariaDB_PLUGIN_MATURITY_GAMMA
}
maria_declare_plugin_end;
diff --git a/plugin/win_auth_client/CMakeLists.txt b/plugin/win_auth_client/CMakeLists.txt
index f3d3e54958e..a017410252d 100644
--- a/plugin/win_auth_client/CMakeLists.txt
+++ b/plugin/win_auth_client/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 81f71821aff..82de99e2690 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/scripts/mysql_config.pl.in b/scripts/mysql_config.pl.in
index acf33699b05..b39bf146f58 100644
--- a/scripts/mysql_config.pl.in
+++ b/scripts/mysql_config.pl.in
@@ -258,7 +258,7 @@ Options:
--version [$version]
--libmysqld-libs [$embedded_libs]
EOF
- exit 1;
+ exit 0;
}
@ARGV or usage();
diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh
index 38cd2b6b910..81b2e96fbd9 100644
--- a/scripts/mysql_config.sh
+++ b/scripts/mysql_config.sh
@@ -176,7 +176,7 @@ Options:
pkglibdir [$pkglibdir]
plugindir [$plugindir]
EOF
- exit 1
+ exit 0
}
if test $# -le 0; then usage; fi
diff --git a/scripts/mysql_install_db.pl.in b/scripts/mysql_install_db.pl.in
index 1bc2603a718..e63e8646d07 100644
--- a/scripts/mysql_install_db.pl.in
+++ b/scripts/mysql_install_db.pl.in
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# -*- cperl -*-
#
-# Copyright (c) 2007, 2011, Oracle and/or its affiliates.
+# Copyright (c) 2007, 2013, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -535,7 +535,7 @@ if ( open(PIPE, "| $mysqld_install_cmd_line") )
" cd mysql-test ; perl mysql-test-run.pl");
}
report($opt,
- "Please report any problems with the " . '@scriptdir@' . "/mysqlbug script!",
+ "Please report any problems at http://bugs.mysql.com/",
"",
"The latest information about MySQL is available on the web at",
"",
@@ -568,8 +568,9 @@ else
"Please consult the MySQL manual section: 'Problems running mysql_install_db',",
"and the manual section that describes problems on your OS.",
"Another information source is the MySQL email archive.",
- "Please check all of the above before mailing us!",
- "And if you do mail us, you MUST use the " . '@scriptdir@' . "/mysqlbug script!")
+ "",
+ "Please check all of the above before submitting a bug report",
+ "at http://bugs.mysql.com/")
}
##############################################################################
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 3ae8d681b08..c24aacaf883 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2000, 2011, Oracle and/or its affiliates.
-# Copyright (c) 2009, 2011,2013 Monty Program Ab
+# Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+# Copyright (c) 2009, 2013, Monty Program Ab
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -267,7 +267,7 @@ then
bindir="$basedir/client"
extra_bindir="$basedir/extra"
mysqld="$basedir/sql/mysqld"
- langdir="$srcdir/sql/share/english"
+ langdir="$basedir/sql/share/english"
pkgdatadir="$srcdir/scripts"
scriptdir="$srcdir/scripts"
elif test -n "$basedir"
@@ -435,7 +435,7 @@ else
echo "The problem could be conflicting information in an external"
echo "my.cnf files. You can ignore these by doing:"
echo
- echo " shell> /scripts/mysql_install_db --defaults-file=~/.my.cnf"
+ echo " shell> $scriptdir/scripts/mysql_install_db --defaults-file=~/.my.cnf"
echo
echo "You can also try to start the mysqld daemon with:"
echo
@@ -453,8 +453,9 @@ else
echo "MariaDB is hosted on launchpad; You can find the latest source and"
echo "email lists at http://launchpad.net/maria"
echo
- echo "Please check all of the above before mailing us! And remember, if"
- echo "you do mail us, you should use the $scriptdir/mysqlbug script!"
+ echo "Please check all of the above before submitting a bug report"
+ echo "at http://mariadb.org/jira"
+ echo
exit 1
fi
@@ -505,7 +506,7 @@ then
fi
echo
- echo "Please report any problems with the '$scriptdir/mysqlbug' script!"
+ echo "Please report any problems at http://mariadb.org/jira"
echo
echo "The latest information about MariaDB is available at http://mariadb.org/."
echo "You can find additional information about the MySQL part at:"
diff --git a/scripts/mysql_system_tables.sql b/scripts/mysql_system_tables.sql
index 79eeee2ac2c..34742aa6dfb 100644
--- a/scripts/mysql_system_tables.sql
+++ b/scripts/mysql_system_tables.sql
@@ -1,6 +1,5 @@
--- Copyright (c) 2007, 2011, Oracle and/or its affiliates.
--- Copyright (c) 2007, 2008 MySQL AB, 2009 Sun Microsystems, Inc.
--- Copyright (c) 2008-2013 Monty Program Ab & SkySQL Ab
+-- Copyright (c) 2007, 2013, Oracle and/or its affiliates.
+-- Copyright (c) 2008, 2014, Monty Program Ab & SkySQL Ab
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/scripts/mysql_system_tables_fix.sql b/scripts/mysql_system_tables_fix.sql
index 795177e9321..dbfe1fa5c8c 100644
--- a/scripts/mysql_system_tables_fix.sql
+++ b/scripts/mysql_system_tables_fix.sql
@@ -1,5 +1,5 @@
--- Copyright (C) 2003, 2011 Oracle and/or its affiliates.
--- Copyright (C) 2010-2013 Monty Program Ab & SkySQL Ab
+-- Copyright (C) 2003, 2013 Oracle and/or its affiliates.
+-- Copyright (C) 2010, 2014 SkySQL Ab.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@@ -62,9 +62,9 @@ ALTER TABLE tables_priv
ALTER TABLE tables_priv
MODIFY Host char(60) NOT NULL default '',
MODIFY Db char(64) NOT NULL default '',
- MODIFY User char(16) NOT NULL default '',
+ MODIFY User char(80) NOT NULL default '',
MODIFY Table_name char(64) NOT NULL default '',
- MODIFY Grantor char(77) NOT NULL default '',
+ MODIFY Grantor char(141) NOT NULL default '',
ENGINE=MyISAM,
CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;
@@ -90,7 +90,7 @@ ALTER TABLE columns_priv
ALTER TABLE columns_priv
MODIFY Host char(60) NOT NULL default '',
MODIFY Db char(64) NOT NULL default '',
- MODIFY User char(16) NOT NULL default '',
+ MODIFY User char(80) NOT NULL default '',
MODIFY Table_name char(64) NOT NULL default '',
MODIFY Column_name char(64) NOT NULL default '',
ENGINE=MyISAM,
@@ -161,7 +161,7 @@ alter table func comment='User defined functions';
# and reset all char columns to correct width
ALTER TABLE user
MODIFY Host char(60) NOT NULL default '',
- MODIFY User char(16) NOT NULL default '',
+ MODIFY User char(80) NOT NULL default '',
ENGINE=MyISAM, CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;
ALTER TABLE user
MODIFY Password char(41) character set latin1 collate latin1_bin NOT NULL default '',
@@ -191,7 +191,7 @@ ALTER TABLE user
ALTER TABLE db
MODIFY Host char(60) NOT NULL default '',
MODIFY Db char(64) NOT NULL default '',
- MODIFY User char(16) NOT NULL default '',
+ MODIFY User char(80) NOT NULL default '',
ENGINE=MyISAM, CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;
ALTER TABLE db
MODIFY Select_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,
@@ -449,7 +449,7 @@ ALTER TABLE proc CONVERT TO CHARACTER SET utf8;
ALTER TABLE proc MODIFY db
char(64) collate utf8_bin DEFAULT '' NOT NULL,
MODIFY definer
- char(77) collate utf8_bin DEFAULT '' NOT NULL,
+ char(141) collate utf8_bin DEFAULT '' NOT NULL,
MODIFY comment
char(64) collate utf8_bin DEFAULT '' NOT NULL;
diff --git a/scripts/mysqlaccess.sh b/scripts/mysqlaccess.sh
index 43844e5ec68..1d01c84735a 100644
--- a/scripts/mysqlaccess.sh
+++ b/scripts/mysqlaccess.sh
@@ -1,7 +1,6 @@
#!/usr/bin/perl
-# Copyright (c) 2000, 2007 MySQL AB, 2009 Sun Microsystems, Inc.
-# Use is subject to license terms.
+# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -2423,7 +2422,7 @@ sub Print_Header {
sub Print_Footer {
if ($MySQLaccess::CMD) { #command-line mode
print "\n"
- ."BUGs can be reported trough https://mariadb.atlassian.net/browse/MDEV\n";
+ ."BUGs can be reported at https://mariadb.atlassian.net/browse/MDEV\n";
}
if ($MySQLaccess::CGI) { #CGI-BIN mode
if ($MySQLaccess::Param{'brief'}) {
@@ -2431,7 +2430,7 @@ sub Print_Footer {
}
print "<HR>\n"
."<ADDRESS>\n"
- ."BUGs can be reported through <a href=\"https://mariadb.atlassian.net/browse/MDEV\">MariaDB JIRA</a><BR>\n"
+ ."BUGs can be reported at <a href=\"https://mariadb.atlassian.net/browse/MDEV\">MariaDB JIRA</a><BR>\n"
# ."Don't forget to mention the version $VERSION!<BR>\n"
."</ADDRESS>\n"
."</BODY>\n"
diff --git a/sql-bench/innotest1.sh b/sql-bench/innotest1.sh
index 1c5450a1d9e..9e1ed32c273 100644
--- a/sql-bench/innotest1.sh
+++ b/sql-bench/innotest1.sh
@@ -1,142 +1,142 @@
-#!/usr/bin/perl
-############################################################################
-# Stress test for MySQL/InnoDB combined database
-# (c) 2002 Innobase Oy & MySQL AB
-#
-############################################################################
-
+#!/usr/bin/perl
+############################################################################
+# Stress test for MySQL/InnoDB combined database
+# (c) 2002 Innobase Oy & MySQL AB
+#
+############################################################################
+
use Cwd;
-use DBI;
-use Benchmark;
-
-$opt_loop_count = 100000;
-
+use DBI;
+use Benchmark;
+
+$opt_loop_count = 100000;
+
$pwd = cwd(); $pwd = "." if ($pwd eq '');
-require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
-
-print "Innotest1: MySQL/InnoDB stress test in Perl\n";
-print "-------------------------------------------\n";
-print "This is a randomized stress test for concurrent inserts,\n";
-print "updates, deletes, commits and rollbacks. The test will generate\n";
-print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
-print "\n";
-print "You should run innotest1, innotest1a, and innotest1b concurrently.\n";
-print "The thing to watch is that the server does not crash or does not\n";
-print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
-print "warnings about MySQL lock reservations can appear in the .err log.\n";
-print "The test will run very long, even several hours. You can kill\n";
-print "the perl processes running this test at any time and do CHECK\n";
-print "TABLE on table innotest1 in the 'test' database.\n";
-print "\n";
-print "Some of these stress tests will print a lot of SQL errors\n";
-print "to the standard output. That is not to be worried about.\n";
-print "You can direct the output to a file like this:\n";
-print "perl innotest1 > out1\n\n";
-
-print "Generating random keys\n";
-$random[$opt_loop_count] = 0;
-$rnd_str[$opt_loop_count] = "a";
-
-for ($i = 0; $i < $opt_loop_count; $i++) {
-
- $random[$i] = ($i * 63857) % $opt_loop_count;
-
- if (0 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kjgclgrtfuylfluyfyufyulfulfyyulofuyolfyufyufuyfyufyufyufyufyyufujhfghd";
- } else { if (1 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khd";
- } else { if (2 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kh";
- }}}
-
- for ($j = 0; $j < (($i * 764877) % 20); $j++) {
- $rnd_str[$i] = $rnd_str[$i]."k";
- }
-}
-
-####
-#### Connect
-####
-
-$dbh = $server->connect()
-|| die $dbh->errstr;
-
-$dbh->do("set autocommit = 0");
-
-$n = 0;
-
-for ($i = 0; $i < 1; $i++) {
-
- print "Dropping table innotest1\n";
-
- $dbh->do("drop table innotest1");
-
- print "Creating table innotest1\n";
-
- $dbh->do(
- "create table innotest1 (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), E TIMESTAMP, F TIMESTAMP, G DATETIME, PRIMARY KEY (A, D), INDEX
-(B, C), INDEX (C), INDEX (D), INDEX(E), INDEX(G)) TYPE = INNODB")
- || die $dbh->errstr;
-
- for ($j = 2; $j < $opt_loop_count - 10; $j = $j + 2) {
-
- if ($j % 10 == 0) {
- $dbh->do(
- "insert into innotest1 (D, B, C, F, G) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."', NULL, NULL)");
- } else {
- $dbh->do(
- "insert into innotest1 (D, B, C, F, G) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."', NOW(), NOW())");
- }
-
- $dbh->do("update innotest1 set B = '".$rnd_str[$j + 7]."' where A = ".$random[$j + 5]);
-
- $dbh->do("update innotest1 SET D = D + 1 where A =".($j / 2 - 500));
-
- $dbh->do("update innotest1 set B = '".$rnd_str[$j + 1]."' where A =".($j / 2 - 505));
-
- $dbh->do("delete from innotest1 where A = ".$random[$random[$j]]);
-
- fetch_all_rows($dbh, "select b, c from innotest1 where a > ".$random[$j]." and a < ".($random[$j] + 7));
-
- if (0 == ($j % 10)) {
- $dbh->do("commit");
- }
-
- if (0 == ($j % 97)) {
- fetch_all_rows($dbh, "select c, e, f, g from innotest1 where c = '".$rnd_str[$j - 68]."'");
- fetch_all_rows($dbh, "select b, e, f, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
- fetch_all_rows($dbh, "select b, c, e, f, g from innotest1 where c = '".$rnd_str[$j - 68]."'");
- fetch_all_rows($dbh, "select b, c, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
- fetch_all_rows($dbh, "select a, b, c, e, f, g from innotest1 where c = '".$rnd_str[$j - 68]."'");
- fetch_all_rows($dbh, "select a, b, c, e, f, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
- fetch_all_rows($dbh, "select d, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
- fetch_all_rows($dbh, "select d, b, c, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
-
- $dbh->do("rollback");
- }
-
- for ($k = 1; $k < 10; $k++) {
-
- $n += fetch_all_rows($dbh,
-"SELECT a, d from innotest1 where a = ".(($k * 1764767) % $j));
-
- $n += fetch_all_rows($dbh,
-"SELECT * from innotest1 where a = ".(($k * 187567) % $j));
-
- }
-
- if (0 == ($j % 1000)) {
- print "round $j, $n rows fetched\n";
- }
-
- if (0 == ($j % 20000)) {
- print "Checking table innotest1...\n";
- $dbh->do("check table innotest1");
- print "Table checked.\n";
- }
- }
-
- $dbh->do("commit");
-}
-
-$dbh->disconnect; # close connection
+require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
+
+print "Innotest1: MySQL/InnoDB stress test in Perl\n";
+print "-------------------------------------------\n";
+print "This is a randomized stress test for concurrent inserts,\n";
+print "updates, deletes, commits and rollbacks. The test will generate\n";
+print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
+print "\n";
+print "You should run innotest1, innotest1a, and innotest1b concurrently.\n";
+print "The thing to watch is that the server does not crash or does not\n";
+print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
+print "warnings about MySQL lock reservations can appear in the .err log.\n";
+print "The test will run very long, even several hours. You can kill\n";
+print "the perl processes running this test at any time and do CHECK\n";
+print "TABLE on table innotest1 in the 'test' database.\n";
+print "\n";
+print "Some of these stress tests will print a lot of SQL errors\n";
+print "to the standard output. That is not to be worried about.\n";
+print "You can direct the output to a file like this:\n";
+print "perl innotest1 > out1\n\n";
+
+print "Generating random keys\n";
+$random[$opt_loop_count] = 0;
+$rnd_str[$opt_loop_count] = "a";
+
+for ($i = 0; $i < $opt_loop_count; $i++) {
+
+ $random[$i] = ($i * 63857) % $opt_loop_count;
+
+ if (0 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kjgclgrtfuylfluyfyufyulfulfyyulofuyolfyufyufuyfyufyufyufyufyyufujhfghd";
+ } else { if (1 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khd";
+ } else { if (2 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kh";
+ }}}
+
+ for ($j = 0; $j < (($i * 764877) % 20); $j++) {
+ $rnd_str[$i] = $rnd_str[$i]."k";
+ }
+}
+
+####
+#### Connect
+####
+
+$dbh = $server->connect()
+|| die $dbh->errstr;
+
+$dbh->do("set autocommit = 0");
+
+$n = 0;
+
+for ($i = 0; $i < 1; $i++) {
+
+ print "Dropping table innotest1\n";
+
+ $dbh->do("drop table innotest1");
+
+ print "Creating table innotest1\n";
+
+ $dbh->do(
+ "create table innotest1 (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), E TIMESTAMP, F TIMESTAMP, G DATETIME, PRIMARY KEY (A, D), INDEX
+(B, C), INDEX (C), INDEX (D), INDEX(E), INDEX(G)) TYPE = INNODB")
+ || die $dbh->errstr;
+
+ for ($j = 2; $j < $opt_loop_count - 10; $j = $j + 2) {
+
+ if ($j % 10 == 0) {
+ $dbh->do(
+ "insert into innotest1 (D, B, C, F, G) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."', NULL, NULL)");
+ } else {
+ $dbh->do(
+ "insert into innotest1 (D, B, C, F, G) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."', NOW(), NOW())");
+ }
+
+ $dbh->do("update innotest1 set B = '".$rnd_str[$j + 7]."' where A = ".$random[$j + 5]);
+
+ $dbh->do("update innotest1 SET D = D + 1 where A =".($j / 2 - 500));
+
+ $dbh->do("update innotest1 set B = '".$rnd_str[$j + 1]."' where A =".($j / 2 - 505));
+
+ $dbh->do("delete from innotest1 where A = ".$random[$random[$j]]);
+
+ fetch_all_rows($dbh, "select b, c from innotest1 where a > ".$random[$j]." and a < ".($random[$j] + 7));
+
+ if (0 == ($j % 10)) {
+ $dbh->do("commit");
+ }
+
+ if (0 == ($j % 97)) {
+ fetch_all_rows($dbh, "select c, e, f, g from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ fetch_all_rows($dbh, "select b, e, f, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
+ fetch_all_rows($dbh, "select b, c, e, f, g from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ fetch_all_rows($dbh, "select b, c, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
+ fetch_all_rows($dbh, "select a, b, c, e, f, g from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ fetch_all_rows($dbh, "select a, b, c, e, f, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
+ fetch_all_rows($dbh, "select d, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ fetch_all_rows($dbh, "select d, b, c, g from innotest1 where b = '".$rnd_str[$j - 677]."'");
+
+ $dbh->do("rollback");
+ }
+
+ for ($k = 1; $k < 10; $k++) {
+
+ $n += fetch_all_rows($dbh,
+"SELECT a, d from innotest1 where a = ".(($k * 1764767) % $j));
+
+ $n += fetch_all_rows($dbh,
+"SELECT * from innotest1 where a = ".(($k * 187567) % $j));
+
+ }
+
+ if (0 == ($j % 1000)) {
+ print "round $j, $n rows fetched\n";
+ }
+
+ if (0 == ($j % 20000)) {
+ print "Checking table innotest1...\n";
+ $dbh->do("check table innotest1");
+ print "Table checked.\n";
+ }
+ }
+
+ $dbh->do("commit");
+}
+
+$dbh->disconnect; # close connection
diff --git a/sql-bench/innotest1a.sh b/sql-bench/innotest1a.sh
index 876100e5de4..1e428e33dcf 100644
--- a/sql-bench/innotest1a.sh
+++ b/sql-bench/innotest1a.sh
@@ -1,108 +1,108 @@
-#!/usr/bin/perl
-############################################################################
-# Stress test for MySQL/InnoDB combined database
-# (c) 2002 Innobase Oy & MySQL AB
-#
-############################################################################
-
+#!/usr/bin/perl
+############################################################################
+# Stress test for MySQL/InnoDB combined database
+# (c) 2002 Innobase Oy & MySQL AB
+#
+############################################################################
+
use Cwd;
-use DBI;
-use Benchmark;
-
-$opt_loop_count = 200000;
-
+use DBI;
+use Benchmark;
+
+$opt_loop_count = 200000;
+
$pwd = cwd(); $pwd = "." if ($pwd eq '');
-require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
-
-print "Innotest1a: MySQL/InnoDB stress test in Perl\n";
-print "-------------------------------------------\n";
-print "This is a randomized stress test for concurrent inserts,\n";
-print "updates, deletes, commits and rollbacks. The test will generate\n";
-print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
-print "\n";
-print "You should run innotest1, innotest1a, and innotest1b concurrently.\n";
-print "The thing to watch is that the server does not crash or does not\n";
-print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
-print "warnings about MySQL lock reservations can appear in the .err log.\n";
-print "The test will run very long, even several hours. You can kill\n";
-print "the perl processes running this test at any time and do CHECK\n";
-print "TABLE on table innotest1 in the 'test' database.\n";
-print "\n";
-print "Some of these stress tests will print a lot of SQL errors\n";
-print "to the standard output. That is not to be worried about.\n";
-print "You can direct the output to a file like this:\n";
-print "perl innotest1 > out1\n\n";
-
-print "Generating random keys\n";
-$random[$opt_loop_count] = 0;
-$rnd_str[$opt_loop_count] = "a";
-
-for ($i = 0; $i < $opt_loop_count; $i++) {
-
- $random[$i] = ($i * 63857) % $opt_loop_count;
-
- if (0 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kjgclgrtfuylfluyfyufyulfulfyyulofuyolfyufyufuyfyufyufyufyufyyufujhfghd";
- } else { if (1 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khd";
- } else { if (2 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kh";
- }}}
-
- for ($j = 0; $j < (($i * 764877) % 20); $j++) {
- $rnd_str[$i] = $rnd_str[$i]."k";
- }
-}
-
-####
-#### Connect
-####
-
-$dbh = $server->connect()
-|| die $dbh->errstr;
-
-
-$dbh->do("set autocommit = 0");
-
-for ($i = 0; $i < 1; $i++) {
- print "loop $i\n";
-
- for ($j = 1; $j < $opt_loop_count - 10; $j = $j + 2) {
- $dbh->do(
- "insert into innotest1 (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')");
- $dbh->do("update innotest1 set B = '".$rnd_str[$j + 2]."' where A = ".$random[$j + 5]);
- $dbh->do("update innotest1 SET D = D + 1 where A =".(($j - 1) / 2 - 777));
- $dbh->do("update innotest1 set B = '".$rnd_str[$j + 8]."' where A =".(($j - 1) / 2 - 770));
- $dbh->do("delete from innotest1 where A = ".$random[$random[$j]]);
-
- fetch_all_rows($dbh, "select b, c from innotest1 where a > ".$random[$j]." and a < ".($random[$j] + 7));
-
- if (0 == ($j % 37)) {
- $dbh->do("commit");
- }
-
- if (0 == ($j % 533)) {
- $dbh->do("rollback");
- }
-
- if (0 == ($j % 537)) {
- print fetch_all_rows($dbh, "select c from innotest1 where c = '".$rnd_str[$j - 67]."'");
- print fetch_all_rows($dbh, "select b from innotest1 where b = '".$rnd_str[$j - 688]."'");
- print fetch_all_rows($dbh, "select b, c from innotest1 where c = '".$rnd_str[$j - 67]."'");
- print fetch_all_rows($dbh, "select b, c from innotest1 where b = '".$rnd_str[$j - 622]."'");
- print fetch_all_rows($dbh, "select a, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
- print fetch_all_rows($dbh, "select a, b, c from innotest1 where b = '".$rnd_str[$j - 644]."'");
- print fetch_all_rows($dbh, "select d, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
- print fetch_all_rows($dbh, "select d, b, c from innotest1 where b = '".$rnd_str[$j - 677]."'");
- print "\n";
- }
-
- if (0 == (($j - 1) % 1000)) {
- print "round $j\n";
- }
- }
-
- $dbh->do("commit");
-}
-
-$dbh->disconnect; # close connection
+require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
+
+print "Innotest1a: MySQL/InnoDB stress test in Perl\n";
+print "-------------------------------------------\n";
+print "This is a randomized stress test for concurrent inserts,\n";
+print "updates, deletes, commits and rollbacks. The test will generate\n";
+print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
+print "\n";
+print "You should run innotest1, innotest1a, and innotest1b concurrently.\n";
+print "The thing to watch is that the server does not crash or does not\n";
+print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
+print "warnings about MySQL lock reservations can appear in the .err log.\n";
+print "The test will run very long, even several hours. You can kill\n";
+print "the perl processes running this test at any time and do CHECK\n";
+print "TABLE on table innotest1 in the 'test' database.\n";
+print "\n";
+print "Some of these stress tests will print a lot of SQL errors\n";
+print "to the standard output. That is not to be worried about.\n";
+print "You can direct the output to a file like this:\n";
+print "perl innotest1 > out1\n\n";
+
+print "Generating random keys\n";
+$random[$opt_loop_count] = 0;
+$rnd_str[$opt_loop_count] = "a";
+
+for ($i = 0; $i < $opt_loop_count; $i++) {
+
+ $random[$i] = ($i * 63857) % $opt_loop_count;
+
+ if (0 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kjgclgrtfuylfluyfyufyulfulfyyulofuyolfyufyufuyfyufyufyufyufyyufujhfghd";
+ } else { if (1 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khd";
+ } else { if (2 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kh";
+ }}}
+
+ for ($j = 0; $j < (($i * 764877) % 20); $j++) {
+ $rnd_str[$i] = $rnd_str[$i]."k";
+ }
+}
+
+####
+#### Connect
+####
+
+$dbh = $server->connect()
+|| die $dbh->errstr;
+
+
+$dbh->do("set autocommit = 0");
+
+for ($i = 0; $i < 1; $i++) {
+ print "loop $i\n";
+
+ for ($j = 1; $j < $opt_loop_count - 10; $j = $j + 2) {
+ $dbh->do(
+ "insert into innotest1 (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')");
+ $dbh->do("update innotest1 set B = '".$rnd_str[$j + 2]."' where A = ".$random[$j + 5]);
+ $dbh->do("update innotest1 SET D = D + 1 where A =".(($j - 1) / 2 - 777));
+ $dbh->do("update innotest1 set B = '".$rnd_str[$j + 8]."' where A =".(($j - 1) / 2 - 770));
+ $dbh->do("delete from innotest1 where A = ".$random[$random[$j]]);
+
+ fetch_all_rows($dbh, "select b, c from innotest1 where a > ".$random[$j]." and a < ".($random[$j] + 7));
+
+ if (0 == ($j % 37)) {
+ $dbh->do("commit");
+ }
+
+ if (0 == ($j % 533)) {
+ $dbh->do("rollback");
+ }
+
+ if (0 == ($j % 537)) {
+ print fetch_all_rows($dbh, "select c from innotest1 where c = '".$rnd_str[$j - 67]."'");
+ print fetch_all_rows($dbh, "select b from innotest1 where b = '".$rnd_str[$j - 688]."'");
+ print fetch_all_rows($dbh, "select b, c from innotest1 where c = '".$rnd_str[$j - 67]."'");
+ print fetch_all_rows($dbh, "select b, c from innotest1 where b = '".$rnd_str[$j - 622]."'");
+ print fetch_all_rows($dbh, "select a, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ print fetch_all_rows($dbh, "select a, b, c from innotest1 where b = '".$rnd_str[$j - 644]."'");
+ print fetch_all_rows($dbh, "select d, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ print fetch_all_rows($dbh, "select d, b, c from innotest1 where b = '".$rnd_str[$j - 677]."'");
+ print "\n";
+ }
+
+ if (0 == (($j - 1) % 1000)) {
+ print "round $j\n";
+ }
+ }
+
+ $dbh->do("commit");
+}
+
+$dbh->disconnect; # close connection
diff --git a/sql-bench/innotest1b.sh b/sql-bench/innotest1b.sh
index 3f6c9f5bd5f..524a6e0e145 100644
--- a/sql-bench/innotest1b.sh
+++ b/sql-bench/innotest1b.sh
@@ -1,101 +1,101 @@
-#!/usr/bin/perl
-############################################################################
-# Stress test for MySQL/InnoDB combined database
-# (c) 2002 Innobase Oy & MySQL AB
-#
-############################################################################
-
+#!/usr/bin/perl
+############################################################################
+# Stress test for MySQL/InnoDB combined database
+# (c) 2002 Innobase Oy & MySQL AB
+#
+############################################################################
+
use Cwd;
-use DBI;
-use Benchmark;
-
-$opt_loop_count = 200000;
-
+use DBI;
+use Benchmark;
+
+$opt_loop_count = 200000;
+
$pwd = cwd(); $pwd = "." if ($pwd eq '');
-require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
-
-print "Innotest1b: MySQL/InnoDB stress test in Perl\n";
-print "-------------------------------------------\n";
-print "This is a randomized stress test for concurrent inserts,\n";
-print "updates, deletes, commits and rollbacks. The test will generate\n";
-print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
-print "\n";
-print "You should run innotest1, innotest1a, and innotest1b concurrently.\n";
-print "The thing to watch is that the server does not crash or does not\n";
-print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
-print "warnings about MySQL lock reservations can appear in the .err log.\n";
-print "The test will run very long, even several hours. You can kill\n";
-print "the perl processes running this test at any time and do CHECK\n";
-print "TABLE on table innotest1 in the 'test' database.\n";
-print "\n";
-print "Some of these stress tests will print a lot of SQL errors\n";
-print "to the standard output. That is not to be worried about.\n";
-print "You can direct the output to a file like this:\n";
-print "perl innotest1 > out1\n\n";
-
-print "Generating random keys\n";
-$random[$opt_loop_count] = 0;
-$rnd_str[$opt_loop_count] = "a";
-
-for ($i = 0; $i < $opt_loop_count; $i++) {
-
- $random[$i] = ($i * 63857) % $opt_loop_count;
-
- if (0 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kjgclgrtfuylfluyfyufyulfulfyyulofuyolfyufyufuyfyufyufyufyufyyufujhfghd";
- } else { if (1 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khd";
- } else { if (2 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kh";
- }}}
-
- for ($j = 0; $j < (($i * 764877) % 20); $j++) {
- $rnd_str[$i] = $rnd_str[$i]."k";
- }
-}
-
-####
-#### Connect
-####
-
-$dbh = $server->connect()
-|| die $dbh->errstr;
-
-$dbh->do("set autocommit = 0");
-
-for ($i = 0; $i < 5; $i++) {
- print "loop $i\n";
-
- for ($j = 1; $j < $opt_loop_count - 10; $j = $j + 2) {
-
- fetch_all_rows($dbh, "select b, c from innotest1 where a > ".$random[$j]." and a < ".($random[$j] + 7));
-
- if (0 == ($j % 37)) {
- $dbh->do("commit");
- }
-
- if (0 == ($j % 533)) {
- $dbh->do("rollback");
- }
-
- if (0 == ($j % 537)) {
- print fetch_all_rows($dbh, "select c from innotest1 where c = '".$rnd_str[$j - 67]."'");
- print fetch_all_rows($dbh, "select b from innotest1 where b = '".$rnd_str[$j - 688]."'");
- print fetch_all_rows($dbh, "select b, c from innotest1 where c = '".$rnd_str[$j - 67]."'");
- print fetch_all_rows($dbh, "select b, c from innotest1 where b = '".$rnd_str[$j - 622]."'");
- print fetch_all_rows($dbh, "select a, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
- print fetch_all_rows($dbh, "select a, b, c from innotest1 where b = '".$rnd_str[$j - 644]."'");
- print fetch_all_rows($dbh, "select d, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
- print fetch_all_rows($dbh, "select d, b, c from innotest1 where b = '".$rnd_str[$j - 677]."'");
- print "\n";
- }
-
- if (0 == (($j - 1) % 1000)) {
- print "round $j\n";
- }
- }
-
- $dbh->do("commit");
-}
-
-$dbh->disconnect; # close connection
+require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
+
+print "Innotest1b: MySQL/InnoDB stress test in Perl\n";
+print "-------------------------------------------\n";
+print "This is a randomized stress test for concurrent inserts,\n";
+print "updates, deletes, commits and rollbacks. The test will generate\n";
+print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
+print "\n";
+print "You should run innotest1, innotest1a, and innotest1b concurrently.\n";
+print "The thing to watch is that the server does not crash or does not\n";
+print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
+print "warnings about MySQL lock reservations can appear in the .err log.\n";
+print "The test will run very long, even several hours. You can kill\n";
+print "the perl processes running this test at any time and do CHECK\n";
+print "TABLE on table innotest1 in the 'test' database.\n";
+print "\n";
+print "Some of these stress tests will print a lot of SQL errors\n";
+print "to the standard output. That is not to be worried about.\n";
+print "You can direct the output to a file like this:\n";
+print "perl innotest1 > out1\n\n";
+
+print "Generating random keys\n";
+$random[$opt_loop_count] = 0;
+$rnd_str[$opt_loop_count] = "a";
+
+for ($i = 0; $i < $opt_loop_count; $i++) {
+
+ $random[$i] = ($i * 63857) % $opt_loop_count;
+
+ if (0 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kjgclgrtfuylfluyfyufyulfulfyyulofuyolfyufyufuyfyufyufyufyufyyufujhfghd";
+ } else { if (1 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khd";
+ } else { if (2 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kh";
+ }}}
+
+ for ($j = 0; $j < (($i * 764877) % 20); $j++) {
+ $rnd_str[$i] = $rnd_str[$i]."k";
+ }
+}
+
+####
+#### Connect
+####
+
+$dbh = $server->connect()
+|| die $dbh->errstr;
+
+$dbh->do("set autocommit = 0");
+
+for ($i = 0; $i < 5; $i++) {
+ print "loop $i\n";
+
+ for ($j = 1; $j < $opt_loop_count - 10; $j = $j + 2) {
+
+ fetch_all_rows($dbh, "select b, c from innotest1 where a > ".$random[$j]." and a < ".($random[$j] + 7));
+
+ if (0 == ($j % 37)) {
+ $dbh->do("commit");
+ }
+
+ if (0 == ($j % 533)) {
+ $dbh->do("rollback");
+ }
+
+ if (0 == ($j % 537)) {
+ print fetch_all_rows($dbh, "select c from innotest1 where c = '".$rnd_str[$j - 67]."'");
+ print fetch_all_rows($dbh, "select b from innotest1 where b = '".$rnd_str[$j - 688]."'");
+ print fetch_all_rows($dbh, "select b, c from innotest1 where c = '".$rnd_str[$j - 67]."'");
+ print fetch_all_rows($dbh, "select b, c from innotest1 where b = '".$rnd_str[$j - 622]."'");
+ print fetch_all_rows($dbh, "select a, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ print fetch_all_rows($dbh, "select a, b, c from innotest1 where b = '".$rnd_str[$j - 644]."'");
+ print fetch_all_rows($dbh, "select d, b, c from innotest1 where c = '".$rnd_str[$j - 68]."'");
+ print fetch_all_rows($dbh, "select d, b, c from innotest1 where b = '".$rnd_str[$j - 677]."'");
+ print "\n";
+ }
+
+ if (0 == (($j - 1) % 1000)) {
+ print "round $j\n";
+ }
+ }
+
+ $dbh->do("commit");
+}
+
+$dbh->disconnect; # close connection
diff --git a/sql-bench/innotest2.sh b/sql-bench/innotest2.sh
index cfeb0527970..fa0fd418968 100644
--- a/sql-bench/innotest2.sh
+++ b/sql-bench/innotest2.sh
@@ -1,150 +1,150 @@
-#!/usr/bin/perl
-############################################################################
-# Stress test for MySQL/InnoDB combined database
-# (c) 2002 Innobase Oy & MySQL AB
-#
-############################################################################
-
+#!/usr/bin/perl
+############################################################################
+# Stress test for MySQL/InnoDB combined database
+# (c) 2002 Innobase Oy & MySQL AB
+#
+############################################################################
+
use Cwd;
-use DBI;
-use Benchmark;
-
-$opt_loop_count = 100000;
-
+use DBI;
+use Benchmark;
+
+$opt_loop_count = 100000;
+
$pwd = cwd(); $pwd = "." if ($pwd eq '');
-require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
-
-print "Innotest2: MySQL/InnoDB stress test in Perl for FOREIGN keys\n";
-print "------------------------------------------------------------\n";
-print "This is a randomized stress test for concurrent inserts,\n";
-print "updates, deletes, commits and rollbacks with foreign keys with\n";
-print "the ON DELETE ... clause. The test will generate\n";
-print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
-print "\n";
-print "You should run innotest2, innotest2a, and innotest2b concurrently.\n";
-print "The thing to watch is that the server does not crash or does not\n";
-print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
-print "warnings about MySQL lock reservations can appear in the .err log.\n";
-print "The test will run very long, even several hours. You can kill\n";
-print "the perl processes running this test at any time and do CHECK\n";
-print "TABLE on tables innotest2a, b, c, d in the 'test' database.\n";
-print "\n";
-print "Some of these stress tests will print a lot of SQL errors\n";
-print "to the standard output. That is not to be worried about.\n";
-print "You can direct the output to a file like this:\n";
-print "perl innotest2 > out2\n\n";
-
-print "Generating random keys\n";
-$random[$opt_loop_count] = 0;
-$rnd_str[$opt_loop_count] = "a";
-
-for ($i = 0; $i < $opt_loop_count; $i++) {
-
- $random[$i] = ($i * 63857) % $opt_loop_count;
-
- if (0 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khD";
- } else { if (1 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khd";
- } else { if (2 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kHd";
- }}}
-
- for ($j = 0; $j < (($i * 764877) % 10); $j++) {
- $rnd_str[$i] = $rnd_str[$i]."k";
- }
-}
-
-####
-#### Connect
-####
-
-$dbh = $server->connect()
-|| die $dbh->errstr;
-
-$dbh->do("set autocommit = 0");
-
-for ($i = 0; $i < 1; $i++) {
- print "loop $i\n";
-
- print "dropping table innotest2a\n";
- $dbh->do("drop table innotest2a");
-
- print "dropping table innotest2b\n";
- $dbh->do("drop table innotest2b");
-
- print "dropping table innotest2c\n";
- $dbh->do("drop table innotest2c");
-
- print "dropping table innotest2d\n";
- $dbh->do("drop table innotest2d");
-
- print "creating table innotest2b\n";
- $dbh->do(
- "create table innotest2b (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), PRIMARY KEY (A, D, B), INDEX (B, C), INDEX (C)) TYPE = INNODB")
- || die $dbh->errstr;
-
- print "creating table innotest2a\n";
-
- $dbh->do(
- "create table innotest2a (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), PRIMARY KEY (A, D, B), INDEX (B, C), INDEX (C), FOREIGN KEY (A, D) REFERENCES innotest2b (A, D) ON DELETE CASCADE) TYPE = INNODB")
- || die $dbh->errstr;
-
- print "creating table innotest2c\n";
-
- $dbh->do(
- "create table innotest2c (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), PRIMARY KEY (A, D, B), INDEX (B, C), INDEX (C), FOREIGN KEY (A, D) REFERENCES innotest2a (A, D) ON DELETE CASCADE, FOREIGN KEY (B, C) REFERENCES innotest2a (B, C) ON DELETE CASCADE) TYPE = INNODB")
- || die $dbh->errstr;
-
- print "creating table innotest2d\n";
-
- $dbh->do(
- "create table innotest2d (A INT AUTO_INCREMENT, D INT, B VARCHAR(200), C VARCHAR(175), UNIQUE KEY (A, D, B), INDEX (B, C), INDEX (C), FOREIGN KEY (C) REFERENCES innotest2c (C) ON DELETE SET NULL, FOREIGN KEY (B, C) REFERENCES innotest2c (B, C) ON DELETE SET NULL) TYPE = INNODB")
- || die $dbh->errstr;
- print "created\n";
-
- for ($j = 0; $j < $opt_loop_count - 10; $j = $j + 2) {
- $dbh->do(
- "insert into innotest2b (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
- || print $dbh->errstr;
-
- $dbh->do(
- "insert into innotest2a (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
- || print $dbh->errstr;
-
- $dbh->do(
- "insert into innotest2c (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
- || print $dbh->errstr;
-
- $dbh->do(
- "insert into innotest2d (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
- || print $dbh->errstr;
-
- $dbh->do("delete from innotest2b where A = ".$random[$random[$j]])
- || print $dbh->errstr;
-
- if (0 == ($j % 10)) {
- $dbh->do("commit");
- }
-
- if (0 == ($j % 39)) {
- $dbh->do("rollback");
- }
-
- if (0 == ($j % 1000)) {
- print "round $j\n";
- }
- if (0 == ($j % 20000)) {
- print "Checking tables...\n";
- $dbh->do("check table innotest2a");
- $dbh->do("check table innotest2b");
- $dbh->do("check table innotest2c");
- $dbh->do("check table innotest2d");
- print "Tables checked.\n";
- }
- }
-
- $dbh->do("commit");
-}
-
-$dbh->disconnect; # close connection
+require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
+
+print "Innotest2: MySQL/InnoDB stress test in Perl for FOREIGN keys\n";
+print "------------------------------------------------------------\n";
+print "This is a randomized stress test for concurrent inserts,\n";
+print "updates, deletes, commits and rollbacks with foreign keys with\n";
+print "the ON DELETE ... clause. The test will generate\n";
+print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
+print "\n";
+print "You should run innotest2, innotest2a, and innotest2b concurrently.\n";
+print "The thing to watch is that the server does not crash or does not\n";
+print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
+print "warnings about MySQL lock reservations can appear in the .err log.\n";
+print "The test will run very long, even several hours. You can kill\n";
+print "the perl processes running this test at any time and do CHECK\n";
+print "TABLE on tables innotest2a, b, c, d in the 'test' database.\n";
+print "\n";
+print "Some of these stress tests will print a lot of SQL errors\n";
+print "to the standard output. That is not to be worried about.\n";
+print "You can direct the output to a file like this:\n";
+print "perl innotest2 > out2\n\n";
+
+print "Generating random keys\n";
+$random[$opt_loop_count] = 0;
+$rnd_str[$opt_loop_count] = "a";
+
+for ($i = 0; $i < $opt_loop_count; $i++) {
+
+ $random[$i] = ($i * 63857) % $opt_loop_count;
+
+ if (0 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khD";
+ } else { if (1 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khd";
+ } else { if (2 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kHd";
+ }}}
+
+ for ($j = 0; $j < (($i * 764877) % 10); $j++) {
+ $rnd_str[$i] = $rnd_str[$i]."k";
+ }
+}
+
+####
+#### Connect
+####
+
+$dbh = $server->connect()
+|| die $dbh->errstr;
+
+$dbh->do("set autocommit = 0");
+
+for ($i = 0; $i < 1; $i++) {
+ print "loop $i\n";
+
+ print "dropping table innotest2a\n";
+ $dbh->do("drop table innotest2a");
+
+ print "dropping table innotest2b\n";
+ $dbh->do("drop table innotest2b");
+
+ print "dropping table innotest2c\n";
+ $dbh->do("drop table innotest2c");
+
+ print "dropping table innotest2d\n";
+ $dbh->do("drop table innotest2d");
+
+ print "creating table innotest2b\n";
+ $dbh->do(
+ "create table innotest2b (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), PRIMARY KEY (A, D, B), INDEX (B, C), INDEX (C)) TYPE = INNODB")
+ || die $dbh->errstr;
+
+ print "creating table innotest2a\n";
+
+ $dbh->do(
+ "create table innotest2a (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), PRIMARY KEY (A, D, B), INDEX (B, C), INDEX (C), FOREIGN KEY (A, D) REFERENCES innotest2b (A, D) ON DELETE CASCADE) TYPE = INNODB")
+ || die $dbh->errstr;
+
+ print "creating table innotest2c\n";
+
+ $dbh->do(
+ "create table innotest2c (A INT NOT NULL AUTO_INCREMENT, D INT NOT NULL, B VARCHAR(200) NOT NULL, C VARCHAR(175), PRIMARY KEY (A, D, B), INDEX (B, C), INDEX (C), FOREIGN KEY (A, D) REFERENCES innotest2a (A, D) ON DELETE CASCADE, FOREIGN KEY (B, C) REFERENCES innotest2a (B, C) ON DELETE CASCADE) TYPE = INNODB")
+ || die $dbh->errstr;
+
+ print "creating table innotest2d\n";
+
+ $dbh->do(
+ "create table innotest2d (A INT AUTO_INCREMENT, D INT, B VARCHAR(200), C VARCHAR(175), UNIQUE KEY (A, D, B), INDEX (B, C), INDEX (C), FOREIGN KEY (C) REFERENCES innotest2c (C) ON DELETE SET NULL, FOREIGN KEY (B, C) REFERENCES innotest2c (B, C) ON DELETE SET NULL) TYPE = INNODB")
+ || die $dbh->errstr;
+ print "created\n";
+
+ for ($j = 0; $j < $opt_loop_count - 10; $j = $j + 2) {
+ $dbh->do(
+ "insert into innotest2b (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
+ || print $dbh->errstr;
+
+ $dbh->do(
+ "insert into innotest2a (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
+ || print $dbh->errstr;
+
+ $dbh->do(
+ "insert into innotest2c (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
+ || print $dbh->errstr;
+
+ $dbh->do(
+ "insert into innotest2d (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
+ || print $dbh->errstr;
+
+ $dbh->do("delete from innotest2b where A = ".$random[$random[$j]])
+ || print $dbh->errstr;
+
+ if (0 == ($j % 10)) {
+ $dbh->do("commit");
+ }
+
+ if (0 == ($j % 39)) {
+ $dbh->do("rollback");
+ }
+
+ if (0 == ($j % 1000)) {
+ print "round $j\n";
+ }
+ if (0 == ($j % 20000)) {
+ print "Checking tables...\n";
+ $dbh->do("check table innotest2a");
+ $dbh->do("check table innotest2b");
+ $dbh->do("check table innotest2c");
+ $dbh->do("check table innotest2d");
+ print "Tables checked.\n";
+ }
+ }
+
+ $dbh->do("commit");
+}
+
+$dbh->disconnect; # close connection
diff --git a/sql-bench/innotest2a.sh b/sql-bench/innotest2a.sh
index f77ed3ddadd..4a6e4b20a9a 100644
--- a/sql-bench/innotest2a.sh
+++ b/sql-bench/innotest2a.sh
@@ -1,94 +1,94 @@
-#!/usr/bin/perl
-############################################################################
-# Stress test for MySQL/Innobase combined database
-# (c) 2000 Innobase Oy & MySQL AB
-#
-############################################################################
-
+#!/usr/bin/perl
+############################################################################
+# Stress test for MySQL/Innobase combined database
+# (c) 2000 Innobase Oy & MySQL AB
+#
+############################################################################
+
use Cwd;
-use DBI;
-use Benchmark;
-
-$opt_loop_count = 100000;
-
+use DBI;
+use Benchmark;
+
+$opt_loop_count = 100000;
+
$pwd = cwd(); $pwd = "." if ($pwd eq '');
-require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
-
-print "Innotest2a: MySQL/InnoDB stress test in Perl for FOREIGN keys\n";
-print "------------------------------------------------------------\n";
-print "This is a randomized stress test for concurrent inserts,\n";
-print "updates, deletes, commits and rollbacks with foreign keys with\n";
-print "the ON DELETE ... clause. The test will generate\n";
-print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
-print "\n";
-print "You should run innotest2, innotest2a, and innotest2b concurrently.\n";
-print "The thing to watch is that the server does not crash or does not\n";
-print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
-print "warnings about MySQL lock reservations can appear in the .err log.\n";
-print "The test will run very long, even several hours. You can kill\n";
-print "the perl processes running this test at any time and do CHECK\n";
-print "TABLE on tables innotest2a, b, c, d in the 'test' database.\n";
-print "\n";
-print "Some of these stress tests will print a lot of SQL errors\n";
-print "to the standard output. That is not to be worried about.\n";
-print "You can direct the output to a file like this:\n";
-print "perl innotest2 > out2\n\n";
-
-print "Generating random keys\n";
-$random[$opt_loop_count] = 0;
-$rnd_str[$opt_loop_count] = "a";
-
-for ($i = 0; $i < $opt_loop_count; $i++) {
-
- $random[$i] = ($i * 63857) % $opt_loop_count;
-
- if (0 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khD";
- } else { if (1 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kHd";
- } else { if (2 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khd";
- }}}
-
- for ($j = 0; $j < (($i * 764877) % 20); $j++) {
- $rnd_str[$i] = $rnd_str[$i]."k";
- }
-}
-
-####
-#### Connect
-####
-
-$dbh = $server->connect()
-|| die $dbh->errstr;
-
-$dbh->do("set autocommit = 0");
-
-for ($i = 0; $i < 5; $i++) {
- print "loop $i\n";
-
- for ($j = 0; $j < $opt_loop_count - 10; $j = $j + 1) {
-
- $dbh->do("update innotest2a set B = '".$rnd_str[$j + 1]."' where A = ".$random[$j + 5])
- || print $dbh->errstr;
-
- $dbh->do("delete from innotest2a where A = ".$random[$random[$j]])
- || print $dbh->errstr;
-
- if (0 == ($j % 10)) {
- $dbh->do("commit");
- }
-
- if (0 == ($j % 39)) {
- $dbh->do("rollback");
- }
-
- if (0 == ($j % 1000)) {
- print "round $j\n";
- }
- }
-
- $dbh->do("commit");
-}
-
-$dbh->disconnect; # close connection
+require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
+
+print "Innotest2a: MySQL/InnoDB stress test in Perl for FOREIGN keys\n";
+print "------------------------------------------------------------\n";
+print "This is a randomized stress test for concurrent inserts,\n";
+print "updates, deletes, commits and rollbacks with foreign keys with\n";
+print "the ON DELETE ... clause. The test will generate\n";
+print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
+print "\n";
+print "You should run innotest2, innotest2a, and innotest2b concurrently.\n";
+print "The thing to watch is that the server does not crash or does not\n";
+print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
+print "warnings about MySQL lock reservations can appear in the .err log.\n";
+print "The test will run very long, even several hours. You can kill\n";
+print "the perl processes running this test at any time and do CHECK\n";
+print "TABLE on tables innotest2a, b, c, d in the 'test' database.\n";
+print "\n";
+print "Some of these stress tests will print a lot of SQL errors\n";
+print "to the standard output. That is not to be worried about.\n";
+print "You can direct the output to a file like this:\n";
+print "perl innotest2 > out2\n\n";
+
+print "Generating random keys\n";
+$random[$opt_loop_count] = 0;
+$rnd_str[$opt_loop_count] = "a";
+
+for ($i = 0; $i < $opt_loop_count; $i++) {
+
+ $random[$i] = ($i * 63857) % $opt_loop_count;
+
+ if (0 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khD";
+ } else { if (1 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kHd";
+ } else { if (2 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khd";
+ }}}
+
+ for ($j = 0; $j < (($i * 764877) % 20); $j++) {
+ $rnd_str[$i] = $rnd_str[$i]."k";
+ }
+}
+
+####
+#### Connect
+####
+
+$dbh = $server->connect()
+|| die $dbh->errstr;
+
+$dbh->do("set autocommit = 0");
+
+for ($i = 0; $i < 5; $i++) {
+ print "loop $i\n";
+
+ for ($j = 0; $j < $opt_loop_count - 10; $j = $j + 1) {
+
+ $dbh->do("update innotest2a set B = '".$rnd_str[$j + 1]."' where A = ".$random[$j + 5])
+ || print $dbh->errstr;
+
+ $dbh->do("delete from innotest2a where A = ".$random[$random[$j]])
+ || print $dbh->errstr;
+
+ if (0 == ($j % 10)) {
+ $dbh->do("commit");
+ }
+
+ if (0 == ($j % 39)) {
+ $dbh->do("rollback");
+ }
+
+ if (0 == ($j % 1000)) {
+ print "round $j\n";
+ }
+ }
+
+ $dbh->do("commit");
+}
+
+$dbh->disconnect; # close connection
diff --git a/sql-bench/innotest2b.sh b/sql-bench/innotest2b.sh
index 72a71d06c73..b94325ff39e 100644
--- a/sql-bench/innotest2b.sh
+++ b/sql-bench/innotest2b.sh
@@ -1,104 +1,104 @@
-#!/usr/bin/perl
-############################################################################
-# Stress test for MySQL/Innobase combined database
-# (c) 2000 Innobase Oy & MySQL AB
-#
-############################################################################
-
+#!/usr/bin/perl
+############################################################################
+# Stress test for MySQL/Innobase combined database
+# (c) 2000 Innobase Oy & MySQL AB
+#
+############################################################################
+
use Cwd;
-use DBI;
-use Benchmark;
-
-$opt_loop_count = 100000;
-
+use DBI;
+use Benchmark;
+
+$opt_loop_count = 100000;
+
$pwd = cwd(); $pwd = "." if ($pwd eq '');
-require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
-
-print "Innotest2b: MySQL/InnoDB stress test in Perl for FOREIGN keys\n";
-print "------------------------------------------------------------\n";
-print "This is a randomized stress test for concurrent inserts,\n";
-print "updates, deletes, commits and rollbacks with foreign keys with\n";
-print "the ON DELETE ... clause. The test will generate\n";
-print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
-print "\n";
-print "You should run innotest2, innotest2a, and innotest2b concurrently.\n";
-print "The thing to watch is that the server does not crash or does not\n";
-print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
-print "warnings about MySQL lock reservations can appear in the .err log.\n";
-print "The test will run very long, even several hours. You can kill\n";
-print "the perl processes running this test at any time and do CHECK\n";
-print "TABLE on tables innotest2a, b, c, d in the 'test' database.\n";
-print "\n";
-print "Some of these stress tests will print a lot of SQL errors\n";
-print "to the standard output. That is not to be worried about.\n";
-print "You can direct the output to a file like this:\n";
-print "perl innotest2 > out2\n\n";
-
-print "Generating random keys\n";
-$random[$opt_loop_count] = 0;
-$rnd_str[$opt_loop_count] = "a";
-
-for ($i = 0; $i < $opt_loop_count; $i++) {
-
- $random[$i] = ($i * 98641) % $opt_loop_count;
-
- if (0 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khD";
- } else { if (1 == ($random[$i] % 3)) {
- $rnd_str[$i] = "khd";
- } else { if (2 == ($random[$i] % 3)) {
- $rnd_str[$i] = "kHd";
- }}}
-
- for ($j = 0; $j < (($i * 764877) % 10); $j++) {
- $rnd_str[$i] = $rnd_str[$i]."k";
- }
-}
-
-####
-#### Connect
-####
-
-$dbh = $server->connect();
-
-$dbh->do("set autocommit = 0");
-
-for ($i = 0; $i < 1; $i++) {
- print "loop $i\n";
-
- for ($j = 0; $j < $opt_loop_count - 10; $j = $j + 2) {
- $dbh->do(
- "insert into innotest2b (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
- || print $dbh->errstr;
-
- $dbh->do(
- "insert into innotest2a (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
- || print $dbh->errstr;
-
- $dbh->do(
- "insert into innotest2c (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
- || print $dbh->errstr;
-
- $dbh->do("delete from innotest2b where A = ".$random[$random[$j]])
- || print $dbh->errstr;
-
- $dbh->do("update innotest2b set A = A + 1 where A = ".$random[$j])
- || print $dbh->errstr;
-
- if (0 == ($j % 10)) {
- $dbh->do("commit");
- }
-
- if (0 == ($j % 39)) {
- $dbh->do("rollback");
- }
-
- if (0 == ($j % 1000)) {
- print "round $j\n";
- }
- }
-
- $dbh->do("commit");
-}
-
-$dbh->disconnect; # close connection
+require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
+
+print "Innotest2b: MySQL/InnoDB stress test in Perl for FOREIGN keys\n";
+print "------------------------------------------------------------\n";
+print "This is a randomized stress test for concurrent inserts,\n";
+print "updates, deletes, commits and rollbacks with foreign keys with\n";
+print "the ON DELETE ... clause. The test will generate\n";
+print "also a lot of deadlocks, duplicate key errors, and other SQL errors.\n";
+print "\n";
+print "You should run innotest2, innotest2a, and innotest2b concurrently.\n";
+print "The thing to watch is that the server does not crash or does not\n";
+print "print to the .err log anything. Currently, due to a buglet in MySQL,\n";
+print "warnings about MySQL lock reservations can appear in the .err log.\n";
+print "The test will run very long, even several hours. You can kill\n";
+print "the perl processes running this test at any time and do CHECK\n";
+print "TABLE on tables innotest2a, b, c, d in the 'test' database.\n";
+print "\n";
+print "Some of these stress tests will print a lot of SQL errors\n";
+print "to the standard output. That is not to be worried about.\n";
+print "You can direct the output to a file like this:\n";
+print "perl innotest2 > out2\n\n";
+
+print "Generating random keys\n";
+$random[$opt_loop_count] = 0;
+$rnd_str[$opt_loop_count] = "a";
+
+for ($i = 0; $i < $opt_loop_count; $i++) {
+
+ $random[$i] = ($i * 98641) % $opt_loop_count;
+
+ if (0 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khD";
+ } else { if (1 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "khd";
+ } else { if (2 == ($random[$i] % 3)) {
+ $rnd_str[$i] = "kHd";
+ }}}
+
+ for ($j = 0; $j < (($i * 764877) % 10); $j++) {
+ $rnd_str[$i] = $rnd_str[$i]."k";
+ }
+}
+
+####
+#### Connect
+####
+
+$dbh = $server->connect();
+
+$dbh->do("set autocommit = 0");
+
+for ($i = 0; $i < 1; $i++) {
+ print "loop $i\n";
+
+ for ($j = 0; $j < $opt_loop_count - 10; $j = $j + 2) {
+ $dbh->do(
+ "insert into innotest2b (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
+ || print $dbh->errstr;
+
+ $dbh->do(
+ "insert into innotest2a (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
+ || print $dbh->errstr;
+
+ $dbh->do(
+ "insert into innotest2c (D, B, C) values (5, '".$rnd_str[$j]."' ,'".$rnd_str[$j]."')")
+ || print $dbh->errstr;
+
+ $dbh->do("delete from innotest2b where A = ".$random[$random[$j]])
+ || print $dbh->errstr;
+
+ $dbh->do("update innotest2b set A = A + 1 where A = ".$random[$j])
+ || print $dbh->errstr;
+
+ if (0 == ($j % 10)) {
+ $dbh->do("commit");
+ }
+
+ if (0 == ($j % 39)) {
+ $dbh->do("rollback");
+ }
+
+ if (0 == ($j % 1000)) {
+ print "round $j\n";
+ }
+ }
+
+ $dbh->do("commit");
+}
+
+$dbh->disconnect; # close connection
diff --git a/sql-bench/limits/access_odbc.cfg b/sql-bench/limits/access_odbc.cfg
index cc2e05c0154..8fd07fc71d7 100644
--- a/sql-bench/limits/access_odbc.cfg
+++ b/sql-bench/limits/access_odbc.cfg
@@ -1,448 +1,448 @@
-#This file is automaticly generated by crash-me 1.37
-
-NEG=yes # update of column= -column
-alter_add_col=yes # Alter table add column
-alter_add_multi_col=without add # Alter table add many columns
-alter_alter_col=no # Alter table alter column
-alter_change_col=no # Alter table change column
-alter_drop_col=yes # Alter table drop column
-alter_modify_col=no # Alter table modify column
-alter_rename_table=no # Alter table rename table
-atomic_updates=no # atomic updates
-binary_items=yes # binary items (0x41)
-case_insensitive_strings=yes # case insensitive compare
-char_is_space_filled=no # char are space filled
-column_alias=yes # Column alias
-columns_in_group_by=11 # number of columns in group by
-columns_in_order_by=11 # number of columns in order by
-comment_#=no # # as comment
-comment_--=no # -- as comment
-comment_/**/=no # /* */ as comment
-comment_//=no # // as comment
-compute=no # Compute
-connections=64 # Simultaneous connections
-constraint_check=no # CHECK constraint
-constraint_null=yes # NULL constraint (SyBase style)
-crash_me_safe=no # crash me safe
-crash_me_version=1.37 # crash me version
-create_default=no # default value for column
-create_default_func=no # default value function for column
-create_if_not_exists=no # create table if not exists
-create_index=yes # create index
-create_table_select=no # create table from select
-cross_join=no # cross join (same as from a,b)
-date_as_string=error # String functions on date columns
-date_with_YY=yes # Supports YY-MM-DD 2000 compilant dates
-date_zero=no # Supports 0000-00-00 dates
-double_quotes=yes # Double '' as ' in strings
-drop_if_exists=no # drop table if exists
-drop_index=with 'ON' # drop index
-end_colon=yes # allows end ';'
-except=no # except
-except_all=no # except all
-float_int_expr=yes # mixing of integer and float in expression
-foreign_key_syntax=no # foreign key syntax
-full_outer_join=no # full outer join
-func_extra_!=no # Function NOT as '!' in SELECT
-func_extra_%=no # Function MOD as %
-func_extra_&=error # Function & (bitwise and)
-func_extra_&&=no # Function AND as '&&'
-func_extra_<>=yes # Function <> in SELECT
-func_extra_==yes # Function =
-func_extra_add_months=no # Function ADD_MONTHS
-func_extra_and_or=yes # Function AND and OR in SELECT
-func_extra_atn2=no # Function ATN2
-func_extra_auto_num2string=no # Function automatic num->string convert
-func_extra_auto_string2num=yes # Function automatic string->num convert
-func_extra_between=yes # Function BETWEEN in SELECT
-func_extra_binary_shifts=no # Function << and >> (bitwise shifts)
-func_extra_bit_count=no # Function BIT_COUNT
-func_extra_ceil=no # Function CEIL
-func_extra_charindex=no # Function CHARINDEX
-func_extra_chr=yes # Function CHR
-func_extra_coalesce=no # Function COALESCE
-func_extra_concat_as_+=yes # Function concatenation with +
-func_extra_concat_list=no # Function CONCAT(list)
-func_extra_convert=no # Function CONVERT
-func_extra_cosh=no # Function COSH
-func_extra_date_format=no # Function DATE_FORMAT
-func_extra_dateadd=no # Function DATEADD
-func_extra_datediff=no # Function DATEDIFF
-func_extra_datename=no # Function DATENAME
-func_extra_datepart=no # Function DATEPART
-func_extra_elt=no # Function ELT
-func_extra_encrypt=no # Function ENCRYPT
-func_extra_field=no # Function FIELD
-func_extra_format=error # Function FORMAT
-func_extra_from_days=no # Function FROM_DAYS
-func_extra_from_unixtime=no # Function FROM_UNIXTIME
-func_extra_getdate=no # Function GETDATE
-func_extra_greatest=no # Function GREATEST
-func_extra_if=no # Function IF
-func_extra_in_num=yes # Function IN on numbers in SELECT
-func_extra_in_str=yes # Function IN on strings in SELECT
-func_extra_initcap=no # Function INITCAP
-func_extra_instr=yes # Function LOCATE as INSTR
-func_extra_instr_oracle=no # Function INSTR (Oracle syntax)
-func_extra_instrb=no # Function INSTRB
-func_extra_interval=no # Function INTERVAL
-func_extra_last_day=no # Function LAST_DAY
-func_extra_last_insert_id=no # Function LAST_INSERT_ID
-func_extra_least=no # Function LEAST
-func_extra_lengthb=no # Function LENGTHB
-func_extra_like=yes # Function LIKE in SELECT
-func_extra_like_escape=no # Function LIKE ESCAPE in SELECT
-func_extra_ln=no # Function LN
-func_extra_log(m_n)=no # Function LOG(m,n)
-func_extra_logn=no # Function LOGN
-func_extra_lpad=no # Function LPAD
-func_extra_mdy=no # Function MDY
-func_extra_mid=yes # Function SUBSTRING as MID
-func_extra_months_between=no # Function MONTHS_BETWEEN
-func_extra_not=yes # Function NOT in SELECT
-func_extra_not_between=yes # Function NOT BETWEEN in SELECT
-func_extra_not_like=yes # Function NOT LIKE in SELECT
-func_extra_odbc_convert=no # Function ODBC CONVERT
-func_extra_password=no # Function PASSWORD
-func_extra_patindex=no # Function PATINDEX
-func_extra_period_add=no # Function PERIOD_ADD
-func_extra_period_diff=no # Function PERIOD_DIFF
-func_extra_pow=no # Function POW
-func_extra_range=no # Function RANGE
-func_extra_regexp=no # Function REGEXP in SELECT
-func_extra_replicate=no # Function REPLICATE
-func_extra_reverse=no # Function REVERSE
-func_extra_root=no # Function ROOT
-func_extra_round1=yes # Function ROUND(1 arg)
-func_extra_rpad=no # Function RPAD
-func_extra_sec_to_time=no # Function SEC_TO_TIME
-func_extra_sinh=no # Function SINH
-func_extra_str=no # Function STR
-func_extra_strcmp=no # Function STRCMP
-func_extra_stuff=no # Function STUFF
-func_extra_substrb=no # Function SUBSTRB
-func_extra_substring_index=no # Function SUBSTRING_INDEX
-func_extra_sysdate=no # Function SYSDATE
-func_extra_tanh=no # Function TANH
-func_extra_time_to_sec=no # Function TIME_TO_SEC
-func_extra_to_days=no # Function TO_DAYS
-func_extra_translate=no # Function TRANSLATE
-func_extra_trim_many_char=no # Function TRIM; Many char extension
-func_extra_trim_substring=no # Function TRIM; Substring extension
-func_extra_trunc=no # Function TRUNC
-func_extra_uid=no # Function UID
-func_extra_unix_timestamp=no # Function UNIX_TIMESTAMP
-func_extra_userenv=no # Function USERENV
-func_extra_version=no # Function VERSION
-func_extra_weekday=error # Function WEEKDAY
-func_extra_|=no # Function | (bitwise or)
-func_extra_||=no # Function OR as '||'
-func_odbc_abs=yes # Function ABS
-func_odbc_acos=no # Function ACOS
-func_odbc_ascii=no # Function ASCII
-func_odbc_asin=no # Function ASIN
-func_odbc_atan=no # Function ATAN
-func_odbc_atan2=no # Function ATAN2
-func_odbc_ceiling=no # Function CEILING
-func_odbc_char=no # Function CHAR
-func_odbc_concat=no # Function CONCAT(2 arg)
-func_odbc_cos=yes # Function COS
-func_odbc_cot=no # Function COT
-func_odbc_curdate=no # Function CURDATE
-func_odbc_curtime=no # Function CURTIME
-func_odbc_database=no # Function DATABASE
-func_odbc_dayname=no # Function DAYNAME
-func_odbc_dayofmonth=no # Function DAYOFMONTH
-func_odbc_dayofweek=no # Function DAYOFWEEK
-func_odbc_dayofyear=no # Function DAYOFYEAR
-func_odbc_degrees=no # Function DEGREES
-func_odbc_difference=no # Function DIFFERENCE()
-func_odbc_exp=yes # Function EXP
-func_odbc_extract=no # Function EXTRACT
-func_odbc_floor=no # Function FLOOR
-func_odbc_fn_left=yes # Function ODBC syntax LEFT & RIGHT
-func_odbc_hour=yes # Function HOUR
-func_odbc_hour_time=no # Function ANSI HOUR
-func_odbc_ifnull=no # Function IFNULL
-func_odbc_insert=no # Function INSERT
-func_odbc_lcase=yes # Function LCASE
-func_odbc_left=yes # Function LEFT
-func_odbc_length=no # Function REAL LENGTH
-func_odbc_length_without_space=no # Function ODBC LENGTH
-func_odbc_locate_2=no # Function LOCATE(2 arg)
-func_odbc_locate_3=no # Function LOCATE(3 arg)
-func_odbc_log=yes # Function LOG
-func_odbc_log10=no # Function LOG10
-func_odbc_ltrim=yes # Function LTRIM
-func_odbc_minute=yes # Function MINUTE
-func_odbc_mod=no # Function MOD
-func_odbc_month=yes # Function MONTH
-func_odbc_monthname=no # Function MONTHNAME
-func_odbc_now=yes # Function NOW
-func_odbc_pi=no # Function PI
-func_odbc_power=no # Function POWER
-func_odbc_quarter=no # Function QUARTER
-func_odbc_radians=no # Function RADIANS
-func_odbc_rand=no # Function RAND
-func_odbc_repeat=no # Function REPEAT
-func_odbc_replace=no # Function REPLACE
-func_odbc_right=yes # Function RIGHT
-func_odbc_round=yes # Function ROUND(2 arg)
-func_odbc_rtrim=yes # Function RTRIM
-func_odbc_second=yes # Function SECOND
-func_odbc_sign=no # Function SIGN
-func_odbc_sin=yes # Function SIN
-func_odbc_soundex=no # Function SOUNDEX
-func_odbc_space=yes # Function SPACE
-func_odbc_sqrt=no # Function SQRT
-func_odbc_substring=no # Function ODBC SUBSTRING
-func_odbc_tan=yes # Function TAN
-func_odbc_timestampadd=no # Function TIMESTAMPADD
-func_odbc_timestampdiff=no # Function TIMESTAMPDIFF
-func_odbc_truncate=no # Function TRUNCATE
-func_odbc_ucase=yes # Function UCASE
-func_odbc_user()=no # Function USER()
-func_odbc_week=no # Function WEEK
-func_odbc_year=yes # Function YEAR
-func_sql_+=yes # Function +, -, * and /
-func_sql_bit_length=no # Function BIT_LENGTH
-func_sql_case=no # Function CASE
-func_sql_cast=no # Function CAST
-func_sql_char_length=no # Function CHAR_LENGTH
-func_sql_char_length(constant)=no # Function CHAR_LENGTH(constant)
-func_sql_character_length=no # Function CHARACTER_LENGTH
-func_sql_concat_as_||=no # Function concatenation with ||
-func_sql_current_date=no # Function CURRENT_DATE
-func_sql_current_time=no # Function CURRENT_TIME
-func_sql_current_timestamp=no # Function CURRENT_TIMESTAMP
-func_sql_current_user=no # Function CURRENT_USER
-func_sql_lower=no # Function LOWER
-func_sql_octet_length=no # Function OCTET_LENGTH
-func_sql_position=no # Function POSITION
-func_sql_session_user=no # Function SESSION_USER
-func_sql_substring=no # Function ANSI SQL SUBSTRING
-func_sql_system_user=no # Function SYSTEM_USER
-func_sql_trim=no # Function TRIM
-func_sql_upper=no # Function UPPER
-func_sql_user=no # Function USER
-func_where_between=yes # Function BETWEEN
-func_where_eq_all=yes # Function = ALL
-func_where_eq_any=yes # Function = ANY
-func_where_eq_some=yes # Function = SOME
-func_where_exists=yes # Function EXISTS
-func_where_in_num=yes # Function IN on numbers
-func_where_like=yes # Function LIKE
-func_where_like_escape=no # Function LIKE ESCAPE
-func_where_match=no # Function MATCH
-func_where_match_unique=no # Function MATCH UNIQUE
-func_where_matches=no # Function MATCHES
-func_where_not_between=yes # Function NOT BETWEEN
-func_where_not_exists=yes # Function NOT EXISTS
-func_where_not_like=yes # Function NOT LIKE
-func_where_not_unique=no # Function NOT UNIQUE
-func_where_unique=no # Function UNIQUE
-functions=yes # Functions
-group_by=yes # Group by
-group_by_alias=no # Group by alias
-group_by_null=yes # group on column with null values
-group_by_position=no # Group by position
-group_distinct_functions=no # Group functions with distinct
-group_func_extra_bit_and=no # Group function BIT_AND
-group_func_extra_bit_or=no # Group function BIT_OR
-group_func_extra_count_distinct_list=no # Group function COUNT(DISTINCT expr,expr,...)
-group_func_extra_std=no # Group function STD
-group_func_extra_stddev=no # Group function STDDEV
-group_func_extra_variance=no # Group function VARIANCE
-group_func_sql_avg=yes # Group function AVG
-group_func_sql_count_*=yes # Group function COUNT (*)
-group_func_sql_count_column=yes # Group function COUNT column name
-group_func_sql_count_distinct=no # Group function COUNT(DISTINCT expr)
-group_func_sql_max=yes # Group function MAX on numbers
-group_func_sql_max_str=yes # Group function MAX on strings
-group_func_sql_min=yes # Group function MIN on numbers
-group_func_sql_min_str=yes # Group function MIN on strings
-group_func_sql_sum=yes # Group function SUM
-group_functions=yes # Group functions
-having=yes # Having
-having_with_alias=no # Having on alias
-having_with_group=yes # Having with group function
-ignore_end_space=yes # ignore end space in compare
-index_in_create=no # index in create table
-index_namespace=yes # different namespace for index
-index_parts=no # index on column part (extension)
-insert_empty_string=yes # insert empty string
-insert_select=no # insert INTO ... SELECT ...
-insert_with_set=no # INSERT with set syntax
-intersect=no # intersect
-intersect_all=no # intersect all
-join_tables=32 # tables in join
-left_outer_join=yes # left outer join
-left_outer_join_using=no # left outer join using
-like_with_column=yes # column LIKE column
-like_with_number=yes # LIKE on numbers
-lock_tables=no # lock table
-logical_value=-1 # Value of logical operation (1=1)
-max_big_expressions=1 # big expressions
-max_char_size=255 # max char() size
-max_column_name=59 # column name length
-max_columns=255 # Columns in table
-max_conditions=97 # OR and AND in WHERE
-max_expressions=+10000 # simple expressions
-max_index=32 # max index
-max_index_length=2026 # index length
-max_index_name=64 # index name length
-max_index_part_length=255 # max index part length
-max_index_parts=10 # index parts
-max_index_varchar_part_length=85 # index varchar part length
-max_row_length=2025 # max table row length (without blobs)
-max_row_length_with_null=2025 # table row length with nulls (without blobs)
-max_select_alias_name=64 # select alias name length
-max_stack_expression=14 # stacked expressions
-max_table_alias_name=253 # table alias name length
-max_table_name=64 # table name length
-max_text_size=17 # max text or blob size
-max_unique_index=32 # unique indexes
-max_varchar_size=85 # max varchar() size
-minus=no # minus
-minus_neg=yes # Calculate 1--1
-multi_drop=yes # many tables to drop table
-multi_strings=no # Multiple line strings
-multi_table_delete=yes # DELETE FROM table1,table2...
-multi_table_update=yes # Update with many tables
+#This file is automaticly generated by crash-me 1.37
+
+NEG=yes # update of column= -column
+alter_add_col=yes # Alter table add column
+alter_add_multi_col=without add # Alter table add many columns
+alter_alter_col=no # Alter table alter column
+alter_change_col=no # Alter table change column
+alter_drop_col=yes # Alter table drop column
+alter_modify_col=no # Alter table modify column
+alter_rename_table=no # Alter table rename table
+atomic_updates=no # atomic updates
+binary_items=yes # binary items (0x41)
+case_insensitive_strings=yes # case insensitive compare
+char_is_space_filled=no # char are space filled
+column_alias=yes # Column alias
+columns_in_group_by=11 # number of columns in group by
+columns_in_order_by=11 # number of columns in order by
+comment_#=no # # as comment
+comment_--=no # -- as comment
+comment_/**/=no # /* */ as comment
+comment_//=no # // as comment
+compute=no # Compute
+connections=64 # Simultaneous connections
+constraint_check=no # CHECK constraint
+constraint_null=yes # NULL constraint (SyBase style)
+crash_me_safe=no # crash me safe
+crash_me_version=1.37 # crash me version
+create_default=no # default value for column
+create_default_func=no # default value function for column
+create_if_not_exists=no # create table if not exists
+create_index=yes # create index
+create_table_select=no # create table from select
+cross_join=no # cross join (same as from a,b)
+date_as_string=error # String functions on date columns
+date_with_YY=yes # Supports YY-MM-DD 2000 compilant dates
+date_zero=no # Supports 0000-00-00 dates
+double_quotes=yes # Double '' as ' in strings
+drop_if_exists=no # drop table if exists
+drop_index=with 'ON' # drop index
+end_colon=yes # allows end ';'
+except=no # except
+except_all=no # except all
+float_int_expr=yes # mixing of integer and float in expression
+foreign_key_syntax=no # foreign key syntax
+full_outer_join=no # full outer join
+func_extra_!=no # Function NOT as '!' in SELECT
+func_extra_%=no # Function MOD as %
+func_extra_&=error # Function & (bitwise and)
+func_extra_&&=no # Function AND as '&&'
+func_extra_<>=yes # Function <> in SELECT
+func_extra_==yes # Function =
+func_extra_add_months=no # Function ADD_MONTHS
+func_extra_and_or=yes # Function AND and OR in SELECT
+func_extra_atn2=no # Function ATN2
+func_extra_auto_num2string=no # Function automatic num->string convert
+func_extra_auto_string2num=yes # Function automatic string->num convert
+func_extra_between=yes # Function BETWEEN in SELECT
+func_extra_binary_shifts=no # Function << and >> (bitwise shifts)
+func_extra_bit_count=no # Function BIT_COUNT
+func_extra_ceil=no # Function CEIL
+func_extra_charindex=no # Function CHARINDEX
+func_extra_chr=yes # Function CHR
+func_extra_coalesce=no # Function COALESCE
+func_extra_concat_as_+=yes # Function concatenation with +
+func_extra_concat_list=no # Function CONCAT(list)
+func_extra_convert=no # Function CONVERT
+func_extra_cosh=no # Function COSH
+func_extra_date_format=no # Function DATE_FORMAT
+func_extra_dateadd=no # Function DATEADD
+func_extra_datediff=no # Function DATEDIFF
+func_extra_datename=no # Function DATENAME
+func_extra_datepart=no # Function DATEPART
+func_extra_elt=no # Function ELT
+func_extra_encrypt=no # Function ENCRYPT
+func_extra_field=no # Function FIELD
+func_extra_format=error # Function FORMAT
+func_extra_from_days=no # Function FROM_DAYS
+func_extra_from_unixtime=no # Function FROM_UNIXTIME
+func_extra_getdate=no # Function GETDATE
+func_extra_greatest=no # Function GREATEST
+func_extra_if=no # Function IF
+func_extra_in_num=yes # Function IN on numbers in SELECT
+func_extra_in_str=yes # Function IN on strings in SELECT
+func_extra_initcap=no # Function INITCAP
+func_extra_instr=yes # Function LOCATE as INSTR
+func_extra_instr_oracle=no # Function INSTR (Oracle syntax)
+func_extra_instrb=no # Function INSTRB
+func_extra_interval=no # Function INTERVAL
+func_extra_last_day=no # Function LAST_DAY
+func_extra_last_insert_id=no # Function LAST_INSERT_ID
+func_extra_least=no # Function LEAST
+func_extra_lengthb=no # Function LENGTHB
+func_extra_like=yes # Function LIKE in SELECT
+func_extra_like_escape=no # Function LIKE ESCAPE in SELECT
+func_extra_ln=no # Function LN
+func_extra_log(m_n)=no # Function LOG(m,n)
+func_extra_logn=no # Function LOGN
+func_extra_lpad=no # Function LPAD
+func_extra_mdy=no # Function MDY
+func_extra_mid=yes # Function SUBSTRING as MID
+func_extra_months_between=no # Function MONTHS_BETWEEN
+func_extra_not=yes # Function NOT in SELECT
+func_extra_not_between=yes # Function NOT BETWEEN in SELECT
+func_extra_not_like=yes # Function NOT LIKE in SELECT
+func_extra_odbc_convert=no # Function ODBC CONVERT
+func_extra_password=no # Function PASSWORD
+func_extra_patindex=no # Function PATINDEX
+func_extra_period_add=no # Function PERIOD_ADD
+func_extra_period_diff=no # Function PERIOD_DIFF
+func_extra_pow=no # Function POW
+func_extra_range=no # Function RANGE
+func_extra_regexp=no # Function REGEXP in SELECT
+func_extra_replicate=no # Function REPLICATE
+func_extra_reverse=no # Function REVERSE
+func_extra_root=no # Function ROOT
+func_extra_round1=yes # Function ROUND(1 arg)
+func_extra_rpad=no # Function RPAD
+func_extra_sec_to_time=no # Function SEC_TO_TIME
+func_extra_sinh=no # Function SINH
+func_extra_str=no # Function STR
+func_extra_strcmp=no # Function STRCMP
+func_extra_stuff=no # Function STUFF
+func_extra_substrb=no # Function SUBSTRB
+func_extra_substring_index=no # Function SUBSTRING_INDEX
+func_extra_sysdate=no # Function SYSDATE
+func_extra_tanh=no # Function TANH
+func_extra_time_to_sec=no # Function TIME_TO_SEC
+func_extra_to_days=no # Function TO_DAYS
+func_extra_translate=no # Function TRANSLATE
+func_extra_trim_many_char=no # Function TRIM; Many char extension
+func_extra_trim_substring=no # Function TRIM; Substring extension
+func_extra_trunc=no # Function TRUNC
+func_extra_uid=no # Function UID
+func_extra_unix_timestamp=no # Function UNIX_TIMESTAMP
+func_extra_userenv=no # Function USERENV
+func_extra_version=no # Function VERSION
+func_extra_weekday=error # Function WEEKDAY
+func_extra_|=no # Function | (bitwise or)
+func_extra_||=no # Function OR as '||'
+func_odbc_abs=yes # Function ABS
+func_odbc_acos=no # Function ACOS
+func_odbc_ascii=no # Function ASCII
+func_odbc_asin=no # Function ASIN
+func_odbc_atan=no # Function ATAN
+func_odbc_atan2=no # Function ATAN2
+func_odbc_ceiling=no # Function CEILING
+func_odbc_char=no # Function CHAR
+func_odbc_concat=no # Function CONCAT(2 arg)
+func_odbc_cos=yes # Function COS
+func_odbc_cot=no # Function COT
+func_odbc_curdate=no # Function CURDATE
+func_odbc_curtime=no # Function CURTIME
+func_odbc_database=no # Function DATABASE
+func_odbc_dayname=no # Function DAYNAME
+func_odbc_dayofmonth=no # Function DAYOFMONTH
+func_odbc_dayofweek=no # Function DAYOFWEEK
+func_odbc_dayofyear=no # Function DAYOFYEAR
+func_odbc_degrees=no # Function DEGREES
+func_odbc_difference=no # Function DIFFERENCE()
+func_odbc_exp=yes # Function EXP
+func_odbc_extract=no # Function EXTRACT
+func_odbc_floor=no # Function FLOOR
+func_odbc_fn_left=yes # Function ODBC syntax LEFT & RIGHT
+func_odbc_hour=yes # Function HOUR
+func_odbc_hour_time=no # Function ANSI HOUR
+func_odbc_ifnull=no # Function IFNULL
+func_odbc_insert=no # Function INSERT
+func_odbc_lcase=yes # Function LCASE
+func_odbc_left=yes # Function LEFT
+func_odbc_length=no # Function REAL LENGTH
+func_odbc_length_without_space=no # Function ODBC LENGTH
+func_odbc_locate_2=no # Function LOCATE(2 arg)
+func_odbc_locate_3=no # Function LOCATE(3 arg)
+func_odbc_log=yes # Function LOG
+func_odbc_log10=no # Function LOG10
+func_odbc_ltrim=yes # Function LTRIM
+func_odbc_minute=yes # Function MINUTE
+func_odbc_mod=no # Function MOD
+func_odbc_month=yes # Function MONTH
+func_odbc_monthname=no # Function MONTHNAME
+func_odbc_now=yes # Function NOW
+func_odbc_pi=no # Function PI
+func_odbc_power=no # Function POWER
+func_odbc_quarter=no # Function QUARTER
+func_odbc_radians=no # Function RADIANS
+func_odbc_rand=no # Function RAND
+func_odbc_repeat=no # Function REPEAT
+func_odbc_replace=no # Function REPLACE
+func_odbc_right=yes # Function RIGHT
+func_odbc_round=yes # Function ROUND(2 arg)
+func_odbc_rtrim=yes # Function RTRIM
+func_odbc_second=yes # Function SECOND
+func_odbc_sign=no # Function SIGN
+func_odbc_sin=yes # Function SIN
+func_odbc_soundex=no # Function SOUNDEX
+func_odbc_space=yes # Function SPACE
+func_odbc_sqrt=no # Function SQRT
+func_odbc_substring=no # Function ODBC SUBSTRING
+func_odbc_tan=yes # Function TAN
+func_odbc_timestampadd=no # Function TIMESTAMPADD
+func_odbc_timestampdiff=no # Function TIMESTAMPDIFF
+func_odbc_truncate=no # Function TRUNCATE
+func_odbc_ucase=yes # Function UCASE
+func_odbc_user()=no # Function USER()
+func_odbc_week=no # Function WEEK
+func_odbc_year=yes # Function YEAR
+func_sql_+=yes # Function +, -, * and /
+func_sql_bit_length=no # Function BIT_LENGTH
+func_sql_case=no # Function CASE
+func_sql_cast=no # Function CAST
+func_sql_char_length=no # Function CHAR_LENGTH
+func_sql_char_length(constant)=no # Function CHAR_LENGTH(constant)
+func_sql_character_length=no # Function CHARACTER_LENGTH
+func_sql_concat_as_||=no # Function concatenation with ||
+func_sql_current_date=no # Function CURRENT_DATE
+func_sql_current_time=no # Function CURRENT_TIME
+func_sql_current_timestamp=no # Function CURRENT_TIMESTAMP
+func_sql_current_user=no # Function CURRENT_USER
+func_sql_lower=no # Function LOWER
+func_sql_octet_length=no # Function OCTET_LENGTH
+func_sql_position=no # Function POSITION
+func_sql_session_user=no # Function SESSION_USER
+func_sql_substring=no # Function ANSI SQL SUBSTRING
+func_sql_system_user=no # Function SYSTEM_USER
+func_sql_trim=no # Function TRIM
+func_sql_upper=no # Function UPPER
+func_sql_user=no # Function USER
+func_where_between=yes # Function BETWEEN
+func_where_eq_all=yes # Function = ALL
+func_where_eq_any=yes # Function = ANY
+func_where_eq_some=yes # Function = SOME
+func_where_exists=yes # Function EXISTS
+func_where_in_num=yes # Function IN on numbers
+func_where_like=yes # Function LIKE
+func_where_like_escape=no # Function LIKE ESCAPE
+func_where_match=no # Function MATCH
+func_where_match_unique=no # Function MATCH UNIQUE
+func_where_matches=no # Function MATCHES
+func_where_not_between=yes # Function NOT BETWEEN
+func_where_not_exists=yes # Function NOT EXISTS
+func_where_not_like=yes # Function NOT LIKE
+func_where_not_unique=no # Function NOT UNIQUE
+func_where_unique=no # Function UNIQUE
+functions=yes # Functions
+group_by=yes # Group by
+group_by_alias=no # Group by alias
+group_by_null=yes # group on column with null values
+group_by_position=no # Group by position
+group_distinct_functions=no # Group functions with distinct
+group_func_extra_bit_and=no # Group function BIT_AND
+group_func_extra_bit_or=no # Group function BIT_OR
+group_func_extra_count_distinct_list=no # Group function COUNT(DISTINCT expr,expr,...)
+group_func_extra_std=no # Group function STD
+group_func_extra_stddev=no # Group function STDDEV
+group_func_extra_variance=no # Group function VARIANCE
+group_func_sql_avg=yes # Group function AVG
+group_func_sql_count_*=yes # Group function COUNT (*)
+group_func_sql_count_column=yes # Group function COUNT column name
+group_func_sql_count_distinct=no # Group function COUNT(DISTINCT expr)
+group_func_sql_max=yes # Group function MAX on numbers
+group_func_sql_max_str=yes # Group function MAX on strings
+group_func_sql_min=yes # Group function MIN on numbers
+group_func_sql_min_str=yes # Group function MIN on strings
+group_func_sql_sum=yes # Group function SUM
+group_functions=yes # Group functions
+having=yes # Having
+having_with_alias=no # Having on alias
+having_with_group=yes # Having with group function
+ignore_end_space=yes # ignore end space in compare
+index_in_create=no # index in create table
+index_namespace=yes # different namespace for index
+index_parts=no # index on column part (extension)
+insert_empty_string=yes # insert empty string
+insert_select=no # insert INTO ... SELECT ...
+insert_with_set=no # INSERT with set syntax
+intersect=no # intersect
+intersect_all=no # intersect all
+join_tables=32 # tables in join
+left_outer_join=yes # left outer join
+left_outer_join_using=no # left outer join using
+like_with_column=yes # column LIKE column
+like_with_number=yes # LIKE on numbers
+lock_tables=no # lock table
+logical_value=-1 # Value of logical operation (1=1)
+max_big_expressions=1 # big expressions
+max_char_size=255 # max char() size
+max_column_name=59 # column name length
+max_columns=255 # Columns in table
+max_conditions=97 # OR and AND in WHERE
+max_expressions=+10000 # simple expressions
+max_index=32 # max index
+max_index_length=2026 # index length
+max_index_name=64 # index name length
+max_index_part_length=255 # max index part length
+max_index_parts=10 # index parts
+max_index_varchar_part_length=85 # index varchar part length
+max_row_length=2025 # max table row length (without blobs)
+max_row_length_with_null=2025 # table row length with nulls (without blobs)
+max_select_alias_name=64 # select alias name length
+max_stack_expression=14 # stacked expressions
+max_table_alias_name=253 # table alias name length
+max_table_name=64 # table name length
+max_text_size=17 # max text or blob size
+max_unique_index=32 # unique indexes
+max_varchar_size=85 # max varchar() size
+minus=no # minus
+minus_neg=yes # Calculate 1--1
+multi_drop=yes # many tables to drop table
+multi_strings=no # Multiple line strings
+multi_table_delete=yes # DELETE FROM table1,table2...
+multi_table_update=yes # Update with many tables
insert_multi_value=no # Value lists in INSERT
-natural_join=no # natural join
-natural_left_outer_join=no # natural left outer join
-no_primary_key=yes # Tables without primary key
-null_in_index=yes # null in index
-null_in_unique=yes # null in unique
-odbc_left_outer_join=yes # left outer join odbc style
-operating_system=Windows 98 [Version 4.10.1998] # crash-me tested on
-order_by=yes # Order by
-order_by_alias=no # Order by alias
-order_by_function=yes # Order by function
-order_by_position=yes # Order by position
-order_by_remember_desc=no # Order by DESC is remembered
-primary_key_in_create=yes # primary key in create table
-query_size=16777216 # query size
-quote_ident_with_"=yes # " as identifier quote (ANSI SQL)
-quote_ident_with_[=yes # [] as identifier quote
-quote_ident_with_`=yes # ` as identifier quote
-quote_with_"=no # Allows ' and " as string markers
-recursive_subqueries=49 # recursive subqueries
-remember_end_space=no # Remembers end space in char()
-remember_end_space_varchar=yes # Remembers end space in varchar()
-right_outer_join=yes # right outer join
-rowid=no # Type for row id
-select_constants=yes # Select constants
-select_limit=no # SELECT with LIMIT
-select_limit2=no # SELECT with LIMIT #,#
-select_string_size=516076 # constant string size in SELECT
-select_table_update=no # Update with sub select
-select_without_from=yes # SELECT without FROM
-server_version=Access 2000 # server version
-simple_joins=yes # ANSI SQL simple joins
-subqueries=yes # subqueries
-table_alias=yes # Table alias
-table_name_case=yes # case independent table names
-table_wildcard=yes # Select table_name.*
-tempoary_table=no # temporary tables
-transactions=yes # transactions
-type_extra_abstime=no # Type abstime
-type_extra_bfile=no # Type bfile
-type_extra_blob=no # Type blob
-type_extra_bool=no # Type bool
-type_extra_box=no # Type box
-type_extra_byte=yes # Type byte
-type_extra_char(1_arg)_binary=no # Type char(1 arg) binary
-type_extra_circle=no # Type circle
-type_extra_clob=no # Type clob
-type_extra_datetime=yes # Type datetime
-type_extra_double=yes # Type double
-type_extra_enum(1_arg)=no # Type enum(1 arg)
-type_extra_float(2_arg)=no # Type float(2 arg)
-type_extra_float4=yes # Type float4
-type_extra_float8=yes # Type float8
-type_extra_image=yes # Type image
-type_extra_int(1_arg)_zerofill=no # Type int(1 arg) zerofill
-type_extra_int1=no # Type int1
-type_extra_int2=no # Type int2
-type_extra_int3=no # Type int3
-type_extra_int4=no # Type int4
-type_extra_int8=no # Type int8
-type_extra_int_auto_increment=no # Type int not null auto_increment
-type_extra_int_unsigned=no # Type int unsigned
-type_extra_interval=no # Type interval
-type_extra_line=no # Type line
-type_extra_long=yes # Type long
-type_extra_long_raw=no # Type long raw
-type_extra_long_varbinary=no # Type long varbinary
-type_extra_long_varchar(1_arg)=no # Type long varchar(1 arg)
-type_extra_lseg=no # Type lseg
-type_extra_mediumint=no # Type mediumint
-type_extra_mediumtext=no # Type mediumtext
-type_extra_middleint=no # Type middleint
-type_extra_mlslabel=no # Type mlslabel
-type_extra_money=yes # Type money
-type_extra_nclob=no # Type nclob
-type_extra_number=yes # Type number
-type_extra_number(1_arg)=no # Type number(1 arg)
-type_extra_number(2_arg)=no # Type number(2 arg)
-type_extra_nvarchar2(1_arg)=no # Type nvarchar2(1 arg)
-type_extra_path=no # Type path
-type_extra_point=no # Type point
-type_extra_polygon=no # Type polygon
-type_extra_raw(1_arg)=no # Type raw(1 arg)
-type_extra_reltime=no # Type reltime
-type_extra_rowid=no # Type rowid
-type_extra_serial=no # Type serial
-type_extra_set(1_arg)=no # Type set(1 arg)
-type_extra_smalldatetime=no # Type smalldatetime
-type_extra_smallfloat=no # Type smallfloat
-type_extra_smallmoney=no # Type smallmoney
-type_extra_text=yes # Type text
-type_extra_text(1_arg)=yes # Type text(1 arg)
-type_extra_timespan=no # Type timespan
-type_extra_uint=no # Type uint
-type_extra_varchar2(1_arg)=no # Type varchar2(1 arg)
-type_extra_year=no # Type year
-type_odbc_bigint=no # Type bigint
-type_odbc_binary(1_arg)=yes # Type binary(1 arg)
-type_odbc_datetime=yes # Type datetime
-type_odbc_tinyint=no # Type tinyint
-type_odbc_varbinary(1_arg)=yes # Type varbinary(1 arg)
-type_sql_bit=yes # Type bit
-type_sql_bit(1_arg)=no # Type bit(1 arg)
-type_sql_bit_varying(1_arg)=no # Type bit varying(1 arg)
-type_sql_char(1_arg)=yes # Type char(1 arg)
-type_sql_char_varying(1_arg)=no # Type char varying(1 arg)
-type_sql_character(1_arg)=no # Type character(1 arg)
-type_sql_character_varying(1_arg)=no # Type character varying(1 arg)
-type_sql_date=yes # Type date
-type_sql_dec(2_arg)=no # Type dec(2 arg)
-type_sql_decimal(2_arg)=no # Type decimal(2 arg)
-type_sql_double_precision=no # Type double precision
-type_sql_float=yes # Type float
-type_sql_float(1_arg)=no # Type float(1 arg)
-type_sql_int=yes # Type int
-type_sql_integer=yes # Type integer
-type_sql_interval_day_to_second=no # Type interval day to second
-type_sql_interval_year=no # Type interval year
-type_sql_interval_year_to_month=no # Type interval year to month
-type_sql_national_char_varying(1_arg)=no # Type national char varying(1 arg)
-type_sql_national_character(1_arg)=no # Type national character(1 arg)
-type_sql_national_character_varying(1_arg)=no # Type national character varying(1 arg)
-type_sql_nchar(1_arg)=no # Type nchar(1 arg)
-type_sql_nchar_varying(1_arg)=no # Type nchar varying(1 arg)
-type_sql_numeric(2_arg)=no # Type numeric(2 arg)
-type_sql_real=yes # Type real
-type_sql_smallint=yes # Type smallint
-type_sql_time=yes # Type time
-type_sql_timestamp=yes # Type timestamp
-type_sql_timestamp_with_time_zone=no # Type timestamp with time zone
-type_sql_varchar(1_arg)=yes # Type varchar(1 arg)
-union=yes # union
-union_all=yes # union all
-unique_in_create=yes # unique in create table
-unique_null_in_create=yes # unique null in create
-views=no # views
-where_string_size=258035 # constant string size in where
+natural_join=no # natural join
+natural_left_outer_join=no # natural left outer join
+no_primary_key=yes # Tables without primary key
+null_in_index=yes # null in index
+null_in_unique=yes # null in unique
+odbc_left_outer_join=yes # left outer join odbc style
+operating_system=Windows 98 [Version 4.10.1998] # crash-me tested on
+order_by=yes # Order by
+order_by_alias=no # Order by alias
+order_by_function=yes # Order by function
+order_by_position=yes # Order by position
+order_by_remember_desc=no # Order by DESC is remembered
+primary_key_in_create=yes # primary key in create table
+query_size=16777216 # query size
+quote_ident_with_"=yes # " as identifier quote (ANSI SQL)
+quote_ident_with_[=yes # [] as identifier quote
+quote_ident_with_`=yes # ` as identifier quote
+quote_with_"=no # Allows ' and " as string markers
+recursive_subqueries=49 # recursive subqueries
+remember_end_space=no # Remembers end space in char()
+remember_end_space_varchar=yes # Remembers end space in varchar()
+right_outer_join=yes # right outer join
+rowid=no # Type for row id
+select_constants=yes # Select constants
+select_limit=no # SELECT with LIMIT
+select_limit2=no # SELECT with LIMIT #,#
+select_string_size=516076 # constant string size in SELECT
+select_table_update=no # Update with sub select
+select_without_from=yes # SELECT without FROM
+server_version=Access 2000 # server version
+simple_joins=yes # ANSI SQL simple joins
+subqueries=yes # subqueries
+table_alias=yes # Table alias
+table_name_case=yes # case independent table names
+table_wildcard=yes # Select table_name.*
+tempoary_table=no # temporary tables
+transactions=yes # transactions
+type_extra_abstime=no # Type abstime
+type_extra_bfile=no # Type bfile
+type_extra_blob=no # Type blob
+type_extra_bool=no # Type bool
+type_extra_box=no # Type box
+type_extra_byte=yes # Type byte
+type_extra_char(1_arg)_binary=no # Type char(1 arg) binary
+type_extra_circle=no # Type circle
+type_extra_clob=no # Type clob
+type_extra_datetime=yes # Type datetime
+type_extra_double=yes # Type double
+type_extra_enum(1_arg)=no # Type enum(1 arg)
+type_extra_float(2_arg)=no # Type float(2 arg)
+type_extra_float4=yes # Type float4
+type_extra_float8=yes # Type float8
+type_extra_image=yes # Type image
+type_extra_int(1_arg)_zerofill=no # Type int(1 arg) zerofill
+type_extra_int1=no # Type int1
+type_extra_int2=no # Type int2
+type_extra_int3=no # Type int3
+type_extra_int4=no # Type int4
+type_extra_int8=no # Type int8
+type_extra_int_auto_increment=no # Type int not null auto_increment
+type_extra_int_unsigned=no # Type int unsigned
+type_extra_interval=no # Type interval
+type_extra_line=no # Type line
+type_extra_long=yes # Type long
+type_extra_long_raw=no # Type long raw
+type_extra_long_varbinary=no # Type long varbinary
+type_extra_long_varchar(1_arg)=no # Type long varchar(1 arg)
+type_extra_lseg=no # Type lseg
+type_extra_mediumint=no # Type mediumint
+type_extra_mediumtext=no # Type mediumtext
+type_extra_middleint=no # Type middleint
+type_extra_mlslabel=no # Type mlslabel
+type_extra_money=yes # Type money
+type_extra_nclob=no # Type nclob
+type_extra_number=yes # Type number
+type_extra_number(1_arg)=no # Type number(1 arg)
+type_extra_number(2_arg)=no # Type number(2 arg)
+type_extra_nvarchar2(1_arg)=no # Type nvarchar2(1 arg)
+type_extra_path=no # Type path
+type_extra_point=no # Type point
+type_extra_polygon=no # Type polygon
+type_extra_raw(1_arg)=no # Type raw(1 arg)
+type_extra_reltime=no # Type reltime
+type_extra_rowid=no # Type rowid
+type_extra_serial=no # Type serial
+type_extra_set(1_arg)=no # Type set(1 arg)
+type_extra_smalldatetime=no # Type smalldatetime
+type_extra_smallfloat=no # Type smallfloat
+type_extra_smallmoney=no # Type smallmoney
+type_extra_text=yes # Type text
+type_extra_text(1_arg)=yes # Type text(1 arg)
+type_extra_timespan=no # Type timespan
+type_extra_uint=no # Type uint
+type_extra_varchar2(1_arg)=no # Type varchar2(1 arg)
+type_extra_year=no # Type year
+type_odbc_bigint=no # Type bigint
+type_odbc_binary(1_arg)=yes # Type binary(1 arg)
+type_odbc_datetime=yes # Type datetime
+type_odbc_tinyint=no # Type tinyint
+type_odbc_varbinary(1_arg)=yes # Type varbinary(1 arg)
+type_sql_bit=yes # Type bit
+type_sql_bit(1_arg)=no # Type bit(1 arg)
+type_sql_bit_varying(1_arg)=no # Type bit varying(1 arg)
+type_sql_char(1_arg)=yes # Type char(1 arg)
+type_sql_char_varying(1_arg)=no # Type char varying(1 arg)
+type_sql_character(1_arg)=no # Type character(1 arg)
+type_sql_character_varying(1_arg)=no # Type character varying(1 arg)
+type_sql_date=yes # Type date
+type_sql_dec(2_arg)=no # Type dec(2 arg)
+type_sql_decimal(2_arg)=no # Type decimal(2 arg)
+type_sql_double_precision=no # Type double precision
+type_sql_float=yes # Type float
+type_sql_float(1_arg)=no # Type float(1 arg)
+type_sql_int=yes # Type int
+type_sql_integer=yes # Type integer
+type_sql_interval_day_to_second=no # Type interval day to second
+type_sql_interval_year=no # Type interval year
+type_sql_interval_year_to_month=no # Type interval year to month
+type_sql_national_char_varying(1_arg)=no # Type national char varying(1 arg)
+type_sql_national_character(1_arg)=no # Type national character(1 arg)
+type_sql_national_character_varying(1_arg)=no # Type national character varying(1 arg)
+type_sql_nchar(1_arg)=no # Type nchar(1 arg)
+type_sql_nchar_varying(1_arg)=no # Type nchar varying(1 arg)
+type_sql_numeric(2_arg)=no # Type numeric(2 arg)
+type_sql_real=yes # Type real
+type_sql_smallint=yes # Type smallint
+type_sql_time=yes # Type time
+type_sql_timestamp=yes # Type timestamp
+type_sql_timestamp_with_time_zone=no # Type timestamp with time zone
+type_sql_varchar(1_arg)=yes # Type varchar(1 arg)
+union=yes # union
+union_all=yes # union all
+unique_in_create=yes # unique in create table
+unique_null_in_create=yes # unique null in create
+views=no # views
+where_string_size=258035 # constant string size in where
diff --git a/sql-common/client.c b/sql-common/client.c
index fa2d9acfd03..a1ea9ed44e5 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -1426,7 +1426,7 @@ void mysql_read_default_options(struct st_mysql_options *options,
options->secure_auth= TRUE;
break;
case OPT_report_data_truncation:
- options->report_data_truncation= opt_arg ? test(atoi(opt_arg)) : 1;
+ options->report_data_truncation= opt_arg ? MY_TEST(atoi(opt_arg)) : 1;
break;
case OPT_plugin_dir:
{
@@ -4392,7 +4392,7 @@ mysql_options(MYSQL *mysql,enum mysql_option option, const void *arg)
mysql->options.protocol=MYSQL_PROTOCOL_PIPE; /* Force named pipe */
break;
case MYSQL_OPT_LOCAL_INFILE: /* Allow LOAD DATA LOCAL ?*/
- if (!arg || test(*(uint*) arg))
+ if (!arg || MY_TEST(*(uint*) arg))
mysql->options.client_flag|= CLIENT_LOCAL_FILES;
else
mysql->options.client_flag&= ~CLIENT_LOCAL_FILES;
@@ -4439,7 +4439,7 @@ mysql_options(MYSQL *mysql,enum mysql_option option, const void *arg)
mysql->options.secure_auth= *(my_bool *) arg;
break;
case MYSQL_REPORT_DATA_TRUNCATION:
- mysql->options.report_data_truncation= test(*(my_bool *) arg);
+ mysql->options.report_data_truncation= MY_TEST(*(my_bool*) arg);
break;
case MYSQL_OPT_RECONNECT:
mysql->reconnect= *(my_bool *) arg;
diff --git a/sql-common/my_time.c b/sql-common/my_time.c
index 429506f4034..0942544d0be 100644
--- a/sql-common/my_time.c
+++ b/sql-common/my_time.c
@@ -81,6 +81,8 @@ uint calc_days_in_year(uint year)
my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date,
ulonglong flags, int *was_cut)
{
+ if (ltime->time_type == MYSQL_TIMESTAMP_TIME)
+ return FALSE;
if (not_zero_date)
{
if (((flags & TIME_NO_ZERO_IN_DATE) &&
@@ -917,7 +919,8 @@ my_system_gmt_sec(const MYSQL_TIME *t_src, long *my_timezone, uint *error_code)
#endif
tmp= (time_t) (((calc_daynr((uint) t->year, (uint) t->month, (uint) t->day) -
- (long) days_at_timestart)*86400L + (long) t->hour*3600L +
+ (long) days_at_timestart) * SECONDS_IN_24H +
+ (long) t->hour*3600L +
(long) (t->minute*60 + t->second)) + (time_t) my_time_zone -
3600);
@@ -976,7 +979,7 @@ my_system_gmt_sec(const MYSQL_TIME *t_src, long *my_timezone, uint *error_code)
/* shift back, if we were dealing with boundary dates */
- tmp+= shift*86400L;
+ tmp+= shift * SECONDS_IN_24H;
/*
This is possible for dates, which slightly exceed boundaries.
diff --git a/sql-common/mysql_async.c b/sql-common/mysql_async.c
index 8f3a91e26fa..ef01f292180 100644
--- a/sql-common/mysql_async.c
+++ b/sql-common/mysql_async.c
@@ -121,6 +121,12 @@ my_connect_async(struct mysql_async_context *b, my_socket fd,
IF_WIN(WSAGetLastError() != WSAEWOULDBLOCK, \
(errno != EAGAIN && errno != EINTR))
+#ifdef _AIX
+#ifndef MSG_DONTWAIT
+#define MSG_DONTWAIT 0
+#endif
+#endif
+
ssize_t
my_recv_async(struct mysql_async_context *b, int fd,
unsigned char *buf, size_t size, int timeout)
diff --git a/sql-common/pack.c b/sql-common/pack.c
index f0932e49617..4bb4a0b7a4e 100644
--- a/sql-common/pack.c
+++ b/sql-common/pack.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2003 MySQL AB
+/* Copyright (c) 2000-2003, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 50da88c81b7..ad4b12813d3 100644
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2011, Oracle and/or its affiliates.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,8 +16,7 @@
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/sql
-${CMAKE_BINARY_DIR}/pcre
-${CMAKE_SOURCE_DIR}/pcre
+${PCRE_INCLUDES}
${ZLIB_INCLUDE_DIR}
${SSL_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}/sql
diff --git a/sql/authors.h b/sql/authors.h
index 406715ab074..cc9889bcdbc 100644
--- a/sql/authors.h
+++ b/sql/authors.h
@@ -35,6 +35,8 @@ struct show_table_authors_st {
then, not active last.
Names should be encoded using UTF-8.
+
+ See also https://mariadb.com/kb/en/log-of-mariadb-contributions/
*/
struct show_table_authors_st show_table_authors[]= {
@@ -63,7 +65,14 @@ struct show_table_authors_st show_table_authors[]= {
{ "Georg Richter", "Heidelberg, Germany", "New LGPL C connector, PHP connector"},
{ "Jan Lindström", "Ylämylly, Finland", "Working on InnoDB"},
{ "Lixun Peng", "Hangzhou, China", "Multi Source replication" },
+ { "Olivier Bertrand", "Paris, France", "CONNECT storage engine"},
+ { "Kentoku Shiba", "Tokyo, Japan", "Spider storage engine, metadata_lock_info Information schema"},
{ "Percona", "CA, USA", "XtraDB, microslow patches, extensions to slow log"},
+ { "Vicentiu Ciorbaru", "Bucharest, Romania", "Roles"},
+ { "Sudheera Palihakkara", "", "PCRE Regular Expressions" },
+ { "Pavel Ivanov", "USA", "Some patches and bug fixes"},
+ { "Konstantin Osipov", "Moscow, Russia",
+ "Prepared statements (4.1), Cursors (5.0), GET_LOCK (10.0)" },
/* People working on MySQL code base (not NDB) */
{ "Guilhem Bichot", "Bordeaux, France", "Replication (since 4.0)" },
@@ -82,8 +91,6 @@ struct show_table_authors_st show_table_authors[]= {
"MySQL founder; Small stuff long time ago, Monty ripped it out!" },
{ "Brian (Krow) Aker", "Seattle, WA, USA",
"Architecture, archive, blackhole, federated, bunch of little stuff :)" },
- { "Konstantin Osipov", "Moscow, Russia",
- "Prepared statements (4.1), Cursors (5.0)" },
{ "Venu Anuganti", "", "Client/server protocol (4.1)" },
{ "Omer BarNir", "Sunnyvale, CA, USA",
"Testing (sometimes) and general QA stuff" },
diff --git a/sql/contributors.h b/sql/contributors.h
index 1859c5d48c5..2479f611727 100644
--- a/sql/contributors.h
+++ b/sql/contributors.h
@@ -31,19 +31,29 @@ struct show_table_contributors_st {
Get permission before editing.
Names should be encoded using UTF-8.
+
+ See also https://mariadb.com/kb/en/log-of-mariadb-contributions/
*/
struct show_table_contributors_st show_table_contributors[]= {
- /* MariaDB foundation members, in contribution size order */
+ /* MariaDB foundation members, in contribution, size , time order */
{"Booking.com", "http://www.booking.com", "Founding member of the MariaDB foundation"},
{"SkySQL Ab", "http://www.skysql.com", "Founding member of the MariaDB foundation"},
+ {"Auttomatic", "http://automattic.com", "Member of the MariaDB foundation"},
{"Parallels", "http://www.parallels.com/products/plesk", "Founding member of the MariaDB foundation"},
/* Smaller sponsors, newer per year */
+ {"Verkkokauppa.com", "Finland", "Sponsor of the MariaDB foundation"},
+ {"Webyog", "Bangalor", "Sponsor of the MariaDB foundation"},
+ {"Percona", "USA", "Sponsor of the MariaDB foundation"},
{"Jelastic.com", "Russia", "Sponsor of the MariaDB foundation"},
{"Planetta.net", "Finland", "Sponsor of the MariaDB foundation"},
{"Open query", "Australia", "Sponsor of the MariaDB foundation"},
+ /* Sponsors of important features */
+ {"Google", "USA", "Sponsoring parallel replication and GTID" },
+ {"Facebook", "USA", "Sponsoring non-blocking API, LIMIT ROWS EXAMINED etc"},
+
/* Individual contributors, names in historical order, newer first */
{"Ronald Bradford", "Brisbane, Australia", "EFF contribution for UC2006 Auction"},
{"Sheeri Kritzer", "Boston, Mass. USA", "EFF contribution for UC2006 Auction"},
diff --git a/sql/create_options.cc b/sql/create_options.cc
index d9b1d31fd62..d60639a4f4a 100644
--- a/sql/create_options.cc
+++ b/sql/create_options.cc
@@ -395,6 +395,7 @@ static bool resolve_sysvars(handlerton *hton, ha_create_table_option *rules)
char buf[256];
String str(buf, sizeof(buf), system_charset_info);
+ str.length(0);
for (const char **s= optp.typelib->type_names; *s; s++)
{
if (str.append(*s) || str.append(','))
diff --git a/sql/custom_conf.h b/sql/custom_conf.h
index afef0219857..62fdb619c27 100644
--- a/sql/custom_conf.h
+++ b/sql/custom_conf.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/event_db_repository.cc b/sql/event_db_repository.cc
index 34658ab51ac..b20269b8304 100644
--- a/sql/event_db_repository.cc
+++ b/sql/event_db_repository.cc
@@ -474,7 +474,7 @@ Event_db_repository::index_read_for_db_for_i_s(THD *thd, TABLE *schema_table,
end:
event_table->file->ha_index_end();
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
@@ -746,7 +746,7 @@ end:
thd->mdl_context.rollback_to_savepoint(mdl_savepoint);
thd->variables.sql_mode= saved_mode;
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
@@ -861,7 +861,7 @@ end:
thd->mdl_context.rollback_to_savepoint(mdl_savepoint);
thd->variables.sql_mode= saved_mode;
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
@@ -921,7 +921,7 @@ end:
close_thread_tables(thd);
thd->mdl_context.rollback_to_savepoint(mdl_savepoint);
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
@@ -1159,7 +1159,7 @@ end:
thd->restore_stmt_binlog_format(save_binlog_format);
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
@@ -1237,7 +1237,7 @@ Event_db_repository::check_system_tables(THD *thd)
close_mysql_tables(thd);
}
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
/**
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc
index 92093e34b81..6091977cc8d 100644
--- a/sql/event_scheduler.cc
+++ b/sql/event_scheduler.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2006, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/event_scheduler.h b/sql/event_scheduler.h
index 4f6b9349162..6ec7dccefb9 100644
--- a/sql/event_scheduler.h
+++ b/sql/event_scheduler.h
@@ -1,6 +1,6 @@
#ifndef _EVENT_SCHEDULER_H_
#define _EVENT_SCHEDULER_H_
-/* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/events.cc b/sql/events.cc
index 040b73730e9..0c0fb0d5a38 100644
--- a/sql/events.cc
+++ b/sql/events.cc
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005, 2011, Oracle and/or its affiliates.
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -764,6 +764,9 @@ Events::fill_schema_events(THD *thd, TABLE_LIST *tables, COND * /* cond */)
NULL, NULL, 0, 0))
DBUG_RETURN(1);
db= thd->lex->select_lex.db;
+
+ if (lower_case_table_names)
+ my_casedn_str(system_charset_info, db);
}
ret= db_repository->fill_schema_events(thd, tables, db);
diff --git a/sql/events.h b/sql/events.h
index a6480e7241d..646fd257d52 100644
--- a/sql/events.h
+++ b/sql/events.h
@@ -1,6 +1,6 @@
#ifndef _EVENT_H_
#define _EVENT_H_
-/* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/field.cc b/sql/field.cc
index 755d2f8b625..68617d0204e 100644
--- a/sql/field.cc
+++ b/sql/field.cc
@@ -1175,6 +1175,15 @@ inline ulonglong char_prefix_to_ulonglong(uchar *src)
return uint8korr(src);
}
+/*
+ Compute res = a - b, without losing precision and taking care that these are
+ unsigned numbers.
+*/
+static inline double safe_substract(ulonglong a, ulonglong b)
+{
+ return (a > b)? double(a - b) : -double(b - a);
+}
+
/**
@brief
@@ -1227,10 +1236,10 @@ double Field::pos_in_interval_val_str(Field *min, Field *max, uint data_offset)
minp= char_prefix_to_ulonglong(minp_prefix);
maxp= char_prefix_to_ulonglong(maxp_prefix);
double n, d;
- n= mp - minp;
+ n= safe_substract(mp, minp);
if (n < 0)
return 0.0;
- d= maxp - minp;
+ d= safe_substract(maxp, minp);
if (d <= 0)
return 1.0;
return MY_MIN(n/d, 1.0);
@@ -1774,7 +1783,7 @@ int Field_num::store_decimal(const my_decimal *val)
ASSERT_COLUMN_MARKED_FOR_WRITE_OR_COMPUTED;
int err= 0;
longlong i= convert_decimal2longlong(val, unsigned_flag, &err);
- return test(err | store(i, unsigned_flag));
+ return MY_TEST(err | store(i, unsigned_flag));
}
@@ -1926,7 +1935,7 @@ int Field::store_time_dec(MYSQL_TIME *ltime, uint dec)
bool Field::optimize_range(uint idx, uint part)
{
- return test(table->file->index_flags(idx, part, 1) & HA_READ_RANGE);
+ return MY_TEST(table->file->index_flags(idx, part, 1) & HA_READ_RANGE);
}
@@ -4636,14 +4645,24 @@ int Field_timestamp::store_TIME_with_warning(THD *thd, MYSQL_TIME *l_time,
}
+static bool
+copy_or_convert_to_datetime(THD *thd, const MYSQL_TIME *from, MYSQL_TIME *to)
+{
+ if (from->time_type == MYSQL_TIMESTAMP_TIME)
+ return time_to_datetime(thd, from, to);
+ *to= *from;
+ return false;
+}
+
+
int Field_timestamp::store_time_dec(MYSQL_TIME *ltime, uint dec)
{
int unused;
- MYSQL_TIME l_time= *ltime;
ErrConvTime str(ltime);
THD *thd= get_thd();
-
- bool valid= !check_date(&l_time, pack_time(&l_time) != 0,
+ MYSQL_TIME l_time;
+ bool valid= !copy_or_convert_to_datetime(thd, ltime, &l_time) &&
+ !check_date(&l_time, pack_time(&l_time) != 0,
(thd->variables.sql_mode & MODE_NO_ZERO_DATE) |
MODE_NO_ZERO_IN_DATE, &unused);
@@ -5201,15 +5220,28 @@ int Field_temporal_with_date::store(longlong nr, bool unsigned_val)
int Field_temporal_with_date::store_time_dec(MYSQL_TIME *ltime, uint dec)
{
- int error = 0, have_smth_to_conv= 1;
- MYSQL_TIME l_time= *ltime;
+ int error= 0, have_smth_to_conv= 1;
ErrConvTime str(ltime);
+ MYSQL_TIME l_time;
+
+ if (copy_or_convert_to_datetime(get_thd(), ltime, &l_time))
+ {
+ /*
+ Set have_smth_to_conv and error in a way to have
+ store_TIME_with_warning do bzero().
+ */
+ have_smth_to_conv= false;
+ error= MYSQL_TIME_WARN_OUT_OF_RANGE;
+ goto store;
+ }
+
/*
We don't perform range checking here since values stored in TIME
structure always fit into DATETIME range.
*/
have_smth_to_conv= !check_date(&l_time, pack_time(&l_time) != 0,
sql_mode_for_dates(current_thd), &error);
+store:
return store_TIME_with_warning(&l_time, &str, error, have_smth_to_conv);
}
@@ -8487,7 +8519,7 @@ int Field_bit::store_decimal(const my_decimal *val)
{
int err= 0;
longlong i= convert_decimal2longlong(val, 1, &err);
- return test(err | store(i, TRUE));
+ return MY_TEST(err | store(i, TRUE));
}
@@ -8776,7 +8808,7 @@ Field_bit::unpack(uchar *to, const uchar *from, const uchar *from_end,
if (param_data == 0 ||
((from_bit_len == bit_len) && (from_len == bytes_in_rec)))
{
- if (from + bytes_in_rec + test(bit_len) > from_end)
+ if (from + bytes_in_rec + MY_TEST(bit_len) > from_end)
return 0; // Error in data
if (bit_len > 0)
@@ -8931,7 +8963,7 @@ void Create_field::create_length_to_internal_length(void)
{
pack_length= length / 8;
/* We need one extra byte to store the bits we save among the null bits */
- key_length= pack_length + test(length & 7);
+ key_length= pack_length + MY_TEST(length & 7);
}
break;
case MYSQL_TYPE_NEWDECIMAL:
diff --git a/sql/field.h b/sql/field.h
index 72be8e3519a..cbd9175f26c 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1,7 +1,7 @@
#ifndef FIELD_INCLUDED
#define FIELD_INCLUDED
-/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
- Copyright (c) 2008, 2011, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -67,7 +67,7 @@ enum Derivation
#define MY_REPERTOIRE_NUMERIC MY_REPERTOIRE_ASCII
/* The length of the header part for each virtual column in the .frm file */
-#define FRM_VCOL_HEADER_SIZE(b) (3 + test(b))
+#define FRM_VCOL_HEADER_SIZE(b) (3 + MY_TEST(b))
class Count_distinct_field;
@@ -75,6 +75,8 @@ struct ha_field_option_struct;
struct st_cache_field;
int field_conv(Field *to,Field *from);
+int field_conv_incompatible(Field *to,Field *from);
+bool memcpy_field_possible(Field *to, Field *from);
int truncate_double(double *nr, uint field_length, uint dec,
bool unsigned_flag, double max_value);
longlong double_to_longlong(double nr, bool unsigned_flag, bool *error);
@@ -616,7 +618,7 @@ public:
null_ptr[row_offset].
*/
return (table->null_row ? TRUE :
- null_ptr ? test(null_ptr[row_offset] & null_bit) : 0);
+ null_ptr ? MY_TEST(null_ptr[row_offset] & null_bit) : 0);
}
inline bool is_real_null(my_ptrdiff_t row_offset= 0) const
{ return null_ptr ? (null_ptr[row_offset] & null_bit ? 1 : 0) : 0; }
@@ -624,8 +626,7 @@ public:
{
if (!null_ptr)
return 0;
- return test(record[(uint) (null_ptr -table->record[0])] &
- null_bit);
+ return MY_TEST(record[(uint) (null_ptr - table->record[0])] & null_bit);
}
inline void set_null(my_ptrdiff_t row_offset= 0)
{ if (null_ptr) null_ptr[row_offset]|= null_bit; }
@@ -1054,7 +1055,7 @@ public:
my_decimal *val_decimal(my_decimal *);
virtual bool str_needs_quotes() { return TRUE; }
uint is_equal(Create_field *new_field);
- bool eq_cmp_as_binary() { return test(flags & BINARY_FLAG); }
+ bool eq_cmp_as_binary() { return MY_TEST(flags & BINARY_FLAG); }
virtual uint length_size() { return 0; }
double pos_in_interval(Field *min, Field *max)
{
@@ -1654,7 +1655,7 @@ public:
const char *field_name_arg,
TABLE_SHARE *share, uint dec_arg) :
Field_timestamp(ptr_arg,
- MAX_DATETIME_WIDTH + dec_arg + test(dec_arg), null_ptr_arg,
+ MAX_DATETIME_WIDTH + dec_arg + MY_TEST(dec_arg), null_ptr_arg,
null_bit_arg, unireg_check_arg, field_name_arg, share),
dec(dec_arg)
{
@@ -1865,8 +1866,8 @@ public:
Field_time_with_dec(uchar *ptr_arg, uchar *null_ptr_arg, uchar null_bit_arg,
enum utype unireg_check_arg, const char *field_name_arg,
uint dec_arg)
- :Field_time(ptr_arg, MIN_TIME_WIDTH + dec_arg + test(dec_arg), null_ptr_arg,
- null_bit_arg, unireg_check_arg, field_name_arg),
+ :Field_time(ptr_arg, MIN_TIME_WIDTH + dec_arg + MY_TEST(dec_arg),
+ null_ptr_arg, null_bit_arg, unireg_check_arg, field_name_arg),
dec(dec_arg)
{
DBUG_ASSERT(dec <= TIME_SECOND_PART_DIGITS);
@@ -2022,7 +2023,7 @@ public:
Field_datetime_with_dec(uchar *ptr_arg, uchar *null_ptr_arg,
uchar null_bit_arg, enum utype unireg_check_arg,
const char *field_name_arg, uint dec_arg)
- :Field_datetime(ptr_arg, MAX_DATETIME_WIDTH + dec_arg + test(dec_arg),
+ :Field_datetime(ptr_arg, MAX_DATETIME_WIDTH + dec_arg + MY_TEST(dec_arg),
null_ptr_arg, null_bit_arg, unireg_check_arg,
field_name_arg), dec(dec_arg)
{
@@ -2401,18 +2402,6 @@ public:
{
store_length(ptr, packlength, number);
}
-
- /**
- Return the packed length plus the length of the data.
-
- This is used to determine the size of the data plus the
- packed length portion in the row data.
-
- @returns The length in the row plus the size of the data.
- */
- uint32 get_packed_size(const uchar *ptr_arg)
- {return packlength + get_length(ptr_arg, packlength);}
-
inline uint32 get_length(uint row_offset= 0)
{ return get_length(ptr+row_offset, this->packlength); }
uint32 get_length(const uchar *ptr, uint packlength);
@@ -2464,7 +2453,7 @@ public:
uint max_packed_col_length(uint max_length);
void free() { value.free(); }
inline void clear_temporary() { bzero((uchar*) &value,sizeof(value)); }
- friend int field_conv(Field *to,Field *from);
+ friend int field_conv_incompatible(Field *to,Field *from);
uint size_of() const { return sizeof(*this); }
bool has_charset(void) const
{ return charset() == &my_charset_bin ? FALSE : TRUE; }
@@ -2649,9 +2638,9 @@ public:
{
DBUG_ASSERT(ptr == a || ptr == b);
if (ptr == a)
- return Field_bit::key_cmp(b, bytes_in_rec+test(bit_len));
+ return Field_bit::key_cmp(b, bytes_in_rec + MY_TEST(bit_len));
else
- return Field_bit::key_cmp(a, bytes_in_rec+test(bit_len)) * -1;
+ return Field_bit::key_cmp(a, bytes_in_rec + MY_TEST(bit_len)) * -1;
}
int cmp_binary_offset(uint row_offset)
{ return cmp_offset(row_offset); }
diff --git a/sql/field_conv.cc b/sql/field_conv.cc
index 71ab4265ee3..f13694e2a13 100644
--- a/sql/field_conv.cc
+++ b/sql/field_conv.cc
@@ -399,7 +399,7 @@ static void do_field_int(Copy_field *copy)
{
longlong value= copy->from_field->val_int();
copy->to_field->store(value,
- test(copy->from_field->flags & UNSIGNED_FLAG));
+ MY_TEST(copy->from_field->flags & UNSIGNED_FLAG));
}
static void do_field_real(Copy_field *copy)
@@ -823,40 +823,76 @@ Copy_field::get_copy_func(Field *to,Field *from)
return do_field_eq;
}
+/**
+ Check if it is possible just copy value of the fields
+
+ @param to The field to copy to
+ @param from The field to copy from
+
+ @retval TRUE - it is possible to just copy value of 'from' to 'to'.
+ @retval FALSE - conversion is needed
+*/
+
+bool memcpy_field_possible(Field *to,Field *from)
+{
+ const enum_field_types to_real_type= to->real_type();
+ const enum_field_types from_real_type= from->real_type();
+ const enum_field_types to_type= from->type();
+ return (to_real_type == from_real_type &&
+ !(to->flags & BLOB_FLAG && to->table->copy_blobs) &&
+ to->pack_length() == from->pack_length() &&
+ !(to->flags & UNSIGNED_FLAG && !(from->flags & UNSIGNED_FLAG)) &&
+ to->decimals() == from->decimals() &&
+ to_real_type != MYSQL_TYPE_ENUM &&
+ to_real_type != MYSQL_TYPE_SET &&
+ to_real_type != MYSQL_TYPE_BIT &&
+ (to_real_type != MYSQL_TYPE_NEWDECIMAL ||
+ to->field_length == from->field_length) &&
+ from->charset() == to->charset() &&
+ (!sql_mode_for_dates(to->table->in_use) ||
+ (to_type != MYSQL_TYPE_DATE &&
+ to_type != MYSQL_TYPE_DATETIME)) &&
+ (from_real_type != MYSQL_TYPE_VARCHAR ||
+ ((Field_varstring*)from)->length_bytes ==
+ ((Field_varstring*)to)->length_bytes));
+}
+
/** Simple quick field convert that is called on insert. */
int field_conv(Field *to,Field *from)
{
- if (to->real_type() == from->real_type() &&
- !(to->flags & BLOB_FLAG && to->table->copy_blobs))
- {
- if (to->pack_length() == from->pack_length() &&
- !(to->flags & UNSIGNED_FLAG && !(from->flags & UNSIGNED_FLAG)) &&
- to->decimals() == from->decimals() &&
- to->real_type() != MYSQL_TYPE_ENUM &&
- to->real_type() != MYSQL_TYPE_SET &&
- to->real_type() != MYSQL_TYPE_BIT &&
- (to->real_type() != MYSQL_TYPE_NEWDECIMAL ||
- to->field_length == from->field_length) &&
- from->charset() == to->charset() &&
- (!sql_mode_for_dates(to->table->in_use) ||
- (to->type() != MYSQL_TYPE_DATE &&
- to->type() != MYSQL_TYPE_DATETIME)) &&
- (from->real_type() != MYSQL_TYPE_VARCHAR ||
- ((Field_varstring*)from)->length_bytes ==
- ((Field_varstring*)to)->length_bytes))
- { // Identical fields
- /*
- This may happen if one does 'UPDATE ... SET x=x'
- The test is here mostly for valgrind, but can also be relevant
- if memcpy() is implemented with prefetch-write
- */
- if (to->ptr != from->ptr)
- memcpy(to->ptr,from->ptr,to->pack_length());
- return 0;
- }
+ if (memcpy_field_possible(to, from))
+ { // Identical fields
+ /*
+ This may happen if one does 'UPDATE ... SET x=x'
+ The test is here mostly for valgrind, but can also be relevant
+ if memcpy() is implemented with prefetch-write
+ */
+ if (to->ptr != from->ptr)
+ memcpy(to->ptr, from->ptr, to->pack_length());
+ return 0;
}
+ return field_conv_incompatible(to, from);
+}
+
+
+/**
+ Copy value of the field with conversion.
+
+ @note Impossibility of simple copy should be checked before this call.
+
+ @param to The field to copy to
+ @param from The field to copy from
+
+ @retval TRUE ERROR
+ @retval FALSE OK
+*/
+
+int field_conv_incompatible(Field *to, Field *from)
+{
+ const enum_field_types to_real_type= to->real_type();
+ const enum_field_types from_real_type= from->real_type();
if (to->flags & BLOB_FLAG)
{ // Be sure the value is stored
Field_blob *blob=(Field_blob*) to;
@@ -867,21 +903,22 @@ int field_conv(Field *to,Field *from)
*/
if (to->table->copy_blobs ||
(!blob->value.is_alloced() &&
- from->real_type() != MYSQL_TYPE_STRING &&
- from->real_type() != MYSQL_TYPE_VARCHAR))
+ from_real_type != MYSQL_TYPE_STRING &&
+ from_real_type != MYSQL_TYPE_VARCHAR))
blob->value.copy();
return blob->store(blob->value.ptr(),blob->value.length(),from->charset());
}
- if (from->real_type() == MYSQL_TYPE_ENUM &&
- to->real_type() == MYSQL_TYPE_ENUM &&
+ if (from_real_type == MYSQL_TYPE_ENUM &&
+ to_real_type == MYSQL_TYPE_ENUM &&
from->val_int() == 0)
{
((Field_enum *)(to))->store_type(0);
return 0;
}
- if (from->result_type() == REAL_RESULT)
+ Item_result from_result_type= from->result_type();
+ if (from_result_type == REAL_RESULT)
return to->store(from->val_real());
- if (from->result_type() == DECIMAL_RESULT)
+ if (from_result_type == DECIMAL_RESULT)
{
my_decimal buff;
return to->store_decimal(from->val_decimal(&buff));
@@ -894,10 +931,10 @@ int field_conv(Field *to,Field *from)
else
return to->store_time_dec(&ltime, from->decimals());
}
- if ((from->result_type() == STRING_RESULT &&
+ if ((from_result_type == STRING_RESULT &&
(to->result_type() == STRING_RESULT ||
- (from->real_type() != MYSQL_TYPE_ENUM &&
- from->real_type() != MYSQL_TYPE_SET))) ||
+ (from_real_type != MYSQL_TYPE_ENUM &&
+ from_real_type != MYSQL_TYPE_SET))) ||
to->type() == MYSQL_TYPE_DECIMAL)
{
char buff[MAX_FIELD_WIDTH];
@@ -911,5 +948,5 @@ int field_conv(Field *to,Field *from)
*/
return to->store(result.c_ptr_quick(),result.length(),from->charset());
}
- return to->store(from->val_int(), test(from->flags & UNSIGNED_FLAG));
+ return to->store(from->val_int(), MY_TEST(from->flags & UNSIGNED_FLAG));
}
diff --git a/sql/filesort.cc b/sql/filesort.cc
index 183edf67466..776ec064365 100644
--- a/sql/filesort.cc
+++ b/sql/filesort.cc
@@ -39,6 +39,7 @@
#include "sql_select.h"
#include "log_slow.h"
#include "debug_sync.h"
+#include "sql_base.h"
/// How to write record_ref.
#define WRITE_REF(file,from) \
@@ -386,6 +387,14 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
{
int kill_errno= thd->killed_errno();
DBUG_ASSERT(thd->is_error() || kill_errno || thd->killed == ABORT_QUERY);
+
+ /*
+ We replace the table->sort at the end.
+ Hence calling free_io_cache to make sure table->sort.io_cache
+ used for QUICK_INDEX_MERGE_SELECT is free.
+ */
+ free_io_cache(table);
+
my_printf_error(ER_FILSORT_ABORT,
"%s: %s",
MYF(0),
@@ -411,6 +420,9 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
DBUG_POP(); /* Ok to DBUG */
#endif
+ /* table->sort.io_cache should be free by this time */
+ DBUG_ASSERT(NULL == table->sort.io_cache);
+
// Assign the copy back!
table->sort= table_sort;
@@ -469,6 +481,84 @@ static uchar *read_buffpek_from_file(IO_CACHE *buffpek_pointers, uint count,
}
#ifndef DBUG_OFF
+
+/* Buffer where record is returned */
+char dbug_print_row_buff[512];
+
+/* Temporary buffer for printing a column */
+char dbug_print_row_buff_tmp[512];
+
+/*
+ Print table's current row into a buffer and return a pointer to it.
+
+ This is intended to be used from gdb:
+
+ (gdb) p dbug_print_table_row(table)
+ $33 = "SUBQUERY2_t1(col_int_key,col_varchar_nokey)=(7,c)"
+ (gdb)
+
+ Only columns in table->read_set are printed
+*/
+
+const char* dbug_print_table_row(TABLE *table)
+{
+ Field **pfield;
+ String tmp(dbug_print_row_buff_tmp,
+ sizeof(dbug_print_row_buff_tmp),&my_charset_bin);
+
+ String output(dbug_print_row_buff, sizeof(dbug_print_row_buff),
+ &my_charset_bin);
+
+ output.length(0);
+ output.append(table->alias);
+ output.append("(");
+ bool first= true;
+
+ for (pfield= table->field; *pfield ; pfield++)
+ {
+ if (table->read_set && !bitmap_is_set(table->read_set, (*pfield)->field_index))
+ continue;
+
+ if (first)
+ first= false;
+ else
+ output.append(",");
+
+ output.append((*pfield)->field_name? (*pfield)->field_name: "NULL");
+ }
+
+ output.append(")=(");
+
+ first= true;
+ for (pfield= table->field; *pfield ; pfield++)
+ {
+ Field *field= *pfield;
+
+ if (table->read_set && !bitmap_is_set(table->read_set, (*pfield)->field_index))
+ continue;
+
+ if (first)
+ first= false;
+ else
+ output.append(",");
+
+ if (field->is_null())
+ output.append("NULL");
+ else
+ {
+ if (field->type() == MYSQL_TYPE_BIT)
+ (void) field->val_int_as_str(&tmp, 1);
+ else
+ field->val_str(&tmp);
+ output.append(tmp.ptr(), tmp.length());
+ }
+ }
+ output.append(")");
+
+ return output.c_ptr_safe();
+}
+
+
/*
Print a text, SQL-like record representation into dbug trace.
@@ -517,6 +607,7 @@ static void dbug_print_record(TABLE *table, bool print_rowid)
fprintf(DBUG_FILE, "\n");
DBUG_UNLOCK_FILE;
}
+
#endif
@@ -595,7 +686,7 @@ static ha_rows find_all_keys(Sort_param *param, SQL_SELECT *select,
ref_pos= ref_buff;
quick_select=select && select->quick;
record=0;
- *found_rows= pq ? 0 : HA_POS_ERROR; // don't count unless pq is used
+ *found_rows= 0;
flag= ((file->ha_table_flags() & HA_REC_NOT_IN_SEQ) || quick_select);
if (flag)
ref_pos= &file->ref[0];
@@ -640,6 +731,7 @@ static ha_rows find_all_keys(Sort_param *param, SQL_SELECT *select,
DBUG_RETURN(HA_POS_ERROR);
}
+ DEBUG_SYNC(thd, "after_index_merge_phase1");
for (;;)
{
if (quick_select)
@@ -714,14 +806,9 @@ static ha_rows find_all_keys(Sort_param *param, SQL_SELECT *select,
if (write_record)
{
+ (*found_rows)++;
if (pq)
{
- /*
- only count rows when pq is used - otherwise there might be
- other filters *after* the filesort, we don't know the final row
- count here
- */
- (*found_rows)++;
pq->push(ref_pos);
idx= pq->num_elements();
}
@@ -737,12 +824,17 @@ static ha_rows find_all_keys(Sort_param *param, SQL_SELECT *select,
make_sortkey(param, fs_info->get_record_buffer(idx++), ref_pos);
}
}
- else
- file->unlock_row();
/* It does not make sense to read more keys in case of a fatal error */
if (thd->is_error())
break;
+
+ /*
+ We need to this after checking the error as the transaction may have
+ rolled back in case of a deadlock
+ */
+ if (!write_record)
+ file->unlock_row();
}
if (!quick_select)
{
@@ -885,13 +977,11 @@ static void make_sortkey(register Sort_param *param,
{
const CHARSET_INFO *cs=item->collation.collation;
char fill_char= ((cs->state & MY_CS_BINSORT) ? (char) 0 : ' ');
- int diff;
- uint sort_field_length;
if (maybe_null)
*to++=1;
- /* All item->str() to use some extra byte for end null.. */
- String tmp((char*) to,sort_field->length+4,cs);
+ char *tmp_buffer= param->tmp_buffer ? param->tmp_buffer : (char*)to;
+ String tmp(tmp_buffer, param->sort_length, cs);
String *res= item->str_result(&tmp);
if (!res)
{
@@ -914,39 +1004,36 @@ static void make_sortkey(register Sort_param *param,
break;
}
length= res->length();
- sort_field_length= sort_field->length - sort_field->suffix_length;
- diff=(int) (sort_field_length - length);
- if (diff < 0)
- {
- diff=0;
- length= sort_field_length;
- }
- if (sort_field->suffix_length)
- {
- /* Store length last in result_string */
- store_length(to + sort_field_length, length,
- sort_field->suffix_length);
- }
if (sort_field->need_strxnfrm)
{
- char *from=(char*) res->ptr();
uint tmp_length __attribute__((unused));
- if ((uchar*) from == to)
- {
- set_if_smaller(length,sort_field->length);
- memcpy(param->tmp_buffer,from,length);
- from=param->tmp_buffer;
- }
tmp_length= cs->coll->strnxfrm(cs, to, sort_field->length,
item->max_char_length() *
cs->strxfrm_multiply,
- (uchar*) from, length,
+ (uchar*) res->ptr(), length,
MY_STRXFRM_PAD_WITH_SPACE |
MY_STRXFRM_PAD_TO_MAXLEN);
DBUG_ASSERT(tmp_length == sort_field->length);
}
else
{
+ uint diff;
+ uint sort_field_length= sort_field->length -
+ sort_field->suffix_length;
+ if (sort_field_length < length)
+ {
+ diff= 0;
+ length= sort_field_length;
+ }
+ else
+ diff= sort_field_length - length;
+ if (sort_field->suffix_length)
+ {
+ /* Store length last in result_string */
+ store_length(to + sort_field_length, length,
+ sort_field->suffix_length);
+ }
+ /* apply cs->sort_order for case-insensitive comparison if needed */
my_strnxfrm(cs,(uchar*)to,length,(const uchar*)res->ptr(),length);
cs->cset->fill(cs, (char *)to+length,diff,fill_char);
}
diff --git a/sql/filesort_utils.h b/sql/filesort_utils.h
index 4cccf8ffa02..00fa6f2566b 100644
--- a/sql/filesort_utils.h
+++ b/sql/filesort_utils.h
@@ -95,7 +95,7 @@ public:
bool check_sort_buffer_properties(uint num_records, uint record_length)
{
return (static_cast<uint>(m_idx_array.size()) == num_records &&
- m_record_length == m_record_length);
+ m_record_length == record_length);
}
/// Frees the buffer.
diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc
index fc53183ca7a..531211eb175 100644
--- a/sql/ha_ndbcluster_binlog.cc
+++ b/sql/ha_ndbcluster_binlog.cc
@@ -446,7 +446,7 @@ int ndbcluster_binlog_init_share(NDB_SHARE *share, TABLE *_table)
alloc_root(mem_root, no_nodes * sizeof(MY_BITMAP));
for (i= 0; i < no_nodes; i++)
{
- bitmap_init(&share->subscriber_bitmap[i],
+ my_bitmap_init(&share->subscriber_bitmap[i],
(Uint32*)alloc_root(mem_root, max_ndb_nodes/8),
max_ndb_nodes, FALSE);
bitmap_clear_all(&share->subscriber_bitmap[i]);
@@ -1119,7 +1119,7 @@ ndbcluster_update_slock(THD *thd,
MY_BITMAP slock;
uint32 bitbuf[SCHEMA_SLOCK_SIZE/4];
- bitmap_init(&slock, bitbuf, sizeof(bitbuf)*8, false);
+ my_bitmap_init(&slock, bitbuf, sizeof(bitbuf)*8, false);
if (ndbtab == 0)
{
@@ -1370,7 +1370,7 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
{
int i, updated= 0;
int no_storage_nodes= g_ndb_cluster_connection->no_db_nodes();
- bitmap_init(&schema_subscribers, bitbuf, sizeof(bitbuf)*8, FALSE);
+ my_bitmap_init(&schema_subscribers, bitbuf, sizeof(bitbuf)*8, FALSE);
bitmap_set_all(&schema_subscribers);
/* begin protect ndb_schema_share */
@@ -1908,7 +1908,7 @@ ndb_binlog_thread_handle_schema_event(THD *thd, Ndb *ndb,
Cluster_schema *schema= (Cluster_schema *)
sql_alloc(sizeof(Cluster_schema));
MY_BITMAP slock;
- bitmap_init(&slock, schema->slock, 8*SCHEMA_SLOCK_SIZE, FALSE);
+ my_bitmap_init(&slock, schema->slock, 8*SCHEMA_SLOCK_SIZE, FALSE);
uint node_id= g_ndb_cluster_connection->node_id();
{
ndbcluster_get_schema(tmp_share, schema);
@@ -3353,7 +3353,7 @@ ndb_binlog_thread_handle_data_event(Ndb *ndb, NdbEventOperation *pOp,
MY_BITMAP b;
/* Potential buffer for the bitmap */
uint32 bitbuf[128 / (sizeof(uint32) * 8)];
- bitmap_init(&b, n_fields <= sizeof(bitbuf) * 8 ? bitbuf : NULL,
+ my_bitmap_init(&b, n_fields <= sizeof(bitbuf) * 8 ? bitbuf : NULL,
n_fields, FALSE);
bitmap_set_all(&b);
@@ -3573,7 +3573,7 @@ static NDB_SCHEMA_OBJECT *ndb_get_schema_object(const char *key,
break;
}
mysql_mutex_init(key_ndb_schema_object_mutex, &ndb_schema_object->mutex, MY_MUTEX_INIT_FAST);
- bitmap_init(&ndb_schema_object->slock_bitmap, ndb_schema_object->slock,
+ my_bitmap_init(&ndb_schema_object->slock_bitmap, ndb_schema_object->slock,
sizeof(ndb_schema_object->slock)*8, FALSE);
bitmap_clear_all(&ndb_schema_object->slock_bitmap);
break;
diff --git a/sql/ha_ndbcluster_cond.cc b/sql/ha_ndbcluster_cond.cc
index 22a7dbe55f7..fd80304d400 100644
--- a/sql/ha_ndbcluster_cond.cc
+++ b/sql/ha_ndbcluster_cond.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2003 MySQL AB
+/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/ha_ndbcluster_cond.h b/sql/ha_ndbcluster_cond.h
index 27675588ed7..952b705bfc2 100644
--- a/sql/ha_ndbcluster_cond.h
+++ b/sql/ha_ndbcluster_cond.h
@@ -1,7 +1,7 @@
#ifndef HA_NDBCLUSTER_COND_INCLUDED
#define HA_NDBCLUSTER_COND_INCLUDED
-/* Copyright (C) 2000-2007 MySQL AB
+/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -350,18 +350,18 @@ class Ndb_cond_traverse_context : public Sql_alloc
skip(0), collation(NULL), rewrite_stack(NULL)
{
// Allocate type checking bitmaps
- bitmap_init(&expect_mask, 0, 512, FALSE);
- bitmap_init(&expect_field_type_mask, 0, 512, FALSE);
- bitmap_init(&expect_field_result_mask, 0, 512, FALSE);
+ my_bitmap_init(&expect_mask, 0, 512, FALSE);
+ my_bitmap_init(&expect_field_type_mask, 0, 512, FALSE);
+ my_bitmap_init(&expect_field_result_mask, 0, 512, FALSE);
if (stack)
cond_ptr= stack->ndb_cond;
};
~Ndb_cond_traverse_context()
{
- bitmap_free(&expect_mask);
- bitmap_free(&expect_field_type_mask);
- bitmap_free(&expect_field_result_mask);
+ my_bitmap_free(&expect_mask);
+ my_bitmap_free(&expect_field_type_mask);
+ my_bitmap_free(&expect_field_result_mask);
if (rewrite_stack) delete rewrite_stack;
}
void expect(Item::Type type)
diff --git a/sql/ha_ndbcluster_tables.h b/sql/ha_ndbcluster_tables.h
index 6ed46123738..4d97ca2c254 100644
--- a/sql/ha_ndbcluster_tables.h
+++ b/sql/ha_ndbcluster_tables.h
@@ -1,7 +1,8 @@
#ifndef HA_NDBCLUSTER_TABLES_INCLUDED
#define HA_NDBCLUSTER_TABLES_INCLUDED
-/* Copyright (C) 2000-2003 MySQL AB
+/* Copyright (c) 2000-2003, 2006, 2007 MySQL AB, 2009 Sun Microsystems, Inc.
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 672348a5c45..e683fb91700 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -89,12 +89,14 @@ static handler *partition_create_handler(handlerton *hton,
static uint partition_flags();
static uint alter_table_flags(uint flags);
+extern "C" int cmp_key_part_id(void *key_p, uchar *ref1, uchar *ref2);
+extern "C" int cmp_key_rowid_part_id(void *ptr, uchar *ref1, uchar *ref2);
+
/*
If frm_error() is called then we will use this to to find out what file
extensions exist for the storage engine. This is also used by the default
rename_table and delete_table method in handler.cc.
*/
-
static const char *ha_partition_ext[]=
{
ha_par_ext, NullS
@@ -3318,10 +3320,10 @@ err:
void ha_partition::free_partition_bitmaps()
{
/* Initialize the bitmap we use to minimize ha_start_bulk_insert calls */
- bitmap_free(&m_bulk_insert_started);
- bitmap_free(&m_locked_partitions);
- bitmap_free(&m_partitions_to_reset);
- bitmap_free(&m_key_not_found_partitions);
+ my_bitmap_free(&m_bulk_insert_started);
+ my_bitmap_free(&m_locked_partitions);
+ my_bitmap_free(&m_partitions_to_reset);
+ my_bitmap_free(&m_key_not_found_partitions);
}
@@ -3333,14 +3335,14 @@ bool ha_partition::init_partition_bitmaps()
{
DBUG_ENTER("ha_partition::init_partition_bitmaps");
/* Initialize the bitmap we use to minimize ha_start_bulk_insert calls */
- if (bitmap_init(&m_bulk_insert_started, NULL, m_tot_parts + 1, FALSE))
+ if (my_bitmap_init(&m_bulk_insert_started, NULL, m_tot_parts + 1, FALSE))
DBUG_RETURN(true);
bitmap_clear_all(&m_bulk_insert_started);
/* Initialize the bitmap we use to keep track of locked partitions */
- if (bitmap_init(&m_locked_partitions, NULL, m_tot_parts, FALSE))
+ if (my_bitmap_init(&m_locked_partitions, NULL, m_tot_parts, FALSE))
{
- bitmap_free(&m_bulk_insert_started);
+ my_bitmap_free(&m_bulk_insert_started);
DBUG_RETURN(true);
}
bitmap_clear_all(&m_locked_partitions);
@@ -3349,10 +3351,10 @@ bool ha_partition::init_partition_bitmaps()
Initialize the bitmap we use to keep track of partitions which may have
something to reset in ha_reset().
*/
- if (bitmap_init(&m_partitions_to_reset, NULL, m_tot_parts, FALSE))
+ if (my_bitmap_init(&m_partitions_to_reset, NULL, m_tot_parts, FALSE))
{
- bitmap_free(&m_bulk_insert_started);
- bitmap_free(&m_locked_partitions);
+ my_bitmap_free(&m_bulk_insert_started);
+ my_bitmap_free(&m_locked_partitions);
DBUG_RETURN(true);
}
bitmap_clear_all(&m_partitions_to_reset);
@@ -3361,11 +3363,11 @@ bool ha_partition::init_partition_bitmaps()
Initialize the bitmap we use to keep track of partitions which returned
HA_ERR_KEY_NOT_FOUND from index_read_map.
*/
- if (bitmap_init(&m_key_not_found_partitions, NULL, m_tot_parts, FALSE))
+ if (my_bitmap_init(&m_key_not_found_partitions, NULL, m_tot_parts, FALSE))
{
- bitmap_free(&m_bulk_insert_started);
- bitmap_free(&m_locked_partitions);
- bitmap_free(&m_partitions_to_reset);
+ my_bitmap_free(&m_bulk_insert_started);
+ my_bitmap_free(&m_locked_partitions);
+ my_bitmap_free(&m_partitions_to_reset);
DBUG_RETURN(true);
}
bitmap_clear_all(&m_key_not_found_partitions);
@@ -3421,7 +3423,7 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
m_mode= mode;
m_open_test_lock= test_if_locked;
m_part_field_array= m_part_info->full_part_field_array;
- if (get_from_handler_file(name, &table->mem_root, test(m_is_clone_of)))
+ if (get_from_handler_file(name, &table->mem_root, MY_TEST(m_is_clone_of)))
DBUG_RETURN(error);
name_buffer_ptr= m_name_buffer_ptr;
if (populate_partition_name_hash())
@@ -5093,7 +5095,10 @@ bool ha_partition::init_record_priority_queue()
uint alloc_len;
uint used_parts= bitmap_bits_set(&m_part_info->read_partitions);
/* Allocate record buffer for each used partition. */
- alloc_len= used_parts * (m_rec_length + PARTITION_BYTES_IN_POS);
+ m_priority_queue_rec_len= m_rec_length + PARTITION_BYTES_IN_POS;
+ if (!m_using_extended_keys)
+ m_priority_queue_rec_len += m_file[0]->ref_length;
+ alloc_len= used_parts * m_priority_queue_rec_len;
/* Allocate a key for temporary use when setting up the scan. */
alloc_len+= table_share->max_key_length;
@@ -5115,12 +5120,24 @@ bool ha_partition::init_record_priority_queue()
{
DBUG_PRINT("info", ("init rec-buf for part %u", i));
int2store(ptr, i);
- ptr+= m_rec_length + PARTITION_BYTES_IN_POS;
+ ptr+= m_priority_queue_rec_len;
}
m_start_key.key= (const uchar*)ptr;
+
/* Initialize priority queue, initialized to reading forward. */
- if (init_queue(&m_queue, used_parts, (uint) PARTITION_BYTES_IN_POS,
- 0, key_rec_cmp, (void*)m_curr_key_info, 0, 0))
+ int (*cmp_func)(void *, uchar *, uchar *);
+ void *cmp_arg;
+ if (!m_using_extended_keys)
+ {
+ cmp_func= cmp_key_rowid_part_id;
+ cmp_arg= (void*)this;
+ }
+ else
+ {
+ cmp_func= cmp_key_part_id;
+ cmp_arg= (void*)m_curr_key_info;
+ }
+ if (init_queue(&m_queue, used_parts, 0, 0, cmp_func, cmp_arg, 0, 0))
{
my_free(m_ordered_rec_buffer);
m_ordered_rec_buffer= NULL;
@@ -5187,9 +5204,13 @@ int ha_partition::index_init(uint inx, bool sorted)
DBUG_PRINT("info", ("Clustered pk, using pk as secondary cmp"));
m_curr_key_info[1]= table->key_info+table->s->primary_key;
m_curr_key_info[2]= NULL;
+ m_using_extended_keys= TRUE;
}
else
+ {
m_curr_key_info[1]= NULL;
+ m_using_extended_keys= FALSE;
+ }
if (init_record_priority_queue())
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
@@ -5330,6 +5351,67 @@ int ha_partition::index_read_map(uchar *buf, const uchar *key,
}
+/* Compare two part_no partition numbers */
+static int cmp_part_ids(uchar *ref1, uchar *ref2)
+{
+ /* The following was taken from ha_partition::cmp_ref */
+ my_ptrdiff_t diff1= ref2[1] - ref1[1];
+ my_ptrdiff_t diff2= ref2[0] - ref1[0];
+ if (!diff1 && !diff2)
+ return 0;
+
+ if (diff1 > 0)
+ return(-1);
+
+ if (diff1 < 0)
+ return(+1);
+
+ if (diff2 > 0)
+ return(-1);
+
+ return(+1);
+}
+
+
+/*
+ @brief
+ Provide ordering by (key_value, part_no).
+*/
+
+extern "C" int cmp_key_part_id(void *key_p, uchar *ref1, uchar *ref2)
+{
+ int res;
+ if ((res= key_rec_cmp(key_p, ref1 + PARTITION_BYTES_IN_POS,
+ ref2 + PARTITION_BYTES_IN_POS)))
+ {
+ return res;
+ }
+ return cmp_part_ids(ref1, ref2);
+}
+
+/*
+ @brief
+ Provide ordering by (key_value, underying_table_rowid, part_no).
+*/
+extern "C" int cmp_key_rowid_part_id(void *ptr, uchar *ref1, uchar *ref2)
+{
+ ha_partition *file= (ha_partition*)ptr;
+ int res;
+
+ if ((res= key_rec_cmp(file->m_curr_key_info, ref1 + PARTITION_BYTES_IN_POS,
+ ref2 + PARTITION_BYTES_IN_POS)))
+ {
+ return res;
+ }
+ if ((res= file->m_file[0]->cmp_ref(ref1 + PARTITION_BYTES_IN_POS + file->m_rec_length,
+ ref2 + PARTITION_BYTES_IN_POS + file->m_rec_length)))
+ {
+ return res;
+ }
+ return cmp_part_ids(ref1, ref2);
+}
+
+
/**
Common routine for a number of index_read variants
@@ -5694,7 +5776,7 @@ int ha_partition::read_range_first(const key_range *start_key,
m_start_key.key= NULL;
m_index_scan_type= partition_read_range;
- error= common_index_read(m_rec0, test(start_key));
+ error= common_index_read(m_rec0, MY_TEST(start_key));
DBUG_RETURN(error);
}
@@ -6030,7 +6112,7 @@ int ha_partition::handle_ordered_index_scan(uchar *buf, bool reverse_order)
i < m_part_spec.start_part;
i= bitmap_get_next_set(&m_part_info->read_partitions, i))
{
- part_rec_buf_ptr+= m_rec_length + PARTITION_BYTES_IN_POS;
+ part_rec_buf_ptr+= m_priority_queue_rec_len;
}
DBUG_PRINT("info", ("m_part_spec.start_part %u first_used_part %u",
m_part_spec.start_part, i));
@@ -6079,6 +6161,11 @@ int ha_partition::handle_ordered_index_scan(uchar *buf, bool reverse_order)
if (!error)
{
found= TRUE;
+ if (!m_using_extended_keys)
+ {
+ file->position(rec_buf_ptr);
+ memcpy(rec_buf_ptr + m_rec_length, file->ref, file->ref_length);
+ }
/*
Initialize queue without order first, simply insert
*/
@@ -6095,7 +6182,7 @@ int ha_partition::handle_ordered_index_scan(uchar *buf, bool reverse_order)
m_key_not_found= true;
saved_error= error;
}
- part_rec_buf_ptr+= m_rec_length + PARTITION_BYTES_IN_POS;
+ part_rec_buf_ptr+= m_priority_queue_rec_len;
}
if (found)
{
@@ -6104,7 +6191,7 @@ int ha_partition::handle_ordered_index_scan(uchar *buf, bool reverse_order)
after that read the first entry and copy it to the buffer to return in.
*/
queue_set_max_at_top(&m_queue, reverse_order);
- queue_set_cmp_arg(&m_queue, (void*)m_curr_key_info);
+ queue_set_cmp_arg(&m_queue, m_using_extended_keys? m_curr_key_info : (void*)this);
m_queue.elements= j - queue_first_element(&m_queue);
queue_fix(&m_queue);
return_top_record(buf);
@@ -6151,7 +6238,7 @@ void ha_partition::return_top_record(uchar *buf)
int ha_partition::handle_ordered_index_scan_key_not_found()
{
int error;
- uint i;
+ uint i, old_elements= m_queue.elements;
uchar *part_buf= m_ordered_rec_buffer;
uchar *curr_rec_buf= NULL;
DBUG_ENTER("ha_partition::handle_ordered_index_scan_key_not_found");
@@ -6179,15 +6266,18 @@ int ha_partition::handle_ordered_index_scan_key_not_found()
else if (error != HA_ERR_END_OF_FILE && error != HA_ERR_KEY_NOT_FOUND)
DBUG_RETURN(error);
}
- part_buf+= m_rec_length + PARTITION_BYTES_IN_POS;
+ part_buf += m_priority_queue_rec_len;
}
DBUG_ASSERT(curr_rec_buf);
bitmap_clear_all(&m_key_not_found_partitions);
m_key_not_found= false;
- /* Update m_top_entry, which may have changed. */
- uchar *key_buffer= queue_top(&m_queue);
- m_top_entry= uint2korr(key_buffer);
+ if (m_queue.elements > old_elements)
+ {
+ /* Update m_top_entry, which may have changed. */
+ uchar *key_buffer= queue_top(&m_queue);
+ m_top_entry= uint2korr(key_buffer);
+ }
DBUG_RETURN(0);
}
@@ -6260,6 +6350,7 @@ int ha_partition::handle_ordered_next(uchar *buf, bool is_next_same)
else
error= file->ha_index_next_same(rec_buf, m_start_key.key,
m_start_key.length);
+
if (error)
{
if (error == HA_ERR_END_OF_FILE)
@@ -6277,6 +6368,13 @@ int ha_partition::handle_ordered_next(uchar *buf, bool is_next_same)
}
DBUG_RETURN(error);
}
+
+ if (!m_using_extended_keys)
+ {
+ file->position(rec_buf);
+ memcpy(rec_buf + m_rec_length, file->ref, file->ref_length);
+ }
+
queue_replace_top(&m_queue);
return_top_record(buf);
DBUG_PRINT("info", ("Record returned from partition %u", m_top_entry));
@@ -7689,8 +7787,8 @@ uint32 ha_partition::calculate_key_hash_value(Field **field_array)
ulong nr1= 1;
ulong nr2= 4;
bool use_51_hash;
- use_51_hash= test((*field_array)->table->part_info->key_algorithm ==
- partition_info::KEY_ALGORITHM_51);
+ use_51_hash= MY_TEST((*field_array)->table->part_info->key_algorithm ==
+ partition_info::KEY_ALGORITHM_51);
do
{
@@ -8448,23 +8546,43 @@ uint ha_partition::min_record_length(uint options) const
If they belong to different partitions we decide that they are not
the same record. Otherwise we use the particular handler to decide if
they are the same. Sort in partition id order if not equal.
+
+ MariaDB note:
+ Please don't merge the code from MySQL that does this:
+
+ We get two references and need to check if those records are the same.
+ If they belong to different partitions we decide that they are not
+ the same record. Otherwise we use the particular handler to decide if
+ they are the same. Sort in partition id order if not equal.
+
+ It is incorrect, MariaDB has an alternative fix.
*/
int ha_partition::cmp_ref(const uchar *ref1, const uchar *ref2)
{
- uint part_id;
+ int cmp;
my_ptrdiff_t diff1, diff2;
- handler *file;
DBUG_ENTER("ha_partition::cmp_ref");
+ cmp = m_file[0]->cmp_ref((ref1 + PARTITION_BYTES_IN_POS),
+ (ref2 + PARTITION_BYTES_IN_POS));
+ if (cmp)
+ DBUG_RETURN(cmp);
+
if ((ref1[0] == ref2[0]) && (ref1[1] == ref2[1]))
{
- part_id= uint2korr(ref1);
- file= m_file[part_id];
- DBUG_ASSERT(part_id < m_tot_parts);
- DBUG_RETURN(file->cmp_ref((ref1 + PARTITION_BYTES_IN_POS),
- (ref2 + PARTITION_BYTES_IN_POS)));
+ /* This means that the references are same and are in same partition.*/
+ DBUG_RETURN(0);
}
+
+ /*
+ In Innodb we compare with either primary key value or global DB_ROW_ID so
+ it is not possible that the two references are equal and are in different
+ partitions, but in myisam it is possible since we are comparing offsets.
+ Remove this assert if DB_ROW_ID is changed to be per partition.
+ */
+ DBUG_ASSERT(!m_innodb);
+
diff1= ref2[1] - ref1[1];
diff2= ref2[0] - ref1[0];
if (diff1 > 0)
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 05262e750f7..71ae84b06a0 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -117,6 +117,8 @@ public:
};
+extern "C" int cmp_key_rowid_part_id(void *ptr, uchar *ref1, uchar *ref2);
+
class ha_partition :public handler
{
private:
@@ -157,6 +159,22 @@ private:
uchar *m_rec0; // table->record[0]
const uchar *m_err_rec; // record which gave error
QUEUE m_queue; // Prio queue used by sorted read
+
+ /*
+ Length of an element in m_ordered_rec_buffer. The elements are composed of
+
+ [part_no] [table->record copy] [underlying_table_rowid]
+
+ underlying_table_rowid is only stored when the table has no extended keys.
+ */
+ uint m_priority_queue_rec_len;
+
+ /*
+ If true, then sorting records by key value also sorts them by their
+ underlying_table_rowid.
+ */
+ bool m_using_extended_keys;
+
/*
Since the partition handler is a handler on top of other handlers, it
is necessary to keep information about what the underlying handler
@@ -1264,6 +1282,9 @@ public:
DBUG_ASSERT(h == m_file[i]->ht);
return h;
}
+
+
+ friend int cmp_key_rowid_part_id(void *ptr, uchar *ref1, uchar *ref2);
};
#endif /* HA_PARTITION_INCLUDED */
diff --git a/sql/handler.cc b/sql/handler.cc
index 521723e4049..50044cf3cab 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -386,12 +386,13 @@ static int ha_finish_errors(void)
static volatile int32 need_full_discover_for_existence= 0;
static volatile int32 engines_with_discover_table_names= 0;
+static volatile int32 engines_with_discover= 0;
static int full_discover_for_existence(handlerton *, const char *, const char *)
-{ return 1; }
+{ return 0; }
static int ext_based_existence(handlerton *, const char *, const char *)
-{ return 1; }
+{ return 0; }
static int hton_ext_based_table_discovery(handlerton *hton, LEX_STRING *db,
MY_DIR *dir, handlerton::discovered_list *result)
@@ -411,6 +412,9 @@ static void update_discovery_counters(handlerton *hton, int val)
if (hton->discover_table_names)
my_atomic_add32(&engines_with_discover_table_names, val);
+
+ if (hton->discover_table)
+ my_atomic_add32(&engines_with_discover, val);
}
int ha_finalize_handlerton(st_plugin_int *plugin)
@@ -1251,7 +1255,8 @@ int ha_commit_trans(THD *thd, bool all)
the changes are not durable as they might be rolled back if the
enclosing 'all' transaction is rolled back.
*/
- bool is_real_trans= all || thd->transaction.all.ha_list == 0;
+ bool is_real_trans= ((all || thd->transaction.all.ha_list == 0) &&
+ !(thd->variables.option_bits & OPTION_GTID_BEGIN));
Ha_trx_info *ha_info= trans->ha_list;
bool need_prepare_ordered, need_commit_ordered;
my_xid xid;
@@ -1266,7 +1271,7 @@ int ha_commit_trans(THD *thd, bool all)
ER(ER_WARNING_NOT_COMPLETE_ROLLBACK)););
DBUG_PRINT("info",
- ("all: %d thd->in_sub_stmt: %d ha_info: %p is_real_trans: %d",
+ ("all: %d thd->in_sub_stmt: %d ha_info: %p is_real_trans: %d",
all, thd->in_sub_stmt, ha_info, is_real_trans));
/*
We must not commit the normal transaction if a statement
@@ -1476,7 +1481,8 @@ int ha_commit_one_phase(THD *thd, bool all)
ha_commit_one_phase() can be called with an empty
transaction.all.ha_list, see why in trans_register_ha()).
*/
- bool is_real_trans=all || thd->transaction.all.ha_list == 0;
+ bool is_real_trans= ((all || thd->transaction.all.ha_list == 0) &&
+ !(thd->variables.option_bits & OPTION_GTID_BEGIN));
int res;
DBUG_ENTER("ha_commit_one_phase");
if (is_real_trans)
@@ -2467,7 +2473,7 @@ int handler::ha_open(TABLE *table_arg, const char *name, int mode,
cached_table_flags= table_flags();
}
reset_statistics();
- internal_tmp_table= test(test_if_locked & HA_OPEN_INTERNAL_TABLE);
+ internal_tmp_table= MY_TEST(test_if_locked & HA_OPEN_INTERNAL_TABLE);
DBUG_RETURN(error);
}
@@ -4117,6 +4123,7 @@ handler::check_if_supported_inplace_alter(TABLE *altered_table,
Alter_inplace_info::ALTER_COLUMN_EQUAL_PACK_LENGTH |
Alter_inplace_info::ALTER_COLUMN_NAME |
Alter_inplace_info::ALTER_COLUMN_DEFAULT |
+ Alter_inplace_info::ALTER_COLUMN_OPTION |
Alter_inplace_info::CHANGE_CREATE_OPTION |
Alter_inplace_info::ALTER_RENAME;
@@ -4785,7 +4792,9 @@ int ha_discover_table(THD *thd, TABLE_SHARE *share)
DBUG_ASSERT(share->error == OPEN_FRM_OPEN_ERROR); // share is not OK yet
- if (share->db_plugin)
+ if (!engines_with_discover)
+ found= FALSE;
+ else if (share->db_plugin)
found= discover_handlerton(thd, share->db_plugin, share);
else
found= plugin_foreach(thd, discover_handlerton,
@@ -4809,6 +4818,7 @@ struct st_discover_existence_args
size_t path_len;
const char *db, *table_name;
handlerton *hton;
+ bool frm_exists;
};
static my_bool discover_existence(THD *thd, plugin_ref plugin,
@@ -4817,7 +4827,7 @@ static my_bool discover_existence(THD *thd, plugin_ref plugin,
st_discover_existence_args *args= (st_discover_existence_args*)arg;
handlerton *ht= plugin_hton(plugin);
if (ht->state != SHOW_OPTION_YES || !ht->discover_table_existence)
- return FALSE;
+ return args->frm_exists;
args->hton= ht;
@@ -4872,40 +4882,36 @@ private:
If the 'hton' is not NULL, it's set to the handlerton of the storage engine
of this table, or to view_pseudo_hton if the frm belongs to a view.
+ This function takes discovery correctly into account. If frm is found,
+ it discovers the table to make sure it really exists in the engine.
+ If no frm is found it discovers the table, in case it still exists in
+ the engine.
+
+ While it tries to cut corners (don't open .frm if no discovering engine is
+ enabled, no full discovery if all discovering engines support
+ discover_table_existence, etc), it still *may* be quite expensive
+ and must be used sparingly.
@retval true Table exists (even if the error occurred, like bad frm)
@retval false Table does not exist (one can do CREATE TABLE table_name)
+
+ @note if frm exists and the table in engine doesn't, *hton will be set,
+ but the return value will be false.
+
+ @note if frm file exists, but the table cannot be opened (engine not
+ loaded, frm is invalid), the return value will be true, but
+ *hton will be NULL.
*/
bool ha_table_exists(THD *thd, const char *db, const char *table_name,
handlerton **hton)
{
+ handlerton *dummy;
DBUG_ENTER("ha_table_exists");
if (hton)
*hton= 0;
-
- if (need_full_discover_for_existence)
- {
- TABLE_LIST table;
- uint flags = GTS_TABLE | GTS_VIEW;
-
- if (!hton)
- flags|= GTS_NOLOCK;
-
- Table_exists_error_handler no_such_table_handler;
- thd->push_internal_handler(&no_such_table_handler);
- TABLE_SHARE *share= tdc_acquire_share(thd, db, table_name, flags);
- thd->pop_internal_handler();
-
- if (hton && share)
- {
- *hton= share->db_type();
- tdc_release_share(share);
- }
-
- // the table doesn't exist if we've caught ER_NO_SUCH_TABLE and nothing else
- DBUG_RETURN(!no_such_table_handler.safely_trapped_errors());
- }
+ else if (engines_with_discover)
+ hton= &dummy;
TABLE_SHARE *share= tdc_lock_share(db, table_name);
if (share)
@@ -4919,22 +4925,29 @@ bool ha_table_exists(THD *thd, const char *db, const char *table_name,
char path[FN_REFLEN + 1];
size_t path_len = build_table_filename(path, sizeof(path) - 1,
db, table_name, "", 0);
+ st_discover_existence_args args= {path, path_len, db, table_name, 0, true};
if (file_ext_exists(path, path_len, reg_ext))
{
+ bool exists= true;
if (hton)
{
enum legacy_db_type db_type;
if (dd_frm_type(thd, path, &db_type) != FRMTYPE_VIEW)
- *hton= ha_resolve_by_legacy_type(thd, db_type);
+ {
+ handlerton *ht= ha_resolve_by_legacy_type(thd, db_type);
+ if ((*hton= ht))
+ // verify that the table really exists
+ exists= discover_existence(thd,
+ plugin_int_to_ref(hton2plugin[ht->slot]), &args);
+ }
else
*hton= view_pseudo_hton;
}
- DBUG_RETURN(TRUE);
+ DBUG_RETURN(exists);
}
- st_discover_existence_args args= {path, path_len, db, table_name, 0};
-
+ args.frm_exists= false;
if (plugin_foreach(thd, discover_existence, MYSQL_STORAGE_ENGINE_PLUGIN,
&args))
{
@@ -4943,6 +4956,30 @@ bool ha_table_exists(THD *thd, const char *db, const char *table_name,
DBUG_RETURN(TRUE);
}
+
+ if (need_full_discover_for_existence)
+ {
+ TABLE_LIST table;
+ uint flags = GTS_TABLE | GTS_VIEW;
+
+ if (!hton)
+ flags|= GTS_NOLOCK;
+
+ Table_exists_error_handler no_such_table_handler;
+ thd->push_internal_handler(&no_such_table_handler);
+ TABLE_SHARE *share= tdc_acquire_share(thd, db, table_name, flags);
+ thd->pop_internal_handler();
+
+ if (hton && share)
+ {
+ *hton= share->db_type();
+ tdc_release_share(share);
+ }
+
+ // the table doesn't exist if we've caught ER_NO_SUCH_TABLE and nothing else
+ DBUG_RETURN(!no_such_table_handler.safely_trapped_errors());
+ }
+
DBUG_RETURN(FALSE);
}
@@ -5731,7 +5768,7 @@ static int binlog_log_row(TABLE* table,
the first row handled in this statement. In that case, we need
to write table maps for all locked tables to the binary log.
*/
- if (likely(!(error= bitmap_init(&cols,
+ if (likely(!(error= my_bitmap_init(&cols,
use_bitbuf ? bitbuf : NULL,
(n_fields + 7) & ~7UL,
FALSE))))
@@ -5753,7 +5790,7 @@ static int binlog_log_row(TABLE* table,
before_record, after_record);
}
if (!use_bitbuf)
- bitmap_free(&cols);
+ my_bitmap_free(&cols);
}
}
return error ? HA_ERR_RBR_LOGGING_FAILED : 0;
diff --git a/sql/handler.h b/sql/handler.h
index 0202fedb1eb..13b783b964b 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -32,6 +32,7 @@
#include "sql_cache.h"
#include "structs.h" /* SHOW_COMP_OPTION */
#include "sql_array.h" /* Dynamic_array<> */
+#include "mdl.h"
#include <my_compare.h>
#include <ft_global.h>
@@ -387,6 +388,7 @@ enum enum_alter_inplace_result {
#define HA_LEX_CREATE_IF_NOT_EXISTS 2
#define HA_LEX_CREATE_TABLE_LIKE 4
#define HA_CREATE_TMP_ALTER 8
+#define HA_LEX_CREATE_REPLACE 16
#define HA_MAX_REC_LENGTH 65535
/* Table caching type */
@@ -1582,9 +1584,16 @@ struct HA_CREATE_INFO
ulong avg_row_length;
ulong used_fields;
ulong key_block_size;
- uint stats_sample_pages; /* number of pages to sample during
- stats estimation, if used, otherwise 0. */
- enum_stats_auto_recalc stats_auto_recalc;
+ /*
+ number of pages to sample during
+ stats estimation, if used, otherwise 0.
+ */
+ uint stats_sample_pages;
+ uint null_bits; /* NULL bits at start of record */
+ uint options; /* OR of HA_CREATE_ options */
+ uint org_options; /* original options from query */
+ uint merge_insert_method;
+ uint extra_size; /* length of extra data segment */
SQL_I_List<TABLE_LIST> merge_list;
handlerton *db_type;
/**
@@ -1597,21 +1606,24 @@ struct HA_CREATE_INFO
If nothing speficied inherits the value of the original table (if present).
*/
enum row_type row_type;
- uint null_bits; /* NULL bits at start of record */
- uint options; /* OR of HA_CREATE_ options */
- uint merge_insert_method;
- uint extra_size; /* length of extra data segment */
enum ha_choice transactional;
- bool varchar; ///< 1 if table has a VARCHAR
enum ha_storage_media storage_media; ///< DEFAULT, DISK or MEMORY
enum ha_choice page_checksum; ///< If we have page_checksums
engine_option_value *option_list; ///< list of table create options
+ enum_stats_auto_recalc stats_auto_recalc;
+ bool varchar; ///< 1 if table has a VARCHAR
/* the following three are only for ALTER TABLE, check_if_incompatible_data() */
ha_table_option_struct *option_struct; ///< structure with parsed table options
ha_field_option_struct **fields_option_struct; ///< array of field option structures
ha_index_option_struct **indexes_option_struct; ///< array of index option structures
+ /* The following is used to remember the old state for CREATE OR REPLACE */
+ TABLE *table;
+ TABLE_LIST *pos_in_locked_tables;
+ MDL_ticket *mdl_ticket;
+ bool table_was_deleted;
+
bool tmp_table() { return options & HA_LEX_CREATE_TMP_TABLE; }
};
@@ -1730,8 +1742,11 @@ public:
// Table is renamed
static const HA_ALTER_FLAGS ALTER_RENAME = 1L << 18;
- // Change the storage type of column
- static const HA_ALTER_FLAGS ALTER_COLUMN_STORAGE_TYPE = 1L << 19;
+ // column's engine options changed, something in field->option_struct
+ static const HA_ALTER_FLAGS ALTER_COLUMN_OPTION = 1L << 19;
+
+ // MySQL alias for the same thing:
+ static const HA_ALTER_FLAGS ALTER_COLUMN_STORAGE_TYPE = 1L << 19;
// Change the column format of column
static const HA_ALTER_FLAGS ALTER_COLUMN_COLUMN_FORMAT = 1L << 20;
@@ -1760,7 +1775,7 @@ public:
// Partition operation with ALL keyword
static const HA_ALTER_FLAGS ALTER_ALL_PARTITION = 1L << 28;
- // Partition operation with ALL keyword
+ // Virtual columns changed
static const HA_ALTER_FLAGS ALTER_COLUMN_VCOL = 1L << 29;
/**
@@ -2707,6 +2722,18 @@ public:
}
virtual double scan_time()
{ return ulonglong2double(stats.data_file_length) / IO_SIZE + 2; }
+
+ /**
+ The cost of reading a set of ranges from the table using an index
+ to access it.
+
+ @param index The index number.
+ @param ranges The number of ranges to be read.
+ @param rows Total number of rows to be read.
+
+ This method can be used to calculate the total cost of scanning a table
+ using an index by calling it using read_time(index, 1, table_size).
+ */
virtual double read_time(uint index, uint ranges, ha_rows rows)
{ return rows2double(ranges+rows); }
@@ -3930,7 +3957,7 @@ static inline const char *ha_resolve_storage_engine_name(const handlerton *db_ty
static inline bool ha_check_storage_engine_flag(const handlerton *db_type, uint32 flag)
{
- return db_type == NULL ? FALSE : test(db_type->flags & flag);
+ return db_type == NULL ? FALSE : MY_TEST(db_type->flags & flag);
}
static inline bool ha_storage_engine_is_enabled(const handlerton *db_type)
diff --git a/sql/hash_filo.h b/sql/hash_filo.h
index abba4824c9e..4c8c7575efc 100644
--- a/sql/hash_filo.h
+++ b/sql/hash_filo.h
@@ -199,4 +199,17 @@ public:
}
};
+template <class T> class Hash_filo: public hash_filo
+{
+public:
+ Hash_filo(uint size_arg, uint key_offset_arg, uint key_length_arg,
+ my_hash_get_key get_key_arg, my_hash_free_key free_element_arg,
+ CHARSET_INFO *hash_charset_arg) :
+ hash_filo(size_arg, key_offset_arg, key_length_arg,
+ get_key_arg, free_element_arg, hash_charset_arg) {}
+ T* first() { return (T*)hash_filo::first(); }
+ T* last() { return (T*)hash_filo::last(); }
+ T* search(uchar* key, size_t len) { return (T*)hash_filo::search(key, len); }
+};
+
#endif
diff --git a/sql/hostname.cc b/sql/hostname.cc
index 1200dd2c185..11cd16ac857 100644
--- a/sql/hostname.cc
+++ b/sql/hostname.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2011, Monty Program Ab
+/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
+ Copyright (c) 2011, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -126,7 +126,7 @@ void Host_errors::aggregate(const Host_errors *errors)
m_local+= errors->m_local;
}
-static hash_filo *hostname_cache;
+static Hash_filo<Host_entry> *hostname_cache;
ulong host_cache_size;
void hostname_cache_refresh()
@@ -149,7 +149,7 @@ bool hostname_cache_init()
Host_entry tmp;
uint key_offset= (uint) ((char*) (&tmp.ip_key) - (char*) &tmp);
- if (!(hostname_cache= new hash_filo(HOST_CACHE_SIZE,
+ if (!(hostname_cache= new Hash_filo<Host_entry>(host_cache_size,
key_offset, HOST_ENTRY_KEY_SIZE,
NULL, (my_hash_free_key) free,
&my_charset_bin)))
@@ -187,11 +187,11 @@ static void prepare_hostname_cache_key(const char *ip_string,
}
Host_entry *hostname_cache_first()
-{ return (Host_entry *) hostname_cache->first(); }
+{ return hostname_cache->first(); }
static inline Host_entry *hostname_cache_search(const char *ip_key)
{
- return (Host_entry *) hostname_cache->search((uchar *) ip_key, 0);
+ return hostname_cache->search((uchar *) ip_key, 0);
}
static void add_hostname_impl(const char *ip_key, const char *hostname,
diff --git a/sql/item.cc b/sql/item.cc
index 1295902c1cd..9b27f730e80 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -41,7 +41,6 @@
// REPORT_EXCEPT_NOT_FOUND,
// find_item_in_list,
// RESOLVED_AGAINST_ALIAS, ...
-#include "log_event.h" // append_query_string
#include "sql_expression_cache.h"
const String my_null_string("NULL", 4, default_charset_info);
@@ -234,6 +233,36 @@ bool Item::val_bool()
}
+/**
+ Get date/time/datetime.
+ Optionally extend TIME result to DATETIME.
+*/
+bool Item::get_date_with_conversion(MYSQL_TIME *ltime, ulonglong fuzzydate)
+{
+ /*
+ Some TIME type items return error when trying to do get_date()
+ without TIME_TIME_ONLY set (e.g. Item_field for Field_time).
+ In the SQL standard time->datetime conversion mode we add TIME_TIME_ONLY.
+ In the legacy time->datetime conversion mode we do not add TIME_TIME_ONLY
+ and leave it to get_date() to check date.
+ */
+ ulonglong time_flag= (field_type() == MYSQL_TYPE_TIME &&
+ !(current_thd->variables.old_behavior & OLD_MODE_ZERO_DATE_TIME_CAST)) ?
+ TIME_TIME_ONLY : 0;
+ if (get_date(ltime, fuzzydate | time_flag))
+ return true;
+ if (ltime->time_type == MYSQL_TIMESTAMP_TIME &&
+ !(fuzzydate & TIME_TIME_ONLY))
+ {
+ MYSQL_TIME tmp;
+ if (time_to_datetime_with_warn(current_thd, ltime, &tmp, fuzzydate))
+ return null_value= true;
+ *ltime= tmp;
+ }
+ return false;
+}
+
+
/*
For the items which don't have its own fast val_str_ascii()
implementation we provide a generic slower version,
@@ -312,12 +341,29 @@ String *Item::val_string_from_decimal(String *str)
}
+/*
+ All val_xxx_from_date() must call this method, to expose consistent behaviour
+ regarding SQL_MODE when converting DATE/DATETIME to other data types.
+*/
+bool Item::get_temporal_with_sql_mode(MYSQL_TIME *ltime)
+{
+ return get_date(ltime, field_type() == MYSQL_TYPE_TIME
+ ? TIME_TIME_ONLY
+ : sql_mode_for_dates(current_thd));
+}
+
+
+bool Item::is_null_from_temporal()
+{
+ MYSQL_TIME ltime;
+ return get_temporal_with_sql_mode(&ltime);
+}
+
+
String *Item::val_string_from_date(String *str)
{
MYSQL_TIME ltime;
- if (get_date(&ltime, field_type() == MYSQL_TYPE_TIME
- ? TIME_TIME_ONLY
- : sql_mode_for_dates(current_thd)) ||
+ if (get_temporal_with_sql_mode(&ltime) ||
str->alloc(MAX_DATE_STRING_REP_LENGTH))
{
null_value= 1;
@@ -374,7 +420,7 @@ my_decimal *Item::val_decimal_from_date(my_decimal *decimal_value)
{
DBUG_ASSERT(fixed == 1);
MYSQL_TIME ltime;
- if (get_date(&ltime, sql_mode_for_dates(current_thd)))
+ if (get_temporal_with_sql_mode(&ltime))
{
my_decimal_set_zero(decimal_value);
null_value= 1; // set NULL, stop processing
@@ -401,7 +447,7 @@ longlong Item::val_int_from_date()
{
DBUG_ASSERT(fixed == 1);
MYSQL_TIME ltime;
- if (get_date(&ltime, 0))
+ if (get_temporal_with_sql_mode(&ltime))
return 0;
longlong v= TIME_to_ulonglong(&ltime);
return ltime.neg ? -v : v;
@@ -412,7 +458,7 @@ double Item::val_real_from_date()
{
DBUG_ASSERT(fixed == 1);
MYSQL_TIME ltime;
- if (get_date(&ltime, 0))
+ if (get_temporal_with_sql_mode(&ltime))
return 0;
return TIME_to_double(&ltime);
}
@@ -852,7 +898,7 @@ void Item_ident::cleanup()
table_name= orig_table_name;
field_name= orig_field_name;
/* Store if this Item was depended */
- can_be_depended= test(depended_from);
+ can_be_depended= MY_TEST(depended_from);
DBUG_VOID_RETURN;
}
@@ -1681,17 +1727,28 @@ bool Item_name_const::is_null()
Item_name_const::Item_name_const(Item *name_arg, Item *val):
value_item(val), name_item(name_arg)
{
- if (!(valid_args= name_item->basic_const_item() &&
- (value_item->basic_const_item() ||
- ((value_item->type() == FUNC_ITEM) &&
- ((((Item_func *) value_item)->functype() ==
- Item_func::COLLATE_FUNC) ||
- ((((Item_func *) value_item)->functype() ==
- Item_func::NEG_FUNC) &&
- (((Item_func *) value_item)->key_item()->type() !=
- FUNC_ITEM)))))))
- my_error(ER_WRONG_ARGUMENTS, MYF(0), "NAME_CONST");
Item::maybe_null= TRUE;
+ valid_args= true;
+ if (!name_item->basic_const_item())
+ goto err;
+
+ if (value_item->basic_const_item())
+ return; // ok
+
+ if (value_item->type() == FUNC_ITEM)
+ {
+ Item_func *value_func= (Item_func *) value_item;
+ if (value_func->functype() != Item_func::COLLATE_FUNC &&
+ value_func->functype() != Item_func::NEG_FUNC)
+ goto err;
+
+ if (value_func->key_item()->basic_const_item())
+ return; // ok
+ }
+
+err:
+ valid_args= false;
+ my_error(ER_WRONG_ARGUMENTS, MYF(0), "NAME_CONST");
}
@@ -2428,7 +2485,7 @@ void Item_field::set_field(Field *field_par)
field_name= field_par->field_name;
db_name= field_par->table->s->db.str;
alias_name_used= field_par->table->alias_name_used;
- unsigned_flag=test(field_par->flags & UNSIGNED_FLAG);
+ unsigned_flag= MY_TEST(field_par->flags & UNSIGNED_FLAG);
collation.set(field_par->charset(), field_par->derivation(),
field_par->repertoire());
fix_char_length(field_par->char_length());
@@ -3708,8 +3765,9 @@ const String *Item_param::query_val_str(THD *thd, String* str) const
case LONG_DATA_VALUE:
{
str->length(0);
- append_query_string(thd, value.cs_info.character_set_client, &str_value,
- str);
+ append_query_string(value.cs_info.character_set_client, str,
+ str_value.ptr(), str_value.length(),
+ thd->variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES);
break;
}
case NULL_VALUE:
@@ -5228,8 +5286,8 @@ bool Item_field::fix_fields(THD *thd, Item **reference)
if (any_privileges)
{
char *db, *tab;
- db= cached_table->get_db_name();
- tab= cached_table->get_table_name();
+ db= field->table->s->db.str;
+ tab= field->table->s->table_name.str;
if (!(have_privileges= (get_column_grant(thd, &field->table->grant,
db, tab, field_name) &
VIEW_ANY_ACL)))
@@ -5250,7 +5308,12 @@ bool Item_field::fix_fields(THD *thd, Item **reference)
marker= thd->lex->current_select->cur_pos_in_select_list;
}
mark_non_agg_field:
- if (fixed && thd->variables.sql_mode & MODE_ONLY_FULL_GROUP_BY)
+ /*
+ table->pos_in_table_list can be 0 when fixing partition functions
+ or virtual fields.
+ */
+ if (fixed && (thd->variables.sql_mode & MODE_ONLY_FULL_GROUP_BY) &&
+ field->table->pos_in_table_list)
{
/*
Mark selects according to presence of non aggregated fields.
@@ -5263,7 +5326,7 @@ mark_non_agg_field:
(the current level) or a stub added by non-SELECT queries.
*/
SELECT_LEX *select_lex= cached_table ?
- cached_table->select_lex : context->select_lex;
+ cached_table->select_lex : field->table->pos_in_table_list->select_lex;
if (!thd->lex->in_sum_func)
select_lex->set_non_agg_field_used(true);
else
@@ -5903,13 +5966,51 @@ static int save_field_in_field(Field *from, bool *null_value,
}
+static int memcpy_field_value(Field *to, Field *from)
+{
+ if (to->ptr != from->ptr)
+ memcpy(to->ptr,from->ptr, to->pack_length());
+ return 0;
+}
+
+fast_field_copier Item_field::setup_fast_field_copier(Field *to)
+{
+ DBUG_ENTER("Item_field::setup_fast_field_copier");
+ DBUG_RETURN(memcpy_field_possible(to, field) ?
+ &memcpy_field_value :
+ &field_conv_incompatible);
+}
+
+
/**
Set a field's value from a item.
*/
-void Item_field::save_org_in_field(Field *to)
+void Item_field::save_org_in_field(Field *to,
+ fast_field_copier fast_field_copier_func)
{
- save_field_in_field(field, &null_value, to, TRUE);
+ DBUG_ENTER("Item_field::save_org_in_field");
+ DBUG_PRINT("enter", ("setup: 0x%lx data: 0x%lx",
+ (ulong) to, (ulong) fast_field_copier_func));
+ if (fast_field_copier_func)
+ {
+ if (field->is_null())
+ {
+ null_value= TRUE;
+ set_field_to_null_with_conversions(to, TRUE);
+ DBUG_VOID_RETURN;
+ }
+ to->set_notnull();
+ if (to == field)
+ {
+ null_value= 0;
+ DBUG_VOID_RETURN;
+ }
+ (*fast_field_copier_func)(to, field);
+ }
+ else
+ save_field_in_field(field, &null_value, to, TRUE);
+ DBUG_VOID_RETURN;
}
@@ -7430,9 +7531,9 @@ int Item_ref::save_in_field(Field *to, bool no_conversions)
}
-void Item_ref::save_org_in_field(Field *field)
+void Item_ref::save_org_in_field(Field *field, fast_field_copier optimizer_data)
{
- (*ref)->save_org_in_field(field);
+ (*ref)->save_org_in_field(field, optimizer_data);
}
@@ -8303,7 +8404,7 @@ int Item_default_value::save_in_field(Field *field_arg, bool no_conversions)
if (context->error_processor == &view_error_processor)
{
- TABLE_LIST *view= cached_table->top_table();
+ TABLE_LIST *view= field_arg->table->pos_in_table_list->top_table();
push_warning_printf(field_arg->table->in_use,
Sql_condition::WARN_LEVEL_WARN,
ER_NO_DEFAULT_FOR_VIEW_FIELD,
@@ -8413,6 +8514,8 @@ bool Item_insert_value::fix_fields(THD *thd, Item **items)
{
tmp_field->init(field_arg->field->table);
set_field(tmp_field);
+ // the index is important when read bits set
+ tmp_field->field_index= field_arg->field->field_index;
}
}
return FALSE;
@@ -8725,6 +8828,25 @@ int stored_field_cmp_to_item(THD *thd, Field *field, Item *item)
{
Item_result res_type=item_cmp_type(field->result_type(),
item->result_type());
+ /*
+ We have to check field->cmp_type() instead of res_type,
+ as result_type() - and thus res_type - can never be TIME_RESULT (yet).
+ */
+ if (field->cmp_type() == TIME_RESULT)
+ {
+ MYSQL_TIME field_time, item_time;
+ if (field->type() == MYSQL_TYPE_TIME)
+ {
+ field->get_time(&field_time);
+ item->get_time(&item_time);
+ }
+ else
+ {
+ field->get_date(&field_time, TIME_INVALID_DATES);
+ item->get_date(&item_time, TIME_INVALID_DATES);
+ }
+ return my_time_compare(&field_time, &item_time);
+ }
if (res_type == STRING_RESULT)
{
char item_buff[MAX_FIELD_WIDTH];
@@ -8775,25 +8897,6 @@ int stored_field_cmp_to_item(THD *thd, Field *field, Item *item)
return my_decimal_cmp(field_val, item_val);
}
/*
- We have to check field->cmp_type() instead of res_type,
- as result_type() - and thus res_type - can never be TIME_RESULT (yet).
- */
- if (field->cmp_type() == TIME_RESULT)
- {
- MYSQL_TIME field_time, item_time;
- if (field->type() == MYSQL_TYPE_TIME)
- {
- field->get_time(&field_time);
- item->get_time(&item_time);
- }
- else
- {
- field->get_date(&field_time, TIME_INVALID_DATES);
- item->get_date(&item_time, TIME_INVALID_DATES);
- }
- return my_time_compare(&field_time, &item_time);
- }
- /*
The patch for Bug#13463415 started using this function for comparing
BIGINTs. That uncovered a bug in Visual Studio 32bit optimized mode.
Prefixing the auto variables with volatile fixes the problem....
diff --git a/sql/item.h b/sql/item.h
index f0986e3728d..29e727b8d5f 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -709,8 +709,12 @@ public:
/* Function returns 1 on overflow and -1 on fatal errors */
int save_in_field_no_warnings(Field *field, bool no_conversions);
virtual int save_in_field(Field *field, bool no_conversions);
- virtual void save_org_in_field(Field *field)
+ virtual void save_org_in_field(Field *field,
+ fast_field_copier data
+ __attribute__ ((__unused__)))
{ (void) save_in_field(field, 1); }
+ virtual fast_field_copier setup_fast_field_copier(Field *field)
+ { return NULL; }
virtual int save_safe_in_field(Field *field)
{ return save_in_field(field, 1); }
virtual bool send(Protocol *protocol, String *str);
@@ -946,7 +950,7 @@ public:
save_val() is method of val_* family which stores value in the given
field.
*/
- virtual void save_val(Field *to) { save_org_in_field(to); }
+ virtual void save_val(Field *to) { save_org_in_field(to, NULL); }
/*
save_result() is method of val*result() family which stores value in
the given field.
@@ -967,6 +971,11 @@ public:
double val_real_from_decimal();
double val_real_from_date();
+ // Get TIME, DATE or DATETIME using proper sql_mode flags for the field type
+ bool get_temporal_with_sql_mode(MYSQL_TIME *ltime);
+ // Check NULL value for a TIME, DATE or DATETIME expression
+ bool is_null_from_temporal();
+
int save_time_in_field(Field *field);
int save_date_in_field(Field *field);
int save_str_value_in_field(Field *field, String *result);
@@ -1071,6 +1080,8 @@ public:
virtual bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate);
bool get_time(MYSQL_TIME *ltime)
{ return get_date(ltime, TIME_TIME_ONLY | TIME_INVALID_DATES); }
+ // Get date with automatic TIME->DATETIME conversion
+ bool get_date_with_conversion(MYSQL_TIME *ltime, ulonglong fuzzydate);
bool get_seconds(ulonglong *sec, ulong *sec_part);
virtual bool get_date_result(MYSQL_TIME *ltime, ulonglong fuzzydate)
{ return get_date(ltime,fuzzydate); }
@@ -1462,7 +1473,7 @@ public:
{
if (is_expensive_cache < 0)
is_expensive_cache= walk(&Item::is_expensive_processor, 0, (uchar*)0);
- return test(is_expensive_cache);
+ return MY_TEST(is_expensive_cache);
}
virtual Field::geometry_type get_geometry_type() const
{ return Field::GEOM_GEOMETRY; };
@@ -2070,7 +2081,8 @@ public:
void fix_after_pullout(st_select_lex *new_parent, Item **ref);
void make_field(Send_field *tmp_field);
int save_in_field(Field *field,bool no_conversions);
- void save_org_in_field(Field *field);
+ void save_org_in_field(Field *field, fast_field_copier optimizer_data);
+ fast_field_copier setup_fast_field_copier(Field *field);
table_map used_tables() const;
table_map all_used_tables() const;
enum Item_result result_type () const
@@ -2105,7 +2117,11 @@ public:
tab->merge_keys.merge(field->part_of_key);
if (tab->read_set)
bitmap_fast_test_and_set(tab->read_set, field->field_index);
- if (field->vcol_info)
+ /*
+ Do not mark a self-referecing virtual column.
+ Such virtual columns are reported as invalid.
+ */
+ if (field->vcol_info && tab->vcol_set)
tab->mark_virtual_col(field);
}
}
@@ -2400,7 +2416,7 @@ public:
virtual void print(String *str, enum_query_type query_type);
Item_num *neg() { value= -value; return this; }
uint decimal_precision() const
- { return (uint)(max_length - test(value < 0)); }
+ { return (uint) (max_length - MY_TEST(value < 0)); }
bool eq(const Item *, bool binary_cmp) const;
bool check_partition_func_processor(uchar *bool_arg) { return FALSE;}
bool check_vcol_func_processor(uchar *arg) { return FALSE;}
@@ -2922,6 +2938,9 @@ public:
bool check_partition_func_processor(uchar *int_arg) {return FALSE;}
bool check_vcol_func_processor(uchar *arg) { return FALSE;}
+ bool is_null()
+ { return is_null_from_temporal(); }
+ bool get_date_with_sql_mode(MYSQL_TIME *to);
String *val_str(String *str)
{ return val_string_from_date(str); }
longlong val_int()
@@ -2948,6 +2967,14 @@ public:
{
max_length= MAX_DATE_WIDTH;
fixed= 1;
+ /*
+ If date has zero month or day, it can return NULL in case of
+ NO_ZERO_DATE or NO_ZERO_IN_DATE.
+ We can't just check the current sql_mode here in constructor,
+ because sql_mode can change in case of prepared statements
+ between PREPARE and EXECUTE.
+ */
+ maybe_null= !ltime->month || !ltime->day;
}
enum_field_types field_type() const { return MYSQL_TYPE_DATE; }
void print(String *str, enum_query_type query_type);
@@ -2984,6 +3011,8 @@ public:
{
max_length= MAX_DATETIME_WIDTH + (decimals ? decimals + 1 : 0);
fixed= 1;
+ // See the comment on maybe_null in Item_date_literal
+ maybe_null= !ltime->month || !ltime->day;
}
enum_field_types field_type() const { return MYSQL_TYPE_DATETIME; }
void print(String *str, enum_query_type query_type);
@@ -3099,7 +3128,9 @@ public:
bool fix_fields(THD *, Item **);
void fix_after_pullout(st_select_lex *new_parent, Item **ref);
int save_in_field(Field *field, bool no_conversions);
- void save_org_in_field(Field *field);
+ void save_org_in_field(Field *field, fast_field_copier optimizer_data);
+ fast_field_copier setup_fast_field_copier(Field *field)
+ { return (*ref)->setup_fast_field_copier(field); }
enum Item_result result_type () const { return (*ref)->result_type(); }
enum_field_types field_type() const { return (*ref)->field_type(); }
Field *get_tmp_table_field()
@@ -3328,7 +3359,8 @@ public:
bool is_null();
bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate);
bool send(Protocol *protocol, String *buffer);
- void save_org_in_field(Field *field)
+ void save_org_in_field(Field *field,
+ fast_field_copier data __attribute__ ((__unused__)))
{
save_val(field);
}
@@ -3525,7 +3557,8 @@ public:
return Item_direct_ref::get_date(ltime, fuzzydate);
}
bool send(Protocol *protocol, String *buffer);
- void save_org_in_field(Field *field)
+ void save_org_in_field(Field *field,
+ fast_field_copier data __attribute__ ((__unused__)))
{
if (check_null_ref())
field->set_null();
@@ -3543,6 +3576,7 @@ public:
void cleanup()
{
null_ref_table= NULL;
+ item_equal= NULL;
Item_direct_ref::cleanup();
}
};
@@ -3591,7 +3625,7 @@ public:
{}
void save_in_result_field(bool no_conversions)
{
- outer_ref->save_org_in_field(result_field);
+ outer_ref->save_org_in_field(result_field, NULL);
}
bool fix_fields(THD *, Item **);
void fix_after_pullout(st_select_lex *new_parent, Item **ref);
@@ -3993,7 +4027,7 @@ public:
bool walk(Item_processor processor, bool walk_subquery, uchar *args)
{
- return arg->walk(processor, walk_subquery, args) ||
+ return (arg && arg->walk(processor, walk_subquery, args)) ||
(this->*processor)(args);
}
@@ -4225,7 +4259,7 @@ public:
virtual void store(Item *item);
virtual bool cache_value()= 0;
bool basic_const_item() const
- { return test(example && example->basic_const_item());}
+ { return MY_TEST(example && example->basic_const_item()); }
virtual void clear() { null_value= TRUE; value_cached= FALSE; }
bool is_null() { return null_value; }
virtual bool is_expensive()
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 5852108dc43..4b9eb37488e 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -503,7 +503,7 @@ static bool convert_const_to_int(THD *thd, Item_field *field_item,
if (0 == field_cmp)
{
Item *tmp= new Item_int_with_ref(field->val_int(), *item,
- test(field->flags & UNSIGNED_FLAG));
+ MY_TEST(field->flags & UNSIGNED_FLAG));
if (tmp)
thd->change_item_tree(item, tmp);
result= 1; // Item was replaced
@@ -1044,8 +1044,8 @@ int Arg_comparator::compare_e_string()
res1= (*a)->val_str(&value1);
res2= (*b)->val_str(&value2);
if (!res1 || !res2)
- return test(res1 == res2);
- return test(sortcmp(res1, res2, cmp_collation.collation) == 0);
+ return MY_TEST(res1 == res2);
+ return MY_TEST(sortcmp(res1, res2, cmp_collation.collation) == 0);
}
@@ -1055,8 +1055,8 @@ int Arg_comparator::compare_e_binary_string()
res1= (*a)->val_str(&value1);
res2= (*b)->val_str(&value2);
if (!res1 || !res2)
- return test(res1 == res2);
- return test(stringcmp(res1, res2) == 0);
+ return MY_TEST(res1 == res2);
+ return MY_TEST(stringcmp(res1, res2) == 0);
}
@@ -1111,8 +1111,8 @@ int Arg_comparator::compare_e_real()
double val1= (*a)->val_real();
double val2= (*b)->val_real();
if ((*a)->null_value || (*b)->null_value)
- return test((*a)->null_value && (*b)->null_value);
- return test(val1 == val2);
+ return MY_TEST((*a)->null_value && (*b)->null_value);
+ return MY_TEST(val1 == val2);
}
int Arg_comparator::compare_e_decimal()
@@ -1121,8 +1121,8 @@ int Arg_comparator::compare_e_decimal()
my_decimal *val1= (*a)->val_decimal(&decimal1);
my_decimal *val2= (*b)->val_decimal(&decimal2);
if ((*a)->null_value || (*b)->null_value)
- return test((*a)->null_value && (*b)->null_value);
- return test(my_decimal_cmp(val1, val2) == 0);
+ return MY_TEST((*a)->null_value && (*b)->null_value);
+ return MY_TEST(my_decimal_cmp(val1, val2) == 0);
}
@@ -1160,8 +1160,8 @@ int Arg_comparator::compare_e_real_fixed()
double val1= (*a)->val_real();
double val2= (*b)->val_real();
if ((*a)->null_value || (*b)->null_value)
- return test((*a)->null_value && (*b)->null_value);
- return test(val1 == val2 || fabs(val1 - val2) < precision);
+ return MY_TEST((*a)->null_value && (*b)->null_value);
+ return MY_TEST(val1 == val2 || fabs(val1 - val2) < precision);
}
@@ -1272,8 +1272,8 @@ int Arg_comparator::compare_e_int()
longlong val1= (*a)->val_int();
longlong val2= (*b)->val_int();
if ((*a)->null_value || (*b)->null_value)
- return test((*a)->null_value && (*b)->null_value);
- return test(val1 == val2);
+ return MY_TEST((*a)->null_value && (*b)->null_value);
+ return MY_TEST(val1 == val2);
}
/**
@@ -1284,8 +1284,8 @@ int Arg_comparator::compare_e_int_diff_signedness()
longlong val1= (*a)->val_int();
longlong val2= (*b)->val_int();
if ((*a)->null_value || (*b)->null_value)
- return test((*a)->null_value && (*b)->null_value);
- return (val1 >= 0) && test(val1 == val2);
+ return MY_TEST((*a)->null_value && (*b)->null_value);
+ return (val1 >= 0) && MY_TEST(val1 == val2);
}
int Arg_comparator::compare_row()
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index a0d9b7c20fa..4b3acf83f85 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1,7 +1,7 @@
#ifndef ITEM_CMPFUNC_INCLUDED
#define ITEM_CMPFUNC_INCLUDED
/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
- Copyright (c) 2009, 2011, Monty Program Ab
+ Copyright (c) 2009, 2011, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -388,7 +388,7 @@ public:
Item_func::print_op(str, query_type);
}
- bool is_null() { return test(args[0]->is_null() || args[1]->is_null()); }
+ bool is_null() { return MY_TEST(args[0]->is_null() || args[1]->is_null()); }
bool is_bool_func() { return 1; }
CHARSET_INFO *compare_collation() { return cmp.cmp_collation.collation; }
uint decimal_precision() const { return 1; }
@@ -874,7 +874,7 @@ public:
/* Compare values number pos1 and pos2 for equality */
bool compare_elems(uint pos1, uint pos2)
{
- return test(compare(collation, base + pos1*size, base + pos2*size));
+ return MY_TEST(compare(collation, base + pos1 * size, base + pos2 * size));
}
virtual Item_result result_type()= 0;
};
@@ -1838,7 +1838,7 @@ public:
bool contains(Field *field);
Item* get_first(struct st_join_table *context, Item *field);
/** Get number of field items / references to field items in this object */
- uint n_field_items() { return equal_items.elements-test(with_const); }
+ uint n_field_items() { return equal_items.elements - MY_TEST(with_const); }
void merge(Item_equal *item);
bool merge_with_check(Item_equal *equal_item, bool save_merged);
void merge_into_list(List<Item_equal> *list, bool save_merged,
diff --git a/sql/item_create.cc b/sql/item_create.cc
index fa8c016d61b..a3e0dc6012b 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -1797,6 +1797,19 @@ protected:
};
+class Create_func_master_gtid_wait : public Create_native_func
+{
+public:
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+
+ static Create_func_master_gtid_wait s_singleton;
+
+protected:
+ Create_func_master_gtid_wait() {}
+ virtual ~Create_func_master_gtid_wait() {}
+};
+
+
class Create_func_md5 : public Create_func_arg1
{
public:
@@ -3184,6 +3197,13 @@ Create_func_binlog_gtid_pos Create_func_binlog_gtid_pos::s_singleton;
Item*
Create_func_binlog_gtid_pos::create_2_arg(THD *thd, Item *arg1, Item *arg2)
{
+#ifdef HAVE_REPLICATION
+ if (!mysql_bin_log.is_open())
+#endif
+ {
+ my_error(ER_NO_BINARY_LOGGING, MYF(0));
+ return NULL;
+ }
thd->lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_SYSTEM_FUNCTION);
return new (thd->mem_root) Item_func_binlog_gtid_pos(arg1, arg2);
}
@@ -4614,6 +4634,47 @@ Create_func_master_pos_wait::create_native(THD *thd, LEX_STRING name,
}
+Create_func_master_gtid_wait Create_func_master_gtid_wait::s_singleton;
+
+Item*
+Create_func_master_gtid_wait::create_native(THD *thd, LEX_STRING name,
+ List<Item> *item_list)
+{
+ Item *func= NULL;
+ int arg_count= 0;
+
+ thd->lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_SYSTEM_FUNCTION);
+
+ if (item_list != NULL)
+ arg_count= item_list->elements;
+
+ if (arg_count < 1 || arg_count > 2)
+ {
+ my_error(ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT, MYF(0), name.str);
+ return func;
+ }
+
+ thd->lex->safe_to_cache_query= 0;
+
+ Item *param_1= item_list->pop();
+ switch (arg_count) {
+ case 1:
+ {
+ func= new (thd->mem_root) Item_master_gtid_wait(param_1);
+ break;
+ }
+ case 2:
+ {
+ Item *param_2= item_list->pop();
+ func= new (thd->mem_root) Item_master_gtid_wait(param_1, param_2);
+ break;
+ }
+ }
+
+ return func;
+}
+
+
Create_func_md5 Create_func_md5::s_singleton;
Item*
@@ -5558,6 +5619,7 @@ static Native_func_registry func_array[] =
{ { C_STRING_WITH_LEN("MAKEDATE") }, BUILDER(Create_func_makedate)},
{ { C_STRING_WITH_LEN("MAKETIME") }, BUILDER(Create_func_maketime)},
{ { C_STRING_WITH_LEN("MAKE_SET") }, BUILDER(Create_func_make_set)},
+ { { C_STRING_WITH_LEN("MASTER_GTID_WAIT") }, BUILDER(Create_func_master_gtid_wait)},
{ { C_STRING_WITH_LEN("MASTER_POS_WAIT") }, BUILDER(Create_func_master_pos_wait)},
{ { C_STRING_WITH_LEN("MBRCONTAINS") }, GEOM_BUILDER(Create_func_mbr_contains)},
{ { C_STRING_WITH_LEN("MBRDISJOINT") }, GEOM_BUILDER(Create_func_mbr_disjoint)},
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 2ff93b5538a..eb176d7e490 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -2615,7 +2615,8 @@ void Item_func_round::fix_length_and_dec()
case INT_RESULT:
if ((!decimals_to_set && truncate) || (args[0]->decimal_precision() < DECIMAL_LONGLONG_DIGITS))
{
- int length_can_increase= test(!truncate && (val1 < 0) && !val1_unsigned);
+ int length_can_increase= MY_TEST(!truncate && (val1 < 0) &&
+ !val1_unsigned);
max_length= args[0]->max_length + length_can_increase;
/* Here we can keep INT_RESULT */
cached_result_type= INT_RESULT;
@@ -2665,6 +2666,9 @@ double my_double_round(double value, longlong dec, bool dec_unsigned,
volatile double value_div_tmp= value / tmp;
volatile double value_mul_tmp= value * tmp;
+ if (!dec_negative && my_isinf(tmp)) // "dec" is too large positive number
+ return value;
+
if (dec_negative && my_isinf(tmp))
tmp2= 0.0;
else if (!dec_negative && my_isinf(value_mul_tmp))
@@ -3987,6 +3991,34 @@ err:
}
+longlong Item_master_gtid_wait::val_int()
+{
+ DBUG_ASSERT(fixed == 1);
+ longlong result= 0;
+
+ if (args[0]->null_value)
+ {
+ null_value= 1;
+ return 0;
+ }
+
+ null_value=0;
+#ifdef HAVE_REPLICATION
+ THD* thd= current_thd;
+ longlong timeout_us;
+ String *gtid_pos = args[0]->val_str(&value);
+
+ if (arg_count==2 && !args[1]->null_value)
+ timeout_us= (longlong)(1e6*args[1]->val_real());
+ else
+ timeout_us= (longlong)-1;
+
+ result= rpl_global_gtid_waiting.wait_for_pos(thd, gtid_pos, timeout_us);
+#endif
+ return result;
+}
+
+
/**
Enables a session to wait on a condition until a timeout or a network
disconnect occurs.
@@ -4589,7 +4621,7 @@ longlong Item_func_sleep::val_int()
mysql_cond_destroy(&cond);
- return test(!error); // Return 1 killed
+ return MY_TEST(!error); // Return 1 killed
}
@@ -6656,7 +6688,7 @@ void Item_func_sp::fix_length_and_dec()
max_length= sp_result_field->field_length;
collation.set(sp_result_field->charset());
maybe_null= 1;
- unsigned_flag= test(sp_result_field->flags & UNSIGNED_FLAG);
+ unsigned_flag= MY_TEST(sp_result_field->flags & UNSIGNED_FLAG);
DBUG_VOID_RETURN;
}
@@ -6709,22 +6741,18 @@ Item_func_sp::execute_impl(THD *thd)
{
bool err_status= TRUE;
Sub_statement_state statement_state;
-#ifndef NO_EMBEDDED_ACCESS_CHECKS
Security_context *save_security_ctx= thd->security_ctx;
-#endif
enum enum_sp_data_access access=
(m_sp->m_chistics->daccess == SP_DEFAULT_ACCESS) ?
SP_DEFAULT_ACCESS_MAPPING : m_sp->m_chistics->daccess;
DBUG_ENTER("Item_func_sp::execute_impl");
-#ifndef NO_EMBEDDED_ACCESS_CHECKS
if (context->security_ctx)
{
/* Set view definer security context */
thd->security_ctx= context->security_ctx;
}
-#endif
if (sp_check_access(thd))
goto error;
@@ -6752,9 +6780,7 @@ Item_func_sp::execute_impl(THD *thd)
thd->restore_sub_statement_state(&statement_state);
error:
-#ifndef NO_EMBEDDED_ACCESS_CHECKS
thd->security_ctx= save_security_ctx;
-#endif
DBUG_RETURN(err_status);
}
@@ -6825,11 +6851,9 @@ Item_func_sp::sp_check_access(THD *thd)
{
DBUG_ENTER("Item_func_sp::sp_check_access");
DBUG_ASSERT(m_sp);
-#ifndef NO_EMBEDDED_ACCESS_CHECKS
if (check_routine_access(thd, EXECUTE_ACL,
m_sp->m_db.str, m_sp->m_name.str, 0, FALSE))
DBUG_RETURN(TRUE);
-#endif
DBUG_RETURN(FALSE);
}
@@ -6841,7 +6865,29 @@ Item_func_sp::fix_fields(THD *thd, Item **ref)
bool res;
DBUG_ENTER("Item_func_sp::fix_fields");
DBUG_ASSERT(fixed == 0);
-
+
+ /*
+ Checking privileges to execute the function while creating view and
+ executing the function of select.
+ */
+ if (!(thd->lex->context_analysis_only & CONTEXT_ANALYSIS_ONLY_VIEW) ||
+ (thd->lex->sql_command == SQLCOM_CREATE_VIEW))
+ {
+ Security_context *save_security_ctx= thd->security_ctx;
+ if (context->security_ctx)
+ thd->security_ctx= context->security_ctx;
+
+ res= check_routine_access(thd, EXECUTE_ACL, m_name->m_db.str,
+ m_name->m_name.str, 0, FALSE);
+ thd->security_ctx= save_security_ctx;
+
+ if (res)
+ {
+ context->process_error(thd);
+ DBUG_RETURN(res);
+ }
+ }
+
/*
We must call init_result_field before Item_func::fix_fields()
to make m_sp and result_field members available to fix_length_and_dec(),
diff --git a/sql/item_func.h b/sql/item_func.h
index 270c031955a..69abecc5f39 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1,7 +1,7 @@
#ifndef ITEM_FUNC_INCLUDED
#define ITEM_FUNC_INCLUDED
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2009, 2013, Monty Program Ab.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -160,7 +160,7 @@ public:
void count_decimal_length();
inline bool get_arg0_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
{
- return (null_value=args[0]->get_date(ltime, fuzzy_date));
+ return (null_value=args[0]->get_date_with_conversion(ltime, fuzzy_date));
}
void count_datetime_length(Item **item, uint nitems);
bool count_string_result_length(enum_field_types field_type,
@@ -1643,6 +1643,22 @@ public:
};
+class Item_master_gtid_wait :public Item_int_func
+{
+ String value;
+public:
+ Item_master_gtid_wait(Item *a) :Item_int_func(a) {}
+ Item_master_gtid_wait(Item *a,Item *b) :Item_int_func(a,b) {}
+ longlong val_int();
+ const char *func_name() const { return "master_gtid_wait"; }
+ void fix_length_and_dec() { max_length=10+1+10+1+20+1; maybe_null=0;}
+ bool check_vcol_func_processor(uchar *int_arg)
+ {
+ return trace_unsupported_by_check_vcol_func_processor(func_name());
+ }
+};
+
+
/* Handling of user definable variables */
class user_var_entry;
@@ -1724,7 +1740,9 @@ public:
{
return save_in_field(field, no_conversions, 1);
}
- void save_org_in_field(Field *field) { (void)save_in_field(field, 1, 0); }
+ void save_org_in_field(Field *field,
+ fast_field_copier data __attribute__ ((__unused__)))
+ { (void)save_in_field(field, 1, 0); }
bool register_field_in_read_map(uchar *arg);
bool register_field_in_bitmap(uchar *arg);
bool set_entry(THD *thd, bool create_if_not_exists);
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index 665c941414c..1deda83907c 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -244,7 +244,7 @@ String *Item_func_centroid::val_str(String *str)
srid= uint4korr(swkb->ptr());
str->q_append(srid);
- return (null_value= test(geom->centroid(str))) ? 0 : str;
+ return (null_value= MY_TEST(geom->centroid(str))) ? 0 : str;
}
@@ -859,7 +859,7 @@ String *Item_func_spatial_operation::val_str(String *str_value)
str_value->length(0);
str_value->q_append(srid);
- if (!Geometry::create_from_opresult(&buffer1, str_value, res_receiver))
+ if (Geometry::create_from_opresult(&buffer1, str_value, res_receiver))
goto exit;
exit:
@@ -1116,6 +1116,8 @@ int Item_func_buffer::Transporter::start_line()
{
if (buffer_op == Gcalc_function::op_difference)
{
+ if (m_fn->reserve_op_buffer(1))
+ return 1;
m_fn->add_operation(Gcalc_function::op_false, 0);
skip_line= TRUE;
return 0;
@@ -1317,7 +1319,7 @@ String *Item_func_buffer::val_str(String *str_value)
str_value->length(0);
str_value->q_append(srid);
- if (!Geometry::create_from_opresult(&buffer, str_value, res_receiver))
+ if (Geometry::create_from_opresult(&buffer, str_value, res_receiver))
goto mem_error;
null_value= 0;
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index 1947dae0c50..1ae080ba22d 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -567,7 +567,7 @@ String *Item_func_decode_histogram::val_str(String *str)
int type;
tmp.length(0);
- if (!(res= args[1]->val_str(&tmp)) ||
+ if (!(res= args[0]->val_str(&tmp)) ||
(type= find_type(res->c_ptr_safe(),
&hystorgam_types_typelib, MYF(0))) <= 0)
{
@@ -577,7 +577,7 @@ String *Item_func_decode_histogram::val_str(String *str)
type--;
tmp.length(0);
- if (!(res= args[0]->val_str(&tmp)))
+ if (!(res= args[1]->val_str(&tmp)))
{
null_value= 1;
return 0;
@@ -1163,6 +1163,7 @@ String *Item_func_reverse::val_str(String *str)
if ((l= my_ismbchar(res->charset(),ptr,end)))
{
tmp-= l;
+ DBUG_ASSERT(tmp >= tmp_value.ptr());
memcpy(tmp,ptr,l);
ptr+= l;
}
@@ -2092,18 +2093,35 @@ String *Item_func_trim::val_str(String *str)
ptr= (char*) res->ptr();
end= ptr+res->length();
r_ptr= remove_str->ptr();
- while (ptr+remove_length <= end && !memcmp(ptr,r_ptr,remove_length))
- ptr+=remove_length;
#ifdef USE_MB
if (use_mb(res->charset()))
{
+ while (ptr + remove_length <= end)
+ {
+ uint num_bytes= 0;
+ while (num_bytes < remove_length)
+ {
+ uint len;
+ if ((len= my_ismbchar(res->charset(), ptr + num_bytes, end)))
+ num_bytes+= len;
+ else
+ ++num_bytes;
+ }
+ if (num_bytes != remove_length)
+ break;
+ if (memcmp(ptr, r_ptr, remove_length))
+ break;
+ ptr+= remove_length;
+ }
char *p=ptr;
register uint32 l;
loop:
while (ptr + remove_length < end)
{
- if ((l=my_ismbchar(res->charset(), ptr,end))) ptr+=l;
- else ++ptr;
+ if ((l= my_ismbchar(res->charset(), ptr,end)))
+ ptr+= l;
+ else
+ ++ptr;
}
if (ptr + remove_length == end && !memcmp(ptr,r_ptr,remove_length))
{
@@ -2116,6 +2134,8 @@ String *Item_func_trim::val_str(String *str)
else
#endif /* USE_MB */
{
+ while (ptr+remove_length <= end && !memcmp(ptr,r_ptr,remove_length))
+ ptr+=remove_length;
while (ptr + remove_length <= end &&
!memcmp(end-remove_length,r_ptr,remove_length))
end-=remove_length;
@@ -3534,6 +3554,8 @@ String *Item_func_weight_string::val_str(String *str)
nweights ? nweights : tmp_length,
(const uchar *) res->ptr(), res->length(),
flags);
+ DBUG_ASSERT(frm_length <= tmp_length);
+
tmp_value.length(frm_length);
null_value= 0;
return &tmp_value;
@@ -4259,6 +4281,7 @@ bool Item_func_dyncol_create::fix_fields(THD *thd, Item **ref)
void Item_func_dyncol_create::fix_length_and_dec()
{
+ max_length= MAX_BLOB_WIDTH;
maybe_null= TRUE;
collation.set(&my_charset_bin);
decimals= 0;
@@ -4784,7 +4807,7 @@ String *Item_dyncol_get::val_str(String *str_result)
goto null;
case DYN_COL_INT:
case DYN_COL_UINT:
- str_result->set_int(val.x.long_value, test(val.type == DYN_COL_UINT),
+ str_result->set_int(val.x.long_value, MY_TEST(val.type == DYN_COL_UINT),
&my_charset_latin1);
break;
case DYN_COL_DOUBLE:
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 7b2591e9346..ff8a916d200 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -1084,7 +1084,7 @@ class Item_func_uncompressed_length : public Item_int_func
public:
Item_func_uncompressed_length(Item *a):Item_int_func(a){}
const char *func_name() const{return "uncompressed_length";}
- void fix_length_and_dec() { max_length=10; }
+ void fix_length_and_dec() { max_length=10; maybe_null= true; }
longlong val_int();
};
@@ -1174,6 +1174,7 @@ public:
String *val_str(String *);
void fix_length_and_dec()
{
+ max_length= MAX_BLOB_WIDTH;
maybe_null= 1;
collation.set(&my_charset_bin);
decimals= 0;
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc
index 81c4f0f51e5..38bb3121ed8 100644
--- a/sql/item_subselect.cc
+++ b/sql/item_subselect.cc
@@ -2626,7 +2626,7 @@ static bool check_equality_for_exist2in(Item_func *func,
typedef struct st_eq_field_outer
{
- Item_func **eq_ref;
+ Item **eq_ref;
Item_ident *local_field;
Item *outer_exp;
} EQ_FIELD_OUTER;
@@ -2665,7 +2665,7 @@ static bool find_inner_outer_equalities(Item **conds,
&element.outer_exp))
{
found= TRUE;
- element.eq_ref= (Item_func **)li.ref();
+ element.eq_ref= li.ref();
if (result.append(element))
goto alloc_err;
}
@@ -2677,7 +2677,7 @@ static bool find_inner_outer_equalities(Item **conds,
&element.outer_exp))
{
found= TRUE;
- element.eq_ref= (Item_func **)conds;
+ element.eq_ref= conds;
if (result.append(element))
goto alloc_err;
}
@@ -2700,7 +2700,7 @@ bool Item_exists_subselect::exists2in_processor(uchar *opt_arg)
THD *thd= (THD *)opt_arg;
SELECT_LEX *first_select=unit->first_select(), *save_select;
JOIN *join= first_select->join;
- Item_func *eq= NULL, **eq_ref= NULL;
+ Item **eq_ref= NULL;
Item_ident *local_field= NULL;
Item *outer_exp= NULL;
Item *left_exp= NULL; Item_in_subselect *in_subs;
@@ -2774,7 +2774,6 @@ bool Item_exists_subselect::exists2in_processor(uchar *opt_arg)
{
Item *item= it++;
eq_ref= eqs.at(i).eq_ref;
- eq= *eq_ref;
local_field= eqs.at(i).local_field;
outer_exp= eqs.at(i).outer_exp;
/* Add the field to the SELECT_LIST */
@@ -2789,10 +2788,7 @@ bool Item_exists_subselect::exists2in_processor(uchar *opt_arg)
/* remove the parts from condition */
if (!upper_not || !local_field->maybe_null)
- {
- eq->arguments()[0]= new Item_int(1);
- eq->arguments()[1]= new Item_int(1);
- }
+ *eq_ref= new Item_int(1);
else
{
*eq_ref= new Item_func_isnotnull(
@@ -3341,7 +3337,7 @@ subselect_single_select_engine(THD *thd_arg, st_select_lex *select,
select_result_interceptor *result_arg,
Item_subselect *item_arg)
:subselect_engine(thd_arg, item_arg, result_arg),
- prepared(0), executed(0), optimize_error(0),
+ prepared(0), executed(0),
select_lex(select), join(0)
{
select_lex->master_unit()->item= item_arg;
@@ -3355,7 +3351,7 @@ int subselect_single_select_engine::get_identifier()
void subselect_single_select_engine::cleanup()
{
DBUG_ENTER("subselect_single_select_engine::cleanup");
- prepared= executed= optimize_error= 0;
+ prepared= executed= 0;
join= 0;
result->cleanup();
select_lex->uncacheable&= ~UNCACHEABLE_DEPENDENT_INJECTED;
@@ -3399,7 +3395,7 @@ bool subselect_union_engine::is_executed() const
bool subselect_union_engine::no_rows()
{
/* Check if we got any rows when reading UNION result from temp. table: */
- return test(!unit->fake_select_lex->join->send_records);
+ return MY_TEST(!unit->fake_select_lex->join->send_records);
}
@@ -3589,9 +3585,6 @@ int subselect_single_select_engine::exec()
{
DBUG_ENTER("subselect_single_select_engine::exec");
- if (optimize_error)
- DBUG_RETURN(1);
-
char const *save_where= thd->where;
SELECT_LEX *save_select= thd->lex->current_select;
thd->lex->current_select= select_lex;
@@ -3604,7 +3597,7 @@ int subselect_single_select_engine::exec()
if (join->optimize())
{
thd->where= save_where;
- executed= optimize_error= 1;
+ executed= 1;
thd->lex->current_select= save_select;
DBUG_RETURN(join->error ? join->error : 1);
}
@@ -4685,13 +4678,13 @@ ulonglong subselect_hash_sj_engine::rowid_merge_buff_size(
*/
static my_bool
-bitmap_init_memroot(MY_BITMAP *map, uint n_bits, MEM_ROOT *mem_root)
+my_bitmap_init_memroot(MY_BITMAP *map, uint n_bits, MEM_ROOT *mem_root)
{
my_bitmap_map *bitmap_buf;
if (!(bitmap_buf= (my_bitmap_map*) alloc_root(mem_root,
bitmap_buffer_size(n_bits))) ||
- bitmap_init(map, bitmap_buf, n_bits, FALSE))
+ my_bitmap_init(map, bitmap_buf, n_bits, FALSE))
return TRUE;
bitmap_clear_all(map);
return FALSE;
@@ -4729,9 +4722,9 @@ bool subselect_hash_sj_engine::init(List<Item> *tmp_columns, uint subquery_id)
DBUG_ENTER("subselect_hash_sj_engine::init");
- if (bitmap_init_memroot(&non_null_key_parts, tmp_columns->elements,
+ if (my_bitmap_init_memroot(&non_null_key_parts, tmp_columns->elements,
thd->mem_root) ||
- bitmap_init_memroot(&partial_match_key_parts, tmp_columns->elements,
+ my_bitmap_init_memroot(&partial_match_key_parts, tmp_columns->elements,
thd->mem_root))
DBUG_RETURN(TRUE);
@@ -5241,8 +5234,8 @@ int subselect_hash_sj_engine::exec()
/* The subquery should be optimized, and materialized only once. */
DBUG_ASSERT(materialize_join->optimized && !is_materialized);
materialize_join->exec();
- if ((res= test(materialize_join->error || thd->is_fatal_error ||
- thd->is_error())))
+ if ((res= MY_TEST(materialize_join->error || thd->is_fatal_error ||
+ thd->is_error())))
goto err;
/*
@@ -5325,7 +5318,7 @@ int subselect_hash_sj_engine::exec()
count_pm_keys= count_partial_match_columns - count_null_only_columns +
(nn_key_parts ? 1 : 0);
- choose_partial_match_strategy(test(nn_key_parts),
+ choose_partial_match_strategy(MY_TEST(nn_key_parts),
has_covering_null_row,
&partial_match_key_parts);
DBUG_ASSERT(strategy == PARTIAL_MATCH_MERGE ||
@@ -5453,7 +5446,7 @@ Ordered_key::Ordered_key(uint keyid_arg, TABLE *tbl_arg, Item *search_key_arg,
Ordered_key::~Ordered_key()
{
my_free(key_buff);
- bitmap_free(&null_key);
+ my_bitmap_free(&null_key);
}
@@ -5563,7 +5556,7 @@ bool Ordered_key::alloc_keys_buffers()
lookup offset.
*/
/* Notice that max_null_row is max array index, we need count, so +1. */
- if (bitmap_init(&null_key, NULL, (uint)(max_null_row + 1), FALSE))
+ if (my_bitmap_init(&null_key, NULL, (uint)(max_null_row + 1), FALSE))
return TRUE;
cur_key_idx= HA_POS_ERROR;
@@ -6002,8 +5995,8 @@ subselect_rowid_merge_engine::init(MY_BITMAP *non_null_key_parts,
*/
if (!has_covering_null_columns)
{
- if (bitmap_init_memroot(&matching_keys, merge_keys_count, thd->mem_root) ||
- bitmap_init_memroot(&matching_outer_cols, merge_keys_count, thd->mem_root))
+ if (my_bitmap_init_memroot(&matching_keys, merge_keys_count, thd->mem_root) ||
+ my_bitmap_init_memroot(&matching_outer_cols, merge_keys_count, thd->mem_root))
return TRUE;
/*
@@ -6300,7 +6293,7 @@ bool subselect_rowid_merge_engine::partial_match()
Do not add the non_null_key, since it was already processed above.
*/
bitmap_clear_all(&matching_outer_cols);
- for (uint i= test(non_null_key); i < merge_keys_count; i++)
+ for (uint i= MY_TEST(non_null_key); i < merge_keys_count; i++)
{
DBUG_ASSERT(merge_keys[i]->get_column_count() == 1);
if (merge_keys[i]->get_search_key(0)->null_value)
@@ -6317,7 +6310,7 @@ bool subselect_rowid_merge_engine::partial_match()
nullable columns (above we guarantee there is a match for the non-null
coumns), the result is UNKNOWN.
*/
- if (count_nulls_in_search_key == merge_keys_count - test(non_null_key))
+ if (count_nulls_in_search_key == merge_keys_count - MY_TEST(non_null_key))
{
res= TRUE;
goto end;
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index e806f45041a..92b269d02f1 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -566,7 +566,7 @@ public:
if ( pushed_cond_guards)
pushed_cond_guards[i]= v;
}
- bool have_guarded_conds() { return test(pushed_cond_guards); }
+ bool have_guarded_conds() { return MY_TEST(pushed_cond_guards); }
Item_func_not_all *upper_item; // point on NOT/NOP before ALL/SOME subquery
@@ -621,7 +621,7 @@ public:
int get_identifier();
bool test_strategy(uchar strategy)
- { return test(in_strategy & strategy); }
+ { return MY_TEST(in_strategy & strategy); }
/**
Test that the IN strategy was chosen for execution. This is so
@@ -641,7 +641,7 @@ public:
}
bool is_set_strategy()
- { return test(in_strategy & SUBS_STRATEGY_CHOSEN); }
+ { return MY_TEST(in_strategy & SUBS_STRATEGY_CHOSEN); }
bool has_strategy()
{ return in_strategy != SUBS_NOT_TRANSFORMED; }
@@ -815,7 +815,6 @@ class subselect_single_select_engine: public subselect_engine
{
bool prepared; /* simple subselect is prepared */
bool executed; /* simple subselect is executed */
- bool optimize_error; /* simple subselect optimization failed */
st_select_lex *select_lex; /* corresponding select_lex */
JOIN * join; /* corresponding JOIN structure */
public:
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 32816551491..62db351150b 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -1,5 +1,5 @@
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
- Copyright (c) 2008, 2013 Monty Program Ab
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -261,7 +261,7 @@ bool Item_sum::check_sum_func(THD *thd, Item **ref)
List_iterator<Item_field> of(outer_fields);
while ((field= of++))
{
- SELECT_LEX *sel= field->cached_table->select_lex;
+ SELECT_LEX *sel= field->field->table->pos_in_table_list->select_lex;
if (sel->nest_level < aggr_level)
{
if (in_sum_func)
@@ -1110,18 +1110,19 @@ void Aggregator_distinct::endup()
endup_done= TRUE;
}
}
- else
- {
- /*
- We don't have a tree only if 'setup()' hasn't been called;
- this is the case of sql_select.cc:return_zero_rows.
- */
- if (tree)
- table->field[0]->set_notnull();
- }
+ /*
+ We don't have a tree only if 'setup()' hasn't been called;
+ this is the case of sql_executor.cc:return_zero_rows.
+ */
if (tree && !endup_done)
{
+ /*
+ All tree's values are not NULL.
+ Note that value of field is changed as we walk the tree, in
+ Aggregator_distinct::unique_walk_function, but it's always not NULL.
+ */
+ table->field[0]->set_notnull();
/* go over the tree of distinct keys and calculate the aggregate value */
use_distinct_values= TRUE;
tree_walk_action func;
@@ -1417,7 +1418,7 @@ bool Item_sum_sum::add()
{
my_decimal value;
const my_decimal *val= aggr->arg_val_decimal(&value);
- if (!aggr->arg_is_null())
+ if (!aggr->arg_is_null(true))
{
my_decimal_add(E_DEC_FATAL_ERROR, dec_buffs + (curr_dec_buff^1),
val, dec_buffs + curr_dec_buff);
@@ -1428,7 +1429,7 @@ bool Item_sum_sum::add()
else
{
sum+= aggr->arg_val_real();
- if (!aggr->arg_is_null())
+ if (!aggr->arg_is_null(true))
null_value= 0;
}
DBUG_RETURN(0);
@@ -1554,9 +1555,27 @@ double Aggregator_simple::arg_val_real()
}
-bool Aggregator_simple::arg_is_null()
+bool Aggregator_simple::arg_is_null(bool use_null_value)
{
- return item_sum->args[0]->null_value;
+ Item **item= item_sum->args;
+ const uint item_count= item_sum->arg_count;
+ if (use_null_value)
+ {
+ for (uint i= 0; i < item_count; i++)
+ {
+ if (item[i]->null_value)
+ return true;
+ }
+ }
+ else
+ {
+ for (uint i= 0; i < item_count; i++)
+ {
+ if (item[i]->maybe_null && item[i]->is_null())
+ return true;
+ }
+ }
+ return false;
}
@@ -1574,10 +1593,17 @@ double Aggregator_distinct::arg_val_real()
}
-bool Aggregator_distinct::arg_is_null()
+bool Aggregator_distinct::arg_is_null(bool use_null_value)
{
- return use_distinct_values ? table->field[0]->is_null() :
- item_sum->args[0]->null_value;
+ if (use_distinct_values)
+ {
+ const bool rc= table->field[0]->is_null();
+ DBUG_ASSERT(!rc); // NULLs are never stored in 'tree'
+ return rc;
+ }
+ return use_null_value ?
+ item_sum->args[0]->null_value :
+ (item_sum->args[0]->maybe_null && item_sum->args[0]->is_null());
}
@@ -1595,11 +1621,8 @@ void Item_sum_count::clear()
bool Item_sum_count::add()
{
- for (uint i=0; i<arg_count; i++)
- {
- if (args[i]->maybe_null && args[i]->is_null())
- return 0;
- }
+ if (aggr->arg_is_null(false))
+ return 0;
count++;
return 0;
}
@@ -1691,7 +1714,7 @@ bool Item_sum_avg::add()
{
if (Item_sum_sum::add())
return TRUE;
- if (!aggr->arg_is_null())
+ if (!aggr->arg_is_null(true))
count++;
return FALSE;
}
diff --git a/sql/item_sum.h b/sql/item_sum.h
index e82e0ead1c2..d28c654c438 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -57,19 +57,8 @@ protected:
/* the aggregate function class to act on */
Item_sum *item_sum;
- /**
- When feeding back the data in endup() from Unique/temp table back to
- Item_sum::add() methods we must read the data from Unique (and not
- recalculate the functions that are given as arguments to the aggregate
- function.
- This flag is to tell the add() methods to take the data from the Unique
- instead by calling the relevant val_..() method
- */
-
- bool use_distinct_values;
-
public:
- Aggregator (Item_sum *arg): item_sum(arg), use_distinct_values(FALSE) {}
+ Aggregator (Item_sum *arg): item_sum(arg) {}
virtual ~Aggregator () {} /* Keep gcc happy */
enum Aggregator_type { SIMPLE_AGGREGATOR, DISTINCT_AGGREGATOR };
@@ -106,10 +95,16 @@ public:
/** Floating point value of being-aggregated argument */
virtual double arg_val_real() = 0;
/**
- NULLness of being-aggregated argument; can be called only after
- arg_val_decimal() or arg_val_real().
+ NULLness of being-aggregated argument.
+
+ @param use_null_value Optimization: to determine if the argument is NULL
+ we must, in the general case, call is_null() on it, which itself might
+ call val_*() on it, which might be costly. If you just have called
+ arg_val*(), you can pass use_null_value=true; this way, arg_is_null()
+ might avoid is_null() and instead do a cheap read of the Item's null_value
+ (updated by arg_val*()).
*/
- virtual bool arg_is_null() = 0;
+ virtual bool arg_is_null(bool use_null_value) = 0;
};
@@ -495,7 +490,7 @@ public:
Item *get_arg(uint i) { return args[i]; }
Item *set_arg(uint i, THD *thd, Item *new_val);
- uint get_arg_count() { return arg_count; }
+ uint get_arg_count() const { return arg_count; }
/* Initialization of distinct related members */
void init_aggregator()
@@ -626,10 +621,20 @@ class Aggregator_distinct : public Aggregator
*/
bool always_null;
+ /**
+ When feeding back the data in endup() from Unique/temp table back to
+ Item_sum::add() methods we must read the data from Unique (and not
+ recalculate the functions that are given as arguments to the aggregate
+ function.
+ This flag is to tell the arg_*() methods to take the data from the Unique
+ instead of calling the relevant val_..() method.
+ */
+ bool use_distinct_values;
+
public:
Aggregator_distinct (Item_sum *sum) :
Aggregator(sum), table(NULL), tmp_table_param(NULL), tree(NULL),
- always_null(FALSE) {}
+ always_null(false), use_distinct_values(false) {}
virtual ~Aggregator_distinct ();
Aggregator_type Aggrtype() { return DISTINCT_AGGREGATOR; }
@@ -639,7 +644,7 @@ public:
void endup();
virtual my_decimal *arg_val_decimal(my_decimal * value);
virtual double arg_val_real();
- virtual bool arg_is_null();
+ virtual bool arg_is_null(bool use_null_value);
bool unique_walk_function(void *element);
bool unique_walk_function_for_count(void *element);
@@ -666,7 +671,7 @@ public:
void endup() {};
virtual my_decimal *arg_val_decimal(my_decimal * value);
virtual double arg_val_real();
- virtual bool arg_is_null();
+ virtual bool arg_is_null(bool use_null_value);
};
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc
index 40929c12e3c..4d261e7a7d9 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -1077,7 +1077,7 @@ longlong Item_func_weekday::val_int()
return (longlong) calc_weekday(calc_daynr(ltime.year, ltime.month,
ltime.day),
- odbc_type) + test(odbc_type);
+ odbc_type) + MY_TEST(odbc_type);
}
void Item_func_dayname::fix_length_and_dec()
@@ -1484,27 +1484,52 @@ bool Item_temporal_hybrid_func::fix_temporal_type(MYSQL_TIME *ltime)
{
if (ltime->time_type < 0) /* MYSQL_TIMESTAMP_NONE, MYSQL_TIMESTAMP_ERROR */
return false;
+
+ if (ltime->time_type != MYSQL_TIMESTAMP_TIME)
+ goto date_or_datetime_value;
+
+ /* Convert TIME to DATE or DATETIME */
switch (field_type())
{
+ case MYSQL_TYPE_DATE:
+ case MYSQL_TYPE_DATETIME:
+ case MYSQL_TYPE_TIMESTAMP:
+ {
+ MYSQL_TIME tmp;
+ if (time_to_datetime_with_warn(current_thd, ltime, &tmp, 0))
+ return (null_value= true);
+ *ltime= tmp;
+ if (field_type() == MYSQL_TYPE_DATE)
+ datetime_to_date(ltime);
+ return false;
+ }
case MYSQL_TYPE_TIME:
- ltime->year= ltime->month= ltime->day= 0;
- ltime->time_type= MYSQL_TIMESTAMP_TIME;
+ case MYSQL_TYPE_STRING: /* DATE_ADD, ADDTIME can return VARCHAR */
+ return false;
+ default:
+ DBUG_ASSERT(0);
+ return (null_value= true);
+ }
+
+date_or_datetime_value:
+ /* Convert DATE or DATETIME to TIME, DATE, or DATETIME */
+ switch (field_type())
+ {
+ case MYSQL_TYPE_TIME:
+ datetime_to_time(ltime);
return false;
case MYSQL_TYPE_DATETIME:
case MYSQL_TYPE_TIMESTAMP:
- ltime->neg= 0;
- ltime->time_type= MYSQL_TIMESTAMP_DATETIME;
+ date_to_datetime(ltime);
return false;
case MYSQL_TYPE_DATE:
- ltime->neg= 0;
- ltime->hour= ltime->minute= ltime->second= ltime->second_part= 0;
- ltime->time_type= MYSQL_TIMESTAMP_DATE;
+ datetime_to_date(ltime);
return false;
case MYSQL_TYPE_STRING: /* DATE_ADD, ADDTIME can return VARCHAR */
return false;
default:
DBUG_ASSERT(0);
- return true;
+ return (null_value= true);
}
return false;
}
@@ -2190,8 +2215,10 @@ longlong Item_extract::val_int()
long neg;
int is_time_flag = date_value ? 0 : TIME_TIME_ONLY;
- if (get_arg0_date(&ltime, is_time_flag))
+ // Not using get_arg0_date to avoid automatic TIME to DATETIME conversion
+ if ((null_value= args[0]->get_date(&ltime, is_time_flag)))
return 0;
+
neg= ltime.neg ? -1 : 1;
DBUG_ASSERT(ltime.time_type != MYSQL_TIMESTAMP_TIME || ltime.day == 0);
@@ -2512,26 +2539,7 @@ bool Item_datetime_typecast::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
if (decimals < TIME_SECOND_PART_DIGITS)
my_time_trunc(ltime, decimals);
- /*
- ltime is valid MYSQL_TYPE_TIME (according to fuzzy_date).
- But not every valid TIME value is a valid DATETIME value!
- */
- if (ltime->time_type == MYSQL_TIMESTAMP_TIME)
- {
- if (ltime->neg)
- {
- ErrConvTime str(ltime);
- make_truncated_value_warning(current_thd, Sql_condition::WARN_LEVEL_WARN,
- &str, MYSQL_TIMESTAMP_DATETIME, 0);
- return (null_value= 1);
- }
-
- uint day= ltime->hour/24;
- ltime->hour %= 24;
- ltime->month= day / 31;
- ltime->day= day % 31;
- }
-
+ DBUG_ASSERT(ltime->time_type != MYSQL_TIMESTAMP_TIME);
ltime->time_type= MYSQL_TIMESTAMP_DATETIME;
return 0;
}
@@ -2665,9 +2673,9 @@ bool Item_func_add_time::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
if (!is_time && ltime->neg)
return (null_value= 1);
- days= (long)(seconds/86400L);
+ days= (long) (seconds / SECONDS_IN_24H);
- calc_time_from_sec(ltime, (long)(seconds%86400L), microseconds);
+ calc_time_from_sec(ltime, (long)(seconds % SECONDS_IN_24H), microseconds);
ltime->time_type= is_time ? MYSQL_TIMESTAMP_TIME : MYSQL_TIMESTAMP_DATETIME;
@@ -2850,8 +2858,12 @@ longlong Item_func_timestamp_diff::val_int()
int neg= 1;
null_value= 0;
- if (args[0]->get_date(&ltime1, TIME_NO_ZERO_DATE | TIME_NO_ZERO_IN_DATE) ||
- args[1]->get_date(&ltime2, TIME_NO_ZERO_DATE | TIME_NO_ZERO_IN_DATE))
+ if (args[0]->get_date_with_conversion(&ltime1,
+ TIME_NO_ZERO_DATE |
+ TIME_NO_ZERO_IN_DATE) ||
+ args[1]->get_date_with_conversion(&ltime2,
+ TIME_NO_ZERO_DATE |
+ TIME_NO_ZERO_IN_DATE))
goto null_date;
if (calc_time_diff(&ltime2,&ltime1, 1,
@@ -2921,9 +2933,9 @@ longlong Item_func_timestamp_diff::val_int()
case INTERVAL_MONTH:
return months*neg;
case INTERVAL_WEEK:
- return seconds/86400L/7L*neg;
+ return seconds / SECONDS_IN_24H / 7L * neg;
case INTERVAL_DAY:
- return seconds/86400L*neg;
+ return seconds / SECONDS_IN_24H * neg;
case INTERVAL_HOUR:
return seconds/3600L*neg;
case INTERVAL_MINUTE:
diff --git a/sql/item_xmlfunc.cc b/sql/item_xmlfunc.cc
index 456779beec1..30db7e635e2 100644
--- a/sql/item_xmlfunc.cc
+++ b/sql/item_xmlfunc.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2005, 2011, Oracle and/or its affiliates.
+/* Copyright (c) 2005, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -226,6 +226,9 @@ public:
{
max_length= MAX_BLOB_WIDTH;
collation.collation= pxml->charset();
+ // To avoid premature evaluation, mark all nodeset functions as non-const.
+ used_tables_cache= RAND_TABLE_BIT;
+ const_item_cache= false;
}
const char *func_name() const { return "nodeset"; }
bool check_vcol_func_processor(uchar *int_arg)
@@ -2597,16 +2600,24 @@ my_xpath_parse(MY_XPATH *xpath, const char *str, const char *strend)
void Item_xml_str_func::fix_length_and_dec()
{
+ max_length= MAX_BLOB_WIDTH;
+ agg_arg_charsets_for_comparison(collation, args, arg_count);
+}
+
+
+bool Item_xml_str_func::fix_fields(THD *thd, Item **ref)
+{
String *xp, tmp;
MY_XPATH xpath;
int rc;
+ if (Item_str_func::fix_fields(thd, ref))
+ return true;
+
status_var_increment(current_thd->status_var.feature_xml);
nodeset_func= 0;
- if (agg_arg_charsets_for_comparison(collation, args, arg_count))
- return;
if (collation.collation->mbminlen > 1)
{
@@ -2614,23 +2625,23 @@ void Item_xml_str_func::fix_length_and_dec()
my_printf_error(ER_UNKNOWN_ERROR,
"Character set '%s' is not supported by XPATH",
MYF(0), collation.collation->csname);
- return;
+ return true;
}
if (!args[1]->const_item())
{
my_printf_error(ER_UNKNOWN_ERROR,
"Only constant XPATH queries are supported", MYF(0));
- return;
+ return true;
}
if (!(xp= args[1]->val_str(&tmp)))
- return;
+ return false; // Will return NULL
my_xpath_init(&xpath);
xpath.cs= collation.collation;
xpath.debug= 0;
- xpath.pxml= &pxml;
- pxml.set_charset(collation.collation);
+ xpath.pxml= xml.parsed();
+ xml.set_charset(collation.collation);
rc= my_xpath_parse(&xpath, xp->ptr(), xp->ptr() + xp->length());
@@ -2640,13 +2651,24 @@ void Item_xml_str_func::fix_length_and_dec()
set_if_smaller(clen, 32);
my_printf_error(ER_UNKNOWN_ERROR, "XPATH syntax error: '%.*s'",
MYF(0), clen, xpath.lasttok.beg);
- return;
+ return true;
}
- nodeset_func= xpath.item;
- if (nodeset_func)
- nodeset_func->fix_fields(current_thd, &nodeset_func);
- max_length= MAX_BLOB_WIDTH;
+ /*
+ Parsing XML is a heavy operation, so if the first argument is constant,
+ then parse XML only one time and cache the parsed representation
+ together with raw text representation.
+
+ Note, we cannot cache the entire function result even if
+ the first and the second arguments are constants, because
+ the XPath expression may have user and SP variable references,
+ so the function result can vary between executions.
+ */
+ if ((args[0]->const_item() && get_xml(&xml, true)) ||
+ !(nodeset_func= xpath.item))
+ return false; // Will return NULL
+
+ return nodeset_func->fix_fields(thd, &nodeset_func);
}
@@ -2777,25 +2799,24 @@ int xml_leave(MY_XML_PARSER *st,const char *attr, size_t len)
Parse raw XML
SYNOPSYS
-
RETURN
- Currently pointer to parsed XML on success
- 0 on parse error
+ false on success
+ true on error
*/
-String *Item_xml_str_func::parse_xml(String *raw_xml, String *parsed_xml_buf)
+bool Item_xml_str_func::XML::parse()
{
MY_XML_PARSER p;
MY_XML_USER_DATA user_data;
int rc;
- parsed_xml_buf->length(0);
+ m_parsed_buf.length(0);
/* Prepare XML parser */
my_xml_parser_create(&p);
p.flags= MY_XML_FLAG_RELATIVE_NAMES | MY_XML_FLAG_SKIP_TEXT_NORMALIZATION;
user_data.level= 0;
- user_data.pxml= parsed_xml_buf;
+ user_data.pxml= &m_parsed_buf;
user_data.parent= 0;
my_xml_set_enter_handler(&p, xml_enter);
my_xml_set_value_handler(&p, xml_value);
@@ -2804,10 +2825,10 @@ String *Item_xml_str_func::parse_xml(String *raw_xml, String *parsed_xml_buf)
/* Add root node */
p.current_node_type= MY_XML_NODE_TAG;
- xml_enter(&p, raw_xml->ptr(), 0);
+ xml_enter(&p, m_raw_ptr->ptr(), 0);
/* Execute XML parser */
- if ((rc= my_xml_parse(&p, raw_xml->ptr(), raw_xml->length())) != MY_XML_OK)
+ if ((rc= my_xml_parse(&p, m_raw_ptr->ptr(), m_raw_ptr->length())) != MY_XML_OK)
{
char buf[128];
my_snprintf(buf, sizeof(buf)-1, "parse error at line %d pos %lu: %s",
@@ -2817,10 +2838,41 @@ String *Item_xml_str_func::parse_xml(String *raw_xml, String *parsed_xml_buf)
push_warning_printf(current_thd, Sql_condition::WARN_LEVEL_WARN,
ER_WRONG_VALUE,
ER(ER_WRONG_VALUE), "XML", buf);
+ m_raw_ptr= (String *) 0;
}
my_xml_parser_free(&p);
- return rc == MY_XML_OK ? parsed_xml_buf : 0;
+ return rc != MY_XML_OK;
+}
+
+
+/*
+ Parse the raw XML from the given source,
+ optionally cache the raw XML,
+ remember the pointer to the raw XML.
+*/
+bool Item_xml_str_func::XML::parse(String *raw_xml, bool cache)
+{
+ m_raw_ptr= raw_xml;
+ if (cache)
+ {
+ m_cached= true;
+ if (m_raw_ptr != &m_raw_buf && m_raw_buf.copy(*m_raw_ptr))
+ {
+ m_raw_ptr= (String *) 0;
+ return true;
+ }
+ m_raw_ptr= &m_raw_buf;
+ }
+ return parse();
+}
+
+
+const MY_XML_NODE *Item_xml_str_func::XML::node(uint idx)
+{
+ const MY_XML_NODE *nodebeg= (MY_XML_NODE*) m_parsed_buf.ptr();
+ DBUG_ASSERT(idx < m_parsed_buf.length() / sizeof (MY_XML_NODE));
+ return nodebeg + idx;
}
@@ -2828,10 +2880,8 @@ String *Item_func_xml_extractvalue::val_str(String *str)
{
String *res;
null_value= 0;
- if (!nodeset_func ||
- !(res= args[0]->val_str(str)) ||
- !parse_xml(res, &pxml) ||
- !(res= nodeset_func->val_str(&tmp_value)))
+ if (!nodeset_func || get_xml(&xml) ||
+ !(res= nodeset_func->val_str(str)))
{
null_value= 1;
return 0;
@@ -2840,22 +2890,37 @@ String *Item_func_xml_extractvalue::val_str(String *str)
}
+bool Item_func_xml_update::collect_result(String *str,
+ const MY_XML_NODE *cut,
+ const String *replace)
+{
+ uint offs= cut->type == MY_XML_NODE_TAG ? 1 : 0;
+ const char *end= cut->tagend + offs;
+ str->length(0);
+ str->set_charset(collation.collation);
+ return
+ /* Put the XML part preceeding the replaced piece */
+ str->append(xml.raw()->ptr(), cut->beg - xml.raw()->ptr() - offs) ||
+ /* Put the replacement */
+ str->append(replace->ptr(), replace->length()) ||
+ /* Put the XML part following the replaced piece */
+ str->append(end, xml.raw()->ptr() + xml.raw()->length() - end);
+}
+
+
String *Item_func_xml_update::val_str(String *str)
{
- String *res, *nodeset, *rep;
+ String *nodeset, *rep;
null_value= 0;
- if (!nodeset_func ||
- !(res= args[0]->val_str(str)) ||
+ if (!nodeset_func || get_xml(&xml) ||
!(rep= args[2]->val_str(&tmp_value3)) ||
- !parse_xml(res, &pxml) ||
!(nodeset= nodeset_func->val_nodeset(&tmp_value2)))
{
null_value= 1;
return 0;
}
- MY_XML_NODE *nodebeg= (MY_XML_NODE*) pxml.ptr();
MY_XPATH_FLT *fltbeg= (MY_XPATH_FLT*) nodeset->ptr();
MY_XPATH_FLT *fltend= (MY_XPATH_FLT*) (nodeset->ptr() + nodeset->length());
@@ -2863,10 +2928,10 @@ String *Item_func_xml_update::val_str(String *str)
if (fltend - fltbeg != 1)
{
/* TODO: perhaps add a warning that more than one tag selected */
- return res;
+ return xml.raw();
}
- nodebeg+= fltbeg->num;
+ const MY_XML_NODE *nodebeg= xml.node(fltbeg->num);
if (!nodebeg->level)
{
@@ -2878,12 +2943,5 @@ String *Item_func_xml_update::val_str(String *str)
return rep;
}
- tmp_value.length(0);
- tmp_value.set_charset(collation.collation);
- uint offs= nodebeg->type == MY_XML_NODE_TAG ? 1 : 0;
- tmp_value.append(res->ptr(), nodebeg->beg - res->ptr() - offs);
- tmp_value.append(rep->ptr(), rep->length());
- const char *end= nodebeg->tagend + offs;
- tmp_value.append(end, res->ptr() + res->length() - end);
- return &tmp_value;
+ return collect_result(str, nodebeg, rep) ? (String *) NULL : str;
}
diff --git a/sql/item_xmlfunc.h b/sql/item_xmlfunc.h
index e818a6da408..637f505e12e 100644
--- a/sql/item_xmlfunc.h
+++ b/sql/item_xmlfunc.h
@@ -26,11 +26,55 @@
#endif
+typedef struct my_xml_node_st MY_XML_NODE;
+
+
class Item_xml_str_func: public Item_str_func
{
protected:
- String tmp_value, pxml;
+ /*
+ A helper class to store raw and parsed XML.
+ */
+ class XML
+ {
+ bool m_cached;
+ String *m_raw_ptr; // Pointer to text representation
+ String m_raw_buf; // Cached text representation
+ String m_parsed_buf; // Array of MY_XML_NODEs, pointing to raw_buffer
+ bool parse();
+ void reset()
+ {
+ m_cached= false;
+ m_raw_ptr= (String *) 0;
+ }
+ public:
+ XML() { reset(); }
+ void set_charset(CHARSET_INFO *cs) { m_parsed_buf.set_charset(cs); }
+ String *raw() { return m_raw_ptr; }
+ String *parsed() { return &m_parsed_buf; }
+ const MY_XML_NODE *node(uint idx);
+ bool cached() { return m_cached; }
+ bool parse(String *raw, bool cache);
+ bool parse(Item *item, bool cache)
+ {
+ String *res;
+ if (!(res= item->val_str(&m_raw_buf)))
+ {
+ m_raw_ptr= (String *) 0;
+ m_cached= cache;
+ return true;
+ }
+ return parse(res, cache);
+ }
+ };
Item *nodeset_func;
+ XML xml;
+ bool get_xml(XML *xml, bool cache= false)
+ {
+ if (!cache && xml->cached())
+ return xml->raw() == 0;
+ return xml->parse(args[0], cache);
+ }
public:
Item_xml_str_func(Item *a, Item *b):
Item_str_func(a,b)
@@ -42,8 +86,12 @@ public:
{
maybe_null= TRUE;
}
+ bool fix_fields(THD *thd, Item **ref);
void fix_length_and_dec();
- String *parse_xml(String *raw_xml, String *parsed_xml_buf);
+ bool const_item() const
+ {
+ return const_item_cache && (!nodeset_func || nodeset_func->const_item());
+ }
bool check_vcol_func_processor(uchar *int_arg)
{
return trace_unsupported_by_check_vcol_func_processor(func_name());
@@ -63,6 +111,9 @@ public:
class Item_func_xml_update: public Item_xml_str_func
{
String tmp_value2, tmp_value3;
+ bool collect_result(String *str,
+ const MY_XML_NODE *cut,
+ const String *replace);
public:
Item_func_xml_update(Item *a,Item *b,Item *c) :Item_xml_str_func(a,b,c) {}
const char *func_name() const { return "updatexml"; }
diff --git a/sql/key.cc b/sql/key.cc
index 8ba3d48e8dc..3556ecf82d7 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -126,8 +126,8 @@ void key_copy(uchar *to_key, uchar *from_record, KEY *key_info,
{
if (key_part->null_bit)
{
- *to_key++= test(from_record[key_part->null_offset] &
- key_part->null_bit);
+ *to_key++= MY_TEST(from_record[key_part->null_offset] &
+ key_part->null_bit);
key_length--;
if (to_key[-1])
{
@@ -300,8 +300,8 @@ bool key_cmp_if_same(TABLE *table,const uchar *key,uint idx,uint key_length)
if (key_part->null_bit)
{
- if (*key != test(table->record[0][key_part->null_offset] &
- key_part->null_bit))
+ if (*key != MY_TEST(table->record[0][key_part->null_offset] &
+ key_part->null_bit))
return 1;
if (*key)
continue;
@@ -438,7 +438,7 @@ void key_unpack(String *to, TABLE *table, KEY *key)
}
}
field_unpack(to, key_part->field, table->record[0], key_part->length,
- test(key_part->key_part_flag & HA_PART_KEY_SEG));
+ MY_TEST(key_part->key_part_flag & HA_PART_KEY_SEG));
}
dbug_tmp_restore_column_map(table->read_set, old_map);
DBUG_VOID_RETURN;
diff --git a/sql/key.h b/sql/key.h
index ba3102947b3..47b981f5298 100644
--- a/sql/key.h
+++ b/sql/key.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/lex_symbol.h b/sql/lex_symbol.h
index 5f3c70a50a4..d48ca57df85 100644
--- a/sql/lex_symbol.h
+++ b/sql/lex_symbol.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001, 2004 MySQL AB
+/* Copyright (c) 2000, 2001, 2004, 2006, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/lock.cc b/sql/lock.cc
index c3f6da02ca1..54681d25b0a 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -790,7 +790,6 @@ MYSQL_LOCK *get_lock_data(THD *thd, TABLE **table_ptr, uint count, uint flags)
@param thd Thread handle.
@param db The database name.
- This function cannot be called while holding LOCK_open mutex.
To avoid deadlocks, we do not try to obtain exclusive metadata
locks in LOCK TABLES mode, since in this mode there may be
other metadata locks already taken by the current connection,
@@ -842,9 +841,7 @@ bool lock_schema_name(THD *thd, const char *db)
@param name Object name in the schema.
This function assumes that no metadata locks were acquired
- before calling it. Additionally, it cannot be called while
- holding LOCK_open mutex. Both these invariants are enforced by
- asserts in MDL_context::acquire_locks().
+ before calling it. It is enforced by asserts in MDL_context::acquire_locks().
To avoid deadlocks, we do not try to obtain exclusive metadata
locks in LOCK TABLES mode, since in this mode there may be
other metadata locks already taken by the current connection,
diff --git a/sql/log.cc b/sql/log.cc
index f531d301b63..901e4e5041d 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2009, 2013, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -525,35 +525,51 @@ bool LOGGER::is_log_table_enabled(uint log_table_type)
}
-/* Check if a given table is opened log table */
-int check_if_log_table(size_t db_len, const char *db, size_t table_name_len,
- const char *table_name, bool check_if_opened)
+/**
+ Check if a given table is opened log table
+
+ @param table Table to check
+ @param check_if_opened Only fail if it's a log table in use
+ @param error_msg String to put in error message if not ok.
+ No error message if 0
+ @return 0 ok
+ @return # Type of log file
+ */
+
+int check_if_log_table(const TABLE_LIST *table,
+ bool check_if_opened,
+ const char *error_msg)
{
- if (db_len == 5 &&
- !(lower_case_table_names ?
- my_strcasecmp(system_charset_info, db, "mysql") :
- strcmp(db, "mysql")))
+ int result= 0;
+ if (table->db_length == 5 &&
+ !my_strcasecmp(table_alias_charset, table->db, "mysql"))
{
- if (table_name_len == 11 && !(lower_case_table_names ?
- my_strcasecmp(system_charset_info,
- table_name, "general_log") :
- strcmp(table_name, "general_log")))
+ const char *table_name= table->table_name;
+
+ if (table->table_name_length == 11 &&
+ !my_strcasecmp(table_alias_charset, table_name, "general_log"))
{
- if (!check_if_opened || logger.is_log_table_enabled(QUERY_LOG_GENERAL))
- return QUERY_LOG_GENERAL;
- return 0;
+ result= QUERY_LOG_GENERAL;
+ goto end;
}
- if (table_name_len == 8 && !(lower_case_table_names ?
- my_strcasecmp(system_charset_info, table_name, "slow_log") :
- strcmp(table_name, "slow_log")))
+ if (table->table_name_length == 8 &&
+ !my_strcasecmp(table_alias_charset, table_name, "slow_log"))
{
- if (!check_if_opened || logger.is_log_table_enabled(QUERY_LOG_SLOW))
- return QUERY_LOG_SLOW;
- return 0;
+ result= QUERY_LOG_SLOW;
+ goto end;
}
}
return 0;
+
+end:
+ if (!check_if_opened || logger.is_log_table_enabled(result))
+ {
+ if (error_msg)
+ my_error(ER_BAD_LOG_STATEMENT, MYF(0), error_msg);
+ return result;
+ }
+ return 0;
}
@@ -1657,6 +1673,7 @@ static int binlog_close_connection(handlerton *hton, THD *thd)
contain updates to non-transactional tables. Or it can be a flush of
a statement cache.
*/
+
static int
binlog_flush_cache(THD *thd, binlog_cache_mngr *cache_mngr,
Log_event *end_ev, bool all, bool using_stmt,
@@ -1664,6 +1681,7 @@ binlog_flush_cache(THD *thd, binlog_cache_mngr *cache_mngr,
{
int error= 0;
DBUG_ENTER("binlog_flush_cache");
+ DBUG_PRINT("enter", ("end_ev: %p", end_ev));
if ((using_stmt && !cache_mngr->stmt_cache.empty()) ||
(using_trx && !cache_mngr->trx_cache.empty()))
@@ -1722,9 +1740,10 @@ static inline int
binlog_commit_flush_stmt_cache(THD *thd, bool all,
binlog_cache_mngr *cache_mngr)
{
+ DBUG_ENTER("binlog_commit_flush_stmt_cache");
Query_log_event end_evt(thd, STRING_WITH_LEN("COMMIT"),
FALSE, TRUE, TRUE, 0);
- return (binlog_flush_cache(thd, cache_mngr, &end_evt, all, TRUE, FALSE));
+ DBUG_RETURN(binlog_flush_cache(thd, cache_mngr, &end_evt, all, TRUE, FALSE));
}
/**
@@ -1739,9 +1758,10 @@ binlog_commit_flush_stmt_cache(THD *thd, bool all,
static inline int
binlog_commit_flush_trx_cache(THD *thd, bool all, binlog_cache_mngr *cache_mngr)
{
+ DBUG_ENTER("binlog_commit_flush_trx_cache");
Query_log_event end_evt(thd, STRING_WITH_LEN("COMMIT"),
TRUE, TRUE, TRUE, 0);
- return (binlog_flush_cache(thd, cache_mngr, &end_evt, all, FALSE, TRUE));
+ DBUG_RETURN(binlog_flush_cache(thd, cache_mngr, &end_evt, all, FALSE, TRUE));
}
/**
@@ -2026,6 +2046,21 @@ static int binlog_rollback(handlerton *hton, THD *thd, bool all)
DBUG_RETURN(error);
}
+
+void binlog_reset_cache(THD *thd)
+{
+ binlog_cache_mngr *const cache_mngr= opt_bin_log ?
+ (binlog_cache_mngr*) thd_get_ha_data(thd, binlog_hton) : 0;
+ DBUG_ENTER("binlog_reset_cache");
+ if (cache_mngr)
+ {
+ thd->binlog_remove_pending_rows_event(TRUE, TRUE);
+ cache_mngr->reset(true, true);
+ }
+ DBUG_VOID_RETURN;
+}
+
+
void MYSQL_BIN_LOG::set_write_error(THD *thd, bool is_transactional)
{
DBUG_ENTER("MYSQL_BIN_LOG::set_write_error");
@@ -2949,7 +2984,7 @@ const char *MYSQL_LOG::generate_name(const char *log_name,
MYSQL_BIN_LOG::MYSQL_BIN_LOG(uint *sync_period)
- :reset_master_pending(false),
+ :reset_master_pending(false), mark_xid_done_waiting(0),
bytes_written(0), file_id(1), open_count(1),
group_commit_queue(0), group_commit_queue_busy(FALSE),
num_commits(0), num_group_commits(0),
@@ -3555,7 +3590,8 @@ static bool copy_up_file_and_fill(IO_CACHE *index_file, my_off_t offset)
if (!bytes_read)
break; // end of file
mysql_file_seek(file, offset-init_offset, MY_SEEK_SET, MYF(0));
- if (mysql_file_write(file, io_buf, bytes_read, MYF(MY_WME | MY_NABP)))
+ if (mysql_file_write(file, io_buf, bytes_read,
+ MYF(MY_WME | MY_NABP | MY_WAIT_IF_FULL)))
goto err;
}
/* The following will either truncate the file or fill the end with \n' */
@@ -3765,22 +3801,11 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd, bool create_new_log,
const char* save_name;
DBUG_ENTER("reset_logs");
- if (thd)
- ha_reset_logs(thd);
- /*
- We need to get both locks to be sure that no one is trying to
- write to the index log file.
- */
- mysql_mutex_lock(&LOCK_log);
- mysql_mutex_lock(&LOCK_index);
-
if (!is_relay_log)
{
if (init_state && !is_empty_state())
{
my_error(ER_BINLOG_MUST_BE_EMPTY, MYF(0));
- mysql_mutex_unlock(&LOCK_index);
- mysql_mutex_unlock(&LOCK_log);
DBUG_RETURN(1);
}
@@ -3789,11 +3814,29 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd, bool create_new_log,
This ensures that a binlog checkpoint will not try to write binlog
checkpoint events, which would be useless (as we are deleting the binlog
anyway) and could deadlock, as we are holding LOCK_log.
+
+ Wait for any mark_xid_done() calls that might be already running to
+ complete (mark_xid_done_waiting counter to drop to zero); we need to
+ do this before we take the LOCK_log to not deadlock.
*/
mysql_mutex_lock(&LOCK_xid_list);
reset_master_pending= true;
+ while (mark_xid_done_waiting > 0)
+ mysql_cond_wait(&COND_xid_list, &LOCK_xid_list);
mysql_mutex_unlock(&LOCK_xid_list);
+ }
+
+ if (thd)
+ ha_reset_logs(thd);
+ /*
+ We need to get both locks to be sure that no one is trying to
+ write to the index log file.
+ */
+ mysql_mutex_lock(&LOCK_log);
+ mysql_mutex_lock(&LOCK_index);
+ if (!is_relay_log)
+ {
/*
We are going to nuke all binary log files.
Without binlog, we cannot XA recover prepared-but-not-committed
@@ -5248,6 +5291,10 @@ int THD::binlog_write_table_map(TABLE *table, bool is_transactional,
(long) table, table->s->table_name.str,
table->s->table_map_id));
+ /* Ensure that all events in a GTID group are in the same cache */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ is_transactional= 1;
+
/* Pre-conditions */
DBUG_ASSERT(is_current_stmt_binlog_format_row() && mysql_bin_log.is_open());
DBUG_ASSERT(table->s->table_map_id != ULONG_MAX);
@@ -5265,7 +5312,7 @@ int THD::binlog_write_table_map(TABLE *table, bool is_transactional,
cache_mngr->get_binlog_cache_log(use_trans_cache(this, is_transactional));
if (with_annotate && *with_annotate)
{
- Annotate_rows_log_event anno(current_thd, is_transactional, false);
+ Annotate_rows_log_event anno(table->in_use, is_transactional, false);
/* Annotate event should be written not more than once */
*with_annotate= 0;
if ((error= anno.write(file)))
@@ -5428,6 +5475,7 @@ MYSQL_BIN_LOG::flush_and_set_pending_rows_event(THD *thd,
/* Generate a new global transaction ID, and write it to the binlog */
+
bool
MYSQL_BIN_LOG::write_gtid_event(THD *thd, bool standalone,
bool is_transactional, uint64 commit_id)
@@ -5437,6 +5485,16 @@ MYSQL_BIN_LOG::write_gtid_event(THD *thd, bool standalone,
uint32 server_id= thd->variables.server_id;
uint64 seq_no= thd->variables.gtid_seq_no;
int err;
+ DBUG_ENTER("write_gtid_event");
+ DBUG_PRINT("enter", ("standalone: %d", standalone));
+
+ if (thd->variables.option_bits & OPTION_GTID_BEGIN)
+ {
+ DBUG_PRINT("error", ("OPTION_GTID_BEGIN is set. "
+ "Master and slave will have different GTID values"));
+ /* Reset the flag, as we will write out a GTID anyway */
+ thd->variables.option_bits&= ~OPTION_GTID_BEGIN;
+ }
/*
Reset the session variable gtid_seq_no, to reduce the risk of accidentally
@@ -5461,7 +5519,8 @@ MYSQL_BIN_LOG::write_gtid_event(THD *thd, bool standalone,
seq_no= gtid.seq_no;
}
if (err)
- return true;
+ DBUG_RETURN(true);
+ thd->last_commit_gtid= gtid;
Gtid_log_event gtid_event(thd, seq_no, domain_id, standalone,
LOG_EVENT_SUPPRESS_USE_F, is_transactional,
@@ -5469,10 +5528,10 @@ MYSQL_BIN_LOG::write_gtid_event(THD *thd, bool standalone,
/* Write the event to the binary log. */
if (gtid_event.write(&mysql_bin_log.log_file))
- return true;
+ DBUG_RETURN(true);
status_var_add(thd->status_var.binlog_bytes_written, gtid_event.data_written);
- return false;
+ DBUG_RETURN(false);
}
@@ -5654,14 +5713,22 @@ bool MYSQL_BIN_LOG::write(Log_event *event_info, my_bool *with_annotate)
{
THD *thd= event_info->thd;
bool error= 1;
- DBUG_ENTER("MYSQL_BIN_LOG::write(Log_event *)");
binlog_cache_data *cache_data= 0;
bool is_trans_cache= FALSE;
bool using_trans= event_info->use_trans_cache();
bool direct= event_info->use_direct_logging();
ulong prev_binlog_id;
+ DBUG_ENTER("MYSQL_BIN_LOG::write(Log_event *)");
LINT_INIT(prev_binlog_id);
+ if (thd->variables.option_bits & OPTION_GTID_BEGIN)
+ {
+ DBUG_PRINT("info", ("OPTION_GTID_BEGIN was set"));
+ /* Wait for commit from binary log before we commit */
+ direct= 0;
+ using_trans= 1;
+ }
+
if (thd->binlog_evt_union.do_union)
{
/*
@@ -5709,6 +5776,7 @@ bool MYSQL_BIN_LOG::write(Log_event *event_info, my_bool *with_annotate)
if (direct)
{
+ DBUG_PRINT("info", ("direct is set"));
file= &log_file;
my_org_b_tell= my_b_tell(file);
mysql_mutex_lock(&LOCK_log);
@@ -6652,13 +6720,15 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
*/
wfc= orig_entry->thd->wait_for_commit_ptr;
orig_entry->queued_by_other= false;
- if (wfc && wfc->waiting_for_commit)
+ if (wfc && wfc->waitee)
{
mysql_mutex_lock(&wfc->LOCK_wait_commit);
/* Do an extra check here, this time safely under lock. */
- if (wfc->waiting_for_commit)
+ if (wfc->waitee)
{
PSI_stage_info old_stage;
+ wait_for_commit *loc_waitee;
+
/*
By setting wfc->opaque_pointer to our own entry, we mark that we are
ready to commit, but waiting for another transaction to commit before
@@ -6669,21 +6739,20 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
queued_by_other flag is set.
*/
wfc->opaque_pointer= orig_entry;
+ DEBUG_SYNC(orig_entry->thd, "group_commit_waiting_for_prior");
orig_entry->thd->ENTER_COND(&wfc->COND_wait_commit,
&wfc->LOCK_wait_commit,
&stage_waiting_for_prior_transaction_to_commit,
&old_stage);
- DEBUG_SYNC(orig_entry->thd, "group_commit_waiting_for_prior");
- while (wfc->waiting_for_commit && !orig_entry->thd->check_killed())
+ while ((loc_waitee= wfc->waitee) && !orig_entry->thd->check_killed())
mysql_cond_wait(&wfc->COND_wait_commit, &wfc->LOCK_wait_commit);
wfc->opaque_pointer= NULL;
DBUG_PRINT("info", ("After waiting for prior commit, queued_by_other=%d",
orig_entry->queued_by_other));
- if (wfc->waiting_for_commit)
+ if (loc_waitee)
{
/* Wait terminated due to kill. */
- wait_for_commit *loc_waitee= wfc->waitee;
mysql_mutex_lock(&loc_waitee->LOCK_wait_commit);
if (loc_waitee->wakeup_subsequent_commits_running ||
orig_entry->queued_by_other)
@@ -6693,13 +6762,14 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
do
{
mysql_cond_wait(&wfc->COND_wait_commit, &wfc->LOCK_wait_commit);
- } while (wfc->waiting_for_commit);
+ } while (wfc->waitee);
}
else
{
/* We were killed, so remove us from the list of waitee. */
wfc->remove_from_list(&loc_waitee->subsequent_commits_list);
mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
+ wfc->waitee= NULL;
orig_entry->thd->EXIT_COND(&old_stage);
/* Interrupted by kill. */
@@ -6715,12 +6785,11 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
}
else
mysql_mutex_unlock(&wfc->LOCK_wait_commit);
-
- if (wfc->wakeup_error)
- {
- my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
- DBUG_RETURN(-1);
- }
+ }
+ if (wfc && wfc->wakeup_error)
+ {
+ my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
+ DBUG_RETURN(-1);
}
/*
@@ -7299,16 +7368,17 @@ MYSQL_BIN_LOG::write_transaction_or_stmt(group_commit_entry *entry,
uint64 commit_id)
{
binlog_cache_mngr *mngr= entry->cache_mngr;
+ DBUG_ENTER("MYSQL_BIN_LOG::write_transaction_or_stmt");
if (write_gtid_event(entry->thd, false, entry->using_trx_cache, commit_id))
- return ER_ERROR_ON_WRITE;
+ DBUG_RETURN(ER_ERROR_ON_WRITE);
if (entry->using_stmt_cache && !mngr->stmt_cache.empty() &&
write_cache(entry->thd, mngr->get_binlog_cache_log(FALSE)))
{
entry->error_cache= &mngr->stmt_cache.cache_log;
entry->commit_errno= errno;
- return ER_ERROR_ON_WRITE;
+ DBUG_RETURN(ER_ERROR_ON_WRITE);
}
if (entry->using_trx_cache && !mngr->trx_cache.empty())
@@ -7329,7 +7399,7 @@ MYSQL_BIN_LOG::write_transaction_or_stmt(group_commit_entry *entry,
{
entry->error_cache= &mngr->trx_cache.cache_log;
entry->commit_errno= errno;
- return ER_ERROR_ON_WRITE;
+ DBUG_RETURN(ER_ERROR_ON_WRITE);
}
}
@@ -7337,7 +7407,7 @@ MYSQL_BIN_LOG::write_transaction_or_stmt(group_commit_entry *entry,
{
entry->error_cache= NULL;
entry->commit_errno= errno;
- return ER_ERROR_ON_WRITE;
+ DBUG_RETURN(ER_ERROR_ON_WRITE);
}
status_var_add(entry->thd->status_var.binlog_bytes_written,
entry->end_event->data_written);
@@ -7348,7 +7418,7 @@ MYSQL_BIN_LOG::write_transaction_or_stmt(group_commit_entry *entry,
{
entry->error_cache= NULL;
entry->commit_errno= errno;
- return ER_ERROR_ON_WRITE;
+ DBUG_RETURN(ER_ERROR_ON_WRITE);
}
}
@@ -7356,16 +7426,16 @@ MYSQL_BIN_LOG::write_transaction_or_stmt(group_commit_entry *entry,
{
entry->error_cache= &mngr->stmt_cache.cache_log;
entry->commit_errno= errno;
- return ER_ERROR_ON_READ;
+ DBUG_RETURN(ER_ERROR_ON_WRITE);
}
if (mngr->get_binlog_cache_log(TRUE)->error) // Error on read
{
entry->error_cache= &mngr->trx_cache.cache_log;
entry->commit_errno= errno;
- return ER_ERROR_ON_READ;
+ DBUG_RETURN(ER_ERROR_ON_WRITE);
}
- return 0;
+ DBUG_RETURN(0);
}
@@ -8848,9 +8918,13 @@ TC_LOG_BINLOG::mark_xid_done(ulong binlog_id, bool write_checkpoint)
locks in the opposite order.
*/
+ ++mark_xid_done_waiting;
mysql_mutex_unlock(&LOCK_xid_list);
mysql_mutex_lock(&LOCK_log);
mysql_mutex_lock(&LOCK_xid_list);
+ --mark_xid_done_waiting;
+ if (unlikely(reset_master_pending))
+ mysql_cond_signal(&COND_xid_list);
/* We need to reload current_binlog_id due to release/re-take of lock. */
current= current_binlog_id;
@@ -9047,7 +9121,7 @@ start_binlog_background_thread()
array_elements(all_binlog_threads));
#endif
- if (mysql_thread_create(key_thread_binlog, &th, NULL,
+ if (mysql_thread_create(key_thread_binlog, &th, &connection_attrib,
binlog_background_thread, NULL))
return 1;
diff --git a/sql/log.h b/sql/log.h
index 45381152d97..67fcf068ec4 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -471,6 +471,7 @@ class MYSQL_BIN_LOG: public TC_LOG, private MYSQL_LOG
checkpoint arrives - when all have arrived, RESET MASTER will complete.
*/
bool reset_master_pending;
+ ulong mark_xid_done_waiting;
/* LOCK_log and LOCK_index are inited by init_pthread_objects() */
mysql_mutex_t LOCK_index;
@@ -833,8 +834,8 @@ public:
};
-int check_if_log_table(size_t db_len, const char *db, size_t table_name_len,
- const char *table_name, bool check_if_opened);
+int check_if_log_table(const TABLE_LIST *table, bool check_if_opened,
+ const char *errmsg);
class Log_to_csv_event_handler: public Log_event_handler
{
@@ -1011,6 +1012,7 @@ File open_binlog(IO_CACHE *log, const char *log_file_name,
const char **errmsg);
void make_default_log_name(char **out, const char* log_ext, bool once);
+void binlog_reset_cache(THD *thd);
extern MYSQL_PLUGIN_IMPORT MYSQL_BIN_LOG mysql_bin_log;
extern LOGGER logger;
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 0af7a2ed344..6d2854a9f11 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -17,6 +17,7 @@
#include "sql_priv.h"
+#include "mysqld_error.h"
#ifndef MYSQL_CLIENT
#include "my_global.h" // REQUIRED by log_event.h > m_string.h > my_bitmap.h
@@ -686,37 +687,35 @@ char *str_to_hex(char *to, const char *from, uint len)
#ifndef MYSQL_CLIENT
/**
- Append a version of the 'from' string suitable for use in a query to
+ Append a version of the 'str' string suitable for use in a query to
the 'to' string. To generate a correct escaping, the character set
information in 'csinfo' is used.
*/
-int
-append_query_string(THD *thd, CHARSET_INFO *csinfo,
- String const *from, String *to)
+int append_query_string(CHARSET_INFO *csinfo, String *to,
+ const char *str, size_t len, bool no_backslash)
{
char *beg, *ptr;
uint32 const orig_len= to->length();
- if (to->reserve(orig_len + from->length() * 2 + 4))
+ if (to->reserve(orig_len + len * 2 + 4))
return 1;
beg= (char*) to->ptr() + to->length();
ptr= beg;
if (csinfo->escape_with_backslash_is_dangerous)
- ptr= str_to_hex(ptr, from->ptr(), from->length());
+ ptr= str_to_hex(ptr, str, len);
else
{
*ptr++= '\'';
- if (!(thd->variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES))
+ if (!no_backslash)
{
- ptr+= escape_string_for_mysql(csinfo, ptr, 0,
- from->ptr(), from->length());
+ ptr+= escape_string_for_mysql(csinfo, ptr, 0, str, len);
}
else
{
- const char *frm_str= from->ptr();
+ const char *frm_str= str;
- for (; frm_str < (from->ptr() + from->length()); frm_str++)
+ for (; frm_str < (str + len); frm_str++)
{
/* Using '' way to represent "'" */
if (*frm_str == '\'')
@@ -749,7 +748,7 @@ static void print_set_option(IO_CACHE* file, uint32 bits_changed,
{
if (*need_comma)
my_b_write(file, ", ", 2);
- my_b_printf(file,"%s=%d", name, test(flags & option));
+ my_b_printf(file, "%s=%d", name, MY_TEST(flags & option));
*need_comma= 1;
}
}
@@ -1089,7 +1088,7 @@ my_bool Log_event::need_checksum()
(checksum_alg != BINLOG_CHECKSUM_ALG_OFF) :
((binlog_checksum_options != BINLOG_CHECKSUM_ALG_OFF) &&
(cache_type == Log_event::EVENT_NO_CACHE)) ?
- test(binlog_checksum_options) : FALSE);
+ MY_TEST(binlog_checksum_options) : FALSE);
/*
FD calls the methods before data_written has been calculated.
@@ -2465,6 +2464,14 @@ Rows_log_event::print_verbose_one_row(IO_CACHE *file, table_def *td,
else
{
my_b_printf(file, "### @%lu=", (ulong)i + 1);
+ size_t fsize= td->calc_field_size((uint)i, (uchar*) value);
+ if (value + fsize > m_rows_end)
+ {
+ my_b_printf(file, "***Corrupted replication event was detected."
+ " Not printing the value***\n");
+ value+= fsize;
+ return 0;
+ }
size_t size= log_event_print_value(file, value,
td->type(i), td->field_metadata(i),
typestr, sizeof(typestr));
@@ -3727,9 +3734,14 @@ Query_log_event::begin_event(String *packet, ulong ev_offset,
DBUG_ASSERT(checksum_alg == BINLOG_CHECKSUM_ALG_UNDEF ||
checksum_alg == BINLOG_CHECKSUM_ALG_OFF);
- /* Currently we only need to replace GTID event. */
- DBUG_ASSERT(data_len == LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN);
- if (data_len != LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN)
+ /*
+ Currently we only need to replace GTID event.
+ The length of GTID differs depending on whether it contains commit id.
+ */
+ DBUG_ASSERT(data_len == LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN ||
+ data_len == LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN + 2);
+ if (data_len != LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN &&
+ data_len != LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN + 2)
return 1;
flags= uint2korr(p + FLAGS_OFFSET);
@@ -3742,9 +3754,22 @@ Query_log_event::begin_event(String *packet, ulong ev_offset,
int4store(q + Q_EXEC_TIME_OFFSET, 0);
q[Q_DB_LEN_OFFSET]= 0;
int2store(q + Q_ERR_CODE_OFFSET, 0);
- int2store(q + Q_STATUS_VARS_LEN_OFFSET, 0);
- q[Q_DATA_OFFSET]= 0; /* Zero terminator for empty db */
- q+= Q_DATA_OFFSET + 1;
+ if (data_len == LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN)
+ {
+ int2store(q + Q_STATUS_VARS_LEN_OFFSET, 0);
+ q[Q_DATA_OFFSET]= 0; /* Zero terminator for empty db */
+ q+= Q_DATA_OFFSET + 1;
+ }
+ else
+ {
+ DBUG_ASSERT(data_len == LOG_EVENT_HEADER_LEN + GTID_HEADER_LEN + 2);
+ /* Put in an empty time_zone_str to take up the extra 2 bytes. */
+ int2store(q + Q_STATUS_VARS_LEN_OFFSET, 2);
+ q[Q_DATA_OFFSET]= Q_TIME_ZONE_CODE;
+ q[Q_DATA_OFFSET+1]= 0; /* Zero length for empty time_zone_str */
+ q[Q_DATA_OFFSET+2]= 0; /* Zero terminator for empty db */
+ q+= Q_DATA_OFFSET + 3;
+ }
memcpy(q, "BEGIN", 5);
if (checksum_alg == BINLOG_CHECKSUM_ALG_CRC32)
@@ -3984,6 +4009,8 @@ bool test_if_equal_repl_errors(int expected_error, int actual_error)
case ER_AUTOINC_READ_FAILED:
return (actual_error == ER_AUTOINC_READ_FAILED ||
actual_error == HA_ERR_AUTOINC_ERANGE);
+ case ER_UNKNOWN_TABLE:
+ return actual_error == ER_IT_IS_A_VIEW;
default:
break;
}
@@ -4018,6 +4045,7 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
rpl_gtid gtid;
Relay_log_info const *rli= rgi->rli;
Rpl_filter *rpl_filter= rli->mi->rpl_filter;
+ bool current_stmt_is_commit;
DBUG_ENTER("Query_log_event::do_apply_event");
/*
@@ -4044,7 +4072,9 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
DBUG_PRINT("info", ("log_pos: %lu", (ulong) log_pos));
clear_all_errors(thd, const_cast<Relay_log_info*>(rli));
- if (strcmp("COMMIT", query) == 0 && rgi->tables_to_lock)
+ current_stmt_is_commit= is_commit();
+
+ if (current_stmt_is_commit && rgi->tables_to_lock)
{
/*
Cleaning-up the last statement context:
@@ -4093,9 +4123,11 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
thd->variables.pseudo_thread_id= thread_id; // for temp tables
DBUG_PRINT("query",("%s", thd->query()));
- if (ignored_error_code((expected_error= error_code)) ||
- !unexpected_error_code(expected_error))
+ if (!(expected_error= error_code) ||
+ ignored_error_code(expected_error) ||
+ !unexpected_error_code(expected_error))
{
+ thd->slave_expected_error= expected_error;
if (flags2_inited)
/*
all bits of thd->variables.option_bits which are 1 in OPTIONS_WRITTEN_TO_BIN_LOG
@@ -4108,11 +4140,11 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
nothing to do.
*/
/*
- We do not replicate IGNORE_DIR_IN_CREATE. That is, if the master is a
- slave which runs with SQL_MODE=IGNORE_DIR_IN_CREATE, this should not
+ We do not replicate MODE_NO_DIR_IN_CREATE. That is, if the master is a
+ slave which runs with SQL_MODE=MODE_NO_DIR_IN_CREATE, this should not
force us to ignore the dir too. Imagine you are a ring of machines, and
one has a disk problem so that you temporarily need
- IGNORE_DIR_IN_CREATE on this machine; you don't want it to propagate
+ MODE_NO_DIR_IN_CREATE on this machine; you don't want it to propagate
elsewhere (you don't want all slaves to start ignoring the dirs).
*/
if (sql_mode_inited)
@@ -4197,12 +4229,13 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
Record any GTID in the same transaction, so slave state is
transactionally consistent.
*/
- if (strcmp("COMMIT", query) == 0 && (sub_id= rgi->gtid_sub_id))
+ if (current_stmt_is_commit && (sub_id= rgi->gtid_sub_id))
{
/* Clear the GTID from the RLI so we don't accidentally reuse it. */
rgi->gtid_sub_id= 0;
gtid= rgi->current_gtid;
+ thd->variables.option_bits&= ~OPTION_GTID_BEGIN;
if (rpl_global_gtid_slave_state.record_gtid(thd, &gtid, sub_id, true, false))
{
rli->report(ERROR_LEVEL, ER_CANNOT_UPDATE_GTID_STATE,
@@ -4232,6 +4265,7 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
concurrency_error_code(expected_error)))
{
thd->variables.option_bits|= OPTION_MASTER_SQL_ERROR;
+ thd->variables.option_bits&= ~OPTION_GTID_BEGIN;
}
/* Execute the query (note that we bypass dispatch_command()) */
Parser_state parser_state;
@@ -4395,8 +4429,7 @@ Default database: '%s'. Query: '%s'",
to shutdown trying to finish incomplete events group.
*/
DBUG_EXECUTE_IF("stop_slave_middle_group",
- if (strcmp("COMMIT", query) != 0 &&
- strcmp("BEGIN", query) != 0)
+ if (!current_stmt_is_commit && is_begin() == 0)
{
if (thd->transaction.all.modified_non_trans_table)
const_cast<Relay_log_info*>(rli)->abort_slave= 1;
@@ -4405,7 +4438,7 @@ Default database: '%s'. Query: '%s'",
end:
if (sub_id && !thd->is_slave_error)
- rpl_global_gtid_slave_state.update_state_hash(sub_id, &gtid);
+ rpl_global_gtid_slave_state.update_state_hash(sub_id, &gtid, rgi);
/*
Probably we have set thd->query, thd->db, thd->catalog to point to places
@@ -4457,7 +4490,7 @@ Query_log_event::do_shall_skip(rpl_group_info *rgi)
{
Relay_log_info *rli= rgi->rli;
DBUG_ENTER("Query_log_event::do_shall_skip");
- DBUG_PRINT("debug", ("query: %s; q_len: %d", query, q_len));
+ DBUG_PRINT("debug", ("query: '%s' q_len: %d", query, q_len));
DBUG_ASSERT(query && q_len > 0);
DBUG_ASSERT(thd == rgi->thd);
@@ -4473,13 +4506,13 @@ Query_log_event::do_shall_skip(rpl_group_info *rgi)
{
if (is_begin())
{
- thd->variables.option_bits|= OPTION_BEGIN;
+ thd->variables.option_bits|= OPTION_BEGIN | OPTION_GTID_BEGIN;
DBUG_RETURN(Log_event::continue_group(rgi));
}
if (is_commit() || is_rollback())
{
- thd->variables.option_bits&= ~OPTION_BEGIN;
+ thd->variables.option_bits&= ~(OPTION_BEGIN | OPTION_GTID_BEGIN);
DBUG_RETURN(Log_event::EVENT_SKIP_COUNT);
}
}
@@ -5535,11 +5568,22 @@ int Load_log_event::copy_log_event(const char *buf, ulong event_len,
fields = (char*)field_lens + num_fields;
table_name = fields + field_block_len;
db = table_name + table_name_len + 1;
+ DBUG_EXECUTE_IF ("simulate_invalid_address",
+ db_len = data_len;);
fname = db + db_len + 1;
+ if ((db_len > data_len) || (fname > buf_end))
+ goto err;
fname_len = (uint) strlen(fname);
+ if ((fname_len > data_len) || (fname + fname_len > buf_end))
+ goto err;
// null termination is accomplished by the caller doing buf[event_len]=0
DBUG_RETURN(0);
+
+err:
+ // Invalid event.
+ table_name = 0;
+ DBUG_RETURN(1);
}
@@ -5906,6 +5950,7 @@ error:
thd->reset_query();
thd->get_stmt_da()->set_overwrite_status(true);
thd->is_error() ? trans_rollback_stmt(thd) : trans_commit_stmt(thd);
+ thd->variables.option_bits&= ~(OPTION_BEGIN | OPTION_GTID_BEGIN);
thd->get_stmt_da()->set_overwrite_status(false);
close_thread_tables(thd);
/*
@@ -6208,6 +6253,16 @@ void Binlog_checkpoint_log_event::pack_info(THD *thd, Protocol *protocol)
{
protocol->store(binlog_file_name, binlog_file_len, &my_charset_bin);
}
+
+
+Log_event::enum_skip_reason
+Binlog_checkpoint_log_event::do_shall_skip(rpl_group_info *rgi)
+{
+ enum_skip_reason reason= Log_event::do_shall_skip(rgi);
+ if (reason == EVENT_SKIP_COUNT)
+ reason= EVENT_SKIP_NOT;
+ return reason;
+}
#endif
@@ -6408,8 +6463,7 @@ Gtid_log_event::make_compatible_event(String *packet, bool *need_dummy_event,
{
if (*need_dummy_event)
return Query_log_event::dummy_event(packet, ev_offset, checksum_alg);
- else
- return 0;
+ return 0;
}
*need_dummy_event= true;
@@ -6456,24 +6510,28 @@ Gtid_log_event::do_apply_event(rpl_group_info *rgi)
this->server_id, this->seq_no))
return 1;
}
+
+ DBUG_ASSERT((thd->variables.option_bits & OPTION_GTID_BEGIN) == 0);
if (flags2 & FL_STANDALONE)
return 0;
/* Execute this like a BEGIN query event. */
+ thd->variables.option_bits|= OPTION_GTID_BEGIN;
+ DBUG_PRINT("info", ("Set OPTION_GTID_BEGIN"));
thd->set_query_and_id(gtid_begin_string, sizeof(gtid_begin_string)-1,
&my_charset_bin, next_query_id());
- Parser_state parser_state;
- if (!parser_state.init(thd, thd->query(), thd->query_length()))
- {
- mysql_parse(thd, thd->query(), thd->query_length(), &parser_state);
- /* Finalize server status flags after executing a statement. */
- thd->update_server_status();
- log_slow_statement(thd);
- if (unlikely(thd->is_fatal_error))
- thd->is_slave_error= 1;
- else if (likely(!thd->is_slave_error))
- general_log_write(thd, COM_QUERY, thd->query(), thd->query_length());
+ thd->lex->sql_command= SQLCOM_BEGIN;
+ thd->is_slave_error= 0;
+ status_var_increment(thd->status_var.com_stat[thd->lex->sql_command]);
+ if (trans_begin(thd, 0))
+ {
+ DBUG_PRINT("error", ("trans_begin() failed"));
+ thd->is_slave_error= 1;
}
+ thd->update_stats();
+
+ if (likely(!thd->is_slave_error))
+ general_log_write(thd, COM_QUERY, thd->query(), thd->query_length());
thd->reset_query();
free_root(thd->mem_root,MYF(MY_KEEP_PREALLOC));
@@ -6735,7 +6793,7 @@ Gtid_list_log_event::write(IO_CACHE *file)
int
Gtid_list_log_event::do_apply_event(rpl_group_info *rgi)
{
- Relay_log_info const *rli= rgi->rli;
+ Relay_log_info *rli= const_cast<Relay_log_info*>(rgi->rli);
int ret;
if (gl_flags & FLAG_IGN_GTIDS)
{
@@ -6746,7 +6804,8 @@ Gtid_list_log_event::do_apply_event(rpl_group_info *rgi)
sub_id_list[i],
false, false)))
return ret;
- rpl_global_gtid_slave_state.update_state_hash(sub_id_list[i], &list[i]);
+ rpl_global_gtid_slave_state.update_state_hash(sub_id_list[i], &list[i],
+ NULL);
}
}
ret= Log_event::do_apply_event(rgi);
@@ -6755,15 +6814,26 @@ Gtid_list_log_event::do_apply_event(rpl_group_info *rgi)
{
char str_buf[128];
String str(str_buf, sizeof(str_buf), system_charset_info);
- const_cast<Relay_log_info*>(rli)->until_gtid_pos.to_string(&str);
+ rli->until_gtid_pos.to_string(&str);
sql_print_information("Slave SQL thread stops because it reached its"
" UNTIL master_gtid_pos %s", str.c_ptr_safe());
- const_cast<Relay_log_info*>(rli)->abort_slave= true;
+ rli->abort_slave= true;
+ rli->stop_for_until= true;
}
return ret;
}
+Log_event::enum_skip_reason
+Gtid_list_log_event::do_shall_skip(rpl_group_info *rgi)
+{
+ enum_skip_reason reason= Log_event::do_shall_skip(rgi);
+ if (reason == EVENT_SKIP_COUNT)
+ reason= EVENT_SKIP_NOT;
+ return reason;
+}
+
+
void
Gtid_list_log_event::pack_info(THD *thd, Protocol *protocol)
{
@@ -7250,11 +7320,12 @@ int Xid_log_event::do_apply_event(rpl_group_info *rgi)
/* For a slave Xid_log_event is COMMIT */
general_log_print(thd, COM_QUERY,
"COMMIT /* implicit, from Xid_log_event */");
+ thd->variables.option_bits&= ~OPTION_GTID_BEGIN;
res= trans_commit(thd); /* Automatically rolls back on error. */
thd->mdl_context.release_transactional_locks();
if (!res && sub_id)
- rpl_global_gtid_slave_state.update_state_hash(sub_id, &gtid);
+ rpl_global_gtid_slave_state.update_state_hash(sub_id, &gtid, rgi);
/*
Increment the global status commit count variable
@@ -7271,7 +7342,7 @@ Xid_log_event::do_shall_skip(rpl_group_info *rgi)
if (rgi->rli->slave_skip_counter > 0)
{
DBUG_ASSERT(!rgi->rli->get_flag(Relay_log_info::IN_TRANSACTION));
- thd->variables.option_bits&= ~OPTION_BEGIN;
+ thd->variables.option_bits&= ~(OPTION_BEGIN | OPTION_GTID_BEGIN);
DBUG_RETURN(Log_event::EVENT_SKIP_COUNT);
}
DBUG_RETURN(Log_event::do_shall_skip(rgi));
@@ -9096,7 +9167,8 @@ Rows_log_event::Rows_log_event(THD *thd_arg, TABLE *tbl_arg, ulong tid,
m_type(event_type), m_extra_row_data(0)
#ifdef HAVE_REPLICATION
, m_curr_row(NULL), m_curr_row_end(NULL),
- m_key(NULL), m_key_info(NULL), m_key_nr(0)
+ m_key(NULL), m_key_info(NULL), m_key_nr(0),
+ master_had_triggers(0)
#endif
{
/*
@@ -9112,8 +9184,8 @@ Rows_log_event::Rows_log_event(THD *thd_arg, TABLE *tbl_arg, ulong tid,
set_flags(NO_FOREIGN_KEY_CHECKS_F);
if (thd_arg->variables.option_bits & OPTION_RELAXED_UNIQUE_CHECKS)
set_flags(RELAXED_UNIQUE_CHECKS_F);
- /* if bitmap_init fails, caught in is_valid() */
- if (likely(!bitmap_init(&m_cols,
+ /* if my_bitmap_init fails, caught in is_valid() */
+ if (likely(!my_bitmap_init(&m_cols,
m_width <= sizeof(m_bitbuf)*8 ? m_bitbuf : NULL,
m_width,
false)))
@@ -9127,7 +9199,7 @@ Rows_log_event::Rows_log_event(THD *thd_arg, TABLE *tbl_arg, ulong tid,
}
else
{
- // Needed because bitmap_init() does not set it to null on failure
+ // Needed because my_bitmap_init() does not set it to null on failure
m_cols.bitmap= 0;
}
}
@@ -9145,7 +9217,8 @@ Rows_log_event::Rows_log_event(const char *buf, uint event_len,
m_extra_row_data(0)
#if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION)
, m_curr_row(NULL), m_curr_row_end(NULL),
- m_key(NULL), m_key_info(NULL), m_key_nr(0)
+ m_key(NULL), m_key_info(NULL), m_key_nr(0),
+ master_had_triggers(0)
#endif
{
DBUG_ENTER("Rows_log_event::Rows_log_event(const char*,...)");
@@ -9228,8 +9301,8 @@ Rows_log_event::Rows_log_event(const char *buf, uint event_len,
DBUG_PRINT("debug", ("Reading from %p", ptr_after_width));
m_width = net_field_length(&ptr_after_width);
DBUG_PRINT("debug", ("m_width=%lu", m_width));
- /* if bitmap_init fails, catched in is_valid() */
- if (likely(!bitmap_init(&m_cols,
+ /* if my_bitmap_init fails, catched in is_valid() */
+ if (likely(!my_bitmap_init(&m_cols,
m_width <= sizeof(m_bitbuf)*8 ? m_bitbuf : NULL,
m_width,
false)))
@@ -9242,7 +9315,7 @@ Rows_log_event::Rows_log_event(const char *buf, uint event_len,
}
else
{
- // Needed because bitmap_init() does not set it to null on failure
+ // Needed because my_bitmap_init() does not set it to null on failure
m_cols.bitmap= NULL;
DBUG_VOID_RETURN;
}
@@ -9254,8 +9327,8 @@ Rows_log_event::Rows_log_event(const char *buf, uint event_len,
{
DBUG_PRINT("debug", ("Reading from %p", ptr_after_width));
- /* if bitmap_init fails, caught in is_valid() */
- if (likely(!bitmap_init(&m_cols_ai,
+ /* if my_bitmap_init fails, caught in is_valid() */
+ if (likely(!my_bitmap_init(&m_cols_ai,
m_width <= sizeof(m_bitbuf_ai)*8 ? m_bitbuf_ai : NULL,
m_width,
false)))
@@ -9269,7 +9342,7 @@ Rows_log_event::Rows_log_event(const char *buf, uint event_len,
}
else
{
- // Needed because bitmap_init() does not set it to null on failure
+ // Needed because my_bitmap_init() does not set it to null on failure
m_cols_ai.bitmap= 0;
DBUG_VOID_RETURN;
}
@@ -9300,8 +9373,8 @@ Rows_log_event::Rows_log_event(const char *buf, uint event_len,
Rows_log_event::~Rows_log_event()
{
if (m_cols.bitmap == m_bitbuf) // no my_malloc happened
- m_cols.bitmap= 0; // so no my_free in bitmap_free
- bitmap_free(&m_cols); // To pair with bitmap_init().
+ m_cols.bitmap= 0; // so no my_free in my_bitmap_free
+ my_bitmap_free(&m_cols); // To pair with my_bitmap_init().
my_free(m_rows_buf);
my_free(m_extra_row_data);
}
@@ -9400,10 +9473,30 @@ int Rows_log_event::do_add_row_data(uchar *row_data, size_t length)
}
#endif
-#if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION)
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+
+/**
+ Restores empty table list as it was before trigger processing.
+
+ @note We have a lot of ASSERTS that check the lists when we close tables.
+ There was the same problem with MERGE MYISAM tables and so here we try to
+ go the same way.
+*/
+static void restore_empty_query_table_list(LEX *lex)
+{
+#ifdef RBR_TRIGGERS
+ if (lex->first_not_own_table())
+ (*lex->first_not_own_table()->prev_global)= NULL;
+ lex->query_tables= NULL;
+ lex->query_tables_last= &lex->query_tables;
+#endif //RBR_TRIGGERS
+}
+
+
int Rows_log_event::do_apply_event(rpl_group_info *rgi)
{
Relay_log_info const *rli= rgi->rli;
+ TABLE* table;
DBUG_ENTER("Rows_log_event::do_apply_event(Relay_log_info*)");
int error= 0;
/*
@@ -9483,6 +9576,28 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
/* A small test to verify that objects have consistent types */
DBUG_ASSERT(sizeof(thd->variables.option_bits) == sizeof(OPTION_RELAXED_UNIQUE_CHECKS));
+ if (slave_run_triggers_for_rbr)
+ {
+ LEX *lex= thd->lex;
+ uint8 new_trg_event_map= get_trg_event_map();
+
+ /*
+ Trigger's procedures work with global table list. So we have to add
+ rgi->tables_to_lock content there to get trigger's in the list.
+
+ Then restore_empty_query_table_list() restore the list as it was
+ */
+ DBUG_ASSERT(lex->query_tables == NULL);
+ if ((lex->query_tables= rgi->tables_to_lock))
+ rgi->tables_to_lock->prev_global= &lex->query_tables;
+
+ for (TABLE_LIST *tables= rgi->tables_to_lock; tables;
+ tables= tables->next_global)
+ {
+ tables->trg_event_map= new_trg_event_map;
+ lex->query_tables_last= &tables->next_global;
+ }
+ }
if (open_and_lock_tables(thd, rgi->tables_to_lock, FALSE, 0))
{
uint actual_error= thd->get_stmt_da()->sql_errno();
@@ -9500,8 +9615,9 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
"unexpected success or fatal error"));
thd->is_slave_error= 1;
}
- rgi->slave_close_thread_tables(thd);
- DBUG_RETURN(actual_error);
+ /* remove trigger's tables */
+ error= actual_error;
+ goto err;
}
/*
@@ -9545,8 +9661,9 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
having severe errors which should not be skiped.
*/
thd->is_slave_error= 1;
- rgi->slave_close_thread_tables(thd);
- DBUG_RETURN(ERR_BAD_TABLE_DEF);
+ /* remove trigger's tables */
+ error= ERR_BAD_TABLE_DEF;
+ goto err;
}
DBUG_PRINT("debug", ("Table: %s.%s is compatible with master"
" - conv_table: %p",
@@ -9572,21 +9689,35 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
*/
TABLE_LIST *ptr= rgi->tables_to_lock;
for (uint i=0 ; ptr && (i < rgi->tables_to_lock_count); ptr= ptr->next_global, i++)
+ {
rgi->m_table_map.set_table(ptr->table_id, ptr->table);
+ /*
+ Following is passing flag about triggers on the server. The problem was
+ to pass it between table map event and row event. I do it via extended
+ TABLE_LIST (RPL_TABLE_LIST) but row event uses only TABLE so I need to
+ find somehow the corresponding TABLE_LIST.
+ */
+ if (m_table_id == ptr->table_id)
+ {
+ ptr->table->master_had_triggers=
+ ((RPL_TABLE_LIST*)ptr)->master_had_triggers;
+ }
+ }
#ifdef HAVE_QUERY_CACHE
query_cache.invalidate_locked_for_write(thd, rgi->tables_to_lock);
#endif
}
- TABLE*
- table=
- m_table= rgi->m_table_map.get_table(m_table_id);
-
- DBUG_PRINT("debug", ("m_table: 0x%lx, m_table_id: %lu", (ulong) m_table, m_table_id));
+ table= m_table= rgi->m_table_map.get_table(m_table_id);
+ DBUG_PRINT("debug", ("m_table: 0x%lx, m_table_id: %lu%s",
+ (ulong) m_table, m_table_id,
+ table && master_had_triggers ?
+ " (master had triggers)" : ""));
if (table)
{
+ master_had_triggers= table->master_had_triggers;
bool transactional_table= table->file->has_transactions();
/*
table == NULL means that this table should not be replicated
@@ -9645,6 +9776,7 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
*/
rgi->set_row_stmt_start_timestamp();
+ THD_STAGE_INFO(thd, stage_executing);
while (error == 0 && m_curr_row < m_rows_end)
{
/* in_use can have been set to NULL in close_tables_for_reopen */
@@ -9750,9 +9882,13 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
*/
thd->reset_current_stmt_binlog_format_row();
thd->is_slave_error= 1;
- DBUG_RETURN(error);
+ /* remove trigger's tables */
+ goto err;
}
+ /* remove trigger's tables */
+ if (slave_run_triggers_for_rbr)
+ restore_empty_query_table_list(thd->lex);
if (get_flags(STMT_END_F) && (error= rows_event_stmt_cleanup(rgi, thd)))
slave_rows_error_report(ERROR_LEVEL,
thd->is_error() ? 0 : error,
@@ -9760,6 +9896,12 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
get_type_str(),
RPL_LOG_NAME, (ulong) log_pos);
DBUG_RETURN(error);
+
+err:
+ if (slave_run_triggers_for_rbr)
+ restore_empty_query_table_list(thd->lex);
+ rgi->slave_close_thread_tables(thd);
+ DBUG_RETURN(error);
}
Log_event::enum_skip_reason
@@ -9902,7 +10044,7 @@ Rows_log_event::do_update_pos(rpl_group_info *rgi)
DBUG_RETURN(error);
}
-#endif /* !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) */
+#endif //defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
#ifndef MYSQL_CLIENT
bool Rows_log_event::write_data_header(IO_CACHE *file)
@@ -10233,6 +10375,7 @@ Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid,
{
uchar cbuf[MAX_INT_WIDTH];
uchar *cbuf_end;
+ DBUG_ENTER("Table_map_log_event::Table_map_log_event(TABLE)");
DBUG_ASSERT(m_table_id != ~0UL);
/*
In TABLE_SHARE, "db" and "table_name" are 0-terminated (see this comment in
@@ -10253,6 +10396,11 @@ Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid,
DBUG_ASSERT(static_cast<size_t>(cbuf_end - cbuf) <= sizeof(cbuf));
m_data_size+= (cbuf_end - cbuf) + m_colcnt; // COLCNT and column types
+#ifdef RBR_TRIGGERS
+ if (tbl->triggers)
+ m_flags|= TM_BIT_HAS_TRIGGERS_F;
+#endif //RBR_TRIGGERS
+
/* If malloc fails, caught in is_valid() */
if ((m_memory= (uchar*) my_malloc(m_colcnt, MYF(MY_WME))))
{
@@ -10297,6 +10445,7 @@ Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid,
if (m_table->field[i]->maybe_null())
m_null_bits[(i / 8)]+= 1 << (i % 8);
+ DBUG_VOID_RETURN;
}
#endif /* !defined(MYSQL_CLIENT) */
@@ -10659,7 +10808,15 @@ int Table_map_log_event::do_apply_event(rpl_group_info *rgi)
table_list->table_id= DBUG_EVALUATE_IF("inject_tblmap_same_id_maps_diff_table", 0, m_table_id);
table_list->updating= 1;
table_list->required_type= FRMTYPE_TABLE;
- DBUG_PRINT("debug", ("table: %s is mapped to %u", table_list->table_name, table_list->table_id));
+
+ DBUG_PRINT("debug", ("table: %s is mapped to %u", table_list->table_name,
+ table_list->table_id));
+#ifdef RBR_TRIGGERS
+ table_list->master_had_triggers= ((m_flags & TM_BIT_HAS_TRIGGERS_F) ? 1 : 0);
+ DBUG_PRINT("debug", ("table->master_had_triggers=%d",
+ (int)table_list->master_had_triggers));
+#endif //RBR_TRIGGERS
+
enum_tbl_map_status tblmap_status= check_table_map(rgi, table_list);
if (tblmap_status == OK_TO_PROCESS)
{
@@ -10831,8 +10988,10 @@ void Table_map_log_event::print(FILE *, PRINT_EVENT_INFO *print_event_info)
{
print_header(&print_event_info->head_cache, print_event_info, TRUE);
my_b_printf(&print_event_info->head_cache,
- "\tTable_map: %`s.%`s mapped to number %lu\n",
- m_dbnam, m_tblnam, (ulong) m_table_id);
+ "\tTable_map: %`s.%`s mapped to number %lu%s\n",
+ m_dbnam, m_tblnam, m_table_id,
+ ((m_flags & TM_BIT_HAS_TRIGGERS_F) ?
+ " (has triggers)" : ""));
print_base64(&print_event_info->body_cache, print_event_info, TRUE);
}
}
@@ -10908,6 +11067,8 @@ Write_rows_log_event::do_before_row_operations(const Slave_reporting_capability
/*
NDB specific: update from ndb master wrapped as Write_rows
so that the event should be applied to replace slave's row
+
+ Also following is needed in case if we have AFTER DELETE triggers.
*/
m_table->file->extra(HA_EXTRA_WRITE_CAN_REPLACE);
/*
@@ -10922,6 +11083,8 @@ Write_rows_log_event::do_before_row_operations(const Slave_reporting_capability
from the start.
*/
}
+ if (slave_run_triggers_for_rbr && !master_had_triggers && m_table->triggers )
+ m_table->prepare_triggers_for_insert_stmt_or_event();
/* Honor next number column if present */
m_table->next_number_field= m_table->found_next_number_field;
@@ -10967,6 +11130,29 @@ Write_rows_log_event::do_after_row_operations(const Slave_reporting_capability *
#if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION)
+bool Rows_log_event::process_triggers(trg_event_type event,
+ trg_action_time_type time_type,
+ bool old_row_is_record1)
+{
+#ifdef RBR_TRIGGERS
+ bool result;
+ DBUG_ENTER("Rows_log_event::process_triggers");
+ if (slave_run_triggers_for_rbr == SLAVE_RUN_TRIGGERS_FOR_RBR_YES)
+ {
+ tmp_disable_binlog(thd); /* Do not replicate the low-level changes. */
+ result= m_table->triggers->process_triggers(thd, event,
+ time_type, old_row_is_record1);
+ reenable_binlog(thd);
+ }
+ else
+ result= m_table->triggers->process_triggers(thd, event,
+ time_type, old_row_is_record1);
+
+ DBUG_RETURN(result);
+#else
+ return TRUE;
+#endif //RBR_TRIGGERS
+}
/*
Check if there are more UNIQUE keys after the given key.
*/
@@ -11049,6 +11235,8 @@ Rows_log_event::write_row(rpl_group_info *rgi,
TABLE *table= m_table; // pointer to event's table
int error;
int UNINIT_VAR(keynum);
+ const bool invoke_triggers=
+ slave_run_triggers_for_rbr && !master_had_triggers && table->triggers;
auto_afree_ptr<char> key(NULL);
prepare_record(table, m_width,
@@ -11058,13 +11246,17 @@ Rows_log_event::write_row(rpl_group_info *rgi,
if ((error= unpack_current_row(rgi)))
DBUG_RETURN(error);
- if (m_curr_row == m_rows_buf)
+ if (m_curr_row == m_rows_buf && !invoke_triggers)
{
- /* this is the first row to be inserted, we estimate the rows with
+ /*
+ This table has no triggers so we can do bulk insert.
+
+ This is the first row to be inserted, we estimate the rows with
the size of the first row and use that value to initialize
- storage engine for bulk insertion */
+ storage engine for bulk insertion.
+ */
ulong estimated_rows= (m_rows_end - m_curr_row) / (m_curr_row_end - m_curr_row);
- m_table->file->ha_start_bulk_insert(estimated_rows);
+ table->file->ha_start_bulk_insert(estimated_rows);
}
@@ -11074,6 +11266,12 @@ Rows_log_event::write_row(rpl_group_info *rgi,
DBUG_PRINT_BITSET("debug", "read_set = %s", table->read_set);
#endif
+ if (invoke_triggers &&
+ process_triggers(TRG_EVENT_INSERT, TRG_ACTION_BEFORE, TRUE))
+ {
+ DBUG_RETURN(HA_ERR_GENERIC); // in case if error is not set yet
+ }
+
/*
Try to write record. If a corresponding record already exists in the table,
we try to change it using ha_update_row() if possible. Otherwise we delete
@@ -11200,38 +11398,61 @@ Rows_log_event::write_row(rpl_group_info *rgi,
!table->file->referenced_by_foreign_key())
{
DBUG_PRINT("info",("Updating row using ha_update_row()"));
- error=table->file->ha_update_row(table->record[1],
- table->record[0]);
- switch (error) {
-
- case HA_ERR_RECORD_IS_THE_SAME:
- DBUG_PRINT("info",("ignoring HA_ERR_RECORD_IS_THE_SAME error from"
- " ha_update_row()"));
- error= 0;
-
- case 0:
- break;
-
- default:
- DBUG_PRINT("info",("ha_update_row() returns error %d",error));
- table->file->print_error(error, MYF(0));
+ if (invoke_triggers &&
+ process_triggers(TRG_EVENT_UPDATE, TRG_ACTION_BEFORE, FALSE))
+ error= HA_ERR_GENERIC; // in case if error is not set yet
+ else
+ {
+ error= table->file->ha_update_row(table->record[1],
+ table->record[0]);
+ switch (error) {
+
+ case HA_ERR_RECORD_IS_THE_SAME:
+ DBUG_PRINT("info",("ignoring HA_ERR_RECORD_IS_THE_SAME error from"
+ " ha_update_row()"));
+ error= 0;
+
+ case 0:
+ break;
+
+ default:
+ DBUG_PRINT("info",("ha_update_row() returns error %d",error));
+ table->file->print_error(error, MYF(0));
+ }
+ if (invoke_triggers && !error &&
+ (process_triggers(TRG_EVENT_UPDATE, TRG_ACTION_AFTER, TRUE) ||
+ process_triggers(TRG_EVENT_INSERT, TRG_ACTION_AFTER, TRUE)))
+ error= HA_ERR_GENERIC; // in case if error is not set yet
}
-
+
DBUG_RETURN(error);
}
else
{
DBUG_PRINT("info",("Deleting offending row and trying to write new one again"));
- if ((error= table->file->ha_delete_row(table->record[1])))
+ if (invoke_triggers &&
+ process_triggers(TRG_EVENT_DELETE, TRG_ACTION_BEFORE, TRUE))
+ error= HA_ERR_GENERIC; // in case if error is not set yet
+ else
{
- DBUG_PRINT("info",("ha_delete_row() returns error %d",error));
- table->file->print_error(error, MYF(0));
- DBUG_RETURN(error);
+ if ((error= table->file->ha_delete_row(table->record[1])))
+ {
+ DBUG_PRINT("info",("ha_delete_row() returns error %d",error));
+ table->file->print_error(error, MYF(0));
+ DBUG_RETURN(error);
+ }
+ if (invoke_triggers &&
+ process_triggers(TRG_EVENT_DELETE, TRG_ACTION_AFTER, TRUE))
+ DBUG_RETURN(HA_ERR_GENERIC); // in case if error is not set yet
}
/* Will retry ha_write_row() with the offending row removed. */
}
}
+ if (invoke_triggers &&
+ process_triggers(TRG_EVENT_INSERT, TRG_ACTION_AFTER, TRUE))
+ error= HA_ERR_GENERIC; // in case if error is not set yet
+
DBUG_RETURN(error);
}
@@ -11263,6 +11484,16 @@ void Write_rows_log_event::print(FILE *file, PRINT_EVENT_INFO* print_event_info)
}
#endif
+
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+uint8 Write_rows_log_event::get_trg_event_map()
+{
+ return (static_cast<uint8> (1 << static_cast<int>(TRG_EVENT_INSERT)) |
+ static_cast<uint8> (1 << static_cast<int>(TRG_EVENT_UPDATE)) |
+ static_cast<uint8> (1 << static_cast<int>(TRG_EVENT_DELETE)));
+}
+#endif
+
/**************************************************************************
Delete_rows_log_event member functions
**************************************************************************/
@@ -11887,6 +12118,10 @@ Delete_rows_log_event::do_before_row_operations(const Slave_reporting_capability
*/
return 0;
}
+#ifdef RBR_TRIGGERS
+ if (slave_run_triggers_for_rbr && !master_had_triggers)
+ m_table->prepare_triggers_for_delete_stmt_or_event();
+#endif //RBR_TRIGGERS
return find_key();
}
@@ -11907,6 +12142,8 @@ Delete_rows_log_event::do_after_row_operations(const Slave_reporting_capability
int Delete_rows_log_event::do_exec_row(rpl_group_info *rgi)
{
int error;
+ const bool invoke_triggers=
+ slave_run_triggers_for_rbr && !master_had_triggers && m_table->triggers;
DBUG_ASSERT(m_table != NULL);
if (!(error= find_row(rgi)))
@@ -11914,7 +12151,14 @@ int Delete_rows_log_event::do_exec_row(rpl_group_info *rgi)
/*
Delete the record found, located in record[0]
*/
- error= m_table->file->ha_delete_row(m_table->record[0]);
+ if (invoke_triggers &&
+ process_triggers(TRG_EVENT_DELETE, TRG_ACTION_BEFORE, FALSE))
+ error= HA_ERR_GENERIC; // in case if error is not set yet
+ if (!error)
+ error= m_table->file->ha_delete_row(m_table->record[0]);
+ if (invoke_triggers && !error &&
+ process_triggers(TRG_EVENT_DELETE, TRG_ACTION_AFTER, FALSE))
+ error= HA_ERR_GENERIC; // in case if error is not set yet
m_table->file->ha_index_or_rnd_end();
}
return error;
@@ -11931,6 +12175,13 @@ void Delete_rows_log_event::print(FILE *file,
#endif
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+uint8 Delete_rows_log_event::get_trg_event_map()
+{
+ return static_cast<uint8> (1 << static_cast<int>(TRG_EVENT_DELETE));
+}
+#endif
+
/**************************************************************************
Update_rows_log_event member functions
**************************************************************************/
@@ -11960,8 +12211,8 @@ Update_rows_log_event::Update_rows_log_event(THD *thd_arg, TABLE *tbl_arg,
void Update_rows_log_event::init(MY_BITMAP const *cols)
{
- /* if bitmap_init fails, caught in is_valid() */
- if (likely(!bitmap_init(&m_cols_ai,
+ /* if my_bitmap_init fails, caught in is_valid() */
+ if (likely(!my_bitmap_init(&m_cols_ai,
m_width <= sizeof(m_bitbuf_ai)*8 ? m_bitbuf_ai : NULL,
m_width,
false)))
@@ -11980,8 +12231,8 @@ void Update_rows_log_event::init(MY_BITMAP const *cols)
Update_rows_log_event::~Update_rows_log_event()
{
if (m_cols_ai.bitmap == m_bitbuf_ai) // no my_malloc happened
- m_cols_ai.bitmap= 0; // so no my_free in bitmap_free
- bitmap_free(&m_cols_ai); // To pair with bitmap_init().
+ m_cols_ai.bitmap= 0; // so no my_free in my_bitmap_free
+ my_bitmap_free(&m_cols_ai); // To pair with my_bitmap_init().
}
@@ -12013,6 +12264,9 @@ Update_rows_log_event::do_before_row_operations(const Slave_reporting_capability
if ((err= find_key()))
return err;
+ if (slave_run_triggers_for_rbr && !master_had_triggers)
+ m_table->prepare_triggers_for_update_stmt_or_event();
+
return 0;
}
@@ -12032,6 +12286,8 @@ Update_rows_log_event::do_after_row_operations(const Slave_reporting_capability
int
Update_rows_log_event::do_exec_row(rpl_group_info *rgi)
{
+ const bool invoke_triggers=
+ slave_run_triggers_for_rbr && !master_had_triggers && m_table->triggers;
DBUG_ASSERT(m_table != NULL);
int error= find_row(rgi);
@@ -12078,10 +12334,21 @@ Update_rows_log_event::do_exec_row(rpl_group_info *rgi)
DBUG_DUMP("new values", m_table->record[0], m_table->s->reclength);
#endif
+ if (invoke_triggers &&
+ process_triggers(TRG_EVENT_UPDATE, TRG_ACTION_BEFORE, TRUE))
+ {
+ error= HA_ERR_GENERIC; // in case if error is not set yet
+ goto err;
+ }
+
error= m_table->file->ha_update_row(m_table->record[1], m_table->record[0]);
if (error == HA_ERR_RECORD_IS_THE_SAME)
error= 0;
+ if (invoke_triggers && !error &&
+ process_triggers(TRG_EVENT_UPDATE, TRG_ACTION_AFTER, TRUE))
+ error= HA_ERR_GENERIC; // in case if error is not set yet
+
err:
m_table->file->ha_index_or_rnd_end();
return error;
@@ -12097,6 +12364,12 @@ void Update_rows_log_event::print(FILE *file,
}
#endif
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+uint8 Update_rows_log_event::get_trg_event_map()
+{
+ return static_cast<uint8> (1 << static_cast<int>(TRG_EVENT_UPDATE));
+}
+#endif
Incident_log_event::Incident_log_event(const char *buf, uint event_len,
const Format_description_log_event *descr_event)
diff --git a/sql/log_event.h b/sql/log_event.h
index cd00b40f080..bba1b907a57 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -3075,6 +3075,7 @@ public:
bool is_valid() const { return binlog_file_name != 0; }
#ifdef MYSQL_SERVER
bool write(IO_CACHE* file);
+ enum_skip_reason do_shall_skip(rpl_group_info *rgi);
#endif
};
@@ -3122,12 +3123,15 @@ public:
<td>flags</td>
<td>1 byte bitfield</td>
<td>Bit 0 set indicates stand-alone event (no terminating COMMIT)</td>
+ <td>Bit 1 set indicates group commit, and that commit id exists</td>
</tr>
<tr>
- <td>Reserved</td>
- <td>6 bytes</td>
- <td>Reserved bytes, set to 0. Maybe be used for future expansion.</td>
+ <td>Reserved (no group commit) / commit id (group commit) (see flags bit 1)</td>
+ <td>6 bytes / 8 bytes</td>
+ <td>Reserved bytes, set to 0. Maybe be used for future expansion (no
+ group commit). OR commit id, same for all GTIDs in the same group
+ commit (see flags bit 1).</td>
</tr>
</table>
@@ -3292,6 +3296,7 @@ public:
bool to_packet(String *packet);
bool write(IO_CACHE *file);
virtual int do_apply_event(rpl_group_info *rgi);
+ enum_skip_reason do_shall_skip(rpl_group_info *rgi);
#endif
static bool peek(const char *event_start, uint32 event_len,
uint8 checksum_alg,
@@ -4044,7 +4049,9 @@ public:
enum
{
TM_NO_FLAGS = 0U,
- TM_BIT_LEN_EXACT_F = (1U << 0)
+ TM_BIT_LEN_EXACT_F = (1U << 0),
+ // MariaDB flags (we starts from the other end)
+ TM_BIT_HAS_TRIGGERS_F= (1U << 14)
};
flag_set get_flags(flag_set flag) const { return m_flags & flag; }
@@ -4249,6 +4256,10 @@ public:
const uchar* get_extra_row_data() const { return m_extra_row_data; }
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+ virtual uint8 get_trg_event_map()= 0;
+#endif
+
protected:
/*
The constructors are protected since you're supposed to inherit
@@ -4302,6 +4313,7 @@ protected:
uchar *m_extra_row_data; /* Pointer to extra row data if any */
/* If non null, first byte is length */
+
/* helper functions */
#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
@@ -4310,6 +4322,7 @@ protected:
uchar *m_key; /* Buffer to keep key value during searches */
KEY *m_key_info; /* Pointer to KEY info for m_key_nr */
uint m_key_nr; /* Key number */
+ bool master_had_triggers; /* set after tables opening */
int find_key(); // Find a best key to use in find_row()
int find_row(rpl_group_info *);
@@ -4321,15 +4334,13 @@ protected:
DBUG_ASSERT(m_table);
ASSERT_OR_RETURN_ERROR(m_curr_row < m_rows_end, HA_ERR_CORRUPT_EVENT);
- int const result= ::unpack_row(rgi, m_table, m_width, m_curr_row,
- m_rows_end, &m_cols,
- &m_curr_row_end, &m_master_reclength);
- if (m_curr_row_end > m_rows_end)
- my_error(ER_SLAVE_CORRUPT_EVENT, MYF(0));
- ASSERT_OR_RETURN_ERROR(m_curr_row_end <= m_rows_end, HA_ERR_CORRUPT_EVENT);
- return result;
+ return ::unpack_row(rgi, m_table, m_width, m_curr_row, &m_cols,
+ &m_curr_row_end, &m_master_reclength, m_rows_end);
}
-#endif
+ bool process_triggers(trg_event_type event,
+ trg_action_time_type time_type,
+ bool old_row_is_record1);
+#endif //defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
private:
@@ -4433,6 +4444,10 @@ public:
}
#endif
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+ uint8 get_trg_event_map();
+#endif
+
private:
virtual Log_event_type get_general_type_code() { return (Log_event_type)TYPE_CODE; }
@@ -4507,6 +4522,10 @@ public:
return Rows_log_event::is_valid() && m_cols_ai.bitmap;
}
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+ uint8 get_trg_event_map();
+#endif
+
protected:
virtual Log_event_type get_general_type_code() { return (Log_event_type)TYPE_CODE; }
@@ -4571,7 +4590,11 @@ public:
cols, fields, before_record);
}
#endif
-
+
+#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
+ uint8 get_trg_event_map();
+#endif
+
protected:
virtual Log_event_type get_general_type_code() { return (Log_event_type)TYPE_CODE; }
@@ -4743,9 +4766,6 @@ private:
bool slave_execute_deferred_events(THD *thd);
#endif
-int append_query_string(THD *thd, CHARSET_INFO *csinfo,
- String const *from, String *to);
-
bool rpl_get_position_info(const char **log_file_name, ulonglong *log_pos,
const char **group_relay_log_name,
ulonglong *relay_log_pos);
diff --git a/sql/log_event_old.cc b/sql/log_event_old.cc
index 7b89d5bdf08..0cb78686243 100644
--- a/sql/log_event_old.cc
+++ b/sql/log_event_old.cc
@@ -1244,8 +1244,8 @@ Old_rows_log_event::Old_rows_log_event(THD *thd_arg, TABLE *tbl_arg, ulong tid,
set_flags(NO_FOREIGN_KEY_CHECKS_F);
if (thd_arg->variables.option_bits & OPTION_RELAXED_UNIQUE_CHECKS)
set_flags(RELAXED_UNIQUE_CHECKS_F);
- /* if bitmap_init fails, caught in is_valid() */
- if (likely(!bitmap_init(&m_cols,
+ /* if my_bitmap_init fails, caught in is_valid() */
+ if (likely(!my_bitmap_init(&m_cols,
m_width <= sizeof(m_bitbuf)*8 ? m_bitbuf : NULL,
m_width,
false)))
@@ -1259,7 +1259,7 @@ Old_rows_log_event::Old_rows_log_event(THD *thd_arg, TABLE *tbl_arg, ulong tid,
}
else
{
- // Needed because bitmap_init() does not set it to null on failure
+ // Needed because my_bitmap_init() does not set it to null on failure
m_cols.bitmap= 0;
}
}
@@ -1313,8 +1313,8 @@ Old_rows_log_event::Old_rows_log_event(const char *buf, uint event_len,
DBUG_PRINT("debug", ("Reading from %p", ptr_after_width));
m_width = net_field_length(&ptr_after_width);
DBUG_PRINT("debug", ("m_width=%lu", m_width));
- /* if bitmap_init fails, catched in is_valid() */
- if (likely(!bitmap_init(&m_cols,
+ /* if my_bitmap_init fails, catched in is_valid() */
+ if (likely(!my_bitmap_init(&m_cols,
m_width <= sizeof(m_bitbuf)*8 ? m_bitbuf : NULL,
m_width,
false)))
@@ -1327,7 +1327,7 @@ Old_rows_log_event::Old_rows_log_event(const char *buf, uint event_len,
}
else
{
- // Needed because bitmap_init() does not set it to null on failure
+ // Needed because my_bitmap_init() does not set it to null on failure
m_cols.bitmap= NULL;
DBUG_VOID_RETURN;
}
@@ -1358,8 +1358,8 @@ Old_rows_log_event::Old_rows_log_event(const char *buf, uint event_len,
Old_rows_log_event::~Old_rows_log_event()
{
if (m_cols.bitmap == m_bitbuf) // no my_malloc happened
- m_cols.bitmap= 0; // so no my_free in bitmap_free
- bitmap_free(&m_cols); // To pair with bitmap_init().
+ m_cols.bitmap= 0; // so no my_free in my_bitmap_free
+ my_bitmap_free(&m_cols); // To pair with my_bitmap_init().
my_free(m_rows_buf);
}
diff --git a/sql/log_event_old.h b/sql/log_event_old.h
index 97fc24a1bef..7408e121f96 100644
--- a/sql/log_event_old.h
+++ b/sql/log_event_old.h
@@ -1,4 +1,4 @@
-/* Copyright 2007 MySQL AB.
+/* Copyright (c) 2007, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -207,11 +207,8 @@ protected:
{
DBUG_ASSERT(m_table);
ASSERT_OR_RETURN_ERROR(m_curr_row < m_rows_end, HA_ERR_CORRUPT_EVENT);
- int const result= ::unpack_row(rgi, m_table, m_width, m_curr_row,
- m_rows_end, &m_cols,
- &m_curr_row_end, &m_master_reclength);
- ASSERT_OR_RETURN_ERROR(m_curr_row_end <= m_rows_end, HA_ERR_CORRUPT_EVENT);
- return result;
+ return ::unpack_row(rgi, m_table, m_width, m_curr_row, &m_cols,
+ &m_curr_row_end, &m_master_reclength, m_rows_end);
}
#endif
diff --git a/sql/mdl.cc b/sql/mdl.cc
index d8aa6e1d1b4..374a0407f78 100644
--- a/sql/mdl.cc
+++ b/sql/mdl.cc
@@ -124,15 +124,9 @@ class MDL_map_partition
public:
MDL_map_partition();
~MDL_map_partition();
- inline MDL_lock *find_or_insert(const MDL_key *mdl_key,
- my_hash_value_type hash_value);
- unsigned long get_lock_owner(const MDL_key *key,
- my_hash_value_type hash_value);
+ inline MDL_lock *find_or_insert(const MDL_key *mdl_key);
+ unsigned long get_lock_owner(const MDL_key *key);
inline void remove(MDL_lock *lock);
- my_hash_value_type get_key_hash(const MDL_key *mdl_key) const
- {
- return my_calc_hash(&m_locks, mdl_key->ptr(), mdl_key->length());
- }
private:
bool move_from_hash_to_lock_mutex(MDL_lock *lock);
/** A partition of all acquired locks in the server. */
@@ -766,13 +760,21 @@ void MDL_map::init()
}
+my_hash_value_type mdl_hash_function(const CHARSET_INFO *cs,
+ const uchar *key, size_t length)
+{
+ MDL_key *mdl_key= (MDL_key*) (key - offsetof(MDL_key, m_ptr));
+ return mdl_key->hash_value();
+}
+
+
/** Initialize the partition in the container with all MDL locks. */
MDL_map_partition::MDL_map_partition()
{
mysql_mutex_init(key_MDL_map_mutex, &m_mutex, NULL);
- my_hash_init(&m_locks, &my_charset_bin, 16 /* FIXME */, 0, 0,
- mdl_locks_key, 0, 0);
+ my_hash_init2(&m_locks, 0, &my_charset_bin, 16 /* FIXME */, 0, 0,
+ mdl_locks_key, mdl_hash_function, 0, 0);
};
@@ -846,11 +848,10 @@ MDL_lock* MDL_map::find_or_insert(const MDL_key *mdl_key)
return lock;
}
- my_hash_value_type hash_value= m_partitions.at(0)->get_key_hash(mdl_key);
- uint part_id= hash_value % mdl_locks_hash_partitions;
+ uint part_id= mdl_key->hash_value() % mdl_locks_hash_partitions;
MDL_map_partition *part= m_partitions.at(part_id);
- return part->find_or_insert(mdl_key, hash_value);
+ return part->find_or_insert(mdl_key);
}
@@ -863,15 +864,14 @@ MDL_lock* MDL_map::find_or_insert(const MDL_key *mdl_key)
@retval NULL - Failure (OOM).
*/
-MDL_lock* MDL_map_partition::find_or_insert(const MDL_key *mdl_key,
- my_hash_value_type hash_value)
+MDL_lock* MDL_map_partition::find_or_insert(const MDL_key *mdl_key)
{
MDL_lock *lock;
retry:
mysql_mutex_lock(&m_mutex);
if (!(lock= (MDL_lock*) my_hash_search_using_hash_value(&m_locks,
- hash_value,
+ mdl_key->hash_value(),
mdl_key->ptr(),
mdl_key->length())))
{
@@ -1023,10 +1023,9 @@ MDL_map::get_lock_owner(const MDL_key *mdl_key)
}
else
{
- my_hash_value_type hash_value= m_partitions.at(0)->get_key_hash(mdl_key);
- uint part_id= hash_value % mdl_locks_hash_partitions;
+ uint part_id= mdl_key->hash_value() % mdl_locks_hash_partitions;
MDL_map_partition *part= m_partitions.at(part_id);
- res= part->get_lock_owner(mdl_key, hash_value);
+ res= part->get_lock_owner(mdl_key);
}
return res;
}
@@ -1034,15 +1033,14 @@ MDL_map::get_lock_owner(const MDL_key *mdl_key)
unsigned long
-MDL_map_partition::get_lock_owner(const MDL_key *mdl_key,
- my_hash_value_type hash_value)
+MDL_map_partition::get_lock_owner(const MDL_key *mdl_key)
{
MDL_lock *lock;
unsigned long res= 0;
mysql_mutex_lock(&m_mutex);
lock= (MDL_lock*) my_hash_search_using_hash_value(&m_locks,
- hash_value,
+ mdl_key->hash_value(),
mdl_key->ptr(),
mdl_key->length());
if (lock)
@@ -1905,8 +1903,6 @@ bool MDL_lock::has_pending_conflicting_lock(enum_mdl_type type)
{
bool result;
- mysql_mutex_assert_not_owner(&LOCK_open);
-
mysql_prlock_rdlock(&m_rwlock);
result= (m_waiting.bitmap() & incompatible_granted_types_bitmap()[type]);
mysql_prlock_unlock(&m_rwlock);
@@ -2081,7 +2077,6 @@ MDL_context::try_acquire_lock_impl(MDL_request *mdl_request,
/* Don't take chances in production. */
mdl_request->ticket= NULL;
- mysql_mutex_assert_not_owner(&LOCK_open);
/*
Check whether the context already holds a shared lock on the object,
@@ -2171,7 +2166,6 @@ MDL_context::clone_ticket(MDL_request *mdl_request)
{
MDL_ticket *ticket;
- mysql_mutex_assert_not_owner(&LOCK_open);
/*
By submitting mdl_request->type to MDL_ticket::create()
we effectively downgrade the cloned lock to the level of
@@ -2832,7 +2826,6 @@ void MDL_context::release_lock(enum_mdl_duration duration, MDL_ticket *ticket)
lock->key.db_name(), lock->key.name()));
DBUG_ASSERT(this == ticket->get_ctx());
- mysql_mutex_assert_not_owner(&LOCK_open);
lock->remove_ticket(&MDL_lock::m_granted, ticket);
@@ -2925,8 +2918,6 @@ void MDL_context::release_all_locks_for_name(MDL_ticket *name)
void MDL_ticket::downgrade_lock(enum_mdl_type type)
{
- mysql_mutex_assert_not_owner(&LOCK_open);
-
/*
Do nothing if already downgraded. Used when we FLUSH TABLE under
LOCK TABLES and a table is listed twice in LOCK TABLES list.
diff --git a/sql/mdl.h b/sql/mdl.h
index c7c445c75e1..dbd44e8c6ab 100644
--- a/sql/mdl.h
+++ b/sql/mdl.h
@@ -28,6 +28,7 @@
#include <my_sys.h>
#include <m_string.h>
#include <mysql_com.h>
+#include <hash.h>
#include <algorithm>
@@ -347,12 +348,15 @@ public:
m_ptr - 1);
m_length= static_cast<uint16>(strmake(m_ptr + m_db_name_length + 2, name,
NAME_LEN) - m_ptr + 1);
+ m_hash_value= my_hash_sort(&my_charset_bin, (uchar*) m_ptr + 1,
+ m_length - 1);
}
void mdl_key_init(const MDL_key *rhs)
{
memcpy(m_ptr, rhs->m_ptr, rhs->m_length);
m_length= rhs->m_length;
m_db_name_length= rhs->m_db_name_length;
+ m_hash_value= rhs->m_hash_value;
}
bool is_equal(const MDL_key *rhs) const
{
@@ -392,15 +396,26 @@ public:
{
return & m_namespace_to_wait_state_name[(int)mdl_namespace()];
}
+ my_hash_value_type hash_value() const
+ {
+ return m_hash_value + mdl_namespace();
+ }
+ my_hash_value_type tc_hash_value() const
+ {
+ return m_hash_value;
+ }
private:
uint16 m_length;
uint16 m_db_name_length;
+ my_hash_value_type m_hash_value;
char m_ptr[MAX_MDLKEY_LENGTH];
static PSI_stage_info m_namespace_to_wait_state_name[NAMESPACE_END];
private:
MDL_key(const MDL_key &); /* not implemented */
MDL_key &operator=(const MDL_key &); /* not implemented */
+ friend my_hash_value_type mdl_hash_function(const CHARSET_INFO *,
+ const uchar *, size_t);
};
@@ -504,17 +519,7 @@ public:
virtual bool inspect_edge(MDL_context *dest) = 0;
virtual ~MDL_wait_for_graph_visitor();
- MDL_wait_for_graph_visitor() :m_lock_open_count(0) {}
-public:
- /**
- XXX, hack: During deadlock search, we may need to
- inspect TABLE_SHAREs and acquire LOCK_open. Since
- LOCK_open is not a recursive mutex, count here how many
- times we "took" it (but only take and release once).
- Not using a native recursive mutex or rwlock in 5.5 for
- LOCK_open since it has significant performance impacts.
- */
- uint m_lock_open_count;
+ MDL_wait_for_graph_visitor() {}
};
/**
@@ -965,10 +970,6 @@ extern "C" unsigned long thd_get_thread_id(const MYSQL_THD thd);
*/
extern "C" int thd_is_connected(MYSQL_THD thd);
-#ifndef DBUG_OFF
-extern mysql_mutex_t LOCK_open;
-#endif
-
/*
Start-up parameter for the maximum size of the unused MDL_lock objects cache
diff --git a/sql/mem_root_array.h b/sql/mem_root_array.h
index 9dc9638c13f..2dcc475cd7b 100644
--- a/sql/mem_root_array.h
+++ b/sql/mem_root_array.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/message.h b/sql/message.h
index dac0576d0c4..6641453a965 100644
--- a/sql/message.h
+++ b/sql/message.h
@@ -1,77 +1,77 @@
-#ifndef MESSAGE_INCLUDED
-#define MESSAGE_INCLUDED
-/* Copyright (c) 2008, 2009 Sun Microsystems, Inc.
- Use is subject to license terms.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-
-/*
- To change or add messages mysqld writes to the Windows error log, run
- mc.exe message.mc
- and checkin generated messages.h, messages.rc and msg000001.bin under the
- source control.
- mc.exe can be installed with Windows SDK, some Visual Studio distributions
- do not include it.
-*/
-
-
-//
-// Values are 32 bit values layed out as follows:
-//
-// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
-// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
-// +---+-+-+-----------------------+-------------------------------+
-// |Sev|C|R| Facility | Code |
-// +---+-+-+-----------------------+-------------------------------+
-//
-// where
-//
-// Sev - is the severity code
-//
-// 00 - Success
-// 01 - Informational
-// 10 - Warning
-// 11 - Error
-//
-// C - is the Customer code flag
-//
-// R - is a reserved bit
-//
-// Facility - is the facility code
-//
-// Code - is the facility's status code
-//
-//
-// Define the facility codes
-//
-
-
-//
-// Define the severity codes
-//
-
-
-//
-// MessageId: MSG_DEFAULT
-//
-// MessageText:
-//
-// %1For more information, see Help and Support Center at http://www.mysql.com.
-//
-//
-//
-#define MSG_DEFAULT 0xC0000064L
-
-#endif /* MESSAGE_INCLUDED */
-
+#ifndef MESSAGE_INCLUDED
+#define MESSAGE_INCLUDED
+/* Copyright (c) 2008, 2009 Sun Microsystems, Inc.
+ Use is subject to license terms.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+
+/*
+ To change or add messages mysqld writes to the Windows error log, run
+ mc.exe message.mc
+ and checkin generated messages.h, messages.rc and msg000001.bin under the
+ source control.
+ mc.exe can be installed with Windows SDK, some Visual Studio distributions
+ do not include it.
+*/
+
+
+//
+// Values are 32 bit values layed out as follows:
+//
+// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
+// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+// +---+-+-+-----------------------+-------------------------------+
+// |Sev|C|R| Facility | Code |
+// +---+-+-+-----------------------+-------------------------------+
+//
+// where
+//
+// Sev - is the severity code
+//
+// 00 - Success
+// 01 - Informational
+// 10 - Warning
+// 11 - Error
+//
+// C - is the Customer code flag
+//
+// R - is a reserved bit
+//
+// Facility - is the facility code
+//
+// Code - is the facility's status code
+//
+//
+// Define the facility codes
+//
+
+
+//
+// Define the severity codes
+//
+
+
+//
+// MessageId: MSG_DEFAULT
+//
+// MessageText:
+//
+// %1For more information, see Help and Support Center at http://www.mysql.com.
+//
+//
+//
+#define MSG_DEFAULT 0xC0000064L
+
+#endif /* MESSAGE_INCLUDED */
+
diff --git a/sql/multi_range_read.cc b/sql/multi_range_read.cc
index 03023927a1d..0c35ac5b029 100644
--- a/sql/multi_range_read.cc
+++ b/sql/multi_range_read.cc
@@ -225,7 +225,7 @@ handler::multi_range_read_init(RANGE_SEQ_IF *seq_funcs, void *seq_init_param,
DBUG_ENTER("handler::multi_range_read_init");
mrr_iter= seq_funcs->init(seq_init_param, n_ranges, mode);
mrr_funcs= *seq_funcs;
- mrr_is_output_sorted= test(mode & HA_MRR_SORTED);
+ mrr_is_output_sorted= MY_TEST(mode & HA_MRR_SORTED);
mrr_have_range= FALSE;
DBUG_RETURN(0);
}
@@ -292,7 +292,7 @@ scan_it_again:
&mrr_cur_range.start_key : 0,
mrr_cur_range.end_key.keypart_map ?
&mrr_cur_range.end_key : 0,
- test(mrr_cur_range.range_flag & EQ_RANGE),
+ MY_TEST(mrr_cur_range.range_flag & EQ_RANGE),
mrr_is_output_sorted);
if (result != HA_ERR_END_OF_FILE)
break;
@@ -549,12 +549,12 @@ int Mrr_ordered_index_reader::init(handler *h_arg, RANGE_SEQ_IF *seq_funcs,
keypar= *key_par_arg;
KEY *key_info= &file->get_table()->key_info[file->active_index];
- keypar.index_ranges_unique= test(key_info->flags & HA_NOSAME &&
- key_info->user_defined_key_parts ==
- my_count_bits(keypar.key_tuple_map));
+ keypar.index_ranges_unique= MY_TEST(key_info->flags & HA_NOSAME &&
+ key_info->user_defined_key_parts ==
+ my_count_bits(keypar.key_tuple_map));
mrr_iter= seq_funcs->init(seq_init_param, n_ranges, mode);
- is_mrr_assoc= !test(mode & HA_MRR_NO_ASSOCIATION);
+ is_mrr_assoc= !MY_TEST(mode & HA_MRR_NO_ASSOCIATION);
mrr_funcs= *seq_funcs;
source_exhausted= FALSE;
if (support_scan_interruptions)
@@ -578,7 +578,7 @@ int Mrr_ordered_rndpos_reader::init(handler *h_arg,
file= h_arg;
index_reader= index_reader_arg;
rowid_buffer= buf;
- is_mrr_assoc= !test(mode & HA_MRR_NO_ASSOCIATION);
+ is_mrr_assoc= !MY_TEST(mode & HA_MRR_NO_ASSOCIATION);
index_reader_exhausted= FALSE;
index_reader_needs_refill= TRUE;
return 0;
@@ -817,7 +817,7 @@ int DsMrr_impl::dsmrr_init(handler *h_arg, RANGE_SEQ_IF *seq_funcs,
has not been called, so set the owner handler here as well.
*/
primary_file= h_arg;
- is_mrr_assoc= !test(mode & HA_MRR_NO_ASSOCIATION);
+ is_mrr_assoc= !MY_TEST(mode & HA_MRR_NO_ASSOCIATION);
strategy_exhausted= FALSE;
@@ -867,7 +867,7 @@ int DsMrr_impl::dsmrr_init(handler *h_arg, RANGE_SEQ_IF *seq_funcs,
if (do_sort_keys)
{
/* Pre-calculate some parameters of key sorting */
- keypar.use_key_pointers= test(mode & HA_MRR_MATERIALIZED_KEYS);
+ keypar.use_key_pointers= MY_TEST(mode & HA_MRR_MATERIALIZED_KEYS);
seq_funcs->get_key_info(seq_init_param, &keypar.key_tuple_length,
&keypar.key_tuple_map);
keypar.key_size_in_keybuf= keypar.use_key_pointers?
@@ -996,7 +996,7 @@ use_default_impl:
so small that it can accomodate one rowid and one index tuple)
*/
if ((res= primary_file->ha_rnd_end()) ||
- (res= primary_file->ha_index_init(keyno, test(mode & HA_MRR_SORTED))))
+ (res= primary_file->ha_index_init(keyno, MY_TEST(mode & HA_MRR_SORTED))))
{
DBUG_RETURN(res);
}
@@ -1521,10 +1521,10 @@ bool key_uses_partial_cols(TABLE_SHARE *share, uint keyno)
bool DsMrr_impl::check_cpk_scan(THD *thd, TABLE_SHARE *share, uint keyno,
uint mrr_flags)
{
- return test((mrr_flags & HA_MRR_SINGLE_POINT) &&
- keyno == share->primary_key &&
- primary_file->primary_key_is_clustered() &&
- optimizer_flag(thd, OPTIMIZER_SWITCH_MRR_SORT_KEYS));
+ return MY_TEST((mrr_flags & HA_MRR_SINGLE_POINT) &&
+ keyno == share->primary_key &&
+ primary_file->primary_key_is_clustered() &&
+ optimizer_flag(thd, OPTIMIZER_SWITCH_MRR_SORT_KEYS));
}
@@ -1561,8 +1561,8 @@ bool DsMrr_impl::choose_mrr_impl(uint keyno, ha_rows rows, uint *flags,
TABLE_SHARE *share= primary_file->get_table_share();
bool doing_cpk_scan= check_cpk_scan(thd, share, keyno, *flags);
- bool using_cpk= test(keyno == share->primary_key &&
- primary_file->primary_key_is_clustered());
+ bool using_cpk= MY_TEST(keyno == share->primary_key &&
+ primary_file->primary_key_is_clustered());
*flags &= ~HA_MRR_IMPLEMENTATION_FLAGS;
if (!optimizer_flag(thd, OPTIMIZER_SWITCH_MRR) ||
*flags & HA_MRR_INDEX_ONLY ||
@@ -1685,7 +1685,7 @@ bool DsMrr_impl::get_disk_sweep_mrr_cost(uint keynr, ha_rows rows, uint flags,
double index_read_cost;
elem_size= primary_file->ref_length +
- sizeof(void*) * (!test(flags & HA_MRR_NO_ASSOCIATION));
+ sizeof(void*) * (!MY_TEST(flags & HA_MRR_NO_ASSOCIATION));
max_buff_entries = *buffer_size / elem_size;
if (!max_buff_entries)
diff --git a/sql/my_apc.h b/sql/my_apc.h
index 4643e641ff1..dfeef5eb8ac 100644
--- a/sql/my_apc.h
+++ b/sql/my_apc.h
@@ -62,7 +62,7 @@ public:
*/
inline bool have_apc_requests()
{
- return test(apc_calls);
+ return MY_TEST(apc_calls);
}
inline bool is_enabled() { return enabled; }
diff --git a/sql/my_decimal.h b/sql/my_decimal.h
index e561d180d12..fa85b41d70c 100644
--- a/sql/my_decimal.h
+++ b/sql/my_decimal.h
@@ -1,5 +1,5 @@
-/* Copyright (c) 2005, 2011, Oracle and/or its affiliates.
- Copyright (c) 2011 Monty Program Ab
+/* Copyright (c) 2005, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2011, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 984d9cbc968..438c56659b0 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
- Copyright (c) 2008, 2012, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -366,7 +366,8 @@ static DYNAMIC_ARRAY all_options;
/* Global variables */
bool opt_bin_log, opt_bin_log_used=0, opt_ignore_builtin_innodb= 0;
-my_bool opt_log, opt_slow_log, debug_assert_if_crashed_table= 0, opt_help= 0, opt_abort;
+my_bool opt_log, opt_slow_log, debug_assert_if_crashed_table= 0, opt_help= 0;
+static my_bool opt_abort;
ulonglong log_output_options;
my_bool opt_userstat_running;
my_bool opt_log_queries_not_using_indexes= 0;
@@ -478,6 +479,10 @@ ulong open_files_limit, max_binlog_size;
ulong slave_trans_retries;
uint slave_net_timeout;
ulong slave_exec_mode_options;
+#ifdef RBR_TRIGGERS
+ulong slave_run_triggers_for_rbr= 0;
+#endif //RBR_TRIGGERS
+ulong slave_ddl_exec_mode_options= SLAVE_EXEC_MODE_IDEMPOTENT;
ulonglong slave_type_conversions_options;
ulong thread_cache_size=0;
ulonglong binlog_cache_size=0;
@@ -547,9 +552,11 @@ ulong rpl_recovery_rank=0;
ulong stored_program_cache_size= 0;
ulong opt_slave_parallel_threads= 0;
+ulong opt_slave_domain_parallel_threads= 0;
ulong opt_binlog_commit_wait_count= 0;
ulong opt_binlog_commit_wait_usec= 0;
ulong opt_slave_parallel_max_queued= 131072;
+my_bool opt_gtid_ignore_duplicates= FALSE;
const double log_10[] = {
1e000, 1e001, 1e002, 1e003, 1e004, 1e005, 1e006, 1e007, 1e008, 1e009,
@@ -864,6 +871,7 @@ PSI_mutex_key key_LOCK_stats,
key_LOCK_global_user_client_stats, key_LOCK_global_table_stats,
key_LOCK_global_index_stats,
key_LOCK_wakeup_ready, key_LOCK_wait_commit;
+PSI_mutex_key key_LOCK_gtid_waiting;
PSI_mutex_key key_LOCK_prepare_ordered, key_LOCK_commit_ordered;
PSI_mutex_key key_TABLE_SHARE_LOCK_share;
@@ -909,6 +917,7 @@ static PSI_mutex_info all_server_mutexes[]=
{ &key_LOCK_global_index_stats, "LOCK_global_index_stats", PSI_FLAG_GLOBAL},
{ &key_LOCK_wakeup_ready, "THD::LOCK_wakeup_ready", 0},
{ &key_LOCK_wait_commit, "wait_for_commit::LOCK_wait_commit", 0},
+ { &key_LOCK_gtid_waiting, "gtid_waiting::LOCK_gtid_waiting", 0},
{ &key_LOCK_thd_data, "THD::LOCK_thd_data", 0},
{ &key_LOCK_user_conn, "LOCK_user_conn", PSI_FLAG_GLOBAL},
{ &key_LOCK_uuid_short_generator, "LOCK_uuid_short_generator", PSI_FLAG_GLOBAL},
@@ -978,8 +987,11 @@ PSI_cond_key key_RELAYLOG_update_cond, key_COND_wakeup_ready,
key_COND_wait_commit;
PSI_cond_key key_RELAYLOG_COND_queue_busy;
PSI_cond_key key_TC_LOG_MMAP_COND_queue_busy;
-PSI_cond_key key_COND_rpl_thread, key_COND_rpl_thread_pool,
- key_COND_parallel_entry, key_COND_prepare_ordered;
+PSI_cond_key key_COND_rpl_thread_queue, key_COND_rpl_thread,
+ key_COND_rpl_thread_pool,
+ key_COND_parallel_entry, key_COND_group_commit_orderer,
+ key_COND_prepare_ordered;
+PSI_cond_key key_COND_wait_gtid, key_COND_gtid_ignore_duplicates;
static PSI_cond_info all_server_conds[]=
{
@@ -1022,9 +1034,13 @@ static PSI_cond_info all_server_conds[]=
{ &key_COND_thread_cache, "COND_thread_cache", PSI_FLAG_GLOBAL},
{ &key_COND_flush_thread_cache, "COND_flush_thread_cache", PSI_FLAG_GLOBAL},
{ &key_COND_rpl_thread, "COND_rpl_thread", 0},
+ { &key_COND_rpl_thread_queue, "COND_rpl_thread_queue", 0},
{ &key_COND_rpl_thread_pool, "COND_rpl_thread_pool", 0},
{ &key_COND_parallel_entry, "COND_parallel_entry", 0},
- { &key_COND_prepare_ordered, "COND_prepare_ordered", 0}
+ { &key_COND_group_commit_orderer, "COND_group_commit_orderer", 0},
+ { &key_COND_prepare_ordered, "COND_prepare_ordered", 0},
+ { &key_COND_wait_gtid, "COND_wait_gtid", 0},
+ { &key_COND_gtid_ignore_duplicates, "COND_gtid_ignore_duplicates", 0}
};
PSI_thread_key key_thread_bootstrap, key_thread_delayed_insert,
@@ -1939,6 +1955,7 @@ static void mysqld_exit(int exit_code)
but if a kill -15 signal was sent, the signal thread did
spawn the kill_server_thread thread, which is running concurrently.
*/
+ rpl_deinit_gtid_waiting();
rpl_deinit_gtid_slave_state();
wait_for_signal_thread_to_end();
mysql_audit_finalize();
@@ -1964,7 +1981,7 @@ void clean_up(bool print_message)
// We must call end_slave() as clean_up may have been called during startup
end_slave();
if (use_slave_mask)
- bitmap_free(&slave_error_mask);
+ my_bitmap_free(&slave_error_mask);
#endif
stop_handle_manager();
release_ddl_log();
@@ -2018,7 +2035,7 @@ void clean_up(bool print_message)
if (defaults_argv)
free_defaults(defaults_argv);
free_tmpdir(&mysql_tmpdir_list);
- bitmap_free(&temp_pool);
+ my_bitmap_free(&temp_pool);
free_max_user_conn();
free_global_user_stats();
free_global_client_stats();
@@ -2698,9 +2715,7 @@ void unlink_thd(THD *thd)
thd_cleanup(thd);
dec_connection_count(thd);
- mysql_mutex_lock(&LOCK_status);
- add_to_status(&global_status_var, &thd->status_var);
- mysql_mutex_unlock(&LOCK_status);
+ thd->add_status_to_global();
mysql_mutex_lock(&LOCK_thread_count);
thd->unlink();
@@ -4252,7 +4267,7 @@ static int init_common_variables()
#endif /* defined(ENABLED_DEBUG_SYNC) */
#if (ENABLE_TEMP_POOL)
- if (use_temp_pool && bitmap_init(&temp_pool,0,1024,1))
+ if (use_temp_pool && my_bitmap_init(&temp_pool,0,1024,1))
return 1;
#else
use_temp_pool= 0;
@@ -4398,6 +4413,7 @@ static int init_thread_environment()
#ifdef HAVE_REPLICATION
rpl_init_gtid_slave_state();
+ rpl_init_gtid_waiting();
#endif
DBUG_RETURN(0);
@@ -5583,7 +5599,7 @@ default_service_handling(char **argv,
/* We have to quote filename if it contains spaces */
pos= add_quoted_string(path_and_service, file_path, end);
- if (*extra_opt)
+ if (extra_opt && *extra_opt)
{
/*
Add option after file_path. There will be zero or one extra option. It's
@@ -7966,7 +7982,6 @@ static int option_cmp(my_option *a, my_option *b)
return 1;
}
}
- DBUG_ASSERT(a->name == b->name);
return 0;
}
@@ -7981,9 +7996,16 @@ static void print_help()
sys_var_add_options(&all_options, sys_var::PARSE_EARLY);
add_plugin_options(&all_options, &mem_root);
sort_dynamic(&all_options, (qsort_cmp) option_cmp);
+ sort_dynamic(&all_options, (qsort_cmp) option_cmp);
add_terminator(&all_options);
my_print_help((my_option*) all_options.buffer);
+
+ /* Add variables that can be shown but not changed, like version numbers */
+ pop_dynamic(&all_options);
+ sys_var_add_options(&all_options, sys_var::SHOW_VALUE_IN_HELP);
+ sort_dynamic(&all_options, (qsort_cmp) option_cmp);
+ add_terminator(&all_options);
my_print_variables((my_option*) all_options.buffer);
free_root(&mem_root, MYF(0));
@@ -8125,7 +8147,7 @@ static int mysql_init_variables(void)
my_atomic_rwlock_init(&thread_running_lock);
my_atomic_rwlock_init(&thread_count_lock);
my_atomic_rwlock_init(&statistics_lock);
- my_atomic_rwlock_init(slave_executed_entries_lock);
+ my_atomic_rwlock_init(&slave_executed_entries_lock);
strmov(server_version, MYSQL_SERVER_VERSION);
threads.empty();
thread_cache.empty();
@@ -8345,7 +8367,7 @@ mysqld_get_one_option(int optid,
opt_myisam_log=1;
break;
case (int) OPT_BIN_LOG:
- opt_bin_log= test(argument != disabled_my_option);
+ opt_bin_log= MY_TEST(argument != disabled_my_option);
opt_bin_log_used= 1;
break;
case (int) OPT_LOG_BASENAME:
@@ -8851,7 +8873,7 @@ static int get_options(int *argc_ptr, char ***argv_ptr)
Set some global variables from the global_system_variables
In most cases the global variables will not be used
*/
- my_disable_locking= myisam_single_user= test(opt_external_locking == 0);
+ my_disable_locking= myisam_single_user= MY_TEST(opt_external_locking == 0);
my_default_record_cache_size=global_system_variables.read_buff_size;
/*
@@ -8908,8 +8930,8 @@ static int get_options(int *argc_ptr, char ***argv_ptr)
#endif
global_system_variables.engine_condition_pushdown=
- test(global_system_variables.optimizer_switch &
- OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN);
+ MY_TEST(global_system_variables.optimizer_switch &
+ OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN);
opt_readonly= read_only;
@@ -8944,6 +8966,13 @@ static int get_options(int *argc_ptr, char ***argv_ptr)
max_binlog_size_var->option.def_value;
}
}
+
+ /* Ensure that some variables are not set higher than needed */
+ if (back_log > max_connections)
+ back_log= max_connections;
+ if (thread_cache_size > max_connections)
+ thread_cache_size= max_connections;
+
return 0;
}
@@ -9415,8 +9444,11 @@ PSI_stage_info stage_binlog_waiting_background_tasks= { 0, "Waiting for backgrou
PSI_stage_info stage_binlog_processing_checkpoint_notify= { 0, "Processing binlog checkpoint notification", 0};
PSI_stage_info stage_binlog_stopping_background_thread= { 0, "Stopping binlog background thread", 0};
PSI_stage_info stage_waiting_for_work_from_sql_thread= { 0, "Waiting for work from SQL thread", 0};
-PSI_stage_info stage_waiting_for_prior_transaction_to_commit= { 0, "Waiting for prior transaction to commit", 0};
+PSI_stage_info stage_waiting_for_prior_transaction_to_commit= { 0, "Waiting for prior transaction to start commit before starting next transaction", 0};
PSI_stage_info stage_waiting_for_room_in_worker_thread= { 0, "Waiting for room in worker thread event queue", 0};
+PSI_stage_info stage_master_gtid_wait_primary= { 0, "Waiting in MASTER_GTID_WAIT() (primary waiter)", 0};
+PSI_stage_info stage_master_gtid_wait= { 0, "Waiting in MASTER_GTID_WAIT()", 0};
+PSI_stage_info stage_gtid_wait_other_connection= { 0, "Waiting for other master connection to process GTID received on multiple master connections", 0};
#ifdef HAVE_PSI_INTERFACE
@@ -9533,7 +9565,10 @@ PSI_stage_info *all_server_stages[]=
& stage_waiting_for_the_slave_thread_to_advance_position,
& stage_waiting_for_work_from_sql_thread,
& stage_waiting_to_finalize_termination,
- & stage_waiting_to_get_readlock
+ & stage_waiting_to_get_readlock,
+ & stage_master_gtid_wait_primary,
+ & stage_master_gtid_wait,
+ & stage_gtid_wait_other_connection
};
PSI_socket_key key_socket_tcpip, key_socket_unix, key_socket_client_connection;
diff --git a/sql/mysqld.h b/sql/mysqld.h
index 1b34c485101..0e3af959122 100644
--- a/sql/mysqld.h
+++ b/sql/mysqld.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -96,8 +96,13 @@ extern uint connection_count;
extern my_bool opt_safe_user_create;
extern my_bool opt_safe_show_db, opt_local_infile, opt_myisam_use_mmap;
extern my_bool opt_slave_compressed_protocol, use_temp_pool;
-extern ulong slave_exec_mode_options;
+extern ulong slave_exec_mode_options, slave_ddl_exec_mode_options;
extern ulong slave_retried_transactions;
+#ifdef RBR_TRIGGERS
+extern ulong slave_run_triggers_for_rbr;
+#else
+#define slave_run_triggers_for_rbr 0
+#endif //RBR_TRIGGERS
extern ulonglong slave_type_conversions_options;
extern my_bool read_only, opt_readonly;
extern my_bool lower_case_file_system;
@@ -180,9 +185,11 @@ extern ulong opt_binlog_rows_event_max_size;
extern ulong rpl_recovery_rank, thread_cache_size;
extern ulong stored_program_cache_size;
extern ulong opt_slave_parallel_threads;
+extern ulong opt_slave_domain_parallel_threads;
extern ulong opt_slave_parallel_max_queued;
extern ulong opt_binlog_commit_wait_count;
extern ulong opt_binlog_commit_wait_usec;
+extern my_bool opt_gtid_ignore_duplicates;
extern ulong back_log;
extern ulong executed_events;
extern char language[FN_REFLEN];
@@ -267,6 +274,7 @@ extern PSI_mutex_key key_LOCK_slave_state, key_LOCK_binlog_state,
extern PSI_mutex_key key_TABLE_SHARE_LOCK_share, key_LOCK_stats,
key_LOCK_global_user_client_stats, key_LOCK_global_table_stats,
key_LOCK_global_index_stats, key_LOCK_wakeup_ready, key_LOCK_wait_commit;
+extern PSI_mutex_key key_LOCK_gtid_waiting;
extern PSI_rwlock_key key_rwlock_LOCK_grant, key_rwlock_LOCK_logger,
key_rwlock_LOCK_sys_init_connect, key_rwlock_LOCK_sys_init_slave,
@@ -294,8 +302,10 @@ extern PSI_cond_key key_RELAYLOG_update_cond, key_COND_wakeup_ready,
key_COND_wait_commit;
extern PSI_cond_key key_RELAYLOG_COND_queue_busy;
extern PSI_cond_key key_TC_LOG_MMAP_COND_queue_busy;
-extern PSI_cond_key key_COND_rpl_thread, key_COND_rpl_thread_pool,
- key_COND_parallel_entry;
+extern PSI_cond_key key_COND_rpl_thread, key_COND_rpl_thread_queue,
+ key_COND_rpl_thread_pool,
+ key_COND_parallel_entry, key_COND_group_commit_orderer;
+extern PSI_cond_key key_COND_wait_gtid, key_COND_gtid_ignore_duplicates;
extern PSI_thread_key key_thread_bootstrap, key_thread_delayed_insert,
key_thread_handle_manager, key_thread_kill_server, key_thread_main,
@@ -434,6 +444,9 @@ extern PSI_stage_info stage_binlog_stopping_background_thread;
extern PSI_stage_info stage_waiting_for_work_from_sql_thread;
extern PSI_stage_info stage_waiting_for_prior_transaction_to_commit;
extern PSI_stage_info stage_waiting_for_room_in_worker_thread;
+extern PSI_stage_info stage_master_gtid_wait_primary;
+extern PSI_stage_info stage_master_gtid_wait;
+extern PSI_stage_info stage_gtid_wait_other_connection;
#ifdef HAVE_PSI_STATEMENT_INTERFACE
/**
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index b7ee46361ae..546542fa207 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -144,7 +144,7 @@ my_bool my_net_init(NET *net, Vio* vio, uint my_flags)
net->net_skip_rest_factor= 0;
net->last_errno=0;
net->unused= 0;
- net->thread_specific_malloc= test(my_flags & MY_THREAD_SPECIFIC);
+ net->thread_specific_malloc= MY_TEST(my_flags & MY_THREAD_SPECIFIC);
#ifdef MYSQL_SERVER
net->extension= NULL;
#endif
@@ -267,7 +267,7 @@ static int net_data_is_ready(my_socket sd)
if ((res= select((int) (sd + 1), &sfds, NULL, NULL, &tv)) < 0)
return 0;
else
- return test(res ? FD_ISSET(sd, &sfds) : 0);
+ return MY_TEST(res ? FD_ISSET(sd, &sfds) : 0);
#endif /* HAVE_POLL */
}
@@ -360,8 +360,8 @@ my_bool net_flush(NET *net)
DBUG_ENTER("net_flush");
if (net->buff != net->write_pos)
{
- error=test(net_real_write(net, net->buff,
- (size_t) (net->write_pos - net->buff)));
+ error= MY_TEST(net_real_write(net, net->buff,
+ (size_t) (net->write_pos - net->buff)));
net->write_pos= net->buff;
}
/* Sync packet number if using compression */
@@ -424,7 +424,7 @@ my_bool my_net_write(NET *net, const uchar *packet, size_t len)
#ifndef DEBUG_DATA_PACKETS
DBUG_DUMP("packet_header", buff, NET_HEADER_SIZE);
#endif
- rc= test(net_write_buff(net,packet,len));
+ rc= MY_TEST(net_write_buff(net, packet, len));
MYSQL_NET_WRITE_DONE(rc);
return rc;
}
@@ -498,9 +498,9 @@ net_write_command(NET *net,uchar command,
}
int3store(buff,length);
buff[3]= (uchar) net->pkt_nr++;
- rc= test(net_write_buff(net, buff, header_size) ||
- (head_len && net_write_buff(net, header, head_len)) ||
- net_write_buff(net, packet, len) || net_flush(net));
+ rc= MY_TEST(net_write_buff(net, buff, header_size) ||
+ (head_len && net_write_buff(net, header, head_len)) ||
+ net_write_buff(net, packet, len) || net_flush(net));
MYSQL_NET_WRITE_DONE(rc);
DBUG_RETURN(rc);
}
diff --git a/sql/opt_index_cond_pushdown.cc b/sql/opt_index_cond_pushdown.cc
index fb55aea1968..be33e46bf94 100644
--- a/sql/opt_index_cond_pushdown.cc
+++ b/sql/opt_index_cond_pushdown.cc
@@ -205,7 +205,7 @@ Item *make_cond_for_index(Item *cond, TABLE *table, uint keyno,
new_cond->argument_list()->push_back(fix);
used_tables|= fix->used_tables();
}
- if (test(item->marker == ICP_COND_USES_INDEX_ONLY))
+ if (MY_TEST(item->marker == ICP_COND_USES_INDEX_ONLY))
{
n_marked++;
item->marker= 0;
@@ -238,7 +238,7 @@ Item *make_cond_for_index(Item *cond, TABLE *table, uint keyno,
if (!fix)
return (COND*) 0;
new_cond->argument_list()->push_back(fix);
- if (test(item->marker == ICP_COND_USES_INDEX_ONLY))
+ if (MY_TEST(item->marker == ICP_COND_USES_INDEX_ONLY))
{
n_marked++;
item->marker= 0;
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 16f32eb9252..be791c2ac7f 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -408,7 +408,7 @@ public:
new_max=arg->max_value; flag_max=arg->max_flag;
}
return new SEL_ARG(field, part, new_min, new_max, flag_min, flag_max,
- test(maybe_flag && arg->maybe_flag));
+ MY_TEST(maybe_flag && arg->maybe_flag));
}
SEL_ARG *clone_first(SEL_ARG *arg)
{ // min <= X < arg->min
@@ -1823,7 +1823,7 @@ QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD *thd, TABLE *table, uint key_nr,
*create_error= 1;
}
else
- bitmap_init(&column_bitmap, bitmap, head->s->fields, FALSE);
+ my_bitmap_init(&column_bitmap, bitmap, head->s->fields, FALSE);
DBUG_VOID_RETURN;
}
@@ -2181,7 +2181,7 @@ int QUICK_ROR_INTERSECT_SELECT::init_ror_merged_scan(bool reuse_handler,
quick->record= head->record[0];
}
- if (need_to_fetch_row && head->file->ha_rnd_init_with_error(1))
+ if (need_to_fetch_row && head->file->ha_rnd_init_with_error(false))
{
DBUG_PRINT("error", ("ROR index_merge rnd_init call failed"));
DBUG_RETURN(1);
@@ -2363,8 +2363,13 @@ int QUICK_ROR_UNION_SELECT::reset()
quick->save_last_pos();
queue_insert(&queue, (uchar*)quick);
}
-
- if ((error= head->file->ha_rnd_init(1)))
+ /* Prepare for ha_rnd_pos calls. */
+ if (head->file->inited && (error= head->file->ha_rnd_end()))
+ {
+ DBUG_PRINT("error", ("ROR index_merge rnd_end call failed"));
+ DBUG_RETURN(error);
+ }
+ if ((error= head->file->ha_rnd_init(false)))
{
DBUG_PRINT("error", ("ROR index_merge rnd_init call failed"));
DBUG_RETURN(error);
@@ -2847,7 +2852,7 @@ static int fill_used_fields_bitmap(PARAM *param)
param->fields_bitmap_size= table->s->column_bitmap_size;
if (!(tmp= (my_bitmap_map*) alloc_root(param->mem_root,
param->fields_bitmap_size)) ||
- bitmap_init(&param->needed_fields, tmp, table->s->fields, FALSE))
+ my_bitmap_init(&param->needed_fields, tmp, table->s->fields, FALSE))
return 1;
bitmap_copy(&param->needed_fields, table->read_set);
@@ -3168,7 +3173,8 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
}
}
- if (optimizer_flag(thd, OPTIMIZER_SWITCH_INDEX_MERGE))
+ if (optimizer_flag(thd, OPTIMIZER_SWITCH_INDEX_MERGE) &&
+ head->stat_records() != 0)
{
/* Try creating index_merge/ROR-union scan. */
SEL_IMERGE *imerge;
@@ -3223,7 +3229,7 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
Assume that if the user is using 'limit' we will only need to scan
limit rows if we are using a key
*/
- DBUG_RETURN(records ? test(quick) : -1);
+ DBUG_RETURN(records ? MY_TEST(quick) : -1);
}
/****************************************************************************
@@ -3389,6 +3395,17 @@ double records_in_column_ranges(PARAM *param, uint idx,
on the rows of 'table' in the processed query.
The calculated selectivity is assigned to the field table->cond_selectivity.
+ Selectivity is calculated as a product of selectivities imposed by:
+
+ 1. possible range accesses. (if multiple range accesses use the same
+ restrictions on the same field, we make adjustments for that)
+ 2. Sargable conditions on fields for which we have column statistics (if
+ a field is used in a possible range access, we assume that selectivity
+ is already provided by the range access' estimates)
+ 3. Reading a few records from the table pages and checking the condition
+ selectivity (this is used for conditions like "column LIKE '%val%'"
+ where approaches #1 and #2 do not provide selectivity data).
+
NOTE
Currently the selectivities of range conditions over different columns are
considered independent.
@@ -3408,20 +3425,96 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item *cond)
table->cond_selectivity= 1.0;
- if (table_records == 0)
+ if (!cond || table_records == 0)
DBUG_RETURN(FALSE);
if (table->pos_in_table_list->schema_table)
DBUG_RETURN(FALSE);
+ MY_BITMAP handled_columns;
+ my_bitmap_map* buf;
+ if (!(buf= (my_bitmap_map*)thd->alloc(table->s->column_bitmap_size)))
+ DBUG_RETURN(TRUE);
+ my_bitmap_init(&handled_columns, buf, table->s->fields, FALSE);
+
+ /*
+ First, take into account possible range accesses.
+ range access estimates are the most precise, we prefer them to any other
+ estimate sources.
+ */
+
+ for (keynr= 0; keynr < table->s->keys; keynr++)
+ {
+ if (table->quick_keys.is_set(keynr))
+ set_if_bigger(max_quick_key_parts, table->quick_key_parts[keynr]);
+ }
+
+ /*
+ Walk through all indexes, indexes where range access uses more keyparts
+ go first.
+ */
+ for (uint quick_key_parts= max_quick_key_parts;
+ quick_key_parts; quick_key_parts--)
+ {
+ for (keynr= 0; keynr < table->s->keys; keynr++)
+ {
+ if (table->quick_keys.is_set(keynr) &&
+ table->quick_key_parts[keynr] == quick_key_parts)
+ {
+ uint i;
+ uint used_key_parts= table->quick_key_parts[keynr];
+ double quick_cond_selectivity= table->quick_rows[keynr] /
+ table_records;
+ KEY *key_info= table->key_info + keynr;
+ KEY_PART_INFO* key_part= key_info->key_part;
+ /*
+ Suppose, there are range conditions on two keys
+ KEY1 (col1, col2)
+ KEY2 (col3, col2)
+
+ we don't want to count selectivity of condition on col2 twice.
+
+ First, find the longest key prefix that's made of columns whose
+ selectivity wasn't already accounted for.
+ */
+ for (i= 0; i < used_key_parts; i++, key_part++)
+ {
+ if (bitmap_is_set(&handled_columns, key_part->fieldnr-1))
+ break;
+ bitmap_set_bit(&handled_columns, key_part->fieldnr-1);
+ }
+ if (i)
+ {
+ /*
+ There is at least 1-column prefix of columns whose selectivity has
+ not yet been accounted for.
+ */
+ table->cond_selectivity*= quick_cond_selectivity;
+ if (i != used_key_parts)
+ {
+ /*
+ Range access got us estimate for #used_key_parts.
+ We need estimate for #(i-1) key parts.
+ */
+ double f1= key_info->actual_rec_per_key(i-1);
+ double f2= key_info->actual_rec_per_key(i);
+ table->cond_selectivity*= f1 / f2;
+ }
+ }
+ }
+ }
+ }
+
+ /*
+ Second step: calculate the selectivity of the range conditions not
+ supported by any index
+ */
+ bitmap_subtract(used_fields, &handled_columns);
+ /* no need to do: my_bitmap_free(&handled_columns); */
+
if (thd->variables.optimizer_use_condition_selectivity > 2 &&
!bitmap_is_clear_all(used_fields))
{
- /*
- Calculate the selectivity of the range conditions not supported
- by any index
- */
-
PARAM param;
MEM_ROOT alloc;
SEL_TREE *tree;
@@ -3460,6 +3553,11 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item *cond)
table->reginfo.impossible_range= 1;
goto free_alloc;
}
+ else if (tree->type == SEL_TREE::ALWAYS)
+ {
+ rows= table_records;
+ goto free_alloc;
+ }
else if (tree->type == SEL_TREE::MAYBE)
{
rows= table_records;
@@ -3503,47 +3601,8 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item *cond)
bitmap_clear_all(used_fields);
- for (keynr= 0; keynr < table->s->keys; keynr++)
- {
- if (table->quick_keys.is_set(keynr))
- set_if_bigger(max_quick_key_parts, table->quick_key_parts[keynr]);
- }
- for (uint quick_key_parts= max_quick_key_parts;
- quick_key_parts; quick_key_parts--)
- {
- for (keynr= 0; keynr < table->s->keys; keynr++)
- {
- if (table->quick_keys.is_set(keynr) &&
- table->quick_key_parts[keynr] == quick_key_parts)
- {
- uint i;
- uint used_key_parts= table->quick_key_parts[keynr];
- double quick_cond_selectivity= table->quick_rows[keynr] /
- table_records;
- KEY *key_info= table->key_info + keynr;
- KEY_PART_INFO* key_part= key_info->key_part;
- for (i= 0; i < used_key_parts; i++, key_part++)
- {
- if (bitmap_is_set(used_fields, key_part->fieldnr-1))
- break;
- bitmap_set_bit(used_fields, key_part->fieldnr-1);
- }
- if (i)
- {
- table->cond_selectivity*= quick_cond_selectivity;
- if (i != used_key_parts)
- {
- double f1= key_info->actual_rec_per_key(i-1);
- double f2= key_info->actual_rec_per_key(i);
- table->cond_selectivity*= f1 / f2;
- }
- }
- }
- }
- }
-
- /* Calculate selectivity of probably highly selective predicates */
+ /* Check if we can improve selectivity estimates by using sampling */
ulong check_rows=
MY_MIN(thd->variables.optimizer_selectivity_sampling_limit,
(ulong) (table_records * SELECTIVITY_SAMPLING_SHARE));
@@ -3782,8 +3841,8 @@ typedef struct st_part_prune_param
int last_subpart_partno; /* Same as above for supartitioning */
/*
- is_part_keypart[i] == test(keypart #i in partitioning index is a member
- used in partitioning)
+ is_part_keypart[i] == MY_TEST(keypart #i in partitioning index is a member
+ used in partitioning)
Used to maintain current values of cur_part_fields and cur_subpart_fields
*/
my_bool *is_part_keypart;
@@ -3974,7 +4033,7 @@ bool prune_partitions(THD *thd, TABLE *table, Item *pprune_cond)
res == 1 => some used partitions => retval=FALSE
res == -1 - we jump over this line to all_used:
*/
- retval= test(!res);
+ retval= MY_TEST(!res);
goto end;
all_used:
@@ -4104,7 +4163,7 @@ static int find_used_partitions_imerge_list(PART_PRUNE_PARAM *ppar,
*/
return find_used_partitions_imerge(ppar, merges.head());
}
- bitmap_init(&all_merges, bitmap_buf, n_bits, FALSE);
+ my_bitmap_init(&all_merges, bitmap_buf, n_bits, FALSE);
bitmap_set_prefix(&all_merges, n_bits);
List_iterator<SEL_IMERGE> it(merges);
@@ -4607,7 +4666,7 @@ process_next_key_part:
ppar->mark_full_partition_used(ppar->part_info, part_id);
found= TRUE;
}
- res= test(found);
+ res= MY_TEST(found);
}
/*
Restore the "used partitions iterator" to the default setting that
@@ -4751,7 +4810,7 @@ static bool create_partition_index_description(PART_PRUNE_PARAM *ppar)
uint32 bufsize= bitmap_buffer_size(ppar->part_info->num_subparts);
if (!(buf= (my_bitmap_map*) alloc_root(alloc, bufsize)))
return TRUE;
- bitmap_init(&ppar->subparts_bitmap, buf, ppar->part_info->num_subparts,
+ my_bitmap_init(&ppar->subparts_bitmap, buf, ppar->part_info->num_subparts,
FALSE);
}
range_par->key_parts= key_part;
@@ -5511,7 +5570,7 @@ bool create_fields_bitmap(PARAM *param, MY_BITMAP *fields_bitmap)
if (!(bitmap_buf= (my_bitmap_map *) alloc_root(param->mem_root,
param->fields_bitmap_size)))
return TRUE;
- if (bitmap_init(fields_bitmap, bitmap_buf, param->table->s->fields, FALSE))
+ if (my_bitmap_init(fields_bitmap, bitmap_buf, param->table->s->fields, FALSE))
return TRUE;
return FALSE;
@@ -5649,7 +5708,7 @@ bool prepare_search_best_index_intersect(PARAM *param,
}
}
- i= n_index_scans - test(cpk_scan != NULL) + 1;
+ i= n_index_scans - MY_TEST(cpk_scan != NULL) + 1;
if (!(common->search_scans =
(INDEX_SCAN_INFO **) alloc_root (param->mem_root,
@@ -5719,7 +5778,7 @@ bool prepare_search_best_index_intersect(PARAM *param,
if (!(common->best_intersect=
(INDEX_SCAN_INFO **) alloc_root (param->mem_root,
sizeof(INDEX_SCAN_INFO *) *
- (i + test(cpk_scan != NULL)))))
+ (i + MY_TEST(cpk_scan != NULL)))))
return TRUE;
size_t calc_cost_buff_size=
@@ -6329,7 +6388,7 @@ ROR_SCAN_INFO *make_ror_scan(const PARAM *param, int idx, SEL_ARG *sel_arg)
param->fields_bitmap_size)))
DBUG_RETURN(NULL);
- if (bitmap_init(&ror_scan->covered_fields, bitmap_buf,
+ if (my_bitmap_init(&ror_scan->covered_fields, bitmap_buf,
param->table->s->fields, FALSE))
DBUG_RETURN(NULL);
bitmap_clear_all(&ror_scan->covered_fields);
@@ -6447,7 +6506,7 @@ ROR_INTERSECT_INFO* ror_intersect_init(const PARAM *param)
if (!(buf= (my_bitmap_map*) alloc_root(param->mem_root,
param->fields_bitmap_size)))
return NULL;
- if (bitmap_init(&info->covered_fields, buf, param->table->s->fields,
+ if (my_bitmap_init(&info->covered_fields, buf, param->table->s->fields,
FALSE))
return NULL;
info->is_covering= FALSE;
@@ -6571,8 +6630,8 @@ static double ror_scan_selectivity(const ROR_INTERSECT_INFO *info,
SEL_ARG *sel_arg, *tuple_arg= NULL;
key_part_map keypart_map= 0;
bool cur_covered;
- bool prev_covered= test(bitmap_is_set(&info->covered_fields,
- key_part->fieldnr-1));
+ bool prev_covered= MY_TEST(bitmap_is_set(&info->covered_fields,
+ key_part->fieldnr - 1));
key_range min_range;
key_range max_range;
min_range.key= key_val;
@@ -6586,8 +6645,8 @@ static double ror_scan_selectivity(const ROR_INTERSECT_INFO *info,
sel_arg= sel_arg->next_key_part)
{
DBUG_PRINT("info",("sel_arg step"));
- cur_covered= test(bitmap_is_set(&info->covered_fields,
- key_part[sel_arg->part].fieldnr-1));
+ cur_covered= MY_TEST(bitmap_is_set(&info->covered_fields,
+ key_part[sel_arg->part].fieldnr - 1));
if (cur_covered != prev_covered)
{
/* create (part1val, ..., part{n-1}val) tuple. */
@@ -7024,7 +7083,7 @@ TRP_ROR_INTERSECT *get_best_covering_ror_intersect(PARAM *param,
covered_fields->bitmap= (my_bitmap_map*)alloc_root(param->mem_root,
param->fields_bitmap_size);
if (!covered_fields->bitmap ||
- bitmap_init(covered_fields, covered_fields->bitmap,
+ my_bitmap_init(covered_fields, covered_fields->bitmap,
param->table->s->fields, FALSE))
DBUG_RETURN(0);
bitmap_clear_all(covered_fields);
@@ -7962,7 +8021,8 @@ static SEL_TREE *get_mm_tree(RANGE_OPT_PARAM *param,COND *cond)
value= cond_func->arg_count > 1 ? cond_func->arguments()[1] : NULL;
if (value && value->is_expensive())
DBUG_RETURN(0);
- ftree= get_full_func_mm_tree(param, cond_func, field_item, value, inv);
+ if (!cond_func->arguments()[0]->real_item()->const_item())
+ ftree= get_full_func_mm_tree(param, cond_func, field_item, value, inv);
}
/*
Even if get_full_func_mm_tree() was executed above and did not
@@ -7987,7 +8047,8 @@ static SEL_TREE *get_mm_tree(RANGE_OPT_PARAM *param,COND *cond)
value= cond_func->arguments()[0];
if (value && value->is_expensive())
DBUG_RETURN(0);
- ftree= get_full_func_mm_tree(param, cond_func, field_item, value, inv);
+ if (!cond_func->arguments()[1]->real_item()->const_item())
+ ftree= get_full_func_mm_tree(param, cond_func, field_item, value, inv);
}
}
@@ -10624,8 +10685,13 @@ static bool is_key_scan_ror(PARAM *param, uint keynr, uint8 nparts)
if (param->table->field[fieldnr]->key_length() != kp->length)
return FALSE;
}
-
- if (key_part == key_part_end)
+
+ /*
+ If there are equalities for all key parts, it is a ROR scan. If there are
+ equalities all keyparts and even some of key parts from "Extended Key"
+ index suffix, it is a ROR-scan, too.
+ */
+ if (key_part >= key_part_end)
return TRUE;
key_part= table_key->key_part + nparts;
@@ -10681,12 +10747,12 @@ get_quick_select(PARAM *param,uint idx,SEL_ARG *key_tree, uint mrr_flags,
if (param->table->key_info[param->real_keynr[idx]].flags & HA_SPATIAL)
quick=new QUICK_RANGE_SELECT_GEOM(param->thd, param->table,
param->real_keynr[idx],
- test(parent_alloc),
+ MY_TEST(parent_alloc),
parent_alloc, &create_err);
else
quick=new QUICK_RANGE_SELECT(param->thd, param->table,
param->real_keynr[idx],
- test(parent_alloc), NULL, &create_err);
+ MY_TEST(parent_alloc), NULL, &create_err);
if (quick)
{
@@ -11681,7 +11747,7 @@ int QUICK_RANGE_SELECT::get_next_prefix(uint prefix_length,
result= file->read_range_first(last_range->min_keypart_map ? &start_key : 0,
last_range->max_keypart_map ? &end_key : 0,
- test(last_range->flag & EQ_RANGE),
+ MY_TEST(last_range->flag & EQ_RANGE),
TRUE);
if (last_range->flag == (UNIQUE_RANGE | EQ_RANGE))
last_range= 0; // Stop searching
diff --git a/sql/opt_range.h b/sql/opt_range.h
index 4f2ab6df60d..1ca245ea420 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -1004,7 +1004,7 @@ class SQL_SELECT :public Sql_alloc {
*/
inline int skip_record(THD *thd)
{
- int rc= test(!cond || cond->val_int());
+ int rc= MY_TEST(!cond || cond->val_int());
if (thd->is_error())
rc= -1;
return rc;
diff --git a/sql/opt_subselect.cc b/sql/opt_subselect.cc
index 8c38a2d4eb9..e00083c4b8b 100644
--- a/sql/opt_subselect.cc
+++ b/sql/opt_subselect.cc
@@ -1082,7 +1082,7 @@ bool convert_join_subqueries_to_semijoins(JOIN *join)
if (convert_join_subqueries_to_semijoins(child_join))
DBUG_RETURN(TRUE);
in_subq->sj_convert_priority=
- test(in_subq->emb_on_expr_nest != NO_JOIN_NEST) * MAX_TABLES * 2 +
+ MY_TEST(in_subq->emb_on_expr_nest != NO_JOIN_NEST) * MAX_TABLES * 2 +
in_subq->is_correlated * MAX_TABLES + child_join->outer_tables;
}
@@ -2384,7 +2384,7 @@ bool find_eq_ref_candidate(TABLE *table, table_map sj_inner_tables)
if (!is_excluded_key)
{
keyinfo= table->key_info + key;
- is_excluded_key= !test(keyinfo->flags & HA_NOSAME);
+ is_excluded_key= !MY_TEST(keyinfo->flags & HA_NOSAME);
}
if (!is_excluded_key)
{
@@ -2471,8 +2471,8 @@ bool is_multiple_semi_joins(JOIN *join, POSITION *prefix, uint idx, table_map in
if ((emb_sj_nest= prefix[i].table->emb_sj_nest))
{
if (inner_tables & emb_sj_nest->sj_inner_tables)
- return !test(inner_tables == (emb_sj_nest->sj_inner_tables &
- ~join->const_table_map));
+ return !MY_TEST(inner_tables == (emb_sj_nest->sj_inner_tables &
+ ~join->const_table_map));
}
}
return FALSE;
@@ -3206,9 +3206,9 @@ at_sjmat_pos(const JOIN *join, table_map remaining_tables, const JOIN_TAB *tab,
if (join->positions[idx - i].table->emb_sj_nest != tab->emb_sj_nest)
return NULL;
}
- *loose_scan= test(remaining_tables & ~tab->table->map &
- (emb_sj_nest->sj_inner_tables |
- emb_sj_nest->nested_join->sj_depends_on));
+ *loose_scan= MY_TEST(remaining_tables & ~tab->table->map &
+ (emb_sj_nest->sj_inner_tables |
+ emb_sj_nest->nested_join->sj_depends_on));
if (*loose_scan && !emb_sj_nest->sj_subq_pred->sjm_scan_allowed)
return NULL;
else
@@ -3594,12 +3594,12 @@ bool setup_sj_materialization_part2(JOIN_TAB *sjm_tab)
for (i= 0; i < tmp_key_parts; i++, cur_key_part++, ref_key++)
{
tab_ref->items[i]= emb_sj_nest->sj_subq_pred->left_expr->element_index(i);
- int null_count= test(cur_key_part->field->real_maybe_null());
+ int null_count= MY_TEST(cur_key_part->field->real_maybe_null());
*ref_key= new store_key_item(thd, cur_key_part->field,
/* TODO:
the NULL byte is taken into account in
cur_key_part->store_length, so instead of
- cur_ref_buff + test(maybe_null), we could
+ cur_ref_buff + MY_TEST(maybe_null), we could
use that information instead.
*/
cur_ref_buff + null_count,
@@ -3828,7 +3828,7 @@ static bool is_cond_sj_in_equality(Item *item)
((Item_func*)item)->functype()== Item_func::EQ_FUNC)
{
Item_func_eq *item_eq= (Item_func_eq*)item;
- return test(item_eq->in_equality_no != UINT_MAX);
+ return MY_TEST(item_eq->in_equality_no != UINT_MAX);
}
return FALSE;
}
@@ -4100,7 +4100,7 @@ SJ_TMP_TABLE::create_sj_weedout_tmp_table(THD *thd)
{
DBUG_PRINT("info",("Creating group key in temporary table"));
share->keys=1;
- share->uniques= test(using_unique_constraint);
+ share->uniques= MY_TEST(using_unique_constraint);
table->key_info=keyinfo;
keyinfo->key_part=key_part_info;
keyinfo->flags=HA_NOSAME;
@@ -5288,6 +5288,7 @@ bool setup_jtbm_semi_joins(JOIN *join, List<TABLE_LIST> *join_list,
if (!(*join_where)->fixed)
(*join_where)->fix_fields(join->thd, join_where);
}
+ table->table->maybe_null= MY_TEST(join->mixed_implicit_grouping);
}
if ((nested_join= table->nested_join))
@@ -5318,9 +5319,9 @@ bool setup_jtbm_semi_joins(JOIN *join, List<TABLE_LIST> *join_list,
through Item::cleanup() calls).
*/
-void cleanup_empty_jtbm_semi_joins(JOIN *join)
+void cleanup_empty_jtbm_semi_joins(JOIN *join, List<TABLE_LIST> *join_list)
{
- List_iterator<TABLE_LIST> li(*join->join_list);
+ List_iterator<TABLE_LIST> li(*join_list);
TABLE_LIST *table;
while ((table= li++))
{
@@ -5332,6 +5333,10 @@ void cleanup_empty_jtbm_semi_joins(JOIN *join)
table->table= NULL;
}
}
+ else if (table->nested_join && table->sj_subq_pred)
+ {
+ cleanup_empty_jtbm_semi_joins(join, &table->nested_join->join_list);
+ }
}
}
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h
index 6ed077dcfcb..acfbebed6b3 100644
--- a/sql/opt_subselect.h
+++ b/sql/opt_subselect.h
@@ -28,7 +28,7 @@ int pull_out_semijoin_tables(JOIN *join);
bool optimize_semijoin_nests(JOIN *join, table_map all_table_map);
bool setup_jtbm_semi_joins(JOIN *join, List<TABLE_LIST> *join_list,
Item **join_where);
-void cleanup_empty_jtbm_semi_joins(JOIN *join);
+void cleanup_empty_jtbm_semi_joins(JOIN *join, List<TABLE_LIST> *join_list);
// used by Loose_scan_opt
ulonglong get_bound_sj_equalities(TABLE_LIST *sj_nest,
@@ -168,7 +168,7 @@ public:
}
}
- bool have_a_case() { return test(handled_sj_equalities); }
+ bool have_a_case() { return MY_TEST(handled_sj_equalities); }
void check_ref_access_part1(JOIN_TAB *s, uint key, KEYUSE *start_key,
table_map found_part)
diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc
index d4fc458c948..4e8fcefa6d2 100644
--- a/sql/opt_sum.cc
+++ b/sql/opt_sum.cc
@@ -295,9 +295,9 @@ int opt_sum_query(THD *thd,
if (!(tl->table->file->ha_table_flags() & HA_STATS_RECORDS_IS_EXACT) ||
tl->schema_table)
{
- maybe_exact_count&= test(!tl->schema_table &&
- (tl->table->file->ha_table_flags() &
- HA_HAS_RECORDS));
+ maybe_exact_count&= MY_TEST(!tl->schema_table &&
+ (tl->table->file->ha_table_flags() &
+ HA_HAS_RECORDS));
is_exact_count= FALSE;
count= 1; // ensure count != 0
}
@@ -361,7 +361,7 @@ int opt_sum_query(THD *thd,
case Item_sum::MIN_FUNC:
case Item_sum::MAX_FUNC:
{
- int is_max= test(item_sum->sum_func() == Item_sum::MAX_FUNC);
+ int is_max= MY_TEST(item_sum->sum_func() == Item_sum::MAX_FUNC);
/*
If MIN/MAX(expr) is the first part of a key or if all previous
parts of the key is found in the COND, then we can use
@@ -658,7 +658,7 @@ static bool matching_cond(bool max_fl, TABLE_REF *ref, KEY *keyinfo,
DBUG_RETURN(FALSE);
}
if (!(cond->used_tables() & field->table->map) &&
- test(cond->used_tables() & ~PSEUDO_TABLE_BITS))
+ MY_TEST(cond->used_tables() & ~PSEUDO_TABLE_BITS))
{
/* Condition doesn't restrict the used table */
DBUG_RETURN(!cond->const_item());
@@ -811,7 +811,7 @@ static bool matching_cond(bool max_fl, TABLE_REF *ref, KEY *keyinfo,
Item *value= args[between && max_fl ? 2 : 1];
value->save_in_field_no_warnings(part->field, 1);
if (part->null_bit)
- *key_ptr++= (uchar) test(part->field->is_null());
+ *key_ptr++= (uchar) MY_TEST(part->field->is_null());
part->field->get_key_image(key_ptr, part->length, Field::itRAW);
}
if (is_field_part)
@@ -831,7 +831,7 @@ static bool matching_cond(bool max_fl, TABLE_REF *ref, KEY *keyinfo,
else if (eq_type)
{
if ((!is_null && !cond->val_int()) ||
- (is_null && !test(part->field->is_null())))
+ (is_null && !MY_TEST(part->field->is_null())))
DBUG_RETURN(FALSE); // Impossible test
}
else if (is_field_part)
diff --git a/sql/opt_table_elimination.cc b/sql/opt_table_elimination.cc
index 46bed0e60e7..2ef565517b5 100644
--- a/sql/opt_table_elimination.cc
+++ b/sql/opt_table_elimination.cc
@@ -356,7 +356,7 @@ public:
bound.
*/
void touch() { unbound_args--; }
- bool is_applicable() { return !test(unbound_args); }
+ bool is_applicable() { return !MY_TEST(unbound_args); }
/* Iteration over values that */
typedef char *Iterator;
@@ -1042,7 +1042,7 @@ bool Dep_analysis_context::setup_equality_modules_deps(List<Dep_module>
void *buf;
if (!(buf= current_thd->alloc(bitmap_buffer_size(offset))) ||
- bitmap_init(&expr_deps, (my_bitmap_map*)buf, offset, FALSE))
+ my_bitmap_init(&expr_deps, (my_bitmap_map*)buf, offset, FALSE))
{
DBUG_RETURN(TRUE); /* purecov: inspected */
}
@@ -1072,7 +1072,7 @@ bool Dep_analysis_context::setup_equality_modules_deps(List<Dep_module>
else
{
/* It's a multi-equality */
- eq_mod->unbound_args= !test(eq_mod->expr);
+ eq_mod->unbound_args= !MY_TEST(eq_mod->expr);
List_iterator<Dep_value_field> it(*eq_mod->mult_equal_fields);
Dep_value_field* field_val;
while ((field_val= it++))
@@ -1398,7 +1398,7 @@ Dep_module_expr *merge_eq_mods(Dep_module_expr *start,
}
}
- if (fv->elements + test(old->expr) > 1)
+ if (fv->elements + MY_TEST(old->expr) > 1)
{
old->mult_equal_fields= fv;
old->level= and_level;
diff --git a/sql/partition_element.h b/sql/partition_element.h
index d0a67c6af3e..308a4d6ddd2 100644
--- a/sql/partition_element.h
+++ b/sql/partition_element.h
@@ -1,7 +1,7 @@
#ifndef PARTITION_ELEMENT_INCLUDED
#define PARTITION_ELEMENT_INCLUDED
-/* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index ca455c0d7bc..98e796879ad 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -385,7 +385,7 @@ bool partition_info::can_prune_insert(THD* thd,
DBUG_RETURN(true);
}
/* Also clears all bits. */
- if (bitmap_init(used_partitions, bitmap_buf, num_partitions, false))
+ if (my_bitmap_init(used_partitions, bitmap_buf, num_partitions, false))
{
/* purecov: begin deadcode */
/* Cannot happen, due to pre-alloc. */
@@ -1574,9 +1574,7 @@ end:
*/
static void warn_if_dir_in_part_elem(THD *thd, partition_element *part_elem)
{
-#ifdef HAVE_READLINK
- if (!my_use_symdir || (thd->variables.sql_mode & MODE_NO_DIR_IN_CREATE))
-#endif
+ if (thd->variables.sql_mode & MODE_NO_DIR_IN_CREATE)
{
if (part_elem->data_file_name)
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
diff --git a/sql/partition_info.h b/sql/partition_info.h
index e5029c385c1..8ad7b1fd1fd 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -1,7 +1,7 @@
#ifndef PARTITION_INFO_INCLUDED
#define PARTITION_INFO_INCLUDED
-/* Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/password.c b/sql/password.c
index 22e0060abd2..7a3d8aafde3 100644
--- a/sql/password.c
+++ b/sql/password.c
@@ -510,7 +510,7 @@ check_scramble(const uchar *scramble_arg, const char *message,
/* now buf supposedly contains hash_stage1: so we can get hash_stage2 */
compute_sha1_hash(hash_stage2_reassured, (const char *) buf, SHA1_HASH_SIZE);
- return test(memcmp(hash_stage2, hash_stage2_reassured, SHA1_HASH_SIZE));
+ return MY_TEST(memcmp(hash_stage2, hash_stage2_reassured, SHA1_HASH_SIZE));
}
/*
diff --git a/sql/rpl_filter.cc b/sql/rpl_filter.cc
index 72e7770b6ee..2b4a3093e0f 100644
--- a/sql/rpl_filter.cc
+++ b/sql/rpl_filter.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/rpl_gtid.cc b/sql/rpl_gtid.cc
index 3f79a0cb528..17c3b15c902 100644
--- a/sql/rpl_gtid.cc
+++ b/sql/rpl_gtid.cc
@@ -33,7 +33,8 @@ const LEX_STRING rpl_gtid_slave_state_table_name=
void
-rpl_slave_state::update_state_hash(uint64 sub_id, rpl_gtid *gtid)
+rpl_slave_state::update_state_hash(uint64 sub_id, rpl_gtid *gtid,
+ rpl_group_info *rgi)
{
int err;
/*
@@ -43,9 +44,9 @@ rpl_slave_state::update_state_hash(uint64 sub_id, rpl_gtid *gtid)
there will not be an attempt to delete the corresponding table row before
it is even committed.
*/
- lock();
- err= update(gtid->domain_id, gtid->server_id, sub_id, gtid->seq_no);
- unlock();
+ mysql_mutex_lock(&LOCK_slave_state);
+ err= update(gtid->domain_id, gtid->server_id, sub_id, gtid->seq_no, rgi);
+ mysql_mutex_unlock(&LOCK_slave_state);
if (err)
{
sql_print_warning("Slave: Out of memory during slave state maintenance. "
@@ -74,19 +75,179 @@ rpl_slave_state::record_and_update_gtid(THD *thd, rpl_group_info *rgi)
if ((sub_id= rgi->gtid_sub_id))
{
rgi->gtid_sub_id= 0;
- if (record_gtid(thd, &rgi->current_gtid, sub_id, false, false))
- DBUG_RETURN(1);
- update_state_hash(sub_id, &rgi->current_gtid);
+ if (rgi->gtid_ignore_duplicate_state!=rpl_group_info::GTID_DUPLICATE_IGNORE)
+ {
+ if (record_gtid(thd, &rgi->current_gtid, sub_id, false, false))
+ DBUG_RETURN(1);
+ update_state_hash(sub_id, &rgi->current_gtid, rgi);
+ }
+ rgi->gtid_ignore_duplicate_state= rpl_group_info::GTID_DUPLICATE_NULL;
}
DBUG_RETURN(0);
}
+/*
+ Check GTID event execution when --gtid-ignore-duplicates.
+
+ The idea with --gtid-ignore-duplicates is that we allow multiple master
+ connections (in multi-source replication) to all receive the same GTIDs and
+ event groups. Only one instance of each is applied; we use the sequence
+ number in the GTID to decide whether a GTID has already been applied.
+
+ So if the seq_no of a GTID (or a higher sequence number) has already been
+ applied, then the event should be skipped. If not then the event should be
+ applied.
+
+ To avoid two master connections tring to apply the same event
+ simultaneously, only one is allowed to work in any given domain at any point
+ in time. The associated Relay_log_info object is called the owner of the
+ domain (and there can be multiple parallel worker threads working in that
+ domain for that Relay_log_info). Any other Relay_log_info/master connection
+ must wait for the domain to become free, or for their GTID to have been
+ applied, before being allowed to proceed.
+
+ Returns:
+ 0 This GTID is already applied, it should be skipped.
+ 1 The GTID is not yet applied; this rli is now the owner, and must apply
+ the event and release the domain afterwards.
+ -1 Error (out of memory to allocate a new element for the domain).
+*/
+int
+rpl_slave_state::check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi)
+{
+ uint32 domain_id= gtid->domain_id;
+ uint32 seq_no= gtid->seq_no;
+ rpl_slave_state::element *elem;
+ int res;
+ bool did_enter_cond;
+ PSI_stage_info old_stage;
+ THD *thd;
+ Relay_log_info *rli= rgi->rli;
+
+ mysql_mutex_lock(&LOCK_slave_state);
+ if (!(elem= get_element(domain_id)))
+ {
+ my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ res= -1;
+ goto err;
+ }
+ /*
+ Note that the elem pointer does not change once inserted in the hash. So
+ we can re-use the pointer without looking it up again in the hash after
+ each lock release and re-take.
+ */
+
+ did_enter_cond= false;
+ for (;;)
+ {
+ if (elem->highest_seq_no >= seq_no)
+ {
+ /* This sequence number is already applied, ignore it. */
+ res= 0;
+ rgi->gtid_ignore_duplicate_state= rpl_group_info::GTID_DUPLICATE_IGNORE;
+ break;
+ }
+ if (!elem->owner_rli)
+ {
+ /* The domain became free, grab it and apply the event. */
+ elem->owner_rli= rli;
+ elem->owner_count= 1;
+ rgi->gtid_ignore_duplicate_state= rpl_group_info::GTID_DUPLICATE_OWNER;
+ res= 1;
+ break;
+ }
+ if (elem->owner_rli == rli)
+ {
+ /* Already own this domain, increment reference count and apply event. */
+ ++elem->owner_count;
+ rgi->gtid_ignore_duplicate_state= rpl_group_info::GTID_DUPLICATE_OWNER;
+ res= 1;
+ break;
+ }
+ thd= rgi->thd;
+ if (thd->check_killed())
+ {
+ thd->send_kill_message();
+ res= -1;
+ break;
+ }
+ /*
+ Someone else is currently processing this GTID (or an earlier one).
+ Wait for them to complete (or fail), and then check again.
+ */
+ if (!did_enter_cond)
+ {
+ thd->ENTER_COND(&elem->COND_gtid_ignore_duplicates, &LOCK_slave_state,
+ &stage_gtid_wait_other_connection, &old_stage);
+ did_enter_cond= true;
+ }
+ mysql_cond_wait(&elem->COND_gtid_ignore_duplicates,
+ &LOCK_slave_state);
+ }
+
+err:
+ if (did_enter_cond)
+ thd->EXIT_COND(&old_stage);
+ else
+ mysql_mutex_unlock(&LOCK_slave_state);
+ return res;
+}
+
+
+void
+rpl_slave_state::release_domain_owner(rpl_group_info *rgi)
+{
+ element *elem= NULL;
+
+ mysql_mutex_lock(&LOCK_slave_state);
+ if (!(elem= get_element(rgi->current_gtid.domain_id)))
+ {
+ /*
+ We cannot really deal with error here, as we are already called in an
+ error handling case (transaction failure and rollback).
+
+ However, get_element() only fails if the element did not exist already
+ and could not be allocated due to out-of-memory - and if it did not
+ exist, then we would not get here in the first place.
+ */
+ mysql_mutex_unlock(&LOCK_slave_state);
+ return;
+ }
+
+ if (rgi->gtid_ignore_duplicate_state == rpl_group_info::GTID_DUPLICATE_OWNER)
+ {
+ uint32 count= elem->owner_count;
+ DBUG_ASSERT(count > 0);
+ DBUG_ASSERT(elem->owner_rli == rgi->rli);
+ --count;
+ elem->owner_count= count;
+ if (count == 0)
+ {
+ elem->owner_rli= NULL;
+ mysql_cond_broadcast(&elem->COND_gtid_ignore_duplicates);
+ }
+ }
+ rgi->gtid_ignore_duplicate_state= rpl_group_info::GTID_DUPLICATE_NULL;
+ mysql_mutex_unlock(&LOCK_slave_state);
+}
+
+
+static void
+rpl_slave_state_free_element(void *arg)
+{
+ struct rpl_slave_state::element *elem= (struct rpl_slave_state::element *)arg;
+ mysql_cond_destroy(&elem->COND_wait_gtid);
+ mysql_cond_destroy(&elem->COND_gtid_ignore_duplicates);
+ my_free(elem);
+}
+
+
rpl_slave_state::rpl_slave_state()
: last_sub_id(0), inited(false), loaded(false)
{
my_hash_init(&hash, &my_charset_bin, 32, offsetof(element, domain_id),
- sizeof(uint32), NULL, my_free, HASH_UNIQUE);
+ sizeof(uint32), NULL, rpl_slave_state_free_element, HASH_UNIQUE);
}
@@ -138,7 +299,7 @@ rpl_slave_state::deinit()
int
rpl_slave_state::update(uint32 domain_id, uint32 server_id, uint64 sub_id,
- uint64 seq_no)
+ uint64 seq_no, rpl_group_info *rgi)
{
element *elem= NULL;
list_element *list_elem= NULL;
@@ -146,6 +307,40 @@ rpl_slave_state::update(uint32 domain_id, uint32 server_id, uint64 sub_id,
if (!(elem= get_element(domain_id)))
return 1;
+ if (seq_no > elem->highest_seq_no)
+ elem->highest_seq_no= seq_no;
+ if (elem->gtid_waiter && elem->min_wait_seq_no <= seq_no)
+ {
+ /*
+ Someone was waiting in MASTER_GTID_WAIT() for this GTID to appear.
+ Signal (and remove) them. The waiter will handle all the processing
+ of all pending MASTER_GTID_WAIT(), so we do not slow down the
+ replication SQL thread.
+ */
+ mysql_mutex_assert_owner(&LOCK_slave_state);
+ elem->gtid_waiter= NULL;
+ mysql_cond_broadcast(&elem->COND_wait_gtid);
+ }
+
+ if (rgi)
+ {
+ if (rgi->gtid_ignore_duplicate_state==rpl_group_info::GTID_DUPLICATE_OWNER)
+ {
+ Relay_log_info *rli= rgi->rli;
+ uint32 count= elem->owner_count;
+ DBUG_ASSERT(count > 0);
+ DBUG_ASSERT(elem->owner_rli == rli);
+ --count;
+ elem->owner_count= count;
+ if (count == 0)
+ {
+ elem->owner_rli= NULL;
+ mysql_cond_broadcast(&elem->COND_gtid_ignore_duplicates);
+ }
+ }
+ rgi->gtid_ignore_duplicate_state= rpl_group_info::GTID_DUPLICATE_NULL;
+ }
+
if (!(list_elem= (list_element *)my_malloc(sizeof(*list_elem), MYF(MY_WME))))
return 1;
list_elem->server_id= server_id;
@@ -173,6 +368,13 @@ rpl_slave_state::get_element(uint32 domain_id)
return NULL;
elem->list= NULL;
elem->domain_id= domain_id;
+ elem->highest_seq_no= 0;
+ elem->gtid_waiter= NULL;
+ elem->owner_rli= NULL;
+ elem->owner_count= 0;
+ mysql_cond_init(key_COND_wait_gtid, &elem->COND_wait_gtid, 0);
+ mysql_cond_init(key_COND_gtid_ignore_duplicates,
+ &elem->COND_gtid_ignore_duplicates, 0);
if (my_hash_insert(&hash, (uchar *)elem))
{
my_free(elem);
@@ -352,7 +554,8 @@ rpl_slave_state::record_gtid(THD *thd, const rpl_gtid *gtid, uint64 sub_id,
{
DBUG_PRINT("info", ("resetting OPTION_BEGIN"));
thd->variables.option_bits&=
- ~(ulonglong)(OPTION_NOT_AUTOCOMMIT|OPTION_BEGIN|OPTION_BIN_LOG);
+ ~(ulonglong)(OPTION_NOT_AUTOCOMMIT |OPTION_BEGIN |OPTION_BIN_LOG |
+ OPTION_GTID_BEGIN);
}
else
thd->variables.option_bits&= ~(ulonglong)OPTION_BIN_LOG;
@@ -378,10 +581,10 @@ rpl_slave_state::record_gtid(THD *thd, const rpl_gtid *gtid, uint64 sub_id,
goto end;
}
- lock();
+ mysql_mutex_lock(&LOCK_slave_state);
if ((elem= get_element(gtid->domain_id)) == NULL)
{
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
my_error(ER_OUT_OF_RESOURCES, MYF(0));
err= 1;
goto end;
@@ -410,7 +613,7 @@ rpl_slave_state::record_gtid(THD *thd, const rpl_gtid *gtid, uint64 sub_id,
cur->next= NULL;
elem->list= cur;
}
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
if (!elist)
goto end;
@@ -470,9 +673,9 @@ end:
*/
if (elist)
{
- lock();
+ mysql_mutex_lock(&LOCK_slave_state);
put_back_list(gtid->domain_id, elist);
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
}
ha_rollback_trans(thd, FALSE);
@@ -499,9 +702,9 @@ rpl_slave_state::next_sub_id(uint32 domain_id)
{
uint64 sub_id= 0;
- lock();
+ mysql_mutex_lock(&LOCK_slave_state);
sub_id= ++last_sub_id;
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
return sub_id;
}
@@ -541,7 +744,7 @@ rpl_slave_state::iterate(int (*cb)(rpl_gtid *, void *), void *data,
my_hash_insert(&gtid_hash, (uchar *)(&extra_gtids[i])))
goto err;
- lock();
+ mysql_mutex_lock(&LOCK_slave_state);
for (i= 0; i < hash.records; ++i)
{
@@ -576,19 +779,19 @@ rpl_slave_state::iterate(int (*cb)(rpl_gtid *, void *), void *data,
memcpy(&best_gtid, gtid, sizeof(best_gtid));
if (my_hash_delete(&gtid_hash, rec))
{
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
goto err;
}
}
if ((res= (*cb)(&best_gtid, data)))
{
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
goto err;
}
}
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
/* Also add any remaining extra domain_ids. */
for (i= 0; i < gtid_hash.records; ++i)
@@ -659,11 +862,11 @@ rpl_slave_state::domain_to_gtid(uint32 domain_id, rpl_gtid *out_gtid)
list_element *list;
uint64 best_sub_id;
- lock();
+ mysql_mutex_lock(&LOCK_slave_state);
elem= (element *)my_hash_search(&hash, (const uchar *)&domain_id, 0);
if (!elem || !(list= elem->list))
{
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
return false;
}
@@ -681,7 +884,7 @@ rpl_slave_state::domain_to_gtid(uint32 domain_id, rpl_gtid *out_gtid)
out_gtid->seq_no= list->seq_no;
}
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
return true;
}
@@ -793,7 +996,7 @@ rpl_slave_state::load(THD *thd, char *state_from_master, size_t len,
if (gtid_parser_helper(&state_from_master, end, &gtid) ||
!(sub_id= next_sub_id(gtid.domain_id)) ||
record_gtid(thd, &gtid, sub_id, false, in_statement) ||
- update(gtid.domain_id, gtid.server_id, sub_id, gtid.seq_no))
+ update(gtid.domain_id, gtid.server_id, sub_id, gtid.seq_no, NULL))
return 1;
if (state_from_master == end)
break;
@@ -811,7 +1014,7 @@ rpl_slave_state::is_empty()
uint32 i;
bool result= true;
- lock();
+ mysql_mutex_lock(&LOCK_slave_state);
for (i= 0; i < hash.records; ++i)
{
element *e= (element *)my_hash_element(&hash, i);
@@ -821,7 +1024,7 @@ rpl_slave_state::is_empty()
break;
}
}
- unlock();
+ mysql_mutex_unlock(&LOCK_slave_state);
return result;
}
@@ -1647,3 +1850,444 @@ slave_connection_state::get_gtid_list(rpl_gtid *gtid_list, uint32 list_size)
return 0;
}
+
+
+/*
+ Execute a MASTER_GTID_WAIT().
+ The position to wait for is in gtid_str in string form.
+ The timeout in microseconds is in timeout_us, zero means no timeout.
+
+ Returns:
+ 1 for error.
+ 0 for wait completed.
+ -1 for wait timed out.
+*/
+int
+gtid_waiting::wait_for_pos(THD *thd, String *gtid_str, longlong timeout_us)
+{
+ int err;
+ rpl_gtid *wait_pos;
+ uint32 count, i;
+ struct timespec wait_until, *wait_until_ptr;
+
+ /* Wait for the empty position returns immediately. */
+ if (gtid_str->length() == 0)
+ return 0;
+
+ if (!(wait_pos= gtid_parse_string_to_list(gtid_str->ptr(), gtid_str->length(),
+ &count)))
+ {
+ my_error(ER_INCORRECT_GTID_STATE, MYF(0));
+ return 1;
+ }
+
+ if (timeout_us >= 0)
+ {
+ set_timespec_nsec(wait_until, (ulonglong)1000*timeout_us);
+ wait_until_ptr= &wait_until;
+ }
+ else
+ wait_until_ptr= NULL;
+ err= 0;
+ for (i= 0; i < count; ++i)
+ {
+ if ((err= wait_for_gtid(thd, &wait_pos[i], wait_until_ptr)))
+ break;
+ }
+ my_free(wait_pos);
+ return err;
+}
+
+
+void
+gtid_waiting::promote_new_waiter(gtid_waiting::hash_element *he)
+{
+ queue_element *qe;
+
+ mysql_mutex_assert_owner(&LOCK_gtid_waiting);
+ if (queue_empty(&he->queue))
+ return;
+ qe= (queue_element *)queue_top(&he->queue);
+ qe->do_small_wait= true;
+ mysql_cond_signal(&qe->thd->COND_wakeup_ready);
+}
+
+void
+gtid_waiting::process_wait_hash(uint64 wakeup_seq_no,
+ gtid_waiting::hash_element *he)
+{
+ mysql_mutex_assert_owner(&LOCK_gtid_waiting);
+
+ for (;;)
+ {
+ queue_element *qe;
+
+ if (queue_empty(&he->queue))
+ break;
+ qe= (queue_element *)queue_top(&he->queue);
+ if (qe->wait_seq_no > wakeup_seq_no)
+ break;
+ DBUG_ASSERT(!qe->done);
+ queue_remove_top(&he->queue);
+ qe->done= true;;
+ mysql_cond_signal(&qe->thd->COND_wakeup_ready);
+ }
+}
+
+
+/*
+ Execute a MASTER_GTID_WAIT() for one specific domain.
+
+ The implementation is optimised primarily for (1) minimal performance impact
+ on the slave replication threads, and secondarily for (2) quick performance
+ of MASTER_GTID_WAIT() on a single GTID, which can be useful for consistent
+ read to clients in an async replication read-scaleout scenario.
+
+ To achieve (1), we have a "small" wait and a "large" wait. The small wait
+ contends with the replication threads on the lock on the gtid_slave_pos, so
+ only minimal processing is done under that lock, and only a single waiter at
+ a time does the small wait.
+
+ If there is already a small waiter, a new thread will either replace the
+ small waiter (if it needs to wait for an earlier sequence number), or
+ instead do a "large" wait.
+
+ Once awoken on the small wait, the waiting thread releases the lock shared
+ with the SQL threads quickly, and then processes all waiters currently doing
+ the large wait using a different lock that does not impact replication.
+
+ This way, the SQL threads only need to do a single check + possibly a
+ pthread_cond_signal() when updating the gtid_slave_state, and the time that
+ non-SQL threads contend for the lock on gtid_slave_state is minimized.
+
+ There is always at least one thread that has the responsibility to ensure
+ that there is a small waiter; this thread has queue_element::do_small_wait
+ set to true. This thread will do the small wait until it is done, at which
+ point it will make sure to pass on the responsibility to another thread.
+ Normally only one thread has do_small_wait==true, but it can occasionally
+ happen that there is more than one, when threads race one another for the
+ lock on the small wait (this results in slightly increased activity on the
+ small lock but is otherwise harmless).
+
+ Returns:
+ 0 Wait completed normally
+ -1 Wait completed due to timeout
+ 1 An error (my_error() will have been called to set the error in the da)
+*/
+int
+gtid_waiting::wait_for_gtid(THD *thd, rpl_gtid *wait_gtid,
+ struct timespec *wait_until)
+{
+ bool timed_out= false;
+#ifdef HAVE_REPLICATION
+ queue_element elem;
+ uint32 domain_id= wait_gtid->domain_id;
+ uint64 seq_no= wait_gtid->seq_no;
+ hash_element *he;
+ rpl_slave_state::element *slave_state_elem= NULL;
+ PSI_stage_info old_stage;
+ bool did_enter_cond= false;
+
+ elem.wait_seq_no= seq_no;
+ elem.thd= thd;
+ elem.done= false;
+
+ mysql_mutex_lock(&LOCK_gtid_waiting);
+ if (!(he= get_entry(wait_gtid->domain_id)))
+ {
+ mysql_mutex_unlock(&LOCK_gtid_waiting);
+ return 1;
+ }
+ /*
+ If there is already another waiter with seq_no no larger than our own,
+ we are sure that there is already a small waiter that will wake us up
+ (or later pass the small wait responsibility to us). So in this case, we
+ do not need to touch the small wait lock at all.
+ */
+ elem.do_small_wait=
+ (queue_empty(&he->queue) ||
+ ((queue_element *)queue_top(&he->queue))->wait_seq_no > seq_no);
+
+ if (register_in_wait_queue(thd, wait_gtid, he, &elem))
+ {
+ mysql_mutex_unlock(&LOCK_gtid_waiting);
+ return 1;
+ }
+ /*
+ Loop, doing either the small or large wait as appropriate, until either
+ the position waited for is reached, or we get a kill or timeout.
+ */
+ for (;;)
+ {
+ mysql_mutex_assert_owner(&LOCK_gtid_waiting);
+
+ if (elem.do_small_wait)
+ {
+ uint64 wakeup_seq_no;
+ queue_element *cur_waiter;
+
+ mysql_mutex_lock(&rpl_global_gtid_slave_state.LOCK_slave_state);
+ /*
+ The elements in the gtid_slave_state_hash are never re-allocated once
+ they enter the hash, so we do not need to re-do the lookup after releasing
+ and re-aquiring the lock.
+ */
+ if (!slave_state_elem &&
+ !(slave_state_elem= rpl_global_gtid_slave_state.get_element(domain_id)))
+ {
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
+ remove_from_wait_queue(he, &elem);
+ promote_new_waiter(he);
+ if (did_enter_cond)
+ thd->EXIT_COND(&old_stage);
+ else
+ mysql_mutex_unlock(&LOCK_gtid_waiting);
+ my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ return 1;
+ }
+
+ if ((wakeup_seq_no= slave_state_elem->highest_seq_no) >= seq_no)
+ {
+ /*
+ We do not have to wait. (We will be removed from the wait queue when
+ we call process_wait_hash() below.
+ */
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
+ }
+ else if ((cur_waiter= slave_state_elem->gtid_waiter) &&
+ slave_state_elem->min_wait_seq_no <= seq_no)
+ {
+ /*
+ There is already a suitable small waiter, go do the large wait.
+ (Normally we would not have needed to check the small wait in this
+ case, but it can happen if we race with another thread for the small
+ lock).
+ */
+ elem.do_small_wait= false;
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
+ }
+ else
+ {
+ /*
+ We have to do the small wait ourselves (stealing it from any thread
+ that might already be waiting for a later seq_no).
+ */
+ slave_state_elem->gtid_waiter= &elem;
+ slave_state_elem->min_wait_seq_no= seq_no;
+ if (cur_waiter)
+ {
+ /* We stole the wait, so wake up the old waiting thread. */
+ mysql_cond_signal(&slave_state_elem->COND_wait_gtid);
+ }
+
+ /* Release the large lock, and do the small wait. */
+ if (did_enter_cond)
+ {
+ thd->EXIT_COND(&old_stage);
+ did_enter_cond= false;
+ }
+ else
+ mysql_mutex_unlock(&LOCK_gtid_waiting);
+ thd->ENTER_COND(&slave_state_elem->COND_wait_gtid,
+ &rpl_global_gtid_slave_state.LOCK_slave_state,
+ &stage_master_gtid_wait_primary, &old_stage);
+ do
+ {
+ if (thd->check_killed())
+ break;
+ else if (wait_until)
+ {
+ int err=
+ mysql_cond_timedwait(&slave_state_elem->COND_wait_gtid,
+ &rpl_global_gtid_slave_state.LOCK_slave_state,
+ wait_until);
+ if (err == ETIMEDOUT || err == ETIME)
+ {
+ timed_out= true;
+ break;
+ }
+ }
+ else
+ mysql_cond_wait(&slave_state_elem->COND_wait_gtid,
+ &rpl_global_gtid_slave_state.LOCK_slave_state);
+ } while (slave_state_elem->gtid_waiter == &elem);
+ wakeup_seq_no= slave_state_elem->highest_seq_no;
+ /*
+ If we aborted due to timeout or kill, remove us as waiter.
+
+ If we were replaced by another waiter with a smaller seq_no, then we
+ no longer have responsibility for the small wait.
+ */
+ if ((cur_waiter= slave_state_elem->gtid_waiter))
+ {
+ if (cur_waiter == &elem)
+ slave_state_elem->gtid_waiter= NULL;
+ else if (slave_state_elem->min_wait_seq_no <= seq_no)
+ elem.do_small_wait= false;
+ }
+ thd->EXIT_COND(&old_stage);
+
+ mysql_mutex_lock(&LOCK_gtid_waiting);
+ }
+
+ /*
+ Note that hash_entry pointers do not change once allocated, so we do
+ not need to lookup `he' again after re-aquiring LOCK_gtid_waiting.
+ */
+ process_wait_hash(wakeup_seq_no, he);
+ }
+ else
+ {
+ /* Do the large wait. */
+ if (!did_enter_cond)
+ {
+ thd->ENTER_COND(&thd->COND_wakeup_ready, &LOCK_gtid_waiting,
+ &stage_master_gtid_wait, &old_stage);
+ did_enter_cond= true;
+ }
+ while (!elem.done && !thd->check_killed())
+ {
+ thd_wait_begin(thd, THD_WAIT_BINLOG);
+ if (wait_until)
+ {
+ int err= mysql_cond_timedwait(&thd->COND_wakeup_ready,
+ &LOCK_gtid_waiting, wait_until);
+ if (err == ETIMEDOUT || err == ETIME)
+ timed_out= true;
+ }
+ else
+ mysql_cond_wait(&thd->COND_wakeup_ready, &LOCK_gtid_waiting);
+ thd_wait_end(thd);
+ if (elem.do_small_wait || timed_out)
+ break;
+ }
+ }
+
+ if ((thd->killed || timed_out) && !elem.done)
+ {
+ /* Aborted, so remove ourselves from the hash. */
+ remove_from_wait_queue(he, &elem);
+ elem.done= true;
+ }
+ if (elem.done)
+ {
+ /*
+ If our wait is done, but we have (or were passed) responsibility for
+ the small wait, then we need to pass on that task to someone else.
+ */
+ if (elem.do_small_wait)
+ promote_new_waiter(he);
+ break;
+ }
+ }
+
+ if (did_enter_cond)
+ thd->EXIT_COND(&old_stage);
+ else
+ mysql_mutex_unlock(&LOCK_gtid_waiting);
+ if (thd->killed)
+ thd->send_kill_message();
+#endif /* HAVE_REPLICATION */
+ return timed_out ? -1 : 0;
+}
+
+
+static void
+free_hash_element(void *p)
+{
+ gtid_waiting::hash_element *e= (gtid_waiting::hash_element *)p;
+ delete_queue(&e->queue);
+ my_free(e);
+}
+
+
+void
+gtid_waiting::init()
+{
+ my_hash_init(&hash, &my_charset_bin, 32,
+ offsetof(hash_element, domain_id), sizeof(uint32), NULL,
+ free_hash_element, HASH_UNIQUE);
+ mysql_mutex_init(key_LOCK_gtid_waiting, &LOCK_gtid_waiting, 0);
+}
+
+
+void
+gtid_waiting::destroy()
+{
+ mysql_mutex_destroy(&LOCK_gtid_waiting);
+ my_hash_free(&hash);
+}
+
+
+static int
+cmp_queue_elem(void *, uchar *a, uchar *b)
+{
+ uint64 seq_no_a= *(uint64 *)a;
+ uint64 seq_no_b= *(uint64 *)b;
+ if (seq_no_a < seq_no_b)
+ return -1;
+ else if (seq_no_a == seq_no_b)
+ return 0;
+ else
+ return 1;
+}
+
+
+gtid_waiting::hash_element *
+gtid_waiting::get_entry(uint32 domain_id)
+{
+ hash_element *e;
+
+ if ((e= (hash_element *)my_hash_search(&hash, (const uchar *)&domain_id, 0)))
+ return e;
+
+ if (!(e= (hash_element *)my_malloc(sizeof(*e), MYF(MY_WME))))
+ {
+ my_error(ER_OUTOFMEMORY, MYF(0), sizeof(*e));
+ return NULL;
+ }
+
+ if (init_queue(&e->queue, 8, offsetof(queue_element, wait_seq_no), 0,
+ cmp_queue_elem, NULL, 1+offsetof(queue_element, queue_idx), 1))
+ {
+ my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ my_free(e);
+ return NULL;
+ }
+ e->domain_id= domain_id;
+ if (my_hash_insert(&hash, (uchar *)e))
+ {
+ my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ delete_queue(&e->queue);
+ my_free(e);
+ return NULL;
+ }
+ return e;
+}
+
+
+int
+gtid_waiting::register_in_wait_queue(THD *thd, rpl_gtid *wait_gtid,
+ gtid_waiting::hash_element *he,
+ gtid_waiting::queue_element *elem)
+{
+ mysql_mutex_assert_owner(&LOCK_gtid_waiting);
+
+ if (queue_insert_safe(&he->queue, (uchar *)elem))
+ {
+ my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ return 1;
+ }
+
+ return 0;
+}
+
+
+void
+gtid_waiting::remove_from_wait_queue(gtid_waiting::hash_element *he,
+ gtid_waiting::queue_element *elem)
+{
+ mysql_mutex_assert_owner(&LOCK_gtid_waiting);
+
+ queue_remove(&he->queue, elem->queue_idx);
+}
diff --git a/sql/rpl_gtid.h b/sql/rpl_gtid.h
index b0bc54900e7..3e9e2fce25f 100644
--- a/sql/rpl_gtid.h
+++ b/sql/rpl_gtid.h
@@ -16,6 +16,10 @@
#ifndef RPL_GTID_H
#define RPL_GTID_H
+#include "hash.h"
+#include "queues.h"
+
+
/* Definitions for MariaDB global transaction ID (GTID). */
@@ -37,6 +41,60 @@ enum enum_gtid_skip_type {
/*
+ Structure to keep track of threads waiting in MASTER_GTID_WAIT().
+
+ Since replication is (mostly) single-threaded, we want to minimise the
+ performance impact on that from MASTER_GTID_WAIT(). To achieve this, we
+ are careful to keep the common lock between replication threads and
+ MASTER_GTID_WAIT threads held for as short as possible. We keep only
+ a single thread waiting to be notified by the replication threads; this
+ thread then handles all the (potentially heavy) lifting of dealing with
+ all current waiting threads.
+*/
+struct gtid_waiting {
+ /* Elements in the hash, basically a priority queue for each domain. */
+ struct hash_element {
+ QUEUE queue;
+ uint32 domain_id;
+ };
+ /* A priority queue to handle waiters in one domain in seq_no order. */
+ struct queue_element {
+ uint64 wait_seq_no;
+ THD *thd;
+ int queue_idx;
+ /*
+ do_small_wait is true if we have responsibility for ensuring that there
+ is a small waiter.
+ */
+ bool do_small_wait;
+ /*
+ The flag `done' is set when the wait is completed (either due to reaching
+ the position waited for, or due to timeout or kill). The queue_element
+ is in the queue if and only if `done' is true.
+ */
+ bool done;
+ };
+
+ mysql_mutex_t LOCK_gtid_waiting;
+ HASH hash;
+
+ void init();
+ void destroy();
+ hash_element *get_entry(uint32 domain_id);
+ int wait_for_pos(THD *thd, String *gtid_str, longlong timeout_us);
+ void promote_new_waiter(gtid_waiting::hash_element *he);
+ int wait_for_gtid(THD *thd, rpl_gtid *wait_gtid, struct timespec *wait_until);
+ void process_wait_hash(uint64 wakeup_seq_no, gtid_waiting::hash_element *he);
+ int register_in_wait_queue(THD *thd, rpl_gtid *wait_gtid, hash_element *he,
+ queue_element *elem);
+ void remove_from_wait_queue(hash_element *he, queue_element *elem);
+};
+
+
+class Relay_log_info;
+struct rpl_group_info;
+
+/*
Replication slave state.
For every independent replication stream (identified by domain_id), this
@@ -61,6 +119,33 @@ struct rpl_slave_state
{
struct list_element *list;
uint32 domain_id;
+ /* Highest seq_no seen so far in this domain. */
+ uint64 highest_seq_no;
+ /*
+ If this is non-NULL, then it is the waiter responsible for the small
+ wait in MASTER_GTID_WAIT().
+ */
+ gtid_waiting::queue_element *gtid_waiter;
+ /*
+ If gtid_waiter is non-NULL, then this is the seq_no that its
+ MASTER_GTID_WAIT() is waiting on. When we reach this seq_no, we need to
+ signal the waiter on COND_wait_gtid.
+ */
+ uint64 min_wait_seq_no;
+ mysql_cond_t COND_wait_gtid;
+
+ /*
+ For --gtid-ignore-duplicates. The Relay_log_info that currently owns
+ this domain, and the number of worker threads that are active in it.
+
+ The idea is that only one of multiple master connections is allowed to
+ actively apply events for a given domain. Other connections must either
+ discard the events (if the seq_no in GTID shows they have already been
+ applied), or wait to see if the current owner will apply it.
+ */
+ const Relay_log_info *owner_rli;
+ uint32 owner_count;
+ mysql_cond_t COND_gtid_ignore_duplicates;
list_element *grab_list() { list_element *l= list; list= NULL; return l; }
void add(list_element *l)
@@ -86,7 +171,8 @@ struct rpl_slave_state
void deinit();
void truncate_hash();
ulong count() const { return hash.records; }
- int update(uint32 domain_id, uint32 server_id, uint64 sub_id, uint64 seq_no);
+ int update(uint32 domain_id, uint32 server_id, uint64 sub_id,
+ uint64 seq_no, rpl_group_info *rgi);
int truncate_state_table(THD *thd);
int record_gtid(THD *thd, const rpl_gtid *gtid, uint64 sub_id,
bool in_transaction, bool in_statement);
@@ -99,14 +185,13 @@ struct rpl_slave_state
bool in_statement);
bool is_empty();
- void lock() { DBUG_ASSERT(inited); mysql_mutex_lock(&LOCK_slave_state); }
- void unlock() { DBUG_ASSERT(inited); mysql_mutex_unlock(&LOCK_slave_state); }
-
element *get_element(uint32 domain_id);
int put_back_list(uint32 domain_id, list_element *list);
- void update_state_hash(uint64 sub_id, rpl_gtid *gtid);
+ void update_state_hash(uint64 sub_id, rpl_gtid *gtid, rpl_group_info *rgi);
int record_and_update_gtid(THD *thd, struct rpl_group_info *rgi);
+ int check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi);
+ void release_domain_owner(rpl_group_info *rgi);
};
@@ -204,6 +289,7 @@ struct slave_connection_state
int get_gtid_list(rpl_gtid *gtid_list, uint32 list_size);
};
+
extern bool rpl_slave_state_tostring_helper(String *dest, const rpl_gtid *gtid,
bool *first);
extern int gtid_check_rpl_slave_state_table(TABLE *table);
diff --git a/sql/rpl_injector.h b/sql/rpl_injector.h
index f4790cc963a..98788955e24 100644
--- a/sql/rpl_injector.h
+++ b/sql/rpl_injector.h
@@ -94,13 +94,13 @@ public:
injector::transaction::table tbl(share->table, true);
MY_BITMAP cols;
- bitmap_init(&cols, NULL, (i + 7) / 8, false);
+ my_bitmap_init(&cols, NULL, (i + 7) / 8, false);
inj->write_row(::server_id, tbl, &cols, row_data);
or
MY_BITMAP cols;
- bitmap_init(&cols, NULL, (i + 7) / 8, false);
+ my_bitmap_init(&cols, NULL, (i + 7) / 8, false);
inj->write_row(::server_id,
injector::transaction::table(share->table, true),
&cols, row_data);
diff --git a/sql/rpl_mi.cc b/sql/rpl_mi.cc
index fced238e334..7764400becb 100644
--- a/sql/rpl_mi.cc
+++ b/sql/rpl_mi.cc
@@ -547,7 +547,7 @@ file '%s')", fname);
mi->rli.is_relay_log_recovery= FALSE;
// now change cache READ -> WRITE - must do this before flush_master_info
reinit_io_cache(&mi->file, WRITE_CACHE, 0L, 0, 1);
- if ((error=test(flush_master_info(mi, TRUE, TRUE))))
+ if ((error= MY_TEST(flush_master_info(mi, TRUE, TRUE))))
sql_print_error("Failed to flush master info file");
mysql_mutex_unlock(&mi->data_lock);
DBUG_RETURN(error);
diff --git a/sql/rpl_parallel.cc b/sql/rpl_parallel.cc
index cc65856e37b..5c902249914 100644
--- a/sql/rpl_parallel.cc
+++ b/sql/rpl_parallel.cc
@@ -20,6 +20,8 @@
struct rpl_parallel_thread_pool global_rpl_thread_pool;
+static void signal_error_to_sql_driver_thread(THD *thd, rpl_group_info *rgi,
+ int err);
static int
rpt_handle_event(rpl_parallel_thread::queued_event *qev,
@@ -93,32 +95,13 @@ handle_queued_pos_update(THD *thd, rpl_parallel_thread::queued_event *qev)
}
-static bool
-sql_worker_killed(THD *thd, rpl_group_info *rgi, bool in_event_group)
-{
- if (!rgi->rli->abort_slave && !abort_loop)
- return false;
-
- /*
- Do not abort in the middle of an event group that cannot be rolled back.
- */
- if ((thd->transaction.all.modified_non_trans_table ||
- (thd->variables.option_bits & OPTION_KEEP_LOG))
- && in_event_group)
- return false;
- /* ToDo: should we add some timeout like in sql_slave_killed?
- if (rgi->last_event_start_time == 0)
- rgi->last_event_start_time= my_time(0);
- */
-
- return true;
-}
-
-
static void
-finish_event_group(THD *thd, int err, uint64 sub_id,
- rpl_parallel_entry *entry, wait_for_commit *wfc)
+finish_event_group(THD *thd, uint64 sub_id, rpl_parallel_entry *entry,
+ rpl_group_info *rgi)
{
+ wait_for_commit *wfc= &rgi->commit_orderer;
+ int err;
+
/*
Remove any left-over registration to wait for a prior commit to
complete. Normally, such wait would already have been removed at
@@ -140,10 +123,10 @@ finish_event_group(THD *thd, int err, uint64 sub_id,
waiting for us will in any case receive the error back from their
wait_for_prior_commit() call.
*/
- if (err)
+ if (rgi->worker_error)
wfc->unregister_wait_for_prior_commit();
- else
- err= wfc->wait_for_prior_commit(thd);
+ else if ((err= wfc->wait_for_prior_commit(thd)))
+ signal_error_to_sql_driver_thread(thd, rgi, err);
thd->wait_for_commit_ptr= NULL;
/*
@@ -163,28 +146,57 @@ finish_event_group(THD *thd, int err, uint64 sub_id,
*/
mysql_mutex_lock(&entry->LOCK_parallel_entry);
if (entry->last_committed_sub_id < sub_id)
- {
entry->last_committed_sub_id= sub_id;
- mysql_cond_broadcast(&entry->COND_parallel_entry);
- }
+
+ /*
+ If this event group got error, then any following event groups that have
+ not yet started should just skip their group, preparing for stop of the
+ SQL driver thread.
+ */
+ if (unlikely(rgi->worker_error) &&
+ entry->stop_on_error_sub_id == (uint64)ULONGLONG_MAX)
+ entry->stop_on_error_sub_id= sub_id;
+ /*
+ We need to mark that this event group started its commit phase, in case we
+ missed it before (otherwise we would deadlock the next event group that is
+ waiting for this). In most cases (normal DML), it will be a no-op.
+ */
+ rgi->mark_start_commit_no_lock();
mysql_mutex_unlock(&entry->LOCK_parallel_entry);
- wfc->wakeup_subsequent_commits(err);
+ thd->clear_error();
+ thd->get_stmt_da()->reset_diagnostics_area();
+ wfc->wakeup_subsequent_commits(rgi->worker_error);
}
static void
-signal_error_to_sql_driver_thread(THD *thd, rpl_group_info *rgi)
+signal_error_to_sql_driver_thread(THD *thd, rpl_group_info *rgi, int err)
{
- rgi->is_error= true;
+ rgi->worker_error= err;
rgi->cleanup_context(thd, true);
rgi->rli->abort_slave= true;
+ rgi->rli->stop_for_until= false;
mysql_mutex_lock(rgi->rli->relay_log.get_log_lock());
mysql_mutex_unlock(rgi->rli->relay_log.get_log_lock());
rgi->rli->relay_log.signal_update();
}
+static void
+unlock_or_exit_cond(THD *thd, mysql_mutex_t *lock, bool *did_enter_cond,
+ PSI_stage_info *old_stage)
+{
+ if (*did_enter_cond)
+ {
+ thd->EXIT_COND(old_stage);
+ *did_enter_cond= false;
+ }
+ else
+ mysql_mutex_unlock(lock);
+}
+
+
pthread_handler_t
handle_rpl_parallel_thread(void *arg)
{
@@ -193,8 +205,14 @@ handle_rpl_parallel_thread(void *arg)
struct rpl_parallel_thread::queued_event *events;
bool group_standalone= true;
bool in_event_group= false;
+ bool skip_event_group= false;
rpl_group_info *group_rgi= NULL;
+ group_commit_orderer *gco, *tmp_gco;
uint64 event_gtid_sub_id= 0;
+ rpl_parallel_thread::queued_event *qevs_to_free;
+ rpl_group_info *rgis_to_free;
+ group_commit_orderer *gcos_to_free;
+ size_t total_event_size;
int err;
struct rpl_parallel_thread *rpt= (struct rpl_parallel_thread *)arg;
@@ -224,6 +242,39 @@ handle_rpl_parallel_thread(void *arg)
thd_proc_info(thd, "Waiting for work from main SQL threads");
thd->set_time();
thd->variables.lock_wait_timeout= LONG_TIMEOUT;
+ /*
+ For now, we need to run the replication parallel worker threads in
+ READ COMMITTED. This is needed because gap locks are not symmetric.
+ For example, a gap lock from a DELETE blocks an insert intention lock,
+ but not vice versa. So an INSERT followed by DELETE can group commit
+ on the master, but if we are unlucky with thread scheduling we can
+ then deadlock on the slave because the INSERT ends up waiting for a
+ gap lock from the DELETE (and the DELETE in turn waits for the INSERT
+ in wait_for_prior_commit()). See also MDEV-5914.
+
+ It should be mostly safe to run in READ COMMITTED in the slave anyway.
+ The commit order is already fixed from on the master, so we do not
+ risk logging into the binlog in an incorrect order between worker
+ threads (one that would cause different results if executed on a
+ lower-level slave that uses this slave as a master). The only
+ potential problem is with transactions run in a different master
+ connection (using multi-source replication), or run directly on the
+ slave by an application; when using READ COMMITTED we are not
+ guaranteed serialisability of binlogged statements.
+
+ In practice, this is unlikely to be an issue. In GTID mode, such
+ parallel transactions from multi-source or application must in any
+ case use a different replication domain, in which case binlog order
+ by definition must be independent between the different domain. Even
+ in non-GTID mode, normally one will assume that the external
+ transactions are not conflicting with those applied by the slave, so
+ that isolation level should make no difference. It would be rather
+ strange if the result of applying query events from one master would
+ depend on the timing and nature of other queries executed from
+ different multi-source connections or done directly on the slave by
+ an application. Still, something to be aware of.
+ */
+ thd->variables.tx_isolation= ISO_READ_COMMITTED;
mysql_mutex_lock(&rpt->LOCK_rpl_thread);
rpt->thd= thd;
@@ -234,43 +285,61 @@ handle_rpl_parallel_thread(void *arg)
rpt->running= true;
mysql_cond_signal(&rpt->COND_rpl_thread);
- while (!rpt->stop && !thd->killed)
+ while (!rpt->stop)
{
- rpl_parallel_thread *list;
-
thd->ENTER_COND(&rpt->COND_rpl_thread, &rpt->LOCK_rpl_thread,
&stage_waiting_for_work_from_sql_thread, &old_stage);
- while (!(events= rpt->event_queue) && !rpt->stop && !thd->killed &&
- !(rpt->current_entry && rpt->current_entry->force_abort))
+ /*
+ There are 4 cases that should cause us to wake up:
+ - Events have been queued for us to handle.
+ - We have an owner, but no events and not inside event group -> we need
+ to release ourself to the thread pool
+ - SQL thread is stopping, and we have an owner but no events, and we are
+ inside an event group; no more events will be queued to us, so we need
+ to abort the group (force_abort==1).
+ - Thread pool shutdown (rpt->stop==1).
+ */
+ while (!( (events= rpt->event_queue) ||
+ (rpt->current_owner && !in_event_group) ||
+ (rpt->current_owner && group_rgi->parallel_entry->force_abort) ||
+ rpt->stop))
mysql_cond_wait(&rpt->COND_rpl_thread, &rpt->LOCK_rpl_thread);
- rpt->dequeue(events);
+ rpt->dequeue1(events);
thd->EXIT_COND(&old_stage);
- mysql_cond_signal(&rpt->COND_rpl_thread);
more_events:
+ qevs_to_free= NULL;
+ rgis_to_free= NULL;
+ gcos_to_free= NULL;
+ total_event_size= 0;
while (events)
{
struct rpl_parallel_thread::queued_event *next= events->next;
Log_event_type event_type;
rpl_group_info *rgi= events->rgi;
rpl_parallel_entry *entry= rgi->parallel_entry;
- uint64 wait_for_sub_id;
- uint64 wait_start_sub_id;
- bool end_of_group;
+ bool end_of_group, group_ending;
+ total_event_size+= events->event_size;
if (!events->ev)
{
handle_queued_pos_update(thd, events);
- my_free(events);
+ events->next= qevs_to_free;
+ qevs_to_free= events;
events= next;
continue;
}
- err= 0;
group_rgi= rgi;
+ gco= rgi->gco;
/* Handle a new event group, which will be initiated by a GTID event. */
if ((event_type= events->ev->get_type_code()) == GTID_EVENT)
{
+ bool did_enter_cond= false;
+ PSI_stage_info old_stage;
+ uint64 wait_count;
+
+ thd->tx_isolation= (enum_tx_isolation)thd->variables.tx_isolation;
in_event_group= true;
/*
If the standalone flag is set, then this event group consists of a
@@ -292,50 +361,87 @@ handle_rpl_parallel_thread(void *arg)
occured.
Also do not start parallel execution of this event group until all
- prior groups have committed that are not safe to run in parallel with.
+ prior groups have reached the commit phase that are not safe to run
+ in parallel with.
*/
- wait_for_sub_id= rgi->wait_commit_sub_id;
- wait_start_sub_id= rgi->wait_start_sub_id;
- if (wait_for_sub_id || wait_start_sub_id)
+ mysql_mutex_lock(&entry->LOCK_parallel_entry);
+ if (!gco->installed)
{
- bool did_enter_cond= false;
- PSI_stage_info old_stage;
-
- mysql_mutex_lock(&entry->LOCK_parallel_entry);
- if (wait_start_sub_id)
+ if (gco->prev_gco)
+ gco->prev_gco->next_gco= gco;
+ gco->installed= true;
+ }
+ wait_count= gco->wait_count;
+ if (wait_count > entry->count_committing_event_groups)
+ {
+ DEBUG_SYNC(thd, "rpl_parallel_start_waiting_for_prior");
+ thd->ENTER_COND(&gco->COND_group_commit_orderer,
+ &entry->LOCK_parallel_entry,
+ &stage_waiting_for_prior_transaction_to_commit,
+ &old_stage);
+ did_enter_cond= true;
+ do
{
- thd->ENTER_COND(&entry->COND_parallel_entry,
- &entry->LOCK_parallel_entry,
- &stage_waiting_for_prior_transaction_to_commit,
- &old_stage);
- did_enter_cond= true;
- DEBUG_SYNC(thd, "rpl_parallel_start_waiting_for_prior");
- while (wait_start_sub_id > entry->last_committed_sub_id &&
- !thd->check_killed())
- mysql_cond_wait(&entry->COND_parallel_entry,
- &entry->LOCK_parallel_entry);
- if (wait_start_sub_id > entry->last_committed_sub_id)
+ if (thd->check_killed() && !rgi->worker_error)
{
- /* The thread got a kill signal. */
DEBUG_SYNC(thd, "rpl_parallel_start_waiting_for_prior_killed");
thd->send_kill_message();
slave_output_error_info(rgi->rli, thd);
- signal_error_to_sql_driver_thread(thd, rgi);
+ signal_error_to_sql_driver_thread(thd, rgi, 1);
+ /*
+ Even though we were killed, we need to continue waiting for the
+ prior event groups to signal that we can continue. Otherwise we
+ mess up the accounting for ordering. However, now that we have
+ marked the error, events will just be skipped rather than
+ executed, and things will progress quickly towards stop.
+ */
}
- rgi->wait_start_sub_id= 0; /* No need to check again. */
- }
- if (wait_for_sub_id > entry->last_committed_sub_id)
- {
- wait_for_commit *waitee=
- &rgi->wait_commit_group_info->commit_orderer;
- rgi->commit_orderer.register_wait_for_prior_commit(waitee);
- }
- if (did_enter_cond)
- thd->EXIT_COND(&old_stage);
- else
- mysql_mutex_unlock(&entry->LOCK_parallel_entry);
+ mysql_cond_wait(&gco->COND_group_commit_orderer,
+ &entry->LOCK_parallel_entry);
+ } while (wait_count > entry->count_committing_event_groups);
}
+ if ((tmp_gco= gco->prev_gco))
+ {
+ /*
+ Now all the event groups in the previous batch have entered their
+ commit phase, and will no longer access their gco. So we can free
+ it here.
+ */
+ DBUG_ASSERT(!tmp_gco->prev_gco);
+ gco->prev_gco= NULL;
+ tmp_gco->next_gco= gcos_to_free;
+ gcos_to_free= tmp_gco;
+ }
+
+ if (entry->force_abort && wait_count > entry->stop_count)
+ {
+ /*
+ We are stopping (STOP SLAVE), and this event group is beyond the
+ point where we can safely stop. So set a flag that will cause us
+ to skip, rather than execute, the following events.
+ */
+ skip_event_group= true;
+ }
+ else
+ skip_event_group= false;
+
+ if (unlikely(entry->stop_on_error_sub_id <= rgi->wait_commit_sub_id))
+ skip_event_group= true;
+ else if (rgi->wait_commit_sub_id > entry->last_committed_sub_id)
+ {
+ /*
+ Register that the commit of this event group must wait for the
+ commit of the previous event group to complete before it may
+ complete itself, so that we preserve commit order.
+ */
+ wait_for_commit *waitee=
+ &rgi->wait_commit_group_info->commit_orderer;
+ rgi->commit_orderer.register_wait_for_prior_commit(waitee);
+ }
+ unlock_or_exit_cond(thd, &entry->LOCK_parallel_entry,
+ &did_enter_cond, &old_stage);
+
if(thd->wait_for_commit_ptr)
{
/*
@@ -347,9 +453,41 @@ handle_rpl_parallel_thread(void *arg)
*/
rgi->cleanup_context(thd, true);
thd->wait_for_commit_ptr->unregister_wait_for_prior_commit();
- thd->wait_for_commit_ptr->wakeup_subsequent_commits(err);
+ thd->wait_for_commit_ptr->wakeup_subsequent_commits(rgi->worker_error);
}
thd->wait_for_commit_ptr= &rgi->commit_orderer;
+
+ if (opt_gtid_ignore_duplicates)
+ {
+ int res=
+ rpl_global_gtid_slave_state.check_duplicate_gtid(&rgi->current_gtid,
+ rgi);
+ if (res < 0)
+ {
+ /* Error. */
+ slave_output_error_info(rgi->rli, thd);
+ signal_error_to_sql_driver_thread(thd, rgi, 1);
+ }
+ else if (!res)
+ {
+ /* GTID already applied by another master connection, skip. */
+ skip_event_group= true;
+ }
+ else
+ {
+ /* We have to apply the event. */
+ }
+ }
+ }
+
+ group_ending= event_type == XID_EVENT ||
+ (event_type == QUERY_EVENT &&
+ (((Query_log_event *)events->ev)->is_commit() ||
+ ((Query_log_event *)events->ev)->is_rollback()));
+ if (group_ending)
+ {
+ DEBUG_SYNC(thd, "rpl_parallel_before_mark_start_commit");
+ rgi->mark_start_commit();
}
/*
@@ -358,7 +496,7 @@ handle_rpl_parallel_thread(void *arg)
processing between the event groups as a simple way to ensure that
everything is stopped and cleaned up correctly.
*/
- if (!rgi->is_error && !sql_worker_killed(thd, rgi, in_event_group))
+ if (!rgi->worker_error && !skip_event_group)
err= rpt_handle_event(events, rpt);
else
err= thd->wait_for_prior_commit();
@@ -366,26 +504,25 @@ handle_rpl_parallel_thread(void *arg)
end_of_group=
in_event_group &&
((group_standalone && !Log_event::is_part_of_group(event_type)) ||
- event_type == XID_EVENT ||
- (event_type == QUERY_EVENT &&
- (((Query_log_event *)events->ev)->is_commit() ||
- ((Query_log_event *)events->ev)->is_rollback())));
+ group_ending);
delete_or_keep_event_post_apply(rgi, event_type, events->ev);
- my_free(events);
+ events->next= qevs_to_free;
+ qevs_to_free= events;
- if (err)
+ if (unlikely(err) && !rgi->worker_error)
{
slave_output_error_info(rgi->rli, thd);
- signal_error_to_sql_driver_thread(thd, rgi);
+ signal_error_to_sql_driver_thread(thd, rgi, err);
}
if (end_of_group)
{
in_event_group= false;
- finish_event_group(thd, err, event_gtid_sub_id, entry,
- &rgi->commit_orderer);
- delete rgi;
+ finish_event_group(thd, event_gtid_sub_id, entry, rgi);
+ rgi->next= rgis_to_free;
+ rgis_to_free= rgi;
group_rgi= rgi= NULL;
+ skip_event_group= false;
DEBUG_SYNC(thd, "rpl_parallel_end_of_group");
}
@@ -393,6 +530,29 @@ handle_rpl_parallel_thread(void *arg)
}
mysql_mutex_lock(&rpt->LOCK_rpl_thread);
+ /* Signal that our queue can now accept more events. */
+ rpt->dequeue2(total_event_size);
+ mysql_cond_signal(&rpt->COND_rpl_thread_queue);
+ /* We need to delay the free here, to when we have the lock. */
+ while (gcos_to_free)
+ {
+ group_commit_orderer *next= gcos_to_free->next_gco;
+ rpt->free_gco(gcos_to_free);
+ gcos_to_free= next;
+ }
+ while (rgis_to_free)
+ {
+ rpl_group_info *next= rgis_to_free->next;
+ rpt->free_rgi(rgis_to_free);
+ rgis_to_free= next;
+ }
+ while (qevs_to_free)
+ {
+ rpl_parallel_thread::queued_event *next= qevs_to_free->next;
+ rpt->free_qev(qevs_to_free);
+ qevs_to_free= next;
+ }
+
if ((events= rpt->event_queue) != NULL)
{
/*
@@ -400,9 +560,8 @@ handle_rpl_parallel_thread(void *arg)
This is faster than having to wakeup the pool manager thread to give us
a new event.
*/
- rpt->dequeue(events);
+ rpt->dequeue1(events);
mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
- mysql_cond_signal(&rpt->COND_rpl_thread);
goto more_events;
}
@@ -417,27 +576,25 @@ handle_rpl_parallel_thread(void *arg)
half-processed event group.
*/
mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
- finish_event_group(thd, 1, group_rgi->gtid_sub_id,
- group_rgi->parallel_entry, &group_rgi->commit_orderer);
- signal_error_to_sql_driver_thread(thd, group_rgi);
+ signal_error_to_sql_driver_thread(thd, group_rgi, 1);
+ finish_event_group(thd, group_rgi->gtid_sub_id,
+ group_rgi->parallel_entry, group_rgi);
in_event_group= false;
- delete group_rgi;
- group_rgi= NULL;
mysql_mutex_lock(&rpt->LOCK_rpl_thread);
+ rpt->free_rgi(group_rgi);
+ group_rgi= NULL;
+ skip_event_group= false;
}
if (!in_event_group)
{
+ rpt->current_owner= NULL;
+ /* Tell wait_for_done() that we are done, if it is waiting. */
+ if (likely(rpt->current_entry) &&
+ unlikely(rpt->current_entry->force_abort))
+ mysql_cond_broadcast(&rpt->current_entry->COND_parallel_entry);
rpt->current_entry= NULL;
if (!rpt->stop)
- {
- mysql_mutex_lock(&rpt->pool->LOCK_rpl_thread_pool);
- list= rpt->pool->free_list;
- rpt->next= list;
- rpt->pool->free_list= rpt;
- if (!list)
- mysql_cond_broadcast(&rpt->pool->COND_rpl_thread_pool);
- mysql_mutex_unlock(&rpt->pool->LOCK_rpl_thread_pool);
- }
+ rpt->pool->release_thread(rpt);
}
}
@@ -466,6 +623,15 @@ handle_rpl_parallel_thread(void *arg)
}
+static void
+dealloc_gco(group_commit_orderer *gco)
+{
+ DBUG_ASSERT(!gco->prev_gco /* Must only free after dealloc previous */);
+ mysql_cond_destroy(&gco->COND_group_commit_orderer);
+ my_free(gco);
+}
+
+
int
rpl_parallel_change_thread_count(rpl_parallel_thread_pool *pool,
uint32 new_count, bool skip_check)
@@ -500,8 +666,10 @@ rpl_parallel_change_thread_count(rpl_parallel_thread_pool *pool,
mysql_mutex_init(key_LOCK_rpl_thread, &new_list[i]->LOCK_rpl_thread,
MY_MUTEX_INIT_SLOW);
mysql_cond_init(key_COND_rpl_thread, &new_list[i]->COND_rpl_thread, NULL);
+ mysql_cond_init(key_COND_rpl_thread_queue,
+ &new_list[i]->COND_rpl_thread_queue, NULL);
new_list[i]->pool= pool;
- if (mysql_thread_create(key_rpl_parallel_thread, &th, NULL,
+ if (mysql_thread_create(key_rpl_parallel_thread, &th, &connection_attrib,
handle_rpl_parallel_thread, new_list[i]))
{
my_error(ER_OUT_OF_RESOURCES, MYF(0));
@@ -538,7 +706,7 @@ rpl_parallel_change_thread_count(rpl_parallel_thread_pool *pool,
*/
for (i= 0; i < pool->count; ++i)
{
- rpl_parallel_thread *rpt= pool->get_thread(NULL);
+ rpl_parallel_thread *rpt= pool->get_thread(NULL, NULL);
rpt->stop= true;
mysql_cond_signal(&rpt->COND_rpl_thread);
mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
@@ -553,6 +721,24 @@ rpl_parallel_change_thread_count(rpl_parallel_thread_pool *pool,
mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
mysql_mutex_destroy(&rpt->LOCK_rpl_thread);
mysql_cond_destroy(&rpt->COND_rpl_thread);
+ while (rpt->qev_free_list)
+ {
+ rpl_parallel_thread::queued_event *next= rpt->qev_free_list->next;
+ my_free(rpt->qev_free_list);
+ rpt->qev_free_list= next;
+ }
+ while (rpt->rgi_free_list)
+ {
+ rpl_group_info *next= rpt->rgi_free_list->next;
+ delete rpt->rgi_free_list;
+ rpt->rgi_free_list= next;
+ }
+ while (rpt->gco_free_list)
+ {
+ group_commit_orderer *next= rpt->gco_free_list->next_gco;
+ dealloc_gco(rpt->gco_free_list);
+ rpt->gco_free_list= next;
+ }
}
my_free(pool->threads);
@@ -576,6 +762,11 @@ rpl_parallel_change_thread_count(rpl_parallel_thread_pool *pool,
pool->changing= false;
mysql_mutex_unlock(&LOCK_active_mi);
}
+
+ mysql_mutex_lock(&pool->LOCK_rpl_thread_pool);
+ mysql_cond_broadcast(&pool->COND_rpl_thread_pool);
+ mysql_mutex_unlock(&pool->LOCK_rpl_thread_pool);
+
return 0;
err:
@@ -608,6 +799,117 @@ err:
}
+rpl_parallel_thread::queued_event *
+rpl_parallel_thread::get_qev(Log_event *ev, ulonglong event_size,
+ Relay_log_info *rli)
+{
+ queued_event *qev;
+ mysql_mutex_assert_owner(&LOCK_rpl_thread);
+ if ((qev= qev_free_list))
+ qev_free_list= qev->next;
+ else if(!(qev= (queued_event *)my_malloc(sizeof(*qev), MYF(0))))
+ {
+ my_error(ER_OUTOFMEMORY, MYF(0), (int)sizeof(*qev));
+ return NULL;
+ }
+ qev->ev= ev;
+ qev->event_size= event_size;
+ qev->next= NULL;
+ strcpy(qev->event_relay_log_name, rli->event_relay_log_name);
+ qev->event_relay_log_pos= rli->event_relay_log_pos;
+ qev->future_event_relay_log_pos= rli->future_event_relay_log_pos;
+ strcpy(qev->future_event_master_log_name, rli->future_event_master_log_name);
+ return qev;
+}
+
+
+void
+rpl_parallel_thread::free_qev(rpl_parallel_thread::queued_event *qev)
+{
+ mysql_mutex_assert_owner(&LOCK_rpl_thread);
+ qev->next= qev_free_list;
+ qev_free_list= qev;
+}
+
+
+rpl_group_info*
+rpl_parallel_thread::get_rgi(Relay_log_info *rli, Gtid_log_event *gtid_ev,
+ rpl_parallel_entry *e)
+{
+ rpl_group_info *rgi;
+ mysql_mutex_assert_owner(&LOCK_rpl_thread);
+ if ((rgi= rgi_free_list))
+ {
+ rgi_free_list= rgi->next;
+ rgi->reinit(rli);
+ }
+ else
+ {
+ if(!(rgi= new rpl_group_info(rli)))
+ {
+ my_error(ER_OUTOFMEMORY, MYF(0), (int)sizeof(*rgi));
+ return NULL;
+ }
+ rgi->is_parallel_exec = true;
+ }
+ if ((rgi->deferred_events_collecting= rli->mi->rpl_filter->is_on()) &&
+ !rgi->deferred_events)
+ rgi->deferred_events= new Deferred_log_events(rli);
+ if (event_group_new_gtid(rgi, gtid_ev))
+ {
+ free_rgi(rgi);
+ my_error(ER_OUT_OF_RESOURCES, MYF(MY_WME));
+ return NULL;
+ }
+ rgi->parallel_entry= e;
+
+ return rgi;
+}
+
+
+void
+rpl_parallel_thread::free_rgi(rpl_group_info *rgi)
+{
+ mysql_mutex_assert_owner(&LOCK_rpl_thread);
+ DBUG_ASSERT(rgi->commit_orderer.waitee == NULL);
+ rgi->free_annotate_event();
+ rgi->next= rgi_free_list;
+ rgi_free_list= rgi;
+}
+
+
+group_commit_orderer *
+rpl_parallel_thread::get_gco(uint64 wait_count, group_commit_orderer *prev)
+{
+ group_commit_orderer *gco;
+ mysql_mutex_assert_owner(&LOCK_rpl_thread);
+ if ((gco= gco_free_list))
+ gco_free_list= gco->next_gco;
+ else if(!(gco= (group_commit_orderer *)my_malloc(sizeof(*gco), MYF(0))))
+ {
+ my_error(ER_OUTOFMEMORY, MYF(0), (int)sizeof(*gco));
+ return NULL;
+ }
+ mysql_cond_init(key_COND_group_commit_orderer,
+ &gco->COND_group_commit_orderer, NULL);
+ gco->wait_count= wait_count;
+ gco->prev_gco= prev;
+ gco->next_gco= NULL;
+ gco->installed= false;
+ return gco;
+}
+
+
+void
+rpl_parallel_thread::free_gco(group_commit_orderer *gco)
+{
+ mysql_mutex_assert_owner(&LOCK_rpl_thread);
+ DBUG_ASSERT(!gco->prev_gco /* Must not free until wait has completed. */);
+ gco->next_gco= gco_free_list;
+ gco_free_list= gco;
+}
+
+
rpl_parallel_thread_pool::rpl_parallel_thread_pool()
: count(0), threads(0), free_list(0), changing(false), inited(false)
{
@@ -650,7 +952,8 @@ rpl_parallel_thread_pool::destroy()
Note that we return with the worker threads's LOCK_rpl_thread mutex locked.
*/
struct rpl_parallel_thread *
-rpl_parallel_thread_pool::get_thread(rpl_parallel_entry *entry)
+rpl_parallel_thread_pool::get_thread(rpl_parallel_thread **owner,
+ rpl_parallel_entry *entry)
{
rpl_parallel_thread *rpt;
@@ -660,16 +963,152 @@ rpl_parallel_thread_pool::get_thread(rpl_parallel_entry *entry)
free_list= rpt->next;
mysql_mutex_unlock(&LOCK_rpl_thread_pool);
mysql_mutex_lock(&rpt->LOCK_rpl_thread);
+ rpt->current_owner= owner;
rpt->current_entry= entry;
return rpt;
}
+/*
+ Release a thread to the thread pool.
+ The thread should be locked, and should not have any work queued for it.
+*/
+void
+rpl_parallel_thread_pool::release_thread(rpl_parallel_thread *rpt)
+{
+ rpl_parallel_thread *list;
+
+ mysql_mutex_assert_owner(&rpt->LOCK_rpl_thread);
+ DBUG_ASSERT(rpt->current_owner == NULL);
+ mysql_mutex_lock(&LOCK_rpl_thread_pool);
+ list= free_list;
+ rpt->next= list;
+ free_list= rpt;
+ if (!list)
+ mysql_cond_broadcast(&COND_rpl_thread_pool);
+ mysql_mutex_unlock(&LOCK_rpl_thread_pool);
+}
+
+
+/*
+ Obtain a worker thread that we can queue an event to.
+
+ Each invocation allocates a new worker thread, to maximise
+ parallelism. However, only up to a maximum of
+ --slave-domain-parallel-threads workers can be occupied by a single
+ replication domain; after that point, we start re-using worker threads that
+ are still executing events that were queued earlier for this thread.
+
+ We never queue more than --rpl-parallel-wait-queue_max amount of events
+ for one worker, to avoid the SQL driver thread using up all memory with
+ queued events while worker threads are stalling.
+
+ Note that this function returns with rpl_parallel_thread::LOCK_rpl_thread
+ locked. Exception is if we were killed, in which case NULL is returned.
+
+ The *did_enter_cond flag is set true if we had to wait for a worker thread
+ to become free (with mysql_cond_wait()). If so, old_stage will also be set,
+ and the LOCK_rpl_thread must be released with THD::EXIT_COND() instead
+ of mysql_mutex_unlock.
+
+ If the flag `reuse' is set, the last worker thread will be returned again,
+ if it is still available. Otherwise a new worker thread is allocated.
+*/
+rpl_parallel_thread *
+rpl_parallel_entry::choose_thread(Relay_log_info *rli, bool *did_enter_cond,
+ PSI_stage_info *old_stage, bool reuse)
+{
+ uint32 idx;
+ rpl_parallel_thread *thr;
+
+ idx= rpl_thread_idx;
+ if (!reuse)
+ {
+ ++idx;
+ if (idx >= rpl_thread_max)
+ idx= 0;
+ rpl_thread_idx= idx;
+ }
+ thr= rpl_threads[idx];
+ if (thr)
+ {
+ *did_enter_cond= false;
+ mysql_mutex_lock(&thr->LOCK_rpl_thread);
+ for (;;)
+ {
+ if (thr->current_owner != &rpl_threads[idx])
+ {
+ /*
+ The worker thread became idle, and returned to the free list and
+ possibly was allocated to a different request. So we should allocate
+ a new worker thread.
+ */
+ unlock_or_exit_cond(rli->sql_driver_thd, &thr->LOCK_rpl_thread,
+ did_enter_cond, old_stage);
+ thr= NULL;
+ break;
+ }
+ else if (thr->queued_size <= opt_slave_parallel_max_queued)
+ {
+ /* The thread is ready to queue into. */
+ break;
+ }
+ else if (rli->sql_driver_thd->check_killed())
+ {
+ unlock_or_exit_cond(rli->sql_driver_thd, &thr->LOCK_rpl_thread,
+ did_enter_cond, old_stage);
+ my_error(ER_CONNECTION_KILLED, MYF(0));
+ DBUG_EXECUTE_IF("rpl_parallel_wait_queue_max",
+ {
+ debug_sync_set_action(rli->sql_driver_thd,
+ STRING_WITH_LEN("now SIGNAL wait_queue_killed"));
+ };);
+ slave_output_error_info(rli, rli->sql_driver_thd);
+ return NULL;
+ }
+ else
+ {
+ /*
+ We have reached the limit of how much memory we are allowed to use
+ for queuing events, so wait for the thread to consume some of its
+ queue.
+ */
+ if (!*did_enter_cond)
+ {
+ /*
+ We need to do the debug_sync before ENTER_COND().
+ Because debug_sync changes the thd->mysys_var->current_mutex,
+ and this can cause THD::awake to use the wrong mutex.
+ */
+ DBUG_EXECUTE_IF("rpl_parallel_wait_queue_max",
+ {
+ debug_sync_set_action(rli->sql_driver_thd,
+ STRING_WITH_LEN("now SIGNAL wait_queue_ready"));
+ };);
+ rli->sql_driver_thd->ENTER_COND(&thr->COND_rpl_thread_queue,
+ &thr->LOCK_rpl_thread,
+ &stage_waiting_for_room_in_worker_thread,
+ old_stage);
+ *did_enter_cond= true;
+ }
+ mysql_cond_wait(&thr->COND_rpl_thread_queue, &thr->LOCK_rpl_thread);
+ }
+ }
+ }
+ if (!thr)
+ rpl_threads[idx]= thr= global_rpl_thread_pool.get_thread(&rpl_threads[idx],
+ this);
+
+ return thr;
+}
+
static void
free_rpl_parallel_entry(void *element)
{
rpl_parallel_entry *e= (rpl_parallel_entry *)element;
+ if (e->current_gco)
+ dealloc_gco(e->current_gco);
mysql_cond_destroy(&e->COND_parallel_entry);
mysql_mutex_destroy(&e->LOCK_parallel_entry);
my_free(e);
@@ -709,10 +1148,22 @@ rpl_parallel::find(uint32 domain_id)
(const uchar *)&domain_id, 0)))
{
/* Allocate a new, empty one. */
- if (!(e= (struct rpl_parallel_entry *)my_malloc(sizeof(*e),
- MYF(MY_ZEROFILL))))
+ ulong count= opt_slave_domain_parallel_threads;
+ if (count == 0 || count > opt_slave_parallel_threads)
+ count= opt_slave_parallel_threads;
+ rpl_parallel_thread **p;
+ if (!my_multi_malloc(MYF(MY_WME|MY_ZEROFILL),
+ &e, sizeof(*e),
+ &p, count*sizeof(*p),
+ NULL))
+ {
+ my_error(ER_OUTOFMEMORY, MYF(0), (int)(sizeof(*e)+count*sizeof(*p)));
return NULL;
+ }
+ e->rpl_threads= p;
+ e->rpl_thread_max= count;
e->domain_id= domain_id;
+ e->stop_on_error_sub_id= (uint64)ULONGLONG_MAX;
if (my_hash_insert(&domain_hash, (uchar *)e))
{
my_free(e);
@@ -730,10 +1181,11 @@ rpl_parallel::find(uint32 domain_id)
void
-rpl_parallel::wait_for_done()
+rpl_parallel::wait_for_done(THD *thd, Relay_log_info *rli)
{
struct rpl_parallel_entry *e;
- uint32 i;
+ rpl_parallel_thread *rpt;
+ uint32 i, j;
/*
First signal all workers that they must force quit; no more events will
@@ -741,27 +1193,123 @@ rpl_parallel::wait_for_done()
*/
for (i= 0; i < domain_hash.records; ++i)
{
- rpl_parallel_thread *rpt;
-
e= (struct rpl_parallel_entry *)my_hash_element(&domain_hash, i);
+ mysql_mutex_lock(&e->LOCK_parallel_entry);
+ /*
+ We want the worker threads to stop as quickly as is safe. If the slave
+ SQL threads are behind, we could have significant amount of events
+ queued for the workers, and we want to stop without waiting for them
+ all to be applied first. But if any event group has already started
+ executing in a worker, we want to be sure that all prior event groups
+ are also executed, so that we stop at a consistent point in the binlog
+ stream (per replication domain).
+
+ All event groups wait for e->count_committing_event_groups to reach
+ the value of group_commit_orderer::wait_count before starting to
+ execute. Thus, at this point we know that any event group with a
+ strictly larger wait_count are safe to skip, none of them can have
+ started executing yet. So we set e->stop_count here and use it to
+ decide in the worker threads whether to continue executing an event
+ group or whether to skip it, when force_abort is set.
+
+ If we stop due to reaching the START SLAVE UNTIL condition, then we
+ need to continue executing any queued events up to that point.
+ */
e->force_abort= true;
- if ((rpt= e->rpl_thread))
+ e->stop_count= rli->stop_for_until ?
+ e->count_queued_event_groups : e->count_committing_event_groups;
+ mysql_mutex_unlock(&e->LOCK_parallel_entry);
+ for (j= 0; j < e->rpl_thread_max; ++j)
{
- mysql_mutex_lock(&rpt->LOCK_rpl_thread);
- if (rpt->current_entry == e)
- mysql_cond_signal(&rpt->COND_rpl_thread);
- mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
+ if ((rpt= e->rpl_threads[j]))
+ {
+ mysql_mutex_lock(&rpt->LOCK_rpl_thread);
+ if (rpt->current_owner == &e->rpl_threads[j])
+ mysql_cond_signal(&rpt->COND_rpl_thread);
+ mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
+ }
}
}
+ DBUG_EXECUTE_IF("rpl_parallel_wait_for_done_trigger",
+ {
+ debug_sync_set_action(thd,
+ STRING_WITH_LEN("now SIGNAL wait_for_done_waiting"));
+ };);
for (i= 0; i < domain_hash.records; ++i)
{
e= (struct rpl_parallel_entry *)my_hash_element(&domain_hash, i);
+ for (j= 0; j < e->rpl_thread_max; ++j)
+ {
+ if ((rpt= e->rpl_threads[j]))
+ {
+ mysql_mutex_lock(&rpt->LOCK_rpl_thread);
+ while (rpt->current_owner == &e->rpl_threads[j])
+ mysql_cond_wait(&e->COND_parallel_entry, &rpt->LOCK_rpl_thread);
+ mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
+ }
+ }
+ }
+}
+
+
+/*
+ This function handles the case where the SQL driver thread reached the
+ START SLAVE UNTIL position; we stop queueing more events but continue
+ processing remaining, already queued events; then use executes manual
+ STOP SLAVE; then this function signals to worker threads that they
+ should stop the processing of any remaining queued events.
+*/
+void
+rpl_parallel::stop_during_until()
+{
+ struct rpl_parallel_entry *e;
+ uint32 i;
+
+ for (i= 0; i < domain_hash.records; ++i)
+ {
+ e= (struct rpl_parallel_entry *)my_hash_element(&domain_hash, i);
+ mysql_mutex_lock(&e->LOCK_parallel_entry);
+ if (e->force_abort)
+ e->stop_count= e->count_committing_event_groups;
+ mysql_mutex_unlock(&e->LOCK_parallel_entry);
+ }
+}
+
+
+bool
+rpl_parallel::workers_idle()
+{
+ struct rpl_parallel_entry *e;
+ uint32 i, max_i;
+
+ max_i= domain_hash.records;
+ for (i= 0; i < max_i; ++i)
+ {
+ bool active;
+ e= (struct rpl_parallel_entry *)my_hash_element(&domain_hash, i);
mysql_mutex_lock(&e->LOCK_parallel_entry);
- while (e->current_sub_id > e->last_committed_sub_id)
- mysql_cond_wait(&e->COND_parallel_entry, &e->LOCK_parallel_entry);
+ active= e->current_sub_id > e->last_committed_sub_id;
mysql_mutex_unlock(&e->LOCK_parallel_entry);
+ if (active)
+ break;
}
+ return (i == max_i);
+}
+
+
+/*
+ This is used when we get an error during processing in do_event();
+ We will not queue any event to the thread, but we still need to wake it up
+ to be sure that it will be returned to the pool.
+*/
+static void
+abandon_worker_thread(THD *thd, rpl_parallel_thread *cur_thread,
+ bool *did_enter_cond, PSI_stage_info *old_stage)
+{
+ unlock_or_exit_cond(thd, &cur_thread->LOCK_rpl_thread,
+ did_enter_cond, old_stage);
+ mysql_cond_signal(&cur_thread->COND_rpl_thread);
}
@@ -769,11 +1317,12 @@ rpl_parallel::wait_for_done()
do_event() is executed by the sql_driver_thd thread.
It's main purpose is to find a thread that can execute the query.
- @retval false ok, event was accepted
- @retval true error
+ @retval 0 ok, event was accepted
+ @retval 1 error
+ @retval -1 event should be executed serially, in the sql driver thread
*/
-bool
+int
rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
ulonglong event_size)
{
@@ -787,249 +1336,193 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
bool did_enter_cond= false;
PSI_stage_info old_stage;
+ /* Handle master log name change, seen in Rotate_log_event. */
+ typ= ev->get_type_code();
+ if (unlikely(typ == ROTATE_EVENT))
+ {
+ Rotate_log_event *rev= static_cast<Rotate_log_event *>(ev);
+ if ((rev->server_id != global_system_variables.server_id ||
+ rli->replicate_same_server_id) &&
+ !rev->is_relay_log_event() &&
+ !rli->is_in_group())
+ {
+ memcpy(rli->future_event_master_log_name,
+ rev->new_log_ident, rev->ident_len+1);
+ }
+ }
+
+ /*
+ Execute queries non-parallel if slave_skip_counter is set, as it's is
+ easier to skip queries in single threaded mode.
+ */
+ if (rli->slave_skip_counter)
+ return -1;
+
+ /* Execute pre-10.0 event, which have no GTID, in single-threaded mode. */
+ if (unlikely(!current) && typ != GTID_EVENT)
+ return -1;
+
/* ToDo: what to do with this lock?!? */
mysql_mutex_unlock(&rli->data_lock);
/*
Stop queueing additional event groups once the SQL thread is requested to
stop.
+
+ We have to queue any remaining events of any event group that has already
+ been partially queued, but after that we will just ignore any further
+ events the SQL driver thread may try to queue, and eventually it will stop.
*/
- if (((typ= ev->get_type_code()) == GTID_EVENT ||
- !(is_group_event= Log_event::is_group_event(typ))) &&
- rli->abort_slave)
+ is_group_event= Log_event::is_group_event(typ);
+ if ((typ == GTID_EVENT || !is_group_event) && rli->abort_slave)
sql_thread_stopping= true;
if (sql_thread_stopping)
{
delete ev;
- /* QQ: Need a better comment why we return false here */
- return false;
+ /*
+ Return "no error"; normal stop is not an error, and otherwise the error
+ has already been recorded.
+ */
+ return 0;
}
- if (!(qev= (rpl_parallel_thread::queued_event *)my_malloc(sizeof(*qev),
- MYF(0))))
+ if (typ == GTID_EVENT)
+ {
+ uint32 domain_id;
+ if (likely(typ == GTID_EVENT))
+ {
+ Gtid_log_event *gtid_ev= static_cast<Gtid_log_event *>(ev);
+ domain_id= (rli->mi->using_gtid == Master_info::USE_GTID_NO ?
+ 0 : gtid_ev->domain_id);
+ }
+ else
+ domain_id= 0;
+ if (!(e= find(domain_id)))
+ {
+ my_error(ER_OUT_OF_RESOURCES, MYF(MY_WME));
+ delete ev;
+ return 1;
+ }
+ current= e;
+ }
+ else
+ e= current;
+
+ /*
+ Find a worker thread to queue the event for.
+ Prefer a new thread, so we maximise parallelism (at least for the group
+ commit). But do not exceed a limit of --slave-domain-parallel-threads;
+ instead re-use a thread that we queued for previously.
+ */
+ cur_thread=
+ e->choose_thread(rli, &did_enter_cond, &old_stage, typ != GTID_EVENT);
+ if (!cur_thread)
{
- my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ /* This means we were killed. The error is already signalled. */
delete ev;
- return true;
+ return 1;
+ }
+
+ if (!(qev= cur_thread->get_qev(ev, event_size, rli)))
+ {
+ abandon_worker_thread(rli->sql_driver_thd, cur_thread,
+ &did_enter_cond, &old_stage);
+ delete ev;
+ return 1;
}
- qev->ev= ev;
- qev->event_size= event_size;
- qev->next= NULL;
- strcpy(qev->event_relay_log_name, rli->event_relay_log_name);
- qev->event_relay_log_pos= rli->event_relay_log_pos;
- qev->future_event_relay_log_pos= rli->future_event_relay_log_pos;
- strcpy(qev->future_event_master_log_name, rli->future_event_master_log_name);
if (typ == GTID_EVENT)
{
Gtid_log_event *gtid_ev= static_cast<Gtid_log_event *>(ev);
- uint32 domain_id= (rli->mi->using_gtid == Master_info::USE_GTID_NO ?
- 0 : gtid_ev->domain_id);
- if (!(e= find(domain_id)) ||
- !(rgi= new rpl_group_info(rli)) ||
- event_group_new_gtid(rgi, gtid_ev))
+ if (!(rgi= cur_thread->get_rgi(rli, gtid_ev, e)))
{
- my_error(ER_OUT_OF_RESOURCES, MYF(MY_WME));
- delete rgi;
- my_free(qev);
+ cur_thread->free_qev(qev);
+ abandon_worker_thread(rli->sql_driver_thd, cur_thread,
+ &did_enter_cond, &old_stage);
delete ev;
- return true;
+ return 1;
}
- rgi->is_parallel_exec = true;
- if ((rgi->deferred_events_collecting= rli->mi->rpl_filter->is_on()))
- rgi->deferred_events= new Deferred_log_events(rli);
- if ((gtid_ev->flags2 & Gtid_log_event::FL_GROUP_COMMIT_ID) &&
- e->last_commit_id == gtid_ev->commit_id)
- {
- /*
- We are already executing something else in this domain. But the two
- event groups were committed together in the same group commit on the
- master, so we can still do them in parallel here on the slave.
+ /*
+ We queue the event group in a new worker thread, to run in parallel
+ with previous groups.
- However, the commit of this event must wait for the commit of the prior
- event, to preserve binlog commit order and visibility across all
- servers in the replication hierarchy.
+ To preserve commit order within the replication domain, we set up
+ rgi->wait_commit_sub_id to make the new group commit only after the
+ previous group has committed.
- In addition, we must not start executing this event until we have
- finished the previous collection of event groups that group-committed
- together; we use rgi->wait_start_sub_id to control this.
- */
- rpl_parallel_thread *rpt= global_rpl_thread_pool.get_thread(e);
- rgi->wait_commit_sub_id= e->current_sub_id;
- rgi->wait_commit_group_info= e->current_group_info;
- rgi->wait_start_sub_id= e->prev_groupcommit_sub_id;
- e->rpl_thread= cur_thread= rpt;
- /* get_thread() returns with the LOCK_rpl_thread locked. */
- }
- else
+ Event groups that group-committed together on the master can be run
+ in parallel with each other without restrictions. But one batch of
+ group-commits may not start before all groups in the previous batch
+ have initiated their commit phase; we set up rgi->gco to ensure that.
+ */
+ rgi->wait_commit_sub_id= e->current_sub_id;
+ rgi->wait_commit_group_info= e->current_group_info;
+
+ if (!((gtid_ev->flags2 & Gtid_log_event::FL_GROUP_COMMIT_ID) &&
+ e->last_commit_id == gtid_ev->commit_id))
{
/*
- Check if we already have a worker thread for this entry.
-
- We continue to queue more events up for the worker thread while it is
- still executing the first ones, to be able to start executing a large
- event group without having to wait for the end to be fetched from the
- master. And we continue to queue up more events after the first group,
- so that we can continue to process subsequent parts of the relay log in
- parallel without having to wait for previous long-running events to
- complete.
-
- But if the worker thread is idle at any point, it may return to the
- idle list or start servicing a different request. So check this, and
- allocate a new thread if the old one is no longer processing for us.
+ A new batch of transactions that group-committed together on the master.
+
+ Remember the count that marks the end of the previous group committed
+ batch, and allocate a new gco.
*/
- cur_thread= e->rpl_thread;
- if (cur_thread)
- {
- mysql_mutex_lock(&cur_thread->LOCK_rpl_thread);
- for (;;)
- {
- if (cur_thread->current_entry != e)
- {
- /*
- The worker thread became idle, and returned to the free list and
- possibly was allocated to a different request. This also means
- that everything previously queued has already been executed,
- else the worker thread would not have become idle. So we should
- allocate a new worker thread.
- */
- mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
- e->rpl_thread= cur_thread= NULL;
- break;
- }
- else if (cur_thread->queued_size <= opt_slave_parallel_max_queued)
- break; // The thread is ready to queue into
- else if (rli->sql_driver_thd->check_killed())
- {
- mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
- my_error(ER_CONNECTION_KILLED, MYF(0));
- delete rgi;
- my_free(qev);
- delete ev;
- DBUG_EXECUTE_IF("rpl_parallel_wait_queue_max",
- {
- debug_sync_set_action(rli->sql_driver_thd,
- STRING_WITH_LEN("now SIGNAL wait_queue_killed"));
- };);
- slave_output_error_info(rli, rli->sql_driver_thd);
- return true;
- }
- else
- {
- /*
- We have reached the limit of how much memory we are allowed to
- use for queuing events, so wait for the thread to consume some
- of its queue.
- */
- if (!did_enter_cond)
- {
- rli->sql_driver_thd->ENTER_COND(&cur_thread->COND_rpl_thread,
- &cur_thread->LOCK_rpl_thread,
- &stage_waiting_for_room_in_worker_thread, &old_stage);
- did_enter_cond= true;
- DBUG_EXECUTE_IF("rpl_parallel_wait_queue_max",
- {
- debug_sync_set_action(rli->sql_driver_thd,
- STRING_WITH_LEN("now SIGNAL wait_queue_ready"));
- };);
- }
- mysql_cond_wait(&cur_thread->COND_rpl_thread,
- &cur_thread->LOCK_rpl_thread);
- }
- }
- }
+ uint64 count= e->count_queued_event_groups;
+ group_commit_orderer *gco;
- if (!cur_thread)
- {
- /*
- Nothing else is currently running in this domain. We can
- spawn a new thread to do this event group in parallel with
- anything else that might be running in other domains.
- */
- cur_thread= e->rpl_thread= global_rpl_thread_pool.get_thread(e);
- /* get_thread() returns with the LOCK_rpl_thread locked. */
- }
- else
+ if (!(gco= cur_thread->get_gco(count, e->current_gco)))
{
- /*
- We are still executing the previous event group for this replication
- domain, and we have to wait for that to finish before we can start on
- the next one. So just re-use the thread.
- */
+ cur_thread->free_rgi(rgi);
+ cur_thread->free_qev(qev);
+ abandon_worker_thread(rli->sql_driver_thd, cur_thread,
+ &did_enter_cond, &old_stage);
+ delete ev;
+ return 1;
}
-
- rgi->wait_commit_sub_id= 0;
- rgi->wait_start_sub_id= 0;
- e->prev_groupcommit_sub_id= e->current_sub_id;
+ e->current_gco= rgi->gco= gco;
}
-
+ else
+ rgi->gco= e->current_gco;
if (gtid_ev->flags2 & Gtid_log_event::FL_GROUP_COMMIT_ID)
- {
- e->last_server_id= gtid_ev->server_id;
- e->last_seq_no= gtid_ev->seq_no;
e->last_commit_id= gtid_ev->commit_id;
- }
else
- {
- e->last_server_id= 0;
- e->last_seq_no= 0;
e->last_commit_id= 0;
- }
-
qev->rgi= e->current_group_info= rgi;
e->current_sub_id= rgi->gtid_sub_id;
- current= rgi->parallel_entry= e;
+ ++e->count_queued_event_groups;
}
- else if (!is_group_event || !current)
+ else if (!is_group_event)
{
- my_off_t log_pos;
int err;
bool tmp;
/*
Events like ROTATE and FORMAT_DESCRIPTION. Do not run in worker thread.
Same for events not preceeded by GTID (we should not see those normally,
but they might be from an old master).
-
- The varuable `current' is NULL for the case where the master did not
- have GTID, like a MariaDB 5.5 or MySQL master.
*/
qev->rgi= serial_rgi;
- /* Handle master log name change, seen in Rotate_log_event. */
- if (typ == ROTATE_EVENT)
- {
- Rotate_log_event *rev= static_cast<Rotate_log_event *>(qev->ev);
- if ((rev->server_id != global_system_variables.server_id ||
- rli->replicate_same_server_id) &&
- !rev->is_relay_log_event() &&
- !rli->is_in_group())
- {
- memcpy(rli->future_event_master_log_name,
- rev->new_log_ident, rev->ident_len+1);
- }
- }
tmp= serial_rgi->is_parallel_exec;
serial_rgi->is_parallel_exec= true;
err= rpt_handle_event(qev, NULL);
serial_rgi->is_parallel_exec= tmp;
- log_pos= qev->ev->log_pos;
- delete_or_keep_event_post_apply(serial_rgi, typ, qev->ev);
+ if (ev->is_relay_log_event())
+ qev->future_event_master_log_pos= 0;
+ else if (typ == ROTATE_EVENT)
+ qev->future_event_master_log_pos=
+ (static_cast<Rotate_log_event *>(ev))->pos;
+ else
+ qev->future_event_master_log_pos= ev->log_pos;
+ delete_or_keep_event_post_apply(serial_rgi, typ, ev);
if (err)
{
- my_free(qev);
- return true;
- }
- qev->ev= NULL;
- qev->future_event_master_log_pos= log_pos;
- if (!current)
- {
- rli->event_relay_log_pos= rli->future_event_relay_log_pos;
- handle_queued_pos_update(rli->sql_driver_thd, qev);
- my_free(qev);
- return false;
+ cur_thread->free_qev(qev);
+ abandon_worker_thread(rli->sql_driver_thd, cur_thread,
+ &did_enter_cond, &old_stage);
+ return 1;
}
/*
Queue an empty event, so that the position will be updated in a
@@ -1043,40 +1536,11 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
least the position will not be updated until one of them has reached
the current point.
*/
- cur_thread= current->rpl_thread;
- if (cur_thread)
- {
- mysql_mutex_lock(&cur_thread->LOCK_rpl_thread);
- if (cur_thread->current_entry != current)
- {
- /* Not ours anymore, we need to grab a new one. */
- mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
- cur_thread= NULL;
- }
- }
- if (!cur_thread)
- cur_thread= current->rpl_thread=
- global_rpl_thread_pool.get_thread(current);
+ qev->ev= NULL;
}
else
{
- cur_thread= current->rpl_thread;
- if (cur_thread)
- {
- mysql_mutex_lock(&cur_thread->LOCK_rpl_thread);
- if (cur_thread->current_entry != current)
- {
- /* Not ours anymore, we need to grab a new one. */
- mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
- cur_thread= NULL;
- }
- }
- if (!cur_thread)
- {
- cur_thread= current->rpl_thread=
- global_rpl_thread_pool.get_thread(current);
- }
- qev->rgi= current->current_group_info;
+ qev->rgi= e->current_group_info;
}
/*
@@ -1084,11 +1548,9 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
*/
rli->event_relay_log_pos= rli->future_event_relay_log_pos;
cur_thread->enqueue(qev);
- if (did_enter_cond)
- rli->sql_driver_thd->EXIT_COND(&old_stage);
- else
- mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
+ unlock_or_exit_cond(rli->sql_driver_thd, &cur_thread->LOCK_rpl_thread,
+ &did_enter_cond, &old_stage);
mysql_cond_signal(&cur_thread->COND_rpl_thread);
- return false;
+ return 0;
}
diff --git a/sql/rpl_parallel.h b/sql/rpl_parallel.h
index 0e88e09652b..c4bb407e5eb 100644
--- a/sql/rpl_parallel.h
+++ b/sql/rpl_parallel.h
@@ -9,16 +9,66 @@ struct rpl_parallel_entry;
struct rpl_parallel_thread_pool;
class Relay_log_info;
+
+
+/*
+ Structure used to keep track of the parallel replication of a batch of
+ event-groups that group-committed together on the master.
+
+ It is used to ensure that every event group in one batch has reached the
+ commit stage before the next batch starts executing.
+
+ Note the lifetime of this structure:
+
+ - It is allocated when the first event in a new batch of group commits
+ is queued, from the free list rpl_parallel_entry::gco_free_list.
+
+ - The gco for the batch currently being queued is owned by
+ rpl_parallel_entry::current_gco. The gco for a previous batch that has
+ been fully queued is owned by the gco->prev_gco pointer of the gco for
+ the following batch.
+
+ - The worker thread waits on gco->COND_group_commit_orderer for
+ rpl_parallel_entry::count_committing_event_groups to reach wait_count
+ before starting; the first waiter links the gco into the next_gco
+ pointer of the gco of the previous batch for signalling.
+
+ - When an event group reaches the commit stage, it signals the
+ COND_group_commit_orderer if its gco->next_gco pointer is non-NULL and
+ rpl_parallel_entry::count_committing_event_groups has reached
+ gco->next_gco->wait_count.
+
+ - When gco->wait_count is reached for a worker and the wait completes,
+ the worker frees gco->prev_gco; at this point it is guaranteed not to
+ be needed any longer.
+*/
+struct group_commit_orderer {
+ /* Wakeup condition, used with rpl_parallel_entry::LOCK_parallel_entry. */
+ mysql_cond_t COND_group_commit_orderer;
+ uint64 wait_count;
+ group_commit_orderer *prev_gco;
+ group_commit_orderer *next_gco;
+ bool installed;
+};
+
+
struct rpl_parallel_thread {
bool delay_start;
bool running;
bool stop;
mysql_mutex_t LOCK_rpl_thread;
mysql_cond_t COND_rpl_thread;
+ mysql_cond_t COND_rpl_thread_queue;
struct rpl_parallel_thread *next; /* For free list. */
struct rpl_parallel_thread_pool *pool;
THD *thd;
- struct rpl_parallel_entry *current_entry;
+ /*
+ Who owns the thread, if any (it's a pointer into the
+ rpl_parallel_entry::rpl_threads array.
+ */
+ struct rpl_parallel_thread **current_owner;
+ /* The rpl_parallel_entry of the owner. */
+ rpl_parallel_entry *current_entry;
struct queued_event {
queued_event *next;
Log_event *ev;
@@ -31,6 +81,9 @@ struct rpl_parallel_thread {
size_t event_size;
} *event_queue, *last_in_queue;
uint64 queued_size;
+ queued_event *qev_free_list;
+ rpl_group_info *rgi_free_list;
+ group_commit_orderer *gco_free_list;
void enqueue(queued_event *qev)
{
@@ -42,15 +95,25 @@ struct rpl_parallel_thread {
queued_size+= qev->event_size;
}
- void dequeue(queued_event *list)
+ void dequeue1(queued_event *list)
{
- queued_event *tmp;
-
DBUG_ASSERT(list == event_queue);
event_queue= last_in_queue= NULL;
- for (tmp= list; tmp; tmp= tmp->next)
- queued_size-= tmp->event_size;
}
+
+ void dequeue2(size_t dequeue_size)
+ {
+ queued_size-= dequeue_size;
+ }
+
+ queued_event *get_qev(Log_event *ev, ulonglong event_size,
+ Relay_log_info *rli);
+ void free_qev(queued_event *qev);
+ rpl_group_info *get_rgi(Relay_log_info *rli, Gtid_log_event *gtid_ev,
+ rpl_parallel_entry *e);
+ void free_rgi(rpl_group_info *rgi);
+ group_commit_orderer *get_gco(uint64 wait_count, group_commit_orderer *prev);
+ void free_gco(group_commit_orderer *gco);
};
@@ -66,14 +129,16 @@ struct rpl_parallel_thread_pool {
rpl_parallel_thread_pool();
int init(uint32 size);
void destroy();
- struct rpl_parallel_thread *get_thread(rpl_parallel_entry *entry);
+ struct rpl_parallel_thread *get_thread(rpl_parallel_thread **owner,
+ rpl_parallel_entry *entry);
+ void release_thread(rpl_parallel_thread *rpt);
};
struct rpl_parallel_entry {
+ mysql_mutex_t LOCK_parallel_entry;
+ mysql_cond_t COND_parallel_entry;
uint32 domain_id;
- uint32 last_server_id;
- uint64 last_seq_no;
uint64 last_commit_id;
bool active;
/*
@@ -82,15 +147,41 @@ struct rpl_parallel_entry {
waiting for event groups to complete.
*/
bool force_abort;
+ /*
+ At STOP SLAVE (force_abort=true), we do not want to process all events in
+ the queue (which could unnecessarily delay stop, if a lot of events happen
+ to be queued). The stop_count provides a safe point at which to stop, so
+ that everything before becomes committed and nothing after does. The value
+ corresponds to group_commit_orderer::wait_count; if wait_count is less than
+ or equal to stop_count, we execute the associated event group, else we
+ skip it (and all following) and stop.
+ */
+ uint64 stop_count;
- rpl_parallel_thread *rpl_thread;
+ /*
+ Cyclic array recording the last rpl_thread_max worker threads that we
+ queued event for. This is used to limit how many workers a single domain
+ can occupy (--slave-domain-parallel-threads).
+
+ Note that workers are never explicitly deleted from the array. Instead,
+ we need to check (under LOCK_rpl_thread) that the thread still belongs
+ to us before re-using (rpl_thread::current_owner).
+ */
+ rpl_parallel_thread **rpl_threads;
+ uint32 rpl_thread_max;
+ uint32 rpl_thread_idx;
/*
The sub_id of the last transaction to commit within this domain_id.
Must be accessed under LOCK_parallel_entry protection.
+
+ Event groups commit in order, so the rpl_group_info for an event group
+ will be alive (at least) as long as
+ rpl_grou_info::gtid_sub_id > last_committed_sub_id. This can be used to
+ safely refer back to previous event groups if they are still executing,
+ and ignore them if they completed, without requiring explicit
+ synchronisation between the threads.
*/
uint64 last_committed_sub_id;
- mysql_mutex_t LOCK_parallel_entry;
- mysql_cond_t COND_parallel_entry;
/*
The sub_id of the last event group in this replication domain that was
queued for execution by a worker thread.
@@ -98,14 +189,29 @@ struct rpl_parallel_entry {
uint64 current_sub_id;
rpl_group_info *current_group_info;
/*
- The sub_id of the last event group in the previous batch of group-committed
- transactions.
-
- When we spawn parallel worker threads for the next group-committed batch,
- they first need to wait for this sub_id to be committed before it is safe
- to start executing them.
+ If we get an error in some event group, we set the sub_id of that event
+ group here. Then later event groups (with higher sub_id) can know not to
+ try to start (event groups that already started will be rolled back when
+ wait_for_prior_commit() returns error).
+ The value is ULONGLONG_MAX when no error occured.
+ */
+ uint64 stop_on_error_sub_id;
+ /* Total count of event groups queued so far. */
+ uint64 count_queued_event_groups;
+ /*
+ Count of event groups that have started (but not necessarily completed)
+ the commit phase. We use this to know when every event group in a previous
+ batch of master group commits have started committing on the slave, so
+ that it is safe to start executing the events in the following batch.
*/
- uint64 prev_groupcommit_sub_id;
+ uint64 count_committing_event_groups;
+ /* The group_commit_orderer object for the events currently being queued. */
+ group_commit_orderer *current_gco;
+
+ rpl_parallel_thread * choose_thread(Relay_log_info *rli, bool *did_enter_cond,
+ PSI_stage_info *old_stage, bool reuse);
+ group_commit_orderer *get_gco();
+ void free_gco(group_commit_orderer *gco);
};
struct rpl_parallel {
HASH domain_hash;
@@ -116,9 +222,10 @@ struct rpl_parallel {
~rpl_parallel();
void reset();
rpl_parallel_entry *find(uint32 domain_id);
- void wait_for_done();
- bool do_event(rpl_group_info *serial_rgi, Log_event *ev,
- ulonglong event_size);
+ void wait_for_done(THD *thd, Relay_log_info *rli);
+ void stop_during_until();
+ bool workers_idle();
+ int do_event(rpl_group_info *serial_rgi, Log_event *ev, ulonglong event_size);
};
diff --git a/sql/rpl_record.cc b/sql/rpl_record.cc
index c8c132f9a3b..a6d93d10f11 100644
--- a/sql/rpl_record.cc
+++ b/sql/rpl_record.cc
@@ -1,6 +1,5 @@
-/*
- Copyright (c) 2007, 2010, Oracle and/or its affiliates.
- Copyright (c) 2008-2011 Monty Program Ab
+/* Copyright (c) 2007, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -171,11 +170,15 @@ pack_row(TABLE *table, MY_BITMAP const* cols,
@param row_data
Packed row data
@param cols Pointer to bitset describing columns to fill in
- @param row_end Pointer to variable that will hold the value of the
- one-after-end position for the row
+ @param curr_row_end
+ Pointer to variable that will hold the value of the
+ one-after-end position for the current row
@param master_reclength
Pointer to variable that will be set to the length of the
record on the master side
+ @param row_end
+ Pointer to variable that will hold the value of the
+ end position for the data in the row event
@retval 0 No error
@@ -188,9 +191,9 @@ pack_row(TABLE *table, MY_BITMAP const* cols,
int
unpack_row(rpl_group_info *rgi,
TABLE *table, uint const colcnt,
- uchar const *const row_data, uchar const *const row_buffer_end,
- MY_BITMAP const *cols,
- uchar const **const row_end, ulong *const master_reclength)
+ uchar const *const row_data, MY_BITMAP const *cols,
+ uchar const **const current_row_end, ulong *const master_reclength,
+ uchar const *const row_end)
{
DBUG_ENTER("unpack_row");
DBUG_ASSERT(row_data);
@@ -305,7 +308,7 @@ unpack_row(rpl_group_info *rgi,
#ifndef DBUG_OFF
uchar const *const old_pack_ptr= pack_ptr;
#endif
- pack_ptr= f->unpack(f->ptr, pack_ptr, row_buffer_end, metadata);
+ pack_ptr= f->unpack(f->ptr, pack_ptr, row_end, metadata);
DBUG_PRINT("debug", ("field: %s; metadata: 0x%x;"
" pack_ptr: 0x%lx; pack_ptr': 0x%lx; bytes: %d",
f->field_name, metadata,
@@ -392,7 +395,7 @@ unpack_row(rpl_group_info *rgi,
DBUG_DUMP("row_data", row_data, pack_ptr - row_data);
- *row_end = pack_ptr;
+ *current_row_end = pack_ptr;
if (master_reclength)
{
if (*field_ptr)
diff --git a/sql/rpl_record.h b/sql/rpl_record.h
index 7d17d4f7200..c10eb8225b0 100644
--- a/sql/rpl_record.h
+++ b/sql/rpl_record.h
@@ -1,6 +1,5 @@
-/*
- Copyright (c) 2007, 2010, Oracle and/or its affiliates.
- Copyright (c) 2008-2011 Monty Program Ab
+/* Copyright (c) 2007, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2008, 2013, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -33,9 +32,9 @@ size_t pack_row(TABLE* table, MY_BITMAP const* cols,
#if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION)
int unpack_row(rpl_group_info *rgi,
TABLE *table, uint const colcnt,
- uchar const *const row_data, uchar const *row_buffer_end,
- MY_BITMAP const *cols,
- uchar const **const row_end, ulong *const master_reclength);
+ uchar const *const row_data, MY_BITMAP const *cols,
+ uchar const **const curr_row_end, ulong *const master_reclength,
+ uchar const *const row_end);
// Fill table's record[0] with default values.
int prepare_record(TABLE *const table, const uint skip, const bool check);
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index ac93f9640e8..0d0c8c9df70 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -37,6 +37,8 @@ static int count_relay_log_space(Relay_log_info* rli);
domain).
*/
rpl_slave_state rpl_global_gtid_slave_state;
+/* Object used for MASTER_GTID_WAIT(). */
+gtid_waiting rpl_global_gtid_waiting;
// Defined in slave.cc
@@ -56,9 +58,10 @@ Relay_log_info::Relay_log_info(bool is_slave_recovery)
is_fake(FALSE),
#endif
group_master_log_pos(0), log_space_total(0), ignore_log_space_limit(0),
- last_master_timestamp(0), slave_skip_counter(0),
+ last_master_timestamp(0), sql_thread_caught_up(true), slave_skip_counter(0),
abort_pos_wait(0), slave_run_id(0), sql_driver_thd(),
- inited(0), abort_slave(0), slave_running(0), until_condition(UNTIL_NONE),
+ inited(0), abort_slave(0), stop_for_until(0),
+ slave_running(0), until_condition(UNTIL_NONE),
until_log_pos(0), retried_trans(0), executed_entries(0),
m_flags(0)
{
@@ -1287,9 +1290,14 @@ void Relay_log_info::stmt_done(my_off_t event_master_log_pos,
(probably ok - except in some very rare cases, only consequence
is that value may take some time to display in
Seconds_Behind_Master - not critical).
+
+ In parallel replication, we take care to not set last_master_timestamp
+ backwards, in case of out-of-order calls here.
*/
if (!(event_creation_time == 0 &&
- IF_DBUG(debug_not_change_ts_if_art_event > 0, 1)))
+ IF_DBUG(debug_not_change_ts_if_art_event > 0, 1)) &&
+ !(rgi->is_parallel_exec && event_creation_time <= last_master_timestamp)
+ )
last_master_timestamp= event_creation_time;
}
DBUG_VOID_RETURN;
@@ -1312,9 +1320,9 @@ rpl_load_gtid_slave_state(THD *thd)
uint32 i;
DBUG_ENTER("rpl_load_gtid_slave_state");
- rpl_global_gtid_slave_state.lock();
+ mysql_mutex_lock(&rpl_global_gtid_slave_state.LOCK_slave_state);
bool loaded= rpl_global_gtid_slave_state.loaded;
- rpl_global_gtid_slave_state.unlock();
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
if (loaded)
DBUG_RETURN(0);
@@ -1414,10 +1422,10 @@ rpl_load_gtid_slave_state(THD *thd)
}
}
- rpl_global_gtid_slave_state.lock();
+ mysql_mutex_lock(&rpl_global_gtid_slave_state.LOCK_slave_state);
if (rpl_global_gtid_slave_state.loaded)
{
- rpl_global_gtid_slave_state.unlock();
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
goto end;
}
@@ -1427,9 +1435,10 @@ rpl_load_gtid_slave_state(THD *thd)
if ((err= rpl_global_gtid_slave_state.update(tmp_entry.gtid.domain_id,
tmp_entry.gtid.server_id,
tmp_entry.sub_id,
- tmp_entry.gtid.seq_no)))
+ tmp_entry.gtid.seq_no,
+ NULL)))
{
- rpl_global_gtid_slave_state.unlock();
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
my_error(ER_OUT_OF_RESOURCES, MYF(0));
goto end;
}
@@ -1442,14 +1451,14 @@ rpl_load_gtid_slave_state(THD *thd)
mysql_bin_log.bump_seq_no_counter_if_needed(entry->gtid.domain_id,
entry->gtid.seq_no))
{
- rpl_global_gtid_slave_state.unlock();
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
my_error(ER_OUT_OF_RESOURCES, MYF(0));
goto end;
}
}
rpl_global_gtid_slave_state.loaded= true;
- rpl_global_gtid_slave_state.unlock();
+ mysql_mutex_unlock(&rpl_global_gtid_slave_state.LOCK_slave_state);
err= 0; /* Clear HA_ERR_END_OF_FILE */
@@ -1472,14 +1481,28 @@ end:
}
-rpl_group_info::rpl_group_info(Relay_log_info *rli_)
- : rli(rli_), thd(0), gtid_sub_id(0), wait_commit_sub_id(0),
- wait_commit_group_info(0), wait_start_sub_id(0), parallel_entry(0),
- deferred_events(NULL), m_annotate_event(0), tables_to_lock(0),
- tables_to_lock_count(0), trans_retries(0), last_event_start_time(0),
- is_parallel_exec(false), is_error(false),
- row_stmt_start_timestamp(0), long_find_row_note_printed(false)
+void
+rpl_group_info::reinit(Relay_log_info *rli)
{
+ this->rli= rli;
+ tables_to_lock= NULL;
+ tables_to_lock_count= 0;
+ trans_retries= 0;
+ last_event_start_time= 0;
+ worker_error= 0;
+ row_stmt_start_timestamp= 0;
+ long_find_row_note_printed= false;
+ did_mark_start_commit= false;
+ gtid_ignore_duplicate_state= GTID_DUPLICATE_NULL;
+ commit_orderer.reinit();
+}
+
+rpl_group_info::rpl_group_info(Relay_log_info *rli)
+ : thd(0), gtid_sub_id(0), wait_commit_sub_id(0),
+ wait_commit_group_info(0), parallel_entry(0),
+ deferred_events(NULL), m_annotate_event(0), is_parallel_exec(false)
+{
+ reinit(rli);
bzero(&current_gtid, sizeof(current_gtid));
mysql_mutex_init(key_rpl_group_info_sleep_lock, &sleep_lock,
MY_MUTEX_INIT_FAST);
@@ -1583,6 +1606,7 @@ void rpl_group_info::cleanup_context(THD *thd, bool error)
if (error)
{
trans_rollback_stmt(thd); // if a "statement transaction"
+ /* trans_rollback() also resets OPTION_GTID_BEGIN */
trans_rollback(thd); // if a "real transaction"
}
m_table_map.clear_tables();
@@ -1609,6 +1633,13 @@ void rpl_group_info::cleanup_context(THD *thd, bool error)
thd->variables.option_bits&= ~OPTION_RELAXED_UNIQUE_CHECKS;
/*
+ Ensure we always release the domain for others to process, when using
+ --gtid-ignore-duplicates.
+ */
+ if (gtid_ignore_duplicate_state != GTID_DUPLICATE_NULL)
+ rpl_global_gtid_slave_state.release_domain_owner(this);
+
+ /*
Reset state related to long_find_row notes in the error log:
- timestamp
- flag that decides whether the slave prints or not
@@ -1702,4 +1733,40 @@ void rpl_group_info::slave_close_thread_tables(THD *thd)
}
+
+static void
+mark_start_commit_inner(rpl_parallel_entry *e, group_commit_orderer *gco)
+{
+ uint64 count= ++e->count_committing_event_groups;
+ if (gco->next_gco && gco->next_gco->wait_count == count)
+ mysql_cond_broadcast(&gco->next_gco->COND_group_commit_orderer);
+}
+
+
+void
+rpl_group_info::mark_start_commit_no_lock()
+{
+ if (did_mark_start_commit)
+ return;
+ mark_start_commit_inner(parallel_entry, gco);
+ did_mark_start_commit= true;
+}
+
+
+void
+rpl_group_info::mark_start_commit()
+{
+ rpl_parallel_entry *e;
+
+ if (did_mark_start_commit)
+ return;
+
+ e= this->parallel_entry;
+ mysql_mutex_lock(&e->LOCK_parallel_entry);
+ mark_start_commit_inner(e, gco);
+ mysql_mutex_unlock(&e->LOCK_parallel_entry);
+ did_mark_start_commit= true;
+}
+
+
#endif
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h
index ff2ffd0b366..48193afce4d 100644
--- a/sql/rpl_rli.h
+++ b/sql/rpl_rli.h
@@ -221,6 +221,12 @@ public:
bool sql_force_rotate_relay;
time_t last_master_timestamp;
+ /*
+ The SQL driver thread sets this true while it is waiting at the end of the
+ relay log for more events to arrive. SHOW SLAVE STATUS uses this to report
+ Seconds_Behind_Master as zero while the SQL thread is so waiting.
+ */
+ bool sql_thread_caught_up;
void clear_until_condition();
@@ -256,6 +262,7 @@ public:
*/
volatile bool inited;
volatile bool abort_slave;
+ volatile bool stop_for_until;
volatile uint slave_running;
/*
@@ -475,6 +482,7 @@ private:
struct rpl_group_info
{
+ rpl_group_info *next; /* For free list in rpl_parallel_thread */
Relay_log_info *rli;
THD *thd;
/*
@@ -504,14 +512,15 @@ struct rpl_group_info
uint64 wait_commit_sub_id;
rpl_group_info *wait_commit_group_info;
/*
- If non-zero, the event group must wait for this sub_id to be committed
- before the execution of the event group is allowed to start.
+ This holds a pointer to a struct that keeps track of the need to wait
+ for the previous batch of event groups to reach the commit stage, before
+ this batch can start to execute.
(When we execute in parallel the transactions that group committed
together on the master, we still need to wait for any prior transactions
- to have commtted).
+ to have reached the commit stage).
*/
- uint64 wait_start_sub_id;
+ group_commit_orderer *gco;
struct rpl_parallel_entry *parallel_entry;
@@ -560,19 +569,37 @@ struct rpl_group_info
*/
char future_event_master_log_name[FN_REFLEN];
bool is_parallel_exec;
- bool is_error;
+ int worker_error;
+ /*
+ Set true when we signalled that we reach the commit phase. Used to avoid
+ counting one event group twice.
+ */
+ bool did_mark_start_commit;
+ enum {
+ GTID_DUPLICATE_NULL=0,
+ GTID_DUPLICATE_IGNORE=1,
+ GTID_DUPLICATE_OWNER=2
+ };
+ /*
+ When --gtid-ignore-duplicates, this is set to one of the above three
+ values:
+ GTID_DUPLICATE_NULL - Not using --gtid-ignore-duplicates.
+ GTID_DUPLICATE_IGNORE - This gtid already applied, skip the event group.
+ GTID_DUPLICATE_OWNER - We are the current owner of the domain, and must
+ apply the event group and then release the domain.
+ */
+ uint8 gtid_ignore_duplicate_state;
-private:
/*
Runtime state for printing a note when slave is taking
too long while processing a row event.
*/
time_t row_stmt_start_timestamp;
bool long_find_row_note_printed;
-public:
rpl_group_info(Relay_log_info *rli_);
~rpl_group_info();
+ void reinit(Relay_log_info *rli);
/*
Returns true if the argument event resides in the containter;
@@ -655,6 +682,8 @@ public:
void clear_tables_to_lock();
void cleanup_context(THD *, bool);
void slave_close_thread_tables(THD *);
+ void mark_start_commit_no_lock();
+ void mark_start_commit();
time_t get_row_stmt_start_timestamp()
{
@@ -702,6 +731,7 @@ int init_relay_log_info(Relay_log_info* rli, const char* info_fname);
extern struct rpl_slave_state rpl_global_gtid_slave_state;
+extern gtid_waiting rpl_global_gtid_waiting;
int rpl_load_gtid_slave_state(THD *thd);
int event_group_new_gtid(rpl_group_info *rgi, Gtid_log_event *gev);
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc
index e8bc042e565..fcb6a849fb1 100644
--- a/sql/rpl_utility.cc
+++ b/sql/rpl_utility.cc
@@ -208,7 +208,7 @@ int compare_lengths(Field *field, enum_field_types source_type, uint16 metadata)
DBUG_PRINT("result", ("%d", result));
DBUG_RETURN(result);
}
-
+#endif //MYSQL_CLIENT
/*********************************************************************
* table_def member definitions *
*********************************************************************/
@@ -219,7 +219,7 @@ int compare_lengths(Field *field, enum_field_types source_type, uint16 metadata)
*/
uint32 table_def::calc_field_size(uint col, uchar *master_data) const
{
- uint32 length;
+ uint32 length= 0;
switch (type(col)) {
case MYSQL_TYPE_NEWDECIMAL:
@@ -316,7 +316,6 @@ uint32 table_def::calc_field_size(uint col, uchar *master_data) const
case MYSQL_TYPE_VARCHAR:
{
length= m_field_metadata[col] > 255 ? 2 : 1; // c&p of Field_varstring::data_length()
- DBUG_ASSERT(uint2korr(master_data) > 0);
length+= length == 1 ? (uint32) *master_data : uint2korr(master_data);
break;
}
@@ -326,17 +325,6 @@ uint32 table_def::calc_field_size(uint col, uchar *master_data) const
case MYSQL_TYPE_BLOB:
case MYSQL_TYPE_GEOMETRY:
{
-#if 1
- /*
- BUG#29549:
- This is currently broken for NDB, which is using big-endian
- order when packing length of BLOB. Once they have decided how to
- fix the issue, we can enable the code below to make sure to
- always read the length in little-endian order.
- */
- Field_blob fb(m_field_metadata[col]);
- length= fb.get_packed_size(master_data);
-#else
/*
Compute the length of the data. We cannot use get_length() here
since it is dependent on the specific table (and also checks the
@@ -362,7 +350,6 @@ uint32 table_def::calc_field_size(uint col, uchar *master_data) const
}
length+= m_field_metadata[col];
-#endif
break;
}
default:
@@ -371,7 +358,7 @@ uint32 table_def::calc_field_size(uint col, uchar *master_data) const
return length;
}
-
+#if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION)
/**
*/
void show_sql_type(enum_field_types type, uint16 metadata, String *str, CHARSET_INFO *field_cs)
diff --git a/sql/rpl_utility.h b/sql/rpl_utility.h
index 1a00a58d453..7568a2d786c 100644
--- a/sql/rpl_utility.h
+++ b/sql/rpl_utility.h
@@ -238,6 +238,7 @@ struct RPL_TABLE_LIST
bool m_tabledef_valid;
table_def m_tabledef;
TABLE *m_conv_table;
+ bool master_had_triggers;
};
diff --git a/sql/scheduler.cc b/sql/scheduler.cc
index 71789b0303b..ecf49e633ab 100644
--- a/sql/scheduler.cc
+++ b/sql/scheduler.cc
@@ -142,7 +142,6 @@ void one_thread_scheduler(scheduler_functions *func)
{
scheduler_init();
func->max_threads= 1;
- //max_connections= 1;
func->max_connections= &max_connections;
func->connection_count= &connection_count;
#ifndef EMBEDDED_LIBRARY
diff --git a/sql/scheduler.h b/sql/scheduler.h
index 4e200e86d74..06c17c7b114 100644
--- a/sql/scheduler.h
+++ b/sql/scheduler.h
@@ -99,7 +99,8 @@ public:
void *data; /* scheduler-specific data structure */
};
-#if !defined(EMBEDDED_LIBRARY)
+#undef HAVE_POOL_OF_THREADS
+#if !defined(EMBEDDED_LIBRARY) && !defined(_AIX)
#define HAVE_POOL_OF_THREADS 1
void pool_of_threads_scheduler(scheduler_functions* func,
ulong *arg_max_connections,
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 617ce2298b1..ea577bbfa74 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -1,5 +1,5 @@
/* Copyright (c) 2002, 2013, Oracle and/or its affiliates.
- Copyright (c) 2008, 2013, Monty Program Ab
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -668,7 +668,7 @@ int sql_set_variables(THD *thd, List<set_var_base> *var_list)
if ((error= var->check(thd)))
goto err;
}
- if (!(error= test(thd->is_error())))
+ if (!(error= MY_TEST(thd->is_error())))
{
it.rewind();
while ((var= it++))
diff --git a/sql/set_var.h b/sql/set_var.h
index a6c3b9daccd..28562b72dac 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -1,6 +1,7 @@
#ifndef SET_VAR_INCLUDED
#define SET_VAR_INCLUDED
/* Copyright (c) 2002, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -60,7 +61,7 @@ public:
sys_var *next;
LEX_CSTRING name;
enum flag_enum { GLOBAL, SESSION, ONLY_SESSION, SCOPE_MASK=1023,
- READONLY=1024, ALLOCATED=2048, PARSE_EARLY=4096 };
+ READONLY=1024, ALLOCATED=2048, PARSE_EARLY=4096, SHOW_VALUE_IN_HELP=8192 };
/**
Enumeration type to indicate for a system variable whether
it will be written to the binlog or not.
@@ -142,8 +143,9 @@ public:
}
bool register_option(DYNAMIC_ARRAY *array, int parse_flags)
{
- return (option.id != -1) && ((flags & PARSE_EARLY) == parse_flags) &&
- insert_dynamic(array, (uchar*)&option);
+ return ((((option.id != -1) && ((flags & PARSE_EARLY) == parse_flags)) ||
+ (flags & parse_flags)) &&
+ insert_dynamic(array, (uchar*)&option));
}
void do_deprecated_warning(THD *thd);
diff --git a/sql/share/charsets/Index.xml b/sql/share/charsets/Index.xml
index e82ffc85ea6..3e402226a34 100644
--- a/sql/share/charsets/Index.xml
+++ b/sql/share/charsets/Index.xml
@@ -3,7 +3,7 @@
<charsets max-id="99">
<copyright>
- Copyright (c) 2003, 2012, Oracle and/or its affiliates.
+ Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/armscii8.xml b/sql/share/charsets/armscii8.xml
index 52382c83af0..c1eb93b1f91 100644
--- a/sql/share/charsets/armscii8.xml
+++ b/sql/share/charsets/armscii8.xml
@@ -3,7 +3,8 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/ascii.xml b/sql/share/charsets/ascii.xml
index bec34ad525e..29336b3a665 100644
--- a/sql/share/charsets/ascii.xml
+++ b/sql/share/charsets/ascii.xml
@@ -3,7 +3,7 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/cp1250.xml b/sql/share/charsets/cp1250.xml
index 58e55de9bdc..1b4a71ef6d5 100644
--- a/sql/share/charsets/cp1250.xml
+++ b/sql/share/charsets/cp1250.xml
@@ -3,7 +3,7 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/cp852.xml b/sql/share/charsets/cp852.xml
index 7608296d5b7..e0c574d2ea1 100644
--- a/sql/share/charsets/cp852.xml
+++ b/sql/share/charsets/cp852.xml
@@ -3,7 +3,8 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/hebrew.xml b/sql/share/charsets/hebrew.xml
index e7f896a3e12..0544b27ef4f 100644
--- a/sql/share/charsets/hebrew.xml
+++ b/sql/share/charsets/hebrew.xml
@@ -3,7 +3,7 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/latin1.xml b/sql/share/charsets/latin1.xml
index 8963c3481d3..4054eea8d33 100644
--- a/sql/share/charsets/latin1.xml
+++ b/sql/share/charsets/latin1.xml
@@ -3,7 +3,7 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/latin2.xml b/sql/share/charsets/latin2.xml
index 183da7b6cd3..a44ec7e0ec6 100644
--- a/sql/share/charsets/latin2.xml
+++ b/sql/share/charsets/latin2.xml
@@ -3,7 +3,7 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/charsets/latin5.xml b/sql/share/charsets/latin5.xml
index 489299564f1..6b60e58cdda 100644
--- a/sql/share/charsets/latin5.xml
+++ b/sql/share/charsets/latin5.xml
@@ -3,7 +3,7 @@
<charsets>
<copyright>
- Copyright (C) 2003 MySQL AB
+ Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt
index 25017cef42c..dc50c68bcdd 100644
--- a/sql/share/errmsg-utf8.txt
+++ b/sql/share/errmsg-utf8.txt
@@ -2118,13 +2118,9 @@ ER_INSERT_INFO
spa "Registros: %ld Duplicados: %ld Peligros: %ld"
swe "Rader: %ld Dubletter: %ld Varningar: %ld"
ukr "ЗапиÑів: %ld Дублікатів: %ld ЗаÑтережень: %ld"
-ER_UPDATE_TABLE_USED
- eng "You can't specify target table '%-.192s' for update in FROM clause"
- ger "Die Verwendung der zu aktualisierenden Zieltabelle '%-.192s' ist in der FROM-Klausel nicht zulässig."
- jpn "FROMå¥ã«ã‚る表 '%-.192s' ã¯UPDATEã®å¯¾è±¡ã«ã§ãã¾ã›ã‚“。"
- rus "Ðе допуÑкаетÑÑ ÑƒÐºÐ°Ð·Ð°Ð½Ð¸Ðµ таблицы '%-.192s' в ÑпиÑке таблиц FROM Ð´Ð»Ñ Ð²Ð½ÐµÑÐµÐ½Ð¸Ñ Ð² нее изменений"
- swe "INSERT-table '%-.192s' får inte finnas i FROM tabell-listan"
- ukr "Ð¢Ð°Ð±Ð»Ð¸Ñ†Ñ '%-.192s' що змінюєтьÑÑ Ð½Ðµ дозволена у переліку таблиць FROM"
+ER_UPDATE_TABLE_USED
+ eng "Table '%-.192s' is specified twice, both as a target for '%s' and as a separate source for data"
+ swe "Table '%-.192s' är använd två gånger. Både för '%s' och för att hämta data"
ER_NO_SUCH_THREAD
cze "Neznámá identifikace threadu: %lu"
dan "Ukendt tråd id: %lu"
@@ -7034,7 +7030,7 @@ ER_UNTIL_REQUIRES_USING_GTID
ER_GTID_STRICT_OUT_OF_ORDER
eng "An attempt was made to binlog GTID %u-%u-%llu which would create an out-of-order sequence number with existing GTID %u-%u-%llu, and gtid strict mode is enabled."
ER_GTID_START_FROM_BINLOG_HOLE
- eng "The binlog on the master is missing the GTID %u-%u-%llu requested by the slave (even though both a prior and a subsequent sequence number does exist), and GTID strict mode is enabled"
+ eng "The binlog on the master is missing the GTID %u-%u-%llu requested by the slave (even though a subsequent sequence number does exist), and GTID strict mode is enabled"
ER_SLAVE_UNEXPECTED_MASTER_SWITCH
eng "Unexpected GTID received from master after reconnect. This normally indicates that the master server was replaced without restarting the slave threads. %s"
ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_GTID_DOMAIN_ID_SEQ_NO
@@ -7067,3 +7063,7 @@ ER_CHANGE_SLAVE_PARALLEL_THREADS_ACTIVE
eng "Cannot change @@slave_parallel_threads while another change is in progress"
ER_PRIOR_COMMIT_FAILED
eng "Commit failed due to failure of an earlier commit on which this one depends"
+ER_IT_IS_A_VIEW 42S02
+ eng "'%-.192s' is a view"
+ER_SLAVE_SKIP_NOT_IN_GTID
+ eng "When using GTID, @@sql_slave_skip_counter can not be used. Instead, setting @@gtid_slave_pos explicitly can be used to skip to after a given GTID position."
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc
index c50072f5159..3fadbcd088f 100644
--- a/sql/signal_handler.cc
+++ b/sql/signal_handler.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2011, Oracle and/or its affiliates.
- Copyright (c) 2011, Monty Program Ab.
+/* Copyright (c) 2011, 2012, Oracle and/or its affiliates.
+ Copyright (c) 2011, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/slave.cc b/sql/slave.cc
index 6854d2bd6de..43c97d0af9c 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
- Copyright (c) 2008, 2011, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -318,7 +318,7 @@ handle_slave_init(void *arg __attribute__((unused)))
mysql_mutex_lock(&LOCK_thread_count);
slave_init_thread_running= false;
- mysql_cond_signal(&COND_thread_count);
+ mysql_cond_broadcast(&COND_thread_count);
mysql_mutex_unlock(&LOCK_thread_count);
return 0;
@@ -331,7 +331,7 @@ run_slave_init_thread()
pthread_t th;
slave_init_thread_running= true;
- if (mysql_thread_create(key_thread_slave_init, &th, NULL,
+ if (mysql_thread_create(key_thread_slave_init, &th, &connection_attrib,
handle_slave_init, NULL))
{
sql_print_error("Failed to create thread while initialising slave");
@@ -573,7 +573,7 @@ void init_slave_skip_errors(const char* arg)
const char *p;
DBUG_ENTER("init_slave_skip_errors");
- if (bitmap_init(&slave_error_mask,0,MAX_SLAVE_ERROR,0))
+ if (my_bitmap_init(&slave_error_mask,0,MAX_SLAVE_ERROR,0))
{
fprintf(stderr, "Badly out of memory, please check your system status\n");
exit(1);
@@ -615,7 +615,14 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
if (thread_mask & (SLAVE_SQL|SLAVE_FORCE_ALL))
{
DBUG_PRINT("info",("Terminating SQL thread"));
- mi->rli.abort_slave=1;
+ if (opt_slave_parallel_threads > 0 &&
+ mi->rli.abort_slave && mi->rli.stop_for_until)
+ {
+ mi->rli.stop_for_until= false;
+ mi->rli.parallel.stop_during_until();
+ }
+ else
+ mi->rli.abort_slave=1;
if ((error=terminate_slave_thread(mi->rli.sql_driver_thd, sql_lock,
&mi->rli.stop_cond,
&mi->rli.slave_running,
@@ -1047,9 +1054,10 @@ static bool sql_slave_killed(rpl_group_info *rgi)
"documentation for details).";
DBUG_PRINT("info", ("modified_non_trans_table: %d OPTION_BEGIN: %d "
- "is_in_group: %d",
+ "OPTION_KEEP_LOG: %d is_in_group: %d",
thd->transaction.all.modified_non_trans_table,
- test(thd->variables.option_bits & OPTION_BEGIN),
+ MY_TEST(thd->variables.option_bits & OPTION_BEGIN),
+ MY_TEST(thd->variables.option_bits & OPTION_KEEP_LOG),
rli->is_in_group()));
if (rli->abort_slave)
@@ -1335,6 +1343,7 @@ bool is_network_error(uint errorno)
errorno == ER_CON_COUNT_ERROR ||
errorno == ER_CONNECTION_KILLED ||
errorno == ER_NEW_ABORTING_CONNECTION ||
+ errorno == ER_NET_READ_INTERRUPTED ||
errorno == ER_SERVER_SHUTDOWN)
return TRUE;
@@ -2038,6 +2047,39 @@ after_set_capability:
}
}
+ query_str.length(0);
+ if (query_str.append(STRING_WITH_LEN("SET @slave_gtid_ignore_duplicates="),
+ system_charset_info) ||
+ query_str.append_ulonglong(opt_gtid_ignore_duplicates != false))
+ {
+ err_code= ER_OUTOFMEMORY;
+ errmsg= "The slave I/O thread stops because a fatal out-of-memory error "
+ "is encountered when it tries to set @slave_gtid_ignore_duplicates.";
+ sprintf(err_buff, "%s Error: Out of memory", errmsg);
+ goto err;
+ }
+
+ rc= mysql_real_query(mysql, query_str.ptr(), query_str.length());
+ if (rc)
+ {
+ err_code= mysql_errno(mysql);
+ if (is_network_error(err_code))
+ {
+ mi->report(ERROR_LEVEL, err_code,
+ "Setting @slave_gtid_ignore_duplicates failed with "
+ "error: %s", mysql_error(mysql));
+ goto network_err;
+ }
+ else
+ {
+ /* Fatal error */
+ errmsg= "The slave I/O thread stops because a fatal error is "
+ "encountered when it tries to set @slave_gtid_ignore_duplicates.";
+ sprintf(err_buff, "%s Error: %s", errmsg, mysql_error(mysql));
+ goto err;
+ }
+ }
+
if (mi->rli.until_condition == Relay_log_info::UNTIL_GTID)
{
query_str.length(0);
@@ -2627,8 +2669,24 @@ static bool send_show_master_info_data(THD *thd, Master_info *mi, bool full,
if ((mi->slave_running == MYSQL_SLAVE_RUN_CONNECT) &&
mi->rli.slave_running)
{
- long time_diff= ((long)(time(0) - mi->rli.last_master_timestamp)
- - mi->clock_diff_with_master);
+ long time_diff;
+ bool idle;
+ time_t stamp= mi->rli.last_master_timestamp;
+
+ if (!stamp)
+ idle= true;
+ else
+ {
+ idle= mi->rli.sql_thread_caught_up;
+ if (opt_slave_parallel_threads > 0 && idle &&
+ !mi->rli.parallel.workers_idle())
+ idle= false;
+ }
+ if (idle)
+ time_diff= 0;
+ else
+ {
+ time_diff= ((long)(time(0) - stamp) - mi->clock_diff_with_master);
/*
Apparently on some systems time_diff can be <0. Here are possible
reasons related to MySQL:
@@ -2644,13 +2702,15 @@ static bool send_show_master_info_data(THD *thd, Master_info *mi, bool full,
slave is 2. At SHOW SLAVE STATUS time, assume that the difference
between timestamp of slave and rli->last_master_timestamp is 0
(i.e. they are in the same second), then we get 0-(2-1)=-1 as a result.
- This confuses users, so we don't go below 0: hence the MY_MAX().
+ This confuses users, so we don't go below 0.
last_master_timestamp == 0 (an "impossible" timestamp 1970) is a
special marker to say "consider we have caught up".
*/
- protocol->store((longlong)(mi->rli.last_master_timestamp ?
- MY_MAX(0, time_diff) : 0));
+ if (time_diff < 0)
+ time_diff= 0;
+ }
+ protocol->store((longlong)time_diff);
}
else
{
@@ -3128,9 +3188,10 @@ int apply_event_and_update_pos(Log_event* ev, THD* thd,
DBUG_PRINT("exec_event",("%s(type_code: %d; server_id: %d)",
ev->get_type_str(), ev->get_type_code(),
ev->server_id));
- DBUG_PRINT("info", ("thd->options: %s%s; rgi->last_event_start_time: %lu",
+ DBUG_PRINT("info", ("thd->options: '%s%s%s' rgi->last_event_start_time: %lu",
FLAGSTR(thd->variables.option_bits, OPTION_NOT_AUTOCOMMIT),
FLAGSTR(thd->variables.option_bits, OPTION_BEGIN),
+ FLAGSTR(thd->variables.option_bits, OPTION_GTID_BEGIN),
(ulong) rgi->last_event_start_time));
/*
@@ -3203,7 +3264,7 @@ int apply_event_and_update_pos(Log_event* ev, THD* thd,
"skipped because event skip counter was non-zero"
};
DBUG_PRINT("info", ("OPTION_BEGIN: %d IN_STMT: %d IN_TRANSACTION: %d",
- test(thd->variables.option_bits & OPTION_BEGIN),
+ MY_TEST(thd->variables.option_bits & OPTION_BEGIN),
rli->get_flag(Relay_log_info::IN_STMT),
rli->get_flag(Relay_log_info::IN_TRANSACTION)));
DBUG_PRINT("skip_event", ("%s event was %s",
@@ -3407,6 +3468,7 @@ static int exec_relay_log_event(THD* thd, Relay_log_info* rli,
message about error in query execution to be printed.
*/
rli->abort_slave= 1;
+ rli->stop_for_until= true;
mysql_mutex_unlock(&rli->data_lock);
delete ev;
DBUG_RETURN(1);
@@ -3434,26 +3496,58 @@ static int exec_relay_log_event(THD* thd, Relay_log_info* rli,
update_state_of_relay_log(rli, ev);
- /*
- Execute queries in parallel, except if slave_skip_counter is set,
- as it's is easier to skip queries in single threaded mode.
- */
-
- if (opt_slave_parallel_threads > 0 && rli->slave_skip_counter == 0)
- DBUG_RETURN(rli->parallel.do_event(serial_rgi, ev, event_size));
+ if (opt_slave_parallel_threads > 0)
+ {
+ int res= rli->parallel.do_event(serial_rgi, ev, event_size);
+ if (res >= 0)
+ DBUG_RETURN(res);
+ /*
+ Else we proceed to execute the event non-parallel.
+ This is the case for pre-10.0 events without GTID, and for handling
+ slave_skip_counter.
+ */
+ }
- /*
- For GTID, allocate a new sub_id for the given domain_id.
- The sub_id must be allocated in increasing order of binlog order.
- */
- if (typ == GTID_EVENT &&
- event_group_new_gtid(serial_rgi, static_cast<Gtid_log_event *>(ev)))
+ if (typ == GTID_EVENT)
{
- sql_print_error("Error reading relay log event: %s",
- "slave SQL thread aborted because of out-of-memory error");
- mysql_mutex_unlock(&rli->data_lock);
- delete ev;
- DBUG_RETURN(1);
+ Gtid_log_event *gev= static_cast<Gtid_log_event *>(ev);
+
+ /*
+ For GTID, allocate a new sub_id for the given domain_id.
+ The sub_id must be allocated in increasing order of binlog order.
+ */
+ if (event_group_new_gtid(serial_rgi, gev))
+ {
+ sql_print_error("Error reading relay log event: %s", "slave SQL thread "
+ "aborted because of out-of-memory error");
+ mysql_mutex_unlock(&rli->data_lock);
+ delete ev;
+ DBUG_RETURN(1);
+ }
+
+ if (opt_gtid_ignore_duplicates)
+ {
+ serial_rgi->current_gtid.domain_id= gev->domain_id;
+ serial_rgi->current_gtid.server_id= gev->server_id;
+ serial_rgi->current_gtid.seq_no= gev->seq_no;
+ int res= rpl_global_gtid_slave_state.check_duplicate_gtid
+ (&serial_rgi->current_gtid, serial_rgi);
+ if (res < 0)
+ {
+ sql_print_error("Error processing GTID event: %s", "slave SQL "
+ "thread aborted because of out-of-memory error");
+ mysql_mutex_unlock(&rli->data_lock);
+ delete ev;
+ DBUG_RETURN(1);
+ }
+ /*
+ If we need to skip this event group (because the GTID was already
+ applied), then do it using the code for slave_skip_counter, which
+ is able to handle skipping until the end of the event group.
+ */
+ if (!res)
+ rli->slave_skip_counter= 1;
+ }
}
serial_rgi->future_event_relay_log_pos= rli->future_event_relay_log_pos;
@@ -4071,6 +4165,7 @@ err:
if (mi->using_gtid != Master_info::USE_GTID_NO)
flush_master_info(mi, TRUE, TRUE);
THD_STAGE_INFO(thd, stage_waiting_for_slave_mutex_on_exit);
+ thd->add_status_to_global();
mysql_mutex_lock(&mi->run_lock);
err_during_init:
@@ -4351,6 +4446,7 @@ pthread_handler_t handle_slave_sql(void *arg)
Seconds_Behind_Master grows. No big deal.
*/
rli->abort_slave = 0;
+ rli->stop_for_until= false;
mysql_mutex_unlock(&rli->run_lock);
mysql_cond_broadcast(&rli->start_cond);
@@ -4522,7 +4618,7 @@ log '%s' at position %s, relay log '%s' position: %s%s", RPL_LOG_NAME,
}
if (opt_slave_parallel_threads > 0)
- rli->parallel.wait_for_done();
+ rli->parallel.wait_for_done(thd, rli);
/* Thread stopped. Print the current replication position to the log */
{
@@ -4548,7 +4644,7 @@ log '%s' at position %s, relay log '%s' position: %s%s", RPL_LOG_NAME,
get the correct position printed.)
*/
if (opt_slave_parallel_threads > 0)
- rli->parallel.wait_for_done();
+ rli->parallel.wait_for_done(thd, rli);
/*
Some events set some playgrounds, which won't be cleared because thread
@@ -4569,6 +4665,7 @@ log '%s' at position %s, relay log '%s' position: %s%s", RPL_LOG_NAME,
if (rli->mi->using_gtid != Master_info::USE_GTID_NO)
flush_relay_log_info(rli);
THD_STAGE_INFO(thd, stage_waiting_for_slave_mutex_on_exit);
+ thd->add_status_to_global();
mysql_mutex_lock(&rli->run_lock);
err_during_init:
/* We need data_lock, at least to wake up any waiting master_pos_wait() */
@@ -5742,8 +5839,8 @@ static int connect_to_master(THD* thd, MYSQL* mysql, Master_info* mi,
mysql_options(mysql, MYSQL_SET_CHARSET_DIR, (char *) charsets_dir);
/* Set MYSQL_PLUGIN_DIR in case master asks for an external authentication plugin */
- if (opt_plugin_dir_ptr && *opt_plugin_dir_ptr)
- mysql_options(mysql, MYSQL_PLUGIN_DIR, opt_plugin_dir_ptr);
+ if (opt_plugin_dir_ptr && *opt_plugin_dir_ptr)
+ mysql_options(mysql, MYSQL_PLUGIN_DIR, opt_plugin_dir_ptr);
/* we disallow empty users */
if (mi->user == NULL || mi->user[0] == 0)
@@ -6118,6 +6215,7 @@ static Log_event* next_event(rpl_group_info *rgi, ulonglong *event_size)
if (hot_log)
mysql_mutex_unlock(log_lock);
+ rli->sql_thread_caught_up= false;
DBUG_RETURN(ev);
}
if (opt_reckless_slave) // For mysql-test
@@ -6155,12 +6253,10 @@ static Log_event* next_event(rpl_group_info *rgi, ulonglong *event_size)
Seconds_Behind_Master would be zero only when master has no
more updates in binlog for slave. The heartbeat can be sent
in a (small) fraction of slave_net_timeout. Until it's done
- rli->last_master_timestamp is temporarely (for time of
- waiting for the following event) reset whenever EOF is
- reached.
+ rli->sql_thread_caught_up is temporarely (for time of waiting for
+ the following event) set whenever EOF is reached.
*/
- time_t save_timestamp= rli->last_master_timestamp;
- rli->last_master_timestamp= 0;
+ rli->sql_thread_caught_up= true;
DBUG_ASSERT(rli->relay_log.get_open_count() ==
rli->cur_log_old_open_count);
@@ -6286,7 +6382,7 @@ static Log_event* next_event(rpl_group_info *rgi, ulonglong *event_size)
rli->relay_log.wait_for_update_relay_log(rli->sql_driver_thd);
// re-acquire data lock since we released it earlier
mysql_mutex_lock(&rli->data_lock);
- rli->last_master_timestamp= save_timestamp;
+ rli->sql_thread_caught_up= false;
continue;
}
/*
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 84e2c3069c3..92f7ac020f5 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -27,7 +27,7 @@
// prepare_create_field
#include "sql_acl.h" // *_ACL
#include "sql_array.h" // Dynamic_array
-#include "log_event.h" // append_query_string, Query_log_event
+#include "log_event.h" // Query_log_event
#include "sql_derived.h" // mysql_handle_derived
#ifdef USE_PRAGMA_IMPLEMENTATION
@@ -160,7 +160,8 @@ sp_get_item_value(THD *thd, Item *item, String *str)
buf.append(result->charset()->csname);
if (cs->escape_with_backslash_is_dangerous)
buf.append(' ');
- append_query_string(thd, cs, result, &buf);
+ append_query_string(cs, &buf, result->ptr(), result->length(),
+ thd->variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES);
buf.append(" COLLATE '");
buf.append(item->collation.collation->name);
buf.append('\'');
diff --git a/sql/sp_head.h b/sql/sp_head.h
index 77adbf091b8..cc598186d08 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -122,6 +122,8 @@ public:
sp_name(LEX_STRING db, LEX_STRING name, bool use_explicit_name)
: m_db(db), m_name(name), m_explicit_name(use_explicit_name)
{
+ if (lower_case_table_names && m_db.str)
+ m_db.length= my_casedn_str(files_charset_info, m_db.str);
m_qname.str= 0;
m_qname.length= 0;
}
@@ -462,9 +464,10 @@ public:
else if (m_flags & HAS_SQLCOM_FLUSH)
my_error(ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG, MYF(0), "FLUSH");
- return test(m_flags &
- (CONTAINS_DYNAMIC_SQL|MULTI_RESULTS|HAS_SET_AUTOCOMMIT_STMT|
- HAS_COMMIT_OR_ROLLBACK|HAS_SQLCOM_RESET|HAS_SQLCOM_FLUSH));
+ return MY_TEST(m_flags &
+ (CONTAINS_DYNAMIC_SQL | MULTI_RESULTS |
+ HAS_SET_AUTOCOMMIT_STMT | HAS_COMMIT_OR_ROLLBACK |
+ HAS_SQLCOM_RESET | HAS_SQLCOM_FLUSH));
}
#ifndef DBUG_OFF
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index ce692024d0d..c48025da93d 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -450,7 +450,7 @@ public:
int close(THD *thd);
my_bool is_open()
- { return test(server_side_cursor); }
+ { return MY_TEST(server_side_cursor); }
int fetch(THD *, List<sp_variable> *vars);
diff --git a/sql/spatial.cc b/sql/spatial.cc
index b82e6977f8a..34d2417f632 100644
--- a/sql/spatial.cc
+++ b/sql/spatial.cc
@@ -302,7 +302,8 @@ int Geometry::create_from_opresult(Geometry_buffer *g_buf,
res->q_append((char) wkb_ndr);
res->q_append(geom_type);
- return obj->init_from_opresult(res, rr.result(), rr.length());
+ return obj->init_from_opresult(res, rr.result(), rr.length()) == 0 &&
+ rr.length();
}
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index c35794f476c..130113c17f1 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2009, 2013, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -727,7 +727,7 @@ static bool initialized=0;
static bool allow_all_hosts=1;
static HASH acl_check_hosts, column_priv_hash, proc_priv_hash, func_priv_hash;
static DYNAMIC_ARRAY acl_wild_hosts;
-static hash_filo *acl_cache;
+static Hash_filo<acl_entry> *acl_cache;
static uint grant_version=0; /* Version of priv tables. incremented by acl_load */
static ulong get_access(TABLE *form,uint fieldnr, uint *next_field=0);
static bool check_is_role(TABLE *form);
@@ -924,7 +924,7 @@ my_bool acl_init(bool dont_read_acl_tables)
my_bool return_val;
DBUG_ENTER("acl_init");
- acl_cache= new hash_filo(ACL_CACHE_SIZE, 0, 0,
+ acl_cache= new Hash_filo<acl_entry>(ACL_CACHE_SIZE, 0, 0,
(my_hash_get_key) acl_entry_get_key,
(my_hash_free_key) free,
&my_charset_utf8_bin);
@@ -1085,7 +1085,7 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables)
table->use_all_columns();
(void) my_init_dynamic_array(&acl_users,sizeof(ACL_USER), 50, 100, MYF(0));
(void) my_hash_init2(&acl_roles,50, &my_charset_utf8_bin,
- 0,0,0, (my_hash_get_key) acl_role_get_key,
+ 0, 0, 0, (my_hash_get_key) acl_role_get_key, 0,
(void (*)(void *))free_acl_role, 0);
username_char_length= MY_MIN(table->field[1]->char_length(),
@@ -1427,8 +1427,8 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables)
table->use_all_columns();
/* account for every role mapping */
- (void) my_hash_init2(&acl_roles_mappings, 50, system_charset_info,
- 0,0,0, (my_hash_get_key) acl_role_map_get_key, 0,0);
+ (void) my_hash_init2(&acl_roles_mappings, 50, system_charset_info, 0, 0, 0,
+ (my_hash_get_key) acl_role_map_get_key, 0, 0, 0);
MEM_ROOT temp_root;
init_alloc_root(&temp_root, ACL_ALLOC_BLOCK_SIZE, 0, MYF(0));
while (!(read_record_info.read_record(&read_record_info)))
@@ -2182,8 +2182,7 @@ ulong acl_get(const char *host, const char *ip,
key_length= (size_t) (end-key);
mysql_mutex_lock(&acl_cache->lock);
- if (!db_is_pattern && (entry=(acl_entry*) acl_cache->search((uchar*) key,
- key_length)))
+ if (!db_is_pattern && (entry=acl_cache->search((uchar*) key, key_length)))
{
db_access=entry->access;
mysql_mutex_unlock(&acl_cache->lock);
@@ -2969,9 +2968,9 @@ static bool update_user_table(THD *thd, TABLE *table,
static bool test_if_create_new_users(THD *thd)
{
Security_context *sctx= thd->security_ctx;
- bool create_new_users= test(sctx->master_access & INSERT_ACL) ||
+ bool create_new_users= MY_TEST(sctx->master_access & INSERT_ACL) ||
(!opt_safe_user_create &&
- test(sctx->master_access & CREATE_USER_ACL));
+ MY_TEST(sctx->master_access & CREATE_USER_ACL));
if (!create_new_users)
{
TABLE_LIST tl;
@@ -3734,8 +3733,8 @@ public:
bool ok() { return privs != 0 || cols != 0; }
void init_hash()
{
- my_hash_init2(&hash_columns, 4, system_charset_info,
- 0, 0, 0, (my_hash_get_key) get_key_column, 0, 0);
+ my_hash_init2(&hash_columns, 4, system_charset_info, 0, 0, 0,
+ (my_hash_get_key) get_key_column, 0, 0, 0);
}
};
@@ -4536,7 +4535,7 @@ static int merge_role_privileges(ACL_ROLE *, ACL_ROLE *, void *);
*/
static void propagate_role_grants(ACL_ROLE *role,
enum PRIVS_TO_MERGE::what what,
- const char *db, const char *name)
+ const char *db= 0, const char *name= 0)
{
mysql_mutex_assert_owner(&acl_cache->lock);
@@ -5084,7 +5083,8 @@ static int update_role_table_columns(GRANT_TABLE *merged,
now those roles were dropped or had their privileges revoked).
we need to remove this GRANT_TABLE
*/
- DBUG_EXECUTE_IF("role_merge_stats", role_column_merges+= test(merged->cols););
+ DBUG_EXECUTE_IF("role_merge_stats",
+ role_column_merges+= MY_TEST(merged->cols););
my_hash_delete(&column_priv_hash,(uchar*) merged);
return 4;
}
@@ -5109,7 +5109,7 @@ static bool merge_role_table_and_column_privileges(ACL_ROLE *grantee,
const char *db, const char *tname, role_hash_t *rhash)
{
Dynamic_array<GRANT_TABLE *> grants;
- DBUG_ASSERT(test(db) == test(tname)); // both must be set, or neither
+ DBUG_ASSERT(MY_TEST(db) == MY_TEST(tname)); // both must be set, or neither
/*
first, collect table/column privileges granted to
@@ -5188,6 +5188,8 @@ static int update_role_routines(GRANT_NAME *merged, GRANT_NAME **first,
if (!first)
return 0;
+ DBUG_EXECUTE_IF("role_merge_stats", role_routine_merges++;);
+
if (merged == NULL)
{
/*
@@ -5232,9 +5234,7 @@ static bool merge_role_routine_grant_privileges(ACL_ROLE *grantee,
{
ulong update_flags= 0;
- DBUG_ASSERT(test(db) == test(tname)); // both must be set, or neither
-
- DBUG_EXECUTE_IF("role_merge_stats", role_routine_merges++;);
+ DBUG_ASSERT(MY_TEST(db) == MY_TEST(tname)); // both must be set, or neither
Dynamic_array<GRANT_NAME *> grants;
@@ -5321,6 +5321,13 @@ static int merge_role_privileges(ACL_ROLE *role __attribute__((unused)),
return !changed; // don't recurse into the subgraph if privs didn't change
}
+static bool merge_one_role_privileges(ACL_ROLE *grantee)
+{
+ PRIVS_TO_MERGE data= { PRIVS_TO_MERGE::ALL, 0, 0 };
+ grantee->counter= 1;
+ return merge_role_privileges(0, grantee, &data);
+}
+
/*****************************************************************
End of the role privilege propagation and graph traversal code
******************************************************************/
@@ -5530,8 +5537,8 @@ int mysql_table_grant(THD *thd, TABLE_LIST *table_list,
else
error=replace_user_table(thd, tables[0].table, *Str,
0, revoke_grant, create_new_users,
- test(thd->variables.sql_mode &
- MODE_NO_AUTO_CREATE_USER));
+ MY_TEST(thd->variables.sql_mode &
+ MODE_NO_AUTO_CREATE_USER));
if (error)
{
result= TRUE; // Remember error
@@ -5738,8 +5745,8 @@ bool mysql_routine_grant(THD *thd, TABLE_LIST *table_list, bool is_proc,
/* Create user if needed */
error=replace_user_table(thd, tables[0].table, *Str,
0, revoke_grant, create_new_users,
- test(thd->variables.sql_mode &
- MODE_NO_AUTO_CREATE_USER));
+ MY_TEST(thd->variables.sql_mode &
+ MODE_NO_AUTO_CREATE_USER));
if (error)
{
result= TRUE; // Remember error
@@ -5798,19 +5805,42 @@ bool mysql_routine_grant(THD *thd, TABLE_LIST *table_list, bool is_proc,
DBUG_RETURN(result);
}
-static void append_user(String *str, const char *u, const char *h)
+/**
+ append a user or role name to a buffer that will be later used as an error message
+*/
+static void append_user(THD *thd, String *str,
+ const LEX_STRING *u, const LEX_STRING *h)
{
if (str->length())
str->append(',');
- str->append('\'');
- str->append(u);
+ append_query_string(system_charset_info, str, u->str, u->length,
+ thd->variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES);
/* hostname part is not relevant for roles, it is always empty */
- if (*h)
+ if (u->length == 0 || h->length != 0)
{
- str->append(STRING_WITH_LEN("'@'"));
- str->append(h);
+ str->append('@');
+ append_query_string(system_charset_info, str, h->str, h->length,
+ thd->variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES);
}
- str->append('\'');
+}
+
+static void append_user(THD *thd, String *str, LEX_USER *user)
+{
+ append_user(thd, str, & user->user, & user->host);
+}
+
+/**
+ append a string to a buffer that will be later used as an error message
+
+ @note
+ a string can be either CURRENT_USER or CURRENT_ROLE or NONE, it should be
+ neither quoted nor escaped.
+*/
+static void append_str(String *str, const char *s, size_t l)
+{
+ if (str->length())
+ str->append(',');
+ str->append(s, l);
}
static int can_grant_role_callback(ACL_USER_BASE *grantee,
@@ -5885,7 +5915,8 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
rolename= granted_role->user;
create_new_user= test_if_create_new_users(thd);
- no_auto_create_user= test(thd->variables.sql_mode & MODE_NO_AUTO_CREATE_USER);
+ no_auto_create_user= MY_TEST(thd->variables.sql_mode &
+ MODE_NO_AUTO_CREATE_USER);
TABLE_LIST tables[2];
tables[0].init_one_table(C_STRING_WITH_LEN("mysql"),
@@ -5927,13 +5958,15 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
if (!thd->security_ctx->priv_role[0])
{
my_error(ER_INVALID_ROLE, MYF(0), "NONE");
- append_user(&wrong_users, "NONE", "");
+ append_str(&wrong_users, STRING_WITH_LEN("NONE"));
result= 1;
continue;
}
if (!(role_as_user= find_acl_role(thd->security_ctx->priv_role)))
{
- append_user(&wrong_users, thd->security_ctx->priv_role, "");
+ LEX_STRING ls= { thd->security_ctx->priv_role,
+ strlen(thd->security_ctx->priv_role) };
+ append_user(thd, &wrong_users, &ls, &empty_lex_str);
result= 1;
continue;
}
@@ -5941,7 +5974,7 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
/* can not grant current_role to current_role */
if (granted_role->user.str == current_role.str)
{
- append_user(&wrong_users, thd->security_ctx->priv_role, "");
+ append_user(thd, &wrong_users, &role_as_user->user, &empty_lex_str);
result= 1;
continue;
}
@@ -5968,7 +6001,7 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
{
if (is_invalid_role_name(username.str))
{
- append_user(&wrong_users, username.str, "");
+ append_user(thd, &wrong_users, &username, &empty_lex_str);
result= 1;
continue;
}
@@ -5994,7 +6027,7 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
false, create_new_user,
no_auto_create_user))
{
- append_user(&wrong_users, username.str, hostname.str);
+ append_user(thd, &wrong_users, &username, &hostname);
result= 1;
continue;
}
@@ -6006,7 +6039,7 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
if (!grantee)
{
- append_user(&wrong_users, username.str, hostname.str);
+ append_user(thd, &wrong_users, &username, &hostname);
result= 1;
continue;
}
@@ -6028,7 +6061,7 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
if (role_as_user &&
traverse_role_graph_down(role, 0, 0, 0) == ROLE_CYCLE_FOUND)
{
- append_user(&wrong_users, username.str, "");
+ append_user(thd, &wrong_users, &username, &empty_lex_str);
result= 1;
undo_add_role_user_mapping(grantee, role);
continue;
@@ -6040,7 +6073,7 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
/* grant was already removed or never existed */
if (!hash_entry)
{
- append_user(&wrong_users, username.str, hostname.str);
+ append_user(thd, &wrong_users, &username, &hostname);
result= 1;
continue;
}
@@ -6061,7 +6094,7 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
thd->lex->with_admin_option,
hash_entry, revoke))
{
- append_user(&wrong_users, username.str, "");
+ append_user(thd, &wrong_users, &username, &empty_lex_str);
result= 1;
if (!revoke)
{
@@ -6082,8 +6115,8 @@ bool mysql_grant_role(THD *thd, List <LEX_USER> &list, bool revoke)
Only need to propagate grants when granting/revoking a role to/from
a role
*/
- if (role_as_user)
- propagate_role_grants(role_as_user, PRIVS_TO_MERGE::ALL, 0, 0);
+ if (role_as_user && merge_one_role_privileges(role_as_user) == 0)
+ propagate_role_grants(role_as_user, PRIVS_TO_MERGE::ALL);
}
mysql_mutex_unlock(&acl_cache->lock);
@@ -6203,8 +6236,8 @@ bool mysql_grant(THD *thd, const char *db, List <LEX_USER> &list,
else
if (replace_user_table(thd, tables[0].table, *Str,
(!db ? rights : 0), revoke_grant, create_new_users,
- test(thd->variables.sql_mode &
- MODE_NO_AUTO_CREATE_USER)))
+ MY_TEST(thd->variables.sql_mode &
+ MODE_NO_AUTO_CREATE_USER)))
result= -1;
else if (db)
{
@@ -6231,7 +6264,7 @@ bool mysql_grant(THD *thd, const char *db, List <LEX_USER> &list,
if (Str->is_role())
propagate_role_grants(find_acl_role(Str->user.str),
db ? PRIVS_TO_MERGE::DB : PRIVS_TO_MERGE::GLOBAL,
- db, 0);
+ db);
}
mysql_mutex_unlock(&acl_cache->lock);
@@ -6633,7 +6666,7 @@ bool check_grant(THD *thd, ulong want_access, TABLE_LIST *tables,
for (tl= tables; number-- ; tl= tl->next_global)
{
- sctx = test(tl->security_ctx) ? tl->security_ctx : thd->security_ctx;
+ sctx= MY_TEST(tl->security_ctx) ? tl->security_ctx : thd->security_ctx;
const ACL_internal_table_access *access=
get_cached_table_access(&tl->grant.m_internal,
@@ -6888,7 +6921,7 @@ bool check_column_grant_in_table_ref(THD *thd, TABLE_LIST * table_ref,
GRANT_INFO *grant;
const char *db_name;
const char *table_name;
- Security_context *sctx= test(table_ref->security_ctx) ?
+ Security_context *sctx= MY_TEST(table_ref->security_ctx) ?
table_ref->security_ctx : thd->security_ctx;
if (table_ref->view || table_ref->field_translation)
@@ -7085,16 +7118,22 @@ bool check_grant_db(THD *thd, const char *db)
{
Security_context *sctx= thd->security_ctx;
char helping [SAFE_NAME_LEN + USERNAME_LENGTH+2], *end;
- char helping2 [SAFE_NAME_LEN + USERNAME_LENGTH+2];
+ char helping2 [SAFE_NAME_LEN + USERNAME_LENGTH+2], *tmp_db;
uint len, UNINIT_VAR(len2);
bool error= TRUE;
- end= strmov(helping, sctx->priv_user) + 1;
- end= strnmov(end, db, helping + sizeof(helping) - end);
+ tmp_db= strmov(helping, sctx->priv_user) + 1;
+ end= strnmov(tmp_db, db, helping + sizeof(helping) - tmp_db);
if (end >= helping + sizeof(helping)) // db name was truncated
return 1; // no privileges for an invalid db name
+ if (lower_case_table_names)
+ {
+ end = tmp_db + my_casedn_str(files_charset_info, tmp_db);
+ db=tmp_db;
+ }
+
len= (uint) (end - helping) + 1;
/*
@@ -8637,7 +8676,7 @@ static int handle_grant_struct(enum enum_acl_lists struct_no, bool drop,
if (drop)
{
/* all grants must be revoked from this role by now. propagate this */
- propagate_role_grants(acl_role, PRIVS_TO_MERGE::ALL, 0, 0);
+ propagate_role_grants(acl_role, PRIVS_TO_MERGE::ALL);
// delete the role from cross-reference arrays
for (uint i=0; i < acl_role->role_grants.elements; i++)
@@ -9103,28 +9142,6 @@ end:
DBUG_RETURN(result);
}
-static void append_user(String *str, LEX_USER *user)
-{
- if (str->length())
- str->append(',');
- str->append('\'');
- str->append(user->user.str);
- /* hostname part is not relevant for roles, it is always empty */
- if (!user->is_role())
- {
- str->append(STRING_WITH_LEN("'@'"));
- str->append(user->host.str);
- }
- str->append('\'');
-}
-
-static void append_str(String *str, const char *s, size_t l)
-{
- if (str->length())
- str->append(',');
- str->append(s, l);
-}
-
/*
Create a list of users.
@@ -9178,7 +9195,7 @@ bool mysql_create_user(THD *thd, List <LEX_USER> &list, bool handle_as_role)
if (handle_as_role && is_invalid_role_name(user_name->user.str))
{
- append_user(&wrong_users, user_name);
+ append_user(thd, &wrong_users, user_name);
result= TRUE;
continue;
}
@@ -9192,7 +9209,7 @@ bool mysql_create_user(THD *thd, List <LEX_USER> &list, bool handle_as_role)
*/
if (handle_grant_data(tables, 0, user_name, NULL))
{
- append_user(&wrong_users, user_name);
+ append_user(thd, &wrong_users, user_name);
result= TRUE;
continue;
@@ -9201,7 +9218,7 @@ bool mysql_create_user(THD *thd, List <LEX_USER> &list, bool handle_as_role)
some_users_created= TRUE;
if (replace_user_table(thd, tables[0].table, *user_name, 0, 0, 1, 0))
{
- append_user(&wrong_users, user_name);
+ append_user(thd, &wrong_users, user_name);
result= TRUE;
continue;
}
@@ -9226,7 +9243,7 @@ bool mysql_create_user(THD *thd, List <LEX_USER> &list, bool handle_as_role)
&user_name->user, true,
NULL, false))
{
- append_user(&wrong_users, user_name);
+ append_user(thd, &wrong_users, user_name);
if (grantee)
undo_add_role_user_mapping(grantee, role);
result= TRUE;
@@ -9299,14 +9316,14 @@ bool mysql_drop_user(THD *thd, List <LEX_USER> &list, bool handle_as_role)
if (handle_as_role != user_name->is_role())
{
- append_user(&wrong_users, user_name);
+ append_user(thd, &wrong_users, user_name);
result= TRUE;
continue;
}
if (handle_grant_data(tables, 1, user_name, NULL) <= 0)
{
- append_user(&wrong_users, user_name);
+ append_user(thd, &wrong_users, user_name);
result= TRUE;
continue;
}
@@ -9379,13 +9396,13 @@ bool mysql_rename_user(THD *thd, List <LEX_USER> &list)
tmp_user_to= user_list++;
if (!(user_from= get_current_user(thd, tmp_user_from, false)))
{
- append_user(&wrong_users, user_from);
+ append_user(thd, &wrong_users, user_from);
result= TRUE;
continue;
}
if (!(user_to= get_current_user(thd, tmp_user_to, false)))
{
- append_user(&wrong_users, user_to);
+ append_user(thd, &wrong_users, user_to);
result= TRUE;
continue;
}
@@ -9400,7 +9417,7 @@ bool mysql_rename_user(THD *thd, List <LEX_USER> &list)
handle_grant_data(tables, 0, user_from, user_to) <= 0)
{
/* NOTE TODO renaming roles is not yet implemented */
- append_user(&wrong_users, user_from);
+ append_user(thd, &wrong_users, user_from);
result= TRUE;
continue;
}
@@ -9644,7 +9661,7 @@ bool mysql_revoke_all(THD *thd, List <LEX_USER> &list)
*/
if (lex_user->is_role())
{
- propagate_role_grants((ACL_ROLE *)user_or_role, PRIVS_TO_MERGE::ALL, 0, 0);
+ propagate_role_grants((ACL_ROLE *)user_or_role, PRIVS_TO_MERGE::ALL);
}
}
@@ -11474,7 +11491,7 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio,
db + passwd_len + 1 : 0;
if (passwd == NULL ||
- passwd + passwd_len + test(db) > (char *)net->read_pos + pkt_len)
+ passwd + passwd_len + MY_TEST(db) > (char*) net->read_pos + pkt_len)
return packet_error;
/* strlen() can't be easily deleted without changing protocol */
@@ -11717,9 +11734,6 @@ static int server_mpvio_read_packet(MYSQL_PLUGIN_VIO *param, uchar **buf)
mpvio->cached_client_reply.pkt= 0;
mpvio->packets_read++;
- if (mpvio->make_it_fail)
- goto err;
-
DBUG_RETURN ((int) mpvio->cached_client_reply.pkt_len);
}
@@ -11754,21 +11768,13 @@ static int server_mpvio_read_packet(MYSQL_PLUGIN_VIO *param, uchar **buf)
else
*buf= mpvio->thd->net.read_pos;
- if (mpvio->make_it_fail)
- goto err;
-
DBUG_RETURN((int)pkt_len);
err:
if (mpvio->status == MPVIO_EXT::FAILURE)
{
if (!mpvio->thd->is_error())
- {
- if (mpvio->make_it_fail)
- login_failed_error(mpvio->thd);
- else
- my_error(ER_HANDSHAKE_ERROR, MYF(0));
- }
+ my_error(ER_HANDSHAKE_ERROR, MYF(0));
}
DBUG_RETURN(-1);
}
@@ -12033,7 +12039,12 @@ bool acl_authenticate(THD *thd, uint connect_errors,
auth_plugin_name= &mpvio.acl_user->plugin;
res= do_auth_once(thd, auth_plugin_name, &mpvio);
}
-
+ if (mpvio.make_it_fail && res == CR_OK)
+ {
+ mpvio.status= MPVIO_EXT::FAILURE;
+ res= CR_ERROR;
+ }
+
Security_context *sctx= thd->security_ctx;
const ACL_USER *acl_user= mpvio.acl_user;
@@ -12326,6 +12337,8 @@ static int native_password_authenticate(MYSQL_PLUGIN_VIO *vio,
DBUG_RETURN(CR_OK);
#endif
+ DBUG_EXECUTE_IF("native_password_bad_reply", { pkt_len= 12; });
+
if (pkt_len == 0) /* no password */
DBUG_RETURN(mpvio->acl_user->salt_len != 0 ? CR_AUTH_USER_CREDENTIALS : CR_OK);
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index d9155b38066..41808bc2717 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -736,6 +736,17 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
compl_result_code= update_statistics_for_table(thd, table->table);
if (compl_result_code)
result_code= HA_ADMIN_FAILED;
+ else
+ {
+ protocol->prepare_for_resend();
+ protocol->store(table_name, system_charset_info);
+ protocol->store(operator_name, system_charset_info);
+ protocol->store(STRING_WITH_LEN("status"), system_charset_info);
+ protocol->store(STRING_WITH_LEN("Engine-independent statistics collected"),
+ system_charset_info);
+ if (protocol->write())
+ goto err;
+ }
}
if (result_code == HA_ADMIN_NOT_IMPLEMENTED && need_repair_or_alter)
@@ -1218,7 +1229,7 @@ bool Sql_cmd_repair_table::execute(THD *thd)
thd->enable_slow_log= opt_log_slow_admin_statements;
res= mysql_admin_table(thd, first_table, &m_lex->check_opt, "repair",
TL_WRITE, 1,
- test(m_lex->check_opt.sql_flags & TT_USEFRM),
+ MY_TEST(m_lex->check_opt.sql_flags & TT_USEFRM),
HA_OPEN_FOR_REPAIR, &prepare_for_repair,
&handler::ha_repair, 0);
diff --git a/sql/sql_admin.h b/sql/sql_admin.h
index fa89fc9063f..77fc41e2ec4 100644
--- a/sql/sql_admin.h
+++ b/sql/sql_admin.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc
index 01bffaf132f..97b9c127c22 100644
--- a/sql/sql_alter.cc
+++ b/sql/sql_alter.cc
@@ -338,19 +338,8 @@ bool Sql_cmd_discard_import_tablespace::execute(THD *thd)
it is the case.
TODO: this design is obsolete and will be removed.
*/
- int table_kind= check_if_log_table(table_list->db_length, table_list->db,
- table_list->table_name_length,
- table_list->table_name, false);
-
- if (table_kind)
- {
- /* Disable alter of enabled log tables */
- if (logger.is_log_table_enabled(table_kind))
- {
- my_error(ER_BAD_LOG_STATEMENT, MYF(0), "ALTER");
- return true;
- }
- }
+ if (check_if_log_table(table_list, TRUE, "ALTER"))
+ return true;
return
mysql_discard_or_import_tablespace(thd, table_list,
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc
index be35340df27..9b7ea58bee6 100644
--- a/sql/sql_analyse.cc
+++ b/sql/sql_analyse.cc
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2000, 2011, Oracle and/or its affiliates.
+ Copyright (c) 2000, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1080,7 +1080,7 @@ int collect_string(String *element,
else
info->found = 1;
info->str->append('\'');
- if (append_escaped(info->str, element))
+ if (info->str->append_for_single_quote(element))
return 1;
info->str->append('\'');
return 0;
@@ -1239,56 +1239,3 @@ uint check_ulonglong(const char *str, uint length)
return ((uchar) str[-1] <= (uchar) cmp[-1]) ? smaller : bigger;
} /* check_ulonlong */
-
-/*
- Quote special characters in a string.
-
- SYNOPSIS
- append_escaped(to_str, from_str)
- to_str (in) A pointer to a String.
- from_str (to) A pointer to an allocated string
-
- DESCRIPTION
- append_escaped() takes a String type variable, where it appends
- escaped the second argument. Only characters that require escaping
- will be escaped.
-
- RETURN VALUES
- 0 Success
- 1 Out of memory
-*/
-
-bool append_escaped(String *to_str, String *from_str)
-{
- char *from, *end, c;
-
- if (to_str->realloc(to_str->length() + from_str->length()))
- return 1;
-
- from= (char*) from_str->ptr();
- end= from + from_str->length();
- for (; from < end; from++)
- {
- c= *from;
- switch (c) {
- case '\0':
- c= '0';
- break;
- case '\032':
- c= 'Z';
- break;
- case '\\':
- case '\'':
- break;
- default:
- goto normal_character;
- }
- if (to_str->append('\\'))
- return 1;
-
- normal_character:
- if (to_str->append(c))
- return 1;
- }
- return 0;
-}
diff --git a/sql/sql_analyse.h b/sql/sql_analyse.h
index 8bac29de5a3..3d3662c3f4f 100644
--- a/sql/sql_analyse.h
+++ b/sql/sql_analyse.h
@@ -365,6 +365,4 @@ public:
List<Item> &field_list);
};
-bool append_escaped(String *to_str, String *from_str);
-
#endif /* SQL_ANALYSE_INCLUDED */
diff --git a/sql/sql_audit.cc b/sql/sql_audit.cc
index f0e35cb022f..84f2d95c5da 100644
--- a/sql/sql_audit.cc
+++ b/sql/sql_audit.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -84,7 +84,7 @@ static void general_class_handler(THD *thd, uint event_subtype, va_list ap)
event.general_rows= (unsigned long long) va_arg(ap, ha_rows);
event.database= va_arg(ap, const char *);
event.database_length= va_arg(ap, unsigned int);
- event.query_id= (unsigned long long) thd->query_id;
+ event.query_id= (unsigned long long) (thd ? thd->query_id : 0);
event_class_dispatch(thd, MYSQL_AUDIT_GENERAL_CLASS, &event);
}
@@ -134,7 +134,7 @@ static void table_class_handler(THD *thd, uint event_subclass, va_list ap)
event.new_database_length= va_arg(ap, unsigned int);
event.new_table= va_arg(ap, const char *);
event.new_table_length= va_arg(ap, unsigned int);
- event.query_id= (unsigned long long) thd->query_id;
+ event.query_id= (unsigned long long) (thd ? thd->query_id : 0);
event_class_dispatch(thd, MYSQL_AUDIT_TABLE_CLASS, &event);
}
diff --git a/sql/sql_audit.h b/sql/sql_audit.h
index bf8d837580a..68106f099cc 100644
--- a/sql/sql_audit.h
+++ b/sql/sql_audit.h
@@ -1,7 +1,7 @@
#ifndef SQL_AUDIT_INCLUDED
#define SQL_AUDIT_INCLUDED
-/* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -96,11 +96,13 @@ void mysql_audit_general_log(THD *thd, time_t time,
{
CHARSET_INFO *clientcs= thd ? thd->variables.character_set_client
: global_system_variables.character_set_client;
+ const char *db= thd ? thd->db : "";
+ size_t db_length= thd ? thd->db_length : 0;
mysql_audit_notify(thd, MYSQL_AUDIT_GENERAL_CLASS, MYSQL_AUDIT_GENERAL_LOG,
0, time, user, userlen, cmd, cmdlen,
query, querylen, clientcs, (ha_rows) 0,
- thd->db, thd->db_length);
+ db, db_length);
}
}
@@ -129,6 +131,8 @@ void mysql_audit_general(THD *thd, uint event_subtype,
char user_buff[MAX_USER_HOST_SIZE];
CSET_STRING query;
ha_rows rows;
+ const char *db;
+ size_t db_length;
if (thd)
{
@@ -136,18 +140,22 @@ void mysql_audit_general(THD *thd, uint event_subtype,
user= user_buff;
userlen= make_user_name(thd, user_buff);
rows= thd->get_stmt_da()->current_row_for_warning();
+ db= thd->db;
+ db_length= thd->db_length;
}
else
{
user= 0;
userlen= 0;
rows= 0;
+ db= "";
+ db_length= 0;
}
mysql_audit_notify(thd, MYSQL_AUDIT_GENERAL_CLASS, event_subtype,
error_code, time, user, userlen, msg, msglen,
query.str(), query.length(), query.charset(), rows,
- thd->db, thd->db_length);
+ db, db_length);
}
}
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 44d68f35ab2..f30b2617c1d 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -262,7 +262,7 @@ uint get_table_def_key(const TABLE_LIST *table_list, const char **key)
NOTES
One gets only a list of tables for which one has any kind of privilege.
db and table names are allocated in result struct, so one doesn't need
- a lock on LOCK_open when traversing the return list.
+ a lock when traversing the return list.
RETURN VALUES
NULL Error (Probably OOM)
@@ -308,13 +308,13 @@ OPEN_TABLE_LIST *list_open_tables(THD *thd, const char *db, const char *wild)
share->db.str)+1,
share->table_name.str);
(*start_list)->in_use= 0;
- mysql_mutex_lock(&LOCK_open);
+ mysql_mutex_lock(&share->tdc.LOCK_table_share);
TABLE_SHARE::All_share_tables_list::Iterator it(share->tdc.all_tables);
TABLE *table;
while ((table= it++))
if (table->in_use)
++(*start_list)->in_use;
- mysql_mutex_unlock(&LOCK_open);
+ mysql_mutex_unlock(&share->tdc.LOCK_table_share);
(*start_list)->locked= 0; /* Obsolete. */
start_list= &(*start_list)->next;
*start_list=0;
@@ -335,7 +335,6 @@ void intern_close_table(TABLE *table)
table->s ? table->s->db.str : "?",
table->s ? table->s->table_name.str : "?",
(long) table));
- mysql_mutex_assert_not_owner(&LOCK_open);
free_io_cache(table);
delete table->triggers;
@@ -368,7 +367,7 @@ void free_io_cache(TABLE *table)
@param share Table share.
- @pre Caller should have LOCK_open mutex.
+ @pre Caller should have TABLE_SHARE::tdc.LOCK_table_share mutex.
*/
void kill_delayed_threads_for_table(TABLE_SHARE *share)
@@ -376,7 +375,7 @@ void kill_delayed_threads_for_table(TABLE_SHARE *share)
TABLE_SHARE::All_share_tables_list::Iterator it(share->tdc.all_tables);
TABLE *tab;
- mysql_mutex_assert_owner(&LOCK_open);
+ mysql_mutex_assert_owner(&share->tdc.LOCK_table_share);
if (!delayed_insert_threads)
return;
@@ -385,7 +384,8 @@ void kill_delayed_threads_for_table(TABLE_SHARE *share)
{
THD *in_use= tab->in_use;
- if (in_use && (in_use->system_thread & SYSTEM_THREAD_DELAYED_INSERT) &&
+ DBUG_ASSERT(in_use && tab->s->tdc.flushed);
+ if ((in_use->system_thread & SYSTEM_THREAD_DELAYED_INSERT) &&
! in_use->killed)
{
in_use->killed= KILL_SYSTEM_THREAD;
@@ -426,9 +426,12 @@ bool close_cached_tables(THD *thd, TABLE_LIST *tables,
{
bool result= FALSE;
struct timespec abstime;
+ ulong refresh_version;
DBUG_ENTER("close_cached_tables");
DBUG_ASSERT(thd || (!wait_for_refresh && !tables));
+ refresh_version= tdc_increment_refresh_version();
+
if (!tables)
{
/*
@@ -438,13 +441,12 @@ bool close_cached_tables(THD *thd, TABLE_LIST *tables,
incrementing of refresh_version is followed by purge of unused table
shares.
*/
- tdc_increment_refresh_version();
kill_delayed_threads();
/*
Get rid of all unused TABLE and TABLE_SHARE instances. By doing
this we automatically close all tables which were marked as "old".
*/
- tc_purge();
+ tc_purge(true);
/* Free table shares which were not freed implicitly by loop above. */
tdc_purge(true);
}
@@ -526,7 +528,7 @@ bool close_cached_tables(THD *thd, TABLE_LIST *tables,
while ((share= tdc_it.next()))
{
mysql_mutex_lock(&share->tdc.LOCK_table_share);
- if (share->has_old_version())
+ if (share->tdc.flushed && share->tdc.version < refresh_version)
{
/* wait_for_old_version() will unlock mutex and free share */
found= true;
@@ -554,7 +556,8 @@ bool close_cached_tables(THD *thd, TABLE_LIST *tables,
if (thd->killed)
break;
if (tdc_wait_for_old_version(thd, table->db, table->table_name, timeout,
- MDL_wait_for_subgraph::DEADLOCK_WEIGHT_DDL))
+ MDL_wait_for_subgraph::DEADLOCK_WEIGHT_DDL,
+ refresh_version))
{
result= TRUE;
break;
@@ -652,6 +655,12 @@ static void mark_temp_tables_as_free_for_reuse(THD *thd)
{
DBUG_ENTER("mark_temp_tables_as_free_for_reuse");
+ if (thd->query_id == 0)
+ {
+ /* Thread has not executed any statement and has not used any tmp tables */
+ DBUG_VOID_RETURN;
+ }
+
thd->lock_temporary_tables();
for (TABLE *table= thd->temporary_tables ; table ; table= table->next)
{
@@ -764,8 +773,6 @@ static void mark_used_tables_as_free_for_reuse(THD *thd, TABLE *table)
static void close_open_tables(THD *thd)
{
- mysql_mutex_assert_not_owner(&LOCK_open);
-
DBUG_PRINT("info", ("thd->open_tables: 0x%lx", (long) thd->open_tables));
while (thd->open_tables)
@@ -784,12 +791,18 @@ static void close_open_tables(THD *thd)
access the table cache key
@param[in] extra
- HA_EXTRA_PREPRE_FOR_DROP if the table is being dropped
- HA_EXTRA_PREPARE_FOR_REANME if the table is being renamed
- HA_EXTRA_NOT_USED no drop/rename
- In case of drop/reanme the documented behaviour is to
+ HA_EXTRA_PREPARE_FOR_DROP
+ - The table is dropped
+ HA_EXTRA_PREPARE_FOR_RENAME
+ - The table is renamed
+ HA_EXTRA_NOT_USED
+ - The table is marked as closed in the
+ locked_table_list but kept there so one can call
+ locked_table_list->reopen_tables() to put it back.
+
+ In case of drop/rename the documented behavior is to
implicitly remove the table from LOCK TABLES
- list.
+ list.
@pre Must be called with an X MDL lock on the table.
*/
@@ -806,7 +819,6 @@ close_all_tables_for_name(THD *thd, TABLE_SHARE *share,
memcpy(key, share->table_cache_key.str, key_length);
- mysql_mutex_assert_not_owner(&LOCK_open);
for (TABLE **prev= &thd->open_tables; *prev; )
{
TABLE *table= *prev;
@@ -1002,7 +1014,6 @@ void close_thread_table(THD *thd, TABLE **table_ptr)
table->s->table_name.str, (long) table));
DBUG_ASSERT(table->key_read == 0);
DBUG_ASSERT(!table->file || table->file->inited == handler::NONE);
- mysql_mutex_assert_not_owner(&LOCK_open);
/*
The metadata lock must be released after giving back
@@ -1033,7 +1044,10 @@ void close_thread_table(THD *thd, TABLE **table_ptr)
table->file->ha_reset();
}
- /* Do this *before* entering the LOCK_open critical section. */
+ /*
+ Do this *before* entering the TABLE_SHARE::tdc.LOCK_table_share
+ critical section.
+ */
if (table->file != NULL)
table->file->unbind_psi();
@@ -1132,7 +1146,8 @@ bool close_temporary_tables(THD *thd)
/* We always quote db,table names though it is slight overkill */
if (found_user_tables &&
- !(was_quote_show= test(thd->variables.option_bits & OPTION_QUOTE_SHOW_CREATE)))
+ !(was_quote_show= MY_TEST(thd->variables.option_bits &
+ OPTION_QUOTE_SHOW_CREATE)))
{
thd->variables.option_bits |= OPTION_QUOTE_SHOW_CREATE;
}
@@ -1332,6 +1347,17 @@ retry:
DBUG_PRINT("info", ("real table: %s.%s", d_name, t_name));
for (TABLE_LIST *tl= table_list;;)
{
+ if (tl &&
+ tl->select_lex && tl->select_lex->master_unit() &&
+ tl->select_lex->master_unit()->executed)
+ {
+ /*
+ There is no sense to check tables of already executed parts
+ of the query
+ */
+ tl= tl->next_global;
+ continue;
+ }
/*
Table is unique if it is present only once in the global list
of tables and once in the list of table locks.
@@ -1346,9 +1372,7 @@ retry:
/* Skip if table alias does not match. */
if (check_alias)
{
- if (lower_case_table_names ?
- my_strcasecmp(files_charset_info, t_alias, res->alias) :
- strcmp(t_alias, res->alias))
+ if (my_strcasecmp(table_alias_charset, t_alias, res->alias))
goto next;
}
@@ -1477,7 +1501,7 @@ void update_non_unique_table_error(TABLE_LIST *update,
return;
}
}
- my_error(ER_UPDATE_TABLE_USED, MYF(0), update->alias);
+ my_error(ER_UPDATE_TABLE_USED, MYF(0), update->alias, operation);
}
@@ -1588,26 +1612,21 @@ TABLE *find_temporary_table(THD *thd,
thd->temporary_tables list, it's impossible to tell here whether
we're dealing with an internal or a user temporary table.
- If is_trans is not null, we return the type of the table:
- either transactional (e.g. innodb) as TRUE or non-transactional
- (e.g. myisam) as FALSE.
+ @param thd Thread handler
+ @param table Temporary table to be deleted
+ @param is_trans Is set to the type of the table:
+ transactional (e.g. innodb) as TRUE or non-transactional
+ (e.g. myisam) as FALSE.
@retval 0 the table was found and dropped successfully.
- @retval 1 the table was not found in the list of temporary tables
- of this thread
@retval -1 the table is in use by a outer query
*/
-int drop_temporary_table(THD *thd, TABLE_LIST *table_list, bool *is_trans)
+int drop_temporary_table(THD *thd, TABLE *table, bool *is_trans)
{
DBUG_ENTER("drop_temporary_table");
DBUG_PRINT("tmptable", ("closing table: '%s'.'%s'",
- table_list->db, table_list->table_name));
-
- if (!is_temporary_table(table_list))
- DBUG_RETURN(1);
-
- TABLE *table= table_list->table;
+ table->s->db.str, table->s->table_name.str));
/* Table might be in use by some outer statement. */
if (table->query_id && table->query_id != thd->query_id)
@@ -1627,10 +1646,10 @@ int drop_temporary_table(THD *thd, TABLE_LIST *table_list, bool *is_trans)
*/
mysql_lock_remove(thd, thd->lock, table);
close_temporary_table(thd, table, 1, 1);
- table_list->table= NULL;
DBUG_RETURN(0);
}
+
/*
unlink from thd->temporary tables and close temporary table
*/
@@ -1753,7 +1772,7 @@ bool wait_while_table_is_used(THD *thd, TABLE *table,
DBUG_ENTER("wait_while_table_is_used");
DBUG_PRINT("enter", ("table: '%s' share: 0x%lx db_stat: %u version: %lu",
table->s->table_name.str, (ulong) table->s,
- table->db_stat, table->s->version));
+ table->db_stat, table->s->tdc.version));
if (thd->mdl_context.upgrade_shared_lock(
table->mdl_ticket, MDL_EXCLUSIVE,
@@ -2290,7 +2309,9 @@ bool open_table(THD *thd, TABLE_LIST *table_list, MEM_ROOT *mem_root,
retry_share:
share= tdc_acquire_share(thd, table_list->db, table_list->table_name,
- key, key_length, gts_flags, &table);
+ key, key_length,
+ table_list->mdl_request.key.tc_hash_value(),
+ gts_flags, &table);
if (!share)
{
@@ -2320,7 +2341,7 @@ retry_share:
/*
Check if this TABLE_SHARE-object corresponds to a view. Note, that there is
- no need to call TABLE_SHARE::has_old_version() as we do for regular tables,
+ no need to check TABLE_SHARE::tdc.flushed as we do for regular tables,
because view shares are always up to date.
*/
if (share->is_view)
@@ -2361,8 +2382,10 @@ retry_share:
if (!(flags & MYSQL_OPEN_IGNORE_FLUSH))
{
- if (share->has_old_version())
+ if (share->tdc.flushed)
{
+ DBUG_PRINT("info", ("Found old share version: %lu current: %lu",
+ share->tdc.version, tdc_refresh_version()));
/*
We already have an MDL lock. But we have encountered an old
version of table in the table definition cache which is possible
@@ -2393,7 +2416,7 @@ retry_share:
goto retry_share;
}
- if (thd->open_tables && thd->open_tables->s->version != share->version)
+ if (thd->open_tables && thd->open_tables->s->tdc.flushed)
{
/*
If the version changes while we're opening the tables,
@@ -2612,9 +2635,9 @@ Locked_tables_list::init_locked_tables(THD *thd)
{
TABLE_LIST *src_table_list= table->pos_in_table_list;
char *db, *table_name, *alias;
- size_t db_len= src_table_list->db_length;
- size_t table_name_len= src_table_list->table_name_length;
- size_t alias_len= strlen(src_table_list->alias);
+ size_t db_len= table->s->db.length;
+ size_t table_name_len= table->s->table_name.length;
+ size_t alias_len= table->alias.length();
TABLE_LIST *dst_table_list;
if (! multi_alloc_root(&m_locked_tables_root,
@@ -2624,23 +2647,15 @@ Locked_tables_list::init_locked_tables(THD *thd)
&alias, alias_len + 1,
NullS))
{
- unlock_locked_tables(0);
+ reset();
return TRUE;
}
- memcpy(db, src_table_list->db, db_len + 1);
- memcpy(table_name, src_table_list->table_name, table_name_len + 1);
- memcpy(alias, src_table_list->alias, alias_len + 1);
- /**
- Sic: remember the *actual* table level lock type taken, to
- acquire the exact same type in reopen_tables().
- E.g. if the table was locked for write, src_table_list->lock_type is
- TL_WRITE_DEFAULT, whereas reginfo.lock_type has been updated from
- thd->update_lock_default.
- */
+ memcpy(db, table->s->db.str, db_len + 1);
+ memcpy(table_name, table->s->table_name.str, table_name_len + 1);
+ strmake(alias, table->alias.ptr(), alias_len);
dst_table_list->init_one_table(db, db_len, table_name, table_name_len,
- alias,
- src_table_list->table->reginfo.lock_type);
+ alias, table->reginfo.lock_type);
dst_table_list->table= table;
dst_table_list->mdl_request.ticket= src_table_list->mdl_request.ticket;
@@ -2661,7 +2676,7 @@ Locked_tables_list::init_locked_tables(THD *thd)
(m_locked_tables_count+1));
if (m_reopen_array == NULL)
{
- unlock_locked_tables(0);
+ reset();
return TRUE;
}
}
@@ -2682,42 +2697,82 @@ Locked_tables_list::init_locked_tables(THD *thd)
void
Locked_tables_list::unlock_locked_tables(THD *thd)
{
- if (thd)
+ DBUG_ASSERT(!thd->in_sub_stmt &&
+ !(thd->state_flags & Open_tables_state::BACKUPS_AVAIL));
+ /*
+ Sic: we must be careful to not close open tables if
+ we're not in LOCK TABLES mode: unlock_locked_tables() is
+ sometimes called implicitly, expecting no effect on
+ open tables, e.g. from begin_trans().
+ */
+ if (thd->locked_tables_mode != LTM_LOCK_TABLES)
+ return;
+
+ for (TABLE_LIST *table_list= m_locked_tables;
+ table_list; table_list= table_list->next_global)
{
- DBUG_ASSERT(!thd->in_sub_stmt &&
- !(thd->state_flags & Open_tables_state::BACKUPS_AVAIL));
/*
- Sic: we must be careful to not close open tables if
- we're not in LOCK TABLES mode: unlock_locked_tables() is
- sometimes called implicitly, expecting no effect on
- open tables, e.g. from begin_trans().
+ Clear the position in the list, the TABLE object will be
+ returned to the table cache.
*/
- if (thd->locked_tables_mode != LTM_LOCK_TABLES)
- return;
+ if (table_list->table) // If not closed
+ table_list->table->pos_in_locked_tables= NULL;
+ }
+ thd->leave_locked_tables_mode();
- for (TABLE_LIST *table_list= m_locked_tables;
- table_list; table_list= table_list->next_global)
- {
- /*
- Clear the position in the list, the TABLE object will be
- returned to the table cache.
- */
- if (table_list->table) // If not closed
- table_list->table->pos_in_locked_tables= NULL;
- }
- thd->leave_locked_tables_mode();
+ DBUG_ASSERT(thd->transaction.stmt.is_empty());
+ close_thread_tables(thd);
+
+ /*
+ We rely on the caller to implicitly commit the
+ transaction and release transactional locks.
+ */
- DBUG_ASSERT(thd->transaction.stmt.is_empty());
- close_thread_tables(thd);
- /*
- We rely on the caller to implicitly commit the
- transaction and release transactional locks.
- */
- }
/*
After closing tables we can free memory used for storing lock
request for metadata locks and TABLE_LIST elements.
*/
+ reset();
+}
+
+
+/**
+ Remove all meta data locks associated with table and release locked
+ table mode if there is no locked tables anymore
+*/
+
+void
+Locked_tables_list::unlock_locked_table(THD *thd, MDL_ticket *mdl_ticket)
+{
+ /*
+ Ensure we are in locked table mode.
+ As this function is only called on error condition it's better
+ to check this condition here than in the caller.
+ */
+ if (thd->locked_tables_mode != LTM_LOCK_TABLES)
+ return;
+
+ if (mdl_ticket)
+ {
+ /*
+ Under LOCK TABLES we may have several instances of table open
+ and locked and therefore have to remove several metadata lock
+ requests associated with them.
+ */
+ thd->mdl_context.release_all_locks_for_name(mdl_ticket);
+ }
+
+ if (thd->lock->table_count == 0)
+ unlock_locked_tables(thd);
+}
+
+
+/*
+ Free memory allocated for storing locks
+*/
+
+void Locked_tables_list::reset()
+{
free_root(&m_locked_tables_root, MYF(0));
m_locked_tables= NULL;
m_locked_tables_last= &m_locked_tables;
@@ -2782,6 +2837,7 @@ void Locked_tables_list::unlink_from_list(THD *thd,
m_locked_tables_last= table_list->prev_global;
else
table_list->next_global->prev_global= table_list->prev_global;
+ m_locked_tables_count--;
}
}
@@ -2835,8 +2891,13 @@ unlink_all_closed_tables(THD *thd, MYSQL_LOCK *lock, size_t reopen_count)
m_locked_tables_last= table_list->prev_global;
else
table_list->next_global->prev_global= table_list->prev_global;
+ m_locked_tables_count--;
}
}
+
+ /* If no tables left, do an automatic UNLOCK TABLES */
+ if (thd->lock && thd->lock->table_count == 0)
+ unlock_locked_tables(thd);
}
@@ -2909,6 +2970,62 @@ Locked_tables_list::reopen_tables(THD *thd)
return FALSE;
}
+/**
+ Add back a locked table to the locked list that we just removed from it.
+ This is needed in CREATE OR REPLACE TABLE where we are dropping, creating
+ and re-opening a locked table.
+
+ @return 0 0k
+ @return 1 error
+*/
+
+bool Locked_tables_list::restore_lock(THD *thd, TABLE_LIST *dst_table_list,
+ TABLE *table, MYSQL_LOCK *lock)
+{
+ MYSQL_LOCK *merged_lock;
+ DBUG_ENTER("restore_lock");
+ DBUG_ASSERT(!strcmp(dst_table_list->table_name, table->s->table_name.str));
+
+ /* Ensure we have the memory to add the table back */
+ if (!(merged_lock= mysql_lock_merge(thd->lock, lock)))
+ DBUG_RETURN(1);
+ thd->lock= merged_lock;
+
+ /* Link to the new table */
+ dst_table_list->table= table;
+ /*
+ The lock type may have changed (normally it should not as create
+ table will lock the table in write mode
+ */
+ dst_table_list->lock_type= table->reginfo.lock_type;
+ table->pos_in_locked_tables= dst_table_list;
+
+ add_back_last_deleted_lock(dst_table_list);
+
+ table->mdl_ticket->downgrade_lock(table->reginfo.lock_type >=
+ TL_WRITE_ALLOW_WRITE ?
+ MDL_SHARED_NO_READ_WRITE :
+ MDL_SHARED_READ);
+
+ DBUG_RETURN(0);
+}
+
+/*
+ Add back the last deleted lock structure.
+ This should be followed by a call to reopen_tables() to
+ open the table.
+*/
+
+void Locked_tables_list::add_back_last_deleted_lock(TABLE_LIST *dst_table_list)
+{
+ /* Link the lock back in the locked tables list */
+ dst_table_list->prev_global= m_locked_tables_last;
+ *m_locked_tables_last= dst_table_list;
+ m_locked_tables_last= &dst_table_list->next_global;
+ dst_table_list->next_global= 0;
+ m_locked_tables_count++;
+}
+
#ifndef DBUG_OFF
/* Cause a spurious statement reprepare for debug purposes. */
@@ -4046,9 +4163,9 @@ lock_table_names(THD *thd,
if (mdl_requests.is_empty())
DBUG_RETURN(FALSE);
- /* Check if CREATE TABLE was used */
- create_table= (tables_start && tables_start->open_strategy ==
- TABLE_LIST::OPEN_IF_EXISTS);
+ /* Check if CREATE TABLE without REPLACE was used */
+ create_table= (thd->lex->sql_command == SQLCOM_CREATE_TABLE &&
+ !(thd->lex->create_info.options & HA_LEX_CREATE_REPLACE));
if (!(flags & MYSQL_OPEN_SKIP_SCOPED_MDL_LOCK))
{
@@ -5294,6 +5411,36 @@ bool lock_tables(THD *thd, TABLE_LIST *tables, uint count,
}
+/*
+ Restart transaction for tables
+
+ This is used when we had to do an implicit commit after tables are opened
+ and want to restart transactions on tables.
+
+ This is used in case of:
+ LOCK TABLES xx
+ CREATE OR REPLACE TABLE xx;
+*/
+
+bool restart_trans_for_tables(THD *thd, TABLE_LIST *table)
+{
+ DBUG_ENTER("restart_trans_for_tables");
+
+ for (; table; table= table->next_global)
+ {
+ if (table->placeholder())
+ continue;
+
+ if (check_lock_and_start_stmt(thd, thd->lex, table))
+ {
+ DBUG_ASSERT(0); // Should never happen
+ DBUG_RETURN(TRUE);
+ }
+ }
+ DBUG_RETURN(FALSE);
+}
+
+
/**
Prepare statement for reopening of tables and recalculation of set of
prelocked tables.
@@ -7647,7 +7794,7 @@ bool setup_fields(THD *thd, Item **ref_pointer_array,
thd->lex->allow_sum_func= save_allow_sum_func;
thd->mark_used_columns= save_mark_used_columns;
DBUG_PRINT("info", ("thd->mark_used_columns: %d", thd->mark_used_columns));
- DBUG_RETURN(test(thd->is_error()));
+ DBUG_RETURN(MY_TEST(thd->is_error()));
}
@@ -8181,9 +8328,16 @@ insert_fields(THD *thd, Name_resolution_context *context, const char *db_name,
meaningful message than ER_BAD_TABLE_ERROR.
*/
if (!table_name)
- my_message(ER_NO_TABLES_USED, ER(ER_NO_TABLES_USED), MYF(0));
+ my_error(ER_NO_TABLES_USED, MYF(0));
+ else if (!db_name && !thd->db)
+ my_error(ER_NO_DB_ERROR, MYF(0));
else
- my_error(ER_BAD_TABLE_ERROR, MYF(0), table_name);
+ {
+ char name[FN_REFLEN];
+ my_snprintf(name, sizeof(name), "%s.%s",
+ db_name ? db_name : thd->db, table_name);
+ my_error(ER_BAD_TABLE_ERROR, MYF(0), name);
+ }
DBUG_RETURN(TRUE);
}
@@ -8348,7 +8502,7 @@ int setup_conds(THD *thd, TABLE_LIST *tables, List<TABLE_LIST> &leaves,
select_lex->where= *conds;
}
thd->lex->current_select->is_item_list_lookup= save_is_item_list_lookup;
- DBUG_RETURN(test(thd->is_error()));
+ DBUG_RETURN(MY_TEST(thd->is_error()));
err_no_arena:
select_lex->is_item_list_lookup= save_is_item_list_lookup;
diff --git a/sql/sql_base.h b/sql/sql_base.h
index 3e633fad084..61442843a39 100644
--- a/sql/sql_base.h
+++ b/sql/sql_base.h
@@ -248,7 +248,7 @@ void close_thread_table(THD *thd, TABLE **table_ptr);
bool close_temporary_tables(THD *thd);
TABLE_LIST *unique_table(THD *thd, TABLE_LIST *table, TABLE_LIST *table_list,
bool check_alias);
-int drop_temporary_table(THD *thd, TABLE_LIST *table_list, bool *is_trans);
+int drop_temporary_table(THD *thd, TABLE *table, bool *is_trans);
void close_temporary_table(THD *thd, TABLE *table, bool free_share,
bool delete_table);
void close_temporary(TABLE *table, bool free_share, bool delete_table);
@@ -486,6 +486,8 @@ inline bool open_and_lock_tables(THD *thd, TABLE_LIST *tables,
}
+bool restart_trans_for_tables(THD *thd, TABLE_LIST *table);
+
/**
A context of open_tables() function, used to recover
from a failed open_table() or open_routine() attempt.
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc
index 4d91dbab9a6..fef959c37ca 100644
--- a/sql/sql_binlog.cc
+++ b/sql/sql_binlog.cc
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005, 2011, Oracle and/or its affiliates.
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/sql_bitmap.h b/sql/sql_bitmap.h
index 7e163b0dbcc..55b2d7eefd9 100644
--- a/sql/sql_bitmap.h
+++ b/sql/sql_bitmap.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2003, 2010, Oracle and/or its affiliates
+/* Copyright (c) 2003, 2013, Oracle and/or its affiliates
Copyright (c) 2009, 2013, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
@@ -34,7 +34,7 @@ public:
Bitmap() { init(); }
Bitmap(const Bitmap& from) { *this=from; }
explicit Bitmap(uint prefix_to_set) { init(prefix_to_set); }
- void init() { bitmap_init(&map, buffer, default_width, 0); }
+ void init() { my_bitmap_init(&map, buffer, default_width, 0); }
void init(uint prefix_to_set) { init(); set_prefix(prefix_to_set); }
uint length() const { return default_width; }
Bitmap& operator=(const Bitmap& map2)
@@ -52,7 +52,7 @@ public:
void intersect(ulonglong map2buff)
{
MY_BITMAP map2;
- bitmap_init(&map2, (uint32 *)&map2buff, sizeof(ulonglong)*8, 0);
+ my_bitmap_init(&map2, (uint32 *)&map2buff, sizeof(ulonglong)*8, 0);
bitmap_intersect(&map, &map2);
}
/* Use highest bit for all bits above sizeof(ulonglong)*8. */
@@ -61,7 +61,7 @@ public:
intersect(map2buff);
if (map.n_bits > sizeof(ulonglong) * 8)
bitmap_set_above(&map, sizeof(ulonglong),
- test(map2buff & (1LL << (sizeof(ulonglong) * 8 - 1))));
+ MY_TEST(map2buff & (1LL << (sizeof(ulonglong) * 8 - 1))));
}
void subtract(Bitmap& map2) { bitmap_subtract(&map, &map2.map); }
void merge(Bitmap& map2) { bitmap_union(&map, &map2.map); }
@@ -156,7 +156,7 @@ public:
void intersect_extended(ulonglong map2) { map&= map2; }
void subtract(Bitmap<64>& map2) { map&= ~map2.map; }
void merge(Bitmap<64>& map2) { map|= map2.map; }
- bool is_set(uint n) const { return test(map & (((ulonglong)1) << n)); }
+ bool is_set(uint n) const { return MY_TEST(map & (((ulonglong) 1) << n)); }
bool is_prefix(uint n) const { return map == (((ulonglong)1) << n)-1; }
bool is_clear_all() const { return map == (ulonglong)0; }
bool is_set_all() const { return map == ~(ulonglong)0; }
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 5307f4f01f8..c6c5418e0cf 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -1333,6 +1333,7 @@ ulong Query_cache::resize(ulong query_cache_size_arg)
query->unlock_n_destroy();
block= block->next;
} while (block != queries_blocks);
+ queries_blocks= NULL; // avoid second destroying by free_cache
}
free_cache();
@@ -1404,9 +1405,9 @@ void Query_cache::store_query(THD *thd, TABLE_LIST *tables_used)
Query_cache_query_flags flags;
// fill all gaps between fields with 0 to get repeatable key
bzero(&flags, QUERY_CACHE_FLAGS_SIZE);
- flags.client_long_flag= test(thd->client_capabilities & CLIENT_LONG_FLAG);
- flags.client_protocol_41= test(thd->client_capabilities &
- CLIENT_PROTOCOL_41);
+ flags.client_long_flag= MY_TEST(thd->client_capabilities & CLIENT_LONG_FLAG);
+ flags.client_protocol_41= MY_TEST(thd->client_capabilities &
+ CLIENT_PROTOCOL_41);
/*
Protocol influences result format, so statement results in the binary
protocol (COM_EXECUTE) cannot be served to statements asking for results
@@ -1415,10 +1416,10 @@ void Query_cache::store_query(THD *thd, TABLE_LIST *tables_used)
flags.protocol_type= (unsigned int) thd->protocol->type();
/* PROTOCOL_LOCAL results are not cached. */
DBUG_ASSERT(flags.protocol_type != (unsigned int) Protocol::PROTOCOL_LOCAL);
- flags.more_results_exists= test(thd->server_status &
- SERVER_MORE_RESULTS_EXISTS);
+ flags.more_results_exists= MY_TEST(thd->server_status &
+ SERVER_MORE_RESULTS_EXISTS);
flags.in_trans= thd->in_active_multi_stmt_transaction();
- flags.autocommit= test(thd->server_status & SERVER_STATUS_AUTOCOMMIT);
+ flags.autocommit= MY_TEST(thd->server_status & SERVER_STATUS_AUTOCOMMIT);
flags.pkt_nr= net->pkt_nr;
flags.character_set_client_num=
thd->variables.character_set_client->number;
@@ -1899,14 +1900,14 @@ Query_cache::send_result_to_client(THD *thd, char *org_sql, uint query_length)
// fill all gaps between fields with 0 to get repeatable key
bzero(&flags, QUERY_CACHE_FLAGS_SIZE);
- flags.client_long_flag= test(thd->client_capabilities & CLIENT_LONG_FLAG);
- flags.client_protocol_41= test(thd->client_capabilities &
- CLIENT_PROTOCOL_41);
+ flags.client_long_flag= MY_TEST(thd->client_capabilities & CLIENT_LONG_FLAG);
+ flags.client_protocol_41= MY_TEST(thd->client_capabilities &
+ CLIENT_PROTOCOL_41);
flags.protocol_type= (unsigned int) thd->protocol->type();
- flags.more_results_exists= test(thd->server_status &
- SERVER_MORE_RESULTS_EXISTS);
+ flags.more_results_exists= MY_TEST(thd->server_status &
+ SERVER_MORE_RESULTS_EXISTS);
flags.in_trans= thd->in_active_multi_stmt_transaction();
- flags.autocommit= test(thd->server_status & SERVER_STATUS_AUTOCOMMIT);
+ flags.autocommit= MY_TEST(thd->server_status & SERVER_STATUS_AUTOCOMMIT);
flags.pkt_nr= thd->net.pkt_nr;
flags.character_set_client_num= thd->variables.character_set_client->number;
flags.character_set_results_num=
@@ -3409,7 +3410,7 @@ my_bool Query_cache::register_all_tables(THD *thd,
if (block_table->parent)
unlink_table(block_table);
}
- return test(n);
+ return MY_TEST(n);
}
@@ -4109,7 +4110,7 @@ Query_cache::is_cacheable(THD *thd, LEX *lex,
(long) OPTION_TO_QUERY_CACHE,
(long) lex->select_lex.options,
(int) thd->variables.query_cache_type,
- (uint) test(qc_is_able_to_intercept_result(thd))));
+ (uint) MY_TEST(qc_is_able_to_intercept_result(thd))));
DBUG_RETURN(0);
}
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index bcaea00b081..65499675455 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -515,14 +515,14 @@ extern "C" int mysql_tmpfile(const char *prefix)
extern "C"
int thd_in_lock_tables(const THD *thd)
{
- return test(thd->in_lock_tables);
+ return MY_TEST(thd->in_lock_tables);
}
extern "C"
int thd_tablespace_op(const THD *thd)
{
- return test(thd->tablespace_op);
+ return MY_TEST(thd->tablespace_op);
}
extern "C"
@@ -1386,6 +1386,7 @@ void THD::init(void)
set_status_var_init();
bzero((char *) &org_status_var, sizeof(org_status_var));
start_bytes_received= 0;
+ last_commit_gtid.seq_no= 0;
if (variables.sql_log_bin)
variables.option_bits|= OPTION_BIN_LOG;
@@ -1486,9 +1487,7 @@ void THD::init_for_queries()
void THD::change_user(void)
{
- mysql_mutex_lock(&LOCK_status);
- add_to_status(&global_status_var, &status_var);
- mysql_mutex_unlock(&LOCK_status);
+ add_status_to_global();
cleanup();
reset_killed();
@@ -1519,6 +1518,7 @@ void THD::cleanup(void)
#endif
mysql_ha_cleanup(this);
+ locked_tables_list.unlock_locked_tables(this);
close_temporary_tables(this);
@@ -1526,8 +1526,6 @@ void THD::cleanup(void)
trans_rollback(this);
xid_cache_delete(&transaction.xid_state);
- locked_tables_list.unlock_locked_tables(this);
-
DBUG_ASSERT(open_tables == NULL);
/*
If the thread was in the middle of an ongoing transaction (rolled
@@ -2441,12 +2439,6 @@ select_result::select_result()
thd=current_thd;
}
-void select_result::send_error(uint errcode,const char *err)
-{
- my_message(errcode, err, MYF(0));
-}
-
-
void select_result::cleanup()
{
/* do nothing */
@@ -2588,23 +2580,9 @@ bool select_send::send_eof()
Handling writing to file
************************************************************************/
-void select_to_file::send_error(uint errcode,const char *err)
-{
- my_message(errcode, err, MYF(0));
- if (file > 0)
- {
- (void) end_io_cache(&cache);
- mysql_file_close(file, MYF(0));
- /* Delete file on error */
- mysql_file_delete(key_select_to_file, path, MYF(0));
- file= -1;
- }
-}
-
-
bool select_to_file::send_eof()
{
- int error= test(end_io_cache(&cache));
+ int error= MY_TEST(end_io_cache(&cache));
if (mysql_file_close(file, MYF(MY_WME)) || thd->is_error())
error= true;
@@ -2785,8 +2763,8 @@ select_export::prepare(List<Item> &list, SELECT_LEX_UNIT *u)
escape_char= (int) (uchar) (*exchange->escaped)[0];
else
escape_char= -1;
- is_ambiguous_field_sep= test(strchr(ESCAPE_CHARS, field_sep_char));
- is_unsafe_field_sep= test(strchr(NUMERIC_CHARS, field_sep_char));
+ is_ambiguous_field_sep= MY_TEST(strchr(ESCAPE_CHARS, field_sep_char));
+ is_unsafe_field_sep= MY_TEST(strchr(NUMERIC_CHARS, field_sep_char));
line_sep_char= (exchange->line_term->length() ?
(int) (uchar) (*exchange->line_term)[0] : INT_MAX);
if (!field_term_length)
@@ -4233,6 +4211,12 @@ extern "C" int thd_slave_thread(const MYSQL_THD thd)
return(thd->slave_thread);
}
+/* Returns true for a worker thread in parallel replication. */
+extern "C" int thd_rpl_is_parallel(const MYSQL_THD thd)
+{
+ return thd->rgi_slave && thd->rgi_slave->is_parallel_exec;
+}
+
extern "C" int thd_non_transactional_update(const MYSQL_THD thd)
{
return(thd->transaction.all.modified_non_trans_table);
@@ -5391,6 +5375,10 @@ THD::binlog_prepare_pending_rows_event(TABLE* table, uint32 serv_id,
/* Fetch the type code for the RowsEventT template parameter */
int const general_type_code= RowsEventT::TYPE_CODE;
+ /* Ensure that all events in a GTID group are in the same cache */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ is_transactional= 1;
+
/*
There is no good place to set up the transactional data, so we
have to do it here.
@@ -5586,6 +5574,10 @@ int THD::binlog_write_row(TABLE* table, bool is_trans,
size_t const len= pack_row(table, cols, row_data, record);
+ /* Ensure that all events in a GTID group are in the same cache */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ is_trans= 1;
+
Rows_log_event* const ev=
binlog_prepare_pending_rows_event(table, variables.server_id, cols, colcnt,
len, is_trans,
@@ -5619,6 +5611,10 @@ int THD::binlog_update_row(TABLE* table, bool is_trans,
size_t const after_size= pack_row(table, cols, after_row,
after_record);
+ /* Ensure that all events in a GTID group are in the same cache */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ is_trans= 1;
+
/*
Don't print debug messages when running valgrind since they can
trigger false warnings.
@@ -5661,6 +5657,10 @@ int THD::binlog_delete_row(TABLE* table, bool is_trans,
size_t const len= pack_row(table, cols, row_data, record);
+ /* Ensure that all events in a GTID group are in the same cache */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ is_trans= 1;
+
Rows_log_event* const ev=
binlog_prepare_pending_rows_event(table, variables.server_id, cols, colcnt,
len, is_trans,
@@ -5681,6 +5681,10 @@ int THD::binlog_remove_pending_rows_event(bool clear_maps,
if (!mysql_bin_log.is_open())
DBUG_RETURN(0);
+ /* Ensure that all events in a GTID group are in the same cache */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ is_transactional= 1;
+
mysql_bin_log.remove_pending_rows_event(this, is_transactional);
if (clear_maps)
@@ -5700,6 +5704,10 @@ int THD::binlog_flush_pending_rows_event(bool stmt_end, bool is_transactional)
if (!mysql_bin_log.is_open())
DBUG_RETURN(0);
+ /* Ensure that all events in a GTID group are in the same cache */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ is_transactional= 1;
+
/*
Mark the event as the last event of a statement if the stmt_end
flag is set.
@@ -5947,6 +5955,14 @@ int THD::binlog_query(THD::enum_binlog_query_type qtype, char const *query_arg,
show_query_type(qtype), (int) query_len, query_arg));
DBUG_ASSERT(query_arg && mysql_bin_log.is_open());
+ /* If this is withing a BEGIN ... COMMIT group, don't log it */
+ if (variables.option_bits & OPTION_GTID_BEGIN)
+ {
+ direct= 0;
+ is_trans= 1;
+ }
+ DBUG_PRINT("info", ("is_trans: %d direct: %d", is_trans, direct));
+
if (get_binlog_local_stmt_filter() == BINLOG_FILTER_SET)
{
/*
@@ -6085,14 +6101,23 @@ bool THD::rgi_have_temporary_tables()
}
+void
+wait_for_commit::reinit()
+{
+ subsequent_commits_list= NULL;
+ next_subsequent_commit= NULL;
+ waitee= NULL;
+ opaque_pointer= NULL;
+ wakeup_error= 0;
+ wakeup_subsequent_commits_running= false;
+}
+
+
wait_for_commit::wait_for_commit()
- : subsequent_commits_list(0), next_subsequent_commit(0), waitee(0),
- opaque_pointer(0),
- waiting_for_commit(false), wakeup_error(0),
- wakeup_subsequent_commits_running(false)
{
mysql_mutex_init(key_LOCK_wait_commit, &LOCK_wait_commit, MY_MUTEX_INIT_FAST);
mysql_cond_init(key_COND_wait_commit, &COND_wait_commit, 0);
+ reinit();
}
@@ -6140,7 +6165,7 @@ wait_for_commit::wakeup(int wakeup_error)
*/
mysql_mutex_lock(&LOCK_wait_commit);
- waiting_for_commit= false;
+ waitee= NULL;
this->wakeup_error= wakeup_error;
/*
Note that it is critical that the mysql_cond_signal() here is done while
@@ -6172,9 +6197,8 @@ wait_for_commit::wakeup(int wakeup_error)
void
wait_for_commit::register_wait_for_prior_commit(wait_for_commit *waitee)
{
- waiting_for_commit= true;
- wakeup_error= 0;
DBUG_ASSERT(!this->waitee /* No prior registration allowed */);
+ wakeup_error= 0;
this->waitee= waitee;
mysql_mutex_lock(&waitee->LOCK_wait_commit);
@@ -6184,7 +6208,7 @@ wait_for_commit::register_wait_for_prior_commit(wait_for_commit *waitee)
see comments on wakeup_subsequent_commits2() for details.
*/
if (waitee->wakeup_subsequent_commits_running)
- waiting_for_commit= false;
+ this->waitee= NULL;
else
{
/*
@@ -6214,9 +6238,9 @@ wait_for_commit::wait_for_prior_commit2(THD *thd)
thd->ENTER_COND(&COND_wait_commit, &LOCK_wait_commit,
&stage_waiting_for_prior_transaction_to_commit,
&old_stage);
- while (waiting_for_commit && !thd->check_killed())
+ while ((loc_waitee= this->waitee) && !thd->check_killed())
mysql_cond_wait(&COND_wait_commit, &LOCK_wait_commit);
- if (!waiting_for_commit)
+ if (!loc_waitee)
{
if (wakeup_error)
my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
@@ -6229,7 +6253,6 @@ wait_for_commit::wait_for_prior_commit2(THD *thd)
waiter as to whether we succeed or fail (eg. we may roll back but waitee
might attempt to commit both us and any subsequent commits waiting for us).
*/
- loc_waitee= this->waitee;
mysql_mutex_lock(&loc_waitee->LOCK_wait_commit);
if (loc_waitee->wakeup_subsequent_commits_running)
{
@@ -6238,21 +6261,29 @@ wait_for_commit::wait_for_prior_commit2(THD *thd)
do
{
mysql_cond_wait(&COND_wait_commit, &LOCK_wait_commit);
- } while (waiting_for_commit);
+ } while (this->waitee);
+ if (wakeup_error)
+ my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
goto end;
}
remove_from_list(&loc_waitee->subsequent_commits_list);
mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
+ this->waitee= NULL;
- DEBUG_SYNC(thd, "wait_for_prior_commit_killed");
wakeup_error= thd->killed_errno();
if (!wakeup_error)
wakeup_error= ER_QUERY_INTERRUPTED;
my_message(wakeup_error, ER(wakeup_error), MYF(0));
+ thd->EXIT_COND(&old_stage);
+ /*
+ Must do the DEBUG_SYNC() _after_ exit_cond(), as DEBUG_SYNC is not safe to
+ use within enter_cond/exit_cond.
+ */
+ DEBUG_SYNC(thd, "wait_for_prior_commit_killed");
+ return wakeup_error;
end:
thd->EXIT_COND(&old_stage);
- waitee= NULL;
return wakeup_error;
}
@@ -6335,10 +6366,11 @@ wait_for_commit::wakeup_subsequent_commits2(int wakeup_error)
void
wait_for_commit::unregister_wait_for_prior_commit2()
{
+ wait_for_commit *loc_waitee;
+
mysql_mutex_lock(&LOCK_wait_commit);
- if (waiting_for_commit)
+ if ((loc_waitee= this->waitee))
{
- wait_for_commit *loc_waitee= this->waitee;
mysql_mutex_lock(&loc_waitee->LOCK_wait_commit);
if (loc_waitee->wakeup_subsequent_commits_running)
{
@@ -6350,7 +6382,7 @@ wait_for_commit::unregister_wait_for_prior_commit2()
See comments on wakeup_subsequent_commits2() for more details.
*/
mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
- while (waiting_for_commit)
+ while (this->waitee)
mysql_cond_wait(&COND_wait_commit, &LOCK_wait_commit);
}
else
@@ -6358,10 +6390,10 @@ wait_for_commit::unregister_wait_for_prior_commit2()
/* Remove ourselves from the list in the waitee. */
remove_from_list(&loc_waitee->subsequent_commits_list);
mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
+ this->waitee= NULL;
}
}
mysql_mutex_unlock(&LOCK_wait_commit);
- this->waitee= NULL;
}
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 5c0684f5d68..801fe2d0206 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -55,6 +55,7 @@ void set_thd_stage_info(void *thd,
(thd)->enter_stage(& stage, NULL, __func__, __FILE__, __LINE__)
#include "my_apc.h"
+#include "rpl_gtid.h"
class Reprepare_observer;
class Relay_log_info;
@@ -79,6 +80,9 @@ enum enum_delay_key_write { DELAY_KEY_WRITE_NONE, DELAY_KEY_WRITE_ON,
enum enum_slave_exec_mode { SLAVE_EXEC_MODE_STRICT,
SLAVE_EXEC_MODE_IDEMPOTENT,
SLAVE_EXEC_MODE_LAST_BIT };
+enum enum_slave_run_triggers_for_rbr { SLAVE_RUN_TRIGGERS_FOR_RBR_NO,
+ SLAVE_RUN_TRIGGERS_FOR_RBR_YES,
+ SLAVE_RUN_TRIGGERS_FOR_RBR_LOGGING};
enum enum_slave_type_conversions { SLAVE_TYPE_CONVERSIONS_ALL_LOSSY,
SLAVE_TYPE_CONVERSIONS_ALL_NON_LOSSY};
enum enum_mark_columns
@@ -120,8 +124,9 @@ enum enum_filetype { FILETYPE_CSV, FILETYPE_XML };
#define MODE_PAD_CHAR_TO_FULL_LENGTH (1ULL << 31)
/* Bits for different old style modes */
-#define OLD_MODE_NO_DUP_KEY_WARNINGS_WITH_IGNORE 1
-#define OLD_MODE_NO_PROGRESS_INFO 2
+#define OLD_MODE_NO_DUP_KEY_WARNINGS_WITH_IGNORE (1 << 0)
+#define OLD_MODE_NO_PROGRESS_INFO (1 << 1)
+#define OLD_MODE_ZERO_DATE_TIME_CAST (1 << 2)
extern char internal_table_name[2];
extern char empty_c_string[1];
@@ -749,6 +754,11 @@ typedef struct system_status_var
#define last_system_status_var questions
#define last_cleared_system_status_var memory_used
+void add_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var);
+
+void add_diff_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var,
+ STATUS_VAR *dec_var);
+
void mark_transaction_to_rollback(THD *thd, bool all);
@@ -1516,10 +1526,12 @@ public:
MYF(MY_THREAD_SPECIFIC));
}
void unlock_locked_tables(THD *thd);
+ void unlock_locked_table(THD *thd, MDL_ticket *mdl_ticket);
~Locked_tables_list()
{
- unlock_locked_tables(0);
+ reset();
}
+ void reset();
bool init_locked_tables(THD *thd);
TABLE_LIST *locked_tables() { return m_locked_tables; }
void unlink_from_list(THD *thd, TABLE_LIST *table_list,
@@ -1528,6 +1540,9 @@ public:
MYSQL_LOCK *lock,
size_t reopen_count);
bool reopen_tables(THD *thd);
+ bool restore_lock(THD *thd, TABLE_LIST *dst_table_list, TABLE *table,
+ MYSQL_LOCK *lock);
+ void add_back_last_deleted_lock(TABLE_LIST *dst_table_list);
};
@@ -1651,8 +1666,8 @@ struct wait_for_commit
{
/*
The LOCK_wait_commit protects the fields subsequent_commits_list and
- wakeup_subsequent_commits_running (for a waitee), and the flag
- waiting_for_commit and associated COND_wait_commit (for a waiter).
+ wakeup_subsequent_commits_running (for a waitee), and the pointer
+ waiterr and associated COND_wait_commit (for a waiter).
*/
mysql_mutex_t LOCK_wait_commit;
mysql_cond_t COND_wait_commit;
@@ -1660,7 +1675,13 @@ struct wait_for_commit
wait_for_commit *subsequent_commits_list;
/* Link field for entries in subsequent_commits_list. */
wait_for_commit *next_subsequent_commit;
- /* Our waitee, if we did register_wait_for_prior_commit(), else NULL. */
+ /*
+ Our waitee, if we did register_wait_for_prior_commit(), and were not
+ yet woken up. Else NULL.
+
+ When this is cleared for wakeup, the COND_wait_commit condition is
+ signalled.
+ */
wait_for_commit *waitee;
/*
Generic pointer for use by the transaction coordinator to optimise the
@@ -1671,12 +1692,6 @@ struct wait_for_commit
used by another transaction coordinator for similar purposes.
*/
void *opaque_pointer;
- /*
- The waiting_for_commit flag is cleared when a waiter has been woken
- up. The COND_wait_commit condition is signalled when this has been
- cleared.
- */
- bool waiting_for_commit;
/* The wakeup error code from the waitee. 0 means no error. */
int wakeup_error;
/*
@@ -1692,10 +1707,14 @@ struct wait_for_commit
Quick inline check, to avoid function call and locking in the common case
where no wakeup is registered, or a registered wait was already signalled.
*/
- if (waiting_for_commit)
+ if (waitee)
return wait_for_prior_commit2(thd);
else
+ {
+ if (wakeup_error)
+ my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
return wakeup_error;
+ }
}
void wakeup_subsequent_commits(int wakeup_error)
{
@@ -1716,7 +1735,7 @@ struct wait_for_commit
}
void unregister_wait_for_prior_commit()
{
- if (waiting_for_commit)
+ if (waitee)
unregister_wait_for_prior_commit2();
}
/*
@@ -1736,7 +1755,7 @@ struct wait_for_commit
}
next_ptr_ptr= &cur->next_subsequent_commit;
}
- waiting_for_commit= false;
+ waitee= NULL;
}
void wakeup(int wakeup_error);
@@ -1747,6 +1766,7 @@ struct wait_for_commit
wait_for_commit();
~wait_for_commit();
+ void reinit();
};
@@ -1971,7 +1991,10 @@ public:
uint in_sub_stmt;
/* True when opt_userstat_running is set at start of query */
bool userstat_running;
- /* True if we want to log all errors */
+ /*
+ True if we have to log all errors. Are set by some engines to temporary
+ force errors to the error log.
+ */
bool log_all_errors;
/* Do not set socket timeouts for wait_timeout (used with threadpool) */
@@ -2562,12 +2585,12 @@ public:
*/
LEX_STRING connection_name;
char default_master_connection_buff[MAX_CONNECTION_NAME+1];
+ uint8 password; /* 0, 1 or 2 */
+ uint8 failed_com_change_user;
bool slave_thread, one_shot_set;
bool extra_port; /* If extra connection */
bool no_errors;
- uint8 password;
- uint8 failed_com_change_user;
/**
Set to TRUE if execution of the current compound statement
@@ -2600,13 +2623,6 @@ public:
/* for IS NULL => = last_insert_id() fix in remove_eq_conds() */
bool substitute_null_with_insert_id;
bool in_lock_tables;
- /**
- True if a slave error. Causes the slave to stop. Not the same
- as the statement execution error (is_error()), since
- a statement may be expected to return an error, e.g. because
- it returned an error on master, and this is OK on the slave.
- */
- bool is_slave_error;
bool bootstrap, cleanup_done;
/** is set if some thread specific value(s) used in a statement. */
@@ -2623,6 +2639,20 @@ public:
/* set during loop of derived table processing */
bool derived_tables_processing;
bool tablespace_op; /* This is TRUE in DISCARD/IMPORT TABLESPACE */
+ /* True if we have to log the current statement */
+ bool log_current_statement;
+ /**
+ True if a slave error. Causes the slave to stop. Not the same
+ as the statement execution error (is_error()), since
+ a statement may be expected to return an error, e.g. because
+ it returned an error on master, and this is OK on the slave.
+ */
+ bool is_slave_error;
+ /*
+ In case of a slave, set to the error code the master got when executing
+ the query. 0 if no error on the master.
+ */
+ int slave_expected_error;
sp_rcontext *spcont; // SP runtime context
sp_cache *sp_proc_cache;
@@ -3591,6 +3621,13 @@ public:
/* Wake this thread up from wait_for_wakeup_ready(). */
void signal_wakeup_ready();
+ void add_status_to_global()
+ {
+ mysql_mutex_lock(&LOCK_status);
+ add_to_status(&global_status_var, &status_var);
+ mysql_mutex_unlock(&LOCK_status);
+ }
+
wait_for_commit *wait_for_commit_ptr;
int wait_for_prior_commit()
{
@@ -3647,6 +3684,12 @@ private:
*/
LEX_STRING invoker_user;
LEX_STRING invoker_host;
+
+ /* Protect against add/delete of temporary tables in parallel replication */
+ void rgi_lock_temporary_tables();
+ void rgi_unlock_temporary_tables();
+ bool rgi_have_temporary_tables();
+public:
/*
Flag, mutex and condition for a thread to wait for a signal from another
thread.
@@ -3657,12 +3700,12 @@ private:
bool wakeup_ready;
mysql_mutex_t LOCK_wakeup_ready;
mysql_cond_t COND_wakeup_ready;
+ /*
+ The GTID assigned to the last commit. If no GTID was assigned to any commit
+ so far, this is indicated by last_commit_gtid.seq_no == 0.
+ */
+ rpl_gtid last_commit_gtid;
- /* Protect against add/delete of temporary tables in parallel replication */
- void rgi_lock_temporary_tables();
- void rgi_unlock_temporary_tables();
- bool rgi_have_temporary_tables();
-public:
inline void lock_temporary_tables()
{
if (rgi_slave)
@@ -3795,7 +3838,6 @@ public:
{ return fields.elements; }
virtual bool send_result_set_metadata(List<Item> &list, uint flags)=0;
virtual bool initialize_tables (JOIN *join=0) { return 0; }
- virtual void send_error(uint errcode,const char *err);
virtual bool send_eof()=0;
/**
Check if this query returns a result set and therefore is allowed in
@@ -3922,7 +3964,6 @@ public:
select_to_file(sql_exchange *ex) :exchange(ex), file(-1),row_count(0L)
{ path[0]=0; }
~select_to_file();
- void send_error(uint errcode,const char *err);
bool send_eof();
void cleanup();
};
@@ -3995,7 +4036,6 @@ class select_insert :public select_result_interceptor {
virtual int send_data(List<Item> &items);
virtual void store_values(List<Item> &values);
virtual bool can_rollback_data() { return 0; }
- void send_error(uint errcode,const char *err);
bool send_eof();
virtual void abort_result_set();
/* not implemented: select_insert is never re-used in prepared statements */
@@ -4014,6 +4054,8 @@ class select_create: public select_insert {
MYSQL_LOCK *m_lock;
/* m_lock or thd->extra_lock */
MYSQL_LOCK **m_plock;
+ bool exit_done;
+
public:
select_create (TABLE_LIST *table_arg,
HA_CREATE_INFO *create_info_par,
@@ -4025,13 +4067,12 @@ public:
create_info(create_info_par),
select_tables(select_tables_arg),
alter_info(alter_info_arg),
- m_plock(NULL)
+ m_plock(NULL), exit_done(0)
{}
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
int binlog_show_create_table(TABLE **tables, uint count);
void store_values(List<Item> &values);
- void send_error(uint errcode,const char *err);
bool send_eof();
virtual void abort_result_set();
virtual bool can_rollback_data() { return 1; }
@@ -4425,7 +4466,7 @@ public:
table.str= internal_table_name;
table.length=1;
}
- bool is_derived_table() const { return test(sel); }
+ bool is_derived_table() const { return MY_TEST(sel); }
inline void change_db(char *db_name)
{
db.str= db_name; db.length= (uint) strlen(db_name);
@@ -4549,7 +4590,7 @@ class multi_delete :public select_result_interceptor
bool delete_while_scanning;
/*
error handling (rollback and binlogging) can happen in send_eof()
- so that afterward send_error() needs to find out that.
+ so that afterward abort_result_set() needs to find out that.
*/
bool error_handled;
@@ -4559,7 +4600,6 @@ public:
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
int send_data(List<Item> &items);
bool initialize_tables (JOIN *join);
- void send_error(uint errcode,const char *err);
int do_deletes();
int do_table_deletes(TABLE *table, bool ignore);
bool send_eof();
@@ -4595,7 +4635,7 @@ class multi_update :public select_result_interceptor
bool ignore;
/*
error handling (rollback and binlogging) can happen in send_eof()
- so that afterward send_error() needs to find out that.
+ so that afterward abort_result_set() needs to find out that.
*/
bool error_handled;
@@ -4609,7 +4649,6 @@ public:
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
int send_data(List<Item> &items);
bool initialize_tables (JOIN *join);
- void send_error(uint errcode,const char *err);
int do_updates();
bool send_eof();
inline ha_rows num_found()
@@ -4783,10 +4822,6 @@ public:
*/
#define CF_SKIP_QUESTIONS (1U << 1)
-void add_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var);
-
-void add_diff_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var,
- STATUS_VAR *dec_var);
void mark_transaction_to_rollback(THD *thd, bool all);
/* Inline functions */
diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc
index f14c43d4c54..997fd7923a0 100644
--- a/sql/sql_connect.cc
+++ b/sql/sql_connect.cc
@@ -1,6 +1,6 @@
/*
- Copyright (c) 2007, 2012, Oracle and/or its affiliates.
- Copyright (c) 2008, 2013, Monty Program Ab
+ Copyright (c) 2007, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index 8068901ebec..063b90a6780 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -49,7 +49,7 @@
#define MAX_DROP_TABLE_Q_LEN 1024
-const char *del_exts[]= {".BAK", ".TMD",".opt", NullS};
+const char *del_exts[]= {".BAK", ".opt", NullS};
static TYPELIB deletable_extentions=
{array_elements(del_exts)-1,"del_exts", del_exts, NULL};
@@ -78,6 +78,29 @@ typedef struct my_dbopt_st
} my_dbopt_t;
+/**
+ Return TRUE if db1_name is equal to db2_name, FALSE otherwise.
+
+ The function allows to compare database names according to the MariaDB
+ rules. The database names db1 and db2 are equal if:
+ - db1 is NULL and db2 is NULL;
+ or
+ - db1 is not-NULL, db2 is not-NULL, db1 is equal to db2 in
+ table_alias_charset
+
+ This is the same rules as we use for filenames.
+*/
+
+static inline bool
+cmp_db_names(const char *db1_name,
+ const char *db2_name)
+{
+ return ((!db1_name && !db2_name) ||
+ (db1_name && db2_name &&
+ my_strcasecmp(table_alias_charset, db1_name, db2_name) == 0));
+}
+
+
/*
Function we use in the creation of our hash to get key.
*/
@@ -159,8 +182,7 @@ bool my_dboptions_cache_init(void)
if (!dboptions_init)
{
dboptions_init= 1;
- error= my_hash_init(&dboptions, lower_case_table_names ?
- &my_charset_bin : system_charset_info,
+ error= my_hash_init(&dboptions, table_alias_charset,
32, 0, 0, (my_hash_get_key) dboptions_get_key,
free_dbopt,0);
}
@@ -192,8 +214,7 @@ void my_dbopt_cleanup(void)
{
mysql_rwlock_wrlock(&LOCK_dboptions);
my_hash_free(&dboptions);
- my_hash_init(&dboptions, lower_case_table_names ?
- &my_charset_bin : system_charset_info,
+ my_hash_init(&dboptions, table_alias_charset,
32, 0, 0, (my_hash_get_key) dboptions_get_key,
free_dbopt,0);
mysql_rwlock_unlock(&LOCK_dboptions);
@@ -558,7 +579,17 @@ int mysql_create_db(THD *thd, char *db, HA_CREATE_INFO *create_info,
DBUG_RETURN(-1);
}
- if (lock_schema_name(thd, db))
+ char db_tmp[SAFE_NAME_LEN], *dbnorm;
+ if (lower_case_table_names)
+ {
+ strmake_buf(db_tmp, db);
+ my_casedn_str(system_charset_info, db_tmp);
+ dbnorm= db_tmp;
+ }
+ else
+ dbnorm= db;
+
+ if (lock_schema_name(thd, dbnorm))
DBUG_RETURN(-1);
/* Check directory */
@@ -762,8 +793,17 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
Drop_table_error_handler err_handler;
DBUG_ENTER("mysql_rm_db");
+ char db_tmp[SAFE_NAME_LEN], *dbnorm;
+ if (lower_case_table_names)
+ {
+ strmake_buf(db_tmp, db);
+ my_casedn_str(system_charset_info, db_tmp);
+ dbnorm= db_tmp;
+ }
+ else
+ dbnorm= db;
- if (lock_schema_name(thd, db))
+ if (lock_schema_name(thd, dbnorm))
DBUG_RETURN(true);
length= build_table_filename(path, sizeof(path) - 1, db, "", "", 0);
@@ -788,7 +828,7 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
}
}
- if (find_db_tables_and_rm_known_files(thd, dirp, db, path, &tables))
+ if (find_db_tables_and_rm_known_files(thd, dirp, dbnorm, path, &tables))
goto exit;
/*
@@ -798,20 +838,14 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
if ((my_strcasecmp(system_charset_info, MYSQL_SCHEMA_NAME.str, db) == 0))
{
for (table= tables; table; table= table->next_local)
- {
- if (check_if_log_table(table->db_length, table->db,
- table->table_name_length, table->table_name, true))
- {
- my_error(ER_BAD_LOG_STATEMENT, MYF(0), "DROP");
+ if (check_if_log_table(table, TRUE, "DROP"))
goto exit;
- }
- }
}
/* Lock all tables and stored routines about to be dropped. */
if (lock_table_names(thd, tables, NULL, thd->variables.lock_wait_timeout,
0) ||
- lock_db_routines(thd, db))
+ lock_db_routines(thd, dbnorm))
goto exit;
if (!in_bootstrap)
@@ -835,7 +869,7 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
thd->push_internal_handler(&err_handler);
if (!thd->killed &&
!(tables &&
- mysql_rm_table_no_locks(thd, tables, true, false, true, true)))
+ mysql_rm_table_no_locks(thd, tables, true, false, true, true, false)))
{
/*
We temporarily disable the binary log while dropping the objects
@@ -858,10 +892,10 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
ha_drop_database(path);
tmp_disable_binlog(thd);
- query_cache_invalidate1(thd, db);
- (void) sp_drop_db_routines(thd, db); /* @todo Do not ignore errors */
+ query_cache_invalidate1(thd, dbnorm);
+ (void) sp_drop_db_routines(thd, dbnorm); /* @todo Do not ignore errors */
#ifdef HAVE_EVENT_SCHEDULER
- Events::drop_schema_events(thd, db);
+ Events::drop_schema_events(thd, dbnorm);
#endif
reenable_binlog(thd);
@@ -972,7 +1006,7 @@ exit:
SELECT DATABASE() in the future). For this we free() thd->db and set
it to 0.
*/
- if (thd->db && !strcmp(thd->db, db) && !error)
+ if (thd->db && cmp_db_names(thd->db, db) && !error)
mysql_change_db_impl(thd, NULL, 0, thd->variables.collation_server);
my_dirend(dirp);
DBUG_RETURN(error);
@@ -1306,27 +1340,6 @@ static void backup_current_db_name(THD *thd,
/**
- Return TRUE if db1_name is equal to db2_name, FALSE otherwise.
-
- The function allows to compare database names according to the MySQL
- rules. The database names db1 and db2 are equal if:
- - db1 is NULL and db2 is NULL;
- or
- - db1 is not-NULL, db2 is not-NULL, db1 is equal (ignoring case) to
- db2 in system character set (UTF8).
-*/
-
-static inline bool
-cmp_db_names(const char *db1_name,
- const char *db2_name)
-{
- return ((!db1_name && !db2_name) ||
- (db1_name && db2_name &&
- my_strcasecmp(system_charset_info, db1_name, db2_name) == 0));
-}
-
-
-/**
@brief Change the current database and its attributes unconditionally.
@param thd thread handle
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index 1500f1615fb..b3a8eb2a97b 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -140,7 +140,7 @@ void Update_plan::save_explain_data_intern(Explain_query *query,
explain->jtype= JT_NEXT;
}
- explain->using_where= test(select && select->cond);
+ explain->using_where= MY_TEST(select && select->cond);
explain->using_filesort= using_filesort;
explain->using_io_buffer= using_io_buffer;
@@ -252,7 +252,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
table->map=1;
query_plan.select_lex= &thd->lex->select_lex;
query_plan.table= table;
- query_plan.updating_a_view= test(table_list->view);
+ query_plan.updating_a_view= MY_TEST(table_list->view);
if (mysql_prepare_delete(thd, table_list, select_lex->with_wild,
select_lex->item_list, &conds))
@@ -291,7 +291,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
DBUG_RETURN(TRUE);
const_cond= (!conds || conds->const_item());
- safe_update=test(thd->variables.option_bits & OPTION_SAFE_UPDATES);
+ safe_update= MY_TEST(thd->variables.option_bits & OPTION_SAFE_UPDATES);
if (safe_update && const_cond)
{
my_message(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE,
@@ -521,16 +521,8 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
init_ftfuncs(thd, select_lex, 1);
THD_STAGE_INFO(thd, stage_updating);
- if (table->triggers &&
- table->triggers->has_triggers(TRG_EVENT_DELETE,
- TRG_ACTION_AFTER))
+ if (table->prepare_triggers_for_delete_stmt_or_event())
{
- /*
- The table has AFTER DELETE triggers that might access to subject table
- and therefore might need delete to be done immediately. So we turn-off
- the batching.
- */
- (void) table->file->extra(HA_EXTRA_DELETE_CANNOT_BATCH);
will_batch= FALSE;
}
else
@@ -938,17 +930,7 @@ multi_delete::initialize_tables(JOIN *join)
transactional_tables= 1;
else
normal_tables= 1;
- if (tbl->triggers &&
- tbl->triggers->has_triggers(TRG_EVENT_DELETE,
- TRG_ACTION_AFTER))
- {
- /*
- The table has AFTER DELETE triggers that might access to subject
- table and therefore might need delete to be done immediately.
- So we turn-off the batching.
- */
- (void) tbl->file->extra(HA_EXTRA_DELETE_CANNOT_BATCH);
- }
+ tbl->prepare_triggers_for_delete_stmt_or_event();
tbl->prepare_for_position();
tbl->mark_columns_needed_for_delete();
}
@@ -1065,17 +1047,6 @@ int multi_delete::send_data(List<Item> &values)
}
-void multi_delete::send_error(uint errcode,const char *err)
-{
- DBUG_ENTER("multi_delete::send_error");
-
- /* First send error what ever it is ... */
- my_message(errcode, err, MYF(0));
-
- DBUG_VOID_RETURN;
-}
-
-
void multi_delete::abort_result_set()
{
DBUG_ENTER("multi_delete::abort_result_set");
@@ -1310,7 +1281,7 @@ bool multi_delete::send_eof()
}
}
if (local_error != 0)
- error_handled= TRUE; // to force early leave from ::send_error()
+ error_handled= TRUE; // to force early leave from ::abort_result_set()
if (!local_error)
{
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index 00ea0977a07..c2941d55dcb 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -68,8 +68,10 @@ mysql_handle_derived(LEX *lex, uint phases)
{
bool res= FALSE;
THD *thd= lex->thd;
+ DBUG_ENTER("mysql_handle_derived");
+ DBUG_PRINT("enter", ("phases: 0x%x", phases));
if (!lex->derived_tables)
- return FALSE;
+ DBUG_RETURN(FALSE);
lex->thd->derived_tables_processing= TRUE;
@@ -127,7 +129,7 @@ mysql_handle_derived(LEX *lex, uint phases)
}
}
lex->thd->derived_tables_processing= FALSE;
- return res;
+ DBUG_RETURN(res);
}
/*
@@ -166,8 +168,10 @@ mysql_handle_single_derived(LEX *lex, TABLE_LIST *derived, uint phases)
THD *thd= lex->thd;
uint8 allowed_phases= (derived->is_merged_derived() ? DT_PHASES_MERGE :
DT_PHASES_MATERIALIZE);
+ DBUG_ENTER("mysql_handle_single_derived");
+ DBUG_PRINT("enter", ("phases: 0x%x allowed: 0x%x", phases, allowed_phases));
if (!lex->derived_tables)
- return FALSE;
+ DBUG_RETURN(FALSE);
lex->thd->derived_tables_processing= TRUE;
@@ -189,7 +193,7 @@ mysql_handle_single_derived(LEX *lex, TABLE_LIST *derived, uint phases)
break;
}
lex->thd->derived_tables_processing= FALSE;
- return res;
+ DBUG_RETURN(res);
}
@@ -354,16 +358,17 @@ bool mysql_derived_merge(THD *thd, LEX *lex, TABLE_LIST *derived)
uint tablenr;
SELECT_LEX *parent_lex= derived->select_lex;
Query_arena *arena, backup;
+ DBUG_ENTER("mysql_derived_merge");
if (derived->merged)
- return FALSE;
+ DBUG_RETURN(FALSE);
if (dt_select->uncacheable & UNCACHEABLE_RAND)
{
/* There is random function => fall back to materialization. */
derived->change_refs_to_fields();
derived->set_materialized_derived();
- return FALSE;
+ DBUG_RETURN(FALSE);
}
if (thd->lex->sql_command == SQLCOM_UPDATE_MULTI ||
@@ -467,7 +472,7 @@ bool mysql_derived_merge(THD *thd, LEX *lex, TABLE_LIST *derived)
exit_merge:
if (arena)
thd->restore_active_arena(arena, &backup);
- return res;
+ DBUG_RETURN(res);
}
@@ -492,14 +497,15 @@ exit_merge:
bool mysql_derived_merge_for_insert(THD *thd, LEX *lex, TABLE_LIST *derived)
{
+ DBUG_ENTER("mysql_derived_merge_for_insert");
if (derived->merged_for_insert)
- return FALSE;
+ DBUG_RETURN(FALSE);
if (derived->is_materialized_derived())
- return mysql_derived_prepare(thd, lex, derived);
+ DBUG_RETURN(mysql_derived_prepare(thd, lex, derived));
if (!derived->is_multitable())
{
if (!derived->single_table_updatable())
- return derived->create_field_translation(thd);
+ DBUG_RETURN(derived->create_field_translation(thd));
if (derived->merge_underlying_list)
{
derived->table= derived->merge_underlying_list->table;
@@ -507,7 +513,7 @@ bool mysql_derived_merge_for_insert(THD *thd, LEX *lex, TABLE_LIST *derived)
derived->merged_for_insert= TRUE;
}
}
- return FALSE;
+ DBUG_RETURN(FALSE);
}
@@ -761,9 +767,10 @@ bool mysql_derived_optimize(THD *thd, LEX *lex, TABLE_LIST *derived)
SELECT_LEX *save_current_select= lex->current_select;
bool res= FALSE;
+ DBUG_ENTER("mysql_derived_optimize");
if (unit->optimized)
- return FALSE;
+ DBUG_RETURN(FALSE);
lex->current_select= first_select;
if (unit->is_union())
@@ -803,7 +810,7 @@ bool mysql_derived_optimize(THD *thd, LEX *lex, TABLE_LIST *derived)
}
err:
lex->current_select= save_current_select;
- return res;
+ DBUG_RETURN(res);
}
@@ -825,11 +832,12 @@ err:
bool mysql_derived_create(THD *thd, LEX *lex, TABLE_LIST *derived)
{
+ DBUG_ENTER("mysql_derived_create");
TABLE *table= derived->table;
SELECT_LEX_UNIT *unit= derived->get_unit();
if (table->created)
- return FALSE;
+ DBUG_RETURN(FALSE);
select_union *result= (select_union*)unit->result;
if (table->s->db_type() == TMP_ENGINE_HTON)
{
@@ -839,13 +847,13 @@ bool mysql_derived_create(THD *thd, LEX *lex, TABLE_LIST *derived)
&result->tmp_table_param.recinfo,
(unit->first_select()->options |
thd->variables.option_bits | TMP_TABLE_ALL_COLUMNS)))
- return(TRUE);
+ DBUG_RETURN(TRUE);
}
if (open_tmp_table(table))
- return TRUE;
+ DBUG_RETURN(TRUE);
table->file->extra(HA_EXTRA_WRITE_CACHE);
table->file->extra(HA_EXTRA_IGNORE_DUP_KEY);
- return FALSE;
+ DBUG_RETURN(FALSE);
}
@@ -874,11 +882,12 @@ bool mysql_derived_create(THD *thd, LEX *lex, TABLE_LIST *derived)
bool mysql_derived_fill(THD *thd, LEX *lex, TABLE_LIST *derived)
{
+ DBUG_ENTER("mysql_derived_fill");
SELECT_LEX_UNIT *unit= derived->get_unit();
bool res= FALSE;
if (unit->executed && !unit->uncacheable && !unit->describe)
- return FALSE;
+ DBUG_RETURN(FALSE);
/*check that table creation passed without problems. */
DBUG_ASSERT(derived->table && derived->table->created);
SELECT_LEX *first_select= unit->first_select();
@@ -920,7 +929,7 @@ bool mysql_derived_fill(THD *thd, LEX *lex, TABLE_LIST *derived)
unit->cleanup();
lex->current_select= save_current_select;
- return res;
+ DBUG_RETURN(res);
}
@@ -943,6 +952,7 @@ bool mysql_derived_fill(THD *thd, LEX *lex, TABLE_LIST *derived)
bool mysql_derived_reinit(THD *thd, LEX *lex, TABLE_LIST *derived)
{
+ DBUG_ENTER("mysql_derived_reinit");
st_select_lex_unit *unit= derived->get_unit();
if (derived->table)
@@ -952,6 +962,6 @@ bool mysql_derived_reinit(THD *thd, LEX *lex, TABLE_LIST *derived)
/* for derived tables & PS (which can't be reset by Item_subquery) */
unit->reinit_exec_mechanism();
unit->set_thd(thd);
- return FALSE;
+ DBUG_RETURN(FALSE);
}
diff --git a/sql/sql_error.cc b/sql/sql_error.cc
index f382f18a983..fb1bb811c9d 100644
--- a/sql/sql_error.cc
+++ b/sql/sql_error.cc
@@ -464,6 +464,7 @@ Diagnostics_area::set_error_status(uint sql_errno,
const Sql_condition *error_condition)
{
DBUG_ENTER("set_error_status");
+ DBUG_PRINT("enter", ("error: %d", sql_errno));
/*
Only allowed to report error if has not yet reported a success
The only exception is when we flush the message to the client,
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 812a5dc1461..a6c471f67d5 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -1115,8 +1115,6 @@ void mysql_ha_flush(THD *thd)
SQL_HANDLER *hash_tables;
DBUG_ENTER("mysql_ha_flush");
- mysql_mutex_assert_not_owner(&LOCK_open);
-
/*
Don't try to flush open HANDLERs when we're working with
system tables. The main MDL context is backed up and we can't
@@ -1135,7 +1133,7 @@ void mysql_ha_flush(THD *thd)
((hash_tables->table->mdl_ticket &&
hash_tables->table->mdl_ticket->has_pending_conflicting_lock()) ||
(!hash_tables->table->s->tmp_table &&
- hash_tables->table->s->has_old_version())))
+ hash_tables->table->s->tdc.flushed)))
mysql_ha_close_table(hash_tables);
}
diff --git a/sql/sql_help.cc b/sql/sql_help.cc
index d3c36e2c5d7..844810af0f4 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -1,5 +1,4 @@
-/*
- Copyright (c) 2002, 2011, Oracle and/or its affiliates.
+/* Copyright (c) 2002, 2012, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index e0ecfcac72e..d61af758ced 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -373,48 +373,6 @@ static int check_update_fields(THD *thd, TABLE_LIST *insert_table_list,
return 0;
}
-/*
- Prepare triggers for INSERT-like statement.
-
- SYNOPSIS
- prepare_triggers_for_insert_stmt()
- table Table to which insert will happen
-
- NOTE
- Prepare triggers for INSERT-like statement by marking fields
- used by triggers and inform handlers that batching of UPDATE/DELETE
- cannot be done if there are BEFORE UPDATE/DELETE triggers.
-*/
-
-void prepare_triggers_for_insert_stmt(TABLE *table)
-{
- if (table->triggers)
- {
- if (table->triggers->has_triggers(TRG_EVENT_DELETE,
- TRG_ACTION_AFTER))
- {
- /*
- The table has AFTER DELETE triggers that might access to
- subject table and therefore might need delete to be done
- immediately. So we turn-off the batching.
- */
- (void) table->file->extra(HA_EXTRA_DELETE_CANNOT_BATCH);
- }
- if (table->triggers->has_triggers(TRG_EVENT_UPDATE,
- TRG_ACTION_AFTER))
- {
- /*
- The table has AFTER UPDATE triggers that might access to subject
- table and therefore might need update to be done immediately.
- So we turn-off the batching.
- */
- (void) table->file->extra(HA_EXTRA_UPDATE_CANNOT_BATCH);
- }
- }
- table->mark_columns_needed_for_insert();
-}
-
-
/**
Upgrade table-level lock of INSERT statement to TL_WRITE if
a more concurrent lock is infeasible for some reason. This is
@@ -660,7 +618,7 @@ static void save_insert_query_plan(THD* thd, TABLE_LIST *table_list)
thd->lex->explain->add_insert_plan(explain);
/* See Update_plan::updating_a_view for details */
- bool skip= test(table_list->view);
+ bool skip= MY_TEST(table_list->view);
/* Save subquery children */
for (SELECT_LEX_UNIT *unit= thd->lex->select_lex.first_inner_unit();
@@ -902,7 +860,8 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
thd->abort_on_warning= !ignore && thd->is_strict_mode();
- prepare_triggers_for_insert_stmt(table);
+ table->prepare_triggers_for_insert_stmt_or_event();
+ table->mark_columns_needed_for_insert();
if (table_list->prepare_where(thd, 0, TRUE) ||
@@ -1229,7 +1188,7 @@ static bool check_view_insertability(THD * thd, TABLE_LIST *view)
DBUG_ASSERT(view->table != 0 && view->field_translation != 0);
- (void) bitmap_init(&used_fields, used_fields_buff, table->s->fields, 0);
+ (void) my_bitmap_init(&used_fields, used_fields_buff, table->s->fields, 0);
bitmap_clear_all(&used_fields);
view->contain_auto_increment= 0;
@@ -1933,7 +1892,7 @@ int check_that_all_fields_are_given_values(THD *thd, TABLE *entry,
if (table_list)
{
table_list= table_list->top_table();
- view= test(table_list->view);
+ view= MY_TEST(table_list->view);
}
if (view)
{
@@ -3072,7 +3031,7 @@ bool Delayed_insert::handle_inserts(void)
THD_STAGE_INFO(&thd, stage_insert);
max_rows= delayed_insert_limit;
- if (thd.killed || table->s->has_old_version())
+ if (thd.killed || table->s->tdc.flushed)
{
thd.killed= KILL_SYSTEM_THREAD;
max_rows= ULONG_MAX; // Do as much as possible
@@ -3537,7 +3496,10 @@ select_insert::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
table_list->prepare_check_option(thd));
if (!res)
- prepare_triggers_for_insert_stmt(table);
+ {
+ table->prepare_triggers_for_insert_stmt_or_event();
+ table->mark_columns_needed_for_insert();
+ }
DBUG_RETURN(res);
}
@@ -3674,16 +3636,6 @@ void select_insert::store_values(List<Item> &values)
TRG_EVENT_INSERT);
}
-void select_insert::send_error(uint errcode,const char *err)
-{
- DBUG_ENTER("select_insert::send_error");
-
- my_message(errcode, err, MYF(0));
-
- DBUG_VOID_RETURN;
-}
-
-
bool select_insert::send_eof()
{
int error;
@@ -3803,7 +3755,8 @@ void select_insert::abort_result_set() {
*/
changed= (info.copied || info.deleted || info.updated);
transactional_table= table->file->has_transactions();
- if (thd->transaction.stmt.modified_non_trans_table)
+ if (thd->transaction.stmt.modified_non_trans_table ||
+ thd->log_current_statement)
{
if (!can_rollback_data())
thd->transaction.all.modified_non_trans_table= TRUE;
@@ -3925,6 +3878,16 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
DEBUG_SYNC(thd,"create_table_select_before_create");
+ /* Check if LOCK TABLES + CREATE OR REPLACE of existing normal table*/
+ if (thd->locked_tables_mode && create_table->table &&
+ !create_info->tmp_table())
+ {
+ /* Remember information about the locked table */
+ create_info->pos_in_locked_tables=
+ create_table->table->pos_in_locked_tables;
+ create_info->mdl_ticket= create_table->table->mdl_ticket;
+ }
+
/*
Create and lock table.
@@ -3941,52 +3904,64 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
TABLE, which is a wrong order. So we keep binary logging disabled when we
open_table().
*/
+
+ if (!mysql_create_table_no_lock(thd, create_table->db,
+ create_table->table_name,
+ create_info, alter_info, NULL,
+ select_field_count))
{
- if (!mysql_create_table_no_lock(thd, create_table->db,
- create_table->table_name,
- create_info, alter_info, NULL,
- select_field_count))
+ DEBUG_SYNC(thd,"create_table_select_before_open");
+
+ /*
+ If we had a temporary table or a table used with LOCK TABLES,
+ it was closed by mysql_create()
+ */
+ create_table->table= 0;
+
+ if (!create_info->tmp_table())
{
- DEBUG_SYNC(thd,"create_table_select_before_open");
+ Open_table_context ot_ctx(thd, MYSQL_OPEN_REOPEN);
+ TABLE_LIST::enum_open_strategy save_open_strategy;
- if (!create_info->tmp_table())
- {
- Open_table_context ot_ctx(thd, MYSQL_OPEN_REOPEN);
- /*
- Here we open the destination table, on which we already have
- an exclusive metadata lock.
- */
- if (open_table(thd, create_table, thd->mem_root, &ot_ctx))
- {
- quick_rm_table(thd, create_info->db_type, create_table->db,
- table_case_name(create_info, create_table->table_name),
- 0);
- }
- else
- table= create_table->table;
- }
- else
+ /* Force the newly created table to be opened */
+ save_open_strategy= create_table->open_strategy;
+ create_table->open_strategy= TABLE_LIST::OPEN_NORMAL;
+ /*
+ Here we open the destination table, on which we already have
+ an exclusive metadata lock.
+ */
+ if (open_table(thd, create_table, thd->mem_root, &ot_ctx))
{
- if (open_temporary_table(thd, create_table))
- {
- /*
- This shouldn't happen as creation of temporary table should make
- it preparable for open. Anyway we can't drop temporary table if
- we are unable to find it.
- */
- DBUG_ASSERT(0);
- }
- else
- table= create_table->table;
+ quick_rm_table(thd, create_info->db_type, create_table->db,
+ table_case_name(create_info, create_table->table_name),
+ 0);
}
+ /* Restore */
+ create_table->open_strategy= save_open_strategy;
}
- if (!table) // open failed
+ else
{
- if (!thd->is_error()) // CREATE ... IF NOT EXISTS
- my_ok(thd); // succeed, but did nothing
- DBUG_RETURN(0);
+ if (open_temporary_table(thd, create_table))
+ {
+ /*
+ This shouldn't happen as creation of temporary table should make
+ it preparable for open. Anyway we can't drop temporary table if
+ we are unable to find it.
+ */
+ DBUG_ASSERT(0);
+ }
+ DBUG_ASSERT(create_table->table == create_info->table);
}
}
+ else
+ create_table->table= 0; // Create failed
+
+ if (!(table= create_table->table))
+ {
+ if (!thd->is_error()) // CREATE ... IF NOT EXISTS
+ my_ok(thd); // succeed, but did nothing
+ DBUG_RETURN(0);
+ }
DEBUG_SYNC(thd,"create_table_select_before_lock");
@@ -4003,7 +3978,7 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
/* purecov: begin tested */
/*
This can happen in innodb when you get a deadlock when using same table
- in insert and select
+ in insert and select or when you run out of memory.
*/
my_error(ER_CANT_LOCK, MYF(0), my_errno);
if (*lock)
@@ -4101,8 +4076,6 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
thd->binlog_start_trans_and_stmt();
}
- DBUG_ASSERT(create_table->table == NULL);
-
DEBUG_SYNC(thd,"create_table_select_before_check_if_exists");
if (!(table= create_table_from_items(thd, create_info, create_table,
@@ -4190,7 +4163,10 @@ select_create::binlog_show_create_table(TABLE **tables, uint count)
query.length(0); // Have to zero it since constructor doesn't
result= store_create_info(thd, &tmp_table_list, &query, create_info,
- /* show_database */ TRUE);
+ /* show_database */ TRUE,
+ MY_TEST(create_info->org_options &
+ HA_LEX_CREATE_REPLACE) ||
+ create_info->table_was_deleted);
DBUG_ASSERT(result == 0); /* store_create_info() always return 0 */
if (mysql_bin_log.is_open())
@@ -4213,71 +4189,71 @@ void select_create::store_values(List<Item> &values)
}
-void select_create::send_error(uint errcode,const char *err)
+bool select_create::send_eof()
{
- DBUG_ENTER("select_create::send_error");
-
- DBUG_PRINT("info",
- ("Current statement %s row-based",
- thd->is_current_stmt_binlog_format_row() ? "is" : "is NOT"));
- DBUG_PRINT("info",
- ("Current table (at 0x%lu) %s a temporary (or non-existant) table",
- (ulong) table,
- table && !table->s->tmp_table ? "is NOT" : "is"));
- /*
- This will execute any rollbacks that are necessary before writing
- the transcation cache.
-
- We disable the binary log since nothing should be written to the
- binary log. This disabling is important, since we potentially do
- a "roll back" of non-transactional tables by removing the table,
- and the actual rollback might generate events that should not be
- written to the binary log.
+ if (select_insert::send_eof())
+ {
+ abort_result_set();
+ return 1;
+ }
+ exit_done= 1; // Avoid double calls
+ /*
+ Do an implicit commit at end of statement for non-temporary
+ tables. This can fail, but we should unlock the table
+ nevertheless.
*/
- tmp_disable_binlog(thd);
- select_insert::send_error(errcode, err);
- reenable_binlog(thd);
-
- DBUG_VOID_RETURN;
-}
+ if (!table->s->tmp_table)
+ {
+ trans_commit_stmt(thd);
+ if (!(thd->variables.option_bits & OPTION_GTID_BEGIN))
+ trans_commit_implicit(thd);
+ }
+ else if (!thd->is_current_stmt_binlog_format_row())
+ table->s->table_creation_was_logged= 1;
+ table->file->extra(HA_EXTRA_NO_IGNORE_DUP_KEY);
+ table->file->extra(HA_EXTRA_WRITE_CANNOT_REPLACE);
-bool select_create::send_eof()
-{
- bool tmp=select_insert::send_eof();
- if (tmp)
- abort_result_set();
- else
+ if (m_plock)
{
- /*
- Do an implicit commit at end of statement for non-temporary
- tables. This can fail, but we should unlock the table
- nevertheless.
- */
- if (!table->s->tmp_table)
- {
- trans_commit_stmt(thd);
- trans_commit_implicit(thd);
- }
+ MYSQL_LOCK *lock= *m_plock;
+ *m_plock= NULL;
+ m_plock= NULL;
- table->file->extra(HA_EXTRA_NO_IGNORE_DUP_KEY);
- table->file->extra(HA_EXTRA_WRITE_CANNOT_REPLACE);
- if (m_plock)
+ if (create_info->pos_in_locked_tables)
{
- mysql_unlock_tables(thd, *m_plock);
- *m_plock= NULL;
- m_plock= NULL;
+ /*
+ If we are under lock tables, we have created a table that was
+ originally locked. We should add back the lock to ensure that
+ all tables in the thd->open_list are locked!
+ */
+ table->mdl_ticket= create_info->mdl_ticket;
+
+ /* The following should never fail, except if out of memory */
+ if (!thd->locked_tables_list.restore_lock(thd,
+ create_info->
+ pos_in_locked_tables,
+ table, lock))
+ return 0; // ok
+ /* Fail. Continue without locking the table */
}
+ mysql_unlock_tables(thd, lock);
}
- return tmp;
+ return 0;
}
void select_create::abort_result_set()
{
+ ulonglong save_option_bits;
DBUG_ENTER("select_create::abort_result_set");
+ /* Avoid double calls, could happen in case of out of memory on cleanup */
+ if (exit_done)
+ DBUG_VOID_RETURN;
+ exit_done= 1;
+
/*
In select_insert::abort_result_set() we roll back the statement, including
truncating the transaction cache of the binary log. To do this, we
@@ -4292,14 +4268,26 @@ void select_create::abort_result_set()
We also roll back the statement regardless of whether the creation
of the table succeeded or not, since we need to reset the binary
log state.
+
+ However if there was an original table that was deleted, as part of
+ create or replace table, then we must log the statement.
*/
- tmp_disable_binlog(thd);
+
+ save_option_bits= thd->variables.option_bits;
+ thd->variables.option_bits&= ~OPTION_BIN_LOG;
select_insert::abort_result_set();
thd->transaction.stmt.modified_non_trans_table= FALSE;
- reenable_binlog(thd);
+ thd->variables.option_bits= save_option_bits;
+
/* possible error of writing binary log is ignored deliberately */
(void) thd->binlog_flush_pending_rows_event(TRUE, TRUE);
+ if (create_info->table_was_deleted)
+ {
+ /* Unlock locked table that was dropped by CREATE */
+ thd->locked_tables_list.unlock_locked_table(thd,
+ create_info->mdl_ticket);
+ }
if (m_plock)
{
mysql_unlock_tables(thd, *m_plock);
@@ -4309,12 +4297,21 @@ void select_create::abort_result_set()
if (table)
{
+ bool tmp_table= table->s->tmp_table;
table->file->extra(HA_EXTRA_NO_IGNORE_DUP_KEY);
table->file->extra(HA_EXTRA_WRITE_CANNOT_REPLACE);
table->auto_increment_field_not_null= FALSE;
drop_open_table(thd, table, create_table->db, create_table->table_name);
table=0; // Safety
+ if (thd->log_current_statement && mysql_bin_log.is_open())
+ {
+ /* Remove logging of drop, create + insert rows */
+ binlog_reset_cache(thd);
+ /* Original table was deleted. We have to log it */
+ log_drop_table(thd, create_table->db, create_table->db_length,
+ create_table->table_name, create_table->table_name_length,
+ tmp_table);
+ }
}
DBUG_VOID_RETURN;
}
-
diff --git a/sql/sql_insert.h b/sql/sql_insert.h
index 8564f4d103e..cbfc1ea9dcd 100644
--- a/sql/sql_insert.h
+++ b/sql/sql_insert.h
@@ -38,7 +38,6 @@ void upgrade_lock_type_for_insert(THD *thd, thr_lock_type *lock_type,
bool is_multi_insert);
int check_that_all_fields_are_given_values(THD *thd, TABLE *entry,
TABLE_LIST *table_list);
-void prepare_triggers_for_insert_stmt(TABLE *table);
int write_record(THD *thd, TABLE *table, COPY_INFO *info);
void kill_delayed_threads(void);
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc
index 3b39ebf145f..abd23c344c2 100644
--- a/sql/sql_join_cache.cc
+++ b/sql/sql_join_cache.cc
@@ -222,8 +222,8 @@ void JOIN_CACHE::calc_record_fields()
for (; tab != join_tab ; tab= next_linear_tab(join, tab, WITHOUT_BUSH_ROOTS))
{
tab->calc_used_field_length(FALSE);
- flag_fields+= test(tab->used_null_fields || tab->used_uneven_bit_fields);
- flag_fields+= test(tab->table->maybe_null);
+ flag_fields+= MY_TEST(tab->used_null_fields || tab->used_uneven_bit_fields);
+ flag_fields+= MY_TEST(tab->table->maybe_null);
fields+= tab->used_fields;
blobs+= tab->used_blobs;
}
@@ -736,7 +736,7 @@ void JOIN_CACHE::set_constants()
uint JOIN_CACHE::get_record_max_affix_length()
{
uint len= get_prefix_length() +
- test(with_match_flag) +
+ MY_TEST(with_match_flag) +
size_of_fld_ofs * data_field_count;
return len;
}
@@ -1012,7 +1012,7 @@ int JOIN_CACHE::realloc_buffer()
{
int rc;
free();
- rc= test(!(buff= (uchar*) my_malloc(buff_size, MYF(MY_THREAD_SPECIFIC))));
+ rc= MY_TEST(!(buff= (uchar*) my_malloc(buff_size, MYF(MY_THREAD_SPECIFIC))));
reset(TRUE);
return rc;
}
@@ -1766,7 +1766,7 @@ uint JOIN_CACHE::read_flag_fields()
CACHE_FIELD *copy_end= copy+flag_fields;
if (with_match_flag)
{
- copy->str[0]= test((Match_flag) pos[0] == MATCH_FOUND);
+ copy->str[0]= MY_TEST((Match_flag) pos[0] == MATCH_FOUND);
pos+= copy->length;
copy++;
}
@@ -2520,7 +2520,7 @@ enum_nested_loop_state JOIN_CACHE::join_null_complements(bool skip_last)
if (!records)
DBUG_RETURN(NESTED_LOOP_OK);
- cnt= records - (is_key_access() ? 0 : test(skip_last));
+ cnt= records - (is_key_access() ? 0 : MY_TEST(skip_last));
/* This function may be called only for inner tables of outer joins */
DBUG_ASSERT(join_tab->first_inner);
@@ -2570,7 +2570,7 @@ finish:
void JOIN_CACHE::save_explain_data(struct st_explain_bka_type *explain)
{
- explain->incremental= test(prev_cache);
+ explain->incremental= MY_TEST(prev_cache);
switch (get_join_alg()) {
case BNL_JOIN_ALG:
@@ -2792,7 +2792,7 @@ int JOIN_CACHE_HASHED::realloc_buffer()
{
int rc;
free();
- rc= test(!(buff= (uchar*) my_malloc(buff_size, MYF(MY_THREAD_SPECIFIC))));
+ rc= MY_TEST(!(buff= (uchar*) my_malloc(buff_size, MYF(MY_THREAD_SPECIFIC))));
init_hash_table();
reset(TRUE);
return rc;
@@ -3472,7 +3472,7 @@ bool JOIN_CACHE_BNL::prepare_look_for_matches(bool skip_last)
if (!records)
return TRUE;
reset(FALSE);
- rem_records= records-test(skip_last);
+ rem_records= records - MY_TEST(skip_last);
return rem_records == 0;
}
@@ -4588,7 +4588,7 @@ int JOIN_CACHE_BKAH::init()
{
bool check_only_first_match= join_tab->check_only_first_match();
- no_association= test(mrr_mode & HA_MRR_NO_ASSOCIATION);
+ no_association= MY_TEST(mrr_mode & HA_MRR_NO_ASSOCIATION);
RANGE_SEQ_IF rs_funcs= { bka_range_seq_key_info,
bkah_range_seq_init,
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 7096c886281..c549a7be2cc 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -299,7 +299,7 @@ Lex_input_stream::reset(char *buffer, unsigned int length)
m_cpp_utf8_processed_ptr= NULL;
next_state= MY_LEX_START;
found_semicolon= NULL;
- ignore_space= test(m_thd->variables.sql_mode & MODE_IGNORE_SPACE);
+ ignore_space= MY_TEST(m_thd->variables.sql_mode & MODE_IGNORE_SPACE);
stmt_prepare_mode= FALSE;
multi_statements= TRUE;
in_comment=NO_COMMENT;
@@ -3073,7 +3073,7 @@ TABLE_LIST *LEX::unlink_first_table(bool *link_to_local)
/*
and from local list if it is not empty
*/
- if ((*link_to_local= test(select_lex.table_list.first)))
+ if ((*link_to_local= MY_TEST(select_lex.table_list.first)))
{
select_lex.context.table_list=
select_lex.context.first_name_resolution_table= first->next_local;
@@ -3824,7 +3824,7 @@ void SELECT_LEX::update_used_tables()
do
{
bool maybe_null;
- if ((maybe_null= test(embedding->outer_join)))
+ if ((maybe_null= MY_TEST(embedding->outer_join)))
{
tl->table->maybe_null= maybe_null;
break;
@@ -3901,37 +3901,40 @@ void st_select_lex::update_correlated_cache()
while ((tl= ti++))
{
if (tl->on_expr)
- is_correlated|= test(tl->on_expr->used_tables() & OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST(tl->on_expr->used_tables() & OUTER_REF_TABLE_BIT);
for (TABLE_LIST *embedding= tl->embedding ; embedding ;
embedding= embedding->embedding)
{
if (embedding->on_expr)
- is_correlated|= test(embedding->on_expr->used_tables() &
- OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST(embedding->on_expr->used_tables() &
+ OUTER_REF_TABLE_BIT);
}
}
if (join->conds)
- is_correlated|= test(join->conds->used_tables() & OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST(join->conds->used_tables() & OUTER_REF_TABLE_BIT);
if (join->having)
- is_correlated|= test(join->having->used_tables() & OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST(join->having->used_tables() & OUTER_REF_TABLE_BIT);
if (join->tmp_having)
- is_correlated|= test(join->tmp_having->used_tables() & OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST(join->tmp_having->used_tables() &
+ OUTER_REF_TABLE_BIT);
Item *item;
List_iterator_fast<Item> it(join->fields_list);
while ((item= it++))
- is_correlated|= test(item->used_tables() & OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST(item->used_tables() & OUTER_REF_TABLE_BIT);
for (ORDER *order= group_list.first; order; order= order->next)
- is_correlated|= test((*order->item)->used_tables() & OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST((*order->item)->used_tables() &
+ OUTER_REF_TABLE_BIT);
if (!master_unit()->is_union())
{
for (ORDER *order= order_list.first; order; order= order->next)
- is_correlated|= test((*order->item)->used_tables() & OUTER_REF_TABLE_BIT);
+ is_correlated|= MY_TEST((*order->item)->used_tables() &
+ OUTER_REF_TABLE_BIT);
}
if (!is_correlated)
@@ -4220,7 +4223,7 @@ int st_select_lex_unit::save_union_explain(Explain_query *output)
eu->add_select(sl->select_number);
eu->fake_select_type= "UNION RESULT";
- eu->using_filesort= test(global_parameters->order_list.first);
+ eu->using_filesort= MY_TEST(global_parameters->order_list.first);
// Save the UNION node
output->add_node(eu);
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index b84aea6c140..13cbcdd9f08 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1152,7 +1152,7 @@ public:
}
bool requires_prelocking()
{
- return test(query_tables_own_last);
+ return MY_TEST(query_tables_own_last);
}
void mark_as_requiring_prelocking(TABLE_LIST **tables_own_last)
{
diff --git a/sql/sql_lifo_buffer.h b/sql/sql_lifo_buffer.h
index 5b7ddf35474..feec4aeb4c2 100644
--- a/sql/sql_lifo_buffer.h
+++ b/sql/sql_lifo_buffer.h
@@ -83,7 +83,8 @@ public:
{
start= start_arg;
end= end_arg;
- TRASH(start, end - start);
+ if (end != start)
+ TRASH(start, end - start);
reset();
}
diff --git a/sql/sql_list.h b/sql/sql_list.h
index aef2f8d5f25..7538f69766d 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -330,11 +330,12 @@ public:
friend class error_list;
friend class error_list_iterator;
+#ifndef DBUG_OFF
/*
Debugging help: return N-th element in the list, or NULL if the list has
less than N elements.
*/
- inline void *nth_element(int n)
+ void *elem(int n)
{
list_node *node= first;
void *data= NULL;
@@ -350,6 +351,8 @@ public:
}
return data;
}
+#endif
+
#ifdef LIST_EXTRA_DEBUG
/*
Check list invariants and print results into trace. Invariants are:
@@ -528,7 +531,9 @@ public:
}
empty();
}
- inline T *nth_element(int n) { return (T*)base_list::nth_element(n); }
+#ifndef DBUG_OFF
+ T *elem(int n) { return (T*)base_list::elem(n); }
+#endif
};
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 281d1de7877..bdf26ec0292 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -28,7 +28,6 @@
#include <my_dir.h>
#include "sql_view.h" // check_key_in_view
#include "sql_insert.h" // check_that_all_fields_are_given_values,
- // prepare_triggers_for_insert_stmt,
// write_record
#include "sql_acl.h" // INSERT_ACL, UPDATE_ACL
#include "log_event.h" // Delete_file_log_event,
@@ -258,7 +257,8 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
*/
if (unique_table(thd, table_list, table_list->next_global, 0))
{
- my_error(ER_UPDATE_TABLE_USED, MYF(0), table_list->table_name);
+ my_error(ER_UPDATE_TABLE_USED, MYF(0), table_list->table_name,
+ "LOAD DATA");
DBUG_RETURN(TRUE);
}
@@ -297,7 +297,8 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
DBUG_RETURN(TRUE);
}
- prepare_triggers_for_insert_stmt(table);
+ table->prepare_triggers_for_insert_stmt_or_event();
+ table->mark_columns_needed_for_insert();
uint tot_length=0;
bool use_blobs= 0, use_vars= 0;
@@ -461,7 +462,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
}
thd_proc_info(thd, "reading file");
- if (!(error=test(read_info.error)))
+ if (!(error= MY_TEST(read_info.error)))
{
table->next_number_field=table->found_next_number_field;
if (ignore ||
@@ -904,7 +905,7 @@ read_fixed_length(THD *thd, COPY_INFO &info, TABLE_LIST *table_list,
thd->get_stmt_da()->inc_current_row_for_warning();
continue_loop:;
}
- DBUG_RETURN(test(read_info.error));
+ DBUG_RETURN(MY_TEST(read_info.error));
}
@@ -1129,7 +1130,7 @@ read_sep_field(THD *thd, COPY_INFO &info, TABLE_LIST *table_list,
thd->get_stmt_da()->inc_current_row_for_warning();
continue_loop:;
}
- DBUG_RETURN(test(read_info.error));
+ DBUG_RETURN(MY_TEST(read_info.error));
}
@@ -1297,7 +1298,7 @@ read_xml_field(THD *thd, COPY_INFO &info, TABLE_LIST *table_list,
thd->get_stmt_da()->inc_current_row_for_warning();
continue_loop:;
}
- DBUG_RETURN(test(read_info.error) || thd->is_error());
+ DBUG_RETURN(MY_TEST(read_info.error) || thd->is_error());
} /* load xml end */
diff --git a/sql/sql_manager.cc b/sql/sql_manager.cc
index 0771f569f35..f13448ca46e 100644
--- a/sql/sql_manager.cc
+++ b/sql/sql_manager.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 15d7e19188e..055317f0445 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -195,6 +195,8 @@ static bool some_non_temp_table_to_be_updated(THD *thd, TABLE_LIST *tables)
@param thd Thread handle.
@param mask Bitmask used for the SQL command match.
+ @return 0 No implicit commit
+ @return 1 Do a commit
*/
static bool stmt_causes_implicit_commit(THD *thd, uint mask)
{
@@ -207,12 +209,22 @@ static bool stmt_causes_implicit_commit(THD *thd, uint mask)
switch (lex->sql_command) {
case SQLCOM_DROP_TABLE:
- skip= lex->drop_temporary;
+ skip= (lex->drop_temporary ||
+ (thd->variables.option_bits & OPTION_GTID_BEGIN));
break;
case SQLCOM_ALTER_TABLE:
+ /* If ALTER TABLE of non-temporary table, do implicit commit */
+ skip= (lex->create_info.tmp_table());
+ break;
case SQLCOM_CREATE_TABLE:
- /* If CREATE TABLE of non-temporary table, do implicit commit */
- skip= lex->create_info.tmp_table();
+ /*
+ If CREATE TABLE of non-temporary table and the table is not part
+ if a BEGIN GTID ... COMMIT group, do a implicit commit.
+ This ensures that CREATE ... SELECT will in the same GTID group on the
+ master and slave.
+ */
+ skip= (lex->create_info.tmp_table() ||
+ (thd->variables.option_bits & OPTION_GTID_BEGIN));
break;
case SQLCOM_SET_OPTION:
skip= lex->autocommit ? FALSE : TRUE;
@@ -1423,7 +1435,10 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
lex_start(thd);
/* Must be before we init the table list. */
if (lower_case_table_names)
+ {
table_name.length= my_casedn_str(files_charset_info, table_name.str);
+ db.length= my_casedn_str(files_charset_info, db.str);
+ }
table_list.init_one_table(db.str, db.length, table_name.str,
table_name.length, table_name.str, TL_READ);
/*
@@ -2404,8 +2419,8 @@ mysql_execute_command(THD *thd)
#endif
status_var_increment(thd->status_var.com_stat[lex->sql_command]);
- thd->progress.report_to_client= test(sql_command_flags[lex->sql_command] &
- CF_REPORT_PROGRESS);
+ thd->progress.report_to_client= MY_TEST(sql_command_flags[lex->sql_command] &
+ CF_REPORT_PROGRESS);
DBUG_ASSERT(thd->transaction.stmt.modified_non_trans_table == FALSE);
@@ -2440,11 +2455,14 @@ mysql_execute_command(THD *thd)
DBUG_ASSERT(! thd->in_sub_stmt);
/* Statement transaction still should not be started. */
DBUG_ASSERT(thd->transaction.stmt.is_empty());
- /* Commit the normal transaction if one is active. */
- if (trans_commit_implicit(thd))
- goto error;
- /* Release metadata locks acquired in this transaction. */
- thd->mdl_context.release_transactional_locks();
+ if (!(thd->variables.option_bits & OPTION_GTID_BEGIN))
+ {
+ /* Commit the normal transaction if one is active. */
+ if (trans_commit_implicit(thd))
+ goto error;
+ /* Release metadata locks acquired in this transaction. */
+ thd->mdl_context.release_transactional_locks();
+ }
}
#ifndef DBUG_OFF
@@ -2829,20 +2847,20 @@ case SQLCOM_PREPARE:
goto end_with_restore_list;
}
+ /* Check privileges */
if ((res= create_table_precheck(thd, select_tables, create_table)))
goto end_with_restore_list;
/* Might have been updated in create_table_precheck */
create_info.alias= create_table->alias;
-#ifdef HAVE_READLINK
- /* Fix names if symlinked tables */
+ /* Fix names if symlinked or relocated tables */
if (append_file_to_dir(thd, &create_info.data_file_name,
create_table->table_name) ||
append_file_to_dir(thd, &create_info.index_file_name,
create_table->table_name))
goto end_with_restore_list;
-#endif
+
/*
If no engine type was given, work out the default now
rather than at parse-time.
@@ -2863,6 +2881,24 @@ case SQLCOM_PREPARE:
create_info.table_charset= 0;
}
+ /*
+ For CREATE TABLE we should not open the table even if it exists.
+ If the table exists, we should either not create it or replace it
+ */
+ lex->query_tables->open_strategy= TABLE_LIST::OPEN_STUB;
+
+ /*
+ If we are a slave, we should add OR REPLACE if we don't have
+ IF EXISTS. This will help a slave to recover from
+ CREATE TABLE OR EXISTS failures by dropping the table and
+ retrying the create.
+ */
+ create_info.org_options= create_info.options;
+ if (thd->slave_thread &&
+ slave_ddl_exec_mode_options == SLAVE_EXEC_MODE_IDEMPOTENT &&
+ !(lex->create_info.options & HA_LEX_CREATE_IF_NOT_EXISTS))
+ create_info.options|= HA_LEX_CREATE_REPLACE;
+
#ifdef WITH_PARTITION_STORAGE_ENGINE
{
partition_info *part_info= thd->lex->part_info;
@@ -2951,28 +2987,25 @@ case SQLCOM_PREPARE:
/* Got error or warning. Set res to 1 if error */
if (!(res= thd->is_error()))
my_ok(thd); // CREATE ... IF NOT EXISTS
+ goto end_with_restore_list;
}
- else
+
+ /* Ensure we don't try to create something from which we select from */
+ if ((create_info.options & HA_LEX_CREATE_REPLACE) &&
+ !create_info.tmp_table())
{
- /* The table already exists */
- if (create_table->table)
+ TABLE_LIST *duplicate;
+ if ((duplicate= unique_table(thd, lex->query_tables,
+ lex->query_tables->next_global,
+ 0)))
{
- if (create_info.options & HA_LEX_CREATE_IF_NOT_EXISTS)
- {
- push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
- ER_TABLE_EXISTS_ERROR,
- ER(ER_TABLE_EXISTS_ERROR),
- create_info.alias);
- my_ok(thd);
- }
- else
- {
- my_error(ER_TABLE_EXISTS_ERROR, MYF(0), create_info.alias);
- res= 1;
- }
+ update_non_unique_table_error(lex->query_tables, "CREATE",
+ duplicate);
+ res= TRUE;
goto end_with_restore_list;
}
-
+ }
+ {
/*
Remove target table from main select and name resolution
context. This can't be done earlier as it will break view merging in
@@ -2980,9 +3013,8 @@ case SQLCOM_PREPARE:
*/
lex->unlink_first_table(&link_to_local);
- /* So that CREATE TEMPORARY TABLE gets to binlog at commit/rollback */
- if (create_info.tmp_table())
- thd->variables.option_bits|= OPTION_KEEP_LOG;
+ /* Store reference to table in case of LOCK TABLES */
+ create_info.table= create_table->table;
/*
select_create is currently not re-execution friendly and
@@ -3000,18 +3032,18 @@ case SQLCOM_PREPARE:
CREATE from SELECT give its SELECT_LEX for SELECT,
and item_list belong to SELECT
*/
- res= handle_select(thd, lex, result, 0);
+ if (!(res= handle_select(thd, lex, result, 0)))
+ {
+ if (create_info.tmp_table())
+ thd->variables.option_bits|= OPTION_KEEP_LOG;
+ }
delete result;
}
-
lex->link_first_table_back(create_table, link_to_local);
}
}
else
{
- /* So that CREATE TEMPORARY TABLE gets to binlog at commit/rollback */
- if (create_info.tmp_table())
- thd->variables.option_bits|= OPTION_KEEP_LOG;
/* regular create */
if (create_info.options & HA_LEX_CREATE_TABLE_LIKE)
{
@@ -3026,7 +3058,12 @@ case SQLCOM_PREPARE:
&create_info, &alter_info);
}
if (!res)
+ {
+ /* So that CREATE TEMPORARY TABLE gets to binlog at commit/rollback */
+ if (create_info.tmp_table())
+ thd->variables.option_bits|= OPTION_KEEP_LOG;
my_ok(thd);
+ }
}
end_with_restore_list:
@@ -3466,7 +3503,7 @@ end_with_restore_list:
case SQLCOM_INSERT_SELECT:
{
select_result *sel_result;
- bool explain= test(lex->describe);
+ bool explain= MY_TEST(lex->describe);
DBUG_ASSERT(first_table == all_tables && first_table != 0);
if ((res= insert_precheck(thd, all_tables)))
break;
@@ -3580,7 +3617,7 @@ end_with_restore_list:
{
DBUG_ASSERT(first_table == all_tables && first_table != 0);
TABLE_LIST *aux_tables= thd->lex->auxiliary_table_list.first;
- bool explain= test(lex->describe);
+ bool explain= MY_TEST(lex->describe);
multi_delete *result;
if ((res= multi_delete_precheck(thd, all_tables)))
@@ -3652,6 +3689,16 @@ end_with_restore_list:
/* So that DROP TEMPORARY TABLE gets to binlog at commit/rollback */
thd->variables.option_bits|= OPTION_KEEP_LOG;
}
+ /*
+ If we are a slave, we should add IF EXISTS if the query executed
+ on the master without an error. This will help a slave to
+ recover from multi-table DROP TABLE that was aborted in the
+ middle.
+ */
+ if (thd->slave_thread && !thd->slave_expected_error &&
+ slave_ddl_exec_mode_options == SLAVE_EXEC_MODE_IDEMPOTENT)
+ lex->check_exists= 1;
+
/* DDL and binlog write order are protected by metadata locks. */
res= mysql_rm_table(thd, first_table, lex->check_exists,
lex->drop_temporary);
@@ -3825,9 +3872,7 @@ end_with_restore_list:
prepared statement- safe.
*/
HA_CREATE_INFO create_info(lex->create_info);
- char *alias;
- if (!(alias=thd->strmake(lex->name.str, lex->name.length)) ||
- check_db_name(&lex->name))
+ if (check_db_name(&lex->name))
{
my_error(ER_WRONG_DB_NAME, MYF(0), lex->name.str);
break;
@@ -3850,8 +3895,7 @@ end_with_restore_list:
#endif
if (check_access(thd, CREATE_ACL, lex->name.str, NULL, NULL, 1, 0))
break;
- res= mysql_create_db(thd,(lower_case_table_names == 2 ? alias :
- lex->name.str), &create_info, 0);
+ res= mysql_create_db(thd, lex->name.str, &create_info, 0);
break;
}
case SQLCOM_DROP_DB:
@@ -3944,14 +3988,20 @@ end_with_restore_list:
}
case SQLCOM_SHOW_CREATE_DB:
{
+ char db_name_buff[NAME_LEN+1];
+ LEX_STRING db_name;
DBUG_EXECUTE_IF("4x_server_emul",
my_error(ER_UNKNOWN_ERROR, MYF(0)); goto error;);
- if (check_db_name(&lex->name))
+
+ db_name.str= db_name_buff;
+ db_name.length= lex->name.length;
+ strmov(db_name.str, lex->name.str);
+ if (check_db_name(&db_name))
{
- my_error(ER_WRONG_DB_NAME, MYF(0), lex->name.str);
+ my_error(ER_WRONG_DB_NAME, MYF(0), db_name.str);
break;
}
- res= mysqld_show_create_db(thd, lex->name.str, &lex->create_info);
+ res= mysqld_show_create_db(thd, &db_name, &lex->name, &lex->create_info);
break;
}
case SQLCOM_CREATE_EVENT:
@@ -4402,6 +4452,7 @@ end_with_restore_list:
bool tx_release= (lex->tx_release == TVL_YES ||
(thd->variables.completion_type == 2 &&
lex->tx_release != TVL_NO));
+
if (trans_rollback(thd))
goto error;
thd->mdl_context.release_transactional_locks();
@@ -4597,6 +4648,10 @@ create_sp_error:
open_and_lock_tables(thd, all_tables, TRUE, 0))
goto error;
+ if (check_routine_access(thd, EXECUTE_ACL, lex->spname->m_db.str,
+ lex->spname->m_name.str, TRUE, FALSE))
+ goto error;
+
/*
By this moment all needed SPs should be in cache so no need to look
into DB.
@@ -4646,11 +4701,6 @@ create_sp_error:
thd->server_status|= SERVER_MORE_RESULTS_EXISTS;
}
- if (check_routine_access(thd, EXECUTE_ACL,
- sp->m_db.str, sp->m_name.str, TRUE, FALSE))
- {
- goto error;
- }
select_limit= thd->variables.select_limit;
thd->variables.select_limit= HA_POS_ERROR;
@@ -5153,12 +5203,15 @@ finish:
{
/* No transaction control allowed in sub-statements. */
DBUG_ASSERT(! thd->in_sub_stmt);
- /* If commit fails, we should be able to reset the OK status. */
- thd->get_stmt_da()->set_overwrite_status(true);
- /* Commit the normal transaction if one is active. */
- trans_commit_implicit(thd);
- thd->get_stmt_da()->set_overwrite_status(false);
- thd->mdl_context.release_transactional_locks();
+ if (!(thd->variables.option_bits & OPTION_GTID_BEGIN))
+ {
+ /* If commit fails, we should be able to reset the OK status. */
+ thd->get_stmt_da()->set_overwrite_status(true);
+ /* Commit the normal transaction if one is active. */
+ trans_commit_implicit(thd);
+ thd->get_stmt_da()->set_overwrite_status(false);
+ thd->mdl_context.release_transactional_locks();
+ }
}
else if (! thd->in_sub_stmt && ! thd->in_multi_stmt_transaction_mode())
{
@@ -6101,6 +6154,8 @@ void THD::reset_for_next_command()
thd->query_start_used= 0;
thd->query_start_sec_part_used= 0;
thd->is_fatal_error= thd->time_zone_used= 0;
+ thd->log_current_statement= 0;
+
/*
Clear the status flag that are expected to be cleared at the
beginning of each SQL statement.
@@ -6613,6 +6668,7 @@ bool add_to_list(THD *thd, SQL_I_List<ORDER> &list, Item *item,bool asc)
order->free_me=0;
order->used=0;
order->counter_used= 0;
+ order->fast_field_copier_setup= 0;
list.link_in_list(order, &order->next);
DBUG_RETURN(0);
}
@@ -6658,7 +6714,7 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
if (!table)
DBUG_RETURN(0); // End of memory
alias_str= alias ? alias->str : table->table.str;
- if (!test(table_options & TL_OPTION_ALIAS) &&
+ if (!MY_TEST(table_options & TL_OPTION_ALIAS) &&
check_table_name(table->table.str, table->table.length, FALSE))
{
my_error(ER_WRONG_TABLE_NAME, MYF(0), table->table.str);
@@ -6698,15 +6754,21 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
ptr->alias= alias_str;
ptr->is_alias= alias ? TRUE : FALSE;
- if (lower_case_table_names && table->table.length)
- table->table.length= my_casedn_str(files_charset_info, table->table.str);
+ if (lower_case_table_names)
+ {
+ if (table->table.length)
+ table->table.length= my_casedn_str(files_charset_info, table->table.str);
+ if (ptr->db_length && ptr->db != any_db)
+ ptr->db_length= my_casedn_str(files_charset_info, ptr->db);
+ }
+
ptr->table_name=table->table.str;
ptr->table_name_length=table->table.length;
ptr->lock_type= lock_type;
- ptr->updating= test(table_options & TL_OPTION_UPDATING);
+ ptr->updating= MY_TEST(table_options & TL_OPTION_UPDATING);
/* TODO: remove TL_OPTION_FORCE_INDEX as it looks like it's not used */
- ptr->force_index= test(table_options & TL_OPTION_FORCE_INDEX);
- ptr->ignore_leaves= test(table_options & TL_OPTION_IGNORE_LEAVES);
+ ptr->force_index= MY_TEST(table_options & TL_OPTION_FORCE_INDEX);
+ ptr->ignore_leaves= MY_TEST(table_options & TL_OPTION_IGNORE_LEAVES);
ptr->derived= table->sel;
if (!ptr->derived && is_infoschema_db(ptr->db, ptr->db_length))
{
@@ -6801,7 +6863,7 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
lex->add_to_query_tables(ptr);
// Pure table aliases do not need to be locked:
- if (!test(table_options & TL_OPTION_ALIAS))
+ if (!MY_TEST(table_options & TL_OPTION_ALIAS))
{
ptr->mdl_request.init(MDL_key::TABLE, ptr->db, ptr->table_name, mdl_type,
MDL_TRANSACTION);
@@ -7624,6 +7686,7 @@ bool multi_update_precheck(THD *thd, TABLE_LIST *tables)
check_grant(thd, SELECT_ACL, table, FALSE, 1, FALSE)))
DBUG_RETURN(TRUE);
+ table->grant.orig_want_privilege= 0;
table->table_in_first_from_clause= 1;
}
/*
@@ -7961,6 +8024,11 @@ bool create_table_precheck(THD *thd, TABLE_LIST *tables,
want_priv= lex->create_info.tmp_table() ? CREATE_TMP_ACL :
(CREATE_ACL | (select_lex->item_list.elements ? INSERT_ACL : 0));
+ /* CREATE OR REPLACE on not temporary tables require DROP_ACL */
+ if ((lex->create_info.options & HA_LEX_CREATE_REPLACE) &&
+ !lex->create_info.tmp_table())
+ want_priv|= DROP_ACL;
+
if (check_access(thd, want_priv, create_table->db,
&create_table->grant.privilege,
&create_table->grant.m_internal,
@@ -7997,8 +8065,8 @@ bool create_table_precheck(THD *thd, TABLE_LIST *tables,
- For temporary MERGE tables we do not track if their child tables are
base or temporary. As result we can't guarantee that privilege check
- which was done in presence of temporary child will stay relevant later
- as this temporary table might be removed.
+ which was done in presence of temporary child will stay relevant
+ later as this temporary table might be removed.
If SELECT_ACL | UPDATE_ACL | DELETE_ACL privileges were not checked for
the underlying *base* tables, it would create a security breach as in
@@ -8029,6 +8097,12 @@ bool create_table_precheck(THD *thd, TABLE_LIST *tables,
}
error= FALSE;
+ /*
+ For CREATE TABLE we should not open the table even if it exists.
+ If the table exists, we should either not create it or replace it
+ */
+ lex->query_tables->open_strategy= TABLE_LIST::OPEN_STUB;
+
err:
DBUG_RETURN(error);
}
diff --git a/sql/sql_parse.h b/sql/sql_parse.h
index 1545edeaa8a..926a4d800ad 100644
--- a/sql/sql_parse.h
+++ b/sql/sql_parse.h
@@ -200,7 +200,7 @@ bool check_global_access(THD *thd, ulong want_access, bool no_errors= false);
inline bool is_supported_parser_charset(CHARSET_INFO *cs)
{
- return test(cs->mbminlen == 1);
+ return MY_TEST(cs->mbminlen == 1);
}
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index 5e256522119..1ce952b9030 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -67,7 +67,6 @@
// table_to_filename
// mysql_*_alter_copy_data
#include "opt_range.h" // store_key_image_to_rec
-#include "sql_analyse.h" // append_escaped
#include "sql_alter.h" // Alter_table_ctx
#include <algorithm>
@@ -651,7 +650,7 @@ static bool create_full_part_field_array(THD *thd, TABLE *table,
result= TRUE;
goto end;
}
- if (bitmap_init(&part_info->full_part_field_set, bitmap_buf,
+ if (my_bitmap_init(&part_info->full_part_field_set, bitmap_buf,
table->s->fields, FALSE))
{
mem_alloc_error(table->s->fields);
@@ -1230,9 +1229,9 @@ static bool set_up_partition_bitmaps(THD *thd, partition_info *part_info)
mem_alloc_error(bitmap_bytes * 2);
DBUG_RETURN(TRUE);
}
- bitmap_init(&part_info->read_partitions, bitmap_buf, bitmap_bits, FALSE);
+ my_bitmap_init(&part_info->read_partitions, bitmap_buf, bitmap_bits, FALSE);
/* Use the second half of the allocated buffer for lock_partitions */
- bitmap_init(&part_info->lock_partitions, bitmap_buf + (bitmap_bytes / 4),
+ my_bitmap_init(&part_info->lock_partitions, bitmap_buf + (bitmap_bytes / 4),
bitmap_bits, FALSE);
part_info->bitmaps_are_initialized= TRUE;
part_info->set_partition_bitmaps(NULL);
@@ -1935,10 +1934,9 @@ static int add_uint(File fptr, ulonglong number)
*/
static int add_quoted_string(File fptr, const char *quotestr)
{
- String orgstr(quotestr, system_charset_info);
String escapedstr;
int err= add_string(fptr, "'");
- err+= append_escaped(&escapedstr, &orgstr);
+ err+= escapedstr.append_for_single_quote(quotestr);
err+= add_string(fptr, escapedstr.c_ptr_safe());
return err + add_string(fptr, "'");
}
@@ -3308,7 +3306,7 @@ uint32 get_list_array_idx_for_endpoint(partition_info *part_info,
}
else
{
- DBUG_RETURN(list_index + test(left_endpoint ^ include_endpoint));
+ DBUG_RETURN(list_index + MY_TEST(left_endpoint ^ include_endpoint));
}
} while (max_list_index >= min_list_index);
notfound:
@@ -5783,7 +5781,7 @@ static bool mysql_change_partitions(ALTER_PARTITION_PARAM_TYPE *lpt)
if (mysql_trans_commit_alter_copy_data(thd))
error= 1; /* The error has been reported */
- DBUG_RETURN(test(error));
+ DBUG_RETURN(MY_TEST(error));
}
@@ -7892,7 +7890,7 @@ int get_part_iter_for_interval_via_mapping(partition_info *part_info,
index-in-ordered-array-of-list-constants (for LIST) space.
*/
store_key_image_to_rec(field, min_value, field_len);
- bool include_endp= !test(flags & NEAR_MIN);
+ bool include_endp= !MY_TEST(flags & NEAR_MIN);
part_iter->part_nums.start= get_endpoint(part_info, 1, include_endp);
if (!can_match_multiple_values && part_info->part_expr->null_value)
{
@@ -7927,7 +7925,7 @@ int get_part_iter_for_interval_via_mapping(partition_info *part_info,
else
{
store_key_image_to_rec(field, max_value, field_len);
- bool include_endp= !test(flags & NEAR_MAX);
+ bool include_endp= !MY_TEST(flags & NEAR_MAX);
part_iter->part_nums.end= get_endpoint(part_info, 0, include_endp);
if (check_zero_dates &&
!zero_in_start_date &&
@@ -8094,8 +8092,8 @@ int get_part_iter_for_interval_via_walking(partition_info *part_info,
if ((ulonglong)b - (ulonglong)a == ~0ULL)
DBUG_RETURN(-1);
- a += test(flags & NEAR_MIN);
- b += test(!(flags & NEAR_MAX));
+ a+= MY_TEST(flags & NEAR_MIN);
+ b+= MY_TEST(!(flags & NEAR_MAX));
ulonglong n_values= b - a;
/*
diff --git a/sql/sql_partition_admin.cc b/sql/sql_partition_admin.cc
index 29ca86fa274..8c59febeb77 100644
--- a/sql/sql_partition_admin.cc
+++ b/sql/sql_partition_admin.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -506,13 +506,8 @@ bool Sql_cmd_alter_table_exchange_partition::
/* Don't allow to exchange with log table */
swap_table_list= table_list->next_local;
- if (check_if_log_table(swap_table_list->db_length, swap_table_list->db,
- swap_table_list->table_name_length,
- swap_table_list->table_name, 0))
- {
- my_error(ER_WRONG_USAGE, MYF(0), "PARTITION", "log table");
+ if (check_if_log_table(swap_table_list, FALSE, "ALTER PARTITION"))
DBUG_RETURN(TRUE);
- }
/*
Currently no MDL lock that allows both read and write and is upgradeable
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index c7b7b7948a0..f4a0b84ff65 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -1,6 +1,6 @@
/*
- Copyright (c) 2005, 2012, Oracle and/or its affiliates.
- Copyright (c) 2010, 2013, Monty Program Ab
+ Copyright (c) 2005, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2010, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1357,6 +1357,16 @@ static int plugin_initialize(MEM_ROOT *tmp_root, struct st_plugin_int *plugin,
goto err;
}
+ if (plugin->plugin_dl && global_system_variables.log_warnings >= 9)
+ {
+ void *sym= dlsym(plugin->plugin_dl->handle,
+ plugin->plugin_dl->mariaversion ?
+ maria_plugin_declarations_sym : plugin_declarations_sym);
+ DBUG_ASSERT(sym);
+ sql_print_information("Plugin %s loaded at %p",
+ plugin->name.str, sym);
+ }
+
if (plugin_type_initialize[plugin->plugin->type])
{
if ((*plugin_type_initialize[plugin->plugin->type])(plugin))
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index 1450d5c03ea..6ca4015adb4 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -978,7 +978,7 @@ static bool setup_conversion_functions(Prepared_statement *stmt,
typecode= sint2korr(read_pos);
read_pos+= 2;
- (**it).unsigned_flag= test(typecode & signed_bit);
+ (**it).unsigned_flag= MY_TEST(typecode & signed_bit);
setup_one_conversion_function(thd, *it, (uchar) (typecode & ~signed_bit));
}
}
@@ -2716,7 +2716,7 @@ void mysqld_stmt_execute(THD *thd, char *packet_arg, uint packet_length)
DBUG_PRINT("exec_query", ("%s", stmt->query()));
DBUG_PRINT("info",("stmt: 0x%lx", (long) stmt));
- open_cursor= test(flags & (ulong) CURSOR_TYPE_READ_ONLY);
+ open_cursor= MY_TEST(flags & (ulong) CURSOR_TYPE_READ_ONLY);
thd->protocol= &thd->protocol_binary;
stmt->execute_loop(&expanded_query, open_cursor, packet, packet_end);
diff --git a/sql/sql_prepare.h b/sql/sql_prepare.h
index ea5ebddb561..b468ac1bf9b 100644
--- a/sql/sql_prepare.h
+++ b/sql/sql_prepare.h
@@ -290,7 +290,7 @@ public:
one.
Never fails.
*/
- bool has_next_result() const { return test(m_current_rset->m_next_rset); }
+ bool has_next_result() const { return MY_TEST(m_current_rset->m_next_rset); }
/**
Only valid to call if has_next_result() returned true.
Otherwise the result is undefined.
@@ -298,7 +298,7 @@ public:
bool move_to_next_result()
{
m_current_rset= m_current_rset->m_next_rset;
- return test(m_current_rset);
+ return MY_TEST(m_current_rset);
}
~Ed_connection() { free_old_result(); }
diff --git a/sql/sql_priv.h b/sql/sql_priv.h
index 383888bac30..0676fca8fdc 100644
--- a/sql/sql_priv.h
+++ b/sql/sql_priv.h
@@ -110,6 +110,8 @@
/* The following is used to detect a conflict with DISTINCT */
#define SELECT_ALL (1ULL << 24) // SELECT, user, parser
+#define OPTION_GTID_BEGIN (1ULL << 25) // GTID BEGIN found in log
+
/** The following can be set when importing tables in a 'wrong order'
to suppress foreign key checks */
#define OPTION_NO_FOREIGN_KEY_CHECKS (1ULL << 26) // THD, user, binlog
@@ -238,6 +240,7 @@ template <class T> bool valid_buffer_range(T jump,
OPTIMIZER_SWITCH_DERIVED_MERGE | \
OPTIMIZER_SWITCH_DERIVED_WITH_KEYS | \
OPTIMIZER_SWITCH_TABLE_ELIMINATION | \
+ OPTIMIZER_SWITCH_EXTENDED_KEYS | \
OPTIMIZER_SWITCH_IN_TO_EXISTS | \
OPTIMIZER_SWITCH_MATERIALIZATION | \
OPTIMIZER_SWITCH_PARTIAL_MATCH_ROWID_MERGE|\
diff --git a/sql/sql_rename.cc b/sql/sql_rename.cc
index 6babdd7c636..897aa183b60 100644
--- a/sql/sql_rename.cc
+++ b/sql/sql_rename.cc
@@ -84,12 +84,8 @@ bool mysql_rename_tables(THD *thd, TABLE_LIST *table_list, bool silent)
for (to_table= 0, ren_table= table_list; ren_table;
to_table= 1 - to_table, ren_table= ren_table->next_local)
{
- int log_table_rename= 0;
-
- if ((log_table_rename=
- check_if_log_table(ren_table->db_length, ren_table->db,
- ren_table->table_name_length,
- ren_table->table_name, 1)))
+ int log_table_rename;
+ if ((log_table_rename= check_if_log_table(ren_table, TRUE, NullS)))
{
/*
as we use log_table_rename as an array index, we need it to start
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index b2b111dadc3..c7bd28259ae 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -115,6 +115,39 @@ fake_event_write(NET *net, String *packet, const char **errmsg)
/*
+ Helper structure, used to pass miscellaneous info from mysql_binlog_send()
+ into the helper functions that it calls.
+*/
+struct binlog_send_info {
+ rpl_binlog_state until_binlog_state;
+ slave_connection_state gtid_state;
+ THD *thd;
+ NET *net;
+ String *packet;
+ char *log_file_name;
+ slave_connection_state *until_gtid_state;
+ Format_description_log_event *fdev;
+ int mariadb_slave_capability;
+ enum_gtid_skip_type gtid_skip_group;
+ enum_gtid_until_state gtid_until_group;
+ ushort flags;
+ uint8 current_checksum_alg;
+ bool slave_gtid_strict_mode;
+ bool send_fake_gtid_list;
+ bool slave_gtid_ignore_duplicates;
+ bool using_gtid_state;
+
+ binlog_send_info(THD *thd_arg, String *packet_arg, ushort flags_arg, char *lfn)
+ : thd(thd_arg), net(&thd_arg->net), packet(packet_arg),
+ log_file_name(lfn), until_gtid_state(NULL), fdev(NULL),
+ gtid_skip_group(GTID_SKIP_NOT), gtid_until_group(GTID_UNTIL_NOT_DONE),
+ flags(flags_arg), current_checksum_alg(BINLOG_CHECKSUM_ALG_UNDEF),
+ slave_gtid_strict_mode(false), send_fake_gtid_list(false),
+ slave_gtid_ignore_duplicates(false)
+ { }
+};
+
+/*
fake_rotate_event() builds a fake (=which does not exist physically in any
binlog) Rotate event, which contains the name of the binlog we are going to
send to the slave (because the slave may not know it if it just asked for
@@ -132,16 +165,16 @@ fake_event_write(NET *net, String *packet, const char **errmsg)
part.
*/
-static int fake_rotate_event(NET* net, String* packet, char* log_file_name,
- ulonglong position, const char** errmsg,
- uint8 checksum_alg_arg)
+static int fake_rotate_event(binlog_send_info *info, ulonglong position,
+ const char** errmsg, uint8 checksum_alg_arg)
{
DBUG_ENTER("fake_rotate_event");
char buf[ROTATE_HEADER_LEN+100];
my_bool do_checksum;
int err;
- char* p = log_file_name+dirname_length(log_file_name);
+ char* p = info->log_file_name+dirname_length(info->log_file_name);
uint ident_len = (uint) strlen(p);
+ String *packet= info->packet;
ha_checksum crc;
if ((err= fake_event_header(packet, ROTATE_EVENT,
@@ -160,22 +193,23 @@ static int fake_rotate_event(NET* net, String* packet, char* log_file_name,
}
if ((err= fake_event_footer(packet, do_checksum, crc, errmsg)) ||
- (err= fake_event_write(net, packet, errmsg)))
+ (err= fake_event_write(info->net, packet, errmsg)))
DBUG_RETURN(err);
DBUG_RETURN(0);
}
-static int fake_gtid_list_event(NET* net, String* packet,
+static int fake_gtid_list_event(binlog_send_info *info,
Gtid_list_log_event *glev, const char** errmsg,
- uint8 checksum_alg_arg, uint32 current_pos)
+ uint32 current_pos)
{
my_bool do_checksum;
int err;
ha_checksum crc;
char buf[128];
String str(buf, sizeof(buf), system_charset_info);
+ String* packet= info->packet;
str.length(0);
if (glev->to_packet(&str))
@@ -185,7 +219,7 @@ static int fake_gtid_list_event(NET* net, String* packet,
}
if ((err= fake_event_header(packet, GTID_LIST_EVENT,
str.length(), &do_checksum, &crc,
- errmsg, checksum_alg_arg, current_pos)))
+ errmsg, info->current_checksum_alg, current_pos)))
return err;
packet->append(str);
@@ -195,7 +229,7 @@ static int fake_gtid_list_event(NET* net, String* packet,
}
if ((err= fake_event_footer(packet, do_checksum, crc, errmsg)) ||
- (err= fake_event_write(net, packet, errmsg)))
+ (err= fake_event_write(info->net, packet, errmsg)))
return err;
return 0;
@@ -627,6 +661,19 @@ get_slave_gtid_strict_mode(THD *thd)
}
+static bool
+get_slave_gtid_ignore_duplicates(THD *thd)
+{
+ bool null_value;
+
+ const LEX_STRING name= { C_STRING_WITH_LEN("slave_gtid_ignore_duplicates") };
+ user_var_entry *entry=
+ (user_var_entry*) my_hash_search(&thd->user_vars, (uchar*) name.str,
+ name.length);
+ return entry && entry->val_int(&null_value) && !null_value;
+}
+
+
/*
Get the value of the @slave_until_gtid user variable into the supplied
String (this is the GTID position specified for START SLAVE UNTIL
@@ -914,16 +961,16 @@ give_error_start_pos_missing_in_binlog(int *err, const char **errormsg,
*/
static int
-check_slave_start_position(THD *thd, slave_connection_state *st,
- const char **errormsg, rpl_gtid *error_gtid,
- slave_connection_state *until_gtid_state)
+check_slave_start_position(binlog_send_info *info, const char **errormsg,
+ rpl_gtid *error_gtid)
{
uint32 i;
int err;
slave_connection_state::entry **delete_list= NULL;
uint32 delete_idx= 0;
+ slave_connection_state *st= &info->gtid_state;
- if (rpl_load_gtid_slave_state(thd))
+ if (rpl_load_gtid_slave_state(info->thd))
{
*errormsg= "Failed to load replication slave GTID state";
err= ER_CANNOT_LOAD_SLAVE_GTID_STATE;
@@ -963,6 +1010,7 @@ check_slave_start_position(THD *thd, slave_connection_state *st,
if (!start_at_own_slave_pos)
{
rpl_gtid domain_gtid;
+ slave_connection_state *until_gtid_state= info->until_gtid_state;
rpl_gtid *until_gtid;
if (!mysql_bin_log.lookup_domain_in_binlog_state(slave_gtid->domain_id,
@@ -981,6 +1029,17 @@ check_slave_start_position(THD *thd, slave_connection_state *st,
continue;
}
+ if (info->slave_gtid_ignore_duplicates &&
+ domain_gtid.seq_no < slave_gtid->seq_no)
+ {
+ /*
+ When --gtid-ignore-duplicates, it is ok for the slave to request
+ something that we do not have (yet) - they might already have gotten
+ it through another path in a multi-path replication hierarchy.
+ */
+ continue;
+ }
+
if (until_gtid_state &&
( !(until_gtid= until_gtid_state->find(slave_gtid->domain_id)) ||
(mysql_bin_log.find_in_binlog_state(until_gtid->domain_id,
@@ -1462,13 +1521,11 @@ gtid_state_from_binlog_pos(const char *in_name, uint32 pos, String *out_str)
static bool
-is_until_reached(THD *thd, NET *net, String *packet, ulong *ev_offset,
- enum_gtid_until_state gtid_until_group,
- Log_event_type event_type, uint8 current_checksum_alg,
- ushort flags, const char **errmsg,
- rpl_binlog_state *until_binlog_state, uint32 current_pos)
+is_until_reached(binlog_send_info *info, ulong *ev_offset,
+ Log_event_type event_type, const char **errmsg,
+ uint32 current_pos)
{
- switch (gtid_until_group)
+ switch (info->gtid_until_group)
{
case GTID_UNTIL_NOT_DONE:
return false;
@@ -1479,9 +1536,10 @@ is_until_reached(THD *thd, NET *net, String *packet, ulong *ev_offset,
case GTID_UNTIL_STOP_AFTER_TRANSACTION:
if (event_type != XID_EVENT &&
(event_type != QUERY_EVENT ||
- !Query_log_event::peek_is_commit_rollback(packet->ptr()+*ev_offset,
- packet->length()-*ev_offset,
- current_checksum_alg)))
+ !Query_log_event::peek_is_commit_rollback
+ (info->packet->ptr()+*ev_offset,
+ info->packet->length()-*ev_offset,
+ info->current_checksum_alg)))
return false;
break;
}
@@ -1493,12 +1551,11 @@ is_until_reached(THD *thd, NET *net, String *packet, ulong *ev_offset,
Send a last fake Gtid_list_log_event with a flag set to mark that we
stop due to UNTIL condition.
*/
- if (reset_transmit_packet(thd, flags, ev_offset, errmsg))
+ if (reset_transmit_packet(info->thd, info->flags, ev_offset, errmsg))
return true;
- Gtid_list_log_event glev(until_binlog_state,
+ Gtid_list_log_event glev(&info->until_binlog_state,
Gtid_list_log_event::FLAG_UNTIL_REACHED);
- if (fake_gtid_list_event(net, packet, &glev, errmsg, current_checksum_alg,
- current_pos))
+ if (fake_gtid_list_event(info, &glev, errmsg, current_pos))
return true;
*errmsg= NULL;
return true;
@@ -1512,23 +1569,19 @@ is_until_reached(THD *thd, NET *net, String *packet, ulong *ev_offset,
Returns NULL on success, error message string on error.
*/
static const char *
-send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
- Log_event_type event_type, char *log_file_name,
- IO_CACHE *log, int mariadb_slave_capability,
- ulong ev_offset, uint8 current_checksum_alg,
- bool using_gtid_state, slave_connection_state *gtid_state,
- enum_gtid_skip_type *gtid_skip_group,
- slave_connection_state *until_gtid_state,
- enum_gtid_until_state *gtid_until_group,
- rpl_binlog_state *until_binlog_state,
- bool slave_gtid_strict_mode, rpl_gtid *error_gtid,
- bool *send_fake_gtid_list,
- Format_description_log_event *fdev)
+send_event_to_slave(binlog_send_info *info, Log_event_type event_type,
+ IO_CACHE *log, ulong ev_offset, rpl_gtid *error_gtid)
{
my_off_t pos;
+ String* const packet= info->packet;
size_t len= packet->length();
+ int mariadb_slave_capability= info->mariadb_slave_capability;
+ uint8 current_checksum_alg= info->current_checksum_alg;
+ slave_connection_state *gtid_state= &info->gtid_state;
+ slave_connection_state *until_gtid_state= info->until_gtid_state;
- if (event_type == GTID_LIST_EVENT && using_gtid_state && until_gtid_state)
+ if (event_type == GTID_LIST_EVENT &&
+ info->using_gtid_state && until_gtid_state)
{
rpl_gtid *gtid_list;
uint32 list_len;
@@ -1537,12 +1590,12 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
if (ev_offset > len ||
Gtid_list_log_event::peek(packet->ptr()+ev_offset, len - ev_offset,
current_checksum_alg,
- &gtid_list, &list_len, fdev))
+ &gtid_list, &list_len, info->fdev))
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
return "Failed to read Gtid_list_log_event: corrupt binlog";
}
- err= until_binlog_state->load(gtid_list, list_len);
+ err= info->until_binlog_state.load(gtid_list, list_len);
my_free(gtid_list);
if (err)
{
@@ -1552,7 +1605,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
}
/* Skip GTID event groups until we reach slave position within a domain_id. */
- if (event_type == GTID_EVENT && using_gtid_state)
+ if (event_type == GTID_EVENT && info->using_gtid_state)
{
uchar flags2;
slave_connection_state::entry *gtid_entry;
@@ -1566,7 +1619,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
Gtid_log_event::peek(packet->ptr()+ev_offset, len - ev_offset,
current_checksum_alg,
&event_gtid.domain_id, &event_gtid.server_id,
- &event_gtid.seq_no, &flags2, fdev))
+ &event_gtid.seq_no, &flags2, info->fdev))
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
return "Failed to read Gtid_log_event: corrupt binlog";
@@ -1575,7 +1628,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
DBUG_EXECUTE_IF("gtid_force_reconnect_at_10_1_100",
{
rpl_gtid *dbug_gtid;
- if ((dbug_gtid= until_binlog_state->find_nolock(10,1)) &&
+ if ((dbug_gtid= info->until_binlog_state.find_nolock(10,1)) &&
dbug_gtid->seq_no == 100)
{
DBUG_SET("-d,gtid_force_reconnect_at_10_1_100");
@@ -1585,7 +1638,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
}
});
- if (until_binlog_state->update_nolock(&event_gtid, false))
+ if (info->until_binlog_state.update_nolock(&event_gtid, false))
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
return "Failed in internal GTID book-keeping: Out of memory";
@@ -1618,12 +1671,13 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
/* Skip this event group if we have not yet reached slave start pos. */
if (event_gtid.server_id != gtid->server_id ||
event_gtid.seq_no <= gtid->seq_no)
- *gtid_skip_group = (flags2 & Gtid_log_event::FL_STANDALONE ?
+ info->gtid_skip_group= (flags2 & Gtid_log_event::FL_STANDALONE ?
GTID_SKIP_STANDALONE : GTID_SKIP_TRANSACTION);
if (event_gtid.server_id == gtid->server_id &&
event_gtid.seq_no >= gtid->seq_no)
{
- if (slave_gtid_strict_mode && event_gtid.seq_no > gtid->seq_no &&
+ if (info->slave_gtid_strict_mode &&
+ event_gtid.seq_no > gtid->seq_no &&
!(gtid_entry->flags & slave_connection_state::START_OWN_SLAVE_POS))
{
/*
@@ -1645,7 +1699,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
so MASTER_POS_WAIT() and MASTER_GTID_WAIT() can work.
The fake event will be sent at the end of this event group.
*/
- *send_fake_gtid_list= true;
+ info->send_fake_gtid_list= true;
/*
Delete this entry if we have reached slave start position (so we
@@ -1666,7 +1720,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
This domain already reached the START SLAVE UNTIL stop condition,
so skip this event group.
*/
- *gtid_skip_group = (flags2 & Gtid_log_event::FL_STANDALONE ?
+ info->gtid_skip_group = (flags2 & Gtid_log_event::FL_STANDALONE ?
GTID_SKIP_STANDALONE : GTID_SKIP_TRANSACTION);
}
else if (event_gtid.server_id == gtid->server_id &&
@@ -1681,9 +1735,9 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
uint64 until_seq_no= gtid->seq_no;
until_gtid_state->remove(gtid);
if (until_gtid_state->count() == 0)
- *gtid_until_group= (flags2 & Gtid_log_event::FL_STANDALONE ?
- GTID_UNTIL_STOP_AFTER_STANDALONE :
- GTID_UNTIL_STOP_AFTER_TRANSACTION);
+ info->gtid_until_group= (flags2 & Gtid_log_event::FL_STANDALONE ?
+ GTID_UNTIL_STOP_AFTER_STANDALONE :
+ GTID_UNTIL_STOP_AFTER_TRANSACTION);
if (event_gtid.seq_no > until_seq_no)
{
/*
@@ -1693,7 +1747,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
should be in, we can just stop now. And we also need to skip this
event group (as it is beyond the UNTIL condition).
*/
- *gtid_skip_group = (flags2 & Gtid_log_event::FL_STANDALONE ?
+ info->gtid_skip_group = (flags2 & Gtid_log_event::FL_STANDALONE ?
GTID_SKIP_STANDALONE : GTID_SKIP_TRANSACTION);
}
}
@@ -1707,11 +1761,11 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
Note that slave that understands GTID can also tolerate holes, so there is
no need to supply dummy event.
*/
- switch (*gtid_skip_group)
+ switch (info->gtid_skip_group)
{
case GTID_SKIP_STANDALONE:
if (!Log_event::is_part_of_group(event_type))
- *gtid_skip_group= GTID_SKIP_NOT;
+ info->gtid_skip_group= GTID_SKIP_NOT;
return NULL;
case GTID_SKIP_TRANSACTION:
if (event_type == XID_EVENT ||
@@ -1719,14 +1773,15 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
Query_log_event::peek_is_commit_rollback(packet->ptr() + ev_offset,
len - ev_offset,
current_checksum_alg)))
- *gtid_skip_group= GTID_SKIP_NOT;
+ info->gtid_skip_group= GTID_SKIP_NOT;
return NULL;
case GTID_SKIP_NOT:
break;
}
/* Do not send annotate_rows events unless slave requested it. */
- if (event_type == ANNOTATE_ROWS_EVENT && !(flags & BINLOG_SEND_ANNOTATE_ROWS_EVENT))
+ if (event_type == ANNOTATE_ROWS_EVENT &&
+ !(info->flags & BINLOG_SEND_ANNOTATE_ROWS_EVENT))
{
if (mariadb_slave_capability >= MARIA_SLAVE_CAPABILITY_TOLERATE_HOLES)
{
@@ -1820,7 +1875,7 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
Skip events with the @@skip_replication flag set, if slave requested
skipping of such events.
*/
- if (thd->variables.option_bits & OPTION_SKIP_REPLICATION)
+ if (info->thd->variables.option_bits & OPTION_SKIP_REPLICATION)
{
/*
The first byte of the packet is a '\0' to distinguish it from an error
@@ -1831,17 +1886,17 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
return NULL;
}
- THD_STAGE_INFO(thd, stage_sending_binlog_event_to_slave);
+ THD_STAGE_INFO(info->thd, stage_sending_binlog_event_to_slave);
pos= my_b_tell(log);
if (RUN_HOOK(binlog_transmit, before_send_event,
- (thd, flags, packet, log_file_name, pos)))
+ (info->thd, info->flags, packet, info->log_file_name, pos)))
{
my_errno= ER_UNKNOWN_ERROR;
return "run 'before_send_event' hook failed";
}
- if (my_net_write(net, (uchar*) packet->ptr(), len))
+ if (my_net_write(info->net, (uchar*) packet->ptr(), len))
{
my_errno= ER_UNKNOWN_ERROR;
return "Failed on my_net_write()";
@@ -1850,14 +1905,15 @@ send_event_to_slave(THD *thd, NET *net, String* const packet, ushort flags,
DBUG_PRINT("info", ("log event code %d", (*packet)[LOG_EVENT_OFFSET+1] ));
if (event_type == LOAD_EVENT)
{
- if (send_file(thd))
+ if (send_file(info->thd))
{
my_errno= ER_UNKNOWN_ERROR;
return "failed in send_file()";
}
}
- if (RUN_HOOK(binlog_transmit, after_send_event, (thd, flags, packet)))
+ if (RUN_HOOK(binlog_transmit, after_send_event,
+ (info->thd, info->flags, packet)))
{
my_errno= ER_UNKNOWN_ERROR;
return "Failed to run hook 'after_send_event'";
@@ -1878,31 +1934,21 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
IO_CACHE log;
File file = -1;
- String* const packet = &thd->packet;
+ String* const packet= &thd->packet;
int error;
const char *errmsg = "Unknown error", *tmp_msg;
char error_text[MAX_SLAVE_ERRMSG]; // to be send to slave via my_message()
- NET* net = &thd->net;
mysql_mutex_t *log_lock;
mysql_cond_t *log_cond;
- int mariadb_slave_capability;
char str_buf[128];
String connect_gtid_state(str_buf, sizeof(str_buf), system_charset_info);
- bool using_gtid_state;
char str_buf2[128];
String slave_until_gtid_str(str_buf2, sizeof(str_buf2), system_charset_info);
- slave_connection_state gtid_state, until_gtid_state_obj;
- slave_connection_state *until_gtid_state= NULL;
+ slave_connection_state until_gtid_state_obj;
rpl_gtid error_gtid;
- enum_gtid_skip_type gtid_skip_group= GTID_SKIP_NOT;
- enum_gtid_until_state gtid_until_group= GTID_UNTIL_NOT_DONE;
- rpl_binlog_state until_binlog_state;
- bool slave_gtid_strict_mode= false;
- bool send_fake_gtid_list= false;
+ binlog_send_info info(thd, packet, flags, log_file_name);
- uint8 current_checksum_alg= BINLOG_CHECKSUM_ALG_UNDEF;
int old_max_allowed_packet= thd->variables.max_allowed_packet;
- Format_description_log_event *fdev= NULL;
#ifndef DBUG_OFF
int left_events = max_binlog_dump_events;
@@ -1928,16 +1974,17 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
heartbeat_ts= &heartbeat_buf;
set_timespec_nsec(*heartbeat_ts, 0);
}
- mariadb_slave_capability= get_mariadb_slave_capability(thd);
+ info.mariadb_slave_capability= get_mariadb_slave_capability(thd);
connect_gtid_state.length(0);
- using_gtid_state= get_slave_connect_state(thd, &connect_gtid_state);
- DBUG_EXECUTE_IF("simulate_non_gtid_aware_master", using_gtid_state= false;);
- if (using_gtid_state)
+ info.using_gtid_state= get_slave_connect_state(thd, &connect_gtid_state);
+ DBUG_EXECUTE_IF("simulate_non_gtid_aware_master", info.using_gtid_state= false;);
+ if (info.using_gtid_state)
{
- slave_gtid_strict_mode= get_slave_gtid_strict_mode(thd);
+ info.slave_gtid_strict_mode= get_slave_gtid_strict_mode(thd);
+ info.slave_gtid_ignore_duplicates= get_slave_gtid_ignore_duplicates(thd);
if(get_slave_until_gtid(thd, &slave_until_gtid_str))
- until_gtid_state= &until_gtid_state_obj;
+ info.until_gtid_state= &until_gtid_state_obj;
}
DBUG_EXECUTE_IF("binlog_force_reconnect_after_22_events",
@@ -1960,8 +2007,8 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
});
if (global_system_variables.log_warnings > 1)
- sql_print_information("Start binlog_dump to slave_server(%d), pos(%s, %lu)",
- (int)thd->variables.server_id, log_ident, (ulong)pos);
+ sql_print_information("Start binlog_dump to slave_server(%lu), pos(%s, %lu)",
+ thd->variables.server_id, log_ident, (ulong)pos);
if (RUN_HOOK(binlog_transmit, transmit_start, (thd, flags, log_ident, pos)))
{
errmsg= "Failed to run hook 'transmit_start'";
@@ -1978,7 +2025,7 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
}
#endif
- if (!(fdev= new Format_description_log_event(3)))
+ if (!(info.fdev= new Format_description_log_event(3)))
{
errmsg= "Out of memory initializing format_description event";
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
@@ -1999,33 +2046,32 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
}
name=search_file_name;
- if (using_gtid_state)
+ if (info.using_gtid_state)
{
- if (gtid_state.load(connect_gtid_state.c_ptr_quick(),
- connect_gtid_state.length()))
+ if (info.gtid_state.load(connect_gtid_state.c_ptr_quick(),
+ connect_gtid_state.length()))
{
errmsg= "Out of memory or malformed slave request when obtaining start "
"position from GTID state";
my_errno= ER_UNKNOWN_ERROR;
goto err;
}
- if (until_gtid_state &&
- until_gtid_state->load(slave_until_gtid_str.c_ptr_quick(),
- slave_until_gtid_str.length()))
+ if (info.until_gtid_state &&
+ info.until_gtid_state->load(slave_until_gtid_str.c_ptr_quick(),
+ slave_until_gtid_str.length()))
{
errmsg= "Out of memory or malformed slave request when obtaining UNTIL "
"position sent from slave";
my_errno= ER_UNKNOWN_ERROR;
goto err;
}
- if ((error= check_slave_start_position(thd, &gtid_state, &errmsg,
- &error_gtid, until_gtid_state)))
+ if ((error= check_slave_start_position(&info, &errmsg, &error_gtid)))
{
my_errno= error;
goto err;
}
- if ((errmsg= gtid_find_binlog_file(&gtid_state, search_file_name,
- until_gtid_state)))
+ if ((errmsg= gtid_find_binlog_file(&info.gtid_state, search_file_name,
+ info.until_gtid_state)))
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
goto err;
@@ -2098,7 +2144,7 @@ impossible position";
given that we want minimum modification of 4.0, we send the normal
and fake Rotates.
*/
- if (fake_rotate_event(net, packet, log_file_name, pos, &errmsg,
+ if (fake_rotate_event(&info, pos, &errmsg,
get_binlog_checksum_value_at_connect(thd)))
{
/*
@@ -2150,14 +2196,14 @@ impossible position";
{
Format_description_log_event *tmp;
- current_checksum_alg= get_checksum_alg(packet->ptr() + ev_offset,
- packet->length() - ev_offset);
- DBUG_ASSERT(current_checksum_alg == BINLOG_CHECKSUM_ALG_OFF ||
- current_checksum_alg == BINLOG_CHECKSUM_ALG_UNDEF ||
- current_checksum_alg == BINLOG_CHECKSUM_ALG_CRC32);
+ info.current_checksum_alg= get_checksum_alg(packet->ptr() + ev_offset,
+ packet->length() - ev_offset);
+ DBUG_ASSERT(info.current_checksum_alg == BINLOG_CHECKSUM_ALG_OFF ||
+ info.current_checksum_alg == BINLOG_CHECKSUM_ALG_UNDEF ||
+ info.current_checksum_alg == BINLOG_CHECKSUM_ALG_CRC32);
if (!is_slave_checksum_aware(thd) &&
- current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
- current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
+ info.current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
+ info.current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
errmsg= "Slave can not handle replication events with the checksum "
@@ -2170,14 +2216,14 @@ impossible position";
if (!(tmp= new Format_description_log_event(packet->ptr()+ev_offset,
packet->length()-ev_offset,
- fdev)))
+ info.fdev)))
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
errmsg= "Corrupt Format_description event found or out-of-memory";
goto err;
}
- delete fdev;
- fdev= tmp;
+ delete info.fdev;
+ info.fdev= tmp;
(*packet)[FLAGS_OFFSET+ev_offset] &= ~LOG_EVENT_BINLOG_IN_USE_F;
/*
@@ -2194,12 +2240,12 @@ impossible position";
ST_CREATED_OFFSET+ev_offset, (ulong) 0);
/* fix the checksum due to latest changes in header */
- if (current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
- current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
+ if (info.current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
+ info.current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
fix_checksum(packet, ev_offset);
/* send it */
- if (my_net_write(net, (uchar*) packet->ptr(), packet->length()))
+ if (my_net_write(info.net, (uchar*) packet->ptr(), packet->length()))
{
errmsg = "Failed on my_net_write()";
my_errno= ER_UNKNOWN_ERROR;
@@ -2235,13 +2281,13 @@ impossible position";
We will send one event, the format_description, and then stop.
*/
- if (until_gtid_state && until_gtid_state->count() == 0)
- gtid_until_group= GTID_UNTIL_STOP_AFTER_STANDALONE;
+ if (info.until_gtid_state && info.until_gtid_state->count() == 0)
+ info.gtid_until_group= GTID_UNTIL_STOP_AFTER_STANDALONE;
/* seek to the requested position, to start the requested dump */
my_b_seek(&log, pos); // Seek will done on next read
- while (!net->error && net->vio != 0 && !thd->killed)
+ while (!info.net->error && info.net->vio != 0 && !thd->killed)
{
Log_event_type event_type= UNKNOWN_EVENT;
killed_state killed;
@@ -2254,14 +2300,14 @@ impossible position";
bool is_active_binlog= false;
while (!(killed= thd->killed) &&
!(error = Log_event::read_log_event(&log, packet, log_lock,
- current_checksum_alg,
+ info.current_checksum_alg,
log_file_name,
&is_active_binlog)))
{
#ifndef DBUG_OFF
if (max_binlog_dump_events && !left_events--)
{
- net_flush(net);
+ net_flush(info.net);
errmsg = "Debugging binlog dump abort";
my_errno= ER_UNKNOWN_ERROR;
goto err;
@@ -2279,7 +2325,7 @@ impossible position";
{
if (event_type == XID_EVENT)
{
- net_flush(net);
+ net_flush(info.net);
const char act[]=
"now "
"wait_for signal.continue";
@@ -2298,14 +2344,14 @@ impossible position";
{
Format_description_log_event *tmp;
- current_checksum_alg= get_checksum_alg(packet->ptr() + ev_offset,
+ info.current_checksum_alg= get_checksum_alg(packet->ptr() + ev_offset,
packet->length() - ev_offset);
- DBUG_ASSERT(current_checksum_alg == BINLOG_CHECKSUM_ALG_OFF ||
- current_checksum_alg == BINLOG_CHECKSUM_ALG_UNDEF ||
- current_checksum_alg == BINLOG_CHECKSUM_ALG_CRC32);
+ DBUG_ASSERT(info.current_checksum_alg == BINLOG_CHECKSUM_ALG_OFF ||
+ info.current_checksum_alg == BINLOG_CHECKSUM_ALG_UNDEF ||
+ info.current_checksum_alg == BINLOG_CHECKSUM_ALG_CRC32);
if (!is_slave_checksum_aware(thd) &&
- current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
- current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
+ info.current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
+ info.current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
errmsg= "Slave can not handle replication events with the checksum "
@@ -2318,14 +2364,14 @@ impossible position";
if (!(tmp= new Format_description_log_event(packet->ptr()+ev_offset,
packet->length()-ev_offset,
- fdev)))
+ info.fdev)))
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
errmsg= "Corrupt Format_description event found or out-of-memory";
goto err;
}
- delete fdev;
- fdev= tmp;
+ delete info.fdev;
+ info.fdev= tmp;
(*packet)[FLAGS_OFFSET+ev_offset] &= ~LOG_EVENT_BINLOG_IN_USE_F;
}
@@ -2343,36 +2389,28 @@ impossible position";
}
#endif
- if ((tmp_msg= send_event_to_slave(thd, net, packet, flags, event_type,
- log_file_name, &log,
- mariadb_slave_capability, ev_offset,
- current_checksum_alg, using_gtid_state,
- &gtid_state, &gtid_skip_group,
- until_gtid_state, &gtid_until_group,
- &until_binlog_state,
- slave_gtid_strict_mode, &error_gtid,
- &send_fake_gtid_list, fdev)))
+ if ((tmp_msg= send_event_to_slave(&info, event_type, &log,
+ ev_offset, &error_gtid)))
{
errmsg= tmp_msg;
goto err;
}
- if (unlikely(send_fake_gtid_list) && gtid_skip_group == GTID_SKIP_NOT)
+ if (unlikely(info.send_fake_gtid_list) &&
+ info.gtid_skip_group == GTID_SKIP_NOT)
{
- Gtid_list_log_event glev(&until_binlog_state, 0);
+ Gtid_list_log_event glev(&info.until_binlog_state, 0);
if (reset_transmit_packet(thd, flags, &ev_offset, &errmsg) ||
- fake_gtid_list_event(net, packet, &glev, &errmsg,
- current_checksum_alg, my_b_tell(&log)))
+ fake_gtid_list_event(&info, &glev, &errmsg, my_b_tell(&log)))
{
my_errno= ER_UNKNOWN_ERROR;
goto err;
}
- send_fake_gtid_list= false;
+ info.send_fake_gtid_list= false;
}
- if (until_gtid_state &&
- is_until_reached(thd, net, packet, &ev_offset, gtid_until_group,
- event_type, current_checksum_alg, flags, &errmsg,
- &until_binlog_state, my_b_tell(&log)))
+ if (info.until_gtid_state &&
+ is_until_reached(&info, &ev_offset, event_type, &errmsg,
+ my_b_tell(&log)))
{
if (errmsg)
{
@@ -2386,7 +2424,7 @@ impossible position";
{
if (event_type == XID_EVENT)
{
- net_flush(net);
+ net_flush(info.net);
}
});
@@ -2423,7 +2461,7 @@ impossible position";
/*
Block until there is more data in the log
*/
- if (net_flush(net))
+ if (net_flush(info.net))
{
errmsg = "failed on net_flush()";
my_errno= ER_UNKNOWN_ERROR;
@@ -2466,7 +2504,7 @@ impossible position";
mysql_mutex_lock(log_lock);
switch (error= Log_event::read_log_event(&log, packet, (mysql_mutex_t*) 0,
- current_checksum_alg)) {
+ info.current_checksum_alg)) {
case 0:
/* we read successfully, so we'll need to send it to the slave */
mysql_mutex_unlock(log_lock);
@@ -2524,7 +2562,8 @@ impossible position";
thd->EXIT_COND(&old_stage);
goto err;
}
- if (send_heartbeat_event(net, packet, p_coord, current_checksum_alg))
+ if (send_heartbeat_event(info.net, packet, p_coord,
+ info.current_checksum_alg))
{
errmsg = "Failed on my_net_write()";
my_errno= ER_UNKNOWN_ERROR;
@@ -2549,36 +2588,28 @@ impossible position";
if (read_packet)
{
- if ((tmp_msg= send_event_to_slave(thd, net, packet, flags, event_type,
- log_file_name, &log,
- mariadb_slave_capability, ev_offset,
- current_checksum_alg,
- using_gtid_state, &gtid_state,
- &gtid_skip_group, until_gtid_state,
- &gtid_until_group, &until_binlog_state,
- slave_gtid_strict_mode, &error_gtid,
- &send_fake_gtid_list, fdev)))
+ if ((tmp_msg= send_event_to_slave(&info, event_type, &log,
+ ev_offset, &error_gtid)))
{
errmsg= tmp_msg;
goto err;
}
- if (unlikely(send_fake_gtid_list) && gtid_skip_group == GTID_SKIP_NOT)
+ if (unlikely(info.send_fake_gtid_list)
+ && info.gtid_skip_group == GTID_SKIP_NOT)
{
- Gtid_list_log_event glev(&until_binlog_state, 0);
+ Gtid_list_log_event glev(&info.until_binlog_state, 0);
if (reset_transmit_packet(thd, flags, &ev_offset, &errmsg) ||
- fake_gtid_list_event(net, packet, &glev, &errmsg,
- current_checksum_alg, my_b_tell(&log)))
+ fake_gtid_list_event(&info, &glev, &errmsg, my_b_tell(&log)))
{
my_errno= ER_UNKNOWN_ERROR;
goto err;
}
- send_fake_gtid_list= false;
+ info.send_fake_gtid_list= false;
}
- if (until_gtid_state &&
- is_until_reached(thd, net, packet, &ev_offset, gtid_until_group,
- event_type, current_checksum_alg, flags, &errmsg,
- &until_binlog_state, my_b_tell(&log)))
+ if (info.until_gtid_state &&
+ is_until_reached(&info, &ev_offset, event_type, &errmsg,
+ my_b_tell(&log)))
{
if (errmsg)
{
@@ -2633,8 +2664,8 @@ impossible position";
read and send is Format_description_log_event.
*/
if ((file=open_binlog(&log, log_file_name, &errmsg)) < 0 ||
- fake_rotate_event(net, packet, log_file_name, BIN_LOG_HEADER_SIZE,
- &errmsg, current_checksum_alg))
+ fake_rotate_event(&info, BIN_LOG_HEADER_SIZE, &errmsg,
+ info.current_checksum_alg))
{
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
goto err;
@@ -2655,7 +2686,7 @@ end:
thd->current_linfo = 0;
mysql_mutex_unlock(&LOCK_thread_count);
thd->variables.max_allowed_packet= old_max_allowed_packet;
- delete fdev;
+ delete info.fdev;
DBUG_VOID_RETURN;
err:
@@ -2731,7 +2762,7 @@ err:
if (file >= 0)
mysql_file_close(file, MYF(MY_WME));
thd->variables.max_allowed_packet= old_max_allowed_packet;
- delete fdev;
+ delete info.fdev;
my_message(my_errno, error_text, MYF(0));
DBUG_VOID_RETURN;
@@ -3966,6 +3997,20 @@ rpl_deinit_gtid_slave_state()
}
+void
+rpl_init_gtid_waiting()
+{
+ rpl_global_gtid_waiting.init();
+}
+
+
+void
+rpl_deinit_gtid_waiting()
+{
+ rpl_global_gtid_waiting.destroy();
+}
+
+
/*
Format the current GTID state as a string, for returning the value of
@@global.gtid_slave_pos.
diff --git a/sql/sql_repl.h b/sql/sql_repl.h
index 018b23673ee..7f7751b8f44 100644
--- a/sql/sql_repl.h
+++ b/sql/sql_repl.h
@@ -72,6 +72,8 @@ extern PSI_mutex_key key_LOCK_slave_state, key_LOCK_binlog_state;
#endif
void rpl_init_gtid_slave_state();
void rpl_deinit_gtid_slave_state();
+void rpl_init_gtid_waiting();
+void rpl_deinit_gtid_waiting();
int gtid_state_from_binlog_pos(const char *name, uint32 pos, String *out_str);
int rpl_append_gtid_state(String *dest, bool use_binlog);
int rpl_load_gtid_state(slave_connection_state *state, bool use_binlog);
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index dd23400f387..235de14c466 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -725,7 +725,7 @@ JOIN::prepare(Item ***rref_pointer_array,
aggregate functions in the SELECT list is a MySQL exptenstion that
is allowed only if the ONLY_FULL_GROUP_BY sql mode is not set.
*/
- bool mixed_implicit_grouping= false;
+ mixed_implicit_grouping= false;
if ((~thd->variables.sql_mode & MODE_ONLY_FULL_GROUP_BY) &&
select_lex->with_sum_func && !group_list)
{
@@ -764,7 +764,7 @@ JOIN::prepare(Item ***rref_pointer_array,
Note: this loop doesn't touch tables inside merged semi-joins, because
subquery-to-semijoin conversion has not been done yet. This is intended.
*/
- if (mixed_implicit_grouping)
+ if (mixed_implicit_grouping && tbl->table)
tbl->table->maybe_null= 1;
}
@@ -1766,7 +1766,7 @@ TODO: make view to decide if it is possible to write to WHERE directly or make S
/* Perform FULLTEXT search before all regular searches */
if (!(select_options & SELECT_DESCRIBE))
- init_ftfuncs(thd, select_lex, test(order));
+ init_ftfuncs(thd, select_lex, MY_TEST(order));
if (optimize_unflattened_subqueries())
DBUG_RETURN(1);
@@ -2279,7 +2279,7 @@ JOIN::reinit()
}
if (!(select_options & SELECT_DESCRIBE))
- init_ftfuncs(thd, select_lex, test(order));
+ init_ftfuncs(thd, select_lex, MY_TEST(order));
DBUG_RETURN(0);
}
@@ -2602,7 +2602,7 @@ void JOIN::exec_inner()
curr_join->const_tables != curr_join->table_count)
{
JOIN_TAB *first_tab= curr_join->join_tab + curr_join->const_tables;
- first_tab->sorted= test(first_tab->loosescan_match_tab);
+ first_tab->sorted= MY_TEST(first_tab->loosescan_match_tab);
}
Procedure *save_proc= curr_join->procedure;
@@ -2782,7 +2782,7 @@ void JOIN::exec_inner()
curr_join->const_tables != curr_join->table_count)
{
JOIN_TAB *first_tab= curr_join->join_tab + curr_join->const_tables;
- first_tab->sorted= test(first_tab->loosescan_match_tab);
+ first_tab->sorted= MY_TEST(first_tab->loosescan_match_tab);
}
tmp_error= -1;
if (setup_sum_funcs(curr_join->thd, curr_join->sum_funcs) ||
@@ -3064,7 +3064,8 @@ void JOIN::exec_inner()
Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF);
error= do_select(curr_join, curr_fields_list, NULL, procedure);
thd->limit_found_rows= curr_join->send_records;
- if (curr_join->order && curr_join->filesort_found_rows)
+ if (curr_join->order && curr_join->sortorder &&
+ curr_join->select_options & OPTION_FOUND_ROWS)
{
/* Use info provided by filesort. */
DBUG_ASSERT(curr_join->table_count > curr_join->const_tables);
@@ -3429,13 +3430,7 @@ make_join_statistics(JOIN *join, List<TABLE_LIST> &tables_list,
#endif
DBUG_EXECUTE_IF("bug11747970_raise_error",
- {
- if (!error)
- {
- my_error(ER_UNKNOWN_ERROR, MYF(0));
- goto error;
- }
- });
+ { join->thd->killed= KILL_QUERY_HARD; });
if (error)
{
table->file->print_error(error, MYF(0));
@@ -3824,7 +3819,12 @@ make_join_statistics(JOIN *join, List<TABLE_LIST> &tables_list,
join->impossible_where= false;
if (conds && const_count)
{
+ conds->update_used_tables();
conds= remove_eq_conds(join->thd, conds, &join->cond_value);
+ if (conds && conds->type() == Item::COND_ITEM &&
+ ((Item_cond*) conds)->functype() == Item_func::COND_AND_FUNC)
+ join->cond_equal= &((Item_cond_and*) conds)->cond_equal;
+ join->select_lex->where= conds;
if (join->cond_value == Item::COND_FALSE)
{
join->impossible_where= true;
@@ -4982,8 +4982,8 @@ sort_keyuse(KEYUSE *a,KEYUSE *b)
if (a->keypart != b->keypart)
return (int) (a->keypart - b->keypart);
// Place const values before other ones
- if ((res= test((a->used_tables & ~OUTER_REF_TABLE_BIT)) -
- test((b->used_tables & ~OUTER_REF_TABLE_BIT))))
+ if ((res= MY_TEST((a->used_tables & ~OUTER_REF_TABLE_BIT)) -
+ MY_TEST((b->used_tables & ~OUTER_REF_TABLE_BIT))))
return res;
/* Place rows that are not 'OPTIMIZE_REF_OR_NULL' first */
return (int) ((a->optimize & KEY_OPTIMIZE_REF_OR_NULL) -
@@ -5274,7 +5274,8 @@ static bool sort_and_filter_keyuse(THD *thd, DYNAMIC_ARRAY *keyuse,
{
if (!use->is_for_hash_join())
{
- if (!use->used_tables && use->optimize != KEY_OPTIMIZE_REF_OR_NULL)
+ if (!(use->used_tables & ~OUTER_REF_TABLE_BIT) &&
+ use->optimize != KEY_OPTIMIZE_REF_OR_NULL)
use->table->const_key_parts[use->key]|= use->keypart_map;
if (use->keypart != FT_KEYPART)
{
@@ -5557,12 +5558,39 @@ void set_position(JOIN *join,uint idx,JOIN_TAB *table,KEYUSE *key)
}
-/* Estimate of the number matching candidates in the joined table */
+/*
+ Estimate how many records we will get if we read just this table and apply
+ a part of WHERE that can be checked for it.
+
+ @detail
+ Estimate how many records we will get if we
+ - read the given table with its "independent" access method (either quick
+ select or full table/index scan),
+ - apply the part of WHERE that refers only to this table.
+
+ @seealso
+ table_cond_selectivity() produces selectivity of condition that is checked
+ after joining rows from this table to rows from preceding tables.
+*/
inline
-ha_rows matching_candidates_in_table(JOIN_TAB *s, bool with_found_constraint)
+double matching_candidates_in_table(JOIN_TAB *s, bool with_found_constraint,
+ uint use_cond_selectivity)
{
- ha_rows records= s->found_records;
+ ha_rows records;
+ double dbl_records;
+
+ if (use_cond_selectivity > 1)
+ {
+ TABLE *table= s->table;
+ double sel= table->cond_selectivity;
+ double table_records= table->stat_records();
+ dbl_records= table_records * sel;
+ return dbl_records;
+ }
+
+ records = s->found_records;
+
/*
If there is a filtering condition on the table (i.e. ref analyzer found
at least one "table.keyXpartY= exprZ", where exprZ refers only to tables
@@ -5582,7 +5610,8 @@ ha_rows matching_candidates_in_table(JOIN_TAB *s, bool with_found_constraint)
if (s->table->quick_condition_rows != s->found_records)
records= s->table->quick_condition_rows;
- return records;
+ dbl_records= records;
+ return dbl_records;
}
@@ -5625,6 +5654,7 @@ best_access_path(JOIN *join,
POSITION *loose_scan_pos)
{
THD *thd= join->thd;
+ uint use_cond_selectivity= thd->variables.optimizer_use_condition_selectivity;
KEYUSE *best_key= 0;
uint best_max_key_part= 0;
my_bool found_constraint= 0;
@@ -5766,7 +5796,7 @@ best_access_path(JOIN *join,
}
else
{
- found_constraint= test(found_part);
+ found_constraint= MY_TEST(found_part);
loose_scan_opt.check_ref_access_part1(s, key, start_key, found_part);
/* Check if we found full key */
@@ -5775,7 +5805,7 @@ best_access_path(JOIN *join,
{ /* use eq key */
max_key_part= (uint) ~0;
if ((key_flags & (HA_NOSAME | HA_NULL_PART_KEY)) == HA_NOSAME ||
- test(key_flags & HA_EXT_NOSAME))
+ MY_TEST(key_flags & HA_EXT_NOSAME))
{
tmp = prev_record_reads(join->positions, idx, found_ref);
records=1.0;
@@ -5906,7 +5936,7 @@ best_access_path(JOIN *join,
*/
if (table->quick_keys.is_set(key) && !found_ref && //(C1)
table->quick_key_parts[key] == max_key_part && //(C2)
- table->quick_n_ranges[key] == 1+test(ref_or_null_part)) //(C3)
+ table->quick_n_ranges[key] == 1 + MY_TEST(ref_or_null_part)) //(C3)
{
tmp= records= (double) table->quick_rows[key];
}
@@ -6000,8 +6030,8 @@ best_access_path(JOIN *join,
table->quick_key_parts[key] <= max_key_part &&
const_part &
((key_part_map)1 << table->quick_key_parts[key]) &&
- table->quick_n_ranges[key] == 1 + test(ref_or_null_part &
- const_part) &&
+ table->quick_n_ranges[key] == 1 + MY_TEST(ref_or_null_part &
+ const_part) &&
records > (double) table->quick_rows[key])
{
tmp= records= (double) table->quick_rows[key];
@@ -6056,7 +6086,8 @@ best_access_path(JOIN *join,
{
double join_sel= 0.1;
/* Estimate the cost of the hash join access to the table */
- ha_rows rnd_records= matching_candidates_in_table(s, found_constraint);
+ double rnd_records= matching_candidates_in_table(s, found_constraint,
+ use_cond_selectivity);
tmp= s->quick ? s->quick->read_time : s->scan_time();
tmp+= (s->records - rnd_records)/(double) TIME_FOR_COMPARE;
@@ -6068,7 +6099,7 @@ best_access_path(JOIN *join,
best_time= tmp +
(record_count*join_sel) / TIME_FOR_COMPARE * rnd_records;
best= tmp;
- records= rows2double(rnd_records);
+ records= rnd_records;
best_key= hj_start_key;
best_ref_depends_map= 0;
best_uses_jbuf= TRUE;
@@ -6115,7 +6146,8 @@ best_access_path(JOIN *join,
!(s->table->force_index && best_key && !s->quick) && // (4)
!(best_key && s->table->pos_in_table_list->jtbm_subselect)) // (5)
{ // Check full join
- ha_rows rnd_records= matching_candidates_in_table(s, found_constraint);
+ double rnd_records= matching_candidates_in_table(s, found_constraint,
+ use_cond_selectivity);
/*
Range optimizer never proposes a RANGE if it isn't better
@@ -6143,7 +6175,11 @@ best_access_path(JOIN *join,
else
{
/* Estimate cost of reading table. */
- tmp= s->scan_time();
+ if (s->table->force_index && !best_key) // index scan
+ tmp= s->table->file->read_time(s->ref.key, 1, s->records);
+ else // table scan
+ tmp= s->scan_time();
+
if ((s->table->map & join->outer_join) || disable_jbuf) // Can't use join cache
{
/*
@@ -6188,12 +6224,12 @@ best_access_path(JOIN *join,
will ensure that this will be used
*/
best= tmp;
- records= rows2double(rnd_records);
+ records= rnd_records;
best_key= 0;
/* range/index_merge/ALL/index access method are "independent", so: */
best_ref_depends_map= 0;
- best_uses_jbuf= test(!disable_jbuf && !((s->table->map &
- join->outer_join)));
+ best_uses_jbuf= MY_TEST(!disable_jbuf && !((s->table->map &
+ join->outer_join)));
}
}
@@ -6358,7 +6394,7 @@ choose_plan(JOIN *join, table_map join_tables)
uint prune_level= join->thd->variables.optimizer_prune_level;
uint use_cond_selectivity=
join->thd->variables.optimizer_use_condition_selectivity;
- bool straight_join= test(join->select_options & SELECT_STRAIGHT_JOIN);
+ bool straight_join= MY_TEST(join->select_options & SELECT_STRAIGHT_JOIN);
DBUG_ENTER("choose_plan");
join->cur_embedding_map= 0;
@@ -7214,14 +7250,25 @@ double table_multi_eq_cond_selectivity(JOIN *join, uint idx, JOIN_TAB *s,
/**
@brief
- Get the selectivity of conditions when joining a table
+ Get the selectivity of conditions when joining a table
@param join The optimized join
@param s The table to be joined for evaluation
@param rem_tables The bitmap of tables to be joined later
+ @detail
+ Get selectivity of conditions that can be applied when joining this table
+ with previous tables.
+
+ For quick selects and full table scans, selectivity of COND(this_table)
+ is accounted for in matching_candidates_in_table(). Here, we only count
+ selectivity of COND(this_table, previous_tables).
+
+ For other access methods, we need to calculate selectivity of the whole
+ condition, "COND(this_table) AND COND(this_table, previous_tables)".
+
@retval
- selectivity of the conditions imposed on the rows of s
+ selectivity of the conditions imposed on the rows of s
*/
static
@@ -7233,22 +7280,21 @@ double table_cond_selectivity(JOIN *join, uint idx, JOIN_TAB *s,
TABLE *table= s->table;
MY_BITMAP *read_set= table->read_set;
double sel= s->table->cond_selectivity;
- double table_records= table->stat_records();
POSITION *pos= &join->positions[idx];
uint keyparts= 0;
uint found_part_ref_or_null= 0;
- /* Discount the selectivity of the access method used to join table s */
- if (s->quick && s->quick->index != MAX_KEY)
+ if (pos->key != 0)
{
- if (pos->key == 0 && table_records > 0)
- {
- sel/= table->quick_rows[s->quick->index]/table_records;
- }
- }
- else if (pos->key != 0)
- {
- /* A ref/ access or hash join is used to join table */
+ /*
+ A ref access or hash join is used for this table.
+
+ It could have some parts with "t.key_part=const". Using ref access
+ means that we will only get records where the condition holds, so we
+ should remove its selectivity from the condition selectivity.
+
+ (TODO: more details about the "t.key=othertable.col" case)
+ */
KEYUSE *keyuse= pos->key;
KEYUSE *prev_ref_keyuse= keyuse;
uint key= keyuse->key;
@@ -7293,7 +7339,16 @@ double table_cond_selectivity(JOIN *join, uint idx, JOIN_TAB *s,
keyuse++;
} while (keyuse->table == table && keyuse->key == key);
}
-
+ else
+ {
+ /*
+ The table is accessed with full table scan, or quick select.
+ Selectivity of COND(table) is already accounted for in
+ matching_candidates_in_table().
+ */
+ sel= 1;
+ }
+
/*
If the field f from the table is equal to a field from one the
earlier joined tables then the selectivity of the range conditions
@@ -7592,7 +7647,11 @@ best_extension_by_limited_search(JOIN *join,
if (join->sort_by_table &&
join->sort_by_table !=
join->positions[join->const_tables].table->table)
- /* We have to make a temp table */
+ /*
+ We may have to make a temp table, note that this is only a
+ heuristic since we cannot know for sure at this point.
+ Hence it may be wrong.
+ */
current_read_time+= current_record_count;
if (current_read_time < join->best_read)
{
@@ -8252,7 +8311,8 @@ get_best_combination(JOIN *join)
sub-order
*/
SJ_MATERIALIZATION_INFO *sjm= cur_pos->table->emb_sj_nest->sj_mat_info;
- j->records= j->records_read= (ha_rows)(sjm->is_sj_scan? sjm->rows : 1);
+ j->records_read= (sjm->is_sj_scan? sjm->rows : 1);
+ j->records= (ha_rows) j->records_read;
j->cond_selectivity= 1.0;
JOIN_TAB *jt;
JOIN_TAB_RANGE *jt_range;
@@ -8316,7 +8376,7 @@ get_best_combination(JOIN *join)
Save records_read in JOIN_TAB so that select_describe()/etc don't have
to access join->best_positions[].
*/
- j->records_read= (ha_rows)join->best_positions[tablenr].records_read;
+ j->records_read= join->best_positions[tablenr].records_read;
j->cond_selectivity= join->best_positions[tablenr].cond_selectivity;
join->map2table[j->table->tablenr]= j;
@@ -8481,7 +8541,7 @@ static bool are_tables_local(JOIN_TAB *jtab, table_map used_tables)
table_map local_tables= jtab->emb_sj_nest->nested_join->used_tables |
jtab->join->const_table_map |
OUTER_REF_TABLE_BIT;
- return !test(used_tables & ~local_tables);
+ return !MY_TEST(used_tables & ~local_tables);
}
/*
@@ -8618,7 +8678,7 @@ static bool create_ref_for_key(JOIN *join, JOIN_TAB *j,
!are_tables_local(j, keyuse->val->used_tables()))
keyuse++; /* Skip other parts */
- uint maybe_null= test(keyinfo->key_part[i].null_bit);
+ uint maybe_null= MY_TEST(keyinfo->key_part[i].null_bit);
j->ref.items[i]=keyuse->val; // Save for cond removal
j->ref.cond_guards[i]= keyuse->cond_guard;
if (keyuse->null_rejecting)
@@ -8672,7 +8732,7 @@ static bool create_ref_for_key(JOIN *join, JOIN_TAB *j,
else if (!((keyparts == keyinfo->user_defined_key_parts &&
((key_flags & (HA_NOSAME | HA_NULL_PART_KEY)) == HA_NOSAME)) ||
(keyparts > keyinfo->user_defined_key_parts && // true only for extended keys
- test(key_flags & HA_EXT_NOSAME) &&
+ MY_TEST(key_flags & HA_EXT_NOSAME) &&
keyparts == keyinfo->ext_key_parts)) ||
null_ref_key)
{
@@ -8795,7 +8855,7 @@ JOIN::make_simple_join(JOIN *parent, TABLE *temp_table)
functions are handled.
*/
// the temporary table was explicitly requested
- DBUG_ASSERT(test(select_options & OPTION_BUFFER_RESULT));
+ DBUG_ASSERT(MY_TEST(select_options & OPTION_BUFFER_RESULT));
// the temporary table does not have a grouping expression
DBUG_ASSERT(!temp_table->group);
}
@@ -10402,7 +10462,7 @@ uint check_join_cache_usage(JOIN_TAB *tab,
((options & SELECT_DESCRIBE) || !tab->cache->init()))
{
tab->icp_other_tables_ok= FALSE;
- return (2-test(!prev_cache));
+ return (2 - MY_TEST(!prev_cache));
}
goto no_join_cache;
case JT_SYSTEM:
@@ -10437,7 +10497,7 @@ uint check_join_cache_usage(JOIN_TAB *tab,
((options & SELECT_DESCRIBE) || !tab->cache->init()))
{
tab->icp_other_tables_ok= FALSE;
- return (4-test(!prev_cache));
+ return (4 - MY_TEST(!prev_cache));
}
goto no_join_cache;
}
@@ -10456,7 +10516,7 @@ uint check_join_cache_usage(JOIN_TAB *tab,
prev_cache= 0;
if ((tab->cache= new JOIN_CACHE_BKA(join, tab, flags, prev_cache)) &&
((options & SELECT_DESCRIBE) || !tab->cache->init()))
- return (6-test(!prev_cache));
+ return (6 - MY_TEST(!prev_cache));
goto no_join_cache;
}
else
@@ -10467,7 +10527,7 @@ uint check_join_cache_usage(JOIN_TAB *tab,
((options & SELECT_DESCRIBE) || !tab->cache->init()))
{
tab->idx_cond_fact_out= FALSE;
- return (8-test(!prev_cache));
+ return (8 - MY_TEST(!prev_cache));
}
goto no_join_cache;
}
@@ -10562,7 +10622,7 @@ restart:
no_jbuf_after,
idx,
prev_tab);
- tab->use_join_cache= test(tab->used_join_cache_level);
+ tab->use_join_cache= MY_TEST(tab->used_join_cache_level);
/*
psergey-merge: todo: raise the question that this is really stupid that
we can first allocate a join buffer, then decide not to use it and free
@@ -10692,7 +10752,7 @@ make_join_readinfo(JOIN *join, ulonglong options, uint no_jbuf_after)
uint i;
DBUG_ENTER("make_join_readinfo");
- bool statistics= test(!(join->select_options & SELECT_DESCRIBE));
+ bool statistics= MY_TEST(!(join->select_options & SELECT_DESCRIBE));
bool sorted= 1;
join->complex_firstmatch_tables= table_map(0);
@@ -11152,7 +11212,7 @@ ha_rows JOIN_TAB::get_examined_rows()
else
examined_rows= records_read;
- return examined_rows;
+ return (ha_rows) examined_rows;
}
@@ -11190,7 +11250,7 @@ bool JOIN_TAB::preread_init()
/* init ftfuns for just initialized derived table */
if (table->fulltext_searched)
- init_ftfuncs(join->thd, join->select_lex, test(join->order));
+ init_ftfuncs(join->thd, join->select_lex, MY_TEST(join->order));
return FALSE;
}
@@ -11246,12 +11306,12 @@ bool TABLE_REF::tmp_table_index_lookup_init(THD *thd,
Item *item= it.next();
DBUG_ASSERT(item);
items[i]= item;
- int null_count= test(cur_key_part->field->real_maybe_null());
+ int null_count= MY_TEST(cur_key_part->field->real_maybe_null());
*ref_key= new store_key_item(thd, cur_key_part->field,
/* TIMOUR:
the NULL byte is taken into account in
cur_key_part->store_length, so instead of
- cur_ref_buff + test(maybe_null), we could
+ cur_ref_buff + MY_TEST(maybe_null), we could
use that information instead.
*/
cur_ref_buff + null_count,
@@ -11483,7 +11543,7 @@ void JOIN::cleanup(bool full)
}
if (full)
{
- cleanup_empty_jtbm_semi_joins(this);
+ cleanup_empty_jtbm_semi_joins(this, join_list);
/*
Ensure that the following delete_elements() would not be called
twice for the same list.
@@ -12982,7 +13042,7 @@ Item *eliminate_item_equal(COND *cond, COND_EQUAL *upper_levels,
item= NULL; /* Don't produce equality */
}
- bool produce_equality= test(item == field_item);
+ bool produce_equality= MY_TEST(item == field_item);
if (!item_const && field_sjm && field_sjm != current_sjm)
{
/* Entering an SJM nest */
@@ -13600,7 +13660,7 @@ simplify_joins(JOIN *join, List<TABLE_LIST> *join_list, COND *conds, bool top,
NESTED_JOIN *nested_join;
TABLE_LIST *prev_table= 0;
List_iterator<TABLE_LIST> li(*join_list);
- bool straight_join= test(join->select_options & SELECT_STRAIGHT_JOIN);
+ bool straight_join= MY_TEST(join->select_options & SELECT_STRAIGHT_JOIN);
DBUG_ENTER("simplify_joins");
/*
@@ -14223,7 +14283,7 @@ optimize_cond(JOIN *join, COND *conds,
DBUG_EXECUTE("where", print_where(conds, "original", QT_ORDINARY););
conds= build_equal_items(join, conds, NULL, join_list,
ignore_on_conds, cond_equal,
- test(flags & OPT_LINK_EQUAL_FIELDS));
+ MY_TEST(flags & OPT_LINK_EQUAL_FIELDS));
DBUG_EXECUTE("where",print_where(conds,"after equal_items", QT_ORDINARY););
/* change field = field to field = const for each found field = const */
@@ -14233,7 +14293,10 @@ optimize_cond(JOIN *join, COND *conds,
Remove all and-levels where CONST item != CONST item
*/
DBUG_EXECUTE("where",print_where(conds,"after const change", QT_ORDINARY););
- conds= remove_eq_conds(thd, conds, cond_value) ;
+ conds= remove_eq_conds(thd, conds, cond_value);
+ if (conds && conds->type() == Item::COND_ITEM &&
+ ((Item_cond*) conds)->functype() == Item_func::COND_AND_FUNC)
+ join->cond_equal= &((Item_cond_and*) conds)->cond_equal;
DBUG_EXECUTE("info",print_where(conds,"after remove", QT_ORDINARY););
}
DBUG_RETURN(conds);
@@ -14850,7 +14913,7 @@ remove_eq_conds(THD *thd, COND *cond, Item::cond_result *cond_value)
static bool
test_if_equality_guarantees_uniqueness(Item *l, Item *r)
{
- return r->const_item() &&
+ return (r->const_item() || !(r->used_tables() & ~OUTER_REF_TABLE_BIT)) &&
item_cmp_type(l->cmp_type(), r->cmp_type()) == l->cmp_type() &&
(l->cmp_type() != STRING_RESULT ||
l->collation.collation == r->collation.collation);
@@ -15354,18 +15417,18 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
void setup_tmp_table_column_bitmaps(TABLE *table, uchar *bitmaps)
{
uint field_count= table->s->fields;
- bitmap_init(&table->def_read_set, (my_bitmap_map*) bitmaps, field_count,
+ my_bitmap_init(&table->def_read_set, (my_bitmap_map*) bitmaps, field_count,
FALSE);
- bitmap_init(&table->def_vcol_set,
+ my_bitmap_init(&table->def_vcol_set,
(my_bitmap_map*) (bitmaps+ bitmap_buffer_size(field_count)),
field_count, FALSE);
- bitmap_init(&table->tmp_set,
+ my_bitmap_init(&table->tmp_set,
(my_bitmap_map*) (bitmaps+ 2*bitmap_buffer_size(field_count)),
field_count, FALSE);
- bitmap_init(&table->eq_join_set,
+ my_bitmap_init(&table->eq_join_set,
(my_bitmap_map*) (bitmaps+ 3*bitmap_buffer_size(field_count)),
field_count, FALSE);
- bitmap_init(&table->cond_set,
+ my_bitmap_init(&table->cond_set,
(my_bitmap_map*) (bitmaps+ 4*bitmap_buffer_size(field_count)),
field_count, FALSE);
/* write_set and all_set are copies of read_set */
@@ -15445,7 +15508,7 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
("table_alias: '%s' distinct: %d save_sum_fields: %d "
"rows_limit: %lu group: %d", table_alias,
(int) distinct, (int) save_sum_fields,
- (ulong) rows_limit,test(group)));
+ (ulong) rows_limit, MY_TEST(group)));
thd->inc_status_created_tmp_tables();
thd->query_plan_flags|= QPLAN_TMP_TABLE;
@@ -15991,7 +16054,7 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
table->group=group; /* Table is grouped by key */
param->group_buff=group_buff;
share->keys=1;
- share->uniques= test(using_unique_constraint);
+ share->uniques= MY_TEST(using_unique_constraint);
table->key_info= table->s->key_info= keyinfo;
table->keys_in_use_for_query.set_bit(0);
share->keys_in_use.set_bit(0);
@@ -16045,7 +16108,7 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
if (!(cur_group->field= field->new_key_field(thd->mem_root,table,
group_buff +
- test(maybe_null),
+ MY_TEST(maybe_null),
field->null_ptr,
field->null_bit)))
goto err; /* purecov: inspected */
@@ -16101,7 +16164,7 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
null_pack_length-=hidden_null_pack_length;
keyinfo->user_defined_key_parts=
((field_count-param->hidden_field_count)+
- (share->uniques ? test(null_pack_length) : 0));
+ (share->uniques ? MY_TEST(null_pack_length) : 0));
keyinfo->ext_key_parts= keyinfo->user_defined_key_parts;
table->distinct= 1;
share->keys= 1;
@@ -16120,11 +16183,25 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
keyinfo->name= (char*) "distinct_key";
keyinfo->algorithm= HA_KEY_ALG_UNDEF;
keyinfo->is_statistics_from_stat_tables= FALSE;
- keyinfo->rec_per_key=0;
keyinfo->read_stats= NULL;
keyinfo->collected_stats= NULL;
/*
+ Needed by non-merged semi-joins: SJ-Materialized table must have a valid
+ rec_per_key array, because it participates in join optimization. Since
+ the table has no data, the only statistics we can provide is "unknown",
+ i.e. zero values.
+
+ (For table record count, we calculate and set JOIN_TAB::found_records,
+ see get_delayed_table_estimates()).
+ */
+ size_t rpk_size= keyinfo->user_defined_key_parts * sizeof(keyinfo->rec_per_key[0]);
+ if (!(keyinfo->rec_per_key= (ulong*) alloc_root(&table->mem_root,
+ rpk_size)))
+ goto err;
+ bzero(keyinfo->rec_per_key, rpk_size);
+
+ /*
Create an extra field to hold NULL bits so that unique indexes on
blobs can distinguish NULL from 0. This extra field is not needed
when we do not use UNIQUE indexes for blobs.
@@ -17513,7 +17590,7 @@ evaluate_join_record(JOIN *join, JOIN_TAB *join_tab,
if (select_cond)
{
- select_cond_result= test(select_cond->val_int());
+ select_cond_result= MY_TEST(select_cond->val_int());
/* check for errors evaluating the condition */
if (join->thd->is_error())
@@ -17898,7 +17975,7 @@ join_read_const_table(JOIN_TAB *tab, POSITION *pos)
(*tab->on_expr_ref)->update_used_tables();
DBUG_ASSERT((*tab->on_expr_ref)->const_item());
#endif
- if ((table->null_row= test((*tab->on_expr_ref)->val_int() == 0)))
+ if ((table->null_row= MY_TEST((*tab->on_expr_ref)->val_int() == 0)))
mark_as_null_row(table);
}
if (!table->null_row)
@@ -18543,7 +18620,7 @@ end_send(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
records are read. Because of optimization in some cases it can
provide only select_limit_cnt+1 records.
*/
- if (join->order && join->filesort_found_rows &&
+ if (join->order && join->sortorder &&
join->select_options & OPTION_FOUND_ROWS)
{
DBUG_PRINT("info", ("filesort NESTED_LOOP_QUERY_LIMIT"));
@@ -18565,7 +18642,6 @@ end_send(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
/* Join over all rows in table; Return number of found rows */
TABLE *table=jt->table;
- join->select_options ^= OPTION_FOUND_ROWS;
if (table->sort.record_pointers ||
(table->sort.io_cache && my_b_inited(table->sort.io_cache)))
{
@@ -18803,7 +18879,16 @@ end_update(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
for (group=table->group ; group ; group=group->next)
{
Item *item= *group->item;
- item->save_org_in_field(group->field);
+ if (group->fast_field_copier_setup != group->field)
+ {
+ DBUG_PRINT("info", ("new setup 0x%lx -> 0x%lx",
+ (ulong)group->fast_field_copier_setup,
+ (ulong)group->field));
+ group->fast_field_copier_setup= group->field;
+ group->fast_field_copier_func=
+ item->setup_fast_field_copier(group->field);
+ }
+ item->save_org_in_field(group->field, group->fast_field_copier_func);
/* Store in the used key if the field was 0 */
if (item->maybe_null)
group->buff[-1]= (char) group->field->is_null();
@@ -19470,7 +19555,7 @@ static int test_if_order_by_key(ORDER *order, TABLE *table, uint idx,
for (; const_key_parts & 1 ; const_key_parts>>= 1)
key_part++;
- if (key_part == key_part_end)
+ if (key_part >= key_part_end)
{
/*
We are at the end of the key. Check if the engine has the primary
@@ -20389,11 +20474,7 @@ create_sort_index(THD *thd, JOIN *join, ORDER *order,
select, filesort_limit, 0,
&examined_rows, &found_rows);
table->sort.found_records= filesort_retval;
- if (found_rows != HA_POS_ERROR)
- {
- tab->records= found_rows; // For SQL_CALC_ROWS
- join->filesort_found_rows= true;
- }
+ tab->records= found_rows; // For SQL_CALC_ROWS
if (quick_created)
{
@@ -21006,7 +21087,7 @@ find_order_in_list(THD *thd, Item **ref_pointer_array, TABLE_LIST *tables,
if (!order_item->fixed &&
(order_item->fix_fields(thd, order->item) ||
(order_item= *order->item)->check_cols(1) ||
- thd->is_fatal_error))
+ thd->is_error()))
return TRUE; /* Wrong field. */
uint el= all_fields.elements;
@@ -21352,7 +21433,7 @@ test_if_subpart(ORDER *a,ORDER *b)
else
return 0;
}
- return test(!b);
+ return MY_TEST(!b);
}
/**
@@ -23306,7 +23387,7 @@ int JOIN::save_explain_data_intern(Explain_query *output, bool need_tmp_table,
double examined_rows= tab->get_examined_rows();
eta->rows_set= true;
- eta->rows= examined_rows;
+ eta->rows= (ha_rows) examined_rows;
/* "filtered" */
float f= 0.0;
@@ -24446,7 +24527,7 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table,
double fanout= 1;
ha_rows table_records= table->stat_records();
bool group= join && join->group && order == join->group_list;
- ha_rows ref_key_quick_rows= HA_POS_ERROR;
+ ha_rows refkey_rows_estimate= table->quick_condition_rows;
const bool has_limit= (select_limit_arg != HA_POS_ERROR);
/*
@@ -24472,10 +24553,6 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table,
else
keys= usable_keys;
- if (ref_key >= 0 && ref_key != MAX_KEY &&
- table->covering_keys.is_set(ref_key))
- ref_key_quick_rows= table->quick_rows[ref_key];
-
if (join)
{
uint tablenr= tab - join->join_tab;
@@ -24486,6 +24563,22 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table,
else
read_time= table->file->scan_time();
+ /*
+ Calculate the selectivity of the ref_key for REF_ACCESS. For
+ RANGE_ACCESS we use table->quick_condition_rows.
+ */
+ if (ref_key >= 0 && tab->type == JT_REF)
+ {
+ if (table->quick_keys.is_set(ref_key))
+ refkey_rows_estimate= table->quick_rows[ref_key];
+ else
+ {
+ const KEY *ref_keyinfo= table->key_info + ref_key;
+ refkey_rows_estimate= ref_keyinfo->rec_per_key[tab->ref.key_parts - 1];
+ }
+ set_if_bigger(refkey_rows_estimate, 1);
+ }
+
for (nr=0; nr < table->s->keys ; nr++)
{
int direction;
@@ -24602,17 +24695,17 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table,
with ref_key. Thus, to select first N records we have to scan
N/selectivity(ref_key) index entries.
selectivity(ref_key) = #scanned_records/#table_records =
- table->quick_condition_rows/table_records.
+ refkey_rows_estimate/table_records.
In any case we can't select more than #table_records.
- N/(table->quick_condition_rows/table_records) > table_records
- <=> N > table->quick_condition_rows.
- */
- if (select_limit > table->quick_condition_rows)
+ N/(refkey_rows_estimate/table_records) > table_records
+ <=> N > refkey_rows_estimate.
+ */
+ if (select_limit > refkey_rows_estimate)
select_limit= table_records;
else
select_limit= (ha_rows) (select_limit *
(double) table_records /
- table->quick_condition_rows);
+ refkey_rows_estimate);
rec_per_key= keyinfo->actual_rec_per_key(keyinfo->user_defined_key_parts-1);
set_if_bigger(rec_per_key, 1);
/*
@@ -24632,8 +24725,12 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table,
index_scan_time < read_time)
{
ha_rows quick_records= table_records;
+ ha_rows refkey_select_limit= (ref_key >= 0 &&
+ table->covering_keys.is_set(ref_key)) ?
+ refkey_rows_estimate :
+ HA_POS_ERROR;
if ((is_best_covering && !is_covering) ||
- (is_covering && ref_key_quick_rows < select_limit))
+ (is_covering && refkey_select_limit < select_limit))
continue;
if (table->quick_keys.is_set(nr))
quick_records= table->quick_rows[nr];
diff --git a/sql/sql_select.h b/sql/sql_select.h
index bd0433eb5ee..271199e3d51 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -288,7 +288,7 @@ typedef struct st_join_table {
double read_time;
/* Copy of POSITION::records_read, set by get_best_combination() */
- double records_read;
+ double records_read;
/* The selectivity of the conditions that can be pushed to the table */
double cond_selectivity;
@@ -524,7 +524,7 @@ typedef struct st_join_table {
ha_rows get_examined_rows();
bool preread_init();
- bool is_sjm_nest() { return test(bush_children); }
+ bool is_sjm_nest() { return MY_TEST(bush_children); }
bool access_from_tables_is_allowed(table_map used_tables,
table_map sjm_lookup_tables)
@@ -1119,12 +1119,6 @@ public:
restore_no_rows_in_result() in ::reinit()
*/
bool no_rows_in_result_called;
-
- /**
- This is set if SQL_CALC_ROWS was calculated by filesort()
- and should be taken from the appropriate JOIN_TAB
- */
- bool filesort_found_rows;
/**
Copy of this JOIN to be used with temporary tables.
@@ -1147,7 +1141,8 @@ public:
*/
JOIN *tmp_join;
ROLLUP rollup; ///< Used with rollup
-
+
+ bool mixed_implicit_grouping;
bool select_distinct; ///< Set if SELECT DISTINCT
/**
If we have the GROUP BY statement in the query,
@@ -1299,7 +1294,7 @@ public:
lock= thd_arg->lock;
select_lex= 0; //for safety
tmp_join= 0;
- select_distinct= test(select_options & SELECT_DISTINCT);
+ select_distinct= MY_TEST(select_options & SELECT_DISTINCT);
no_order= 0;
simple_order= 0;
simple_group= 0;
@@ -1340,7 +1335,6 @@ public:
emb_sjm_nest= NULL;
sjm_lookup_tables= 0;
- filesort_found_rows= false;
exec_saved_explain= false;
/*
The following is needed because JOIN::cleanup(true) may be called for
@@ -1443,7 +1437,7 @@ public:
void set_allowed_join_cache_types();
bool is_allowed_hash_join_access()
{
- return test(allowed_join_cache_types & JOIN_CACHE_HASHED_BIT) &&
+ return MY_TEST(allowed_join_cache_types & JOIN_CACHE_HASHED_BIT) &&
max_allowed_join_cache_level > JOIN_CACHE_HASHED_BIT;
}
/*
@@ -1462,7 +1456,7 @@ public:
return ((const_tables != table_count &&
((select_distinct || !simple_order || !simple_group) ||
(group_list && order) ||
- test(select_options & OPTION_BUFFER_RESULT))) ||
+ MY_TEST(select_options & OPTION_BUFFER_RESULT))) ||
(rollup.state != ROLLUP::STATE_NONE && select_distinct));
}
bool choose_subquery_plan(table_map join_tables);
diff --git a/sql/sql_servers.cc b/sql/sql_servers.cc
index cf96297391c..637ee78e314 100644
--- a/sql/sql_servers.cc
+++ b/sql/sql_servers.cc
@@ -38,7 +38,6 @@
#include "unireg.h"
#include "sql_base.h" // close_mysql_tables
#include "records.h" // init_read_record, end_read_record
-#include "hash_filo.h"
#include <m_ctype.h>
#include <stdarg.h>
#include "sp_head.h"
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 2ab34ece903..15d353c087a 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -885,7 +885,7 @@ public:
m_view_access_denied_message_ptr(NULL)
{
- m_sctx = test(m_top_view->security_ctx) ?
+ m_sctx= MY_TEST(m_top_view->security_ctx) ?
m_top_view->security_ctx : thd->security_ctx;
}
@@ -1009,9 +1009,10 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
{
/*
- Use open_tables() directly rather than open_normal_and_derived_tables().
- This ensures that close_thread_tables() is not called if open tables fails
- and the error is ignored. This allows us to handle broken views nicely.
+ Use open_tables() directly rather than
+ open_normal_and_derived_tables(). This ensures that
+ close_thread_tables() is not called if open tables fails and the
+ error is ignored. This allows us to handle broken views nicely.
*/
uint counter;
Show_create_error_handler view_error_suppressor(thd, table_list);
@@ -1041,7 +1042,7 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
if ((table_list->view ?
view_store_create_info(thd, table_list, &buffer) :
store_create_info(thd, table_list, &buffer, NULL,
- FALSE /* show_database */)))
+ FALSE /* show_database */, FALSE)))
goto exit;
if (table_list->view)
@@ -1105,7 +1106,8 @@ exit:
DBUG_RETURN(error);
}
-bool mysqld_show_create_db(THD *thd, char *dbname,
+bool mysqld_show_create_db(THD *thd, LEX_STRING *dbname,
+ LEX_STRING *orig_dbname,
HA_CREATE_INFO *create_info)
{
char buff[2048];
@@ -1123,32 +1125,32 @@ bool mysqld_show_create_db(THD *thd, char *dbname,
if (test_all_bits(sctx->master_access, DB_ACLS))
db_access=DB_ACLS;
else
- db_access= (acl_get(sctx->host, sctx->ip, sctx->priv_user, dbname, 0) |
+ db_access= (acl_get(sctx->host, sctx->ip, sctx->priv_user, dbname->str, 0) |
sctx->master_access);
- if (!(db_access & DB_ACLS) && check_grant_db(thd,dbname))
+ if (!(db_access & DB_ACLS) && check_grant_db(thd,dbname->str))
{
status_var_increment(thd->status_var.access_denied_errors);
my_error(ER_DBACCESS_DENIED_ERROR, MYF(0),
- sctx->priv_user, sctx->host_or_ip, dbname);
+ sctx->priv_user, sctx->host_or_ip, dbname->str);
general_log_print(thd,COM_INIT_DB,ER(ER_DBACCESS_DENIED_ERROR),
- sctx->priv_user, sctx->host_or_ip, dbname);
+ sctx->priv_user, sctx->host_or_ip, orig_dbname->str);
DBUG_RETURN(TRUE);
}
#endif
- if (is_infoschema_db(dbname))
+ if (is_infoschema_db(dbname->str))
{
- dbname= INFORMATION_SCHEMA_NAME.str;
+ *dbname= INFORMATION_SCHEMA_NAME;
create.default_table_charset= system_charset_info;
}
else
{
- if (check_db_dir_existence(dbname))
+ if (check_db_dir_existence(dbname->str))
{
- my_error(ER_BAD_DB_ERROR, MYF(0), dbname);
+ my_error(ER_BAD_DB_ERROR, MYF(0), dbname->str);
DBUG_RETURN(TRUE);
}
- load_db_opt_by_name(thd, dbname, &create);
+ load_db_opt_by_name(thd, dbname->str, &create);
}
List<Item> field_list;
field_list.push_back(new Item_empty_string("Database",NAME_CHAR_LEN));
@@ -1159,12 +1161,12 @@ bool mysqld_show_create_db(THD *thd, char *dbname,
DBUG_RETURN(TRUE);
protocol->prepare_for_resend();
- protocol->store(dbname, strlen(dbname), system_charset_info);
+ protocol->store(orig_dbname->str, orig_dbname->length, system_charset_info);
buffer.length(0);
buffer.append(STRING_WITH_LEN("CREATE DATABASE "));
if (create_options & HA_LEX_CREATE_IF_NOT_EXISTS)
buffer.append(STRING_WITH_LEN("/*!32312 IF NOT EXISTS*/ "));
- append_identifier(thd, &buffer, dbname, strlen(dbname));
+ append_identifier(thd, &buffer, dbname->str, dbname->length);
if (create.default_table_charset)
{
@@ -1526,6 +1528,8 @@ static void append_create_options(THD *thd, String *packet,
to tailor the format of the statement. Can be
NULL, in which case only SQL_MODE is considered
when building the statement.
+ show_database Add database name to table name
+ create_or_replace Use CREATE OR REPLACE syntax
NOTE
Currently always return 0, but might return error code in the
@@ -1536,7 +1540,8 @@ static void append_create_options(THD *thd, String *packet,
*/
int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
- HA_CREATE_INFO *create_info_arg, bool show_database)
+ HA_CREATE_INFO *create_info_arg, bool show_database,
+ bool create_or_replace)
{
List<Item> field_list;
char tmp[MAX_FIELD_WIDTH], *for_str, buff[128], def_value_buf[MAX_FIELD_WIDTH];
@@ -1569,10 +1574,12 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
restore_record(table, s->default_values); // Get empty record
+ packet->append(STRING_WITH_LEN("CREATE "));
+ if (create_or_replace)
+ packet->append(STRING_WITH_LEN("OR REPLACE "));
if (share->tmp_table)
- packet->append(STRING_WITH_LEN("CREATE TEMPORARY TABLE "));
- else
- packet->append(STRING_WITH_LEN("CREATE TABLE "));
+ packet->append(STRING_WITH_LEN("TEMPORARY "));
+ packet->append(STRING_WITH_LEN("TABLE "));
if (create_info_arg &&
(create_info_arg->options & HA_LEX_CREATE_IF_NOT_EXISTS))
packet->append(STRING_WITH_LEN("IF NOT EXISTS "));
@@ -2006,7 +2013,7 @@ static void store_key_options(THD *thd, String *packet, TABLE *table,
end= longlong10_to_str(key_info->block_size, buff, 10);
packet->append(buff, (uint) (end - buff));
}
- DBUG_ASSERT(test(key_info->flags & HA_USES_COMMENT) ==
+ DBUG_ASSERT(MY_TEST(key_info->flags & HA_USES_COMMENT) ==
(key_info->comment.length > 0));
if (key_info->flags & HA_USES_COMMENT)
{
@@ -2393,7 +2400,7 @@ int select_result_explain_buffer::send_data(List<Item> &items)
fill_record(thd, dst_table, dst_table->field, items, TRUE, FALSE);
res= dst_table->file->ha_write_tmp_row(dst_table->record[0]);
set_current_thd(cur_thd);
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
bool select_result_text_buffer::send_result_set_metadata(List<Item> &fields, uint flag)
@@ -4830,6 +4837,11 @@ int get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond)
if (fill_schema_table_names(thd, tables, db_name, table_name))
continue;
}
+ else if (schema_table_idx == SCH_TRIGGERS &&
+ db_name == &INFORMATION_SCHEMA_NAME)
+ {
+ continue;
+ }
else
{
if (!(table_open_method & ~OPEN_FRM_ONLY) &&
@@ -5428,7 +5440,7 @@ static int get_schema_column_record(THD *thd, TABLE_LIST *tables,
#ifndef NO_EMBEDDED_ACCESS_CHECKS
uint col_access;
check_access(thd,SELECT_ACL, db_name->str,
- &tables->grant.privilege, 0, 0, test(tables->schema_table));
+ &tables->grant.privilege, 0, 0, MY_TEST(tables->schema_table));
col_access= get_column_grant(thd, &tables->grant,
db_name->str, table_name->str,
field->field_name) & COL_ACLS;
@@ -5567,13 +5579,13 @@ static my_bool iter_schema_engines(THD *thd, plugin_ref plugin,
table->field[1]->store(option_name, strlen(option_name), scs);
table->field[2]->store(plugin_decl(plugin)->descr,
strlen(plugin_decl(plugin)->descr), scs);
- tmp= &yesno[test(hton->commit)];
+ tmp= &yesno[MY_TEST(hton->commit)];
table->field[3]->store(tmp->str, tmp->length, scs);
table->field[3]->set_notnull();
- tmp= &yesno[test(hton->prepare)];
+ tmp= &yesno[MY_TEST(hton->prepare)];
table->field[4]->store(tmp->str, tmp->length, scs);
table->field[4]->set_notnull();
- tmp= &yesno[test(hton->savepoint_set)];
+ tmp= &yesno[MY_TEST(hton->savepoint_set)];
table->field[5]->store(tmp->str, tmp->length, scs);
table->field[5]->set_notnull();
@@ -6140,7 +6152,7 @@ static int get_schema_stat_record(THD *thd, TABLE_LIST *tables,
else
table->field[14]->store("", 0, cs);
table->field[14]->set_notnull();
- DBUG_ASSERT(test(key_info->flags & HA_USES_COMMENT) ==
+ DBUG_ASSERT(MY_TEST(key_info->flags & HA_USES_COMMENT) ==
(key_info->comment.length > 0));
if (key_info->flags & HA_USES_COMMENT)
table->field[15]->store(key_info->comment.str,
@@ -7681,7 +7693,7 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
DBUG_RETURN(0);
my_bitmap_map* bitmaps=
(my_bitmap_map*) thd->alloc(bitmap_buffer_size(field_count));
- bitmap_init(&table->def_read_set, (my_bitmap_map*) bitmaps, field_count,
+ my_bitmap_init(&table->def_read_set, (my_bitmap_map*) bitmaps, field_count,
FALSE);
table->read_set= &table->def_read_set;
bitmap_clear_all(table->read_set);
@@ -8052,8 +8064,20 @@ static bool do_fill_table(THD *thd,
da->push_warning_info(&wi_tmp);
- bool res= table_list->schema_table->fill_table(
- thd, table_list, join_table->select_cond);
+ Item *item= join_table->select_cond;
+ if (join_table->cache_select &&
+ join_table->cache_select->cond)
+ {
+ /*
+ If join buffering is used, we should use the condition that is attached
+ to the join cache. Cache condition has a part of WHERE that can be
+ checked when we're populating this table.
+ join_tab->select_cond is of no interest, because it only has conditions
+ that depend on both this table and previous tables in the join order.
+ */
+ item= join_table->cache_select->cond;
+ }
+ bool res= table_list->schema_table->fill_table(thd, table_list, item);
da->pop_warning_info();
@@ -9357,6 +9381,9 @@ TABLE_LIST *get_trigger_table(THD *thd, const sp_name *trg_name)
db= trg_name->m_db;
db.str= thd->strmake(db.str, db.length);
+ if (lower_case_table_names)
+ db.length= my_casedn_str(files_charset_info, db.str);
+
tbl_name.str= thd->strmake(tbl_name.str, tbl_name.length);
if (db.str == NULL || tbl_name.str == NULL)
diff --git a/sql/sql_show.h b/sql/sql_show.h
index 10276e8b65e..708a77d74cd 100644
--- a/sql/sql_show.h
+++ b/sql/sql_show.h
@@ -75,7 +75,8 @@ typedef struct system_status_var STATUS_VAR;
#define IS_FILES_EXTRA 37
int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
- HA_CREATE_INFO *create_info_arg, bool show_database);
+ HA_CREATE_INFO *create_info_arg, bool show_database,
+ bool create_or_replace);
int view_store_create_info(THD *thd, TABLE_LIST *table, String *buff);
int copy_event_to_schema_table(THD *thd, TABLE *sch_table, TABLE *event_table);
@@ -85,7 +86,9 @@ bool append_identifier(THD *thd, String *packet, const char *name,
void mysqld_list_fields(THD *thd,TABLE_LIST *table, const char *wild);
int mysqld_dump_create_info(THD *thd, TABLE_LIST *table_list, int fd);
bool mysqld_show_create(THD *thd, TABLE_LIST *table_list);
-bool mysqld_show_create_db(THD *thd, char *dbname, HA_CREATE_INFO *create);
+bool mysqld_show_create_db(THD *thd, LEX_STRING *db_name,
+ LEX_STRING *orig_db_name,
+ HA_CREATE_INFO *create);
void mysqld_list_processes(THD *thd,const char *user,bool verbose);
int mysqld_show_status(THD *thd);
diff --git a/sql/sql_statistics.cc b/sql/sql_statistics.cc
index 94cbf3b946a..67e7a9c304b 100644
--- a/sql/sql_statistics.cc
+++ b/sql/sql_statistics.cc
@@ -346,6 +346,8 @@ protected:
if ((err= stat_file->ha_update_row(record[1], record[0])) &&
err != HA_ERR_RECORD_IS_THE_SAME)
return TRUE;
+ /* Make change permanent and avoid 'table is marked as crashed' errors */
+ stat_file->extra(HA_EXTRA_FLUSH);
return FALSE;
}
@@ -529,6 +531,8 @@ public:
store_stat_fields();
if ((err= stat_file->ha_write_row(record[0])))
return TRUE;
+ /* Make change permanent and avoid 'table is marked as crashed' errors */
+ stat_file->extra(HA_EXTRA_FLUSH);
}
return FALSE;
}
@@ -583,6 +587,8 @@ public:
int err;
if ((err= stat_file->ha_delete_row(record[0])))
return TRUE;
+ /* Make change permanent and avoid 'table is marked as crashed' errors */
+ stat_file->extra(HA_EXTRA_FLUSH);
return FALSE;
}
};
@@ -3508,6 +3514,8 @@ double get_column_range_cardinality(Field *field,
Histogram *hist= &col_stats->histogram;
if (hist->is_available())
{
+ store_key_image_to_rec(field, (uchar *) min_endp->key,
+ min_endp->length);
double pos= field->pos_in_interval(col_stats->min_value,
col_stats->max_value);
res= col_non_nulls *
@@ -3557,3 +3565,120 @@ double get_column_range_cardinality(Field *field,
}
return res;
}
+
+
+
+/*
+ Estimate selectivity of "col=const" using a histogram
+
+ @param pos Position of the "const" between column's min_value and
+ max_value. This is a number in [0..1] range.
+ @param avg_sel Average selectivity of condition "col=const" in this table.
+ It is calcuated as (#non_null_values / #distinct_values).
+
+ @return
+ Expected condition selectivity (a number between 0 and 1)
+
+ @notes
+ [re_zero_length_buckets] If a bucket with zero value-length is in the
+ middle of the histogram, we will not have min==max. Example: suppose,
+ pos_value=0x12, and the histogram is:
+
+ #n #n+1 #n+2
+ ... 0x10 0x12 0x12 0x14 ...
+ |
+ +------------- bucket with zero value-length
+
+ Here, we will get min=#n+1, max=#n+2, and use the multi-bucket formula.
+
+ The problem happens at the histogram ends. if pos_value=0, and the
+ histogram is:
+
+ 0x00 0x10 ...
+
+ then min=0, max=0. This means pos_value is contained within bucket #0,
+ but on the other hand, histogram data says that the bucket has only one
+ value.
+*/
+
+double Histogram::point_selectivity(double pos, double avg_sel)
+{
+ double sel;
+ /* Find the bucket that contains the value 'pos'. */
+ uint min= find_bucket(pos, TRUE);
+ uint pos_value= (uint) (pos * prec_factor());
+
+ /* Find how many buckets this value occupies */
+ uint max= min;
+ while (max + 1 < get_width() && get_value(max + 1) == pos_value)
+ max++;
+
+ /*
+ A special case: we're looking at a single bucket, and that bucket has
+ zero value-length. Use the multi-bucket formula (attempt to use
+ single-bucket formula will cause divison by zero).
+
+ For more details see [re_zero_length_buckets] above.
+ */
+ if (max == min && get_value(max) == ((max==0)? 0 : get_value(max-1)))
+ max++;
+
+ if (max > min)
+ {
+ /*
+ The value occupies multiple buckets. Use start_bucket ... end_bucket as
+ selectivity.
+ */
+ double bucket_sel= 1.0/(get_width() + 1);
+ sel= bucket_sel * (max - min + 1);
+ }
+ else
+ {
+ /*
+ The value 'pos' fits within one single histogram bucket.
+
+ Histogram buckets have the same numbers of rows, but they cover
+ different ranges of values.
+
+ We assume that values are uniformly distributed across the [0..1] value
+ range.
+ */
+
+ /*
+ If all buckets covered value ranges of the same size, the width of
+ value range would be:
+ */
+ double avg_bucket_width= 1.0 / (get_width() + 1);
+
+ /*
+ Let's see what is the width of value range that our bucket is covering.
+ (min==max currently. they are kept in the formula just in case we
+ will want to extend it to handle multi-bucket case)
+ */
+ double inv_prec_factor= (double) 1.0 / prec_factor();
+ double current_bucket_width=
+ (max + 1 == get_width() ? 1.0 : (get_value(max) * inv_prec_factor)) -
+ (min == 0 ? 0.0 : (get_value(min-1) * inv_prec_factor));
+
+ DBUG_ASSERT(current_bucket_width); /* We shouldn't get a one zero-width bucket */
+
+ /*
+ So:
+ - each bucket has the same #rows
+ - values are unformly distributed across the [min_value,max_value] domain.
+
+ If a bucket has value range that's N times bigger then average, than
+ each value will have to have N times fewer rows than average.
+ */
+ sel= avg_sel * avg_bucket_width / current_bucket_width;
+
+ /*
+ (Q: if we just follow this proportion we may end up in a situation
+ where number of different values we expect to find in this bucket
+ exceeds the number of rows that this histogram has in a bucket. Are
+ we ok with this or we would want to have certain caps?)
+ */
+ }
+ return sel;
+}
+
diff --git a/sql/sql_statistics.h b/sql/sql_statistics.h
index c1c80921861..331e3559203 100644
--- a/sql/sql_statistics.h
+++ b/sql/sql_statistics.h
@@ -113,7 +113,7 @@ class Histogram
private:
Histogram_type type;
- uint8 size;
+ uint8 size; /* Size of values array, in bytes */
uchar *values;
uint prec_factor()
@@ -142,6 +142,7 @@ public:
private:
uint get_value(uint i)
{
+ DBUG_ASSERT(i < get_width());
switch (type) {
case SINGLE_PREC_HB:
return (uint) (((uint8 *) values)[i]);
@@ -151,6 +152,7 @@ private:
return 0;
}
+ /* Find the bucket which value 'pos' falls into. */
uint find_bucket(double pos, bool first)
{
uint val= (uint) (pos * prec_factor());
@@ -169,6 +171,10 @@ private:
else
break;
}
+
+ if (val > get_value(i) && i < (get_width() - 1))
+ i++;
+
if (val == get_value(i))
{
if (first)
@@ -234,24 +240,11 @@ public:
sel= bucket_sel * (max - min + 1);
return sel;
}
-
- double point_selectivity(double pos, double avg_sel)
- {
- double sel;
- double bucket_sel= 1.0/(get_width() + 1);
- uint min= find_bucket(pos, TRUE);
- uint max= min;
- while (max + 1 < get_width() && get_value(max + 1) == get_value(max))
- max++;
- double inv_prec_factor= (double) 1.0 / prec_factor();
- double width= (max + 1 == get_width() ?
- 1.0 : get_value(max) * inv_prec_factor) -
- (min == 0 ?
- 0.0 : get_value(min-1) * inv_prec_factor);
- sel= avg_sel * (bucket_sel * (max + 1 - min)) / width;
- return sel;
- }
-
+
+ /*
+ Estimate selectivity of "col=const" using a histogram
+ */
+ double point_selectivity(double pos, double avg_sel);
};
@@ -354,7 +347,7 @@ public:
bool is_null(uint stat_field_no)
{
- return test(column_stat_nulls & (1 << stat_field_no));
+ return MY_TEST(column_stat_nulls & (1 << stat_field_no));
}
double get_nulls_ratio()
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index ddac315f80f..bcc811e426d 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -1,5 +1,4 @@
-/*
- Copyright (c) 2000, 2011, Oracle and/or its affiliates.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1015,7 +1014,7 @@ outp:
/*
Append characters to a single-quoted string '...', escaping special
- characters as necessary.
+ characters with backslashes as necessary.
Does not add the enclosing quotes, this is left up to caller.
*/
#define APPEND(X) if (append(X)) return 1; else break
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 7687490c8aa..bc9e7f11bd6 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -359,7 +359,7 @@ public:
}
bool append(const String &s);
bool append(const char *s);
- bool append(LEX_STRING *ls)
+ bool append(const LEX_STRING *ls)
{
return append(ls->str, ls->length);
}
@@ -496,7 +496,16 @@ public:
return FALSE;
}
void print(String *print);
+
bool append_for_single_quote(const char *st, uint len);
+ bool append_for_single_quote(const String *s)
+ {
+ return append_for_single_quote(s->ptr(), s->length());
+ }
+ bool append_for_single_quote(const char *st)
+ {
+ return append_for_single_quote(st, strlen(st));
+ }
/* Swap two string objects. Efficient way to exchange data without memcpy. */
void swap(String &s);
@@ -559,4 +568,7 @@ static inline bool check_if_only_end_space(CHARSET_INFO *cs,
return str+ cs->cset->scan(cs, str, end, MY_SEQ_SPACES) == end;
}
+int append_query_string(CHARSET_INFO *csinfo, String *to,
+ const char *str, size_t len, bool no_backslash);
+
#endif /* SQL_STRING_INCLUDED */
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 45d9c5dc091..dec010bb24f 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -2031,33 +2031,29 @@ bool mysql_rm_table(THD *thd,TABLE_LIST *tables, my_bool if_exists,
bool error;
Drop_table_error_handler err_handler;
TABLE_LIST *table;
-
DBUG_ENTER("mysql_rm_table");
/* Disable drop of enabled log tables, must be done before name locking */
for (table= tables; table; table= table->next_local)
{
- if (check_if_log_table(table->db_length, table->db,
- table->table_name_length, table->table_name, true))
- {
- my_error(ER_BAD_LOG_STATEMENT, MYF(0), "DROP");
+ if (check_if_log_table(table, TRUE, "DROP"))
DBUG_RETURN(true);
- }
}
- if (!in_bootstrap)
+ if (!drop_temporary)
{
- for (table= tables; table; table= table->next_local)
+ if (!in_bootstrap)
{
- LEX_STRING db_name= { table->db, table->db_length };
- LEX_STRING table_name= { table->table_name, table->table_name_length };
- if (table->open_type == OT_BASE_ONLY || !find_temporary_table(thd, table))
- (void) delete_statistics_for_table(thd, &db_name, &table_name);
+ for (table= tables; table; table= table->next_local)
+ {
+ LEX_STRING db_name= { table->db, table->db_length };
+ LEX_STRING table_name= { table->table_name, table->table_name_length };
+ if (table->open_type == OT_BASE_ONLY ||
+ !find_temporary_table(thd, table))
+ (void) delete_statistics_for_table(thd, &db_name, &table_name);
+ }
}
- }
- if (!drop_temporary)
- {
if (!thd->locked_tables_mode)
{
if (lock_table_names(thd, tables, NULL,
@@ -2107,7 +2103,7 @@ bool mysql_rm_table(THD *thd,TABLE_LIST *tables, my_bool if_exists,
/* mark for close and remove all cached entries */
thd->push_internal_handler(&err_handler);
error= mysql_rm_table_no_locks(thd, tables, if_exists, drop_temporary,
- false, false);
+ false, false, false);
thd->pop_internal_handler();
if (error)
@@ -2172,6 +2168,8 @@ static uint32 comment_length(THD *thd, uint32 comment_pos,
@param drop_view Allow to delete VIEW .frm
@param dont_log_query Don't write query to log files. This will also not
generate warnings if the handler files doesn't exists
+ @param dont_free_locks Don't do automatic UNLOCK TABLE if no more locked
+ tables
@retval 0 ok
@retval 1 Error
@@ -2194,7 +2192,8 @@ static uint32 comment_length(THD *thd, uint32 comment_pos,
int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
bool drop_temporary, bool drop_view,
- bool dont_log_query)
+ bool dont_log_query,
+ bool dont_free_locks)
{
TABLE_LIST *table;
char path[FN_REFLEN + 1], wrong_tables_buff[160], *alias= NULL;
@@ -2208,6 +2207,8 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
bool trans_tmp_table_deleted= 0, non_trans_tmp_table_deleted= 0;
bool non_tmp_table_deleted= 0;
bool is_drop_tmp_if_exists_added= 0;
+ bool one_table= tables->next_local == 0;
+ bool was_view= 0;
String built_query;
String built_trans_tmp_query, built_non_trans_tmp_query;
DBUG_ENTER("mysql_rm_table_no_locks");
@@ -2286,7 +2287,8 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
for (table= tables; table; table= table->next_local)
{
- bool is_trans;
+ bool is_trans= 0;
+ bool table_creation_was_logged= 1;
char *db=table->db;
size_t db_length= table->db_length;
handlerton *table_type= 0;
@@ -2311,12 +2313,17 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
. 1 - a temporary table was not found.
. -1 - a temporary table is used by an outer statement.
*/
- if (table->open_type == OT_BASE_ONLY)
+ if (table->open_type == OT_BASE_ONLY || !is_temporary_table(table))
error= 1;
- else if ((error= drop_temporary_table(thd, table, &is_trans)) == -1)
+ else
{
- DBUG_ASSERT(thd->in_sub_stmt);
- goto err;
+ table_creation_was_logged= table->table->s->table_creation_was_logged;
+ if ((error= drop_temporary_table(thd, table->table, &is_trans)) == -1)
+ {
+ DBUG_ASSERT(thd->in_sub_stmt);
+ goto err;
+ }
+ table->table= 0;
}
if ((drop_temporary && if_exists) || !error)
@@ -2331,7 +2338,10 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
. "DROP" was executed but a temporary table was affected (.i.e
!error).
*/
- if (!dont_log_query)
+#ifndef DONT_LOG_DROP_OF_TEMPORARY_TABLES
+ table_creation_was_logged= 1;
+#endif
+ if (!dont_log_query && table_creation_was_logged)
{
/*
If there is an error, we don't know the type of the engine
@@ -2384,7 +2394,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
This handles the case where a "DROP" was executed and a regular
table "may be" dropped as drop_temporary is FALSE and error is
TRUE. If the error was FALSE a temporary table was dropped and
- regardless of the status of drop_tempoary a "DROP TEMPORARY"
+ regardless of the status of drop_temporary a "DROP TEMPORARY"
must be used.
*/
if (!dont_log_query)
@@ -2412,15 +2422,15 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
}
DEBUG_SYNC(thd, "rm_table_no_locks_before_delete_table");
error= 0;
- if ((drop_temporary || !ha_table_exists(thd, db, alias, &table_type) ||
- (!drop_view && table_type == view_pseudo_hton)))
+ if (drop_temporary ||
+ (ha_table_exists(thd, db, alias, &table_type) == 0 && table_type == 0) ||
+ (!drop_view && (was_view= (table_type == view_pseudo_hton))))
{
/*
One of the following cases happened:
. "DROP TEMPORARY" but a temporary table was not found.
- . "DROP" but table was not found on disk and table can't be
- created from engine.
- . ./sql/datadict.cc +32 /Alfranio - TODO: We need to test this.
+ . "DROP" but table was not found
+ . "DROP TABLE" statement, but it's a view.
*/
if (if_exists)
{
@@ -2544,7 +2554,10 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
err:
if (wrong_tables.length())
{
- if (!foreign_key_error)
+ if (one_table && was_view)
+ my_printf_error(ER_IT_IS_A_VIEW, ER(ER_IT_IS_A_VIEW), MYF(0),
+ wrong_tables.c_ptr_safe());
+ else if (!foreign_key_error)
my_printf_error(ER_BAD_TABLE_ERROR, ER(ER_BAD_TABLE_ERROR), MYF(0),
wrong_tables.c_ptr_safe());
else
@@ -2552,6 +2565,18 @@ err:
error= 1;
}
+ /*
+ We are always logging drop of temporary tables.
+ The reason is to handle the following case:
+ - Use statement based replication
+ - CREATE TEMPORARY TABLE foo (logged)
+ - set row based replication
+ - DROP TEMPORAY TABLE foo (needs to be logged)
+ This should be fixed so that we remember if creation of the
+ temporary table was logged and only log it if the creation was
+ logged.
+ */
+
if (non_trans_tmp_table_deleted ||
trans_tmp_table_deleted || non_tmp_table_deleted)
{
@@ -2610,7 +2635,8 @@ err:
*/
if (thd->locked_tables_mode)
{
- if (thd->lock && thd->lock->table_count == 0 && non_temp_tables_count > 0)
+ if (thd->lock && thd->lock->table_count == 0 &&
+ non_temp_tables_count > 0 && !dont_free_locks)
{
thd->locked_tables_list.unlock_locked_tables(thd);
goto end;
@@ -2639,6 +2665,46 @@ end:
DBUG_RETURN(error);
}
+/**
+ Log the drop of a table.
+
+ @param thd Thread handler
+ @param db_name Database name
+ @param table_name Table name
+ @param temporary_table 1 if table was a temporary table
+
+ This code is only used in the case of failed CREATE OR REPLACE TABLE
+ when the original table was dropped but we could not create the new one.
+*/
+
+bool log_drop_table(THD *thd, const char *db_name, size_t db_name_length,
+ const char *table_name, size_t table_name_length,
+ bool temporary_table)
+{
+ char buff[NAME_LEN*2 + 80];
+ String query(buff, sizeof(buff), system_charset_info);
+ bool error;
+ DBUG_ENTER("log_drop_table");
+
+ if (!mysql_bin_log.is_open())
+ DBUG_RETURN(0);
+
+ query.length(0);
+ query.append(STRING_WITH_LEN("DROP "));
+ if (temporary_table)
+ query.append(STRING_WITH_LEN("TEMPORARY "));
+ query.append(STRING_WITH_LEN("TABLE IF EXISTS "));
+ append_identifier(thd, &query, db_name, db_name_length);
+ query.append(".");
+ append_identifier(thd, &query, table_name, table_name_length);
+ query.append(STRING_WITH_LEN("/* Generated to handle "
+ "failed CREATE OR REPLACE */"));
+ error= thd->binlog_query(THD::STMT_QUERY_TYPE,
+ query.ptr(), query.length(),
+ FALSE, FALSE, temporary_table, 0);
+ DBUG_RETURN(error);
+}
+
/**
Quickly remove a table.
@@ -3793,7 +3859,7 @@ mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
with length (unlike blobs, where ft code takes data length from a
data prefix, ignoring column->length).
*/
- column->length=test(f_is_blob(sql_field->pack_flag));
+ column->length= MY_TEST(f_is_blob(sql_field->pack_flag));
}
else
{
@@ -4026,30 +4092,10 @@ mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
DBUG_RETURN(TRUE);
}
- uint tmp_len= system_charset_info->cset->charpos(system_charset_info,
- key->key_create_info.comment.str,
- key->key_create_info.comment.str +
- key->key_create_info.comment.length,
- INDEX_COMMENT_MAXLEN);
-
- if (tmp_len < key->key_create_info.comment.length)
- {
- if (thd->is_strict_mode())
- {
- my_error(ER_TOO_LONG_INDEX_COMMENT, MYF(0),
- key_info->name, static_cast<ulong>(INDEX_COMMENT_MAXLEN));
- DBUG_RETURN(-1);
- }
- char warn_buff[MYSQL_ERRMSG_SIZE];
- my_snprintf(warn_buff, sizeof(warn_buff), ER(ER_TOO_LONG_INDEX_COMMENT),
- key_info->name, static_cast<ulong>(INDEX_COMMENT_MAXLEN));
- /* do not push duplicate warnings */
- if (!thd->get_stmt_da()->has_sql_condition(warn_buff, strlen(warn_buff)))
- push_warning(thd, Sql_condition::WARN_LEVEL_WARN,
- ER_TOO_LONG_INDEX_COMMENT, warn_buff);
-
- key->key_create_info.comment.length= tmp_len;
- }
+ if (validate_comment_length(thd, &key->key_create_info.comment,
+ INDEX_COMMENT_MAXLEN, ER_TOO_LONG_INDEX_COMMENT,
+ key_info->name))
+ DBUG_RETURN(TRUE);
key_info->comment.length= key->key_create_info.comment.length;
if (key_info->comment.length > 0)
@@ -4132,6 +4178,43 @@ mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
DBUG_RETURN(FALSE);
}
+/**
+ check comment length of table, column, index and partition
+
+ If comment lenght is more than the standard length
+ truncate it and store the comment lenght upto the standard
+ comment length size
+
+ @param thd Thread handle
+ @param[in,out] comment Comment
+ @param max_len Maximum allowed comment length
+ @param err_code Error message
+ @param name Name of commented object
+
+ @return Operation status
+ @retval true Error found
+ @retval false On Success
+*/
+bool validate_comment_length(THD *thd, LEX_STRING *comment, size_t max_len,
+ uint err_code, const char *name)
+{
+ DBUG_ENTER("validate_comment_length");
+ uint tmp_len= my_charpos(system_charset_info, comment->str,
+ comment->str + comment->length, max_len);
+ if (tmp_len < comment->length)
+ {
+ if (thd->is_strict_mode())
+ {
+ my_error(err_code, MYF(0), name, static_cast<ulong>(max_len));
+ DBUG_RETURN(true);
+ }
+ push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN, err_code,
+ ER(err_code), name, static_cast<ulong>(max_len));
+ comment->length= tmp_len;
+ }
+ DBUG_RETURN(false);
+}
+
/*
Set table default charset, if not set
@@ -4340,6 +4423,45 @@ handler *mysql_create_frm_image(THD *thd,
char *part_syntax_buf;
uint syntax_len;
handlerton *engine_type;
+ List_iterator<partition_element> part_it(part_info->partitions);
+ partition_element *part_elem;
+
+ while ((part_elem= part_it++))
+ {
+ if (part_elem->part_comment)
+ {
+ LEX_STRING comment= {
+ part_elem->part_comment, strlen(part_elem->part_comment)
+ };
+ if (validate_comment_length(thd, &comment,
+ TABLE_PARTITION_COMMENT_MAXLEN,
+ ER_TOO_LONG_TABLE_PARTITION_COMMENT,
+ part_elem->partition_name))
+ DBUG_RETURN(NULL);
+ part_elem->part_comment[comment.length]= '\0';
+ }
+ if (part_elem->subpartitions.elements)
+ {
+ List_iterator<partition_element> sub_it(part_elem->subpartitions);
+ partition_element *subpart_elem;
+ while ((subpart_elem= sub_it++))
+ {
+ if (subpart_elem->part_comment)
+ {
+ LEX_STRING comment= {
+ subpart_elem->part_comment, strlen(subpart_elem->part_comment)
+ };
+ if (validate_comment_length(thd, &comment,
+ TABLE_PARTITION_COMMENT_MAXLEN,
+ ER_TOO_LONG_TABLE_PARTITION_COMMENT,
+ subpart_elem->partition_name))
+ DBUG_RETURN(NULL);
+ subpart_elem->part_comment[comment.length]= '\0';
+ }
+ }
+ }
+ }
+
if (create_info->tmp_table())
{
my_error(ER_PARTITION_NO_TEMPORARY, MYF(0));
@@ -4496,6 +4618,9 @@ err:
Create a table
@param thd Thread object
+ @param orig_db Database for error messages
+ @param orig_table_name Table name for error messages
+ (it's different from table_name for ALTER TABLE)
@param db Database
@param table_name Table name
@param path Path to table (i.e. to its .FRM file without
@@ -4517,12 +4642,14 @@ err:
way to ensure that concurrent operations won't intervene.
mysql_create_table() is a wrapper that can be used for this.
- @retval false OK
- @retval true error
+ @retval 0 OK
+ @retval 1 error
+ @retval -1 table existed but IF EXISTS was used
*/
static
-bool create_table_impl(THD *thd,
+int create_table_impl(THD *thd,
+ const char *orig_db, const char *orig_table_name,
const char *db, const char *table_name,
const char *path,
HA_CREATE_INFO *create_info,
@@ -4535,14 +4662,14 @@ bool create_table_impl(THD *thd,
{
const char *alias;
handler *file= 0;
- bool error= TRUE;
+ int error= 1;
bool frm_only= create_table_mode == C_ALTER_TABLE_FRM_ONLY;
bool internal_tmp_table= create_table_mode == C_ALTER_TABLE || frm_only;
DBUG_ENTER("mysql_create_table_no_lock");
DBUG_PRINT("enter", ("db: '%s' table: '%s' tmp: %d",
db, table_name, internal_tmp_table));
- if (!my_use_symdir || (thd->variables.sql_mode & MODE_NO_DIR_IN_CREATE))
+ if (thd->variables.sql_mode & MODE_NO_DIR_IN_CREATE)
{
if (create_info->data_file_name)
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
@@ -4565,22 +4692,89 @@ bool create_table_impl(THD *thd,
/* Check if table exists */
if (create_info->tmp_table())
{
- if (find_temporary_table(thd, db, table_name))
+ TABLE *tmp_table;
+ if ((tmp_table= find_temporary_table(thd, db, table_name)))
{
- if (create_info->options & HA_LEX_CREATE_IF_NOT_EXISTS)
+ bool table_creation_was_logged= tmp_table->s->table_creation_was_logged;
+ if (create_info->options & HA_LEX_CREATE_REPLACE)
+ {
+ bool is_trans;
+ /*
+ We are using CREATE OR REPLACE on an existing temporary table
+ Remove the old table so that we can re-create it.
+ */
+ if (drop_temporary_table(thd, tmp_table, &is_trans))
+ goto err;
+ }
+ else if (create_info->options & HA_LEX_CREATE_IF_NOT_EXISTS)
goto warn;
- my_error(ER_TABLE_EXISTS_ERROR, MYF(0), alias);
- goto err;
+ else
+ {
+ my_error(ER_TABLE_EXISTS_ERROR, MYF(0), alias);
+ goto err;
+ }
+ /*
+ We have to log this query, even if it failed later to ensure the
+ drop is done.
+ */
+#ifndef DONT_LOG_DROP_OF_TEMPORARY_TABLES
+ table_creation_was_logged= 1;
+#endif
+ if (table_creation_was_logged)
+ {
+ thd->variables.option_bits|= OPTION_KEEP_LOG;
+ thd->log_current_statement= 1;
+ create_info->table_was_deleted= 1;
+ }
}
}
- else
+ else
{
if (!internal_tmp_table && ha_table_exists(thd, db, table_name))
{
- if (create_info->options & HA_LEX_CREATE_IF_NOT_EXISTS)
+ if (create_info->options & HA_LEX_CREATE_REPLACE)
+ {
+ TABLE_LIST table_list;
+ table_list.init_one_table(db, strlen(db), table_name,
+ strlen(table_name), table_name,
+ TL_WRITE_ALLOW_WRITE);
+ table_list.table= create_info->table;
+
+ if (check_if_log_table(&table_list, TRUE, "CREATE OR REPLACE"))
+ goto err;
+
+ /*
+ Rollback the empty transaction started in mysql_create_table()
+ call to open_and_lock_tables() when we are using LOCK TABLES.
+ */
+ (void) trans_rollback_stmt(thd);
+ /* Remove normal table without logging. Keep tables locked */
+ if (mysql_rm_table_no_locks(thd, &table_list, 0, 0, 0, 1, 1))
+ goto err;
+
+ /*
+ We have to log this query, even if it failed later to ensure the
+ drop is done.
+ */
+ thd->variables.option_bits|= OPTION_KEEP_LOG;
+ thd->log_current_statement= 1;
+ create_info->table_was_deleted= 1;
+ DBUG_EXECUTE_IF("send_kill_after_delete", thd->killed= KILL_QUERY; );
+
+ /*
+ Restart statement transactions for the case of CREATE ... SELECT.
+ */
+ if (thd->lex->select_lex.item_list.elements &&
+ restart_trans_for_tables(thd, thd->lex->query_tables))
+ goto err;
+ }
+ else if (create_info->options & HA_LEX_CREATE_IF_NOT_EXISTS)
goto warn;
- my_error(ER_TABLE_EXISTS_ERROR, MYF(0), table_name);
- goto err;
+ else
+ {
+ my_error(ER_TABLE_EXISTS_ERROR, MYF(0), table_name);
+ goto err;
+ }
}
}
@@ -4635,8 +4829,9 @@ bool create_table_impl(THD *thd,
}
else
{
- file= mysql_create_frm_image(thd, db, table_name, create_info, alter_info,
- create_table_mode, key_info, key_count, frm);
+ file= mysql_create_frm_image(thd, orig_db, orig_table_name, create_info,
+ alter_info, create_table_mode, key_info,
+ key_count, frm);
if (!file)
goto err;
if (rea_create_table(thd, frm, path, db, table_name, create_info,
@@ -4644,6 +4839,7 @@ bool create_table_impl(THD *thd,
goto err;
}
+ create_info->table= 0;
if (!frm_only && create_info->tmp_table())
{
/*
@@ -4664,6 +4860,7 @@ bool create_table_impl(THD *thd,
*is_trans= table->file->has_transactions();
thd->thread_specific_used= TRUE;
+ create_info->table= table; // Store pointer to table
}
#ifdef WITH_PARTITION_STORAGE_ENGINE
else if (thd->work_part_info && frm_only)
@@ -4702,14 +4899,15 @@ bool create_table_impl(THD *thd,
}
#endif
- error= FALSE;
+ error= 0;
err:
THD_STAGE_INFO(thd, stage_after_create);
delete file;
+ DBUG_PRINT("exit", ("return: %d", error));
DBUG_RETURN(error);
warn:
- error= FALSE;
+ error= -1;
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
ER_TABLE_EXISTS_ERROR, ER(ER_TABLE_EXISTS_ERROR),
alias);
@@ -4720,7 +4918,8 @@ warn:
Simple wrapper around create_table_impl() to be used
in various version of CREATE TABLE statement.
*/
-bool mysql_create_table_no_lock(THD *thd,
+
+int mysql_create_table_no_lock(THD *thd,
const char *db, const char *table_name,
HA_CREATE_INFO *create_info,
Alter_info *alter_info, bool *is_trans,
@@ -4728,6 +4927,7 @@ bool mysql_create_table_no_lock(THD *thd,
{
KEY *not_used_1;
uint not_used_2;
+ int res;
char path[FN_REFLEN + 1];
LEX_CUSTRING frm= {0,0};
@@ -4747,9 +4947,9 @@ bool mysql_create_table_no_lock(THD *thd,
}
}
- bool res= create_table_impl(thd, db, table_name, path, create_info,
- alter_info, create_table_mode, is_trans,
- &not_used_1, &not_used_2, &frm);
+ res= create_table_impl(thd, db, table_name, db, table_name, path,
+ create_info, alter_info, create_table_mode,
+ is_trans, &not_used_1, &not_used_2, &frm);
my_free(const_cast<uchar*>(frm.str));
return res;
}
@@ -4771,16 +4971,27 @@ bool mysql_create_table(THD *thd, TABLE_LIST *create_table,
const char *db= create_table->db;
const char *table_name= create_table->table_name;
bool is_trans= FALSE;
+ bool result= 0;
int create_table_mode;
+ TABLE_LIST *pos_in_locked_tables= 0;
+ MDL_ticket *mdl_ticket= 0;
DBUG_ENTER("mysql_create_table");
+ DBUG_ASSERT(create_table == thd->lex->query_tables);
+
/* Open or obtain an exclusive metadata lock on table being created */
- if (open_and_lock_tables(thd, thd->lex->query_tables, FALSE, 0))
+ if (open_and_lock_tables(thd, create_table, FALSE, 0))
{
/* is_error() may be 0 if table existed and we generated a warning */
DBUG_RETURN(thd->is_error());
}
-
+ /* The following is needed only in case of lock tables */
+ if ((create_info->table= create_table->table))
+ {
+ pos_in_locked_tables= create_info->table->pos_in_locked_tables;
+ mdl_ticket= create_table->table->mdl_ticket;
+ }
+
/* Got lock. */
DEBUG_SYNC(thd, "locked_table_name");
@@ -4791,15 +5002,61 @@ bool mysql_create_table(THD *thd, TABLE_LIST *create_table,
promote_first_timestamp_column(&alter_info->create_list);
if (mysql_create_table_no_lock(thd, db, table_name, create_info, alter_info,
- &is_trans, create_table_mode))
- DBUG_RETURN(1);
+ &is_trans, create_table_mode) > 0)
+ {
+ result= 1;
+ goto err;
+ }
+ /*
+ Check if we are doing CREATE OR REPLACE TABLE under LOCK TABLES
+ on a non temporary table
+ */
+ if (thd->locked_tables_mode && pos_in_locked_tables &&
+ (create_info->options & HA_LEX_CREATE_REPLACE))
+ {
+ /*
+ Add back the deleted table and re-created table as a locked table
+ This should always work as we have a meta lock on the table.
+ */
+ thd->locked_tables_list.add_back_last_deleted_lock(pos_in_locked_tables);
+ if (thd->locked_tables_list.reopen_tables(thd))
+ thd->locked_tables_list.unlink_all_closed_tables(thd, NULL, 0);
+ else
+ {
+ TABLE *table= pos_in_locked_tables->table;
+ table->mdl_ticket->downgrade_lock(MDL_SHARED_NO_READ_WRITE);
+ }
+ }
+
+err:
/* In RBR we don't need to log CREATE TEMPORARY TABLE */
if (thd->is_current_stmt_binlog_format_row() && create_info->tmp_table())
- DBUG_RETURN(0);
+ DBUG_RETURN(result);
- bool result;
- result= write_bin_log(thd, TRUE, thd->query(), thd->query_length(), is_trans);
+ /* Write log if no error or if we already deleted a table */
+ if (!result || thd->log_current_statement)
+ {
+ if (result && create_info->table_was_deleted)
+ {
+ /*
+ Possible locked table was dropped. We should remove meta data locks
+ associated with it and do UNLOCK_TABLES if no more locked tables.
+ */
+ thd->locked_tables_list.unlock_locked_table(thd, mdl_ticket);
+ }
+ else if (!result && create_info->tmp_table() && create_info->table)
+ {
+ /*
+ Remember that tmp table creation was logged so that we know if
+ we should log a delete of it.
+ */
+ create_info->table->s->table_creation_was_logged= 1;
+ }
+ if (write_bin_log(thd, result ? FALSE : TRUE, thd->query(),
+ thd->query_length(), is_trans))
+ result= 1;
+ }
DBUG_RETURN(result);
}
@@ -4877,7 +5134,7 @@ mysql_rename_table(handlerton *base, const char *old_db,
char from[FN_REFLEN + 1], to[FN_REFLEN + 1],
lc_from[FN_REFLEN + 1], lc_to[FN_REFLEN + 1];
char *from_base= from, *to_base= to;
- char tmp_name[SAFE_NAME_LEN+1];
+ char tmp_name[SAFE_NAME_LEN+1], tmp_db_name[SAFE_NAME_LEN+1];
handler *file;
int error=0;
ulonglong save_bits= thd->variables.option_bits;
@@ -4914,13 +5171,19 @@ mysql_rename_table(handlerton *base, const char *old_db,
{
strmov(tmp_name, old_name);
my_casedn_str(files_charset_info, tmp_name);
- build_table_filename(lc_from, sizeof(lc_from) - 1, old_db, tmp_name, "",
- flags & FN_FROM_IS_TMP);
+ strmov(tmp_db_name, old_db);
+ my_casedn_str(files_charset_info, tmp_db_name);
+
+ build_table_filename(lc_from, sizeof(lc_from) - 1, tmp_db_name, tmp_name,
+ "", flags & FN_FROM_IS_TMP);
from_base= lc_from;
strmov(tmp_name, new_name);
my_casedn_str(files_charset_info, tmp_name);
- build_table_filename(lc_to, sizeof(lc_to) - 1, new_db, tmp_name, "",
+ strmov(tmp_db_name, new_db);
+ my_casedn_str(files_charset_info, tmp_db_name);
+
+ build_table_filename(lc_to, sizeof(lc_to) - 1, tmp_db_name, tmp_name, "",
flags & FN_TO_IS_TMP);
to_base= lc_to;
}
@@ -4986,18 +5249,21 @@ mysql_rename_table(handlerton *base, const char *old_db,
TRUE error
*/
-bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
+bool mysql_create_like_table(THD* thd, TABLE_LIST* table,
+ TABLE_LIST* src_table,
HA_CREATE_INFO *create_info)
{
HA_CREATE_INFO local_create_info;
+ TABLE_LIST *pos_in_locked_tables= 0;
Alter_info local_alter_info;
Alter_table_ctx local_alter_ctx; // Not used
bool res= TRUE;
bool is_trans= FALSE;
+ bool do_logging= FALSE;
uint not_used;
+ int create_res;
DBUG_ENTER("mysql_create_like_table");
-
/*
We the open source table to get its description in HA_CREATE_INFO
and Alter_info objects. This also acquires a shared metadata lock
@@ -5014,6 +5280,18 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
res= thd->is_error();
goto err;
}
+ /* Ensure we don't try to create something from which we select from */
+ if ((create_info->options & HA_LEX_CREATE_REPLACE) &&
+ !create_info->tmp_table())
+ {
+ TABLE_LIST *duplicate;
+ if ((duplicate= unique_table(thd, table, src_table, 0)))
+ {
+ update_non_unique_table_error(src_table, "CREATE", duplicate);
+ goto err;
+ }
+ }
+
src_table->table->use_all_columns();
DEBUG_SYNC(thd, "create_table_like_after_open");
@@ -5041,7 +5319,9 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
if (src_table->schema_table)
local_create_info.max_rows= 0;
/* Set IF NOT EXISTS option as in the CREATE TABLE LIKE statement. */
- local_create_info.options|= create_info->options&HA_LEX_CREATE_IF_NOT_EXISTS;
+ local_create_info.options|= (create_info->options &
+ (HA_LEX_CREATE_IF_NOT_EXISTS |
+ HA_LEX_CREATE_REPLACE));
/* Replace type of source table with one specified in the statement. */
local_create_info.options&= ~HA_LEX_CREATE_TMP_TABLE;
local_create_info.options|= create_info->tmp_table();
@@ -5053,19 +5333,54 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
*/
local_create_info.data_file_name= local_create_info.index_file_name= NULL;
- if ((res= mysql_create_table_no_lock(thd, table->db, table->table_name,
- &local_create_info, &local_alter_info,
- &is_trans, C_ORDINARY_CREATE)))
+ /* The following is needed only in case of lock tables */
+ if ((local_create_info.table= thd->lex->query_tables->table))
+ pos_in_locked_tables= local_create_info.table->pos_in_locked_tables;
+
+ res= ((create_res=
+ mysql_create_table_no_lock(thd, table->db, table->table_name,
+ &local_create_info, &local_alter_info,
+ &is_trans, C_ORDINARY_CREATE)) > 0);
+ /* Remember to log if we deleted something */
+ do_logging= thd->log_current_statement;
+ if (res)
goto err;
/*
- Ensure that we have an exclusive lock on target table if we are creating
- non-temporary table.
+ Check if we are doing CREATE OR REPLACE TABLE under LOCK TABLES
+ on a non temporary table
*/
- DBUG_ASSERT((create_info->tmp_table()) ||
- thd->mdl_context.is_lock_owner(MDL_key::TABLE, table->db,
- table->table_name,
- MDL_EXCLUSIVE));
+ if (thd->locked_tables_mode && pos_in_locked_tables &&
+ (create_info->options & HA_LEX_CREATE_REPLACE))
+ {
+ /*
+ Add back the deleted table and re-created table as a locked table
+ This should always work as we have a meta lock on the table.
+ */
+ thd->locked_tables_list.add_back_last_deleted_lock(pos_in_locked_tables);
+ if (thd->locked_tables_list.reopen_tables(thd))
+ thd->locked_tables_list.unlink_all_closed_tables(thd, NULL, 0);
+ else
+ {
+ /*
+ Get pointer to the newly opened table. We need this to ensure we
+ don't reopen the table when doing statment logging below.
+ */
+ table->table= pos_in_locked_tables->table;
+ table->table->mdl_ticket->downgrade_lock(MDL_SHARED_NO_READ_WRITE);
+ }
+ }
+ else
+ {
+ /*
+ Ensure that we have an exclusive lock on target table if we are creating
+ non-temporary table.
+ */
+ DBUG_ASSERT((create_info->tmp_table()) ||
+ thd->mdl_context.is_lock_owner(MDL_key::TABLE, table->db,
+ table->table_name,
+ MDL_EXCLUSIVE));
+ }
DEBUG_SYNC(thd, "create_table_like_before_binlog");
@@ -5084,7 +5399,8 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
Case Target Source Write to binary log
==== ========= ========= ==============================
1 normal normal Original statement
- 2 normal temporary Generated statement
+ 2 normal temporary Generated statement if the table
+ was created.
3 temporary normal Nothing
4 temporary temporary Nothing
==== ========= ========= ==============================
@@ -5096,39 +5412,66 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
char buf[2048];
String query(buf, sizeof(buf), system_charset_info);
query.length(0); // Have to zero it since constructor doesn't
- Open_table_context ot_ctx(thd, MYSQL_OPEN_REOPEN);
+ Open_table_context ot_ctx(thd, MYSQL_OPEN_REOPEN |
+ MYSQL_OPEN_IGNORE_KILLED);
bool new_table= FALSE; // Whether newly created table is open.
+ if (create_res != 0)
+ {
+ /*
+ Table or view with same name already existed and we where using
+ IF EXISTS. Continue without logging anything.
+ */
+ do_logging= 0;
+ goto err;
+ }
+ if (!table->table)
+ {
+ TABLE_LIST::enum_open_strategy save_open_strategy;
+ int open_res;
+ /* Force the newly created table to be opened */
+ save_open_strategy= table->open_strategy;
+ table->open_strategy= TABLE_LIST::OPEN_NORMAL;
+
+ /*
+ In order for store_create_info() to work we need to open
+ destination table if it is not already open (i.e. if it
+ has not existed before). We don't need acquire metadata
+ lock in order to do this as we already hold exclusive
+ lock on this table. The table will be closed by
+ close_thread_table() at the end of this branch.
+ */
+ open_res= open_table(thd, table, thd->mem_root, &ot_ctx);
+ /* Restore */
+ table->open_strategy= save_open_strategy;
+ if (open_res)
+ {
+ res= 1;
+ goto err;
+ }
+ new_table= TRUE;
+ }
/*
- The condition avoids a crash as described in BUG#48506. Other
- binlogging problems related to CREATE TABLE IF NOT EXISTS LIKE
- when the existing object is a view will be solved by BUG 47442.
+ We have to re-test if the table was a view as the view may not
+ have been opened until just above.
*/
if (!table->view)
{
- if (!table->table)
- {
-
- /*
- In order for store_create_info() to work we need to open
- destination table if it is not already open (i.e. if it
- has not existed before). We don't need acquire metadata
- lock in order to do this as we already hold exclusive
- lock on this table. The table will be closed by
- close_thread_table() at the end of this branch.
- */
- if (open_table(thd, table, thd->mem_root, &ot_ctx))
- goto err;
- new_table= TRUE;
- }
-
int result __attribute__((unused))=
store_create_info(thd, table, &query,
- create_info, FALSE /* show_database */);
+ create_info, FALSE /* show_database */,
+ MY_TEST(create_info->org_options &
+ HA_LEX_CREATE_REPLACE) ||
+ create_info->table_was_deleted);
DBUG_ASSERT(result == 0); // store_create_info() always return 0
+ do_logging= FALSE;
if (write_bin_log(thd, TRUE, query.ptr(), query.length()))
+ {
+ res= 1;
+ do_logging= 0;
goto err;
+ }
if (new_table)
{
@@ -5143,17 +5486,45 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
}
}
else // Case 1
- if (write_bin_log(thd, TRUE, thd->query(), thd->query_length()))
- goto err;
+ do_logging= TRUE;
}
/*
Case 3 and 4 does nothing under RBR
*/
}
- else if (write_bin_log(thd, TRUE, thd->query(), thd->query_length(), is_trans))
- goto err;
+ else
+ {
+ DBUG_PRINT("info",
+ ("res: %d tmp_table: %d create_info->table: %p",
+ res, create_info->tmp_table(), local_create_info.table));
+ if (!res && create_info->tmp_table() && local_create_info.table)
+ {
+ /*
+ Remember that tmp table creation was logged so that we know if
+ we should log a delete of it.
+ */
+ local_create_info.table->s->table_creation_was_logged= 1;
+ }
+ do_logging= TRUE;
+ }
err:
+ if (do_logging)
+ {
+ if (res && create_info->table_was_deleted)
+ {
+ /*
+ Table was not deleted. Original table was deleted.
+ We have to log it.
+ */
+ log_drop_table(thd, table->db, table->db_length,
+ table->table_name, table->table_name_length,
+ create_info->tmp_table());
+ }
+ else if (write_bin_log(thd, res ? FALSE : TRUE, thd->query(),
+ thd->query_length(), is_trans))
+ res= 1;
+ }
DBUG_RETURN(res);
}
@@ -5304,7 +5675,8 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
{
alter_info->flags&= ~Alter_info::ALTER_ADD_COLUMN;
if (alter_info->key_list.is_empty())
- alter_info->flags&= ~Alter_info::ALTER_ADD_INDEX;
+ alter_info->flags&= ~(Alter_info::ALTER_ADD_INDEX |
+ Alter_info::ADD_FOREIGN_KEY);
}
break;
}
@@ -5379,13 +5751,32 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
else /* Alter_drop::KEY */
{
uint n_key;
- for (n_key=0; n_key < table->s->keys; n_key++)
+ if (drop->type != Alter_drop::FOREIGN_KEY)
{
- if (my_strcasecmp(system_charset_info,
- drop->name, table->key_info[n_key].name) == 0)
+ for (n_key=0; n_key < table->s->keys; n_key++)
{
- remove_drop= FALSE;
- break;
+ if (my_strcasecmp(system_charset_info,
+ drop->name, table->key_info[n_key].name) == 0)
+ {
+ remove_drop= FALSE;
+ break;
+ }
+ }
+ }
+ else
+ {
+ List <FOREIGN_KEY_INFO> fk_child_key_list;
+ FOREIGN_KEY_INFO *f_key;
+ table->file->get_foreign_key_list(thd, &fk_child_key_list);
+ List_iterator<FOREIGN_KEY_INFO> fk_key_it(fk_child_key_list);
+ while ((f_key= fk_key_it++))
+ {
+ if (my_strcasecmp(system_charset_info, f_key->foreign_id->str,
+ drop->name) == 0)
+ {
+ remove_drop= FALSE;
+ break;
+ }
}
}
}
@@ -5397,7 +5788,8 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
drop_it.remove();
if (alter_info->drop_list.is_empty())
alter_info->flags&= ~(Alter_info::ALTER_DROP_COLUMN |
- Alter_info::ALTER_DROP_INDEX);
+ Alter_info::ALTER_DROP_INDEX |
+ Alter_info::DROP_FOREIGN_KEY);
}
}
}
@@ -5408,6 +5800,7 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
Key *key;
List_iterator<Key> key_it(alter_info->key_list);
uint n_key;
+ bool remove_key;
const char *keyname;
while ((key=key_it++))
{
@@ -5424,24 +5817,48 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
if (keyname == NULL)
continue;
}
- for (n_key=0; n_key < table->s->keys; n_key++)
+ remove_key= FALSE;
+ if (key->type != Key::FOREIGN_KEY)
{
- if (my_strcasecmp(system_charset_info,
- keyname, table->key_info[n_key].name) == 0)
+ for (n_key=0; n_key < table->s->keys; n_key++)
{
- push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
- ER_DUP_KEYNAME, ER(ER_DUP_KEYNAME), keyname);
- key_it.remove();
- if (key->type == Key::FOREIGN_KEY)
+ if (my_strcasecmp(system_charset_info,
+ keyname, table->key_info[n_key].name) == 0)
{
- /* ADD FOREIGN KEY appends two items. */
- key_it.remove();
+ remove_key= TRUE;
+ break;
}
- if (alter_info->key_list.is_empty())
- alter_info->flags&= ~Alter_info::ALTER_ADD_INDEX;
- break;
}
}
+ else
+ {
+ List <FOREIGN_KEY_INFO> fk_child_key_list;
+ FOREIGN_KEY_INFO *f_key;
+ table->file->get_foreign_key_list(thd, &fk_child_key_list);
+ List_iterator<FOREIGN_KEY_INFO> fk_key_it(fk_child_key_list);
+ while ((f_key= fk_key_it++))
+ {
+ if (my_strcasecmp(system_charset_info, f_key->foreign_id->str,
+ key->name.str) == 0)
+ remove_key= TRUE;
+ break;
+ }
+ }
+ if (remove_key)
+ {
+ push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
+ ER_DUP_KEYNAME, ER(ER_DUP_KEYNAME), keyname);
+ key_it.remove();
+ if (key->type == Key::FOREIGN_KEY)
+ {
+ /* ADD FOREIGN KEY appends two items. */
+ key_it.remove();
+ }
+ if (alter_info->key_list.is_empty())
+ alter_info->flags&= ~(Alter_info::ALTER_ADD_INDEX |
+ Alter_info::ADD_FOREIGN_KEY);
+ break;
+ }
}
}
@@ -5671,9 +6088,6 @@ static bool fill_alter_inplace_info(THD *thd,
if (new_field)
{
- ha_alter_info->create_info->fields_option_struct[f_ptr - table->field]=
- new_field->option_struct;
-
/* Field is not dropped. Evaluate changes bitmap for it. */
/*
@@ -5785,6 +6199,15 @@ static bool fill_alter_inplace_info(THD *thd,
if (new_field->column_format() != field->column_format())
ha_alter_info->handler_flags|=
Alter_inplace_info::ALTER_COLUMN_COLUMN_FORMAT;
+
+ if (engine_options_differ(field->option_struct, new_field->option_struct,
+ table->file->ht->field_options))
+ {
+ ha_alter_info->handler_flags|= Alter_inplace_info::ALTER_COLUMN_OPTION;
+ ha_alter_info->create_info->fields_option_struct[f_ptr - table->field]=
+ new_field->option_struct;
+ }
+
}
else
{
@@ -7165,7 +7588,7 @@ mysql_prepare_alter_table(THD *thd, TABLE *table,
key= new Key(key_type, key_name, strlen(key_name),
&key_create_info,
- test(key_info->flags & HA_GENERATED_KEY),
+ MY_TEST(key_info->flags & HA_GENERATED_KEY),
key_parts, key_info->option_list, FALSE);
new_key_list.push_back(key);
}
@@ -7726,9 +8149,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
it is the case.
TODO: this design is obsolete and will be removed.
*/
- int table_kind= check_if_log_table(table_list->db_length, table_list->db,
- table_list->table_name_length,
- table_list->table_name, false);
+ int table_kind= check_if_log_table(table_list, FALSE, NullS);
if (table_kind)
{
@@ -8163,7 +8584,9 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
tmp_disable_binlog(thd);
create_info->options|=HA_CREATE_TMP_ALTER;
- error= create_table_impl(thd, alter_ctx.new_db, alter_ctx.tmp_name,
+ error= create_table_impl(thd,
+ alter_ctx.db, alter_ctx.table_name,
+ alter_ctx.new_db, alter_ctx.tmp_name,
alter_ctx.get_tmp_path(),
create_info, alter_info,
C_ALTER_TABLE_FRM_ONLY, NULL,
@@ -8459,6 +8882,8 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
mysql_lock_remove(thd, thd->lock, table);
}
}
+ new_table->s->table_creation_was_logged=
+ table->s->table_creation_was_logged;
/* Remove link to old table and rename the new one */
close_temporary_table(thd, table, true, true);
/* Should pass the 'new_name' as we store table name in the cache */
@@ -8769,7 +9194,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to,
DBUG_ENTER("copy_data_between_tables");
/* Two or 3 stages; Sorting, copying data and update indexes */
- thd_progress_init(thd, 2 + test(order));
+ thd_progress_init(thd, 2 + MY_TEST(order));
if (mysql_trans_prepare_alter_copy_data(thd))
DBUG_RETURN(-1);
@@ -9270,7 +9695,7 @@ static bool check_engine(THD *thd, const char *db_name,
handlerton **new_engine= &create_info->db_type;
handlerton *req_engine= *new_engine;
bool no_substitution=
- test(thd->variables.sql_mode & MODE_NO_ENGINE_SUBSTITUTION);
+ MY_TEST(thd->variables.sql_mode & MODE_NO_ENGINE_SUBSTITUTION);
if (!(*new_engine= ha_checktype(thd, ha_legacy_type(req_engine),
no_substitution, 1)))
DBUG_RETURN(true);
diff --git a/sql/sql_table.h b/sql/sql_table.h
index c42f8aaa39e..cd1c4293c39 100644
--- a/sql/sql_table.h
+++ b/sql/sql_table.h
@@ -19,6 +19,7 @@
#include "my_global.h" /* my_bool */
#include "my_sys.h" // pthread_mutex_t
+#include "m_string.h" // LEX_CUSTRING
class Alter_info;
class Alter_table_ctx;
@@ -187,11 +188,11 @@ bool mysql_create_table(THD *thd, TABLE_LIST *create_table,
#define C_ALTER_TABLE_FRM_ONLY -2
#define C_ASSISTED_DISCOVERY -3
-bool mysql_create_table_no_lock(THD *thd, const char *db,
- const char *table_name,
- HA_CREATE_INFO *create_info,
- Alter_info *alter_info, bool *is_trans,
- int create_table_mode);
+int mysql_create_table_no_lock(THD *thd, const char *db,
+ const char *table_name,
+ HA_CREATE_INFO *create_info,
+ Alter_info *alter_info, bool *is_trans,
+ int create_table_mode);
handler *mysql_create_frm_image(THD *thd,
const char *db, const char *table_name,
@@ -238,7 +239,10 @@ bool mysql_rm_table(THD *thd,TABLE_LIST *tables, my_bool if_exists,
my_bool drop_temporary);
int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
bool drop_temporary, bool drop_view,
- bool log_query);
+ bool log_query, bool dont_free_locks);
+bool log_drop_table(THD *thd, const char *db_name, size_t db_name_length,
+ const char *table_name, size_t table_name_length,
+ bool temporary_table);
bool quick_rm_table(THD *thd, handlerton *base, const char *db,
const char *table_name, uint flags);
void close_cached_table(THD *thd, TABLE *table);
@@ -263,10 +267,6 @@ bool sync_ddl_log();
void release_ddl_log();
void execute_ddl_log_recovery();
bool execute_ddl_log_entry(THD *thd, uint first_entry);
-bool validate_comment_length(THD *thd, const char *comment_str,
- size_t *comment_len, uint max_len,
- uint err_code, const char *comment_name);
-bool check_duplicate_warning(THD *thd, char *msg, ulong length);
template<typename T> class List;
void promote_first_timestamp_column(List<Create_field> *column_definitions);
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index 922423bef26..ae16a281277 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -88,21 +88,22 @@ static void print_cached_tables(void)
puts("DB Table Version Thread Open Lock");
tdc_it.init();
- mysql_mutex_lock(&LOCK_open);
while ((share= tdc_it.next()))
{
+ mysql_mutex_lock(&share->tdc.LOCK_table_share);
TABLE_SHARE::All_share_tables_list::Iterator it(share->tdc.all_tables);
while ((entry= it++))
{
+ THD *in_use= entry->in_use;
printf("%-14.14s %-32s%6ld%8ld%6d %s\n",
- entry->s->db.str, entry->s->table_name.str, entry->s->version,
- entry->in_use ? entry->in_use->thread_id : 0,
+ entry->s->db.str, entry->s->table_name.str, entry->s->tdc.version,
+ in_use ? in_use->thread_id : 0,
entry->db_stat ? 1 : 0,
- entry->in_use ? lock_descriptions[(int)entry->reginfo.lock_type] :
- "Not in use");
+ in_use ? lock_descriptions[(int)entry->reginfo.lock_type] :
+ "Not in use");
}
+ mysql_mutex_unlock(&share->tdc.LOCK_table_share);
}
- mysql_mutex_unlock(&LOCK_open);
tdc_it.deinit();
printf("\nCurrent refresh version: %ld\n", tdc_refresh_version());
fflush(stdout);
@@ -382,6 +383,15 @@ void print_sjm(SJ_MATERIALIZATION_INFO *sjm)
}
/* purecov: end */
+/*
+ Debugging help: force List<...>::elem function not be removed as unused.
+*/
+Item* (List<Item>:: *dbug_list_item_elem_ptr)(int)= &List<Item>::elem;
+Item_equal* (List<Item_equal>:: *dbug_list_item_equal_elem_ptr)(int)=
+ &List<Item_equal>::elem;
+TABLE_LIST* (List<TABLE_LIST>:: *dbug_list_table_list_elem_ptr)(int) =
+ &List<TABLE_LIST>::elem;
+
#endif
typedef struct st_debug_lock
@@ -605,7 +615,6 @@ Next alarm time: %lu\n",
(ulong)alarm_info.next_alarm_time);
#endif
display_table_locks();
- fflush(stdout);
#ifdef HAVE_MALLINFO
struct mallinfo info= mallinfo();
printf("\nMemory status:\n\
@@ -637,4 +646,5 @@ Estimated memory (with thread stack): %ld\n",
Events::dump_internal_status();
#endif
puts("");
+ fflush(stdout);
}
diff --git a/sql/sql_time.cc b/sql/sql_time.cc
index 5ef7b2c7c34..9b68aba5b30 100644
--- a/sql/sql_time.cc
+++ b/sql/sql_time.cc
@@ -106,9 +106,9 @@ uint calc_week(MYSQL_TIME *l_time, uint week_behaviour, uint *year)
uint days;
ulong daynr=calc_daynr(l_time->year,l_time->month,l_time->day);
ulong first_daynr=calc_daynr(l_time->year,1,1);
- bool monday_first= test(week_behaviour & WEEK_MONDAY_FIRST);
- bool week_year= test(week_behaviour & WEEK_YEAR);
- bool first_weekday= test(week_behaviour & WEEK_FIRST_WEEKDAY);
+ bool monday_first= MY_TEST(week_behaviour & WEEK_MONDAY_FIRST);
+ bool week_year= MY_TEST(week_behaviour & WEEK_YEAR);
+ bool first_weekday= MY_TEST(week_behaviour & WEEK_FIRST_WEEKDAY);
uint weekday=calc_weekday(first_daynr, !monday_first);
*year=l_time->year;
@@ -921,6 +921,9 @@ bool date_add_interval(MYSQL_TIME *ltime, interval_type int_type,
my_bool neg= 0;
enum enum_mysql_timestamp_type time_type= ltime->time_type;
+ if ((ulong) interval.day > MAX_DAY_NUMBER)
+ goto invalid_date;
+
if (time_type != MYSQL_TIMESTAMP_TIME)
ltime->day+= calc_daynr(ltime->year, ltime->month, 1) - 1;
@@ -1036,8 +1039,8 @@ null_date:
*/
bool
-calc_time_diff(MYSQL_TIME *l_time1, MYSQL_TIME *l_time2, int l_sign, longlong *seconds_out,
- long *microseconds_out)
+calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2,
+ int l_sign, longlong *seconds_out, long *microseconds_out)
{
long days;
bool neg;
@@ -1063,7 +1066,7 @@ calc_time_diff(MYSQL_TIME *l_time1, MYSQL_TIME *l_time2, int l_sign, longlong *s
(uint) l_time2->day);
}
- microseconds= ((longlong)days*86400LL +
+ microseconds= ((longlong)days * SECONDS_IN_24H +
(longlong)(l_time1->hour*3600L +
l_time1->minute*60L +
l_time1->second) -
@@ -1133,3 +1136,146 @@ void time_to_daytime_interval(MYSQL_TIME *ltime)
ltime->hour%= 24;
ltime->time_type= MYSQL_TIMESTAMP_NONE;
}
+
+
+/*** Conversion from TIME to DATETIME ***/
+
+/*
+ Simple case: TIME is within normal 24 hours internal.
+ Mix DATE part of ldate and TIME part of ltime together.
+*/
+static void
+mix_date_and_time_simple(MYSQL_TIME *ldate, const MYSQL_TIME *ltime)
+{
+ DBUG_ASSERT(ldate->time_type == MYSQL_TIMESTAMP_DATE ||
+ ldate->time_type == MYSQL_TIMESTAMP_DATETIME);
+ ldate->hour= ltime->hour;
+ ldate->minute= ltime->minute;
+ ldate->second= ltime->second;
+ ldate->second_part= ltime->second_part;
+ ldate->time_type= MYSQL_TIMESTAMP_DATETIME;
+}
+
+
+/*
+ Complex case: TIME is negative or outside of the 24 hour interval.
+*/
+static void
+mix_date_and_time_complex(MYSQL_TIME *ldate, const MYSQL_TIME *ltime)
+{
+ DBUG_ASSERT(ldate->time_type == MYSQL_TIMESTAMP_DATE ||
+ ldate->time_type == MYSQL_TIMESTAMP_DATETIME);
+ longlong seconds;
+ long days, useconds;
+ int sign= ltime->neg ? 1 : -1;
+ ldate->neg= calc_time_diff(ldate, ltime, sign, &seconds, &useconds);
+
+ DBUG_ASSERT(!ldate->neg);
+ DBUG_ASSERT(ldate->year > 0);
+
+ days= (long) (seconds / SECONDS_IN_24H);
+ calc_time_from_sec(ldate, seconds % SECONDS_IN_24H, useconds);
+ get_date_from_daynr(days, &ldate->year, &ldate->month, &ldate->day);
+ ldate->time_type= MYSQL_TIMESTAMP_DATETIME;
+}
+
+
+/**
+ Mix a date value and a time value.
+
+ @param IN/OUT ldate Date value.
+ @param ltime Time value.
+*/
+static void
+mix_date_and_time(MYSQL_TIME *to, const MYSQL_TIME *from)
+{
+ if (!from->neg && from->hour < 24)
+ mix_date_and_time_simple(to, from);
+ else
+ mix_date_and_time_complex(to, from);
+}
+
+
+/**
+ Get current date in DATE format
+*/
+static void
+set_current_date(THD *thd, MYSQL_TIME *to)
+{
+ thd->variables.time_zone->gmt_sec_to_TIME(to, thd->query_start());
+ thd->time_zone_used= 1;
+ datetime_to_date(to);
+}
+
+
+/**
+ 5.5 compatible conversion from TIME to DATETIME
+*/
+static bool
+time_to_datetime_old(THD *thd, const MYSQL_TIME *from, MYSQL_TIME *to)
+{
+ DBUG_ASSERT(from->time_type == MYSQL_TIMESTAMP_TIME);
+
+ if (from->neg)
+ return true;
+
+ /* Set the date part */
+ uint day= from->hour / 24;
+ to->day= day % 31;
+ to->month= day / 31;
+ to->year= 0;
+ /* Set the time part */
+ to->hour= from->hour % 24;
+ to->minute= from->minute;
+ to->second= from->second;
+ to->second_part= from->second_part;
+ /* set sign and type */
+ to->neg= 0;
+ to->time_type= MYSQL_TIMESTAMP_DATETIME;
+ return false;
+}
+
+
+/**
+ Convert time to datetime.
+
+ The time value is added to the current datetime value.
+ @param IN ltime Time value to convert from.
+ @param OUT ltime2 Datetime value to convert to.
+*/
+bool
+time_to_datetime(THD *thd, const MYSQL_TIME *from, MYSQL_TIME *to)
+{
+ if (thd->variables.old_behavior & OLD_MODE_ZERO_DATE_TIME_CAST)
+ return time_to_datetime_old(thd, from, to);
+ set_current_date(thd, to);
+ mix_date_and_time(to, from);
+ return false;
+}
+
+
+bool
+time_to_datetime_with_warn(THD *thd,
+ const MYSQL_TIME *from, MYSQL_TIME *to,
+ ulonglong fuzzydate)
+{
+ int warn= 0;
+ DBUG_ASSERT(from->time_type == MYSQL_TIMESTAMP_TIME);
+ /*
+ After time_to_datetime() we need to do check_date(), as
+ the caller may want TIME_NO_ZERO_DATE or TIME_NO_ZERO_IN_DATE.
+ Note, the SQL standard time->datetime conversion mode always returns
+ a valid date based on CURRENT_DATE. So we need to do check_date()
+ only in the old mode.
+ */
+ if (time_to_datetime(thd, from, to) ||
+ ((thd->variables.old_behavior && OLD_MODE_ZERO_DATE_TIME_CAST) &&
+ check_date(to, fuzzydate, &warn)))
+ {
+ ErrConvTime str(from);
+ make_truncated_value_warning(thd, Sql_condition::WARN_LEVEL_WARN,
+ &str, MYSQL_TIMESTAMP_DATETIME, 0);
+ return true;
+ }
+ return false;
+}
diff --git a/sql/sql_time.h b/sql/sql_time.h
index e27102b15d3..7513ca7c00a 100644
--- a/sql/sql_time.h
+++ b/sql/sql_time.h
@@ -49,6 +49,33 @@ bool int_to_datetime_with_warn(longlong value, MYSQL_TIME *ltime,
ulonglong fuzzydate,
const char *name);
+bool time_to_datetime(THD *thd, const MYSQL_TIME *tm, MYSQL_TIME *dt);
+bool time_to_datetime_with_warn(THD *thd,
+ const MYSQL_TIME *tm, MYSQL_TIME *dt,
+ ulonglong fuzzydate);
+inline void datetime_to_time(MYSQL_TIME *ltime)
+{
+ DBUG_ASSERT(ltime->time_type == MYSQL_TIMESTAMP_DATE ||
+ ltime->time_type == MYSQL_TIMESTAMP_DATETIME);
+ DBUG_ASSERT(ltime->neg == 0);
+ ltime->year= ltime->month= ltime->day= 0;
+ ltime->time_type= MYSQL_TIMESTAMP_TIME;
+}
+inline void datetime_to_date(MYSQL_TIME *ltime)
+{
+ DBUG_ASSERT(ltime->time_type == MYSQL_TIMESTAMP_DATE ||
+ ltime->time_type == MYSQL_TIMESTAMP_DATETIME);
+ DBUG_ASSERT(ltime->neg == 0);
+ ltime->hour= ltime->minute= ltime->second= ltime->second_part= 0;
+ ltime->time_type= MYSQL_TIMESTAMP_DATE;
+}
+inline void date_to_datetime(MYSQL_TIME *ltime)
+{
+ DBUG_ASSERT(ltime->time_type == MYSQL_TIMESTAMP_DATE ||
+ ltime->time_type == MYSQL_TIMESTAMP_DATETIME);
+ DBUG_ASSERT(ltime->neg == 0);
+ ltime->time_type= MYSQL_TIMESTAMP_DATETIME;
+}
void make_truncated_value_warning(THD *thd,
Sql_condition::enum_warning_level level,
const ErrConv *str_val,
@@ -76,8 +103,8 @@ bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec);
/* MYSQL_TIME operations */
bool date_add_interval(MYSQL_TIME *ltime, interval_type int_type,
INTERVAL interval);
-bool calc_time_diff(MYSQL_TIME *l_time1, MYSQL_TIME *l_time2, int l_sign,
- longlong *seconds_out, long *microseconds_out);
+bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2,
+ int l_sign, longlong *seconds_out, long *microseconds_out);
int my_time_compare(const MYSQL_TIME *a, const MYSQL_TIME *b);
void localtime_to_TIME(MYSQL_TIME *to, struct tm *from);
void calc_time_from_sec(MYSQL_TIME *to, long seconds, long microseconds);
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc
index b38670bd03c..395b4ef894b 100644
--- a/sql/sql_trigger.cc
+++ b/sql/sql_trigger.cc
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2004, 2011, Oracle and/or its affiliates.
+ Copyright (c) 2004, 2012, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/sql_truncate.cc b/sql/sql_truncate.cc
index 907996c2315..1e6485432a2 100644
--- a/sql/sql_truncate.cc
+++ b/sql/sql_truncate.cc
@@ -189,7 +189,7 @@ int Sql_cmd_truncate_table::handler_truncate(THD *thd, TABLE_LIST *table_ref,
bool is_tmp_table)
{
int error= 0;
- uint flags;
+ uint flags= 0;
DBUG_ENTER("Sql_cmd_truncate_table::handler_truncate");
/*
@@ -256,6 +256,7 @@ static bool recreate_temporary_table(THD *thd, TABLE *table)
bool error= TRUE;
TABLE_SHARE *share= table->s;
handlerton *table_type= table->s->db_type();
+ TABLE *new_table;
DBUG_ENTER("recreate_temporary_table");
table->file->info(HA_STATUS_AUTO | HA_STATUS_NO_LOCK);
@@ -266,11 +267,13 @@ static bool recreate_temporary_table(THD *thd, TABLE *table)
dd_recreate_table(thd, share->db.str, share->table_name.str,
share->normalized_path.str);
- if (open_table_uncached(thd, table_type, share->path.str, share->db.str,
- share->table_name.str, true, true))
+ if ((new_table= open_table_uncached(thd, table_type, share->path.str,
+ share->db.str,
+ share->table_name.str, true, true)))
{
error= FALSE;
thd->thread_specific_used= TRUE;
+ new_table->s->table_creation_was_logged= share->table_creation_was_logged;
}
else
rm_temporary_table(table_type, share->path.str);
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index c792dca873c..fdc932957b2 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -352,6 +352,7 @@ udf_func *find_udf(const char *name,uint length,bool mark_used)
if (!initialized)
DBUG_RETURN(NULL);
+ DEBUG_SYNC(current_thd, "find_udf_before_lock");
/* TODO: This should be changed to reader locks someday! */
if (mark_used)
mysql_rwlock_wrlock(&THR_LOCK_udf); /* Called during fix_fields */
@@ -458,7 +459,12 @@ int mysql_create_function(THD *thd,udf_func *udf)
DBUG_RETURN(1);
}
+ tables.init_one_table(STRING_WITH_LEN("mysql"), STRING_WITH_LEN("func"),
+ "func", TL_WRITE);
+ table= open_ltable(thd, &tables, TL_WRITE, MYSQL_LOCK_IGNORE_TIMEOUT);
+
mysql_rwlock_wrlock(&THR_LOCK_udf);
+ DEBUG_SYNC(current_thd, "mysql_create_function_after_lock");
if ((my_hash_search(&udf_hash,(uchar*) udf->name.str, udf->name.length)))
{
my_error(ER_UDF_EXISTS, MYF(0), udf->name.str);
@@ -502,9 +508,8 @@ int mysql_create_function(THD *thd,udf_func *udf)
/* create entry in mysql.func table */
- tables.init_one_table("mysql", 5, "func", 4, "func", TL_WRITE);
/* Allow creation of functions even if we can't open func table */
- if (!(table = open_ltable(thd, &tables, TL_WRITE, MYSQL_LOCK_IGNORE_TIMEOUT)))
+ if (!table)
goto err;
table->use_all_columns();
restore_record(table, s->default_values); // Default values for fields
@@ -555,7 +560,12 @@ int mysql_drop_function(THD *thd,const LEX_STRING *udf_name)
DBUG_RETURN(1);
}
+ tables.init_one_table(STRING_WITH_LEN("mysql"), STRING_WITH_LEN("func"),
+ "func", TL_WRITE);
+ table= open_ltable(thd, &tables, TL_WRITE, MYSQL_LOCK_IGNORE_TIMEOUT);
+
mysql_rwlock_wrlock(&THR_LOCK_udf);
+ DEBUG_SYNC(current_thd, "mysql_drop_function_after_lock");
if (!(udf=(udf_func*) my_hash_search(&udf_hash,(uchar*) udf_name->str,
(uint) udf_name->length)))
{
@@ -572,9 +582,7 @@ int mysql_drop_function(THD *thd,const LEX_STRING *udf_name)
if (udf->dlhandle && !find_udf_dl(udf->dl))
dlclose(udf->dlhandle);
- tables.init_one_table("mysql", 5, "func", 4, "func", TL_WRITE);
-
- if (!(table = open_ltable(thd, &tables, TL_WRITE, MYSQL_LOCK_IGNORE_TIMEOUT)))
+ if (!table)
goto err;
table->use_all_columns();
table->field[0]->store(exact_name_str, exact_name_len, &my_charset_bin);
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index ff2da863db8..9d068e464f5 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -243,7 +243,7 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
bool is_union_select;
DBUG_ENTER("st_select_lex_unit::prepare");
- describe= test(additional_options & SELECT_DESCRIBE);
+ describe= MY_TEST(additional_options & SELECT_DESCRIBE);
/*
result object should be reassigned even if preparing already done for
@@ -450,7 +450,7 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
if (global_parameters->ftfunc_list->elements)
create_options= create_options | TMP_TABLE_FORCE_MYISAM;
- if (union_result->create_result_table(thd, &types, test(union_distinct),
+ if (union_result->create_result_table(thd, &types, MY_TEST(union_distinct),
create_options, "", FALSE, TRUE))
goto err;
if (fake_select_lex && !fake_select_lex->first_cond_optimization)
@@ -647,6 +647,9 @@ bool st_select_lex_unit::exec()
if (!saved_error && !was_executed)
save_union_explain(thd->lex->explain);
+ if (saved_error)
+ DBUG_RETURN(saved_error);
+
if (uncacheable || !item || !item->assigned() || describe)
{
for (SELECT_LEX *sl= select_cursor; sl; sl= sl->next_select())
@@ -988,7 +991,7 @@ bool st_select_lex_unit::change_result(select_result_interceptor *new_result,
List<Item> *st_select_lex_unit::get_unit_column_types()
{
SELECT_LEX *sl= first_select();
- bool is_procedure= test(sl->join->procedure);
+ bool is_procedure= MY_TEST(sl->join->procedure);
if (is_procedure)
{
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 889eaf5fceb..8ad3a2950d7 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -191,7 +191,7 @@ static void prepare_record_for_error_message(int error, TABLE *table)
DBUG_VOID_RETURN;
/* Create unique_map with all fields used by that index. */
- bitmap_init(&unique_map, unique_map_buf, table->s->fields, FALSE);
+ my_bitmap_init(&unique_map, unique_map_buf, table->s->fields, FALSE);
table->mark_columns_used_by_index_no_reset(keynr, &unique_map);
/* Subtract read_set and write_set. */
@@ -255,7 +255,7 @@ int mysql_update(THD *thd,
ha_rows *found_return, ha_rows *updated_return)
{
bool using_limit= limit != HA_POS_ERROR;
- bool safe_update= test(thd->variables.option_bits & OPTION_SAFE_UPDATES);
+ bool safe_update= MY_TEST(thd->variables.option_bits & OPTION_SAFE_UPDATES);
bool used_key_is_modified= FALSE, transactional_table, will_batch;
bool can_compare_record;
int res;
@@ -314,7 +314,7 @@ int mysql_update(THD *thd,
my_error(ER_NON_UPDATABLE_TABLE, MYF(0), table_list->alias, "UPDATE");
DBUG_RETURN(1);
}
- query_plan.updating_a_view= test(table_list->view);
+ query_plan.updating_a_view= MY_TEST(table_list->view);
/* Calculate "table->covering_keys" based on the WHERE */
table->covering_keys= table->s->keys_in_use;
@@ -502,7 +502,7 @@ int mysql_update(THD *thd,
if (used_key_is_modified || order ||
partition_key_modified(table, table->write_set))
{
- if (order && (need_sort || used_key_is_modified))
+ if (order && need_sort)
query_plan.using_filesort= true;
else
query_plan.using_io_buffer= true;
@@ -703,16 +703,8 @@ int mysql_update(THD *thd,
transactional_table= table->file->has_transactions();
thd->abort_on_warning= !ignore && thd->is_strict_mode();
- if (table->triggers &&
- table->triggers->has_triggers(TRG_EVENT_UPDATE,
- TRG_ACTION_AFTER))
+ if (table->prepare_triggers_for_update_stmt_or_event())
{
- /*
- The table has AFTER UPDATE triggers that might access to subject
- table and therefore might need update to be done immediately.
- So we turn-off the batching.
- */
- (void) table->file->extra(HA_EXTRA_UPDATE_CANNOT_BATCH);
will_batch= FALSE;
}
else
@@ -1225,6 +1217,87 @@ bool unsafe_key_update(List<TABLE_LIST> leaves, table_map tables_for_update)
return false;
}
+/**
+ Check if there is enough privilege on specific table used by the
+ main select list of multi-update directly or indirectly (through
+ a view).
+
+ @param[in] thd Thread context.
+ @param[in] table Table list element for the table.
+ @param[in] tables_for_update Bitmap with tables being updated.
+ @param[in/out] updated_arg Set to true if table in question is
+ updated, also set to true if it is
+ a view and one of its underlying
+ tables is updated. Should be
+ initialized to false by the caller
+ before a sequence of calls to this
+ function.
+
+ @note To determine which tables/views are updated we have to go from
+ leaves to root since tables_for_update contains map of leaf
+ tables being updated and doesn't include non-leaf tables
+ (fields are already resolved to leaf tables).
+
+ @retval false - Success, all necessary privileges on all tables are
+ present or might be present on column-level.
+ @retval true - Failure, some necessary privilege on some table is
+ missing.
+*/
+
+static bool multi_update_check_table_access(THD *thd, TABLE_LIST *table,
+ table_map tables_for_update,
+ bool *updated_arg)
+{
+ if (table->view)
+ {
+ bool updated= false;
+ /*
+ If it is a mergeable view then we need to check privileges on its
+ underlying tables being merged (including views). We also need to
+ check if any of them is updated in order to find if this view is
+ updated.
+ If it is a non-mergeable view then it can't be updated.
+ */
+ DBUG_ASSERT(table->merge_underlying_list ||
+ (!table->updatable &&
+ !(table->table->map & tables_for_update)));
+
+ for (TABLE_LIST *tbl= table->merge_underlying_list; tbl;
+ tbl= tbl->next_local)
+ {
+ if (multi_update_check_table_access(thd, tbl, tables_for_update,
+ &updated))
+ {
+ tbl->hide_view_error(thd);
+ return true;
+ }
+ }
+ if (check_table_access(thd, updated ? UPDATE_ACL: SELECT_ACL, table,
+ FALSE, 1, FALSE))
+ return true;
+ *updated_arg|= updated;
+ /* We only need SELECT privilege for columns in the values list. */
+ table->grant.want_privilege= SELECT_ACL & ~table->grant.privilege;
+ }
+ else
+ {
+ /* Must be a base or derived table. */
+ const bool updated= table->table->map & tables_for_update;
+ if (check_table_access(thd, updated ? UPDATE_ACL : SELECT_ACL, table,
+ FALSE, 1, FALSE))
+ return true;
+ *updated_arg|= updated;
+ /* We only need SELECT privilege for columns in the values list. */
+ if (!table->derived)
+ {
+ table->grant.want_privilege= SELECT_ACL & ~table->grant.privilege;
+ table->table->grant.want_privilege= (SELECT_ACL &
+ ~table->table->grant.privilege);
+ }
+ }
+ return false;
+}
+
/*
make update specific preparation and checks after opening tables
@@ -1359,19 +1432,17 @@ int mysql_multi_update_prepare(THD *thd)
tl->table->reginfo.lock_type= tl->lock_type;
}
}
+
+ /*
+ Check access privileges for tables being updated or read.
+ Note that unlike in the above loop we need to iterate here not only
+ through all leaf tables but also through all view hierarchy.
+ */
for (tl= table_list; tl; tl= tl->next_local)
{
- /* Check access privileges for table */
- if (!tl->is_derived())
- {
- uint want_privilege= tl->updating ? UPDATE_ACL : SELECT_ACL;
- if (check_access(thd, want_privilege, tl->db,
- &tl->grant.privilege,
- &tl->grant.m_internal,
- 0, 0) ||
- check_grant(thd, want_privilege, tl, FALSE, 1, FALSE))
- DBUG_RETURN(TRUE);
- }
+ bool not_used= false;
+ if (multi_update_check_table_access(thd, tl, tables_for_update, &not_used))
+ DBUG_RETURN(TRUE);
}
/* check single table update for view compound from several tables */
@@ -1610,17 +1681,7 @@ int multi_update::prepare(List<Item> &not_used_values,
table->no_keyread=1;
table->covering_keys.clear_all();
table->pos_in_table_list= tl;
- if (table->triggers &&
- table->triggers->has_triggers(TRG_EVENT_UPDATE,
- TRG_ACTION_AFTER))
- {
- /*
- The table has AFTER UPDATE triggers that might access to subject
- table and therefore might need update to be done immediately.
- So we turn-off the batching.
- */
- (void) table->file->extra(HA_EXTRA_UPDATE_CANNOT_BATCH);
- }
+ table->prepare_triggers_for_update_stmt_or_event();
}
}
@@ -1856,6 +1917,13 @@ loop_end:
TABLE *tbl= table;
do
{
+ /*
+ Signal each table (including tables referenced by WITH CHECK OPTION
+ clause) for which we will store row position in the temporary table
+ that we need a position to be read first.
+ */
+ tbl->prepare_for_position();
+
Field_string *field= new Field_string(tbl->file->ref_length, 0,
tbl->alias.c_ptr(),
&my_charset_bin);
@@ -2095,13 +2163,6 @@ int multi_update::send_data(List<Item> &not_used_values)
}
-void multi_update::send_error(uint errcode,const char *err)
-{
- /* First send error what ever it is ... */
- my_error(errcode, MYF(0), err);
-}
-
-
void multi_update::abort_result_set()
{
/* the error was handled or nothing deleted and no side effects return */
@@ -2424,7 +2485,7 @@ bool multi_update::send_eof()
thd->transaction.stmt.modified_non_trans_table);
if (local_error != 0)
- error_handled= TRUE; // to force early leave from ::send_error()
+ error_handled= TRUE; // to force early leave from ::abort_result_set()
if (local_error > 0) // if the above log write did not fail ...
{
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index 5093398fa40..a18193c6eb6 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2004, 2011, Oracle and/or its affiliates.
- Copyright (c) 2011, 2013, Monty Program Ab
+/* Copyright (c) 2004, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2011, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1652,7 +1652,7 @@ bool mysql_drop_view(THD *thd, TABLE_LIST *views, enum_drop_mode drop_mode)
{
if (non_existant_views.length())
non_existant_views.append(',');
- non_existant_views.append(String(view->table_name,system_charset_info));
+ non_existant_views.append(name);
}
else
{
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 3315c2d4d17..ceb4e247848 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -344,7 +344,7 @@ int case_stmt_action_when(LEX *lex, Item *when, bool simple)
(jump_if_not from instruction 2 to 5, 5 to 8 ... in the example)
*/
- return !test(i) ||
+ return !MY_TEST(i) ||
sp->push_backpatch(i, ctx->push_label(current_thd, empty_lex_str, 0)) ||
sp->add_cont_backpatch(i) ||
sp->add_instr(i);
@@ -362,7 +362,7 @@ int case_stmt_action_then(LEX *lex)
sp_pcontext *ctx= lex->spcont;
uint ip= sp->instructions();
sp_instr_jump *i = new sp_instr_jump(ip, ctx);
- if (!test(i) || sp->add_instr(i))
+ if (!MY_TEST(i) || sp->add_instr(i))
return 1;
/*
@@ -1665,7 +1665,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
%type <num>
type type_with_opt_collate int_type real_type order_dir lock_option
udf_type opt_if_exists opt_local opt_table_options table_options
- table_option opt_if_not_exists opt_no_write_to_binlog
+ table_option opt_if_not_exists create_or_replace opt_no_write_to_binlog
opt_temporary all_or_any opt_distinct
opt_ignore_leaves fulltext_options spatial_type union_option
field_def
@@ -1844,7 +1844,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
statement sp_suid
sp_c_chistics sp_a_chistics sp_chistic sp_c_chistic xa
opt_field_or_var_spec fields_or_vars opt_load_data_set_spec
- view_replace_or_algorithm view_replace
view_algorithm view_or_trigger_or_sp_or_event
definer_tail no_definer_tail
view_suid view_tail view_list_opt view_list view_select
@@ -2342,25 +2341,29 @@ connection_name:
/* create a table */
create:
- CREATE opt_table_options TABLE_SYM opt_if_not_exists table_ident
+ create_or_replace opt_table_options TABLE_SYM opt_if_not_exists table_ident
{
LEX *lex= thd->lex;
lex->sql_command= SQLCOM_CREATE_TABLE;
+ if ($1 && $4)
+ {
+ my_error(ER_WRONG_USAGE, MYF(0), "OR REPLACE", "IF NOT EXISTS");
+ MYSQL_YYABORT;
+ }
if (!lex->select_lex.add_table_to_list(thd, $5, NULL,
TL_OPTION_UPDATING,
TL_WRITE, MDL_EXCLUSIVE))
MYSQL_YYABORT;
- /*
- For CREATE TABLE, an non-existing table is not an error.
- Instruct open_tables() to just take an MDL lock if the
- table does not exist.
- */
- lex->query_tables->open_strategy= TABLE_LIST::OPEN_IF_EXISTS;
lex->alter_info.reset();
lex->col_list.empty();
lex->change=NullS;
bzero((char*) &lex->create_info,sizeof(lex->create_info));
- lex->create_info.options=$2 | $4;
+ /*
+ For CREATE TABLE we should not open the table even if it exists.
+ If the table exists, we should either not create it or replace it
+ */
+ lex->query_tables->open_strategy= TABLE_LIST::OPEN_STUB;
+ lex->create_info.options= ($1 | $2 | $4);
lex->create_info.default_table_charset= NULL;
lex->name.str= 0;
lex->name.length= 0;
@@ -2429,14 +2432,22 @@ create:
lex->name= $4;
lex->create_info.options=$3;
}
- | CREATE
+ | create_or_replace
{
- Lex->create_view_mode= VIEW_CREATE_NEW;
+ Lex->create_view_mode= ($1 == 0 ? VIEW_CREATE_NEW :
+ VIEW_CREATE_OR_REPLACE);
Lex->create_view_algorithm= DTYPE_ALGORITHM_UNDEFINED;
Lex->create_view_suid= TRUE;
}
view_or_trigger_or_sp_or_event
- {}
+ {
+ if ($1 && Lex->sql_command != SQLCOM_CREATE_VIEW)
+ {
+ my_error(ER_WRONG_USAGE, MYF(0), "OR REPLACE",
+ "TRIGGERS / SP / EVENT");
+ MYSQL_YYABORT;
+ }
+ }
| CREATE USER clear_privileges grant_list
{
Lex->sql_command = SQLCOM_CREATE_USER;
@@ -5516,6 +5527,17 @@ opt_if_not_exists:
}
;
+create_or_replace:
+ CREATE /* empty */
+ {
+ $$= 0;
+ }
+ | CREATE OR_SYM REPLACE
+ {
+ $$= HA_LEX_CREATE_REPLACE;
+ }
+ ;
+
opt_create_table_options:
/* empty */
| create_table_options
@@ -15170,6 +15192,11 @@ current_role:
grant_role:
ident_or_text
{
+ if ($1.length == 0)
+ {
+ my_error(ER_INVALID_ROLE, MYF(0), "");
+ MYSQL_YYABORT;
+ }
if (!($$=(LEX_USER*) thd->alloc(sizeof(st_lex_user))))
MYSQL_YYABORT;
$$->user = $1;
@@ -15821,7 +15848,7 @@ view_or_trigger_or_sp_or_event:
{}
| no_definer no_definer_tail
{}
- | view_replace_or_algorithm definer_opt view_tail
+ | view_algorithm definer_opt view_tail
{}
;
@@ -15880,20 +15907,6 @@ definer:
**************************************************************************/
-view_replace_or_algorithm:
- view_replace
- {}
- | view_replace view_algorithm
- {}
- | view_algorithm
- {}
- ;
-
-view_replace:
- OR_SYM REPLACE
- { Lex->create_view_mode= VIEW_CREATE_OR_REPLACE; }
- ;
-
view_algorithm:
ALGORITHM_SYM EQ UNDEFINED_SYM
{ Lex->create_view_algorithm= DTYPE_ALGORITHM_UNDEFINED; }
diff --git a/sql/strfunc.cc b/sql/strfunc.cc
index a5a64c065ce..b8100e05ce5 100644
--- a/sql/strfunc.cc
+++ b/sql/strfunc.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 77f437243c8..d22e8498642 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -364,7 +364,7 @@ static Sys_var_ulong Sys_back_log(
"MySQL can have. This comes into play when the main MySQL thread "
"gets very many connection requests in a very short time",
READ_ONLY GLOBAL_VAR(back_log), CMD_LINE(REQUIRED_ARG),
- VALID_RANGE(1, 65535), DEFAULT(50), BLOCK_SIZE(1));
+ VALID_RANGE(1, 65535), DEFAULT(150), BLOCK_SIZE(1));
static Sys_var_charptr Sys_basedir(
"basedir", "Path to installation directory. All paths are "
@@ -593,7 +593,7 @@ static bool check_charset_db(sys_var *self, THD *thd, set_var *var)
}
static Sys_var_struct Sys_character_set_database(
"character_set_database",
- " The character set used by the default database",
+ "The character set used by the default database",
SESSION_VAR(collation_database), NO_CMD_LINE,
offsetof(CHARSET_INFO, csname), DEFAULT(&default_charset_info),
NO_MUTEX_GUARD, IN_BINLOG, ON_CHECK(check_charset_db));
@@ -1062,7 +1062,7 @@ static Sys_var_keycache Sys_key_cache_age_threshold(
static Sys_var_mybool Sys_large_files_support(
"large_files_support",
"Whether mysqld was compiled with options for large file support",
- READ_ONLY GLOBAL_VAR(opt_large_files),
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(opt_large_files),
NO_CMD_LINE, DEFAULT(sizeof(my_off_t) > 4));
static Sys_var_uint Sys_large_page_size(
@@ -1184,7 +1184,8 @@ static Sys_var_mybool Sys_lower_case_file_system(
"lower_case_file_system",
"Case sensitivity of file names on the file system where the "
"data directory is located",
- READ_ONLY GLOBAL_VAR(lower_case_file_system), NO_CMD_LINE,
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(lower_case_file_system),
+ NO_CMD_LINE,
DEFAULT(FALSE));
static Sys_var_uint Sys_lower_case_table_names(
@@ -1695,6 +1696,33 @@ static Sys_var_gtid_binlog_state Sys_gtid_binlog_state(
GLOBAL_VAR(opt_gtid_binlog_state_dummy), NO_CMD_LINE);
+static Sys_var_last_gtid Sys_last_gtid(
+ "last_gtid", "The GTID of the last commit (if binlogging was enabled), "
+ "or the empty string if none.",
+ READ_ONLY sys_var::ONLY_SESSION, NO_CMD_LINE);
+
+
+uchar *
+Sys_var_last_gtid::session_value_ptr(THD *thd, LEX_STRING *base)
+{
+ char buf[10+1+10+1+20+1];
+ String str(buf, sizeof(buf), system_charset_info);
+ char *p;
+ bool first= true;
+
+ str.length(0);
+ if ((thd->last_commit_gtid.seq_no > 0 &&
+ rpl_slave_state_tostring_helper(&str, &thd->last_commit_gtid, &first)) ||
+ !(p= thd->strmake(str.ptr(), str.length())))
+ {
+ my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ return NULL;
+ }
+
+ return (uchar *)p;
+}
+
+
static bool
check_slave_parallel_threads(sys_var *self, THD *thd, set_var *var)
{
@@ -1730,16 +1758,60 @@ fix_slave_parallel_threads(sys_var *self, THD *thd, enum_var_type type)
static Sys_var_ulong Sys_slave_parallel_threads(
"slave_parallel_threads",
- "Alpha feature, to only be used by developers doing testing! "
"If non-zero, number of threads to spawn to apply in parallel events "
"on the slave that were group-committed on the master or were logged "
- "with GTID in different replication domains.",
+ "with GTID in different replication domains. Note that these threads "
+ "are in addition to the IO and SQL threads, which are always created "
+ "by a replication slave",
GLOBAL_VAR(opt_slave_parallel_threads), CMD_LINE(REQUIRED_ARG),
VALID_RANGE(0,16383), DEFAULT(0), BLOCK_SIZE(1), NO_MUTEX_GUARD,
NOT_IN_BINLOG, ON_CHECK(check_slave_parallel_threads),
ON_UPDATE(fix_slave_parallel_threads));
+static bool
+check_slave_domain_parallel_threads(sys_var *self, THD *thd, set_var *var)
+{
+ bool running;
+
+ mysql_mutex_lock(&LOCK_active_mi);
+ running= master_info_index->give_error_if_slave_running();
+ mysql_mutex_unlock(&LOCK_active_mi);
+ if (running)
+ return true;
+
+ return false;
+}
+
+static bool
+fix_slave_domain_parallel_threads(sys_var *self, THD *thd, enum_var_type type)
+{
+ bool running;
+
+ mysql_mutex_unlock(&LOCK_global_system_variables);
+ mysql_mutex_lock(&LOCK_active_mi);
+ running= master_info_index->give_error_if_slave_running();
+ mysql_mutex_unlock(&LOCK_active_mi);
+ mysql_mutex_lock(&LOCK_global_system_variables);
+
+ return running ? true : false;
+}
+
+
+static Sys_var_ulong Sys_slave_domain_parallel_threads(
+ "slave_domain_parallel_threads",
+ "Maximum number of parallel threads to use on slave for events in a "
+ "single replication domain. When using multiple domains, this can be "
+ "used to limit a single domain from grabbing all threads and thus "
+ "stalling other domains. The default of 0 means to allow a domain to "
+ "grab as many threads as it wants, up to the value of "
+ "slave_parallel_threads.",
+ GLOBAL_VAR(opt_slave_domain_parallel_threads), CMD_LINE(REQUIRED_ARG),
+ VALID_RANGE(0,16383), DEFAULT(0), BLOCK_SIZE(1), NO_MUTEX_GUARD,
+ NOT_IN_BINLOG, ON_CHECK(check_slave_domain_parallel_threads),
+ ON_UPDATE(fix_slave_domain_parallel_threads));
+
+
static Sys_var_ulong Sys_slave_parallel_max_queued(
"slave_parallel_max_queued",
"Limit on how much memory SQL threads should use per parallel "
@@ -1748,6 +1820,50 @@ static Sys_var_ulong Sys_slave_parallel_max_queued(
"--slave-parallel-threads > 0.",
GLOBAL_VAR(opt_slave_parallel_max_queued), CMD_LINE(REQUIRED_ARG),
VALID_RANGE(0,2147483647), DEFAULT(131072), BLOCK_SIZE(1));
+
+
+static bool
+check_gtid_ignore_duplicates(sys_var *self, THD *thd, set_var *var)
+{
+ bool running;
+
+ mysql_mutex_lock(&LOCK_active_mi);
+ running= master_info_index->give_error_if_slave_running();
+ mysql_mutex_unlock(&LOCK_active_mi);
+ if (running)
+ return true;
+
+ return false;
+}
+
+static bool
+fix_gtid_ignore_duplicates(sys_var *self, THD *thd, enum_var_type type)
+{
+ bool running;
+
+ mysql_mutex_unlock(&LOCK_global_system_variables);
+ mysql_mutex_lock(&LOCK_active_mi);
+ running= master_info_index->give_error_if_slave_running();
+ mysql_mutex_unlock(&LOCK_active_mi);
+ mysql_mutex_lock(&LOCK_global_system_variables);
+
+ return running ? true : false;
+}
+
+
+static Sys_var_mybool Sys_gtid_ignore_duplicates(
+ "gtid_ignore_duplicates",
+ "When set, different master connections in multi-source replication are "
+ "allowed to receive and process event groups with the same GTID (when "
+ "using GTID mode). Only one will be applied, any others will be "
+ "ignored. Within a given replication domain, just the sequence number "
+ "will be used to decide whether a given GTID has been already applied; "
+ "this means it is the responsibility of the user to ensure that GTID "
+ "sequence numbers are strictly increasing.",
+ GLOBAL_VAR(opt_gtid_ignore_duplicates), CMD_LINE(OPT_ARG),
+ DEFAULT(FALSE), NO_MUTEX_GUARD,
+ NOT_IN_BINLOG, ON_CHECK(check_gtid_ignore_duplicates),
+ ON_UPDATE(fix_gtid_ignore_duplicates));
#endif
@@ -2074,7 +2190,7 @@ static bool fix_optimizer_switch(sys_var *self, THD *thd,
{
SV *sv= (type == OPT_GLOBAL) ? &global_system_variables : &thd->variables;
sv->engine_condition_pushdown=
- test(sv->optimizer_switch & OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN);
+ MY_TEST(sv->optimizer_switch & OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN);
return false;
}
static Sys_var_flagset Sys_optimizer_switch(
@@ -2145,7 +2261,7 @@ static Sys_var_ulong Sys_preload_buff_size(
static Sys_var_uint Sys_protocol_version(
"protocol_version",
"The version of the client/server protocol used by the MySQL server",
- READ_ONLY GLOBAL_VAR(protocol_version), NO_CMD_LINE,
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(protocol_version), NO_CMD_LINE,
VALID_RANGE(0, ~0), DEFAULT(PROTOCOL_VERSION), BLOCK_SIZE(1));
static Sys_var_proxy_user Sys_proxy_user(
@@ -2601,14 +2717,43 @@ static Sys_var_mybool Sys_slave_compressed_protocol(
static const char *slave_exec_mode_names[]= {"STRICT", "IDEMPOTENT", 0};
static Sys_var_enum Slave_exec_mode(
"slave_exec_mode",
- "Modes for how replication events should be executed. Legal values "
+ "How replication events should be executed. Legal values "
"are STRICT (default) and IDEMPOTENT. In IDEMPOTENT mode, "
"replication will not stop for operations that are idempotent. "
+ "For example, in row based replication attempts to delete rows that "
+ "doesn't exist will be ignored. "
"In STRICT mode, replication will stop on any unexpected difference "
"between the master and the slave",
GLOBAL_VAR(slave_exec_mode_options), CMD_LINE(REQUIRED_ARG),
slave_exec_mode_names, DEFAULT(SLAVE_EXEC_MODE_STRICT));
+static Sys_var_enum Slave_ddl_exec_mode(
+ "slave_ddl_exec_mode",
+ "How replication events should be executed. Legal values "
+ "are STRICT and IDEMPOTENT (default). In IDEMPOTENT mode, "
+ "replication will not stop for DDL operations that are idempotent. "
+ "This means that CREATE TABLE is treated as CREATE TABLE OR REPLACE and "
+ "DROP TABLE is treated as DROP TABLE IF EXISTS.",
+ GLOBAL_VAR(slave_ddl_exec_mode_options), CMD_LINE(REQUIRED_ARG),
+ slave_exec_mode_names, DEFAULT(SLAVE_EXEC_MODE_IDEMPOTENT));
+
+#ifdef RBR_TRIGGERS
+static const char *slave_run_triggers_for_rbr_names[]=
+ {"NO", "YES", "LOGGING", 0};
+static Sys_var_enum Slave_run_triggers_for_rbr(
+ "slave_run_triggers_for_rbr",
+ "Modes for how triggers in row-base replication on slave side will be "
+ "executed. Legal values are NO (default), YES and LOGGING. NO means "
+ "that trigger for RBR will not be running on slave. YES and LOGGING "
+ "means that triggers will be running on slave, if there was not "
+ "triggers running on the master for the statement. LOGGING also means "
+ "results of that the executed triggers work will be written to "
+ "the binlog.",
+ GLOBAL_VAR(slave_run_triggers_for_rbr), CMD_LINE(REQUIRED_ARG),
+ slave_run_triggers_for_rbr_names,
+ DEFAULT(SLAVE_RUN_TRIGGERS_FOR_RBR_NO));
+#endif //RBR_TRIGGERS
+
static const char *slave_type_conversions_name[]= {"ALL_LOSSY", "ALL_NON_LOSSY", 0};
static Sys_var_set Slave_type_conversions(
"slave_type_conversions",
@@ -2793,7 +2938,9 @@ static Sys_var_set Sys_sql_mode(
static const char *old_mode_names[]=
{
- "NO_DUP_KEY_WARNINGS_WITH_IGNORE", "NO_PROGRESS_INFO",
+ "NO_DUP_KEY_WARNINGS_WITH_IGNORE",
+ "NO_PROGRESS_INFO",
+ "ZERO_DATE_TIME_CAST",
0
};
@@ -2881,7 +3028,8 @@ static Sys_var_mybool Sys_sync_frm(
static char *system_time_zone_ptr;
static Sys_var_charptr Sys_system_time_zone(
"system_time_zone", "The server system time zone",
- READ_ONLY GLOBAL_VAR(system_time_zone_ptr), NO_CMD_LINE,
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(system_time_zone_ptr),
+ NO_CMD_LINE,
IN_SYSTEM_CHARSET, DEFAULT(system_time_zone));
static Sys_var_ulong Sys_table_def_size(
@@ -3091,27 +3239,37 @@ static Sys_var_mybool Sys_timed_mutexes(
static char *server_version_ptr;
static Sys_var_charptr Sys_version(
"version", "Server version",
- READ_ONLY GLOBAL_VAR(server_version_ptr), NO_CMD_LINE,
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(server_version_ptr),
+ NO_CMD_LINE,
IN_SYSTEM_CHARSET, DEFAULT(server_version));
static char *server_version_comment_ptr;
static Sys_var_charptr Sys_version_comment(
"version_comment", "version_comment",
- READ_ONLY GLOBAL_VAR(server_version_comment_ptr), NO_CMD_LINE,
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(server_version_comment_ptr),
+ NO_CMD_LINE,
IN_SYSTEM_CHARSET, DEFAULT(MYSQL_COMPILATION_COMMENT));
static char *server_version_compile_machine_ptr;
static Sys_var_charptr Sys_version_compile_machine(
"version_compile_machine", "version_compile_machine",
- READ_ONLY GLOBAL_VAR(server_version_compile_machine_ptr), NO_CMD_LINE,
+ READ_ONLY SHOW_VALUE_IN_HELP
+ GLOBAL_VAR(server_version_compile_machine_ptr), NO_CMD_LINE,
IN_SYSTEM_CHARSET, DEFAULT(MACHINE_TYPE));
static char *server_version_compile_os_ptr;
static Sys_var_charptr Sys_version_compile_os(
"version_compile_os", "version_compile_os",
- READ_ONLY GLOBAL_VAR(server_version_compile_os_ptr), NO_CMD_LINE,
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(server_version_compile_os_ptr),
+ NO_CMD_LINE,
IN_SYSTEM_CHARSET, DEFAULT(SYSTEM_TYPE));
+static char *malloc_library;
+static Sys_var_charptr Sys_malloc_library(
+ "version_malloc_library", "Version of the used malloc library",
+ READ_ONLY SHOW_VALUE_IN_HELP GLOBAL_VAR(malloc_library), NO_CMD_LINE,
+ IN_SYSTEM_CHARSET, DEFAULT(MALLOC_LIBRARY));
+
static Sys_var_ulong Sys_net_wait_timeout(
"wait_timeout",
"The number of seconds the server waits for activity on a "
@@ -3190,10 +3348,10 @@ static bool fix_autocommit(sys_var *self, THD *thd, enum_var_type type)
return false;
}
- if (thd->variables.option_bits & OPTION_AUTOCOMMIT &&
- thd->variables.option_bits & OPTION_NOT_AUTOCOMMIT)
- { // activating autocommit
-
+ if (test_all_bits(thd->variables.option_bits,
+ (OPTION_AUTOCOMMIT | OPTION_NOT_AUTOCOMMIT)))
+ {
+ // activating autocommit
if (trans_commit_stmt(thd) || trans_commit(thd))
{
thd->variables.option_bits&= ~OPTION_AUTOCOMMIT;
@@ -3210,16 +3368,17 @@ static bool fix_autocommit(sys_var *self, THD *thd, enum_var_type type)
transaction implicitly at the end (@sa stmt_causes_implicitcommit()).
*/
thd->variables.option_bits&=
- ~(OPTION_BEGIN | OPTION_KEEP_LOG | OPTION_NOT_AUTOCOMMIT);
+ ~(OPTION_BEGIN | OPTION_KEEP_LOG | OPTION_NOT_AUTOCOMMIT |
+ OPTION_GTID_BEGIN);
thd->transaction.all.modified_non_trans_table= false;
thd->server_status|= SERVER_STATUS_AUTOCOMMIT;
return false;
}
- if (!(thd->variables.option_bits & OPTION_AUTOCOMMIT) &&
- !(thd->variables.option_bits & OPTION_NOT_AUTOCOMMIT))
- { // disabling autocommit
-
+ if ((thd->variables.option_bits &
+ (OPTION_AUTOCOMMIT |OPTION_NOT_AUTOCOMMIT)) == 0)
+ {
+ // disabling autocommit
thd->transaction.all.modified_non_trans_table= false;
thd->server_status&= ~SERVER_STATUS_AUTOCOMMIT;
thd->variables.option_bits|= OPTION_NOT_AUTOCOMMIT;
@@ -3228,6 +3387,7 @@ static bool fix_autocommit(sys_var *self, THD *thd, enum_var_type type)
return false; // autocommit value wasn't changed
}
+
static Sys_var_bit Sys_autocommit(
"autocommit", "autocommit",
SESSION_VAR(option_bits), NO_CMD_LINE, OPTION_AUTOCOMMIT, DEFAULT(TRUE),
@@ -4126,13 +4286,18 @@ bool update_multi_source_variable(sys_var *self_var, THD *thd,
static bool update_slave_skip_counter(sys_var *self, THD *thd, Master_info *mi)
{
+ if (mi->using_gtid != Master_info::USE_GTID_NO)
+ {
+ my_error(ER_SLAVE_SKIP_NOT_IN_GTID, MYF(0));
+ return true;
+ }
if (mi->rli.slave_running)
{
my_error(ER_SLAVE_MUST_STOP, MYF(0), mi->connection_name.length,
mi->connection_name.str);
return true;
}
- /* The value was stored temporarly in thd */
+ /* The value was stored temporarily in thd */
mi->rli.slave_skip_counter= thd->variables.slave_skip_counter;
return false;
}
@@ -4476,14 +4641,14 @@ static Sys_var_ulong Sys_progress_report_time(
"Seconds between sending progress reports to the client for "
"time-consuming statements. Set to 0 to disable progress reporting.",
SESSION_VAR(progress_report_time), CMD_LINE(REQUIRED_ARG),
- VALID_RANGE(0, UINT_MAX), DEFAULT(56), BLOCK_SIZE(1));
+ VALID_RANGE(0, UINT_MAX), DEFAULT(5), BLOCK_SIZE(1));
const char *use_stat_tables_modes[] =
{"NEVER", "COMPLEMENTARY", "PREFERABLY", 0};
static Sys_var_enum Sys_optimizer_use_stat_tables(
"use_stat_tables",
"Specifies how to use system statistics tables. Possible values are "
- "NEVER, COMPLEMENTARY, PREVERABLY",
+ "NEVER, COMPLEMENTARY, PREFERABLY",
SESSION_VAR(use_stat_tables), CMD_LINE(REQUIRED_ARG),
use_stat_tables_modes, DEFAULT(0));
@@ -4520,7 +4685,7 @@ static Sys_var_mybool Sys_query_cache_strip_comments(
static ulonglong in_transaction(THD *thd)
{
- return test(thd->in_active_multi_stmt_transaction());
+ return MY_TEST(thd->in_active_multi_stmt_transaction());
}
static Sys_var_session_special Sys_in_transaction(
"in_transaction", "Whether there is an active transaction",
diff --git a/sql/sys_vars.h b/sql/sys_vars.h
index bef5fbdd126..495099b9c59 100644
--- a/sql/sys_vars.h
+++ b/sql/sys_vars.h
@@ -56,6 +56,7 @@
// this means that Sys_var_charptr initial value was malloc()ed
#define PREALLOCATED sys_var::ALLOCATED+
#define PARSED_EARLY sys_var::PARSE_EARLY+
+#define SHOW_VALUE_IN_HELP sys_var::SHOW_VALUE_IN_HELP+
/*
Sys_var_bit meaning is reversed, like in
@@ -2238,3 +2239,53 @@ public:
}
uchar *global_value_ptr(THD *thd, LEX_STRING *base);
};
+
+
+/**
+ Class for @@session.last_gtid.
+*/
+class Sys_var_last_gtid: public sys_var
+{
+public:
+ Sys_var_last_gtid(const char *name_arg,
+ const char *comment, int flag_args, CMD_LINE getopt)
+ : sys_var(&all_sys_vars, name_arg, comment, flag_args, 0, getopt.id,
+ getopt.arg_type, SHOW_CHAR, 0, NULL, VARIABLE_NOT_IN_BINLOG,
+ NULL, NULL, NULL)
+ {
+ option.var_type= GET_STR;
+ }
+ bool do_check(THD *thd, set_var *var)
+ {
+ DBUG_ASSERT(false);
+ return true;
+ }
+ bool session_update(THD *thd, set_var *var)
+ {
+ DBUG_ASSERT(false);
+ return true;
+ }
+ bool global_update(THD *thd, set_var *var)
+ {
+ DBUG_ASSERT(false);
+ return true;
+ }
+ bool check_update_type(Item_result type) {
+ DBUG_ASSERT(false);
+ return false;
+ }
+ void session_save_default(THD *thd, set_var *var)
+ {
+ DBUG_ASSERT(false);
+ }
+ void global_save_default(THD *thd, set_var *var)
+ {
+ DBUG_ASSERT(false);
+ }
+ uchar *session_value_ptr(THD *thd, LEX_STRING *base);
+ uchar *global_value_ptr(THD *thd, LEX_STRING *base)
+ {
+ DBUG_ASSERT(false);
+ return NULL;
+ }
+};
diff --git a/sql/table.cc b/sql/table.cc
index 87cd2adc542..210a9246a16 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -1,6 +1,5 @@
-/*
- Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2008, 2013, Monty Program Ab.
+/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
+ Copyright (c) 2008, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -819,8 +818,8 @@ static bool create_key_infos(const uchar *strpos, const uchar *frm_image_end,
keyinfo->comment.length);
strpos+= keyinfo->comment.length;
}
- DBUG_ASSERT(test(keyinfo->flags & HA_USES_COMMENT) ==
- (keyinfo->comment.length > 0));
+ DBUG_ASSERT(MY_TEST(keyinfo->flags & HA_USES_COMMENT) ==
+ (keyinfo->comment.length > 0));
}
share->keys= keys; // do it *after* all key_info's are initialized
@@ -2010,7 +2009,7 @@ int TABLE_SHARE::init_from_binary_frm_image(THD *thd, bool write,
if (!(bitmaps= (my_bitmap_map*) alloc_root(&share->mem_root,
share->column_bitmap_size)))
goto err;
- bitmap_init(&share->all_set, bitmaps, share->fields, FALSE);
+ my_bitmap_init(&share->all_set, bitmaps, share->fields, FALSE);
bitmap_set_all(&share->all_set);
delete handler_file;
@@ -2818,17 +2817,17 @@ partititon_err:
bitmap_size= share->column_bitmap_size;
if (!(bitmaps= (uchar*) alloc_root(&outparam->mem_root, bitmap_size*6)))
goto err;
- bitmap_init(&outparam->def_read_set,
+ my_bitmap_init(&outparam->def_read_set,
(my_bitmap_map*) bitmaps, share->fields, FALSE);
- bitmap_init(&outparam->def_write_set,
+ my_bitmap_init(&outparam->def_write_set,
(my_bitmap_map*) (bitmaps+bitmap_size), share->fields, FALSE);
- bitmap_init(&outparam->def_vcol_set,
+ my_bitmap_init(&outparam->def_vcol_set,
(my_bitmap_map*) (bitmaps+bitmap_size*2), share->fields, FALSE);
- bitmap_init(&outparam->tmp_set,
+ my_bitmap_init(&outparam->tmp_set,
(my_bitmap_map*) (bitmaps+bitmap_size*3), share->fields, FALSE);
- bitmap_init(&outparam->eq_join_set,
+ my_bitmap_init(&outparam->eq_join_set,
(my_bitmap_map*) (bitmaps+bitmap_size*4), share->fields, FALSE);
- bitmap_init(&outparam->cond_set,
+ my_bitmap_init(&outparam->cond_set,
(my_bitmap_map*) (bitmaps+bitmap_size*5), share->fields, FALSE);
outparam->default_column_bitmaps();
@@ -2889,9 +2888,9 @@ partititon_err:
else if (outparam->file)
{
handler::Table_flags flags= outparam->file->ha_table_flags();
- outparam->no_replicate= ! test(flags & (HA_BINLOG_STMT_CAPABLE
- | HA_BINLOG_ROW_CAPABLE))
- || test(flags & HA_HAS_OWN_BINLOGGING);
+ outparam->no_replicate= ! MY_TEST(flags & (HA_BINLOG_STMT_CAPABLE
+ | HA_BINLOG_ROW_CAPABLE))
+ || MY_TEST(flags & HA_HAS_OWN_BINLOGGING);
}
else
{
@@ -3025,6 +3024,7 @@ void open_table_error(TABLE_SHARE *share, enum open_frm_error error,
char buff[FN_REFLEN];
const myf errortype= ME_ERROR+ME_WAITTANG; // Write fatals error to log
DBUG_ENTER("open_table_error");
+ DBUG_PRINT("info", ("error: %d db_errno: %d", error, db_errno));
switch (error) {
case OPEN_FRM_OPEN_ERROR:
@@ -3253,7 +3253,7 @@ void prepare_frm_header(THD *thd, uint reclength, uchar *fileinfo,
/* header */
fileinfo[0]=(uchar) 254;
fileinfo[1]= 1;
- fileinfo[2]= FRM_VER+3+ test(create_info->varchar);
+ fileinfo[2]= FRM_VER + 3 + MY_TEST(create_info->varchar);
fileinfo[3]= (uchar) ha_legacy_type(
ha_checktype(thd,ha_legacy_type(create_info->db_type),0,0));
@@ -3272,8 +3272,8 @@ void prepare_frm_header(THD *thd, uint reclength, uchar *fileinfo,
*/
for (i= 0; i < keys; i++)
{
- DBUG_ASSERT(test(key_info[i].flags & HA_USES_COMMENT) ==
- (key_info[i].comment.length > 0));
+ DBUG_ASSERT(MY_TEST(key_info[i].flags & HA_USES_COMMENT) ==
+ (key_info[i].comment.length > 0));
if (key_info[i].flags & HA_USES_COMMENT)
key_comment_total_bytes += 2 + key_info[i].comment.length;
}
@@ -3441,10 +3441,11 @@ uint calculate_key_len(TABLE *table, uint key, const uchar *buf,
SYNPOSIS
check_db_name()
- org_name Name of database and length
+ org_name Name of database
NOTES
- If lower_case_table_names is set then database is converted to lower case
+ If lower_case_table_names is set to 1 then database name is converted
+ to lower case
RETURN
0 ok
@@ -3466,9 +3467,12 @@ bool check_db_name(LEX_STRING *org_name)
if (!name_length || name_length > NAME_LEN)
return 1;
- if (lower_case_table_names && name != any_db)
- my_casedn_str(files_charset_info, name);
-
+ if (lower_case_table_names == 1 && name != any_db)
+ {
+ org_name->length= name_length= my_casedn_str(files_charset_info, name);
+ if (check_for_path_chars)
+ org_name->length+= MYSQL50_TABLE_NAME_PREFIX_LENGTH;
+ }
if (db_name_is_in_ignore_db_dirs_list(name))
return 1;
@@ -3805,14 +3809,15 @@ bool TABLE_SHARE::visit_subgraph(Wait_for_flush *wait_for_flush,
bool result= TRUE;
/*
- To protect used_tables list from being concurrently modified
- while we are iterating through it we acquire LOCK_open.
+ To protect all_tables list from being concurrently modified
+ while we are iterating through it we increment tdc.all_tables_refs.
This does not introduce deadlocks in the deadlock detector
- because we won't try to acquire LOCK_open while
+ because we won't try to acquire tdc.LOCK_table_share while
holding a write-lock on MDL_lock::m_rwlock.
*/
- if (gvisitor->m_lock_open_count++ == 0)
- mysql_mutex_lock(&LOCK_open);
+ mysql_mutex_lock(&tdc.LOCK_table_share);
+ tdc.all_tables_refs++;
+ mysql_mutex_unlock(&tdc.LOCK_table_share);
All_share_tables_list::Iterator tables_it(tdc.all_tables);
@@ -3832,7 +3837,8 @@ bool TABLE_SHARE::visit_subgraph(Wait_for_flush *wait_for_flush,
while ((table= tables_it++))
{
- if (table->in_use && gvisitor->inspect_edge(&table->in_use->mdl_context))
+ DBUG_ASSERT(table->in_use && tdc.flushed);
+ if (gvisitor->inspect_edge(&table->in_use->mdl_context))
{
goto end_leave_node;
}
@@ -3841,7 +3847,8 @@ bool TABLE_SHARE::visit_subgraph(Wait_for_flush *wait_for_flush,
tables_it.rewind();
while ((table= tables_it++))
{
- if (table->in_use && table->in_use->mdl_context.visit_subgraph(gvisitor))
+ DBUG_ASSERT(table->in_use && tdc.flushed);
+ if (table->in_use->mdl_context.visit_subgraph(gvisitor))
{
goto end_leave_node;
}
@@ -3853,8 +3860,10 @@ end_leave_node:
gvisitor->leave_node(src_ctx);
end:
- if (gvisitor->m_lock_open_count-- == 1)
- mysql_mutex_unlock(&LOCK_open);
+ mysql_mutex_lock(&tdc.LOCK_table_share);
+ if (!--tdc.all_tables_refs)
+ mysql_cond_broadcast(&tdc.COND_release);
+ mysql_mutex_unlock(&tdc.LOCK_table_share);
return result;
}
@@ -3890,7 +3899,7 @@ bool TABLE_SHARE::wait_for_old_version(THD *thd, struct timespec *abstime,
MDL_wait::enum_wait_status wait_status;
mysql_mutex_assert_owner(&tdc.LOCK_table_share);
- DBUG_ASSERT(has_old_version());
+ DBUG_ASSERT(tdc.flushed);
tdc.m_flush_tickets.push_front(&ticket);
@@ -3993,6 +4002,10 @@ void TABLE::init(THD *thd, TABLE_LIST *tl)
created= TRUE;
cond_selectivity= 1.0;
cond_selectivity_sampling_explain= NULL;
+#ifdef HAVE_REPLICATION
+ /* used in RBR Triggers */
+ master_had_triggers= 0;
+#endif
/* Catch wrong handling of the auto_increment_field_not_null. */
DBUG_ASSERT(!auto_increment_field_not_null);
@@ -6181,9 +6194,9 @@ bool TABLE::is_filled_at_execution()
do not have a corresponding table reference. Such tables are filled
during execution.
*/
- return test(!pos_in_table_list ||
- pos_in_table_list->jtbm_subselect ||
- pos_in_table_list->is_active_sjm());
+ return MY_TEST(!pos_in_table_list ||
+ pos_in_table_list->jtbm_subselect ||
+ pos_in_table_list->is_active_sjm());
}
@@ -6656,6 +6669,81 @@ int TABLE::update_default_fields()
/*
+ Prepare triggers for INSERT-like statement.
+
+ SYNOPSIS
+ prepare_triggers_for_insert_stmt_or_event()
+
+ NOTE
+ Prepare triggers for INSERT-like statement by marking fields
+ used by triggers and inform handlers that batching of UPDATE/DELETE
+ cannot be done if there are BEFORE UPDATE/DELETE triggers.
+*/
+
+void TABLE::prepare_triggers_for_insert_stmt_or_event()
+{
+ if (triggers)
+ {
+ if (triggers->has_triggers(TRG_EVENT_DELETE,
+ TRG_ACTION_AFTER))
+ {
+ /*
+ The table has AFTER DELETE triggers that might access to
+ subject table and therefore might need delete to be done
+ immediately. So we turn-off the batching.
+ */
+ (void) file->extra(HA_EXTRA_DELETE_CANNOT_BATCH);
+ }
+ if (triggers->has_triggers(TRG_EVENT_UPDATE,
+ TRG_ACTION_AFTER))
+ {
+ /*
+ The table has AFTER UPDATE triggers that might access to subject
+ table and therefore might need update to be done immediately.
+ So we turn-off the batching.
+ */
+ (void) file->extra(HA_EXTRA_UPDATE_CANNOT_BATCH);
+ }
+ }
+}
+
+
+bool TABLE::prepare_triggers_for_delete_stmt_or_event()
+{
+ if (triggers &&
+ triggers->has_triggers(TRG_EVENT_DELETE,
+ TRG_ACTION_AFTER))
+ {
+ /*
+ The table has AFTER DELETE triggers that might access to subject table
+ and therefore might need delete to be done immediately. So we turn-off
+ the batching.
+ */
+ (void) file->extra(HA_EXTRA_DELETE_CANNOT_BATCH);
+ return TRUE;
+ }
+ return FALSE;
+}
+
+
+bool TABLE::prepare_triggers_for_update_stmt_or_event()
+{
+ if (triggers &&
+ triggers->has_triggers(TRG_EVENT_UPDATE,
+ TRG_ACTION_AFTER))
+ {
+ /*
+ The table has AFTER UPDATE triggers that might access to subject
+ table and therefore might need update to be done immediately.
+ So we turn-off the batching.
+ */
+ (void) file->extra(HA_EXTRA_UPDATE_CANNOT_BATCH);
+ return TRUE;
+ }
+ return FALSE;
+}
+
+/*
@brief Reset const_table flag
@detail
diff --git a/sql/table.h b/sql/table.h
index 6d8be8f948a..975f79fc02d 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -1,7 +1,7 @@
#ifndef TABLE_INCLUDED
#define TABLE_INCLUDED
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2009, 2011 Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -194,10 +194,20 @@ private:
/* Order clause list element */
+typedef int (*fast_field_copier)(Field *to, Field *from);
+
+
typedef struct st_order {
struct st_order *next;
Item **item; /* Point at item in select fields */
Item *item_ptr; /* Storage for initial item */
+ /*
+ Reference to the function we are trying to optimize copy to
+ a temporary table
+ */
+ fast_field_copier fast_field_copier_func;
+ /* Field for which above optimizer function setup */
+ Field *fast_field_copier_setup;
int counter; /* position in SELECT list, correct
only if counter_used is true*/
bool asc; /* true if ascending */
@@ -481,8 +491,6 @@ TABLE_CATEGORY get_table_category(const LEX_STRING *db,
struct TABLE_share;
struct All_share_tables;
-extern ulong tdc_refresh_version(void);
-
typedef struct st_table_field_type
{
LEX_STRING name;
@@ -608,11 +616,14 @@ struct TABLE_SHARE
struct
{
/**
- Protects ref_count and m_flush_tickets.
+ Protects ref_count, m_flush_tickets, all_tables, free_tables, flushed,
+ all_tables_refs.
*/
mysql_mutex_t LOCK_table_share;
+ mysql_cond_t COND_release;
TABLE_SHARE *next, **prev; /* Link to unused shares */
uint ref_count; /* How many TABLE objects uses this */
+ uint all_tables_refs; /* Number of refs to all_tables */
/**
List of tickets representing threads waiting for the share to be flushed.
*/
@@ -623,6 +634,8 @@ struct TABLE_SHARE
*/
All_share_tables_list all_tables;
TABLE_list free_tables;
+ ulong version;
+ bool flushed;
} tdc;
LEX_CUSTRING tabledef_version;
@@ -668,7 +681,6 @@ struct TABLE_SHARE
key_map keys_for_keyread;
ha_rows min_rows, max_rows; /* create information */
ulong avg_row_length; /* create information */
- ulong version;
ulong mysql_version; /* 0 if .frm is created before 5.0 */
ulong reclength; /* Recordlength */
/* Stored record length. No generated-only virtual fields are included */
@@ -732,6 +744,7 @@ struct TABLE_SHARE
bool is_view;
bool deleting; /* going to delete this table */
bool can_cmp_whole_record;
+ bool table_creation_was_logged;
ulong table_map_id; /* for row-based replication */
/*
@@ -847,12 +860,6 @@ struct TABLE_SHARE
return table_map_id;
}
- /** Is this table share being expelled from the table definition cache? */
- inline bool has_old_version() const
- {
- return version != tdc_refresh_version();
- }
-
/**
Convert unrelated members of TABLE_SHARE to one enum
representing its type.
@@ -972,6 +979,9 @@ struct TABLE_SHARE
*/
bool write_frm_image(const uchar *frm_image, size_t frm_length);
+ bool write_frm_image(void)
+ { return frm_image ? write_frm_image(frm_image->str, frm_image->length) : 0; }
+
/*
returns an frm image for this table.
the memory is allocated and must be freed later
@@ -1065,7 +1075,6 @@ public:
ORDER *group;
String alias; /* alias or table name */
uchar *null_flags;
- my_bitmap_map *bitmap_init_value;
MY_BITMAP def_read_set, def_write_set, def_vcol_set, tmp_set;
MY_BITMAP eq_join_set; /* used to mark equi-joined fields */
MY_BITMAP cond_set; /* used to mark fields from sargable conditions*/
@@ -1105,7 +1114,11 @@ public:
*/
ha_rows quick_rows[MAX_KEY];
- /* Bitmaps of key parts that =const for the entire join. */
+ /*
+ Bitmaps of key parts that =const for the duration of join execution. If
+ we're in a subquery, then the constant may be different across subquery
+ re-executions.
+ */
key_part_map const_key_parts[MAX_KEY];
uint quick_key_parts[MAX_KEY];
@@ -1231,6 +1244,10 @@ public:
bool get_fields_in_item_tree; /* Signal to fix_field */
bool m_needs_reopen;
bool created; /* For tmp tables. TRUE <=> tmp table was actually created.*/
+#ifdef HAVE_REPLICATION
+ /* used in RBR Triggers */
+ bool master_had_triggers;
+#endif
REGINFO reginfo; /* field connections */
MEM_ROOT mem_root;
@@ -1359,6 +1376,10 @@ public:
ulong actual_key_flags(KEY *keyinfo);
int update_default_fields();
inline ha_rows stat_records() { return used_stat_records; }
+
+ void prepare_triggers_for_insert_stmt_or_event();
+ bool prepare_triggers_for_delete_stmt_or_event();
+ bool prepare_triggers_for_update_stmt_or_event();
};
@@ -1950,7 +1971,7 @@ struct TABLE_LIST
Indicates that if TABLE_LIST object corresponds to the table/view
which requires special handling.
*/
- enum
+ enum enum_open_strategy
{
/* Normal open. */
OPEN_NORMAL= 0,
@@ -2156,9 +2177,11 @@ struct TABLE_LIST
}
inline void set_merged_derived()
{
+ DBUG_ENTER("set_merged_derived");
derived_type= ((derived_type & DTYPE_MASK) |
DTYPE_TABLE | DTYPE_MERGE);
set_check_merged();
+ DBUG_VOID_RETURN;
}
inline bool is_materialized_derived()
{
@@ -2166,9 +2189,11 @@ struct TABLE_LIST
}
void set_materialized_derived()
{
+ DBUG_ENTER("set_materialized_derived");
derived_type= ((derived_type & DTYPE_MASK) |
DTYPE_TABLE | DTYPE_MATERIALIZE);
set_check_materialized();
+ DBUG_VOID_RETURN;
}
inline bool is_multitable()
{
@@ -2201,7 +2226,7 @@ struct TABLE_LIST
*/
char *get_table_name() const { return view != NULL ? view_name.str : table_name; }
bool is_active_sjm();
- bool is_jtbm() { return test(jtbm_subselect!=NULL); }
+ bool is_jtbm() { return MY_TEST(jtbm_subselect != NULL); }
st_select_lex_unit *get_unit();
st_select_lex *get_single_select();
void wrap_into_nested_join(List<TABLE_LIST> &join_list);
@@ -2525,6 +2550,9 @@ int rename_file_ext(const char * from,const char * to,const char * ext);
char *get_field(MEM_ROOT *mem, Field *field);
bool get_field(MEM_ROOT *mem, Field *field, class String *res);
+bool validate_comment_length(THD *thd, LEX_STRING *comment, size_t max_len,
+ uint err_code, const char *name);
+
int closefrm(TABLE *table, bool free_share);
void free_blobs(TABLE *table);
void free_field_buffers_larger_than(TABLE *table, uint32 size);
diff --git a/sql/table_cache.cc b/sql/table_cache.cc
index 6f51ac8276c..8b768240b4f 100644
--- a/sql/table_cache.cc
+++ b/sql/table_cache.cc
@@ -44,6 +44,8 @@
Table cache invariants:
- TABLE_SHARE::free_tables shall not contain objects with TABLE::in_use != 0
+ - TABLE_SHARE::free_tables shall not receive new objects if
+ TABLE_SHARE::tdc.flushed is true
*/
#include "my_global.h"
@@ -64,15 +66,7 @@ static int64 tdc_version; /* Increments on each reload */
static int64 last_table_id;
static bool tdc_inited;
-static uint tc_count; /**< Number of TABLE objects in table cache. */
-
-
-/**
- Protects tc_count, TABLE_SHARE::tdc.free_tables, TABLE_SHARE::tdc.all_tables,
- TABLE::in_use.
-*/
-
-mysql_mutex_t LOCK_open;
+static int32 tc_count; /**< Number of TABLE objects in table cache. */
/**
@@ -86,24 +80,27 @@ mysql_mutex_t LOCK_open;
static mysql_mutex_t LOCK_unused_shares;
static mysql_rwlock_t LOCK_tdc; /**< Protects tdc_hash. */
-static mysql_rwlock_t LOCK_flush; /**< Sync tc_purge() and tdc_remove_table(). */
my_atomic_rwlock_t LOCK_tdc_atomics; /**< Protects tdc_version. */
#ifdef HAVE_PSI_INTERFACE
-static PSI_mutex_key key_LOCK_open, key_LOCK_unused_shares,
- key_TABLE_SHARE_LOCK_table_share;
+static PSI_mutex_key key_LOCK_unused_shares, key_TABLE_SHARE_LOCK_table_share;
static PSI_mutex_info all_tc_mutexes[]=
{
- { &key_LOCK_open, "LOCK_open", PSI_FLAG_GLOBAL },
{ &key_LOCK_unused_shares, "LOCK_unused_shares", PSI_FLAG_GLOBAL },
{ &key_TABLE_SHARE_LOCK_table_share, "TABLE_SHARE::tdc.LOCK_table_share", 0 }
};
-static PSI_rwlock_key key_rwlock_LOCK_tdc, key_rwlock_LOCK_flush;
+static PSI_rwlock_key key_rwlock_LOCK_tdc;
static PSI_rwlock_info all_tc_rwlocks[]=
{
- { &key_rwlock_LOCK_tdc, "LOCK_tdc", PSI_FLAG_GLOBAL },
- { &key_rwlock_LOCK_flush, "LOCK_flush", PSI_FLAG_GLOBAL }
+ { &key_rwlock_LOCK_tdc, "LOCK_tdc", PSI_FLAG_GLOBAL }
+};
+
+
+static PSI_cond_key key_TABLE_SHARE_COND_release;
+static PSI_cond_info all_tc_conds[]=
+{
+ { &key_TABLE_SHARE_COND_release, "TABLE_SHARE::tdc.COND_release", 0 }
};
@@ -117,13 +114,16 @@ static void init_tc_psi_keys(void)
count= array_elements(all_tc_rwlocks);
mysql_rwlock_register(category, all_tc_rwlocks, count);
+
+ count= array_elements(all_tc_conds);
+ mysql_cond_register(category, all_tc_conds, count);
}
#endif
/*
- Auxiliary routines for manipulating with per-share used/unused and
- global unused lists of TABLE objects and tc_count counter.
+ Auxiliary routines for manipulating with per-share all/unused lists
+ and tc_count counter.
Responsible for preserving invariants between those lists, counter
and TABLE::in_use member.
In fact those routines implement sort of implicit table cache as
@@ -133,13 +133,58 @@ static void init_tc_psi_keys(void)
/**
Get number of TABLE objects (used and unused) in table cache.
-
- @todo Protect tc_count so it is read atomically.
*/
uint tc_records(void)
{
- return tc_count;
+ uint count;
+ my_atomic_rwlock_rdlock(&LOCK_tdc_atomics);
+ count= my_atomic_load32(&tc_count);
+ my_atomic_rwlock_rdunlock(&LOCK_tdc_atomics);
+ return count;
+}
+
+
+/**
+ Remove TABLE object from table cache.
+
+ - decrement tc_count
+ - remove object from TABLE_SHARE::tdc.all_tables
+*/
+
+static void tc_remove_table(TABLE *table)
+{
+ my_atomic_rwlock_wrlock(&LOCK_tdc_atomics);
+ my_atomic_add32(&tc_count, -1);
+ my_atomic_rwlock_wrunlock(&LOCK_tdc_atomics);
+ table->s->tdc.all_tables.remove(table);
+}
+
+
+/**
+ Wait for MDL deadlock detector to complete traversing tdc.all_tables.
+
+ Must be called before updating TABLE_SHARE::tdc.all_tables.
+*/
+
+static void tc_wait_for_mdl_deadlock_detector(TABLE_SHARE *share)
+{
+ while (share->tdc.all_tables_refs)
+ mysql_cond_wait(&share->tdc.COND_release, &share->tdc.LOCK_table_share);
+}
+
+
+/**
+ Get last element of tdc.free_tables.
+*/
+
+static TABLE *tc_free_tables_back(TABLE_SHARE *share)
+{
+ TABLE_SHARE::TABLE_list::Iterator it(share->tdc.free_tables);
+ TABLE *entry, *last= 0;
+ while ((entry= it++))
+ last= entry;
+ return last;
}
@@ -158,7 +203,7 @@ uint tc_records(void)
periodicly flush all not used tables.
*/
-void tc_purge(void)
+void tc_purge(bool mark_flushed)
{
TABLE_SHARE *share;
TABLE *table;
@@ -166,65 +211,25 @@ void tc_purge(void)
TABLE_SHARE::TABLE_list purge_tables;
tdc_it.init();
- mysql_mutex_lock(&LOCK_open);
while ((share= tdc_it.next()))
{
+ mysql_mutex_lock(&share->tdc.LOCK_table_share);
+ tc_wait_for_mdl_deadlock_detector(share);
+
+ if (mark_flushed)
+ share->tdc.flushed= true;
while ((table= share->tdc.free_tables.pop_front()))
{
- share->tdc.all_tables.remove(table);
+ tc_remove_table(table);
purge_tables.push_front(table);
- tc_count--;
}
+ mysql_mutex_unlock(&share->tdc.LOCK_table_share);
}
tdc_it.deinit();
- mysql_rwlock_rdlock(&LOCK_flush);
- mysql_mutex_unlock(&LOCK_open);
while ((table= purge_tables.pop_front()))
intern_close_table(table);
- mysql_rwlock_unlock(&LOCK_flush);
-}
-
-
-/**
- Verify consistency of used/unused lists (for debugging).
-*/
-
-#ifdef EXTRA_DEBUG
-static void check_unused(THD *thd)
-{
- TABLE *entry;
- TABLE_SHARE *share;
- TDC_iterator tdc_it;
-
- tdc_it.init();
- mysql_mutex_lock(&LOCK_open);
- while ((share= tdc_it.next()))
- {
- TABLE_SHARE::TABLE_list::Iterator it(share->tdc.free_tables);
- while ((entry= it++))
- {
- /*
- We must not have TABLEs in the free list that have their file closed.
- */
- DBUG_ASSERT(entry->db_stat && entry->file);
- /* Merge children should be detached from a merge parent */
- if (entry->in_use)
- {
- DBUG_PRINT("error",("Used table is in share's list of unused tables")); /* purecov: inspected */
- }
- /* extra() may assume that in_use is set */
- entry->in_use= thd;
- DBUG_ASSERT(!thd || !entry->file->extra(HA_EXTRA_IS_ATTACHED_CHILDREN));
- entry->in_use= 0;
- }
- }
- mysql_mutex_unlock(&LOCK_open);
- tdc_it.deinit();
}
-#else
-#define check_unused(A)
-#endif
/**
@@ -245,47 +250,63 @@ static void check_unused(THD *thd)
void tc_add_table(THD *thd, TABLE *table)
{
+ bool need_purge;
DBUG_ASSERT(table->in_use == thd);
- mysql_mutex_lock(&LOCK_open);
+ mysql_mutex_lock(&table->s->tdc.LOCK_table_share);
+ tc_wait_for_mdl_deadlock_detector(table->s);
table->s->tdc.all_tables.push_front(table);
+ mysql_mutex_unlock(&table->s->tdc.LOCK_table_share);
+
/* If we have too many TABLE instances around, try to get rid of them */
- if (tc_count == tc_size)
+ my_atomic_rwlock_wrlock(&LOCK_tdc_atomics);
+ need_purge= my_atomic_add32(&tc_count, 1) >= (int32) tc_size;
+ my_atomic_rwlock_wrunlock(&LOCK_tdc_atomics);
+
+ if (need_purge)
{
+ TABLE_SHARE *purge_share= 0;
+ TABLE_SHARE *share;
+ TABLE *entry;
+ ulonglong purge_time;
TDC_iterator tdc_it;
- mysql_mutex_unlock(&LOCK_open);
tdc_it.init();
- mysql_mutex_lock(&LOCK_open);
- if (tc_count == tc_size)
+ while ((share= tdc_it.next()))
{
- TABLE *purge_table= 0;
- TABLE_SHARE *share;
- while ((share= tdc_it.next()))
+ mysql_mutex_lock(&share->tdc.LOCK_table_share);
+ if ((entry= tc_free_tables_back(share)) &&
+ (!purge_share || entry->tc_time < purge_time))
{
- TABLE_SHARE::TABLE_list::Iterator it(share->tdc.free_tables);
- TABLE *entry;
- while ((entry= it++))
- if (!purge_table || entry->tc_time < purge_table->tc_time)
- purge_table= entry;
+ purge_share= share;
+ purge_time= entry->tc_time;
}
- if (purge_table)
+ mysql_mutex_unlock(&share->tdc.LOCK_table_share);
+ }
+
+ if (purge_share)
+ {
+ mysql_mutex_lock(&purge_share->tdc.LOCK_table_share);
+ tc_wait_for_mdl_deadlock_detector(purge_share);
+ tdc_it.deinit();
+ /*
+ It may happen that oldest table was acquired meanwhile. In this case
+ just go ahead, number of objects in table cache will normalize
+ eventually.
+ */
+ if ((entry= tc_free_tables_back(purge_share)) &&
+ entry->tc_time == purge_time)
{
- tdc_it.deinit();
- purge_table->s->tdc.free_tables.remove(purge_table);
- purge_table->s->tdc.all_tables.remove(purge_table);
- mysql_rwlock_rdlock(&LOCK_flush);
- mysql_mutex_unlock(&LOCK_open);
- intern_close_table(purge_table);
- mysql_rwlock_unlock(&LOCK_flush);
- check_unused(thd);
- return;
+ entry->s->tdc.free_tables.remove(entry);
+ tc_remove_table(entry);
+ mysql_mutex_unlock(&purge_share->tdc.LOCK_table_share);
+ intern_close_table(entry);
}
+ else
+ mysql_mutex_unlock(&purge_share->tdc.LOCK_table_share);
}
- tdc_it.deinit();
+ else
+ tdc_it.deinit();
}
- /* Nothing to evict, increment tc_count. */
- tc_count++;
- mysql_mutex_unlock(&LOCK_open);
}
@@ -297,7 +318,9 @@ void tc_add_table(THD *thd, TABLE *table)
Acquired object cannot be evicted or acquired again.
While locked:
- - pop object from TABLE_SHARE::tdc.free_tables()
+ - pop object from TABLE_SHARE::tdc.free_tables
+
+ While unlocked:
- mark object used by thd
@return TABLE object, or NULL if no unused objects.
@@ -307,20 +330,18 @@ static TABLE *tc_acquire_table(THD *thd, TABLE_SHARE *share)
{
TABLE *table;
- mysql_mutex_lock(&LOCK_open);
- if (!(table= share->tdc.free_tables.pop_front()))
+ mysql_mutex_lock(&share->tdc.LOCK_table_share);
+ table= share->tdc.free_tables.pop_front();
+ if (table)
{
- mysql_mutex_unlock(&LOCK_open);
- return 0;
+ DBUG_ASSERT(!table->in_use);
+ table->in_use= thd;
+ /* The ex-unused table must be fully functional. */
+ DBUG_ASSERT(table->db_stat && table->file);
+ /* The children must be detached from the table. */
+ DBUG_ASSERT(!table->file->extra(HA_EXTRA_IS_ATTACHED_CHILDREN));
}
- DBUG_ASSERT(!table->in_use);
- table->in_use= thd;
- mysql_mutex_unlock(&LOCK_open);
-
- /* The ex-unused table must be fully functional. */
- DBUG_ASSERT(table->db_stat && table->file);
- /* The children must be detached from the table. */
- DBUG_ASSERT(! table->file->extra(HA_EXTRA_IS_ATTACHED_CHILDREN));
+ mysql_mutex_unlock(&share->tdc.LOCK_table_share);
return table;
}
@@ -333,18 +354,18 @@ static TABLE *tc_acquire_table(THD *thd, TABLE_SHARE *share)
Released object may be evicted or acquired again.
While locked:
- - mark object not in use by any thread
- if object is marked for purge, decrement tc_count
- add object to TABLE_SHARE::tdc.free_tables
- evict LRU object from table cache if we reached threshold
While unlocked:
+ - mark object not in use by any thread
- free evicted/purged object
@note Another thread may mark share for purge any moment (even
after version check). It means to-be-purged object may go to
unused lists. This other thread is expected to call tc_purge(),
- which is synchronized with us on LOCK_open.
+ which is synchronized with us on TABLE_SHARE::tdc.LOCK_table_share.
@return
@retval true object purged
@@ -353,29 +374,39 @@ static TABLE *tc_acquire_table(THD *thd, TABLE_SHARE *share)
bool tc_release_table(TABLE *table)
{
- THD *thd __attribute__((unused))= table->in_use;
DBUG_ASSERT(table->in_use);
DBUG_ASSERT(table->file);
+ if (table->needs_reopen() || tc_records() > tc_size)
+ {
+ mysql_mutex_lock(&table->s->tdc.LOCK_table_share);
+ goto purge;
+ }
+
table->tc_time= my_interval_timer();
- mysql_mutex_lock(&LOCK_open);
+ mysql_mutex_lock(&table->s->tdc.LOCK_table_share);
+ if (table->s->tdc.flushed)
+ goto purge;
+ /*
+ in_use doesn't really need mutex protection, but must be reset after
+ checking tdc.flushed and before this table appears in free_tables.
+ Resetting in_use is needed only for print_cached_tables() and
+ list_open_tables().
+ */
table->in_use= 0;
- if (table->s->has_old_version() || table->needs_reopen() || tc_count > tc_size)
- {
- tc_count--;
- table->s->tdc.all_tables.remove(table);
- mysql_rwlock_rdlock(&LOCK_flush);
- mysql_mutex_unlock(&LOCK_open);
- intern_close_table(table);
- mysql_rwlock_unlock(&LOCK_flush);
- return true;
- }
/* Add table to the list of unused TABLE objects for this share. */
table->s->tdc.free_tables.push_front(table);
- mysql_mutex_unlock(&LOCK_open);
- check_unused(thd);
+ mysql_mutex_unlock(&table->s->tdc.LOCK_table_share);
return false;
+
+purge:
+ tc_wait_for_mdl_deadlock_detector(table->s);
+ tc_remove_table(table);
+ mysql_mutex_unlock(&table->s->tdc.LOCK_table_share);
+ table->in_use= 0;
+ intern_close_table(table);
+ return true;
}
@@ -403,6 +434,7 @@ static int tdc_delete_share_from_hash(TABLE_SHARE *share)
mysql_mutex_lock(&share->tdc.LOCK_table_share);
if (--share->tdc.ref_count)
{
+ mysql_cond_broadcast(&share->tdc.COND_release);
mysql_mutex_unlock(&share->tdc.LOCK_table_share);
mysql_rwlock_unlock(&LOCK_tdc);
DBUG_RETURN(1);
@@ -452,17 +484,9 @@ int tdc_init(void)
init_tc_psi_keys();
#endif
tdc_inited= true;
- mysql_mutex_init(key_LOCK_open, &LOCK_open, MY_MUTEX_INIT_FAST);
- mysql_mutex_record_order(&LOCK_active_mi, &LOCK_open);
- /*
- We must have LOCK_open before LOCK_global_system_variables because
- LOCK_open is held while sql_plugin.cc::intern_sys_var_ptr() is called.
- */
- mysql_mutex_record_order(&LOCK_open, &LOCK_global_system_variables);
mysql_mutex_init(key_LOCK_unused_shares, &LOCK_unused_shares,
MY_MUTEX_INIT_FAST);
mysql_rwlock_init(key_rwlock_LOCK_tdc, &LOCK_tdc);
- mysql_rwlock_init(key_rwlock_LOCK_flush, &LOCK_flush);
my_atomic_rwlock_init(&LOCK_tdc_atomics);
oldest_unused_share= &end_of_unused_share;
end_of_unused_share.tdc.prev= &oldest_unused_share;
@@ -510,10 +534,8 @@ void tdc_deinit(void)
tdc_inited= false;
my_hash_free(&tdc_hash);
my_atomic_rwlock_destroy(&LOCK_tdc_atomics);
- mysql_rwlock_destroy(&LOCK_flush);
mysql_rwlock_destroy(&LOCK_tdc);
mysql_mutex_destroy(&LOCK_unused_shares);
- mysql_mutex_destroy(&LOCK_open);
}
DBUG_VOID_RETURN;
}
@@ -576,11 +598,14 @@ void tdc_init_share(TABLE_SHARE *share)
DBUG_ENTER("tdc_init_share");
mysql_mutex_init(key_TABLE_SHARE_LOCK_table_share,
&share->tdc.LOCK_table_share, MY_MUTEX_INIT_FAST);
+ mysql_cond_init(key_TABLE_SHARE_COND_release, &share->tdc.COND_release, 0);
share->tdc.m_flush_tickets.empty();
share->tdc.all_tables.empty();
share->tdc.free_tables.empty();
tdc_assign_new_table_id(share);
- share->version= tdc_refresh_version();
+ share->tdc.version= tdc_refresh_version();
+ share->tdc.flushed= false;
+ share->tdc.all_tables_refs= 0;
DBUG_VOID_RETURN;
}
@@ -596,6 +621,8 @@ void tdc_deinit_share(TABLE_SHARE *share)
DBUG_ASSERT(share->tdc.m_flush_tickets.is_empty());
DBUG_ASSERT(share->tdc.all_tables.is_empty());
DBUG_ASSERT(share->tdc.free_tables.is_empty());
+ DBUG_ASSERT(share->tdc.all_tables_refs == 0);
+ mysql_cond_destroy(&share->tdc.COND_release);
mysql_mutex_destroy(&share->tdc.LOCK_table_share);
DBUG_VOID_RETURN;
}
@@ -669,16 +696,14 @@ void tdc_unlock_share(TABLE_SHARE *share)
*/
TABLE_SHARE *tdc_acquire_share(THD *thd, const char *db, const char *table_name,
- const char *key, uint key_length, uint flags,
+ const char *key, uint key_length,
+ my_hash_value_type hash_value, uint flags,
TABLE **out_table)
{
TABLE_SHARE *share;
bool was_unused;
- my_hash_value_type hash_value;
DBUG_ENTER("tdc_acquire_share");
- hash_value= my_calc_hash(&tdc_hash, (uchar*) key, key_length);
-
mysql_rwlock_rdlock(&LOCK_tdc);
share= (TABLE_SHARE*) my_hash_search_using_hash_value(&tdc_hash, hash_value,
(uchar*) key,
@@ -740,7 +765,6 @@ TABLE_SHARE *tdc_acquire_share(THD *thd, const char *db, const char *table_name,
if ((*out_table= tc_acquire_table(thd, share)))
{
mysql_rwlock_unlock(&LOCK_tdc);
- check_unused(thd);
DBUG_ASSERT(!(flags & GTS_NOLOCK));
DBUG_ASSERT(!share->error);
DBUG_ASSERT(!share->is_view);
@@ -828,12 +852,14 @@ void tdc_release_share(TABLE_SHARE *share)
DBUG_PRINT("enter",
("share: 0x%lx table: %s.%s ref_count: %u version: %lu",
(ulong) share, share->db.str, share->table_name.str,
- share->tdc.ref_count, share->version));
+ share->tdc.ref_count, share->tdc.version));
DBUG_ASSERT(share->tdc.ref_count);
if (share->tdc.ref_count > 1)
{
share->tdc.ref_count--;
+ if (!share->is_view)
+ mysql_cond_broadcast(&share->tdc.COND_release);
mysql_mutex_unlock(&share->tdc.LOCK_table_share);
DBUG_VOID_RETURN;
}
@@ -841,7 +867,7 @@ void tdc_release_share(TABLE_SHARE *share)
mysql_mutex_lock(&LOCK_unused_shares);
mysql_mutex_lock(&share->tdc.LOCK_table_share);
- if (share->has_old_version())
+ if (share->tdc.flushed)
{
mysql_mutex_unlock(&share->tdc.LOCK_table_share);
mysql_mutex_unlock(&LOCK_unused_shares);
@@ -959,50 +985,75 @@ bool tdc_remove_table(THD *thd, enum_tdc_remove_table_type remove_type,
if ((share= tdc_delete_share(db, table_name)))
{
I_P_List <TABLE, TABLE_share> purge_tables;
+ uint my_refs= 1;
- mysql_mutex_lock(&LOCK_open);
- if (kill_delayed_threads)
- kill_delayed_threads_for_table(share);
-
-#ifndef DBUG_OFF
- if (remove_type == TDC_RT_REMOVE_NOT_OWN)
- {
- TABLE_SHARE::All_share_tables_list::Iterator it2(share->tdc.all_tables);
- while ((table= it2++))
- DBUG_ASSERT(!table->in_use || table->in_use == thd);
- }
-#endif
+ mysql_mutex_lock(&share->tdc.LOCK_table_share);
+ tc_wait_for_mdl_deadlock_detector(share);
/*
- Set share's version to zero in order to ensure that it gets
+ Mark share flushed in order to ensure that it gets
automatically deleted once it is no longer referenced.
Note that code in TABLE_SHARE::wait_for_old_version() assumes that
- incrementing of refresh_version is followed by purge of unused table
+ marking share flushed is followed by purge of unused table
shares.
*/
if (remove_type != TDC_RT_REMOVE_NOT_OWN_KEEP_SHARE)
- share->version= 0;
+ share->tdc.flushed= true;
while ((table= share->tdc.free_tables.pop_front()))
{
- share->tdc.all_tables.remove(table);
- tc_count--;
+ tc_remove_table(table);
purge_tables.push_front(table);
}
- mysql_rwlock_rdlock(&LOCK_flush);
- mysql_mutex_unlock(&LOCK_open);
+ if (kill_delayed_threads)
+ kill_delayed_threads_for_table(share);
+
+ if (remove_type == TDC_RT_REMOVE_NOT_OWN ||
+ remove_type == TDC_RT_REMOVE_NOT_OWN_KEEP_SHARE)
+ {
+ TABLE_SHARE::All_share_tables_list::Iterator it(share->tdc.all_tables);
+ while ((table= it++))
+ {
+ my_refs++;
+ DBUG_ASSERT(table->in_use == thd);
+ }
+ }
+ DBUG_ASSERT(share->tdc.all_tables.is_empty() || remove_type != TDC_RT_REMOVE_ALL);
+ mysql_mutex_unlock(&share->tdc.LOCK_table_share);
while ((table= purge_tables.pop_front()))
intern_close_table(table);
- mysql_rwlock_unlock(&LOCK_flush);
- check_unused(thd);
- DBUG_ASSERT(share->tdc.all_tables.is_empty() || remove_type != TDC_RT_REMOVE_ALL);
- tdc_release_share(share);
+ if (remove_type != TDC_RT_REMOVE_UNUSED)
+ {
+ /*
+ Even though current thread holds exclusive metadata lock on this share
+ (asserted above), concurrent FLUSH TABLES threads may be in process of
+ closing unused table instances belonging to this share. E.g.:
+ thr1 (FLUSH TABLES): table= share->tdc.free_tables.pop_front();
+ thr1 (FLUSH TABLES): share->tdc.all_tables.remove(table);
+ thr2 (ALTER TABLE): tdc_remove_table();
+ thr1 (FLUSH TABLES): intern_close_table(table);
+
+ Current remove type assumes that all table instances (except for those
+ that are owned by current thread) must be closed before
+ thd_remove_table() returns. Wait for such tables now.
+
+ intern_close_table() decrements ref_count and signals COND_release. When
+ ref_count drops down to number of references owned by current thread
+ waiting is completed.
+
+ Unfortunately TABLE_SHARE::wait_for_old_version() cannot be used here
+ because it waits for all table instances, whereas we have to wait only
+ for those that are not owned by current thread.
+ */
+ mysql_mutex_lock(&share->tdc.LOCK_table_share);
+ while (share->tdc.ref_count > my_refs)
+ mysql_cond_wait(&share->tdc.COND_release, &share->tdc.LOCK_table_share);
+ mysql_mutex_unlock(&share->tdc.LOCK_table_share);
+ }
- /* Wait for concurrent threads to free unused objects. */
- mysql_rwlock_wrlock(&LOCK_flush);
- mysql_rwlock_unlock(&LOCK_flush);
+ tdc_release_share(share);
found= true;
}
@@ -1026,14 +1077,15 @@ bool tdc_remove_table(THD *thd, enum_tdc_remove_table_type remove_type,
*/
int tdc_wait_for_old_version(THD *thd, const char *db, const char *table_name,
- ulong wait_timeout, uint deadlock_weight)
+ ulong wait_timeout, uint deadlock_weight,
+ ulong refresh_version)
{
TABLE_SHARE *share;
int res= FALSE;
if ((share= tdc_lock_share(db, table_name)))
{
- if (share->has_old_version())
+ if (share->tdc.flushed && refresh_version > share->tdc.version)
{
struct timespec abstime;
set_timespec(abstime, wait_timeout);
@@ -1050,21 +1102,18 @@ ulong tdc_refresh_version(void)
{
my_atomic_rwlock_rdlock(&LOCK_tdc_atomics);
ulong v= my_atomic_load64(&tdc_version);
- my_atomic_rwlock_wrunlock(&LOCK_tdc_atomics);
+ my_atomic_rwlock_rdunlock(&LOCK_tdc_atomics);
return v;
}
-void tdc_increment_refresh_version(void)
+ulong tdc_increment_refresh_version(void)
{
my_atomic_rwlock_wrlock(&LOCK_tdc_atomics);
-#ifndef DBUG_OFF
ulong v= my_atomic_add64(&tdc_version, 1);
-#else
- my_atomic_add64(&tdc_version, 1);
-#endif
my_atomic_rwlock_wrunlock(&LOCK_tdc_atomics);
DBUG_PRINT("tcache", ("incremented global refresh_version to: %lu", v));
+ return v + 1;
}
diff --git a/sql/table_cache.h b/sql/table_cache.h
index 7b7fb239131..ea3822f9f68 100644
--- a/sql/table_cache.h
+++ b/sql/table_cache.h
@@ -26,7 +26,6 @@ enum enum_tdc_remove_table_type
extern ulong tdc_size;
extern ulong tc_size;
-extern mysql_mutex_t LOCK_open; /* FIXME: make private */
extern int tdc_init(void);
extern void tdc_start_shutdown(void);
@@ -40,6 +39,7 @@ extern void tdc_unlock_share(TABLE_SHARE *share);
extern TABLE_SHARE *tdc_acquire_share(THD *thd, const char *db,
const char *table_name,
const char *key, uint key_length,
+ my_hash_value_type hash_value,
uint flags, TABLE **out_table);
extern void tdc_release_share(TABLE_SHARE *share);
extern bool tdc_remove_table(THD *thd, enum_tdc_remove_table_type remove_type,
@@ -47,13 +47,14 @@ extern bool tdc_remove_table(THD *thd, enum_tdc_remove_table_type remove_type,
bool kill_delayed_threads);
extern int tdc_wait_for_old_version(THD *thd, const char *db,
const char *table_name,
- ulong wait_timeout, uint deadlock_weight);
+ ulong wait_timeout, uint deadlock_weight,
+ ulong refresh_version= ULONG_MAX);
extern ulong tdc_refresh_version(void);
-extern void tdc_increment_refresh_version(void);
+extern ulong tdc_increment_refresh_version(void);
extern void tdc_assign_new_table_id(TABLE_SHARE *share);
extern uint tc_records(void);
-extern void tc_purge(void);
+extern void tc_purge(bool mark_flushed= false);
extern void tc_add_table(THD *thd, TABLE *table);
extern bool tc_release_table(TABLE *table);
@@ -87,7 +88,9 @@ static inline TABLE_SHARE *tdc_acquire_share(THD *thd, const char *db,
const char *key,
uint key_length, uint flags)
{
- return tdc_acquire_share(thd, db, table_name, key, key_length, flags, 0);
+ return tdc_acquire_share(thd, db, table_name, key, key_length,
+ my_hash_sort(&my_charset_bin, (uchar*) key,
+ key_length), flags, 0);
}
@@ -119,7 +122,8 @@ static inline TABLE_SHARE *tdc_acquire_share_shortlived(THD *thd, TABLE_LIST *tl
{
const char *key;
uint key_length= get_table_def_key(tl, &key);
- return tdc_acquire_share(thd, tl->db, tl->table_name, key, key_length, flags);
+ return tdc_acquire_share(thd, tl->db, tl->table_name, key, key_length,
+ tl->mdl_request.key.tc_hash_value(), flags, 0);
}
diff --git a/sql/threadpool_unix.cc b/sql/threadpool_unix.cc
index f0454cfedb0..68c032fb67b 100644
--- a/sql/threadpool_unix.cc
+++ b/sql/threadpool_unix.cc
@@ -19,6 +19,9 @@
#include <sql_class.h>
#include <my_pthread.h>
#include <scheduler.h>
+
+#ifdef HAVE_POOL_OF_THREADS
+
#include <sql_connect.h>
#include <mysqld.h>
#include <debug_sync.h>
@@ -1678,3 +1681,5 @@ static void print_pool_blocked_message(bool max_threads_reached)
msg_written= true;
}
}
+
+#endif /* HAVE_POOL_OF_THREADS */
diff --git a/sql/transaction.cc b/sql/transaction.cc
index 256351ee373..3575ff52e66 100644
--- a/sql/transaction.cc
+++ b/sql/transaction.cc
@@ -138,7 +138,7 @@ bool trans_begin(THD *thd, uint flags)
thd->server_status&=
~(SERVER_STATUS_IN_TRANS | SERVER_STATUS_IN_TRANS_READONLY);
DBUG_PRINT("info", ("clearing SERVER_STATUS_IN_TRANS"));
- res= test(ha_commit_trans(thd, TRUE));
+ res= MY_TEST(ha_commit_trans(thd, TRUE));
}
thd->variables.option_bits&= ~(OPTION_BEGIN | OPTION_KEEP_LOG);
@@ -172,7 +172,7 @@ bool trans_begin(THD *thd, uint flags)
compatibility.
*/
const bool user_is_super=
- test(thd->security_ctx->master_access & SUPER_ACL);
+ MY_TEST(thd->security_ctx->master_access & SUPER_ACL);
if (opt_readonly && !user_is_super)
{
my_error(ER_OPTION_PREVENTS_STATEMENT, MYF(0), "--read-only");
@@ -191,7 +191,7 @@ bool trans_begin(THD *thd, uint flags)
if (flags & MYSQL_START_TRANS_OPT_WITH_CONS_SNAPSHOT)
res= ha_start_consistent_snapshot(thd);
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
@@ -228,7 +228,7 @@ bool trans_commit(THD *thd)
thd->transaction.all.modified_non_trans_table= FALSE;
thd->lex->start_transaction_opt= 0;
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
@@ -251,6 +251,10 @@ bool trans_commit_implicit(THD *thd)
if (trans_check(thd))
DBUG_RETURN(TRUE);
+ if (thd->variables.option_bits & OPTION_GTID_BEGIN)
+ DBUG_PRINT("error", ("OPTION_GTID_BEGIN is set. "
+ "Master and slave will have different GTID values"));
+
if (thd->in_multi_stmt_transaction_mode() ||
(thd->variables.option_bits & OPTION_TABLE_LOCK))
{
@@ -260,7 +264,7 @@ bool trans_commit_implicit(THD *thd)
thd->server_status&=
~(SERVER_STATUS_IN_TRANS | SERVER_STATUS_IN_TRANS_READONLY);
DBUG_PRINT("info", ("clearing SERVER_STATUS_IN_TRANS"));
- res= test(ha_commit_trans(thd, TRUE));
+ res= MY_TEST(ha_commit_trans(thd, TRUE));
}
thd->variables.option_bits&= ~(OPTION_BEGIN | OPTION_KEEP_LOG);
@@ -302,10 +306,12 @@ bool trans_rollback(THD *thd)
res= ha_rollback_trans(thd, TRUE);
(void) RUN_HOOK(transaction, after_rollback, (thd, FALSE));
thd->variables.option_bits&= ~(OPTION_BEGIN | OPTION_KEEP_LOG);
+ /* Reset the binlog transaction marker */
+ thd->variables.option_bits&= ~OPTION_GTID_BEGIN;
thd->transaction.all.modified_non_trans_table= FALSE;
thd->lex->start_transaction_opt= 0;
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
@@ -351,7 +357,7 @@ bool trans_rollback_implicit(THD *thd)
/* Rollback should clear transaction_rollback_request flag. */
DBUG_ASSERT(! thd->transaction_rollback_request);
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
@@ -403,7 +409,7 @@ bool trans_commit_stmt(THD *thd)
thd->transaction.stmt.reset();
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
@@ -589,7 +595,7 @@ bool trans_rollback_to_savepoint(THD *thd, LEX_STRING name)
if (!res && !binlog_on)
thd->mdl_context.rollback_to_savepoint(sv->mdl_savepoint);
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
@@ -624,7 +630,7 @@ bool trans_release_savepoint(THD *thd, LEX_STRING name)
thd->transaction.savepoints= sv->prev;
- DBUG_RETURN(test(res));
+ DBUG_RETURN(MY_TEST(res));
}
@@ -788,7 +794,7 @@ bool trans_xa_commit(THD *thd)
else if (xa_state == XA_IDLE && thd->lex->xa_opt == XA_ONE_PHASE)
{
int r= ha_commit_trans(thd, TRUE);
- if ((res= test(r)))
+ if ((res= MY_TEST(r)))
my_error(r == 1 ? ER_XA_RBROLLBACK : ER_XAER_RMERR, MYF(0));
}
else if (xa_state == XA_PREPARED && thd->lex->xa_opt == XA_NONE)
@@ -815,7 +821,7 @@ bool trans_xa_commit(THD *thd)
{
DEBUG_SYNC(thd, "trans_xa_commit_after_acquire_commit_lock");
- res= test(ha_commit_one_phase(thd, 1));
+ res= MY_TEST(ha_commit_one_phase(thd, 1));
if (res)
my_error(ER_XAER_RMERR, MYF(0));
}
diff --git a/sql/transaction.h b/sql/transaction.h
index abe7823cf9b..54b25f1de2a 100644
--- a/sql/transaction.h
+++ b/sql/transaction.h
@@ -1,5 +1,4 @@
-/* Copyright (c) 2008 MySQL AB, 2009 Sun Microsystems, Inc.
- Use is subject to license terms.
+/* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/tztime.cc b/sql/tztime.cc
index 94fcfc7bfcf..b0c5a0830fc 100644
--- a/sql/tztime.cc
+++ b/sql/tztime.cc
@@ -2822,7 +2822,7 @@ main(int argc, char **argv)
if (TYPE_SIGNED(time_t))
{
t= -100;
- localtime_negative= test(localtime_r(&t, &tmp) != 0);
+ localtime_negative= MY_TEST(localtime_r(&t, &tmp) != 0);
printf("localtime_r %s negative params \
(time_t=%d is %d-%d-%d %d:%d:%d)\n",
(localtime_negative ? "supports" : "doesn't support"), (int)t,
diff --git a/sql/uniques.cc b/sql/uniques.cc
index 0c1c34d495b..0990182dbdb 100644
--- a/sql/uniques.cc
+++ b/sql/uniques.cc
@@ -86,7 +86,7 @@ Unique::Unique(qsort_cmp2 comp_func, void * comp_func_fixed_arg,
full_size= size;
if (min_dupl_count_arg)
full_size+= sizeof(element_count);
- with_counters= test(min_dupl_count_arg);
+ with_counters= MY_TEST(min_dupl_count_arg);
my_b_clear(&file);
init_tree(&tree, (ulong) (max_in_memory_size / 16), 0, size, comp_func,
NULL, comp_func_fixed_arg, MYF(MY_THREAD_SPECIFIC));
diff --git a/sql/unireg.cc b/sql/unireg.cc
index 7bb943dc9b0..aeeba6f4f85 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -40,7 +40,7 @@
#define ALLOCA_THRESHOLD 2048
static uint pack_keys(uchar *,uint, KEY *, ulong);
-static bool pack_header(uchar *, List<Create_field> &, uint, ulong, handler *);
+static bool pack_header(THD *, uchar *, List<Create_field> &, uint, ulong, handler *);
static uint get_interval_id(uint *,List<Create_field> &, Create_field *);
static bool pack_fields(uchar *, List<Create_field> &, ulong);
static size_t packed_fields_length(List<Create_field> &);
@@ -99,7 +99,7 @@ LEX_CUSTRING build_frm_image(THD *thd, const char *table,
uint keys, KEY *key_info, handler *db_file)
{
LEX_STRING str_db_type;
- uint reclength, key_info_length, tmp_len, i;
+ uint reclength, key_info_length, i;
ulong key_buff_length;
ulong filepos, data_offset;
uint options_len;
@@ -115,7 +115,7 @@ LEX_CUSTRING build_frm_image(THD *thd, const char *table,
create_info->null_bits++;
data_offset= (create_info->null_bits + 7) / 8;
- error= pack_header(forminfo, create_fields, create_info->table_options,
+ error= pack_header(thd, forminfo, create_fields, create_info->table_options,
data_offset, db_file);
if (error)
@@ -150,51 +150,9 @@ LEX_CUSTRING build_frm_image(THD *thd, const char *table,
keys, key_info);
DBUG_PRINT("info", ("Options length: %u", options_len));
- /*
- This gives us the byte-position of the character at
- (character-position, not byte-position) TABLE_COMMENT_MAXLEN.
- The trick here is that character-positions start at 0, so the last
- character in a maximum-allowed length string would be at char-pos
- MAXLEN-1; charpos MAXLEN will be the position of the terminator.
- Consequently, bytepos(charpos(MAXLEN)) should be equal to
- comment[length] (which should also be the terminator, or at least
- the first byte after the payload in the strict sense). If this is
- not so (bytepos(charpos(MAXLEN)) comes /before/ the end of the
- string), the string is too long.
-
- For additional credit, realise that UTF-8 has 1-3 bytes before 6.0,
- and 1-4 bytes in 6.0 (6.0 also has UTF-32).
- */
- tmp_len= system_charset_info->cset->charpos(system_charset_info,
- create_info->comment.str,
- create_info->comment.str +
- create_info->comment.length,
- TABLE_COMMENT_MAXLEN);
-
- if (tmp_len < create_info->comment.length)
- {
- char *real_table_name= (char*) table;
- List_iterator<Create_field> it(create_fields);
- Create_field *field;
- while ((field=it++))
- {
- if (field->field && field->field->table &&
- (real_table_name= field->field->table->s->table_name.str))
- break;
- }
- if (thd->is_strict_mode())
- {
- my_error(ER_TOO_LONG_TABLE_COMMENT, MYF(0),
- real_table_name, TABLE_COMMENT_MAXLEN);
- DBUG_RETURN(frm);
- }
- char warn_buff[MYSQL_ERRMSG_SIZE];
- my_snprintf(warn_buff, sizeof(warn_buff), ER(ER_TOO_LONG_TABLE_COMMENT),
- real_table_name, TABLE_COMMENT_MAXLEN);
- push_warning(current_thd, Sql_condition::WARN_LEVEL_WARN,
- ER_TOO_LONG_TABLE_COMMENT, warn_buff);
- create_info->comment.length= tmp_len;
- }
+ if (validate_comment_length(thd, &create_info->comment, TABLE_COMMENT_MAXLEN,
+ ER_TOO_LONG_TABLE_COMMENT, table))
+ DBUG_RETURN(frm);
/*
If table comment is longer than TABLE_COMMENT_INLINE_MAXLEN bytes,
store the comment in an extra segment (up to TABLE_COMMENT_MAXLEN bytes).
@@ -280,8 +238,8 @@ LEX_CUSTRING build_frm_image(THD *thd, const char *table,
int2store(forminfo+2, frm.length - filepos);
int4store(fileinfo+10, frm.length);
- fileinfo[26]= (uchar) test((create_info->max_rows == 1) &&
- (create_info->min_rows == 1) && (keys == 0));
+ fileinfo[26]= (uchar) MY_TEST((create_info->max_rows == 1) &&
+ (create_info->min_rows == 1) && (keys == 0));
int2store(fileinfo+28,key_info_length);
if (part_info)
@@ -505,7 +463,8 @@ static uint pack_keys(uchar *keybuff, uint key_count, KEY *keyinfo,
/* Make formheader */
-static bool pack_header(uchar *forminfo, List<Create_field> &create_fields,
+static bool pack_header(THD *thd, uchar *forminfo,
+ List<Create_field> &create_fields,
uint table_options, ulong data_offset, handler *file)
{
uint length,int_count,int_length,no_empty, int_parts;
@@ -530,32 +489,18 @@ static bool pack_header(uchar *forminfo, List<Create_field> &create_fields,
Create_field *field;
while ((field=it++))
{
- uint tmp_len= system_charset_info->cset->charpos(system_charset_info,
- field->comment.str,
- field->comment.str +
- field->comment.length,
- COLUMN_COMMENT_MAXLEN);
- if (tmp_len < field->comment.length)
- {
- myf myf_warning= current_thd->is_strict_mode() ? 0 : ME_JUST_WARNING;
-
- my_error(ER_TOO_LONG_FIELD_COMMENT, myf_warning, field->field_name,
- COLUMN_COMMENT_MAXLEN);
+ if (validate_comment_length(thd, &field->comment, COLUMN_COMMENT_MAXLEN,
+ ER_TOO_LONG_FIELD_COMMENT, field->field_name))
+ DBUG_RETURN(1);
- if (!myf_warning)
- DBUG_RETURN(1);
-
- field->comment.length= tmp_len;
- }
if (field->vcol_info)
{
uint col_expr_maxlen= field->virtual_col_expr_maxlen();
- tmp_len=
- system_charset_info->cset->charpos(system_charset_info,
- field->vcol_info->expr_str.str,
- field->vcol_info->expr_str.str +
- field->vcol_info->expr_str.length,
- col_expr_maxlen);
+ uint tmp_len= my_charpos(system_charset_info,
+ field->vcol_info->expr_str.str,
+ field->vcol_info->expr_str.str +
+ field->vcol_info->expr_str.length,
+ col_expr_maxlen);
if (tmp_len < field->vcol_info->expr_str.length)
{
@@ -898,7 +843,7 @@ static bool pack_fields(uchar *buff, List<Create_field> &create_fields,
*/
if (field->vcol_info && field->vcol_info->expr_str.length)
{
- *buff++= (uchar)(1 + test(field->interval));
+ *buff++= (uchar) (1 + MY_TEST(field->interval));
*buff++= (uchar) field->sql_type;
*buff++= (uchar) field->stored_in_db;
if (field->interval)
diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc
index b30f1339510..3625df73c4f 100644
--- a/storage/archive/ha_archive.cc
+++ b/storage/archive/ha_archive.cc
@@ -104,7 +104,6 @@
>5.1.15 - v.3
*/
-
/* The file extension */
#define ARZ ".ARZ" // The data file
#define ARN ".ARN" // Files used during an optimize call
@@ -171,14 +170,14 @@ static void init_archive_psi_keys(void)
const char* category= "archive";
int count;
- if (PSI_server == NULL)
+ if (!PSI_server)
return;
-
+
count= array_elements(all_archive_mutexes);
- PSI_server->register_mutex(category, all_archive_mutexes, count);
+ mysql_mutex_register(category, all_archive_mutexes, count);
count= array_elements(all_archive_files);
- PSI_server->register_file(category, all_archive_files, count);
+ mysql_file_register(category, all_archive_files, count);
}
#endif /* HAVE_PSI_INTERFACE */
@@ -765,7 +764,10 @@ int ha_archive::create(const char *name, TABLE *table_arg,
/*
We reuse name_buff since it is available.
*/
- if (create_info->data_file_name && create_info->data_file_name[0] != '#')
+#ifdef HAVE_READLINK
+ if (my_use_symdir &&
+ create_info->data_file_name &&
+ create_info->data_file_name[0] != '#')
{
DBUG_PRINT("ha_archive", ("archive will create stream file %s",
create_info->data_file_name));
@@ -776,12 +778,20 @@ int ha_archive::create(const char *name, TABLE *table_arg,
MY_REPLACE_EXT | MY_UNPACK_FILENAME);
}
else
+#endif /* HAVE_READLINK */
{
+ if (create_info->data_file_name)
+ my_error(WARN_OPTION_IGNORED, MYF(ME_JUST_WARNING), "DATA DIRECTORY");
+
fn_format(name_buff, name, "", ARZ,
MY_REPLACE_EXT | MY_UNPACK_FILENAME);
linkname[0]= 0;
}
+ /* Archive engine never uses INDEX DIRECTORY. */
+ if (create_info->index_file_name)
+ my_error(WARN_OPTION_IGNORED, MYF(ME_JUST_WARNING), "INDEX DIRECTORY");
+
/*
There is a chance that the file was "discovered". In this case
just use whatever file is there.
diff --git a/storage/cassandra/ha_cassandra.cc b/storage/cassandra/ha_cassandra.cc
index 3fbe1834f89..7e2d7efe87d 100644
--- a/storage/cassandra/ha_cassandra.cc
+++ b/storage/cassandra/ha_cassandra.cc
@@ -1925,16 +1925,9 @@ int ha_cassandra::write_dynamic_row(uint count,
void ha_cassandra::free_dynamic_row(DYNAMIC_COLUMN_VALUE **vals,
LEX_STRING **names)
{
- if (*vals)
- {
- my_free(*vals);
- *vals= 0;
- }
- if (*names)
- {
- my_free(*names);
- *names= 0;
- }
+ mariadb_dyncol_unpack_free(*names, *vals);
+ *vals= 0;
+ *names= 0;
}
int ha_cassandra::write_row(uchar *buf)
diff --git a/storage/connect/csort.cpp b/storage/connect/csort.cpp
index 4a49666c914..2f918782c80 100644
--- a/storage/connect/csort.cpp
+++ b/storage/connect/csort.cpp
@@ -295,7 +295,7 @@ int CSORT::Qsortx(void)
/*****************************************************************/
/* Call conservative insertion sort not using/setting offset. */
/*****************************************************************/
- Istc(Pex, Pex + min(Nitem, Thresh), top);
+ Istc(Pex, Pex + MY_MIN(Nitem, Thresh), top);
} // endif Thresh
@@ -669,7 +669,7 @@ int CSORT::Qsortc(void)
/*****************************************************************/
/* Call conservative insertion sort not using/setting offset. */
/*****************************************************************/
- Istc(Pex, Pex + min(Nitem, Thresh), max);
+ Istc(Pex, Pex + MY_MIN(Nitem, Thresh), max);
} // endif Thresh
diff --git a/storage/connect/domdoc.cpp b/storage/connect/domdoc.cpp
index 251b4f17982..518c806c653 100644
--- a/storage/connect/domdoc.cpp
+++ b/storage/connect/domdoc.cpp
@@ -416,18 +416,24 @@ PXLIST DOMNODE::SelectNodes(PGLOBAL g, char *xp, PXLIST lp)
/******************************************************************/
PXNODE DOMNODE::SelectSingleNode(PGLOBAL g, char *xp, PXNODE np)
{
- MSXML2::IXMLDOMNodePtr dnp = Nodep->selectSingleNode(xp);
+ try {
+ MSXML2::IXMLDOMNodePtr dnp = Nodep->selectSingleNode(xp);
- if (dnp) {
- if (np) {
- ((PDOMNODE)np)->Nodep = dnp;
- return np;
- } else
- return new(g) DOMNODE(Doc, dnp);
+ if (dnp) {
+ if (np) {
+ ((PDOMNODE)np)->Nodep = dnp;
+ return np;
+ } else
+ return new(g) DOMNODE(Doc, dnp);
- } else
- return NULL;
+ } // endif dnp
+
+ } catch(_com_error e) {
+ sprintf(g->Message, "%s: %s", MSG(COM_ERROR),
+ _com_util::ConvertBSTRToString(e.Description()));
+ } catch(...) {}
+ return NULL;
} // end of SelectSingleNode
/******************************************************************/
diff --git a/storage/connect/filamfix.cpp b/storage/connect/filamfix.cpp
index 50c5dd9ede1..df76ca82b18 100644
--- a/storage/connect/filamfix.cpp
+++ b/storage/connect/filamfix.cpp
@@ -487,7 +487,7 @@ bool FIXFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
return true;
} // endif
- req = (size_t)min(n, Dbflen);
+ req = (size_t)MY_MIN(n, Dbflen);
len = fread(DelBuf, Lrecl, req, Stream);
if (trace > 1)
@@ -1345,7 +1345,7 @@ bool BGXFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
if (BigSeek(g, Hfile, (BIGINT)Spos * (BIGINT)Lrecl))
return true;
- req = min(n, Dbflen) * Lrecl;
+ req = MY_MIN(n, Dbflen) * Lrecl;
if ((nbr = BigRead(g, Hfile, DelBuf, req)) != req) {
sprintf(g->Message, MSG(DEL_READ_ERROR), req, nbr);
diff --git a/storage/connect/filamtxt.cpp b/storage/connect/filamtxt.cpp
index 94e42dbb62c..60a9f944415 100644
--- a/storage/connect/filamtxt.cpp
+++ b/storage/connect/filamtxt.cpp
@@ -883,7 +883,7 @@ bool DOSFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
return true;
} // endif
- req = (size_t)min(n, Dbflen);
+ req = (size_t)MY_MIN(n, Dbflen);
len = fread(DelBuf, 1, req, Stream);
if (trace)
diff --git a/storage/connect/filamvct.cpp b/storage/connect/filamvct.cpp
index d92c9c3a946..b07ae8a2213 100755
--- a/storage/connect/filamvct.cpp
+++ b/storage/connect/filamvct.cpp
@@ -497,7 +497,7 @@ bool VCTFAM::AllocateBuffer(PGLOBAL g)
Clens[i] = cdp->GetClen();
Deplac[i] = Headlen + cdp->GetPoff() * n * Nrec;
Isnum[i] = IsTypeNum(cdp->GetType());
- Buflen = max(Buflen, cdp->GetClen());
+ Buflen = MY_MAX(Buflen, cdp->GetClen());
} // endfor cdp
if (!UseTemp || MaxBlk) {
@@ -884,9 +884,9 @@ bool VCTFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
/* Non consecutive line to delete. Move intermediate lines. */
/*******************************************************************/
if (!MaxBlk)
- req = (size_t)min(n, Nrec - max(Spos % Nrec, Tpos % Nrec));
+ req = (size_t)MY_MIN(n, Nrec - MY_MAX(Spos % Nrec, Tpos % Nrec));
else
- req = (size_t)min(n, Nrec);
+ req = (size_t)MY_MIN(n, Nrec);
if (req) for (i = 0; i < Ncol; i++) {
if (MaxBlk) {
@@ -1017,7 +1017,7 @@ bool VCTFAM::CleanUnusedSpace(PGLOBAL g)
/* Note: this seems to work even column blocks have been made */
/* with Blanks = true. Perhaps should it be set to false for VEC. */
/*******************************************************************/
- req = (size_t)min(n, Nrec);
+ req = (size_t)MY_MIN(n, Nrec);
memset(To_Buf, 0, Buflen);
for (i = 0; i < Ncol; i++) {
@@ -1606,7 +1606,7 @@ int VCMFAM::DeleteRecords(PGLOBAL g, int irc)
for (n = Fpos - Spos; n > 0; n -= req) {
soff = Spos % Nrec;
toff = Tpos % Nrec;
- req = (size_t)min(n, Nrec - max(soff, toff));
+ req = (size_t)MY_MIN(n, Nrec - MY_MAX(soff, toff));
for (i = 0; i < Ncol; i++) {
ps = Memcol[i] + (Spos / Nrec) * Blksize + soff * Clens[i];
@@ -2037,7 +2037,7 @@ bool VECFAM::AllocateBuffer(PGLOBAL g)
for (i = 0; cdp && i < Ncol; i++, cdp = cdp->GetNext()) {
Clens[i] = cdp->GetClen();
- Buflen = max(Buflen, cdp->GetClen());
+ Buflen = MY_MAX(Buflen, cdp->GetClen());
} // endfor cdp
} else { // Mode Update, only some columns are updated
@@ -2048,7 +2048,7 @@ bool VECFAM::AllocateBuffer(PGLOBAL g)
T_Streams[i] = NULL; // Mark the streams to open
Clens[i] = cp->Clen;
- Buflen = max(Buflen, cp->Clen);
+ Buflen = MY_MAX(Buflen, cp->Clen);
} // endfor cp
InitUpdate = true; // To be initialized
@@ -2329,7 +2329,7 @@ bool VECFAM::MoveIntermediateLines(PGLOBAL g, bool *bn)
/*******************************************************************/
/* Non consecutive line to delete. Move intermediate lines. */
/*******************************************************************/
- req = (size_t)min(n, Nrec);
+ req = (size_t)MY_MIN(n, Nrec);
for (i = 0; i < Ncol; i++) {
if (!T_Streams[i])
@@ -3635,7 +3635,7 @@ bool BGVFAM::AllocateBuffer(PGLOBAL g)
Clens[i] = cdp->GetClen();
Isnum[i] = IsTypeNum(cdp->GetType());
- Buflen = max(Buflen, cdp->GetClen());
+ Buflen = MY_MAX(Buflen, cdp->GetClen());
} // endfor cdp
if (!UseTemp || MaxBlk) {
@@ -3939,9 +3939,9 @@ bool BGVFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
/* Non consecutive line to delete. Move intermediate lines. */
/*******************************************************************/
if (!MaxBlk)
- req = (DWORD)min(n, Nrec - max(Spos % Nrec, Tpos % Nrec));
+ req = (DWORD)MY_MIN(n, Nrec - MY_MAX(Spos % Nrec, Tpos % Nrec));
else
- req = (DWORD)min(n, Nrec);
+ req = (DWORD)MY_MIN(n, Nrec);
if (req) for (i = 0; i < Ncol; i++) {
if (!MaxBlk) {
@@ -4048,7 +4048,7 @@ bool BGVFAM::CleanUnusedSpace(PGLOBAL g)
/* This seems to work even column blocks have been made with */
/* Blanks = true. Perhaps should it be set to false for VEC. */
/*****************************************************************/
- req = min(n, Nrec);
+ req = MY_MIN(n, Nrec);
for (i = 0; i < Ncol; i++) {
pos = BigDep[i] + (BIGINT)Tpos * (BIGINT)Clens[i];
diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc
index 2a3f83c10d6..32caa185140 100644
--- a/storage/connect/ha_connect.cc
+++ b/storage/connect/ha_connect.cc
@@ -639,7 +639,7 @@ TABTYPE ha_connect::GetRealType(PTOS pos)
{
TABTYPE type;
- if (pos || (pos= GetTableOptionStruct(table))) {
+ if (pos || (pos= GetTableOptionStruct())) {
type= GetTypeID(pos->type);
if (type == TAB_UNDEF)
@@ -652,6 +652,50 @@ TABTYPE ha_connect::GetRealType(PTOS pos)
} // end of GetRealType
/** @brief
+ The name of the index type that will be used for display.
+ Don't implement this method unless you really have indexes.
+ */
+const char *ha_connect::index_type(uint inx)
+{
+ switch (GetIndexType(GetRealType())) {
+ case 1: return "XPLUG";
+ case 2: return "REMOTE";
+ } // endswitch
+
+ return "Unknown";
+} // end of index_type
+
+/** @brief
+ This is a bitmap of flags that indicates how the storage engine
+ implements indexes. The current index flags are documented in
+ handler.h. If you do not implement indexes, just return zero here.
+
+ @details
+ part is the key part to check. First key part is 0.
+ If all_parts is set, MySQL wants to know the flags for the combined
+ index, up to and including 'part'.
+*/
+ulong ha_connect::index_flags(uint inx, uint part, bool all_parts) const
+{
+ ulong flags= HA_READ_NEXT | HA_READ_RANGE |
+ HA_KEYREAD_ONLY | HA_KEY_SCAN_NOT_ROR;
+ ha_connect *hp= (ha_connect*)this;
+ PTOS pos= hp->GetTableOptionStruct();
+
+ if (pos) {
+ TABTYPE type= hp->GetRealType(pos);
+
+ switch (GetIndexType(type)) {
+ case 1: flags|= (HA_READ_ORDER | HA_READ_PREV); break;
+ case 2: flags|= HA_READ_AFTER_KEY; break;
+ } // endswitch
+
+ } // endif pos
+
+ return flags;
+} // end of index_flags
+
+/** @brief
This is a list of flags that indicate what functionality the storage
engine implements. The current table flags are documented in handler.h
*/
@@ -659,14 +703,14 @@ ulonglong ha_connect::table_flags() const
{
ulonglong flags= HA_CAN_VIRTUAL_COLUMNS | HA_REC_NOT_IN_SEQ |
HA_NO_AUTO_INCREMENT | HA_NO_PREFIX_CHAR_KEYS |
-// HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE |
+ HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE |
HA_PARTIAL_COLUMN_READ | HA_FILE_BASED |
// HA_NULL_IN_KEY | not implemented yet
// HA_FAST_KEY_READ | causes error when sorting (???)
HA_NO_TRANSACTIONS | HA_DUPLICATE_KEY_NOT_IN_ORDER |
HA_NO_BLOBS | HA_MUST_USE_TABLE_CONDITION_PUSHDOWN;
ha_connect *hp= (ha_connect*)this;
- PTOS pos= hp->GetTableOptionStruct(table);
+ PTOS pos= hp->GetTableOptionStruct();
if (pos) {
TABTYPE type= hp->GetRealType(pos);
@@ -716,7 +760,7 @@ char *GetListOption(PGLOBAL g, const char *opname,
} else {
if (pn) {
- n= min(pn - pk, 15);
+ n= MY_MIN(pn - pk, 15);
memcpy(key, pk, n);
key[n]= 0;
} else
@@ -740,10 +784,11 @@ char *GetListOption(PGLOBAL g, const char *opname,
/****************************************************************************/
/* Return the table option structure. */
/****************************************************************************/
-PTOS ha_connect::GetTableOptionStruct(TABLE *tab)
+PTOS ha_connect::GetTableOptionStruct(TABLE_SHARE *s)
{
- return (tshp) ? tshp->option_struct :
- (tab) ? tab->s->option_struct : NULL;
+ TABLE_SHARE *tsp= (tshp) ? tshp : (s) ? s : table_share;
+
+ return (tsp) ? tsp->option_struct : NULL;
} // end of GetTableOptionStruct
/****************************************************************************/
@@ -752,7 +797,7 @@ PTOS ha_connect::GetTableOptionStruct(TABLE *tab)
char *ha_connect::GetStringOption(char *opname, char *sdef)
{
char *opval= NULL;
- PTOS options= GetTableOptionStruct(table);
+ PTOS options= GetTableOptionStruct();
if (!options)
;
@@ -824,10 +869,10 @@ bool ha_connect::GetBooleanOption(char *opname, bool bdef)
{
bool opval= bdef;
char *pv;
- PTOS options= GetTableOptionStruct(table);
+ PTOS options= GetTableOptionStruct();
if (!stricmp(opname, "View"))
- opval= (tshp) ? tshp->is_view : table->s->is_view;
+ opval= (tshp) ? tshp->is_view : table_share->is_view;
else if (!options)
;
else if (!stricmp(opname, "Mapped"))
@@ -855,7 +900,7 @@ bool ha_connect::GetBooleanOption(char *opname, bool bdef)
/****************************************************************************/
bool ha_connect::SetBooleanOption(char *opname, bool b)
{
- PTOS options= GetTableOptionStruct(table);
+ PTOS options= GetTableOptionStruct();
if (!options)
return true;
@@ -875,7 +920,7 @@ int ha_connect::GetIntegerOption(char *opname)
{
ulonglong opval= NO_IVAL;
char *pv;
- PTOS options= GetTableOptionStruct(table);
+ PTOS options= GetTableOptionStruct();
if (!options)
;
@@ -912,7 +957,7 @@ int ha_connect::GetIntegerOption(char *opname)
/****************************************************************************/
bool ha_connect::SetIntegerOption(char *opname, int n)
{
- PTOS options= GetTableOptionStruct(table);
+ PTOS options= GetTableOptionStruct();
if (!options)
return true;
@@ -1034,7 +1079,7 @@ void *ha_connect::GetColumnOption(PGLOBAL g, void *field, PCOLINFO pcf)
break;
case TYPE_DOUBLE:
- pcf->Scale= max(min(fp->decimals(), ((unsigned)pcf->Length - 2)), 0);
+ pcf->Scale= MY_MAX(MY_MIN(fp->decimals(), ((unsigned)pcf->Length - 2)), 0);
break;
case TYPE_DECIM:
pcf->Precision= ((Field_new_decimal*)fp)->precision;
@@ -1178,7 +1223,7 @@ const char *ha_connect::GetDBName(const char* name)
const char *ha_connect::GetTableName(void)
{
- return (tshp) ? tshp->table_name.str : table->s->table_name.str;
+ return (tshp) ? tshp->table_name.str : table_share->table_name.str;
} // end of GetTableName
#if 0
@@ -1668,7 +1713,7 @@ bool ha_connect::MakeKeyWhere(PGLOBAL g, char *qry, OPVAL op, char *q,
for (kpart= kfp->key_part; rem; rem--, kpart++) {
fp= kpart->field;
stlen= kpart->store_length;
-// prtlen= min(stlen, len);
+// prtlen= MY_MIN(stlen, len);
nq= fp->str_needs_quotes();
if (b)
@@ -1717,7 +1762,7 @@ bool ha_connect::MakeKeyWhere(PGLOBAL g, char *qry, OPVAL op, char *q,
/* For nullable columns, null-byte is already skipped before, that is
ptr was incremented by 1. Since store_length still counts null-byte,
we need to subtract 1 from store_length. */
- ptr+= stlen - test(kpart->null_bit);
+ ptr+= stlen - MY_TEST(kpart->null_bit);
} // endfor kpart
strcat(qry, ")");
@@ -3159,8 +3204,8 @@ int ha_connect::info(uint flag)
if (flag & HA_STATUS_CONST) {
// This is imported from the previous handler and must be reconsidered
- stats.max_data_file_length= 4294967295;
- stats.max_index_file_length= 4398046510080;
+ stats.max_data_file_length= 4294967295LL;
+ stats.max_index_file_length= 4398046510080LL;
stats.create_time= 0;
data_file_name= xinfo.data_file_name;
index_file_name= NULL;
@@ -3527,7 +3572,7 @@ int ha_connect::external_lock(THD *thd, int lock_type)
int rc= 0;
bool xcheck=false, cras= false;
MODE newmode;
- PTOS options= GetTableOptionStruct(table);
+ PTOS options= GetTableOptionStruct();
PGLOBAL g= GetPlug(thd, xp);
DBUG_ENTER("ha_connect::external_lock");
@@ -4141,11 +4186,11 @@ static bool add_field(String *sql, const char *field_name, int typ,
if (!strcmp(type, "DOUBLE")) {
error|= sql->append(',');
// dec must be < len and < 31
- error|= sql->append_ulonglong(min(dec, (min(len, 31) - 1)));
+ error|= sql->append_ulonglong(MY_MIN(dec, (MY_MIN(len, 31) - 1)));
} else if (dec > 0 && !strcmp(type, "DECIMAL")) {
error|= sql->append(',');
// dec must be < len
- error|= sql->append_ulonglong(min(dec, len - 1));
+ error|= sql->append_ulonglong(MY_MIN(dec, len - 1));
} // endif dec
error|= sql->append(')');
@@ -4446,7 +4491,7 @@ static int connect_assisted_discovery(handlerton *hton, THD* thd,
TABLE_SHARE *table_s,
HA_CREATE_INFO *create_info)
{
- char v, spc= ',', qch= 0;
+ char v=0, spc= ',', qch= 0;
const char *fncn= "?";
const char *user, *fn, *db, *host, *pwd, *sep, *tbl, *src;
const char *col, *ocl, *rnk, *pic, *fcl, *skc;
@@ -4513,7 +4558,9 @@ static int connect_assisted_discovery(handlerton *hton, THD* thd,
cls= GetListOption(g, "class", topt->oplist);
#endif // WIN32
port= atoi(GetListOption(g, "port", topt->oplist, "0"));
+#if defined(ODBC_SUPPORT)
mxr= atoi(GetListOption(g,"maxres", topt->oplist, "0"));
+#endif
mxe= atoi(GetListOption(g,"maxerr", topt->oplist, "0"));
#if defined(PROMPT_OK)
cop= atoi(GetListOption(g, "checkdsn", topt->oplist, "0"));
@@ -4991,7 +5038,7 @@ int ha_connect::create(const char *name, TABLE *table_arg,
DBUG_ENTER("ha_connect::create");
int sqlcom= thd_sql_command(table_arg->in_use);
- PTOS options= GetTableOptionStruct(table_arg);
+ PTOS options= GetTableOptionStruct(table_arg->s);
table= table_arg; // Used by called functions
@@ -5325,8 +5372,8 @@ int ha_connect::create(const char *name, TABLE *table_arg,
push_warning(thd, Sql_condition::WARN_LEVEL_WARN, 0, g->Message);
} else
::close(h);
-
- if (type == TAB_FMT || options->readonly)
+
+ if ((type == TAB_FMT || options->readonly) && sqlcom == SQLCOM_CREATE_TABLE)
push_warning(thd, Sql_condition::WARN_LEVEL_WARN, 0,
"Congratulation, you just created a read-only void table!");
@@ -5564,7 +5611,6 @@ ha_connect::check_if_supported_inplace_alter(TABLE *altered_table,
int sqlcom= thd_sql_command(thd);
TABTYPE newtyp, type= TAB_UNDEF;
HA_CREATE_INFO *create_info= ha_alter_info->create_info;
-//PTOS pos= GetTableOptionStruct(table);
PTOS newopt, oldopt;
xp= GetUser(thd, xp);
PGLOBAL g= xp->g;
@@ -5772,7 +5818,7 @@ ha_rows ha_connect::multi_range_read_info_const(uint keyno, RANGE_SEQ_IF *seq,
ds_mrr.init(this, table);
// MMR is implemented for "local" file based tables only
- if (!IsFileType(GetRealType(GetTableOptionStruct(table))))
+ if (!IsFileType(GetRealType(GetTableOptionStruct())))
*flags|= HA_MRR_USE_DEFAULT_IMPL;
ha_rows rows= ds_mrr.dsmrr_info_const(keyno, seq, seq_init_param, n_ranges,
@@ -5788,7 +5834,7 @@ ha_rows ha_connect::multi_range_read_info(uint keyno, uint n_ranges, uint keys,
ds_mrr.init(this, table);
// MMR is implemented for "local" file based tables only
- if (!IsFileType(GetRealType(GetTableOptionStruct(table))))
+ if (!IsFileType(GetRealType(GetTableOptionStruct())))
*flags|= HA_MRR_USE_DEFAULT_IMPL;
ha_rows rows= ds_mrr.dsmrr_info(keyno, n_ranges, keys, key_parts, bufsz,
diff --git a/storage/connect/ha_connect.h b/storage/connect/ha_connect.h
index 6320d711f9f..e7aac7a5915 100644
--- a/storage/connect/ha_connect.h
+++ b/storage/connect/ha_connect.h
@@ -182,7 +182,7 @@ public:
static bool connect_end(void);
TABTYPE GetRealType(PTOS pos= NULL);
char *GetStringOption(char *opname, char *sdef= NULL);
- PTOS GetTableOptionStruct(TABLE *table_arg);
+ PTOS GetTableOptionStruct(TABLE_SHARE *s= NULL);
bool GetBooleanOption(char *opname, bool bdef);
bool SetBooleanOption(char *opname, bool b);
int GetIntegerOption(char *opname);
@@ -225,7 +225,7 @@ public:
The name of the index type that will be used for display.
Don't implement this method unless you really have indexes.
*/
- const char *index_type(uint inx) { return "XINDEX"; }
+ const char *index_type(uint inx);
/** @brief
The file extensions.
@@ -256,11 +256,7 @@ public:
If all_parts is set, MySQL wants to know the flags for the combined
index, up to and including 'part'.
*/
- ulong index_flags(uint inx, uint part, bool all_parts) const
- {
- return HA_READ_NEXT | HA_READ_RANGE | HA_READ_ORDER |
- HA_READ_PREV | HA_KEYREAD_ONLY | HA_KEY_SCAN_NOT_ROR;
- } // end of index_flags
+ ulong index_flags(uint inx, uint part, bool all_parts) const;
/** @brief
unireg.cc will call max_supported_record_length(), max_supported_keys(),
diff --git a/storage/connect/inihandl.c b/storage/connect/inihandl.c
index 1c1884c0144..9f1c06a9222 100644
--- a/storage/connect/inihandl.c
+++ b/storage/connect/inihandl.c
@@ -152,7 +152,7 @@ static void PROFILE_CopyEntry( char *buffer, const char *value, uint len,
if (!p2)
continue; /* ignore it */
- strncpy(env_val, p + 2, min((int) sizeof(env_val), (int)(p2-p)-1));
+ strncpy(env_val, p + 2, MY_MIN((int) sizeof(env_val), (int)(p2-p)-1));
if ((env_p = getenv(env_val)) != NULL) {
int buffer_len;
diff --git a/storage/connect/myconn.cpp b/storage/connect/myconn.cpp
index 02309e78d55..5a36d157b65 100644
--- a/storage/connect/myconn.cpp
+++ b/storage/connect/myconn.cpp
@@ -204,7 +204,7 @@ PQRYRES MyColumns(PGLOBAL g, THD *thd, const char *host, const char *db,
PushWarning(g, thd);
v = 'V';
} else
- len = min(len, 4096);
+ len = MY_MIN(len, 4096);
} // endif type
@@ -764,7 +764,7 @@ PQRYRES MYSQLC::GetResult(PGLOBAL g, bool pdb)
crp->Prec = (crp->Type == TYPE_DOUBLE || crp->Type == TYPE_DECIM)
? fld->decimals : 0;
- crp->Length = max(fld->length, fld->max_length);
+ crp->Length = MY_MAX(fld->length, fld->max_length);
crp->Clen = GetTypeSize(crp->Type, crp->Length);
uns = (fld->flags & (UNSIGNED_FLAG | ZEROFILL_FLAG)) ? true : false;
diff --git a/storage/connect/mysql-test/connect/r/xml_mult.result b/storage/connect/mysql-test/connect/r/xml_mult.result
new file mode 100644
index 00000000000..a9592e986c0
--- /dev/null
+++ b/storage/connect/mysql-test/connect/r/xml_mult.result
@@ -0,0 +1,102 @@
+Warnings:
+Warning 1105 No file name. Table will use t1.xml
+SET NAMES utf8;
+#
+# Testing expanded values
+#
+CREATE TABLE `bookstore` (
+`category` CHAR(16) NOT NULL FIELD_FORMAT='@',
+`title` VARCHAR(50) NOT NULL,
+`lang` char(2) NOT NULL FIELD_FORMAT='title/@',
+`author` VARCHAR(24) NOT NULL,
+`year` INT(4) NOT NULL,
+`price` DOUBLE(8,2) NOT NULL)
+ENGINE=CONNECT TABLE_TYPE=XML FILE_NAME='bookstore.xml' OPTION_LIST='expand=1,mulnode=author,limit=6,xmlsup=libxml2';
+SELECT * FROM bookstore;
+category title lang author year price
+COOKING Everyday Italian en Giada De Laurentiis 2005 30.00
+CHILDREN Harry Potter en J K. Rowling 2005 29.99
+WEB XQuery Kick Start en James McGovern 2003 49.99
+WEB XQuery Kick Start en Per Bothner 2003 49.99
+WEB XQuery Kick Start en Kurt Cagle 2003 49.99
+WEB XQuery Kick Start en James Linn 2003 49.99
+WEB XQuery Kick Start en Vaidyanathan Nagarajan 2003 49.99
+WEB Learning XML en Erik T. Ray 2003 39.95
+SELECT category, title, price FROM bookstore;
+category title price
+COOKING Everyday Italian 30.00
+CHILDREN Harry Potter 29.99
+WEB XQuery Kick Start 49.99
+WEB Learning XML 39.95
+SELECT category, title, author, price FROM bookstore WHERE author LIKE '%K%';
+category title author price
+CHILDREN Harry Potter J K. Rowling 29.99
+WEB XQuery Kick Start Kurt Cagle 49.99
+WEB Learning XML Erik T. Ray 39.95
+SELECT category, title, price FROM bookstore WHERE author LIKE 'J%';
+category title price
+CHILDREN Harry Potter 29.99
+WEB XQuery Kick Start 49.99
+WEB XQuery Kick Start 49.99
+#
+# Limiting expanded values
+#
+ALTER TABLE bookstore OPTION_LIST='expand=1,mulnode=author,limit=3,xmlsup=libxml2';
+SELECT * FROM bookstore;
+category title lang author year price
+COOKING Everyday Italian en Giada De Laurentiis 2005 30.00
+CHILDREN Harry Potter en J K. Rowling 2005 29.99
+WEB XQuery Kick Start en James McGovern 2003 49.99
+WEB XQuery Kick Start en Per Bothner 2003 49.99
+WEB XQuery Kick Start en Kurt Cagle 2003 49.99
+WEB Learning XML en Erik T. Ray 2003 39.95
+Warnings:
+Warning 1105 Mutiple values limited to 3
+# One line lost because the where clause is applied only on the first 3 rows
+SELECT category, title, author, price FROM bookstore WHERE author LIKE 'J%';
+category title author price
+CHILDREN Harry Potter J K. Rowling 29.99
+WEB XQuery Kick Start James McGovern 49.99
+Warnings:
+Warning 1105 Mutiple values limited to 3
+#
+# Testing concatenated values
+#
+ALTER TABLE bookstore OPTION_LIST='mulnode=author,limit=6,xmlsup=libxml2';
+# truncated
+SELECT * FROM bookstore;
+category title lang author year price
+COOKING Everyday Italian en Giada De Laurentiis 2005 30.00
+CHILDREN Harry Potter en J K. Rowling 2005 29.99
+WEB XQuery Kick Start en James McGovern, Per Both 2003 49.99
+WEB Learning XML en Erik T. Ray 2003 39.95
+Warnings:
+Warning 1105 Truncated author content
+# increase author size
+ALTER TABLE bookstore MODIFY `author` VARCHAR(128) NOT NULL;
+SELECT * FROM bookstore;
+category title lang author year price
+COOKING Everyday Italian en Giada De Laurentiis 2005 30.00
+CHILDREN Harry Potter en J K. Rowling 2005 29.99
+WEB XQuery Kick Start en James McGovern, Per Bothner, Kurt Cagle, James Linn, Vaidyanathan Nagarajan 2003 49.99
+WEB Learning XML en Erik T. Ray 2003 39.95
+#
+# Limiting concatenated values
+#
+ALTER TABLE bookstore OPTION_LIST='mulnode=author,limit=4,xmlsup=libxml2';
+SELECT * FROM bookstore;
+category title lang author year price
+COOKING Everyday Italian en Giada De Laurentiis 2005 30.00
+CHILDREN Harry Potter en J K. Rowling 2005 29.99
+WEB XQuery Kick Start en James McGovern, Per Bothner, Kurt Cagle, James Linn 2003 49.99
+WEB Learning XML en Erik T. Ray 2003 39.95
+Warnings:
+Warning 1105 Mutiple values limited to 4
+# The where clause is applied on the concatenated column result
+SELECT category, title, author, price FROM bookstore WHERE author LIKE 'J%';
+category title author price
+CHILDREN Harry Potter J K. Rowling 29.99
+WEB XQuery Kick Start James McGovern, Per Bothner, Kurt Cagle, James Linn 49.99
+Warnings:
+Warning 1105 Mutiple values limited to 4
+DROP TABLE bookstore;
diff --git a/storage/connect/mysql-test/connect/std_data/bookstore.xml b/storage/connect/mysql-test/connect/std_data/bookstore.xml
new file mode 100644
index 00000000000..0aebbcd243e
--- /dev/null
+++ b/storage/connect/mysql-test/connect/std_data/bookstore.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bookstore>
+ <book category="COOKING">
+ <title lang="en">Everyday Italian</title>
+ <author>Giada De Laurentiis</author>
+ <year>2005</year>
+ <price>30.00</price>
+ </book>
+ <book category="CHILDREN">
+ <title lang="en">Harry Potter</title>
+ <author>J K. Rowling</author>
+ <year>2005</year>
+ <price>29.99</price>
+ </book>
+ <book category="WEB">
+ <title lang="en">XQuery Kick Start</title>
+ <author>James McGovern</author>
+ <author>Per Bothner</author>
+ <author>Kurt Cagle</author>
+ <author>James Linn</author>
+ <author>Vaidyanathan Nagarajan</author>
+ <year>2003</year>
+ <price>49.99</price>
+ </book>
+ <book category="WEB">
+ <title lang="en">Learning XML</title>
+ <author>Erik T. Ray</author>
+ <year>2003</year>
+ <price>39.95</price>
+ </book>
+</bookstore>
diff --git a/storage/connect/mysql-test/connect/t/xml_mult.test b/storage/connect/mysql-test/connect/t/xml_mult.test
new file mode 100644
index 00000000000..cd83827fe34
--- /dev/null
+++ b/storage/connect/mysql-test/connect/t/xml_mult.test
@@ -0,0 +1,64 @@
+--source have_libxml2.inc
+
+let $MYSQLD_DATADIR= `select @@datadir`;
+
+SET NAMES utf8;
+
+--copy_file $MTR_SUITE_DIR/std_data/bookstore.xml $MYSQLD_DATADIR/test/bookstore.xml
+
+#--echo $MYSQL_TEST_DIR
+#--exec pwd
+#SELECT LOAD_FILE('test/bookstore.xml');
+
+
+--echo #
+--echo # Testing expanded values
+--echo #
+CREATE TABLE `bookstore` (
+ `category` CHAR(16) NOT NULL FIELD_FORMAT='@',
+ `title` VARCHAR(50) NOT NULL,
+ `lang` char(2) NOT NULL FIELD_FORMAT='title/@',
+ `author` VARCHAR(24) NOT NULL,
+ `year` INT(4) NOT NULL,
+ `price` DOUBLE(8,2) NOT NULL)
+ENGINE=CONNECT TABLE_TYPE=XML FILE_NAME='bookstore.xml' OPTION_LIST='expand=1,mulnode=author,limit=6,xmlsup=libxml2';
+SELECT * FROM bookstore;
+SELECT category, title, price FROM bookstore;
+SELECT category, title, author, price FROM bookstore WHERE author LIKE '%K%';
+SELECT category, title, price FROM bookstore WHERE author LIKE 'J%';
+
+
+--echo #
+--echo # Limiting expanded values
+--echo #
+ALTER TABLE bookstore OPTION_LIST='expand=1,mulnode=author,limit=3,xmlsup=libxml2';
+SELECT * FROM bookstore;
+--echo # One line lost because the where clause is applied only on the first 3 rows
+SELECT category, title, author, price FROM bookstore WHERE author LIKE 'J%';
+
+
+--echo #
+--echo # Testing concatenated values
+--echo #
+ALTER TABLE bookstore OPTION_LIST='mulnode=author,limit=6,xmlsup=libxml2';
+--echo # truncated
+SELECT * FROM bookstore;
+--echo # increase author size
+ALTER TABLE bookstore MODIFY `author` VARCHAR(128) NOT NULL;
+SELECT * FROM bookstore;
+
+
+--echo #
+--echo # Limiting concatenated values
+--echo #
+ALTER TABLE bookstore OPTION_LIST='mulnode=author,limit=4,xmlsup=libxml2';
+SELECT * FROM bookstore;
+--echo # The where clause is applied on the concatenated column result
+SELECT category, title, author, price FROM bookstore WHERE author LIKE 'J%';
+DROP TABLE bookstore;
+
+
+#
+# Clean up
+#
+--remove_file $MYSQLD_DATADIR/test/bookstore.xml
diff --git a/storage/connect/odbconn.cpp b/storage/connect/odbconn.cpp
index a64dff76314..a857a1bc918 100644
--- a/storage/connect/odbconn.cpp
+++ b/storage/connect/odbconn.cpp
@@ -9,7 +9,8 @@
/***********************************************************************/
/* Include relevant MariaDB header file. */
/***********************************************************************/
-#include "my_global.h"
+#include <my_global.h>
+#include <m_string.h>
#if defined(WIN32)
//nclude <io.h>
//nclude <fcntl.h>
@@ -123,7 +124,7 @@ int TranslateSQLType(int stp, int prec, int& len, char& v)
case SQL_LONGVARCHAR: // (-1)
v = 'V';
type = TYPE_STRING;
- len = min(abs(len), 256);
+ len = MY_MIN(abs(len), 256);
break;
case SQL_NUMERIC: // 2
case SQL_DECIMAL: // 3
@@ -311,7 +312,7 @@ PQRYRES ODBCColumns(PGLOBAL g, char *dsn, char *db, char *table,
if (table && !strchr(table, '%')) {
// We fix a MySQL limit because some data sources return 32767
n = ocp->GetMaxValue(SQL_MAX_COLUMNS_IN_TABLE);
- maxres = (n) ? min(n, 4096) : 4096;
+ maxres = (n) ? MY_MIN(n, 4096) : 4096;
} else if (!maxres)
maxres = 20000;
@@ -1857,7 +1858,7 @@ PQRYRES ODBConn::GetMetaData(PGLOBAL g, char *dsn, char *src)
if (!Check(rc))
ThrowDBX(rc, "SQLDescribeCol", hstmt);
- length[0] = max(length[0], (UINT)nl);
+ length[0] = MY_MAX(length[0], (UINT)nl);
} // endfor i
} catch(DBX *x) {
diff --git a/storage/connect/os.h b/storage/connect/os.h
index e3d452bf7b8..8e94f4241bb 100644
--- a/storage/connect/os.h
+++ b/storage/connect/os.h
@@ -9,6 +9,12 @@ typedef off_t off64_t;
#define O_LARGEFILE 0
#endif
+#ifdef _AIX
+#ifndef O_LARGEFILE
+#define O_LARGEFILE 0
+#endif
+#endif
+
#if defined(WIN32)
typedef __int64 BIGINT;
#else // !WIN32
diff --git a/storage/connect/osutil.h b/storage/connect/osutil.h
index a6bdb5521b8..ac63d4ee973 100644
--- a/storage/connect/osutil.h
+++ b/storage/connect/osutil.h
@@ -9,16 +9,6 @@
#define MB_OK 0x00000000
-#if !defined(__MINMAX_DEFINED)
-#define __MINMAX_DEFINED
-#ifndef max
-#define max(x,y) (((x)>(y))?(x):(y))
-#endif
-#ifndef min
-#define min(x,y) (((x)<(y))?(x):(y))
-#endif
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/storage/connect/plgdbutl.cpp b/storage/connect/plgdbutl.cpp
index 04e4a3b5704..70fdd6c0bb5 100644
--- a/storage/connect/plgdbutl.cpp
+++ b/storage/connect/plgdbutl.cpp
@@ -712,7 +712,7 @@ int ExtractDate(char *dts, PDTP pdp, int defy, int val[6])
n += 100;
val[0] = n;
- numval = max(numval, 1);
+ numval = MY_MAX(numval, 1);
break;
case 1:
case 2:
@@ -720,7 +720,7 @@ int ExtractDate(char *dts, PDTP pdp, int defy, int val[6])
case 4:
case 5:
val[k] = n;
- numval = max(numval, k + 1);
+ numval = MY_MAX(numval, k + 1);
break;
case -1:
c = toupper(W[i][0]);
@@ -744,7 +744,7 @@ int ExtractDate(char *dts, PDTP pdp, int defy, int val[6])
} /* endswitch c */
val[1] = n;
- numval = max(numval, 2);
+ numval = MY_MAX(numval, 2);
break;
case -6:
c = toupper(W[i][0]);
@@ -1216,7 +1216,7 @@ void *PlgDBrealloc(PGLOBAL g, void *area, MBLOCK& mp, size_t newsize)
if ((mp.Sub = (newsize <= (maxsub >> 2)))) {
mp.Memp = PlugSubAlloc(g, area, newsize);
- memcpy(mp.Memp, m.Memp, min(m.Size, newsize));
+ memcpy(mp.Memp, m.Memp, MY_MIN(m.Size, newsize));
PlgDBfree(m); // Free the old block
} else if (!(mp.Memp = realloc(mp.Memp, newsize))) {
mp = m; // Possible only if newsize > Size
@@ -1232,7 +1232,7 @@ void *PlgDBrealloc(PGLOBAL g, void *area, MBLOCK& mp, size_t newsize)
mp.Size = newsize;
if (PlgDBalloc(g, area, mp)) {
- memcpy(mp.Memp, m.Memp, min(m.Size, newsize));
+ memcpy(mp.Memp, m.Memp, MY_MIN(m.Size, newsize));
PlgDBfree(m); // Free the old block
} else {
mp = m; // No space to realloc, do nothing
diff --git a/storage/connect/reldef.cpp b/storage/connect/reldef.cpp
index ae528db470f..238cecc48eb 100644
--- a/storage/connect/reldef.cpp
+++ b/storage/connect/reldef.cpp
@@ -242,7 +242,7 @@ int TABDEF::GetColCatInfo(PGLOBAL g)
case TAB_VEC:
case TAB_DBF:
poff= loff + nof; // Default next offset
- nlg= max(nlg, poff); // Default lrecl
+ nlg= MY_MAX(nlg, poff); // Default lrecl
break;
case TAB_CSV:
case TAB_FMT:
@@ -367,7 +367,7 @@ int TABDEF::GetColCatInfo(PGLOBAL g)
} // endswitch tc
// lrecl must be at least recln to avoid buffer overflow
- recln= max(recln, Hc->GetIntegerOption("Lrecl"));
+ recln= MY_MAX(recln, Hc->GetIntegerOption("Lrecl"));
Hc->SetIntegerOption("Lrecl", recln);
((PDOSDEF)this)->SetLrecl(recln);
} // endif Lrecl
diff --git a/storage/connect/tabdos.cpp b/storage/connect/tabdos.cpp
index 155e626d2e9..3427f7b76a7 100644
--- a/storage/connect/tabdos.cpp
+++ b/storage/connect/tabdos.cpp
@@ -1602,7 +1602,7 @@ int TDBDOS::MakeIndex(PGLOBAL g, PIXDEF pxdf, bool add)
} // endif Type
colp->InitValue(g);
- n = max(n, xdp->GetNparts());
+ n = MY_MAX(n, xdp->GetNparts());
} // endfor kdp
keycols = (PCOL*)PlugSubAlloc(g, NULL, n * sizeof(PCOL));
@@ -1795,7 +1795,7 @@ int TDBDOS::EstimatedLength(PGLOBAL g)
// result if we set dep to 1
dep = 1 + cdp->GetLong() / 20; // Why 20 ?????
} else for (; cdp; cdp = cdp->GetNext())
- dep = max(dep, cdp->GetOffset());
+ dep = MY_MAX(dep, cdp->GetOffset());
return (int)dep;
} // end of Estimated Length
@@ -2182,7 +2182,7 @@ bool DOSCOL::SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check)
// Allocate the buffer used in WriteColumn for numeric columns
if (IsTypeNum(Buf_Type))
- Buf = (char*)PlugSubAlloc(g, NULL, max(32, Long + Dcm + 1));
+ Buf = (char*)PlugSubAlloc(g, NULL, MY_MAX(32, Long + Dcm + 1));
// Because Colblk's have been made from a copy of the original TDB in
// case of Update, we must reset them to point to the original one.
@@ -2311,7 +2311,7 @@ void DOSCOL::WriteColumn(PGLOBAL g)
memset(tdbp->To_Line + len, ' ', tdbp->Lrecl - len);
else
// The size actually available must be recalculated
- field = min(len - Deplac, Long);
+ field = MY_MIN(len - Deplac, Long);
} // endif Ftype
diff --git a/storage/connect/tabfmt.cpp b/storage/connect/tabfmt.cpp
index 3d0770bc374..77062488a29 100644
--- a/storage/connect/tabfmt.cpp
+++ b/storage/connect/tabfmt.cpp
@@ -118,7 +118,7 @@ PQRYRES CSVColumns(PGLOBAL g, const char *fn, char sep, char q,
} // endif fn
imax = hmax = nerr = 0;
- mxr = max(0, mxr);
+ mxr = MY_MAX(0, mxr);
for (i = 0; i < MAXCOL; i++) {
colname[i] = NULL;
@@ -190,7 +190,7 @@ PQRYRES CSVColumns(PGLOBAL g, const char *fn, char sep, char q,
imax = hmax = i;
for (i = 0; i < hmax; i++)
- length[0] = max(length[0], strlen(colname[i]));
+ length[0] = MY_MAX(length[0], strlen(colname[i]));
} // endif hdr
@@ -228,11 +228,11 @@ PQRYRES CSVColumns(PGLOBAL g, const char *fn, char sep, char q,
} // endif i
if (n) {
- len[i] = max(len[i], n);
+ len[i] = MY_MAX(len[i], n);
type = (digit || (dec && n == 1)) ? TYPE_STRING
: (dec) ? TYPE_DOUBLE : TYPE_INT;
- typ[i] = min(type, typ[i]);
- prc[i] = max((typ[i] == TYPE_DOUBLE) ? (dec - 1) : 0, prc[i]);
+ typ[i] = MY_MIN(type, typ[i]);
+ prc[i] = MY_MAX((typ[i] == TYPE_DOUBLE) ? (dec - 1) : 0, prc[i]);
} // endif n
i++;
@@ -308,14 +308,14 @@ PQRYRES CSVColumns(PGLOBAL g, const char *fn, char sep, char q,
goto skip;
if (n) {
- len[i] = max(len[i], n);
+ len[i] = MY_MAX(len[i], n);
type = (digit || n == 0 || (dec && n == 1)) ? TYPE_STRING
: (dec) ? TYPE_DOUBLE : TYPE_INT;
- typ[i] = min(type, typ[i]);
- prc[i] = max((typ[i] == TYPE_DOUBLE) ? (dec - 1) : 0, prc[i]);
+ typ[i] = MY_MIN(type, typ[i]);
+ prc[i] = MY_MAX((typ[i] == TYPE_DOUBLE) ? (dec - 1) : 0, prc[i]);
} // endif n
- imax = max(imax, i+1);
+ imax = MY_MAX(imax, i+1);
skip: ; // Skip erroneous line
} // endfor num_read
@@ -598,7 +598,7 @@ int TDBCSV::EstimatedLength(PGLOBAL g)
for (colp = (PCSVCOL)Columns; colp; colp = (PCSVCOL)colp->Next)
if (!colp->IsSpecial()) // Not a pseudo column
- Fields = max(Fields, (int)colp->Fldnum);
+ Fields = MY_MAX(Fields, (int)colp->Fldnum);
if (Columns)
Fields++; // Fldnum was 0 based
@@ -641,7 +641,7 @@ bool TDBCSV::OpenDB(PGLOBAL g)
if (Mode != MODE_UPDATE && Mode != MODE_INSERT) {
for (colp = (PCSVCOL)Columns; colp; colp = (PCSVCOL)colp->Next)
if (!colp->IsSpecial()) // Not a pseudo column
- Fields = max(Fields, (int)colp->Fldnum);
+ Fields = MY_MAX(Fields, (int)colp->Fldnum);
if (Columns)
Fields++; // Fldnum was 0 based
@@ -1101,7 +1101,7 @@ bool TDBFMT::OpenDB(PGLOBAL g)
for (colp = (PCSVCOL)Columns; colp; colp = (PCSVCOL)colp->Next)
if (!colp->IsSpecial()) // Not a pseudo column
- Fields = max(Fields, (int)colp->Fldnum);
+ Fields = MY_MAX(Fields, (int)colp->Fldnum);
if (Columns)
Fields++; // Fldnum was 0 based
diff --git a/storage/connect/tabmysql.cpp b/storage/connect/tabmysql.cpp
index d122b1c3c2d..e8551b820e9 100644
--- a/storage/connect/tabmysql.cpp
+++ b/storage/connect/tabmysql.cpp
@@ -396,7 +396,7 @@ TDBMYSQL::TDBMYSQL(PMYDEF tdp) : TDBASE(tdp)
Pwd = tdp->Password;
Server = tdp->Server;
Qrystr = tdp->Qrystr;
- Quoted = max(0, tdp->Quoted);
+ Quoted = MY_MAX(0, tdp->Quoted);
Port = tdp->Portnumber;
Isview = tdp->Isview;
Prep = tdp->Bind;
@@ -1009,7 +1009,6 @@ int TDBMYSQL::SendCommand(PGLOBAL g)
bool TDBMYSQL::ReadKey(PGLOBAL g, OPVAL op, const void *key, int len)
{
int oldlen = strlen(Query);
- bool rc;
if (op == OP_NEXT)
return false;
@@ -1021,7 +1020,7 @@ bool TDBMYSQL::ReadKey(PGLOBAL g, OPVAL op, const void *key, int len)
if (Myc.m_Res)
Myc.FreeResult();
- rc = To_Def->GetHandler()->MakeKeyWhere(g, Query, op, "`", key, len);
+ To_Def->GetHandler()->MakeKeyWhere(g, Query, op, "`", key, len);
if (To_CondFil)
strcat(strcat(strcat(Query, " AND ("), To_CondFil->Body), ")");
diff --git a/storage/connect/taboccur.cpp b/storage/connect/taboccur.cpp
index 96901424a7d..917685faae3 100644
--- a/storage/connect/taboccur.cpp
+++ b/storage/connect/taboccur.cpp
@@ -106,7 +106,7 @@ bool OcrColumns(PGLOBAL g, PQRYRES qrp, const char *col,
} // endif m
for (k = 0, pn = colist; k < m; k++, pn += (strlen(pn) + 1))
- n = max(n, (signed)strlen(pn));
+ n = MY_MAX(n, (signed)strlen(pn));
} // endif k
@@ -199,7 +199,7 @@ bool OcrSrcCols(PGLOBAL g, PQRYRES qrp, const char *col,
if ((rk = (rank && *rank)))
for (k = 0, pn = colist; k < m; k++, pn += (strlen(pn) + 1))
- n = max(n, (signed)strlen(pn));
+ n = MY_MAX(n, (signed)strlen(pn));
// Default occur column name is the 1st colist column name
if (!ocr || !*ocr)
diff --git a/storage/connect/tabodbc.cpp b/storage/connect/tabodbc.cpp
index 4231c5550e0..65226c9e36f 100644
--- a/storage/connect/tabodbc.cpp
+++ b/storage/connect/tabodbc.cpp
@@ -178,7 +178,7 @@ TDBODBC::TDBODBC(PODEF tdp) : TDBASE(tdp)
Qrystr = tdp->Qrystr;
Sep = tdp->GetSep();
Options = tdp->Options;
- Quoted = max(0, tdp->GetQuoted());
+ Quoted = MY_MAX(0, tdp->GetQuoted());
Rows = tdp->GetElemt();
Catver = tdp->Catver;
} else {
diff --git a/storage/connect/tabxml.cpp b/storage/connect/tabxml.cpp
index c7c61f0dcbb..1e9c172cdb3 100644
--- a/storage/connect/tabxml.cpp
+++ b/storage/connect/tabxml.cpp
@@ -145,7 +145,7 @@ bool XMLDEF::DefineAM(PGLOBAL g, LPCSTR am, int poff)
XmlDB = GetStringCatInfo(g, "XmlDB", "");
Nslist = GetStringCatInfo(g, "Nslist", "");
DefNs = GetStringCatInfo(g, "DefNs", "");
- Limit = GetIntCatInfo("Limit", 2);
+ Limit = GetIntCatInfo("Limit", 10);
Xpand = (GetIntCatInfo("Expand", 0) != 0);
Header = GetIntCatInfo("Header", 0);
GetCharCatInfo("Xmlsup", "*", buf, sizeof(buf));
@@ -1038,12 +1038,13 @@ XMLCOL::XMLCOL(PCOLDEF cdp, PTDB tdbp, PCOL cprec, int i, PSZ am)
Type = Tdbp->Coltype;
Nx = -1;
Sx = -1;
+ N = 0;
Valbuf = NULL;
To_Val = NULL;
} // end of XMLCOL constructor
/***********************************************************************/
-/* XMLCOL constructor used for copying columns. */
+/* XMLCOL constructor used for copying columns. */
/* tdbp is the pointer to the new table descriptor. */
/***********************************************************************/
XMLCOL::XMLCOL(XMLCOL *col1, PTDB tdbp) : COLBLK(col1, tdbp)
@@ -1068,6 +1069,7 @@ XMLCOL::XMLCOL(XMLCOL *col1, PTDB tdbp) : COLBLK(col1, tdbp)
Rank = col1->Rank;
Nx = col1->Nx;
Sx = col1->Sx;
+ N = col1->N;
Type = col1->Type;
To_Val = col1->To_Val;
} // end of XMLCOL copy constructor
@@ -1080,8 +1082,8 @@ bool XMLCOL::AllocBuf(PGLOBAL g, bool mode)
if (Valbuf)
return false; // Already done
- Valbuf = (char*)PlugSubAlloc(g, NULL, Long + 1);
- Valbuf[Long] = '\0';
+//Valbuf = (char*)PlugSubAlloc(g, NULL, Long + 1);
+//Valbuf[Long] = '\0';
return ParseXpath(g, mode);
} // end of AllocBuf
@@ -1095,7 +1097,7 @@ bool XMLCOL::AllocBuf(PGLOBAL g, bool mode)
bool XMLCOL::ParseXpath(PGLOBAL g, bool mode)
{
char *p, *p2, *pbuf = NULL;
- int i, len = strlen(Name);
+ int i, n = 1, len = strlen(Name);
len += ((Tdbp->Colname) ? strlen(Tdbp->Colname) : 0);
len += ((Xname) ? strlen(Xname) : 0);
@@ -1122,7 +1124,7 @@ bool XMLCOL::ParseXpath(PGLOBAL g, bool mode)
// For Update or Insert the Xpath must be analyzed
if (mode) {
for (i = 0, p = pbuf; (p = strchr(p, '/')); i++, p++)
- Nod++; // One path node found
+ Nod++; // One path node found
if (Nod)
Nodes = (char**)PlugSubAlloc(g, NULL, Nod * sizeof(char*));
@@ -1136,7 +1138,7 @@ bool XMLCOL::ParseXpath(PGLOBAL g, bool mode)
strcpy(g->Message, MSG(CONCAT_SUBNODE));
return true;
} else
- Inod = i; // Index of multiple node
+ Inod = i; // Index of multiple node
if (mode) {
// For Update or Insert the Xpath must be explicit
@@ -1171,7 +1173,7 @@ bool XMLCOL::ParseXpath(PGLOBAL g, bool mode)
} else if (Type == 2) {
// HTML like table, columns are retrieved by position
- new(this) XPOSCOL(Value); // Change the class of this column
+ new(this) XPOSCOL(Value); // Change the class of this column
Tdbp->Hasnod = true;
return false;
} else if (Type == 0 && !mode) {
@@ -1185,9 +1187,18 @@ bool XMLCOL::ParseXpath(PGLOBAL g, bool mode)
if (Inod >= 0) {
Tdbp->Colp = this; // To force expand
- new(this) XMULCOL(Value); // Change the class of this column
+
+ if (Tdbp->Xpand)
+ n = Tdbp->Limit;
+
+ new(this) XMULCOL(Value); // Change the class of this column
} // endif Inod
+ Valbuf = (char*)PlugSubAlloc(g, NULL, n * (Long + 1));
+
+ for (i = 0; i < n; i++)
+ Valbuf[Long + (i * (Long + 1))] = '\0';
+
if (Type || Nod)
Tdbp->Hasnod = true;
@@ -1470,60 +1481,72 @@ void XMLCOL::WriteColumn(PGLOBAL g)
void XMULCOL::ReadColumn(PGLOBAL g)
{
char *p;
- int i, n, len;
+ int i, len;
+ bool b = Tdbp->Xpand;
- if (Nx != Tdbp->Irow) // New row
+ if (Nx != Tdbp->Irow) { // New row
Nl = Tdbp->RowNode->SelectNodes(g, Xname, Nl);
- else if (Sx == Tdbp->Nsub)
- return; // Same row
- if ((n = Nl->GetLength())) {
- *(p = Valbuf) = '\0';
- len = Long;
+ if ((N = Nl->GetLength())) {
+ *(p = Valbuf) = '\0';
+ len = Long;
- for (i = Tdbp->Nsub; i < n; i++) {
- ValNode = Nl->GetItem(g, i, Vxnp);
+ if (N > Tdbp->Limit) {
+ N = Tdbp->Limit;
+ sprintf(g->Message, "Mutiple values limited to %d", Tdbp->Limit);
+ PushWarning(g, Tdbp);
+ } // endif N
- if (ValNode->GetType() != XML_ELEMENT_NODE &&
- ValNode->GetType() != XML_ATTRIBUTE_NODE) {
- sprintf(g->Message, MSG(BAD_VALNODE), ValNode->GetType(), Name);
- longjmp(g->jumper[g->jump_level], TYPE_AM_XML);
- } // endif type
+ for (i = 0; i < N; i++) {
+ ValNode = Nl->GetItem(g, i, Vxnp);
- // Get the Xname value from the XML file
- switch (ValNode->GetContent(g, p, len + 1)) {
- case RC_OK:
- break;
- case RC_INFO:
- PushWarning(g, Tdbp);
- break;
- default:
+ if (ValNode->GetType() != XML_ELEMENT_NODE &&
+ ValNode->GetType() != XML_ATTRIBUTE_NODE) {
+ sprintf(g->Message, MSG(BAD_VALNODE), ValNode->GetType(), Name);
longjmp(g->jumper[g->jump_level], TYPE_AM_XML);
- } // endswitch
-
- if (!Tdbp->Xpand) {
- // Concatenate all values
- if (n - i > 1)
- strncat(Valbuf, ", ", Long + 1);
-
- len -= strlen(p);
- p += strlen(p);
- } else
- break;
-
- } // endfor i
+ } // endif type
+
+ // Get the Xname value from the XML file
+ switch (ValNode->GetContent(g, p, (b ? Long : len))) {
+ case RC_OK:
+ break;
+ case RC_INFO:
+ PushWarning(g, Tdbp);
+ break;
+ default:
+ longjmp(g->jumper[g->jump_level], TYPE_AM_XML);
+ } // endswitch
+
+ if (!b) {
+ // Concatenate all values
+ if (N - i > 1)
+ strncat(Valbuf, ", ", len - strlen(p));
+
+ if ((len -= strlen(p)) <= 0)
+ break;
+
+ p += strlen(p);
+ } else // Xpand
+ p += (Long + 1);
+
+ } // endfor i
+
+ Value->SetValue_psz(Valbuf);
+ } else {
+ if (Nullable)
+ Value->SetNull(true);
- Value->SetValue_psz(Valbuf);
- } else {
- if (Nullable)
- Value->SetNull(true);
+ Value->Reset(); // Null value
+ } // endif ValNode
- Value->Reset(); // Null value
- } // endif ValNode
+ } else if (Sx == Tdbp->Nsub)
+ return; // Same row
+ else // Expanded value
+ Value->SetValue_psz(Valbuf + (Tdbp->Nsub * (Long + 1)));
Nx = Tdbp->Irow;
Sx = Tdbp->Nsub;
- Tdbp->NextSame = (Tdbp->Xpand && Nl->GetLength() - Sx > 1);
+ Tdbp->NextSame = (Tdbp->Xpand && N - Sx > 1);
} // end of ReadColumn
/***********************************************************************/
diff --git a/storage/connect/tabxml.h b/storage/connect/tabxml.h
index e6145f0ff88..a3dc0a2b54c 100644
--- a/storage/connect/tabxml.h
+++ b/storage/connect/tabxml.h
@@ -1,240 +1,240 @@
-
-/*************** Tabxml H Declares Source Code File (.H) ***************/
-/* Name: TABXML.H Version 1.6 */
-/* */
-/* (C) Copyright to the author Olivier BERTRAND 2007-2013 */
-/* */
-/* This file contains the XML table classes declares. */
-/***********************************************************************/
-typedef class XMLDEF *PXMLDEF;
-typedef class TDBXML *PTDBXML;
-typedef class XMLCOL *PXMLCOL;
-
-/* --------------------------- XML classes --------------------------- */
-
-/***********************************************************************/
-/* XML table. */
-/***********************************************************************/
-class DllExport XMLDEF : public TABDEF { /* Logical table description */
- friend class TDBXML;
- public:
- // Constructor
- XMLDEF(void);
-
- // Implementation
- virtual const char *GetType(void) {return "XML";}
-
- // Methods
- virtual bool DefineAM(PGLOBAL g, LPCSTR am, int poff);
- virtual PTDB GetTable(PGLOBAL g, MODE m);
-
- protected:
- // Members
- char *Fn; /* Path/Name of corresponding file */
- char *Encoding; /* New XML table file encoding */
- char *Tabname; /* Name of Table node */
- char *Rowname; /* Name of first level nodes */
- char *Colname; /* Name of second level nodes */
- char *Mulnode; /* Name of multiple node */
- char *XmlDB; /* Name of XML DB node */
- char *Nslist; /* List of namespaces to register */
- char *DefNs; /* Dummy name of default namespace */
- char *Attrib; /* Table node attributes */
- char *Hdattr; /* Header node attributes */
- int Coltype; /* Default column type */
- int Limit; /* Limit of multiple values */
- int Header; /* n first rows are header rows */
- bool Xpand; /* Put multiple tags in several rows */
- bool Usedom; /* True: DOM, False: libxml2 */
- }; // end of XMLDEF
-
-#if defined(INCLUDE_TDBXML)
-/***********************************************************************/
-/* This is the class declaration for the simple XML tables. */
-/***********************************************************************/
-class DllExport TDBXML : public TDBASE {
- friend class XMLCOL;
- friend class XMULCOL;
- friend class XPOSCOL;
- public:
- // Constructor
- TDBXML(PXMLDEF tdp);
- TDBXML(PTDBXML tdbp);
-
- // Implementation
- virtual AMT GetAmType(void) {return TYPE_AM_XML;}
- virtual PTDB Duplicate(PGLOBAL g) {return (PTDB)new(g) TDBXML(this);}
-
- // Methods
- virtual PTDB CopyOne(PTABS t);
- virtual int GetRecpos(void);
- virtual int GetProgCur(void) {return N;}
- virtual PSZ GetFile(PGLOBAL g) {return Xfile;}
- virtual void SetFile(PGLOBAL g, PSZ fn) {Xfile = fn;}
- virtual void ResetDB(void) {N = 0;}
- virtual void ResetSize(void) {MaxSize = -1;}
- virtual int RowNumber(PGLOBAL g, bool b = false);
- int LoadTableFile(PGLOBAL g, char *filename);
- bool Initialize(PGLOBAL g);
- bool SetTabNode(PGLOBAL g);
- void SetNodeAttr(PGLOBAL g, char *attr, PXNODE node);
- bool CheckRow(PGLOBAL g, bool b);
-
- // Database routines
- virtual PCOL MakeCol(PGLOBAL g, PCOLDEF cdp, PCOL cprec, int n);
- virtual PCOL InsertSpecialColumn(PGLOBAL g, PCOL colp);
-//virtual int GetMaxSame(PGLOBAL g) {return (Xpand) ? Limit : 1;}
- virtual int Cardinality(PGLOBAL g);
- virtual int GetMaxSize(PGLOBAL g);
-//virtual bool NeedIndexing(PGLOBAL g);
- virtual bool OpenDB(PGLOBAL g);
- virtual int ReadDB(PGLOBAL g);
- virtual int WriteDB(PGLOBAL g);
- virtual int DeleteDB(PGLOBAL g, int irc);
- virtual void CloseDB(PGLOBAL g);
- virtual int CheckWrite(PGLOBAL g) {Checked = true; return 0;}
- virtual const CHARSET_INFO *data_charset()
- {return &my_charset_utf8_general_ci;}
-
- protected:
- // Members
- PXDOC Docp;
- PXNODE Root;
- PXNODE Curp;
- PXNODE DBnode;
- PXNODE TabNode;
- PXNODE RowNode;
- PXNODE ColNode;
- PXLIST Nlist;
- PXLIST Clist;
- PFBLOCK To_Xb; // Pointer to XML file block
- PCOL Colp; // The multiple column
- bool Changed; // After Update, Insert or Delete
- bool Checked; // After Update check pass
- bool NextSame; // Same next row
- bool Xpand; // Put multiple tags in several rows
- bool NewRow; // True when inserting a new row
- bool Hasnod; // True if rows have subnodes
- bool Write; // True for Insert and Update
- bool Usedom; // True for DOM, False for libxml2
- bool Bufdone; // True when column buffers allocated
- bool Nodedone; // True when column nodes allocated
- bool Void; // True if the file does not exist
- char *Xfile; // The XML file
- char *Enc; // New XML table file encoding
- char *Tabname; // Name of Table node
- char *Rowname; // Name of first level nodes
- char *Colname; // Name of second level nodes
- char *Mulnode; // Name of multiple node
- char *XmlDB; // Name of XML DB node
- char *Nslist; // List of namespaces to register
- char *DefNs; // Dummy name of default namespace
- char *Attrib; // Table node attribut(s)
- char *Hdattr; // Header node attribut(s)
- int Coltype; // Default column type
- int Limit; // Limit of multiple values
- int Header; // n first rows are header rows
- int Multiple; // If multiple files
- int Nrow; // The table cardinality
- int Irow; // The current row index
- int Nsub; // The current subrow index
- int N; // The current Rowid
- }; // end of class TDBXML
-
-/***********************************************************************/
-/* Class XMLCOL: XDB table access method column descriptor. */
-/***********************************************************************/
-class XMLCOL : public COLBLK {
- public:
- // Constructors
- XMLCOL(PCOLDEF cdp, PTDB tdbp, PCOL cprec, int i, PSZ am = "XML");
- XMLCOL(XMLCOL *colp, PTDB tdbp); // Constructor used in copy process
-
- // Implementation
- virtual int GetAmType(void) {return TYPE_AM_XML;}
- virtual void SetTo_Val(PVAL valp) {To_Val = valp;}
- bool ParseXpath(PGLOBAL g, bool mode);
-
- // Methods
- virtual bool SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check);
- virtual void ReadColumn(PGLOBAL g);
- virtual void WriteColumn(PGLOBAL g);
- bool AllocBuf(PGLOBAL g, bool mode);
- void AllocNodes(PGLOBAL g, PXDOC dp);
-
- protected:
-//xmlNodePtr SelectSingleNode(xmlNodePtr node, char *name);
-
- // Default constructor not to be used
- XMLCOL(void) : COLBLK(1) {}
-
- // Members
- PXLIST Nl;
- PXLIST Nlx;
- PXNODE ColNode;
- PXNODE ValNode;
- PXNODE Cxnp;
- PXNODE Vxnp;
- PXATTR Vxap;
- PXATTR AttNode;
- PTDBXML Tdbp;
- char *Valbuf; // To the node value buffer
- char *Xname; // The node or attribute name
- char* *Nodes; // The intermediate nodes
- int Type; // 0: Attribute, 1: Tag, 2: position
- int Nod; // The number of intermediate nodes
- int Inod; // Index of multiple node
- int Rank; // Position
- bool Mul; // true for multiple column
- bool Checked; // Was checked while Updating
- int Long; // Buffer length
- int Nx; // The last read row
- int Sx; // The last read sub-row
- PVAL To_Val; // To value used for Update/Insert
- }; // end of class XMLCOL
-
-/***********************************************************************/
-/* Derived class XMLCOLX: used to replace a multiple XMLCOL by the */
-/* derived class XMULCOL that has specialize read and write functions.*/
-/* Note: this works only if the members of the derived class are the */
-/* same than the ones of the original class (NO added members). */
-/***********************************************************************/
-class XMLCOLX : public XMLCOL {
- public:
- // Fake operator new used to change a filter into a derived filter
- void * operator new(size_t size, PXMLCOL colp) {return colp;}
-#if !defined(__BORLANDC__)
- // Avoid warning C4291 by defining a matching dummy delete operator
- void operator delete(void *, size_t size) {}
- void operator delete(void *, PXMLCOL) {}
-#endif
- }; // end of class XMLCOLX
-
-/***********************************************************************/
-/* Class XMULCOL: XML table access method multiple column descriptor. */
-/***********************************************************************/
-class XMULCOL : public XMLCOLX {
- public:
- // The constructor must restore Value because XOBJECT has a void
- // constructor called by default that set Value to NULL
- XMULCOL(PVAL valp) {Value = valp; Mul = true;}
-
- // Methods
- virtual void ReadColumn(PGLOBAL g);
- virtual void WriteColumn(PGLOBAL g);
- }; // end of class XMULCOL
-
-/***********************************************************************/
-/* Class XPOSCOL: XML table column accessed by position. */
-/***********************************************************************/
-class XPOSCOL : public XMLCOLX {
- public:
- // The constructor must restore Value because XOBJECT has a void
- // constructor called by default that set Value to NULL
- XPOSCOL(PVAL valp) {Value = valp;}
-
- // Methods
- virtual void ReadColumn(PGLOBAL g);
- virtual void WriteColumn(PGLOBAL g);
- }; // end of class XPOSCOL
-#endif // INCLUDE_TDBXML
+/*************** Tabxml H Declares Source Code File (.H) ***************/
+/* Name: TABXML.H Version 1.6 */
+/* */
+/* (C) Copyright to the author Olivier BERTRAND 2007-2013 */
+/* */
+/* This file contains the XML table classes declares. */
+/***********************************************************************/
+typedef class XMLDEF *PXMLDEF;
+typedef class TDBXML *PTDBXML;
+typedef class XMLCOL *PXMLCOL;
+
+/* --------------------------- XML classes --------------------------- */
+
+/***********************************************************************/
+/* XML table. */
+/***********************************************************************/
+class DllExport XMLDEF : public TABDEF { /* Logical table description */
+ friend class TDBXML;
+ public:
+ // Constructor
+ XMLDEF(void);
+
+ // Implementation
+ virtual const char *GetType(void) {return "XML";}
+
+ // Methods
+ virtual bool DefineAM(PGLOBAL g, LPCSTR am, int poff);
+ virtual PTDB GetTable(PGLOBAL g, MODE m);
+
+ protected:
+ // Members
+ char *Fn; /* Path/Name of corresponding file */
+ char *Encoding; /* New XML table file encoding */
+ char *Tabname; /* Name of Table node */
+ char *Rowname; /* Name of first level nodes */
+ char *Colname; /* Name of second level nodes */
+ char *Mulnode; /* Name of multiple node */
+ char *XmlDB; /* Name of XML DB node */
+ char *Nslist; /* List of namespaces to register */
+ char *DefNs; /* Dummy name of default namespace */
+ char *Attrib; /* Table node attributes */
+ char *Hdattr; /* Header node attributes */
+ int Coltype; /* Default column type */
+ int Limit; /* Limit of multiple values */
+ int Header; /* n first rows are header rows */
+ bool Xpand; /* Put multiple tags in several rows */
+ bool Usedom; /* True: DOM, False: libxml2 */
+ }; // end of XMLDEF
+
+#if defined(INCLUDE_TDBXML)
+/***********************************************************************/
+/* This is the class declaration for the simple XML tables. */
+/***********************************************************************/
+class DllExport TDBXML : public TDBASE {
+ friend class XMLCOL;
+ friend class XMULCOL;
+ friend class XPOSCOL;
+ public:
+ // Constructor
+ TDBXML(PXMLDEF tdp);
+ TDBXML(PTDBXML tdbp);
+
+ // Implementation
+ virtual AMT GetAmType(void) {return TYPE_AM_XML;}
+ virtual PTDB Duplicate(PGLOBAL g) {return (PTDB)new(g) TDBXML(this);}
+
+ // Methods
+ virtual PTDB CopyOne(PTABS t);
+ virtual int GetRecpos(void);
+ virtual int GetProgCur(void) {return N;}
+ virtual PSZ GetFile(PGLOBAL g) {return Xfile;}
+ virtual void SetFile(PGLOBAL g, PSZ fn) {Xfile = fn;}
+ virtual void ResetDB(void) {N = 0;}
+ virtual void ResetSize(void) {MaxSize = -1;}
+ virtual int RowNumber(PGLOBAL g, bool b = false);
+ int LoadTableFile(PGLOBAL g, char *filename);
+ bool Initialize(PGLOBAL g);
+ bool SetTabNode(PGLOBAL g);
+ void SetNodeAttr(PGLOBAL g, char *attr, PXNODE node);
+ bool CheckRow(PGLOBAL g, bool b);
+
+ // Database routines
+ virtual PCOL MakeCol(PGLOBAL g, PCOLDEF cdp, PCOL cprec, int n);
+ virtual PCOL InsertSpecialColumn(PGLOBAL g, PCOL colp);
+//virtual int GetMaxSame(PGLOBAL g) {return (Xpand) ? Limit : 1;}
+ virtual int Cardinality(PGLOBAL g);
+ virtual int GetMaxSize(PGLOBAL g);
+//virtual bool NeedIndexing(PGLOBAL g);
+ virtual bool OpenDB(PGLOBAL g);
+ virtual int ReadDB(PGLOBAL g);
+ virtual int WriteDB(PGLOBAL g);
+ virtual int DeleteDB(PGLOBAL g, int irc);
+ virtual void CloseDB(PGLOBAL g);
+ virtual int CheckWrite(PGLOBAL g) {Checked = true; return 0;}
+ virtual const CHARSET_INFO *data_charset()
+ {return &my_charset_utf8_general_ci;}
+
+ protected:
+ // Members
+ PXDOC Docp;
+ PXNODE Root;
+ PXNODE Curp;
+ PXNODE DBnode;
+ PXNODE TabNode;
+ PXNODE RowNode;
+ PXNODE ColNode;
+ PXLIST Nlist;
+ PXLIST Clist;
+ PFBLOCK To_Xb; // Pointer to XML file block
+ PCOL Colp; // The multiple column
+ bool Changed; // After Update, Insert or Delete
+ bool Checked; // After Update check pass
+ bool NextSame; // Same next row
+ bool Xpand; // Put multiple tags in several rows
+ bool NewRow; // True when inserting a new row
+ bool Hasnod; // True if rows have subnodes
+ bool Write; // True for Insert and Update
+ bool Usedom; // True for DOM, False for libxml2
+ bool Bufdone; // True when column buffers allocated
+ bool Nodedone; // True when column nodes allocated
+ bool Void; // True if the file does not exist
+ char *Xfile; // The XML file
+ char *Enc; // New XML table file encoding
+ char *Tabname; // Name of Table node
+ char *Rowname; // Name of first level nodes
+ char *Colname; // Name of second level nodes
+ char *Mulnode; // Name of multiple node
+ char *XmlDB; // Name of XML DB node
+ char *Nslist; // List of namespaces to register
+ char *DefNs; // Dummy name of default namespace
+ char *Attrib; // Table node attribut(s)
+ char *Hdattr; // Header node attribut(s)
+ int Coltype; // Default column type
+ int Limit; // Limit of multiple values
+ int Header; // n first rows are header rows
+ int Multiple; // If multiple files
+ int Nrow; // The table cardinality
+ int Irow; // The current row index
+ int Nsub; // The current subrow index
+ int N; // The current Rowid
+ }; // end of class TDBXML
+
+/***********************************************************************/
+/* Class XMLCOL: XDB table access method column descriptor. */
+/***********************************************************************/
+class XMLCOL : public COLBLK {
+ public:
+ // Constructors
+ XMLCOL(PCOLDEF cdp, PTDB tdbp, PCOL cprec, int i, PSZ am = "XML");
+ XMLCOL(XMLCOL *colp, PTDB tdbp); // Constructor used in copy process
+
+ // Implementation
+ virtual int GetAmType(void) {return TYPE_AM_XML;}
+ virtual void SetTo_Val(PVAL valp) {To_Val = valp;}
+ bool ParseXpath(PGLOBAL g, bool mode);
+
+ // Methods
+ virtual bool SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check);
+ virtual void ReadColumn(PGLOBAL g);
+ virtual void WriteColumn(PGLOBAL g);
+ bool AllocBuf(PGLOBAL g, bool mode);
+ void AllocNodes(PGLOBAL g, PXDOC dp);
+
+ protected:
+//xmlNodePtr SelectSingleNode(xmlNodePtr node, char *name);
+
+ // Default constructor not to be used
+ XMLCOL(void) : COLBLK(1) {}
+
+ // Members
+ PXLIST Nl;
+ PXLIST Nlx;
+ PXNODE ColNode;
+ PXNODE ValNode;
+ PXNODE Cxnp;
+ PXNODE Vxnp;
+ PXATTR Vxap;
+ PXATTR AttNode;
+ PTDBXML Tdbp;
+ char *Valbuf; // To the node value buffer
+ char *Xname; // The node or attribute name
+ char* *Nodes; // The intermediate nodes
+ int Type; // 0: Attribute, 1: Tag, 2: position
+ int Nod; // The number of intermediate nodes
+ int Inod; // Index of multiple node
+ int Rank; // Position
+ bool Mul; // true for multiple column
+ bool Checked; // Was checked while Updating
+ int Long; // Buffer length
+ int Nx; // The last read row
+ int Sx; // The last read sub-row
+ int N; // The number of (multiple) values
+ PVAL To_Val; // To value used for Update/Insert
+ }; // end of class XMLCOL
+
+/***********************************************************************/
+/* Derived class XMLCOLX: used to replace a multiple XMLCOL by the */
+/* derived class XMULCOL that has specialize read and write functions.*/
+/* Note: this works only if the members of the derived class are the */
+/* same than the ones of the original class (NO added members). */
+/***********************************************************************/
+class XMLCOLX : public XMLCOL {
+ public:
+ // Fake operator new used to change a filter into a derived filter
+ void * operator new(size_t size, PXMLCOL colp) {return colp;}
+#if !defined(__BORLANDC__)
+ // Avoid warning C4291 by defining a matching dummy delete operator
+ void operator delete(void *, size_t size) {}
+ void operator delete(void *, PXMLCOL) {}
+#endif
+ }; // end of class XMLCOLX
+
+/***********************************************************************/
+/* Class XMULCOL: XML table access method multiple column descriptor. */
+/***********************************************************************/
+class XMULCOL : public XMLCOLX {
+ public:
+ // The constructor must restore Value because XOBJECT has a void
+ // constructor called by default that set Value to NULL
+ XMULCOL(PVAL valp) {Value = valp; Mul = true;}
+
+ // Methods
+ virtual void ReadColumn(PGLOBAL g);
+ virtual void WriteColumn(PGLOBAL g);
+ }; // end of class XMULCOL
+
+/***********************************************************************/
+/* Class XPOSCOL: XML table column accessed by position. */
+/***********************************************************************/
+class XPOSCOL : public XMLCOLX {
+ public:
+ // The constructor must restore Value because XOBJECT has a void
+ // constructor called by default that set Value to NULL
+ XPOSCOL(PVAL valp) {Value = valp;}
+
+ // Methods
+ virtual void ReadColumn(PGLOBAL g);
+ virtual void WriteColumn(PGLOBAL g);
+ }; // end of class XPOSCOL
+#endif // INCLUDE_TDBXML
diff --git a/storage/connect/valblk.cpp b/storage/connect/valblk.cpp
index c0fa37aab6e..8e7618a9dde 100644
--- a/storage/connect/valblk.cpp
+++ b/storage/connect/valblk.cpp
@@ -188,7 +188,7 @@ bool VALBLK::AllocBuff(PGLOBAL g, size_t size)
Mblk.Size = size;
if (!(Blkp = PlgDBalloc(g, NULL, Mblk))) {
- sprintf(g->Message, MSG(MEM_ALLOC_ERR), "Blkp", Mblk.Size);
+ sprintf(g->Message, MSG(MEM_ALLOC_ERR), "Blkp", (int) Mblk.Size);
fprintf(stderr, "%s\n", g->Message);
return true;
} // endif Blkp
@@ -601,7 +601,7 @@ int TYPBLK<TYPE>::GetMaxLength(void)
for (i = n = 0; i < Nval; i++) {
m = sprintf(buf, Fmt, Typp[i]);
- n = max(n, m);
+ n = MY_MAX(n, m);
} // endfor i
return n;
@@ -798,7 +798,7 @@ void CHRBLK::SetValue(char *sp, uint len, int n)
#endif // _DEBUG
if (sp)
- memcpy(p, sp, min((unsigned)Long, len));
+ memcpy(p, sp, MY_MIN((unsigned)Long, len));
if (Blanks) {
// Suppress eventual ending zero and right fill with blanks
@@ -994,7 +994,7 @@ int CHRBLK::GetMaxLength(void)
for (i = n = 0; i < Nval; i++)
if (!IsNull(i)) {
GetValPtrEx(i);
- n = max(n, (signed)strlen(Valp));
+ n = MY_MAX(n, (signed)strlen(Valp));
} // endif null
return n;
@@ -1296,7 +1296,7 @@ int STRBLK::GetMaxLength(void)
for (i = n = 0; i < Nval; i++)
if (Strp[i])
- n = max(n, (signed)strlen(Strp[i]));
+ n = MY_MAX(n, (signed)strlen(Strp[i]));
return n;
} // end of GetMaxLength
diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp
index abeea89232b..3541ebedd39 100644
--- a/storage/connect/value.cpp
+++ b/storage/connect/value.cpp
@@ -722,7 +722,7 @@ bool TYPVAL<double>::SetValue_char(char *p, int n)
for (; n > 0 && *p == ' '; p++)
n--;
- memcpy(buf, p, min(n, 31));
+ memcpy(buf, p, MY_MIN(n, 31));
buf[n] = '\0';
Tval = atof(buf);
@@ -1157,8 +1157,8 @@ bool TYPVAL<PSZ>::SetValue_char(char *p, int n)
if (p) {
rc = n > Len;
- if ((n = min(n, Len))) {
- strncpy(Strp, p, n);
+ if ((n = MY_MIN(n, Len))) {
+ strncpy(Strp, p, n);
// for (p = Strp + n - 1; p >= Strp && (*p == ' ' || *p == '\0'); p--) ;
for (p = Strp + n - 1; p >= Strp; p--)
@@ -1577,8 +1577,8 @@ bool DECVAL::SetValue_char(char *p, int n)
if (p) {
rc = n > Len;
- if ((n = min(n, Len))) {
- strncpy(Strp, p, n);
+ if ((n = MY_MIN(n, Len))) {
+ strncpy(Strp, p, n);
// for (p = Strp + n - 1; p >= Strp && (*p == ' ' || *p == '\0'); p--) ;
for (p = Strp + n - 1; p >= Strp; p--)
@@ -1864,7 +1864,7 @@ bool BINVAL::SetValue_char(char *p, int n)
if (p) {
rc = n > Clen;
- Len = min(n, Clen);
+ Len = MY_MIN(n, Clen);
memcpy(Binp, p, Len);
Null = false;
} else {
@@ -1882,7 +1882,7 @@ bool BINVAL::SetValue_char(char *p, int n)
void BINVAL::SetValue_psz(PSZ s)
{
if (s) {
- Len = min(Clen, (signed)strlen(s));
+ Len = MY_MIN(Clen, (signed)strlen(s));
memcpy(Binp, s, Len);
Null = false;
} else {
@@ -1909,7 +1909,7 @@ void BINVAL::SetValue_pvblk(PVBLK blk, int n)
else
Len = blk->GetVlen();
- Len = min(Clen, Len);
+ Len = MY_MIN(Clen, Len);
memcpy(Binp, vp, Len);
Null = false;
} // endif vp
@@ -2058,7 +2058,7 @@ bool BINVAL::GetBinValue(void *buf, int buflen, bool go)
/***********************************************************************/
char *BINVAL::ShowValue(char *buf, int len)
{
- int n = min(Len, len / 2);
+ int n = MY_MIN(Len, len / 2);
sprintf(buf, GetXfmt(), n, Binp);
return buf;
diff --git a/storage/connect/xindex.cpp b/storage/connect/xindex.cpp
index 55e0a08b5c2..66b8abe2e9b 100755
--- a/storage/connect/xindex.cpp
+++ b/storage/connect/xindex.cpp
@@ -478,7 +478,7 @@ bool XINDEX::Make(PGLOBAL g, PIXDEF sxp)
for (kcp = To_KeyCol; kcp; kcp = kcp->Next)
kcp->Move(i, Pof[i]);
- MaxSame = max(MaxSame, Pof[i + 1] - Pof[i]);
+ MaxSame = MY_MAX(MaxSame, Pof[i + 1] - Pof[i]);
} // endfor i
for (kcp = To_KeyCol; kcp; kcp = kcp->Next)
@@ -615,7 +615,7 @@ int XINDEX::ColMaxSame(PXCOL kp)
ck2 = kof[ck2];
} // endfor kcp
- ckn = max(ckn, ck2 - ck1);
+ ckn = MY_MAX(ckn, ck2 - ck1);
} // endfor i
return ckn;
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc
index a3691564310..930c4f38633 100644
--- a/storage/example/ha_example.cc
+++ b/storage/example/ha_example.cc
@@ -1,4 +1,5 @@
-/* Copyright (c) 2004, 2011, Oracle and/or its affiliates.
+/* Copyright (c) 2004, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2010, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -905,84 +906,84 @@ int ha_example::create(const char *name, TABLE *table_arg,
/**
- check_if_incompatible_data() called if ALTER TABLE can't detect otherwise
- if new and old definition are compatible
-
- @details If there are no other explicit signs like changed number of
- fields this function will be called by compare_tables()
- (sql/sql_tables.cc) to decide should we rewrite whole table or only .frm
- file.
-
+ check_if_supported_inplace_alter() is used to ask the engine whether
+ it can execute this ALTER TABLE statement in place or the server needs to
+ create a new table and copy th data over.
+
+ The engine may answer that the inplace alter is not supported or,
+ if supported, whether the server should protect the table from concurrent
+ accesses. Return values are
+
+ HA_ALTER_INPLACE_NOT_SUPPORTED
+ HA_ALTER_INPLACE_EXCLUSIVE_LOCK
+ HA_ALTER_INPLACE_SHARED_LOCK
+ etc
*/
-bool ha_example::check_if_incompatible_data(HA_CREATE_INFO *info,
- uint table_changes)
+enum_alter_inplace_result
+ha_example::check_if_supported_inplace_alter(TABLE* altered_table,
+ Alter_inplace_info* ha_alter_info)
{
- ha_table_option_struct *param_old, *param_new;
- DBUG_ENTER("ha_example::check_if_incompatible_data");
- /*
- This example shows how custom engine specific table and field
- options can be accessed from this function to be compared.
- */
- param_new= info->option_struct;
- DBUG_PRINT("info", ("new strparam: '%-.64s' ullparam: %llu enumparam: %u "
- "boolparam: %u",
- (param_new->strparam ? param_new->strparam : "<NULL>"),
- param_new->ullparam, param_new->enumparam,
- param_new->boolparam));
-
- param_old= table->s->option_struct;
- DBUG_PRINT("info", ("old strparam: '%-.64s' ullparam: %llu enumparam: %u "
- "boolparam: %u",
- (param_old->strparam ? param_old->strparam : "<NULL>"),
- param_old->ullparam, param_old->enumparam,
- param_old->boolparam));
-
- /*
- check important parameters:
- for this example engine, we'll assume that changing ullparam or
- boolparam requires a table to be rebuilt, while changing strparam
- or enumparam - does not.
-
- For debugging purposes we'll announce this to the user
- (don't do it in production!)
+ HA_CREATE_INFO *info= ha_alter_info->create_info;
+ DBUG_ENTER("ha_example::check_if_supported_inplace_alter");
- */
- if (param_new->ullparam != param_old->ullparam)
+ if (ha_alter_info->handler_flags & Alter_inplace_info::CHANGE_CREATE_OPTION)
{
- push_warning_printf(ha_thd(), Sql_condition::WARN_LEVEL_NOTE,
- ER_UNKNOWN_ERROR, "EXAMPLE DEBUG: ULL %llu -> %llu",
- param_old->ullparam, param_new->ullparam);
- DBUG_RETURN(COMPATIBLE_DATA_NO);
- }
+ /*
+ This example shows how custom engine specific table and field
+ options can be accessed from this function to be compared.
+ */
+ ha_table_option_struct *param_new= info->option_struct;
+ ha_table_option_struct *param_old= table->s->option_struct;
+
+ /*
+ check important parameters:
+ for this example engine, we'll assume that changing ullparam or
+ boolparam requires a table to be rebuilt, while changing strparam
+ or enumparam - does not.
+
+ For debugging purposes we'll announce this to the user
+ (don't do it in production!)
+
+ */
+ if (param_new->ullparam != param_old->ullparam)
+ {
+ push_warning_printf(ha_thd(), Sql_condition::WARN_LEVEL_NOTE,
+ ER_UNKNOWN_ERROR, "EXAMPLE DEBUG: ULL %llu -> %llu",
+ param_old->ullparam, param_new->ullparam);
+ DBUG_RETURN(HA_ALTER_INPLACE_NOT_SUPPORTED);
+ }
- if (param_new->boolparam != param_old->boolparam)
- {
- push_warning_printf(ha_thd(), Sql_condition::WARN_LEVEL_NOTE,
- ER_UNKNOWN_ERROR, "EXAMPLE DEBUG: YESNO %u -> %u",
- param_old->boolparam, param_new->boolparam);
- DBUG_RETURN(COMPATIBLE_DATA_NO);
+ if (param_new->boolparam != param_old->boolparam)
+ {
+ push_warning_printf(ha_thd(), Sql_condition::WARN_LEVEL_NOTE,
+ ER_UNKNOWN_ERROR, "EXAMPLE DEBUG: YESNO %u -> %u",
+ param_old->boolparam, param_new->boolparam);
+ DBUG_RETURN(HA_ALTER_INPLACE_NOT_SUPPORTED);
+ }
}
- for (uint i= 0; i < table->s->fields; i++)
+ if (ha_alter_info->handler_flags & Alter_inplace_info::ALTER_COLUMN_OPTION)
{
- ha_field_option_struct *f_old, *f_new;
- f_old= table->s->field[i]->option_struct;
- DBUG_ASSERT(f_old);
- if (info->fields_option_struct[i])
+ for (uint i= 0; i < table->s->fields; i++)
{
- f_new= info->fields_option_struct[i];
- push_warning_printf(ha_thd(), Sql_condition::WARN_LEVEL_NOTE,
- ER_UNKNOWN_ERROR, "EXAMPLE DEBUG: Field %`s COMPLEX '%s' -> '%s'",
- table->s->field[i]->field_name,
- f_old->complex_param_to_parse_it_in_engine,
- f_new->complex_param_to_parse_it_in_engine);
+ ha_field_option_struct *f_old= table->s->field[i]->option_struct;
+ ha_field_option_struct *f_new= info->fields_option_struct[i];
+ DBUG_ASSERT(f_old);
+ if (f_new)
+ {
+ push_warning_printf(ha_thd(), Sql_condition::WARN_LEVEL_NOTE,
+ ER_UNKNOWN_ERROR, "EXAMPLE DEBUG: Field %`s COMPLEX '%s' -> '%s'",
+ table->s->field[i]->field_name,
+ f_old->complex_param_to_parse_it_in_engine,
+ f_new->complex_param_to_parse_it_in_engine);
+ }
+ else
+ DBUG_PRINT("info", ("old field %i did not changed", i));
}
- else
- DBUG_PRINT("info", ("old field %i did not changed", i));
}
- DBUG_RETURN(COMPATIBLE_DATA_YES);
+ DBUG_RETURN(HA_ALTER_INPLACE_EXCLUSIVE_LOCK);
}
diff --git a/storage/example/ha_example.h b/storage/example/ha_example.h
index d25541f7422..2d3d0c81ed9 100644
--- a/storage/example/ha_example.h
+++ b/storage/example/ha_example.h
@@ -247,8 +247,9 @@ public:
int delete_table(const char *from);
int create(const char *name, TABLE *form,
HA_CREATE_INFO *create_info); ///< required
- bool check_if_incompatible_data(HA_CREATE_INFO *info,
- uint table_changes);
+ enum_alter_inplace_result
+ check_if_supported_inplace_alter(TABLE* altered_table,
+ Alter_inplace_info* ha_alter_info);
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type); ///< required
diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc
index 644f6c2a04e..4608aedd129 100644
--- a/storage/federated/ha_federated.cc
+++ b/storage/federated/ha_federated.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2004, 2011, Oracle and/or its affiliates.
+/* Copyright (c) 2004, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1004,7 +1004,7 @@ static bool emit_key_part_element(String *to, KEY_PART_INFO *part,
uint blob_length= uint2korr(ptr);
blob.set_quick((char*) ptr+HA_KEY_BLOB_LENGTH,
blob_length, &my_charset_bin);
- if (append_escaped(to, &blob))
+ if (to->append_for_single_quote(&blob))
DBUG_RETURN(1);
}
else if (part->key_part_flag & HA_VAR_LENGTH_PART)
@@ -1013,7 +1013,7 @@ static bool emit_key_part_element(String *to, KEY_PART_INFO *part,
uint var_length= uint2korr(ptr);
varchar.set_quick((char*) ptr+HA_KEY_BLOB_LENGTH,
var_length, &my_charset_bin);
- if (append_escaped(to, &varchar))
+ if (to->append_for_single_quote(&varchar))
DBUG_RETURN(1);
}
else
@@ -1025,7 +1025,7 @@ static bool emit_key_part_element(String *to, KEY_PART_INFO *part,
if (field->result_type() == STRING_RESULT)
{
- if (append_escaped(to, res))
+ if (to->append_for_single_quote(res))
DBUG_RETURN(1);
}
else if (to->append(res->ptr(), res->length()))
@@ -1466,7 +1466,7 @@ prepare_for_next_key_part:
ptr was incremented by 1. Since store_length still counts null-byte,
we need to subtract 1 from store_length.
*/
- ptr+= store_length - test(key_part->null_bit);
+ ptr+= store_length - MY_TEST(key_part->null_bit);
if (tmp.append(STRING_WITH_LEN(" AND ")))
goto err;
@@ -2129,7 +2129,7 @@ int ha_federated::update_row(const uchar *old_data, uchar *new_data)
this? Because we only are updating one record, and LIMIT enforces
this.
*/
- bool has_a_primary_key= test(table->s->primary_key != MAX_KEY);
+ bool has_a_primary_key= MY_TEST(table->s->primary_key != MAX_KEY);
/*
buffers for following strings
@@ -2332,7 +2332,6 @@ int ha_federated::delete_row(const uchar *buf)
DBUG_RETURN(0);
}
-
/*
Positions an index cursor to the index specified in the handle. Fetches the
row if available. If the key value is null, begin at the first key of the
@@ -2725,7 +2724,8 @@ void ha_federated::position(const uchar *record __attribute__ ((unused)))
{
DBUG_ENTER("ha_federated::position");
- DBUG_ASSERT(stored_result);
+ if (!stored_result)
+ DBUG_VOID_RETURN;
position_called= TRUE;
/* Store result set address. */
@@ -3119,14 +3119,6 @@ int ha_federated::real_connect()
String sql_query(buffer, sizeof(buffer), &my_charset_bin);
DBUG_ENTER("ha_federated::real_connect");
- /*
- Bug#25679
- Ensure that we do not hold the LOCK_open mutex while attempting
- to establish Federated connection to guard against a trivial
- Denial of Service scenerio.
- */
- mysql_mutex_assert_not_owner(&LOCK_open);
-
DBUG_ASSERT(mysql == NULL);
if (!(mysql= mysql_init(NULL)))
@@ -3474,6 +3466,6 @@ maria_declare_plugin(federated)
NULL, /* status variables */
NULL, /* system variables */
"1.0", /* string version */
- MariaDB_PLUGIN_MATURITY_BETA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
}
maria_declare_plugin_end;
diff --git a/storage/federated/ha_federated.h b/storage/federated/ha_federated.h
index 31f33f5f789..cfda0eadf3e 100644
--- a/storage/federated/ha_federated.h
+++ b/storage/federated/ha_federated.h
@@ -1,5 +1,4 @@
-/*
- Copyright (c) 2004, 2011, Oracle and/or its affiliates
+/* Copyright (c) 2004, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/federatedx/CMakeLists.txt b/storage/federatedx/CMakeLists.txt
index 24d64585ddb..67b6c1c96bb 100644
--- a/storage/federatedx/CMakeLists.txt
+++ b/storage/federatedx/CMakeLists.txt
@@ -1,4 +1,4 @@
-SET(FEDERATEDX_PLUGIN_STATIC "federatedx")
-SET(FEDERATEDX_PLUGIN_DYNAMIC "ha_federatedx")
-SET(FEDERATEDX_SOURCES ha_federatedx.cc federatedx_txn.cc federatedx_io.cc federatedx_io_null.cc federatedx_io_mysql.cc)
-MYSQL_ADD_PLUGIN(federatedx ${FEDERATEDX_SOURCES} STORAGE_ENGINE)
+SET(FEDERATEDX_PLUGIN_STATIC "federatedx")
+SET(FEDERATEDX_PLUGIN_DYNAMIC "ha_federatedx")
+SET(FEDERATEDX_SOURCES ha_federatedx.cc federatedx_txn.cc federatedx_io.cc federatedx_io_null.cc federatedx_io_mysql.cc)
+MYSQL_ADD_PLUGIN(federatedx ${FEDERATEDX_SOURCES} STORAGE_ENGINE)
diff --git a/storage/federatedx/federatedx_io_mysql.cc b/storage/federatedx/federatedx_io_mysql.cc
index e64656074ab..2933073a679 100644
--- a/storage/federatedx/federatedx_io_mysql.cc
+++ b/storage/federatedx/federatedx_io_mysql.cc
@@ -62,6 +62,7 @@ struct mysql_position
class federatedx_io_mysql :public federatedx_io
{
MYSQL mysql; /* MySQL connection */
+ MYSQL_ROWS *current;
DYNAMIC_ARRAY savepoints;
bool requested_autocommit;
bool actual_autocommit;
@@ -514,7 +515,9 @@ my_ulonglong federatedx_io_mysql::get_num_rows(FEDERATEDX_IO_RESULT *io_result)
FEDERATEDX_IO_ROW *federatedx_io_mysql::fetch_row(FEDERATEDX_IO_RESULT *io_result)
{
- return (FEDERATEDX_IO_ROW *) mysql_fetch_row((MYSQL_RES *) io_result);
+ MYSQL_RES *result= (MYSQL_RES*)io_result;
+ current= result->data_cursor;
+ return (FEDERATEDX_IO_ROW *) mysql_fetch_row(result);
}
@@ -623,19 +626,9 @@ size_t federatedx_io_mysql::get_ref_length() const
void federatedx_io_mysql::mark_position(FEDERATEDX_IO_RESULT *io_result,
void *ref)
{
- MYSQL_ROWS *tmp= 0;
mysql_position& pos= *reinterpret_cast<mysql_position*>(ref);
pos.result= (MYSQL_RES *) io_result;
-
- if (pos.result && pos.result->data)
- {
- for (tmp= pos.result->data->data;
- tmp && (tmp->next != pos.result->data_cursor);
- tmp= tmp->next)
- {}
- }
-
- pos.offset= tmp;
+ pos.offset= current;
}
int federatedx_io_mysql::seek_position(FEDERATEDX_IO_RESULT **io_result,
diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc
index f8ec026be66..8d41ca2d1b3 100644
--- a/storage/federatedx/ha_federatedx.cc
+++ b/storage/federatedx/ha_federatedx.cc
@@ -925,7 +925,7 @@ static bool emit_key_part_element(String *to, KEY_PART_INFO *part,
uint blob_length= uint2korr(ptr);
blob.set_quick((char*) ptr+HA_KEY_BLOB_LENGTH,
blob_length, &my_charset_bin);
- if (append_escaped(to, &blob))
+ if (to->append_for_single_quote(&blob))
DBUG_RETURN(1);
}
else if (part->key_part_flag & HA_VAR_LENGTH_PART)
@@ -934,7 +934,7 @@ static bool emit_key_part_element(String *to, KEY_PART_INFO *part,
uint var_length= uint2korr(ptr);
varchar.set_quick((char*) ptr+HA_KEY_BLOB_LENGTH,
var_length, &my_charset_bin);
- if (append_escaped(to, &varchar))
+ if (to->append_for_single_quote(&varchar))
DBUG_RETURN(1);
}
else
@@ -946,7 +946,7 @@ static bool emit_key_part_element(String *to, KEY_PART_INFO *part,
if (field->result_type() == STRING_RESULT)
{
- if (append_escaped(to, res))
+ if (to->append_for_single_quote(res))
DBUG_RETURN(1);
}
else if (to->append(res->ptr(), res->length()))
@@ -1386,7 +1386,7 @@ prepare_for_next_key_part:
ptr was incremented by 1. Since store_length still counts null-byte,
we need to subtract 1 from store_length.
*/
- ptr+= store_length - test(key_part->null_bit);
+ ptr+= store_length - MY_TEST(key_part->null_bit);
if (tmp.append(STRING_WITH_LEN(" AND ")))
goto err;
@@ -2286,7 +2286,7 @@ int ha_federatedx::update_row(const uchar *old_data, uchar *new_data)
this? Because we only are updating one record, and LIMIT enforces
this.
*/
- bool has_a_primary_key= test(table->s->primary_key != MAX_KEY);
+ bool has_a_primary_key= MY_TEST(table->s->primary_key != MAX_KEY);
/*
buffers for following strings
@@ -2716,7 +2716,8 @@ int ha_federatedx::read_range_next()
int ha_federatedx::index_next(uchar *buf)
{
DBUG_ENTER("ha_federatedx::index_next");
- DBUG_RETURN(read_next(buf, stored_result));
+ int retval=read_next(buf, stored_result);
+ DBUG_RETURN(retval);
}
@@ -2871,7 +2872,8 @@ int ha_federatedx::rnd_next(uchar *buf)
*/
DBUG_RETURN(1);
}
- DBUG_RETURN(read_next(buf, stored_result));
+ int retval=read_next(buf, stored_result);
+ DBUG_RETURN(retval);
}
@@ -2942,10 +2944,11 @@ void ha_federatedx::position(const uchar *record __attribute__ ((unused)))
{
DBUG_ENTER("ha_federatedx::position");
- bzero(ref, ref_length);
-
if (!stored_result)
+ {
+ bzero(ref, ref_length);
DBUG_VOID_RETURN;
+ }
if (txn->acquire(share, TRUE, &io))
DBUG_VOID_RETURN;
@@ -3381,14 +3384,6 @@ int ha_federatedx::create(const char *name, TABLE *table_arg,
{
FEDERATEDX_SERVER server;
- /*
- Bug#25679
- Ensure that we do not hold the LOCK_open mutex while attempting
- to establish FederatedX connection to guard against a trivial
- Denial of Service scenerio.
- */
- mysql_mutex_assert_not_owner(&LOCK_open);
-
fill_server(thd->mem_root, &server, &tmp_share, create_info->table_charset);
#ifndef DBUG_OFF
@@ -3658,6 +3653,6 @@ maria_declare_plugin(federatedx)
NULL, /* status variables */
NULL, /* system variables */
"2.1", /* string version */
- MariaDB_PLUGIN_MATURITY_BETA /* maturity */
+ MariaDB_PLUGIN_MATURITY_STABLE /* maturity */
}
maria_declare_plugin_end;
diff --git a/storage/heap/_check.c b/storage/heap/_check.c
index e6a56bccdbf..b64c9ab1831 100644
--- a/storage/heap/_check.c
+++ b/storage/heap/_check.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2006 MySQL AB
+/* Copyright (c) 2000, 2002-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/_rectest.c b/storage/heap/_rectest.c
index f3f893114b4..f2cadad4274 100644
--- a/storage/heap/_rectest.c
+++ b/storage/heap/_rectest.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/ha_heap.cc b/storage/heap/ha_heap.cc
index b9ff9d28159..5631d60a10a 100644
--- a/storage/heap/ha_heap.cc
+++ b/storage/heap/ha_heap.cc
@@ -90,7 +90,7 @@ ha_heap::ha_heap(handlerton *hton, TABLE_SHARE *table_arg)
int ha_heap::open(const char *name, int mode, uint test_if_locked)
{
- internal_table= test(test_if_locked & HA_OPEN_INTERNAL_TABLE);
+ internal_table= MY_TEST(test_if_locked & HA_OPEN_INTERNAL_TABLE);
if (internal_table || (!(file= heap_open(name, mode)) && my_errno == ENOENT))
{
HP_CREATE_INFO create_info;
@@ -106,7 +106,7 @@ int ha_heap::open(const char *name, int mode, uint test_if_locked)
if (rc)
goto end;
- implicit_emptied= test(created_new_share);
+ implicit_emptied= MY_TEST(created_new_share);
if (internal_table)
file= heap_open_from_share(internal_share, mode);
else
@@ -215,7 +215,7 @@ void ha_heap::update_key_stats()
else
{
ha_rows hash_buckets= file->s->keydef[i].hash_buckets;
- uint no_records= hash_buckets ? (uint) (file->s->records/hash_buckets) : 2;
+ ha_rows no_records= hash_buckets ? (file->s->records/hash_buckets) : 2;
if (no_records < 2)
no_records= 2;
key->rec_per_key[key->user_defined_key_parts-1]= no_records;
@@ -244,6 +244,7 @@ int ha_heap::write_row(uchar * buf)
We can perform this safely since only one writer at the time is
allowed on the table.
*/
+ records_changed= 0;
file->s->key_stat_version++;
}
return res;
@@ -260,6 +261,7 @@ int ha_heap::update_row(const uchar * old_data, uchar * new_data)
We can perform this safely since only one writer at the time is
allowed on the table.
*/
+ records_changed= 0;
file->s->key_stat_version++;
}
return res;
@@ -276,6 +278,7 @@ int ha_heap::delete_row(const uchar * buf)
We can perform this safely since only one writer at the time is
allowed on the table.
*/
+ records_changed= 0;
file->s->key_stat_version++;
}
return res;
@@ -726,8 +729,8 @@ heap_prepare_hp_create_info(TABLE *table_arg, bool internal_table,
if (share->max_rows && share->max_rows < max_rows)
max_rows= share->max_rows;
- hp_create_info->max_records= (ulong) max_rows;
- hp_create_info->min_records= (ulong) share->min_rows;
+ hp_create_info->max_records= (ulong) MY_MIN(max_rows, ULONG_MAX);
+ hp_create_info->min_records= (ulong) MY_MIN(share->min_rows, ULONG_MAX);
hp_create_info->keys= share->keys;
hp_create_info->reclength= share->reclength;
hp_create_info->keydef= keydef;
diff --git a/storage/heap/ha_heap.h b/storage/heap/ha_heap.h
index 74824b66c42..503d3b896ac 100644
--- a/storage/heap/ha_heap.h
+++ b/storage/heap/ha_heap.h
@@ -31,7 +31,7 @@ class ha_heap: public handler
HP_SHARE *internal_share;
key_map btree_keys;
/* number of records changed since last statistics update */
- uint records_changed;
+ ulong records_changed;
uint key_stat_version;
my_bool internal_table;
public:
diff --git a/storage/heap/hp_create.c b/storage/heap/hp_create.c
index e286ff69e61..30831f229ac 100644
--- a/storage/heap/hp_create.c
+++ b/storage/heap/hp_create.c
@@ -248,7 +248,7 @@ static int keys_compare(heap_rb_param *param, uchar *key1, uchar *key2)
static void init_block(HP_BLOCK *block, uint reclength, ulong min_records,
ulong max_records)
{
- uint i,recbuffer,records_in_block;
+ ulong i,recbuffer,records_in_block;
/*
If not min_records and max_records are given, optimize for 1000 rows
@@ -276,7 +276,7 @@ static void init_block(HP_BLOCK *block, uint reclength, ulong min_records,
The + 1 is there to ensure that we get at least 1 row per level (for
the exceptional case of very long rows)
*/
- if (records_in_block*recbuffer >
+ if ((ulonglong) records_in_block*recbuffer >
(my_default_record_cache_size-sizeof(HP_PTRS)*HP_MAX_LEVELS))
records_in_block= (my_default_record_cache_size - sizeof(HP_PTRS) *
HP_MAX_LEVELS) / recbuffer + 1;
diff --git a/storage/heap/hp_delete.c b/storage/heap/hp_delete.c
index 0ae3f615a52..1cbfe7408d4 100644
--- a/storage/heap/hp_delete.c
+++ b/storage/heap/hp_delete.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2002, 2004-2007 MySQL AB
+/* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -68,7 +68,7 @@ int hp_rb_delete_key(HP_INFO *info, register HP_KEYDEF *keyinfo,
const uchar *record, uchar *recpos, int flag)
{
heap_rb_param custom_arg;
- uint old_allocated;
+ ulong old_allocated;
int res;
if (flag)
diff --git a/storage/heap/hp_extra.c b/storage/heap/hp_extra.c
index e44cecd45fa..c83efd5af61 100644
--- a/storage/heap/hp_extra.c
+++ b/storage/heap/hp_extra.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001, 2004 MySQL AB
+/* Copyright (c) 2000, 2004-2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_hash.c b/storage/heap/hp_hash.c
index 2abed55459c..993d3377b73 100644
--- a/storage/heap/hp_hash.c
+++ b/storage/heap/hp_hash.c
@@ -640,7 +640,7 @@ int hp_key_cmp(HP_KEYDEF *keydef, const uchar *rec, const uchar *key)
{
if (seg->null_bit)
{
- int found_null=test(rec[seg->null_pos] & seg->null_bit);
+ int found_null= MY_TEST(rec[seg->null_pos] & seg->null_bit);
if (found_null != (int) *key++)
return 1;
if (found_null)
@@ -737,7 +737,7 @@ void hp_make_key(HP_KEYDEF *keydef, uchar *key, const uchar *rec)
uint char_length= seg->length;
uchar *pos= (uchar*) rec + seg->start;
if (seg->null_bit)
- *key++= test(rec[seg->null_pos] & seg->null_bit);
+ *key++= MY_TEST(rec[seg->null_pos] & seg->null_bit);
if (cs->mbmaxlen > 1)
{
char_length= my_charpos(cs, pos, pos + seg->length,
@@ -776,7 +776,7 @@ uint hp_rb_make_key(HP_KEYDEF *keydef, uchar *key,
uint char_length;
if (seg->null_bit)
{
- if (!(*key++= 1 - test(rec[seg->null_pos] & seg->null_bit)))
+ if (!(*key++= 1 - MY_TEST(rec[seg->null_pos] & seg->null_bit)))
continue;
}
if (seg->flag & HA_SWAP_KEY)
@@ -875,9 +875,19 @@ uint hp_rb_pack_key(HP_KEYDEF *keydef, uchar *key, const uchar *old,
keypart_map>>= 1;
if (seg->null_bit)
{
+ /* Convert NULL from MySQL representation into HEAP's. */
if (!(*key++= (char) 1 - *old++))
+ {
+ /*
+ Skip length part of a variable length field.
+ Length of key-part used with heap_rkey() always 2.
+ See also hp_hashnr().
+ */
+ if (seg->flag & (HA_VAR_LENGTH_PART | HA_BLOB_PART))
+ old+= 2;
continue;
}
+ }
if (seg->flag & HA_SWAP_KEY)
{
uint length= seg->length;
diff --git a/storage/heap/hp_open.c b/storage/heap/hp_open.c
index fc7397989f2..43b366639bb 100644
--- a/storage/heap/hp_open.c
+++ b/storage/heap/hp_open.c
@@ -30,7 +30,7 @@ HP_INFO *heap_open_from_share(HP_SHARE *share, int mode)
HP_INFO *info;
DBUG_ENTER("heap_open_from_share");
- if (!(info= (HP_INFO*) my_malloc((uint) sizeof(HP_INFO) +
+ if (!(info= (HP_INFO*) my_malloc(sizeof(HP_INFO) +
2 * share->max_key_length,
MYF(MY_ZEROFILL +
(share->internal ?
@@ -49,7 +49,7 @@ HP_INFO *heap_open_from_share(HP_SHARE *share, int mode)
#ifndef DBUG_OFF
info->opt_flag= READ_CHECK_USED; /* Check when changing */
#endif
- DBUG_PRINT("exit",("heap: 0x%lx reclength: %d records_in_block: %d",
+ DBUG_PRINT("exit",("heap: 0x%lx reclength: %d records_in_block: %lu",
(long) info, share->reclength,
share->block.records_in_block));
DBUG_RETURN(info);
diff --git a/storage/heap/hp_rfirst.c b/storage/heap/hp_rfirst.c
index 206a105bbcc..685ecdb5456 100644
--- a/storage/heap/hp_rfirst.c
+++ b/storage/heap/hp_rfirst.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002, 2004 MySQL AB
+/* Copyright (c) 2000-2002, 2004-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_rlast.c b/storage/heap/hp_rlast.c
index 9186094c2e9..ff0d57228da 100644
--- a/storage/heap/hp_rlast.c
+++ b/storage/heap/hp_rlast.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_rnext.c b/storage/heap/hp_rnext.c
index 76970868c27..8fd469a317e 100644
--- a/storage/heap/hp_rnext.c
+++ b/storage/heap/hp_rnext.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000, 2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_rprev.c b/storage/heap/hp_rprev.c
index 10726616bd6..6e06607187b 100644
--- a/storage/heap/hp_rprev.c
+++ b/storage/heap/hp_rprev.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_rrnd.c b/storage/heap/hp_rrnd.c
index ef93cd547da..8e0d51a78ca 100644
--- a/storage/heap/hp_rrnd.c
+++ b/storage/heap/hp_rrnd.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002, 2004, 2006 MySQL AB
+/* Copyright (c) 2000-2002, 2004-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_rsame.c b/storage/heap/hp_rsame.c
index 7a65b0f1294..40c5a18f974 100644
--- a/storage/heap/hp_rsame.c
+++ b/storage/heap/hp_rsame.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_scan.c b/storage/heap/hp_scan.c
index e846bb2b59c..39a6f2082a3 100644
--- a/storage/heap/hp_scan.c
+++ b/storage/heap/hp_scan.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_update.c b/storage/heap/hp_update.c
index 3ac6dabf6bb..8757f8e87c5 100644
--- a/storage/heap/hp_update.c
+++ b/storage/heap/hp_update.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002, 2004-2005 MySQL AB
+/* Copyright (c) 2000-2002, 2004-2008 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/heap/hp_write.c b/storage/heap/hp_write.c
index c84fc4b6104..b6ca97629ca 100644
--- a/storage/heap/hp_write.c
+++ b/storage/heap/hp_write.c
@@ -400,7 +400,7 @@ int hp_write_key(HP_INFO *info, HP_KEYDEF *keyinfo,
static HASH_INFO *hp_find_free_hash(HP_SHARE *info,
HP_BLOCK *block, ulong records)
{
- uint block_pos;
+ ulong block_pos;
size_t length;
if (records < block->last_allocated)
diff --git a/storage/innobase/CMakeLists.txt b/storage/innobase/CMakeLists.txt
index 508ef62b3a0..8210115fb82 100644
--- a/storage/innobase/CMakeLists.txt
+++ b/storage/innobase/CMakeLists.txt
@@ -59,6 +59,12 @@ CHECK_FUNCTION_EXISTS(sched_getcpu HAVE_SCHED_GETCPU)
IF(NOT MSVC)
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not
IF(NOT CMAKE_CROSSCOMPILING)
+ # workaround for gcc 4.1.2 RHEL5/x86, gcc atomic ops only work under -march=i686
+ IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "i686" AND CMAKE_COMPILER_IS_GNUCC AND
+ CMAKE_C_COMPILER_VERSION VERSION_LESS "4.1.3")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i686")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i686")
+ ENDIF()
CHECK_C_SOURCE_RUNS(
"
int main()
@@ -386,6 +392,7 @@ IF(WITH_INNODB)
ENDIF()
MYSQL_ADD_PLUGIN(innobase ${INNOBASE_SOURCES} STORAGE_ENGINE
- DEFAULT
+ MODULE_ONLY
MODULE_OUTPUT_NAME ha_innodb
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
+
diff --git a/storage/innobase/api/api0api.cc b/storage/innobase/api/api0api.cc
index 647ebcde6f0..d2f1a468f25 100644
--- a/storage/innobase/api/api0api.cc
+++ b/storage/innobase/api/api0api.cc
@@ -355,7 +355,9 @@ ib_read_tuple(
/*==========*/
const rec_t* rec, /*!< in: Record to read */
ib_bool_t page_format, /*!< in: IB_TRUE if compressed format */
- ib_tuple_t* tuple) /*!< in: tuple to read into */
+ ib_tuple_t* tuple, /*!< in: tuple to read into */
+ void** rec_buf, /*!< in/out: row buffer */
+ ulint* len) /*!< in/out: buffer len */
{
ulint i;
void* ptr;
@@ -366,6 +368,7 @@ ib_read_tuple(
ulint* offsets = offsets_;
dtuple_t* dtuple = tuple->ptr;
const dict_index_t* index = tuple->index;
+ ulint offset_size;
rec_offs_init(offsets_);
@@ -375,8 +378,20 @@ ib_read_tuple(
rec_meta_data = rec_get_info_bits(rec, page_format);
dtuple_set_info_bits(dtuple, rec_meta_data);
- /* Make a copy of the rec. */
- ptr = mem_heap_alloc(tuple->heap, rec_offs_size(offsets));
+ offset_size = rec_offs_size(offsets);
+
+ if (rec_buf && *rec_buf) {
+ if (*len < offset_size) {
+ free(*rec_buf);
+ *rec_buf = malloc(offset_size);
+ *len = offset_size;
+ }
+ ptr = *rec_buf;
+ } else {
+ /* Make a copy of the rec. */
+ ptr = mem_heap_alloc(tuple->heap, offset_size);
+ }
+
copy = rec_copy(ptr, rec, offsets);
n_index_fields = ut_min(
@@ -557,6 +572,10 @@ ib_trx_start(
/*=========*/
ib_trx_t ib_trx, /*!< in: transaction to restart */
ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit, /*!< in: auto commit after each
+ single DML */
void* thd) /*!< in: THD */
{
ib_err_t err = DB_SUCCESS;
@@ -564,6 +583,10 @@ ib_trx_start(
ut_a(ib_trx_level <= IB_TRX_SERIALIZABLE);
+ trx->api_trx = true;
+ trx->api_auto_commit = auto_commit;
+ trx->read_write = read_write;
+
trx_start_if_not_started(trx);
trx->isolation_level = ib_trx_level;
@@ -583,16 +606,22 @@ UNIV_INTERN
ib_trx_t
ib_trx_begin(
/*=========*/
- ib_trx_level_t ib_trx_level) /*!< in: trx isolation level */
+ ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit) /*!< in: auto commit after each
+ single DML */
{
trx_t* trx;
ib_bool_t started;
trx = trx_allocate_for_mysql();
- started = ib_trx_start((ib_trx_t) trx, ib_trx_level, NULL);
+
+ started = ib_trx_start(static_cast<ib_trx_t>(trx), ib_trx_level,
+ read_write, auto_commit, NULL);
ut_a(started);
- return((ib_trx_t) trx);
+ return(static_cast<ib_trx_t>(trx));
}
/*****************************************************************//**
@@ -652,15 +681,11 @@ ib_trx_commit(
trx_t* trx = (trx_t*) ib_trx;
if (trx->state == TRX_STATE_NOT_STARTED) {
- err = ib_trx_release(ib_trx);
return(err);
}
trx_commit(trx);
- err = ib_trx_release(ib_trx);
- ut_a(err == DB_SUCCESS);
-
return(DB_SUCCESS);
}
@@ -682,9 +707,6 @@ ib_trx_rollback(
/* It should always succeed */
ut_a(err == DB_SUCCESS);
- err = ib_trx_release(ib_trx);
- ut_a(err == DB_SUCCESS);
-
ib_wake_master_thread();
return(err);
@@ -1371,11 +1393,12 @@ ib_cursor_commit_trx(
{
ib_err_t err = DB_SUCCESS;
ib_cursor_t* cursor = (ib_cursor_t*) ib_crsr;
+#ifdef UNIV_DEBUG
row_prebuilt_t* prebuilt = cursor->prebuilt;
ut_ad(prebuilt->trx == (trx_t*) ib_trx);
- err = ib_trx_commit(ib_trx);
- prebuilt->trx = NULL;
+#endif /* UNIV_DEBUG */
+ ib_trx_commit(ib_trx);
cursor->valid_trx = FALSE;
return(err);
}
@@ -1955,7 +1978,7 @@ ib_delete_row(
upd = ib_update_vector_create(cursor);
page_format = dict_table_is_comp(index->table);
- ib_read_tuple(rec, page_format, tuple);
+ ib_read_tuple(rec, page_format, tuple, NULL, NULL);
upd->n_fields = ib_tuple_get_n_cols(ib_tpl);
@@ -2056,7 +2079,9 @@ ib_err_t
ib_cursor_read_row(
/*===============*/
ib_crsr_t ib_crsr, /*!< in: InnoDB cursor instance */
- ib_tpl_t ib_tpl) /*!< out: read cols into this tuple */
+ ib_tpl_t ib_tpl, /*!< out: read cols into this tuple */
+ void** row_buf, /*!< in/out: row buffer */
+ ib_ulint_t* row_len) /*!< in/out: row buffer len */
{
ib_err_t err;
ib_tuple_t* tuple = (ib_tuple_t*) ib_tpl;
@@ -2100,7 +2125,8 @@ ib_cursor_read_row(
}
if (!rec_get_deleted_flag(rec, page_format)) {
- ib_read_tuple(rec, page_format, tuple);
+ ib_read_tuple(rec, page_format, tuple,
+ row_buf, (ulint*) row_len);
err = DB_SUCCESS;
} else{
err = DB_RECORD_NOT_FOUND;
@@ -3845,7 +3871,7 @@ ib_table_truncate(
ib_trx_t ib_trx = NULL;
ib_crsr_t ib_crsr = NULL;
- ib_trx = ib_trx_begin(IB_TRX_SERIALIZABLE);
+ ib_trx = ib_trx_begin(IB_TRX_SERIALIZABLE, true, false);
dict_mutex_enter_for_mysql();
diff --git a/storage/innobase/btr/btr0btr.cc b/storage/innobase/btr/btr0btr.cc
index 63b01f65f4b..0136c9c43a3 100644
--- a/storage/innobase/btr/btr0btr.cc
+++ b/storage/innobase/btr/btr0btr.cc
@@ -1802,6 +1802,8 @@ btr_page_reorganize_low(
#endif /* !UNIV_HOTBACKUP */
temp_page = temp_block->frame;
+ MONITOR_INC(MONITOR_INDEX_REORG_ATTEMPTS);
+
/* Copy the old page to temporary space */
buf_frame_copy(temp_page, page);
@@ -1950,6 +1952,8 @@ func_exit:
mach_write_to_1(log_ptr, z_level);
mlog_close(mtr, log_ptr + 1);
}
+
+ MONITOR_INC(MONITOR_INDEX_REORG_SUCCESSFUL);
}
#endif /* !UNIV_HOTBACKUP */
@@ -3573,6 +3577,8 @@ btr_compress(
space = dict_index_get_space(index);
zip_size = dict_table_zip_size(index->table);
+ MONITOR_INC(MONITOR_INDEX_MERGE_ATTEMPTS);
+
left_page_no = btr_page_get_prev(page, mtr);
right_page_no = btr_page_get_next(page, mtr);
@@ -3806,6 +3812,9 @@ func_exit:
page_rec_get_nth(merge_block->frame, nth_rec),
merge_block, cursor);
}
+
+ MONITOR_INC(MONITOR_INDEX_MERGE_SUCCESSFUL);
+
DBUG_RETURN(TRUE);
err_exit:
@@ -3926,6 +3935,8 @@ btr_discard_page(
space = dict_index_get_space(index);
zip_size = dict_table_zip_size(index->table);
+ MONITOR_INC(MONITOR_INDEX_DISCARD);
+
/* Decide the page which will inherit the locks */
left_page_no = btr_page_get_prev(buf_block_get_frame(block), mtr);
diff --git a/storage/innobase/btr/btr0cur.cc b/storage/innobase/btr/btr0cur.cc
index bbc189d1d39..7e1483cfe85 100644
--- a/storage/innobase/btr/btr0cur.cc
+++ b/storage/innobase/btr/btr0cur.cc
@@ -1696,7 +1696,7 @@ btr_cur_upd_lock_and_undo(
/***********************************************************//**
Writes a redo log record of updating a record in-place. */
-UNIV_INLINE __attribute__((nonnull))
+UNIV_INTERN
void
btr_cur_update_in_place_log(
/*========================*/
@@ -1724,18 +1724,29 @@ btr_cur_update_in_place_log(
return;
}
- /* The code below assumes index is a clustered index: change index to
- the clustered index if we are updating a secondary index record (or we
- could as well skip writing the sys col values to the log in this case
- because they are not needed for a secondary index record update) */
-
- index = dict_table_get_first_index(index->table);
-
+ /* For secondary indexes, we could skip writing the dummy system fields
+ to the redo log but we have to change redo log parsing of
+ MLOG_REC_UPDATE_IN_PLACE/MLOG_COMP_REC_UPDATE_IN_PLACE or we have to add
+ new redo log record. For now, just write dummy sys fields to the redo
+ log if we are updating a secondary index record.
+ */
mach_write_to_1(log_ptr, flags);
log_ptr++;
- log_ptr = row_upd_write_sys_vals_to_log(
- index, trx_id, roll_ptr, log_ptr, mtr);
+ if (dict_index_is_clust(index)) {
+ log_ptr = row_upd_write_sys_vals_to_log(
+ index, trx_id, roll_ptr, log_ptr, mtr);
+ } else {
+ /* Dummy system fields for a secondary index */
+ /* TRX_ID Position */
+ log_ptr += mach_write_compressed(log_ptr, 0);
+ /* ROLL_PTR */
+ trx_write_roll_ptr(log_ptr, 0);
+ log_ptr += DATA_ROLL_PTR_LEN;
+ /* TRX_ID */
+ log_ptr += mach_ull_write_compressed(log_ptr, 0);
+ }
+
mach_write_to_2(log_ptr, page_offset(rec));
log_ptr += 2;
diff --git a/storage/innobase/btr/btr0pcur.cc b/storage/innobase/btr/btr0pcur.cc
index 54ef2a243ba..82a2b6dbf6b 100644
--- a/storage/innobase/btr/btr0pcur.cc
+++ b/storage/innobase/btr/btr0pcur.cc
@@ -110,7 +110,7 @@ btr_pcur_store_position(
page_t* page;
ulint offs;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
block = btr_pcur_get_block(cursor);
@@ -124,7 +124,6 @@ btr_pcur_store_position(
ut_ad(mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_S_FIX)
|| mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_X_FIX));
- ut_a(cursor->latch_mode != BTR_NO_LATCHES);
if (page_is_empty(page)) {
/* It must be an empty index tree; NOTE that in this case
@@ -236,21 +235,12 @@ btr_pcur_restore_position_func(
ut_ad(mtr);
ut_ad(mtr->state == MTR_ACTIVE);
+ ut_ad(cursor->old_stored == BTR_PCUR_OLD_STORED);
+ ut_ad(cursor->pos_state == BTR_PCUR_WAS_POSITIONED
+ || cursor->pos_state == BTR_PCUR_IS_POSITIONED);
index = btr_cur_get_index(btr_pcur_get_btr_cur(cursor));
- if (UNIV_UNLIKELY(cursor->old_stored != BTR_PCUR_OLD_STORED)
- || UNIV_UNLIKELY(cursor->pos_state != BTR_PCUR_WAS_POSITIONED
- && cursor->pos_state != BTR_PCUR_IS_POSITIONED)) {
- ut_print_buf(stderr, cursor, sizeof(btr_pcur_t));
- putc('\n', stderr);
- if (cursor->trx_if_known) {
- trx_print(stderr, cursor->trx_if_known, 0);
- }
-
- ut_error;
- }
-
if (UNIV_UNLIKELY
(cursor->rel_pos == BTR_PCUR_AFTER_LAST_IN_TREE
|| cursor->rel_pos == BTR_PCUR_BEFORE_FIRST_IN_TREE)) {
@@ -275,14 +265,14 @@ btr_pcur_restore_position_func(
if (UNIV_LIKELY(latch_mode == BTR_SEARCH_LEAF)
|| UNIV_LIKELY(latch_mode == BTR_MODIFY_LEAF)) {
- /* Try optimistic restoration */
+ /* Try optimistic restoration. */
- if (UNIV_LIKELY(buf_page_optimistic_get(
- latch_mode,
- cursor->block_when_stored,
- cursor->modify_clock,
- file, line, mtr))) {
+ if (buf_page_optimistic_get(latch_mode,
+ cursor->block_when_stored,
+ cursor->modify_clock,
+ file, line, mtr)) {
cursor->pos_state = BTR_PCUR_IS_POSITIONED;
+ cursor->latch_mode = latch_mode;
buf_block_dbg_add_level(
btr_pcur_get_block(cursor),
@@ -294,9 +284,6 @@ btr_pcur_restore_position_func(
const rec_t* rec;
const ulint* offsets1;
const ulint* offsets2;
-#endif /* UNIV_DEBUG */
- cursor->latch_mode = latch_mode;
-#ifdef UNIV_DEBUG
rec = btr_pcur_get_rec(cursor);
heap = mem_heap_create(256);
@@ -314,7 +301,13 @@ btr_pcur_restore_position_func(
#endif /* UNIV_DEBUG */
return(TRUE);
}
-
+ /* This is the same record as stored,
+ may need to be adjusted for BTR_PCUR_BEFORE/AFTER,
+ depending on search mode and direction. */
+ if (btr_pcur_is_on_user_rec(cursor)) {
+ cursor->pos_state
+ = BTR_PCUR_IS_POSITIONED_OPTIMISTIC;
+ }
return(FALSE);
}
}
@@ -416,7 +409,7 @@ btr_pcur_move_to_next_page(
buf_block_t* next_block;
page_t* next_page;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_after_last_on_page(cursor));
@@ -471,7 +464,6 @@ btr_pcur_move_backward_from_page(
ulint latch_mode;
ulint latch_mode2;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_before_first_on_page(cursor));
ut_ad(!btr_pcur_is_before_first_in_tree(cursor, mtr));
diff --git a/storage/innobase/compile-innodb b/storage/innobase/compile-innodb
index 77d2244f2bb..77d2244f2bb 100644..100755
--- a/storage/innobase/compile-innodb
+++ b/storage/innobase/compile-innodb
diff --git a/storage/innobase/dict/dict0crea.cc b/storage/innobase/dict/dict0crea.cc
index c7cb3aa21bb..eba5417dc76 100644
--- a/storage/innobase/dict/dict0crea.cc
+++ b/storage/innobase/dict/dict0crea.cc
@@ -803,6 +803,7 @@ dict_truncate_index_tree(
const byte* ptr;
ulint len;
dict_index_t* index;
+ bool has_been_dropped = false;
ut_ad(mutex_own(&(dict_sys->mutex)));
ut_a(!dict_table_is_comp(dict_sys->sys_indexes));
@@ -815,11 +816,7 @@ dict_truncate_index_tree(
root_page_no = mtr_read_ulint(ptr, MLOG_4BYTES, mtr);
if (drop && root_page_no == FIL_NULL) {
- /* The tree has been freed. */
-
- ut_print_timestamp(stderr);
- fprintf(stderr, " InnoDB: Trying to TRUNCATE"
- " a missing index of table %s!\n", table->name);
+ has_been_dropped = true;
drop = FALSE;
}
@@ -896,6 +893,13 @@ create:
if (index->type & DICT_FTS) {
return(FIL_NULL);
} else {
+ if (has_been_dropped) {
+ fprintf(stderr, " InnoDB: Trying to"
+ " TRUNCATE a missing index of"
+ " table %s!\n",
+ index->table->name);
+ }
+
root_page_no = btr_create(type, space, zip_size,
index_id, index, mtr);
index->page = (unsigned int) root_page_no;
diff --git a/storage/innobase/dict/dict0dict.cc b/storage/innobase/dict/dict0dict.cc
index 1a1697b2ffc..d16296179b0 100644
--- a/storage/innobase/dict/dict0dict.cc
+++ b/storage/innobase/dict/dict0dict.cc
@@ -4238,18 +4238,45 @@ loop:
goto loop;
}
+ if (my_isspace(cs, *ptr)) {
+ ptr1 = dict_accept(cs, ptr, "IF", &success);
+
+ if (success) {
+ if (!my_isspace(cs, *ptr1)) {
+ goto loop;
+ }
+ ptr1 = dict_accept(cs, ptr1, "NOT", &success);
+ if (!success) {
+ goto loop;
+ }
+ ptr1 = dict_accept(cs, ptr1, "EXISTS", &success);
+ if (!success) {
+ goto loop;
+ }
+ ptr = ptr1;
+ }
+ }
+
ptr = dict_accept(cs, ptr, "(", &success);
if (!success) {
- /* MySQL allows also an index id before the '('; we
- skip it */
- ptr = dict_skip_word(cs, ptr, &success);
-
- if (!success) {
- dict_foreign_report_syntax_err(
- name, start_of_latest_foreign, ptr);
+ if (constraint_name) {
+ /* MySQL allows also an index id before the '('; we
+ skip it */
+ ptr = dict_skip_word(cs, ptr, &success);
+ if (!success) {
+ dict_foreign_report_syntax_err(
+ name, start_of_latest_foreign, ptr);
+ return(DB_CANNOT_ADD_CONSTRAINT);
+ }
+ }
+ else {
+ while (my_isspace(cs, *ptr)) {
+ ptr++;
+ }
- return(DB_CANNOT_ADD_CONSTRAINT);
+ ptr = dict_scan_id(cs, ptr, heap,
+ &constraint_name, FALSE, FALSE);
}
ptr = dict_accept(cs, ptr, "(", &success);
@@ -4723,6 +4750,7 @@ dict_foreign_parse_drop_constraints(
char* str;
size_t len;
const char* ptr;
+ const char* ptr1;
const char* id;
struct charset_info_st* cs;
@@ -4773,6 +4801,16 @@ loop:
goto syntax_error;
}
+ ptr1 = dict_accept(cs, ptr, "IF", &success);
+
+ if (success && my_isspace(cs, *ptr1)) {
+ ptr1 = dict_accept(cs, ptr1, "EXISTS", &success);
+ if (success) {
+
+ ptr = ptr1;
+ }
+ }
+
ptr = dict_scan_id(cs, ptr, heap, &id, FALSE, TRUE);
if (id == NULL) {
diff --git a/storage/innobase/dict/dict0load.cc b/storage/innobase/dict/dict0load.cc
index 6ffb6924402..81ab765b524 100644
--- a/storage/innobase/dict/dict0load.cc
+++ b/storage/innobase/dict/dict0load.cc
@@ -1358,7 +1358,7 @@ dict_load_columns(
BTR_SEARCH_LEAF, &pcur, &mtr);
for (i = 0; i + DATA_N_SYS_COLS < (ulint) table->n_cols; i++) {
const char* err_msg;
- const char* name;
+ const char* name = NULL;
rec = btr_pcur_get_rec(&pcur);
diff --git a/storage/innobase/dict/dict0mem.cc b/storage/innobase/dict/dict0mem.cc
index b060a79e75a..565a46b1832 100644
--- a/storage/innobase/dict/dict0mem.cc
+++ b/storage/innobase/dict/dict0mem.cc
@@ -139,10 +139,12 @@ dict_mem_table_free(
|| DICT_TF2_FLAG_IS_SET(table, DICT_TF2_FTS_HAS_DOC_ID)
|| DICT_TF2_FLAG_IS_SET(table, DICT_TF2_FTS_ADD_DOC_ID)) {
if (table->fts) {
+ if (table->cached) {
+ fts_optimize_remove_table(table);
+ }
+
fts_free(table);
}
-
- fts_optimize_remove_table(table);
}
#ifndef UNIV_HOTBACKUP
mutex_free(&(table->autoinc_mutex));
diff --git a/storage/innobase/dict/dict0stats.cc b/storage/innobase/dict/dict0stats.cc
index bfd0542b8e2..8bf02f9785c 100644
--- a/storage/innobase/dict/dict0stats.cc
+++ b/storage/innobase/dict/dict0stats.cc
@@ -780,10 +780,21 @@ dict_stats_update_transient_for_index(
/*==================================*/
dict_index_t* index) /*!< in/out: index */
{
- if (UNIV_LIKELY
- (srv_force_recovery < SRV_FORCE_NO_IBUF_MERGE
- || (srv_force_recovery < SRV_FORCE_NO_LOG_REDO
- && dict_index_is_clust(index)))) {
+ if (srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO
+ && (srv_force_recovery >= SRV_FORCE_NO_LOG_REDO
+ || !dict_index_is_clust(index))) {
+ /* If we have set a high innodb_force_recovery
+ level, do not calculate statistics, as a badly
+ corrupted index can cause a crash in it.
+ Initialize some bogus index cardinality
+ statistics, so that the data can be queried in
+ various means, also via secondary indexes. */
+ dict_stats_empty_index(index);
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ } else if (ibuf_debug && !dict_index_is_clust(index)) {
+ dict_stats_empty_index(index);
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+ } else {
mtr_t mtr;
ulint size;
mtr_start(&mtr);
@@ -812,14 +823,6 @@ dict_stats_update_transient_for_index(
index->stat_n_leaf_pages = size;
btr_estimate_number_of_different_key_vals(index);
- } else {
- /* If we have set a high innodb_force_recovery
- level, do not calculate statistics, as a badly
- corrupted index can cause a crash in it.
- Initialize some bogus index cardinality
- statistics, so that the data can be queried in
- various means, also via secondary indexes. */
- dict_stats_empty_index(index);
}
}
diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc
index b8357951667..11b28d78f21 100644
--- a/storage/innobase/fil/fil0fil.cc
+++ b/storage/innobase/fil/fil0fil.cc
@@ -4926,10 +4926,20 @@ retry:
#ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) {
- ulint n_pages = size_after_extend - start_page_no;
-
- success = os_file_set_size(node->name, node->handle,
- n_pages * page_size);
+ os_offset_t start_offset = start_page_no * page_size;
+ os_offset_t n_pages = (size_after_extend - start_page_no);
+ os_offset_t len = n_pages * page_size;
+
+ if (posix_fallocate(node->handle, start_offset, len) == -1) {
+ ib_logf(IB_LOG_LEVEL_ERROR, "preallocating file "
+ "space for file \'%s\' failed. Current size "
+ INT64PF ", desired size " INT64PF "\n",
+ node->name, start_offset, len+start_offset);
+ os_file_handle_error_no_exit(node->name, "posix_fallocate", FALSE);
+ success = FALSE;
+ } else {
+ success = TRUE;
+ }
mutex_enter(&fil_system->mutex);
if (success) {
@@ -4937,7 +4947,14 @@ retry:
space->size += n_pages;
os_has_said_disk_full = FALSE;
}
- goto complete_io;
+
+ /* If posix_fallocate was used to extent the file space
+ we need to complete the io. Because no actual writes were
+ dispatched read operation is enough here. Without this
+ there will be assertion at shutdown indicating that
+ all IO is not completed. */
+ fil_node_complete_io(node, fil_system, OS_FILE_READ);
+ goto file_extended;
}
#endif
@@ -4995,12 +5012,10 @@ retry:
space->size += pages_added;
node->size += pages_added;
-#ifdef HAVE_POSIX_FALLOCATE
-complete_io:
- fil_node_complete_io(node, fil_system, OS_FILE_READ);
-#else
fil_node_complete_io(node, fil_system, OS_FILE_WRITE);
-#endif
+
+ /* At this point file has been extended */
+file_extended:
node->being_extended = FALSE;
*actual_size = space->size;
diff --git a/storage/innobase/fts/fts0config.cc b/storage/innobase/fts/fts0config.cc
index 29d6771f9e7..c5cf38ca7f9 100644
--- a/storage/innobase/fts/fts0config.cc
+++ b/storage/innobase/fts/fts0config.cc
@@ -105,7 +105,7 @@ fts_config_get_value(
fts_table,
info,
"DECLARE FUNCTION my_func;\n"
- "DECLARE CURSOR c IS SELECT value FROM %s"
+ "DECLARE CURSOR c IS SELECT value FROM \"%s\""
" WHERE key = :name;\n"
"BEGIN\n"
""
@@ -481,7 +481,7 @@ fts_config_increment_value(
graph = fts_parse_sql(
fts_table, info,
"DECLARE FUNCTION my_func;\n"
- "DECLARE CURSOR c IS SELECT value FROM %s"
+ "DECLARE CURSOR c IS SELECT value FROM \"%s\""
" WHERE key = :name FOR UPDATE;\n"
"BEGIN\n"
""
diff --git a/storage/innobase/fts/fts0fts.cc b/storage/innobase/fts/fts0fts.cc
index 9b06497c8ae..41f20c1dbb9 100644
--- a/storage/innobase/fts/fts0fts.cc
+++ b/storage/innobase/fts/fts0fts.cc
@@ -92,6 +92,7 @@ UNIV_INTERN mysql_pfs_key_t fts_delete_mutex_key;
UNIV_INTERN mysql_pfs_key_t fts_optimize_mutex_key;
UNIV_INTERN mysql_pfs_key_t fts_bg_threads_mutex_key;
UNIV_INTERN mysql_pfs_key_t fts_doc_id_mutex_key;
+UNIV_INTERN mysql_pfs_key_t fts_pll_tokenize_mutex_key;
#endif /* UNIV_PFS_MUTEX */
/** variable to record innodb_fts_internal_tbl_name for information
@@ -876,7 +877,7 @@ fts_drop_index(
current_doc_id = table->fts->cache->next_doc_id;
first_doc_id = table->fts->cache->first_doc_id;
- fts_cache_clear(table->fts->cache, TRUE);
+ fts_cache_clear(table->fts->cache);
fts_cache_destroy(table->fts->cache);
table->fts->cache = fts_cache_create(table);
table->fts->cache->next_doc_id = current_doc_id;
@@ -1079,16 +1080,12 @@ fts_words_free(
}
/*********************************************************************//**
-Clear cache. If the shutdown flag is TRUE then the cache can contain
-data that needs to be freed. For regular clear as part of normal
-working we assume the caller has freed all resources. */
+Clear cache. */
UNIV_INTERN
void
fts_cache_clear(
/*============*/
- fts_cache_t* cache, /*!< in: cache */
- ibool free_words) /*!< in: TRUE if free in memory
- word cache. */
+ fts_cache_t* cache) /*!< in: cache */
{
ulint i;
@@ -1099,11 +1096,7 @@ fts_cache_clear(
index_cache = static_cast<fts_index_cache_t*>(
ib_vector_get(cache->indexes, i));
- if (free_words) {
- fts_words_free(index_cache->words);
- }
-
- ut_a(rbt_empty(index_cache->words));
+ fts_words_free(index_cache->words);
rbt_free(index_cache->words);
@@ -2322,7 +2315,7 @@ fts_trx_table_clone(
ftt->rows = rbt_create(sizeof(fts_trx_row_t), fts_trx_row_doc_id_cmp);
/* Copy the rb tree values to the new savepoint. */
- rbt_merge_uniq(ftt_src->rows, ftt->rows);
+ rbt_merge_uniq(ftt->rows, ftt_src->rows);
/* These are only added on commit. At this stage we only have
the updated row state. */
@@ -2814,7 +2807,7 @@ fts_update_sync_doc_id(
graph = fts_parse_sql(
&fts_table, info,
"BEGIN "
- "UPDATE %s SET value = :doc_id"
+ "UPDATE \"%s\" SET value = :doc_id"
" WHERE key = 'synced_doc_id';");
error = fts_eval_sql(trx, graph);
@@ -4221,7 +4214,7 @@ fts_is_word_in_index(
"DECLARE FUNCTION my_func;\n"
"DECLARE CURSOR c IS"
" SELECT doc_count\n"
- " FROM %s\n"
+ " FROM \"%s\"\n"
" WHERE word = :word "
" ORDER BY first_doc_id;\n"
"BEGIN\n"
@@ -4363,10 +4356,8 @@ fts_sync_commit(
}
/* We need to do this within the deleted lock since fts_delete() can
- attempt to add a deleted doc id to the cache deleted id array. Set
- the shutdown flag to FALSE, signifying that we don't want to release
- all resources. */
- fts_cache_clear(cache, FALSE);
+ attempt to add a deleted doc id to the cache deleted id array. */
+ fts_cache_clear(cache);
fts_cache_init(cache);
rw_lock_x_unlock(&cache->lock);
@@ -4438,6 +4429,10 @@ fts_sync(
index_cache = static_cast<fts_index_cache_t*>(
ib_vector_get(cache->indexes, i));
+ if (index_cache->index->to_be_dropped) {
+ continue;
+ }
+
error = fts_sync_index(sync, index_cache);
if (error != DB_SUCCESS && !sync->interrupted) {
@@ -4447,7 +4442,8 @@ fts_sync(
}
DBUG_EXECUTE_IF("fts_instrument_sync_interrupted",
- sync->interrupted = true;
+ sync->interrupted = true;
+ error = DB_INTERRUPTED;
);
if (error == DB_SUCCESS && !sync->interrupted) {
@@ -4474,16 +4470,20 @@ fts_sync(
Run SYNC on the table, i.e., write out data from the cache to the
FTS auxiliary INDEX table and clear the cache at the end. */
UNIV_INTERN
-void
+dberr_t
fts_sync_table(
/*===========*/
dict_table_t* table) /*!< in: table */
{
+ dberr_t err = DB_SUCCESS;
+
ut_ad(table->fts);
if (table->fts->cache) {
- fts_sync(table->fts->cache->sync);
+ err = fts_sync(table->fts->cache->sync);
}
+
+ return(err);
}
/********************************************************************
@@ -5367,7 +5367,7 @@ fts_free(
ut_ad(!fts->add_wq);
if (fts->cache) {
- fts_cache_clear(fts->cache, TRUE);
+ fts_cache_clear(fts->cache);
fts_cache_destroy(fts->cache);
fts->cache = NULL;
}
@@ -5546,9 +5546,21 @@ fts_savepoint_release(
/* Only if we found and element to release. */
if (i < ib_vector_size(savepoints)) {
+ fts_savepoint_t* last_savepoint;
+ fts_savepoint_t* top_savepoint;
+ ib_rbt_t* tables;
ut_a(top_of_stack < ib_vector_size(savepoints));
+ /* Exchange tables between last savepoint and top savepoint */
+ last_savepoint = static_cast<fts_savepoint_t*>(
+ ib_vector_last(trx->fts_trx->savepoints));
+ top_savepoint = static_cast<fts_savepoint_t*>(
+ ib_vector_get(savepoints, top_of_stack));
+ tables = top_savepoint->tables;
+ top_savepoint->tables = last_savepoint->tables;
+ last_savepoint->tables = tables;
+
/* Skip the implied savepoint. */
for (i = ib_vector_size(savepoints) - 1;
i > top_of_stack;
@@ -5759,6 +5771,9 @@ fts_savepoint_rollback(
/* Make sure we don't delete the implied savepoint. */
ut_a(ib_vector_size(savepoints) > 0);
+
+ /* Restore the savepoint. */
+ fts_savepoint_take(trx, name);
}
}
diff --git a/storage/innobase/fts/fts0opt.cc b/storage/innobase/fts/fts0opt.cc
index 0fd577c5767..7cdad522564 100644
--- a/storage/innobase/fts/fts0opt.cc
+++ b/storage/innobase/fts/fts0opt.cc
@@ -54,6 +54,9 @@ static const ulint FTS_OPTIMIZE_INTERVAL_IN_SECS = 300;
/** Server is shutting down, so does we exiting the optimize thread */
static bool fts_opt_start_shutdown = false;
+/** Initial size of nodes in fts_word_t. */
+static const ulint FTS_WORD_NODES_INIT_SIZE = 64;
+
/** Last time we did check whether system need a sync */
static ib_time_t last_check_sync_time;
@@ -244,10 +247,10 @@ static ib_time_t fts_optimize_time_limit = 0;
static const char* fts_init_delete_sql =
"BEGIN\n"
"\n"
- "INSERT INTO %s_BEING_DELETED\n"
+ "INSERT INTO \"%s_BEING_DELETED\"\n"
"SELECT doc_id FROM \"%s_DELETED\";\n"
"\n"
- "INSERT INTO %s_BEING_DELETED_CACHE\n"
+ "INSERT INTO \"%s_BEING_DELETED_CACHE\"\n"
"SELECT doc_id FROM \"%s_DELETED_CACHE\";\n";
static const char* fts_delete_doc_ids_sql =
@@ -357,7 +360,7 @@ fts_word_init(
word->heap_alloc = ib_heap_allocator_create(heap);
word->nodes = ib_vector_create(
- word->heap_alloc, sizeof(fts_node_t), 64);
+ word->heap_alloc, sizeof(fts_node_t), FTS_WORD_NODES_INIT_SIZE);
return(word);
}
@@ -435,6 +438,8 @@ fts_optimize_index_fetch_node(
dfield_t* dfield = que_node_get_val(exp);
void* data = dfield_get_data(dfield);
ulint dfield_len = dfield_get_len(dfield);
+ fts_node_t* node;
+ bool is_word_init = false;
ut_a(dfield_len <= FTS_MAX_WORD_LEN);
@@ -442,6 +447,7 @@ fts_optimize_index_fetch_node(
word = static_cast<fts_word_t*>(ib_vector_push(words, NULL));
fts_word_init(word, (byte*) data, dfield_len);
+ is_word_init = true;
}
word = static_cast<fts_word_t*>(ib_vector_last(words));
@@ -451,9 +457,23 @@ fts_optimize_index_fetch_node(
word = static_cast<fts_word_t*>(ib_vector_push(words, NULL));
fts_word_init(word, (byte*) data, dfield_len);
+ is_word_init = true;
}
- fts_optimize_read_node(word, que_node_get_next(exp));
+ node = fts_optimize_read_node(word, que_node_get_next(exp));
+
+ fetch->total_memory += node->ilist_size;
+ if (is_word_init) {
+ fetch->total_memory += sizeof(fts_word_t)
+ + sizeof(ib_alloc_t) + sizeof(ib_vector_t) + dfield_len
+ + sizeof(fts_node_t) * FTS_WORD_NODES_INIT_SIZE;
+ } else if (ib_vector_size(words) > FTS_WORD_NODES_INIT_SIZE) {
+ fetch->total_memory += sizeof(fts_node_t);
+ }
+
+ if (fetch->total_memory >= fts_result_cache_limit) {
+ return(FALSE);
+ }
return(TRUE);
}
@@ -1791,9 +1811,11 @@ fts_optimize_words(
selected = fts_select_index(charset, word->f_str, word->f_len);
/* Read the index records to optimize. */
+ fetch.total_memory = 0;
error = fts_index_fetch_nodes(
trx, &graph, &optim->fts_index_table, word,
&fetch);
+ ut_ad(fetch.total_memory < fts_result_cache_limit);
if (error == DB_SUCCESS) {
/* There must be some nodes to read. */
diff --git a/storage/innobase/fts/fts0que.cc b/storage/innobase/fts/fts0que.cc
index 72901d193eb..a70c742da0c 100644
--- a/storage/innobase/fts/fts0que.cc
+++ b/storage/innobase/fts/fts0que.cc
@@ -784,7 +784,7 @@ fts_query_remove_doc_id(
&& rbt_search(query->doc_ids, &parent, &doc_id) == 0) {
ut_free(rbt_remove_node(query->doc_ids, parent.last));
- ut_ad(query->total_size >
+ ut_ad(query->total_size >=
SIZEOF_RBT_NODE_ADD + sizeof(fts_ranking_t));
query->total_size -= SIZEOF_RBT_NODE_ADD
+ sizeof(fts_ranking_t);
@@ -935,7 +935,7 @@ fts_query_free_doc_ids(
ut_free(rbt_remove_node(doc_ids, node));
- ut_ad(query->total_size >
+ ut_ad(query->total_size >=
SIZEOF_RBT_NODE_ADD + sizeof(fts_ranking_t));
query->total_size -= SIZEOF_RBT_NODE_ADD
+ sizeof(fts_ranking_t);
@@ -943,7 +943,7 @@ fts_query_free_doc_ids(
rbt_free(doc_ids);
- ut_ad(query->total_size > SIZEOF_RBT_CREATE);
+ ut_ad(query->total_size >= SIZEOF_RBT_CREATE);
query->total_size -= SIZEOF_RBT_CREATE;
}
@@ -2056,7 +2056,7 @@ fts_query_find_term(
"DECLARE FUNCTION my_func;\n"
"DECLARE CURSOR c IS"
" SELECT doc_count, ilist\n"
- " FROM %s\n"
+ " FROM \"%s\"\n"
" WHERE word LIKE :word AND "
" first_doc_id <= :min_doc_id AND "
" last_doc_id >= :max_doc_id\n"
@@ -2255,7 +2255,7 @@ fts_query_terms_in_document(
"DECLARE FUNCTION my_func;\n"
"DECLARE CURSOR c IS"
" SELECT count\n"
- " FROM %s\n"
+ " FROM \"%s\"\n"
" WHERE doc_id = :doc_id "
"BEGIN\n"
"\n"
@@ -3747,9 +3747,10 @@ fts_query_str_preprocess(
charset, str_ptr + cur_pos, str_ptr + *result_len,
&str, &offset);
- if (cur_len == 0) {
- break;
- }
+ if (cur_len == 0 || str.f_str == NULL) {
+ /* No valid word found */
+ break;
+ }
/* Check if we are in a phrase, if so, no need to do
replacement of '-/+'. */
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 7febafb2324..3557c5066e8 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -41,6 +41,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <mysys_err.h>
#include <innodb_priv.h>
#include <table_cache.h>
+#include <my_check_opt.h>
#ifdef _WIN32
#include <io.h>
@@ -201,8 +202,6 @@ static char* internal_innobase_data_file_path = NULL;
static char* innodb_version_str = (char*) INNODB_VERSION_STR;
-static char* fts_server_stopword_table = NULL;
-
/** Possible values for system variable "innodb_stats_method". The values
are defined the same as its corresponding MyISAM system variable
"myisam_stats_method"(see "myisam_stats_method_names"), for better usability */
@@ -313,6 +312,7 @@ static PSI_mutex_info all_innodb_mutexes[] = {
{&fts_delete_mutex_key, "fts_delete_mutex", 0},
{&fts_optimize_mutex_key, "fts_optimize_mutex", 0},
{&fts_doc_id_mutex_key, "fts_doc_id_mutex", 0},
+ {&fts_pll_tokenize_mutex_key, "fts_pll_tokenize_mutex", 0},
{&log_flush_order_mutex_key, "log_flush_order_mutex", 0},
{&hash_table_mutex_key, "hash_table_mutex", 0},
{&ibuf_bitmap_mutex_key, "ibuf_bitmap_mutex", 0},
@@ -495,7 +495,8 @@ ib_cb_t innodb_api_cb[] = {
(ib_cb_t) ib_cursor_clear_trx,
(ib_cb_t) ib_get_idx_field_name,
(ib_cb_t) ib_trx_get_start_time,
- (ib_cb_t) ib_cfg_bk_commit_interval
+ (ib_cb_t) ib_cfg_bk_commit_interval,
+ (ib_cb_t) ib_cursor_stmt_begin
};
/*************************************************************//**
@@ -1470,6 +1471,13 @@ convert_error_code_to_mysql(
case DB_OUT_OF_FILE_SPACE:
return(HA_ERR_RECORD_FILE_FULL);
+ case DB_TEMP_FILE_WRITE_FAILURE:
+ my_error(ER_GET_ERRMSG, MYF(0),
+ DB_TEMP_FILE_WRITE_FAILURE,
+ ut_strerr(DB_TEMP_FILE_WRITE_FAILURE),
+ "InnoDB");
+ return(HA_ERR_INTERNAL_ERROR);
+
case DB_TABLE_IN_FK_CHECK:
return(HA_ERR_TABLE_IN_FK_CHECK);
@@ -3056,12 +3064,6 @@ mem_free_and_error:
goto mem_free_and_error;
}
- /* Remember stopword table name supplied at startup */
- if (innobase_server_stopword_table) {
- fts_server_stopword_table =
- my_strdup(innobase_server_stopword_table, MYF(0));
- }
-
if (innobase_change_buffering) {
ulint use;
@@ -3434,9 +3436,6 @@ innobase_end(
mysql_mutex_destroy(&pending_checkpoint_mutex);
}
- my_free(fts_server_stopword_table);
- fts_server_stopword_table= NULL;
-
DBUG_RETURN(err);
}
@@ -4224,11 +4223,14 @@ handler::Table_flags
ha_innobase::table_flags() const
/*============================*/
{
+ THD *thd = ha_thd();
/* Need to use tx_isolation here since table flags is (also)
called before prebuilt is inited. */
- ulong const tx_isolation = thd_tx_isolation(ha_thd());
+ ulong const tx_isolation = thd_tx_isolation(thd);
- if (tx_isolation <= ISO_READ_COMMITTED) {
+ if (tx_isolation <= ISO_READ_COMMITTED &&
+ !(tx_isolation == ISO_READ_COMMITTED &&
+ thd_rpl_is_parallel(thd))) {
return(int_table_flags);
}
@@ -5760,6 +5762,7 @@ innobase_mysql_fts_get_token(
ut_a(cs);
token->f_n_char = token->f_len = 0;
+ token->f_str = NULL;
for (;;) {
@@ -8373,7 +8376,7 @@ ha_innobase::ft_init_ext(
String* key) /* in: */
{
trx_t* trx;
- dict_table_t* table;
+ dict_table_t* ft_table;
dberr_t error;
byte* query = (byte*) key->ptr();
ulint query_len = key->length();
@@ -8423,17 +8426,24 @@ ha_innobase::ft_init_ext(
++trx->will_lock;
}
- table = prebuilt->table;
+ ft_table = prebuilt->table;
/* Table does not have an FTS index */
- if (!table->fts || ib_vector_is_empty(table->fts->indexes)) {
+ if (!ft_table->fts || ib_vector_is_empty(ft_table->fts->indexes)) {
my_error(ER_TABLE_HAS_NO_FT, MYF(0));
return(NULL);
}
+ /* If tablespace is discarded, we should return here */
+ if (dict_table_is_discarded(ft_table)) {
+ my_error(ER_NO_SUCH_TABLE, MYF(0), table->s->db.str,
+ table->s->table_name.str);
+ return(NULL);
+ }
+
if (keynr == NO_SUCH_KEY) {
/* FIXME: Investigate the NO_SUCH_KEY usage */
- index = (dict_index_t*) ib_vector_getp(table->fts->indexes, 0);
+ index = (dict_index_t*) ib_vector_getp(ft_table->fts->indexes, 0);
} else {
index = innobase_get_index(keynr);
}
@@ -8443,10 +8453,10 @@ ha_innobase::ft_init_ext(
return(NULL);
}
- if (!(table->fts->fts_status & ADDED_TABLE_SYNCED)) {
- fts_init_index(table, FALSE);
+ if (!(ft_table->fts->fts_status & ADDED_TABLE_SYNCED)) {
+ fts_init_index(ft_table, FALSE);
- table->fts->fts_status |= ADDED_TABLE_SYNCED;
+ ft_table->fts->fts_status |= ADDED_TABLE_SYNCED;
}
error = fts_query(trx, index, flags, query, query_len, &result);
@@ -9428,7 +9438,7 @@ innobase_fts_load_stopword(
THD* thd) /*!< in: current thread */
{
return(fts_load_stopword(table, trx,
- fts_server_stopword_table,
+ innobase_server_stopword_table,
THDVAR(thd, ft_user_stopword_table),
THDVAR(thd, ft_enable_stopword), FALSE));
}
@@ -10703,6 +10713,10 @@ ha_innobase::records_in_range(
/* There exists possibility of not being able to find requested
index due to inconsistency between MySQL and InoDB dictionary info.
Necessary message should have been printed in innobase_get_index() */
+ if (dict_table_is_discarded(prebuilt->table)) {
+ n_rows = HA_POS_ERROR;
+ goto func_exit;
+ }
if (UNIV_UNLIKELY(!index)) {
n_rows = HA_POS_ERROR;
goto func_exit;
@@ -11538,13 +11552,12 @@ int
ha_innobase::check(
/*===============*/
THD* thd, /*!< in: user thread handle */
- HA_CHECK_OPT* check_opt) /*!< in: check options, currently
- ignored */
+ HA_CHECK_OPT* check_opt) /*!< in: check options */
{
dict_index_t* index;
ulint n_rows;
ulint n_rows_in_table = ULINT_UNDEFINED;
- ibool is_ok = TRUE;
+ bool is_ok = true;
ulint old_isolation_level;
ibool table_corrupted;
@@ -11600,35 +11613,49 @@ ha_innobase::check(
do additional check */
prebuilt->table->corrupted = FALSE;
- /* Enlarge the fatal lock wait timeout during CHECK TABLE. */
- os_increment_counter_by_amount(
- server_mutex,
- srv_fatal_semaphore_wait_threshold,
- SRV_SEMAPHORE_WAIT_EXTENSION);
-
for (index = dict_table_get_first_index(prebuilt->table);
index != NULL;
index = dict_table_get_next_index(index)) {
char index_name[MAX_FULL_NAME_LEN + 1];
- /* If this is an index being created or dropped, break */
+ /* If this is an index being created or dropped, skip */
if (*index->name == TEMP_INDEX_PREFIX) {
- break;
- } else if (!btr_validate_index(index, prebuilt->trx)) {
- is_ok = FALSE;
-
- innobase_format_name(
- index_name, sizeof index_name,
- index->name, TRUE);
-
- push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
- ER_NOT_KEYFILE,
- "InnoDB: The B-tree of"
- " index %s is corrupted.",
- index_name);
continue;
}
+ if (!(check_opt->flags & T_QUICK)) {
+ /* Enlarge the fatal lock wait timeout during
+ CHECK TABLE. */
+ os_increment_counter_by_amount(
+ server_mutex,
+ srv_fatal_semaphore_wait_threshold,
+ SRV_SEMAPHORE_WAIT_EXTENSION);
+ bool valid = btr_validate_index(index, prebuilt->trx);
+
+ /* Restore the fatal lock wait timeout after
+ CHECK TABLE. */
+ os_decrement_counter_by_amount(
+ server_mutex,
+ srv_fatal_semaphore_wait_threshold,
+ SRV_SEMAPHORE_WAIT_EXTENSION);
+
+ if (!valid) {
+ is_ok = false;
+
+ innobase_format_name(
+ index_name, sizeof index_name,
+ index->name, TRUE);
+ push_warning_printf(
+ thd,
+ Sql_condition::WARN_LEVEL_WARN,
+ ER_NOT_KEYFILE,
+ "InnoDB: The B-tree of"
+ " index %s is corrupted.",
+ index_name);
+ continue;
+ }
+ }
+
/* Instead of invoking change_active_index(), set up
a dummy template for non-locking reads, disabling
access to the clustered index. */
@@ -11650,7 +11677,7 @@ ha_innobase::check(
"InnoDB: Index %s is marked as"
" corrupted",
index_name);
- is_ok = FALSE;
+ is_ok = false;
} else {
push_warning_printf(
thd,
@@ -11683,7 +11710,7 @@ ha_innobase::check(
"InnoDB: The B-tree of"
" index %s is corrupted.",
index_name);
- is_ok = FALSE;
+ is_ok = false;
dict_set_corrupted(
index, prebuilt->trx, "CHECK TABLE-check index");
}
@@ -11709,7 +11736,7 @@ ha_innobase::check(
index->name,
(ulong) n_rows,
(ulong) n_rows_in_table);
- is_ok = FALSE;
+ is_ok = false;
dict_set_corrupted(
index, prebuilt->trx,
"CHECK TABLE; Wrong count");
@@ -11732,21 +11759,17 @@ ha_innobase::check(
/* Restore the original isolation level */
prebuilt->trx->isolation_level = old_isolation_level;
- /* We validate also the whole adaptive hash index for all tables
- at every CHECK TABLE */
+ /* We validate the whole adaptive hash index for all tables
+ at every CHECK TABLE only when QUICK flag is not present. */
- if (!btr_search_validate()) {
+#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
+ if (!(check_opt->flags & T_QUICK) && !btr_search_validate()) {
push_warning(thd, Sql_condition::WARN_LEVEL_WARN,
ER_NOT_KEYFILE,
"InnoDB: The adaptive hash index is corrupted.");
- is_ok = FALSE;
+ is_ok = false;
}
-
- /* Restore the fatal lock wait timeout after CHECK TABLE. */
- os_decrement_counter_by_amount(
- server_mutex,
- srv_fatal_semaphore_wait_threshold,
- SRV_SEMAPHORE_WAIT_EXTENSION);
+#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
prebuilt->trx->op_info = "";
if (thd_kill_level(user_thd)) {
@@ -12709,7 +12732,7 @@ innodb_show_status(
const long MAX_STATUS_SIZE = 1048576;
ulint trx_list_start = ULINT_UNDEFINED;
ulint trx_list_end = ULINT_UNDEFINED;
- bool res;
+ bool ret_val;
DBUG_ENTER("innodb_show_status");
DBUG_ASSERT(hton == innodb_hton_ptr);
@@ -12786,13 +12809,13 @@ innodb_show_status(
mutex_exit(&srv_monitor_file_mutex);
- res= stat_print(thd, innobase_hton_name,
- (uint) strlen(innobase_hton_name),
- STRING_WITH_LEN(""), str, flen);
+ ret_val= stat_print(thd, innobase_hton_name,
+ (uint) strlen(innobase_hton_name),
+ STRING_WITH_LEN(""), str, flen);
my_free(str);
- DBUG_RETURN(res);
+ DBUG_RETURN(ret_val);
}
/************************************************************************//**
@@ -14470,44 +14493,6 @@ innodb_stopword_table_validate(
return(ret);
}
-/****************************************************************//**
-Update global variable fts_server_stopword_table with the "saved"
-stopword table name value. This function is registered as a callback
-with MySQL. */
-static
-void
-innodb_stopword_table_update(
-/*=========================*/
- THD* thd, /*!< in: thread handle */
- struct st_mysql_sys_var* var, /*!< in: pointer to
- system variable */
- void* var_ptr,/*!< out: where the
- formal string goes */
- const void* save) /*!< in: immediate result
- from check function */
-{
- const char* stopword_table_name;
- char* old;
-
- ut_a(save != NULL);
- ut_a(var_ptr != NULL);
-
- stopword_table_name = *static_cast<const char*const*>(save);
- old = *(char**) var_ptr;
-
- if (stopword_table_name) {
- *(char**) var_ptr = my_strdup(stopword_table_name, MYF(0));
- } else {
- *(char**) var_ptr = NULL;
- }
-
- if (old) {
- my_free(old);
- }
-
- fts_server_stopword_table = *(char**) var_ptr;
-}
-
/*************************************************************//**
Check whether valid argument given to "innodb_fts_internal_tbl_name"
This function is registered as a callback with MySQL.
@@ -15963,10 +15948,10 @@ static MYSQL_SYSVAR_STR(file_format_max, innobase_file_format_max,
innodb_file_format_max_update, "Antelope");
static MYSQL_SYSVAR_STR(ft_server_stopword_table, innobase_server_stopword_table,
- PLUGIN_VAR_OPCMDARG,
+ PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_MEMALLOC,
"The user supplied stopword table name.",
innodb_stopword_table_validate,
- innodb_stopword_table_update,
+ NULL,
NULL);
static MYSQL_SYSVAR_UINT(flush_log_at_timeout, srv_flush_log_at_timeout,
diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc
index 8cfd6928376..d7e16d93c6a 100644
--- a/storage/innobase/handler/handler0alter.cc
+++ b/storage/innobase/handler/handler0alter.cc
@@ -126,6 +126,12 @@ my_error_innodb(
case DB_OUT_OF_FILE_SPACE:
my_error(ER_RECORD_FILE_FULL, MYF(0), table);
break;
+ case DB_TEMP_FILE_WRITE_FAILURE:
+ my_error(ER_GET_ERRMSG, MYF(0),
+ DB_TEMP_FILE_WRITE_FAILURE,
+ ut_strerr(DB_TEMP_FILE_WRITE_FAILURE),
+ "InnoDB");
+ break;
case DB_TOO_BIG_INDEX_COL:
my_error(ER_INDEX_COLUMN_TOO_LONG, MYF(0),
DICT_MAX_FIELD_LEN_BY_FORMAT_FLAG(flags));
@@ -3962,7 +3968,8 @@ oom:
DEBUG_SYNC_C("inplace_after_index_build");
DBUG_EXECUTE_IF("create_index_fail",
- error = DB_DUPLICATE_KEY;);
+ error = DB_DUPLICATE_KEY;
+ prebuilt->trx->error_key_num = ULINT_UNDEFINED;);
/* After an error, remove all those index definitions
from the dictionary which were defined. */
@@ -5722,6 +5729,9 @@ foreign_fail:
if (index->type & DICT_FTS) {
DBUG_ASSERT(index->type == DICT_FTS);
+ /* We reset DICT_TF2_FTS here because the bit
+ is left unset when a drop proceeds the add. */
+ DICT_TF2_FLAG_SET(ctx->new_table, DICT_TF2_FTS);
fts_add_index(index, ctx->new_table);
add_fts = true;
}
diff --git a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc
index cafa745129b..bd999177806 100644
--- a/storage/innobase/handler/i_s.cc
+++ b/storage/innobase/handler/i_s.cc
@@ -3231,12 +3231,22 @@ i_s_fts_index_cache_fill_one_index(
{
TABLE* table = (TABLE*) tables->table;
Field** fields;
+ CHARSET_INFO* index_charset;
const ib_rbt_node_t* rbt_node;
+ fts_string_t conv_str;
+ uint dummy_errors;
+ char* word_str;
DBUG_ENTER("i_s_fts_index_cache_fill_one_index");
fields = table->field;
+ index_charset = index_cache->charset;
+ conv_str.f_len = system_charset_info->mbmaxlen
+ * FTS_MAX_WORD_LEN_IN_CHAR;
+ conv_str.f_str = static_cast<byte*>(ut_malloc(conv_str.f_len));
+ conv_str.f_n_char = 0;
+
/* Go through each word in the index cache */
for (rbt_node = rbt_first(index_cache->words);
rbt_node;
@@ -3247,6 +3257,20 @@ i_s_fts_index_cache_fill_one_index(
word = rbt_value(fts_tokenizer_word_t, rbt_node);
+ /* Convert word from index charset to system_charset_info */
+ if (index_charset->cset != system_charset_info->cset) {
+ conv_str.f_n_char = my_convert(
+ reinterpret_cast<char*>(conv_str.f_str),
+ conv_str.f_len, system_charset_info,
+ reinterpret_cast<char*>(word->text.f_str),
+ word->text.f_len, index_charset, &dummy_errors);
+ ut_ad(conv_str.f_n_char <= conv_str.f_len);
+ conv_str.f_str[conv_str.f_n_char] = 0;
+ word_str = reinterpret_cast<char*>(conv_str.f_str);
+ } else {
+ word_str = reinterpret_cast<char*>(word->text.f_str);
+ }
+
/* Decrypt the ilist, and display Dod ID and word position */
for (ulint i = 0; i < ib_vector_size(word->nodes); i++) {
fts_node_t* node;
@@ -3269,8 +3293,7 @@ i_s_fts_index_cache_fill_one_index(
OK(field_store_string(
fields[I_S_FTS_WORD],
- reinterpret_cast<const char*>
- (word->text.f_str)));
+ word_str));
OK(fields[I_S_FTS_FIRST_DOC_ID]->store(
(longlong) node->first_doc_id,
@@ -3300,6 +3323,8 @@ i_s_fts_index_cache_fill_one_index(
}
}
+ ut_free(conv_str.f_str);
+
DBUG_RETURN(0);
}
/*******************************************************************//**
@@ -3424,31 +3449,38 @@ Go through a FTS index auxiliary table, fetch its rows and fill
FTS word cache structure.
@return DB_SUCCESS on success, otherwise error code */
static
-ulint
+dberr_t
i_s_fts_index_table_fill_selected(
/*==============================*/
dict_index_t* index, /*!< in: FTS index */
ib_vector_t* words, /*!< in/out: vector to hold
fetched words */
- ulint selected) /*!< in: selected FTS index */
+ ulint selected, /*!< in: selected FTS index */
+ fts_string_t* word) /*!< in: word to select */
{
pars_info_t* info;
fts_table_t fts_table;
trx_t* trx;
que_t* graph;
- ulint error;
+ dberr_t error;
fts_fetch_t fetch;
info = pars_info_create();
fetch.read_arg = words;
fetch.read_record = fts_optimize_index_fetch_node;
+ fetch.total_memory = 0;
+
+ DBUG_EXECUTE_IF("fts_instrument_result_cache_limit",
+ fts_result_cache_limit = 8192;
+ );
trx = trx_allocate_for_background();
trx->op_info = "fetching FTS index nodes";
pars_info_bind_function(info, "my_func", fetch.read_record, &fetch);
+ pars_info_bind_varchar_literal(info, "word", word->f_str, word->f_len);
FTS_INIT_INDEX_TABLE(&fts_table, fts_get_suffix(selected),
FTS_INDEX_TABLE, index);
@@ -3459,7 +3491,7 @@ i_s_fts_index_table_fill_selected(
"DECLARE CURSOR c IS"
" SELECT word, doc_count, first_doc_id, last_doc_id, "
"ilist\n"
- " FROM %s;\n"
+ " FROM %s WHERE word >= :word;\n"
"BEGIN\n"
"\n"
"OPEN c;\n"
@@ -3490,7 +3522,7 @@ i_s_fts_index_table_fill_selected(
trx->error_state = DB_SUCCESS;
} else {
- fprintf(stderr, " InnoDB: Error: %lu "
+ fprintf(stderr, " InnoDB: Error: %d "
"while reading FTS index.\n", error);
break;
}
@@ -3503,54 +3535,94 @@ i_s_fts_index_table_fill_selected(
trx_free_for_background(trx);
+ if (fetch.total_memory >= fts_result_cache_limit) {
+ error = DB_FTS_EXCEED_RESULT_CACHE_LIMIT;
+ }
+
return(error);
}
/*******************************************************************//**
-Go through a FTS index and its auxiliary tables, fetch rows in each table
-and fill INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE.
+Free words. */
+static
+void
+i_s_fts_index_table_free_one_fetch(
+/*===============================*/
+ ib_vector_t* words) /*!< in: words fetched */
+{
+ for (ulint i = 0; i < ib_vector_size(words); i++) {
+ fts_word_t* word;
+
+ word = static_cast<fts_word_t*>(ib_vector_get(words, i));
+
+ for (ulint j = 0; j < ib_vector_size(word->nodes); j++) {
+ fts_node_t* node;
+
+ node = static_cast<fts_node_t*> (ib_vector_get(
+ word->nodes, j));
+ ut_free(node->ilist);
+ }
+
+ fts_word_free(word);
+ }
+
+ ib_vector_reset(words);
+}
+
+/*******************************************************************//**
+Go through words, fill INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE.
@return 0 on success, 1 on failure */
static
int
-i_s_fts_index_table_fill_one_index(
+i_s_fts_index_table_fill_one_fetch(
/*===============================*/
- dict_index_t* index, /*!< in: FTS index */
+ CHARSET_INFO* index_charset, /*!< in: FTS index charset */
THD* thd, /*!< in: thread */
- TABLE_LIST* tables) /*!< in/out: tables to fill */
+ TABLE_LIST* tables, /*!< in/out: tables to fill */
+ ib_vector_t* words, /*!< in: words fetched */
+ fts_string_t* conv_str, /*!< in: string for conversion*/
+ bool has_more) /*!< in: has more to fetch */
{
TABLE* table = (TABLE*) tables->table;
Field** fields;
- ib_vector_t* words;
- mem_heap_t* heap;
- ulint num_row_fill;
-
- DBUG_ENTER("i_s_fts_index_cache_fill_one_index");
- DBUG_ASSERT(!dict_index_is_online_ddl(index));
+ uint dummy_errors;
+ char* word_str;
+ ulint words_size;
+ int ret = 0;
- heap = mem_heap_create(1024);
-
- words = ib_vector_create(ib_heap_allocator_create(heap),
- sizeof(fts_word_t), 256);
+ DBUG_ENTER("i_s_fts_index_table_fill_one_fetch");
fields = table->field;
- /* Iterate through each auxiliary table as described in
- fts_index_selector */
- for (ulint selected = 0; fts_index_selector[selected].value;
- selected++) {
- i_s_fts_index_table_fill_selected(index, words, selected);
+ words_size = ib_vector_size(words);
+ if (has_more) {
+ /* the last word is not fetched completely. */
+ ut_ad(words_size > 1);
+ words_size -= 1;
}
- num_row_fill = ut_min(ib_vector_size(words), 500000);
-
/* Go through each word in the index cache */
- for (ulint i = 0; i < num_row_fill; i++) {
+ for (ulint i = 0; i < words_size; i++) {
fts_word_t* word;
- word = (fts_word_t*) ib_vector_get(words, i);
+ word = static_cast<fts_word_t*>(ib_vector_get(words, i));
word->text.f_str[word->text.f_len] = 0;
+ /* Convert word from index charset to system_charset_info */
+ if (index_charset->cset != system_charset_info->cset) {
+ conv_str->f_n_char = my_convert(
+ reinterpret_cast<char*>(conv_str->f_str),
+ conv_str->f_len, system_charset_info,
+ reinterpret_cast<char*>(word->text.f_str),
+ word->text.f_len, index_charset, &dummy_errors);
+ ut_ad(conv_str->f_n_char <= conv_str->f_len);
+ conv_str->f_str[conv_str->f_n_char] = 0;
+ word_str = reinterpret_cast<char*>(conv_str->f_str);
+ } else {
+ word_str = reinterpret_cast<char*>(word->text.f_str);
+ }
+
/* Decrypt the ilist, and display Dod ID and word position */
for (ulint i = 0; i < ib_vector_size(word->nodes); i++) {
fts_node_t* node;
@@ -3574,8 +3646,7 @@ i_s_fts_index_table_fill_one_index(
OK(field_store_string(
fields[I_S_FTS_WORD],
- reinterpret_cast<const char*>
- (word->text.f_str)));
+ word_str));
OK(fields[I_S_FTS_FIRST_DOC_ID]->store(
(longlong) node->first_doc_id,
@@ -3605,9 +3676,95 @@ i_s_fts_index_table_fill_one_index(
}
}
+ i_s_fts_index_table_free_one_fetch(words);
+
+ DBUG_RETURN(ret);
+}
+
+/*******************************************************************//**
+Go through a FTS index and its auxiliary tables, fetch rows in each table
+and fill INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE.
+@return 0 on success, 1 on failure */
+static
+int
+i_s_fts_index_table_fill_one_index(
+/*===============================*/
+ dict_index_t* index, /*!< in: FTS index */
+ THD* thd, /*!< in: thread */
+ TABLE_LIST* tables) /*!< in/out: tables to fill */
+{
+ ib_vector_t* words;
+ mem_heap_t* heap;
+ fts_string_t word;
+ CHARSET_INFO* index_charset;
+ fts_string_t conv_str;
+ dberr_t error;
+ int ret = 0;
+
+ DBUG_ENTER("i_s_fts_index_table_fill_one_index");
+ DBUG_ASSERT(!dict_index_is_online_ddl(index));
+
+ heap = mem_heap_create(1024);
+
+ words = ib_vector_create(ib_heap_allocator_create(heap),
+ sizeof(fts_word_t), 256);
+
+ word.f_str = NULL;
+ word.f_len = 0;
+ word.f_n_char = 0;
+
+ index_charset = fts_index_get_charset(index);
+ conv_str.f_len = system_charset_info->mbmaxlen
+ * FTS_MAX_WORD_LEN_IN_CHAR;
+ conv_str.f_str = static_cast<byte*>(ut_malloc(conv_str.f_len));
+ conv_str.f_n_char = 0;
+
+ /* Iterate through each auxiliary table as described in
+ fts_index_selector */
+ for (ulint selected = 0; fts_index_selector[selected].value;
+ selected++) {
+ bool has_more = false;
+
+ do {
+ /* Fetch from index */
+ error = i_s_fts_index_table_fill_selected(
+ index, words, selected, &word);
+
+ if (error == DB_SUCCESS) {
+ has_more = false;
+ } else if (error == DB_FTS_EXCEED_RESULT_CACHE_LIMIT) {
+ has_more = true;
+ } else {
+ i_s_fts_index_table_free_one_fetch(words);
+ ret = 1;
+ goto func_exit;
+ }
+
+ if (has_more) {
+ fts_word_t* last_word;
+
+ /* Prepare start point for next fetch */
+ last_word = static_cast<fts_word_t*>(ib_vector_last(words));
+ ut_ad(last_word != NULL);
+ fts_utf8_string_dup(&word, &last_word->text, heap);
+ }
+
+ /* Fill into tables */
+ ret = i_s_fts_index_table_fill_one_fetch(
+ index_charset, thd, tables, words, &conv_str, has_more);
+
+ if (ret != 0) {
+ i_s_fts_index_table_free_one_fetch(words);
+ goto func_exit;
+ }
+ } while (has_more);
+ }
+
+func_exit:
+ ut_free(conv_str.f_str);
mem_heap_free(heap);
- DBUG_RETURN(0);
+ DBUG_RETURN(ret);
}
/*******************************************************************//**
Fill the dynamic table INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE
diff --git a/storage/innobase/ibuf/ibuf0ibuf.cc b/storage/innobase/ibuf/ibuf0ibuf.cc
index fd3b13d2cd3..1ce5332885a 100644
--- a/storage/innobase/ibuf/ibuf0ibuf.cc
+++ b/storage/innobase/ibuf/ibuf0ibuf.cc
@@ -2751,6 +2751,10 @@ ibuf_merge(
if (ibuf->empty && !srv_shutdown_state) {
return(0);
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ } else if (ibuf_debug) {
+ return(0);
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
} else if (table_id == 0) {
return(ibuf_merge_pages(n_pages, sync));
} else if ((table = ibuf_get_table(table_id)) == 0) {
@@ -4136,6 +4140,22 @@ dump:
rec = page_cur_get_rec(&page_cur);
row_upd_rec_in_place(rec, index, offsets,
update, page_zip);
+
+ /* Log the update in place operation. During recovery
+ MLOG_COMP_REC_UPDATE_IN_PLACE/MLOG_REC_UPDATE_IN_PLACE
+ expects trx_id, roll_ptr for secondary indexes. So we
+ just write dummy trx_id(0), roll_ptr(0) */
+ btr_cur_update_in_place_log(BTR_KEEP_SYS_FLAG, rec,
+ index, update, 0, 0, mtr);
+ DBUG_EXECUTE_IF(
+ "crash_after_log_ibuf_upd_inplace",
+ log_buffer_flush_to_disk();
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "Wrote log record for ibuf update in "
+ "place operation");
+ DBUG_SUICIDE();
+ );
+
goto updated_in_place;
}
@@ -4389,14 +4409,6 @@ ibuf_restore_pos(
fflush(stderr);
ibuf_btr_pcur_commit_specify_mtr(pcur, mtr);
-
- fputs("InnoDB: Validating insert buffer tree:\n", stderr);
- if (!btr_validate_index(ibuf->index, 0)) {
- ut_error;
- }
-
- fprintf(stderr, "InnoDB: ibuf tree ok\n");
- fflush(stderr);
ut_ad(0);
}
diff --git a/storage/innobase/include/api0api.h b/storage/innobase/include/api0api.h
index 1d6aaab60bc..c294e3f34d5 100644
--- a/storage/innobase/include/api0api.h
+++ b/storage/innobase/include/api0api.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2011, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -460,6 +460,10 @@ ib_trx_start(
/*=========*/
ib_trx_t ib_trx, /*!< in: transaction to restart */
ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit, /*!< in: auto commit after each
+ single DML */
void* thd); /*!< in: THD */
/*****************************************************************//**
@@ -470,7 +474,11 @@ put the transaction in the active state.
ib_trx_t
ib_trx_begin(
/*=========*/
- ib_trx_level_t ib_trx_level); /*!< in: trx isolation level */
+ ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit); /*!< in: auto commit after each
+ single DML */
/*****************************************************************//**
Query the transaction's state. This function can be used to check for
@@ -669,7 +677,9 @@ ib_err_t
ib_cursor_read_row(
/*===============*/
ib_crsr_t ib_crsr, /*!< in: InnoDB cursor instance */
- ib_tpl_t ib_tpl); /*!< out: read cols into this tuple */
+ ib_tpl_t ib_tpl, /*!< out: read cols into this tuple */
+ void** row_buf, /*!< in/out: row buffer */
+ ib_ulint_t* row_len); /*!< in/out: row buffer len */
/*****************************************************************//**
Move cursor to the first record in the table.
diff --git a/storage/innobase/include/btr0cur.h b/storage/innobase/include/btr0cur.h
index e2bc599d598..833166e783c 100644
--- a/storage/innobase/include/btr0cur.h
+++ b/storage/innobase/include/btr0cur.h
@@ -326,6 +326,20 @@ btr_cur_update_in_place(
mtr_commit(mtr) before latching any
further pages */
__attribute__((warn_unused_result, nonnull));
+/***********************************************************//**
+Writes a redo log record of updating a record in-place. */
+UNIV_INTERN
+void
+btr_cur_update_in_place_log(
+/*========================*/
+ ulint flags, /*!< in: flags */
+ const rec_t* rec, /*!< in: record */
+ dict_index_t* index, /*!< in: index of the record */
+ const upd_t* update, /*!< in: update vector */
+ trx_id_t trx_id, /*!< in: transaction id */
+ roll_ptr_t roll_ptr, /*!< in: roll ptr */
+ mtr_t* mtr) /*!< in: mtr */
+ __attribute__((nonnull));
/*************************************************************//**
Tries to update a record on a page in an index tree. It is assumed that mtr
holds an x-latch on the page. The operation does not succeed if there is too
diff --git a/storage/innobase/include/btr0pcur.h b/storage/innobase/include/btr0pcur.h
index 973fae382ab..fc008cdd185 100644
--- a/storage/innobase/include/btr0pcur.h
+++ b/storage/innobase/include/btr0pcur.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -460,6 +460,27 @@ btr_pcur_move_to_prev_on_page(
/*==========================*/
btr_pcur_t* cursor);/*!< in/out: persistent cursor */
+/** Position state of persistent B-tree cursor. */
+enum pcur_pos_t {
+ /** The persistent cursor is not positioned. */
+ BTR_PCUR_NOT_POSITIONED = 0,
+ /** The persistent cursor was previously positioned.
+ TODO: currently, the state can be BTR_PCUR_IS_POSITIONED,
+ though it really should be BTR_PCUR_WAS_POSITIONED,
+ because we have no obligation to commit the cursor with
+ mtr; similarly latch_mode may be out of date. This can
+ lead to problems if btr_pcur is not used the right way;
+ all current code should be ok. */
+ BTR_PCUR_WAS_POSITIONED,
+ /** The persistent cursor is positioned by optimistic get to the same
+ record as it was positioned at. Not used for rel_pos == BTR_PCUR_ON.
+ It may need adjustment depending on previous/current search direction
+ and rel_pos. */
+ BTR_PCUR_IS_POSITIONED_OPTIMISTIC,
+ /** The persistent cursor is positioned by index search.
+ Or optimistic get for rel_pos == BTR_PCUR_ON. */
+ BTR_PCUR_IS_POSITIONED
+};
/* The persistent B-tree cursor structure. This is used mainly for SQL
selects, updates, and deletes. */
@@ -493,10 +514,8 @@ struct btr_pcur_t{
ib_uint64_t modify_clock; /*!< the modify clock value of the
buffer block when the cursor position
was stored */
- ulint pos_state; /*!< see TODO note below!
- BTR_PCUR_IS_POSITIONED,
- BTR_PCUR_WAS_POSITIONED,
- BTR_PCUR_NOT_POSITIONED */
+ enum pcur_pos_t pos_state; /*!< btr_pcur_store_position() and
+ btr_pcur_restore_position() state. */
ulint search_mode; /*!< PAGE_CUR_G, ... */
trx_t* trx_if_known; /*!< the transaction, if we know it;
otherwise this field is not defined;
@@ -512,21 +531,6 @@ struct btr_pcur_t{
is not NULL */
};
-#define BTR_PCUR_IS_POSITIONED 1997660512 /* TODO: currently, the state
- can be BTR_PCUR_IS_POSITIONED,
- though it really should be
- BTR_PCUR_WAS_POSITIONED,
- because we have no obligation
- to commit the cursor with
- mtr; similarly latch_mode may
- be out of date. This can
- lead to problems if btr_pcur
- is not used the right way;
- all current code should be
- ok. */
-#define BTR_PCUR_WAS_POSITIONED 1187549791
-#define BTR_PCUR_NOT_POSITIONED 1328997689
-
#define BTR_PCUR_OLD_STORED 908467085
#define BTR_PCUR_OLD_NOT_STORED 122766467
diff --git a/storage/innobase/include/btr0pcur.ic b/storage/innobase/include/btr0pcur.ic
index 79afd7c322e..29f2fc722a2 100644
--- a/storage/innobase/include/btr0pcur.ic
+++ b/storage/innobase/include/btr0pcur.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -379,7 +379,7 @@ btr_pcur_commit_specify_mtr(
btr_pcur_t* pcur, /*!< in: persistent cursor */
mtr_t* mtr) /*!< in: mtr to commit */
{
- ut_a(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
pcur->latch_mode = BTR_NO_LATCHES;
diff --git a/storage/innobase/include/btr0sea.h b/storage/innobase/include/btr0sea.h
index fea117d0aaf..848bde451a0 100644
--- a/storage/innobase/include/btr0sea.h
+++ b/storage/innobase/include/btr0sea.h
@@ -189,8 +189,6 @@ UNIV_INTERN
ibool
btr_search_validate(void);
/*======================*/
-#else
-# define btr_search_validate() TRUE
#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
/** The search info struct in an index */
diff --git a/storage/innobase/include/db0err.h b/storage/innobase/include/db0err.h
index 1f5ab0d7923..982bf1943cf 100644
--- a/storage/innobase/include/db0err.h
+++ b/storage/innobase/include/db0err.h
@@ -127,6 +127,7 @@ enum dberr_t {
DB_IDENTIFIER_TOO_LONG, /*!< Identifier name too long */
DB_FTS_EXCEED_RESULT_CACHE_LIMIT, /*!< FTS query memory
exceeds result cache limit */
+ DB_TEMP_FILE_WRITE_FAILURE, /*!< Temp file write failure */
/* The following are partial failure codes */
DB_FAIL = 1000,
diff --git a/storage/innobase/include/dict0stats.ic b/storage/innobase/include/dict0stats.ic
index 8fb31678af9..ec9a9065470 100644
--- a/storage/innobase/include/dict0stats.ic
+++ b/storage/innobase/include/dict0stats.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2012, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/innobase/include/dict0types.h b/storage/innobase/include/dict0types.h
index 6acb6a2dcbe..1299445a8ee 100644
--- a/storage/innobase/include/dict0types.h
+++ b/storage/innobase/include/dict0types.h
@@ -82,4 +82,9 @@ enum ib_quiesce_t {
#define TEMP_TABLE_PREFIX "#sql"
#define TEMP_TABLE_PATH_PREFIX "/" TEMP_TABLE_PREFIX
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+extern uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#endif
diff --git a/storage/innobase/include/fts0fts.h b/storage/innobase/include/fts0fts.h
index f94112ef4d4..5bea5bc0e97 100644
--- a/storage/innobase/include/fts0fts.h
+++ b/storage/innobase/include/fts0fts.h
@@ -773,16 +773,12 @@ fts_cache_destroy(
fts_cache_t* cache); /*!< in: cache*/
/*********************************************************************//**
-Clear cache. If the shutdown flag is TRUE then the cache can contain
-data that needs to be freed. For regular clear as part of normal
-working we assume the caller has freed all resources. */
+Clear cache. */
UNIV_INTERN
void
fts_cache_clear(
/*============*/
- fts_cache_t* cache, /*!< in: cache */
- ibool free_words); /*!< in: TRUE if free
- in memory word cache. */
+ fts_cache_t* cache); /*!< in: cache */
/*********************************************************************//**
Initialize things in cache. */
@@ -833,7 +829,7 @@ fts_drop_index_split_tables(
Run SYNC on the table, i.e., write out data from the cache to the
FTS auxiliary INDEX table and clear the cache at the end. */
UNIV_INTERN
-void
+dberr_t
fts_sync_table(
/*===========*/
dict_table_t* table) /*!< in: table */
diff --git a/storage/innobase/include/fts0types.h b/storage/innobase/include/fts0types.h
index b714d326487..64677428331 100644
--- a/storage/innobase/include/fts0types.h
+++ b/storage/innobase/include/fts0types.h
@@ -237,6 +237,7 @@ struct fts_fetch_t {
fts_sql_callback
read_record; /*!< Callback for reading index
record */
+ ulint total_memory; /*!< Total memory used */
};
/** For horizontally splitting an FTS auxiliary index */
diff --git a/storage/innobase/include/ibuf0ibuf.h b/storage/innobase/include/ibuf0ibuf.h
index 0c5a336a1f0..9c3b686c998 100644
--- a/storage/innobase/include/ibuf0ibuf.h
+++ b/storage/innobase/include/ibuf0ibuf.h
@@ -67,11 +67,6 @@ typedef enum {
/** Operations that can currently be buffered. */
extern ibuf_use_t ibuf_use;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-extern uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
extern ibuf_t* ibuf;
diff --git a/storage/innobase/include/log0log.h b/storage/innobase/include/log0log.h
index 1e61ea54e7b..61318e34561 100644
--- a/storage/innobase/include/log0log.h
+++ b/storage/innobase/include/log0log.h
@@ -824,6 +824,8 @@ struct log_t{
later; this is advanced when a flush
operation is completed to all the log
groups */
+ volatile bool is_extending; /*!< this is set to true during extend
+ the log buffer size */
lsn_t written_to_some_lsn;
/*!< first log sequence number not yet
written to any log group; for this to
diff --git a/storage/innobase/include/mtr0mtr.h b/storage/innobase/include/mtr0mtr.h
index 3257402d8aa..ed7fd76d425 100644
--- a/storage/innobase/include/mtr0mtr.h
+++ b/storage/innobase/include/mtr0mtr.h
@@ -315,7 +315,7 @@ mtr_memo_release(
Checks if memo contains the given item.
@return TRUE if contains */
UNIV_INLINE
-ibool
+bool
mtr_memo_contains(
/*==============*/
mtr_t* mtr, /*!< in: mtr */
diff --git a/storage/innobase/include/mtr0mtr.ic b/storage/innobase/include/mtr0mtr.ic
index bb24734c9bb..a9f02430220 100644
--- a/storage/innobase/include/mtr0mtr.ic
+++ b/storage/innobase/include/mtr0mtr.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -158,37 +158,38 @@ mtr_release_s_latch_at_savepoint(
Checks if memo contains the given item.
@return TRUE if contains */
UNIV_INLINE
-ibool
+bool
mtr_memo_contains(
/*==============*/
mtr_t* mtr, /*!< in: mtr */
const void* object, /*!< in: object to search */
ulint type) /*!< in: type of object */
{
- mtr_memo_slot_t* slot;
- dyn_array_t* memo;
- ulint offset;
-
ut_ad(mtr);
ut_ad(mtr->magic_n == MTR_MAGIC_N);
ut_ad(mtr->state == MTR_ACTIVE || mtr->state == MTR_COMMITTING);
- memo = &(mtr->memo);
-
- offset = dyn_array_get_data_size(memo);
-
- while (offset > 0) {
- offset -= sizeof(mtr_memo_slot_t);
-
- slot = (mtr_memo_slot_t*) dyn_array_get_element(memo, offset);
-
- if ((object == slot->object) && (type == slot->type)) {
-
- return(TRUE);
+ for (const dyn_block_t* block = dyn_array_get_last_block(&mtr->memo);
+ block;
+ block = dyn_array_get_prev_block(&mtr->memo, block)) {
+ const mtr_memo_slot_t* start
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block));
+ mtr_memo_slot_t* slot
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block)
+ + dyn_block_get_used(block));
+
+ ut_ad(!(dyn_block_get_used(block) % sizeof(mtr_memo_slot_t)));
+
+ while (slot-- != start) {
+ if (object == slot->object && type == slot->type) {
+ return(true);
+ }
}
}
- return(FALSE);
+ return(false);
}
# endif /* UNIV_DEBUG */
#endif /* !UNIV_HOTBACKUP */
diff --git a/storage/innobase/include/os0file.h b/storage/innobase/include/os0file.h
index ef7503ad45f..f19d61e0137 100644
--- a/storage/innobase/include/os0file.h
+++ b/storage/innobase/include/os0file.h
@@ -1277,6 +1277,17 @@ os_aio_linux_handle(
ulint* type); /*!< out: OS_FILE_WRITE or ..._READ */
#endif /* LINUX_NATIVE_AIO */
+/****************************************************************//**
+Does error handling when a file operation fails.
+@return TRUE if we should retry the operation */
+ibool
+os_file_handle_error_no_exit(
+/*=========================*/
+ const char* name, /*!< in: name of a file or NULL */
+ const char* operation, /*!< in: operation */
+ ibool on_error_silent);/*!< in: if TRUE then don't print
+ any message to the log. */
+
#ifndef UNIV_NONINL
#include "os0file.ic"
#endif
diff --git a/storage/innobase/include/row0ftsort.h b/storage/innobase/include/row0ftsort.h
index 4a486450efc..4e04a099140 100644
--- a/storage/innobase/include/row0ftsort.h
+++ b/storage/innobase/include/row0ftsort.h
@@ -84,10 +84,13 @@ struct fts_psort_t {
row_merge_block_t* block_alloc[FTS_NUM_AUX_INDEX];
/*!< buffer to allocated */
ulint child_status; /*!< child thread status */
- ulint state; /*!< child thread state */
+ ulint state; /*!< parent thread state */
fts_doc_list_t fts_doc_list; /*!< doc list to process */
fts_psort_common_t* psort_common; /*!< ptr to all psort info */
os_thread_t thread_hdl; /*!< thread handler */
+ dberr_t error; /*!< db error during psort */
+ ulint memory_used; /*!< memory used by fts_doc_list */
+ ib_mutex_t mutex; /*!< mutex for fts_doc_list */
};
/** Structure stores information from string tokenization operation */
@@ -124,6 +127,7 @@ typedef struct fts_psort_insert fts_psort_insert_t;
/** status bit used for communication between parent and child thread */
#define FTS_PARENT_COMPLETE 1
+#define FTS_PARENT_EXITING 2
#define FTS_CHILD_COMPLETE 1
#define FTS_CHILD_EXITING 2
diff --git a/storage/innobase/include/srv0conc.h b/storage/innobase/include/srv0conc.h
index 9aee1b17bf0..cf61ef5528d 100644
--- a/storage/innobase/include/srv0conc.h
+++ b/storage/innobase/include/srv0conc.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2011, 2012, Oracle and/or its affiliates. All Rights Reserved.
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. Those modifications are gratefully acknowledged and are described
diff --git a/storage/innobase/include/srv0mon.h b/storage/innobase/include/srv0mon.h
index 209894833a0..e2ab81bf53a 100644
--- a/storage/innobase/include/srv0mon.h
+++ b/storage/innobase/include/srv0mon.h
@@ -308,7 +308,11 @@ enum monitor_id_t {
/* Index related counters */
MONITOR_MODULE_INDEX,
MONITOR_INDEX_SPLIT,
- MONITOR_INDEX_MERGE,
+ MONITOR_INDEX_MERGE_ATTEMPTS,
+ MONITOR_INDEX_MERGE_SUCCESSFUL,
+ MONITOR_INDEX_REORG_ATTEMPTS,
+ MONITOR_INDEX_REORG_SUCCESSFUL,
+ MONITOR_INDEX_DISCARD,
/* Adaptive Hash Index related counters */
MONITOR_MODULE_ADAPTIVE_HASH,
diff --git a/storage/innobase/include/srv0mon.ic b/storage/innobase/include/srv0mon.ic
index 17411d77a8b..225390c6b6f 100644
--- a/storage/innobase/include/srv0mon.ic
+++ b/storage/innobase/include/srv0mon.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2010, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2010, 2012, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/innobase/include/sync0arr.h b/storage/innobase/include/sync0arr.h
index bb4d1037a62..15dbdcb540d 100644
--- a/storage/innobase/include/sync0arr.h
+++ b/storage/innobase/include/sync0arr.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2009, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -37,10 +37,27 @@ struct sync_cell_t;
struct sync_array_t;
/******************************************************************//**
+Get an instance of the sync wait array and reserve a wait array cell
+in the instance for waiting for an object. The event of the cell is
+reset to nonsignalled state.
+If reserving cell of the instance fails, try to get another new
+instance until we can reserve an empty cell of it.
+@return the instance found, never NULL. */
+UNIV_INLINE
+sync_array_t*
+sync_array_get_and_reserve_cell(
+/*============================*/
+ void* object, /*!< in: pointer to the object to wait for */
+ ulint type, /*!< in: lock request type */
+ const char* file, /*!< in: file where requested */
+ ulint line, /*!< in: line where requested */
+ ulint* index); /*!< out: index of the reserved cell */
+/******************************************************************//**
Reserves a wait array cell for waiting for an object.
-The event of the cell is reset to nonsignalled state. */
+The event of the cell is reset to nonsignalled state.
+@return true if free cell is found, otherwise false */
UNIV_INTERN
-void
+bool
sync_array_reserve_cell(
/*====================*/
sync_array_t* arr, /*!< in: wait array */
diff --git a/storage/innobase/include/sync0arr.ic b/storage/innobase/include/sync0arr.ic
index 0114a1ff5a2..18a46dd0a41 100644
--- a/storage/innobase/include/sync0arr.ic
+++ b/storage/innobase/include/sync0arr.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2009, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -24,3 +24,41 @@ Inline code
Created 9/5/1995 Heikki Tuuri
*******************************************************/
+
+/** User configured sync array size */
+extern ulong srv_sync_array_size;
+
+/******************************************************************//**
+Get an instance of the sync wait array and reserve a wait array cell
+in the instance for waiting for an object. The event of the cell is
+reset to nonsignalled state.
+If reserving cell of the instance fails, try to get another new
+instance until we can reserve an empty cell of it.
+@return the instance found, never NULL. */
+UNIV_INLINE
+sync_array_t*
+sync_array_get_and_reserve_cell(
+/*============================*/
+ void* object, /*!< in: pointer to the object to wait for */
+ ulint type, /*!< in: lock request type */
+ const char* file, /*!< in: file where requested */
+ ulint line, /*!< in: line where requested */
+ ulint* index) /*!< out: index of the reserved cell */
+{
+ sync_array_t* sync_arr;
+ bool reserved = false;
+
+ for (ulint i = 0; i < srv_sync_array_size && !reserved; ++i) {
+ sync_arr = sync_array_get();
+ reserved = sync_array_reserve_cell(sync_arr, object, type,
+ file, line, index);
+ }
+
+ /* This won't be true every time, for the loop above may execute
+ more than srv_sync_array_size times to reserve a cell.
+ But an assertion here makes the code more solid. */
+ ut_a(reserved);
+
+ return sync_arr;
+}
+
diff --git a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h
index 9950a6fbf6b..7b00e16476b 100644
--- a/storage/innobase/include/sync0sync.h
+++ b/storage/innobase/include/sync0sync.h
@@ -80,6 +80,7 @@ extern mysql_pfs_key_t fts_bg_threads_mutex_key;
extern mysql_pfs_key_t fts_delete_mutex_key;
extern mysql_pfs_key_t fts_optimize_mutex_key;
extern mysql_pfs_key_t fts_doc_id_mutex_key;
+extern mysql_pfs_key_t fts_pll_tokenize_mutex_key;
extern mysql_pfs_key_t hash_table_mutex_key;
extern mysql_pfs_key_t ibuf_bitmap_mutex_key;
extern mysql_pfs_key_t ibuf_mutex_key;
@@ -710,6 +711,7 @@ or row lock! */
#define SYNC_LOG 170
#define SYNC_LOG_FLUSH_ORDER 147
#define SYNC_RECV 168
+#define SYNC_FTS_TOKENIZE 167
#define SYNC_FTS_CACHE_INIT 166 /* Used for FTS cache initialization */
#define SYNC_FTS_BG_THREADS 165
#define SYNC_FTS_OPTIMIZE 164 // FIXME: is this correct number, test
diff --git a/storage/innobase/include/trx0trx.h b/storage/innobase/include/trx0trx.h
index a75d925d4eb..f580901237f 100644
--- a/storage/innobase/include/trx0trx.h
+++ b/storage/innobase/include/trx0trx.h
@@ -997,6 +997,10 @@ struct trx_t{
ulint start_line; /*!< Track where it was started from */
const char* start_file; /*!< Filename where it was started */
#endif /* UNIV_DEBUG */
+ /*------------------------------*/
+ bool api_trx; /*!< trx started by InnoDB API */
+ bool api_auto_commit;/*!< automatic commit */
+ bool read_write; /*!< if read and write operation */
/*------------------------------*/
char detailed_error[256]; /*!< detailed error message for last
diff --git a/storage/innobase/include/univ.i b/storage/innobase/include/univ.i
index a4d292b4f0f..9b5fffe81e8 100644
--- a/storage/innobase/include/univ.i
+++ b/storage/innobase/include/univ.i
@@ -44,7 +44,7 @@ Created 1/20/1994 Heikki Tuuri
#define INNODB_VERSION_MAJOR 5
#define INNODB_VERSION_MINOR 6
-#define INNODB_VERSION_BUGFIX 14
+#define INNODB_VERSION_BUGFIX 15
/* The following is the InnoDB version as shown in
SELECT plugin_version FROM information_schema.plugins;
diff --git a/storage/innobase/include/ut0bh.h b/storage/innobase/include/ut0bh.h
index 84ea6dd915a..1085736c7ab 100644
--- a/storage/innobase/include/ut0bh.h
+++ b/storage/innobase/include/ut0bh.h
@@ -1,6 +1,6 @@
/***************************************************************************//**
-Copyright (c) 2011, Oracle Corpn. All Rights Reserved.
+Copyright (c) 2011, 2013, Oracle Corpn. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/innobase/include/ut0bh.ic b/storage/innobase/include/ut0bh.ic
index a604237665d..b11de5b8b3e 100644
--- a/storage/innobase/include/ut0bh.ic
+++ b/storage/innobase/include/ut0bh.ic
@@ -1,6 +1,6 @@
/***************************************************************************//**
-Copyright (c) 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2011, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/innobase/log/log0log.cc b/storage/innobase/log/log0log.cc
index a90d49becdf..5282e45dddb 100644
--- a/storage/innobase/log/log0log.cc
+++ b/storage/innobase/log/log0log.cc
@@ -184,6 +184,86 @@ log_buf_pool_get_oldest_modification(void)
return(lsn);
}
+/** Extends the log buffer.
+@param[in] len requested minimum size in bytes */
+static
+void
+log_buffer_extend(
+ ulint len)
+{
+ ulint move_start;
+ ulint move_end;
+ byte tmp_buf[OS_FILE_LOG_BLOCK_SIZE];
+
+ mutex_enter(&(log_sys->mutex));
+
+ while (log_sys->is_extending) {
+ /* Another thread is trying to extend already.
+ Needs to wait for. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+
+ if (srv_log_buffer_size > len / UNIV_PAGE_SIZE) {
+ /* Already extended enough by the others */
+ mutex_exit(&(log_sys->mutex));
+ return;
+ }
+ }
+
+ log_sys->is_extending = true;
+
+ while (log_sys->n_pending_writes != 0
+ || ut_calc_align_down(log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE)
+ != ut_calc_align_down(log_sys->buf_next_to_write,
+ OS_FILE_LOG_BLOCK_SIZE)) {
+ /* Buffer might have >1 blocks to write still. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+ }
+
+ move_start = ut_calc_align_down(
+ log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE);
+ move_end = log_sys->buf_free;
+
+ /* store the last log block in buffer */
+ ut_memcpy(tmp_buf, log_sys->buf + move_start,
+ move_end - move_start);
+
+ log_sys->buf_free -= move_start;
+ log_sys->buf_next_to_write -= move_start;
+
+ /* reallocate log buffer */
+ srv_log_buffer_size = len / UNIV_PAGE_SIZE + 1;
+ mem_free(log_sys->buf_ptr);
+ log_sys->buf_ptr = static_cast<byte*>(
+ mem_zalloc(LOG_BUFFER_SIZE + OS_FILE_LOG_BLOCK_SIZE));
+ log_sys->buf = static_cast<byte*>(
+ ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE));
+ log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->max_buf_free = log_sys->buf_size / LOG_BUF_FLUSH_RATIO
+ - LOG_BUF_FLUSH_MARGIN;
+
+ /* restore the last log block */
+ ut_memcpy(log_sys->buf, tmp_buf, move_end - move_start);
+
+ ut_ad(log_sys->is_extending);
+ log_sys->is_extending = false;
+
+ mutex_exit(&(log_sys->mutex));
+
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "innodb_log_buffer_size was extended to %lu.",
+ LOG_BUFFER_SIZE);
+}
+
/************************************************************//**
Opens the log for log_write_low. The log must be closed with log_close and
released with log_release.
@@ -204,11 +284,37 @@ log_reserve_and_open(
ulint count = 0;
#endif /* UNIV_DEBUG */
- ut_a(len < log->buf_size / 2);
+ if (len >= log->buf_size / 2) {
+ DBUG_EXECUTE_IF("ib_log_buffer_is_short_crash",
+ DBUG_SUICIDE(););
+
+ /* log_buffer is too small. try to extend instead of crash. */
+ ib_logf(IB_LOG_LEVEL_WARN,
+ "The transaction log size is too large"
+ " for innodb_log_buffer_size (%lu >= %lu / 2). "
+ "Trying to extend it.",
+ len, LOG_BUFFER_SIZE);
+
+ log_buffer_extend((len + 1) * 2);
+ }
loop:
mutex_enter(&(log->mutex));
ut_ad(!recv_no_log_write);
+ if (log->is_extending) {
+
+ mutex_exit(&(log->mutex));
+
+ /* Log buffer size is extending. Writing up to the next block
+ should wait for the extending finished. */
+
+ os_thread_sleep(100000);
+
+ ut_ad(++count < 50);
+
+ goto loop;
+ }
+
/* Calculate an upper limit for the space the string may take in the
log buffer */
@@ -758,6 +864,7 @@ log_init(void)
ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE));
log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->is_extending = false;
log_sys->max_buf_free = log_sys->buf_size / LOG_BUF_FLUSH_RATIO
- LOG_BUF_FLUSH_MARGIN;
diff --git a/storage/innobase/mtr/mtr0mtr.cc b/storage/innobase/mtr/mtr0mtr.cc
index cb7fd244172..869586bcd90 100644
--- a/storage/innobase/mtr/mtr0mtr.cc
+++ b/storage/innobase/mtr/mtr0mtr.cc
@@ -170,26 +170,29 @@ mtr_memo_note_modifications(
/*========================*/
mtr_t* mtr) /*!< in: mtr */
{
- dyn_array_t* memo;
- ulint offset;
-
ut_ad(!srv_read_only_mode);
ut_ad(mtr->magic_n == MTR_MAGIC_N);
ut_ad(mtr->state == MTR_COMMITTING); /* Currently only used in
commit */
- memo = &mtr->memo;
-
- offset = dyn_array_get_data_size(memo);
-
- while (offset > 0) {
- mtr_memo_slot_t* slot;
- offset -= sizeof(mtr_memo_slot_t);
+ for (const dyn_block_t* block = dyn_array_get_last_block(&mtr->memo);
+ block;
+ block = dyn_array_get_prev_block(&mtr->memo, block)) {
+ const mtr_memo_slot_t* start
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block));
+ mtr_memo_slot_t* slot
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block)
+ + dyn_block_get_used(block));
- slot = static_cast<mtr_memo_slot_t*>(
- dyn_array_get_element(memo, offset));
+ ut_ad(!(dyn_block_get_used(block) % sizeof(mtr_memo_slot_t)));
- mtr_memo_slot_note_modification(mtr, slot);
+ while (slot-- != start) {
+ if (slot->object != NULL) {
+ mtr_memo_slot_note_modification(mtr, slot);
+ }
+ }
}
}
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index d9c6e43ee14..d07d381fb8f 100644
--- a/storage/innobase/os/os0file.cc
+++ b/storage/innobase/os/os0file.cc
@@ -671,7 +671,6 @@ os_file_handle_error(
/****************************************************************//**
Does error handling when a file operation fails.
@return TRUE if we should retry the operation */
-static
ibool
os_file_handle_error_no_exit(
/*=========================*/
@@ -1464,18 +1463,32 @@ os_file_set_nocache(
}
#elif defined(O_DIRECT)
if (fcntl(fd, F_SETFL, O_DIRECT) == -1) {
- int errno_save = errno;
-
- ib_logf(IB_LOG_LEVEL_ERROR,
- "Failed to set O_DIRECT on file %s: %s: %s, "
- "continuing anyway",
- file_name, operation_name, strerror(errno_save));
-
+ int errno_save = errno;
+ static bool warning_message_printed = false;
if (errno_save == EINVAL) {
- ib_logf(IB_LOG_LEVEL_ERROR,
- "O_DIRECT is known to result in 'Invalid "
- "argument' on Linux on tmpfs, see MySQL "
- "Bug#26662");
+ if (!warning_message_printed) {
+ warning_message_printed = true;
+# ifdef UNIV_LINUX
+ ib_logf(IB_LOG_LEVEL_WARN,
+ "Failed to set O_DIRECT on file "
+ "%s: %s: %s, continuing anyway. "
+ "O_DIRECT is known to result "
+ "in 'Invalid argument' on Linux on "
+ "tmpfs, see MySQL Bug#26662.",
+ file_name, operation_name,
+ strerror(errno_save));
+# else /* UNIV_LINUX */
+ goto short_warning;
+# endif /* UNIV_LINUX */
+ }
+ } else {
+# ifndef UNIV_LINUX
+short_warning:
+# endif
+ ib_logf(IB_LOG_LEVEL_WARN,
+ "Failed to set O_DIRECT on file %s: %s: %s, "
+ "continuing anyway.",
+ file_name, operation_name, strerror(errno_save));
}
}
#endif /* defined(UNIV_SOLARIS) && defined(DIRECTIO_ON) */
@@ -2096,7 +2109,7 @@ os_file_set_size(
fprintf(stderr, "InnoDB: Error: preallocating file "
"space for file \'%s\' failed. Current size "
"%lu, desired size %lu\n",
- name, current_size, size);
+ name, (long unsigned) current_size, (long unsigned) size);
os_file_handle_error_no_exit(name, "posix_fallocate", FALSE);
return(FALSE);
}
diff --git a/storage/innobase/os/os0thread.cc b/storage/innobase/os/os0thread.cc
index 9cc09a847b1..6736df46a87 100644
--- a/storage/innobase/os/os0thread.cc
+++ b/storage/innobase/os/os0thread.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -179,6 +179,9 @@ os_thread_create_func(
#ifndef UNIV_HPUX10
pthread_attr_destroy(&attr);
#endif
+
+ ut_a(os_thread_count <= OS_THREAD_MAX_N);
+
if (thread_id) {
*thread_id = pthread;
}
diff --git a/storage/innobase/pars/make_bison.sh b/storage/innobase/pars/make_bison.sh
index 2618be102bc..2618be102bc 100644..100755
--- a/storage/innobase/pars/make_bison.sh
+++ b/storage/innobase/pars/make_bison.sh
diff --git a/storage/innobase/pars/make_flex.sh b/storage/innobase/pars/make_flex.sh
index 581fc2342aa..581fc2342aa 100644..100755
--- a/storage/innobase/pars/make_flex.sh
+++ b/storage/innobase/pars/make_flex.sh
diff --git a/storage/innobase/row/row0ftsort.cc b/storage/innobase/row/row0ftsort.cc
index 275fedbfb5d..087d2152826 100644
--- a/storage/innobase/row/row0ftsort.cc
+++ b/storage/innobase/row/row0ftsort.cc
@@ -265,6 +265,9 @@ row_fts_psort_info_init(
psort_info[j].child_status = 0;
psort_info[j].state = 0;
psort_info[j].psort_common = common_info;
+ psort_info[j].error = DB_SUCCESS;
+ psort_info[j].memory_used = 0;
+ mutex_create(fts_pll_tokenize_mutex_key, &psort_info[j].mutex, SYNC_FTS_TOKENIZE);
}
/* Initialize merge_info structures parallel merge and insert
@@ -312,6 +315,8 @@ row_fts_psort_info_destroy(
}
mem_free(psort_info[j].merge_file[i]);
}
+
+ mutex_free(&psort_info[j].mutex);
}
os_event_free(merge_info[0].psort_common->sort_event);
@@ -545,6 +550,35 @@ row_merge_fts_doc_tokenize(
}
/*********************************************************************//**
+Get next doc item from fts_doc_list */
+UNIV_INLINE
+void
+row_merge_fts_get_next_doc_item(
+/*============================*/
+ fts_psort_t* psort_info, /*!< in: psort_info */
+ fts_doc_item_t** doc_item) /*!< in/out: doc item */
+{
+ if (*doc_item != NULL) {
+ ut_free(*doc_item);
+ }
+
+ mutex_enter(&psort_info->mutex);
+
+ *doc_item = UT_LIST_GET_FIRST(psort_info->fts_doc_list);
+ if (*doc_item != NULL) {
+ UT_LIST_REMOVE(doc_list, psort_info->fts_doc_list,
+ *doc_item);
+
+ ut_ad(psort_info->memory_used >= sizeof(fts_doc_item_t)
+ + (*doc_item)->field->len);
+ psort_info->memory_used -= sizeof(fts_doc_item_t)
+ + (*doc_item)->field->len;
+ }
+
+ mutex_exit(&psort_info->mutex);
+}
+
+/*********************************************************************//**
Function performs parallel tokenization of the incoming doc strings.
It also performs the initial in memory sort of the parsed records.
@return OS_THREAD_DUMMY_RETURN */
@@ -557,7 +591,6 @@ fts_parallel_tokenization(
fts_psort_t* psort_info = (fts_psort_t*) arg;
ulint i;
fts_doc_item_t* doc_item = NULL;
- fts_doc_item_t* prev_doc_item = NULL;
row_merge_buf_t** buf;
ibool processed = FALSE;
merge_file_t** merge_file;
@@ -575,7 +608,7 @@ fts_parallel_tokenization(
dict_field_t* idx_field;
fts_tokenize_ctx_t t_ctx;
ulint retried = 0;
- ut_ad(psort_info);
+ dberr_t error = DB_SUCCESS;
ut_ad(psort_info);
@@ -599,11 +632,7 @@ fts_parallel_tokenization(
block = psort_info->merge_block;
zip_size = dict_table_zip_size(table);
- doc_item = UT_LIST_GET_FIRST(psort_info->fts_doc_list);
-
- if (doc_item) {
- prev_doc_item = doc_item;
- }
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
t_ctx.cached_stopword = table->fts->cache->stopword_info.cached_stopword;
processed = TRUE;
@@ -613,17 +642,8 @@ loop:
last_doc_id = doc_item->doc_id;
- if (!(dfield->data)
- || dfield_get_len(dfield) == UNIV_SQL_NULL) {
- num_doc_processed++;
- doc_item = UT_LIST_GET_NEXT(doc_list, doc_item);
-
- /* Always remember the last doc_item we processed */
- if (doc_item) {
- prev_doc_item = doc_item;
- }
- continue;
- }
+ ut_ad (dfield->data != NULL
+ && dfield_get_len(dfield) != UNIV_SQL_NULL);
/* If finish processing the last item, update "doc" with
strings in the doc_item, otherwise continue processing last
@@ -671,11 +691,13 @@ loop:
num_doc_processed++;
if (fts_enable_diag_print && num_doc_processed % 10000 == 1) {
- fprintf(stderr, "number of doc processed %d\n",
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "number of doc processed %d\n",
(int) num_doc_processed);
#ifdef FTS_INTERNAL_DIAG_PRINT
for (i = 0; i < FTS_NUM_AUX_INDEX; i++) {
- fprintf(stderr, "ID %d, partition %d, word "
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "ID %d, partition %d, word "
"%d\n",(int) psort_info->psort_id,
(int) i, (int) mycount[i]);
}
@@ -684,19 +706,10 @@ loop:
mem_heap_empty(blob_heap);
- if (doc_item->field->data) {
- ut_free(doc_item->field->data);
- doc_item->field->data = NULL;
- }
-
- doc_item = UT_LIST_GET_NEXT(doc_list, doc_item);
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
- /* Always remember the last doc_item we processed */
- if (doc_item) {
- prev_doc_item = doc_item;
- if (last_doc_id != doc_item->doc_id) {
- t_ctx.init_pos = 0;
- }
+ if (doc_item && last_doc_id != doc_item->doc_id) {
+ t_ctx.init_pos = 0;
}
}
@@ -707,9 +720,14 @@ loop:
row_merge_buf_write(buf[t_ctx.buf_used],
merge_file[t_ctx.buf_used],
block[t_ctx.buf_used]);
- row_merge_write(merge_file[t_ctx.buf_used]->fd,
- merge_file[t_ctx.buf_used]->offset++,
- block[t_ctx.buf_used]);
+
+ if (!row_merge_write(merge_file[t_ctx.buf_used]->fd,
+ merge_file[t_ctx.buf_used]->offset++,
+ block[t_ctx.buf_used])) {
+ error = DB_TEMP_FILE_WRITE_FAILURE;
+ goto func_exit;
+ }
+
UNIV_MEM_INVALID(block[t_ctx.buf_used][0], srv_sort_buf_size);
buf[t_ctx.buf_used] = row_merge_buf_empty(buf[t_ctx.buf_used]);
mycount[t_ctx.buf_used] += t_ctx.rows_added[t_ctx.buf_used];
@@ -721,13 +739,13 @@ loop:
/* Parent done scanning, and if finish processing all the docs, exit */
if (psort_info->state == FTS_PARENT_COMPLETE) {
- if (num_doc_processed >= UT_LIST_GET_LEN(
- psort_info->fts_doc_list)) {
+ if (UT_LIST_GET_LEN(psort_info->fts_doc_list) == 0) {
goto exit;
} else if (retried > 10000) {
ut_ad(!doc_item);
/* retied too many times and cannot get new record */
- fprintf(stderr, "InnoDB: FTS parallel sort processed "
+ ib_logf(IB_LOG_LEVEL_ERROR,
+ "InnoDB: FTS parallel sort processed "
"%lu records, the sort queue has "
"%lu records. But sort cannot get "
"the next records", num_doc_processed,
@@ -735,21 +753,18 @@ loop:
psort_info->fts_doc_list));
goto exit;
}
+ } else if (psort_info->state == FTS_PARENT_EXITING) {
+ /* Parent abort */
+ goto func_exit;
}
- if (doc_item) {
- doc_item = UT_LIST_GET_NEXT(doc_list, doc_item);
- } else if (prev_doc_item) {
- os_thread_yield();
- doc_item = UT_LIST_GET_NEXT(doc_list, prev_doc_item);
- } else {
+ if (doc_item == NULL) {
os_thread_yield();
- doc_item = UT_LIST_GET_FIRST(psort_info->fts_doc_list);
}
- if (doc_item) {
- prev_doc_item = doc_item;
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
+ if (doc_item != NULL) {
if (last_doc_id != doc_item->doc_id) {
t_ctx.init_pos = 0;
}
@@ -799,9 +814,12 @@ exit:
never flush to temp file, it can be held all in
memory */
if (merge_file[i]->offset != 0) {
- row_merge_write(merge_file[i]->fd,
+ if (!row_merge_write(merge_file[i]->fd,
merge_file[i]->offset++,
- block[i]);
+ block[i])) {
+ error = DB_TEMP_FILE_WRITE_FAILURE;
+ goto func_exit;
+ }
UNIV_MEM_INVALID(block[i][0],
srv_sort_buf_size);
@@ -817,19 +835,24 @@ exit:
}
for (i = 0; i < FTS_NUM_AUX_INDEX; i++) {
-
if (!merge_file[i]->offset) {
continue;
}
tmpfd[i] = row_merge_file_create_low();
if (tmpfd[i] < 0) {
+ error = DB_OUT_OF_MEMORY;
+ goto func_exit;
+ }
+
+ error = row_merge_sort(psort_info->psort_common->trx,
+ psort_info->psort_common->dup,
+ merge_file[i], block[i], &tmpfd[i]);
+ if (error != DB_SUCCESS) {
+ close(tmpfd[i]);
goto func_exit;
}
- row_merge_sort(psort_info->psort_common->trx,
- psort_info->psort_common->dup,
- merge_file[i], block[i], &tmpfd[i]);
total_rec += merge_file[i]->n_rec;
close(tmpfd[i]);
}
@@ -841,6 +864,19 @@ func_exit:
mem_heap_free(blob_heap);
+ mutex_enter(&psort_info->mutex);
+ psort_info->error = error;
+ mutex_exit(&psort_info->mutex);
+
+ if (UT_LIST_GET_LEN(psort_info->fts_doc_list) > 0) {
+ ut_ad(error != DB_SUCCESS);
+ }
+
+ /* Free fts doc list in case of error. */
+ do {
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
+ } while (doc_item != NULL);
+
psort_info->child_status = FTS_CHILD_COMPLETE;
os_event_set(psort_info->psort_common->sort_event);
psort_info->child_status = FTS_CHILD_EXITING;
diff --git a/storage/innobase/row/row0log.cc b/storage/innobase/row/row0log.cc
index 170358147b1..c18ef9ee250 100644
--- a/storage/innobase/row/row0log.cc
+++ b/storage/innobase/row/row0log.cc
@@ -1199,8 +1199,7 @@ row_log_table_blob_alloc(
/******************************************************//**
Converts a log record to a table row.
-@return converted row, or NULL if the conversion fails
-or the transaction has been rolled back */
+@return converted row, or NULL if the conversion fails */
static __attribute__((nonnull, warn_unused_result))
const dtuple_t*
row_log_table_apply_convert_mrec(
@@ -1653,9 +1652,6 @@ dberr_t
row_log_table_apply_update(
/*=======================*/
que_thr_t* thr, /*!< in: query graph */
- ulint trx_id_col, /*!< in: position of
- DB_TRX_ID in the
- old clustered index */
ulint new_trx_id_col, /*!< in: position of
DB_TRX_ID in the new
clustered index */
@@ -1716,14 +1712,14 @@ row_log_table_apply_update(
if (page_rec_is_infimum(btr_pcur_get_rec(&pcur))
|| btr_pcur_get_low_match(&pcur) < index->n_uniq) {
+ ut_ad(0);
+ error = DB_CORRUPTION;
+func_exit:
mtr_commit(&mtr);
-insert:
+func_exit_committed:
ut_ad(mtr.state == MTR_COMMITTED);
- /* The row was not found. Insert it. */
- error = row_log_table_apply_insert_low(
- thr, row, trx_id, offsets_heap, heap, dup);
+
if (error != DB_SUCCESS) {
-err_exit:
/* Report the erroneous row using the new
version of the table. */
innobase_row_to_mysql(dup->table, log->table, row);
@@ -1750,26 +1746,17 @@ err_exit:
goto func_exit;
}
- if (rec_offs_any_extern(cur_offsets)) {
+ const bool pk_updated
+ = upd_get_nth_field(update, 0)->field_no < new_trx_id_col;
+
+ if (pk_updated || rec_offs_any_extern(cur_offsets)) {
/* If the record contains any externally stored
columns, perform the update by delete and insert,
because we will not write any undo log that would
allow purge to free any orphaned externally stored
columns. */
-delete_insert:
- error = row_log_table_apply_delete_low(
- &pcur, cur_offsets, NULL, heap, &mtr);
- ut_ad(mtr.state == MTR_COMMITTED);
-
- if (error != DB_SUCCESS) {
- goto err_exit;
- }
- goto insert;
- }
-
- if (upd_get_nth_field(update, 0)->field_no < new_trx_id_col) {
- if (dup->index->online_log->same_pk) {
+ if (pk_updated && dup->index->online_log->same_pk) {
/* The ROW_T_UPDATE log record should only be
written when the PRIMARY KEY fields of the
record did not change in the old table. We
@@ -1781,40 +1768,16 @@ delete_insert:
goto func_exit;
}
- /* The PRIMARY KEY columns have changed.
- Delete the record with the old PRIMARY KEY value,
- provided that it carries the same
- DB_TRX_ID,DB_ROLL_PTR. Then, insert the new row. */
- ulint len;
- const byte* cur_trx_roll = rec_get_nth_field(
- mrec, offsets, trx_id_col, &len);
- ut_ad(len == DATA_TRX_ID_LEN);
- const dfield_t* new_trx_roll = dtuple_get_nth_field(
- old_pk, new_trx_id_col);
- /* We assume that DB_TRX_ID,DB_ROLL_PTR are stored
- in one contiguous block. */
- ut_ad(rec_get_nth_field(mrec, offsets, trx_id_col + 1, &len)
- == cur_trx_roll + DATA_TRX_ID_LEN);
- ut_ad(len == DATA_ROLL_PTR_LEN);
- ut_ad(new_trx_roll->len == DATA_TRX_ID_LEN);
- ut_ad(dtuple_get_nth_field(old_pk, new_trx_id_col + 1)
- -> len == DATA_ROLL_PTR_LEN);
- ut_ad(static_cast<const byte*>(
- dtuple_get_nth_field(old_pk, new_trx_id_col + 1)
- ->data)
- == static_cast<const byte*>(new_trx_roll->data)
- + DATA_TRX_ID_LEN);
-
- if (!memcmp(cur_trx_roll, new_trx_roll->data,
- DATA_TRX_ID_LEN + DATA_ROLL_PTR_LEN)) {
- /* The old row exists. Remove it. */
- goto delete_insert;
- }
-
- /* Unless we called row_log_table_apply_delete_low(),
- this will likely cause a duplicate key error. */
- mtr_commit(&mtr);
- goto insert;
+ error = row_log_table_apply_delete_low(
+ &pcur, cur_offsets, NULL, heap, &mtr);
+ ut_ad(mtr.state == MTR_COMMITTED);
+
+ if (error == DB_SUCCESS) {
+ error = row_log_table_apply_insert_low(
+ thr, row, trx_id, offsets_heap, heap, dup);
+ }
+
+ goto func_exit_committed;
}
dtuple_t* old_row;
@@ -1913,13 +1876,7 @@ delete_insert:
mtr_start(&mtr);
}
-func_exit:
- mtr_commit(&mtr);
- if (error != DB_SUCCESS) {
- goto err_exit;
- }
-
- return(error);
+ goto func_exit;
}
/******************************************************//**
@@ -2200,7 +2157,7 @@ row_log_table_apply_op(
mrec, offsets, trx_id_col, &len);
ut_ad(len == DATA_TRX_ID_LEN);
*error = row_log_table_apply_update(
- thr, trx_id_col, new_trx_id_col,
+ thr, new_trx_id_col,
mrec, offsets, offsets_heap,
heap, dup, trx_read_trx_id(db_trx_id), old_pk);
}
@@ -2777,7 +2734,16 @@ row_log_apply_op_low(
switch (op) {
case ROW_OP_DELETE:
if (!exists) {
- /* The record was already deleted. */
+ /* The existing record matches the
+ unique secondary index key, but the
+ PRIMARY KEY columns differ. So, this
+ exact record does not exist. For
+ example, we could detect a duplicate
+ key error in some old index before
+ logging an ROW_OP_INSERT for our
+ index. This ROW_OP_DELETE could have
+ been logged for rolling back
+ TRX_UNDO_INSERT_REC. */
goto func_exit;
}
@@ -2817,7 +2783,24 @@ row_log_apply_op_low(
case ROW_OP_INSERT:
if (exists) {
/* The record already exists. There
- is nothing to be inserted. */
+ is nothing to be inserted.
+ This could happen when processing
+ TRX_UNDO_DEL_MARK_REC in statement
+ rollback:
+
+ UPDATE of PRIMARY KEY can lead to
+ statement rollback if the updated
+ value of the PRIMARY KEY already
+ exists. In this case, the UPDATE would
+ be mapped to DELETE;INSERT, and we
+ only wrote undo log for the DELETE
+ part. The duplicate key error would be
+ triggered before logging the INSERT
+ part.
+
+ Theoretically, we could also get a
+ similar situation when a DELETE operation
+ is blocked by a FOREIGN KEY constraint. */
goto func_exit;
}
@@ -2828,17 +2811,18 @@ row_log_apply_op_low(
goto insert_the_rec;
}
- /* Duplicate key error */
- ut_ad(dict_index_is_unique(index));
- row_merge_dup_report(dup, entry->fields);
- goto func_exit;
+ goto duplicate;
}
} else {
switch (op) {
rec_t* rec;
big_rec_t* big_rec;
case ROW_OP_DELETE:
- /* The record does not exist. */
+ /* The record does not exist. For example, we
+ could detect a duplicate key error in some old
+ index before logging an ROW_OP_INSERT for our
+ index. This ROW_OP_DELETE could be logged for
+ rolling back TRX_UNDO_INSERT_REC. */
goto func_exit;
case ROW_OP_INSERT:
if (dict_index_is_unique(index)
@@ -2848,8 +2832,11 @@ row_log_apply_op_low(
>= dict_index_get_n_unique(index))
&& (!index->n_nullable
|| !dtuple_contains_null(entry))) {
+duplicate:
/* Duplicate key */
+ ut_ad(dict_index_is_unique(index));
row_merge_dup_report(dup, entry->fields);
+ *error = DB_DUPLICATE_KEY;
goto func_exit;
}
insert_the_rec:
@@ -3378,7 +3365,7 @@ row_log_apply(
error = DB_SUCCESS;
}
- if (error != DB_SUCCESS || dup.n_dup) {
+ if (error != DB_SUCCESS) {
ut_a(!dict_table_is_discarded(index->table));
/* We set the flag directly instead of invoking
dict_set_corrupted_index_cache_only(index) here,
@@ -3386,12 +3373,9 @@ row_log_apply(
index->type |= DICT_CORRUPT;
index->table->drop_aborted = TRUE;
- if (error == DB_SUCCESS) {
- error = DB_DUPLICATE_KEY;
- }
-
dict_index_set_online_status(index, ONLINE_INDEX_ABORTED);
} else {
+ ut_ad(dup.n_dup == 0);
dict_index_set_online_status(index, ONLINE_INDEX_COMPLETE);
}
diff --git a/storage/innobase/row/row0merge.cc b/storage/innobase/row/row0merge.cc
index a0c0fd2c8c3..56cf9f1943c 100644
--- a/storage/innobase/row/row0merge.cc
+++ b/storage/innobase/row/row0merge.cc
@@ -64,6 +64,9 @@ static ibool row_merge_print_block_write;
/* Whether to disable file system cache */
UNIV_INTERN char srv_disable_sort_file_cache;
+/* Maximum pending doc memory limit in bytes for a fts tokenization thread */
+#define FTS_PENDING_DOC_MEMORY_LIMIT 1000000
+
#ifdef UNIV_DEBUG
/******************************************************//**
Display a merge tuple. */
@@ -325,6 +328,9 @@ row_merge_buf_add(
if (index->type & DICT_FTS) {
fts_doc_item_t* doc_item;
byte* value;
+ void* ptr;
+ const ulint max_trial_count = 10000;
+ ulint trial_count = 0;
/* fetch Doc ID if it already exists
in the row, and not supplied by the
@@ -354,13 +360,12 @@ row_merge_buf_add(
continue;
}
- doc_item = static_cast<fts_doc_item_t*>(
- mem_heap_alloc(
- buf->heap,
- sizeof(*doc_item)));
+ ptr = ut_malloc(sizeof(*doc_item)
+ + field->len);
- value = static_cast<byte*>(
- ut_malloc(field->len));
+ doc_item = static_cast<fts_doc_item_t*>(ptr);
+ value = static_cast<byte*>(ptr)
+ + sizeof(*doc_item);
memcpy(value, field->data, field->len);
field->data = value;
@@ -369,10 +374,29 @@ row_merge_buf_add(
bucket = *doc_id % fts_sort_pll_degree;
- UT_LIST_ADD_LAST(
- doc_list,
- psort_info[bucket].fts_doc_list,
- doc_item);
+ /* Add doc item to fts_doc_list */
+ mutex_enter(&psort_info[bucket].mutex);
+
+ if (psort_info[bucket].error == DB_SUCCESS) {
+ UT_LIST_ADD_LAST(
+ doc_list,
+ psort_info[bucket].fts_doc_list,
+ doc_item);
+ psort_info[bucket].memory_used +=
+ sizeof(*doc_item) + field->len;
+ } else {
+ ut_free(doc_item);
+ }
+
+ mutex_exit(&psort_info[bucket].mutex);
+
+ /* Sleep when memory used exceeds limit*/
+ while (psort_info[bucket].memory_used
+ > FTS_PENDING_DOC_MEMORY_LIMIT
+ && trial_count++ < max_trial_count) {
+ os_thread_sleep(1000);
+ }
+
n_row_added = 1;
continue;
}
@@ -1571,12 +1595,28 @@ write_buffers:
max_doc_id = doc_id;
}
+ if (buf->index->type & DICT_FTS) {
+ /* Check if error occurs in child thread */
+ for (ulint j = 0; j < fts_sort_pll_degree; j++) {
+ if (psort_info[j].error != DB_SUCCESS) {
+ err = psort_info[j].error;
+ trx->error_key_num = i;
+ break;
+ }
+ }
+
+ if (err != DB_SUCCESS) {
+ break;
+ }
+ }
+
continue;
}
- if ((buf->index->type & DICT_FTS)
- && (!row || !doc_id)) {
- continue;
+ if (buf->index->type & DICT_FTS) {
+ if (!row || !doc_id) {
+ continue;
+ }
}
/* The buffer must be sufficiently large
@@ -1634,7 +1674,7 @@ write_buffers:
if (!row_merge_write(file->fd, file->offset++,
block)) {
- err = DB_OUT_OF_FILE_SPACE;
+ err = DB_TEMP_FILE_WRITE_FAILURE;
trx->error_key_num = i;
break;
}
@@ -1689,11 +1729,25 @@ all_done:
ulint trial_count = 0;
const ulint max_trial_count = 10000;
+wait_again:
+ /* Check if error occurs in child thread */
+ for (ulint j = 0; j < fts_sort_pll_degree; j++) {
+ if (psort_info[j].error != DB_SUCCESS) {
+ err = psort_info[j].error;
+ trx->error_key_num = j;
+ break;
+ }
+ }
+
/* Tell all children that parent has done scanning */
for (ulint i = 0; i < fts_sort_pll_degree; i++) {
- psort_info[i].state = FTS_PARENT_COMPLETE;
+ if (err == DB_SUCCESS) {
+ psort_info[i].state = FTS_PARENT_COMPLETE;
+ } else {
+ psort_info[i].state = FTS_PARENT_EXITING;
+ }
}
-wait_again:
+
/* Now wait all children to report back to be completed */
os_event_wait_time_low(fts_parallel_sort_event,
1000000, sig_count);
@@ -1748,9 +1802,15 @@ wait_again:
/* Update the next Doc ID we used. Table should be locked, so
no concurrent DML */
- if (max_doc_id) {
- fts_update_next_doc_id(
- 0, new_table, old_table->name, max_doc_id);
+ if (max_doc_id && err == DB_SUCCESS) {
+ /* Sync fts cache for other fts indexes to keep all
+ fts indexes consistent in sync_doc_id. */
+ err = fts_sync_table(const_cast<dict_table_t*>(new_table));
+
+ if (err == DB_SUCCESS) {
+ fts_update_next_doc_id(
+ 0, new_table, old_table->name, max_doc_id);
+ }
}
trx->op_info = "";
@@ -3389,6 +3449,7 @@ row_merge_build_indexes(
fts_psort_t* psort_info = NULL;
fts_psort_t* merge_info = NULL;
ib_int64_t sig_count = 0;
+ bool fts_psort_initiated = false;
DBUG_ENTER("row_merge_build_indexes");
ut_ad(!srv_read_only_mode);
@@ -3445,6 +3506,10 @@ row_merge_build_indexes(
row_fts_psort_info_init(
trx, dup, new_table, opt_doc_id_size,
&psort_info, &merge_info);
+
+ /* "We need to ensure that we free the resources
+ allocated */
+ fts_psort_initiated = true;
}
}
@@ -3567,6 +3632,7 @@ wait_again:
if (indexes[i]->type & DICT_FTS) {
row_fts_psort_info_destroy(psort_info, merge_info);
+ fts_psort_initiated = false;
} else if (error != DB_SUCCESS || !online) {
/* Do not apply any online log. */
} else if (old_table != new_table) {
@@ -3603,6 +3669,12 @@ func_exit:
error = DB_TOO_MANY_CONCURRENT_TRXS;
trx->error_state = error;);
+ if (fts_psort_initiated) {
+ /* Clean up FTS psort related resource */
+ row_fts_psort_info_destroy(psort_info, merge_info);
+ fts_psort_initiated = false;
+ }
+
row_merge_file_destroy_low(tmpfd);
for (i = 0; i < n_indexes; i++) {
diff --git a/storage/innobase/row/row0mysql.cc b/storage/innobase/row/row0mysql.cc
index 9aceb305493..2a60790f29c 100644
--- a/storage/innobase/row/row0mysql.cc
+++ b/storage/innobase/row/row0mysql.cc
@@ -3616,7 +3616,7 @@ next_rec:
if (has_internal_doc_id && table->fts->cache) {
table->fts->fts_status |= TABLE_DICT_LOCKED;
fts_update_next_doc_id(trx, table, NULL, 0);
- fts_cache_clear(table->fts->cache, TRUE);
+ fts_cache_clear(table->fts->cache);
fts_cache_init(table->fts->cache);
table->fts->fts_status &= ~TABLE_DICT_LOCKED;
}
diff --git a/storage/innobase/row/row0quiesce.cc b/storage/innobase/row/row0quiesce.cc
index 79cced1c533..a59a6088ad6 100644
--- a/storage/innobase/row/row0quiesce.cc
+++ b/storage/innobase/row/row0quiesce.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2012, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/innobase/row/row0sel.cc b/storage/innobase/row/row0sel.cc
index 690c6e958fe..09cf75c1050 100644
--- a/storage/innobase/row/row0sel.cc
+++ b/storage/innobase/row/row0sel.cc
@@ -3219,48 +3219,78 @@ sel_restore_position_for_mysql(
mtr_t* mtr) /*!< in: mtr; CAUTION: may commit
mtr temporarily! */
{
- ibool success;
- ulint relative_position;
-
- relative_position = pcur->rel_pos;
+ ibool success;
success = btr_pcur_restore_position(latch_mode, pcur, mtr);
*same_user_rec = success;
- if (relative_position == BTR_PCUR_ON) {
- if (success) {
- return(FALSE);
- }
-
- if (moves_up) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
- return(TRUE);
+ ut_ad(!success || pcur->rel_pos == BTR_PCUR_ON);
+#ifdef UNIV_DEBUG
+ if (pcur->pos_state == BTR_PCUR_IS_POSITIONED_OPTIMISTIC) {
+ ut_ad(pcur->rel_pos == BTR_PCUR_BEFORE
+ || pcur->rel_pos == BTR_PCUR_AFTER);
+ } else {
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad((pcur->rel_pos == BTR_PCUR_ON)
+ == btr_pcur_is_on_user_rec(pcur));
}
+#endif
- if (relative_position == BTR_PCUR_AFTER
- || relative_position == BTR_PCUR_AFTER_LAST_IN_TREE) {
+ /* The position may need be adjusted for rel_pos and moves_up. */
- if (moves_up) {
+ switch (pcur->rel_pos) {
+ case BTR_PCUR_ON:
+ if (!success && moves_up) {
+next:
+ btr_pcur_move_to_next(pcur, mtr);
return(TRUE);
}
-
- if (btr_pcur_is_on_user_rec(pcur)) {
+ return(!success);
+ case BTR_PCUR_AFTER_LAST_IN_TREE:
+ case BTR_PCUR_BEFORE_FIRST_IN_TREE:
+ return(TRUE);
+ case BTR_PCUR_AFTER:
+ /* positioned to record after pcur->old_rec. */
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+prev:
+ if (btr_pcur_is_on_user_rec(pcur) && !moves_up) {
btr_pcur_move_to_prev(pcur, mtr);
}
-
return(TRUE);
+ case BTR_PCUR_BEFORE:
+ /* For non optimistic restoration:
+ The position is now set to the record before pcur->old_rec.
+
+ For optimistic restoration:
+ The position also needs to take the previous search_mode into
+ consideration. */
+
+ switch (pcur->pos_state) {
+ case BTR_PCUR_IS_POSITIONED_OPTIMISTIC:
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+ if (pcur->search_mode == PAGE_CUR_GE) {
+ /* Positioned during Greater or Equal search
+ with BTR_PCUR_BEFORE. Optimistic restore to
+ the same record. If scanning for lower then
+ we must move to previous record.
+ This can happen with:
+ HANDLER READ idx a = (const);
+ HANDLER READ idx PREV; */
+ goto prev;
+ }
+ return(TRUE);
+ case BTR_PCUR_IS_POSITIONED:
+ if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
+ goto next;
+ }
+ return(TRUE);
+ case BTR_PCUR_WAS_POSITIONED:
+ case BTR_PCUR_NOT_POSITIONED:
+ break;
+ }
}
-
- ut_ad(relative_position == BTR_PCUR_BEFORE
- || relative_position == BTR_PCUR_BEFORE_FIRST_IN_TREE);
-
- if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
+ ut_ad(0);
return(TRUE);
}
@@ -4358,6 +4388,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
#if 0
ut_print_name(stderr, trx, FALSE, index->name);
@@ -4399,6 +4437,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
#if 0
ut_print_name(stderr, trx, FALSE, index->name);
@@ -5101,6 +5147,7 @@ normal_return:
pre-fetch queue, but we definitely wrote to the record
buffer passed to use by MySQL. */
+ DEBUG_SYNC_C("row_search_cached_row");
err = DB_SUCCESS;
}
diff --git a/storage/innobase/srv/srv0mon.cc b/storage/innobase/srv/srv0mon.cc
index d98315ae9a2..ea346566e57 100644
--- a/storage/innobase/srv/srv0mon.cc
+++ b/storage/innobase/srv/srv0mon.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2010, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2010, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2012, Facebook Inc.
This program is free software; you can redistribute it and/or modify it under
@@ -884,13 +884,33 @@ static monitor_info_t innodb_counter_info[] =
MONITOR_MODULE,
MONITOR_DEFAULT_START, MONITOR_MODULE_INDEX},
- {"index_splits", "index", "Number of index splits",
+ {"index_page_splits", "index", "Number of index page splits",
MONITOR_NONE,
MONITOR_DEFAULT_START, MONITOR_INDEX_SPLIT},
- {"index_merges", "index", "Number of index merges",
+ {"index_page_merge_attempts", "index",
+ "Number of index page merge attempts",
MONITOR_NONE,
- MONITOR_DEFAULT_START, MONITOR_INDEX_MERGE},
+ MONITOR_DEFAULT_START, MONITOR_INDEX_MERGE_ATTEMPTS},
+
+ {"index_page_merge_successful", "index",
+ "Number of successful index page merges",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_MERGE_SUCCESSFUL},
+
+ {"index_page_reorg_attempts", "index",
+ "Number of index page reorganization attempts",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_REORG_ATTEMPTS},
+
+ {"index_page_reorg_successful", "index",
+ "Number of successful index page reorganizations",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_REORG_SUCCESSFUL},
+
+ {"index_page_discards", "index", "Number of index pages discarded",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_DISCARD},
/* ========== Counters for Adaptive Hash Index ========== */
{"module_adaptive_hash", "adaptive_hash_index", "Adpative Hash Index",
diff --git a/storage/innobase/srv/srv0start.cc b/storage/innobase/srv/srv0start.cc
index 065a6c94074..00604a896ca 100644
--- a/storage/innobase/srv/srv0start.cc
+++ b/storage/innobase/srv/srv0start.cc
@@ -38,6 +38,9 @@ Starts the InnoDB database server
Created 2/16/1996 Heikki Tuuri
*************************************************************************/
+#include "mysqld.h"
+#include "pars0pars.h"
+#include "row0ftsort.h"
#include "ut0mem.h"
#include "mem0mem.h"
#include "data0data.h"
@@ -1489,6 +1492,10 @@ innobase_start_or_create_for_mysql(void)
char* logfile0 = NULL;
size_t dirnamelen;
+ if (srv_force_recovery > SRV_FORCE_NO_TRX_UNDO) {
+ srv_read_only_mode = true;
+ }
+
if (srv_read_only_mode) {
ib_logf(IB_LOG_LEVEL_INFO, "Started in read only mode");
}
@@ -1728,23 +1735,34 @@ innobase_start_or_create_for_mysql(void)
maximum number of threads that can wait in the 'srv_conc array' for
their time to enter InnoDB. */
- if (srv_buf_pool_size >= 1000 * 1024 * 1024) {
- /* If buffer pool is less than 1000 MB,
- assume fewer threads. Also use only one
- buffer pool instance */
- srv_max_n_threads = 50000;
-
- } else if (srv_buf_pool_size >= 8 * 1024 * 1024) {
-
+#define BUF_POOL_SIZE_THRESHOLD (1024 * 1024 * 1024)
+ srv_max_n_threads = 1 /* io_ibuf_thread */
+ + 1 /* io_log_thread */
+ + 1 /* lock_wait_timeout_thread */
+ + 1 /* srv_error_monitor_thread */
+ + 1 /* srv_monitor_thread */
+ + 1 /* srv_master_thread */
+ + 1 /* srv_purge_coordinator_thread */
+ + 1 /* buf_dump_thread */
+ + 1 /* dict_stats_thread */
+ + 1 /* fts_optimize_thread */
+ + 1 /* recv_writer_thread */
+ + 1 /* buf_flush_page_cleaner_thread */
+ + 1 /* trx_rollback_or_clean_all_recovered */
+ + 128 /* added as margin, for use of
+ InnoDB Memcached etc. */
+ + max_connections
+ + srv_n_read_io_threads
+ + srv_n_write_io_threads
+ + srv_n_purge_threads
+ /* FTS Parallel Sort */
+ + fts_sort_pll_degree * FTS_NUM_AUX_INDEX
+ * max_connections;
+
+ if (srv_buf_pool_size < BUF_POOL_SIZE_THRESHOLD) {
+ /* If buffer pool is less than 1 GB,
+ use only one buffer pool instance */
srv_buf_pool_instances = 1;
- srv_max_n_threads = 10000;
- } else {
- srv_buf_pool_instances = 1;
-
- /* Saves several MB of memory, especially in
- 64-bit computers */
-
- srv_max_n_threads = 1000;
}
srv_boot();
@@ -2554,9 +2572,8 @@ files_checked:
srv_undo_tablespaces, srv_undo_logs);
if (srv_available_undo_logs == ULINT_UNDEFINED) {
- /* Can only happen if force recovery is set. */
- ut_a(srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO
- || srv_read_only_mode);
+ /* Can only happen if server is read only. */
+ ut_a(srv_read_only_mode);
srv_undo_logs = ULONG_UNDEFINED;
}
diff --git a/storage/innobase/sync/sync0arr.cc b/storage/innobase/sync/sync0arr.cc
index 00f92239b64..e06bc01c890 100644
--- a/storage/innobase/sync/sync0arr.cc
+++ b/storage/innobase/sync/sync0arr.cc
@@ -304,9 +304,10 @@ sync_cell_get_event(
/******************************************************************//**
Reserves a wait array cell for waiting for an object.
-The event of the cell is reset to nonsignalled state. */
+The event of the cell is reset to nonsignalled state.
+@return true if free cell is found, otherwise false */
UNIV_INTERN
-void
+bool
sync_array_reserve_cell(
/*====================*/
sync_array_t* arr, /*!< in: wait array */
@@ -365,13 +366,12 @@ sync_array_reserve_cell(
cell->thread = os_thread_get_curr_id();
- return;
+ return(true);
}
}
- ut_error; /* No free cell found */
-
- return;
+ /* No free cell found */
+ return false;
}
/******************************************************************//**
@@ -1077,7 +1077,7 @@ sync_array_init(
ut_a(sync_wait_array == NULL);
ut_a(srv_sync_array_size > 0);
- ut_a(n_threads > srv_sync_array_size);
+ ut_a(n_threads > 0);
sync_array_size = srv_sync_array_size;
diff --git a/storage/innobase/sync/sync0rw.cc b/storage/innobase/sync/sync0rw.cc
index 823efecaf6b..ebf73917702 100644
--- a/storage/innobase/sync/sync0rw.cc
+++ b/storage/innobase/sync/sync0rw.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Portions of this file contain modifications contributed and copyrighted by
@@ -33,6 +33,7 @@ Created 9/11/1995 Heikki Tuuri
#include "sync0rw.h"
#ifdef UNIV_NONINL
#include "sync0rw.ic"
+#include "sync0arr.ic"
#endif
#include "os0thread.h"
@@ -405,11 +406,10 @@ lock_loop:
rw_lock_stats.rw_s_spin_round_count.add(counter_index, i);
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, lock, RW_LOCK_SHARED,
- file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(lock,
+ RW_LOCK_SHARED,
+ file_name,
+ line, &index);
/* Set waiters before checking lock_word to ensure wake-up
signal is sent. This may lead to some unnecessary signals. */
@@ -490,11 +490,10 @@ rw_lock_x_lock_wait(
/* If there is still a reader, then go to sleep.*/
rw_lock_stats.rw_x_spin_round_count.add(counter_index, i);
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, lock, RW_LOCK_WAIT_EX,
- file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(lock,
+ RW_LOCK_WAIT_EX,
+ file_name,
+ line, &index);
i = 0;
@@ -657,10 +656,8 @@ lock_loop:
rw_lock_stats.rw_x_spin_round_count.add(counter_index, i);
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, lock, RW_LOCK_EX, file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(lock, RW_LOCK_EX,
+ file_name, line, &index);
/* Waiters must be set before checking lock_word, to ensure signal
is sent. This could lead to a few unnecessary wake-up signals. */
diff --git a/storage/innobase/sync/sync0sync.cc b/storage/innobase/sync/sync0sync.cc
index d6f7325e2a3..90f16719e20 100644
--- a/storage/innobase/sync/sync0sync.cc
+++ b/storage/innobase/sync/sync0sync.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Portions of this file contain modifications contributed and copyrighted by
@@ -33,6 +33,7 @@ Created 9/5/1995 Heikki Tuuri
#include "sync0sync.h"
#ifdef UNIV_NONINL
#include "sync0sync.ic"
+#include "sync0arr.ic"
#endif
#include "sync0rw.h"
@@ -536,10 +537,8 @@ spin_loop:
goto spin_loop;
}
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, mutex, SYNC_MUTEX, file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(mutex, SYNC_MUTEX,
+ file_name, line, &index);
/* The memory order of the array reservation and the change in the
waiters field is important: when we suspend a thread, we first
diff --git a/storage/innobase/trx/trx0purge.cc b/storage/innobase/trx/trx0purge.cc
index 0747cffb791..56d46311f62 100644
--- a/storage/innobase/trx/trx0purge.cc
+++ b/storage/innobase/trx/trx0purge.cc
@@ -1256,11 +1256,13 @@ run_synchronously:
ut_a(purge_sys->n_submitted == purge_sys->n_completed);
#ifdef UNIV_DEBUG
+ rw_lock_x_lock(&purge_sys->latch);
if (purge_sys->limit.trx_no == 0) {
purge_sys->done = purge_sys->iter;
} else {
purge_sys->done = purge_sys->limit;
}
+ rw_lock_x_unlock(&purge_sys->latch);
#endif /* UNIV_DEBUG */
if (truncate) {
diff --git a/storage/innobase/trx/trx0sys.cc b/storage/innobase/trx/trx0sys.cc
index ea7ad65ffd9..fcf1c1cedf4 100644
--- a/storage/innobase/trx/trx0sys.cc
+++ b/storage/innobase/trx/trx0sys.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -882,7 +882,7 @@ trx_sys_create_rsegs(
ut_a(n_spaces < TRX_SYS_N_RSEGS);
ut_a(n_rsegs <= TRX_SYS_N_RSEGS);
- if (srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO || srv_read_only_mode) {
+ if (srv_read_only_mode) {
return(ULINT_UNDEFINED);
}
diff --git a/storage/innobase/trx/trx0trx.cc b/storage/innobase/trx/trx0trx.cc
index 288e06173c0..7a75c7b573a 100644
--- a/storage/innobase/trx/trx0trx.cc
+++ b/storage/innobase/trx/trx0trx.cc
@@ -140,6 +140,12 @@ trx_create(void)
trx->op_info = "";
+ trx->api_trx = false;
+
+ trx->api_auto_commit = false;
+
+ trx->read_write = true;
+
heap = mem_heap_create(sizeof(ib_vector_t) + sizeof(void*) * 8);
heap_alloc = ib_heap_allocator_create(heap);
@@ -381,7 +387,6 @@ trx_list_rw_insert_ordered(
if (trx2 == NULL) {
UT_LIST_ADD_FIRST(trx_list, trx_sys->rw_trx_list, trx);
- ut_d(trx_sys->rw_max_trx_id = trx->id);
} else {
UT_LIST_INSERT_AFTER(
trx_list, trx_sys->rw_trx_list, trx2, trx);
@@ -390,6 +395,12 @@ trx_list_rw_insert_ordered(
UT_LIST_ADD_LAST(trx_list, trx_sys->rw_trx_list, trx);
}
+#ifdef UNIV_DEBUG
+ if (trx->id > trx_sys->rw_max_trx_id) {
+ trx_sys->rw_max_trx_id = trx->id;
+ }
+#endif /* UNIV_DEBUG */
+
ut_ad(!trx->in_rw_trx_list);
ut_d(trx->in_rw_trx_list = TRUE);
}
@@ -737,7 +748,7 @@ trx_assign_rseg_low(
trx_rseg_t* rseg;
static ulint latest_rseg = 0;
- if (srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO || srv_read_only_mode) {
+ if (srv_read_only_mode) {
ut_a(max_undo_logs == ULONG_UNDEFINED);
return(NULL);
}
@@ -753,7 +764,9 @@ trx_assign_rseg_low(
the array. Once we implement more flexible rollback segment
management this may not hold. The assertion checks for that case. */
- ut_a(trx_sys->rseg_array[0] != NULL);
+ if (trx_sys->rseg_array[0] == NULL) {
+ return(NULL);
+ }
/* Skip the system tablespace if we have more than one tablespace
defined for rollback segments. We want all UNDO records to be in
@@ -808,10 +821,12 @@ trx_start_low(
ut_ad(UT_LIST_GET_LEN(trx->lock.trx_locks) == 0);
/* Check whether it is an AUTOCOMMIT SELECT */
- trx->auto_commit = thd_trx_is_auto_commit(trx->mysql_thd);
+ trx->auto_commit = (trx->api_trx && trx->api_auto_commit)
+ || thd_trx_is_auto_commit(trx->mysql_thd);
trx->read_only =
- (!trx->ddl && thd_trx_is_read_only(trx->mysql_thd))
+ (trx->api_trx && !trx->read_write)
+ || (!trx->ddl && thd_trx_is_read_only(trx->mysql_thd))
|| srv_read_only_mode;
if (!trx->auto_commit) {
@@ -865,7 +880,11 @@ trx_start_low(
ut_ad(!trx_is_autocommit_non_locking(trx));
UT_LIST_ADD_FIRST(trx_list, trx_sys->rw_trx_list, trx);
ut_d(trx->in_rw_trx_list = TRUE);
- ut_d(trx_sys->rw_max_trx_id = trx->id);
+#ifdef UNIV_DEBUG
+ if (trx->id > trx_sys->rw_max_trx_id) {
+ trx_sys->rw_max_trx_id = trx->id;
+ }
+#endif /* UNIV_DEBUG */
}
ut_ad(trx_sys_validate_trx_list());
diff --git a/storage/innobase/ut/ut0ut.cc b/storage/innobase/ut/ut0ut.cc
index e2176a4603a..939a413b4f3 100644
--- a/storage/innobase/ut/ut0ut.cc
+++ b/storage/innobase/ut/ut0ut.cc
@@ -818,6 +818,8 @@ ut_strerr(
return("Identifier name is too long");
case DB_FTS_EXCEED_RESULT_CACHE_LIMIT:
return("FTS query exceeds result cache limit");
+ case DB_TEMP_FILE_WRITE_FAILURE:
+ return("Temp file write failure");
/* do not add default: in order to produce a warning if new code
is added to the enum but not added here */
diff --git a/storage/maria/ha_maria.cc b/storage/maria/ha_maria.cc
index 5c410151456..081e90f89f7 100644
--- a/storage/maria/ha_maria.cc
+++ b/storage/maria/ha_maria.cc
@@ -724,8 +724,8 @@ int maria_check_definition(MARIA_KEYDEF *t1_keyinfo,
{
DBUG_PRINT("error", ("Key %d has different definition", i));
DBUG_PRINT("error", ("t1_fulltext= %d, t2_fulltext=%d",
- test(t1_keyinfo[i].flag & HA_FULLTEXT),
- test(t2_keyinfo[i].flag & HA_FULLTEXT)));
+ MY_TEST(t1_keyinfo[i].flag & HA_FULLTEXT),
+ MY_TEST(t2_keyinfo[i].flag & HA_FULLTEXT)));
DBUG_RETURN(1);
}
if (t1_keyinfo[i].flag & HA_SPATIAL && t2_keyinfo[i].flag & HA_SPATIAL)
@@ -735,8 +735,8 @@ int maria_check_definition(MARIA_KEYDEF *t1_keyinfo,
{
DBUG_PRINT("error", ("Key %d has different definition", i));
DBUG_PRINT("error", ("t1_spatial= %d, t2_spatial=%d",
- test(t1_keyinfo[i].flag & HA_SPATIAL),
- test(t2_keyinfo[i].flag & HA_SPATIAL)));
+ MY_TEST(t1_keyinfo[i].flag & HA_SPATIAL),
+ MY_TEST(t2_keyinfo[i].flag & HA_SPATIAL)));
DBUG_RETURN(1);
}
if (t1_keyinfo[i].keysegs != t2_keyinfo[i].keysegs ||
@@ -1334,7 +1334,7 @@ int ha_maria::check(THD * thd, HA_CHECK_OPT * check_opt)
share->pack.header_length, 1, MYF(MY_WME))))
{
error= maria_chk_data_link(&param, file,
- test(param.testflag & T_EXTEND));
+ MY_TEST(param.testflag & T_EXTEND));
end_io_cache(&(param.read_cache));
}
param.testflag= old_testflag;
@@ -1627,7 +1627,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
thd_proc_info(thd, buf);
param->testflag|= T_REP_PARALLEL;
error= maria_repair_parallel(param, file, fixed_name,
- test(param->testflag & T_QUICK));
+ MY_TEST(param->testflag & T_QUICK));
/* to reset proc_info, as it was pointing to local buffer */
thd_proc_info(thd, "Repair done");
}
@@ -1636,7 +1636,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
thd_proc_info(thd, "Repair by sorting");
param->testflag|= T_REP_BY_SORT;
error= maria_repair_by_sort(param, file, fixed_name,
- test(param->testflag & T_QUICK));
+ MY_TEST(param->testflag & T_QUICK));
}
if (error && file->create_unique_index_by_sort &&
share->state.dupp_key != MAX_KEY)
@@ -1648,7 +1648,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
thd_proc_info(thd, "Repair with keycache");
param->testflag &= ~(T_REP_BY_SORT | T_REP_PARALLEL);
error= maria_repair(param, file, fixed_name,
- test(param->testflag & T_QUICK));
+ MY_TEST(param->testflag & T_QUICK));
}
param->testflag= save_testflag | (param->testflag & T_RETRY_WITHOUT_QUICK);
optimize_done= 1;
@@ -1656,7 +1656,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
set full_repair_done if we re-wrote all rows and all keys
(and thus removed all transid's from the table
*/
- full_repair_done= !test(param->testflag & T_QUICK);
+ full_repair_done= !MY_TEST(param->testflag & T_QUICK);
}
if (!error)
{
@@ -2124,7 +2124,7 @@ void ha_maria::start_bulk_insert(ha_rows rows, uint flags)
}
else
{
- my_bool all_keys= test(flags & HA_CREATE_UNIQUE_INDEX_BY_SORT);
+ my_bool all_keys= MY_TEST(flags & HA_CREATE_UNIQUE_INDEX_BY_SORT);
maria_disable_indexes_for_rebuild(file, rows, all_keys);
}
if (share->now_transactional)
@@ -3300,7 +3300,7 @@ static int maria_rollback(handlerton *hton __attribute__ ((unused)),
bool maria_flush_logs(handlerton *hton)
{
- return test(translog_purge_at_flush());
+ return MY_TEST(translog_purge_at_flush());
}
diff --git a/storage/maria/ha_maria.h b/storage/maria/ha_maria.h
index 7d12f1637b4..2b99c31ec5d 100644
--- a/storage/maria/ha_maria.h
+++ b/storage/maria/ha_maria.h
@@ -146,7 +146,7 @@ public:
bool auto_repair(int error) const
{
/* Always auto-repair moved tables (error == HA_ERR_OLD_FILE) */
- return ((test(maria_recover_options & HA_RECOVER_ANY) &&
+ return ((MY_TEST(maria_recover_options & HA_RECOVER_ANY) &&
error == HA_ERR_CRASHED_ON_USAGE) ||
error == HA_ERR_OLD_FILE);
diff --git a/storage/maria/ma_blockrec.c b/storage/maria/ma_blockrec.c
index 7f8fd699e5d..fe719888817 100644
--- a/storage/maria/ma_blockrec.c
+++ b/storage/maria/ma_blockrec.c
@@ -2367,7 +2367,7 @@ static my_bool extent_to_bitmap_blocks(MARIA_HA *info,
DBUG_PRINT("error", ("page: %lu page_count: %u tail: %u length: %ld data_length: %ld",
(ulong) block->page,
(block->page_count & ~TAIL_BIT),
- (uint) test(block->page_count & TAIL_BIT),
+ (uint) MY_TEST(block->page_count & TAIL_BIT),
(ulong) ((block->page + (page_count & ~TAIL_BIT)) *
share->block_size),
(ulong) share->state.state.data_file_length));
@@ -3248,8 +3248,9 @@ static my_bool write_block_record(MARIA_HA *info,
blob_length-= (blob_length % FULL_PAGE_SIZE(block_size));
if (blob_length)
{
- memcpy(&log_array_pos->str, record + tmp_column->offset + length,
- sizeof(uchar*));
+ memcpy((void*) &log_array_pos->str,
+ record + tmp_column->offset + length,
+ sizeof(uchar*));
log_array_pos->length= blob_length;
log_entry_length+= blob_length;
log_array_pos++;
@@ -5144,7 +5145,12 @@ my_bool _ma_cmp_block_unique(MARIA_HA *info, MARIA_UNIQUEDEF *def,
int error;
DBUG_ENTER("_ma_cmp_block_unique");
- if (!(old_record= my_alloca(info->s->base.reclength)))
+ /*
+ Don't allocate more than 16K on the stack to ensure we don't get
+ stack overflow.
+ */
+ if (!(old_record= my_safe_alloca(info->s->base.reclength,
+ MARIA_MAX_RECORD_ON_STACK)))
DBUG_RETURN(1);
/* Don't let the compare destroy blobs that may be in use */
@@ -5166,7 +5172,8 @@ my_bool _ma_cmp_block_unique(MARIA_HA *info, MARIA_UNIQUEDEF *def,
info->rec_buff_size= org_rec_buff_size;
}
DBUG_PRINT("exit", ("result: %d", error));
- my_afree(old_record);
+ my_safe_afree(old_record, info->s->base.reclength,
+ MARIA_MAX_RECORD_ON_STACK);
DBUG_RETURN(error != 0);
}
@@ -5338,6 +5345,7 @@ int _ma_scan_restore_block_record(MARIA_HA *info,
info Maria handler
record Store found here
record_pos Value stored in info->cur_row.next_pos after last call
+ This is offset inside the current pagebuff
skip_deleted
NOTES
@@ -5375,7 +5383,7 @@ restart_record_read:
/* Ensure that scan.dir and record_pos are in sync */
DBUG_ASSERT(info->scan.dir == dir_entry_pos(info->scan.page_buff,
share->block_size,
- record_pos));
+ (uint) record_pos));
/* Search for a valid directory entry (not 0) */
while (!(offset= uint2korr(info->scan.dir)))
@@ -5971,12 +5979,12 @@ static size_t fill_update_undo_parts(MARIA_HA *info, const uchar *oldrec,
{
uint size_length= column->length - portable_sizeof_char_ptr;
old_column_length= _ma_calc_blob_length(size_length, old_column_pos);
- memcpy(&old_column_pos, oldrec + column->offset + size_length,
+ memcpy((void*) &old_column_pos, oldrec + column->offset + size_length,
sizeof(old_column_pos));
if (!new_column_is_empty)
{
new_column_length= _ma_calc_blob_length(size_length, new_column_pos);
- memcpy(&new_column_pos, newrec + column->offset + size_length,
+ memcpy((void*) &new_column_pos, newrec + column->offset + size_length,
sizeof(old_column_pos));
}
break;
diff --git a/storage/maria/ma_check.c b/storage/maria/ma_check.c
index e21690a6b53..4ac267ffb8a 100644
--- a/storage/maria/ma_check.c
+++ b/storage/maria/ma_check.c
@@ -1454,7 +1454,7 @@ static int check_dynamic_record(HA_CHECK *param, MARIA_HA *info, int extend,
if (param->testflag & (T_EXTEND | T_MEDIUM | T_VERBOSE))
{
if (_ma_rec_check(info,record, info->rec_buff,block_info.rec_len,
- test(share->calc_checksum), checksum))
+ MY_TEST(share->calc_checksum), checksum))
{
_ma_check_print_error(param,"Found wrong packed record at %s",
llstr(start_recpos,llbuff));
@@ -2385,7 +2385,7 @@ static int initialize_variables_for_repair(HA_CHECK *param,
sort_param->sort_info= sort_info;
sort_param->fix_datafile= ! rep_quick;
- sort_param->calc_checksum= test(param->testflag & T_CALC_CHECKSUM);
+ sort_param->calc_checksum= MY_TEST(param->testflag & T_CALC_CHECKSUM);
sort_info->info= sort_info->new_info= info;
sort_info->param= param;
set_data_file_type(sort_info, info->s);
@@ -2395,8 +2395,9 @@ static int initialize_variables_for_repair(HA_CHECK *param,
info->rec_cache.file= info->dfile.file;
info->update= (short) (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
- if (protect_against_repair_crash(info, param, !test(param->testflag &
- T_CREATE_MISSING_KEYS)))
+ if (protect_against_repair_crash(info, param,
+ !MY_TEST(param->testflag &
+ T_CREATE_MISSING_KEYS)))
return 1;
/* calculate max_records */
@@ -3836,7 +3837,7 @@ int maria_repair_by_sort(HA_CHECK *param, register MARIA_HA *info,
if (keyseg[i].flag & HA_SPACE_PACK)
sort_param.key_length+=get_pack_length(keyseg[i].length);
if (keyseg[i].flag & (HA_BLOB_PART | HA_VAR_LENGTH_PART))
- sort_param.key_length+=2 + test(keyseg[i].length >= 127);
+ sort_param.key_length+= 2 + MY_TEST(keyseg[i].length >= 127);
if (keyseg[i].flag & HA_NULL_PART)
sort_param.key_length++;
}
@@ -4405,7 +4406,7 @@ int maria_repair_parallel(HA_CHECK *param, register MARIA_HA *info,
if (keyseg->flag & HA_SPACE_PACK)
sort_param[i].key_length+=get_pack_length(keyseg->length);
if (keyseg->flag & (HA_BLOB_PART | HA_VAR_LENGTH_PART))
- sort_param[i].key_length+=2 + test(keyseg->length >= 127);
+ sort_param[i].key_length+= 2 + MY_TEST(keyseg->length >= 127);
if (keyseg->flag & HA_NULL_PART)
sort_param[i].key_length++;
}
@@ -4424,7 +4425,7 @@ int maria_repair_parallel(HA_CHECK *param, register MARIA_HA *info,
sort_info.total_keys=i;
sort_param[0].master= 1;
sort_param[0].fix_datafile= ! rep_quick;
- sort_param[0].calc_checksum= test(param->testflag & T_CALC_CHECKSUM);
+ sort_param[0].calc_checksum= MY_TEST(param->testflag & T_CALC_CHECKSUM);
if (!maria_ftparser_alloc_param(info))
goto err;
@@ -5225,7 +5226,7 @@ static int sort_get_next_record(MARIA_SORT_PARAM *sort_param)
sort_param->find_length,
(param->testflag & T_QUICK) &&
sort_param->calc_checksum &&
- test(share->calc_checksum), checksum))
+ MY_TEST(share->calc_checksum), checksum))
{
_ma_check_print_info(param,"Found wrong packed record at %s",
llstr(sort_param->start_recpos,llbuff));
@@ -5413,7 +5414,7 @@ int _ma_sort_write_record(MARIA_SORT_PARAM *sort_param)
do
{
- block_length=reclength+ 3 + test(reclength >= (65520-3));
+ block_length= reclength + 3 + MY_TEST(reclength >= (65520 - 3));
if (block_length < share->base.min_block_length)
block_length=share->base.min_block_length;
info->update|=HA_STATE_WRITE_AT_END;
@@ -6412,7 +6413,7 @@ static ha_checksum maria_byte_checksum(const uchar *buf, uint length)
const uchar *end=buf+length;
for (crc=0; buf != end; buf++)
crc=((crc << 1) + *buf) +
- test(crc & (((ha_checksum) 1) << (8*sizeof(ha_checksum)-1)));
+ MY_TEST(crc & (((ha_checksum) 1) << (8 * sizeof(ha_checksum) - 1)));
return crc;
}
diff --git a/storage/maria/ma_create.c b/storage/maria/ma_create.c
index 232f4a330eb..1176b2037b5 100644
--- a/storage/maria/ma_create.c
+++ b/storage/maria/ma_create.c
@@ -209,7 +209,7 @@ int maria_create(const char *name, enum data_file_type datafile_type,
options|= HA_OPTION_NULL_FIELDS; /* Use ma_checksum() */
/* We must test for 257 as length includes pack-length */
- if (test(column->length >= 257))
+ if (MY_TEST(column->length >= 257))
{
long_varchar_count++;
max_field_lengths++;
@@ -308,7 +308,8 @@ int maria_create(const char *name, enum data_file_type datafile_type,
pack_bytes= (packed + 7) / 8;
if (pack_reclength != INT_MAX32)
pack_reclength+= reclength+pack_bytes +
- test(test_all_bits(options, HA_OPTION_CHECKSUM | HA_OPTION_PACK_RECORD));
+ MY_TEST(test_all_bits(options, HA_OPTION_CHECKSUM |
+ HA_OPTION_PACK_RECORD));
min_pack_length+= pack_bytes;
/* Calculate min possible row length for rows-in-block */
extra_header_size= MAX_FIXED_HEADER_SIZE;
@@ -371,7 +372,7 @@ int maria_create(const char *name, enum data_file_type datafile_type,
after the row pointer
*/
pointer= maria_get_pointer_length((ci->data_file_length /
- maria_block_size) * 2, 3) + 1;
+ maria_block_size) * 2, 4) + 1;
set_if_smaller(pointer, BLOCK_RECORD_POINTER_SIZE);
if (!max_rows)
@@ -730,7 +731,7 @@ int maria_create(const char *name, enum data_file_type datafile_type,
share.base.records=ci->max_rows;
share.base.reloc= ci->reloc_rows;
share.base.reclength=real_reclength;
- share.base.pack_reclength=reclength+ test(options & HA_OPTION_CHECKSUM);
+ share.base.pack_reclength= reclength + MY_TEST(options & HA_OPTION_CHECKSUM);
share.base.max_pack_length=pack_reclength;
share.base.min_pack_length=min_pack_length;
share.base.pack_bytes= pack_bytes;
@@ -1033,7 +1034,7 @@ int maria_create(const char *name, enum data_file_type datafile_type,
remember if the data file was created or not, to know if Recovery can
do it or not, in the future
*/
- log_data[0]= test(flags & HA_DONT_TOUCH_DATA);
+ log_data[0]= MY_TEST(flags & HA_DONT_TOUCH_DATA);
int2store(log_data + 1, kfile_size_before_extension);
int2store(log_data + 1 + 2, share.base.keystart);
log_array[TRANSLOG_INTERNAL_PARTS + 0].str= (uchar *)name;
diff --git a/storage/maria/ma_delete_table.c b/storage/maria/ma_delete_table.c
index 09d5cde5ad0..56a6dfc8e5f 100644
--- a/storage/maria/ma_delete_table.c
+++ b/storage/maria/ma_delete_table.c
@@ -92,7 +92,14 @@ int maria_delete_table_files(const char *name, myf sync_dir)
MYF(MY_WME | sync_dir)))
DBUG_RETURN(my_errno);
fn_format(from,name,"",MARIA_NAME_DEXT,MY_UNPACK_FILENAME|MY_APPEND_EXT);
- DBUG_RETURN(mysql_file_delete_with_symlink(key_file_dfile,
- from, MYF(MY_WME | sync_dir)) ?
- my_errno : 0);
+ if (mysql_file_delete_with_symlink(key_file_dfile, from,
+ MYF(MY_WME | sync_dir)))
+ DBUG_RETURN(my_errno);
+
+ // optional files from maria_pack:
+ fn_format(from,name,"",".TMD",MY_UNPACK_FILENAME|MY_APPEND_EXT);
+ mysql_file_delete_with_symlink(key_file_dfile, from, MYF(0));
+ fn_format(from,name,"",".OLD",MY_UNPACK_FILENAME|MY_APPEND_EXT);
+ mysql_file_delete_with_symlink(key_file_dfile, from, MYF(0));
+ DBUG_RETURN(0);
}
diff --git a/storage/maria/ma_dynrec.c b/storage/maria/ma_dynrec.c
index 4bb51d0dcf3..9fed9dbe8da 100644
--- a/storage/maria/ma_dynrec.c
+++ b/storage/maria/ma_dynrec.c
@@ -36,12 +36,6 @@ static my_bool delete_dynamic_record(MARIA_HA *info,MARIA_RECORD_POS filepos,
static my_bool _ma_cmp_buffer(File file, const uchar *buff, my_off_t filepos,
uint length);
-/* Play it safe; We have a small stack when using threads */
-#undef my_alloca
-#undef my_afree
-#define my_alloca(A) my_malloc((A),MYF(0))
-#define my_afree(A) my_free((A))
-
/* Interface function from MARIA_HA */
#ifdef HAVE_MMAP
@@ -256,7 +250,8 @@ my_bool _ma_write_blob_record(MARIA_HA *info, const uchar *record)
MARIA_DYN_DELETE_BLOCK_HEADER+1);
reclength= (info->s->base.pack_reclength +
_ma_calc_total_blob_length(info,record)+ extra);
- if (!(rec_buff=(uchar*) my_alloca(reclength)))
+ if (!(rec_buff=(uchar*) my_safe_alloca(reclength,
+ MARIA_MAX_RECORD_ON_STACK)))
{
my_errno= HA_ERR_OUT_OF_MEM; /* purecov: inspected */
return(1);
@@ -270,7 +265,7 @@ my_bool _ma_write_blob_record(MARIA_HA *info, const uchar *record)
error= write_dynamic_record(info,
rec_buff+ALIGN_SIZE(MARIA_MAX_DYN_BLOCK_HEADER),
reclength2);
- my_afree(rec_buff);
+ my_safe_afree(rec_buff, reclength, MARIA_MAX_RECORD_ON_STACK);
return(error != 0);
}
@@ -294,7 +289,8 @@ my_bool _ma_update_blob_record(MARIA_HA *info, MARIA_RECORD_POS pos,
return 1;
}
#endif
- if (!(rec_buff=(uchar*) my_alloca(reclength)))
+ if (!(rec_buff=(uchar*) my_safe_alloca(reclength,
+ MARIA_MAX_RECORD_ON_STACK)))
{
my_errno= HA_ERR_OUT_OF_MEM; /* purecov: inspected */
return(1);
@@ -304,7 +300,7 @@ my_bool _ma_update_blob_record(MARIA_HA *info, MARIA_RECORD_POS pos,
error=update_dynamic_record(info,pos,
rec_buff+ALIGN_SIZE(MARIA_MAX_DYN_BLOCK_HEADER),
reclength);
- my_afree(rec_buff);
+ my_safe_afree(rec_buff, reclength, MARIA_MAX_RECORD_ON_STACK);
return(error != 0);
}
@@ -406,7 +402,7 @@ static int _ma_find_writepos(MARIA_HA *info,
{
/* No deleted blocks; Allocate a new block */
*filepos=info->state->data_file_length;
- if ((tmp=reclength+3 + test(reclength >= (65520-3))) <
+ if ((tmp= reclength + 3 + MY_TEST(reclength >= (65520 - 3))) <
info->s->base.min_block_length)
tmp= info->s->base.min_block_length;
else
@@ -849,7 +845,7 @@ static my_bool update_dynamic_record(MARIA_HA *info, MARIA_RECORD_POS filepos,
if (length < reclength)
{
uint tmp=MY_ALIGN(reclength - length + 3 +
- test(reclength >= 65520L),MARIA_DYN_ALIGN_SIZE);
+ MY_TEST(reclength >= 65520L), MARIA_DYN_ALIGN_SIZE);
/* Don't create a block bigger than MARIA_MAX_BLOCK_LENGTH */
tmp= MY_MIN(length+tmp, MARIA_MAX_BLOCK_LENGTH)-length;
/* Check if we can extend this block */
@@ -1014,7 +1010,7 @@ uint _ma_rec_pack(MARIA_HA *info, register uchar *to,
pos++;
}
new_length=(uint) (end-pos);
- if (new_length +1 + test(column->length > 255 && new_length > 127)
+ if (new_length + 1 + MY_TEST(column->length > 255 && new_length > 127)
< length)
{
if (column->length > 255 && new_length > 127)
@@ -1138,7 +1134,7 @@ my_bool _ma_rec_check(MARIA_HA *info,const uchar *record, uchar *rec_buff,
pos++;
}
new_length=(uint) (end-pos);
- if (new_length +1 + test(column->length > 255 && new_length > 127)
+ if (new_length + 1 + MY_TEST(column->length > 255 && new_length > 127)
< length)
{
if (!(flag & bit))
@@ -1191,7 +1187,7 @@ my_bool _ma_rec_check(MARIA_HA *info,const uchar *record, uchar *rec_buff,
to+= length;
}
if (packed_length != (uint) (to - rec_buff) +
- test(info->s->calc_checksum) || (bit != 1 && (flag & ~(bit - 1))))
+ MY_TEST(info->s->calc_checksum) || (bit != 1 && (flag & ~(bit - 1))))
goto err;
if (with_checksum && ((uchar) checksum != (uchar) *to))
{
@@ -1559,7 +1555,8 @@ my_bool _ma_cmp_dynamic_unique(MARIA_HA *info, MARIA_UNIQUEDEF *def,
my_bool error;
DBUG_ENTER("_ma_cmp_dynamic_unique");
- if (!(old_record=my_alloca(info->s->base.reclength)))
+ if (!(old_record= my_safe_alloca(info->s->base.reclength,
+ MARIA_MAX_RECORD_ON_STACK)))
DBUG_RETURN(1);
/* Don't let the compare destroy blobs that may be in use */
@@ -1580,7 +1577,8 @@ my_bool _ma_cmp_dynamic_unique(MARIA_HA *info, MARIA_UNIQUEDEF *def,
info->rec_buff= old_rec_buff;
info->rec_buff_size= old_rec_buff_size;
}
- my_afree(old_record);
+ my_safe_afree(old_record, info->s->base.reclength,
+ MARIA_MAX_RECORD_ON_STACK);
DBUG_RETURN(error);
}
@@ -1595,7 +1593,9 @@ my_bool _ma_cmp_dynamic_record(register MARIA_HA *info,
uchar *buffer;
MARIA_BLOCK_INFO block_info;
my_bool error= 1;
+ size_t buffer_length;
DBUG_ENTER("_ma_cmp_dynamic_record");
+ LINT_INIT(buffer_length);
if (info->opt_flag & WRITE_CACHE_USED)
{
@@ -1612,8 +1612,10 @@ my_bool _ma_cmp_dynamic_record(register MARIA_HA *info,
{ /* If check isn't disabled */
if (info->s->base.blobs)
{
- if (!(buffer=(uchar*) my_alloca(info->s->base.pack_reclength+
- _ma_calc_total_blob_length(info,record))))
+ buffer_length= (info->s->base.pack_reclength +
+ _ma_calc_total_blob_length(info,record));
+ if (!(buffer=(uchar*) my_safe_alloca(buffer_length,
+ MARIA_MAX_RECORD_ON_STACK)))
DBUG_RETURN(1);
}
reclength= _ma_rec_pack(info,buffer,record);
@@ -1665,7 +1667,7 @@ my_bool _ma_cmp_dynamic_record(register MARIA_HA *info,
error= 0;
err:
if (buffer != info->rec_buff)
- my_afree(buffer);
+ my_safe_afree(buffer, buffer_length, MARIA_MAX_RECORD_ON_STACK);
DBUG_PRINT("exit", ("result: %d", error));
DBUG_RETURN(error);
}
diff --git a/storage/maria/ma_extra.c b/storage/maria/ma_extra.c
index 66e7b4033c7..fd21d2863f8 100644
--- a/storage/maria/ma_extra.c
+++ b/storage/maria/ma_extra.c
@@ -58,7 +58,7 @@ int maria_extra(MARIA_HA *info, enum ha_extra_function function,
{
reinit_io_cache(&info->rec_cache,READ_CACHE,0,
(pbool) (info->lock_type != F_UNLCK),
- (pbool) test(info->update & HA_STATE_ROW_CHANGED)
+ (pbool) MY_TEST(info->update & HA_STATE_ROW_CHANGED)
);
}
info->update= ((info->update & HA_STATE_CHANGED) | HA_STATE_NEXT_FOUND |
@@ -122,7 +122,7 @@ int maria_extra(MARIA_HA *info, enum ha_extra_function function,
{
reinit_io_cache(&info->rec_cache, READ_CACHE, info->cur_row.nextpos,
(pbool) (info->lock_type != F_UNLCK),
- (pbool) test(info->update & HA_STATE_ROW_CHANGED));
+ (pbool) MY_TEST(info->update & HA_STATE_ROW_CHANGED));
info->update&= ~HA_STATE_ROW_CHANGED;
if (share->non_transactional_concurrent_insert)
info->rec_cache.end_of_file= info->state->data_file_length;
@@ -316,7 +316,7 @@ int maria_extra(MARIA_HA *info, enum ha_extra_function function,
/* Fall trough */
case HA_EXTRA_PREPARE_FOR_RENAME:
{
- my_bool do_flush= test(function != HA_EXTRA_PREPARE_FOR_DROP);
+ my_bool do_flush= MY_TEST(function != HA_EXTRA_PREPARE_FOR_DROP);
my_bool save_global_changed;
enum flush_type type;
/*
diff --git a/storage/maria/ma_ft_boolean_search.c b/storage/maria/ma_ft_boolean_search.c
index e69c90c671c..af2ad6f1ba9 100644
--- a/storage/maria/ma_ft_boolean_search.c
+++ b/storage/maria/ma_ft_boolean_search.c
@@ -523,7 +523,7 @@ static void _ftb_init_index_search(FT_INFO *ftb)
{
if (ftbe->flags & FTB_FLAG_NO || /* 2 */
ftbe->up->ythresh - ftbe->up->yweaks >
- (uint) test(ftbe->flags & FTB_FLAG_YES)) /* 1 */
+ (uint) MY_TEST(ftbe->flags & FTB_FLAG_YES)) /* 1 */
{
FTB_EXPR *top_ftbe=ftbe->up;
ftbw->docid[0]=HA_OFFSET_ERROR;
diff --git a/storage/maria/ma_locking.c b/storage/maria/ma_locking.c
index 0ec0244bcbd..dd679f53533 100644
--- a/storage/maria/ma_locking.c
+++ b/storage/maria/ma_locking.c
@@ -535,7 +535,7 @@ int _ma_decrement_open_count(MARIA_HA *info, my_bool lock_tables)
if (!lock_error && !my_disable_locking && lock_tables)
lock_error=maria_lock_database(info,old_lock);
}
- DBUG_RETURN(test(lock_error || write_error));
+ DBUG_RETURN(MY_TEST(lock_error || write_error));
}
diff --git a/storage/maria/ma_loghandler.c b/storage/maria/ma_loghandler.c
index ae58be55105..2538deeb27d 100644
--- a/storage/maria/ma_loghandler.c
+++ b/storage/maria/ma_loghandler.c
@@ -1562,7 +1562,7 @@ static my_bool translog_close_log_file(TRANSLOG_FILE *file)
}
rc|= mysql_file_close(file->handler.file, MYF(MY_WME));
my_free(file);
- return test(rc);
+ return MY_TEST(rc);
}
@@ -8015,8 +8015,8 @@ retest:
/* wait time or next goal */
set_timespec_nsec(abstime, flush_interval - time_spent);
mysql_cond_timedwait(&log_descriptor.new_goal_cond,
- &log_descriptor.log_flush_lock,
- &abstime);
+ &log_descriptor.log_flush_lock,
+ &abstime);
mysql_mutex_unlock(&log_descriptor.log_flush_lock);
DBUG_PRINT("info", ("retest conditions"));
goto retest;
@@ -8232,9 +8232,9 @@ my_bool translog_is_file(uint file_no)
{
MY_STAT stat_buff;
char path[FN_REFLEN];
- return (test(mysql_file_stat(key_file_translog,
- translog_filename_by_fileno(file_no, path),
- &stat_buff, MYF(0))));
+ return (MY_TEST(mysql_file_stat(key_file_translog,
+ translog_filename_by_fileno(file_no, path),
+ &stat_buff, MYF(0))));
}
@@ -8529,8 +8529,8 @@ my_bool translog_purge(TRANSLOG_ADDRESS low)
{
char path[FN_REFLEN], *file_name;
file_name= translog_filename_by_fileno(i, path);
- rc= test(mysql_file_delete(key_file_translog,
- file_name, MYF(MY_WME)));
+ rc= MY_TEST(mysql_file_delete(key_file_translog,
+ file_name, MYF(MY_WME)));
}
}
if (unlikely(rc == 1))
@@ -8592,8 +8592,8 @@ my_bool translog_purge_at_flush()
char path[FN_REFLEN], *file_name;
DBUG_PRINT("info", ("purge file %lu\n", (ulong) i));
file_name= translog_filename_by_fileno(i, path);
- rc= test(mysql_file_delete(key_file_translog,
- file_name, MYF(MY_WME)));
+ rc= MY_TEST(mysql_file_delete(key_file_translog,
+ file_name, MYF(MY_WME)));
}
mysql_mutex_unlock(&log_descriptor.purger_lock);
diff --git a/storage/maria/ma_open.c b/storage/maria/ma_open.c
index eb0dc5f9def..e06084cef07 100644
--- a/storage/maria/ma_open.c
+++ b/storage/maria/ma_open.c
@@ -153,8 +153,8 @@ static MARIA_HA *maria_clone_internal(MARIA_SHARE *share, const char *name,
info.lock_type= F_WRLCK;
_ma_set_data_pagecache_callbacks(&info.dfile, share);
- bitmap_init(&info.changed_fields, changed_fields_bitmap,
- share->base.fields, 0);
+ my_bitmap_init(&info.changed_fields, changed_fields_bitmap,
+ share->base.fields, 0);
if ((*share->init)(&info))
goto err;
@@ -273,7 +273,7 @@ MARIA_HA *maria_open(const char *name, int mode, uint open_flags)
int kfile,open_mode,save_errno;
uint i,j,len,errpos,head_length,base_pos,keys, realpath_err,
key_parts,unique_key_parts,fulltext_keys,uniques;
- uint internal_table= test(open_flags & HA_OPEN_INTERNAL_TABLE);
+ uint internal_table= MY_TEST(open_flags & HA_OPEN_INTERNAL_TABLE);
size_t info_length;
char name_buff[FN_REFLEN], org_name[FN_REFLEN], index_name[FN_REFLEN],
data_name[FN_REFLEN];
@@ -731,7 +731,7 @@ MARIA_HA *maria_open(const char *name, int mode, uint open_flags)
share->base.is_nulls_extended +
share->base.null_bytes +
share->base.pack_bytes +
- test(share->options & HA_OPTION_CHECKSUM));
+ MY_TEST(share->options & HA_OPTION_CHECKSUM));
share->kfile.file= kfile;
if (open_flags & HA_OPEN_COPY)
diff --git a/storage/maria/ma_packrec.c b/storage/maria/ma_packrec.c
index 9b06c0d4f78..a541a657ed2 100644
--- a/storage/maria/ma_packrec.c
+++ b/storage/maria/ma_packrec.c
@@ -146,9 +146,9 @@ my_bool _ma_once_init_pack_row(MARIA_SHARE *share, File dfile)
share->options|= HA_OPTION_READ_ONLY_DATA;
return (_ma_read_pack_info(share, dfile,
(pbool)
- test(!(share->options &
- (HA_OPTION_PACK_RECORD |
- HA_OPTION_TEMP_COMPRESS_RECORD)))));
+ MY_TEST(!(share->options &
+ (HA_OPTION_PACK_RECORD |
+ HA_OPTION_TEMP_COMPRESS_RECORD)))));
}
diff --git a/storage/maria/ma_pagecache.c b/storage/maria/ma_pagecache.c
index 4a3c3efd3fb..8e8ecf945f0 100644
--- a/storage/maria/ma_pagecache.c
+++ b/storage/maria/ma_pagecache.c
@@ -482,7 +482,7 @@ error:
DBUG_PRINT("info",
("info_check_lock: thread: 0x%lx block 0x%lx: info: %d wrt: %d,"
"to lock: %s, to pin: %s",
- (ulong)thread, (ulong)block, test(info),
+ (ulong) thread, (ulong) block, MY_TEST(info),
(info ? info->write_lock : 0),
page_cache_page_lock_str[lock],
page_cache_page_pin_str[pin]));
diff --git a/storage/maria/ma_pagecrc.c b/storage/maria/ma_pagecrc.c
index a79f34016c1..d3522fa4e88 100644
--- a/storage/maria/ma_pagecrc.c
+++ b/storage/maria/ma_pagecrc.c
@@ -88,7 +88,7 @@ static my_bool maria_page_crc_check(uchar *page,
}
new_crc= maria_page_crc((uint32) page_no, page, data_length);
DBUG_ASSERT(new_crc != no_crc_val);
- res= test(new_crc != crc);
+ res= MY_TEST(new_crc != crc);
if (res)
{
/*
diff --git a/storage/maria/ma_range.c b/storage/maria/ma_range.c
index 2a01359f1a1..7747df6415a 100644
--- a/storage/maria/ma_range.c
+++ b/storage/maria/ma_range.c
@@ -177,7 +177,7 @@ static ha_rows _ma_record_pos(MARIA_HA *info, const uchar *key_data,
This is the reason that we add the SEARCH_UPDATE flag here. It makes
the key estimation compare in the same way like key write operations
- do. Olny so we will find the keys where they have been inserted.
+ do. Only so we will find the keys where they have been inserted.
Adding the flag unconditionally does not hurt as it is used in the
above mentioned condition only. So it can safely be used together
@@ -219,7 +219,7 @@ static double _ma_search_pos(MARIA_HA *info, MARIA_KEY *key,
LINT_INIT(max_keynr);
if (pos == HA_OFFSET_ERROR)
- DBUG_RETURN(0.5);
+ DBUG_RETURN(0.0);
if (_ma_fetch_keypage(&page, info, keyinfo, pos,
PAGECACHE_LOCK_LEFT_UNLOCKED, DFLT_INIT_HITS,
@@ -238,8 +238,8 @@ static double _ma_search_pos(MARIA_HA *info, MARIA_KEY *key,
Try to find a smaller, better matching key.
Matches keynr + [0-1]
*/
- if (flag > 0 && ! page.node)
- offset= 1.0;
+ if (! page.node)
+ offset= 0.0;
else if ((offset= _ma_search_pos(info, key, nextflag,
_ma_kpos(page.node,keypos))) < 0)
DBUG_RETURN(offset);
@@ -247,10 +247,19 @@ static double _ma_search_pos(MARIA_HA *info, MARIA_KEY *key,
else
{
/*
- Found match. Keypos points at the start of the found key
- Matches keynr+1
+ Found match. Keypos points at the start of the found key.
+
+ For node pages, we are counting underlying trees and for key
+ pages we are counting keys.
+
+ If this is a node then we have to search backwards to find the
+ first occurence of the key. The row position in a node tree
+ is keynr (starting from 0) + offset for sub tree. If there is
+ no sub tree to search, then we are at start of next sub tree.
+
+ If this is not a node, then the current key position is correct.
*/
- offset=1.0; /* Matches keynr+1 */
+ offset= (page.node) ? 1.0 : 0.0;
if ((nextflag & SEARCH_FIND) && page.node &&
((keyinfo->flag & (HA_NOSAME | HA_NULL_PART)) != HA_NOSAME ||
(nextflag & (SEARCH_PREFIX | SEARCH_NO_FIND | SEARCH_LAST |
@@ -267,14 +276,18 @@ static double _ma_search_pos(MARIA_HA *info, MARIA_KEY *key,
}
DBUG_PRINT("info",("keynr: %d offset: %g max_keynr: %d nod: %d flag: %d",
keynr,offset,max_keynr,page.node,flag));
- DBUG_RETURN((keynr+offset)/(max_keynr+1));
+ DBUG_RETURN((keynr + offset) / (max_keynr + MY_TEST(page.node)));
err:
DBUG_PRINT("exit",("Error: %d",my_errno));
DBUG_RETURN (-1.0);
}
-/* Get keynummer of current key and max number of keys in nod */
+/*
+ Get keynummer of current key and max number of keys in nod
+
+ keynr >= 0 && key_nr <= max_key
+*/
static uint _ma_keynr(MARIA_PAGE *page, uchar *keypos, uint *ret_max_key)
{
diff --git a/storage/maria/ma_recovery.c b/storage/maria/ma_recovery.c
index 33d97a186dd..59e0630be8c 100644
--- a/storage/maria/ma_recovery.c
+++ b/storage/maria/ma_recovery.c
@@ -1176,7 +1176,7 @@ prototype_redo_exec_hook(REDO_REPAIR_TABLE)
DBUG_ASSERT(maria_tmpdir);
info->s->state.key_map= uint8korr(rec->header + FILEID_STORE_SIZE + 8);
- quick_repair= test(param.testflag & T_QUICK);
+ quick_repair= MY_TEST(param.testflag & T_QUICK);
if (param.testflag & T_REP_PARALLEL)
{
diff --git a/storage/maria/ma_static.c b/storage/maria/ma_static.c
index 8c6bf85b39e..35ad7d5a96a 100644
--- a/storage/maria/ma_static.c
+++ b/storage/maria/ma_static.c
@@ -51,7 +51,7 @@ ulong maria_concurrent_insert= 2;
my_off_t maria_max_temp_length= MAX_FILE_SIZE;
ulong maria_bulk_insert_tree_size=8192*1024;
-ulong maria_data_pointer_size= 4;
+ulong maria_data_pointer_size= 6;
PAGECACHE maria_pagecache_var;
PAGECACHE *maria_pagecache= &maria_pagecache_var;
diff --git a/storage/maria/ma_test1.c b/storage/maria/ma_test1.c
index 001717932f9..595b87ef4d0 100644
--- a/storage/maria/ma_test1.c
+++ b/storage/maria/ma_test1.c
@@ -195,7 +195,7 @@ static int run_test(const char *filename)
else
uniques=0;
- offset_to_key= test(null_fields);
+ offset_to_key= MY_TEST(null_fields);
if (key_field == FIELD_BLOB || key_field == FIELD_VARCHAR)
offset_to_key+= 2;
diff --git a/storage/maria/ma_test2.c b/storage/maria/ma_test2.c
index 7b4f29cf972..52c0839cff6 100644
--- a/storage/maria/ma_test2.c
+++ b/storage/maria/ma_test2.c
@@ -763,7 +763,7 @@ int main(int argc, char *argv[])
records=0;
for (j++ ; j < k ; j++)
records+=key1[j];
- if ((long) range_records < (long) records*7/10-2 ||
+ if ((long) range_records < (long) records*6/10-2 ||
(long) range_records > (long) records*14/10+2)
{
printf("maria_records_range for key: %d returned %lu; Should be about %lu\n",
diff --git a/storage/maria/ma_test_force_start.pl b/storage/maria/ma_test_force_start.pl
index 8148b2f212b..8e56d6edeed 100755
--- a/storage/maria/ma_test_force_start.pl
+++ b/storage/maria/ma_test_force_start.pl
@@ -43,7 +43,7 @@ my $error_log_name= "./var/log/master.err";
my @cmd_output;
my $whatever; # garbage data
$ENV{MTR_VERSION} = 1; # MTR2 does not have --start-and-exit
-my $base_server_cmd= "perl mysql-test-run.pl --mysqld=--aria-force-start-after-recovery-failures=$force_after --suite=maria maria.maria-recover ";
+my $base_server_cmd= "perl mysql-test-run.pl --mysqld=--aria-force-start-after-recovery-failures=$force_after --suite=maria maria.maria-recover ";
if ($^O =~ /^mswin/i)
{
print <<EOF;
diff --git a/storage/maria/ma_unique.c b/storage/maria/ma_unique.c
index ef7aec86834..fd823f7b52d 100644
--- a/storage/maria/ma_unique.c
+++ b/storage/maria/ma_unique.c
@@ -135,7 +135,7 @@ ha_checksum _ma_unique_hash(MARIA_UNIQUEDEF *def, const uchar *record)
else if (keyseg->flag & HA_BLOB_PART)
{
uint tmp_length= _ma_calc_blob_length(keyseg->bit_start,pos);
- memcpy(&pos,pos+keyseg->bit_start,sizeof(char*));
+ memcpy((void*) &pos,pos+keyseg->bit_start,sizeof(char*));
if (!length || length > tmp_length)
length=tmp_length; /* The whole blob */
}
@@ -231,8 +231,8 @@ my_bool _ma_unique_comp(MARIA_UNIQUEDEF *def, const uchar *a, const uchar *b,
set_if_smaller(a_length, keyseg->length);
set_if_smaller(b_length, keyseg->length);
}
- memcpy(&pos_a, pos_a+keyseg->bit_start, sizeof(char*));
- memcpy(&pos_b, pos_b+keyseg->bit_start, sizeof(char*));
+ memcpy((void*) &pos_a, pos_a+keyseg->bit_start, sizeof(char*));
+ memcpy((void*) &pos_b, pos_b+keyseg->bit_start, sizeof(char*));
}
if (type == HA_KEYTYPE_TEXT || type == HA_KEYTYPE_VARTEXT1 ||
type == HA_KEYTYPE_VARTEXT2)
diff --git a/storage/maria/maria_chk.c b/storage/maria/maria_chk.c
index a9af6e69154..623d3c6c92e 100644
--- a/storage/maria/maria_chk.c
+++ b/storage/maria/maria_chk.c
@@ -973,7 +973,7 @@ static int maria_chk(HA_CHECK *param, char *filename)
{
int error,lock_type,recreate;
uint warning_printed_by_chk_status;
- my_bool rep_quick= test(param->testflag & (T_QUICK | T_FORCE_UNIQUENESS));
+ my_bool rep_quick= MY_TEST(param->testflag & (T_QUICK | T_FORCE_UNIQUENESS));
MARIA_HA *info;
File datafile;
char llbuff[22],llbuff2[22];
@@ -1366,7 +1366,7 @@ static int maria_chk(HA_CHECK *param, char *filename)
if ((info->s->data_file_type != STATIC_RECORD) ||
(param->testflag & (T_EXTEND | T_MEDIUM)))
error|=maria_chk_data_link(param, info,
- test(param->testflag & T_EXTEND));
+ MY_TEST(param->testflag & T_EXTEND));
end_io_cache(&param->read_cache);
}
if (!error)
@@ -1391,7 +1391,8 @@ static int maria_chk(HA_CHECK *param, char *filename)
if ((param->testflag & T_AUTO_INC) ||
((param->testflag & T_REP_ANY) && info->s->base.auto_key))
_ma_update_auto_increment_key(param, info,
- (my_bool) !test(param->testflag & T_AUTO_INC));
+ (my_bool)
+ !MY_TEST(param->testflag & T_AUTO_INC));
if (info->update & HA_STATE_CHANGED && ! (param->testflag & T_READONLY))
{
diff --git a/storage/maria/maria_def.h b/storage/maria/maria_def.h
index 9b57dd2847d..ab4ade30c44 100644
--- a/storage/maria/maria_def.h
+++ b/storage/maria/maria_def.h
@@ -42,6 +42,7 @@
#define MAX_NONMAPPED_INSERTS 1000
#define MARIA_MAX_TREE_LEVELS 32
+#define MARIA_MAX_RECORD_ON_STACK 16384
/* maria_open() flag, specific for maria_pack */
#define HA_OPEN_IGNORE_MOVED_STATE (1U << 30)
diff --git a/storage/maria/maria_pack.c b/storage/maria/maria_pack.c
index 66085a8981b..26d57ade59a 100644
--- a/storage/maria/maria_pack.c
+++ b/storage/maria/maria_pack.c
@@ -861,7 +861,7 @@ static int get_statistic(PACK_MRG_INFO *mrg,HUFF_COUNTS *huff_counts)
reclength= mrg->file[0]->s->base.reclength;
null_bytes= mrg->file[0]->s->base.null_bytes;
- record=(uchar*) my_alloca(reclength);
+ record=(uchar*) my_safe_alloca(reclength, MARIA_MAX_RECORD_ON_STACK);
end_count=huff_counts+mrg->file[0]->s->base.fields;
record_count=0; glob_crc=0;
max_blob_length=0;
@@ -1145,7 +1145,7 @@ static int get_statistic(PACK_MRG_INFO *mrg,HUFF_COUNTS *huff_counts)
mrg->records=record_count;
mrg->max_blob_length=max_blob_length;
- my_afree(record);
+ my_safe_afree(record, reclength, MARIA_MAX_RECORD_ON_STACK);
DBUG_RETURN(error != HA_ERR_END_OF_FILE);
}
@@ -2415,7 +2415,8 @@ static int compress_maria_file(PACK_MRG_INFO *mrg, HUFF_COUNTS *huff_counts)
DBUG_ENTER("compress_maria_file");
/* Allocate a buffer for the records (excluding blobs). */
- if (!(record=(uchar*) my_alloca(isam_file->s->base.reclength)))
+ if (!(record=(uchar*) my_safe_alloca(isam_file->s->base.reclength,
+ MARIA_MAX_RECORD_ON_STACK)))
return -1;
end_count=huff_counts+isam_file->s->base.fields;
@@ -2778,7 +2779,8 @@ static int compress_maria_file(PACK_MRG_INFO *mrg, HUFF_COUNTS *huff_counts)
if (verbose >= 2)
printf("wrote %s records.\n", llstr((longlong) record_count, llbuf));
- my_afree(record);
+ my_safe_afree(record, isam_file->s->base.reclength,
+ MARIA_MAX_RECORD_ON_STACK);
mrg->ref_length=max_pack_length;
mrg->min_pack_length=max_record_length ? min_record_length : 0;
mrg->max_pack_length=max_record_length;
diff --git a/storage/maria/maria_read_log.c b/storage/maria/maria_read_log.c
index d9393399da4..f5b91f9628f 100644
--- a/storage/maria/maria_read_log.c
+++ b/storage/maria/maria_read_log.c
@@ -301,7 +301,7 @@ get_one_option(int optid __attribute__((unused)),
if (!my_hash_inited(&tables_to_redo))
{
my_hash_init2(&tables_to_redo, 16, &my_charset_bin,
- 16, 0, 0, my_hash_get_string, 0, HASH_UNIQUE);
+ 16, 0, 0, my_hash_get_string, 0, 0, HASH_UNIQUE);
}
do
{
diff --git a/storage/maria/unittest/ma_pagecache_single.c b/storage/maria/unittest/ma_pagecache_single.c
index d7da87a3821..0031582589e 100644
--- a/storage/maria/unittest/ma_pagecache_single.c
+++ b/storage/maria/unittest/ma_pagecache_single.c
@@ -166,15 +166,15 @@ int simple_read_write_test()
PAGECACHE_PLAIN_PAGE,
PAGECACHE_LOCK_LEFT_UNLOCKED,
0);
- ok((res= test(memcmp(buffr, buffw, TEST_PAGE_SIZE) == 0)),
+ ok((res= MY_TEST(memcmp(buffr, buffw, TEST_PAGE_SIZE) == 0)),
"Simple write-read page ");
if (flush_pagecache_blocks(&pagecache, &file1, FLUSH_FORCE_WRITE))
{
diag("Got error during flushing pagecache\n");
exit(1);
}
- ok((res&= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_read_write_test_file))),
+ ok((res&= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_read_write_test_file))),
"Simple write-read page file");
if (res)
reset_file(&file1, file1_name);
@@ -225,7 +225,7 @@ int simple_read_change_write_read_test()
PAGECACHE_PLAIN_PAGE,
PAGECACHE_LOCK_LEFT_UNLOCKED,
0);
- ok((res= test(memcmp(buffr, buffw, TEST_PAGE_SIZE) == 0)),
+ ok((res= MY_TEST(memcmp(buffr, buffw, TEST_PAGE_SIZE) == 0)),
"Simple read-change-write-read page ");
DBUG_ASSERT(pagecache.blocks_changed == 1);
if (flush_pagecache_blocks(&pagecache, &file1, FLUSH_FORCE_WRITE))
@@ -234,8 +234,8 @@ int simple_read_change_write_read_test()
exit(1);
}
DBUG_ASSERT(pagecache.blocks_changed == 0);
- ok((res2= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_read_change_write_read_test_file))),
+ ok((res2= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_read_change_write_read_test_file))),
"Simple read-change-write-read page file");
if (res && res2)
reset_file(&file1, file1_name);
@@ -299,8 +299,8 @@ int simple_pin_test()
res= 0;
goto err;
}
- ok((res= test(test_file(file1, file1_name, TEST_PAGE_SIZE*2, TEST_PAGE_SIZE*2,
- simple_pin_test_file1))),
+ ok((res= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE * 2,
+ TEST_PAGE_SIZE * 2, simple_pin_test_file1))),
"Simple pin page file with pin");
pagecache_unlock(&pagecache,
&file1,
@@ -314,8 +314,8 @@ int simple_pin_test()
res= 0;
goto err;
}
- ok((res&= test(test_file(file1, file1_name, TEST_PAGE_SIZE*2, TEST_PAGE_SIZE,
- simple_pin_test_file2))),
+ ok((res&= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE * 2,
+ TEST_PAGE_SIZE, simple_pin_test_file2))),
"Simple pin page result file");
if (res)
reset_file(&file1, file1_name);
@@ -378,8 +378,8 @@ int simple_pin_test2()
res= 0;
goto err;
}
- ok((res= test(test_file(file1, file1_name, TEST_PAGE_SIZE*2, TEST_PAGE_SIZE*2,
- simple_pin_test_file1))),
+ ok((res= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE * 2,
+ TEST_PAGE_SIZE * 2, simple_pin_test_file1))),
"Simple pin page file with pin 2");
/* Test that a normal flush goes through */
@@ -401,8 +401,8 @@ int simple_pin_test2()
res= 0;
goto err;
}
- ok((res&= test(test_file(file1, file1_name, TEST_PAGE_SIZE*2, TEST_PAGE_SIZE,
- simple_pin_test_file2))),
+ ok((res&= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE * 2,
+ TEST_PAGE_SIZE, simple_pin_test_file2))),
"Simple pin page result file 2");
if (res)
reset_file(&file1, file1_name);
@@ -451,8 +451,8 @@ int simple_pin_no_lock_test()
res= 0;
goto err;
}
- ok((res= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_pin_no_lock_test_file1))),
+ ok((res= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_pin_no_lock_test_file1))),
"Simple pin (no lock) page file with pin 2");
pagecache_unlock(&pagecache,
&file1,
@@ -466,8 +466,8 @@ int simple_pin_no_lock_test()
res= 0;
goto err;
}
- ok((res&= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_pin_no_lock_test_file2))),
+ ok((res&= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_pin_no_lock_test_file2))),
"Simple pin (no lock) page result file 2");
bfill(buffw, TEST_PAGE_SIZE, '\6');
@@ -486,8 +486,8 @@ int simple_pin_no_lock_test()
res= 0;
goto err;
}
- ok((res= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_pin_no_lock_test_file2))),
+ ok((res= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_pin_no_lock_test_file2))),
"Simple pin (no lock) page file with pin 3");
pagecache_unpin_by_link(&pagecache, link, 0);
if (flush_pagecache_blocks(&pagecache, &file1, FLUSH_FORCE_WRITE))
@@ -496,8 +496,8 @@ int simple_pin_no_lock_test()
res= 0;
goto err;
}
- ok((res&= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_pin_no_lock_test_file3))),
+ ok((res&= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_pin_no_lock_test_file3))),
"Simple pin (no lock) page result file 3");
if (res)
reset_file(&file1, file1_name);
@@ -536,8 +536,8 @@ int simple_delete_forget_test()
pagecache_delete(&pagecache, &file1, 0,
PAGECACHE_LOCK_WRITE, 0);
flush_pagecache_blocks(&pagecache, &file1, FLUSH_FORCE_WRITE);
- ok((res= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_delete_forget_test_file))),
+ ok((res= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_delete_forget_test_file))),
"Simple delete-forget page file");
if (res)
reset_file(&file1, file1_name);
@@ -583,8 +583,8 @@ int simple_delete_flush_test()
exit(1);
}
flush_pagecache_blocks(&pagecache, &file1, FLUSH_FORCE_WRITE);
- ok((res= test(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
- simple_delete_flush_test_file))),
+ ok((res= MY_TEST(test_file(file1, file1_name, TEST_PAGE_SIZE, TEST_PAGE_SIZE,
+ simple_delete_flush_test_file))),
"Simple delete flush (link) page file");
if (res)
reset_file(&file1, file1_name);
@@ -665,8 +665,8 @@ int simple_big_test()
ok(1, "Simple big file random read");
flush_pagecache_blocks(&pagecache, &file1, FLUSH_FORCE_WRITE);
- ok((res= test(test_file(file1, file1_name, PCACHE_SIZE*2, TEST_PAGE_SIZE,
- desc))),
+ ok((res= MY_TEST(test_file(file1, file1_name, PCACHE_SIZE * 2, TEST_PAGE_SIZE,
+ desc))),
"Simple big file");
if (res)
reset_file(&file1, file1_name);
diff --git a/storage/maria/unittest/ma_test_loghandler-t.c b/storage/maria/unittest/ma_test_loghandler-t.c
index ccaa6f7dc8e..abf2078ce8f 100644
--- a/storage/maria/unittest/ma_test_loghandler-t.c
+++ b/storage/maria/unittest/ma_test_loghandler-t.c
@@ -661,7 +661,7 @@ err:
if (maria_log_remove(maria_data_root))
exit(1);
- return(test(exit_status()));
+ return(MY_TEST(exit_status()));
}
#include "../ma_check_standalone.h"
diff --git a/storage/maria/unittest/ma_test_loghandler_multigroup-t.c b/storage/maria/unittest/ma_test_loghandler_multigroup-t.c
index 56329a18d7d..c8e63cb26ab 100644
--- a/storage/maria/unittest/ma_test_loghandler_multigroup-t.c
+++ b/storage/maria/unittest/ma_test_loghandler_multigroup-t.c
@@ -758,7 +758,7 @@ err:
if (maria_log_remove(maria_data_root))
exit(1);
- return (test(exit_status()));
+ return (MY_TEST(exit_status()));
}
#include "../ma_check_standalone.h"
diff --git a/storage/myisam/ft_boolean_search.c b/storage/myisam/ft_boolean_search.c
index 70a7037a446..6befe3b2d7a 100644
--- a/storage/myisam/ft_boolean_search.c
+++ b/storage/myisam/ft_boolean_search.c
@@ -533,7 +533,7 @@ static void _ftb_init_index_search(FT_INFO *ftb)
{
if (ftbe->flags & FTB_FLAG_NO || /* 2 */
ftbe->up->ythresh - ftbe->up->yweaks >
- (uint) test(ftbe->flags & FTB_FLAG_YES)) /* 1 */
+ (uint) MY_TEST(ftbe->flags & FTB_FLAG_YES)) /* 1 */
{
FTB_EXPR *top_ftbe=ftbe->up;
ftbw->docid[0]=HA_OFFSET_ERROR;
diff --git a/storage/myisam/ft_stopwords.c b/storage/myisam/ft_stopwords.c
index 75a6b23a51c..7b2d520a65a 100644
--- a/storage/myisam/ft_stopwords.c
+++ b/storage/myisam/ft_stopwords.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates
+/* Copyright (c) 2000, 2010, Oracle and/or its affiliates
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/ftbench/Ecompare.pl b/storage/myisam/ftbench/Ecompare.pl
index 450c5c90a50..ae077cdce37 100755
--- a/storage/myisam/ftbench/Ecompare.pl
+++ b/storage/myisam/ftbench/Ecompare.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# Copyright (C) 2003 MySQL AB
+# Copyright (c) 2003, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/ftbench/Ecreate.pl b/storage/myisam/ftbench/Ecreate.pl
index 362a09c40a3..0e81abfbce8 100755
--- a/storage/myisam/ftbench/Ecreate.pl
+++ b/storage/myisam/ftbench/Ecreate.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# Copyright (C) 2003 MySQL AB
+# Copyright (c) 2003, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/ftbench/Ereport.pl b/storage/myisam/ftbench/Ereport.pl
index 7ea80ac87d0..0f13f0eac14 100755
--- a/storage/myisam/ftbench/Ereport.pl
+++ b/storage/myisam/ftbench/Ereport.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# Copyright (C) 2003 MySQL AB
+# Copyright (c) 2003, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/ftbench/ft-test-run.sh b/storage/myisam/ftbench/ft-test-run.sh
index 5c14b357557..17b13d73d47 100755
--- a/storage/myisam/ftbench/ft-test-run.sh
+++ b/storage/myisam/ftbench/ft-test-run.sh
@@ -1,7 +1,8 @@
#!/bin/sh
-# Copyright (C) 2003 MySQL AB
-#
+# Copyright (c) 2003, 2005, 2006 MySQL AB
+# Use is subject to license terms
+
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; version 2
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index 0178e2abfa9..c997f03463a 100644
--- a/storage/myisam/ha_myisam.cc
+++ b/storage/myisam/ha_myisam.cc
@@ -480,8 +480,8 @@ int check_definition(MI_KEYDEF *t1_keyinfo, MI_COLUMNDEF *t1_recinfo,
{
DBUG_PRINT("error", ("Key %d has different definition", i));
DBUG_PRINT("error", ("t1_fulltext= %d, t2_fulltext=%d",
- test(t1_keyinfo[i].flag & HA_FULLTEXT),
- test(t2_keyinfo[i].flag & HA_FULLTEXT)));
+ MY_TEST(t1_keyinfo[i].flag & HA_FULLTEXT),
+ MY_TEST(t2_keyinfo[i].flag & HA_FULLTEXT)));
DBUG_RETURN(1);
}
if (t1_keyinfo[i].flag & HA_SPATIAL && t2_keyinfo[i].flag & HA_SPATIAL)
@@ -491,8 +491,8 @@ int check_definition(MI_KEYDEF *t1_keyinfo, MI_COLUMNDEF *t1_recinfo,
{
DBUG_PRINT("error", ("Key %d has different definition", i));
DBUG_PRINT("error", ("t1_spatial= %d, t2_spatial=%d",
- test(t1_keyinfo[i].flag & HA_SPATIAL),
- test(t2_keyinfo[i].flag & HA_SPATIAL)));
+ MY_TEST(t1_keyinfo[i].flag & HA_SPATIAL),
+ MY_TEST(t2_keyinfo[i].flag & HA_SPATIAL)));
DBUG_RETURN(1);
}
if ((!mysql_40_compat &&
@@ -913,7 +913,7 @@ int ha_myisam::check(THD* thd, HA_CHECK_OPT* check_opt)
my_default_record_cache_size, READ_CACHE,
share->pack.header_length, 1, MYF(MY_WME))))
{
- error= chk_data_link(&param, file, test(param.testflag & T_EXTEND));
+ error= chk_data_link(&param, file, MY_TEST(param.testflag & T_EXTEND));
end_io_cache(&(param.read_cache));
}
param.testflag= old_testflag;
@@ -1109,7 +1109,7 @@ int ha_myisam::repair(THD *thd, HA_CHECK &param, bool do_optimize)
share->state.key_map);
ulonglong testflag= param.testflag;
#ifdef HAVE_MMAP
- bool remap= test(share->file_map);
+ bool remap= MY_TEST(share->file_map);
/*
mi_repair*() functions family use file I/O even if memory
mapping is available.
@@ -1131,14 +1131,14 @@ int ha_myisam::repair(THD *thd, HA_CHECK &param, bool do_optimize)
/* TODO: respect myisam_repair_threads variable */
thd_proc_info(thd, "Parallel repair");
error = mi_repair_parallel(&param, file, fixed_name,
- test(param.testflag & T_QUICK));
+ MY_TEST(param.testflag & T_QUICK));
}
else
{
thd_proc_info(thd, "Repair by sorting");
DEBUG_SYNC(thd, "myisam_before_repair_by_sort");
error = mi_repair_by_sort(&param, file, fixed_name,
- test(param.testflag & T_QUICK));
+ MY_TEST(param.testflag & T_QUICK));
}
if (error && file->create_unique_index_by_sort &&
share->state.dupp_key != MAX_KEY)
@@ -1150,7 +1150,7 @@ int ha_myisam::repair(THD *thd, HA_CHECK &param, bool do_optimize)
thd_proc_info(thd, "Repair with keycache");
param.testflag &= ~T_REP_BY_SORT;
error= mi_repair(&param, file, fixed_name,
- test(param.testflag & T_QUICK));
+ MY_TEST(param.testflag & T_QUICK));
}
param.testflag= testflag | (param.testflag & T_RETRY_WITHOUT_QUICK);
#ifdef HAVE_MMAP
@@ -1562,7 +1562,7 @@ void ha_myisam::start_bulk_insert(ha_rows rows, uint flags)
}
else
{
- my_bool all_keys= test(flags & HA_CREATE_UNIQUE_INDEX_BY_SORT);
+ my_bool all_keys= MY_TEST(flags & HA_CREATE_UNIQUE_INDEX_BY_SORT);
mi_disable_indexes_for_rebuild(file, rows, all_keys);
}
}
@@ -2006,10 +2006,27 @@ int ha_myisam::create(const char *name, register TABLE *table_arg,
(ulonglong) 0);
create_info.data_file_length= ((ulonglong) share->max_rows *
share->avg_row_length);
- create_info.data_file_name= ha_create_info->data_file_name;
- create_info.index_file_name= ha_create_info->index_file_name;
create_info.language= share->table_charset->number;
+#ifdef HAVE_READLINK
+ if (my_use_symdir)
+ {
+ create_info.data_file_name= ha_create_info->data_file_name;
+ create_info.index_file_name= ha_create_info->index_file_name;
+ }
+ else
+#endif /* HAVE_READLINK */
+ {
+ if (ha_create_info->data_file_name)
+ push_warning_printf(table_arg->in_use, Sql_condition::WARN_LEVEL_WARN,
+ WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+ "DATA DIRECTORY");
+ if (ha_create_info->index_file_name)
+ push_warning_printf(table_arg->in_use, Sql_condition::WARN_LEVEL_WARN,
+ WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+ "INDEX DIRECTORY");
+ }
+
if (ha_create_info->tmp_table())
create_flags|= HA_CREATE_TMP_TABLE | HA_CREATE_DELAY_KEY_WRITE;
if (ha_create_info->options & HA_CREATE_KEEP_FILES)
diff --git a/storage/myisam/mi_check.c b/storage/myisam/mi_check.c
index a44a6236293..3a2bdb2e899 100644
--- a/storage/myisam/mi_check.c
+++ b/storage/myisam/mi_check.c
@@ -1,5 +1,4 @@
-/*
- Copyright (c) 2000, 2012, Oracle and/or its affiliates.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1147,7 +1146,7 @@ int chk_data_link(HA_CHECK *param, MI_INFO *info, my_bool extend)
if (param->testflag & (T_EXTEND | T_MEDIUM | T_VERBOSE))
{
if (_mi_rec_check(info,record, info->rec_buff,block_info.rec_len,
- test(info->s->calc_checksum)))
+ MY_TEST(info->s->calc_checksum)))
{
mi_check_print_error(param,"Found wrong packed record at %s",
llstr(start_recpos,llbuff));
@@ -1537,7 +1536,7 @@ int mi_repair(HA_CHECK *param, register MI_INFO *info,
if (!param->using_global_keycache)
(void) init_key_cache(dflt_key_cache, param->key_cache_block_size,
- param->use_buffers, 0, 0, 0);
+ (size_t) param->use_buffers, 0, 0, 0);
if (init_io_cache(&param->read_cache,info->dfile,
(uint) param->read_buffer_length,
@@ -2364,7 +2363,7 @@ int mi_repair_by_sort(HA_CHECK *param, register MI_INFO *info,
if (keyseg[i].flag & HA_SPACE_PACK)
sort_param.key_length+=get_pack_length(keyseg[i].length);
if (keyseg[i].flag & (HA_BLOB_PART | HA_VAR_LENGTH_PART))
- sort_param.key_length+=2 + test(keyseg[i].length >= 127);
+ sort_param.key_length+= 2 + MY_TEST(keyseg[i].length >= 127);
if (keyseg[i].flag & HA_NULL_PART)
sort_param.key_length++;
}
@@ -2866,7 +2865,7 @@ int mi_repair_parallel(HA_CHECK *param, register MI_INFO *info,
if (keyseg->flag & HA_SPACE_PACK)
sort_param[i].key_length+=get_pack_length(keyseg->length);
if (keyseg->flag & (HA_BLOB_PART | HA_VAR_LENGTH_PART))
- sort_param[i].key_length+=2 + test(keyseg->length >= 127);
+ sort_param[i].key_length+= 2 + MY_TEST(keyseg->length >= 127);
if (keyseg->flag & HA_NULL_PART)
sort_param[i].key_length++;
}
@@ -2884,7 +2883,7 @@ int mi_repair_parallel(HA_CHECK *param, register MI_INFO *info,
sort_info.total_keys=i;
sort_param[0].master= 1;
sort_param[0].fix_datafile= (my_bool)(! rep_quick);
- sort_param[0].calc_checksum= test(param->testflag & T_CALC_CHECKSUM);
+ sort_param[0].calc_checksum= MY_TEST(param->testflag & T_CALC_CHECKSUM);
if (!ftparser_alloc_param(info))
goto err;
@@ -3573,7 +3572,7 @@ static int sort_get_next_record(MI_SORT_PARAM *sort_param)
sort_param->find_length,
(param->testflag & T_QUICK) &&
sort_param->calc_checksum &&
- test(info->s->calc_checksum)))
+ MY_TEST(info->s->calc_checksum)))
{
mi_check_print_info(param,"Found wrong packed record at %s",
llstr(sort_param->start_recpos,llbuff));
@@ -3734,7 +3733,7 @@ int sort_write_record(MI_SORT_PARAM *sort_param)
do
{
- block_length=reclength+ 3 + test(reclength >= (65520-3));
+ block_length= reclength + 3 + MY_TEST(reclength >= (65520 - 3));
if (block_length < share->base.min_block_length)
block_length=share->base.min_block_length;
info->update|=HA_STATE_WRITE_AT_END;
@@ -4661,7 +4660,7 @@ static ha_checksum mi_byte_checksum(const uchar *buf, uint length)
const uchar *end=buf+length;
for (crc=0; buf != end; buf++)
crc=((crc << 1) + *((uchar*) buf)) +
- test(crc & (((ha_checksum) 1) << (8*sizeof(ha_checksum)-1)));
+ MY_TEST(crc & (((ha_checksum) 1) << (8 * sizeof(ha_checksum) - 1)));
return crc;
}
diff --git a/storage/myisam/mi_checksum.c b/storage/myisam/mi_checksum.c
index e0a8672760d..baee85566c2 100644
--- a/storage/myisam/mi_checksum.c
+++ b/storage/myisam/mi_checksum.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2001, 2003-2004 MySQL AB
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@ ha_checksum mi_checksum(MI_INFO *info, const uchar *buf)
const uchar *record= buf;
MI_COLUMNDEF *column= info->s->rec;
MI_COLUMNDEF *column_end= column+ info->s->base.fields;
- my_bool skip_null_bits= test(info->s->options & HA_OPTION_NULL_FIELDS);
+ my_bool skip_null_bits= MY_TEST(info->s->options & HA_OPTION_NULL_FIELDS);
for ( ; column != column_end ; buf+= column++->length)
{
@@ -40,7 +40,7 @@ ha_checksum mi_checksum(MI_INFO *info, const uchar *buf)
length=_mi_calc_blob_length(column->length-
portable_sizeof_char_ptr,
buf);
- memcpy(&pos, buf+column->length - portable_sizeof_char_ptr,
+ memcpy((void*) &pos, buf+column->length - portable_sizeof_char_ptr,
sizeof(char*));
break;
}
diff --git a/storage/myisam/mi_create.c b/storage/myisam/mi_create.c
index 4de218864de..88b9da6f8a9 100644
--- a/storage/myisam/mi_create.c
+++ b/storage/myisam/mi_create.c
@@ -138,7 +138,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
pack_reclength++;
min_pack_length++;
/* We must test for 257 as length includes pack-length */
- if (test(rec->length >= 257))
+ if (MY_TEST(rec->length >= 257))
{
long_varchar_count++;
pack_reclength+= 2; /* May be packed on 3 bytes */
@@ -205,7 +205,8 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
pack_bytes= (packed+7)/8;
if (pack_reclength != INT_MAX32)
pack_reclength+= reclength+packed +
- test(test_all_bits(options, HA_OPTION_CHECKSUM | HA_OPTION_PACK_RECORD));
+ MY_TEST(test_all_bits(options, HA_OPTION_CHECKSUM |
+ HA_OPTION_PACK_RECORD));
min_pack_length+= pack_bytes;
if (!ci->data_file_length && ci->max_rows)
@@ -557,7 +558,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
share.base.records=ci->max_rows;
share.base.reloc= ci->reloc_rows;
share.base.reclength=real_reclength;
- share.base.pack_reclength=reclength+ test(options & HA_OPTION_CHECKSUM);
+ share.base.pack_reclength= reclength + MY_TEST(options & HA_OPTION_CHECKSUM);
share.base.max_pack_length=pack_reclength;
share.base.min_pack_length=min_pack_length;
share.base.pack_bits= pack_bytes;
diff --git a/storage/myisam/mi_delete.c b/storage/myisam/mi_delete.c
index 907d8e291f6..3fffa55341b 100644
--- a/storage/myisam/mi_delete.c
+++ b/storage/myisam/mi_delete.c
@@ -353,8 +353,8 @@ static int d_search(register MI_INFO *info, register MI_KEYDEF *keyinfo,
DBUG_RETURN(-1);
}
/* Page will be update later if we return 1 */
- DBUG_RETURN(test(length <= (info->quick_mode ? MI_MIN_KEYBLOCK_LENGTH :
- (uint) keyinfo->underflow_block_length)));
+ DBUG_RETURN(MY_TEST(length <= (info->quick_mode ? MI_MIN_KEYBLOCK_LENGTH :
+ (uint) keyinfo->underflow_block_length)));
}
save_flag=1;
ret_value=del(info,keyinfo,key,anc_buff,leaf_page,leaf_buff,keypos,
diff --git a/storage/myisam/mi_delete_table.c b/storage/myisam/mi_delete_table.c
index 885990ee1be..7f351bb35a6 100644
--- a/storage/myisam/mi_delete_table.c
+++ b/storage/myisam/mi_delete_table.c
@@ -20,44 +20,47 @@
#include "fulltext.h"
-int mi_delete_table(const char *name)
+static int delete_one_file(const char *name, const char *ext,
+ PSI_file_key pskey, myf flags)
{
char from[FN_REFLEN];
- DBUG_ENTER("mi_delete_table");
-
-#ifdef EXTRA_DEBUG
- check_table_is_closed(name,"delete");
-#endif
-
- fn_format(from,name,"",MI_NAME_IEXT,MY_UNPACK_FILENAME|MY_APPEND_EXT);
+ DBUG_ENTER("delete_one_file");
+ fn_format(from,name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT);
if (my_is_symlink(from) && (*myisam_test_invalid_symlink)(from))
{
/*
Symlink is pointing to file in data directory.
Remove symlink, keep file.
*/
- if (mysql_file_delete(mi_key_file_kfile, from, MYF(MY_WME)))
+ if (mysql_file_delete(pskey, from, flags))
DBUG_RETURN(my_errno);
}
else
{
- if (mysql_file_delete_with_symlink(mi_key_file_kfile, from, MYF(MY_WME)))
- DBUG_RETURN(my_errno);
- }
- fn_format(from,name,"",MI_NAME_DEXT,MY_UNPACK_FILENAME|MY_APPEND_EXT);
- if (my_is_symlink(from) && (*myisam_test_invalid_symlink)(from))
- {
- /*
- Symlink is pointing to file in data directory.
- Remove symlink, keep file.
- */
- if (mysql_file_delete(mi_key_file_dfile, from, MYF(MY_WME)))
- DBUG_RETURN(my_errno);
- }
- else
- {
- if (mysql_file_delete_with_symlink(mi_key_file_dfile, from, MYF(MY_WME)))
+ if (mysql_file_delete_with_symlink(pskey, from, flags))
DBUG_RETURN(my_errno);
}
DBUG_RETURN(0);
}
+
+int mi_delete_table(const char *name)
+{
+ int res;
+ DBUG_ENTER("mi_delete_table");
+
+#ifdef EXTRA_DEBUG
+ check_table_is_closed(name,"delete");
+#endif
+
+ if ((res= delete_one_file(name, MI_NAME_IEXT, mi_key_file_kfile, MYF(MY_WME))))
+ DBUG_RETURN(res);
+ if ((res= delete_one_file(name, MI_NAME_DEXT, mi_key_file_dfile, MYF(MY_WME))))
+ DBUG_RETURN(res);
+
+ // optionally present:
+ delete_one_file(name, ".OLD", mi_key_file_dfile, MYF(0));
+ delete_one_file(name, ".TMD", mi_key_file_dfile, MYF(0));
+
+ DBUG_RETURN(0);
+}
+
diff --git a/storage/myisam/mi_dynrec.c b/storage/myisam/mi_dynrec.c
index 021809ed892..5241d72014c 100644
--- a/storage/myisam/mi_dynrec.c
+++ b/storage/myisam/mi_dynrec.c
@@ -416,7 +416,7 @@ static int _mi_find_writepos(MI_INFO *info,
{
/* No deleted blocks; Allocate a new block */
*filepos=info->state->data_file_length;
- if ((tmp=reclength+3 + test(reclength >= (65520-3))) <
+ if ((tmp= reclength + 3 + MY_TEST(reclength >= (65520 - 3))) <
info->s->base.min_block_length)
tmp= info->s->base.min_block_length;
else
@@ -864,7 +864,7 @@ static int update_dynamic_record(MI_INFO *info, my_off_t filepos, uchar *record,
if (length < reclength)
{
uint tmp=MY_ALIGN(reclength - length + 3 +
- test(reclength >= 65520L),MI_DYN_ALIGN_SIZE);
+ MY_TEST(reclength >= 65520L), MI_DYN_ALIGN_SIZE);
/* Don't create a block bigger than MI_MAX_BLOCK_LENGTH */
tmp= MY_MIN(length+tmp, MI_MAX_BLOCK_LENGTH)-length;
/* Check if we can extend this block */
@@ -1025,7 +1025,7 @@ uint _mi_rec_pack(MI_INFO *info, register uchar *to,
pos++;
}
new_length=(uint) (end-pos);
- if (new_length +1 + test(rec->length > 255 && new_length > 127)
+ if (new_length + 1 + MY_TEST(rec->length > 255 && new_length > 127)
< length)
{
if (rec->length > 255 && new_length > 127)
@@ -1145,7 +1145,7 @@ my_bool _mi_rec_check(MI_INFO *info,const uchar *record, uchar *rec_buff,
pos++;
}
new_length=(uint) (end-pos);
- if (new_length +1 + test(rec->length > 255 && new_length > 127)
+ if (new_length + 1 + MY_TEST(rec->length > 255 && new_length > 127)
< length)
{
if (!(flag & bit))
@@ -1197,7 +1197,7 @@ my_bool _mi_rec_check(MI_INFO *info,const uchar *record, uchar *rec_buff,
else
to+= length;
}
- if (packed_length != (uint) (to - rec_buff) + test(info->s->calc_checksum) ||
+ if (packed_length != (uint) (to - rec_buff) + MY_TEST(info->s->calc_checksum) ||
(bit != 1 && (flag & ~(bit - 1))))
goto err;
if (with_checksum && ((uchar) info->checksum != (uchar) *to))
diff --git a/storage/myisam/mi_extra.c b/storage/myisam/mi_extra.c
index f57fba5c2c5..a47c1987e38 100644
--- a/storage/myisam/mi_extra.c
+++ b/storage/myisam/mi_extra.c
@@ -56,7 +56,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function, void *extra_arg)
{
reinit_io_cache(&info->rec_cache,READ_CACHE,0,
(pbool) (info->lock_type != F_UNLCK),
- (pbool) test(info->update & HA_STATE_ROW_CHANGED)
+ (pbool) MY_TEST(info->update & HA_STATE_ROW_CHANGED)
);
}
info->update= ((info->update & HA_STATE_CHANGED) | HA_STATE_NEXT_FOUND |
@@ -117,7 +117,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function, void *extra_arg)
{
reinit_io_cache(&info->rec_cache,READ_CACHE,info->nextpos,
(pbool) (info->lock_type != F_UNLCK),
- (pbool) test(info->update & HA_STATE_ROW_CHANGED));
+ (pbool) MY_TEST(info->update & HA_STATE_ROW_CHANGED));
info->update&= ~HA_STATE_ROW_CHANGED;
if (share->concurrent_insert)
info->rec_cache.end_of_file=info->state->data_file_length;
diff --git a/storage/myisam/mi_locking.c b/storage/myisam/mi_locking.c
index 663a226d850..531b800c63e 100644
--- a/storage/myisam/mi_locking.c
+++ b/storage/myisam/mi_locking.c
@@ -646,7 +646,7 @@ int _mi_decrement_open_count(MI_INFO *info)
if (!lock_error && !my_disable_locking)
lock_error=mi_lock_database(info,old_lock);
}
- return test(lock_error || write_error);
+ return MY_TEST(lock_error || write_error);
}
diff --git a/storage/myisam/mi_open.c b/storage/myisam/mi_open.c
index f8213b1a3a5..c6af5195f82 100644
--- a/storage/myisam/mi_open.c
+++ b/storage/myisam/mi_open.c
@@ -523,9 +523,9 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
info.s=share;
if (_mi_read_pack_info(&info,
(pbool)
- test(!(share->options &
- (HA_OPTION_PACK_RECORD |
- HA_OPTION_TEMP_COMPRESS_RECORD)))))
+ MY_TEST(!(share->options &
+ (HA_OPTION_PACK_RECORD |
+ HA_OPTION_TEMP_COMPRESS_RECORD)))))
goto err;
}
else if (share->options & HA_OPTION_PACK_RECORD)
diff --git a/storage/myisam/mi_rfirst.c b/storage/myisam/mi_rfirst.c
index 057ad4560e3..5f656229b3b 100644
--- a/storage/myisam/mi_rfirst.c
+++ b/storage/myisam/mi_rfirst.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001 MySQL AB
+/* Copyright (c) 2000, 2001, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/mi_rlast.c b/storage/myisam/mi_rlast.c
index eb583f30e43..b5465d2eadd 100644
--- a/storage/myisam/mi_rlast.c
+++ b/storage/myisam/mi_rlast.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001 MySQL AB
+/* Copyright (c) 2000, 2001, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/mi_rrnd.c b/storage/myisam/mi_rrnd.c
index 2d69ddfba27..dd321e19e00 100644
--- a/storage/myisam/mi_rrnd.c
+++ b/storage/myisam/mi_rrnd.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002, 2004 MySQL AB
+/* Copyright (c) 2000-2002, 2004-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/mi_rsamepos.c b/storage/myisam/mi_rsamepos.c
index 1841c063cbc..9a7d46eab14 100644
--- a/storage/myisam/mi_rsamepos.c
+++ b/storage/myisam/mi_rsamepos.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001, 2005 MySQL AB
+/* Copyright (c) 2000, 2001, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/mi_scan.c b/storage/myisam/mi_scan.c
index 0267f9a5d1d..2ccab7ba306 100644
--- a/storage/myisam/mi_scan.c
+++ b/storage/myisam/mi_scan.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001 MySQL AB
+/* Copyright (c) 2000, 2001, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/mi_search.c b/storage/myisam/mi_search.c
index 01fa10de7a3..3ce112f7906 100644
--- a/storage/myisam/mi_search.c
+++ b/storage/myisam/mi_search.c
@@ -83,7 +83,7 @@ int _mi_search(register MI_INFO *info, register MI_KEYDEF *keyinfo,
}
if (!(buff=_mi_fetch_keypage(info,keyinfo,pos,DFLT_INIT_HITS,info->buff,
- test(!(nextflag & SEARCH_SAVE_BUFF)))))
+ MY_TEST(!(nextflag & SEARCH_SAVE_BUFF)))))
goto err;
DBUG_DUMP("page", buff, mi_getint(buff));
@@ -129,7 +129,7 @@ int _mi_search(register MI_INFO *info, register MI_KEYDEF *keyinfo,
{
uchar *old_buff=buff;
if (!(buff=_mi_fetch_keypage(info,keyinfo,pos,DFLT_INIT_HITS,info->buff,
- test(!(nextflag & SEARCH_SAVE_BUFF)))))
+ MY_TEST(!(nextflag & SEARCH_SAVE_BUFF)))))
goto err;
keypos=buff+(keypos-old_buff);
maxpos=buff+(maxpos-old_buff);
diff --git a/storage/myisam/mi_test1.c b/storage/myisam/mi_test1.c
index 9e4e1c46891..87cea2e5566 100644
--- a/storage/myisam/mi_test1.c
+++ b/storage/myisam/mi_test1.c
@@ -268,14 +268,14 @@ static int run_test(const char *filename)
if (verbose || (flags[j] >= 1 ||
(error && my_errno != HA_ERR_KEY_NOT_FOUND)))
printf("key: '%.*s' mi_rkey: %3d errno: %3d\n",
- (int) key_length,key+test(null_fields),error,my_errno);
+ (int) key_length, key + MY_TEST(null_fields), error, my_errno);
}
else
{
error=mi_delete(file,read_record);
if (verbose || error)
printf("key: '%.*s' mi_delete: %3d errno: %3d\n",
- (int) key_length, key+test(null_fields), error, my_errno);
+ (int) key_length, key + MY_TEST(null_fields), error, my_errno);
if (! error)
{
deleted++;
@@ -296,7 +296,8 @@ static int run_test(const char *filename)
(error && (flags[i] != 0 || my_errno != HA_ERR_KEY_NOT_FOUND)))
{
printf("key: '%.*s' mi_rkey: %3d errno: %3d record: %s\n",
- (int) key_length,key+test(null_fields),error,my_errno,record+1);
+ (int) key_length, key + MY_TEST(null_fields), error, my_errno,
+ record + 1);
}
}
diff --git a/storage/myisam/mi_write.c b/storage/myisam/mi_write.c
index 5ac5a128918..2b922bbaa9e 100644
--- a/storage/myisam/mi_write.c
+++ b/storage/myisam/mi_write.c
@@ -1,5 +1,4 @@
-/*
- Copyright (c) 2000, 2011, Oracle and/or its affiliates
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/myisamchk.c b/storage/myisam/myisamchk.c
index 7ad35c92e6f..0cd01398cbc 100644
--- a/storage/myisam/myisamchk.c
+++ b/storage/myisam/myisamchk.c
@@ -814,7 +814,7 @@ static void get_options(register int *argc,register char ***argv)
static int myisamchk(HA_CHECK *param, char * filename)
{
int error,lock_type,recreate;
- int rep_quick= test(param->testflag & (T_QUICK | T_FORCE_UNIQUENESS));
+ int rep_quick= MY_TEST(param->testflag & (T_QUICK | T_FORCE_UNIQUENESS));
MI_INFO *info;
File datafile;
char llbuff[22],llbuff2[22];
@@ -1128,7 +1128,8 @@ static int myisamchk(HA_CHECK *param, char * filename)
if ((info->s->options & (HA_OPTION_PACK_RECORD |
HA_OPTION_COMPRESS_RECORD)) ||
(param->testflag & (T_EXTEND | T_MEDIUM)))
- error|=chk_data_link(param, info, test(param->testflag & T_EXTEND));
+ error|= chk_data_link(param, info,
+ MY_TEST(param->testflag & T_EXTEND));
error|=flush_blocks(param, share->key_cache, share->kfile,
&share->dirty_part_map);
(void) end_io_cache(&param->read_cache);
@@ -1152,7 +1153,7 @@ static int myisamchk(HA_CHECK *param, char * filename)
if ((param->testflag & T_AUTO_INC) ||
((param->testflag & T_REP_ANY) && info->s->base.auto_key))
update_auto_increment_key(param, info,
- (my_bool) !test(param->testflag & T_AUTO_INC));
+ (my_bool) !MY_TEST(param->testflag & T_AUTO_INC));
if (!(param->testflag & T_DESCRIPT))
{
diff --git a/storage/myisam/myisampack.c b/storage/myisam/myisampack.c
index 461a3eddcca..8854a85c3d3 100644
--- a/storage/myisam/myisampack.c
+++ b/storage/myisam/myisampack.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2010, Oracle and/or its affiliates
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates
Copyright (c) 2009, 2013, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
diff --git a/storage/myisam/rt_index.h b/storage/myisam/rt_index.h
index 0d20cc9eb35..e7f00b1c5df 100644
--- a/storage/myisam/rt_index.h
+++ b/storage/myisam/rt_index.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002, 2004 MySQL AB & Ramil Kalimullin
+/* Copyright (c) 2002, 2004-2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/rt_key.c b/storage/myisam/rt_key.c
index 495fa258662..f4dbf06ae2f 100644
--- a/storage/myisam/rt_key.c
+++ b/storage/myisam/rt_key.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB & Ramil Kalimullin
+/* Copyright (c) 2000, 2002-2005, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/rt_key.h b/storage/myisam/rt_key.h
index 81b1b177864..94d79d08feb 100644
--- a/storage/myisam/rt_key.h
+++ b/storage/myisam/rt_key.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002, 2004 MySQL AB & Ramil Kalimullin
+/* Copyright (c) 2002, 2004-2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/rt_mbr.c b/storage/myisam/rt_mbr.c
index 64e220b2968..05576f0b5e9 100644
--- a/storage/myisam/rt_mbr.c
+++ b/storage/myisam/rt_mbr.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2004, 2006 MySQL AB & Ramil Kalimullin
+/* Copyright (c) 2002-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/rt_mbr.h b/storage/myisam/rt_mbr.h
index 70acc5c19a5..597e938758f 100644
--- a/storage/myisam/rt_mbr.h
+++ b/storage/myisam/rt_mbr.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002, 2004 MySQL AB & Ramil Kalimullin
+/* Copyright (c) 2002, 2004-2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisam/sp_defs.h b/storage/myisam/sp_defs.h
index da7a45e2634..e04f0578fd7 100644
--- a/storage/myisam/sp_defs.h
+++ b/storage/myisam/sp_defs.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002, 2004 MySQL AB & Ramil Kalimullin
+/* Copyright (c) 2002, 2004-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_delete.c b/storage/myisammrg/myrg_delete.c
index af9fb2877d2..a80020d69cd 100644
--- a/storage/myisammrg/myrg_delete.c
+++ b/storage/myisammrg/myrg_delete.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_locking.c b/storage/myisammrg/myrg_locking.c
index a3618f95d03..2c48f51991a 100644
--- a/storage/myisammrg/myrg_locking.c
+++ b/storage/myisammrg/myrg_locking.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_panic.c b/storage/myisammrg/myrg_panic.c
index 223322aff89..63e7462609e 100644
--- a/storage/myisammrg/myrg_panic.c
+++ b/storage/myisammrg/myrg_panic.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001 MySQL AB
+/* Copyright (c) 2000, 2001, 2005, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_range.c b/storage/myisammrg/myrg_range.c
index 97292a05b36..7dddf12657b 100644
--- a/storage/myisammrg/myrg_range.c
+++ b/storage/myisammrg/myrg_range.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002, 2004 MySQL AB
+/* Copyright (c) 2002, 2004-2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_rfirst.c b/storage/myisammrg/myrg_rfirst.c
index d47a52779eb..157029e5c3d 100644
--- a/storage/myisammrg/myrg_rfirst.c
+++ b/storage/myisammrg/myrg_rfirst.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001, 2003 MySQL AB
+/* Copyright (c) 2000, 2001, 2003, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_rlast.c b/storage/myisammrg/myrg_rlast.c
index 06acaccfee3..8fcb424732c 100644
--- a/storage/myisammrg/myrg_rlast.c
+++ b/storage/myisammrg/myrg_rlast.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2001, 2003 MySQL AB
+/* Copyright (c) 2000, 2001, 2003, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_rnext.c b/storage/myisammrg/myrg_rnext.c
index 1804b410048..b19d4d5695d 100644
--- a/storage/myisammrg/myrg_rnext.c
+++ b/storage/myisammrg/myrg_rnext.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2003 MySQL AB
+/* Copyright (c) 2000-2003, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_rnext_same.c b/storage/myisammrg/myrg_rnext_same.c
index 46626dadf72..6b741839a70 100644
--- a/storage/myisammrg/myrg_rnext_same.c
+++ b/storage/myisammrg/myrg_rnext_same.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002, 2004 MySQL AB
+/* Copyright (c) 2002, 2004-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_rprev.c b/storage/myisammrg/myrg_rprev.c
index 342bbf5bf70..581bc215c52 100644
--- a/storage/myisammrg/myrg_rprev.c
+++ b/storage/myisammrg/myrg_rprev.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2003 MySQL AB
+/* Copyright (c) 2000-2003, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_rrnd.c b/storage/myisammrg/myrg_rrnd.c
index 6eb0107304b..2e6a77ee5b9 100644
--- a/storage/myisammrg/myrg_rrnd.c
+++ b/storage/myisammrg/myrg_rrnd.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_rsame.c b/storage/myisammrg/myrg_rsame.c
index 7c49d9e4042..34dbbe51007 100644
--- a/storage/myisammrg/myrg_rsame.c
+++ b/storage/myisammrg/myrg_rsame.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_update.c b/storage/myisammrg/myrg_update.c
index 69b7a1b5382..add6f9f819b 100644
--- a/storage/myisammrg/myrg_update.c
+++ b/storage/myisammrg/myrg_update.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2002 MySQL AB
+/* Copyright (c) 2000-2002, 2005-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/myisammrg/myrg_write.c b/storage/myisammrg/myrg_write.c
index e8ed9a13e9d..dbe3142c43e 100644
--- a/storage/myisammrg/myrg_write.c
+++ b/storage/myisammrg/myrg_write.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2001-2002, 2004 MySQL AB
+/* Copyright (c) 2001, 2002, 2004-2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/config/win-includes b/storage/ndb/config/win-includes
index f385723c65c..e3538cd8c5c 100755
--- a/storage/ndb/config/win-includes
+++ b/storage/ndb/config/win-includes
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/config/win-libraries b/storage/ndb/config/win-libraries
index e38ce1f6b06..01cbab3a74a 100755
--- a/storage/ndb/config/win-libraries
+++ b/storage/ndb/config/win-libraries
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/config/win-name b/storage/ndb/config/win-name
index 4d797f0584c..1613111006e 100755
--- a/storage/ndb/config/win-name
+++ b/storage/ndb/config/win-name
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/config/win-sources b/storage/ndb/config/win-sources
index bb829bd30ba..725c1059d3f 100755
--- a/storage/ndb/config/win-sources
+++ b/storage/ndb/config/win-sources
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/debugger/DebuggerNames.hpp b/storage/ndb/include/debugger/DebuggerNames.hpp
index 03898b6c1de..5e412390f4a 100644
--- a/storage/ndb/include/debugger/DebuggerNames.hpp
+++ b/storage/ndb/include/debugger/DebuggerNames.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/debugger/EventLogger.hpp b/storage/ndb/include/debugger/EventLogger.hpp
index dca8c817cd2..2da1bd55a78 100644
--- a/storage/ndb/include/debugger/EventLogger.hpp
+++ b/storage/ndb/include/debugger/EventLogger.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/debugger/GrepError.hpp b/storage/ndb/include/debugger/GrepError.hpp
index 64779e5ea05..da0c7d40525 100644
--- a/storage/ndb/include/debugger/GrepError.hpp
+++ b/storage/ndb/include/debugger/GrepError.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/debugger/SignalLoggerManager.hpp b/storage/ndb/include/debugger/SignalLoggerManager.hpp
index f1d5b25a8bc..447c9c4d4da 100644
--- a/storage/ndb/include/debugger/SignalLoggerManager.hpp
+++ b/storage/ndb/include/debugger/SignalLoggerManager.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/editline/editline.h b/storage/ndb/include/editline/editline.h
index 8f1d261da8a..5fe77ab7fbd 100644
--- a/storage/ndb/include/editline/editline.h
+++ b/storage/ndb/include/editline/editline.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/AttributeDescriptor.hpp b/storage/ndb/include/kernel/AttributeDescriptor.hpp
index f82bd78785a..78b0c917ce4 100644
--- a/storage/ndb/include/kernel/AttributeDescriptor.hpp
+++ b/storage/ndb/include/kernel/AttributeDescriptor.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/AttributeHeader.hpp b/storage/ndb/include/kernel/AttributeHeader.hpp
index e567a900aac..cd5023187a0 100644
--- a/storage/ndb/include/kernel/AttributeHeader.hpp
+++ b/storage/ndb/include/kernel/AttributeHeader.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/AttributeList.hpp b/storage/ndb/include/kernel/AttributeList.hpp
index ac89830f6c5..ed9c8facfe1 100644
--- a/storage/ndb/include/kernel/AttributeList.hpp
+++ b/storage/ndb/include/kernel/AttributeList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/BlockNumbers.h b/storage/ndb/include/kernel/BlockNumbers.h
index fb8957947a2..ab0b05ab16f 100644
--- a/storage/ndb/include/kernel/BlockNumbers.h
+++ b/storage/ndb/include/kernel/BlockNumbers.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/GlobalSignalNumbers.h b/storage/ndb/include/kernel/GlobalSignalNumbers.h
index 9c27cea5b0c..84bce8f20d2 100644
--- a/storage/ndb/include/kernel/GlobalSignalNumbers.h
+++ b/storage/ndb/include/kernel/GlobalSignalNumbers.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/GrepEvent.hpp b/storage/ndb/include/kernel/GrepEvent.hpp
index 885a95f4f9b..74a5afe5907 100644
--- a/storage/ndb/include/kernel/GrepEvent.hpp
+++ b/storage/ndb/include/kernel/GrepEvent.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/Interpreter.hpp b/storage/ndb/include/kernel/Interpreter.hpp
index 22ad264857d..69f045a551e 100644
--- a/storage/ndb/include/kernel/Interpreter.hpp
+++ b/storage/ndb/include/kernel/Interpreter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/LogLevel.hpp b/storage/ndb/include/kernel/LogLevel.hpp
index 0232aa32002..beba32f49a7 100644
--- a/storage/ndb/include/kernel/LogLevel.hpp
+++ b/storage/ndb/include/kernel/LogLevel.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/NodeBitmask.hpp b/storage/ndb/include/kernel/NodeBitmask.hpp
index fb997819bac..902e754e056 100644
--- a/storage/ndb/include/kernel/NodeBitmask.hpp
+++ b/storage/ndb/include/kernel/NodeBitmask.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/NodeInfo.hpp b/storage/ndb/include/kernel/NodeInfo.hpp
index c00952e5f17..f3f9b2c71fe 100644
--- a/storage/ndb/include/kernel/NodeInfo.hpp
+++ b/storage/ndb/include/kernel/NodeInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/NodeState.hpp b/storage/ndb/include/kernel/NodeState.hpp
index f66c39655b2..575b6e80e7f 100644
--- a/storage/ndb/include/kernel/NodeState.hpp
+++ b/storage/ndb/include/kernel/NodeState.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/RefConvert.hpp b/storage/ndb/include/kernel/RefConvert.hpp
index cb63c754d0e..3ce4045e915 100644
--- a/storage/ndb/include/kernel/RefConvert.hpp
+++ b/storage/ndb/include/kernel/RefConvert.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/kernel_types.h b/storage/ndb/include/kernel/kernel_types.h
index 16c78215292..066792a0fb8 100644
--- a/storage/ndb/include/kernel/kernel_types.h
+++ b/storage/ndb/include/kernel/kernel_types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/ndb_limits.h b/storage/ndb/include/kernel/ndb_limits.h
index 90481fc35ee..ae69562dd02 100644
--- a/storage/ndb/include/kernel/ndb_limits.h
+++ b/storage/ndb/include/kernel/ndb_limits.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AbortAll.hpp b/storage/ndb/include/kernel/signaldata/AbortAll.hpp
index ecad1c49bc4..e82e74e0daf 100644
--- a/storage/ndb/include/kernel/signaldata/AbortAll.hpp
+++ b/storage/ndb/include/kernel/signaldata/AbortAll.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AccFrag.hpp b/storage/ndb/include/kernel/signaldata/AccFrag.hpp
index 24cc14dffc9..7bb2f94b1aa 100644
--- a/storage/ndb/include/kernel/signaldata/AccFrag.hpp
+++ b/storage/ndb/include/kernel/signaldata/AccFrag.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AccLock.hpp b/storage/ndb/include/kernel/signaldata/AccLock.hpp
index 2e795292a6e..525d9291f24 100644
--- a/storage/ndb/include/kernel/signaldata/AccLock.hpp
+++ b/storage/ndb/include/kernel/signaldata/AccLock.hpp
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AccScan.hpp b/storage/ndb/include/kernel/signaldata/AccScan.hpp
index 984e39a7c17..e1ba882e418 100644
--- a/storage/ndb/include/kernel/signaldata/AccScan.hpp
+++ b/storage/ndb/include/kernel/signaldata/AccScan.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AccSizeAltReq.hpp b/storage/ndb/include/kernel/signaldata/AccSizeAltReq.hpp
index 37d762b298e..9b64498ab72 100644
--- a/storage/ndb/include/kernel/signaldata/AccSizeAltReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/AccSizeAltReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AllocNodeId.hpp b/storage/ndb/include/kernel/signaldata/AllocNodeId.hpp
index 5cce7e5c51c..e346b344fb9 100644
--- a/storage/ndb/include/kernel/signaldata/AllocNodeId.hpp
+++ b/storage/ndb/include/kernel/signaldata/AllocNodeId.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AlterIndx.hpp b/storage/ndb/include/kernel/signaldata/AlterIndx.hpp
index 3f3ecaf9e2a..9bf29f98dfd 100644
--- a/storage/ndb/include/kernel/signaldata/AlterIndx.hpp
+++ b/storage/ndb/include/kernel/signaldata/AlterIndx.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AlterTab.hpp b/storage/ndb/include/kernel/signaldata/AlterTab.hpp
index 6d85b307a5a..c91e068326b 100644
--- a/storage/ndb/include/kernel/signaldata/AlterTab.hpp
+++ b/storage/ndb/include/kernel/signaldata/AlterTab.hpp
@@ -1,5 +1,5 @@
-/* Copyright (C) 2003 MySQL AB
-
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
diff --git a/storage/ndb/include/kernel/signaldata/AlterTable.hpp b/storage/ndb/include/kernel/signaldata/AlterTable.hpp
index 8b6e2c8a253..f4710366c6a 100644
--- a/storage/ndb/include/kernel/signaldata/AlterTable.hpp
+++ b/storage/ndb/include/kernel/signaldata/AlterTable.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AlterTrig.hpp b/storage/ndb/include/kernel/signaldata/AlterTrig.hpp
index 731a055f0a9..839e218ae7e 100644
--- a/storage/ndb/include/kernel/signaldata/AlterTrig.hpp
+++ b/storage/ndb/include/kernel/signaldata/AlterTrig.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ApiBroadcast.hpp b/storage/ndb/include/kernel/signaldata/ApiBroadcast.hpp
index 13da1aa48c8..0813ca6f94f 100644
--- a/storage/ndb/include/kernel/signaldata/ApiBroadcast.hpp
+++ b/storage/ndb/include/kernel/signaldata/ApiBroadcast.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ApiRegSignalData.hpp b/storage/ndb/include/kernel/signaldata/ApiRegSignalData.hpp
index eaec47bdf09..63e472abde1 100644
--- a/storage/ndb/include/kernel/signaldata/ApiRegSignalData.hpp
+++ b/storage/ndb/include/kernel/signaldata/ApiRegSignalData.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ApiVersion.hpp b/storage/ndb/include/kernel/signaldata/ApiVersion.hpp
index 15867119579..b2b5e82da40 100644
--- a/storage/ndb/include/kernel/signaldata/ApiVersion.hpp
+++ b/storage/ndb/include/kernel/signaldata/ApiVersion.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp b/storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp
index 1973eeb0273..366afa4b477 100644
--- a/storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp
+++ b/storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/AttrInfo.hpp b/storage/ndb/include/kernel/signaldata/AttrInfo.hpp
index 5dec2f9029d..fa654ecc889 100644
--- a/storage/ndb/include/kernel/signaldata/AttrInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/AttrInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/BackupContinueB.hpp b/storage/ndb/include/kernel/signaldata/BackupContinueB.hpp
index a2cd23450ef..af70e7f69d1 100644
--- a/storage/ndb/include/kernel/signaldata/BackupContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/BackupContinueB.hpp
@@ -1,5 +1,5 @@
-/* Copyright (C) 2003 MySQL AB
-
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
diff --git a/storage/ndb/include/kernel/signaldata/BackupImpl.hpp b/storage/ndb/include/kernel/signaldata/BackupImpl.hpp
index 729fe0f88ea..1a8bef6bbb7 100644
--- a/storage/ndb/include/kernel/signaldata/BackupImpl.hpp
+++ b/storage/ndb/include/kernel/signaldata/BackupImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/BackupSignalData.hpp b/storage/ndb/include/kernel/signaldata/BackupSignalData.hpp
index cc225aee9ee..3148bfb8dc3 100644
--- a/storage/ndb/include/kernel/signaldata/BackupSignalData.hpp
+++ b/storage/ndb/include/kernel/signaldata/BackupSignalData.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/BlockCommitOrd.hpp b/storage/ndb/include/kernel/signaldata/BlockCommitOrd.hpp
index 490055a563e..129ca91ded4 100644
--- a/storage/ndb/include/kernel/signaldata/BlockCommitOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/BlockCommitOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/BuildIndx.hpp b/storage/ndb/include/kernel/signaldata/BuildIndx.hpp
index 4f00aa0010a..a14a8039308 100644
--- a/storage/ndb/include/kernel/signaldata/BuildIndx.hpp
+++ b/storage/ndb/include/kernel/signaldata/BuildIndx.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CheckNodeGroups.hpp b/storage/ndb/include/kernel/signaldata/CheckNodeGroups.hpp
index 3b524a17312..e0ffd335806 100644
--- a/storage/ndb/include/kernel/signaldata/CheckNodeGroups.hpp
+++ b/storage/ndb/include/kernel/signaldata/CheckNodeGroups.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CloseComReqConf.hpp b/storage/ndb/include/kernel/signaldata/CloseComReqConf.hpp
index 09bbcf1f588..b22c71f1082 100644
--- a/storage/ndb/include/kernel/signaldata/CloseComReqConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/CloseComReqConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CmInit.hpp b/storage/ndb/include/kernel/signaldata/CmInit.hpp
index e076b0ed234..102309e9602 100644
--- a/storage/ndb/include/kernel/signaldata/CmInit.hpp
+++ b/storage/ndb/include/kernel/signaldata/CmInit.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CmRegSignalData.hpp b/storage/ndb/include/kernel/signaldata/CmRegSignalData.hpp
index 5035a2a069e..8203d6e5901 100644
--- a/storage/ndb/include/kernel/signaldata/CmRegSignalData.hpp
+++ b/storage/ndb/include/kernel/signaldata/CmRegSignalData.hpp
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CmvmiCfgConf.hpp b/storage/ndb/include/kernel/signaldata/CmvmiCfgConf.hpp
index c30450a02d7..fbe01a7de02 100644
--- a/storage/ndb/include/kernel/signaldata/CmvmiCfgConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/CmvmiCfgConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CntrMasterConf.hpp b/storage/ndb/include/kernel/signaldata/CntrMasterConf.hpp
index 13384e8c3fd..f6043428227 100644
--- a/storage/ndb/include/kernel/signaldata/CntrMasterConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/CntrMasterConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CntrMasterReq.hpp b/storage/ndb/include/kernel/signaldata/CntrMasterReq.hpp
index 6ef6baf4cc7..0df938efe49 100644
--- a/storage/ndb/include/kernel/signaldata/CntrMasterReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/CntrMasterReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ConfigParamId.hpp b/storage/ndb/include/kernel/signaldata/ConfigParamId.hpp
index b4bd4aab262..950913e1e45 100644
--- a/storage/ndb/include/kernel/signaldata/ConfigParamId.hpp
+++ b/storage/ndb/include/kernel/signaldata/ConfigParamId.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ContinueFragmented.hpp b/storage/ndb/include/kernel/signaldata/ContinueFragmented.hpp
index c9f3d572fb5..f9ab34a44e2 100644
--- a/storage/ndb/include/kernel/signaldata/ContinueFragmented.hpp
+++ b/storage/ndb/include/kernel/signaldata/ContinueFragmented.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CopyActive.hpp b/storage/ndb/include/kernel/signaldata/CopyActive.hpp
index a94204854a1..5ded351be75 100644
--- a/storage/ndb/include/kernel/signaldata/CopyActive.hpp
+++ b/storage/ndb/include/kernel/signaldata/CopyActive.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CopyFrag.hpp b/storage/ndb/include/kernel/signaldata/CopyFrag.hpp
index d89e2c0a35f..d4f6f5c6e50 100644
--- a/storage/ndb/include/kernel/signaldata/CopyFrag.hpp
+++ b/storage/ndb/include/kernel/signaldata/CopyFrag.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CopyGCIReq.hpp b/storage/ndb/include/kernel/signaldata/CopyGCIReq.hpp
index d8da1238396..27b51260498 100644
--- a/storage/ndb/include/kernel/signaldata/CopyGCIReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/CopyGCIReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateEvnt.hpp b/storage/ndb/include/kernel/signaldata/CreateEvnt.hpp
index 72aa6e160b9..328c5146c6c 100644
--- a/storage/ndb/include/kernel/signaldata/CreateEvnt.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateEvnt.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp b/storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp
index a67203c7e6c..7ff27d4305f 100644
--- a/storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateFilegroupImpl.hpp b/storage/ndb/include/kernel/signaldata/CreateFilegroupImpl.hpp
index fdf37d55ea7..21600896f5d 100644
--- a/storage/ndb/include/kernel/signaldata/CreateFilegroupImpl.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateFilegroupImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateFrag.hpp b/storage/ndb/include/kernel/signaldata/CreateFrag.hpp
index 73050aa68f4..92f3e14829a 100644
--- a/storage/ndb/include/kernel/signaldata/CreateFrag.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateFrag.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateFragmentation.hpp b/storage/ndb/include/kernel/signaldata/CreateFragmentation.hpp
index cfae4c84d43..7a31a9c4742 100644
--- a/storage/ndb/include/kernel/signaldata/CreateFragmentation.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateFragmentation.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateIndx.hpp b/storage/ndb/include/kernel/signaldata/CreateIndx.hpp
index ec4d5166399..799bce956c7 100644
--- a/storage/ndb/include/kernel/signaldata/CreateIndx.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateIndx.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateObj.hpp b/storage/ndb/include/kernel/signaldata/CreateObj.hpp
index a4e6e2f4bf1..fcab3949e48 100644
--- a/storage/ndb/include/kernel/signaldata/CreateObj.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateObj.hpp
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateTab.hpp b/storage/ndb/include/kernel/signaldata/CreateTab.hpp
index 7e9e3827c5a..ddcdcb9b6a3 100644
--- a/storage/ndb/include/kernel/signaldata/CreateTab.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateTab.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateTable.hpp b/storage/ndb/include/kernel/signaldata/CreateTable.hpp
index 421a2678102..baa49bb8337 100644
--- a/storage/ndb/include/kernel/signaldata/CreateTable.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateTable.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/CreateTrig.hpp b/storage/ndb/include/kernel/signaldata/CreateTrig.hpp
index 9dbceaee326..708d90b9029 100644
--- a/storage/ndb/include/kernel/signaldata/CreateTrig.hpp
+++ b/storage/ndb/include/kernel/signaldata/CreateTrig.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DiAddTab.hpp b/storage/ndb/include/kernel/signaldata/DiAddTab.hpp
index 8f0b2de800a..37989edcf50 100644
--- a/storage/ndb/include/kernel/signaldata/DiAddTab.hpp
+++ b/storage/ndb/include/kernel/signaldata/DiAddTab.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DiGetNodes.hpp b/storage/ndb/include/kernel/signaldata/DiGetNodes.hpp
index ea6046c2979..4b151ed6d3f 100644
--- a/storage/ndb/include/kernel/signaldata/DiGetNodes.hpp
+++ b/storage/ndb/include/kernel/signaldata/DiGetNodes.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DictLock.hpp b/storage/ndb/include/kernel/signaldata/DictLock.hpp
index fc3af298b5e..ad6580b58c6 100644
--- a/storage/ndb/include/kernel/signaldata/DictLock.hpp
+++ b/storage/ndb/include/kernel/signaldata/DictLock.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DictObjOp.hpp b/storage/ndb/include/kernel/signaldata/DictObjOp.hpp
index 395a5f1bf23..b742f52be4f 100644
--- a/storage/ndb/include/kernel/signaldata/DictObjOp.hpp
+++ b/storage/ndb/include/kernel/signaldata/DictObjOp.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DictSchemaInfo.hpp b/storage/ndb/include/kernel/signaldata/DictSchemaInfo.hpp
index b9b9ac079b6..c6ce12e16c1 100644
--- a/storage/ndb/include/kernel/signaldata/DictSchemaInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/DictSchemaInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DictSizeAltReq.hpp b/storage/ndb/include/kernel/signaldata/DictSizeAltReq.hpp
index b6abbd29d2d..8370b5beae6 100644
--- a/storage/ndb/include/kernel/signaldata/DictSizeAltReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/DictSizeAltReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DictStart.hpp b/storage/ndb/include/kernel/signaldata/DictStart.hpp
index 2129fec8365..7ec04cc1912 100644
--- a/storage/ndb/include/kernel/signaldata/DictStart.hpp
+++ b/storage/ndb/include/kernel/signaldata/DictStart.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp b/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp
index bab07c9e39e..80a0da5fb1e 100644
--- a/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DihAddFrag.hpp b/storage/ndb/include/kernel/signaldata/DihAddFrag.hpp
index 195f33b0bb0..6c4289cf666 100644
--- a/storage/ndb/include/kernel/signaldata/DihAddFrag.hpp
+++ b/storage/ndb/include/kernel/signaldata/DihAddFrag.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DihContinueB.hpp b/storage/ndb/include/kernel/signaldata/DihContinueB.hpp
index 458ae9ca155..c5c93d91ff4 100644
--- a/storage/ndb/include/kernel/signaldata/DihContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/DihContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DihSizeAltReq.hpp b/storage/ndb/include/kernel/signaldata/DihSizeAltReq.hpp
index ca5754a0985..84417dfb062 100644
--- a/storage/ndb/include/kernel/signaldata/DihSizeAltReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/DihSizeAltReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DihStartTab.hpp b/storage/ndb/include/kernel/signaldata/DihStartTab.hpp
index b63e4e64b31..cf81a0c1e0c 100644
--- a/storage/ndb/include/kernel/signaldata/DihStartTab.hpp
+++ b/storage/ndb/include/kernel/signaldata/DihStartTab.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DihSwitchReplica.hpp b/storage/ndb/include/kernel/signaldata/DihSwitchReplica.hpp
index 5130aef5373..8018a681f42 100644
--- a/storage/ndb/include/kernel/signaldata/DihSwitchReplica.hpp
+++ b/storage/ndb/include/kernel/signaldata/DihSwitchReplica.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DisconnectRep.hpp b/storage/ndb/include/kernel/signaldata/DisconnectRep.hpp
index 0aee9322ae1..d8103f829a6 100644
--- a/storage/ndb/include/kernel/signaldata/DisconnectRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/DisconnectRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropFilegroup.hpp b/storage/ndb/include/kernel/signaldata/DropFilegroup.hpp
index d94c2edadde..0aaf876b5b5 100644
--- a/storage/ndb/include/kernel/signaldata/DropFilegroup.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropFilegroup.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropFilegroupImpl.hpp b/storage/ndb/include/kernel/signaldata/DropFilegroupImpl.hpp
index 96b53069b7c..3e211fd0f7b 100644
--- a/storage/ndb/include/kernel/signaldata/DropFilegroupImpl.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropFilegroupImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropIndx.hpp b/storage/ndb/include/kernel/signaldata/DropIndx.hpp
index 94cad5e24eb..098641cc635 100644
--- a/storage/ndb/include/kernel/signaldata/DropIndx.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropIndx.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropObj.hpp b/storage/ndb/include/kernel/signaldata/DropObj.hpp
index 0e323d5849d..0f331a6adbe 100644
--- a/storage/ndb/include/kernel/signaldata/DropObj.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropObj.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropTab.hpp b/storage/ndb/include/kernel/signaldata/DropTab.hpp
index 22c21144d03..7497b085a34 100644
--- a/storage/ndb/include/kernel/signaldata/DropTab.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropTab.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropTabFile.hpp b/storage/ndb/include/kernel/signaldata/DropTabFile.hpp
index 82e3695adbb..4c6c4d47270 100644
--- a/storage/ndb/include/kernel/signaldata/DropTabFile.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropTabFile.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropTable.hpp b/storage/ndb/include/kernel/signaldata/DropTable.hpp
index e785db83622..73a1ea7dcd2 100644
--- a/storage/ndb/include/kernel/signaldata/DropTable.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropTable.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DropTrig.hpp b/storage/ndb/include/kernel/signaldata/DropTrig.hpp
index 5638dd780c5..406d1a59596 100644
--- a/storage/ndb/include/kernel/signaldata/DropTrig.hpp
+++ b/storage/ndb/include/kernel/signaldata/DropTrig.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp b/storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp
index b9cc0cd38f9..8cbb2e45202 100644
--- a/storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/EmptyLcp.hpp b/storage/ndb/include/kernel/signaldata/EmptyLcp.hpp
index 73783f185eb..6566ddb2b6f 100644
--- a/storage/ndb/include/kernel/signaldata/EmptyLcp.hpp
+++ b/storage/ndb/include/kernel/signaldata/EmptyLcp.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/EndTo.hpp b/storage/ndb/include/kernel/signaldata/EndTo.hpp
index fb9a91349d8..5905af72915 100644
--- a/storage/ndb/include/kernel/signaldata/EndTo.hpp
+++ b/storage/ndb/include/kernel/signaldata/EndTo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/EventReport.hpp b/storage/ndb/include/kernel/signaldata/EventReport.hpp
index 055e1841d02..669300c5565 100644
--- a/storage/ndb/include/kernel/signaldata/EventReport.hpp
+++ b/storage/ndb/include/kernel/signaldata/EventReport.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/EventSubscribeReq.hpp b/storage/ndb/include/kernel/signaldata/EventSubscribeReq.hpp
index b7e88ebc5bc..344cb8d6f29 100644
--- a/storage/ndb/include/kernel/signaldata/EventSubscribeReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/EventSubscribeReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ExecFragReq.hpp b/storage/ndb/include/kernel/signaldata/ExecFragReq.hpp
index 574623a363d..4b4f98116f1 100644
--- a/storage/ndb/include/kernel/signaldata/ExecFragReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/ExecFragReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/Extent.hpp b/storage/ndb/include/kernel/signaldata/Extent.hpp
index beca363cff5..fd7421fe113 100644
--- a/storage/ndb/include/kernel/signaldata/Extent.hpp
+++ b/storage/ndb/include/kernel/signaldata/Extent.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FailRep.hpp b/storage/ndb/include/kernel/signaldata/FailRep.hpp
index e44e9954c1f..4df6977a718 100644
--- a/storage/ndb/include/kernel/signaldata/FailRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/FailRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FireTrigOrd.hpp b/storage/ndb/include/kernel/signaldata/FireTrigOrd.hpp
index 6d13112a751..453b1a90a18 100644
--- a/storage/ndb/include/kernel/signaldata/FireTrigOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/FireTrigOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FsAppendReq.hpp b/storage/ndb/include/kernel/signaldata/FsAppendReq.hpp
index 08c79df363c..384035cca68 100644
--- a/storage/ndb/include/kernel/signaldata/FsAppendReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/FsAppendReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FsCloseReq.hpp b/storage/ndb/include/kernel/signaldata/FsCloseReq.hpp
index afc4e590161..5e69cec3101 100644
--- a/storage/ndb/include/kernel/signaldata/FsCloseReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/FsCloseReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FsConf.hpp b/storage/ndb/include/kernel/signaldata/FsConf.hpp
index c986c1ca623..0000c786965 100644
--- a/storage/ndb/include/kernel/signaldata/FsConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/FsConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FsOpenReq.hpp b/storage/ndb/include/kernel/signaldata/FsOpenReq.hpp
index 578cb3e98c6..b9ef8826766 100644
--- a/storage/ndb/include/kernel/signaldata/FsOpenReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/FsOpenReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FsReadWriteReq.hpp b/storage/ndb/include/kernel/signaldata/FsReadWriteReq.hpp
index c75ab4523a8..a7a2a419392 100644
--- a/storage/ndb/include/kernel/signaldata/FsReadWriteReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/FsReadWriteReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FsRef.hpp b/storage/ndb/include/kernel/signaldata/FsRef.hpp
index 2566639a809..90d2bbdb253 100644
--- a/storage/ndb/include/kernel/signaldata/FsRef.hpp
+++ b/storage/ndb/include/kernel/signaldata/FsRef.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/FsRemoveReq.hpp b/storage/ndb/include/kernel/signaldata/FsRemoveReq.hpp
index e0a1031a2ee..900bbb631a6 100644
--- a/storage/ndb/include/kernel/signaldata/FsRemoveReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/FsRemoveReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/GCPSave.hpp b/storage/ndb/include/kernel/signaldata/GCPSave.hpp
index 451fd224bc4..2851c3cd548 100644
--- a/storage/ndb/include/kernel/signaldata/GCPSave.hpp
+++ b/storage/ndb/include/kernel/signaldata/GCPSave.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/GetTabInfo.hpp b/storage/ndb/include/kernel/signaldata/GetTabInfo.hpp
index 569082210d2..a8906678bed 100644
--- a/storage/ndb/include/kernel/signaldata/GetTabInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/GetTabInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/GetTableId.hpp b/storage/ndb/include/kernel/signaldata/GetTableId.hpp
index 3e125e67a0b..a4d026efa31 100644
--- a/storage/ndb/include/kernel/signaldata/GetTableId.hpp
+++ b/storage/ndb/include/kernel/signaldata/GetTableId.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/GrepImpl.hpp b/storage/ndb/include/kernel/signaldata/GrepImpl.hpp
index 8258ee38e7e..d98c61d2b11 100644
--- a/storage/ndb/include/kernel/signaldata/GrepImpl.hpp
+++ b/storage/ndb/include/kernel/signaldata/GrepImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/HotSpareRep.hpp b/storage/ndb/include/kernel/signaldata/HotSpareRep.hpp
index 61f3a1c3e4e..ab97ee668c8 100644
--- a/storage/ndb/include/kernel/signaldata/HotSpareRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/HotSpareRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/IndxAttrInfo.hpp b/storage/ndb/include/kernel/signaldata/IndxAttrInfo.hpp
index fd63bcc35bb..f02899f03b5 100755
--- a/storage/ndb/include/kernel/signaldata/IndxAttrInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/IndxAttrInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/IndxKeyInfo.hpp b/storage/ndb/include/kernel/signaldata/IndxKeyInfo.hpp
index 26acdd958f6..df75ea0617d 100755
--- a/storage/ndb/include/kernel/signaldata/IndxKeyInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/IndxKeyInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPConf.hpp b/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPConf.hpp
index c1ad89c29c9..9bee7d7b767 100644
--- a/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPReq.hpp b/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPReq.hpp
index 3438f0ff2cc..f49790c4d3e 100644
--- a/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/InvalidateNodeLCPReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/KeyInfo.hpp b/storage/ndb/include/kernel/signaldata/KeyInfo.hpp
index 180fb869674..0514fb1d3e8 100644
--- a/storage/ndb/include/kernel/signaldata/KeyInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/KeyInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/LCP.hpp b/storage/ndb/include/kernel/signaldata/LCP.hpp
index b493082885d..78f00abd437 100644
--- a/storage/ndb/include/kernel/signaldata/LCP.hpp
+++ b/storage/ndb/include/kernel/signaldata/LCP.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/LgmanContinueB.hpp b/storage/ndb/include/kernel/signaldata/LgmanContinueB.hpp
index e6df89a9952..eabe06a4efd 100644
--- a/storage/ndb/include/kernel/signaldata/LgmanContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/LgmanContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ListTables.hpp b/storage/ndb/include/kernel/signaldata/ListTables.hpp
index 8cc3905515b..17b62706be7 100644
--- a/storage/ndb/include/kernel/signaldata/ListTables.hpp
+++ b/storage/ndb/include/kernel/signaldata/ListTables.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/LqhFrag.hpp b/storage/ndb/include/kernel/signaldata/LqhFrag.hpp
index 90587c372f5..bdcae2643ee 100644
--- a/storage/ndb/include/kernel/signaldata/LqhFrag.hpp
+++ b/storage/ndb/include/kernel/signaldata/LqhFrag.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/LqhKey.hpp b/storage/ndb/include/kernel/signaldata/LqhKey.hpp
index 04cfd1156e1..1dc4d32b630 100644
--- a/storage/ndb/include/kernel/signaldata/LqhKey.hpp
+++ b/storage/ndb/include/kernel/signaldata/LqhKey.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/LqhSizeAltReq.hpp b/storage/ndb/include/kernel/signaldata/LqhSizeAltReq.hpp
index 833b3e8533a..8f10af2f8d2 100644
--- a/storage/ndb/include/kernel/signaldata/LqhSizeAltReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/LqhSizeAltReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/LqhTransConf.hpp b/storage/ndb/include/kernel/signaldata/LqhTransConf.hpp
index c571cddbda8..a0d66fc80d2 100644
--- a/storage/ndb/include/kernel/signaldata/LqhTransConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/LqhTransConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ManagementServer.hpp b/storage/ndb/include/kernel/signaldata/ManagementServer.hpp
index bb62110c609..dc3b2e20c26 100644
--- a/storage/ndb/include/kernel/signaldata/ManagementServer.hpp
+++ b/storage/ndb/include/kernel/signaldata/ManagementServer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/MasterGCP.hpp b/storage/ndb/include/kernel/signaldata/MasterGCP.hpp
index b1fb65a733b..24cb8a18211 100644
--- a/storage/ndb/include/kernel/signaldata/MasterGCP.hpp
+++ b/storage/ndb/include/kernel/signaldata/MasterGCP.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/MasterLCP.hpp b/storage/ndb/include/kernel/signaldata/MasterLCP.hpp
index b90baee32e8..16638ee0216 100644
--- a/storage/ndb/include/kernel/signaldata/MasterLCP.hpp
+++ b/storage/ndb/include/kernel/signaldata/MasterLCP.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/NFCompleteRep.hpp b/storage/ndb/include/kernel/signaldata/NFCompleteRep.hpp
index e3dfa1c0337..4a81dc40120 100644
--- a/storage/ndb/include/kernel/signaldata/NFCompleteRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/NFCompleteRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/NdbSttor.hpp b/storage/ndb/include/kernel/signaldata/NdbSttor.hpp
index f571d91072b..f9d31963496 100644
--- a/storage/ndb/include/kernel/signaldata/NdbSttor.hpp
+++ b/storage/ndb/include/kernel/signaldata/NdbSttor.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/NdbfsContinueB.hpp b/storage/ndb/include/kernel/signaldata/NdbfsContinueB.hpp
index fd82e769d3a..6e3f9a1e1d4 100644
--- a/storage/ndb/include/kernel/signaldata/NdbfsContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/NdbfsContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/NextScan.hpp b/storage/ndb/include/kernel/signaldata/NextScan.hpp
index 7797e097f74..77dddd6f5da 100644
--- a/storage/ndb/include/kernel/signaldata/NextScan.hpp
+++ b/storage/ndb/include/kernel/signaldata/NextScan.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/NodeFailRep.hpp b/storage/ndb/include/kernel/signaldata/NodeFailRep.hpp
index 3dc74386911..418233cae97 100644
--- a/storage/ndb/include/kernel/signaldata/NodeFailRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/NodeFailRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/NodeStateSignalData.hpp b/storage/ndb/include/kernel/signaldata/NodeStateSignalData.hpp
index 5f54e632103..33eafec9249 100644
--- a/storage/ndb/include/kernel/signaldata/NodeStateSignalData.hpp
+++ b/storage/ndb/include/kernel/signaldata/NodeStateSignalData.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/PackedSignal.hpp b/storage/ndb/include/kernel/signaldata/PackedSignal.hpp
index 0b80fba62ba..e7118518939 100644
--- a/storage/ndb/include/kernel/signaldata/PackedSignal.hpp
+++ b/storage/ndb/include/kernel/signaldata/PackedSignal.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/PgmanContinueB.hpp b/storage/ndb/include/kernel/signaldata/PgmanContinueB.hpp
index 8d345bcc57a..78f808651f8 100644
--- a/storage/ndb/include/kernel/signaldata/PgmanContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/PgmanContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/PrepDropTab.hpp b/storage/ndb/include/kernel/signaldata/PrepDropTab.hpp
index 6598e0d85f0..13c0e2fb654 100644
--- a/storage/ndb/include/kernel/signaldata/PrepDropTab.hpp
+++ b/storage/ndb/include/kernel/signaldata/PrepDropTab.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/PrepFailReqRef.hpp b/storage/ndb/include/kernel/signaldata/PrepFailReqRef.hpp
index 63965beb6b2..22bfa8de8b8 100644
--- a/storage/ndb/include/kernel/signaldata/PrepFailReqRef.hpp
+++ b/storage/ndb/include/kernel/signaldata/PrepFailReqRef.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ReadNodesConf.hpp b/storage/ndb/include/kernel/signaldata/ReadNodesConf.hpp
index 1b96a27721e..88622440c9f 100644
--- a/storage/ndb/include/kernel/signaldata/ReadNodesConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/ReadNodesConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/RelTabMem.hpp b/storage/ndb/include/kernel/signaldata/RelTabMem.hpp
index e3d2f2a249d..f9b9f233202 100644
--- a/storage/ndb/include/kernel/signaldata/RelTabMem.hpp
+++ b/storage/ndb/include/kernel/signaldata/RelTabMem.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/RepImpl.hpp b/storage/ndb/include/kernel/signaldata/RepImpl.hpp
index 09575ab0930..510fed8e3ac 100644
--- a/storage/ndb/include/kernel/signaldata/RepImpl.hpp
+++ b/storage/ndb/include/kernel/signaldata/RepImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/RestoreContinueB.hpp b/storage/ndb/include/kernel/signaldata/RestoreContinueB.hpp
index 99dffe4ceed..0d9035ee5fa 100644
--- a/storage/ndb/include/kernel/signaldata/RestoreContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/RestoreContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/RestoreImpl.hpp b/storage/ndb/include/kernel/signaldata/RestoreImpl.hpp
index 6ef7c1c6682..83cd898b182 100644
--- a/storage/ndb/include/kernel/signaldata/RestoreImpl.hpp
+++ b/storage/ndb/include/kernel/signaldata/RestoreImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ResumeReq.hpp b/storage/ndb/include/kernel/signaldata/ResumeReq.hpp
index 96a7978c5ef..692c4626dd5 100644
--- a/storage/ndb/include/kernel/signaldata/ResumeReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/ResumeReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/RouteOrd.hpp b/storage/ndb/include/kernel/signaldata/RouteOrd.hpp
index a406f005c3b..a4ca4bebd56 100644
--- a/storage/ndb/include/kernel/signaldata/RouteOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/RouteOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ScanFrag.hpp b/storage/ndb/include/kernel/signaldata/ScanFrag.hpp
index ee82de19c0f..244828751d8 100644
--- a/storage/ndb/include/kernel/signaldata/ScanFrag.hpp
+++ b/storage/ndb/include/kernel/signaldata/ScanFrag.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/ScanTab.hpp b/storage/ndb/include/kernel/signaldata/ScanTab.hpp
index 3fd9e8aa6f8..d14be6198ff 100644
--- a/storage/ndb/include/kernel/signaldata/ScanTab.hpp
+++ b/storage/ndb/include/kernel/signaldata/ScanTab.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SetLogLevelOrd.hpp b/storage/ndb/include/kernel/signaldata/SetLogLevelOrd.hpp
index 897cf70e108..2af2e12cb2b 100644
--- a/storage/ndb/include/kernel/signaldata/SetLogLevelOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/SetLogLevelOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SetVarReq.hpp b/storage/ndb/include/kernel/signaldata/SetVarReq.hpp
index fa732d5d4f8..a583d65028e 100644
--- a/storage/ndb/include/kernel/signaldata/SetVarReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/SetVarReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SignalData.hpp b/storage/ndb/include/kernel/signaldata/SignalData.hpp
index 334d50d2b27..c5933d76a85 100644
--- a/storage/ndb/include/kernel/signaldata/SignalData.hpp
+++ b/storage/ndb/include/kernel/signaldata/SignalData.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SignalDataPrint.hpp b/storage/ndb/include/kernel/signaldata/SignalDataPrint.hpp
index 16bd78bc028..1a904464004 100644
--- a/storage/ndb/include/kernel/signaldata/SignalDataPrint.hpp
+++ b/storage/ndb/include/kernel/signaldata/SignalDataPrint.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SignalDroppedRep.hpp b/storage/ndb/include/kernel/signaldata/SignalDroppedRep.hpp
index 79bee91d3ca..424eaa9ab08 100644
--- a/storage/ndb/include/kernel/signaldata/SignalDroppedRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/SignalDroppedRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SrFragidConf.hpp b/storage/ndb/include/kernel/signaldata/SrFragidConf.hpp
index 964163d62f9..8d7c71c5721 100644
--- a/storage/ndb/include/kernel/signaldata/SrFragidConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/SrFragidConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StartFragReq.hpp b/storage/ndb/include/kernel/signaldata/StartFragReq.hpp
index d8bc70c8169..5d7d7c8b81d 100644
--- a/storage/ndb/include/kernel/signaldata/StartFragReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/StartFragReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StartInfo.hpp b/storage/ndb/include/kernel/signaldata/StartInfo.hpp
index 39ad3eaf4be..d631cd41311 100644
--- a/storage/ndb/include/kernel/signaldata/StartInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/StartInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StartMe.hpp b/storage/ndb/include/kernel/signaldata/StartMe.hpp
index 6f69e3f0927..57bdf604139 100644
--- a/storage/ndb/include/kernel/signaldata/StartMe.hpp
+++ b/storage/ndb/include/kernel/signaldata/StartMe.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StartOrd.hpp b/storage/ndb/include/kernel/signaldata/StartOrd.hpp
index 2c1e8841785..aaac9e8f389 100644
--- a/storage/ndb/include/kernel/signaldata/StartOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/StartOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StartPerm.hpp b/storage/ndb/include/kernel/signaldata/StartPerm.hpp
index 4381110e46b..19c1f6307c4 100644
--- a/storage/ndb/include/kernel/signaldata/StartPerm.hpp
+++ b/storage/ndb/include/kernel/signaldata/StartPerm.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StartRec.hpp b/storage/ndb/include/kernel/signaldata/StartRec.hpp
index 2a8328e3929..07321d0b3b0 100644
--- a/storage/ndb/include/kernel/signaldata/StartRec.hpp
+++ b/storage/ndb/include/kernel/signaldata/StartRec.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StartTo.hpp b/storage/ndb/include/kernel/signaldata/StartTo.hpp
index f564c15da14..79a5f4f9b9f 100644
--- a/storage/ndb/include/kernel/signaldata/StartTo.hpp
+++ b/storage/ndb/include/kernel/signaldata/StartTo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StopMe.hpp b/storage/ndb/include/kernel/signaldata/StopMe.hpp
index 3a127433583..a2d998a7c22 100644
--- a/storage/ndb/include/kernel/signaldata/StopMe.hpp
+++ b/storage/ndb/include/kernel/signaldata/StopMe.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StopPerm.hpp b/storage/ndb/include/kernel/signaldata/StopPerm.hpp
index 5b12433663b..3e0d502e500 100644
--- a/storage/ndb/include/kernel/signaldata/StopPerm.hpp
+++ b/storage/ndb/include/kernel/signaldata/StopPerm.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/StopReq.hpp b/storage/ndb/include/kernel/signaldata/StopReq.hpp
index b2c5e9a7341..88d23580465 100644
--- a/storage/ndb/include/kernel/signaldata/StopReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/StopReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SumaImpl.hpp b/storage/ndb/include/kernel/signaldata/SumaImpl.hpp
index 507acb6f78f..f9d2ecf3437 100644
--- a/storage/ndb/include/kernel/signaldata/SumaImpl.hpp
+++ b/storage/ndb/include/kernel/signaldata/SumaImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/SystemError.hpp b/storage/ndb/include/kernel/signaldata/SystemError.hpp
index 063899615ce..51d88167808 100644
--- a/storage/ndb/include/kernel/signaldata/SystemError.hpp
+++ b/storage/ndb/include/kernel/signaldata/SystemError.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TamperOrd.hpp b/storage/ndb/include/kernel/signaldata/TamperOrd.hpp
index 2a45dfdff78..3241673f3ed 100644
--- a/storage/ndb/include/kernel/signaldata/TamperOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/TamperOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcCommit.hpp b/storage/ndb/include/kernel/signaldata/TcCommit.hpp
index 7a435ed2f35..995b3781868 100644
--- a/storage/ndb/include/kernel/signaldata/TcCommit.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcCommit.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcContinueB.hpp b/storage/ndb/include/kernel/signaldata/TcContinueB.hpp
index aee70f2ce1e..32e41258212 100644
--- a/storage/ndb/include/kernel/signaldata/TcContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcHbRep.hpp b/storage/ndb/include/kernel/signaldata/TcHbRep.hpp
index 5a6bb62480a..df42e40cc72 100644
--- a/storage/ndb/include/kernel/signaldata/TcHbRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcHbRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcIndx.hpp b/storage/ndb/include/kernel/signaldata/TcIndx.hpp
index 5833dea6f9d..a16702e4c97 100644
--- a/storage/ndb/include/kernel/signaldata/TcIndx.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcIndx.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcKeyConf.hpp b/storage/ndb/include/kernel/signaldata/TcKeyConf.hpp
index 1dfd4997c6b..4fffdc56bd6 100644
--- a/storage/ndb/include/kernel/signaldata/TcKeyConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcKeyConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcKeyFailConf.hpp b/storage/ndb/include/kernel/signaldata/TcKeyFailConf.hpp
index 14bb231f171..764236bd86b 100644
--- a/storage/ndb/include/kernel/signaldata/TcKeyFailConf.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcKeyFailConf.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcKeyRef.hpp b/storage/ndb/include/kernel/signaldata/TcKeyRef.hpp
index d073642b00f..a4de1d36216 100644
--- a/storage/ndb/include/kernel/signaldata/TcKeyRef.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcKeyRef.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcKeyReq.hpp b/storage/ndb/include/kernel/signaldata/TcKeyReq.hpp
index 6330c3a440f..b0ae2a96bd7 100644
--- a/storage/ndb/include/kernel/signaldata/TcKeyReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcKeyReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcRollbackRep.hpp b/storage/ndb/include/kernel/signaldata/TcRollbackRep.hpp
index 7f22f44d039..508a60ae9fc 100644
--- a/storage/ndb/include/kernel/signaldata/TcRollbackRep.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcRollbackRep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TcSizeAltReq.hpp b/storage/ndb/include/kernel/signaldata/TcSizeAltReq.hpp
index 34644d1378a..fbb6c36c0ac 100644
--- a/storage/ndb/include/kernel/signaldata/TcSizeAltReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/TcSizeAltReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TestOrd.hpp b/storage/ndb/include/kernel/signaldata/TestOrd.hpp
index 7db722d9a2e..a8282098d7d 100644
--- a/storage/ndb/include/kernel/signaldata/TestOrd.hpp
+++ b/storage/ndb/include/kernel/signaldata/TestOrd.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TransIdAI.hpp b/storage/ndb/include/kernel/signaldata/TransIdAI.hpp
index 6192168e60b..e761a8c1817 100755
--- a/storage/ndb/include/kernel/signaldata/TransIdAI.hpp
+++ b/storage/ndb/include/kernel/signaldata/TransIdAI.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TrigAttrInfo.hpp b/storage/ndb/include/kernel/signaldata/TrigAttrInfo.hpp
index 5cfacf066cd..94fe90843d2 100644
--- a/storage/ndb/include/kernel/signaldata/TrigAttrInfo.hpp
+++ b/storage/ndb/include/kernel/signaldata/TrigAttrInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TsmanContinueB.hpp b/storage/ndb/include/kernel/signaldata/TsmanContinueB.hpp
index 51a7316a7da..87401301666 100644
--- a/storage/ndb/include/kernel/signaldata/TsmanContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/TsmanContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TupCommit.hpp b/storage/ndb/include/kernel/signaldata/TupCommit.hpp
index 83c4ddfe90b..bd0702b768c 100644
--- a/storage/ndb/include/kernel/signaldata/TupCommit.hpp
+++ b/storage/ndb/include/kernel/signaldata/TupCommit.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TupFrag.hpp b/storage/ndb/include/kernel/signaldata/TupFrag.hpp
index 9ac0af280f0..b92a6c7ff62 100644
--- a/storage/ndb/include/kernel/signaldata/TupFrag.hpp
+++ b/storage/ndb/include/kernel/signaldata/TupFrag.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TupKey.hpp b/storage/ndb/include/kernel/signaldata/TupKey.hpp
index 597f10908c3..f1d82e8a444 100644
--- a/storage/ndb/include/kernel/signaldata/TupKey.hpp
+++ b/storage/ndb/include/kernel/signaldata/TupKey.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TupSizeAltReq.hpp b/storage/ndb/include/kernel/signaldata/TupSizeAltReq.hpp
index d2ae9d913ad..8a10d0e3f1a 100644
--- a/storage/ndb/include/kernel/signaldata/TupSizeAltReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/TupSizeAltReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TuxBound.hpp b/storage/ndb/include/kernel/signaldata/TuxBound.hpp
index 4586f793b68..d2ed97a124f 100644
--- a/storage/ndb/include/kernel/signaldata/TuxBound.hpp
+++ b/storage/ndb/include/kernel/signaldata/TuxBound.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TuxContinueB.hpp b/storage/ndb/include/kernel/signaldata/TuxContinueB.hpp
index 507feac6009..6b1e364b6c3 100644
--- a/storage/ndb/include/kernel/signaldata/TuxContinueB.hpp
+++ b/storage/ndb/include/kernel/signaldata/TuxContinueB.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TuxMaint.hpp b/storage/ndb/include/kernel/signaldata/TuxMaint.hpp
index 9fe56520658..422a393cb19 100644
--- a/storage/ndb/include/kernel/signaldata/TuxMaint.hpp
+++ b/storage/ndb/include/kernel/signaldata/TuxMaint.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/TuxSizeAltReq.hpp b/storage/ndb/include/kernel/signaldata/TuxSizeAltReq.hpp
index bcb4cc71085..6b8daca2255 100644
--- a/storage/ndb/include/kernel/signaldata/TuxSizeAltReq.hpp
+++ b/storage/ndb/include/kernel/signaldata/TuxSizeAltReq.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/UpdateTo.hpp b/storage/ndb/include/kernel/signaldata/UpdateTo.hpp
index ab7c89cc275..f8c3a6d3b33 100644
--- a/storage/ndb/include/kernel/signaldata/UpdateTo.hpp
+++ b/storage/ndb/include/kernel/signaldata/UpdateTo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/UtilDelete.hpp b/storage/ndb/include/kernel/signaldata/UtilDelete.hpp
index e3f9217e420..6c48435dfde 100644
--- a/storage/ndb/include/kernel/signaldata/UtilDelete.hpp
+++ b/storage/ndb/include/kernel/signaldata/UtilDelete.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/UtilExecute.hpp b/storage/ndb/include/kernel/signaldata/UtilExecute.hpp
index ac4be9b3424..7a74f7c8467 100644
--- a/storage/ndb/include/kernel/signaldata/UtilExecute.hpp
+++ b/storage/ndb/include/kernel/signaldata/UtilExecute.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/UtilLock.hpp b/storage/ndb/include/kernel/signaldata/UtilLock.hpp
index 8cfc92b0570..153073e453e 100644
--- a/storage/ndb/include/kernel/signaldata/UtilLock.hpp
+++ b/storage/ndb/include/kernel/signaldata/UtilLock.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/UtilPrepare.hpp b/storage/ndb/include/kernel/signaldata/UtilPrepare.hpp
index 72a7fcb4cd5..fd73bf1e448 100644
--- a/storage/ndb/include/kernel/signaldata/UtilPrepare.hpp
+++ b/storage/ndb/include/kernel/signaldata/UtilPrepare.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/UtilRelease.hpp b/storage/ndb/include/kernel/signaldata/UtilRelease.hpp
index 3e396b9957b..c4d25de78f2 100644
--- a/storage/ndb/include/kernel/signaldata/UtilRelease.hpp
+++ b/storage/ndb/include/kernel/signaldata/UtilRelease.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/UtilSequence.hpp b/storage/ndb/include/kernel/signaldata/UtilSequence.hpp
index d99c5c18e63..370e982c5f5 100644
--- a/storage/ndb/include/kernel/signaldata/UtilSequence.hpp
+++ b/storage/ndb/include/kernel/signaldata/UtilSequence.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/signaldata/WaitGCP.hpp b/storage/ndb/include/kernel/signaldata/WaitGCP.hpp
index e738ecf3868..b86a4b14503 100644
--- a/storage/ndb/include/kernel/signaldata/WaitGCP.hpp
+++ b/storage/ndb/include/kernel/signaldata/WaitGCP.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/kernel/trigger_definitions.h b/storage/ndb/include/kernel/trigger_definitions.h
index 078f97fdd54..7c6c7ef681f 100644
--- a/storage/ndb/include/kernel/trigger_definitions.h
+++ b/storage/ndb/include/kernel/trigger_definitions.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/logger/ConsoleLogHandler.hpp b/storage/ndb/include/logger/ConsoleLogHandler.hpp
index 5502dd601cc..aa6e3c618c6 100644
--- a/storage/ndb/include/logger/ConsoleLogHandler.hpp
+++ b/storage/ndb/include/logger/ConsoleLogHandler.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/logger/FileLogHandler.hpp b/storage/ndb/include/logger/FileLogHandler.hpp
index e2345bc1c6a..c2121aa4cab 100644
--- a/storage/ndb/include/logger/FileLogHandler.hpp
+++ b/storage/ndb/include/logger/FileLogHandler.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/logger/LogHandler.hpp b/storage/ndb/include/logger/LogHandler.hpp
index 5987b6918bb..7b38d6b9044 100644
--- a/storage/ndb/include/logger/LogHandler.hpp
+++ b/storage/ndb/include/logger/LogHandler.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/logger/Logger.hpp b/storage/ndb/include/logger/Logger.hpp
index f6153884a0d..caa2ae5a20f 100644
--- a/storage/ndb/include/logger/Logger.hpp
+++ b/storage/ndb/include/logger/Logger.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/logger/SysLogHandler.hpp b/storage/ndb/include/logger/SysLogHandler.hpp
index 565f85339b9..163b9189275 100644
--- a/storage/ndb/include/logger/SysLogHandler.hpp
+++ b/storage/ndb/include/logger/SysLogHandler.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmapi/mgmapi.h b/storage/ndb/include/mgmapi/mgmapi.h
index 43c81968ea3..09a7576577f 100644
--- a/storage/ndb/include/mgmapi/mgmapi.h
+++ b/storage/ndb/include/mgmapi/mgmapi.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmapi/mgmapi_debug.h b/storage/ndb/include/mgmapi/mgmapi_debug.h
index 09b89d1b0bd..47d2db78c52 100644
--- a/storage/ndb/include/mgmapi/mgmapi_debug.h
+++ b/storage/ndb/include/mgmapi/mgmapi_debug.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmapi/mgmapi_error.h b/storage/ndb/include/mgmapi/mgmapi_error.h
index 927902c68f3..aafdc7d5b81 100644
--- a/storage/ndb/include/mgmapi/mgmapi_error.h
+++ b/storage/ndb/include/mgmapi/mgmapi_error.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmapi/ndb_logevent.h b/storage/ndb/include/mgmapi/ndb_logevent.h
index 080c190a402..b1c959f1113 100644
--- a/storage/ndb/include/mgmapi/ndb_logevent.h
+++ b/storage/ndb/include/mgmapi/ndb_logevent.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmapi/ndbd_exit_codes.h b/storage/ndb/include/mgmapi/ndbd_exit_codes.h
index f10e7bffcb4..131350ca9b5 100644
--- a/storage/ndb/include/mgmapi/ndbd_exit_codes.h
+++ b/storage/ndb/include/mgmapi/ndbd_exit_codes.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmcommon/ConfigRetriever.hpp b/storage/ndb/include/mgmcommon/ConfigRetriever.hpp
index b3de4a5cf10..3c94c8ad3f3 100644
--- a/storage/ndb/include/mgmcommon/ConfigRetriever.hpp
+++ b/storage/ndb/include/mgmcommon/ConfigRetriever.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmcommon/IPCConfig.hpp b/storage/ndb/include/mgmcommon/IPCConfig.hpp
index 967576993b4..ddc22437e86 100644
--- a/storage/ndb/include/mgmcommon/IPCConfig.hpp
+++ b/storage/ndb/include/mgmcommon/IPCConfig.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/mgmcommon/MgmtErrorReporter.hpp b/storage/ndb/include/mgmcommon/MgmtErrorReporter.hpp
index dd9ad04a605..3b04c34414f 100644
--- a/storage/ndb/include/mgmcommon/MgmtErrorReporter.hpp
+++ b/storage/ndb/include/mgmcommon/MgmtErrorReporter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndb_constants.h b/storage/ndb/include/ndb_constants.h
index 2ee9ced8412..ff603f55f02 100644
--- a/storage/ndb/include/ndb_constants.h
+++ b/storage/ndb/include/ndb_constants.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndb_global.h.in b/storage/ndb/include/ndb_global.h.in
index cf0dd2d2bee..c6b0c08aba9 100644
--- a/storage/ndb/include/ndb_global.h.in
+++ b/storage/ndb/include/ndb_global.h.in
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndb_init.h b/storage/ndb/include/ndb_init.h
index 65b2e0b981c..db6e5132c23 100644
--- a/storage/ndb/include/ndb_init.h
+++ b/storage/ndb/include/ndb_init.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndb_types.h.in b/storage/ndb/include/ndb_types.h.in
index d67465316f7..3348cbeccf7 100644
--- a/storage/ndb/include/ndb_types.h.in
+++ b/storage/ndb/include/ndb_types.h.in
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndb_version.h.in b/storage/ndb/include/ndb_version.h.in
index fad81aba1d5..8ee0d47eb3d 100644
--- a/storage/ndb/include/ndb_version.h.in
+++ b/storage/ndb/include/ndb_version.h.in
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/Ndb.hpp b/storage/ndb/include/ndbapi/Ndb.hpp
index 633e04916a0..6f6f994010c 100644
--- a/storage/ndb/include/ndbapi/Ndb.hpp
+++ b/storage/ndb/include/ndbapi/Ndb.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbApi.hpp b/storage/ndb/include/ndbapi/NdbApi.hpp
index 30b7ced2132..af734d0fa8b 100644
--- a/storage/ndb/include/ndbapi/NdbApi.hpp
+++ b/storage/ndb/include/ndbapi/NdbApi.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbBlob.hpp b/storage/ndb/include/ndbapi/NdbBlob.hpp
index bab252ffe51..923fc82451d 100644
--- a/storage/ndb/include/ndbapi/NdbBlob.hpp
+++ b/storage/ndb/include/ndbapi/NdbBlob.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbDictionary.hpp b/storage/ndb/include/ndbapi/NdbDictionary.hpp
index ab907aa8a5e..55d024d7c58 100644
--- a/storage/ndb/include/ndbapi/NdbDictionary.hpp
+++ b/storage/ndb/include/ndbapi/NdbDictionary.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbError.hpp b/storage/ndb/include/ndbapi/NdbError.hpp
index 3fba7cf6ec0..275d42364b8 100644
--- a/storage/ndb/include/ndbapi/NdbError.hpp
+++ b/storage/ndb/include/ndbapi/NdbError.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbEventOperation.hpp b/storage/ndb/include/ndbapi/NdbEventOperation.hpp
index 4f079171bad..c1bf12f859d 100644
--- a/storage/ndb/include/ndbapi/NdbEventOperation.hpp
+++ b/storage/ndb/include/ndbapi/NdbEventOperation.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB, 2010 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbIndexOperation.hpp b/storage/ndb/include/ndbapi/NdbIndexOperation.hpp
index d7b72aeaa19..ab8afc3e19c 100644
--- a/storage/ndb/include/ndbapi/NdbIndexOperation.hpp
+++ b/storage/ndb/include/ndbapi/NdbIndexOperation.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp b/storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp
index a1d68be0b58..8a2388b5ea0 100644
--- a/storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp
+++ b/storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbIndexStat.hpp b/storage/ndb/include/ndbapi/NdbIndexStat.hpp
index cf457716dd9..3d191fc1ad8 100644
--- a/storage/ndb/include/ndbapi/NdbIndexStat.hpp
+++ b/storage/ndb/include/ndbapi/NdbIndexStat.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbOperation.hpp b/storage/ndb/include/ndbapi/NdbOperation.hpp
index 630ce2d12d4..a3f7723d8c3 100644
--- a/storage/ndb/include/ndbapi/NdbOperation.hpp
+++ b/storage/ndb/include/ndbapi/NdbOperation.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB, 2010 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbPool.hpp b/storage/ndb/include/ndbapi/NdbPool.hpp
index eba6d9a803c..44085fd0fc7 100644
--- a/storage/ndb/include/ndbapi/NdbPool.hpp
+++ b/storage/ndb/include/ndbapi/NdbPool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbRecAttr.hpp b/storage/ndb/include/ndbapi/NdbRecAttr.hpp
index 2d353c64471..aa70afb7ea3 100644
--- a/storage/ndb/include/ndbapi/NdbRecAttr.hpp
+++ b/storage/ndb/include/ndbapi/NdbRecAttr.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbReceiver.hpp b/storage/ndb/include/ndbapi/NdbReceiver.hpp
index 69888c63053..42dc85990fe 100644
--- a/storage/ndb/include/ndbapi/NdbReceiver.hpp
+++ b/storage/ndb/include/ndbapi/NdbReceiver.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbScanFilter.hpp b/storage/ndb/include/ndbapi/NdbScanFilter.hpp
index ec50710f735..cc509ae49ff 100644
--- a/storage/ndb/include/ndbapi/NdbScanFilter.hpp
+++ b/storage/ndb/include/ndbapi/NdbScanFilter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbScanOperation.hpp b/storage/ndb/include/ndbapi/NdbScanOperation.hpp
index 23600ac32fd..ca25064b572 100644
--- a/storage/ndb/include/ndbapi/NdbScanOperation.hpp
+++ b/storage/ndb/include/ndbapi/NdbScanOperation.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/NdbTransaction.hpp b/storage/ndb/include/ndbapi/NdbTransaction.hpp
index c1c91f9276c..6d84c3f6997 100644
--- a/storage/ndb/include/ndbapi/NdbTransaction.hpp
+++ b/storage/ndb/include/ndbapi/NdbTransaction.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/ndb_cluster_connection.hpp b/storage/ndb/include/ndbapi/ndb_cluster_connection.hpp
index b55fcb2bc48..726e3308eb7 100644
--- a/storage/ndb/include/ndbapi/ndb_cluster_connection.hpp
+++ b/storage/ndb/include/ndbapi/ndb_cluster_connection.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/ndb_opt_defaults.h b/storage/ndb/include/ndbapi/ndb_opt_defaults.h
index 621bcadac8a..6e90889b0aa 100644
--- a/storage/ndb/include/ndbapi/ndb_opt_defaults.h
+++ b/storage/ndb/include/ndbapi/ndb_opt_defaults.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/ndbapi_limits.h b/storage/ndb/include/ndbapi/ndbapi_limits.h
index fa0a8b89b36..9471ce8ed45 100644
--- a/storage/ndb/include/ndbapi/ndbapi_limits.h
+++ b/storage/ndb/include/ndbapi/ndbapi_limits.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/ndbapi/ndberror.h b/storage/ndb/include/ndbapi/ndberror.h
index dfe307a5f5e..7dc8ae7217c 100644
--- a/storage/ndb/include/ndbapi/ndberror.h
+++ b/storage/ndb/include/ndbapi/ndberror.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/newtonapi/dba.h b/storage/ndb/include/newtonapi/dba.h
index 0c1034ad9d3..77499ac2535 100644
--- a/storage/ndb/include/newtonapi/dba.h
+++ b/storage/ndb/include/newtonapi/dba.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/newtonapi/defs/pcn_types.h b/storage/ndb/include/newtonapi/defs/pcn_types.h
index 0b166f7fad9..87b563963ac 100644
--- a/storage/ndb/include/newtonapi/defs/pcn_types.h
+++ b/storage/ndb/include/newtonapi/defs/pcn_types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbCondition.h b/storage/ndb/include/portlib/NdbCondition.h
index c30382b5016..81d7d6ca50a 100644
--- a/storage/ndb/include/portlib/NdbCondition.h
+++ b/storage/ndb/include/portlib/NdbCondition.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbConfig.h b/storage/ndb/include/portlib/NdbConfig.h
index 135eabac80a..bac014a4612 100644
--- a/storage/ndb/include/portlib/NdbConfig.h
+++ b/storage/ndb/include/portlib/NdbConfig.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbDaemon.h b/storage/ndb/include/portlib/NdbDaemon.h
index 9e28b342e33..5de641dfa3f 100644
--- a/storage/ndb/include/portlib/NdbDaemon.h
+++ b/storage/ndb/include/portlib/NdbDaemon.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbEnv.h b/storage/ndb/include/portlib/NdbEnv.h
index b47b1e62dae..7c978fbcdba 100644
--- a/storage/ndb/include/portlib/NdbEnv.h
+++ b/storage/ndb/include/portlib/NdbEnv.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbHost.h b/storage/ndb/include/portlib/NdbHost.h
index 98f0c8beb25..c7cf03a8b52 100644
--- a/storage/ndb/include/portlib/NdbHost.h
+++ b/storage/ndb/include/portlib/NdbHost.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbMain.h b/storage/ndb/include/portlib/NdbMain.h
index e5ebed6e836..857b8f3c8bf 100644
--- a/storage/ndb/include/portlib/NdbMain.h
+++ b/storage/ndb/include/portlib/NdbMain.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbMem.h b/storage/ndb/include/portlib/NdbMem.h
index 25ab3765e66..f4f7240b1f3 100644
--- a/storage/ndb/include/portlib/NdbMem.h
+++ b/storage/ndb/include/portlib/NdbMem.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbMutex.h b/storage/ndb/include/portlib/NdbMutex.h
index 7c35da5b8de..c98d4de2207 100644
--- a/storage/ndb/include/portlib/NdbMutex.h
+++ b/storage/ndb/include/portlib/NdbMutex.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbSleep.h b/storage/ndb/include/portlib/NdbSleep.h
index b3eb2249567..3c6506641c3 100644
--- a/storage/ndb/include/portlib/NdbSleep.h
+++ b/storage/ndb/include/portlib/NdbSleep.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbTCP.h b/storage/ndb/include/portlib/NdbTCP.h
index 36a9de62453..e8eaf993228 100644
--- a/storage/ndb/include/portlib/NdbTCP.h
+++ b/storage/ndb/include/portlib/NdbTCP.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbThread.h b/storage/ndb/include/portlib/NdbThread.h
index d39b584838e..68d4781919b 100644
--- a/storage/ndb/include/portlib/NdbThread.h
+++ b/storage/ndb/include/portlib/NdbThread.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/NdbTick.h b/storage/ndb/include/portlib/NdbTick.h
index 131f6b5440e..e8bbfed9aa5 100644
--- a/storage/ndb/include/portlib/NdbTick.h
+++ b/storage/ndb/include/portlib/NdbTick.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/PortDefs.h b/storage/ndb/include/portlib/PortDefs.h
index 7b512762cf2..0bc070a98b7 100644
--- a/storage/ndb/include/portlib/PortDefs.h
+++ b/storage/ndb/include/portlib/PortDefs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/portlib/prefetch.h b/storage/ndb/include/portlib/prefetch.h
index cc34722f044..5b37a2854c9 100644
--- a/storage/ndb/include/portlib/prefetch.h
+++ b/storage/ndb/include/portlib/prefetch.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/transporter/TransporterCallback.hpp b/storage/ndb/include/transporter/TransporterCallback.hpp
index 3cb607261fe..5acfec680b8 100644
--- a/storage/ndb/include/transporter/TransporterCallback.hpp
+++ b/storage/ndb/include/transporter/TransporterCallback.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/transporter/TransporterDefinitions.hpp b/storage/ndb/include/transporter/TransporterDefinitions.hpp
index d7f2044aa2c..e283e1b4275 100644
--- a/storage/ndb/include/transporter/TransporterDefinitions.hpp
+++ b/storage/ndb/include/transporter/TransporterDefinitions.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/transporter/TransporterRegistry.hpp b/storage/ndb/include/transporter/TransporterRegistry.hpp
index 297b4bf9dbd..cadcdddb240 100644
--- a/storage/ndb/include/transporter/TransporterRegistry.hpp
+++ b/storage/ndb/include/transporter/TransporterRegistry.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/BaseString.hpp b/storage/ndb/include/util/BaseString.hpp
index 780b0c9c956..1afbf2290b7 100644
--- a/storage/ndb/include/util/BaseString.hpp
+++ b/storage/ndb/include/util/BaseString.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/Bitmask.hpp b/storage/ndb/include/util/Bitmask.hpp
index 5a7de7d140a..beca000d6ab 100644
--- a/storage/ndb/include/util/Bitmask.hpp
+++ b/storage/ndb/include/util/Bitmask.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/File.hpp b/storage/ndb/include/util/File.hpp
index a5610ffdde4..a3de97762f2 100644
--- a/storage/ndb/include/util/File.hpp
+++ b/storage/ndb/include/util/File.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/InputStream.hpp b/storage/ndb/include/util/InputStream.hpp
index 9fe11309432..5fe64777322 100644
--- a/storage/ndb/include/util/InputStream.hpp
+++ b/storage/ndb/include/util/InputStream.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/NdbAutoPtr.hpp b/storage/ndb/include/util/NdbAutoPtr.hpp
index 6f0cab2c815..78e7dbe25ad 100644
--- a/storage/ndb/include/util/NdbAutoPtr.hpp
+++ b/storage/ndb/include/util/NdbAutoPtr.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/NdbOut.hpp b/storage/ndb/include/util/NdbOut.hpp
index dbc87c178af..65b7b543e93 100644
--- a/storage/ndb/include/util/NdbOut.hpp
+++ b/storage/ndb/include/util/NdbOut.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/NdbSqlUtil.hpp b/storage/ndb/include/util/NdbSqlUtil.hpp
index 23374b31a96..ca14018e515 100644
--- a/storage/ndb/include/util/NdbSqlUtil.hpp
+++ b/storage/ndb/include/util/NdbSqlUtil.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/OutputStream.hpp b/storage/ndb/include/util/OutputStream.hpp
index 952bea4c77a..f16621e8a58 100644
--- a/storage/ndb/include/util/OutputStream.hpp
+++ b/storage/ndb/include/util/OutputStream.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/Parser.hpp b/storage/ndb/include/util/Parser.hpp
index 8707bce8c55..366384621bf 100644
--- a/storage/ndb/include/util/Parser.hpp
+++ b/storage/ndb/include/util/Parser.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/Properties.hpp b/storage/ndb/include/util/Properties.hpp
index 667b9c99074..7a2c3626af6 100644
--- a/storage/ndb/include/util/Properties.hpp
+++ b/storage/ndb/include/util/Properties.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/SimpleProperties.hpp b/storage/ndb/include/util/SimpleProperties.hpp
index 863fa989ff1..d7df4a03e2a 100644
--- a/storage/ndb/include/util/SimpleProperties.hpp
+++ b/storage/ndb/include/util/SimpleProperties.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/SocketAuthenticator.hpp b/storage/ndb/include/util/SocketAuthenticator.hpp
index 8364fd6e37f..852e024043e 100644
--- a/storage/ndb/include/util/SocketAuthenticator.hpp
+++ b/storage/ndb/include/util/SocketAuthenticator.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/SocketClient.hpp b/storage/ndb/include/util/SocketClient.hpp
index 6c320d210b4..4f37ed8a59c 100644
--- a/storage/ndb/include/util/SocketClient.hpp
+++ b/storage/ndb/include/util/SocketClient.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/SocketServer.hpp b/storage/ndb/include/util/SocketServer.hpp
index 08e3bbff634..a4921ce3272 100644
--- a/storage/ndb/include/util/SocketServer.hpp
+++ b/storage/ndb/include/util/SocketServer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/UtilBuffer.hpp b/storage/ndb/include/util/UtilBuffer.hpp
index c1eaf4e5663..021328a0824 100644
--- a/storage/ndb/include/util/UtilBuffer.hpp
+++ b/storage/ndb/include/util/UtilBuffer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/Vector.hpp b/storage/ndb/include/util/Vector.hpp
index c72a4579dc7..288e406cc4b 100644
--- a/storage/ndb/include/util/Vector.hpp
+++ b/storage/ndb/include/util/Vector.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/basestring_vsnprintf.h b/storage/ndb/include/util/basestring_vsnprintf.h
index ae54a144ac0..cf059cabeb7 100644
--- a/storage/ndb/include/util/basestring_vsnprintf.h
+++ b/storage/ndb/include/util/basestring_vsnprintf.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/md5_hash.hpp b/storage/ndb/include/util/md5_hash.hpp
index 9bfa030fe37..4cdfe3d5b75 100644
--- a/storage/ndb/include/util/md5_hash.hpp
+++ b/storage/ndb/include/util/md5_hash.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/ndb_opts.h b/storage/ndb/include/util/ndb_opts.h
index 10f23df2ae9..d47a0243247 100644
--- a/storage/ndb/include/util/ndb_opts.h
+++ b/storage/ndb/include/util/ndb_opts.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/ndb_rand.h b/storage/ndb/include/util/ndb_rand.h
index 48c1aacb8bd..4767c002da7 100644
--- a/storage/ndb/include/util/ndb_rand.h
+++ b/storage/ndb/include/util/ndb_rand.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/random.h b/storage/ndb/include/util/random.h
index 3c4a8392235..f635b96145f 100644
--- a/storage/ndb/include/util/random.h
+++ b/storage/ndb/include/util/random.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/socket_io.h b/storage/ndb/include/util/socket_io.h
index 3b8562e71ad..fa00e19f9de 100644
--- a/storage/ndb/include/util/socket_io.h
+++ b/storage/ndb/include/util/socket_io.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/uucode.h b/storage/ndb/include/util/uucode.h
index 5b1ccac4c68..cb8cdd82218 100644
--- a/storage/ndb/include/util/uucode.h
+++ b/storage/ndb/include/util/uucode.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/include/util/version.h b/storage/ndb/include/util/version.h
index c87e7d49c33..800b71c1280 100644
--- a/storage/ndb/include/util/version.h
+++ b/storage/ndb/include/util/version.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp b/storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp
index e0f0d4ca56f..c0447fb8974 100644
--- a/storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp
+++ b/storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp b/storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp
index 857a0a10104..c59e9ae944a 100644
--- a/storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp
+++ b/storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_async/ndbapi_async.cpp b/storage/ndb/ndbapi-examples/ndbapi_async/ndbapi_async.cpp
index 4a1fda114e5..0845073e85e 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_async/ndbapi_async.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_async/ndbapi_async.cpp
@@ -1,6 +1,6 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp b/storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp
index 69ea7906ef9..c5bbeba5907 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp b/storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp
index ec5f0240b44..e2d01a065f4 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_retries/ndbapi_retries.cpp b/storage/ndb/ndbapi-examples/ndbapi_retries/ndbapi_retries.cpp
index 2db5bf37bac..638ff871e58 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_retries/ndbapi_retries.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_retries/ndbapi_retries.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_scan/ndbapi_scan.cpp b/storage/ndb/ndbapi-examples/ndbapi_scan/ndbapi_scan.cpp
index 6316e514abc..875ad86cb16 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_scan/ndbapi_scan.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_scan/ndbapi_scan.cpp
@@ -1,5 +1,5 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_simple/ndbapi_simple.cpp b/storage/ndb/ndbapi-examples/ndbapi_simple/ndbapi_simple.cpp
index e8228331b15..e2695734c81 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_simple/ndbapi_simple.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_simple/ndbapi_simple.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp b/storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp
index 152426d2b89..b2c5a491a73 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp b/storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp
index a9677abdc0a..b98133950e0 100644
--- a/storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp
+++ b/storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/BlockNames.cpp b/storage/ndb/src/common/debugger/BlockNames.cpp
index 887508fb814..e2ae1456913 100644
--- a/storage/ndb/src/common/debugger/BlockNames.cpp
+++ b/storage/ndb/src/common/debugger/BlockNames.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/DebuggerNames.cpp b/storage/ndb/src/common/debugger/DebuggerNames.cpp
index 03b2feeea06..0d44a3c00f2 100644
--- a/storage/ndb/src/common/debugger/DebuggerNames.cpp
+++ b/storage/ndb/src/common/debugger/DebuggerNames.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/EventLogger.cpp b/storage/ndb/src/common/debugger/EventLogger.cpp
index 99011812110..69e9dcd56a3 100644
--- a/storage/ndb/src/common/debugger/EventLogger.cpp
+++ b/storage/ndb/src/common/debugger/EventLogger.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/GrepError.cpp b/storage/ndb/src/common/debugger/GrepError.cpp
index 82bfe3cd89b..8f7c5c8d2fb 100644
--- a/storage/ndb/src/common/debugger/GrepError.cpp
+++ b/storage/ndb/src/common/debugger/GrepError.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/SignalLoggerManager.cpp b/storage/ndb/src/common/debugger/SignalLoggerManager.cpp
index 6f38ff7efee..27da26a181e 100644
--- a/storage/ndb/src/common/debugger/SignalLoggerManager.cpp
+++ b/storage/ndb/src/common/debugger/SignalLoggerManager.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/AccLock.cpp b/storage/ndb/src/common/debugger/signaldata/AccLock.cpp
index c36bb8e4ef2..26384f2d3a1 100644
--- a/storage/ndb/src/common/debugger/signaldata/AccLock.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/AccLock.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/AlterIndx.cpp b/storage/ndb/src/common/debugger/signaldata/AlterIndx.cpp
index ee825a457cd..8db3b683d47 100644
--- a/storage/ndb/src/common/debugger/signaldata/AlterIndx.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/AlterIndx.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/AlterTab.cpp b/storage/ndb/src/common/debugger/signaldata/AlterTab.cpp
index a09b59a1557..6a956c4a897 100644
--- a/storage/ndb/src/common/debugger/signaldata/AlterTab.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/AlterTab.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/AlterTable.cpp b/storage/ndb/src/common/debugger/signaldata/AlterTable.cpp
index 5c05fb6e688..c1d48429925 100644
--- a/storage/ndb/src/common/debugger/signaldata/AlterTable.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/AlterTable.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/AlterTrig.cpp b/storage/ndb/src/common/debugger/signaldata/AlterTrig.cpp
index b5f1f1e63c8..6d082373279 100644
--- a/storage/ndb/src/common/debugger/signaldata/AlterTrig.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/AlterTrig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/BackupImpl.cpp b/storage/ndb/src/common/debugger/signaldata/BackupImpl.cpp
index 3b4b6416f2b..ac16b5a1389 100644
--- a/storage/ndb/src/common/debugger/signaldata/BackupImpl.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/BackupImpl.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/BackupSignalData.cpp b/storage/ndb/src/common/debugger/signaldata/BackupSignalData.cpp
index b0f04457380..f31a3d9ae5e 100644
--- a/storage/ndb/src/common/debugger/signaldata/BackupSignalData.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/BackupSignalData.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/CloseComReqConf.cpp b/storage/ndb/src/common/debugger/signaldata/CloseComReqConf.cpp
index 269618b9c7f..afd1e40a851 100644
--- a/storage/ndb/src/common/debugger/signaldata/CloseComReqConf.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/CloseComReqConf.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/ContinueB.cpp b/storage/ndb/src/common/debugger/signaldata/ContinueB.cpp
index 284677571a4..40212dbffe1 100644
--- a/storage/ndb/src/common/debugger/signaldata/ContinueB.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/ContinueB.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/CopyGCI.cpp b/storage/ndb/src/common/debugger/signaldata/CopyGCI.cpp
index 8e6e5cf08ad..8787341ea61 100644
--- a/storage/ndb/src/common/debugger/signaldata/CopyGCI.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/CopyGCI.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/CreateEvnt.cpp b/storage/ndb/src/common/debugger/signaldata/CreateEvnt.cpp
index 5a0828d7625..25f5bdd232e 100644
--- a/storage/ndb/src/common/debugger/signaldata/CreateEvnt.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/CreateEvnt.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/CreateFragmentation.cpp b/storage/ndb/src/common/debugger/signaldata/CreateFragmentation.cpp
index 5e7cfaa0d89..d1d6f6ca1a2 100644
--- a/storage/ndb/src/common/debugger/signaldata/CreateFragmentation.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/CreateFragmentation.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/CreateIndx.cpp b/storage/ndb/src/common/debugger/signaldata/CreateIndx.cpp
index 9ef8d3c4a5a..4171809b78c 100644
--- a/storage/ndb/src/common/debugger/signaldata/CreateIndx.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/CreateIndx.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/CreateTrig.cpp b/storage/ndb/src/common/debugger/signaldata/CreateTrig.cpp
index 657fa5e71cd..75ef300847e 100644
--- a/storage/ndb/src/common/debugger/signaldata/CreateTrig.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/CreateTrig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp b/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp
index 2250e3dccbe..d4475523591 100644
--- a/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/DihContinueB.cpp b/storage/ndb/src/common/debugger/signaldata/DihContinueB.cpp
index 08dad102c25..febd70200c3 100644
--- a/storage/ndb/src/common/debugger/signaldata/DihContinueB.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/DihContinueB.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/DihSwitchReplicaReq.cpp b/storage/ndb/src/common/debugger/signaldata/DihSwitchReplicaReq.cpp
index a0e72a53013..5076a26a23a 100644
--- a/storage/ndb/src/common/debugger/signaldata/DihSwitchReplicaReq.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/DihSwitchReplicaReq.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/DisconnectRep.cpp b/storage/ndb/src/common/debugger/signaldata/DisconnectRep.cpp
index 47a645b6bc7..a5f91a0d24e 100644
--- a/storage/ndb/src/common/debugger/signaldata/DisconnectRep.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/DisconnectRep.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/DropIndx.cpp b/storage/ndb/src/common/debugger/signaldata/DropIndx.cpp
index 25f872a9f0b..a708446e034 100644
--- a/storage/ndb/src/common/debugger/signaldata/DropIndx.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/DropIndx.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/DropTab.cpp b/storage/ndb/src/common/debugger/signaldata/DropTab.cpp
index b0f07497eeb..ae90db2f74b 100644
--- a/storage/ndb/src/common/debugger/signaldata/DropTab.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/DropTab.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/DropTrig.cpp b/storage/ndb/src/common/debugger/signaldata/DropTrig.cpp
index 127270dbe62..826d0cc0536 100644
--- a/storage/ndb/src/common/debugger/signaldata/DropTrig.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/DropTrig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FailRep.cpp b/storage/ndb/src/common/debugger/signaldata/FailRep.cpp
index 23fdeb87503..00949b3217f 100644
--- a/storage/ndb/src/common/debugger/signaldata/FailRep.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FailRep.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FireTrigOrd.cpp b/storage/ndb/src/common/debugger/signaldata/FireTrigOrd.cpp
index eac876c801d..54742a5030e 100644
--- a/storage/ndb/src/common/debugger/signaldata/FireTrigOrd.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FireTrigOrd.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FsAppendReq.cpp b/storage/ndb/src/common/debugger/signaldata/FsAppendReq.cpp
index ef6cd4cf5f6..09709770b9b 100644
--- a/storage/ndb/src/common/debugger/signaldata/FsAppendReq.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FsAppendReq.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FsCloseReq.cpp b/storage/ndb/src/common/debugger/signaldata/FsCloseReq.cpp
index 358b8e171c7..cef67d14b47 100644
--- a/storage/ndb/src/common/debugger/signaldata/FsCloseReq.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FsCloseReq.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FsConf.cpp b/storage/ndb/src/common/debugger/signaldata/FsConf.cpp
index ba52b5b3d35..d839b4e5f7c 100644
--- a/storage/ndb/src/common/debugger/signaldata/FsConf.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FsConf.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FsOpenReq.cpp b/storage/ndb/src/common/debugger/signaldata/FsOpenReq.cpp
index a7240f4741c..039d1dda130 100644
--- a/storage/ndb/src/common/debugger/signaldata/FsOpenReq.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FsOpenReq.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp b/storage/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp
index 641fc9cf047..682e0675b0b 100644
--- a/storage/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/FsRef.cpp b/storage/ndb/src/common/debugger/signaldata/FsRef.cpp
index 4ea87d600c3..7a722fb8d2d 100644
--- a/storage/ndb/src/common/debugger/signaldata/FsRef.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/FsRef.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/GCPSave.cpp b/storage/ndb/src/common/debugger/signaldata/GCPSave.cpp
index 298156b5850..3e31f18fc8a 100644
--- a/storage/ndb/src/common/debugger/signaldata/GCPSave.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/GCPSave.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/IndxAttrInfo.cpp b/storage/ndb/src/common/debugger/signaldata/IndxAttrInfo.cpp
index 679965538c9..9c4f4338efc 100755
--- a/storage/ndb/src/common/debugger/signaldata/IndxAttrInfo.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/IndxAttrInfo.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/IndxKeyInfo.cpp b/storage/ndb/src/common/debugger/signaldata/IndxKeyInfo.cpp
index fa38eeffe14..9d498489891 100755
--- a/storage/ndb/src/common/debugger/signaldata/IndxKeyInfo.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/IndxKeyInfo.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/LCP.cpp b/storage/ndb/src/common/debugger/signaldata/LCP.cpp
index ffc37275f39..b4667ec800e 100644
--- a/storage/ndb/src/common/debugger/signaldata/LCP.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/LCP.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/LqhFrag.cpp b/storage/ndb/src/common/debugger/signaldata/LqhFrag.cpp
index 479e84f69ad..5a385b6940a 100644
--- a/storage/ndb/src/common/debugger/signaldata/LqhFrag.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/LqhFrag.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/LqhKey.cpp b/storage/ndb/src/common/debugger/signaldata/LqhKey.cpp
index 50d425c3a7f..2f175489489 100644
--- a/storage/ndb/src/common/debugger/signaldata/LqhKey.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/LqhKey.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/LqhTrans.cpp b/storage/ndb/src/common/debugger/signaldata/LqhTrans.cpp
index 690156dc019..58a01d7daeb 100644
--- a/storage/ndb/src/common/debugger/signaldata/LqhTrans.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/LqhTrans.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/MasterLCP.cpp b/storage/ndb/src/common/debugger/signaldata/MasterLCP.cpp
index 84dbc5e67a7..a7d8012b619 100644
--- a/storage/ndb/src/common/debugger/signaldata/MasterLCP.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/MasterLCP.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/NFCompleteRep.cpp b/storage/ndb/src/common/debugger/signaldata/NFCompleteRep.cpp
index 8701ef50eea..ab67b0fad59 100644
--- a/storage/ndb/src/common/debugger/signaldata/NFCompleteRep.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/NFCompleteRep.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/NdbSttor.cpp b/storage/ndb/src/common/debugger/signaldata/NdbSttor.cpp
index 4c0ed4798cd..9909f7c1b8a 100644
--- a/storage/ndb/src/common/debugger/signaldata/NdbSttor.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/NdbSttor.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp b/storage/ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp
index 1a64cc9a324..1eddd7224db 100644
--- a/storage/ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/PackedSignal.cpp b/storage/ndb/src/common/debugger/signaldata/PackedSignal.cpp
index 078aafef351..554daecb91f 100644
--- a/storage/ndb/src/common/debugger/signaldata/PackedSignal.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/PackedSignal.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/PrepDropTab.cpp b/storage/ndb/src/common/debugger/signaldata/PrepDropTab.cpp
index f93a1aaf501..e005d8244e1 100644
--- a/storage/ndb/src/common/debugger/signaldata/PrepDropTab.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/PrepDropTab.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/PrepFailReqRef.cpp b/storage/ndb/src/common/debugger/signaldata/PrepFailReqRef.cpp
index 3d57f3adff5..9775e7e2a79 100644
--- a/storage/ndb/src/common/debugger/signaldata/PrepFailReqRef.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/PrepFailReqRef.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/ScanFrag.cpp b/storage/ndb/src/common/debugger/signaldata/ScanFrag.cpp
index 9e6dc146fca..feb0bb95469 100644
--- a/storage/ndb/src/common/debugger/signaldata/ScanFrag.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/ScanFrag.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/ScanTab.cpp b/storage/ndb/src/common/debugger/signaldata/ScanTab.cpp
index 2ace95b3307..0d49e6ea695 100644
--- a/storage/ndb/src/common/debugger/signaldata/ScanTab.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/ScanTab.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp b/storage/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp
index d0070bb326d..2c3fc190ae5 100644
--- a/storage/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/SignalDroppedRep.cpp b/storage/ndb/src/common/debugger/signaldata/SignalDroppedRep.cpp
index be0b60af3ef..504447ebbe8 100644
--- a/storage/ndb/src/common/debugger/signaldata/SignalDroppedRep.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/SignalDroppedRep.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/SignalNames.cpp b/storage/ndb/src/common/debugger/signaldata/SignalNames.cpp
index 54eb0936dcd..5b465bb8993 100644
--- a/storage/ndb/src/common/debugger/signaldata/SignalNames.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/SignalNames.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/StartRec.cpp b/storage/ndb/src/common/debugger/signaldata/StartRec.cpp
index eada7a92571..7309f62e61e 100644
--- a/storage/ndb/src/common/debugger/signaldata/StartRec.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/StartRec.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/SumaImpl.cpp b/storage/ndb/src/common/debugger/signaldata/SumaImpl.cpp
index 14ee3038708..db46260ed2e 100644
--- a/storage/ndb/src/common/debugger/signaldata/SumaImpl.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/SumaImpl.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/SystemError.cpp b/storage/ndb/src/common/debugger/signaldata/SystemError.cpp
index 01a544a4e3d..2afce976ce8 100644
--- a/storage/ndb/src/common/debugger/signaldata/SystemError.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/SystemError.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TcIndx.cpp b/storage/ndb/src/common/debugger/signaldata/TcIndx.cpp
index 97bd069e9da..37d4761217c 100644
--- a/storage/ndb/src/common/debugger/signaldata/TcIndx.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TcIndx.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TcKeyConf.cpp b/storage/ndb/src/common/debugger/signaldata/TcKeyConf.cpp
index a66adebcc21..516561e76bc 100644
--- a/storage/ndb/src/common/debugger/signaldata/TcKeyConf.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TcKeyConf.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TcKeyRef.cpp b/storage/ndb/src/common/debugger/signaldata/TcKeyRef.cpp
index 0c793b6d827..61783b09fef 100644
--- a/storage/ndb/src/common/debugger/signaldata/TcKeyRef.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TcKeyRef.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TcKeyReq.cpp b/storage/ndb/src/common/debugger/signaldata/TcKeyReq.cpp
index 8904793611d..c20bd715c15 100644
--- a/storage/ndb/src/common/debugger/signaldata/TcKeyReq.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TcKeyReq.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TcRollbackRep.cpp b/storage/ndb/src/common/debugger/signaldata/TcRollbackRep.cpp
index 4de5ab7dc1e..e3b07a74677 100644
--- a/storage/ndb/src/common/debugger/signaldata/TcRollbackRep.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TcRollbackRep.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TrigAttrInfo.cpp b/storage/ndb/src/common/debugger/signaldata/TrigAttrInfo.cpp
index cfcbb400d83..11ef1250edf 100644
--- a/storage/ndb/src/common/debugger/signaldata/TrigAttrInfo.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TrigAttrInfo.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TupCommit.cpp b/storage/ndb/src/common/debugger/signaldata/TupCommit.cpp
index 6a610363bde..72112e0ed57 100644
--- a/storage/ndb/src/common/debugger/signaldata/TupCommit.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TupCommit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TupKey.cpp b/storage/ndb/src/common/debugger/signaldata/TupKey.cpp
index 465aa3dcf87..945eb79aab5 100644
--- a/storage/ndb/src/common/debugger/signaldata/TupKey.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TupKey.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/TuxMaint.cpp b/storage/ndb/src/common/debugger/signaldata/TuxMaint.cpp
index 94e36aa8d6f..2b8e25f0ed8 100644
--- a/storage/ndb/src/common/debugger/signaldata/TuxMaint.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/TuxMaint.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/UtilDelete.cpp b/storage/ndb/src/common/debugger/signaldata/UtilDelete.cpp
index 5686184bca6..edcbfb3ca54 100644
--- a/storage/ndb/src/common/debugger/signaldata/UtilDelete.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/UtilDelete.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/UtilExecute.cpp b/storage/ndb/src/common/debugger/signaldata/UtilExecute.cpp
index e9e61f1aa66..b889bf1f298 100644
--- a/storage/ndb/src/common/debugger/signaldata/UtilExecute.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/UtilExecute.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/UtilLock.cpp b/storage/ndb/src/common/debugger/signaldata/UtilLock.cpp
index bb50e24fafe..4d5ad46b25e 100644
--- a/storage/ndb/src/common/debugger/signaldata/UtilLock.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/UtilLock.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/UtilPrepare.cpp b/storage/ndb/src/common/debugger/signaldata/UtilPrepare.cpp
index ca2154cba33..9b6f4c7ea93 100644
--- a/storage/ndb/src/common/debugger/signaldata/UtilPrepare.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/UtilPrepare.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/debugger/signaldata/UtilSequence.cpp b/storage/ndb/src/common/debugger/signaldata/UtilSequence.cpp
index 888edfbb621..e800683d03a 100644
--- a/storage/ndb/src/common/debugger/signaldata/UtilSequence.cpp
+++ b/storage/ndb/src/common/debugger/signaldata/UtilSequence.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/ConsoleLogHandler.cpp b/storage/ndb/src/common/logger/ConsoleLogHandler.cpp
index 2ad522060a5..e991643a86a 100644
--- a/storage/ndb/src/common/logger/ConsoleLogHandler.cpp
+++ b/storage/ndb/src/common/logger/ConsoleLogHandler.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/FileLogHandler.cpp b/storage/ndb/src/common/logger/FileLogHandler.cpp
index 7a2904eff71..2a2b7b66b0d 100644
--- a/storage/ndb/src/common/logger/FileLogHandler.cpp
+++ b/storage/ndb/src/common/logger/FileLogHandler.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/LogHandler.cpp b/storage/ndb/src/common/logger/LogHandler.cpp
index 858830792ee..1f69e78f010 100644
--- a/storage/ndb/src/common/logger/LogHandler.cpp
+++ b/storage/ndb/src/common/logger/LogHandler.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/LogHandlerList.cpp b/storage/ndb/src/common/logger/LogHandlerList.cpp
index c3de9c7d843..983e445bb73 100644
--- a/storage/ndb/src/common/logger/LogHandlerList.cpp
+++ b/storage/ndb/src/common/logger/LogHandlerList.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/LogHandlerList.hpp b/storage/ndb/src/common/logger/LogHandlerList.hpp
index bb6c5030156..fcb017dacb8 100644
--- a/storage/ndb/src/common/logger/LogHandlerList.hpp
+++ b/storage/ndb/src/common/logger/LogHandlerList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/Logger.cpp b/storage/ndb/src/common/logger/Logger.cpp
index c834df1fa91..9b81ab02031 100644
--- a/storage/ndb/src/common/logger/Logger.cpp
+++ b/storage/ndb/src/common/logger/Logger.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/SysLogHandler.cpp b/storage/ndb/src/common/logger/SysLogHandler.cpp
index e2e73cd67b7..f579c24447f 100644
--- a/storage/ndb/src/common/logger/SysLogHandler.cpp
+++ b/storage/ndb/src/common/logger/SysLogHandler.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.cpp b/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.cpp
index 88e899551a2..c223581da39 100644
--- a/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.cpp
+++ b/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.hpp b/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.hpp
index a1f81296bc3..4242b0efdd7 100644
--- a/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.hpp
+++ b/storage/ndb/src/common/logger/listtest/LogHandlerListUnitTest.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.cpp b/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.cpp
index c35ee2ebd7d..f74350486eb 100644
--- a/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.cpp
+++ b/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.hpp b/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.hpp
index 1f60eea1466..81b457b9054 100644
--- a/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.hpp
+++ b/storage/ndb/src/common/logger/loggertest/LoggerUnitTest.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp b/storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp
index bd6ef470b3b..3274539a5bb 100644
--- a/storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp
+++ b/storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/mgmcommon/IPCConfig.cpp b/storage/ndb/src/common/mgmcommon/IPCConfig.cpp
index ae4e2ed1a11..4569e123a88 100644
--- a/storage/ndb/src/common/mgmcommon/IPCConfig.cpp
+++ b/storage/ndb/src/common/mgmcommon/IPCConfig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/mgmcommon/printConfig/printConfig.cpp b/storage/ndb/src/common/mgmcommon/printConfig/printConfig.cpp
index 4f7811e3eb9..1b53e94233f 100644
--- a/storage/ndb/src/common/mgmcommon/printConfig/printConfig.cpp
+++ b/storage/ndb/src/common/mgmcommon/printConfig/printConfig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbCondition.c b/storage/ndb/src/common/portlib/NdbCondition.c
index 6707702f43c..b73cb763d0f 100644
--- a/storage/ndb/src/common/portlib/NdbCondition.c
+++ b/storage/ndb/src/common/portlib/NdbCondition.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbConfig.c b/storage/ndb/src/common/portlib/NdbConfig.c
index 8b731f50eb4..b0d5655774b 100644
--- a/storage/ndb/src/common/portlib/NdbConfig.c
+++ b/storage/ndb/src/common/portlib/NdbConfig.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbDaemon.c b/storage/ndb/src/common/portlib/NdbDaemon.c
index 2aa2b405572..8c5d5119075 100644
--- a/storage/ndb/src/common/portlib/NdbDaemon.c
+++ b/storage/ndb/src/common/portlib/NdbDaemon.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbEnv.c b/storage/ndb/src/common/portlib/NdbEnv.c
index 323b897f1eb..101d61d72e4 100644
--- a/storage/ndb/src/common/portlib/NdbEnv.c
+++ b/storage/ndb/src/common/portlib/NdbEnv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbHost.c b/storage/ndb/src/common/portlib/NdbHost.c
index 92670ae3cc1..93e2048d32d 100644
--- a/storage/ndb/src/common/portlib/NdbHost.c
+++ b/storage/ndb/src/common/portlib/NdbHost.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbMem.c b/storage/ndb/src/common/portlib/NdbMem.c
index aba696c3637..74f667e9c44 100644
--- a/storage/ndb/src/common/portlib/NdbMem.c
+++ b/storage/ndb/src/common/portlib/NdbMem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbMutex.c b/storage/ndb/src/common/portlib/NdbMutex.c
index 5d44ccdb824..77a3e55e0b0 100644
--- a/storage/ndb/src/common/portlib/NdbMutex.c
+++ b/storage/ndb/src/common/portlib/NdbMutex.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbPortLibTest.cpp b/storage/ndb/src/common/portlib/NdbPortLibTest.cpp
index 86623a865b1..aade2db8fd9 100644
--- a/storage/ndb/src/common/portlib/NdbPortLibTest.cpp
+++ b/storage/ndb/src/common/portlib/NdbPortLibTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbSleep.c b/storage/ndb/src/common/portlib/NdbSleep.c
index 9760e1a1d53..dec954ad1d7 100644
--- a/storage/ndb/src/common/portlib/NdbSleep.c
+++ b/storage/ndb/src/common/portlib/NdbSleep.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbTCP.cpp b/storage/ndb/src/common/portlib/NdbTCP.cpp
index f16fc14e72d..ea322645bfc 100644
--- a/storage/ndb/src/common/portlib/NdbTCP.cpp
+++ b/storage/ndb/src/common/portlib/NdbTCP.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbThread.c b/storage/ndb/src/common/portlib/NdbThread.c
index 1093aa38dce..a8c0d17225e 100644
--- a/storage/ndb/src/common/portlib/NdbThread.c
+++ b/storage/ndb/src/common/portlib/NdbThread.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/NdbTick.c b/storage/ndb/src/common/portlib/NdbTick.c
index d8e4109ca5f..919e6f443d4 100644
--- a/storage/ndb/src/common/portlib/NdbTick.c
+++ b/storage/ndb/src/common/portlib/NdbTick.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/memtest.c b/storage/ndb/src/common/portlib/memtest.c
index 42e405d6405..d732c28cfaa 100644
--- a/storage/ndb/src/common/portlib/memtest.c
+++ b/storage/ndb/src/common/portlib/memtest.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/mmstest.cpp b/storage/ndb/src/common/portlib/mmstest.cpp
index 455f969c93f..00317f8d38b 100644
--- a/storage/ndb/src/common/portlib/mmstest.cpp
+++ b/storage/ndb/src/common/portlib/mmstest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/munmaptest.cpp b/storage/ndb/src/common/portlib/munmaptest.cpp
index 608a7dc61a3..a10d3ff1c50 100644
--- a/storage/ndb/src/common/portlib/munmaptest.cpp
+++ b/storage/ndb/src/common/portlib/munmaptest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbCondition.c b/storage/ndb/src/common/portlib/win32/NdbCondition.c
index 184c80e4b10..8a4843f5c20 100644
--- a/storage/ndb/src/common/portlib/win32/NdbCondition.c
+++ b/storage/ndb/src/common/portlib/win32/NdbCondition.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbDaemon.c b/storage/ndb/src/common/portlib/win32/NdbDaemon.c
index 9323bbc47a7..af0ae5b8cc6 100644
--- a/storage/ndb/src/common/portlib/win32/NdbDaemon.c
+++ b/storage/ndb/src/common/portlib/win32/NdbDaemon.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbEnv.c b/storage/ndb/src/common/portlib/win32/NdbEnv.c
index 2318d52d662..1394f494cdf 100644
--- a/storage/ndb/src/common/portlib/win32/NdbEnv.c
+++ b/storage/ndb/src/common/portlib/win32/NdbEnv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbHost.c b/storage/ndb/src/common/portlib/win32/NdbHost.c
index 3d0ad765211..c2143413757 100644
--- a/storage/ndb/src/common/portlib/win32/NdbHost.c
+++ b/storage/ndb/src/common/portlib/win32/NdbHost.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbMem.c b/storage/ndb/src/common/portlib/win32/NdbMem.c
index c4f4a18af92..06af280e904 100644
--- a/storage/ndb/src/common/portlib/win32/NdbMem.c
+++ b/storage/ndb/src/common/portlib/win32/NdbMem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbMutex.c b/storage/ndb/src/common/portlib/win32/NdbMutex.c
index f1e2a585173..e4e8bdeebb0 100644
--- a/storage/ndb/src/common/portlib/win32/NdbMutex.c
+++ b/storage/ndb/src/common/portlib/win32/NdbMutex.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbSleep.c b/storage/ndb/src/common/portlib/win32/NdbSleep.c
index bf39400dca0..58353ad1a30 100644
--- a/storage/ndb/src/common/portlib/win32/NdbSleep.c
+++ b/storage/ndb/src/common/portlib/win32/NdbSleep.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbTCP.c b/storage/ndb/src/common/portlib/win32/NdbTCP.c
index 50ba5e4c06e..03e5e492fa0 100644
--- a/storage/ndb/src/common/portlib/win32/NdbTCP.c
+++ b/storage/ndb/src/common/portlib/win32/NdbTCP.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbThread.c b/storage/ndb/src/common/portlib/win32/NdbThread.c
index 1c4c93f1b16..760ed47218a 100644
--- a/storage/ndb/src/common/portlib/win32/NdbThread.c
+++ b/storage/ndb/src/common/portlib/win32/NdbThread.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/portlib/win32/NdbTick.c b/storage/ndb/src/common/portlib/win32/NdbTick.c
index 7adaabb1caf..232cc597d0c 100644
--- a/storage/ndb/src/common/portlib/win32/NdbTick.c
+++ b/storage/ndb/src/common/portlib/win32/NdbTick.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/Packer.cpp b/storage/ndb/src/common/transporter/Packer.cpp
index c16132e5cac..23775b064ac 100644
--- a/storage/ndb/src/common/transporter/Packer.cpp
+++ b/storage/ndb/src/common/transporter/Packer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/Packer.hpp b/storage/ndb/src/common/transporter/Packer.hpp
index d52555c0b41..119f01ea286 100644
--- a/storage/ndb/src/common/transporter/Packer.hpp
+++ b/storage/ndb/src/common/transporter/Packer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SCI_Transporter.cpp b/storage/ndb/src/common/transporter/SCI_Transporter.cpp
index eb3c2da9672..c387d0224c6 100644
--- a/storage/ndb/src/common/transporter/SCI_Transporter.cpp
+++ b/storage/ndb/src/common/transporter/SCI_Transporter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SCI_Transporter.hpp b/storage/ndb/src/common/transporter/SCI_Transporter.hpp
index 3140b4d822b..c2b2cf0cec0 100644
--- a/storage/ndb/src/common/transporter/SCI_Transporter.hpp
+++ b/storage/ndb/src/common/transporter/SCI_Transporter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SHM_Buffer.hpp b/storage/ndb/src/common/transporter/SHM_Buffer.hpp
index 0056874c78e..62fa02c6f29 100644
--- a/storage/ndb/src/common/transporter/SHM_Buffer.hpp
+++ b/storage/ndb/src/common/transporter/SHM_Buffer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SHM_Transporter.cpp b/storage/ndb/src/common/transporter/SHM_Transporter.cpp
index 7b47bf91adc..42bb784166e 100644
--- a/storage/ndb/src/common/transporter/SHM_Transporter.cpp
+++ b/storage/ndb/src/common/transporter/SHM_Transporter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SHM_Transporter.hpp b/storage/ndb/src/common/transporter/SHM_Transporter.hpp
index b313e458771..9363649c60a 100644
--- a/storage/ndb/src/common/transporter/SHM_Transporter.hpp
+++ b/storage/ndb/src/common/transporter/SHM_Transporter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SHM_Transporter.unix.cpp b/storage/ndb/src/common/transporter/SHM_Transporter.unix.cpp
index 3d5bf4d9718..6466c57adf7 100644
--- a/storage/ndb/src/common/transporter/SHM_Transporter.unix.cpp
+++ b/storage/ndb/src/common/transporter/SHM_Transporter.unix.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SHM_Transporter.win32.cpp b/storage/ndb/src/common/transporter/SHM_Transporter.win32.cpp
index ae9d8dd2c76..8d0f7f84a93 100644
--- a/storage/ndb/src/common/transporter/SHM_Transporter.win32.cpp
+++ b/storage/ndb/src/common/transporter/SHM_Transporter.win32.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SendBuffer.cpp b/storage/ndb/src/common/transporter/SendBuffer.cpp
index faf044d5caf..4c46841ab6f 100644
--- a/storage/ndb/src/common/transporter/SendBuffer.cpp
+++ b/storage/ndb/src/common/transporter/SendBuffer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/SendBuffer.hpp b/storage/ndb/src/common/transporter/SendBuffer.hpp
index b4e0670bc1a..3497201c328 100644
--- a/storage/ndb/src/common/transporter/SendBuffer.hpp
+++ b/storage/ndb/src/common/transporter/SendBuffer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/TCP_Transporter.cpp b/storage/ndb/src/common/transporter/TCP_Transporter.cpp
index 7014691dc4b..5c49fa9c938 100644
--- a/storage/ndb/src/common/transporter/TCP_Transporter.cpp
+++ b/storage/ndb/src/common/transporter/TCP_Transporter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/TCP_Transporter.hpp b/storage/ndb/src/common/transporter/TCP_Transporter.hpp
index 1b53f337ba2..11a36751e27 100644
--- a/storage/ndb/src/common/transporter/TCP_Transporter.hpp
+++ b/storage/ndb/src/common/transporter/TCP_Transporter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/Transporter.cpp b/storage/ndb/src/common/transporter/Transporter.cpp
index 89f984774de..165e9b01fb0 100644
--- a/storage/ndb/src/common/transporter/Transporter.cpp
+++ b/storage/ndb/src/common/transporter/Transporter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/Transporter.hpp b/storage/ndb/src/common/transporter/Transporter.hpp
index fd53fbd3506..82ed1d2b315 100644
--- a/storage/ndb/src/common/transporter/Transporter.hpp
+++ b/storage/ndb/src/common/transporter/Transporter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/TransporterInternalDefinitions.hpp b/storage/ndb/src/common/transporter/TransporterInternalDefinitions.hpp
index 49c8b04c74a..75d31d9803d 100644
--- a/storage/ndb/src/common/transporter/TransporterInternalDefinitions.hpp
+++ b/storage/ndb/src/common/transporter/TransporterInternalDefinitions.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/TransporterRegistry.cpp b/storage/ndb/src/common/transporter/TransporterRegistry.cpp
index 5f8cdad47db..0f871d08735 100644
--- a/storage/ndb/src/common/transporter/TransporterRegistry.cpp
+++ b/storage/ndb/src/common/transporter/TransporterRegistry.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/basictest/basicTransporterTest.cpp b/storage/ndb/src/common/transporter/basictest/basicTransporterTest.cpp
index c5f87ab6577..46303c33763 100644
--- a/storage/ndb/src/common/transporter/basictest/basicTransporterTest.cpp
+++ b/storage/ndb/src/common/transporter/basictest/basicTransporterTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/buddy.cpp b/storage/ndb/src/common/transporter/buddy.cpp
index 08624e8a70e..476aa2fa3fa 100644
--- a/storage/ndb/src/common/transporter/buddy.cpp
+++ b/storage/ndb/src/common/transporter/buddy.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/buddy.hpp b/storage/ndb/src/common/transporter/buddy.hpp
index 86fc5fbf36e..ca9e0017732 100644
--- a/storage/ndb/src/common/transporter/buddy.hpp
+++ b/storage/ndb/src/common/transporter/buddy.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/failoverSCI/failoverSCI.cpp b/storage/ndb/src/common/transporter/failoverSCI/failoverSCI.cpp
index 48089f41e7f..fceb7322dda 100644
--- a/storage/ndb/src/common/transporter/failoverSCI/failoverSCI.cpp
+++ b/storage/ndb/src/common/transporter/failoverSCI/failoverSCI.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/perftest/perfTransporterTest.cpp b/storage/ndb/src/common/transporter/perftest/perfTransporterTest.cpp
index 0089be2e132..87718405547 100644
--- a/storage/ndb/src/common/transporter/perftest/perfTransporterTest.cpp
+++ b/storage/ndb/src/common/transporter/perftest/perfTransporterTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp b/storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp
index 0915ac57dc0..804e75a9edd 100644
--- a/storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp
+++ b/storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/priotest/prioSHM/prioSHM.cpp b/storage/ndb/src/common/transporter/priotest/prioSHM/prioSHM.cpp
index abedf926809..229b1517211 100644
--- a/storage/ndb/src/common/transporter/priotest/prioSHM/prioSHM.cpp
+++ b/storage/ndb/src/common/transporter/priotest/prioSHM/prioSHM.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/priotest/prioTCP/prioTCP.cpp b/storage/ndb/src/common/transporter/priotest/prioTCP/prioTCP.cpp
index dd692a2797c..b090042f68b 100644
--- a/storage/ndb/src/common/transporter/priotest/prioTCP/prioTCP.cpp
+++ b/storage/ndb/src/common/transporter/priotest/prioTCP/prioTCP.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/priotest/prioTransporterTest.cpp b/storage/ndb/src/common/transporter/priotest/prioTransporterTest.cpp
index 6f6c40dbdf2..7c822daa7a3 100644
--- a/storage/ndb/src/common/transporter/priotest/prioTransporterTest.cpp
+++ b/storage/ndb/src/common/transporter/priotest/prioTransporterTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/transporter/priotest/prioTransporterTest.hpp b/storage/ndb/src/common/transporter/priotest/prioTransporterTest.hpp
index ab4e1b523ec..ecbece1ac2a 100644
--- a/storage/ndb/src/common/transporter/priotest/prioTransporterTest.hpp
+++ b/storage/ndb/src/common/transporter/priotest/prioTransporterTest.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/BaseString.cpp b/storage/ndb/src/common/util/BaseString.cpp
index 6be114a7a4f..91f8b470ba2 100644
--- a/storage/ndb/src/common/util/BaseString.cpp
+++ b/storage/ndb/src/common/util/BaseString.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/File.cpp b/storage/ndb/src/common/util/File.cpp
index bd79aa68c8b..07e8309f507 100644
--- a/storage/ndb/src/common/util/File.cpp
+++ b/storage/ndb/src/common/util/File.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/InputStream.cpp b/storage/ndb/src/common/util/InputStream.cpp
index afc7176623e..66f997dfd04 100644
--- a/storage/ndb/src/common/util/InputStream.cpp
+++ b/storage/ndb/src/common/util/InputStream.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/NdbOut.cpp b/storage/ndb/src/common/util/NdbOut.cpp
index 87c3c0036d9..5069231f673 100644
--- a/storage/ndb/src/common/util/NdbOut.cpp
+++ b/storage/ndb/src/common/util/NdbOut.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/NdbSqlUtil.cpp b/storage/ndb/src/common/util/NdbSqlUtil.cpp
index 343ac9737b8..d179c1f298e 100644
--- a/storage/ndb/src/common/util/NdbSqlUtil.cpp
+++ b/storage/ndb/src/common/util/NdbSqlUtil.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/OutputStream.cpp b/storage/ndb/src/common/util/OutputStream.cpp
index e05b48791fc..acda12bd2f9 100644
--- a/storage/ndb/src/common/util/OutputStream.cpp
+++ b/storage/ndb/src/common/util/OutputStream.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/Parser.cpp b/storage/ndb/src/common/util/Parser.cpp
index 35364e70d11..c0e6e9efb68 100644
--- a/storage/ndb/src/common/util/Parser.cpp
+++ b/storage/ndb/src/common/util/Parser.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/Properties.cpp b/storage/ndb/src/common/util/Properties.cpp
index 27f44bf1791..c8c62896193 100644
--- a/storage/ndb/src/common/util/Properties.cpp
+++ b/storage/ndb/src/common/util/Properties.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/SimpleProperties.cpp b/storage/ndb/src/common/util/SimpleProperties.cpp
index fa81bed8a94..ba798e396db 100644
--- a/storage/ndb/src/common/util/SimpleProperties.cpp
+++ b/storage/ndb/src/common/util/SimpleProperties.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/SocketAuthenticator.cpp b/storage/ndb/src/common/util/SocketAuthenticator.cpp
index 53111c6cb0f..d1b36119a59 100644
--- a/storage/ndb/src/common/util/SocketAuthenticator.cpp
+++ b/storage/ndb/src/common/util/SocketAuthenticator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/SocketClient.cpp b/storage/ndb/src/common/util/SocketClient.cpp
index 8dbdd94fb60..2d0ed66d9b6 100644
--- a/storage/ndb/src/common/util/SocketClient.cpp
+++ b/storage/ndb/src/common/util/SocketClient.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/SocketServer.cpp b/storage/ndb/src/common/util/SocketServer.cpp
index f5fcf491c0c..acc797a86d0 100644
--- a/storage/ndb/src/common/util/SocketServer.cpp
+++ b/storage/ndb/src/common/util/SocketServer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/basestring_vsnprintf.c b/storage/ndb/src/common/util/basestring_vsnprintf.c
index 5dd366d0cd6..54eeff0911d 100644
--- a/storage/ndb/src/common/util/basestring_vsnprintf.c
+++ b/storage/ndb/src/common/util/basestring_vsnprintf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/filetest/FileUnitTest.cpp b/storage/ndb/src/common/util/filetest/FileUnitTest.cpp
index c4ef7491b88..b469ce2b3ac 100644
--- a/storage/ndb/src/common/util/filetest/FileUnitTest.cpp
+++ b/storage/ndb/src/common/util/filetest/FileUnitTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/filetest/FileUnitTest.hpp b/storage/ndb/src/common/util/filetest/FileUnitTest.hpp
index 03c9f87ccb3..6627ef74599 100644
--- a/storage/ndb/src/common/util/filetest/FileUnitTest.hpp
+++ b/storage/ndb/src/common/util/filetest/FileUnitTest.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/md5_hash.cpp b/storage/ndb/src/common/util/md5_hash.cpp
index f5692707744..32fc5fcbc8c 100644
--- a/storage/ndb/src/common/util/md5_hash.cpp
+++ b/storage/ndb/src/common/util/md5_hash.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/ndb_init.c b/storage/ndb/src/common/util/ndb_init.c
index 4d7ec6812e7..5582b6923e2 100644
--- a/storage/ndb/src/common/util/ndb_init.c
+++ b/storage/ndb/src/common/util/ndb_init.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/ndb_rand.c b/storage/ndb/src/common/util/ndb_rand.c
index 2189d487e1e..95a91d566b3 100644
--- a/storage/ndb/src/common/util/ndb_rand.c
+++ b/storage/ndb/src/common/util/ndb_rand.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/random.c b/storage/ndb/src/common/util/random.c
index 16763526df1..9c2548e41a1 100644
--- a/storage/ndb/src/common/util/random.c
+++ b/storage/ndb/src/common/util/random.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/socket_io.cpp b/storage/ndb/src/common/util/socket_io.cpp
index 27836481106..67842ada01a 100644
--- a/storage/ndb/src/common/util/socket_io.cpp
+++ b/storage/ndb/src/common/util/socket_io.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/strdup.c b/storage/ndb/src/common/util/strdup.c
index 6688122995d..a1b796cfc46 100644
--- a/storage/ndb/src/common/util/strdup.c
+++ b/storage/ndb/src/common/util/strdup.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/testProperties/testProperties.cpp b/storage/ndb/src/common/util/testProperties/testProperties.cpp
index 31ca1d3cdec..ce45f742234 100644
--- a/storage/ndb/src/common/util/testProperties/testProperties.cpp
+++ b/storage/ndb/src/common/util/testProperties/testProperties.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/testSimpleProperties/sp_test.cpp b/storage/ndb/src/common/util/testSimpleProperties/sp_test.cpp
index fafd77f2fb8..ec5e134cc63 100644
--- a/storage/ndb/src/common/util/testSimpleProperties/sp_test.cpp
+++ b/storage/ndb/src/common/util/testSimpleProperties/sp_test.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/uucode.c b/storage/ndb/src/common/util/uucode.c
index 950b2b4bb72..4f2d66c9903 100644
--- a/storage/ndb/src/common/util/uucode.c
+++ b/storage/ndb/src/common/util/uucode.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/common/util/version.c b/storage/ndb/src/common/util/version.c
index 47b39c2f455..2806b710d6f 100644
--- a/storage/ndb/src/common/util/version.c
+++ b/storage/ndb/src/common/util/version.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.cpp b/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.cpp
index d8414af480c..a12f5df11dd 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.cpp
+++ b/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.h b/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.h
index 7867849d6de..90fd59e4423 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.h
+++ b/storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/NdbControls.cpp b/storage/ndb/src/cw/cpcc-win32/C++/NdbControls.cpp
index a4ed4a7f5d0..45a95171193 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/NdbControls.cpp
+++ b/storage/ndb/src/cw/cpcc-win32/C++/NdbControls.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.cpp b/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.cpp
index 9fae2778b5c..6da72011fe3 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.cpp
+++ b/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.h b/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.h
index 54ae5414991..9895cf9a158 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.h
+++ b/storage/ndb/src/cw/cpcc-win32/C++/StdAfx.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/TreeView.cpp b/storage/ndb/src/cw/cpcc-win32/C++/TreeView.cpp
index 9287ff86179..40cfa2ffd56 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/TreeView.cpp
+++ b/storage/ndb/src/cw/cpcc-win32/C++/TreeView.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/TreeView.h b/storage/ndb/src/cw/cpcc-win32/C++/TreeView.h
index 34c5cbe38af..80874110ce5 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/TreeView.h
+++ b/storage/ndb/src/cw/cpcc-win32/C++/TreeView.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/C++/resource.h b/storage/ndb/src/cw/cpcc-win32/C++/resource.h
index 189220e0a87..8e94ed80ff8 100644
--- a/storage/ndb/src/cw/cpcc-win32/C++/resource.h
+++ b/storage/ndb/src/cw/cpcc-win32/C++/resource.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/CPC_Form.cs b/storage/ndb/src/cw/cpcc-win32/csharp/CPC_Form.cs
index b475829d767..6982c882f46 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/CPC_Form.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/CPC_Form.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/Computer.cs b/storage/ndb/src/cw/cpcc-win32/csharp/Computer.cs
index 62ef27391af..15685a711e1 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/Computer.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/Computer.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/ComputerAddDialog.cs b/storage/ndb/src/cw/cpcc-win32/csharp/ComputerAddDialog.cs
index 9e7272a302d..ca718b270e2 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/ComputerAddDialog.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/ComputerAddDialog.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/ComputerRemoveDialog.cs b/storage/ndb/src/cw/cpcc-win32/csharp/ComputerRemoveDialog.cs
index b6032a02e06..b42e79f489c 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/ComputerRemoveDialog.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/ComputerRemoveDialog.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/Database.cs b/storage/ndb/src/cw/cpcc-win32/csharp/Database.cs
index f377e986caf..99c63036e4c 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/Database.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/Database.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/PanelWizard.cs b/storage/ndb/src/cw/cpcc-win32/csharp/PanelWizard.cs
index 4d0b8e0de42..4ca78b714bd 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/PanelWizard.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/PanelWizard.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/Process.cs b/storage/ndb/src/cw/cpcc-win32/csharp/Process.cs
index 12c65c8d8a8..0786239e009 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/Process.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/Process.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/ProcessDefineDialog.cs b/storage/ndb/src/cw/cpcc-win32/csharp/ProcessDefineDialog.cs
index a2491ce7bb3..87cb2ff7bba 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/ProcessDefineDialog.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/ProcessDefineDialog.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/fileaccess/FileMgmt.cs b/storage/ndb/src/cw/cpcc-win32/csharp/fileaccess/FileMgmt.cs
index ddf1bd29086..8bd203f17c2 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/fileaccess/FileMgmt.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/fileaccess/FileMgmt.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/simpleparser/SimpleCPCParser.cs b/storage/ndb/src/cw/cpcc-win32/csharp/simpleparser/SimpleCPCParser.cs
index 90bf1df21fd..dc7fb51caee 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/simpleparser/SimpleCPCParser.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/simpleparser/SimpleCPCParser.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/SocketComm.cs b/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/SocketComm.cs
index 540bcedf84d..202cf506e0e 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/SocketComm.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/SocketComm.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/myTcpClient.cs b/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/myTcpClient.cs
index 0ef04dc4b4c..0cdae6ce796 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/myTcpClient.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/myTcpClient.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/startDatabaseDlg.cs b/storage/ndb/src/cw/cpcc-win32/csharp/startDatabaseDlg.cs
index 3619c17e701..32a236908fe 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/startDatabaseDlg.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/startDatabaseDlg.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcc-win32/csharp/telnetclient/telnetClient.cs b/storage/ndb/src/cw/cpcc-win32/csharp/telnetclient/telnetClient.cs
index 81b6375cad9..92ccf674ad6 100644
--- a/storage/ndb/src/cw/cpcc-win32/csharp/telnetclient/telnetClient.cs
+++ b/storage/ndb/src/cw/cpcc-win32/csharp/telnetclient/telnetClient.cs
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/APIService.cpp b/storage/ndb/src/cw/cpcd/APIService.cpp
index 9ed28c320b4..d5cb079849f 100644
--- a/storage/ndb/src/cw/cpcd/APIService.cpp
+++ b/storage/ndb/src/cw/cpcd/APIService.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/APIService.hpp b/storage/ndb/src/cw/cpcd/APIService.hpp
index bcc571df259..67986e8c00c 100644
--- a/storage/ndb/src/cw/cpcd/APIService.hpp
+++ b/storage/ndb/src/cw/cpcd/APIService.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/CPCD.cpp b/storage/ndb/src/cw/cpcd/CPCD.cpp
index dd3487f458d..3e49167e814 100644
--- a/storage/ndb/src/cw/cpcd/CPCD.cpp
+++ b/storage/ndb/src/cw/cpcd/CPCD.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/CPCD.hpp b/storage/ndb/src/cw/cpcd/CPCD.hpp
index c2069110d09..5733ea75c16 100644
--- a/storage/ndb/src/cw/cpcd/CPCD.hpp
+++ b/storage/ndb/src/cw/cpcd/CPCD.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/Monitor.cpp b/storage/ndb/src/cw/cpcd/Monitor.cpp
index 2d9256d27a6..bdd06aa3a1f 100644
--- a/storage/ndb/src/cw/cpcd/Monitor.cpp
+++ b/storage/ndb/src/cw/cpcd/Monitor.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/Process.cpp b/storage/ndb/src/cw/cpcd/Process.cpp
index 2bcecfc2059..5b46433ea3e 100644
--- a/storage/ndb/src/cw/cpcd/Process.cpp
+++ b/storage/ndb/src/cw/cpcd/Process.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/common.cpp b/storage/ndb/src/cw/cpcd/common.cpp
index 5038bc2e11e..b340b0a1c13 100644
--- a/storage/ndb/src/cw/cpcd/common.cpp
+++ b/storage/ndb/src/cw/cpcd/common.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/common.hpp b/storage/ndb/src/cw/cpcd/common.hpp
index 786666cbed6..a58e599a02b 100644
--- a/storage/ndb/src/cw/cpcd/common.hpp
+++ b/storage/ndb/src/cw/cpcd/common.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/cpcd/main.cpp b/storage/ndb/src/cw/cpcd/main.cpp
index 4737a7c7cde..c90d0f43f1b 100644
--- a/storage/ndb/src/cw/cpcd/main.cpp
+++ b/storage/ndb/src/cw/cpcd/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/test/socketclient/socketClientTest.cpp b/storage/ndb/src/cw/test/socketclient/socketClientTest.cpp
index 43c0e20a1f5..d2b898dac1f 100644
--- a/storage/ndb/src/cw/test/socketclient/socketClientTest.cpp
+++ b/storage/ndb/src/cw/test/socketclient/socketClientTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/util/ClientInterface.cpp b/storage/ndb/src/cw/util/ClientInterface.cpp
index 2136220cc84..dc7bc52c1c9 100644
--- a/storage/ndb/src/cw/util/ClientInterface.cpp
+++ b/storage/ndb/src/cw/util/ClientInterface.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/util/ClientInterface.hpp b/storage/ndb/src/cw/util/ClientInterface.hpp
index de0fa81723a..dddf38e3679 100644
--- a/storage/ndb/src/cw/util/ClientInterface.hpp
+++ b/storage/ndb/src/cw/util/ClientInterface.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/util/SocketRegistry.cpp b/storage/ndb/src/cw/util/SocketRegistry.cpp
index dbcb0e7ceea..2d5f04d7cc4 100644
--- a/storage/ndb/src/cw/util/SocketRegistry.cpp
+++ b/storage/ndb/src/cw/util/SocketRegistry.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/util/SocketRegistry.hpp b/storage/ndb/src/cw/util/SocketRegistry.hpp
index d0fa775f4ec..94860a18fe6 100644
--- a/storage/ndb/src/cw/util/SocketRegistry.hpp
+++ b/storage/ndb/src/cw/util/SocketRegistry.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/util/SocketService.cpp b/storage/ndb/src/cw/util/SocketService.cpp
index f02f47c288f..5201f2afc84 100644
--- a/storage/ndb/src/cw/util/SocketService.cpp
+++ b/storage/ndb/src/cw/util/SocketService.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/cw/util/SocketService.hpp b/storage/ndb/src/cw/util/SocketService.hpp
index feac551a202..4671c43cffc 100644
--- a/storage/ndb/src/cw/util/SocketService.hpp
+++ b/storage/ndb/src/cw/util/SocketService.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/SimBlockList.cpp b/storage/ndb/src/kernel/SimBlockList.cpp
index d55d67074a2..ea1ee7c4dc9 100644
--- a/storage/ndb/src/kernel/SimBlockList.cpp
+++ b/storage/ndb/src/kernel/SimBlockList.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/backup/Backup.cpp b/storage/ndb/src/kernel/blocks/backup/Backup.cpp
index 9a7710f35e5..b607422b35c 100644
--- a/storage/ndb/src/kernel/blocks/backup/Backup.cpp
+++ b/storage/ndb/src/kernel/blocks/backup/Backup.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/backup/Backup.hpp b/storage/ndb/src/kernel/blocks/backup/Backup.hpp
index 675805a0f0a..236bd55419d 100644
--- a/storage/ndb/src/kernel/blocks/backup/Backup.hpp
+++ b/storage/ndb/src/kernel/blocks/backup/Backup.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp b/storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp
index 3496b897eb1..a6c89a879ed 100644
--- a/storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp
+++ b/storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/backup/BackupInit.cpp b/storage/ndb/src/kernel/blocks/backup/BackupInit.cpp
index 8af9d8d4c7b..87051fb0e4f 100644
--- a/storage/ndb/src/kernel/blocks/backup/BackupInit.cpp
+++ b/storage/ndb/src/kernel/blocks/backup/BackupInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp b/storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp
index 6fc36123de7..048a96df576 100644
--- a/storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp
+++ b/storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/backup/read.cpp b/storage/ndb/src/kernel/blocks/backup/read.cpp
index 7bf90d0d408..d3b65bc6da0 100644
--- a/storage/ndb/src/kernel/blocks/backup/read.cpp
+++ b/storage/ndb/src/kernel/blocks/backup/read.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp b/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
index b921979f166..70f175741ec 100644
--- a/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
+++ b/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp b/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp
index 371d1862f79..6d8de9375ec 100644
--- a/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp
+++ b/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp b/storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp
index 11339a8a4cb..48491da39b8 100644
--- a/storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp
+++ b/storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp b/storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp
index 221bdd25c4d..98fa09c0448 100644
--- a/storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp
+++ b/storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp b/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
index 8415ccc835f..cfc0a340e64 100644
--- a/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
+++ b/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
index 4392d16ba2e..d27e012bb77 100644
--- a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+++ b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
index ed926f81a2a..a1139edb4ef 100644
--- a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
+++ b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdict/SchemaFile.hpp b/storage/ndb/src/kernel/blocks/dbdict/SchemaFile.hpp
index caa96aa8ef6..8deffad009f 100644
--- a/storage/ndb/src/kernel/blocks/dbdict/SchemaFile.hpp
+++ b/storage/ndb/src/kernel/blocks/dbdict/SchemaFile.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp b/storage/ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
index 32787b75d40..aaee7836902 100644
--- a/storage/ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
+++ b/storage/ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp b/storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp
index 093f061ca2d..738305f866c 100644
--- a/storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp
+++ b/storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp b/storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
index c9394958311..c7a1aae6ad4 100644
--- a/storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
+++ b/storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp b/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
index fcca4345e56..3c293103c26 100644
--- a/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
+++ b/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdih/Sysfile.hpp b/storage/ndb/src/kernel/blocks/dbdih/Sysfile.hpp
index f0f65fa17d5..a86a9733f41 100644
--- a/storage/ndb/src/kernel/blocks/dbdih/Sysfile.hpp
+++ b/storage/ndb/src/kernel/blocks/dbdih/Sysfile.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdih/printSysfile.cpp b/storage/ndb/src/kernel/blocks/dbdih/printSysfile.cpp
index 747a261efb4..58744974219 100644
--- a/storage/ndb/src/kernel/blocks/dbdih/printSysfile.cpp
+++ b/storage/ndb/src/kernel/blocks/dbdih/printSysfile.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp b/storage/ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp
index cd211bc55a9..fc908d8b8af 100644
--- a/storage/ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp
+++ b/storage/ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp b/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp
index e7cf052f317..509136918f5 100644
--- a/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp
+++ b/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp b/storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
index fce32cfd5ef..4d196d5c505 100644
--- a/storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
+++ b/storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp b/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
index 0a6a42bcbe2..94eaddeb696 100644
--- a/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+++ b/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp b/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp
index 50a66924680..d065092afdd 100644
--- a/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp
+++ b/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp b/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp
index d0ecaa1da6d..16d0bd13615 100644
--- a/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp
+++ b/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.hpp b/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.hpp
index 00fc825b90c..2119056fe0a 100644
--- a/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.hpp
+++ b/storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp b/storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp
index 635c2e5691e..40c88b3cddb 100644
--- a/storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp
+++ b/storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp b/storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
index fa70a32dd16..df7798a0fc5 100644
--- a/storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp b/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
index d72cb4a0ec9..20ecc7ff73d 100644
--- a/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/AttributeOffset.hpp b/storage/ndb/src/kernel/blocks/dbtup/AttributeOffset.hpp
index 94283ed1c16..65692051f97 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/AttributeOffset.hpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/AttributeOffset.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp b/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp
index 56fb23252a6..18f000a66b8 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp
index bd82226a6aa..2574607ddb0 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp
index d5373ff1c32..050fb7f7f7d 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
index 59443f17b59..4edcbe12219 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp
index b82e6cfc4e1..b0b93d0dfa6 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
index 000951327c0..a301e92cafb 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
index 38e9e975687..28122384d93 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp
index 94808b63308..94a1dd7c7eb 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
index c4fca153744..0f6ebb4ca32 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp
index 5a73dcf3dfb..ec0c1422274 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
index 58936fad8ed..1d21fcbdaec 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp
index 56f24529b72..28cd0864249 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
index 9856d4984b3..6b768294451 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
index 0436e7413bf..0731840285a 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
index 1f09faf72a3..b7538d85d26 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp
index b91658ef74a..d399bd9863b 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupTabDesMan.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupTabDesMan.cpp
index cc836a65865..7237cf86254 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupTabDesMan.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupTabDesMan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp
index d71869587f8..c4840c732a6 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupVarAlloc.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupVarAlloc.cpp
index 0b026f92369..956c9af84d5 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupVarAlloc.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupVarAlloc.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 MySQL AB
+/* Copyright (c) 2004-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp b/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp
index dacc55ae9ba..82f8028b3f3 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.hpp b/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.hpp
index 6c55947a8ff..40d47412253 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.hpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/tuppage.cpp b/storage/ndb/src/kernel/blocks/dbtup/tuppage.cpp
index 1cae49fd13b..6911e9144a8 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/tuppage.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/tuppage.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtup/tuppage.hpp b/storage/ndb/src/kernel/blocks/dbtup/tuppage.hpp
index c130a80f846..20e9f3d5a33 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/tuppage.hpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/tuppage.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp b/storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp
index efc3dea83c2..55a0c97b74a 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp
index dd34361c5da..aabcdb76a8f 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp
index bc991a07dbf..f336c688985 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp
index 9fca0b2436f..743597adb14 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp
index bb9ea57a588..a8b98ae86a8 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
index 01c31ef4991..633496a3875 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp
index 351bc46c09f..8f6be4492ae 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp
index 2296cfd12fd..c698516cfce 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp
index 125c095513b..3b7310e1b49 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxStat.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxStat.cpp
index 12b8254812f..ce3db24d048 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxStat.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxStat.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp b/storage/ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp
index 9d4a77270ca..fd29e585bff 100644
--- a/storage/ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbutil/DbUtil.cpp b/storage/ndb/src/kernel/blocks/dbutil/DbUtil.cpp
index 24470370210..dcb9c96bb4e 100644
--- a/storage/ndb/src/kernel/blocks/dbutil/DbUtil.cpp
+++ b/storage/ndb/src/kernel/blocks/dbutil/DbUtil.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/dbutil/DbUtil.hpp b/storage/ndb/src/kernel/blocks/dbutil/DbUtil.hpp
index 3979fe02e82..db4f9421b2a 100644
--- a/storage/ndb/src/kernel/blocks/dbutil/DbUtil.hpp
+++ b/storage/ndb/src/kernel/blocks/dbutil/DbUtil.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/diskpage.hpp b/storage/ndb/src/kernel/blocks/diskpage.hpp
index 92790a6f83c..ef393833a18 100644
--- a/storage/ndb/src/kernel/blocks/diskpage.hpp
+++ b/storage/ndb/src/kernel/blocks/diskpage.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/lgman.hpp b/storage/ndb/src/kernel/blocks/lgman.hpp
index 34a27acd7cd..c667dbfdef1 100644
--- a/storage/ndb/src/kernel/blocks/lgman.hpp
+++ b/storage/ndb/src/kernel/blocks/lgman.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/mutexes.hpp b/storage/ndb/src/kernel/blocks/mutexes.hpp
index fe4fb9c70c2..fbefd9edd55 100644
--- a/storage/ndb/src/kernel/blocks/mutexes.hpp
+++ b/storage/ndb/src/kernel/blocks/mutexes.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp b/storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp
index f73e2ce4f80..29c187ea123 100644
--- a/storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp b/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp
index 362fc34f72f..ba3c480e865 100644
--- a/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp b/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
index 0191e11805b..4d9e09b57fb 100644
--- a/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrSysTable.cpp b/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrSysTable.cpp
index aef6f7d063e..e0e71a3882a 100644
--- a/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrSysTable.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrSysTable.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp b/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
index 074c675305e..c619d5f9c05 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp b/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp
index 9b6601edccc..fdb57af5102 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp b/storage/ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp
index 48b39386f4d..20c4ca6560b 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.cpp b/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.cpp
index 2a9763746f1..938b17069e1 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.hpp b/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.hpp
index eeac67e8911..ab044b8cffc 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/CircularIndex.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/Filename.cpp b/storage/ndb/src/kernel/blocks/ndbfs/Filename.cpp
index 268f0740491..dd762e6d361 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/Filename.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/Filename.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/Filename.hpp b/storage/ndb/src/kernel/blocks/ndbfs/Filename.hpp
index 413c2ce1182..0e3687ee912 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/Filename.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/Filename.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.cpp b/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.cpp
index b764ccbddf9..e94c6ff1d19 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp b/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp
index e9273610c9a..8ab49e6c644 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannelTest/MemoryChannelTest.cpp b/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannelTest/MemoryChannelTest.cpp
index 29c32ba4b46..0cfe123d0ee 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannelTest/MemoryChannelTest.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/MemoryChannelTest/MemoryChannelTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp b/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
index a04ce447462..ec73aa1eed6 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp b/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp
index b26722c7ab4..77e6dbbc982 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp b/storage/ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp
index 52354f5e376..594b065ebf0 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/Pool.hpp b/storage/ndb/src/kernel/blocks/ndbfs/Pool.hpp
index 96f0b8008d8..36e45c7e4d8 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/Pool.hpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/Pool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/ndbfs/VoidFs.cpp b/storage/ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
index c973d88b2ed..7b8d1874ff8 100644
--- a/storage/ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
+++ b/storage/ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/pgman.cpp b/storage/ndb/src/kernel/blocks/pgman.cpp
index a605b3f5a09..2241374f29a 100644
--- a/storage/ndb/src/kernel/blocks/pgman.cpp
+++ b/storage/ndb/src/kernel/blocks/pgman.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/pgman.hpp b/storage/ndb/src/kernel/blocks/pgman.hpp
index 2f0b9fc9693..0c6c26b58b7 100644
--- a/storage/ndb/src/kernel/blocks/pgman.hpp
+++ b/storage/ndb/src/kernel/blocks/pgman.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/print_file.cpp b/storage/ndb/src/kernel/blocks/print_file.cpp
index b1dff39deff..c5aefc97d83 100644
--- a/storage/ndb/src/kernel/blocks/print_file.cpp
+++ b/storage/ndb/src/kernel/blocks/print_file.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp b/storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp
index bfd68d7144d..86ec63dc307 100644
--- a/storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp
+++ b/storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp b/storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp
index 5e15e94b3c0..83539bfbe9f 100644
--- a/storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp
+++ b/storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp b/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
index adb96db02d0..a0a77c7565b 100644
--- a/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
+++ b/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/qmgr/timer.hpp b/storage/ndb/src/kernel/blocks/qmgr/timer.hpp
index 8376186244e..d02f4f3a1b7 100644
--- a/storage/ndb/src/kernel/blocks/qmgr/timer.hpp
+++ b/storage/ndb/src/kernel/blocks/qmgr/timer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/record_types.hpp b/storage/ndb/src/kernel/blocks/record_types.hpp
index ffa4737cb61..f6cc398ff4f 100644
--- a/storage/ndb/src/kernel/blocks/record_types.hpp
+++ b/storage/ndb/src/kernel/blocks/record_types.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/restore.cpp b/storage/ndb/src/kernel/blocks/restore.cpp
index 256b632f7ca..70991c3b523 100644
--- a/storage/ndb/src/kernel/blocks/restore.cpp
+++ b/storage/ndb/src/kernel/blocks/restore.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/restore.hpp b/storage/ndb/src/kernel/blocks/restore.hpp
index 4bc77925c10..7ff7cb11042 100644
--- a/storage/ndb/src/kernel/blocks/restore.hpp
+++ b/storage/ndb/src/kernel/blocks/restore.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/suma/Suma.cpp b/storage/ndb/src/kernel/blocks/suma/Suma.cpp
index 0c4c61c055b..ad811cada5e 100644
--- a/storage/ndb/src/kernel/blocks/suma/Suma.cpp
+++ b/storage/ndb/src/kernel/blocks/suma/Suma.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/suma/Suma.hpp b/storage/ndb/src/kernel/blocks/suma/Suma.hpp
index 899c5f275db..6d0aead653d 100644
--- a/storage/ndb/src/kernel/blocks/suma/Suma.hpp
+++ b/storage/ndb/src/kernel/blocks/suma/Suma.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/suma/SumaInit.cpp b/storage/ndb/src/kernel/blocks/suma/SumaInit.cpp
index edf93370ab4..40c9ce75e2b 100644
--- a/storage/ndb/src/kernel/blocks/suma/SumaInit.cpp
+++ b/storage/ndb/src/kernel/blocks/suma/SumaInit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/trix/Trix.cpp b/storage/ndb/src/kernel/blocks/trix/Trix.cpp
index 9f2f1313608..1ab322ecfa0 100644
--- a/storage/ndb/src/kernel/blocks/trix/Trix.cpp
+++ b/storage/ndb/src/kernel/blocks/trix/Trix.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/trix/Trix.hpp b/storage/ndb/src/kernel/blocks/trix/Trix.hpp
index b554e7f4ade..3d6f924419e 100644
--- a/storage/ndb/src/kernel/blocks/trix/Trix.hpp
+++ b/storage/ndb/src/kernel/blocks/trix/Trix.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/tsman.cpp b/storage/ndb/src/kernel/blocks/tsman.cpp
index 4cc6c86f032..24f6954fe0e 100644
--- a/storage/ndb/src/kernel/blocks/tsman.cpp
+++ b/storage/ndb/src/kernel/blocks/tsman.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/blocks/tsman.hpp b/storage/ndb/src/kernel/blocks/tsman.hpp
index 0e7da726709..892944eacbc 100644
--- a/storage/ndb/src/kernel/blocks/tsman.hpp
+++ b/storage/ndb/src/kernel/blocks/tsman.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/error/ErrorHandlingMacros.hpp b/storage/ndb/src/kernel/error/ErrorHandlingMacros.hpp
index cc284180994..7c28ca65d38 100644
--- a/storage/ndb/src/kernel/error/ErrorHandlingMacros.hpp
+++ b/storage/ndb/src/kernel/error/ErrorHandlingMacros.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/error/ErrorReporter.cpp b/storage/ndb/src/kernel/error/ErrorReporter.cpp
index 5d210c7bf9d..a24b9054345 100644
--- a/storage/ndb/src/kernel/error/ErrorReporter.cpp
+++ b/storage/ndb/src/kernel/error/ErrorReporter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/error/ErrorReporter.hpp b/storage/ndb/src/kernel/error/ErrorReporter.hpp
index 8ce6aec9a42..1cd2f0894fb 100644
--- a/storage/ndb/src/kernel/error/ErrorReporter.hpp
+++ b/storage/ndb/src/kernel/error/ErrorReporter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/error/TimeModule.cpp b/storage/ndb/src/kernel/error/TimeModule.cpp
index b0ac93c30bf..33acdbbf1cf 100644
--- a/storage/ndb/src/kernel/error/TimeModule.cpp
+++ b/storage/ndb/src/kernel/error/TimeModule.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/error/TimeModule.hpp b/storage/ndb/src/kernel/error/TimeModule.hpp
index 6accd0535af..23ff1f03632 100644
--- a/storage/ndb/src/kernel/error/TimeModule.hpp
+++ b/storage/ndb/src/kernel/error/TimeModule.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/error/ndbd_exit_codes.c b/storage/ndb/src/kernel/error/ndbd_exit_codes.c
index 1f43be040df..4d2976675c8 100644
--- a/storage/ndb/src/kernel/error/ndbd_exit_codes.c
+++ b/storage/ndb/src/kernel/error/ndbd_exit_codes.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/main.cpp b/storage/ndb/src/kernel/main.cpp
index d2899318fd6..e84c8e53579 100644
--- a/storage/ndb/src/kernel/main.cpp
+++ b/storage/ndb/src/kernel/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Array.hpp b/storage/ndb/src/kernel/vm/Array.hpp
index 547f3d800cd..3c4995c1f9c 100644
--- a/storage/ndb/src/kernel/vm/Array.hpp
+++ b/storage/ndb/src/kernel/vm/Array.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ArrayPool.hpp b/storage/ndb/src/kernel/vm/ArrayPool.hpp
index 0c2bbd4f803..9c8e8732556 100644
--- a/storage/ndb/src/kernel/vm/ArrayPool.hpp
+++ b/storage/ndb/src/kernel/vm/ArrayPool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/CArray.hpp b/storage/ndb/src/kernel/vm/CArray.hpp
index dea389be5b0..20e60051dc5 100644
--- a/storage/ndb/src/kernel/vm/CArray.hpp
+++ b/storage/ndb/src/kernel/vm/CArray.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Callback.hpp b/storage/ndb/src/kernel/vm/Callback.hpp
index 2be8d6cbf51..08797615ce7 100644
--- a/storage/ndb/src/kernel/vm/Callback.hpp
+++ b/storage/ndb/src/kernel/vm/Callback.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ClusterConfiguration.cpp b/storage/ndb/src/kernel/vm/ClusterConfiguration.cpp
index 2455b5acaf0..37529fdda97 100644
--- a/storage/ndb/src/kernel/vm/ClusterConfiguration.cpp
+++ b/storage/ndb/src/kernel/vm/ClusterConfiguration.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ClusterConfiguration.hpp b/storage/ndb/src/kernel/vm/ClusterConfiguration.hpp
index 3e70f918aa0..0c7b5fb5d6c 100644
--- a/storage/ndb/src/kernel/vm/ClusterConfiguration.hpp
+++ b/storage/ndb/src/kernel/vm/ClusterConfiguration.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Configuration.cpp b/storage/ndb/src/kernel/vm/Configuration.cpp
index aa678f67bb5..c84b068ce9c 100644
--- a/storage/ndb/src/kernel/vm/Configuration.cpp
+++ b/storage/ndb/src/kernel/vm/Configuration.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Configuration.hpp b/storage/ndb/src/kernel/vm/Configuration.hpp
index bef53e1f446..7f4ec20ac85 100644
--- a/storage/ndb/src/kernel/vm/Configuration.hpp
+++ b/storage/ndb/src/kernel/vm/Configuration.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DLCFifoList.hpp b/storage/ndb/src/kernel/vm/DLCFifoList.hpp
index 084514ebd58..b27a04db31c 100644
--- a/storage/ndb/src/kernel/vm/DLCFifoList.hpp
+++ b/storage/ndb/src/kernel/vm/DLCFifoList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DLCHashTable.hpp b/storage/ndb/src/kernel/vm/DLCHashTable.hpp
index 2891c4aa92f..f54da1d8569 100644
--- a/storage/ndb/src/kernel/vm/DLCHashTable.hpp
+++ b/storage/ndb/src/kernel/vm/DLCHashTable.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DLFifoList.hpp b/storage/ndb/src/kernel/vm/DLFifoList.hpp
index fedbedc1320..52ef5ffb358 100644
--- a/storage/ndb/src/kernel/vm/DLFifoList.hpp
+++ b/storage/ndb/src/kernel/vm/DLFifoList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DLHashTable.hpp b/storage/ndb/src/kernel/vm/DLHashTable.hpp
index a43aca5b803..a03dd15c8a9 100644
--- a/storage/ndb/src/kernel/vm/DLHashTable.hpp
+++ b/storage/ndb/src/kernel/vm/DLHashTable.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DLHashTable2.hpp b/storage/ndb/src/kernel/vm/DLHashTable2.hpp
index 69bd15dd34a..c32cbca0325 100644
--- a/storage/ndb/src/kernel/vm/DLHashTable2.hpp
+++ b/storage/ndb/src/kernel/vm/DLHashTable2.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DLList.hpp b/storage/ndb/src/kernel/vm/DLList.hpp
index adc289e0696..d3df0c5cebf 100644
--- a/storage/ndb/src/kernel/vm/DLList.hpp
+++ b/storage/ndb/src/kernel/vm/DLList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DataBuffer.hpp b/storage/ndb/src/kernel/vm/DataBuffer.hpp
index 4a1df09d3de..7d2b5d50e5c 100644
--- a/storage/ndb/src/kernel/vm/DataBuffer.hpp
+++ b/storage/ndb/src/kernel/vm/DataBuffer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DynArr256.cpp b/storage/ndb/src/kernel/vm/DynArr256.cpp
index 67cfde6811b..2c9a56d2d60 100644
--- a/storage/ndb/src/kernel/vm/DynArr256.cpp
+++ b/storage/ndb/src/kernel/vm/DynArr256.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/DynArr256.hpp b/storage/ndb/src/kernel/vm/DynArr256.hpp
index 5b4f2395bf0..9c2045ab1ea 100644
--- a/storage/ndb/src/kernel/vm/DynArr256.hpp
+++ b/storage/ndb/src/kernel/vm/DynArr256.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Emulator.cpp b/storage/ndb/src/kernel/vm/Emulator.cpp
index 77748916b0d..7d1d3f80b04 100644
--- a/storage/ndb/src/kernel/vm/Emulator.cpp
+++ b/storage/ndb/src/kernel/vm/Emulator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Emulator.hpp b/storage/ndb/src/kernel/vm/Emulator.hpp
index 767f5b03498..3adc17ed3d6 100644
--- a/storage/ndb/src/kernel/vm/Emulator.hpp
+++ b/storage/ndb/src/kernel/vm/Emulator.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/FastScheduler.cpp b/storage/ndb/src/kernel/vm/FastScheduler.cpp
index 3199c9d741d..f4a3a5c658f 100644
--- a/storage/ndb/src/kernel/vm/FastScheduler.cpp
+++ b/storage/ndb/src/kernel/vm/FastScheduler.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/FastScheduler.hpp b/storage/ndb/src/kernel/vm/FastScheduler.hpp
index 02391ab477e..23638c168ca 100644
--- a/storage/ndb/src/kernel/vm/FastScheduler.hpp
+++ b/storage/ndb/src/kernel/vm/FastScheduler.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/GlobalData.hpp b/storage/ndb/src/kernel/vm/GlobalData.hpp
index 5806ee61de3..fa9f23da4e1 100644
--- a/storage/ndb/src/kernel/vm/GlobalData.hpp
+++ b/storage/ndb/src/kernel/vm/GlobalData.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/KeyDescriptor.hpp b/storage/ndb/src/kernel/vm/KeyDescriptor.hpp
index 3e695d4adeb..3292db2eede 100644
--- a/storage/ndb/src/kernel/vm/KeyDescriptor.hpp
+++ b/storage/ndb/src/kernel/vm/KeyDescriptor.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/KeyTable.hpp b/storage/ndb/src/kernel/vm/KeyTable.hpp
index 229d9a8c9d8..6f36f781217 100644
--- a/storage/ndb/src/kernel/vm/KeyTable.hpp
+++ b/storage/ndb/src/kernel/vm/KeyTable.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/KeyTable2.hpp b/storage/ndb/src/kernel/vm/KeyTable2.hpp
index 59d6028bd23..76076b72688 100644
--- a/storage/ndb/src/kernel/vm/KeyTable2.hpp
+++ b/storage/ndb/src/kernel/vm/KeyTable2.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/KeyTable2Ref.hpp b/storage/ndb/src/kernel/vm/KeyTable2Ref.hpp
index 651c2835e18..2a78422c1c6 100644
--- a/storage/ndb/src/kernel/vm/KeyTable2Ref.hpp
+++ b/storage/ndb/src/kernel/vm/KeyTable2Ref.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/LinearPool.hpp b/storage/ndb/src/kernel/vm/LinearPool.hpp
index 3d561f342bd..06992abfdac 100644
--- a/storage/ndb/src/kernel/vm/LinearPool.hpp
+++ b/storage/ndb/src/kernel/vm/LinearPool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/LongSignal.hpp b/storage/ndb/src/kernel/vm/LongSignal.hpp
index 6faf67bead5..a8417be8215 100644
--- a/storage/ndb/src/kernel/vm/LongSignal.hpp
+++ b/storage/ndb/src/kernel/vm/LongSignal.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Mutex.cpp b/storage/ndb/src/kernel/vm/Mutex.cpp
index 17b4620d7d9..c75f8385376 100644
--- a/storage/ndb/src/kernel/vm/Mutex.cpp
+++ b/storage/ndb/src/kernel/vm/Mutex.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Mutex.hpp b/storage/ndb/src/kernel/vm/Mutex.hpp
index 16b7c6cc93d..1a39ef10996 100644
--- a/storage/ndb/src/kernel/vm/Mutex.hpp
+++ b/storage/ndb/src/kernel/vm/Mutex.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/NdbdSuperPool.cpp b/storage/ndb/src/kernel/vm/NdbdSuperPool.cpp
index 2e8b422295f..22bb7044bdb 100644
--- a/storage/ndb/src/kernel/vm/NdbdSuperPool.cpp
+++ b/storage/ndb/src/kernel/vm/NdbdSuperPool.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/NdbdSuperPool.hpp b/storage/ndb/src/kernel/vm/NdbdSuperPool.hpp
index 171732d6a48..49c91f7c83d 100644
--- a/storage/ndb/src/kernel/vm/NdbdSuperPool.hpp
+++ b/storage/ndb/src/kernel/vm/NdbdSuperPool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Pool.cpp b/storage/ndb/src/kernel/vm/Pool.cpp
index 7753b62b17c..523c3238844 100644
--- a/storage/ndb/src/kernel/vm/Pool.cpp
+++ b/storage/ndb/src/kernel/vm/Pool.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Pool.hpp b/storage/ndb/src/kernel/vm/Pool.hpp
index 8facb931a74..aee7fda160d 100644
--- a/storage/ndb/src/kernel/vm/Pool.hpp
+++ b/storage/ndb/src/kernel/vm/Pool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Prio.hpp b/storage/ndb/src/kernel/vm/Prio.hpp
index 701fdd8a1f8..606713f0064 100644
--- a/storage/ndb/src/kernel/vm/Prio.hpp
+++ b/storage/ndb/src/kernel/vm/Prio.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/RWPool.cpp b/storage/ndb/src/kernel/vm/RWPool.cpp
index 7982682c827..878ce9cb73b 100644
--- a/storage/ndb/src/kernel/vm/RWPool.cpp
+++ b/storage/ndb/src/kernel/vm/RWPool.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/RWPool.hpp b/storage/ndb/src/kernel/vm/RWPool.hpp
index c0136ef1711..6a2d92b7970 100644
--- a/storage/ndb/src/kernel/vm/RWPool.hpp
+++ b/storage/ndb/src/kernel/vm/RWPool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/RequestTracker.hpp b/storage/ndb/src/kernel/vm/RequestTracker.hpp
index b9c20ec805e..d0df66bb37c 100644
--- a/storage/ndb/src/kernel/vm/RequestTracker.hpp
+++ b/storage/ndb/src/kernel/vm/RequestTracker.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/Rope.hpp b/storage/ndb/src/kernel/vm/Rope.hpp
index 65ff5474f5e..60f29bf277e 100644
--- a/storage/ndb/src/kernel/vm/Rope.hpp
+++ b/storage/ndb/src/kernel/vm/Rope.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SLFifoList.hpp b/storage/ndb/src/kernel/vm/SLFifoList.hpp
index ec887578907..d068397cab6 100644
--- a/storage/ndb/src/kernel/vm/SLFifoList.hpp
+++ b/storage/ndb/src/kernel/vm/SLFifoList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SLList.hpp b/storage/ndb/src/kernel/vm/SLList.hpp
index 2fb5cee27a1..0b2bcde07a0 100644
--- a/storage/ndb/src/kernel/vm/SLList.hpp
+++ b/storage/ndb/src/kernel/vm/SLList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SafeCounter.cpp b/storage/ndb/src/kernel/vm/SafeCounter.cpp
index d7bd16f28fb..3c6037d40e2 100644
--- a/storage/ndb/src/kernel/vm/SafeCounter.cpp
+++ b/storage/ndb/src/kernel/vm/SafeCounter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SafeCounter.hpp b/storage/ndb/src/kernel/vm/SafeCounter.hpp
index 0238067aefb..2fe69040ed9 100644
--- a/storage/ndb/src/kernel/vm/SafeCounter.hpp
+++ b/storage/ndb/src/kernel/vm/SafeCounter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SectionReader.cpp b/storage/ndb/src/kernel/vm/SectionReader.cpp
index a74c4d28b0e..f01ee011218 100644
--- a/storage/ndb/src/kernel/vm/SectionReader.cpp
+++ b/storage/ndb/src/kernel/vm/SectionReader.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SectionReader.hpp b/storage/ndb/src/kernel/vm/SectionReader.hpp
index 05090298758..e440c48a7a4 100644
--- a/storage/ndb/src/kernel/vm/SectionReader.hpp
+++ b/storage/ndb/src/kernel/vm/SectionReader.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SignalCounter.hpp b/storage/ndb/src/kernel/vm/SignalCounter.hpp
index e5aae598690..1f8bda12d39 100644
--- a/storage/ndb/src/kernel/vm/SignalCounter.hpp
+++ b/storage/ndb/src/kernel/vm/SignalCounter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SimBlockList.hpp b/storage/ndb/src/kernel/vm/SimBlockList.hpp
index cc23daf0a97..2271b40e4fe 100644
--- a/storage/ndb/src/kernel/vm/SimBlockList.hpp
+++ b/storage/ndb/src/kernel/vm/SimBlockList.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SimplePropertiesSection.cpp b/storage/ndb/src/kernel/vm/SimplePropertiesSection.cpp
index 4287367375c..ce1a012dc62 100644
--- a/storage/ndb/src/kernel/vm/SimplePropertiesSection.cpp
+++ b/storage/ndb/src/kernel/vm/SimplePropertiesSection.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SimulatedBlock.cpp b/storage/ndb/src/kernel/vm/SimulatedBlock.cpp
index 1be27a63ebc..a3dac39dcc9 100644
--- a/storage/ndb/src/kernel/vm/SimulatedBlock.cpp
+++ b/storage/ndb/src/kernel/vm/SimulatedBlock.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SimulatedBlock.hpp b/storage/ndb/src/kernel/vm/SimulatedBlock.hpp
index 315de9311ca..111f2a6d8f1 100644
--- a/storage/ndb/src/kernel/vm/SimulatedBlock.hpp
+++ b/storage/ndb/src/kernel/vm/SimulatedBlock.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SuperPool.cpp b/storage/ndb/src/kernel/vm/SuperPool.cpp
index 1a29334f9a8..da19abcf90b 100644
--- a/storage/ndb/src/kernel/vm/SuperPool.cpp
+++ b/storage/ndb/src/kernel/vm/SuperPool.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/SuperPool.hpp b/storage/ndb/src/kernel/vm/SuperPool.hpp
index d4cd49476dc..98de1dd3dd7 100644
--- a/storage/ndb/src/kernel/vm/SuperPool.hpp
+++ b/storage/ndb/src/kernel/vm/SuperPool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ThreadConfig.cpp b/storage/ndb/src/kernel/vm/ThreadConfig.cpp
index f56ccb11f5f..7f7f1bac583 100644
--- a/storage/ndb/src/kernel/vm/ThreadConfig.cpp
+++ b/storage/ndb/src/kernel/vm/ThreadConfig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ThreadConfig.hpp b/storage/ndb/src/kernel/vm/ThreadConfig.hpp
index cc81d724f34..be273939a16 100644
--- a/storage/ndb/src/kernel/vm/ThreadConfig.hpp
+++ b/storage/ndb/src/kernel/vm/ThreadConfig.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/TimeQueue.cpp b/storage/ndb/src/kernel/vm/TimeQueue.cpp
index dda021a2da8..7f290469a0d 100644
--- a/storage/ndb/src/kernel/vm/TimeQueue.cpp
+++ b/storage/ndb/src/kernel/vm/TimeQueue.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/TimeQueue.hpp b/storage/ndb/src/kernel/vm/TimeQueue.hpp
index efec937f4aa..9db358fd02d 100644
--- a/storage/ndb/src/kernel/vm/TimeQueue.hpp
+++ b/storage/ndb/src/kernel/vm/TimeQueue.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/TransporterCallback.cpp b/storage/ndb/src/kernel/vm/TransporterCallback.cpp
index cad4ade75cc..ff1aa3c8d2a 100644
--- a/storage/ndb/src/kernel/vm/TransporterCallback.cpp
+++ b/storage/ndb/src/kernel/vm/TransporterCallback.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/VMSignal.cpp b/storage/ndb/src/kernel/vm/VMSignal.cpp
index 7139676cfaf..fb32408b7ec 100644
--- a/storage/ndb/src/kernel/vm/VMSignal.cpp
+++ b/storage/ndb/src/kernel/vm/VMSignal.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/VMSignal.hpp b/storage/ndb/src/kernel/vm/VMSignal.hpp
index 8f949a95c48..c34fd9f3d5f 100644
--- a/storage/ndb/src/kernel/vm/VMSignal.hpp
+++ b/storage/ndb/src/kernel/vm/VMSignal.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/WOPool.cpp b/storage/ndb/src/kernel/vm/WOPool.cpp
index 1407081abff..99318fc32df 100644
--- a/storage/ndb/src/kernel/vm/WOPool.cpp
+++ b/storage/ndb/src/kernel/vm/WOPool.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/WOPool.hpp b/storage/ndb/src/kernel/vm/WOPool.hpp
index c5528ff8796..781d4831bac 100644
--- a/storage/ndb/src/kernel/vm/WOPool.hpp
+++ b/storage/ndb/src/kernel/vm/WOPool.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/WaitQueue.hpp b/storage/ndb/src/kernel/vm/WaitQueue.hpp
index ea604c5a8ff..1da853bacad 100644
--- a/storage/ndb/src/kernel/vm/WaitQueue.hpp
+++ b/storage/ndb/src/kernel/vm/WaitQueue.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/WatchDog.cpp b/storage/ndb/src/kernel/vm/WatchDog.cpp
index a759dc408de..5714b4d27f5 100644
--- a/storage/ndb/src/kernel/vm/WatchDog.cpp
+++ b/storage/ndb/src/kernel/vm/WatchDog.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/WatchDog.hpp b/storage/ndb/src/kernel/vm/WatchDog.hpp
index ebafa183a53..20bb39e3710 100644
--- a/storage/ndb/src/kernel/vm/WatchDog.hpp
+++ b/storage/ndb/src/kernel/vm/WatchDog.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/al_test/arrayListTest.cpp b/storage/ndb/src/kernel/vm/al_test/arrayListTest.cpp
index 6273b935b8d..0a67bc71b57 100644
--- a/storage/ndb/src/kernel/vm/al_test/arrayListTest.cpp
+++ b/storage/ndb/src/kernel/vm/al_test/arrayListTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/al_test/arrayPoolTest.cpp b/storage/ndb/src/kernel/vm/al_test/arrayPoolTest.cpp
index 29f71f58fd6..d644b23cafc 100644
--- a/storage/ndb/src/kernel/vm/al_test/arrayPoolTest.cpp
+++ b/storage/ndb/src/kernel/vm/al_test/arrayPoolTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/al_test/main.cpp b/storage/ndb/src/kernel/vm/al_test/main.cpp
index f34c9218cf5..ef6ae5263de 100644
--- a/storage/ndb/src/kernel/vm/al_test/main.cpp
+++ b/storage/ndb/src/kernel/vm/al_test/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/bench_pool.cpp b/storage/ndb/src/kernel/vm/bench_pool.cpp
index 4a10578365c..db573715894 100644
--- a/storage/ndb/src/kernel/vm/bench_pool.cpp
+++ b/storage/ndb/src/kernel/vm/bench_pool.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ndbd_malloc.cpp b/storage/ndb/src/kernel/vm/ndbd_malloc.cpp
index 8e99093fbe4..aff61503701 100644
--- a/storage/ndb/src/kernel/vm/ndbd_malloc.cpp
+++ b/storage/ndb/src/kernel/vm/ndbd_malloc.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ndbd_malloc.hpp b/storage/ndb/src/kernel/vm/ndbd_malloc.hpp
index 9c1d8f6cc60..0159b9cd7e7 100644
--- a/storage/ndb/src/kernel/vm/ndbd_malloc.hpp
+++ b/storage/ndb/src/kernel/vm/ndbd_malloc.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp b/storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp
index bed1a03df17..1e7c5e2dafe 100644
--- a/storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp
+++ b/storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp b/storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp
index cfe55450341..87cd35aedc0 100644
--- a/storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp
+++ b/storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/pc.hpp b/storage/ndb/src/kernel/vm/pc.hpp
index c63805cce26..dd11bcd1a22 100644
--- a/storage/ndb/src/kernel/vm/pc.hpp
+++ b/storage/ndb/src/kernel/vm/pc.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/testCopy/rr.cpp b/storage/ndb/src/kernel/vm/testCopy/rr.cpp
index a2820857d19..7ba0b797293 100644
--- a/storage/ndb/src/kernel/vm/testCopy/rr.cpp
+++ b/storage/ndb/src/kernel/vm/testCopy/rr.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/testCopy/testCopy.cpp b/storage/ndb/src/kernel/vm/testCopy/testCopy.cpp
index 97de6268725..4f3160144a2 100644
--- a/storage/ndb/src/kernel/vm/testCopy/testCopy.cpp
+++ b/storage/ndb/src/kernel/vm/testCopy/testCopy.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/testDataBuffer/testDataBuffer.cpp b/storage/ndb/src/kernel/vm/testDataBuffer/testDataBuffer.cpp
index 1dfcb1c2f78..1372f47d0ee 100644
--- a/storage/ndb/src/kernel/vm/testDataBuffer/testDataBuffer.cpp
+++ b/storage/ndb/src/kernel/vm/testDataBuffer/testDataBuffer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/testLongSig/testLongSig.cpp b/storage/ndb/src/kernel/vm/testLongSig/testLongSig.cpp
index 5d796fdccd5..6a5083e5cd6 100644
--- a/storage/ndb/src/kernel/vm/testLongSig/testLongSig.cpp
+++ b/storage/ndb/src/kernel/vm/testLongSig/testLongSig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/testSimplePropertiesSection/test.cpp b/storage/ndb/src/kernel/vm/testSimplePropertiesSection/test.cpp
index 45b13f0626a..0d1afbfa636 100644
--- a/storage/ndb/src/kernel/vm/testSimplePropertiesSection/test.cpp
+++ b/storage/ndb/src/kernel/vm/testSimplePropertiesSection/test.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/kernel/vm/testSuperPool.cpp b/storage/ndb/src/kernel/vm/testSuperPool.cpp
index 9c720cfbd18..35630a15147 100644
--- a/storage/ndb/src/kernel/vm/testSuperPool.cpp
+++ b/storage/ndb/src/kernel/vm/testSuperPool.cpp
@@ -6,7 +6,7 @@ _eof_
exit $?
#endif
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/LocalConfig.cpp b/storage/ndb/src/mgmapi/LocalConfig.cpp
index 037cabceaa1..986761d53cc 100644
--- a/storage/ndb/src/mgmapi/LocalConfig.cpp
+++ b/storage/ndb/src/mgmapi/LocalConfig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/LocalConfig.hpp b/storage/ndb/src/mgmapi/LocalConfig.hpp
index c7de2b9870b..0485bb73093 100644
--- a/storage/ndb/src/mgmapi/LocalConfig.hpp
+++ b/storage/ndb/src/mgmapi/LocalConfig.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/mgmapi.cpp b/storage/ndb/src/mgmapi/mgmapi.cpp
index 23e6fad5559..9ae066d0f6e 100644
--- a/storage/ndb/src/mgmapi/mgmapi.cpp
+++ b/storage/ndb/src/mgmapi/mgmapi.cpp
@@ -1,4 +1,4 @@
- /* Copyright (C) 2003 MySQL AB
+ /* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/mgmapi_configuration.hpp b/storage/ndb/src/mgmapi/mgmapi_configuration.hpp
index a00bbe11fed..f597f90ed00 100644
--- a/storage/ndb/src/mgmapi/mgmapi_configuration.hpp
+++ b/storage/ndb/src/mgmapi/mgmapi_configuration.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/mgmapi_internal.h b/storage/ndb/src/mgmapi/mgmapi_internal.h
index d27b34f5ccd..24227bb7d5d 100644
--- a/storage/ndb/src/mgmapi/mgmapi_internal.h
+++ b/storage/ndb/src/mgmapi/mgmapi_internal.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005 MySQL AB
+/* Copyright (c) 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/ndb_logevent.cpp b/storage/ndb/src/mgmapi/ndb_logevent.cpp
index b3155b6f413..5aeb48440c3 100644
--- a/storage/ndb/src/mgmapi/ndb_logevent.cpp
+++ b/storage/ndb/src/mgmapi/ndb_logevent.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/ndb_logevent.hpp b/storage/ndb/src/mgmapi/ndb_logevent.hpp
index 791f4718b3f..a88d4fc72b8 100644
--- a/storage/ndb/src/mgmapi/ndb_logevent.hpp
+++ b/storage/ndb/src/mgmapi/ndb_logevent.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/test/keso.c b/storage/ndb/src/mgmapi/test/keso.c
index d56994e4256..465045de920 100644
--- a/storage/ndb/src/mgmapi/test/keso.c
+++ b/storage/ndb/src/mgmapi/test/keso.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmapi/test/mgmSrvApi.cpp b/storage/ndb/src/mgmapi/test/mgmSrvApi.cpp
index 0e866d5e55c..e2bc9a23d86 100644
--- a/storage/ndb/src/mgmapi/test/mgmSrvApi.cpp
+++ b/storage/ndb/src/mgmapi/test/mgmSrvApi.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmclient/CommandInterpreter.cpp b/storage/ndb/src/mgmclient/CommandInterpreter.cpp
index 64508d07303..1c33b648783 100644
--- a/storage/ndb/src/mgmclient/CommandInterpreter.cpp
+++ b/storage/ndb/src/mgmclient/CommandInterpreter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmclient/main.cpp b/storage/ndb/src/mgmclient/main.cpp
index 71dddac14f2..4622152de82 100644
--- a/storage/ndb/src/mgmclient/main.cpp
+++ b/storage/ndb/src/mgmclient/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmclient/ndb_mgmclient.h b/storage/ndb/src/mgmclient/ndb_mgmclient.h
index 505c5aba7fc..54b0caf18ef 100644
--- a/storage/ndb/src/mgmclient/ndb_mgmclient.h
+++ b/storage/ndb/src/mgmclient/ndb_mgmclient.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmclient/ndb_mgmclient.hpp b/storage/ndb/src/mgmclient/ndb_mgmclient.hpp
index 96d8741a94a..d2e366a8b8f 100644
--- a/storage/ndb/src/mgmclient/ndb_mgmclient.hpp
+++ b/storage/ndb/src/mgmclient/ndb_mgmclient.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmclient/test_cpcd/test_cpcd.cpp b/storage/ndb/src/mgmclient/test_cpcd/test_cpcd.cpp
index 3f201558ef0..09ab6b17d59 100644
--- a/storage/ndb/src/mgmclient/test_cpcd/test_cpcd.cpp
+++ b/storage/ndb/src/mgmclient/test_cpcd/test_cpcd.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/Config.cpp b/storage/ndb/src/mgmsrv/Config.cpp
index ebed8530c21..c67a2ae6a40 100644
--- a/storage/ndb/src/mgmsrv/Config.cpp
+++ b/storage/ndb/src/mgmsrv/Config.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/Config.hpp b/storage/ndb/src/mgmsrv/Config.hpp
index aaa6ef27a84..baada4756a1 100644
--- a/storage/ndb/src/mgmsrv/Config.hpp
+++ b/storage/ndb/src/mgmsrv/Config.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/ConfigInfo.cpp b/storage/ndb/src/mgmsrv/ConfigInfo.cpp
index 8bc6a18bb1d..d615185e870 100644
--- a/storage/ndb/src/mgmsrv/ConfigInfo.cpp
+++ b/storage/ndb/src/mgmsrv/ConfigInfo.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/ConfigInfo.hpp b/storage/ndb/src/mgmsrv/ConfigInfo.hpp
index dae15f49803..6226b721840 100644
--- a/storage/ndb/src/mgmsrv/ConfigInfo.hpp
+++ b/storage/ndb/src/mgmsrv/ConfigInfo.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp b/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
index ecc8f9db0ac..c44cb37880a 100644
--- a/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
+++ b/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/InitConfigFileParser.hpp b/storage/ndb/src/mgmsrv/InitConfigFileParser.hpp
index bc518662187..caf0c44d492 100644
--- a/storage/ndb/src/mgmsrv/InitConfigFileParser.hpp
+++ b/storage/ndb/src/mgmsrv/InitConfigFileParser.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
index 11a11b69a0d..285cee0b983 100644
--- a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/MgmtSrvr.hpp b/storage/ndb/src/mgmsrv/MgmtSrvr.hpp
index 2fe080ee6eb..4d6de2cee52 100644
--- a/storage/ndb/src/mgmsrv/MgmtSrvr.hpp
+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/MgmtSrvrConfig.cpp b/storage/ndb/src/mgmsrv/MgmtSrvrConfig.cpp
index 090d8609fa5..74d4ff5ded1 100644
--- a/storage/ndb/src/mgmsrv/MgmtSrvrConfig.cpp
+++ b/storage/ndb/src/mgmsrv/MgmtSrvrConfig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp b/storage/ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp
index ed86febcc00..cf5740d6748 100644
--- a/storage/ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp
+++ b/storage/ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/Services.cpp b/storage/ndb/src/mgmsrv/Services.cpp
index f20d57e4362..db9d11c8a72 100644
--- a/storage/ndb/src/mgmsrv/Services.cpp
+++ b/storage/ndb/src/mgmsrv/Services.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/Services.hpp b/storage/ndb/src/mgmsrv/Services.hpp
index 76d8ccba669..26495135696 100644
--- a/storage/ndb/src/mgmsrv/Services.hpp
+++ b/storage/ndb/src/mgmsrv/Services.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/SignalQueue.cpp b/storage/ndb/src/mgmsrv/SignalQueue.cpp
index 42eabdc03ea..89e3e1b2655 100644
--- a/storage/ndb/src/mgmsrv/SignalQueue.cpp
+++ b/storage/ndb/src/mgmsrv/SignalQueue.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/SignalQueue.hpp b/storage/ndb/src/mgmsrv/SignalQueue.hpp
index a8c3de911f4..5570fc32896 100644
--- a/storage/ndb/src/mgmsrv/SignalQueue.hpp
+++ b/storage/ndb/src/mgmsrv/SignalQueue.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/convertStrToInt.cpp b/storage/ndb/src/mgmsrv/convertStrToInt.cpp
index 04af66f5052..b81de9ba999 100644
--- a/storage/ndb/src/mgmsrv/convertStrToInt.cpp
+++ b/storage/ndb/src/mgmsrv/convertStrToInt.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/convertStrToInt.hpp b/storage/ndb/src/mgmsrv/convertStrToInt.hpp
index 89444d16eeb..23241b538e9 100644
--- a/storage/ndb/src/mgmsrv/convertStrToInt.hpp
+++ b/storage/ndb/src/mgmsrv/convertStrToInt.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/main.cpp b/storage/ndb/src/mgmsrv/main.cpp
index 0547a2837de..7cf286db969 100644
--- a/storage/ndb/src/mgmsrv/main.cpp
+++ b/storage/ndb/src/mgmsrv/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/mgmsrv/mkconfig/mkconfig.cpp b/storage/ndb/src/mgmsrv/mkconfig/mkconfig.cpp
index 0fde8591f95..19be88c314b 100644
--- a/storage/ndb/src/mgmsrv/mkconfig/mkconfig.cpp
+++ b/storage/ndb/src/mgmsrv/mkconfig/mkconfig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/API.hpp b/storage/ndb/src/ndbapi/API.hpp
index a9da220f00c..c8b04ddf4d9 100644
--- a/storage/ndb/src/ndbapi/API.hpp
+++ b/storage/ndb/src/ndbapi/API.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/ClusterMgr.cpp b/storage/ndb/src/ndbapi/ClusterMgr.cpp
index 54cd626dfb3..7948f272e58 100644
--- a/storage/ndb/src/ndbapi/ClusterMgr.cpp
+++ b/storage/ndb/src/ndbapi/ClusterMgr.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/ClusterMgr.hpp b/storage/ndb/src/ndbapi/ClusterMgr.hpp
index d29a79783f3..1904cc1a65b 100644
--- a/storage/ndb/src/ndbapi/ClusterMgr.hpp
+++ b/storage/ndb/src/ndbapi/ClusterMgr.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/DictCache.cpp b/storage/ndb/src/ndbapi/DictCache.cpp
index e889ba2dccb..44f258526b3 100644
--- a/storage/ndb/src/ndbapi/DictCache.cpp
+++ b/storage/ndb/src/ndbapi/DictCache.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/DictCache.hpp b/storage/ndb/src/ndbapi/DictCache.hpp
index e0a1239d260..274c23c8fdb 100644
--- a/storage/ndb/src/ndbapi/DictCache.hpp
+++ b/storage/ndb/src/ndbapi/DictCache.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/Ndb.cpp b/storage/ndb/src/ndbapi/Ndb.cpp
index 5e5401e308c..ebe062d6974 100644
--- a/storage/ndb/src/ndbapi/Ndb.cpp
+++ b/storage/ndb/src/ndbapi/Ndb.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbApiSignal.cpp b/storage/ndb/src/ndbapi/NdbApiSignal.cpp
index 5fe93910250..a73868da556 100644
--- a/storage/ndb/src/ndbapi/NdbApiSignal.cpp
+++ b/storage/ndb/src/ndbapi/NdbApiSignal.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbApiSignal.hpp b/storage/ndb/src/ndbapi/NdbApiSignal.hpp
index 57f41600fc6..0718cc40dd4 100644
--- a/storage/ndb/src/ndbapi/NdbApiSignal.hpp
+++ b/storage/ndb/src/ndbapi/NdbApiSignal.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbBlob.cpp b/storage/ndb/src/ndbapi/NdbBlob.cpp
index a77bc285fd2..fddde006615 100644
--- a/storage/ndb/src/ndbapi/NdbBlob.cpp
+++ b/storage/ndb/src/ndbapi/NdbBlob.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbBlobImpl.hpp b/storage/ndb/src/ndbapi/NdbBlobImpl.hpp
index 1b954a0104f..9c77444f7a7 100644
--- a/storage/ndb/src/ndbapi/NdbBlobImpl.hpp
+++ b/storage/ndb/src/ndbapi/NdbBlobImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbDictionary.cpp b/storage/ndb/src/ndbapi/NdbDictionary.cpp
index 24123852e3c..12910450d27 100644
--- a/storage/ndb/src/ndbapi/NdbDictionary.cpp
+++ b/storage/ndb/src/ndbapi/NdbDictionary.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp b/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
index ee5238503ed..f453a15bc3e 100644
--- a/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+++ b/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp b/storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp
index 8f5d3742db8..c7eab6c98e8 100644
--- a/storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp
+++ b/storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbErrorOut.cpp b/storage/ndb/src/ndbapi/NdbErrorOut.cpp
index 00ebfa37897..47a7a32c254 100644
--- a/storage/ndb/src/ndbapi/NdbErrorOut.cpp
+++ b/storage/ndb/src/ndbapi/NdbErrorOut.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbEventOperation.cpp b/storage/ndb/src/ndbapi/NdbEventOperation.cpp
index 69555b378fe..1d32779a23b 100644
--- a/storage/ndb/src/ndbapi/NdbEventOperation.cpp
+++ b/storage/ndb/src/ndbapi/NdbEventOperation.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB, 2010 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp b/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
index 536bb110e90..5836276610c 100644
--- a/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
+++ b/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB, 2010 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp b/storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp
index 70413229de8..cf97cb8ec01 100644
--- a/storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp
+++ b/storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB, 2010 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbImpl.hpp b/storage/ndb/src/ndbapi/NdbImpl.hpp
index c4e0069bb2c..55c97c64d07 100644
--- a/storage/ndb/src/ndbapi/NdbImpl.hpp
+++ b/storage/ndb/src/ndbapi/NdbImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbIndexOperation.cpp b/storage/ndb/src/ndbapi/NdbIndexOperation.cpp
index 3ee39a20e41..02b6990effb 100644
--- a/storage/ndb/src/ndbapi/NdbIndexOperation.cpp
+++ b/storage/ndb/src/ndbapi/NdbIndexOperation.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbIndexStat.cpp b/storage/ndb/src/ndbapi/NdbIndexStat.cpp
index 363ea81c5a7..c1ac8aa8496 100644
--- a/storage/ndb/src/ndbapi/NdbIndexStat.cpp
+++ b/storage/ndb/src/ndbapi/NdbIndexStat.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbLinHash.hpp b/storage/ndb/src/ndbapi/NdbLinHash.hpp
index 38055f00a1c..68e31bf8794 100644
--- a/storage/ndb/src/ndbapi/NdbLinHash.hpp
+++ b/storage/ndb/src/ndbapi/NdbLinHash.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbOperation.cpp b/storage/ndb/src/ndbapi/NdbOperation.cpp
index e1f6041dba3..8a836cc82f7 100644
--- a/storage/ndb/src/ndbapi/NdbOperation.cpp
+++ b/storage/ndb/src/ndbapi/NdbOperation.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbOperationDefine.cpp b/storage/ndb/src/ndbapi/NdbOperationDefine.cpp
index aeef7b5b637..7afe8ab1c60 100644
--- a/storage/ndb/src/ndbapi/NdbOperationDefine.cpp
+++ b/storage/ndb/src/ndbapi/NdbOperationDefine.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbOperationExec.cpp b/storage/ndb/src/ndbapi/NdbOperationExec.cpp
index 9317fbfa711..2b13d8001f4 100644
--- a/storage/ndb/src/ndbapi/NdbOperationExec.cpp
+++ b/storage/ndb/src/ndbapi/NdbOperationExec.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbOperationInt.cpp b/storage/ndb/src/ndbapi/NdbOperationInt.cpp
index f9eeaf62179..05790aabc35 100644
--- a/storage/ndb/src/ndbapi/NdbOperationInt.cpp
+++ b/storage/ndb/src/ndbapi/NdbOperationInt.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbOperationScan.cpp b/storage/ndb/src/ndbapi/NdbOperationScan.cpp
index 09d85fe5dea..c5eaa75675e 100644
--- a/storage/ndb/src/ndbapi/NdbOperationScan.cpp
+++ b/storage/ndb/src/ndbapi/NdbOperationScan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbOperationSearch.cpp b/storage/ndb/src/ndbapi/NdbOperationSearch.cpp
index 6c052ec2f02..d382d7d63dd 100644
--- a/storage/ndb/src/ndbapi/NdbOperationSearch.cpp
+++ b/storage/ndb/src/ndbapi/NdbOperationSearch.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbPool.cpp b/storage/ndb/src/ndbapi/NdbPool.cpp
index 840542aeb1f..b9d031a7038 100644
--- a/storage/ndb/src/ndbapi/NdbPool.cpp
+++ b/storage/ndb/src/ndbapi/NdbPool.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbPoolImpl.cpp b/storage/ndb/src/ndbapi/NdbPoolImpl.cpp
index af4fcc43263..77e6c4fa53c 100644
--- a/storage/ndb/src/ndbapi/NdbPoolImpl.cpp
+++ b/storage/ndb/src/ndbapi/NdbPoolImpl.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbPoolImpl.hpp b/storage/ndb/src/ndbapi/NdbPoolImpl.hpp
index 50f81b8c123..713eb260f46 100644
--- a/storage/ndb/src/ndbapi/NdbPoolImpl.hpp
+++ b/storage/ndb/src/ndbapi/NdbPoolImpl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbRecAttr.cpp b/storage/ndb/src/ndbapi/NdbRecAttr.cpp
index 0dc7630a9bc..deaa0715ef5 100644
--- a/storage/ndb/src/ndbapi/NdbRecAttr.cpp
+++ b/storage/ndb/src/ndbapi/NdbRecAttr.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbReceiver.cpp b/storage/ndb/src/ndbapi/NdbReceiver.cpp
index f69f0b399e3..a4f0be8217d 100644
--- a/storage/ndb/src/ndbapi/NdbReceiver.cpp
+++ b/storage/ndb/src/ndbapi/NdbReceiver.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbScanFilter.cpp b/storage/ndb/src/ndbapi/NdbScanFilter.cpp
index 1dd1f43de5f..82cb8d73d48 100644
--- a/storage/ndb/src/ndbapi/NdbScanFilter.cpp
+++ b/storage/ndb/src/ndbapi/NdbScanFilter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbScanOperation.cpp b/storage/ndb/src/ndbapi/NdbScanOperation.cpp
index b30ef6299c0..6f46b557b0e 100644
--- a/storage/ndb/src/ndbapi/NdbScanOperation.cpp
+++ b/storage/ndb/src/ndbapi/NdbScanOperation.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbTransaction.cpp b/storage/ndb/src/ndbapi/NdbTransaction.cpp
index c077979cf09..cc974cdbe1a 100644
--- a/storage/ndb/src/ndbapi/NdbTransaction.cpp
+++ b/storage/ndb/src/ndbapi/NdbTransaction.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbTransactionScan.cpp b/storage/ndb/src/ndbapi/NdbTransactionScan.cpp
index aa59b8d3815..f1679b440bf 100644
--- a/storage/ndb/src/ndbapi/NdbTransactionScan.cpp
+++ b/storage/ndb/src/ndbapi/NdbTransactionScan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbUtil.cpp b/storage/ndb/src/ndbapi/NdbUtil.cpp
index 6baa3722ab2..f9006ecfc2c 100644
--- a/storage/ndb/src/ndbapi/NdbUtil.cpp
+++ b/storage/ndb/src/ndbapi/NdbUtil.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbUtil.hpp b/storage/ndb/src/ndbapi/NdbUtil.hpp
index 1246951992f..19ac5e26b0a 100644
--- a/storage/ndb/src/ndbapi/NdbUtil.hpp
+++ b/storage/ndb/src/ndbapi/NdbUtil.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/NdbWaiter.hpp b/storage/ndb/src/ndbapi/NdbWaiter.hpp
index dd0420d4e96..f2fdb072fe2 100644
--- a/storage/ndb/src/ndbapi/NdbWaiter.hpp
+++ b/storage/ndb/src/ndbapi/NdbWaiter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
diff --git a/storage/ndb/src/ndbapi/Ndberr.cpp b/storage/ndb/src/ndbapi/Ndberr.cpp
index 44de8141cbe..7012050df1c 100644
--- a/storage/ndb/src/ndbapi/Ndberr.cpp
+++ b/storage/ndb/src/ndbapi/Ndberr.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/Ndbif.cpp b/storage/ndb/src/ndbapi/Ndbif.cpp
index ebeba4dcf4c..2227c410326 100644
--- a/storage/ndb/src/ndbapi/Ndbif.cpp
+++ b/storage/ndb/src/ndbapi/Ndbif.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/Ndbinit.cpp b/storage/ndb/src/ndbapi/Ndbinit.cpp
index 16f8ec8402d..16fb852afb1 100644
--- a/storage/ndb/src/ndbapi/Ndbinit.cpp
+++ b/storage/ndb/src/ndbapi/Ndbinit.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/Ndblist.cpp b/storage/ndb/src/ndbapi/Ndblist.cpp
index 978afda76c5..398eaf3fa60 100644
--- a/storage/ndb/src/ndbapi/Ndblist.cpp
+++ b/storage/ndb/src/ndbapi/Ndblist.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/ObjectMap.cpp b/storage/ndb/src/ndbapi/ObjectMap.cpp
index 1c475ed42e4..49cce09499c 100644
--- a/storage/ndb/src/ndbapi/ObjectMap.cpp
+++ b/storage/ndb/src/ndbapi/ObjectMap.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/ObjectMap.hpp b/storage/ndb/src/ndbapi/ObjectMap.hpp
index 64c6e420a99..68667a5b808 100644
--- a/storage/ndb/src/ndbapi/ObjectMap.hpp
+++ b/storage/ndb/src/ndbapi/ObjectMap.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/SignalSender.cpp b/storage/ndb/src/ndbapi/SignalSender.cpp
index 8a38acf1601..ce0c3d93cfb 100644
--- a/storage/ndb/src/ndbapi/SignalSender.cpp
+++ b/storage/ndb/src/ndbapi/SignalSender.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/SignalSender.hpp b/storage/ndb/src/ndbapi/SignalSender.hpp
index 9e4c9c5d15f..7c150cfc9f4 100644
--- a/storage/ndb/src/ndbapi/SignalSender.hpp
+++ b/storage/ndb/src/ndbapi/SignalSender.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/TransporterFacade.cpp b/storage/ndb/src/ndbapi/TransporterFacade.cpp
index 5329d0a01b3..7876ba6ae32 100644
--- a/storage/ndb/src/ndbapi/TransporterFacade.cpp
+++ b/storage/ndb/src/ndbapi/TransporterFacade.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/TransporterFacade.hpp b/storage/ndb/src/ndbapi/TransporterFacade.hpp
index fb11bb94bf9..2870565f60a 100644
--- a/storage/ndb/src/ndbapi/TransporterFacade.hpp
+++ b/storage/ndb/src/ndbapi/TransporterFacade.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/ndb_cluster_connection.cpp b/storage/ndb/src/ndbapi/ndb_cluster_connection.cpp
index 3947e215161..ebc1cc39b35 100644
--- a/storage/ndb/src/ndbapi/ndb_cluster_connection.cpp
+++ b/storage/ndb/src/ndbapi/ndb_cluster_connection.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp b/storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp
index e3ad8595036..e71c91d5aac 100644
--- a/storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp
+++ b/storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/ndberror.c b/storage/ndb/src/ndbapi/ndberror.c
index c790d7bfecb..cf4ec733f96 100644
--- a/storage/ndb/src/ndbapi/ndberror.c
+++ b/storage/ndb/src/ndbapi/ndberror.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/signal-sender/SignalSender.cpp b/storage/ndb/src/ndbapi/signal-sender/SignalSender.cpp
index 73fb968e549..30c74291d6c 100644
--- a/storage/ndb/src/ndbapi/signal-sender/SignalSender.cpp
+++ b/storage/ndb/src/ndbapi/signal-sender/SignalSender.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/src/ndbapi/signal-sender/SignalSender.hpp b/storage/ndb/src/ndbapi/signal-sender/SignalSender.hpp
index b75e7e74fb3..3dc2827f794 100644
--- a/storage/ndb/src/ndbapi/signal-sender/SignalSender.hpp
+++ b/storage/ndb/src/ndbapi/signal-sender/SignalSender.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/AtrtClient.hpp b/storage/ndb/test/include/AtrtClient.hpp
index e360887b636..df546add02e 100644
--- a/storage/ndb/test/include/AtrtClient.hpp
+++ b/storage/ndb/test/include/AtrtClient.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/CpcClient.hpp b/storage/ndb/test/include/CpcClient.hpp
index f0bfaa6f74e..8997e5d35c8 100644
--- a/storage/ndb/test/include/CpcClient.hpp
+++ b/storage/ndb/test/include/CpcClient.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/DbUtil.hpp b/storage/ndb/test/include/DbUtil.hpp
index 22ce5a2f9d8..0fa45172848 100755
--- a/storage/ndb/test/include/DbUtil.hpp
+++ b/storage/ndb/test/include/DbUtil.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007 MySQL AB
+/* Copyright (c) 2007, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/HugoAsynchTransactions.hpp b/storage/ndb/test/include/HugoAsynchTransactions.hpp
index fcbb55d1393..919e4ee6e88 100644
--- a/storage/ndb/test/include/HugoAsynchTransactions.hpp
+++ b/storage/ndb/test/include/HugoAsynchTransactions.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/HugoCalculator.hpp b/storage/ndb/test/include/HugoCalculator.hpp
index 75d111b383b..af6d7a83dea 100644
--- a/storage/ndb/test/include/HugoCalculator.hpp
+++ b/storage/ndb/test/include/HugoCalculator.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/HugoOperations.hpp b/storage/ndb/test/include/HugoOperations.hpp
index 07029c4966c..e7ccaacd775 100644
--- a/storage/ndb/test/include/HugoOperations.hpp
+++ b/storage/ndb/test/include/HugoOperations.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/HugoTransactions.hpp b/storage/ndb/test/include/HugoTransactions.hpp
index c2fd9f106f3..bc50e327cfa 100644
--- a/storage/ndb/test/include/HugoTransactions.hpp
+++ b/storage/ndb/test/include/HugoTransactions.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT.hpp b/storage/ndb/test/include/NDBT.hpp
index f294bc462a4..e3746c863e1 100644
--- a/storage/ndb/test/include/NDBT.hpp
+++ b/storage/ndb/test/include/NDBT.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_DataSet.hpp b/storage/ndb/test/include/NDBT_DataSet.hpp
index 511254044fc..86508c46c52 100644
--- a/storage/ndb/test/include/NDBT_DataSet.hpp
+++ b/storage/ndb/test/include/NDBT_DataSet.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_DataSetTransaction.hpp b/storage/ndb/test/include/NDBT_DataSetTransaction.hpp
index 5650f50547f..fe277092e60 100644
--- a/storage/ndb/test/include/NDBT_DataSetTransaction.hpp
+++ b/storage/ndb/test/include/NDBT_DataSetTransaction.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_Error.hpp b/storage/ndb/test/include/NDBT_Error.hpp
index 10286d258c9..34903e31436 100644
--- a/storage/ndb/test/include/NDBT_Error.hpp
+++ b/storage/ndb/test/include/NDBT_Error.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_Output.hpp b/storage/ndb/test/include/NDBT_Output.hpp
index d9eab72e1e2..35f41297f95 100644
--- a/storage/ndb/test/include/NDBT_Output.hpp
+++ b/storage/ndb/test/include/NDBT_Output.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_ResultRow.hpp b/storage/ndb/test/include/NDBT_ResultRow.hpp
index ff48cbffec0..54cabec034d 100644
--- a/storage/ndb/test/include/NDBT_ResultRow.hpp
+++ b/storage/ndb/test/include/NDBT_ResultRow.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_ReturnCodes.h b/storage/ndb/test/include/NDBT_ReturnCodes.h
index 8489080761f..5bd0ee94cd4 100644
--- a/storage/ndb/test/include/NDBT_ReturnCodes.h
+++ b/storage/ndb/test/include/NDBT_ReturnCodes.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_Stats.hpp b/storage/ndb/test/include/NDBT_Stats.hpp
index 44dde76eb51..63b491c9acd 100644
--- a/storage/ndb/test/include/NDBT_Stats.hpp
+++ b/storage/ndb/test/include/NDBT_Stats.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_Table.hpp b/storage/ndb/test/include/NDBT_Table.hpp
index 2464c51851f..75fabe8c482 100644
--- a/storage/ndb/test/include/NDBT_Table.hpp
+++ b/storage/ndb/test/include/NDBT_Table.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_Tables.hpp b/storage/ndb/test/include/NDBT_Tables.hpp
index 116886b7a2d..61ca66e1fe7 100644
--- a/storage/ndb/test/include/NDBT_Tables.hpp
+++ b/storage/ndb/test/include/NDBT_Tables.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_Test.hpp b/storage/ndb/test/include/NDBT_Test.hpp
index 193705e7bc6..3ba62cdb603 100644
--- a/storage/ndb/test/include/NDBT_Test.hpp
+++ b/storage/ndb/test/include/NDBT_Test.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NDBT_Thread.hpp b/storage/ndb/test/include/NDBT_Thread.hpp
index ee28a6c0161..36ead6ce0d4 100644
--- a/storage/ndb/test/include/NDBT_Thread.hpp
+++ b/storage/ndb/test/include/NDBT_Thread.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbBackup.hpp b/storage/ndb/test/include/NdbBackup.hpp
index 1719a6836ec..23088e31858 100644
--- a/storage/ndb/test/include/NdbBackup.hpp
+++ b/storage/ndb/test/include/NdbBackup.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbConfig.hpp b/storage/ndb/test/include/NdbConfig.hpp
index 27c1bff50ef..2548092b786 100644
--- a/storage/ndb/test/include/NdbConfig.hpp
+++ b/storage/ndb/test/include/NdbConfig.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbGrep.hpp b/storage/ndb/test/include/NdbGrep.hpp
index cc822d695ce..cb8b2e88cb0 100644
--- a/storage/ndb/test/include/NdbGrep.hpp
+++ b/storage/ndb/test/include/NdbGrep.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbMixRestarter.hpp b/storage/ndb/test/include/NdbMixRestarter.hpp
index 3bb97425802..b5e5fc70c42 100644
--- a/storage/ndb/test/include/NdbMixRestarter.hpp
+++ b/storage/ndb/test/include/NdbMixRestarter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbRestarter.hpp b/storage/ndb/test/include/NdbRestarter.hpp
index 39c9bbcd15d..17641f54a85 100644
--- a/storage/ndb/test/include/NdbRestarter.hpp
+++ b/storage/ndb/test/include/NdbRestarter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbRestarts.hpp b/storage/ndb/test/include/NdbRestarts.hpp
index 47eda2d44a2..b397689f0e6 100644
--- a/storage/ndb/test/include/NdbRestarts.hpp
+++ b/storage/ndb/test/include/NdbRestarts.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbSchemaCon.hpp b/storage/ndb/test/include/NdbSchemaCon.hpp
index 74be49d3b93..de0161361e0 100644
--- a/storage/ndb/test/include/NdbSchemaCon.hpp
+++ b/storage/ndb/test/include/NdbSchemaCon.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbSchemaOp.hpp b/storage/ndb/test/include/NdbSchemaOp.hpp
index 793ad153b4a..d58ef142495 100644
--- a/storage/ndb/test/include/NdbSchemaOp.hpp
+++ b/storage/ndb/test/include/NdbSchemaOp.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbTest.hpp b/storage/ndb/test/include/NdbTest.hpp
index 16e3dc47564..5e9b1b65227 100644
--- a/storage/ndb/test/include/NdbTest.hpp
+++ b/storage/ndb/test/include/NdbTest.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/NdbTimer.hpp b/storage/ndb/test/include/NdbTimer.hpp
index 543ef93a697..b09213db1f0 100644
--- a/storage/ndb/test/include/NdbTimer.hpp
+++ b/storage/ndb/test/include/NdbTimer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/TestNdbEventOperation.hpp b/storage/ndb/test/include/TestNdbEventOperation.hpp
index 2301f278a3c..56a75973257 100644
--- a/storage/ndb/test/include/TestNdbEventOperation.hpp
+++ b/storage/ndb/test/include/TestNdbEventOperation.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/UtilTransactions.hpp b/storage/ndb/test/include/UtilTransactions.hpp
index ad47acc5c7b..098b39c9e58 100644
--- a/storage/ndb/test/include/UtilTransactions.hpp
+++ b/storage/ndb/test/include/UtilTransactions.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/include/getarg.h b/storage/ndb/test/include/getarg.h
index 7b638aaaf58..1cfce708d9b 100644
--- a/storage/ndb/test/include/getarg.h
+++ b/storage/ndb/test/include/getarg.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/InsertRecs.cpp b/storage/ndb/test/ndbapi/InsertRecs.cpp
index 3f76271fff5..d91def237b2 100644
--- a/storage/ndb/test/ndbapi/InsertRecs.cpp
+++ b/storage/ndb/test/ndbapi/InsertRecs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ScanFilter.hpp b/storage/ndb/test/ndbapi/ScanFilter.hpp
index 743dbbfff35..1db1c4acf19 100644
--- a/storage/ndb/test/ndbapi/ScanFilter.hpp
+++ b/storage/ndb/test/ndbapi/ScanFilter.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ScanFunctions.hpp b/storage/ndb/test/ndbapi/ScanFunctions.hpp
index 28e01b5c2b6..81729d67114 100644
--- a/storage/ndb/test/ndbapi/ScanFunctions.hpp
+++ b/storage/ndb/test/ndbapi/ScanFunctions.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ScanInterpretTest.hpp b/storage/ndb/test/ndbapi/ScanInterpretTest.hpp
index 17f46d5c2f8..a678f001781 100644
--- a/storage/ndb/test/ndbapi/ScanInterpretTest.hpp
+++ b/storage/ndb/test/ndbapi/ScanInterpretTest.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/TraceNdbApi.cpp b/storage/ndb/test/ndbapi/TraceNdbApi.cpp
index 3025a859243..3d1d08f4b3a 100644
--- a/storage/ndb/test/ndbapi/TraceNdbApi.cpp
+++ b/storage/ndb/test/ndbapi/TraceNdbApi.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/VerifyNdbApi.cpp b/storage/ndb/test/ndbapi/VerifyNdbApi.cpp
index 33a9c5b7fc2..2329c0c952a 100644
--- a/storage/ndb/test/ndbapi/VerifyNdbApi.cpp
+++ b/storage/ndb/test/ndbapi/VerifyNdbApi.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/acid.cpp b/storage/ndb/test/ndbapi/acid.cpp
index 9f3be0fc981..d1c38e4877d 100644
--- a/storage/ndb/test/ndbapi/acid.cpp
+++ b/storage/ndb/test/ndbapi/acid.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/acid2.cpp b/storage/ndb/test/ndbapi/acid2.cpp
index 39067e7f90e..def6fb3dd64 100644
--- a/storage/ndb/test/ndbapi/acid2.cpp
+++ b/storage/ndb/test/ndbapi/acid2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/acrt/NdbRepStress.cpp b/storage/ndb/test/ndbapi/acrt/NdbRepStress.cpp
index 5d2bd238e38..5151c96f1ba 100644
--- a/storage/ndb/test/ndbapi/acrt/NdbRepStress.cpp
+++ b/storage/ndb/test/ndbapi/acrt/NdbRepStress.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/adoInsertRecs.cpp b/storage/ndb/test/ndbapi/adoInsertRecs.cpp
index 76e8382b455..f85540bc129 100644
--- a/storage/ndb/test/ndbapi/adoInsertRecs.cpp
+++ b/storage/ndb/test/ndbapi/adoInsertRecs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/asyncGenerator.cpp b/storage/ndb/test/ndbapi/asyncGenerator.cpp
index 9257002058b..afc70388ded 100644
--- a/storage/ndb/test/ndbapi/asyncGenerator.cpp
+++ b/storage/ndb/test/ndbapi/asyncGenerator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/Bank.cpp b/storage/ndb/test/ndbapi/bank/Bank.cpp
index 7e42db90b23..1ee8e24a57d 100644
--- a/storage/ndb/test/ndbapi/bank/Bank.cpp
+++ b/storage/ndb/test/ndbapi/bank/Bank.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/Bank.hpp b/storage/ndb/test/ndbapi/bank/Bank.hpp
index aef21a8741b..68336899179 100644
--- a/storage/ndb/test/ndbapi/bank/Bank.hpp
+++ b/storage/ndb/test/ndbapi/bank/Bank.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/BankLoad.cpp b/storage/ndb/test/ndbapi/bank/BankLoad.cpp
index 00a1419244b..71bdeb0635d 100644
--- a/storage/ndb/test/ndbapi/bank/BankLoad.cpp
+++ b/storage/ndb/test/ndbapi/bank/BankLoad.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/bankCreator.cpp b/storage/ndb/test/ndbapi/bank/bankCreator.cpp
index f3848f5ec24..9536f950269 100644
--- a/storage/ndb/test/ndbapi/bank/bankCreator.cpp
+++ b/storage/ndb/test/ndbapi/bank/bankCreator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/bankMakeGL.cpp b/storage/ndb/test/ndbapi/bank/bankMakeGL.cpp
index 238b7a64a5f..abcf8dceeba 100644
--- a/storage/ndb/test/ndbapi/bank/bankMakeGL.cpp
+++ b/storage/ndb/test/ndbapi/bank/bankMakeGL.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/bankSumAccounts.cpp b/storage/ndb/test/ndbapi/bank/bankSumAccounts.cpp
index 9457233de1e..12cad4f0638 100644
--- a/storage/ndb/test/ndbapi/bank/bankSumAccounts.cpp
+++ b/storage/ndb/test/ndbapi/bank/bankSumAccounts.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/bankTimer.cpp b/storage/ndb/test/ndbapi/bank/bankTimer.cpp
index 8b742cef2d0..547be6b17e8 100644
--- a/storage/ndb/test/ndbapi/bank/bankTimer.cpp
+++ b/storage/ndb/test/ndbapi/bank/bankTimer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/bankTransactionMaker.cpp b/storage/ndb/test/ndbapi/bank/bankTransactionMaker.cpp
index 55e1a13c7d4..23e6548a096 100644
--- a/storage/ndb/test/ndbapi/bank/bankTransactionMaker.cpp
+++ b/storage/ndb/test/ndbapi/bank/bankTransactionMaker.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/bankValidateAllGLs.cpp b/storage/ndb/test/ndbapi/bank/bankValidateAllGLs.cpp
index 492705e5a2e..9277d31879f 100644
--- a/storage/ndb/test/ndbapi/bank/bankValidateAllGLs.cpp
+++ b/storage/ndb/test/ndbapi/bank/bankValidateAllGLs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bank/testBank.cpp b/storage/ndb/test/ndbapi/bank/testBank.cpp
index 0b49e456127..9cece4add45 100644
--- a/storage/ndb/test/ndbapi/bank/testBank.cpp
+++ b/storage/ndb/test/ndbapi/bank/testBank.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/asyncGenerator.cpp b/storage/ndb/test/ndbapi/bench/asyncGenerator.cpp
index 22c955fb1bb..f9d54c9e7f3 100644
--- a/storage/ndb/test/ndbapi/bench/asyncGenerator.cpp
+++ b/storage/ndb/test/ndbapi/bench/asyncGenerator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/dbGenerator.h b/storage/ndb/test/ndbapi/bench/dbGenerator.h
index 23a40c57f69..9c66aaaa2a6 100644
--- a/storage/ndb/test/ndbapi/bench/dbGenerator.h
+++ b/storage/ndb/test/ndbapi/bench/dbGenerator.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/dbPopulate.cpp b/storage/ndb/test/ndbapi/bench/dbPopulate.cpp
index 6545d813c4a..ff346e46612 100644
--- a/storage/ndb/test/ndbapi/bench/dbPopulate.cpp
+++ b/storage/ndb/test/ndbapi/bench/dbPopulate.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/dbPopulate.h b/storage/ndb/test/ndbapi/bench/dbPopulate.h
index 942c8a0df42..141a10c11c5 100644
--- a/storage/ndb/test/ndbapi/bench/dbPopulate.h
+++ b/storage/ndb/test/ndbapi/bench/dbPopulate.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/macros.h b/storage/ndb/test/ndbapi/bench/macros.h
index e333858e12b..85ce53e91df 100644
--- a/storage/ndb/test/ndbapi/bench/macros.h
+++ b/storage/ndb/test/ndbapi/bench/macros.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/mainAsyncGenerator.cpp b/storage/ndb/test/ndbapi/bench/mainAsyncGenerator.cpp
index 7487ad58752..36c24c871b4 100644
--- a/storage/ndb/test/ndbapi/bench/mainAsyncGenerator.cpp
+++ b/storage/ndb/test/ndbapi/bench/mainAsyncGenerator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/mainPopulate.cpp b/storage/ndb/test/ndbapi/bench/mainPopulate.cpp
index 8019c415d1e..913a4aeb3be 100644
--- a/storage/ndb/test/ndbapi/bench/mainPopulate.cpp
+++ b/storage/ndb/test/ndbapi/bench/mainPopulate.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_async1.cpp b/storage/ndb/test/ndbapi/bench/ndb_async1.cpp
index 5c450268178..83951caabad 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_async1.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_async1.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_async2.cpp b/storage/ndb/test/ndbapi/bench/ndb_async2.cpp
index 9d379b90f41..b481811dc1e 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_async2.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_async2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_error.hpp b/storage/ndb/test/ndbapi/bench/ndb_error.hpp
index 13c04b4ee4e..fdc3d592441 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_error.hpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_error.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_schema.hpp b/storage/ndb/test/ndbapi/bench/ndb_schema.hpp
index a3ac6dbb614..55adff3d5e7 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_schema.hpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_schema.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_user_transaction.cpp b/storage/ndb/test/ndbapi/bench/ndb_user_transaction.cpp
index 1fe94cde9f8..930a9dfa7aa 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_user_transaction.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_user_transaction.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_user_transaction2.cpp b/storage/ndb/test/ndbapi/bench/ndb_user_transaction2.cpp
index 272b45069cd..07943e344ce 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_user_transaction2.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_user_transaction2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_user_transaction3.cpp b/storage/ndb/test/ndbapi/bench/ndb_user_transaction3.cpp
index 985dc2e70bc..33cb1567a56 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_user_transaction3.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_user_transaction3.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_user_transaction4.cpp b/storage/ndb/test/ndbapi/bench/ndb_user_transaction4.cpp
index 4869fb479ee..567aa1be4cf 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_user_transaction4.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_user_transaction4.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_user_transaction5.cpp b/storage/ndb/test/ndbapi/bench/ndb_user_transaction5.cpp
index f3eba55d8c6..af3bb73051e 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_user_transaction5.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_user_transaction5.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/ndb_user_transaction6.cpp b/storage/ndb/test/ndbapi/bench/ndb_user_transaction6.cpp
index 96292b98fd4..6dee6e02886 100644
--- a/storage/ndb/test/ndbapi/bench/ndb_user_transaction6.cpp
+++ b/storage/ndb/test/ndbapi/bench/ndb_user_transaction6.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/testData.h b/storage/ndb/test/ndbapi/bench/testData.h
index 6f70970f2b0..c756afc6854 100644
--- a/storage/ndb/test/ndbapi/bench/testData.h
+++ b/storage/ndb/test/ndbapi/bench/testData.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/testDefinitions.h b/storage/ndb/test/ndbapi/bench/testDefinitions.h
index 938ec3a61e2..133955b634a 100644
--- a/storage/ndb/test/ndbapi/bench/testDefinitions.h
+++ b/storage/ndb/test/ndbapi/bench/testDefinitions.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/userInterface.cpp b/storage/ndb/test/ndbapi/bench/userInterface.cpp
index c179418f156..bf903c189d4 100644
--- a/storage/ndb/test/ndbapi/bench/userInterface.cpp
+++ b/storage/ndb/test/ndbapi/bench/userInterface.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bench/userInterface.h b/storage/ndb/test/ndbapi/bench/userInterface.h
index 8b63b85ec92..7827c4fcb5c 100644
--- a/storage/ndb/test/ndbapi/bench/userInterface.h
+++ b/storage/ndb/test/ndbapi/bench/userInterface.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/benchronja.cpp b/storage/ndb/test/ndbapi/benchronja.cpp
index 125f5f5d445..d33bd6ceee6 100644
--- a/storage/ndb/test/ndbapi/benchronja.cpp
+++ b/storage/ndb/test/ndbapi/benchronja.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/bulk_copy.cpp b/storage/ndb/test/ndbapi/bulk_copy.cpp
index f1c5b901c4c..917bf6e9032 100644
--- a/storage/ndb/test/ndbapi/bulk_copy.cpp
+++ b/storage/ndb/test/ndbapi/bulk_copy.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/cdrserver.cpp b/storage/ndb/test/ndbapi/cdrserver.cpp
index 607cc5f0144..4a735a7954d 100644
--- a/storage/ndb/test/ndbapi/cdrserver.cpp
+++ b/storage/ndb/test/ndbapi/cdrserver.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/celloDb.cpp b/storage/ndb/test/ndbapi/celloDb.cpp
index 5bd1b1dba72..5cb6312f2b4 100644
--- a/storage/ndb/test/ndbapi/celloDb.cpp
+++ b/storage/ndb/test/ndbapi/celloDb.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/create_all_tabs.cpp b/storage/ndb/test/ndbapi/create_all_tabs.cpp
index a8f81a11ba1..7a65a7ec021 100644
--- a/storage/ndb/test/ndbapi/create_all_tabs.cpp
+++ b/storage/ndb/test/ndbapi/create_all_tabs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/create_tab.cpp b/storage/ndb/test/ndbapi/create_tab.cpp
index 2ab28170c81..12e8fbfac80 100644
--- a/storage/ndb/test/ndbapi/create_tab.cpp
+++ b/storage/ndb/test/ndbapi/create_tab.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/drop_all_tabs.cpp b/storage/ndb/test/ndbapi/drop_all_tabs.cpp
index 2a57693870b..0af214b9a8b 100644
--- a/storage/ndb/test/ndbapi/drop_all_tabs.cpp
+++ b/storage/ndb/test/ndbapi/drop_all_tabs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/flexAsynch.cpp b/storage/ndb/test/ndbapi/flexAsynch.cpp
index 30989913f8c..df9fbaa03b5 100644
--- a/storage/ndb/test/ndbapi/flexAsynch.cpp
+++ b/storage/ndb/test/ndbapi/flexAsynch.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/flexBench.cpp b/storage/ndb/test/ndbapi/flexBench.cpp
index 8994bccd8f7..45dc836fb90 100644
--- a/storage/ndb/test/ndbapi/flexBench.cpp
+++ b/storage/ndb/test/ndbapi/flexBench.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/flexHammer.cpp b/storage/ndb/test/ndbapi/flexHammer.cpp
index b326450b114..6baeb8104b6 100644
--- a/storage/ndb/test/ndbapi/flexHammer.cpp
+++ b/storage/ndb/test/ndbapi/flexHammer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/flexScan.cpp b/storage/ndb/test/ndbapi/flexScan.cpp
index 29590cf0f65..d269eb66f11 100644
--- a/storage/ndb/test/ndbapi/flexScan.cpp
+++ b/storage/ndb/test/ndbapi/flexScan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/flexTT.cpp b/storage/ndb/test/ndbapi/flexTT.cpp
index 5d3d12fea5d..fa8b88ad924 100644
--- a/storage/ndb/test/ndbapi/flexTT.cpp
+++ b/storage/ndb/test/ndbapi/flexTT.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/flexTimedAsynch.cpp b/storage/ndb/test/ndbapi/flexTimedAsynch.cpp
index bae94929985..afc14b47a62 100644
--- a/storage/ndb/test/ndbapi/flexTimedAsynch.cpp
+++ b/storage/ndb/test/ndbapi/flexTimedAsynch.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/flex_bench_mysql.cpp b/storage/ndb/test/ndbapi/flex_bench_mysql.cpp
index 9562b70550e..7a3ed0912b7 100644
--- a/storage/ndb/test/ndbapi/flex_bench_mysql.cpp
+++ b/storage/ndb/test/ndbapi/flex_bench_mysql.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/index.cpp b/storage/ndb/test/ndbapi/index.cpp
index 30e6bb38b2c..c822d96760c 100644
--- a/storage/ndb/test/ndbapi/index.cpp
+++ b/storage/ndb/test/ndbapi/index.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/index2.cpp b/storage/ndb/test/ndbapi/index2.cpp
index a46b45d1b89..3f7c378e07b 100644
--- a/storage/ndb/test/ndbapi/index2.cpp
+++ b/storage/ndb/test/ndbapi/index2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/initronja.cpp b/storage/ndb/test/ndbapi/initronja.cpp
index 435a8fa0c5d..924539f8920 100644
--- a/storage/ndb/test/ndbapi/initronja.cpp
+++ b/storage/ndb/test/ndbapi/initronja.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/interpreterInTup.cpp b/storage/ndb/test/ndbapi/interpreterInTup.cpp
index a88fb167e99..cdbf09065e2 100644
--- a/storage/ndb/test/ndbapi/interpreterInTup.cpp
+++ b/storage/ndb/test/ndbapi/interpreterInTup.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/mainAsyncGenerator.cpp b/storage/ndb/test/ndbapi/mainAsyncGenerator.cpp
index ee35211f193..9202af4da23 100644
--- a/storage/ndb/test/ndbapi/mainAsyncGenerator.cpp
+++ b/storage/ndb/test/ndbapi/mainAsyncGenerator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/msa.cpp b/storage/ndb/test/ndbapi/msa.cpp
index 04e66b7526a..0e23f6b3557 100644
--- a/storage/ndb/test/ndbapi/msa.cpp
+++ b/storage/ndb/test/ndbapi/msa.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_async1.cpp b/storage/ndb/test/ndbapi/ndb_async1.cpp
index 5c450268178..90f2772b217 100644
--- a/storage/ndb/test/ndbapi/ndb_async1.cpp
+++ b/storage/ndb/test/ndbapi/ndb_async1.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_async2.cpp b/storage/ndb/test/ndbapi/ndb_async2.cpp
index 10547c54b46..7bc9202a880 100644
--- a/storage/ndb/test/ndbapi/ndb_async2.cpp
+++ b/storage/ndb/test/ndbapi/ndb_async2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_user_populate.cpp b/storage/ndb/test/ndbapi/ndb_user_populate.cpp
index 601ed205550..02bf7245646 100644
--- a/storage/ndb/test/ndbapi/ndb_user_populate.cpp
+++ b/storage/ndb/test/ndbapi/ndb_user_populate.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_user_transaction.cpp b/storage/ndb/test/ndbapi/ndb_user_transaction.cpp
index 1fe94cde9f8..4bf243cae79 100644
--- a/storage/ndb/test/ndbapi/ndb_user_transaction.cpp
+++ b/storage/ndb/test/ndbapi/ndb_user_transaction.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_user_transaction2.cpp b/storage/ndb/test/ndbapi/ndb_user_transaction2.cpp
index 272b45069cd..a83d1f24ecf 100644
--- a/storage/ndb/test/ndbapi/ndb_user_transaction2.cpp
+++ b/storage/ndb/test/ndbapi/ndb_user_transaction2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_user_transaction3.cpp b/storage/ndb/test/ndbapi/ndb_user_transaction3.cpp
index 985dc2e70bc..dc889495aee 100644
--- a/storage/ndb/test/ndbapi/ndb_user_transaction3.cpp
+++ b/storage/ndb/test/ndbapi/ndb_user_transaction3.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_user_transaction4.cpp b/storage/ndb/test/ndbapi/ndb_user_transaction4.cpp
index 4869fb479ee..66a8283fa5c 100644
--- a/storage/ndb/test/ndbapi/ndb_user_transaction4.cpp
+++ b/storage/ndb/test/ndbapi/ndb_user_transaction4.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_user_transaction5.cpp b/storage/ndb/test/ndbapi/ndb_user_transaction5.cpp
index f3eba55d8c6..1939f74d9d4 100644
--- a/storage/ndb/test/ndbapi/ndb_user_transaction5.cpp
+++ b/storage/ndb/test/ndbapi/ndb_user_transaction5.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/ndb_user_transaction6.cpp b/storage/ndb/test/ndbapi/ndb_user_transaction6.cpp
index 96292b98fd4..488d7a766c2 100644
--- a/storage/ndb/test/ndbapi/ndb_user_transaction6.cpp
+++ b/storage/ndb/test/ndbapi/ndb_user_transaction6.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/restarter.cpp b/storage/ndb/test/ndbapi/restarter.cpp
index 01727c889c2..a3f4a9347c9 100644
--- a/storage/ndb/test/ndbapi/restarter.cpp
+++ b/storage/ndb/test/ndbapi/restarter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/restarter2.cpp b/storage/ndb/test/ndbapi/restarter2.cpp
index a6f330dab6d..52a76054858 100644
--- a/storage/ndb/test/ndbapi/restarter2.cpp
+++ b/storage/ndb/test/ndbapi/restarter2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/restarts.cpp b/storage/ndb/test/ndbapi/restarts.cpp
index c876525d885..571cc863b5d 100644
--- a/storage/ndb/test/ndbapi/restarts.cpp
+++ b/storage/ndb/test/ndbapi/restarts.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/size.cpp b/storage/ndb/test/ndbapi/size.cpp
index 53636caebed..756ec8eee20 100644
--- a/storage/ndb/test/ndbapi/size.cpp
+++ b/storage/ndb/test/ndbapi/size.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testBackup.cpp b/storage/ndb/test/ndbapi/testBackup.cpp
index 8cab5d97ceb..3709bb68294 100644
--- a/storage/ndb/test/ndbapi/testBackup.cpp
+++ b/storage/ndb/test/ndbapi/testBackup.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testBasic.cpp b/storage/ndb/test/ndbapi/testBasic.cpp
index 6f99da0940f..d553ba03afc 100644
--- a/storage/ndb/test/ndbapi/testBasic.cpp
+++ b/storage/ndb/test/ndbapi/testBasic.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testBasicAsynch.cpp b/storage/ndb/test/ndbapi/testBasicAsynch.cpp
index 770569e9168..d9114c90151 100644
--- a/storage/ndb/test/ndbapi/testBasicAsynch.cpp
+++ b/storage/ndb/test/ndbapi/testBasicAsynch.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testBlobs.cpp b/storage/ndb/test/ndbapi/testBlobs.cpp
index 40efb0870b0..1f3bea719e7 100644
--- a/storage/ndb/test/ndbapi/testBlobs.cpp
+++ b/storage/ndb/test/ndbapi/testBlobs.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testDataBuffers.cpp b/storage/ndb/test/ndbapi/testDataBuffers.cpp
index 554d7dd5770..ae6851d947c 100644
--- a/storage/ndb/test/ndbapi/testDataBuffers.cpp
+++ b/storage/ndb/test/ndbapi/testDataBuffers.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testDeadlock.cpp b/storage/ndb/test/ndbapi/testDeadlock.cpp
index fb1473f53f4..4f611182534 100644
--- a/storage/ndb/test/ndbapi/testDeadlock.cpp
+++ b/storage/ndb/test/ndbapi/testDeadlock.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testDict.cpp b/storage/ndb/test/ndbapi/testDict.cpp
index 00dbb08bc3b..c3d01d5a43e 100644
--- a/storage/ndb/test/ndbapi/testDict.cpp
+++ b/storage/ndb/test/ndbapi/testDict.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testGrepVerify.cpp b/storage/ndb/test/ndbapi/testGrepVerify.cpp
index 38688d6c166..00e45a1af6a 100644
--- a/storage/ndb/test/ndbapi/testGrepVerify.cpp
+++ b/storage/ndb/test/ndbapi/testGrepVerify.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testIndex.cpp b/storage/ndb/test/ndbapi/testIndex.cpp
index 203522127ce..0b71230e454 100644
--- a/storage/ndb/test/ndbapi/testIndex.cpp
+++ b/storage/ndb/test/ndbapi/testIndex.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testIndexStat.cpp b/storage/ndb/test/ndbapi/testIndexStat.cpp
index 9c7d10b8279..4dd110650fe 100644
--- a/storage/ndb/test/ndbapi/testIndexStat.cpp
+++ b/storage/ndb/test/ndbapi/testIndexStat.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005 MySQL AB
+/* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testInterpreter.cpp b/storage/ndb/test/ndbapi/testInterpreter.cpp
index 8237c28a319..d9c50b804b0 100644
--- a/storage/ndb/test/ndbapi/testInterpreter.cpp
+++ b/storage/ndb/test/ndbapi/testInterpreter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testMgm.cpp b/storage/ndb/test/ndbapi/testMgm.cpp
index 2c1829b8c1f..12956d73bec 100644
--- a/storage/ndb/test/ndbapi/testMgm.cpp
+++ b/storage/ndb/test/ndbapi/testMgm.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testNDBT.cpp b/storage/ndb/test/ndbapi/testNDBT.cpp
index 6603090e9d8..4c83c914eed 100644
--- a/storage/ndb/test/ndbapi/testNDBT.cpp
+++ b/storage/ndb/test/ndbapi/testNDBT.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testNdbApi.cpp b/storage/ndb/test/ndbapi/testNdbApi.cpp
index 0b755c585e7..296aea1cd48 100644
--- a/storage/ndb/test/ndbapi/testNdbApi.cpp
+++ b/storage/ndb/test/ndbapi/testNdbApi.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testNodeRestart.cpp b/storage/ndb/test/ndbapi/testNodeRestart.cpp
index dd622782b99..8ea0e08855e 100644
--- a/storage/ndb/test/ndbapi/testNodeRestart.cpp
+++ b/storage/ndb/test/ndbapi/testNodeRestart.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testOIBasic.cpp b/storage/ndb/test/ndbapi/testOIBasic.cpp
index a3dc4bf3f23..9895ca76b24 100644
--- a/storage/ndb/test/ndbapi/testOIBasic.cpp
+++ b/storage/ndb/test/ndbapi/testOIBasic.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testOperations.cpp b/storage/ndb/test/ndbapi/testOperations.cpp
index d0fa053eed6..d002038c06d 100644
--- a/storage/ndb/test/ndbapi/testOperations.cpp
+++ b/storage/ndb/test/ndbapi/testOperations.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testOrderedIndex.cpp b/storage/ndb/test/ndbapi/testOrderedIndex.cpp
index c6a321f8d3a..0464ce1c182 100644
--- a/storage/ndb/test/ndbapi/testOrderedIndex.cpp
+++ b/storage/ndb/test/ndbapi/testOrderedIndex.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testPartitioning.cpp b/storage/ndb/test/ndbapi/testPartitioning.cpp
index 3d11742a87a..8e91764df50 100644
--- a/storage/ndb/test/ndbapi/testPartitioning.cpp
+++ b/storage/ndb/test/ndbapi/testPartitioning.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testReadPerf.cpp b/storage/ndb/test/ndbapi/testReadPerf.cpp
index 68af450799a..c3cdc513b19 100644
--- a/storage/ndb/test/ndbapi/testReadPerf.cpp
+++ b/storage/ndb/test/ndbapi/testReadPerf.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testRestartGci.cpp b/storage/ndb/test/ndbapi/testRestartGci.cpp
index ffb99751a42..26b1b24112e 100644
--- a/storage/ndb/test/ndbapi/testRestartGci.cpp
+++ b/storage/ndb/test/ndbapi/testRestartGci.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testSRBank.cpp b/storage/ndb/test/ndbapi/testSRBank.cpp
index 56743fbfc51..e7f6a696560 100644
--- a/storage/ndb/test/ndbapi/testSRBank.cpp
+++ b/storage/ndb/test/ndbapi/testSRBank.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testScan.cpp b/storage/ndb/test/ndbapi/testScan.cpp
index c9dc41116b5..d7b5c2104f3 100644
--- a/storage/ndb/test/ndbapi/testScan.cpp
+++ b/storage/ndb/test/ndbapi/testScan.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testScanInterpreter.cpp b/storage/ndb/test/ndbapi/testScanInterpreter.cpp
index 19e46f3f7f4..e65eaef42b6 100644
--- a/storage/ndb/test/ndbapi/testScanInterpreter.cpp
+++ b/storage/ndb/test/ndbapi/testScanInterpreter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testScanPerf.cpp b/storage/ndb/test/ndbapi/testScanPerf.cpp
index f63352046a8..c7f6935e607 100644
--- a/storage/ndb/test/ndbapi/testScanPerf.cpp
+++ b/storage/ndb/test/ndbapi/testScanPerf.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testSystemRestart.cpp b/storage/ndb/test/ndbapi/testSystemRestart.cpp
index 0d58548a6d1..cce31d5d2a3 100644
--- a/storage/ndb/test/ndbapi/testSystemRestart.cpp
+++ b/storage/ndb/test/ndbapi/testSystemRestart.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testTimeout.cpp b/storage/ndb/test/ndbapi/testTimeout.cpp
index bd694252a8b..feb2e780d7e 100644
--- a/storage/ndb/test/ndbapi/testTimeout.cpp
+++ b/storage/ndb/test/ndbapi/testTimeout.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/testTransactions.cpp b/storage/ndb/test/ndbapi/testTransactions.cpp
index 26b4fd7192b..813eadadef1 100644
--- a/storage/ndb/test/ndbapi/testTransactions.cpp
+++ b/storage/ndb/test/ndbapi/testTransactions.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/test_event.cpp b/storage/ndb/test/ndbapi/test_event.cpp
index 140a2120503..0aca6522225 100644
--- a/storage/ndb/test/ndbapi/test_event.cpp
+++ b/storage/ndb/test/ndbapi/test_event.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/test_event_merge.cpp b/storage/ndb/test/ndbapi/test_event_merge.cpp
index 1e34f456511..1df7fba0920 100644
--- a/storage/ndb/test/ndbapi/test_event_merge.cpp
+++ b/storage/ndb/test/ndbapi/test_event_merge.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005 MySQL AB
+/* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/test_event_multi_table.cpp b/storage/ndb/test/ndbapi/test_event_multi_table.cpp
index 6091c7baea4..a8cf0fa86c0 100644
--- a/storage/ndb/test/ndbapi/test_event_multi_table.cpp
+++ b/storage/ndb/test/ndbapi/test_event_multi_table.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005 MySQL AB
+/* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbapi/userInterface.cpp b/storage/ndb/test/ndbapi/userInterface.cpp
index 6f54401ae8d..b4110420b32 100644
--- a/storage/ndb/test/ndbapi/userInterface.cpp
+++ b/storage/ndb/test/ndbapi/userInterface.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/ndbnet/test.run b/storage/ndb/test/ndbnet/test.run
index ee6d970d247..48508e607a8 100644
--- a/storage/ndb/test/ndbnet/test.run
+++ b/storage/ndb/test/ndbnet/test.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/ndbnet/testError.run b/storage/ndb/test/ndbnet/testError.run
index 43ed7f36f02..fbbcb6d92b8 100644
--- a/storage/ndb/test/ndbnet/testError.run
+++ b/storage/ndb/test/ndbnet/testError.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/ndbnet/testMNF.run b/storage/ndb/test/ndbnet/testMNF.run
index 30675308edc..c35fc221afe 100644
--- a/storage/ndb/test/ndbnet/testMNF.run
+++ b/storage/ndb/test/ndbnet/testMNF.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/ndbnet/testNR.run b/storage/ndb/test/ndbnet/testNR.run
index ff1c3ee3a88..0708f74da98 100644
--- a/storage/ndb/test/ndbnet/testNR.run
+++ b/storage/ndb/test/ndbnet/testNR.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/ndbnet/testNR1.run b/storage/ndb/test/ndbnet/testNR1.run
index 2198a2660fe..d2fb74495d7 100644
--- a/storage/ndb/test/ndbnet/testNR1.run
+++ b/storage/ndb/test/ndbnet/testNR1.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/ndbnet/testNR4.run b/storage/ndb/test/ndbnet/testNR4.run
index cff41e81f38..fca8e9486e7 100644
--- a/storage/ndb/test/ndbnet/testNR4.run
+++ b/storage/ndb/test/ndbnet/testNR4.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/ndbnet/testSRhang.run b/storage/ndb/test/ndbnet/testSRhang.run
index c3886649333..e92bd96821f 100644
--- a/storage/ndb/test/ndbnet/testSRhang.run
+++ b/storage/ndb/test/ndbnet/testSRhang.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/ndbnet/testTR295.run b/storage/ndb/test/ndbnet/testTR295.run
index 9fae900f8de..9847cfa9846 100644
--- a/storage/ndb/test/ndbnet/testTR295.run
+++ b/storage/ndb/test/ndbnet/testTR295.run
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/newtonapi/basic_test/basic/basic.cpp b/storage/ndb/test/newtonapi/basic_test/basic/basic.cpp
index bd11f6fc52e..c3905f289f6 100644
--- a/storage/ndb/test/newtonapi/basic_test/basic/basic.cpp
+++ b/storage/ndb/test/newtonapi/basic_test/basic/basic.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/newtonapi/basic_test/bulk_read/br_test.cpp b/storage/ndb/test/newtonapi/basic_test/bulk_read/br_test.cpp
index 8a53fe0272e..e710771baba 100644
--- a/storage/ndb/test/newtonapi/basic_test/bulk_read/br_test.cpp
+++ b/storage/ndb/test/newtonapi/basic_test/bulk_read/br_test.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/newtonapi/basic_test/common.cpp b/storage/ndb/test/newtonapi/basic_test/common.cpp
index 84c785b7690..c0ad490acdf 100644
--- a/storage/ndb/test/newtonapi/basic_test/common.cpp
+++ b/storage/ndb/test/newtonapi/basic_test/common.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/newtonapi/basic_test/common.hpp b/storage/ndb/test/newtonapi/basic_test/common.hpp
index ca8a6e58904..0a64b9659d2 100644
--- a/storage/ndb/test/newtonapi/basic_test/common.hpp
+++ b/storage/ndb/test/newtonapi/basic_test/common.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/newtonapi/basic_test/ptr_binding/ptr_binding_test.cpp b/storage/ndb/test/newtonapi/basic_test/ptr_binding/ptr_binding_test.cpp
index 1498782c929..f8c03fd18be 100644
--- a/storage/ndb/test/newtonapi/basic_test/ptr_binding/ptr_binding_test.cpp
+++ b/storage/ndb/test/newtonapi/basic_test/ptr_binding/ptr_binding_test.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/newtonapi/basic_test/too_basic.cpp b/storage/ndb/test/newtonapi/basic_test/too_basic.cpp
index 1dca0f028a7..832d09a2672 100644
--- a/storage/ndb/test/newtonapi/basic_test/too_basic.cpp
+++ b/storage/ndb/test/newtonapi/basic_test/too_basic.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/newtonapi/perf_test/perf.cpp b/storage/ndb/test/newtonapi/perf_test/perf.cpp
index 8ecd98fca21..fd0a58954db 100644
--- a/storage/ndb/test/newtonapi/perf_test/perf.cpp
+++ b/storage/ndb/test/newtonapi/perf_test/perf.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/SQL99_test/SQL99_test.cpp b/storage/ndb/test/odbc/SQL99_test/SQL99_test.cpp
index 33574107fd9..6d9f168670b 100644
--- a/storage/ndb/test/odbc/SQL99_test/SQL99_test.cpp
+++ b/storage/ndb/test/odbc/SQL99_test/SQL99_test.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/SQL99_test/SQL99_test.h b/storage/ndb/test/odbc/SQL99_test/SQL99_test.h
index e9f9320b37c..0e7db439f01 100644
--- a/storage/ndb/test/odbc/SQL99_test/SQL99_test.h
+++ b/storage/ndb/test/odbc/SQL99_test/SQL99_test.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE.cpp b/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE.cpp
index e84fcd1184d..ff74afc2b57 100644
--- a/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE.cpp
+++ b/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE_HDBC.cpp b/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE_HDBC.cpp
index 3f1f6d2a5c4..f092541da57 100644
--- a/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE_HDBC.cpp
+++ b/storage/ndb/test/odbc/client/NDBT_ALLOCHANDLE_HDBC.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/NDBT_SQLConnect.cpp b/storage/ndb/test/odbc/client/NDBT_SQLConnect.cpp
index a9b10680705..3bef33c6db4 100644
--- a/storage/ndb/test/odbc/client/NDBT_SQLConnect.cpp
+++ b/storage/ndb/test/odbc/client/NDBT_SQLConnect.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/NDBT_SQLPrepare.cpp b/storage/ndb/test/odbc/client/NDBT_SQLPrepare.cpp
index 231cb401f98..39e44eda334 100644
--- a/storage/ndb/test/odbc/client/NDBT_SQLPrepare.cpp
+++ b/storage/ndb/test/odbc/client/NDBT_SQLPrepare.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLAllocEnvTest.cpp b/storage/ndb/test/odbc/client/SQLAllocEnvTest.cpp
index 810273dc5e7..80952523ef5 100644
--- a/storage/ndb/test/odbc/client/SQLAllocEnvTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLAllocEnvTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLAllocHandleTest.cpp b/storage/ndb/test/odbc/client/SQLAllocHandleTest.cpp
index b49574f40da..47991335248 100644
--- a/storage/ndb/test/odbc/client/SQLAllocHandleTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLAllocHandleTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLAllocHandleTest_bf.cpp b/storage/ndb/test/odbc/client/SQLAllocHandleTest_bf.cpp
index 510b29d011e..35d79dfb073 100644
--- a/storage/ndb/test/odbc/client/SQLAllocHandleTest_bf.cpp
+++ b/storage/ndb/test/odbc/client/SQLAllocHandleTest_bf.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLBindColTest.cpp b/storage/ndb/test/odbc/client/SQLBindColTest.cpp
index 79a8e848e84..f3613a01e1c 100644
--- a/storage/ndb/test/odbc/client/SQLBindColTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLBindColTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLBindParameterTest.cpp b/storage/ndb/test/odbc/client/SQLBindParameterTest.cpp
index 25c7132962b..2745501ab6c 100644
--- a/storage/ndb/test/odbc/client/SQLBindParameterTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLBindParameterTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLCancelTest.cpp b/storage/ndb/test/odbc/client/SQLCancelTest.cpp
index d1c5dd873a0..8c5f4b4a4ed 100644
--- a/storage/ndb/test/odbc/client/SQLCancelTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLCancelTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLCloseCursorTest.cpp b/storage/ndb/test/odbc/client/SQLCloseCursorTest.cpp
index d8e9f423ee5..123055d4462 100644
--- a/storage/ndb/test/odbc/client/SQLCloseCursorTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLCloseCursorTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLColAttributeTest.cpp b/storage/ndb/test/odbc/client/SQLColAttributeTest.cpp
index e460200d0b6..aac045dc75a 100644
--- a/storage/ndb/test/odbc/client/SQLColAttributeTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLColAttributeTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLColAttributeTest1.cpp b/storage/ndb/test/odbc/client/SQLColAttributeTest1.cpp
index 3e526213b06..76426082fbd 100644
--- a/storage/ndb/test/odbc/client/SQLColAttributeTest1.cpp
+++ b/storage/ndb/test/odbc/client/SQLColAttributeTest1.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLColAttributeTest2.cpp b/storage/ndb/test/odbc/client/SQLColAttributeTest2.cpp
index 12bcf60ccb8..2742ab7d883 100644
--- a/storage/ndb/test/odbc/client/SQLColAttributeTest2.cpp
+++ b/storage/ndb/test/odbc/client/SQLColAttributeTest2.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLColAttributeTest3.cpp b/storage/ndb/test/odbc/client/SQLColAttributeTest3.cpp
index 9a345068bd9..90a96081521 100644
--- a/storage/ndb/test/odbc/client/SQLColAttributeTest3.cpp
+++ b/storage/ndb/test/odbc/client/SQLColAttributeTest3.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLConnectTest.cpp b/storage/ndb/test/odbc/client/SQLConnectTest.cpp
index 7032889ada1..81e9a5f90f8 100644
--- a/storage/ndb/test/odbc/client/SQLConnectTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLConnectTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLCopyDescTest.cpp b/storage/ndb/test/odbc/client/SQLCopyDescTest.cpp
index 7c9fc43169b..fa6713c075b 100644
--- a/storage/ndb/test/odbc/client/SQLCopyDescTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLCopyDescTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLDescribeColTest.cpp b/storage/ndb/test/odbc/client/SQLDescribeColTest.cpp
index 2ab1f3029d4..6ec43c69301 100644
--- a/storage/ndb/test/odbc/client/SQLDescribeColTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLDescribeColTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLDisconnectTest.cpp b/storage/ndb/test/odbc/client/SQLDisconnectTest.cpp
index 5d6e0d134bc..e031c3accac 100644
--- a/storage/ndb/test/odbc/client/SQLDisconnectTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLDisconnectTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLDriverConnectTest.cpp b/storage/ndb/test/odbc/client/SQLDriverConnectTest.cpp
index d81a05cadd0..257a59016c6 100644
--- a/storage/ndb/test/odbc/client/SQLDriverConnectTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLDriverConnectTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLEndTranTest.cpp b/storage/ndb/test/odbc/client/SQLEndTranTest.cpp
index 87aa4e6f3a2..3686fbdec7c 100644
--- a/storage/ndb/test/odbc/client/SQLEndTranTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLEndTranTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLErrorTest.cpp b/storage/ndb/test/odbc/client/SQLErrorTest.cpp
index c27c8cf3381..9f43efceb3f 100644
--- a/storage/ndb/test/odbc/client/SQLErrorTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLErrorTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLExecDirectTest.cpp b/storage/ndb/test/odbc/client/SQLExecDirectTest.cpp
index 54e1993edc2..4269ef33fec 100644
--- a/storage/ndb/test/odbc/client/SQLExecDirectTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLExecDirectTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLExecuteTest.cpp b/storage/ndb/test/odbc/client/SQLExecuteTest.cpp
index 58f32ca8cce..049fe78e91e 100644
--- a/storage/ndb/test/odbc/client/SQLExecuteTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLExecuteTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLFetchScrollTest.cpp b/storage/ndb/test/odbc/client/SQLFetchScrollTest.cpp
index 099d62b3a15..484142cbf28 100644
--- a/storage/ndb/test/odbc/client/SQLFetchScrollTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLFetchScrollTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLFetchTest.cpp b/storage/ndb/test/odbc/client/SQLFetchTest.cpp
index 61c9a1fef34..bd353787a46 100644
--- a/storage/ndb/test/odbc/client/SQLFetchTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLFetchTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLFreeHandleTest.cpp b/storage/ndb/test/odbc/client/SQLFreeHandleTest.cpp
index d953abe6089..93cb5840e2b 100644
--- a/storage/ndb/test/odbc/client/SQLFreeHandleTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLFreeHandleTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLFreeStmtTest.cpp b/storage/ndb/test/odbc/client/SQLFreeStmtTest.cpp
index 82fde392bf2..9607515f035 100644
--- a/storage/ndb/test/odbc/client/SQLFreeStmtTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLFreeStmtTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetConnectAttrTest.cpp b/storage/ndb/test/odbc/client/SQLGetConnectAttrTest.cpp
index a804d792cde..8a1036f6d2d 100644
--- a/storage/ndb/test/odbc/client/SQLGetConnectAttrTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetConnectAttrTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetCursorNameTest.cpp b/storage/ndb/test/odbc/client/SQLGetCursorNameTest.cpp
index 18acc938766..a73804bd34c 100644
--- a/storage/ndb/test/odbc/client/SQLGetCursorNameTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetCursorNameTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetDataTest.cpp b/storage/ndb/test/odbc/client/SQLGetDataTest.cpp
index 597f3552f36..f2174124d32 100644
--- a/storage/ndb/test/odbc/client/SQLGetDataTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetDataTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetDescFieldTest.cpp b/storage/ndb/test/odbc/client/SQLGetDescFieldTest.cpp
index 4b1114acf33..60b11651a38 100644
--- a/storage/ndb/test/odbc/client/SQLGetDescFieldTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetDescFieldTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetDescRecTest.cpp b/storage/ndb/test/odbc/client/SQLGetDescRecTest.cpp
index 8648cc0824e..35582bb8992 100644
--- a/storage/ndb/test/odbc/client/SQLGetDescRecTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetDescRecTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetDiagFieldTest.cpp b/storage/ndb/test/odbc/client/SQLGetDiagFieldTest.cpp
index e67b3dc298d..51e44cad962 100644
--- a/storage/ndb/test/odbc/client/SQLGetDiagFieldTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetDiagFieldTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetDiagRecSimpleTest.cpp b/storage/ndb/test/odbc/client/SQLGetDiagRecSimpleTest.cpp
index 0ba2509996d..c8a14b6b6ed 100644
--- a/storage/ndb/test/odbc/client/SQLGetDiagRecSimpleTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetDiagRecSimpleTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetDiagRecTest.cpp b/storage/ndb/test/odbc/client/SQLGetDiagRecTest.cpp
index db99d5e75cd..72c48a45627 100644
--- a/storage/ndb/test/odbc/client/SQLGetDiagRecTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetDiagRecTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetEnvAttrTest.cpp b/storage/ndb/test/odbc/client/SQLGetEnvAttrTest.cpp
index ed2c29b74da..22131ed1877 100644
--- a/storage/ndb/test/odbc/client/SQLGetEnvAttrTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetEnvAttrTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetFunctionsTest.cpp b/storage/ndb/test/odbc/client/SQLGetFunctionsTest.cpp
index e9432e64eb8..0600a63a7b9 100644
--- a/storage/ndb/test/odbc/client/SQLGetFunctionsTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetFunctionsTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetInfoTest.cpp b/storage/ndb/test/odbc/client/SQLGetInfoTest.cpp
index ee45060191f..47c24f806ad 100644
--- a/storage/ndb/test/odbc/client/SQLGetInfoTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetInfoTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetStmtAttrTest.cpp b/storage/ndb/test/odbc/client/SQLGetStmtAttrTest.cpp
index 1a05618b4d8..300779d522e 100644
--- a/storage/ndb/test/odbc/client/SQLGetStmtAttrTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetStmtAttrTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLGetTypeInfoTest.cpp b/storage/ndb/test/odbc/client/SQLGetTypeInfoTest.cpp
index 9ad025f25dd..03f9a642f26 100644
--- a/storage/ndb/test/odbc/client/SQLGetTypeInfoTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLGetTypeInfoTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLMoreResultsTest.cpp b/storage/ndb/test/odbc/client/SQLMoreResultsTest.cpp
index 597a80d9dea..40646d40f11 100644
--- a/storage/ndb/test/odbc/client/SQLMoreResultsTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLMoreResultsTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLNumResultColsTest.cpp b/storage/ndb/test/odbc/client/SQLNumResultColsTest.cpp
index 6da12f23f89..69070d712e5 100644
--- a/storage/ndb/test/odbc/client/SQLNumResultColsTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLNumResultColsTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLParamDataTest.cpp b/storage/ndb/test/odbc/client/SQLParamDataTest.cpp
index a7d6cd4bf4a..94109d7a260 100644
--- a/storage/ndb/test/odbc/client/SQLParamDataTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLParamDataTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLPrepareTest.cpp b/storage/ndb/test/odbc/client/SQLPrepareTest.cpp
index 10e0937bd3c..b3700a32964 100644
--- a/storage/ndb/test/odbc/client/SQLPrepareTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLPrepareTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLPutDataTest.cpp b/storage/ndb/test/odbc/client/SQLPutDataTest.cpp
index cc35fe41718..ef6ff683fd2 100644
--- a/storage/ndb/test/odbc/client/SQLPutDataTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLPutDataTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLRowCountTest.cpp b/storage/ndb/test/odbc/client/SQLRowCountTest.cpp
index 63739cc31ea..73f8e9864b3 100644
--- a/storage/ndb/test/odbc/client/SQLRowCountTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLRowCountTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLSetConnectAttrTest.cpp b/storage/ndb/test/odbc/client/SQLSetConnectAttrTest.cpp
index f866ade6e04..598a4fd445d 100644
--- a/storage/ndb/test/odbc/client/SQLSetConnectAttrTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLSetConnectAttrTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLSetCursorNameTest.cpp b/storage/ndb/test/odbc/client/SQLSetCursorNameTest.cpp
index 852cd107a0d..1ec3fcfadfb 100644
--- a/storage/ndb/test/odbc/client/SQLSetCursorNameTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLSetCursorNameTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLSetDescFieldTest.cpp b/storage/ndb/test/odbc/client/SQLSetDescFieldTest.cpp
index 10ceda94f19..e9b4b768bd3 100644
--- a/storage/ndb/test/odbc/client/SQLSetDescFieldTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLSetDescFieldTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLSetDescRecTest.cpp b/storage/ndb/test/odbc/client/SQLSetDescRecTest.cpp
index 81d5cc3e234..9eb657e6b87 100644
--- a/storage/ndb/test/odbc/client/SQLSetDescRecTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLSetDescRecTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLSetEnvAttrTest.cpp b/storage/ndb/test/odbc/client/SQLSetEnvAttrTest.cpp
index d045008f2e9..2e9611e3e29 100644
--- a/storage/ndb/test/odbc/client/SQLSetEnvAttrTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLSetEnvAttrTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLSetStmtAttrTest.cpp b/storage/ndb/test/odbc/client/SQLSetStmtAttrTest.cpp
index 9746c993e43..2549eba0779 100644
--- a/storage/ndb/test/odbc/client/SQLSetStmtAttrTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLSetStmtAttrTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLTablesTest.cpp b/storage/ndb/test/odbc/client/SQLTablesTest.cpp
index 4b063f2d1a0..3915ba74632 100644
--- a/storage/ndb/test/odbc/client/SQLTablesTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLTablesTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/SQLTransactTest.cpp b/storage/ndb/test/odbc/client/SQLTransactTest.cpp
index a1495be3702..147e470a9ce 100644
--- a/storage/ndb/test/odbc/client/SQLTransactTest.cpp
+++ b/storage/ndb/test/odbc/client/SQLTransactTest.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/common.hpp b/storage/ndb/test/odbc/client/common.hpp
index 1379582b8f6..1524335aa29 100644
--- a/storage/ndb/test/odbc/client/common.hpp
+++ b/storage/ndb/test/odbc/client/common.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/client/main.cpp b/storage/ndb/test/odbc/client/main.cpp
index ee0d3f29e70..6c891e6b798 100644
--- a/storage/ndb/test/odbc/client/main.cpp
+++ b/storage/ndb/test/odbc/client/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/driver/testOdbcDriver.cpp b/storage/ndb/test/odbc/driver/testOdbcDriver.cpp
index d5c3cfac1ac..c233992139b 100644
--- a/storage/ndb/test/odbc/driver/testOdbcDriver.cpp
+++ b/storage/ndb/test/odbc/driver/testOdbcDriver.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/odbc/test_compiler/test_compiler.cpp b/storage/ndb/test/odbc/test_compiler/test_compiler.cpp
index db196a6dd1d..1db1ad35dd8 100644
--- a/storage/ndb/test/odbc/test_compiler/test_compiler.cpp
+++ b/storage/ndb/test/odbc/test_compiler/test_compiler.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/run-test/atrt-analyze-result.sh b/storage/ndb/test/run-test/atrt-analyze-result.sh
index 9341033dd47..d7b0c72c8d8 100755
--- a/storage/ndb/test/run-test/atrt-analyze-result.sh
+++ b/storage/ndb/test/run-test/atrt-analyze-result.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/run-test/atrt-clear-result.sh b/storage/ndb/test/run-test/atrt-clear-result.sh
index e4dc52a5acb..65617e12515 100755
--- a/storage/ndb/test/run-test/atrt-clear-result.sh
+++ b/storage/ndb/test/run-test/atrt-clear-result.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/run-test/atrt-gather-result.sh b/storage/ndb/test/run-test/atrt-gather-result.sh
index 0c2820edcfe..8af45e97041 100755
--- a/storage/ndb/test/run-test/atrt-gather-result.sh
+++ b/storage/ndb/test/run-test/atrt-gather-result.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005, 2007 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/run-test/atrt-setup.sh b/storage/ndb/test/run-test/atrt-setup.sh
index 5d48c7316b6..b42919c85fe 100755
--- a/storage/ndb/test/run-test/atrt-setup.sh
+++ b/storage/ndb/test/run-test/atrt-setup.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/run-test/atrt-testBackup b/storage/ndb/test/run-test/atrt-testBackup
index 7bb1a875225..3f8ff9e4655 100755
--- a/storage/ndb/test/run-test/atrt-testBackup
+++ b/storage/ndb/test/run-test/atrt-testBackup
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/run-test/atrt.hpp b/storage/ndb/test/run-test/atrt.hpp
index fc92638c59a..a3adf4c05ae 100644
--- a/storage/ndb/test/run-test/atrt.hpp
+++ b/storage/ndb/test/run-test/atrt.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB, 2008 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/run-test/main.cpp b/storage/ndb/test/run-test/main.cpp
index 8a8e5d73f2a..8618081bac7 100644
--- a/storage/ndb/test/run-test/main.cpp
+++ b/storage/ndb/test/run-test/main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/run-test/make-index.sh b/storage/ndb/test/run-test/make-index.sh
index 1818fa22ac9..75736c93cb7 100755
--- a/storage/ndb/test/run-test/make-index.sh
+++ b/storage/ndb/test/run-test/make-index.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
diff --git a/storage/ndb/test/src/CpcClient.cpp b/storage/ndb/test/src/CpcClient.cpp
index de63300d05d..cf67fdea223 100644
--- a/storage/ndb/test/src/CpcClient.cpp
+++ b/storage/ndb/test/src/CpcClient.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/DbUtil.cpp b/storage/ndb/test/src/DbUtil.cpp
index c17f81f9cb4..a95f9d1eed9 100755
--- a/storage/ndb/test/src/DbUtil.cpp
+++ b/storage/ndb/test/src/DbUtil.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008 MySQL AB
+/* Copyright (c) 2007, 2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/HugoAsynchTransactions.cpp b/storage/ndb/test/src/HugoAsynchTransactions.cpp
index 8c2fcf72b43..42ab7190733 100644
--- a/storage/ndb/test/src/HugoAsynchTransactions.cpp
+++ b/storage/ndb/test/src/HugoAsynchTransactions.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/HugoCalculator.cpp b/storage/ndb/test/src/HugoCalculator.cpp
index ef7258ab306..e42ab7b3dba 100644
--- a/storage/ndb/test/src/HugoCalculator.cpp
+++ b/storage/ndb/test/src/HugoCalculator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/HugoOperations.cpp b/storage/ndb/test/src/HugoOperations.cpp
index 2af8ae21760..b8499114c97 100644
--- a/storage/ndb/test/src/HugoOperations.cpp
+++ b/storage/ndb/test/src/HugoOperations.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/HugoTransactions.cpp b/storage/ndb/test/src/HugoTransactions.cpp
index 22346a99354..09a26a47880 100644
--- a/storage/ndb/test/src/HugoTransactions.cpp
+++ b/storage/ndb/test/src/HugoTransactions.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_Error.cpp b/storage/ndb/test/src/NDBT_Error.cpp
index ba0160e780e..0a708ddf690 100644
--- a/storage/ndb/test/src/NDBT_Error.cpp
+++ b/storage/ndb/test/src/NDBT_Error.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_Output.cpp b/storage/ndb/test/src/NDBT_Output.cpp
index 395f6e5222c..0773d0a5a22 100644
--- a/storage/ndb/test/src/NDBT_Output.cpp
+++ b/storage/ndb/test/src/NDBT_Output.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_ResultRow.cpp b/storage/ndb/test/src/NDBT_ResultRow.cpp
index 559b1845a51..04a626e8777 100644
--- a/storage/ndb/test/src/NDBT_ResultRow.cpp
+++ b/storage/ndb/test/src/NDBT_ResultRow.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_ReturnCodes.cpp b/storage/ndb/test/src/NDBT_ReturnCodes.cpp
index 47b57a8c614..7bffe36365f 100644
--- a/storage/ndb/test/src/NDBT_ReturnCodes.cpp
+++ b/storage/ndb/test/src/NDBT_ReturnCodes.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_Table.cpp b/storage/ndb/test/src/NDBT_Table.cpp
index 26021718b13..e3f6413304e 100644
--- a/storage/ndb/test/src/NDBT_Table.cpp
+++ b/storage/ndb/test/src/NDBT_Table.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_Tables.cpp b/storage/ndb/test/src/NDBT_Tables.cpp
index 8b07119a943..e52115be9a7 100644
--- a/storage/ndb/test/src/NDBT_Tables.cpp
+++ b/storage/ndb/test/src/NDBT_Tables.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_Test.cpp b/storage/ndb/test/src/NDBT_Test.cpp
index 535f423cb9d..891c0d91ae1 100644
--- a/storage/ndb/test/src/NDBT_Test.cpp
+++ b/storage/ndb/test/src/NDBT_Test.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NDBT_Thread.cpp b/storage/ndb/test/src/NDBT_Thread.cpp
index 71bb8949474..f7b4a17bd14 100644
--- a/storage/ndb/test/src/NDBT_Thread.cpp
+++ b/storage/ndb/test/src/NDBT_Thread.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbBackup.cpp b/storage/ndb/test/src/NdbBackup.cpp
index a4e35256b8c..976bcac5467 100644
--- a/storage/ndb/test/src/NdbBackup.cpp
+++ b/storage/ndb/test/src/NdbBackup.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbConfig.cpp b/storage/ndb/test/src/NdbConfig.cpp
index d463078c64d..f2bd4888792 100644
--- a/storage/ndb/test/src/NdbConfig.cpp
+++ b/storage/ndb/test/src/NdbConfig.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbGrep.cpp b/storage/ndb/test/src/NdbGrep.cpp
index db0fa398140..61505c75754 100644
--- a/storage/ndb/test/src/NdbGrep.cpp
+++ b/storage/ndb/test/src/NdbGrep.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbMixRestarter.cpp b/storage/ndb/test/src/NdbMixRestarter.cpp
index 6993bba1887..94b5ab9422b 100644
--- a/storage/ndb/test/src/NdbMixRestarter.cpp
+++ b/storage/ndb/test/src/NdbMixRestarter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbRestarter.cpp b/storage/ndb/test/src/NdbRestarter.cpp
index fbfd6993722..c46f6f89f2f 100644
--- a/storage/ndb/test/src/NdbRestarter.cpp
+++ b/storage/ndb/test/src/NdbRestarter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbRestarts.cpp b/storage/ndb/test/src/NdbRestarts.cpp
index e234aeb9451..5c5aaa5c671 100644
--- a/storage/ndb/test/src/NdbRestarts.cpp
+++ b/storage/ndb/test/src/NdbRestarts.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbSchemaCon.cpp b/storage/ndb/test/src/NdbSchemaCon.cpp
index 8092ecd6d5a..65cb9c0e83a 100644
--- a/storage/ndb/test/src/NdbSchemaCon.cpp
+++ b/storage/ndb/test/src/NdbSchemaCon.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/NdbSchemaOp.cpp b/storage/ndb/test/src/NdbSchemaOp.cpp
index 707ae9ca5c0..1694ed34e51 100644
--- a/storage/ndb/test/src/NdbSchemaOp.cpp
+++ b/storage/ndb/test/src/NdbSchemaOp.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/src/UtilTransactions.cpp b/storage/ndb/test/src/UtilTransactions.cpp
index 2a1076e0f32..e744b11c4d7 100644
--- a/storage/ndb/test/src/UtilTransactions.cpp
+++ b/storage/ndb/test/src/UtilTransactions.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/connect.cpp b/storage/ndb/test/tools/connect.cpp
index 5d0e39d7b38..947cca95d46 100644
--- a/storage/ndb/test/tools/connect.cpp
+++ b/storage/ndb/test/tools/connect.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/copy_tab.cpp b/storage/ndb/test/tools/copy_tab.cpp
index ac1c9e89a32..285be8068be 100644
--- a/storage/ndb/test/tools/copy_tab.cpp
+++ b/storage/ndb/test/tools/copy_tab.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/cpcc.cpp b/storage/ndb/test/tools/cpcc.cpp
index e2006ed27d2..a46d9714fa6 100644
--- a/storage/ndb/test/tools/cpcc.cpp
+++ b/storage/ndb/test/tools/cpcc.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/create_index.cpp b/storage/ndb/test/tools/create_index.cpp
index caea012a828..6098a681cb2 100644
--- a/storage/ndb/test/tools/create_index.cpp
+++ b/storage/ndb/test/tools/create_index.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoCalculator.cpp b/storage/ndb/test/tools/hugoCalculator.cpp
index 307ec20ad0e..872cb3ecb5b 100644
--- a/storage/ndb/test/tools/hugoCalculator.cpp
+++ b/storage/ndb/test/tools/hugoCalculator.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoFill.cpp b/storage/ndb/test/tools/hugoFill.cpp
index b48fac3adb6..6778f640115 100644
--- a/storage/ndb/test/tools/hugoFill.cpp
+++ b/storage/ndb/test/tools/hugoFill.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoLoad.cpp b/storage/ndb/test/tools/hugoLoad.cpp
index b2e5715a2e6..3bea628cb1d 100644
--- a/storage/ndb/test/tools/hugoLoad.cpp
+++ b/storage/ndb/test/tools/hugoLoad.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoLockRecords.cpp b/storage/ndb/test/tools/hugoLockRecords.cpp
index 86218720738..7c52d553beb 100644
--- a/storage/ndb/test/tools/hugoLockRecords.cpp
+++ b/storage/ndb/test/tools/hugoLockRecords.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoPkDelete.cpp b/storage/ndb/test/tools/hugoPkDelete.cpp
index 772a01427ba..154cbfec169 100644
--- a/storage/ndb/test/tools/hugoPkDelete.cpp
+++ b/storage/ndb/test/tools/hugoPkDelete.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoPkRead.cpp b/storage/ndb/test/tools/hugoPkRead.cpp
index 26d3d9fcddf..03617d053b5 100644
--- a/storage/ndb/test/tools/hugoPkRead.cpp
+++ b/storage/ndb/test/tools/hugoPkRead.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoPkReadRecord.cpp b/storage/ndb/test/tools/hugoPkReadRecord.cpp
index 6abbbc09442..ef38cec3f13 100644
--- a/storage/ndb/test/tools/hugoPkReadRecord.cpp
+++ b/storage/ndb/test/tools/hugoPkReadRecord.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoPkUpdate.cpp b/storage/ndb/test/tools/hugoPkUpdate.cpp
index 83df05adb17..38eed5677bb 100644
--- a/storage/ndb/test/tools/hugoPkUpdate.cpp
+++ b/storage/ndb/test/tools/hugoPkUpdate.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2008 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoScanRead.cpp b/storage/ndb/test/tools/hugoScanRead.cpp
index 096f2bac77b..b28f035684c 100644
--- a/storage/ndb/test/tools/hugoScanRead.cpp
+++ b/storage/ndb/test/tools/hugoScanRead.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/hugoScanUpdate.cpp b/storage/ndb/test/tools/hugoScanUpdate.cpp
index 39a83ede826..e47ecb74628 100644
--- a/storage/ndb/test/tools/hugoScanUpdate.cpp
+++ b/storage/ndb/test/tools/hugoScanUpdate.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/listen.cpp b/storage/ndb/test/tools/listen.cpp
index 669bbd18405..a009b2bad82 100644
--- a/storage/ndb/test/tools/listen.cpp
+++ b/storage/ndb/test/tools/listen.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2005-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/rep_latency.cpp b/storage/ndb/test/tools/rep_latency.cpp
index 927ecb9ad37..3171cbc8b3a 100644
--- a/storage/ndb/test/tools/rep_latency.cpp
+++ b/storage/ndb/test/tools/rep_latency.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/restart.cpp b/storage/ndb/test/tools/restart.cpp
index d543d65762d..7f080158284 100644
--- a/storage/ndb/test/tools/restart.cpp
+++ b/storage/ndb/test/tools/restart.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/transproxy.cpp b/storage/ndb/test/tools/transproxy.cpp
index 9b07e5dae43..56f422da290 100644
--- a/storage/ndb/test/tools/transproxy.cpp
+++ b/storage/ndb/test/tools/transproxy.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/test/tools/verify_index.cpp b/storage/ndb/test/tools/verify_index.cpp
index e44c21b4949..7bab01ad0e5 100644
--- a/storage/ndb/test/tools/verify_index.cpp
+++ b/storage/ndb/test/tools/verify_index.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/clean-links.sh b/storage/ndb/tools/clean-links.sh
index 703315df9ac..be4ce12b34a 100755
--- a/storage/ndb/tools/clean-links.sh
+++ b/storage/ndb/tools/clean-links.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/delete_all.cpp b/storage/ndb/tools/delete_all.cpp
index 87c7cfe8acb..0721c699fb8 100644
--- a/storage/ndb/tools/delete_all.cpp
+++ b/storage/ndb/tools/delete_all.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/desc.cpp b/storage/ndb/tools/desc.cpp
index 29313a7a5a8..f85915d5a87 100644
--- a/storage/ndb/tools/desc.cpp
+++ b/storage/ndb/tools/desc.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/drop_index.cpp b/storage/ndb/tools/drop_index.cpp
index 1162fb8fb0d..244e13c76c9 100644
--- a/storage/ndb/tools/drop_index.cpp
+++ b/storage/ndb/tools/drop_index.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/drop_tab.cpp b/storage/ndb/tools/drop_tab.cpp
index b4884e0043c..09b17196b39 100644
--- a/storage/ndb/tools/drop_tab.cpp
+++ b/storage/ndb/tools/drop_tab.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/listTables.cpp b/storage/ndb/tools/listTables.cpp
index a5a092bd460..9e5ebf5fc33 100644
--- a/storage/ndb/tools/listTables.cpp
+++ b/storage/ndb/tools/listTables.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/make-errors.pl b/storage/ndb/tools/make-errors.pl
index 06f1ca0b72d..45241f16eb0 100644
--- a/storage/ndb/tools/make-errors.pl
+++ b/storage/ndb/tools/make-errors.pl
@@ -1,6 +1,6 @@
#! /usr/local/bin/perl
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/make-links.sh b/storage/ndb/tools/make-links.sh
index 53fa7fca3e3..2a53c53da69 100755
--- a/storage/ndb/tools/make-links.sh
+++ b/storage/ndb/tools/make-links.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/ndb_config.cpp b/storage/ndb/tools/ndb_config.cpp
index 3b4b22c0ef7..0845b08f95f 100644
--- a/storage/ndb/tools/ndb_config.cpp
+++ b/storage/ndb/tools/ndb_config.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/ndb_error_reporter b/storage/ndb/tools/ndb_error_reporter
index 03151903d2d..7fb9845dba0 100644
--- a/storage/ndb/tools/ndb_error_reporter
+++ b/storage/ndb/tools/ndb_error_reporter
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-# Copyright (C) 2005 MySQL AB
+# Copyright (c) 2005-2007 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/ndb_test_platform.cpp b/storage/ndb/tools/ndb_test_platform.cpp
index 051af49a7a6..9772e3ae70f 100644
--- a/storage/ndb/tools/ndb_test_platform.cpp
+++ b/storage/ndb/tools/ndb_test_platform.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/ndbsql.cpp b/storage/ndb/tools/ndbsql.cpp
index 6b9dd33f4fb..366da2223a5 100644
--- a/storage/ndb/tools/ndbsql.cpp
+++ b/storage/ndb/tools/ndbsql.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/Restore.cpp b/storage/ndb/tools/restore/Restore.cpp
index ff5a07c41cf..d681b1c07ad 100644
--- a/storage/ndb/tools/restore/Restore.cpp
+++ b/storage/ndb/tools/restore/Restore.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/Restore.hpp b/storage/ndb/tools/restore/Restore.hpp
index 7a8aa955644..2be9c70c865 100644
--- a/storage/ndb/tools/restore/Restore.hpp
+++ b/storage/ndb/tools/restore/Restore.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/consumer.cpp b/storage/ndb/tools/restore/consumer.cpp
index 027289821bb..c32f79ebf56 100644
--- a/storage/ndb/tools/restore/consumer.cpp
+++ b/storage/ndb/tools/restore/consumer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/consumer.hpp b/storage/ndb/tools/restore/consumer.hpp
index a0c0eb33282..d8a689632bf 100644
--- a/storage/ndb/tools/restore/consumer.hpp
+++ b/storage/ndb/tools/restore/consumer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/consumer_printer.cpp b/storage/ndb/tools/restore/consumer_printer.cpp
index 185bc6eb227..ee52d14fe76 100644
--- a/storage/ndb/tools/restore/consumer_printer.cpp
+++ b/storage/ndb/tools/restore/consumer_printer.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/consumer_printer.hpp b/storage/ndb/tools/restore/consumer_printer.hpp
index f64f2f8f725..f5c4a30629e 100644
--- a/storage/ndb/tools/restore/consumer_printer.hpp
+++ b/storage/ndb/tools/restore/consumer_printer.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/consumer_restore.cpp b/storage/ndb/tools/restore/consumer_restore.cpp
index 950c5acc703..c39af7fcd8b 100644
--- a/storage/ndb/tools/restore/consumer_restore.cpp
+++ b/storage/ndb/tools/restore/consumer_restore.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/consumer_restore.hpp b/storage/ndb/tools/restore/consumer_restore.hpp
index ec2231f947e..c80890e4e6d 100644
--- a/storage/ndb/tools/restore/consumer_restore.hpp
+++ b/storage/ndb/tools/restore/consumer_restore.hpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/consumer_restorem.cpp b/storage/ndb/tools/restore/consumer_restorem.cpp
index 429b3b2e0af..612624ef78d 100644
--- a/storage/ndb/tools/restore/consumer_restorem.cpp
+++ b/storage/ndb/tools/restore/consumer_restorem.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003-2006 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/ndb_nodegroup_map.h b/storage/ndb/tools/restore/ndb_nodegroup_map.h
index f265a0f9b38..116cb92c79f 100644
--- a/storage/ndb/tools/restore/ndb_nodegroup_map.h
+++ b/storage/ndb/tools/restore/ndb_nodegroup_map.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/restore/restore_main.cpp b/storage/ndb/tools/restore/restore_main.cpp
index 996df613770..9af989e457a 100644
--- a/storage/ndb/tools/restore/restore_main.cpp
+++ b/storage/ndb/tools/restore/restore_main.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/rgrep b/storage/ndb/tools/rgrep
index 681db7ecc7c..8d9fb9c0ac7 100755
--- a/storage/ndb/tools/rgrep
+++ b/storage/ndb/tools/rgrep
@@ -1,6 +1,6 @@
#!/vobs/wds/swt/bin/perl
-# Copyright (C) 2004 MySQL AB
+# Copyright (c) 2004, 2005 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/select_all.cpp b/storage/ndb/tools/select_all.cpp
index 0949f72ec1e..b8fbf977125 100644
--- a/storage/ndb/tools/select_all.cpp
+++ b/storage/ndb/tools/select_all.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/select_count.cpp b/storage/ndb/tools/select_count.cpp
index c66c3efd4d5..4c523371cc0 100644
--- a/storage/ndb/tools/select_count.cpp
+++ b/storage/ndb/tools/select_count.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/ndb/tools/waiter.cpp b/storage/ndb/tools/waiter.cpp
index 59347a09014..c9127358c69 100644
--- a/storage/ndb/tools/waiter.cpp
+++ b/storage/ndb/tools/waiter.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/oqgraph/CMakeLists.txt b/storage/oqgraph/CMakeLists.txt
index 74d05873f6f..0c361e27707 100644
--- a/storage/oqgraph/CMakeLists.txt
+++ b/storage/oqgraph/CMakeLists.txt
@@ -3,14 +3,14 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
MESSAGE(STATUS "Configuring OQGraph")
FIND_PACKAGE(Boost)
IF(NOT Boost_FOUND)
- MESSAGE(STATUS "Boost not found")
+ MESSAGE(STATUS "Boost not found. OQGraph will not be compiled")
RETURN()
ENDIF()
INCLUDE_DIRECTORIES(BEFORE ${Boost_INCLUDE_DIRS})
FIND_PACKAGE(Judy)
IF(NOT Judy_FOUND)
- MESSAGE(STATUS "Judy not found")
+ MESSAGE(STATUS "Judy not found. OQGraph will not be compiled")
RETURN()
ENDIF()
INCLUDE_DIRECTORIES(${Judy_INCLUDE_DIR})
@@ -51,8 +51,10 @@ IF(BOOST_OK)
oqgraph_shim.cc oqgraph_thunk.cc oqgraph_judy.cc
STORAGE_ENGINE
MODULE_ONLY
+ RECOMPILE_FOR_EMBEDDED
COMPONENT oqgraph-engine
LINK_LIBRARIES ${Judy_LIBRARIES})
+ MESSAGE(STATUS "OQGraph OK")
ELSE(BOOST_OK)
- MESSAGE(STATUS "Requisites for OQGraph not met")
+ MESSAGE(STATUS "Requisites for OQGraph not met. OQGraph will not be compiled")
ENDIF(BOOST_OK)
diff --git a/storage/oqgraph/ha_oqgraph.cc b/storage/oqgraph/ha_oqgraph.cc
index 12a39e0f230..650be75ceda 100644
--- a/storage/oqgraph/ha_oqgraph.cc
+++ b/storage/oqgraph/ha_oqgraph.cc
@@ -538,7 +538,11 @@ int ha_oqgraph::open(const char *name, int mode, uint test_if_locked)
origid= destid= weight= 0;
+ // Here we're abusing init_tmp_table_share() which is normally only works for thread-local shares.
init_tmp_table_share( thd, share, table->s->db.str, table->s->db.length, options->table_name, "");
+ // because of that, we need to reinitialize the memroot (to reset MY_THREAD_SPECIFIC flag)
+ DBUG_ASSERT(share->mem_root.used == NULL); // it's still empty
+ init_sql_alloc(&share->mem_root, TABLE_ALLOC_BLOCK_SIZE, 0, MYF(0));
// What I think this code is doing:
// * Our OQGRAPH table is `database_blah/name`
diff --git a/storage/oqgraph/ha_oqgraph.h b/storage/oqgraph/ha_oqgraph.h
index 2a998425c27..14490270031 100644
--- a/storage/oqgraph/ha_oqgraph.h
+++ b/storage/oqgraph/ha_oqgraph.h
@@ -115,6 +115,20 @@ public:
virtual const char *table_type() const { return hton_name(ht)->str; }
#endif
+ my_bool register_query_cache_table(THD *thd, char *table_key,
+ uint key_length,
+ qc_engine_callback
+ *engine_callback,
+ ulonglong *engine_data)
+ {
+ /*
+ Do not put data from OQGRAPH tables into query cache (because there
+ is no way to tell whether the data in the backing table has changed or
+ not)
+ */
+ return FALSE;
+ }
+
private:
int oqgraph_check_table_structure (TABLE *table_arg);
diff --git a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result
index 9aa806eace9..7cb65bc07ea 100644
--- a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result
+++ b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result
@@ -1,6 +1,7 @@
DROP TABLE IF EXISTS graph_base;
DROP TABLE IF EXISTS graph;
DROP TABLE IF EXISTS graph2;
+call mtr.add_suppression("graph_base is open on delete");
CREATE TABLE graph2 (
latch VARCHAR(32) NULL,
origid BIGINT UNSIGNED NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test
index 869994aa208..a6dae0e2678 100644
--- a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test
+++ b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test
@@ -4,6 +4,8 @@ DROP TABLE IF EXISTS graph;
DROP TABLE IF EXISTS graph2;
--enable_warnings
+call mtr.add_suppression("graph_base is open on delete");
+
CREATE TABLE graph2 (
latch VARCHAR(32) NULL,
origid BIGINT UNSIGNED NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.result b/storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.result
new file mode 100644
index 00000000000..3d9c13bd733
--- /dev/null
+++ b/storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.result
@@ -0,0 +1,32 @@
+CREATE TABLE oq_backing (
+origid INT UNSIGNED NOT NULL,
+destid INT UNSIGNED NOT NULL,
+weight DOUBLE NOT NULL,
+PRIMARY KEY (origid, destid),
+KEY (destid)
+);
+CREATE TABLE oq_table (
+latch VARCHAR(32) NULL,
+origid BIGINT UNSIGNED NULL,
+destid BIGINT UNSIGNED NULL,
+weight DOUBLE NULL,
+seq BIGINT UNSIGNED NULL,
+linkid BIGINT UNSIGNED NULL,
+KEY (latch, origid, destid) USING HASH,
+KEY (latch, destid, origid) USING HASH
+) ENGINE=OQGRAPH
+data_table='oq_backing' origid='origid' destid='destid' weight='weight';
+flush tables;
+show fields in oq_table;
+Field Type Null Key Default Extra
+latch varchar(32) YES MUL NULL
+origid bigint(20) unsigned YES NULL
+destid bigint(20) unsigned YES NULL
+weight double YES NULL
+seq bigint(20) unsigned YES NULL
+linkid bigint(20) unsigned YES NULL
+show tables;
+Tables_in_test
+oq_backing
+oq_table
+drop table oq_table, oq_backing;
diff --git a/storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.test b/storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.test
new file mode 100644
index 00000000000..9d7fab722c0
--- /dev/null
+++ b/storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.test
@@ -0,0 +1,37 @@
+#
+# MDEV-5748 Assertion `status_var.memory_used == 0' fails on disconnect after opening an OQGRAPH table
+#
+
+# try to open oqgraph table in one connection and use in another:
+
+--connect (con1,localhost,root,,)
+
+CREATE TABLE oq_backing (
+ origid INT UNSIGNED NOT NULL,
+ destid INT UNSIGNED NOT NULL,
+ weight DOUBLE NOT NULL,
+ PRIMARY KEY (origid, destid),
+ KEY (destid)
+);
+
+CREATE TABLE oq_table (
+ latch VARCHAR(32) NULL,
+ origid BIGINT UNSIGNED NULL,
+ destid BIGINT UNSIGNED NULL,
+ weight DOUBLE NULL,
+ seq BIGINT UNSIGNED NULL,
+ linkid BIGINT UNSIGNED NULL,
+ KEY (latch, origid, destid) USING HASH,
+ KEY (latch, destid, origid) USING HASH
+) ENGINE=OQGRAPH
+data_table='oq_backing' origid='origid' destid='destid' weight='weight';
+
+flush tables;
+show fields in oq_table;
+--disconnect con1
+
+--connection default
+show tables;
+
+drop table oq_table, oq_backing;
+
diff --git a/storage/oqgraph/mysql-test/oqgraph/invalid_operations.result b/storage/oqgraph/mysql-test/oqgraph/invalid_operations.result
index 046c468b768..49639c278d0 100644
--- a/storage/oqgraph/mysql-test/oqgraph/invalid_operations.result
+++ b/storage/oqgraph/mysql-test/oqgraph/invalid_operations.result
@@ -1,5 +1,6 @@
DROP TABLE IF EXISTS graph_base;
DROP TABLE IF EXISTS graph;
+call mtr.add_suppression("graph_base is open on delete");
CREATE TABLE graph_base (
from_id INT UNSIGNED NOT NULL,
to_id INT UNSIGNED NOT NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/invalid_operations.test b/storage/oqgraph/mysql-test/oqgraph/invalid_operations.test
index 8f79b23ed43..cab99ec5018 100644
--- a/storage/oqgraph/mysql-test/oqgraph/invalid_operations.test
+++ b/storage/oqgraph/mysql-test/oqgraph/invalid_operations.test
@@ -3,6 +3,8 @@ DROP TABLE IF EXISTS graph_base;
DROP TABLE IF EXISTS graph;
--enable_warnings
+call mtr.add_suppression("graph_base is open on delete");
+
# Create the backing store
CREATE TABLE graph_base (
from_id INT UNSIGNED NOT NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/isnull.result b/storage/oqgraph/mysql-test/oqgraph/isnull.result
index 38ebf12413c..d9af33222dc 100644
--- a/storage/oqgraph/mysql-test/oqgraph/isnull.result
+++ b/storage/oqgraph/mysql-test/oqgraph/isnull.result
@@ -38,5 +38,5 @@ NULL 1 NULL 1 1 2
select * from graph where latch is null and destid=2;
latch origid destid weight seq linkid
NULL NULL 2 1 1 1
-DROP TABLE graph_base;
DROP TABLE graph;
+DROP TABLE graph_base;
diff --git a/storage/oqgraph/mysql-test/oqgraph/isnull.test b/storage/oqgraph/mysql-test/oqgraph/isnull.test
index 93105887834..dc7622daa0d 100644
--- a/storage/oqgraph/mysql-test/oqgraph/isnull.test
+++ b/storage/oqgraph/mysql-test/oqgraph/isnull.test
@@ -34,6 +34,5 @@ select * from graph where latch is null;
select * from graph where latch is null and origid=1;
select * from graph where latch is null and destid=2;
-DROP TABLE graph_base;
DROP TABLE graph;
-
+DROP TABLE graph_base;
diff --git a/storage/oqgraph/mysql-test/oqgraph/regression_1233113.result b/storage/oqgraph/mysql-test/oqgraph/regression_1233113.result
index 415b2181bbb..2b0ea4b2acb 100644
--- a/storage/oqgraph/mysql-test/oqgraph/regression_1233113.result
+++ b/storage/oqgraph/mysql-test/oqgraph/regression_1233113.result
@@ -1,5 +1,6 @@
DROP TABLE IF EXISTS graph_base;
DROP TABLE IF EXISTS graph;
+call mtr.add_suppression("graph_base is open on delete");
CREATE TABLE graph_base (
from_id INT UNSIGNED NOT NULL,
to_id INT UNSIGNED NOT NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/regression_1233113.test b/storage/oqgraph/mysql-test/oqgraph/regression_1233113.test
index 26e6656eea5..db53b2b39ae 100644
--- a/storage/oqgraph/mysql-test/oqgraph/regression_1233113.test
+++ b/storage/oqgraph/mysql-test/oqgraph/regression_1233113.test
@@ -3,6 +3,8 @@ DROP TABLE IF EXISTS graph_base;
DROP TABLE IF EXISTS graph;
--enable_warnings
+call mtr.add_suppression("graph_base is open on delete");
+
# Create the backing store
CREATE TABLE graph_base (
from_id INT UNSIGNED NOT NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.result b/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.result
index 84902676ef2..cace2c40564 100644
--- a/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.result
+++ b/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.result
@@ -1,5 +1,6 @@
DROP TABLE IF EXISTS graph_base;
DROP TABLE IF EXISTS graph;
+call mtr.add_suppression("graph_base is open on delete");
CREATE TABLE graph_base (
from_id INT UNSIGNED NOT NULL,
to_id INT UNSIGNED NOT NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.test b/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.test
index b6f4418112c..673eb867032 100644
--- a/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.test
+++ b/storage/oqgraph/mysql-test/oqgraph/regression_drop_after.test
@@ -3,6 +3,8 @@ DROP TABLE IF EXISTS graph_base;
DROP TABLE IF EXISTS graph;
--enable_warnings
+call mtr.add_suppression("graph_base is open on delete");
+
# Create the backing store
CREATE TABLE graph_base (
from_id INT UNSIGNED NOT NULL,
diff --git a/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.opt b/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.opt
new file mode 100644
index 00000000000..a4548161f9b
--- /dev/null
+++ b/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.opt
@@ -0,0 +1 @@
+--query_cache_type=ON
diff --git a/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.result b/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.result
new file mode 100644
index 00000000000..731c6726247
--- /dev/null
+++ b/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.result
@@ -0,0 +1,42 @@
+DROP TABLE IF EXISTS graph_base;
+DROP TABLE IF EXISTS graph;
+call mtr.add_suppression("graph_base is open on delete");
+CREATE TABLE graph_base (
+from_id INT UNSIGNED NOT NULL,
+to_id INT UNSIGNED NOT NULL,
+PRIMARY KEY (from_id,to_id),
+INDEX (to_id)
+) ENGINE=MyISAM;
+CREATE TABLE graph (
+latch VARCHAR(32) NULL,
+origid BIGINT UNSIGNED NULL,
+destid BIGINT UNSIGNED NULL,
+weight DOUBLE NULL,
+seq BIGINT UNSIGNED NULL,
+linkid BIGINT UNSIGNED NULL,
+KEY (latch, origid, destid) USING HASH,
+KEY (latch, destid, origid) USING HASH
+) ENGINE=OQGRAPH DATA_TABLE='graph_base' ORIGID='from_id', DESTID='to_id';
+INSERT INTO graph_base(from_id, to_id) VALUES (1,2), (2,1);
+SET @query_cache_size.saved = @@query_cache_size;
+SET GLOBAL query_cache_size = 1024*1024;
+SELECT * FROM graph;
+latch origid destid weight seq linkid
+NULL 1 2 1 NULL NULL
+NULL 2 1 1 NULL NULL
+UPDATE graph_base SET to_id = 20 WHERE from_id = 1;
+SELECT * FROM graph;
+latch origid destid weight seq linkid
+NULL 1 20 1 NULL NULL
+NULL 2 1 1 NULL NULL
+SELECT SQL_NO_CACHE * FROM graph;
+latch origid destid weight seq linkid
+NULL 1 20 1 NULL NULL
+NULL 2 1 1 NULL NULL
+SET GLOBAL query_cache_size = 0;
+SELECT SQL_NO_CACHE * FROM graph;
+latch origid destid weight seq linkid
+NULL 1 20 1 NULL NULL
+NULL 2 1 1 NULL NULL
+DROP TABLE graph_base, graph;
+SET GLOBAL query_cache_size = @query_cache_size.saved;
diff --git a/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.test b/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.test
new file mode 100644
index 00000000000..19cbfe7dbe3
--- /dev/null
+++ b/storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.test
@@ -0,0 +1,50 @@
+# Regression test for https://mariadb.atlassian.net/browse/MDEV-5744
+#--reproduce bug where changes to backing table data are not reflected
+# in a graph table due to query caching
+
+--disable_warnings
+DROP TABLE IF EXISTS graph_base;
+DROP TABLE IF EXISTS graph;
+--enable_warnings
+
+call mtr.add_suppression("graph_base is open on delete");
+
+# Create the backing store
+CREATE TABLE graph_base (
+ from_id INT UNSIGNED NOT NULL,
+ to_id INT UNSIGNED NOT NULL,
+ PRIMARY KEY (from_id,to_id),
+ INDEX (to_id)
+ ) ENGINE=MyISAM;
+
+
+CREATE TABLE graph (
+ latch VARCHAR(32) NULL,
+ origid BIGINT UNSIGNED NULL,
+ destid BIGINT UNSIGNED NULL,
+ weight DOUBLE NULL,
+ seq BIGINT UNSIGNED NULL,
+ linkid BIGINT UNSIGNED NULL,
+ KEY (latch, origid, destid) USING HASH,
+ KEY (latch, destid, origid) USING HASH
+ ) ENGINE=OQGRAPH DATA_TABLE='graph_base' ORIGID='from_id', DESTID='to_id';
+
+
+INSERT INTO graph_base(from_id, to_id) VALUES (1,2), (2,1);
+
+SET @query_cache_size.saved = @@query_cache_size;
+SET GLOBAL query_cache_size = 1024*1024;
+
+SELECT * FROM graph;
+UPDATE graph_base SET to_id = 20 WHERE from_id = 1;
+
+SELECT * FROM graph;
+SELECT SQL_NO_CACHE * FROM graph;
+
+SET GLOBAL query_cache_size = 0;
+
+SELECT SQL_NO_CACHE * FROM graph;
+
+DROP TABLE graph_base, graph;
+SET GLOBAL query_cache_size = @query_cache_size.saved;
+
diff --git a/storage/oqgraph/mysql-test/oqgraph/suite.pm b/storage/oqgraph/mysql-test/oqgraph/suite.pm
index 172c71c0e4c..118ecfa7c60 100644
--- a/storage/oqgraph/mysql-test/oqgraph/suite.pm
+++ b/storage/oqgraph/mysql-test/oqgraph/suite.pm
@@ -5,6 +5,9 @@ package My::Suite::OQGraph;
return "No OQGraph" unless $ENV{HA_OQGRAPH_SO} or
$::mysqld_variables{'oqgraph'} eq "ON";
+# as long as OQGraph defines MYSQL_SERVER it cannot run in embedded
+return "Not run for embedded server" if $::opt_embedded_server;
+
sub is_default { 1 }
bless { };
diff --git a/storage/perfschema/CMakeLists.txt b/storage/perfschema/CMakeLists.txt
index 422d29464ae..718baa8296b 100644
--- a/storage/perfschema/CMakeLists.txt
+++ b/storage/perfschema/CMakeLists.txt
@@ -16,8 +16,7 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/extra/yassl/include)
ADD_DEFINITIONS(-DMYSQL_SERVER)
diff --git a/storage/perfschema/pfs_check.cc b/storage/perfschema/pfs_check.cc
index 2ab54ab1a4a..fb438f105ab 100644
--- a/storage/perfschema/pfs_check.cc
+++ b/storage/perfschema/pfs_check.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -55,6 +55,7 @@ void check_performance_schema()
PFS_engine_table_share::check_all_tables(thd);
+ thd->reset_globals();
delete thd;
/* Remember that we don't have a THD */
set_current_thd(0);
diff --git a/storage/perfschema/pfs_events_waits.cc b/storage/perfschema/pfs_events_waits.cc
index c8a9d20a2f1..e823a0605e8 100644
--- a/storage/perfschema/pfs_events_waits.cc
+++ b/storage/perfschema/pfs_events_waits.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/perfschema/pfs_global.cc b/storage/perfschema/pfs_global.cc
index 546597ef33e..0744bbab7d5 100644
--- a/storage/perfschema/pfs_global.cc
+++ b/storage/perfschema/pfs_global.cc
@@ -29,6 +29,10 @@
#include <unistd.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
#ifdef __WIN__
#include <winsock2.h>
#else
diff --git a/storage/perfschema/table_events_waits.cc b/storage/perfschema/table_events_waits.cc
index 8fb7ca91c44..35b90816713 100644
--- a/storage/perfschema/table_events_waits.cc
+++ b/storage/perfschema/table_events_waits.cc
@@ -315,11 +315,15 @@ int table_events_waits_common::make_socket_object_columns(volatile PFS_events_wa
uint port;
char port_str[128];
char ip_str[INET6_ADDRSTRLEN+1];
- uint ip_len= 0;
+ /*
+ "ip_length" was "ip_len" originally.
+ but it conflicted with some macro on AIX. Renamed.
+ */
+ uint ip_length= 0;
port_str[0]= ':';
/* Get the IP address and port number */
- ip_len= pfs_get_socket_address(ip_str, sizeof(ip_str), &port,
+ ip_length= pfs_get_socket_address(ip_str, sizeof(ip_str), &port,
&safe_socket->m_sock_addr,
safe_socket->m_addr_len);
@@ -327,15 +331,15 @@ int table_events_waits_common::make_socket_object_columns(volatile PFS_events_wa
int port_len= int10_to_str(port, (port_str+1), 10) - port_str + 1;
/* OBJECT NAME */
- m_row.m_object_name_length= ip_len + port_len;
+ m_row.m_object_name_length= ip_length + port_len;
if (unlikely((m_row.m_object_name_length == 0) ||
(m_row.m_object_name_length > sizeof(m_row.m_object_name))))
return 1;
char *name= m_row.m_object_name;
- memcpy(name, ip_str, ip_len);
- memcpy(name + ip_len, port_str, port_len);
+ memcpy(name, ip_str, ip_length);
+ memcpy(name + ip_length, port_str, port_len);
}
else
{
diff --git a/storage/perfschema/unittest/CMakeLists.txt b/storage/perfschema/unittest/CMakeLists.txt
index d42d448d1e9..b44d0173029 100644
--- a/storage/perfschema/unittest/CMakeLists.txt
+++ b/storage/perfschema/unittest/CMakeLists.txt
@@ -15,8 +15,7 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/include/mysql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/sql
${SSL_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/unittest/mytap
diff --git a/storage/sequence/mysql-test/sequence/simple.result b/storage/sequence/mysql-test/sequence/simple.result
index 2802cdeb977..8ce4722aeff 100644
--- a/storage/sequence/mysql-test/sequence/simple.result
+++ b/storage/sequence/mysql-test/sequence/simple.result
@@ -40,6 +40,10 @@ show create table se;
ERROR 42S02: Table 'test.se' doesn't exist
show create table seq_1_to_15_step_0;
ERROR HY000: Got error 140 "Wrong create options" from storage engine SEQUENCE
+show create table `seq_-1_to_15`;
+ERROR 42S02: Table 'test.seq_-1_to_15' doesn't exist
+show create table `seq_1_to_+2`;
+ERROR 42S02: Table 'test.seq_1_to_+2' doesn't exist
select * from seq_1_to_15_step_2;
seq
1
diff --git a/storage/sequence/mysql-test/sequence/simple.test b/storage/sequence/mysql-test/sequence/simple.test
index fd5b6c6d50c..fbf2b0ebc66 100644
--- a/storage/sequence/mysql-test/sequence/simple.test
+++ b/storage/sequence/mysql-test/sequence/simple.test
@@ -26,6 +26,14 @@ show create table se;
--error ER_GET_ERRNO
show create table seq_1_to_15_step_0;
+#
+# MDEV-5735 Selecting from SEQUENCE table with negative number hangs server
+#
+--error ER_NO_SUCH_TABLE
+show create table `seq_-1_to_15`;
+--error ER_NO_SUCH_TABLE
+show create table `seq_1_to_+2`;
+
# simple select
select * from seq_1_to_15_step_2;
select * from seq_1_to_15;
diff --git a/storage/sequence/sequence.cc b/storage/sequence/sequence.cc
index ab22037d884..e1111bb0f7c 100644
--- a/storage/sequence/sequence.cc
+++ b/storage/sequence/sequence.cc
@@ -20,6 +20,7 @@
a engine that auto-creates tables with rows filled with sequential values
*/
+#include <ctype.h>
#include <mysql_version.h>
#include <handler.h>
#include <table.h>
@@ -265,14 +266,19 @@ static handler *create_handler(handlerton *hton, TABLE_SHARE *table,
static bool parse_table_name(const char *name, size_t name_length,
ulonglong *from, ulonglong *to, ulonglong *step)
{
- uint n1= 0, n2= 0;
+ uint n0=0, n1= 0, n2= 0;
*step= 1;
// the table is discovered if its name matches the pattern of seq_1_to_10 or
// seq_1_to_10_step_3
- sscanf(name, "seq_%llu_to_%llu%n_step_%llu%n",
- from, to, &n1, step, &n2);
- return n1 != name_length && n2 != name_length;
+ sscanf(name, "seq_%llu_to_%n%llu%n_step_%llu%n",
+ from, &n0, to, &n1, step, &n2);
+ // I consider this a bug in sscanf() - when an unsigned number
+ // is requested, -5 should *not* be accepted. But is is :(
+ // hence the additional check below:
+ return
+ n0 == 0 || !isdigit(name[4]) || !isdigit(name[n0]) || // reject negative numbers
+ (n1 != name_length && n2 != name_length);
}
@@ -370,7 +376,7 @@ maria_declare_plugin(sequence)
NULL,
NULL,
"0.1",
- MariaDB_PLUGIN_MATURITY_EXPERIMENTAL
+ MariaDB_PLUGIN_MATURITY_GAMMA
}
maria_declare_plugin_end;
diff --git a/storage/sphinx/ha_sphinx.cc b/storage/sphinx/ha_sphinx.cc
index 1efe5bae279..f31669e931c 100644
--- a/storage/sphinx/ha_sphinx.cc
+++ b/storage/sphinx/ha_sphinx.cc
@@ -3588,11 +3588,13 @@ int sphinx_showfunc_words ( THD * thd, SHOW_VAR * out, char * sBuffer )
int sphinx_showfunc_error ( THD * thd, SHOW_VAR * out, char * )
{
CSphSEStats * pStats = sphinx_get_stats ( thd, out );
+ out->type = SHOW_CHAR;
if ( pStats && pStats->m_bLastError )
{
- out->type = SHOW_CHAR;
out->value = pStats->m_sLastMessage;
}
+ else
+ out->value = (char*)"";
return 0;
}
@@ -3628,7 +3630,7 @@ maria_declare_plugin(sphinx)
sphinx_status_vars,
NULL,
SPHINXSE_VERSION, // string version
- MariaDB_PLUGIN_MATURITY_EXPERIMENTAL
+ MariaDB_PLUGIN_MATURITY_GAMMA
}
maria_declare_plugin_end;
diff --git a/storage/sphinx/mysql-test/sphinx/suite.pm b/storage/sphinx/mysql-test/sphinx/suite.pm
index e652b38338f..e4c3c1b9f74 100644
--- a/storage/sphinx/mysql-test/sphinx/suite.pm
+++ b/storage/sphinx/mysql-test/sphinx/suite.pm
@@ -60,6 +60,7 @@ sub searchd_start {
my ($sphinx, $test) = @_; # My::Config::Group, My::Test
return unless $exe_sphinx_indexer and $exe_sphinx_searchd;
+ return if $sphinx->{proc}; # Already started
# First we must run the indexer to create the data.
my $sphinx_data_dir= "$::opt_vardir/" . $sphinx->name();
diff --git a/storage/sphinx/mysql-test/sphinx/union-5539.result b/storage/sphinx/mysql-test/sphinx/union-5539.result
new file mode 100644
index 00000000000..414bcce30e9
--- /dev/null
+++ b/storage/sphinx/mysql-test/sphinx/union-5539.result
@@ -0,0 +1,10 @@
+create table ts (id bigint unsigned not null, w int not null, query varchar(255) not null, index(query)) engine=sphinx connection="sphinx://127.0.0.1:PORT/*";
+SELECT a.* FROM (SELECT * FROM ts si WHERE si.query=';mode=extended2;limit=1000000;maxmatches=500') AS a UNION SELECT b.* FROM (SELECT * FROM ts si WHERE si.query='@* 123nothingtofind123;mode=extended2;limit=1000000;maxmatches=500') AS b;
+id w query
+SELECT a.* FROM (SELECT * FROM ts si WHERE si.query='@* 123nothingtofind123;mode=extended2;limit=1000000;maxmatches=500') AS a UNION SELECT b.* FROM (SELECT * FROM ts si WHERE si.query=';mode=extended2;limit=1000000;maxmatches=500') AS b;
+id w query
+1 1 ;mode=extended2;limit=1000000;maxmatches=500
+2 1 ;mode=extended2;limit=1000000;maxmatches=500
+3 1 ;mode=extended2;limit=1000000;maxmatches=500
+4 1 ;mode=extended2;limit=1000000;maxmatches=500
+drop table ts;
diff --git a/storage/sphinx/mysql-test/sphinx/union-5539.test b/storage/sphinx/mysql-test/sphinx/union-5539.test
new file mode 100644
index 00000000000..ec73be1ab3e
--- /dev/null
+++ b/storage/sphinx/mysql-test/sphinx/union-5539.test
@@ -0,0 +1,16 @@
+#
+# MDEV-5539 Empty results in UNION with Sphinx engine
+#
+--replace_result $SPHINXSEARCH_PORT PORT
+eval create table ts (id bigint unsigned not null, w int not null, query varchar(255) not null, index(query)) engine=sphinx connection="sphinx://127.0.0.1:$SPHINXSEARCH_PORT/*";
+let $q1=SELECT * FROM ts si WHERE si.query=';mode=extended2;limit=1000000;maxmatches=500';
+let $q2=SELECT * FROM ts si WHERE si.query='@* 123nothingtofind123;mode=extended2;limit=1000000;maxmatches=500';
+########################
+# BUG BUG BUG !!!
+# Note, the result below is incorrect! It should be updated when
+# MDEV-5539 is fixed upstream!!!
+########################
+eval SELECT a.* FROM ($q1) AS a UNION SELECT b.* FROM ($q2) AS b;
+eval SELECT a.* FROM ($q2) AS a UNION SELECT b.* FROM ($q1) AS b;
+drop table ts;
+
diff --git a/storage/spider/ha_spider.cc b/storage/spider/ha_spider.cc
index 134ae372c8a..664df62e586 100644
--- a/storage/spider/ha_spider.cc
+++ b/storage/spider/ha_spider.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -87,6 +87,7 @@ ha_spider::ha_spider(
mrr_key_buff = NULL;
#endif
append_tblnm_alias = NULL;
+ has_clone_for_merge = FALSE;
is_clone = FALSE;
clone_bitmap_init = FALSE;
pt_clone_source_handler = NULL;
@@ -100,6 +101,7 @@ ha_spider::ha_spider(
error_mode = 0;
use_spatial_index = FALSE;
use_pre_call = FALSE;
+ use_pre_records = FALSE;
#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
do_direct_update = FALSE;
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
@@ -151,6 +153,8 @@ ha_spider::ha_spider(
#ifdef HANDLER_HAS_DIRECT_AGGREGATE
result_list.direct_aggregate = FALSE;
#endif
+ result_list.casual_read = NULL;
+ result_list.use_both_key = FALSE;
DBUG_VOID_RETURN;
}
@@ -188,6 +192,7 @@ ha_spider::ha_spider(
mrr_key_buff = NULL;
#endif
append_tblnm_alias = NULL;
+ has_clone_for_merge = FALSE;
is_clone = FALSE;
clone_bitmap_init = FALSE;
pt_clone_source_handler = NULL;
@@ -201,6 +206,7 @@ ha_spider::ha_spider(
error_mode = 0;
use_spatial_index = FALSE;
use_pre_call = FALSE;
+ use_pre_records = FALSE;
#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
do_direct_update = FALSE;
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
@@ -252,6 +258,8 @@ ha_spider::ha_spider(
#ifdef HANDLER_HAS_DIRECT_AGGREGATE
result_list.direct_aggregate = FALSE;
#endif
+ result_list.casual_read = NULL;
+ result_list.use_both_key = FALSE;
ref_length = sizeof(SPIDER_POSITION);
DBUG_VOID_RETURN;
}
@@ -283,6 +291,7 @@ handler *ha_spider::clone(
HA_OPEN_IGNORE_IF_LOCKED))
DBUG_RETURN(NULL);
spider->sync_from_clone_source_base(this);
+ has_clone_for_merge = TRUE;
DBUG_RETURN((handler *) spider);
}
@@ -811,15 +820,6 @@ int ha_spider::check_access_kind(
DBUG_ENTER("ha_spider::check_access_kind");
DBUG_PRINT("info",("spider this=%p", this));
sql_command = thd_sql_command(thd);
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- do_direct_update = FALSE;
- maybe_do_hs_direct_update = FALSE;
-#endif
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- memset(do_hs_direct_update, 0, share->link_bitmap_size);
-#endif
-#endif
conn_kinds = 0;
switch (sql_command)
{
@@ -876,24 +876,10 @@ int ha_spider::check_access_kind(
break;
case SQLCOM_HS_UPDATE:
case SQLCOM_HS_DELETE:
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- do_direct_update = TRUE;
- maybe_do_hs_direct_update = TRUE;
-#endif
+ conn_kinds |= SPIDER_CONN_KIND_MYSQL;
for (roop_count = 0; roop_count < (int) share->link_count; roop_count++)
{
- conn_kinds |= SPIDER_CONN_KIND_MYSQL;
conn_kind[roop_count] = SPIDER_CONN_KIND_MYSQL;
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- if (spider_param_use_hs_write(thd, share->use_hs_writes[roop_count]))
- {
- DBUG_PRINT("info",("spider do_hs_direct_update[%d]=TRUE",
- roop_count));
- spider_set_bit(do_hs_direct_update, roop_count);
- } else {
- maybe_do_hs_direct_update = FALSE;
- }
-#endif
}
break;
case SQLCOM_HS_INSERT:
@@ -919,13 +905,10 @@ int ha_spider::check_access_kind(
case SQLCOM_UPDATE_MULTI:
case SQLCOM_DELETE:
case SQLCOM_DELETE_MULTI:
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- do_direct_update = TRUE;
-#endif
default:
+ conn_kinds |= SPIDER_CONN_KIND_MYSQL;
for (roop_count = 0; roop_count < (int) share->link_count; roop_count++)
{
- conn_kinds |= SPIDER_CONN_KIND_MYSQL;
conn_kind[roop_count] = SPIDER_CONN_KIND_MYSQL;
}
break;
@@ -942,16 +925,30 @@ int ha_spider::check_access_kind(
}
DBUG_PRINT("info",("spider sql_command=%u", sql_command));
DBUG_PRINT("info",("spider thd->query_id=%lld", thd->query_id));
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+#ifdef HS_HAS_SQLCOM
+ if (sql_command == SQLCOM_HS_UPDATE)
+ update_request = TRUE;
+ else
+#endif
+ update_request = FALSE;
+#else
if (
#ifdef HS_HAS_SQLCOM
sql_command == SQLCOM_HS_UPDATE ||
#endif
sql_command == SQLCOM_UPDATE ||
- sql_command == SQLCOM_UPDATE_MULTI
+ sql_command == SQLCOM_UPDATE_MULTI ||
+ /* for triggers */
+ sql_command == SQLCOM_INSERT ||
+ sql_command == SQLCOM_INSERT_SELECT ||
+ sql_command == SQLCOM_DELETE ||
+ sql_command == SQLCOM_DELETE_MULTI
)
update_request = TRUE;
else
update_request = FALSE;
+#endif
DBUG_RETURN(0);
}
@@ -1115,6 +1112,8 @@ THR_LOCK_DATA **ha_spider::store_lock(
sql_command == SQLCOM_LOCK_TABLES ||
(spider_param_lock_exchange(thd) == 1 && share->semi_table_lock))
{
+ DBUG_PRINT("info",("spider lock exchange route"));
+ DBUG_PRINT("info",("spider lock_type=%u", this->lock_type));
if (
(
this->lock_type == TL_READ ||
@@ -1148,6 +1147,8 @@ THR_LOCK_DATA **ha_spider::store_lock(
}
}
} else {
+ DBUG_PRINT("info",("spider default lock route"));
+ DBUG_PRINT("info",("spider lock_type=%u", this->lock_type));
if (
this->lock_type == TL_READ ||
this->lock_type == TL_READ_NO_INSERT ||
@@ -1476,13 +1477,9 @@ int ha_spider::external_lock(
conn_kinds & SPIDER_CONN_KIND_HS_WRITE
#if defined(HS_HAS_SQLCOM) && defined(HANDLER_HAS_DIRECT_UPDATE_ROWS)
) ||
- (
- do_direct_update &&
- (
- sql_command == SQLCOM_HS_UPDATE ||
- sql_command == SQLCOM_HS_DELETE
- )
- )
+ /* for direct_update */
+ sql_command == SQLCOM_HS_UPDATE ||
+ sql_command == SQLCOM_HS_DELETE
#endif
) {
SPIDER_CONN *hs_conn;
@@ -1681,6 +1678,7 @@ int ha_spider::reset()
}
*/
memset(need_mons, 0, sizeof(int) * share->link_count);
+ memset(result_list.casual_read, 0, sizeof(int) * share->link_count);
rm_bulk_tmp_table();
for (roop_count = share->link_count - 1; roop_count >= 0; roop_count--)
{
@@ -1717,12 +1715,15 @@ int ha_spider::reset()
high_priority = FALSE;
insert_delayed = FALSE;
use_pre_call = FALSE;
+ use_pre_records = FALSE;
bulk_insert = FALSE;
clone_bitmap_init = FALSE;
result_list.tmp_table_join = FALSE;
result_list.use_union = FALSE;
+ result_list.use_both_key = FALSE;
pt_clone_last_searcher = NULL;
conn_kinds = SPIDER_CONN_KIND_MYSQL;
+ has_clone_for_merge = FALSE;
while (condition)
{
tmp_cond = condition->next;
@@ -1751,6 +1752,7 @@ int ha_spider::reset()
#endif
#endif
#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ do_direct_update = FALSE;
direct_update_fields = NULL;
#endif
#ifdef INFO_KIND_FORCE_LIMIT_BEGIN
@@ -1986,14 +1988,8 @@ int ha_spider::index_read_map_internal(
my_error(ER_QUERY_INTERRUPTED, MYF(0));
DBUG_RETURN(ER_QUERY_INTERRUPTED);
}
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- if (do_direct_update)
- {
- direct_update_kinds = SPIDER_SQL_KIND_SQL;
- memset(do_hs_direct_update, 0, share->link_bitmap_size);
- }
-#endif
+ do_direct_update = FALSE;
#endif
if (
find_flag >= HA_READ_MBR_CONTAIN &&
@@ -2146,6 +2142,9 @@ int ha_spider::index_read_map_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -2491,6 +2490,9 @@ int ha_spider::index_read_last_map_internal(
my_error(ER_QUERY_INTERRUPTED, MYF(0));
DBUG_RETURN(ER_QUERY_INTERRUPTED);
}
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ do_direct_update = FALSE;
+#endif
if ((error_num = index_handler_init()))
DBUG_RETURN(check_error_mode_eof(error_num));
if (is_clone)
@@ -2627,6 +2629,9 @@ int ha_spider::index_read_last_map_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -2956,6 +2961,9 @@ int ha_spider::index_first_internal(
my_error(ER_QUERY_INTERRUPTED, MYF(0));
DBUG_RETURN(ER_QUERY_INTERRUPTED);
}
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ do_direct_update = FALSE;
+#endif
if ((error_num = index_handler_init()))
DBUG_RETURN(check_error_mode_eof(error_num));
if (is_clone)
@@ -3082,6 +3090,9 @@ int ha_spider::index_first_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -3329,6 +3340,9 @@ int ha_spider::index_last_internal(
my_error(ER_QUERY_INTERRUPTED, MYF(0));
DBUG_RETURN(ER_QUERY_INTERRUPTED);
}
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ do_direct_update = FALSE;
+#endif
if ((error_num = index_handler_init()))
DBUG_RETURN(check_error_mode_eof(error_num));
if (is_clone)
@@ -3455,6 +3469,9 @@ int ha_spider::index_last_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -3755,6 +3772,9 @@ int ha_spider::read_range_first_internal(
my_error(ER_QUERY_INTERRUPTED, MYF(0));
DBUG_RETURN(ER_QUERY_INTERRUPTED);
}
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ do_direct_update = FALSE;
+#endif
if (
start_key &&
start_key->flag >= HA_READ_MBR_CONTAIN &&
@@ -3819,6 +3839,7 @@ int ha_spider::read_range_first_internal(
result_list.limit_num =
result_list.internal_limit >= result_list.split_read ?
result_list.split_read : result_list.internal_limit;
+ DBUG_PRINT("info",("spider limit_num=%lld", result_list.limit_num));
if (
(error_num = spider_db_append_key_where(
start_key, eq_range ? NULL : end_key, this))
@@ -3887,6 +3908,9 @@ int ha_spider::read_range_first_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -4109,10 +4133,14 @@ int ha_spider::read_range_first(
if ((error_num = spider_bg_all_conn_pre_next(this, search_link_idx)))
DBUG_RETURN(error_num);
use_pre_call = FALSE;
- DBUG_RETURN(read_range_next());
+ if ((error_num = read_range_next()))
+ DBUG_RETURN(error_num);
+ DBUG_RETURN(check_ha_range_eof());
}
- DBUG_RETURN(read_range_first_internal(table->record[0], start_key, end_key,
- eq_range, sorted));
+ if ((error_num = read_range_first_internal(table->record[0], start_key,
+ end_key, eq_range, sorted)))
+ DBUG_RETURN(error_num);
+ DBUG_RETURN(check_ha_range_eof());
}
int ha_spider::read_range_next()
@@ -4143,7 +4171,7 @@ int ha_spider::read_range_next()
if ((error_num = spider_db_seek_next(table->record[0], this, search_link_idx,
table)))
DBUG_RETURN(check_error_mode_eof(error_num));
- DBUG_RETURN(0);
+ DBUG_RETURN(check_ha_range_eof());
}
#ifdef HA_MRR_USE_DEFAULT_IMPL
@@ -4248,28 +4276,6 @@ int ha_spider::multi_range_read_init(
)
);
}
-
-#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100000
-int ha_spider::multi_range_read_next(
- range_id_t *range_info
-)
-#else
-int ha_spider::multi_range_read_next(
- char **range_info
-)
-#endif
-{
- int error_num;
- DBUG_ENTER("ha_spider::multi_range_read_next");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!mrr_have_range)
- {
- error_num = multi_range_read_next_first(range_info);
- mrr_have_range = TRUE;
- } else
- error_num = multi_range_read_next_next(range_info);
- DBUG_RETURN(error_num);
-}
#endif
#ifdef HA_MRR_USE_DEFAULT_IMPL
@@ -4310,6 +4316,9 @@ int ha_spider::read_multi_range_first_internal(
my_error(ER_QUERY_INTERRUPTED, MYF(0));
DBUG_RETURN(ER_QUERY_INTERRUPTED);
}
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ do_direct_update = FALSE;
+#endif
if ((error_num = index_handler_init()))
DBUG_RETURN(check_error_mode_eof(error_num));
if (is_clone)
@@ -4389,16 +4398,17 @@ int ha_spider::read_multi_range_first_internal(
result_list.split_read ?
result_list.split_read :
result_list.internal_limit - result_list.record_num;
+ DBUG_PRINT("info",("spider limit_num=%lld", result_list.limit_num));
if (
#ifdef HA_MRR_USE_DEFAULT_IMPL
(error_num = spider_db_append_key_where(
&mrr_cur_range.start_key,
- test(mrr_cur_range.range_flag & EQ_RANGE) ?
+ SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE) ?
NULL : &mrr_cur_range.end_key, this))
#else
(error_num = spider_db_append_key_where(
&multi_range_curr->start_key,
- test(multi_range_curr->range_flag & EQ_RANGE) ?
+ SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE) ?
NULL : &multi_range_curr->end_key, this))
#endif
)
@@ -4466,6 +4476,9 @@ int ha_spider::read_multi_range_first_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok));
if (
@@ -4673,6 +4686,8 @@ int ha_spider::read_multi_range_first_internal(
}
} else {
#ifdef HA_MRR_USE_DEFAULT_IMPL
+ if (!range_info)
+ DBUG_RETURN(0);
if (!(error_num = spider_db_fetch(table->record[0], this, table)))
#else
if (!buf || !(error_num = spider_db_fetch(buf, this, table)))
@@ -4683,7 +4698,7 @@ int ha_spider::read_multi_range_first_internal(
#else
*found_range_p = multi_range_curr;
#endif
- DBUG_RETURN(0);
+ DBUG_RETURN(check_ha_range_eof());
}
if (
error_num != HA_ERR_END_OF_FILE &&
@@ -4834,9 +4849,9 @@ int ha_spider::read_multi_range_first_internal(
!(sql_kinds & SPIDER_SQL_KIND_HS) &&
#endif
#ifdef HA_MRR_USE_DEFAULT_IMPL
- test(mrr_cur_range.range_flag & EQ_RANGE)
+ SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE)
#else
- test(multi_range_curr->range_flag & EQ_RANGE)
+ SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE)
#endif
) {
if (
@@ -4951,11 +4966,11 @@ int ha_spider::read_multi_range_first_internal(
{
if (
#ifdef HA_MRR_USE_DEFAULT_IMPL
- !test(mrr_cur_range.range_flag & EQ_RANGE) ||
+ !SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE) ||
result_list.tmp_table_join_key_part_map !=
mrr_cur_range.start_key.keypart_map
#else
- !test(multi_range_curr->range_flag & EQ_RANGE) ||
+ !SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE) ||
result_list.tmp_table_join_key_part_map !=
multi_range_curr->start_key.keypart_map
#endif
@@ -5072,6 +5087,7 @@ int ha_spider::read_multi_range_first_internal(
}
} else {
result_list.limit_num = result_list.internal_limit;
+ result_list.split_read = result_list.internal_limit;
if (
(error_num = init_union_table_name_pos_sql()) ||
(error_num = append_union_all_start_sql_part(
@@ -5115,16 +5131,19 @@ int ha_spider::read_multi_range_first_internal(
)
DBUG_RETURN(error_num);
set_where_pos_sql(SPIDER_SQL_TYPE_SELECT_SQL);
+ DBUG_PRINT("info",("spider internal_offset=%lld",
+ result_list.internal_offset));
+ DBUG_PRINT("info",("spider limit_num=%lld", result_list.limit_num));
if (
#ifdef HA_MRR_USE_DEFAULT_IMPL
(error_num = spider_db_append_key_where(
&mrr_cur_range.start_key,
- test(mrr_cur_range.range_flag & EQ_RANGE) ?
+ SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE) ?
NULL : &mrr_cur_range.end_key, this))
#else
(error_num = spider_db_append_key_where(
&multi_range_curr->start_key,
- test(multi_range_curr->range_flag & EQ_RANGE) ?
+ SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE) ?
NULL : &multi_range_curr->end_key, this))
#endif
)
@@ -5238,6 +5257,9 @@ int ha_spider::read_multi_range_first_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -5512,6 +5534,8 @@ int ha_spider::read_multi_range_first_internal(
DBUG_RETURN(error_num);
} else {
#ifdef HA_MRR_USE_DEFAULT_IMPL
+ if (!range_info)
+ DBUG_RETURN(0);
if (!(error_num = spider_db_fetch(table->record[0], this, table)))
#else
if (!buf || !(error_num = spider_db_fetch(buf, this, table)))
@@ -5586,6 +5610,56 @@ int ha_spider::read_multi_range_first_internal(
}
#ifdef HA_MRR_USE_DEFAULT_IMPL
+int ha_spider::pre_multi_range_read_next(
+ bool use_parallel
+) {
+ DBUG_ENTER("ha_spider::pre_multi_range_read_next");
+ DBUG_PRINT("info",("spider this=%p", this));
+ check_pre_call(use_parallel);
+ if (use_pre_call)
+ {
+ store_error_num =
+ multi_range_read_next_first(NULL);
+ DBUG_RETURN(store_error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100000
+int ha_spider::multi_range_read_next(
+ range_id_t *range_info
+)
+#else
+int ha_spider::multi_range_read_next(
+ char **range_info
+)
+#endif
+{
+ int error_num;
+ DBUG_ENTER("ha_spider::multi_range_read_next");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (use_pre_call)
+ {
+ if (store_error_num)
+ {
+ if (store_error_num == HA_ERR_END_OF_FILE)
+ table->status = STATUS_NOT_FOUND;
+ DBUG_RETURN(store_error_num);
+ }
+ if ((error_num = spider_bg_all_conn_pre_next(this, search_link_idx)))
+ DBUG_RETURN(error_num);
+ use_pre_call = FALSE;
+ mrr_have_range = TRUE;
+ DBUG_RETURN(multi_range_read_next_next(range_info));
+ }
+ if (!mrr_have_range)
+ {
+ error_num = multi_range_read_next_first(range_info);
+ mrr_have_range = TRUE;
+ } else
+ error_num = multi_range_read_next_next(range_info);
+ DBUG_RETURN(error_num);
+}
#else
int ha_spider::pre_read_multi_range_first(
KEY_MULTI_RANGE **found_range_p,
@@ -5680,7 +5754,7 @@ int ha_spider::read_multi_range_next(
) {
if (!(error_num = spider_db_seek_next(table->record[0], this,
search_link_idx, table)))
- DBUG_RETURN(0);
+ DBUG_RETURN(check_ha_range_eof());
#ifdef HA_MRR_USE_DEFAULT_IMPL
range_res = mrr_funcs.next(mrr_iter, &mrr_cur_range);
DBUG_PRINT("info",("spider range_res1=%d", range_res));
@@ -5739,12 +5813,12 @@ int ha_spider::read_multi_range_next(
#ifdef HA_MRR_USE_DEFAULT_IMPL
(error_num = spider_db_append_key_where(
&mrr_cur_range.start_key,
- test(mrr_cur_range.range_flag & EQ_RANGE) ?
+ SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE) ?
NULL : &mrr_cur_range.end_key, this))
#else
(error_num = spider_db_append_key_where(
&multi_range_curr->start_key,
- test(multi_range_curr->range_flag & EQ_RANGE) ?
+ SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE) ?
NULL : &multi_range_curr->end_key, this))
#endif
)
@@ -5812,6 +5886,9 @@ int ha_spider::read_multi_range_next(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok));
if (
@@ -6026,7 +6103,7 @@ int ha_spider::read_multi_range_next(
#else
*found_range_p = multi_range_curr;
#endif
- DBUG_RETURN(0);
+ DBUG_RETURN(check_ha_range_eof());
}
if (
error_num != HA_ERR_END_OF_FILE &&
@@ -6193,9 +6270,9 @@ int ha_spider::read_multi_range_next(
!(sql_kinds & SPIDER_SQL_KIND_HS) &&
#endif
#ifdef HA_MRR_USE_DEFAULT_IMPL
- test(mrr_cur_range.range_flag & EQ_RANGE)
+ SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE)
#else
- test(multi_range_curr->range_flag & EQ_RANGE)
+ SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE)
#endif
) {
if (
@@ -6311,11 +6388,11 @@ int ha_spider::read_multi_range_next(
{
if (
#ifdef HA_MRR_USE_DEFAULT_IMPL
- !test(mrr_cur_range.range_flag & EQ_RANGE) ||
+ !SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE) ||
result_list.tmp_table_join_key_part_map !=
mrr_cur_range.start_key.keypart_map
#else
- !test(multi_range_curr->range_flag & EQ_RANGE) ||
+ !SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE) ||
result_list.tmp_table_join_key_part_map !=
multi_range_curr->start_key.keypart_map
#endif
@@ -6478,12 +6555,12 @@ int ha_spider::read_multi_range_next(
#ifdef HA_MRR_USE_DEFAULT_IMPL
(error_num = spider_db_append_key_where(
&mrr_cur_range.start_key,
- test(mrr_cur_range.range_flag & EQ_RANGE) ?
+ SPIDER_TEST(mrr_cur_range.range_flag & EQ_RANGE) ?
NULL : &mrr_cur_range.end_key, this))
#else
(error_num = spider_db_append_key_where(
&multi_range_curr->start_key,
- test(multi_range_curr->range_flag & EQ_RANGE) ?
+ SPIDER_TEST(multi_range_curr->range_flag & EQ_RANGE) ?
NULL : &multi_range_curr->end_key, this))
#endif
)
@@ -6594,6 +6671,9 @@ int ha_spider::read_multi_range_next(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -7104,6 +7184,9 @@ int ha_spider::rnd_next_internal(
/* do not copy table data at alter table */
if (sql_command == SQLCOM_ALTER_TABLE)
DBUG_RETURN(HA_ERR_END_OF_FILE);
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ do_direct_update = FALSE;
+#endif
if (rnd_scan_and_first)
{
@@ -7136,12 +7219,21 @@ int ha_spider::rnd_next_internal(
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
set_order_pos_sql(SPIDER_SQL_TYPE_SELECT_SQL);
- if (
- result_list.direct_order_limit &&
- (error_num = append_key_order_for_direct_order_limit_with_alias_sql_part(
- NULL, 0, SPIDER_SQL_TYPE_SELECT_SQL))
- )
- DBUG_RETURN(error_num);
+ if (result_list.direct_order_limit)
+ {
+ if ((error_num =
+ append_key_order_for_direct_order_limit_with_alias_sql_part(
+ NULL, 0, SPIDER_SQL_TYPE_SELECT_SQL)))
+ DBUG_RETURN(error_num);
+ }
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (result_list.direct_aggregate)
+ {
+ if ((error_num =
+ append_group_by_sql_part(NULL, 0, SPIDER_SQL_TYPE_SELECT_SQL)))
+ DBUG_RETURN(error_num);
+ }
+#endif
result_list.desc_flg = FALSE;
result_list.sorted = FALSE;
result_list.key_info = NULL;
@@ -7200,6 +7292,9 @@ int ha_spider::rnd_next_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -7416,6 +7511,12 @@ void ha_spider::position(
pt_clone_last_searcher->position(record);
memcpy(ref, pt_clone_last_searcher->ref, ref_length);
} else {
+ if (is_clone)
+ {
+ DBUG_PRINT("info",("spider set pt_clone_last_searcher (NULL) to %p",
+ pt_clone_source_handler));
+ pt_clone_source_handler->pt_clone_last_searcher = NULL;
+ }
memset(ref, '0', sizeof(SPIDER_POSITION));
DBUG_PRINT("info",("spider self position"));
DBUG_PRINT("info",
@@ -7708,16 +7809,23 @@ int ha_spider::ft_read_internal(
result_list.limit_num =
result_list.internal_limit >= result_list.split_read ?
result_list.split_read : result_list.internal_limit;
- if (
- (error_num = spider_db_append_match_where(this)) ||
- (
- result_list.direct_order_limit &&
- (error_num =
- append_key_order_for_direct_order_limit_with_alias_sql_part(NULL, 0,
- SPIDER_SQL_TYPE_SELECT_SQL))
- )
- )
+ if ((error_num = spider_db_append_match_where(this)))
DBUG_RETURN(error_num);
+ if (result_list.direct_order_limit)
+ {
+ if ((error_num =
+ append_key_order_for_direct_order_limit_with_alias_sql_part(NULL, 0,
+ SPIDER_SQL_TYPE_SELECT_SQL)))
+ DBUG_RETURN(error_num);
+ }
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (result_list.direct_aggregate)
+ {
+ if ((error_num =
+ append_group_by_sql_part(NULL, 0, SPIDER_SQL_TYPE_SELECT_SQL)))
+ DBUG_RETURN(error_num);
+ }
+#endif
if (sql_kinds & SPIDER_SQL_KIND_SQL)
{
if ((error_num = append_limit_sql_part(
@@ -7770,6 +7878,9 @@ int ha_spider::ft_read_internal(
#ifndef WITHOUT_SPIDER_BG_SEARCH
if (result_list.bgs_phase > 0)
{
+ if ((error_num = spider_check_and_init_casual_read(trx->thd, this,
+ roop_count)))
+ DBUG_RETURN(error_num);
if ((error_num = spider_bg_conn_search(this, roop_count, roop_start,
TRUE, FALSE, (roop_count != link_ok))))
{
@@ -7986,6 +8097,9 @@ int ha_spider::info(
DBUG_ENTER("ha_spider::info");
DBUG_PRINT("info",("spider this=%p", this));
DBUG_PRINT("info",("spider flag=%x", flag));
+#ifdef HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
+ auto_inc_temporary = FALSE;
+#endif
sql_command = thd_sql_command(thd);
if (
sql_command == SQLCOM_DROP_TABLE ||
@@ -7996,8 +8110,12 @@ int ha_spider::info(
{
if (share->auto_increment_value)
stats.auto_increment_value = share->auto_increment_value;
- else
+ else {
stats.auto_increment_value = 1;
+#ifdef HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
+ auto_inc_temporary = TRUE;
+#endif
+ }
}
DBUG_RETURN(0);
}
@@ -8078,10 +8196,30 @@ int ha_spider::info(
pthread_mutex_lock(&share->sts_mutex);
if (difftime(tmp_time, share->sts_get_time) >= sts_interval)
{
- if (
- (error_num = spider_check_trx_and_get_conn(ha_thd(), this,
- FALSE)) ||
- (error_num = spider_get_sts(share, search_link_idx, tmp_time,
+ if ((error_num = spider_check_trx_and_get_conn(ha_thd(), this,
+ FALSE)))
+ {
+ if (!share->sts_init)
+ {
+ if (
+ spider_init_error_table ||
+ (spider_init_error_table =
+ spider_get_init_error_table(trx, share, TRUE))
+ ) {
+ spider_init_error_table->init_error = error_num;
+ if ((spider_init_error_table->init_error_with_message =
+ thd->is_error()))
+ strmov(spider_init_error_table->init_error_msg,
+ spider_stmt_da_message(thd));
+ spider_init_error_table->init_error_time =
+ (time_t) time((time_t*) 0);
+ }
+ share->init_error = TRUE;
+ share->init = TRUE;
+ }
+ DBUG_RETURN(check_error_mode(error_num));
+ }
+ if ((error_num = spider_get_sts(share, search_link_idx, tmp_time,
this, sts_interval, sts_mode,
#ifdef WITH_PARTITION_STORAGE_ENGINE
sts_sync,
@@ -8523,6 +8661,10 @@ int ha_spider::check_crd()
}
if (crd_mode == 3)
crd_mode = 1;
+ if ((error_num = spider_check_trx_and_get_conn(ha_thd(), this, FALSE)))
+ {
+ DBUG_RETURN(check_error_mode(error_num));
+ }
dbton_id = share->sql_dbton_ids[search_link_idx];
dbton_hdl = dbton_handler[dbton_id];
crd_mode = dbton_hdl->crd_mode_exchange(crd_mode);
@@ -8622,6 +8764,32 @@ int ha_spider::check_crd()
DBUG_RETURN(0);
}
+int ha_spider::pre_records()
+{
+ int error_num;
+ backup_error_status();
+ DBUG_ENTER("ha_spider::pre_records");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_command == SQLCOM_ALTER_TABLE)
+ {
+ DBUG_RETURN(0);
+ }
+ THD *thd = trx->thd;
+ if (
+ spider_param_sync_autocommit(thd) &&
+ (!thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))
+ ) {
+ result_list.casual_read[search_link_idx] =
+ spider_param_casual_read(thd, share->casual_read);
+ }
+ if ((error_num = spider_db_show_records(this, search_link_idx, TRUE)))
+ {
+ DBUG_RETURN(check_error_mode(error_num));
+ }
+ use_pre_records = TRUE;
+ DBUG_RETURN(0);
+}
+
ha_rows ha_spider::records()
{
int error_num;
@@ -8630,14 +8798,29 @@ ha_rows ha_spider::records()
DBUG_PRINT("info",("spider this=%p", this));
if (sql_command == SQLCOM_ALTER_TABLE)
{
+ use_pre_records = FALSE;
DBUG_RETURN(0);
}
- if ((error_num = spider_db_show_records(this, search_link_idx)))
+ if (!use_pre_records)
+ {
+ THD *thd = trx->thd;
+ if (
+ spider_param_sync_autocommit(thd) &&
+ (!thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))
+ ) {
+ result_list.casual_read[search_link_idx] =
+ spider_param_casual_read(thd, share->casual_read);
+ }
+ }
+ if ((error_num = spider_db_show_records(this, search_link_idx, FALSE)))
{
+ use_pre_records = FALSE;
check_error_mode(error_num);
DBUG_RETURN(HA_POS_ERROR);
}
- DBUG_RETURN(share->records);
+ use_pre_records = FALSE;
+ share->records = table_rows;
+ DBUG_RETURN(table_rows);
}
const char *ha_spider::table_type() const
@@ -8671,8 +8854,10 @@ ulonglong ha_spider::table_flags() const
HA_HAS_RECORDS |
HA_PARTIAL_COLUMN_READ |
#ifdef HA_CAN_BULK_ACCESS
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
(support_bulk_access_hs() ? HA_CAN_BULK_ACCESS : 0) |
#endif
+#endif
SPIDER_CAN_BG_SEARCH |
SPIDER_CAN_BG_INSERT |
SPIDER_CAN_BG_UPDATE |
@@ -8780,6 +8965,19 @@ bool ha_spider::need_info_for_auto_inc()
}
#endif
+#ifdef HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
+bool ha_spider::can_use_for_auto_inc_init()
+{
+ DBUG_ENTER("ha_spider::can_use_for_auto_inc_init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider return=%s", (
+ !auto_inc_temporary
+ ) ? "TRUE" : "FALSE"));
+ DBUG_RETURN((
+ !auto_inc_temporary
+ ));
+}
+#endif
int ha_spider::update_auto_increment()
{
@@ -9120,6 +9318,41 @@ int ha_spider::pre_write_row(
}
#endif
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+void ha_spider::direct_update_init(
+ THD *thd,
+ bool hs_request
+) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ uint roop_count;
+#endif
+ DBUG_ENTER("ha_spider::direct_update_init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ do_direct_update = TRUE;
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ if (hs_request)
+ {
+ maybe_do_hs_direct_update = TRUE;
+ memset(do_hs_direct_update, 0, share->link_bitmap_size);
+ for (roop_count = 0; roop_count < share->link_count; roop_count++)
+ {
+ if (spider_param_use_hs_write(thd, share->use_hs_writes[roop_count]))
+ {
+ DBUG_PRINT("info",("spider do_hs_direct_update[%d]=TRUE",
+ roop_count));
+ spider_set_bit(do_hs_direct_update, roop_count);
+ } else {
+ maybe_do_hs_direct_update = FALSE;
+ }
+ }
+ } else {
+ maybe_do_hs_direct_update = FALSE;
+ }
+#endif
+ DBUG_VOID_RETURN;
+}
+#endif
+
bool ha_spider::start_bulk_update(
) {
DBUG_ENTER("ha_spider::start_bulk_update");
@@ -9260,6 +9493,9 @@ int ha_spider::direct_update_rows_init(
bool sorted,
uchar *new_data
) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ int error_num;
+#endif
st_select_lex *select_lex;
longlong select_limit;
longlong offset_limit;
@@ -9287,6 +9523,14 @@ int ha_spider::direct_update_rows_init(
mode, ranges, range_count, sorted, new_data));
}
#endif
+ direct_update_init(
+ thd,
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ sql_command == SQLCOM_HS_UPDATE
+#else
+ FALSE
+#endif
+ );
if (!condition)
cond_check = FALSE;
spider_get_select_limit(this, &select_lex, &select_limit, &offset_limit);
@@ -9307,6 +9551,7 @@ int ha_spider::direct_update_rows_init(
spider_db_append_condition(this, NULL, 0, TRUE)
) {
DBUG_PRINT("info",("spider FALSE by condition"));
+ do_direct_update = FALSE;
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
}
if (select_lex->order_list.elements)
@@ -9318,12 +9563,12 @@ int ha_spider::direct_update_rows_init(
if (check_item_type_sql((*order->item)))
{
DBUG_PRINT("info",("spider FALSE by order"));
+ do_direct_update = FALSE;
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
}
}
result_list.direct_order_limit = TRUE;
}
-
trx->direct_update_count++;
DBUG_PRINT("info",("spider OK"));
DBUG_RETURN(0);
@@ -9331,11 +9576,13 @@ int ha_spider::direct_update_rows_init(
DBUG_PRINT("info",("spider offset_limit=%lld", offset_limit));
DBUG_PRINT("info",("spider mode=%u", mode));
+ DBUG_PRINT("info",("spider sql_command=%u", sql_command));
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
DBUG_PRINT("info",("spider maybe_do_hs_direct_update=%s",
maybe_do_hs_direct_update ? "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider sql_command=%u", sql_command));
DBUG_PRINT("info",("spider hs_pushed_ret_fields_num=%zu",
hs_pushed_ret_fields_num));
+#endif
DBUG_PRINT("info",("spider do_direct_update=%s",
do_direct_update ? "TRUE" : "FALSE"));
if (
@@ -9357,14 +9604,20 @@ int ha_spider::direct_update_rows_init(
if (pk_update && spider_check_hs_pk_update(this, &ranges->start_key))
{
DBUG_PRINT("info",("spider FALSE by pk_update"));
+ do_direct_update = FALSE;
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
}
+ if ((error_num = spider_check_trx_and_get_conn(thd, this, TRUE)))
+ {
+ DBUG_RETURN(error_num);
+ }
#endif
trx->direct_update_count++;
DBUG_PRINT("info",("spider OK"));
DBUG_RETURN(0);
}
DBUG_PRINT("info",("spider FALSE by default"));
+ do_direct_update = FALSE;
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
}
@@ -9536,6 +9789,9 @@ int ha_spider::direct_delete_rows_init(
uint range_count,
bool sorted
) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ int error_num;
+#endif
st_select_lex *select_lex;
longlong select_limit;
longlong offset_limit;
@@ -9561,6 +9817,14 @@ int ha_spider::direct_delete_rows_init(
mode, ranges, range_count, sorted));
}
#endif
+ direct_update_init(
+ thd,
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ sql_command == SQLCOM_HS_DELETE
+#else
+ FALSE
+#endif
+ );
if (!condition)
cond_check = FALSE;
spider_get_select_limit(this, &select_lex, &select_limit, &offset_limit);
@@ -9578,6 +9842,7 @@ int ha_spider::direct_delete_rows_init(
spider_db_append_condition(this, NULL, 0, TRUE)
) {
DBUG_PRINT("info",("spider FALSE by condition"));
+ do_direct_update = FALSE;
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
}
if (select_lex->order_list.elements)
@@ -9589,12 +9854,12 @@ int ha_spider::direct_delete_rows_init(
if (check_item_type_sql((*order->item)))
{
DBUG_PRINT("info",("spider FALSE by order"));
+ do_direct_update = FALSE;
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
}
}
result_list.direct_order_limit = TRUE;
}
-
trx->direct_delete_count++;
DBUG_PRINT("info",("spider OK"));
DBUG_RETURN(0);
@@ -9612,11 +9877,18 @@ int ha_spider::direct_delete_rows_init(
#endif
do_direct_update
) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ if ((error_num = spider_check_trx_and_get_conn(thd, this, TRUE)))
+ {
+ DBUG_RETURN(error_num);
+ }
+#endif
trx->direct_delete_count++;
DBUG_PRINT("info",("spider OK"));
DBUG_RETURN(0);
}
DBUG_PRINT("info",("spider FALSE by default"));
+ do_direct_update = FALSE;
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
}
@@ -9722,6 +9994,8 @@ int ha_spider::delete_all_rows()
backup_error_status();
DBUG_ENTER("ha_spider::delete_all_rows");
DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_param_delete_all_rows_type(thd, share->delete_all_rows_type))
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
if (spider_param_read_only_mode(thd, share->read_only_mode))
{
my_printf_error(ER_SPIDER_READ_ONLY_NUM, ER_SPIDER_READ_ONLY_STR, MYF(0),
@@ -10552,10 +10826,14 @@ int ha_spider::info_push(
DBUG_PRINT("info",("spider this=%p", this));
#ifdef HA_CAN_BULK_ACCESS
if (
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ info_type != INFO_KIND_HS_RET_FIELDS &&
+#endif
+#endif
info_type != INFO_KIND_BULK_ACCESS_BEGIN &&
info_type != INFO_KIND_BULK_ACCESS_CURRENT &&
- info_type != INFO_KIND_BULK_ACCESS_END &&
- info_type != INFO_KIND_HS_RET_FIELDS
+ info_type != INFO_KIND_BULK_ACCESS_END
) {
if (!is_bulk_access_clone)
{
@@ -10681,6 +10959,11 @@ int ha_spider::info_push(
case INFO_KIND_UPDATE_FIELDS:
DBUG_PRINT("info",("spider INFO_KIND_UPDATE_FIELDS"));
direct_update_fields = (List<Item> *) info;
+ update_request = TRUE;
+#ifdef WITH_PARTITION_STORAGE_ENGINE
+ if (keyread && check_partitioned())
+ keyread = FALSE;
+#endif
break;
case INFO_KIND_UPDATE_VALUES:
DBUG_PRINT("info",("spider INFO_KIND_UPDATE_VALUES"));
@@ -10734,12 +11017,16 @@ int ha_spider::info_push(
) {
DBUG_RETURN(error_num);
}
+#ifdef HA_CAN_BULK_ACCESS
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
memset(
bulk_access_link_current->spider->result_list.hs_r_bulk_open_index, 0,
share->link_bitmap_size);
memset(
bulk_access_link_current->spider->result_list.hs_w_bulk_open_index, 0,
share->link_bitmap_size);
+#endif
+#endif
/*
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if ((error_num = bulk_access_link_current->spider->reset_hs_strs_pos(
@@ -11215,6 +11502,35 @@ void ha_spider::check_direct_order_limit()
DBUG_VOID_RETURN;
}
+int ha_spider::check_ha_range_eof()
+{
+ DBUG_ENTER("ha_spider::check_ha_range_eof");
+ DBUG_PRINT("info",("spider this=%p", this));
+ const key_range *end_key = result_list.end_key;
+ DBUG_PRINT("info",("spider use_both_key=%s",
+ result_list.use_both_key ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider sql_kind[%u]=%u",
+ search_link_idx, sql_kind[search_link_idx]));
+ DBUG_PRINT("info",("spider sql_command=%u", sql_command));
+ if (
+ result_list.use_both_key &&
+ (sql_kind[search_link_idx] & SPIDER_SQL_KIND_HANDLER) &&
+ sql_command != SQLCOM_HA_READ
+ ) {
+ int cmp_result = key_cmp(result_list.key_info->key_part,
+ end_key->key, end_key->length);
+ DBUG_PRINT("info",("spider cmp_result=%d", cmp_result));
+ if (
+ cmp_result > 0 ||
+ (end_key->flag == HA_READ_BEFORE_KEY && !cmp_result)
+ ) {
+ table->status = STATUS_NOT_FOUND;
+ DBUG_RETURN(HA_ERR_END_OF_FILE);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
int ha_spider::drop_tmp_tables()
{
int error_num = 0, tmp_error_num, need_mon;
@@ -11993,15 +12309,6 @@ int ha_spider::sync_from_clone_source(
DBUG_PRINT("info",("spider synced from clone source all"));
trx = spider->trx;
sql_command = spider->sql_command;
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- do_direct_update = spider->do_direct_update;
-#endif
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- memcpy(do_hs_direct_update, spider->do_hs_direct_update,
- share->link_bitmap_size);
-#endif
-#endif
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
conn_kinds = spider->conn_kinds;
memcpy(conn_kind, spider->conn_kind, sizeof(uint) * share->link_count);
@@ -12016,10 +12323,12 @@ int ha_spider::sync_from_clone_source(
low_priority = spider->low_priority;
memcpy(conns, spider->conns,
sizeof(SPIDER_CONN *) * share->link_count);
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
memcpy(hs_r_conns, spider->hs_r_conns,
sizeof(SPIDER_CONN *) * share->link_count);
memcpy(hs_w_conns, spider->hs_w_conns,
sizeof(SPIDER_CONN *) * share->link_count);
+#endif
spider_thread_id = spider->spider_thread_id;
trx_conn_adjustment = spider->trx_conn_adjustment;
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
@@ -12042,15 +12351,6 @@ int ha_spider::sync_from_clone_source(
{
DBUG_PRINT("info",("spider synced from clone source"));
sql_command = spider->sql_command;
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- do_direct_update = spider->do_direct_update;
-#endif
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- memcpy(do_hs_direct_update, spider->do_hs_direct_update,
- share->link_bitmap_size);
-#endif
-#endif
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
conn_kinds = spider->conn_kinds;
memcpy(conn_kind, spider->conn_kind, sizeof(uint) * share->link_count);
@@ -12072,6 +12372,8 @@ int ha_spider::sync_from_clone_source(
external_lock_cnt = spider->external_lock_cnt;
}
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (spider->hs_pushed_ret_fields_num < MAX_FIELDS)
{
SPIDER_HS_UINT32_INFO tmp_info;
@@ -12082,6 +12384,8 @@ int ha_spider::sync_from_clone_source(
DBUG_RETURN(error_num);
}
}
+#endif
+#endif
DBUG_PRINT("info",("spider bulk_access_link->spider->dbton_handler=%p",
dbton_handler));
DBUG_PRINT("info",("spider ptr bulk_access_link->spider->dbton_handler=%p",
@@ -12531,7 +12835,7 @@ int ha_spider::append_direct_update_set_hs_part()
#endif
#endif
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
int ha_spider::append_dup_update_pushdown_sql_part(
const char *alias,
uint alias_length
@@ -13113,6 +13417,32 @@ void ha_spider::set_order_to_pos_sql(
DBUG_VOID_RETURN;
}
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int ha_spider::append_group_by_sql_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ uint roop_count, dbton_id;
+ spider_db_handler *dbton_hdl;
+ DBUG_ENTER("ha_spider::append_group_by_sql_part");
+ for (roop_count = 0; roop_count < share->use_sql_dbton_count; roop_count++)
+ {
+ dbton_id = share->use_sql_dbton_ids[roop_count];
+ dbton_hdl = dbton_handler[dbton_id];
+ if (
+ dbton_hdl->first_link_idx >= 0 &&
+ (error_num = dbton_hdl->append_group_by_part(
+ alias, alias_length, sql_type))
+ ) {
+ DBUG_RETURN(error_num);
+ }
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
int ha_spider::append_key_order_for_merge_with_alias_sql_part(
const char *alias,
uint alias_length,
diff --git a/storage/spider/ha_spider.h b/storage/spider/ha_spider.h
index 4d1f6067bdc..2eb469c691a 100644
--- a/storage/spider/ha_spider.h
+++ b/storage/spider/ha_spider.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -125,6 +125,7 @@ public:
bool clone_bitmap_init;
ha_spider *pt_clone_source_handler;
ha_spider *pt_clone_last_searcher;
+ bool has_clone_for_merge;
bool init_index_handler;
bool init_rnd_handler;
@@ -165,6 +166,7 @@ public:
bool high_priority;
bool insert_delayed;
bool use_pre_call;
+ bool use_pre_records;
enum thr_lock_type lock_type;
int lock_mode;
uint sql_command;
@@ -173,6 +175,9 @@ public:
#ifdef HANDLER_HAS_NEED_INFO_FOR_AUTO_INC
bool info_auto_called;
#endif
+#ifdef HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
+ bool auto_inc_temporary;
+#endif
int bulk_size;
int direct_dup_insert;
int store_error_num;
@@ -232,6 +237,7 @@ public:
SPIDER_ITEM_HLD *direct_aggregate_item_first;
SPIDER_ITEM_HLD *direct_aggregate_item_current;
#endif
+ ha_rows table_rows;
/* for fulltext search */
bool ft_init_and_first;
@@ -463,6 +469,9 @@ public:
bool use_parallel
);
#ifdef HA_MRR_USE_DEFAULT_IMPL
+ int pre_multi_range_read_next(
+ bool use_parallel
+ );
#else
int pre_read_multi_range_first(
KEY_MULTI_RANGE **found_range_p,
@@ -491,6 +500,7 @@ public:
key_range *end_key
);
int check_crd();
+ int pre_records();
ha_rows records();
const char *table_type() const;
ulonglong table_flags() const;
@@ -511,6 +521,9 @@ public:
#ifdef HANDLER_HAS_NEED_INFO_FOR_AUTO_INC
bool need_info_for_auto_inc();
#endif
+#ifdef HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
+ bool can_use_for_auto_inc_init();
+#endif
int update_auto_increment();
void get_auto_increment(
ulonglong offset,
@@ -542,6 +555,12 @@ public:
uchar *buf
);
#endif
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ void direct_update_init(
+ THD *thd,
+ bool hs_request
+ );
+#endif
bool start_bulk_update();
int exec_bulk_update(
uint *dup_key_found
@@ -721,6 +740,7 @@ public:
);
uint check_partitioned();
void check_direct_order_limit();
+ int check_ha_range_eof();
int drop_tmp_tables();
bool handler_opened(
int link_idx,
@@ -845,7 +865,7 @@ public:
int append_direct_update_set_hs_part();
#endif
#endif
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
int append_dup_update_pushdown_sql_part(
const char *alias,
uint alias_length
@@ -944,6 +964,13 @@ public:
void set_order_to_pos_sql(
ulong sql_type
);
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int append_group_by_sql_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+#endif
int append_key_order_for_merge_with_alias_sql_part(
const char *alias,
uint alias_length,
diff --git a/storage/spider/mysql-test/spider/bg/suite.opt b/storage/spider/mysql-test/spider/bg/suite.opt
index 48457b17309..077a81334be 100644
--- a/storage/spider/mysql-test/spider/bg/suite.opt
+++ b/storage/spider/mysql-test/spider/bg/suite.opt
@@ -1 +1 @@
---loose-innodb
+--loose-innodb --skip-performance-schema
diff --git a/storage/spider/scripts/install_spider.sql b/storage/spider/scripts/install_spider.sql
index cda3b17c098..328541a550b 100644
--- a/storage/spider/scripts/install_spider.sql
+++ b/storage/spider/scripts/install_spider.sql
@@ -34,16 +34,16 @@ create table if not exists mysql.spider_xa_member(
scheme char(64) not null default '',
host char(64) not null default '',
port char(5) not null default '',
- socket text not null default '',
+ socket text not null,
username char(64) not null default '',
password char(64) not null default '',
- ssl_ca text default null,
- ssl_capath text default null,
- ssl_cert text default null,
+ ssl_ca text,
+ ssl_capath text,
+ ssl_cert text,
ssl_cipher char(64) default null,
- ssl_key text default null,
+ ssl_key text,
ssl_verify_server_cert tinyint not null default 0,
- default_file text default null,
+ default_file text,
default_group char(64) default null,
key idx1 (data, format_id, gtrid_length, host)
) engine=MyISAM default charset=utf8 collate=utf8_bin;
@@ -55,16 +55,16 @@ create table if not exists mysql.spider_xa_failed_log(
scheme char(64) not null default '',
host char(64) not null default '',
port char(5) not null default '',
- socket text not null default '',
+ socket text not null,
username char(64) not null default '',
password char(64) not null default '',
- ssl_ca text default null,
- ssl_capath text default null,
- ssl_cert text default null,
+ ssl_ca text,
+ ssl_capath text,
+ ssl_cert text,
ssl_cipher char(64) default null,
- ssl_key text default null,
+ ssl_key text,
ssl_verify_server_cert tinyint not null default 0,
- default_file text default null,
+ default_file text,
default_group char(64) default null,
thread_id int default null,
status char(8) not null default '',
@@ -80,16 +80,16 @@ create table if not exists mysql.spider_tables(
scheme char(64) default null,
host char(64) default null,
port char(5) default null,
- socket text default null,
+ socket text,
username char(64) default null,
password char(64) default null,
- ssl_ca text default null,
- ssl_capath text default null,
- ssl_cert text default null,
+ ssl_ca text,
+ ssl_capath text,
+ ssl_cert text,
ssl_cipher char(64) default null,
- ssl_key text default null,
+ ssl_key text,
ssl_verify_server_cert tinyint not null default 0,
- default_file text default null,
+ default_file text,
default_group char(64) default null,
tgt_db_name char(64) default null,
tgt_table_name char(64) default null,
@@ -106,16 +106,16 @@ create table if not exists mysql.spider_link_mon_servers(
scheme char(64) default null,
host char(64) default null,
port char(5) default null,
- socket text default null,
+ socket text,
username char(64) default null,
password char(64) default null,
- ssl_ca text default null,
- ssl_capath text default null,
- ssl_cert text default null,
+ ssl_ca text,
+ ssl_capath text,
+ ssl_cert text,
ssl_cipher char(64) default null,
- ssl_key text default null,
+ ssl_key text,
ssl_verify_server_cert tinyint not null default 0,
- default_file text default null,
+ default_file text,
default_group char(64) default null,
primary key (db_name, table_name, link_id, sid)
) engine=MyISAM default charset=utf8 collate=utf8_bin;
@@ -250,12 +250,12 @@ begin
alter table mysql.spider_xa_member
drop primary key,
add index idx1 (data, format_id, gtrid_length, host),
- modify socket text not null default '',
- modify ssl_ca text default null,
- modify ssl_capath text default null,
- modify ssl_cert text default null,
- modify ssl_key text default null,
- modify default_file text default null;
+ modify socket text not null,
+ modify ssl_ca text,
+ modify ssl_capath text,
+ modify ssl_cert text,
+ modify ssl_key text,
+ modify default_file text;
end if;
select COLUMN_TYPE INTO @col_type from INFORMATION_SCHEMA.COLUMNS
where TABLE_SCHEMA = 'mysql'
@@ -263,12 +263,12 @@ begin
AND COLUMN_NAME = 'socket';
if @col_type = 'char(64)' then
alter table mysql.spider_tables
- modify socket text default null,
- modify ssl_ca text default null,
- modify ssl_capath text default null,
- modify ssl_cert text default null,
- modify ssl_key text default null,
- modify default_file text default null;
+ modify socket text,
+ modify ssl_ca text,
+ modify ssl_capath text,
+ modify ssl_cert text,
+ modify ssl_key text,
+ modify default_file text;
end if;
select COLUMN_TYPE INTO @col_type from INFORMATION_SCHEMA.COLUMNS
where TABLE_SCHEMA = 'mysql'
@@ -276,12 +276,12 @@ begin
AND COLUMN_NAME = 'socket';
if @col_type = 'char(64)' then
alter table mysql.spider_link_mon_servers
- modify socket text default null,
- modify ssl_ca text default null,
- modify ssl_capath text default null,
- modify ssl_cert text default null,
- modify ssl_key text default null,
- modify default_file text default null;
+ modify socket text,
+ modify ssl_ca text,
+ modify ssl_capath text,
+ modify ssl_cert text,
+ modify ssl_key text,
+ modify default_file text;
end if;
end;//
delimiter ;
diff --git a/storage/spider/spd_conn.cc b/storage/spider/spd_conn.cc
index 842726cb1e0..5360946d482 100644
--- a/storage/spider/spd_conn.cc
+++ b/storage/spider/spd_conn.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -233,6 +233,7 @@ void spider_free_conn_from_trx(
) {
/* conn_recycle_mode == 1 */
*conn->conn_key = '0';
+ conn->casual_read_base_conn = NULL;
if (
conn->quick_target &&
spider_db_free_result((ha_spider *) conn->quick_target, FALSE)
@@ -1100,6 +1101,91 @@ int spider_free_conn(
DBUG_RETURN(0);
}
+int spider_check_and_get_casual_read_conn(
+ THD *thd,
+ ha_spider *spider,
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_check_and_get_casual_read_conn");
+ if (spider->result_list.casual_read[link_idx])
+ {
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ if (conn->casual_read_query_id != thd->query_id)
+ {
+ conn->casual_read_query_id = thd->query_id;
+ conn->casual_read_current_id = 2;
+ }
+ if (spider->result_list.casual_read[link_idx] == 1)
+ {
+ spider->result_list.casual_read[link_idx] = conn->casual_read_current_id;
+ ++conn->casual_read_current_id;
+ if (conn->casual_read_current_id > 63)
+ {
+ conn->casual_read_current_id = 2;
+ }
+ }
+ char first_byte_bak = *spider->conn_keys[link_idx];
+ *spider->conn_keys[link_idx] =
+ '0' + spider->result_list.casual_read[link_idx];
+ if (
+ !(spider->conns[link_idx] =
+ spider_get_conn(spider->share, link_idx,
+ spider->conn_keys[link_idx], spider->trx,
+ spider, FALSE, TRUE, SPIDER_CONN_KIND_MYSQL,
+ &error_num))
+ ) {
+ *spider->conn_keys[link_idx] = first_byte_bak;
+ DBUG_RETURN(error_num);
+ }
+ *spider->conn_keys[link_idx] = first_byte_bak;
+ spider->conns[link_idx]->casual_read_base_conn = conn;
+ conn = spider->conns[link_idx];
+ spider_check_and_set_autocommit(thd, conn, NULL);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_check_and_init_casual_read(
+ THD *thd,
+ ha_spider *spider,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_check_and_init_casual_read");
+ if (
+ spider_param_sync_autocommit(thd) &&
+ (!thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN)) &&
+ (
+ result_list->direct_order_limit
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ || result_list->direct_aggregate
+#endif
+ )
+ ) {
+ if (!result_list->casual_read[link_idx])
+ {
+ result_list->casual_read[link_idx] =
+ spider_param_casual_read(thd, share->casual_read);
+ }
+ if ((error_num = spider_check_and_get_casual_read_conn(thd, spider,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ if (
+ conn->casual_read_base_conn &&
+ (error_num = spider_create_conn_thread(conn))
+ ) {
+ DBUG_RETURN(error_num);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
void spider_conn_queue_connect(
SPIDER_SHARE *share,
SPIDER_CONN *conn,
@@ -2096,18 +2182,38 @@ int spider_bg_conn_search(
void spider_bg_conn_simple_action(
SPIDER_CONN *conn,
- uint simple_action
+ uint simple_action,
+ bool caller_wait,
+ void *target,
+ uint link_idx,
+ int *error_num
) {
DBUG_ENTER("spider_bg_conn_simple_action");
pthread_mutex_lock(&conn->bg_conn_mutex);
- conn->bg_caller_wait = TRUE;
+ conn->bg_target = target;
+ conn->link_idx = link_idx;
conn->bg_simple_action = simple_action;
- pthread_mutex_lock(&conn->bg_conn_sync_mutex);
+ conn->bg_error_num = error_num;
+ if (caller_wait)
+ {
+ conn->bg_caller_wait = TRUE;
+ pthread_mutex_lock(&conn->bg_conn_sync_mutex);
+ } else {
+ conn->bg_caller_sync_wait = TRUE;
+ pthread_mutex_lock(&conn->bg_conn_sync_mutex);
+ }
pthread_cond_signal(&conn->bg_conn_cond);
pthread_mutex_unlock(&conn->bg_conn_mutex);
- pthread_cond_wait(&conn->bg_conn_sync_cond, &conn->bg_conn_sync_mutex);
- pthread_mutex_unlock(&conn->bg_conn_sync_mutex);
- conn->bg_caller_wait = FALSE;
+ if (caller_wait)
+ {
+ pthread_cond_wait(&conn->bg_conn_sync_cond, &conn->bg_conn_sync_mutex);
+ pthread_mutex_unlock(&conn->bg_conn_sync_mutex);
+ conn->bg_caller_wait = FALSE;
+ } else {
+ pthread_cond_wait(&conn->bg_conn_sync_cond, &conn->bg_conn_sync_mutex);
+ pthread_mutex_unlock(&conn->bg_conn_sync_mutex);
+ conn->bg_caller_sync_wait = FALSE;
+ }
DBUG_VOID_RETURN;
}
@@ -2450,6 +2556,13 @@ void *spider_bg_conn_action(
case SPIDER_BG_SIMPLE_DISCONNECT:
conn->db_conn->bg_disconnect();
break;
+ case SPIDER_BG_SIMPLE_RECORDS:
+ DBUG_PRINT("info",("spider bg simple records"));
+ spider = (ha_spider*) conn->bg_target;
+ *conn->bg_error_num =
+ spider->dbton_handler[conn->dbton_id]->
+ show_records(conn->link_idx);
+ break;
default:
break;
}
@@ -2761,10 +2874,15 @@ void *spider_bg_sts_action(
if (spider.search_link_idx == -1)
{
spider_trx_set_link_idx_for_all(&spider);
+/*
spider.search_link_idx = spider_conn_next_link_idx(
thd, share->link_statuses, share->access_balances,
spider.conn_link_idx, spider.search_link_idx, share->link_count,
SPIDER_LINK_STATUS_OK);
+*/
+ spider.search_link_idx = spider_conn_first_link_idx(thd,
+ share->link_statuses, share->access_balances, spider.conn_link_idx,
+ share->link_count, SPIDER_LINK_STATUS_OK);
}
if (spider.search_link_idx >= 0)
{
@@ -2780,6 +2898,7 @@ void *spider_bg_sts_action(
&error_num);
conns[spider.search_link_idx]->error_mode = 0;
pthread_mutex_unlock(&spider_global_trx_mutex);
+/*
if (
error_num &&
share->monitoring_kind[spider.search_link_idx] &&
@@ -2802,8 +2921,10 @@ void *spider_bg_sts_action(
);
lex_end(thd->lex);
}
+*/
+ spider.search_link_idx = -1;
}
- if (conns[spider.search_link_idx])
+ if (spider.search_link_idx != -1 && conns[spider.search_link_idx])
{
#ifdef WITH_PARTITION_STORAGE_ENGINE
if (spider_get_sts(share, spider.search_link_idx,
@@ -2818,6 +2939,7 @@ void *spider_bg_sts_action(
2, HA_STATUS_CONST | HA_STATUS_VARIABLE))
#endif
{
+/*
if (
share->monitoring_kind[spider.search_link_idx] &&
need_mons[spider.search_link_idx]
@@ -2839,6 +2961,7 @@ void *spider_bg_sts_action(
);
lex_end(thd->lex);
}
+*/
spider.search_link_idx = -1;
}
}
@@ -3143,10 +3266,15 @@ void *spider_bg_crd_action(
if (spider.search_link_idx == -1)
{
spider_trx_set_link_idx_for_all(&spider);
+/*
spider.search_link_idx = spider_conn_next_link_idx(
thd, share->link_statuses, share->access_balances,
spider.conn_link_idx, spider.search_link_idx, share->link_count,
SPIDER_LINK_STATUS_OK);
+*/
+ spider.search_link_idx = spider_conn_first_link_idx(thd,
+ share->link_statuses, share->access_balances, spider.conn_link_idx,
+ share->link_count, SPIDER_LINK_STATUS_OK);
}
if (spider.search_link_idx >= 0)
{
@@ -3162,6 +3290,7 @@ void *spider_bg_crd_action(
&error_num);
conns[spider.search_link_idx]->error_mode = 0;
pthread_mutex_unlock(&spider_global_trx_mutex);
+/*
if (
error_num &&
share->monitoring_kind[spider.search_link_idx] &&
@@ -3184,8 +3313,10 @@ void *spider_bg_crd_action(
);
lex_end(thd->lex);
}
+*/
+ spider.search_link_idx = -1;
}
- if (conns[spider.search_link_idx])
+ if (spider.search_link_idx != -1 && conns[spider.search_link_idx])
{
#ifdef WITH_PARTITION_STORAGE_ENGINE
if (spider_get_crd(share, spider.search_link_idx,
@@ -3200,6 +3331,7 @@ void *spider_bg_crd_action(
2))
#endif
{
+/*
if (
share->monitoring_kind[spider.search_link_idx] &&
need_mons[spider.search_link_idx]
@@ -3221,6 +3353,7 @@ void *spider_bg_crd_action(
);
lex_end(thd->lex);
}
+*/
spider.search_link_idx = -1;
}
}
@@ -3718,28 +3851,35 @@ bool spider_conn_use_handler(
#endif
DBUG_RETURN(TRUE);
}
+#endif
#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
if (spider->do_direct_update)
{
spider->sql_kinds |= SPIDER_SQL_KIND_SQL;
spider->sql_kind[link_idx] = SPIDER_SQL_KIND_SQL;
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (spider_bit_is_set(spider->do_hs_direct_update, link_idx))
{
spider->direct_update_kinds |= SPIDER_SQL_KIND_HS;
DBUG_PRINT("info",("spider TRUE by using HS direct_update"));
DBUG_RETURN(TRUE);
- } else
+ } else {
+#endif
spider->direct_update_kinds |= SPIDER_SQL_KIND_SQL;
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ }
if (spider->conn_kind[link_idx] == SPIDER_CONN_KIND_MYSQL)
{
+#endif
DBUG_PRINT("info",("spider FALSE by using direct_update"));
DBUG_RETURN(FALSE);
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
} else {
DBUG_PRINT("info",("spider TRUE by using BOTH"));
DBUG_RETURN(TRUE);
}
- }
#endif
+ }
#endif
if (spider->use_spatial_index)
{
diff --git a/storage/spider/spd_conn.h b/storage/spider/spd_conn.h
index 9dc8f3495fd..99a6f1a48e8 100644
--- a/storage/spider/spd_conn.h
+++ b/storage/spider/spd_conn.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,6 +20,7 @@
#define SPIDER_BG_SIMPLE_NO_ACTION 0
#define SPIDER_BG_SIMPLE_CONNECT 1
#define SPIDER_BG_SIMPLE_DISCONNECT 2
+#define SPIDER_BG_SIMPLE_RECORDS 3
uchar *spider_conn_get_key(
SPIDER_CONN *conn,
@@ -69,6 +70,18 @@ int spider_free_conn(
SPIDER_CONN *conn
);
+int spider_check_and_get_casual_read_conn(
+ THD *thd,
+ ha_spider *spider,
+ int link_idx
+);
+
+int spider_check_and_init_casual_read(
+ THD *thd,
+ ha_spider *spider,
+ int link_idx
+);
+
void spider_conn_queue_connect(
SPIDER_SHARE *share,
SPIDER_CONN *conn,
@@ -220,7 +233,11 @@ int spider_bg_conn_search(
void spider_bg_conn_simple_action(
SPIDER_CONN *conn,
- uint simple_action
+ uint simple_action,
+ bool caller_wait,
+ void *target,
+ uint link_idx,
+ int *error_num
);
void *spider_bg_conn_action(
diff --git a/storage/spider/spd_copy_tables.cc b/storage/spider/spd_copy_tables.cc
index 7c7d3836a00..10fed696134 100644
--- a/storage/spider/spd_copy_tables.cc
+++ b/storage/spider/spd_copy_tables.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2013 Kentoku Shiba
+/* Copyright (C) 2009-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -719,7 +719,7 @@ int spider_udf_copy_tables_create_table_list(
&copy_tables->link_idxs[1],
sizeof(int) * copy_tables->link_idx_count[1],
&tmp_name_ptr, sizeof(char) * (
- spider_table_name_length * 2 + copy_tables->database_length + 2
+ spider_table_name_length * 2 + copy_tables->database_length + 3
),
NullS))
) {
@@ -849,6 +849,7 @@ long long spider_copy_tables_body(
MEM_ROOT mem_root;
longlong bulk_insert_rows;
Reprepare_observer *reprepare_observer_backup;
+ uint tmp_conn_link_idx = 0;
DBUG_ENTER("spider_copy_tables_body");
if (
thd->open_tables != 0 ||
@@ -989,6 +990,7 @@ long long spider_copy_tables_body(
table_list->table_name_length));
reprepare_observer_backup = thd->m_reprepare_observer;
thd->m_reprepare_observer = NULL;
+ copy_tables->trx->trx_start = TRUE;
#if MYSQL_VERSION_ID < 50500
if (open_and_lock_tables(thd, table_list))
#else
@@ -1003,12 +1005,14 @@ long long spider_copy_tables_body(
#endif
{
thd->m_reprepare_observer = reprepare_observer_backup;
+ copy_tables->trx->trx_start = FALSE;
my_printf_error(ER_SPIDER_UDF_CANT_OPEN_TABLE_NUM,
ER_SPIDER_UDF_CANT_OPEN_TABLE_STR, MYF(0), table_list->db,
table_list->table_name);
goto error;
}
thd->m_reprepare_observer = reprepare_observer_backup;
+ copy_tables->trx->trx_start = FALSE;
table = table_list->table;
table_share = table->s;
@@ -1093,6 +1097,7 @@ long long spider_copy_tables_body(
for (roop_count = 0; roop_count < all_link_cnt; roop_count++)
{
spider[roop_count].conns = NULL;
+ spider[roop_count].change_table_ptr(table, table_share);
}
for (roop_count = 0, table_conn = copy_tables->table_conn[0];
table_conn; roop_count++, table_conn = table_conn->next)
@@ -1123,6 +1128,7 @@ long long spider_copy_tables_body(
tmp_spider->result_list.sqls = &tmp_sql[roop_count];
tmp_spider->need_mons = &table_conn->need_mon;
tmp_spider->lock_type = TL_READ;
+ tmp_spider->conn_link_idx = &tmp_conn_link_idx;
uint dbton_id = tmp_spider->share->use_dbton_ids[0];
if (!(tmp_spider->dbton_handler[dbton_id] =
spider_dbton[dbton_id].create_db_handler(tmp_spider,
@@ -1166,6 +1172,7 @@ long long spider_copy_tables_body(
tmp_spider->result_list.sqls = &tmp_sql[roop_count];
tmp_spider->need_mons = &table_conn->need_mon;
tmp_spider->lock_type = TL_WRITE;
+ tmp_spider->conn_link_idx = &tmp_conn_link_idx;
uint dbton_id = tmp_spider->share->use_dbton_ids[0];
if (!(tmp_spider->dbton_handler[dbton_id] =
spider_dbton[dbton_id].create_db_handler(tmp_spider,
@@ -1293,7 +1300,9 @@ error:
delete [] tmp_sql;
}
if (copy_tables)
+ {
spider_udf_free_copy_tables_alloc(copy_tables);
+ }
*error = 1;
DBUG_RETURN(0);
}
@@ -1338,6 +1347,6 @@ void spider_copy_tables_deinit_body(
!thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN) &&
(trx = spider_get_trx(thd, TRUE, &error_num))
)
- spider_free_trx_conn(trx, FALSE);
+ spider_copy_table_free_trx_conn(trx);
DBUG_VOID_RETURN;
}
diff --git a/storage/spider/spd_copy_tables.h b/storage/spider/spd_copy_tables.h
index 88612d1dd12..bda7a051bc6 100644
--- a/storage/spider/spd_copy_tables.h
+++ b/storage/spider/spd_copy_tables.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010-2013 Kentoku Shiba
+/* Copyright (C) 2010-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/spider/spd_db_conn.cc b/storage/spider/spd_db_conn.cc
index 48c4b6ce4c6..0e0c8f01b02 100644
--- a/storage/spider/spd_db_conn.cc
+++ b/storage/spider/spd_db_conn.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1205,7 +1205,7 @@ void spider_db_append_xid_str(
DBUG_ENTER("spider_db_append_xid_str");
format_id_length =
- my_sprintf(format_id, (format_id, "0x%lx", xid->formatID));
+ my_sprintf(format_id, (format_id, "%lu", xid->formatID));
spider_db_append_hex_string(tmp_str, (uchar *) xid->data, xid->gtrid_length);
/*
tmp_str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
@@ -1595,9 +1595,10 @@ int spider_db_append_key_where_internal(
start_key_part_map = 0;
use_both = FALSE;
}
- if (end_key)
+ if (end_key) {
end_key_part_map = end_key->keypart_map & full_key_part_map;
- else {
+ result_list->end_key = end_key;
+ } else {
end_key_part_map = 0;
use_both = FALSE;
}
@@ -1657,6 +1658,8 @@ int spider_db_append_key_where_internal(
tgt_key_part_map = end_key_part_map;
}
DBUG_PRINT("info", ("spider tgt_key_part_map=%lu", tgt_key_part_map));
+ if (start_key_part_map == end_key_part_map)
+ result_list->use_both_key = TRUE;
if (sql_kind == SPIDER_SQL_KIND_SQL)
{
@@ -1707,6 +1710,7 @@ int spider_db_append_key_where_internal(
#endif
}
} else {
+ DBUG_PRINT("info", ("spider tgt_key_part_map=%lu", tgt_key_part_map));
if (tgt_key_part_map > 1)
key_eq = TRUE;
else
@@ -1716,10 +1720,11 @@ int spider_db_append_key_where_internal(
(key_eq && use_key == start_key) ||
(!key_eq && start_key_part_map)
) {
+ bool tgt_final = (use_key == start_key && tgt_key_part_map == 1);
ptr = start_key->key + length;
if (
(error_num = dbton_hdl->append_is_null_part(sql_type, key_part,
- start_key, &ptr, key_eq))
+ start_key, &ptr, key_eq, tgt_final))
) {
if (error_num > 0)
DBUG_RETURN(error_num);
@@ -1759,10 +1764,13 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == start_key)
+ {
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
else {
@@ -1807,13 +1815,19 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == start_key)
+ {
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ }
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
else {
@@ -1860,13 +1874,19 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_GT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_GT_STR, SPIDER_SQL_GT_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == start_key)
+ {
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_GT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_GT_STR, SPIDER_SQL_GT_LEN);
+ }
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
else {
@@ -1914,13 +1934,19 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_LT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LT_STR, SPIDER_SQL_LT_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == start_key)
+ {
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_LT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LT_STR, SPIDER_SQL_LT_LEN);
+ }
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
else {
@@ -1974,13 +2000,20 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_LTEQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LTEQUAL_STR, SPIDER_SQL_LTEQUAL_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == start_key)
+ {
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_LTEQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LTEQUAL_STR,
+ SPIDER_SQL_LTEQUAL_LEN);
+ }
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
else {
@@ -2116,13 +2149,20 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_GTEQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_GTEQUAL_STR, SPIDER_SQL_GTEQUAL_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == start_key)
+ {
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_GTEQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_GTEQUAL_STR,
+ SPIDER_SQL_GTEQUAL_LEN);
+ }
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
else {
@@ -2152,9 +2192,12 @@ int spider_db_append_key_where_internal(
str_part2->q_append(SPIDER_SQL_AND_STR,
SPIDER_SQL_AND_LEN);
- if (str_part->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str_part->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if (use_key == start_key)
+ {
+ if (str_part->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str_part->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
}
}
@@ -2166,9 +2209,10 @@ int spider_db_append_key_where_internal(
(key_eq && use_key == end_key) ||
(!key_eq && end_key_part_map)
) {
+ bool tgt_final = (use_key == end_key && tgt_key_part_map == 1);
ptr = end_key->key + length;
if ((error_num = dbton_hdl->append_is_null_part(sql_type, key_part,
- end_key, &ptr, key_eq)))
+ end_key, &ptr, key_eq, tgt_final)))
{
if (error_num > 0)
DBUG_RETURN(error_num);
@@ -2207,13 +2251,21 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == end_key)
+ {
+/*
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ }
+*/
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
} else {
DBUG_PRINT("info", ("spider end_key->flag=%d", end_key->flag));
@@ -2251,13 +2303,19 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_LT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LT_STR, SPIDER_SQL_LT_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == end_key)
+ {
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_LT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LT_STR, SPIDER_SQL_LT_LEN);
+ }
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
break;
default:
@@ -2291,13 +2349,20 @@ int spider_db_append_key_where_internal(
share->access_charset))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_LTEQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LTEQUAL_STR, SPIDER_SQL_LTEQUAL_LEN);
- if (spider_dbton[dbton_id].db_util->
- append_column_value(spider, str_part, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (use_key == end_key)
+ {
+ if (tgt_key_part_map == 1)
+ {
+ if (str->reserve(SPIDER_SQL_LTEQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LTEQUAL_STR,
+ SPIDER_SQL_LTEQUAL_LEN);
+ }
+ if (spider_dbton[dbton_id].db_util->
+ append_column_value(spider, str_part, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
}
break;
}
@@ -2314,9 +2379,12 @@ int spider_db_append_key_where_internal(
str_part2->q_append(SPIDER_SQL_AND_STR,
SPIDER_SQL_AND_LEN);
- if (str_part->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str_part->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if (use_key == end_key)
+ {
+ if (str_part->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str_part->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
}
}
if (use_both && (!start_key_part_map || !end_key_part_map))
@@ -2745,6 +2813,13 @@ int spider_db_fetch_table(
{
if (!row->is_null())
spider->multi_range_hit_point = row->val_int();
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (result_list->direct_aggregate)
+ {
+ table->status = STATUS_NOT_FOUND;
+ DBUG_RETURN(HA_ERR_END_OF_FILE);
+ }
+#endif
else
DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
row->next();
@@ -2926,6 +3001,13 @@ int spider_db_fetch_key(
DBUG_PRINT("info", ("spider mrr_with_cnt"));
if (!row->is_null())
spider->multi_range_hit_point = row->val_int();
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (result_list->direct_aggregate)
+ {
+ table->status = STATUS_NOT_FOUND;
+ DBUG_RETURN(HA_ERR_END_OF_FILE);
+ }
+#endif
else
DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
row->next();
@@ -3026,6 +3108,13 @@ int spider_db_fetch_minimum_columns(
DBUG_PRINT("info", ("spider mrr_with_cnt"));
if (!row->is_null())
spider->multi_range_hit_point = row->val_int();
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (result_list->direct_aggregate)
+ {
+ table->status = STATUS_NOT_FOUND;
+ DBUG_RETURN(HA_ERR_END_OF_FILE);
+ }
+#endif
else
DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
row->next();
@@ -3555,33 +3644,33 @@ int spider_db_store_result(
}
DBUG_RETURN(error_num);
}
- if (
- error_num != HA_ERR_END_OF_FILE &&
- (error_num = spider_db_errorno(conn))
- )
- DBUG_RETURN(error_num);
- else {
- DBUG_PRINT("info",("spider set finish_flg point 1"));
- DBUG_PRINT("info",("spider current->finish_flg = TRUE"));
- DBUG_PRINT("info",("spider result_list->finish_flg = TRUE"));
- current->finish_flg = TRUE;
- result_list->finish_flg = TRUE;
+ bool call_db_errorno = FALSE;
+ if (error_num != HA_ERR_END_OF_FILE)
+ {
+ call_db_errorno = TRUE;
+ if ((error_num = spider_db_errorno(conn)))
+ DBUG_RETURN(error_num);
+ }
+ DBUG_PRINT("info",("spider set finish_flg point 1"));
+ DBUG_PRINT("info",("spider current->finish_flg = TRUE"));
+ DBUG_PRINT("info",("spider result_list->finish_flg = TRUE"));
+ current->finish_flg = TRUE;
+ result_list->finish_flg = TRUE;
#ifndef WITHOUT_SPIDER_BG_SEARCH
- if (result_list->bgs_phase <= 1)
- {
+ if (result_list->bgs_phase <= 1)
+ {
#endif
- result_list->current_row_num = 0;
- table->status = STATUS_NOT_FOUND;
+ result_list->current_row_num = 0;
+ table->status = STATUS_NOT_FOUND;
#ifndef WITHOUT_SPIDER_BG_SEARCH
- }
+ }
#endif
- if (!conn->mta_conn_mutex_unlock_later)
- {
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- }
- DBUG_RETURN(HA_ERR_END_OF_FILE);
+ if (!conn->mta_conn_mutex_unlock_later && !call_db_errorno)
+ {
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
}
+ DBUG_RETURN(HA_ERR_END_OF_FILE);
} else {
if (!conn->mta_conn_mutex_unlock_later)
{
@@ -3594,14 +3683,14 @@ int spider_db_store_result(
current->record_num));
DBUG_PRINT("info",("spider result_list->record_num=%lld",
result_list->record_num));
+ DBUG_PRINT("info",("spider result_list->internal_limit=%lld",
+ result_list->internal_limit));
+ DBUG_PRINT("info",("spider result_list->split_read=%lld",
+ result_list->split_read));
if (
result_list->internal_limit <= result_list->record_num ||
result_list->split_read > current->record_num
) {
- DBUG_PRINT("info",("spider result_list->internal_limit=%lld",
- result_list->internal_limit));
- DBUG_PRINT("info",("spider result_list->split_read=%lld",
- result_list->split_read));
DBUG_PRINT("info",("spider set finish_flg point 2"));
DBUG_PRINT("info",("spider current->finish_flg = TRUE"));
DBUG_PRINT("info",("spider result_list->finish_flg = TRUE"));
@@ -4785,7 +4874,7 @@ int spider_db_seek_tmp(
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
pos->row->first();
}
- if (spider->sql_kind[spider->result_link_idx] == SPIDER_SQL_KIND_SQL)
+ if (pos->sql_kind == SPIDER_SQL_KIND_SQL)
{
if (!spider->select_column_mode)
{
@@ -5087,14 +5176,55 @@ int spider_db_show_table_status(
int spider_db_show_records(
ha_spider *spider,
- int link_idx
+ int link_idx,
+ bool pre_call
) {
int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
+ THD *thd = spider->trx->thd;
+ SPIDER_CONN *conn;
DBUG_ENTER("spider_db_show_records");
- error_num = spider->dbton_handler[conn->dbton_id]->show_records(
- link_idx
- );
+ if (pre_call)
+ {
+ if (spider_param_bgs_mode(thd, spider->share->bgs_mode))
+ {
+ if ((error_num = spider_check_and_get_casual_read_conn(thd, spider,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ conn = spider->conns[link_idx];
+ if (!(error_num = spider_create_conn_thread(conn)))
+ {
+ spider_bg_conn_simple_action(conn, SPIDER_BG_SIMPLE_RECORDS, FALSE,
+ spider, link_idx, (int *) &spider->result_list.bgs_error);
+ }
+ } else {
+ conn = spider->conns[link_idx];
+ error_num = spider->dbton_handler[conn->dbton_id]->show_records(
+ link_idx
+ );
+ }
+ } else {
+ conn = spider->conns[link_idx];
+ if (spider->use_pre_records)
+ {
+ if (spider_param_bgs_mode(thd, spider->share->bgs_mode))
+ {
+ spider_bg_conn_wait(conn);
+ error_num = spider->result_list.bgs_error;
+ if (conn->casual_read_base_conn)
+ {
+ spider->conns[link_idx] = conn->casual_read_base_conn;
+ }
+ } else {
+ error_num = 0;
+ }
+ } else {
+ error_num = spider->dbton_handler[conn->dbton_id]->show_records(
+ link_idx
+ );
+ }
+ }
DBUG_RETURN(error_num);
}
@@ -5584,7 +5714,6 @@ int spider_db_bulk_bulk_insert(
) {
int error_num = 0, first_insert_link_idx = -1, tmp_error_num;
int roop_count2;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
SPIDER_SHARE *share = spider->share;
SPIDER_CONN *conn, *first_insert_conn = NULL;
TABLE *table = spider->get_table();
@@ -5624,6 +5753,7 @@ int spider_db_bulk_bulk_insert(
if (conn->conn_kind != SPIDER_CONN_KIND_MYSQL)
{
uint roop_count;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
DBUG_PRINT("info",("spider conn=%p", conn));
DBUG_PRINT("info",("spider result_list->hs_upd_rows=%llu",
result_list->hs_upd_rows));
@@ -6283,12 +6413,14 @@ int spider_db_direct_update(
) {
DBUG_RETURN(error_num);
}
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (
(spider->direct_update_kinds & SPIDER_SQL_KIND_HS) &&
(error_num = spider->append_direct_update_set_hs_part())
) {
DBUG_RETURN(error_num);
}
+#endif
}
#endif
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
@@ -6323,6 +6455,7 @@ int spider_db_direct_update(
DBUG_RETURN(error_num);
}
}
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (spider->direct_update_kinds & SPIDER_SQL_KIND_HS)
{
if (
@@ -6337,6 +6470,7 @@ int spider_db_direct_update(
DBUG_RETURN(error_num);
}
}
+#endif
for (
roop_count = spider_conn_link_idx_next(share->link_statuses,
@@ -6455,9 +6589,9 @@ int spider_db_direct_update(
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (!spider_bit_is_set(spider->do_hs_direct_update, roop_count))
{
+#endif
if (!counted)
{
-#endif
*update_rows = spider->conns[roop_count]->db_conn->affected_rows();
DBUG_PRINT("info", ("spider update_rows = %u", *update_rows));
counted = TRUE;
@@ -6559,9 +6693,9 @@ int spider_db_bulk_direct_update(
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (!spider_bit_is_set(spider->do_hs_direct_update, roop_count))
{
+#endif
if (!counted)
{
-#endif
*update_rows = spider->conns[roop_count]->db_conn->affected_rows();
DBUG_PRINT("info", ("spider update_rows = %u", *update_rows));
counted = TRUE;
@@ -6747,6 +6881,7 @@ int spider_db_direct_delete(
DBUG_RETURN(error_num);
}
}
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (spider->direct_update_kinds & SPIDER_SQL_KIND_HS)
{
if (
@@ -6761,6 +6896,7 @@ int spider_db_direct_delete(
DBUG_RETURN(error_num);
}
}
+#endif
for (
roop_count = spider_conn_link_idx_next(share->link_statuses,
@@ -6926,6 +7062,7 @@ int spider_db_direct_delete(
if ((error_num = spider->reset_sql_sql(SPIDER_SQL_TYPE_DELETE_SQL)))
error_num2 = error_num;
}
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
if (spider->direct_update_kinds & SPIDER_SQL_KIND_HS)
{
if ((error_num = spider->reset_hs_sql(SPIDER_SQL_TYPE_DELETE_HS)))
@@ -6933,6 +7070,7 @@ int spider_db_direct_delete(
if ((error_num = spider->reset_hs_keys(SPIDER_SQL_TYPE_DELETE_HS)))
error_num2 = error_num;
}
+#endif
DBUG_RETURN(error_num2);
}
#endif
@@ -7909,7 +8047,7 @@ int spider_db_open_item_string(
tmp_str.mem_calc();
str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
if (
- append_escaped(str->get_str(), tmp_str2) ||
+ str->get_str()->append_for_single_quote(tmp_str2) ||
str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN)
)
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
@@ -7932,10 +8070,27 @@ int spider_db_open_item_int(
{
char tmp_buf[MAX_FIELD_WIDTH];
spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ String *tmp_str2;
tmp_str.init_calc_mem(127);
- if (str->append(*item->val_str(tmp_str.get_str())))
+ if (!(tmp_str2 = item->val_str(tmp_str.get_str())))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
tmp_str.mem_calc();
+#ifdef SPIDER_ITEM_HAS_CMP_TYPE
+ DBUG_PRINT("info",("spider cmp_type=%u", item->cmp_type()));
+ if (item->cmp_type() == TIME_RESULT)
+ {
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN * 2 + tmp_str2->length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->append(*tmp_str2);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else {
+#endif
+ if (str->append(*tmp_str2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+#ifdef SPIDER_ITEM_HAS_CMP_TYPE
+ }
+#endif
}
DBUG_RETURN(0);
}
@@ -7951,6 +8106,7 @@ int spider_db_open_item_cache(
DBUG_ENTER("spider_db_open_item_cache");
if (!item_cache->const_item())
DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ DBUG_PRINT("info",("spider result_type=%u", item_cache->result_type()));
switch (item_cache->result_type())
{
case STRING_RESULT:
@@ -8534,8 +8690,10 @@ int spider_db_udf_direct_sql(
}
#if MYSQL_VERSION_ID < 50500
#else
- if (table->pos_in_table_list)
- {
+ if (
+ table->s->tmp_table == NO_TMP_TABLE &&
+ table->pos_in_table_list
+ ) {
TABLE_LIST *next_tables =
table->pos_in_table_list->next_global;
while (next_tables && next_tables->parent_l)
@@ -8622,8 +8780,10 @@ int spider_db_udf_direct_sql(
table->file->ha_external_lock(table->in_use, F_UNLCK);
#if MYSQL_VERSION_ID < 50500
#else
- if (table->pos_in_table_list)
- {
+ if (
+ table->s->tmp_table == NO_TMP_TABLE &&
+ table->pos_in_table_list
+ ) {
TABLE_LIST *next_tables =
table->pos_in_table_list->next_global;
while (next_tables && next_tables->parent_l)
@@ -8865,16 +9025,19 @@ int spider_db_udf_ping_table(
bool use_where,
longlong limit
) {
- int error_num, need_mon = 0;
- uint tmp_conn_link_idx = 0;
- ha_spider spider;
+ int error_num;
DBUG_ENTER("spider_db_udf_ping_table");
if (!pthread_mutex_trylock(&table_mon_list->monitor_mutex))
{
+ int need_mon = 0;
+ uint tmp_conn_link_idx = 0;
+ ha_spider spider;
+ uchar db_request_phase = 0;
spider.share = share;
spider.trx = trx;
spider.need_mons = &need_mon;
spider.conn_link_idx = &tmp_conn_link_idx;
+ spider.db_request_phase = &db_request_phase;
pthread_mutex_lock(&conn->mta_conn_mutex);
SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
conn->need_mon = &need_mon;
@@ -9029,7 +9192,7 @@ int spider_db_udf_ping_table_append_mon_next(
str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
str->q_append(SPIDER_SQL_PING_TABLE_STR, SPIDER_SQL_PING_TABLE_LEN);
str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- append_escaped(str->get_str(), child_table_name_str.get_str());
+ str->get_str()->append_for_single_quote(child_table_name_str.get_str());
str->mem_calc();
str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
@@ -9040,7 +9203,7 @@ int spider_db_udf_ping_table_append_mon_next(
str->q_append(limit_str, limit_str_length);
str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- append_escaped(str->get_str(), where_clause_str.get_str());
+ str->get_str()->append_for_single_quote(where_clause_str.get_str());
str->mem_calc();
str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
@@ -9093,7 +9256,7 @@ int spider_db_udf_ping_table_append_select(
))
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
if (use_where)
- append_escaped(str->get_str(), where_str->get_str());
+ str->get_str()->append_for_single_quote(where_str->get_str());
str->mem_calc();
str->q_append(SPIDER_SQL_LIMIT_STR, SPIDER_SQL_LIMIT_LEN);
str->q_append(limit_str, limit_str_length);
@@ -9279,6 +9442,8 @@ int spider_db_udf_copy_tables(
{
tmp_spider = &spider[roop_count];
tmp_conn = tmp_spider->conns[0];
+ /* disable transaction */
+ spider_conn_clear_queue_at_commit(tmp_conn);
if (!tmp_conn->trx_start)
{
if (spider_db_ping(tmp_spider, tmp_conn, 0))
@@ -9301,6 +9466,8 @@ int spider_db_udf_copy_tables(
{
tmp_spider = &spider[roop_count];
tmp_conn = tmp_spider->conns[0];
+ /* disable transaction */
+ spider_conn_clear_queue_at_commit(tmp_conn);
spider_db_handler *tmp_dbton_hdl =
tmp_spider->dbton_handler[tmp_conn->dbton_id];
if ((error_num = tmp_dbton_hdl->insert_lock_tables_list(tmp_conn, 0)))
@@ -9916,7 +10083,9 @@ int spider_db_bulk_open_handler(
int link_idx
) {
int error_num = 0;
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
bool opening_index = FALSE;
+#endif
DBUG_ENTER("spider_db_bulk_open_handler");
DBUG_PRINT("info",("spider spider=%p", spider));
DBUG_PRINT("info",("spider conn=%p", conn));
diff --git a/storage/spider/spd_db_conn.h b/storage/spider/spd_db_conn.h
index 3a5cc1b6181..9b37202adab 100644
--- a/storage/spider/spd_db_conn.h
+++ b/storage/spider/spd_db_conn.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -639,7 +639,8 @@ int spider_db_show_table_status(
int spider_db_show_records(
ha_spider *spider,
- int link_idx
+ int link_idx,
+ bool pre_call
);
void spider_db_set_cardinarity(
diff --git a/storage/spider/spd_db_handlersocket.cc b/storage/spider/spd_db_handlersocket.cc
index 8d5c52d6bf2..bf2a0bae419 100644
--- a/storage/spider/spd_db_handlersocket.cc
+++ b/storage/spider/spd_db_handlersocket.cc
@@ -1,5553 +1,5625 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-#define MYSQL_SERVER 1
-#include "mysql_version.h"
-#if MYSQL_VERSION_ID < 50500
-#include "mysql_priv.h"
-#include <mysql/plugin.h>
-#else
-#include "sql_priv.h"
-#include "probes_mysql.h"
-#include "sql_analyse.h"
-#endif
-
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-#include "spd_err.h"
-#include "spd_param.h"
-#include "spd_db_include.h"
-#include "spd_include.h"
-#include "spd_db_handlersocket.h"
-#include "ha_spider.h"
-#include "spd_db_conn.h"
-#include "spd_trx.h"
-#include "spd_conn.h"
-#include "spd_malloc.h"
-
-extern handlerton *spider_hton_ptr;
-extern HASH spider_open_connections;
-extern SPIDER_DBTON spider_dbton[SPIDER_DBTON_SIZE];
-extern const char spider_dig_upper[];
-
-#define SPIDER_SQL_INTERVAL_STR " + interval "
-#define SPIDER_SQL_INTERVAL_LEN (sizeof(SPIDER_SQL_INTERVAL_STR) - 1)
-#define SPIDER_SQL_NEGINTERVAL_STR " - interval "
-#define SPIDER_SQL_NEGINTERVAL_LEN (sizeof(SPIDER_SQL_NEGINTERVAL_STR) - 1)
-
-#define SPIDER_SQL_NAME_QUOTE_STR ""
-#define SPIDER_SQL_NAME_QUOTE_LEN (sizeof(SPIDER_SQL_NAME_QUOTE_STR) - 1)
-static const char *name_quote_str = SPIDER_SQL_NAME_QUOTE_STR;
-
-#define SPIDER_SQL_TYPE_FULL_HS (SPIDER_SQL_TYPE_SELECT_HS | \
- SPIDER_SQL_TYPE_INSERT_HS | SPIDER_SQL_TYPE_UPDATE_HS | \
- SPIDER_SQL_TYPE_DELETE_HS | SPIDER_SQL_TYPE_OTHER_HS)
-
-static uchar SPIDER_SQL_LINESTRING_HEAD_STR[] =
- {0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00};
-#define SPIDER_SQL_LINESTRING_HEAD_LEN sizeof(SPIDER_SQL_LINESTRING_HEAD_STR)
-
-static const char *spider_db_timefunc_interval_str[] =
-{
- " year", " quarter", " month", " week", " day",
- " hour", " minute", " second", " microsecond",
- " year_month", " day_hour", " day_minute",
- " day_second", " hour_minute", " hour_second",
- " minute_second", " day_microsecond", " hour_microsecond",
- " minute_microsecond", " second_microsecond"
-};
-
-static SPIDER_HS_STRING_REF spider_null_string_ref = SPIDER_HS_STRING_REF();
-
-int spider_handlersocket_init()
-{
- DBUG_ENTER("spider_handlersocket_init");
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_deinit()
-{
- DBUG_ENTER("spider_handlersocket_deinit");
- DBUG_RETURN(0);
-}
-
-spider_db_share *spider_handlersocket_create_share(
- SPIDER_SHARE *share
-) {
- DBUG_ENTER("spider_handlersocket_create_share");
- DBUG_RETURN(new spider_handlersocket_share(share));
-}
-
-spider_db_handler *spider_handlersocket_create_handler(
- ha_spider *spider,
- spider_db_share *db_share
-) {
- DBUG_ENTER("spider_handlersocket_create_handler");
- DBUG_RETURN(new spider_handlersocket_handler(spider,
- (spider_handlersocket_share *) db_share));
-}
-
-SPIDER_DB_CONN *spider_handlersocket_create_conn(
- SPIDER_CONN *conn
-) {
- DBUG_ENTER("spider_handlersocket_create_conn");
- DBUG_RETURN(new spider_db_handlersocket(conn));
-}
-
-spider_db_handlersocket_util spider_db_handlersocket_utility;
-
-SPIDER_DBTON spider_dbton_handlersocket = {
- 0,
- SPIDER_DB_WRAPPER_MYSQL,
- SPIDER_DB_ACCESS_TYPE_NOSQL,
- spider_handlersocket_init,
- spider_handlersocket_deinit,
- spider_handlersocket_create_share,
- spider_handlersocket_create_handler,
- NULL,
- spider_handlersocket_create_conn,
- &spider_db_handlersocket_utility
-};
-
-#ifndef HANDLERSOCKET_MYSQL_UTIL
-spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-int spider_db_hs_string_ref_buffer::init()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::init");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-void spider_db_hs_string_ref_buffer::clear()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::clear");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_conds.clear();
- DBUG_VOID_RETURN;
-}
-
-int spider_db_hs_string_ref_buffer::push_back(
- SPIDER_HS_STRING_REF &cond
-) {
- DBUG_ENTER("spider_db_hs_string_ref_buffer::push_back");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_conds.push_back(cond);
- DBUG_RETURN(0);
-}
-
-SPIDER_HS_STRING_REF *spider_db_hs_string_ref_buffer::ptr()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::ptr");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(&hs_conds[0]);
-}
-
-uint spider_db_hs_string_ref_buffer::size()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::size");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((uint) hs_conds.size());
-}
-#else
-spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer() : hs_da_init(FALSE)
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- if (hs_da_init)
- {
- spider_free_mem_calc(spider_current_trx,
- hs_conds_id, hs_conds.max_element * hs_conds.size_of_element);
- delete_dynamic(&hs_conds);
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_hs_string_ref_buffer::init()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!hs_da_init)
- {
- SPD_INIT_DYNAMIC_ARRAY2(&hs_conds, sizeof(SPIDER_HS_STRING_REF),
- NULL, 16, 16, MYF(MY_WME));
- spider_alloc_calc_mem_init(hs_conds, 159);
- spider_alloc_calc_mem(spider_current_trx,
- hs_conds, hs_conds.max_element * hs_conds.size_of_element);
- hs_da_init = TRUE;
- }
- DBUG_RETURN(0);
-}
-
-void spider_db_hs_string_ref_buffer::clear()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::clear");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_conds.elements = 0;
- DBUG_VOID_RETURN;
-}
-
-int spider_db_hs_string_ref_buffer::push_back(
- SPIDER_HS_STRING_REF &cond
-) {
- uint old_elements = hs_conds.max_element;
- DBUG_ENTER("spider_db_hs_string_ref_buffer::push_back");
- DBUG_PRINT("info",("spider this=%p", this));
- if (insert_dynamic(&hs_conds, (uchar *) &cond))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (hs_conds.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- hs_conds,
- (hs_conds.max_element - old_elements) * hs_conds.size_of_element);
- }
- DBUG_RETURN(0);
-}
-
-SPIDER_HS_STRING_REF *spider_db_hs_string_ref_buffer::ptr()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::ptr");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((SPIDER_HS_STRING_REF *) hs_conds.buffer);
-}
-
-uint spider_db_hs_string_ref_buffer::size()
-{
- DBUG_ENTER("spider_db_hs_string_ref_buffer::size");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(hs_conds.elements);
-}
-#endif
-
-spider_db_hs_str_buffer::spider_db_hs_str_buffer() : hs_da_init(FALSE)
-{
- DBUG_ENTER("spider_db_hs_str_buffer::spider_db_hs_str_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_hs_str_buffer::~spider_db_hs_str_buffer()
-{
- DBUG_ENTER("spider_db_hs_str_buffer::~spider_db_hs_str_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- if (hs_da_init)
- {
- spider_free_mem_calc(spider_current_trx,
- hs_conds_id, hs_conds.max_element * hs_conds.size_of_element);
- delete_dynamic(&hs_conds);
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_hs_str_buffer::init()
-{
- DBUG_ENTER("spider_db_hs_str_buffer::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!hs_da_init)
- {
- SPD_INIT_DYNAMIC_ARRAY2(&hs_conds, sizeof(spider_string *),
- NULL, 16, 16, MYF(MY_WME));
- spider_alloc_calc_mem_init(hs_conds, 160);
- spider_alloc_calc_mem(spider_current_trx,
- hs_conds, hs_conds.max_element * hs_conds.size_of_element);
- hs_da_init = TRUE;
- }
- DBUG_RETURN(0);
-}
-
-void spider_db_hs_str_buffer::clear()
-{
- uint i;
- spider_string *element;
- DBUG_ENTER("spider_db_hs_str_buffer::clear");
- DBUG_PRINT("info",("spider this=%p", this));
- for (i = 0; i < hs_conds.elements; i++)
- {
- get_dynamic(&hs_conds, (uchar *) &element, i);
- element->free();
- spider_free(spider_current_trx, element, MYF(0));
- }
- hs_conds.elements = 0;
- DBUG_VOID_RETURN;
-}
-
-spider_string *spider_db_hs_str_buffer::add(
- uint *strs_pos,
- const char *str,
- uint str_len
-) {
- spider_string *element;
- DBUG_ENTER("spider_db_hs_str_buffer::add");
- DBUG_PRINT("info",("spider this=%p", this));
- if (hs_conds.elements <= *strs_pos + 1)
- {
- if (!(element = (spider_string *) spider_malloc(spider_current_trx, 8,
- sizeof(spider_string), MYF(MY_WME | MY_ZEROFILL))))
- DBUG_RETURN(NULL);
- element->init_calc_mem(98);
- element->set_charset(&my_charset_bin);
- if ((element->reserve(str_len + 1)))
- {
- spider_free(spider_current_trx, element, MYF(0));
- DBUG_RETURN(NULL);
- }
- element->q_append(str, str_len);
- uint old_elements = hs_conds.max_element;
- if (insert_dynamic(&hs_conds, (uchar *) &element))
- {
- element->free();
- spider_free(spider_current_trx, element, MYF(0));
- DBUG_RETURN(NULL);
- }
- if (hs_conds.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- hs_conds,
- (hs_conds.max_element - old_elements) *
- hs_conds.size_of_element);
- }
- } else {
- element = ((spider_string **) hs_conds.buffer)[*strs_pos];
- element->length(0);
- if ((element->reserve(str_len + 1)))
- DBUG_RETURN(NULL);
- element->q_append(str, str_len);
- }
- (*strs_pos)++;
- DBUG_RETURN(element);
-}
-
-spider_db_handlersocket_row::spider_db_handlersocket_row() :
- spider_db_row(spider_dbton_handlersocket.dbton_id),
- hs_row(NULL), field_count(0), cloned(FALSE)
-{
- DBUG_ENTER("spider_db_handlersocket_row::spider_db_handlersocket_row");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_handlersocket_row::~spider_db_handlersocket_row()
-{
- DBUG_ENTER("spider_db_handlersocket_row::~spider_db_handlersocket_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (cloned)
- {
- spider_free(spider_current_trx, hs_row_first, MYF(0));
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket_row::store_to_field(
- Field *field,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_handlersocket_row::store_to_field");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!hs_row->begin())
- {
- DBUG_PRINT("info", ("spider field is null"));
- field->set_null();
- field->reset();
- } else {
-#ifndef DBUG_OFF
- char buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(buf, MAX_FIELD_WIDTH, field->charset());
- tmp_str.init_calc_mem(119);
- tmp_str.length(0);
- tmp_str.append(hs_row->begin(), hs_row->size(), &my_charset_bin);
- DBUG_PRINT("info", ("spider val=%s", tmp_str.c_ptr_safe()));
-#endif
- field->set_notnull();
- if (field->flags & BLOB_FLAG)
- {
- DBUG_PRINT("info", ("spider blob field"));
- ((Field_blob *)field)->set_ptr(
- hs_row->size(), (uchar *) hs_row->begin());
- } else
- field->store(hs_row->begin(), hs_row->size(), &my_charset_bin);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_row::append_to_str(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket_row::append_to_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(hs_row->size()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(hs_row->begin(), hs_row->size());
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_row::append_escaped_to_str(
- spider_string *str,
- uint dbton_id
-) {
- DBUG_ENTER("spider_db_handlersocket_row::append_escaped_to_str");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_string tmp_str(hs_row->begin(), hs_row->size() + 1, &my_charset_bin);
- tmp_str.init_calc_mem(172);
- tmp_str.length(hs_row->size());
- if (str->reserve(hs_row->size() * 2 + 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- spider_dbton[dbton_id].db_util->append_escaped_util(str, tmp_str.get_str());
- str->mem_calc();
- DBUG_RETURN(0);
-}
-
-void spider_db_handlersocket_row::first()
-{
- DBUG_ENTER("spider_db_handlersocket_row::first");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_row = hs_row_first;
- DBUG_VOID_RETURN;
-}
-
-void spider_db_handlersocket_row::next()
-{
- DBUG_ENTER("spider_db_handlersocket_row::next");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_row++;
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_handlersocket_row::is_null()
-{
- DBUG_ENTER("spider_db_handlersocket_row::is_null");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(!hs_row->begin());
-}
-
-int spider_db_handlersocket_row::val_int()
-{
- DBUG_ENTER("spider_db_handlersocket_row::val_int");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(atoi(hs_row->begin()));
-}
-
-double spider_db_handlersocket_row::val_real()
-{
- DBUG_ENTER("spider_db_handlersocket_row::val_real");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(hs_row->begin() ? my_atof(hs_row->begin()) : 0.0);
-}
-
-my_decimal *spider_db_handlersocket_row::val_decimal(
- my_decimal *decimal_value,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_handlersocket_row::val_decimal");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!hs_row->begin())
- DBUG_RETURN(NULL);
-
-#ifdef SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
- decimal_operation_results(str2my_decimal(0, hs_row->begin(), hs_row->size(),
- access_charset, decimal_value), "", "");
-#else
- decimal_operation_results(str2my_decimal(0, hs_row->begin(), hs_row->size(),
- access_charset, decimal_value));
-#endif
-
- DBUG_RETURN(decimal_value);
-}
-
-SPIDER_DB_ROW *spider_db_handlersocket_row::clone()
-{
- spider_db_handlersocket_row *clone_row;
- char *tmp_char;
- uint row_size, i;
- DBUG_ENTER("spider_db_handlersocket_row::clone");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(clone_row = new spider_db_handlersocket_row()))
- {
- DBUG_RETURN(NULL);
- }
- row_size = 0;
- for (i = 0; i < field_count; i++)
- {
- row_size += hs_row_first[i].size();
- }
- if (!spider_bulk_malloc(spider_current_trx, 169, MYF(MY_WME),
- &clone_row->hs_row, sizeof(SPIDER_HS_STRING_REF) * field_count,
- &tmp_char, row_size,
- NullS)
- ) {
- delete clone_row;
- DBUG_RETURN(NULL);
- }
- for (i = 0; i < field_count; i++)
- {
- memcpy(tmp_char, hs_row_first[i].begin(), hs_row_first[i].size());
- clone_row->hs_row[i].set(tmp_char, hs_row_first[i].size());
- tmp_char += hs_row_first[i].size();
- }
- clone_row->hs_row_first = clone_row->hs_row;
- clone_row->cloned = TRUE;;
- DBUG_RETURN(NULL);
-}
-
-int spider_db_handlersocket_row::store_to_tmp_table(
- TABLE *tmp_table,
- spider_string *str
-) {
- uint i;
- SPIDER_HS_STRING_REF *tmp_hs_row = hs_row;
- DBUG_ENTER("spider_db_handlersocket_row::store_to_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- for (i = 0; i < field_count; i++)
- {
- if (tmp_hs_row->begin())
- {
- if (str->reserve(tmp_hs_row->size()))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(tmp_hs_row->begin(), tmp_hs_row->size());
- }
- tmp_hs_row++;
- }
- tmp_table->field[0]->set_notnull();
- tmp_table->field[0]->store(
- (const char *) hs_row,
- sizeof(SPIDER_HS_STRING_REF) * field_count, &my_charset_bin);
- tmp_table->field[1]->set_notnull();
- tmp_table->field[1]->store(
- str->ptr(), str->length(), &my_charset_bin);
- tmp_table->field[2]->set_null();
- DBUG_RETURN(tmp_table->file->ha_write_row(tmp_table->record[0]));
-}
-
-
-spider_db_handlersocket_result_buffer::spider_db_handlersocket_result_buffer(
-) : spider_db_result_buffer()
-{
- DBUG_ENTER("spider_db_handlersocket_result_buffer::spider_db_handlersocket_result_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_handlersocket_result_buffer::~spider_db_handlersocket_result_buffer()
-{
- DBUG_ENTER(
- "spider_db_handlersocket_result_buffer::~spider_db_handlersocket_result_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-void spider_db_handlersocket_result_buffer::clear()
-{
- DBUG_ENTER("spider_db_handlersocket_result_buffer::clear");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_result.readbuf.clear();
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_handlersocket_result_buffer::check_size(
- longlong size
-) {
- DBUG_ENTER("spider_db_handlersocket_result_buffer::check_size");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((uint) hs_result.readbuf.real_size() > size)
- {
- hs_result.readbuf.real_free();
- DBUG_RETURN(TRUE);
- }
- DBUG_RETURN(FALSE);
-}
-
-spider_db_handlersocket_result::spider_db_handlersocket_result(
-) : spider_db_result(spider_dbton_handlersocket.dbton_id)
-{
- DBUG_ENTER("spider_db_handlersocket_result::spider_db_handlersocket_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_handlersocket_result::~spider_db_handlersocket_result()
-{
- DBUG_ENTER(
- "spider_db_handlersocket_result::~spider_db_handlersocket_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_handlersocket_result::has_result()
-{
- DBUG_ENTER("spider_db_handlersocket_result::has_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(((*hs_conn_p)->get_response_end_offset() > 0));
-}
-
-void spider_db_handlersocket_result::free_result()
-{
- DBUG_ENTER("spider_db_handlersocket_result::free_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if ((*hs_conn_p)->get_response_end_offset() > 0)
- {
- (*hs_conn_p)->response_buf_remove();
- if ((*hs_conn_p)->get_error_code())
- {
- DBUG_PRINT("info",("spider hs %d %s",
- (*hs_conn_p)->get_error_code(),
- (*hs_conn_p)->get_error().ptr()));
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- }
- DBUG_VOID_RETURN;
-}
-
-SPIDER_DB_ROW *spider_db_handlersocket_result::current_row()
-{
- DBUG_ENTER("spider_db_handlersocket_result::current_row");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((SPIDER_DB_ROW *) row.clone());
-}
-
-SPIDER_DB_ROW *spider_db_handlersocket_result::fetch_row()
-{
- DBUG_ENTER("spider_db_handlersocket_result::fetch_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(row.hs_row = (SPIDER_HS_STRING_REF *)
- (*hs_conn_p)->get_next_row()))
- {
- store_error_num = HA_ERR_END_OF_FILE;
- DBUG_RETURN(NULL);
- }
- row.field_count = field_count;
- row.hs_row_first = row.hs_row;
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-SPIDER_DB_ROW *spider_db_handlersocket_result::fetch_row_from_result_buffer(
- spider_db_result_buffer *spider_res_buf
-) {
- spider_db_handlersocket_result_buffer *hs_res_buf;
- DBUG_ENTER("spider_db_handlersocket_result::fetch_row_from_result_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_res_buf = (spider_db_handlersocket_result_buffer *) spider_res_buf;
- if (!(row.hs_row = (SPIDER_HS_STRING_REF *)
- (*hs_conn_p)->get_next_row_from_result(hs_res_buf->hs_result)))
- {
- store_error_num = HA_ERR_END_OF_FILE;
- DBUG_RETURN(NULL);
- }
- row.field_count = field_count;
- row.hs_row_first = row.hs_row;
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-SPIDER_DB_ROW *spider_db_handlersocket_result::fetch_row_from_tmp_table(
- TABLE *tmp_table
-) {
- uint i;
- spider_string tmp_str1, tmp_str2;
- const char *row_ptr;
- SPIDER_HS_STRING_REF *tmp_hs_row;
- uint field_count;
- DBUG_ENTER("spider_db_handlersocket_result::fetch_row_from_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_str1.init_calc_mem(171);
- tmp_str2.init_calc_mem(173);
- tmp_table->field[0]->val_str(tmp_str1.get_str());
- tmp_table->field[1]->val_str(tmp_str2.get_str());
- tmp_str1.mem_calc();
- tmp_str2.mem_calc();
- row_ptr = tmp_str2.ptr();
- tmp_hs_row = (SPIDER_HS_STRING_REF *) tmp_str1.ptr();
- field_count = tmp_str1.length() / sizeof(SPIDER_HS_STRING_REF);
- row.hs_row = tmp_hs_row;
- row.field_count = field_count;
- row.hs_row_first = row.hs_row;
- for (i = 0; i < field_count; i++)
- {
- if (tmp_hs_row->begin())
- {
- uint length = tmp_hs_row->size();
- tmp_hs_row->set(row_ptr, length);
- row_ptr += length;
- }
- tmp_hs_row++;
- }
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-int spider_db_handlersocket_result::fetch_table_status(
- int mode,
- ha_rows &records,
- ulong &mean_rec_length,
- ulonglong &data_file_length,
- ulonglong &max_data_file_length,
- ulonglong &index_file_length,
- ulonglong &auto_increment_value,
- time_t &create_time,
- time_t &update_time,
- time_t &check_time
-) {
- DBUG_ENTER("spider_db_handlersocket_result::fetch_table_status");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_result::fetch_table_records(
- int mode,
- ha_rows &records
-) {
- DBUG_ENTER("spider_db_handlersocket_result::fetch_table_records");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_result::fetch_table_cardinality(
- int mode,
- TABLE *table,
- longlong *cardinality,
- uchar *cardinality_upd,
- int bitmap_size
-) {
- DBUG_ENTER("spider_db_handlersocket_result::fetch_table_cardinality");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_result::fetch_table_mon_status(
- int &status
-) {
- DBUG_ENTER("spider_db_handlersocket_result::fetch_table_mon_status");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-longlong spider_db_handlersocket_result::num_rows()
-{
- DBUG_ENTER("spider_db_handlersocket_result::num_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((longlong) 0);
-}
-
-uint spider_db_handlersocket_result::num_fields()
-{
- DBUG_ENTER("spider_db_handlersocket_result::num_fields");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(field_count);
-}
-
-void spider_db_handlersocket_result::move_to_pos(
- longlong pos
-) {
- DBUG_ENTER("spider_db_handlersocket_result::move_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket_result::get_errno()
-{
- DBUG_ENTER("spider_db_handlersocket_result::get_errno");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider store_error_num=%d", store_error_num));
- DBUG_RETURN(store_error_num);
-}
-
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
-int spider_db_handlersocket_result::fetch_columns_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_handlersocket_result::fetch_columns_for_discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(HA_ERR_WRONG_COMMAND);
-}
-
-int spider_db_handlersocket_result::fetch_index_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_handlersocket_result::fetch_index_for_discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(HA_ERR_WRONG_COMMAND);
-}
-#endif
-
-spider_db_handlersocket::spider_db_handlersocket(
- SPIDER_CONN *conn
-) : spider_db_conn(conn),
- handler_open_array_inited(FALSE),
- request_key_req_first(NULL),
- request_key_req_last(NULL),
- request_key_snd_first(NULL),
- request_key_snd_last(NULL),
- request_key_reuse_first(NULL),
- request_key_reuse_last(NULL)
-{
- DBUG_ENTER("spider_db_handlersocket::spider_db_handlersocket");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifndef HANDLERSOCKET_MYSQL_UTIL
-#else
- hs_conn = NULL;
-#endif
- DBUG_VOID_RETURN;
-}
-
-spider_db_handlersocket::~spider_db_handlersocket()
-{
- st_spider_db_request_key *tmp_request_key;
- DBUG_ENTER("spider_db_handlersocket::~spider_db_handlersocket");
- DBUG_PRINT("info",("spider this=%p", this));
- if (handler_open_array_inited)
- {
- reset_opened_handler();
- spider_free_mem_calc(spider_current_trx,
- handler_open_array_id,
- handler_open_array.max_element *
- handler_open_array.size_of_element);
- delete_dynamic(&handler_open_array);
- }
- while (request_key_req_first)
- {
- tmp_request_key = request_key_req_first->next;
- spider_free(spider_current_trx, request_key_req_first, MYF(0));
- request_key_req_first = tmp_request_key;
- }
- while (request_key_snd_first)
- {
- tmp_request_key = request_key_snd_first->next;
- spider_free(spider_current_trx, request_key_snd_first, MYF(0));
- request_key_snd_first = tmp_request_key;
- }
- while (request_key_reuse_first)
- {
- tmp_request_key = request_key_reuse_first->next;
- spider_free(spider_current_trx, request_key_reuse_first, MYF(0));
- request_key_reuse_first = tmp_request_key;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket::init()
-{
- DBUG_ENTER("spider_db_handlersocket::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (
- SPD_INIT_DYNAMIC_ARRAY2(&handler_open_array,
- sizeof(SPIDER_LINK_FOR_HASH *), NULL, 16, 16, MYF(MY_WME))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_alloc_calc_mem_init(handler_open_array, 79);
- spider_alloc_calc_mem(spider_current_trx,
- handler_open_array,
- handler_open_array.max_element *
- handler_open_array.size_of_element);
- handler_open_array_inited = TRUE;
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::is_connected()
-{
- DBUG_ENTER("spider_db_handlersocket::is_connected");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- DBUG_RETURN(hs_conn.operator->());
-#else
- DBUG_RETURN(hs_conn);
-#endif
-}
-
-void spider_db_handlersocket::bg_connect()
-{
- DBUG_ENTER("spider_db_handlersocket::bg_connect");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket::connect(
- char *tgt_host,
- char *tgt_username,
- char *tgt_password,
- long tgt_port,
- char *tgt_socket,
- char *server_name,
- int connect_retry_count,
- longlong connect_retry_interval
-) {
- DBUG_ENTER("spider_db_handlersocket::connect");
- DBUG_PRINT("info",("spider this=%p", this));
- SPIDER_HS_SOCKARGS sockargs;
- sockargs.timeout = conn->connect_timeout;
- sockargs.recv_timeout = conn->net_read_timeout;
- sockargs.send_timeout = conn->net_write_timeout;
- if (conn->hs_sock)
- {
- sockargs.family = AF_UNIX;
- sockargs.set_unix_domain(conn->hs_sock);
- } else {
- char port_str[6];
- my_sprintf(port_str, (port_str, "%05ld", conn->hs_port));
- if (sockargs.resolve(conn->tgt_host, port_str) != 0)
- {
- my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
- conn->tgt_host);
- DBUG_RETURN(ER_CONNECT_TO_FOREIGN_DATA_SOURCE);
- }
- }
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- if (!(hs_conn.operator->()))
-#else
- if (!(hs_conn))
-#endif
- {
- hs_conn = SPIDER_HS_CONN_CREATE(sockargs);
- } else {
- hs_conn->reconnect();
- spider_db_hs_request_buf_reset(conn);
- }
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- if (!(hs_conn.operator->()))
-#else
- if (!(hs_conn))
-#endif
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- while (hs_conn->get_error_code())
- {
- if (!connect_retry_count)
- {
- my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
- conn->tgt_host);
- DBUG_RETURN(ER_CONNECT_TO_FOREIGN_DATA_SOURCE);
- }
- connect_retry_count--;
- my_sleep((ulong) connect_retry_interval);
- hs_conn->reconnect();
- }
- reset_request_key_req();
- reset_request_key_snd();
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::ping()
-{
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::ping");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if ((*hs_conn_p)->reconnect())
- {
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- DBUG_RETURN(ER_SPIDER_HS_NUM);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
-
- reset_request_key_req();
- reset_request_key_snd();
- conn->opened_handlers = 0;
- conn->db_conn->reset_opened_handler();
- ++conn->connection_id;
- DBUG_RETURN(0);
-}
-
-void spider_db_handlersocket::bg_disconnect()
-{
- DBUG_ENTER("spider_db_handlersocket::bg_disconnect");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-void spider_db_handlersocket::disconnect()
-{
- DBUG_ENTER("spider_db_handlersocket::disconnect");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- if (hs_conn.operator->())
-#else
- DBUG_PRINT("info",("spider hs_conn=%p", hs_conn));
- if (hs_conn)
-#endif
- {
- hs_conn->close();
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- SPIDER_HS_CONN tmp_hs_conn;
- tmp_hs_conn = hs_conn;
-#else
- delete hs_conn;
- hs_conn = NULL;
-#endif
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket::set_net_timeout()
-{
- DBUG_ENTER("spider_db_handlersocket::set_net_timeout");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(hs_conn->set_timeout(
- conn->net_write_timeout,
- conn->net_read_timeout
- ));
-}
-
-int spider_db_handlersocket::exec_query(
- const char *query,
- uint length,
- int quick_mode
-) {
- DBUG_ENTER("spider_db_handlersocket::query");
- DBUG_PRINT("info",("spider this=%p", this));
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- DBUG_PRINT("info", ("spider hs_conn %p", hs_conn.operator->()));
-#else
- DBUG_PRINT("info", ("spider hs_conn %p", hs_conn));
-#endif
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (spider_param_general_log())
- {
- const char *tgt_str = conn->hs_sock ? conn->hs_sock : conn->tgt_host;
- uint32 tgt_len = strlen(tgt_str);
- spider_string tmp_query_str((*hs_conn_p)->get_writebuf_size() +
- conn->tgt_wrapper_length +
- tgt_len + (SPIDER_SQL_SPACE_LEN * 2));
- tmp_query_str.init_calc_mem(231);
- tmp_query_str.length(0);
- tmp_query_str.q_append(conn->tgt_wrapper, conn->tgt_wrapper_length);
- tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- tmp_query_str.q_append(tgt_str, tgt_len);
- tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- tmp_query_str.q_append((*hs_conn_p)->get_writebuf_begin(),
- (*hs_conn_p)->get_writebuf_size());
- general_log_write(current_thd, COM_QUERY, tmp_query_str.ptr(),
- tmp_query_str.length());
- }
- if ((*hs_conn_p)->request_send() < 0)
- {
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- DBUG_RETURN(ER_SPIDER_HS_NUM);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- move_request_key_to_snd();
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::get_errno()
-{
- DBUG_ENTER("spider_db_handlersocket::get_errno");
- DBUG_PRINT("info",("spider this=%p", this));
- stored_error = hs_conn->get_error_code();
- DBUG_PRINT("info",("spider stored_error=%d", stored_error));
- DBUG_RETURN(stored_error);
-}
-
-const char *spider_db_handlersocket::get_error()
-{
- const char *error_ptr;
- DBUG_ENTER("spider_db_handlersocket::get_error");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- error_ptr = hs_conn->get_error().c_str();
-#else
- error_ptr = hs_conn->get_error().c_ptr();
-#endif
- DBUG_PRINT("info",("spider error=%s", error_ptr));
- DBUG_RETURN(error_ptr);
-}
-
-bool spider_db_handlersocket::is_server_gone_error(
- int error_num
-) {
- bool server_gone;
- DBUG_ENTER("spider_db_handlersocket::is_server_gone_error");
- DBUG_PRINT("info",("spider this=%p", this));
- server_gone = (hs_conn->get_error_code() < 0);
- DBUG_PRINT("info",("spider server_gone=%s", server_gone ? "TRUE" : "FALSE"));
- DBUG_RETURN(server_gone);
-}
-
-bool spider_db_handlersocket::is_dup_entry_error(
- int error_num
-) {
- bool dup_entry;
- DBUG_ENTER("spider_db_handlersocket::is_dup_entry_error");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifndef HANDLERSOCKET_MYSQL_UTIL
- const char *c_str = hs_conn->get_error().c_str();
-#else
- const char *c_str = hs_conn->get_error().c_ptr_safe();
-#endif
- dup_entry =
- (
- c_str[0] == '1' &&
- c_str[1] == '2' &&
- c_str[2] == '1' &&
- c_str[3] == '\0'
- );
- DBUG_PRINT("info",("spider dup_entry=%s", dup_entry ? "TRUE" : "FALSE"));
- DBUG_RETURN(dup_entry);
-}
-
-bool spider_db_handlersocket::is_xa_nota_error(
- int error_num
-) {
- bool xa_nota;
- DBUG_ENTER("spider_db_handlersocket::is_xa_nota_error");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- xa_nota = (stored_error == ER_XAER_NOTA);
- DBUG_PRINT("info",("spider xa_nota=%s", xa_nota ? "TRUE" : "FALSE"));
- DBUG_RETURN(xa_nota);
-}
-
-spider_db_result *spider_db_handlersocket::store_result(
- spider_db_result_buffer **spider_res_buf,
- st_spider_db_request_key *request_key,
- int *error_num
-) {
- int internal_error;
- spider_db_handlersocket_result *result;
- spider_db_handlersocket_result_buffer *hs_res_buf;
- DBUG_ENTER("spider_db_handlersocket::store_result");
- DBUG_PRINT("info",("spider this=%p", this));
- if (*spider_res_buf)
- {
- hs_res_buf = (spider_db_handlersocket_result_buffer *) *spider_res_buf;
- } else {
- if (!(hs_res_buf = new spider_db_handlersocket_result_buffer()))
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- DBUG_RETURN(NULL);
- }
- *spider_res_buf = (spider_db_result_buffer *) hs_res_buf;
- }
- hs_res_buf->clear();
- if (!(result = new spider_db_handlersocket_result()))
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- DBUG_RETURN(NULL);
- }
- *error_num = 0;
- result->hs_conn_p = &hs_conn;
- size_t num_fields;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- if (request_key)
- {
- int tmp_res, tmp_err = (*hs_conn_p)->get_error_code();
- while ((tmp_res = check_request_key(request_key)) == 1)
- {
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if ((internal_error = (*hs_conn_p)->response_recv(num_fields)))
- {
- if (!tmp_err && internal_error > 0)
- {
- (*hs_conn_p)->clear_error();
- } else {
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
-#ifndef DBUG_OFF
- if ((*hs_conn_p)->get_response_end_offset() > 0 &&
- (*hs_conn_p)->get_readbuf_begin())
- {
- char tmp_buf[MAX_FIELD_WIDTH];
- String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
- tmp_str.length(0);
- tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
- (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
- DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
- (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
- }
-#endif
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (internal_error > 0)
- {
- (*hs_conn_p)->response_buf_remove();
- if ((*hs_conn_p)->get_error_code())
- {
- DBUG_PRINT("info",("spider hs %d %s",
- (*hs_conn_p)->get_error_code(),
- (*hs_conn_p)->get_error().ptr()));
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->clear_error();
- }
- delete result;
- DBUG_RETURN(NULL);
- }
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->response_buf_remove();
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- }
- if (tmp_res == -1)
- {
- DBUG_PRINT("info",("spider ER_SPIDER_REQUEST_KEY_NUM"));
- *error_num = ER_SPIDER_REQUEST_KEY_NUM;
- DBUG_RETURN(NULL);
- }
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (
- (internal_error = (*hs_conn_p)->response_recv(num_fields)) ||
- (*error_num = (*hs_conn_p)->get_result(hs_res_buf->hs_result))
- ) {
- if (*error_num)
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- }
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
-#ifndef DBUG_OFF
- if ((*hs_conn_p)->get_response_end_offset() > 0 &&
- (*hs_conn_p)->get_readbuf_begin())
- {
- char tmp_buf[MAX_FIELD_WIDTH];
- String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
- tmp_str.length(0);
- tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
- (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
- DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
- (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
- }
-#endif
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (internal_error > 0)
- {
- (*hs_conn_p)->response_buf_remove();
- if ((*hs_conn_p)->get_error_code())
- {
- DBUG_PRINT("info",("spider hs %d %s",
- (*hs_conn_p)->get_error_code(),
- (*hs_conn_p)->get_error().ptr()));
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- }
- delete result;
- DBUG_RETURN(NULL);
- }
-#ifndef DBUG_OFF
- if ((*hs_conn_p)->get_response_end_offset() > 0 &&
- (*hs_conn_p)->get_readbuf_begin())
- {
- char tmp_buf[MAX_FIELD_WIDTH];
- String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
- tmp_str.length(0);
- tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
- (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
- DBUG_PRINT("info",("spider hs readbuf02 size=%zu str=%s",
- (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
- }
-#endif
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->response_buf_remove();
- if ((*hs_conn_p)->get_error_code())
- {
- DBUG_PRINT("info",("spider hs %d %s",
- (*hs_conn_p)->get_error_code(),
- (*hs_conn_p)->get_error().ptr()));
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- field_count = (uint) num_fields;
- result->field_count = field_count;
- DBUG_RETURN(result);
-}
-
-spider_db_result *spider_db_handlersocket::use_result(
- st_spider_db_request_key *request_key,
- int *error_num
-) {
- int internal_error;
- spider_db_handlersocket_result *result;
- DBUG_ENTER("spider_db_handlersocket::use_result");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(result = new spider_db_handlersocket_result()))
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- DBUG_RETURN(NULL);
- }
- *error_num = 0;
- result->hs_conn_p = &hs_conn;
- size_t num_fields;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- if (request_key)
- {
- int tmp_res, tmp_err = (*hs_conn_p)->get_error_code();
- while ((tmp_res = check_request_key(request_key)) == 1)
- {
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if ((internal_error = (*hs_conn_p)->response_recv(num_fields)))
- {
- if (!tmp_err && internal_error > 0)
- {
- (*hs_conn_p)->clear_error();
- } else {
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
-#ifndef DBUG_OFF
- if ((*hs_conn_p)->get_response_end_offset() > 0 &&
- (*hs_conn_p)->get_readbuf_begin())
- {
- char tmp_buf[MAX_FIELD_WIDTH];
- String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
- tmp_str.length(0);
- tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
- (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
- DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
- (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
- }
-#endif
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (internal_error > 0)
- {
- (*hs_conn_p)->response_buf_remove();
- if ((*hs_conn_p)->get_error_code())
- {
- DBUG_PRINT("info",("spider hs %d %s",
- (*hs_conn_p)->get_error_code(),
- (*hs_conn_p)->get_error().ptr()));
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->clear_error();
- }
- delete result;
- DBUG_RETURN(NULL);
- }
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->response_buf_remove();
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- }
- if (tmp_res == -1)
- {
- DBUG_PRINT("info",("spider ER_SPIDER_REQUEST_KEY_NUM"));
- *error_num = ER_SPIDER_REQUEST_KEY_NUM;
- DBUG_RETURN(NULL);
- }
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (
- (internal_error = (*hs_conn_p)->response_recv(num_fields))
- ) {
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
-#ifndef DBUG_OFF
- if ((*hs_conn_p)->get_response_end_offset() > 0 &&
- (*hs_conn_p)->get_readbuf_begin())
- {
- char tmp_buf[MAX_FIELD_WIDTH];
- String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
- tmp_str.length(0);
- tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
- (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
- DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
- (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
- }
-#endif
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (internal_error > 0)
- {
- (*hs_conn_p)->response_buf_remove();
- if ((*hs_conn_p)->get_error_code())
- {
- DBUG_PRINT("info",("spider hs %d %s",
- (*hs_conn_p)->get_error_code(),
- (*hs_conn_p)->get_error().ptr()));
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- }
- delete result;
- DBUG_RETURN(NULL);
- }
-#ifndef DBUG_OFF
- if ((*hs_conn_p)->get_response_end_offset() > 0 &&
- (*hs_conn_p)->get_readbuf_begin())
- {
- char tmp_buf[MAX_FIELD_WIDTH];
- String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
- tmp_str.length(0);
- tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
- (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
- DBUG_PRINT("info",("spider hs readbuf02 size=%zu str=%s",
- (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
- }
-#endif
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- field_count = (uint) num_fields;
- result->field_count = field_count;
- DBUG_RETURN(result);
-}
-
-int spider_db_handlersocket::next_result()
-{
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::next_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- if ((*hs_conn_p)->stable_point())
- DBUG_RETURN(-1);
- DBUG_RETURN(0);
-}
-
-uint spider_db_handlersocket::affected_rows()
-{
- int error_num;
- const SPIDER_HS_STRING_REF *hs_row;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::affected_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- if (
- field_count != 1 ||
- !(hs_row = (*hs_conn_p)->get_next_row()) ||
- !hs_row->begin()
- ) {
- DBUG_RETURN(0);
- }
- DBUG_RETURN((uint) my_strtoll10(hs_row->begin(), (char**) NULL, &error_num));
-}
-
-ulonglong spider_db_handlersocket::last_insert_id()
-{
- DBUG_ENTER("spider_db_handlersocket::last_insert_id");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::set_character_set(
- const char *csname
-) {
- DBUG_ENTER("spider_db_handlersocket::set_character_set");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::select_db(
- const char *dbname
-) {
- DBUG_ENTER("spider_db_handlersocket::select_db");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::consistent_snapshot(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::consistent_snapshot");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::trx_start_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_handlersocket::trx_start_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_handlersocket::start_transaction(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::start_transaction");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::commit(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::commit");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::rollback(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::rollback");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::xa_start_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_handlersocket::xa_start_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_handlersocket::xa_start(
- XID *xid,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::xa_start");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::xa_end(
- XID *xid,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::xa_end");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::xa_prepare(
- XID *xid,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::xa_prepare");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::xa_commit(
- XID *xid,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::xa_commit");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::xa_rollback(
- XID *xid,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::xa_rollback");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::set_trx_isolation_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_handlersocket::set_trx_isolation_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_handlersocket::set_trx_isolation(
- int trx_isolation,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::set_trx_isolation");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::set_autocommit_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_handlersocket::set_autocommit_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_handlersocket::set_autocommit(
- bool autocommit,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::set_autocommit");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::set_sql_log_off_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_handlersocket::set_sql_log_off_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_handlersocket::set_sql_log_off(
- bool sql_log_off,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::set_sql_log_off");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::set_time_zone_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_handlersocket::set_time_zone_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_handlersocket::set_time_zone(
- Time_zone *time_zone,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_handlersocket::set_time_zone");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::append_sql(
- char *sql,
- ulong sql_length,
- st_spider_db_request_key *request_key
-) {
- int error_num;
- size_t req_num;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::append_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = append_request_key(request_key)))
- DBUG_RETURN(error_num);
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- if (!(req_num = (*hs_conn_p)->request_buf_append(sql, sql + sql_length)))
- {
- DBUG_PRINT("info",("spider hs %d %s",
- (*hs_conn_p)->get_error_code(),
- (*hs_conn_p)->get_error().ptr()));
- (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
- DBUG_RETURN((*hs_conn_p)->get_error_code());
- }
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- while (req_num > 1)
- {
- if ((error_num = append_request_key(request_key)))
- DBUG_RETURN(error_num);
- --req_num;
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::append_open_handler(
- uint handler_id,
- const char *db_name,
- const char *table_name,
- const char *index_name,
- const char *sql,
- st_spider_db_request_key *request_key
-) {
- int error_num;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::append_open_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = append_request_key(request_key)))
- DBUG_RETURN(error_num);
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->request_buf_open_index(
- handler_id,
- db_name,
- table_name,
- index_name,
- sql
- );
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::append_select(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
-) {
- int error_num;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::append_select");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = append_request_key(request_key)))
- DBUG_RETURN(error_num);
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->request_buf_exec_generic(
- handler_id,
- SPIDER_HS_STRING_REF(sql->ptr(), sql->length()),
- keys->ptr(), (size_t) keys->size(),
- limit, skip,
- SPIDER_HS_STRING_REF(),
- NULL, 0);
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::append_insert(
- uint handler_id,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- st_spider_db_request_key *request_key
-) {
- int error_num;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::append_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = append_request_key(request_key)))
- DBUG_RETURN(error_num);
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->request_buf_exec_generic(
- handler_id,
- SPIDER_HS_STRING_REF(SPIDER_SQL_HS_INSERT_STR, SPIDER_SQL_HS_INSERT_LEN),
- upds->ptr(), (size_t) upds->size(),
- 0, 0,
- SPIDER_HS_STRING_REF(), NULL, 0);
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::append_update(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- int limit,
- int skip,
- bool increment,
- bool decrement,
- st_spider_db_request_key *request_key
-) {
- int error_num;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = append_request_key(request_key)))
- DBUG_RETURN(error_num);
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->request_buf_exec_generic(
- handler_id,
- SPIDER_HS_STRING_REF(sql->ptr(), sql->length()),
- keys->ptr(), (size_t) keys->size(),
- limit, skip,
- increment ?
- SPIDER_HS_STRING_REF(SPIDER_SQL_HS_INCREMENT_STR,
- SPIDER_SQL_HS_INCREMENT_LEN) :
- decrement ?
- SPIDER_HS_STRING_REF(SPIDER_SQL_HS_DECREMENT_STR,
- SPIDER_SQL_HS_DECREMENT_LEN) :
- SPIDER_HS_STRING_REF(SPIDER_SQL_HS_UPDATE_STR,
- SPIDER_SQL_HS_UPDATE_LEN),
- upds->ptr(), (size_t) upds->size()
- );
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::append_delete(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
-) {
- int error_num;
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = append_request_key(request_key)))
- DBUG_RETURN(error_num);
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->request_buf_exec_generic(
- handler_id,
- SPIDER_HS_STRING_REF(sql->ptr(), sql->length()),
- keys->ptr(), (size_t) keys->size(),
- limit, skip,
- SPIDER_HS_STRING_REF(SPIDER_SQL_HS_DELETE_STR, SPIDER_SQL_HS_DELETE_LEN),
- NULL, 0);
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- DBUG_RETURN(0);
-}
-
-void spider_db_handlersocket::reset_request_queue()
-{
- SPIDER_HS_CONN *hs_conn_p = &hs_conn;
- DBUG_ENTER("spider_db_handlersocket::reset_request_queue");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- (*hs_conn_p)->request_reset();
- DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
- (*hs_conn_p)->get_num_req_bufd()));
- DBUG_PRINT("info",("spider hs num_req_sent=%zu",
- (*hs_conn_p)->get_num_req_sent()));
- DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
- (*hs_conn_p)->get_num_req_rcvd()));
- DBUG_PRINT("info",("spider hs response_end_offset=%zu",
- (*hs_conn_p)->get_response_end_offset()));
- reset_request_key_req();
- DBUG_VOID_RETURN;
-}
-
-size_t spider_db_handlersocket::escape_string(
- char *to,
- const char *from,
- size_t from_length
-) {
- DBUG_ENTER("spider_db_handlersocket::escape_string");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- memcpy(to, from, from_length);
- DBUG_RETURN(from_length);
-}
-
-bool spider_db_handlersocket::have_lock_table_list()
-{
- DBUG_ENTER("spider_db_handlersocket::have_lock_table_list");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_handlersocket::append_lock_tables(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket::lock_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket::append_unlock_tables(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket::append_unlock_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-uint spider_db_handlersocket::get_lock_table_hash_count()
-{
- DBUG_ENTER("spider_db_handlersocket::get_lock_table_hash_count");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-void spider_db_handlersocket::reset_lock_table_hash()
-{
- DBUG_ENTER("spider_db_handlersocket::reset_lock_table_hash");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-uint spider_db_handlersocket::get_opened_handler_count()
-{
- DBUG_ENTER("spider_db_handlersocket::get_opened_handler_count");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(handler_open_array.elements);
-}
-
-void spider_db_handlersocket::reset_opened_handler()
-{
- ha_spider *tmp_spider;
- int tmp_link_idx;
- SPIDER_LINK_FOR_HASH **tmp_link_for_hash;
- DBUG_ENTER("spider_db_handlersocket::reset_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- while ((tmp_link_for_hash =
- (SPIDER_LINK_FOR_HASH **) pop_dynamic(&handler_open_array)))
- {
- tmp_spider = (*tmp_link_for_hash)->spider;
- tmp_link_idx = (*tmp_link_for_hash)->link_idx;
- tmp_spider->clear_handler_opened(tmp_link_idx, conn->conn_kind);
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_db_handlersocket::set_dup_key_idx(
- ha_spider *spider,
- int link_idx
-) {
- DBUG_ENTER("spider_db_handlersocket::set_dup_key_idx");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket::append_request_key(
- st_spider_db_request_key *request_key
-) {
- st_spider_db_request_key *tmp_request_key;
- DBUG_ENTER("spider_db_handlersocket::append_request_key");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider request_key=%p", request_key));
- if (request_key)
- {
- DBUG_PRINT("info",("spider request_key->spider_thread_id=%llu",
- request_key->spider_thread_id));
- DBUG_PRINT("info",("spider request_key->query_id=%llu",
- request_key->query_id));
- DBUG_PRINT("info",("spider request_key->handler=%p",
- request_key->handler));
- DBUG_PRINT("info",("spider request_key->request_id=%llu",
- request_key->request_id));
- if (request_key_reuse_first)
- {
- tmp_request_key = request_key_reuse_first;
- request_key_reuse_first = request_key_reuse_first->next;
- if (!request_key_reuse_first)
- request_key_reuse_last = NULL;
- } else {
- if (!(tmp_request_key = (st_spider_db_request_key *)
- spider_malloc(spider_current_trx, 1, sizeof(st_spider_db_request_key),
- MYF(MY_WME)))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- *tmp_request_key = *request_key;
- tmp_request_key->next = NULL;
- if (request_key_req_last)
- request_key_req_last->next = tmp_request_key;
- else
- request_key_req_first = tmp_request_key;
- request_key_req_last = tmp_request_key;
- }
- DBUG_RETURN(0);
-}
-
-void spider_db_handlersocket::reset_request_key_req()
-{
- DBUG_ENTER("spider_db_handlersocket::reset_request_key_req");
- DBUG_PRINT("info",("spider this=%p", this));
- if (request_key_req_first)
- {
- if (request_key_reuse_last)
- request_key_reuse_last->next = request_key_req_first;
- else
- request_key_reuse_first = request_key_req_first;
- request_key_reuse_last = request_key_req_last;
- request_key_req_first = NULL;
- request_key_req_last = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_db_handlersocket::reset_request_key_snd()
-{
- DBUG_ENTER("spider_db_handlersocket::reset_request_key_snd");
- DBUG_PRINT("info",("spider this=%p", this));
- if (request_key_snd_first)
- {
- if (request_key_reuse_last)
- request_key_reuse_last->next = request_key_snd_first;
- else
- request_key_reuse_first = request_key_snd_first;
- request_key_reuse_last = request_key_snd_last;
- request_key_snd_first = NULL;
- request_key_snd_last = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_db_handlersocket::move_request_key_to_snd()
-{
- DBUG_ENTER("spider_db_handlersocket::move_request_key_to_snd");
- DBUG_PRINT("info",("spider this=%p", this));
- if (request_key_req_first)
- {
- if (request_key_snd_last)
- request_key_snd_last->next = request_key_req_first;
- else
- request_key_snd_first = request_key_req_first;
- request_key_snd_last = request_key_req_last;
- request_key_req_first = NULL;
- request_key_req_last = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket::check_request_key(
- st_spider_db_request_key *request_key
-) {
- st_spider_db_request_key *tmp_request_key;
- DBUG_ENTER("spider_db_handlersocket::check_request_key");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider request_key=%p", request_key));
- DBUG_PRINT("info",("spider request_key_snd_first=%p",
- request_key_snd_first));
- if (!request_key_snd_first)
- {
- DBUG_PRINT("info",("spider -1"));
- DBUG_RETURN(-1);
- }
- tmp_request_key = request_key_snd_first;
- request_key_snd_first = request_key_snd_first->next;
- if (!request_key_snd_first)
- request_key_snd_last = NULL;
- tmp_request_key->next = NULL;
- if (request_key_reuse_last)
- request_key_reuse_last->next = tmp_request_key;
- else
- request_key_reuse_first = tmp_request_key;
- request_key_reuse_last = tmp_request_key;
-
- DBUG_PRINT("info",("spider tmp_request_key->spider_thread_id=%llu",
- tmp_request_key->spider_thread_id));
- DBUG_PRINT("info",("spider request_key->spider_thread_id=%llu",
- request_key->spider_thread_id));
- DBUG_PRINT("info",("spider tmp_request_key->query_id=%llu",
- tmp_request_key->query_id));
- DBUG_PRINT("info",("spider request_key->query_id=%llu",
- request_key->query_id));
- DBUG_PRINT("info",("spider tmp_request_key->handler=%p",
- tmp_request_key->handler));
- DBUG_PRINT("info",("spider request_key->handler=%p",
- request_key->handler));
- DBUG_PRINT("info",("spider tmp_request_key->request_id=%llu",
- tmp_request_key->request_id));
- DBUG_PRINT("info",("spider request_key->request_id=%llu",
- request_key->request_id));
- if (
- tmp_request_key->spider_thread_id != request_key->spider_thread_id ||
- tmp_request_key->query_id != request_key->query_id ||
- tmp_request_key->handler != request_key->handler ||
- tmp_request_key->request_id != request_key->request_id
- ) {
- DBUG_PRINT("info",("spider 1"));
- DBUG_RETURN(1);
- }
- DBUG_PRINT("info",("spider 0"));
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket::cmp_request_key_to_snd(
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_handlersocket::cmp_request_key_to_snd");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider request_key=%p", request_key));
- if (
- !request_key
- ) {
- DBUG_PRINT("info",("spider TRUE"));
- DBUG_RETURN(TRUE);
- }
- DBUG_PRINT("info",("spider request_key_snd_first=%p",
- request_key_snd_first));
- if (
- !request_key_snd_first
- ) {
- DBUG_PRINT("info",("spider FALSE"));
- DBUG_RETURN(FALSE);
- }
- DBUG_PRINT("info",("spider request_key_snd_first->spider_thread_id=%llu",
- request_key_snd_first->spider_thread_id));
- DBUG_PRINT("info",("spider request_key->spider_thread_id=%llu",
- request_key->spider_thread_id));
- DBUG_PRINT("info",("spider request_key_snd_first->query_id=%llu",
- request_key_snd_first->query_id));
- DBUG_PRINT("info",("spider request_key->query_id=%llu",
- request_key->query_id));
- DBUG_PRINT("info",("spider request_key_snd_first->handler=%p",
- request_key_snd_first->handler));
- DBUG_PRINT("info",("spider request_key->handler=%p",
- request_key->handler));
- DBUG_PRINT("info",("spider request_key_snd_first->request_id=%llu",
- request_key_snd_first->request_id));
- DBUG_PRINT("info",("spider request_key->request_id=%llu",
- request_key->request_id));
- if (
- request_key_snd_first->spider_thread_id != request_key->spider_thread_id ||
- request_key_snd_first->query_id != request_key->query_id ||
- request_key_snd_first->handler != request_key->handler ||
- request_key_snd_first->request_id != request_key->request_id
- ) {
- DBUG_PRINT("info",("spider FALSE"));
- DBUG_RETURN(FALSE);
- }
- DBUG_PRINT("info",("spider TRUE"));
- DBUG_RETURN(TRUE);
-}
-
-spider_db_handlersocket_util::spider_db_handlersocket_util() : spider_db_util()
-{
- DBUG_ENTER("spider_db_handlersocket_util::spider_db_handlersocket_util");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_handlersocket_util::~spider_db_handlersocket_util()
-{
- DBUG_ENTER("spider_db_handlersocket_util::~spider_db_handlersocket_util");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-int spider_db_handlersocket_util::append_name(
- spider_string *str,
- const char *name,
- uint name_length
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_name");
- str->q_append(name, name_length);
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_name_with_charset(
- spider_string *str,
- const char *name,
- uint name_length,
- CHARSET_INFO *name_charset
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_name_with_charset");
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2 + name_length * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->append(name, name_length, name_charset);
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-bool spider_db_handlersocket_util::is_name_quote(
- const char head_code
-) {
- DBUG_ENTER("spider_db_handlersocket_util::is_name_quote");
- DBUG_RETURN(head_code == *name_quote_str);
-}
-
-int spider_db_handlersocket_util::append_escaped_name_quote(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_escaped_name_quote");
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_column_value(
- ha_spider *spider,
- spider_string *str,
- Field *field,
- const uchar *new_ptr,
- CHARSET_INFO *access_charset
-) {
- char buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(buf, MAX_FIELD_WIDTH, &my_charset_bin);
- String *ptr;
- uint length;
- DBUG_ENTER("spider_db_handlersocket_util::append_column_value");
- tmp_str.init_calc_mem(180);
-
- if (new_ptr)
- {
- if (
- field->type() == MYSQL_TYPE_BLOB ||
- field->real_type() == MYSQL_TYPE_VARCHAR
- ) {
- length = uint2korr(new_ptr);
- tmp_str.set_quick((char *) new_ptr + HA_KEY_BLOB_LENGTH, length,
- &my_charset_bin);
- ptr = tmp_str.get_str();
- } else if (field->type() == MYSQL_TYPE_GEOMETRY)
- {
-/*
- uint mlength = SIZEOF_STORED_DOUBLE, lcnt;
- uchar *dest = (uchar *) buf;
- const uchar *source;
- for (lcnt = 0; lcnt < 4; lcnt++)
- {
- mlength = SIZEOF_STORED_DOUBLE;
- source = new_ptr + mlength + SIZEOF_STORED_DOUBLE * lcnt;
- while (mlength--)
- *dest++ = *--source;
- }
- tmp_str.length(SIZEOF_STORED_DOUBLE * lcnt);
-*/
- double xmin, xmax, ymin, ymax;
-/*
- float8store(buf,xmin);
- float8store(buf+8,xmax);
- float8store(buf+16,ymin);
- float8store(buf+24,ymax);
- memcpy(&xmin,new_ptr,sizeof(xmin));
- memcpy(&xmax,new_ptr + 8,sizeof(xmax));
- memcpy(&ymin,new_ptr + 16,sizeof(ymin));
- memcpy(&ymax,new_ptr + 24,sizeof(ymax));
- float8get(xmin, buf);
- float8get(xmax, buf + 8);
- float8get(ymin, buf + 16);
- float8get(ymax, buf + 24);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- DBUG_PRINT("info", ("spider geo is %.14g %.14g %.14g %.14g",
- xmin, xmax, ymin, ymax));
-*/
- float8get(xmin, new_ptr);
- float8get(xmax, new_ptr + 8);
- float8get(ymin, new_ptr + 16);
- float8get(ymax, new_ptr + 24);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
-/*
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 4);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 5);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 6);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 7);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 8);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 9);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 10);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 11);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 12);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 13);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 14);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 15);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
-*/
-/*
- tmp_str.set_quick((char *) new_ptr, SIZEOF_STORED_DOUBLE * 4,
- &my_charset_bin);
-*/
- tmp_str.length(0);
- tmp_str.q_append((char *) SPIDER_SQL_LINESTRING_HEAD_STR,
- SPIDER_SQL_LINESTRING_HEAD_LEN);
- tmp_str.q_append((char *) new_ptr, SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 2,
- SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE,
- SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 3,
- SIZEOF_STORED_DOUBLE);
- ptr = tmp_str.get_str();
- } else {
- ptr = field->val_str(tmp_str.get_str(), new_ptr);
- tmp_str.mem_calc();
- }
- } else {
- ptr = field->val_str(tmp_str.get_str());
- tmp_str.mem_calc();
- }
- DBUG_PRINT("info", ("spider field->type() is %d", field->type()));
- DBUG_PRINT("info", ("spider ptr->length() is %d", ptr->length()));
-/*
- if (
- field->type() == MYSQL_TYPE_BIT ||
- (field->type() >= MYSQL_TYPE_TINY_BLOB &&
- field->type() <= MYSQL_TYPE_BLOB)
- ) {
- uchar *hex_ptr = (uchar *) ptr->ptr(), *end_ptr;
- char *str_ptr;
- DBUG_PRINT("info", ("spider HEX"));
- if (str->reserve(SPIDER_SQL_HEX_LEN + ptr->length() * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HEX_STR, SPIDER_SQL_HEX_LEN);
- str_ptr = (char *) str->ptr() + str->length();
- for (end_ptr = hex_ptr + ptr->length(); hex_ptr < end_ptr; hex_ptr++)
- {
- *str_ptr++ = spider_dig_upper[(*hex_ptr) >> 4];
- *str_ptr++ = spider_dig_upper[(*hex_ptr) & 0x0F];
- }
- str->length(str->length() + ptr->length() * 2);
- } else
-*/
- spider_handlersocket_handler *hs_handler = (spider_handlersocket_handler *)
- spider->dbton_handler[spider_dbton_handlersocket.dbton_id];
- spider_string *hs_str;
- if (!(hs_str = hs_handler->hs_strs.add(
- &hs_handler->hs_strs_pos, ptr->ptr(), ptr->length())))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- SPIDER_HS_STRING_REF ref =
- SPIDER_HS_STRING_REF(hs_str->ptr(), hs_str->length());
- if (hs_handler->hs_adding_keys)
- {
- DBUG_PRINT("info", ("spider add to key:%s", hs_str->c_ptr_safe()));
- hs_handler->hs_keys.push_back(ref);
- } else {
- DBUG_PRINT("info", ("spider add to upd:%s", hs_str->c_ptr_safe()));
- hs_handler->hs_upds.push_back(ref);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_trx_isolation(
- spider_string *str,
- int trx_isolation
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_trx_isolation");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_autocommit(
- spider_string *str,
- bool autocommit
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_autocommit");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_sql_log_off(
- spider_string *str,
- bool sql_log_off
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_sql_log_off");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_time_zone(
- spider_string *str,
- Time_zone *time_zone
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_time_zone");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_start_transaction(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_start_transaction");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_xa_start(
- spider_string *str,
- XID *xid
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_xa_start");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_lock_table_head(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_lock_table_head");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_lock_table_body(
- spider_string *str,
- const char *db_name,
- uint db_name_length,
- CHARSET_INFO *db_name_charset,
- const char *table_name,
- uint table_name_length,
- CHARSET_INFO *table_name_charset,
- int lock_type
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_lock_table_body");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_lock_table_tail(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_lock_table_tail");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::append_unlock_table(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_unlock_table");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_handlersocket_util::open_item_func(
- Item_func *item_func,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- uint dbton_id = spider_dbton_handlersocket.dbton_id;
- int error_num;
- Item *item, **item_list = item_func->arguments();
- uint roop_count, item_count = item_func->argument_count(), start_item = 0;
- const char *func_name = SPIDER_SQL_NULL_CHAR_STR,
- *separete_str = SPIDER_SQL_NULL_CHAR_STR,
- *last_str = SPIDER_SQL_NULL_CHAR_STR;
- int func_name_length = SPIDER_SQL_NULL_CHAR_LEN,
- separete_str_length = SPIDER_SQL_NULL_CHAR_LEN,
- last_str_length = SPIDER_SQL_NULL_CHAR_LEN;
- int use_pushdown_udf;
- DBUG_ENTER("spider_db_handlersocket_util::open_item_func");
- if (str)
- {
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- DBUG_PRINT("info",("spider functype = %d", item_func->functype()));
- switch (item_func->functype())
- {
- case Item_func::ISNULL_FUNC:
- last_str = SPIDER_SQL_IS_NULL_STR;
- last_str_length = SPIDER_SQL_IS_NULL_LEN;
- break;
- case Item_func::ISNOTNULL_FUNC:
- last_str = SPIDER_SQL_IS_NOT_NULL_STR;
- last_str_length = SPIDER_SQL_IS_NOT_NULL_LEN;
- break;
- case Item_func::UNKNOWN_FUNC:
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (func_name_length == 1 &&
- (
- !strncasecmp("+", func_name, func_name_length) ||
- !strncasecmp("-", func_name, func_name_length) ||
- !strncasecmp("*", func_name, func_name_length) ||
- !strncasecmp("/", func_name, func_name_length) ||
- !strncasecmp("%", func_name, func_name_length) ||
- !strncasecmp("&", func_name, func_name_length) ||
- !strncasecmp("|", func_name, func_name_length) ||
- !strncasecmp("^", func_name, func_name_length)
- )
- ) {
- /* no action */
- break;
- } else if (func_name_length == 2 &&
- (
- !strncasecmp("<<", func_name, func_name_length) ||
- !strncasecmp(">>", func_name, func_name_length)
- )
- ) {
- /* no action */
- break;
- } else if (func_name_length == 3 &&
- !strncasecmp("div", func_name, func_name_length)
- ) {
- /* no action */
- break;
- } else if (func_name_length == 4)
- {
- if (
- !strncasecmp("rand", func_name, func_name_length) &&
- !item_func->arg_count
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (
- !strncasecmp("case", func_name, func_name_length)
- ) {
-#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC
- Item_func_case *item_func_case = (Item_func_case *) item_func;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_CASE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CASE_STR, SPIDER_SQL_CASE_LEN);
- }
- if (item_func_case->first_expr_num != -1)
- {
- if ((error_num = spider_db_print_item_type(
- item_list[item_func_case->first_expr_num], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- for (roop_count = 0; roop_count < item_func_case->ncases;
- roop_count += 2)
- {
- if (str)
- {
- if (str->reserve(SPIDER_SQL_WHEN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHEN_STR, SPIDER_SQL_WHEN_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[roop_count], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(SPIDER_SQL_THEN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_THEN_STR, SPIDER_SQL_THEN_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[roop_count + 1], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (item_func_case->else_expr_num != -1)
- {
- if (str)
- {
- if (str->reserve(SPIDER_SQL_ELSE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ELSE_STR, SPIDER_SQL_ELSE_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[item_func_case->else_expr_num], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (str)
- {
- if (str->reserve(SPIDER_SQL_END_LEN + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_END_STR, SPIDER_SQL_END_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
-#else
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
-#endif
- }
- } else if (func_name_length == 6 &&
- !strncasecmp("istrue", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_TRUE_STR;
- last_str_length = SPIDER_SQL_IS_TRUE_LEN;
- break;
- } else if (func_name_length == 7)
- {
- if (!strncasecmp("isfalse", func_name, func_name_length))
- {
- last_str = SPIDER_SQL_IS_FALSE_STR;
- last_str_length = SPIDER_SQL_IS_FALSE_LEN;
- break;
- } else if (
- !strncasecmp("sysdate", func_name, func_name_length) ||
- !strncasecmp("curdate", func_name, func_name_length) ||
- !strncasecmp("curtime", func_name, func_name_length)
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (
- !strncasecmp("convert", func_name, func_name_length)
- ) {
- if (str)
- {
- if (str->reserve(func_name_length * 2 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
- SPIDER_SQL_OPEN_PAREN_LEN);
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- }
- } else if (func_name_length == 8 &&
- (
- !strncasecmp("utc_date", func_name, func_name_length) ||
- !strncasecmp("utc_time", func_name, func_name_length)
- )
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (func_name_length == 9 &&
- !strncasecmp("isnottrue", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_NOT_TRUE_STR;
- last_str_length = SPIDER_SQL_IS_NOT_TRUE_LEN;
- break;
- } else if (func_name_length == 10 &&
- !strncasecmp("isnotfalse", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_NOT_FALSE_STR;
- last_str_length = SPIDER_SQL_IS_NOT_FALSE_LEN;
- break;
- } else if (func_name_length == 12)
- {
- if (!strncasecmp("cast_as_date", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_DATE_STR;
- last_str_length = SPIDER_SQL_AS_DATE_LEN;
- break;
- } else if (!strncasecmp("cast_as_time", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_TIME_STR;
- last_str_length = SPIDER_SQL_AS_TIME_LEN;
- break;
- }
- } else if (func_name_length == 13 &&
- !strncasecmp("utc_timestamp", func_name, func_name_length)
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (func_name_length == 14)
- {
- if (!strncasecmp("cast_as_binary", func_name, func_name_length))
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(123);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_BINARY_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- } else if (!strncasecmp("cast_as_signed", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_SIGNED_STR;
- last_str_length = SPIDER_SQL_AS_SIGNED_LEN;
- break;
- }
- } else if (func_name_length == 16)
- {
- if (!strncasecmp("cast_as_unsigned", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_UNSIGNED_STR;
- last_str_length = SPIDER_SQL_AS_UNSIGNED_LEN;
- break;
- } else if (!strncasecmp("decimal_typecast", func_name,
- func_name_length))
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(124);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_DECIMAL_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- } else if (!strncasecmp("cast_as_datetime", func_name,
- func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_DATETIME_STR;
- last_str_length = SPIDER_SQL_AS_DATETIME_LEN;
- break;
- }
- } else if (func_name_length == 17)
- {
- if (!strncasecmp("date_add_interval", func_name, func_name_length))
- {
- Item_date_add_interval *item_date_add_interval =
- (Item_date_add_interval *) item_func;
- func_name = spider_db_timefunc_interval_str[
- item_date_add_interval->int_type];
- func_name_length = strlen(func_name);
- if ((error_num = spider_db_print_item_type(item_list[0], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (item_date_add_interval->date_sub_interval)
- {
- if (str->reserve(SPIDER_SQL_NEGINTERVAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NEGINTERVAL_STR,
- SPIDER_SQL_NEGINTERVAL_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_INTERVAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INTERVAL_STR, SPIDER_SQL_INTERVAL_LEN);
- }
- }
- if ((error_num = spider_db_print_item_type(item_list[1], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
- }
- }
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::NOW_FUNC:
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::CHAR_TYPECAST_FUNC:
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(125);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_CHAR_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- }
- break;
- case Item_func::NOT_FUNC:
- case Item_func::NEG_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- break;
- case Item_func::IN_FUNC:
- if (((Item_func_opt_neg *) item_func)->negated)
- {
- func_name = SPIDER_SQL_NOT_IN_STR;
- func_name_length = SPIDER_SQL_NOT_IN_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- } else {
- func_name = SPIDER_SQL_IN_STR;
- func_name_length = SPIDER_SQL_IN_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- case Item_func::BETWEEN:
- if (((Item_func_opt_neg *) item_func)->negated)
- {
- func_name = SPIDER_SQL_NOT_BETWEEN_STR;
- func_name_length = SPIDER_SQL_NOT_BETWEEN_LEN;
- separete_str = SPIDER_SQL_AND_STR;
- separete_str_length = SPIDER_SQL_AND_LEN;
- } else {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- separete_str = SPIDER_SQL_AND_STR;
- separete_str_length = SPIDER_SQL_AND_LEN;
- }
- break;
- case Item_func::UDF_FUNC:
- use_pushdown_udf = spider_param_use_pushdown_udf(spider->trx->thd,
- spider->share->use_pushdown_udf);
- if (!use_pushdown_udf)
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
-#ifdef MARIADB_BASE_VERSION
- case Item_func::XOR_FUNC:
-#else
- case Item_func::COND_XOR_FUNC:
-#endif
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(
- spider_db_open_item_cond((Item_cond *) item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::TRIG_COND_FUNC:
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- case Item_func::GUSERVAR_FUNC:
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (item_func->result_type() == STRING_RESULT)
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- else
- DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::FT_FUNC:
- if (spider_db_check_ft_idx(item_func, spider) == MAX_KEY)
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- start_item = 1;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_MATCH_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
- }
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::SP_EQUALS_FUNC:
- if (str)
- {
- func_name = SPIDER_SQL_MBR_EQUAL_STR;
- func_name_length = SPIDER_SQL_MBR_EQUAL_LEN;
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(func_name_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::SP_DISJOINT_FUNC:
- case Item_func::SP_INTERSECTS_FUNC:
- case Item_func::SP_TOUCHES_FUNC:
- case Item_func::SP_CROSSES_FUNC:
- case Item_func::SP_WITHIN_FUNC:
- case Item_func::SP_CONTAINS_FUNC:
- case Item_func::SP_OVERLAPS_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(SPIDER_SQL_MBR_LEN + func_name_length +
- SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MBR_STR, SPIDER_SQL_MBR_LEN);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::EQ_FUNC:
- case Item_func::EQUAL_FUNC:
- case Item_func::NE_FUNC:
- case Item_func::LT_FUNC:
- case Item_func::LE_FUNC:
- case Item_func::GE_FUNC:
- case Item_func::GT_FUNC:
- case Item_func::LIKE_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- }
- break;
- default:
- THD *thd = spider->trx->thd;
- SPIDER_SHARE *share = spider->share;
- if (spider_param_skip_default_condition(thd,
- share->skip_default_condition))
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- }
- break;
- }
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- DBUG_PRINT("info",("spider separete_str = %s", separete_str));
- DBUG_PRINT("info",("spider separete_str_length = %d", separete_str_length));
- DBUG_PRINT("info",("spider last_str = %s", last_str));
- DBUG_PRINT("info",("spider last_str_length = %d", last_str_length));
- if (item_count)
- {
- item_count--;
- for (roop_count = start_item; roop_count < item_count; roop_count++)
- {
- item = item_list[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (roop_count == 1)
- {
- func_name = separete_str;
- func_name_length = separete_str_length;
- }
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- }
- item = item_list[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (item_func->functype() == Item_func::FT_FUNC)
- {
- Item_func_match *item_func_match = (Item_func_match *)item_func;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_AGAINST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
- }
- item = item_list[0];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(
- ((item_func_match->flags & FT_BOOL) ?
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
- ((item_func_match->flags & FT_EXPAND) ?
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
- ))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (item_func_match->flags & FT_BOOL)
- str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
- if (item_func_match->flags & FT_EXPAND)
- str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
- }
- } else if (item_func->functype() == Item_func::UNKNOWN_FUNC)
- {
- if (
- func_name_length == 7 &&
- !strncasecmp("convert", func_name, func_name_length)
- ) {
- if (str)
- {
- Item_func_conv_charset *item_func_conv_charset =
- (Item_func_conv_charset *)item_func;
- CHARSET_INFO *conv_charset = item_func_conv_charset->conv_charset;
- uint cset_length = strlen(conv_charset->csname);
- if (str->reserve(SPIDER_SQL_USING_LEN + cset_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_USING_STR, SPIDER_SQL_USING_LEN);
- str->q_append(conv_charset->csname, cset_length);
- }
- }
- }
- if (str)
- {
- if (str->reserve(last_str_length + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(last_str, last_str_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_db_handlersocket_util::open_item_sum_func(
- Item_sum *item_sum,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- uint dbton_id = spider_dbton_handlersocket.dbton_id;
- uint roop_count, item_count = item_sum->get_arg_count();
- int error_num;
- DBUG_ENTER("spider_db_handlersocket_util::open_item_sum_func");
- DBUG_PRINT("info",("spider Sumfunctype = %d", item_sum->sum_func()));
- switch (item_sum->sum_func())
- {
- case Item_sum::COUNT_FUNC:
- case Item_sum::SUM_FUNC:
- case Item_sum::MIN_FUNC:
- case Item_sum::MAX_FUNC:
- {
- const char *func_name = item_sum->func_name();
- uint func_name_length = strlen(func_name);
- Item *item, **args = item_sum->get_args();
- if (str)
- {
- if (str->reserve(func_name_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- }
- if (item_count)
- {
- item_count--;
- for (roop_count = 0; roop_count < item_count; roop_count++)
- {
- item = args[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- item = args[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (str)
- {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- }
- break;
- case Item_sum::COUNT_DISTINCT_FUNC:
- case Item_sum::SUM_DISTINCT_FUNC:
- case Item_sum::AVG_FUNC:
- case Item_sum::AVG_DISTINCT_FUNC:
- case Item_sum::STD_FUNC:
- case Item_sum::VARIANCE_FUNC:
- case Item_sum::SUM_BIT_FUNC:
- case Item_sum::UDF_SUM_FUNC:
- case Item_sum::GROUP_CONCAT_FUNC:
- default:
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-int spider_db_handlersocket_util::append_escaped_util(
- spider_string *to,
- String *from
-) {
- DBUG_ENTER("spider_db_handlersocket_util::append_escaped_util");
- DBUG_PRINT("info",("spider this=%p", this));
- append_escaped(to->get_str(), from);
- to->mem_calc();
- DBUG_RETURN(0);
-}
-
-spider_handlersocket_share::spider_handlersocket_share(
- st_spider_share *share
-) : spider_db_share(
- share
-),
- table_names_str(NULL),
- db_names_str(NULL),
- db_table_str(NULL),
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- db_table_str_hash_value(NULL),
-#endif
- table_nm_max_length(0),
- db_nm_max_length(0),
- column_name_str(NULL),
- same_db_table_name(TRUE),
- first_all_link_idx(-1)
-{
- DBUG_ENTER("spider_handlersocket_share::spider_handlersocket_share");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_alloc_calc_mem_init(mem_calc, 186);
- spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-spider_handlersocket_share::~spider_handlersocket_share()
-{
- DBUG_ENTER("spider_handlersocket_share::~spider_handlersocket_share");
- DBUG_PRINT("info",("spider this=%p", this));
- free_column_name_str();
- free_table_names_str();
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- if (db_table_str_hash_value)
- {
- spider_free(spider_current_trx, db_table_str_hash_value, MYF(0));
- }
-#endif
- spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_share::init()
-{
- int error_num;
- DBUG_ENTER("spider_handlersocket_share::init");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- if (!(db_table_str_hash_value = (my_hash_value_type *)
- spider_bulk_alloc_mem(spider_current_trx, 203,
- __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
- &db_table_str_hash_value,
- sizeof(my_hash_value_type) * spider_share->all_link_count,
- NullS))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-#endif
-
- if (
- (error_num = create_table_names_str()) ||
- (error_num = create_column_name_str())
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_share::append_table_name(
- spider_string *str,
- int all_link_idx
-) {
- const char *db_nm = db_names_str[all_link_idx].ptr();
- uint db_nm_len = db_names_str[all_link_idx].length();
- const char *table_nm = table_names_str[all_link_idx].ptr();
- uint table_nm_len = table_names_str[all_link_idx].length();
- DBUG_ENTER("spider_handlersocket_share::append_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(db_nm_len + SPIDER_SQL_DOT_LEN + table_nm_len +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_db_handlersocket_utility.append_name(str, db_nm, db_nm_len);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- spider_db_handlersocket_utility.append_name(str, table_nm, table_nm_len);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_share::create_table_names_str()
-{
- int error_num, roop_count;
- uint table_nm_len, db_nm_len;
- spider_string *str, *first_tbl_nm_str, *first_db_nm_str, *first_db_tbl_str;
- char *first_tbl_nm, *first_db_nm;
- uint dbton_id = spider_dbton_handlersocket.dbton_id;
- DBUG_ENTER("spider_handlersocket_share::create_table_names_str");
- table_names_str = NULL;
- db_names_str = NULL;
- db_table_str = NULL;
- if (
- !(table_names_str = new spider_string[spider_share->all_link_count]) ||
- !(db_names_str = new spider_string[spider_share->all_link_count]) ||
- !(db_table_str = new spider_string[spider_share->all_link_count])
- ) {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
-
- same_db_table_name = TRUE;
- first_tbl_nm = spider_share->tgt_table_names[0];
- first_db_nm = spider_share->tgt_dbs[0];
- table_nm_len = spider_share->tgt_table_names_lengths[0];
- db_nm_len = spider_share->tgt_dbs_lengths[0];
- first_tbl_nm_str = &table_names_str[0];
- first_db_nm_str = &db_names_str[0];
- first_db_tbl_str = &db_table_str[0];
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- table_names_str[roop_count].init_calc_mem(86);
- db_names_str[roop_count].init_calc_mem(87);
- db_table_str[roop_count].init_calc_mem(88);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
- if (first_all_link_idx == -1)
- first_all_link_idx = roop_count;
-
- str = &table_names_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name &&
- spider_share->tgt_table_names_lengths[roop_count] == table_nm_len &&
- !memcmp(first_tbl_nm, spider_share->tgt_table_names[roop_count],
- table_nm_len)
- ) {
- if (str->copy(*first_tbl_nm_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- spider_share->tgt_table_names[roop_count], dbton_id)))
- goto error;
- if (roop_count)
- {
- same_db_table_name = FALSE;
- DBUG_PRINT("info", ("spider found different table name %s",
- spider_share->tgt_table_names[roop_count]));
- if (str->length() > table_nm_max_length)
- table_nm_max_length = str->length();
- } else
- table_nm_max_length = str->length();
- }
-
- str = &db_names_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name &&
- spider_share->tgt_dbs_lengths[roop_count] == db_nm_len &&
- !memcmp(first_db_nm, spider_share->tgt_dbs[roop_count],
- db_nm_len)
- ) {
- if (str->copy(*first_db_nm_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- spider_share->tgt_dbs[roop_count], dbton_id)))
- goto error;
- if (roop_count)
- {
- same_db_table_name = FALSE;
- DBUG_PRINT("info", ("spider found different db name %s",
- spider_share->tgt_dbs[roop_count]));
- if (str->length() > db_nm_max_length)
- db_nm_max_length = str->length();
- } else
- db_nm_max_length = str->length();
- }
-
- str = &db_table_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name
- ) {
- if (str->copy(*first_db_tbl_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = append_table_name(str, roop_count)))
- goto error;
- }
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- db_table_str_hash_value[roop_count] = my_calc_hash(
- &spider_open_connections, (uchar*) str->ptr(), str->length());
-#endif
- }
- DBUG_RETURN(0);
-
-error:
- if (db_table_str)
- {
- delete [] db_table_str;
- db_table_str = NULL;
- }
- if (db_names_str)
- {
- delete [] db_names_str;
- db_names_str = NULL;
- }
- if (table_names_str)
- {
- delete [] table_names_str;
- table_names_str = NULL;
- }
- DBUG_RETURN(error_num);
-}
-
-void spider_handlersocket_share::free_table_names_str()
-{
- DBUG_ENTER("spider_handlersocket_share::free_table_names_str");
- if (db_table_str)
- {
- delete [] db_table_str;
- db_table_str = NULL;
- }
- if (db_names_str)
- {
- delete [] db_names_str;
- db_names_str = NULL;
- }
- if (table_names_str)
- {
- delete [] table_names_str;
- table_names_str = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_share::create_column_name_str()
-{
- spider_string *str;
- int error_num;
- Field **field;
- TABLE_SHARE *table_share = spider_share->table_share;
- uint dbton_id = spider_dbton_handlersocket.dbton_id;
- DBUG_ENTER("spider_handlersocket_share::create_column_name_str");
- if (
- table_share->fields &&
- !(column_name_str = new spider_string[table_share->fields])
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- for (field = table_share->field, str = column_name_str;
- *field; field++, str++)
- {
- str->init_calc_mem(202);
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- (char *) (*field)->field_name, dbton_id)))
- goto error;
- }
- DBUG_RETURN(0);
-
-error:
- if (column_name_str)
- {
- delete [] column_name_str;
- column_name_str = NULL;
- }
- DBUG_RETURN(error_num);
-}
-
-void spider_handlersocket_share::free_column_name_str()
-{
- DBUG_ENTER("spider_handlersocket_share::free_column_name_str");
- if (column_name_str)
- {
- delete [] column_name_str;
- column_name_str = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-uint spider_handlersocket_share::get_column_name_length(
- uint field_index
-) {
- DBUG_ENTER("spider_handlersocket_share::get_column_name_length");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(column_name_str[field_index].length());
-}
-
-int spider_handlersocket_share::append_column_name(
- spider_string *str,
- uint field_index
-) {
- int error_num;
- DBUG_ENTER("spider_handlersocket_share::append_column_name");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = spider_db_handlersocket_utility.append_name(str,
- column_name_str[field_index].ptr(), column_name_str[field_index].length());
- DBUG_RETURN(error_num);
-}
-
-int spider_handlersocket_share::append_column_name_with_alias(
- spider_string *str,
- uint field_index,
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_handlersocket_share::append_column_name_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(
- alias_length +
- column_name_str[field_index].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- append_column_name(str, field_index);
- DBUG_RETURN(0);
-}
-
-bool spider_handlersocket_share::need_change_db_table_name()
-{
- DBUG_ENTER("spider_handlersocket_share::need_change_db_table_name");
- DBUG_RETURN(!same_db_table_name);
-}
-
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
-int spider_handlersocket_share::discover_table_structure(
- SPIDER_TRX *trx,
- SPIDER_SHARE *spider_share,
- spider_string *str
-) {
- DBUG_ENTER("spider_handlersocket_share::discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(HA_ERR_WRONG_COMMAND);
-}
-#endif
-
-spider_handlersocket_handler::spider_handlersocket_handler(
- ha_spider *spider,
- spider_handlersocket_share *db_share
-) : spider_db_handler(
- spider,
- db_share
-),
- handlersocket_share(db_share),
- link_for_hash(NULL)
-{
- DBUG_ENTER("spider_handlersocket_handler::spider_handlersocket_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_alloc_calc_mem_init(mem_calc, 187);
- spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-spider_handlersocket_handler::~spider_handlersocket_handler()
-{
- DBUG_ENTER("spider_handlersocket_handler::~spider_handlersocket_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if (link_for_hash)
- {
- spider_free(spider_current_trx, link_for_hash, MYF(0));
- }
- spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_handler::init()
-{
- st_spider_share *share = spider->share;
- DBUG_ENTER("spider_handlersocket_handler::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(link_for_hash = (SPIDER_LINK_FOR_HASH *)
- spider_bulk_alloc_mem(spider_current_trx, 204,
- __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
- &link_for_hash,
- sizeof(SPIDER_LINK_FOR_HASH) * share->link_count,
- NullS))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- uint roop_count;
- for (roop_count = 0; roop_count < share->link_count; roop_count++)
- {
- link_for_hash[roop_count].spider = spider;
- link_for_hash[roop_count].link_idx = roop_count;
- link_for_hash[roop_count].db_table_str =
- &handlersocket_share->db_table_str[roop_count];
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- link_for_hash[roop_count].db_table_str_hash_value =
- handlersocket_share->db_table_str_hash_value[roop_count];
-#endif
- }
- hs_sql.init_calc_mem(63);
- hs_sql.set_charset(share->access_charset);
- hs_keys.init();
- hs_upds.init();
- hs_strs.init();
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_table_name_with_adjusting(
- spider_string *str,
- int link_idx,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_table_name_with_adjusting");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_tmp_table_and_sql_for_bka(
- const key_range *start_key
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_tmp_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reuse_tmp_table_and_sql_for_bka()
-{
- DBUG_ENTER("spider_handlersocket_handler::reuse_tmp_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_union_table_and_sql_for_bka(
- const key_range *start_key
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_union_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reuse_union_table_and_sql_for_bka()
-{
- DBUG_ENTER("spider_handlersocket_handler::reuse_union_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_insert_for_recovery(
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_insert_for_recovery");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_insert_part()
-{
- DBUG_ENTER("spider_handlersocket_handler::append_insert_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_update_part()
-{
- DBUG_ENTER("spider_handlersocket_handler::append_update_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_delete_part()
-{
- DBUG_ENTER("spider_handlersocket_handler::append_delete_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
-int spider_handlersocket_handler::append_increment_update_set_part()
-{
- DBUG_ENTER("spider_handlersocket_handler::append_increment_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-#endif
-
-int spider_handlersocket_handler::append_update_set_part()
-{
- DBUG_ENTER("spider_handlersocket_handler::append_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
-int spider_handlersocket_handler::append_direct_update_set_part()
-{
- SPIDER_SHARE *share = spider->share;
- DBUG_ENTER("spider_handlersocket_handler::append_direct_update_set_part");
- if (
- spider->do_direct_update &&
- (spider->direct_update_kinds & SPIDER_SQL_KIND_HS)
- ) {
- DBUG_PRINT("info",("spider add set for DU SPIDER_SQL_KIND_HS"));
- size_t roop_count;
- Field *field;
- hs_adding_keys = FALSE;
- for (roop_count = 0; roop_count < spider->hs_pushed_ret_fields_num;
- roop_count++)
- {
- Field *top_table_field =
- spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
- if (!(field = spider->field_exchange(top_table_field)))
- continue;
- if (top_table_field->is_null())
- {
- hs_upds.push_back(spider_null_string_ref);
- } else {
- if (spider_db_handlersocket_utility.
- append_column_value(spider, NULL, top_table_field, NULL,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- }
- }
- DBUG_RETURN(0);
-}
-#endif
-
-int spider_handlersocket_handler::append_minimum_select_without_quote(
- spider_string *str
-) {
- TABLE *table = spider->get_table();
- Field **field;
- int field_length;
- bool appended = FALSE;
- DBUG_ENTER("spider_handlersocket_handler::append_minimum_select_without_quote");
- for (field = table->field; *field; field++)
- {
- if (minimum_select_bit_is_set((*field)->field_index))
- {
- field_length =
- handlersocket_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(field_length + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(
- handlersocket_share->column_name_str[(*field)->field_index].ptr(),
- handlersocket_share->column_name_str[(*field)->field_index].length());
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- appended = TRUE;
- }
- }
- if (appended)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
-int spider_handlersocket_handler::append_minimum_select_by_field_idx_list(
- spider_string *str,
- uint32 *field_idxs,
- size_t field_idxs_num
-) {
- Field *field;
- int roop_count, field_length;
- bool appended = FALSE;
- DBUG_ENTER("spider_handlersocket_handler::append_minimum_select_by_field_idx_list");
- for (roop_count = 0; roop_count < (int) field_idxs_num; roop_count++)
- {
- field = spider->get_top_table_field(field_idxs[roop_count]);
- if ((field = spider->field_exchange(field)))
- {
- field_length =
- handlersocket_share->column_name_str[field->field_index].length();
- if (str->reserve(field_length + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(
- handlersocket_share->column_name_str[field->field_index].ptr(),
- handlersocket_share->column_name_str[field->field_index].length());
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- appended = TRUE;
- }
- }
- if (appended)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_dup_update_pushdown_part(
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_dup_update_pushdown_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_update_columns_part(
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_update_columns_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::check_update_columns_part()
-{
- DBUG_ENTER("spider_handlersocket_handler::check_update_columns_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-#endif
-
-int spider_handlersocket_handler::append_select_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_table_select_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_table_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_key_select_part(
- ulong sql_type,
- uint idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_key_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_minimum_select_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_minimum_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_hint_after_table_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_hint_after_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-void spider_handlersocket_handler::set_where_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::set_where_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-void spider_handlersocket_handler::set_where_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::set_where_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_handler::check_item_type(
- Item *item
-) {
- DBUG_ENTER("spider_handlersocket_handler::check_item_type");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_values_connector_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_values_connector_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_values_terminator_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_values_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_union_table_connector_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_union_table_connector_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_union_table_terminator_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_union_table_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_key_column_values_part(
- const key_range *start_key,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_key_column_values_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_key_column_values_with_name_part(
- const key_range *start_key,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_key_column_values_with_name_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_key_where_part(
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- bool set_order;
- DBUG_ENTER("spider_handlersocket_handler::append_key_where_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_HS:
- case SPIDER_SQL_TYPE_INSERT_HS:
- case SPIDER_SQL_TYPE_UPDATE_HS:
- case SPIDER_SQL_TYPE_DELETE_HS:
- str = &hs_sql;
- str->length(0);
- hs_adding_keys = TRUE;
- set_order = FALSE;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_where(str, NULL, NULL, start_key, end_key,
- sql_type, set_order);
- DBUG_RETURN(error_num);
-}
-
-int spider_handlersocket_handler::append_key_where(
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type,
- bool set_order
-) {
- int error_num;
- DBUG_ENTER("spider_handlersocket_handler::append_key_where");
- error_num = spider_db_append_key_where_internal(str, str_part, str_part2,
- start_key, end_key, spider, set_order, sql_type,
- spider_dbton_handlersocket.dbton_id);
- DBUG_RETURN(error_num);
-}
-
-int spider_handlersocket_handler::append_is_null_part(
- ulong sql_type,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_handlersocket_handler::append_is_null_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_HS:
- case SPIDER_SQL_TYPE_INSERT_HS:
- case SPIDER_SQL_TYPE_UPDATE_HS:
- case SPIDER_SQL_TYPE_DELETE_HS:
- str = &hs_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_is_null(sql_type, str, NULL, NULL, key_part, key, ptr,
- key_eq);
- DBUG_RETURN(error_num);
-}
-
-int spider_handlersocket_handler::append_is_null(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_is_null");
- DBUG_PRINT("info",("spider this=%p", this));
- if (key_part->null_bit)
- {
- if (*(*ptr)++)
- {
- hs_keys.push_back(spider_null_string_ref);
- DBUG_RETURN(-1);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_where_terminator_part(
- ulong sql_type,
- bool set_order,
- int key_count
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_where_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_match_where_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_match_where_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_condition_part(
- const char *alias,
- uint alias_length,
- ulong sql_type,
- bool test_flg
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_condition_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_match_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_match_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_handlersocket_handler::append_sum_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_sum_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-#endif
-
-void spider_handlersocket_handler::set_order_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::set_order_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-void spider_handlersocket_handler::set_order_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::set_order_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_handler::append_key_order_for_merge_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_key_order_for_merge_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_key_order_for_direct_order_limit_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_key_order_for_direct_order_limit_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_key_order_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_key_order_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_limit_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info", ("spider offset=%lld", offset));
- DBUG_PRINT("info", ("spider limit=%lld", limit));
- hs_skip = (int) offset;
- hs_limit = (int) limit;
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reappend_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::reappend_limit_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_select_lock_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_select_lock_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_union_all_start_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_union_all_start_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_union_all_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_union_all_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_union_all_end_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_union_all_end_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_multi_range_cnt_part(
- ulong sql_type,
- uint multi_range_cnt,
- bool with_comma
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_multi_range_cnt_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_multi_range_cnt_with_name_part(
- ulong sql_type,
- uint multi_range_cnt
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_multi_range_cnt_with_name_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_open_handler_part(
- ulong sql_type,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_handlersocket_handler::append_open_handler_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_HS:
- str = &hs_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_open_handler(str, handler_id, conn, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_handlersocket_handler::append_open_handler(
- spider_string *str,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_handlersocket_handler::append_open_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if (
- str->length() == 0 &&
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- (
- (
- (
- spider->sql_command == SQLCOM_HS_INSERT ||
- spider->hs_pushed_ret_fields_num == MAX_FIELDS
- ) &&
-#endif
- (error_num = append_minimum_select_without_quote(str))
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- ) ||
- (
- (
- spider->sql_command != SQLCOM_HS_INSERT &&
- spider->hs_pushed_ret_fields_num < MAX_FIELDS
- ) &&
- (error_num = append_minimum_select_by_field_idx_list(str,
- spider->hs_pushed_ret_fields, spider->hs_pushed_ret_fields_num))
- )
- )
-#endif
- ) {
- DBUG_RETURN(error_num);
- }
-
- TABLE *table = spider->get_table();
- SPIDER_SHARE *share = spider->share;
- DBUG_PRINT("info",("spider field list=%s", str->c_ptr_safe()));
- if (!spider_bit_is_set(spider->db_request_phase, link_idx))
- {
- spider_set_bit(spider->db_request_phase, link_idx);
- ++spider->db_request_id[link_idx];
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = spider->db_request_id[link_idx];
- request_key.next = NULL;
- conn->db_conn->append_open_handler(
- handler_id,
- share->tgt_dbs[spider->conn_link_idx[link_idx]],
- share->tgt_table_names[spider->conn_link_idx[link_idx]],
- spider->active_index < MAX_KEY ?
- table->s->key_info[spider->active_index].name :
- "0",
- str->c_ptr_safe(),
- &request_key
- );
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_close_handler_part(
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_close_handler_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_insert_terminator_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_insert_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_insert_values_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_insert_values_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_HS:
- str = &hs_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_insert_values(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_handlersocket_handler::append_insert_values(
- spider_string *str
-) {
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- Field **field;
- DBUG_ENTER("spider_mysql_handler::append_insert_values");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_adding_keys = FALSE;
- for (field = table->field; *field; field++)
- {
- DBUG_PRINT("info",("spider field_index=%u", (*field)->field_index));
- if (
- bitmap_is_set(table->write_set, (*field)->field_index) ||
- bitmap_is_set(table->read_set, (*field)->field_index)
- ) {
-#ifndef DBUG_OFF
- my_bitmap_map *tmp_map =
- dbug_tmp_use_all_columns(table, table->read_set);
-#endif
- DBUG_PRINT("info",("spider is_null()=%s",
- (*field)->is_null() ? "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider table->next_number_field=%p",
- table->next_number_field));
- DBUG_PRINT("info",("spider *field=%p", *field));
- DBUG_PRINT("info",("spider force_auto_increment=%s",
- (table->next_number_field && spider->force_auto_increment) ?
- "TRUE" : "FALSE"));
- if (
- (*field)->is_null() ||
- (
- table->next_number_field == *field &&
- !table->auto_increment_field_not_null &&
- !spider->force_auto_increment
- )
- ) {
- hs_upds.push_back(spider_null_string_ref);
- } else {
- spider_db_handlersocket_utility.
- append_column_value(spider, NULL, *field, NULL,
- share->access_charset);
- }
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- }
- }
- int error_num;
- int roop_count2;
- for (
- roop_count2 = spider_conn_link_idx_next(share->link_statuses,
- spider->conn_link_idx, -1, share->link_count,
- SPIDER_LINK_STATUS_RECOVERY);
- roop_count2 < (int) share->link_count;
- roop_count2 = spider_conn_link_idx_next(share->link_statuses,
- spider->conn_link_idx, roop_count2, share->link_count,
- SPIDER_LINK_STATUS_RECOVERY)
- ) {
- if (spider->sql_kind[roop_count2] == SPIDER_SQL_KIND_HS)
- {
- SPIDER_CONN *conn = spider->hs_w_conns[roop_count2];
- if (conn->dbton_id == spider_dbton_handlersocket.dbton_id)
- {
- if ((error_num = request_buf_insert(roop_count2)))
- DBUG_RETURN(error_num);
-#ifdef HA_CAN_BULK_ACCESS
- if (spider->is_bulk_access_clone)
- {
- spider->connection_ids[roop_count2] = conn->connection_id;
- spider_trx_add_bulk_access_conn(spider->trx, conn);
- }
-#endif
- }
- }
- }
- hs_upds.clear();
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_into_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_into_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-void spider_handlersocket_handler::set_insert_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::set_insert_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_handler::append_from_part(
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_from_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_delete_all_rows_part(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_delete_all_rows_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_explain_select_part(
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_explain_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-bool spider_handlersocket_handler::is_bulk_insert_exec_period(
- bool bulk_end
-) {
- DBUG_ENTER("spider_handlersocket_handler::is_bulk_insert_exec_period");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!spider->bulk_insert || bulk_end)
- DBUG_RETURN(TRUE);
- DBUG_RETURN(FALSE);
-}
-
-bool spider_handlersocket_handler::sql_is_filled_up(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::sql_is_filled_up");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(FALSE);
-}
-
-bool spider_handlersocket_handler::sql_is_empty(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::sql_is_empty");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(FALSE);
-}
-
-bool spider_handlersocket_handler::support_multi_split_read()
-{
- DBUG_ENTER("spider_handlersocket_handler::support_multi_split_read");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(FALSE);
-}
-
-bool spider_handlersocket_handler::support_bulk_update()
-{
- DBUG_ENTER("spider_handlersocket_handler::support_bulk_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(FALSE);
-}
-
-int spider_handlersocket_handler::bulk_tmp_table_insert()
-{
- DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::bulk_tmp_table_insert(
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::bulk_tmp_table_end_bulk_insert()
-{
- DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_end_bulk_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::bulk_tmp_table_rnd_init()
-{
- DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_rnd_init");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::bulk_tmp_table_rnd_next()
-{
- DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_rnd_next");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::bulk_tmp_table_rnd_end()
-{
- DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_rnd_end");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-bool spider_handlersocket_handler::need_copy_for_update(
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::need_copy_for_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(TRUE);
-}
-
-bool spider_handlersocket_handler::bulk_tmp_table_created()
-{
- DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_created");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(FALSE);
-}
-
-int spider_handlersocket_handler::mk_bulk_tmp_table_and_bulk_start()
-{
- DBUG_ENTER("spider_handlersocket_handler::mk_bulk_tmp_table_and_bulk_start");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-void spider_handlersocket_handler::rm_bulk_tmp_table()
-{
- DBUG_ENTER("spider_handlersocket_handler::rm_bulk_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_handler::insert_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::insert_lock_tables_list");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::append_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx,
- int *appended
-) {
- DBUG_ENTER("spider_handlersocket_handler::append_lock_tables_list");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::realloc_sql(
- ulong *realloced
-) {
- THD *thd = spider->trx->thd;
- st_spider_share *share = spider->share;
- int init_sql_alloc_size =
- spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
- DBUG_ENTER("spider_handlersocket_handler::realloc_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((int) hs_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- hs_sql.free();
- if (hs_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_FULL_HS;
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reset_sql(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::reset_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
- {
- hs_sql.length(0);
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reset_keys(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::reset_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
- {
- hs_keys.clear();
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reset_upds(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::reset_upds");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
- {
- hs_upds.clear();
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reset_strs(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::reset_strs");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
- {
- hs_strs.clear();
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reset_strs_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::reset_strs_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
- {
- hs_strs_pos = 0;
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::push_back_upds(
- SPIDER_HS_STRING_REF &info
-) {
- int error_num;
- DBUG_ENTER("spider_handlersocket_handler::push_back_upds");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = hs_upds.push_back(info);
- DBUG_RETURN(error_num);
-}
-
-int spider_handlersocket_handler::request_buf_find(
- int link_idx
-) {
- int error_num;
- spider_string *hs_str;
- SPIDER_CONN *conn;
- uint handler_id;
- DBUG_ENTER("spider_handlersocket_handler::request_buf_find");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(hs_str = hs_strs.add(&hs_strs_pos, hs_sql.ptr(), hs_sql.length())))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (spider->conn_kind[link_idx] == SPIDER_CONN_KIND_HS_READ)
- {
- conn = spider->hs_r_conns[link_idx];
- handler_id = spider->r_handler_id[link_idx];
- } else {
- conn = spider->hs_w_conns[link_idx];
- handler_id = spider->w_handler_id[link_idx];
- }
- if ((error_num = spider_db_conn_queue_action(conn)))
- DBUG_RETURN(error_num);
- if (!spider_bit_is_set(spider->db_request_phase, link_idx))
- {
- spider_set_bit(spider->db_request_phase, link_idx);
- ++spider->db_request_id[link_idx];
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = spider->db_request_id[link_idx];
- request_key.next = NULL;
- conn->db_conn->append_select(
- handler_id, hs_str, &hs_keys,
- hs_limit, hs_skip, &request_key);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::request_buf_insert(
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_handlersocket_handler::request_buf_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = spider_db_conn_queue_action(spider->hs_w_conns[link_idx])))
- DBUG_RETURN(error_num);
- if (!spider_bit_is_set(spider->db_request_phase, link_idx))
- {
- spider_set_bit(spider->db_request_phase, link_idx);
- ++spider->db_request_id[link_idx];
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = spider->db_request_id[link_idx];
- request_key.next = NULL;
- spider->hs_w_conns[link_idx]->db_conn->append_insert(
- spider->w_handler_id[link_idx], &hs_upds, &request_key);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::request_buf_update(
- int link_idx
-) {
- int error_num;
- spider_string *hs_str;
- DBUG_ENTER("spider_handlersocket_handler::request_buf_update");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(hs_str = hs_strs.add(&hs_strs_pos, hs_sql.ptr(), hs_sql.length())))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if ((error_num = spider_db_conn_queue_action(spider->hs_w_conns[link_idx])))
- DBUG_RETURN(error_num);
- if (!spider_bit_is_set(spider->db_request_phase, link_idx))
- {
- spider_set_bit(spider->db_request_phase, link_idx);
- ++spider->db_request_id[link_idx];
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = spider->db_request_id[link_idx];
- request_key.next = NULL;
- spider->hs_w_conns[link_idx]->db_conn->append_update(
- spider->w_handler_id[link_idx], hs_str, &hs_keys, &hs_upds,
- hs_limit, hs_skip,
- spider->hs_increment, spider->hs_decrement, &request_key
- );
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::request_buf_delete(
- int link_idx
-) {
- int error_num;
- spider_string *hs_str;
- DBUG_ENTER("spider_handlersocket_handler::request_buf_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(hs_str = hs_strs.add(&hs_strs_pos, hs_sql.ptr(), hs_sql.length())))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if ((error_num = spider_db_conn_queue_action(spider->hs_w_conns[link_idx])))
- DBUG_RETURN(error_num);
- if (!spider_bit_is_set(spider->db_request_phase, link_idx))
- {
- spider_set_bit(spider->db_request_phase, link_idx);
- ++spider->db_request_id[link_idx];
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = spider->db_request_id[link_idx];
- request_key.next = NULL;
- spider->hs_w_conns[link_idx]->db_conn->append_delete(
- spider->w_handler_id[link_idx], hs_str, &hs_keys,
- hs_limit, hs_skip, &request_key);
- DBUG_RETURN(0);
-}
-
-bool spider_handlersocket_handler::need_lock_before_set_sql_for_exec(
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::need_lock_before_set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_handlersocket_handler::set_sql_for_exec(
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_SELECT_HS)
- {
- DBUG_RETURN(request_buf_find(link_idx));
- }
- if (sql_type & SPIDER_SQL_TYPE_INSERT_HS)
- {
- DBUG_RETURN(request_buf_insert(link_idx));
- }
- if (sql_type & SPIDER_SQL_TYPE_UPDATE_HS)
- {
- DBUG_RETURN(request_buf_update(link_idx));
- }
- if (sql_type & SPIDER_SQL_TYPE_DELETE_HS)
- {
- DBUG_RETURN(request_buf_delete(link_idx));
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::set_sql_for_exec(
- spider_db_copy_table *tgt_ct,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::execute_sql(
- ulong sql_type,
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
-) {
- DBUG_ENTER("spider_handlersocket_handler::execute_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(sql_type & SPIDER_SQL_TYPE_FULL_HS))
- {
- /* nothing to do */
- DBUG_RETURN(0);
- }
- DBUG_RETURN(spider_db_query(
- conn,
- NULL,
- 0,
- quick_mode,
- need_mon
- ));
-}
-
-int spider_handlersocket_handler::reset()
-{
- DBUG_ENTER("spider_handlersocket_handler::reset");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::sts_mode_exchange(
- int sts_mode
-) {
- DBUG_ENTER("spider_handlersocket_handler::sts_mode_exchange");
- DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
- DBUG_RETURN(sts_mode);
-}
-
-int spider_handlersocket_handler::show_table_status(
- int link_idx,
- int sts_mode,
- uint flag
-) {
- spider_db_handlersocket_result res;
- SPIDER_SHARE *share = spider->share;
- DBUG_ENTER("spider_handlersocket_show_table_status");
- res.fetch_table_status(
- sts_mode,
- share->records,
- share->mean_rec_length,
- share->data_file_length,
- share->max_data_file_length,
- share->index_file_length,
- share->auto_increment_value,
- share->create_time,
- share->update_time,
- share->check_time
- );
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::crd_mode_exchange(
- int crd_mode
-) {
- DBUG_ENTER("spider_handlersocket_handler::crd_mode_exchange");
- DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
- DBUG_RETURN(crd_mode);
-}
-
-int spider_handlersocket_handler::show_index(
- int link_idx,
- int crd_mode
-) {
- DBUG_ENTER("spider_handlersocket_handler::show_index");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::show_records(
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::show_records");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::show_last_insert_id(
- int link_idx,
- ulonglong &last_insert_id
-) {
- DBUG_ENTER("spider_handlersocket_handler::show_last_insert_id");
- last_insert_id = 0;
- DBUG_RETURN(0);
-}
-
-ha_rows spider_handlersocket_handler::explain_select(
- key_range *start_key,
- key_range *end_key,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::explain_select");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::lock_tables(
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::lock_tables");
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::unlock_tables(
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::unlock_tables");
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::disable_keys(
- SPIDER_CONN *conn,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::disable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::enable_keys(
- SPIDER_CONN *conn,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::enable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::check_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- DBUG_ENTER("spider_handlersocket_handler::check_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::repair_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- DBUG_ENTER("spider_handlersocket_handler::repair_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::analyze_table(
- SPIDER_CONN *conn,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::analyze_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::optimize_table(
- SPIDER_CONN *conn,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::optimize_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::flush_tables(
- SPIDER_CONN *conn,
- int link_idx,
- bool lock
-) {
- DBUG_ENTER("spider_handlersocket_handler::flush_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::flush_logs(
- SPIDER_CONN *conn,
- int link_idx
-) {
- DBUG_ENTER("spider_handlersocket_handler::flush_logs");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::insert_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_handlersocket *db_conn = (spider_db_handlersocket *) conn->db_conn;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash = &link_for_hash[link_idx];
- DBUG_ASSERT(tmp_link_for_hash->spider == spider);
- DBUG_ASSERT(tmp_link_for_hash->link_idx == link_idx);
- uint old_elements = db_conn->handler_open_array.max_element;
- DBUG_ENTER("spider_handlersocket_handler::insert_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if (insert_dynamic(&db_conn->handler_open_array,
- (uchar*) &tmp_link_for_hash))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (db_conn->handler_open_array.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- db_conn->handler_open_array,
- (db_conn->handler_open_array.max_element - old_elements) *
- db_conn->handler_open_array.size_of_element);
- }
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::delete_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_handlersocket *db_conn = (spider_db_handlersocket *) conn->db_conn;
- uint roop_count, elements = db_conn->handler_open_array.elements;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
- DBUG_ENTER("spider_handlersocket_handler::delete_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- for (roop_count = 0; roop_count < elements; roop_count++)
- {
- get_dynamic(&db_conn->handler_open_array, (uchar *) &tmp_link_for_hash,
- roop_count);
- if (tmp_link_for_hash == &link_for_hash[link_idx])
- {
- delete_dynamic_element(&db_conn->handler_open_array, roop_count);
- break;
- }
- }
- DBUG_ASSERT(roop_count < elements);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::sync_from_clone_source(
- spider_db_handler *dbton_hdl
-) {
- spider_handlersocket_handler *hs_hdl =
- (spider_handlersocket_handler *) dbton_hdl;
- DBUG_ENTER("spider_handlersocket_handler::sync_from_clone_source");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_strs_pos = hs_hdl->hs_strs_pos;
- DBUG_RETURN(0);
-}
-
-bool spider_handlersocket_handler::support_use_handler(
- int use_handler
-) {
- DBUG_ENTER("spider_handlersocket_handler::support_use_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-bool spider_handlersocket_handler::minimum_select_bit_is_set(
- uint field_index
-) {
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_handlersocket_handler::minimum_select_bit_is_set");
- DBUG_RETURN(
- spider_bit_is_set(spider->searched_bitmap, field_index) |
- bitmap_is_set(table->read_set, field_index) |
- bitmap_is_set(table->write_set, field_index)
- );
-}
-
-void spider_handlersocket_handler::copy_minimum_select_bitmap(
- uchar *bitmap
-) {
- int roop_count;
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_handlersocket_handler::copy_minimum_select_bitmap");
- for (roop_count = 0;
- roop_count < (int) ((table->s->fields + 7) / 8);
- roop_count++)
- {
- bitmap[roop_count] =
- spider->searched_bitmap[roop_count] |
- ((uchar *) table->read_set->bitmap)[roop_count] |
- ((uchar *) table->write_set->bitmap)[roop_count];
- DBUG_PRINT("info",("spider roop_count=%d", roop_count));
- DBUG_PRINT("info",("spider bitmap=%d",
- bitmap[roop_count]));
- DBUG_PRINT("info",("spider searched_bitmap=%d",
- spider->searched_bitmap[roop_count]));
- DBUG_PRINT("info",("spider read_set=%d",
- ((uchar *) table->read_set->bitmap)[roop_count]));
- DBUG_PRINT("info",("spider write_set=%d",
- ((uchar *) table->write_set->bitmap)[roop_count]));
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_handlersocket_handler::init_union_table_name_pos()
-{
- DBUG_ENTER("spider_handlersocket_handler::init_union_table_name_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::set_union_table_name_pos()
-{
- DBUG_ENTER("spider_handlersocket_handler::set_union_table_name_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_handlersocket_handler::reset_union_table_name(
- spider_string *str,
- int link_idx,
- ulong sql_type
-) {
- DBUG_ENTER("spider_handlersocket_handler::reset_union_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-#endif
+/* Copyright (C) 2012-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#define MYSQL_SERVER 1
+#include "mysql_version.h"
+#if MYSQL_VERSION_ID < 50500
+#include "mysql_priv.h"
+#include <mysql/plugin.h>
+#else
+#include "sql_priv.h"
+#include "probes_mysql.h"
+#include "sql_analyse.h"
+#endif
+
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+#include "spd_err.h"
+#include "spd_param.h"
+#include "spd_db_include.h"
+#include "spd_include.h"
+#include "spd_db_handlersocket.h"
+#include "ha_spider.h"
+#include "spd_db_conn.h"
+#include "spd_trx.h"
+#include "spd_conn.h"
+#include "spd_malloc.h"
+
+extern handlerton *spider_hton_ptr;
+extern HASH spider_open_connections;
+extern SPIDER_DBTON spider_dbton[SPIDER_DBTON_SIZE];
+extern const char spider_dig_upper[];
+
+#define SPIDER_SQL_INTERVAL_STR " + interval "
+#define SPIDER_SQL_INTERVAL_LEN (sizeof(SPIDER_SQL_INTERVAL_STR) - 1)
+#define SPIDER_SQL_NEGINTERVAL_STR " - interval "
+#define SPIDER_SQL_NEGINTERVAL_LEN (sizeof(SPIDER_SQL_NEGINTERVAL_STR) - 1)
+
+#define SPIDER_SQL_NAME_QUOTE_STR ""
+#define SPIDER_SQL_NAME_QUOTE_LEN (sizeof(SPIDER_SQL_NAME_QUOTE_STR) - 1)
+static const char *name_quote_str = SPIDER_SQL_NAME_QUOTE_STR;
+
+#define SPIDER_SQL_TYPE_FULL_HS (SPIDER_SQL_TYPE_SELECT_HS | \
+ SPIDER_SQL_TYPE_INSERT_HS | SPIDER_SQL_TYPE_UPDATE_HS | \
+ SPIDER_SQL_TYPE_DELETE_HS | SPIDER_SQL_TYPE_OTHER_HS)
+
+static uchar SPIDER_SQL_LINESTRING_HEAD_STR[] =
+ {0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00};
+#define SPIDER_SQL_LINESTRING_HEAD_LEN sizeof(SPIDER_SQL_LINESTRING_HEAD_STR)
+
+static const char *spider_db_timefunc_interval_str[] =
+{
+ " year", " quarter", " month", " week", " day",
+ " hour", " minute", " second", " microsecond",
+ " year_month", " day_hour", " day_minute",
+ " day_second", " hour_minute", " hour_second",
+ " minute_second", " day_microsecond", " hour_microsecond",
+ " minute_microsecond", " second_microsecond"
+};
+
+static SPIDER_HS_STRING_REF spider_null_string_ref = SPIDER_HS_STRING_REF();
+
+int spider_handlersocket_init()
+{
+ DBUG_ENTER("spider_handlersocket_init");
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_deinit()
+{
+ DBUG_ENTER("spider_handlersocket_deinit");
+ DBUG_RETURN(0);
+}
+
+spider_db_share *spider_handlersocket_create_share(
+ SPIDER_SHARE *share
+) {
+ DBUG_ENTER("spider_handlersocket_create_share");
+ DBUG_RETURN(new spider_handlersocket_share(share));
+}
+
+spider_db_handler *spider_handlersocket_create_handler(
+ ha_spider *spider,
+ spider_db_share *db_share
+) {
+ DBUG_ENTER("spider_handlersocket_create_handler");
+ DBUG_RETURN(new spider_handlersocket_handler(spider,
+ (spider_handlersocket_share *) db_share));
+}
+
+SPIDER_DB_CONN *spider_handlersocket_create_conn(
+ SPIDER_CONN *conn
+) {
+ DBUG_ENTER("spider_handlersocket_create_conn");
+ DBUG_RETURN(new spider_db_handlersocket(conn));
+}
+
+spider_db_handlersocket_util spider_db_handlersocket_utility;
+
+SPIDER_DBTON spider_dbton_handlersocket = {
+ 0,
+ SPIDER_DB_WRAPPER_MYSQL,
+ SPIDER_DB_ACCESS_TYPE_NOSQL,
+ spider_handlersocket_init,
+ spider_handlersocket_deinit,
+ spider_handlersocket_create_share,
+ spider_handlersocket_create_handler,
+ NULL,
+ spider_handlersocket_create_conn,
+ &spider_db_handlersocket_utility
+};
+
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_hs_string_ref_buffer::init()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+void spider_db_hs_string_ref_buffer::clear()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::clear");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_conds.clear();
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_hs_string_ref_buffer::push_back(
+ SPIDER_HS_STRING_REF &cond
+) {
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::push_back");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_conds.push_back(cond);
+ DBUG_RETURN(0);
+}
+
+SPIDER_HS_STRING_REF *spider_db_hs_string_ref_buffer::ptr()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::ptr");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(&hs_conds[0]);
+}
+
+uint spider_db_hs_string_ref_buffer::size()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::size");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((uint) hs_conds.size());
+}
+#else
+spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer() : hs_da_init(FALSE)
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::spider_db_hs_string_ref_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::~spider_db_hs_string_ref_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (hs_da_init)
+ {
+ spider_free_mem_calc(spider_current_trx,
+ hs_conds_id, hs_conds.max_element * hs_conds.size_of_element);
+ delete_dynamic(&hs_conds);
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_hs_string_ref_buffer::init()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!hs_da_init)
+ {
+ SPD_INIT_DYNAMIC_ARRAY2(&hs_conds, sizeof(SPIDER_HS_STRING_REF),
+ NULL, 16, 16, MYF(MY_WME));
+ spider_alloc_calc_mem_init(hs_conds, 159);
+ spider_alloc_calc_mem(spider_current_trx,
+ hs_conds, hs_conds.max_element * hs_conds.size_of_element);
+ hs_da_init = TRUE;
+ }
+ DBUG_RETURN(0);
+}
+
+void spider_db_hs_string_ref_buffer::clear()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::clear");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_conds.elements = 0;
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_hs_string_ref_buffer::push_back(
+ SPIDER_HS_STRING_REF &cond
+) {
+ uint old_elements = hs_conds.max_element;
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::push_back");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (insert_dynamic(&hs_conds, (uchar *) &cond))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (hs_conds.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ hs_conds,
+ (hs_conds.max_element - old_elements) * hs_conds.size_of_element);
+ }
+ DBUG_RETURN(0);
+}
+
+SPIDER_HS_STRING_REF *spider_db_hs_string_ref_buffer::ptr()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::ptr");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((SPIDER_HS_STRING_REF *) hs_conds.buffer);
+}
+
+uint spider_db_hs_string_ref_buffer::size()
+{
+ DBUG_ENTER("spider_db_hs_string_ref_buffer::size");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(hs_conds.elements);
+}
+#endif
+
+spider_db_hs_str_buffer::spider_db_hs_str_buffer() : hs_da_init(FALSE)
+{
+ DBUG_ENTER("spider_db_hs_str_buffer::spider_db_hs_str_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_hs_str_buffer::~spider_db_hs_str_buffer()
+{
+ DBUG_ENTER("spider_db_hs_str_buffer::~spider_db_hs_str_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (hs_da_init)
+ {
+ spider_free_mem_calc(spider_current_trx,
+ hs_conds_id, hs_conds.max_element * hs_conds.size_of_element);
+ delete_dynamic(&hs_conds);
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_hs_str_buffer::init()
+{
+ DBUG_ENTER("spider_db_hs_str_buffer::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!hs_da_init)
+ {
+ SPD_INIT_DYNAMIC_ARRAY2(&hs_conds, sizeof(spider_string *),
+ NULL, 16, 16, MYF(MY_WME));
+ spider_alloc_calc_mem_init(hs_conds, 160);
+ spider_alloc_calc_mem(spider_current_trx,
+ hs_conds, hs_conds.max_element * hs_conds.size_of_element);
+ hs_da_init = TRUE;
+ }
+ DBUG_RETURN(0);
+}
+
+void spider_db_hs_str_buffer::clear()
+{
+ uint i;
+ spider_string *element;
+ DBUG_ENTER("spider_db_hs_str_buffer::clear");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (i = 0; i < hs_conds.elements; i++)
+ {
+ get_dynamic(&hs_conds, (uchar *) &element, i);
+ element->free();
+ spider_free(spider_current_trx, element, MYF(0));
+ }
+ hs_conds.elements = 0;
+ DBUG_VOID_RETURN;
+}
+
+spider_string *spider_db_hs_str_buffer::add(
+ uint *strs_pos,
+ const char *str,
+ uint str_len
+) {
+ spider_string *element;
+ DBUG_ENTER("spider_db_hs_str_buffer::add");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (hs_conds.elements <= *strs_pos + 1)
+ {
+ if (!(element = (spider_string *) spider_malloc(spider_current_trx, 8,
+ sizeof(spider_string), MYF(MY_WME | MY_ZEROFILL))))
+ DBUG_RETURN(NULL);
+ element->init_calc_mem(98);
+ element->set_charset(&my_charset_bin);
+ if ((element->reserve(str_len + 1)))
+ {
+ spider_free(spider_current_trx, element, MYF(0));
+ DBUG_RETURN(NULL);
+ }
+ element->q_append(str, str_len);
+ uint old_elements = hs_conds.max_element;
+ if (insert_dynamic(&hs_conds, (uchar *) &element))
+ {
+ element->free();
+ spider_free(spider_current_trx, element, MYF(0));
+ DBUG_RETURN(NULL);
+ }
+ if (hs_conds.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ hs_conds,
+ (hs_conds.max_element - old_elements) *
+ hs_conds.size_of_element);
+ }
+ } else {
+ element = ((spider_string **) hs_conds.buffer)[*strs_pos];
+ element->length(0);
+ if ((element->reserve(str_len + 1)))
+ DBUG_RETURN(NULL);
+ element->q_append(str, str_len);
+ }
+ (*strs_pos)++;
+ DBUG_RETURN(element);
+}
+
+spider_db_handlersocket_row::spider_db_handlersocket_row() :
+ spider_db_row(spider_dbton_handlersocket.dbton_id),
+ hs_row(NULL), field_count(0), cloned(FALSE)
+{
+ DBUG_ENTER("spider_db_handlersocket_row::spider_db_handlersocket_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_handlersocket_row::~spider_db_handlersocket_row()
+{
+ DBUG_ENTER("spider_db_handlersocket_row::~spider_db_handlersocket_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (cloned)
+ {
+ spider_free(spider_current_trx, hs_row_first, MYF(0));
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket_row::store_to_field(
+ Field *field,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_handlersocket_row::store_to_field");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!hs_row->begin())
+ {
+ DBUG_PRINT("info", ("spider field is null"));
+ field->set_null();
+ field->reset();
+ } else {
+#ifndef DBUG_OFF
+ char buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(buf, MAX_FIELD_WIDTH, field->charset());
+ tmp_str.init_calc_mem(119);
+ tmp_str.length(0);
+ tmp_str.append(hs_row->begin(), hs_row->size(), &my_charset_bin);
+ DBUG_PRINT("info", ("spider val=%s", tmp_str.c_ptr_safe()));
+#endif
+ field->set_notnull();
+ if (field->flags & BLOB_FLAG)
+ {
+ DBUG_PRINT("info", ("spider blob field"));
+ ((Field_blob *)field)->set_ptr(
+ hs_row->size(), (uchar *) hs_row->begin());
+ } else
+ field->store(hs_row->begin(), hs_row->size(), &my_charset_bin);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_row::append_to_str(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket_row::append_to_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(hs_row->size()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(hs_row->begin(), hs_row->size());
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_row::append_escaped_to_str(
+ spider_string *str,
+ uint dbton_id
+) {
+ DBUG_ENTER("spider_db_handlersocket_row::append_escaped_to_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_string tmp_str(hs_row->begin(), hs_row->size() + 1, &my_charset_bin);
+ tmp_str.init_calc_mem(172);
+ tmp_str.length(hs_row->size());
+ if (str->reserve(hs_row->size() * 2 + 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ spider_dbton[dbton_id].db_util->append_escaped_util(str, tmp_str.get_str());
+ str->mem_calc();
+ DBUG_RETURN(0);
+}
+
+void spider_db_handlersocket_row::first()
+{
+ DBUG_ENTER("spider_db_handlersocket_row::first");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_row = hs_row_first;
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_handlersocket_row::next()
+{
+ DBUG_ENTER("spider_db_handlersocket_row::next");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_row++;
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_handlersocket_row::is_null()
+{
+ DBUG_ENTER("spider_db_handlersocket_row::is_null");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(!hs_row->begin());
+}
+
+int spider_db_handlersocket_row::val_int()
+{
+ DBUG_ENTER("spider_db_handlersocket_row::val_int");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(atoi(hs_row->begin()));
+}
+
+double spider_db_handlersocket_row::val_real()
+{
+ DBUG_ENTER("spider_db_handlersocket_row::val_real");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(hs_row->begin() ? my_atof(hs_row->begin()) : 0.0);
+}
+
+my_decimal *spider_db_handlersocket_row::val_decimal(
+ my_decimal *decimal_value,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_handlersocket_row::val_decimal");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!hs_row->begin())
+ DBUG_RETURN(NULL);
+
+#ifdef SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
+ decimal_operation_results(str2my_decimal(0, hs_row->begin(), hs_row->size(),
+ access_charset, decimal_value), "", "");
+#else
+ decimal_operation_results(str2my_decimal(0, hs_row->begin(), hs_row->size(),
+ access_charset, decimal_value));
+#endif
+
+ DBUG_RETURN(decimal_value);
+}
+
+SPIDER_DB_ROW *spider_db_handlersocket_row::clone()
+{
+ spider_db_handlersocket_row *clone_row;
+ char *tmp_char;
+ uint row_size, i;
+ DBUG_ENTER("spider_db_handlersocket_row::clone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(clone_row = new spider_db_handlersocket_row()))
+ {
+ DBUG_RETURN(NULL);
+ }
+ row_size = 0;
+ for (i = 0; i < field_count; i++)
+ {
+ row_size += hs_row_first[i].size();
+ }
+ if (!spider_bulk_malloc(spider_current_trx, 169, MYF(MY_WME),
+ &clone_row->hs_row, sizeof(SPIDER_HS_STRING_REF) * field_count,
+ &tmp_char, row_size,
+ NullS)
+ ) {
+ delete clone_row;
+ DBUG_RETURN(NULL);
+ }
+ for (i = 0; i < field_count; i++)
+ {
+ memcpy(tmp_char, hs_row_first[i].begin(), hs_row_first[i].size());
+ clone_row->hs_row[i].set(tmp_char, hs_row_first[i].size());
+ tmp_char += hs_row_first[i].size();
+ }
+ clone_row->hs_row_first = clone_row->hs_row;
+ clone_row->cloned = TRUE;;
+ DBUG_RETURN(NULL);
+}
+
+int spider_db_handlersocket_row::store_to_tmp_table(
+ TABLE *tmp_table,
+ spider_string *str
+) {
+ uint i;
+ SPIDER_HS_STRING_REF *tmp_hs_row = hs_row;
+ DBUG_ENTER("spider_db_handlersocket_row::store_to_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ for (i = 0; i < field_count; i++)
+ {
+ if (tmp_hs_row->begin())
+ {
+ if (str->reserve(tmp_hs_row->size()))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(tmp_hs_row->begin(), tmp_hs_row->size());
+ }
+ tmp_hs_row++;
+ }
+ tmp_table->field[0]->set_notnull();
+ tmp_table->field[0]->store(
+ (const char *) hs_row,
+ sizeof(SPIDER_HS_STRING_REF) * field_count, &my_charset_bin);
+ tmp_table->field[1]->set_notnull();
+ tmp_table->field[1]->store(
+ str->ptr(), str->length(), &my_charset_bin);
+ tmp_table->field[2]->set_null();
+ DBUG_RETURN(tmp_table->file->ha_write_row(tmp_table->record[0]));
+}
+
+
+spider_db_handlersocket_result_buffer::spider_db_handlersocket_result_buffer(
+) : spider_db_result_buffer()
+{
+ DBUG_ENTER("spider_db_handlersocket_result_buffer::spider_db_handlersocket_result_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_handlersocket_result_buffer::~spider_db_handlersocket_result_buffer()
+{
+ DBUG_ENTER(
+ "spider_db_handlersocket_result_buffer::~spider_db_handlersocket_result_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_handlersocket_result_buffer::clear()
+{
+ DBUG_ENTER("spider_db_handlersocket_result_buffer::clear");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_result.readbuf.clear();
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_handlersocket_result_buffer::check_size(
+ longlong size
+) {
+ DBUG_ENTER("spider_db_handlersocket_result_buffer::check_size");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((uint) hs_result.readbuf.real_size() > size)
+ {
+ hs_result.readbuf.real_free();
+ DBUG_RETURN(TRUE);
+ }
+ DBUG_RETURN(FALSE);
+}
+
+spider_db_handlersocket_result::spider_db_handlersocket_result(
+) : spider_db_result(spider_dbton_handlersocket.dbton_id)
+{
+ DBUG_ENTER("spider_db_handlersocket_result::spider_db_handlersocket_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_handlersocket_result::~spider_db_handlersocket_result()
+{
+ DBUG_ENTER(
+ "spider_db_handlersocket_result::~spider_db_handlersocket_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_handlersocket_result::has_result()
+{
+ DBUG_ENTER("spider_db_handlersocket_result::has_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(((*hs_conn_p)->get_response_end_offset() > 0));
+}
+
+void spider_db_handlersocket_result::free_result()
+{
+ DBUG_ENTER("spider_db_handlersocket_result::free_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if ((*hs_conn_p)->get_response_end_offset() > 0)
+ {
+ (*hs_conn_p)->response_buf_remove();
+ if ((*hs_conn_p)->get_error_code())
+ {
+ DBUG_PRINT("info",("spider hs %d %s",
+ (*hs_conn_p)->get_error_code(),
+ (*hs_conn_p)->get_error().ptr()));
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ }
+ DBUG_VOID_RETURN;
+}
+
+SPIDER_DB_ROW *spider_db_handlersocket_result::current_row()
+{
+ DBUG_ENTER("spider_db_handlersocket_result::current_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((SPIDER_DB_ROW *) row.clone());
+}
+
+SPIDER_DB_ROW *spider_db_handlersocket_result::fetch_row()
+{
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(row.hs_row = (SPIDER_HS_STRING_REF *)
+ (*hs_conn_p)->get_next_row()))
+ {
+ store_error_num = HA_ERR_END_OF_FILE;
+ DBUG_RETURN(NULL);
+ }
+ row.field_count = field_count;
+ row.hs_row_first = row.hs_row;
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+SPIDER_DB_ROW *spider_db_handlersocket_result::fetch_row_from_result_buffer(
+ spider_db_result_buffer *spider_res_buf
+) {
+ spider_db_handlersocket_result_buffer *hs_res_buf;
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_row_from_result_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_res_buf = (spider_db_handlersocket_result_buffer *) spider_res_buf;
+ if (!(row.hs_row = (SPIDER_HS_STRING_REF *)
+ (*hs_conn_p)->get_next_row_from_result(hs_res_buf->hs_result)))
+ {
+ store_error_num = HA_ERR_END_OF_FILE;
+ DBUG_RETURN(NULL);
+ }
+ row.field_count = field_count;
+ row.hs_row_first = row.hs_row;
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+SPIDER_DB_ROW *spider_db_handlersocket_result::fetch_row_from_tmp_table(
+ TABLE *tmp_table
+) {
+ uint i;
+ spider_string tmp_str1, tmp_str2;
+ const char *row_ptr;
+ SPIDER_HS_STRING_REF *tmp_hs_row;
+ uint field_count;
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_row_from_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_str1.init_calc_mem(171);
+ tmp_str2.init_calc_mem(173);
+ tmp_table->field[0]->val_str(tmp_str1.get_str());
+ tmp_table->field[1]->val_str(tmp_str2.get_str());
+ tmp_str1.mem_calc();
+ tmp_str2.mem_calc();
+ row_ptr = tmp_str2.ptr();
+ tmp_hs_row = (SPIDER_HS_STRING_REF *) tmp_str1.ptr();
+ field_count = tmp_str1.length() / sizeof(SPIDER_HS_STRING_REF);
+ row.hs_row = tmp_hs_row;
+ row.field_count = field_count;
+ row.hs_row_first = row.hs_row;
+ for (i = 0; i < field_count; i++)
+ {
+ if (tmp_hs_row->begin())
+ {
+ uint length = tmp_hs_row->size();
+ tmp_hs_row->set(row_ptr, length);
+ row_ptr += length;
+ }
+ tmp_hs_row++;
+ }
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+int spider_db_handlersocket_result::fetch_table_status(
+ int mode,
+ ha_rows &records,
+ ulong &mean_rec_length,
+ ulonglong &data_file_length,
+ ulonglong &max_data_file_length,
+ ulonglong &index_file_length,
+ ulonglong &auto_increment_value,
+ time_t &create_time,
+ time_t &update_time,
+ time_t &check_time
+) {
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_table_status");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_result::fetch_table_records(
+ int mode,
+ ha_rows &records
+) {
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_table_records");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_result::fetch_table_cardinality(
+ int mode,
+ TABLE *table,
+ longlong *cardinality,
+ uchar *cardinality_upd,
+ int bitmap_size
+) {
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_table_cardinality");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_result::fetch_table_mon_status(
+ int &status
+) {
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_table_mon_status");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+longlong spider_db_handlersocket_result::num_rows()
+{
+ DBUG_ENTER("spider_db_handlersocket_result::num_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((longlong) 0);
+}
+
+uint spider_db_handlersocket_result::num_fields()
+{
+ DBUG_ENTER("spider_db_handlersocket_result::num_fields");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(field_count);
+}
+
+void spider_db_handlersocket_result::move_to_pos(
+ longlong pos
+) {
+ DBUG_ENTER("spider_db_handlersocket_result::move_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket_result::get_errno()
+{
+ DBUG_ENTER("spider_db_handlersocket_result::get_errno");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider store_error_num=%d", store_error_num));
+ DBUG_RETURN(store_error_num);
+}
+
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+int spider_db_handlersocket_result::fetch_columns_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_columns_for_discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+
+int spider_db_handlersocket_result::fetch_index_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_handlersocket_result::fetch_index_for_discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+#endif
+
+spider_db_handlersocket::spider_db_handlersocket(
+ SPIDER_CONN *conn
+) : spider_db_conn(conn),
+ handler_open_array_inited(FALSE),
+ request_key_req_first(NULL),
+ request_key_req_last(NULL),
+ request_key_snd_first(NULL),
+ request_key_snd_last(NULL),
+ request_key_reuse_first(NULL),
+ request_key_reuse_last(NULL)
+{
+ DBUG_ENTER("spider_db_handlersocket::spider_db_handlersocket");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+#else
+ hs_conn = NULL;
+#endif
+ DBUG_VOID_RETURN;
+}
+
+spider_db_handlersocket::~spider_db_handlersocket()
+{
+ st_spider_db_request_key *tmp_request_key;
+ DBUG_ENTER("spider_db_handlersocket::~spider_db_handlersocket");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (handler_open_array_inited)
+ {
+ reset_opened_handler();
+ spider_free_mem_calc(spider_current_trx,
+ handler_open_array_id,
+ handler_open_array.max_element *
+ handler_open_array.size_of_element);
+ delete_dynamic(&handler_open_array);
+ }
+ while (request_key_req_first)
+ {
+ tmp_request_key = request_key_req_first->next;
+ spider_free(spider_current_trx, request_key_req_first, MYF(0));
+ request_key_req_first = tmp_request_key;
+ }
+ while (request_key_snd_first)
+ {
+ tmp_request_key = request_key_snd_first->next;
+ spider_free(spider_current_trx, request_key_snd_first, MYF(0));
+ request_key_snd_first = tmp_request_key;
+ }
+ while (request_key_reuse_first)
+ {
+ tmp_request_key = request_key_reuse_first->next;
+ spider_free(spider_current_trx, request_key_reuse_first, MYF(0));
+ request_key_reuse_first = tmp_request_key;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket::init()
+{
+ DBUG_ENTER("spider_db_handlersocket::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (
+ SPD_INIT_DYNAMIC_ARRAY2(&handler_open_array,
+ sizeof(SPIDER_LINK_FOR_HASH *), NULL, 16, 16, MYF(MY_WME))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_alloc_calc_mem_init(handler_open_array, 79);
+ spider_alloc_calc_mem(spider_current_trx,
+ handler_open_array,
+ handler_open_array.max_element *
+ handler_open_array.size_of_element);
+ handler_open_array_inited = TRUE;
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::is_connected()
+{
+ DBUG_ENTER("spider_db_handlersocket::is_connected");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ DBUG_RETURN(hs_conn.operator->());
+#else
+ DBUG_RETURN(hs_conn);
+#endif
+}
+
+void spider_db_handlersocket::bg_connect()
+{
+ DBUG_ENTER("spider_db_handlersocket::bg_connect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket::connect(
+ char *tgt_host,
+ char *tgt_username,
+ char *tgt_password,
+ long tgt_port,
+ char *tgt_socket,
+ char *server_name,
+ int connect_retry_count,
+ longlong connect_retry_interval
+) {
+ DBUG_ENTER("spider_db_handlersocket::connect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ SPIDER_HS_SOCKARGS sockargs;
+ sockargs.timeout = conn->connect_timeout;
+ sockargs.recv_timeout = conn->net_read_timeout;
+ sockargs.send_timeout = conn->net_write_timeout;
+ if (conn->hs_sock)
+ {
+ sockargs.family = AF_UNIX;
+ sockargs.set_unix_domain(conn->hs_sock);
+ } else {
+ char port_str[6];
+ my_sprintf(port_str, (port_str, "%05ld", conn->hs_port));
+ if (sockargs.resolve(conn->tgt_host, port_str) != 0)
+ {
+ my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
+ conn->tgt_host);
+ DBUG_RETURN(ER_CONNECT_TO_FOREIGN_DATA_SOURCE);
+ }
+ }
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ if (!(hs_conn.operator->()))
+#else
+ if (!(hs_conn))
+#endif
+ {
+ hs_conn = SPIDER_HS_CONN_CREATE(sockargs);
+ } else {
+ hs_conn->reconnect();
+ spider_db_hs_request_buf_reset(conn);
+ }
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ if (!(hs_conn.operator->()))
+#else
+ if (!(hs_conn))
+#endif
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ while (hs_conn->get_error_code())
+ {
+ if (!connect_retry_count)
+ {
+ my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
+ conn->tgt_host);
+ DBUG_RETURN(ER_CONNECT_TO_FOREIGN_DATA_SOURCE);
+ }
+ connect_retry_count--;
+ my_sleep((ulong) connect_retry_interval);
+ hs_conn->reconnect();
+ }
+ reset_request_key_req();
+ reset_request_key_snd();
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::ping()
+{
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::ping");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if ((*hs_conn_p)->reconnect())
+ {
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ DBUG_RETURN(ER_SPIDER_HS_NUM);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+
+ reset_request_key_req();
+ reset_request_key_snd();
+ conn->opened_handlers = 0;
+ conn->db_conn->reset_opened_handler();
+ ++conn->connection_id;
+ DBUG_RETURN(0);
+}
+
+void spider_db_handlersocket::bg_disconnect()
+{
+ DBUG_ENTER("spider_db_handlersocket::bg_disconnect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_handlersocket::disconnect()
+{
+ DBUG_ENTER("spider_db_handlersocket::disconnect");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ if (hs_conn.operator->())
+#else
+ DBUG_PRINT("info",("spider hs_conn=%p", hs_conn));
+ if (hs_conn)
+#endif
+ {
+ hs_conn->close();
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ SPIDER_HS_CONN tmp_hs_conn;
+ tmp_hs_conn = hs_conn;
+#else
+ delete hs_conn;
+ hs_conn = NULL;
+#endif
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket::set_net_timeout()
+{
+ DBUG_ENTER("spider_db_handlersocket::set_net_timeout");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(hs_conn->set_timeout(
+ conn->net_write_timeout,
+ conn->net_read_timeout
+ ));
+}
+
+int spider_db_handlersocket::exec_query(
+ const char *query,
+ uint length,
+ int quick_mode
+) {
+ DBUG_ENTER("spider_db_handlersocket::query");
+ DBUG_PRINT("info",("spider this=%p", this));
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ DBUG_PRINT("info", ("spider hs_conn %p", hs_conn.operator->()));
+#else
+ DBUG_PRINT("info", ("spider hs_conn %p", hs_conn));
+#endif
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (spider_param_general_log())
+ {
+ const char *tgt_str = conn->hs_sock ? conn->hs_sock : conn->tgt_host;
+ uint32 tgt_len = strlen(tgt_str);
+ spider_string tmp_query_str((*hs_conn_p)->get_writebuf_size() +
+ conn->tgt_wrapper_length +
+ tgt_len + (SPIDER_SQL_SPACE_LEN * 2));
+ tmp_query_str.init_calc_mem(231);
+ tmp_query_str.length(0);
+ tmp_query_str.q_append(conn->tgt_wrapper, conn->tgt_wrapper_length);
+ tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ tmp_query_str.q_append(tgt_str, tgt_len);
+ tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ tmp_query_str.q_append((*hs_conn_p)->get_writebuf_begin(),
+ (*hs_conn_p)->get_writebuf_size());
+ general_log_write(current_thd, COM_QUERY, tmp_query_str.ptr(),
+ tmp_query_str.length());
+ }
+ if ((*hs_conn_p)->request_send() < 0)
+ {
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ DBUG_RETURN(ER_SPIDER_HS_NUM);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ move_request_key_to_snd();
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::get_errno()
+{
+ DBUG_ENTER("spider_db_handlersocket::get_errno");
+ DBUG_PRINT("info",("spider this=%p", this));
+ stored_error = hs_conn->get_error_code();
+ DBUG_PRINT("info",("spider stored_error=%d", stored_error));
+ DBUG_RETURN(stored_error);
+}
+
+const char *spider_db_handlersocket::get_error()
+{
+ const char *error_ptr;
+ DBUG_ENTER("spider_db_handlersocket::get_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ error_ptr = hs_conn->get_error().c_str();
+#else
+ error_ptr = hs_conn->get_error().c_ptr();
+#endif
+ DBUG_PRINT("info",("spider error=%s", error_ptr));
+ DBUG_RETURN(error_ptr);
+}
+
+bool spider_db_handlersocket::is_server_gone_error(
+ int error_num
+) {
+ bool server_gone;
+ DBUG_ENTER("spider_db_handlersocket::is_server_gone_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ server_gone = (hs_conn->get_error_code() < 0);
+ DBUG_PRINT("info",("spider server_gone=%s", server_gone ? "TRUE" : "FALSE"));
+ DBUG_RETURN(server_gone);
+}
+
+bool spider_db_handlersocket::is_dup_entry_error(
+ int error_num
+) {
+ bool dup_entry;
+ DBUG_ENTER("spider_db_handlersocket::is_dup_entry_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifndef HANDLERSOCKET_MYSQL_UTIL
+ const char *c_str = hs_conn->get_error().c_str();
+#else
+ const char *c_str = hs_conn->get_error().c_ptr_safe();
+#endif
+ dup_entry =
+ (
+ c_str[0] == '1' &&
+ c_str[1] == '2' &&
+ c_str[2] == '1' &&
+ c_str[3] == '\0'
+ );
+ DBUG_PRINT("info",("spider dup_entry=%s", dup_entry ? "TRUE" : "FALSE"));
+ DBUG_RETURN(dup_entry);
+}
+
+bool spider_db_handlersocket::is_xa_nota_error(
+ int error_num
+) {
+ bool xa_nota;
+ DBUG_ENTER("spider_db_handlersocket::is_xa_nota_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ xa_nota = (stored_error == ER_XAER_NOTA);
+ DBUG_PRINT("info",("spider xa_nota=%s", xa_nota ? "TRUE" : "FALSE"));
+ DBUG_RETURN(xa_nota);
+}
+
+spider_db_result *spider_db_handlersocket::store_result(
+ spider_db_result_buffer **spider_res_buf,
+ st_spider_db_request_key *request_key,
+ int *error_num
+) {
+ int internal_error;
+ spider_db_handlersocket_result *result;
+ spider_db_handlersocket_result_buffer *hs_res_buf;
+ DBUG_ENTER("spider_db_handlersocket::store_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (*spider_res_buf)
+ {
+ hs_res_buf = (spider_db_handlersocket_result_buffer *) *spider_res_buf;
+ } else {
+ if (!(hs_res_buf = new spider_db_handlersocket_result_buffer()))
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ DBUG_RETURN(NULL);
+ }
+ *spider_res_buf = (spider_db_result_buffer *) hs_res_buf;
+ }
+ hs_res_buf->clear();
+ if (!(result = new spider_db_handlersocket_result()))
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ DBUG_RETURN(NULL);
+ }
+ *error_num = 0;
+ result->hs_conn_p = &hs_conn;
+ size_t num_fields;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ if (request_key)
+ {
+ int tmp_res, tmp_err = (*hs_conn_p)->get_error_code();
+ while ((tmp_res = check_request_key(request_key)) == 1)
+ {
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if ((internal_error = (*hs_conn_p)->response_recv(num_fields)))
+ {
+ if (!tmp_err && internal_error > 0)
+ {
+ (*hs_conn_p)->clear_error();
+ } else {
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+#ifndef DBUG_OFF
+ if ((*hs_conn_p)->get_response_end_offset() > 0 &&
+ (*hs_conn_p)->get_readbuf_begin())
+ {
+ char tmp_buf[MAX_FIELD_WIDTH];
+ String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ tmp_str.length(0);
+ tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
+ (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
+ DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
+ (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
+ }
+#endif
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (internal_error > 0)
+ {
+ (*hs_conn_p)->response_buf_remove();
+ if ((*hs_conn_p)->get_error_code())
+ {
+ DBUG_PRINT("info",("spider hs %d %s",
+ (*hs_conn_p)->get_error_code(),
+ (*hs_conn_p)->get_error().ptr()));
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->clear_error();
+ }
+ delete result;
+ DBUG_RETURN(NULL);
+ }
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->response_buf_remove();
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ }
+ if (tmp_res == -1)
+ {
+ DBUG_PRINT("info",("spider ER_SPIDER_REQUEST_KEY_NUM"));
+ *error_num = ER_SPIDER_REQUEST_KEY_NUM;
+ DBUG_RETURN(NULL);
+ }
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (
+ (internal_error = (*hs_conn_p)->response_recv(num_fields)) ||
+ (*error_num = (*hs_conn_p)->get_result(hs_res_buf->hs_result))
+ ) {
+ if (*error_num)
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ }
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+#ifndef DBUG_OFF
+ if ((*hs_conn_p)->get_response_end_offset() > 0 &&
+ (*hs_conn_p)->get_readbuf_begin())
+ {
+ char tmp_buf[MAX_FIELD_WIDTH];
+ String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ tmp_str.length(0);
+ tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
+ (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
+ DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
+ (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
+ }
+#endif
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (internal_error > 0)
+ {
+ (*hs_conn_p)->response_buf_remove();
+ if ((*hs_conn_p)->get_error_code())
+ {
+ DBUG_PRINT("info",("spider hs %d %s",
+ (*hs_conn_p)->get_error_code(),
+ (*hs_conn_p)->get_error().ptr()));
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ }
+ delete result;
+ DBUG_RETURN(NULL);
+ }
+#ifndef DBUG_OFF
+ if ((*hs_conn_p)->get_response_end_offset() > 0 &&
+ (*hs_conn_p)->get_readbuf_begin())
+ {
+ char tmp_buf[MAX_FIELD_WIDTH];
+ String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ tmp_str.length(0);
+ tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
+ (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
+ DBUG_PRINT("info",("spider hs readbuf02 size=%zu str=%s",
+ (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
+ }
+#endif
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->response_buf_remove();
+ if ((*hs_conn_p)->get_error_code())
+ {
+ DBUG_PRINT("info",("spider hs %d %s",
+ (*hs_conn_p)->get_error_code(),
+ (*hs_conn_p)->get_error().ptr()));
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ field_count = (uint) num_fields;
+ result->field_count = field_count;
+ DBUG_RETURN(result);
+}
+
+spider_db_result *spider_db_handlersocket::use_result(
+ st_spider_db_request_key *request_key,
+ int *error_num
+) {
+ int internal_error;
+ spider_db_handlersocket_result *result;
+ DBUG_ENTER("spider_db_handlersocket::use_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(result = new spider_db_handlersocket_result()))
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ DBUG_RETURN(NULL);
+ }
+ *error_num = 0;
+ result->hs_conn_p = &hs_conn;
+ size_t num_fields;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ if (request_key)
+ {
+ int tmp_res, tmp_err = (*hs_conn_p)->get_error_code();
+ while ((tmp_res = check_request_key(request_key)) == 1)
+ {
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if ((internal_error = (*hs_conn_p)->response_recv(num_fields)))
+ {
+ if (!tmp_err && internal_error > 0)
+ {
+ (*hs_conn_p)->clear_error();
+ } else {
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+#ifndef DBUG_OFF
+ if ((*hs_conn_p)->get_response_end_offset() > 0 &&
+ (*hs_conn_p)->get_readbuf_begin())
+ {
+ char tmp_buf[MAX_FIELD_WIDTH];
+ String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ tmp_str.length(0);
+ tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
+ (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
+ DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
+ (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
+ }
+#endif
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (internal_error > 0)
+ {
+ (*hs_conn_p)->response_buf_remove();
+ if ((*hs_conn_p)->get_error_code())
+ {
+ DBUG_PRINT("info",("spider hs %d %s",
+ (*hs_conn_p)->get_error_code(),
+ (*hs_conn_p)->get_error().ptr()));
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->clear_error();
+ }
+ delete result;
+ DBUG_RETURN(NULL);
+ }
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->response_buf_remove();
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ }
+ if (tmp_res == -1)
+ {
+ DBUG_PRINT("info",("spider ER_SPIDER_REQUEST_KEY_NUM"));
+ *error_num = ER_SPIDER_REQUEST_KEY_NUM;
+ DBUG_RETURN(NULL);
+ }
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (
+ (internal_error = (*hs_conn_p)->response_recv(num_fields))
+ ) {
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+#ifndef DBUG_OFF
+ if ((*hs_conn_p)->get_response_end_offset() > 0 &&
+ (*hs_conn_p)->get_readbuf_begin())
+ {
+ char tmp_buf[MAX_FIELD_WIDTH];
+ String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ tmp_str.length(0);
+ tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
+ (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
+ DBUG_PRINT("info",("spider hs readbuf01 size=%zu str=%s",
+ (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
+ }
+#endif
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (internal_error > 0)
+ {
+ (*hs_conn_p)->response_buf_remove();
+ if ((*hs_conn_p)->get_error_code())
+ {
+ DBUG_PRINT("info",("spider hs %d %s",
+ (*hs_conn_p)->get_error_code(),
+ (*hs_conn_p)->get_error().ptr()));
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ }
+ delete result;
+ DBUG_RETURN(NULL);
+ }
+#ifndef DBUG_OFF
+ if ((*hs_conn_p)->get_response_end_offset() > 0 &&
+ (*hs_conn_p)->get_readbuf_begin())
+ {
+ char tmp_buf[MAX_FIELD_WIDTH];
+ String tmp_str(tmp_buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ tmp_str.length(0);
+ tmp_str.append((*hs_conn_p)->get_readbuf_begin(),
+ (*hs_conn_p)->get_response_end_offset(), &my_charset_bin);
+ DBUG_PRINT("info",("spider hs readbuf02 size=%zu str=%s",
+ (*hs_conn_p)->get_response_end_offset(), tmp_str.c_ptr_safe()));
+ }
+#endif
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ field_count = (uint) num_fields;
+ result->field_count = field_count;
+ DBUG_RETURN(result);
+}
+
+int spider_db_handlersocket::next_result()
+{
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::next_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ if ((*hs_conn_p)->stable_point())
+ DBUG_RETURN(-1);
+ DBUG_RETURN(0);
+}
+
+uint spider_db_handlersocket::affected_rows()
+{
+ int error_num;
+ const SPIDER_HS_STRING_REF *hs_row;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::affected_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ if (
+ field_count != 1 ||
+ !(hs_row = (*hs_conn_p)->get_next_row()) ||
+ !hs_row->begin()
+ ) {
+ DBUG_RETURN(0);
+ }
+ DBUG_RETURN((uint) my_strtoll10(hs_row->begin(), (char**) NULL, &error_num));
+}
+
+ulonglong spider_db_handlersocket::last_insert_id()
+{
+ DBUG_ENTER("spider_db_handlersocket::last_insert_id");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::set_character_set(
+ const char *csname
+) {
+ DBUG_ENTER("spider_db_handlersocket::set_character_set");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::select_db(
+ const char *dbname
+) {
+ DBUG_ENTER("spider_db_handlersocket::select_db");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::consistent_snapshot(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::consistent_snapshot");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::trx_start_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_handlersocket::trx_start_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_handlersocket::start_transaction(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::start_transaction");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::commit(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::commit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::rollback(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::rollback");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::xa_start_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_handlersocket::xa_start_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_handlersocket::xa_start(
+ XID *xid,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::xa_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::xa_end(
+ XID *xid,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::xa_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::xa_prepare(
+ XID *xid,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::xa_prepare");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::xa_commit(
+ XID *xid,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::xa_commit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::xa_rollback(
+ XID *xid,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::xa_rollback");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::set_trx_isolation_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_handlersocket::set_trx_isolation_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_handlersocket::set_trx_isolation(
+ int trx_isolation,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::set_trx_isolation");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::set_autocommit_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_handlersocket::set_autocommit_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_handlersocket::set_autocommit(
+ bool autocommit,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::set_autocommit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::set_sql_log_off_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_handlersocket::set_sql_log_off_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_handlersocket::set_sql_log_off(
+ bool sql_log_off,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::set_sql_log_off");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::set_time_zone_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_handlersocket::set_time_zone_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_handlersocket::set_time_zone(
+ Time_zone *time_zone,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_handlersocket::set_time_zone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::append_sql(
+ char *sql,
+ ulong sql_length,
+ st_spider_db_request_key *request_key
+) {
+ int error_num;
+ size_t req_num;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::append_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = append_request_key(request_key)))
+ DBUG_RETURN(error_num);
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ if (!(req_num = (*hs_conn_p)->request_buf_append(sql, sql + sql_length)))
+ {
+ DBUG_PRINT("info",("spider hs %d %s",
+ (*hs_conn_p)->get_error_code(),
+ (*hs_conn_p)->get_error().ptr()));
+ (*hs_conn_p)->write_error_to_log(__func__, __FILE__, __LINE__);
+ DBUG_RETURN((*hs_conn_p)->get_error_code());
+ }
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ while (req_num > 1)
+ {
+ if ((error_num = append_request_key(request_key)))
+ DBUG_RETURN(error_num);
+ --req_num;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::append_open_handler(
+ uint handler_id,
+ const char *db_name,
+ const char *table_name,
+ const char *index_name,
+ const char *sql,
+ st_spider_db_request_key *request_key
+) {
+ int error_num;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::append_open_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = append_request_key(request_key)))
+ DBUG_RETURN(error_num);
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->request_buf_open_index(
+ handler_id,
+ db_name,
+ table_name,
+ index_name,
+ sql
+ );
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::append_select(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+) {
+ int error_num;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::append_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = append_request_key(request_key)))
+ DBUG_RETURN(error_num);
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->request_buf_exec_generic(
+ handler_id,
+ SPIDER_HS_STRING_REF(sql->ptr(), sql->length()),
+ keys->ptr(), (size_t) keys->size(),
+ limit, skip,
+ SPIDER_HS_STRING_REF(),
+ NULL, 0);
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::append_insert(
+ uint handler_id,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ st_spider_db_request_key *request_key
+) {
+ int error_num;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::append_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = append_request_key(request_key)))
+ DBUG_RETURN(error_num);
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->request_buf_exec_generic(
+ handler_id,
+ SPIDER_HS_STRING_REF(SPIDER_SQL_HS_INSERT_STR, SPIDER_SQL_HS_INSERT_LEN),
+ upds->ptr(), (size_t) upds->size(),
+ 0, 0,
+ SPIDER_HS_STRING_REF(), NULL, 0);
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::append_update(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ int limit,
+ int skip,
+ bool increment,
+ bool decrement,
+ st_spider_db_request_key *request_key
+) {
+ int error_num;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = append_request_key(request_key)))
+ DBUG_RETURN(error_num);
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->request_buf_exec_generic(
+ handler_id,
+ SPIDER_HS_STRING_REF(sql->ptr(), sql->length()),
+ keys->ptr(), (size_t) keys->size(),
+ limit, skip,
+ increment ?
+ SPIDER_HS_STRING_REF(SPIDER_SQL_HS_INCREMENT_STR,
+ SPIDER_SQL_HS_INCREMENT_LEN) :
+ decrement ?
+ SPIDER_HS_STRING_REF(SPIDER_SQL_HS_DECREMENT_STR,
+ SPIDER_SQL_HS_DECREMENT_LEN) :
+ SPIDER_HS_STRING_REF(SPIDER_SQL_HS_UPDATE_STR,
+ SPIDER_SQL_HS_UPDATE_LEN),
+ upds->ptr(), (size_t) upds->size()
+ );
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::append_delete(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+) {
+ int error_num;
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = append_request_key(request_key)))
+ DBUG_RETURN(error_num);
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->request_buf_exec_generic(
+ handler_id,
+ SPIDER_HS_STRING_REF(sql->ptr(), sql->length()),
+ keys->ptr(), (size_t) keys->size(),
+ limit, skip,
+ SPIDER_HS_STRING_REF(SPIDER_SQL_HS_DELETE_STR, SPIDER_SQL_HS_DELETE_LEN),
+ NULL, 0);
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ DBUG_RETURN(0);
+}
+
+void spider_db_handlersocket::reset_request_queue()
+{
+ SPIDER_HS_CONN *hs_conn_p = &hs_conn;
+ DBUG_ENTER("spider_db_handlersocket::reset_request_queue");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider hs hs_conn=%p", hs_conn_p));
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ (*hs_conn_p)->request_reset();
+ DBUG_PRINT("info",("spider hs num_req_bufd=%zu",
+ (*hs_conn_p)->get_num_req_bufd()));
+ DBUG_PRINT("info",("spider hs num_req_sent=%zu",
+ (*hs_conn_p)->get_num_req_sent()));
+ DBUG_PRINT("info",("spider hs num_req_rcvd=%zu",
+ (*hs_conn_p)->get_num_req_rcvd()));
+ DBUG_PRINT("info",("spider hs response_end_offset=%zu",
+ (*hs_conn_p)->get_response_end_offset()));
+ reset_request_key_req();
+ DBUG_VOID_RETURN;
+}
+
+size_t spider_db_handlersocket::escape_string(
+ char *to,
+ const char *from,
+ size_t from_length
+) {
+ DBUG_ENTER("spider_db_handlersocket::escape_string");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ memcpy(to, from, from_length);
+ DBUG_RETURN(from_length);
+}
+
+bool spider_db_handlersocket::have_lock_table_list()
+{
+ DBUG_ENTER("spider_db_handlersocket::have_lock_table_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_handlersocket::append_lock_tables(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket::lock_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket::append_unlock_tables(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket::append_unlock_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+uint spider_db_handlersocket::get_lock_table_hash_count()
+{
+ DBUG_ENTER("spider_db_handlersocket::get_lock_table_hash_count");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+void spider_db_handlersocket::reset_lock_table_hash()
+{
+ DBUG_ENTER("spider_db_handlersocket::reset_lock_table_hash");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+uint spider_db_handlersocket::get_opened_handler_count()
+{
+ DBUG_ENTER("spider_db_handlersocket::get_opened_handler_count");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(handler_open_array.elements);
+}
+
+void spider_db_handlersocket::reset_opened_handler()
+{
+ ha_spider *tmp_spider;
+ int tmp_link_idx;
+ SPIDER_LINK_FOR_HASH **tmp_link_for_hash;
+ DBUG_ENTER("spider_db_handlersocket::reset_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ while ((tmp_link_for_hash =
+ (SPIDER_LINK_FOR_HASH **) pop_dynamic(&handler_open_array)))
+ {
+ tmp_spider = (*tmp_link_for_hash)->spider;
+ tmp_link_idx = (*tmp_link_for_hash)->link_idx;
+ tmp_spider->clear_handler_opened(tmp_link_idx, conn->conn_kind);
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_handlersocket::set_dup_key_idx(
+ ha_spider *spider,
+ int link_idx
+) {
+ DBUG_ENTER("spider_db_handlersocket::set_dup_key_idx");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket::append_request_key(
+ st_spider_db_request_key *request_key
+) {
+ st_spider_db_request_key *tmp_request_key;
+ DBUG_ENTER("spider_db_handlersocket::append_request_key");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider request_key=%p", request_key));
+ if (request_key)
+ {
+ DBUG_PRINT("info",("spider request_key->spider_thread_id=%llu",
+ request_key->spider_thread_id));
+ DBUG_PRINT("info",("spider request_key->query_id=%llu",
+ request_key->query_id));
+ DBUG_PRINT("info",("spider request_key->handler=%p",
+ request_key->handler));
+ DBUG_PRINT("info",("spider request_key->request_id=%llu",
+ request_key->request_id));
+ if (request_key_reuse_first)
+ {
+ tmp_request_key = request_key_reuse_first;
+ request_key_reuse_first = request_key_reuse_first->next;
+ if (!request_key_reuse_first)
+ request_key_reuse_last = NULL;
+ } else {
+ if (!(tmp_request_key = (st_spider_db_request_key *)
+ spider_malloc(spider_current_trx, 1, sizeof(st_spider_db_request_key),
+ MYF(MY_WME)))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ *tmp_request_key = *request_key;
+ tmp_request_key->next = NULL;
+ if (request_key_req_last)
+ request_key_req_last->next = tmp_request_key;
+ else
+ request_key_req_first = tmp_request_key;
+ request_key_req_last = tmp_request_key;
+ }
+ DBUG_RETURN(0);
+}
+
+void spider_db_handlersocket::reset_request_key_req()
+{
+ DBUG_ENTER("spider_db_handlersocket::reset_request_key_req");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (request_key_req_first)
+ {
+ if (request_key_reuse_last)
+ request_key_reuse_last->next = request_key_req_first;
+ else
+ request_key_reuse_first = request_key_req_first;
+ request_key_reuse_last = request_key_req_last;
+ request_key_req_first = NULL;
+ request_key_req_last = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_handlersocket::reset_request_key_snd()
+{
+ DBUG_ENTER("spider_db_handlersocket::reset_request_key_snd");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (request_key_snd_first)
+ {
+ if (request_key_reuse_last)
+ request_key_reuse_last->next = request_key_snd_first;
+ else
+ request_key_reuse_first = request_key_snd_first;
+ request_key_reuse_last = request_key_snd_last;
+ request_key_snd_first = NULL;
+ request_key_snd_last = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_handlersocket::move_request_key_to_snd()
+{
+ DBUG_ENTER("spider_db_handlersocket::move_request_key_to_snd");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (request_key_req_first)
+ {
+ if (request_key_snd_last)
+ request_key_snd_last->next = request_key_req_first;
+ else
+ request_key_snd_first = request_key_req_first;
+ request_key_snd_last = request_key_req_last;
+ request_key_req_first = NULL;
+ request_key_req_last = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket::check_request_key(
+ st_spider_db_request_key *request_key
+) {
+ st_spider_db_request_key *tmp_request_key;
+ DBUG_ENTER("spider_db_handlersocket::check_request_key");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider request_key=%p", request_key));
+ DBUG_PRINT("info",("spider request_key_snd_first=%p",
+ request_key_snd_first));
+ if (!request_key_snd_first)
+ {
+ DBUG_PRINT("info",("spider -1"));
+ DBUG_RETURN(-1);
+ }
+ tmp_request_key = request_key_snd_first;
+ request_key_snd_first = request_key_snd_first->next;
+ if (!request_key_snd_first)
+ request_key_snd_last = NULL;
+ tmp_request_key->next = NULL;
+ if (request_key_reuse_last)
+ request_key_reuse_last->next = tmp_request_key;
+ else
+ request_key_reuse_first = tmp_request_key;
+ request_key_reuse_last = tmp_request_key;
+
+ DBUG_PRINT("info",("spider tmp_request_key->spider_thread_id=%llu",
+ tmp_request_key->spider_thread_id));
+ DBUG_PRINT("info",("spider request_key->spider_thread_id=%llu",
+ request_key->spider_thread_id));
+ DBUG_PRINT("info",("spider tmp_request_key->query_id=%llu",
+ tmp_request_key->query_id));
+ DBUG_PRINT("info",("spider request_key->query_id=%llu",
+ request_key->query_id));
+ DBUG_PRINT("info",("spider tmp_request_key->handler=%p",
+ tmp_request_key->handler));
+ DBUG_PRINT("info",("spider request_key->handler=%p",
+ request_key->handler));
+ DBUG_PRINT("info",("spider tmp_request_key->request_id=%llu",
+ tmp_request_key->request_id));
+ DBUG_PRINT("info",("spider request_key->request_id=%llu",
+ request_key->request_id));
+ if (
+ tmp_request_key->spider_thread_id != request_key->spider_thread_id ||
+ tmp_request_key->query_id != request_key->query_id ||
+ tmp_request_key->handler != request_key->handler ||
+ tmp_request_key->request_id != request_key->request_id
+ ) {
+ DBUG_PRINT("info",("spider 1"));
+ DBUG_RETURN(1);
+ }
+ DBUG_PRINT("info",("spider 0"));
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket::cmp_request_key_to_snd(
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_handlersocket::cmp_request_key_to_snd");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider request_key=%p", request_key));
+ if (
+ !request_key
+ ) {
+ DBUG_PRINT("info",("spider TRUE"));
+ DBUG_RETURN(TRUE);
+ }
+ DBUG_PRINT("info",("spider request_key_snd_first=%p",
+ request_key_snd_first));
+ if (
+ !request_key_snd_first
+ ) {
+ DBUG_PRINT("info",("spider FALSE"));
+ DBUG_RETURN(FALSE);
+ }
+ DBUG_PRINT("info",("spider request_key_snd_first->spider_thread_id=%llu",
+ request_key_snd_first->spider_thread_id));
+ DBUG_PRINT("info",("spider request_key->spider_thread_id=%llu",
+ request_key->spider_thread_id));
+ DBUG_PRINT("info",("spider request_key_snd_first->query_id=%llu",
+ request_key_snd_first->query_id));
+ DBUG_PRINT("info",("spider request_key->query_id=%llu",
+ request_key->query_id));
+ DBUG_PRINT("info",("spider request_key_snd_first->handler=%p",
+ request_key_snd_first->handler));
+ DBUG_PRINT("info",("spider request_key->handler=%p",
+ request_key->handler));
+ DBUG_PRINT("info",("spider request_key_snd_first->request_id=%llu",
+ request_key_snd_first->request_id));
+ DBUG_PRINT("info",("spider request_key->request_id=%llu",
+ request_key->request_id));
+ if (
+ request_key_snd_first->spider_thread_id != request_key->spider_thread_id ||
+ request_key_snd_first->query_id != request_key->query_id ||
+ request_key_snd_first->handler != request_key->handler ||
+ request_key_snd_first->request_id != request_key->request_id
+ ) {
+ DBUG_PRINT("info",("spider FALSE"));
+ DBUG_RETURN(FALSE);
+ }
+ DBUG_PRINT("info",("spider TRUE"));
+ DBUG_RETURN(TRUE);
+}
+
+spider_db_handlersocket_util::spider_db_handlersocket_util() : spider_db_util()
+{
+ DBUG_ENTER("spider_db_handlersocket_util::spider_db_handlersocket_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_handlersocket_util::~spider_db_handlersocket_util()
+{
+ DBUG_ENTER("spider_db_handlersocket_util::~spider_db_handlersocket_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_handlersocket_util::append_name(
+ spider_string *str,
+ const char *name,
+ uint name_length
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_name");
+ str->q_append(name, name_length);
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_name_with_charset(
+ spider_string *str,
+ const char *name,
+ uint name_length,
+ CHARSET_INFO *name_charset
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_name_with_charset");
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2 + name_length * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->append(name, name_length, name_charset);
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+bool spider_db_handlersocket_util::is_name_quote(
+ const char head_code
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::is_name_quote");
+ DBUG_RETURN(head_code == *name_quote_str);
+}
+
+int spider_db_handlersocket_util::append_escaped_name_quote(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_escaped_name_quote");
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_column_value(
+ ha_spider *spider,
+ spider_string *str,
+ Field *field,
+ const uchar *new_ptr,
+ CHARSET_INFO *access_charset
+) {
+ char buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ String *ptr;
+ uint length;
+ DBUG_ENTER("spider_db_handlersocket_util::append_column_value");
+ tmp_str.init_calc_mem(180);
+
+ if (new_ptr)
+ {
+ if (
+ field->type() == MYSQL_TYPE_BLOB ||
+ field->real_type() == MYSQL_TYPE_VARCHAR
+ ) {
+ length = uint2korr(new_ptr);
+ tmp_str.set_quick((char *) new_ptr + HA_KEY_BLOB_LENGTH, length,
+ &my_charset_bin);
+ ptr = tmp_str.get_str();
+ } else if (field->type() == MYSQL_TYPE_GEOMETRY)
+ {
+/*
+ uint mlength = SIZEOF_STORED_DOUBLE, lcnt;
+ uchar *dest = (uchar *) buf;
+ const uchar *source;
+ for (lcnt = 0; lcnt < 4; lcnt++)
+ {
+ mlength = SIZEOF_STORED_DOUBLE;
+ source = new_ptr + mlength + SIZEOF_STORED_DOUBLE * lcnt;
+ while (mlength--)
+ *dest++ = *--source;
+ }
+ tmp_str.length(SIZEOF_STORED_DOUBLE * lcnt);
+*/
+ double xmin, xmax, ymin, ymax;
+/*
+ float8store(buf,xmin);
+ float8store(buf+8,xmax);
+ float8store(buf+16,ymin);
+ float8store(buf+24,ymax);
+ memcpy(&xmin,new_ptr,sizeof(xmin));
+ memcpy(&xmax,new_ptr + 8,sizeof(xmax));
+ memcpy(&ymin,new_ptr + 16,sizeof(ymin));
+ memcpy(&ymax,new_ptr + 24,sizeof(ymax));
+ float8get(xmin, buf);
+ float8get(xmax, buf + 8);
+ float8get(ymin, buf + 16);
+ float8get(ymax, buf + 24);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ DBUG_PRINT("info", ("spider geo is %.14g %.14g %.14g %.14g",
+ xmin, xmax, ymin, ymax));
+*/
+ float8get(xmin, new_ptr);
+ float8get(xmax, new_ptr + 8);
+ float8get(ymin, new_ptr + 16);
+ float8get(ymax, new_ptr + 24);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+/*
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 4);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 5);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 6);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 7);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 8);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 9);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 10);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 11);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 12);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 13);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 14);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 15);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+*/
+/*
+ tmp_str.set_quick((char *) new_ptr, SIZEOF_STORED_DOUBLE * 4,
+ &my_charset_bin);
+*/
+ tmp_str.length(0);
+ tmp_str.q_append((char *) SPIDER_SQL_LINESTRING_HEAD_STR,
+ SPIDER_SQL_LINESTRING_HEAD_LEN);
+ tmp_str.q_append((char *) new_ptr, SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 2,
+ SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE,
+ SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 3,
+ SIZEOF_STORED_DOUBLE);
+ ptr = tmp_str.get_str();
+ } else {
+ ptr = field->val_str(tmp_str.get_str(), new_ptr);
+ tmp_str.mem_calc();
+ }
+ } else {
+ ptr = field->val_str(tmp_str.get_str());
+ tmp_str.mem_calc();
+ }
+ DBUG_PRINT("info", ("spider field->type() is %d", field->type()));
+ DBUG_PRINT("info", ("spider ptr->length() is %d", ptr->length()));
+/*
+ if (
+ field->type() == MYSQL_TYPE_BIT ||
+ (field->type() >= MYSQL_TYPE_TINY_BLOB &&
+ field->type() <= MYSQL_TYPE_BLOB)
+ ) {
+ uchar *hex_ptr = (uchar *) ptr->ptr(), *end_ptr;
+ char *str_ptr;
+ DBUG_PRINT("info", ("spider HEX"));
+ if (str->reserve(SPIDER_SQL_HEX_LEN + ptr->length() * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HEX_STR, SPIDER_SQL_HEX_LEN);
+ str_ptr = (char *) str->ptr() + str->length();
+ for (end_ptr = hex_ptr + ptr->length(); hex_ptr < end_ptr; hex_ptr++)
+ {
+ *str_ptr++ = spider_dig_upper[(*hex_ptr) >> 4];
+ *str_ptr++ = spider_dig_upper[(*hex_ptr) & 0x0F];
+ }
+ str->length(str->length() + ptr->length() * 2);
+ } else
+*/
+ spider_handlersocket_handler *hs_handler = (spider_handlersocket_handler *)
+ spider->dbton_handler[spider_dbton_handlersocket.dbton_id];
+ spider_string *hs_str;
+ if (!(hs_str = hs_handler->hs_strs.add(
+ &hs_handler->hs_strs_pos, ptr->ptr(), ptr->length())))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ SPIDER_HS_STRING_REF ref =
+ SPIDER_HS_STRING_REF(hs_str->ptr(), hs_str->length());
+ if (hs_handler->hs_adding_keys)
+ {
+ DBUG_PRINT("info", ("spider add to key:%s", hs_str->c_ptr_safe()));
+ hs_handler->hs_keys.push_back(ref);
+ } else {
+ DBUG_PRINT("info", ("spider add to upd:%s", hs_str->c_ptr_safe()));
+ hs_handler->hs_upds.push_back(ref);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_trx_isolation(
+ spider_string *str,
+ int trx_isolation
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_trx_isolation");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_autocommit(
+ spider_string *str,
+ bool autocommit
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_autocommit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_sql_log_off(
+ spider_string *str,
+ bool sql_log_off
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_sql_log_off");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_time_zone(
+ spider_string *str,
+ Time_zone *time_zone
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_time_zone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_start_transaction(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_start_transaction");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_xa_start(
+ spider_string *str,
+ XID *xid
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_xa_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_lock_table_head(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_lock_table_head");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_lock_table_body(
+ spider_string *str,
+ const char *db_name,
+ uint db_name_length,
+ CHARSET_INFO *db_name_charset,
+ const char *table_name,
+ uint table_name_length,
+ CHARSET_INFO *table_name_charset,
+ int lock_type
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_lock_table_body");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_lock_table_tail(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_lock_table_tail");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::append_unlock_table(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_unlock_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_handlersocket_util::open_item_func(
+ Item_func *item_func,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ uint dbton_id = spider_dbton_handlersocket.dbton_id;
+ int error_num;
+ Item *item, **item_list = item_func->arguments();
+ uint roop_count, item_count = item_func->argument_count(), start_item = 0;
+ const char *func_name = SPIDER_SQL_NULL_CHAR_STR,
+ *separete_str = SPIDER_SQL_NULL_CHAR_STR,
+ *last_str = SPIDER_SQL_NULL_CHAR_STR;
+ int func_name_length = SPIDER_SQL_NULL_CHAR_LEN,
+ separete_str_length = SPIDER_SQL_NULL_CHAR_LEN,
+ last_str_length = SPIDER_SQL_NULL_CHAR_LEN;
+ int use_pushdown_udf;
+ DBUG_ENTER("spider_db_handlersocket_util::open_item_func");
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ DBUG_PRINT("info",("spider functype = %d", item_func->functype()));
+ switch (item_func->functype())
+ {
+ case Item_func::ISNULL_FUNC:
+ last_str = SPIDER_SQL_IS_NULL_STR;
+ last_str_length = SPIDER_SQL_IS_NULL_LEN;
+ break;
+ case Item_func::ISNOTNULL_FUNC:
+ last_str = SPIDER_SQL_IS_NOT_NULL_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_NULL_LEN;
+ break;
+ case Item_func::UNKNOWN_FUNC:
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (func_name_length == 1 &&
+ (
+ !strncasecmp("+", func_name, func_name_length) ||
+ !strncasecmp("-", func_name, func_name_length) ||
+ !strncasecmp("*", func_name, func_name_length) ||
+ !strncasecmp("/", func_name, func_name_length) ||
+ !strncasecmp("%", func_name, func_name_length) ||
+ !strncasecmp("&", func_name, func_name_length) ||
+ !strncasecmp("|", func_name, func_name_length) ||
+ !strncasecmp("^", func_name, func_name_length)
+ )
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 2 &&
+ (
+ !strncasecmp("<<", func_name, func_name_length) ||
+ !strncasecmp(">>", func_name, func_name_length)
+ )
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 3 &&
+ !strncasecmp("div", func_name, func_name_length)
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 4)
+ {
+ if (
+ !strncasecmp("rand", func_name, func_name_length) &&
+ !item_func->arg_count
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (
+ !strncasecmp("case", func_name, func_name_length)
+ ) {
+#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC
+ Item_func_case *item_func_case = (Item_func_case *) item_func;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_CASE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CASE_STR, SPIDER_SQL_CASE_LEN);
+ }
+ if (item_func_case->first_expr_num != -1)
+ {
+ if ((error_num = spider_db_print_item_type(
+ item_list[item_func_case->first_expr_num], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ for (roop_count = 0; roop_count < item_func_case->ncases;
+ roop_count += 2)
+ {
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_WHEN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHEN_STR, SPIDER_SQL_WHEN_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[roop_count], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_THEN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_THEN_STR, SPIDER_SQL_THEN_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[roop_count + 1], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (item_func_case->else_expr_num != -1)
+ {
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_ELSE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ELSE_STR, SPIDER_SQL_ELSE_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[item_func_case->else_expr_num], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_END_LEN + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_END_STR, SPIDER_SQL_END_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+#else
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+#endif
+ }
+ } else if (func_name_length == 6 &&
+ !strncasecmp("istrue", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_TRUE_STR;
+ last_str_length = SPIDER_SQL_IS_TRUE_LEN;
+ break;
+ } else if (func_name_length == 7)
+ {
+ if (!strncasecmp("isfalse", func_name, func_name_length))
+ {
+ last_str = SPIDER_SQL_IS_FALSE_STR;
+ last_str_length = SPIDER_SQL_IS_FALSE_LEN;
+ break;
+ } else if (
+ !strncasecmp("sysdate", func_name, func_name_length) ||
+ !strncasecmp("curdate", func_name, func_name_length) ||
+ !strncasecmp("curtime", func_name, func_name_length)
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (
+ !strncasecmp("convert", func_name, func_name_length)
+ ) {
+ if (str)
+ {
+ if (str->reserve(func_name_length * 2 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
+ SPIDER_SQL_OPEN_PAREN_LEN);
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ }
+ } else if (func_name_length == 8 &&
+ (
+ !strncasecmp("utc_date", func_name, func_name_length) ||
+ !strncasecmp("utc_time", func_name, func_name_length)
+ )
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (func_name_length == 9 &&
+ !strncasecmp("isnottrue", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_NOT_TRUE_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_TRUE_LEN;
+ break;
+ } else if (func_name_length == 10 &&
+ !strncasecmp("isnotfalse", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_NOT_FALSE_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_FALSE_LEN;
+ break;
+ } else if (func_name_length == 12)
+ {
+ if (!strncasecmp("cast_as_date", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_DATE_STR;
+ last_str_length = SPIDER_SQL_AS_DATE_LEN;
+ break;
+ } else if (!strncasecmp("cast_as_time", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_TIME_STR;
+ last_str_length = SPIDER_SQL_AS_TIME_LEN;
+ break;
+ }
+ } else if (func_name_length == 13 &&
+ !strncasecmp("utc_timestamp", func_name, func_name_length)
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (func_name_length == 14)
+ {
+ if (!strncasecmp("cast_as_binary", func_name, func_name_length))
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(123);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_BINARY_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ } else if (!strncasecmp("cast_as_signed", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_SIGNED_STR;
+ last_str_length = SPIDER_SQL_AS_SIGNED_LEN;
+ break;
+ }
+ } else if (func_name_length == 16)
+ {
+ if (!strncasecmp("cast_as_unsigned", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_UNSIGNED_STR;
+ last_str_length = SPIDER_SQL_AS_UNSIGNED_LEN;
+ break;
+ } else if (!strncasecmp("decimal_typecast", func_name,
+ func_name_length))
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(124);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_DECIMAL_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ } else if (!strncasecmp("cast_as_datetime", func_name,
+ func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_DATETIME_STR;
+ last_str_length = SPIDER_SQL_AS_DATETIME_LEN;
+ break;
+ }
+ } else if (func_name_length == 17)
+ {
+ if (!strncasecmp("date_add_interval", func_name, func_name_length))
+ {
+ Item_date_add_interval *item_date_add_interval =
+ (Item_date_add_interval *) item_func;
+ func_name = spider_db_timefunc_interval_str[
+ item_date_add_interval->int_type];
+ func_name_length = strlen(func_name);
+ if ((error_num = spider_db_print_item_type(item_list[0], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (item_date_add_interval->date_sub_interval)
+ {
+ if (str->reserve(SPIDER_SQL_NEGINTERVAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NEGINTERVAL_STR,
+ SPIDER_SQL_NEGINTERVAL_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_INTERVAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INTERVAL_STR, SPIDER_SQL_INTERVAL_LEN);
+ }
+ }
+ if ((error_num = spider_db_print_item_type(item_list[1], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+ }
+ }
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::NOW_FUNC:
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::CHAR_TYPECAST_FUNC:
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(125);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_CHAR_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ }
+ break;
+ case Item_func::NOT_FUNC:
+ case Item_func::NEG_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ break;
+ case Item_func::IN_FUNC:
+ if (((Item_func_opt_neg *) item_func)->negated)
+ {
+ func_name = SPIDER_SQL_NOT_IN_STR;
+ func_name_length = SPIDER_SQL_NOT_IN_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ } else {
+ func_name = SPIDER_SQL_IN_STR;
+ func_name_length = SPIDER_SQL_IN_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ case Item_func::BETWEEN:
+ if (((Item_func_opt_neg *) item_func)->negated)
+ {
+ func_name = SPIDER_SQL_NOT_BETWEEN_STR;
+ func_name_length = SPIDER_SQL_NOT_BETWEEN_LEN;
+ separete_str = SPIDER_SQL_AND_STR;
+ separete_str_length = SPIDER_SQL_AND_LEN;
+ } else {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ separete_str = SPIDER_SQL_AND_STR;
+ separete_str_length = SPIDER_SQL_AND_LEN;
+ }
+ break;
+ case Item_func::UDF_FUNC:
+ use_pushdown_udf = spider_param_use_pushdown_udf(spider->trx->thd,
+ spider->share->use_pushdown_udf);
+ if (!use_pushdown_udf)
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+#ifdef MARIADB_BASE_VERSION
+ case Item_func::XOR_FUNC:
+#else
+ case Item_func::COND_XOR_FUNC:
+#endif
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(
+ spider_db_open_item_cond((Item_cond *) item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::TRIG_COND_FUNC:
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ case Item_func::GUSERVAR_FUNC:
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (item_func->result_type() == STRING_RESULT)
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ else
+ DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::FT_FUNC:
+ if (spider_db_check_ft_idx(item_func, spider) == MAX_KEY)
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ start_item = 1;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_MATCH_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
+ }
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::SP_EQUALS_FUNC:
+ if (str)
+ {
+ func_name = SPIDER_SQL_MBR_EQUAL_STR;
+ func_name_length = SPIDER_SQL_MBR_EQUAL_LEN;
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(func_name_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::SP_DISJOINT_FUNC:
+ case Item_func::SP_INTERSECTS_FUNC:
+ case Item_func::SP_TOUCHES_FUNC:
+ case Item_func::SP_CROSSES_FUNC:
+ case Item_func::SP_WITHIN_FUNC:
+ case Item_func::SP_CONTAINS_FUNC:
+ case Item_func::SP_OVERLAPS_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(
+#ifndef SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
+ SPIDER_SQL_MBR_LEN +
+#endif
+ func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+#ifndef SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
+ str->q_append(SPIDER_SQL_MBR_STR, SPIDER_SQL_MBR_LEN);
+#endif
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::EQ_FUNC:
+ case Item_func::EQUAL_FUNC:
+ case Item_func::NE_FUNC:
+ case Item_func::LT_FUNC:
+ case Item_func::LE_FUNC:
+ case Item_func::GE_FUNC:
+ case Item_func::GT_FUNC:
+ case Item_func::LIKE_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ }
+ break;
+ default:
+ THD *thd = spider->trx->thd;
+ SPIDER_SHARE *share = spider->share;
+ if (spider_param_skip_default_condition(thd,
+ share->skip_default_condition))
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ }
+ break;
+ }
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ DBUG_PRINT("info",("spider separete_str = %s", separete_str));
+ DBUG_PRINT("info",("spider separete_str_length = %d", separete_str_length));
+ DBUG_PRINT("info",("spider last_str = %s", last_str));
+ DBUG_PRINT("info",("spider last_str_length = %d", last_str_length));
+ if (item_count)
+ {
+ item_count--;
+ for (roop_count = start_item; roop_count < item_count; roop_count++)
+ {
+ item = item_list[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (roop_count == 1)
+ {
+ func_name = separete_str;
+ func_name_length = separete_str_length;
+ }
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ }
+ item = item_list[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (item_func->functype() == Item_func::FT_FUNC)
+ {
+ Item_func_match *item_func_match = (Item_func_match *)item_func;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_AGAINST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
+ }
+ item = item_list[0];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(
+ ((item_func_match->flags & FT_BOOL) ?
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
+ ((item_func_match->flags & FT_EXPAND) ?
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
+ ))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (item_func_match->flags & FT_BOOL)
+ str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
+ if (item_func_match->flags & FT_EXPAND)
+ str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
+ }
+ } else if (item_func->functype() == Item_func::UNKNOWN_FUNC)
+ {
+ if (
+ func_name_length == 7 &&
+ !strncasecmp("convert", func_name, func_name_length)
+ ) {
+ if (str)
+ {
+ Item_func_conv_charset *item_func_conv_charset =
+ (Item_func_conv_charset *)item_func;
+ CHARSET_INFO *conv_charset = item_func_conv_charset->conv_charset;
+ uint cset_length = strlen(conv_charset->csname);
+ if (str->reserve(SPIDER_SQL_USING_LEN + cset_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_USING_STR, SPIDER_SQL_USING_LEN);
+ str->q_append(conv_charset->csname, cset_length);
+ }
+ }
+ }
+ if (str)
+ {
+ if (str->reserve(last_str_length + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(last_str, last_str_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_db_handlersocket_util::open_item_sum_func(
+ Item_sum *item_sum,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ uint dbton_id = spider_dbton_handlersocket.dbton_id;
+ uint roop_count, item_count = item_sum->get_arg_count();
+ int error_num;
+ DBUG_ENTER("spider_db_handlersocket_util::open_item_sum_func");
+ DBUG_PRINT("info",("spider Sumfunctype = %d", item_sum->sum_func()));
+ switch (item_sum->sum_func())
+ {
+ case Item_sum::COUNT_FUNC:
+ case Item_sum::SUM_FUNC:
+ case Item_sum::MIN_FUNC:
+ case Item_sum::MAX_FUNC:
+ {
+ const char *func_name = item_sum->func_name();
+ uint func_name_length = strlen(func_name);
+ Item *item, **args = item_sum->get_args();
+ if (str)
+ {
+ if (str->reserve(func_name_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ }
+ if (item_count)
+ {
+ item_count--;
+ for (roop_count = 0; roop_count < item_count; roop_count++)
+ {
+ item = args[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ item = args[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ }
+ break;
+ case Item_sum::COUNT_DISTINCT_FUNC:
+ case Item_sum::SUM_DISTINCT_FUNC:
+ case Item_sum::AVG_FUNC:
+ case Item_sum::AVG_DISTINCT_FUNC:
+ case Item_sum::STD_FUNC:
+ case Item_sum::VARIANCE_FUNC:
+ case Item_sum::SUM_BIT_FUNC:
+ case Item_sum::UDF_SUM_FUNC:
+ case Item_sum::GROUP_CONCAT_FUNC:
+ default:
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_db_handlersocket_util::append_escaped_util(
+ spider_string *to,
+ String *from
+) {
+ DBUG_ENTER("spider_db_handlersocket_util::append_escaped_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ append_escaped(to->get_str(), from);
+ to->mem_calc();
+ DBUG_RETURN(0);
+}
+
+spider_handlersocket_share::spider_handlersocket_share(
+ st_spider_share *share
+) : spider_db_share(
+ share
+),
+ table_names_str(NULL),
+ db_names_str(NULL),
+ db_table_str(NULL),
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ db_table_str_hash_value(NULL),
+#endif
+ table_nm_max_length(0),
+ db_nm_max_length(0),
+ column_name_str(NULL),
+ same_db_table_name(TRUE),
+ first_all_link_idx(-1)
+{
+ DBUG_ENTER("spider_handlersocket_share::spider_handlersocket_share");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_alloc_calc_mem_init(mem_calc, 186);
+ spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+spider_handlersocket_share::~spider_handlersocket_share()
+{
+ DBUG_ENTER("spider_handlersocket_share::~spider_handlersocket_share");
+ DBUG_PRINT("info",("spider this=%p", this));
+ free_column_name_str();
+ free_table_names_str();
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ if (db_table_str_hash_value)
+ {
+ spider_free(spider_current_trx, db_table_str_hash_value, MYF(0));
+ }
+#endif
+ spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_handlersocket_share::init()
+{
+ int error_num;
+ DBUG_ENTER("spider_handlersocket_share::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ if (!(db_table_str_hash_value = (my_hash_value_type *)
+ spider_bulk_alloc_mem(spider_current_trx, 203,
+ __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
+ &db_table_str_hash_value,
+ sizeof(my_hash_value_type) * spider_share->all_link_count,
+ NullS))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+#endif
+
+ if (
+ (error_num = create_table_names_str()) ||
+ (
+ spider_share->table_share &&
+ (error_num = create_column_name_str())
+ )
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_share::append_table_name(
+ spider_string *str,
+ int all_link_idx
+) {
+ const char *db_nm = db_names_str[all_link_idx].ptr();
+ uint db_nm_len = db_names_str[all_link_idx].length();
+ const char *table_nm = table_names_str[all_link_idx].ptr();
+ uint table_nm_len = table_names_str[all_link_idx].length();
+ DBUG_ENTER("spider_handlersocket_share::append_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(db_nm_len + SPIDER_SQL_DOT_LEN + table_nm_len +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_db_handlersocket_utility.append_name(str, db_nm, db_nm_len);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ spider_db_handlersocket_utility.append_name(str, table_nm, table_nm_len);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_share::create_table_names_str()
+{
+ int error_num, roop_count;
+ uint table_nm_len, db_nm_len;
+ spider_string *str, *first_tbl_nm_str, *first_db_nm_str, *first_db_tbl_str;
+ char *first_tbl_nm, *first_db_nm;
+ uint dbton_id = spider_dbton_handlersocket.dbton_id;
+ DBUG_ENTER("spider_handlersocket_share::create_table_names_str");
+ table_names_str = NULL;
+ db_names_str = NULL;
+ db_table_str = NULL;
+ if (
+ !(table_names_str = new spider_string[spider_share->all_link_count]) ||
+ !(db_names_str = new spider_string[spider_share->all_link_count]) ||
+ !(db_table_str = new spider_string[spider_share->all_link_count])
+ ) {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+
+ same_db_table_name = TRUE;
+ first_tbl_nm = spider_share->tgt_table_names[0];
+ first_db_nm = spider_share->tgt_dbs[0];
+ table_nm_len = spider_share->tgt_table_names_lengths[0];
+ db_nm_len = spider_share->tgt_dbs_lengths[0];
+ first_tbl_nm_str = &table_names_str[0];
+ first_db_nm_str = &db_names_str[0];
+ first_db_tbl_str = &db_table_str[0];
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ table_names_str[roop_count].init_calc_mem(86);
+ db_names_str[roop_count].init_calc_mem(87);
+ db_table_str[roop_count].init_calc_mem(88);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+ if (first_all_link_idx == -1)
+ first_all_link_idx = roop_count;
+
+ str = &table_names_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name &&
+ spider_share->tgt_table_names_lengths[roop_count] == table_nm_len &&
+ !memcmp(first_tbl_nm, spider_share->tgt_table_names[roop_count],
+ table_nm_len)
+ ) {
+ if (str->copy(*first_tbl_nm_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ spider_share->tgt_table_names[roop_count], dbton_id)))
+ goto error;
+ if (roop_count)
+ {
+ same_db_table_name = FALSE;
+ DBUG_PRINT("info", ("spider found different table name %s",
+ spider_share->tgt_table_names[roop_count]));
+ if (str->length() > table_nm_max_length)
+ table_nm_max_length = str->length();
+ } else
+ table_nm_max_length = str->length();
+ }
+
+ str = &db_names_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name &&
+ spider_share->tgt_dbs_lengths[roop_count] == db_nm_len &&
+ !memcmp(first_db_nm, spider_share->tgt_dbs[roop_count],
+ db_nm_len)
+ ) {
+ if (str->copy(*first_db_nm_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ spider_share->tgt_dbs[roop_count], dbton_id)))
+ goto error;
+ if (roop_count)
+ {
+ same_db_table_name = FALSE;
+ DBUG_PRINT("info", ("spider found different db name %s",
+ spider_share->tgt_dbs[roop_count]));
+ if (str->length() > db_nm_max_length)
+ db_nm_max_length = str->length();
+ } else
+ db_nm_max_length = str->length();
+ }
+
+ str = &db_table_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name
+ ) {
+ if (str->copy(*first_db_tbl_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = append_table_name(str, roop_count)))
+ goto error;
+ }
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ db_table_str_hash_value[roop_count] = my_calc_hash(
+ &spider_open_connections, (uchar*) str->ptr(), str->length());
+#endif
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (db_table_str)
+ {
+ delete [] db_table_str;
+ db_table_str = NULL;
+ }
+ if (db_names_str)
+ {
+ delete [] db_names_str;
+ db_names_str = NULL;
+ }
+ if (table_names_str)
+ {
+ delete [] table_names_str;
+ table_names_str = NULL;
+ }
+ DBUG_RETURN(error_num);
+}
+
+void spider_handlersocket_share::free_table_names_str()
+{
+ DBUG_ENTER("spider_handlersocket_share::free_table_names_str");
+ if (db_table_str)
+ {
+ delete [] db_table_str;
+ db_table_str = NULL;
+ }
+ if (db_names_str)
+ {
+ delete [] db_names_str;
+ db_names_str = NULL;
+ }
+ if (table_names_str)
+ {
+ delete [] table_names_str;
+ table_names_str = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_handlersocket_share::create_column_name_str()
+{
+ spider_string *str;
+ int error_num;
+ Field **field;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ uint dbton_id = spider_dbton_handlersocket.dbton_id;
+ DBUG_ENTER("spider_handlersocket_share::create_column_name_str");
+ if (
+ table_share->fields &&
+ !(column_name_str = new spider_string[table_share->fields])
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ for (field = table_share->field, str = column_name_str;
+ *field; field++, str++)
+ {
+ str->init_calc_mem(202);
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ (char *) (*field)->field_name, dbton_id)))
+ goto error;
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (column_name_str)
+ {
+ delete [] column_name_str;
+ column_name_str = NULL;
+ }
+ DBUG_RETURN(error_num);
+}
+
+void spider_handlersocket_share::free_column_name_str()
+{
+ DBUG_ENTER("spider_handlersocket_share::free_column_name_str");
+ if (column_name_str)
+ {
+ delete [] column_name_str;
+ column_name_str = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+uint spider_handlersocket_share::get_column_name_length(
+ uint field_index
+) {
+ DBUG_ENTER("spider_handlersocket_share::get_column_name_length");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(column_name_str[field_index].length());
+}
+
+int spider_handlersocket_share::append_column_name(
+ spider_string *str,
+ uint field_index
+) {
+ int error_num;
+ DBUG_ENTER("spider_handlersocket_share::append_column_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = spider_db_handlersocket_utility.append_name(str,
+ column_name_str[field_index].ptr(), column_name_str[field_index].length());
+ DBUG_RETURN(error_num);
+}
+
+int spider_handlersocket_share::append_column_name_with_alias(
+ spider_string *str,
+ uint field_index,
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_handlersocket_share::append_column_name_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(
+ alias_length +
+ column_name_str[field_index].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ append_column_name(str, field_index);
+ DBUG_RETURN(0);
+}
+
+bool spider_handlersocket_share::need_change_db_table_name()
+{
+ DBUG_ENTER("spider_handlersocket_share::need_change_db_table_name");
+ DBUG_RETURN(!same_db_table_name);
+}
+
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+int spider_handlersocket_share::discover_table_structure(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *spider_share,
+ spider_string *str
+) {
+ DBUG_ENTER("spider_handlersocket_share::discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+#endif
+
+spider_handlersocket_handler::spider_handlersocket_handler(
+ ha_spider *spider,
+ spider_handlersocket_share *db_share
+) : spider_db_handler(
+ spider,
+ db_share
+),
+ handlersocket_share(db_share),
+ link_for_hash(NULL)
+{
+ DBUG_ENTER("spider_handlersocket_handler::spider_handlersocket_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_alloc_calc_mem_init(mem_calc, 187);
+ spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+spider_handlersocket_handler::~spider_handlersocket_handler()
+{
+ DBUG_ENTER("spider_handlersocket_handler::~spider_handlersocket_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (link_for_hash)
+ {
+ spider_free(spider_current_trx, link_for_hash, MYF(0));
+ }
+ spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_handlersocket_handler::init()
+{
+ st_spider_share *share = spider->share;
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_handlersocket_handler::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(link_for_hash = (SPIDER_LINK_FOR_HASH *)
+ spider_bulk_alloc_mem(spider_current_trx, 204,
+ __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
+ &link_for_hash,
+ sizeof(SPIDER_LINK_FOR_HASH) * share->link_count,
+ &minimum_select_bitmap,
+ table ? sizeof(uchar) * no_bytes_in_map(table->read_set) : 0,
+ NullS))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ uint roop_count;
+ for (roop_count = 0; roop_count < share->link_count; roop_count++)
+ {
+ link_for_hash[roop_count].spider = spider;
+ link_for_hash[roop_count].link_idx = roop_count;
+ link_for_hash[roop_count].db_table_str =
+ &handlersocket_share->db_table_str[roop_count];
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ link_for_hash[roop_count].db_table_str_hash_value =
+ handlersocket_share->db_table_str_hash_value[roop_count];
+#endif
+ }
+ hs_sql.init_calc_mem(63);
+ hs_sql.set_charset(share->access_charset);
+ hs_keys.init();
+ hs_upds.init();
+ hs_strs.init();
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_table_name_with_adjusting(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_table_name_with_adjusting");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_tmp_table_and_sql_for_bka(
+ const key_range *start_key
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_tmp_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reuse_tmp_table_and_sql_for_bka()
+{
+ DBUG_ENTER("spider_handlersocket_handler::reuse_tmp_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_union_table_and_sql_for_bka(
+ const key_range *start_key
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_union_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reuse_union_table_and_sql_for_bka()
+{
+ DBUG_ENTER("spider_handlersocket_handler::reuse_union_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_insert_for_recovery(
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_insert_for_recovery");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_insert_part()
+{
+ DBUG_ENTER("spider_handlersocket_handler::append_insert_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_update_part()
+{
+ DBUG_ENTER("spider_handlersocket_handler::append_update_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_delete_part()
+{
+ DBUG_ENTER("spider_handlersocket_handler::append_delete_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+int spider_handlersocket_handler::append_increment_update_set_part()
+{
+ DBUG_ENTER("spider_handlersocket_handler::append_increment_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_handlersocket_handler::append_update_set_part()
+{
+ DBUG_ENTER("spider_handlersocket_handler::append_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+int spider_handlersocket_handler::append_direct_update_set_part()
+{
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_handlersocket_handler::append_direct_update_set_part");
+ if (
+ spider->do_direct_update &&
+ (spider->direct_update_kinds & SPIDER_SQL_KIND_HS)
+ ) {
+ DBUG_PRINT("info",("spider add set for DU SPIDER_SQL_KIND_HS"));
+ size_t roop_count;
+ Field *field;
+ hs_adding_keys = FALSE;
+ for (roop_count = 0; roop_count < spider->hs_pushed_ret_fields_num;
+ roop_count++)
+ {
+ Field *top_table_field =
+ spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
+ if (!(field = spider->field_exchange(top_table_field)))
+ continue;
+ if (top_table_field->is_null())
+ {
+ hs_upds.push_back(spider_null_string_ref);
+ } else {
+ if (spider_db_handlersocket_utility.
+ append_column_value(spider, NULL, top_table_field, NULL,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ }
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_handlersocket_handler::append_minimum_select_without_quote(
+ spider_string *str
+) {
+ TABLE *table = spider->get_table();
+ Field **field;
+ int field_length;
+ bool appended = FALSE;
+ DBUG_ENTER("spider_handlersocket_handler::append_minimum_select_without_quote");
+ minimum_select_bitmap_create();
+ for (field = table->field; *field; field++)
+ {
+ if (minimum_select_bit_is_set((*field)->field_index))
+ {
+ spider_set_bit(minimum_select_bitmap, (*field)->field_index);
+ field_length =
+ handlersocket_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(field_length + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(
+ handlersocket_share->column_name_str[(*field)->field_index].ptr(),
+ handlersocket_share->column_name_str[(*field)->field_index].length());
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ appended = TRUE;
+ }
+ }
+ if (appended)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+int spider_handlersocket_handler::append_minimum_select_by_field_idx_list(
+ spider_string *str,
+ uint32 *field_idxs,
+ size_t field_idxs_num
+) {
+ Field *field;
+ int roop_count, field_length;
+ bool appended = FALSE;
+ DBUG_ENTER("spider_handlersocket_handler::append_minimum_select_by_field_idx_list");
+ for (roop_count = 0; roop_count < (int) field_idxs_num; roop_count++)
+ {
+ field = spider->get_top_table_field(field_idxs[roop_count]);
+ if ((field = spider->field_exchange(field)))
+ {
+ field_length =
+ handlersocket_share->column_name_str[field->field_index].length();
+ if (str->reserve(field_length + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(
+ handlersocket_share->column_name_str[field->field_index].ptr(),
+ handlersocket_share->column_name_str[field->field_index].length());
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ appended = TRUE;
+ }
+ }
+ if (appended)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_dup_update_pushdown_part(
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_dup_update_pushdown_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_update_columns_part(
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_update_columns_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::check_update_columns_part()
+{
+ DBUG_ENTER("spider_handlersocket_handler::check_update_columns_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_handlersocket_handler::append_select_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_table_select_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_table_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_key_select_part(
+ ulong sql_type,
+ uint idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_key_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_minimum_select_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_minimum_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_hint_after_table_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_hint_after_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+void spider_handlersocket_handler::set_where_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::set_where_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+void spider_handlersocket_handler::set_where_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::set_where_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+int spider_handlersocket_handler::check_item_type(
+ Item *item
+) {
+ DBUG_ENTER("spider_handlersocket_handler::check_item_type");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_values_connector_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_values_connector_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_values_terminator_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_values_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_union_table_connector_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_union_table_connector_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_union_table_terminator_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_union_table_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_key_column_values_part(
+ const key_range *start_key,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_key_column_values_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_key_column_values_with_name_part(
+ const key_range *start_key,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_key_column_values_with_name_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_key_where_part(
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ bool set_order;
+ DBUG_ENTER("spider_handlersocket_handler::append_key_where_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_HS:
+ case SPIDER_SQL_TYPE_INSERT_HS:
+ case SPIDER_SQL_TYPE_UPDATE_HS:
+ case SPIDER_SQL_TYPE_DELETE_HS:
+ str = &hs_sql;
+ str->length(0);
+ hs_adding_keys = TRUE;
+ set_order = FALSE;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_where(str, NULL, NULL, start_key, end_key,
+ sql_type, set_order);
+ DBUG_RETURN(error_num);
+}
+
+int spider_handlersocket_handler::append_key_where(
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type,
+ bool set_order
+) {
+ int error_num;
+ DBUG_ENTER("spider_handlersocket_handler::append_key_where");
+ error_num = spider_db_append_key_where_internal(str, str_part, str_part2,
+ start_key, end_key, spider, set_order, sql_type,
+ spider_dbton_handlersocket.dbton_id);
+ DBUG_RETURN(error_num);
+}
+
+int spider_handlersocket_handler::append_is_null_part(
+ ulong sql_type,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_handlersocket_handler::append_is_null_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_HS:
+ case SPIDER_SQL_TYPE_INSERT_HS:
+ case SPIDER_SQL_TYPE_UPDATE_HS:
+ case SPIDER_SQL_TYPE_DELETE_HS:
+ str = &hs_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_is_null(sql_type, str, NULL, NULL, key_part, key, ptr,
+ key_eq, tgt_final);
+ DBUG_RETURN(error_num);
+}
+
+int spider_handlersocket_handler::append_is_null(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_is_null");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (key_part->null_bit)
+ {
+ if (*(*ptr)++)
+ {
+ hs_keys.push_back(spider_null_string_ref);
+ DBUG_RETURN(-1);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_where_terminator_part(
+ ulong sql_type,
+ bool set_order,
+ int key_count
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_where_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_match_where_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_match_where_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_condition_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type,
+ bool test_flg
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_condition_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_match_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_match_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_handlersocket_handler::append_sum_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_sum_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+#endif
+
+void spider_handlersocket_handler::set_order_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::set_order_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+void spider_handlersocket_handler::set_order_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::set_order_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_handlersocket_handler::append_group_by_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_group_by_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_handlersocket_handler::append_key_order_for_merge_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_key_order_for_merge_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_key_order_for_direct_order_limit_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_key_order_for_direct_order_limit_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_key_order_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_key_order_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_limit_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info", ("spider offset=%lld", offset));
+ DBUG_PRINT("info", ("spider limit=%lld", limit));
+ hs_skip = (int) offset;
+ hs_limit = (int) limit;
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reappend_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::reappend_limit_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_select_lock_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_select_lock_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_union_all_start_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_union_all_start_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_union_all_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_union_all_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_union_all_end_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_union_all_end_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_multi_range_cnt_part(
+ ulong sql_type,
+ uint multi_range_cnt,
+ bool with_comma
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_multi_range_cnt_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_multi_range_cnt_with_name_part(
+ ulong sql_type,
+ uint multi_range_cnt
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_multi_range_cnt_with_name_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_open_handler_part(
+ ulong sql_type,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_handlersocket_handler::append_open_handler_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_HS:
+ str = &hs_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_open_handler(str, handler_id, conn, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_handlersocket_handler::append_open_handler(
+ spider_string *str,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_handlersocket_handler::append_open_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (
+ str->length() == 0 &&
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ (
+ (
+ (
+ spider->sql_command == SQLCOM_HS_INSERT ||
+ spider->hs_pushed_ret_fields_num == MAX_FIELDS
+ ) &&
+#endif
+ (error_num = append_minimum_select_without_quote(str))
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ ) ||
+ (
+ (
+ spider->sql_command != SQLCOM_HS_INSERT &&
+ spider->hs_pushed_ret_fields_num < MAX_FIELDS
+ ) &&
+ (error_num = append_minimum_select_by_field_idx_list(str,
+ spider->hs_pushed_ret_fields, spider->hs_pushed_ret_fields_num))
+ )
+ )
+#endif
+ ) {
+ DBUG_RETURN(error_num);
+ }
+
+ TABLE *table = spider->get_table();
+ SPIDER_SHARE *share = spider->share;
+ DBUG_PRINT("info",("spider field list=%s", str->c_ptr_safe()));
+ if (!spider_bit_is_set(spider->db_request_phase, link_idx))
+ {
+ spider_set_bit(spider->db_request_phase, link_idx);
+ ++spider->db_request_id[link_idx];
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = spider->db_request_id[link_idx];
+ request_key.next = NULL;
+ conn->db_conn->append_open_handler(
+ handler_id,
+ share->tgt_dbs[spider->conn_link_idx[link_idx]],
+ share->tgt_table_names[spider->conn_link_idx[link_idx]],
+ spider->active_index < MAX_KEY ?
+ table->s->key_info[spider->active_index].name :
+ "0",
+ str->c_ptr_safe(),
+ &request_key
+ );
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_close_handler_part(
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_close_handler_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_insert_terminator_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_insert_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_insert_values_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_insert_values_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_HS:
+ str = &hs_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_insert_values(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_handlersocket_handler::append_insert_values(
+ spider_string *str
+) {
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ Field **field;
+ DBUG_ENTER("spider_mysql_handler::append_insert_values");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_adding_keys = FALSE;
+ for (field = table->field; *field; field++)
+ {
+ DBUG_PRINT("info",("spider field_index=%u", (*field)->field_index));
+ if (
+ bitmap_is_set(table->write_set, (*field)->field_index) ||
+ bitmap_is_set(table->read_set, (*field)->field_index)
+ ) {
+#ifndef DBUG_OFF
+ my_bitmap_map *tmp_map =
+ dbug_tmp_use_all_columns(table, table->read_set);
+#endif
+ DBUG_PRINT("info",("spider is_null()=%s",
+ (*field)->is_null() ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider table->next_number_field=%p",
+ table->next_number_field));
+ DBUG_PRINT("info",("spider *field=%p", *field));
+ DBUG_PRINT("info",("spider force_auto_increment=%s",
+ (table->next_number_field && spider->force_auto_increment) ?
+ "TRUE" : "FALSE"));
+ if (
+ (*field)->is_null() ||
+ (
+ table->next_number_field == *field &&
+ !table->auto_increment_field_not_null &&
+ !spider->force_auto_increment
+ )
+ ) {
+ hs_upds.push_back(spider_null_string_ref);
+ } else {
+ spider_db_handlersocket_utility.
+ append_column_value(spider, NULL, *field, NULL,
+ share->access_charset);
+ }
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ }
+ }
+ int error_num;
+ int roop_count2;
+ for (
+ roop_count2 = spider_conn_link_idx_next(share->link_statuses,
+ spider->conn_link_idx, -1, share->link_count,
+ SPIDER_LINK_STATUS_RECOVERY);
+ roop_count2 < (int) share->link_count;
+ roop_count2 = spider_conn_link_idx_next(share->link_statuses,
+ spider->conn_link_idx, roop_count2, share->link_count,
+ SPIDER_LINK_STATUS_RECOVERY)
+ ) {
+ if (spider->sql_kind[roop_count2] == SPIDER_SQL_KIND_HS)
+ {
+ SPIDER_CONN *conn = spider->hs_w_conns[roop_count2];
+ if (conn->dbton_id == spider_dbton_handlersocket.dbton_id)
+ {
+ if ((error_num = request_buf_insert(roop_count2)))
+ DBUG_RETURN(error_num);
+#ifdef HA_CAN_BULK_ACCESS
+ if (spider->is_bulk_access_clone)
+ {
+ spider->connection_ids[roop_count2] = conn->connection_id;
+ spider_trx_add_bulk_access_conn(spider->trx, conn);
+ }
+#endif
+ }
+ }
+ }
+ hs_upds.clear();
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_into_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_into_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+void spider_handlersocket_handler::set_insert_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::set_insert_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+int spider_handlersocket_handler::append_from_part(
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_from_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_delete_all_rows_part(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_delete_all_rows_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_explain_select_part(
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_explain_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+bool spider_handlersocket_handler::is_bulk_insert_exec_period(
+ bool bulk_end
+) {
+ DBUG_ENTER("spider_handlersocket_handler::is_bulk_insert_exec_period");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!spider->bulk_insert || bulk_end)
+ DBUG_RETURN(TRUE);
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_handlersocket_handler::sql_is_filled_up(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::sql_is_filled_up");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_handlersocket_handler::sql_is_empty(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::sql_is_empty");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_handlersocket_handler::support_multi_split_read()
+{
+ DBUG_ENTER("spider_handlersocket_handler::support_multi_split_read");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_handlersocket_handler::support_bulk_update()
+{
+ DBUG_ENTER("spider_handlersocket_handler::support_bulk_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(FALSE);
+}
+
+int spider_handlersocket_handler::bulk_tmp_table_insert()
+{
+ DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::bulk_tmp_table_insert(
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::bulk_tmp_table_end_bulk_insert()
+{
+ DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_end_bulk_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::bulk_tmp_table_rnd_init()
+{
+ DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_rnd_init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::bulk_tmp_table_rnd_next()
+{
+ DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_rnd_next");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::bulk_tmp_table_rnd_end()
+{
+ DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_rnd_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+bool spider_handlersocket_handler::need_copy_for_update(
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::need_copy_for_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(TRUE);
+}
+
+bool spider_handlersocket_handler::bulk_tmp_table_created()
+{
+ DBUG_ENTER("spider_handlersocket_handler::bulk_tmp_table_created");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(FALSE);
+}
+
+int spider_handlersocket_handler::mk_bulk_tmp_table_and_bulk_start()
+{
+ DBUG_ENTER("spider_handlersocket_handler::mk_bulk_tmp_table_and_bulk_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+void spider_handlersocket_handler::rm_bulk_tmp_table()
+{
+ DBUG_ENTER("spider_handlersocket_handler::rm_bulk_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+
+int spider_handlersocket_handler::insert_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::insert_lock_tables_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::append_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx,
+ int *appended
+) {
+ DBUG_ENTER("spider_handlersocket_handler::append_lock_tables_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::realloc_sql(
+ ulong *realloced
+) {
+ THD *thd = spider->trx->thd;
+ st_spider_share *share = spider->share;
+ int init_sql_alloc_size =
+ spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
+ DBUG_ENTER("spider_handlersocket_handler::realloc_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((int) hs_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ hs_sql.free();
+ if (hs_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_FULL_HS;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reset_sql(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::reset_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
+ {
+ hs_sql.length(0);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reset_keys(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::reset_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
+ {
+ hs_keys.clear();
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reset_upds(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::reset_upds");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
+ {
+ hs_upds.clear();
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reset_strs(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::reset_strs");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
+ {
+ hs_strs.clear();
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reset_strs_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::reset_strs_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_FULL_HS)
+ {
+ hs_strs_pos = 0;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::push_back_upds(
+ SPIDER_HS_STRING_REF &info
+) {
+ int error_num;
+ DBUG_ENTER("spider_handlersocket_handler::push_back_upds");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = hs_upds.push_back(info);
+ DBUG_RETURN(error_num);
+}
+
+int spider_handlersocket_handler::request_buf_find(
+ int link_idx
+) {
+ int error_num;
+ spider_string *hs_str;
+ SPIDER_CONN *conn;
+ uint handler_id;
+ DBUG_ENTER("spider_handlersocket_handler::request_buf_find");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(hs_str = hs_strs.add(&hs_strs_pos, hs_sql.ptr(), hs_sql.length())))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (spider->conn_kind[link_idx] == SPIDER_CONN_KIND_HS_READ)
+ {
+ conn = spider->hs_r_conns[link_idx];
+ handler_id = spider->r_handler_id[link_idx];
+ } else {
+ conn = spider->hs_w_conns[link_idx];
+ handler_id = spider->w_handler_id[link_idx];
+ }
+ if ((error_num = spider_db_conn_queue_action(conn)))
+ DBUG_RETURN(error_num);
+ if (!spider_bit_is_set(spider->db_request_phase, link_idx))
+ {
+ spider_set_bit(spider->db_request_phase, link_idx);
+ ++spider->db_request_id[link_idx];
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = spider->db_request_id[link_idx];
+ request_key.next = NULL;
+ conn->db_conn->append_select(
+ handler_id, hs_str, &hs_keys,
+ hs_limit, hs_skip, &request_key);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::request_buf_insert(
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_handlersocket_handler::request_buf_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = spider_db_conn_queue_action(spider->hs_w_conns[link_idx])))
+ DBUG_RETURN(error_num);
+ if (!spider_bit_is_set(spider->db_request_phase, link_idx))
+ {
+ spider_set_bit(spider->db_request_phase, link_idx);
+ ++spider->db_request_id[link_idx];
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = spider->db_request_id[link_idx];
+ request_key.next = NULL;
+ spider->hs_w_conns[link_idx]->db_conn->append_insert(
+ spider->w_handler_id[link_idx], &hs_upds, &request_key);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::request_buf_update(
+ int link_idx
+) {
+ int error_num;
+ spider_string *hs_str;
+ DBUG_ENTER("spider_handlersocket_handler::request_buf_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(hs_str = hs_strs.add(&hs_strs_pos, hs_sql.ptr(), hs_sql.length())))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if ((error_num = spider_db_conn_queue_action(spider->hs_w_conns[link_idx])))
+ DBUG_RETURN(error_num);
+ if (!spider_bit_is_set(spider->db_request_phase, link_idx))
+ {
+ spider_set_bit(spider->db_request_phase, link_idx);
+ ++spider->db_request_id[link_idx];
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = spider->db_request_id[link_idx];
+ request_key.next = NULL;
+ spider->hs_w_conns[link_idx]->db_conn->append_update(
+ spider->w_handler_id[link_idx], hs_str, &hs_keys, &hs_upds,
+ hs_limit, hs_skip,
+ spider->hs_increment, spider->hs_decrement, &request_key
+ );
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::request_buf_delete(
+ int link_idx
+) {
+ int error_num;
+ spider_string *hs_str;
+ DBUG_ENTER("spider_handlersocket_handler::request_buf_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(hs_str = hs_strs.add(&hs_strs_pos, hs_sql.ptr(), hs_sql.length())))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if ((error_num = spider_db_conn_queue_action(spider->hs_w_conns[link_idx])))
+ DBUG_RETURN(error_num);
+ if (!spider_bit_is_set(spider->db_request_phase, link_idx))
+ {
+ spider_set_bit(spider->db_request_phase, link_idx);
+ ++spider->db_request_id[link_idx];
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = spider->db_request_id[link_idx];
+ request_key.next = NULL;
+ spider->hs_w_conns[link_idx]->db_conn->append_delete(
+ spider->w_handler_id[link_idx], hs_str, &hs_keys,
+ hs_limit, hs_skip, &request_key);
+ DBUG_RETURN(0);
+}
+
+bool spider_handlersocket_handler::need_lock_before_set_sql_for_exec(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::need_lock_before_set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_handlersocket_handler::set_sql_for_exec(
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_SELECT_HS)
+ {
+ DBUG_RETURN(request_buf_find(link_idx));
+ }
+ if (sql_type & SPIDER_SQL_TYPE_INSERT_HS)
+ {
+ DBUG_RETURN(request_buf_insert(link_idx));
+ }
+ if (sql_type & SPIDER_SQL_TYPE_UPDATE_HS)
+ {
+ DBUG_RETURN(request_buf_update(link_idx));
+ }
+ if (sql_type & SPIDER_SQL_TYPE_DELETE_HS)
+ {
+ DBUG_RETURN(request_buf_delete(link_idx));
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::set_sql_for_exec(
+ spider_db_copy_table *tgt_ct,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::execute_sql(
+ ulong sql_type,
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_handlersocket_handler::execute_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(sql_type & SPIDER_SQL_TYPE_FULL_HS))
+ {
+ /* nothing to do */
+ DBUG_RETURN(0);
+ }
+ DBUG_RETURN(spider_db_query(
+ conn,
+ NULL,
+ 0,
+ quick_mode,
+ need_mon
+ ));
+}
+
+int spider_handlersocket_handler::reset()
+{
+ DBUG_ENTER("spider_handlersocket_handler::reset");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::sts_mode_exchange(
+ int sts_mode
+) {
+ DBUG_ENTER("spider_handlersocket_handler::sts_mode_exchange");
+ DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
+ DBUG_RETURN(sts_mode);
+}
+
+int spider_handlersocket_handler::show_table_status(
+ int link_idx,
+ int sts_mode,
+ uint flag
+) {
+ spider_db_handlersocket_result res;
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_handlersocket_show_table_status");
+ res.fetch_table_status(
+ sts_mode,
+ share->records,
+ share->mean_rec_length,
+ share->data_file_length,
+ share->max_data_file_length,
+ share->index_file_length,
+ share->auto_increment_value,
+ share->create_time,
+ share->update_time,
+ share->check_time
+ );
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::crd_mode_exchange(
+ int crd_mode
+) {
+ DBUG_ENTER("spider_handlersocket_handler::crd_mode_exchange");
+ DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
+ DBUG_RETURN(crd_mode);
+}
+
+int spider_handlersocket_handler::show_index(
+ int link_idx,
+ int crd_mode
+) {
+ DBUG_ENTER("spider_handlersocket_handler::show_index");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::show_records(
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::show_records");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::show_last_insert_id(
+ int link_idx,
+ ulonglong &last_insert_id
+) {
+ DBUG_ENTER("spider_handlersocket_handler::show_last_insert_id");
+ last_insert_id = 0;
+ DBUG_RETURN(0);
+}
+
+ha_rows spider_handlersocket_handler::explain_select(
+ key_range *start_key,
+ key_range *end_key,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::explain_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::lock_tables(
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::lock_tables");
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::unlock_tables(
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::unlock_tables");
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::disable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::disable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::enable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::enable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::check_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ DBUG_ENTER("spider_handlersocket_handler::check_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::repair_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ DBUG_ENTER("spider_handlersocket_handler::repair_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::analyze_table(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::analyze_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::optimize_table(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::optimize_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::flush_tables(
+ SPIDER_CONN *conn,
+ int link_idx,
+ bool lock
+) {
+ DBUG_ENTER("spider_handlersocket_handler::flush_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::flush_logs(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ DBUG_ENTER("spider_handlersocket_handler::flush_logs");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::insert_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_handlersocket *db_conn = (spider_db_handlersocket *) conn->db_conn;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash = &link_for_hash[link_idx];
+ DBUG_ASSERT(tmp_link_for_hash->spider == spider);
+ DBUG_ASSERT(tmp_link_for_hash->link_idx == link_idx);
+ uint old_elements = db_conn->handler_open_array.max_element;
+ DBUG_ENTER("spider_handlersocket_handler::insert_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (insert_dynamic(&db_conn->handler_open_array,
+ (uchar*) &tmp_link_for_hash))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (db_conn->handler_open_array.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ db_conn->handler_open_array,
+ (db_conn->handler_open_array.max_element - old_elements) *
+ db_conn->handler_open_array.size_of_element);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::delete_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_handlersocket *db_conn = (spider_db_handlersocket *) conn->db_conn;
+ uint roop_count, elements = db_conn->handler_open_array.elements;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
+ DBUG_ENTER("spider_handlersocket_handler::delete_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (roop_count = 0; roop_count < elements; roop_count++)
+ {
+ get_dynamic(&db_conn->handler_open_array, (uchar *) &tmp_link_for_hash,
+ roop_count);
+ if (tmp_link_for_hash == &link_for_hash[link_idx])
+ {
+ delete_dynamic_element(&db_conn->handler_open_array, roop_count);
+ break;
+ }
+ }
+ DBUG_ASSERT(roop_count < elements);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::sync_from_clone_source(
+ spider_db_handler *dbton_hdl
+) {
+ spider_handlersocket_handler *hs_hdl =
+ (spider_handlersocket_handler *) dbton_hdl;
+ DBUG_ENTER("spider_handlersocket_handler::sync_from_clone_source");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_strs_pos = hs_hdl->hs_strs_pos;
+ DBUG_RETURN(0);
+}
+
+bool spider_handlersocket_handler::support_use_handler(
+ int use_handler
+) {
+ DBUG_ENTER("spider_handlersocket_handler::support_use_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+void spider_handlersocket_handler::minimum_select_bitmap_create()
+{
+ TABLE *table = spider->get_table();
+ Field **field_p;
+ DBUG_ENTER("spider_handlersocket_handler::minimum_select_bitmap_create");
+ memset(minimum_select_bitmap, 0, no_bytes_in_map(table->read_set));
+ if (
+ spider->has_clone_for_merge ||
+#ifdef HA_CAN_BULK_ACCESS
+ (spider->is_clone && !spider->is_bulk_access_clone)
+#else
+ spider->is_clone
+#endif
+ ) {
+ /* need preparing for cmp_ref */
+ TABLE_SHARE *table_share = table->s;
+ if (
+ table_share->primary_key == MAX_KEY
+ ) {
+ /* need all columns */
+ memset(minimum_select_bitmap, 0xFF, no_bytes_in_map(table->read_set));
+ DBUG_VOID_RETURN;
+ } else {
+ /* need primary key columns */
+ uint roop_count;
+ KEY *key_info;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ key_info = &table_share->key_info[table_share->primary_key];
+ key_part = key_info->key_part;
+ for (roop_count = 0;
+ roop_count < spider_user_defined_key_parts(key_info);
+ roop_count++)
+ {
+ field = key_part[roop_count].field;
+ spider_set_bit(minimum_select_bitmap, field->field_index);
+ }
+ }
+ }
+ for (field_p = table->field; *field_p; field_p++)
+ {
+ uint field_index = (*field_p)->field_index;
+ if (
+ spider_bit_is_set(spider->searched_bitmap, field_index) |
+ bitmap_is_set(table->read_set, field_index) |
+ bitmap_is_set(table->write_set, field_index)
+ ) {
+ spider_set_bit(minimum_select_bitmap, field_index);
+ }
+ }
+ DBUG_VOID_RETURN;
+}
+
+bool spider_handlersocket_handler::minimum_select_bit_is_set(
+ uint field_index
+) {
+ DBUG_ENTER("spider_handlersocket_handler::minimum_select_bit_is_set");
+ DBUG_PRINT("info",("spider field_index=%u", field_index));
+ DBUG_PRINT("info",("spider minimum_select_bitmap=%s",
+ spider_bit_is_set(minimum_select_bitmap, field_index) ?
+ "TRUE" : "FALSE"));
+ DBUG_RETURN(spider_bit_is_set(minimum_select_bitmap, field_index));
+}
+
+void spider_handlersocket_handler::copy_minimum_select_bitmap(
+ uchar *bitmap
+) {
+ int roop_count;
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_handlersocket_handler::copy_minimum_select_bitmap");
+ for (roop_count = 0;
+ roop_count < (int) ((table->s->fields + 7) / 8);
+ roop_count++)
+ {
+ bitmap[roop_count] =
+ minimum_select_bitmap[roop_count];
+ DBUG_PRINT("info",("spider roop_count=%d", roop_count));
+ DBUG_PRINT("info",("spider bitmap=%d",
+ bitmap[roop_count]));
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_handlersocket_handler::init_union_table_name_pos()
+{
+ DBUG_ENTER("spider_handlersocket_handler::init_union_table_name_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::set_union_table_name_pos()
+{
+ DBUG_ENTER("spider_handlersocket_handler::set_union_table_name_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_handlersocket_handler::reset_union_table_name(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_handlersocket_handler::reset_union_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+#endif
diff --git a/storage/spider/spd_db_handlersocket.h b/storage/spider/spd_db_handlersocket.h
index 7d93598ecc8..5f359d57bd8 100644
--- a/storage/spider/spd_db_handlersocket.h
+++ b/storage/spider/spd_db_handlersocket.h
@@ -1,944 +1,955 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-#define SPIDER_HS_CONN dena::hstcpcli_ptr
-#define SPIDER_HS_CONN_CREATE dena::hstcpcli_i::create
-#define SPIDER_HS_RESULT dena::hstresult
-#define SPIDER_HS_SOCKARGS dena::socket_args
-
-class spider_db_handlersocket_util: public spider_db_util
-{
-public:
- spider_db_handlersocket_util();
- ~spider_db_handlersocket_util();
- int append_name(
- spider_string *str,
- const char *name,
- uint name_length
- );
- int append_name_with_charset(
- spider_string *str,
- const char *name,
- uint name_length,
- CHARSET_INFO *name_charset
- );
- bool is_name_quote(
- const char head_code
- );
- int append_escaped_name_quote(
- spider_string *str
- );
- int append_column_value(
- ha_spider *spider,
- spider_string *str,
- Field *field,
- const uchar *new_ptr,
- CHARSET_INFO *access_charset
- );
- int append_trx_isolation(
- spider_string *str,
- int trx_isolation
- );
- int append_autocommit(
- spider_string *str,
- bool autocommit
- );
- int append_sql_log_off(
- spider_string *str,
- bool sql_log_off
- );
- int append_time_zone(
- spider_string *str,
- Time_zone *time_zone
- );
- int append_start_transaction(
- spider_string *str
- );
- int append_xa_start(
- spider_string *str,
- XID *xid
- );
- int append_lock_table_head(
- spider_string *str
- );
- int append_lock_table_body(
- spider_string *str,
- const char *db_name,
- uint db_name_length,
- CHARSET_INFO *db_name_charset,
- const char *table_name,
- uint table_name_length,
- CHARSET_INFO *table_name_charset,
- int lock_type
- );
- int append_lock_table_tail(
- spider_string *str
- );
- int append_unlock_table(
- spider_string *str
- );
- int open_item_func(
- Item_func *item_func,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int open_item_sum_func(
- Item_sum *item_sum,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#endif
- int append_escaped_util(
- spider_string *to,
- String *from
- );
-};
-
-class spider_db_handlersocket_row: public spider_db_row
-{
-public:
- SPIDER_HS_STRING_REF *hs_row;
- SPIDER_HS_STRING_REF *hs_row_first;
- uint field_count;
- bool cloned;
- spider_db_handlersocket_row();
- ~spider_db_handlersocket_row();
- int store_to_field(
- Field *field,
- CHARSET_INFO *access_charset
- );
- int append_to_str(
- spider_string *str
- );
- int append_escaped_to_str(
- spider_string *str,
- uint dbton_id
- );
- void first();
- void next();
- bool is_null();
- int val_int();
- double val_real();
- my_decimal *val_decimal(
- my_decimal *decimal_value,
- CHARSET_INFO *access_charset
- );
- SPIDER_DB_ROW *clone();
- int store_to_tmp_table(
- TABLE *tmp_table,
- spider_string *str
- );
-};
-
-class spider_db_handlersocket_result_buffer: public spider_db_result_buffer
-{
-public:
- SPIDER_HS_RESULT hs_result;
- spider_db_handlersocket_result_buffer();
- ~spider_db_handlersocket_result_buffer();
- void clear();
- bool check_size(
- longlong size
- );
-};
-
-class spider_db_handlersocket_result: public spider_db_result
-{
-public:
- SPIDER_HS_CONN *hs_conn_p;
- spider_db_handlersocket_row row;
- SPIDER_HS_STRING_REF hs_row;
- uint field_count;
- int store_error_num;
- spider_db_handlersocket_result();
- ~spider_db_handlersocket_result();
- bool has_result();
- void free_result();
- SPIDER_DB_ROW *current_row();
- SPIDER_DB_ROW *fetch_row();
- SPIDER_DB_ROW *fetch_row_from_result_buffer(
- spider_db_result_buffer *spider_res_buf
- );
- SPIDER_DB_ROW *fetch_row_from_tmp_table(
- TABLE *tmp_table
- );
- int fetch_table_status(
- int mode,
- ha_rows &records,
- ulong &mean_rec_length,
- ulonglong &data_file_length,
- ulonglong &max_data_file_length,
- ulonglong &index_file_length,
- ulonglong &auto_increment_value,
- time_t &create_time,
- time_t &update_time,
- time_t &check_time
- );
- int fetch_table_records(
- int mode,
- ha_rows &records
- );
- int fetch_table_cardinality(
- int mode,
- TABLE *table,
- longlong *cardinality,
- uchar *cardinality_upd,
- int bitmap_size
- );
- int fetch_table_mon_status(
- int &status
- );
- longlong num_rows();
- uint num_fields();
- void move_to_pos(
- longlong pos
- );
- int get_errno();
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
- int fetch_columns_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
- );
- int fetch_index_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
- );
-#endif
-};
-
-class spider_db_handlersocket: public spider_db_conn
-{
- SPIDER_HS_CONN hs_conn;
- int stored_error;
- uint field_count;
-public:
- DYNAMIC_ARRAY handler_open_array;
- bool handler_open_array_inited;
- uint handler_open_array_id;
- const char *handler_open_array_func_name;
- const char *handler_open_array_file_name;
- ulong handler_open_array_line_no;
- st_spider_db_request_key *request_key_req_first;
- st_spider_db_request_key *request_key_req_last;
- st_spider_db_request_key *request_key_snd_first;
- st_spider_db_request_key *request_key_snd_last;
- st_spider_db_request_key *request_key_reuse_first;
- st_spider_db_request_key *request_key_reuse_last;
- spider_db_handlersocket(
- SPIDER_CONN *conn
- );
- ~spider_db_handlersocket();
- int init();
- bool is_connected();
- void bg_connect();
- int connect(
- char *tgt_host,
- char *tgt_username,
- char *tgt_password,
- long tgt_port,
- char *tgt_socket,
- char *server_name,
- int connect_retry_count,
- longlong connect_retry_interval
- );
- int ping();
- void bg_disconnect();
- void disconnect();
- int set_net_timeout();
- int exec_query(
- const char *query,
- uint length,
- int quick_mode
- );
- int get_errno();
- const char *get_error();
- bool is_server_gone_error(
- int error_num
- );
- bool is_dup_entry_error(
- int error_num
- );
- bool is_xa_nota_error(
- int error_num
- );
- spider_db_result *store_result(
- spider_db_result_buffer **spider_res_buf,
- st_spider_db_request_key *request_key,
- int *error_num
- );
- spider_db_result *use_result(
- st_spider_db_request_key *request_key,
- int *error_num
- );
- int next_result();
- uint affected_rows();
- ulonglong last_insert_id();
- int set_character_set(
- const char *csname
- );
- int select_db(
- const char *dbname
- );
- int consistent_snapshot(
- int *need_mon
- );
- bool trx_start_in_bulk_sql();
- int start_transaction(
- int *need_mon
- );
- int commit(
- int *need_mon
- );
- int rollback(
- int *need_mon
- );
- bool xa_start_in_bulk_sql();
- int xa_start(
- XID *xid,
- int *need_mon
- );
- int xa_end(
- XID *xid,
- int *need_mon
- );
- int xa_prepare(
- XID *xid,
- int *need_mon
- );
- int xa_commit(
- XID *xid,
- int *need_mon
- );
- int xa_rollback(
- XID *xid,
- int *need_mon
- );
- bool set_trx_isolation_in_bulk_sql();
- int set_trx_isolation(
- int trx_isolation,
- int *need_mon
- );
- bool set_autocommit_in_bulk_sql();
- int set_autocommit(
- bool autocommit,
- int *need_mon
- );
- bool set_sql_log_off_in_bulk_sql();
- int set_sql_log_off(
- bool sql_log_off,
- int *need_mon
- );
- bool set_time_zone_in_bulk_sql();
- int set_time_zone(
- Time_zone *time_zone,
- int *need_mon
- );
- int append_sql(
- char *sql,
- ulong sql_length,
- st_spider_db_request_key *request_key
- );
- int append_open_handler(
- uint handler_id,
- const char *db_name,
- const char *table_name,
- const char *index_name,
- const char *sql,
- st_spider_db_request_key *request_key
- );
- int append_select(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
- );
- int append_insert(
- uint handler_id,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- st_spider_db_request_key *request_key
- );
- int append_update(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- int limit,
- int skip,
- bool increment,
- bool decrement,
- st_spider_db_request_key *request_key
- );
- int append_delete(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
- );
- void reset_request_queue();
- size_t escape_string(
- char *to,
- const char *from,
- size_t from_length
- );
- bool have_lock_table_list();
- int append_lock_tables(
- spider_string *str
- );
- int append_unlock_tables(
- spider_string *str
- );
- uint get_lock_table_hash_count();
- void reset_lock_table_hash();
- uint get_opened_handler_count();
- void reset_opened_handler();
- void set_dup_key_idx(
- ha_spider *spider,
- int link_idx
- );
- int append_request_key(
- st_spider_db_request_key *request_key
- );
- void reset_request_key_req();
- void reset_request_key_snd();
- void move_request_key_to_snd();
- int check_request_key(
- st_spider_db_request_key *request_key
- );
- bool cmp_request_key_to_snd(
- st_spider_db_request_key *request_key
- );
-};
-
-class spider_handlersocket_share: public spider_db_share
-{
-public:
- spider_string *table_names_str;
- spider_string *db_names_str;
- spider_string *db_table_str;
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- my_hash_value_type *db_table_str_hash_value;
-#endif
- uint table_nm_max_length;
- uint db_nm_max_length;
- spider_string *column_name_str;
- bool same_db_table_name;
- int first_all_link_idx;
- spider_handlersocket_share(
- st_spider_share *share
- );
- ~spider_handlersocket_share();
- int init();
- int append_table_name(
- spider_string *str,
- int all_link_idx
- );
- int create_table_names_str();
- void free_table_names_str();
- int create_column_name_str();
- void free_column_name_str();
- uint get_column_name_length(
- uint field_index
- );
- int append_column_name(
- spider_string *str,
- uint field_index
- );
- int append_column_name_with_alias(
- spider_string *str,
- uint field_index,
- const char *alias,
- uint alias_length
- );
- bool need_change_db_table_name();
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
- int discover_table_structure(
- SPIDER_TRX *trx,
- SPIDER_SHARE *spider_share,
- spider_string *str
- );
-#endif
-};
-
-class spider_handlersocket_handler: public spider_db_handler
-{
- spider_string hs_sql;
-public:
- bool hs_adding_keys;
- SPIDER_DB_HS_STRING_REF_BUFFER hs_keys;
- SPIDER_DB_HS_STRING_REF_BUFFER hs_upds;
- SPIDER_DB_HS_STR_BUFFER hs_strs;
- uint hs_strs_pos;
- int hs_limit;
- int hs_skip;
- spider_handlersocket_share *handlersocket_share;
- SPIDER_LINK_FOR_HASH *link_for_hash;
- spider_handlersocket_handler(
- ha_spider *spider,
- spider_handlersocket_share *db_share
- );
- ~spider_handlersocket_handler();
- int init();
- int append_table_name_with_adjusting(
- spider_string *str,
- int link_idx,
- ulong sql_type
- );
- int append_tmp_table_and_sql_for_bka(
- const key_range *start_key
- );
- int reuse_tmp_table_and_sql_for_bka();
- int append_union_table_and_sql_for_bka(
- const key_range *start_key
- );
- int reuse_union_table_and_sql_for_bka();
- int append_insert_for_recovery(
- ulong sql_type,
- int link_idx
- );
- int append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
- );
- int append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
- );
- int append_insert_part();
- int append_update_part();
- int append_delete_part();
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- int append_increment_update_set_part();
-#endif
- int append_update_set_part();
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- int append_direct_update_set_part();
-#endif
- int append_minimum_select_without_quote(
- spider_string *str
- );
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- int append_minimum_select_by_field_idx_list(
- spider_string *str,
- uint32 *field_idxs,
- size_t field_idxs_num
- );
- int append_dup_update_pushdown_part(
- const char *alias,
- uint alias_length
- );
- int append_update_columns_part(
- const char *alias,
- uint alias_length
- );
- int check_update_columns_part();
- int append_select_part(
- ulong sql_type
- );
-#endif
- int append_table_select_part(
- ulong sql_type
- );
- int append_key_select_part(
- ulong sql_type,
- uint idx
- );
- int append_minimum_select_part(
- ulong sql_type
- );
- int append_hint_after_table_part(
- ulong sql_type
- );
- void set_where_pos(
- ulong sql_type
- );
- void set_where_to_pos(
- ulong sql_type
- );
- int check_item_type(
- Item *item
- );
- int append_values_connector_part(
- ulong sql_type
- );
- int append_values_terminator_part(
- ulong sql_type
- );
- int append_union_table_connector_part(
- ulong sql_type
- );
- int append_union_table_terminator_part(
- ulong sql_type
- );
- int append_key_column_values_part(
- const key_range *start_key,
- ulong sql_type
- );
- int append_key_column_values_with_name_part(
- const key_range *start_key,
- ulong sql_type
- );
- int append_key_where_part(
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type
- );
- int append_key_where(
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type,
- bool set_order
- );
- int append_is_null_part(
- ulong sql_type,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
- );
- int append_is_null(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
- );
- int append_where_terminator_part(
- ulong sql_type,
- bool set_order,
- int key_count
- );
- int append_match_where_part(
- ulong sql_type
- );
- int append_condition_part(
- const char *alias,
- uint alias_length,
- ulong sql_type,
- bool test_flg
- );
- int append_match_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int append_sum_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
- );
-#endif
- void set_order_pos(
- ulong sql_type
- );
- void set_order_to_pos(
- ulong sql_type
- );
- int append_key_order_for_merge_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_for_direct_order_limit_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
- );
- int reappend_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
- );
- int append_select_lock_part(
- ulong sql_type
- );
- int append_union_all_start_part(
- ulong sql_type
- );
- int append_union_all_part(
- ulong sql_type
- );
- int append_union_all_end_part(
- ulong sql_type
- );
- int append_multi_range_cnt_part(
- ulong sql_type,
- uint multi_range_cnt,
- bool with_comma
- );
- int append_multi_range_cnt_with_name_part(
- ulong sql_type,
- uint multi_range_cnt
- );
- int append_open_handler_part(
- ulong sql_type,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_open_handler(
- spider_string *str,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_close_handler_part(
- ulong sql_type,
- int link_idx
- );
- int append_insert_terminator_part(
- ulong sql_type
- );
- int append_insert_values_part(
- ulong sql_type
- );
- int append_insert_values(
- spider_string *str
- );
- int append_into_part(
- ulong sql_type
- );
- void set_insert_to_pos(
- ulong sql_type
- );
- int append_from_part(
- ulong sql_type,
- int link_idx
- );
- int append_delete_all_rows_part(
- ulong sql_type
- );
- int append_explain_select_part(
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
- );
- bool is_bulk_insert_exec_period(
- bool bulk_end
- );
- bool sql_is_filled_up(
- ulong sql_type
- );
- bool sql_is_empty(
- ulong sql_type
- );
- bool support_multi_split_read();
- bool support_bulk_update();
- int bulk_tmp_table_insert();
- int bulk_tmp_table_insert(
- int link_idx
- );
- int bulk_tmp_table_end_bulk_insert();
- int bulk_tmp_table_rnd_init();
- int bulk_tmp_table_rnd_next();
- int bulk_tmp_table_rnd_end();
- bool need_copy_for_update(
- int link_idx
- );
- bool bulk_tmp_table_created();
- int mk_bulk_tmp_table_and_bulk_start();
- void rm_bulk_tmp_table();
- int insert_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx,
- int *appended
- );
- int realloc_sql(
- ulong *realloced
- );
- int reset_sql(
- ulong sql_type
- );
- int reset_keys(
- ulong sql_type
- );
- int reset_upds(
- ulong sql_type
- );
- int reset_strs(
- ulong sql_type
- );
- int reset_strs_pos(
- ulong sql_type
- );
- int push_back_upds(
- SPIDER_HS_STRING_REF &info
- );
- int request_buf_find(
- int link_idx
- );
- int request_buf_insert(
- int link_idx
- );
- int request_buf_update(
- int link_idx
- );
- int request_buf_delete(
- int link_idx
- );
- bool need_lock_before_set_sql_for_exec(
- ulong sql_type
- );
- int set_sql_for_exec(
- ulong sql_type,
- int link_idx
- );
- int set_sql_for_exec(
- spider_db_copy_table *tgt_ct,
- ulong sql_type
- );
- int execute_sql(
- ulong sql_type,
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
- );
- int reset();
- int sts_mode_exchange(
- int sts_mode
- );
- int show_table_status(
- int link_idx,
- int sts_mode,
- uint flag
- );
- int crd_mode_exchange(
- int crd_mode
- );
- int show_index(
- int link_idx,
- int crd_mode
- );
- int show_records(
- int link_idx
- );
- int show_last_insert_id(
- int link_idx,
- ulonglong &last_insert_id
- );
- ha_rows explain_select(
- key_range *start_key,
- key_range *end_key,
- int link_idx
- );
- int lock_tables(
- int link_idx
- );
- int unlock_tables(
- int link_idx
- );
- int disable_keys(
- SPIDER_CONN *conn,
- int link_idx
- );
- int enable_keys(
- SPIDER_CONN *conn,
- int link_idx
- );
- int check_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int repair_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int analyze_table(
- SPIDER_CONN *conn,
- int link_idx
- );
- int optimize_table(
- SPIDER_CONN *conn,
- int link_idx
- );
- int flush_tables(
- SPIDER_CONN *conn,
- int link_idx,
- bool lock
- );
- int flush_logs(
- SPIDER_CONN *conn,
- int link_idx
- );
- int insert_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
- );
- int delete_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
- );
- int sync_from_clone_source(
- spider_db_handler *dbton_hdl
- );
- bool support_use_handler(
- int use_handler
- );
- bool minimum_select_bit_is_set(
- uint field_index
- );
- void copy_minimum_select_bitmap(
- uchar *bitmap
- );
- int init_union_table_name_pos();
- int set_union_table_name_pos();
- int reset_union_table_name(
- spider_string *str,
- int link_idx,
- ulong sql_type
- );
-};
+/* Copyright (C) 2012-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#define SPIDER_HS_CONN dena::hstcpcli_ptr
+#define SPIDER_HS_CONN_CREATE dena::hstcpcli_i::create
+#define SPIDER_HS_RESULT dena::hstresult
+#define SPIDER_HS_SOCKARGS dena::socket_args
+
+class spider_db_handlersocket_util: public spider_db_util
+{
+public:
+ spider_db_handlersocket_util();
+ ~spider_db_handlersocket_util();
+ int append_name(
+ spider_string *str,
+ const char *name,
+ uint name_length
+ );
+ int append_name_with_charset(
+ spider_string *str,
+ const char *name,
+ uint name_length,
+ CHARSET_INFO *name_charset
+ );
+ bool is_name_quote(
+ const char head_code
+ );
+ int append_escaped_name_quote(
+ spider_string *str
+ );
+ int append_column_value(
+ ha_spider *spider,
+ spider_string *str,
+ Field *field,
+ const uchar *new_ptr,
+ CHARSET_INFO *access_charset
+ );
+ int append_trx_isolation(
+ spider_string *str,
+ int trx_isolation
+ );
+ int append_autocommit(
+ spider_string *str,
+ bool autocommit
+ );
+ int append_sql_log_off(
+ spider_string *str,
+ bool sql_log_off
+ );
+ int append_time_zone(
+ spider_string *str,
+ Time_zone *time_zone
+ );
+ int append_start_transaction(
+ spider_string *str
+ );
+ int append_xa_start(
+ spider_string *str,
+ XID *xid
+ );
+ int append_lock_table_head(
+ spider_string *str
+ );
+ int append_lock_table_body(
+ spider_string *str,
+ const char *db_name,
+ uint db_name_length,
+ CHARSET_INFO *db_name_charset,
+ const char *table_name,
+ uint table_name_length,
+ CHARSET_INFO *table_name_charset,
+ int lock_type
+ );
+ int append_lock_table_tail(
+ spider_string *str
+ );
+ int append_unlock_table(
+ spider_string *str
+ );
+ int open_item_func(
+ Item_func *item_func,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int open_item_sum_func(
+ Item_sum *item_sum,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ int append_escaped_util(
+ spider_string *to,
+ String *from
+ );
+};
+
+class spider_db_handlersocket_row: public spider_db_row
+{
+public:
+ SPIDER_HS_STRING_REF *hs_row;
+ SPIDER_HS_STRING_REF *hs_row_first;
+ uint field_count;
+ bool cloned;
+ spider_db_handlersocket_row();
+ ~spider_db_handlersocket_row();
+ int store_to_field(
+ Field *field,
+ CHARSET_INFO *access_charset
+ );
+ int append_to_str(
+ spider_string *str
+ );
+ int append_escaped_to_str(
+ spider_string *str,
+ uint dbton_id
+ );
+ void first();
+ void next();
+ bool is_null();
+ int val_int();
+ double val_real();
+ my_decimal *val_decimal(
+ my_decimal *decimal_value,
+ CHARSET_INFO *access_charset
+ );
+ SPIDER_DB_ROW *clone();
+ int store_to_tmp_table(
+ TABLE *tmp_table,
+ spider_string *str
+ );
+};
+
+class spider_db_handlersocket_result_buffer: public spider_db_result_buffer
+{
+public:
+ SPIDER_HS_RESULT hs_result;
+ spider_db_handlersocket_result_buffer();
+ ~spider_db_handlersocket_result_buffer();
+ void clear();
+ bool check_size(
+ longlong size
+ );
+};
+
+class spider_db_handlersocket_result: public spider_db_result
+{
+public:
+ SPIDER_HS_CONN *hs_conn_p;
+ spider_db_handlersocket_row row;
+ SPIDER_HS_STRING_REF hs_row;
+ uint field_count;
+ int store_error_num;
+ spider_db_handlersocket_result();
+ ~spider_db_handlersocket_result();
+ bool has_result();
+ void free_result();
+ SPIDER_DB_ROW *current_row();
+ SPIDER_DB_ROW *fetch_row();
+ SPIDER_DB_ROW *fetch_row_from_result_buffer(
+ spider_db_result_buffer *spider_res_buf
+ );
+ SPIDER_DB_ROW *fetch_row_from_tmp_table(
+ TABLE *tmp_table
+ );
+ int fetch_table_status(
+ int mode,
+ ha_rows &records,
+ ulong &mean_rec_length,
+ ulonglong &data_file_length,
+ ulonglong &max_data_file_length,
+ ulonglong &index_file_length,
+ ulonglong &auto_increment_value,
+ time_t &create_time,
+ time_t &update_time,
+ time_t &check_time
+ );
+ int fetch_table_records(
+ int mode,
+ ha_rows &records
+ );
+ int fetch_table_cardinality(
+ int mode,
+ TABLE *table,
+ longlong *cardinality,
+ uchar *cardinality_upd,
+ int bitmap_size
+ );
+ int fetch_table_mon_status(
+ int &status
+ );
+ longlong num_rows();
+ uint num_fields();
+ void move_to_pos(
+ longlong pos
+ );
+ int get_errno();
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+ int fetch_columns_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+ );
+ int fetch_index_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+ );
+#endif
+};
+
+class spider_db_handlersocket: public spider_db_conn
+{
+ SPIDER_HS_CONN hs_conn;
+ int stored_error;
+ uint field_count;
+public:
+ DYNAMIC_ARRAY handler_open_array;
+ bool handler_open_array_inited;
+ uint handler_open_array_id;
+ const char *handler_open_array_func_name;
+ const char *handler_open_array_file_name;
+ ulong handler_open_array_line_no;
+ st_spider_db_request_key *request_key_req_first;
+ st_spider_db_request_key *request_key_req_last;
+ st_spider_db_request_key *request_key_snd_first;
+ st_spider_db_request_key *request_key_snd_last;
+ st_spider_db_request_key *request_key_reuse_first;
+ st_spider_db_request_key *request_key_reuse_last;
+ spider_db_handlersocket(
+ SPIDER_CONN *conn
+ );
+ ~spider_db_handlersocket();
+ int init();
+ bool is_connected();
+ void bg_connect();
+ int connect(
+ char *tgt_host,
+ char *tgt_username,
+ char *tgt_password,
+ long tgt_port,
+ char *tgt_socket,
+ char *server_name,
+ int connect_retry_count,
+ longlong connect_retry_interval
+ );
+ int ping();
+ void bg_disconnect();
+ void disconnect();
+ int set_net_timeout();
+ int exec_query(
+ const char *query,
+ uint length,
+ int quick_mode
+ );
+ int get_errno();
+ const char *get_error();
+ bool is_server_gone_error(
+ int error_num
+ );
+ bool is_dup_entry_error(
+ int error_num
+ );
+ bool is_xa_nota_error(
+ int error_num
+ );
+ spider_db_result *store_result(
+ spider_db_result_buffer **spider_res_buf,
+ st_spider_db_request_key *request_key,
+ int *error_num
+ );
+ spider_db_result *use_result(
+ st_spider_db_request_key *request_key,
+ int *error_num
+ );
+ int next_result();
+ uint affected_rows();
+ ulonglong last_insert_id();
+ int set_character_set(
+ const char *csname
+ );
+ int select_db(
+ const char *dbname
+ );
+ int consistent_snapshot(
+ int *need_mon
+ );
+ bool trx_start_in_bulk_sql();
+ int start_transaction(
+ int *need_mon
+ );
+ int commit(
+ int *need_mon
+ );
+ int rollback(
+ int *need_mon
+ );
+ bool xa_start_in_bulk_sql();
+ int xa_start(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_end(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_prepare(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_commit(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_rollback(
+ XID *xid,
+ int *need_mon
+ );
+ bool set_trx_isolation_in_bulk_sql();
+ int set_trx_isolation(
+ int trx_isolation,
+ int *need_mon
+ );
+ bool set_autocommit_in_bulk_sql();
+ int set_autocommit(
+ bool autocommit,
+ int *need_mon
+ );
+ bool set_sql_log_off_in_bulk_sql();
+ int set_sql_log_off(
+ bool sql_log_off,
+ int *need_mon
+ );
+ bool set_time_zone_in_bulk_sql();
+ int set_time_zone(
+ Time_zone *time_zone,
+ int *need_mon
+ );
+ int append_sql(
+ char *sql,
+ ulong sql_length,
+ st_spider_db_request_key *request_key
+ );
+ int append_open_handler(
+ uint handler_id,
+ const char *db_name,
+ const char *table_name,
+ const char *index_name,
+ const char *sql,
+ st_spider_db_request_key *request_key
+ );
+ int append_select(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+ );
+ int append_insert(
+ uint handler_id,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ st_spider_db_request_key *request_key
+ );
+ int append_update(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ int limit,
+ int skip,
+ bool increment,
+ bool decrement,
+ st_spider_db_request_key *request_key
+ );
+ int append_delete(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+ );
+ void reset_request_queue();
+ size_t escape_string(
+ char *to,
+ const char *from,
+ size_t from_length
+ );
+ bool have_lock_table_list();
+ int append_lock_tables(
+ spider_string *str
+ );
+ int append_unlock_tables(
+ spider_string *str
+ );
+ uint get_lock_table_hash_count();
+ void reset_lock_table_hash();
+ uint get_opened_handler_count();
+ void reset_opened_handler();
+ void set_dup_key_idx(
+ ha_spider *spider,
+ int link_idx
+ );
+ int append_request_key(
+ st_spider_db_request_key *request_key
+ );
+ void reset_request_key_req();
+ void reset_request_key_snd();
+ void move_request_key_to_snd();
+ int check_request_key(
+ st_spider_db_request_key *request_key
+ );
+ bool cmp_request_key_to_snd(
+ st_spider_db_request_key *request_key
+ );
+};
+
+class spider_handlersocket_share: public spider_db_share
+{
+public:
+ spider_string *table_names_str;
+ spider_string *db_names_str;
+ spider_string *db_table_str;
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ my_hash_value_type *db_table_str_hash_value;
+#endif
+ uint table_nm_max_length;
+ uint db_nm_max_length;
+ spider_string *column_name_str;
+ bool same_db_table_name;
+ int first_all_link_idx;
+ spider_handlersocket_share(
+ st_spider_share *share
+ );
+ ~spider_handlersocket_share();
+ int init();
+ int append_table_name(
+ spider_string *str,
+ int all_link_idx
+ );
+ int create_table_names_str();
+ void free_table_names_str();
+ int create_column_name_str();
+ void free_column_name_str();
+ uint get_column_name_length(
+ uint field_index
+ );
+ int append_column_name(
+ spider_string *str,
+ uint field_index
+ );
+ int append_column_name_with_alias(
+ spider_string *str,
+ uint field_index,
+ const char *alias,
+ uint alias_length
+ );
+ bool need_change_db_table_name();
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+ int discover_table_structure(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *spider_share,
+ spider_string *str
+ );
+#endif
+};
+
+class spider_handlersocket_handler: public spider_db_handler
+{
+ spider_string hs_sql;
+public:
+ bool hs_adding_keys;
+ SPIDER_DB_HS_STRING_REF_BUFFER hs_keys;
+ SPIDER_DB_HS_STRING_REF_BUFFER hs_upds;
+ SPIDER_DB_HS_STR_BUFFER hs_strs;
+ uint hs_strs_pos;
+ int hs_limit;
+ int hs_skip;
+ spider_handlersocket_share *handlersocket_share;
+ SPIDER_LINK_FOR_HASH *link_for_hash;
+ uchar *minimum_select_bitmap;
+ spider_handlersocket_handler(
+ ha_spider *spider,
+ spider_handlersocket_share *db_share
+ );
+ ~spider_handlersocket_handler();
+ int init();
+ int append_table_name_with_adjusting(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+ );
+ int append_tmp_table_and_sql_for_bka(
+ const key_range *start_key
+ );
+ int reuse_tmp_table_and_sql_for_bka();
+ int append_union_table_and_sql_for_bka(
+ const key_range *start_key
+ );
+ int reuse_union_table_and_sql_for_bka();
+ int append_insert_for_recovery(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+ );
+ int append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+ );
+ int append_insert_part();
+ int append_update_part();
+ int append_delete_part();
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ int append_increment_update_set_part();
+#endif
+ int append_update_set_part();
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ int append_direct_update_set_part();
+#endif
+ int append_minimum_select_without_quote(
+ spider_string *str
+ );
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ int append_minimum_select_by_field_idx_list(
+ spider_string *str,
+ uint32 *field_idxs,
+ size_t field_idxs_num
+ );
+ int append_dup_update_pushdown_part(
+ const char *alias,
+ uint alias_length
+ );
+ int append_update_columns_part(
+ const char *alias,
+ uint alias_length
+ );
+ int check_update_columns_part();
+ int append_select_part(
+ ulong sql_type
+ );
+#endif
+ int append_table_select_part(
+ ulong sql_type
+ );
+ int append_key_select_part(
+ ulong sql_type,
+ uint idx
+ );
+ int append_minimum_select_part(
+ ulong sql_type
+ );
+ int append_hint_after_table_part(
+ ulong sql_type
+ );
+ void set_where_pos(
+ ulong sql_type
+ );
+ void set_where_to_pos(
+ ulong sql_type
+ );
+ int check_item_type(
+ Item *item
+ );
+ int append_values_connector_part(
+ ulong sql_type
+ );
+ int append_values_terminator_part(
+ ulong sql_type
+ );
+ int append_union_table_connector_part(
+ ulong sql_type
+ );
+ int append_union_table_terminator_part(
+ ulong sql_type
+ );
+ int append_key_column_values_part(
+ const key_range *start_key,
+ ulong sql_type
+ );
+ int append_key_column_values_with_name_part(
+ const key_range *start_key,
+ ulong sql_type
+ );
+ int append_key_where_part(
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type
+ );
+ int append_key_where(
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type,
+ bool set_order
+ );
+ int append_is_null_part(
+ ulong sql_type,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+ );
+ int append_is_null(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+ );
+ int append_where_terminator_part(
+ ulong sql_type,
+ bool set_order,
+ int key_count
+ );
+ int append_match_where_part(
+ ulong sql_type
+ );
+ int append_condition_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type,
+ bool test_flg
+ );
+ int append_match_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int append_sum_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ void set_order_pos(
+ ulong sql_type
+ );
+ void set_order_to_pos(
+ ulong sql_type
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int append_group_by_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+#endif
+ int append_key_order_for_merge_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_for_direct_order_limit_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+ );
+ int reappend_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+ );
+ int append_select_lock_part(
+ ulong sql_type
+ );
+ int append_union_all_start_part(
+ ulong sql_type
+ );
+ int append_union_all_part(
+ ulong sql_type
+ );
+ int append_union_all_end_part(
+ ulong sql_type
+ );
+ int append_multi_range_cnt_part(
+ ulong sql_type,
+ uint multi_range_cnt,
+ bool with_comma
+ );
+ int append_multi_range_cnt_with_name_part(
+ ulong sql_type,
+ uint multi_range_cnt
+ );
+ int append_open_handler_part(
+ ulong sql_type,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_open_handler(
+ spider_string *str,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_close_handler_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_insert_terminator_part(
+ ulong sql_type
+ );
+ int append_insert_values_part(
+ ulong sql_type
+ );
+ int append_insert_values(
+ spider_string *str
+ );
+ int append_into_part(
+ ulong sql_type
+ );
+ void set_insert_to_pos(
+ ulong sql_type
+ );
+ int append_from_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_delete_all_rows_part(
+ ulong sql_type
+ );
+ int append_explain_select_part(
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+ );
+ bool is_bulk_insert_exec_period(
+ bool bulk_end
+ );
+ bool sql_is_filled_up(
+ ulong sql_type
+ );
+ bool sql_is_empty(
+ ulong sql_type
+ );
+ bool support_multi_split_read();
+ bool support_bulk_update();
+ int bulk_tmp_table_insert();
+ int bulk_tmp_table_insert(
+ int link_idx
+ );
+ int bulk_tmp_table_end_bulk_insert();
+ int bulk_tmp_table_rnd_init();
+ int bulk_tmp_table_rnd_next();
+ int bulk_tmp_table_rnd_end();
+ bool need_copy_for_update(
+ int link_idx
+ );
+ bool bulk_tmp_table_created();
+ int mk_bulk_tmp_table_and_bulk_start();
+ void rm_bulk_tmp_table();
+ int insert_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx,
+ int *appended
+ );
+ int realloc_sql(
+ ulong *realloced
+ );
+ int reset_sql(
+ ulong sql_type
+ );
+ int reset_keys(
+ ulong sql_type
+ );
+ int reset_upds(
+ ulong sql_type
+ );
+ int reset_strs(
+ ulong sql_type
+ );
+ int reset_strs_pos(
+ ulong sql_type
+ );
+ int push_back_upds(
+ SPIDER_HS_STRING_REF &info
+ );
+ int request_buf_find(
+ int link_idx
+ );
+ int request_buf_insert(
+ int link_idx
+ );
+ int request_buf_update(
+ int link_idx
+ );
+ int request_buf_delete(
+ int link_idx
+ );
+ bool need_lock_before_set_sql_for_exec(
+ ulong sql_type
+ );
+ int set_sql_for_exec(
+ ulong sql_type,
+ int link_idx
+ );
+ int set_sql_for_exec(
+ spider_db_copy_table *tgt_ct,
+ ulong sql_type
+ );
+ int execute_sql(
+ ulong sql_type,
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+ );
+ int reset();
+ int sts_mode_exchange(
+ int sts_mode
+ );
+ int show_table_status(
+ int link_idx,
+ int sts_mode,
+ uint flag
+ );
+ int crd_mode_exchange(
+ int crd_mode
+ );
+ int show_index(
+ int link_idx,
+ int crd_mode
+ );
+ int show_records(
+ int link_idx
+ );
+ int show_last_insert_id(
+ int link_idx,
+ ulonglong &last_insert_id
+ );
+ ha_rows explain_select(
+ key_range *start_key,
+ key_range *end_key,
+ int link_idx
+ );
+ int lock_tables(
+ int link_idx
+ );
+ int unlock_tables(
+ int link_idx
+ );
+ int disable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int enable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int check_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int repair_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int analyze_table(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int optimize_table(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int flush_tables(
+ SPIDER_CONN *conn,
+ int link_idx,
+ bool lock
+ );
+ int flush_logs(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int insert_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int delete_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int sync_from_clone_source(
+ spider_db_handler *dbton_hdl
+ );
+ bool support_use_handler(
+ int use_handler
+ );
+ void minimum_select_bitmap_create();
+ bool minimum_select_bit_is_set(
+ uint field_index
+ );
+ void copy_minimum_select_bitmap(
+ uchar *bitmap
+ );
+ int init_union_table_name_pos();
+ int set_union_table_name_pos();
+ int reset_union_table_name(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+ );
+};
diff --git a/storage/spider/spd_db_include.h b/storage/spider/spd_db_include.h
index 218358c631d..40f547df35e 100644
--- a/storage/spider/spd_db_include.h
+++ b/storage/spider/spd_db_include.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -26,11 +26,20 @@
#define SPIDER_HAS_SHOW_SIMPLE_FUNC
#endif
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100007
+#define SPIDER_HAS_DISCOVER_TABLE_STRUCTURE_COMMENT
+#define SPIDER_ITEM_HAS_CMP_TYPE
+#endif
+
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100004
#define SPIDER_HAS_TIME_STATUS
#define SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
#endif
+#if defined(MARIADB_BASE_VERSION)
+#define SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
+#endif
+
class spider_db_conn;
typedef spider_db_conn SPIDER_DB_CONN;
class spider_db_result;
@@ -1120,7 +1129,8 @@ public:
KEY_PART_INFO *key_part,
const key_range *key,
const uchar **ptr,
- bool key_eq
+ bool key_eq,
+ bool tgt_final
) = 0;
virtual int append_where_terminator_part(
ulong sql_type,
@@ -1154,6 +1164,13 @@ public:
virtual void set_order_to_pos(
ulong sql_type
) = 0;
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ virtual int append_group_by_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ ) = 0;
+#endif
virtual int append_key_order_for_merge_with_alias_part(
const char *alias,
uint alias_length,
@@ -1578,6 +1595,8 @@ typedef struct st_spider_result_list
uint *sql_kind_backup;
uint sql_kinds_backup;
bool use_union;
+ bool use_both_key;
+ const key_range *end_key;
spider_string *insert_sqls;
spider_string *update_sqls;
TABLE **upd_tmp_tbls;
@@ -1624,6 +1643,7 @@ typedef struct st_spider_result_list
longlong first_read;
longlong second_read;
int set_split_read_count;
+ int *casual_read;
#ifndef WITHOUT_SPIDER_BG_SEARCH
/* 0:nomal 1:store 2:store end */
volatile
diff --git a/storage/spider/spd_db_mysql.cc b/storage/spider/spd_db_mysql.cc
index a09b9e4a804..5f770e2b124 100644
--- a/storage/spider/spd_db_mysql.cc
+++ b/storage/spider/spd_db_mysql.cc
@@ -1,11570 +1,11873 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-#define MYSQL_SERVER 1
-#include "mysql_version.h"
-#if MYSQL_VERSION_ID < 50500
-#include "mysql_priv.h"
-#include <mysql/plugin.h>
-#else
-#include "sql_priv.h"
-#include "probes_mysql.h"
-#include "sql_class.h"
-#include "sql_partition.h"
-#include "sql_analyse.h"
-#include "sql_base.h"
-#include "tztime.h"
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-#include "sql_select.h"
-#endif
-#endif
-#include "sql_common.h"
-#include <mysql.h>
-#include <errmsg.h>
-#include "spd_err.h"
-#include "spd_param.h"
-#include "spd_db_include.h"
-#include "spd_include.h"
-#include "spd_db_mysql.h"
-#include "ha_spider.h"
-#include "spd_conn.h"
-#include "spd_db_conn.h"
-#include "spd_malloc.h"
-#include "spd_sys_table.h"
-#include "spd_table.h"
-
-extern struct charset_info_st *spd_charset_utf8_bin;
-
-extern handlerton *spider_hton_ptr;
-extern pthread_mutex_t spider_open_conn_mutex;
-extern HASH spider_open_connections;
-extern SPIDER_DBTON spider_dbton[SPIDER_DBTON_SIZE];
-extern const char spider_dig_upper[];
-
-#define SPIDER_SQL_NAME_QUOTE_STR "`"
-#define SPIDER_SQL_NAME_QUOTE_LEN (sizeof(SPIDER_SQL_NAME_QUOTE_STR) - 1)
-static const char *name_quote_str = SPIDER_SQL_NAME_QUOTE_STR;
-
-#define SPIDER_SQL_ISO_READ_UNCOMMITTED_STR "set session transaction isolation level read uncommitted"
-#define SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN sizeof(SPIDER_SQL_ISO_READ_UNCOMMITTED_STR) - 1
-#define SPIDER_SQL_ISO_READ_COMMITTED_STR "set session transaction isolation level read committed"
-#define SPIDER_SQL_ISO_READ_COMMITTED_LEN sizeof(SPIDER_SQL_ISO_READ_COMMITTED_STR) - 1
-#define SPIDER_SQL_ISO_REPEATABLE_READ_STR "set session transaction isolation level repeatable read"
-#define SPIDER_SQL_ISO_REPEATABLE_READ_LEN sizeof(SPIDER_SQL_ISO_REPEATABLE_READ_STR) - 1
-#define SPIDER_SQL_ISO_SERIALIZABLE_STR "set session transaction isolation level serializable"
-#define SPIDER_SQL_ISO_SERIALIZABLE_LEN sizeof(SPIDER_SQL_ISO_SERIALIZABLE_STR) - 1
-
-#define SPIDER_SQL_START_CONSISTENT_SNAPSHOT_STR "start transaction with consistent snapshot"
-#define SPIDER_SQL_START_CONSISTENT_SNAPSHOT_LEN sizeof(SPIDER_SQL_START_CONSISTENT_SNAPSHOT_STR) - 1
-#define SPIDER_SQL_START_TRANSACTION_STR "start transaction"
-#define SPIDER_SQL_START_TRANSACTION_LEN sizeof(SPIDER_SQL_START_TRANSACTION_STR) - 1
-
-#define SPIDER_SQL_AUTOCOMMIT_OFF_STR "set session autocommit = 0"
-#define SPIDER_SQL_AUTOCOMMIT_OFF_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_OFF_STR) - 1
-#define SPIDER_SQL_AUTOCOMMIT_ON_STR "set session autocommit = 1"
-#define SPIDER_SQL_AUTOCOMMIT_ON_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_ON_STR) - 1
-
-#define SPIDER_SQL_SQL_LOG_OFF_STR "set session sql_log_off = 0"
-#define SPIDER_SQL_SQL_LOG_OFF_LEN sizeof(SPIDER_SQL_SQL_LOG_OFF_STR) - 1
-#define SPIDER_SQL_SQL_LOG_ON_STR "set session sql_log_off = 1"
-#define SPIDER_SQL_SQL_LOG_ON_LEN sizeof(SPIDER_SQL_SQL_LOG_ON_STR) - 1
-
-#define SPIDER_SQL_TIME_ZONE_STR "set session time_zone = '"
-#define SPIDER_SQL_TIME_ZONE_LEN sizeof(SPIDER_SQL_TIME_ZONE_STR) - 1
-
-#define SPIDER_SQL_COMMIT_STR "commit"
-#define SPIDER_SQL_COMMIT_LEN sizeof(SPIDER_SQL_COMMIT_STR) - 1
-#define SPIDER_SQL_ROLLBACK_STR "rollback"
-#define SPIDER_SQL_ROLLBACK_LEN sizeof(SPIDER_SQL_ROLLBACK_STR) - 1
-
-#define SPIDER_SQL_XA_START_STR "xa start "
-#define SPIDER_SQL_XA_START_LEN sizeof(SPIDER_SQL_XA_START_STR) - 1
-#define SPIDER_SQL_XA_END_STR "xa end "
-#define SPIDER_SQL_XA_END_LEN sizeof(SPIDER_SQL_XA_END_STR) - 1
-#define SPIDER_SQL_XA_PREPARE_STR "xa prepare "
-#define SPIDER_SQL_XA_PREPARE_LEN sizeof(SPIDER_SQL_XA_PREPARE_STR) - 1
-#define SPIDER_SQL_XA_COMMIT_STR "xa commit "
-#define SPIDER_SQL_XA_COMMIT_LEN sizeof(SPIDER_SQL_XA_COMMIT_STR) - 1
-#define SPIDER_SQL_XA_ROLLBACK_STR "xa rollback "
-#define SPIDER_SQL_XA_ROLLBACK_LEN sizeof(SPIDER_SQL_XA_ROLLBACK_STR) - 1
-
-#define SPIDER_SQL_LOCK_TABLE_STR "lock tables "
-#define SPIDER_SQL_LOCK_TABLE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_STR) - 1)
-#define SPIDER_SQL_UNLOCK_TABLE_STR "unlock tables"
-#define SPIDER_SQL_UNLOCK_TABLE_LEN (sizeof(SPIDER_SQL_UNLOCK_TABLE_STR) - 1)
-
-#define SPIDER_SQL_SHOW_TABLE_STATUS_STR "show table status from "
-#define SPIDER_SQL_SHOW_TABLE_STATUS_LEN sizeof(SPIDER_SQL_SHOW_TABLE_STATUS_STR) - 1
-#define SPIDER_SQL_SELECT_TABLES_STATUS_STR "select `table_rows`,`avg_row_length`,`data_length`,`max_data_length`,`index_length`,`auto_increment`,`create_time`,`update_time`,`check_time` from `information_schema`.`tables` where `table_schema` = "
-#define SPIDER_SQL_SELECT_TABLES_STATUS_LEN sizeof(SPIDER_SQL_SELECT_TABLES_STATUS_STR) - 1
-
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
-#define SPIDER_SQL_SHOW_COLUMNS_STR "show columns from "
-#define SPIDER_SQL_SHOW_COLUMNS_LEN sizeof(SPIDER_SQL_SHOW_COLUMNS_STR) - 1
-#endif
-
-#define SPIDER_SQL_LIKE_STR " like "
-#define SPIDER_SQL_LIKE_LEN (sizeof(SPIDER_SQL_LIKE_STR) - 1)
-#define SPIDER_SQL_LIMIT1_STR " limit 1"
-#define SPIDER_SQL_LIMIT1_LEN (sizeof(SPIDER_SQL_LIMIT1_STR) - 1)
-#define SPIDER_SQL_COLLATE_STR " collate "
-#define SPIDER_SQL_COLLATE_LEN (sizeof(SPIDER_SQL_COLLATE_STR) - 1)
-
-#define SPIDER_SQL_INTERVAL_STR " + interval "
-#define SPIDER_SQL_INTERVAL_LEN (sizeof(SPIDER_SQL_INTERVAL_STR) - 1)
-#define SPIDER_SQL_NEGINTERVAL_STR " - interval "
-#define SPIDER_SQL_NEGINTERVAL_LEN (sizeof(SPIDER_SQL_NEGINTERVAL_STR) - 1)
-
-static uchar SPIDER_SQL_LINESTRING_HEAD_STR[] =
- {0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00};
-#define SPIDER_SQL_LINESTRING_HEAD_LEN sizeof(SPIDER_SQL_LINESTRING_HEAD_STR)
-
-static const char *spider_db_table_lock_str[] =
-{
- " read local,",
- " read,",
- " low_priority write,",
- " write,"
-};
-static const int spider_db_table_lock_len[] =
-{
- sizeof(" read local,") - 1,
- sizeof(" read,") - 1,
- sizeof(" low_priority write,") - 1,
- sizeof(" write,") - 1
-};
-static const char *spider_db_timefunc_interval_str[] =
-{
- " year", " quarter", " month", " week", " day",
- " hour", " minute", " second", " microsecond",
- " year_month", " day_hour", " day_minute",
- " day_second", " hour_minute", " hour_second",
- " minute_second", " day_microsecond", " hour_microsecond",
- " minute_microsecond", " second_microsecond"
-};
-
-int spider_mysql_init()
-{
- DBUG_ENTER("spider_mysql_init");
- DBUG_RETURN(0);
-}
-
-int spider_mysql_deinit()
-{
- DBUG_ENTER("spider_mysql_deinit");
- DBUG_RETURN(0);
-}
-
-spider_db_share *spider_mysql_create_share(
- SPIDER_SHARE *share
-) {
- DBUG_ENTER("spider_mysql_create_share");
- DBUG_RETURN(new spider_mysql_share(share));
-}
-
-spider_db_handler *spider_mysql_create_handler(
- ha_spider *spider,
- spider_db_share *db_share
-) {
- DBUG_ENTER("spider_mysql_create_handler");
- DBUG_RETURN(new spider_mysql_handler(spider,
- (spider_mysql_share *) db_share));
-}
-
-spider_db_copy_table *spider_mysql_create_copy_table(
- spider_db_share *db_share
-) {
- DBUG_ENTER("spider_mysql_create_copy_table");
- DBUG_RETURN(new spider_mysql_copy_table(
- (spider_mysql_share *) db_share));
-}
-
-SPIDER_DB_CONN *spider_mysql_create_conn(
- SPIDER_CONN *conn
-) {
- DBUG_ENTER("spider_mysql_create_conn");
- DBUG_RETURN(new spider_db_mysql(conn));
-}
-
-spider_db_mysql_util spider_db_mysql_utility;
-
-SPIDER_DBTON spider_dbton_mysql = {
- 0,
- SPIDER_DB_WRAPPER_MYSQL,
- SPIDER_DB_ACCESS_TYPE_SQL,
- spider_mysql_init,
- spider_mysql_deinit,
- spider_mysql_create_share,
- spider_mysql_create_handler,
- spider_mysql_create_copy_table,
- spider_mysql_create_conn,
- &spider_db_mysql_utility
-};
-
-spider_db_mysql_row::spider_db_mysql_row() :
- spider_db_row(spider_dbton_mysql.dbton_id),
- row(NULL), lengths(NULL), cloned(FALSE)
-{
- DBUG_ENTER("spider_db_mysql_row::spider_db_mysql_row");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_mysql_row::~spider_db_mysql_row()
-{
- DBUG_ENTER("spider_db_mysql_row::~spider_db_mysql_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (cloned)
- {
- spider_free(spider_current_trx, row_first, MYF(0));
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_mysql_row::store_to_field(
- Field *field,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_mysql_row::store_to_field");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!*row)
- {
- DBUG_PRINT("info", ("spider field is null"));
- field->set_null();
- field->reset();
- } else {
- field->set_notnull();
- if (field->flags & BLOB_FLAG)
- {
- DBUG_PRINT("info", ("spider blob field"));
- if (
- field->charset() == &my_charset_bin ||
- field->charset()->cset == access_charset->cset
- )
- ((Field_blob *)field)->set_ptr(*lengths, (uchar *) *row);
- else {
- DBUG_PRINT("info", ("spider blob convert"));
- if (field->table->file->ht == spider_hton_ptr)
- {
- ha_spider *spider = (ha_spider *) field->table->file;
- spider_string *str = &spider->blob_buff[field->field_index];
- str->length(0);
- if (str->append(*row, *lengths, access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- ((Field_blob *)field)->set_ptr(str->length(), (uchar *) str->ptr());
- } else {
- field->store(*row, *lengths, access_charset);
- }
- }
- } else
- field->store(*row, *lengths, access_charset);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_row::append_to_str(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_mysql_row::append_to_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(*lengths))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(*row, *lengths);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_row::append_escaped_to_str(
- spider_string *str,
- uint dbton_id
-) {
- DBUG_ENTER("spider_db_mysql_row::append_escaped_to_str");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_string tmp_str(*row, *lengths + 1, str->charset());
- tmp_str.init_calc_mem(133);
- tmp_str.length(*lengths);
- if (str->reserve(*lengths * 2 + 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- spider_dbton[dbton_id].db_util->append_escaped_util(str, tmp_str.get_str());
- DBUG_RETURN(0);
-}
-
-void spider_db_mysql_row::first()
-{
- DBUG_ENTER("spider_db_mysql_row::first");
- DBUG_PRINT("info",("spider this=%p", this));
- row = row_first;
- lengths = lengths_first;
- DBUG_VOID_RETURN;
-}
-
-void spider_db_mysql_row::next()
-{
- DBUG_ENTER("spider_db_mysql_row::next");
- DBUG_PRINT("info",("spider this=%p", this));
- row++;
- lengths++;
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_mysql_row::is_null()
-{
- DBUG_ENTER("spider_db_mysql_row::is_null");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(!(*row));
-}
-
-int spider_db_mysql_row::val_int()
-{
- DBUG_ENTER("spider_db_mysql_row::val_int");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(*row ? atoi(*row) : 0);
-}
-
-double spider_db_mysql_row::val_real()
-{
- DBUG_ENTER("spider_db_mysql_row::val_real");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(*row ? my_atof(*row) : 0.0);
-}
-
-my_decimal *spider_db_mysql_row::val_decimal(
- my_decimal *decimal_value,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_mysql_row::val_decimal");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!*row)
- DBUG_RETURN(NULL);
-
-#ifdef SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
- decimal_operation_results(str2my_decimal(0, *row, *lengths, access_charset,
- decimal_value), "", "");
-#else
- decimal_operation_results(str2my_decimal(0, *row, *lengths, access_charset,
- decimal_value));
-#endif
-
- DBUG_RETURN(decimal_value);
-}
-
-SPIDER_DB_ROW *spider_db_mysql_row::clone()
-{
- spider_db_mysql_row *clone_row;
- char *tmp_char;
- MYSQL_ROW tmp_row = row_first, ctmp_row;
- ulong *tmp_lengths = lengths_first;
- uint row_size, i;
- DBUG_ENTER("spider_db_mysql_row::clone");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(clone_row = new spider_db_mysql_row()))
- {
- DBUG_RETURN(NULL);
- }
- row_size = field_count;
- for (i = 0; i < field_count; i++)
- {
- row_size += *tmp_lengths;
- tmp_lengths++;
- }
- if (!spider_bulk_malloc(spider_current_trx, 29, MYF(MY_WME),
- &clone_row->row, sizeof(char*) * field_count,
- &tmp_char, row_size,
- &clone_row->lengths, sizeof(ulong) * field_count,
- NullS)
- ) {
- delete clone_row;
- DBUG_RETURN(NULL);
- }
- memcpy(clone_row->lengths, lengths_first, sizeof(ulong) * field_count);
- tmp_lengths = lengths_first;
- ctmp_row = clone_row->row;
- for (i = 0; i < field_count; i++)
- {
- DBUG_PRINT("info",("spider *lengths=%lu", *tmp_lengths));
- if (*tmp_row == NULL)
- {
- *ctmp_row = NULL;
- *tmp_char = 0;
- tmp_char++;
- } else {
- *ctmp_row = tmp_char;
- memcpy(tmp_char, *tmp_row, *tmp_lengths + 1);
- tmp_char += *tmp_lengths + 1;
- }
- ctmp_row++;
- tmp_lengths++;
- tmp_row++;
- }
- clone_row->field_count = field_count;
- clone_row->row_first = clone_row->row;
- clone_row->lengths_first = clone_row->lengths;
- clone_row->cloned = TRUE;
- DBUG_RETURN((SPIDER_DB_ROW *) clone_row);
-}
-
-int spider_db_mysql_row::store_to_tmp_table(
- TABLE *tmp_table,
- spider_string *str
-) {
- uint i;
- MYSQL_ROW tmp_row = row;
- ulong *tmp_lengths = lengths;
- DBUG_ENTER("spider_db_mysql_row::store_to_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- for (i = 0; i < field_count; i++)
- {
- if (*tmp_row)
- {
- if (str->reserve(*tmp_lengths + 1))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(*tmp_row, *tmp_lengths + 1);
- }
- tmp_lengths++;
- tmp_row++;
- }
- tmp_table->field[0]->set_notnull();
- tmp_table->field[0]->store(
- (const char *) lengths,
- sizeof(ulong) * field_count, &my_charset_bin);
- tmp_table->field[1]->set_notnull();
- tmp_table->field[1]->store(
- str->ptr(), str->length(), &my_charset_bin);
- tmp_table->field[2]->set_notnull();
- tmp_table->field[2]->store(
- (char *) row, (uint) (sizeof(char *) * field_count), &my_charset_bin);
- DBUG_RETURN(tmp_table->file->ha_write_row(tmp_table->record[0]));
-}
-
-spider_db_mysql_result::spider_db_mysql_result() :
- spider_db_result(spider_dbton_mysql.dbton_id),
- db_result(NULL)
-{
- DBUG_ENTER("spider_db_mysql_result::spider_db_mysql_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_mysql_result::~spider_db_mysql_result()
-{
- DBUG_ENTER("spider_db_mysql_result::~spider_db_mysql_result");
- DBUG_PRINT("info",("spider this=%p", this));
- if (db_result)
- {
- free_result();
- }
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_mysql_result::has_result()
-{
- DBUG_ENTER("spider_db_mysql_result::has_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(db_result);
-}
-
-void spider_db_mysql_result::free_result()
-{
- DBUG_ENTER("spider_db_mysql_result::free_result");
- DBUG_PRINT("info",("spider this=%p", this));
- /* need 2 times execution design */
- if (db_result)
- {
- mysql_free_result(db_result);
- db_result = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-SPIDER_DB_ROW *spider_db_mysql_result::current_row()
-{
- DBUG_ENTER("spider_db_mysql_result::current_row");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((SPIDER_DB_ROW *) row.clone());
-}
-
-SPIDER_DB_ROW *spider_db_mysql_result::fetch_row()
-{
- DBUG_ENTER("spider_db_mysql_result::fetch_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(row.row = mysql_fetch_row(db_result)))
- {
- store_error_num = HA_ERR_END_OF_FILE;
- DBUG_RETURN(NULL);
- }
- row.lengths = mysql_fetch_lengths(db_result);
- row.field_count = mysql_num_fields(db_result);
- row.row_first = row.row;
- row.lengths_first = row.lengths;
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-SPIDER_DB_ROW *spider_db_mysql_result::fetch_row_from_result_buffer(
- spider_db_result_buffer *spider_res_buf
-) {
- DBUG_ENTER("spider_db_mysql_result::fetch_row_from_result_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(row.row = mysql_fetch_row(db_result)))
- {
- store_error_num = HA_ERR_END_OF_FILE;
- DBUG_RETURN(NULL);
- }
- row.lengths = mysql_fetch_lengths(db_result);
- row.field_count = mysql_num_fields(db_result);
- row.row_first = row.row;
- row.lengths_first = row.lengths;
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-SPIDER_DB_ROW *spider_db_mysql_result::fetch_row_from_tmp_table(
- TABLE *tmp_table
-) {
- uint i;
- spider_string tmp_str1, tmp_str2, tmp_str3;
- const char *row_ptr;
- MYSQL_ROW tmp_row;
- ulong *tmp_lengths;
- uint field_count;
- DBUG_ENTER("spider_db_mysql_result::fetch_row_from_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_str1.init_calc_mem(117);
- tmp_str2.init_calc_mem(118);
- tmp_str3.init_calc_mem(170);
- tmp_table->field[0]->val_str(tmp_str1.get_str());
- tmp_table->field[1]->val_str(tmp_str2.get_str());
- tmp_table->field[2]->val_str(tmp_str3.get_str());
- tmp_str1.mem_calc();
- tmp_str2.mem_calc();
- tmp_str3.mem_calc();
- row_ptr = tmp_str2.ptr();
- tmp_lengths = (ulong *) tmp_str1.ptr();
- tmp_row = (MYSQL_ROW) tmp_str3.ptr();
- field_count = tmp_str1.length() / sizeof(ulong);
- row.row = tmp_row;
- row.lengths = tmp_lengths;
- row.field_count = field_count;
- row.row_first = row.row;
- row.lengths_first = row.lengths;
- for (i = 0; i < field_count; i++)
- {
- if (*tmp_row)
- {
- *tmp_row = (char *) row_ptr;
- row_ptr += *tmp_lengths + 1;
- }
- tmp_row++;
- tmp_lengths++;
- }
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-int spider_db_mysql_result::fetch_table_status(
- int mode,
- ha_rows &records,
- ulong &mean_rec_length,
- ulonglong &data_file_length,
- ulonglong &max_data_file_length,
- ulonglong &index_file_length,
- ulonglong &auto_increment_value,
- time_t &create_time,
- time_t &update_time,
- time_t &check_time
-) {
- int error_num;
- MYSQL_ROW mysql_row;
- MYSQL_TIME mysql_time;
-#ifdef MARIADB_BASE_VERSION
- uint not_used_uint;
-#else
- my_bool not_used_my_bool;
-#endif
-#ifdef SPIDER_HAS_TIME_STATUS
- MYSQL_TIME_STATUS time_status;
-#else
- int time_status;
-#endif
- long not_used_long;
- DBUG_ENTER("spider_db_mysql_result::fetch_table_status");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(mysql_row = mysql_fetch_row(db_result)))
- {
- DBUG_PRINT("info",("spider fetch row is null"));
- DBUG_RETURN(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM);
- }
- if (mode == 1)
- {
- if (num_fields() != 18)
- {
- DBUG_PRINT("info",("spider field_count != 18"));
- DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
- }
-
- if (mysql_row[4])
- records =
- (ha_rows) my_strtoll10(mysql_row[4], (char**) NULL, &error_num);
- else
- records = (ha_rows) 0;
- DBUG_PRINT("info",
- ("spider records=%lld", records));
- if (mysql_row[5])
- mean_rec_length =
- (ulong) my_strtoll10(mysql_row[5], (char**) NULL, &error_num);
- else
- mean_rec_length = 0;
- DBUG_PRINT("info",
- ("spider mean_rec_length=%lu", mean_rec_length));
- if (mysql_row[6])
- data_file_length =
- (ulonglong) my_strtoll10(mysql_row[6], (char**) NULL, &error_num);
- else
- data_file_length = 0;
- DBUG_PRINT("info",
- ("spider data_file_length=%lld", data_file_length));
- if (mysql_row[7])
- max_data_file_length =
- (ulonglong) my_strtoll10(mysql_row[7], (char**) NULL, &error_num);
- else
- max_data_file_length = 0;
- DBUG_PRINT("info",
- ("spider max_data_file_length=%lld", max_data_file_length));
- if (mysql_row[8])
- index_file_length =
- (ulonglong) my_strtoll10(mysql_row[8], (char**) NULL, &error_num);
- else
- index_file_length = 0;
- DBUG_PRINT("info",
- ("spider index_file_length=%lld", index_file_length));
- if (mysql_row[10])
- auto_increment_value =
- (ulonglong) my_strtoll10(mysql_row[10], (char**) NULL, &error_num);
- else
- auto_increment_value = 1;
- DBUG_PRINT("info",
- ("spider auto_increment_value=%lld", auto_increment_value));
- if (mysql_row[11])
- {
-#ifdef SPIDER_HAS_TIME_STATUS
- my_time_status_init(&time_status);
-#endif
- str_to_datetime(mysql_row[11], strlen(mysql_row[11]), &mysql_time, 0,
- &time_status);
-#ifdef MARIADB_BASE_VERSION
- create_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_uint);
-#else
- create_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_my_bool);
-#endif
- } else
- create_time = (time_t) 0;
-#ifndef DBUG_OFF
- {
- struct tm *ts, tmp_ts;
- char buf[80];
- ts = localtime_r(&create_time, &tmp_ts);
- strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
- DBUG_PRINT("info",("spider create_time=%s", buf));
- }
-#endif
- if (mysql_row[12])
- {
-#ifdef SPIDER_HAS_TIME_STATUS
- my_time_status_init(&time_status);
-#endif
- str_to_datetime(mysql_row[12], strlen(mysql_row[12]), &mysql_time, 0,
- &time_status);
-#ifdef MARIADB_BASE_VERSION
- update_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_uint);
-#else
- update_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_my_bool);
-#endif
- } else
- update_time = (time_t) 0;
-#ifndef DBUG_OFF
- {
- struct tm *ts, tmp_ts;
- char buf[80];
- ts = localtime_r(&update_time, &tmp_ts);
- strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
- DBUG_PRINT("info",("spider update_time=%s", buf));
- }
-#endif
- if (mysql_row[13])
- {
-#ifdef SPIDER_HAS_TIME_STATUS
- my_time_status_init(&time_status);
-#endif
- str_to_datetime(mysql_row[13], strlen(mysql_row[13]), &mysql_time, 0,
- &time_status);
-#ifdef MARIADB_BASE_VERSION
- check_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_uint);
-#else
- check_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_my_bool);
-#endif
- } else
- check_time = (time_t) 0;
-#ifndef DBUG_OFF
- {
- struct tm *ts, tmp_ts;
- char buf[80];
- ts = localtime_r(&check_time, &tmp_ts);
- strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
- DBUG_PRINT("info",("spider check_time=%s", buf));
- }
-#endif
- } else {
- if (mysql_row[0])
- records =
- (ha_rows) my_strtoll10(mysql_row[0], (char**) NULL, &error_num);
- else
- records = (ha_rows) 0;
- DBUG_PRINT("info",
- ("spider records=%lld", records));
- if (mysql_row[1])
- mean_rec_length =
- (ulong) my_strtoll10(mysql_row[1], (char**) NULL, &error_num);
- else
- mean_rec_length = 0;
- DBUG_PRINT("info",
- ("spider mean_rec_length=%lu", mean_rec_length));
- if (mysql_row[2])
- data_file_length =
- (ulonglong) my_strtoll10(mysql_row[2], (char**) NULL, &error_num);
- else
- data_file_length = 0;
- DBUG_PRINT("info",
- ("spider data_file_length=%lld", data_file_length));
- if (mysql_row[3])
- max_data_file_length =
- (ulonglong) my_strtoll10(mysql_row[3], (char**) NULL, &error_num);
- else
- max_data_file_length = 0;
- DBUG_PRINT("info",
- ("spider max_data_file_length=%lld", max_data_file_length));
- if (mysql_row[4])
- index_file_length =
- (ulonglong) my_strtoll10(mysql_row[4], (char**) NULL, &error_num);
- else
- index_file_length = 0;
- DBUG_PRINT("info",
- ("spider index_file_length=%lld", index_file_length));
- if (mysql_row[5])
- auto_increment_value =
- (ulonglong) my_strtoll10(mysql_row[5], (char**) NULL, &error_num);
- else
- auto_increment_value = 1;
- DBUG_PRINT("info",
- ("spider auto_increment_value=%lld", auto_increment_value));
- if (mysql_row[6])
- {
-#ifdef SPIDER_HAS_TIME_STATUS
- my_time_status_init(&time_status);
-#endif
- str_to_datetime(mysql_row[6], strlen(mysql_row[6]), &mysql_time, 0,
- &time_status);
-#ifdef MARIADB_BASE_VERSION
- create_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_uint);
-#else
- create_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_my_bool);
-#endif
- } else
- create_time = (time_t) 0;
-#ifndef DBUG_OFF
- {
- struct tm *ts, tmp_ts;
- char buf[80];
- ts = localtime_r(&create_time, &tmp_ts);
- strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
- DBUG_PRINT("info",("spider create_time=%s", buf));
- }
-#endif
- if (mysql_row[7])
- {
-#ifdef SPIDER_HAS_TIME_STATUS
- my_time_status_init(&time_status);
-#endif
- str_to_datetime(mysql_row[7], strlen(mysql_row[7]), &mysql_time, 0,
- &time_status);
-#ifdef MARIADB_BASE_VERSION
- update_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_uint);
-#else
- update_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_my_bool);
-#endif
- } else
- update_time = (time_t) 0;
-#ifndef DBUG_OFF
- {
- struct tm *ts, tmp_ts;
- char buf[80];
- ts = localtime_r(&update_time, &tmp_ts);
- strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
- DBUG_PRINT("info",("spider update_time=%s", buf));
- }
-#endif
- if (mysql_row[8])
- {
-#ifdef SPIDER_HAS_TIME_STATUS
- my_time_status_init(&time_status);
-#endif
- str_to_datetime(mysql_row[8], strlen(mysql_row[8]), &mysql_time, 0,
- &time_status);
-#ifdef MARIADB_BASE_VERSION
- check_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_uint);
-#else
- check_time = (time_t) my_system_gmt_sec(&mysql_time,
- &not_used_long, &not_used_my_bool);
-#endif
- } else
- check_time = (time_t) 0;
-#ifndef DBUG_OFF
- {
- struct tm *ts, tmp_ts;
- char buf[80];
- ts = localtime_r(&check_time, &tmp_ts);
- strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
- DBUG_PRINT("info",("spider check_time=%s", buf));
- }
-#endif
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_result::fetch_table_records(
- int mode,
- ha_rows &records
-) {
- int error_num;
- MYSQL_ROW mysql_row;
- DBUG_ENTER("spider_db_mysql_result::fetch_table_records");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(mysql_row = mysql_fetch_row(db_result)))
- {
- DBUG_PRINT("info",("spider fetch row is null"));
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
- if (mode == 1)
- {
- if (mysql_row[0])
- {
- records =
- (ha_rows) my_strtoll10(mysql_row[0], (char**) NULL, &error_num);
- } else
- records = (ha_rows) 0;
- DBUG_PRINT("info",
- ("spider records=%lld", records));
- } else {
- if (num_fields() != 10)
- {
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
-
- if (mysql_row[8])
- {
- records =
- (ha_rows) my_strtoll10(mysql_row[8], (char**) NULL, &error_num);
- } else
- records = 0;
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_result::fetch_table_cardinality(
- int mode,
- TABLE *table,
- longlong *cardinality,
- uchar *cardinality_upd,
- int bitmap_size
-) {
- int error_num;
- MYSQL_ROW mysql_row;
- Field *field;
- DBUG_ENTER("spider_db_mysql_result::fetch_table_cardinality");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(mysql_row = mysql_fetch_row(db_result)))
- {
- DBUG_PRINT("info",("spider fetch row is null"));
- /* no index */
- DBUG_RETURN(0);
- }
- memset((uchar *) cardinality_upd, 0, sizeof(uchar) * bitmap_size);
- if (mode == 1)
- {
- uint num_fields = this->num_fields();
- if (num_fields < 12 || num_fields > 13)
- {
- DBUG_PRINT("info",("spider num_fields < 12 || num_fields > 13"));
- DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
- }
-
- while (mysql_row)
- {
- if (
- mysql_row[4] &&
- mysql_row[6] &&
- (field = find_field_in_table_sef(table, mysql_row[4]))
- ) {
- if ((cardinality[field->field_index] =
- (longlong) my_strtoll10(mysql_row[6], (char**) NULL, &error_num))
- <= 0)
- cardinality[field->field_index] = 1;
- spider_set_bit(cardinality_upd, field->field_index);
- DBUG_PRINT("info",
- ("spider col_name=%s", mysql_row[4]));
- DBUG_PRINT("info",
- ("spider cardinality=%lld",
- cardinality[field->field_index]));
- } else if (mysql_row[4])
- {
- DBUG_PRINT("info",
- ("spider skip col_name=%s", mysql_row[4]));
- } else {
- DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
- }
- mysql_row = mysql_fetch_row(db_result);
- }
- } else {
- while (mysql_row)
- {
- if (
- mysql_row[0] &&
- mysql_row[1] &&
- (field = find_field_in_table_sef(table, mysql_row[0]))
- ) {
- if ((cardinality[field->field_index] =
- (longlong) my_strtoll10(mysql_row[1], (char**) NULL, &error_num))
- <= 0)
- cardinality[field->field_index] = 1;
- spider_set_bit(cardinality_upd, field->field_index);
- DBUG_PRINT("info",
- ("spider col_name=%s", mysql_row[0]));
- DBUG_PRINT("info",
- ("spider cardinality=%lld",
- cardinality[field->field_index]));
- } else if (mysql_row[0])
- {
- DBUG_PRINT("info",
- ("spider skip col_name=%s", mysql_row[0]));
- } else {
- DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
- }
- mysql_row = mysql_fetch_row(db_result);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_result::fetch_table_mon_status(
- int &status
-) {
- MYSQL_ROW mysql_row;
- DBUG_ENTER("spider_db_mysql_result::fetch_table_mon_status");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(mysql_row = mysql_fetch_row(db_result)))
- {
- DBUG_PRINT("info",("spider fetch row is null"));
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (num_fields() != 1)
- {
- DBUG_PRINT("info",("spider num_fields != 1"));
- my_printf_error(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
- DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
- }
- if (mysql_row[0])
- status = atoi(mysql_row[0]);
- else
- status = SPIDER_LINK_MON_OK;
- DBUG_PRINT("info", ("spider status=%d", status));
- DBUG_RETURN(0);
-}
-
-longlong spider_db_mysql_result::num_rows()
-{
- DBUG_ENTER("spider_db_mysql_result::num_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((longlong) mysql_num_rows(db_result));
-}
-
-uint spider_db_mysql_result::num_fields()
-{
- DBUG_ENTER("spider_db_mysql_result::num_fields");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(mysql_num_fields(db_result));
-}
-
-void spider_db_mysql_result::move_to_pos(
- longlong pos
-) {
- DBUG_ENTER("spider_db_mysql_result::move_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider pos=%lld", pos));
-/*
- DBUG_ASSERT(first_row);
-*/
- db_result->data_cursor = first_row + pos;
- DBUG_VOID_RETURN;
-}
-
-int spider_db_mysql_result::get_errno()
-{
- DBUG_ENTER("spider_db_mysql_result::get_errno");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider store_error_num=%d", store_error_num));
- DBUG_RETURN(store_error_num);
-}
-
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
-int spider_db_mysql_result::fetch_columns_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
-) {
- MYSQL_ROW mysql_row;
- DBUG_ENTER("spider_db_mysql_result::fetch_columns_for_discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(mysql_row = mysql_fetch_row(db_result)))
- {
- DBUG_PRINT("info",("spider fetch row is null"));
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (num_fields() != 6)
- {
- DBUG_PRINT("info",("spider num_fields != 6"));
- my_printf_error(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
- DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
- }
- do {
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (str->append(mysql_row[0], strlen(mysql_row[0]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_SPACE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- if (str->append(mysql_row[1], strlen(mysql_row[1]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (!strcmp(mysql_row[2], "NO"))
- {
- if (str->reserve(SPIDER_SQL_NOT_NULL_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NOT_NULL_STR, SPIDER_SQL_NOT_NULL_LEN);
- if (mysql_row[4])
- {
- if (str->reserve(SPIDER_SQL_DEFAULT_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_DEFAULT_STR, SPIDER_SQL_DEFAULT_LEN);
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- }
- } else {
- if (str->reserve(SPIDER_SQL_DEFAULT_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_DEFAULT_STR, SPIDER_SQL_DEFAULT_LEN);
- if (mysql_row[4])
- {
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_NULL_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- }
- }
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } while ((mysql_row = mysql_fetch_row(db_result)));
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_result::fetch_index_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
-) {
- MYSQL_ROW mysql_row;
- DBUG_ENTER("spider_db_mysql_result::fetch_index_for_discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(mysql_row = mysql_fetch_row(db_result)))
- {
- DBUG_PRINT("info",("spider fetch row is null"));
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (num_fields() != 13)
- {
- DBUG_PRINT("info",("spider num_fields != 13"));
- my_printf_error(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
- DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
- }
- bool first = TRUE;
- do {
- if (!strcmp(mysql_row[3], "1"))
- {
- if (first)
- {
- first = FALSE;
- } else {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- /* new index */
- if (!strcmp(mysql_row[2], SPIDER_DB_PK_NAME_STR))
- {
- /* primary key */
- if (str->reserve(SPIDER_DB_PK_NAME_LEN + SPIDER_SQL_SPACE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_DB_PK_NAME_STR, SPIDER_DB_PK_NAME_LEN);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- } else if (!strcmp(mysql_row[1], "0"))
- {
- /* unique key */
- if (str->reserve(SPIDER_DB_UNIQUE_NAME_LEN + SPIDER_SQL_SPACE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_DB_UNIQUE_NAME_STR, SPIDER_DB_UNIQUE_NAME_LEN);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- if (str->reserve(SPIDER_DB_KEY_NAME_LEN + SPIDER_SQL_SPACE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_DB_KEY_NAME_STR, SPIDER_DB_KEY_NAME_LEN);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- if (strcmp(mysql_row[2], SPIDER_DB_PK_NAME_STR))
- {
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (str->append(mysql_row[2], strlen(mysql_row[2]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- }
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (mysql_row[7])
- {
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->append(mysql_row[7], strlen(mysql_row[7]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- } else {
- if (str->reserve(SPIDER_SQL_COMMA_LEN + SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (mysql_row[7])
- {
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->append(mysql_row[7], strlen(mysql_row[7]), access_charset))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- }
- } while ((mysql_row = mysql_fetch_row(db_result)));
- if (!first)
- {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-spider_db_mysql::spider_db_mysql(
- SPIDER_CONN *conn
-) : spider_db_conn(conn), lock_table_hash_inited(FALSE),
- handler_open_array_inited(FALSE)
-{
- DBUG_ENTER("spider_db_mysql::spider_db_mysql");
- DBUG_PRINT("info",("spider this=%p", this));
- db_conn = NULL;
- DBUG_VOID_RETURN;
-}
-
-spider_db_mysql::~spider_db_mysql()
-{
- DBUG_ENTER("spider_db_mysql::~spider_db_mysql");
- DBUG_PRINT("info",("spider this=%p", this));
- if (handler_open_array_inited)
- {
- reset_opened_handler();
- spider_free_mem_calc(spider_current_trx,
- handler_open_array_id,
- handler_open_array.max_element *
- handler_open_array.size_of_element);
- delete_dynamic(&handler_open_array);
- }
- if (lock_table_hash_inited)
- {
- spider_free_mem_calc(spider_current_trx,
- lock_table_hash_id,
- lock_table_hash.array.max_element *
- lock_table_hash.array.size_of_element);
- my_hash_free(&lock_table_hash);
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_mysql::init()
-{
- DBUG_ENTER("spider_db_mysql::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (
- my_hash_init(&lock_table_hash, spd_charset_utf8_bin, 32, 0, 0,
- (my_hash_get_key) spider_link_get_key, 0, 0)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_alloc_calc_mem_init(lock_table_hash, 140);
- spider_alloc_calc_mem(spider_current_trx,
- lock_table_hash,
- lock_table_hash.array.max_element *
- lock_table_hash.array.size_of_element);
- lock_table_hash_inited = TRUE;
-
- if (
- SPD_INIT_DYNAMIC_ARRAY2(&handler_open_array,
- sizeof(SPIDER_LINK_FOR_HASH *), NULL, 16, 16, MYF(MY_WME))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_alloc_calc_mem_init(handler_open_array, 162);
- spider_alloc_calc_mem(spider_current_trx,
- handler_open_array,
- handler_open_array.max_element *
- handler_open_array.size_of_element);
- handler_open_array_inited = TRUE;
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql::is_connected()
-{
- DBUG_ENTER("spider_db_mysql::is_connected");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(db_conn);
-}
-
-void spider_db_mysql::bg_connect()
-{
- DBUG_ENTER("spider_db_mysql::bg_connect");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-int spider_db_mysql::connect(
- char *tgt_host,
- char *tgt_username,
- char *tgt_password,
- long tgt_port,
- char *tgt_socket,
- char *server_name,
- int connect_retry_count,
- longlong connect_retry_interval
-) {
- int error_num;
- my_bool connect_mutex = spider_param_connect_mutex();
- DBUG_ENTER("spider_db_mysql::connect");
- DBUG_PRINT("info",("spider this=%p", this));
- while (TRUE)
- {
- if (!db_conn)
- {
- if (!(db_conn = mysql_init(NULL)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- mysql_options(db_conn, MYSQL_OPT_READ_TIMEOUT,
- &conn->net_read_timeout);
- mysql_options(db_conn, MYSQL_OPT_WRITE_TIMEOUT,
- &conn->net_write_timeout);
- mysql_options(db_conn, MYSQL_OPT_CONNECT_TIMEOUT,
- &conn->connect_timeout);
- mysql_options(db_conn, MYSQL_OPT_USE_REMOTE_CONNECTION,
- NULL);
-
- if (
- conn->tgt_ssl_ca_length |
- conn->tgt_ssl_capath_length |
- conn->tgt_ssl_cert_length |
- conn->tgt_ssl_key_length
- ) {
- mysql_ssl_set(db_conn, conn->tgt_ssl_key, conn->tgt_ssl_cert,
- conn->tgt_ssl_ca, conn->tgt_ssl_capath, conn->tgt_ssl_cipher);
- if (conn->tgt_ssl_vsc)
- {
- my_bool verify_flg = TRUE;
- mysql_options(db_conn, MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
- &verify_flg);
- }
- }
-
- if (conn->tgt_default_file)
- {
- DBUG_PRINT("info",("spider tgt_default_file=%s",
- conn->tgt_default_file));
- mysql_options(db_conn, MYSQL_READ_DEFAULT_FILE,
- conn->tgt_default_file);
- }
- if (conn->tgt_default_group)
- {
- DBUG_PRINT("info",("spider tgt_default_group=%s",
- conn->tgt_default_group));
- mysql_options(db_conn, MYSQL_READ_DEFAULT_GROUP,
- conn->tgt_default_group);
- }
-
- if (connect_mutex)
- pthread_mutex_lock(&spider_open_conn_mutex);
- /* tgt_db not use */
- if (!mysql_real_connect(
- db_conn,
- tgt_host,
- tgt_username,
- tgt_password,
- NULL,
- tgt_port,
- tgt_socket,
- CLIENT_MULTI_STATEMENTS
- )) {
- if (connect_mutex)
- pthread_mutex_unlock(&spider_open_conn_mutex);
- error_num = mysql_errno(db_conn);
- disconnect();
- if (
- (
- error_num != CR_CONN_HOST_ERROR &&
- error_num != CR_CONNECTION_ERROR
- ) ||
- !connect_retry_count
- ) {
- *conn->need_mon = ER_CONNECT_TO_FOREIGN_DATA_SOURCE;
- my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
- server_name ? server_name : tgt_host);
- DBUG_RETURN(ER_CONNECT_TO_FOREIGN_DATA_SOURCE);
- }
- connect_retry_count--;
- my_sleep((ulong) connect_retry_interval);
- } else {
- if (connect_mutex)
- pthread_mutex_unlock(&spider_open_conn_mutex);
- break;
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::ping(
-) {
- DBUG_ENTER("spider_db_mysql::ping");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(simple_command(db_conn, COM_PING, 0, 0, 0));
-}
-
-void spider_db_mysql::bg_disconnect()
-{
- DBUG_ENTER("spider_db_mysql::bg_disconnect");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-void spider_db_mysql::disconnect()
-{
- DBUG_ENTER("spider_db_mysql::disconnect");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider db_conn=%p", db_conn));
- if (db_conn)
- {
- mysql_close(db_conn);
- db_conn = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_mysql::set_net_timeout()
-{
- DBUG_ENTER("spider_db_mysql::set_net_timeout");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider conn=%p", conn));
- my_net_set_read_timeout(&db_conn->net, conn->net_read_timeout);
- my_net_set_write_timeout(&db_conn->net, conn->net_write_timeout);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::exec_query(
- const char *query,
- uint length,
- int quick_mode
-) {
- int error_num;
- DBUG_ENTER("spider_db_mysql::exec_query");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider_param_general_log())
- {
- const char *tgt_str = conn->tgt_host;
- uint32 tgt_len = conn->tgt_host_length;
- spider_string tmp_query_str(length + conn->tgt_wrapper_length +
- tgt_len + (SPIDER_SQL_SPACE_LEN * 2));
- tmp_query_str.init_calc_mem(230);
- tmp_query_str.length(0);
- tmp_query_str.q_append(conn->tgt_wrapper, conn->tgt_wrapper_length);
- tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- tmp_query_str.q_append(tgt_str, tgt_len);
- tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- tmp_query_str.q_append(query, length);
- general_log_write(current_thd, COM_QUERY, tmp_query_str.ptr(),
- tmp_query_str.length());
- }
- error_num = mysql_real_query(db_conn, query, length);
- if (spider_param_log_result_errors() >= 2 && db_conn->warning_count > 0)
- {
- time_t cur_time = (time_t) time((time_t*) 0);
- struct tm lt;
- struct tm *l_time = localtime_r(&cur_time, &lt);
- fprintf(stderr, "%04d%02d%02d %02d:%02d:%02d [WARN SPIDER RESULT] "
- "from [%s] %ld to %ld: "
- "affected_rows: %llu id: %llu status: %u warning_count: %u\n",
- l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday,
- l_time->tm_hour, l_time->tm_min, l_time->tm_sec,
- conn->tgt_host, db_conn->thread_id, current_thd->thread_id,
- db_conn->affected_rows, db_conn->insert_id,
- db_conn->server_status, db_conn->warning_count);
- } else if (spider_param_log_result_errors() >= 4)
- {
- time_t cur_time = (time_t) time((time_t*) 0);
- struct tm lt;
- struct tm *l_time = localtime_r(&cur_time, &lt);
- fprintf(stderr, "%04d%02d%02d %02d:%02d:%02d [INFO SPIDER RESULT] "
- "from [%s] %ld to %ld: "
- "affected_rows: %llu id: %llu status: %u warning_count: %u\n",
- l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday,
- l_time->tm_hour, l_time->tm_min, l_time->tm_sec,
- conn->tgt_host, db_conn->thread_id, current_thd->thread_id,
- db_conn->affected_rows, db_conn->insert_id,
- db_conn->server_status, db_conn->warning_count);
- }
- DBUG_RETURN(error_num);
-}
-
-int spider_db_mysql::get_errno()
-{
- DBUG_ENTER("spider_db_mysql::get_errno");
- DBUG_PRINT("info",("spider this=%p", this));
- stored_error = mysql_errno(db_conn);
- DBUG_PRINT("info",("spider stored_error=%d", stored_error));
- DBUG_RETURN(stored_error);
-}
-
-const char *spider_db_mysql::get_error()
-{
- const char *error_ptr;
- DBUG_ENTER("spider_db_mysql::get_error");
- DBUG_PRINT("info",("spider this=%p", this));
- error_ptr = mysql_error(db_conn);
- DBUG_PRINT("info",("spider error=%s", error_ptr));
- DBUG_RETURN(error_ptr);
-}
-
-bool spider_db_mysql::is_server_gone_error(
- int error_num
-) {
- bool server_gone;
- DBUG_ENTER("spider_db_mysql::is_server_gone_error");
- DBUG_PRINT("info",("spider this=%p", this));
- server_gone =
- (error_num == CR_SERVER_GONE_ERROR || error_num == CR_SERVER_LOST);
- DBUG_PRINT("info",("spider server_gone=%s", server_gone ? "TRUE" : "FALSE"));
- DBUG_RETURN(server_gone);
-}
-
-bool spider_db_mysql::is_dup_entry_error(
- int error_num
-) {
- bool dup_entry;
- DBUG_ENTER("spider_db_mysql::is_dup_entry_error");
- DBUG_PRINT("info",("spider this=%p", this));
- dup_entry =
- (
- error_num == ER_DUP_ENTRY ||
- error_num == ER_DUP_KEY ||
- error_num == HA_ERR_FOUND_DUPP_KEY
- );
- DBUG_PRINT("info",("spider dup_entry=%s", dup_entry ? "TRUE" : "FALSE"));
- DBUG_RETURN(dup_entry);
-}
-
-bool spider_db_mysql::is_xa_nota_error(
- int error_num
-) {
- bool xa_nota;
- DBUG_ENTER("spider_db_mysql::is_xa_nota_error");
- DBUG_PRINT("info",("spider this=%p", this));
- xa_nota =
- (
- error_num == ER_XAER_NOTA ||
- error_num == ER_XA_RBTIMEOUT ||
- error_num == ER_XA_RBDEADLOCK
- );
- DBUG_PRINT("info",("spider xa_nota=%s", xa_nota ? "TRUE" : "FALSE"));
- DBUG_RETURN(xa_nota);
-}
-
-spider_db_result *spider_db_mysql::store_result(
- spider_db_result_buffer **spider_res_buf,
- st_spider_db_request_key *request_key,
- int *error_num
-) {
- spider_db_mysql_result *result;
- DBUG_ENTER("spider_db_mysql::store_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(!spider_res_buf);
- if ((result = new spider_db_mysql_result()))
- {
- *error_num = 0;
- if (!(result->db_result = mysql_store_result(db_conn)))
- {
- delete result;
- result = NULL;
- } else {
- result->first_row = result->db_result->data_cursor;
- DBUG_PRINT("info",("spider result->first_row=%p", result->first_row));
- }
- } else {
- *error_num = HA_ERR_OUT_OF_MEM;
- }
- DBUG_RETURN(result);
-}
-
-spider_db_result *spider_db_mysql::use_result(
- st_spider_db_request_key *request_key,
- int *error_num
-) {
- spider_db_mysql_result *result;
- DBUG_ENTER("spider_db_mysql::use_result");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((result = new spider_db_mysql_result()))
- {
- *error_num = 0;
- if (!(result->db_result = db_conn->methods->use_result(db_conn)))
- {
- delete result;
- result = NULL;
- } else {
- result->first_row = NULL;
- }
- } else {
- *error_num = HA_ERR_OUT_OF_MEM;
- }
- DBUG_RETURN(result);
-}
-
-int spider_db_mysql::next_result()
-{
- int status;
- DBUG_ENTER("spider_db_mysql::next_result");
- DBUG_PRINT("info",("spider this=%p", this));
- if (db_conn->status != MYSQL_STATUS_READY)
- {
- my_message(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
- DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
- }
-
- db_conn->net.last_errno = 0;
- db_conn->net.last_error[0] = '\0';
- strmov(db_conn->net.sqlstate, "00000");
- db_conn->affected_rows = ~(my_ulonglong) 0;
-
-#if MYSQL_VERSION_ID < 50500
- if (db_conn->last_used_con->server_status & SERVER_MORE_RESULTS_EXISTS)
-#else
- if (db_conn->server_status & SERVER_MORE_RESULTS_EXISTS)
-#endif
- {
- if ((status = db_conn->methods->read_query_result(db_conn)) > 0)
- DBUG_RETURN(spider_db_errorno(conn));
- DBUG_RETURN(status);
- }
- DBUG_RETURN(-1);
-}
-
-uint spider_db_mysql::affected_rows()
-{
- MYSQL *last_used_con;
- DBUG_ENTER("spider_db_mysql::affected_rows");
- DBUG_PRINT("info",("spider this=%p", this));
-#if MYSQL_VERSION_ID < 50500
- last_used_con = db_conn->last_used_con;
-#else
- last_used_con = db_conn;
-#endif
- DBUG_RETURN((uint) last_used_con->affected_rows);
-}
-
-ulonglong spider_db_mysql::last_insert_id()
-{
- MYSQL *last_used_con;
- DBUG_ENTER("spider_db_mysql::last_insert_id");
- DBUG_PRINT("info",("spider this=%p", this));
-#if MYSQL_VERSION_ID < 50500
- last_used_con = db_conn->last_used_con;
-#else
- last_used_con = db_conn;
-#endif
- DBUG_RETURN((uint) last_used_con->insert_id);
-}
-
-int spider_db_mysql::set_character_set(
- const char *csname
-) {
- DBUG_ENTER("spider_db_mysql::set_character_set");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(mysql_set_character_set(db_conn, csname));
-}
-
-int spider_db_mysql::select_db(
- const char *dbname
-) {
- DBUG_ENTER("spider_db_mysql::select_db");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(mysql_select_db(db_conn, dbname));
-}
-
-int spider_db_mysql::consistent_snapshot(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_mysql::consistent_snapshot");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider_db_query(
- conn,
- SPIDER_SQL_START_CONSISTENT_SNAPSHOT_STR,
- SPIDER_SQL_START_CONSISTENT_SNAPSHOT_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql::trx_start_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_mysql::trx_start_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_db_mysql::start_transaction(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_mysql::start_transaction");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider_db_query(
- conn,
- SPIDER_SQL_START_TRANSACTION_STR,
- SPIDER_SQL_START_TRANSACTION_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::commit(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_mysql::commit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider_db_query(
- conn,
- SPIDER_SQL_COMMIT_STR,
- SPIDER_SQL_COMMIT_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::rollback(
- int *need_mon
-) {
- bool is_error;
- int error_num;
- DBUG_ENTER("spider_db_mysql::rollback");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider_db_query(
- conn,
- SPIDER_SQL_ROLLBACK_STR,
- SPIDER_SQL_ROLLBACK_LEN,
- -1,
- need_mon)
- ) {
- is_error = conn->thd->is_error();
- conn->mta_conn_mutex_unlock_later = TRUE;
- error_num = spider_db_errorno(conn);
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !is_error
- )
- conn->thd->clear_error();
- else {
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::xa_start(
- XID *xid,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_mysql::xa_start");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql::xa_start_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_mysql::xa_start_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_db_mysql::xa_end(
- XID *xid,
- int *need_mon
-) {
- char sql_buf[SPIDER_SQL_XA_END_LEN + XIDDATASIZE + sizeof(long) + 9];
- spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
- DBUG_ENTER("spider_db_mysql::xa_end");
- DBUG_PRINT("info",("spider this=%p", this));
- sql_str.init_calc_mem(108);
-
- sql_str.length(0);
- sql_str.q_append(SPIDER_SQL_XA_END_STR, SPIDER_SQL_XA_END_LEN);
- spider_db_append_xid_str(&sql_str, xid);
- if (spider_db_query(
- conn,
- sql_str.ptr(),
- sql_str.length(),
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::xa_prepare(
- XID *xid,
- int *need_mon
-) {
- char sql_buf[SPIDER_SQL_XA_PREPARE_LEN + XIDDATASIZE + sizeof(long) + 9];
- spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
- DBUG_ENTER("spider_db_mysql::xa_prepare");
- DBUG_PRINT("info",("spider this=%p", this));
- sql_str.init_calc_mem(109);
-
- sql_str.length(0);
- sql_str.q_append(SPIDER_SQL_XA_PREPARE_STR, SPIDER_SQL_XA_PREPARE_LEN);
- spider_db_append_xid_str(&sql_str, xid);
- if (spider_db_query(
- conn,
- sql_str.ptr(),
- sql_str.length(),
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::xa_commit(
- XID *xid,
- int *need_mon
-) {
- char sql_buf[SPIDER_SQL_XA_COMMIT_LEN + XIDDATASIZE + sizeof(long) + 9];
- spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
- DBUG_ENTER("spider_db_mysql::xa_commit");
- DBUG_PRINT("info",("spider this=%p", this));
- sql_str.init_calc_mem(110);
-
- sql_str.length(0);
- sql_str.q_append(SPIDER_SQL_XA_COMMIT_STR, SPIDER_SQL_XA_COMMIT_LEN);
- spider_db_append_xid_str(&sql_str, xid);
- if (spider_db_query(
- conn,
- sql_str.ptr(),
- sql_str.length(),
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::xa_rollback(
- XID *xid,
- int *need_mon
-) {
- char sql_buf[SPIDER_SQL_XA_ROLLBACK_LEN + XIDDATASIZE + sizeof(long) + 9];
- spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
- DBUG_ENTER("spider_db_mysql::xa_rollback");
- DBUG_PRINT("info",("spider this=%p", this));
- sql_str.init_calc_mem(111);
-
- sql_str.length(0);
- sql_str.q_append(SPIDER_SQL_XA_ROLLBACK_STR, SPIDER_SQL_XA_ROLLBACK_LEN);
- spider_db_append_xid_str(&sql_str, xid);
- if (spider_db_query(
- conn,
- sql_str.ptr(),
- sql_str.length(),
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql::set_trx_isolation_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_mysql::set_trx_isolation_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_db_mysql::set_trx_isolation(
- int trx_isolation,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_mysql::set_trx_isolation");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (trx_isolation)
- {
- case ISO_READ_UNCOMMITTED:
- if (spider_db_query(
- conn,
- SPIDER_SQL_ISO_READ_UNCOMMITTED_STR,
- SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- break;
- case ISO_READ_COMMITTED:
- if (spider_db_query(
- conn,
- SPIDER_SQL_ISO_READ_COMMITTED_STR,
- SPIDER_SQL_ISO_READ_COMMITTED_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- break;
- case ISO_REPEATABLE_READ:
- if (spider_db_query(
- conn,
- SPIDER_SQL_ISO_REPEATABLE_READ_STR,
- SPIDER_SQL_ISO_REPEATABLE_READ_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- break;
- case ISO_SERIALIZABLE:
- if (spider_db_query(
- conn,
- SPIDER_SQL_ISO_SERIALIZABLE_STR,
- SPIDER_SQL_ISO_SERIALIZABLE_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- break;
- default:
- DBUG_RETURN(HA_ERR_UNSUPPORTED);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql::set_autocommit_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_mysql::set_autocommit_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_db_mysql::set_autocommit(
- bool autocommit,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_mysql::set_autocommit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (autocommit)
- {
- if (spider_db_query(
- conn,
- SPIDER_SQL_AUTOCOMMIT_ON_STR,
- SPIDER_SQL_AUTOCOMMIT_ON_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- } else {
- if (spider_db_query(
- conn,
- SPIDER_SQL_AUTOCOMMIT_OFF_STR,
- SPIDER_SQL_AUTOCOMMIT_OFF_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql::set_sql_log_off_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_mysql::set_sql_log_off_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_db_mysql::set_sql_log_off(
- bool sql_log_off,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_mysql::set_sql_log_off");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_log_off)
- {
- if (spider_db_query(
- conn,
- SPIDER_SQL_SQL_LOG_ON_STR,
- SPIDER_SQL_SQL_LOG_ON_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- } else {
- if (spider_db_query(
- conn,
- SPIDER_SQL_SQL_LOG_OFF_STR,
- SPIDER_SQL_SQL_LOG_OFF_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql::set_time_zone_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_mysql::set_time_zone_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_db_mysql::set_time_zone(
- Time_zone *time_zone,
- int *need_mon
-) {
- const String *tz_str = time_zone->get_name();
- char sql_buf[MAX_FIELD_WIDTH];
- spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
- DBUG_ENTER("spider_db_mysql::set_time_zone");
- DBUG_PRINT("info",("spider this=%p", this));
- sql_str.init_calc_mem(214);
- sql_str.length(0);
- if (sql_str.reserve(SPIDER_SQL_TIME_ZONE_LEN +
- tz_str->length() + SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_str.q_append(SPIDER_SQL_TIME_ZONE_STR, SPIDER_SQL_TIME_ZONE_LEN);
- sql_str.q_append(tz_str->ptr(), tz_str->length());
- sql_str.q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if (spider_db_query(
- conn,
- sql_str.ptr(),
- sql_str.length(),
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-int spider_db_mysql::append_sql(
- char *sql,
- ulong sql_length,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_mysql::append_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::append_open_handler(
- uint handler_id,
- const char *db_name,
- const char *table_name,
- const char *index_name,
- const char *sql,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_mysql::append_open_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::append_select(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_mysql::append_select");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::append_insert(
- uint handler_id,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_mysql::append_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::append_update(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- int limit,
- int skip,
- bool increment,
- bool decrement,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_mysql::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::append_delete(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_mysql::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-void spider_db_mysql::reset_request_queue()
-{
- DBUG_ENTER("spider_db_mysql::reset_request_queue");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-#endif
-
-size_t spider_db_mysql::escape_string(
- char *to,
- const char *from,
- size_t from_length
-) {
- DBUG_ENTER("spider_db_mysql::escape_string");
- DBUG_PRINT("info",("spider this=%p", this));
- if (db_conn->server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES)
- DBUG_RETURN(escape_quotes_for_mysql(db_conn->charset, to, 0,
- from, from_length));
- DBUG_RETURN(escape_string_for_mysql(db_conn->charset, to, 0,
- from, from_length));
-}
-
-bool spider_db_mysql::have_lock_table_list()
-{
- DBUG_ENTER("spider_db_mysql::have_lock_table_list");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(lock_table_hash.records);
-}
-
-int spider_db_mysql::append_lock_tables(
- spider_string *str
-) {
- int error_num;
- ha_spider *tmp_spider;
- int lock_type;
- uint conn_link_idx;
- int tmp_link_idx;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
- const char *db_name;
- uint db_name_length;
- CHARSET_INFO *db_name_charset;
- const char *table_name;
- uint table_name_length;
- CHARSET_INFO *table_name_charset;
- DBUG_ENTER("spider_db_mysql::lock_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = spider_db_mysql_utility.append_lock_table_head(str)))
- {
- DBUG_RETURN(error_num);
- }
- while ((tmp_link_for_hash =
- (SPIDER_LINK_FOR_HASH *) my_hash_element(&lock_table_hash, 0)))
- {
- tmp_spider = tmp_link_for_hash->spider;
- tmp_link_idx = tmp_link_for_hash->link_idx;
- switch (tmp_spider->lock_type)
- {
- case TL_READ:
- lock_type = SPIDER_DB_TABLE_LOCK_READ_LOCAL;
- break;
- case TL_READ_NO_INSERT:
- lock_type = SPIDER_DB_TABLE_LOCK_READ;
- break;
- case TL_WRITE_LOW_PRIORITY:
- lock_type = SPIDER_DB_TABLE_LOCK_LOW_PRIORITY_WRITE;
- break;
- case TL_WRITE:
- lock_type = SPIDER_DB_TABLE_LOCK_WRITE;
- break;
- default:
- // no lock
- DBUG_PRINT("info",("spider lock_type=%d", tmp_spider->lock_type));
- DBUG_RETURN(0);
- }
- conn_link_idx = tmp_spider->conn_link_idx[tmp_link_idx];
- spider_mysql_share *db_share = (spider_mysql_share *)
- tmp_spider->share->dbton_share[conn->dbton_id];
- if (&db_share->db_names_str[conn_link_idx])
- {
- db_name = db_share->db_names_str[conn_link_idx].ptr();
- db_name_length = db_share->db_names_str[conn_link_idx].length();
- db_name_charset = tmp_spider->share->access_charset;
- } else {
- db_name = tmp_spider->share->tgt_dbs[conn_link_idx];
- db_name_length = tmp_spider->share->tgt_dbs_lengths[conn_link_idx];
- db_name_charset = system_charset_info;
- }
- if (&db_share->table_names_str[conn_link_idx])
- {
- table_name = db_share->table_names_str[conn_link_idx].ptr();
- table_name_length = db_share->table_names_str[conn_link_idx].length();
- table_name_charset = tmp_spider->share->access_charset;
- } else {
- table_name = tmp_spider->share->tgt_table_names[conn_link_idx];
- table_name_length =
- tmp_spider->share->tgt_table_names_lengths[conn_link_idx];
- table_name_charset = system_charset_info;
- }
- if ((error_num = spider_db_mysql_utility.
- append_lock_table_body(
- str,
- db_name,
- db_name_length,
- db_name_charset,
- table_name,
- table_name_length,
- table_name_charset,
- lock_type
- )
- )) {
- my_hash_reset(&lock_table_hash);
- DBUG_RETURN(error_num);
- }
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- my_hash_delete_with_hash_value(&lock_table_hash,
- tmp_link_for_hash->db_table_str_hash_value, (uchar*) tmp_link_for_hash);
-#else
- my_hash_delete(&lock_table_hash, (uchar*) tmp_link_for_hash);
-#endif
- }
- if ((error_num = spider_db_mysql_utility.append_lock_table_tail(str)))
- {
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql::append_unlock_tables(
- spider_string *str
-) {
- int error_num;
- DBUG_ENTER("spider_db_mysql::append_unlock_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = spider_db_mysql_utility.append_unlock_table(str)))
- {
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-uint spider_db_mysql::get_lock_table_hash_count()
-{
- DBUG_ENTER("spider_db_mysql::get_lock_table_hash_count");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(lock_table_hash.records);
-}
-
-void spider_db_mysql::reset_lock_table_hash()
-{
- DBUG_ENTER("spider_db_mysql::reset_lock_table_hash");
- DBUG_PRINT("info",("spider this=%p", this));
- my_hash_reset(&lock_table_hash);
- DBUG_VOID_RETURN;
-}
-
-uint spider_db_mysql::get_opened_handler_count()
-{
- DBUG_ENTER("spider_db_mysql::get_opened_handler_count");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(handler_open_array.elements);
-}
-
-void spider_db_mysql::reset_opened_handler()
-{
- ha_spider *tmp_spider;
- int tmp_link_idx;
- SPIDER_LINK_FOR_HASH **tmp_link_for_hash;
- DBUG_ENTER("spider_db_mysql::reset_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- while ((tmp_link_for_hash =
- (SPIDER_LINK_FOR_HASH **) pop_dynamic(&handler_open_array)))
- {
- tmp_spider = (*tmp_link_for_hash)->spider;
- tmp_link_idx = (*tmp_link_for_hash)->link_idx;
- tmp_spider->clear_handler_opened(tmp_link_idx, conn->conn_kind);
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_db_mysql::set_dup_key_idx(
- ha_spider *spider,
- int link_idx
-) {
- TABLE *table = spider->get_table();
- uint roop_count, pk_idx = table->s->primary_key;
- int key_name_length;
- int max_length = 0;
- char *key_name;
- DBUG_ENTER("spider_db_mysql::set_dup_key_idx");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider error_str=%s", conn->error_str));
- for (roop_count = 0; roop_count < table->s->keys; roop_count++)
- {
- if (roop_count == pk_idx)
- {
- DBUG_PRINT("info",("spider pk_idx=%u", roop_count));
- int all_link_idx = spider->conn_link_idx[link_idx];
- key_name = spider->share->tgt_pk_names[all_link_idx];
- key_name_length = spider->share->tgt_pk_names_lengths[all_link_idx];
- } else {
- key_name = table->s->key_info[roop_count].name;
- key_name_length = strlen(key_name);
- }
- DBUG_PRINT("info",("spider key_name=%s", key_name));
- if (
- max_length < key_name_length &&
- conn->error_length - 1 >= key_name_length &&
- *(conn->error_str + conn->error_length - 2 -
- key_name_length) == '\'' &&
- !strncasecmp(conn->error_str +
- conn->error_length - 1 - key_name_length,
- key_name, key_name_length)
- ) {
- max_length = key_name_length;
- spider->dup_key_idx = roop_count;
- }
- }
- if (max_length == 0)
- spider->dup_key_idx = (uint) -1;
- DBUG_PRINT("info",("spider dup_key_idx=%d", spider->dup_key_idx));
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_mysql::cmp_request_key_to_snd(
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_mysql::cmp_request_key_to_snd");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-spider_db_mysql_util::spider_db_mysql_util() : spider_db_util()
-{
- DBUG_ENTER("spider_db_mysql_util::spider_db_mysql_util");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_mysql_util::~spider_db_mysql_util()
-{
- DBUG_ENTER("spider_db_mysql_util::~spider_db_mysql_util");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-int spider_db_mysql_util::append_name(
- spider_string *str,
- const char *name,
- uint name_length
-) {
- DBUG_ENTER("spider_db_mysql_util::append_name");
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(name, name_length);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_name_with_charset(
- spider_string *str,
- const char *name,
- uint name_length,
- CHARSET_INFO *name_charset
-) {
- DBUG_ENTER("spider_db_mysql_util::append_name_with_charset");
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2 + name_length * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->append(name, name_length, name_charset);
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-bool spider_db_mysql_util::is_name_quote(
- const char head_code
-) {
- DBUG_ENTER("spider_db_mysql_util::is_name_quote");
- DBUG_RETURN(head_code == *name_quote_str);
-}
-
-int spider_db_mysql_util::append_escaped_name_quote(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_mysql_util::append_escaped_name_quote");
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_column_value(
- ha_spider *spider,
- spider_string *str,
- Field *field,
- const uchar *new_ptr,
- CHARSET_INFO *access_charset
-) {
- char buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(buf, MAX_FIELD_WIDTH, &my_charset_bin);
- String *ptr;
- uint length;
- DBUG_ENTER("spider_db_mysql_util::append_column_value");
- tmp_str.init_calc_mem(113);
-
- if (new_ptr)
- {
- if (
- field->type() == MYSQL_TYPE_BLOB ||
- field->real_type() == MYSQL_TYPE_VARCHAR
- ) {
- length = uint2korr(new_ptr);
- tmp_str.set_quick((char *) new_ptr + HA_KEY_BLOB_LENGTH, length,
- &my_charset_bin);
- ptr = tmp_str.get_str();
- } else if (field->type() == MYSQL_TYPE_GEOMETRY)
- {
-/*
- uint mlength = SIZEOF_STORED_DOUBLE, lcnt;
- uchar *dest = (uchar *) buf;
- const uchar *source;
- for (lcnt = 0; lcnt < 4; lcnt++)
- {
- mlength = SIZEOF_STORED_DOUBLE;
- source = new_ptr + mlength + SIZEOF_STORED_DOUBLE * lcnt;
- while (mlength--)
- *dest++ = *--source;
- }
- tmp_str.length(SIZEOF_STORED_DOUBLE * lcnt);
-*/
-#ifndef DBUG_OFF
- double xmin, xmax, ymin, ymax;
-/*
- float8store(buf,xmin);
- float8store(buf+8,xmax);
- float8store(buf+16,ymin);
- float8store(buf+24,ymax);
- memcpy(&xmin,new_ptr,sizeof(xmin));
- memcpy(&xmax,new_ptr + 8,sizeof(xmax));
- memcpy(&ymin,new_ptr + 16,sizeof(ymin));
- memcpy(&ymax,new_ptr + 24,sizeof(ymax));
- float8get(xmin, buf);
- float8get(xmax, buf + 8);
- float8get(ymin, buf + 16);
- float8get(ymax, buf + 24);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- DBUG_PRINT("info", ("spider geo is %.14g %.14g %.14g %.14g",
- xmin, xmax, ymin, ymax));
-*/
- float8get(xmin, new_ptr);
- float8get(xmax, new_ptr + 8);
- float8get(ymin, new_ptr + 16);
- float8get(ymax, new_ptr + 24);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
-/*
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 4);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 5);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 6);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 7);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 8);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 9);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 10);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 11);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 12);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 13);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 14);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 15);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
-*/
-#endif
-/*
- tmp_str.set_quick((char *) new_ptr, SIZEOF_STORED_DOUBLE * 4,
- &my_charset_bin);
-*/
- tmp_str.length(0);
- tmp_str.q_append((char *) SPIDER_SQL_LINESTRING_HEAD_STR,
- SPIDER_SQL_LINESTRING_HEAD_LEN);
- tmp_str.q_append((char *) new_ptr, SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 2,
- SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE,
- SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 3,
- SIZEOF_STORED_DOUBLE);
- ptr = tmp_str.get_str();
- } else {
- ptr = field->val_str(tmp_str.get_str(), new_ptr);
- tmp_str.mem_calc();
- }
- } else {
- ptr = field->val_str(tmp_str.get_str());
- tmp_str.mem_calc();
- }
- DBUG_PRINT("info", ("spider field->type() is %d", field->type()));
- DBUG_PRINT("info", ("spider ptr->length() is %d", ptr->length()));
-/*
- if (
- field->type() == MYSQL_TYPE_BIT ||
- (field->type() >= MYSQL_TYPE_TINY_BLOB &&
- field->type() <= MYSQL_TYPE_BLOB)
- ) {
- uchar *hex_ptr = (uchar *) ptr->ptr(), *end_ptr;
- char *str_ptr;
- DBUG_PRINT("info", ("spider HEX"));
- if (str->reserve(SPIDER_SQL_HEX_LEN + ptr->length() * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HEX_STR, SPIDER_SQL_HEX_LEN);
- str_ptr = (char *) str->ptr() + str->length();
- for (end_ptr = hex_ptr + ptr->length(); hex_ptr < end_ptr; hex_ptr++)
- {
- *str_ptr++ = spider_dig_upper[(*hex_ptr) >> 4];
- *str_ptr++ = spider_dig_upper[(*hex_ptr) & 0x0F];
- }
- str->length(str->length() + ptr->length() * 2);
- } else
-*/
- if (field->result_type() == STRING_RESULT)
- {
- DBUG_PRINT("info", ("spider STRING_RESULT"));
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if (
- field->type() == MYSQL_TYPE_VARCHAR ||
- (field->type() >= MYSQL_TYPE_ENUM &&
- field->type() <= MYSQL_TYPE_GEOMETRY)
- ) {
- DBUG_PRINT("info", ("spider append_escaped"));
- char buf2[MAX_FIELD_WIDTH];
- spider_string tmp_str2(buf2, MAX_FIELD_WIDTH, access_charset);
- tmp_str2.init_calc_mem(114);
- tmp_str2.length(0);
- if (
- tmp_str2.append(ptr->ptr(), ptr->length(), field->charset()) ||
- str->reserve(tmp_str2.length() * 2) ||
- append_escaped_util(str, tmp_str2.get_str())
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- } else if (str->append(*ptr))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- } else if (field->str_needs_quotes())
- {
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN * 2 + ptr->length() * 2 + 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- append_escaped_util(str, ptr);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- } else if (str->append(*ptr))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_from_with_alias(
- spider_string *str,
- const char **table_names,
- uint *table_name_lengths,
- const char **table_aliases,
- uint *table_alias_lengths,
- uint table_count,
- int *table_name_pos,
- bool over_write
-) {
- uint roop_count, length = 0;
- DBUG_ENTER("spider_db_mysql_util::append_from_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!over_write)
- {
- for (roop_count = 0; roop_count < table_count; roop_count++)
- length += table_name_lengths[roop_count] + SPIDER_SQL_SPACE_LEN +
- table_alias_lengths[roop_count] + SPIDER_SQL_COMMA_LEN;
- if (str->reserve(SPIDER_SQL_FROM_LEN + length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- *table_name_pos = str->length();
- }
- for (roop_count = 0; roop_count < table_count; roop_count++)
- {
- str->q_append(table_names[roop_count], table_name_lengths[roop_count]);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(table_aliases[roop_count], table_alias_lengths[roop_count]);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_trx_isolation(
- spider_string *str,
- int trx_isolation
-) {
- DBUG_ENTER("spider_db_mysql_util::append_trx_isolation");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
- SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- switch (trx_isolation)
- {
- case ISO_READ_UNCOMMITTED:
- str->q_append(SPIDER_SQL_ISO_READ_UNCOMMITTED_STR,
- SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN);
- break;
- case ISO_READ_COMMITTED:
- str->q_append(SPIDER_SQL_ISO_READ_COMMITTED_STR,
- SPIDER_SQL_ISO_READ_COMMITTED_LEN);
- break;
- case ISO_REPEATABLE_READ:
- str->q_append(SPIDER_SQL_ISO_REPEATABLE_READ_STR,
- SPIDER_SQL_ISO_REPEATABLE_READ_LEN);
- break;
- case ISO_SERIALIZABLE:
- str->q_append(SPIDER_SQL_ISO_SERIALIZABLE_STR,
- SPIDER_SQL_ISO_SERIALIZABLE_LEN);
- break;
- default:
- DBUG_RETURN(HA_ERR_UNSUPPORTED);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_autocommit(
- spider_string *str,
- bool autocommit
-) {
- DBUG_ENTER("spider_db_mysql_util::append_autocommit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_AUTOCOMMIT_OFF_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- if (autocommit)
- {
- str->q_append(SPIDER_SQL_AUTOCOMMIT_ON_STR,
- SPIDER_SQL_AUTOCOMMIT_ON_LEN);
- } else {
- str->q_append(SPIDER_SQL_AUTOCOMMIT_OFF_STR,
- SPIDER_SQL_AUTOCOMMIT_OFF_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_sql_log_off(
- spider_string *str,
- bool sql_log_off
-) {
- DBUG_ENTER("spider_db_mysql_util::append_sql_log_off");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_SQL_LOG_OFF_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- if (sql_log_off)
- {
- str->q_append(SPIDER_SQL_SQL_LOG_ON_STR, SPIDER_SQL_SQL_LOG_ON_LEN);
- } else {
- str->q_append(SPIDER_SQL_SQL_LOG_OFF_STR, SPIDER_SQL_SQL_LOG_OFF_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_time_zone(
- spider_string *str,
- Time_zone *time_zone
-) {
- const String *tz_str = time_zone->get_name();
- DBUG_ENTER("spider_db_mysql_util::append_time_zone");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_TIME_ZONE_LEN +
- tz_str->length() + SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- str->q_append(SPIDER_SQL_TIME_ZONE_STR, SPIDER_SQL_TIME_ZONE_LEN);
- str->q_append(tz_str->ptr(), tz_str->length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_start_transaction(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_mysql_util::append_start_transaction");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
- SPIDER_SQL_START_TRANSACTION_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- str->q_append(SPIDER_SQL_START_TRANSACTION_STR,
- SPIDER_SQL_START_TRANSACTION_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_xa_start(
- spider_string *str,
- XID *xid
-) {
- DBUG_ENTER("spider_db_mysql_util::append_xa_start");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
- SPIDER_SQL_XA_START_LEN + XIDDATASIZE + sizeof(long) + 9))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- str->q_append(SPIDER_SQL_XA_START_STR, SPIDER_SQL_XA_START_LEN);
- spider_db_append_xid_str(str, xid);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_lock_table_head(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_mysql_util::append_lock_table_head");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_LOCK_TABLE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_lock_table_body(
- spider_string *str,
- const char *db_name,
- uint db_name_length,
- CHARSET_INFO *db_name_charset,
- const char *table_name,
- uint table_name_length,
- CHARSET_INFO *table_name_charset,
- int lock_type
-) {
- DBUG_ENTER("spider_db_mysql_util::append_lock_table_body");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (
- str->append(db_name, db_name_length, db_name_charset) ||
- str->reserve((SPIDER_SQL_NAME_QUOTE_LEN) * 2 + SPIDER_SQL_DOT_LEN)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (
- str->append(table_name, table_name_length, table_name_charset) ||
- str->reserve(SPIDER_SQL_NAME_QUOTE_LEN +
- spider_db_table_lock_len[lock_type])
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(spider_db_table_lock_str[lock_type],
- spider_db_table_lock_len[lock_type]);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_lock_table_tail(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_mysql_util::append_lock_table_tail");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::append_unlock_table(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_mysql_util::append_unlock_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_UNLOCK_TABLE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_UNLOCK_TABLE_STR, SPIDER_SQL_UNLOCK_TABLE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_mysql_util::open_item_func(
- Item_func *item_func,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- uint dbton_id = spider_dbton_mysql.dbton_id;
- int error_num;
- Item *item, **item_list = item_func->arguments();
- uint roop_count, item_count = item_func->argument_count(), start_item = 0;
- const char *func_name = SPIDER_SQL_NULL_CHAR_STR,
- *separete_str = SPIDER_SQL_NULL_CHAR_STR,
- *last_str = SPIDER_SQL_NULL_CHAR_STR;
- int func_name_length = SPIDER_SQL_NULL_CHAR_LEN,
- separete_str_length = SPIDER_SQL_NULL_CHAR_LEN,
- last_str_length = SPIDER_SQL_NULL_CHAR_LEN;
- int use_pushdown_udf;
- DBUG_ENTER("spider_db_mysql_util::open_item_func");
- if (str)
- {
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- DBUG_PRINT("info",("spider functype = %d", item_func->functype()));
- switch (item_func->functype())
- {
- case Item_func::ISNULL_FUNC:
- last_str = SPIDER_SQL_IS_NULL_STR;
- last_str_length = SPIDER_SQL_IS_NULL_LEN;
- break;
- case Item_func::ISNOTNULL_FUNC:
- last_str = SPIDER_SQL_IS_NOT_NULL_STR;
- last_str_length = SPIDER_SQL_IS_NOT_NULL_LEN;
- break;
- case Item_func::UNKNOWN_FUNC:
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (func_name_length == 1 &&
- (
- !strncasecmp("+", func_name, func_name_length) ||
- !strncasecmp("-", func_name, func_name_length) ||
- !strncasecmp("*", func_name, func_name_length) ||
- !strncasecmp("/", func_name, func_name_length) ||
- !strncasecmp("%", func_name, func_name_length) ||
- !strncasecmp("&", func_name, func_name_length) ||
- !strncasecmp("|", func_name, func_name_length) ||
- !strncasecmp("^", func_name, func_name_length)
- )
- ) {
- /* no action */
- break;
- } else if (func_name_length == 2 &&
- (
- !strncasecmp("<<", func_name, func_name_length) ||
- !strncasecmp(">>", func_name, func_name_length)
- )
- ) {
- /* no action */
- break;
- } else if (func_name_length == 3 &&
- !strncasecmp("div", func_name, func_name_length)
- ) {
- /* no action */
- break;
- } else if (func_name_length == 4)
- {
- if (
- !strncasecmp("rand", func_name, func_name_length) &&
- !item_func->arg_count
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (
- !strncasecmp("case", func_name, func_name_length)
- ) {
-#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC
- Item_func_case *item_func_case = (Item_func_case *) item_func;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_CASE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CASE_STR, SPIDER_SQL_CASE_LEN);
- }
- if (item_func_case->first_expr_num != -1)
- {
- if ((error_num = spider_db_print_item_type(
- item_list[item_func_case->first_expr_num], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- for (roop_count = 0; roop_count < item_func_case->ncases;
- roop_count += 2)
- {
- if (str)
- {
- if (str->reserve(SPIDER_SQL_WHEN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHEN_STR, SPIDER_SQL_WHEN_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[roop_count], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(SPIDER_SQL_THEN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_THEN_STR, SPIDER_SQL_THEN_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[roop_count + 1], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (item_func_case->else_expr_num != -1)
- {
- if (str)
- {
- if (str->reserve(SPIDER_SQL_ELSE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ELSE_STR, SPIDER_SQL_ELSE_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[item_func_case->else_expr_num], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (str)
- {
- if (str->reserve(SPIDER_SQL_END_LEN + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_END_STR, SPIDER_SQL_END_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
-#else
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
-#endif
- }
- } else if (func_name_length == 6 &&
- !strncasecmp("istrue", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_TRUE_STR;
- last_str_length = SPIDER_SQL_IS_TRUE_LEN;
- break;
- } else if (func_name_length == 7)
- {
- if (!strncasecmp("isfalse", func_name, func_name_length))
- {
- last_str = SPIDER_SQL_IS_FALSE_STR;
- last_str_length = SPIDER_SQL_IS_FALSE_LEN;
- break;
- } else if (
- !strncasecmp("sysdate", func_name, func_name_length) ||
- !strncasecmp("curdate", func_name, func_name_length) ||
- !strncasecmp("curtime", func_name, func_name_length)
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (
- !strncasecmp("convert", func_name, func_name_length)
- ) {
- if (str)
- {
- if (str->reserve(func_name_length * 2 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
- SPIDER_SQL_OPEN_PAREN_LEN);
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- }
- } else if (func_name_length == 8 &&
- (
- !strncasecmp("utc_date", func_name, func_name_length) ||
- !strncasecmp("utc_time", func_name, func_name_length)
- )
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (func_name_length == 9 &&
- !strncasecmp("isnottrue", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_NOT_TRUE_STR;
- last_str_length = SPIDER_SQL_IS_NOT_TRUE_LEN;
- break;
- } else if (func_name_length == 10 &&
- !strncasecmp("isnotfalse", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_NOT_FALSE_STR;
- last_str_length = SPIDER_SQL_IS_NOT_FALSE_LEN;
- break;
- } else if (func_name_length == 12)
- {
- if (!strncasecmp("cast_as_date", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_DATE_STR;
- last_str_length = SPIDER_SQL_AS_DATE_LEN;
- break;
- } else if (!strncasecmp("cast_as_time", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_TIME_STR;
- last_str_length = SPIDER_SQL_AS_TIME_LEN;
- break;
- }
- } else if (func_name_length == 13 &&
- !strncasecmp("utc_timestamp", func_name, func_name_length)
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (func_name_length == 14)
- {
- if (!strncasecmp("cast_as_binary", func_name, func_name_length))
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(123);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_BINARY_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- } else if (!strncasecmp("cast_as_signed", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_SIGNED_STR;
- last_str_length = SPIDER_SQL_AS_SIGNED_LEN;
- break;
- }
- } else if (func_name_length == 16)
- {
- if (!strncasecmp("cast_as_unsigned", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_UNSIGNED_STR;
- last_str_length = SPIDER_SQL_AS_UNSIGNED_LEN;
- break;
- } else if (!strncasecmp("decimal_typecast", func_name,
- func_name_length))
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(124);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_DECIMAL_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- } else if (!strncasecmp("cast_as_datetime", func_name,
- func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_DATETIME_STR;
- last_str_length = SPIDER_SQL_AS_DATETIME_LEN;
- break;
- }
- } else if (func_name_length == 17)
- {
- if (!strncasecmp("date_add_interval", func_name, func_name_length))
- {
- Item_date_add_interval *item_date_add_interval =
- (Item_date_add_interval *) item_func;
- func_name = spider_db_timefunc_interval_str[
- item_date_add_interval->int_type];
- func_name_length = strlen(func_name);
- if ((error_num = spider_db_print_item_type(item_list[0], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (item_date_add_interval->date_sub_interval)
- {
- if (str->reserve(SPIDER_SQL_NEGINTERVAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NEGINTERVAL_STR,
- SPIDER_SQL_NEGINTERVAL_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_INTERVAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INTERVAL_STR, SPIDER_SQL_INTERVAL_LEN);
- }
- }
- if ((error_num = spider_db_print_item_type(item_list[1], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
- }
- }
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::NOW_FUNC:
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::CHAR_TYPECAST_FUNC:
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(125);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_CHAR_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- }
- break;
- case Item_func::NOT_FUNC:
- case Item_func::NEG_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- break;
- case Item_func::IN_FUNC:
- if (((Item_func_opt_neg *) item_func)->negated)
- {
- func_name = SPIDER_SQL_NOT_IN_STR;
- func_name_length = SPIDER_SQL_NOT_IN_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- } else {
- func_name = SPIDER_SQL_IN_STR;
- func_name_length = SPIDER_SQL_IN_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- case Item_func::BETWEEN:
- if (((Item_func_opt_neg *) item_func)->negated)
- {
- func_name = SPIDER_SQL_NOT_BETWEEN_STR;
- func_name_length = SPIDER_SQL_NOT_BETWEEN_LEN;
- separete_str = SPIDER_SQL_AND_STR;
- separete_str_length = SPIDER_SQL_AND_LEN;
- } else {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- separete_str = SPIDER_SQL_AND_STR;
- separete_str_length = SPIDER_SQL_AND_LEN;
- }
- break;
- case Item_func::UDF_FUNC:
- use_pushdown_udf = spider_param_use_pushdown_udf(spider->trx->thd,
- spider->share->use_pushdown_udf);
- if (!use_pushdown_udf)
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
-#ifdef MARIADB_BASE_VERSION
- case Item_func::XOR_FUNC:
-#else
- case Item_func::COND_XOR_FUNC:
-#endif
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(
- spider_db_open_item_cond((Item_cond *) item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::TRIG_COND_FUNC:
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- case Item_func::GUSERVAR_FUNC:
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (item_func->result_type() == STRING_RESULT)
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- else
- DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::FT_FUNC:
- if (spider_db_check_ft_idx(item_func, spider) == MAX_KEY)
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- start_item = 1;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_MATCH_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
- }
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::SP_EQUALS_FUNC:
- if (str)
- {
- func_name = SPIDER_SQL_MBR_EQUAL_STR;
- func_name_length = SPIDER_SQL_MBR_EQUAL_LEN;
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(func_name_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::SP_DISJOINT_FUNC:
- case Item_func::SP_INTERSECTS_FUNC:
- case Item_func::SP_TOUCHES_FUNC:
- case Item_func::SP_CROSSES_FUNC:
- case Item_func::SP_WITHIN_FUNC:
- case Item_func::SP_CONTAINS_FUNC:
- case Item_func::SP_OVERLAPS_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(SPIDER_SQL_MBR_LEN + func_name_length +
- SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MBR_STR, SPIDER_SQL_MBR_LEN);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::EQ_FUNC:
- case Item_func::EQUAL_FUNC:
- case Item_func::NE_FUNC:
- case Item_func::LT_FUNC:
- case Item_func::LE_FUNC:
- case Item_func::GE_FUNC:
- case Item_func::GT_FUNC:
- case Item_func::LIKE_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- }
- break;
- default:
- THD *thd = spider->trx->thd;
- SPIDER_SHARE *share = spider->share;
- if (spider_param_skip_default_condition(thd,
- share->skip_default_condition))
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- }
- break;
- }
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- DBUG_PRINT("info",("spider separete_str = %s", separete_str));
- DBUG_PRINT("info",("spider separete_str_length = %d", separete_str_length));
- DBUG_PRINT("info",("spider last_str = %s", last_str));
- DBUG_PRINT("info",("spider last_str_length = %d", last_str_length));
- if (item_count)
- {
- item_count--;
- for (roop_count = start_item; roop_count < item_count; roop_count++)
- {
- item = item_list[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (roop_count == 1)
- {
- func_name = separete_str;
- func_name_length = separete_str_length;
- }
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- }
- item = item_list[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (item_func->functype() == Item_func::FT_FUNC)
- {
- Item_func_match *item_func_match = (Item_func_match *)item_func;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_AGAINST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
- }
- item = item_list[0];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(
- ((item_func_match->flags & FT_BOOL) ?
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
- ((item_func_match->flags & FT_EXPAND) ?
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
- ))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (item_func_match->flags & FT_BOOL)
- str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
- if (item_func_match->flags & FT_EXPAND)
- str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
- }
- } else if (item_func->functype() == Item_func::UNKNOWN_FUNC)
- {
- if (
- func_name_length == 7 &&
- !strncasecmp("convert", func_name, func_name_length)
- ) {
- if (str)
- {
- Item_func_conv_charset *item_func_conv_charset =
- (Item_func_conv_charset *)item_func;
- CHARSET_INFO *conv_charset = item_func_conv_charset->conv_charset;
- uint cset_length = strlen(conv_charset->csname);
- if (str->reserve(SPIDER_SQL_USING_LEN + cset_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_USING_STR, SPIDER_SQL_USING_LEN);
- str->q_append(conv_charset->csname, cset_length);
- }
- }
- }
- if (str)
- {
- if (str->reserve(last_str_length + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(last_str, last_str_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_db_mysql_util::open_item_sum_func(
- Item_sum *item_sum,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- uint dbton_id = spider_dbton_mysql.dbton_id;
- uint roop_count, item_count = item_sum->get_arg_count();
- int error_num;
- DBUG_ENTER("spider_db_mysql_util::open_item_sum_func");
- DBUG_PRINT("info",("spider Sumfunctype = %d", item_sum->sum_func()));
- switch (item_sum->sum_func())
- {
- case Item_sum::COUNT_FUNC:
- case Item_sum::SUM_FUNC:
- case Item_sum::MIN_FUNC:
- case Item_sum::MAX_FUNC:
- {
- const char *func_name = item_sum->func_name();
- uint func_name_length = strlen(func_name);
- Item *item, **args = item_sum->get_args();
- if (str)
- {
- if (str->reserve(func_name_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- }
- if (item_count)
- {
- item_count--;
- for (roop_count = 0; roop_count < item_count; roop_count++)
- {
- item = args[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- item = args[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (str)
- {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- }
- break;
- case Item_sum::COUNT_DISTINCT_FUNC:
- case Item_sum::SUM_DISTINCT_FUNC:
- case Item_sum::AVG_FUNC:
- case Item_sum::AVG_DISTINCT_FUNC:
- case Item_sum::STD_FUNC:
- case Item_sum::VARIANCE_FUNC:
- case Item_sum::SUM_BIT_FUNC:
- case Item_sum::UDF_SUM_FUNC:
- case Item_sum::GROUP_CONCAT_FUNC:
- default:
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-int spider_db_mysql_util::append_escaped_util(
- spider_string *to,
- String *from
-) {
- DBUG_ENTER("spider_db_mysql_util::append_escaped_util");
- DBUG_PRINT("info",("spider this=%p", this));
- append_escaped(to->get_str(), from);
- to->mem_calc();
- DBUG_RETURN(0);
-}
-
-spider_mysql_share::spider_mysql_share(
- st_spider_share *share
-) : spider_db_share(
- share
-),
- table_select(NULL),
- table_select_pos(0),
- key_select(NULL),
- key_select_pos(NULL),
- key_hint(NULL),
- show_table_status(NULL),
- show_records(NULL),
- show_index(NULL),
- table_names_str(NULL),
- db_names_str(NULL),
- db_table_str(NULL),
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- db_table_str_hash_value(NULL),
-#endif
- table_nm_max_length(0),
- db_nm_max_length(0),
- column_name_str(NULL),
- same_db_table_name(TRUE),
- first_all_link_idx(-1)
-{
- DBUG_ENTER("spider_mysql_share::spider_mysql_share");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_alloc_calc_mem_init(mem_calc, 71);
- spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-spider_mysql_share::~spider_mysql_share()
-{
- DBUG_ENTER("spider_mysql_share::~spider_mysql_share");
- DBUG_PRINT("info",("spider this=%p", this));
- if (table_select)
- delete [] table_select;
- if (key_select)
- delete [] key_select;
- if (key_hint)
- delete [] key_hint;
- free_show_table_status();
- free_show_records();
- free_show_index();
- free_column_name_str();
- free_table_names_str();
- if (key_select_pos)
- {
- spider_free(spider_current_trx, key_select_pos, MYF(0));
- }
- spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_share::init()
-{
- int error_num;
- uint roop_count;
- TABLE_SHARE *table_share = spider_share->table_share;
- uint keys = table_share ? table_share->keys : 0;
- DBUG_ENTER("spider_mysql_share::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(key_select_pos = (int *)
- spider_bulk_alloc_mem(spider_current_trx, 112,
- __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
- &key_select_pos,
- sizeof(int) * keys,
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- &db_table_str_hash_value,
- sizeof(my_hash_value_type) * spider_share->all_link_count,
-#endif
- NullS))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- if (keys > 0 &&
- !(key_hint = new spider_string[keys])
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- for (roop_count = 0; roop_count < keys; roop_count++)
- {
- key_hint[roop_count].init_calc_mem(189);
- key_hint[roop_count].set_charset(spider_share->access_charset);
- }
- DBUG_PRINT("info",("spider key_hint=%p", key_hint));
-
- if (
- !(table_select = new spider_string[1]) ||
- (keys > 0 &&
- !(key_select = new spider_string[keys])
- ) ||
- (error_num = create_table_names_str()) ||
- (table_share &&
- (
- (error_num = create_column_name_str()) ||
- (error_num = convert_key_hint_str()) ||
- (error_num = append_show_table_status()) ||
- (error_num = append_show_records()) ||
- (error_num = append_show_index())
- )
- )
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- table_select->init_calc_mem(96);
- if (table_share && (error_num = append_table_select()))
- DBUG_RETURN(error_num);
-
- for (roop_count = 0; roop_count < keys; roop_count++)
- {
- key_select[roop_count].init_calc_mem(97);
- if ((error_num = append_key_select(roop_count)))
- DBUG_RETURN(error_num);
- }
-
- DBUG_RETURN(error_num);
-}
-
-uint spider_mysql_share::get_column_name_length(
- uint field_index
-) {
- DBUG_ENTER("spider_mysql_share::get_column_name_length");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(column_name_str[field_index].length());
-}
-
-int spider_mysql_share::append_column_name(
- spider_string *str,
- uint field_index
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_share::append_column_name");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = spider_db_mysql_utility.append_name(str,
- column_name_str[field_index].ptr(), column_name_str[field_index].length());
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_share::append_column_name_with_alias(
- spider_string *str,
- uint field_index,
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_mysql_share::append_column_name_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(
- alias_length +
- column_name_str[field_index].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- append_column_name(str, field_index);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_share::append_table_name(
- spider_string *str,
- int all_link_idx
-) {
- const char *db_nm = db_names_str[all_link_idx].ptr();
- uint db_nm_len = db_names_str[all_link_idx].length();
- const char *table_nm = table_names_str[all_link_idx].ptr();
- uint table_nm_len = table_names_str[all_link_idx].length();
- DBUG_ENTER("spider_mysql_share::append_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(db_nm_len + SPIDER_SQL_DOT_LEN + table_nm_len +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_db_mysql_utility.append_name(str, db_nm, db_nm_len);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- spider_db_mysql_utility.append_name(str, table_nm, table_nm_len);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_share::append_table_name_with_adjusting(
- spider_string *str,
- int all_link_idx
-) {
- const char *db_nm = db_names_str[all_link_idx].ptr();
- uint db_nm_len = db_names_str[all_link_idx].length();
- uint db_nm_max_len = db_nm_max_length;
- const char *table_nm = table_names_str[all_link_idx].ptr();
- uint table_nm_len = table_names_str[all_link_idx].length();
- uint table_nm_max_len = table_nm_max_length;
- DBUG_ENTER("spider_mysql_share::append_table_name_with_adjusting");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_db_mysql_utility.append_name(str, db_nm, db_nm_len);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- spider_db_mysql_utility.append_name(str, table_nm, table_nm_len);
- uint length =
- db_nm_max_len - db_nm_len +
- table_nm_max_len - table_nm_len;
- memset((char *) str->ptr() + str->length(), ' ', length);
- str->length(str->length() + length);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_share::append_from_with_adjusted_table_name(
- spider_string *str,
- int *table_name_pos
-) {
- const char *db_nm = db_names_str[0].ptr();
- uint db_nm_len = db_names_str[0].length();
- uint db_nm_max_len = db_nm_max_length;
- const char *table_nm = table_names_str[0].ptr();
- uint table_nm_len = table_names_str[0].length();
- uint table_nm_max_len = table_nm_max_length;
- DBUG_ENTER("spider_mysql_share::append_from_with_adjusted_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_FROM_LEN + db_nm_max_length +
- SPIDER_SQL_DOT_LEN + table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- *table_name_pos = str->length();
- spider_db_mysql_utility.append_name(str, db_nm, db_nm_len);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- spider_db_mysql_utility.append_name(str, table_nm, table_nm_len);
- uint length =
- db_nm_max_len - db_nm_len +
- table_nm_max_len - table_nm_len;
- memset((char *) str->ptr() + str->length(), ' ', length);
- str->length(str->length() + length);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_share::create_table_names_str()
-{
- int error_num, roop_count;
- uint table_nm_len, db_nm_len;
- spider_string *str, *first_tbl_nm_str, *first_db_nm_str, *first_db_tbl_str;
- char *first_tbl_nm, *first_db_nm;
- uint dbton_id = spider_dbton_mysql.dbton_id;
- DBUG_ENTER("spider_mysql_share::create_table_names_str");
- table_names_str = NULL;
- db_names_str = NULL;
- db_table_str = NULL;
- if (
- !(table_names_str = new spider_string[spider_share->all_link_count]) ||
- !(db_names_str = new spider_string[spider_share->all_link_count]) ||
- !(db_table_str = new spider_string[spider_share->all_link_count])
- ) {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
-
- same_db_table_name = TRUE;
- first_tbl_nm = spider_share->tgt_table_names[0];
- first_db_nm = spider_share->tgt_dbs[0];
- table_nm_len = spider_share->tgt_table_names_lengths[0];
- db_nm_len = spider_share->tgt_dbs_lengths[0];
- first_tbl_nm_str = &table_names_str[0];
- first_db_nm_str = &db_names_str[0];
- first_db_tbl_str = &db_table_str[0];
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- table_names_str[roop_count].init_calc_mem(86);
- db_names_str[roop_count].init_calc_mem(87);
- db_table_str[roop_count].init_calc_mem(88);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
- if (first_all_link_idx == -1)
- first_all_link_idx = roop_count;
-
- str = &table_names_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name &&
- spider_share->tgt_table_names_lengths[roop_count] == table_nm_len &&
- !memcmp(first_tbl_nm, spider_share->tgt_table_names[roop_count],
- table_nm_len)
- ) {
- if (str->copy(*first_tbl_nm_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- spider_share->tgt_table_names[roop_count], dbton_id)))
- goto error;
- if (roop_count)
- {
- same_db_table_name = FALSE;
- DBUG_PRINT("info", ("spider found different table name %s",
- spider_share->tgt_table_names[roop_count]));
- if (str->length() > table_nm_max_length)
- table_nm_max_length = str->length();
- } else
- table_nm_max_length = str->length();
- }
-
- str = &db_names_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name &&
- spider_share->tgt_dbs_lengths[roop_count] == db_nm_len &&
- !memcmp(first_db_nm, spider_share->tgt_dbs[roop_count],
- db_nm_len)
- ) {
- if (str->copy(*first_db_nm_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- spider_share->tgt_dbs[roop_count], dbton_id)))
- goto error;
- if (roop_count)
- {
- same_db_table_name = FALSE;
- DBUG_PRINT("info", ("spider found different db name %s",
- spider_share->tgt_dbs[roop_count]));
- if (str->length() > db_nm_max_length)
- db_nm_max_length = str->length();
- } else
- db_nm_max_length = str->length();
- }
-
- str = &db_table_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name
- ) {
- if (str->copy(*first_db_tbl_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = append_table_name(str, roop_count)))
- goto error;
- }
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- db_table_str_hash_value[roop_count] = my_calc_hash(
- &spider_open_connections, (uchar*) str->ptr(), str->length());
-#endif
- }
- DBUG_RETURN(0);
-
-error:
- if (db_table_str)
- {
- delete [] db_table_str;
- db_table_str = NULL;
- }
- if (db_names_str)
- {
- delete [] db_names_str;
- db_names_str = NULL;
- }
- if (table_names_str)
- {
- delete [] table_names_str;
- table_names_str = NULL;
- }
- DBUG_RETURN(error_num);
-}
-
-void spider_mysql_share::free_table_names_str()
-{
- DBUG_ENTER("spider_mysql_share::free_table_names_str");
- if (db_table_str)
- {
- delete [] db_table_str;
- db_table_str = NULL;
- }
- if (db_names_str)
- {
- delete [] db_names_str;
- db_names_str = NULL;
- }
- if (table_names_str)
- {
- delete [] table_names_str;
- table_names_str = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_share::create_column_name_str()
-{
- spider_string *str;
- int error_num;
- Field **field;
- TABLE_SHARE *table_share = spider_share->table_share;
- uint dbton_id = spider_dbton_mysql.dbton_id;
- DBUG_ENTER("spider_mysql_share::create_column_name_str");
- if (
- table_share->fields &&
- !(column_name_str = new spider_string[table_share->fields])
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- for (field = table_share->field, str = column_name_str;
- *field; field++, str++)
- {
- str->init_calc_mem(89);
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- (char *) (*field)->field_name, dbton_id)))
- goto error;
- }
- DBUG_RETURN(0);
-
-error:
- if (column_name_str)
- {
- delete [] column_name_str;
- column_name_str = NULL;
- }
- DBUG_RETURN(error_num);
-}
-
-void spider_mysql_share::free_column_name_str()
-{
- DBUG_ENTER("spider_mysql_share::free_column_name_str");
- if (column_name_str)
- {
- delete [] column_name_str;
- column_name_str = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_share::convert_key_hint_str()
-{
- spider_string *tmp_key_hint;
- int roop_count;
- TABLE_SHARE *table_share = spider_share->table_share;
- DBUG_ENTER("spider_mysql_share::convert_key_hint_str");
- if (spider_share->access_charset->cset != system_charset_info->cset)
- {
- /* need convertion */
- for (roop_count = 0, tmp_key_hint = key_hint;
- roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
- {
- tmp_key_hint->length(0);
- if (tmp_key_hint->append(spider_share->key_hint->ptr(),
- spider_share->key_hint->length(), system_charset_info))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- } else {
- for (roop_count = 0, tmp_key_hint = key_hint;
- roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
- {
- if (tmp_key_hint->copy(spider_share->key_hint[roop_count]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_share::append_show_table_status()
-{
- int roop_count;
- spider_string *str;
- uint dbton_id = spider_dbton_mysql.dbton_id;
- DBUG_ENTER("spider_mysql_append_show_table_status");
- if (!(show_table_status =
- new spider_string[2 * spider_share->all_link_count]))
- goto error;
-
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- show_table_status[0 + (2 * roop_count)].init_calc_mem(90);
- show_table_status[1 + (2 * roop_count)].init_calc_mem(91);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_table_status[0 + (2 * roop_count)].reserve(
- SPIDER_SQL_SHOW_TABLE_STATUS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_LIKE_LEN + table_names_str[roop_count].length() +
- ((SPIDER_SQL_NAME_QUOTE_LEN) * 2) +
- ((SPIDER_SQL_VALUE_QUOTE_LEN) * 2)) ||
- show_table_status[1 + (2 * roop_count)].reserve(
- SPIDER_SQL_SELECT_TABLES_STATUS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
- table_names_str[roop_count].length() +
- ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4))
- )
- goto error;
- str = &show_table_status[0 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SHOW_TABLE_STATUS_STR, SPIDER_SQL_SHOW_TABLE_STATUS_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(db_names_str[roop_count].ptr(),
- db_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_LIKE_STR, SPIDER_SQL_LIKE_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(table_names_str[roop_count].ptr(),
- table_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str = &show_table_status[1 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SELECT_TABLES_STATUS_STR,
- SPIDER_SQL_SELECT_TABLES_STATUS_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(db_names_str[roop_count].ptr(),
- db_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(table_names_str[roop_count].ptr(),
- table_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- }
- DBUG_RETURN(0);
-
-error:
- if (show_table_status)
- {
- delete [] show_table_status;
- show_table_status = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_mysql_share::free_show_table_status()
-{
- DBUG_ENTER("spider_mysql_free_show_table_status");
- if (show_table_status)
- {
- delete [] show_table_status;
- show_table_status = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_share::append_show_records()
-{
- int roop_count;
- spider_string *str;
- uint dbton_id = spider_dbton_mysql.dbton_id;
- DBUG_ENTER("spider_mysql_share::append_show_records");
- if (!(show_records = new spider_string[spider_share->all_link_count]))
- goto error;
-
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- show_records[roop_count].init_calc_mem(92);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_records[roop_count].reserve(
- SPIDER_SQL_SHOW_RECORDS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_DOT_LEN +
- table_names_str[roop_count].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4)
- )
- goto error;
- str = &show_records[roop_count];
- str->q_append(SPIDER_SQL_SHOW_RECORDS_STR, SPIDER_SQL_SHOW_RECORDS_LEN);
- append_table_name(str, roop_count);
- }
- DBUG_RETURN(0);
-
-error:
- if (show_records)
- {
- delete [] show_records;
- show_records = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_mysql_share::free_show_records()
-{
- DBUG_ENTER("spider_mysql_share::free_show_records");
- if (show_records)
- {
- delete [] show_records;
- show_records = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_share::append_show_index()
-{
- int roop_count;
- spider_string *str;
- uint dbton_id = spider_dbton_mysql.dbton_id;
- DBUG_ENTER("spider_mysql_share::append_show_index");
- if (!(show_index = new spider_string[2 * spider_share->all_link_count]))
- goto error;
-
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- show_index[0 + (2 * roop_count)].init_calc_mem(93);
- show_index[1 + (2 * roop_count)].init_calc_mem(94);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_index[0 + (2 * roop_count)].reserve(
- SPIDER_SQL_SHOW_INDEX_LEN + db_names_str[roop_count].length() +
- SPIDER_SQL_DOT_LEN +
- table_names_str[roop_count].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4) ||
- show_index[1 + (2 * roop_count)].reserve(
- SPIDER_SQL_SELECT_STATISTICS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
- table_names_str[roop_count].length() +
- ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4) +
- SPIDER_SQL_GROUP_LEN + SPIDER_SQL_COLUMN_NAME_LEN)
- )
- goto error;
- str = &show_index[0 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SHOW_INDEX_STR, SPIDER_SQL_SHOW_INDEX_LEN);
- append_table_name(str, roop_count);
- str = &show_index[1 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SELECT_STATISTICS_STR, SPIDER_SQL_SELECT_STATISTICS_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(db_names_str[roop_count].ptr(),
- db_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(table_names_str[roop_count].ptr(),
- table_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
- str->q_append(SPIDER_SQL_COLUMN_NAME_STR, SPIDER_SQL_COLUMN_NAME_LEN);
- }
- DBUG_RETURN(0);
-
-error:
- if (show_index)
- {
- delete [] show_index;
- show_index = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_mysql_share::free_show_index()
-{
- DBUG_ENTER("spider_mysql_share::free_show_index");
- if (show_index)
- {
- delete [] show_index;
- show_index = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_share::append_table_select()
-{
- Field **field;
- uint field_length;
- spider_string *str = table_select;
- TABLE_SHARE *table_share = spider_share->table_share;
- DBUG_ENTER("spider_mysql_share::append_table_select");
- for (field = table_share->field; *field; field++)
- {
- field_length = column_name_str[(*field)->field_index].length();
- if (str->reserve(field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(append_from_with_adjusted_table_name(str, &table_select_pos));
-}
-
-int spider_mysql_share::append_key_select(
- uint idx
-) {
- KEY_PART_INFO *key_part;
- Field *field;
- uint part_num;
- uint field_length;
- spider_string *str = &key_select[idx];
- TABLE_SHARE *table_share = spider_share->table_share;
- const KEY *key_info = &table_share->key_info[idx];
- DBUG_ENTER("spider_mysql_share::append_key_select");
- for (key_part = key_info->key_part, part_num = 0;
- part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
- {
- field = key_part->field;
- field_length = column_name_str[field->field_index].length();
- if (str->reserve(field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(append_from_with_adjusted_table_name(str, &key_select_pos[idx]));
-}
-
-bool spider_mysql_share::need_change_db_table_name()
-{
- DBUG_ENTER("spider_mysql_share::need_change_db_table_name");
- DBUG_RETURN(!same_db_table_name);
-}
-
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
-int spider_mysql_share::discover_table_structure(
- SPIDER_TRX *trx,
- SPIDER_SHARE *spider_share,
- spider_string *str
-) {
- int roop_count, error_num = HA_ERR_WRONG_COMMAND;
- char sql_buf[MAX_FIELD_WIDTH];
- spider_string sql_str(sql_buf, sizeof(sql_buf), system_charset_info);
- uint dbton_id = spider_dbton_mysql.dbton_id;
- uint strlen = str->length();
- DBUG_ENTER("spider_mysql_share::discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- sql_str.init_calc_mem(228);
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- {
- DBUG_PRINT("info",("spider spider_share->sql_dbton_ids[%d]=%u",
- roop_count, spider_share->sql_dbton_ids[roop_count]));
- DBUG_PRINT("info",("spider dbton_id=%u", dbton_id));
- continue;
- }
-
- str->length(strlen);
- sql_str.length(0);
- if (sql_str.reserve(
- SPIDER_SQL_SHOW_COLUMNS_LEN + db_names_str[roop_count].length() +
- SPIDER_SQL_DOT_LEN + table_names_str[roop_count].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 +
- SPIDER_SQL_SEMICOLON_LEN +
- SPIDER_SQL_SHOW_INDEX_LEN + db_names_str[roop_count].length() +
- SPIDER_SQL_DOT_LEN + table_names_str[roop_count].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4
- )) {
- DBUG_PRINT("info",("spider alloc sql_str error"));
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql_str.q_append(SPIDER_SQL_SHOW_COLUMNS_STR, SPIDER_SQL_SHOW_COLUMNS_LEN);
- append_table_name(&sql_str, roop_count);
- sql_str.q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- sql_str.q_append(SPIDER_SQL_SHOW_INDEX_STR, SPIDER_SQL_SHOW_INDEX_LEN);
- append_table_name(&sql_str, roop_count);
-
- SPIDER_CONN *conn;
- int need_mon;
- if (!(conn = spider_get_conn(
- spider_share, 0, spider_share->conn_keys[roop_count], trx, NULL, FALSE,
- FALSE, SPIDER_CONN_KIND_MYSQL, &error_num))
- ) {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &need_mon;
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(spider_share, conn, roop_count);
- spider_conn_set_timeout_from_share(conn, roop_count, trx->thd,
- spider_share);
- if (
- (error_num = spider_db_set_names_internal(trx, spider_share, conn,
- roop_count, &need_mon)) ||
- (
- spider_db_query(
- conn,
- sql_str.ptr(),
- sql_str.length(),
- -1,
- &need_mon) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- DBUG_PRINT("info",("spider spider_get_trx error"));
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = trx->spider_thread_id;
- request_key.query_id = trx->thd->query_id;
- request_key.handler = NULL;
- request_key.request_id = 1;
- request_key.next = NULL;
- spider_db_result *res;
- /* get column list */
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- DBUG_PRINT("info",("spider column store error"));
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- /* no record */
- DBUG_PRINT("info",("spider column no record error"));
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- if ((error_num = res->fetch_columns_for_discover_table_structure(str,
- spider_share->access_charset)))
- {
- DBUG_PRINT("info",("spider column fetch error"));
- res->free_result();
- delete res;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- res->free_result();
- delete res;
- if (conn->db_conn->next_result())
- {
- DBUG_PRINT("info",("spider single result error"));
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- /* get index list */
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- DBUG_PRINT("info",("spider index store error"));
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- /* no record */
- DBUG_PRINT("info",("spider index no record error"));
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- if ((error_num = res->fetch_index_for_discover_table_structure(str,
- spider_share->access_charset)))
- {
- DBUG_PRINT("info",("spider index fetch error"));
- res->free_result();
- delete res;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- continue;
- }
- res->free_result();
- delete res;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- if (!error_num)
- break;
- }
- DBUG_RETURN(error_num);
-}
-#endif
-
-spider_mysql_handler::spider_mysql_handler(
- ha_spider *spider,
- spider_mysql_share *db_share
-) : spider_db_handler(
- spider,
- db_share
-),
- where_pos(0),
- order_pos(0),
- limit_pos(0),
- table_name_pos(0),
- ha_read_pos(0),
- ha_next_pos(0),
- ha_where_pos(0),
- ha_limit_pos(0),
- ha_table_name_pos(0),
- insert_pos(0),
- insert_table_name_pos(0),
- upd_tmp_tbl(NULL),
- tmp_sql_pos1(0),
- tmp_sql_pos2(0),
- tmp_sql_pos3(0),
- tmp_sql_pos4(0),
- tmp_sql_pos5(0),
- reading_from_bulk_tmp_table(FALSE),
- union_table_name_pos_first(NULL),
- union_table_name_pos_current(NULL),
- mysql_share(db_share),
- link_for_hash(NULL)
-{
- DBUG_ENTER("spider_mysql_handler::spider_mysql_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_alloc_calc_mem_init(mem_calc, 183);
- spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-spider_mysql_handler::~spider_mysql_handler()
-{
- DBUG_ENTER("spider_mysql_handler::~spider_mysql_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- while (union_table_name_pos_first)
- {
- SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
- union_table_name_pos_first = tmp_pos->next;
- spider_free(spider_current_trx, tmp_pos, MYF(0));
- }
- if (link_for_hash)
- {
- spider_free(spider_current_trx, link_for_hash, MYF(0));
- }
- spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_handler::init()
-{
- uint roop_count;
- THD *thd = spider->trx->thd;
- st_spider_share *share = spider->share;
- int init_sql_alloc_size =
- spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
- DBUG_ENTER("spider_mysql_handler::init");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.init_calc_mem(59);
- sql_part.init_calc_mem(60);
- sql_part2.init_calc_mem(61);
- ha_sql.init_calc_mem(62);
- insert_sql.init_calc_mem(64);
- update_sql.init_calc_mem(65);
- tmp_sql.init_calc_mem(66);
- dup_update_sql.init_calc_mem(166);
- if (
- (sql.real_alloc(init_sql_alloc_size)) ||
- (insert_sql.real_alloc(init_sql_alloc_size)) ||
- (update_sql.real_alloc(init_sql_alloc_size)) ||
- (tmp_sql.real_alloc(init_sql_alloc_size))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.set_charset(share->access_charset);
- sql_part.set_charset(share->access_charset);
- ha_sql.set_charset(share->access_charset);
- insert_sql.set_charset(share->access_charset);
- update_sql.set_charset(share->access_charset);
- tmp_sql.set_charset(share->access_charset);
- upd_tmp_tbl_prm.init();
- upd_tmp_tbl_prm.field_count = 1;
- if (!(link_for_hash = (SPIDER_LINK_FOR_HASH *)
- spider_bulk_alloc_mem(spider_current_trx, 141,
- __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
- &link_for_hash,
- sizeof(SPIDER_LINK_FOR_HASH) * share->link_count,
- NullS))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- for (roop_count = 0; roop_count < share->link_count; roop_count++)
- {
- link_for_hash[roop_count].spider = spider;
- link_for_hash[roop_count].link_idx = roop_count;
- link_for_hash[roop_count].db_table_str =
- &mysql_share->db_table_str[roop_count];
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- link_for_hash[roop_count].db_table_str_hash_value =
- mysql_share->db_table_str_hash_value[roop_count];
-#endif
- }
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- hs_upds.init();
-#endif
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_table_name_with_adjusting(
- spider_string *str,
- int link_idx,
- ulong sql_type
-) {
- int error_num = 0;
- DBUG_ENTER("spider_mysql_handler::append_table_name_with_adjusting");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
- } else {
- error_num = mysql_share->append_table_name_with_adjusting(str,
- spider->conn_link_idx[link_idx]);
- }
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_column_types(
- const key_range *start_key,
- spider_string *str
-) {
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- KEY *key_info = result_list->key_info;
- uint key_name_length, key_count;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- char tmp_buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(tmp_buf, sizeof(tmp_buf), system_charset_info);
- DBUG_ENTER("spider_mysql_handler::append_key_column_types");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_str.init_calc_mem(115);
-
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- for (
- key_part = key_info->key_part,
- key_count = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- key_count++
- ) {
- field = key_part->field;
- key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
- if (str->reserve(key_name_length + SPIDER_SQL_SPACE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(tmp_buf, key_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
-
- if (tmp_str.ptr() != tmp_buf)
- tmp_str.set(tmp_buf, sizeof(tmp_buf), system_charset_info);
- else
- tmp_str.set_charset(system_charset_info);
- field->sql_type(*tmp_str.get_str());
- tmp_str.mem_calc();
- str->append(tmp_str);
- if (field->has_charset())
- {
- CHARSET_INFO *cs = field->charset();
- uint coll_length = strlen(cs->name);
- if (str->reserve(SPIDER_SQL_COLLATE_LEN + coll_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COLLATE_STR, SPIDER_SQL_COLLATE_LEN);
- str->q_append(cs->name, coll_length);
- }
-
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
-
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_join_columns_for_bka(
- const key_range *start_key,
- spider_string *str,
- const char **table_aliases,
- uint *table_alias_lengths
-) {
- KEY *key_info = spider->result_list.key_info;
- uint length, key_name_length, key_count;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- char tmp_buf[MAX_FIELD_WIDTH];
- bool start_where = ((int) str->length() == where_pos);
- DBUG_ENTER("spider_mysql_handler::append_key_join_columns_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- if (start_where)
- {
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
-
- for (
- key_part = key_info->key_part,
- key_count = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- key_count++
- ) {
- field = key_part->field;
- key_name_length =
- mysql_share->column_name_str[field->field_index].length();
- length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
- if (str->reserve(length + table_alias_lengths[0] + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- table_alias_lengths[1] + SPIDER_SQL_PF_EQUAL_LEN + SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(table_aliases[0], table_alias_lengths[0]);
- str->q_append(tmp_buf, length);
- str->q_append(SPIDER_SQL_PF_EQUAL_STR, SPIDER_SQL_PF_EQUAL_LEN);
- str->q_append(table_aliases[1], table_alias_lengths[1]);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
- str->length(str->length() - SPIDER_SQL_AND_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_tmp_table_and_sql_for_bka(
- const key_range *start_key
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_tmp_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- char tmp_table_name[MAX_FIELD_WIDTH * 2],
- tgt_table_name[MAX_FIELD_WIDTH * 2];
- int tmp_table_name_length;
- spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
- mysql_share->db_names_str[0].charset());
- const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
- uint table_name_lengths[2], table_alias_lengths[2],
- table_dot_alias_lengths[2];
- tgt_table_name_str.init_calc_mem(99);
- tgt_table_name_str.length(0);
- create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
- first_link_idx);
- if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
- first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
- {
- DBUG_RETURN(error_num);
- }
- table_names[0] = tmp_table_name;
- table_names[1] = tgt_table_name_str.c_ptr_safe();
- table_name_lengths[0] = tmp_table_name_length;
- table_name_lengths[1] = tgt_table_name_str.length();
- table_aliases[0] = SPIDER_SQL_A_STR;
- table_aliases[1] = SPIDER_SQL_B_STR;
- table_alias_lengths[0] = SPIDER_SQL_A_LEN;
- table_alias_lengths[1] = SPIDER_SQL_B_LEN;
- table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
- table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
- table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
- table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
- if (
- (error_num = append_drop_tmp_bka_table(
- &tmp_sql, tmp_table_name, tmp_table_name_length,
- &tmp_sql_pos1, &tmp_sql_pos5, TRUE)) ||
- (error_num = append_create_tmp_bka_table(
- start_key,
- &tmp_sql, tmp_table_name,
- tmp_table_name_length,
- &tmp_sql_pos2, spider->share->table_share->table_charset)) ||
- (error_num = append_insert_tmp_bka_table(
- start_key,
- &tmp_sql, tmp_table_name,
- tmp_table_name_length, &tmp_sql_pos3))
- )
- DBUG_RETURN(error_num);
- tmp_sql_pos4 = tmp_sql.length();
- if ((error_num = spider_db_append_select(spider)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
- sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if (
- (error_num = append_select_columns_with_alias(&sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)) ||
- (error_num = spider_db_mysql_utility.append_from_with_alias(&sql,
- table_names, table_name_lengths,
- table_aliases, table_alias_lengths, 2,
- &table_name_pos, FALSE))
- )
- DBUG_RETURN(error_num);
- if (
- mysql_share->key_hint &&
- (error_num = spider_db_append_hint_after_table(spider,
- &sql, &mysql_share->key_hint[spider->active_index]))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- where_pos = sql.length();
- if (
- (error_num = append_key_join_columns_for_bka(
- start_key, &sql,
- table_dot_aliases, table_dot_alias_lengths)) ||
- (error_num = append_condition_part(
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
- SPIDER_SQL_TYPE_SELECT_SQL, FALSE)) ||
- (
- spider->result_list.direct_order_limit &&
- (error_num = append_key_order_for_direct_order_limit_with_alias(&sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN))
- )
- )
- DBUG_RETURN(error_num);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::reuse_tmp_table_and_sql_for_bka()
-{
- DBUG_ENTER("spider_mysql_handler::reuse_tmp_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_sql.length(tmp_sql_pos4);
- sql.length(limit_pos);
- ha_sql.length(ha_limit_pos);
- DBUG_RETURN(0);
-}
-
-void spider_mysql_handler::create_tmp_bka_table_name(
- char *tmp_table_name,
- int *tmp_table_name_length,
- int link_idx
-) {
- uint adjust_length =
- mysql_share->db_nm_max_length -
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].length() +
- mysql_share->table_nm_max_length -
- mysql_share->table_names_str[spider->conn_link_idx[link_idx]].length(),
- length;
- DBUG_ENTER("spider_mysql_handler::create_tmp_bka_table_name");
- *tmp_table_name_length = mysql_share->db_nm_max_length +
- mysql_share->table_nm_max_length;
- memset(tmp_table_name, ' ', adjust_length);
- tmp_table_name += adjust_length;
- memcpy(tmp_table_name, mysql_share->db_names_str[link_idx].c_ptr(),
- mysql_share->db_names_str[link_idx].length());
- tmp_table_name += mysql_share->db_names_str[link_idx].length();
- length = my_sprintf(tmp_table_name, (tmp_table_name,
- "%s%s%p%s", SPIDER_SQL_DOT_STR, SPIDER_SQL_TMP_BKA_STR, spider,
- SPIDER_SQL_UNDERSCORE_STR));
- *tmp_table_name_length += length;
- tmp_table_name += length;
- memcpy(tmp_table_name,
- mysql_share->table_names_str[spider->conn_link_idx[link_idx]].c_ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[link_idx]].length());
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_handler::append_create_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- CHARSET_INFO *table_charset
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- THD *thd = spider->trx->thd;
- char *bka_engine = spider_param_bka_engine(thd, share->bka_engine);
- uint bka_engine_length = strlen(bka_engine),
- cset_length = strlen(table_charset->csname),
- coll_length = strlen(table_charset->name);
- DBUG_ENTER("spider_mysql_handler::append_create_tmp_bka_table");
- if (str->reserve(SPIDER_SQL_CREATE_TMP_LEN + tmp_table_name_length +
- SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN + SPIDER_SQL_ID_TYPE_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CREATE_TMP_STR, SPIDER_SQL_CREATE_TMP_LEN);
- *db_name_pos = str->length();
- str->q_append(tmp_table_name, tmp_table_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- str->q_append(SPIDER_SQL_ID_TYPE_STR, SPIDER_SQL_ID_TYPE_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if ((error_num = append_key_column_types(start_key, str)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_ENGINE_LEN + bka_engine_length +
- SPIDER_SQL_DEF_CHARSET_LEN + cset_length + SPIDER_SQL_COLLATE_LEN +
- coll_length + SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ENGINE_STR, SPIDER_SQL_ENGINE_LEN);
- str->q_append(bka_engine, bka_engine_length);
- str->q_append(SPIDER_SQL_DEF_CHARSET_STR, SPIDER_SQL_DEF_CHARSET_LEN);
- str->q_append(table_charset->csname, cset_length);
- str->q_append(SPIDER_SQL_COLLATE_STR, SPIDER_SQL_COLLATE_LEN);
- str->q_append(table_charset->name, coll_length);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_drop_tmp_bka_table(
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- int *drop_table_end_pos,
- bool with_semicolon
-) {
- DBUG_ENTER("spider_mysql_handler::append_drop_tmp_bka_table");
- if (str->reserve(SPIDER_SQL_DROP_TMP_LEN + tmp_table_name_length +
- (with_semicolon ? SPIDER_SQL_SEMICOLON_LEN : 0)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_DROP_TMP_STR, SPIDER_SQL_DROP_TMP_LEN);
- *db_name_pos = str->length();
- str->q_append(tmp_table_name, tmp_table_name_length);
- *drop_table_end_pos = str->length();
- if (with_semicolon)
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_insert_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_insert_tmp_bka_table");
- if (str->reserve(SPIDER_SQL_INSERT_LEN + SPIDER_SQL_INTO_LEN +
- tmp_table_name_length + SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- *db_name_pos = str->length();
- str->q_append(tmp_table_name, tmp_table_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if ((error_num = spider_db_append_key_columns(start_key, spider, str)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_union_table_and_sql_for_bka(
- const key_range *start_key
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_union_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- char tgt_table_name[MAX_FIELD_WIDTH * 2];
- spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
- mysql_share->db_names_str[0].charset());
- const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
- uint table_name_lengths[2], table_alias_lengths[2],
- table_dot_alias_lengths[2];
- tgt_table_name_str.init_calc_mem(233);
- tgt_table_name_str.length(0);
- if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
- first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
- {
- DBUG_RETURN(error_num);
- }
- table_names[0] = "";
- table_names[1] = tgt_table_name_str.c_ptr_safe();
- table_name_lengths[0] = 0;
- table_name_lengths[1] = tgt_table_name_str.length();
- table_aliases[0] = SPIDER_SQL_A_STR;
- table_aliases[1] = SPIDER_SQL_B_STR;
- table_alias_lengths[0] = SPIDER_SQL_A_LEN;
- table_alias_lengths[1] = SPIDER_SQL_B_LEN;
- table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
- table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
- table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
- table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
-
- if ((error_num = spider_db_append_select(spider)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
- sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if ((error_num = append_select_columns_with_alias(&sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_FROM_LEN + (SPIDER_SQL_OPEN_PAREN_LEN * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- tmp_sql_pos1 = sql.length();
-
- if (
- (error_num = spider_db_mysql_utility.append_from_with_alias(&tmp_sql,
- table_names, table_name_lengths,
- table_aliases, table_alias_lengths, 2,
- &table_name_pos, FALSE))
- )
- DBUG_RETURN(error_num);
- if (
- mysql_share->key_hint &&
- (error_num = spider_db_append_hint_after_table(spider,
- &tmp_sql, &mysql_share->key_hint[spider->active_index]))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- where_pos = tmp_sql.length();
- if (
- (error_num = append_key_join_columns_for_bka(
- start_key, &tmp_sql,
- table_dot_aliases, table_dot_alias_lengths)) ||
- (error_num = append_condition_part(
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
- SPIDER_SQL_TYPE_TMP_SQL, FALSE)) ||
- (
- spider->result_list.direct_order_limit &&
- (error_num = append_key_order_for_direct_order_limit_with_alias(&tmp_sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN))
- )
- )
- DBUG_RETURN(error_num);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::reuse_union_table_and_sql_for_bka()
-{
- DBUG_ENTER("spider_mysql_handler::reuse_union_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.length(tmp_sql_pos1);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_insert_for_recovery(
- ulong sql_type,
- int link_idx
-) {
- const TABLE *table = spider->get_table();
- SPIDER_SHARE *share = spider->share;
- Field **field;
- uint field_name_length = 0;
- bool add_value = FALSE;
- spider_string *insert_sql;
- DBUG_ENTER("spider_mysql_handler::append_insert_for_recovery");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
- {
- insert_sql = &spider->result_list.insert_sqls[link_idx];
- insert_sql->length(0);
- } else {
- insert_sql = &spider->result_list.update_sqls[link_idx];
- }
- if (insert_sql->reserve(
- SPIDER_SQL_INSERT_LEN + SPIDER_SQL_SQL_IGNORE_LEN +
- SPIDER_SQL_INTO_LEN + mysql_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- insert_sql->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
- insert_sql->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- mysql_share->append_table_name(insert_sql, spider->conn_link_idx[link_idx]);
- insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- field_name_length =
- mysql_share->column_name_str[(*field)->field_index].length();
- if (insert_sql->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(insert_sql, (*field)->field_index);
- insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (field_name_length)
- insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
- if (insert_sql->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- add_value = TRUE;
- if ((*field)->is_null())
- {
- if (insert_sql->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (
- spider_db_mysql_utility.
- append_column_value(spider, insert_sql, *field, NULL,
- share->access_charset) ||
- insert_sql->reserve(SPIDER_SQL_COMMA_LEN)
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (add_value)
- insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
- if (insert_sql->reserve(SPIDER_SQL_CLOSE_PAREN_LEN, SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
- {
- exec_insert_sql = insert_sql;
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- int error_num;
- spider_string *str = &update_sql;
- DBUG_ENTER("spider_mysql_handler::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_update(str, 0)) ||
- (error_num = append_update_set(str)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.update_sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_update(str, link_idx)) ||
- (error_num = append_update_set(str)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
-
- if (
- spider->pk_update &&
- share->link_statuses[link_idx] == SPIDER_LINK_STATUS_RECOVERY
- ) {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- if ((error_num = append_insert_for_recovery(
- SPIDER_SQL_TYPE_UPDATE_SQL, link_idx)))
- DBUG_RETURN(error_num);
- }
-
- if (!filled_up)
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- int error_num;
- spider_string *str = &update_sql;
- DBUG_ENTER("spider_mysql_handler::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_delete(str)) ||
- (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL,
- first_link_idx)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
-) {
- int error_num;
- spider_string *str = &spider->result_list.update_sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_delete(str)) ||
- (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL, link_idx)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
- if (!filled_up)
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_insert_part()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_insert_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_insert(&insert_sql, 0);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_insert(
- spider_string *str,
- int link_idx
-) {
- SPIDER_SHARE *share = spider->share;
- DBUG_ENTER("spider_mysql_handler::append_insert");
- if (
- (
- spider->write_can_replace ||
- /* for direct_dup_insert without patch for partition */
- spider->sql_command == SQLCOM_REPLACE ||
- spider->sql_command == SQLCOM_REPLACE_SELECT
- ) &&
- spider->direct_dup_insert
- ) {
- if (str->reserve(SPIDER_SQL_REPLACE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_REPLACE_STR, SPIDER_SQL_REPLACE_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_INSERT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- }
- if (spider->low_priority)
- {
- if (str->reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
- }
- else if (spider->insert_delayed)
- {
- if (share->internal_delayed)
- {
- if (str->reserve(SPIDER_SQL_SQL_DELAYED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_DELAYED_STR, SPIDER_SQL_SQL_DELAYED_LEN);
- }
- }
- else if (
- spider->lock_type >= TL_WRITE &&
- !spider->write_can_replace &&
- /* for direct_dup_insert without patch for partition */
- spider->sql_command != SQLCOM_REPLACE &&
- spider->sql_command != SQLCOM_REPLACE_SELECT
- ) {
- if (str->reserve(SPIDER_SQL_HIGH_PRIORITY_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HIGH_PRIORITY_STR, SPIDER_SQL_HIGH_PRIORITY_LEN);
- }
- if (
- spider->ignore_dup_key &&
- spider->direct_dup_insert &&
- !spider->write_can_replace &&
- !spider->insert_with_update &&
- /* for direct_dup_insert without patch for partition */
- spider->sql_command != SQLCOM_REPLACE &&
- spider->sql_command != SQLCOM_REPLACE_SELECT
- ) {
- if (str->reserve(SPIDER_SQL_SQL_IGNORE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_update_part()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_update_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_update(&update_sql, 0);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_update(
- spider_string *str,
- int link_idx
-) {
- DBUG_ENTER("spider_mysql_handler::append_update");
- if (str->reserve(SPIDER_SQL_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_UPDATE_STR, SPIDER_SQL_UPDATE_LEN);
- if (spider->low_priority)
- {
- if (str->reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
- }
- if (
- spider->ignore_dup_key &&
- !spider->insert_with_update
- ) {
- if (str->reserve(SPIDER_SQL_SQL_IGNORE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
- }
- if (str->reserve(mysql_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- table_name_pos = str->length();
- append_table_name_with_adjusting(str, link_idx, SPIDER_SQL_TYPE_UPDATE_SQL);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_delete_part()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_delete_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_delete(&update_sql);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_delete(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_delete");
- if (str->reserve(SPIDER_SQL_DELETE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_DELETE_STR, SPIDER_SQL_DELETE_LEN);
- if (spider->low_priority)
- {
- if (str->reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
- }
- if (spider->quick_mode)
- {
- if (str->reserve(SPIDER_SQL_SQL_QUICK_MODE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_QUICK_MODE_STR,
- SPIDER_SQL_SQL_QUICK_MODE_LEN);
- }
- if (spider->ignore_dup_key)
- {
- if (str->reserve(SPIDER_SQL_SQL_IGNORE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
- }
- str->length(str->length() - 1);
- DBUG_RETURN(0);
-}
-
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
-int spider_mysql_handler::append_increment_update_set_part()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_increment_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_increment_update_set(&update_sql);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_increment_update_set(
- spider_string *str
-) {
- uint field_name_length;
- uint roop_count;
- Field *field;
- DBUG_ENTER("spider_mysql_handler::append_increment_update_set");
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- const SPIDER_HS_STRING_REF *value = hs_upds.ptr();
- for (roop_count = 0; roop_count < hs_upds.size();
- roop_count++)
- {
- if (
- value[roop_count].size() == 1 &&
- *(value[roop_count].begin()) == '0'
- )
- continue;
-
- Field *top_table_field =
- spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
- if (!(field = spider->field_exchange(top_table_field)))
- continue;
- field_name_length =
- mysql_share->column_name_str[field->field_index].length();
-
- if (str->reserve(field_name_length * 2 + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 4 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_HS_INCREMENT_LEN +
- SPIDER_SQL_COMMA_LEN + value[roop_count].size()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- mysql_share->append_column_name(str, field->field_index);
- if (spider->hs_increment)
- str->q_append(SPIDER_SQL_HS_INCREMENT_STR,
- SPIDER_SQL_HS_INCREMENT_LEN);
- else
- str->q_append(SPIDER_SQL_HS_DECREMENT_STR,
- SPIDER_SQL_HS_DECREMENT_LEN);
- str->q_append(value[roop_count].begin(), value[roop_count].size());
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-#endif
-#endif
-
-int spider_mysql_handler::append_update_set_part()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_update_set(&update_sql);
- where_pos = update_sql.length();
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_update_set(
- spider_string *str
-) {
- uint field_name_length;
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- Field **fields;
- DBUG_ENTER("spider_mysql_handler::append_update_set");
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- for (fields = table->field; *fields; fields++)
- {
- if (bitmap_is_set(table->write_set, (*fields)->field_index))
- {
- field_name_length =
- mysql_share->column_name_str[(*fields)->field_index].length();
- if ((*fields)->is_null())
- {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, (*fields)->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, (*fields)->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
-#ifndef DBUG_OFF
- my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
- table->read_set);
-#endif
- if (
- spider_db_mysql_utility.
- append_column_value(spider, str, *fields, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_COMMA_LEN)
- ) {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
-int spider_mysql_handler::append_direct_update_set_part()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_direct_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_direct_update_set(&update_sql);
- where_pos = update_sql.length();
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_direct_update_set(
- spider_string *str
-) {
- uint field_name_length;
- SPIDER_SHARE *share = spider->share;
-#ifndef DBUG_OFF
- TABLE *table = spider->get_table();
-#endif
- DBUG_ENTER("spider_mysql_handler::append_direct_update_set");
- if (
- spider->direct_update_kinds == SPIDER_SQL_KIND_SQL &&
- spider->direct_update_fields
- ) {
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- DBUG_RETURN(spider_db_append_update_columns(spider, str, NULL, 0,
- spider_dbton_mysql.dbton_id));
- }
-
- if (
- (spider->direct_update_kinds & SPIDER_SQL_KIND_SQL)
- ) {
- size_t roop_count;
- Field *field;
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- for (roop_count = 0; roop_count < spider->hs_pushed_ret_fields_num;
- roop_count++)
- {
- Field *top_table_field =
- spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
- if (!(field = spider->field_exchange(top_table_field)))
- continue;
- field_name_length =
- mysql_share->column_name_str[field->field_index].length();
- if (top_table_field->is_null())
- {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
-#ifndef DBUG_OFF
- my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
- table->read_set);
-#endif
- if (
- spider_db_mysql_utility.
- append_column_value(spider, str, top_table_field, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_COMMA_LEN)
- ) {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_dup_update_pushdown_part(
- const char *alias,
- uint alias_length
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_dup_update_pushdown_part");
- DBUG_PRINT("info",("spider this=%p", this));
- dup_update_sql.length(0);
- error_num = append_update_columns(&dup_update_sql, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_update_columns_part(
- const char *alias,
- uint alias_length
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_update_columns_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_update_columns(&update_sql, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::check_update_columns_part()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::check_update_columns_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_update_columns(NULL, NULL, 0);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_update_columns(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_update_columns");
- error_num = spider_db_append_update_columns(spider, str,
- alias, alias_length, spider_dbton_mysql.dbton_id);
- DBUG_RETURN(error_num);
-}
-#endif
-
-int spider_mysql_handler::append_select_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_select(str, sql_type);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_select(
- spider_string *str,
- ulong sql_type
-) {
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- DBUG_ENTER("spider_mysql_handler::append_select");
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- if (str->reserve(SPIDER_SQL_HANDLER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_SELECT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
- if (result_list->lock_type != F_WRLCK && spider->lock_mode < 1)
- {
- /* no lock */
- if (spider->share->query_cache == 1)
- {
- if (str->reserve(SPIDER_SQL_SQL_CACHE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_CACHE_STR, SPIDER_SQL_SQL_CACHE_LEN);
- } else if (spider->share->query_cache == 2)
- {
- if (str->reserve(SPIDER_SQL_SQL_NO_CACHE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_NO_CACHE_STR,
- SPIDER_SQL_SQL_NO_CACHE_LEN);
- }
- }
- if (spider->high_priority)
- {
- if (str->reserve(SPIDER_SQL_HIGH_PRIORITY_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HIGH_PRIORITY_STR,
- SPIDER_SQL_HIGH_PRIORITY_LEN);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_table_select_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_table_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_table_select(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_table_select(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_table_select");
- table_name_pos = str->length() + mysql_share->table_select_pos;
- if (str->append(*(mysql_share->table_select)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_select_part(
- ulong sql_type,
- uint idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_key_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_select(str, idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_select(
- spider_string *str,
- uint idx
-) {
- DBUG_ENTER("spider_mysql_handler::append_key_select");
- table_name_pos = str->length() + mysql_share->key_select_pos[idx];
- if (str->append(mysql_share->key_select[idx]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_minimum_select_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_minimum_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_minimum_select(str, sql_type);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_minimum_select(
- spider_string *str,
- ulong sql_type
-) {
- TABLE *table = spider->get_table();
- Field **field;
- int field_length;
- bool appended = FALSE;
- DBUG_ENTER("spider_mysql_handler::append_minimum_select");
- for (field = table->field; *field; field++)
- {
- if (minimum_select_bit_is_set((*field)->field_index))
- {
- field_length =
- mysql_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- appended = TRUE;
- }
- }
- if (appended)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- else {
- if (str->reserve(SPIDER_SQL_ONE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
- }
- DBUG_RETURN(append_from(str, sql_type, first_link_idx));
-}
-
-int spider_mysql_handler::append_table_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- TABLE *table = spider->get_table();
- Field **field;
- int field_length;
- DBUG_ENTER("spider_mysql_handler::append_table_select_with_alias");
- for (field = table->field; *field; field++)
- {
- field_length =
- mysql_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(alias_length + field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_select_with_alias(
- spider_string *str,
- const KEY *key_info,
- const char *alias,
- uint alias_length
-) {
- KEY_PART_INFO *key_part;
- Field *field;
- uint part_num;
- int field_length;
- DBUG_ENTER("spider_mysql_handler::append_key_select_with_alias");
- for (key_part = key_info->key_part, part_num = 0;
- part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
- {
- field = key_part->field;
- field_length = mysql_share->column_name_str[field->field_index].length();
- if (str->reserve(alias_length + field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_minimum_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- TABLE *table = spider->get_table();
- Field **field;
- int field_length;
- bool appended = FALSE;
- DBUG_ENTER("spider_mysql_handler::append_minimum_select_with_alias");
- for (field = table->field; *field; field++)
- {
- if (minimum_select_bit_is_set((*field)->field_index))
- {
- field_length =
- mysql_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(alias_length + field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- appended = TRUE;
- }
- }
- if (appended)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- else {
- if (str->reserve(SPIDER_SQL_ONE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_select_columns_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- DBUG_ENTER("spider_mysql_handler::append_select_columns_with_alias");
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (
- result_list->direct_aggregate &&
- (error_num = append_sum_select(str, alias, alias_length))
- )
- DBUG_RETURN(error_num);
-#endif
- if ((error_num = append_match_select(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- if (!spider->select_column_mode)
- {
- if (result_list->keyread)
- DBUG_RETURN(append_key_select_with_alias(
- str, result_list->key_info, alias, alias_length));
- else
- DBUG_RETURN(append_table_select_with_alias(
- str, alias, alias_length));
- }
- DBUG_RETURN(append_minimum_select_with_alias(str, alias, alias_length));
-}
-
-int spider_mysql_handler::append_hint_after_table_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_hint_after_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_hint_after_table(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_hint_after_table(
- spider_string *str
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_hint_after_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (
- mysql_share->key_hint &&
- (error_num = spider_db_append_hint_after_table(spider,
- str, &mysql_share->key_hint[spider->active_index]))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-void spider_mysql_handler::set_where_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::set_where_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- where_pos = sql.length();
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- where_pos = update_sql.length();
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_read_pos = ha_sql.length();
- break;
- default:
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_mysql_handler::set_where_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::set_where_to_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- sql.length(where_pos);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- update_sql.length(where_pos);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_sql.length(ha_read_pos);
- break;
- default:
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_handler::check_item_type(
- Item *item
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::check_item_type");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = spider_db_print_item_type(item, spider, NULL, NULL, 0,
- spider_dbton_mysql.dbton_id);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_values_connector_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_values_connector_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_values_connector(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_values_connector(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_values_connector");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
- SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_values_terminator_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_values_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_values_terminator(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_values_terminator(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_values_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(str->length() -
- SPIDER_SQL_COMMA_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_union_table_connector_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_union_table_connector_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_table_connector(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_union_table_connector(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_union_table_connector");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_union_table_terminator_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_union_table_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_table_terminator(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_union_table_terminator(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_union_table_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(str->length() -
- ((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN));
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- table_name_pos = str->length() + SPIDER_SQL_SPACE_LEN + SPIDER_SQL_A_LEN +
- SPIDER_SQL_COMMA_LEN;
- if (str->reserve(tmp_sql.length() - SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(tmp_sql.ptr() + SPIDER_SQL_FROM_LEN,
- tmp_sql.length() - SPIDER_SQL_FROM_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_column_values_part(
- const key_range *start_key,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_key_column_values_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_column_values(str, start_key);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_column_values(
- spider_string *str,
- const key_range *start_key
-) {
- int error_num;
- const uchar *ptr;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- SPIDER_SHARE *share = spider->share;
- KEY *key_info = result_list->key_info;
- uint length;
- uint store_length;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- DBUG_ENTER("spider_mysql_handler::append_key_column_values");
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- for (
- key_part = key_info->key_part,
- length = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- length += store_length
- ) {
- store_length = key_part->store_length;
- ptr = start_key->key + length;
- field = key_part->field;
- if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
- {
- if (error_num > 0)
- DBUG_RETURN(error_num);
- } else {
- if (spider_db_mysql_utility.append_column_value(spider, str, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_column_values_with_name_part(
- const key_range *start_key,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_key_column_values_with_name_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_column_values_with_name(str, start_key);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_column_values_with_name(
- spider_string *str,
- const key_range *start_key
-) {
- int error_num;
- const uchar *ptr;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- SPIDER_SHARE *share = spider->share;
- KEY *key_info = result_list->key_info;
- uint length;
- uint key_name_length, key_count;
- uint store_length;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- char tmp_buf[MAX_FIELD_WIDTH];
- DBUG_ENTER("spider_mysql_handler::append_key_column_values_with_name");
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- for (
- key_part = key_info->key_part,
- length = 0,
- key_count = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- length += store_length,
- key_count++
- ) {
- store_length = key_part->store_length;
- ptr = start_key->key + length;
- field = key_part->field;
- if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
- {
- if (error_num > 0)
- DBUG_RETURN(error_num);
- } else {
- if (spider_db_mysql_utility.append_column_value(spider, str, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
- if (str->reserve(SPIDER_SQL_SPACE_LEN + key_name_length +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(tmp_buf, key_name_length);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_where_part(
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type
-) {
- int error_num;
- spider_string *str, *str_part = NULL, *str_part2 = NULL;
- bool set_order;
- DBUG_ENTER("spider_mysql_handler::append_key_where_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- set_order = FALSE;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- set_order = FALSE;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- set_order = FALSE;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- ha_read_pos = str->length();
- str_part = &sql_part;
- str_part2 = &sql_part2;
- str_part->length(0);
- str_part2->length(0);
- set_order = TRUE;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_where(str, str_part, str_part2, start_key, end_key,
- sql_type, set_order);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_where(
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type,
- bool set_order
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_key_where");
- error_num = spider_db_append_key_where_internal(str, str_part, str_part2,
- start_key, end_key, spider, set_order, sql_type,
- spider_dbton_mysql.dbton_id);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_is_null_part(
- ulong sql_type,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
-) {
- int error_num;
- spider_string *str, *str_part = NULL, *str_part2 = NULL;
- DBUG_ENTER("spider_mysql_handler::append_is_null_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- str_part = &sql_part;
- str_part2 = &sql_part2;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_is_null(sql_type, str, str_part, str_part2,
- key_part, key, ptr, key_eq);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_is_null(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
-) {
- DBUG_ENTER("spider_mysql_handler::append_is_null");
- DBUG_PRINT("info",("spider this=%p", this));
- if (key_part->null_bit)
- {
- if (*(*ptr)++)
- {
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- str = str_part;
- if (
- key_eq ||
- key->flag == HA_READ_KEY_EXACT ||
- key->flag == HA_READ_KEY_OR_NEXT
- ) {
- if (str->reserve(SPIDER_SQL_IS_NULL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
- } else {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- ha_next_pos = str->length();
- if (str->reserve(SPIDER_SQL_FIRST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
- spider->result_list.ha_read_kind = 1;
- }
- str = str_part2;
- }
- if (
- key_eq ||
- key->flag == HA_READ_KEY_EXACT ||
- key->flag == HA_READ_KEY_OR_NEXT
- ) {
- if (str->reserve(SPIDER_SQL_IS_NULL_LEN +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- mysql_share->column_name_str[key_part->field->field_index].length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, key_part->field->field_index);
- str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_IS_NOT_NULL_LEN +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- mysql_share->column_name_str[key_part->field->field_index].length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, key_part->field->field_index);
- str->q_append(SPIDER_SQL_IS_NOT_NULL_STR, SPIDER_SQL_IS_NOT_NULL_LEN);
- }
- DBUG_RETURN(-1);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_where_terminator_part(
- ulong sql_type,
- bool set_order,
- int key_count
-) {
- int error_num;
- spider_string *str, *str_part = NULL, *str_part2 = NULL;
- DBUG_ENTER("spider_mysql_handler::append_where_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- str_part = &sql_part;
- str_part2 = &sql_part2;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_where_terminator(sql_type, str, str_part, str_part2,
- set_order, key_count);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_where_terminator(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- bool set_order,
- int key_count
-) {
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- DBUG_ENTER("spider_mysql_handler::append_where_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type != SPIDER_SQL_TYPE_HANDLER)
- {
- str->length(str->length() - SPIDER_SQL_AND_LEN);
- if (!set_order)
- result_list->key_order = key_count;
- } else {
- str_part2->length(str_part2->length() - SPIDER_SQL_AND_LEN);
-
- str_part->length(str_part->length() - SPIDER_SQL_COMMA_LEN);
- if (!result_list->ha_read_kind)
- str_part->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- if (str->append(*str_part))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- uint clause_length = str->length() - ha_next_pos;
- if (clause_length < SPIDER_SQL_NEXT_LEN)
- {
- int roop_count;
- clause_length = SPIDER_SQL_NEXT_LEN - clause_length;
- if (str->reserve(clause_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- for (roop_count = 0; roop_count < (int) clause_length; roop_count++)
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_match_where_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_match_where_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
- }
- error_num = append_match_where(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_match_where(
- spider_string *str
-) {
- int error_num;
- bool first = TRUE;
- st_spider_ft_info *ft_info = spider->ft_first;
- DBUG_ENTER("spider_mysql_handler::append_match_where");
- if (spider->ft_current)
- {
- while (TRUE)
- {
- if (ft_info->used_in_where)
- {
- if (first)
- {
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- first = FALSE;
- }
- if ((error_num = append_match_against(str, ft_info, NULL, 0)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
-
- if (ft_info == spider->ft_current)
- break;
- ft_info = ft_info->next;
- }
- if (!first)
- str->length(str->length() - SPIDER_SQL_AND_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_update_where(
- spider_string *str,
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- uint field_name_length;
- Field **field;
- SPIDER_SHARE *share = spider->share;
- DBUG_ENTER("spider_mysql_handler::append_update_where");
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- for (field = table->field; *field; field++)
- {
- if (
- table->s->primary_key == MAX_KEY ||
- bitmap_is_set(table->read_set, (*field)->field_index)
- ) {
- field_name_length =
- mysql_share->column_name_str[(*field)->field_index].length();
- if ((*field)->is_null(ptr_diff))
- {
- if (str->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_IS_NULL_LEN + SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
- } else {
- if (str->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- (*field)->move_field_offset(ptr_diff);
- if (
- spider_db_mysql_utility.
- append_column_value(spider, str, *field, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_AND_LEN)
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- (*field)->move_field_offset(-ptr_diff);
- }
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
- }
- str->length(str->length() - SPIDER_SQL_AND_LEN);
- if (str->reserve(SPIDER_SQL_LIMIT1_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LIMIT1_STR, SPIDER_SQL_LIMIT1_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_condition_part(
- const char *alias,
- uint alias_length,
- ulong sql_type,
- bool test_flg
-) {
- int error_num;
- spider_string *str;
- bool start_where = FALSE;
- DBUG_ENTER("spider_mysql_handler::append_condition_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &sql;
- start_where = ((int) str->length() == where_pos);
- }
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &tmp_sql;
- start_where = ((int) str->length() == where_pos);
- }
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &update_sql;
- start_where = ((int) str->length() == where_pos);
- }
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &ha_sql;
- start_where = TRUE;
- if (spider->active_index == MAX_KEY)
- {
- set_where_pos(SPIDER_SQL_TYPE_HANDLER);
- if (str->reserve(SPIDER_SQL_READ_LEN + SPIDER_SQL_FIRST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_READ_STR, SPIDER_SQL_READ_LEN);
- ha_next_pos = str->length();
- str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
- sql_part2.length(0);
- }
- ha_where_pos = str->length();
-
- if (sql_part2.length())
- {
- str->append(sql_part2);
- start_where = FALSE;
- }
- }
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_condition(str, alias, alias_length, start_where,
- sql_type);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_condition(
- spider_string *str,
- const char *alias,
- uint alias_length,
- bool start_where,
- ulong sql_type
-) {
- int error_num, restart_pos = 0, start_where_pos;
- SPIDER_CONDITION *tmp_cond = spider->condition;
- DBUG_ENTER("spider_mysql_handler::append_condition");
- if (str && start_where)
- {
- start_where_pos = str->length();
- } else {
- start_where_pos = 0;
- }
-
- if (spider->is_clone && !tmp_cond)
- {
- tmp_cond = spider->pt_clone_source_handler->condition;
- }
-
- while (tmp_cond)
- {
- if (str)
- {
- restart_pos = str->length();
- if (start_where)
- {
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- start_where = FALSE;
- } else {
- if (str->reserve(SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
- }
- if ((error_num = spider_db_print_item_type(
- (Item *) tmp_cond->cond, spider, str, alias, alias_length,
- spider_dbton_mysql.dbton_id)))
- {
- if (str && error_num == ER_SPIDER_COND_SKIP_NUM)
- {
- DBUG_PRINT("info",("spider COND skip"));
- str->length(restart_pos);
- start_where = (restart_pos == start_where_pos);
- } else
- DBUG_RETURN(error_num);
- }
- tmp_cond = tmp_cond->next;
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_match_against_part(
- ulong sql_type,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_match_against_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_match_against(str, ft_info, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_match_against(
- spider_string *str,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
-) {
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- String *ft_init_key;
- KEY *key_info;
- uint key_name_length;
- int key_count;
- KEY_PART_INFO *key_part;
- Field *field;
- DBUG_ENTER("spider_mysql_handler::append_match_against");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_MATCH_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
-
- ft_init_key = ft_info->key;
- key_info = &table->key_info[ft_info->inx];
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
-
- for (
- key_part = key_info->key_part,
- key_count = 0;
- key_count < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- key_count++
- ) {
- field = key_part->field;
- key_name_length =
- mysql_share->column_name_str[field->field_index].length();
- if (alias_length)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- } else {
- if (str->reserve(key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_AGAINST_LEN + SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
-
- char buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(buf, MAX_FIELD_WIDTH, share->access_charset);
- tmp_str.init_calc_mem(116);
- tmp_str.length(0);
- if (
- tmp_str.append(ft_init_key->ptr(), ft_init_key->length(),
- ft_init_key->charset()) ||
- str->reserve(tmp_str.length() * 2) ||
- spider_db_mysql_utility.append_escaped_util(str, tmp_str.get_str())
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->mem_calc();
-
- if (str->reserve(
- SPIDER_SQL_VALUE_QUOTE_LEN + SPIDER_SQL_CLOSE_PAREN_LEN +
- ((ft_info->flags & FT_BOOL) ? SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
- ((ft_info->flags & FT_EXPAND) ?
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
- ))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if (ft_info->flags & FT_BOOL)
- str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
- if (ft_info->flags & FT_EXPAND)
- str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_match_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_match_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_match_select(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_match_select(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_match_select");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider->ft_current)
- {
- st_spider_ft_info *ft_info = spider->ft_first;
- while (TRUE)
- {
- if ((error_num = append_match_against(str, ft_info,
- alias, alias_length)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if (ft_info == spider->ft_current)
- break;
- ft_info = ft_info->next;
- }
- }
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_mysql_handler::append_sum_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_sum_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_sum_select(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_sum_select(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- st_select_lex *select_lex;
- DBUG_ENTER("spider_mysql_handler::append_sum_select");
- DBUG_PRINT("info",("spider this=%p", this));
- select_lex = spider_get_select_lex(spider);
- JOIN *join = select_lex->join;
- Item_sum **item_sum_ptr;
- for (item_sum_ptr = join->sum_funcs; *item_sum_ptr; ++item_sum_ptr)
- {
- if ((error_num = spider_db_mysql_utility.open_item_sum_func(*item_sum_ptr,
- spider, str, alias, alias_length)))
- {
- DBUG_RETURN(error_num);
- }
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-void spider_mysql_handler::set_order_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::set_order_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- order_pos = sql.length();
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- order_pos = update_sql.length();
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_next_pos = ha_sql.length();
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_mysql_handler::set_order_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::set_order_to_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- sql.length(order_pos);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- update_sql.length(order_pos);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_sql.length(ha_next_pos);
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_mysql_handler::append_group_by(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- st_select_lex *select_lex;
- DBUG_ENTER("spider_mysql_handler::append_group_by");
- DBUG_PRINT("info",("spider this=%p", this));
- select_lex = spider_get_select_lex(spider);
- ORDER *group = (ORDER *) select_lex->group_list.first;
- if (group)
- {
- if (str->reserve(SPIDER_SQL_GROUP_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
- for (; group; group = group->next)
- {
- if ((error_num = spider_db_print_item_type((*group->item), spider, str,
- alias, alias_length, spider_dbton_mysql.dbton_id)))
- {
- DBUG_RETURN(error_num);
- }
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-int spider_mysql_handler::append_key_order_for_merge_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_key_order_for_merge_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- ha_limit_pos = ha_sql.length();
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_order_for_merge_with_alias(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_order_for_merge_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- /* sort for index merge */
- TABLE *table = spider->get_table();
- int length;
- Field *field;
- uint key_name_length;
- DBUG_ENTER("spider_mysql_handler::append_key_order_for_merge_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (spider->result_list.direct_aggregate)
- {
- int error_num;
- if ((error_num = append_group_by(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- }
-#endif
- if (table->s->primary_key < MAX_KEY)
- {
- /* sort by primary key */
- KEY *key_info = &table->key_info[table->s->primary_key];
- KEY_PART_INFO *key_part;
- for (
- key_part = key_info->key_part,
- length = 1;
- length <= (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- mysql_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (length > 1)
- {
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- } else {
- /* sort by all columns */
- Field **fieldp;
- for (
- fieldp = table->field, length = 1;
- *fieldp;
- fieldp++, length++
- ) {
- key_name_length =
- mysql_share->column_name_str[(*fieldp)->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, (*fieldp)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (length > 1)
- {
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- }
- limit_pos = str->length();
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_order_for_direct_order_limit_with_alias(
- str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- ORDER *order;
- st_select_lex *select_lex;
- longlong select_limit;
- longlong offset_limit;
- DBUG_ENTER("spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (spider->result_list.direct_aggregate)
- {
- if ((error_num = append_group_by(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- }
-#endif
- spider_get_select_limit(spider, &select_lex, &select_limit,
- &offset_limit);
- if (select_lex->order_list.first)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- for (order = (ORDER *) select_lex->order_list.first; order;
- order = order->next)
- {
- if ((error_num =
- spider_db_print_item_type((*order->item), spider, str, alias,
- alias_length, spider_dbton_mysql.dbton_id)))
- {
- DBUG_PRINT("info",("spider error=%d", error_num));
- DBUG_RETURN(error_num);
- }
- if (order->asc)
- {
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- limit_pos = str->length();
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_order_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_key_order_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- error_num = append_key_order_for_handler(str, alias, alias_length);
- DBUG_RETURN(error_num);
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_order_with_alias(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_key_order_for_handler(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_mysql_handler::append_key_order_for_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider ha_next_pos=%d", ha_next_pos));
- DBUG_PRINT("info",("spider ha_where_pos=%d", ha_where_pos));
- str->q_append(alias, alias_length);
- memset((char *) str->ptr() + str->length(), ' ',
- ha_where_pos - ha_next_pos - alias_length);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_key_order_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- KEY *key_info = result_list->key_info;
- int length;
- KEY_PART_INFO *key_part;
- Field *field;
- uint key_name_length;
- DBUG_ENTER("spider_mysql_handler::append_key_order_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (spider->result_list.direct_aggregate)
- {
- int error_num;
- if ((error_num = append_group_by(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- }
-#endif
- if (result_list->sorted == TRUE)
- {
- if (result_list->desc_flg == TRUE)
- {
- for (
- key_part = key_info->key_part + result_list->key_order,
- length = 1;
- length + result_list->key_order <
- (int) spider_user_defined_key_parts(key_info) &&
- length < result_list->max_order;
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- mysql_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if (
- length + result_list->key_order <=
- (int) spider_user_defined_key_parts(key_info) &&
- length <= result_list->max_order
- ) {
- field = key_part->field;
- key_name_length =
- mysql_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- }
- }
- } else {
- for (
- key_part = key_info->key_part + result_list->key_order,
- length = 1;
- length + result_list->key_order <
- (int) spider_user_defined_key_parts(key_info) &&
- length < result_list->max_order;
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- mysql_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if (
- length + result_list->key_order <=
- (int) spider_user_defined_key_parts(key_info) &&
- length <= result_list->max_order
- ) {
- field = key_part->field;
- key_name_length =
- mysql_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- mysql_share->append_column_name(str, field->field_index);
- }
- }
- }
- }
- limit_pos = str->length();
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_limit_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- limit_pos = str->length();
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- limit_pos = str->length();
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- limit_pos = str->length();
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- ha_limit_pos = str->length();
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_limit(str, offset, limit);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::reappend_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::reappend_limit_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- str->length(limit_pos);
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- str->length(limit_pos);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- str->length(limit_pos);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- str->length(ha_limit_pos);
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_limit(str, offset, limit);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_limit(
- spider_string *str,
- longlong offset,
- longlong limit
-) {
- char buf[SPIDER_LONGLONG_LEN + 1];
- uint32 length;
- DBUG_ENTER("spider_mysql_handler::append_limit");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info", ("spider offset=%lld", offset));
- DBUG_PRINT("info", ("spider limit=%lld", limit));
- if (offset || limit < 9223372036854775807LL)
- {
- if (str->reserve(SPIDER_SQL_LIMIT_LEN + SPIDER_SQL_COMMA_LEN +
- ((SPIDER_LONGLONG_LEN) * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LIMIT_STR, SPIDER_SQL_LIMIT_LEN);
- if (offset)
- {
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset);
- str->q_append(buf, length);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
- str->q_append(buf, length);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_select_lock_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_select_lock_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_select_lock(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_select_lock(
- spider_string *str
-) {
- int lock_mode = spider_conn_lock_mode(spider);
- DBUG_ENTER("spider_mysql_handler::append_select_lock");
- DBUG_PRINT("info",("spider this=%p", this));
- if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
- {
- if (str->reserve(SPIDER_SQL_FOR_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
- } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
- {
- if (str->reserve(SPIDER_SQL_SHARED_LOCK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SHARED_LOCK_STR, SPIDER_SQL_SHARED_LOCK_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_union_all_start_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_union_all_start_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_all_start(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_union_all_start(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_union_all_start");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_union_all_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_union_all_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_all(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_union_all(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_union_all");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_UNION_ALL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_union_all_end_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_union_all_end_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_all_end(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_union_all_end(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_union_all_end");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(str->length() -
- SPIDER_SQL_UNION_ALL_LEN + SPIDER_SQL_CLOSE_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_multi_range_cnt_part(
- ulong sql_type,
- uint multi_range_cnt,
- bool with_comma
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_multi_range_cnt(str, multi_range_cnt, with_comma);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_multi_range_cnt(
- spider_string *str,
- uint multi_range_cnt,
- bool with_comma
-) {
- int range_cnt_length;
- char range_cnt_str[SPIDER_SQL_INT_LEN];
- DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt");
- DBUG_PRINT("info",("spider this=%p", this));
- range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
- multi_range_cnt));
- if (with_comma)
- {
- if (str->reserve(range_cnt_length + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(range_cnt_str, range_cnt_length);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(range_cnt_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(range_cnt_str, range_cnt_length);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_multi_range_cnt_with_name_part(
- ulong sql_type,
- uint multi_range_cnt
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt_with_name_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_multi_range_cnt_with_name(str, multi_range_cnt);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_multi_range_cnt_with_name(
- spider_string *str,
- uint multi_range_cnt
-) {
- int range_cnt_length;
- char range_cnt_str[SPIDER_SQL_INT_LEN];
- DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt_with_name");
- DBUG_PRINT("info",("spider this=%p", this));
- range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
- multi_range_cnt));
- if (str->reserve(range_cnt_length + SPIDER_SQL_SPACE_LEN +
- SPIDER_SQL_ID_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(range_cnt_str, range_cnt_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_open_handler_part(
- ulong sql_type,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_open_handler_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_open_handler(str, handler_id, conn, link_idx);
- exec_ha_sql = str;
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_open_handler(
- spider_string *str,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_open_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider link_idx=%d", link_idx));
- DBUG_PRINT("info",("spider m_handler_cid=%s",
- spider->m_handler_cid[link_idx]));
- if (str->reserve(SPIDER_SQL_HANDLER_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
- if ((error_num = mysql_share->append_table_name(str,
- spider->conn_link_idx[link_idx])))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_OPEN_LEN + SPIDER_SQL_AS_LEN +
- SPIDER_SQL_HANDLER_CID_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_OPEN_STR, SPIDER_SQL_OPEN_LEN);
- str->q_append(SPIDER_SQL_AS_STR, SPIDER_SQL_AS_LEN);
- str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_close_handler_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_close_handler_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_close_handler(str, link_idx);
- exec_ha_sql = str;
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_close_handler(
- spider_string *str,
- int link_idx
-) {
- DBUG_ENTER("spider_mysql_handler::append_close_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_HANDLER_LEN + SPIDER_SQL_CLOSE_LEN +
- SPIDER_SQL_HANDLER_CID_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
- str->q_append(spider->m_handler_cid[link_idx],
- SPIDER_SQL_HANDLER_CID_LEN);
- str->q_append(SPIDER_SQL_CLOSE_STR, SPIDER_SQL_CLOSE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_insert_terminator_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_insert_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- str = &insert_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_insert_terminator(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_insert_terminator(
- spider_string *str
-) {
- DBUG_ENTER("spider_mysql_handler::append_insert_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider->result_list.insert_dup_update_pushdown)
- {
- DBUG_PRINT("info",("spider add duplicate key update"));
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN +
- dup_update_sql.length()))
- {
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_DUPLICATE_KEY_UPDATE_STR,
- SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN);
- if (str->append(dup_update_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- } else {
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_insert_values_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_insert_values_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- str = &insert_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_insert_values(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_insert_values(
- spider_string *str
-) {
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- Field **field;
- bool add_value = FALSE;
- DBUG_ENTER("spider_mysql_handler::append_insert_values");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- {
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- DBUG_PRINT("info",("spider field_index=%u", (*field)->field_index));
- if (
- bitmap_is_set(table->write_set, (*field)->field_index) ||
- bitmap_is_set(table->read_set, (*field)->field_index)
- ) {
-#ifndef DBUG_OFF
- my_bitmap_map *tmp_map =
- dbug_tmp_use_all_columns(table, table->read_set);
-#endif
- add_value = TRUE;
- DBUG_PRINT("info",("spider is_null()=%s",
- (*field)->is_null() ? "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider table->next_number_field=%p",
- table->next_number_field));
- DBUG_PRINT("info",("spider *field=%p", *field));
- DBUG_PRINT("info",("spider force_auto_increment=%s",
- (table->next_number_field && spider->force_auto_increment) ?
- "TRUE" : "FALSE"));
- if (
- (*field)->is_null() ||
- (
- table->next_number_field == *field &&
- !table->auto_increment_field_not_null &&
- !spider->force_auto_increment
- )
- ) {
- if (str->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
- {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (
- spider_db_mysql_utility.
- append_column_value(spider, str, *field, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_COMMA_LEN)
- ) {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- }
- }
- if (add_value)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
- {
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_into_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_into_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- str = &insert_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_into(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_into(
- spider_string *str
-) {
- const TABLE *table = spider->get_table();
- Field **field;
- uint field_name_length = 0;
- DBUG_ENTER("spider_mysql_handler::append_into");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_INTO_LEN + mysql_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- insert_table_name_pos = str->length();
- append_table_name_with_adjusting(str, first_link_idx,
- SPIDER_SQL_TYPE_INSERT_SQL);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- if (
- bitmap_is_set(table->write_set, (*field)->field_index) ||
- bitmap_is_set(table->read_set, (*field)->field_index)
- ) {
- field_name_length =
- mysql_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- mysql_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if (field_name_length)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_VALUES_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- insert_pos = str->length();
- DBUG_RETURN(0);
-}
-
-void spider_mysql_handler::set_insert_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::set_insert_to_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- insert_sql.length(insert_pos);
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_handler::append_from_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_from_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- default:
- str = &sql;
- break;
- }
- error_num = append_from(str, sql_type, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_from(
- spider_string *str,
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_mysql_handler::append_from");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider link_idx=%d", link_idx));
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- ha_table_name_pos = str->length();
- DBUG_PRINT("info",("spider ha_table_name_pos=%u", ha_table_name_pos));
- ha_sql_handler_id = spider->m_handler_id[link_idx];
- DBUG_PRINT("info",("spider ha_sql_handler_id=%u", ha_sql_handler_id));
- if (str->reserve(SPIDER_SQL_HANDLER_CID_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
- DBUG_PRINT("info",("spider m_handler_cid=%s",
- spider->m_handler_cid[link_idx]));
- } else {
- if (str->reserve(SPIDER_SQL_FROM_LEN + mysql_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- table_name_pos = str->length();
- append_table_name_with_adjusting(str, link_idx, sql_type);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_flush_tables_part(
- ulong sql_type,
- int link_idx,
- bool lock
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_flush_tables_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_flush_tables(str, link_idx, lock);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_flush_tables(
- spider_string *str,
- int link_idx,
- bool lock
-) {
- DBUG_ENTER("spider_mysql_handler::append_flush_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- if (lock)
- {
- if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN +
- SPIDER_SQL_WITH_READ_LOCK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
- str->q_append(SPIDER_SQL_WITH_READ_LOCK_STR,
- SPIDER_SQL_WITH_READ_LOCK_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_optimize_table_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_optimize_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_optimize_table(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_optimize_table(
- spider_string *str,
- int link_idx
-) {
- SPIDER_SHARE *share = spider->share;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- int local_length = spider_param_internal_optimize_local(spider->trx->thd,
- share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
- DBUG_ENTER("spider_mysql_handler::append_optimize_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_OPTIMIZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
- local_length +
- mysql_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- mysql_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_OPTIMIZE_STR, SPIDER_SQL_SQL_OPTIMIZE_LEN);
- if (local_length)
- str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
- str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
- mysql_share->append_table_name(str, conn_link_idx);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_analyze_table_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_analyze_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_analyze_table(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_analyze_table(
- spider_string *str,
- int link_idx
-) {
- SPIDER_SHARE *share = spider->share;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- int local_length = spider_param_internal_optimize_local(spider->trx->thd,
- share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
- DBUG_ENTER("spider_mysql_handler::append_analyze_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_ANALYZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
- local_length +
- mysql_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- mysql_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_ANALYZE_STR, SPIDER_SQL_SQL_ANALYZE_LEN);
- if (local_length)
- str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
- str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
- mysql_share->append_table_name(str, conn_link_idx);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_repair_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_repair_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_repair_table(str, link_idx, check_opt);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_repair_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- SPIDER_SHARE *share = spider->share;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- int local_length = spider_param_internal_optimize_local(spider->trx->thd,
- share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
- DBUG_ENTER("spider_mysql_handler::append_repair_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_REPAIR_LEN + SPIDER_SQL_SQL_TABLE_LEN +
- local_length +
- mysql_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- mysql_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_REPAIR_STR, SPIDER_SQL_SQL_REPAIR_LEN);
- if (local_length)
- str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
- str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
- mysql_share->append_table_name(str, conn_link_idx);
- if (check_opt->flags & T_QUICK)
- {
- if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
- }
- if (check_opt->flags & T_EXTEND)
- {
- if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
- }
- if (check_opt->sql_flags & TT_USEFRM)
- {
- if (str->reserve(SPIDER_SQL_SQL_USE_FRM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_USE_FRM_STR, SPIDER_SQL_SQL_USE_FRM_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_check_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_check_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_check_table(str, link_idx, check_opt);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_check_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int conn_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_mysql_handler::append_check_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_CHECK_TABLE_LEN +
- mysql_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- mysql_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_CHECK_TABLE_STR,
- SPIDER_SQL_SQL_CHECK_TABLE_LEN);
- mysql_share->append_table_name(str, conn_link_idx);
- if (check_opt->flags & T_QUICK)
- {
- if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
- }
- if (check_opt->flags & T_FAST)
- {
- if (str->reserve(SPIDER_SQL_SQL_FAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_FAST_STR, SPIDER_SQL_SQL_FAST_LEN);
- }
- if (check_opt->flags & T_MEDIUM)
- {
- if (str->reserve(SPIDER_SQL_SQL_MEDIUM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_MEDIUM_STR, SPIDER_SQL_SQL_MEDIUM_LEN);
- }
- if (check_opt->flags & T_EXTEND)
- {
- if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_enable_keys_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_enable_keys_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_enable_keys(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_enable_keys(
- spider_string *str,
- int link_idx
-) {
- int conn_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_mysql_handler::append_enable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
- mysql_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- mysql_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_ENABLE_KEYS_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
- SPIDER_SQL_SQL_ALTER_TABLE_LEN);
- mysql_share->append_table_name(str, conn_link_idx);
- str->q_append(SPIDER_SQL_SQL_ENABLE_KEYS_STR,
- SPIDER_SQL_SQL_ENABLE_KEYS_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_disable_keys_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_disable_keys_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_disable_keys(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_disable_keys(
- spider_string *str,
- int link_idx
-) {
- int conn_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_mysql_handler::append_disable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
- mysql_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- mysql_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_DISABLE_KEYS_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
- SPIDER_SQL_SQL_ALTER_TABLE_LEN);
- mysql_share->append_table_name(str, conn_link_idx);
- str->q_append(SPIDER_SQL_SQL_DISABLE_KEYS_STR,
- SPIDER_SQL_SQL_DISABLE_KEYS_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_delete_all_rows_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_delete_all_rows_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_DELETE_SQL:
- str = &update_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_delete_all_rows(str, sql_type);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_delete_all_rows(
- spider_string *str,
- ulong sql_type
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_delete_all_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider->sql_command == SQLCOM_TRUNCATE)
- {
- if ((error_num = append_truncate(str, sql_type, first_link_idx)))
- DBUG_RETURN(error_num);
- } else {
- if (
- (error_num = append_delete(str)) ||
- (error_num = append_from(str, sql_type, first_link_idx))
- )
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_truncate(
- spider_string *str,
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_mysql_handler::append_truncate");
- if (str->reserve(SPIDER_SQL_TRUNCATE_TABLE_LEN +
- mysql_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_TRUNCATE_TABLE_STR, SPIDER_SQL_TRUNCATE_TABLE_LEN);
- table_name_pos = str->length();
- append_table_name_with_adjusting(str, link_idx, sql_type);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_explain_select_part(
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_mysql_handler::append_explain_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num =
- append_explain_select(str, start_key, end_key, sql_type, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::append_explain_select(
- spider_string *str,
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::append_explain_select");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_EXPLAIN_SELECT_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_EXPLAIN_SELECT_STR, SPIDER_SQL_EXPLAIN_SELECT_LEN);
- if (
- (error_num = append_from(str, sql_type, link_idx)) ||
- (error_num = append_key_where(str, NULL, NULL, start_key, end_key,
- sql_type, FALSE))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_mysql_handler::is_bulk_insert_exec_period(
- bool bulk_end
-) {
- DBUG_ENTER("spider_mysql_handler::is_bulk_insert_exec_period");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider insert_sql.length=%u", insert_sql.length()));
- DBUG_PRINT("info",("spider insert_pos=%d", insert_pos));
- DBUG_PRINT("info",("spider insert_sql=%s", insert_sql.c_ptr_safe()));
- if (
- (bulk_end || (int) insert_sql.length() >= spider->bulk_size) &&
- (int) insert_sql.length() > insert_pos
- ) {
- DBUG_RETURN(TRUE);
- }
- DBUG_RETURN(FALSE);
-}
-
-bool spider_mysql_handler::sql_is_filled_up(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::sql_is_filled_up");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(filled_up);
-}
-
-bool spider_mysql_handler::sql_is_empty(
- ulong sql_type
-) {
- bool is_empty;
- DBUG_ENTER("spider_mysql_handler::sql_is_empty");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- is_empty = (sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- is_empty = (insert_sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- is_empty = (update_sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- is_empty = (tmp_sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- is_empty = (ha_sql.length() == 0);
- break;
- default:
- is_empty = TRUE;
- break;
- }
- DBUG_RETURN(is_empty);
-}
-
-bool spider_mysql_handler::support_multi_split_read()
-{
- DBUG_ENTER("spider_mysql_handler::support_multi_split_read");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-bool spider_mysql_handler::support_bulk_update()
-{
- DBUG_ENTER("spider_mysql_handler::support_bulk_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_mysql_handler::bulk_tmp_table_insert()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = store_sql_to_bulk_tmp_table(&update_sql, upd_tmp_tbl);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::bulk_tmp_table_insert(
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = store_sql_to_bulk_tmp_table(
- &spider->result_list.update_sqls[link_idx],
- spider->result_list.upd_tmp_tbls[link_idx]);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::bulk_tmp_table_end_bulk_insert()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_end_bulk_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = upd_tmp_tbl->file->ha_end_bulk_insert()))
- {
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::bulk_tmp_table_rnd_init()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_rnd_init");
- DBUG_PRINT("info",("spider this=%p", this));
- upd_tmp_tbl->file->extra(HA_EXTRA_CACHE);
- if ((error_num = upd_tmp_tbl->file->ha_rnd_init(TRUE)))
- {
- DBUG_RETURN(error_num);
- }
- reading_from_bulk_tmp_table = TRUE;
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::bulk_tmp_table_rnd_next()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_rnd_next");
- DBUG_PRINT("info",("spider this=%p", this));
-#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50200
- error_num = upd_tmp_tbl->file->ha_rnd_next(upd_tmp_tbl->record[0]);
-#else
- error_num = upd_tmp_tbl->file->rnd_next(upd_tmp_tbl->record[0]);
-#endif
- if (!error_num)
- {
- error_num = restore_sql_from_bulk_tmp_table(&insert_sql, upd_tmp_tbl);
- }
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_handler::bulk_tmp_table_rnd_end()
-{
- int error_num;
- DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_rnd_end");
- DBUG_PRINT("info",("spider this=%p", this));
- reading_from_bulk_tmp_table = FALSE;
- if ((error_num = upd_tmp_tbl->file->ha_rnd_end()))
- {
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_mysql_handler::need_copy_for_update(
- int link_idx
-) {
- int all_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_mysql_handler::need_copy_for_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(!mysql_share->same_db_table_name ||
- spider->share->link_statuses[all_link_idx] == SPIDER_LINK_STATUS_RECOVERY);
-}
-
-bool spider_mysql_handler::bulk_tmp_table_created()
-{
- DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_created");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(upd_tmp_tbl);
-}
-
-int spider_mysql_handler::mk_bulk_tmp_table_and_bulk_start()
-{
- THD *thd = spider->trx->thd;
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_mysql_handler::mk_bulk_tmp_table_and_bulk_start");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!upd_tmp_tbl)
- {
- if (!(upd_tmp_tbl = spider_mk_sys_tmp_table(
- thd, table, &upd_tmp_tbl_prm, "a", update_sql.charset())))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- upd_tmp_tbl->file->extra(HA_EXTRA_WRITE_CACHE);
- upd_tmp_tbl->file->ha_start_bulk_insert((ha_rows) 0);
- }
- DBUG_RETURN(0);
-}
-
-void spider_mysql_handler::rm_bulk_tmp_table()
-{
- DBUG_ENTER("spider_mysql_handler::rm_bulk_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (upd_tmp_tbl)
- {
- spider_rm_sys_tmp_table(spider->trx->thd, upd_tmp_tbl, &upd_tmp_tbl_prm);
- upd_tmp_tbl = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_handler::store_sql_to_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::store_sql_to_bulk_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_table->field[0]->set_notnull();
- tmp_table->field[0]->store(str->ptr(), str->length(), str->charset());
- if ((error_num = tmp_table->file->ha_write_row(tmp_table->record[0])))
- DBUG_RETURN(error_num);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::restore_sql_from_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
-) {
- DBUG_ENTER("spider_mysql_handler::restore_sql_from_bulk_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_table->field[0]->val_str(str->get_str());
- str->mem_calc();
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::insert_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash2 = &link_for_hash[link_idx];
- DBUG_ENTER("spider_mysql_handler::insert_lock_tables_list");
- DBUG_PRINT("info",("spider this=%p", this));
- uint old_elements =
- db_conn->lock_table_hash.array.max_element;
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- if (my_hash_insert_with_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash2->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash2))
-#else
- if (my_hash_insert(&db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash2))
-#endif
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (db_conn->lock_table_hash.array.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- db_conn->lock_table_hash,
- (db_conn->lock_table_hash.array.max_element - old_elements) *
- db_conn->lock_table_hash.array.size_of_element);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::append_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx,
- int *appended
-) {
- int error_num;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash, *tmp_link_for_hash2;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
- DBUG_ENTER("spider_mysql_handler::append_lock_tables_list");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_link_for_hash2 = &link_for_hash[link_idx];
- tmp_link_for_hash2->db_table_str =
- &mysql_share->db_table_str[conn_link_idx];
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- tmp_link_for_hash2->db_table_str_hash_value =
- mysql_share->db_table_str_hash_value[conn_link_idx];
- if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *)
- my_hash_search_using_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash2->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
- tmp_link_for_hash2->db_table_str->length())))
-#else
- if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *) my_hash_search(
- &db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
- tmp_link_for_hash2->db_table_str->length())))
-#endif
- {
- if ((error_num = insert_lock_tables_list(conn, link_idx)))
- DBUG_RETURN(error_num);
- *appended = 1;
- } else {
- if (tmp_link_for_hash->spider->lock_type < spider->lock_type)
- {
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- my_hash_delete_with_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash);
-#else
- my_hash_delete(&db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash);
-#endif
- uint old_elements =
- db_conn->lock_table_hash.array.max_element;
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- if (my_hash_insert_with_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash2->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash2))
-#else
- if (my_hash_insert(&db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash2))
-#endif
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (db_conn->lock_table_hash.array.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- db_conn->lock_table_hash,
- (db_conn->lock_table_hash.array.max_element - old_elements) *
- db_conn->lock_table_hash.array.size_of_element);
- }
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::realloc_sql(
- ulong *realloced
-) {
- THD *thd = spider->trx->thd;
- st_spider_share *share = spider->share;
- int init_sql_alloc_size =
- spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
- DBUG_ENTER("spider_mysql_handler::realloc_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((int) sql.alloced_length() > init_sql_alloc_size * 2)
- {
- sql.free();
- if (sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
- }
- if ((int) ha_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- ha_sql.free();
- if (ha_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
- }
- if ((int) dup_update_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- dup_update_sql.free();
- if (dup_update_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if ((int) insert_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- insert_sql.free();
- if (insert_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_INSERT_SQL;
- }
- if ((int) update_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- update_sql.free();
- if (update_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL);
- }
- update_sql.length(0);
- if ((int) tmp_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- tmp_sql.free();
- if (tmp_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_TMP_SQL;
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::reset_sql(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::reset_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
- {
- sql.length(0);
- }
- if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
- {
- insert_sql.length(0);
- }
- if (sql_type & (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL |
- SPIDER_SQL_TYPE_BULK_UPDATE_SQL))
- {
- update_sql.length(0);
- }
- if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
- {
- tmp_sql.length(0);
- }
- if (sql_type & SPIDER_SQL_TYPE_HANDLER)
- {
- ha_sql.length(0);
- }
- DBUG_RETURN(0);
-}
-
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-int spider_mysql_handler::reset_keys(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::reset_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::reset_upds(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::reset_upds");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_upds.clear();
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::reset_strs(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::reset_strs");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::reset_strs_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::reset_strs_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::push_back_upds(
- SPIDER_HS_STRING_REF &info
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_handler::push_back_upds");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = hs_upds.push_back(info);
- DBUG_RETURN(error_num);
-}
-#endif
-
-bool spider_mysql_handler::need_lock_before_set_sql_for_exec(
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::need_lock_before_set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_mysql_handler::set_sql_for_exec(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- uint tmp_pos;
- SPIDER_SHARE *share = spider->share;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- int all_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_mysql_handler::set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & (SPIDER_SQL_TYPE_SELECT_SQL | SPIDER_SQL_TYPE_TMP_SQL))
- {
- if (mysql_share->same_db_table_name || link_idx == first_link_idx)
- {
- if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
- exec_sql = &sql;
- if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
- exec_tmp_sql = &tmp_sql;
- } else {
- char tmp_table_name[MAX_FIELD_WIDTH * 2],
- tgt_table_name[MAX_FIELD_WIDTH * 2];
- int tmp_table_name_length;
- spider_string tgt_table_name_str(tgt_table_name,
- MAX_FIELD_WIDTH * 2,
- mysql_share->db_names_str[link_idx].charset());
- const char *table_names[2], *table_aliases[2];
- uint table_name_lengths[2], table_alias_lengths[2];
- tgt_table_name_str.init_calc_mem(104);
- tgt_table_name_str.length(0);
- if (result_list->tmp_table_join && spider->bka_mode != 2)
- {
- create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
- link_idx);
- append_table_name_with_adjusting(&tgt_table_name_str, link_idx,
- SPIDER_SQL_TYPE_TMP_SQL);
- table_names[0] = tmp_table_name;
- table_names[1] = tgt_table_name_str.ptr();
- table_name_lengths[0] = tmp_table_name_length;
- table_name_lengths[1] = tgt_table_name_str.length();
- table_aliases[0] = SPIDER_SQL_A_STR;
- table_aliases[1] = SPIDER_SQL_B_STR;
- table_alias_lengths[0] = SPIDER_SQL_A_LEN;
- table_alias_lengths[1] = SPIDER_SQL_B_LEN;
- }
- if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
- {
- exec_sql = &result_list->sqls[link_idx];
- if (exec_sql->copy(sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- else if (result_list->use_union)
- {
- if ((error_num = reset_union_table_name(exec_sql, link_idx,
- SPIDER_SQL_TYPE_SELECT_SQL)))
- DBUG_RETURN(error_num);
- } else {
- tmp_pos = exec_sql->length();
- exec_sql->length(table_name_pos);
- if (result_list->tmp_table_join && spider->bka_mode != 2)
- {
- if ((error_num = spider_db_mysql_utility.append_from_with_alias(
- exec_sql, table_names, table_name_lengths,
- table_aliases, table_alias_lengths, 2,
- &table_name_pos, TRUE))
- )
- DBUG_RETURN(error_num);
- exec_sql->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- } else {
- append_table_name_with_adjusting(exec_sql, link_idx,
- SPIDER_SQL_TYPE_SELECT_SQL);
- }
- exec_sql->length(tmp_pos);
- }
- }
- if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
- {
- exec_tmp_sql = &result_list->tmp_sqls[link_idx];
- if (result_list->tmp_table_join && spider->bka_mode != 2)
- {
- if (exec_tmp_sql->copy(tmp_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- else {
- tmp_pos = exec_tmp_sql->length();
- exec_tmp_sql->length(tmp_sql_pos1);
- exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
- exec_tmp_sql->length(tmp_sql_pos2);
- exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
- exec_tmp_sql->length(tmp_sql_pos3);
- exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
- exec_tmp_sql->length(tmp_pos);
- }
- }
- }
- }
- }
- if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
- {
- if (mysql_share->same_db_table_name || link_idx == first_link_idx)
- exec_insert_sql = &insert_sql;
- else {
- exec_insert_sql = &result_list->insert_sqls[link_idx];
- if (exec_insert_sql->copy(insert_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_PRINT("info",("spider exec_insert_sql=%s",
- exec_insert_sql->c_ptr_safe()));
- tmp_pos = exec_insert_sql->length();
- exec_insert_sql->length(insert_table_name_pos);
- append_table_name_with_adjusting(exec_insert_sql, link_idx,
- sql_type);
- exec_insert_sql->length(tmp_pos);
- DBUG_PRINT("info",("spider exec_insert_sql->length=%u",
- exec_insert_sql->length()));
- DBUG_PRINT("info",("spider exec_insert_sql=%s",
- exec_insert_sql->c_ptr_safe()));
- }
- }
- if (sql_type & SPIDER_SQL_TYPE_BULK_UPDATE_SQL)
- {
- if (reading_from_bulk_tmp_table)
- {
- if (
- mysql_share->same_db_table_name &&
- share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
- ) {
- exec_update_sql = &insert_sql;
- } else if (!spider->result_list.upd_tmp_tbls[link_idx])
- {
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- } else {
- exec_update_sql = &spider->result_list.insert_sqls[link_idx];
- if ((error_num = restore_sql_from_bulk_tmp_table(exec_update_sql,
- spider->result_list.upd_tmp_tbls[link_idx])))
- {
- DBUG_RETURN(error_num);
- }
- }
- } else {
- if (
- mysql_share->same_db_table_name &&
- share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
- ) {
- exec_update_sql = &update_sql;
- } else {
- exec_update_sql = &spider->result_list.update_sqls[link_idx];
- }
- }
- } else if (sql_type &
- (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL))
- {
- if (mysql_share->same_db_table_name || link_idx == first_link_idx)
- exec_update_sql = &update_sql;
- else {
- exec_update_sql = &spider->result_list.update_sqls[link_idx];
- if (exec_update_sql->copy(update_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_pos = exec_update_sql->length();
- exec_update_sql->length(table_name_pos);
- append_table_name_with_adjusting(exec_update_sql, link_idx,
- sql_type);
- exec_update_sql->length(tmp_pos);
- }
- }
- if (sql_type & SPIDER_SQL_TYPE_HANDLER)
- {
- if (spider->m_handler_id[link_idx] == ha_sql_handler_id)
- exec_ha_sql = &ha_sql;
- else {
- exec_ha_sql = &result_list->sqls[link_idx];
- if (exec_ha_sql->copy(ha_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- else {
- tmp_pos = exec_ha_sql->length();
- exec_ha_sql->length(ha_table_name_pos);
- append_table_name_with_adjusting(exec_ha_sql, link_idx,
- SPIDER_SQL_TYPE_HANDLER);
- exec_ha_sql->length(tmp_pos);
- }
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::set_sql_for_exec(
- spider_db_copy_table *tgt_ct,
- ulong sql_type
-) {
- spider_mysql_copy_table *mysql_ct = (spider_mysql_copy_table *) tgt_ct;
- DBUG_ENTER("spider_mysql_handler::set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- exec_insert_sql = &mysql_ct->sql;
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::execute_sql(
- ulong sql_type,
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
-) {
- spider_string *tgt_sql;
- uint tgt_length;
- DBUG_ENTER("spider_mysql_handler::execute_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
- tgt_sql = exec_sql;
- tgt_length = tgt_sql->length();
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
- tgt_sql = exec_insert_sql;
- tgt_length = tgt_sql->length();
- break;
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- DBUG_PRINT("info",("spider %s",
- sql_type == SPIDER_SQL_TYPE_UPDATE_SQL ? "SPIDER_SQL_TYPE_UPDATE_SQL" :
- sql_type == SPIDER_SQL_TYPE_DELETE_SQL ? "SPIDER_SQL_TYPE_DELETE_SQL" :
- "SPIDER_SQL_TYPE_BULK_UPDATE_SQL"
- ));
- tgt_sql = exec_update_sql;
- tgt_length = tgt_sql->length();
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_TMP_SQL"));
- tgt_sql = exec_tmp_sql;
- tgt_length = tgt_sql->length();
- break;
- case SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL"));
- tgt_sql = exec_tmp_sql;
- tgt_length = tmp_sql_pos5;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_HANDLER"));
- tgt_sql = exec_ha_sql;
- tgt_length = tgt_sql->length();
- break;
- default:
- /* nothing to do */
- DBUG_PRINT("info",("spider default"));
- DBUG_RETURN(0);
- }
- DBUG_RETURN(spider_db_query(
- conn,
- tgt_sql->ptr(),
- tgt_length,
- quick_mode,
- need_mon
- ));
-}
-
-int spider_mysql_handler::reset()
-{
- DBUG_ENTER("spider_mysql_handler::reset");
- DBUG_PRINT("info",("spider this=%p", this));
- update_sql.length(0);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::sts_mode_exchange(
- int sts_mode
-) {
- DBUG_ENTER("spider_mysql_handler::sts_mode_exchange");
- DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
- DBUG_RETURN(sts_mode);
-}
-
-int spider_mysql_handler::show_table_status(
- int link_idx,
- int sts_mode,
- uint flag
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_DB_RESULT *res;
- SPIDER_SHARE *share = spider->share;
- uint pos = (2 * spider->conn_link_idx[link_idx]);
- DBUG_ENTER("spider_mysql_handler::show_table_status");
- DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
- if (sts_mode == 1)
- {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- mysql_share->show_table_status[0 + pos].ptr(),
- mysql_share->show_table_status[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- mysql_share->show_table_status[0 + pos].ptr(),
- mysql_share->show_table_status[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- if (error_num || (error_num = spider_db_errorno(conn)))
- DBUG_RETURN(error_num);
- else {
- my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
- ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- DBUG_RETURN(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM);
- }
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_status(
- sts_mode,
- share->records,
- share->mean_rec_length,
- share->data_file_length,
- share->max_data_file_length,
- share->index_file_length,
- share->auto_increment_value,
- share->create_time,
- share->update_time,
- share->check_time
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- switch (error_num)
- {
- case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
- my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
- ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
- my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
- ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- default:
- break;
- }
- DBUG_RETURN(error_num);
- }
- } else {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- mysql_share->show_table_status[1 + pos].ptr(),
- mysql_share->show_table_status[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- mysql_share->show_table_status[1 + pos].ptr(),
- mysql_share->show_table_status[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- if (error_num || (error_num = spider_db_errorno(conn)))
- DBUG_RETURN(error_num);
- else
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_status(
- sts_mode,
- share->records,
- share->mean_rec_length,
- share->data_file_length,
- share->max_data_file_length,
- share->index_file_length,
- share->auto_increment_value,
- share->create_time,
- share->update_time,
- share->check_time
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- switch (error_num)
- {
- case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
- my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
- ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
- my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
- ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- default:
- break;
- }
- DBUG_RETURN(error_num);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::crd_mode_exchange(
- int crd_mode
-) {
- DBUG_ENTER("spider_mysql_handler::crd_mode_exchange");
- DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
- DBUG_RETURN(crd_mode);
-}
-
-int spider_mysql_handler::show_index(
- int link_idx,
- int crd_mode
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- SPIDER_DB_RESULT *res;
- int roop_count;
- longlong *tmp_cardinality;
- uint pos = (2 * spider->conn_link_idx[link_idx]);
- DBUG_ENTER("spider_mysql_handler::show_index");
- DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
- if (crd_mode == 1)
- {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- mysql_share->show_index[0 + pos].ptr(),
- mysql_share->show_index[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- mysql_share->show_index[0 + pos].ptr(),
- mysql_share->show_index[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- /* no record is ok */
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- if (res)
- {
- error_num = res->fetch_table_cardinality(
- crd_mode,
- table,
- share->cardinality,
- share->cardinality_upd,
- share->bitmap_size
- );
- }
- for (roop_count = 0, tmp_cardinality = share->cardinality;
- roop_count < (int) table->s->fields;
- roop_count++, tmp_cardinality++)
- {
- if (!spider_bit_is_set(share->cardinality_upd, roop_count))
- {
- DBUG_PRINT("info",
- ("spider init column cardinality id=%d", roop_count));
- *tmp_cardinality = 1;
- }
- }
- if (res)
- {
- res->free_result();
- delete res;
- }
- if (error_num)
- {
- switch (error_num)
- {
- case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
- my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
- ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
- my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
- ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- default:
- break;
- }
- DBUG_RETURN(error_num);
- }
- } else {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- mysql_share->show_index[1 + pos].ptr(),
- mysql_share->show_index[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- mysql_share->show_index[1 + pos].ptr(),
- mysql_share->show_index[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- /* no record is ok */
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- if (res)
- {
- error_num = res->fetch_table_cardinality(
- crd_mode,
- table,
- share->cardinality,
- share->cardinality_upd,
- share->bitmap_size
- );
- }
- for (roop_count = 0, tmp_cardinality = share->cardinality;
- roop_count < (int) table->s->fields;
- roop_count++, tmp_cardinality++)
- {
- if (!spider_bit_is_set(share->cardinality_upd, roop_count))
- {
- DBUG_PRINT("info",
- ("spider init column cardinality id=%d", roop_count));
- *tmp_cardinality = 1;
- }
- }
- if (res)
- {
- res->free_result();
- delete res;
- }
- if (error_num)
- {
- switch (error_num)
- {
- case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
- my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
- ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
- my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
- ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
- mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- mysql_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- break;
- default:
- break;
- }
- DBUG_RETURN(error_num);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::show_records(
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_DB_RESULT *res;
- SPIDER_SHARE *share = spider->share;
- uint pos = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_mysql_handler::show_records");
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- mysql_share->show_records[pos].ptr(),
- mysql_share->show_records[pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 1", error_num));
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 2", error_num));
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- mysql_share->show_records[pos].ptr(),
- mysql_share->show_records[pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_PRINT("info", ("spider error_num=%d 3", error_num));
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
- DBUG_RETURN(error_num);
- } else {
- DBUG_PRINT("info", ("spider error_num=%d 6",
- ER_QUERY_ON_FOREIGN_DATA_SOURCE));
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_records(
- 1,
- share->records
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
- DBUG_RETURN(error_num);
- }
- spider->trx->direct_aggregate_count++;
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::show_last_insert_id(
- int link_idx,
- ulonglong &last_insert_id
-) {
- SPIDER_CONN *conn = spider->conns[link_idx];
- DBUG_ENTER("spider_mysql_handler::show_last_insert_id");
- last_insert_id = conn->db_conn->last_insert_id();
- DBUG_RETURN(0);
-}
-
-ha_rows spider_mysql_handler::explain_select(
- key_range *start_key,
- key_range *end_key,
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- spider_string *str = &result_list->sqls[link_idx];
- SPIDER_DB_RESULT *res;
- ha_rows rows;
- spider_db_handler *dbton_hdl = spider->dbton_handler[conn->dbton_id];
- DBUG_ENTER("spider_mysql_handler::explain_select");
- if ((error_num = dbton_hdl->append_explain_select_part(
- start_key, end_key, SPIDER_SQL_TYPE_OTHER_SQL, link_idx)))
- {
- my_errno = error_num;
- DBUG_RETURN(HA_POS_ERROR);
- }
-
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(spider->share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- spider->share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- spider->share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- error_num = spider_db_errorno(conn);
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- } else {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- } else {
- my_errno = ER_QUERY_ON_FOREIGN_DATA_SOURCE;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_records(
- 2,
- rows
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- my_errno = error_num;
- DBUG_RETURN(HA_POS_ERROR);
- }
- DBUG_RETURN(rows);
-}
-
-int spider_mysql_handler::lock_tables(
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- spider_string *str = &sql;
- DBUG_ENTER("spider_mysql_handler::lock_tables");
- str->length(0);
- if ((error_num = conn->db_conn->append_lock_tables(str)))
- {
- DBUG_RETURN(error_num);
- }
- if (str->length())
- {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- spider->share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- }
- if (!conn->table_locked)
- {
- conn->table_locked = TRUE;
- spider->trx->locked_connections++;
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::unlock_tables(
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- DBUG_ENTER("spider_mysql_handler::unlock_tables");
- if (conn->table_locked)
- {
- spider_string *str = &sql;
- conn->table_locked = FALSE;
- spider->trx->locked_connections--;
-
- str->length(0);
- if ((error_num = conn->db_conn->append_unlock_tables(str)))
- {
- DBUG_RETURN(error_num);
- }
- if (str->length())
- {
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- spider->share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::disable_keys(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::disable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_disable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::enable_keys(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::enable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_enable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::check_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::check_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_check_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx, check_opt)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::repair_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::repair_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_repair_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx, check_opt)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::analyze_table(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::analyze_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_analyze_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::optimize_table(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::optimize_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_optimize_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::flush_tables(
- SPIDER_CONN *conn,
- int link_idx,
- bool lock
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_mysql_handler::flush_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_flush_tables_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx, lock)))
- {
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::flush_logs(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- DBUG_ENTER("spider_mysql_handler::flush_logs");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- SPIDER_SQL_FLUSH_LOGS_STR,
- SPIDER_SQL_FLUSH_LOGS_LEN,
- -1,
- &spider->need_mons[link_idx])
- ) {
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::insert_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash = &link_for_hash[link_idx];
- DBUG_ASSERT(tmp_link_for_hash->spider == spider);
- DBUG_ASSERT(tmp_link_for_hash->link_idx == link_idx);
- uint old_elements = db_conn->handler_open_array.max_element;
- DBUG_ENTER("spider_mysql_handler::insert_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if (insert_dynamic(&db_conn->handler_open_array,
- (uchar*) &tmp_link_for_hash))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (db_conn->handler_open_array.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- db_conn->handler_open_array,
- (db_conn->handler_open_array.max_element - old_elements) *
- db_conn->handler_open_array.size_of_element);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::delete_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
- uint roop_count, elements = db_conn->handler_open_array.elements;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
- DBUG_ENTER("spider_mysql_handler::delete_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- for (roop_count = 0; roop_count < elements; roop_count++)
- {
- get_dynamic(&db_conn->handler_open_array, (uchar *) &tmp_link_for_hash,
- roop_count);
- if (tmp_link_for_hash == &link_for_hash[link_idx])
- {
- delete_dynamic_element(&db_conn->handler_open_array, roop_count);
- break;
- }
- }
- DBUG_ASSERT(roop_count < elements);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::sync_from_clone_source(
- spider_db_handler *dbton_hdl
-) {
- DBUG_ENTER("spider_mysql_handler::sync_from_clone_source");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-bool spider_mysql_handler::support_use_handler(
- int use_handler
-) {
- DBUG_ENTER("spider_mysql_handler::support_use_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-bool spider_mysql_handler::minimum_select_bit_is_set(
- uint field_index
-) {
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_mysql_handler::minimum_select_bit_is_set");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider field_index=%u", field_index));
- DBUG_PRINT("info",("spider ft_discard_bitmap=%s",
- spider_bit_is_set(spider->ft_discard_bitmap, field_index) ?
- "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider searched_bitmap=%s",
- spider_bit_is_set(spider->searched_bitmap, field_index) ?
- "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider read_set=%s",
- bitmap_is_set(table->read_set, field_index) ?
- "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider write_set=%s",
- bitmap_is_set(table->write_set, field_index) ?
- "TRUE" : "FALSE"));
- DBUG_RETURN(
- spider_bit_is_set(spider->ft_discard_bitmap, field_index) &
- (
- spider_bit_is_set(spider->searched_bitmap, field_index) |
- bitmap_is_set(table->read_set, field_index) |
- bitmap_is_set(table->write_set, field_index)
- )
- );
-}
-
-void spider_mysql_handler::copy_minimum_select_bitmap(
- uchar *bitmap
-) {
- int roop_count;
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_mysql_handler::copy_minimum_select_bitmap");
- for (roop_count = 0;
- roop_count < (int) ((table->s->fields + 7) / 8);
- roop_count++)
- {
- bitmap[roop_count] =
- spider->ft_discard_bitmap[roop_count] &
- (
- spider->searched_bitmap[roop_count] |
- ((uchar *) table->read_set->bitmap)[roop_count] |
- ((uchar *) table->write_set->bitmap)[roop_count]
- );
- DBUG_PRINT("info",("spider roop_count=%d", roop_count));
- DBUG_PRINT("info",("spider bitmap=%d",
- bitmap[roop_count]));
- DBUG_PRINT("info",("spider ft_discard_bitmap=%d",
- spider->ft_discard_bitmap[roop_count]));
- DBUG_PRINT("info",("spider searched_bitmap=%d",
- spider->searched_bitmap[roop_count]));
- DBUG_PRINT("info",("spider read_set=%d",
- ((uchar *) table->read_set->bitmap)[roop_count]));
- DBUG_PRINT("info",("spider write_set=%d",
- ((uchar *) table->write_set->bitmap)[roop_count]));
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_handler::init_union_table_name_pos()
-{
- DBUG_ENTER("spider_mysql_handler::init_union_table_name_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!union_table_name_pos_first)
- {
- if (!spider_bulk_malloc(spider_current_trx, 236, MYF(MY_WME),
- &union_table_name_pos_first, sizeof(SPIDER_INT_HLD),
- NullS)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- union_table_name_pos_first->next = NULL;
- }
- union_table_name_pos_current = union_table_name_pos_first;
- union_table_name_pos_current->tgt_num = 0;
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::set_union_table_name_pos()
-{
- DBUG_ENTER("spider_mysql_handler::set_union_table_name_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- if (union_table_name_pos_current->tgt_num >= SPIDER_INT_HLD_TGT_SIZE)
- {
- if (!union_table_name_pos_current->next)
- {
- if (!spider_bulk_malloc(spider_current_trx, 237, MYF(MY_WME),
- &union_table_name_pos_current->next, sizeof(SPIDER_INT_HLD),
- NullS)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- union_table_name_pos_current->next->next = NULL;
- }
- union_table_name_pos_current = union_table_name_pos_current->next;
- union_table_name_pos_current->tgt_num = 0;
- }
- union_table_name_pos_current->tgt[union_table_name_pos_current->tgt_num] =
- table_name_pos;
- ++union_table_name_pos_current->tgt_num;
- DBUG_RETURN(0);
-}
-
-int spider_mysql_handler::reset_union_table_name(
- spider_string *str,
- int link_idx,
- ulong sql_type
-) {
- DBUG_ENTER("spider_mysql_handler::reset_union_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!union_table_name_pos_current)
- DBUG_RETURN(0);
-
- SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
- uint cur_num, pos_backup = str->length();
- while(TRUE)
- {
- for (cur_num = 0; cur_num < tmp_pos->tgt_num; ++cur_num)
- {
- str->length(tmp_pos->tgt[cur_num]);
- append_table_name_with_adjusting(str, link_idx, sql_type);
- }
- if (tmp_pos == union_table_name_pos_current)
- break;
- tmp_pos = tmp_pos->next;
- }
- str->length(pos_backup);
- DBUG_RETURN(0);
-}
-
-spider_mysql_copy_table::spider_mysql_copy_table(
- spider_mysql_share *db_share
-) : spider_db_copy_table(
- db_share
-),
- mysql_share(db_share)
-{
- DBUG_ENTER("spider_mysql_copy_table::spider_mysql_copy_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_mysql_copy_table::~spider_mysql_copy_table()
-{
- DBUG_ENTER("spider_mysql_copy_table::~spider_mysql_copy_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_copy_table::init()
-{
- DBUG_ENTER("spider_mysql_copy_table::init");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.init_calc_mem(78);
- DBUG_RETURN(0);
-}
-
-void spider_mysql_copy_table::set_sql_charset(
- CHARSET_INFO *cs
-) {
- DBUG_ENTER("spider_mysql_copy_table::set_sql_charset");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.set_charset(cs);
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_copy_table::append_select_str()
-{
- DBUG_ENTER("spider_mysql_copy_table::append_select_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_SELECT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_insert_str(
- int insert_flg
-) {
- DBUG_ENTER("spider_mysql_copy_table::append_insert_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (insert_flg & SPIDER_DB_INSERT_REPLACE)
- {
- if (sql.reserve(SPIDER_SQL_REPLACE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_REPLACE_STR, SPIDER_SQL_REPLACE_LEN);
- } else {
- if (sql.reserve(SPIDER_SQL_INSERT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- }
- if (insert_flg & SPIDER_DB_INSERT_LOW_PRIORITY)
- {
- if (sql.reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
- }
- else if (insert_flg & SPIDER_DB_INSERT_DELAYED)
- {
- if (sql.reserve(SPIDER_SQL_SQL_DELAYED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_SQL_DELAYED_STR, SPIDER_SQL_SQL_DELAYED_LEN);
- }
- else if (insert_flg & SPIDER_DB_INSERT_HIGH_PRIORITY)
- {
- if (sql.reserve(SPIDER_SQL_HIGH_PRIORITY_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_HIGH_PRIORITY_STR, SPIDER_SQL_HIGH_PRIORITY_LEN);
- }
- if (insert_flg & SPIDER_DB_INSERT_IGNORE)
- {
- if (sql.reserve(SPIDER_SQL_SQL_IGNORE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_table_columns(
- TABLE_SHARE *table_share
-) {
- int error_num;
- Field **field;
- DBUG_ENTER("spider_mysql_copy_table::append_table_columns");
- DBUG_PRINT("info",("spider this=%p", this));
- for (field = table_share->field; *field; field++)
- {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) (*field)->field_name, spider_dbton_mysql.dbton_id)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_from_str()
-{
- DBUG_ENTER("spider_mysql_copy_table::append_from_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_table_name(
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_copy_table::append_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = mysql_share->append_table_name(&sql, link_idx);
- DBUG_RETURN(error_num);
-}
-
-void spider_mysql_copy_table::set_sql_pos()
-{
- DBUG_ENTER("spider_mysql_copy_table::set_sql_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- pos = sql.length();
- DBUG_VOID_RETURN;
-}
-
-void spider_mysql_copy_table::set_sql_to_pos()
-{
- DBUG_ENTER("spider_mysql_copy_table::set_sql_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.length(pos);
- DBUG_VOID_RETURN;
-}
-
-int spider_mysql_copy_table::append_copy_where(
- spider_db_copy_table *source_ct,
- KEY *key_info,
- ulong *last_row_pos,
- ulong *last_lengths
-) {
- int error_num, roop_count, roop_count2;
- DBUG_ENTER("spider_mysql_copy_table::append_copy_where");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_WHERE_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- Field *field;
- KEY_PART_INFO *key_part = key_info->key_part;
- for (roop_count = spider_user_defined_key_parts(key_info) - 1;
- roop_count >= 0; roop_count--)
- {
- for (roop_count2 = 0; roop_count2 < roop_count; roop_count2++)
- {
- field = key_part[roop_count2].field;
- if ((error_num = copy_key_row(source_ct,
- field, &last_row_pos[field->field_index],
- &last_lengths[field->field_index],
- SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN)))
- {
- DBUG_RETURN(error_num);
- }
- }
- field = key_part[roop_count2].field;
- if ((error_num = copy_key_row(source_ct,
- field, &last_row_pos[field->field_index],
- &last_lengths[field->field_index],
- SPIDER_SQL_GT_STR, SPIDER_SQL_GT_LEN)))
- {
- DBUG_RETURN(error_num);
- }
- sql.length(sql.length() - SPIDER_SQL_AND_LEN);
- if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
- SPIDER_SQL_OR_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- sql.q_append(SPIDER_SQL_OR_STR, SPIDER_SQL_OR_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- sql.length(sql.length() - SPIDER_SQL_OR_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_key_order_str(
- KEY *key_info,
- int start_pos,
- bool desc_flg
-) {
- int length, error_num;
- KEY_PART_INFO *key_part;
- Field *field;
- DBUG_ENTER("spider_mysql_copy_table::append_key_order_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((int) spider_user_defined_key_parts(key_info) > start_pos)
- {
- if (sql.reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- if (desc_flg == TRUE)
- {
- for (
- key_part = key_info->key_part + start_pos,
- length = 0;
- length + start_pos < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) field->field_name, spider_dbton_mysql.dbton_id)))
- DBUG_RETURN(error_num);
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- } else {
- for (
- key_part = key_info->key_part + start_pos,
- length = 0;
- length + start_pos < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) field->field_name, spider_dbton_mysql.dbton_id)))
- DBUG_RETURN(error_num);
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- }
- sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_limit(
- longlong offset,
- longlong limit
-) {
- char buf[SPIDER_LONGLONG_LEN + 1];
- uint32 length;
- DBUG_ENTER("spider_mysql_copy_table::append_limit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (offset || limit < 9223372036854775807LL)
- {
- if (sql.reserve(SPIDER_SQL_LIMIT_LEN + SPIDER_SQL_COMMA_LEN +
- ((SPIDER_LONGLONG_LEN) * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_LIMIT_STR, SPIDER_SQL_LIMIT_LEN);
- if (offset)
- {
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset);
- sql.q_append(buf, length);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
- sql.q_append(buf, length);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_into_str()
-{
- DBUG_ENTER("spider_mysql_copy_table::append_into_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_INTO_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_open_paren_str()
-{
- DBUG_ENTER("spider_mysql_copy_table::append_open_paren_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_values_str()
-{
- DBUG_ENTER("spider_mysql_copy_table::append_values_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_select_lock_str(
- int lock_mode
-) {
- DBUG_ENTER("spider_mysql_copy_table::append_select_lock_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
- {
- if (sql.reserve(SPIDER_SQL_FOR_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
- } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
- {
- if (sql.reserve(SPIDER_SQL_SHARED_LOCK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_SHARED_LOCK_STR, SPIDER_SQL_SHARED_LOCK_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::exec_query(
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_copy_table::exec_query");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = spider_db_query(conn, sql.ptr(), sql.length(), quick_mode,
- need_mon);
- DBUG_RETURN(error_num);
-}
-
-int spider_mysql_copy_table::copy_key_row(
- spider_db_copy_table *source_ct,
- Field *field,
- ulong *row_pos,
- ulong *length,
- const char *joint_str,
- const int joint_length
-) {
- int error_num;
- spider_string *source_str = &((spider_mysql_copy_table *) source_ct)->sql;
- DBUG_ENTER("spider_mysql_copy_table::copy_key_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) field->field_name, spider_dbton_mysql.dbton_id)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + joint_length + *length +
- SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(joint_str, joint_length);
- sql.q_append(source_str->ptr() + *row_pos, *length);
- sql.q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::copy_row(
- Field *field,
- SPIDER_DB_ROW *row
-) {
- int error_num;
- DBUG_ENTER("spider_mysql_copy_table::copy_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (row->is_null())
- {
- if (sql.reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else if (field->str_needs_quotes())
- {
- if (sql.reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if ((error_num = row->append_escaped_to_str(&sql,
- spider_dbton_mysql.dbton_id)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_VALUE_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- } else {
- if ((error_num = row->append_to_str(&sql)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row,
- ulong **last_row_pos,
- ulong **last_lengths
-) {
- int error_num;
- Field **field;
- ulong *lengths2, *row_pos2;
- DBUG_ENTER("spider_mysql_copy_table::copy_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- row_pos2 = *last_row_pos;
- lengths2 = *last_lengths;
-
- for (
- field = table->field;
- *field;
- field++,
- lengths2++
- ) {
- *row_pos2 = sql.length();
- if ((error_num =
- copy_row(*field, row)))
- DBUG_RETURN(error_num);
- *lengths2 = sql.length() - *row_pos2 - SPIDER_SQL_COMMA_LEN;
- row->next();
- row_pos2++;
- }
- sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
- if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
- SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row
-) {
- int error_num;
- Field **field;
- DBUG_ENTER("spider_mysql_copy_table::copy_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- for (
- field = table->field;
- *field;
- field++
- ) {
- if ((error_num =
- copy_row(*field, row)))
- DBUG_RETURN(error_num);
- row->next();
- }
- sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
- if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
- SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::append_insert_terminator()
-{
- DBUG_ENTER("spider_mysql_copy_table::append_insert_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.length(sql.length() - SPIDER_SQL_COMMA_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_mysql_copy_table::copy_insert_values(
- spider_db_copy_table *source_ct
-) {
- spider_mysql_copy_table *tmp_ct = (spider_mysql_copy_table *) source_ct;
- spider_string *source_str = &tmp_ct->sql;
- int values_length = source_str->length() - tmp_ct->pos;
- const char *values_ptr = source_str->ptr() + tmp_ct->pos;
- DBUG_ENTER("spider_mysql_copy_table::copy_insert_values");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(values_length))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(values_ptr, values_length);
- DBUG_RETURN(0);
-}
+/* Copyright (C) 2012-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#define MYSQL_SERVER 1
+#include "mysql_version.h"
+#if MYSQL_VERSION_ID < 50500
+#include "mysql_priv.h"
+#include <mysql/plugin.h>
+#else
+#include "sql_priv.h"
+#include "probes_mysql.h"
+#include "sql_class.h"
+#include "sql_partition.h"
+#include "sql_analyse.h"
+#include "sql_base.h"
+#include "tztime.h"
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+#include "sql_select.h"
+#endif
+#endif
+#include "sql_common.h"
+#include <mysql.h>
+#include <errmsg.h>
+#include "spd_err.h"
+#include "spd_param.h"
+#include "spd_db_include.h"
+#include "spd_include.h"
+#include "spd_db_mysql.h"
+#include "ha_spider.h"
+#include "spd_conn.h"
+#include "spd_db_conn.h"
+#include "spd_malloc.h"
+#include "spd_sys_table.h"
+#include "spd_table.h"
+
+extern struct charset_info_st *spd_charset_utf8_bin;
+
+extern handlerton *spider_hton_ptr;
+extern pthread_mutex_t spider_open_conn_mutex;
+extern HASH spider_open_connections;
+extern SPIDER_DBTON spider_dbton[SPIDER_DBTON_SIZE];
+extern const char spider_dig_upper[];
+
+#define SPIDER_SQL_NAME_QUOTE_STR "`"
+#define SPIDER_SQL_NAME_QUOTE_LEN (sizeof(SPIDER_SQL_NAME_QUOTE_STR) - 1)
+static const char *name_quote_str = SPIDER_SQL_NAME_QUOTE_STR;
+
+#define SPIDER_SQL_ISO_READ_UNCOMMITTED_STR "set session transaction isolation level read uncommitted"
+#define SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN sizeof(SPIDER_SQL_ISO_READ_UNCOMMITTED_STR) - 1
+#define SPIDER_SQL_ISO_READ_COMMITTED_STR "set session transaction isolation level read committed"
+#define SPIDER_SQL_ISO_READ_COMMITTED_LEN sizeof(SPIDER_SQL_ISO_READ_COMMITTED_STR) - 1
+#define SPIDER_SQL_ISO_REPEATABLE_READ_STR "set session transaction isolation level repeatable read"
+#define SPIDER_SQL_ISO_REPEATABLE_READ_LEN sizeof(SPIDER_SQL_ISO_REPEATABLE_READ_STR) - 1
+#define SPIDER_SQL_ISO_SERIALIZABLE_STR "set session transaction isolation level serializable"
+#define SPIDER_SQL_ISO_SERIALIZABLE_LEN sizeof(SPIDER_SQL_ISO_SERIALIZABLE_STR) - 1
+
+#define SPIDER_SQL_START_CONSISTENT_SNAPSHOT_STR "start transaction with consistent snapshot"
+#define SPIDER_SQL_START_CONSISTENT_SNAPSHOT_LEN sizeof(SPIDER_SQL_START_CONSISTENT_SNAPSHOT_STR) - 1
+#define SPIDER_SQL_START_TRANSACTION_STR "start transaction"
+#define SPIDER_SQL_START_TRANSACTION_LEN sizeof(SPIDER_SQL_START_TRANSACTION_STR) - 1
+
+#define SPIDER_SQL_AUTOCOMMIT_OFF_STR "set session autocommit = 0"
+#define SPIDER_SQL_AUTOCOMMIT_OFF_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_OFF_STR) - 1
+#define SPIDER_SQL_AUTOCOMMIT_ON_STR "set session autocommit = 1"
+#define SPIDER_SQL_AUTOCOMMIT_ON_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_ON_STR) - 1
+
+#define SPIDER_SQL_SQL_LOG_OFF_STR "set session sql_log_off = 0"
+#define SPIDER_SQL_SQL_LOG_OFF_LEN sizeof(SPIDER_SQL_SQL_LOG_OFF_STR) - 1
+#define SPIDER_SQL_SQL_LOG_ON_STR "set session sql_log_off = 1"
+#define SPIDER_SQL_SQL_LOG_ON_LEN sizeof(SPIDER_SQL_SQL_LOG_ON_STR) - 1
+
+#define SPIDER_SQL_TIME_ZONE_STR "set session time_zone = '"
+#define SPIDER_SQL_TIME_ZONE_LEN sizeof(SPIDER_SQL_TIME_ZONE_STR) - 1
+
+#define SPIDER_SQL_COMMIT_STR "commit"
+#define SPIDER_SQL_COMMIT_LEN sizeof(SPIDER_SQL_COMMIT_STR) - 1
+#define SPIDER_SQL_ROLLBACK_STR "rollback"
+#define SPIDER_SQL_ROLLBACK_LEN sizeof(SPIDER_SQL_ROLLBACK_STR) - 1
+
+#define SPIDER_SQL_XA_START_STR "xa start "
+#define SPIDER_SQL_XA_START_LEN sizeof(SPIDER_SQL_XA_START_STR) - 1
+#define SPIDER_SQL_XA_END_STR "xa end "
+#define SPIDER_SQL_XA_END_LEN sizeof(SPIDER_SQL_XA_END_STR) - 1
+#define SPIDER_SQL_XA_PREPARE_STR "xa prepare "
+#define SPIDER_SQL_XA_PREPARE_LEN sizeof(SPIDER_SQL_XA_PREPARE_STR) - 1
+#define SPIDER_SQL_XA_COMMIT_STR "xa commit "
+#define SPIDER_SQL_XA_COMMIT_LEN sizeof(SPIDER_SQL_XA_COMMIT_STR) - 1
+#define SPIDER_SQL_XA_ROLLBACK_STR "xa rollback "
+#define SPIDER_SQL_XA_ROLLBACK_LEN sizeof(SPIDER_SQL_XA_ROLLBACK_STR) - 1
+
+#define SPIDER_SQL_LOCK_TABLE_STR "lock tables "
+#define SPIDER_SQL_LOCK_TABLE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_STR) - 1)
+#define SPIDER_SQL_UNLOCK_TABLE_STR "unlock tables"
+#define SPIDER_SQL_UNLOCK_TABLE_LEN (sizeof(SPIDER_SQL_UNLOCK_TABLE_STR) - 1)
+
+#define SPIDER_SQL_SHOW_TABLE_STATUS_STR "show table status from "
+#define SPIDER_SQL_SHOW_TABLE_STATUS_LEN sizeof(SPIDER_SQL_SHOW_TABLE_STATUS_STR) - 1
+#define SPIDER_SQL_SELECT_TABLES_STATUS_STR "select `table_rows`,`avg_row_length`,`data_length`,`max_data_length`,`index_length`,`auto_increment`,`create_time`,`update_time`,`check_time` from `information_schema`.`tables` where `table_schema` = "
+#define SPIDER_SQL_SELECT_TABLES_STATUS_LEN sizeof(SPIDER_SQL_SELECT_TABLES_STATUS_STR) - 1
+#define SPIDER_SQL_SHOW_WARNINGS_STR "show warnings"
+#define SPIDER_SQL_SHOW_WARNINGS_LEN sizeof(SPIDER_SQL_SHOW_WARNINGS_STR) - 1
+
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+#define SPIDER_SQL_SHOW_COLUMNS_STR "show columns from "
+#define SPIDER_SQL_SHOW_COLUMNS_LEN sizeof(SPIDER_SQL_SHOW_COLUMNS_STR) - 1
+#endif
+
+#define SPIDER_SQL_LIKE_STR " like "
+#define SPIDER_SQL_LIKE_LEN (sizeof(SPIDER_SQL_LIKE_STR) - 1)
+#define SPIDER_SQL_LIMIT1_STR " limit 1"
+#define SPIDER_SQL_LIMIT1_LEN (sizeof(SPIDER_SQL_LIMIT1_STR) - 1)
+#define SPIDER_SQL_COLLATE_STR " collate "
+#define SPIDER_SQL_COLLATE_LEN (sizeof(SPIDER_SQL_COLLATE_STR) - 1)
+
+#define SPIDER_SQL_INTERVAL_STR " + interval "
+#define SPIDER_SQL_INTERVAL_LEN (sizeof(SPIDER_SQL_INTERVAL_STR) - 1)
+#define SPIDER_SQL_NEGINTERVAL_STR " - interval "
+#define SPIDER_SQL_NEGINTERVAL_LEN (sizeof(SPIDER_SQL_NEGINTERVAL_STR) - 1)
+
+static uchar SPIDER_SQL_LINESTRING_HEAD_STR[] =
+ {0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00};
+#define SPIDER_SQL_LINESTRING_HEAD_LEN sizeof(SPIDER_SQL_LINESTRING_HEAD_STR)
+
+static const char *spider_db_table_lock_str[] =
+{
+ " read local,",
+ " read,",
+ " low_priority write,",
+ " write,"
+};
+static const int spider_db_table_lock_len[] =
+{
+ sizeof(" read local,") - 1,
+ sizeof(" read,") - 1,
+ sizeof(" low_priority write,") - 1,
+ sizeof(" write,") - 1
+};
+static const char *spider_db_timefunc_interval_str[] =
+{
+ " year", " quarter", " month", " week", " day",
+ " hour", " minute", " second", " microsecond",
+ " year_month", " day_hour", " day_minute",
+ " day_second", " hour_minute", " hour_second",
+ " minute_second", " day_microsecond", " hour_microsecond",
+ " minute_microsecond", " second_microsecond"
+};
+
+int spider_mysql_init()
+{
+ DBUG_ENTER("spider_mysql_init");
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_deinit()
+{
+ DBUG_ENTER("spider_mysql_deinit");
+ DBUG_RETURN(0);
+}
+
+spider_db_share *spider_mysql_create_share(
+ SPIDER_SHARE *share
+) {
+ DBUG_ENTER("spider_mysql_create_share");
+ DBUG_RETURN(new spider_mysql_share(share));
+}
+
+spider_db_handler *spider_mysql_create_handler(
+ ha_spider *spider,
+ spider_db_share *db_share
+) {
+ DBUG_ENTER("spider_mysql_create_handler");
+ DBUG_RETURN(new spider_mysql_handler(spider,
+ (spider_mysql_share *) db_share));
+}
+
+spider_db_copy_table *spider_mysql_create_copy_table(
+ spider_db_share *db_share
+) {
+ DBUG_ENTER("spider_mysql_create_copy_table");
+ DBUG_RETURN(new spider_mysql_copy_table(
+ (spider_mysql_share *) db_share));
+}
+
+SPIDER_DB_CONN *spider_mysql_create_conn(
+ SPIDER_CONN *conn
+) {
+ DBUG_ENTER("spider_mysql_create_conn");
+ DBUG_RETURN(new spider_db_mysql(conn));
+}
+
+spider_db_mysql_util spider_db_mysql_utility;
+
+SPIDER_DBTON spider_dbton_mysql = {
+ 0,
+ SPIDER_DB_WRAPPER_MYSQL,
+ SPIDER_DB_ACCESS_TYPE_SQL,
+ spider_mysql_init,
+ spider_mysql_deinit,
+ spider_mysql_create_share,
+ spider_mysql_create_handler,
+ spider_mysql_create_copy_table,
+ spider_mysql_create_conn,
+ &spider_db_mysql_utility
+};
+
+spider_db_mysql_row::spider_db_mysql_row() :
+ spider_db_row(spider_dbton_mysql.dbton_id),
+ row(NULL), lengths(NULL), cloned(FALSE)
+{
+ DBUG_ENTER("spider_db_mysql_row::spider_db_mysql_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_mysql_row::~spider_db_mysql_row()
+{
+ DBUG_ENTER("spider_db_mysql_row::~spider_db_mysql_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (cloned)
+ {
+ spider_free(spider_current_trx, row_first, MYF(0));
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_mysql_row::store_to_field(
+ Field *field,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_mysql_row::store_to_field");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!*row)
+ {
+ DBUG_PRINT("info", ("spider field is null"));
+ field->set_null();
+ field->reset();
+ } else {
+ field->set_notnull();
+ if (field->flags & BLOB_FLAG)
+ {
+ DBUG_PRINT("info", ("spider blob field"));
+ if (
+ field->charset() == &my_charset_bin ||
+ field->charset()->cset == access_charset->cset
+ )
+ ((Field_blob *)field)->set_ptr(*lengths, (uchar *) *row);
+ else {
+ DBUG_PRINT("info", ("spider blob convert"));
+ if (field->table->file->ht == spider_hton_ptr)
+ {
+ ha_spider *spider = (ha_spider *) field->table->file;
+ spider_string *str = &spider->blob_buff[field->field_index];
+ str->length(0);
+ if (str->append(*row, *lengths, access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ ((Field_blob *)field)->set_ptr(str->length(), (uchar *) str->ptr());
+ } else {
+ field->store(*row, *lengths, access_charset);
+ }
+ }
+ } else
+ field->store(*row, *lengths, access_charset);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_row::append_to_str(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_mysql_row::append_to_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(*lengths))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(*row, *lengths);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_row::append_escaped_to_str(
+ spider_string *str,
+ uint dbton_id
+) {
+ DBUG_ENTER("spider_db_mysql_row::append_escaped_to_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_string tmp_str(*row, *lengths + 1, str->charset());
+ tmp_str.init_calc_mem(133);
+ tmp_str.length(*lengths);
+ if (str->reserve(*lengths * 2 + 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ spider_dbton[dbton_id].db_util->append_escaped_util(str, tmp_str.get_str());
+ DBUG_RETURN(0);
+}
+
+void spider_db_mysql_row::first()
+{
+ DBUG_ENTER("spider_db_mysql_row::first");
+ DBUG_PRINT("info",("spider this=%p", this));
+ row = row_first;
+ lengths = lengths_first;
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_mysql_row::next()
+{
+ DBUG_ENTER("spider_db_mysql_row::next");
+ DBUG_PRINT("info",("spider this=%p", this));
+ row++;
+ lengths++;
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_mysql_row::is_null()
+{
+ DBUG_ENTER("spider_db_mysql_row::is_null");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(!(*row));
+}
+
+int spider_db_mysql_row::val_int()
+{
+ DBUG_ENTER("spider_db_mysql_row::val_int");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(*row ? atoi(*row) : 0);
+}
+
+double spider_db_mysql_row::val_real()
+{
+ DBUG_ENTER("spider_db_mysql_row::val_real");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(*row ? my_atof(*row) : 0.0);
+}
+
+my_decimal *spider_db_mysql_row::val_decimal(
+ my_decimal *decimal_value,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_mysql_row::val_decimal");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!*row)
+ DBUG_RETURN(NULL);
+
+#ifdef SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
+ decimal_operation_results(str2my_decimal(0, *row, *lengths, access_charset,
+ decimal_value), "", "");
+#else
+ decimal_operation_results(str2my_decimal(0, *row, *lengths, access_charset,
+ decimal_value));
+#endif
+
+ DBUG_RETURN(decimal_value);
+}
+
+SPIDER_DB_ROW *spider_db_mysql_row::clone()
+{
+ spider_db_mysql_row *clone_row;
+ char *tmp_char;
+ MYSQL_ROW tmp_row = row_first, ctmp_row;
+ ulong *tmp_lengths = lengths_first;
+ uint row_size, i;
+ DBUG_ENTER("spider_db_mysql_row::clone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(clone_row = new spider_db_mysql_row()))
+ {
+ DBUG_RETURN(NULL);
+ }
+ row_size = field_count;
+ for (i = 0; i < field_count; i++)
+ {
+ row_size += *tmp_lengths;
+ tmp_lengths++;
+ }
+ if (!spider_bulk_malloc(spider_current_trx, 29, MYF(MY_WME),
+ &clone_row->row, sizeof(char*) * field_count,
+ &tmp_char, row_size,
+ &clone_row->lengths, sizeof(ulong) * field_count,
+ NullS)
+ ) {
+ delete clone_row;
+ DBUG_RETURN(NULL);
+ }
+ memcpy(clone_row->lengths, lengths_first, sizeof(ulong) * field_count);
+ tmp_lengths = lengths_first;
+ ctmp_row = clone_row->row;
+ for (i = 0; i < field_count; i++)
+ {
+ DBUG_PRINT("info",("spider *lengths=%lu", *tmp_lengths));
+ if (*tmp_row == NULL)
+ {
+ *ctmp_row = NULL;
+ *tmp_char = 0;
+ tmp_char++;
+ } else {
+ *ctmp_row = tmp_char;
+ memcpy(tmp_char, *tmp_row, *tmp_lengths + 1);
+ tmp_char += *tmp_lengths + 1;
+ }
+ ctmp_row++;
+ tmp_lengths++;
+ tmp_row++;
+ }
+ clone_row->field_count = field_count;
+ clone_row->row_first = clone_row->row;
+ clone_row->lengths_first = clone_row->lengths;
+ clone_row->cloned = TRUE;
+ DBUG_RETURN((SPIDER_DB_ROW *) clone_row);
+}
+
+int spider_db_mysql_row::store_to_tmp_table(
+ TABLE *tmp_table,
+ spider_string *str
+) {
+ uint i;
+ MYSQL_ROW tmp_row = row;
+ ulong *tmp_lengths = lengths;
+ DBUG_ENTER("spider_db_mysql_row::store_to_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ for (i = 0; i < field_count; i++)
+ {
+ if (*tmp_row)
+ {
+ if (str->reserve(*tmp_lengths + 1))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(*tmp_row, *tmp_lengths + 1);
+ }
+ tmp_lengths++;
+ tmp_row++;
+ }
+ tmp_table->field[0]->set_notnull();
+ tmp_table->field[0]->store(
+ (const char *) lengths,
+ sizeof(ulong) * field_count, &my_charset_bin);
+ tmp_table->field[1]->set_notnull();
+ tmp_table->field[1]->store(
+ str->ptr(), str->length(), &my_charset_bin);
+ tmp_table->field[2]->set_notnull();
+ tmp_table->field[2]->store(
+ (char *) row, (uint) (sizeof(char *) * field_count), &my_charset_bin);
+ DBUG_RETURN(tmp_table->file->ha_write_row(tmp_table->record[0]));
+}
+
+spider_db_mysql_result::spider_db_mysql_result() :
+ spider_db_result(spider_dbton_mysql.dbton_id),
+ db_result(NULL)
+{
+ DBUG_ENTER("spider_db_mysql_result::spider_db_mysql_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_mysql_result::~spider_db_mysql_result()
+{
+ DBUG_ENTER("spider_db_mysql_result::~spider_db_mysql_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (db_result)
+ {
+ free_result();
+ }
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_mysql_result::has_result()
+{
+ DBUG_ENTER("spider_db_mysql_result::has_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(db_result);
+}
+
+void spider_db_mysql_result::free_result()
+{
+ DBUG_ENTER("spider_db_mysql_result::free_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* need 2 times execution design */
+ if (db_result)
+ {
+ mysql_free_result(db_result);
+ db_result = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+SPIDER_DB_ROW *spider_db_mysql_result::current_row()
+{
+ DBUG_ENTER("spider_db_mysql_result::current_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((SPIDER_DB_ROW *) row.clone());
+}
+
+SPIDER_DB_ROW *spider_db_mysql_result::fetch_row()
+{
+ DBUG_ENTER("spider_db_mysql_result::fetch_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(row.row = mysql_fetch_row(db_result)))
+ {
+ store_error_num = HA_ERR_END_OF_FILE;
+ DBUG_RETURN(NULL);
+ }
+ row.lengths = mysql_fetch_lengths(db_result);
+ row.field_count = mysql_num_fields(db_result);
+ row.row_first = row.row;
+ row.lengths_first = row.lengths;
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+SPIDER_DB_ROW *spider_db_mysql_result::fetch_row_from_result_buffer(
+ spider_db_result_buffer *spider_res_buf
+) {
+ DBUG_ENTER("spider_db_mysql_result::fetch_row_from_result_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(row.row = mysql_fetch_row(db_result)))
+ {
+ store_error_num = HA_ERR_END_OF_FILE;
+ DBUG_RETURN(NULL);
+ }
+ row.lengths = mysql_fetch_lengths(db_result);
+ row.field_count = mysql_num_fields(db_result);
+ row.row_first = row.row;
+ row.lengths_first = row.lengths;
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+SPIDER_DB_ROW *spider_db_mysql_result::fetch_row_from_tmp_table(
+ TABLE *tmp_table
+) {
+ uint i;
+ spider_string tmp_str1, tmp_str2, tmp_str3;
+ const char *row_ptr;
+ MYSQL_ROW tmp_row;
+ ulong *tmp_lengths;
+ uint field_count;
+ DBUG_ENTER("spider_db_mysql_result::fetch_row_from_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_str1.init_calc_mem(117);
+ tmp_str2.init_calc_mem(118);
+ tmp_str3.init_calc_mem(170);
+ tmp_table->field[0]->val_str(tmp_str1.get_str());
+ tmp_table->field[1]->val_str(tmp_str2.get_str());
+ tmp_table->field[2]->val_str(tmp_str3.get_str());
+ tmp_str1.mem_calc();
+ tmp_str2.mem_calc();
+ tmp_str3.mem_calc();
+ row_ptr = tmp_str2.ptr();
+ tmp_lengths = (ulong *) tmp_str1.ptr();
+ tmp_row = (MYSQL_ROW) tmp_str3.ptr();
+ field_count = tmp_str1.length() / sizeof(ulong);
+ row.row = tmp_row;
+ row.lengths = tmp_lengths;
+ row.field_count = field_count;
+ row.row_first = row.row;
+ row.lengths_first = row.lengths;
+ for (i = 0; i < field_count; i++)
+ {
+ if (*tmp_row)
+ {
+ *tmp_row = (char *) row_ptr;
+ row_ptr += *tmp_lengths + 1;
+ }
+ tmp_row++;
+ tmp_lengths++;
+ }
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+int spider_db_mysql_result::fetch_table_status(
+ int mode,
+ ha_rows &records,
+ ulong &mean_rec_length,
+ ulonglong &data_file_length,
+ ulonglong &max_data_file_length,
+ ulonglong &index_file_length,
+ ulonglong &auto_increment_value,
+ time_t &create_time,
+ time_t &update_time,
+ time_t &check_time
+) {
+ int error_num;
+ MYSQL_ROW mysql_row;
+ MYSQL_TIME mysql_time;
+#ifdef MARIADB_BASE_VERSION
+ uint not_used_uint;
+#else
+ my_bool not_used_my_bool;
+#endif
+#ifdef SPIDER_HAS_TIME_STATUS
+ MYSQL_TIME_STATUS time_status;
+#else
+ int time_status;
+#endif
+ long not_used_long;
+ DBUG_ENTER("spider_db_mysql_result::fetch_table_status");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(mysql_row = mysql_fetch_row(db_result)))
+ {
+ DBUG_PRINT("info",("spider fetch row is null"));
+ DBUG_RETURN(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM);
+ }
+ if (mode == 1)
+ {
+ if (num_fields() != 18)
+ {
+ DBUG_PRINT("info",("spider field_count != 18"));
+ DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
+ }
+
+ if (mysql_row[4])
+ records =
+ (ha_rows) my_strtoll10(mysql_row[4], (char**) NULL, &error_num);
+ else
+ records = (ha_rows) 0;
+ DBUG_PRINT("info",
+ ("spider records=%lld", records));
+ if (mysql_row[5])
+ mean_rec_length =
+ (ulong) my_strtoll10(mysql_row[5], (char**) NULL, &error_num);
+ else
+ mean_rec_length = 0;
+ DBUG_PRINT("info",
+ ("spider mean_rec_length=%lu", mean_rec_length));
+ if (mysql_row[6])
+ data_file_length =
+ (ulonglong) my_strtoll10(mysql_row[6], (char**) NULL, &error_num);
+ else
+ data_file_length = 0;
+ DBUG_PRINT("info",
+ ("spider data_file_length=%lld", data_file_length));
+ if (mysql_row[7])
+ max_data_file_length =
+ (ulonglong) my_strtoll10(mysql_row[7], (char**) NULL, &error_num);
+ else
+ max_data_file_length = 0;
+ DBUG_PRINT("info",
+ ("spider max_data_file_length=%lld", max_data_file_length));
+ if (mysql_row[8])
+ index_file_length =
+ (ulonglong) my_strtoll10(mysql_row[8], (char**) NULL, &error_num);
+ else
+ index_file_length = 0;
+ DBUG_PRINT("info",
+ ("spider index_file_length=%lld", index_file_length));
+ if (mysql_row[10])
+ auto_increment_value =
+ (ulonglong) my_strtoll10(mysql_row[10], (char**) NULL, &error_num);
+ else
+ auto_increment_value = 1;
+ DBUG_PRINT("info",
+ ("spider auto_increment_value=%lld", auto_increment_value));
+ if (mysql_row[11])
+ {
+#ifdef SPIDER_HAS_TIME_STATUS
+ my_time_status_init(&time_status);
+#endif
+ str_to_datetime(mysql_row[11], strlen(mysql_row[11]), &mysql_time, 0,
+ &time_status);
+#ifdef MARIADB_BASE_VERSION
+ create_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_uint);
+#else
+ create_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_my_bool);
+#endif
+ } else
+ create_time = (time_t) 0;
+#ifndef DBUG_OFF
+ {
+ struct tm *ts, tmp_ts;
+ char buf[80];
+ ts = localtime_r(&create_time, &tmp_ts);
+ strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
+ DBUG_PRINT("info",("spider create_time=%s", buf));
+ }
+#endif
+ if (mysql_row[12])
+ {
+#ifdef SPIDER_HAS_TIME_STATUS
+ my_time_status_init(&time_status);
+#endif
+ str_to_datetime(mysql_row[12], strlen(mysql_row[12]), &mysql_time, 0,
+ &time_status);
+#ifdef MARIADB_BASE_VERSION
+ update_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_uint);
+#else
+ update_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_my_bool);
+#endif
+ } else
+ update_time = (time_t) 0;
+#ifndef DBUG_OFF
+ {
+ struct tm *ts, tmp_ts;
+ char buf[80];
+ ts = localtime_r(&update_time, &tmp_ts);
+ strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
+ DBUG_PRINT("info",("spider update_time=%s", buf));
+ }
+#endif
+ if (mysql_row[13])
+ {
+#ifdef SPIDER_HAS_TIME_STATUS
+ my_time_status_init(&time_status);
+#endif
+ str_to_datetime(mysql_row[13], strlen(mysql_row[13]), &mysql_time, 0,
+ &time_status);
+#ifdef MARIADB_BASE_VERSION
+ check_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_uint);
+#else
+ check_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_my_bool);
+#endif
+ } else
+ check_time = (time_t) 0;
+#ifndef DBUG_OFF
+ {
+ struct tm *ts, tmp_ts;
+ char buf[80];
+ ts = localtime_r(&check_time, &tmp_ts);
+ strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
+ DBUG_PRINT("info",("spider check_time=%s", buf));
+ }
+#endif
+ } else {
+ if (mysql_row[0])
+ records =
+ (ha_rows) my_strtoll10(mysql_row[0], (char**) NULL, &error_num);
+ else
+ records = (ha_rows) 0;
+ DBUG_PRINT("info",
+ ("spider records=%lld", records));
+ if (mysql_row[1])
+ mean_rec_length =
+ (ulong) my_strtoll10(mysql_row[1], (char**) NULL, &error_num);
+ else
+ mean_rec_length = 0;
+ DBUG_PRINT("info",
+ ("spider mean_rec_length=%lu", mean_rec_length));
+ if (mysql_row[2])
+ data_file_length =
+ (ulonglong) my_strtoll10(mysql_row[2], (char**) NULL, &error_num);
+ else
+ data_file_length = 0;
+ DBUG_PRINT("info",
+ ("spider data_file_length=%lld", data_file_length));
+ if (mysql_row[3])
+ max_data_file_length =
+ (ulonglong) my_strtoll10(mysql_row[3], (char**) NULL, &error_num);
+ else
+ max_data_file_length = 0;
+ DBUG_PRINT("info",
+ ("spider max_data_file_length=%lld", max_data_file_length));
+ if (mysql_row[4])
+ index_file_length =
+ (ulonglong) my_strtoll10(mysql_row[4], (char**) NULL, &error_num);
+ else
+ index_file_length = 0;
+ DBUG_PRINT("info",
+ ("spider index_file_length=%lld", index_file_length));
+ if (mysql_row[5])
+ auto_increment_value =
+ (ulonglong) my_strtoll10(mysql_row[5], (char**) NULL, &error_num);
+ else
+ auto_increment_value = 1;
+ DBUG_PRINT("info",
+ ("spider auto_increment_value=%lld", auto_increment_value));
+ if (mysql_row[6])
+ {
+#ifdef SPIDER_HAS_TIME_STATUS
+ my_time_status_init(&time_status);
+#endif
+ str_to_datetime(mysql_row[6], strlen(mysql_row[6]), &mysql_time, 0,
+ &time_status);
+#ifdef MARIADB_BASE_VERSION
+ create_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_uint);
+#else
+ create_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_my_bool);
+#endif
+ } else
+ create_time = (time_t) 0;
+#ifndef DBUG_OFF
+ {
+ struct tm *ts, tmp_ts;
+ char buf[80];
+ ts = localtime_r(&create_time, &tmp_ts);
+ strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
+ DBUG_PRINT("info",("spider create_time=%s", buf));
+ }
+#endif
+ if (mysql_row[7])
+ {
+#ifdef SPIDER_HAS_TIME_STATUS
+ my_time_status_init(&time_status);
+#endif
+ str_to_datetime(mysql_row[7], strlen(mysql_row[7]), &mysql_time, 0,
+ &time_status);
+#ifdef MARIADB_BASE_VERSION
+ update_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_uint);
+#else
+ update_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_my_bool);
+#endif
+ } else
+ update_time = (time_t) 0;
+#ifndef DBUG_OFF
+ {
+ struct tm *ts, tmp_ts;
+ char buf[80];
+ ts = localtime_r(&update_time, &tmp_ts);
+ strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
+ DBUG_PRINT("info",("spider update_time=%s", buf));
+ }
+#endif
+ if (mysql_row[8])
+ {
+#ifdef SPIDER_HAS_TIME_STATUS
+ my_time_status_init(&time_status);
+#endif
+ str_to_datetime(mysql_row[8], strlen(mysql_row[8]), &mysql_time, 0,
+ &time_status);
+#ifdef MARIADB_BASE_VERSION
+ check_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_uint);
+#else
+ check_time = (time_t) my_system_gmt_sec(&mysql_time,
+ &not_used_long, &not_used_my_bool);
+#endif
+ } else
+ check_time = (time_t) 0;
+#ifndef DBUG_OFF
+ {
+ struct tm *ts, tmp_ts;
+ char buf[80];
+ ts = localtime_r(&check_time, &tmp_ts);
+ strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", ts);
+ DBUG_PRINT("info",("spider check_time=%s", buf));
+ }
+#endif
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_result::fetch_table_records(
+ int mode,
+ ha_rows &records
+) {
+ int error_num;
+ MYSQL_ROW mysql_row;
+ DBUG_ENTER("spider_db_mysql_result::fetch_table_records");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(mysql_row = mysql_fetch_row(db_result)))
+ {
+ DBUG_PRINT("info",("spider fetch row is null"));
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+ if (mode == 1)
+ {
+ if (mysql_row[0])
+ {
+ records =
+ (ha_rows) my_strtoll10(mysql_row[0], (char**) NULL, &error_num);
+ } else
+ records = (ha_rows) 0;
+ DBUG_PRINT("info",
+ ("spider records=%lld", records));
+ } else {
+ if (num_fields() != 10)
+ {
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+
+ if (mysql_row[8])
+ {
+ records =
+ (ha_rows) my_strtoll10(mysql_row[8], (char**) NULL, &error_num);
+ } else
+ records = 0;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_result::fetch_table_cardinality(
+ int mode,
+ TABLE *table,
+ longlong *cardinality,
+ uchar *cardinality_upd,
+ int bitmap_size
+) {
+ int error_num;
+ MYSQL_ROW mysql_row;
+ Field *field;
+ DBUG_ENTER("spider_db_mysql_result::fetch_table_cardinality");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(mysql_row = mysql_fetch_row(db_result)))
+ {
+ DBUG_PRINT("info",("spider fetch row is null"));
+ /* no index */
+ DBUG_RETURN(0);
+ }
+ memset((uchar *) cardinality_upd, 0, sizeof(uchar) * bitmap_size);
+ if (mode == 1)
+ {
+ uint num_fields = this->num_fields();
+ if (num_fields < 12 || num_fields > 13)
+ {
+ DBUG_PRINT("info",("spider num_fields < 12 || num_fields > 13"));
+ DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
+ }
+
+ while (mysql_row)
+ {
+ if (
+ mysql_row[4] &&
+ mysql_row[6] &&
+ (field = find_field_in_table_sef(table, mysql_row[4]))
+ ) {
+ if ((cardinality[field->field_index] =
+ (longlong) my_strtoll10(mysql_row[6], (char**) NULL, &error_num))
+ <= 0)
+ cardinality[field->field_index] = 1;
+ spider_set_bit(cardinality_upd, field->field_index);
+ DBUG_PRINT("info",
+ ("spider col_name=%s", mysql_row[4]));
+ DBUG_PRINT("info",
+ ("spider cardinality=%lld",
+ cardinality[field->field_index]));
+ } else if (mysql_row[4])
+ {
+ DBUG_PRINT("info",
+ ("spider skip col_name=%s", mysql_row[4]));
+ } else {
+ DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
+ }
+ mysql_row = mysql_fetch_row(db_result);
+ }
+ } else {
+ while (mysql_row)
+ {
+ if (
+ mysql_row[0] &&
+ mysql_row[1] &&
+ (field = find_field_in_table_sef(table, mysql_row[0]))
+ ) {
+ if ((cardinality[field->field_index] =
+ (longlong) my_strtoll10(mysql_row[1], (char**) NULL, &error_num))
+ <= 0)
+ cardinality[field->field_index] = 1;
+ spider_set_bit(cardinality_upd, field->field_index);
+ DBUG_PRINT("info",
+ ("spider col_name=%s", mysql_row[0]));
+ DBUG_PRINT("info",
+ ("spider cardinality=%lld",
+ cardinality[field->field_index]));
+ } else if (mysql_row[0])
+ {
+ DBUG_PRINT("info",
+ ("spider skip col_name=%s", mysql_row[0]));
+ } else {
+ DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
+ }
+ mysql_row = mysql_fetch_row(db_result);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_result::fetch_table_mon_status(
+ int &status
+) {
+ MYSQL_ROW mysql_row;
+ DBUG_ENTER("spider_db_mysql_result::fetch_table_mon_status");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(mysql_row = mysql_fetch_row(db_result)))
+ {
+ DBUG_PRINT("info",("spider fetch row is null"));
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (num_fields() != 1)
+ {
+ DBUG_PRINT("info",("spider num_fields != 1"));
+ my_printf_error(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
+ DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
+ }
+ if (mysql_row[0])
+ status = atoi(mysql_row[0]);
+ else
+ status = SPIDER_LINK_MON_OK;
+ DBUG_PRINT("info", ("spider status=%d", status));
+ DBUG_RETURN(0);
+}
+
+longlong spider_db_mysql_result::num_rows()
+{
+ DBUG_ENTER("spider_db_mysql_result::num_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((longlong) mysql_num_rows(db_result));
+}
+
+uint spider_db_mysql_result::num_fields()
+{
+ DBUG_ENTER("spider_db_mysql_result::num_fields");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(mysql_num_fields(db_result));
+}
+
+void spider_db_mysql_result::move_to_pos(
+ longlong pos
+) {
+ DBUG_ENTER("spider_db_mysql_result::move_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider pos=%lld", pos));
+/*
+ DBUG_ASSERT(first_row);
+*/
+ db_result->data_cursor = first_row + pos;
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_mysql_result::get_errno()
+{
+ DBUG_ENTER("spider_db_mysql_result::get_errno");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider store_error_num=%d", store_error_num));
+ DBUG_RETURN(store_error_num);
+}
+
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+int spider_db_mysql_result::fetch_columns_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+) {
+ MYSQL_ROW mysql_row;
+ DBUG_ENTER("spider_db_mysql_result::fetch_columns_for_discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(mysql_row = mysql_fetch_row(db_result)))
+ {
+ DBUG_PRINT("info",("spider fetch row is null"));
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (num_fields() != 6)
+ {
+ DBUG_PRINT("info",("spider num_fields != 6"));
+ my_printf_error(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
+ DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
+ }
+ do {
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (str->append(mysql_row[0], strlen(mysql_row[0]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_SPACE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ if (str->append(mysql_row[1], strlen(mysql_row[1]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (!strcmp(mysql_row[2], "NO"))
+ {
+ if (str->reserve(SPIDER_SQL_NOT_NULL_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NOT_NULL_STR, SPIDER_SQL_NOT_NULL_LEN);
+ if (mysql_row[4])
+ {
+ if (str->reserve(SPIDER_SQL_DEFAULT_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_DEFAULT_STR, SPIDER_SQL_DEFAULT_LEN);
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ }
+ } else {
+ if (str->reserve(SPIDER_SQL_DEFAULT_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_DEFAULT_STR, SPIDER_SQL_DEFAULT_LEN);
+ if (mysql_row[4])
+ {
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_NULL_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ }
+ }
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } while ((mysql_row = mysql_fetch_row(db_result)));
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_result::fetch_index_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+) {
+ MYSQL_ROW mysql_row;
+ DBUG_ENTER("spider_db_mysql_result::fetch_index_for_discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(mysql_row = mysql_fetch_row(db_result)))
+ {
+ DBUG_PRINT("info",("spider fetch row is null"));
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (num_fields() != 13)
+ {
+ DBUG_PRINT("info",("spider num_fields != 13"));
+ my_printf_error(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
+ DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
+ }
+ bool first = TRUE;
+ do {
+ if (!strcmp(mysql_row[3], "1"))
+ {
+ if (first)
+ {
+ first = FALSE;
+ } else {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ /* new index */
+ if (!strcmp(mysql_row[2], SPIDER_DB_PK_NAME_STR))
+ {
+ /* primary key */
+ if (str->reserve(SPIDER_DB_PK_NAME_LEN + SPIDER_SQL_SPACE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_DB_PK_NAME_STR, SPIDER_DB_PK_NAME_LEN);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ } else if (!strcmp(mysql_row[1], "0"))
+ {
+ /* unique key */
+ if (str->reserve(SPIDER_DB_UNIQUE_NAME_LEN + SPIDER_SQL_SPACE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_DB_UNIQUE_NAME_STR, SPIDER_DB_UNIQUE_NAME_LEN);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ if (str->reserve(SPIDER_DB_KEY_NAME_LEN + SPIDER_SQL_SPACE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_DB_KEY_NAME_STR, SPIDER_DB_KEY_NAME_LEN);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ if (strcmp(mysql_row[2], SPIDER_DB_PK_NAME_STR))
+ {
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (str->append(mysql_row[2], strlen(mysql_row[2]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ }
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (mysql_row[7])
+ {
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->append(mysql_row[7], strlen(mysql_row[7]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ } else {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN + SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (str->append(mysql_row[4], strlen(mysql_row[4]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (mysql_row[7])
+ {
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->append(mysql_row[7], strlen(mysql_row[7]), access_charset))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ }
+ } while ((mysql_row = mysql_fetch_row(db_result)));
+ if (!first)
+ {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+spider_db_mysql::spider_db_mysql(
+ SPIDER_CONN *conn
+) : spider_db_conn(conn), lock_table_hash_inited(FALSE),
+ handler_open_array_inited(FALSE)
+{
+ DBUG_ENTER("spider_db_mysql::spider_db_mysql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ db_conn = NULL;
+ DBUG_VOID_RETURN;
+}
+
+spider_db_mysql::~spider_db_mysql()
+{
+ DBUG_ENTER("spider_db_mysql::~spider_db_mysql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (handler_open_array_inited)
+ {
+ reset_opened_handler();
+ spider_free_mem_calc(spider_current_trx,
+ handler_open_array_id,
+ handler_open_array.max_element *
+ handler_open_array.size_of_element);
+ delete_dynamic(&handler_open_array);
+ }
+ if (lock_table_hash_inited)
+ {
+ spider_free_mem_calc(spider_current_trx,
+ lock_table_hash_id,
+ lock_table_hash.array.max_element *
+ lock_table_hash.array.size_of_element);
+ my_hash_free(&lock_table_hash);
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_mysql::init()
+{
+ DBUG_ENTER("spider_db_mysql::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (
+ my_hash_init(&lock_table_hash, spd_charset_utf8_bin, 32, 0, 0,
+ (my_hash_get_key) spider_link_get_key, 0, 0)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_alloc_calc_mem_init(lock_table_hash, 140);
+ spider_alloc_calc_mem(spider_current_trx,
+ lock_table_hash,
+ lock_table_hash.array.max_element *
+ lock_table_hash.array.size_of_element);
+ lock_table_hash_inited = TRUE;
+
+ if (
+ SPD_INIT_DYNAMIC_ARRAY2(&handler_open_array,
+ sizeof(SPIDER_LINK_FOR_HASH *), NULL, 16, 16, MYF(MY_WME))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_alloc_calc_mem_init(handler_open_array, 162);
+ spider_alloc_calc_mem(spider_current_trx,
+ handler_open_array,
+ handler_open_array.max_element *
+ handler_open_array.size_of_element);
+ handler_open_array_inited = TRUE;
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql::is_connected()
+{
+ DBUG_ENTER("spider_db_mysql::is_connected");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(db_conn);
+}
+
+void spider_db_mysql::bg_connect()
+{
+ DBUG_ENTER("spider_db_mysql::bg_connect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_mysql::connect(
+ char *tgt_host,
+ char *tgt_username,
+ char *tgt_password,
+ long tgt_port,
+ char *tgt_socket,
+ char *server_name,
+ int connect_retry_count,
+ longlong connect_retry_interval
+) {
+ int error_num;
+ my_bool connect_mutex = spider_param_connect_mutex();
+ DBUG_ENTER("spider_db_mysql::connect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ while (TRUE)
+ {
+ if (!db_conn)
+ {
+ if (!(db_conn = mysql_init(NULL)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ mysql_options(db_conn, MYSQL_OPT_READ_TIMEOUT,
+ &conn->net_read_timeout);
+ mysql_options(db_conn, MYSQL_OPT_WRITE_TIMEOUT,
+ &conn->net_write_timeout);
+ mysql_options(db_conn, MYSQL_OPT_CONNECT_TIMEOUT,
+ &conn->connect_timeout);
+ mysql_options(db_conn, MYSQL_OPT_USE_REMOTE_CONNECTION,
+ NULL);
+
+ if (
+ conn->tgt_ssl_ca_length |
+ conn->tgt_ssl_capath_length |
+ conn->tgt_ssl_cert_length |
+ conn->tgt_ssl_key_length
+ ) {
+ mysql_ssl_set(db_conn, conn->tgt_ssl_key, conn->tgt_ssl_cert,
+ conn->tgt_ssl_ca, conn->tgt_ssl_capath, conn->tgt_ssl_cipher);
+ if (conn->tgt_ssl_vsc)
+ {
+ my_bool verify_flg = TRUE;
+ mysql_options(db_conn, MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
+ &verify_flg);
+ }
+ }
+
+ if (conn->tgt_default_file)
+ {
+ DBUG_PRINT("info",("spider tgt_default_file=%s",
+ conn->tgt_default_file));
+ mysql_options(db_conn, MYSQL_READ_DEFAULT_FILE,
+ conn->tgt_default_file);
+ }
+ if (conn->tgt_default_group)
+ {
+ DBUG_PRINT("info",("spider tgt_default_group=%s",
+ conn->tgt_default_group));
+ mysql_options(db_conn, MYSQL_READ_DEFAULT_GROUP,
+ conn->tgt_default_group);
+ }
+
+ if (connect_mutex)
+ pthread_mutex_lock(&spider_open_conn_mutex);
+ /* tgt_db not use */
+ if (
+ !spider_param_dry_access() &&
+ !mysql_real_connect(
+ db_conn,
+ tgt_host,
+ tgt_username,
+ tgt_password,
+ NULL,
+ tgt_port,
+ tgt_socket,
+ CLIENT_MULTI_STATEMENTS
+ )
+ ) {
+ if (connect_mutex)
+ pthread_mutex_unlock(&spider_open_conn_mutex);
+ error_num = mysql_errno(db_conn);
+ disconnect();
+ if (
+ (
+ error_num != CR_CONN_HOST_ERROR &&
+ error_num != CR_CONNECTION_ERROR
+ ) ||
+ !connect_retry_count
+ ) {
+ *conn->need_mon = ER_CONNECT_TO_FOREIGN_DATA_SOURCE;
+ my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
+ server_name ? server_name : tgt_host);
+ DBUG_RETURN(ER_CONNECT_TO_FOREIGN_DATA_SOURCE);
+ }
+ connect_retry_count--;
+ my_sleep((ulong) connect_retry_interval);
+ } else {
+ if (connect_mutex)
+ pthread_mutex_unlock(&spider_open_conn_mutex);
+ break;
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::ping(
+) {
+ DBUG_ENTER("spider_db_mysql::ping");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_param_dry_access())
+ DBUG_RETURN(0);
+ DBUG_RETURN(simple_command(db_conn, COM_PING, 0, 0, 0));
+}
+
+void spider_db_mysql::bg_disconnect()
+{
+ DBUG_ENTER("spider_db_mysql::bg_disconnect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_mysql::disconnect()
+{
+ DBUG_ENTER("spider_db_mysql::disconnect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider db_conn=%p", db_conn));
+ if (db_conn)
+ {
+ mysql_close(db_conn);
+ db_conn = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_mysql::set_net_timeout()
+{
+ DBUG_ENTER("spider_db_mysql::set_net_timeout");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider conn=%p", conn));
+ my_net_set_read_timeout(&db_conn->net, conn->net_read_timeout);
+ my_net_set_write_timeout(&db_conn->net, conn->net_write_timeout);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::exec_query(
+ const char *query,
+ uint length,
+ int quick_mode
+) {
+ int error_num = 0;
+ uint log_result_errors = spider_param_log_result_errors();
+ DBUG_ENTER("spider_db_mysql::exec_query");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_param_general_log())
+ {
+ const char *tgt_str = conn->tgt_host;
+ uint32 tgt_len = conn->tgt_host_length;
+ spider_string tmp_query_str;
+ tmp_query_str.init_calc_mem(230);
+ if (tmp_query_str.reserve(
+ length + conn->tgt_wrapper_length +
+ tgt_len + (SPIDER_SQL_SPACE_LEN * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_query_str.q_append(conn->tgt_wrapper, conn->tgt_wrapper_length);
+ tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ tmp_query_str.q_append(tgt_str, tgt_len);
+ tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ tmp_query_str.q_append(query, length);
+ general_log_write(current_thd, COM_QUERY, tmp_query_str.ptr(),
+ tmp_query_str.length());
+ }
+ if (!spider_param_dry_access())
+ {
+ error_num = mysql_real_query(db_conn, query, length);
+ }
+ if (
+ (error_num && log_result_errors >= 1) ||
+ (log_result_errors >= 2 && db_conn->warning_count > 0) ||
+ (log_result_errors >= 4)
+ ) {
+ THD *thd = current_thd;
+ uint log_result_error_with_sql = spider_param_log_result_error_with_sql();
+ if (log_result_error_with_sql)
+ {
+ time_t cur_time = (time_t) time((time_t*) 0);
+ struct tm lt;
+ struct tm *l_time = localtime_r(&cur_time, &lt);
+ spider_string tmp_query_str;
+ tmp_query_str.init_calc_mem(243);
+ uint query_length = thd->query_length();
+ if ((log_result_error_with_sql & 2) && query_length)
+ {
+ Security_context *security_ctx = thd->security_ctx;
+ tmp_query_str.length(0);
+ if (tmp_query_str.reserve(query_length + 1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_query_str.q_append(thd->query(), query_length);
+ fprintf(stderr, "%04d%02d%02d %02d:%02d:%02d [RECV SPIDER SQL] "
+ "from [%s][%s] to %ld: "
+ "sql: %s\n",
+ l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday,
+ l_time->tm_hour, l_time->tm_min, l_time->tm_sec,
+ security_ctx->user ? security_ctx->user : "system user",
+ security_ctx->host_or_ip,
+ thd->thread_id,
+ tmp_query_str.c_ptr_safe());
+ }
+ if (log_result_error_with_sql & 1)
+ {
+ tmp_query_str.length(0);
+ if (tmp_query_str.reserve(length + 1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_query_str.q_append(query, length);
+ fprintf(stderr, "%04d%02d%02d %02d:%02d:%02d [SEND SPIDER SQL] "
+ "from %ld to [%s] %ld: "
+ "sql: %s\n",
+ l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday,
+ l_time->tm_hour, l_time->tm_min, l_time->tm_sec,
+ thd->thread_id, conn->tgt_host, db_conn->thread_id,
+ tmp_query_str.c_ptr_safe());
+ }
+ }
+ if (log_result_errors >= 2 && db_conn->warning_count > 0)
+ {
+ time_t cur_time = (time_t) time((time_t*) 0);
+ struct tm lt;
+ struct tm *l_time = localtime_r(&cur_time, &lt);
+ fprintf(stderr, "%04d%02d%02d %02d:%02d:%02d [WARN SPIDER RESULT] "
+ "from [%s] %ld to %ld: "
+ "affected_rows: %llu id: %llu status: %u warning_count: %u\n",
+ l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday,
+ l_time->tm_hour, l_time->tm_min, l_time->tm_sec,
+ conn->tgt_host, db_conn->thread_id, thd->thread_id,
+ db_conn->affected_rows, db_conn->insert_id,
+ db_conn->server_status, db_conn->warning_count);
+ if (spider_param_log_result_errors() >= 3)
+ print_warnings(l_time);
+ } else if (log_result_errors >= 4)
+ {
+ time_t cur_time = (time_t) time((time_t*) 0);
+ struct tm lt;
+ struct tm *l_time = localtime_r(&cur_time, &lt);
+ fprintf(stderr, "%04d%02d%02d %02d:%02d:%02d [INFO SPIDER RESULT] "
+ "from [%s] %ld to %ld: "
+ "affected_rows: %llu id: %llu status: %u warning_count: %u\n",
+ l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday,
+ l_time->tm_hour, l_time->tm_min, l_time->tm_sec,
+ conn->tgt_host, db_conn->thread_id, thd->thread_id,
+ db_conn->affected_rows, db_conn->insert_id,
+ db_conn->server_status, db_conn->warning_count);
+ }
+ }
+ DBUG_RETURN(error_num);
+}
+
+int spider_db_mysql::get_errno()
+{
+ DBUG_ENTER("spider_db_mysql::get_errno");
+ DBUG_PRINT("info",("spider this=%p", this));
+ stored_error = mysql_errno(db_conn);
+ DBUG_PRINT("info",("spider stored_error=%d", stored_error));
+ DBUG_RETURN(stored_error);
+}
+
+const char *spider_db_mysql::get_error()
+{
+ const char *error_ptr;
+ DBUG_ENTER("spider_db_mysql::get_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_ptr = mysql_error(db_conn);
+ DBUG_PRINT("info",("spider error=%s", error_ptr));
+ DBUG_RETURN(error_ptr);
+}
+
+bool spider_db_mysql::is_server_gone_error(
+ int error_num
+) {
+ bool server_gone;
+ DBUG_ENTER("spider_db_mysql::is_server_gone_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ server_gone =
+ (error_num == CR_SERVER_GONE_ERROR || error_num == CR_SERVER_LOST);
+ DBUG_PRINT("info",("spider server_gone=%s", server_gone ? "TRUE" : "FALSE"));
+ DBUG_RETURN(server_gone);
+}
+
+bool spider_db_mysql::is_dup_entry_error(
+ int error_num
+) {
+ bool dup_entry;
+ DBUG_ENTER("spider_db_mysql::is_dup_entry_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ dup_entry =
+ (
+ error_num == ER_DUP_ENTRY ||
+ error_num == ER_DUP_KEY ||
+ error_num == HA_ERR_FOUND_DUPP_KEY
+ );
+ DBUG_PRINT("info",("spider dup_entry=%s", dup_entry ? "TRUE" : "FALSE"));
+ DBUG_RETURN(dup_entry);
+}
+
+bool spider_db_mysql::is_xa_nota_error(
+ int error_num
+) {
+ bool xa_nota;
+ DBUG_ENTER("spider_db_mysql::is_xa_nota_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ xa_nota =
+ (
+ error_num == ER_XAER_NOTA ||
+ error_num == ER_XA_RBTIMEOUT ||
+ error_num == ER_XA_RBDEADLOCK
+ );
+ DBUG_PRINT("info",("spider xa_nota=%s", xa_nota ? "TRUE" : "FALSE"));
+ DBUG_RETURN(xa_nota);
+}
+
+void spider_db_mysql::print_warnings(
+ struct tm *l_time
+) {
+ DBUG_ENTER("spider_db_mysql::print_warnings");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (db_conn->status == MYSQL_STATUS_READY)
+ {
+#if MYSQL_VERSION_ID < 50500
+ if (!(db_conn->last_used_con->server_status & SERVER_MORE_RESULTS_EXISTS))
+#else
+ if (!(db_conn->server_status & SERVER_MORE_RESULTS_EXISTS))
+#endif
+ {
+/*
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+*/
+ if (
+ spider_param_dry_access() ||
+ !mysql_real_query(db_conn, SPIDER_SQL_SHOW_WARNINGS_STR,
+ SPIDER_SQL_SHOW_WARNINGS_LEN)
+ ) {
+ MYSQL_RES *res = NULL;
+ MYSQL_ROW row = NULL;
+ uint num_fields;
+ if (
+ spider_param_dry_access() ||
+ !(res = mysql_store_result(db_conn)) ||
+ !(row = mysql_fetch_row(res))
+ ) {
+ if (mysql_errno(db_conn))
+ {
+ if (res)
+ mysql_free_result(res);
+/*
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+*/
+ DBUG_VOID_RETURN;
+ }
+ /* no record is ok */
+ }
+/*
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+*/
+ num_fields = mysql_num_fields(res);
+ if (num_fields != 3)
+ {
+ mysql_free_result(res);
+ DBUG_VOID_RETURN;
+ }
+ while (row)
+ {
+ fprintf(stderr, "%04d%02d%02d %02d:%02d:%02d [WARN SPIDER RESULT] "
+ "from [%s] %ld to %ld: %s %s %s\n",
+ l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday,
+ l_time->tm_hour, l_time->tm_min, l_time->tm_sec,
+ conn->tgt_host, db_conn->thread_id,
+ current_thd->thread_id, row[0], row[1], row[2]);
+ row = mysql_fetch_row(res);
+ }
+ if (res)
+ mysql_free_result(res);
+ } else {
+/*
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+*/
+ }
+ }
+ }
+ DBUG_VOID_RETURN;
+}
+
+spider_db_result *spider_db_mysql::store_result(
+ spider_db_result_buffer **spider_res_buf,
+ st_spider_db_request_key *request_key,
+ int *error_num
+) {
+ spider_db_mysql_result *result;
+ DBUG_ENTER("spider_db_mysql::store_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(!spider_res_buf);
+ if ((result = new spider_db_mysql_result()))
+ {
+ *error_num = 0;
+ if (
+ spider_param_dry_access() ||
+ !(result->db_result = mysql_store_result(db_conn))
+ ) {
+ delete result;
+ result = NULL;
+ } else {
+ result->first_row = result->db_result->data_cursor;
+ DBUG_PRINT("info",("spider result->first_row=%p", result->first_row));
+ }
+ } else {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ }
+ DBUG_RETURN(result);
+}
+
+spider_db_result *spider_db_mysql::use_result(
+ st_spider_db_request_key *request_key,
+ int *error_num
+) {
+ spider_db_mysql_result *result;
+ DBUG_ENTER("spider_db_mysql::use_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((result = new spider_db_mysql_result()))
+ {
+ *error_num = 0;
+ if (
+ spider_param_dry_access() ||
+ !(result->db_result = db_conn->methods->use_result(db_conn))
+ ) {
+ delete result;
+ result = NULL;
+ } else {
+ result->first_row = NULL;
+ }
+ } else {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ }
+ DBUG_RETURN(result);
+}
+
+int spider_db_mysql::next_result()
+{
+ int status;
+ DBUG_ENTER("spider_db_mysql::next_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (db_conn->status != MYSQL_STATUS_READY)
+ {
+ my_message(ER_SPIDER_UNKNOWN_NUM, ER_SPIDER_UNKNOWN_STR, MYF(0));
+ DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
+ }
+
+ db_conn->net.last_errno = 0;
+ db_conn->net.last_error[0] = '\0';
+ strmov(db_conn->net.sqlstate, "00000");
+ db_conn->affected_rows = ~(my_ulonglong) 0;
+
+#if MYSQL_VERSION_ID < 50500
+ if (db_conn->last_used_con->server_status & SERVER_MORE_RESULTS_EXISTS)
+#else
+ if (db_conn->server_status & SERVER_MORE_RESULTS_EXISTS)
+#endif
+ {
+ if ((status = db_conn->methods->read_query_result(db_conn)) > 0)
+ DBUG_RETURN(spider_db_errorno(conn));
+ DBUG_RETURN(status);
+ }
+ DBUG_RETURN(-1);
+}
+
+uint spider_db_mysql::affected_rows()
+{
+ MYSQL *last_used_con;
+ DBUG_ENTER("spider_db_mysql::affected_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+#if MYSQL_VERSION_ID < 50500
+ last_used_con = db_conn->last_used_con;
+#else
+ last_used_con = db_conn;
+#endif
+ DBUG_RETURN((uint) last_used_con->affected_rows);
+}
+
+ulonglong spider_db_mysql::last_insert_id()
+{
+ MYSQL *last_used_con;
+ DBUG_ENTER("spider_db_mysql::last_insert_id");
+ DBUG_PRINT("info",("spider this=%p", this));
+#if MYSQL_VERSION_ID < 50500
+ last_used_con = db_conn->last_used_con;
+#else
+ last_used_con = db_conn;
+#endif
+ DBUG_RETURN((uint) last_used_con->insert_id);
+}
+
+int spider_db_mysql::set_character_set(
+ const char *csname
+) {
+ DBUG_ENTER("spider_db_mysql::set_character_set");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_param_dry_access())
+ DBUG_RETURN(0);
+ DBUG_RETURN(mysql_set_character_set(db_conn, csname));
+}
+
+int spider_db_mysql::select_db(
+ const char *dbname
+) {
+ DBUG_ENTER("spider_db_mysql::select_db");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_param_dry_access())
+ DBUG_RETURN(0);
+ DBUG_RETURN(mysql_select_db(db_conn, dbname));
+}
+
+int spider_db_mysql::consistent_snapshot(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_mysql::consistent_snapshot");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_START_CONSISTENT_SNAPSHOT_STR,
+ SPIDER_SQL_START_CONSISTENT_SNAPSHOT_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql::trx_start_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_mysql::trx_start_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_db_mysql::start_transaction(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_mysql::start_transaction");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_START_TRANSACTION_STR,
+ SPIDER_SQL_START_TRANSACTION_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::commit(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_mysql::commit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_COMMIT_STR,
+ SPIDER_SQL_COMMIT_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::rollback(
+ int *need_mon
+) {
+ bool is_error;
+ int error_num;
+ DBUG_ENTER("spider_db_mysql::rollback");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_ROLLBACK_STR,
+ SPIDER_SQL_ROLLBACK_LEN,
+ -1,
+ need_mon)
+ ) {
+ is_error = conn->thd->is_error();
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ error_num = spider_db_errorno(conn);
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !is_error
+ )
+ conn->thd->clear_error();
+ else {
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::xa_start(
+ XID *xid,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_mysql::xa_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql::xa_start_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_mysql::xa_start_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_db_mysql::xa_end(
+ XID *xid,
+ int *need_mon
+) {
+ char sql_buf[SPIDER_SQL_XA_END_LEN + XIDDATASIZE + sizeof(long) + 9];
+ spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
+ DBUG_ENTER("spider_db_mysql::xa_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql_str.init_calc_mem(108);
+
+ sql_str.length(0);
+ sql_str.q_append(SPIDER_SQL_XA_END_STR, SPIDER_SQL_XA_END_LEN);
+ spider_db_append_xid_str(&sql_str, xid);
+ if (spider_db_query(
+ conn,
+ sql_str.ptr(),
+ sql_str.length(),
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::xa_prepare(
+ XID *xid,
+ int *need_mon
+) {
+ char sql_buf[SPIDER_SQL_XA_PREPARE_LEN + XIDDATASIZE + sizeof(long) + 9];
+ spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
+ DBUG_ENTER("spider_db_mysql::xa_prepare");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql_str.init_calc_mem(109);
+
+ sql_str.length(0);
+ sql_str.q_append(SPIDER_SQL_XA_PREPARE_STR, SPIDER_SQL_XA_PREPARE_LEN);
+ spider_db_append_xid_str(&sql_str, xid);
+ if (spider_db_query(
+ conn,
+ sql_str.ptr(),
+ sql_str.length(),
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::xa_commit(
+ XID *xid,
+ int *need_mon
+) {
+ char sql_buf[SPIDER_SQL_XA_COMMIT_LEN + XIDDATASIZE + sizeof(long) + 9];
+ spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
+ DBUG_ENTER("spider_db_mysql::xa_commit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql_str.init_calc_mem(110);
+
+ sql_str.length(0);
+ sql_str.q_append(SPIDER_SQL_XA_COMMIT_STR, SPIDER_SQL_XA_COMMIT_LEN);
+ spider_db_append_xid_str(&sql_str, xid);
+ if (spider_db_query(
+ conn,
+ sql_str.ptr(),
+ sql_str.length(),
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::xa_rollback(
+ XID *xid,
+ int *need_mon
+) {
+ char sql_buf[SPIDER_SQL_XA_ROLLBACK_LEN + XIDDATASIZE + sizeof(long) + 9];
+ spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
+ DBUG_ENTER("spider_db_mysql::xa_rollback");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql_str.init_calc_mem(111);
+
+ sql_str.length(0);
+ sql_str.q_append(SPIDER_SQL_XA_ROLLBACK_STR, SPIDER_SQL_XA_ROLLBACK_LEN);
+ spider_db_append_xid_str(&sql_str, xid);
+ if (spider_db_query(
+ conn,
+ sql_str.ptr(),
+ sql_str.length(),
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql::set_trx_isolation_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_mysql::set_trx_isolation_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_db_mysql::set_trx_isolation(
+ int trx_isolation,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_mysql::set_trx_isolation");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (trx_isolation)
+ {
+ case ISO_READ_UNCOMMITTED:
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_ISO_READ_UNCOMMITTED_STR,
+ SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ break;
+ case ISO_READ_COMMITTED:
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_ISO_READ_COMMITTED_STR,
+ SPIDER_SQL_ISO_READ_COMMITTED_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ break;
+ case ISO_REPEATABLE_READ:
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_ISO_REPEATABLE_READ_STR,
+ SPIDER_SQL_ISO_REPEATABLE_READ_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ break;
+ case ISO_SERIALIZABLE:
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_ISO_SERIALIZABLE_STR,
+ SPIDER_SQL_ISO_SERIALIZABLE_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ break;
+ default:
+ DBUG_RETURN(HA_ERR_UNSUPPORTED);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql::set_autocommit_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_mysql::set_autocommit_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_db_mysql::set_autocommit(
+ bool autocommit,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_mysql::set_autocommit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (autocommit)
+ {
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_AUTOCOMMIT_ON_STR,
+ SPIDER_SQL_AUTOCOMMIT_ON_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ } else {
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_AUTOCOMMIT_OFF_STR,
+ SPIDER_SQL_AUTOCOMMIT_OFF_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql::set_sql_log_off_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_mysql::set_sql_log_off_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_db_mysql::set_sql_log_off(
+ bool sql_log_off,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_mysql::set_sql_log_off");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_log_off)
+ {
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_SQL_LOG_ON_STR,
+ SPIDER_SQL_SQL_LOG_ON_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ } else {
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_SQL_LOG_OFF_STR,
+ SPIDER_SQL_SQL_LOG_OFF_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql::set_time_zone_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_mysql::set_time_zone_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_db_mysql::set_time_zone(
+ Time_zone *time_zone,
+ int *need_mon
+) {
+ const String *tz_str = time_zone->get_name();
+ char sql_buf[MAX_FIELD_WIDTH];
+ spider_string sql_str(sql_buf, sizeof(sql_buf), &my_charset_bin);
+ DBUG_ENTER("spider_db_mysql::set_time_zone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql_str.init_calc_mem(214);
+ sql_str.length(0);
+ if (sql_str.reserve(SPIDER_SQL_TIME_ZONE_LEN +
+ tz_str->length() + SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_str.q_append(SPIDER_SQL_TIME_ZONE_STR, SPIDER_SQL_TIME_ZONE_LEN);
+ sql_str.q_append(tz_str->ptr(), tz_str->length());
+ sql_str.q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if (spider_db_query(
+ conn,
+ sql_str.ptr(),
+ sql_str.length(),
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+int spider_db_mysql::append_sql(
+ char *sql,
+ ulong sql_length,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_mysql::append_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::append_open_handler(
+ uint handler_id,
+ const char *db_name,
+ const char *table_name,
+ const char *index_name,
+ const char *sql,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_mysql::append_open_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::append_select(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_mysql::append_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::append_insert(
+ uint handler_id,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_mysql::append_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::append_update(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ int limit,
+ int skip,
+ bool increment,
+ bool decrement,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_mysql::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::append_delete(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_mysql::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+void spider_db_mysql::reset_request_queue()
+{
+ DBUG_ENTER("spider_db_mysql::reset_request_queue");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+#endif
+
+size_t spider_db_mysql::escape_string(
+ char *to,
+ const char *from,
+ size_t from_length
+) {
+ DBUG_ENTER("spider_db_mysql::escape_string");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (db_conn->server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES)
+ DBUG_RETURN(escape_quotes_for_mysql(db_conn->charset, to, 0,
+ from, from_length));
+ DBUG_RETURN(escape_string_for_mysql(db_conn->charset, to, 0,
+ from, from_length));
+}
+
+bool spider_db_mysql::have_lock_table_list()
+{
+ DBUG_ENTER("spider_db_mysql::have_lock_table_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(lock_table_hash.records);
+}
+
+int spider_db_mysql::append_lock_tables(
+ spider_string *str
+) {
+ int error_num;
+ ha_spider *tmp_spider;
+ int lock_type;
+ uint conn_link_idx;
+ int tmp_link_idx;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
+ const char *db_name;
+ uint db_name_length;
+ CHARSET_INFO *db_name_charset;
+ const char *table_name;
+ uint table_name_length;
+ CHARSET_INFO *table_name_charset;
+ DBUG_ENTER("spider_db_mysql::lock_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = spider_db_mysql_utility.append_lock_table_head(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ while ((tmp_link_for_hash =
+ (SPIDER_LINK_FOR_HASH *) my_hash_element(&lock_table_hash, 0)))
+ {
+ tmp_spider = tmp_link_for_hash->spider;
+ tmp_link_idx = tmp_link_for_hash->link_idx;
+ switch (tmp_spider->lock_type)
+ {
+ case TL_READ:
+ lock_type = SPIDER_DB_TABLE_LOCK_READ_LOCAL;
+ break;
+ case TL_READ_NO_INSERT:
+ lock_type = SPIDER_DB_TABLE_LOCK_READ;
+ break;
+ case TL_WRITE_LOW_PRIORITY:
+ lock_type = SPIDER_DB_TABLE_LOCK_LOW_PRIORITY_WRITE;
+ break;
+ case TL_WRITE:
+ lock_type = SPIDER_DB_TABLE_LOCK_WRITE;
+ break;
+ default:
+ // no lock
+ DBUG_PRINT("info",("spider lock_type=%d", tmp_spider->lock_type));
+ DBUG_RETURN(0);
+ }
+ conn_link_idx = tmp_spider->conn_link_idx[tmp_link_idx];
+ spider_mysql_share *db_share = (spider_mysql_share *)
+ tmp_spider->share->dbton_share[conn->dbton_id];
+ if (&db_share->db_names_str[conn_link_idx])
+ {
+ db_name = db_share->db_names_str[conn_link_idx].ptr();
+ db_name_length = db_share->db_names_str[conn_link_idx].length();
+ db_name_charset = tmp_spider->share->access_charset;
+ } else {
+ db_name = tmp_spider->share->tgt_dbs[conn_link_idx];
+ db_name_length = tmp_spider->share->tgt_dbs_lengths[conn_link_idx];
+ db_name_charset = system_charset_info;
+ }
+ if (&db_share->table_names_str[conn_link_idx])
+ {
+ table_name = db_share->table_names_str[conn_link_idx].ptr();
+ table_name_length = db_share->table_names_str[conn_link_idx].length();
+ table_name_charset = tmp_spider->share->access_charset;
+ } else {
+ table_name = tmp_spider->share->tgt_table_names[conn_link_idx];
+ table_name_length =
+ tmp_spider->share->tgt_table_names_lengths[conn_link_idx];
+ table_name_charset = system_charset_info;
+ }
+ if ((error_num = spider_db_mysql_utility.
+ append_lock_table_body(
+ str,
+ db_name,
+ db_name_length,
+ db_name_charset,
+ table_name,
+ table_name_length,
+ table_name_charset,
+ lock_type
+ )
+ )) {
+ my_hash_reset(&lock_table_hash);
+ DBUG_RETURN(error_num);
+ }
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ my_hash_delete_with_hash_value(&lock_table_hash,
+ tmp_link_for_hash->db_table_str_hash_value, (uchar*) tmp_link_for_hash);
+#else
+ my_hash_delete(&lock_table_hash, (uchar*) tmp_link_for_hash);
+#endif
+ }
+ if ((error_num = spider_db_mysql_utility.append_lock_table_tail(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql::append_unlock_tables(
+ spider_string *str
+) {
+ int error_num;
+ DBUG_ENTER("spider_db_mysql::append_unlock_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = spider_db_mysql_utility.append_unlock_table(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+uint spider_db_mysql::get_lock_table_hash_count()
+{
+ DBUG_ENTER("spider_db_mysql::get_lock_table_hash_count");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(lock_table_hash.records);
+}
+
+void spider_db_mysql::reset_lock_table_hash()
+{
+ DBUG_ENTER("spider_db_mysql::reset_lock_table_hash");
+ DBUG_PRINT("info",("spider this=%p", this));
+ my_hash_reset(&lock_table_hash);
+ DBUG_VOID_RETURN;
+}
+
+uint spider_db_mysql::get_opened_handler_count()
+{
+ DBUG_ENTER("spider_db_mysql::get_opened_handler_count");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(handler_open_array.elements);
+}
+
+void spider_db_mysql::reset_opened_handler()
+{
+ ha_spider *tmp_spider;
+ int tmp_link_idx;
+ SPIDER_LINK_FOR_HASH **tmp_link_for_hash;
+ DBUG_ENTER("spider_db_mysql::reset_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ while ((tmp_link_for_hash =
+ (SPIDER_LINK_FOR_HASH **) pop_dynamic(&handler_open_array)))
+ {
+ tmp_spider = (*tmp_link_for_hash)->spider;
+ tmp_link_idx = (*tmp_link_for_hash)->link_idx;
+ tmp_spider->clear_handler_opened(tmp_link_idx, conn->conn_kind);
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_mysql::set_dup_key_idx(
+ ha_spider *spider,
+ int link_idx
+) {
+ TABLE *table = spider->get_table();
+ uint roop_count, pk_idx = table->s->primary_key;
+ int key_name_length;
+ int max_length = 0;
+ char *key_name;
+ DBUG_ENTER("spider_db_mysql::set_dup_key_idx");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider error_str=%s", conn->error_str));
+ for (roop_count = 0; roop_count < table->s->keys; roop_count++)
+ {
+ if (roop_count == pk_idx)
+ {
+ DBUG_PRINT("info",("spider pk_idx=%u", roop_count));
+ int all_link_idx = spider->conn_link_idx[link_idx];
+ key_name = spider->share->tgt_pk_names[all_link_idx];
+ key_name_length = spider->share->tgt_pk_names_lengths[all_link_idx];
+ } else {
+ key_name = table->s->key_info[roop_count].name;
+ key_name_length = strlen(key_name);
+ }
+ DBUG_PRINT("info",("spider key_name=%s", key_name));
+ if (
+ max_length < key_name_length &&
+ conn->error_length - 1 >= key_name_length &&
+ *(conn->error_str + conn->error_length - 2 -
+ key_name_length) == '\'' &&
+ !strncasecmp(conn->error_str +
+ conn->error_length - 1 - key_name_length,
+ key_name, key_name_length)
+ ) {
+ max_length = key_name_length;
+ spider->dup_key_idx = roop_count;
+ }
+ }
+ if (max_length == 0)
+ spider->dup_key_idx = (uint) -1;
+ DBUG_PRINT("info",("spider dup_key_idx=%d", spider->dup_key_idx));
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_mysql::cmp_request_key_to_snd(
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_mysql::cmp_request_key_to_snd");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+spider_db_mysql_util::spider_db_mysql_util() : spider_db_util()
+{
+ DBUG_ENTER("spider_db_mysql_util::spider_db_mysql_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_mysql_util::~spider_db_mysql_util()
+{
+ DBUG_ENTER("spider_db_mysql_util::~spider_db_mysql_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_mysql_util::append_name(
+ spider_string *str,
+ const char *name,
+ uint name_length
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_name");
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(name, name_length);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_name_with_charset(
+ spider_string *str,
+ const char *name,
+ uint name_length,
+ CHARSET_INFO *name_charset
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_name_with_charset");
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2 + name_length * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->append(name, name_length, name_charset);
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+bool spider_db_mysql_util::is_name_quote(
+ const char head_code
+) {
+ DBUG_ENTER("spider_db_mysql_util::is_name_quote");
+ DBUG_RETURN(head_code == *name_quote_str);
+}
+
+int spider_db_mysql_util::append_escaped_name_quote(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_escaped_name_quote");
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_column_value(
+ ha_spider *spider,
+ spider_string *str,
+ Field *field,
+ const uchar *new_ptr,
+ CHARSET_INFO *access_charset
+) {
+ char buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ String *ptr;
+ uint length;
+ DBUG_ENTER("spider_db_mysql_util::append_column_value");
+ tmp_str.init_calc_mem(113);
+
+ if (new_ptr)
+ {
+ if (
+ field->type() == MYSQL_TYPE_BLOB ||
+ field->real_type() == MYSQL_TYPE_VARCHAR
+ ) {
+ length = uint2korr(new_ptr);
+ tmp_str.set_quick((char *) new_ptr + HA_KEY_BLOB_LENGTH, length,
+ &my_charset_bin);
+ ptr = tmp_str.get_str();
+ } else if (field->type() == MYSQL_TYPE_GEOMETRY)
+ {
+/*
+ uint mlength = SIZEOF_STORED_DOUBLE, lcnt;
+ uchar *dest = (uchar *) buf;
+ const uchar *source;
+ for (lcnt = 0; lcnt < 4; lcnt++)
+ {
+ mlength = SIZEOF_STORED_DOUBLE;
+ source = new_ptr + mlength + SIZEOF_STORED_DOUBLE * lcnt;
+ while (mlength--)
+ *dest++ = *--source;
+ }
+ tmp_str.length(SIZEOF_STORED_DOUBLE * lcnt);
+*/
+#ifndef DBUG_OFF
+ double xmin, xmax, ymin, ymax;
+/*
+ float8store(buf,xmin);
+ float8store(buf+8,xmax);
+ float8store(buf+16,ymin);
+ float8store(buf+24,ymax);
+ memcpy(&xmin,new_ptr,sizeof(xmin));
+ memcpy(&xmax,new_ptr + 8,sizeof(xmax));
+ memcpy(&ymin,new_ptr + 16,sizeof(ymin));
+ memcpy(&ymax,new_ptr + 24,sizeof(ymax));
+ float8get(xmin, buf);
+ float8get(xmax, buf + 8);
+ float8get(ymin, buf + 16);
+ float8get(ymax, buf + 24);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ DBUG_PRINT("info", ("spider geo is %.14g %.14g %.14g %.14g",
+ xmin, xmax, ymin, ymax));
+*/
+ float8get(xmin, new_ptr);
+ float8get(xmax, new_ptr + 8);
+ float8get(ymin, new_ptr + 16);
+ float8get(ymax, new_ptr + 24);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+/*
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 4);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 5);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 6);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 7);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 8);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 9);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 10);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 11);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 12);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 13);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 14);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 15);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+*/
+#endif
+/*
+ tmp_str.set_quick((char *) new_ptr, SIZEOF_STORED_DOUBLE * 4,
+ &my_charset_bin);
+*/
+ tmp_str.length(0);
+ tmp_str.q_append((char *) SPIDER_SQL_LINESTRING_HEAD_STR,
+ SPIDER_SQL_LINESTRING_HEAD_LEN);
+ tmp_str.q_append((char *) new_ptr, SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 2,
+ SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE,
+ SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 3,
+ SIZEOF_STORED_DOUBLE);
+ ptr = tmp_str.get_str();
+ } else {
+ ptr = field->val_str(tmp_str.get_str(), new_ptr);
+ tmp_str.mem_calc();
+ }
+ } else {
+ ptr = field->val_str(tmp_str.get_str());
+ tmp_str.mem_calc();
+ }
+ DBUG_PRINT("info", ("spider field->type() is %d", field->type()));
+ DBUG_PRINT("info", ("spider ptr->length() is %d", ptr->length()));
+/*
+ if (
+ field->type() == MYSQL_TYPE_BIT ||
+ (field->type() >= MYSQL_TYPE_TINY_BLOB &&
+ field->type() <= MYSQL_TYPE_BLOB)
+ ) {
+ uchar *hex_ptr = (uchar *) ptr->ptr(), *end_ptr;
+ char *str_ptr;
+ DBUG_PRINT("info", ("spider HEX"));
+ if (str->reserve(SPIDER_SQL_HEX_LEN + ptr->length() * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HEX_STR, SPIDER_SQL_HEX_LEN);
+ str_ptr = (char *) str->ptr() + str->length();
+ for (end_ptr = hex_ptr + ptr->length(); hex_ptr < end_ptr; hex_ptr++)
+ {
+ *str_ptr++ = spider_dig_upper[(*hex_ptr) >> 4];
+ *str_ptr++ = spider_dig_upper[(*hex_ptr) & 0x0F];
+ }
+ str->length(str->length() + ptr->length() * 2);
+ } else
+*/
+ if (field->result_type() == STRING_RESULT)
+ {
+ DBUG_PRINT("info", ("spider STRING_RESULT"));
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if (
+ field->type() == MYSQL_TYPE_VARCHAR ||
+ (field->type() >= MYSQL_TYPE_ENUM &&
+ field->type() <= MYSQL_TYPE_GEOMETRY)
+ ) {
+ DBUG_PRINT("info", ("spider append_escaped"));
+ char buf2[MAX_FIELD_WIDTH];
+ spider_string tmp_str2(buf2, MAX_FIELD_WIDTH, access_charset);
+ tmp_str2.init_calc_mem(114);
+ tmp_str2.length(0);
+ if (
+ tmp_str2.append(ptr->ptr(), ptr->length(), field->charset()) ||
+ str->reserve(tmp_str2.length() * 2) ||
+ append_escaped_util(str, tmp_str2.get_str())
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ } else if (str->append(*ptr))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else if (field->str_needs_quotes())
+ {
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN * 2 + ptr->length() * 2 + 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ append_escaped_util(str, ptr);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else if (str->append(*ptr))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_from_with_alias(
+ spider_string *str,
+ const char **table_names,
+ uint *table_name_lengths,
+ const char **table_aliases,
+ uint *table_alias_lengths,
+ uint table_count,
+ int *table_name_pos,
+ bool over_write
+) {
+ uint roop_count, length = 0;
+ DBUG_ENTER("spider_db_mysql_util::append_from_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!over_write)
+ {
+ for (roop_count = 0; roop_count < table_count; roop_count++)
+ length += table_name_lengths[roop_count] + SPIDER_SQL_SPACE_LEN +
+ table_alias_lengths[roop_count] + SPIDER_SQL_COMMA_LEN;
+ if (str->reserve(SPIDER_SQL_FROM_LEN + length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ *table_name_pos = str->length();
+ }
+ for (roop_count = 0; roop_count < table_count; roop_count++)
+ {
+ str->q_append(table_names[roop_count], table_name_lengths[roop_count]);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(table_aliases[roop_count], table_alias_lengths[roop_count]);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_trx_isolation(
+ spider_string *str,
+ int trx_isolation
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_trx_isolation");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
+ SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ switch (trx_isolation)
+ {
+ case ISO_READ_UNCOMMITTED:
+ str->q_append(SPIDER_SQL_ISO_READ_UNCOMMITTED_STR,
+ SPIDER_SQL_ISO_READ_UNCOMMITTED_LEN);
+ break;
+ case ISO_READ_COMMITTED:
+ str->q_append(SPIDER_SQL_ISO_READ_COMMITTED_STR,
+ SPIDER_SQL_ISO_READ_COMMITTED_LEN);
+ break;
+ case ISO_REPEATABLE_READ:
+ str->q_append(SPIDER_SQL_ISO_REPEATABLE_READ_STR,
+ SPIDER_SQL_ISO_REPEATABLE_READ_LEN);
+ break;
+ case ISO_SERIALIZABLE:
+ str->q_append(SPIDER_SQL_ISO_SERIALIZABLE_STR,
+ SPIDER_SQL_ISO_SERIALIZABLE_LEN);
+ break;
+ default:
+ DBUG_RETURN(HA_ERR_UNSUPPORTED);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_autocommit(
+ spider_string *str,
+ bool autocommit
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_autocommit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_AUTOCOMMIT_OFF_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ if (autocommit)
+ {
+ str->q_append(SPIDER_SQL_AUTOCOMMIT_ON_STR,
+ SPIDER_SQL_AUTOCOMMIT_ON_LEN);
+ } else {
+ str->q_append(SPIDER_SQL_AUTOCOMMIT_OFF_STR,
+ SPIDER_SQL_AUTOCOMMIT_OFF_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_sql_log_off(
+ spider_string *str,
+ bool sql_log_off
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_sql_log_off");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_SQL_LOG_OFF_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ if (sql_log_off)
+ {
+ str->q_append(SPIDER_SQL_SQL_LOG_ON_STR, SPIDER_SQL_SQL_LOG_ON_LEN);
+ } else {
+ str->q_append(SPIDER_SQL_SQL_LOG_OFF_STR, SPIDER_SQL_SQL_LOG_OFF_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_time_zone(
+ spider_string *str,
+ Time_zone *time_zone
+) {
+ const String *tz_str = time_zone->get_name();
+ DBUG_ENTER("spider_db_mysql_util::append_time_zone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_TIME_ZONE_LEN +
+ tz_str->length() + SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ str->q_append(SPIDER_SQL_TIME_ZONE_STR, SPIDER_SQL_TIME_ZONE_LEN);
+ str->q_append(tz_str->ptr(), tz_str->length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_start_transaction(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_start_transaction");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
+ SPIDER_SQL_START_TRANSACTION_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ str->q_append(SPIDER_SQL_START_TRANSACTION_STR,
+ SPIDER_SQL_START_TRANSACTION_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_xa_start(
+ spider_string *str,
+ XID *xid
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_xa_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
+ SPIDER_SQL_XA_START_LEN + XIDDATASIZE + sizeof(long) + 9))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ str->q_append(SPIDER_SQL_XA_START_STR, SPIDER_SQL_XA_START_LEN);
+ spider_db_append_xid_str(str, xid);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_lock_table_head(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_lock_table_head");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_LOCK_TABLE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_lock_table_body(
+ spider_string *str,
+ const char *db_name,
+ uint db_name_length,
+ CHARSET_INFO *db_name_charset,
+ const char *table_name,
+ uint table_name_length,
+ CHARSET_INFO *table_name_charset,
+ int lock_type
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_lock_table_body");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (
+ str->append(db_name, db_name_length, db_name_charset) ||
+ str->reserve((SPIDER_SQL_NAME_QUOTE_LEN) * 2 + SPIDER_SQL_DOT_LEN)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (
+ str->append(table_name, table_name_length, table_name_charset) ||
+ str->reserve(SPIDER_SQL_NAME_QUOTE_LEN +
+ spider_db_table_lock_len[lock_type])
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(spider_db_table_lock_str[lock_type],
+ spider_db_table_lock_len[lock_type]);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_lock_table_tail(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_lock_table_tail");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::append_unlock_table(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_unlock_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_UNLOCK_TABLE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_UNLOCK_TABLE_STR, SPIDER_SQL_UNLOCK_TABLE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_mysql_util::open_item_func(
+ Item_func *item_func,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ int error_num;
+ Item *item, **item_list = item_func->arguments();
+ uint roop_count, item_count = item_func->argument_count(), start_item = 0;
+ const char *func_name = SPIDER_SQL_NULL_CHAR_STR,
+ *separete_str = SPIDER_SQL_NULL_CHAR_STR,
+ *last_str = SPIDER_SQL_NULL_CHAR_STR;
+ int func_name_length = SPIDER_SQL_NULL_CHAR_LEN,
+ separete_str_length = SPIDER_SQL_NULL_CHAR_LEN,
+ last_str_length = SPIDER_SQL_NULL_CHAR_LEN;
+ int use_pushdown_udf;
+ DBUG_ENTER("spider_db_mysql_util::open_item_func");
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ DBUG_PRINT("info",("spider functype = %d", item_func->functype()));
+ switch (item_func->functype())
+ {
+ case Item_func::ISNULL_FUNC:
+ last_str = SPIDER_SQL_IS_NULL_STR;
+ last_str_length = SPIDER_SQL_IS_NULL_LEN;
+ break;
+ case Item_func::ISNOTNULL_FUNC:
+ last_str = SPIDER_SQL_IS_NOT_NULL_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_NULL_LEN;
+ break;
+ case Item_func::UNKNOWN_FUNC:
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (func_name_length == 1 &&
+ (
+ !strncasecmp("+", func_name, func_name_length) ||
+ !strncasecmp("-", func_name, func_name_length) ||
+ !strncasecmp("*", func_name, func_name_length) ||
+ !strncasecmp("/", func_name, func_name_length) ||
+ !strncasecmp("%", func_name, func_name_length) ||
+ !strncasecmp("&", func_name, func_name_length) ||
+ !strncasecmp("|", func_name, func_name_length) ||
+ !strncasecmp("^", func_name, func_name_length)
+ )
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 2 &&
+ (
+ !strncasecmp("<<", func_name, func_name_length) ||
+ !strncasecmp(">>", func_name, func_name_length)
+ )
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 3 &&
+ !strncasecmp("div", func_name, func_name_length)
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 4)
+ {
+ if (
+ !strncasecmp("rand", func_name, func_name_length) &&
+ !item_func->arg_count
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (
+ !strncasecmp("case", func_name, func_name_length)
+ ) {
+#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC
+ Item_func_case *item_func_case = (Item_func_case *) item_func;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_CASE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CASE_STR, SPIDER_SQL_CASE_LEN);
+ }
+ if (item_func_case->first_expr_num != -1)
+ {
+ if ((error_num = spider_db_print_item_type(
+ item_list[item_func_case->first_expr_num], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ for (roop_count = 0; roop_count < item_func_case->ncases;
+ roop_count += 2)
+ {
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_WHEN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHEN_STR, SPIDER_SQL_WHEN_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[roop_count], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_THEN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_THEN_STR, SPIDER_SQL_THEN_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[roop_count + 1], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (item_func_case->else_expr_num != -1)
+ {
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_ELSE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ELSE_STR, SPIDER_SQL_ELSE_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[item_func_case->else_expr_num], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_END_LEN + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_END_STR, SPIDER_SQL_END_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+#else
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+#endif
+ }
+ } else if (func_name_length == 6 &&
+ !strncasecmp("istrue", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_TRUE_STR;
+ last_str_length = SPIDER_SQL_IS_TRUE_LEN;
+ break;
+ } else if (func_name_length == 7)
+ {
+ if (!strncasecmp("isfalse", func_name, func_name_length))
+ {
+ last_str = SPIDER_SQL_IS_FALSE_STR;
+ last_str_length = SPIDER_SQL_IS_FALSE_LEN;
+ break;
+ } else if (
+ !strncasecmp("sysdate", func_name, func_name_length) ||
+ !strncasecmp("curdate", func_name, func_name_length) ||
+ !strncasecmp("curtime", func_name, func_name_length)
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (
+ !strncasecmp("convert", func_name, func_name_length)
+ ) {
+ if (str)
+ {
+ if (str->reserve(func_name_length * 2 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
+ SPIDER_SQL_OPEN_PAREN_LEN);
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ }
+ } else if (func_name_length == 8 &&
+ (
+ !strncasecmp("utc_date", func_name, func_name_length) ||
+ !strncasecmp("utc_time", func_name, func_name_length)
+ )
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (func_name_length == 9 &&
+ !strncasecmp("isnottrue", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_NOT_TRUE_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_TRUE_LEN;
+ break;
+ } else if (func_name_length == 10 &&
+ !strncasecmp("isnotfalse", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_NOT_FALSE_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_FALSE_LEN;
+ break;
+ } else if (func_name_length == 12)
+ {
+ if (!strncasecmp("cast_as_date", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_DATE_STR;
+ last_str_length = SPIDER_SQL_AS_DATE_LEN;
+ break;
+ } else if (!strncasecmp("cast_as_time", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_TIME_STR;
+ last_str_length = SPIDER_SQL_AS_TIME_LEN;
+ break;
+ }
+ } else if (func_name_length == 13 &&
+ !strncasecmp("utc_timestamp", func_name, func_name_length)
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (func_name_length == 14)
+ {
+ if (!strncasecmp("cast_as_binary", func_name, func_name_length))
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(123);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_BINARY_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ } else if (!strncasecmp("cast_as_signed", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_SIGNED_STR;
+ last_str_length = SPIDER_SQL_AS_SIGNED_LEN;
+ break;
+ }
+ } else if (func_name_length == 16)
+ {
+ if (!strncasecmp("cast_as_unsigned", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_UNSIGNED_STR;
+ last_str_length = SPIDER_SQL_AS_UNSIGNED_LEN;
+ break;
+ } else if (!strncasecmp("decimal_typecast", func_name,
+ func_name_length))
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(124);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_DECIMAL_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ } else if (!strncasecmp("cast_as_datetime", func_name,
+ func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_DATETIME_STR;
+ last_str_length = SPIDER_SQL_AS_DATETIME_LEN;
+ break;
+ }
+ } else if (func_name_length == 17)
+ {
+ if (!strncasecmp("date_add_interval", func_name, func_name_length))
+ {
+ Item_date_add_interval *item_date_add_interval =
+ (Item_date_add_interval *) item_func;
+ func_name = spider_db_timefunc_interval_str[
+ item_date_add_interval->int_type];
+ func_name_length = strlen(func_name);
+ if ((error_num = spider_db_print_item_type(item_list[0], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (item_date_add_interval->date_sub_interval)
+ {
+ if (str->reserve(SPIDER_SQL_NEGINTERVAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NEGINTERVAL_STR,
+ SPIDER_SQL_NEGINTERVAL_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_INTERVAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INTERVAL_STR, SPIDER_SQL_INTERVAL_LEN);
+ }
+ }
+ if ((error_num = spider_db_print_item_type(item_list[1], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+ }
+ }
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::NOW_FUNC:
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::CHAR_TYPECAST_FUNC:
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(125);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_CHAR_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ }
+ break;
+ case Item_func::NOT_FUNC:
+ case Item_func::NEG_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ break;
+ case Item_func::IN_FUNC:
+ if (((Item_func_opt_neg *) item_func)->negated)
+ {
+ func_name = SPIDER_SQL_NOT_IN_STR;
+ func_name_length = SPIDER_SQL_NOT_IN_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ } else {
+ func_name = SPIDER_SQL_IN_STR;
+ func_name_length = SPIDER_SQL_IN_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ case Item_func::BETWEEN:
+ if (((Item_func_opt_neg *) item_func)->negated)
+ {
+ func_name = SPIDER_SQL_NOT_BETWEEN_STR;
+ func_name_length = SPIDER_SQL_NOT_BETWEEN_LEN;
+ separete_str = SPIDER_SQL_AND_STR;
+ separete_str_length = SPIDER_SQL_AND_LEN;
+ } else {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ separete_str = SPIDER_SQL_AND_STR;
+ separete_str_length = SPIDER_SQL_AND_LEN;
+ }
+ break;
+ case Item_func::UDF_FUNC:
+ use_pushdown_udf = spider_param_use_pushdown_udf(spider->trx->thd,
+ spider->share->use_pushdown_udf);
+ if (!use_pushdown_udf)
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+#ifdef MARIADB_BASE_VERSION
+ case Item_func::XOR_FUNC:
+#else
+ case Item_func::COND_XOR_FUNC:
+#endif
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(
+ spider_db_open_item_cond((Item_cond *) item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::TRIG_COND_FUNC:
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ case Item_func::GUSERVAR_FUNC:
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (item_func->result_type() == STRING_RESULT)
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ else
+ DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::FT_FUNC:
+ if (spider_db_check_ft_idx(item_func, spider) == MAX_KEY)
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ start_item = 1;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_MATCH_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
+ }
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::SP_EQUALS_FUNC:
+ if (str)
+ {
+ func_name = SPIDER_SQL_MBR_EQUAL_STR;
+ func_name_length = SPIDER_SQL_MBR_EQUAL_LEN;
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(func_name_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::SP_DISJOINT_FUNC:
+ case Item_func::SP_INTERSECTS_FUNC:
+ case Item_func::SP_TOUCHES_FUNC:
+ case Item_func::SP_CROSSES_FUNC:
+ case Item_func::SP_WITHIN_FUNC:
+ case Item_func::SP_CONTAINS_FUNC:
+ case Item_func::SP_OVERLAPS_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(
+#ifndef SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
+ SPIDER_SQL_MBR_LEN +
+#endif
+ func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+#ifndef SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
+ str->q_append(SPIDER_SQL_MBR_STR, SPIDER_SQL_MBR_LEN);
+#endif
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::EQ_FUNC:
+ case Item_func::EQUAL_FUNC:
+ case Item_func::NE_FUNC:
+ case Item_func::LT_FUNC:
+ case Item_func::LE_FUNC:
+ case Item_func::GE_FUNC:
+ case Item_func::GT_FUNC:
+ case Item_func::LIKE_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ }
+ break;
+ default:
+ THD *thd = spider->trx->thd;
+ SPIDER_SHARE *share = spider->share;
+ if (spider_param_skip_default_condition(thd,
+ share->skip_default_condition))
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ }
+ break;
+ }
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ DBUG_PRINT("info",("spider separete_str = %s", separete_str));
+ DBUG_PRINT("info",("spider separete_str_length = %d", separete_str_length));
+ DBUG_PRINT("info",("spider last_str = %s", last_str));
+ DBUG_PRINT("info",("spider last_str_length = %d", last_str_length));
+ if (item_count)
+ {
+ item_count--;
+ for (roop_count = start_item; roop_count < item_count; roop_count++)
+ {
+ item = item_list[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (roop_count == 1)
+ {
+ func_name = separete_str;
+ func_name_length = separete_str_length;
+ }
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ }
+ item = item_list[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (item_func->functype() == Item_func::FT_FUNC)
+ {
+ Item_func_match *item_func_match = (Item_func_match *)item_func;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_AGAINST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
+ }
+ item = item_list[0];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(
+ ((item_func_match->flags & FT_BOOL) ?
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
+ ((item_func_match->flags & FT_EXPAND) ?
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
+ ))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (item_func_match->flags & FT_BOOL)
+ str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
+ if (item_func_match->flags & FT_EXPAND)
+ str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
+ }
+ } else if (item_func->functype() == Item_func::UNKNOWN_FUNC)
+ {
+ if (
+ func_name_length == 7 &&
+ !strncasecmp("convert", func_name, func_name_length)
+ ) {
+ if (str)
+ {
+ Item_func_conv_charset *item_func_conv_charset =
+ (Item_func_conv_charset *)item_func;
+ CHARSET_INFO *conv_charset = item_func_conv_charset->conv_charset;
+ uint cset_length = strlen(conv_charset->csname);
+ if (str->reserve(SPIDER_SQL_USING_LEN + cset_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_USING_STR, SPIDER_SQL_USING_LEN);
+ str->q_append(conv_charset->csname, cset_length);
+ }
+ }
+ }
+ if (str)
+ {
+ if (str->reserve(last_str_length + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(last_str, last_str_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_db_mysql_util::open_item_sum_func(
+ Item_sum *item_sum,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ uint roop_count, item_count = item_sum->get_arg_count();
+ int error_num;
+ DBUG_ENTER("spider_db_mysql_util::open_item_sum_func");
+ DBUG_PRINT("info",("spider Sumfunctype = %d", item_sum->sum_func()));
+ switch (item_sum->sum_func())
+ {
+ case Item_sum::COUNT_FUNC:
+ case Item_sum::SUM_FUNC:
+ case Item_sum::MIN_FUNC:
+ case Item_sum::MAX_FUNC:
+ {
+ const char *func_name = item_sum->func_name();
+ uint func_name_length = strlen(func_name);
+ Item *item, **args = item_sum->get_args();
+ if (str)
+ {
+ if (str->reserve(func_name_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ }
+ if (item_count)
+ {
+ item_count--;
+ for (roop_count = 0; roop_count < item_count; roop_count++)
+ {
+ item = args[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ item = args[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ }
+ break;
+ case Item_sum::COUNT_DISTINCT_FUNC:
+ case Item_sum::SUM_DISTINCT_FUNC:
+ case Item_sum::AVG_FUNC:
+ case Item_sum::AVG_DISTINCT_FUNC:
+ case Item_sum::STD_FUNC:
+ case Item_sum::VARIANCE_FUNC:
+ case Item_sum::SUM_BIT_FUNC:
+ case Item_sum::UDF_SUM_FUNC:
+ case Item_sum::GROUP_CONCAT_FUNC:
+ default:
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_db_mysql_util::append_escaped_util(
+ spider_string *to,
+ String *from
+) {
+ DBUG_ENTER("spider_db_mysql_util::append_escaped_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ to->get_str()->append_for_single_quote(from);
+ to->mem_calc();
+ DBUG_RETURN(0);
+}
+
+spider_mysql_share::spider_mysql_share(
+ st_spider_share *share
+) : spider_db_share(
+ share
+),
+ table_select(NULL),
+ table_select_pos(0),
+ key_select(NULL),
+ key_select_pos(NULL),
+ key_hint(NULL),
+ show_table_status(NULL),
+ show_records(NULL),
+ show_index(NULL),
+ table_names_str(NULL),
+ db_names_str(NULL),
+ db_table_str(NULL),
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ db_table_str_hash_value(NULL),
+#endif
+ table_nm_max_length(0),
+ db_nm_max_length(0),
+ column_name_str(NULL),
+ same_db_table_name(TRUE),
+ first_all_link_idx(-1)
+{
+ DBUG_ENTER("spider_mysql_share::spider_mysql_share");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_alloc_calc_mem_init(mem_calc, 71);
+ spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+spider_mysql_share::~spider_mysql_share()
+{
+ DBUG_ENTER("spider_mysql_share::~spider_mysql_share");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (table_select)
+ delete [] table_select;
+ if (key_select)
+ delete [] key_select;
+ if (key_hint)
+ delete [] key_hint;
+ free_show_table_status();
+ free_show_records();
+ free_show_index();
+ free_column_name_str();
+ free_table_names_str();
+ if (key_select_pos)
+ {
+ spider_free(spider_current_trx, key_select_pos, MYF(0));
+ }
+ spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_share::init()
+{
+ int error_num;
+ uint roop_count;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ uint keys = table_share ? table_share->keys : 0;
+ DBUG_ENTER("spider_mysql_share::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(key_select_pos = (int *)
+ spider_bulk_alloc_mem(spider_current_trx, 112,
+ __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
+ &key_select_pos,
+ sizeof(int) * keys,
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ &db_table_str_hash_value,
+ sizeof(my_hash_value_type) * spider_share->all_link_count,
+#endif
+ NullS))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ if (keys > 0 &&
+ !(key_hint = new spider_string[keys])
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ for (roop_count = 0; roop_count < keys; roop_count++)
+ {
+ key_hint[roop_count].init_calc_mem(189);
+ key_hint[roop_count].set_charset(spider_share->access_charset);
+ }
+ DBUG_PRINT("info",("spider key_hint=%p", key_hint));
+
+ if (
+ !(table_select = new spider_string[1]) ||
+ (keys > 0 &&
+ !(key_select = new spider_string[keys])
+ ) ||
+ (error_num = create_table_names_str()) ||
+ (table_share &&
+ (
+ (error_num = create_column_name_str()) ||
+ (error_num = convert_key_hint_str()) ||
+ (error_num = append_show_table_status()) ||
+ (error_num = append_show_records()) ||
+ (error_num = append_show_index())
+ )
+ )
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ table_select->init_calc_mem(96);
+ if (table_share && (error_num = append_table_select()))
+ DBUG_RETURN(error_num);
+
+ for (roop_count = 0; roop_count < keys; roop_count++)
+ {
+ key_select[roop_count].init_calc_mem(97);
+ if ((error_num = append_key_select(roop_count)))
+ DBUG_RETURN(error_num);
+ }
+
+ DBUG_RETURN(error_num);
+}
+
+uint spider_mysql_share::get_column_name_length(
+ uint field_index
+) {
+ DBUG_ENTER("spider_mysql_share::get_column_name_length");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(column_name_str[field_index].length());
+}
+
+int spider_mysql_share::append_column_name(
+ spider_string *str,
+ uint field_index
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_share::append_column_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = spider_db_mysql_utility.append_name(str,
+ column_name_str[field_index].ptr(), column_name_str[field_index].length());
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_share::append_column_name_with_alias(
+ spider_string *str,
+ uint field_index,
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_mysql_share::append_column_name_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(
+ alias_length +
+ column_name_str[field_index].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ append_column_name(str, field_index);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_share::append_table_name(
+ spider_string *str,
+ int all_link_idx
+) {
+ const char *db_nm = db_names_str[all_link_idx].ptr();
+ uint db_nm_len = db_names_str[all_link_idx].length();
+ const char *table_nm = table_names_str[all_link_idx].ptr();
+ uint table_nm_len = table_names_str[all_link_idx].length();
+ DBUG_ENTER("spider_mysql_share::append_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(db_nm_len + SPIDER_SQL_DOT_LEN + table_nm_len +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_db_mysql_utility.append_name(str, db_nm, db_nm_len);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ spider_db_mysql_utility.append_name(str, table_nm, table_nm_len);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_share::append_table_name_with_adjusting(
+ spider_string *str,
+ int all_link_idx
+) {
+ const char *db_nm = db_names_str[all_link_idx].ptr();
+ uint db_nm_len = db_names_str[all_link_idx].length();
+ uint db_nm_max_len = db_nm_max_length;
+ const char *table_nm = table_names_str[all_link_idx].ptr();
+ uint table_nm_len = table_names_str[all_link_idx].length();
+ uint table_nm_max_len = table_nm_max_length;
+ DBUG_ENTER("spider_mysql_share::append_table_name_with_adjusting");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_db_mysql_utility.append_name(str, db_nm, db_nm_len);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ spider_db_mysql_utility.append_name(str, table_nm, table_nm_len);
+ uint length =
+ db_nm_max_len - db_nm_len +
+ table_nm_max_len - table_nm_len;
+ memset((char *) str->ptr() + str->length(), ' ', length);
+ str->length(str->length() + length);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_share::append_from_with_adjusted_table_name(
+ spider_string *str,
+ int *table_name_pos
+) {
+ const char *db_nm = db_names_str[0].ptr();
+ uint db_nm_len = db_names_str[0].length();
+ uint db_nm_max_len = db_nm_max_length;
+ const char *table_nm = table_names_str[0].ptr();
+ uint table_nm_len = table_names_str[0].length();
+ uint table_nm_max_len = table_nm_max_length;
+ DBUG_ENTER("spider_mysql_share::append_from_with_adjusted_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_FROM_LEN + db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ *table_name_pos = str->length();
+ spider_db_mysql_utility.append_name(str, db_nm, db_nm_len);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ spider_db_mysql_utility.append_name(str, table_nm, table_nm_len);
+ uint length =
+ db_nm_max_len - db_nm_len +
+ table_nm_max_len - table_nm_len;
+ memset((char *) str->ptr() + str->length(), ' ', length);
+ str->length(str->length() + length);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_share::create_table_names_str()
+{
+ int error_num, roop_count;
+ uint table_nm_len, db_nm_len;
+ spider_string *str, *first_tbl_nm_str, *first_db_nm_str, *first_db_tbl_str;
+ char *first_tbl_nm, *first_db_nm;
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ DBUG_ENTER("spider_mysql_share::create_table_names_str");
+ table_names_str = NULL;
+ db_names_str = NULL;
+ db_table_str = NULL;
+ if (
+ !(table_names_str = new spider_string[spider_share->all_link_count]) ||
+ !(db_names_str = new spider_string[spider_share->all_link_count]) ||
+ !(db_table_str = new spider_string[spider_share->all_link_count])
+ ) {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+
+ same_db_table_name = TRUE;
+ first_tbl_nm = spider_share->tgt_table_names[0];
+ first_db_nm = spider_share->tgt_dbs[0];
+ table_nm_len = spider_share->tgt_table_names_lengths[0];
+ db_nm_len = spider_share->tgt_dbs_lengths[0];
+ first_tbl_nm_str = &table_names_str[0];
+ first_db_nm_str = &db_names_str[0];
+ first_db_tbl_str = &db_table_str[0];
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ table_names_str[roop_count].init_calc_mem(86);
+ db_names_str[roop_count].init_calc_mem(87);
+ db_table_str[roop_count].init_calc_mem(88);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+ if (first_all_link_idx == -1)
+ first_all_link_idx = roop_count;
+
+ str = &table_names_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name &&
+ spider_share->tgt_table_names_lengths[roop_count] == table_nm_len &&
+ !memcmp(first_tbl_nm, spider_share->tgt_table_names[roop_count],
+ table_nm_len)
+ ) {
+ if (str->copy(*first_tbl_nm_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ spider_share->tgt_table_names[roop_count], dbton_id)))
+ goto error;
+ if (roop_count)
+ {
+ same_db_table_name = FALSE;
+ DBUG_PRINT("info", ("spider found different table name %s",
+ spider_share->tgt_table_names[roop_count]));
+ if (str->length() > table_nm_max_length)
+ table_nm_max_length = str->length();
+ } else
+ table_nm_max_length = str->length();
+ }
+
+ str = &db_names_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name &&
+ spider_share->tgt_dbs_lengths[roop_count] == db_nm_len &&
+ !memcmp(first_db_nm, spider_share->tgt_dbs[roop_count],
+ db_nm_len)
+ ) {
+ if (str->copy(*first_db_nm_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ spider_share->tgt_dbs[roop_count], dbton_id)))
+ goto error;
+ if (roop_count)
+ {
+ same_db_table_name = FALSE;
+ DBUG_PRINT("info", ("spider found different db name %s",
+ spider_share->tgt_dbs[roop_count]));
+ if (str->length() > db_nm_max_length)
+ db_nm_max_length = str->length();
+ } else
+ db_nm_max_length = str->length();
+ }
+
+ str = &db_table_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name
+ ) {
+ if (str->copy(*first_db_tbl_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = append_table_name(str, roop_count)))
+ goto error;
+ }
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ db_table_str_hash_value[roop_count] = my_calc_hash(
+ &spider_open_connections, (uchar*) str->ptr(), str->length());
+#endif
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (db_table_str)
+ {
+ delete [] db_table_str;
+ db_table_str = NULL;
+ }
+ if (db_names_str)
+ {
+ delete [] db_names_str;
+ db_names_str = NULL;
+ }
+ if (table_names_str)
+ {
+ delete [] table_names_str;
+ table_names_str = NULL;
+ }
+ DBUG_RETURN(error_num);
+}
+
+void spider_mysql_share::free_table_names_str()
+{
+ DBUG_ENTER("spider_mysql_share::free_table_names_str");
+ if (db_table_str)
+ {
+ delete [] db_table_str;
+ db_table_str = NULL;
+ }
+ if (db_names_str)
+ {
+ delete [] db_names_str;
+ db_names_str = NULL;
+ }
+ if (table_names_str)
+ {
+ delete [] table_names_str;
+ table_names_str = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_share::create_column_name_str()
+{
+ spider_string *str;
+ int error_num;
+ Field **field;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ DBUG_ENTER("spider_mysql_share::create_column_name_str");
+ if (
+ table_share->fields &&
+ !(column_name_str = new spider_string[table_share->fields])
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ for (field = table_share->field, str = column_name_str;
+ *field; field++, str++)
+ {
+ str->init_calc_mem(89);
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ (char *) (*field)->field_name, dbton_id)))
+ goto error;
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (column_name_str)
+ {
+ delete [] column_name_str;
+ column_name_str = NULL;
+ }
+ DBUG_RETURN(error_num);
+}
+
+void spider_mysql_share::free_column_name_str()
+{
+ DBUG_ENTER("spider_mysql_share::free_column_name_str");
+ if (column_name_str)
+ {
+ delete [] column_name_str;
+ column_name_str = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_share::convert_key_hint_str()
+{
+ spider_string *tmp_key_hint;
+ int roop_count;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ DBUG_ENTER("spider_mysql_share::convert_key_hint_str");
+ if (spider_share->access_charset->cset != system_charset_info->cset)
+ {
+ /* need convertion */
+ for (roop_count = 0, tmp_key_hint = key_hint;
+ roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
+ {
+ tmp_key_hint->length(0);
+ if (tmp_key_hint->append(spider_share->key_hint->ptr(),
+ spider_share->key_hint->length(), system_charset_info))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ } else {
+ for (roop_count = 0, tmp_key_hint = key_hint;
+ roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
+ {
+ if (tmp_key_hint->copy(spider_share->key_hint[roop_count]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_share::append_show_table_status()
+{
+ int roop_count;
+ spider_string *str;
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ DBUG_ENTER("spider_mysql_append_show_table_status");
+ if (!(show_table_status =
+ new spider_string[2 * spider_share->all_link_count]))
+ goto error;
+
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ show_table_status[0 + (2 * roop_count)].init_calc_mem(90);
+ show_table_status[1 + (2 * roop_count)].init_calc_mem(91);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_table_status[0 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SHOW_TABLE_STATUS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_LIKE_LEN + table_names_str[roop_count].length() +
+ ((SPIDER_SQL_NAME_QUOTE_LEN) * 2) +
+ ((SPIDER_SQL_VALUE_QUOTE_LEN) * 2)) ||
+ show_table_status[1 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SELECT_TABLES_STATUS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
+ table_names_str[roop_count].length() +
+ ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4))
+ )
+ goto error;
+ str = &show_table_status[0 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SHOW_TABLE_STATUS_STR, SPIDER_SQL_SHOW_TABLE_STATUS_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(db_names_str[roop_count].ptr(),
+ db_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_LIKE_STR, SPIDER_SQL_LIKE_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(table_names_str[roop_count].ptr(),
+ table_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str = &show_table_status[1 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SELECT_TABLES_STATUS_STR,
+ SPIDER_SQL_SELECT_TABLES_STATUS_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(db_names_str[roop_count].ptr(),
+ db_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(table_names_str[roop_count].ptr(),
+ table_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_table_status)
+ {
+ delete [] show_table_status;
+ show_table_status = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_mysql_share::free_show_table_status()
+{
+ DBUG_ENTER("spider_mysql_free_show_table_status");
+ if (show_table_status)
+ {
+ delete [] show_table_status;
+ show_table_status = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_share::append_show_records()
+{
+ int roop_count;
+ spider_string *str;
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ DBUG_ENTER("spider_mysql_share::append_show_records");
+ if (!(show_records = new spider_string[spider_share->all_link_count]))
+ goto error;
+
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ show_records[roop_count].init_calc_mem(92);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_records[roop_count].reserve(
+ SPIDER_SQL_SHOW_RECORDS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_DOT_LEN +
+ table_names_str[roop_count].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4)
+ )
+ goto error;
+ str = &show_records[roop_count];
+ str->q_append(SPIDER_SQL_SHOW_RECORDS_STR, SPIDER_SQL_SHOW_RECORDS_LEN);
+ append_table_name(str, roop_count);
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_records)
+ {
+ delete [] show_records;
+ show_records = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_mysql_share::free_show_records()
+{
+ DBUG_ENTER("spider_mysql_share::free_show_records");
+ if (show_records)
+ {
+ delete [] show_records;
+ show_records = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_share::append_show_index()
+{
+ int roop_count;
+ spider_string *str;
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ DBUG_ENTER("spider_mysql_share::append_show_index");
+ if (!(show_index = new spider_string[2 * spider_share->all_link_count]))
+ goto error;
+
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ show_index[0 + (2 * roop_count)].init_calc_mem(93);
+ show_index[1 + (2 * roop_count)].init_calc_mem(94);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_index[0 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SHOW_INDEX_LEN + db_names_str[roop_count].length() +
+ SPIDER_SQL_DOT_LEN +
+ table_names_str[roop_count].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4) ||
+ show_index[1 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SELECT_STATISTICS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
+ table_names_str[roop_count].length() +
+ ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4) +
+ SPIDER_SQL_GROUP_LEN + SPIDER_SQL_COLUMN_NAME_LEN)
+ )
+ goto error;
+ str = &show_index[0 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SHOW_INDEX_STR, SPIDER_SQL_SHOW_INDEX_LEN);
+ append_table_name(str, roop_count);
+ str = &show_index[1 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SELECT_STATISTICS_STR, SPIDER_SQL_SELECT_STATISTICS_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(db_names_str[roop_count].ptr(),
+ db_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(table_names_str[roop_count].ptr(),
+ table_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
+ str->q_append(SPIDER_SQL_COLUMN_NAME_STR, SPIDER_SQL_COLUMN_NAME_LEN);
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_index)
+ {
+ delete [] show_index;
+ show_index = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_mysql_share::free_show_index()
+{
+ DBUG_ENTER("spider_mysql_share::free_show_index");
+ if (show_index)
+ {
+ delete [] show_index;
+ show_index = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_share::append_table_select()
+{
+ Field **field;
+ uint field_length;
+ spider_string *str = table_select;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ DBUG_ENTER("spider_mysql_share::append_table_select");
+ for (field = table_share->field; *field; field++)
+ {
+ field_length = column_name_str[(*field)->field_index].length();
+ if (str->reserve(field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(append_from_with_adjusted_table_name(str, &table_select_pos));
+}
+
+int spider_mysql_share::append_key_select(
+ uint idx
+) {
+ KEY_PART_INFO *key_part;
+ Field *field;
+ uint part_num;
+ uint field_length;
+ spider_string *str = &key_select[idx];
+ TABLE_SHARE *table_share = spider_share->table_share;
+ const KEY *key_info = &table_share->key_info[idx];
+ DBUG_ENTER("spider_mysql_share::append_key_select");
+ for (key_part = key_info->key_part, part_num = 0;
+ part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
+ {
+ field = key_part->field;
+ field_length = column_name_str[field->field_index].length();
+ if (str->reserve(field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(append_from_with_adjusted_table_name(str, &key_select_pos[idx]));
+}
+
+bool spider_mysql_share::need_change_db_table_name()
+{
+ DBUG_ENTER("spider_mysql_share::need_change_db_table_name");
+ DBUG_RETURN(!same_db_table_name);
+}
+
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+int spider_mysql_share::discover_table_structure(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *spider_share,
+ spider_string *str
+) {
+ int roop_count, error_num = HA_ERR_WRONG_COMMAND;
+ char sql_buf[MAX_FIELD_WIDTH];
+ spider_string sql_str(sql_buf, sizeof(sql_buf), system_charset_info);
+ uint dbton_id = spider_dbton_mysql.dbton_id;
+ uint strlen = str->length();
+ DBUG_ENTER("spider_mysql_share::discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql_str.init_calc_mem(228);
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ {
+ DBUG_PRINT("info",("spider spider_share->sql_dbton_ids[%d]=%u",
+ roop_count, spider_share->sql_dbton_ids[roop_count]));
+ DBUG_PRINT("info",("spider dbton_id=%u", dbton_id));
+ continue;
+ }
+
+ str->length(strlen);
+ sql_str.length(0);
+ if (sql_str.reserve(
+ SPIDER_SQL_SHOW_COLUMNS_LEN + db_names_str[roop_count].length() +
+ SPIDER_SQL_DOT_LEN + table_names_str[roop_count].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 +
+ SPIDER_SQL_SEMICOLON_LEN +
+ SPIDER_SQL_SHOW_INDEX_LEN + db_names_str[roop_count].length() +
+ SPIDER_SQL_DOT_LEN + table_names_str[roop_count].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4
+ )) {
+ DBUG_PRINT("info",("spider alloc sql_str error"));
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql_str.q_append(SPIDER_SQL_SHOW_COLUMNS_STR, SPIDER_SQL_SHOW_COLUMNS_LEN);
+ append_table_name(&sql_str, roop_count);
+ sql_str.q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ sql_str.q_append(SPIDER_SQL_SHOW_INDEX_STR, SPIDER_SQL_SHOW_INDEX_LEN);
+ append_table_name(&sql_str, roop_count);
+
+ SPIDER_CONN *conn;
+ int need_mon;
+ if (!(conn = spider_get_conn(
+ spider_share, 0, spider_share->conn_keys[roop_count], trx, NULL, FALSE,
+ FALSE, SPIDER_CONN_KIND_MYSQL, &error_num))
+ ) {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &need_mon;
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(spider_share, conn, roop_count);
+ spider_conn_set_timeout_from_share(conn, roop_count, trx->thd,
+ spider_share);
+ if (
+ (error_num = spider_db_set_names_internal(trx, spider_share, conn,
+ roop_count, &need_mon)) ||
+ (
+ spider_db_query(
+ conn,
+ sql_str.ptr(),
+ sql_str.length(),
+ -1,
+ &need_mon) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ DBUG_PRINT("info",("spider spider_get_trx error"));
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = trx->spider_thread_id;
+ request_key.query_id = trx->thd->query_id;
+ request_key.handler = NULL;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ spider_db_result *res;
+ /* get column list */
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ DBUG_PRINT("info",("spider column store error"));
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ /* no record */
+ DBUG_PRINT("info",("spider column no record error"));
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ if ((error_num = res->fetch_columns_for_discover_table_structure(str,
+ spider_share->access_charset)))
+ {
+ DBUG_PRINT("info",("spider column fetch error"));
+ res->free_result();
+ delete res;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ res->free_result();
+ delete res;
+ if (conn->db_conn->next_result())
+ {
+ DBUG_PRINT("info",("spider single result error"));
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ /* get index list */
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ DBUG_PRINT("info",("spider index store error"));
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ /* no record */
+ DBUG_PRINT("info",("spider index no record error"));
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ if ((error_num = res->fetch_index_for_discover_table_structure(str,
+ spider_share->access_charset)))
+ {
+ DBUG_PRINT("info",("spider index fetch error"));
+ res->free_result();
+ delete res;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ continue;
+ }
+ res->free_result();
+ delete res;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ if (!error_num)
+ break;
+ }
+ DBUG_RETURN(error_num);
+}
+#endif
+
+spider_mysql_handler::spider_mysql_handler(
+ ha_spider *spider,
+ spider_mysql_share *db_share
+) : spider_db_handler(
+ spider,
+ db_share
+),
+ where_pos(0),
+ order_pos(0),
+ limit_pos(0),
+ table_name_pos(0),
+ ha_read_pos(0),
+ ha_next_pos(0),
+ ha_where_pos(0),
+ ha_limit_pos(0),
+ ha_table_name_pos(0),
+ insert_pos(0),
+ insert_table_name_pos(0),
+ upd_tmp_tbl(NULL),
+ tmp_sql_pos1(0),
+ tmp_sql_pos2(0),
+ tmp_sql_pos3(0),
+ tmp_sql_pos4(0),
+ tmp_sql_pos5(0),
+ reading_from_bulk_tmp_table(FALSE),
+ union_table_name_pos_first(NULL),
+ union_table_name_pos_current(NULL),
+ mysql_share(db_share),
+ link_for_hash(NULL)
+{
+ DBUG_ENTER("spider_mysql_handler::spider_mysql_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_alloc_calc_mem_init(mem_calc, 183);
+ spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+spider_mysql_handler::~spider_mysql_handler()
+{
+ DBUG_ENTER("spider_mysql_handler::~spider_mysql_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ while (union_table_name_pos_first)
+ {
+ SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
+ union_table_name_pos_first = tmp_pos->next;
+ spider_free(spider_current_trx, tmp_pos, MYF(0));
+ }
+ if (link_for_hash)
+ {
+ spider_free(spider_current_trx, link_for_hash, MYF(0));
+ }
+ spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_handler::init()
+{
+ uint roop_count;
+ THD *thd = spider->trx->thd;
+ st_spider_share *share = spider->share;
+ int init_sql_alloc_size =
+ spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_mysql_handler::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.init_calc_mem(59);
+ sql_part.init_calc_mem(60);
+ sql_part2.init_calc_mem(61);
+ ha_sql.init_calc_mem(62);
+ insert_sql.init_calc_mem(64);
+ update_sql.init_calc_mem(65);
+ tmp_sql.init_calc_mem(66);
+ dup_update_sql.init_calc_mem(166);
+ if (
+ (sql.real_alloc(init_sql_alloc_size)) ||
+ (insert_sql.real_alloc(init_sql_alloc_size)) ||
+ (update_sql.real_alloc(init_sql_alloc_size)) ||
+ (tmp_sql.real_alloc(init_sql_alloc_size))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.set_charset(share->access_charset);
+ sql_part.set_charset(share->access_charset);
+ ha_sql.set_charset(share->access_charset);
+ insert_sql.set_charset(share->access_charset);
+ update_sql.set_charset(share->access_charset);
+ tmp_sql.set_charset(share->access_charset);
+ upd_tmp_tbl_prm.init();
+ upd_tmp_tbl_prm.field_count = 1;
+ if (!(link_for_hash = (SPIDER_LINK_FOR_HASH *)
+ spider_bulk_alloc_mem(spider_current_trx, 141,
+ __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
+ &link_for_hash,
+ sizeof(SPIDER_LINK_FOR_HASH) * share->link_count,
+ &minimum_select_bitmap,
+ table ? sizeof(uchar) * no_bytes_in_map(table->read_set) : 0,
+ NullS))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ for (roop_count = 0; roop_count < share->link_count; roop_count++)
+ {
+ link_for_hash[roop_count].spider = spider;
+ link_for_hash[roop_count].link_idx = roop_count;
+ link_for_hash[roop_count].db_table_str =
+ &mysql_share->db_table_str[roop_count];
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ link_for_hash[roop_count].db_table_str_hash_value =
+ mysql_share->db_table_str_hash_value[roop_count];
+#endif
+ }
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ hs_upds.init();
+#endif
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_table_name_with_adjusting(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+) {
+ int error_num = 0;
+ DBUG_ENTER("spider_mysql_handler::append_table_name_with_adjusting");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
+ } else {
+ error_num = mysql_share->append_table_name_with_adjusting(str,
+ spider->conn_link_idx[link_idx]);
+ }
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_column_types(
+ const key_range *start_key,
+ spider_string *str
+) {
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ KEY *key_info = result_list->key_info;
+ uint key_name_length, key_count;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ char tmp_buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(tmp_buf, sizeof(tmp_buf), system_charset_info);
+ DBUG_ENTER("spider_mysql_handler::append_key_column_types");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_str.init_calc_mem(115);
+
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ for (
+ key_part = key_info->key_part,
+ key_count = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ key_count++
+ ) {
+ field = key_part->field;
+ key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
+ if (str->reserve(key_name_length + SPIDER_SQL_SPACE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(tmp_buf, key_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+
+ if (tmp_str.ptr() != tmp_buf)
+ tmp_str.set(tmp_buf, sizeof(tmp_buf), system_charset_info);
+ else
+ tmp_str.set_charset(system_charset_info);
+ field->sql_type(*tmp_str.get_str());
+ tmp_str.mem_calc();
+ str->append(tmp_str);
+ if (field->has_charset())
+ {
+ CHARSET_INFO *cs = field->charset();
+ uint coll_length = strlen(cs->name);
+ if (str->reserve(SPIDER_SQL_COLLATE_LEN + coll_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COLLATE_STR, SPIDER_SQL_COLLATE_LEN);
+ str->q_append(cs->name, coll_length);
+ }
+
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_join_columns_for_bka(
+ const key_range *start_key,
+ spider_string *str,
+ const char **table_aliases,
+ uint *table_alias_lengths
+) {
+ KEY *key_info = spider->result_list.key_info;
+ uint length, key_name_length, key_count;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ char tmp_buf[MAX_FIELD_WIDTH];
+ bool start_where = ((int) str->length() == where_pos);
+ DBUG_ENTER("spider_mysql_handler::append_key_join_columns_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ if (start_where)
+ {
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+
+ for (
+ key_part = key_info->key_part,
+ key_count = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ key_count++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
+ if (str->reserve(length + table_alias_lengths[0] + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ table_alias_lengths[1] + SPIDER_SQL_PF_EQUAL_LEN + SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(table_aliases[0], table_alias_lengths[0]);
+ str->q_append(tmp_buf, length);
+ str->q_append(SPIDER_SQL_PF_EQUAL_STR, SPIDER_SQL_PF_EQUAL_LEN);
+ str->q_append(table_aliases[1], table_alias_lengths[1]);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_tmp_table_and_sql_for_bka(
+ const key_range *start_key
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_tmp_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ char tmp_table_name[MAX_FIELD_WIDTH * 2],
+ tgt_table_name[MAX_FIELD_WIDTH * 2];
+ int tmp_table_name_length;
+ spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
+ mysql_share->db_names_str[0].charset());
+ const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
+ uint table_name_lengths[2], table_alias_lengths[2],
+ table_dot_alias_lengths[2];
+ tgt_table_name_str.init_calc_mem(99);
+ tgt_table_name_str.length(0);
+ create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
+ first_link_idx);
+ if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
+ first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ table_names[0] = tmp_table_name;
+ table_names[1] = tgt_table_name_str.c_ptr_safe();
+ table_name_lengths[0] = tmp_table_name_length;
+ table_name_lengths[1] = tgt_table_name_str.length();
+ table_aliases[0] = SPIDER_SQL_A_STR;
+ table_aliases[1] = SPIDER_SQL_B_STR;
+ table_alias_lengths[0] = SPIDER_SQL_A_LEN;
+ table_alias_lengths[1] = SPIDER_SQL_B_LEN;
+ table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
+ table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
+ table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
+ table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
+ if (
+ (error_num = append_drop_tmp_bka_table(
+ &tmp_sql, tmp_table_name, tmp_table_name_length,
+ &tmp_sql_pos1, &tmp_sql_pos5, TRUE)) ||
+ (error_num = append_create_tmp_bka_table(
+ start_key,
+ &tmp_sql, tmp_table_name,
+ tmp_table_name_length,
+ &tmp_sql_pos2, spider->share->table_share->table_charset)) ||
+ (error_num = append_insert_tmp_bka_table(
+ start_key,
+ &tmp_sql, tmp_table_name,
+ tmp_table_name_length, &tmp_sql_pos3))
+ )
+ DBUG_RETURN(error_num);
+ tmp_sql_pos4 = tmp_sql.length();
+ if ((error_num = spider_db_append_select(spider)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
+ sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if (
+ (error_num = append_select_columns_with_alias(&sql,
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)) ||
+ (error_num = spider_db_mysql_utility.append_from_with_alias(&sql,
+ table_names, table_name_lengths,
+ table_aliases, table_alias_lengths, 2,
+ &table_name_pos, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (
+ mysql_share->key_hint &&
+ (error_num = spider_db_append_hint_after_table(spider,
+ &sql, &mysql_share->key_hint[spider->active_index]))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ where_pos = sql.length();
+ if (
+ (error_num = append_key_join_columns_for_bka(
+ start_key, &sql,
+ table_dot_aliases, table_dot_alias_lengths)) ||
+ (error_num = append_condition_part(
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
+ SPIDER_SQL_TYPE_SELECT_SQL, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (spider->result_list.direct_order_limit)
+ {
+ if ((error_num = append_key_order_for_direct_order_limit_with_alias(&sql,
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ }
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (spider->result_list.direct_aggregate)
+ {
+ if ((error_num =
+ append_group_by(&sql, SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::reuse_tmp_table_and_sql_for_bka()
+{
+ DBUG_ENTER("spider_mysql_handler::reuse_tmp_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_sql.length(tmp_sql_pos4);
+ sql.length(limit_pos);
+ ha_sql.length(ha_limit_pos);
+ DBUG_RETURN(0);
+}
+
+void spider_mysql_handler::create_tmp_bka_table_name(
+ char *tmp_table_name,
+ int *tmp_table_name_length,
+ int link_idx
+) {
+ uint adjust_length =
+ mysql_share->db_nm_max_length -
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].length() +
+ mysql_share->table_nm_max_length -
+ mysql_share->table_names_str[spider->conn_link_idx[link_idx]].length(),
+ length;
+ DBUG_ENTER("spider_mysql_handler::create_tmp_bka_table_name");
+ *tmp_table_name_length = mysql_share->db_nm_max_length +
+ mysql_share->table_nm_max_length;
+ memset(tmp_table_name, ' ', adjust_length);
+ tmp_table_name += adjust_length;
+ memcpy(tmp_table_name, mysql_share->db_names_str[link_idx].c_ptr(),
+ mysql_share->db_names_str[link_idx].length());
+ tmp_table_name += mysql_share->db_names_str[link_idx].length();
+ length = my_sprintf(tmp_table_name, (tmp_table_name,
+ "%s%s%p%s", SPIDER_SQL_DOT_STR, SPIDER_SQL_TMP_BKA_STR, spider,
+ SPIDER_SQL_UNDERSCORE_STR));
+ *tmp_table_name_length += length;
+ tmp_table_name += length;
+ memcpy(tmp_table_name,
+ mysql_share->table_names_str[spider->conn_link_idx[link_idx]].c_ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[link_idx]].length());
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_handler::append_create_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ CHARSET_INFO *table_charset
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ THD *thd = spider->trx->thd;
+ char *bka_engine = spider_param_bka_engine(thd, share->bka_engine);
+ uint bka_engine_length = strlen(bka_engine),
+ cset_length = strlen(table_charset->csname),
+ coll_length = strlen(table_charset->name);
+ DBUG_ENTER("spider_mysql_handler::append_create_tmp_bka_table");
+ if (str->reserve(SPIDER_SQL_CREATE_TMP_LEN + tmp_table_name_length +
+ SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN + SPIDER_SQL_ID_TYPE_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CREATE_TMP_STR, SPIDER_SQL_CREATE_TMP_LEN);
+ *db_name_pos = str->length();
+ str->q_append(tmp_table_name, tmp_table_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ str->q_append(SPIDER_SQL_ID_TYPE_STR, SPIDER_SQL_ID_TYPE_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if ((error_num = append_key_column_types(start_key, str)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_ENGINE_LEN + bka_engine_length +
+ SPIDER_SQL_DEF_CHARSET_LEN + cset_length + SPIDER_SQL_COLLATE_LEN +
+ coll_length + SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ENGINE_STR, SPIDER_SQL_ENGINE_LEN);
+ str->q_append(bka_engine, bka_engine_length);
+ str->q_append(SPIDER_SQL_DEF_CHARSET_STR, SPIDER_SQL_DEF_CHARSET_LEN);
+ str->q_append(table_charset->csname, cset_length);
+ str->q_append(SPIDER_SQL_COLLATE_STR, SPIDER_SQL_COLLATE_LEN);
+ str->q_append(table_charset->name, coll_length);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_drop_tmp_bka_table(
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ int *drop_table_end_pos,
+ bool with_semicolon
+) {
+ DBUG_ENTER("spider_mysql_handler::append_drop_tmp_bka_table");
+ if (str->reserve(SPIDER_SQL_DROP_TMP_LEN + tmp_table_name_length +
+ (with_semicolon ? SPIDER_SQL_SEMICOLON_LEN : 0)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_DROP_TMP_STR, SPIDER_SQL_DROP_TMP_LEN);
+ *db_name_pos = str->length();
+ str->q_append(tmp_table_name, tmp_table_name_length);
+ *drop_table_end_pos = str->length();
+ if (with_semicolon)
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_insert_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_insert_tmp_bka_table");
+ if (str->reserve(SPIDER_SQL_INSERT_LEN + SPIDER_SQL_INTO_LEN +
+ tmp_table_name_length + SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ *db_name_pos = str->length();
+ str->q_append(tmp_table_name, tmp_table_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if ((error_num = spider_db_append_key_columns(start_key, spider, str)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_union_table_and_sql_for_bka(
+ const key_range *start_key
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_union_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ char tgt_table_name[MAX_FIELD_WIDTH * 2];
+ spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
+ mysql_share->db_names_str[0].charset());
+ const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
+ uint table_name_lengths[2], table_alias_lengths[2],
+ table_dot_alias_lengths[2];
+ tgt_table_name_str.init_calc_mem(233);
+ tgt_table_name_str.length(0);
+ if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
+ first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ table_names[0] = "";
+ table_names[1] = tgt_table_name_str.c_ptr_safe();
+ table_name_lengths[0] = 0;
+ table_name_lengths[1] = tgt_table_name_str.length();
+ table_aliases[0] = SPIDER_SQL_A_STR;
+ table_aliases[1] = SPIDER_SQL_B_STR;
+ table_alias_lengths[0] = SPIDER_SQL_A_LEN;
+ table_alias_lengths[1] = SPIDER_SQL_B_LEN;
+ table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
+ table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
+ table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
+ table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
+
+ if ((error_num = spider_db_append_select(spider)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
+ sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if ((error_num = append_select_columns_with_alias(&sql,
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_FROM_LEN + (SPIDER_SQL_OPEN_PAREN_LEN * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ tmp_sql_pos1 = sql.length();
+
+ if (
+ (error_num = spider_db_mysql_utility.append_from_with_alias(&tmp_sql,
+ table_names, table_name_lengths,
+ table_aliases, table_alias_lengths, 2,
+ &table_name_pos, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (
+ mysql_share->key_hint &&
+ (error_num = spider_db_append_hint_after_table(spider,
+ &tmp_sql, &mysql_share->key_hint[spider->active_index]))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ where_pos = tmp_sql.length();
+ if (
+ (error_num = append_key_join_columns_for_bka(
+ start_key, &tmp_sql,
+ table_dot_aliases, table_dot_alias_lengths)) ||
+ (error_num = append_condition_part(
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
+ SPIDER_SQL_TYPE_TMP_SQL, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (spider->result_list.direct_order_limit)
+ {
+ if ((error_num =
+ append_key_order_for_direct_order_limit_with_alias(&tmp_sql,
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN))
+ )
+ DBUG_RETURN(error_num);
+ }
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (spider->result_list.direct_aggregate)
+ {
+ if ((error_num =
+ append_group_by(&tmp_sql, SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::reuse_union_table_and_sql_for_bka()
+{
+ DBUG_ENTER("spider_mysql_handler::reuse_union_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.length(tmp_sql_pos1);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_insert_for_recovery(
+ ulong sql_type,
+ int link_idx
+) {
+ const TABLE *table = spider->get_table();
+ SPIDER_SHARE *share = spider->share;
+ Field **field;
+ uint field_name_length = 0;
+ bool add_value = FALSE;
+ spider_string *insert_sql;
+ DBUG_ENTER("spider_mysql_handler::append_insert_for_recovery");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ insert_sql = &spider->result_list.insert_sqls[link_idx];
+ insert_sql->length(0);
+ } else {
+ insert_sql = &spider->result_list.update_sqls[link_idx];
+ }
+ if (insert_sql->reserve(
+ SPIDER_SQL_INSERT_LEN + SPIDER_SQL_SQL_IGNORE_LEN +
+ SPIDER_SQL_INTO_LEN + mysql_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ insert_sql->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
+ insert_sql->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ mysql_share->append_table_name(insert_sql, spider->conn_link_idx[link_idx]);
+ insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ field_name_length =
+ mysql_share->column_name_str[(*field)->field_index].length();
+ if (insert_sql->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(insert_sql, (*field)->field_index);
+ insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (field_name_length)
+ insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
+ if (insert_sql->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ add_value = TRUE;
+ if ((*field)->is_null())
+ {
+ if (insert_sql->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (
+ spider_db_mysql_utility.
+ append_column_value(spider, insert_sql, *field, NULL,
+ share->access_charset) ||
+ insert_sql->reserve(SPIDER_SQL_COMMA_LEN)
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (add_value)
+ insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
+ if (insert_sql->reserve(SPIDER_SQL_CLOSE_PAREN_LEN, SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ exec_insert_sql = insert_sql;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ int error_num;
+ spider_string *str = &update_sql;
+ DBUG_ENTER("spider_mysql_handler::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_update(str, 0)) ||
+ (error_num = append_update_set(str)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.update_sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_update(str, link_idx)) ||
+ (error_num = append_update_set(str)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+
+ if (
+ spider->pk_update &&
+ share->link_statuses[link_idx] == SPIDER_LINK_STATUS_RECOVERY
+ ) {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ if ((error_num = append_insert_for_recovery(
+ SPIDER_SQL_TYPE_UPDATE_SQL, link_idx)))
+ DBUG_RETURN(error_num);
+ }
+
+ if (!filled_up)
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ int error_num;
+ spider_string *str = &update_sql;
+ DBUG_ENTER("spider_mysql_handler::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_delete(str)) ||
+ (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL,
+ first_link_idx)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str = &spider->result_list.update_sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_delete(str)) ||
+ (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL, link_idx)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+ if (!filled_up)
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_insert_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_insert_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_insert(&insert_sql, 0);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_insert(
+ spider_string *str,
+ int link_idx
+) {
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_mysql_handler::append_insert");
+ if (
+ (
+ spider->write_can_replace ||
+ /* for direct_dup_insert without patch for partition */
+ spider->sql_command == SQLCOM_REPLACE ||
+ spider->sql_command == SQLCOM_REPLACE_SELECT
+ ) &&
+ spider->direct_dup_insert
+ ) {
+ if (str->reserve(SPIDER_SQL_REPLACE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_REPLACE_STR, SPIDER_SQL_REPLACE_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_INSERT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ }
+ if (spider->low_priority)
+ {
+ if (str->reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
+ }
+ else if (spider->insert_delayed)
+ {
+ if (share->internal_delayed)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_DELAYED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_DELAYED_STR, SPIDER_SQL_SQL_DELAYED_LEN);
+ }
+ }
+ else if (
+ spider->lock_type >= TL_WRITE &&
+ !spider->write_can_replace &&
+ /* for direct_dup_insert without patch for partition */
+ spider->sql_command != SQLCOM_REPLACE &&
+ spider->sql_command != SQLCOM_REPLACE_SELECT
+ ) {
+ if (str->reserve(SPIDER_SQL_HIGH_PRIORITY_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HIGH_PRIORITY_STR, SPIDER_SQL_HIGH_PRIORITY_LEN);
+ }
+ if (
+ spider->ignore_dup_key &&
+ spider->direct_dup_insert &&
+ !spider->write_can_replace &&
+ !spider->insert_with_update &&
+ /* for direct_dup_insert without patch for partition */
+ spider->sql_command != SQLCOM_REPLACE &&
+ spider->sql_command != SQLCOM_REPLACE_SELECT
+ ) {
+ if (str->reserve(SPIDER_SQL_SQL_IGNORE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_update_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_update_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_update(&update_sql, 0);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_update(
+ spider_string *str,
+ int link_idx
+) {
+ DBUG_ENTER("spider_mysql_handler::append_update");
+ if (str->reserve(SPIDER_SQL_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_UPDATE_STR, SPIDER_SQL_UPDATE_LEN);
+ if (spider->low_priority)
+ {
+ if (str->reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
+ }
+ if (
+ spider->ignore_dup_key &&
+ !spider->insert_with_update
+ ) {
+ if (str->reserve(SPIDER_SQL_SQL_IGNORE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
+ }
+ if (str->reserve(mysql_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ table_name_pos = str->length();
+ append_table_name_with_adjusting(str, link_idx, SPIDER_SQL_TYPE_UPDATE_SQL);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_delete_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_delete_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_delete(&update_sql);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_delete(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_delete");
+ if (str->reserve(SPIDER_SQL_DELETE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_DELETE_STR, SPIDER_SQL_DELETE_LEN);
+ if (spider->low_priority)
+ {
+ if (str->reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
+ }
+ if (spider->quick_mode)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_QUICK_MODE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_QUICK_MODE_STR,
+ SPIDER_SQL_SQL_QUICK_MODE_LEN);
+ }
+ if (spider->ignore_dup_key)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_IGNORE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
+ }
+ str->length(str->length() - 1);
+ DBUG_RETURN(0);
+}
+
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+int spider_mysql_handler::append_increment_update_set_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_increment_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_increment_update_set(&update_sql);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_increment_update_set(
+ spider_string *str
+) {
+ uint field_name_length;
+ uint roop_count;
+ Field *field;
+ DBUG_ENTER("spider_mysql_handler::append_increment_update_set");
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ const SPIDER_HS_STRING_REF *value = hs_upds.ptr();
+ for (roop_count = 0; roop_count < hs_upds.size();
+ roop_count++)
+ {
+ if (
+ value[roop_count].size() == 1 &&
+ *(value[roop_count].begin()) == '0'
+ )
+ continue;
+
+ Field *top_table_field =
+ spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
+ if (!(field = spider->field_exchange(top_table_field)))
+ continue;
+ field_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+
+ if (str->reserve(field_name_length * 2 + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 4 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_HS_INCREMENT_LEN +
+ SPIDER_SQL_COMMA_LEN + value[roop_count].size()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ mysql_share->append_column_name(str, field->field_index);
+ if (spider->hs_increment)
+ str->q_append(SPIDER_SQL_HS_INCREMENT_STR,
+ SPIDER_SQL_HS_INCREMENT_LEN);
+ else
+ str->q_append(SPIDER_SQL_HS_DECREMENT_STR,
+ SPIDER_SQL_HS_DECREMENT_LEN);
+ str->q_append(value[roop_count].begin(), value[roop_count].size());
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+#endif
+#endif
+
+int spider_mysql_handler::append_update_set_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_update_set(&update_sql);
+ where_pos = update_sql.length();
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_update_set(
+ spider_string *str
+) {
+ uint field_name_length;
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ Field **fields;
+ DBUG_ENTER("spider_mysql_handler::append_update_set");
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ for (fields = table->field; *fields; fields++)
+ {
+ if (bitmap_is_set(table->write_set, (*fields)->field_index))
+ {
+ field_name_length =
+ mysql_share->column_name_str[(*fields)->field_index].length();
+ if ((*fields)->is_null())
+ {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, (*fields)->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, (*fields)->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+#ifndef DBUG_OFF
+ my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
+ table->read_set);
+#endif
+ if (
+ spider_db_mysql_utility.
+ append_column_value(spider, str, *fields, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_COMMA_LEN)
+ ) {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+int spider_mysql_handler::append_direct_update_set_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_direct_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_direct_update_set(&update_sql);
+ where_pos = update_sql.length();
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_direct_update_set(
+ spider_string *str
+) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ uint field_name_length;
+ SPIDER_SHARE *share = spider->share;
+#ifndef DBUG_OFF
+ TABLE *table = spider->get_table();
+#endif
+#endif
+ DBUG_ENTER("spider_mysql_handler::append_direct_update_set");
+ if (
+ spider->direct_update_kinds == SPIDER_SQL_KIND_SQL &&
+ spider->direct_update_fields
+ ) {
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ DBUG_RETURN(spider_db_append_update_columns(spider, str, NULL, 0,
+ spider_dbton_mysql.dbton_id));
+ }
+
+ if (
+ (spider->direct_update_kinds & SPIDER_SQL_KIND_SQL)
+ ) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ size_t roop_count;
+ Field *field;
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ for (roop_count = 0; roop_count < spider->hs_pushed_ret_fields_num;
+ roop_count++)
+ {
+ Field *top_table_field =
+ spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
+ if (!(field = spider->field_exchange(top_table_field)))
+ continue;
+ field_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ if (top_table_field->is_null())
+ {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+#ifndef DBUG_OFF
+ my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
+ table->read_set);
+#endif
+ if (
+ spider_db_mysql_utility.
+ append_column_value(spider, str, top_table_field, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_COMMA_LEN)
+ ) {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+#else
+ DBUG_ASSERT(0);
+#endif
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_dup_update_pushdown_part(
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_dup_update_pushdown_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ dup_update_sql.length(0);
+ error_num = append_update_columns(&dup_update_sql, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_update_columns_part(
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_update_columns_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_update_columns(&update_sql, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::check_update_columns_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::check_update_columns_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_update_columns(NULL, NULL, 0);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_update_columns(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_update_columns");
+ error_num = spider_db_append_update_columns(spider, str,
+ alias, alias_length, spider_dbton_mysql.dbton_id);
+ DBUG_RETURN(error_num);
+}
+#endif
+
+int spider_mysql_handler::append_select_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_select(str, sql_type);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_select(
+ spider_string *str,
+ ulong sql_type
+) {
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ DBUG_ENTER("spider_mysql_handler::append_select");
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ if (str->reserve(SPIDER_SQL_HANDLER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_SELECT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
+ if (result_list->lock_type != F_WRLCK && spider->lock_mode < 1)
+ {
+ /* no lock */
+ if (spider->share->query_cache == 1)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_CACHE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_CACHE_STR, SPIDER_SQL_SQL_CACHE_LEN);
+ } else if (spider->share->query_cache == 2)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_NO_CACHE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_NO_CACHE_STR,
+ SPIDER_SQL_SQL_NO_CACHE_LEN);
+ }
+ }
+ if (spider->high_priority)
+ {
+ if (str->reserve(SPIDER_SQL_HIGH_PRIORITY_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HIGH_PRIORITY_STR,
+ SPIDER_SQL_HIGH_PRIORITY_LEN);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_table_select_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_table_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_table_select(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_table_select(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_table_select");
+ table_name_pos = str->length() + mysql_share->table_select_pos;
+ if (str->append(*(mysql_share->table_select)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_select_part(
+ ulong sql_type,
+ uint idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_key_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_select(str, idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_select(
+ spider_string *str,
+ uint idx
+) {
+ DBUG_ENTER("spider_mysql_handler::append_key_select");
+ table_name_pos = str->length() + mysql_share->key_select_pos[idx];
+ if (str->append(mysql_share->key_select[idx]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_minimum_select_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_minimum_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_minimum_select(str, sql_type);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_minimum_select(
+ spider_string *str,
+ ulong sql_type
+) {
+ TABLE *table = spider->get_table();
+ Field **field;
+ int field_length;
+ bool appended = FALSE;
+ DBUG_ENTER("spider_mysql_handler::append_minimum_select");
+ minimum_select_bitmap_create();
+ for (field = table->field; *field; field++)
+ {
+ if (minimum_select_bit_is_set((*field)->field_index))
+ {
+ spider_set_bit(minimum_select_bitmap, (*field)->field_index);
+ field_length =
+ mysql_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ appended = TRUE;
+ }
+ }
+ if (appended)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ else {
+ if (str->reserve(SPIDER_SQL_ONE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
+ }
+ DBUG_RETURN(append_from(str, sql_type, first_link_idx));
+}
+
+int spider_mysql_handler::append_table_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ TABLE *table = spider->get_table();
+ Field **field;
+ int field_length;
+ DBUG_ENTER("spider_mysql_handler::append_table_select_with_alias");
+ for (field = table->field; *field; field++)
+ {
+ field_length =
+ mysql_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(alias_length + field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_select_with_alias(
+ spider_string *str,
+ const KEY *key_info,
+ const char *alias,
+ uint alias_length
+) {
+ KEY_PART_INFO *key_part;
+ Field *field;
+ uint part_num;
+ int field_length;
+ DBUG_ENTER("spider_mysql_handler::append_key_select_with_alias");
+ for (key_part = key_info->key_part, part_num = 0;
+ part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
+ {
+ field = key_part->field;
+ field_length = mysql_share->column_name_str[field->field_index].length();
+ if (str->reserve(alias_length + field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_minimum_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ TABLE *table = spider->get_table();
+ Field **field;
+ int field_length;
+ bool appended = FALSE;
+ DBUG_ENTER("spider_mysql_handler::append_minimum_select_with_alias");
+ minimum_select_bitmap_create();
+ for (field = table->field; *field; field++)
+ {
+ if (minimum_select_bit_is_set((*field)->field_index))
+ {
+ spider_set_bit(minimum_select_bitmap, (*field)->field_index);
+ field_length =
+ mysql_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(alias_length + field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ appended = TRUE;
+ }
+ }
+ if (appended)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ else {
+ if (str->reserve(SPIDER_SQL_ONE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_select_columns_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ DBUG_ENTER("spider_mysql_handler::append_select_columns_with_alias");
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (
+ result_list->direct_aggregate &&
+ (error_num = append_sum_select(str, alias, alias_length))
+ )
+ DBUG_RETURN(error_num);
+#endif
+ if ((error_num = append_match_select(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ if (!spider->select_column_mode)
+ {
+ if (result_list->keyread)
+ DBUG_RETURN(append_key_select_with_alias(
+ str, result_list->key_info, alias, alias_length));
+ else
+ DBUG_RETURN(append_table_select_with_alias(
+ str, alias, alias_length));
+ }
+ DBUG_RETURN(append_minimum_select_with_alias(str, alias, alias_length));
+}
+
+int spider_mysql_handler::append_hint_after_table_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_hint_after_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_hint_after_table(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_hint_after_table(
+ spider_string *str
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_hint_after_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (
+ mysql_share->key_hint &&
+ (error_num = spider_db_append_hint_after_table(spider,
+ str, &mysql_share->key_hint[spider->active_index]))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+void spider_mysql_handler::set_where_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::set_where_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ where_pos = sql.length();
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ where_pos = update_sql.length();
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_read_pos = ha_sql.length();
+ break;
+ default:
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_mysql_handler::set_where_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::set_where_to_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ sql.length(where_pos);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ update_sql.length(where_pos);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_sql.length(ha_read_pos);
+ break;
+ default:
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_handler::check_item_type(
+ Item *item
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::check_item_type");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = spider_db_print_item_type(item, spider, NULL, NULL, 0,
+ spider_dbton_mysql.dbton_id);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_values_connector_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_values_connector_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_values_connector(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_values_connector(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_values_connector");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
+ SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_values_terminator_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_values_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_values_terminator(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_values_terminator(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_values_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(str->length() -
+ SPIDER_SQL_COMMA_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_union_table_connector_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_union_table_connector_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_table_connector(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_union_table_connector(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_union_table_connector");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_union_table_terminator_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_union_table_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_table_terminator(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_union_table_terminator(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_union_table_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(str->length() -
+ ((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN));
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ table_name_pos = str->length() + SPIDER_SQL_SPACE_LEN + SPIDER_SQL_A_LEN +
+ SPIDER_SQL_COMMA_LEN;
+ if (str->reserve(tmp_sql.length() - SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(tmp_sql.ptr() + SPIDER_SQL_FROM_LEN,
+ tmp_sql.length() - SPIDER_SQL_FROM_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_column_values_part(
+ const key_range *start_key,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_key_column_values_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_column_values(str, start_key);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_column_values(
+ spider_string *str,
+ const key_range *start_key
+) {
+ int error_num;
+ const uchar *ptr;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ SPIDER_SHARE *share = spider->share;
+ KEY *key_info = result_list->key_info;
+ uint length;
+ uint store_length;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ DBUG_ENTER("spider_mysql_handler::append_key_column_values");
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ for (
+ key_part = key_info->key_part,
+ length = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ length += store_length
+ ) {
+ store_length = key_part->store_length;
+ ptr = start_key->key + length;
+ field = key_part->field;
+ if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
+ {
+ if (error_num > 0)
+ DBUG_RETURN(error_num);
+ } else {
+ if (spider_db_mysql_utility.append_column_value(spider, str, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_column_values_with_name_part(
+ const key_range *start_key,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_key_column_values_with_name_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_column_values_with_name(str, start_key);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_column_values_with_name(
+ spider_string *str,
+ const key_range *start_key
+) {
+ int error_num;
+ const uchar *ptr;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ SPIDER_SHARE *share = spider->share;
+ KEY *key_info = result_list->key_info;
+ uint length;
+ uint key_name_length, key_count;
+ uint store_length;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ char tmp_buf[MAX_FIELD_WIDTH];
+ DBUG_ENTER("spider_mysql_handler::append_key_column_values_with_name");
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ for (
+ key_part = key_info->key_part,
+ length = 0,
+ key_count = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ length += store_length,
+ key_count++
+ ) {
+ store_length = key_part->store_length;
+ ptr = start_key->key + length;
+ field = key_part->field;
+ if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
+ {
+ if (error_num > 0)
+ DBUG_RETURN(error_num);
+ } else {
+ if (spider_db_mysql_utility.append_column_value(spider, str, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
+ if (str->reserve(SPIDER_SQL_SPACE_LEN + key_name_length +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(tmp_buf, key_name_length);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_where_part(
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str, *str_part = NULL, *str_part2 = NULL;
+ bool set_order;
+ DBUG_ENTER("spider_mysql_handler::append_key_where_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ set_order = FALSE;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ set_order = FALSE;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ set_order = FALSE;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ ha_read_pos = str->length();
+ str_part = &sql_part;
+ str_part2 = &sql_part2;
+ str_part->length(0);
+ str_part2->length(0);
+ set_order = TRUE;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_where(str, str_part, str_part2, start_key, end_key,
+ sql_type, set_order);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_where(
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type,
+ bool set_order
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_key_where");
+ error_num = spider_db_append_key_where_internal(str, str_part, str_part2,
+ start_key, end_key, spider, set_order, sql_type,
+ spider_dbton_mysql.dbton_id);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_is_null_part(
+ ulong sql_type,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+) {
+ int error_num;
+ spider_string *str, *str_part = NULL, *str_part2 = NULL;
+ DBUG_ENTER("spider_mysql_handler::append_is_null_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ str_part = &sql_part;
+ str_part2 = &sql_part2;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_is_null(sql_type, str, str_part, str_part2,
+ key_part, key, ptr, key_eq, tgt_final);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_is_null(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+) {
+ DBUG_ENTER("spider_mysql_handler::append_is_null");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider key_eq=%s", key_eq ? "TRUE" : "FALSE"));
+ if (key_part->null_bit)
+ {
+ if (*(*ptr)++)
+ {
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ if (
+ key_eq ||
+ key->flag == HA_READ_KEY_EXACT ||
+ key->flag == HA_READ_KEY_OR_NEXT
+ ) {
+ if (tgt_final)
+ {
+ if (str->reserve(SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ }
+ str = str_part;
+ if (str->reserve(SPIDER_SQL_NULL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (str_part->length() == SPIDER_SQL_OPEN_PAREN_LEN)
+ {
+ str = str_part;
+ /* first index column */
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ ha_next_pos = str->length();
+ if (str->reserve(SPIDER_SQL_FIRST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
+ spider->result_list.ha_read_kind = 1;
+ } else if (tgt_final)
+ {
+ if (str->reserve(SPIDER_SQL_GT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_GT_STR, SPIDER_SQL_GT_LEN);
+ str = str_part;
+ if (str->reserve(SPIDER_SQL_NULL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ }
+ }
+ str = str_part2;
+ }
+ if (
+ key_eq ||
+ key->flag == HA_READ_KEY_EXACT ||
+ key->flag == HA_READ_KEY_OR_NEXT
+ ) {
+ if (str->reserve(SPIDER_SQL_IS_NULL_LEN +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ mysql_share->column_name_str[key_part->field->field_index].length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, key_part->field->field_index);
+ str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_IS_NOT_NULL_LEN +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ mysql_share->column_name_str[key_part->field->field_index].length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, key_part->field->field_index);
+ str->q_append(SPIDER_SQL_IS_NOT_NULL_STR, SPIDER_SQL_IS_NOT_NULL_LEN);
+ }
+ DBUG_RETURN(-1);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_where_terminator_part(
+ ulong sql_type,
+ bool set_order,
+ int key_count
+) {
+ int error_num;
+ spider_string *str, *str_part = NULL, *str_part2 = NULL;
+ DBUG_ENTER("spider_mysql_handler::append_where_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ str_part = &sql_part;
+ str_part2 = &sql_part2;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_where_terminator(sql_type, str, str_part, str_part2,
+ set_order, key_count);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_where_terminator(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ bool set_order,
+ int key_count
+) {
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ DBUG_ENTER("spider_mysql_handler::append_where_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type != SPIDER_SQL_TYPE_HANDLER)
+ {
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+ if (!set_order)
+ result_list->key_order = key_count;
+ } else {
+ str_part2->length(str_part2->length() - SPIDER_SQL_AND_LEN);
+
+ str_part->length(str_part->length() - SPIDER_SQL_COMMA_LEN);
+ if (!result_list->ha_read_kind)
+ str_part->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ if (str->append(*str_part))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ uint clause_length = str->length() - ha_next_pos;
+ if (clause_length < SPIDER_SQL_NEXT_LEN)
+ {
+ int roop_count;
+ clause_length = SPIDER_SQL_NEXT_LEN - clause_length;
+ if (str->reserve(clause_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ for (roop_count = 0; roop_count < (int) clause_length; roop_count++)
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_match_where_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_match_where_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+ }
+ error_num = append_match_where(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_match_where(
+ spider_string *str
+) {
+ int error_num;
+ bool first = TRUE;
+ st_spider_ft_info *ft_info = spider->ft_first;
+ DBUG_ENTER("spider_mysql_handler::append_match_where");
+ if (spider->ft_current)
+ {
+ while (TRUE)
+ {
+ if (ft_info->used_in_where)
+ {
+ if (first)
+ {
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ first = FALSE;
+ }
+ if ((error_num = append_match_against(str, ft_info, NULL, 0)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+
+ if (ft_info == spider->ft_current)
+ break;
+ ft_info = ft_info->next;
+ }
+ if (!first)
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_update_where(
+ spider_string *str,
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ uint field_name_length;
+ Field **field;
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_mysql_handler::append_update_where");
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ for (field = table->field; *field; field++)
+ {
+ if (
+ table->s->primary_key == MAX_KEY ||
+ bitmap_is_set(table->read_set, (*field)->field_index)
+ ) {
+ field_name_length =
+ mysql_share->column_name_str[(*field)->field_index].length();
+ if ((*field)->is_null(ptr_diff))
+ {
+ if (str->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_IS_NULL_LEN + SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
+ } else {
+ if (str->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ (*field)->move_field_offset(ptr_diff);
+ if (
+ spider_db_mysql_utility.
+ append_column_value(spider, str, *field, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_AND_LEN)
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ (*field)->move_field_offset(-ptr_diff);
+ }
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+ }
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+ if (str->reserve(SPIDER_SQL_LIMIT1_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LIMIT1_STR, SPIDER_SQL_LIMIT1_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_condition_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type,
+ bool test_flg
+) {
+ int error_num;
+ spider_string *str;
+ bool start_where = FALSE;
+ DBUG_ENTER("spider_mysql_handler::append_condition_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &sql;
+ start_where = ((int) str->length() == where_pos);
+ }
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &tmp_sql;
+ start_where = ((int) str->length() == where_pos);
+ }
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &update_sql;
+ start_where = ((int) str->length() == where_pos);
+ }
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &ha_sql;
+ start_where = TRUE;
+ if (spider->active_index == MAX_KEY)
+ {
+ set_where_pos(SPIDER_SQL_TYPE_HANDLER);
+ if (str->reserve(SPIDER_SQL_READ_LEN + SPIDER_SQL_FIRST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_READ_STR, SPIDER_SQL_READ_LEN);
+ ha_next_pos = str->length();
+ str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
+ sql_part2.length(0);
+ }
+ ha_where_pos = str->length();
+
+ if (
+ spider->sql_command == SQLCOM_HA_READ ||
+ !spider->result_list.use_both_key
+ ) {
+ if (sql_part2.length())
+ {
+ str->append(sql_part2);
+ start_where = FALSE;
+ }
+ } else {
+ DBUG_RETURN(0);
+ }
+ }
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_condition(str, alias, alias_length, start_where,
+ sql_type);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_condition(
+ spider_string *str,
+ const char *alias,
+ uint alias_length,
+ bool start_where,
+ ulong sql_type
+) {
+ int error_num, restart_pos = 0, start_where_pos;
+ SPIDER_CONDITION *tmp_cond = spider->condition;
+ DBUG_ENTER("spider_mysql_handler::append_condition");
+ if (str && start_where)
+ {
+ start_where_pos = str->length();
+ } else {
+ start_where_pos = 0;
+ }
+
+ if (spider->is_clone && !tmp_cond)
+ {
+ tmp_cond = spider->pt_clone_source_handler->condition;
+ }
+
+ while (tmp_cond)
+ {
+ if (str)
+ {
+ restart_pos = str->length();
+ if (start_where)
+ {
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ start_where = FALSE;
+ } else {
+ if (str->reserve(SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+ }
+ if ((error_num = spider_db_print_item_type(
+ (Item *) tmp_cond->cond, spider, str, alias, alias_length,
+ spider_dbton_mysql.dbton_id)))
+ {
+ if (str && error_num == ER_SPIDER_COND_SKIP_NUM)
+ {
+ DBUG_PRINT("info",("spider COND skip"));
+ str->length(restart_pos);
+ start_where = (restart_pos == start_where_pos);
+ } else
+ DBUG_RETURN(error_num);
+ }
+ tmp_cond = tmp_cond->next;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_match_against_part(
+ ulong sql_type,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_match_against_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_match_against(str, ft_info, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_match_against(
+ spider_string *str,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+) {
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ String *ft_init_key;
+ KEY *key_info;
+ uint key_name_length;
+ int key_count;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ DBUG_ENTER("spider_mysql_handler::append_match_against");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_MATCH_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
+
+ ft_init_key = ft_info->key;
+ key_info = &table->key_info[ft_info->inx];
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+
+ for (
+ key_part = key_info->key_part,
+ key_count = 0;
+ key_count < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ key_count++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ if (alias_length)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ } else {
+ if (str->reserve(key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_AGAINST_LEN + SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+
+ char buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(buf, MAX_FIELD_WIDTH, share->access_charset);
+ tmp_str.init_calc_mem(116);
+ tmp_str.length(0);
+ if (
+ tmp_str.append(ft_init_key->ptr(), ft_init_key->length(),
+ ft_init_key->charset()) ||
+ str->reserve(tmp_str.length() * 2) ||
+ spider_db_mysql_utility.append_escaped_util(str, tmp_str.get_str())
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->mem_calc();
+
+ if (str->reserve(
+ SPIDER_SQL_VALUE_QUOTE_LEN + SPIDER_SQL_CLOSE_PAREN_LEN +
+ ((ft_info->flags & FT_BOOL) ? SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
+ ((ft_info->flags & FT_EXPAND) ?
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
+ ))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if (ft_info->flags & FT_BOOL)
+ str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
+ if (ft_info->flags & FT_EXPAND)
+ str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_match_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_match_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_match_select(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_match_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_match_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider->ft_current)
+ {
+ st_spider_ft_info *ft_info = spider->ft_first;
+ while (TRUE)
+ {
+ if ((error_num = append_match_against(str, ft_info,
+ alias, alias_length)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if (ft_info == spider->ft_current)
+ break;
+ ft_info = ft_info->next;
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_mysql_handler::append_sum_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_sum_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_sum_select(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_sum_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ st_select_lex *select_lex;
+ DBUG_ENTER("spider_mysql_handler::append_sum_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ select_lex = spider_get_select_lex(spider);
+ JOIN *join = select_lex->join;
+ Item_sum **item_sum_ptr;
+ for (item_sum_ptr = join->sum_funcs; *item_sum_ptr; ++item_sum_ptr)
+ {
+ if ((error_num = spider_db_mysql_utility.open_item_sum_func(*item_sum_ptr,
+ spider, str, alias, alias_length)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+void spider_mysql_handler::set_order_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::set_order_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ order_pos = sql.length();
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ order_pos = update_sql.length();
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_next_pos = ha_sql.length();
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_mysql_handler::set_order_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::set_order_to_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ sql.length(order_pos);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ update_sql.length(order_pos);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_sql.length(ha_next_pos);
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_mysql_handler::append_group_by_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_group_by_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_group_by(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_group_by(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ st_select_lex *select_lex;
+ DBUG_ENTER("spider_mysql_handler::append_group_by");
+ DBUG_PRINT("info",("spider this=%p", this));
+ select_lex = spider_get_select_lex(spider);
+ ORDER *group = (ORDER *) select_lex->group_list.first;
+ if (group)
+ {
+ if (str->reserve(SPIDER_SQL_GROUP_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
+ for (; group; group = group->next)
+ {
+ if ((error_num = spider_db_print_item_type((*group->item), spider, str,
+ alias, alias_length, spider_dbton_mysql.dbton_id)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_mysql_handler::append_key_order_for_merge_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_key_order_for_merge_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ ha_limit_pos = ha_sql.length();
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_order_for_merge_with_alias(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_order_for_merge_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ /* sort for index merge */
+ TABLE *table = spider->get_table();
+ int length;
+ Field *field;
+ uint key_name_length;
+ DBUG_ENTER("spider_mysql_handler::append_key_order_for_merge_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (spider->result_list.direct_aggregate)
+ {
+ int error_num;
+ if ((error_num = append_group_by(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+ if (table->s->primary_key < MAX_KEY)
+ {
+ /* sort by primary key */
+ KEY *key_info = &table->key_info[table->s->primary_key];
+ KEY_PART_INFO *key_part;
+ for (
+ key_part = key_info->key_part,
+ length = 1;
+ length <= (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (length > 1)
+ {
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ } else {
+ /* sort by all columns */
+ Field **fieldp;
+ for (
+ fieldp = table->field, length = 1;
+ *fieldp;
+ fieldp++, length++
+ ) {
+ key_name_length =
+ mysql_share->column_name_str[(*fieldp)->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, (*fieldp)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (length > 1)
+ {
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_order_for_direct_order_limit_with_alias(
+ str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ ORDER *order;
+ st_select_lex *select_lex;
+ longlong select_limit;
+ longlong offset_limit;
+ DBUG_ENTER("spider_mysql_handler::append_key_order_for_direct_order_limit_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (spider->result_list.direct_aggregate)
+ {
+ if ((error_num = append_group_by(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+ spider_get_select_limit(spider, &select_lex, &select_limit,
+ &offset_limit);
+ if (select_lex->order_list.first)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ for (order = (ORDER *) select_lex->order_list.first; order;
+ order = order->next)
+ {
+ if ((error_num =
+ spider_db_print_item_type((*order->item), spider, str, alias,
+ alias_length, spider_dbton_mysql.dbton_id)))
+ {
+ DBUG_PRINT("info",("spider error=%d", error_num));
+ DBUG_RETURN(error_num);
+ }
+ if (order->asc)
+ {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_order_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_key_order_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ error_num = append_key_order_for_handler(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_order_with_alias(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_key_order_for_handler(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_mysql_handler::append_key_order_for_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider ha_next_pos=%d", ha_next_pos));
+ DBUG_PRINT("info",("spider ha_where_pos=%d", ha_where_pos));
+ str->q_append(alias, alias_length);
+ memset((char *) str->ptr() + str->length(), ' ',
+ ha_where_pos - ha_next_pos - alias_length);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_key_order_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ KEY *key_info = result_list->key_info;
+ int length;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ uint key_name_length;
+ DBUG_ENTER("spider_mysql_handler::append_key_order_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (spider->result_list.direct_aggregate)
+ {
+ int error_num;
+ if ((error_num = append_group_by(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+ if (result_list->sorted == TRUE)
+ {
+ if (result_list->desc_flg == TRUE)
+ {
+ for (
+ key_part = key_info->key_part + result_list->key_order,
+ length = 1;
+ length + result_list->key_order <
+ (int) spider_user_defined_key_parts(key_info) &&
+ length < result_list->max_order;
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if (
+ length + result_list->key_order <=
+ (int) spider_user_defined_key_parts(key_info) &&
+ length <= result_list->max_order
+ ) {
+ field = key_part->field;
+ key_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ }
+ }
+ } else {
+ for (
+ key_part = key_info->key_part + result_list->key_order,
+ length = 1;
+ length + result_list->key_order <
+ (int) spider_user_defined_key_parts(key_info) &&
+ length < result_list->max_order;
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if (
+ length + result_list->key_order <=
+ (int) spider_user_defined_key_parts(key_info) &&
+ length <= result_list->max_order
+ ) {
+ field = key_part->field;
+ key_name_length =
+ mysql_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ mysql_share->append_column_name(str, field->field_index);
+ }
+ }
+ }
+ }
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_limit_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ limit_pos = str->length();
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ limit_pos = str->length();
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ limit_pos = str->length();
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ ha_limit_pos = str->length();
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_limit(str, offset, limit);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::reappend_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::reappend_limit_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ str->length(limit_pos);
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ str->length(limit_pos);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ str->length(limit_pos);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ str->length(ha_limit_pos);
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_limit(str, offset, limit);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_limit(
+ spider_string *str,
+ longlong offset,
+ longlong limit
+) {
+ char buf[SPIDER_LONGLONG_LEN + 1];
+ uint32 length;
+ DBUG_ENTER("spider_mysql_handler::append_limit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info", ("spider offset=%lld", offset));
+ DBUG_PRINT("info", ("spider limit=%lld", limit));
+ if (offset || limit < 9223372036854775807LL)
+ {
+ if (str->reserve(SPIDER_SQL_LIMIT_LEN + SPIDER_SQL_COMMA_LEN +
+ ((SPIDER_LONGLONG_LEN) * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LIMIT_STR, SPIDER_SQL_LIMIT_LEN);
+ if (offset)
+ {
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset);
+ str->q_append(buf, length);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
+ str->q_append(buf, length);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_select_lock_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_select_lock_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_select_lock(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_select_lock(
+ spider_string *str
+) {
+ int lock_mode = spider_conn_lock_mode(spider);
+ DBUG_ENTER("spider_mysql_handler::append_select_lock");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
+ {
+ if (str->reserve(SPIDER_SQL_FOR_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
+ } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
+ {
+ if (str->reserve(SPIDER_SQL_SHARED_LOCK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SHARED_LOCK_STR, SPIDER_SQL_SHARED_LOCK_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_union_all_start_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_union_all_start_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_all_start(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_union_all_start(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_union_all_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_union_all_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_union_all_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_all(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_union_all(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_union_all");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_UNION_ALL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_union_all_end_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_union_all_end_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_all_end(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_union_all_end(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_union_all_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(str->length() -
+ SPIDER_SQL_UNION_ALL_LEN + SPIDER_SQL_CLOSE_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_multi_range_cnt_part(
+ ulong sql_type,
+ uint multi_range_cnt,
+ bool with_comma
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_multi_range_cnt(str, multi_range_cnt, with_comma);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_multi_range_cnt(
+ spider_string *str,
+ uint multi_range_cnt,
+ bool with_comma
+) {
+ int range_cnt_length;
+ char range_cnt_str[SPIDER_SQL_INT_LEN];
+ DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt");
+ DBUG_PRINT("info",("spider this=%p", this));
+ range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
+ multi_range_cnt));
+ if (with_comma)
+ {
+ if (str->reserve(range_cnt_length + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(range_cnt_str, range_cnt_length);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(range_cnt_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(range_cnt_str, range_cnt_length);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_multi_range_cnt_with_name_part(
+ ulong sql_type,
+ uint multi_range_cnt
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt_with_name_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_multi_range_cnt_with_name(str, multi_range_cnt);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_multi_range_cnt_with_name(
+ spider_string *str,
+ uint multi_range_cnt
+) {
+ int range_cnt_length;
+ char range_cnt_str[SPIDER_SQL_INT_LEN];
+ DBUG_ENTER("spider_mysql_handler::append_multi_range_cnt_with_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
+ multi_range_cnt));
+ if (str->reserve(range_cnt_length + SPIDER_SQL_SPACE_LEN +
+ SPIDER_SQL_ID_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(range_cnt_str, range_cnt_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_open_handler_part(
+ ulong sql_type,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_open_handler_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_open_handler(str, handler_id, conn, link_idx);
+ exec_ha_sql = str;
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_open_handler(
+ spider_string *str,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_open_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider link_idx=%d", link_idx));
+ DBUG_PRINT("info",("spider m_handler_cid=%s",
+ spider->m_handler_cid[link_idx]));
+ if (str->reserve(SPIDER_SQL_HANDLER_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
+ if ((error_num = mysql_share->append_table_name(str,
+ spider->conn_link_idx[link_idx])))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_OPEN_LEN + SPIDER_SQL_AS_LEN +
+ SPIDER_SQL_HANDLER_CID_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_OPEN_STR, SPIDER_SQL_OPEN_LEN);
+ str->q_append(SPIDER_SQL_AS_STR, SPIDER_SQL_AS_LEN);
+ str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_close_handler_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_close_handler_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_close_handler(str, link_idx);
+ exec_ha_sql = str;
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_close_handler(
+ spider_string *str,
+ int link_idx
+) {
+ DBUG_ENTER("spider_mysql_handler::append_close_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_HANDLER_LEN + SPIDER_SQL_CLOSE_LEN +
+ SPIDER_SQL_HANDLER_CID_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
+ str->q_append(spider->m_handler_cid[link_idx],
+ SPIDER_SQL_HANDLER_CID_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_STR, SPIDER_SQL_CLOSE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_insert_terminator_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_insert_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ str = &insert_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_insert_terminator(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_insert_terminator(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_mysql_handler::append_insert_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider->result_list.insert_dup_update_pushdown)
+ {
+ DBUG_PRINT("info",("spider add duplicate key update"));
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN +
+ dup_update_sql.length()))
+ {
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_DUPLICATE_KEY_UPDATE_STR,
+ SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN);
+ if (str->append(dup_update_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ } else {
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_insert_values_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_insert_values_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ str = &insert_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_insert_values(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_insert_values(
+ spider_string *str
+) {
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ Field **field;
+ bool add_value = FALSE;
+ DBUG_ENTER("spider_mysql_handler::append_insert_values");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ DBUG_PRINT("info",("spider field_index=%u", (*field)->field_index));
+ if (
+ bitmap_is_set(table->write_set, (*field)->field_index) ||
+ bitmap_is_set(table->read_set, (*field)->field_index)
+ ) {
+#ifndef DBUG_OFF
+ my_bitmap_map *tmp_map =
+ dbug_tmp_use_all_columns(table, table->read_set);
+#endif
+ add_value = TRUE;
+ DBUG_PRINT("info",("spider is_null()=%s",
+ (*field)->is_null() ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider table->next_number_field=%p",
+ table->next_number_field));
+ DBUG_PRINT("info",("spider *field=%p", *field));
+ DBUG_PRINT("info",("spider force_auto_increment=%s",
+ (table->next_number_field && spider->force_auto_increment) ?
+ "TRUE" : "FALSE"));
+ if (
+ (*field)->is_null() ||
+ (
+ table->next_number_field == *field &&
+ !table->auto_increment_field_not_null &&
+ !spider->force_auto_increment
+ )
+ ) {
+ if (str->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
+ {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (
+ spider_db_mysql_utility.
+ append_column_value(spider, str, *field, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_COMMA_LEN)
+ ) {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ }
+ }
+ if (add_value)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
+ {
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_into_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_into_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ str = &insert_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_into(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_into(
+ spider_string *str
+) {
+ const TABLE *table = spider->get_table();
+ Field **field;
+ uint field_name_length = 0;
+ DBUG_ENTER("spider_mysql_handler::append_into");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_INTO_LEN + mysql_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ insert_table_name_pos = str->length();
+ append_table_name_with_adjusting(str, first_link_idx,
+ SPIDER_SQL_TYPE_INSERT_SQL);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ if (
+ bitmap_is_set(table->write_set, (*field)->field_index) ||
+ bitmap_is_set(table->read_set, (*field)->field_index)
+ ) {
+ field_name_length =
+ mysql_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ mysql_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if (field_name_length)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_VALUES_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ insert_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+void spider_mysql_handler::set_insert_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::set_insert_to_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ insert_sql.length(insert_pos);
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_handler::append_from_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_from_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ default:
+ str = &sql;
+ break;
+ }
+ error_num = append_from(str, sql_type, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_from(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_mysql_handler::append_from");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider link_idx=%d", link_idx));
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ ha_table_name_pos = str->length();
+ DBUG_PRINT("info",("spider ha_table_name_pos=%u", ha_table_name_pos));
+ ha_sql_handler_id = spider->m_handler_id[link_idx];
+ DBUG_PRINT("info",("spider ha_sql_handler_id=%u", ha_sql_handler_id));
+ if (str->reserve(SPIDER_SQL_HANDLER_CID_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
+ DBUG_PRINT("info",("spider m_handler_cid=%s",
+ spider->m_handler_cid[link_idx]));
+ } else {
+ if (str->reserve(SPIDER_SQL_FROM_LEN + mysql_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ table_name_pos = str->length();
+ append_table_name_with_adjusting(str, link_idx, sql_type);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_flush_tables_part(
+ ulong sql_type,
+ int link_idx,
+ bool lock
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_flush_tables_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_flush_tables(str, link_idx, lock);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_flush_tables(
+ spider_string *str,
+ int link_idx,
+ bool lock
+) {
+ DBUG_ENTER("spider_mysql_handler::append_flush_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (lock)
+ {
+ if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN +
+ SPIDER_SQL_WITH_READ_LOCK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
+ str->q_append(SPIDER_SQL_WITH_READ_LOCK_STR,
+ SPIDER_SQL_WITH_READ_LOCK_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_optimize_table_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_optimize_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_optimize_table(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_optimize_table(
+ spider_string *str,
+ int link_idx
+) {
+ SPIDER_SHARE *share = spider->share;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ int local_length = spider_param_internal_optimize_local(spider->trx->thd,
+ share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
+ DBUG_ENTER("spider_mysql_handler::append_optimize_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_OPTIMIZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
+ local_length +
+ mysql_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ mysql_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_OPTIMIZE_STR, SPIDER_SQL_SQL_OPTIMIZE_LEN);
+ if (local_length)
+ str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
+ str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
+ mysql_share->append_table_name(str, conn_link_idx);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_analyze_table_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_analyze_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_analyze_table(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_analyze_table(
+ spider_string *str,
+ int link_idx
+) {
+ SPIDER_SHARE *share = spider->share;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ int local_length = spider_param_internal_optimize_local(spider->trx->thd,
+ share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
+ DBUG_ENTER("spider_mysql_handler::append_analyze_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_ANALYZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
+ local_length +
+ mysql_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ mysql_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_ANALYZE_STR, SPIDER_SQL_SQL_ANALYZE_LEN);
+ if (local_length)
+ str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
+ str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
+ mysql_share->append_table_name(str, conn_link_idx);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_repair_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_repair_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_repair_table(str, link_idx, check_opt);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_repair_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ SPIDER_SHARE *share = spider->share;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ int local_length = spider_param_internal_optimize_local(spider->trx->thd,
+ share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
+ DBUG_ENTER("spider_mysql_handler::append_repair_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_REPAIR_LEN + SPIDER_SQL_SQL_TABLE_LEN +
+ local_length +
+ mysql_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ mysql_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_REPAIR_STR, SPIDER_SQL_SQL_REPAIR_LEN);
+ if (local_length)
+ str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
+ str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
+ mysql_share->append_table_name(str, conn_link_idx);
+ if (check_opt->flags & T_QUICK)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
+ }
+ if (check_opt->flags & T_EXTEND)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
+ }
+ if (check_opt->sql_flags & TT_USEFRM)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_USE_FRM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_USE_FRM_STR, SPIDER_SQL_SQL_USE_FRM_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_check_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_check_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_check_table(str, link_idx, check_opt);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_check_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_mysql_handler::append_check_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_CHECK_TABLE_LEN +
+ mysql_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ mysql_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_CHECK_TABLE_STR,
+ SPIDER_SQL_SQL_CHECK_TABLE_LEN);
+ mysql_share->append_table_name(str, conn_link_idx);
+ if (check_opt->flags & T_QUICK)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
+ }
+ if (check_opt->flags & T_FAST)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_FAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_FAST_STR, SPIDER_SQL_SQL_FAST_LEN);
+ }
+ if (check_opt->flags & T_MEDIUM)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_MEDIUM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_MEDIUM_STR, SPIDER_SQL_SQL_MEDIUM_LEN);
+ }
+ if (check_opt->flags & T_EXTEND)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_enable_keys_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_enable_keys_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_enable_keys(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_enable_keys(
+ spider_string *str,
+ int link_idx
+) {
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_mysql_handler::append_enable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
+ mysql_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ mysql_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_ENABLE_KEYS_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
+ SPIDER_SQL_SQL_ALTER_TABLE_LEN);
+ mysql_share->append_table_name(str, conn_link_idx);
+ str->q_append(SPIDER_SQL_SQL_ENABLE_KEYS_STR,
+ SPIDER_SQL_SQL_ENABLE_KEYS_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_disable_keys_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_disable_keys_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_disable_keys(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_disable_keys(
+ spider_string *str,
+ int link_idx
+) {
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_mysql_handler::append_disable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
+ mysql_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ mysql_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_DISABLE_KEYS_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
+ SPIDER_SQL_SQL_ALTER_TABLE_LEN);
+ mysql_share->append_table_name(str, conn_link_idx);
+ str->q_append(SPIDER_SQL_SQL_DISABLE_KEYS_STR,
+ SPIDER_SQL_SQL_DISABLE_KEYS_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_delete_all_rows_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_delete_all_rows_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ str = &update_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_delete_all_rows(str, sql_type);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_delete_all_rows(
+ spider_string *str,
+ ulong sql_type
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_delete_all_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider->sql_command == SQLCOM_TRUNCATE)
+ {
+ if ((error_num = append_truncate(str, sql_type, first_link_idx)))
+ DBUG_RETURN(error_num);
+ } else {
+ if (
+ (error_num = append_delete(str)) ||
+ (error_num = append_from(str, sql_type, first_link_idx))
+ )
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_truncate(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_mysql_handler::append_truncate");
+ if (str->reserve(SPIDER_SQL_TRUNCATE_TABLE_LEN +
+ mysql_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + mysql_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_TRUNCATE_TABLE_STR, SPIDER_SQL_TRUNCATE_TABLE_LEN);
+ table_name_pos = str->length();
+ append_table_name_with_adjusting(str, link_idx, sql_type);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_explain_select_part(
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_mysql_handler::append_explain_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num =
+ append_explain_select(str, start_key, end_key, sql_type, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::append_explain_select(
+ spider_string *str,
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::append_explain_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_EXPLAIN_SELECT_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_EXPLAIN_SELECT_STR, SPIDER_SQL_EXPLAIN_SELECT_LEN);
+ if (
+ (error_num = append_from(str, sql_type, link_idx)) ||
+ (error_num = append_key_where(str, NULL, NULL, start_key, end_key,
+ sql_type, FALSE))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_mysql_handler::is_bulk_insert_exec_period(
+ bool bulk_end
+) {
+ DBUG_ENTER("spider_mysql_handler::is_bulk_insert_exec_period");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider insert_sql.length=%u", insert_sql.length()));
+ DBUG_PRINT("info",("spider insert_pos=%d", insert_pos));
+ DBUG_PRINT("info",("spider insert_sql=%s", insert_sql.c_ptr_safe()));
+ if (
+ (bulk_end || (int) insert_sql.length() >= spider->bulk_size) &&
+ (int) insert_sql.length() > insert_pos
+ ) {
+ DBUG_RETURN(TRUE);
+ }
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_mysql_handler::sql_is_filled_up(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::sql_is_filled_up");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(filled_up);
+}
+
+bool spider_mysql_handler::sql_is_empty(
+ ulong sql_type
+) {
+ bool is_empty;
+ DBUG_ENTER("spider_mysql_handler::sql_is_empty");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ is_empty = (sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ is_empty = (insert_sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ is_empty = (update_sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ is_empty = (tmp_sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ is_empty = (ha_sql.length() == 0);
+ break;
+ default:
+ is_empty = TRUE;
+ break;
+ }
+ DBUG_RETURN(is_empty);
+}
+
+bool spider_mysql_handler::support_multi_split_read()
+{
+ DBUG_ENTER("spider_mysql_handler::support_multi_split_read");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+bool spider_mysql_handler::support_bulk_update()
+{
+ DBUG_ENTER("spider_mysql_handler::support_bulk_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_mysql_handler::bulk_tmp_table_insert()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = store_sql_to_bulk_tmp_table(&update_sql, upd_tmp_tbl);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::bulk_tmp_table_insert(
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = store_sql_to_bulk_tmp_table(
+ &spider->result_list.update_sqls[link_idx],
+ spider->result_list.upd_tmp_tbls[link_idx]);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::bulk_tmp_table_end_bulk_insert()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_end_bulk_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = upd_tmp_tbl->file->ha_end_bulk_insert()))
+ {
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::bulk_tmp_table_rnd_init()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_rnd_init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ upd_tmp_tbl->file->extra(HA_EXTRA_CACHE);
+ if ((error_num = upd_tmp_tbl->file->ha_rnd_init(TRUE)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ reading_from_bulk_tmp_table = TRUE;
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::bulk_tmp_table_rnd_next()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_rnd_next");
+ DBUG_PRINT("info",("spider this=%p", this));
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50200
+ error_num = upd_tmp_tbl->file->ha_rnd_next(upd_tmp_tbl->record[0]);
+#else
+ error_num = upd_tmp_tbl->file->rnd_next(upd_tmp_tbl->record[0]);
+#endif
+ if (!error_num)
+ {
+ error_num = restore_sql_from_bulk_tmp_table(&insert_sql, upd_tmp_tbl);
+ }
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_handler::bulk_tmp_table_rnd_end()
+{
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_rnd_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ reading_from_bulk_tmp_table = FALSE;
+ if ((error_num = upd_tmp_tbl->file->ha_rnd_end()))
+ {
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_mysql_handler::need_copy_for_update(
+ int link_idx
+) {
+ int all_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_mysql_handler::need_copy_for_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(!mysql_share->same_db_table_name ||
+ spider->share->link_statuses[all_link_idx] == SPIDER_LINK_STATUS_RECOVERY);
+}
+
+bool spider_mysql_handler::bulk_tmp_table_created()
+{
+ DBUG_ENTER("spider_mysql_handler::bulk_tmp_table_created");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(upd_tmp_tbl);
+}
+
+int spider_mysql_handler::mk_bulk_tmp_table_and_bulk_start()
+{
+ THD *thd = spider->trx->thd;
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_mysql_handler::mk_bulk_tmp_table_and_bulk_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!upd_tmp_tbl)
+ {
+ if (!(upd_tmp_tbl = spider_mk_sys_tmp_table(
+ thd, table, &upd_tmp_tbl_prm, "a", update_sql.charset())))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ upd_tmp_tbl->file->extra(HA_EXTRA_WRITE_CACHE);
+ upd_tmp_tbl->file->ha_start_bulk_insert((ha_rows) 0);
+ }
+ DBUG_RETURN(0);
+}
+
+void spider_mysql_handler::rm_bulk_tmp_table()
+{
+ DBUG_ENTER("spider_mysql_handler::rm_bulk_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (upd_tmp_tbl)
+ {
+ spider_rm_sys_tmp_table(spider->trx->thd, upd_tmp_tbl, &upd_tmp_tbl_prm);
+ upd_tmp_tbl = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_handler::store_sql_to_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::store_sql_to_bulk_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_table->field[0]->set_notnull();
+ tmp_table->field[0]->store(str->ptr(), str->length(), str->charset());
+ if ((error_num = tmp_table->file->ha_write_row(tmp_table->record[0])))
+ DBUG_RETURN(error_num);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::restore_sql_from_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+) {
+ DBUG_ENTER("spider_mysql_handler::restore_sql_from_bulk_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_table->field[0]->val_str(str->get_str());
+ str->mem_calc();
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::insert_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash2 = &link_for_hash[link_idx];
+ DBUG_ENTER("spider_mysql_handler::insert_lock_tables_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ uint old_elements =
+ db_conn->lock_table_hash.array.max_element;
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ if (my_hash_insert_with_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash2->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash2))
+#else
+ if (my_hash_insert(&db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash2))
+#endif
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (db_conn->lock_table_hash.array.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ db_conn->lock_table_hash,
+ (db_conn->lock_table_hash.array.max_element - old_elements) *
+ db_conn->lock_table_hash.array.size_of_element);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::append_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx,
+ int *appended
+) {
+ int error_num;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash, *tmp_link_for_hash2;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
+ DBUG_ENTER("spider_mysql_handler::append_lock_tables_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_link_for_hash2 = &link_for_hash[link_idx];
+ tmp_link_for_hash2->db_table_str =
+ &mysql_share->db_table_str[conn_link_idx];
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ tmp_link_for_hash2->db_table_str_hash_value =
+ mysql_share->db_table_str_hash_value[conn_link_idx];
+ if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *)
+ my_hash_search_using_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash2->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
+ tmp_link_for_hash2->db_table_str->length())))
+#else
+ if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *) my_hash_search(
+ &db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
+ tmp_link_for_hash2->db_table_str->length())))
+#endif
+ {
+ if ((error_num = insert_lock_tables_list(conn, link_idx)))
+ DBUG_RETURN(error_num);
+ *appended = 1;
+ } else {
+ if (tmp_link_for_hash->spider->lock_type < spider->lock_type)
+ {
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ my_hash_delete_with_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash);
+#else
+ my_hash_delete(&db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash);
+#endif
+ uint old_elements =
+ db_conn->lock_table_hash.array.max_element;
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ if (my_hash_insert_with_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash2->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash2))
+#else
+ if (my_hash_insert(&db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash2))
+#endif
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (db_conn->lock_table_hash.array.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ db_conn->lock_table_hash,
+ (db_conn->lock_table_hash.array.max_element - old_elements) *
+ db_conn->lock_table_hash.array.size_of_element);
+ }
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::realloc_sql(
+ ulong *realloced
+) {
+ THD *thd = spider->trx->thd;
+ st_spider_share *share = spider->share;
+ int init_sql_alloc_size =
+ spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
+ DBUG_ENTER("spider_mysql_handler::realloc_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((int) sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ sql.free();
+ if (sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
+ }
+ if ((int) ha_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ ha_sql.free();
+ if (ha_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
+ }
+ if ((int) dup_update_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ dup_update_sql.free();
+ if (dup_update_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if ((int) insert_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ insert_sql.free();
+ if (insert_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_INSERT_SQL;
+ }
+ if ((int) update_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ update_sql.free();
+ if (update_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL);
+ }
+ update_sql.length(0);
+ if ((int) tmp_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ tmp_sql.free();
+ if (tmp_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_TMP_SQL;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::reset_sql(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::reset_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
+ {
+ sql.length(0);
+ }
+ if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ insert_sql.length(0);
+ }
+ if (sql_type & (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL |
+ SPIDER_SQL_TYPE_BULK_UPDATE_SQL))
+ {
+ update_sql.length(0);
+ }
+ if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
+ {
+ tmp_sql.length(0);
+ }
+ if (sql_type & SPIDER_SQL_TYPE_HANDLER)
+ {
+ ha_sql.length(0);
+ }
+ DBUG_RETURN(0);
+}
+
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+int spider_mysql_handler::reset_keys(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::reset_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::reset_upds(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::reset_upds");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_upds.clear();
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::reset_strs(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::reset_strs");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::reset_strs_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::reset_strs_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::push_back_upds(
+ SPIDER_HS_STRING_REF &info
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_handler::push_back_upds");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = hs_upds.push_back(info);
+ DBUG_RETURN(error_num);
+}
+#endif
+
+bool spider_mysql_handler::need_lock_before_set_sql_for_exec(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::need_lock_before_set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_mysql_handler::set_sql_for_exec(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ uint tmp_pos;
+ SPIDER_SHARE *share = spider->share;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ int all_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_mysql_handler::set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & (SPIDER_SQL_TYPE_SELECT_SQL | SPIDER_SQL_TYPE_TMP_SQL))
+ {
+ if (mysql_share->same_db_table_name || link_idx == first_link_idx)
+ {
+ if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
+ exec_sql = &sql;
+ if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
+ exec_tmp_sql = &tmp_sql;
+ } else {
+ char tmp_table_name[MAX_FIELD_WIDTH * 2],
+ tgt_table_name[MAX_FIELD_WIDTH * 2];
+ int tmp_table_name_length;
+ spider_string tgt_table_name_str(tgt_table_name,
+ MAX_FIELD_WIDTH * 2,
+ mysql_share->db_names_str[link_idx].charset());
+ const char *table_names[2], *table_aliases[2];
+ uint table_name_lengths[2], table_alias_lengths[2];
+ tgt_table_name_str.init_calc_mem(104);
+ tgt_table_name_str.length(0);
+ if (result_list->tmp_table_join && spider->bka_mode != 2)
+ {
+ create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
+ link_idx);
+ append_table_name_with_adjusting(&tgt_table_name_str, link_idx,
+ SPIDER_SQL_TYPE_TMP_SQL);
+ table_names[0] = tmp_table_name;
+ table_names[1] = tgt_table_name_str.ptr();
+ table_name_lengths[0] = tmp_table_name_length;
+ table_name_lengths[1] = tgt_table_name_str.length();
+ table_aliases[0] = SPIDER_SQL_A_STR;
+ table_aliases[1] = SPIDER_SQL_B_STR;
+ table_alias_lengths[0] = SPIDER_SQL_A_LEN;
+ table_alias_lengths[1] = SPIDER_SQL_B_LEN;
+ }
+ if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
+ {
+ exec_sql = &result_list->sqls[link_idx];
+ if (exec_sql->copy(sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ else if (result_list->use_union)
+ {
+ if ((error_num = reset_union_table_name(exec_sql, link_idx,
+ SPIDER_SQL_TYPE_SELECT_SQL)))
+ DBUG_RETURN(error_num);
+ } else {
+ tmp_pos = exec_sql->length();
+ exec_sql->length(table_name_pos);
+ if (result_list->tmp_table_join && spider->bka_mode != 2)
+ {
+ if ((error_num = spider_db_mysql_utility.append_from_with_alias(
+ exec_sql, table_names, table_name_lengths,
+ table_aliases, table_alias_lengths, 2,
+ &table_name_pos, TRUE))
+ )
+ DBUG_RETURN(error_num);
+ exec_sql->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ } else {
+ append_table_name_with_adjusting(exec_sql, link_idx,
+ SPIDER_SQL_TYPE_SELECT_SQL);
+ }
+ exec_sql->length(tmp_pos);
+ }
+ }
+ if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
+ {
+ exec_tmp_sql = &result_list->tmp_sqls[link_idx];
+ if (result_list->tmp_table_join && spider->bka_mode != 2)
+ {
+ if (exec_tmp_sql->copy(tmp_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ else {
+ tmp_pos = exec_tmp_sql->length();
+ exec_tmp_sql->length(tmp_sql_pos1);
+ exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
+ exec_tmp_sql->length(tmp_sql_pos2);
+ exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
+ exec_tmp_sql->length(tmp_sql_pos3);
+ exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
+ exec_tmp_sql->length(tmp_pos);
+ }
+ }
+ }
+ }
+ }
+ if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ if (mysql_share->same_db_table_name || link_idx == first_link_idx)
+ exec_insert_sql = &insert_sql;
+ else {
+ exec_insert_sql = &result_list->insert_sqls[link_idx];
+ if (exec_insert_sql->copy(insert_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_PRINT("info",("spider exec_insert_sql=%s",
+ exec_insert_sql->c_ptr_safe()));
+ tmp_pos = exec_insert_sql->length();
+ exec_insert_sql->length(insert_table_name_pos);
+ append_table_name_with_adjusting(exec_insert_sql, link_idx,
+ sql_type);
+ exec_insert_sql->length(tmp_pos);
+ DBUG_PRINT("info",("spider exec_insert_sql->length=%u",
+ exec_insert_sql->length()));
+ DBUG_PRINT("info",("spider exec_insert_sql=%s",
+ exec_insert_sql->c_ptr_safe()));
+ }
+ }
+ if (sql_type & SPIDER_SQL_TYPE_BULK_UPDATE_SQL)
+ {
+ if (reading_from_bulk_tmp_table)
+ {
+ if (
+ mysql_share->same_db_table_name &&
+ share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
+ ) {
+ exec_update_sql = &insert_sql;
+ } else if (!spider->result_list.upd_tmp_tbls[link_idx])
+ {
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ } else {
+ exec_update_sql = &spider->result_list.insert_sqls[link_idx];
+ if ((error_num = restore_sql_from_bulk_tmp_table(exec_update_sql,
+ spider->result_list.upd_tmp_tbls[link_idx])))
+ {
+ DBUG_RETURN(error_num);
+ }
+ }
+ } else {
+ if (
+ mysql_share->same_db_table_name &&
+ share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
+ ) {
+ exec_update_sql = &update_sql;
+ } else {
+ exec_update_sql = &spider->result_list.update_sqls[link_idx];
+ }
+ }
+ } else if (sql_type &
+ (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL))
+ {
+ if (mysql_share->same_db_table_name || link_idx == first_link_idx)
+ exec_update_sql = &update_sql;
+ else {
+ exec_update_sql = &spider->result_list.update_sqls[link_idx];
+ if (exec_update_sql->copy(update_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_pos = exec_update_sql->length();
+ exec_update_sql->length(table_name_pos);
+ append_table_name_with_adjusting(exec_update_sql, link_idx,
+ sql_type);
+ exec_update_sql->length(tmp_pos);
+ }
+ }
+ if (sql_type & SPIDER_SQL_TYPE_HANDLER)
+ {
+ if (spider->m_handler_id[link_idx] == ha_sql_handler_id)
+ exec_ha_sql = &ha_sql;
+ else {
+ exec_ha_sql = &result_list->sqls[link_idx];
+ if (exec_ha_sql->copy(ha_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ else {
+ tmp_pos = exec_ha_sql->length();
+ exec_ha_sql->length(ha_table_name_pos);
+ append_table_name_with_adjusting(exec_ha_sql, link_idx,
+ SPIDER_SQL_TYPE_HANDLER);
+ exec_ha_sql->length(tmp_pos);
+ }
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::set_sql_for_exec(
+ spider_db_copy_table *tgt_ct,
+ ulong sql_type
+) {
+ spider_mysql_copy_table *mysql_ct = (spider_mysql_copy_table *) tgt_ct;
+ DBUG_ENTER("spider_mysql_handler::set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ exec_insert_sql = &mysql_ct->sql;
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::execute_sql(
+ ulong sql_type,
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+) {
+ spider_string *tgt_sql;
+ uint tgt_length;
+ DBUG_ENTER("spider_mysql_handler::execute_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
+ tgt_sql = exec_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
+ tgt_sql = exec_insert_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ DBUG_PRINT("info",("spider %s",
+ sql_type == SPIDER_SQL_TYPE_UPDATE_SQL ? "SPIDER_SQL_TYPE_UPDATE_SQL" :
+ sql_type == SPIDER_SQL_TYPE_DELETE_SQL ? "SPIDER_SQL_TYPE_DELETE_SQL" :
+ "SPIDER_SQL_TYPE_BULK_UPDATE_SQL"
+ ));
+ tgt_sql = exec_update_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_TMP_SQL"));
+ tgt_sql = exec_tmp_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ case SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL"));
+ tgt_sql = exec_tmp_sql;
+ tgt_length = tmp_sql_pos5;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_HANDLER"));
+ tgt_sql = exec_ha_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ default:
+ /* nothing to do */
+ DBUG_PRINT("info",("spider default"));
+ DBUG_RETURN(0);
+ }
+ DBUG_RETURN(spider_db_query(
+ conn,
+ tgt_sql->ptr(),
+ tgt_length,
+ quick_mode,
+ need_mon
+ ));
+}
+
+int spider_mysql_handler::reset()
+{
+ DBUG_ENTER("spider_mysql_handler::reset");
+ DBUG_PRINT("info",("spider this=%p", this));
+ update_sql.length(0);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::sts_mode_exchange(
+ int sts_mode
+) {
+ DBUG_ENTER("spider_mysql_handler::sts_mode_exchange");
+ DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
+ DBUG_RETURN(sts_mode);
+}
+
+int spider_mysql_handler::show_table_status(
+ int link_idx,
+ int sts_mode,
+ uint flag
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_DB_RESULT *res;
+ SPIDER_SHARE *share = spider->share;
+ uint pos = (2 * spider->conn_link_idx[link_idx]);
+ DBUG_ENTER("spider_mysql_handler::show_table_status");
+ DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
+ if (sts_mode == 1)
+ {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ mysql_share->show_table_status[0 + pos].ptr(),
+ mysql_share->show_table_status[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ mysql_share->show_table_status[0 + pos].ptr(),
+ mysql_share->show_table_status[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (spider_param_dry_access())
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+ }
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ DBUG_RETURN(error_num);
+ else {
+ my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
+ ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ DBUG_RETURN(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM);
+ }
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_status(
+ sts_mode,
+ share->records,
+ share->mean_rec_length,
+ share->data_file_length,
+ share->max_data_file_length,
+ share->index_file_length,
+ share->auto_increment_value,
+ share->create_time,
+ share->update_time,
+ share->check_time
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ switch (error_num)
+ {
+ case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
+ my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
+ ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
+ my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
+ ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ default:
+ break;
+ }
+ DBUG_RETURN(error_num);
+ }
+ } else {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ mysql_share->show_table_status[1 + pos].ptr(),
+ mysql_share->show_table_status[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ mysql_share->show_table_status[1 + pos].ptr(),
+ mysql_share->show_table_status[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (spider_param_dry_access())
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+ }
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ DBUG_RETURN(error_num);
+ else
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_status(
+ sts_mode,
+ share->records,
+ share->mean_rec_length,
+ share->data_file_length,
+ share->max_data_file_length,
+ share->index_file_length,
+ share->auto_increment_value,
+ share->create_time,
+ share->update_time,
+ share->check_time
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ switch (error_num)
+ {
+ case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
+ my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
+ ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
+ my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
+ ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ default:
+ break;
+ }
+ DBUG_RETURN(error_num);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::crd_mode_exchange(
+ int crd_mode
+) {
+ DBUG_ENTER("spider_mysql_handler::crd_mode_exchange");
+ DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
+ DBUG_RETURN(crd_mode);
+}
+
+int spider_mysql_handler::show_index(
+ int link_idx,
+ int crd_mode
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ SPIDER_DB_RESULT *res;
+ int roop_count;
+ longlong *tmp_cardinality;
+ uint pos = (2 * spider->conn_link_idx[link_idx]);
+ DBUG_ENTER("spider_mysql_handler::show_index");
+ DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
+ if (crd_mode == 1)
+ {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ mysql_share->show_index[0 + pos].ptr(),
+ mysql_share->show_index[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ mysql_share->show_index[0 + pos].ptr(),
+ mysql_share->show_index[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ /* no record is ok */
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ if (res)
+ {
+ error_num = res->fetch_table_cardinality(
+ crd_mode,
+ table,
+ share->cardinality,
+ share->cardinality_upd,
+ share->bitmap_size
+ );
+ }
+ for (roop_count = 0, tmp_cardinality = share->cardinality;
+ roop_count < (int) table->s->fields;
+ roop_count++, tmp_cardinality++)
+ {
+ if (!spider_bit_is_set(share->cardinality_upd, roop_count))
+ {
+ DBUG_PRINT("info",
+ ("spider init column cardinality id=%d", roop_count));
+ *tmp_cardinality = 1;
+ }
+ }
+ if (res)
+ {
+ res->free_result();
+ delete res;
+ }
+ if (error_num)
+ {
+ switch (error_num)
+ {
+ case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
+ my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
+ ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
+ my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
+ ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ default:
+ break;
+ }
+ DBUG_RETURN(error_num);
+ }
+ } else {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ mysql_share->show_index[1 + pos].ptr(),
+ mysql_share->show_index[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ mysql_share->show_index[1 + pos].ptr(),
+ mysql_share->show_index[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ /* no record is ok */
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ if (res)
+ {
+ error_num = res->fetch_table_cardinality(
+ crd_mode,
+ table,
+ share->cardinality,
+ share->cardinality_upd,
+ share->bitmap_size
+ );
+ }
+ for (roop_count = 0, tmp_cardinality = share->cardinality;
+ roop_count < (int) table->s->fields;
+ roop_count++, tmp_cardinality++)
+ {
+ if (!spider_bit_is_set(share->cardinality_upd, roop_count))
+ {
+ DBUG_PRINT("info",
+ ("spider init column cardinality id=%d", roop_count));
+ *tmp_cardinality = 1;
+ }
+ }
+ if (res)
+ {
+ res->free_result();
+ delete res;
+ }
+ if (error_num)
+ {
+ switch (error_num)
+ {
+ case ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM:
+ my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
+ ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ case ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM:
+ my_printf_error(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM,
+ ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR, MYF(0),
+ mysql_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ mysql_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ break;
+ default:
+ break;
+ }
+ DBUG_RETURN(error_num);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::show_records(
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_DB_RESULT *res;
+ SPIDER_SHARE *share = spider->share;
+ uint pos = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_mysql_handler::show_records");
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ mysql_share->show_records[pos].ptr(),
+ mysql_share->show_records[pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 1", error_num));
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 2", error_num));
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ mysql_share->show_records[pos].ptr(),
+ mysql_share->show_records[pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_PRINT("info", ("spider error_num=%d 3", error_num));
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
+ DBUG_RETURN(error_num);
+ } else {
+ DBUG_PRINT("info", ("spider error_num=%d 6",
+ ER_QUERY_ON_FOREIGN_DATA_SOURCE));
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_records(
+ 1,
+ spider->table_rows
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
+ DBUG_RETURN(error_num);
+ }
+ spider->trx->direct_aggregate_count++;
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::show_last_insert_id(
+ int link_idx,
+ ulonglong &last_insert_id
+) {
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ DBUG_ENTER("spider_mysql_handler::show_last_insert_id");
+ last_insert_id = conn->db_conn->last_insert_id();
+ DBUG_RETURN(0);
+}
+
+ha_rows spider_mysql_handler::explain_select(
+ key_range *start_key,
+ key_range *end_key,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ spider_string *str = &result_list->sqls[link_idx];
+ SPIDER_DB_RESULT *res;
+ ha_rows rows;
+ spider_db_handler *dbton_hdl = spider->dbton_handler[conn->dbton_id];
+ DBUG_ENTER("spider_mysql_handler::explain_select");
+ if ((error_num = dbton_hdl->append_explain_select_part(
+ start_key, end_key, SPIDER_SQL_TYPE_OTHER_SQL, link_idx)))
+ {
+ my_errno = error_num;
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(spider->share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ spider->share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ spider->share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ error_num = spider_db_errorno(conn);
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ } else {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ } else {
+ my_errno = ER_QUERY_ON_FOREIGN_DATA_SOURCE;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_records(
+ 2,
+ rows
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ my_errno = error_num;
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ DBUG_RETURN(rows);
+}
+
+int spider_mysql_handler::lock_tables(
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ spider_string *str = &sql;
+ DBUG_ENTER("spider_mysql_handler::lock_tables");
+ str->length(0);
+ if ((error_num = conn->db_conn->append_lock_tables(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ if (str->length())
+ {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ spider->share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ }
+ if (!conn->table_locked)
+ {
+ conn->table_locked = TRUE;
+ spider->trx->locked_connections++;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::unlock_tables(
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ DBUG_ENTER("spider_mysql_handler::unlock_tables");
+ if (conn->table_locked)
+ {
+ spider_string *str = &sql;
+ conn->table_locked = FALSE;
+ spider->trx->locked_connections--;
+
+ str->length(0);
+ if ((error_num = conn->db_conn->append_unlock_tables(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ if (str->length())
+ {
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ spider->share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::disable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::disable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_disable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::enable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::enable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_enable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::check_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::check_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_check_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx, check_opt)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::repair_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::repair_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_repair_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx, check_opt)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::analyze_table(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::analyze_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_analyze_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::optimize_table(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::optimize_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_optimize_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::flush_tables(
+ SPIDER_CONN *conn,
+ int link_idx,
+ bool lock
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_mysql_handler::flush_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_flush_tables_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx, lock)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::flush_logs(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_mysql_handler::flush_logs");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_FLUSH_LOGS_STR,
+ SPIDER_SQL_FLUSH_LOGS_LEN,
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::insert_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash = &link_for_hash[link_idx];
+ DBUG_ASSERT(tmp_link_for_hash->spider == spider);
+ DBUG_ASSERT(tmp_link_for_hash->link_idx == link_idx);
+ uint old_elements = db_conn->handler_open_array.max_element;
+ DBUG_ENTER("spider_mysql_handler::insert_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (insert_dynamic(&db_conn->handler_open_array,
+ (uchar*) &tmp_link_for_hash))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (db_conn->handler_open_array.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ db_conn->handler_open_array,
+ (db_conn->handler_open_array.max_element - old_elements) *
+ db_conn->handler_open_array.size_of_element);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::delete_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_mysql *db_conn = (spider_db_mysql *) conn->db_conn;
+ uint roop_count, elements = db_conn->handler_open_array.elements;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
+ DBUG_ENTER("spider_mysql_handler::delete_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (roop_count = 0; roop_count < elements; roop_count++)
+ {
+ get_dynamic(&db_conn->handler_open_array, (uchar *) &tmp_link_for_hash,
+ roop_count);
+ if (tmp_link_for_hash == &link_for_hash[link_idx])
+ {
+ delete_dynamic_element(&db_conn->handler_open_array, roop_count);
+ break;
+ }
+ }
+ DBUG_ASSERT(roop_count < elements);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::sync_from_clone_source(
+ spider_db_handler *dbton_hdl
+) {
+ DBUG_ENTER("spider_mysql_handler::sync_from_clone_source");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+bool spider_mysql_handler::support_use_handler(
+ int use_handler
+) {
+ DBUG_ENTER("spider_mysql_handler::support_use_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+void spider_mysql_handler::minimum_select_bitmap_create()
+{
+ TABLE *table = spider->get_table();
+ Field **field_p;
+ DBUG_ENTER("spider_mysql_handler::minimum_select_bitmap_create");
+ DBUG_PRINT("info",("spider this=%p", this));
+ memset(minimum_select_bitmap, 0, no_bytes_in_map(table->read_set));
+ if (
+ spider->has_clone_for_merge ||
+#ifdef HA_CAN_BULK_ACCESS
+ (spider->is_clone && !spider->is_bulk_access_clone)
+#else
+ spider->is_clone
+#endif
+ ) {
+ /* need preparing for cmp_ref */
+ TABLE_SHARE *table_share = table->s;
+ if (
+ table_share->primary_key == MAX_KEY
+ ) {
+ /* need all columns */
+ memset(minimum_select_bitmap, 0xFF, no_bytes_in_map(table->read_set));
+ DBUG_VOID_RETURN;
+ } else {
+ /* need primary key columns */
+ uint roop_count;
+ KEY *key_info;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ key_info = &table_share->key_info[table_share->primary_key];
+ key_part = key_info->key_part;
+ for (roop_count = 0;
+ roop_count < spider_user_defined_key_parts(key_info);
+ roop_count++)
+ {
+ field = key_part[roop_count].field;
+ spider_set_bit(minimum_select_bitmap, field->field_index);
+ }
+ }
+ }
+ for (field_p = table->field; *field_p; field_p++)
+ {
+ uint field_index = (*field_p)->field_index;
+ DBUG_PRINT("info",("spider field_index=%u", field_index));
+ DBUG_PRINT("info",("spider ft_discard_bitmap=%s",
+ spider_bit_is_set(spider->ft_discard_bitmap, field_index) ?
+ "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider searched_bitmap=%s",
+ spider_bit_is_set(spider->searched_bitmap, field_index) ?
+ "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider read_set=%s",
+ bitmap_is_set(table->read_set, field_index) ?
+ "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider write_set=%s",
+ bitmap_is_set(table->write_set, field_index) ?
+ "TRUE" : "FALSE"));
+ if (
+ spider_bit_is_set(spider->ft_discard_bitmap, field_index) &
+ (
+ spider_bit_is_set(spider->searched_bitmap, field_index) |
+ bitmap_is_set(table->read_set, field_index) |
+ bitmap_is_set(table->write_set, field_index)
+ )
+ ) {
+ spider_set_bit(minimum_select_bitmap, field_index);
+ }
+ }
+ DBUG_VOID_RETURN;
+}
+
+bool spider_mysql_handler::minimum_select_bit_is_set(
+ uint field_index
+) {
+ DBUG_ENTER("spider_mysql_handler::minimum_select_bit_is_set");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider field_index=%u", field_index));
+ DBUG_PRINT("info",("spider minimum_select_bitmap=%s",
+ spider_bit_is_set(minimum_select_bitmap, field_index) ?
+ "TRUE" : "FALSE"));
+ DBUG_RETURN(spider_bit_is_set(minimum_select_bitmap, field_index));
+}
+
+void spider_mysql_handler::copy_minimum_select_bitmap(
+ uchar *bitmap
+) {
+ int roop_count;
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_mysql_handler::copy_minimum_select_bitmap");
+ for (roop_count = 0;
+ roop_count < (int) ((table->s->fields + 7) / 8);
+ roop_count++)
+ {
+ bitmap[roop_count] =
+ minimum_select_bitmap[roop_count];
+ DBUG_PRINT("info",("spider roop_count=%d", roop_count));
+ DBUG_PRINT("info",("spider bitmap=%d",
+ bitmap[roop_count]));
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_handler::init_union_table_name_pos()
+{
+ DBUG_ENTER("spider_mysql_handler::init_union_table_name_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!union_table_name_pos_first)
+ {
+ if (!spider_bulk_malloc(spider_current_trx, 236, MYF(MY_WME),
+ &union_table_name_pos_first, sizeof(SPIDER_INT_HLD),
+ NullS)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ union_table_name_pos_first->next = NULL;
+ }
+ union_table_name_pos_current = union_table_name_pos_first;
+ union_table_name_pos_current->tgt_num = 0;
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::set_union_table_name_pos()
+{
+ DBUG_ENTER("spider_mysql_handler::set_union_table_name_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (union_table_name_pos_current->tgt_num >= SPIDER_INT_HLD_TGT_SIZE)
+ {
+ if (!union_table_name_pos_current->next)
+ {
+ if (!spider_bulk_malloc(spider_current_trx, 237, MYF(MY_WME),
+ &union_table_name_pos_current->next, sizeof(SPIDER_INT_HLD),
+ NullS)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ union_table_name_pos_current->next->next = NULL;
+ }
+ union_table_name_pos_current = union_table_name_pos_current->next;
+ union_table_name_pos_current->tgt_num = 0;
+ }
+ union_table_name_pos_current->tgt[union_table_name_pos_current->tgt_num] =
+ table_name_pos;
+ ++union_table_name_pos_current->tgt_num;
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_handler::reset_union_table_name(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_mysql_handler::reset_union_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!union_table_name_pos_current)
+ DBUG_RETURN(0);
+
+ SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
+ uint cur_num, pos_backup = str->length();
+ while(TRUE)
+ {
+ for (cur_num = 0; cur_num < tmp_pos->tgt_num; ++cur_num)
+ {
+ str->length(tmp_pos->tgt[cur_num]);
+ append_table_name_with_adjusting(str, link_idx, sql_type);
+ }
+ if (tmp_pos == union_table_name_pos_current)
+ break;
+ tmp_pos = tmp_pos->next;
+ }
+ str->length(pos_backup);
+ DBUG_RETURN(0);
+}
+
+spider_mysql_copy_table::spider_mysql_copy_table(
+ spider_mysql_share *db_share
+) : spider_db_copy_table(
+ db_share
+),
+ mysql_share(db_share)
+{
+ DBUG_ENTER("spider_mysql_copy_table::spider_mysql_copy_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_mysql_copy_table::~spider_mysql_copy_table()
+{
+ DBUG_ENTER("spider_mysql_copy_table::~spider_mysql_copy_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_copy_table::init()
+{
+ DBUG_ENTER("spider_mysql_copy_table::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.init_calc_mem(78);
+ DBUG_RETURN(0);
+}
+
+void spider_mysql_copy_table::set_sql_charset(
+ CHARSET_INFO *cs
+) {
+ DBUG_ENTER("spider_mysql_copy_table::set_sql_charset");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.set_charset(cs);
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_copy_table::append_select_str()
+{
+ DBUG_ENTER("spider_mysql_copy_table::append_select_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_SELECT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_insert_str(
+ int insert_flg
+) {
+ DBUG_ENTER("spider_mysql_copy_table::append_insert_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (insert_flg & SPIDER_DB_INSERT_REPLACE)
+ {
+ if (sql.reserve(SPIDER_SQL_REPLACE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_REPLACE_STR, SPIDER_SQL_REPLACE_LEN);
+ } else {
+ if (sql.reserve(SPIDER_SQL_INSERT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ }
+ if (insert_flg & SPIDER_DB_INSERT_LOW_PRIORITY)
+ {
+ if (sql.reserve(SPIDER_SQL_LOW_PRIORITY_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
+ }
+ else if (insert_flg & SPIDER_DB_INSERT_DELAYED)
+ {
+ if (sql.reserve(SPIDER_SQL_SQL_DELAYED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_SQL_DELAYED_STR, SPIDER_SQL_SQL_DELAYED_LEN);
+ }
+ else if (insert_flg & SPIDER_DB_INSERT_HIGH_PRIORITY)
+ {
+ if (sql.reserve(SPIDER_SQL_HIGH_PRIORITY_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_HIGH_PRIORITY_STR, SPIDER_SQL_HIGH_PRIORITY_LEN);
+ }
+ if (insert_flg & SPIDER_DB_INSERT_IGNORE)
+ {
+ if (sql.reserve(SPIDER_SQL_SQL_IGNORE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_table_columns(
+ TABLE_SHARE *table_share
+) {
+ int error_num;
+ Field **field;
+ DBUG_ENTER("spider_mysql_copy_table::append_table_columns");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (field = table_share->field; *field; field++)
+ {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) (*field)->field_name, spider_dbton_mysql.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_from_str()
+{
+ DBUG_ENTER("spider_mysql_copy_table::append_from_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_table_name(
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_copy_table::append_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = mysql_share->append_table_name(&sql, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+void spider_mysql_copy_table::set_sql_pos()
+{
+ DBUG_ENTER("spider_mysql_copy_table::set_sql_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ pos = sql.length();
+ DBUG_VOID_RETURN;
+}
+
+void spider_mysql_copy_table::set_sql_to_pos()
+{
+ DBUG_ENTER("spider_mysql_copy_table::set_sql_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.length(pos);
+ DBUG_VOID_RETURN;
+}
+
+int spider_mysql_copy_table::append_copy_where(
+ spider_db_copy_table *source_ct,
+ KEY *key_info,
+ ulong *last_row_pos,
+ ulong *last_lengths
+) {
+ int error_num, roop_count, roop_count2;
+ DBUG_ENTER("spider_mysql_copy_table::append_copy_where");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_WHERE_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ Field *field;
+ KEY_PART_INFO *key_part = key_info->key_part;
+ for (roop_count = spider_user_defined_key_parts(key_info) - 1;
+ roop_count >= 0; roop_count--)
+ {
+ for (roop_count2 = 0; roop_count2 < roop_count; roop_count2++)
+ {
+ field = key_part[roop_count2].field;
+ if ((error_num = copy_key_row(source_ct,
+ field, &last_row_pos[field->field_index],
+ &last_lengths[field->field_index],
+ SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ }
+ field = key_part[roop_count2].field;
+ if ((error_num = copy_key_row(source_ct,
+ field, &last_row_pos[field->field_index],
+ &last_lengths[field->field_index],
+ SPIDER_SQL_GT_STR, SPIDER_SQL_GT_LEN)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ sql.length(sql.length() - SPIDER_SQL_AND_LEN);
+ if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
+ SPIDER_SQL_OR_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ sql.q_append(SPIDER_SQL_OR_STR, SPIDER_SQL_OR_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ sql.length(sql.length() - SPIDER_SQL_OR_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_key_order_str(
+ KEY *key_info,
+ int start_pos,
+ bool desc_flg
+) {
+ int length, error_num;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ DBUG_ENTER("spider_mysql_copy_table::append_key_order_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((int) spider_user_defined_key_parts(key_info) > start_pos)
+ {
+ if (sql.reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ if (desc_flg == TRUE)
+ {
+ for (
+ key_part = key_info->key_part + start_pos,
+ length = 0;
+ length + start_pos < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) field->field_name, spider_dbton_mysql.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ } else {
+ for (
+ key_part = key_info->key_part + start_pos,
+ length = 0;
+ length + start_pos < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) field->field_name, spider_dbton_mysql.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ }
+ sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_limit(
+ longlong offset,
+ longlong limit
+) {
+ char buf[SPIDER_LONGLONG_LEN + 1];
+ uint32 length;
+ DBUG_ENTER("spider_mysql_copy_table::append_limit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (offset || limit < 9223372036854775807LL)
+ {
+ if (sql.reserve(SPIDER_SQL_LIMIT_LEN + SPIDER_SQL_COMMA_LEN +
+ ((SPIDER_LONGLONG_LEN) * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_LIMIT_STR, SPIDER_SQL_LIMIT_LEN);
+ if (offset)
+ {
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset);
+ sql.q_append(buf, length);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
+ sql.q_append(buf, length);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_into_str()
+{
+ DBUG_ENTER("spider_mysql_copy_table::append_into_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_INTO_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_open_paren_str()
+{
+ DBUG_ENTER("spider_mysql_copy_table::append_open_paren_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_values_str()
+{
+ DBUG_ENTER("spider_mysql_copy_table::append_values_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_select_lock_str(
+ int lock_mode
+) {
+ DBUG_ENTER("spider_mysql_copy_table::append_select_lock_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
+ {
+ if (sql.reserve(SPIDER_SQL_FOR_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
+ } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
+ {
+ if (sql.reserve(SPIDER_SQL_SHARED_LOCK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_SHARED_LOCK_STR, SPIDER_SQL_SHARED_LOCK_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::exec_query(
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_copy_table::exec_query");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = spider_db_query(conn, sql.ptr(), sql.length(), quick_mode,
+ need_mon);
+ DBUG_RETURN(error_num);
+}
+
+int spider_mysql_copy_table::copy_key_row(
+ spider_db_copy_table *source_ct,
+ Field *field,
+ ulong *row_pos,
+ ulong *length,
+ const char *joint_str,
+ const int joint_length
+) {
+ int error_num;
+ spider_string *source_str = &((spider_mysql_copy_table *) source_ct)->sql;
+ DBUG_ENTER("spider_mysql_copy_table::copy_key_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) field->field_name, spider_dbton_mysql.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + joint_length + *length +
+ SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(joint_str, joint_length);
+ sql.q_append(source_str->ptr() + *row_pos, *length);
+ sql.q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::copy_row(
+ Field *field,
+ SPIDER_DB_ROW *row
+) {
+ int error_num;
+ DBUG_ENTER("spider_mysql_copy_table::copy_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (row->is_null())
+ {
+ if (sql.reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else if (field->str_needs_quotes())
+ {
+ if (sql.reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if ((error_num = row->append_escaped_to_str(&sql,
+ spider_dbton_mysql.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_VALUE_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else {
+ if ((error_num = row->append_to_str(&sql)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row,
+ ulong **last_row_pos,
+ ulong **last_lengths
+) {
+ int error_num;
+ Field **field;
+ ulong *lengths2, *row_pos2;
+ DBUG_ENTER("spider_mysql_copy_table::copy_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ row_pos2 = *last_row_pos;
+ lengths2 = *last_lengths;
+
+ for (
+ field = table->field;
+ *field;
+ field++,
+ lengths2++
+ ) {
+ *row_pos2 = sql.length();
+ if ((error_num =
+ copy_row(*field, row)))
+ DBUG_RETURN(error_num);
+ *lengths2 = sql.length() - *row_pos2 - SPIDER_SQL_COMMA_LEN;
+ row->next();
+ row_pos2++;
+ }
+ sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
+ if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
+ SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row
+) {
+ int error_num;
+ Field **field;
+ DBUG_ENTER("spider_mysql_copy_table::copy_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (
+ field = table->field;
+ *field;
+ field++
+ ) {
+ if ((error_num =
+ copy_row(*field, row)))
+ DBUG_RETURN(error_num);
+ row->next();
+ }
+ sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
+ if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
+ SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::append_insert_terminator()
+{
+ DBUG_ENTER("spider_mysql_copy_table::append_insert_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.length(sql.length() - SPIDER_SQL_COMMA_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_mysql_copy_table::copy_insert_values(
+ spider_db_copy_table *source_ct
+) {
+ spider_mysql_copy_table *tmp_ct = (spider_mysql_copy_table *) source_ct;
+ spider_string *source_str = &tmp_ct->sql;
+ int values_length = source_str->length() - tmp_ct->pos;
+ const char *values_ptr = source_str->ptr() + tmp_ct->pos;
+ DBUG_ENTER("spider_mysql_copy_table::copy_insert_values");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(values_length))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(values_ptr, values_length);
+ DBUG_RETURN(0);
+}
diff --git a/storage/spider/spd_db_mysql.h b/storage/spider/spd_db_mysql.h
index b95d4e6e1a2..e536e2dd214 100644
--- a/storage/spider/spd_db_mysql.h
+++ b/storage/spider/spd_db_mysql.h
@@ -1,1374 +1,1386 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-class spider_db_mysql_util: public spider_db_util
-{
-public:
- spider_db_mysql_util();
- ~spider_db_mysql_util();
- int append_name(
- spider_string *str,
- const char *name,
- uint name_length
- );
- int append_name_with_charset(
- spider_string *str,
- const char *name,
- uint name_length,
- CHARSET_INFO *name_charset
- );
- bool is_name_quote(
- const char head_code
- );
- int append_escaped_name_quote(
- spider_string *str
- );
- int append_column_value(
- ha_spider *spider,
- spider_string *str,
- Field *field,
- const uchar *new_ptr,
- CHARSET_INFO *access_charset
- );
- int append_from_with_alias(
- spider_string *str,
- const char **table_names,
- uint *table_name_lengths,
- const char **table_aliases,
- uint *table_alias_lengths,
- uint table_count,
- int *table_name_pos,
- bool over_write
- );
- int append_trx_isolation(
- spider_string *str,
- int trx_isolation
- );
- int append_autocommit(
- spider_string *str,
- bool autocommit
- );
- int append_sql_log_off(
- spider_string *str,
- bool sql_log_off
- );
- int append_time_zone(
- spider_string *str,
- Time_zone *time_zone
- );
- int append_start_transaction(
- spider_string *str
- );
- int append_xa_start(
- spider_string *str,
- XID *xid
- );
- int append_lock_table_head(
- spider_string *str
- );
- int append_lock_table_body(
- spider_string *str,
- const char *db_name,
- uint db_name_length,
- CHARSET_INFO *db_name_charset,
- const char *table_name,
- uint table_name_length,
- CHARSET_INFO *table_name_charset,
- int lock_type
- );
- int append_lock_table_tail(
- spider_string *str
- );
- int append_unlock_table(
- spider_string *str
- );
- int open_item_func(
- Item_func *item_func,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int open_item_sum_func(
- Item_sum *item_sum,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#endif
- int append_escaped_util(
- spider_string *to,
- String *from
- );
-};
-
-class spider_db_mysql_row: public spider_db_row
-{
-public:
- MYSQL_ROW row;
- MYSQL_ROW row_first;
- ulong *lengths;
- ulong *lengths_first;
- uint field_count;
- bool cloned;
- spider_db_mysql_row();
- ~spider_db_mysql_row();
- int store_to_field(
- Field *field,
- CHARSET_INFO *access_charset
- );
- int append_to_str(
- spider_string *str
- );
- int append_escaped_to_str(
- spider_string *str,
- uint dbton_id
- );
- void first();
- void next();
- bool is_null();
- int val_int();
- double val_real();
- my_decimal *val_decimal(
- my_decimal *decimal_value,
- CHARSET_INFO *access_charset
- );
- SPIDER_DB_ROW *clone();
- int store_to_tmp_table(
- TABLE *tmp_table,
- spider_string *str
- );
-};
-
-class spider_db_mysql_result: public spider_db_result
-{
-public:
- MYSQL_RES *db_result;
- spider_db_mysql_row row;
- MYSQL_ROW_OFFSET first_row;
- int store_error_num;
- spider_db_mysql_result();
- ~spider_db_mysql_result();
- bool has_result();
- void free_result();
- SPIDER_DB_ROW *current_row();
- SPIDER_DB_ROW *fetch_row();
- SPIDER_DB_ROW *fetch_row_from_result_buffer(
- spider_db_result_buffer *spider_res_buf
- );
- SPIDER_DB_ROW *fetch_row_from_tmp_table(
- TABLE *tmp_table
- );
- int fetch_table_status(
- int mode,
- ha_rows &records,
- ulong &mean_rec_length,
- ulonglong &data_file_length,
- ulonglong &max_data_file_length,
- ulonglong &index_file_length,
- ulonglong &auto_increment_value,
- time_t &create_time,
- time_t &update_time,
- time_t &check_time
- );
- int fetch_table_records(
- int mode,
- ha_rows &records
- );
- int fetch_table_cardinality(
- int mode,
- TABLE *table,
- longlong *cardinality,
- uchar *cardinality_upd,
- int bitmap_size
- );
- int fetch_table_mon_status(
- int &status
- );
- longlong num_rows();
- uint num_fields();
- void move_to_pos(
- longlong pos
- );
- int get_errno();
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
- int fetch_columns_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
- );
- int fetch_index_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
- );
-#endif
-};
-
-class spider_db_mysql: public spider_db_conn
-{
- MYSQL *db_conn;
- int stored_error;
-public:
- HASH lock_table_hash;
- bool lock_table_hash_inited;
- uint lock_table_hash_id;
- const char *lock_table_hash_func_name;
- const char *lock_table_hash_file_name;
- ulong lock_table_hash_line_no;
- DYNAMIC_ARRAY handler_open_array;
- bool handler_open_array_inited;
- uint handler_open_array_id;
- const char *handler_open_array_func_name;
- const char *handler_open_array_file_name;
- ulong handler_open_array_line_no;
- spider_db_mysql(
- SPIDER_CONN *conn
- );
- ~spider_db_mysql();
- int init();
- bool is_connected();
- void bg_connect();
- int connect(
- char *tgt_host,
- char *tgt_username,
- char *tgt_password,
- long tgt_port,
- char *tgt_socket,
- char *server_name,
- int connect_retry_count,
- longlong connect_retry_interval
- );
- int ping();
- void bg_disconnect();
- void disconnect();
- int set_net_timeout();
- int exec_query(
- const char *query,
- uint length,
- int quick_mode
- );
- int get_errno();
- const char *get_error();
- bool is_server_gone_error(
- int error_num
- );
- bool is_dup_entry_error(
- int error_num
- );
- bool is_xa_nota_error(
- int error_num
- );
- spider_db_result *store_result(
- spider_db_result_buffer **spider_res_buf,
- st_spider_db_request_key *request_key,
- int *error_num
- );
- spider_db_result *use_result(
- st_spider_db_request_key *request_key,
- int *error_num
- );
- int next_result();
- uint affected_rows();
- ulonglong last_insert_id();
- int set_character_set(
- const char *csname
- );
- int select_db(
- const char *dbname
- );
- int consistent_snapshot(
- int *need_mon
- );
- bool trx_start_in_bulk_sql();
- int start_transaction(
- int *need_mon
- );
- int commit(
- int *need_mon
- );
- int rollback(
- int *need_mon
- );
- bool xa_start_in_bulk_sql();
- int xa_start(
- XID *xid,
- int *need_mon
- );
- int xa_end(
- XID *xid,
- int *need_mon
- );
- int xa_prepare(
- XID *xid,
- int *need_mon
- );
- int xa_commit(
- XID *xid,
- int *need_mon
- );
- int xa_rollback(
- XID *xid,
- int *need_mon
- );
- bool set_trx_isolation_in_bulk_sql();
- int set_trx_isolation(
- int trx_isolation,
- int *need_mon
- );
- bool set_autocommit_in_bulk_sql();
- int set_autocommit(
- bool autocommit,
- int *need_mon
- );
- bool set_sql_log_off_in_bulk_sql();
- int set_sql_log_off(
- bool sql_log_off,
- int *need_mon
- );
- bool set_time_zone_in_bulk_sql();
- int set_time_zone(
- Time_zone *time_zone,
- int *need_mon
- );
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- int append_sql(
- char *sql,
- ulong sql_length,
- st_spider_db_request_key *request_key
- );
- int append_open_handler(
- uint handler_id,
- const char *db_name,
- const char *table_name,
- const char *index_name,
- const char *sql,
- st_spider_db_request_key *request_key
- );
- int append_select(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
- );
- int append_insert(
- uint handler_id,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- st_spider_db_request_key *request_key
- );
- int append_update(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- int limit,
- int skip,
- bool increment,
- bool decrement,
- st_spider_db_request_key *request_key
- );
- int append_delete(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
- );
- void reset_request_queue();
-#endif
- size_t escape_string(
- char *to,
- const char *from,
- size_t from_length
- );
- bool have_lock_table_list();
- int append_lock_tables(
- spider_string *str
- );
- int append_unlock_tables(
- spider_string *str
- );
- uint get_lock_table_hash_count();
- void reset_lock_table_hash();
- uint get_opened_handler_count();
- void reset_opened_handler();
- void set_dup_key_idx(
- ha_spider *spider,
- int link_idx
- );
- bool cmp_request_key_to_snd(
- st_spider_db_request_key *request_key
- );
-};
-
-class spider_mysql_share: public spider_db_share
-{
-public:
- spider_string *table_select;
- int table_select_pos;
- spider_string *key_select;
- int *key_select_pos;
- spider_string *key_hint;
- spider_string *show_table_status;
- spider_string *show_records;
- spider_string *show_index;
- spider_string *table_names_str;
- spider_string *db_names_str;
- spider_string *db_table_str;
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- my_hash_value_type *db_table_str_hash_value;
-#endif
- uint table_nm_max_length;
- uint db_nm_max_length;
- spider_string *column_name_str;
- bool same_db_table_name;
- int first_all_link_idx;
-
- spider_mysql_share(
- st_spider_share *share
- );
- ~spider_mysql_share();
- int init();
- uint get_column_name_length(
- uint field_index
- );
- int append_column_name(
- spider_string *str,
- uint field_index
- );
- int append_column_name_with_alias(
- spider_string *str,
- uint field_index,
- const char *alias,
- uint alias_length
- );
- int append_table_name(
- spider_string *str,
- int all_link_idx
- );
- int append_table_name_with_adjusting(
- spider_string *str,
- int all_link_idx
- );
- int append_from_with_adjusted_table_name(
- spider_string *str,
- int *table_name_pos
- );
- bool need_change_db_table_name();
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
- int discover_table_structure(
- SPIDER_TRX *trx,
- SPIDER_SHARE *spider_share,
- spider_string *str
- );
-#endif
-private:
- int create_table_names_str();
- void free_table_names_str();
- int create_column_name_str();
- void free_column_name_str();
- int convert_key_hint_str();
- int append_show_table_status();
- void free_show_table_status();
- int append_show_records();
- void free_show_records();
- int append_show_index();
- void free_show_index();
- int append_table_select();
- int append_key_select(
- uint idx
- );
-};
-
-class spider_mysql_handler: public spider_db_handler
-{
- spider_string sql;
- spider_string sql_part;
- spider_string sql_part2;
- spider_string ha_sql;
- int where_pos;
- int order_pos;
- int limit_pos;
- int table_name_pos;
- int ha_read_pos;
- int ha_next_pos;
- int ha_where_pos;
- int ha_limit_pos;
- int ha_table_name_pos;
- uint ha_sql_handler_id;
- spider_string insert_sql;
- int insert_pos;
- int insert_table_name_pos;
- spider_string update_sql;
- TABLE *upd_tmp_tbl;
- TMP_TABLE_PARAM upd_tmp_tbl_prm;
- spider_string tmp_sql;
- int tmp_sql_pos1; /* drop db nm pos at tmp_table_join */
- int tmp_sql_pos2; /* create db nm pos at tmp_table_join */
- int tmp_sql_pos3; /* insert db nm pos at tmp_table_join */
- int tmp_sql_pos4; /* insert val pos at tmp_table_join */
- int tmp_sql_pos5; /* end of drop tbl at tmp_table_join */
- spider_string dup_update_sql;
- spider_string *exec_sql;
- spider_string *exec_insert_sql;
- spider_string *exec_update_sql;
- spider_string *exec_tmp_sql;
- spider_string *exec_ha_sql;
- bool reading_from_bulk_tmp_table;
- bool filled_up;
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- SPIDER_DB_HS_STRING_REF_BUFFER hs_upds;
-#endif
- SPIDER_INT_HLD *union_table_name_pos_first;
- SPIDER_INT_HLD *union_table_name_pos_current;
-public:
- spider_mysql_share *mysql_share;
- SPIDER_LINK_FOR_HASH *link_for_hash;
- spider_mysql_handler(
- ha_spider *spider,
- spider_mysql_share *share
- );
- ~spider_mysql_handler();
- int init();
- int append_table_name_with_adjusting(
- spider_string *str,
- int link_idx,
- ulong sql_type
- );
- int append_key_column_types(
- const key_range *start_key,
- spider_string *str
- );
- int append_key_join_columns_for_bka(
- const key_range *start_key,
- spider_string *str,
- const char **table_aliases,
- uint *table_alias_lengths
- );
- int append_tmp_table_and_sql_for_bka(
- const key_range *start_key
- );
- int reuse_tmp_table_and_sql_for_bka();
- void create_tmp_bka_table_name(
- char *tmp_table_name,
- int *tmp_table_name_length,
- int link_idx
- );
- int append_create_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- CHARSET_INFO *table_charset
- );
- int append_drop_tmp_bka_table(
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- int *drop_table_end_pos,
- bool with_semicolon
- );
- int append_insert_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos
- );
- int append_union_table_and_sql_for_bka(
- const key_range *start_key
- );
- int reuse_union_table_and_sql_for_bka();
- int append_insert_for_recovery(
- ulong sql_type,
- int link_idx
- );
- int append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
- );
- int append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
- );
- int append_insert_part();
- int append_insert(
- spider_string *str,
- int link_idx
- );
- int append_update_part();
- int append_update(
- spider_string *str,
- int link_idx
- );
- int append_delete_part();
- int append_delete(
- spider_string *str
- );
- #if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- int append_increment_update_set_part();
- int append_increment_update_set(
- spider_string *str
- );
- #endif
- #endif
- int append_update_set_part();
- int append_update_set(
- spider_string *str
- );
- #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- int append_direct_update_set_part();
- int append_direct_update_set(
- spider_string *str
- );
- int append_dup_update_pushdown_part(
- const char *alias,
- uint alias_length
- );
- int append_update_columns_part(
- const char *alias,
- uint alias_length
- );
- int check_update_columns_part();
- int append_update_columns(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- #endif
- int append_select_part(
- ulong sql_type
- );
- int append_select(
- spider_string *str,
- ulong sql_type
- );
- int append_table_select_part(
- ulong sql_type
- );
- int append_table_select(
- spider_string *str
- );
- int append_key_select_part(
- ulong sql_type,
- uint idx
- );
- int append_key_select(
- spider_string *str,
- uint idx
- );
- int append_minimum_select_part(
- ulong sql_type
- );
- int append_minimum_select(
- spider_string *str,
- ulong sql_type
- );
- int append_table_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_select_with_alias(
- spider_string *str,
- const KEY *key_info,
- const char *alias,
- uint alias_length
- );
- int append_minimum_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_select_columns_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_hint_after_table_part(
- ulong sql_type
- );
- int append_hint_after_table(
- spider_string *str
- );
- void set_where_pos(
- ulong sql_type
- );
- void set_where_to_pos(
- ulong sql_type
- );
- int check_item_type(
- Item *item
- );
- int append_values_connector_part(
- ulong sql_type
- );
- int append_values_connector(
- spider_string *str
- );
- int append_values_terminator_part(
- ulong sql_type
- );
- int append_values_terminator(
- spider_string *str
- );
- int append_union_table_connector_part(
- ulong sql_type
- );
- int append_union_table_connector(
- spider_string *str
- );
- int append_union_table_terminator_part(
- ulong sql_type
- );
- int append_union_table_terminator(
- spider_string *str
- );
- int append_key_column_values_part(
- const key_range *start_key,
- ulong sql_type
- );
- int append_key_column_values(
- spider_string *str,
- const key_range *start_key
- );
- int append_key_column_values_with_name_part(
- const key_range *start_key,
- ulong sql_type
- );
- int append_key_column_values_with_name(
- spider_string *str,
- const key_range *start_key
- );
- int append_key_where_part(
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type
- );
- int append_key_where(
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type,
- bool set_order
- );
- int append_is_null_part(
- ulong sql_type,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
- );
- int append_is_null(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
- );
- int append_where_terminator_part(
- ulong sql_type,
- bool set_order,
- int key_count
- );
- int append_where_terminator(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- bool set_order,
- int key_count
- );
- int append_match_where_part(
- ulong sql_type
- );
- int append_match_where(
- spider_string *str
- );
- int append_update_where(
- spider_string *str,
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_condition_part(
- const char *alias,
- uint alias_length,
- ulong sql_type,
- bool test_flg
- );
- int append_condition(
- spider_string *str,
- const char *alias,
- uint alias_length,
- bool start_where,
- ulong sql_type
- );
- int append_match_against_part(
- ulong sql_type,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
- );
- int append_match_against(
- spider_string *str,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
- );
- int append_match_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
- );
- int append_match_select(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int append_sum_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
- );
- int append_sum_select(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#endif
- void set_order_pos(
- ulong sql_type
- );
- void set_order_to_pos(
- ulong sql_type
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int append_group_by(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#endif
- int append_key_order_for_merge_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_for_merge_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_order_for_direct_order_limit_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_for_direct_order_limit_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_order_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_for_handler(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_order_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
- );
- int reappend_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
- );
- int append_limit(
- spider_string *str,
- longlong offset,
- longlong limit
- );
- int append_select_lock_part(
- ulong sql_type
- );
- int append_select_lock(
- spider_string *str
- );
- int append_union_all_start_part(
- ulong sql_type
- );
- int append_union_all_start(
- spider_string *str
- );
- int append_union_all_part(
- ulong sql_type
- );
- int append_union_all(
- spider_string *str
- );
- int append_union_all_end_part(
- ulong sql_type
- );
- int append_union_all_end(
- spider_string *str
- );
- int append_multi_range_cnt_part(
- ulong sql_type,
- uint multi_range_cnt,
- bool with_comma
- );
- int append_multi_range_cnt(
- spider_string *str,
- uint multi_range_cnt,
- bool with_comma
- );
- int append_multi_range_cnt_with_name_part(
- ulong sql_type,
- uint multi_range_cnt
- );
- int append_multi_range_cnt_with_name(
- spider_string *str,
- uint multi_range_cnt
- );
- int append_open_handler_part(
- ulong sql_type,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_open_handler(
- spider_string *str,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_close_handler_part(
- ulong sql_type,
- int link_idx
- );
- int append_close_handler(
- spider_string *str,
- int link_idx
- );
- int append_insert_terminator_part(
- ulong sql_type
- );
- int append_insert_terminator(
- spider_string *str
- );
- int append_insert_values_part(
- ulong sql_type
- );
- int append_insert_values(
- spider_string *str
- );
- int append_into_part(
- ulong sql_type
- );
- int append_into(
- spider_string *str
- );
- void set_insert_to_pos(
- ulong sql_type
- );
- int append_from_part(
- ulong sql_type,
- int link_idx
- );
- int append_from(
- spider_string *str,
- ulong sql_type,
- int link_idx
- );
- int append_flush_tables_part(
- ulong sql_type,
- int link_idx,
- bool lock
- );
- int append_flush_tables(
- spider_string *str,
- int link_idx,
- bool lock
- );
- int append_optimize_table_part(
- ulong sql_type,
- int link_idx
- );
- int append_optimize_table(
- spider_string *str,
- int link_idx
- );
- int append_analyze_table_part(
- ulong sql_type,
- int link_idx
- );
- int append_analyze_table(
- spider_string *str,
- int link_idx
- );
- int append_repair_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_repair_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_check_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_check_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_enable_keys_part(
- ulong sql_type,
- int link_idx
- );
- int append_enable_keys(
- spider_string *str,
- int link_idx
- );
- int append_disable_keys_part(
- ulong sql_type,
- int link_idx
- );
- int append_disable_keys(
- spider_string *str,
- int link_idx
- );
- int append_delete_all_rows_part(
- ulong sql_type
- );
- int append_delete_all_rows(
- spider_string *str,
- ulong sql_type
- );
- int append_truncate(
- spider_string *str,
- ulong sql_type,
- int link_idx
- );
- int append_explain_select_part(
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
- );
- int append_explain_select(
- spider_string *str,
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
- );
- bool is_bulk_insert_exec_period(
- bool bulk_end
- );
- bool sql_is_filled_up(
- ulong sql_type
- );
- bool sql_is_empty(
- ulong sql_type
- );
- bool support_multi_split_read();
- bool support_bulk_update();
- int bulk_tmp_table_insert();
- int bulk_tmp_table_insert(
- int link_idx
- );
- int bulk_tmp_table_end_bulk_insert();
- int bulk_tmp_table_rnd_init();
- int bulk_tmp_table_rnd_next();
- int bulk_tmp_table_rnd_end();
- bool need_copy_for_update(
- int link_idx
- );
- bool bulk_tmp_table_created();
- int mk_bulk_tmp_table_and_bulk_start();
- void rm_bulk_tmp_table();
- int store_sql_to_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
- );
- int restore_sql_from_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
- );
- int insert_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx,
- int *appended
- );
- int realloc_sql(
- ulong *realloced
- );
- int reset_sql(
- ulong sql_type
- );
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- int reset_keys(
- ulong sql_type
- );
- int reset_upds(
- ulong sql_type
- );
- int reset_strs(
- ulong sql_type
- );
- int reset_strs_pos(
- ulong sql_type
- );
- int push_back_upds(
- SPIDER_HS_STRING_REF &info
- );
-#endif
- bool need_lock_before_set_sql_for_exec(
- ulong sql_type
- );
- int set_sql_for_exec(
- ulong sql_type,
- int link_idx
- );
- int set_sql_for_exec(
- spider_db_copy_table *tgt_ct,
- ulong sql_type
- );
- int execute_sql(
- ulong sql_type,
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
- );
- int reset();
- int sts_mode_exchange(
- int sts_mode
- );
- int show_table_status(
- int link_idx,
- int sts_mode,
- uint flag
- );
- int crd_mode_exchange(
- int crd_mode
- );
- int show_index(
- int link_idx,
- int crd_mode
- );
- int show_records(
- int link_idx
- );
- int show_last_insert_id(
- int link_idx,
- ulonglong &last_insert_id
- );
- ha_rows explain_select(
- key_range *start_key,
- key_range *end_key,
- int link_idx
- );
- int lock_tables(
- int link_idx
- );
- int unlock_tables(
- int link_idx
- );
- int disable_keys(
- SPIDER_CONN *conn,
- int link_idx
- );
- int enable_keys(
- SPIDER_CONN *conn,
- int link_idx
- );
- int check_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int repair_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int analyze_table(
- SPIDER_CONN *conn,
- int link_idx
- );
- int optimize_table(
- SPIDER_CONN *conn,
- int link_idx
- );
- int flush_tables(
- SPIDER_CONN *conn,
- int link_idx,
- bool lock
- );
- int flush_logs(
- SPIDER_CONN *conn,
- int link_idx
- );
- int insert_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
- );
- int delete_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
- );
- int sync_from_clone_source(
- spider_db_handler *dbton_hdl
- );
- bool support_use_handler(
- int use_handler
- );
- bool minimum_select_bit_is_set(
- uint field_index
- );
- void copy_minimum_select_bitmap(
- uchar *bitmap
- );
- int init_union_table_name_pos();
- int set_union_table_name_pos();
- int reset_union_table_name(
- spider_string *str,
- int link_idx,
- ulong sql_type
- );
-};
-
-class spider_mysql_copy_table: public spider_db_copy_table
-{
-public:
- spider_mysql_share *mysql_share;
- spider_string sql;
- uint pos;
- spider_mysql_copy_table(
- spider_mysql_share *db_share
- );
- ~spider_mysql_copy_table();
- int init();
- void set_sql_charset(
- CHARSET_INFO *cs
- );
- int append_select_str();
- int append_insert_str(
- int insert_flg
- );
- int append_table_columns(
- TABLE_SHARE *table_share
- );
- int append_from_str();
- int append_table_name(
- int link_idx
- );
- void set_sql_pos();
- void set_sql_to_pos();
- int append_copy_where(
- spider_db_copy_table *source_ct,
- KEY *key_info,
- ulong *last_row_pos,
- ulong *last_lengths
- );
- int append_key_order_str(
- KEY *key_info,
- int start_pos,
- bool desc_flg
- );
- int append_limit(
- longlong offset,
- longlong limit
- );
- int append_into_str();
- int append_open_paren_str();
- int append_values_str();
- int append_select_lock_str(
- int lock_mode
- );
- int exec_query(
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
- );
- int copy_key_row(
- spider_db_copy_table *source_ct,
- Field *field,
- ulong *row_pos,
- ulong *length,
- const char *joint_str,
- const int joint_length
- );
- int copy_row(
- Field *field,
- SPIDER_DB_ROW *row
- );
- int copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row,
- ulong **last_row_pos,
- ulong **last_lengths
- );
- int copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row
- );
- int append_insert_terminator();
- int copy_insert_values(
- spider_db_copy_table *source_ct
- );
-};
+/* Copyright (C) 2012-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+class spider_db_mysql_util: public spider_db_util
+{
+public:
+ spider_db_mysql_util();
+ ~spider_db_mysql_util();
+ int append_name(
+ spider_string *str,
+ const char *name,
+ uint name_length
+ );
+ int append_name_with_charset(
+ spider_string *str,
+ const char *name,
+ uint name_length,
+ CHARSET_INFO *name_charset
+ );
+ bool is_name_quote(
+ const char head_code
+ );
+ int append_escaped_name_quote(
+ spider_string *str
+ );
+ int append_column_value(
+ ha_spider *spider,
+ spider_string *str,
+ Field *field,
+ const uchar *new_ptr,
+ CHARSET_INFO *access_charset
+ );
+ int append_from_with_alias(
+ spider_string *str,
+ const char **table_names,
+ uint *table_name_lengths,
+ const char **table_aliases,
+ uint *table_alias_lengths,
+ uint table_count,
+ int *table_name_pos,
+ bool over_write
+ );
+ int append_trx_isolation(
+ spider_string *str,
+ int trx_isolation
+ );
+ int append_autocommit(
+ spider_string *str,
+ bool autocommit
+ );
+ int append_sql_log_off(
+ spider_string *str,
+ bool sql_log_off
+ );
+ int append_time_zone(
+ spider_string *str,
+ Time_zone *time_zone
+ );
+ int append_start_transaction(
+ spider_string *str
+ );
+ int append_xa_start(
+ spider_string *str,
+ XID *xid
+ );
+ int append_lock_table_head(
+ spider_string *str
+ );
+ int append_lock_table_body(
+ spider_string *str,
+ const char *db_name,
+ uint db_name_length,
+ CHARSET_INFO *db_name_charset,
+ const char *table_name,
+ uint table_name_length,
+ CHARSET_INFO *table_name_charset,
+ int lock_type
+ );
+ int append_lock_table_tail(
+ spider_string *str
+ );
+ int append_unlock_table(
+ spider_string *str
+ );
+ int open_item_func(
+ Item_func *item_func,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int open_item_sum_func(
+ Item_sum *item_sum,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ int append_escaped_util(
+ spider_string *to,
+ String *from
+ );
+};
+
+class spider_db_mysql_row: public spider_db_row
+{
+public:
+ MYSQL_ROW row;
+ MYSQL_ROW row_first;
+ ulong *lengths;
+ ulong *lengths_first;
+ uint field_count;
+ bool cloned;
+ spider_db_mysql_row();
+ ~spider_db_mysql_row();
+ int store_to_field(
+ Field *field,
+ CHARSET_INFO *access_charset
+ );
+ int append_to_str(
+ spider_string *str
+ );
+ int append_escaped_to_str(
+ spider_string *str,
+ uint dbton_id
+ );
+ void first();
+ void next();
+ bool is_null();
+ int val_int();
+ double val_real();
+ my_decimal *val_decimal(
+ my_decimal *decimal_value,
+ CHARSET_INFO *access_charset
+ );
+ SPIDER_DB_ROW *clone();
+ int store_to_tmp_table(
+ TABLE *tmp_table,
+ spider_string *str
+ );
+};
+
+class spider_db_mysql_result: public spider_db_result
+{
+public:
+ MYSQL_RES *db_result;
+ spider_db_mysql_row row;
+ MYSQL_ROW_OFFSET first_row;
+ int store_error_num;
+ spider_db_mysql_result();
+ ~spider_db_mysql_result();
+ bool has_result();
+ void free_result();
+ SPIDER_DB_ROW *current_row();
+ SPIDER_DB_ROW *fetch_row();
+ SPIDER_DB_ROW *fetch_row_from_result_buffer(
+ spider_db_result_buffer *spider_res_buf
+ );
+ SPIDER_DB_ROW *fetch_row_from_tmp_table(
+ TABLE *tmp_table
+ );
+ int fetch_table_status(
+ int mode,
+ ha_rows &records,
+ ulong &mean_rec_length,
+ ulonglong &data_file_length,
+ ulonglong &max_data_file_length,
+ ulonglong &index_file_length,
+ ulonglong &auto_increment_value,
+ time_t &create_time,
+ time_t &update_time,
+ time_t &check_time
+ );
+ int fetch_table_records(
+ int mode,
+ ha_rows &records
+ );
+ int fetch_table_cardinality(
+ int mode,
+ TABLE *table,
+ longlong *cardinality,
+ uchar *cardinality_upd,
+ int bitmap_size
+ );
+ int fetch_table_mon_status(
+ int &status
+ );
+ longlong num_rows();
+ uint num_fields();
+ void move_to_pos(
+ longlong pos
+ );
+ int get_errno();
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+ int fetch_columns_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+ );
+ int fetch_index_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+ );
+#endif
+};
+
+class spider_db_mysql: public spider_db_conn
+{
+ MYSQL *db_conn;
+ int stored_error;
+public:
+ HASH lock_table_hash;
+ bool lock_table_hash_inited;
+ uint lock_table_hash_id;
+ const char *lock_table_hash_func_name;
+ const char *lock_table_hash_file_name;
+ ulong lock_table_hash_line_no;
+ DYNAMIC_ARRAY handler_open_array;
+ bool handler_open_array_inited;
+ uint handler_open_array_id;
+ const char *handler_open_array_func_name;
+ const char *handler_open_array_file_name;
+ ulong handler_open_array_line_no;
+ spider_db_mysql(
+ SPIDER_CONN *conn
+ );
+ ~spider_db_mysql();
+ int init();
+ bool is_connected();
+ void bg_connect();
+ int connect(
+ char *tgt_host,
+ char *tgt_username,
+ char *tgt_password,
+ long tgt_port,
+ char *tgt_socket,
+ char *server_name,
+ int connect_retry_count,
+ longlong connect_retry_interval
+ );
+ int ping();
+ void bg_disconnect();
+ void disconnect();
+ int set_net_timeout();
+ int exec_query(
+ const char *query,
+ uint length,
+ int quick_mode
+ );
+ int get_errno();
+ const char *get_error();
+ bool is_server_gone_error(
+ int error_num
+ );
+ bool is_dup_entry_error(
+ int error_num
+ );
+ bool is_xa_nota_error(
+ int error_num
+ );
+ void print_warnings(
+ struct tm *l_time
+ );
+ spider_db_result *store_result(
+ spider_db_result_buffer **spider_res_buf,
+ st_spider_db_request_key *request_key,
+ int *error_num
+ );
+ spider_db_result *use_result(
+ st_spider_db_request_key *request_key,
+ int *error_num
+ );
+ int next_result();
+ uint affected_rows();
+ ulonglong last_insert_id();
+ int set_character_set(
+ const char *csname
+ );
+ int select_db(
+ const char *dbname
+ );
+ int consistent_snapshot(
+ int *need_mon
+ );
+ bool trx_start_in_bulk_sql();
+ int start_transaction(
+ int *need_mon
+ );
+ int commit(
+ int *need_mon
+ );
+ int rollback(
+ int *need_mon
+ );
+ bool xa_start_in_bulk_sql();
+ int xa_start(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_end(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_prepare(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_commit(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_rollback(
+ XID *xid,
+ int *need_mon
+ );
+ bool set_trx_isolation_in_bulk_sql();
+ int set_trx_isolation(
+ int trx_isolation,
+ int *need_mon
+ );
+ bool set_autocommit_in_bulk_sql();
+ int set_autocommit(
+ bool autocommit,
+ int *need_mon
+ );
+ bool set_sql_log_off_in_bulk_sql();
+ int set_sql_log_off(
+ bool sql_log_off,
+ int *need_mon
+ );
+ bool set_time_zone_in_bulk_sql();
+ int set_time_zone(
+ Time_zone *time_zone,
+ int *need_mon
+ );
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ int append_sql(
+ char *sql,
+ ulong sql_length,
+ st_spider_db_request_key *request_key
+ );
+ int append_open_handler(
+ uint handler_id,
+ const char *db_name,
+ const char *table_name,
+ const char *index_name,
+ const char *sql,
+ st_spider_db_request_key *request_key
+ );
+ int append_select(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+ );
+ int append_insert(
+ uint handler_id,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ st_spider_db_request_key *request_key
+ );
+ int append_update(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ int limit,
+ int skip,
+ bool increment,
+ bool decrement,
+ st_spider_db_request_key *request_key
+ );
+ int append_delete(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+ );
+ void reset_request_queue();
+#endif
+ size_t escape_string(
+ char *to,
+ const char *from,
+ size_t from_length
+ );
+ bool have_lock_table_list();
+ int append_lock_tables(
+ spider_string *str
+ );
+ int append_unlock_tables(
+ spider_string *str
+ );
+ uint get_lock_table_hash_count();
+ void reset_lock_table_hash();
+ uint get_opened_handler_count();
+ void reset_opened_handler();
+ void set_dup_key_idx(
+ ha_spider *spider,
+ int link_idx
+ );
+ bool cmp_request_key_to_snd(
+ st_spider_db_request_key *request_key
+ );
+};
+
+class spider_mysql_share: public spider_db_share
+{
+public:
+ spider_string *table_select;
+ int table_select_pos;
+ spider_string *key_select;
+ int *key_select_pos;
+ spider_string *key_hint;
+ spider_string *show_table_status;
+ spider_string *show_records;
+ spider_string *show_index;
+ spider_string *table_names_str;
+ spider_string *db_names_str;
+ spider_string *db_table_str;
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ my_hash_value_type *db_table_str_hash_value;
+#endif
+ uint table_nm_max_length;
+ uint db_nm_max_length;
+ spider_string *column_name_str;
+ bool same_db_table_name;
+ int first_all_link_idx;
+
+ spider_mysql_share(
+ st_spider_share *share
+ );
+ ~spider_mysql_share();
+ int init();
+ uint get_column_name_length(
+ uint field_index
+ );
+ int append_column_name(
+ spider_string *str,
+ uint field_index
+ );
+ int append_column_name_with_alias(
+ spider_string *str,
+ uint field_index,
+ const char *alias,
+ uint alias_length
+ );
+ int append_table_name(
+ spider_string *str,
+ int all_link_idx
+ );
+ int append_table_name_with_adjusting(
+ spider_string *str,
+ int all_link_idx
+ );
+ int append_from_with_adjusted_table_name(
+ spider_string *str,
+ int *table_name_pos
+ );
+ bool need_change_db_table_name();
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+ int discover_table_structure(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *spider_share,
+ spider_string *str
+ );
+#endif
+private:
+ int create_table_names_str();
+ void free_table_names_str();
+ int create_column_name_str();
+ void free_column_name_str();
+ int convert_key_hint_str();
+ int append_show_table_status();
+ void free_show_table_status();
+ int append_show_records();
+ void free_show_records();
+ int append_show_index();
+ void free_show_index();
+ int append_table_select();
+ int append_key_select(
+ uint idx
+ );
+};
+
+class spider_mysql_handler: public spider_db_handler
+{
+ spider_string sql;
+ spider_string sql_part;
+ spider_string sql_part2;
+ spider_string ha_sql;
+ int where_pos;
+ int order_pos;
+ int limit_pos;
+ int table_name_pos;
+ int ha_read_pos;
+ int ha_next_pos;
+ int ha_where_pos;
+ int ha_limit_pos;
+ int ha_table_name_pos;
+ uint ha_sql_handler_id;
+ spider_string insert_sql;
+ int insert_pos;
+ int insert_table_name_pos;
+ spider_string update_sql;
+ TABLE *upd_tmp_tbl;
+ TMP_TABLE_PARAM upd_tmp_tbl_prm;
+ spider_string tmp_sql;
+ int tmp_sql_pos1; /* drop db nm pos at tmp_table_join */
+ int tmp_sql_pos2; /* create db nm pos at tmp_table_join */
+ int tmp_sql_pos3; /* insert db nm pos at tmp_table_join */
+ int tmp_sql_pos4; /* insert val pos at tmp_table_join */
+ int tmp_sql_pos5; /* end of drop tbl at tmp_table_join */
+ spider_string dup_update_sql;
+ spider_string *exec_sql;
+ spider_string *exec_insert_sql;
+ spider_string *exec_update_sql;
+ spider_string *exec_tmp_sql;
+ spider_string *exec_ha_sql;
+ bool reading_from_bulk_tmp_table;
+ bool filled_up;
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ SPIDER_DB_HS_STRING_REF_BUFFER hs_upds;
+#endif
+ SPIDER_INT_HLD *union_table_name_pos_first;
+ SPIDER_INT_HLD *union_table_name_pos_current;
+public:
+ spider_mysql_share *mysql_share;
+ SPIDER_LINK_FOR_HASH *link_for_hash;
+ uchar *minimum_select_bitmap;
+ spider_mysql_handler(
+ ha_spider *spider,
+ spider_mysql_share *share
+ );
+ ~spider_mysql_handler();
+ int init();
+ int append_table_name_with_adjusting(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+ );
+ int append_key_column_types(
+ const key_range *start_key,
+ spider_string *str
+ );
+ int append_key_join_columns_for_bka(
+ const key_range *start_key,
+ spider_string *str,
+ const char **table_aliases,
+ uint *table_alias_lengths
+ );
+ int append_tmp_table_and_sql_for_bka(
+ const key_range *start_key
+ );
+ int reuse_tmp_table_and_sql_for_bka();
+ void create_tmp_bka_table_name(
+ char *tmp_table_name,
+ int *tmp_table_name_length,
+ int link_idx
+ );
+ int append_create_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ CHARSET_INFO *table_charset
+ );
+ int append_drop_tmp_bka_table(
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ int *drop_table_end_pos,
+ bool with_semicolon
+ );
+ int append_insert_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos
+ );
+ int append_union_table_and_sql_for_bka(
+ const key_range *start_key
+ );
+ int reuse_union_table_and_sql_for_bka();
+ int append_insert_for_recovery(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+ );
+ int append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+ );
+ int append_insert_part();
+ int append_insert(
+ spider_string *str,
+ int link_idx
+ );
+ int append_update_part();
+ int append_update(
+ spider_string *str,
+ int link_idx
+ );
+ int append_delete_part();
+ int append_delete(
+ spider_string *str
+ );
+ #if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ int append_increment_update_set_part();
+ int append_increment_update_set(
+ spider_string *str
+ );
+ #endif
+ #endif
+ int append_update_set_part();
+ int append_update_set(
+ spider_string *str
+ );
+ #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ int append_direct_update_set_part();
+ int append_direct_update_set(
+ spider_string *str
+ );
+ int append_dup_update_pushdown_part(
+ const char *alias,
+ uint alias_length
+ );
+ int append_update_columns_part(
+ const char *alias,
+ uint alias_length
+ );
+ int check_update_columns_part();
+ int append_update_columns(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ #endif
+ int append_select_part(
+ ulong sql_type
+ );
+ int append_select(
+ spider_string *str,
+ ulong sql_type
+ );
+ int append_table_select_part(
+ ulong sql_type
+ );
+ int append_table_select(
+ spider_string *str
+ );
+ int append_key_select_part(
+ ulong sql_type,
+ uint idx
+ );
+ int append_key_select(
+ spider_string *str,
+ uint idx
+ );
+ int append_minimum_select_part(
+ ulong sql_type
+ );
+ int append_minimum_select(
+ spider_string *str,
+ ulong sql_type
+ );
+ int append_table_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_select_with_alias(
+ spider_string *str,
+ const KEY *key_info,
+ const char *alias,
+ uint alias_length
+ );
+ int append_minimum_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_select_columns_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_hint_after_table_part(
+ ulong sql_type
+ );
+ int append_hint_after_table(
+ spider_string *str
+ );
+ void set_where_pos(
+ ulong sql_type
+ );
+ void set_where_to_pos(
+ ulong sql_type
+ );
+ int check_item_type(
+ Item *item
+ );
+ int append_values_connector_part(
+ ulong sql_type
+ );
+ int append_values_connector(
+ spider_string *str
+ );
+ int append_values_terminator_part(
+ ulong sql_type
+ );
+ int append_values_terminator(
+ spider_string *str
+ );
+ int append_union_table_connector_part(
+ ulong sql_type
+ );
+ int append_union_table_connector(
+ spider_string *str
+ );
+ int append_union_table_terminator_part(
+ ulong sql_type
+ );
+ int append_union_table_terminator(
+ spider_string *str
+ );
+ int append_key_column_values_part(
+ const key_range *start_key,
+ ulong sql_type
+ );
+ int append_key_column_values(
+ spider_string *str,
+ const key_range *start_key
+ );
+ int append_key_column_values_with_name_part(
+ const key_range *start_key,
+ ulong sql_type
+ );
+ int append_key_column_values_with_name(
+ spider_string *str,
+ const key_range *start_key
+ );
+ int append_key_where_part(
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type
+ );
+ int append_key_where(
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type,
+ bool set_order
+ );
+ int append_is_null_part(
+ ulong sql_type,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+ );
+ int append_is_null(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+ );
+ int append_where_terminator_part(
+ ulong sql_type,
+ bool set_order,
+ int key_count
+ );
+ int append_where_terminator(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ bool set_order,
+ int key_count
+ );
+ int append_match_where_part(
+ ulong sql_type
+ );
+ int append_match_where(
+ spider_string *str
+ );
+ int append_update_where(
+ spider_string *str,
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_condition_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type,
+ bool test_flg
+ );
+ int append_condition(
+ spider_string *str,
+ const char *alias,
+ uint alias_length,
+ bool start_where,
+ ulong sql_type
+ );
+ int append_match_against_part(
+ ulong sql_type,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+ );
+ int append_match_against(
+ spider_string *str,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+ );
+ int append_match_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+ );
+ int append_match_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int append_sum_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+ );
+ int append_sum_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ void set_order_pos(
+ ulong sql_type
+ );
+ void set_order_to_pos(
+ ulong sql_type
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int append_group_by_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_group_by(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ int append_key_order_for_merge_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_for_merge_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_order_for_direct_order_limit_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_for_direct_order_limit_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_order_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_for_handler(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_order_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+ );
+ int reappend_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+ );
+ int append_limit(
+ spider_string *str,
+ longlong offset,
+ longlong limit
+ );
+ int append_select_lock_part(
+ ulong sql_type
+ );
+ int append_select_lock(
+ spider_string *str
+ );
+ int append_union_all_start_part(
+ ulong sql_type
+ );
+ int append_union_all_start(
+ spider_string *str
+ );
+ int append_union_all_part(
+ ulong sql_type
+ );
+ int append_union_all(
+ spider_string *str
+ );
+ int append_union_all_end_part(
+ ulong sql_type
+ );
+ int append_union_all_end(
+ spider_string *str
+ );
+ int append_multi_range_cnt_part(
+ ulong sql_type,
+ uint multi_range_cnt,
+ bool with_comma
+ );
+ int append_multi_range_cnt(
+ spider_string *str,
+ uint multi_range_cnt,
+ bool with_comma
+ );
+ int append_multi_range_cnt_with_name_part(
+ ulong sql_type,
+ uint multi_range_cnt
+ );
+ int append_multi_range_cnt_with_name(
+ spider_string *str,
+ uint multi_range_cnt
+ );
+ int append_open_handler_part(
+ ulong sql_type,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_open_handler(
+ spider_string *str,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_close_handler_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_close_handler(
+ spider_string *str,
+ int link_idx
+ );
+ int append_insert_terminator_part(
+ ulong sql_type
+ );
+ int append_insert_terminator(
+ spider_string *str
+ );
+ int append_insert_values_part(
+ ulong sql_type
+ );
+ int append_insert_values(
+ spider_string *str
+ );
+ int append_into_part(
+ ulong sql_type
+ );
+ int append_into(
+ spider_string *str
+ );
+ void set_insert_to_pos(
+ ulong sql_type
+ );
+ int append_from_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_from(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+ );
+ int append_flush_tables_part(
+ ulong sql_type,
+ int link_idx,
+ bool lock
+ );
+ int append_flush_tables(
+ spider_string *str,
+ int link_idx,
+ bool lock
+ );
+ int append_optimize_table_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_optimize_table(
+ spider_string *str,
+ int link_idx
+ );
+ int append_analyze_table_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_analyze_table(
+ spider_string *str,
+ int link_idx
+ );
+ int append_repair_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_repair_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_check_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_check_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_enable_keys_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_enable_keys(
+ spider_string *str,
+ int link_idx
+ );
+ int append_disable_keys_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_disable_keys(
+ spider_string *str,
+ int link_idx
+ );
+ int append_delete_all_rows_part(
+ ulong sql_type
+ );
+ int append_delete_all_rows(
+ spider_string *str,
+ ulong sql_type
+ );
+ int append_truncate(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+ );
+ int append_explain_select_part(
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+ );
+ int append_explain_select(
+ spider_string *str,
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+ );
+ bool is_bulk_insert_exec_period(
+ bool bulk_end
+ );
+ bool sql_is_filled_up(
+ ulong sql_type
+ );
+ bool sql_is_empty(
+ ulong sql_type
+ );
+ bool support_multi_split_read();
+ bool support_bulk_update();
+ int bulk_tmp_table_insert();
+ int bulk_tmp_table_insert(
+ int link_idx
+ );
+ int bulk_tmp_table_end_bulk_insert();
+ int bulk_tmp_table_rnd_init();
+ int bulk_tmp_table_rnd_next();
+ int bulk_tmp_table_rnd_end();
+ bool need_copy_for_update(
+ int link_idx
+ );
+ bool bulk_tmp_table_created();
+ int mk_bulk_tmp_table_and_bulk_start();
+ void rm_bulk_tmp_table();
+ int store_sql_to_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+ );
+ int restore_sql_from_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+ );
+ int insert_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx,
+ int *appended
+ );
+ int realloc_sql(
+ ulong *realloced
+ );
+ int reset_sql(
+ ulong sql_type
+ );
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ int reset_keys(
+ ulong sql_type
+ );
+ int reset_upds(
+ ulong sql_type
+ );
+ int reset_strs(
+ ulong sql_type
+ );
+ int reset_strs_pos(
+ ulong sql_type
+ );
+ int push_back_upds(
+ SPIDER_HS_STRING_REF &info
+ );
+#endif
+ bool need_lock_before_set_sql_for_exec(
+ ulong sql_type
+ );
+ int set_sql_for_exec(
+ ulong sql_type,
+ int link_idx
+ );
+ int set_sql_for_exec(
+ spider_db_copy_table *tgt_ct,
+ ulong sql_type
+ );
+ int execute_sql(
+ ulong sql_type,
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+ );
+ int reset();
+ int sts_mode_exchange(
+ int sts_mode
+ );
+ int show_table_status(
+ int link_idx,
+ int sts_mode,
+ uint flag
+ );
+ int crd_mode_exchange(
+ int crd_mode
+ );
+ int show_index(
+ int link_idx,
+ int crd_mode
+ );
+ int show_records(
+ int link_idx
+ );
+ int show_last_insert_id(
+ int link_idx,
+ ulonglong &last_insert_id
+ );
+ ha_rows explain_select(
+ key_range *start_key,
+ key_range *end_key,
+ int link_idx
+ );
+ int lock_tables(
+ int link_idx
+ );
+ int unlock_tables(
+ int link_idx
+ );
+ int disable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int enable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int check_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int repair_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int analyze_table(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int optimize_table(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int flush_tables(
+ SPIDER_CONN *conn,
+ int link_idx,
+ bool lock
+ );
+ int flush_logs(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int insert_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int delete_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int sync_from_clone_source(
+ spider_db_handler *dbton_hdl
+ );
+ bool support_use_handler(
+ int use_handler
+ );
+ void minimum_select_bitmap_create();
+ bool minimum_select_bit_is_set(
+ uint field_index
+ );
+ void copy_minimum_select_bitmap(
+ uchar *bitmap
+ );
+ int init_union_table_name_pos();
+ int set_union_table_name_pos();
+ int reset_union_table_name(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+ );
+};
+
+class spider_mysql_copy_table: public spider_db_copy_table
+{
+public:
+ spider_mysql_share *mysql_share;
+ spider_string sql;
+ uint pos;
+ spider_mysql_copy_table(
+ spider_mysql_share *db_share
+ );
+ ~spider_mysql_copy_table();
+ int init();
+ void set_sql_charset(
+ CHARSET_INFO *cs
+ );
+ int append_select_str();
+ int append_insert_str(
+ int insert_flg
+ );
+ int append_table_columns(
+ TABLE_SHARE *table_share
+ );
+ int append_from_str();
+ int append_table_name(
+ int link_idx
+ );
+ void set_sql_pos();
+ void set_sql_to_pos();
+ int append_copy_where(
+ spider_db_copy_table *source_ct,
+ KEY *key_info,
+ ulong *last_row_pos,
+ ulong *last_lengths
+ );
+ int append_key_order_str(
+ KEY *key_info,
+ int start_pos,
+ bool desc_flg
+ );
+ int append_limit(
+ longlong offset,
+ longlong limit
+ );
+ int append_into_str();
+ int append_open_paren_str();
+ int append_values_str();
+ int append_select_lock_str(
+ int lock_mode
+ );
+ int exec_query(
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+ );
+ int copy_key_row(
+ spider_db_copy_table *source_ct,
+ Field *field,
+ ulong *row_pos,
+ ulong *length,
+ const char *joint_str,
+ const int joint_length
+ );
+ int copy_row(
+ Field *field,
+ SPIDER_DB_ROW *row
+ );
+ int copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row,
+ ulong **last_row_pos,
+ ulong **last_lengths
+ );
+ int copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row
+ );
+ int append_insert_terminator();
+ int copy_insert_values(
+ spider_db_copy_table *source_ct
+ );
+};
diff --git a/storage/spider/spd_db_oracle.cc b/storage/spider/spd_db_oracle.cc
index 9631f6505d5..9ebf42859a7 100644
--- a/storage/spider/spd_db_oracle.cc
+++ b/storage/spider/spd_db_oracle.cc
@@ -1,12421 +1,12538 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-#define MYSQL_SERVER 1
-#include "mysql_version.h"
-#if MYSQL_VERSION_ID < 50500
-#include "mysql_priv.h"
-#include <mysql/plugin.h>
-#else
-#include "sql_priv.h"
-#include "probes_mysql.h"
-#include "sql_partition.h"
-#include "sql_analyse.h"
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-#include "sql_select.h"
-#endif
-#endif
-
-#ifdef HAVE_ORACLE_OCI
-#include <oci.h>
-#include "spd_err.h"
-#include "spd_param.h"
-#include "spd_db_include.h"
-#include "spd_include.h"
-#include "spd_db_oracle.h"
-#include "ha_spider.h"
-#include "spd_conn.h"
-#include "spd_db_conn.h"
-#include "spd_malloc.h"
-#include "spd_sys_table.h"
-#include "spd_table.h"
-
-extern struct charset_info_st *spd_charset_utf8_bin;
-
-extern handlerton *spider_hton_ptr;
-extern pthread_mutex_t spider_open_conn_mutex;
-extern HASH spider_open_connections;
-extern SPIDER_DBTON spider_dbton[SPIDER_DBTON_SIZE];
-extern const char spider_dig_upper[];
-
-#define SPIDER_DB_WRAPPER_ORACLE "oracle"
-
-#define SPIDER_SQL_NAME_QUOTE_STR "\""
-#define SPIDER_SQL_NAME_QUOTE_LEN (sizeof(SPIDER_SQL_NAME_QUOTE_STR) - 1)
-static const char *name_quote_str = SPIDER_SQL_NAME_QUOTE_STR;
-
-#define SPIDER_SQL_ISO_READ_COMMITTED_STR "set transaction isolation level read committed"
-#define SPIDER_SQL_ISO_READ_COMMITTED_LEN sizeof(SPIDER_SQL_ISO_READ_COMMITTED_STR) - 1
-#define SPIDER_SQL_ISO_SERIALIZABLE_STR "set transaction isolation level serializable"
-#define SPIDER_SQL_ISO_SERIALIZABLE_LEN sizeof(SPIDER_SQL_ISO_SERIALIZABLE_STR) - 1
-
-#define SPIDER_SQL_START_TRANSACTION_STR "set transaction read write"
-#define SPIDER_SQL_START_TRANSACTION_LEN sizeof(SPIDER_SQL_START_TRANSACTION_STR) - 1
-
-#define SPIDER_SQL_AUTOCOMMIT_OFF_STR "set autocommit off"
-#define SPIDER_SQL_AUTOCOMMIT_OFF_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_OFF_STR) - 1
-#define SPIDER_SQL_AUTOCOMMIT_ON_STR "set autocommit on"
-#define SPIDER_SQL_AUTOCOMMIT_ON_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_ON_STR) - 1
-
-#define SPIDER_SQL_LOCK_TABLE_STR "lock table "
-#define SPIDER_SQL_LOCK_TABLE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_STR) - 1)
-#define SPIDER_SQL_UNLOCK_TABLE_STR "unlock tables"
-#define SPIDER_SQL_UNLOCK_TABLE_LEN (sizeof(SPIDER_SQL_UNLOCK_TABLE_STR) - 1)
-#define SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR " in share mode"
-#define SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR) - 1)
-#define SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR " in exclusive mode"
-#define SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR) - 1)
-
-#define SPIDER_SQL_COMMIT_STR "commit"
-#define SPIDER_SQL_COMMIT_LEN sizeof(SPIDER_SQL_COMMIT_STR) - 1
-
-#define SPIDER_SQL_SET_NLS_DATE_FORMAT_STR "alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS'"
-#define SPIDER_SQL_SET_NLS_DATE_FORMAT_LEN sizeof(SPIDER_SQL_SET_NLS_DATE_FORMAT_STR) - 1
-#define SPIDER_SQL_SET_NLS_TIME_FORMAT_STR "alter session set nls_time_format='HH24:MI:SSXFF'"
-#define SPIDER_SQL_SET_NLS_TIME_FORMAT_LEN sizeof(SPIDER_SQL_SET_NLS_TIME_FORMAT_STR) - 1
-#define SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_STR "alter session set nls_timestamp_format='YYYY-MM-DD HH24:MI:SSXFF'"
-#define SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_LEN sizeof(SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_STR) - 1
-
-#define SPIDER_SQL_SELECT_WRAPPER_HEAD_STR "select * from ("
-#define SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN sizeof(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR) - 1
-#define SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR " where rowid in (select rowid from (select rowid, row_number() over (order by "
-#define SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN sizeof(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR) - 1
-#define SPIDER_SQL_ROW_NUMBER_HEAD_STR ", row_number() over (order by "
-#define SPIDER_SQL_ROW_NUMBER_HEAD_LEN sizeof(SPIDER_SQL_ROW_NUMBER_HEAD_STR) - 1
-#define SPIDER_SQL_ROW_NUMBER_TAIL_STR "rowid) row_num"
-#define SPIDER_SQL_ROW_NUMBER_TAIL_LEN sizeof(SPIDER_SQL_ROW_NUMBER_TAIL_STR) - 1
-#define SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR "rowid desc) row_num"
-#define SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN sizeof(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR) - 1
-#define SPIDER_SQL_SELECT_WRAPPER_TAIL_STR ") where row_num "
-#define SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN sizeof(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR) - 1
-#define SPIDER_SQL_ROW_NUM_STR "row_num"
-#define SPIDER_SQL_ROW_NUM_LEN sizeof(SPIDER_SQL_ROW_NUM_STR) - 1
-#define SPIDER_SQL_ROWNUM_STR "rownum"
-#define SPIDER_SQL_ROWNUM_LEN sizeof(SPIDER_SQL_ROWNUM_STR) - 1
-#define SPIDER_SQL_NEXTVAL_STR ".nextval"
-#define SPIDER_SQL_NEXTVAL_LEN sizeof(SPIDER_SQL_NEXTVAL_STR) - 1
-#define SPIDER_SQL_CURRVAL_STR ".currval"
-#define SPIDER_SQL_CURRVAL_LEN sizeof(SPIDER_SQL_CURRVAL_STR) - 1
-#define SPIDER_SQL_FROM_DUAL_STR " from dual"
-#define SPIDER_SQL_FROM_DUAL_LEN sizeof(SPIDER_SQL_FROM_DUAL_STR) - 1
-
-#define SPIDER_SQL_SHOW_TABLE_STATUS_STR "show table status from "
-#define SPIDER_SQL_SHOW_TABLE_STATUS_LEN sizeof(SPIDER_SQL_SHOW_TABLE_STATUS_STR) - 1
-#define SPIDER_SQL_SELECT_TABLES_STATUS_STR "select `table_rows`,`avg_row_length`,`data_length`,`max_data_length`,`index_length`,`auto_increment`,`create_time`,`update_time`,`check_time` from `information_schema`.`tables` where `table_schema` = "
-#define SPIDER_SQL_SELECT_TABLES_STATUS_LEN sizeof(SPIDER_SQL_SELECT_TABLES_STATUS_STR) - 1
-
-#define SPIDER_SQL_LIKE_STR " like "
-#define SPIDER_SQL_LIKE_LEN (sizeof(SPIDER_SQL_LIKE_STR) - 1)
-#define SPIDER_SQL_LIMIT1_STR "rownum = 1"
-#define SPIDER_SQL_LIMIT1_LEN (sizeof(SPIDER_SQL_LIMIT1_STR) - 1)
-
-#define SPIDER_SQL_ADD_MONTHS_STR "add_months"
-#define SPIDER_SQL_ADD_MONTHS_LEN (sizeof(SPIDER_SQL_ADD_MONTHS_STR) - 1)
-
-#define SPIDER_ORACLE_ERR_BUF_LEN 512
-
-static uchar SPIDER_SQL_LINESTRING_HEAD_STR[] =
- {0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00};
-#define SPIDER_SQL_LINESTRING_HEAD_LEN sizeof(SPIDER_SQL_LINESTRING_HEAD_STR)
-
-static const char *spider_db_table_lock_str[] =
-{
- " in share mode",
- " in share mode",
- " in exclusive mode",
- " in exclusive mode"
-};
-static const int spider_db_table_lock_len[] =
-{
- sizeof(" in share mode") - 1,
- sizeof(" in share mode") - 1,
- sizeof(" in exclusive mode") - 1,
- sizeof(" in exclusive mode") - 1
-};
-
-int spider_db_oracle_get_error(
- sword res,
- dvoid *hndlp,
- int error_num,
- const char *error1,
- const char *error2,
- CHARSET_INFO *access_charset,
- char *stored_error_msg
-) {
- sb4 error_code;
- char buf[SPIDER_ORACLE_ERR_BUF_LEN];
- char buf2[SPIDER_ORACLE_ERR_BUF_LEN];
- spider_string tmp_str(buf2, SPIDER_ORACLE_ERR_BUF_LEN, system_charset_info);
- DBUG_ENTER("spider_db_oracle_get_error");
- tmp_str.init_calc_mem(176);
- tmp_str.length(0);
-
- switch (res)
- {
- case OCI_SUCCESS:
- DBUG_PRINT("info",("spider res=OCI_SUCCESS"));
- break;
- case OCI_SUCCESS_WITH_INFO:
- DBUG_PRINT("info",("spider res=OCI_SUCCESS_WITH_INFO"));
- OCIErrorGet(hndlp, 1, NULL, &error_code, (OraText *) buf, sizeof(buf),
- OCI_HTYPE_ERROR);
- DBUG_PRINT("info",("spider error_code=%d error='%s'",error_code ,buf));
- if (access_charset && access_charset->cset != system_charset_info->cset)
- {
- tmp_str.append(buf, strlen(buf), access_charset);
- } else {
- tmp_str.set(buf, strlen(buf), system_charset_info);
- }
- push_warning_printf(current_thd, SPIDER_WARN_LEVEL_WARN,
- ER_SPIDER_ORACLE_NUM, ER_SPIDER_ORACLE_STR, res, error_code,
- tmp_str.c_ptr_safe());
- break;
- case OCI_NO_DATA:
- DBUG_PRINT("info",("spider res=OCI_NO_DATA"));
- DBUG_RETURN(HA_ERR_END_OF_FILE);
- case OCI_ERROR:
- DBUG_PRINT("info",("spider res=OCI_ERROR"));
- OCIErrorGet(hndlp, 1, NULL, &error_code, (OraText *) buf, sizeof(buf),
- OCI_HTYPE_ERROR);
- DBUG_PRINT("info",("spider error_code=%d error='%s'",error_code ,buf));
- if (error_code == 1)
- {
- DBUG_PRINT("info",("spider found dupp key"));
- if (stored_error_msg)
- strmov(stored_error_msg, buf);
- DBUG_RETURN(HA_ERR_FOUND_DUPP_KEY);
- }
- if (error_num)
- {
- if (error1)
- {
- if (error2)
- {
- my_printf_error(error_num, error1, MYF(0), error2);
- } else {
- my_printf_error(error_num, error1, MYF(0));
- }
- } else if (error2) {
- my_error(error_num, MYF(0), error2);
- } else {
- my_error(error_num, MYF(0));
- }
- }
- if (access_charset && access_charset->cset != system_charset_info->cset)
- {
- tmp_str.append(buf, strlen(buf), access_charset);
- } else {
- tmp_str.set(buf, strlen(buf), system_charset_info);
- }
- my_printf_error(ER_SPIDER_ORACLE_NUM, ER_SPIDER_ORACLE_STR, MYF(0),
- res, error_code, tmp_str.c_ptr_safe());
- if (error_num)
- {
- DBUG_RETURN(error_num);
- } else {
- DBUG_RETURN(ER_SPIDER_ORACLE_NUM);
- }
- case OCI_INVALID_HANDLE:
- case OCI_NEED_DATA:
- if (res == OCI_INVALID_HANDLE)
- DBUG_PRINT("info",("spider res=OCI_INVALID_HANDLE"));
- else
- DBUG_PRINT("info",("spider res=OCI_NEED_DATA"));
- default:
- DBUG_PRINT("info",("spider res=%d", res));
- if (error_num)
- {
- if (error1)
- {
- if (error2)
- {
- my_printf_error(error_num, error1, MYF(0), error2);
- } else {
- my_printf_error(error_num, error1, MYF(0));
- }
- } else if (error2) {
- my_error(error_num, MYF(0), error2);
- } else {
- my_error(error_num, MYF(0));
- }
- }
- my_printf_error(ER_SPIDER_ORACLE_NUM, ER_SPIDER_ORACLE_STR, MYF(0),
- res, 0, "");
- if (error_num)
- {
- DBUG_RETURN(error_num);
- } else {
- DBUG_RETURN(ER_SPIDER_ORACLE_NUM);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_init()
-{
- DBUG_ENTER("spider_oracle_init");
- DBUG_RETURN(0);
-}
-
-int spider_oracle_deinit()
-{
- DBUG_ENTER("spider_oracle_deinit");
- DBUG_RETURN(0);
-}
-
-spider_db_share *spider_oracle_create_share(
- SPIDER_SHARE *share
-) {
- DBUG_ENTER("spider_oracle_create_share");
- DBUG_RETURN(new spider_oracle_share(share));
-}
-
-spider_db_handler *spider_oracle_create_handler(
- ha_spider *spider,
- spider_db_share *db_share
-) {
- DBUG_ENTER("spider_oracle_create_handler");
- DBUG_RETURN(new spider_oracle_handler(spider,
- (spider_oracle_share *) db_share));
-}
-
-spider_db_copy_table *spider_oracle_create_copy_table(
- spider_db_share *db_share
-) {
- DBUG_ENTER("spider_oracle_create_copy_table");
- DBUG_RETURN(new spider_oracle_copy_table(
- (spider_oracle_share *) db_share));
-}
-
-SPIDER_DB_CONN *spider_oracle_create_conn(
- SPIDER_CONN *conn
-) {
- DBUG_ENTER("spider_oracle_create_conn");
- DBUG_RETURN(new spider_db_oracle(conn));
-}
-
-spider_db_oracle_util spider_db_oracle_utility;
-
-SPIDER_DBTON spider_dbton_oracle = {
- 0,
- SPIDER_DB_WRAPPER_ORACLE,
- SPIDER_DB_ACCESS_TYPE_SQL,
- spider_oracle_init,
- spider_oracle_deinit,
- spider_oracle_create_share,
- spider_oracle_create_handler,
- spider_oracle_create_copy_table,
- spider_oracle_create_conn,
- &spider_db_oracle_utility
-};
-
-spider_db_oracle_row::spider_db_oracle_row() :
- spider_db_row(spider_dbton_oracle.dbton_id),
- db_conn(NULL), result(NULL),
- ind(NULL), val(NULL), rlen(NULL), ind_first(NULL), val_first(NULL),
- rlen_first(NULL), val_str(NULL), val_str_first(NULL), defnp(NULL),
- lobhp(NULL), colhp(NULL), coltp(NULL), colsz(NULL), field_count(0),
- row_size(NULL), row_size_first(NULL), access_charset(NULL), cloned(FALSE)
-{
- DBUG_ENTER("spider_db_oracle_row::spider_db_oracle_row");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_oracle_row::~spider_db_oracle_row()
-{
- DBUG_ENTER("spider_db_oracle_row::~spider_db_oracle_row");
- DBUG_PRINT("info",("spider this=%p", this));
- deinit();
- DBUG_VOID_RETURN;
-}
-
-int spider_db_oracle_row::store_to_field(
- Field *field,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_oracle_row::store_to_field");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider ind=%d", *ind));
- if (*ind == -1)
- {
- DBUG_PRINT("info", ("spider field is null"));
- field->set_null();
- field->reset();
- } else {
- DBUG_PRINT("info", ("spider field->type()=%u", field->type()));
- field->set_notnull();
- if (field->type() == MYSQL_TYPE_YEAR)
- {
- field->store(val_str->ptr(), 4,
- field->table->s->table_charset);
- } else if (field->type() == MYSQL_TYPE_DATE)
- {
- field->store(val_str->ptr(), 10,
- field->table->s->table_charset);
- } else if (field->type() == MYSQL_TYPE_TIME)
- {
- field->store(val_str->ptr() + 11, 8,
- field->table->s->table_charset);
- } else {
- DBUG_PRINT("info", ("spider val_str->length()=%u", val_str->length()));
- if (field->flags & BLOB_FLAG)
- {
- DBUG_PRINT("info", ("spider blob field"));
- ((Field_blob *)field)->set_ptr(
- val_str->length(), (uchar *) val_str->ptr());
- } else {
- field->store(val_str->ptr(), val_str->length(),
- field->table->s->table_charset);
- }
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_row::append_to_str(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_oracle_row::append_to_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(val_str->length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(val_str->ptr(), val_str->length());
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_row::append_escaped_to_str(
- spider_string *str,
- uint dbton_id
-) {
- DBUG_ENTER("spider_db_oracle_row::append_escaped_to_str");
- DBUG_PRINT("info",("spider this=%p", this));
-/*
- spider_string tmp_str(*val, *rlen, str->charset());
- tmp_str.init_calc_mem(174);
- tmp_str.length(*rlen);
-#ifndef DBUG_OFF
- tmp_str.c_ptr_safe();
-#endif
- if (str->reserve(*rlen * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- util.append_escaped(str, tmp_str.get_str());
-*/
- if (str->reserve(val_str->length() * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- spider_dbton[dbton_id].db_util->append_escaped_util(str, val_str->get_str());
- DBUG_RETURN(0);
-}
-
-void spider_db_oracle_row::first()
-{
- DBUG_ENTER("spider_db_oracle_row::first");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider ind_first=%p", ind_first));
- ind = ind_first;
- DBUG_PRINT("info",("spider val_first=%p", val_first));
- val = val_first;
- DBUG_PRINT("info",("spider rlen_first=%p", rlen_first));
- rlen = rlen_first;
- DBUG_PRINT("info",("spider row_size_first=%p", row_size_first));
- row_size = row_size_first;
- DBUG_PRINT("info",("spider val_str_first=%p", val_str_first));
- val_str = val_str_first;
- DBUG_VOID_RETURN;
-}
-
-void spider_db_oracle_row::next()
-{
- DBUG_ENTER("spider_db_oracle_row::next");
- DBUG_PRINT("info",("spider this=%p", this));
- ind++;
- val++;
- rlen++;
- row_size++;
- val_str++;
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_oracle_row::is_null()
-{
- DBUG_ENTER("spider_db_oracle_row::is_null");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((*ind == -1));
-}
-
-int spider_db_oracle_row::val_int()
-{
- DBUG_ENTER("spider_db_oracle_row::val_int");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((*ind != -1) ? atoi(*val) : 0);
-}
-
-double spider_db_oracle_row::val_real()
-{
- DBUG_ENTER("spider_db_oracle_row::val_real");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((*ind != -1) ? my_atof(*val) : 0.0);
-}
-
-my_decimal *spider_db_oracle_row::val_decimal(
- my_decimal *decimal_value,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_oracle_row::val_decimal");
- DBUG_PRINT("info",("spider this=%p", this));
- if (*ind == -1)
- DBUG_RETURN(NULL);
-
-#ifdef SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
- decimal_operation_results(str2my_decimal(0, *val, *rlen, access_charset,
- decimal_value), "", "");
-#else
- decimal_operation_results(str2my_decimal(0, *val, *rlen, access_charset,
- decimal_value));
-#endif
-
- DBUG_RETURN(decimal_value);
-}
-
-SPIDER_DB_ROW *spider_db_oracle_row::clone()
-{
- uint i;
- spider_db_oracle_row *clone_row;
- DBUG_ENTER("spider_db_oracle_row::clone");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(clone_row = new spider_db_oracle_row()))
- {
- DBUG_RETURN(NULL);
- }
- clone_row->db_conn = db_conn;
- clone_row->result = result;
- clone_row->field_count = field_count;
- clone_row->access_charset = access_charset;
- clone_row->cloned = TRUE;
- if (clone_row->init())
- {
- delete clone_row;
- DBUG_RETURN(NULL);
- }
- memcpy(clone_row->ind, ind_first, sizeof(ub2) * field_count * 4 +
- sizeof(ulong) * field_count);
- for (i = 0; i < field_count; i++)
- {
- if (clone_row->val_str[i].copy(val_str_first[i]))
- {
- delete clone_row;
- DBUG_RETURN(NULL);
- }
- }
- DBUG_RETURN((SPIDER_DB_ROW *) clone_row);
-}
-
-int spider_db_oracle_row::store_to_tmp_table(
- TABLE *tmp_table,
- spider_string *str
-) {
- uint i;
- DBUG_ENTER("spider_db_oracle_row::store_to_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- for (i = 0; i < field_count; i++)
- {
- if (row_size_first[i])
- {
- if (str->reserve(val_str_first[i].length()))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(val_str_first[i].ptr(), val_str_first[i].length());
- }
- }
- tmp_table->field[0]->set_notnull();
- tmp_table->field[0]->store(
- (const char *) row_size_first,
- sizeof(ulong) * field_count, &my_charset_bin);
- tmp_table->field[1]->set_notnull();
- tmp_table->field[1]->store(
- str->ptr(), str->length(), &my_charset_bin);
- tmp_table->field[2]->set_notnull();
- tmp_table->field[2]->store(
- (char *) ind_first, (uint) (sizeof(sb2) * field_count), &my_charset_bin);
- DBUG_RETURN(tmp_table->file->ha_write_row(tmp_table->record[0]));
-}
-
-int spider_db_oracle_row::init()
-{
- char *tmp_val;
- uint i;
- DBUG_ENTER("spider_db_oracle_row::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (
- !(ind = (sb2 *)
- spider_bulk_malloc(spider_current_trx, 161, MYF(MY_WME | MY_ZEROFILL),
- &ind, sizeof(sb2) * field_count,
- &rlen, sizeof(ub2) * field_count,
- &coltp, sizeof(ub2) * field_count,
- &colsz, sizeof(ub2) * field_count,
- &row_size, sizeof(ulong) * field_count,
- &val, sizeof(char *) * field_count,
- &tmp_val, MAX_FIELD_WIDTH * field_count,
- &defnp, sizeof(OCIDefine *) * field_count,
- &lobhp, sizeof(OCILobLocator *) * field_count,
- &colhp, sizeof(OCIParam *) * field_count,
- NullS)
- ) ||
- !(val_str = new spider_string[field_count])
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- ind_first = ind;
- val_first = val;
- rlen_first = rlen;
- row_size_first = row_size;
- val_str_first = val_str;
- for (i = 0; i < field_count; i++)
- {
- val[i] = tmp_val;
- val_str[i].init_calc_mem(177);
- val_str[i].set(tmp_val, MAX_FIELD_WIDTH, access_charset);
- tmp_val += MAX_FIELD_WIDTH;
- }
- DBUG_RETURN(0);
-}
-
-void spider_db_oracle_row::deinit()
-{
- uint i;
- DBUG_ENTER("spider_db_oracle_row::deinit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!cloned)
- {
- for (i = 0; i < field_count; i++)
- {
- if (defnp && defnp[i])
- {
- OCIHandleFree(defnp[i], OCI_HTYPE_DEFINE);
- defnp[i] = NULL;
- }
- if (lobhp && lobhp[i])
- {
- OCIDescriptorFree(lobhp[i], OCI_DTYPE_LOB);
- lobhp[i] = NULL;
- }
- }
- }
- if (val_str_first)
- {
- delete [] val_str_first;
- val_str_first = NULL;
- }
- if (ind_first)
- {
- spider_free(spider_current_trx, ind_first, MYF(0));
- ind_first = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_oracle_row::define()
-{
- sword res;
- uint i;
- DBUG_ENTER("spider_db_oracle_row::define");
- DBUG_PRINT("info",("spider this=%p", this));
- for (i = 0; i < field_count; i++)
- {
- if (coltp[i] == SQLT_BLOB)
- {
- res = OCIDescriptorAlloc(db_conn->envhp, (dvoid **) &lobhp[i],
- OCI_DTYPE_LOB, 0, 0);
- if (res != OCI_SUCCESS)
- {
- DBUG_RETURN(
- spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
- access_charset, NULL));
- }
- res = OCIDefineByPos(result->stmtp, &defnp[i], db_conn->errhp, i + 1,
- &lobhp[i], 0, SQLT_BLOB, &ind[i], &rlen[i], NULL,
- OCI_DEFAULT);
- } else if (coltp[i] == SQLT_DAT)
- {
- res = OCIDefineByPos(result->stmtp, &defnp[i], db_conn->errhp, i + 1,
- (char *) val_str[i].ptr() + 20, sizeof(ub1) * 7, SQLT_DAT, &ind[i],
- &rlen[i], NULL, OCI_DEFAULT);
- } else {
- if (val_str[i].alloc(colsz[i]))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- res = OCIDefineByPos(result->stmtp, &defnp[i], db_conn->errhp, i + 1,
- (char *) val_str[i].ptr(), colsz[i], SQLT_CHR, &ind[i], &rlen[i], NULL,
- OCI_DEFAULT);
- }
- if (res != OCI_SUCCESS)
- {
- DBUG_RETURN(
- spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
- access_charset, NULL));
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_row::fetch()
-{
- sword res;
- uint i;
- DBUG_ENTER("spider_db_oracle_row::fetch");
- DBUG_PRINT("info",("spider this=%p", this));
- for (i = 0; i < field_count; i++)
- {
- if (ind[i] == -1)
- {
- DBUG_PRINT("info",("spider NULL"));
- val_str[i].length(0);
- } else {
- if (coltp[i] == SQLT_BLOB)
- {
- DBUG_PRINT("info",("spider SQLT_BLOB"));
- oraub8 len;
- res = OCILobGetLength2(db_conn->svchp, db_conn->errhp, lobhp[i], &len);
- if (res != OCI_SUCCESS)
- {
- DBUG_RETURN(
- spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
- access_charset, NULL));
- }
-#ifndef DBUG_OFF
- {
- ulonglong print_len = len;
- DBUG_PRINT("info",("spider len=%llu", print_len));
- }
-#endif
- if (val_str[i].alloc(len))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- res = OCILobRead2(db_conn->svchp, db_conn->errhp, lobhp[i], &len,
- NULL, 1, (char *) val_str[i].ptr(), len, OCI_ONE_PIECE, NULL, NULL,
- 0, 0);
- if (res != OCI_SUCCESS)
- {
- DBUG_RETURN(
- spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
- access_charset, NULL));
- }
-#ifndef DBUG_OFF
- {
- ulonglong print_len = len;
- DBUG_PRINT("info",("spider lenb=%llu", print_len));
- }
-#endif
- val_str[i].length(len);
- } else if (coltp[i] == SQLT_DAT)
- {
- DBUG_PRINT("info",("spider SQLT_DAT"));
- char *val = (char *) val_str[i].ptr();
- ub1 *src = (ub1 *) val + 20;
- val_str[i].length(19);
- if (src[0] < 100)
- my_sprintf(val, (val, "0000-00-00 00:00:00"));
- else
- my_sprintf(val, (val, "%02u%02u-%02u-%02u %02u:%02u:%02u",
- src[0] - 100, src[1] - 100, src[2], src[3],
- src[4] - 1, src[5] - 1, src[6] - 1));
- } else {
- val_str[i].length(rlen[i]);
- }
- }
- row_size[i] = val_str[i].length();
- }
- DBUG_RETURN(0);
-}
-
-spider_db_oracle_result::spider_db_oracle_result() :
- spider_db_result(spider_dbton_oracle.dbton_id),
- db_conn(NULL), stmtp(NULL), field_count(0), access_charset(NULL),
- fetched(FALSE)
-{
- DBUG_ENTER("spider_db_oracle_result::spider_db_oracle_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_oracle_result::~spider_db_oracle_result()
-{
- DBUG_ENTER("spider_db_oracle_result::~spider_db_oracle_result");
- DBUG_PRINT("info",("spider this=%p", this));
- free_result();
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_oracle_result::has_result()
-{
- DBUG_ENTER("spider_db_oracle_result::has_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(stmtp);
-}
-
-void spider_db_oracle_result::free_result()
-{
- DBUG_ENTER("spider_db_oracle_result::free_result");
- DBUG_PRINT("info",("spider this=%p", this));
- if (stmtp)
- {
- OCIHandleFree(stmtp, OCI_HTYPE_STMT);
- stmtp = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-SPIDER_DB_ROW *spider_db_oracle_result::current_row()
-{
- DBUG_ENTER("spider_db_oracle_result::current_row");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN((SPIDER_DB_ROW *) row.clone());
-}
-
-SPIDER_DB_ROW *spider_db_oracle_result::fetch_row()
-{
- sword res;
- DBUG_ENTER("spider_db_oracle_result::fetch_row");
- DBUG_PRINT("info",("spider this=%p", this));
- row.ind = row.ind_first;
- row.val = row.val_first;
- row.rlen = row.rlen_first;
- row.row_size = row.row_size_first;
- row.val_str = row.val_str_first;
- if (fetched)
- {
- /* already fetched */
- fetched = FALSE;
- } else {
- res = OCIStmtFetch2(stmtp, db_conn->errhp, 1, OCI_FETCH_NEXT, 0,
- OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- store_error_num = spider_db_oracle_get_error(res, db_conn->errhp, 0,
- NULL, NULL, access_charset, NULL);
- DBUG_RETURN(NULL);
- }
- }
- if ((store_error_num = row.fetch()))
- {
- DBUG_RETURN(NULL);
- }
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-SPIDER_DB_ROW *spider_db_oracle_result::fetch_row_from_result_buffer(
- spider_db_result_buffer *spider_res_buf
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle_result::fetch_row_from_result_buffer");
- DBUG_PRINT("info",("spider this=%p", this));
- row.ind = row.ind_first;
- row.val = row.val_first;
- row.rlen = row.rlen_first;
- row.row_size = row.row_size_first;
- row.val_str = row.val_str_first;
- if (fetched)
- {
- /* already fetched */
- fetched = FALSE;
- } else {
- res = OCIStmtFetch2(stmtp, db_conn->errhp, 1, OCI_FETCH_NEXT, 0,
- OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- store_error_num = spider_db_oracle_get_error(res, db_conn->errhp, 0,
- NULL, NULL, access_charset, NULL);
- DBUG_RETURN(NULL);
- }
- }
- if ((store_error_num = row.fetch()))
- {
- DBUG_RETURN(NULL);
- }
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-SPIDER_DB_ROW *spider_db_oracle_result::fetch_row_from_tmp_table(
- TABLE *tmp_table
-) {
- uint i;
- const char *str;
- spider_string tmp_str1, tmp_str2, tmp_str3;
- DBUG_ENTER("spider_db_oracle_result::fetch_row_from_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_str1.init_calc_mem(175);
- tmp_str2.init_calc_mem(178);
- tmp_str3.init_calc_mem(179);
- tmp_table->field[0]->val_str(tmp_str1.get_str());
- tmp_table->field[1]->val_str(tmp_str2.get_str());
- tmp_table->field[2]->val_str(tmp_str3.get_str());
- tmp_str1.mem_calc();
- tmp_str2.mem_calc();
- tmp_str3.mem_calc();
- row.ind = row.ind_first;
- row.val = row.val_first;
- row.rlen = row.rlen_first;
- row.row_size = row.row_size_first;
- row.val_str = row.val_str_first;
- DBUG_PRINT("info",("spider tmp_str1.length()=%u", tmp_str1.length()));
- DBUG_PRINT("info",("spider tmp_str2.length()=%u", tmp_str2.length()));
- DBUG_PRINT("info",("spider tmp_str3.length()=%u", tmp_str3.length()));
- memcpy(row.ind, tmp_str3.ptr(), tmp_str3.length());
- memcpy(row.row_size, tmp_str1.ptr(), tmp_str1.length());
- row.field_count = tmp_str1.length() / sizeof(ulong);
- str = tmp_str2.ptr();
- for (i = 0; i < row.field_count; i++)
- {
- row.val_str[i].length(0);
- if (row.row_size[i])
- {
- if (row.val_str[i].reserve(row.row_size[i]))
- {
- store_error_num = HA_ERR_OUT_OF_MEM;
- DBUG_RETURN(NULL);
- }
- row.val_str[i].q_append(str, row.row_size[i]);
- str += row.row_size[i];
- }
- }
- DBUG_RETURN((SPIDER_DB_ROW *) &row);
-}
-
-int spider_db_oracle_result::fetch_table_status(
- int mode,
- ha_rows &records,
- ulong &mean_rec_length,
- ulonglong &data_file_length,
- ulonglong &max_data_file_length,
- ulonglong &index_file_length,
- ulonglong &auto_increment_value,
- time_t &create_time,
- time_t &update_time,
- time_t &check_time
-) {
- DBUG_ENTER("spider_db_oracle_result::fetch_table_status");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- records = 2;
- mean_rec_length = 65535;
- data_file_length = 65535;
- max_data_file_length = 65535;
- index_file_length = 65535;
-/*
- auto_increment_value = 0;
-*/
- create_time = (time_t) 0;
- update_time = (time_t) 0;
- check_time = (time_t) 0;
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_result::fetch_table_records(
- int mode,
- ha_rows &records
-) {
- DBUG_ENTER("spider_db_oracle_result::fetch_table_records");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!fetch_row())
- {
- records = 0;
- } else {
- records = row.val_int();
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_result::fetch_table_cardinality(
- int mode,
- TABLE *table,
- longlong *cardinality,
- uchar *cardinality_upd,
- int bitmap_size
-) {
- DBUG_ENTER("spider_db_oracle_result::fetch_table_cardinality");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_result::fetch_table_mon_status(
- int &status
-) {
- DBUG_ENTER("spider_db_oracle_result::fetch_table_mon_status");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- status = SPIDER_LINK_MON_OK;
- DBUG_RETURN(0);
-}
-
-longlong spider_db_oracle_result::num_rows()
-{
- sword res;
- ub4 rowcnt;
- DBUG_ENTER("spider_db_oracle_result::num_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- res = OCIAttrGet(stmtp, OCI_HTYPE_STMT, &rowcnt, 0,
- OCI_ATTR_ROW_COUNT, db_conn->errhp);
- if (res != OCI_SUCCESS)
- {
- spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
- access_charset, NULL);
- DBUG_RETURN(0);
- }
- DBUG_PRINT("info",("spider rowcnt=%u", rowcnt));
- DBUG_RETURN((longlong) rowcnt);
-}
-
-uint spider_db_oracle_result::num_fields()
-{
- sword res;
- ub4 parmcnt;
- DBUG_ENTER("spider_db_oracle_result::num_fields");
- DBUG_PRINT("info",("spider this=%p", this));
- res = OCIAttrGet(stmtp, OCI_HTYPE_STMT, &parmcnt, 0,
- OCI_ATTR_PARAM_COUNT, db_conn->errhp);
- if (res != OCI_SUCCESS)
- {
- spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
- access_charset, NULL);
- DBUG_RETURN(0);
- }
- DBUG_RETURN((uint) parmcnt);
-}
-
-void spider_db_oracle_result::move_to_pos(
- longlong pos
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle_result::move_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider pos=%lld", pos));
- res = OCIStmtFetch2(stmtp, db_conn->errhp, 1, OCI_FETCH_ABSOLUTE, pos,
- OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
- access_charset, NULL);
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_db_oracle_result::set_column_info()
-{
- sword res;
- uint i;
- DBUG_ENTER("spider_db_oracle_result::set_column_info");
- DBUG_PRINT("info",("spider this=%p", this));
- for (i = 0; i < field_count; i++)
- {
- res = OCIParamGet(stmtp, OCI_HTYPE_STMT, db_conn->errhp,
- (dvoid **) &row.colhp[i], i + 1);
- if (res != OCI_SUCCESS)
- {
- DBUG_RETURN(spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL,
- NULL, access_charset, NULL));
- }
- res = OCIAttrGet(row.colhp[i], OCI_DTYPE_PARAM, &row.coltp[i], NULL,
- OCI_ATTR_DATA_TYPE, db_conn->errhp);
- if (res != OCI_SUCCESS)
- {
- DBUG_RETURN(spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL,
- NULL, access_charset, NULL));
- }
- res = OCIAttrGet(row.colhp[i], OCI_DTYPE_PARAM, &row.colsz[i], NULL,
- OCI_ATTR_DATA_SIZE, db_conn->errhp);
- if (res != OCI_SUCCESS)
- {
- DBUG_RETURN(spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL,
- NULL, access_charset, NULL));
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_result::get_errno()
-{
- DBUG_ENTER("spider_db_oracle_result::get_errno");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider store_error_num=%d", store_error_num));
- DBUG_RETURN(store_error_num);
-}
-
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
-int spider_db_oracle_result::fetch_columns_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_oracle_result::fetch_columns_for_discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(HA_ERR_WRONG_COMMAND);
-}
-
-int spider_db_oracle_result::fetch_index_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_oracle_result::fetch_index_for_discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(HA_ERR_WRONG_COMMAND);
-}
-#endif
-
-spider_db_oracle::spider_db_oracle(
- SPIDER_CONN *conn
-) : spider_db_conn(conn), envhp(NULL), errhp(NULL), srvhp(NULL), svchp(NULL),
- usrhp(NULL), stmtp(NULL), txnhp(NULL), result(NULL), table_lock_mode(0),
- lock_table_hash_inited(FALSE), handler_open_array_inited(FALSE)
-{
- DBUG_ENTER("spider_db_oracle::spider_db_oracle");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_oracle::~spider_db_oracle()
-{
- DBUG_ENTER("spider_db_oracle::~spider_db_oracle");
- DBUG_PRINT("info",("spider this=%p", this));
- if (handler_open_array_inited)
- {
- reset_opened_handler();
- spider_free_mem_calc(spider_current_trx,
- handler_open_array_id,
- handler_open_array.max_element *
- handler_open_array.size_of_element);
- delete_dynamic(&handler_open_array);
- }
- if (lock_table_hash_inited)
- {
- spider_free_mem_calc(spider_current_trx,
- lock_table_hash_id,
- lock_table_hash.array.max_element *
- lock_table_hash.array.size_of_element);
- my_hash_free(&lock_table_hash);
- }
- disconnect();
- DBUG_VOID_RETURN;
-}
-
-int spider_db_oracle::init()
-{
- DBUG_ENTER("spider_db_oracle::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (
- my_hash_init(&lock_table_hash, spd_charset_utf8_bin, 32, 0, 0,
- (my_hash_get_key) spider_link_get_key, 0, 0)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_alloc_calc_mem_init(lock_table_hash, 199);
- spider_alloc_calc_mem(spider_current_trx,
- lock_table_hash,
- lock_table_hash.array.max_element *
- lock_table_hash.array.size_of_element);
- lock_table_hash_inited = TRUE;
-
- if (
- SPD_INIT_DYNAMIC_ARRAY2(&handler_open_array,
- sizeof(SPIDER_LINK_FOR_HASH *), NULL, 16, 16, MYF(MY_WME))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_alloc_calc_mem_init(handler_open_array, 164);
- spider_alloc_calc_mem(spider_current_trx,
- handler_open_array,
- handler_open_array.max_element *
- handler_open_array.size_of_element);
- handler_open_array_inited = TRUE;
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle::is_connected()
-{
- DBUG_ENTER("spider_db_oracle::is_connected");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(svchp);
-}
-
-void spider_db_oracle::bg_connect()
-{
- sword res;
- DBUG_ENTER("spider_db_oracle::bg_connect");
- DBUG_PRINT("info",("spider this=%p", this));
- res = OCIEnvNlsCreate(&envhp, OCI_DEFAULT, 0, 0, 0, 0, 0, 0, 0, 0);
-/*
- res = OCIEnvCreate(&envhp, OCI_THREADED, 0, 0, 0, 0, 0, 0);
-*/
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider create environment error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- goto error;
- }
- DBUG_PRINT("info",("spider OCI init envhp=%p", envhp));
-
- res = OCIHandleAlloc(envhp, (dvoid **) &errhp, OCI_HTYPE_ERROR, 0, 0);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider create error handler error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
- DBUG_PRINT("info",("spider OCI init errhp=%p", errhp));
-
- res = OCIHandleAlloc(envhp, (dvoid **) &srvhp, OCI_HTYPE_SERVER, 0, 0);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider create server handler error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
- DBUG_PRINT("info",("spider OCI init srvhp=%p", srvhp));
-
- res = OCIServerAttach(srvhp, errhp, (OraText *) tgt_host, strlen(tgt_host),
- OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider attach server error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
-
- res = OCIHandleAlloc(envhp, (dvoid **) &svchp, OCI_HTYPE_SVCCTX, 0, 0);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider create service context error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
- DBUG_PRINT("info",("spider OCI init svchp=%p", svchp));
-
- res = OCIAttrSet(svchp, OCI_HTYPE_SVCCTX, srvhp, 0, OCI_ATTR_SERVER, errhp);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider set server attr error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
-
- res = OCIHandleAlloc(envhp, (dvoid **) &usrhp, OCI_HTYPE_SESSION, 0, 0);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider create session handler error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
- DBUG_PRINT("info",("spider OCI init usrhp=%p", usrhp));
-
- res = OCIAttrSet(usrhp, OCI_HTYPE_SESSION,
- tgt_username, strlen(tgt_username), OCI_ATTR_USERNAME, errhp);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider set username attr error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
-
- res = OCIAttrSet(usrhp, OCI_HTYPE_SESSION,
- tgt_password, strlen(tgt_password), OCI_ATTR_PASSWORD, errhp);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider set password attr error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
-
- res = OCISessionBegin(svchp, errhp, usrhp, OCI_CRED_RDBMS, OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider session begin error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
- DBUG_PRINT("info",("spider OCISessionBegin"));
-
- // set the session in the context handle
- res = OCIAttrSet(svchp, OCI_HTYPE_SVCCTX, usrhp, 0, OCI_ATTR_SESSION, errhp);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider set session attr error"));
- stored_error_num = set_error(res, errhp, 0, NULL, NULL);
- bg_disconnect();
- goto error;
- }
-
- if (
- (stored_error_num = exec_query(SPIDER_SQL_SET_NLS_DATE_FORMAT_STR,
- SPIDER_SQL_SET_NLS_DATE_FORMAT_LEN, -1)) ||
- (stored_error_num = exec_query(SPIDER_SQL_SET_NLS_TIME_FORMAT_STR,
- SPIDER_SQL_SET_NLS_TIME_FORMAT_LEN, -1)) ||
- (stored_error_num = exec_query(SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_STR,
- SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_LEN, -1))
- ) {
- DBUG_PRINT("info",("spider init connection error"));
- bg_disconnect();
- goto error;
- }
- DBUG_VOID_RETURN;
-
-error:
- strmov(stored_error_msg, spider_stmt_da_message(current_thd));
- current_thd->clear_error();
- DBUG_VOID_RETURN;
-}
-
-int spider_db_oracle::connect(
- char *tgt_host,
- char *tgt_username,
- char *tgt_password,
- long tgt_port,
- char *tgt_socket,
- char *server_name,
- int connect_retry_count,
- longlong connect_retry_interval
-) {
- int error_num;
- DBUG_ENTER("spider_db_oracle::connect");
- DBUG_PRINT("info",("spider this=%p", this));
- this->tgt_host = tgt_host;
- this->tgt_username = tgt_username;
- this->tgt_password = tgt_password;
- this->tgt_port = tgt_port;
- this->tgt_socket = tgt_socket;
- this->server_name = server_name;
- this->connect_retry_count = connect_retry_count;
- this->connect_retry_interval = connect_retry_interval;
- if ((error_num = spider_create_conn_thread(conn)))
- DBUG_RETURN(error_num);
- spider_bg_conn_simple_action(conn, SPIDER_BG_SIMPLE_CONNECT);
-
- if (stored_error_num)
- {
- my_message(stored_error_num, stored_error_msg, MYF(0));
- DBUG_RETURN(stored_error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::ping(
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle::ping");
- DBUG_PRINT("info",("spider this=%p", this));
- res = OCIPing(svchp, errhp, OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider ping error %d", res));
- DBUG_RETURN(ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM);
- }
- DBUG_RETURN(0);
-}
-
-void spider_db_oracle::bg_disconnect()
-{
- DBUG_ENTER("spider_db_oracle::bg_disconnect");
- DBUG_PRINT("info",("spider this=%p", this));
- if (result)
- {
- delete result;
- result = NULL;
- }
- if (txnhp)
- {
- DBUG_PRINT("info",("spider OCI free txnhp=%p", txnhp));
- OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
- txnhp = NULL;
- }
- if (stmtp)
- {
- DBUG_PRINT("info",("spider OCI free stmtp=%p", stmtp));
- OCIHandleFree(stmtp, OCI_HTYPE_STMT);
- stmtp = NULL;
- }
- if (svchp && errhp && usrhp)
- {
- DBUG_PRINT("info",("spider OCISessionEnd"));
- OCISessionEnd(svchp, errhp, usrhp, OCI_DEFAULT);
- }
- if (usrhp)
- {
- DBUG_PRINT("info",("spider OCI free usrhp=%p", usrhp));
- OCIHandleFree(usrhp, OCI_HTYPE_SESSION);
- usrhp = NULL;
- }
- if (svchp)
- {
- DBUG_PRINT("info",("spider OCI free svchp=%p", svchp));
- OCIHandleFree(svchp, OCI_HTYPE_SVCCTX);
- svchp = NULL;
- }
- if (srvhp)
- {
- DBUG_PRINT("info",("spider OCI free srvhp=%p", srvhp));
- OCIServerDetach(srvhp, errhp, OCI_DEFAULT);
- OCIHandleFree(srvhp, OCI_HTYPE_SERVER);
- srvhp = NULL;
- }
- if (errhp)
- {
- DBUG_PRINT("info",("spider OCI free errhp=%p", errhp));
- OCIHandleFree(errhp, OCI_HTYPE_ERROR);
- errhp = NULL;
- }
- if (envhp)
- {
- DBUG_PRINT("info",("spider OCI free envhp=%p", envhp));
- OCIHandleFree(envhp, OCI_HTYPE_ENV);
- envhp = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_db_oracle::disconnect()
-{
- DBUG_ENTER("spider_db_oracle::disconnect");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!conn->bg_init)
- DBUG_VOID_RETURN;
- spider_bg_conn_simple_action(conn, SPIDER_BG_SIMPLE_DISCONNECT);
- DBUG_VOID_RETURN;
-}
-
-int spider_db_oracle::set_net_timeout()
-{
- DBUG_ENTER("spider_db_oracle::set_net_timeout");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::exec_query(
- const char *query,
- uint length,
- int quick_mode
-) {
- sword res;
- int error_num;
- DBUG_ENTER("spider_db_oracle::exec_query");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider_param_general_log())
- {
- const char *tgt_str = conn->tgt_host;
- uint32 tgt_len = conn->tgt_host_length;
- spider_string tmp_query_str(length + conn->tgt_wrapper_length +
- tgt_len + (SPIDER_SQL_SPACE_LEN * 2));
- tmp_query_str.init_calc_mem(232);
- tmp_query_str.length(0);
- tmp_query_str.q_append(conn->tgt_wrapper, conn->tgt_wrapper_length);
- tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- tmp_query_str.q_append(tgt_str, tgt_len);
- tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- tmp_query_str.q_append(query, length);
- general_log_write(current_thd, COM_QUERY, tmp_query_str.ptr(),
- tmp_query_str.length());
- }
- stored_error_num = 0;
- if (table_lock_mode && !conn->in_before_query)
- {
- DBUG_PRINT("info",("spider table_lock_mode=%d", table_lock_mode));
- table_lock_mode = 0;
- if ((error_num = exec_query(exec_lock_sql->ptr(), exec_lock_sql->length(),
- -1))) {
- DBUG_RETURN(error_num);
- }
- }
-
- if (length)
- {
- if (result)
- {
- delete result;
- result = NULL;
- }
-
- if (!stmtp)
- {
- DBUG_PRINT("info",("spider create stmt"));
- res = OCIHandleAlloc(envhp, (dvoid **) &stmtp, OCI_HTYPE_STMT, 0, 0);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider create stmt handler error"));
- DBUG_RETURN(set_error(res, errhp, 0, NULL, NULL));
- }
- }
-
- res = OCIStmtPrepare(stmtp, errhp, (OraText *) query, length,
- OCI_NTV_SYNTAX, OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider stmt prepare error"));
- DBUG_RETURN(set_error(res, errhp, 0, NULL, NULL));
- }
-
-/*
- if ((result = new spider_db_oracle_result()))
- {
- result->db_conn = this;
- result->stmtp = stmtp;
- stmtp = NULL;
- result->field_count = result->num_fields();
- result->row.field_count = result->field_count;
- result->row.db_conn = this;
- result->row.result = result;
- if ((error_num = result->row.init()))
- {
- delete result;
- result = NULL;
- DBUG_RETURN(error_num);
- }
- } else {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-*/
-
- /* select statement check */
- ub4 iters;
- if (
- !strncasecmp(query, "select ", sizeof("select ") - 1) ||
- !strncasecmp(query, "(select ", sizeof("(select ") - 1)
- ) {
- iters = 0;
- } else {
- iters = 1;
- }
-
- if (quick_mode)
- {
- DBUG_PRINT("info",("spider use OCI_DEFAULT"));
- res = OCIStmtExecute(svchp, stmtp, errhp, iters, 0, NULL, NULL,
- OCI_DEFAULT);
- } else {
- DBUG_PRINT("info",("spider use OCI_STMT_SCROLLABLE_READONLY"));
- res = OCIStmtExecute(svchp, stmtp, errhp, iters, 0, NULL, NULL,
- OCI_STMT_SCROLLABLE_READONLY);
-/*
- if (res == OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider fetch last for row count"));
- res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_LAST, 0,
- OCI_DEFAULT);
- }
- if (res == OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider fetch first for row count"));
- res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_FIRST, 0,
- OCI_DEFAULT);
- }
-*/
- }
- if (res == OCI_SUCCESS && iters)
- {
- DBUG_PRINT("info",("spider get row count"));
- ub4 row_count;
- res = OCIAttrGet(stmtp, OCI_HTYPE_STMT, &row_count, 0,
- OCI_ATTR_ROW_COUNT, errhp);
- update_rows = (uint) row_count;
- DBUG_PRINT("info",("spider row_count=%u", update_rows));
- }
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider stmt execute error"));
- error_num = set_error(res, errhp, 0, NULL, NULL);
- if (error_num == HA_ERR_END_OF_FILE)
- DBUG_RETURN(0);
- DBUG_RETURN(error_num);
- }
-
- if ((result = new spider_db_oracle_result()))
- {
- result->db_conn = this;
- result->stmtp = stmtp;
- stmtp = NULL;
- result->field_count = result->num_fields();
- result->row.field_count = result->field_count;
- result->row.db_conn = this;
- result->row.result = result;
- result->row.access_charset = conn->access_charset;
- result->access_charset = conn->access_charset;
- if (
- (error_num = result->row.init()) ||
- (error_num = result->set_column_info())
- ) {
- delete result;
- result = NULL;
- DBUG_RETURN(error_num);
- }
- result->row.define();
- } else {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- if (!quick_mode && !iters)
- {
- if (res == OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider fetch last for row count"));
- res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_LAST, 0,
- OCI_DEFAULT);
- }
- if (res == OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider fetch first for row count"));
- res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_FIRST, 0,
- OCI_DEFAULT);
- }
- if (res != OCI_SUCCESS)
- {
- DBUG_PRINT("info",("spider stmt execute error"));
- error_num = set_error(res, errhp, 0, NULL, NULL);
- if (error_num == HA_ERR_END_OF_FILE)
- DBUG_RETURN(0);
- DBUG_RETURN(error_num);
- }
- result->fetched = TRUE;
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::get_errno()
-{
- DBUG_ENTER("spider_db_oracle::get_errno");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider stored_error=%d", stored_error_num));
- DBUG_RETURN(stored_error_num);
-}
-
-const char *spider_db_oracle::get_error()
-{
- DBUG_ENTER("spider_db_oracle::get_error");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider error=%s", stored_error));
- DBUG_RETURN(stored_error);
-}
-
-bool spider_db_oracle::is_server_gone_error(
- int error_num
-) {
- DBUG_ENTER("spider_db_oracle::is_server_gone_error");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- DBUG_RETURN(FALSE);
-}
-
-bool spider_db_oracle::is_dup_entry_error(
- int error_num
-) {
- DBUG_ENTER("spider_db_oracle::is_dup_entry_error");
- DBUG_PRINT("info",("spider this=%p", this));
- if (error_num == HA_ERR_FOUND_DUPP_KEY)
- DBUG_RETURN(TRUE);
- DBUG_RETURN(FALSE);
-}
-
-bool spider_db_oracle::is_xa_nota_error(
- int error_num
-) {
- DBUG_ENTER("spider_db_oracle::is_xa_nota_error");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- DBUG_RETURN(FALSE);
-}
-
-spider_db_result *spider_db_oracle::store_result(
- spider_db_result_buffer **spider_res_buf,
- st_spider_db_request_key *request_key,
- int *error_num
-) {
- spider_db_oracle_result *tmp_result = result;
- DBUG_ENTER("spider_db_oracle::store_result");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(!spider_res_buf);
- if (stored_error_num == HA_ERR_END_OF_FILE)
- {
- *error_num = HA_ERR_END_OF_FILE;
- DBUG_RETURN(NULL);
- }
-
- *error_num = 0;
- result = NULL;
- DBUG_RETURN(tmp_result);
-}
-
-spider_db_result *spider_db_oracle::use_result(
- st_spider_db_request_key *request_key,
- int *error_num
-) {
- spider_db_oracle_result *tmp_result = result;
- DBUG_ENTER("spider_db_oracle::use_result");
- DBUG_PRINT("info",("spider this=%p", this));
- if (stored_error_num == HA_ERR_END_OF_FILE)
- {
- *error_num = HA_ERR_END_OF_FILE;
- DBUG_RETURN(NULL);
- }
-
- *error_num = 0;
- result = NULL;
- DBUG_RETURN(tmp_result);
-}
-
-int spider_db_oracle::next_result()
-{
- DBUG_ENTER("spider_db_oracle::next_result");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- DBUG_RETURN(-1);
-}
-
-uint spider_db_oracle::affected_rows()
-{
- DBUG_ENTER("spider_db_oracle::affected_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(update_rows);
-}
-
-ulonglong spider_db_oracle::last_insert_id()
-{
- DBUG_ENTER("spider_db_oracle::last_insert_id");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(stored_last_insert_id);
-}
-
-int spider_db_oracle::set_character_set(
- const char *csname
-) {
- DBUG_ENTER("spider_db_oracle::set_character_set");
- DBUG_PRINT("info",("spider this=%p", this));
- /* TODO: develop later */
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::select_db(
- const char *dbname
-) {
- DBUG_ENTER("spider_db_oracle::select_db");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do for oracle */
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::consistent_snapshot(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_oracle::consistent_snapshot");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do for oracle */
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle::trx_start_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_oracle::trx_start_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_oracle::start_transaction(
- int *need_mon
-) {
- DBUG_ENTER("spider_db_oracle::start_transaction");
- DBUG_PRINT("info",("spider this=%p", this));
- if (conn->in_before_query)
- {
- if (conn->queued_semi_trx_isolation)
- {
- if (conn->queued_semi_trx_isolation_val != conn->trx_isolation)
- {
- /* nothing to do */
- DBUG_RETURN(0);
- }
- } else if (conn->queued_trx_isolation)
- {
- if (conn->queued_trx_isolation_val != conn->trx_isolation)
- {
- /* nothing to do */
- DBUG_RETURN(0);
- }
- }
- DBUG_RETURN(set_trx_isolation(conn->trx_isolation, need_mon));
- }
- if (spider_db_query(
- conn,
- SPIDER_SQL_START_TRANSACTION_STR,
- SPIDER_SQL_START_TRANSACTION_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::commit(
- int *need_mon
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle::commit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (conn->table_locked)
- {
- conn->table_locked = FALSE;
- spider_current_trx->locked_connections--;
- }
- res = OCITransCommit(svchp, errhp, OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- *need_mon = set_error(res, errhp, 0, NULL, NULL);
- DBUG_RETURN(*need_mon);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::rollback(
- int *need_mon
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle::rollback");
- DBUG_PRINT("info",("spider this=%p", this));
- if (conn->table_locked)
- {
- conn->table_locked = FALSE;
- spider_current_trx->locked_connections--;
- }
- if (svchp && errhp)
- {
- res = OCITransRollback(svchp, errhp, OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- *need_mon = set_error(res, errhp, 0, NULL, NULL);
- DBUG_RETURN(*need_mon);
- }
- }
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle::xa_start_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_oracle::xa_start_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_oracle::xa_start(
- XID *xid,
- int *need_mon
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle::xa_start");
- DBUG_PRINT("info",("spider this=%p", this));
- if (txnhp)
- {
- OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
- txnhp = NULL;
- }
- OCIHandleAlloc((dvoid *)envhp, (dvoid **)&txnhp, OCI_HTYPE_TRANS, 0, 0);
- OCIAttrSet((dvoid *)svchp, OCI_HTYPE_SVCCTX, (dvoid *)txnhp, 0,
- OCI_ATTR_TRANS, errhp);
- OCIAttrSet((dvoid *)txnhp, OCI_HTYPE_TRANS, (dvoid *)xid, sizeof(XID),
- OCI_ATTR_XID, errhp);
-
- res = OCITransStart(svchp, errhp, 31622400, OCI_TRANS_NEW);
- if (res != OCI_SUCCESS)
- {
- *need_mon = set_error(res, errhp, 0, NULL, NULL);
- DBUG_RETURN(*need_mon);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::xa_end(
- XID *xid,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_oracle::xa_end");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do for oracle */
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::xa_prepare(
- XID *xid,
- int *need_mon
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle::xa_prepare");
- DBUG_PRINT("info",("spider this=%p", this));
- res = OCITransPrepare(svchp, errhp, OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- *need_mon = set_error(res, errhp, 0, NULL, NULL);
- DBUG_RETURN(*need_mon);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::xa_commit(
- XID *xid,
- int *need_mon
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle::xa_commit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (conn->table_locked)
- {
- conn->table_locked = FALSE;
- spider_current_trx->locked_connections--;
- }
- res = OCITransCommit(svchp, errhp, OCI_TRANS_TWOPHASE);
- if (res != OCI_SUCCESS)
- {
- *need_mon = set_error(res, errhp, 0, NULL, NULL);
- if (txnhp)
- {
- OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
- txnhp = NULL;
- }
- DBUG_RETURN(*need_mon);
- }
- if (txnhp)
- {
- OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
- txnhp = NULL;
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::xa_rollback(
- XID *xid,
- int *need_mon
-) {
- sword res;
- DBUG_ENTER("spider_db_oracle::xa_rollback");
- DBUG_PRINT("info",("spider this=%p", this));
- if (svchp && errhp)
- {
- res = OCITransRollback(svchp, errhp, OCI_DEFAULT);
- if (res != OCI_SUCCESS)
- {
- *need_mon = set_error(res, errhp, 0, NULL, NULL);
- if (txnhp)
- {
- OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
- txnhp = NULL;
- }
- DBUG_RETURN(*need_mon);
- }
- }
- if (txnhp)
- {
- OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
- txnhp = NULL;
- }
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle::set_trx_isolation_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_oracle::set_trx_isolation_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_oracle::set_trx_isolation(
- int trx_isolation,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_oracle::set_trx_isolation");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (trx_isolation)
- {
- case ISO_READ_UNCOMMITTED:
- case ISO_READ_COMMITTED:
- if (conn->in_before_query)
- {
- DBUG_RETURN(exec_query(SPIDER_SQL_ISO_READ_COMMITTED_STR,
- SPIDER_SQL_ISO_READ_COMMITTED_LEN, -1));
- }
- if (spider_db_query(
- conn,
- SPIDER_SQL_ISO_READ_COMMITTED_STR,
- SPIDER_SQL_ISO_READ_COMMITTED_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- break;
- case ISO_REPEATABLE_READ:
- case ISO_SERIALIZABLE:
- if (conn->in_before_query)
- {
- DBUG_RETURN(exec_query(SPIDER_SQL_ISO_SERIALIZABLE_STR,
- SPIDER_SQL_ISO_SERIALIZABLE_LEN, -1));
- }
- if (spider_db_query(
- conn,
- SPIDER_SQL_ISO_SERIALIZABLE_STR,
- SPIDER_SQL_ISO_SERIALIZABLE_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- break;
- default:
- DBUG_RETURN(HA_ERR_UNSUPPORTED);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle::set_autocommit_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_oracle::set_autocommit_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_oracle::set_autocommit(
- bool autocommit,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_oracle::set_autocommit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (autocommit)
- {
- if (conn->in_before_query)
- {
- DBUG_RETURN(exec_query(SPIDER_SQL_AUTOCOMMIT_ON_STR,
- SPIDER_SQL_AUTOCOMMIT_ON_LEN, -1));
- }
- if (spider_db_query(
- conn,
- SPIDER_SQL_AUTOCOMMIT_ON_STR,
- SPIDER_SQL_AUTOCOMMIT_ON_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- } else {
- if (conn->in_before_query)
- {
- DBUG_RETURN(exec_query(SPIDER_SQL_AUTOCOMMIT_OFF_STR,
- SPIDER_SQL_AUTOCOMMIT_OFF_LEN, -1));
- }
- if (spider_db_query(
- conn,
- SPIDER_SQL_AUTOCOMMIT_OFF_STR,
- SPIDER_SQL_AUTOCOMMIT_OFF_LEN,
- -1,
- need_mon)
- )
- DBUG_RETURN(spider_db_errorno(conn));
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle::set_sql_log_off_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_oracle::set_sql_log_off_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_oracle::set_sql_log_off(
- bool sql_log_off,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_oracle::set_sql_log_off");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle::set_time_zone_in_bulk_sql()
-{
- DBUG_ENTER("spider_db_oracle::set_time_zone_in_bulk_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_db_oracle::set_time_zone(
- Time_zone *time_zone,
- int *need_mon
-) {
- DBUG_ENTER("spider_db_oracle::set_time_zone");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-int spider_db_oracle::append_sql(
- char *sql,
- ulong sql_length,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_oracle::append_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::append_open_handler(
- uint handler_id,
- const char *db_name,
- const char *table_name,
- const char *index_name,
- const char *sql,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_oracle::append_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::append_select(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_oracle::append_select");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::append_insert(
- uint handler_id,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_oracle::append_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::append_update(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- int limit,
- int skip,
- bool increment,
- bool decrement,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_oracle::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::append_delete(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_oracle::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-void spider_db_oracle::reset_request_queue()
-{
- DBUG_ENTER("spider_db_oracle::reset_request_queue");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_VOID_RETURN;
-}
-#endif
-
-size_t spider_db_oracle::escape_string(
- char *to,
- const char *from,
- size_t from_length
-) {
- DBUG_ENTER("spider_db_oracle::escape_string");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(util.escape_string(to, from, from_length, conn->access_charset));
-}
-
-bool spider_db_oracle::have_lock_table_list()
-{
- DBUG_ENTER("spider_db_oracle::have_lock_table_list");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(lock_table_hash.records);
-}
-
-int spider_db_oracle::append_lock_tables(
- spider_string *str
-) {
- int error_num;
- ha_spider *tmp_spider;
- int lock_type;
- uint conn_link_idx;
- int tmp_link_idx;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
- const char *db_name;
- uint db_name_length;
- CHARSET_INFO *db_name_charset;
- const char *table_name;
- uint table_name_length;
- CHARSET_INFO *table_name_charset;
- DBUG_ENTER("spider_db_oracle::lock_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((tmp_link_for_hash =
- (SPIDER_LINK_FOR_HASH *) my_hash_element(&lock_table_hash, 0)))
- {
- if ((error_num = spider_db_oracle_utility.append_lock_table_head(str)))
- {
- DBUG_RETURN(error_num);
- }
-
- tmp_spider = tmp_link_for_hash->spider;
- tmp_link_idx = tmp_link_for_hash->link_idx;
- switch (tmp_spider->lock_type)
- {
- case TL_READ:
- lock_type = SPIDER_DB_TABLE_LOCK_READ_LOCAL;
- break;
- case TL_READ_NO_INSERT:
- lock_type = SPIDER_DB_TABLE_LOCK_READ;
- break;
- case TL_WRITE_LOW_PRIORITY:
- lock_type = SPIDER_DB_TABLE_LOCK_LOW_PRIORITY_WRITE;
- break;
- case TL_WRITE:
- lock_type = SPIDER_DB_TABLE_LOCK_WRITE;
- break;
- default:
- // no lock
- DBUG_PRINT("info",("spider lock_type=%d", tmp_spider->lock_type));
- DBUG_RETURN(0);
- }
- conn_link_idx = tmp_spider->conn_link_idx[tmp_link_idx];
- spider_oracle_share *db_share = (spider_oracle_share *)
- tmp_spider->share->dbton_share[conn->dbton_id];
- if (&db_share->db_names_str[conn_link_idx])
- {
- db_name = db_share->db_names_str[conn_link_idx].ptr();
- db_name_length = db_share->db_names_str[conn_link_idx].length();
- db_name_charset = tmp_spider->share->access_charset;
- } else {
- db_name = tmp_spider->share->tgt_dbs[conn_link_idx];
- db_name_length = tmp_spider->share->tgt_dbs_lengths[conn_link_idx];
- db_name_charset = system_charset_info;
- }
- if (&db_share->table_names_str[conn_link_idx])
- {
- table_name = db_share->table_names_str[conn_link_idx].ptr();
- table_name_length = db_share->table_names_str[conn_link_idx].length();
- table_name_charset = tmp_spider->share->access_charset;
- } else {
- table_name = tmp_spider->share->tgt_table_names[conn_link_idx];
- table_name_length =
- tmp_spider->share->tgt_table_names_lengths[conn_link_idx];
- table_name_charset = system_charset_info;
- }
- if ((error_num = spider_db_oracle_utility.
- append_lock_table_body(
- str,
- db_name,
- db_name_length,
- db_name_charset,
- table_name,
- table_name_length,
- table_name_charset,
- lock_type
- )
- )) {
- my_hash_reset(&lock_table_hash);
- DBUG_RETURN(error_num);
- }
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- my_hash_delete_with_hash_value(&lock_table_hash,
- tmp_link_for_hash->db_table_str_hash_value, (uchar*) tmp_link_for_hash);
-#else
- my_hash_delete(&lock_table_hash, (uchar*) tmp_link_for_hash);
-#endif
-
- if ((error_num = spider_db_oracle_utility.append_lock_table_tail(str)))
- {
- DBUG_RETURN(error_num);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle::append_unlock_tables(
- spider_string *str
-) {
- int error_num;
- DBUG_ENTER("spider_db_oracle::append_unlock_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = spider_db_oracle_utility.append_unlock_table(str)))
- {
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-uint spider_db_oracle::get_lock_table_hash_count()
-{
- DBUG_ENTER("spider_db_oracle::get_lock_table_hash_count");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(lock_table_hash.records);
-}
-
-void spider_db_oracle::reset_lock_table_hash()
-{
- DBUG_ENTER("spider_db_oracle::reset_lock_table_hash");
- DBUG_PRINT("info",("spider this=%p", this));
- my_hash_reset(&lock_table_hash);
- DBUG_VOID_RETURN;
-}
-
-uint spider_db_oracle::get_opened_handler_count()
-{
- DBUG_ENTER("spider_db_oracle::get_opened_handler_count");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(handler_open_array.elements);
-}
-
-void spider_db_oracle::reset_opened_handler()
-{
- ha_spider *tmp_spider;
- int tmp_link_idx;
- SPIDER_LINK_FOR_HASH **tmp_link_for_hash;
- DBUG_ENTER("spider_db_oracle::reset_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- while ((tmp_link_for_hash =
- (SPIDER_LINK_FOR_HASH **) pop_dynamic(&handler_open_array)))
- {
- tmp_spider = (*tmp_link_for_hash)->spider;
- tmp_link_idx = (*tmp_link_for_hash)->link_idx;
- tmp_spider->clear_handler_opened(tmp_link_idx, conn->conn_kind);
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_db_oracle::set_dup_key_idx(
- ha_spider *spider,
- int link_idx
-) {
- TABLE *table = spider->get_table();
- uint roop_count, pk_idx = table->s->primary_key;
- int key_name_length;
- int max_length = 0;
- char *key_name, *tmp_pos;
- char buf[SPIDER_ORACLE_ERR_BUF_LEN];
- DBUG_ENTER("spider_db_oracle::set_dup_key_idx");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider error_str=%s", stored_error_msg));
- memcpy(buf, spider->share->tgt_dbs[link_idx],
- spider->share->tgt_dbs_lengths[link_idx]);
- tmp_pos = buf + spider->share->tgt_dbs_lengths[link_idx];
- *tmp_pos = '.';
- ++tmp_pos;
- for (roop_count = 0; roop_count < table->s->keys; roop_count++)
- {
- if (roop_count == pk_idx)
- {
- DBUG_PRINT("info",("spider pk_idx=%u", roop_count));
- int all_link_idx = spider->conn_link_idx[link_idx];
- key_name = spider->share->tgt_pk_names[all_link_idx];
- key_name_length = spider->share->tgt_pk_names_lengths[all_link_idx];
- } else {
- key_name = table->s->key_info[roop_count].name;
- key_name_length = strlen(key_name);
- }
- memcpy(tmp_pos, key_name, key_name_length + 1);
- DBUG_PRINT("info",("spider key_name=%s", key_name));
- DBUG_PRINT("info",("spider full key name=%s", buf));
- if (
- max_length < key_name_length &&
- strcasestr(stored_error_msg, buf)
- ) {
- max_length = key_name_length;
- spider->dup_key_idx = roop_count;
- }
- }
- if (max_length == 0)
- spider->dup_key_idx = (uint) -1;
- DBUG_PRINT("info",("spider dup_key_idx=%d", spider->dup_key_idx));
- DBUG_VOID_RETURN;
-}
-
-bool spider_db_oracle::cmp_request_key_to_snd(
- st_spider_db_request_key *request_key
-) {
- DBUG_ENTER("spider_db_oracle::cmp_request_key_to_snd");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(TRUE);
-}
-
-int spider_db_oracle::set_error(
- sword res,
- dvoid *hndlp,
- int error_num,
- const char *error1,
- const char *error2
-) {
- DBUG_ENTER("spider_db_oracle::set_error");
- DBUG_PRINT("info",("spider this=%p", this));
- stored_error_num =
- spider_db_oracle_get_error(res, hndlp, error_num, error1, error2,
- conn->access_charset, stored_error_msg);
- if (stored_error_num)
- stored_error = ER_SPIDER_ORACLE_ERR;
- else
- stored_error = "";
- DBUG_RETURN(stored_error_num);
-}
-
-spider_db_oracle_util::spider_db_oracle_util() : spider_db_util()
-{
- DBUG_ENTER("spider_db_oracle_util::spider_db_oracle_util");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_db_oracle_util::~spider_db_oracle_util()
-{
- DBUG_ENTER("spider_db_oracle_util::~spider_db_oracle_util");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-int spider_db_oracle_util::append_name(
- spider_string *str,
- const char *name,
- uint name_length
-) {
- DBUG_ENTER("spider_db_oracle_util::append_name");
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(name, name_length);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_name_with_charset(
- spider_string *str,
- const char *name,
- uint name_length,
- CHARSET_INFO *name_charset
-) {
- DBUG_ENTER("spider_db_oracle_util::append_name_with_charset");
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2 + name_length * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->append(name, name_length, name_charset);
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-bool spider_db_oracle_util::is_name_quote(
- const char head_code
-) {
- DBUG_ENTER("spider_db_oracle_util::is_name_quote");
- DBUG_RETURN(head_code == *name_quote_str);
-}
-
-int spider_db_oracle_util::append_escaped_name_quote(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_oracle_util::append_escaped_name_quote");
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_column_value(
- ha_spider *spider,
- spider_string *str,
- Field *field,
- const uchar *new_ptr,
- CHARSET_INFO *access_charset
-) {
- char buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(buf, MAX_FIELD_WIDTH, &my_charset_bin);
- String *ptr;
- uint length;
- DBUG_ENTER("spider_db_oracle_util::append_column_value");
- tmp_str.init_calc_mem(181);
-
- if (new_ptr)
- {
- if (
- field->type() == MYSQL_TYPE_BLOB ||
- field->real_type() == MYSQL_TYPE_VARCHAR
- ) {
- length = uint2korr(new_ptr);
- tmp_str.set_quick((char *) new_ptr + HA_KEY_BLOB_LENGTH, length,
- &my_charset_bin);
- ptr = tmp_str.get_str();
- } else if (field->type() == MYSQL_TYPE_GEOMETRY)
- {
-/*
- uint mlength = SIZEOF_STORED_DOUBLE, lcnt;
- uchar *dest = (uchar *) buf;
- const uchar *source;
- for (lcnt = 0; lcnt < 4; lcnt++)
- {
- mlength = SIZEOF_STORED_DOUBLE;
- source = new_ptr + mlength + SIZEOF_STORED_DOUBLE * lcnt;
- while (mlength--)
- *dest++ = *--source;
- }
- tmp_str.length(SIZEOF_STORED_DOUBLE * lcnt);
-*/
- double xmin, xmax, ymin, ymax;
-/*
- float8store(buf,xmin);
- float8store(buf+8,xmax);
- float8store(buf+16,ymin);
- float8store(buf+24,ymax);
- memcpy(&xmin,new_ptr,sizeof(xmin));
- memcpy(&xmax,new_ptr + 8,sizeof(xmax));
- memcpy(&ymin,new_ptr + 16,sizeof(ymin));
- memcpy(&ymax,new_ptr + 24,sizeof(ymax));
- float8get(xmin, buf);
- float8get(xmax, buf + 8);
- float8get(ymin, buf + 16);
- float8get(ymax, buf + 24);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- DBUG_PRINT("info", ("spider geo is %.14g %.14g %.14g %.14g",
- xmin, xmax, ymin, ymax));
-*/
- float8get(xmin, new_ptr);
- float8get(xmax, new_ptr + 8);
- float8get(ymin, new_ptr + 16);
- float8get(ymax, new_ptr + 24);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
-/*
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 4);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 5);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 6);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 7);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 8);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 9);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 10);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 11);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
- float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 12);
- float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 13);
- float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 14);
- float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 15);
- DBUG_PRINT("info", ("spider geo is %f %f %f %f",
- xmin, xmax, ymin, ymax));
-*/
-/*
- tmp_str.set_quick((char *) new_ptr, SIZEOF_STORED_DOUBLE * 4,
- &my_charset_bin);
-*/
- tmp_str.length(0);
- tmp_str.q_append((char *) SPIDER_SQL_LINESTRING_HEAD_STR,
- SPIDER_SQL_LINESTRING_HEAD_LEN);
- tmp_str.q_append((char *) new_ptr, SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 2,
- SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE,
- SIZEOF_STORED_DOUBLE);
- tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 3,
- SIZEOF_STORED_DOUBLE);
- ptr = tmp_str.get_str();
- } else {
- ptr = field->val_str(tmp_str.get_str(), new_ptr);
- tmp_str.mem_calc();
- }
- } else {
- ptr = field->val_str(tmp_str.get_str());
- tmp_str.mem_calc();
- }
- DBUG_PRINT("info", ("spider field->type() is %d", field->type()));
- DBUG_PRINT("info", ("spider ptr->length() is %d", ptr->length()));
-/*
- if (
- field->type() == MYSQL_TYPE_BIT ||
- (field->type() >= MYSQL_TYPE_TINY_BLOB &&
- field->type() <= MYSQL_TYPE_BLOB)
- ) {
- uchar *hex_ptr = (uchar *) ptr->ptr(), *end_ptr;
- char *str_ptr;
- DBUG_PRINT("info", ("spider HEX"));
- if (str->reserve(SPIDER_SQL_HEX_LEN + ptr->length() * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HEX_STR, SPIDER_SQL_HEX_LEN);
- str_ptr = (char *) str->ptr() + str->length();
- for (end_ptr = hex_ptr + ptr->length(); hex_ptr < end_ptr; hex_ptr++)
- {
- *str_ptr++ = spider_dig_upper[(*hex_ptr) >> 4];
- *str_ptr++ = spider_dig_upper[(*hex_ptr) & 0x0F];
- }
- str->length(str->length() + ptr->length() * 2);
- } else
-*/
- if (field->result_type() == STRING_RESULT)
- {
- DBUG_PRINT("info", ("spider STRING_RESULT"));
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if (
- field->type() == MYSQL_TYPE_VARCHAR ||
- (field->type() >= MYSQL_TYPE_ENUM &&
- field->type() <= MYSQL_TYPE_GEOMETRY)
- ) {
- DBUG_PRINT("info", ("spider append_escaped"));
- char buf2[MAX_FIELD_WIDTH];
- spider_string tmp_str2(buf2, MAX_FIELD_WIDTH, access_charset);
- tmp_str2.init_calc_mem(182);
- tmp_str2.length(0);
- if (
- tmp_str2.append(ptr->ptr(), ptr->length(), field->charset()) ||
- str->reserve(tmp_str2.length() * 2) ||
- append_escaped_util(str, tmp_str2.get_str())
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- } else if (str->append(*ptr))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- } else if (field->str_needs_quotes())
- {
- if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN * 2 + ptr->length() * 2 + 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- append_escaped_util(str, ptr);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- } else if (str->append(*ptr))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_from_with_alias(
- spider_string *str,
- const char **table_names,
- uint *table_name_lengths,
- const char **table_aliases,
- uint *table_alias_lengths,
- uint table_count,
- int *table_name_pos,
- bool over_write
-) {
- uint roop_count, length = 0;
- DBUG_ENTER("spider_db_oracle_util::append_from_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!over_write)
- {
- for (roop_count = 0; roop_count < table_count; roop_count++)
- length += table_name_lengths[roop_count] + SPIDER_SQL_SPACE_LEN +
- table_alias_lengths[roop_count] + SPIDER_SQL_COMMA_LEN;
- if (str->reserve(SPIDER_SQL_FROM_LEN + length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- *table_name_pos = str->length();
- }
- for (roop_count = 0; roop_count < table_count; roop_count++)
- {
- str->q_append(table_names[roop_count], table_name_lengths[roop_count]);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(table_aliases[roop_count], table_alias_lengths[roop_count]);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_trx_isolation(
- spider_string *str,
- int trx_isolation
-) {
- DBUG_ENTER("spider_db_oracle_util::append_trx_isolation");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
- SPIDER_SQL_ISO_READ_COMMITTED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- switch (trx_isolation)
- {
- case ISO_READ_UNCOMMITTED:
- case ISO_READ_COMMITTED:
- str->q_append(SPIDER_SQL_ISO_READ_COMMITTED_STR,
- SPIDER_SQL_ISO_READ_COMMITTED_LEN);
- break;
- case ISO_REPEATABLE_READ:
- case ISO_SERIALIZABLE:
- str->q_append(SPIDER_SQL_ISO_SERIALIZABLE_STR,
- SPIDER_SQL_ISO_SERIALIZABLE_LEN);
- break;
- default:
- DBUG_RETURN(HA_ERR_UNSUPPORTED);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_autocommit(
- spider_string *str,
- bool autocommit
-) {
- DBUG_ENTER("spider_db_oracle_util::append_autocommit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_AUTOCOMMIT_OFF_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- if (autocommit)
- {
- str->q_append(SPIDER_SQL_AUTOCOMMIT_ON_STR,
- SPIDER_SQL_AUTOCOMMIT_ON_LEN);
- } else {
- str->q_append(SPIDER_SQL_AUTOCOMMIT_OFF_STR,
- SPIDER_SQL_AUTOCOMMIT_OFF_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_sql_log_off(
- spider_string *str,
- bool sql_log_off
-) {
- DBUG_ENTER("spider_db_oracle_util::append_sql_log_off");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_time_zone(
- spider_string *str,
- Time_zone *time_zone
-) {
- DBUG_ENTER("spider_db_oracle_util::append_time_zone");
- DBUG_PRINT("info",("spider this=%p", this));
- /* nothing to do */
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_start_transaction(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_oracle_util::append_start_transaction");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
- SPIDER_SQL_START_TRANSACTION_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- str->q_append(SPIDER_SQL_START_TRANSACTION_STR,
- SPIDER_SQL_START_TRANSACTION_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_xa_start(
- spider_string *str,
- XID *xid
-) {
- DBUG_ENTER("spider_db_oracle_util::append_xa_start");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_lock_table_head(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_oracle_util::append_lock_table_head");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_lock_table_body(
- spider_string *str,
- const char *db_name,
- uint db_name_length,
- CHARSET_INFO *db_name_charset,
- const char *table_name,
- uint table_name_length,
- CHARSET_INFO *table_name_charset,
- int lock_type
-) {
- DBUG_ENTER("spider_db_oracle_util::append_lock_table_body");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_LOCK_TABLE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (str->length())
- {
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
- str->q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
- if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (
- str->append(db_name, db_name_length, db_name_charset) ||
- str->reserve((SPIDER_SQL_NAME_QUOTE_LEN) * 2 + SPIDER_SQL_DOT_LEN)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if (
- str->append(table_name, table_name_length, table_name_charset) ||
- str->reserve(SPIDER_SQL_NAME_QUOTE_LEN +
- spider_db_table_lock_len[lock_type])
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(spider_db_table_lock_str[lock_type],
- spider_db_table_lock_len[lock_type]);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_lock_table_tail(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_oracle_util::append_lock_table_tail");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::append_unlock_table(
- spider_string *str
-) {
- DBUG_ENTER("spider_db_oracle_util::append_unlock_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_COMMIT_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_COMMIT_STR, SPIDER_SQL_COMMIT_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_db_oracle_util::open_item_func(
- Item_func *item_func,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- uint dbton_id = spider_dbton_oracle.dbton_id;
- int error_num;
- Item *item, **item_list = item_func->arguments();
- uint roop_count, item_count = item_func->argument_count(), start_item = 0;
- const char *func_name = SPIDER_SQL_NULL_CHAR_STR,
- *separete_str = SPIDER_SQL_NULL_CHAR_STR,
- *last_str = SPIDER_SQL_NULL_CHAR_STR;
- int func_name_length = SPIDER_SQL_NULL_CHAR_LEN,
- separete_str_length = SPIDER_SQL_NULL_CHAR_LEN,
- last_str_length = SPIDER_SQL_NULL_CHAR_LEN;
- int use_pushdown_udf;
- DBUG_ENTER("spider_db_oracle_util::open_item_func");
- if (str)
- {
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- DBUG_PRINT("info",("spider functype = %d", item_func->functype()));
- switch (item_func->functype())
- {
- case Item_func::ISNULL_FUNC:
- last_str = SPIDER_SQL_IS_NULL_STR;
- last_str_length = SPIDER_SQL_IS_NULL_LEN;
- break;
- case Item_func::ISNOTNULL_FUNC:
- last_str = SPIDER_SQL_IS_NOT_NULL_STR;
- last_str_length = SPIDER_SQL_IS_NOT_NULL_LEN;
- break;
- case Item_func::UNKNOWN_FUNC:
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (func_name_length == 1 &&
- (
- !strncasecmp("+", func_name, func_name_length) ||
- !strncasecmp("-", func_name, func_name_length) ||
- !strncasecmp("*", func_name, func_name_length) ||
- !strncasecmp("/", func_name, func_name_length) ||
- !strncasecmp("%", func_name, func_name_length) ||
- !strncasecmp("&", func_name, func_name_length) ||
- !strncasecmp("|", func_name, func_name_length) ||
- !strncasecmp("^", func_name, func_name_length)
- )
- ) {
- /* no action */
- break;
- } else if (func_name_length == 2 &&
- (
- !strncasecmp("<<", func_name, func_name_length) ||
- !strncasecmp(">>", func_name, func_name_length)
- )
- ) {
- /* no action */
- break;
- } else if (func_name_length == 3 &&
- !strncasecmp("div", func_name, func_name_length)
- ) {
- /* no action */
- break;
- } else if (func_name_length == 4)
- {
- if (
- !strncasecmp("rand", func_name, func_name_length) &&
- !item_func->arg_count
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (
- !strncasecmp("case", func_name, func_name_length)
- ) {
-#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC
- Item_func_case *item_func_case = (Item_func_case *) item_func;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_CASE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CASE_STR, SPIDER_SQL_CASE_LEN);
- }
- if (item_func_case->first_expr_num != -1)
- {
- if ((error_num = spider_db_print_item_type(
- item_list[item_func_case->first_expr_num], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- for (roop_count = 0; roop_count < item_func_case->ncases;
- roop_count += 2)
- {
- if (str)
- {
- if (str->reserve(SPIDER_SQL_WHEN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHEN_STR, SPIDER_SQL_WHEN_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[roop_count], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(SPIDER_SQL_THEN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_THEN_STR, SPIDER_SQL_THEN_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[roop_count + 1], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (item_func_case->else_expr_num != -1)
- {
- if (str)
- {
- if (str->reserve(SPIDER_SQL_ELSE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ELSE_STR, SPIDER_SQL_ELSE_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- item_list[item_func_case->else_expr_num], spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (str)
- {
- if (str->reserve(SPIDER_SQL_END_LEN + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_END_STR, SPIDER_SQL_END_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
-#else
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
-#endif
- }
- } else if (func_name_length == 6 &&
- !strncasecmp("istrue", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_TRUE_STR;
- last_str_length = SPIDER_SQL_IS_TRUE_LEN;
- break;
- } else if (func_name_length == 7)
- {
- if (!strncasecmp("isfalse", func_name, func_name_length))
- {
- last_str = SPIDER_SQL_IS_FALSE_STR;
- last_str_length = SPIDER_SQL_IS_FALSE_LEN;
- break;
- } else if (
- !strncasecmp("sysdate", func_name, func_name_length) ||
- !strncasecmp("curdate", func_name, func_name_length) ||
- !strncasecmp("curtime", func_name, func_name_length)
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (
- !strncasecmp("convert", func_name, func_name_length)
- ) {
- if (str)
- {
- if (str->reserve(func_name_length * 2 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
- SPIDER_SQL_OPEN_PAREN_LEN);
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- }
- } else if (func_name_length == 8 &&
- (
- !strncasecmp("utc_date", func_name, func_name_length) ||
- !strncasecmp("utc_time", func_name, func_name_length)
- )
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (func_name_length == 9 &&
- !strncasecmp("isnottrue", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_NOT_TRUE_STR;
- last_str_length = SPIDER_SQL_IS_NOT_TRUE_LEN;
- break;
- } else if (func_name_length == 10 &&
- !strncasecmp("isnotfalse", func_name, func_name_length)
- ) {
- last_str = SPIDER_SQL_IS_NOT_FALSE_STR;
- last_str_length = SPIDER_SQL_IS_NOT_FALSE_LEN;
- break;
- } else if (func_name_length == 12)
- {
- if (!strncasecmp("cast_as_date", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_DATE_STR;
- last_str_length = SPIDER_SQL_AS_DATE_LEN;
- break;
- } else if (!strncasecmp("cast_as_time", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_TIME_STR;
- last_str_length = SPIDER_SQL_AS_TIME_LEN;
- break;
- }
- } else if (func_name_length == 13 &&
- !strncasecmp("utc_timestamp", func_name, func_name_length)
- ) {
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- } else if (func_name_length == 14)
- {
- if (!strncasecmp("cast_as_binary", func_name, func_name_length))
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(123);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_BINARY_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- } else if (!strncasecmp("cast_as_signed", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_SIGNED_STR;
- last_str_length = SPIDER_SQL_AS_SIGNED_LEN;
- break;
- }
- } else if (func_name_length == 16)
- {
- if (!strncasecmp("cast_as_unsigned", func_name, func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_UNSIGNED_STR;
- last_str_length = SPIDER_SQL_AS_UNSIGNED_LEN;
- break;
- } else if (!strncasecmp("decimal_typecast", func_name,
- func_name_length))
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(124);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_DECIMAL_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- } else if (!strncasecmp("cast_as_datetime", func_name,
- func_name_length))
- {
- if (str)
- {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
- }
- last_str = SPIDER_SQL_AS_DATETIME_STR;
- last_str_length = SPIDER_SQL_AS_DATETIME_LEN;
- break;
- }
- } else if (func_name_length == 17)
- {
- if (!strncasecmp("date_add_interval", func_name, func_name_length))
- {
- Item_date_add_interval *item_date_add_interval =
- (Item_date_add_interval *) item_func;
- switch (item_date_add_interval->int_type)
- {
- case INTERVAL_YEAR:
- case INTERVAL_QUARTER:
- case INTERVAL_MONTH:
- if (str)
- {
- if (str->reserve(SPIDER_SQL_ADD_MONTHS_LEN +
- SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ADD_MONTHS_STR,
- SPIDER_SQL_ADD_MONTHS_LEN);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
- SPIDER_SQL_OPEN_PAREN_LEN);
- }
- if ((error_num = spider_db_print_item_type(item_list[0], spider,
- str, alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (item_date_add_interval->date_sub_interval)
- {
- if (str->reserve(SPIDER_SQL_COMMA_LEN +
- SPIDER_SQL_MINUS_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- str->q_append(SPIDER_SQL_MINUS_STR, SPIDER_SQL_MINUS_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if ((error_num = spider_db_print_item_type(item_list[1], spider,
- str, alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (item_date_add_interval->int_type == INTERVAL_YEAR)
- {
- func_name = " * 12";
- func_name_length = sizeof(" * 12") - 1;
- if (str->reserve(func_name_length +
- (SPIDER_SQL_CLOSE_PAREN_LEN * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- } else if (item_date_add_interval->int_type ==
- INTERVAL_QUARTER)
- {
- func_name = " * 3";
- func_name_length = sizeof(" * 3") - 1;
- if (str->reserve(func_name_length +
- (SPIDER_SQL_CLOSE_PAREN_LEN * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- }
- break;
- case INTERVAL_WEEK:
- case INTERVAL_DAY:
- case INTERVAL_HOUR:
- case INTERVAL_MINUTE:
- case INTERVAL_SECOND:
- case INTERVAL_MICROSECOND:
- if ((error_num = spider_db_print_item_type(item_list[0], spider,
- str, alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (item_date_add_interval->date_sub_interval)
- {
- if (str->reserve(SPIDER_SQL_MINUS_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MINUS_STR, SPIDER_SQL_MINUS_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_PLUS_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_PLUS_STR, SPIDER_SQL_PLUS_LEN);
- }
- }
- if ((error_num = spider_db_print_item_type(item_list[1], spider,
- str, alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (item_date_add_interval->int_type == INTERVAL_WEEK)
- {
- func_name = " * 7";
- func_name_length = sizeof(" * 7") - 1;
- if (str->reserve(func_name_length +
- (SPIDER_SQL_CLOSE_PAREN_LEN)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- } else if (item_date_add_interval->int_type == INTERVAL_HOUR)
- {
- func_name = " / 24";
- func_name_length = sizeof(" / 24") - 1;
- if (str->reserve(func_name_length +
- (SPIDER_SQL_CLOSE_PAREN_LEN)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- } else if (item_date_add_interval->int_type == INTERVAL_MINUTE)
- {
- func_name = " / 1440";
- func_name_length = sizeof(" / 1440") - 1;
- if (str->reserve(func_name_length +
- (SPIDER_SQL_CLOSE_PAREN_LEN)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- } else if (item_date_add_interval->int_type == INTERVAL_SECOND)
- {
- func_name = " / 86400";
- func_name_length = sizeof(" / 86400") - 1;
- if (str->reserve(func_name_length +
- (SPIDER_SQL_CLOSE_PAREN_LEN)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- } else if (item_date_add_interval->int_type ==
- INTERVAL_MICROSECOND)
- {
- func_name = " / 86400000000";
- func_name_length = sizeof(" / 86400000000") - 1;
- if (str->reserve(func_name_length +
- (SPIDER_SQL_CLOSE_PAREN_LEN)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- }
- break;
- default:
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- }
- DBUG_RETURN(0);
- break;
- }
- }
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::NOW_FUNC:
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::CHAR_TYPECAST_FUNC:
- {
- if (str)
- {
- char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
- spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
- tmp_str.init_calc_mem(125);
- tmp_str.length(0);
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (str->reserve(SPIDER_SQL_CAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
-#if MYSQL_VERSION_ID < 50500
- item_func->print(tmp_str.get_str(), QT_IS);
-#else
- item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
-#endif
- tmp_str.mem_calc();
- if (tmp_str.reserve(1))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_ptr = tmp_str.c_ptr_quick();
- DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
- while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_CHAR_STR)))
- tmp_ptr = tmp_ptr2 + 1;
- last_str = tmp_ptr - 1;
- last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- }
- break;
- case Item_func::NOT_FUNC:
- case Item_func::NEG_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- break;
- case Item_func::IN_FUNC:
- if (((Item_func_opt_neg *) item_func)->negated)
- {
- func_name = SPIDER_SQL_NOT_IN_STR;
- func_name_length = SPIDER_SQL_NOT_IN_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- } else {
- func_name = SPIDER_SQL_IN_STR;
- func_name_length = SPIDER_SQL_IN_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- }
- break;
- case Item_func::BETWEEN:
- if (((Item_func_opt_neg *) item_func)->negated)
- {
- func_name = SPIDER_SQL_NOT_BETWEEN_STR;
- func_name_length = SPIDER_SQL_NOT_BETWEEN_LEN;
- separete_str = SPIDER_SQL_AND_STR;
- separete_str_length = SPIDER_SQL_AND_LEN;
- } else {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- separete_str = SPIDER_SQL_AND_STR;
- separete_str_length = SPIDER_SQL_AND_LEN;
- }
- break;
- case Item_func::UDF_FUNC:
- use_pushdown_udf = spider_param_use_pushdown_udf(spider->trx->thd,
- spider->share->use_pushdown_udf);
- if (!use_pushdown_udf)
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
-#ifdef MARIADB_BASE_VERSION
- case Item_func::XOR_FUNC:
-#else
- case Item_func::COND_XOR_FUNC:
-#endif
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(
- spider_db_open_item_cond((Item_cond *) item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::TRIG_COND_FUNC:
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- case Item_func::GUSERVAR_FUNC:
- if (str)
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- if (item_func->result_type() == STRING_RESULT)
- DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
- alias, alias_length, dbton_id));
- else
- DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
- alias, alias_length, dbton_id));
- case Item_func::FT_FUNC:
- if (spider_db_check_ft_idx(item_func, spider) == MAX_KEY)
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- start_item = 1;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_MATCH_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
- }
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::SP_EQUALS_FUNC:
- if (str)
- {
- func_name = SPIDER_SQL_MBR_EQUAL_STR;
- func_name_length = SPIDER_SQL_MBR_EQUAL_LEN;
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(func_name_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::SP_DISJOINT_FUNC:
- case Item_func::SP_INTERSECTS_FUNC:
- case Item_func::SP_TOUCHES_FUNC:
- case Item_func::SP_CROSSES_FUNC:
- case Item_func::SP_WITHIN_FUNC:
- case Item_func::SP_CONTAINS_FUNC:
- case Item_func::SP_OVERLAPS_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- if (str->reserve(SPIDER_SQL_MBR_LEN + func_name_length +
- SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MBR_STR, SPIDER_SQL_MBR_LEN);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- func_name = SPIDER_SQL_COMMA_STR;
- func_name_length = SPIDER_SQL_COMMA_LEN;
- separete_str = SPIDER_SQL_COMMA_STR;
- separete_str_length = SPIDER_SQL_COMMA_LEN;
- last_str = SPIDER_SQL_CLOSE_PAREN_STR;
- last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
- break;
- case Item_func::EQ_FUNC:
- case Item_func::EQUAL_FUNC:
- case Item_func::NE_FUNC:
- case Item_func::LT_FUNC:
- case Item_func::LE_FUNC:
- case Item_func::GE_FUNC:
- case Item_func::GT_FUNC:
- case Item_func::LIKE_FUNC:
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- }
- break;
- default:
- THD *thd = spider->trx->thd;
- SPIDER_SHARE *share = spider->share;
- if (spider_param_skip_default_condition(thd,
- share->skip_default_condition))
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- if (str)
- {
- func_name = (char*) item_func->func_name();
- func_name_length = strlen(func_name);
- }
- break;
- }
- DBUG_PRINT("info",("spider func_name = %s", func_name));
- DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
- DBUG_PRINT("info",("spider separete_str = %s", separete_str));
- DBUG_PRINT("info",("spider separete_str_length = %d", separete_str_length));
- DBUG_PRINT("info",("spider last_str = %s", last_str));
- DBUG_PRINT("info",("spider last_str_length = %d", last_str_length));
- if (item_count)
- {
- item_count--;
- for (roop_count = start_item; roop_count < item_count; roop_count++)
- {
- item = item_list[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (roop_count == 1)
- {
- func_name = separete_str;
- func_name_length = separete_str_length;
- }
- if (str)
- {
- if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN * 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(func_name, func_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- }
- item = item_list[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (item_func->functype() == Item_func::FT_FUNC)
- {
- Item_func_match *item_func_match = (Item_func_match *)item_func;
- if (str)
- {
- if (str->reserve(SPIDER_SQL_AGAINST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
- }
- item = item_list[0];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(
- ((item_func_match->flags & FT_BOOL) ?
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
- ((item_func_match->flags & FT_EXPAND) ?
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
- ))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- if (item_func_match->flags & FT_BOOL)
- str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
- if (item_func_match->flags & FT_EXPAND)
- str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
- }
- } else if (item_func->functype() == Item_func::UNKNOWN_FUNC)
- {
- if (
- func_name_length == 7 &&
- !strncasecmp("convert", func_name, func_name_length)
- ) {
- if (str)
- {
- Item_func_conv_charset *item_func_conv_charset =
- (Item_func_conv_charset *)item_func;
- CHARSET_INFO *conv_charset = item_func_conv_charset->conv_charset;
- uint cset_length = strlen(conv_charset->csname);
- if (str->reserve(SPIDER_SQL_USING_LEN + cset_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_USING_STR, SPIDER_SQL_USING_LEN);
- str->q_append(conv_charset->csname, cset_length);
- }
- }
- }
- if (str)
- {
- if (str->reserve(last_str_length + SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(last_str, last_str_length);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_db_oracle_util::open_item_sum_func(
- Item_sum *item_sum,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- uint dbton_id = spider_dbton_oracle.dbton_id;
- uint roop_count, item_count = item_sum->get_arg_count();
- int error_num;
- DBUG_ENTER("spider_db_oracle_util::open_item_sum_func");
- DBUG_PRINT("info",("spider Sumfunctype = %d", item_sum->sum_func()));
- switch (item_sum->sum_func())
- {
- case Item_sum::COUNT_FUNC:
- case Item_sum::SUM_FUNC:
- case Item_sum::MIN_FUNC:
- case Item_sum::MAX_FUNC:
- {
- const char *func_name = item_sum->func_name();
- uint func_name_length = strlen(func_name);
- Item *item, **args = item_sum->get_args();
- if (str)
- {
- if (str->reserve(func_name_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(func_name, func_name_length);
- }
- if (item_count)
- {
- item_count--;
- for (roop_count = 0; roop_count < item_count; roop_count++)
- {
- item = args[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- item = args[roop_count];
- if ((error_num = spider_db_print_item_type(item, spider, str,
- alias, alias_length, dbton_id)))
- DBUG_RETURN(error_num);
- }
- if (str)
- {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- }
- break;
- case Item_sum::COUNT_DISTINCT_FUNC:
- case Item_sum::SUM_DISTINCT_FUNC:
- case Item_sum::AVG_FUNC:
- case Item_sum::AVG_DISTINCT_FUNC:
- case Item_sum::STD_FUNC:
- case Item_sum::VARIANCE_FUNC:
- case Item_sum::SUM_BIT_FUNC:
- case Item_sum::UDF_SUM_FUNC:
- case Item_sum::GROUP_CONCAT_FUNC:
- default:
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-size_t spider_db_oracle_util::escape_string(
- char *to,
- const char *from,
- size_t from_length,
- CHARSET_INFO *access_charset
-) {
- DBUG_ENTER("spider_db_oracle::escape_string");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(escape_quotes_for_mysql(access_charset, to, 0,
- from, from_length));
-}
-
-int spider_db_oracle_util::append_escaped_util(
- spider_string *to,
- String *from
-) {
- size_t copy_length;
- DBUG_ENTER("spider_db_oracle_util::append_escaped_util");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider to=%s", to->c_ptr_safe()));
- DBUG_PRINT("info",("spider from=%s", from->c_ptr_safe()));
- copy_length = escape_string((char *) to->ptr() + to->length(), from->ptr(),
- from->length(), to->charset());
- DBUG_PRINT("info",("spider copy_length=%zu", copy_length));
- to->length(to->length() + copy_length);
- to->mem_calc();
- DBUG_RETURN(0);
-}
-
-spider_oracle_share::spider_oracle_share(
- st_spider_share *share
-) : spider_db_share(
- share
-),
- table_select(NULL),
- table_select_pos(0),
- key_select(NULL),
- key_select_pos(NULL),
- key_hint(NULL),
- show_table_status(NULL),
- show_records(NULL),
- show_autoinc(NULL),
- show_last_insert_id(NULL),
- show_index(NULL),
- table_names_str(NULL),
- db_names_str(NULL),
- db_table_str(NULL),
- nextval_str(NULL),
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- db_table_str_hash_value(NULL),
-#endif
- table_nm_max_length(0),
- db_nm_max_length(0),
- nextval_max_length(0),
- column_name_str(NULL),
- same_db_table_name(TRUE),
- first_all_link_idx(-1)
-{
- DBUG_ENTER("spider_oracle_share::spider_oracle_share");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_alloc_calc_mem_init(mem_calc, 220);
- spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-spider_oracle_share::~spider_oracle_share()
-{
- DBUG_ENTER("spider_oracle_share::~spider_oracle_share");
- DBUG_PRINT("info",("spider this=%p", this));
- if (table_select)
- delete [] table_select;
- if (key_select)
- delete [] key_select;
- if (key_hint)
- delete [] key_hint;
- free_show_table_status();
- free_show_records();
- free_show_autoinc();
- free_show_last_insert_id();
- free_show_index();
- free_column_name_str();
- free_table_names_str();
- if (key_select_pos)
- {
- spider_free(spider_current_trx, key_select_pos, MYF(0));
- }
- spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::init()
-{
- int error_num;
- uint roop_count;
- TABLE_SHARE *table_share = spider_share->table_share;
- uint keys = table_share ? table_share->keys : 0;
- DBUG_ENTER("spider_oracle_share::init");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!(key_select_pos = (int *)
- spider_bulk_alloc_mem(spider_current_trx, 221,
- __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
- &key_select_pos,
- sizeof(int) * keys,
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- &db_table_str_hash_value,
- sizeof(my_hash_value_type) * spider_share->all_link_count,
-#endif
- NullS))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- if (keys > 0 &&
- !(key_hint = new spider_string[keys])
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- for (roop_count = 0; roop_count < keys; roop_count++)
- {
- key_hint[roop_count].init_calc_mem(190);
- key_hint[roop_count].set_charset(spider_share->access_charset);
- }
- DBUG_PRINT("info",("spider key_hint=%p", key_hint));
-
- if (
- !(table_select = new spider_string[1]) ||
- (keys > 0 &&
- !(key_select = new spider_string[keys])
- ) ||
- (error_num = create_table_names_str()) ||
- (table_share &&
- (
- (error_num = create_column_name_str()) ||
- (error_num = convert_key_hint_str()) ||
- (error_num = append_show_table_status()) ||
- (error_num = append_show_records()) ||
- (error_num = append_show_autoinc()) ||
- (error_num = append_show_last_insert_id()) ||
- (error_num = append_show_index())
- )
- )
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- table_select->init_calc_mem(191);
- if (table_share && (error_num = append_table_select()))
- DBUG_RETURN(error_num);
-
- for (roop_count = 0; roop_count < keys; roop_count++)
- {
- key_select[roop_count].init_calc_mem(192);
- if ((error_num = append_key_select(roop_count)))
- DBUG_RETURN(error_num);
- }
-
- DBUG_RETURN(error_num);
-}
-
-uint spider_oracle_share::get_column_name_length(
- uint field_index
-) {
- DBUG_ENTER("spider_oracle_share::get_column_name_length");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(column_name_str[field_index].length());
-}
-
-int spider_oracle_share::append_column_name(
- spider_string *str,
- uint field_index
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_share::append_column_name");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = spider_db_oracle_utility.append_name(str,
- column_name_str[field_index].ptr(), column_name_str[field_index].length());
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_share::append_column_name_with_alias(
- spider_string *str,
- uint field_index,
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_oracle_share::append_column_name_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(
- alias_length +
- column_name_str[field_index].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- append_column_name(str, field_index);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_share::append_table_name(
- spider_string *str,
- int all_link_idx
-) {
- const char *db_nm = db_names_str[all_link_idx].ptr();
- uint db_nm_len = db_names_str[all_link_idx].length();
- const char *table_nm = table_names_str[all_link_idx].ptr();
- uint table_nm_len = table_names_str[all_link_idx].length();
- DBUG_ENTER("spider_oracle_share::append_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(db_nm_len + SPIDER_SQL_DOT_LEN + table_nm_len +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- spider_db_oracle_utility.append_name(str, db_nm, db_nm_len);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- spider_db_oracle_utility.append_name(str, table_nm, table_nm_len);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_share::append_table_name_with_adjusting(
- spider_string *str,
- int all_link_idx
-) {
- const char *db_nm = db_names_str[all_link_idx].ptr();
- uint db_nm_len = db_names_str[all_link_idx].length();
- uint db_nm_max_len = db_nm_max_length;
- const char *table_nm = table_names_str[all_link_idx].ptr();
- uint table_nm_len = table_names_str[all_link_idx].length();
- uint table_nm_max_len = table_nm_max_length;
- DBUG_ENTER("spider_oracle_share::append_table_name_with_adjusting");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_db_oracle_utility.append_name(str, db_nm, db_nm_len);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- spider_db_oracle_utility.append_name(str, table_nm, table_nm_len);
- uint length =
- db_nm_max_len - db_nm_len +
- table_nm_max_len - table_nm_len;
- memset((char *) str->ptr() + str->length(), ' ', length);
- str->length(str->length() + length);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_share::append_from_with_adjusted_table_name(
- spider_string *str,
- int *table_name_pos
-) {
- const char *db_nm = db_names_str[0].ptr();
- uint db_nm_len = db_names_str[0].length();
- uint db_nm_max_len = db_nm_max_length;
- const char *table_nm = table_names_str[0].ptr();
- uint table_nm_len = table_names_str[0].length();
- uint table_nm_max_len = table_nm_max_length;
- DBUG_ENTER("spider_oracle_share::append_from_with_adjusted_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_FROM_LEN + db_nm_max_length +
- SPIDER_SQL_DOT_LEN + table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- *table_name_pos = str->length();
- spider_db_oracle_utility.append_name(str, db_nm, db_nm_len);
- str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
- spider_db_oracle_utility.append_name(str, table_nm, table_nm_len);
- uint length =
- db_nm_max_len - db_nm_len +
- table_nm_max_len - table_nm_len;
- memset((char *) str->ptr() + str->length(), ' ', length);
- str->length(str->length() + length);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_share::create_table_names_str()
-{
- int error_num, roop_count;
- uint table_nm_len, db_nm_len;
- spider_string *str, *first_tbl_nm_str, *first_db_nm_str, *first_db_tbl_str;
- char *first_tbl_nm, *first_db_nm;
- uint dbton_id = spider_dbton_oracle.dbton_id;
- DBUG_ENTER("spider_oracle_share::create_table_names_str");
- table_names_str = NULL;
- db_names_str = NULL;
- db_table_str = NULL;
- if (
- !(table_names_str = new spider_string[spider_share->all_link_count]) ||
- !(db_names_str = new spider_string[spider_share->all_link_count]) ||
- !(db_table_str = new spider_string[spider_share->all_link_count])
- ) {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
-
- same_db_table_name = TRUE;
- first_tbl_nm = spider_share->tgt_table_names[0];
- first_db_nm = spider_share->tgt_dbs[0];
- table_nm_len = spider_share->tgt_table_names_lengths[0];
- db_nm_len = spider_share->tgt_dbs_lengths[0];
- first_tbl_nm_str = &table_names_str[0];
- first_db_nm_str = &db_names_str[0];
- first_db_tbl_str = &db_table_str[0];
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- table_names_str[roop_count].init_calc_mem(193);
- db_names_str[roop_count].init_calc_mem(194);
- db_table_str[roop_count].init_calc_mem(195);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
- if (first_all_link_idx == -1)
- first_all_link_idx = roop_count;
-
- str = &table_names_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name &&
- spider_share->tgt_table_names_lengths[roop_count] == table_nm_len &&
- !memcmp(first_tbl_nm, spider_share->tgt_table_names[roop_count],
- table_nm_len)
- ) {
- if (str->copy(*first_tbl_nm_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- spider_share->tgt_table_names[roop_count], dbton_id)))
- goto error;
- if (roop_count)
- {
- same_db_table_name = FALSE;
- DBUG_PRINT("info", ("spider found different table name %s",
- spider_share->tgt_table_names[roop_count]));
- if (str->length() > table_nm_max_length)
- table_nm_max_length = str->length();
- } else
- table_nm_max_length = str->length();
- }
-
- str = &db_names_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name &&
- spider_share->tgt_dbs_lengths[roop_count] == db_nm_len &&
- !memcmp(first_db_nm, spider_share->tgt_dbs[roop_count],
- db_nm_len)
- ) {
- if (str->copy(*first_db_nm_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- spider_share->tgt_dbs[roop_count], dbton_id)))
- goto error;
- if (roop_count)
- {
- same_db_table_name = FALSE;
- DBUG_PRINT("info", ("spider found different db name %s",
- spider_share->tgt_dbs[roop_count]));
- if (str->length() > db_nm_max_length)
- db_nm_max_length = str->length();
- } else
- db_nm_max_length = str->length();
- }
-
- str = &db_table_str[roop_count];
- if (
- roop_count != 0 &&
- same_db_table_name
- ) {
- if (str->copy(*first_db_tbl_str))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error;
- }
- } else {
- str->set_charset(spider_share->access_charset);
- if ((error_num = append_table_name(str, roop_count)))
- goto error;
- }
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- db_table_str_hash_value[roop_count] = my_calc_hash(
- &spider_open_connections, (uchar*) str->ptr(), str->length());
-#endif
- }
- DBUG_RETURN(0);
-
-error:
- if (db_table_str)
- {
- delete [] db_table_str;
- db_table_str = NULL;
- }
- if (db_names_str)
- {
- delete [] db_names_str;
- db_names_str = NULL;
- }
- if (table_names_str)
- {
- delete [] table_names_str;
- table_names_str = NULL;
- }
- DBUG_RETURN(error_num);
-}
-
-void spider_oracle_share::free_table_names_str()
-{
- DBUG_ENTER("spider_oracle_share::free_table_names_str");
- if (db_table_str)
- {
- delete [] db_table_str;
- db_table_str = NULL;
- }
- if (db_names_str)
- {
- delete [] db_names_str;
- db_names_str = NULL;
- }
- if (table_names_str)
- {
- delete [] table_names_str;
- table_names_str = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::create_column_name_str()
-{
- spider_string *str;
- int error_num;
- Field **field;
- TABLE_SHARE *table_share = spider_share->table_share;
- uint dbton_id = spider_dbton_oracle.dbton_id;
- DBUG_ENTER("spider_oracle_share::create_column_name_str");
- if (
- table_share->fields &&
- !(column_name_str = new spider_string[table_share->fields])
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- for (field = table_share->field, str = column_name_str;
- *field; field++, str++)
- {
- str->init_calc_mem(196);
- str->set_charset(spider_share->access_charset);
- if ((error_num = spider_db_append_name_with_quote_str(str,
- (char *) (*field)->field_name, dbton_id)))
- goto error;
- }
- DBUG_RETURN(0);
-
-error:
- if (column_name_str)
- {
- delete [] column_name_str;
- column_name_str = NULL;
- }
- DBUG_RETURN(error_num);
-}
-
-void spider_oracle_share::free_column_name_str()
-{
- DBUG_ENTER("spider_oracle_share::free_column_name_str");
- if (column_name_str)
- {
- delete [] column_name_str;
- column_name_str = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::convert_key_hint_str()
-{
- spider_string *tmp_key_hint;
- int roop_count;
- TABLE_SHARE *table_share = spider_share->table_share;
- DBUG_ENTER("spider_oracle_share::convert_key_hint_str");
- if (spider_share->access_charset->cset != system_charset_info->cset)
- {
- /* need convertion */
- for (roop_count = 0, tmp_key_hint = key_hint;
- roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
- {
- tmp_key_hint->length(0);
- if (tmp_key_hint->append(spider_share->key_hint->ptr(),
- spider_share->key_hint->length(), system_charset_info))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- } else {
- for (roop_count = 0, tmp_key_hint = key_hint;
- roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
- {
- if (tmp_key_hint->copy(spider_share->key_hint[roop_count]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_share::append_show_table_status()
-{
- int roop_count;
- spider_string *str;
- uint dbton_id = spider_dbton_oracle.dbton_id;
- DBUG_ENTER("spider_oracle_append_show_table_status");
- if (!(show_table_status =
- new spider_string[2 * spider_share->all_link_count]))
- goto error;
-
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- show_table_status[0 + (2 * roop_count)].init_calc_mem(197);
- show_table_status[1 + (2 * roop_count)].init_calc_mem(207);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_table_status[0 + (2 * roop_count)].reserve(
- SPIDER_SQL_SHOW_TABLE_STATUS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_LIKE_LEN + table_names_str[roop_count].length() +
- ((SPIDER_SQL_NAME_QUOTE_LEN) * 2) +
- ((SPIDER_SQL_VALUE_QUOTE_LEN) * 2)) ||
- show_table_status[1 + (2 * roop_count)].reserve(
- SPIDER_SQL_SELECT_TABLES_STATUS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
- table_names_str[roop_count].length() +
- ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4))
- )
- goto error;
- str = &show_table_status[0 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SHOW_TABLE_STATUS_STR, SPIDER_SQL_SHOW_TABLE_STATUS_LEN);
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(db_names_str[roop_count].ptr(),
- db_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- str->q_append(SPIDER_SQL_LIKE_STR, SPIDER_SQL_LIKE_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(table_names_str[roop_count].ptr(),
- table_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str = &show_table_status[1 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SELECT_TABLES_STATUS_STR,
- SPIDER_SQL_SELECT_TABLES_STATUS_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(db_names_str[roop_count].ptr(),
- db_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(table_names_str[roop_count].ptr(),
- table_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- }
- DBUG_RETURN(0);
-
-error:
- if (show_table_status)
- {
- delete [] show_table_status;
- show_table_status = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_oracle_share::free_show_table_status()
-{
- DBUG_ENTER("spider_oracle_free_show_table_status");
- if (show_table_status)
- {
- delete [] show_table_status;
- show_table_status = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::append_show_records()
-{
- int roop_count;
- spider_string *str;
- uint dbton_id = spider_dbton_oracle.dbton_id;
- DBUG_ENTER("spider_oracle_share::append_show_records");
- if (!(show_records = new spider_string[spider_share->all_link_count]))
- goto error;
-
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- show_records[roop_count].init_calc_mem(208);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_records[roop_count].reserve(
- SPIDER_SQL_SHOW_RECORDS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_DOT_LEN +
- table_names_str[roop_count].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4)
- )
- goto error;
- str = &show_records[roop_count];
- str->q_append(SPIDER_SQL_SHOW_RECORDS_STR, SPIDER_SQL_SHOW_RECORDS_LEN);
- append_table_name(str, roop_count);
- }
- DBUG_RETURN(0);
-
-error:
- if (show_records)
- {
- delete [] show_records;
- show_records = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_oracle_share::free_show_records()
-{
- DBUG_ENTER("spider_oracle_share::free_show_records");
- if (show_records)
- {
- delete [] show_records;
- show_records = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::append_show_autoinc()
-{
- uint roop_count, field_length;
- spider_string *str;
- uint dbton_id = spider_dbton_oracle.dbton_id;
- Field **found_next_number_field =
- spider_share->table_share->found_next_number_field;
- DBUG_ENTER("spider_oracle_share::append_show_autoinc");
- if (!found_next_number_field)
- DBUG_RETURN(0);
-
- if (!(show_autoinc = new spider_string[spider_share->all_link_count]))
- goto error;
-
- field_length =
- column_name_str[(*found_next_number_field)->field_index].length();
- for (roop_count = 0; roop_count < spider_share->all_link_count;
- roop_count++)
- {
- show_autoinc[roop_count].init_calc_mem(224);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_autoinc[roop_count].reserve(
- SPIDER_SQL_SELECT_LEN +
- SPIDER_SQL_MAX_LEN +
- SPIDER_SQL_OPEN_PAREN_LEN +
- field_length +
- SPIDER_SQL_CLOSE_PAREN_LEN +
- SPIDER_SQL_FROM_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_DOT_LEN +
- table_names_str[roop_count].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 6)
- )
- goto error;
- str = &show_autoinc[roop_count];
- str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
- str->q_append(SPIDER_SQL_MAX_STR, SPIDER_SQL_MAX_LEN);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- append_column_name(str, (*found_next_number_field)->field_index);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- append_table_name(str, roop_count);
- }
- DBUG_RETURN(0);
-
-error:
- if (show_autoinc)
- {
- delete [] show_autoinc;
- show_autoinc = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_oracle_share::free_show_autoinc()
-{
- DBUG_ENTER("spider_oracle_share::free_show_autoinc");
- if (show_autoinc)
- {
- delete [] show_autoinc;
- show_autoinc = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::append_show_last_insert_id()
-{
- uint roop_count;
- spider_string *str;
- uint dbton_id = spider_dbton_oracle.dbton_id;
- Field **found_next_number_field =
- spider_share->table_share->found_next_number_field;
- uint seq_nm_max_length = 0;
- DBUG_ENTER("spider_oracle_share::append_show_last_insert_id");
- if (!found_next_number_field)
- DBUG_RETURN(0);
-
- if (
- !(show_last_insert_id = new spider_string[spider_share->all_link_count]) ||
- !(nextval_str = new spider_string[spider_share->all_link_count])
- )
- goto error;
-
- for (roop_count = 0; roop_count < spider_share->all_link_count;
- roop_count++)
- {
- show_last_insert_id[roop_count].init_calc_mem(225);
- nextval_str[roop_count].init_calc_mem(226);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_last_insert_id[roop_count].reserve(
- SPIDER_SQL_SELECT_LEN +
- spider_share->tgt_sequence_names_lengths[roop_count] +
- SPIDER_SQL_CURRVAL_LEN +
- SPIDER_SQL_FROM_DUAL_LEN +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2)
- )
- goto error;
- str = &show_last_insert_id[roop_count];
- str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
- spider_db_oracle_utility.append_name(str,
- spider_share->tgt_sequence_names[roop_count],
- spider_share->tgt_sequence_names_lengths[roop_count]);
- str->q_append(SPIDER_SQL_CURRVAL_STR, SPIDER_SQL_CURRVAL_LEN);
- str->q_append(SPIDER_SQL_FROM_DUAL_STR, SPIDER_SQL_FROM_DUAL_LEN);
-
- if (seq_nm_max_length <
- spider_share->tgt_sequence_names_lengths[roop_count])
- {
- seq_nm_max_length =
- spider_share->tgt_sequence_names_lengths[roop_count];
- }
- }
- for (roop_count = 0; roop_count < spider_share->all_link_count;
- roop_count++)
- {
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- nextval_str[roop_count].reserve(
- seq_nm_max_length +
- SPIDER_SQL_NEXTVAL_LEN +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2)
- )
- goto error;
- str = &nextval_str[roop_count];
- spider_db_oracle_utility.append_name(str,
- spider_share->tgt_sequence_names[roop_count],
- spider_share->tgt_sequence_names_lengths[roop_count]);
- str->q_append(SPIDER_SQL_NEXTVAL_STR, SPIDER_SQL_NEXTVAL_LEN);
- uint length =
- seq_nm_max_length - spider_share->tgt_sequence_names_lengths[roop_count];
- memset((char *) str->ptr() + str->length(), ' ', length);
- str->length(str->length() + length);
- nextval_max_length = str->length();
- }
- DBUG_RETURN(0);
-
-error:
- if (show_last_insert_id)
- {
- delete [] show_last_insert_id;
- show_last_insert_id = NULL;
- }
- if (nextval_str)
- {
- delete [] nextval_str;
- nextval_str = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_oracle_share::free_show_last_insert_id()
-{
- DBUG_ENTER("spider_oracle_share::free_show_last_insert_id");
- if (show_last_insert_id)
- {
- delete [] show_last_insert_id;
- show_last_insert_id = NULL;
- }
- if (nextval_str)
- {
- delete [] nextval_str;
- nextval_str = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::append_show_index()
-{
- int roop_count;
- spider_string *str;
- uint dbton_id = spider_dbton_oracle.dbton_id;
- DBUG_ENTER("spider_oracle_share::append_show_index");
- if (!(show_index = new spider_string[2 * spider_share->all_link_count]))
- goto error;
-
- for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
- roop_count++)
- {
- show_index[0 + (2 * roop_count)].init_calc_mem(209);
- show_index[1 + (2 * roop_count)].init_calc_mem(210);
- if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
- continue;
-
- if (
- show_index[0 + (2 * roop_count)].reserve(
- SPIDER_SQL_SHOW_INDEX_LEN + db_names_str[roop_count].length() +
- SPIDER_SQL_DOT_LEN +
- table_names_str[roop_count].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4) ||
- show_index[1 + (2 * roop_count)].reserve(
- SPIDER_SQL_SELECT_STATISTICS_LEN +
- db_names_str[roop_count].length() +
- SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
- table_names_str[roop_count].length() +
- ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4) +
- SPIDER_SQL_GROUP_LEN + SPIDER_SQL_COLUMN_NAME_LEN)
- )
- goto error;
- str = &show_index[0 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SHOW_INDEX_STR, SPIDER_SQL_SHOW_INDEX_LEN);
- append_table_name(str, roop_count);
- str = &show_index[1 + (2 * roop_count)];
- str->q_append(
- SPIDER_SQL_SELECT_STATISTICS_STR, SPIDER_SQL_SELECT_STATISTICS_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(db_names_str[roop_count].ptr(),
- db_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(table_names_str[roop_count].ptr(),
- table_names_str[roop_count].length());
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
- str->q_append(SPIDER_SQL_COLUMN_NAME_STR, SPIDER_SQL_COLUMN_NAME_LEN);
- }
- DBUG_RETURN(0);
-
-error:
- if (show_index)
- {
- delete [] show_index;
- show_index = NULL;
- }
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-}
-
-void spider_oracle_share::free_show_index()
-{
- DBUG_ENTER("spider_oracle_share::free_show_index");
- if (show_index)
- {
- delete [] show_index;
- show_index = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_share::append_table_select()
-{
- Field **field;
- uint field_length;
- spider_string *str = table_select;
- TABLE_SHARE *table_share = spider_share->table_share;
- DBUG_ENTER("spider_oracle_share::append_table_select");
- for (field = table_share->field; *field; field++)
- {
- field_length = column_name_str[(*field)->field_index].length();
- if (str->reserve(field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(append_from_with_adjusted_table_name(str, &table_select_pos));
-}
-
-int spider_oracle_share::append_key_select(
- uint idx
-) {
- KEY_PART_INFO *key_part;
- Field *field;
- uint part_num;
- uint field_length;
- spider_string *str = &key_select[idx];
- TABLE_SHARE *table_share = spider_share->table_share;
- const KEY *key_info = &table_share->key_info[idx];
- DBUG_ENTER("spider_oracle_share::append_key_select");
- for (key_part = key_info->key_part, part_num = 0;
- part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
- {
- field = key_part->field;
- field_length = column_name_str[field->field_index].length();
- if (str->reserve(field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(append_from_with_adjusted_table_name(str, &key_select_pos[idx]));
-}
-
-bool spider_oracle_share::need_change_db_table_name()
-{
- DBUG_ENTER("spider_oracle_share::need_change_db_table_name");
- DBUG_RETURN(!same_db_table_name);
-}
-
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
-int spider_oracle_share::discover_table_structure(
- SPIDER_TRX *trx,
- SPIDER_SHARE *spider_share,
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_share::discover_table_structure");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(HA_ERR_WRONG_COMMAND);
-}
-#endif
-
-spider_oracle_handler::spider_oracle_handler(
- ha_spider *spider,
- spider_oracle_share *db_share
-) : spider_db_handler(
- spider,
- db_share
-),
- where_pos(0),
- order_pos(0),
- limit_pos(0),
- table_name_pos(0),
- update_set_pos(0),
- ha_read_pos(0),
- ha_next_pos(0),
- ha_where_pos(0),
- ha_limit_pos(0),
- ha_table_name_pos(0),
- insert_pos(0),
- insert_table_name_pos(0),
- upd_tmp_tbl(NULL),
- tmp_sql_pos1(0),
- tmp_sql_pos2(0),
- tmp_sql_pos3(0),
- tmp_sql_pos4(0),
- tmp_sql_pos5(0),
- table_lock_mode(0),
- reading_from_bulk_tmp_table(FALSE),
- filled_up(FALSE),
- select_rownum_appended(FALSE),
- update_rownum_appended(FALSE),
- union_table_name_pos_first(NULL),
- union_table_name_pos_current(NULL),
- oracle_share(db_share),
- link_for_hash(NULL)
-{
- DBUG_ENTER("spider_oracle_handler::spider_oracle_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_alloc_calc_mem_init(mem_calc, 222);
- spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-spider_oracle_handler::~spider_oracle_handler()
-{
- DBUG_ENTER("spider_oracle_handler::~spider_oracle_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- while (union_table_name_pos_first)
- {
- SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
- union_table_name_pos_first = tmp_pos->next;
- spider_free(spider_current_trx, tmp_pos, MYF(0));
- }
- if (link_for_hash)
- {
- spider_free(spider_current_trx, link_for_hash, MYF(0));
- }
- spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_handler::init()
-{
- uint roop_count;
- THD *thd = spider->trx->thd;
- st_spider_share *share = spider->share;
- int init_sql_alloc_size =
- spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
- DBUG_ENTER("spider_oracle_handler::init");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.init_calc_mem(67);
- sql_part.init_calc_mem(68);
- sql_part2.init_calc_mem(69);
- ha_sql.init_calc_mem(70);
- insert_sql.init_calc_mem(72);
- update_sql.init_calc_mem(73);
- tmp_sql.init_calc_mem(74);
- dup_update_sql.init_calc_mem(167);
- if (
- (sql.real_alloc(init_sql_alloc_size)) ||
- (insert_sql.real_alloc(init_sql_alloc_size)) ||
- (update_sql.real_alloc(init_sql_alloc_size)) ||
- (tmp_sql.real_alloc(init_sql_alloc_size))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.set_charset(share->access_charset);
- sql_part.set_charset(share->access_charset);
- ha_sql.set_charset(share->access_charset);
- insert_sql.set_charset(share->access_charset);
- update_sql.set_charset(share->access_charset);
- tmp_sql.set_charset(share->access_charset);
- upd_tmp_tbl_prm.init();
- upd_tmp_tbl_prm.field_count = 1;
- if (!(link_for_hash = (SPIDER_LINK_FOR_HASH *)
- spider_bulk_alloc_mem(spider_current_trx, 223,
- __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
- &link_for_hash,
- sizeof(SPIDER_LINK_FOR_HASH) * share->link_count,
- NullS))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- for (roop_count = 0; roop_count < share->link_count; roop_count++)
- {
- link_for_hash[roop_count].spider = spider;
- link_for_hash[roop_count].link_idx = roop_count;
- link_for_hash[roop_count].db_table_str =
- &oracle_share->db_table_str[roop_count];
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- link_for_hash[roop_count].db_table_str_hash_value =
- oracle_share->db_table_str_hash_value[roop_count];
-#endif
- }
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- hs_upds.init();
-#endif
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_table_name_with_adjusting(
- spider_string *str,
- int link_idx,
- ulong sql_type
-) {
- int error_num = 0;
- DBUG_ENTER("spider_oracle_handler::append_table_name_with_adjusting");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
- } else {
- error_num = oracle_share->append_table_name_with_adjusting(str,
- spider->conn_link_idx[link_idx]);
- }
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_column_types(
- const key_range *start_key,
- spider_string *str
-) {
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- KEY *key_info = result_list->key_info;
- uint key_name_length, key_count;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- char tmp_buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(tmp_buf, sizeof(tmp_buf), system_charset_info);
- DBUG_ENTER("spider_oracle_handler::append_key_column_types");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_str.init_calc_mem(227);
-
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- for (
- key_part = key_info->key_part,
- key_count = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- key_count++
- ) {
- field = key_part->field;
- key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
- if (str->reserve(key_name_length + SPIDER_SQL_SPACE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(tmp_buf, key_name_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
-
- if (tmp_str.ptr() != tmp_buf)
- tmp_str.set(tmp_buf, sizeof(tmp_buf), system_charset_info);
- else
- tmp_str.set_charset(system_charset_info);
- field->sql_type(*tmp_str.get_str());
- tmp_str.mem_calc();
- str->append(tmp_str);
-
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
-
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_join_columns_for_bka(
- const key_range *start_key,
- spider_string *str,
- const char **table_aliases,
- uint *table_alias_lengths
-) {
- KEY *key_info = spider->result_list.key_info;
- uint length, key_name_length, key_count;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- char tmp_buf[MAX_FIELD_WIDTH];
- bool start_where = ((int) str->length() == where_pos);
- DBUG_ENTER("spider_oracle_handler::append_key_join_columns_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- if (start_where)
- {
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
-
- for (
- key_part = key_info->key_part,
- key_count = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- key_count++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
- if (str->reserve(length + table_alias_lengths[0] + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- table_alias_lengths[1] + SPIDER_SQL_PF_EQUAL_LEN + SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(table_aliases[0], table_alias_lengths[0]);
- str->q_append(tmp_buf, length);
- str->q_append(SPIDER_SQL_PF_EQUAL_STR, SPIDER_SQL_PF_EQUAL_LEN);
- str->q_append(table_aliases[1], table_alias_lengths[1]);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
- str->length(str->length() - SPIDER_SQL_AND_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_tmp_table_and_sql_for_bka(
- const key_range *start_key
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_tmp_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- char tmp_table_name[MAX_FIELD_WIDTH * 2],
- tgt_table_name[MAX_FIELD_WIDTH * 2];
- int tmp_table_name_length;
- spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
- oracle_share->db_names_str[0].charset());
- const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
- uint table_name_lengths[2], table_alias_lengths[2],
- table_dot_alias_lengths[2];
- tgt_table_name_str.init_calc_mem(200);
- tgt_table_name_str.length(0);
- create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
- first_link_idx);
- if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
- first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
- {
- DBUG_RETURN(error_num);
- }
- table_names[0] = tmp_table_name;
- table_names[1] = tgt_table_name_str.c_ptr_safe();
- table_name_lengths[0] = tmp_table_name_length;
- table_name_lengths[1] = tgt_table_name_str.length();
- table_aliases[0] = SPIDER_SQL_A_STR;
- table_aliases[1] = SPIDER_SQL_B_STR;
- table_alias_lengths[0] = SPIDER_SQL_A_LEN;
- table_alias_lengths[1] = SPIDER_SQL_B_LEN;
- table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
- table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
- table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
- table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
- if (
- (error_num = append_drop_tmp_bka_table(
- &tmp_sql, tmp_table_name, tmp_table_name_length,
- &tmp_sql_pos1, &tmp_sql_pos5, TRUE)) ||
- (error_num = append_create_tmp_bka_table(
- start_key,
- &tmp_sql, tmp_table_name,
- tmp_table_name_length,
- &tmp_sql_pos2, spider->share->table_share->table_charset)) ||
- (error_num = append_insert_tmp_bka_table(
- start_key,
- &tmp_sql, tmp_table_name,
- tmp_table_name_length, &tmp_sql_pos3))
- )
- DBUG_RETURN(error_num);
- tmp_sql_pos4 = tmp_sql.length();
- if ((error_num = spider_db_append_select(spider)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
- sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if (
- (error_num = append_select_columns_with_alias(&sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)) ||
- (error_num = spider_db_oracle_utility.append_from_with_alias(&sql,
- table_names, table_name_lengths,
- table_aliases, table_alias_lengths, 2,
- &table_name_pos, FALSE))
- )
- DBUG_RETURN(error_num);
- if (
- oracle_share->key_hint &&
- (error_num = spider_db_append_hint_after_table(spider,
- &sql, &oracle_share->key_hint[spider->active_index]))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- where_pos = sql.length();
- if (
- (error_num = append_key_join_columns_for_bka(
- start_key, &sql,
- table_dot_aliases, table_dot_alias_lengths)) ||
- (error_num = append_condition_part(
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
- SPIDER_SQL_TYPE_SELECT_SQL, FALSE)) ||
- (
- spider->result_list.direct_order_limit &&
- (error_num = append_key_order_for_direct_order_limit_with_alias(&sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN))
- )
- )
- DBUG_RETURN(error_num);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::reuse_tmp_table_and_sql_for_bka()
-{
- DBUG_ENTER("spider_oracle_handler::reuse_tmp_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_sql.length(tmp_sql_pos4);
- sql.length(limit_pos);
- ha_sql.length(ha_limit_pos);
- DBUG_RETURN(0);
-}
-
-void spider_oracle_handler::create_tmp_bka_table_name(
- char *tmp_table_name,
- int *tmp_table_name_length,
- int link_idx
-) {
- uint adjust_length =
- oracle_share->db_nm_max_length -
- oracle_share->db_names_str[spider->conn_link_idx[link_idx]].length() +
- oracle_share->table_nm_max_length -
- oracle_share->table_names_str[spider->conn_link_idx[link_idx]].length(),
- length;
- DBUG_ENTER("spider_oracle_handler::create_tmp_bka_table_name");
- *tmp_table_name_length = oracle_share->db_nm_max_length +
- oracle_share->table_nm_max_length;
- memset(tmp_table_name, ' ', adjust_length);
- tmp_table_name += adjust_length;
- memcpy(tmp_table_name, oracle_share->db_names_str[link_idx].c_ptr(),
- oracle_share->db_names_str[link_idx].length());
- tmp_table_name += oracle_share->db_names_str[link_idx].length();
- length = my_sprintf(tmp_table_name, (tmp_table_name,
- "%s%s%p%s", SPIDER_SQL_DOT_STR, SPIDER_SQL_TMP_BKA_STR, spider,
- SPIDER_SQL_UNDERSCORE_STR));
- *tmp_table_name_length += length;
- tmp_table_name += length;
- memcpy(tmp_table_name,
- oracle_share->table_names_str[spider->conn_link_idx[link_idx]].c_ptr(),
- oracle_share->table_names_str[spider->conn_link_idx[link_idx]].length());
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_handler::append_create_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- CHARSET_INFO *table_charset
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- THD *thd = spider->trx->thd;
- char *bka_engine = spider_param_bka_engine(thd, share->bka_engine);
- uint bka_engine_length = strlen(bka_engine),
- cset_length = strlen(table_charset->csname);
- DBUG_ENTER("spider_oracle_handler::append_create_tmp_bka_table");
- if (str->reserve(SPIDER_SQL_CREATE_TMP_LEN + tmp_table_name_length +
- SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN + SPIDER_SQL_ID_TYPE_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CREATE_TMP_STR, SPIDER_SQL_CREATE_TMP_LEN);
- *db_name_pos = str->length();
- str->q_append(tmp_table_name, tmp_table_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- str->q_append(SPIDER_SQL_ID_TYPE_STR, SPIDER_SQL_ID_TYPE_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if ((error_num = append_key_column_types(start_key, str)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_ENGINE_LEN + bka_engine_length +
- SPIDER_SQL_DEF_CHARSET_LEN + cset_length + SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ENGINE_STR, SPIDER_SQL_ENGINE_LEN);
- str->q_append(bka_engine, bka_engine_length);
- str->q_append(SPIDER_SQL_DEF_CHARSET_STR, SPIDER_SQL_DEF_CHARSET_LEN);
- str->q_append(table_charset->csname, cset_length);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_drop_tmp_bka_table(
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- int *drop_table_end_pos,
- bool with_semicolon
-) {
- DBUG_ENTER("spider_oracle_handler::append_drop_tmp_bka_table");
- if (str->reserve(SPIDER_SQL_DROP_TMP_LEN + tmp_table_name_length +
- (with_semicolon ? SPIDER_SQL_SEMICOLON_LEN : 0)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_DROP_TMP_STR, SPIDER_SQL_DROP_TMP_LEN);
- *db_name_pos = str->length();
- str->q_append(tmp_table_name, tmp_table_name_length);
- *drop_table_end_pos = str->length();
- if (with_semicolon)
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_insert_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_insert_tmp_bka_table");
- if (str->reserve(SPIDER_SQL_INSERT_LEN + SPIDER_SQL_INTO_LEN +
- tmp_table_name_length + SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- *db_name_pos = str->length();
- str->q_append(tmp_table_name, tmp_table_name_length);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if ((error_num = spider_db_append_key_columns(start_key, spider, str)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_union_table_and_sql_for_bka(
- const key_range *start_key
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_union_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- char tgt_table_name[MAX_FIELD_WIDTH * 2];
- spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
- oracle_share->db_names_str[0].charset());
- const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
- uint table_name_lengths[2], table_alias_lengths[2],
- table_dot_alias_lengths[2];
- tgt_table_name_str.init_calc_mem(234);
- tgt_table_name_str.length(0);
- if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
- first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
- {
- DBUG_RETURN(error_num);
- }
- table_names[0] = "";
- table_names[1] = tgt_table_name_str.c_ptr_safe();
- table_name_lengths[0] = 0;
- table_name_lengths[1] = tgt_table_name_str.length();
- table_aliases[0] = SPIDER_SQL_A_STR;
- table_aliases[1] = SPIDER_SQL_B_STR;
- table_alias_lengths[0] = SPIDER_SQL_A_LEN;
- table_alias_lengths[1] = SPIDER_SQL_B_LEN;
- table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
- table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
- table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
- table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
-
- if ((error_num = spider_db_append_select(spider)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
- sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if ((error_num = append_select_columns_with_alias(&sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_FROM_LEN + (SPIDER_SQL_OPEN_PAREN_LEN * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- tmp_sql_pos1 = sql.length();
-
- if (
- (error_num = spider_db_oracle_utility.append_from_with_alias(&tmp_sql,
- table_names, table_name_lengths,
- table_aliases, table_alias_lengths, 2,
- &table_name_pos, FALSE))
- )
- DBUG_RETURN(error_num);
- if (
- oracle_share->key_hint &&
- (error_num = spider_db_append_hint_after_table(spider,
- &tmp_sql, &oracle_share->key_hint[spider->active_index]))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- where_pos = tmp_sql.length();
- if (
- (error_num = append_key_join_columns_for_bka(
- start_key, &tmp_sql,
- table_dot_aliases, table_dot_alias_lengths)) ||
- (error_num = append_condition_part(
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
- SPIDER_SQL_TYPE_TMP_SQL, FALSE)) ||
- (
- spider->result_list.direct_order_limit &&
- (error_num = append_key_order_for_direct_order_limit_with_alias(&tmp_sql,
- SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN))
- )
- )
- DBUG_RETURN(error_num);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::reuse_union_table_and_sql_for_bka()
-{
- DBUG_ENTER("spider_oracle_handler::reuse_union_table_and_sql_for_bka");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.length(tmp_sql_pos1);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_insert_for_recovery(
- ulong sql_type,
- int link_idx
-) {
- const TABLE *table = spider->get_table();
- SPIDER_SHARE *share = spider->share;
- Field **field;
- uint field_name_length = 0;
- bool add_value = FALSE;
- spider_string *insert_sql;
- DBUG_ENTER("spider_oracle_handler::append_insert_for_recovery");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
- {
- insert_sql = &spider->result_list.insert_sqls[link_idx];
- insert_sql->length(0);
- } else {
- insert_sql = &spider->result_list.update_sqls[link_idx];
- }
- if (insert_sql->reserve(
- SPIDER_SQL_INSERT_LEN + SPIDER_SQL_SQL_IGNORE_LEN +
- SPIDER_SQL_INTO_LEN + oracle_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- insert_sql->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
- insert_sql->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- oracle_share->append_table_name(insert_sql, spider->conn_link_idx[link_idx]);
- insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- field_name_length =
- oracle_share->column_name_str[(*field)->field_index].length();
- if (insert_sql->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(insert_sql, (*field)->field_index);
- insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (field_name_length)
- insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
- if (insert_sql->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- add_value = TRUE;
- if ((*field)->is_null())
- {
- if (insert_sql->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (
- spider_db_oracle_utility.
- append_column_value(spider, insert_sql, *field, NULL,
- share->access_charset) ||
- insert_sql->reserve(SPIDER_SQL_COMMA_LEN)
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (add_value)
- insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
- if (insert_sql->reserve(SPIDER_SQL_CLOSE_PAREN_LEN, SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- insert_sql->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
- {
- exec_insert_sql = insert_sql;
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- int error_num;
- spider_string *str = &update_sql;
- DBUG_ENTER("spider_oracle_handler::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_update(str, 0)) ||
- (error_num = append_update_set(str)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.update_sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::append_update");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_update(str, link_idx)) ||
- (error_num = append_update_set(str)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
-
- if (
- spider->pk_update &&
- share->link_statuses[link_idx] == SPIDER_LINK_STATUS_RECOVERY
- ) {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- if ((error_num = append_insert_for_recovery(
- SPIDER_SQL_TYPE_UPDATE_SQL, link_idx)))
- DBUG_RETURN(error_num);
- }
-
- if (!filled_up)
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- int error_num;
- spider_string *str = &update_sql;
- DBUG_ENTER("spider_oracle_handler::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_delete(str)) ||
- (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL,
- first_link_idx)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
-) {
- int error_num;
- spider_string *str = &spider->result_list.update_sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::append_delete");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->length() > 0)
- {
- if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
- }
-
- if (
- (error_num = append_delete(str)) ||
- (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL, link_idx)) ||
- (error_num = append_update_where(str, table, ptr_diff))
- )
- DBUG_RETURN(error_num);
- if (!filled_up)
- filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_insert_part()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_insert_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_insert(&insert_sql, 0);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_insert(
- spider_string *str,
- int link_idx
-) {
- DBUG_ENTER("spider_oracle_handler::append_insert");
- if (str->reserve(SPIDER_SQL_INSERT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_update_part()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_update_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_update(&update_sql, 0);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_update(
- spider_string *str,
- int link_idx
-) {
- DBUG_ENTER("spider_oracle_handler::append_update");
- if (str->reserve(SPIDER_SQL_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_UPDATE_STR, SPIDER_SQL_UPDATE_LEN);
- if (str->reserve(oracle_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- table_name_pos = str->length();
- append_table_name_with_adjusting(str, link_idx, SPIDER_SQL_TYPE_UPDATE_SQL);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_delete_part()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_delete_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_delete(&update_sql);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_delete(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_delete");
- if (str->reserve(SPIDER_SQL_DELETE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_DELETE_STR, SPIDER_SQL_DELETE_LEN);
- str->length(str->length() - 1);
- DBUG_RETURN(0);
-}
-
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
-int spider_oracle_handler::append_increment_update_set_part()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_increment_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_increment_update_set(&update_sql);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_increment_update_set(
- spider_string *str
-) {
- uint field_name_length;
- uint roop_count;
- Field *field;
- DBUG_ENTER("spider_oracle_handler::append_increment_update_set");
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- const SPIDER_HS_STRING_REF *value = hs_upds.ptr();
- for (roop_count = 0; roop_count < hs_upds.size();
- roop_count++)
- {
- DBUG_PRINT("info",("spider value_size[%u]=%zu", roop_count,
- value[roop_count].size()));
-#ifndef DBUG_OFF
- char print_buf[MAX_FIELD_WIDTH];
- if (value[roop_count].size() < MAX_FIELD_WIDTH)
- {
- memcpy(print_buf, value[roop_count].begin(), value[roop_count].size());
- print_buf[value[roop_count].size()] = '\0';
- DBUG_PRINT("info",("spider value[%u]=%s", roop_count, print_buf));
- }
-#endif
- if (
- value[roop_count].size() == 1 &&
- *(value[roop_count].begin()) == '0'
- )
- continue;
-
- Field *top_table_field =
- spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
- if (!(field = spider->field_exchange(top_table_field)))
- continue;
- field_name_length =
- oracle_share->column_name_str[field->field_index].length();
-
- if (str->reserve(field_name_length * 2 + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 4 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_HS_INCREMENT_LEN +
- SPIDER_SQL_COMMA_LEN + value[roop_count].size()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- oracle_share->append_column_name(str, field->field_index);
- if (spider->hs_increment)
- str->q_append(SPIDER_SQL_HS_INCREMENT_STR,
- SPIDER_SQL_HS_INCREMENT_LEN);
- else
- str->q_append(SPIDER_SQL_HS_DECREMENT_STR,
- SPIDER_SQL_HS_DECREMENT_LEN);
- str->q_append(value[roop_count].begin(), value[roop_count].size());
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-#endif
-#endif
-
-int spider_oracle_handler::append_update_set_part()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- update_set_pos = update_sql.length();
- error_num = append_update_set(&update_sql);
- where_pos = update_sql.length();
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_update_set(
- spider_string *str
-) {
- uint field_name_length;
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- Field **fields;
- DBUG_ENTER("spider_oracle_handler::append_update_set");
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- for (fields = table->field; *fields; fields++)
- {
- if (bitmap_is_set(table->write_set, (*fields)->field_index))
- {
- field_name_length =
- oracle_share->column_name_str[(*fields)->field_index].length();
- if ((*fields)->is_null())
- {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, (*fields)->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, (*fields)->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
-#ifndef DBUG_OFF
- my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
- table->read_set);
-#endif
- if (
- spider_db_oracle_utility.
- append_column_value(spider, str, *fields, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_COMMA_LEN)
- ) {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
-int spider_oracle_handler::append_direct_update_set_part()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_direct_update_set_part");
- DBUG_PRINT("info",("spider this=%p", this));
- update_set_pos = update_sql.length();
- error_num = append_direct_update_set(&update_sql);
- where_pos = update_sql.length();
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_direct_update_set(
- spider_string *str
-) {
- uint field_name_length;
- SPIDER_SHARE *share = spider->share;
-#ifndef DBUG_OFF
- TABLE *table = spider->get_table();
-#endif
- DBUG_ENTER("spider_oracle_handler::append_direct_update_set");
- if (
- spider->direct_update_kinds == SPIDER_SQL_KIND_SQL &&
- spider->direct_update_fields
- ) {
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- DBUG_RETURN(append_update_columns(str, NULL, 0));
- }
-
- if (
- (spider->direct_update_kinds & SPIDER_SQL_KIND_SQL)
- ) {
- size_t roop_count;
- Field *field;
- if (str->reserve(SPIDER_SQL_SET_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
- for (roop_count = 0; roop_count < spider->hs_pushed_ret_fields_num;
- roop_count++)
- {
- Field *top_table_field =
- spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
- if (!(field = spider->field_exchange(top_table_field)))
- continue;
- field_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (top_table_field->is_null())
- {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
- 2 + SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
-#ifndef DBUG_OFF
- my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
- table->read_set);
-#endif
- if (
- spider_db_oracle_utility.
- append_column_value(spider, str, top_table_field, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_COMMA_LEN)
- ) {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_dup_update_pushdown_part(
- const char *alias,
- uint alias_length
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_dup_update_pushdown_part");
- DBUG_PRINT("info",("spider this=%p", this));
- dup_update_sql.length(0);
- error_num = append_update_columns(&dup_update_sql, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_update_columns_part(
- const char *alias,
- uint alias_length
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_update_columns_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_update_columns(&update_sql, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::check_update_columns_part()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::check_update_columns_part");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = append_update_columns(NULL, NULL, 0);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_update_columns(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- List_iterator_fast<Item> fi(*spider->direct_update_fields),
- vi(*spider->direct_update_values);
- Item *field, *value;
- DBUG_ENTER("spider_oracle_handler::append_update_columns");
- while ((field = fi++))
- {
- value = vi++;
- if ((error_num = spider_db_print_item_type(
- (Item *) field, spider, str, alias, alias_length,
- spider_dbton_oracle.dbton_id)))
- {
- if (
- error_num == ER_SPIDER_COND_SKIP_NUM &&
- field->type() == Item::FIELD_ITEM &&
- ((Item_field *) field)->field
- )
- continue;
- DBUG_RETURN(error_num);
- }
- if (str)
- {
- if (str->reserve(SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- }
- if ((error_num = spider_db_print_item_type(
- (Item *) value, spider, str, alias, alias_length,
- spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (str)
- {
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if (str)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-/*
- error_num = spider_db_append_update_columns(spider, str,
- alias, alias_length, spider_dbton_oracle.dbton_id);
- DBUG_RETURN(error_num);
-*/
-}
-#endif
-
-int spider_oracle_handler::append_select_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_select(str, sql_type);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_select(
- spider_string *str,
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::append_select");
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- if (str->reserve(SPIDER_SQL_HANDLER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_SELECT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_table_select_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_table_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_table_select(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_table_select(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_table_select");
- table_name_pos = str->length() + oracle_share->table_select_pos;
- if (str->append(*(oracle_share->table_select)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_select_part(
- ulong sql_type,
- uint idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_key_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_select(str, idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_select(
- spider_string *str,
- uint idx
-) {
- DBUG_ENTER("spider_oracle_handler::append_key_select");
- table_name_pos = str->length() + oracle_share->key_select_pos[idx];
- if (str->append(oracle_share->key_select[idx]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_minimum_select_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_minimum_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_minimum_select(str, sql_type);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_minimum_select(
- spider_string *str,
- ulong sql_type
-) {
- TABLE *table = spider->get_table();
- Field **field;
- int field_length;
- bool appended = FALSE;
- DBUG_ENTER("spider_oracle_handler::append_minimum_select");
- for (field = table->field; *field; field++)
- {
- if (minimum_select_bit_is_set((*field)->field_index))
- {
- field_length =
- oracle_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- appended = TRUE;
- }
- }
- if (appended)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- else {
- if (str->reserve(SPIDER_SQL_ONE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
- }
- DBUG_RETURN(append_from(str, sql_type, first_link_idx));
-}
-
-int spider_oracle_handler::append_table_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- TABLE *table = spider->get_table();
- Field **field;
- int field_length;
- DBUG_ENTER("spider_oracle_handler::append_table_select_with_alias");
- for (field = table->field; *field; field++)
- {
- field_length =
- oracle_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(alias_length + field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_select_with_alias(
- spider_string *str,
- const KEY *key_info,
- const char *alias,
- uint alias_length
-) {
- KEY_PART_INFO *key_part;
- Field *field;
- uint part_num;
- int field_length;
- DBUG_ENTER("spider_oracle_handler::append_key_select_with_alias");
- for (key_part = key_info->key_part, part_num = 0;
- part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
- {
- field = key_part->field;
- field_length = oracle_share->column_name_str[field->field_index].length();
- if (str->reserve(alias_length + field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_minimum_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- TABLE *table = spider->get_table();
- Field **field;
- int field_length;
- bool appended = FALSE;
- DBUG_ENTER("spider_oracle_handler::append_minimum_select_with_alias");
- for (field = table->field; *field; field++)
- {
- if (minimum_select_bit_is_set((*field)->field_index))
- {
- field_length =
- oracle_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(alias_length + field_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- appended = TRUE;
- }
- }
- if (appended)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- else {
- if (str->reserve(SPIDER_SQL_ONE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_select_columns_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- DBUG_ENTER("spider_oracle_handler::append_select_columns_with_alias");
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (
- result_list->direct_aggregate &&
- (error_num = append_sum_select(str, alias, alias_length))
- )
- DBUG_RETURN(error_num);
-#endif
- if ((error_num = append_match_select(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- if (!spider->select_column_mode)
- {
- if (result_list->keyread)
- DBUG_RETURN(append_key_select_with_alias(
- str, result_list->key_info, alias, alias_length));
- else
- DBUG_RETURN(append_table_select_with_alias(
- str, alias, alias_length));
- }
- DBUG_RETURN(append_minimum_select_with_alias(str, alias, alias_length));
-}
-
-int spider_oracle_handler::append_hint_after_table_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_hint_after_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_hint_after_table(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_hint_after_table(
- spider_string *str
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_hint_after_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (
- oracle_share->key_hint &&
- (error_num = spider_db_append_hint_after_table(spider,
- str, &oracle_share->key_hint[spider->active_index]))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_RETURN(0);
-}
-
-void spider_oracle_handler::set_where_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::set_where_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- where_pos = sql.length();
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- where_pos = update_sql.length();
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_read_pos = ha_sql.length();
- break;
- default:
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_oracle_handler::set_where_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::set_where_to_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- sql.length(where_pos);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- update_sql.length(where_pos);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_sql.length(ha_read_pos);
- break;
- default:
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_handler::check_item_type(
- Item *item
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::check_item_type");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = spider_db_print_item_type(item, spider, NULL, NULL, 0,
- spider_dbton_oracle.dbton_id);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_values_connector_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_values_connector_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_values_connector(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_values_connector(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_values_connector");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
- SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_values_terminator_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_values_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_values_terminator(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_values_terminator(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_values_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(str->length() -
- SPIDER_SQL_COMMA_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_union_table_connector_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_union_table_connector_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_table_connector(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_union_table_connector(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_union_table_connector");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_union_table_terminator_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_union_table_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_table_terminator(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_union_table_terminator(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_union_table_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(str->length() -
- ((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN));
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- table_name_pos = str->length() + SPIDER_SQL_SPACE_LEN + SPIDER_SQL_A_LEN +
- SPIDER_SQL_COMMA_LEN;
- if (str->reserve(tmp_sql.length() - SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(tmp_sql.ptr() + SPIDER_SQL_FROM_LEN,
- tmp_sql.length() - SPIDER_SQL_FROM_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_column_values_part(
- const key_range *start_key,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_key_column_values_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_column_values(str, start_key);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_column_values(
- spider_string *str,
- const key_range *start_key
-) {
- int error_num;
- const uchar *ptr;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- SPIDER_SHARE *share = spider->share;
- KEY *key_info = result_list->key_info;
- uint length;
- uint store_length;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- DBUG_ENTER("spider_oracle_handler::append_key_column_values");
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- for (
- key_part = key_info->key_part,
- length = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- length += store_length
- ) {
- store_length = key_part->store_length;
- ptr = start_key->key + length;
- field = key_part->field;
- if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
- {
- if (error_num > 0)
- DBUG_RETURN(error_num);
- } else {
- if (spider_db_oracle_utility.append_column_value(spider, str, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_column_values_with_name_part(
- const key_range *start_key,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_key_column_values_with_name_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_column_values_with_name(str, start_key);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_column_values_with_name(
- spider_string *str,
- const key_range *start_key
-) {
- int error_num;
- const uchar *ptr;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- SPIDER_SHARE *share = spider->share;
- KEY *key_info = result_list->key_info;
- uint length;
- uint key_name_length, key_count;
- uint store_length;
- key_part_map full_key_part_map =
- make_prev_keypart_map(spider_user_defined_key_parts(key_info));
- key_part_map start_key_part_map;
- KEY_PART_INFO *key_part;
- Field *field;
- char tmp_buf[MAX_FIELD_WIDTH];
- DBUG_ENTER("spider_oracle_handler::append_key_column_values_with_name");
- start_key_part_map = start_key->keypart_map & full_key_part_map;
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
- DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
- DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
-
- if (!start_key_part_map)
- DBUG_RETURN(0);
-
- for (
- key_part = key_info->key_part,
- length = 0,
- key_count = 0;
- start_key_part_map;
- start_key_part_map >>= 1,
- key_part++,
- length += store_length,
- key_count++
- ) {
- store_length = key_part->store_length;
- ptr = start_key->key + length;
- field = key_part->field;
- if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
- {
- if (error_num > 0)
- DBUG_RETURN(error_num);
- } else {
- if (spider_db_oracle_utility.append_column_value(spider, str, field, ptr,
- share->access_charset))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
-
- key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
- if (str->reserve(SPIDER_SQL_SPACE_LEN + key_name_length +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(tmp_buf, key_name_length);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_where_part(
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type
-) {
- int error_num;
- spider_string *str, *str_part = NULL, *str_part2 = NULL;
- bool set_order;
- DBUG_ENTER("spider_oracle_handler::append_key_where_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- set_order = FALSE;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- set_order = FALSE;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- set_order = FALSE;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- ha_read_pos = str->length();
- str_part = &sql_part;
- str_part2 = &sql_part2;
- str_part->length(0);
- str_part2->length(0);
- set_order = TRUE;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_where(str, str_part, str_part2, start_key, end_key,
- sql_type, set_order);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_where(
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type,
- bool set_order
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_key_where");
- error_num = spider_db_append_key_where_internal(str, str_part, str_part2,
- start_key, end_key, spider, set_order, sql_type,
- spider_dbton_oracle.dbton_id);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_is_null_part(
- ulong sql_type,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
-) {
- int error_num;
- spider_string *str, *str_part = NULL, *str_part2 = NULL;
- DBUG_ENTER("spider_oracle_handler::append_is_null_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- str_part = &sql_part;
- str_part2 = &sql_part2;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_is_null(sql_type, str, str_part, str_part2,
- key_part, key, ptr, key_eq);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_is_null(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
-) {
- DBUG_ENTER("spider_oracle_handler::append_is_null");
- DBUG_PRINT("info",("spider this=%p", this));
- if (key_part->null_bit)
- {
- if (*(*ptr)++)
- {
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- str = str_part;
- if (
- key_eq ||
- key->flag == HA_READ_KEY_EXACT ||
- key->flag == HA_READ_KEY_OR_NEXT
- ) {
- if (str->reserve(SPIDER_SQL_IS_NULL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
- } else {
- str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
- ha_next_pos = str->length();
- if (str->reserve(SPIDER_SQL_FIRST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
- spider->result_list.ha_read_kind = 1;
- }
- str = str_part2;
- }
- if (
- key_eq ||
- key->flag == HA_READ_KEY_EXACT ||
- key->flag == HA_READ_KEY_OR_NEXT
- ) {
- if (str->reserve(SPIDER_SQL_IS_NULL_LEN +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- oracle_share->column_name_str[key_part->field->field_index].length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, key_part->field->field_index);
- str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_IS_NOT_NULL_LEN +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- oracle_share->column_name_str[key_part->field->field_index].length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, key_part->field->field_index);
- str->q_append(SPIDER_SQL_IS_NOT_NULL_STR, SPIDER_SQL_IS_NOT_NULL_LEN);
- }
- DBUG_RETURN(-1);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_where_terminator_part(
- ulong sql_type,
- bool set_order,
- int key_count
-) {
- int error_num;
- spider_string *str, *str_part = NULL, *str_part2 = NULL;
- DBUG_ENTER("spider_oracle_handler::append_where_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- str_part = &sql_part;
- str_part2 = &sql_part2;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_where_terminator(sql_type, str, str_part, str_part2,
- set_order, key_count);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_where_terminator(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- bool set_order,
- int key_count
-) {
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- DBUG_ENTER("spider_oracle_handler::append_where_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type != SPIDER_SQL_TYPE_HANDLER)
- {
- str->length(str->length() - SPIDER_SQL_AND_LEN);
- if (!set_order)
- result_list->key_order = key_count;
- } else {
- str_part2->length(str_part2->length() - SPIDER_SQL_AND_LEN);
-
- str_part->length(str_part->length() - SPIDER_SQL_COMMA_LEN);
- if (!result_list->ha_read_kind)
- str_part->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- if (str->append(*str_part))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- uint clause_length = str->length() - ha_next_pos;
- if (clause_length < SPIDER_SQL_NEXT_LEN)
- {
- int roop_count;
- clause_length = SPIDER_SQL_NEXT_LEN - clause_length;
- if (str->reserve(clause_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- for (roop_count = 0; roop_count < (int) clause_length; roop_count++)
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_match_where_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_match_where_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
- }
- error_num = append_match_where(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_match_where(
- spider_string *str
-) {
- int error_num;
- bool first = TRUE;
- st_spider_ft_info *ft_info = spider->ft_first;
- DBUG_ENTER("spider_oracle_handler::append_match_where");
- if (spider->ft_current)
- {
- while (TRUE)
- {
- if (ft_info->used_in_where)
- {
- if (first)
- {
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- first = FALSE;
- }
- if ((error_num = append_match_against(str, ft_info, NULL, 0)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
-
- if (ft_info == spider->ft_current)
- break;
- ft_info = ft_info->next;
- }
- if (!first)
- str->length(str->length() - SPIDER_SQL_AND_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_update_where(
- spider_string *str,
- const TABLE *table,
- my_ptrdiff_t ptr_diff
-) {
- uint field_name_length;
- Field **field;
- SPIDER_SHARE *share = spider->share;
- DBUG_ENTER("spider_oracle_handler::append_update_where");
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- for (field = table->field; *field; field++)
- {
- if (
- table->s->primary_key == MAX_KEY ||
- bitmap_is_set(table->read_set, (*field)->field_index)
- ) {
- field_name_length =
- oracle_share->column_name_str[(*field)->field_index].length();
- if ((*field)->is_null(ptr_diff))
- {
- if (str->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_IS_NULL_LEN + SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
- } else {
- if (str->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_EQUAL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
- (*field)->move_field_offset(ptr_diff);
- if (
- spider_db_oracle_utility.
- append_column_value(spider, str, *field, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_AND_LEN)
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- (*field)->move_field_offset(-ptr_diff);
- }
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
- }
-/*
- str->length(str->length() - SPIDER_SQL_AND_LEN);
-*/
- if (str->reserve(SPIDER_SQL_LIMIT1_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LIMIT1_STR, SPIDER_SQL_LIMIT1_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_condition_part(
- const char *alias,
- uint alias_length,
- ulong sql_type,
- bool test_flg
-) {
- int error_num;
- spider_string *str;
- bool start_where = FALSE;
- DBUG_ENTER("spider_oracle_handler::append_condition_part");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- DBUG_PRINT("info",("spider case1 sql_type=%lu", sql_type));
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &sql;
- start_where = ((int) str->length() == where_pos);
- }
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- DBUG_PRINT("info",("spider case1 sql_type=%lu", sql_type));
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &tmp_sql;
- start_where = ((int) str->length() == where_pos);
- }
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- DBUG_PRINT("info",("spider case2 sql_type=%lu", sql_type));
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &update_sql;
- start_where = ((int) str->length() == where_pos);
- }
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- DBUG_PRINT("info",("spider case3 sql_type=%lu", sql_type));
- if (test_flg)
- {
- str = NULL;
- } else {
- str = &ha_sql;
- start_where = TRUE;
- if (spider->active_index == MAX_KEY)
- {
- set_where_pos(SPIDER_SQL_TYPE_HANDLER);
- if (str->reserve(SPIDER_SQL_READ_LEN + SPIDER_SQL_FIRST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_READ_STR, SPIDER_SQL_READ_LEN);
- ha_next_pos = str->length();
- str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
- sql_part2.length(0);
- }
- ha_where_pos = str->length();
-
- if (sql_part2.length())
- {
- str->append(sql_part2);
- start_where = FALSE;
- }
- }
- break;
- default:
- DBUG_PRINT("info",("spider default sql_type=%lu", sql_type));
- DBUG_RETURN(0);
- }
- error_num = append_condition(str, alias, alias_length, start_where,
- sql_type);
- DBUG_PRINT("info",("spider str=%s", str ? str->c_ptr_safe() : "NULL"));
- DBUG_PRINT("info",("spider length=%u", str ? str->length() : 0));
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_condition(
- spider_string *str,
- const char *alias,
- uint alias_length,
- bool start_where,
- ulong sql_type
-) {
- int error_num, restart_pos = 0, start_where_pos;
- SPIDER_CONDITION *tmp_cond = spider->condition;
- DBUG_ENTER("spider_oracle_handler::append_condition");
- DBUG_PRINT("info",("spider str=%p", str));
- DBUG_PRINT("info",("spider alias=%p", alias));
- DBUG_PRINT("info",("spider alias_length=%u", alias_length));
- DBUG_PRINT("info",("spider start_where=%s", start_where ? "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider sql_type=%lu", sql_type));
- if (str && start_where)
- {
- start_where_pos = str->length();
- } else {
- start_where_pos = 0;
- }
-
- if (spider->is_clone && !tmp_cond)
- {
- tmp_cond = spider->pt_clone_source_handler->condition;
- }
-
- while (tmp_cond)
- {
- if (str)
- {
- restart_pos = str->length();
- if (start_where)
- {
- if (str->reserve(SPIDER_SQL_WHERE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- start_where = FALSE;
- } else {
- if (str->reserve(SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- }
- }
- if ((error_num = spider_db_print_item_type(
- (Item *) tmp_cond->cond, spider, str, alias, alias_length,
- spider_dbton_oracle.dbton_id)))
- {
- if (str && error_num == ER_SPIDER_COND_SKIP_NUM)
- {
- DBUG_PRINT("info",("spider COND skip"));
- str->length(restart_pos);
- start_where = (restart_pos == start_where_pos);
- } else
- DBUG_RETURN(error_num);
- }
- tmp_cond = tmp_cond->next;
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_match_against_part(
- ulong sql_type,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_match_against_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_match_against(str, ft_info, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_match_against(
- spider_string *str,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
-) {
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- String *ft_init_key;
- KEY *key_info;
- uint key_name_length;
- int key_count;
- KEY_PART_INFO *key_part;
- Field *field;
- DBUG_ENTER("spider_oracle_handler::append_match_against");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_MATCH_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
-
- ft_init_key = ft_info->key;
- key_info = &table->key_info[ft_info->inx];
- DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
- spider_user_defined_key_parts(key_info)));
-
- for (
- key_part = key_info->key_part,
- key_count = 0;
- key_count < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- key_count++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (alias_length)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- } else {
- if (str->reserve(key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_AGAINST_LEN + SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
-
- char buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(buf, MAX_FIELD_WIDTH, share->access_charset);
- tmp_str.init_calc_mem(211);
- tmp_str.length(0);
- if (
- tmp_str.append(ft_init_key->ptr(), ft_init_key->length(),
- ft_init_key->charset()) ||
- str->reserve(tmp_str.length() * 2) ||
- spider_db_oracle_utility.append_escaped_util(str, tmp_str.get_str())
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-
- if (str->reserve(
- SPIDER_SQL_VALUE_QUOTE_LEN + SPIDER_SQL_CLOSE_PAREN_LEN +
- ((ft_info->flags & FT_BOOL) ? SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
- ((ft_info->flags & FT_EXPAND) ?
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
- ))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
- if (ft_info->flags & FT_BOOL)
- str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
- SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
- if (ft_info->flags & FT_EXPAND)
- str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
- SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_match_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_match_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_match_select(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_match_select(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_match_select");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider->ft_current)
- {
- st_spider_ft_info *ft_info = spider->ft_first;
- while (TRUE)
- {
- if ((error_num = append_match_against(str, ft_info,
- alias, alias_length)))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- if (ft_info == spider->ft_current)
- break;
- ft_info = ft_info->next;
- }
- }
- DBUG_RETURN(0);
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_oracle_handler::append_sum_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_sum_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_sum_select(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_sum_select(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- st_select_lex *select_lex;
- DBUG_ENTER("spider_oracle_handler::append_sum_select");
- DBUG_PRINT("info",("spider this=%p", this));
- select_lex = spider_get_select_lex(spider);
- JOIN *join = select_lex->join;
- Item_sum **item_sum_ptr;
- for (item_sum_ptr = join->sum_funcs; *item_sum_ptr; ++item_sum_ptr)
- {
- if ((error_num = spider_db_oracle_utility.open_item_sum_func(*item_sum_ptr,
- spider, str, alias, alias_length)))
- {
- DBUG_RETURN(error_num);
- }
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-void spider_oracle_handler::set_order_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::set_order_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- order_pos = sql.length();
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- order_pos = update_sql.length();
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_next_pos = ha_sql.length();
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_oracle_handler::set_order_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::set_order_to_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- sql.length(order_pos);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- update_sql.length(order_pos);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- ha_sql.length(ha_next_pos);
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
-int spider_oracle_handler::append_group_by(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- st_select_lex *select_lex;
- DBUG_ENTER("spider_oracle_handler::append_group_by");
- DBUG_PRINT("info",("spider this=%p", this));
- select_lex = spider_get_select_lex(spider);
- ORDER *group = (ORDER *) select_lex->group_list.first;
- if (group)
- {
- if (str->reserve(SPIDER_SQL_GROUP_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
- for (; group; group = group->next)
- {
- if ((error_num = spider_db_print_item_type((*group->item), spider, str,
- alias, alias_length, spider_dbton_oracle.dbton_id)))
- {
- DBUG_RETURN(error_num);
- }
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-#endif
-
-int spider_oracle_handler::append_key_order_for_merge_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_key_order_for_merge_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- ha_limit_pos = ha_sql.length();
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_order_for_merge_with_alias(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_order_for_merge_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- /* sort for index merge */
- TABLE *table = spider->get_table();
- int length;
- Field *field;
- uint key_name_length;
- DBUG_ENTER("spider_oracle_handler::append_key_order_for_merge_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (spider->result_list.direct_aggregate)
- {
- int error_num;
- if ((error_num = append_group_by(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- }
-#endif
- if (
- spider->result_list.direct_order_limit ||
- spider->result_list.internal_limit < 9223372036854775807LL ||
- spider->result_list.split_read < 9223372036854775807LL ||
- spider->result_list.internal_offset
- ) {
- if (update_rownum_appended || select_rownum_appended)
- {
- if (str->reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- order_pos = str->length();
- limit_pos = str->length();
- DBUG_RETURN(0);
- }
- sql_part.length(0);
- if (str == &update_sql)
- {
- if (sql_part.reserve(str->length() + SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(str->ptr(), where_pos);
- sql_part.q_append(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR,
- SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN);
- } else {
- if (sql_part.reserve(str->length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
- SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
- sql_part.q_append(str->ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
- }
- if (table->s->primary_key < MAX_KEY)
- {
- /* sort by primary key */
- KEY *key_info = &table->key_info[table->s->primary_key];
- KEY_PART_INFO *key_part;
- for (
- key_part = key_info->key_part,
- length = 1;
- length <= (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (sql_part.reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(alias, alias_length);
- oracle_share->append_column_name(&sql_part, field->field_index);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- } else {
- /* sort by all columns */
- Field **fieldp;
- for (
- fieldp = table->field, length = 1;
- *fieldp;
- fieldp++, length++
- ) {
- key_name_length =
- oracle_share->column_name_str[(*fieldp)->field_index].length();
- if (sql_part.reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(alias, alias_length);
- oracle_share->append_column_name(&sql_part, (*fieldp)->field_index);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- uint pos_diff;
- if (str == &update_sql)
- {
- uint table_name_size = (update_set_pos ? update_set_pos : where_pos) -
- table_name_pos;
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
- SPIDER_SQL_FROM_LEN + table_name_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
- sql_part.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- sql_part.q_append(str->ptr() + table_name_pos, table_name_size);
- pos_diff = sql_part.length() - where_pos;
- sql_part.q_append(str->ptr() + where_pos, str->length() - where_pos);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- update_rownum_appended = TRUE;
- } else {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
- SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
- pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
- sql_part.q_append(str->ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
- str->length() - table_name_pos + SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- select_rownum_appended = TRUE;
- table_name_pos = table_name_pos + pos_diff;
- }
- if (str->copy(sql_part))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- where_pos = where_pos + pos_diff;
- order_pos = str->length();
- limit_pos = str->length();
- DBUG_RETURN(0);
- }
- if (table->s->primary_key < MAX_KEY)
- {
- /* sort by primary key */
- KEY *key_info = &table->key_info[table->s->primary_key];
- KEY_PART_INFO *key_part;
- for (
- key_part = key_info->key_part,
- length = 1;
- length <= (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (length > 1)
- {
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- } else {
- /* sort by all columns */
- Field **fieldp;
- for (
- fieldp = table->field, length = 1;
- *fieldp;
- fieldp++, length++
- ) {
- key_name_length =
- oracle_share->column_name_str[(*fieldp)->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, (*fieldp)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- if (length > 1)
- {
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- }
- limit_pos = str->length();
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_order_for_direct_order_limit_with_alias(
- str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- int error_num;
- ORDER *order;
- st_select_lex *select_lex;
- longlong select_limit;
- longlong offset_limit;
- DBUG_ENTER("spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (spider->result_list.direct_aggregate)
- {
- if ((error_num = append_group_by(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- }
-#endif
- spider_get_select_limit(spider, &select_lex, &select_limit,
- &offset_limit);
- if (
- spider->result_list.direct_order_limit ||
- spider->result_list.internal_limit < 9223372036854775807LL ||
- spider->result_list.split_read < 9223372036854775807LL ||
- spider->result_list.internal_offset
- ) {
- if (update_rownum_appended || select_rownum_appended)
- {
- if (str->reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- order_pos = str->length();
- limit_pos = str->length();
- DBUG_RETURN(0);
- }
- sql_part.length(0);
- if (str == &update_sql)
- {
- if (sql_part.reserve(str->length() + SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(str->ptr(), where_pos);
- sql_part.q_append(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR,
- SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN);
- } else {
- if (sql_part.reserve(str->length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
- SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
- sql_part.q_append(str->ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
- }
- bool all_desc = TRUE;
- if (select_lex->order_list.first)
- {
- for (order = (ORDER *) select_lex->order_list.first; order;
- order = order->next)
- {
- if ((error_num =
- spider_db_print_item_type((*order->item), spider, &sql_part, alias,
- alias_length, spider_dbton_oracle.dbton_id)))
- {
- DBUG_PRINT("info",("spider error=%d", error_num));
- DBUG_RETURN(error_num);
- }
- if (order->asc)
- {
- if (sql_part.reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- all_desc = FALSE;
- } else {
- if (sql_part.reserve(SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- } else {
- all_desc = FALSE;
- }
- uint pos_diff;
- if (str == &update_sql)
- {
- uint table_name_size = (update_set_pos ? update_set_pos : where_pos) -
- table_name_pos;
- if (all_desc)
- {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
- SPIDER_SQL_FROM_LEN + table_name_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
- } else {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
- SPIDER_SQL_FROM_LEN + table_name_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
- }
- sql_part.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- sql_part.q_append(str->ptr() + table_name_pos, table_name_size);
- pos_diff = sql_part.length() - where_pos;
- sql_part.q_append(str->ptr() + where_pos, str->length() - where_pos);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- update_rownum_appended = TRUE;
- } else {
- if (all_desc)
- {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
- SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
- } else {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
- SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
- }
- pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
- sql_part.q_append(str->ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
- str->length() - table_name_pos + SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- select_rownum_appended = TRUE;
- table_name_pos = table_name_pos + pos_diff;
- }
- if (str->copy(sql_part))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- where_pos = where_pos + pos_diff;
- order_pos = str->length();
- limit_pos = str->length();
- DBUG_RETURN(0);
- }
- if (select_lex->order_list.first)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- for (order = (ORDER *) select_lex->order_list.first; order;
- order = order->next)
- {
- if ((error_num =
- spider_db_print_item_type((*order->item), spider, str, alias,
- alias_length, spider_dbton_oracle.dbton_id)))
- {
- DBUG_PRINT("info",("spider error=%d", error_num));
- DBUG_RETURN(error_num);
- }
- if (order->asc)
- {
- if (str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- limit_pos = str->length();
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_order_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_key_order_with_alias_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- error_num = append_key_order_for_handler(str, alias, alias_length);
- DBUG_RETURN(error_num);
- default:
- DBUG_RETURN(0);
- }
- error_num = append_key_order_with_alias(str, alias, alias_length);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_key_order_for_handler(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- DBUG_ENTER("spider_oracle_handler::append_key_order_for_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider ha_next_pos=%d", ha_next_pos));
- DBUG_PRINT("info",("spider ha_where_pos=%d", ha_where_pos));
- str->q_append(alias, alias_length);
- memset((char *) str->ptr() + str->length(), ' ',
- ha_where_pos - ha_next_pos - alias_length);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_key_order_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
-) {
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- KEY *key_info = result_list->key_info;
- int length;
- KEY_PART_INFO *key_part;
- Field *field;
- uint key_name_length;
- DBUG_ENTER("spider_oracle_handler::append_key_order_with_alias");
- DBUG_PRINT("info",("spider this=%p", this));
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- if (spider->result_list.direct_aggregate)
- {
- int error_num;
- if ((error_num = append_group_by(str, alias, alias_length)))
- DBUG_RETURN(error_num);
- }
-#endif
- if (
- spider->result_list.direct_order_limit ||
- spider->result_list.internal_limit < 9223372036854775807LL ||
- spider->result_list.split_read < 9223372036854775807LL ||
- spider->result_list.internal_offset
- ) {
- if (update_rownum_appended || select_rownum_appended)
- {
- if (str->reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- order_pos = str->length();
- limit_pos = str->length();
- DBUG_RETURN(0);
- }
- sql_part.length(0);
- if (str == &update_sql)
- {
- if (sql_part.reserve(str->length() + SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(str->ptr(), where_pos);
- sql_part.q_append(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR,
- SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN);
- } else {
- if (sql_part.reserve(str->length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
- SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
- sql_part.q_append(str->ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
- }
- if (result_list->sorted == TRUE)
- {
- if (result_list->desc_flg == TRUE)
- {
- for (
- key_part = key_info->key_part + result_list->key_order,
- length = 1;
- length + result_list->key_order <=
- (int) spider_user_defined_key_parts(key_info) &&
- length <= result_list->max_order;
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql_part.reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(alias, alias_length);
- oracle_share->append_column_name(&sql_part, field->field_index);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql_part.reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(alias, alias_length);
- oracle_share->append_column_name(&sql_part, field->field_index);
- sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- } else {
- for (
- key_part = key_info->key_part + result_list->key_order,
- length = 1;
- length + result_list->key_order <=
- (int) spider_user_defined_key_parts(key_info) &&
- length <= result_list->max_order;
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql_part.reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(alias, alias_length);
- oracle_share->append_column_name(&sql_part, field->field_index);
- sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql_part.reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(alias, alias_length);
- oracle_share->append_column_name(&sql_part, field->field_index);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- }
- }
- uint pos_diff;
- if (str == &update_sql)
- {
- uint table_name_size = (update_set_pos ? update_set_pos : where_pos) -
- table_name_pos;
- if (result_list->sorted == TRUE && result_list->desc_flg == TRUE)
- {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
- SPIDER_SQL_FROM_LEN + table_name_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
- } else {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
- SPIDER_SQL_FROM_LEN + table_name_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
- }
- sql_part.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- sql_part.q_append(str->ptr() + table_name_pos,
- table_name_size);
- pos_diff = sql_part.length() - where_pos;
- sql_part.q_append(str->ptr() + where_pos, str->length() - where_pos);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- update_rownum_appended = TRUE;
- } else {
- if (result_list->sorted == TRUE && result_list->desc_flg == TRUE)
- {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
- SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
- } else {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
- SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
- }
- pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
- sql_part.q_append(str->ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
- str->length() - table_name_pos + SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- select_rownum_appended = TRUE;
- table_name_pos = table_name_pos + pos_diff;
- }
- if (str->copy(sql_part))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- where_pos = where_pos + pos_diff;
- order_pos = str->length();
- limit_pos = str->length();
- DBUG_RETURN(0);
- }
- if (result_list->sorted == TRUE)
- {
- if (result_list->desc_flg == TRUE)
- {
- for (
- key_part = key_info->key_part + result_list->key_order,
- length = 1;
- length + result_list->key_order <
- (int) spider_user_defined_key_parts(key_info) &&
- length < result_list->max_order;
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if (
- length + result_list->key_order <=
- (int) spider_user_defined_key_parts(key_info) &&
- length <= result_list->max_order
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- }
- }
- } else {
- for (
- key_part = key_info->key_part + result_list->key_order,
- length = 1;
- length + result_list->key_order <
- (int) spider_user_defined_key_parts(key_info) &&
- length < result_list->max_order;
- key_part++,
- length++
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if (
- length + result_list->key_order <=
- (int) spider_user_defined_key_parts(key_info) &&
- length <= result_list->max_order
- ) {
- field = key_part->field;
- key_name_length =
- oracle_share->column_name_str[field->field_index].length();
- if (length == 1)
- {
- if (str->reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- }
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- } else {
- if (str->reserve(alias_length + key_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(alias, alias_length);
- oracle_share->append_column_name(str, field->field_index);
- }
- }
- }
- }
- limit_pos = str->length();
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_limit_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- limit_pos = str->length();
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- limit_pos = str->length();
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- limit_pos = str->length();
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- ha_limit_pos = str->length();
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_limit(str, offset, limit);
- DBUG_PRINT("info",("spider str=%s", str->c_ptr_safe()));
- DBUG_PRINT("info",("spider length=%u", str->length()));
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::reappend_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::reappend_limit_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- str->length(limit_pos);
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- str->length(limit_pos);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- str->length(limit_pos);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- str->length(ha_limit_pos);
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_limit(str, offset, limit);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_limit(
- spider_string *str,
- longlong offset,
- longlong limit
-) {
- char buf[SPIDER_LONGLONG_LEN + 1];
- uint32 length;
- DBUG_ENTER("spider_oracle_handler::append_limit");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info", ("spider offset=%lld", offset));
- DBUG_PRINT("info", ("spider limit=%lld", limit));
- if (offset || limit < 9223372036854775807LL)
- {
- if ((int) str->length() == where_pos)
- {
- if (offset)
- {
- int error_num;
- if ((error_num = append_key_order_for_direct_order_limit_with_alias(
- str, NULL, 0)))
- DBUG_RETURN(error_num);
- } else {
- if (str->reserve(SPIDER_SQL_WHERE_LEN + SPIDER_SQL_ROWNUM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- str->q_append(SPIDER_SQL_ROWNUM_STR, SPIDER_SQL_ROWNUM_LEN);
- }
- }
- if (offset)
- {
- if (str->reserve(SPIDER_SQL_BETWEEN_LEN + SPIDER_SQL_AND_LEN +
- ((SPIDER_LONGLONG_LEN) * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_BETWEEN_STR, SPIDER_SQL_BETWEEN_LEN);
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset + 1);
- str->q_append(buf, length);
- str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit + offset);
- str->q_append(buf, length);
- } else {
- if (str->reserve(SPIDER_SQL_HS_LTEQUAL_LEN +
- (SPIDER_LONGLONG_LEN)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HS_LTEQUAL_STR, SPIDER_SQL_HS_LTEQUAL_LEN);
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
- str->q_append(buf, length);
- }
- if (update_rownum_appended)
- {
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_select_lock_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_select_lock_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_select_lock(str);
- DBUG_PRINT("info",("spider str=%s", str->c_ptr_safe()));
- DBUG_PRINT("info",("spider length=%u", str->length()));
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_select_lock(
- spider_string *str
-) {
- int lock_mode = spider_conn_lock_mode(spider);
- DBUG_ENTER("spider_oracle_handler::append_select_lock");
- DBUG_PRINT("info",("spider this=%p", this));
- if (select_rownum_appended)
- {
- table_lock_mode = lock_mode;
- } else {
- if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
- {
- if (str->reserve(SPIDER_SQL_FOR_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
- } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
- {
- if (str->reserve(SPIDER_SQL_FOR_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_union_all_start_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_union_all_start_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_all_start(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_union_all_start(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_union_all_start");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_union_all_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_union_all_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_all(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_union_all(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_union_all");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_UNION_ALL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_union_all_end_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_union_all_end_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_union_all_end(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_union_all_end(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_union_all_end");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(str->length() -
- SPIDER_SQL_UNION_ALL_LEN + SPIDER_SQL_CLOSE_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_multi_range_cnt_part(
- ulong sql_type,
- uint multi_range_cnt,
- bool with_comma
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_multi_range_cnt(str, multi_range_cnt, with_comma);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_multi_range_cnt(
- spider_string *str,
- uint multi_range_cnt,
- bool with_comma
-) {
- int range_cnt_length;
- char range_cnt_str[SPIDER_SQL_INT_LEN];
- DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt");
- DBUG_PRINT("info",("spider this=%p", this));
- range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
- multi_range_cnt));
- if (with_comma)
- {
- if (str->reserve(range_cnt_length + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(range_cnt_str, range_cnt_length);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (str->reserve(range_cnt_length))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(range_cnt_str, range_cnt_length);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_multi_range_cnt_with_name_part(
- ulong sql_type,
- uint multi_range_cnt
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt_with_name_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- str = &sql;
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- str = &tmp_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_multi_range_cnt_with_name(str, multi_range_cnt);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_multi_range_cnt_with_name(
- spider_string *str,
- uint multi_range_cnt
-) {
- int range_cnt_length;
- char range_cnt_str[SPIDER_SQL_INT_LEN];
- DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt_with_name");
- DBUG_PRINT("info",("spider this=%p", this));
- range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
- multi_range_cnt));
- if (str->reserve(range_cnt_length + SPIDER_SQL_SPACE_LEN +
- SPIDER_SQL_ID_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(range_cnt_str, range_cnt_length);
- str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_open_handler_part(
- ulong sql_type,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_open_handler_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_open_handler(str, handler_id, conn, link_idx);
- exec_ha_sql = str;
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_open_handler(
- spider_string *str,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_open_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider link_idx=%d", link_idx));
- DBUG_PRINT("info",("spider m_handler_cid=%s",
- spider->m_handler_cid[link_idx]));
- if (str->reserve(SPIDER_SQL_HANDLER_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
- if ((error_num = oracle_share->append_table_name(str,
- spider->conn_link_idx[link_idx])))
- DBUG_RETURN(error_num);
- if (str->reserve(SPIDER_SQL_OPEN_LEN + SPIDER_SQL_AS_LEN +
- SPIDER_SQL_HANDLER_CID_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_OPEN_STR, SPIDER_SQL_OPEN_LEN);
- str->q_append(SPIDER_SQL_AS_STR, SPIDER_SQL_AS_LEN);
- str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_close_handler_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_close_handler_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_close_handler(str, link_idx);
- exec_ha_sql = str;
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_close_handler(
- spider_string *str,
- int link_idx
-) {
- DBUG_ENTER("spider_oracle_handler::append_close_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_HANDLER_LEN + SPIDER_SQL_CLOSE_LEN +
- SPIDER_SQL_HANDLER_CID_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
- str->q_append(spider->m_handler_cid[link_idx],
- SPIDER_SQL_HANDLER_CID_LEN);
- str->q_append(SPIDER_SQL_CLOSE_STR, SPIDER_SQL_CLOSE_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_insert_terminator_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_insert_terminator_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- str = &insert_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_insert_terminator(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_insert_terminator(
- spider_string *str
-) {
- DBUG_ENTER("spider_oracle_handler::append_insert_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider->result_list.insert_dup_update_pushdown)
- {
- DBUG_PRINT("info",("spider add duplicate key update"));
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN +
- dup_update_sql.length()))
- {
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_DUPLICATE_KEY_UPDATE_STR,
- SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN);
- if (str->append(dup_update_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- } else {
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_insert_values_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_insert_values_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- str = &insert_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_insert_values(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_insert_values(
- spider_string *str
-) {
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- Field **field;
- bool add_value = FALSE;
- DBUG_ENTER("spider_oracle_handler::append_insert_values");
- DBUG_PRINT("info",("spider this=%p", this));
- nextval_pos = 0;
- if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- {
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- DBUG_PRINT("info",("spider field_index=%u", (*field)->field_index));
- if (
- bitmap_is_set(table->write_set, (*field)->field_index) ||
- bitmap_is_set(table->read_set, (*field)->field_index)
- ) {
-#ifndef DBUG_OFF
- my_bitmap_map *tmp_map =
- dbug_tmp_use_all_columns(table, table->read_set);
-#endif
- add_value = TRUE;
- DBUG_PRINT("info",("spider is_null()=%s",
- (*field)->is_null() ? "TRUE" : "FALSE"));
- DBUG_PRINT("info",("spider table->next_number_field=%p",
- table->next_number_field));
- DBUG_PRINT("info",("spider *field=%p", *field));
- DBUG_PRINT("info",("spider force_auto_increment=%s",
- (table->next_number_field && spider->force_auto_increment) ?
- "TRUE" : "FALSE"));
- if (
- table->next_number_field == *field &&
- !table->auto_increment_field_not_null &&
- !spider->force_auto_increment
- ) {
- nextval_pos = str->length();
- if (str->reserve(oracle_share->nextval_max_length +
- SPIDER_SQL_COMMA_LEN))
- {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->length(str->length() + oracle_share->nextval_max_length);
- } else if ((*field)->is_null())
- {
- if (str->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
- {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else {
- if (
- spider_db_oracle_utility.
- append_column_value(spider, str, *field, NULL,
- share->access_charset) ||
- str->reserve(SPIDER_SQL_COMMA_LEN)
- ) {
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- }
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
-#ifndef DBUG_OFF
- dbug_tmp_restore_column_map(table->read_set, tmp_map);
-#endif
- }
- }
- if (add_value)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
- {
- str->length(0);
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_into_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_into_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- str = &insert_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_into(str);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_into(
- spider_string *str
-) {
- const TABLE *table = spider->get_table();
- Field **field;
- uint field_name_length = 0;
- DBUG_ENTER("spider_oracle_handler::append_into");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_INTO_LEN + oracle_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- insert_table_name_pos = str->length();
- append_table_name_with_adjusting(str, first_link_idx,
- SPIDER_SQL_TYPE_INSERT_SQL);
- str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- for (field = table->field; *field; field++)
- {
- if (
- bitmap_is_set(table->write_set, (*field)->field_index) ||
- bitmap_is_set(table->read_set, (*field)->field_index)
- ) {
- field_name_length =
- oracle_share->column_name_str[(*field)->field_index].length();
- if (str->reserve(field_name_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- oracle_share->append_column_name(str, (*field)->field_index);
- str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- if (field_name_length)
- str->length(str->length() - SPIDER_SQL_COMMA_LEN);
- if (str->reserve(SPIDER_SQL_VALUES_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- insert_pos = str->length();
- DBUG_RETURN(0);
-}
-
-void spider_oracle_handler::set_insert_to_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::set_insert_to_pos");
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- insert_sql.length(insert_pos);
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_handler::append_from_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_from_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_HANDLER:
- str = &ha_sql;
- break;
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- str = &update_sql;
- break;
- default:
- str = &sql;
- break;
- }
- error_num = append_from(str, sql_type, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_from(
- spider_string *str,
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_oracle_handler::append_from");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider link_idx=%d", link_idx));
- if (sql_type == SPIDER_SQL_TYPE_HANDLER)
- {
- ha_table_name_pos = str->length();
- DBUG_PRINT("info",("spider ha_table_name_pos=%u", ha_table_name_pos));
- ha_sql_handler_id = spider->m_handler_id[link_idx];
- DBUG_PRINT("info",("spider ha_sql_handler_id=%u", ha_sql_handler_id));
- if (str->reserve(SPIDER_SQL_HANDLER_CID_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
- DBUG_PRINT("info",("spider m_handler_cid=%s",
- spider->m_handler_cid[link_idx]));
- } else {
- if (str->reserve(SPIDER_SQL_FROM_LEN + oracle_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- table_name_pos = str->length();
- append_table_name_with_adjusting(str, link_idx, sql_type);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_flush_tables_part(
- ulong sql_type,
- int link_idx,
- bool lock
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_flush_tables_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_flush_tables(str, link_idx, lock);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_flush_tables(
- spider_string *str,
- int link_idx,
- bool lock
-) {
- DBUG_ENTER("spider_oracle_handler::append_flush_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- if (lock)
- {
- if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN +
- SPIDER_SQL_WITH_READ_LOCK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
- str->q_append(SPIDER_SQL_WITH_READ_LOCK_STR,
- SPIDER_SQL_WITH_READ_LOCK_LEN);
- } else {
- if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_optimize_table_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_optimize_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_optimize_table(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_optimize_table(
- spider_string *str,
- int link_idx
-) {
- SPIDER_SHARE *share = spider->share;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- int local_length = spider_param_internal_optimize_local(spider->trx->thd,
- share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
- DBUG_ENTER("spider_oracle_handler::append_optimize_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_OPTIMIZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
- local_length +
- oracle_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- oracle_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_OPTIMIZE_STR, SPIDER_SQL_SQL_OPTIMIZE_LEN);
- if (local_length)
- str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
- str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
- oracle_share->append_table_name(str, conn_link_idx);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_analyze_table_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_analyze_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_analyze_table(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_analyze_table(
- spider_string *str,
- int link_idx
-) {
- SPIDER_SHARE *share = spider->share;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- int local_length = spider_param_internal_optimize_local(spider->trx->thd,
- share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
- DBUG_ENTER("spider_oracle_handler::append_analyze_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_ANALYZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
- local_length +
- oracle_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- oracle_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_ANALYZE_STR, SPIDER_SQL_SQL_ANALYZE_LEN);
- if (local_length)
- str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
- str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
- oracle_share->append_table_name(str, conn_link_idx);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_repair_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_repair_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_repair_table(str, link_idx, check_opt);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_repair_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- SPIDER_SHARE *share = spider->share;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- int local_length = spider_param_internal_optimize_local(spider->trx->thd,
- share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
- DBUG_ENTER("spider_oracle_handler::append_repair_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_REPAIR_LEN + SPIDER_SQL_SQL_TABLE_LEN +
- local_length +
- oracle_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- oracle_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_REPAIR_STR, SPIDER_SQL_SQL_REPAIR_LEN);
- if (local_length)
- str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
- str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
- oracle_share->append_table_name(str, conn_link_idx);
- if (check_opt->flags & T_QUICK)
- {
- if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
- }
- if (check_opt->flags & T_EXTEND)
- {
- if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
- }
- if (check_opt->sql_flags & TT_USEFRM)
- {
- if (str->reserve(SPIDER_SQL_SQL_USE_FRM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_USE_FRM_STR, SPIDER_SQL_SQL_USE_FRM_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_check_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_check_table_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_check_table(str, link_idx, check_opt);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_check_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int conn_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_oracle_handler::append_check_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_CHECK_TABLE_LEN +
- oracle_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- oracle_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_CHECK_TABLE_STR,
- SPIDER_SQL_SQL_CHECK_TABLE_LEN);
- oracle_share->append_table_name(str, conn_link_idx);
- if (check_opt->flags & T_QUICK)
- {
- if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
- }
- if (check_opt->flags & T_FAST)
- {
- if (str->reserve(SPIDER_SQL_SQL_FAST_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_FAST_STR, SPIDER_SQL_SQL_FAST_LEN);
- }
- if (check_opt->flags & T_MEDIUM)
- {
- if (str->reserve(SPIDER_SQL_SQL_MEDIUM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_MEDIUM_STR, SPIDER_SQL_SQL_MEDIUM_LEN);
- }
- if (check_opt->flags & T_EXTEND)
- {
- if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_enable_keys_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_enable_keys_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_enable_keys(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_enable_keys(
- spider_string *str,
- int link_idx
-) {
- int conn_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_oracle_handler::append_enable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
- oracle_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- oracle_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_ENABLE_KEYS_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
- SPIDER_SQL_SQL_ALTER_TABLE_LEN);
- oracle_share->append_table_name(str, conn_link_idx);
- str->q_append(SPIDER_SQL_SQL_ENABLE_KEYS_STR,
- SPIDER_SQL_SQL_ENABLE_KEYS_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_disable_keys_part(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_disable_keys_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_disable_keys(str, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_disable_keys(
- spider_string *str,
- int link_idx
-) {
- int conn_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_oracle_handler::append_disable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
- oracle_share->db_names_str[conn_link_idx].length() +
- SPIDER_SQL_DOT_LEN +
- oracle_share->table_names_str[conn_link_idx].length() +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_DISABLE_KEYS_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
- SPIDER_SQL_SQL_ALTER_TABLE_LEN);
- oracle_share->append_table_name(str, conn_link_idx);
- str->q_append(SPIDER_SQL_SQL_DISABLE_KEYS_STR,
- SPIDER_SQL_SQL_DISABLE_KEYS_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_delete_all_rows_part(
- ulong sql_type
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_delete_all_rows_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_DELETE_SQL:
- str = &update_sql;
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num = append_delete_all_rows(str, sql_type);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_delete_all_rows(
- spider_string *str,
- ulong sql_type
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_delete_all_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- if (spider->sql_command == SQLCOM_TRUNCATE)
- {
- if ((error_num = append_truncate(str, sql_type, first_link_idx)))
- DBUG_RETURN(error_num);
- } else {
- if (
- (error_num = append_delete(str)) ||
- (error_num = append_from(str, sql_type, first_link_idx))
- )
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_truncate(
- spider_string *str,
- ulong sql_type,
- int link_idx
-) {
- DBUG_ENTER("spider_oracle_handler::append_truncate");
- if (str->reserve(SPIDER_SQL_TRUNCATE_TABLE_LEN +
- oracle_share->db_nm_max_length +
- SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
- /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_TRUNCATE_TABLE_STR, SPIDER_SQL_TRUNCATE_TABLE_LEN);
- table_name_pos = str->length();
- append_table_name_with_adjusting(str, link_idx, sql_type);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_explain_select_part(
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- spider_string *str;
- DBUG_ENTER("spider_oracle_handler::append_explain_select_part");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_OTHER_SQL:
- str = &spider->result_list.sqls[link_idx];
- break;
- default:
- DBUG_RETURN(0);
- }
- error_num =
- append_explain_select(str, start_key, end_key, sql_type, link_idx);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::append_explain_select(
- spider_string *str,
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::append_explain_select");
- DBUG_PRINT("info",("spider this=%p", this));
- if (str->reserve(SPIDER_SQL_EXPLAIN_SELECT_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- str->q_append(SPIDER_SQL_EXPLAIN_SELECT_STR, SPIDER_SQL_EXPLAIN_SELECT_LEN);
- if (
- (error_num = append_from(str, sql_type, link_idx)) ||
- (error_num = append_key_where(str, NULL, NULL, start_key, end_key,
- sql_type, FALSE))
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_oracle_handler::is_bulk_insert_exec_period(
- bool bulk_end
-) {
- DBUG_ENTER("spider_oracle_handler::is_bulk_insert_exec_period");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_PRINT("info",("spider insert_sql.length=%u", insert_sql.length()));
- DBUG_PRINT("info",("spider insert_pos=%d", insert_pos));
- DBUG_PRINT("info",("spider insert_sql=%s", insert_sql.c_ptr_safe()));
- if (
-/*
- (bulk_end || (int) insert_sql.length() >= spider->bulk_size) &&
-*/
- (int) insert_sql.length() > insert_pos
- ) {
- DBUG_RETURN(TRUE);
- }
- DBUG_RETURN(FALSE);
-}
-
-bool spider_oracle_handler::sql_is_filled_up(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::sql_is_filled_up");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(filled_up);
-}
-
-bool spider_oracle_handler::sql_is_empty(
- ulong sql_type
-) {
- bool is_empty;
- DBUG_ENTER("spider_oracle_handler::sql_is_empty");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- is_empty = (sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- is_empty = (insert_sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- is_empty = (update_sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- is_empty = (tmp_sql.length() == 0);
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- is_empty = (ha_sql.length() == 0);
- break;
- default:
- is_empty = TRUE;
- break;
- }
- DBUG_RETURN(is_empty);
-}
-
-bool spider_oracle_handler::support_multi_split_read()
-{
- DBUG_ENTER("spider_oracle_handler::support_multi_split_read");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-bool spider_oracle_handler::support_bulk_update()
-{
- DBUG_ENTER("spider_oracle_handler::support_bulk_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_oracle_handler::bulk_tmp_table_insert()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = store_sql_to_bulk_tmp_table(&update_sql, upd_tmp_tbl);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::bulk_tmp_table_insert(
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = store_sql_to_bulk_tmp_table(
- &spider->result_list.update_sqls[link_idx],
- spider->result_list.upd_tmp_tbls[link_idx]);
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::bulk_tmp_table_end_bulk_insert()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_end_bulk_insert");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((error_num = upd_tmp_tbl->file->ha_end_bulk_insert()))
- {
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::bulk_tmp_table_rnd_init()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_rnd_init");
- DBUG_PRINT("info",("spider this=%p", this));
- upd_tmp_tbl->file->extra(HA_EXTRA_CACHE);
- if ((error_num = upd_tmp_tbl->file->ha_rnd_init(TRUE)))
- {
- DBUG_RETURN(error_num);
- }
- reading_from_bulk_tmp_table = TRUE;
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::bulk_tmp_table_rnd_next()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_rnd_next");
- DBUG_PRINT("info",("spider this=%p", this));
-#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50200
- error_num = upd_tmp_tbl->file->ha_rnd_next(upd_tmp_tbl->record[0]);
-#else
- error_num = upd_tmp_tbl->file->rnd_next(upd_tmp_tbl->record[0]);
-#endif
- if (!error_num)
- {
- error_num = restore_sql_from_bulk_tmp_table(&insert_sql, upd_tmp_tbl);
- }
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_handler::bulk_tmp_table_rnd_end()
-{
- int error_num;
- DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_rnd_end");
- DBUG_PRINT("info",("spider this=%p", this));
- reading_from_bulk_tmp_table = FALSE;
- if ((error_num = upd_tmp_tbl->file->ha_rnd_end()))
- {
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-bool spider_oracle_handler::need_copy_for_update(
- int link_idx
-) {
- int all_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_oracle_handler::need_copy_for_update");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(!oracle_share->same_db_table_name ||
- spider->share->link_statuses[all_link_idx] == SPIDER_LINK_STATUS_RECOVERY);
-}
-
-bool spider_oracle_handler::bulk_tmp_table_created()
-{
- DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_created");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(upd_tmp_tbl);
-}
-
-int spider_oracle_handler::mk_bulk_tmp_table_and_bulk_start()
-{
- THD *thd = spider->trx->thd;
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_oracle_handler::mk_bulk_tmp_table_and_bulk_start");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!upd_tmp_tbl)
- {
- if (!(upd_tmp_tbl = spider_mk_sys_tmp_table(
- thd, table, &upd_tmp_tbl_prm, "a", update_sql.charset())))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- upd_tmp_tbl->file->extra(HA_EXTRA_WRITE_CACHE);
- upd_tmp_tbl->file->ha_start_bulk_insert((ha_rows) 0);
- }
- DBUG_RETURN(0);
-}
-
-void spider_oracle_handler::rm_bulk_tmp_table()
-{
- DBUG_ENTER("spider_oracle_handler::rm_bulk_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- if (upd_tmp_tbl)
- {
- spider_rm_sys_tmp_table(spider->trx->thd, upd_tmp_tbl, &upd_tmp_tbl_prm);
- upd_tmp_tbl = NULL;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_handler::store_sql_to_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::store_sql_to_bulk_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_table->field[0]->set_notnull();
- tmp_table->field[0]->store(str->ptr(), str->length(), str->charset());
- if ((error_num = tmp_table->file->ha_write_row(tmp_table->record[0])))
- DBUG_RETURN(error_num);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::restore_sql_from_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
-) {
- DBUG_ENTER("spider_oracle_handler::restore_sql_from_bulk_tmp_table");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_table->field[0]->val_str(str->get_str());
- str->mem_calc();
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::insert_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash2 = &link_for_hash[link_idx];
- DBUG_ENTER("spider_oracle_handler::insert_lock_tables_list");
- DBUG_PRINT("info",("spider this=%p", this));
- uint old_elements =
- db_conn->lock_table_hash.array.max_element;
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- if (my_hash_insert_with_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash2->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash2))
-#else
- if (my_hash_insert(&db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash2))
-#endif
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (db_conn->lock_table_hash.array.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- db_conn->lock_table_hash,
- (db_conn->lock_table_hash.array.max_element - old_elements) *
- db_conn->lock_table_hash.array.size_of_element);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::append_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx,
- int *appended
-) {
- int error_num;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash, *tmp_link_for_hash2;
- int conn_link_idx = spider->conn_link_idx[link_idx];
- spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
- DBUG_ENTER("spider_oracle_handler::append_lock_tables_list");
- DBUG_PRINT("info",("spider this=%p", this));
- tmp_link_for_hash2 = &link_for_hash[link_idx];
- tmp_link_for_hash2->db_table_str =
- &oracle_share->db_table_str[conn_link_idx];
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- tmp_link_for_hash2->db_table_str_hash_value =
- oracle_share->db_table_str_hash_value[conn_link_idx];
- if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *)
- my_hash_search_using_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash2->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
- tmp_link_for_hash2->db_table_str->length())))
-#else
- if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *) my_hash_search(
- &db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
- tmp_link_for_hash2->db_table_str->length())))
-#endif
- {
- if ((error_num = insert_lock_tables_list(conn, link_idx)))
- DBUG_RETURN(error_num);
- *appended = 1;
- } else {
- if (tmp_link_for_hash->spider->lock_type < spider->lock_type)
- {
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- my_hash_delete_with_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash);
-#else
- my_hash_delete(&db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash);
-#endif
- uint old_elements =
- db_conn->lock_table_hash.array.max_element;
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- if (my_hash_insert_with_hash_value(
- &db_conn->lock_table_hash,
- tmp_link_for_hash2->db_table_str_hash_value,
- (uchar*) tmp_link_for_hash2))
-#else
- if (my_hash_insert(&db_conn->lock_table_hash,
- (uchar*) tmp_link_for_hash2))
-#endif
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (db_conn->lock_table_hash.array.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- db_conn->lock_table_hash,
- (db_conn->lock_table_hash.array.max_element - old_elements) *
- db_conn->lock_table_hash.array.size_of_element);
- }
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::realloc_sql(
- ulong *realloced
-) {
- THD *thd = spider->trx->thd;
- st_spider_share *share = spider->share;
- int init_sql_alloc_size =
- spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
- DBUG_ENTER("spider_oracle_handler::realloc_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if ((int) sql.alloced_length() > init_sql_alloc_size * 2)
- {
- sql.free();
- if (sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
- }
- if ((int) ha_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- ha_sql.free();
- if (ha_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
- }
- if ((int) dup_update_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- dup_update_sql.free();
- if (dup_update_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if ((int) insert_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- insert_sql.free();
- if (insert_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_INSERT_SQL;
- }
- if ((int) update_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- update_sql.free();
- if (update_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL);
- }
- update_sql.length(0);
- if ((int) tmp_sql.alloced_length() > init_sql_alloc_size * 2)
- {
- tmp_sql.free();
- if (tmp_sql.real_alloc(init_sql_alloc_size))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- *realloced |= SPIDER_SQL_TYPE_TMP_SQL;
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::reset_sql(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::reset_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
- {
- table_lock_mode = 0;
- select_rownum_appended = FALSE;
- sql.length(0);
- }
- if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
- {
- insert_sql.length(0);
- }
- if (sql_type & (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL |
- SPIDER_SQL_TYPE_BULK_UPDATE_SQL))
- {
- update_rownum_appended = FALSE;
- update_set_pos = 0;
- update_sql.length(0);
- }
- if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
- {
- tmp_sql.length(0);
- }
- if (sql_type & SPIDER_SQL_TYPE_HANDLER)
- {
- ha_sql.length(0);
- }
- DBUG_RETURN(0);
-}
-
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
-int spider_oracle_handler::reset_keys(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::reset_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::reset_upds(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::reset_upds");
- DBUG_PRINT("info",("spider this=%p", this));
- hs_upds.clear();
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::reset_strs(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::reset_strs");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::reset_strs_pos(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::reset_strs_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_ASSERT(0);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::push_back_upds(
- SPIDER_HS_STRING_REF &info
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_handler::push_back_upds");
- DBUG_PRINT("info",("spider this=%p", this));
- error_num = hs_upds.push_back(info);
- DBUG_RETURN(error_num);
-}
-#endif
-
-bool spider_oracle_handler::need_lock_before_set_sql_for_exec(
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::need_lock_before_set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-int spider_oracle_handler::set_sql_for_exec(
- ulong sql_type,
- int link_idx
-) {
- int error_num;
- uint tmp_pos;
- SPIDER_SHARE *share = spider->share;
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- int all_link_idx = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_oracle_handler::set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql_type & (SPIDER_SQL_TYPE_SELECT_SQL | SPIDER_SQL_TYPE_TMP_SQL))
- {
- if (table_lock_mode)
- {
- spider_string *str = &result_list->insert_sqls[link_idx];
- str->length(0);
- if (str->reserve(SPIDER_SQL_LOCK_TABLE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
- if ((error_num = oracle_share->append_table_name(str, all_link_idx)))
- DBUG_RETURN(error_num);
- if (table_lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
- {
- if (str->reserve(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR,
- SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN);
- } else if (table_lock_mode == SPIDER_LOCK_MODE_SHARED)
- {
- if (str->reserve(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- str->q_append(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR,
- SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN);
- }
- exec_lock_sql = str;
- }
-
- if (oracle_share->same_db_table_name || link_idx == first_link_idx)
- {
- if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
- exec_sql = &sql;
- if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
- exec_tmp_sql = &tmp_sql;
- } else {
- char tmp_table_name[MAX_FIELD_WIDTH * 2],
- tgt_table_name[MAX_FIELD_WIDTH * 2];
- int tmp_table_name_length;
- spider_string tgt_table_name_str(tgt_table_name,
- MAX_FIELD_WIDTH * 2,
- oracle_share->db_names_str[link_idx].charset());
- const char *table_names[2], *table_aliases[2];
- uint table_name_lengths[2], table_alias_lengths[2];
- tgt_table_name_str.init_calc_mem(212);
- tgt_table_name_str.length(0);
- if (result_list->tmp_table_join && spider->bka_mode != 2)
- {
- create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
- link_idx);
- append_table_name_with_adjusting(&tgt_table_name_str, link_idx,
- SPIDER_SQL_TYPE_TMP_SQL);
- table_names[0] = tmp_table_name;
- table_names[1] = tgt_table_name_str.ptr();
- table_name_lengths[0] = tmp_table_name_length;
- table_name_lengths[1] = tgt_table_name_str.length();
- table_aliases[0] = SPIDER_SQL_A_STR;
- table_aliases[1] = SPIDER_SQL_B_STR;
- table_alias_lengths[0] = SPIDER_SQL_A_LEN;
- table_alias_lengths[1] = SPIDER_SQL_B_LEN;
- }
- if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
- {
- exec_sql = &result_list->sqls[link_idx];
- if (exec_sql->copy(sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- else if (result_list->use_union)
- {
- if ((error_num = reset_union_table_name(exec_sql, link_idx,
- SPIDER_SQL_TYPE_SELECT_SQL)))
- DBUG_RETURN(error_num);
- } else {
- tmp_pos = exec_sql->length();
- exec_sql->length(table_name_pos);
- if (result_list->tmp_table_join && spider->bka_mode != 2)
- {
- if ((error_num = spider_db_oracle_utility.append_from_with_alias(
- exec_sql, table_names, table_name_lengths,
- table_aliases, table_alias_lengths, 2,
- &table_name_pos, TRUE))
- )
- DBUG_RETURN(error_num);
- exec_sql->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
- } else {
- append_table_name_with_adjusting(exec_sql, link_idx,
- SPIDER_SQL_TYPE_SELECT_SQL);
- }
- exec_sql->length(tmp_pos);
- }
- }
- if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
- {
- exec_tmp_sql = &result_list->tmp_sqls[link_idx];
- if (result_list->tmp_table_join && spider->bka_mode != 2)
- {
- if (exec_tmp_sql->copy(tmp_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- else {
- tmp_pos = exec_tmp_sql->length();
- exec_tmp_sql->length(tmp_sql_pos1);
- exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
- exec_tmp_sql->length(tmp_sql_pos2);
- exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
- exec_tmp_sql->length(tmp_sql_pos3);
- exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
- exec_tmp_sql->length(tmp_pos);
- }
- }
- }
- }
- }
- if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
- {
- if (oracle_share->same_db_table_name || link_idx == first_link_idx)
- exec_insert_sql = &insert_sql;
- else {
- exec_insert_sql = &result_list->insert_sqls[link_idx];
- if (exec_insert_sql->copy(insert_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_PRINT("info",("spider exec_insert_sql=%s",
- exec_insert_sql->c_ptr_safe()));
- tmp_pos = exec_insert_sql->length();
- exec_insert_sql->length(insert_table_name_pos);
- append_table_name_with_adjusting(exec_insert_sql, link_idx,
- sql_type);
- exec_insert_sql->length(tmp_pos);
- DBUG_PRINT("info",("spider exec_insert_sql->length=%u",
- exec_insert_sql->length()));
- DBUG_PRINT("info",("spider exec_insert_sql=%s",
- exec_insert_sql->c_ptr_safe()));
- }
- if (nextval_pos)
- {
- memcpy((uchar *) exec_insert_sql->ptr() + nextval_pos,
- oracle_share->nextval_str[all_link_idx].ptr(),
- oracle_share->nextval_max_length);
- }
- }
- if (sql_type & SPIDER_SQL_TYPE_BULK_UPDATE_SQL)
- {
- if (reading_from_bulk_tmp_table)
- {
- if (
- oracle_share->same_db_table_name &&
- share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
- ) {
- exec_update_sql = &insert_sql;
- } else if (!spider->result_list.upd_tmp_tbls[link_idx])
- {
- DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
- } else {
- exec_update_sql = &spider->result_list.insert_sqls[link_idx];
- if ((error_num = restore_sql_from_bulk_tmp_table(exec_update_sql,
- spider->result_list.upd_tmp_tbls[link_idx])))
- {
- DBUG_RETURN(error_num);
- }
- }
- } else {
- if (
- oracle_share->same_db_table_name &&
- share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
- ) {
- exec_update_sql = &update_sql;
- } else {
- exec_update_sql = &spider->result_list.update_sqls[link_idx];
- }
- }
- DBUG_PRINT("info",("spider exec_update_sql=%s",
- exec_update_sql->c_ptr_safe()));
- } else if (sql_type &
- (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL))
- {
- if (oracle_share->same_db_table_name || link_idx == first_link_idx)
- exec_update_sql = &update_sql;
- else {
- exec_update_sql = &spider->result_list.update_sqls[link_idx];
- if (exec_update_sql->copy(update_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- tmp_pos = exec_update_sql->length();
- exec_update_sql->length(table_name_pos);
- append_table_name_with_adjusting(exec_update_sql, link_idx,
- sql_type);
- exec_update_sql->length(tmp_pos);
- }
- DBUG_PRINT("info",("spider exec_update_sql=%s",
- exec_update_sql->c_ptr_safe()));
- }
- if (sql_type & SPIDER_SQL_TYPE_HANDLER)
- {
- if (spider->m_handler_id[link_idx] == ha_sql_handler_id)
- exec_ha_sql = &ha_sql;
- else {
- exec_ha_sql = &result_list->sqls[link_idx];
- if (exec_ha_sql->copy(ha_sql))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- else {
- tmp_pos = exec_ha_sql->length();
- exec_ha_sql->length(ha_table_name_pos);
- append_table_name_with_adjusting(exec_ha_sql, link_idx,
- SPIDER_SQL_TYPE_HANDLER);
- exec_ha_sql->length(tmp_pos);
- }
- }
- DBUG_PRINT("info",("spider exec_ha_sql=%s",
- exec_ha_sql->c_ptr_safe()));
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::set_sql_for_exec(
- spider_db_copy_table *tgt_ct,
- ulong sql_type
-) {
- spider_oracle_copy_table *oracle_ct = (spider_oracle_copy_table *) tgt_ct;
- DBUG_ENTER("spider_oracle_handler::set_sql_for_exec");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_INSERT_SQL:
- exec_insert_sql = &oracle_ct->sql;
- break;
- default:
- DBUG_ASSERT(0);
- break;
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::execute_sql(
- ulong sql_type,
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
-) {
- spider_string *tgt_sql;
- uint tgt_length;
- DBUG_ENTER("spider_oracle_handler::execute_sql");
- DBUG_PRINT("info",("spider this=%p", this));
- switch (sql_type)
- {
- case SPIDER_SQL_TYPE_SELECT_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
- tgt_sql = exec_sql;
- tgt_length = tgt_sql->length();
- if (table_lock_mode)
- {
- DBUG_PRINT("info",("spider table_lock_mode=%d", table_lock_mode));
- spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
- db_conn->table_lock_mode = table_lock_mode;
- db_conn->exec_lock_sql = exec_lock_sql;
- table_lock_mode = 0;
- }
- break;
- case SPIDER_SQL_TYPE_INSERT_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
- tgt_sql = exec_insert_sql;
- tgt_length = tgt_sql->length();
- break;
- case SPIDER_SQL_TYPE_UPDATE_SQL:
- case SPIDER_SQL_TYPE_DELETE_SQL:
- case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
- DBUG_PRINT("info",("spider %s",
- sql_type == SPIDER_SQL_TYPE_UPDATE_SQL ? "SPIDER_SQL_TYPE_UPDATE_SQL" :
- sql_type == SPIDER_SQL_TYPE_DELETE_SQL ? "SPIDER_SQL_TYPE_DELETE_SQL" :
- "SPIDER_SQL_TYPE_BULK_UPDATE_SQL"
- ));
- tgt_sql = exec_update_sql;
- tgt_length = tgt_sql->length();
- break;
- case SPIDER_SQL_TYPE_TMP_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_TMP_SQL"));
- tgt_sql = exec_tmp_sql;
- tgt_length = tgt_sql->length();
- break;
- case SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL"));
- tgt_sql = exec_tmp_sql;
- tgt_length = tmp_sql_pos5;
- break;
- case SPIDER_SQL_TYPE_HANDLER:
- DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_HANDLER"));
- tgt_sql = exec_ha_sql;
- tgt_length = tgt_sql->length();
- break;
- default:
- /* nothing to do */
- DBUG_PRINT("info",("spider default"));
- DBUG_RETURN(0);
- }
- DBUG_RETURN(spider_db_query(
- conn,
- tgt_sql->ptr(),
- tgt_length,
- quick_mode,
- need_mon
- ));
-}
-
-int spider_oracle_handler::reset()
-{
- DBUG_ENTER("spider_oracle_handler::reset");
- DBUG_PRINT("info",("spider this=%p", this));
- update_sql.length(0);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::sts_mode_exchange(
- int sts_mode
-) {
- DBUG_ENTER("spider_oracle_handler::sts_mode_exchange");
- DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
- DBUG_RETURN(1);
-}
-
-int spider_oracle_handler::show_table_status(
- int link_idx,
- int sts_mode,
- uint flag
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_DB_RESULT *res;
- SPIDER_SHARE *share = spider->share;
- uint pos = (2 * spider->conn_link_idx[link_idx]);
- DBUG_ENTER("spider_oracle_handler::show_table_status");
- DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
- if (
- (flag & HA_STATUS_AUTO) &&
- (error_num = show_autoinc(link_idx))
- ) {
- DBUG_RETURN(error_num);
- }
-
- if (sts_mode == 1)
- {
-/*
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- oracle_share->show_table_status[0 + pos].ptr(),
- oracle_share->show_table_status[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
-*/
- /* retry */
-/*
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- oracle_share->show_table_status[0 + pos].ptr(),
- oracle_share->show_table_status[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- if (error_num || (error_num = spider_db_errorno(conn)))
- DBUG_RETURN(error_num);
- else {
- my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
- ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
- oracle_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
- oracle_share->table_names_str[spider->conn_link_idx[
- link_idx]].ptr());
- DBUG_RETURN(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM);
- }
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_status(
- sts_mode,
- share->records,
- share->mean_rec_length,
- share->data_file_length,
- share->max_data_file_length,
- share->index_file_length,
- share->auto_increment_value,
- share->create_time,
- share->update_time,
- share->check_time
- );
- res->free_result();
- delete res;
- if (error_num)
- DBUG_RETURN(error_num);
-*/
- if (!share->records)
- share->records = 10000;
- share->mean_rec_length = 65535;
- share->data_file_length = 65535;
- share->max_data_file_length = 65535;
- share->index_file_length = 65535;
-/*
- share->auto_increment_value = 0;
-*/
- share->create_time = (time_t) 0;
- share->update_time = (time_t) 0;
- share->check_time = (time_t) 0;
- } else {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- oracle_share->show_table_status[1 + pos].ptr(),
- oracle_share->show_table_status[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- oracle_share->show_table_status[1 + pos].ptr(),
- oracle_share->show_table_status[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- if (error_num || (error_num = spider_db_errorno(conn)))
- DBUG_RETURN(error_num);
- else
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_status(
- sts_mode,
- share->records,
- share->mean_rec_length,
- share->data_file_length,
- share->max_data_file_length,
- share->index_file_length,
- share->auto_increment_value,
- share->create_time,
- share->update_time,
- share->check_time
- );
- res->free_result();
- delete res;
- if (error_num)
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::crd_mode_exchange(
- int crd_mode
-) {
- DBUG_ENTER("spider_oracle_handler::crd_mode_exchange");
- DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
- DBUG_RETURN(1);
-}
-
-int spider_oracle_handler::show_index(
- int link_idx,
- int crd_mode
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_SHARE *share = spider->share;
- TABLE *table = spider->get_table();
- SPIDER_DB_RESULT *res;
- int roop_count;
- longlong *tmp_cardinality;
- uint pos = (2 * spider->conn_link_idx[link_idx]);
- DBUG_ENTER("spider_oracle_handler::show_index");
- DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
- if (crd_mode == 1)
- {
-/*
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- oracle_share->show_index[0 + pos].ptr(),
- oracle_share->show_index[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
-*/
- /* retry */
-/*
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- oracle_share->show_index[0 + pos].ptr(),
- oracle_share->show_index[0 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
-*/
- /* no record is ok */
-/*
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- if (res)
- {
- error_num = res->fetch_table_cardinality(
- crd_mode,
- table,
- share->cardinality,
- share->cardinality_upd,
- share->bitmap_size
- );
- }
-*/
- for (roop_count = 0, tmp_cardinality = share->cardinality;
- roop_count < (int) table->s->fields;
- roop_count++, tmp_cardinality++)
- {
- if (!spider_bit_is_set(share->cardinality_upd, roop_count))
- {
- DBUG_PRINT("info",
- ("spider init column cardinality id=%d", roop_count));
- *tmp_cardinality = 1;
- }
- }
-/*
- if (res)
- {
- res->free_result();
- delete res;
- }
- if (error_num)
- DBUG_RETURN(error_num);
-*/
- } else {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- oracle_share->show_index[1 + pos].ptr(),
- oracle_share->show_index[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- oracle_share->show_index[1 + pos].ptr(),
- oracle_share->show_index[1 + pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- /* no record is ok */
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- if (res)
- {
- error_num = res->fetch_table_cardinality(
- crd_mode,
- table,
- share->cardinality,
- share->cardinality_upd,
- share->bitmap_size
- );
- }
- for (roop_count = 0, tmp_cardinality = share->cardinality;
- roop_count < (int) table->s->fields;
- roop_count++, tmp_cardinality++)
- {
- if (!spider_bit_is_set(share->cardinality_upd, roop_count))
- {
- DBUG_PRINT("info",
- ("spider init column cardinality id=%d", roop_count));
- *tmp_cardinality = 1;
- }
- }
- if (res)
- {
- res->free_result();
- delete res;
- }
- if (error_num)
- DBUG_RETURN(error_num);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::show_records(
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_DB_RESULT *res;
- SPIDER_SHARE *share = spider->share;
- uint pos = spider->conn_link_idx[link_idx];
- DBUG_ENTER("spider_oracle_handler::show_records");
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- oracle_share->show_records[pos].ptr(),
- oracle_share->show_records[pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 1", error_num));
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 2", error_num));
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- oracle_share->show_records[pos].ptr(),
- oracle_share->show_records[pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_PRINT("info", ("spider error_num=%d 3", error_num));
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
- DBUG_RETURN(error_num);
- } else {
- DBUG_PRINT("info", ("spider error_num=%d 6",
- ER_QUERY_ON_FOREIGN_DATA_SOURCE));
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_records(
- 1,
- share->records
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
- DBUG_RETURN(error_num);
- }
- spider->trx->direct_aggregate_count++;
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::show_autoinc(
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_DB_RESULT *res;
- SPIDER_SHARE *share = spider->share;
- uint pos = spider->conn_link_idx[link_idx];
- ulonglong auto_increment_value;
- DBUG_ENTER("spider_oracle_handler::show_autoinc");
- if (!oracle_share->show_autoinc)
- DBUG_RETURN(0);
-
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- oracle_share->show_autoinc[pos].ptr(),
- oracle_share->show_autoinc[pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 1", error_num));
- DBUG_RETURN(error_num);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 2", error_num));
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- oracle_share->show_records[pos].ptr(),
- oracle_share->show_records[pos].length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_PRINT("info", ("spider error_num=%d 3", error_num));
- DBUG_RETURN(spider_db_errorno(conn));
- }
- } else {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
- DBUG_RETURN(error_num);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
- DBUG_RETURN(error_num);
- } else {
- DBUG_PRINT("info", ("spider error_num=%d 6",
- ER_QUERY_ON_FOREIGN_DATA_SOURCE));
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_records(
- 1,
- auto_increment_value
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
- DBUG_RETURN(error_num);
- }
- if (auto_increment_value >= share->auto_increment_value)
- {
- share->auto_increment_value = auto_increment_value + 1;
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::show_last_insert_id(
- int link_idx,
- ulonglong &last_insert_id
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_DB_RESULT *res;
- uint pos = spider->conn_link_idx[link_idx];
- spider_db_oracle *db_oracle = (spider_db_oracle *) conn->db_conn;
- DBUG_ENTER("spider_oracle_handler::show_last_insert_id");
- if (!oracle_share->show_last_insert_id)
- {
- DBUG_ASSERT(0);
- last_insert_id = 0;
- db_oracle->stored_last_insert_id = 0;
- DBUG_RETURN(0);
- }
-
- if (
- spider_db_query(
- conn,
- oracle_share->show_last_insert_id[pos].ptr(),
- oracle_share->show_last_insert_id[pos].length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- ) {
- DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
- DBUG_RETURN(error_num);
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
- DBUG_RETURN(error_num);
- } else {
- DBUG_PRINT("info", ("spider error_num=%d 6",
- ER_QUERY_ON_FOREIGN_DATA_SOURCE));
- DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
- }
- }
- error_num = res->fetch_table_records(
- 1,
- last_insert_id
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
- DBUG_RETURN(error_num);
- }
- db_oracle->stored_last_insert_id = last_insert_id;
- DBUG_RETURN(0);
-}
-
-ha_rows spider_oracle_handler::explain_select(
- key_range *start_key,
- key_range *end_key,
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- SPIDER_RESULT_LIST *result_list = &spider->result_list;
- spider_string *str = &result_list->sqls[link_idx];
- SPIDER_DB_RESULT *res;
- ha_rows rows;
- spider_db_handler *dbton_hdl = spider->dbton_handler[conn->dbton_id];
- DBUG_ENTER("spider_oracle_handler::explain_select");
- if ((error_num = dbton_hdl->append_explain_select_part(
- start_key, end_key, SPIDER_SQL_TYPE_OTHER_SQL, link_idx)))
- {
- my_errno = error_num;
- DBUG_RETURN(HA_POS_ERROR);
- }
-
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- spider_conn_queue_connect_rewrite(spider->share, conn, link_idx);
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- spider->share);
- if (
- (error_num = spider_db_set_names(spider, conn, link_idx)) ||
- (
- spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx]) &&
- (error_num = spider_db_errorno(conn))
- )
- ) {
- if (
- error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
- !conn->disable_reconnect
- ) {
- /* retry */
- if ((error_num = spider_db_ping(spider, conn, link_idx)))
- {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- spider->share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- error_num = spider_db_errorno(conn);
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- } else {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- }
- st_spider_db_request_key request_key;
- request_key.spider_thread_id = spider->trx->spider_thread_id;
- request_key.query_id = spider->trx->thd->query_id;
- request_key.handler = spider;
- request_key.request_id = 1;
- request_key.next = NULL;
- if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
- {
- if (error_num || (error_num = spider_db_errorno(conn)))
- {
- if (spider->check_error_mode(error_num))
- my_errno = error_num;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- } else {
- my_errno = ER_QUERY_ON_FOREIGN_DATA_SOURCE;
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(HA_POS_ERROR);
- }
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- error_num = res->fetch_table_records(
- 2,
- rows
- );
- res->free_result();
- delete res;
- if (error_num)
- {
- my_errno = error_num;
- DBUG_RETURN(HA_POS_ERROR);
- }
- DBUG_RETURN(rows);
-}
-
-int spider_oracle_handler::lock_tables(
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- spider_string *str = &sql;
- DBUG_ENTER("spider_oracle_handler::lock_tables");
- do {
- str->length(0);
- if ((error_num = conn->db_conn->append_lock_tables(str)))
- {
- DBUG_RETURN(error_num);
- }
- if (str->length())
- {
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- spider->share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- DBUG_RETURN(spider_db_errorno(conn));
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- }
- if (!conn->table_locked)
- {
- conn->table_locked = TRUE;
- spider->trx->locked_connections++;
- }
- } while (str->length());
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::unlock_tables(
- int link_idx
-) {
- int error_num;
- SPIDER_CONN *conn = spider->conns[link_idx];
- DBUG_ENTER("spider_oracle_handler::unlock_tables");
- if (conn->table_locked)
- {
- if ((error_num = conn->db_conn->commit(&spider->need_mons[link_idx])))
- {
- DBUG_RETURN(error_num);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::disable_keys(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::disable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_disable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::enable_keys(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::enable_keys");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_enable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::check_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::check_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_check_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx, check_opt)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::repair_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::repair_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_repair_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx, check_opt)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::analyze_table(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::analyze_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_analyze_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::optimize_table(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::optimize_table");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_optimize_table_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx)))
- {
- DBUG_RETURN(error_num);
- }
- pthread_mutex_lock(&conn->mta_conn_mutex);
- SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
- conn->need_mon = &spider->need_mons[link_idx];
- conn->mta_conn_mutex_lock_already = TRUE;
- conn->mta_conn_mutex_unlock_later = TRUE;
- if ((error_num = spider_db_set_names(spider, conn, link_idx)))
- {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- conn->mta_conn_mutex_lock_already = FALSE;
- conn->mta_conn_mutex_unlock_later = FALSE;
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::flush_tables(
- SPIDER_CONN *conn,
- int link_idx,
- bool lock
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- spider_string *str = &spider->result_list.sqls[link_idx];
- DBUG_ENTER("spider_oracle_handler::flush_tables");
- DBUG_PRINT("info",("spider this=%p", this));
- str->length(0);
- if ((error_num = append_flush_tables_part(SPIDER_SQL_TYPE_OTHER_HS,
- link_idx, lock)))
- {
- DBUG_RETURN(error_num);
- }
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- str->ptr(),
- str->length(),
- -1,
- &spider->need_mons[link_idx])
- ) {
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::flush_logs(
- SPIDER_CONN *conn,
- int link_idx
-) {
- int error_num;
- SPIDER_SHARE *share = spider->share;
- DBUG_ENTER("spider_oracle_handler::flush_logs");
- DBUG_PRINT("info",("spider this=%p", this));
- spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
- share);
- if (spider_db_query(
- conn,
- SPIDER_SQL_FLUSH_LOGS_STR,
- SPIDER_SQL_FLUSH_LOGS_LEN,
- -1,
- &spider->need_mons[link_idx])
- ) {
- error_num = spider_db_errorno(conn);
- DBUG_RETURN(error_num);
- }
- SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
- pthread_mutex_unlock(&conn->mta_conn_mutex);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::insert_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash = &link_for_hash[link_idx];
- DBUG_ASSERT(tmp_link_for_hash->spider == spider);
- DBUG_ASSERT(tmp_link_for_hash->link_idx == link_idx);
- uint old_elements = db_conn->handler_open_array.max_element;
- DBUG_ENTER("spider_oracle_handler::insert_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- if (insert_dynamic(&db_conn->handler_open_array,
- (uchar*) &tmp_link_for_hash))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- if (db_conn->handler_open_array.max_element > old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- db_conn->handler_open_array,
- (db_conn->handler_open_array.max_element - old_elements) *
- db_conn->handler_open_array.size_of_element);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::delete_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
-) {
- spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
- uint roop_count, elements = db_conn->handler_open_array.elements;
- SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
- DBUG_ENTER("spider_oracle_handler::delete_opened_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- for (roop_count = 0; roop_count < elements; roop_count++)
- {
- get_dynamic(&db_conn->handler_open_array, (uchar *) &tmp_link_for_hash,
- roop_count);
- if (tmp_link_for_hash == &link_for_hash[link_idx])
- {
- delete_dynamic_element(&db_conn->handler_open_array, roop_count);
- break;
- }
- }
- DBUG_ASSERT(roop_count < elements);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::sync_from_clone_source(
- spider_db_handler *dbton_hdl
-) {
- DBUG_ENTER("spider_oracle_handler::sync_from_clone_source");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-bool spider_oracle_handler::support_use_handler(
- int use_handler
-) {
- DBUG_ENTER("spider_oracle_handler::support_use_handler");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(FALSE);
-}
-
-bool spider_oracle_handler::minimum_select_bit_is_set(
- uint field_index
-) {
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_oracle_handler::minimum_select_bit_is_set");
- DBUG_RETURN(
- spider_bit_is_set(spider->searched_bitmap, field_index) |
- bitmap_is_set(table->read_set, field_index) |
- bitmap_is_set(table->write_set, field_index)
- );
-}
-
-void spider_oracle_handler::copy_minimum_select_bitmap(
- uchar *bitmap
-) {
- int roop_count;
- TABLE *table = spider->get_table();
- DBUG_ENTER("spider_oracle_handler::copy_minimum_select_bitmap");
- for (roop_count = 0;
- roop_count < (int) ((table->s->fields + 7) / 8);
- roop_count++)
- {
- bitmap[roop_count] =
- spider->searched_bitmap[roop_count] |
- ((uchar *) table->read_set->bitmap)[roop_count] |
- ((uchar *) table->write_set->bitmap)[roop_count];
- DBUG_PRINT("info",("spider roop_count=%d", roop_count));
- DBUG_PRINT("info",("spider bitmap=%d",
- bitmap[roop_count]));
- DBUG_PRINT("info",("spider searched_bitmap=%d",
- spider->searched_bitmap[roop_count]));
- DBUG_PRINT("info",("spider read_set=%d",
- ((uchar *) table->read_set->bitmap)[roop_count]));
- DBUG_PRINT("info",("spider write_set=%d",
- ((uchar *) table->write_set->bitmap)[roop_count]));
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_handler::init_union_table_name_pos()
-{
- DBUG_ENTER("spider_oracle_handler::init_union_table_name_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!union_table_name_pos_first)
- {
- if (!spider_bulk_malloc(spider_current_trx, 238, MYF(MY_WME),
- &union_table_name_pos_first, sizeof(SPIDER_INT_HLD),
- NullS)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- union_table_name_pos_first->next = NULL;
- }
- union_table_name_pos_current = union_table_name_pos_first;
- union_table_name_pos_current->tgt_num = 0;
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::set_union_table_name_pos()
-{
- DBUG_ENTER("spider_oracle_handler::set_union_table_name_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- if (union_table_name_pos_current->tgt_num >= SPIDER_INT_HLD_TGT_SIZE)
- {
- if (!union_table_name_pos_current->next)
- {
- if (!spider_bulk_malloc(spider_current_trx, 239, MYF(MY_WME),
- &union_table_name_pos_current->next, sizeof(SPIDER_INT_HLD),
- NullS)
- ) {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- union_table_name_pos_current->next->next = NULL;
- }
- union_table_name_pos_current = union_table_name_pos_current->next;
- union_table_name_pos_current->tgt_num = 0;
- }
- union_table_name_pos_current->tgt[union_table_name_pos_current->tgt_num] =
- table_name_pos;
- ++union_table_name_pos_current->tgt_num;
- DBUG_RETURN(0);
-}
-
-int spider_oracle_handler::reset_union_table_name(
- spider_string *str,
- int link_idx,
- ulong sql_type
-) {
- DBUG_ENTER("spider_oracle_handler::reset_union_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!union_table_name_pos_current)
- DBUG_RETURN(0);
-
- SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
- uint cur_num, pos_backup = str->length();
- while(TRUE)
- {
- for (cur_num = 0; cur_num < tmp_pos->tgt_num; ++cur_num)
- {
- str->length(tmp_pos->tgt[cur_num]);
- append_table_name_with_adjusting(str, link_idx, sql_type);
- }
- if (tmp_pos == union_table_name_pos_current)
- break;
- tmp_pos = tmp_pos->next;
- }
- str->length(pos_backup);
- DBUG_RETURN(0);
-}
-
-spider_oracle_copy_table::spider_oracle_copy_table(
- spider_oracle_share *db_share
-) : spider_db_copy_table(
- db_share
-),
- oracle_share(db_share),
- pos(0),
- table_name_pos(0),
- pos_diff(0),
- table_lock_mode(0),
- select_rownum_appended(FALSE),
- first_str(NULL),
- current_str(NULL)
-{
- DBUG_ENTER("spider_oracle_copy_table::spider_oracle_copy_table");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_VOID_RETURN;
-}
-
-spider_oracle_copy_table::~spider_oracle_copy_table()
-{
- DBUG_ENTER("spider_oracle_copy_table::~spider_oracle_copy_table");
- DBUG_PRINT("info",("spider this=%p", this));
- while (first_str)
- {
- current_str = first_str;
- first_str = first_str->next;
- delete [] current_str;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_copy_table::init()
-{
- DBUG_ENTER("spider_oracle_copy_table::init");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.init_calc_mem(213);
- sql_part.init_calc_mem(215);
- DBUG_RETURN(0);
-}
-
-void spider_oracle_copy_table::set_sql_charset(
- CHARSET_INFO *cs
-) {
- DBUG_ENTER("spider_oracle_copy_table::set_sql_charset");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.set_charset(cs);
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_copy_table::append_select_str()
-{
- DBUG_ENTER("spider_oracle_copy_table::append_select_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_SELECT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_insert_str(
- int insert_flg
-) {
- DBUG_ENTER("spider_oracle_copy_table::append_insert_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_INSERT_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_table_columns(
- TABLE_SHARE *table_share
-) {
- int error_num;
- Field **field;
- DBUG_ENTER("spider_oracle_copy_table::append_table_columns");
- DBUG_PRINT("info",("spider this=%p", this));
- for (field = table_share->field; *field; field++)
- {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) (*field)->field_name, spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_from_str()
-{
- DBUG_ENTER("spider_oracle_copy_table::append_from_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_table_name(
- int link_idx
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_copy_table::append_table_name");
- DBUG_PRINT("info",("spider this=%p", this));
- table_name_pos = sql.length();
- error_num = oracle_share->append_table_name(&sql, link_idx);
- store_link_idx = link_idx;
- DBUG_RETURN(error_num);
-}
-
-void spider_oracle_copy_table::set_sql_pos()
-{
- DBUG_ENTER("spider_oracle_copy_table::set_sql_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- pos = sql.length();
- DBUG_VOID_RETURN;
-}
-
-void spider_oracle_copy_table::set_sql_to_pos()
-{
- DBUG_ENTER("spider_oracle_copy_table::set_sql_to_pos");
- DBUG_PRINT("info",("spider this=%p", this));
- sql.length(pos);
- DBUG_VOID_RETURN;
-}
-
-int spider_oracle_copy_table::append_copy_where(
- spider_db_copy_table *source_ct,
- KEY *key_info,
- ulong *last_row_pos,
- ulong *last_lengths
-) {
- int error_num, roop_count, roop_count2;
- DBUG_ENTER("spider_oracle_copy_table::append_copy_where");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_WHERE_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- Field *field;
- KEY_PART_INFO *key_part = key_info->key_part;
- for (roop_count = spider_user_defined_key_parts(key_info) - 1;
- roop_count >= 0; roop_count--)
- {
- for (roop_count2 = 0; roop_count2 < roop_count; roop_count2++)
- {
- field = key_part[roop_count2].field;
- if ((error_num = copy_key_row(source_ct,
- field, &last_row_pos[field->field_index],
- &last_lengths[field->field_index],
- SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN)))
- {
- DBUG_RETURN(error_num);
- }
- }
- field = key_part[roop_count2].field;
- if ((error_num = copy_key_row(source_ct,
- field, &last_row_pos[field->field_index],
- &last_lengths[field->field_index],
- SPIDER_SQL_GT_STR, SPIDER_SQL_GT_LEN)))
- {
- DBUG_RETURN(error_num);
- }
- sql.length(sql.length() - SPIDER_SQL_AND_LEN);
- if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
- SPIDER_SQL_OR_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
- sql.q_append(SPIDER_SQL_OR_STR, SPIDER_SQL_OR_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- }
- sql.length(sql.length() - SPIDER_SQL_OR_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_key_order_str(
- KEY *key_info,
- int start_pos,
- bool desc_flg
-) {
- int length, error_num;
- KEY_PART_INFO *key_part;
- Field *field;
- DBUG_ENTER("spider_oracle_copy_table::append_key_order_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (select_rownum_appended)
- {
- if (sql.reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
- DBUG_RETURN(0);
- }
- sql_part.length(0);
- if (sql_part.reserve(sql.length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
- SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
- sql_part.q_append(sql.ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
- SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
- if ((int) spider_user_defined_key_parts(key_info) > start_pos)
- {
- if (desc_flg == TRUE)
- {
- for (
- key_part = key_info->key_part + start_pos,
- length = 0;
- length + start_pos < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql_part,
- (char *) field->field_name, spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- } else {
- for (
- key_part = key_info->key_part + start_pos,
- length = 0;
- length + start_pos < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql_part,
- (char *) field->field_name, spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
- SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- }
- }
- if (desc_flg == TRUE)
- {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + sql.length() - table_name_pos +
- SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
- } else {
- if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + sql.length() - table_name_pos +
- SPIDER_SQL_FROM_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
- SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
- }
- pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
- sql_part.q_append(sql.ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
- sql.length() - table_name_pos + SPIDER_SQL_FROM_LEN);
- sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
- SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
-
- if ((int) spider_user_defined_key_parts(key_info) > start_pos)
- {
- if (sql.reserve(SPIDER_SQL_ORDER_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
- if (desc_flg == TRUE)
- {
- for (
- key_part = key_info->key_part + start_pos,
- length = 0;
- length + start_pos < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) field->field_name, spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- } else {
- for (
- key_part = key_info->key_part + start_pos,
- length = 0;
- length + start_pos < (int) spider_user_defined_key_parts(key_info);
- key_part++,
- length++
- ) {
- field = key_part->field;
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) field->field_name, spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (key_part->key_part_flag & HA_REVERSE_SORT)
- {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- } else {
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
- SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- }
- }
- }
- sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_limit(
- longlong offset,
- longlong limit
-) {
- char buf[SPIDER_LONGLONG_LEN + 1];
- uint32 length;
- DBUG_ENTER("spider_oracle_copy_table::append_limit");
- DBUG_PRINT("info",("spider this=%p", this));
- if (offset || limit < 9223372036854775807LL)
- {
- if (!select_rownum_appended)
- {
- select_rownum_appended = TRUE;
- table_name_pos = table_name_pos + pos_diff;
- if (sql.copy(sql_part))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- pos = pos + pos_diff;
- }
- if (offset)
- {
- if (sql.reserve(SPIDER_SQL_BETWEEN_LEN + SPIDER_SQL_AND_LEN +
- ((SPIDER_LONGLONG_LEN) * 2)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_BETWEEN_STR, SPIDER_SQL_BETWEEN_LEN);
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset);
- sql.q_append(buf, length);
- sql.q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
- sql.q_append(buf, length);
- } else {
- if (sql.reserve(SPIDER_SQL_HS_LTEQUAL_LEN +
- (SPIDER_LONGLONG_LEN)))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_HS_LTEQUAL_STR, SPIDER_SQL_HS_LTEQUAL_LEN);
- length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
- &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
- sql.q_append(buf, length);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_into_str()
-{
- DBUG_ENTER("spider_oracle_copy_table::append_into_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_INTO_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_open_paren_str()
-{
- DBUG_ENTER("spider_oracle_copy_table::append_open_paren_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_values_str()
-{
- DBUG_ENTER("spider_oracle_copy_table::append_values_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
- sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_select_lock_str(
- int lock_mode
-) {
- DBUG_ENTER("spider_oracle_copy_table::append_select_lock_str");
- DBUG_PRINT("info",("spider this=%p", this));
- if (select_rownum_appended)
- {
- int error_num;
- table_lock_mode = lock_mode;
- sql_part.length(0);
- if (sql_part.reserve(SPIDER_SQL_LOCK_TABLE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
- if ((error_num = oracle_share->append_table_name(&sql_part,
- store_link_idx)))
- DBUG_RETURN(error_num);
- if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
- {
- if (sql_part.reserve(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR,
- SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN);
- } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
- {
- if (sql_part.reserve(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql_part.q_append(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR,
- SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN);
- }
- } else {
- if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
- {
- if (sql.reserve(SPIDER_SQL_FOR_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
- } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
- {
- if (sql.reserve(SPIDER_SQL_FOR_UPDATE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
- }
- }
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::exec_query(
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
-) {
- int error_num = 0;
- DBUG_ENTER("spider_oracle_copy_table::exec_query");
- DBUG_PRINT("info",("spider this=%p", this));
- if (current_str)
- {
- spider_string *tmp_str = first_str;
- while (tmp_str && tmp_str != current_str)
- {
- if (
- (error_num = spider_db_query(conn, tmp_str->ptr(), tmp_str->length(),
- quick_mode, need_mon)) &&
- error_num != HA_ERR_FOUND_DUPP_KEY
- ) {
- break;
- }
- tmp_str = tmp_str->next;
- }
- if (tmp_str == current_str)
- {
- error_num = spider_db_query(conn, tmp_str->ptr(), tmp_str->length(),
- quick_mode, need_mon);
- }
- if (error_num == HA_ERR_FOUND_DUPP_KEY)
- error_num = 0;
- current_str = NULL;
- } else {
- if (table_lock_mode)
- {
- DBUG_PRINT("info",("spider table_lock_mode=%d", table_lock_mode));
- spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
- db_conn->table_lock_mode = table_lock_mode;
- db_conn->exec_lock_sql = &sql_part;
- table_lock_mode = 0;
- }
- error_num = spider_db_query(conn, sql.ptr(), sql.length(), quick_mode,
- need_mon);
- }
- DBUG_RETURN(error_num);
-}
-
-int spider_oracle_copy_table::copy_key_row(
- spider_db_copy_table *source_ct,
- Field *field,
- ulong *row_pos,
- ulong *length,
- const char *joint_str,
- const int joint_length
-) {
- int error_num;
- spider_string *source_str = &((spider_oracle_copy_table *) source_ct)->sql;
- DBUG_ENTER("spider_oracle_copy_table::copy_key_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- if ((error_num = spider_db_append_name_with_quote_str(&sql,
- (char *) field->field_name, spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + joint_length + *length +
- SPIDER_SQL_AND_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
- sql.q_append(joint_str, joint_length);
- sql.q_append(source_str->ptr() + *row_pos, *length);
- sql.q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::copy_row(
- Field *field,
- SPIDER_DB_ROW *row
-) {
- int error_num;
- DBUG_ENTER("spider_oracle_copy_table::copy_row");
- DBUG_PRINT("info",("spider this=%p", this));
- if (row->is_null())
- {
- DBUG_PRINT("info",("spider column is null"));
- if (current_str->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- current_str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
- } else if (field->str_needs_quotes())
- {
- DBUG_PRINT("info",("spider str_needs_quotes"));
- if (current_str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- current_str->q_append(SPIDER_SQL_VALUE_QUOTE_STR,
- SPIDER_SQL_VALUE_QUOTE_LEN);
- if ((error_num = row->append_escaped_to_str(current_str,
- spider_dbton_oracle.dbton_id)))
- DBUG_RETURN(error_num);
- if (current_str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN +
- SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- current_str->q_append(SPIDER_SQL_VALUE_QUOTE_STR,
- SPIDER_SQL_VALUE_QUOTE_LEN);
- } else {
- DBUG_PRINT("info",("spider without_quotes"));
- if ((error_num = row->append_to_str(current_str)))
- DBUG_RETURN(error_num);
- if (current_str->reserve(SPIDER_SQL_COMMA_LEN))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- current_str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row,
- ulong **last_row_pos,
- ulong **last_lengths
-) {
- int error_num;
- Field **field;
- ulong *lengths2, *row_pos2;
- DBUG_ENTER("spider_oracle_copy_table::copy_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!current_str)
- {
- if (!first_str)
- {
- if (!(first_str = new spider_string[1]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- first_str->init_calc_mem(216);
- first_str->set_charset(sql.charset());
- if (first_str->reserve(sql.length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- first_str->q_append(sql.ptr(), sql.length());
- } else {
- first_str->length(sql.length());
- }
- current_str = first_str;
- } else {
- if (!current_str->next)
- {
- if (!(current_str->next = new spider_string[1]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- current_str->next->init_calc_mem(217);
- current_str->next->set_charset(sql.charset());
- if (current_str->next->reserve(sql.length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- current_str->next->q_append(sql.ptr(), sql.length());
- } else {
- current_str->next->length(sql.length());
- }
- current_str = current_str->next;
- }
- row_pos2 = *last_row_pos;
- lengths2 = *last_lengths;
-
- for (
- field = table->field;
- *field;
- field++,
- lengths2++
- ) {
- *row_pos2 = current_str->length();
- if ((error_num =
- copy_row(*field, row)))
- DBUG_RETURN(error_num);
- *lengths2 = current_str->length() - *row_pos2 - SPIDER_SQL_COMMA_LEN;
- row->next();
- row_pos2++;
- }
- current_str->length(current_str->length() - SPIDER_SQL_COMMA_LEN);
- if (current_str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- current_str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- DBUG_PRINT("info",("spider current_str=%s", current_str->c_ptr_safe()));
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row
-) {
- int error_num;
- Field **field;
- DBUG_ENTER("spider_oracle_copy_table::copy_rows");
- DBUG_PRINT("info",("spider this=%p", this));
- if (!current_str)
- {
- if (!first_str)
- {
- if (!(first_str = new spider_string[1]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- first_str->init_calc_mem(218);
- first_str->set_charset(sql.charset());
- if (first_str->reserve(sql.length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- first_str->q_append(sql.ptr(), sql.length());
- } else {
- first_str->length(sql.length());
- }
- current_str = first_str;
- } else {
- if (!current_str->next)
- {
- if (!(current_str->next = new spider_string[1]))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- current_str->next->init_calc_mem(219);
- current_str->next->set_charset(sql.charset());
- if (current_str->next->reserve(sql.length()))
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- current_str->next->q_append(sql.ptr(), sql.length());
- } else {
- current_str->next->length(sql.length());
- }
- current_str = current_str->next;
- }
-
- for (
- field = table->field;
- *field;
- field++
- ) {
- if ((error_num =
- copy_row(*field, row)))
- DBUG_RETURN(error_num);
- row->next();
- }
- current_str->length(current_str->length() - SPIDER_SQL_COMMA_LEN);
- if (current_str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- current_str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
- SPIDER_SQL_CLOSE_PAREN_LEN);
- DBUG_PRINT("info",("spider current_str=%s", current_str->c_ptr_safe()));
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::append_insert_terminator()
-{
- DBUG_ENTER("spider_oracle_copy_table::append_insert_terminator");
- DBUG_PRINT("info",("spider this=%p", this));
- DBUG_RETURN(0);
-}
-
-int spider_oracle_copy_table::copy_insert_values(
- spider_db_copy_table *source_ct
-) {
- spider_oracle_copy_table *tmp_ct = (spider_oracle_copy_table *) source_ct;
- spider_string *source_str = &tmp_ct->sql;
- int values_length = source_str->length() - tmp_ct->pos;
- const char *values_ptr = source_str->ptr() + tmp_ct->pos;
- DBUG_ENTER("spider_oracle_copy_table::copy_insert_values");
- DBUG_PRINT("info",("spider this=%p", this));
- if (sql.reserve(values_length))
- {
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- }
- sql.q_append(values_ptr, values_length);
- DBUG_RETURN(0);
-}
-#endif
+/* Copyright (C) 2012-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#define MYSQL_SERVER 1
+#include "mysql_version.h"
+#if MYSQL_VERSION_ID < 50500
+#include "mysql_priv.h"
+#include <mysql/plugin.h>
+#else
+#include "sql_priv.h"
+#include "probes_mysql.h"
+#include "sql_partition.h"
+#include "sql_analyse.h"
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+#include "sql_select.h"
+#endif
+#endif
+
+#ifdef HAVE_ORACLE_OCI
+#include <oci.h>
+#include "spd_err.h"
+#include "spd_param.h"
+#include "spd_db_include.h"
+#include "spd_include.h"
+#include "spd_db_oracle.h"
+#include "ha_spider.h"
+#include "spd_conn.h"
+#include "spd_db_conn.h"
+#include "spd_malloc.h"
+#include "spd_sys_table.h"
+#include "spd_table.h"
+
+extern struct charset_info_st *spd_charset_utf8_bin;
+
+extern handlerton *spider_hton_ptr;
+extern pthread_mutex_t spider_open_conn_mutex;
+extern HASH spider_open_connections;
+extern SPIDER_DBTON spider_dbton[SPIDER_DBTON_SIZE];
+extern const char spider_dig_upper[];
+
+#define SPIDER_DB_WRAPPER_ORACLE "oracle"
+
+#define SPIDER_SQL_NAME_QUOTE_STR "\""
+#define SPIDER_SQL_NAME_QUOTE_LEN (sizeof(SPIDER_SQL_NAME_QUOTE_STR) - 1)
+static const char *name_quote_str = SPIDER_SQL_NAME_QUOTE_STR;
+
+#define SPIDER_SQL_ISO_READ_COMMITTED_STR "set transaction isolation level read committed"
+#define SPIDER_SQL_ISO_READ_COMMITTED_LEN sizeof(SPIDER_SQL_ISO_READ_COMMITTED_STR) - 1
+#define SPIDER_SQL_ISO_SERIALIZABLE_STR "set transaction isolation level serializable"
+#define SPIDER_SQL_ISO_SERIALIZABLE_LEN sizeof(SPIDER_SQL_ISO_SERIALIZABLE_STR) - 1
+
+#define SPIDER_SQL_START_TRANSACTION_STR "set transaction read write"
+#define SPIDER_SQL_START_TRANSACTION_LEN sizeof(SPIDER_SQL_START_TRANSACTION_STR) - 1
+
+#define SPIDER_SQL_AUTOCOMMIT_OFF_STR "set autocommit off"
+#define SPIDER_SQL_AUTOCOMMIT_OFF_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_OFF_STR) - 1
+#define SPIDER_SQL_AUTOCOMMIT_ON_STR "set autocommit on"
+#define SPIDER_SQL_AUTOCOMMIT_ON_LEN sizeof(SPIDER_SQL_AUTOCOMMIT_ON_STR) - 1
+
+#define SPIDER_SQL_LOCK_TABLE_STR "lock table "
+#define SPIDER_SQL_LOCK_TABLE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_STR) - 1)
+#define SPIDER_SQL_UNLOCK_TABLE_STR "unlock tables"
+#define SPIDER_SQL_UNLOCK_TABLE_LEN (sizeof(SPIDER_SQL_UNLOCK_TABLE_STR) - 1)
+#define SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR " in share mode"
+#define SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR) - 1)
+#define SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR " in exclusive mode"
+#define SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN (sizeof(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR) - 1)
+
+#define SPIDER_SQL_COMMIT_STR "commit"
+#define SPIDER_SQL_COMMIT_LEN sizeof(SPIDER_SQL_COMMIT_STR) - 1
+
+#define SPIDER_SQL_SET_NLS_DATE_FORMAT_STR "alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS'"
+#define SPIDER_SQL_SET_NLS_DATE_FORMAT_LEN sizeof(SPIDER_SQL_SET_NLS_DATE_FORMAT_STR) - 1
+#define SPIDER_SQL_SET_NLS_TIME_FORMAT_STR "alter session set nls_time_format='HH24:MI:SSXFF'"
+#define SPIDER_SQL_SET_NLS_TIME_FORMAT_LEN sizeof(SPIDER_SQL_SET_NLS_TIME_FORMAT_STR) - 1
+#define SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_STR "alter session set nls_timestamp_format='YYYY-MM-DD HH24:MI:SSXFF'"
+#define SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_LEN sizeof(SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_STR) - 1
+
+#define SPIDER_SQL_SELECT_WRAPPER_HEAD_STR "select * from ("
+#define SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN sizeof(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR) - 1
+#define SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR " where rowid in (select rowid from (select rowid, row_number() over (order by "
+#define SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN sizeof(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR) - 1
+#define SPIDER_SQL_ROW_NUMBER_HEAD_STR ", row_number() over (order by "
+#define SPIDER_SQL_ROW_NUMBER_HEAD_LEN sizeof(SPIDER_SQL_ROW_NUMBER_HEAD_STR) - 1
+#define SPIDER_SQL_ROW_NUMBER_TAIL_STR "rowid) row_num"
+#define SPIDER_SQL_ROW_NUMBER_TAIL_LEN sizeof(SPIDER_SQL_ROW_NUMBER_TAIL_STR) - 1
+#define SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR "rowid desc) row_num"
+#define SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN sizeof(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR) - 1
+#define SPIDER_SQL_SELECT_WRAPPER_TAIL_STR ") where row_num "
+#define SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN sizeof(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR) - 1
+#define SPIDER_SQL_ROW_NUM_STR "row_num"
+#define SPIDER_SQL_ROW_NUM_LEN sizeof(SPIDER_SQL_ROW_NUM_STR) - 1
+#define SPIDER_SQL_ROWNUM_STR "rownum"
+#define SPIDER_SQL_ROWNUM_LEN sizeof(SPIDER_SQL_ROWNUM_STR) - 1
+#define SPIDER_SQL_NEXTVAL_STR ".nextval"
+#define SPIDER_SQL_NEXTVAL_LEN sizeof(SPIDER_SQL_NEXTVAL_STR) - 1
+#define SPIDER_SQL_CURRVAL_STR ".currval"
+#define SPIDER_SQL_CURRVAL_LEN sizeof(SPIDER_SQL_CURRVAL_STR) - 1
+#define SPIDER_SQL_FROM_DUAL_STR " from dual"
+#define SPIDER_SQL_FROM_DUAL_LEN sizeof(SPIDER_SQL_FROM_DUAL_STR) - 1
+
+#define SPIDER_SQL_SHOW_TABLE_STATUS_STR "show table status from "
+#define SPIDER_SQL_SHOW_TABLE_STATUS_LEN sizeof(SPIDER_SQL_SHOW_TABLE_STATUS_STR) - 1
+#define SPIDER_SQL_SELECT_TABLES_STATUS_STR "select `table_rows`,`avg_row_length`,`data_length`,`max_data_length`,`index_length`,`auto_increment`,`create_time`,`update_time`,`check_time` from `information_schema`.`tables` where `table_schema` = "
+#define SPIDER_SQL_SELECT_TABLES_STATUS_LEN sizeof(SPIDER_SQL_SELECT_TABLES_STATUS_STR) - 1
+
+#define SPIDER_SQL_LIKE_STR " like "
+#define SPIDER_SQL_LIKE_LEN (sizeof(SPIDER_SQL_LIKE_STR) - 1)
+#define SPIDER_SQL_LIMIT1_STR "rownum = 1"
+#define SPIDER_SQL_LIMIT1_LEN (sizeof(SPIDER_SQL_LIMIT1_STR) - 1)
+
+#define SPIDER_SQL_ADD_MONTHS_STR "add_months"
+#define SPIDER_SQL_ADD_MONTHS_LEN (sizeof(SPIDER_SQL_ADD_MONTHS_STR) - 1)
+
+#define SPIDER_ORACLE_ERR_BUF_LEN 512
+
+static uchar SPIDER_SQL_LINESTRING_HEAD_STR[] =
+ {0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00};
+#define SPIDER_SQL_LINESTRING_HEAD_LEN sizeof(SPIDER_SQL_LINESTRING_HEAD_STR)
+
+static const char *spider_db_table_lock_str[] =
+{
+ " in share mode",
+ " in share mode",
+ " in exclusive mode",
+ " in exclusive mode"
+};
+static const int spider_db_table_lock_len[] =
+{
+ sizeof(" in share mode") - 1,
+ sizeof(" in share mode") - 1,
+ sizeof(" in exclusive mode") - 1,
+ sizeof(" in exclusive mode") - 1
+};
+
+int spider_db_oracle_get_error(
+ sword res,
+ dvoid *hndlp,
+ int error_num,
+ const char *error1,
+ const char *error2,
+ CHARSET_INFO *access_charset,
+ char *stored_error_msg
+) {
+ sb4 error_code;
+ char buf[SPIDER_ORACLE_ERR_BUF_LEN];
+ char buf2[SPIDER_ORACLE_ERR_BUF_LEN];
+ spider_string tmp_str(buf2, SPIDER_ORACLE_ERR_BUF_LEN, system_charset_info);
+ DBUG_ENTER("spider_db_oracle_get_error");
+ tmp_str.init_calc_mem(176);
+ tmp_str.length(0);
+
+ switch (res)
+ {
+ case OCI_SUCCESS:
+ DBUG_PRINT("info",("spider res=OCI_SUCCESS"));
+ break;
+ case OCI_SUCCESS_WITH_INFO:
+ DBUG_PRINT("info",("spider res=OCI_SUCCESS_WITH_INFO"));
+ OCIErrorGet(hndlp, 1, NULL, &error_code, (OraText *) buf, sizeof(buf),
+ OCI_HTYPE_ERROR);
+ DBUG_PRINT("info",("spider error_code=%d error='%s'",error_code ,buf));
+ if (access_charset && access_charset->cset != system_charset_info->cset)
+ {
+ tmp_str.append(buf, strlen(buf), access_charset);
+ } else {
+ tmp_str.set(buf, strlen(buf), system_charset_info);
+ }
+ push_warning_printf(current_thd, SPIDER_WARN_LEVEL_WARN,
+ ER_SPIDER_ORACLE_NUM, ER_SPIDER_ORACLE_STR, res, error_code,
+ tmp_str.c_ptr_safe());
+ break;
+ case OCI_NO_DATA:
+ DBUG_PRINT("info",("spider res=OCI_NO_DATA"));
+ DBUG_RETURN(HA_ERR_END_OF_FILE);
+ case OCI_ERROR:
+ DBUG_PRINT("info",("spider res=OCI_ERROR"));
+ OCIErrorGet(hndlp, 1, NULL, &error_code, (OraText *) buf, sizeof(buf),
+ OCI_HTYPE_ERROR);
+ DBUG_PRINT("info",("spider error_code=%d error='%s'",error_code ,buf));
+ if (error_code == 1)
+ {
+ DBUG_PRINT("info",("spider found dupp key"));
+ if (stored_error_msg)
+ strmov(stored_error_msg, buf);
+ DBUG_RETURN(HA_ERR_FOUND_DUPP_KEY);
+ }
+ if (error_num)
+ {
+ if (error1)
+ {
+ if (error2)
+ {
+ my_printf_error(error_num, error1, MYF(0), error2);
+ } else {
+ my_printf_error(error_num, error1, MYF(0));
+ }
+ } else if (error2) {
+ my_error(error_num, MYF(0), error2);
+ } else {
+ my_error(error_num, MYF(0));
+ }
+ }
+ if (access_charset && access_charset->cset != system_charset_info->cset)
+ {
+ tmp_str.append(buf, strlen(buf), access_charset);
+ } else {
+ tmp_str.set(buf, strlen(buf), system_charset_info);
+ }
+ my_printf_error(ER_SPIDER_ORACLE_NUM, ER_SPIDER_ORACLE_STR, MYF(0),
+ res, error_code, tmp_str.c_ptr_safe());
+ if (error_num)
+ {
+ DBUG_RETURN(error_num);
+ } else {
+ DBUG_RETURN(ER_SPIDER_ORACLE_NUM);
+ }
+ case OCI_INVALID_HANDLE:
+ case OCI_NEED_DATA:
+ if (res == OCI_INVALID_HANDLE)
+ DBUG_PRINT("info",("spider res=OCI_INVALID_HANDLE"));
+ else
+ DBUG_PRINT("info",("spider res=OCI_NEED_DATA"));
+ default:
+ DBUG_PRINT("info",("spider res=%d", res));
+ if (error_num)
+ {
+ if (error1)
+ {
+ if (error2)
+ {
+ my_printf_error(error_num, error1, MYF(0), error2);
+ } else {
+ my_printf_error(error_num, error1, MYF(0));
+ }
+ } else if (error2) {
+ my_error(error_num, MYF(0), error2);
+ } else {
+ my_error(error_num, MYF(0));
+ }
+ }
+ my_printf_error(ER_SPIDER_ORACLE_NUM, ER_SPIDER_ORACLE_STR, MYF(0),
+ res, 0, "");
+ if (error_num)
+ {
+ DBUG_RETURN(error_num);
+ } else {
+ DBUG_RETURN(ER_SPIDER_ORACLE_NUM);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_init()
+{
+ DBUG_ENTER("spider_oracle_init");
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_deinit()
+{
+ DBUG_ENTER("spider_oracle_deinit");
+ DBUG_RETURN(0);
+}
+
+spider_db_share *spider_oracle_create_share(
+ SPIDER_SHARE *share
+) {
+ DBUG_ENTER("spider_oracle_create_share");
+ DBUG_RETURN(new spider_oracle_share(share));
+}
+
+spider_db_handler *spider_oracle_create_handler(
+ ha_spider *spider,
+ spider_db_share *db_share
+) {
+ DBUG_ENTER("spider_oracle_create_handler");
+ DBUG_RETURN(new spider_oracle_handler(spider,
+ (spider_oracle_share *) db_share));
+}
+
+spider_db_copy_table *spider_oracle_create_copy_table(
+ spider_db_share *db_share
+) {
+ DBUG_ENTER("spider_oracle_create_copy_table");
+ DBUG_RETURN(new spider_oracle_copy_table(
+ (spider_oracle_share *) db_share));
+}
+
+SPIDER_DB_CONN *spider_oracle_create_conn(
+ SPIDER_CONN *conn
+) {
+ DBUG_ENTER("spider_oracle_create_conn");
+ DBUG_RETURN(new spider_db_oracle(conn));
+}
+
+spider_db_oracle_util spider_db_oracle_utility;
+
+SPIDER_DBTON spider_dbton_oracle = {
+ 0,
+ SPIDER_DB_WRAPPER_ORACLE,
+ SPIDER_DB_ACCESS_TYPE_SQL,
+ spider_oracle_init,
+ spider_oracle_deinit,
+ spider_oracle_create_share,
+ spider_oracle_create_handler,
+ spider_oracle_create_copy_table,
+ spider_oracle_create_conn,
+ &spider_db_oracle_utility
+};
+
+spider_db_oracle_row::spider_db_oracle_row() :
+ spider_db_row(spider_dbton_oracle.dbton_id),
+ db_conn(NULL), result(NULL),
+ ind(NULL), val(NULL), rlen(NULL), ind_first(NULL), val_first(NULL),
+ rlen_first(NULL), val_str(NULL), val_str_first(NULL), defnp(NULL),
+ lobhp(NULL), colhp(NULL), coltp(NULL), colsz(NULL), field_count(0),
+ row_size(NULL), row_size_first(NULL), access_charset(NULL), cloned(FALSE)
+{
+ DBUG_ENTER("spider_db_oracle_row::spider_db_oracle_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_oracle_row::~spider_db_oracle_row()
+{
+ DBUG_ENTER("spider_db_oracle_row::~spider_db_oracle_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ deinit();
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_oracle_row::store_to_field(
+ Field *field,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_oracle_row::store_to_field");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider ind=%d", *ind));
+ if (*ind == -1)
+ {
+ DBUG_PRINT("info", ("spider field is null"));
+ field->set_null();
+ field->reset();
+ } else {
+ DBUG_PRINT("info", ("spider field->type()=%u", field->type()));
+ field->set_notnull();
+ if (field->type() == MYSQL_TYPE_YEAR)
+ {
+ field->store(val_str->ptr(), 4,
+ field->table->s->table_charset);
+ } else if (field->type() == MYSQL_TYPE_DATE)
+ {
+ field->store(val_str->ptr(), 10,
+ field->table->s->table_charset);
+ } else if (field->type() == MYSQL_TYPE_TIME)
+ {
+ field->store(val_str->ptr() + 11, 8,
+ field->table->s->table_charset);
+ } else {
+ DBUG_PRINT("info", ("spider val_str->length()=%u", val_str->length()));
+ if (field->flags & BLOB_FLAG)
+ {
+ DBUG_PRINT("info", ("spider blob field"));
+ ((Field_blob *)field)->set_ptr(
+ val_str->length(), (uchar *) val_str->ptr());
+ } else {
+ field->store(val_str->ptr(), val_str->length(),
+ field->table->s->table_charset);
+ }
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_row::append_to_str(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_oracle_row::append_to_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(val_str->length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(val_str->ptr(), val_str->length());
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_row::append_escaped_to_str(
+ spider_string *str,
+ uint dbton_id
+) {
+ DBUG_ENTER("spider_db_oracle_row::append_escaped_to_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+/*
+ spider_string tmp_str(*val, *rlen, str->charset());
+ tmp_str.init_calc_mem(174);
+ tmp_str.length(*rlen);
+#ifndef DBUG_OFF
+ tmp_str.c_ptr_safe();
+#endif
+ if (str->reserve(*rlen * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ util.append_escaped(str, tmp_str.get_str());
+*/
+ if (str->reserve(val_str->length() * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ spider_dbton[dbton_id].db_util->append_escaped_util(str, val_str->get_str());
+ DBUG_RETURN(0);
+}
+
+void spider_db_oracle_row::first()
+{
+ DBUG_ENTER("spider_db_oracle_row::first");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider ind_first=%p", ind_first));
+ ind = ind_first;
+ DBUG_PRINT("info",("spider val_first=%p", val_first));
+ val = val_first;
+ DBUG_PRINT("info",("spider rlen_first=%p", rlen_first));
+ rlen = rlen_first;
+ DBUG_PRINT("info",("spider row_size_first=%p", row_size_first));
+ row_size = row_size_first;
+ DBUG_PRINT("info",("spider val_str_first=%p", val_str_first));
+ val_str = val_str_first;
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_oracle_row::next()
+{
+ DBUG_ENTER("spider_db_oracle_row::next");
+ DBUG_PRINT("info",("spider this=%p", this));
+ ind++;
+ val++;
+ rlen++;
+ row_size++;
+ val_str++;
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_oracle_row::is_null()
+{
+ DBUG_ENTER("spider_db_oracle_row::is_null");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((*ind == -1));
+}
+
+int spider_db_oracle_row::val_int()
+{
+ DBUG_ENTER("spider_db_oracle_row::val_int");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((*ind != -1) ? atoi(*val) : 0);
+}
+
+double spider_db_oracle_row::val_real()
+{
+ DBUG_ENTER("spider_db_oracle_row::val_real");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((*ind != -1) ? my_atof(*val) : 0.0);
+}
+
+my_decimal *spider_db_oracle_row::val_decimal(
+ my_decimal *decimal_value,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_oracle_row::val_decimal");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (*ind == -1)
+ DBUG_RETURN(NULL);
+
+#ifdef SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
+ decimal_operation_results(str2my_decimal(0, *val, *rlen, access_charset,
+ decimal_value), "", "");
+#else
+ decimal_operation_results(str2my_decimal(0, *val, *rlen, access_charset,
+ decimal_value));
+#endif
+
+ DBUG_RETURN(decimal_value);
+}
+
+SPIDER_DB_ROW *spider_db_oracle_row::clone()
+{
+ uint i;
+ spider_db_oracle_row *clone_row;
+ DBUG_ENTER("spider_db_oracle_row::clone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(clone_row = new spider_db_oracle_row()))
+ {
+ DBUG_RETURN(NULL);
+ }
+ clone_row->db_conn = db_conn;
+ clone_row->result = result;
+ clone_row->field_count = field_count;
+ clone_row->access_charset = access_charset;
+ clone_row->cloned = TRUE;
+ if (clone_row->init())
+ {
+ delete clone_row;
+ DBUG_RETURN(NULL);
+ }
+ memcpy(clone_row->ind, ind_first, sizeof(ub2) * field_count * 4 +
+ sizeof(ulong) * field_count);
+ for (i = 0; i < field_count; i++)
+ {
+ if (clone_row->val_str[i].copy(val_str_first[i]))
+ {
+ delete clone_row;
+ DBUG_RETURN(NULL);
+ }
+ }
+ DBUG_RETURN((SPIDER_DB_ROW *) clone_row);
+}
+
+int spider_db_oracle_row::store_to_tmp_table(
+ TABLE *tmp_table,
+ spider_string *str
+) {
+ uint i;
+ DBUG_ENTER("spider_db_oracle_row::store_to_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ for (i = 0; i < field_count; i++)
+ {
+ if (row_size_first[i])
+ {
+ if (str->reserve(val_str_first[i].length()))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(val_str_first[i].ptr(), val_str_first[i].length());
+ }
+ }
+ tmp_table->field[0]->set_notnull();
+ tmp_table->field[0]->store(
+ (const char *) row_size_first,
+ sizeof(ulong) * field_count, &my_charset_bin);
+ tmp_table->field[1]->set_notnull();
+ tmp_table->field[1]->store(
+ str->ptr(), str->length(), &my_charset_bin);
+ tmp_table->field[2]->set_notnull();
+ tmp_table->field[2]->store(
+ (char *) ind_first, (uint) (sizeof(sb2) * field_count), &my_charset_bin);
+ DBUG_RETURN(tmp_table->file->ha_write_row(tmp_table->record[0]));
+}
+
+int spider_db_oracle_row::init()
+{
+ char *tmp_val;
+ uint i;
+ DBUG_ENTER("spider_db_oracle_row::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (
+ !(ind = (sb2 *)
+ spider_bulk_malloc(spider_current_trx, 161, MYF(MY_WME | MY_ZEROFILL),
+ &ind, sizeof(sb2) * field_count,
+ &rlen, sizeof(ub2) * field_count,
+ &coltp, sizeof(ub2) * field_count,
+ &colsz, sizeof(ub2) * field_count,
+ &row_size, sizeof(ulong) * field_count,
+ &val, sizeof(char *) * field_count,
+ &tmp_val, MAX_FIELD_WIDTH * field_count,
+ &defnp, sizeof(OCIDefine *) * field_count,
+ &lobhp, sizeof(OCILobLocator *) * field_count,
+ &colhp, sizeof(OCIParam *) * field_count,
+ NullS)
+ ) ||
+ !(val_str = new spider_string[field_count])
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ ind_first = ind;
+ val_first = val;
+ rlen_first = rlen;
+ row_size_first = row_size;
+ val_str_first = val_str;
+ for (i = 0; i < field_count; i++)
+ {
+ val[i] = tmp_val;
+ val_str[i].init_calc_mem(177);
+ val_str[i].set(tmp_val, MAX_FIELD_WIDTH, access_charset);
+ tmp_val += MAX_FIELD_WIDTH;
+ }
+ DBUG_RETURN(0);
+}
+
+void spider_db_oracle_row::deinit()
+{
+ uint i;
+ DBUG_ENTER("spider_db_oracle_row::deinit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!cloned)
+ {
+ for (i = 0; i < field_count; i++)
+ {
+ if (defnp && defnp[i])
+ {
+ OCIHandleFree(defnp[i], OCI_HTYPE_DEFINE);
+ defnp[i] = NULL;
+ }
+ if (lobhp && lobhp[i])
+ {
+ OCIDescriptorFree(lobhp[i], OCI_DTYPE_LOB);
+ lobhp[i] = NULL;
+ }
+ }
+ }
+ if (val_str_first)
+ {
+ delete [] val_str_first;
+ val_str_first = NULL;
+ }
+ if (ind_first)
+ {
+ spider_free(spider_current_trx, ind_first, MYF(0));
+ ind_first = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_oracle_row::define()
+{
+ sword res;
+ uint i;
+ DBUG_ENTER("spider_db_oracle_row::define");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (i = 0; i < field_count; i++)
+ {
+ if (coltp[i] == SQLT_BLOB)
+ {
+ res = OCIDescriptorAlloc(db_conn->envhp, (dvoid **) &lobhp[i],
+ OCI_DTYPE_LOB, 0, 0);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_RETURN(
+ spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
+ access_charset, NULL));
+ }
+ res = OCIDefineByPos(result->stmtp, &defnp[i], db_conn->errhp, i + 1,
+ &lobhp[i], 0, SQLT_BLOB, &ind[i], &rlen[i], NULL,
+ OCI_DEFAULT);
+ } else if (coltp[i] == SQLT_DAT)
+ {
+ res = OCIDefineByPos(result->stmtp, &defnp[i], db_conn->errhp, i + 1,
+ (char *) val_str[i].ptr() + 20, sizeof(ub1) * 7, SQLT_DAT, &ind[i],
+ &rlen[i], NULL, OCI_DEFAULT);
+ } else {
+ if (val_str[i].alloc(colsz[i]))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ res = OCIDefineByPos(result->stmtp, &defnp[i], db_conn->errhp, i + 1,
+ (char *) val_str[i].ptr(), colsz[i], SQLT_CHR, &ind[i], &rlen[i], NULL,
+ OCI_DEFAULT);
+ }
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_RETURN(
+ spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
+ access_charset, NULL));
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_row::fetch()
+{
+ sword res;
+ uint i;
+ DBUG_ENTER("spider_db_oracle_row::fetch");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (i = 0; i < field_count; i++)
+ {
+ if (ind[i] == -1)
+ {
+ DBUG_PRINT("info",("spider NULL"));
+ val_str[i].length(0);
+ } else {
+ if (coltp[i] == SQLT_BLOB)
+ {
+ DBUG_PRINT("info",("spider SQLT_BLOB"));
+ oraub8 len;
+ res = OCILobGetLength2(db_conn->svchp, db_conn->errhp, lobhp[i], &len);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_RETURN(
+ spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
+ access_charset, NULL));
+ }
+#ifndef DBUG_OFF
+ {
+ ulonglong print_len = len;
+ DBUG_PRINT("info",("spider len=%llu", print_len));
+ }
+#endif
+ if (val_str[i].alloc(len))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ res = OCILobRead2(db_conn->svchp, db_conn->errhp, lobhp[i], &len,
+ NULL, 1, (char *) val_str[i].ptr(), len, OCI_ONE_PIECE, NULL, NULL,
+ 0, 0);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_RETURN(
+ spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
+ access_charset, NULL));
+ }
+#ifndef DBUG_OFF
+ {
+ ulonglong print_len = len;
+ DBUG_PRINT("info",("spider lenb=%llu", print_len));
+ }
+#endif
+ val_str[i].length(len);
+ } else if (coltp[i] == SQLT_DAT)
+ {
+ DBUG_PRINT("info",("spider SQLT_DAT"));
+ char *val = (char *) val_str[i].ptr();
+ ub1 *src = (ub1 *) val + 20;
+ val_str[i].length(19);
+ if (src[0] < 100)
+ my_sprintf(val, (val, "0000-00-00 00:00:00"));
+ else
+ my_sprintf(val, (val, "%02u%02u-%02u-%02u %02u:%02u:%02u",
+ src[0] - 100, src[1] - 100, src[2], src[3],
+ src[4] - 1, src[5] - 1, src[6] - 1));
+ } else {
+ val_str[i].length(rlen[i]);
+ }
+ }
+ row_size[i] = val_str[i].length();
+ }
+ DBUG_RETURN(0);
+}
+
+spider_db_oracle_result::spider_db_oracle_result() :
+ spider_db_result(spider_dbton_oracle.dbton_id),
+ db_conn(NULL), stmtp(NULL), field_count(0), access_charset(NULL),
+ fetched(FALSE)
+{
+ DBUG_ENTER("spider_db_oracle_result::spider_db_oracle_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_oracle_result::~spider_db_oracle_result()
+{
+ DBUG_ENTER("spider_db_oracle_result::~spider_db_oracle_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ free_result();
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_oracle_result::has_result()
+{
+ DBUG_ENTER("spider_db_oracle_result::has_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(stmtp);
+}
+
+void spider_db_oracle_result::free_result()
+{
+ DBUG_ENTER("spider_db_oracle_result::free_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (stmtp)
+ {
+ OCIHandleFree(stmtp, OCI_HTYPE_STMT);
+ stmtp = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+SPIDER_DB_ROW *spider_db_oracle_result::current_row()
+{
+ DBUG_ENTER("spider_db_oracle_result::current_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN((SPIDER_DB_ROW *) row.clone());
+}
+
+SPIDER_DB_ROW *spider_db_oracle_result::fetch_row()
+{
+ sword res;
+ DBUG_ENTER("spider_db_oracle_result::fetch_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ row.ind = row.ind_first;
+ row.val = row.val_first;
+ row.rlen = row.rlen_first;
+ row.row_size = row.row_size_first;
+ row.val_str = row.val_str_first;
+ if (fetched)
+ {
+ /* already fetched */
+ fetched = FALSE;
+ } else {
+ res = OCIStmtFetch2(stmtp, db_conn->errhp, 1, OCI_FETCH_NEXT, 0,
+ OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ store_error_num = spider_db_oracle_get_error(res, db_conn->errhp, 0,
+ NULL, NULL, access_charset, NULL);
+ DBUG_RETURN(NULL);
+ }
+ }
+ if ((store_error_num = row.fetch()))
+ {
+ DBUG_RETURN(NULL);
+ }
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+SPIDER_DB_ROW *spider_db_oracle_result::fetch_row_from_result_buffer(
+ spider_db_result_buffer *spider_res_buf
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle_result::fetch_row_from_result_buffer");
+ DBUG_PRINT("info",("spider this=%p", this));
+ row.ind = row.ind_first;
+ row.val = row.val_first;
+ row.rlen = row.rlen_first;
+ row.row_size = row.row_size_first;
+ row.val_str = row.val_str_first;
+ if (fetched)
+ {
+ /* already fetched */
+ fetched = FALSE;
+ } else {
+ res = OCIStmtFetch2(stmtp, db_conn->errhp, 1, OCI_FETCH_NEXT, 0,
+ OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ store_error_num = spider_db_oracle_get_error(res, db_conn->errhp, 0,
+ NULL, NULL, access_charset, NULL);
+ DBUG_RETURN(NULL);
+ }
+ }
+ if ((store_error_num = row.fetch()))
+ {
+ DBUG_RETURN(NULL);
+ }
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+SPIDER_DB_ROW *spider_db_oracle_result::fetch_row_from_tmp_table(
+ TABLE *tmp_table
+) {
+ uint i;
+ const char *str;
+ spider_string tmp_str1, tmp_str2, tmp_str3;
+ DBUG_ENTER("spider_db_oracle_result::fetch_row_from_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_str1.init_calc_mem(175);
+ tmp_str2.init_calc_mem(178);
+ tmp_str3.init_calc_mem(179);
+ tmp_table->field[0]->val_str(tmp_str1.get_str());
+ tmp_table->field[1]->val_str(tmp_str2.get_str());
+ tmp_table->field[2]->val_str(tmp_str3.get_str());
+ tmp_str1.mem_calc();
+ tmp_str2.mem_calc();
+ tmp_str3.mem_calc();
+ row.ind = row.ind_first;
+ row.val = row.val_first;
+ row.rlen = row.rlen_first;
+ row.row_size = row.row_size_first;
+ row.val_str = row.val_str_first;
+ DBUG_PRINT("info",("spider tmp_str1.length()=%u", tmp_str1.length()));
+ DBUG_PRINT("info",("spider tmp_str2.length()=%u", tmp_str2.length()));
+ DBUG_PRINT("info",("spider tmp_str3.length()=%u", tmp_str3.length()));
+ memcpy(row.ind, tmp_str3.ptr(), tmp_str3.length());
+ memcpy(row.row_size, tmp_str1.ptr(), tmp_str1.length());
+ row.field_count = tmp_str1.length() / sizeof(ulong);
+ str = tmp_str2.ptr();
+ for (i = 0; i < row.field_count; i++)
+ {
+ row.val_str[i].length(0);
+ if (row.row_size[i])
+ {
+ if (row.val_str[i].reserve(row.row_size[i]))
+ {
+ store_error_num = HA_ERR_OUT_OF_MEM;
+ DBUG_RETURN(NULL);
+ }
+ row.val_str[i].q_append(str, row.row_size[i]);
+ str += row.row_size[i];
+ }
+ }
+ DBUG_RETURN((SPIDER_DB_ROW *) &row);
+}
+
+int spider_db_oracle_result::fetch_table_status(
+ int mode,
+ ha_rows &records,
+ ulong &mean_rec_length,
+ ulonglong &data_file_length,
+ ulonglong &max_data_file_length,
+ ulonglong &index_file_length,
+ ulonglong &auto_increment_value,
+ time_t &create_time,
+ time_t &update_time,
+ time_t &check_time
+) {
+ DBUG_ENTER("spider_db_oracle_result::fetch_table_status");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ records = 2;
+ mean_rec_length = 65535;
+ data_file_length = 65535;
+ max_data_file_length = 65535;
+ index_file_length = 65535;
+/*
+ auto_increment_value = 0;
+*/
+ create_time = (time_t) 0;
+ update_time = (time_t) 0;
+ check_time = (time_t) 0;
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_result::fetch_table_records(
+ int mode,
+ ha_rows &records
+) {
+ DBUG_ENTER("spider_db_oracle_result::fetch_table_records");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!fetch_row())
+ {
+ records = 0;
+ } else {
+ records = row.val_int();
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_result::fetch_table_cardinality(
+ int mode,
+ TABLE *table,
+ longlong *cardinality,
+ uchar *cardinality_upd,
+ int bitmap_size
+) {
+ DBUG_ENTER("spider_db_oracle_result::fetch_table_cardinality");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_result::fetch_table_mon_status(
+ int &status
+) {
+ DBUG_ENTER("spider_db_oracle_result::fetch_table_mon_status");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ status = SPIDER_LINK_MON_OK;
+ DBUG_RETURN(0);
+}
+
+longlong spider_db_oracle_result::num_rows()
+{
+ sword res;
+ ub4 rowcnt;
+ DBUG_ENTER("spider_db_oracle_result::num_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ res = OCIAttrGet(stmtp, OCI_HTYPE_STMT, &rowcnt, 0,
+ OCI_ATTR_ROW_COUNT, db_conn->errhp);
+ if (res != OCI_SUCCESS)
+ {
+ spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
+ access_charset, NULL);
+ DBUG_RETURN(0);
+ }
+ DBUG_PRINT("info",("spider rowcnt=%u", rowcnt));
+ DBUG_RETURN((longlong) rowcnt);
+}
+
+uint spider_db_oracle_result::num_fields()
+{
+ sword res;
+ ub4 parmcnt;
+ DBUG_ENTER("spider_db_oracle_result::num_fields");
+ DBUG_PRINT("info",("spider this=%p", this));
+ res = OCIAttrGet(stmtp, OCI_HTYPE_STMT, &parmcnt, 0,
+ OCI_ATTR_PARAM_COUNT, db_conn->errhp);
+ if (res != OCI_SUCCESS)
+ {
+ spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
+ access_charset, NULL);
+ DBUG_RETURN(0);
+ }
+ DBUG_RETURN((uint) parmcnt);
+}
+
+void spider_db_oracle_result::move_to_pos(
+ longlong pos
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle_result::move_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider pos=%lld", pos));
+ res = OCIStmtFetch2(stmtp, db_conn->errhp, 1, OCI_FETCH_ABSOLUTE, pos,
+ OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL, NULL,
+ access_charset, NULL);
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_oracle_result::set_column_info()
+{
+ sword res;
+ uint i;
+ DBUG_ENTER("spider_db_oracle_result::set_column_info");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (i = 0; i < field_count; i++)
+ {
+ res = OCIParamGet(stmtp, OCI_HTYPE_STMT, db_conn->errhp,
+ (dvoid **) &row.colhp[i], i + 1);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_RETURN(spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL,
+ NULL, access_charset, NULL));
+ }
+ res = OCIAttrGet(row.colhp[i], OCI_DTYPE_PARAM, &row.coltp[i], NULL,
+ OCI_ATTR_DATA_TYPE, db_conn->errhp);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_RETURN(spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL,
+ NULL, access_charset, NULL));
+ }
+ res = OCIAttrGet(row.colhp[i], OCI_DTYPE_PARAM, &row.colsz[i], NULL,
+ OCI_ATTR_DATA_SIZE, db_conn->errhp);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_RETURN(spider_db_oracle_get_error(res, db_conn->errhp, 0, NULL,
+ NULL, access_charset, NULL));
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_result::get_errno()
+{
+ DBUG_ENTER("spider_db_oracle_result::get_errno");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider store_error_num=%d", store_error_num));
+ DBUG_RETURN(store_error_num);
+}
+
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+int spider_db_oracle_result::fetch_columns_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_oracle_result::fetch_columns_for_discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+
+int spider_db_oracle_result::fetch_index_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_oracle_result::fetch_index_for_discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+#endif
+
+spider_db_oracle::spider_db_oracle(
+ SPIDER_CONN *conn
+) : spider_db_conn(conn), envhp(NULL), errhp(NULL), srvhp(NULL), svchp(NULL),
+ usrhp(NULL), stmtp(NULL), txnhp(NULL), result(NULL), table_lock_mode(0),
+ lock_table_hash_inited(FALSE), handler_open_array_inited(FALSE)
+{
+ DBUG_ENTER("spider_db_oracle::spider_db_oracle");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_oracle::~spider_db_oracle()
+{
+ DBUG_ENTER("spider_db_oracle::~spider_db_oracle");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (handler_open_array_inited)
+ {
+ reset_opened_handler();
+ spider_free_mem_calc(spider_current_trx,
+ handler_open_array_id,
+ handler_open_array.max_element *
+ handler_open_array.size_of_element);
+ delete_dynamic(&handler_open_array);
+ }
+ if (lock_table_hash_inited)
+ {
+ spider_free_mem_calc(spider_current_trx,
+ lock_table_hash_id,
+ lock_table_hash.array.max_element *
+ lock_table_hash.array.size_of_element);
+ my_hash_free(&lock_table_hash);
+ }
+ disconnect();
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_oracle::init()
+{
+ DBUG_ENTER("spider_db_oracle::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (
+ my_hash_init(&lock_table_hash, spd_charset_utf8_bin, 32, 0, 0,
+ (my_hash_get_key) spider_link_get_key, 0, 0)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_alloc_calc_mem_init(lock_table_hash, 199);
+ spider_alloc_calc_mem(spider_current_trx,
+ lock_table_hash,
+ lock_table_hash.array.max_element *
+ lock_table_hash.array.size_of_element);
+ lock_table_hash_inited = TRUE;
+
+ if (
+ SPD_INIT_DYNAMIC_ARRAY2(&handler_open_array,
+ sizeof(SPIDER_LINK_FOR_HASH *), NULL, 16, 16, MYF(MY_WME))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_alloc_calc_mem_init(handler_open_array, 164);
+ spider_alloc_calc_mem(spider_current_trx,
+ handler_open_array,
+ handler_open_array.max_element *
+ handler_open_array.size_of_element);
+ handler_open_array_inited = TRUE;
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle::is_connected()
+{
+ DBUG_ENTER("spider_db_oracle::is_connected");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(svchp);
+}
+
+void spider_db_oracle::bg_connect()
+{
+ sword res;
+ DBUG_ENTER("spider_db_oracle::bg_connect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ res = OCIEnvNlsCreate(&envhp, OCI_DEFAULT, 0, 0, 0, 0, 0, 0, 0, 0);
+/*
+ res = OCIEnvCreate(&envhp, OCI_THREADED, 0, 0, 0, 0, 0, 0);
+*/
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider create environment error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ goto error;
+ }
+ DBUG_PRINT("info",("spider OCI init envhp=%p", envhp));
+
+ res = OCIHandleAlloc(envhp, (dvoid **) &errhp, OCI_HTYPE_ERROR, 0, 0);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider create error handler error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+ DBUG_PRINT("info",("spider OCI init errhp=%p", errhp));
+
+ res = OCIHandleAlloc(envhp, (dvoid **) &srvhp, OCI_HTYPE_SERVER, 0, 0);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider create server handler error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+ DBUG_PRINT("info",("spider OCI init srvhp=%p", srvhp));
+
+ res = OCIServerAttach(srvhp, errhp, (OraText *) tgt_host, strlen(tgt_host),
+ OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider attach server error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+
+ res = OCIHandleAlloc(envhp, (dvoid **) &svchp, OCI_HTYPE_SVCCTX, 0, 0);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider create service context error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+ DBUG_PRINT("info",("spider OCI init svchp=%p", svchp));
+
+ res = OCIAttrSet(svchp, OCI_HTYPE_SVCCTX, srvhp, 0, OCI_ATTR_SERVER, errhp);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider set server attr error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+
+ res = OCIHandleAlloc(envhp, (dvoid **) &usrhp, OCI_HTYPE_SESSION, 0, 0);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider create session handler error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+ DBUG_PRINT("info",("spider OCI init usrhp=%p", usrhp));
+
+ res = OCIAttrSet(usrhp, OCI_HTYPE_SESSION,
+ tgt_username, strlen(tgt_username), OCI_ATTR_USERNAME, errhp);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider set username attr error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+
+ res = OCIAttrSet(usrhp, OCI_HTYPE_SESSION,
+ tgt_password, strlen(tgt_password), OCI_ATTR_PASSWORD, errhp);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider set password attr error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+
+ res = OCISessionBegin(svchp, errhp, usrhp, OCI_CRED_RDBMS, OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider session begin error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+ DBUG_PRINT("info",("spider OCISessionBegin"));
+
+ // set the session in the context handle
+ res = OCIAttrSet(svchp, OCI_HTYPE_SVCCTX, usrhp, 0, OCI_ATTR_SESSION, errhp);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider set session attr error"));
+ stored_error_num = set_error(res, errhp, 0, NULL, NULL);
+ bg_disconnect();
+ goto error;
+ }
+
+ if (
+ (stored_error_num = exec_query(SPIDER_SQL_SET_NLS_DATE_FORMAT_STR,
+ SPIDER_SQL_SET_NLS_DATE_FORMAT_LEN, -1)) ||
+ (stored_error_num = exec_query(SPIDER_SQL_SET_NLS_TIME_FORMAT_STR,
+ SPIDER_SQL_SET_NLS_TIME_FORMAT_LEN, -1)) ||
+ (stored_error_num = exec_query(SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_STR,
+ SPIDER_SQL_SET_NLS_TIMESTAMP_FORMAT_LEN, -1))
+ ) {
+ DBUG_PRINT("info",("spider init connection error"));
+ bg_disconnect();
+ goto error;
+ }
+ DBUG_VOID_RETURN;
+
+error:
+ strmov(stored_error_msg, spider_stmt_da_message(current_thd));
+ current_thd->clear_error();
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_oracle::connect(
+ char *tgt_host,
+ char *tgt_username,
+ char *tgt_password,
+ long tgt_port,
+ char *tgt_socket,
+ char *server_name,
+ int connect_retry_count,
+ longlong connect_retry_interval
+) {
+ int error_num;
+ DBUG_ENTER("spider_db_oracle::connect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ this->tgt_host = tgt_host;
+ this->tgt_username = tgt_username;
+ this->tgt_password = tgt_password;
+ this->tgt_port = tgt_port;
+ this->tgt_socket = tgt_socket;
+ this->server_name = server_name;
+ this->connect_retry_count = connect_retry_count;
+ this->connect_retry_interval = connect_retry_interval;
+ if ((error_num = spider_create_conn_thread(conn)))
+ DBUG_RETURN(error_num);
+ spider_bg_conn_simple_action(conn, SPIDER_BG_SIMPLE_CONNECT, TRUE, NULL,
+ 0, NULL);
+
+ if (stored_error_num)
+ {
+ my_message(stored_error_num, stored_error_msg, MYF(0));
+ DBUG_RETURN(stored_error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::ping(
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle::ping");
+ DBUG_PRINT("info",("spider this=%p", this));
+ res = OCIPing(svchp, errhp, OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider ping error %d", res));
+ DBUG_RETURN(ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM);
+ }
+ DBUG_RETURN(0);
+}
+
+void spider_db_oracle::bg_disconnect()
+{
+ DBUG_ENTER("spider_db_oracle::bg_disconnect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (result)
+ {
+ delete result;
+ result = NULL;
+ }
+ if (txnhp)
+ {
+ DBUG_PRINT("info",("spider OCI free txnhp=%p", txnhp));
+ OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
+ txnhp = NULL;
+ }
+ if (stmtp)
+ {
+ DBUG_PRINT("info",("spider OCI free stmtp=%p", stmtp));
+ OCIHandleFree(stmtp, OCI_HTYPE_STMT);
+ stmtp = NULL;
+ }
+ if (svchp && errhp && usrhp)
+ {
+ DBUG_PRINT("info",("spider OCISessionEnd"));
+ OCISessionEnd(svchp, errhp, usrhp, OCI_DEFAULT);
+ }
+ if (usrhp)
+ {
+ DBUG_PRINT("info",("spider OCI free usrhp=%p", usrhp));
+ OCIHandleFree(usrhp, OCI_HTYPE_SESSION);
+ usrhp = NULL;
+ }
+ if (svchp)
+ {
+ DBUG_PRINT("info",("spider OCI free svchp=%p", svchp));
+ OCIHandleFree(svchp, OCI_HTYPE_SVCCTX);
+ svchp = NULL;
+ }
+ if (srvhp)
+ {
+ DBUG_PRINT("info",("spider OCI free srvhp=%p", srvhp));
+ OCIServerDetach(srvhp, errhp, OCI_DEFAULT);
+ OCIHandleFree(srvhp, OCI_HTYPE_SERVER);
+ srvhp = NULL;
+ }
+ if (errhp)
+ {
+ DBUG_PRINT("info",("spider OCI free errhp=%p", errhp));
+ OCIHandleFree(errhp, OCI_HTYPE_ERROR);
+ errhp = NULL;
+ }
+ if (envhp)
+ {
+ DBUG_PRINT("info",("spider OCI free envhp=%p", envhp));
+ OCIHandleFree(envhp, OCI_HTYPE_ENV);
+ envhp = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_oracle::disconnect()
+{
+ DBUG_ENTER("spider_db_oracle::disconnect");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!conn->bg_init)
+ DBUG_VOID_RETURN;
+ spider_bg_conn_simple_action(conn, SPIDER_BG_SIMPLE_DISCONNECT, TRUE, NULL,
+ 0, NULL);
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_oracle::set_net_timeout()
+{
+ DBUG_ENTER("spider_db_oracle::set_net_timeout");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::exec_query(
+ const char *query,
+ uint length,
+ int quick_mode
+) {
+ sword res;
+ int error_num;
+ DBUG_ENTER("spider_db_oracle::exec_query");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider_param_general_log())
+ {
+ const char *tgt_str = conn->tgt_host;
+ uint32 tgt_len = conn->tgt_host_length;
+ spider_string tmp_query_str(length + conn->tgt_wrapper_length +
+ tgt_len + (SPIDER_SQL_SPACE_LEN * 2));
+ tmp_query_str.init_calc_mem(232);
+ tmp_query_str.length(0);
+ tmp_query_str.q_append(conn->tgt_wrapper, conn->tgt_wrapper_length);
+ tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ tmp_query_str.q_append(tgt_str, tgt_len);
+ tmp_query_str.q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ tmp_query_str.q_append(query, length);
+ general_log_write(current_thd, COM_QUERY, tmp_query_str.ptr(),
+ tmp_query_str.length());
+ }
+ stored_error_num = 0;
+ if (table_lock_mode && !conn->in_before_query)
+ {
+ DBUG_PRINT("info",("spider table_lock_mode=%d", table_lock_mode));
+ table_lock_mode = 0;
+ if ((error_num = exec_query(exec_lock_sql->ptr(), exec_lock_sql->length(),
+ -1))) {
+ DBUG_RETURN(error_num);
+ }
+ }
+
+ if (length)
+ {
+ if (result)
+ {
+ delete result;
+ result = NULL;
+ }
+
+ if (!stmtp)
+ {
+ DBUG_PRINT("info",("spider create stmt"));
+ res = OCIHandleAlloc(envhp, (dvoid **) &stmtp, OCI_HTYPE_STMT, 0, 0);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider create stmt handler error"));
+ DBUG_RETURN(set_error(res, errhp, 0, NULL, NULL));
+ }
+ }
+
+ res = OCIStmtPrepare(stmtp, errhp, (OraText *) query, length,
+ OCI_NTV_SYNTAX, OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider stmt prepare error"));
+ DBUG_RETURN(set_error(res, errhp, 0, NULL, NULL));
+ }
+
+/*
+ if ((result = new spider_db_oracle_result()))
+ {
+ result->db_conn = this;
+ result->stmtp = stmtp;
+ stmtp = NULL;
+ result->field_count = result->num_fields();
+ result->row.field_count = result->field_count;
+ result->row.db_conn = this;
+ result->row.result = result;
+ if ((error_num = result->row.init()))
+ {
+ delete result;
+ result = NULL;
+ DBUG_RETURN(error_num);
+ }
+ } else {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+*/
+
+ /* select statement check */
+ ub4 iters;
+ if (
+ !strncasecmp(query, "select ", sizeof("select ") - 1) ||
+ !strncasecmp(query, "(select ", sizeof("(select ") - 1)
+ ) {
+ iters = 0;
+ } else {
+ iters = 1;
+ }
+
+ if (quick_mode)
+ {
+ DBUG_PRINT("info",("spider use OCI_DEFAULT"));
+ res = OCIStmtExecute(svchp, stmtp, errhp, iters, 0, NULL, NULL,
+ OCI_DEFAULT);
+ } else {
+ DBUG_PRINT("info",("spider use OCI_STMT_SCROLLABLE_READONLY"));
+ res = OCIStmtExecute(svchp, stmtp, errhp, iters, 0, NULL, NULL,
+ OCI_STMT_SCROLLABLE_READONLY);
+/*
+ if (res == OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider fetch last for row count"));
+ res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_LAST, 0,
+ OCI_DEFAULT);
+ }
+ if (res == OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider fetch first for row count"));
+ res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_FIRST, 0,
+ OCI_DEFAULT);
+ }
+*/
+ }
+ if (res == OCI_SUCCESS && iters)
+ {
+ DBUG_PRINT("info",("spider get row count"));
+ ub4 row_count;
+ res = OCIAttrGet(stmtp, OCI_HTYPE_STMT, &row_count, 0,
+ OCI_ATTR_ROW_COUNT, errhp);
+ update_rows = (uint) row_count;
+ DBUG_PRINT("info",("spider row_count=%u", update_rows));
+ }
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider stmt execute error"));
+ error_num = set_error(res, errhp, 0, NULL, NULL);
+ if (error_num == HA_ERR_END_OF_FILE)
+ DBUG_RETURN(0);
+ DBUG_RETURN(error_num);
+ }
+
+ if ((result = new spider_db_oracle_result()))
+ {
+ result->db_conn = this;
+ result->stmtp = stmtp;
+ stmtp = NULL;
+ result->field_count = result->num_fields();
+ result->row.field_count = result->field_count;
+ result->row.db_conn = this;
+ result->row.result = result;
+ result->row.access_charset = conn->access_charset;
+ result->access_charset = conn->access_charset;
+ if (
+ (error_num = result->row.init()) ||
+ (error_num = result->set_column_info())
+ ) {
+ delete result;
+ result = NULL;
+ DBUG_RETURN(error_num);
+ }
+ result->row.define();
+ } else {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ if (!quick_mode && !iters)
+ {
+ if (res == OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider fetch last for row count"));
+ res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_LAST, 0,
+ OCI_DEFAULT);
+ }
+ if (res == OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider fetch first for row count"));
+ res = OCIStmtFetch2(result->stmtp, errhp, 1, OCI_FETCH_FIRST, 0,
+ OCI_DEFAULT);
+ }
+ if (res != OCI_SUCCESS)
+ {
+ DBUG_PRINT("info",("spider stmt execute error"));
+ error_num = set_error(res, errhp, 0, NULL, NULL);
+ if (error_num == HA_ERR_END_OF_FILE)
+ DBUG_RETURN(0);
+ DBUG_RETURN(error_num);
+ }
+ result->fetched = TRUE;
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::get_errno()
+{
+ DBUG_ENTER("spider_db_oracle::get_errno");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider stored_error=%d", stored_error_num));
+ DBUG_RETURN(stored_error_num);
+}
+
+const char *spider_db_oracle::get_error()
+{
+ DBUG_ENTER("spider_db_oracle::get_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider error=%s", stored_error));
+ DBUG_RETURN(stored_error);
+}
+
+bool spider_db_oracle::is_server_gone_error(
+ int error_num
+) {
+ DBUG_ENTER("spider_db_oracle::is_server_gone_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_db_oracle::is_dup_entry_error(
+ int error_num
+) {
+ DBUG_ENTER("spider_db_oracle::is_dup_entry_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (error_num == HA_ERR_FOUND_DUPP_KEY)
+ DBUG_RETURN(TRUE);
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_db_oracle::is_xa_nota_error(
+ int error_num
+) {
+ DBUG_ENTER("spider_db_oracle::is_xa_nota_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ DBUG_RETURN(FALSE);
+}
+
+spider_db_result *spider_db_oracle::store_result(
+ spider_db_result_buffer **spider_res_buf,
+ st_spider_db_request_key *request_key,
+ int *error_num
+) {
+ spider_db_oracle_result *tmp_result = result;
+ DBUG_ENTER("spider_db_oracle::store_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(!spider_res_buf);
+ if (stored_error_num == HA_ERR_END_OF_FILE)
+ {
+ *error_num = HA_ERR_END_OF_FILE;
+ DBUG_RETURN(NULL);
+ }
+
+ *error_num = 0;
+ result = NULL;
+ DBUG_RETURN(tmp_result);
+}
+
+spider_db_result *spider_db_oracle::use_result(
+ st_spider_db_request_key *request_key,
+ int *error_num
+) {
+ spider_db_oracle_result *tmp_result = result;
+ DBUG_ENTER("spider_db_oracle::use_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (stored_error_num == HA_ERR_END_OF_FILE)
+ {
+ *error_num = HA_ERR_END_OF_FILE;
+ DBUG_RETURN(NULL);
+ }
+
+ *error_num = 0;
+ result = NULL;
+ DBUG_RETURN(tmp_result);
+}
+
+int spider_db_oracle::next_result()
+{
+ DBUG_ENTER("spider_db_oracle::next_result");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ DBUG_RETURN(-1);
+}
+
+uint spider_db_oracle::affected_rows()
+{
+ DBUG_ENTER("spider_db_oracle::affected_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(update_rows);
+}
+
+ulonglong spider_db_oracle::last_insert_id()
+{
+ DBUG_ENTER("spider_db_oracle::last_insert_id");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(stored_last_insert_id);
+}
+
+int spider_db_oracle::set_character_set(
+ const char *csname
+) {
+ DBUG_ENTER("spider_db_oracle::set_character_set");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* TODO: develop later */
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::select_db(
+ const char *dbname
+) {
+ DBUG_ENTER("spider_db_oracle::select_db");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do for oracle */
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::consistent_snapshot(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_oracle::consistent_snapshot");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do for oracle */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle::trx_start_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_oracle::trx_start_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_oracle::start_transaction(
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_oracle::start_transaction");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (conn->in_before_query)
+ {
+ if (conn->queued_semi_trx_isolation)
+ {
+ if (conn->queued_semi_trx_isolation_val != conn->trx_isolation)
+ {
+ /* nothing to do */
+ DBUG_RETURN(0);
+ }
+ } else if (conn->queued_trx_isolation)
+ {
+ if (conn->queued_trx_isolation_val != conn->trx_isolation)
+ {
+ /* nothing to do */
+ DBUG_RETURN(0);
+ }
+ }
+ DBUG_RETURN(set_trx_isolation(conn->trx_isolation, need_mon));
+ }
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_START_TRANSACTION_STR,
+ SPIDER_SQL_START_TRANSACTION_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::commit(
+ int *need_mon
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle::commit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (conn->table_locked)
+ {
+ conn->table_locked = FALSE;
+ spider_current_trx->locked_connections--;
+ }
+ res = OCITransCommit(svchp, errhp, OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ *need_mon = set_error(res, errhp, 0, NULL, NULL);
+ DBUG_RETURN(*need_mon);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::rollback(
+ int *need_mon
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle::rollback");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (conn->table_locked)
+ {
+ conn->table_locked = FALSE;
+ spider_current_trx->locked_connections--;
+ }
+ if (svchp && errhp)
+ {
+ res = OCITransRollback(svchp, errhp, OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ *need_mon = set_error(res, errhp, 0, NULL, NULL);
+ DBUG_RETURN(*need_mon);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle::xa_start_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_oracle::xa_start_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_oracle::xa_start(
+ XID *xid,
+ int *need_mon
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle::xa_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (txnhp)
+ {
+ OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
+ txnhp = NULL;
+ }
+ OCIHandleAlloc((dvoid *)envhp, (dvoid **)&txnhp, OCI_HTYPE_TRANS, 0, 0);
+ OCIAttrSet((dvoid *)svchp, OCI_HTYPE_SVCCTX, (dvoid *)txnhp, 0,
+ OCI_ATTR_TRANS, errhp);
+ OCIAttrSet((dvoid *)txnhp, OCI_HTYPE_TRANS, (dvoid *)xid, sizeof(XID),
+ OCI_ATTR_XID, errhp);
+
+ res = OCITransStart(svchp, errhp, 31622400, OCI_TRANS_NEW);
+ if (res != OCI_SUCCESS)
+ {
+ *need_mon = set_error(res, errhp, 0, NULL, NULL);
+ DBUG_RETURN(*need_mon);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::xa_end(
+ XID *xid,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_oracle::xa_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do for oracle */
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::xa_prepare(
+ XID *xid,
+ int *need_mon
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle::xa_prepare");
+ DBUG_PRINT("info",("spider this=%p", this));
+ res = OCITransPrepare(svchp, errhp, OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ *need_mon = set_error(res, errhp, 0, NULL, NULL);
+ DBUG_RETURN(*need_mon);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::xa_commit(
+ XID *xid,
+ int *need_mon
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle::xa_commit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (conn->table_locked)
+ {
+ conn->table_locked = FALSE;
+ spider_current_trx->locked_connections--;
+ }
+ res = OCITransCommit(svchp, errhp, OCI_TRANS_TWOPHASE);
+ if (res != OCI_SUCCESS)
+ {
+ *need_mon = set_error(res, errhp, 0, NULL, NULL);
+ if (txnhp)
+ {
+ OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
+ txnhp = NULL;
+ }
+ DBUG_RETURN(*need_mon);
+ }
+ if (txnhp)
+ {
+ OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
+ txnhp = NULL;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::xa_rollback(
+ XID *xid,
+ int *need_mon
+) {
+ sword res;
+ DBUG_ENTER("spider_db_oracle::xa_rollback");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (svchp && errhp)
+ {
+ res = OCITransRollback(svchp, errhp, OCI_DEFAULT);
+ if (res != OCI_SUCCESS)
+ {
+ *need_mon = set_error(res, errhp, 0, NULL, NULL);
+ if (txnhp)
+ {
+ OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
+ txnhp = NULL;
+ }
+ DBUG_RETURN(*need_mon);
+ }
+ }
+ if (txnhp)
+ {
+ OCIHandleFree(txnhp, OCI_HTYPE_TRANS);
+ txnhp = NULL;
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle::set_trx_isolation_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_oracle::set_trx_isolation_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_oracle::set_trx_isolation(
+ int trx_isolation,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_oracle::set_trx_isolation");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (trx_isolation)
+ {
+ case ISO_READ_UNCOMMITTED:
+ case ISO_READ_COMMITTED:
+ if (conn->in_before_query)
+ {
+ DBUG_RETURN(exec_query(SPIDER_SQL_ISO_READ_COMMITTED_STR,
+ SPIDER_SQL_ISO_READ_COMMITTED_LEN, -1));
+ }
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_ISO_READ_COMMITTED_STR,
+ SPIDER_SQL_ISO_READ_COMMITTED_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ break;
+ case ISO_REPEATABLE_READ:
+ case ISO_SERIALIZABLE:
+ if (conn->in_before_query)
+ {
+ DBUG_RETURN(exec_query(SPIDER_SQL_ISO_SERIALIZABLE_STR,
+ SPIDER_SQL_ISO_SERIALIZABLE_LEN, -1));
+ }
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_ISO_SERIALIZABLE_STR,
+ SPIDER_SQL_ISO_SERIALIZABLE_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ break;
+ default:
+ DBUG_RETURN(HA_ERR_UNSUPPORTED);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle::set_autocommit_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_oracle::set_autocommit_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_oracle::set_autocommit(
+ bool autocommit,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_oracle::set_autocommit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (autocommit)
+ {
+ if (conn->in_before_query)
+ {
+ DBUG_RETURN(exec_query(SPIDER_SQL_AUTOCOMMIT_ON_STR,
+ SPIDER_SQL_AUTOCOMMIT_ON_LEN, -1));
+ }
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_AUTOCOMMIT_ON_STR,
+ SPIDER_SQL_AUTOCOMMIT_ON_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ } else {
+ if (conn->in_before_query)
+ {
+ DBUG_RETURN(exec_query(SPIDER_SQL_AUTOCOMMIT_OFF_STR,
+ SPIDER_SQL_AUTOCOMMIT_OFF_LEN, -1));
+ }
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_AUTOCOMMIT_OFF_STR,
+ SPIDER_SQL_AUTOCOMMIT_OFF_LEN,
+ -1,
+ need_mon)
+ )
+ DBUG_RETURN(spider_db_errorno(conn));
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle::set_sql_log_off_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_oracle::set_sql_log_off_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_oracle::set_sql_log_off(
+ bool sql_log_off,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_oracle::set_sql_log_off");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle::set_time_zone_in_bulk_sql()
+{
+ DBUG_ENTER("spider_db_oracle::set_time_zone_in_bulk_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_db_oracle::set_time_zone(
+ Time_zone *time_zone,
+ int *need_mon
+) {
+ DBUG_ENTER("spider_db_oracle::set_time_zone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+int spider_db_oracle::append_sql(
+ char *sql,
+ ulong sql_length,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_oracle::append_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::append_open_handler(
+ uint handler_id,
+ const char *db_name,
+ const char *table_name,
+ const char *index_name,
+ const char *sql,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_oracle::append_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::append_select(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_oracle::append_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::append_insert(
+ uint handler_id,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_oracle::append_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::append_update(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ int limit,
+ int skip,
+ bool increment,
+ bool decrement,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_oracle::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::append_delete(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_oracle::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+void spider_db_oracle::reset_request_queue()
+{
+ DBUG_ENTER("spider_db_oracle::reset_request_queue");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_VOID_RETURN;
+}
+#endif
+
+size_t spider_db_oracle::escape_string(
+ char *to,
+ const char *from,
+ size_t from_length
+) {
+ DBUG_ENTER("spider_db_oracle::escape_string");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(util.escape_string(to, from, from_length, conn->access_charset));
+}
+
+bool spider_db_oracle::have_lock_table_list()
+{
+ DBUG_ENTER("spider_db_oracle::have_lock_table_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(lock_table_hash.records);
+}
+
+int spider_db_oracle::append_lock_tables(
+ spider_string *str
+) {
+ int error_num;
+ ha_spider *tmp_spider;
+ int lock_type;
+ uint conn_link_idx;
+ int tmp_link_idx;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
+ const char *db_name;
+ uint db_name_length;
+ CHARSET_INFO *db_name_charset;
+ const char *table_name;
+ uint table_name_length;
+ CHARSET_INFO *table_name_charset;
+ DBUG_ENTER("spider_db_oracle::lock_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((tmp_link_for_hash =
+ (SPIDER_LINK_FOR_HASH *) my_hash_element(&lock_table_hash, 0)))
+ {
+ if ((error_num = spider_db_oracle_utility.append_lock_table_head(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+
+ tmp_spider = tmp_link_for_hash->spider;
+ tmp_link_idx = tmp_link_for_hash->link_idx;
+ switch (tmp_spider->lock_type)
+ {
+ case TL_READ:
+ lock_type = SPIDER_DB_TABLE_LOCK_READ_LOCAL;
+ break;
+ case TL_READ_NO_INSERT:
+ lock_type = SPIDER_DB_TABLE_LOCK_READ;
+ break;
+ case TL_WRITE_LOW_PRIORITY:
+ lock_type = SPIDER_DB_TABLE_LOCK_LOW_PRIORITY_WRITE;
+ break;
+ case TL_WRITE:
+ lock_type = SPIDER_DB_TABLE_LOCK_WRITE;
+ break;
+ default:
+ // no lock
+ DBUG_PRINT("info",("spider lock_type=%d", tmp_spider->lock_type));
+ DBUG_RETURN(0);
+ }
+ conn_link_idx = tmp_spider->conn_link_idx[tmp_link_idx];
+ spider_oracle_share *db_share = (spider_oracle_share *)
+ tmp_spider->share->dbton_share[conn->dbton_id];
+ if (&db_share->db_names_str[conn_link_idx])
+ {
+ db_name = db_share->db_names_str[conn_link_idx].ptr();
+ db_name_length = db_share->db_names_str[conn_link_idx].length();
+ db_name_charset = tmp_spider->share->access_charset;
+ } else {
+ db_name = tmp_spider->share->tgt_dbs[conn_link_idx];
+ db_name_length = tmp_spider->share->tgt_dbs_lengths[conn_link_idx];
+ db_name_charset = system_charset_info;
+ }
+ if (&db_share->table_names_str[conn_link_idx])
+ {
+ table_name = db_share->table_names_str[conn_link_idx].ptr();
+ table_name_length = db_share->table_names_str[conn_link_idx].length();
+ table_name_charset = tmp_spider->share->access_charset;
+ } else {
+ table_name = tmp_spider->share->tgt_table_names[conn_link_idx];
+ table_name_length =
+ tmp_spider->share->tgt_table_names_lengths[conn_link_idx];
+ table_name_charset = system_charset_info;
+ }
+ if ((error_num = spider_db_oracle_utility.
+ append_lock_table_body(
+ str,
+ db_name,
+ db_name_length,
+ db_name_charset,
+ table_name,
+ table_name_length,
+ table_name_charset,
+ lock_type
+ )
+ )) {
+ my_hash_reset(&lock_table_hash);
+ DBUG_RETURN(error_num);
+ }
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ my_hash_delete_with_hash_value(&lock_table_hash,
+ tmp_link_for_hash->db_table_str_hash_value, (uchar*) tmp_link_for_hash);
+#else
+ my_hash_delete(&lock_table_hash, (uchar*) tmp_link_for_hash);
+#endif
+
+ if ((error_num = spider_db_oracle_utility.append_lock_table_tail(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle::append_unlock_tables(
+ spider_string *str
+) {
+ int error_num;
+ DBUG_ENTER("spider_db_oracle::append_unlock_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = spider_db_oracle_utility.append_unlock_table(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+uint spider_db_oracle::get_lock_table_hash_count()
+{
+ DBUG_ENTER("spider_db_oracle::get_lock_table_hash_count");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(lock_table_hash.records);
+}
+
+void spider_db_oracle::reset_lock_table_hash()
+{
+ DBUG_ENTER("spider_db_oracle::reset_lock_table_hash");
+ DBUG_PRINT("info",("spider this=%p", this));
+ my_hash_reset(&lock_table_hash);
+ DBUG_VOID_RETURN;
+}
+
+uint spider_db_oracle::get_opened_handler_count()
+{
+ DBUG_ENTER("spider_db_oracle::get_opened_handler_count");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(handler_open_array.elements);
+}
+
+void spider_db_oracle::reset_opened_handler()
+{
+ ha_spider *tmp_spider;
+ int tmp_link_idx;
+ SPIDER_LINK_FOR_HASH **tmp_link_for_hash;
+ DBUG_ENTER("spider_db_oracle::reset_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ while ((tmp_link_for_hash =
+ (SPIDER_LINK_FOR_HASH **) pop_dynamic(&handler_open_array)))
+ {
+ tmp_spider = (*tmp_link_for_hash)->spider;
+ tmp_link_idx = (*tmp_link_for_hash)->link_idx;
+ tmp_spider->clear_handler_opened(tmp_link_idx, conn->conn_kind);
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_db_oracle::set_dup_key_idx(
+ ha_spider *spider,
+ int link_idx
+) {
+ TABLE *table = spider->get_table();
+ uint roop_count, pk_idx = table->s->primary_key;
+ int key_name_length;
+ int max_length = 0;
+ char *key_name, *tmp_pos;
+ char buf[SPIDER_ORACLE_ERR_BUF_LEN];
+ DBUG_ENTER("spider_db_oracle::set_dup_key_idx");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider error_str=%s", stored_error_msg));
+ memcpy(buf, spider->share->tgt_dbs[link_idx],
+ spider->share->tgt_dbs_lengths[link_idx]);
+ tmp_pos = buf + spider->share->tgt_dbs_lengths[link_idx];
+ *tmp_pos = '.';
+ ++tmp_pos;
+ for (roop_count = 0; roop_count < table->s->keys; roop_count++)
+ {
+ if (roop_count == pk_idx)
+ {
+ DBUG_PRINT("info",("spider pk_idx=%u", roop_count));
+ int all_link_idx = spider->conn_link_idx[link_idx];
+ key_name = spider->share->tgt_pk_names[all_link_idx];
+ key_name_length = spider->share->tgt_pk_names_lengths[all_link_idx];
+ } else {
+ key_name = table->s->key_info[roop_count].name;
+ key_name_length = strlen(key_name);
+ }
+ memcpy(tmp_pos, key_name, key_name_length + 1);
+ DBUG_PRINT("info",("spider key_name=%s", key_name));
+ DBUG_PRINT("info",("spider full key name=%s", buf));
+ if (
+ max_length < key_name_length &&
+ strcasestr(stored_error_msg, buf)
+ ) {
+ max_length = key_name_length;
+ spider->dup_key_idx = roop_count;
+ }
+ }
+ if (max_length == 0)
+ spider->dup_key_idx = (uint) -1;
+ DBUG_PRINT("info",("spider dup_key_idx=%d", spider->dup_key_idx));
+ DBUG_VOID_RETURN;
+}
+
+bool spider_db_oracle::cmp_request_key_to_snd(
+ st_spider_db_request_key *request_key
+) {
+ DBUG_ENTER("spider_db_oracle::cmp_request_key_to_snd");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(TRUE);
+}
+
+int spider_db_oracle::set_error(
+ sword res,
+ dvoid *hndlp,
+ int error_num,
+ const char *error1,
+ const char *error2
+) {
+ DBUG_ENTER("spider_db_oracle::set_error");
+ DBUG_PRINT("info",("spider this=%p", this));
+ stored_error_num =
+ spider_db_oracle_get_error(res, hndlp, error_num, error1, error2,
+ conn->access_charset, stored_error_msg);
+ if (stored_error_num)
+ stored_error = ER_SPIDER_ORACLE_ERR;
+ else
+ stored_error = "";
+ DBUG_RETURN(stored_error_num);
+}
+
+spider_db_oracle_util::spider_db_oracle_util() : spider_db_util()
+{
+ DBUG_ENTER("spider_db_oracle_util::spider_db_oracle_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_db_oracle_util::~spider_db_oracle_util()
+{
+ DBUG_ENTER("spider_db_oracle_util::~spider_db_oracle_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_db_oracle_util::append_name(
+ spider_string *str,
+ const char *name,
+ uint name_length
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_name");
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(name, name_length);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_name_with_charset(
+ spider_string *str,
+ const char *name,
+ uint name_length,
+ CHARSET_INFO *name_charset
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_name_with_charset");
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2 + name_length * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->append(name, name_length, name_charset);
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+bool spider_db_oracle_util::is_name_quote(
+ const char head_code
+) {
+ DBUG_ENTER("spider_db_oracle_util::is_name_quote");
+ DBUG_RETURN(head_code == *name_quote_str);
+}
+
+int spider_db_oracle_util::append_escaped_name_quote(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_escaped_name_quote");
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_column_value(
+ ha_spider *spider,
+ spider_string *str,
+ Field *field,
+ const uchar *new_ptr,
+ CHARSET_INFO *access_charset
+) {
+ char buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(buf, MAX_FIELD_WIDTH, &my_charset_bin);
+ String *ptr;
+ uint length;
+ DBUG_ENTER("spider_db_oracle_util::append_column_value");
+ tmp_str.init_calc_mem(181);
+
+ if (new_ptr)
+ {
+ if (
+ field->type() == MYSQL_TYPE_BLOB ||
+ field->real_type() == MYSQL_TYPE_VARCHAR
+ ) {
+ length = uint2korr(new_ptr);
+ tmp_str.set_quick((char *) new_ptr + HA_KEY_BLOB_LENGTH, length,
+ &my_charset_bin);
+ ptr = tmp_str.get_str();
+ } else if (field->type() == MYSQL_TYPE_GEOMETRY)
+ {
+/*
+ uint mlength = SIZEOF_STORED_DOUBLE, lcnt;
+ uchar *dest = (uchar *) buf;
+ const uchar *source;
+ for (lcnt = 0; lcnt < 4; lcnt++)
+ {
+ mlength = SIZEOF_STORED_DOUBLE;
+ source = new_ptr + mlength + SIZEOF_STORED_DOUBLE * lcnt;
+ while (mlength--)
+ *dest++ = *--source;
+ }
+ tmp_str.length(SIZEOF_STORED_DOUBLE * lcnt);
+*/
+ double xmin, xmax, ymin, ymax;
+/*
+ float8store(buf,xmin);
+ float8store(buf+8,xmax);
+ float8store(buf+16,ymin);
+ float8store(buf+24,ymax);
+ memcpy(&xmin,new_ptr,sizeof(xmin));
+ memcpy(&xmax,new_ptr + 8,sizeof(xmax));
+ memcpy(&ymin,new_ptr + 16,sizeof(ymin));
+ memcpy(&ymax,new_ptr + 24,sizeof(ymax));
+ float8get(xmin, buf);
+ float8get(xmax, buf + 8);
+ float8get(ymin, buf + 16);
+ float8get(ymax, buf + 24);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ DBUG_PRINT("info", ("spider geo is %.14g %.14g %.14g %.14g",
+ xmin, xmax, ymin, ymax));
+*/
+ float8get(xmin, new_ptr);
+ float8get(xmax, new_ptr + 8);
+ float8get(ymin, new_ptr + 16);
+ float8get(ymax, new_ptr + 24);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+/*
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 4);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 5);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 6);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 7);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 8);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 9);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 10);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 11);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+ float8get(xmin, new_ptr + SIZEOF_STORED_DOUBLE * 12);
+ float8get(xmax, new_ptr + SIZEOF_STORED_DOUBLE * 13);
+ float8get(ymin, new_ptr + SIZEOF_STORED_DOUBLE * 14);
+ float8get(ymax, new_ptr + SIZEOF_STORED_DOUBLE * 15);
+ DBUG_PRINT("info", ("spider geo is %f %f %f %f",
+ xmin, xmax, ymin, ymax));
+*/
+/*
+ tmp_str.set_quick((char *) new_ptr, SIZEOF_STORED_DOUBLE * 4,
+ &my_charset_bin);
+*/
+ tmp_str.length(0);
+ tmp_str.q_append((char *) SPIDER_SQL_LINESTRING_HEAD_STR,
+ SPIDER_SQL_LINESTRING_HEAD_LEN);
+ tmp_str.q_append((char *) new_ptr, SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 2,
+ SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE,
+ SIZEOF_STORED_DOUBLE);
+ tmp_str.q_append((char *) new_ptr + SIZEOF_STORED_DOUBLE * 3,
+ SIZEOF_STORED_DOUBLE);
+ ptr = tmp_str.get_str();
+ } else {
+ ptr = field->val_str(tmp_str.get_str(), new_ptr);
+ tmp_str.mem_calc();
+ }
+ } else {
+ ptr = field->val_str(tmp_str.get_str());
+ tmp_str.mem_calc();
+ }
+ DBUG_PRINT("info", ("spider field->type() is %d", field->type()));
+ DBUG_PRINT("info", ("spider ptr->length() is %d", ptr->length()));
+/*
+ if (
+ field->type() == MYSQL_TYPE_BIT ||
+ (field->type() >= MYSQL_TYPE_TINY_BLOB &&
+ field->type() <= MYSQL_TYPE_BLOB)
+ ) {
+ uchar *hex_ptr = (uchar *) ptr->ptr(), *end_ptr;
+ char *str_ptr;
+ DBUG_PRINT("info", ("spider HEX"));
+ if (str->reserve(SPIDER_SQL_HEX_LEN + ptr->length() * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HEX_STR, SPIDER_SQL_HEX_LEN);
+ str_ptr = (char *) str->ptr() + str->length();
+ for (end_ptr = hex_ptr + ptr->length(); hex_ptr < end_ptr; hex_ptr++)
+ {
+ *str_ptr++ = spider_dig_upper[(*hex_ptr) >> 4];
+ *str_ptr++ = spider_dig_upper[(*hex_ptr) & 0x0F];
+ }
+ str->length(str->length() + ptr->length() * 2);
+ } else
+*/
+ if (field->result_type() == STRING_RESULT)
+ {
+ DBUG_PRINT("info", ("spider STRING_RESULT"));
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if (
+ field->type() == MYSQL_TYPE_VARCHAR ||
+ (field->type() >= MYSQL_TYPE_ENUM &&
+ field->type() <= MYSQL_TYPE_GEOMETRY)
+ ) {
+ DBUG_PRINT("info", ("spider append_escaped"));
+ char buf2[MAX_FIELD_WIDTH];
+ spider_string tmp_str2(buf2, MAX_FIELD_WIDTH, access_charset);
+ tmp_str2.init_calc_mem(182);
+ tmp_str2.length(0);
+ if (
+ tmp_str2.append(ptr->ptr(), ptr->length(), field->charset()) ||
+ str->reserve(tmp_str2.length() * 2) ||
+ append_escaped_util(str, tmp_str2.get_str())
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ } else if (str->append(*ptr))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else if (field->str_needs_quotes())
+ {
+ if (str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN * 2 + ptr->length() * 2 + 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ append_escaped_util(str, ptr);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else if (str->append(*ptr))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_from_with_alias(
+ spider_string *str,
+ const char **table_names,
+ uint *table_name_lengths,
+ const char **table_aliases,
+ uint *table_alias_lengths,
+ uint table_count,
+ int *table_name_pos,
+ bool over_write
+) {
+ uint roop_count, length = 0;
+ DBUG_ENTER("spider_db_oracle_util::append_from_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!over_write)
+ {
+ for (roop_count = 0; roop_count < table_count; roop_count++)
+ length += table_name_lengths[roop_count] + SPIDER_SQL_SPACE_LEN +
+ table_alias_lengths[roop_count] + SPIDER_SQL_COMMA_LEN;
+ if (str->reserve(SPIDER_SQL_FROM_LEN + length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ *table_name_pos = str->length();
+ }
+ for (roop_count = 0; roop_count < table_count; roop_count++)
+ {
+ str->q_append(table_names[roop_count], table_name_lengths[roop_count]);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(table_aliases[roop_count], table_alias_lengths[roop_count]);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_trx_isolation(
+ spider_string *str,
+ int trx_isolation
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_trx_isolation");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
+ SPIDER_SQL_ISO_READ_COMMITTED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ switch (trx_isolation)
+ {
+ case ISO_READ_UNCOMMITTED:
+ case ISO_READ_COMMITTED:
+ str->q_append(SPIDER_SQL_ISO_READ_COMMITTED_STR,
+ SPIDER_SQL_ISO_READ_COMMITTED_LEN);
+ break;
+ case ISO_REPEATABLE_READ:
+ case ISO_SERIALIZABLE:
+ str->q_append(SPIDER_SQL_ISO_SERIALIZABLE_STR,
+ SPIDER_SQL_ISO_SERIALIZABLE_LEN);
+ break;
+ default:
+ DBUG_RETURN(HA_ERR_UNSUPPORTED);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_autocommit(
+ spider_string *str,
+ bool autocommit
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_autocommit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_AUTOCOMMIT_OFF_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ if (autocommit)
+ {
+ str->q_append(SPIDER_SQL_AUTOCOMMIT_ON_STR,
+ SPIDER_SQL_AUTOCOMMIT_ON_LEN);
+ } else {
+ str->q_append(SPIDER_SQL_AUTOCOMMIT_OFF_STR,
+ SPIDER_SQL_AUTOCOMMIT_OFF_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_sql_log_off(
+ spider_string *str,
+ bool sql_log_off
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_sql_log_off");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_time_zone(
+ spider_string *str,
+ Time_zone *time_zone
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_time_zone");
+ DBUG_PRINT("info",("spider this=%p", this));
+ /* nothing to do */
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_start_transaction(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_start_transaction");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN +
+ SPIDER_SQL_START_TRANSACTION_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ str->q_append(SPIDER_SQL_START_TRANSACTION_STR,
+ SPIDER_SQL_START_TRANSACTION_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_xa_start(
+ spider_string *str,
+ XID *xid
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_xa_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_lock_table_head(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_lock_table_head");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_lock_table_body(
+ spider_string *str,
+ const char *db_name,
+ uint db_name_length,
+ CHARSET_INFO *db_name_charset,
+ const char *table_name,
+ uint table_name_length,
+ CHARSET_INFO *table_name_charset,
+ int lock_type
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_lock_table_body");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN + SPIDER_SQL_LOCK_TABLE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (str->length())
+ {
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+ str->q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
+ if (str->reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (
+ str->append(db_name, db_name_length, db_name_charset) ||
+ str->reserve((SPIDER_SQL_NAME_QUOTE_LEN) * 2 + SPIDER_SQL_DOT_LEN)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if (
+ str->append(table_name, table_name_length, table_name_charset) ||
+ str->reserve(SPIDER_SQL_NAME_QUOTE_LEN +
+ spider_db_table_lock_len[lock_type])
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(spider_db_table_lock_str[lock_type],
+ spider_db_table_lock_len[lock_type]);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_lock_table_tail(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_lock_table_tail");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::append_unlock_table(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_db_oracle_util::append_unlock_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_COMMIT_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_COMMIT_STR, SPIDER_SQL_COMMIT_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_db_oracle_util::open_item_func(
+ Item_func *item_func,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ int error_num;
+ Item *item, **item_list = item_func->arguments();
+ uint roop_count, item_count = item_func->argument_count(), start_item = 0;
+ const char *func_name = SPIDER_SQL_NULL_CHAR_STR,
+ *separete_str = SPIDER_SQL_NULL_CHAR_STR,
+ *last_str = SPIDER_SQL_NULL_CHAR_STR;
+ int func_name_length = SPIDER_SQL_NULL_CHAR_LEN,
+ separete_str_length = SPIDER_SQL_NULL_CHAR_LEN,
+ last_str_length = SPIDER_SQL_NULL_CHAR_LEN;
+ int use_pushdown_udf;
+ DBUG_ENTER("spider_db_oracle_util::open_item_func");
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ DBUG_PRINT("info",("spider functype = %d", item_func->functype()));
+ switch (item_func->functype())
+ {
+ case Item_func::ISNULL_FUNC:
+ last_str = SPIDER_SQL_IS_NULL_STR;
+ last_str_length = SPIDER_SQL_IS_NULL_LEN;
+ break;
+ case Item_func::ISNOTNULL_FUNC:
+ last_str = SPIDER_SQL_IS_NOT_NULL_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_NULL_LEN;
+ break;
+ case Item_func::UNKNOWN_FUNC:
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (func_name_length == 1 &&
+ (
+ !strncasecmp("+", func_name, func_name_length) ||
+ !strncasecmp("-", func_name, func_name_length) ||
+ !strncasecmp("*", func_name, func_name_length) ||
+ !strncasecmp("/", func_name, func_name_length) ||
+ !strncasecmp("%", func_name, func_name_length) ||
+ !strncasecmp("&", func_name, func_name_length) ||
+ !strncasecmp("|", func_name, func_name_length) ||
+ !strncasecmp("^", func_name, func_name_length)
+ )
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 2 &&
+ (
+ !strncasecmp("<<", func_name, func_name_length) ||
+ !strncasecmp(">>", func_name, func_name_length)
+ )
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 3 &&
+ !strncasecmp("div", func_name, func_name_length)
+ ) {
+ /* no action */
+ break;
+ } else if (func_name_length == 4)
+ {
+ if (
+ !strncasecmp("rand", func_name, func_name_length) &&
+ !item_func->arg_count
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (
+ !strncasecmp("case", func_name, func_name_length)
+ ) {
+#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC
+ Item_func_case *item_func_case = (Item_func_case *) item_func;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_CASE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CASE_STR, SPIDER_SQL_CASE_LEN);
+ }
+ if (item_func_case->first_expr_num != -1)
+ {
+ if ((error_num = spider_db_print_item_type(
+ item_list[item_func_case->first_expr_num], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ for (roop_count = 0; roop_count < item_func_case->ncases;
+ roop_count += 2)
+ {
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_WHEN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHEN_STR, SPIDER_SQL_WHEN_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[roop_count], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_THEN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_THEN_STR, SPIDER_SQL_THEN_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[roop_count + 1], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (item_func_case->else_expr_num != -1)
+ {
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_ELSE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ELSE_STR, SPIDER_SQL_ELSE_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ item_list[item_func_case->else_expr_num], spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_END_LEN + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_END_STR, SPIDER_SQL_END_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+#else
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+#endif
+ }
+ } else if (func_name_length == 6 &&
+ !strncasecmp("istrue", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_TRUE_STR;
+ last_str_length = SPIDER_SQL_IS_TRUE_LEN;
+ break;
+ } else if (func_name_length == 7)
+ {
+ if (!strncasecmp("isfalse", func_name, func_name_length))
+ {
+ last_str = SPIDER_SQL_IS_FALSE_STR;
+ last_str_length = SPIDER_SQL_IS_FALSE_LEN;
+ break;
+ } else if (
+ !strncasecmp("sysdate", func_name, func_name_length) ||
+ !strncasecmp("curdate", func_name, func_name_length) ||
+ !strncasecmp("curtime", func_name, func_name_length)
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (
+ !strncasecmp("convert", func_name, func_name_length)
+ ) {
+ if (str)
+ {
+ if (str->reserve(func_name_length * 2 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
+ SPIDER_SQL_OPEN_PAREN_LEN);
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ }
+ } else if (func_name_length == 8 &&
+ (
+ !strncasecmp("utc_date", func_name, func_name_length) ||
+ !strncasecmp("utc_time", func_name, func_name_length)
+ )
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (func_name_length == 9 &&
+ !strncasecmp("isnottrue", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_NOT_TRUE_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_TRUE_LEN;
+ break;
+ } else if (func_name_length == 10 &&
+ !strncasecmp("isnotfalse", func_name, func_name_length)
+ ) {
+ last_str = SPIDER_SQL_IS_NOT_FALSE_STR;
+ last_str_length = SPIDER_SQL_IS_NOT_FALSE_LEN;
+ break;
+ } else if (func_name_length == 12)
+ {
+ if (!strncasecmp("cast_as_date", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_DATE_STR;
+ last_str_length = SPIDER_SQL_AS_DATE_LEN;
+ break;
+ } else if (!strncasecmp("cast_as_time", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_TIME_STR;
+ last_str_length = SPIDER_SQL_AS_TIME_LEN;
+ break;
+ }
+ } else if (func_name_length == 13 &&
+ !strncasecmp("utc_timestamp", func_name, func_name_length)
+ ) {
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ } else if (func_name_length == 14)
+ {
+ if (!strncasecmp("cast_as_binary", func_name, func_name_length))
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(123);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_BINARY_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ } else if (!strncasecmp("cast_as_signed", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_SIGNED_STR;
+ last_str_length = SPIDER_SQL_AS_SIGNED_LEN;
+ break;
+ }
+ } else if (func_name_length == 16)
+ {
+ if (!strncasecmp("cast_as_unsigned", func_name, func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_UNSIGNED_STR;
+ last_str_length = SPIDER_SQL_AS_UNSIGNED_LEN;
+ break;
+ } else if (!strncasecmp("decimal_typecast", func_name,
+ func_name_length))
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(124);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_DECIMAL_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ } else if (!strncasecmp("cast_as_datetime", func_name,
+ func_name_length))
+ {
+ if (str)
+ {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+ }
+ last_str = SPIDER_SQL_AS_DATETIME_STR;
+ last_str_length = SPIDER_SQL_AS_DATETIME_LEN;
+ break;
+ }
+ } else if (func_name_length == 17)
+ {
+ if (!strncasecmp("date_add_interval", func_name, func_name_length))
+ {
+ Item_date_add_interval *item_date_add_interval =
+ (Item_date_add_interval *) item_func;
+ switch (item_date_add_interval->int_type)
+ {
+ case INTERVAL_YEAR:
+ case INTERVAL_QUARTER:
+ case INTERVAL_MONTH:
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_ADD_MONTHS_LEN +
+ SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ADD_MONTHS_STR,
+ SPIDER_SQL_ADD_MONTHS_LEN);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR,
+ SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(item_list[0], spider,
+ str, alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (item_date_add_interval->date_sub_interval)
+ {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN +
+ SPIDER_SQL_MINUS_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ str->q_append(SPIDER_SQL_MINUS_STR, SPIDER_SQL_MINUS_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if ((error_num = spider_db_print_item_type(item_list[1], spider,
+ str, alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (item_date_add_interval->int_type == INTERVAL_YEAR)
+ {
+ func_name = " * 12";
+ func_name_length = sizeof(" * 12") - 1;
+ if (str->reserve(func_name_length +
+ (SPIDER_SQL_CLOSE_PAREN_LEN * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ } else if (item_date_add_interval->int_type ==
+ INTERVAL_QUARTER)
+ {
+ func_name = " * 3";
+ func_name_length = sizeof(" * 3") - 1;
+ if (str->reserve(func_name_length +
+ (SPIDER_SQL_CLOSE_PAREN_LEN * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ }
+ break;
+ case INTERVAL_WEEK:
+ case INTERVAL_DAY:
+ case INTERVAL_HOUR:
+ case INTERVAL_MINUTE:
+ case INTERVAL_SECOND:
+ case INTERVAL_MICROSECOND:
+ if ((error_num = spider_db_print_item_type(item_list[0], spider,
+ str, alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (item_date_add_interval->date_sub_interval)
+ {
+ if (str->reserve(SPIDER_SQL_MINUS_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_MINUS_STR, SPIDER_SQL_MINUS_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_PLUS_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_PLUS_STR, SPIDER_SQL_PLUS_LEN);
+ }
+ }
+ if ((error_num = spider_db_print_item_type(item_list[1], spider,
+ str, alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (item_date_add_interval->int_type == INTERVAL_WEEK)
+ {
+ func_name = " * 7";
+ func_name_length = sizeof(" * 7") - 1;
+ if (str->reserve(func_name_length +
+ (SPIDER_SQL_CLOSE_PAREN_LEN)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ } else if (item_date_add_interval->int_type == INTERVAL_HOUR)
+ {
+ func_name = " / 24";
+ func_name_length = sizeof(" / 24") - 1;
+ if (str->reserve(func_name_length +
+ (SPIDER_SQL_CLOSE_PAREN_LEN)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ } else if (item_date_add_interval->int_type == INTERVAL_MINUTE)
+ {
+ func_name = " / 1440";
+ func_name_length = sizeof(" / 1440") - 1;
+ if (str->reserve(func_name_length +
+ (SPIDER_SQL_CLOSE_PAREN_LEN)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ } else if (item_date_add_interval->int_type == INTERVAL_SECOND)
+ {
+ func_name = " / 86400";
+ func_name_length = sizeof(" / 86400") - 1;
+ if (str->reserve(func_name_length +
+ (SPIDER_SQL_CLOSE_PAREN_LEN)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ } else if (item_date_add_interval->int_type ==
+ INTERVAL_MICROSECOND)
+ {
+ func_name = " / 86400000000";
+ func_name_length = sizeof(" / 86400000000") - 1;
+ if (str->reserve(func_name_length +
+ (SPIDER_SQL_CLOSE_PAREN_LEN)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ }
+ break;
+ default:
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ }
+ DBUG_RETURN(0);
+ break;
+ }
+ }
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::NOW_FUNC:
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::CHAR_TYPECAST_FUNC:
+ {
+ if (str)
+ {
+ char tmp_buf[MAX_FIELD_WIDTH], *tmp_ptr, *tmp_ptr2;
+ spider_string tmp_str(tmp_buf, MAX_FIELD_WIDTH, str->charset());
+ tmp_str.init_calc_mem(125);
+ tmp_str.length(0);
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (str->reserve(SPIDER_SQL_CAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CAST_STR, SPIDER_SQL_CAST_LEN);
+#if MYSQL_VERSION_ID < 50500
+ item_func->print(tmp_str.get_str(), QT_IS);
+#else
+ item_func->print(tmp_str.get_str(), QT_TO_SYSTEM_CHARSET);
+#endif
+ tmp_str.mem_calc();
+ if (tmp_str.reserve(1))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_ptr = tmp_str.c_ptr_quick();
+ DBUG_PRINT("info",("spider tmp_ptr = %s", tmp_ptr));
+ while ((tmp_ptr2 = strstr(tmp_ptr, SPIDER_SQL_AS_CHAR_STR)))
+ tmp_ptr = tmp_ptr2 + 1;
+ last_str = tmp_ptr - 1;
+ last_str_length = strlen(last_str) - SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ }
+ break;
+ case Item_func::NOT_FUNC:
+ case Item_func::NEG_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ break;
+ case Item_func::IN_FUNC:
+ if (((Item_func_opt_neg *) item_func)->negated)
+ {
+ func_name = SPIDER_SQL_NOT_IN_STR;
+ func_name_length = SPIDER_SQL_NOT_IN_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ } else {
+ func_name = SPIDER_SQL_IN_STR;
+ func_name_length = SPIDER_SQL_IN_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ }
+ break;
+ case Item_func::BETWEEN:
+ if (((Item_func_opt_neg *) item_func)->negated)
+ {
+ func_name = SPIDER_SQL_NOT_BETWEEN_STR;
+ func_name_length = SPIDER_SQL_NOT_BETWEEN_LEN;
+ separete_str = SPIDER_SQL_AND_STR;
+ separete_str_length = SPIDER_SQL_AND_LEN;
+ } else {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ separete_str = SPIDER_SQL_AND_STR;
+ separete_str_length = SPIDER_SQL_AND_LEN;
+ }
+ break;
+ case Item_func::UDF_FUNC:
+ use_pushdown_udf = spider_param_use_pushdown_udf(spider->trx->thd,
+ spider->share->use_pushdown_udf);
+ if (!use_pushdown_udf)
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+#ifdef MARIADB_BASE_VERSION
+ case Item_func::XOR_FUNC:
+#else
+ case Item_func::COND_XOR_FUNC:
+#endif
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(
+ spider_db_open_item_cond((Item_cond *) item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::TRIG_COND_FUNC:
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ case Item_func::GUSERVAR_FUNC:
+ if (str)
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ if (item_func->result_type() == STRING_RESULT)
+ DBUG_RETURN(spider_db_open_item_string(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ else
+ DBUG_RETURN(spider_db_open_item_int(item_func, spider, str,
+ alias, alias_length, dbton_id));
+ case Item_func::FT_FUNC:
+ if (spider_db_check_ft_idx(item_func, spider) == MAX_KEY)
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ start_item = 1;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_MATCH_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
+ }
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::SP_EQUALS_FUNC:
+ if (str)
+ {
+ func_name = SPIDER_SQL_MBR_EQUAL_STR;
+ func_name_length = SPIDER_SQL_MBR_EQUAL_LEN;
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(func_name_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::SP_DISJOINT_FUNC:
+ case Item_func::SP_INTERSECTS_FUNC:
+ case Item_func::SP_TOUCHES_FUNC:
+ case Item_func::SP_CROSSES_FUNC:
+ case Item_func::SP_WITHIN_FUNC:
+ case Item_func::SP_CONTAINS_FUNC:
+ case Item_func::SP_OVERLAPS_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ if (str->reserve(
+#ifndef SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
+ SPIDER_SQL_MBR_LEN +
+#endif
+ func_name_length + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+#ifndef SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
+ str->q_append(SPIDER_SQL_MBR_STR, SPIDER_SQL_MBR_LEN);
+#endif
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ func_name = SPIDER_SQL_COMMA_STR;
+ func_name_length = SPIDER_SQL_COMMA_LEN;
+ separete_str = SPIDER_SQL_COMMA_STR;
+ separete_str_length = SPIDER_SQL_COMMA_LEN;
+ last_str = SPIDER_SQL_CLOSE_PAREN_STR;
+ last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
+ break;
+ case Item_func::EQ_FUNC:
+ case Item_func::EQUAL_FUNC:
+ case Item_func::NE_FUNC:
+ case Item_func::LT_FUNC:
+ case Item_func::LE_FUNC:
+ case Item_func::GE_FUNC:
+ case Item_func::GT_FUNC:
+ case Item_func::LIKE_FUNC:
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ }
+ break;
+ default:
+ THD *thd = spider->trx->thd;
+ SPIDER_SHARE *share = spider->share;
+ if (spider_param_skip_default_condition(thd,
+ share->skip_default_condition))
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ if (str)
+ {
+ func_name = (char*) item_func->func_name();
+ func_name_length = strlen(func_name);
+ }
+ break;
+ }
+ DBUG_PRINT("info",("spider func_name = %s", func_name));
+ DBUG_PRINT("info",("spider func_name_length = %d", func_name_length));
+ DBUG_PRINT("info",("spider separete_str = %s", separete_str));
+ DBUG_PRINT("info",("spider separete_str_length = %d", separete_str_length));
+ DBUG_PRINT("info",("spider last_str = %s", last_str));
+ DBUG_PRINT("info",("spider last_str_length = %d", last_str_length));
+ if (item_count)
+ {
+ item_count--;
+ for (roop_count = start_item; roop_count < item_count; roop_count++)
+ {
+ item = item_list[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (roop_count == 1)
+ {
+ func_name = separete_str;
+ func_name_length = separete_str_length;
+ }
+ if (str)
+ {
+ if (str->reserve(func_name_length + SPIDER_SQL_SPACE_LEN * 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(func_name, func_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ }
+ item = item_list[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (item_func->functype() == Item_func::FT_FUNC)
+ {
+ Item_func_match *item_func_match = (Item_func_match *)item_func;
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_AGAINST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
+ }
+ item = item_list[0];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(
+ ((item_func_match->flags & FT_BOOL) ?
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
+ ((item_func_match->flags & FT_EXPAND) ?
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
+ ))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ if (item_func_match->flags & FT_BOOL)
+ str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
+ if (item_func_match->flags & FT_EXPAND)
+ str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
+ }
+ } else if (item_func->functype() == Item_func::UNKNOWN_FUNC)
+ {
+ if (
+ func_name_length == 7 &&
+ !strncasecmp("convert", func_name, func_name_length)
+ ) {
+ if (str)
+ {
+ Item_func_conv_charset *item_func_conv_charset =
+ (Item_func_conv_charset *)item_func;
+ CHARSET_INFO *conv_charset = item_func_conv_charset->conv_charset;
+ uint cset_length = strlen(conv_charset->csname);
+ if (str->reserve(SPIDER_SQL_USING_LEN + cset_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_USING_STR, SPIDER_SQL_USING_LEN);
+ str->q_append(conv_charset->csname, cset_length);
+ }
+ }
+ }
+ if (str)
+ {
+ if (str->reserve(last_str_length + SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(last_str, last_str_length);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_db_oracle_util::open_item_sum_func(
+ Item_sum *item_sum,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ uint roop_count, item_count = item_sum->get_arg_count();
+ int error_num;
+ DBUG_ENTER("spider_db_oracle_util::open_item_sum_func");
+ DBUG_PRINT("info",("spider Sumfunctype = %d", item_sum->sum_func()));
+ switch (item_sum->sum_func())
+ {
+ case Item_sum::COUNT_FUNC:
+ case Item_sum::SUM_FUNC:
+ case Item_sum::MIN_FUNC:
+ case Item_sum::MAX_FUNC:
+ {
+ const char *func_name = item_sum->func_name();
+ uint func_name_length = strlen(func_name);
+ Item *item, **args = item_sum->get_args();
+ if (str)
+ {
+ if (str->reserve(func_name_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(func_name, func_name_length);
+ }
+ if (item_count)
+ {
+ item_count--;
+ for (roop_count = 0; roop_count < item_count; roop_count++)
+ {
+ item = args[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ item = args[roop_count];
+ if ((error_num = spider_db_print_item_type(item, spider, str,
+ alias, alias_length, dbton_id)))
+ DBUG_RETURN(error_num);
+ }
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ }
+ break;
+ case Item_sum::COUNT_DISTINCT_FUNC:
+ case Item_sum::SUM_DISTINCT_FUNC:
+ case Item_sum::AVG_FUNC:
+ case Item_sum::AVG_DISTINCT_FUNC:
+ case Item_sum::STD_FUNC:
+ case Item_sum::VARIANCE_FUNC:
+ case Item_sum::SUM_BIT_FUNC:
+ case Item_sum::UDF_SUM_FUNC:
+ case Item_sum::GROUP_CONCAT_FUNC:
+ default:
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+size_t spider_db_oracle_util::escape_string(
+ char *to,
+ const char *from,
+ size_t from_length,
+ CHARSET_INFO *access_charset
+) {
+ DBUG_ENTER("spider_db_oracle::escape_string");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(escape_quotes_for_mysql(access_charset, to, 0,
+ from, from_length));
+}
+
+int spider_db_oracle_util::append_escaped_util(
+ spider_string *to,
+ String *from
+) {
+ size_t copy_length;
+ DBUG_ENTER("spider_db_oracle_util::append_escaped_util");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider to=%s", to->c_ptr_safe()));
+ DBUG_PRINT("info",("spider from=%s", from->c_ptr_safe()));
+ copy_length = escape_string((char *) to->ptr() + to->length(), from->ptr(),
+ from->length(), to->charset());
+ DBUG_PRINT("info",("spider copy_length=%zu", copy_length));
+ to->length(to->length() + copy_length);
+ to->mem_calc();
+ DBUG_RETURN(0);
+}
+
+spider_oracle_share::spider_oracle_share(
+ st_spider_share *share
+) : spider_db_share(
+ share
+),
+ table_select(NULL),
+ table_select_pos(0),
+ key_select(NULL),
+ key_select_pos(NULL),
+ key_hint(NULL),
+ show_table_status(NULL),
+ show_records(NULL),
+ show_autoinc(NULL),
+ show_last_insert_id(NULL),
+ show_index(NULL),
+ table_names_str(NULL),
+ db_names_str(NULL),
+ db_table_str(NULL),
+ nextval_str(NULL),
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ db_table_str_hash_value(NULL),
+#endif
+ table_nm_max_length(0),
+ db_nm_max_length(0),
+ nextval_max_length(0),
+ column_name_str(NULL),
+ same_db_table_name(TRUE),
+ first_all_link_idx(-1)
+{
+ DBUG_ENTER("spider_oracle_share::spider_oracle_share");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_alloc_calc_mem_init(mem_calc, 220);
+ spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+spider_oracle_share::~spider_oracle_share()
+{
+ DBUG_ENTER("spider_oracle_share::~spider_oracle_share");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (table_select)
+ delete [] table_select;
+ if (key_select)
+ delete [] key_select;
+ if (key_hint)
+ delete [] key_hint;
+ free_show_table_status();
+ free_show_records();
+ free_show_autoinc();
+ free_show_last_insert_id();
+ free_show_index();
+ free_column_name_str();
+ free_table_names_str();
+ if (key_select_pos)
+ {
+ spider_free(spider_current_trx, key_select_pos, MYF(0));
+ }
+ spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::init()
+{
+ int error_num;
+ uint roop_count;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ uint keys = table_share ? table_share->keys : 0;
+ DBUG_ENTER("spider_oracle_share::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!(key_select_pos = (int *)
+ spider_bulk_alloc_mem(spider_current_trx, 221,
+ __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
+ &key_select_pos,
+ sizeof(int) * keys,
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ &db_table_str_hash_value,
+ sizeof(my_hash_value_type) * spider_share->all_link_count,
+#endif
+ NullS))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ if (keys > 0 &&
+ !(key_hint = new spider_string[keys])
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ for (roop_count = 0; roop_count < keys; roop_count++)
+ {
+ key_hint[roop_count].init_calc_mem(190);
+ key_hint[roop_count].set_charset(spider_share->access_charset);
+ }
+ DBUG_PRINT("info",("spider key_hint=%p", key_hint));
+
+ if (
+ !(table_select = new spider_string[1]) ||
+ (keys > 0 &&
+ !(key_select = new spider_string[keys])
+ ) ||
+ (error_num = create_table_names_str()) ||
+ (table_share &&
+ (
+ (error_num = create_column_name_str()) ||
+ (error_num = convert_key_hint_str()) ||
+ (error_num = append_show_table_status()) ||
+ (error_num = append_show_records()) ||
+ (error_num = append_show_autoinc()) ||
+ (error_num = append_show_last_insert_id()) ||
+ (error_num = append_show_index())
+ )
+ )
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ table_select->init_calc_mem(191);
+ if (table_share && (error_num = append_table_select()))
+ DBUG_RETURN(error_num);
+
+ for (roop_count = 0; roop_count < keys; roop_count++)
+ {
+ key_select[roop_count].init_calc_mem(192);
+ if ((error_num = append_key_select(roop_count)))
+ DBUG_RETURN(error_num);
+ }
+
+ DBUG_RETURN(error_num);
+}
+
+uint spider_oracle_share::get_column_name_length(
+ uint field_index
+) {
+ DBUG_ENTER("spider_oracle_share::get_column_name_length");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(column_name_str[field_index].length());
+}
+
+int spider_oracle_share::append_column_name(
+ spider_string *str,
+ uint field_index
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_share::append_column_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = spider_db_oracle_utility.append_name(str,
+ column_name_str[field_index].ptr(), column_name_str[field_index].length());
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_share::append_column_name_with_alias(
+ spider_string *str,
+ uint field_index,
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_oracle_share::append_column_name_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(
+ alias_length +
+ column_name_str[field_index].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ append_column_name(str, field_index);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_share::append_table_name(
+ spider_string *str,
+ int all_link_idx
+) {
+ const char *db_nm = db_names_str[all_link_idx].ptr();
+ uint db_nm_len = db_names_str[all_link_idx].length();
+ const char *table_nm = table_names_str[all_link_idx].ptr();
+ uint table_nm_len = table_names_str[all_link_idx].length();
+ DBUG_ENTER("spider_oracle_share::append_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(db_nm_len + SPIDER_SQL_DOT_LEN + table_nm_len +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ spider_db_oracle_utility.append_name(str, db_nm, db_nm_len);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ spider_db_oracle_utility.append_name(str, table_nm, table_nm_len);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_share::append_table_name_with_adjusting(
+ spider_string *str,
+ int all_link_idx
+) {
+ const char *db_nm = db_names_str[all_link_idx].ptr();
+ uint db_nm_len = db_names_str[all_link_idx].length();
+ uint db_nm_max_len = db_nm_max_length;
+ const char *table_nm = table_names_str[all_link_idx].ptr();
+ uint table_nm_len = table_names_str[all_link_idx].length();
+ uint table_nm_max_len = table_nm_max_length;
+ DBUG_ENTER("spider_oracle_share::append_table_name_with_adjusting");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_db_oracle_utility.append_name(str, db_nm, db_nm_len);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ spider_db_oracle_utility.append_name(str, table_nm, table_nm_len);
+ uint length =
+ db_nm_max_len - db_nm_len +
+ table_nm_max_len - table_nm_len;
+ memset((char *) str->ptr() + str->length(), ' ', length);
+ str->length(str->length() + length);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_share::append_from_with_adjusted_table_name(
+ spider_string *str,
+ int *table_name_pos
+) {
+ const char *db_nm = db_names_str[0].ptr();
+ uint db_nm_len = db_names_str[0].length();
+ uint db_nm_max_len = db_nm_max_length;
+ const char *table_nm = table_names_str[0].ptr();
+ uint table_nm_len = table_names_str[0].length();
+ uint table_nm_max_len = table_nm_max_length;
+ DBUG_ENTER("spider_oracle_share::append_from_with_adjusted_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_FROM_LEN + db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ *table_name_pos = str->length();
+ spider_db_oracle_utility.append_name(str, db_nm, db_nm_len);
+ str->q_append(SPIDER_SQL_DOT_STR, SPIDER_SQL_DOT_LEN);
+ spider_db_oracle_utility.append_name(str, table_nm, table_nm_len);
+ uint length =
+ db_nm_max_len - db_nm_len +
+ table_nm_max_len - table_nm_len;
+ memset((char *) str->ptr() + str->length(), ' ', length);
+ str->length(str->length() + length);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_share::create_table_names_str()
+{
+ int error_num, roop_count;
+ uint table_nm_len, db_nm_len;
+ spider_string *str, *first_tbl_nm_str, *first_db_nm_str, *first_db_tbl_str;
+ char *first_tbl_nm, *first_db_nm;
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ DBUG_ENTER("spider_oracle_share::create_table_names_str");
+ table_names_str = NULL;
+ db_names_str = NULL;
+ db_table_str = NULL;
+ if (
+ !(table_names_str = new spider_string[spider_share->all_link_count]) ||
+ !(db_names_str = new spider_string[spider_share->all_link_count]) ||
+ !(db_table_str = new spider_string[spider_share->all_link_count])
+ ) {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+
+ same_db_table_name = TRUE;
+ first_tbl_nm = spider_share->tgt_table_names[0];
+ first_db_nm = spider_share->tgt_dbs[0];
+ table_nm_len = spider_share->tgt_table_names_lengths[0];
+ db_nm_len = spider_share->tgt_dbs_lengths[0];
+ first_tbl_nm_str = &table_names_str[0];
+ first_db_nm_str = &db_names_str[0];
+ first_db_tbl_str = &db_table_str[0];
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ table_names_str[roop_count].init_calc_mem(193);
+ db_names_str[roop_count].init_calc_mem(194);
+ db_table_str[roop_count].init_calc_mem(195);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+ if (first_all_link_idx == -1)
+ first_all_link_idx = roop_count;
+
+ str = &table_names_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name &&
+ spider_share->tgt_table_names_lengths[roop_count] == table_nm_len &&
+ !memcmp(first_tbl_nm, spider_share->tgt_table_names[roop_count],
+ table_nm_len)
+ ) {
+ if (str->copy(*first_tbl_nm_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ spider_share->tgt_table_names[roop_count], dbton_id)))
+ goto error;
+ if (roop_count)
+ {
+ same_db_table_name = FALSE;
+ DBUG_PRINT("info", ("spider found different table name %s",
+ spider_share->tgt_table_names[roop_count]));
+ if (str->length() > table_nm_max_length)
+ table_nm_max_length = str->length();
+ } else
+ table_nm_max_length = str->length();
+ }
+
+ str = &db_names_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name &&
+ spider_share->tgt_dbs_lengths[roop_count] == db_nm_len &&
+ !memcmp(first_db_nm, spider_share->tgt_dbs[roop_count],
+ db_nm_len)
+ ) {
+ if (str->copy(*first_db_nm_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ spider_share->tgt_dbs[roop_count], dbton_id)))
+ goto error;
+ if (roop_count)
+ {
+ same_db_table_name = FALSE;
+ DBUG_PRINT("info", ("spider found different db name %s",
+ spider_share->tgt_dbs[roop_count]));
+ if (str->length() > db_nm_max_length)
+ db_nm_max_length = str->length();
+ } else
+ db_nm_max_length = str->length();
+ }
+
+ str = &db_table_str[roop_count];
+ if (
+ roop_count != 0 &&
+ same_db_table_name
+ ) {
+ if (str->copy(*first_db_tbl_str))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error;
+ }
+ } else {
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = append_table_name(str, roop_count)))
+ goto error;
+ }
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ db_table_str_hash_value[roop_count] = my_calc_hash(
+ &spider_open_connections, (uchar*) str->ptr(), str->length());
+#endif
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (db_table_str)
+ {
+ delete [] db_table_str;
+ db_table_str = NULL;
+ }
+ if (db_names_str)
+ {
+ delete [] db_names_str;
+ db_names_str = NULL;
+ }
+ if (table_names_str)
+ {
+ delete [] table_names_str;
+ table_names_str = NULL;
+ }
+ DBUG_RETURN(error_num);
+}
+
+void spider_oracle_share::free_table_names_str()
+{
+ DBUG_ENTER("spider_oracle_share::free_table_names_str");
+ if (db_table_str)
+ {
+ delete [] db_table_str;
+ db_table_str = NULL;
+ }
+ if (db_names_str)
+ {
+ delete [] db_names_str;
+ db_names_str = NULL;
+ }
+ if (table_names_str)
+ {
+ delete [] table_names_str;
+ table_names_str = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::create_column_name_str()
+{
+ spider_string *str;
+ int error_num;
+ Field **field;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ DBUG_ENTER("spider_oracle_share::create_column_name_str");
+ if (
+ table_share->fields &&
+ !(column_name_str = new spider_string[table_share->fields])
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ for (field = table_share->field, str = column_name_str;
+ *field; field++, str++)
+ {
+ str->init_calc_mem(196);
+ str->set_charset(spider_share->access_charset);
+ if ((error_num = spider_db_append_name_with_quote_str(str,
+ (char *) (*field)->field_name, dbton_id)))
+ goto error;
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (column_name_str)
+ {
+ delete [] column_name_str;
+ column_name_str = NULL;
+ }
+ DBUG_RETURN(error_num);
+}
+
+void spider_oracle_share::free_column_name_str()
+{
+ DBUG_ENTER("spider_oracle_share::free_column_name_str");
+ if (column_name_str)
+ {
+ delete [] column_name_str;
+ column_name_str = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::convert_key_hint_str()
+{
+ spider_string *tmp_key_hint;
+ int roop_count;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ DBUG_ENTER("spider_oracle_share::convert_key_hint_str");
+ if (spider_share->access_charset->cset != system_charset_info->cset)
+ {
+ /* need convertion */
+ for (roop_count = 0, tmp_key_hint = key_hint;
+ roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
+ {
+ tmp_key_hint->length(0);
+ if (tmp_key_hint->append(spider_share->key_hint->ptr(),
+ spider_share->key_hint->length(), system_charset_info))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ } else {
+ for (roop_count = 0, tmp_key_hint = key_hint;
+ roop_count < (int) table_share->keys; roop_count++, tmp_key_hint++)
+ {
+ if (tmp_key_hint->copy(spider_share->key_hint[roop_count]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_share::append_show_table_status()
+{
+ int roop_count;
+ spider_string *str;
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ DBUG_ENTER("spider_oracle_append_show_table_status");
+ if (!(show_table_status =
+ new spider_string[2 * spider_share->all_link_count]))
+ goto error;
+
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ show_table_status[0 + (2 * roop_count)].init_calc_mem(197);
+ show_table_status[1 + (2 * roop_count)].init_calc_mem(207);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_table_status[0 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SHOW_TABLE_STATUS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_LIKE_LEN + table_names_str[roop_count].length() +
+ ((SPIDER_SQL_NAME_QUOTE_LEN) * 2) +
+ ((SPIDER_SQL_VALUE_QUOTE_LEN) * 2)) ||
+ show_table_status[1 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SELECT_TABLES_STATUS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
+ table_names_str[roop_count].length() +
+ ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4))
+ )
+ goto error;
+ str = &show_table_status[0 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SHOW_TABLE_STATUS_STR, SPIDER_SQL_SHOW_TABLE_STATUS_LEN);
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(db_names_str[roop_count].ptr(),
+ db_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_LIKE_STR, SPIDER_SQL_LIKE_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(table_names_str[roop_count].ptr(),
+ table_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str = &show_table_status[1 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SELECT_TABLES_STATUS_STR,
+ SPIDER_SQL_SELECT_TABLES_STATUS_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(db_names_str[roop_count].ptr(),
+ db_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(table_names_str[roop_count].ptr(),
+ table_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_table_status)
+ {
+ delete [] show_table_status;
+ show_table_status = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_oracle_share::free_show_table_status()
+{
+ DBUG_ENTER("spider_oracle_free_show_table_status");
+ if (show_table_status)
+ {
+ delete [] show_table_status;
+ show_table_status = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::append_show_records()
+{
+ int roop_count;
+ spider_string *str;
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ DBUG_ENTER("spider_oracle_share::append_show_records");
+ if (!(show_records = new spider_string[spider_share->all_link_count]))
+ goto error;
+
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ show_records[roop_count].init_calc_mem(208);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_records[roop_count].reserve(
+ SPIDER_SQL_SHOW_RECORDS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_DOT_LEN +
+ table_names_str[roop_count].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4)
+ )
+ goto error;
+ str = &show_records[roop_count];
+ str->q_append(SPIDER_SQL_SHOW_RECORDS_STR, SPIDER_SQL_SHOW_RECORDS_LEN);
+ append_table_name(str, roop_count);
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_records)
+ {
+ delete [] show_records;
+ show_records = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_oracle_share::free_show_records()
+{
+ DBUG_ENTER("spider_oracle_share::free_show_records");
+ if (show_records)
+ {
+ delete [] show_records;
+ show_records = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::append_show_autoinc()
+{
+ uint roop_count, field_length;
+ spider_string *str;
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ Field **found_next_number_field =
+ spider_share->table_share->found_next_number_field;
+ DBUG_ENTER("spider_oracle_share::append_show_autoinc");
+ if (!found_next_number_field)
+ DBUG_RETURN(0);
+
+ if (!(show_autoinc = new spider_string[spider_share->all_link_count]))
+ goto error;
+
+ field_length =
+ column_name_str[(*found_next_number_field)->field_index].length();
+ for (roop_count = 0; roop_count < spider_share->all_link_count;
+ roop_count++)
+ {
+ show_autoinc[roop_count].init_calc_mem(224);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_autoinc[roop_count].reserve(
+ SPIDER_SQL_SELECT_LEN +
+ SPIDER_SQL_MAX_LEN +
+ SPIDER_SQL_OPEN_PAREN_LEN +
+ field_length +
+ SPIDER_SQL_CLOSE_PAREN_LEN +
+ SPIDER_SQL_FROM_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_DOT_LEN +
+ table_names_str[roop_count].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 6)
+ )
+ goto error;
+ str = &show_autoinc[roop_count];
+ str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
+ str->q_append(SPIDER_SQL_MAX_STR, SPIDER_SQL_MAX_LEN);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ append_column_name(str, (*found_next_number_field)->field_index);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ append_table_name(str, roop_count);
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_autoinc)
+ {
+ delete [] show_autoinc;
+ show_autoinc = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_oracle_share::free_show_autoinc()
+{
+ DBUG_ENTER("spider_oracle_share::free_show_autoinc");
+ if (show_autoinc)
+ {
+ delete [] show_autoinc;
+ show_autoinc = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::append_show_last_insert_id()
+{
+ uint roop_count;
+ spider_string *str;
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ Field **found_next_number_field =
+ spider_share->table_share->found_next_number_field;
+ uint seq_nm_max_length = 0;
+ DBUG_ENTER("spider_oracle_share::append_show_last_insert_id");
+ if (!found_next_number_field)
+ DBUG_RETURN(0);
+
+ if (
+ !(show_last_insert_id = new spider_string[spider_share->all_link_count]) ||
+ !(nextval_str = new spider_string[spider_share->all_link_count])
+ )
+ goto error;
+
+ for (roop_count = 0; roop_count < spider_share->all_link_count;
+ roop_count++)
+ {
+ show_last_insert_id[roop_count].init_calc_mem(225);
+ nextval_str[roop_count].init_calc_mem(226);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_last_insert_id[roop_count].reserve(
+ SPIDER_SQL_SELECT_LEN +
+ spider_share->tgt_sequence_names_lengths[roop_count] +
+ SPIDER_SQL_CURRVAL_LEN +
+ SPIDER_SQL_FROM_DUAL_LEN +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2)
+ )
+ goto error;
+ str = &show_last_insert_id[roop_count];
+ str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
+ spider_db_oracle_utility.append_name(str,
+ spider_share->tgt_sequence_names[roop_count],
+ spider_share->tgt_sequence_names_lengths[roop_count]);
+ str->q_append(SPIDER_SQL_CURRVAL_STR, SPIDER_SQL_CURRVAL_LEN);
+ str->q_append(SPIDER_SQL_FROM_DUAL_STR, SPIDER_SQL_FROM_DUAL_LEN);
+
+ if (seq_nm_max_length <
+ spider_share->tgt_sequence_names_lengths[roop_count])
+ {
+ seq_nm_max_length =
+ spider_share->tgt_sequence_names_lengths[roop_count];
+ }
+ }
+ for (roop_count = 0; roop_count < spider_share->all_link_count;
+ roop_count++)
+ {
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ nextval_str[roop_count].reserve(
+ seq_nm_max_length +
+ SPIDER_SQL_NEXTVAL_LEN +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2)
+ )
+ goto error;
+ str = &nextval_str[roop_count];
+ spider_db_oracle_utility.append_name(str,
+ spider_share->tgt_sequence_names[roop_count],
+ spider_share->tgt_sequence_names_lengths[roop_count]);
+ str->q_append(SPIDER_SQL_NEXTVAL_STR, SPIDER_SQL_NEXTVAL_LEN);
+ uint length =
+ seq_nm_max_length - spider_share->tgt_sequence_names_lengths[roop_count];
+ memset((char *) str->ptr() + str->length(), ' ', length);
+ str->length(str->length() + length);
+ nextval_max_length = str->length();
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_last_insert_id)
+ {
+ delete [] show_last_insert_id;
+ show_last_insert_id = NULL;
+ }
+ if (nextval_str)
+ {
+ delete [] nextval_str;
+ nextval_str = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_oracle_share::free_show_last_insert_id()
+{
+ DBUG_ENTER("spider_oracle_share::free_show_last_insert_id");
+ if (show_last_insert_id)
+ {
+ delete [] show_last_insert_id;
+ show_last_insert_id = NULL;
+ }
+ if (nextval_str)
+ {
+ delete [] nextval_str;
+ nextval_str = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::append_show_index()
+{
+ int roop_count;
+ spider_string *str;
+ uint dbton_id = spider_dbton_oracle.dbton_id;
+ DBUG_ENTER("spider_oracle_share::append_show_index");
+ if (!(show_index = new spider_string[2 * spider_share->all_link_count]))
+ goto error;
+
+ for (roop_count = 0; roop_count < (int) spider_share->all_link_count;
+ roop_count++)
+ {
+ show_index[0 + (2 * roop_count)].init_calc_mem(209);
+ show_index[1 + (2 * roop_count)].init_calc_mem(210);
+ if (spider_share->sql_dbton_ids[roop_count] != dbton_id)
+ continue;
+
+ if (
+ show_index[0 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SHOW_INDEX_LEN + db_names_str[roop_count].length() +
+ SPIDER_SQL_DOT_LEN +
+ table_names_str[roop_count].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4) ||
+ show_index[1 + (2 * roop_count)].reserve(
+ SPIDER_SQL_SELECT_STATISTICS_LEN +
+ db_names_str[roop_count].length() +
+ SPIDER_SQL_AND_LEN + SPIDER_SQL_TABLE_NAME_LEN + SPIDER_SQL_EQUAL_LEN +
+ table_names_str[roop_count].length() +
+ ((SPIDER_SQL_VALUE_QUOTE_LEN) * 4) +
+ SPIDER_SQL_GROUP_LEN + SPIDER_SQL_COLUMN_NAME_LEN)
+ )
+ goto error;
+ str = &show_index[0 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SHOW_INDEX_STR, SPIDER_SQL_SHOW_INDEX_LEN);
+ append_table_name(str, roop_count);
+ str = &show_index[1 + (2 * roop_count)];
+ str->q_append(
+ SPIDER_SQL_SELECT_STATISTICS_STR, SPIDER_SQL_SELECT_STATISTICS_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(db_names_str[roop_count].ptr(),
+ db_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ str->q_append(SPIDER_SQL_TABLE_NAME_STR, SPIDER_SQL_TABLE_NAME_LEN);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(table_names_str[roop_count].ptr(),
+ table_names_str[roop_count].length());
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
+ str->q_append(SPIDER_SQL_COLUMN_NAME_STR, SPIDER_SQL_COLUMN_NAME_LEN);
+ }
+ DBUG_RETURN(0);
+
+error:
+ if (show_index)
+ {
+ delete [] show_index;
+ show_index = NULL;
+ }
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+}
+
+void spider_oracle_share::free_show_index()
+{
+ DBUG_ENTER("spider_oracle_share::free_show_index");
+ if (show_index)
+ {
+ delete [] show_index;
+ show_index = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_share::append_table_select()
+{
+ Field **field;
+ uint field_length;
+ spider_string *str = table_select;
+ TABLE_SHARE *table_share = spider_share->table_share;
+ DBUG_ENTER("spider_oracle_share::append_table_select");
+ for (field = table_share->field; *field; field++)
+ {
+ field_length = column_name_str[(*field)->field_index].length();
+ if (str->reserve(field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(append_from_with_adjusted_table_name(str, &table_select_pos));
+}
+
+int spider_oracle_share::append_key_select(
+ uint idx
+) {
+ KEY_PART_INFO *key_part;
+ Field *field;
+ uint part_num;
+ uint field_length;
+ spider_string *str = &key_select[idx];
+ TABLE_SHARE *table_share = spider_share->table_share;
+ const KEY *key_info = &table_share->key_info[idx];
+ DBUG_ENTER("spider_oracle_share::append_key_select");
+ for (key_part = key_info->key_part, part_num = 0;
+ part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
+ {
+ field = key_part->field;
+ field_length = column_name_str[field->field_index].length();
+ if (str->reserve(field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(append_from_with_adjusted_table_name(str, &key_select_pos[idx]));
+}
+
+bool spider_oracle_share::need_change_db_table_name()
+{
+ DBUG_ENTER("spider_oracle_share::need_change_db_table_name");
+ DBUG_RETURN(!same_db_table_name);
+}
+
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+int spider_oracle_share::discover_table_structure(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *spider_share,
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_share::discover_table_structure");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+#endif
+
+spider_oracle_handler::spider_oracle_handler(
+ ha_spider *spider,
+ spider_oracle_share *db_share
+) : spider_db_handler(
+ spider,
+ db_share
+),
+ where_pos(0),
+ order_pos(0),
+ limit_pos(0),
+ table_name_pos(0),
+ update_set_pos(0),
+ ha_read_pos(0),
+ ha_next_pos(0),
+ ha_where_pos(0),
+ ha_limit_pos(0),
+ ha_table_name_pos(0),
+ insert_pos(0),
+ insert_table_name_pos(0),
+ upd_tmp_tbl(NULL),
+ tmp_sql_pos1(0),
+ tmp_sql_pos2(0),
+ tmp_sql_pos3(0),
+ tmp_sql_pos4(0),
+ tmp_sql_pos5(0),
+ table_lock_mode(0),
+ reading_from_bulk_tmp_table(FALSE),
+ filled_up(FALSE),
+ select_rownum_appended(FALSE),
+ update_rownum_appended(FALSE),
+ union_table_name_pos_first(NULL),
+ union_table_name_pos_current(NULL),
+ oracle_share(db_share),
+ link_for_hash(NULL)
+{
+ DBUG_ENTER("spider_oracle_handler::spider_oracle_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_alloc_calc_mem_init(mem_calc, 222);
+ spider_alloc_calc_mem(spider_current_trx, mem_calc, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+spider_oracle_handler::~spider_oracle_handler()
+{
+ DBUG_ENTER("spider_oracle_handler::~spider_oracle_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ while (union_table_name_pos_first)
+ {
+ SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
+ union_table_name_pos_first = tmp_pos->next;
+ spider_free(spider_current_trx, tmp_pos, MYF(0));
+ }
+ if (link_for_hash)
+ {
+ spider_free(spider_current_trx, link_for_hash, MYF(0));
+ }
+ spider_free_mem_calc(spider_current_trx, mem_calc_id, sizeof(*this));
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_handler::init()
+{
+ uint roop_count;
+ THD *thd = spider->trx->thd;
+ st_spider_share *share = spider->share;
+ int init_sql_alloc_size =
+ spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_oracle_handler::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.init_calc_mem(67);
+ sql_part.init_calc_mem(68);
+ sql_part2.init_calc_mem(69);
+ ha_sql.init_calc_mem(70);
+ insert_sql.init_calc_mem(72);
+ update_sql.init_calc_mem(73);
+ tmp_sql.init_calc_mem(74);
+ dup_update_sql.init_calc_mem(167);
+ if (
+ (sql.real_alloc(init_sql_alloc_size)) ||
+ (insert_sql.real_alloc(init_sql_alloc_size)) ||
+ (update_sql.real_alloc(init_sql_alloc_size)) ||
+ (tmp_sql.real_alloc(init_sql_alloc_size))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.set_charset(share->access_charset);
+ sql_part.set_charset(share->access_charset);
+ ha_sql.set_charset(share->access_charset);
+ insert_sql.set_charset(share->access_charset);
+ update_sql.set_charset(share->access_charset);
+ tmp_sql.set_charset(share->access_charset);
+ upd_tmp_tbl_prm.init();
+ upd_tmp_tbl_prm.field_count = 1;
+ if (!(link_for_hash = (SPIDER_LINK_FOR_HASH *)
+ spider_bulk_alloc_mem(spider_current_trx, 223,
+ __func__, __FILE__, __LINE__, MYF(MY_WME | MY_ZEROFILL),
+ &link_for_hash,
+ sizeof(SPIDER_LINK_FOR_HASH) * share->link_count,
+ &minimum_select_bitmap,
+ table ? sizeof(uchar) * no_bytes_in_map(table->read_set) : 0,
+ NullS))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ for (roop_count = 0; roop_count < share->link_count; roop_count++)
+ {
+ link_for_hash[roop_count].spider = spider;
+ link_for_hash[roop_count].link_idx = roop_count;
+ link_for_hash[roop_count].db_table_str =
+ &oracle_share->db_table_str[roop_count];
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ link_for_hash[roop_count].db_table_str_hash_value =
+ oracle_share->db_table_str_hash_value[roop_count];
+#endif
+ }
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ hs_upds.init();
+#endif
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_table_name_with_adjusting(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+) {
+ int error_num = 0;
+ DBUG_ENTER("spider_oracle_handler::append_table_name_with_adjusting");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
+ } else {
+ error_num = oracle_share->append_table_name_with_adjusting(str,
+ spider->conn_link_idx[link_idx]);
+ }
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_column_types(
+ const key_range *start_key,
+ spider_string *str
+) {
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ KEY *key_info = result_list->key_info;
+ uint key_name_length, key_count;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ char tmp_buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(tmp_buf, sizeof(tmp_buf), system_charset_info);
+ DBUG_ENTER("spider_oracle_handler::append_key_column_types");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_str.init_calc_mem(227);
+
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ for (
+ key_part = key_info->key_part,
+ key_count = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ key_count++
+ ) {
+ field = key_part->field;
+ key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
+ if (str->reserve(key_name_length + SPIDER_SQL_SPACE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(tmp_buf, key_name_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+
+ if (tmp_str.ptr() != tmp_buf)
+ tmp_str.set(tmp_buf, sizeof(tmp_buf), system_charset_info);
+ else
+ tmp_str.set_charset(system_charset_info);
+ field->sql_type(*tmp_str.get_str());
+ tmp_str.mem_calc();
+ str->append(tmp_str);
+
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_join_columns_for_bka(
+ const key_range *start_key,
+ spider_string *str,
+ const char **table_aliases,
+ uint *table_alias_lengths
+) {
+ KEY *key_info = spider->result_list.key_info;
+ uint length, key_name_length, key_count;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ char tmp_buf[MAX_FIELD_WIDTH];
+ bool start_where = ((int) str->length() == where_pos);
+ DBUG_ENTER("spider_oracle_handler::append_key_join_columns_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ if (start_where)
+ {
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+
+ for (
+ key_part = key_info->key_part,
+ key_count = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ key_count++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
+ if (str->reserve(length + table_alias_lengths[0] + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ table_alias_lengths[1] + SPIDER_SQL_PF_EQUAL_LEN + SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(table_aliases[0], table_alias_lengths[0]);
+ str->q_append(tmp_buf, length);
+ str->q_append(SPIDER_SQL_PF_EQUAL_STR, SPIDER_SQL_PF_EQUAL_LEN);
+ str->q_append(table_aliases[1], table_alias_lengths[1]);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_tmp_table_and_sql_for_bka(
+ const key_range *start_key
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_tmp_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ char tmp_table_name[MAX_FIELD_WIDTH * 2],
+ tgt_table_name[MAX_FIELD_WIDTH * 2];
+ int tmp_table_name_length;
+ spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
+ oracle_share->db_names_str[0].charset());
+ const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
+ uint table_name_lengths[2], table_alias_lengths[2],
+ table_dot_alias_lengths[2];
+ tgt_table_name_str.init_calc_mem(200);
+ tgt_table_name_str.length(0);
+ create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
+ first_link_idx);
+ if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
+ first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ table_names[0] = tmp_table_name;
+ table_names[1] = tgt_table_name_str.c_ptr_safe();
+ table_name_lengths[0] = tmp_table_name_length;
+ table_name_lengths[1] = tgt_table_name_str.length();
+ table_aliases[0] = SPIDER_SQL_A_STR;
+ table_aliases[1] = SPIDER_SQL_B_STR;
+ table_alias_lengths[0] = SPIDER_SQL_A_LEN;
+ table_alias_lengths[1] = SPIDER_SQL_B_LEN;
+ table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
+ table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
+ table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
+ table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
+ if (
+ (error_num = append_drop_tmp_bka_table(
+ &tmp_sql, tmp_table_name, tmp_table_name_length,
+ &tmp_sql_pos1, &tmp_sql_pos5, TRUE)) ||
+ (error_num = append_create_tmp_bka_table(
+ start_key,
+ &tmp_sql, tmp_table_name,
+ tmp_table_name_length,
+ &tmp_sql_pos2, spider->share->table_share->table_charset)) ||
+ (error_num = append_insert_tmp_bka_table(
+ start_key,
+ &tmp_sql, tmp_table_name,
+ tmp_table_name_length, &tmp_sql_pos3))
+ )
+ DBUG_RETURN(error_num);
+ tmp_sql_pos4 = tmp_sql.length();
+ if ((error_num = spider_db_append_select(spider)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
+ sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if (
+ (error_num = append_select_columns_with_alias(&sql,
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)) ||
+ (error_num = spider_db_oracle_utility.append_from_with_alias(&sql,
+ table_names, table_name_lengths,
+ table_aliases, table_alias_lengths, 2,
+ &table_name_pos, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (
+ oracle_share->key_hint &&
+ (error_num = spider_db_append_hint_after_table(spider,
+ &sql, &oracle_share->key_hint[spider->active_index]))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ where_pos = sql.length();
+ if (
+ (error_num = append_key_join_columns_for_bka(
+ start_key, &sql,
+ table_dot_aliases, table_dot_alias_lengths)) ||
+ (error_num = append_condition_part(
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
+ SPIDER_SQL_TYPE_SELECT_SQL, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (spider->result_list.direct_order_limit)
+ {
+ if ((error_num = append_key_order_for_direct_order_limit_with_alias(&sql,
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ }
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (spider->result_list.direct_aggregate)
+ {
+ if ((error_num =
+ append_group_by(&sql, SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::reuse_tmp_table_and_sql_for_bka()
+{
+ DBUG_ENTER("spider_oracle_handler::reuse_tmp_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_sql.length(tmp_sql_pos4);
+ sql.length(limit_pos);
+ ha_sql.length(ha_limit_pos);
+ DBUG_RETURN(0);
+}
+
+void spider_oracle_handler::create_tmp_bka_table_name(
+ char *tmp_table_name,
+ int *tmp_table_name_length,
+ int link_idx
+) {
+ uint adjust_length =
+ oracle_share->db_nm_max_length -
+ oracle_share->db_names_str[spider->conn_link_idx[link_idx]].length() +
+ oracle_share->table_nm_max_length -
+ oracle_share->table_names_str[spider->conn_link_idx[link_idx]].length(),
+ length;
+ DBUG_ENTER("spider_oracle_handler::create_tmp_bka_table_name");
+ *tmp_table_name_length = oracle_share->db_nm_max_length +
+ oracle_share->table_nm_max_length;
+ memset(tmp_table_name, ' ', adjust_length);
+ tmp_table_name += adjust_length;
+ memcpy(tmp_table_name, oracle_share->db_names_str[link_idx].c_ptr(),
+ oracle_share->db_names_str[link_idx].length());
+ tmp_table_name += oracle_share->db_names_str[link_idx].length();
+ length = my_sprintf(tmp_table_name, (tmp_table_name,
+ "%s%s%p%s", SPIDER_SQL_DOT_STR, SPIDER_SQL_TMP_BKA_STR, spider,
+ SPIDER_SQL_UNDERSCORE_STR));
+ *tmp_table_name_length += length;
+ tmp_table_name += length;
+ memcpy(tmp_table_name,
+ oracle_share->table_names_str[spider->conn_link_idx[link_idx]].c_ptr(),
+ oracle_share->table_names_str[spider->conn_link_idx[link_idx]].length());
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_handler::append_create_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ CHARSET_INFO *table_charset
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ THD *thd = spider->trx->thd;
+ char *bka_engine = spider_param_bka_engine(thd, share->bka_engine);
+ uint bka_engine_length = strlen(bka_engine),
+ cset_length = strlen(table_charset->csname);
+ DBUG_ENTER("spider_oracle_handler::append_create_tmp_bka_table");
+ if (str->reserve(SPIDER_SQL_CREATE_TMP_LEN + tmp_table_name_length +
+ SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN + SPIDER_SQL_ID_TYPE_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CREATE_TMP_STR, SPIDER_SQL_CREATE_TMP_LEN);
+ *db_name_pos = str->length();
+ str->q_append(tmp_table_name, tmp_table_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ str->q_append(SPIDER_SQL_ID_TYPE_STR, SPIDER_SQL_ID_TYPE_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if ((error_num = append_key_column_types(start_key, str)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_ENGINE_LEN + bka_engine_length +
+ SPIDER_SQL_DEF_CHARSET_LEN + cset_length + SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ENGINE_STR, SPIDER_SQL_ENGINE_LEN);
+ str->q_append(bka_engine, bka_engine_length);
+ str->q_append(SPIDER_SQL_DEF_CHARSET_STR, SPIDER_SQL_DEF_CHARSET_LEN);
+ str->q_append(table_charset->csname, cset_length);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_drop_tmp_bka_table(
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ int *drop_table_end_pos,
+ bool with_semicolon
+) {
+ DBUG_ENTER("spider_oracle_handler::append_drop_tmp_bka_table");
+ if (str->reserve(SPIDER_SQL_DROP_TMP_LEN + tmp_table_name_length +
+ (with_semicolon ? SPIDER_SQL_SEMICOLON_LEN : 0)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_DROP_TMP_STR, SPIDER_SQL_DROP_TMP_LEN);
+ *db_name_pos = str->length();
+ str->q_append(tmp_table_name, tmp_table_name_length);
+ *drop_table_end_pos = str->length();
+ if (with_semicolon)
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_insert_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_insert_tmp_bka_table");
+ if (str->reserve(SPIDER_SQL_INSERT_LEN + SPIDER_SQL_INTO_LEN +
+ tmp_table_name_length + SPIDER_SQL_OPEN_PAREN_LEN + SPIDER_SQL_ID_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ *db_name_pos = str->length();
+ str->q_append(tmp_table_name, tmp_table_name_length);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if ((error_num = spider_db_append_key_columns(start_key, spider, str)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_union_table_and_sql_for_bka(
+ const key_range *start_key
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_union_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ char tgt_table_name[MAX_FIELD_WIDTH * 2];
+ spider_string tgt_table_name_str(tgt_table_name, MAX_FIELD_WIDTH * 2,
+ oracle_share->db_names_str[0].charset());
+ const char *table_names[2], *table_aliases[2], *table_dot_aliases[2];
+ uint table_name_lengths[2], table_alias_lengths[2],
+ table_dot_alias_lengths[2];
+ tgt_table_name_str.init_calc_mem(234);
+ tgt_table_name_str.length(0);
+ if ((error_num = append_table_name_with_adjusting(&tgt_table_name_str,
+ first_link_idx, SPIDER_SQL_TYPE_SELECT_SQL)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ table_names[0] = "";
+ table_names[1] = tgt_table_name_str.c_ptr_safe();
+ table_name_lengths[0] = 0;
+ table_name_lengths[1] = tgt_table_name_str.length();
+ table_aliases[0] = SPIDER_SQL_A_STR;
+ table_aliases[1] = SPIDER_SQL_B_STR;
+ table_alias_lengths[0] = SPIDER_SQL_A_LEN;
+ table_alias_lengths[1] = SPIDER_SQL_B_LEN;
+ table_dot_aliases[0] = SPIDER_SQL_A_DOT_STR;
+ table_dot_aliases[1] = SPIDER_SQL_B_DOT_STR;
+ table_dot_alias_lengths[0] = SPIDER_SQL_A_DOT_LEN;
+ table_dot_alias_lengths[1] = SPIDER_SQL_B_DOT_LEN;
+
+ if ((error_num = spider_db_append_select(spider)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_A_DOT_LEN + SPIDER_SQL_ID_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_A_DOT_STR, SPIDER_SQL_A_DOT_LEN);
+ sql.q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if ((error_num = append_select_columns_with_alias(&sql,
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_FROM_LEN + (SPIDER_SQL_OPEN_PAREN_LEN * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ tmp_sql_pos1 = sql.length();
+
+ if (
+ (error_num = spider_db_oracle_utility.append_from_with_alias(&tmp_sql,
+ table_names, table_name_lengths,
+ table_aliases, table_alias_lengths, 2,
+ &table_name_pos, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (
+ oracle_share->key_hint &&
+ (error_num = spider_db_append_hint_after_table(spider,
+ &tmp_sql, &oracle_share->key_hint[spider->active_index]))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ where_pos = tmp_sql.length();
+ if (
+ (error_num = append_key_join_columns_for_bka(
+ start_key, &tmp_sql,
+ table_dot_aliases, table_dot_alias_lengths)) ||
+ (error_num = append_condition_part(
+ SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN,
+ SPIDER_SQL_TYPE_TMP_SQL, FALSE))
+ )
+ DBUG_RETURN(error_num);
+ if (spider->result_list.direct_order_limit)
+ {
+ if ((error_num = append_key_order_for_direct_order_limit_with_alias(
+ &tmp_sql, SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ }
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ else if (spider->result_list.direct_aggregate)
+ {
+ if ((error_num =
+ append_group_by(&tmp_sql, SPIDER_SQL_B_DOT_STR, SPIDER_SQL_B_DOT_LEN)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::reuse_union_table_and_sql_for_bka()
+{
+ DBUG_ENTER("spider_oracle_handler::reuse_union_table_and_sql_for_bka");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.length(tmp_sql_pos1);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_insert_for_recovery(
+ ulong sql_type,
+ int link_idx
+) {
+ const TABLE *table = spider->get_table();
+ SPIDER_SHARE *share = spider->share;
+ Field **field;
+ uint field_name_length = 0;
+ bool add_value = FALSE;
+ spider_string *insert_sql;
+ DBUG_ENTER("spider_oracle_handler::append_insert_for_recovery");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ insert_sql = &spider->result_list.insert_sqls[link_idx];
+ insert_sql->length(0);
+ } else {
+ insert_sql = &spider->result_list.update_sqls[link_idx];
+ }
+ if (insert_sql->reserve(
+ SPIDER_SQL_INSERT_LEN + SPIDER_SQL_SQL_IGNORE_LEN +
+ SPIDER_SQL_INTO_LEN + oracle_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ insert_sql->q_append(SPIDER_SQL_SQL_IGNORE_STR, SPIDER_SQL_SQL_IGNORE_LEN);
+ insert_sql->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ oracle_share->append_table_name(insert_sql, spider->conn_link_idx[link_idx]);
+ insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ field_name_length =
+ oracle_share->column_name_str[(*field)->field_index].length();
+ if (insert_sql->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(insert_sql, (*field)->field_index);
+ insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (field_name_length)
+ insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
+ if (insert_sql->reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ insert_sql->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ add_value = TRUE;
+ if ((*field)->is_null())
+ {
+ if (insert_sql->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (
+ spider_db_oracle_utility.
+ append_column_value(spider, insert_sql, *field, NULL,
+ share->access_charset) ||
+ insert_sql->reserve(SPIDER_SQL_COMMA_LEN)
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ insert_sql->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (add_value)
+ insert_sql->length(insert_sql->length() - SPIDER_SQL_COMMA_LEN);
+ if (insert_sql->reserve(SPIDER_SQL_CLOSE_PAREN_LEN, SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ insert_sql->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ if (sql_type == SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ exec_insert_sql = insert_sql;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ int error_num;
+ spider_string *str = &update_sql;
+ DBUG_ENTER("spider_oracle_handler::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_update(str, 0)) ||
+ (error_num = append_update_set(str)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.update_sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::append_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_update(str, link_idx)) ||
+ (error_num = append_update_set(str)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+
+ if (
+ spider->pk_update &&
+ share->link_statuses[link_idx] == SPIDER_LINK_STATUS_RECOVERY
+ ) {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ if ((error_num = append_insert_for_recovery(
+ SPIDER_SQL_TYPE_UPDATE_SQL, link_idx)))
+ DBUG_RETURN(error_num);
+ }
+
+ if (!filled_up)
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ int error_num;
+ spider_string *str = &update_sql;
+ DBUG_ENTER("spider_oracle_handler::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_delete(str)) ||
+ (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL,
+ first_link_idx)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str = &spider->result_list.update_sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::append_delete");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->length() > 0)
+ {
+ if (str->reserve(SPIDER_SQL_SEMICOLON_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SEMICOLON_STR, SPIDER_SQL_SEMICOLON_LEN);
+ }
+
+ if (
+ (error_num = append_delete(str)) ||
+ (error_num = append_from(str, SPIDER_SQL_TYPE_DELETE_SQL, link_idx)) ||
+ (error_num = append_update_where(str, table, ptr_diff))
+ )
+ DBUG_RETURN(error_num);
+ if (!filled_up)
+ filled_up = (str->length() >= (uint) spider->result_list.bulk_update_size);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_insert_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_insert_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_insert(&insert_sql, 0);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_insert(
+ spider_string *str,
+ int link_idx
+) {
+ DBUG_ENTER("spider_oracle_handler::append_insert");
+ if (str->reserve(SPIDER_SQL_INSERT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_update_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_update_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_update(&update_sql, 0);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_update(
+ spider_string *str,
+ int link_idx
+) {
+ DBUG_ENTER("spider_oracle_handler::append_update");
+ if (str->reserve(SPIDER_SQL_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_UPDATE_STR, SPIDER_SQL_UPDATE_LEN);
+ if (str->reserve(oracle_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ table_name_pos = str->length();
+ append_table_name_with_adjusting(str, link_idx, SPIDER_SQL_TYPE_UPDATE_SQL);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_delete_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_delete_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_delete(&update_sql);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_delete(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_delete");
+ if (str->reserve(SPIDER_SQL_DELETE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_DELETE_STR, SPIDER_SQL_DELETE_LEN);
+ str->length(str->length() - 1);
+ DBUG_RETURN(0);
+}
+
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+int spider_oracle_handler::append_increment_update_set_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_increment_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_increment_update_set(&update_sql);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_increment_update_set(
+ spider_string *str
+) {
+ uint field_name_length;
+ uint roop_count;
+ Field *field;
+ DBUG_ENTER("spider_oracle_handler::append_increment_update_set");
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ const SPIDER_HS_STRING_REF *value = hs_upds.ptr();
+ for (roop_count = 0; roop_count < hs_upds.size();
+ roop_count++)
+ {
+ DBUG_PRINT("info",("spider value_size[%u]=%zu", roop_count,
+ value[roop_count].size()));
+#ifndef DBUG_OFF
+ char print_buf[MAX_FIELD_WIDTH];
+ if (value[roop_count].size() < MAX_FIELD_WIDTH)
+ {
+ memcpy(print_buf, value[roop_count].begin(), value[roop_count].size());
+ print_buf[value[roop_count].size()] = '\0';
+ DBUG_PRINT("info",("spider value[%u]=%s", roop_count, print_buf));
+ }
+#endif
+ if (
+ value[roop_count].size() == 1 &&
+ *(value[roop_count].begin()) == '0'
+ )
+ continue;
+
+ Field *top_table_field =
+ spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
+ if (!(field = spider->field_exchange(top_table_field)))
+ continue;
+ field_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+
+ if (str->reserve(field_name_length * 2 + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 4 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_HS_INCREMENT_LEN +
+ SPIDER_SQL_COMMA_LEN + value[roop_count].size()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ oracle_share->append_column_name(str, field->field_index);
+ if (spider->hs_increment)
+ str->q_append(SPIDER_SQL_HS_INCREMENT_STR,
+ SPIDER_SQL_HS_INCREMENT_LEN);
+ else
+ str->q_append(SPIDER_SQL_HS_DECREMENT_STR,
+ SPIDER_SQL_HS_DECREMENT_LEN);
+ str->q_append(value[roop_count].begin(), value[roop_count].size());
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+#endif
+#endif
+
+int spider_oracle_handler::append_update_set_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ update_set_pos = update_sql.length();
+ error_num = append_update_set(&update_sql);
+ where_pos = update_sql.length();
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_update_set(
+ spider_string *str
+) {
+ uint field_name_length;
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ Field **fields;
+ DBUG_ENTER("spider_oracle_handler::append_update_set");
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ for (fields = table->field; *fields; fields++)
+ {
+ if (bitmap_is_set(table->write_set, (*fields)->field_index))
+ {
+ field_name_length =
+ oracle_share->column_name_str[(*fields)->field_index].length();
+ if ((*fields)->is_null())
+ {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, (*fields)->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, (*fields)->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+#ifndef DBUG_OFF
+ my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
+ table->read_set);
+#endif
+ if (
+ spider_db_oracle_utility.
+ append_column_value(spider, str, *fields, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_COMMA_LEN)
+ ) {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+int spider_oracle_handler::append_direct_update_set_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_direct_update_set_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ update_set_pos = update_sql.length();
+ error_num = append_direct_update_set(&update_sql);
+ where_pos = update_sql.length();
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_direct_update_set(
+ spider_string *str
+) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ uint field_name_length;
+ SPIDER_SHARE *share = spider->share;
+#ifndef DBUG_OFF
+ TABLE *table = spider->get_table();
+#endif
+#endif
+ DBUG_ENTER("spider_oracle_handler::append_direct_update_set");
+ if (
+ spider->direct_update_kinds == SPIDER_SQL_KIND_SQL &&
+ spider->direct_update_fields
+ ) {
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ DBUG_RETURN(append_update_columns(str, NULL, 0));
+ }
+
+ if (
+ (spider->direct_update_kinds & SPIDER_SQL_KIND_SQL)
+ ) {
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ size_t roop_count;
+ Field *field;
+ if (str->reserve(SPIDER_SQL_SET_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SET_STR, SPIDER_SQL_SET_LEN);
+ for (roop_count = 0; roop_count < spider->hs_pushed_ret_fields_num;
+ roop_count++)
+ {
+ Field *top_table_field =
+ spider->get_top_table_field(spider->hs_pushed_ret_fields[roop_count]);
+ if (!(field = spider->field_exchange(top_table_field)))
+ continue;
+ field_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (top_table_field->is_null())
+ {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN + SPIDER_SQL_NULL_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (str->reserve(field_name_length + /* SPIDER_SQL_NAME_QUOTE_LEN */
+ 2 + SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+#ifndef DBUG_OFF
+ my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table,
+ table->read_set);
+#endif
+ if (
+ spider_db_oracle_utility.
+ append_column_value(spider, str, top_table_field, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_COMMA_LEN)
+ ) {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+#else
+ DBUG_ASSERT(0);
+#endif
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_dup_update_pushdown_part(
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_dup_update_pushdown_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ dup_update_sql.length(0);
+ error_num = append_update_columns(&dup_update_sql, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_update_columns_part(
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_update_columns_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_update_columns(&update_sql, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::check_update_columns_part()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::check_update_columns_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = append_update_columns(NULL, NULL, 0);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_update_columns(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ List_iterator_fast<Item> fi(*spider->direct_update_fields),
+ vi(*spider->direct_update_values);
+ Item *field, *value;
+ DBUG_ENTER("spider_oracle_handler::append_update_columns");
+ while ((field = fi++))
+ {
+ value = vi++;
+ if ((error_num = spider_db_print_item_type(
+ (Item *) field, spider, str, alias, alias_length,
+ spider_dbton_oracle.dbton_id)))
+ {
+ if (
+ error_num == ER_SPIDER_COND_SKIP_NUM &&
+ field->type() == Item::FIELD_ITEM &&
+ ((Item_field *) field)->field
+ )
+ continue;
+ DBUG_RETURN(error_num);
+ }
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ }
+ if ((error_num = spider_db_print_item_type(
+ (Item *) value, spider, str, alias, alias_length,
+ spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (str)
+ {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if (str)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+/*
+ error_num = spider_db_append_update_columns(spider, str,
+ alias, alias_length, spider_dbton_oracle.dbton_id);
+ DBUG_RETURN(error_num);
+*/
+}
+#endif
+
+int spider_oracle_handler::append_select_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_select(str, sql_type);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_select(
+ spider_string *str,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::append_select");
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ if (str->reserve(SPIDER_SQL_HANDLER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_SELECT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_table_select_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_table_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_table_select(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_table_select(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_table_select");
+ table_name_pos = str->length() + oracle_share->table_select_pos;
+ if (str->append(*(oracle_share->table_select)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_select_part(
+ ulong sql_type,
+ uint idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_key_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_select(str, idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_select(
+ spider_string *str,
+ uint idx
+) {
+ DBUG_ENTER("spider_oracle_handler::append_key_select");
+ table_name_pos = str->length() + oracle_share->key_select_pos[idx];
+ if (str->append(oracle_share->key_select[idx]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_minimum_select_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_minimum_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_minimum_select(str, sql_type);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_minimum_select(
+ spider_string *str,
+ ulong sql_type
+) {
+ TABLE *table = spider->get_table();
+ Field **field;
+ int field_length;
+ bool appended = FALSE;
+ DBUG_ENTER("spider_oracle_handler::append_minimum_select");
+ minimum_select_bitmap_create();
+ for (field = table->field; *field; field++)
+ {
+ if (minimum_select_bit_is_set((*field)->field_index))
+ {
+ spider_set_bit(minimum_select_bitmap, (*field)->field_index);
+ field_length =
+ oracle_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ appended = TRUE;
+ }
+ }
+ if (appended)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ else {
+ if (str->reserve(SPIDER_SQL_ONE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
+ }
+ DBUG_RETURN(append_from(str, sql_type, first_link_idx));
+}
+
+int spider_oracle_handler::append_table_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ TABLE *table = spider->get_table();
+ Field **field;
+ int field_length;
+ DBUG_ENTER("spider_oracle_handler::append_table_select_with_alias");
+ for (field = table->field; *field; field++)
+ {
+ field_length =
+ oracle_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(alias_length + field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_select_with_alias(
+ spider_string *str,
+ const KEY *key_info,
+ const char *alias,
+ uint alias_length
+) {
+ KEY_PART_INFO *key_part;
+ Field *field;
+ uint part_num;
+ int field_length;
+ DBUG_ENTER("spider_oracle_handler::append_key_select_with_alias");
+ for (key_part = key_info->key_part, part_num = 0;
+ part_num < spider_user_defined_key_parts(key_info); key_part++, part_num++)
+ {
+ field = key_part->field;
+ field_length = oracle_share->column_name_str[field->field_index].length();
+ if (str->reserve(alias_length + field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_minimum_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ TABLE *table = spider->get_table();
+ Field **field;
+ int field_length;
+ bool appended = FALSE;
+ DBUG_ENTER("spider_oracle_handler::append_minimum_select_with_alias");
+ minimum_select_bitmap_create();
+ for (field = table->field; *field; field++)
+ {
+ if (minimum_select_bit_is_set((*field)->field_index))
+ {
+ spider_set_bit(minimum_select_bitmap, (*field)->field_index);
+ field_length =
+ oracle_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(alias_length + field_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ appended = TRUE;
+ }
+ }
+ if (appended)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ else {
+ if (str->reserve(SPIDER_SQL_ONE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ONE_STR, SPIDER_SQL_ONE_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_select_columns_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ DBUG_ENTER("spider_oracle_handler::append_select_columns_with_alias");
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (
+ result_list->direct_aggregate &&
+ (error_num = append_sum_select(str, alias, alias_length))
+ )
+ DBUG_RETURN(error_num);
+#endif
+ if ((error_num = append_match_select(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ if (!spider->select_column_mode)
+ {
+ if (result_list->keyread)
+ DBUG_RETURN(append_key_select_with_alias(
+ str, result_list->key_info, alias, alias_length));
+ else
+ DBUG_RETURN(append_table_select_with_alias(
+ str, alias, alias_length));
+ }
+ DBUG_RETURN(append_minimum_select_with_alias(str, alias, alias_length));
+}
+
+int spider_oracle_handler::append_hint_after_table_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_hint_after_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_hint_after_table(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_hint_after_table(
+ spider_string *str
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_hint_after_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (
+ oracle_share->key_hint &&
+ (error_num = spider_db_append_hint_after_table(spider,
+ str, &oracle_share->key_hint[spider->active_index]))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_RETURN(0);
+}
+
+void spider_oracle_handler::set_where_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::set_where_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ where_pos = sql.length();
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ where_pos = update_sql.length();
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_read_pos = ha_sql.length();
+ break;
+ default:
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_oracle_handler::set_where_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::set_where_to_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ sql.length(where_pos);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ update_sql.length(where_pos);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_sql.length(ha_read_pos);
+ break;
+ default:
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_handler::check_item_type(
+ Item *item
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::check_item_type");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = spider_db_print_item_type(item, spider, NULL, NULL, 0,
+ spider_dbton_oracle.dbton_id);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_values_connector_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_values_connector_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_values_connector(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_values_connector(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_values_connector");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
+ SPIDER_SQL_COMMA_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_values_terminator_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_values_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_values_terminator(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_values_terminator(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_values_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(str->length() -
+ SPIDER_SQL_COMMA_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_union_table_connector_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_union_table_connector_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_table_connector(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_union_table_connector(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_union_table_connector");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_union_table_terminator_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_union_table_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_table_terminator(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_union_table_terminator(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_union_table_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(str->length() -
+ ((SPIDER_SQL_SPACE_LEN * 2) + SPIDER_SQL_UNION_ALL_LEN));
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ table_name_pos = str->length() + SPIDER_SQL_SPACE_LEN + SPIDER_SQL_A_LEN +
+ SPIDER_SQL_COMMA_LEN;
+ if (str->reserve(tmp_sql.length() - SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(tmp_sql.ptr() + SPIDER_SQL_FROM_LEN,
+ tmp_sql.length() - SPIDER_SQL_FROM_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_column_values_part(
+ const key_range *start_key,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_key_column_values_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_column_values(str, start_key);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_column_values(
+ spider_string *str,
+ const key_range *start_key
+) {
+ int error_num;
+ const uchar *ptr;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ SPIDER_SHARE *share = spider->share;
+ KEY *key_info = result_list->key_info;
+ uint length;
+ uint store_length;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ DBUG_ENTER("spider_oracle_handler::append_key_column_values");
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ for (
+ key_part = key_info->key_part,
+ length = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ length += store_length
+ ) {
+ store_length = key_part->store_length;
+ ptr = start_key->key + length;
+ field = key_part->field;
+ if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
+ {
+ if (error_num > 0)
+ DBUG_RETURN(error_num);
+ } else {
+ if (spider_db_oracle_utility.append_column_value(spider, str, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_column_values_with_name_part(
+ const key_range *start_key,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_key_column_values_with_name_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_column_values_with_name(str, start_key);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_column_values_with_name(
+ spider_string *str,
+ const key_range *start_key
+) {
+ int error_num;
+ const uchar *ptr;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ SPIDER_SHARE *share = spider->share;
+ KEY *key_info = result_list->key_info;
+ uint length;
+ uint key_name_length, key_count;
+ uint store_length;
+ key_part_map full_key_part_map =
+ make_prev_keypart_map(spider_user_defined_key_parts(key_info));
+ key_part_map start_key_part_map;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ char tmp_buf[MAX_FIELD_WIDTH];
+ DBUG_ENTER("spider_oracle_handler::append_key_column_values_with_name");
+ start_key_part_map = start_key->keypart_map & full_key_part_map;
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+ DBUG_PRINT("info", ("spider full_key_part_map=%lu", full_key_part_map));
+ DBUG_PRINT("info", ("spider start_key_part_map=%lu", start_key_part_map));
+
+ if (!start_key_part_map)
+ DBUG_RETURN(0);
+
+ for (
+ key_part = key_info->key_part,
+ length = 0,
+ key_count = 0;
+ start_key_part_map;
+ start_key_part_map >>= 1,
+ key_part++,
+ length += store_length,
+ key_count++
+ ) {
+ store_length = key_part->store_length;
+ ptr = start_key->key + length;
+ field = key_part->field;
+ if ((error_num = spider_db_append_null_value(str, key_part, &ptr)))
+ {
+ if (error_num > 0)
+ DBUG_RETURN(error_num);
+ } else {
+ if (spider_db_oracle_utility.append_column_value(spider, str, field, ptr,
+ share->access_charset))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+
+ key_name_length = my_sprintf(tmp_buf, (tmp_buf, "c%u", key_count));
+ if (str->reserve(SPIDER_SQL_SPACE_LEN + key_name_length +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(tmp_buf, key_name_length);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_where_part(
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str, *str_part = NULL, *str_part2 = NULL;
+ bool set_order;
+ DBUG_ENTER("spider_oracle_handler::append_key_where_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ set_order = FALSE;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ set_order = FALSE;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ set_order = FALSE;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ ha_read_pos = str->length();
+ str_part = &sql_part;
+ str_part2 = &sql_part2;
+ str_part->length(0);
+ str_part2->length(0);
+ set_order = TRUE;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_where(str, str_part, str_part2, start_key, end_key,
+ sql_type, set_order);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_where(
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type,
+ bool set_order
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_key_where");
+ error_num = spider_db_append_key_where_internal(str, str_part, str_part2,
+ start_key, end_key, spider, set_order, sql_type,
+ spider_dbton_oracle.dbton_id);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_is_null_part(
+ ulong sql_type,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+) {
+ int error_num;
+ spider_string *str, *str_part = NULL, *str_part2 = NULL;
+ DBUG_ENTER("spider_oracle_handler::append_is_null_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ str_part = &sql_part;
+ str_part2 = &sql_part2;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_is_null(sql_type, str, str_part, str_part2,
+ key_part, key, ptr, key_eq, tgt_final);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_is_null(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+) {
+ DBUG_ENTER("spider_oracle_handler::append_is_null");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (key_part->null_bit)
+ {
+ if (*(*ptr)++)
+ {
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ str = str_part;
+ if (
+ key_eq ||
+ key->flag == HA_READ_KEY_EXACT ||
+ key->flag == HA_READ_KEY_OR_NEXT
+ ) {
+ if (str->reserve(SPIDER_SQL_IS_NULL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
+ } else {
+ str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
+ ha_next_pos = str->length();
+ if (str->reserve(SPIDER_SQL_FIRST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
+ spider->result_list.ha_read_kind = 1;
+ }
+ str = str_part2;
+ }
+ if (
+ key_eq ||
+ key->flag == HA_READ_KEY_EXACT ||
+ key->flag == HA_READ_KEY_OR_NEXT
+ ) {
+ if (str->reserve(SPIDER_SQL_IS_NULL_LEN +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ oracle_share->column_name_str[key_part->field->field_index].length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, key_part->field->field_index);
+ str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_IS_NOT_NULL_LEN +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ oracle_share->column_name_str[key_part->field->field_index].length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, key_part->field->field_index);
+ str->q_append(SPIDER_SQL_IS_NOT_NULL_STR, SPIDER_SQL_IS_NOT_NULL_LEN);
+ }
+ DBUG_RETURN(-1);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_where_terminator_part(
+ ulong sql_type,
+ bool set_order,
+ int key_count
+) {
+ int error_num;
+ spider_string *str, *str_part = NULL, *str_part2 = NULL;
+ DBUG_ENTER("spider_oracle_handler::append_where_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ str_part = &sql_part;
+ str_part2 = &sql_part2;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_where_terminator(sql_type, str, str_part, str_part2,
+ set_order, key_count);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_where_terminator(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ bool set_order,
+ int key_count
+) {
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ DBUG_ENTER("spider_oracle_handler::append_where_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type != SPIDER_SQL_TYPE_HANDLER)
+ {
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+ if (!set_order)
+ result_list->key_order = key_count;
+ } else {
+ str_part2->length(str_part2->length() - SPIDER_SQL_AND_LEN);
+
+ str_part->length(str_part->length() - SPIDER_SQL_COMMA_LEN);
+ if (!result_list->ha_read_kind)
+ str_part->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ if (str->append(*str_part))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ uint clause_length = str->length() - ha_next_pos;
+ if (clause_length < SPIDER_SQL_NEXT_LEN)
+ {
+ int roop_count;
+ clause_length = SPIDER_SQL_NEXT_LEN - clause_length;
+ if (str->reserve(clause_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ for (roop_count = 0; roop_count < (int) clause_length; roop_count++)
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_match_where_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_match_where_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+ }
+ error_num = append_match_where(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_match_where(
+ spider_string *str
+) {
+ int error_num;
+ bool first = TRUE;
+ st_spider_ft_info *ft_info = spider->ft_first;
+ DBUG_ENTER("spider_oracle_handler::append_match_where");
+ if (spider->ft_current)
+ {
+ while (TRUE)
+ {
+ if (ft_info->used_in_where)
+ {
+ if (first)
+ {
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ first = FALSE;
+ }
+ if ((error_num = append_match_against(str, ft_info, NULL, 0)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+
+ if (ft_info == spider->ft_current)
+ break;
+ ft_info = ft_info->next;
+ }
+ if (!first)
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_update_where(
+ spider_string *str,
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+) {
+ uint field_name_length;
+ Field **field;
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_oracle_handler::append_update_where");
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ for (field = table->field; *field; field++)
+ {
+ if (
+ table->s->primary_key == MAX_KEY ||
+ bitmap_is_set(table->read_set, (*field)->field_index)
+ ) {
+ field_name_length =
+ oracle_share->column_name_str[(*field)->field_index].length();
+ if ((*field)->is_null(ptr_diff))
+ {
+ if (str->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_IS_NULL_LEN + SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_IS_NULL_STR, SPIDER_SQL_IS_NULL_LEN);
+ } else {
+ if (str->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_EQUAL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN);
+ (*field)->move_field_offset(ptr_diff);
+ if (
+ spider_db_oracle_utility.
+ append_column_value(spider, str, *field, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_AND_LEN)
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ (*field)->move_field_offset(-ptr_diff);
+ }
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+ }
+/*
+ str->length(str->length() - SPIDER_SQL_AND_LEN);
+*/
+ if (str->reserve(SPIDER_SQL_LIMIT1_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LIMIT1_STR, SPIDER_SQL_LIMIT1_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_condition_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type,
+ bool test_flg
+) {
+ int error_num;
+ spider_string *str;
+ bool start_where = FALSE;
+ DBUG_ENTER("spider_oracle_handler::append_condition_part");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ DBUG_PRINT("info",("spider case1 sql_type=%lu", sql_type));
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &sql;
+ start_where = ((int) str->length() == where_pos);
+ }
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ DBUG_PRINT("info",("spider case1 sql_type=%lu", sql_type));
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &tmp_sql;
+ start_where = ((int) str->length() == where_pos);
+ }
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ DBUG_PRINT("info",("spider case2 sql_type=%lu", sql_type));
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &update_sql;
+ start_where = ((int) str->length() == where_pos);
+ }
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ DBUG_PRINT("info",("spider case3 sql_type=%lu", sql_type));
+ if (test_flg)
+ {
+ str = NULL;
+ } else {
+ str = &ha_sql;
+ start_where = TRUE;
+ if (spider->active_index == MAX_KEY)
+ {
+ set_where_pos(SPIDER_SQL_TYPE_HANDLER);
+ if (str->reserve(SPIDER_SQL_READ_LEN + SPIDER_SQL_FIRST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_READ_STR, SPIDER_SQL_READ_LEN);
+ ha_next_pos = str->length();
+ str->q_append(SPIDER_SQL_FIRST_STR, SPIDER_SQL_FIRST_LEN);
+ sql_part2.length(0);
+ }
+ ha_where_pos = str->length();
+
+ if (sql_part2.length())
+ {
+ str->append(sql_part2);
+ start_where = FALSE;
+ }
+ }
+ break;
+ default:
+ DBUG_PRINT("info",("spider default sql_type=%lu", sql_type));
+ DBUG_RETURN(0);
+ }
+ error_num = append_condition(str, alias, alias_length, start_where,
+ sql_type);
+ DBUG_PRINT("info",("spider str=%s", str ? str->c_ptr_safe() : "NULL"));
+ DBUG_PRINT("info",("spider length=%u", str ? str->length() : 0));
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_condition(
+ spider_string *str,
+ const char *alias,
+ uint alias_length,
+ bool start_where,
+ ulong sql_type
+) {
+ int error_num, restart_pos = 0, start_where_pos;
+ SPIDER_CONDITION *tmp_cond = spider->condition;
+ DBUG_ENTER("spider_oracle_handler::append_condition");
+ DBUG_PRINT("info",("spider str=%p", str));
+ DBUG_PRINT("info",("spider alias=%p", alias));
+ DBUG_PRINT("info",("spider alias_length=%u", alias_length));
+ DBUG_PRINT("info",("spider start_where=%s", start_where ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider sql_type=%lu", sql_type));
+ if (str && start_where)
+ {
+ start_where_pos = str->length();
+ } else {
+ start_where_pos = 0;
+ }
+
+ if (spider->is_clone && !tmp_cond)
+ {
+ tmp_cond = spider->pt_clone_source_handler->condition;
+ }
+
+ while (tmp_cond)
+ {
+ if (str)
+ {
+ restart_pos = str->length();
+ if (start_where)
+ {
+ if (str->reserve(SPIDER_SQL_WHERE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ start_where = FALSE;
+ } else {
+ if (str->reserve(SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ }
+ }
+ if ((error_num = spider_db_print_item_type(
+ (Item *) tmp_cond->cond, spider, str, alias, alias_length,
+ spider_dbton_oracle.dbton_id)))
+ {
+ if (str && error_num == ER_SPIDER_COND_SKIP_NUM)
+ {
+ DBUG_PRINT("info",("spider COND skip"));
+ str->length(restart_pos);
+ start_where = (restart_pos == start_where_pos);
+ } else
+ DBUG_RETURN(error_num);
+ }
+ tmp_cond = tmp_cond->next;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_match_against_part(
+ ulong sql_type,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_match_against_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_match_against(str, ft_info, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_match_against(
+ spider_string *str,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+) {
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ String *ft_init_key;
+ KEY *key_info;
+ uint key_name_length;
+ int key_count;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ DBUG_ENTER("spider_oracle_handler::append_match_against");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_MATCH_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_MATCH_STR, SPIDER_SQL_MATCH_LEN);
+
+ ft_init_key = ft_info->key;
+ key_info = &table->key_info[ft_info->inx];
+ DBUG_PRINT("info", ("spider spider_user_defined_key_parts=%u",
+ spider_user_defined_key_parts(key_info)));
+
+ for (
+ key_part = key_info->key_part,
+ key_count = 0;
+ key_count < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ key_count++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (alias_length)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ } else {
+ if (str->reserve(key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_AGAINST_LEN + SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_AGAINST_STR, SPIDER_SQL_AGAINST_LEN);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+
+ char buf[MAX_FIELD_WIDTH];
+ spider_string tmp_str(buf, MAX_FIELD_WIDTH, share->access_charset);
+ tmp_str.init_calc_mem(211);
+ tmp_str.length(0);
+ if (
+ tmp_str.append(ft_init_key->ptr(), ft_init_key->length(),
+ ft_init_key->charset()) ||
+ str->reserve(tmp_str.length() * 2) ||
+ spider_db_oracle_utility.append_escaped_util(str, tmp_str.get_str())
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+
+ if (str->reserve(
+ SPIDER_SQL_VALUE_QUOTE_LEN + SPIDER_SQL_CLOSE_PAREN_LEN +
+ ((ft_info->flags & FT_BOOL) ? SPIDER_SQL_IN_BOOLEAN_MODE_LEN : 0) +
+ ((ft_info->flags & FT_EXPAND) ?
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN : 0)
+ ))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUE_QUOTE_STR, SPIDER_SQL_VALUE_QUOTE_LEN);
+ if (ft_info->flags & FT_BOOL)
+ str->q_append(SPIDER_SQL_IN_BOOLEAN_MODE_STR,
+ SPIDER_SQL_IN_BOOLEAN_MODE_LEN);
+ if (ft_info->flags & FT_EXPAND)
+ str->q_append(SPIDER_SQL_WITH_QUERY_EXPANSION_STR,
+ SPIDER_SQL_WITH_QUERY_EXPANSION_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_match_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_match_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_match_select(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_match_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_match_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider->ft_current)
+ {
+ st_spider_ft_info *ft_info = spider->ft_first;
+ while (TRUE)
+ {
+ if ((error_num = append_match_against(str, ft_info,
+ alias, alias_length)))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ if (ft_info == spider->ft_current)
+ break;
+ ft_info = ft_info->next;
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_oracle_handler::append_sum_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_sum_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_sum_select(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_sum_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ st_select_lex *select_lex;
+ DBUG_ENTER("spider_oracle_handler::append_sum_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ select_lex = spider_get_select_lex(spider);
+ JOIN *join = select_lex->join;
+ Item_sum **item_sum_ptr;
+ for (item_sum_ptr = join->sum_funcs; *item_sum_ptr; ++item_sum_ptr)
+ {
+ if ((error_num = spider_db_oracle_utility.open_item_sum_func(*item_sum_ptr,
+ spider, str, alias, alias_length)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+void spider_oracle_handler::set_order_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::set_order_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ order_pos = sql.length();
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ order_pos = update_sql.length();
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_next_pos = ha_sql.length();
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_oracle_handler::set_order_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::set_order_to_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ sql.length(order_pos);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ update_sql.length(order_pos);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ ha_sql.length(ha_next_pos);
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+int spider_oracle_handler::append_group_by_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_group_by_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_group_by(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_group_by(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ st_select_lex *select_lex;
+ DBUG_ENTER("spider_oracle_handler::append_group_by");
+ DBUG_PRINT("info",("spider this=%p", this));
+ select_lex = spider_get_select_lex(spider);
+ ORDER *group = (ORDER *) select_lex->group_list.first;
+ if (group)
+ {
+ if (str->reserve(SPIDER_SQL_GROUP_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
+ for (; group; group = group->next)
+ {
+ if ((error_num = spider_db_print_item_type((*group->item), spider, str,
+ alias, alias_length, spider_dbton_oracle.dbton_id)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+#endif
+
+int spider_oracle_handler::append_key_order_for_merge_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_key_order_for_merge_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ ha_limit_pos = ha_sql.length();
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_order_for_merge_with_alias(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_order_for_merge_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ /* sort for index merge */
+ TABLE *table = spider->get_table();
+ int length;
+ Field *field;
+ uint key_name_length;
+ DBUG_ENTER("spider_oracle_handler::append_key_order_for_merge_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (spider->result_list.direct_aggregate)
+ {
+ int error_num;
+ if ((error_num = append_group_by(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+ if (
+ spider->result_list.direct_order_limit ||
+ spider->result_list.internal_limit < 9223372036854775807LL ||
+ spider->result_list.split_read < 9223372036854775807LL ||
+ spider->result_list.internal_offset
+ ) {
+ if (update_rownum_appended || select_rownum_appended)
+ {
+ if (str->reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ order_pos = str->length();
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+ }
+ sql_part.length(0);
+ if (str == &update_sql)
+ {
+ if (sql_part.reserve(str->length() + SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(str->ptr(), where_pos);
+ sql_part.q_append(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR,
+ SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN);
+ } else {
+ if (sql_part.reserve(str->length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
+ SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
+ sql_part.q_append(str->ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
+ }
+ if (table->s->primary_key < MAX_KEY)
+ {
+ /* sort by primary key */
+ KEY *key_info = &table->key_info[table->s->primary_key];
+ KEY_PART_INFO *key_part;
+ for (
+ key_part = key_info->key_part,
+ length = 1;
+ length <= (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (sql_part.reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(alias, alias_length);
+ oracle_share->append_column_name(&sql_part, field->field_index);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ } else {
+ /* sort by all columns */
+ Field **fieldp;
+ for (
+ fieldp = table->field, length = 1;
+ *fieldp;
+ fieldp++, length++
+ ) {
+ key_name_length =
+ oracle_share->column_name_str[(*fieldp)->field_index].length();
+ if (sql_part.reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(alias, alias_length);
+ oracle_share->append_column_name(&sql_part, (*fieldp)->field_index);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ uint pos_diff;
+ if (str == &update_sql)
+ {
+ uint table_name_size = (update_set_pos ? update_set_pos : where_pos) -
+ table_name_pos;
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
+ SPIDER_SQL_FROM_LEN + table_name_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
+ sql_part.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(str->ptr() + table_name_pos, table_name_size);
+ pos_diff = sql_part.length() - where_pos;
+ sql_part.q_append(str->ptr() + where_pos, str->length() - where_pos);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ update_rownum_appended = TRUE;
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
+ SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
+ pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
+ sql_part.q_append(str->ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
+ str->length() - table_name_pos + SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ select_rownum_appended = TRUE;
+ table_name_pos = table_name_pos + pos_diff;
+ }
+ if (str->copy(sql_part))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ where_pos = where_pos + pos_diff;
+ order_pos = str->length();
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+ }
+ if (table->s->primary_key < MAX_KEY)
+ {
+ /* sort by primary key */
+ KEY *key_info = &table->key_info[table->s->primary_key];
+ KEY_PART_INFO *key_part;
+ for (
+ key_part = key_info->key_part,
+ length = 1;
+ length <= (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (length > 1)
+ {
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ } else {
+ /* sort by all columns */
+ Field **fieldp;
+ for (
+ fieldp = table->field, length = 1;
+ *fieldp;
+ fieldp++, length++
+ ) {
+ key_name_length =
+ oracle_share->column_name_str[(*fieldp)->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, (*fieldp)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ if (length > 1)
+ {
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_order_for_direct_order_limit_with_alias(
+ str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ int error_num;
+ ORDER *order;
+ st_select_lex *select_lex;
+ longlong select_limit;
+ longlong offset_limit;
+ DBUG_ENTER("spider_oracle_handler::append_key_order_for_direct_order_limit_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (spider->result_list.direct_aggregate)
+ {
+ if ((error_num = append_group_by(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+ spider_get_select_limit(spider, &select_lex, &select_limit,
+ &offset_limit);
+ if (
+ spider->result_list.direct_order_limit ||
+ spider->result_list.internal_limit < 9223372036854775807LL ||
+ spider->result_list.split_read < 9223372036854775807LL ||
+ spider->result_list.internal_offset
+ ) {
+ if (update_rownum_appended || select_rownum_appended)
+ {
+ if (str->reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ order_pos = str->length();
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+ }
+ sql_part.length(0);
+ if (str == &update_sql)
+ {
+ if (sql_part.reserve(str->length() + SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(str->ptr(), where_pos);
+ sql_part.q_append(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR,
+ SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN);
+ } else {
+ if (sql_part.reserve(str->length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
+ SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
+ sql_part.q_append(str->ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
+ }
+ bool all_desc = TRUE;
+ if (select_lex->order_list.first)
+ {
+ for (order = (ORDER *) select_lex->order_list.first; order;
+ order = order->next)
+ {
+ if ((error_num =
+ spider_db_print_item_type((*order->item), spider, &sql_part, alias,
+ alias_length, spider_dbton_oracle.dbton_id)))
+ {
+ DBUG_PRINT("info",("spider error=%d", error_num));
+ DBUG_RETURN(error_num);
+ }
+ if (order->asc)
+ {
+ if (sql_part.reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ all_desc = FALSE;
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ } else {
+ all_desc = FALSE;
+ }
+ uint pos_diff;
+ if (str == &update_sql)
+ {
+ uint table_name_size = (update_set_pos ? update_set_pos : where_pos) -
+ table_name_pos;
+ if (all_desc)
+ {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
+ SPIDER_SQL_FROM_LEN + table_name_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
+ SPIDER_SQL_FROM_LEN + table_name_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
+ }
+ sql_part.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(str->ptr() + table_name_pos, table_name_size);
+ pos_diff = sql_part.length() - where_pos;
+ sql_part.q_append(str->ptr() + where_pos, str->length() - where_pos);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ update_rownum_appended = TRUE;
+ } else {
+ if (all_desc)
+ {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
+ SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
+ SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
+ }
+ pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
+ sql_part.q_append(str->ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
+ str->length() - table_name_pos + SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ select_rownum_appended = TRUE;
+ table_name_pos = table_name_pos + pos_diff;
+ }
+ if (str->copy(sql_part))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ where_pos = where_pos + pos_diff;
+ order_pos = str->length();
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+ }
+ if (select_lex->order_list.first)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ for (order = (ORDER *) select_lex->order_list.first; order;
+ order = order->next)
+ {
+ if ((error_num =
+ spider_db_print_item_type((*order->item), spider, str, alias,
+ alias_length, spider_dbton_oracle.dbton_id)))
+ {
+ DBUG_PRINT("info",("spider error=%d", error_num));
+ DBUG_RETURN(error_num);
+ }
+ if (order->asc)
+ {
+ if (str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_order_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_key_order_with_alias_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ error_num = append_key_order_for_handler(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_key_order_with_alias(str, alias, alias_length);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_key_order_for_handler(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ DBUG_ENTER("spider_oracle_handler::append_key_order_for_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider ha_next_pos=%d", ha_next_pos));
+ DBUG_PRINT("info",("spider ha_where_pos=%d", ha_where_pos));
+ str->q_append(alias, alias_length);
+ memset((char *) str->ptr() + str->length(), ' ',
+ ha_where_pos - ha_next_pos - alias_length);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_key_order_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+) {
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ KEY *key_info = result_list->key_info;
+ int length;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ uint key_name_length;
+ DBUG_ENTER("spider_oracle_handler::append_key_order_with_alias");
+ DBUG_PRINT("info",("spider this=%p", this));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ if (spider->result_list.direct_aggregate)
+ {
+ int error_num;
+ if ((error_num = append_group_by(str, alias, alias_length)))
+ DBUG_RETURN(error_num);
+ }
+#endif
+ if (
+ spider->result_list.direct_order_limit ||
+ spider->result_list.internal_limit < 9223372036854775807LL ||
+ spider->result_list.split_read < 9223372036854775807LL ||
+ spider->result_list.internal_offset
+ ) {
+ if (update_rownum_appended || select_rownum_appended)
+ {
+ if (str->reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ order_pos = str->length();
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+ }
+ sql_part.length(0);
+ if (str == &update_sql)
+ {
+ if (sql_part.reserve(str->length() + SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(str->ptr(), where_pos);
+ sql_part.q_append(SPIDER_SQL_UPDATE_WRAPPER_HEAD_STR,
+ SPIDER_SQL_UPDATE_WRAPPER_HEAD_LEN);
+ } else {
+ if (sql_part.reserve(str->length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
+ SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
+ sql_part.q_append(str->ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
+ }
+ if (result_list->sorted == TRUE)
+ {
+ if (result_list->desc_flg == TRUE)
+ {
+ for (
+ key_part = key_info->key_part + result_list->key_order,
+ length = 1;
+ length + result_list->key_order <=
+ (int) spider_user_defined_key_parts(key_info) &&
+ length <= result_list->max_order;
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql_part.reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(alias, alias_length);
+ oracle_share->append_column_name(&sql_part, field->field_index);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql_part.reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(alias, alias_length);
+ oracle_share->append_column_name(&sql_part, field->field_index);
+ sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ } else {
+ for (
+ key_part = key_info->key_part + result_list->key_order,
+ length = 1;
+ length + result_list->key_order <=
+ (int) spider_user_defined_key_parts(key_info) &&
+ length <= result_list->max_order;
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql_part.reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(alias, alias_length);
+ oracle_share->append_column_name(&sql_part, field->field_index);
+ sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql_part.reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(alias, alias_length);
+ oracle_share->append_column_name(&sql_part, field->field_index);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ }
+ }
+ uint pos_diff;
+ if (str == &update_sql)
+ {
+ uint table_name_size = (update_set_pos ? update_set_pos : where_pos) -
+ table_name_pos;
+ if (result_list->sorted == TRUE && result_list->desc_flg == TRUE)
+ {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
+ SPIDER_SQL_FROM_LEN + table_name_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - where_pos +
+ SPIDER_SQL_FROM_LEN + table_name_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
+ }
+ sql_part.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(str->ptr() + table_name_pos,
+ table_name_size);
+ pos_diff = sql_part.length() - where_pos;
+ sql_part.q_append(str->ptr() + where_pos, str->length() - where_pos);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ update_rownum_appended = TRUE;
+ } else {
+ if (result_list->sorted == TRUE && result_list->desc_flg == TRUE)
+ {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
+ SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + str->length() - table_name_pos +
+ SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
+ }
+ pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
+ sql_part.q_append(str->ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
+ str->length() - table_name_pos + SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ select_rownum_appended = TRUE;
+ table_name_pos = table_name_pos + pos_diff;
+ }
+ if (str->copy(sql_part))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ where_pos = where_pos + pos_diff;
+ order_pos = str->length();
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+ }
+ if (result_list->sorted == TRUE)
+ {
+ if (result_list->desc_flg == TRUE)
+ {
+ for (
+ key_part = key_info->key_part + result_list->key_order,
+ length = 1;
+ length + result_list->key_order <
+ (int) spider_user_defined_key_parts(key_info) &&
+ length < result_list->max_order;
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if (
+ length + result_list->key_order <=
+ (int) spider_user_defined_key_parts(key_info) &&
+ length <= result_list->max_order
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ }
+ }
+ } else {
+ for (
+ key_part = key_info->key_part + result_list->key_order,
+ length = 1;
+ length + result_list->key_order <
+ (int) spider_user_defined_key_parts(key_info) &&
+ length < result_list->max_order;
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if (
+ length + result_list->key_order <=
+ (int) spider_user_defined_key_parts(key_info) &&
+ length <= result_list->max_order
+ ) {
+ field = key_part->field;
+ key_name_length =
+ oracle_share->column_name_str[field->field_index].length();
+ if (length == 1)
+ {
+ if (str->reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ }
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_DESC_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ str->q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ } else {
+ if (str->reserve(alias_length + key_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(alias, alias_length);
+ oracle_share->append_column_name(str, field->field_index);
+ }
+ }
+ }
+ }
+ limit_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_limit_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ limit_pos = str->length();
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ limit_pos = str->length();
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ limit_pos = str->length();
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ ha_limit_pos = str->length();
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_limit(str, offset, limit);
+ DBUG_PRINT("info",("spider str=%s", str->c_ptr_safe()));
+ DBUG_PRINT("info",("spider length=%u", str->length()));
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::reappend_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::reappend_limit_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ str->length(limit_pos);
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ str->length(limit_pos);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ str->length(limit_pos);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ str->length(ha_limit_pos);
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_limit(str, offset, limit);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_limit(
+ spider_string *str,
+ longlong offset,
+ longlong limit
+) {
+ char buf[SPIDER_LONGLONG_LEN + 1];
+ uint32 length;
+ DBUG_ENTER("spider_oracle_handler::append_limit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info", ("spider offset=%lld", offset));
+ DBUG_PRINT("info", ("spider limit=%lld", limit));
+ if (offset || limit < 9223372036854775807LL)
+ {
+ if ((int) str->length() == where_pos)
+ {
+ if (offset)
+ {
+ int error_num;
+ if ((error_num = append_key_order_for_direct_order_limit_with_alias(
+ str, NULL, 0)))
+ DBUG_RETURN(error_num);
+ } else {
+ if (str->reserve(SPIDER_SQL_WHERE_LEN + SPIDER_SQL_ROWNUM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ str->q_append(SPIDER_SQL_ROWNUM_STR, SPIDER_SQL_ROWNUM_LEN);
+ }
+ }
+ if (offset)
+ {
+ if (str->reserve(SPIDER_SQL_BETWEEN_LEN + SPIDER_SQL_AND_LEN +
+ ((SPIDER_LONGLONG_LEN) * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_BETWEEN_STR, SPIDER_SQL_BETWEEN_LEN);
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset + 1);
+ str->q_append(buf, length);
+ str->q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit + offset);
+ str->q_append(buf, length);
+ } else {
+ if (str->reserve(SPIDER_SQL_HS_LTEQUAL_LEN +
+ (SPIDER_LONGLONG_LEN)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HS_LTEQUAL_STR, SPIDER_SQL_HS_LTEQUAL_LEN);
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
+ str->q_append(buf, length);
+ }
+ if (update_rownum_appended)
+ {
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_select_lock_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_select_lock_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_select_lock(str);
+ DBUG_PRINT("info",("spider str=%s", str->c_ptr_safe()));
+ DBUG_PRINT("info",("spider length=%u", str->length()));
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_select_lock(
+ spider_string *str
+) {
+ int lock_mode = spider_conn_lock_mode(spider);
+ DBUG_ENTER("spider_oracle_handler::append_select_lock");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (select_rownum_appended)
+ {
+ table_lock_mode = lock_mode;
+ } else {
+ if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
+ {
+ if (str->reserve(SPIDER_SQL_FOR_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
+ } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
+ {
+ if (str->reserve(SPIDER_SQL_FOR_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_union_all_start_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_union_all_start_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_all_start(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_union_all_start(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_union_all_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_union_all_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_union_all_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_all(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_union_all(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_union_all");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_UNION_ALL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_UNION_ALL_STR, SPIDER_SQL_UNION_ALL_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_union_all_end_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_union_all_end_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_union_all_end(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_union_all_end(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_union_all_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(str->length() -
+ SPIDER_SQL_UNION_ALL_LEN + SPIDER_SQL_CLOSE_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_multi_range_cnt_part(
+ ulong sql_type,
+ uint multi_range_cnt,
+ bool with_comma
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_multi_range_cnt(str, multi_range_cnt, with_comma);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_multi_range_cnt(
+ spider_string *str,
+ uint multi_range_cnt,
+ bool with_comma
+) {
+ int range_cnt_length;
+ char range_cnt_str[SPIDER_SQL_INT_LEN];
+ DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt");
+ DBUG_PRINT("info",("spider this=%p", this));
+ range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
+ multi_range_cnt));
+ if (with_comma)
+ {
+ if (str->reserve(range_cnt_length + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(range_cnt_str, range_cnt_length);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (str->reserve(range_cnt_length))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(range_cnt_str, range_cnt_length);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_multi_range_cnt_with_name_part(
+ ulong sql_type,
+ uint multi_range_cnt
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt_with_name_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ str = &sql;
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ str = &tmp_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_multi_range_cnt_with_name(str, multi_range_cnt);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_multi_range_cnt_with_name(
+ spider_string *str,
+ uint multi_range_cnt
+) {
+ int range_cnt_length;
+ char range_cnt_str[SPIDER_SQL_INT_LEN];
+ DBUG_ENTER("spider_oracle_handler::append_multi_range_cnt_with_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ range_cnt_length = my_sprintf(range_cnt_str, (range_cnt_str, "%u",
+ multi_range_cnt));
+ if (str->reserve(range_cnt_length + SPIDER_SQL_SPACE_LEN +
+ SPIDER_SQL_ID_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(range_cnt_str, range_cnt_length);
+ str->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ str->q_append(SPIDER_SQL_ID_STR, SPIDER_SQL_ID_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_open_handler_part(
+ ulong sql_type,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_open_handler_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_open_handler(str, handler_id, conn, link_idx);
+ exec_ha_sql = str;
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_open_handler(
+ spider_string *str,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_open_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider link_idx=%d", link_idx));
+ DBUG_PRINT("info",("spider m_handler_cid=%s",
+ spider->m_handler_cid[link_idx]));
+ if (str->reserve(SPIDER_SQL_HANDLER_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
+ if ((error_num = oracle_share->append_table_name(str,
+ spider->conn_link_idx[link_idx])))
+ DBUG_RETURN(error_num);
+ if (str->reserve(SPIDER_SQL_OPEN_LEN + SPIDER_SQL_AS_LEN +
+ SPIDER_SQL_HANDLER_CID_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_OPEN_STR, SPIDER_SQL_OPEN_LEN);
+ str->q_append(SPIDER_SQL_AS_STR, SPIDER_SQL_AS_LEN);
+ str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_close_handler_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_close_handler_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_close_handler(str, link_idx);
+ exec_ha_sql = str;
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_close_handler(
+ spider_string *str,
+ int link_idx
+) {
+ DBUG_ENTER("spider_oracle_handler::append_close_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_HANDLER_LEN + SPIDER_SQL_CLOSE_LEN +
+ SPIDER_SQL_HANDLER_CID_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_HANDLER_STR, SPIDER_SQL_HANDLER_LEN);
+ str->q_append(spider->m_handler_cid[link_idx],
+ SPIDER_SQL_HANDLER_CID_LEN);
+ str->q_append(SPIDER_SQL_CLOSE_STR, SPIDER_SQL_CLOSE_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_insert_terminator_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_insert_terminator_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ str = &insert_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_insert_terminator(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_insert_terminator(
+ spider_string *str
+) {
+ DBUG_ENTER("spider_oracle_handler::append_insert_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider->result_list.insert_dup_update_pushdown)
+ {
+ DBUG_PRINT("info",("spider add duplicate key update"));
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN +
+ dup_update_sql.length()))
+ {
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_DUPLICATE_KEY_UPDATE_STR,
+ SPIDER_SQL_DUPLICATE_KEY_UPDATE_LEN);
+ if (str->append(dup_update_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ } else {
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_insert_values_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_insert_values_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ str = &insert_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_insert_values(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_insert_values(
+ spider_string *str
+) {
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ Field **field;
+ bool add_value = FALSE;
+ DBUG_ENTER("spider_oracle_handler::append_insert_values");
+ DBUG_PRINT("info",("spider this=%p", this));
+ nextval_pos = 0;
+ if (str->reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ DBUG_PRINT("info",("spider field_index=%u", (*field)->field_index));
+ if (
+ bitmap_is_set(table->write_set, (*field)->field_index) ||
+ bitmap_is_set(table->read_set, (*field)->field_index)
+ ) {
+#ifndef DBUG_OFF
+ my_bitmap_map *tmp_map =
+ dbug_tmp_use_all_columns(table, table->read_set);
+#endif
+ add_value = TRUE;
+ DBUG_PRINT("info",("spider is_null()=%s",
+ (*field)->is_null() ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider table->next_number_field=%p",
+ table->next_number_field));
+ DBUG_PRINT("info",("spider *field=%p", *field));
+ DBUG_PRINT("info",("spider force_auto_increment=%s",
+ (table->next_number_field && spider->force_auto_increment) ?
+ "TRUE" : "FALSE"));
+ if (
+ table->next_number_field == *field &&
+ !table->auto_increment_field_not_null &&
+ !spider->force_auto_increment
+ ) {
+ nextval_pos = str->length();
+ if (str->reserve(oracle_share->nextval_max_length +
+ SPIDER_SQL_COMMA_LEN))
+ {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->length(str->length() + oracle_share->nextval_max_length);
+ } else if ((*field)->is_null())
+ {
+ if (str->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
+ {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else {
+ if (
+ spider_db_oracle_utility.
+ append_column_value(spider, str, *field, NULL,
+ share->access_charset) ||
+ str->reserve(SPIDER_SQL_COMMA_LEN)
+ ) {
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ }
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+#ifndef DBUG_OFF
+ dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
+ }
+ }
+ if (add_value)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN + SPIDER_SQL_COMMA_LEN))
+ {
+ str->length(0);
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_into_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_into_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ str = &insert_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_into(str);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_into(
+ spider_string *str
+) {
+ const TABLE *table = spider->get_table();
+ Field **field;
+ uint field_name_length = 0;
+ DBUG_ENTER("spider_oracle_handler::append_into");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_INTO_LEN + oracle_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ insert_table_name_pos = str->length();
+ append_table_name_with_adjusting(str, first_link_idx,
+ SPIDER_SQL_TYPE_INSERT_SQL);
+ str->q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ for (field = table->field; *field; field++)
+ {
+ if (
+ bitmap_is_set(table->write_set, (*field)->field_index) ||
+ bitmap_is_set(table->read_set, (*field)->field_index)
+ ) {
+ field_name_length =
+ oracle_share->column_name_str[(*field)->field_index].length();
+ if (str->reserve(field_name_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 2 + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ oracle_share->append_column_name(str, (*field)->field_index);
+ str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ if (field_name_length)
+ str->length(str->length() - SPIDER_SQL_COMMA_LEN);
+ if (str->reserve(SPIDER_SQL_VALUES_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ insert_pos = str->length();
+ DBUG_RETURN(0);
+}
+
+void spider_oracle_handler::set_insert_to_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::set_insert_to_pos");
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ insert_sql.length(insert_pos);
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_handler::append_from_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_from_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_HANDLER:
+ str = &ha_sql;
+ break;
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ str = &update_sql;
+ break;
+ default:
+ str = &sql;
+ break;
+ }
+ error_num = append_from(str, sql_type, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_from(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_oracle_handler::append_from");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider link_idx=%d", link_idx));
+ if (sql_type == SPIDER_SQL_TYPE_HANDLER)
+ {
+ ha_table_name_pos = str->length();
+ DBUG_PRINT("info",("spider ha_table_name_pos=%u", ha_table_name_pos));
+ ha_sql_handler_id = spider->m_handler_id[link_idx];
+ DBUG_PRINT("info",("spider ha_sql_handler_id=%u", ha_sql_handler_id));
+ if (str->reserve(SPIDER_SQL_HANDLER_CID_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(spider->m_handler_cid[link_idx], SPIDER_SQL_HANDLER_CID_LEN);
+ DBUG_PRINT("info",("spider m_handler_cid=%s",
+ spider->m_handler_cid[link_idx]));
+ } else {
+ if (str->reserve(SPIDER_SQL_FROM_LEN + oracle_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ table_name_pos = str->length();
+ append_table_name_with_adjusting(str, link_idx, sql_type);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_flush_tables_part(
+ ulong sql_type,
+ int link_idx,
+ bool lock
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_flush_tables_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_flush_tables(str, link_idx, lock);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_flush_tables(
+ spider_string *str,
+ int link_idx,
+ bool lock
+) {
+ DBUG_ENTER("spider_oracle_handler::append_flush_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (lock)
+ {
+ if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN +
+ SPIDER_SQL_WITH_READ_LOCK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
+ str->q_append(SPIDER_SQL_WITH_READ_LOCK_STR,
+ SPIDER_SQL_WITH_READ_LOCK_LEN);
+ } else {
+ if (str->reserve(SPIDER_SQL_FLUSH_TABLES_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_FLUSH_TABLES_STR, SPIDER_SQL_FLUSH_TABLES_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_optimize_table_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_optimize_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_optimize_table(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_optimize_table(
+ spider_string *str,
+ int link_idx
+) {
+ SPIDER_SHARE *share = spider->share;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ int local_length = spider_param_internal_optimize_local(spider->trx->thd,
+ share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
+ DBUG_ENTER("spider_oracle_handler::append_optimize_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_OPTIMIZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
+ local_length +
+ oracle_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ oracle_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_OPTIMIZE_STR, SPIDER_SQL_SQL_OPTIMIZE_LEN);
+ if (local_length)
+ str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
+ str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
+ oracle_share->append_table_name(str, conn_link_idx);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_analyze_table_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_analyze_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_analyze_table(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_analyze_table(
+ spider_string *str,
+ int link_idx
+) {
+ SPIDER_SHARE *share = spider->share;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ int local_length = spider_param_internal_optimize_local(spider->trx->thd,
+ share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
+ DBUG_ENTER("spider_oracle_handler::append_analyze_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_ANALYZE_LEN + SPIDER_SQL_SQL_TABLE_LEN +
+ local_length +
+ oracle_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ oracle_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_ANALYZE_STR, SPIDER_SQL_SQL_ANALYZE_LEN);
+ if (local_length)
+ str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
+ str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
+ oracle_share->append_table_name(str, conn_link_idx);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_repair_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_repair_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_repair_table(str, link_idx, check_opt);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_repair_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ SPIDER_SHARE *share = spider->share;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ int local_length = spider_param_internal_optimize_local(spider->trx->thd,
+ share->internal_optimize_local) * SPIDER_SQL_SQL_LOCAL_LEN;
+ DBUG_ENTER("spider_oracle_handler::append_repair_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_REPAIR_LEN + SPIDER_SQL_SQL_TABLE_LEN +
+ local_length +
+ oracle_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ oracle_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_REPAIR_STR, SPIDER_SQL_SQL_REPAIR_LEN);
+ if (local_length)
+ str->q_append(SPIDER_SQL_SQL_LOCAL_STR, SPIDER_SQL_SQL_LOCAL_LEN);
+ str->q_append(SPIDER_SQL_SQL_TABLE_STR, SPIDER_SQL_SQL_TABLE_LEN);
+ oracle_share->append_table_name(str, conn_link_idx);
+ if (check_opt->flags & T_QUICK)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
+ }
+ if (check_opt->flags & T_EXTEND)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
+ }
+ if (check_opt->sql_flags & TT_USEFRM)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_USE_FRM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_USE_FRM_STR, SPIDER_SQL_SQL_USE_FRM_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_check_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_check_table_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_check_table(str, link_idx, check_opt);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_check_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_oracle_handler::append_check_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_CHECK_TABLE_LEN +
+ oracle_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ oracle_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_CHECK_TABLE_STR,
+ SPIDER_SQL_SQL_CHECK_TABLE_LEN);
+ oracle_share->append_table_name(str, conn_link_idx);
+ if (check_opt->flags & T_QUICK)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_QUICK_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_QUICK_STR, SPIDER_SQL_SQL_QUICK_LEN);
+ }
+ if (check_opt->flags & T_FAST)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_FAST_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_FAST_STR, SPIDER_SQL_SQL_FAST_LEN);
+ }
+ if (check_opt->flags & T_MEDIUM)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_MEDIUM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_MEDIUM_STR, SPIDER_SQL_SQL_MEDIUM_LEN);
+ }
+ if (check_opt->flags & T_EXTEND)
+ {
+ if (str->reserve(SPIDER_SQL_SQL_EXTENDED_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_EXTENDED_STR, SPIDER_SQL_SQL_EXTENDED_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_enable_keys_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_enable_keys_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_enable_keys(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_enable_keys(
+ spider_string *str,
+ int link_idx
+) {
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_oracle_handler::append_enable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
+ oracle_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ oracle_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_ENABLE_KEYS_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
+ SPIDER_SQL_SQL_ALTER_TABLE_LEN);
+ oracle_share->append_table_name(str, conn_link_idx);
+ str->q_append(SPIDER_SQL_SQL_ENABLE_KEYS_STR,
+ SPIDER_SQL_SQL_ENABLE_KEYS_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_disable_keys_part(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_disable_keys_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_disable_keys(str, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_disable_keys(
+ spider_string *str,
+ int link_idx
+) {
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_oracle_handler::append_disable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_SQL_ALTER_TABLE_LEN +
+ oracle_share->db_names_str[conn_link_idx].length() +
+ SPIDER_SQL_DOT_LEN +
+ oracle_share->table_names_str[conn_link_idx].length() +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_SQL_DISABLE_KEYS_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_SQL_ALTER_TABLE_STR,
+ SPIDER_SQL_SQL_ALTER_TABLE_LEN);
+ oracle_share->append_table_name(str, conn_link_idx);
+ str->q_append(SPIDER_SQL_SQL_DISABLE_KEYS_STR,
+ SPIDER_SQL_SQL_DISABLE_KEYS_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_delete_all_rows_part(
+ ulong sql_type
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_delete_all_rows_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ str = &update_sql;
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num = append_delete_all_rows(str, sql_type);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_delete_all_rows(
+ spider_string *str,
+ ulong sql_type
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_delete_all_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (spider->sql_command == SQLCOM_TRUNCATE)
+ {
+ if ((error_num = append_truncate(str, sql_type, first_link_idx)))
+ DBUG_RETURN(error_num);
+ } else {
+ if (
+ (error_num = append_delete(str)) ||
+ (error_num = append_from(str, sql_type, first_link_idx))
+ )
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_truncate(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+) {
+ DBUG_ENTER("spider_oracle_handler::append_truncate");
+ if (str->reserve(SPIDER_SQL_TRUNCATE_TABLE_LEN +
+ oracle_share->db_nm_max_length +
+ SPIDER_SQL_DOT_LEN + oracle_share->table_nm_max_length +
+ /* SPIDER_SQL_NAME_QUOTE_LEN */ 4 + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_TRUNCATE_TABLE_STR, SPIDER_SQL_TRUNCATE_TABLE_LEN);
+ table_name_pos = str->length();
+ append_table_name_with_adjusting(str, link_idx, sql_type);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_explain_select_part(
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ spider_string *str;
+ DBUG_ENTER("spider_oracle_handler::append_explain_select_part");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_OTHER_SQL:
+ str = &spider->result_list.sqls[link_idx];
+ break;
+ default:
+ DBUG_RETURN(0);
+ }
+ error_num =
+ append_explain_select(str, start_key, end_key, sql_type, link_idx);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::append_explain_select(
+ spider_string *str,
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::append_explain_select");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (str->reserve(SPIDER_SQL_EXPLAIN_SELECT_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ str->q_append(SPIDER_SQL_EXPLAIN_SELECT_STR, SPIDER_SQL_EXPLAIN_SELECT_LEN);
+ if (
+ (error_num = append_from(str, sql_type, link_idx)) ||
+ (error_num = append_key_where(str, NULL, NULL, start_key, end_key,
+ sql_type, FALSE))
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_oracle_handler::is_bulk_insert_exec_period(
+ bool bulk_end
+) {
+ DBUG_ENTER("spider_oracle_handler::is_bulk_insert_exec_period");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_PRINT("info",("spider insert_sql.length=%u", insert_sql.length()));
+ DBUG_PRINT("info",("spider insert_pos=%d", insert_pos));
+ DBUG_PRINT("info",("spider insert_sql=%s", insert_sql.c_ptr_safe()));
+ if (
+/*
+ (bulk_end || (int) insert_sql.length() >= spider->bulk_size) &&
+*/
+ (int) insert_sql.length() > insert_pos
+ ) {
+ DBUG_RETURN(TRUE);
+ }
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_oracle_handler::sql_is_filled_up(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::sql_is_filled_up");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(filled_up);
+}
+
+bool spider_oracle_handler::sql_is_empty(
+ ulong sql_type
+) {
+ bool is_empty;
+ DBUG_ENTER("spider_oracle_handler::sql_is_empty");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ is_empty = (sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ is_empty = (insert_sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ is_empty = (update_sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ is_empty = (tmp_sql.length() == 0);
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ is_empty = (ha_sql.length() == 0);
+ break;
+ default:
+ is_empty = TRUE;
+ break;
+ }
+ DBUG_RETURN(is_empty);
+}
+
+bool spider_oracle_handler::support_multi_split_read()
+{
+ DBUG_ENTER("spider_oracle_handler::support_multi_split_read");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+bool spider_oracle_handler::support_bulk_update()
+{
+ DBUG_ENTER("spider_oracle_handler::support_bulk_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_oracle_handler::bulk_tmp_table_insert()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = store_sql_to_bulk_tmp_table(&update_sql, upd_tmp_tbl);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::bulk_tmp_table_insert(
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = store_sql_to_bulk_tmp_table(
+ &spider->result_list.update_sqls[link_idx],
+ spider->result_list.upd_tmp_tbls[link_idx]);
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::bulk_tmp_table_end_bulk_insert()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_end_bulk_insert");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((error_num = upd_tmp_tbl->file->ha_end_bulk_insert()))
+ {
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::bulk_tmp_table_rnd_init()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_rnd_init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ upd_tmp_tbl->file->extra(HA_EXTRA_CACHE);
+ if ((error_num = upd_tmp_tbl->file->ha_rnd_init(TRUE)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ reading_from_bulk_tmp_table = TRUE;
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::bulk_tmp_table_rnd_next()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_rnd_next");
+ DBUG_PRINT("info",("spider this=%p", this));
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50200
+ error_num = upd_tmp_tbl->file->ha_rnd_next(upd_tmp_tbl->record[0]);
+#else
+ error_num = upd_tmp_tbl->file->rnd_next(upd_tmp_tbl->record[0]);
+#endif
+ if (!error_num)
+ {
+ error_num = restore_sql_from_bulk_tmp_table(&insert_sql, upd_tmp_tbl);
+ }
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_handler::bulk_tmp_table_rnd_end()
+{
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_rnd_end");
+ DBUG_PRINT("info",("spider this=%p", this));
+ reading_from_bulk_tmp_table = FALSE;
+ if ((error_num = upd_tmp_tbl->file->ha_rnd_end()))
+ {
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+bool spider_oracle_handler::need_copy_for_update(
+ int link_idx
+) {
+ int all_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_oracle_handler::need_copy_for_update");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(!oracle_share->same_db_table_name ||
+ spider->share->link_statuses[all_link_idx] == SPIDER_LINK_STATUS_RECOVERY);
+}
+
+bool spider_oracle_handler::bulk_tmp_table_created()
+{
+ DBUG_ENTER("spider_oracle_handler::bulk_tmp_table_created");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(upd_tmp_tbl);
+}
+
+int spider_oracle_handler::mk_bulk_tmp_table_and_bulk_start()
+{
+ THD *thd = spider->trx->thd;
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_oracle_handler::mk_bulk_tmp_table_and_bulk_start");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!upd_tmp_tbl)
+ {
+ if (!(upd_tmp_tbl = spider_mk_sys_tmp_table(
+ thd, table, &upd_tmp_tbl_prm, "a", update_sql.charset())))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ upd_tmp_tbl->file->extra(HA_EXTRA_WRITE_CACHE);
+ upd_tmp_tbl->file->ha_start_bulk_insert((ha_rows) 0);
+ }
+ DBUG_RETURN(0);
+}
+
+void spider_oracle_handler::rm_bulk_tmp_table()
+{
+ DBUG_ENTER("spider_oracle_handler::rm_bulk_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (upd_tmp_tbl)
+ {
+ spider_rm_sys_tmp_table(spider->trx->thd, upd_tmp_tbl, &upd_tmp_tbl_prm);
+ upd_tmp_tbl = NULL;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_handler::store_sql_to_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::store_sql_to_bulk_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_table->field[0]->set_notnull();
+ tmp_table->field[0]->store(str->ptr(), str->length(), str->charset());
+ if ((error_num = tmp_table->file->ha_write_row(tmp_table->record[0])))
+ DBUG_RETURN(error_num);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::restore_sql_from_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+) {
+ DBUG_ENTER("spider_oracle_handler::restore_sql_from_bulk_tmp_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_table->field[0]->val_str(str->get_str());
+ str->mem_calc();
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::insert_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash2 = &link_for_hash[link_idx];
+ DBUG_ENTER("spider_oracle_handler::insert_lock_tables_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ uint old_elements =
+ db_conn->lock_table_hash.array.max_element;
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ if (my_hash_insert_with_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash2->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash2))
+#else
+ if (my_hash_insert(&db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash2))
+#endif
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (db_conn->lock_table_hash.array.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ db_conn->lock_table_hash,
+ (db_conn->lock_table_hash.array.max_element - old_elements) *
+ db_conn->lock_table_hash.array.size_of_element);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::append_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx,
+ int *appended
+) {
+ int error_num;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash, *tmp_link_for_hash2;
+ int conn_link_idx = spider->conn_link_idx[link_idx];
+ spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
+ DBUG_ENTER("spider_oracle_handler::append_lock_tables_list");
+ DBUG_PRINT("info",("spider this=%p", this));
+ tmp_link_for_hash2 = &link_for_hash[link_idx];
+ tmp_link_for_hash2->db_table_str =
+ &oracle_share->db_table_str[conn_link_idx];
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ tmp_link_for_hash2->db_table_str_hash_value =
+ oracle_share->db_table_str_hash_value[conn_link_idx];
+ if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *)
+ my_hash_search_using_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash2->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
+ tmp_link_for_hash2->db_table_str->length())))
+#else
+ if (!(tmp_link_for_hash = (SPIDER_LINK_FOR_HASH *) my_hash_search(
+ &db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash2->db_table_str->ptr(),
+ tmp_link_for_hash2->db_table_str->length())))
+#endif
+ {
+ if ((error_num = insert_lock_tables_list(conn, link_idx)))
+ DBUG_RETURN(error_num);
+ *appended = 1;
+ } else {
+ if (tmp_link_for_hash->spider->lock_type < spider->lock_type)
+ {
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ my_hash_delete_with_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash);
+#else
+ my_hash_delete(&db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash);
+#endif
+ uint old_elements =
+ db_conn->lock_table_hash.array.max_element;
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ if (my_hash_insert_with_hash_value(
+ &db_conn->lock_table_hash,
+ tmp_link_for_hash2->db_table_str_hash_value,
+ (uchar*) tmp_link_for_hash2))
+#else
+ if (my_hash_insert(&db_conn->lock_table_hash,
+ (uchar*) tmp_link_for_hash2))
+#endif
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (db_conn->lock_table_hash.array.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ db_conn->lock_table_hash,
+ (db_conn->lock_table_hash.array.max_element - old_elements) *
+ db_conn->lock_table_hash.array.size_of_element);
+ }
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::realloc_sql(
+ ulong *realloced
+) {
+ THD *thd = spider->trx->thd;
+ st_spider_share *share = spider->share;
+ int init_sql_alloc_size =
+ spider_param_init_sql_alloc_size(thd, share->init_sql_alloc_size);
+ DBUG_ENTER("spider_oracle_handler::realloc_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if ((int) sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ sql.free();
+ if (sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
+ }
+ if ((int) ha_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ ha_sql.free();
+ if (ha_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_SELECT_SQL;
+ }
+ if ((int) dup_update_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ dup_update_sql.free();
+ if (dup_update_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if ((int) insert_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ insert_sql.free();
+ if (insert_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_INSERT_SQL;
+ }
+ if ((int) update_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ update_sql.free();
+ if (update_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL);
+ }
+ update_sql.length(0);
+ if ((int) tmp_sql.alloced_length() > init_sql_alloc_size * 2)
+ {
+ tmp_sql.free();
+ if (tmp_sql.real_alloc(init_sql_alloc_size))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ *realloced |= SPIDER_SQL_TYPE_TMP_SQL;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::reset_sql(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::reset_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
+ {
+ table_lock_mode = 0;
+ select_rownum_appended = FALSE;
+ sql.length(0);
+ }
+ if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ insert_sql.length(0);
+ }
+ if (sql_type & (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL |
+ SPIDER_SQL_TYPE_BULK_UPDATE_SQL))
+ {
+ update_rownum_appended = FALSE;
+ update_set_pos = 0;
+ update_sql.length(0);
+ }
+ if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
+ {
+ tmp_sql.length(0);
+ }
+ if (sql_type & SPIDER_SQL_TYPE_HANDLER)
+ {
+ ha_sql.length(0);
+ }
+ DBUG_RETURN(0);
+}
+
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+int spider_oracle_handler::reset_keys(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::reset_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::reset_upds(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::reset_upds");
+ DBUG_PRINT("info",("spider this=%p", this));
+ hs_upds.clear();
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::reset_strs(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::reset_strs");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::reset_strs_pos(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::reset_strs_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_ASSERT(0);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::push_back_upds(
+ SPIDER_HS_STRING_REF &info
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_handler::push_back_upds");
+ DBUG_PRINT("info",("spider this=%p", this));
+ error_num = hs_upds.push_back(info);
+ DBUG_RETURN(error_num);
+}
+#endif
+
+bool spider_oracle_handler::need_lock_before_set_sql_for_exec(
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::need_lock_before_set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+int spider_oracle_handler::set_sql_for_exec(
+ ulong sql_type,
+ int link_idx
+) {
+ int error_num;
+ uint tmp_pos;
+ SPIDER_SHARE *share = spider->share;
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ int all_link_idx = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_oracle_handler::set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql_type & (SPIDER_SQL_TYPE_SELECT_SQL | SPIDER_SQL_TYPE_TMP_SQL))
+ {
+ if (table_lock_mode)
+ {
+ spider_string *str = &result_list->insert_sqls[link_idx];
+ str->length(0);
+ if (str->reserve(SPIDER_SQL_LOCK_TABLE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
+ if ((error_num = oracle_share->append_table_name(str, all_link_idx)))
+ DBUG_RETURN(error_num);
+ if (table_lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
+ {
+ if (str->reserve(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR,
+ SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN);
+ } else if (table_lock_mode == SPIDER_LOCK_MODE_SHARED)
+ {
+ if (str->reserve(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ str->q_append(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR,
+ SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN);
+ }
+ exec_lock_sql = str;
+ }
+
+ if (oracle_share->same_db_table_name || link_idx == first_link_idx)
+ {
+ if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
+ exec_sql = &sql;
+ if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
+ exec_tmp_sql = &tmp_sql;
+ } else {
+ char tmp_table_name[MAX_FIELD_WIDTH * 2],
+ tgt_table_name[MAX_FIELD_WIDTH * 2];
+ int tmp_table_name_length;
+ spider_string tgt_table_name_str(tgt_table_name,
+ MAX_FIELD_WIDTH * 2,
+ oracle_share->db_names_str[link_idx].charset());
+ const char *table_names[2], *table_aliases[2];
+ uint table_name_lengths[2], table_alias_lengths[2];
+ tgt_table_name_str.init_calc_mem(212);
+ tgt_table_name_str.length(0);
+ if (result_list->tmp_table_join && spider->bka_mode != 2)
+ {
+ create_tmp_bka_table_name(tmp_table_name, &tmp_table_name_length,
+ link_idx);
+ append_table_name_with_adjusting(&tgt_table_name_str, link_idx,
+ SPIDER_SQL_TYPE_TMP_SQL);
+ table_names[0] = tmp_table_name;
+ table_names[1] = tgt_table_name_str.ptr();
+ table_name_lengths[0] = tmp_table_name_length;
+ table_name_lengths[1] = tgt_table_name_str.length();
+ table_aliases[0] = SPIDER_SQL_A_STR;
+ table_aliases[1] = SPIDER_SQL_B_STR;
+ table_alias_lengths[0] = SPIDER_SQL_A_LEN;
+ table_alias_lengths[1] = SPIDER_SQL_B_LEN;
+ }
+ if (sql_type & SPIDER_SQL_TYPE_SELECT_SQL)
+ {
+ exec_sql = &result_list->sqls[link_idx];
+ if (exec_sql->copy(sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ else if (result_list->use_union)
+ {
+ if ((error_num = reset_union_table_name(exec_sql, link_idx,
+ SPIDER_SQL_TYPE_SELECT_SQL)))
+ DBUG_RETURN(error_num);
+ } else {
+ tmp_pos = exec_sql->length();
+ exec_sql->length(table_name_pos);
+ if (result_list->tmp_table_join && spider->bka_mode != 2)
+ {
+ if ((error_num = spider_db_oracle_utility.append_from_with_alias(
+ exec_sql, table_names, table_name_lengths,
+ table_aliases, table_alias_lengths, 2,
+ &table_name_pos, TRUE))
+ )
+ DBUG_RETURN(error_num);
+ exec_sql->q_append(SPIDER_SQL_SPACE_STR, SPIDER_SQL_SPACE_LEN);
+ } else {
+ append_table_name_with_adjusting(exec_sql, link_idx,
+ SPIDER_SQL_TYPE_SELECT_SQL);
+ }
+ exec_sql->length(tmp_pos);
+ }
+ }
+ if (sql_type & SPIDER_SQL_TYPE_TMP_SQL)
+ {
+ exec_tmp_sql = &result_list->tmp_sqls[link_idx];
+ if (result_list->tmp_table_join && spider->bka_mode != 2)
+ {
+ if (exec_tmp_sql->copy(tmp_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ else {
+ tmp_pos = exec_tmp_sql->length();
+ exec_tmp_sql->length(tmp_sql_pos1);
+ exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
+ exec_tmp_sql->length(tmp_sql_pos2);
+ exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
+ exec_tmp_sql->length(tmp_sql_pos3);
+ exec_tmp_sql->q_append(tmp_table_name, tmp_table_name_length);
+ exec_tmp_sql->length(tmp_pos);
+ }
+ }
+ }
+ }
+ }
+ if (sql_type & SPIDER_SQL_TYPE_INSERT_SQL)
+ {
+ if (oracle_share->same_db_table_name || link_idx == first_link_idx)
+ exec_insert_sql = &insert_sql;
+ else {
+ exec_insert_sql = &result_list->insert_sqls[link_idx];
+ if (exec_insert_sql->copy(insert_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_PRINT("info",("spider exec_insert_sql=%s",
+ exec_insert_sql->c_ptr_safe()));
+ tmp_pos = exec_insert_sql->length();
+ exec_insert_sql->length(insert_table_name_pos);
+ append_table_name_with_adjusting(exec_insert_sql, link_idx,
+ sql_type);
+ exec_insert_sql->length(tmp_pos);
+ DBUG_PRINT("info",("spider exec_insert_sql->length=%u",
+ exec_insert_sql->length()));
+ DBUG_PRINT("info",("spider exec_insert_sql=%s",
+ exec_insert_sql->c_ptr_safe()));
+ }
+ if (nextval_pos)
+ {
+ memcpy((uchar *) exec_insert_sql->ptr() + nextval_pos,
+ oracle_share->nextval_str[all_link_idx].ptr(),
+ oracle_share->nextval_max_length);
+ }
+ }
+ if (sql_type & SPIDER_SQL_TYPE_BULK_UPDATE_SQL)
+ {
+ if (reading_from_bulk_tmp_table)
+ {
+ if (
+ oracle_share->same_db_table_name &&
+ share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
+ ) {
+ exec_update_sql = &insert_sql;
+ } else if (!spider->result_list.upd_tmp_tbls[link_idx])
+ {
+ DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
+ } else {
+ exec_update_sql = &spider->result_list.insert_sqls[link_idx];
+ if ((error_num = restore_sql_from_bulk_tmp_table(exec_update_sql,
+ spider->result_list.upd_tmp_tbls[link_idx])))
+ {
+ DBUG_RETURN(error_num);
+ }
+ }
+ } else {
+ if (
+ oracle_share->same_db_table_name &&
+ share->link_statuses[all_link_idx] != SPIDER_LINK_STATUS_RECOVERY
+ ) {
+ exec_update_sql = &update_sql;
+ } else {
+ exec_update_sql = &spider->result_list.update_sqls[link_idx];
+ }
+ }
+ DBUG_PRINT("info",("spider exec_update_sql=%s",
+ exec_update_sql->c_ptr_safe()));
+ } else if (sql_type &
+ (SPIDER_SQL_TYPE_UPDATE_SQL | SPIDER_SQL_TYPE_DELETE_SQL))
+ {
+ if (oracle_share->same_db_table_name || link_idx == first_link_idx)
+ exec_update_sql = &update_sql;
+ else {
+ exec_update_sql = &spider->result_list.update_sqls[link_idx];
+ if (exec_update_sql->copy(update_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ tmp_pos = exec_update_sql->length();
+ exec_update_sql->length(table_name_pos);
+ append_table_name_with_adjusting(exec_update_sql, link_idx,
+ sql_type);
+ exec_update_sql->length(tmp_pos);
+ }
+ DBUG_PRINT("info",("spider exec_update_sql=%s",
+ exec_update_sql->c_ptr_safe()));
+ }
+ if (sql_type & SPIDER_SQL_TYPE_HANDLER)
+ {
+ if (spider->m_handler_id[link_idx] == ha_sql_handler_id)
+ exec_ha_sql = &ha_sql;
+ else {
+ exec_ha_sql = &result_list->sqls[link_idx];
+ if (exec_ha_sql->copy(ha_sql))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ else {
+ tmp_pos = exec_ha_sql->length();
+ exec_ha_sql->length(ha_table_name_pos);
+ append_table_name_with_adjusting(exec_ha_sql, link_idx,
+ SPIDER_SQL_TYPE_HANDLER);
+ exec_ha_sql->length(tmp_pos);
+ }
+ }
+ DBUG_PRINT("info",("spider exec_ha_sql=%s",
+ exec_ha_sql->c_ptr_safe()));
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::set_sql_for_exec(
+ spider_db_copy_table *tgt_ct,
+ ulong sql_type
+) {
+ spider_oracle_copy_table *oracle_ct = (spider_oracle_copy_table *) tgt_ct;
+ DBUG_ENTER("spider_oracle_handler::set_sql_for_exec");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ exec_insert_sql = &oracle_ct->sql;
+ break;
+ default:
+ DBUG_ASSERT(0);
+ break;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::execute_sql(
+ ulong sql_type,
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+) {
+ spider_string *tgt_sql;
+ uint tgt_length;
+ DBUG_ENTER("spider_oracle_handler::execute_sql");
+ DBUG_PRINT("info",("spider this=%p", this));
+ switch (sql_type)
+ {
+ case SPIDER_SQL_TYPE_SELECT_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
+ tgt_sql = exec_sql;
+ tgt_length = tgt_sql->length();
+ if (table_lock_mode)
+ {
+ DBUG_PRINT("info",("spider table_lock_mode=%d", table_lock_mode));
+ spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
+ db_conn->table_lock_mode = table_lock_mode;
+ db_conn->exec_lock_sql = exec_lock_sql;
+ table_lock_mode = 0;
+ }
+ break;
+ case SPIDER_SQL_TYPE_INSERT_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_SELECT_SQL"));
+ tgt_sql = exec_insert_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ case SPIDER_SQL_TYPE_UPDATE_SQL:
+ case SPIDER_SQL_TYPE_DELETE_SQL:
+ case SPIDER_SQL_TYPE_BULK_UPDATE_SQL:
+ DBUG_PRINT("info",("spider %s",
+ sql_type == SPIDER_SQL_TYPE_UPDATE_SQL ? "SPIDER_SQL_TYPE_UPDATE_SQL" :
+ sql_type == SPIDER_SQL_TYPE_DELETE_SQL ? "SPIDER_SQL_TYPE_DELETE_SQL" :
+ "SPIDER_SQL_TYPE_BULK_UPDATE_SQL"
+ ));
+ tgt_sql = exec_update_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ case SPIDER_SQL_TYPE_TMP_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_TMP_SQL"));
+ tgt_sql = exec_tmp_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ case SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_DROP_TMP_TABLE_SQL"));
+ tgt_sql = exec_tmp_sql;
+ tgt_length = tmp_sql_pos5;
+ break;
+ case SPIDER_SQL_TYPE_HANDLER:
+ DBUG_PRINT("info",("spider SPIDER_SQL_TYPE_HANDLER"));
+ tgt_sql = exec_ha_sql;
+ tgt_length = tgt_sql->length();
+ break;
+ default:
+ /* nothing to do */
+ DBUG_PRINT("info",("spider default"));
+ DBUG_RETURN(0);
+ }
+ DBUG_RETURN(spider_db_query(
+ conn,
+ tgt_sql->ptr(),
+ tgt_length,
+ quick_mode,
+ need_mon
+ ));
+}
+
+int spider_oracle_handler::reset()
+{
+ DBUG_ENTER("spider_oracle_handler::reset");
+ DBUG_PRINT("info",("spider this=%p", this));
+ update_sql.length(0);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::sts_mode_exchange(
+ int sts_mode
+) {
+ DBUG_ENTER("spider_oracle_handler::sts_mode_exchange");
+ DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
+ DBUG_RETURN(1);
+}
+
+int spider_oracle_handler::show_table_status(
+ int link_idx,
+ int sts_mode,
+ uint flag
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_DB_RESULT *res;
+ SPIDER_SHARE *share = spider->share;
+ uint pos = (2 * spider->conn_link_idx[link_idx]);
+ DBUG_ENTER("spider_oracle_handler::show_table_status");
+ DBUG_PRINT("info",("spider sts_mode=%d", sts_mode));
+ if (
+ (flag & HA_STATUS_AUTO) &&
+ (error_num = show_autoinc(link_idx))
+ ) {
+ DBUG_RETURN(error_num);
+ }
+
+ if (sts_mode == 1)
+ {
+/*
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ oracle_share->show_table_status[0 + pos].ptr(),
+ oracle_share->show_table_status[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+*/
+ /* retry */
+/*
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ oracle_share->show_table_status[0 + pos].ptr(),
+ oracle_share->show_table_status[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ DBUG_RETURN(error_num);
+ else {
+ my_printf_error(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM,
+ ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR, MYF(0),
+ oracle_share->db_names_str[spider->conn_link_idx[link_idx]].ptr(),
+ oracle_share->table_names_str[spider->conn_link_idx[
+ link_idx]].ptr());
+ DBUG_RETURN(ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM);
+ }
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_status(
+ sts_mode,
+ share->records,
+ share->mean_rec_length,
+ share->data_file_length,
+ share->max_data_file_length,
+ share->index_file_length,
+ share->auto_increment_value,
+ share->create_time,
+ share->update_time,
+ share->check_time
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ DBUG_RETURN(error_num);
+*/
+ if (!share->records)
+ share->records = 10000;
+ share->mean_rec_length = 65535;
+ share->data_file_length = 65535;
+ share->max_data_file_length = 65535;
+ share->index_file_length = 65535;
+/*
+ share->auto_increment_value = 0;
+*/
+ share->create_time = (time_t) 0;
+ share->update_time = (time_t) 0;
+ share->check_time = (time_t) 0;
+ } else {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ oracle_share->show_table_status[1 + pos].ptr(),
+ oracle_share->show_table_status[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ oracle_share->show_table_status[1 + pos].ptr(),
+ oracle_share->show_table_status[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ DBUG_RETURN(error_num);
+ else
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_status(
+ sts_mode,
+ share->records,
+ share->mean_rec_length,
+ share->data_file_length,
+ share->max_data_file_length,
+ share->index_file_length,
+ share->auto_increment_value,
+ share->create_time,
+ share->update_time,
+ share->check_time
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::crd_mode_exchange(
+ int crd_mode
+) {
+ DBUG_ENTER("spider_oracle_handler::crd_mode_exchange");
+ DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
+ DBUG_RETURN(1);
+}
+
+int spider_oracle_handler::show_index(
+ int link_idx,
+ int crd_mode
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_SHARE *share = spider->share;
+ TABLE *table = spider->get_table();
+ SPIDER_DB_RESULT *res;
+ int roop_count;
+ longlong *tmp_cardinality;
+ uint pos = (2 * spider->conn_link_idx[link_idx]);
+ DBUG_ENTER("spider_oracle_handler::show_index");
+ DBUG_PRINT("info",("spider crd_mode=%d", crd_mode));
+ if (crd_mode == 1)
+ {
+/*
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ oracle_share->show_index[0 + pos].ptr(),
+ oracle_share->show_index[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+*/
+ /* retry */
+/*
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ oracle_share->show_index[0 + pos].ptr(),
+ oracle_share->show_index[0 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+*/
+ /* no record is ok */
+/*
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ if (res)
+ {
+ error_num = res->fetch_table_cardinality(
+ crd_mode,
+ table,
+ share->cardinality,
+ share->cardinality_upd,
+ share->bitmap_size
+ );
+ }
+*/
+ for (roop_count = 0, tmp_cardinality = share->cardinality;
+ roop_count < (int) table->s->fields;
+ roop_count++, tmp_cardinality++)
+ {
+ if (!spider_bit_is_set(share->cardinality_upd, roop_count))
+ {
+ DBUG_PRINT("info",
+ ("spider init column cardinality id=%d", roop_count));
+ *tmp_cardinality = 1;
+ }
+ }
+/*
+ if (res)
+ {
+ res->free_result();
+ delete res;
+ }
+ if (error_num)
+ DBUG_RETURN(error_num);
+*/
+ } else {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ oracle_share->show_index[1 + pos].ptr(),
+ oracle_share->show_index[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ oracle_share->show_index[1 + pos].ptr(),
+ oracle_share->show_index[1 + pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ /* no record is ok */
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ if (res)
+ {
+ error_num = res->fetch_table_cardinality(
+ crd_mode,
+ table,
+ share->cardinality,
+ share->cardinality_upd,
+ share->bitmap_size
+ );
+ }
+ for (roop_count = 0, tmp_cardinality = share->cardinality;
+ roop_count < (int) table->s->fields;
+ roop_count++, tmp_cardinality++)
+ {
+ if (!spider_bit_is_set(share->cardinality_upd, roop_count))
+ {
+ DBUG_PRINT("info",
+ ("spider init column cardinality id=%d", roop_count));
+ *tmp_cardinality = 1;
+ }
+ }
+ if (res)
+ {
+ res->free_result();
+ delete res;
+ }
+ if (error_num)
+ DBUG_RETURN(error_num);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::show_records(
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_DB_RESULT *res;
+ SPIDER_SHARE *share = spider->share;
+ uint pos = spider->conn_link_idx[link_idx];
+ DBUG_ENTER("spider_oracle_handler::show_records");
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ oracle_share->show_records[pos].ptr(),
+ oracle_share->show_records[pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 1", error_num));
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 2", error_num));
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ oracle_share->show_records[pos].ptr(),
+ oracle_share->show_records[pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_PRINT("info", ("spider error_num=%d 3", error_num));
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
+ DBUG_RETURN(error_num);
+ } else {
+ DBUG_PRINT("info", ("spider error_num=%d 6",
+ ER_QUERY_ON_FOREIGN_DATA_SOURCE));
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_records(
+ 1,
+ spider->table_rows
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
+ DBUG_RETURN(error_num);
+ }
+ spider->trx->direct_aggregate_count++;
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::show_autoinc(
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_DB_RESULT *res;
+ SPIDER_SHARE *share = spider->share;
+ uint pos = spider->conn_link_idx[link_idx];
+ ulonglong auto_increment_value;
+ DBUG_ENTER("spider_oracle_handler::show_autoinc");
+ if (!oracle_share->show_autoinc)
+ DBUG_RETURN(0);
+
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ oracle_share->show_autoinc[pos].ptr(),
+ oracle_share->show_autoinc[pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 1", error_num));
+ DBUG_RETURN(error_num);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 2", error_num));
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ oracle_share->show_records[pos].ptr(),
+ oracle_share->show_records[pos].length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_PRINT("info", ("spider error_num=%d 3", error_num));
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ } else {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
+ DBUG_RETURN(error_num);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
+ DBUG_RETURN(error_num);
+ } else {
+ DBUG_PRINT("info", ("spider error_num=%d 6",
+ ER_QUERY_ON_FOREIGN_DATA_SOURCE));
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_records(
+ 1,
+ auto_increment_value
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
+ DBUG_RETURN(error_num);
+ }
+ if (auto_increment_value >= share->auto_increment_value)
+ {
+ share->auto_increment_value = auto_increment_value + 1;
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::show_last_insert_id(
+ int link_idx,
+ ulonglong &last_insert_id
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_DB_RESULT *res;
+ uint pos = spider->conn_link_idx[link_idx];
+ spider_db_oracle *db_oracle = (spider_db_oracle *) conn->db_conn;
+ DBUG_ENTER("spider_oracle_handler::show_last_insert_id");
+ if (!oracle_share->show_last_insert_id)
+ {
+ DBUG_ASSERT(0);
+ last_insert_id = 0;
+ db_oracle->stored_last_insert_id = 0;
+ DBUG_RETURN(0);
+ }
+
+ if (
+ spider_db_query(
+ conn,
+ oracle_share->show_last_insert_id[pos].ptr(),
+ oracle_share->show_last_insert_id[pos].length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ ) {
+ DBUG_PRINT("info", ("spider error_num=%d 4", error_num));
+ DBUG_RETURN(error_num);
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 5", error_num));
+ DBUG_RETURN(error_num);
+ } else {
+ DBUG_PRINT("info", ("spider error_num=%d 6",
+ ER_QUERY_ON_FOREIGN_DATA_SOURCE));
+ DBUG_RETURN(ER_QUERY_ON_FOREIGN_DATA_SOURCE);
+ }
+ }
+ error_num = res->fetch_table_records(
+ 1,
+ last_insert_id
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ DBUG_PRINT("info", ("spider error_num=%d 7", error_num));
+ DBUG_RETURN(error_num);
+ }
+ db_oracle->stored_last_insert_id = last_insert_id;
+ DBUG_RETURN(0);
+}
+
+ha_rows spider_oracle_handler::explain_select(
+ key_range *start_key,
+ key_range *end_key,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ SPIDER_RESULT_LIST *result_list = &spider->result_list;
+ spider_string *str = &result_list->sqls[link_idx];
+ SPIDER_DB_RESULT *res;
+ ha_rows rows;
+ spider_db_handler *dbton_hdl = spider->dbton_handler[conn->dbton_id];
+ DBUG_ENTER("spider_oracle_handler::explain_select");
+ if ((error_num = dbton_hdl->append_explain_select_part(
+ start_key, end_key, SPIDER_SQL_TYPE_OTHER_SQL, link_idx)))
+ {
+ my_errno = error_num;
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ spider_conn_queue_connect_rewrite(spider->share, conn, link_idx);
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ spider->share);
+ if (
+ (error_num = spider_db_set_names(spider, conn, link_idx)) ||
+ (
+ spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx]) &&
+ (error_num = spider_db_errorno(conn))
+ )
+ ) {
+ if (
+ error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM &&
+ !conn->disable_reconnect
+ ) {
+ /* retry */
+ if ((error_num = spider_db_ping(spider, conn, link_idx)))
+ {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ spider->share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ error_num = spider_db_errorno(conn);
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ } else {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ }
+ st_spider_db_request_key request_key;
+ request_key.spider_thread_id = spider->trx->spider_thread_id;
+ request_key.query_id = spider->trx->thd->query_id;
+ request_key.handler = spider;
+ request_key.request_id = 1;
+ request_key.next = NULL;
+ if (!(res = conn->db_conn->store_result(NULL, &request_key, &error_num)))
+ {
+ if (error_num || (error_num = spider_db_errorno(conn)))
+ {
+ if (spider->check_error_mode(error_num))
+ my_errno = error_num;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ } else {
+ my_errno = ER_QUERY_ON_FOREIGN_DATA_SOURCE;
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ error_num = res->fetch_table_records(
+ 2,
+ rows
+ );
+ res->free_result();
+ delete res;
+ if (error_num)
+ {
+ my_errno = error_num;
+ DBUG_RETURN(HA_POS_ERROR);
+ }
+ DBUG_RETURN(rows);
+}
+
+int spider_oracle_handler::lock_tables(
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ spider_string *str = &sql;
+ DBUG_ENTER("spider_oracle_handler::lock_tables");
+ do {
+ str->length(0);
+ if ((error_num = conn->db_conn->append_lock_tables(str)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ if (str->length())
+ {
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ spider->share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ DBUG_RETURN(spider_db_errorno(conn));
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ }
+ if (!conn->table_locked)
+ {
+ conn->table_locked = TRUE;
+ spider->trx->locked_connections++;
+ }
+ } while (str->length());
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::unlock_tables(
+ int link_idx
+) {
+ int error_num;
+ SPIDER_CONN *conn = spider->conns[link_idx];
+ DBUG_ENTER("spider_oracle_handler::unlock_tables");
+ if (conn->table_locked)
+ {
+ if ((error_num = conn->db_conn->commit(&spider->need_mons[link_idx])))
+ {
+ DBUG_RETURN(error_num);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::disable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::disable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_disable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::enable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::enable_keys");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_enable_keys_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::check_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::check_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_check_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx, check_opt)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::repair_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::repair_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_repair_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx, check_opt)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::analyze_table(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::analyze_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_analyze_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::optimize_table(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::optimize_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_optimize_table_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ pthread_mutex_lock(&conn->mta_conn_mutex);
+ SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ conn->need_mon = &spider->need_mons[link_idx];
+ conn->mta_conn_mutex_lock_already = TRUE;
+ conn->mta_conn_mutex_unlock_later = TRUE;
+ if ((error_num = spider_db_set_names(spider, conn, link_idx)))
+ {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ conn->mta_conn_mutex_lock_already = FALSE;
+ conn->mta_conn_mutex_unlock_later = FALSE;
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::flush_tables(
+ SPIDER_CONN *conn,
+ int link_idx,
+ bool lock
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ spider_string *str = &spider->result_list.sqls[link_idx];
+ DBUG_ENTER("spider_oracle_handler::flush_tables");
+ DBUG_PRINT("info",("spider this=%p", this));
+ str->length(0);
+ if ((error_num = append_flush_tables_part(SPIDER_SQL_TYPE_OTHER_HS,
+ link_idx, lock)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ str->ptr(),
+ str->length(),
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::flush_logs(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ int error_num;
+ SPIDER_SHARE *share = spider->share;
+ DBUG_ENTER("spider_oracle_handler::flush_logs");
+ DBUG_PRINT("info",("spider this=%p", this));
+ spider_conn_set_timeout_from_share(conn, link_idx, spider->trx->thd,
+ share);
+ if (spider_db_query(
+ conn,
+ SPIDER_SQL_FLUSH_LOGS_STR,
+ SPIDER_SQL_FLUSH_LOGS_LEN,
+ -1,
+ &spider->need_mons[link_idx])
+ ) {
+ error_num = spider_db_errorno(conn);
+ DBUG_RETURN(error_num);
+ }
+ SPIDER_CLEAR_FILE_POS(&conn->mta_conn_mutex_file_pos);
+ pthread_mutex_unlock(&conn->mta_conn_mutex);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::insert_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash = &link_for_hash[link_idx];
+ DBUG_ASSERT(tmp_link_for_hash->spider == spider);
+ DBUG_ASSERT(tmp_link_for_hash->link_idx == link_idx);
+ uint old_elements = db_conn->handler_open_array.max_element;
+ DBUG_ENTER("spider_oracle_handler::insert_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (insert_dynamic(&db_conn->handler_open_array,
+ (uchar*) &tmp_link_for_hash))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ if (db_conn->handler_open_array.max_element > old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ db_conn->handler_open_array,
+ (db_conn->handler_open_array.max_element - old_elements) *
+ db_conn->handler_open_array.size_of_element);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::delete_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+) {
+ spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
+ uint roop_count, elements = db_conn->handler_open_array.elements;
+ SPIDER_LINK_FOR_HASH *tmp_link_for_hash;
+ DBUG_ENTER("spider_oracle_handler::delete_opened_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (roop_count = 0; roop_count < elements; roop_count++)
+ {
+ get_dynamic(&db_conn->handler_open_array, (uchar *) &tmp_link_for_hash,
+ roop_count);
+ if (tmp_link_for_hash == &link_for_hash[link_idx])
+ {
+ delete_dynamic_element(&db_conn->handler_open_array, roop_count);
+ break;
+ }
+ }
+ DBUG_ASSERT(roop_count < elements);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::sync_from_clone_source(
+ spider_db_handler *dbton_hdl
+) {
+ DBUG_ENTER("spider_oracle_handler::sync_from_clone_source");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+bool spider_oracle_handler::support_use_handler(
+ int use_handler
+) {
+ DBUG_ENTER("spider_oracle_handler::support_use_handler");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(FALSE);
+}
+
+void spider_oracle_handler::minimum_select_bitmap_create()
+{
+ TABLE *table = spider->get_table();
+ Field **field_p;
+ DBUG_ENTER("spider_oracle_handler::minimum_select_bitmap_create");
+ memset(minimum_select_bitmap, 0, no_bytes_in_map(table->read_set));
+ if (
+ spider->has_clone_for_merge ||
+#ifdef HA_CAN_BULK_ACCESS
+ (spider->is_clone && !spider->is_bulk_access_clone)
+#else
+ spider->is_clone
+#endif
+ ) {
+ /* need preparing for cmp_ref */
+ TABLE_SHARE *table_share = table->s;
+ if (
+ table_share->primary_key == MAX_KEY
+ ) {
+ /* need all columns */
+ memset(minimum_select_bitmap, 0xFF, no_bytes_in_map(table->read_set));
+ DBUG_VOID_RETURN;
+ } else {
+ /* need primary key columns */
+ uint roop_count;
+ KEY *key_info;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ key_info = &table_share->key_info[table_share->primary_key];
+ key_part = key_info->key_part;
+ for (roop_count = 0;
+ roop_count < spider_user_defined_key_parts(key_info);
+ roop_count++)
+ {
+ field = key_part[roop_count].field;
+ spider_set_bit(minimum_select_bitmap, field->field_index);
+ }
+ }
+ }
+ for (field_p = table->field; *field_p; field_p++)
+ {
+ uint field_index = (*field_p)->field_index;
+ if (
+ spider_bit_is_set(spider->searched_bitmap, field_index) |
+ bitmap_is_set(table->read_set, field_index) |
+ bitmap_is_set(table->write_set, field_index)
+ ) {
+ spider_set_bit(minimum_select_bitmap, field_index);
+ }
+ }
+ DBUG_VOID_RETURN;
+}
+
+bool spider_oracle_handler::minimum_select_bit_is_set(
+ uint field_index
+) {
+ DBUG_ENTER("spider_oracle_handler::minimum_select_bit_is_set");
+ DBUG_PRINT("info",("spider field_index=%u", field_index));
+ DBUG_PRINT("info",("spider minimum_select_bitmap=%s",
+ spider_bit_is_set(minimum_select_bitmap, field_index) ?
+ "TRUE" : "FALSE"));
+ DBUG_RETURN(spider_bit_is_set(minimum_select_bitmap, field_index));
+}
+
+void spider_oracle_handler::copy_minimum_select_bitmap(
+ uchar *bitmap
+) {
+ int roop_count;
+ TABLE *table = spider->get_table();
+ DBUG_ENTER("spider_oracle_handler::copy_minimum_select_bitmap");
+ for (roop_count = 0;
+ roop_count < (int) ((table->s->fields + 7) / 8);
+ roop_count++)
+ {
+ bitmap[roop_count] =
+ minimum_select_bitmap[roop_count];
+ DBUG_PRINT("info",("spider roop_count=%d", roop_count));
+ DBUG_PRINT("info",("spider bitmap=%d",
+ bitmap[roop_count]));
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_handler::init_union_table_name_pos()
+{
+ DBUG_ENTER("spider_oracle_handler::init_union_table_name_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!union_table_name_pos_first)
+ {
+ if (!spider_bulk_malloc(spider_current_trx, 238, MYF(MY_WME),
+ &union_table_name_pos_first, sizeof(SPIDER_INT_HLD),
+ NullS)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ union_table_name_pos_first->next = NULL;
+ }
+ union_table_name_pos_current = union_table_name_pos_first;
+ union_table_name_pos_current->tgt_num = 0;
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::set_union_table_name_pos()
+{
+ DBUG_ENTER("spider_oracle_handler::set_union_table_name_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (union_table_name_pos_current->tgt_num >= SPIDER_INT_HLD_TGT_SIZE)
+ {
+ if (!union_table_name_pos_current->next)
+ {
+ if (!spider_bulk_malloc(spider_current_trx, 239, MYF(MY_WME),
+ &union_table_name_pos_current->next, sizeof(SPIDER_INT_HLD),
+ NullS)
+ ) {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ union_table_name_pos_current->next->next = NULL;
+ }
+ union_table_name_pos_current = union_table_name_pos_current->next;
+ union_table_name_pos_current->tgt_num = 0;
+ }
+ union_table_name_pos_current->tgt[union_table_name_pos_current->tgt_num] =
+ table_name_pos;
+ ++union_table_name_pos_current->tgt_num;
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_handler::reset_union_table_name(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+) {
+ DBUG_ENTER("spider_oracle_handler::reset_union_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!union_table_name_pos_current)
+ DBUG_RETURN(0);
+
+ SPIDER_INT_HLD *tmp_pos = union_table_name_pos_first;
+ uint cur_num, pos_backup = str->length();
+ while(TRUE)
+ {
+ for (cur_num = 0; cur_num < tmp_pos->tgt_num; ++cur_num)
+ {
+ str->length(tmp_pos->tgt[cur_num]);
+ append_table_name_with_adjusting(str, link_idx, sql_type);
+ }
+ if (tmp_pos == union_table_name_pos_current)
+ break;
+ tmp_pos = tmp_pos->next;
+ }
+ str->length(pos_backup);
+ DBUG_RETURN(0);
+}
+
+spider_oracle_copy_table::spider_oracle_copy_table(
+ spider_oracle_share *db_share
+) : spider_db_copy_table(
+ db_share
+),
+ oracle_share(db_share),
+ pos(0),
+ table_name_pos(0),
+ pos_diff(0),
+ table_lock_mode(0),
+ select_rownum_appended(FALSE),
+ first_str(NULL),
+ current_str(NULL)
+{
+ DBUG_ENTER("spider_oracle_copy_table::spider_oracle_copy_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_VOID_RETURN;
+}
+
+spider_oracle_copy_table::~spider_oracle_copy_table()
+{
+ DBUG_ENTER("spider_oracle_copy_table::~spider_oracle_copy_table");
+ DBUG_PRINT("info",("spider this=%p", this));
+ while (first_str)
+ {
+ current_str = first_str;
+ first_str = first_str->next;
+ delete [] current_str;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_copy_table::init()
+{
+ DBUG_ENTER("spider_oracle_copy_table::init");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.init_calc_mem(213);
+ sql_part.init_calc_mem(215);
+ DBUG_RETURN(0);
+}
+
+void spider_oracle_copy_table::set_sql_charset(
+ CHARSET_INFO *cs
+) {
+ DBUG_ENTER("spider_oracle_copy_table::set_sql_charset");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.set_charset(cs);
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_copy_table::append_select_str()
+{
+ DBUG_ENTER("spider_oracle_copy_table::append_select_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_SELECT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_SELECT_STR, SPIDER_SQL_SELECT_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_insert_str(
+ int insert_flg
+) {
+ DBUG_ENTER("spider_oracle_copy_table::append_insert_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_INSERT_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_INSERT_STR, SPIDER_SQL_INSERT_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_table_columns(
+ TABLE_SHARE *table_share
+) {
+ int error_num;
+ Field **field;
+ DBUG_ENTER("spider_oracle_copy_table::append_table_columns");
+ DBUG_PRINT("info",("spider this=%p", this));
+ for (field = table_share->field; *field; field++)
+ {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) (*field)->field_name, spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_from_str()
+{
+ DBUG_ENTER("spider_oracle_copy_table::append_from_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_FROM_STR, SPIDER_SQL_FROM_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_table_name(
+ int link_idx
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_copy_table::append_table_name");
+ DBUG_PRINT("info",("spider this=%p", this));
+ table_name_pos = sql.length();
+ error_num = oracle_share->append_table_name(&sql, link_idx);
+ store_link_idx = link_idx;
+ DBUG_RETURN(error_num);
+}
+
+void spider_oracle_copy_table::set_sql_pos()
+{
+ DBUG_ENTER("spider_oracle_copy_table::set_sql_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ pos = sql.length();
+ DBUG_VOID_RETURN;
+}
+
+void spider_oracle_copy_table::set_sql_to_pos()
+{
+ DBUG_ENTER("spider_oracle_copy_table::set_sql_to_pos");
+ DBUG_PRINT("info",("spider this=%p", this));
+ sql.length(pos);
+ DBUG_VOID_RETURN;
+}
+
+int spider_oracle_copy_table::append_copy_where(
+ spider_db_copy_table *source_ct,
+ KEY *key_info,
+ ulong *last_row_pos,
+ ulong *last_lengths
+) {
+ int error_num, roop_count, roop_count2;
+ DBUG_ENTER("spider_oracle_copy_table::append_copy_where");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_WHERE_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(SPIDER_SQL_WHERE_STR, SPIDER_SQL_WHERE_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ Field *field;
+ KEY_PART_INFO *key_part = key_info->key_part;
+ for (roop_count = spider_user_defined_key_parts(key_info) - 1;
+ roop_count >= 0; roop_count--)
+ {
+ for (roop_count2 = 0; roop_count2 < roop_count; roop_count2++)
+ {
+ field = key_part[roop_count2].field;
+ if ((error_num = copy_key_row(source_ct,
+ field, &last_row_pos[field->field_index],
+ &last_lengths[field->field_index],
+ SPIDER_SQL_EQUAL_STR, SPIDER_SQL_EQUAL_LEN)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ }
+ field = key_part[roop_count2].field;
+ if ((error_num = copy_key_row(source_ct,
+ field, &last_row_pos[field->field_index],
+ &last_lengths[field->field_index],
+ SPIDER_SQL_GT_STR, SPIDER_SQL_GT_LEN)))
+ {
+ DBUG_RETURN(error_num);
+ }
+ sql.length(sql.length() - SPIDER_SQL_AND_LEN);
+ if (sql.reserve(SPIDER_SQL_CLOSE_PAREN_LEN +
+ SPIDER_SQL_OR_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(SPIDER_SQL_CLOSE_PAREN_STR, SPIDER_SQL_CLOSE_PAREN_LEN);
+ sql.q_append(SPIDER_SQL_OR_STR, SPIDER_SQL_OR_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ }
+ sql.length(sql.length() - SPIDER_SQL_OR_LEN - SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_key_order_str(
+ KEY *key_info,
+ int start_pos,
+ bool desc_flg
+) {
+ int length, error_num;
+ KEY_PART_INFO *key_part;
+ Field *field;
+ DBUG_ENTER("spider_oracle_copy_table::append_key_order_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (select_rownum_appended)
+ {
+ if (sql.reserve(SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+ DBUG_RETURN(0);
+ }
+ sql_part.length(0);
+ if (sql_part.reserve(sql.length() + SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN +
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_HEAD_STR,
+ SPIDER_SQL_SELECT_WRAPPER_HEAD_LEN);
+ sql_part.q_append(sql.ptr(), table_name_pos - SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_HEAD_STR,
+ SPIDER_SQL_ROW_NUMBER_HEAD_LEN);
+ if ((int) spider_user_defined_key_parts(key_info) > start_pos)
+ {
+ if (desc_flg == TRUE)
+ {
+ for (
+ key_part = key_info->key_part + start_pos,
+ length = 0;
+ length + start_pos < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql_part,
+ (char *) field->field_name, spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ } else {
+ for (
+ key_part = key_info->key_part + start_pos,
+ length = 0;
+ length + start_pos < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql_part,
+ (char *) field->field_name, spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
+ SPIDER_SQL_DESC_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql_part.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_NAME_QUOTE_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql_part.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ }
+ }
+ if (desc_flg == TRUE)
+ {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + sql.length() - table_name_pos +
+ SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_DESC_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_DESC_TAIL_LEN);
+ } else {
+ if (sql_part.reserve(SPIDER_SQL_ROW_NUMBER_TAIL_LEN +
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN + sql.length() - table_name_pos +
+ SPIDER_SQL_FROM_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_ROW_NUMBER_TAIL_STR,
+ SPIDER_SQL_ROW_NUMBER_TAIL_LEN);
+ }
+ pos_diff = sql_part.length() + SPIDER_SQL_FROM_LEN - table_name_pos;
+ sql_part.q_append(sql.ptr() + table_name_pos - SPIDER_SQL_FROM_LEN,
+ sql.length() - table_name_pos + SPIDER_SQL_FROM_LEN);
+ sql_part.q_append(SPIDER_SQL_SELECT_WRAPPER_TAIL_STR,
+ SPIDER_SQL_SELECT_WRAPPER_TAIL_LEN);
+
+ if ((int) spider_user_defined_key_parts(key_info) > start_pos)
+ {
+ if (sql.reserve(SPIDER_SQL_ORDER_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_ORDER_STR, SPIDER_SQL_ORDER_LEN);
+ if (desc_flg == TRUE)
+ {
+ for (
+ key_part = key_info->key_part + start_pos,
+ length = 0;
+ length + start_pos < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) field->field_name, spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ } else {
+ for (
+ key_part = key_info->key_part + start_pos,
+ length = 0;
+ length + start_pos < (int) spider_user_defined_key_parts(key_info);
+ key_part++,
+ length++
+ ) {
+ field = key_part->field;
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) field->field_name, spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (key_part->key_part_flag & HA_REVERSE_SORT)
+ {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_DESC_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_DESC_STR, SPIDER_SQL_DESC_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ } else {
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR,
+ SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ }
+ }
+ }
+ sql.length(sql.length() - SPIDER_SQL_COMMA_LEN);
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_limit(
+ longlong offset,
+ longlong limit
+) {
+ char buf[SPIDER_LONGLONG_LEN + 1];
+ uint32 length;
+ DBUG_ENTER("spider_oracle_copy_table::append_limit");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (offset || limit < 9223372036854775807LL)
+ {
+ if (!select_rownum_appended)
+ {
+ select_rownum_appended = TRUE;
+ table_name_pos = table_name_pos + pos_diff;
+ if (sql.copy(sql_part))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ pos = pos + pos_diff;
+ }
+ if (offset)
+ {
+ if (sql.reserve(SPIDER_SQL_BETWEEN_LEN + SPIDER_SQL_AND_LEN +
+ ((SPIDER_LONGLONG_LEN) * 2)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_BETWEEN_STR, SPIDER_SQL_BETWEEN_LEN);
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, offset);
+ sql.q_append(buf, length);
+ sql.q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
+ sql.q_append(buf, length);
+ } else {
+ if (sql.reserve(SPIDER_SQL_HS_LTEQUAL_LEN +
+ (SPIDER_LONGLONG_LEN)))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_HS_LTEQUAL_STR, SPIDER_SQL_HS_LTEQUAL_LEN);
+ length = (uint32) (my_charset_bin.cset->longlong10_to_str)(
+ &my_charset_bin, buf, SPIDER_LONGLONG_LEN + 1, -10, limit);
+ sql.q_append(buf, length);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_into_str()
+{
+ DBUG_ENTER("spider_oracle_copy_table::append_into_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_INTO_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_INTO_STR, SPIDER_SQL_INTO_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_open_paren_str()
+{
+ DBUG_ENTER("spider_oracle_copy_table::append_open_paren_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_values_str()
+{
+ DBUG_ENTER("spider_oracle_copy_table::append_values_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_VALUES_LEN + SPIDER_SQL_OPEN_PAREN_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_VALUES_STR, SPIDER_SQL_VALUES_LEN);
+ sql.q_append(SPIDER_SQL_OPEN_PAREN_STR, SPIDER_SQL_OPEN_PAREN_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_select_lock_str(
+ int lock_mode
+) {
+ DBUG_ENTER("spider_oracle_copy_table::append_select_lock_str");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (select_rownum_appended)
+ {
+ int error_num;
+ table_lock_mode = lock_mode;
+ sql_part.length(0);
+ if (sql_part.reserve(SPIDER_SQL_LOCK_TABLE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_LOCK_TABLE_STR, SPIDER_SQL_LOCK_TABLE_LEN);
+ if ((error_num = oracle_share->append_table_name(&sql_part,
+ store_link_idx)))
+ DBUG_RETURN(error_num);
+ if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
+ {
+ if (sql_part.reserve(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_STR,
+ SPIDER_SQL_LOCK_TABLE_EXCLUSIVE_MODE_LEN);
+ } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
+ {
+ if (sql_part.reserve(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql_part.q_append(SPIDER_SQL_LOCK_TABLE_SHARE_MODE_STR,
+ SPIDER_SQL_LOCK_TABLE_SHARE_MODE_LEN);
+ }
+ } else {
+ if (lock_mode == SPIDER_LOCK_MODE_EXCLUSIVE)
+ {
+ if (sql.reserve(SPIDER_SQL_FOR_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
+ } else if (lock_mode == SPIDER_LOCK_MODE_SHARED)
+ {
+ if (sql.reserve(SPIDER_SQL_FOR_UPDATE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_FOR_UPDATE_STR, SPIDER_SQL_FOR_UPDATE_LEN);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::exec_query(
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+) {
+ int error_num = 0;
+ DBUG_ENTER("spider_oracle_copy_table::exec_query");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (current_str)
+ {
+ spider_string *tmp_str = first_str;
+ while (tmp_str && tmp_str != current_str)
+ {
+ if (
+ (error_num = spider_db_query(conn, tmp_str->ptr(), tmp_str->length(),
+ quick_mode, need_mon)) &&
+ error_num != HA_ERR_FOUND_DUPP_KEY
+ ) {
+ break;
+ }
+ tmp_str = tmp_str->next;
+ }
+ if (tmp_str == current_str)
+ {
+ error_num = spider_db_query(conn, tmp_str->ptr(), tmp_str->length(),
+ quick_mode, need_mon);
+ }
+ if (error_num == HA_ERR_FOUND_DUPP_KEY)
+ error_num = 0;
+ current_str = NULL;
+ } else {
+ if (table_lock_mode)
+ {
+ DBUG_PRINT("info",("spider table_lock_mode=%d", table_lock_mode));
+ spider_db_oracle *db_conn = (spider_db_oracle *) conn->db_conn;
+ db_conn->table_lock_mode = table_lock_mode;
+ db_conn->exec_lock_sql = &sql_part;
+ table_lock_mode = 0;
+ }
+ error_num = spider_db_query(conn, sql.ptr(), sql.length(), quick_mode,
+ need_mon);
+ }
+ DBUG_RETURN(error_num);
+}
+
+int spider_oracle_copy_table::copy_key_row(
+ spider_db_copy_table *source_ct,
+ Field *field,
+ ulong *row_pos,
+ ulong *length,
+ const char *joint_str,
+ const int joint_length
+) {
+ int error_num;
+ spider_string *source_str = &((spider_oracle_copy_table *) source_ct)->sql;
+ DBUG_ENTER("spider_oracle_copy_table::copy_key_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ if ((error_num = spider_db_append_name_with_quote_str(&sql,
+ (char *) field->field_name, spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (sql.reserve(SPIDER_SQL_NAME_QUOTE_LEN + joint_length + *length +
+ SPIDER_SQL_AND_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ sql.q_append(SPIDER_SQL_NAME_QUOTE_STR, SPIDER_SQL_NAME_QUOTE_LEN);
+ sql.q_append(joint_str, joint_length);
+ sql.q_append(source_str->ptr() + *row_pos, *length);
+ sql.q_append(SPIDER_SQL_AND_STR, SPIDER_SQL_AND_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::copy_row(
+ Field *field,
+ SPIDER_DB_ROW *row
+) {
+ int error_num;
+ DBUG_ENTER("spider_oracle_copy_table::copy_row");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (row->is_null())
+ {
+ DBUG_PRINT("info",("spider column is null"));
+ if (current_str->reserve(SPIDER_SQL_NULL_LEN + SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ current_str->q_append(SPIDER_SQL_NULL_STR, SPIDER_SQL_NULL_LEN);
+ } else if (field->str_needs_quotes())
+ {
+ DBUG_PRINT("info",("spider str_needs_quotes"));
+ if (current_str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ current_str->q_append(SPIDER_SQL_VALUE_QUOTE_STR,
+ SPIDER_SQL_VALUE_QUOTE_LEN);
+ if ((error_num = row->append_escaped_to_str(current_str,
+ spider_dbton_oracle.dbton_id)))
+ DBUG_RETURN(error_num);
+ if (current_str->reserve(SPIDER_SQL_VALUE_QUOTE_LEN +
+ SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ current_str->q_append(SPIDER_SQL_VALUE_QUOTE_STR,
+ SPIDER_SQL_VALUE_QUOTE_LEN);
+ } else {
+ DBUG_PRINT("info",("spider without_quotes"));
+ if ((error_num = row->append_to_str(current_str)))
+ DBUG_RETURN(error_num);
+ if (current_str->reserve(SPIDER_SQL_COMMA_LEN))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ current_str->q_append(SPIDER_SQL_COMMA_STR, SPIDER_SQL_COMMA_LEN);
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row,
+ ulong **last_row_pos,
+ ulong **last_lengths
+) {
+ int error_num;
+ Field **field;
+ ulong *lengths2, *row_pos2;
+ DBUG_ENTER("spider_oracle_copy_table::copy_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!current_str)
+ {
+ if (!first_str)
+ {
+ if (!(first_str = new spider_string[1]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ first_str->init_calc_mem(216);
+ first_str->set_charset(sql.charset());
+ if (first_str->reserve(sql.length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ first_str->q_append(sql.ptr(), sql.length());
+ } else {
+ first_str->length(sql.length());
+ }
+ current_str = first_str;
+ } else {
+ if (!current_str->next)
+ {
+ if (!(current_str->next = new spider_string[1]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ current_str->next->init_calc_mem(217);
+ current_str->next->set_charset(sql.charset());
+ if (current_str->next->reserve(sql.length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ current_str->next->q_append(sql.ptr(), sql.length());
+ } else {
+ current_str->next->length(sql.length());
+ }
+ current_str = current_str->next;
+ }
+ row_pos2 = *last_row_pos;
+ lengths2 = *last_lengths;
+
+ for (
+ field = table->field;
+ *field;
+ field++,
+ lengths2++
+ ) {
+ *row_pos2 = current_str->length();
+ if ((error_num =
+ copy_row(*field, row)))
+ DBUG_RETURN(error_num);
+ *lengths2 = current_str->length() - *row_pos2 - SPIDER_SQL_COMMA_LEN;
+ row->next();
+ row_pos2++;
+ }
+ current_str->length(current_str->length() - SPIDER_SQL_COMMA_LEN);
+ if (current_str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ current_str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ DBUG_PRINT("info",("spider current_str=%s", current_str->c_ptr_safe()));
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row
+) {
+ int error_num;
+ Field **field;
+ DBUG_ENTER("spider_oracle_copy_table::copy_rows");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (!current_str)
+ {
+ if (!first_str)
+ {
+ if (!(first_str = new spider_string[1]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ first_str->init_calc_mem(218);
+ first_str->set_charset(sql.charset());
+ if (first_str->reserve(sql.length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ first_str->q_append(sql.ptr(), sql.length());
+ } else {
+ first_str->length(sql.length());
+ }
+ current_str = first_str;
+ } else {
+ if (!current_str->next)
+ {
+ if (!(current_str->next = new spider_string[1]))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ current_str->next->init_calc_mem(219);
+ current_str->next->set_charset(sql.charset());
+ if (current_str->next->reserve(sql.length()))
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ current_str->next->q_append(sql.ptr(), sql.length());
+ } else {
+ current_str->next->length(sql.length());
+ }
+ current_str = current_str->next;
+ }
+
+ for (
+ field = table->field;
+ *field;
+ field++
+ ) {
+ if ((error_num =
+ copy_row(*field, row)))
+ DBUG_RETURN(error_num);
+ row->next();
+ }
+ current_str->length(current_str->length() - SPIDER_SQL_COMMA_LEN);
+ if (current_str->reserve(SPIDER_SQL_CLOSE_PAREN_LEN))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ current_str->q_append(SPIDER_SQL_CLOSE_PAREN_STR,
+ SPIDER_SQL_CLOSE_PAREN_LEN);
+ DBUG_PRINT("info",("spider current_str=%s", current_str->c_ptr_safe()));
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::append_insert_terminator()
+{
+ DBUG_ENTER("spider_oracle_copy_table::append_insert_terminator");
+ DBUG_PRINT("info",("spider this=%p", this));
+ DBUG_RETURN(0);
+}
+
+int spider_oracle_copy_table::copy_insert_values(
+ spider_db_copy_table *source_ct
+) {
+ spider_oracle_copy_table *tmp_ct = (spider_oracle_copy_table *) source_ct;
+ spider_string *source_str = &tmp_ct->sql;
+ int values_length = source_str->length() - tmp_ct->pos;
+ const char *values_ptr = source_str->ptr() + tmp_ct->pos;
+ DBUG_ENTER("spider_oracle_copy_table::copy_insert_values");
+ DBUG_PRINT("info",("spider this=%p", this));
+ if (sql.reserve(values_length))
+ {
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ }
+ sql.q_append(values_ptr, values_length);
+ DBUG_RETURN(0);
+}
+#endif
diff --git a/storage/spider/spd_db_oracle.h b/storage/spider/spd_db_oracle.h
index 7b43b9d5e0b..122effd4762 100644
--- a/storage/spider/spd_db_oracle.h
+++ b/storage/spider/spd_db_oracle.h
@@ -1,1468 +1,1477 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-class spider_db_oracle;
-class spider_db_oracle_result;
-
-class spider_db_oracle_util: public spider_db_util
-{
-public:
- spider_db_oracle_util();
- ~spider_db_oracle_util();
- int append_name(
- spider_string *str,
- const char *name,
- uint name_length
- );
- int append_name_with_charset(
- spider_string *str,
- const char *name,
- uint name_length,
- CHARSET_INFO *name_charset
- );
- bool is_name_quote(
- const char head_code
- );
- int append_escaped_name_quote(
- spider_string *str
- );
- int append_column_value(
- ha_spider *spider,
- spider_string *str,
- Field *field,
- const uchar *new_ptr,
- CHARSET_INFO *access_charset
- );
- int append_from_with_alias(
- spider_string *str,
- const char **table_names,
- uint *table_name_lengths,
- const char **table_aliases,
- uint *table_alias_lengths,
- uint table_count,
- int *table_name_pos,
- bool over_write
- );
- int append_trx_isolation(
- spider_string *str,
- int trx_isolation
- );
- int append_autocommit(
- spider_string *str,
- bool autocommit
- );
- int append_sql_log_off(
- spider_string *str,
- bool sql_log_off
- );
- int append_time_zone(
- spider_string *str,
- Time_zone *time_zone
- );
- int append_start_transaction(
- spider_string *str
- );
- int append_xa_start(
- spider_string *str,
- XID *xid
- );
- int append_lock_table_head(
- spider_string *str
- );
- int append_lock_table_body(
- spider_string *str,
- const char *db_name,
- uint db_name_length,
- CHARSET_INFO *db_name_charset,
- const char *table_name,
- uint table_name_length,
- CHARSET_INFO *table_name_charset,
- int lock_type
- );
- int append_lock_table_tail(
- spider_string *str
- );
- int append_unlock_table(
- spider_string *str
- );
- int open_item_func(
- Item_func *item_func,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int open_item_sum_func(
- Item_sum *item_sum,
- ha_spider *spider,
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#endif
- size_t escape_string(
- char *to,
- const char *from,
- size_t from_length,
- CHARSET_INFO *access_charset
- );
- int append_escaped_util(
- spider_string *to,
- String *from
- );
-};
-
-class spider_db_oracle_row: public spider_db_row
-{
-public:
- spider_db_oracle *db_conn;
- spider_db_oracle_result *result;
- sb2 *ind;
- char **val;
- ub2 *rlen;
- sb2 *ind_first;
- char **val_first;
- ub2 *rlen_first;
- spider_string *val_str;
- spider_string *val_str_first;
- OCIDefine **defnp;
- OCILobLocator **lobhp;
- OCIParam **colhp;
- ub2 *coltp;
- ub2 *colsz;
- uint field_count;
- ulong *row_size;
- ulong *row_size_first;
- CHARSET_INFO *access_charset;
- bool cloned;
- spider_db_oracle_util util;
-
- spider_db_oracle_row();
- ~spider_db_oracle_row();
- int store_to_field(
- Field *field,
- CHARSET_INFO *access_charset
- );
- int append_to_str(
- spider_string *str
- );
- int append_escaped_to_str(
- spider_string *str,
- uint dbton_id
- );
- void first();
- void next();
- bool is_null();
- int val_int();
- double val_real();
- my_decimal *val_decimal(
- my_decimal *decimal_value,
- CHARSET_INFO *access_charset
- );
- SPIDER_DB_ROW *clone();
- int store_to_tmp_table(
- TABLE *tmp_table,
- spider_string *str
- );
- /* for oracle */
- int init();
- void deinit();
- int define();
- int fetch();
-};
-
-class spider_db_oracle_result: public spider_db_result
-{
-public:
- spider_db_oracle *db_conn;
- OCIStmt *stmtp;
- uint field_count;
- CHARSET_INFO *access_charset;
- bool fetched;
- spider_db_oracle_row row;
- int store_error_num;
-
- spider_db_oracle_result();
- ~spider_db_oracle_result();
- bool has_result();
- void free_result();
- SPIDER_DB_ROW *current_row();
- SPIDER_DB_ROW *fetch_row();
- SPIDER_DB_ROW *fetch_row_from_result_buffer(
- spider_db_result_buffer *spider_res_buf
- );
- SPIDER_DB_ROW *fetch_row_from_tmp_table(
- TABLE *tmp_table
- );
- int fetch_table_status(
- int mode,
- ha_rows &records,
- ulong &mean_rec_length,
- ulonglong &data_file_length,
- ulonglong &max_data_file_length,
- ulonglong &index_file_length,
- ulonglong &auto_increment_value,
- time_t &create_time,
- time_t &update_time,
- time_t &check_time
- );
- int fetch_table_records(
- int mode,
- ha_rows &records
- );
- int fetch_table_cardinality(
- int mode,
- TABLE *table,
- longlong *cardinality,
- uchar *cardinality_upd,
- int bitmap_size
- );
- int fetch_table_mon_status(
- int &status
- );
- longlong num_rows();
- uint num_fields();
- void move_to_pos(
- longlong pos
- );
- int get_errno();
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
- int fetch_columns_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
- );
- int fetch_index_for_discover_table_structure(
- spider_string *str,
- CHARSET_INFO *access_charset
- );
-#endif
- /* for oracle */
- int set_column_info();
-};
-
-class spider_db_oracle: public spider_db_conn
-{
-public:
- OCIEnv *envhp;
- OCIError *errhp;
- OCIServer *srvhp;
- OCISvcCtx *svchp;
- OCISession *usrhp;
- OCIStmt *stmtp;
- OCITrans *txnhp;
- spider_db_oracle_result *result;
- int stored_error_num;
- const char *stored_error;
- uint update_rows;
- int table_lock_mode;
- spider_string *exec_lock_sql;
- spider_db_oracle_util util;
- ulonglong stored_last_insert_id;
- HASH lock_table_hash;
- bool lock_table_hash_inited;
- uint lock_table_hash_id;
- const char *lock_table_hash_func_name;
- const char *lock_table_hash_file_name;
- ulong lock_table_hash_line_no;
- DYNAMIC_ARRAY handler_open_array;
- bool handler_open_array_inited;
- uint handler_open_array_id;
- const char *handler_open_array_func_name;
- const char *handler_open_array_file_name;
- ulong handler_open_array_line_no;
-
- /* for bg_connect */
- char stored_error_msg[MYSQL_ERRMSG_SIZE];
- char *tgt_host;
- char *tgt_username;
- char *tgt_password;
- long tgt_port;
- char *tgt_socket;
- char *server_name;
- int connect_retry_count;
- longlong connect_retry_interval;
-
- spider_db_oracle(
- SPIDER_CONN *conn
- );
- ~spider_db_oracle();
- int init();
- bool is_connected();
- void bg_connect();
- int connect(
- char *tgt_host,
- char *tgt_username,
- char *tgt_password,
- long tgt_port,
- char *tgt_socket,
- char *server_name,
- int connect_retry_count,
- longlong connect_retry_interval
- );
- int ping();
- void bg_disconnect();
- void disconnect();
- int set_net_timeout();
- int exec_query(
- const char *query,
- uint length,
- int quick_mode
- );
- int get_errno();
- const char *get_error();
- bool is_server_gone_error(
- int error_num
- );
- bool is_dup_entry_error(
- int error_num
- );
- bool is_xa_nota_error(
- int error_num
- );
- spider_db_result *store_result(
- spider_db_result_buffer **spider_res_buf,
- st_spider_db_request_key *request_key,
- int *error_num
- );
- spider_db_result *use_result(
- st_spider_db_request_key *request_key,
- int *error_num
- );
- int next_result();
- uint affected_rows();
- ulonglong last_insert_id();
- int set_character_set(
- const char *csname
- );
- int select_db(
- const char *dbname
- );
- int consistent_snapshot(
- int *need_mon
- );
- bool trx_start_in_bulk_sql();
- int start_transaction(
- int *need_mon
- );
- int commit(
- int *need_mon
- );
- int rollback(
- int *need_mon
- );
- bool xa_start_in_bulk_sql();
- int xa_start(
- XID *xid,
- int *need_mon
- );
- int xa_end(
- XID *xid,
- int *need_mon
- );
- int xa_prepare(
- XID *xid,
- int *need_mon
- );
- int xa_commit(
- XID *xid,
- int *need_mon
- );
- int xa_rollback(
- XID *xid,
- int *need_mon
- );
- bool set_trx_isolation_in_bulk_sql();
- int set_trx_isolation(
- int trx_isolation,
- int *need_mon
- );
- bool set_autocommit_in_bulk_sql();
- int set_autocommit(
- bool autocommit,
- int *need_mon
- );
- bool set_sql_log_off_in_bulk_sql();
- int set_sql_log_off(
- bool sql_log_off,
- int *need_mon
- );
- bool set_time_zone_in_bulk_sql();
- int set_time_zone(
- Time_zone *time_zone,
- int *need_mon
- );
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- int append_sql(
- char *sql,
- ulong sql_length,
- st_spider_db_request_key *request_key
- );
- int append_open_handler(
- uint handler_id,
- const char *db_name,
- const char *table_name,
- const char *index_name,
- const char *sql,
- st_spider_db_request_key *request_key
- );
- int append_select(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
- );
- int append_insert(
- uint handler_id,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- st_spider_db_request_key *request_key
- );
- int append_update(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- SPIDER_DB_HS_STRING_REF_BUFFER *upds,
- int limit,
- int skip,
- bool increment,
- bool decrement,
- st_spider_db_request_key *request_key
- );
- int append_delete(
- uint handler_id,
- spider_string *sql,
- SPIDER_DB_HS_STRING_REF_BUFFER *keys,
- int limit,
- int skip,
- st_spider_db_request_key *request_key
- );
- void reset_request_queue();
-#endif
- size_t escape_string(
- char *to,
- const char *from,
- size_t from_length
- );
- bool have_lock_table_list();
- int append_lock_tables(
- spider_string *str
- );
- int append_unlock_tables(
- spider_string *str
- );
- uint get_lock_table_hash_count();
- void reset_lock_table_hash();
- uint get_opened_handler_count();
- void reset_opened_handler();
- void set_dup_key_idx(
- ha_spider *spider,
- int link_idx
- );
- bool cmp_request_key_to_snd(
- st_spider_db_request_key *request_key
- );
-private:
- int set_error(
- sword res,
- dvoid *hndlp,
- int error_num,
- const char *error1,
- const char *error2
- );
-};
-
-class spider_oracle_share: public spider_db_share
-{
-public:
- spider_string *table_select;
- int table_select_pos;
- spider_string *key_select;
- int *key_select_pos;
- spider_string *key_hint;
- spider_string *show_table_status;
- spider_string *show_records;
- spider_string *show_autoinc;
- spider_string *show_last_insert_id;
- spider_string *show_index;
- spider_string *table_names_str;
- spider_string *db_names_str;
- spider_string *db_table_str;
- spider_string *nextval_str;
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- my_hash_value_type *db_table_str_hash_value;
-#endif
- uint table_nm_max_length;
- uint db_nm_max_length;
- uint nextval_max_length;
- spider_string *column_name_str;
- bool same_db_table_name;
- int first_all_link_idx;
-
- spider_oracle_share(
- st_spider_share *share
- );
- ~spider_oracle_share();
- int init();
- uint get_column_name_length(
- uint field_index
- );
- int append_column_name(
- spider_string *str,
- uint field_index
- );
- int append_column_name_with_alias(
- spider_string *str,
- uint field_index,
- const char *alias,
- uint alias_length
- );
- int append_table_name(
- spider_string *str,
- int all_link_idx
- );
- int append_table_name_with_adjusting(
- spider_string *str,
- int all_link_idx
- );
- int append_from_with_adjusted_table_name(
- spider_string *str,
- int *table_name_pos
- );
- bool need_change_db_table_name();
-#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
- int discover_table_structure(
- SPIDER_TRX *trx,
- SPIDER_SHARE *spider_share,
- spider_string *str
- );
-#endif
-private:
- int create_table_names_str();
- void free_table_names_str();
- int create_column_name_str();
- void free_column_name_str();
- int convert_key_hint_str();
- int append_show_table_status();
- void free_show_table_status();
- int append_show_records();
- void free_show_records();
- int append_show_autoinc();
- void free_show_autoinc();
- int append_show_last_insert_id();
- void free_show_last_insert_id();
- int append_show_index();
- void free_show_index();
- int append_table_select();
- int append_key_select(
- uint idx
- );
-};
-
-class spider_oracle_handler: public spider_db_handler
-{
- spider_string sql;
- spider_string sql_part;
- spider_string sql_part2;
- spider_string ha_sql;
- int where_pos;
- int order_pos;
- int limit_pos;
- int table_name_pos;
- int update_set_pos;
- int ha_read_pos;
- int ha_next_pos;
- int ha_where_pos;
- int ha_limit_pos;
- int ha_table_name_pos;
- uint ha_sql_handler_id;
- spider_string insert_sql;
- int insert_pos;
- int insert_table_name_pos;
- int nextval_pos;
- spider_string update_sql;
- TABLE *upd_tmp_tbl;
- TMP_TABLE_PARAM upd_tmp_tbl_prm;
- spider_string tmp_sql;
- int tmp_sql_pos1; /* drop db nm pos at tmp_table_join */
- int tmp_sql_pos2; /* create db nm pos at tmp_table_join */
- int tmp_sql_pos3; /* insert db nm pos at tmp_table_join */
- int tmp_sql_pos4; /* insert val pos at tmp_table_join */
- int tmp_sql_pos5; /* end of drop tbl at tmp_table_join */
- spider_string dup_update_sql;
- spider_string *exec_sql;
- spider_string *exec_insert_sql;
- spider_string *exec_update_sql;
- spider_string *exec_tmp_sql;
- spider_string *exec_ha_sql;
- spider_string *exec_lock_sql;
- int table_lock_mode;
- bool reading_from_bulk_tmp_table;
- bool filled_up;
- bool select_rownum_appended;
- bool update_rownum_appended;
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- SPIDER_DB_HS_STRING_REF_BUFFER hs_upds;
-#endif
- SPIDER_INT_HLD *union_table_name_pos_first;
- SPIDER_INT_HLD *union_table_name_pos_current;
-public:
- spider_oracle_share *oracle_share;
- SPIDER_LINK_FOR_HASH *link_for_hash;
- spider_oracle_handler(
- ha_spider *spider,
- spider_oracle_share *share
- );
- ~spider_oracle_handler();
- int init();
- int append_table_name_with_adjusting(
- spider_string *str,
- int link_idx,
- ulong sql_type
- );
- int append_key_column_types(
- const key_range *start_key,
- spider_string *str
- );
- int append_key_join_columns_for_bka(
- const key_range *start_key,
- spider_string *str,
- const char **table_aliases,
- uint *table_alias_lengths
- );
- int append_tmp_table_and_sql_for_bka(
- const key_range *start_key
- );
- int reuse_tmp_table_and_sql_for_bka();
- void create_tmp_bka_table_name(
- char *tmp_table_name,
- int *tmp_table_name_length,
- int link_idx
- );
- int append_create_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- CHARSET_INFO *table_charset
- );
- int append_drop_tmp_bka_table(
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos,
- int *drop_table_end_pos,
- bool with_semicolon
- );
- int append_insert_tmp_bka_table(
- const key_range *start_key,
- spider_string *str,
- char *tmp_table_name,
- int tmp_table_name_length,
- int *db_name_pos
- );
- int append_union_table_and_sql_for_bka(
- const key_range *start_key
- );
- int reuse_union_table_and_sql_for_bka();
- int append_insert_for_recovery(
- ulong sql_type,
- int link_idx
- );
- int append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_update(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
- );
- int append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_delete(
- const TABLE *table,
- my_ptrdiff_t ptr_diff,
- int link_idx
- );
- int append_insert_part();
- int append_insert(
- spider_string *str,
- int link_idx
- );
- int append_update_part();
- int append_update(
- spider_string *str,
- int link_idx
- );
- int append_delete_part();
- int append_delete(
- spider_string *str
- );
- #if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- int append_increment_update_set_part();
- int append_increment_update_set(
- spider_string *str
- );
- #endif
- #endif
- int append_update_set_part();
- int append_update_set(
- spider_string *str
- );
- #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
- int append_direct_update_set_part();
- int append_direct_update_set(
- spider_string *str
- );
- int append_dup_update_pushdown_part(
- const char *alias,
- uint alias_length
- );
- int append_update_columns_part(
- const char *alias,
- uint alias_length
- );
- int check_update_columns_part();
- int append_update_columns(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- #endif
- int append_select_part(
- ulong sql_type
- );
- int append_select(
- spider_string *str,
- ulong sql_type
- );
- int append_table_select_part(
- ulong sql_type
- );
- int append_table_select(
- spider_string *str
- );
- int append_key_select_part(
- ulong sql_type,
- uint idx
- );
- int append_key_select(
- spider_string *str,
- uint idx
- );
- int append_minimum_select_part(
- ulong sql_type
- );
- int append_minimum_select(
- spider_string *str,
- ulong sql_type
- );
- int append_table_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_select_with_alias(
- spider_string *str,
- const KEY *key_info,
- const char *alias,
- uint alias_length
- );
- int append_minimum_select_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_select_columns_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_hint_after_table_part(
- ulong sql_type
- );
- int append_hint_after_table(
- spider_string *str
- );
- void set_where_pos(
- ulong sql_type
- );
- void set_where_to_pos(
- ulong sql_type
- );
- int check_item_type(
- Item *item
- );
- int append_values_connector_part(
- ulong sql_type
- );
- int append_values_connector(
- spider_string *str
- );
- int append_values_terminator_part(
- ulong sql_type
- );
- int append_values_terminator(
- spider_string *str
- );
- int append_union_table_connector_part(
- ulong sql_type
- );
- int append_union_table_connector(
- spider_string *str
- );
- int append_union_table_terminator_part(
- ulong sql_type
- );
- int append_union_table_terminator(
- spider_string *str
- );
- int append_key_column_values_part(
- const key_range *start_key,
- ulong sql_type
- );
- int append_key_column_values(
- spider_string *str,
- const key_range *start_key
- );
- int append_key_column_values_with_name_part(
- const key_range *start_key,
- ulong sql_type
- );
- int append_key_column_values_with_name(
- spider_string *str,
- const key_range *start_key
- );
- int append_key_where_part(
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type
- );
- int append_key_where(
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- const key_range *start_key,
- const key_range *end_key,
- ulong sql_type,
- bool set_order
- );
- int append_is_null_part(
- ulong sql_type,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
- );
- int append_is_null(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- KEY_PART_INFO *key_part,
- const key_range *key,
- const uchar **ptr,
- bool key_eq
- );
- int append_where_terminator_part(
- ulong sql_type,
- bool set_order,
- int key_count
- );
- int append_where_terminator(
- ulong sql_type,
- spider_string *str,
- spider_string *str_part,
- spider_string *str_part2,
- bool set_order,
- int key_count
- );
- int append_match_where_part(
- ulong sql_type
- );
- int append_match_where(
- spider_string *str
- );
- int append_update_where(
- spider_string *str,
- const TABLE *table,
- my_ptrdiff_t ptr_diff
- );
- int append_condition_part(
- const char *alias,
- uint alias_length,
- ulong sql_type,
- bool test_flg
- );
- int append_condition(
- spider_string *str,
- const char *alias,
- uint alias_length,
- bool start_where,
- ulong sql_type
- );
- int append_match_against_part(
- ulong sql_type,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
- );
- int append_match_against(
- spider_string *str,
- st_spider_ft_info *ft_info,
- const char *alias,
- uint alias_length
- );
- int append_match_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
- );
- int append_match_select(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int append_sum_select_part(
- ulong sql_type,
- const char *alias,
- uint alias_length
- );
- int append_sum_select(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#endif
- void set_order_pos(
- ulong sql_type
- );
- void set_order_to_pos(
- ulong sql_type
- );
-#ifdef HANDLER_HAS_DIRECT_AGGREGATE
- int append_group_by(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
-#endif
- int append_key_order_for_merge_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_for_merge_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_order_for_direct_order_limit_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_for_direct_order_limit_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_order_with_alias_part(
- const char *alias,
- uint alias_length,
- ulong sql_type
- );
- int append_key_order_for_handler(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_key_order_with_alias(
- spider_string *str,
- const char *alias,
- uint alias_length
- );
- int append_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
- );
- int reappend_limit_part(
- longlong offset,
- longlong limit,
- ulong sql_type
- );
- int append_limit(
- spider_string *str,
- longlong offset,
- longlong limit
- );
- int append_select_lock_part(
- ulong sql_type
- );
- int append_select_lock(
- spider_string *str
- );
- int append_union_all_start_part(
- ulong sql_type
- );
- int append_union_all_start(
- spider_string *str
- );
- int append_union_all_part(
- ulong sql_type
- );
- int append_union_all(
- spider_string *str
- );
- int append_union_all_end_part(
- ulong sql_type
- );
- int append_union_all_end(
- spider_string *str
- );
- int append_multi_range_cnt_part(
- ulong sql_type,
- uint multi_range_cnt,
- bool with_comma
- );
- int append_multi_range_cnt(
- spider_string *str,
- uint multi_range_cnt,
- bool with_comma
- );
- int append_multi_range_cnt_with_name_part(
- ulong sql_type,
- uint multi_range_cnt
- );
- int append_multi_range_cnt_with_name(
- spider_string *str,
- uint multi_range_cnt
- );
- int append_open_handler_part(
- ulong sql_type,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_open_handler(
- spider_string *str,
- uint handler_id,
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_close_handler_part(
- ulong sql_type,
- int link_idx
- );
- int append_close_handler(
- spider_string *str,
- int link_idx
- );
- int append_insert_terminator_part(
- ulong sql_type
- );
- int append_insert_terminator(
- spider_string *str
- );
- int append_insert_values_part(
- ulong sql_type
- );
- int append_insert_values(
- spider_string *str
- );
- int append_into_part(
- ulong sql_type
- );
- int append_into(
- spider_string *str
- );
- void set_insert_to_pos(
- ulong sql_type
- );
- int append_from_part(
- ulong sql_type,
- int link_idx
- );
- int append_from(
- spider_string *str,
- ulong sql_type,
- int link_idx
- );
- int append_flush_tables_part(
- ulong sql_type,
- int link_idx,
- bool lock
- );
- int append_flush_tables(
- spider_string *str,
- int link_idx,
- bool lock
- );
- int append_optimize_table_part(
- ulong sql_type,
- int link_idx
- );
- int append_optimize_table(
- spider_string *str,
- int link_idx
- );
- int append_analyze_table_part(
- ulong sql_type,
- int link_idx
- );
- int append_analyze_table(
- spider_string *str,
- int link_idx
- );
- int append_repair_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_repair_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_check_table_part(
- ulong sql_type,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_check_table(
- spider_string *str,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int append_enable_keys_part(
- ulong sql_type,
- int link_idx
- );
- int append_enable_keys(
- spider_string *str,
- int link_idx
- );
- int append_disable_keys_part(
- ulong sql_type,
- int link_idx
- );
- int append_disable_keys(
- spider_string *str,
- int link_idx
- );
- int append_delete_all_rows_part(
- ulong sql_type
- );
- int append_delete_all_rows(
- spider_string *str,
- ulong sql_type
- );
- int append_truncate(
- spider_string *str,
- ulong sql_type,
- int link_idx
- );
- int append_explain_select_part(
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
- );
- int append_explain_select(
- spider_string *str,
- key_range *start_key,
- key_range *end_key,
- ulong sql_type,
- int link_idx
- );
- bool is_bulk_insert_exec_period(
- bool bulk_end
- );
- bool sql_is_filled_up(
- ulong sql_type
- );
- bool sql_is_empty(
- ulong sql_type
- );
- bool support_multi_split_read();
- bool support_bulk_update();
- int bulk_tmp_table_insert();
- int bulk_tmp_table_insert(
- int link_idx
- );
- int bulk_tmp_table_end_bulk_insert();
- int bulk_tmp_table_rnd_init();
- int bulk_tmp_table_rnd_next();
- int bulk_tmp_table_rnd_end();
- bool need_copy_for_update(
- int link_idx
- );
- bool bulk_tmp_table_created();
- int mk_bulk_tmp_table_and_bulk_start();
- void rm_bulk_tmp_table();
- int store_sql_to_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
- );
- int restore_sql_from_bulk_tmp_table(
- spider_string *str,
- TABLE *tmp_table
- );
- int insert_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx
- );
- int append_lock_tables_list(
- SPIDER_CONN *conn,
- int link_idx,
- int *appended
- );
- int realloc_sql(
- ulong *realloced
- );
- int reset_sql(
- ulong sql_type
- );
-#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
- int reset_keys(
- ulong sql_type
- );
- int reset_upds(
- ulong sql_type
- );
- int reset_strs(
- ulong sql_type
- );
- int reset_strs_pos(
- ulong sql_type
- );
- int push_back_upds(
- SPIDER_HS_STRING_REF &info
- );
-#endif
- bool need_lock_before_set_sql_for_exec(
- ulong sql_type
- );
- int set_sql_for_exec(
- ulong sql_type,
- int link_idx
- );
- int set_sql_for_exec(
- spider_db_copy_table *tgt_ct,
- ulong sql_type
- );
- int execute_sql(
- ulong sql_type,
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
- );
- int reset();
- int sts_mode_exchange(
- int sts_mode
- );
- int show_table_status(
- int link_idx,
- int sts_mode,
- uint flag
- );
- int crd_mode_exchange(
- int crd_mode
- );
- int show_index(
- int link_idx,
- int crd_mode
- );
- int show_records(
- int link_idx
- );
- int show_autoinc(
- int link_idx
- );
- int show_last_insert_id(
- int link_idx,
- ulonglong &last_insert_id
- );
- ha_rows explain_select(
- key_range *start_key,
- key_range *end_key,
- int link_idx
- );
- int lock_tables(
- int link_idx
- );
- int unlock_tables(
- int link_idx
- );
- int disable_keys(
- SPIDER_CONN *conn,
- int link_idx
- );
- int enable_keys(
- SPIDER_CONN *conn,
- int link_idx
- );
- int check_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int repair_table(
- SPIDER_CONN *conn,
- int link_idx,
- HA_CHECK_OPT* check_opt
- );
- int analyze_table(
- SPIDER_CONN *conn,
- int link_idx
- );
- int optimize_table(
- SPIDER_CONN *conn,
- int link_idx
- );
- int flush_tables(
- SPIDER_CONN *conn,
- int link_idx,
- bool lock
- );
- int flush_logs(
- SPIDER_CONN *conn,
- int link_idx
- );
- int insert_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
- );
- int delete_opened_handler(
- SPIDER_CONN *conn,
- int link_idx
- );
- int sync_from_clone_source(
- spider_db_handler *dbton_hdl
- );
- bool support_use_handler(
- int use_handler
- );
- bool minimum_select_bit_is_set(
- uint field_index
- );
- void copy_minimum_select_bitmap(
- uchar *bitmap
- );
- int init_union_table_name_pos();
- int set_union_table_name_pos();
- int reset_union_table_name(
- spider_string *str,
- int link_idx,
- ulong sql_type
- );
-};
-
-class spider_oracle_copy_table: public spider_db_copy_table
-{
-public:
- spider_oracle_share *oracle_share;
- spider_string sql;
- spider_string sql_part;
- uint pos;
- uint table_name_pos;
- uint pos_diff;
- int table_lock_mode;
- int store_link_idx;
- bool select_rownum_appended;
- spider_string *first_str;
- spider_string *current_str;
- spider_oracle_copy_table(
- spider_oracle_share *db_share
- );
- ~spider_oracle_copy_table();
- int init();
- void set_sql_charset(
- CHARSET_INFO *cs
- );
- int append_select_str();
- int append_insert_str(
- int insert_flg
- );
- int append_table_columns(
- TABLE_SHARE *table_share
- );
- int append_from_str();
- int append_table_name(
- int link_idx
- );
- void set_sql_pos();
- void set_sql_to_pos();
- int append_copy_where(
- spider_db_copy_table *source_ct,
- KEY *key_info,
- ulong *last_row_pos,
- ulong *last_lengths
- );
- int append_key_order_str(
- KEY *key_info,
- int start_pos,
- bool desc_flg
- );
- int append_limit(
- longlong offset,
- longlong limit
- );
- int append_into_str();
- int append_open_paren_str();
- int append_values_str();
- int append_select_lock_str(
- int lock_mode
- );
- int exec_query(
- SPIDER_CONN *conn,
- int quick_mode,
- int *need_mon
- );
- int copy_key_row(
- spider_db_copy_table *source_ct,
- Field *field,
- ulong *row_pos,
- ulong *length,
- const char *joint_str,
- const int joint_length
- );
- int copy_row(
- Field *field,
- SPIDER_DB_ROW *row
- );
- int copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row,
- ulong **last_row_pos,
- ulong **last_lengths
- );
- int copy_rows(
- TABLE *table,
- SPIDER_DB_ROW *row
- );
- int append_insert_terminator();
- int copy_insert_values(
- spider_db_copy_table *source_ct
- );
-};
+/* Copyright (C) 2012-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+class spider_db_oracle;
+class spider_db_oracle_result;
+
+class spider_db_oracle_util: public spider_db_util
+{
+public:
+ spider_db_oracle_util();
+ ~spider_db_oracle_util();
+ int append_name(
+ spider_string *str,
+ const char *name,
+ uint name_length
+ );
+ int append_name_with_charset(
+ spider_string *str,
+ const char *name,
+ uint name_length,
+ CHARSET_INFO *name_charset
+ );
+ bool is_name_quote(
+ const char head_code
+ );
+ int append_escaped_name_quote(
+ spider_string *str
+ );
+ int append_column_value(
+ ha_spider *spider,
+ spider_string *str,
+ Field *field,
+ const uchar *new_ptr,
+ CHARSET_INFO *access_charset
+ );
+ int append_from_with_alias(
+ spider_string *str,
+ const char **table_names,
+ uint *table_name_lengths,
+ const char **table_aliases,
+ uint *table_alias_lengths,
+ uint table_count,
+ int *table_name_pos,
+ bool over_write
+ );
+ int append_trx_isolation(
+ spider_string *str,
+ int trx_isolation
+ );
+ int append_autocommit(
+ spider_string *str,
+ bool autocommit
+ );
+ int append_sql_log_off(
+ spider_string *str,
+ bool sql_log_off
+ );
+ int append_time_zone(
+ spider_string *str,
+ Time_zone *time_zone
+ );
+ int append_start_transaction(
+ spider_string *str
+ );
+ int append_xa_start(
+ spider_string *str,
+ XID *xid
+ );
+ int append_lock_table_head(
+ spider_string *str
+ );
+ int append_lock_table_body(
+ spider_string *str,
+ const char *db_name,
+ uint db_name_length,
+ CHARSET_INFO *db_name_charset,
+ const char *table_name,
+ uint table_name_length,
+ CHARSET_INFO *table_name_charset,
+ int lock_type
+ );
+ int append_lock_table_tail(
+ spider_string *str
+ );
+ int append_unlock_table(
+ spider_string *str
+ );
+ int open_item_func(
+ Item_func *item_func,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int open_item_sum_func(
+ Item_sum *item_sum,
+ ha_spider *spider,
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ size_t escape_string(
+ char *to,
+ const char *from,
+ size_t from_length,
+ CHARSET_INFO *access_charset
+ );
+ int append_escaped_util(
+ spider_string *to,
+ String *from
+ );
+};
+
+class spider_db_oracle_row: public spider_db_row
+{
+public:
+ spider_db_oracle *db_conn;
+ spider_db_oracle_result *result;
+ sb2 *ind;
+ char **val;
+ ub2 *rlen;
+ sb2 *ind_first;
+ char **val_first;
+ ub2 *rlen_first;
+ spider_string *val_str;
+ spider_string *val_str_first;
+ OCIDefine **defnp;
+ OCILobLocator **lobhp;
+ OCIParam **colhp;
+ ub2 *coltp;
+ ub2 *colsz;
+ uint field_count;
+ ulong *row_size;
+ ulong *row_size_first;
+ CHARSET_INFO *access_charset;
+ bool cloned;
+ spider_db_oracle_util util;
+
+ spider_db_oracle_row();
+ ~spider_db_oracle_row();
+ int store_to_field(
+ Field *field,
+ CHARSET_INFO *access_charset
+ );
+ int append_to_str(
+ spider_string *str
+ );
+ int append_escaped_to_str(
+ spider_string *str,
+ uint dbton_id
+ );
+ void first();
+ void next();
+ bool is_null();
+ int val_int();
+ double val_real();
+ my_decimal *val_decimal(
+ my_decimal *decimal_value,
+ CHARSET_INFO *access_charset
+ );
+ SPIDER_DB_ROW *clone();
+ int store_to_tmp_table(
+ TABLE *tmp_table,
+ spider_string *str
+ );
+ /* for oracle */
+ int init();
+ void deinit();
+ int define();
+ int fetch();
+};
+
+class spider_db_oracle_result: public spider_db_result
+{
+public:
+ spider_db_oracle *db_conn;
+ OCIStmt *stmtp;
+ uint field_count;
+ CHARSET_INFO *access_charset;
+ bool fetched;
+ spider_db_oracle_row row;
+ int store_error_num;
+
+ spider_db_oracle_result();
+ ~spider_db_oracle_result();
+ bool has_result();
+ void free_result();
+ SPIDER_DB_ROW *current_row();
+ SPIDER_DB_ROW *fetch_row();
+ SPIDER_DB_ROW *fetch_row_from_result_buffer(
+ spider_db_result_buffer *spider_res_buf
+ );
+ SPIDER_DB_ROW *fetch_row_from_tmp_table(
+ TABLE *tmp_table
+ );
+ int fetch_table_status(
+ int mode,
+ ha_rows &records,
+ ulong &mean_rec_length,
+ ulonglong &data_file_length,
+ ulonglong &max_data_file_length,
+ ulonglong &index_file_length,
+ ulonglong &auto_increment_value,
+ time_t &create_time,
+ time_t &update_time,
+ time_t &check_time
+ );
+ int fetch_table_records(
+ int mode,
+ ha_rows &records
+ );
+ int fetch_table_cardinality(
+ int mode,
+ TABLE *table,
+ longlong *cardinality,
+ uchar *cardinality_upd,
+ int bitmap_size
+ );
+ int fetch_table_mon_status(
+ int &status
+ );
+ longlong num_rows();
+ uint num_fields();
+ void move_to_pos(
+ longlong pos
+ );
+ int get_errno();
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+ int fetch_columns_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+ );
+ int fetch_index_for_discover_table_structure(
+ spider_string *str,
+ CHARSET_INFO *access_charset
+ );
+#endif
+ /* for oracle */
+ int set_column_info();
+};
+
+class spider_db_oracle: public spider_db_conn
+{
+public:
+ OCIEnv *envhp;
+ OCIError *errhp;
+ OCIServer *srvhp;
+ OCISvcCtx *svchp;
+ OCISession *usrhp;
+ OCIStmt *stmtp;
+ OCITrans *txnhp;
+ spider_db_oracle_result *result;
+ int stored_error_num;
+ const char *stored_error;
+ uint update_rows;
+ int table_lock_mode;
+ spider_string *exec_lock_sql;
+ spider_db_oracle_util util;
+ ulonglong stored_last_insert_id;
+ HASH lock_table_hash;
+ bool lock_table_hash_inited;
+ uint lock_table_hash_id;
+ const char *lock_table_hash_func_name;
+ const char *lock_table_hash_file_name;
+ ulong lock_table_hash_line_no;
+ DYNAMIC_ARRAY handler_open_array;
+ bool handler_open_array_inited;
+ uint handler_open_array_id;
+ const char *handler_open_array_func_name;
+ const char *handler_open_array_file_name;
+ ulong handler_open_array_line_no;
+
+ /* for bg_connect */
+ char stored_error_msg[MYSQL_ERRMSG_SIZE];
+ char *tgt_host;
+ char *tgt_username;
+ char *tgt_password;
+ long tgt_port;
+ char *tgt_socket;
+ char *server_name;
+ int connect_retry_count;
+ longlong connect_retry_interval;
+
+ spider_db_oracle(
+ SPIDER_CONN *conn
+ );
+ ~spider_db_oracle();
+ int init();
+ bool is_connected();
+ void bg_connect();
+ int connect(
+ char *tgt_host,
+ char *tgt_username,
+ char *tgt_password,
+ long tgt_port,
+ char *tgt_socket,
+ char *server_name,
+ int connect_retry_count,
+ longlong connect_retry_interval
+ );
+ int ping();
+ void bg_disconnect();
+ void disconnect();
+ int set_net_timeout();
+ int exec_query(
+ const char *query,
+ uint length,
+ int quick_mode
+ );
+ int get_errno();
+ const char *get_error();
+ bool is_server_gone_error(
+ int error_num
+ );
+ bool is_dup_entry_error(
+ int error_num
+ );
+ bool is_xa_nota_error(
+ int error_num
+ );
+ spider_db_result *store_result(
+ spider_db_result_buffer **spider_res_buf,
+ st_spider_db_request_key *request_key,
+ int *error_num
+ );
+ spider_db_result *use_result(
+ st_spider_db_request_key *request_key,
+ int *error_num
+ );
+ int next_result();
+ uint affected_rows();
+ ulonglong last_insert_id();
+ int set_character_set(
+ const char *csname
+ );
+ int select_db(
+ const char *dbname
+ );
+ int consistent_snapshot(
+ int *need_mon
+ );
+ bool trx_start_in_bulk_sql();
+ int start_transaction(
+ int *need_mon
+ );
+ int commit(
+ int *need_mon
+ );
+ int rollback(
+ int *need_mon
+ );
+ bool xa_start_in_bulk_sql();
+ int xa_start(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_end(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_prepare(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_commit(
+ XID *xid,
+ int *need_mon
+ );
+ int xa_rollback(
+ XID *xid,
+ int *need_mon
+ );
+ bool set_trx_isolation_in_bulk_sql();
+ int set_trx_isolation(
+ int trx_isolation,
+ int *need_mon
+ );
+ bool set_autocommit_in_bulk_sql();
+ int set_autocommit(
+ bool autocommit,
+ int *need_mon
+ );
+ bool set_sql_log_off_in_bulk_sql();
+ int set_sql_log_off(
+ bool sql_log_off,
+ int *need_mon
+ );
+ bool set_time_zone_in_bulk_sql();
+ int set_time_zone(
+ Time_zone *time_zone,
+ int *need_mon
+ );
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ int append_sql(
+ char *sql,
+ ulong sql_length,
+ st_spider_db_request_key *request_key
+ );
+ int append_open_handler(
+ uint handler_id,
+ const char *db_name,
+ const char *table_name,
+ const char *index_name,
+ const char *sql,
+ st_spider_db_request_key *request_key
+ );
+ int append_select(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+ );
+ int append_insert(
+ uint handler_id,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ st_spider_db_request_key *request_key
+ );
+ int append_update(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ SPIDER_DB_HS_STRING_REF_BUFFER *upds,
+ int limit,
+ int skip,
+ bool increment,
+ bool decrement,
+ st_spider_db_request_key *request_key
+ );
+ int append_delete(
+ uint handler_id,
+ spider_string *sql,
+ SPIDER_DB_HS_STRING_REF_BUFFER *keys,
+ int limit,
+ int skip,
+ st_spider_db_request_key *request_key
+ );
+ void reset_request_queue();
+#endif
+ size_t escape_string(
+ char *to,
+ const char *from,
+ size_t from_length
+ );
+ bool have_lock_table_list();
+ int append_lock_tables(
+ spider_string *str
+ );
+ int append_unlock_tables(
+ spider_string *str
+ );
+ uint get_lock_table_hash_count();
+ void reset_lock_table_hash();
+ uint get_opened_handler_count();
+ void reset_opened_handler();
+ void set_dup_key_idx(
+ ha_spider *spider,
+ int link_idx
+ );
+ bool cmp_request_key_to_snd(
+ st_spider_db_request_key *request_key
+ );
+private:
+ int set_error(
+ sword res,
+ dvoid *hndlp,
+ int error_num,
+ const char *error1,
+ const char *error2
+ );
+};
+
+class spider_oracle_share: public spider_db_share
+{
+public:
+ spider_string *table_select;
+ int table_select_pos;
+ spider_string *key_select;
+ int *key_select_pos;
+ spider_string *key_hint;
+ spider_string *show_table_status;
+ spider_string *show_records;
+ spider_string *show_autoinc;
+ spider_string *show_last_insert_id;
+ spider_string *show_index;
+ spider_string *table_names_str;
+ spider_string *db_names_str;
+ spider_string *db_table_str;
+ spider_string *nextval_str;
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ my_hash_value_type *db_table_str_hash_value;
+#endif
+ uint table_nm_max_length;
+ uint db_nm_max_length;
+ uint nextval_max_length;
+ spider_string *column_name_str;
+ bool same_db_table_name;
+ int first_all_link_idx;
+
+ spider_oracle_share(
+ st_spider_share *share
+ );
+ ~spider_oracle_share();
+ int init();
+ uint get_column_name_length(
+ uint field_index
+ );
+ int append_column_name(
+ spider_string *str,
+ uint field_index
+ );
+ int append_column_name_with_alias(
+ spider_string *str,
+ uint field_index,
+ const char *alias,
+ uint alias_length
+ );
+ int append_table_name(
+ spider_string *str,
+ int all_link_idx
+ );
+ int append_table_name_with_adjusting(
+ spider_string *str,
+ int all_link_idx
+ );
+ int append_from_with_adjusted_table_name(
+ spider_string *str,
+ int *table_name_pos
+ );
+ bool need_change_db_table_name();
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
+ int discover_table_structure(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *spider_share,
+ spider_string *str
+ );
+#endif
+private:
+ int create_table_names_str();
+ void free_table_names_str();
+ int create_column_name_str();
+ void free_column_name_str();
+ int convert_key_hint_str();
+ int append_show_table_status();
+ void free_show_table_status();
+ int append_show_records();
+ void free_show_records();
+ int append_show_autoinc();
+ void free_show_autoinc();
+ int append_show_last_insert_id();
+ void free_show_last_insert_id();
+ int append_show_index();
+ void free_show_index();
+ int append_table_select();
+ int append_key_select(
+ uint idx
+ );
+};
+
+class spider_oracle_handler: public spider_db_handler
+{
+ spider_string sql;
+ spider_string sql_part;
+ spider_string sql_part2;
+ spider_string ha_sql;
+ int where_pos;
+ int order_pos;
+ int limit_pos;
+ int table_name_pos;
+ int update_set_pos;
+ int ha_read_pos;
+ int ha_next_pos;
+ int ha_where_pos;
+ int ha_limit_pos;
+ int ha_table_name_pos;
+ uint ha_sql_handler_id;
+ spider_string insert_sql;
+ int insert_pos;
+ int insert_table_name_pos;
+ int nextval_pos;
+ spider_string update_sql;
+ TABLE *upd_tmp_tbl;
+ TMP_TABLE_PARAM upd_tmp_tbl_prm;
+ spider_string tmp_sql;
+ int tmp_sql_pos1; /* drop db nm pos at tmp_table_join */
+ int tmp_sql_pos2; /* create db nm pos at tmp_table_join */
+ int tmp_sql_pos3; /* insert db nm pos at tmp_table_join */
+ int tmp_sql_pos4; /* insert val pos at tmp_table_join */
+ int tmp_sql_pos5; /* end of drop tbl at tmp_table_join */
+ spider_string dup_update_sql;
+ spider_string *exec_sql;
+ spider_string *exec_insert_sql;
+ spider_string *exec_update_sql;
+ spider_string *exec_tmp_sql;
+ spider_string *exec_ha_sql;
+ spider_string *exec_lock_sql;
+ int table_lock_mode;
+ bool reading_from_bulk_tmp_table;
+ bool filled_up;
+ bool select_rownum_appended;
+ bool update_rownum_appended;
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ SPIDER_DB_HS_STRING_REF_BUFFER hs_upds;
+#endif
+ SPIDER_INT_HLD *union_table_name_pos_first;
+ SPIDER_INT_HLD *union_table_name_pos_current;
+public:
+ spider_oracle_share *oracle_share;
+ SPIDER_LINK_FOR_HASH *link_for_hash;
+ uchar *minimum_select_bitmap;
+ spider_oracle_handler(
+ ha_spider *spider,
+ spider_oracle_share *share
+ );
+ ~spider_oracle_handler();
+ int init();
+ int append_table_name_with_adjusting(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+ );
+ int append_key_column_types(
+ const key_range *start_key,
+ spider_string *str
+ );
+ int append_key_join_columns_for_bka(
+ const key_range *start_key,
+ spider_string *str,
+ const char **table_aliases,
+ uint *table_alias_lengths
+ );
+ int append_tmp_table_and_sql_for_bka(
+ const key_range *start_key
+ );
+ int reuse_tmp_table_and_sql_for_bka();
+ void create_tmp_bka_table_name(
+ char *tmp_table_name,
+ int *tmp_table_name_length,
+ int link_idx
+ );
+ int append_create_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ CHARSET_INFO *table_charset
+ );
+ int append_drop_tmp_bka_table(
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos,
+ int *drop_table_end_pos,
+ bool with_semicolon
+ );
+ int append_insert_tmp_bka_table(
+ const key_range *start_key,
+ spider_string *str,
+ char *tmp_table_name,
+ int tmp_table_name_length,
+ int *db_name_pos
+ );
+ int append_union_table_and_sql_for_bka(
+ const key_range *start_key
+ );
+ int reuse_union_table_and_sql_for_bka();
+ int append_insert_for_recovery(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_update(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+ );
+ int append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_delete(
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff,
+ int link_idx
+ );
+ int append_insert_part();
+ int append_insert(
+ spider_string *str,
+ int link_idx
+ );
+ int append_update_part();
+ int append_update(
+ spider_string *str,
+ int link_idx
+ );
+ int append_delete_part();
+ int append_delete(
+ spider_string *str
+ );
+ #if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ int append_increment_update_set_part();
+ int append_increment_update_set(
+ spider_string *str
+ );
+ #endif
+ #endif
+ int append_update_set_part();
+ int append_update_set(
+ spider_string *str
+ );
+ #ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ int append_direct_update_set_part();
+ int append_direct_update_set(
+ spider_string *str
+ );
+ int append_dup_update_pushdown_part(
+ const char *alias,
+ uint alias_length
+ );
+ int append_update_columns_part(
+ const char *alias,
+ uint alias_length
+ );
+ int check_update_columns_part();
+ int append_update_columns(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ #endif
+ int append_select_part(
+ ulong sql_type
+ );
+ int append_select(
+ spider_string *str,
+ ulong sql_type
+ );
+ int append_table_select_part(
+ ulong sql_type
+ );
+ int append_table_select(
+ spider_string *str
+ );
+ int append_key_select_part(
+ ulong sql_type,
+ uint idx
+ );
+ int append_key_select(
+ spider_string *str,
+ uint idx
+ );
+ int append_minimum_select_part(
+ ulong sql_type
+ );
+ int append_minimum_select(
+ spider_string *str,
+ ulong sql_type
+ );
+ int append_table_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_select_with_alias(
+ spider_string *str,
+ const KEY *key_info,
+ const char *alias,
+ uint alias_length
+ );
+ int append_minimum_select_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_select_columns_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_hint_after_table_part(
+ ulong sql_type
+ );
+ int append_hint_after_table(
+ spider_string *str
+ );
+ void set_where_pos(
+ ulong sql_type
+ );
+ void set_where_to_pos(
+ ulong sql_type
+ );
+ int check_item_type(
+ Item *item
+ );
+ int append_values_connector_part(
+ ulong sql_type
+ );
+ int append_values_connector(
+ spider_string *str
+ );
+ int append_values_terminator_part(
+ ulong sql_type
+ );
+ int append_values_terminator(
+ spider_string *str
+ );
+ int append_union_table_connector_part(
+ ulong sql_type
+ );
+ int append_union_table_connector(
+ spider_string *str
+ );
+ int append_union_table_terminator_part(
+ ulong sql_type
+ );
+ int append_union_table_terminator(
+ spider_string *str
+ );
+ int append_key_column_values_part(
+ const key_range *start_key,
+ ulong sql_type
+ );
+ int append_key_column_values(
+ spider_string *str,
+ const key_range *start_key
+ );
+ int append_key_column_values_with_name_part(
+ const key_range *start_key,
+ ulong sql_type
+ );
+ int append_key_column_values_with_name(
+ spider_string *str,
+ const key_range *start_key
+ );
+ int append_key_where_part(
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type
+ );
+ int append_key_where(
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ const key_range *start_key,
+ const key_range *end_key,
+ ulong sql_type,
+ bool set_order
+ );
+ int append_is_null_part(
+ ulong sql_type,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+ );
+ int append_is_null(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ KEY_PART_INFO *key_part,
+ const key_range *key,
+ const uchar **ptr,
+ bool key_eq,
+ bool tgt_final
+ );
+ int append_where_terminator_part(
+ ulong sql_type,
+ bool set_order,
+ int key_count
+ );
+ int append_where_terminator(
+ ulong sql_type,
+ spider_string *str,
+ spider_string *str_part,
+ spider_string *str_part2,
+ bool set_order,
+ int key_count
+ );
+ int append_match_where_part(
+ ulong sql_type
+ );
+ int append_match_where(
+ spider_string *str
+ );
+ int append_update_where(
+ spider_string *str,
+ const TABLE *table,
+ my_ptrdiff_t ptr_diff
+ );
+ int append_condition_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type,
+ bool test_flg
+ );
+ int append_condition(
+ spider_string *str,
+ const char *alias,
+ uint alias_length,
+ bool start_where,
+ ulong sql_type
+ );
+ int append_match_against_part(
+ ulong sql_type,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+ );
+ int append_match_against(
+ spider_string *str,
+ st_spider_ft_info *ft_info,
+ const char *alias,
+ uint alias_length
+ );
+ int append_match_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+ );
+ int append_match_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int append_sum_select_part(
+ ulong sql_type,
+ const char *alias,
+ uint alias_length
+ );
+ int append_sum_select(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ void set_order_pos(
+ ulong sql_type
+ );
+ void set_order_to_pos(
+ ulong sql_type
+ );
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ int append_group_by_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_group_by(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+#endif
+ int append_key_order_for_merge_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_for_merge_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_order_for_direct_order_limit_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_for_direct_order_limit_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_order_with_alias_part(
+ const char *alias,
+ uint alias_length,
+ ulong sql_type
+ );
+ int append_key_order_for_handler(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_key_order_with_alias(
+ spider_string *str,
+ const char *alias,
+ uint alias_length
+ );
+ int append_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+ );
+ int reappend_limit_part(
+ longlong offset,
+ longlong limit,
+ ulong sql_type
+ );
+ int append_limit(
+ spider_string *str,
+ longlong offset,
+ longlong limit
+ );
+ int append_select_lock_part(
+ ulong sql_type
+ );
+ int append_select_lock(
+ spider_string *str
+ );
+ int append_union_all_start_part(
+ ulong sql_type
+ );
+ int append_union_all_start(
+ spider_string *str
+ );
+ int append_union_all_part(
+ ulong sql_type
+ );
+ int append_union_all(
+ spider_string *str
+ );
+ int append_union_all_end_part(
+ ulong sql_type
+ );
+ int append_union_all_end(
+ spider_string *str
+ );
+ int append_multi_range_cnt_part(
+ ulong sql_type,
+ uint multi_range_cnt,
+ bool with_comma
+ );
+ int append_multi_range_cnt(
+ spider_string *str,
+ uint multi_range_cnt,
+ bool with_comma
+ );
+ int append_multi_range_cnt_with_name_part(
+ ulong sql_type,
+ uint multi_range_cnt
+ );
+ int append_multi_range_cnt_with_name(
+ spider_string *str,
+ uint multi_range_cnt
+ );
+ int append_open_handler_part(
+ ulong sql_type,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_open_handler(
+ spider_string *str,
+ uint handler_id,
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_close_handler_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_close_handler(
+ spider_string *str,
+ int link_idx
+ );
+ int append_insert_terminator_part(
+ ulong sql_type
+ );
+ int append_insert_terminator(
+ spider_string *str
+ );
+ int append_insert_values_part(
+ ulong sql_type
+ );
+ int append_insert_values(
+ spider_string *str
+ );
+ int append_into_part(
+ ulong sql_type
+ );
+ int append_into(
+ spider_string *str
+ );
+ void set_insert_to_pos(
+ ulong sql_type
+ );
+ int append_from_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_from(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+ );
+ int append_flush_tables_part(
+ ulong sql_type,
+ int link_idx,
+ bool lock
+ );
+ int append_flush_tables(
+ spider_string *str,
+ int link_idx,
+ bool lock
+ );
+ int append_optimize_table_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_optimize_table(
+ spider_string *str,
+ int link_idx
+ );
+ int append_analyze_table_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_analyze_table(
+ spider_string *str,
+ int link_idx
+ );
+ int append_repair_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_repair_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_check_table_part(
+ ulong sql_type,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_check_table(
+ spider_string *str,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int append_enable_keys_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_enable_keys(
+ spider_string *str,
+ int link_idx
+ );
+ int append_disable_keys_part(
+ ulong sql_type,
+ int link_idx
+ );
+ int append_disable_keys(
+ spider_string *str,
+ int link_idx
+ );
+ int append_delete_all_rows_part(
+ ulong sql_type
+ );
+ int append_delete_all_rows(
+ spider_string *str,
+ ulong sql_type
+ );
+ int append_truncate(
+ spider_string *str,
+ ulong sql_type,
+ int link_idx
+ );
+ int append_explain_select_part(
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+ );
+ int append_explain_select(
+ spider_string *str,
+ key_range *start_key,
+ key_range *end_key,
+ ulong sql_type,
+ int link_idx
+ );
+ bool is_bulk_insert_exec_period(
+ bool bulk_end
+ );
+ bool sql_is_filled_up(
+ ulong sql_type
+ );
+ bool sql_is_empty(
+ ulong sql_type
+ );
+ bool support_multi_split_read();
+ bool support_bulk_update();
+ int bulk_tmp_table_insert();
+ int bulk_tmp_table_insert(
+ int link_idx
+ );
+ int bulk_tmp_table_end_bulk_insert();
+ int bulk_tmp_table_rnd_init();
+ int bulk_tmp_table_rnd_next();
+ int bulk_tmp_table_rnd_end();
+ bool need_copy_for_update(
+ int link_idx
+ );
+ bool bulk_tmp_table_created();
+ int mk_bulk_tmp_table_and_bulk_start();
+ void rm_bulk_tmp_table();
+ int store_sql_to_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+ );
+ int restore_sql_from_bulk_tmp_table(
+ spider_string *str,
+ TABLE *tmp_table
+ );
+ int insert_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int append_lock_tables_list(
+ SPIDER_CONN *conn,
+ int link_idx,
+ int *appended
+ );
+ int realloc_sql(
+ ulong *realloced
+ );
+ int reset_sql(
+ ulong sql_type
+ );
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
+ int reset_keys(
+ ulong sql_type
+ );
+ int reset_upds(
+ ulong sql_type
+ );
+ int reset_strs(
+ ulong sql_type
+ );
+ int reset_strs_pos(
+ ulong sql_type
+ );
+ int push_back_upds(
+ SPIDER_HS_STRING_REF &info
+ );
+#endif
+ bool need_lock_before_set_sql_for_exec(
+ ulong sql_type
+ );
+ int set_sql_for_exec(
+ ulong sql_type,
+ int link_idx
+ );
+ int set_sql_for_exec(
+ spider_db_copy_table *tgt_ct,
+ ulong sql_type
+ );
+ int execute_sql(
+ ulong sql_type,
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+ );
+ int reset();
+ int sts_mode_exchange(
+ int sts_mode
+ );
+ int show_table_status(
+ int link_idx,
+ int sts_mode,
+ uint flag
+ );
+ int crd_mode_exchange(
+ int crd_mode
+ );
+ int show_index(
+ int link_idx,
+ int crd_mode
+ );
+ int show_records(
+ int link_idx
+ );
+ int show_autoinc(
+ int link_idx
+ );
+ int show_last_insert_id(
+ int link_idx,
+ ulonglong &last_insert_id
+ );
+ ha_rows explain_select(
+ key_range *start_key,
+ key_range *end_key,
+ int link_idx
+ );
+ int lock_tables(
+ int link_idx
+ );
+ int unlock_tables(
+ int link_idx
+ );
+ int disable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int enable_keys(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int check_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int repair_table(
+ SPIDER_CONN *conn,
+ int link_idx,
+ HA_CHECK_OPT* check_opt
+ );
+ int analyze_table(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int optimize_table(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int flush_tables(
+ SPIDER_CONN *conn,
+ int link_idx,
+ bool lock
+ );
+ int flush_logs(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int insert_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int delete_opened_handler(
+ SPIDER_CONN *conn,
+ int link_idx
+ );
+ int sync_from_clone_source(
+ spider_db_handler *dbton_hdl
+ );
+ bool support_use_handler(
+ int use_handler
+ );
+ void minimum_select_bitmap_create();
+ bool minimum_select_bit_is_set(
+ uint field_index
+ );
+ void copy_minimum_select_bitmap(
+ uchar *bitmap
+ );
+ int init_union_table_name_pos();
+ int set_union_table_name_pos();
+ int reset_union_table_name(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+ );
+};
+
+class spider_oracle_copy_table: public spider_db_copy_table
+{
+public:
+ spider_oracle_share *oracle_share;
+ spider_string sql;
+ spider_string sql_part;
+ uint pos;
+ uint table_name_pos;
+ uint pos_diff;
+ int table_lock_mode;
+ int store_link_idx;
+ bool select_rownum_appended;
+ spider_string *first_str;
+ spider_string *current_str;
+ spider_oracle_copy_table(
+ spider_oracle_share *db_share
+ );
+ ~spider_oracle_copy_table();
+ int init();
+ void set_sql_charset(
+ CHARSET_INFO *cs
+ );
+ int append_select_str();
+ int append_insert_str(
+ int insert_flg
+ );
+ int append_table_columns(
+ TABLE_SHARE *table_share
+ );
+ int append_from_str();
+ int append_table_name(
+ int link_idx
+ );
+ void set_sql_pos();
+ void set_sql_to_pos();
+ int append_copy_where(
+ spider_db_copy_table *source_ct,
+ KEY *key_info,
+ ulong *last_row_pos,
+ ulong *last_lengths
+ );
+ int append_key_order_str(
+ KEY *key_info,
+ int start_pos,
+ bool desc_flg
+ );
+ int append_limit(
+ longlong offset,
+ longlong limit
+ );
+ int append_into_str();
+ int append_open_paren_str();
+ int append_values_str();
+ int append_select_lock_str(
+ int lock_mode
+ );
+ int exec_query(
+ SPIDER_CONN *conn,
+ int quick_mode,
+ int *need_mon
+ );
+ int copy_key_row(
+ spider_db_copy_table *source_ct,
+ Field *field,
+ ulong *row_pos,
+ ulong *length,
+ const char *joint_str,
+ const int joint_length
+ );
+ int copy_row(
+ Field *field,
+ SPIDER_DB_ROW *row
+ );
+ int copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row,
+ ulong **last_row_pos,
+ ulong **last_lengths
+ );
+ int copy_rows(
+ TABLE *table,
+ SPIDER_DB_ROW *row
+ );
+ int append_insert_terminator();
+ int copy_insert_values(
+ spider_db_copy_table *source_ct
+ );
+};
diff --git a/storage/spider/spd_direct_sql.cc b/storage/spider/spd_direct_sql.cc
index 2c844eb2da3..4f756aab784 100644
--- a/storage/spider/spd_direct_sql.cc
+++ b/storage/spider/spd_direct_sql.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2013 Kentoku Shiba
+/* Copyright (C) 2009-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -40,6 +40,10 @@
#include "spd_udf.h"
#include "spd_malloc.h"
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100004
+#define SPIDER_NEED_INIT_ONE_TABLE_FOR_FIND_TEMPORARY_TABLE
+#endif
+
extern const char **spd_defaults_extra_file;
extern const char **spd_defaults_file;
@@ -1604,8 +1608,16 @@ long long spider_direct_sql_body(
#endif
for (roop_count = 0; roop_count < direct_sql->table_count; roop_count++)
{
+#ifdef SPIDER_NEED_INIT_ONE_TABLE_FOR_FIND_TEMPORARY_TABLE
+ table_list.init_one_table(direct_sql->db_names[roop_count],
+ strlen(direct_sql->db_names[roop_count]),
+ direct_sql->table_names[roop_count],
+ strlen(direct_sql->table_names[roop_count]),
+ direct_sql->table_names[roop_count], TL_WRITE);
+#else
table_list.db = direct_sql->db_names[roop_count];
table_list.table_name = direct_sql->table_names[roop_count];
+#endif
if (!(direct_sql->tables[roop_count] =
find_temporary_table(thd, &table_list)))
{
diff --git a/storage/spider/spd_direct_sql.h b/storage/spider/spd_direct_sql.h
index f20e9de6373..26e3043dd94 100644
--- a/storage/spider/spd_direct_sql.h
+++ b/storage/spider/spd_direct_sql.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2013 Kentoku Shiba
+/* Copyright (C) 2009-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/spider/spd_err.h b/storage/spider/spd_err.h
index c644d6ebca5..13605d16481 100644
--- a/storage/spider/spd_err.h
+++ b/storage/spider/spd_err.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -61,6 +61,8 @@
#define ER_SPIDER_NOSQL_WRAPPER_IS_INVALID_STR "Can't use wrapper '%s' for NOSQL connection"
#define ER_SPIDER_REQUEST_KEY_NUM 12523
#define ER_SPIDER_REQUEST_KEY_STR "Request key not found"
+#define ER_SPIDER_CANT_OPEN_SYS_TABLE_NUM 12524
+#define ER_SPIDER_CANT_OPEN_SYS_TABLE_STR "Can't open system table %s.%s"
#define ER_SPIDER_CANT_USE_BOTH_INNER_XA_AND_SNAPSHOT_NUM 12601
#define ER_SPIDER_CANT_USE_BOTH_INNER_XA_AND_SNAPSHOT_STR "Can't use both spider_use_consistent_snapshot = 1 and spider_internal_xa = 1"
diff --git a/storage/spider/spd_i_s.cc b/storage/spider/spd_i_s.cc
index c32745dae98..49824693984 100644
--- a/storage/spider/spd_i_s.cc
+++ b/storage/spider/spd_i_s.cc
@@ -1,148 +1,167 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-#define MYSQL_SERVER 1
-#include "mysql_version.h"
-#if MYSQL_VERSION_ID < 50500
-#include "mysql_priv.h"
-#include <mysql/plugin.h>
-#else
-#include "sql_priv.h"
-#include "probes_mysql.h"
-#include "sql_class.h"
-#include "sql_partition.h"
-#include "sql_show.h"
-#endif
-#include "spd_db_include.h"
-#include "spd_include.h"
-#include "spd_table.h"
-
-extern pthread_mutex_t spider_mem_calc_mutex;
-
-extern const char *spider_alloc_func_name[SPIDER_MEM_CALC_LIST_NUM];
-extern const char *spider_alloc_file_name[SPIDER_MEM_CALC_LIST_NUM];
-extern ulong spider_alloc_line_no[SPIDER_MEM_CALC_LIST_NUM];
-extern ulonglong spider_total_alloc_mem[SPIDER_MEM_CALC_LIST_NUM];
-extern longlong spider_current_alloc_mem[SPIDER_MEM_CALC_LIST_NUM];
-extern ulonglong spider_alloc_mem_count[SPIDER_MEM_CALC_LIST_NUM];
-extern ulonglong spider_free_mem_count[SPIDER_MEM_CALC_LIST_NUM];
-
-static struct st_mysql_storage_engine spider_i_s_info =
-{ MYSQL_INFORMATION_SCHEMA_INTERFACE_VERSION };
-
-static ST_FIELD_INFO spider_i_s_alloc_mem_fields_info[] =
-{
- {"ID", 10, MYSQL_TYPE_LONG, 0, MY_I_S_UNSIGNED, "id", SKIP_OPEN_TABLE},
- {"FUNC_NAME", 64, MYSQL_TYPE_STRING, 0,
- MY_I_S_MAYBE_NULL, "func_name", SKIP_OPEN_TABLE},
- {"FILE_NAME", 64, MYSQL_TYPE_STRING, 0,
- MY_I_S_MAYBE_NULL, "file_name", SKIP_OPEN_TABLE},
- {"LINE_NO", 10, MYSQL_TYPE_LONG, 0,
- MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "line_no", SKIP_OPEN_TABLE},
- {"TOTAL_ALLOC_MEM", 20, MYSQL_TYPE_LONGLONG, 0,
- MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "total_alloc_mem", SKIP_OPEN_TABLE},
- {"CURRENT_ALLOC_MEM", 20, MYSQL_TYPE_LONGLONG, 0,
- MY_I_S_MAYBE_NULL, "current_alloc_mem", SKIP_OPEN_TABLE},
- {"ALLOC_MEM_COUNT", 20, MYSQL_TYPE_LONGLONG, 0,
- MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "alloc_mem_count", SKIP_OPEN_TABLE},
- {"FREE_MEM_COUNT", 20, MYSQL_TYPE_LONGLONG, 0,
- MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "free_mem_count", SKIP_OPEN_TABLE},
- {NULL, 0, MYSQL_TYPE_STRING, 0, 0, NULL, 0}
-};
-
-static int spider_i_s_alloc_mem_fill_table(
- THD *thd,
- TABLE_LIST *tables,
- COND *cond
-) {
- uint roop_count;
- TABLE *table = tables->table;
- DBUG_ENTER("spider_i_s_alloc_mem_fill_table");
- for (roop_count = 0; roop_count < SPIDER_MEM_CALC_LIST_NUM; roop_count++)
- {
- table->field[0]->store(roop_count, TRUE);
- if (spider_alloc_func_name[roop_count])
- {
- table->field[1]->set_notnull();
- table->field[2]->set_notnull();
- table->field[3]->set_notnull();
- table->field[4]->set_notnull();
- table->field[5]->set_notnull();
- table->field[6]->set_notnull();
- table->field[7]->set_notnull();
- table->field[1]->store(spider_alloc_func_name[roop_count],
- strlen(spider_alloc_func_name[roop_count]), system_charset_info);
- table->field[2]->store(spider_alloc_file_name[roop_count],
- strlen(spider_alloc_file_name[roop_count]), system_charset_info);
- table->field[3]->store(spider_alloc_line_no[roop_count], TRUE);
- pthread_mutex_lock(&spider_mem_calc_mutex);
- table->field[4]->store(spider_total_alloc_mem[roop_count], TRUE);
- table->field[5]->store(spider_current_alloc_mem[roop_count], FALSE);
- table->field[6]->store(spider_alloc_mem_count[roop_count], TRUE);
- table->field[7]->store(spider_free_mem_count[roop_count], TRUE);
- pthread_mutex_unlock(&spider_mem_calc_mutex);
- } else {
- table->field[1]->set_null();
- table->field[2]->set_null();
- table->field[3]->set_null();
- table->field[4]->set_null();
- table->field[5]->set_null();
- table->field[6]->set_null();
- table->field[7]->set_null();
- }
- if (schema_table_store_record(thd, table))
- {
- DBUG_RETURN(1);
- }
- }
- DBUG_RETURN(0);
-}
-
-static int spider_i_s_alloc_mem_init(
- void *p
-) {
- ST_SCHEMA_TABLE *schema = (ST_SCHEMA_TABLE *) p;
- DBUG_ENTER("spider_i_s_alloc_mem_init");
- schema->fields_info = spider_i_s_alloc_mem_fields_info;
- schema->fill_table = spider_i_s_alloc_mem_fill_table;
- schema->idx_field1 = 0;
- DBUG_RETURN(0);
-}
-
-static int spider_i_s_alloc_mem_deinit(
- void *p
-) {
- DBUG_ENTER("spider_i_s_alloc_mem_deinit");
- DBUG_RETURN(0);
-}
-
-struct st_mysql_plugin spider_i_s_alloc_mem =
-{
- MYSQL_INFORMATION_SCHEMA_PLUGIN,
- &spider_i_s_info,
- "SPIDER_ALLOC_MEM",
- "Kentoku Shiba",
- "Spider memory allocating viewer",
- PLUGIN_LICENSE_GPL,
- spider_i_s_alloc_mem_init,
- spider_i_s_alloc_mem_deinit,
- 0x0001,
- NULL,
- NULL,
- NULL,
-#if MYSQL_VERSION_ID >= 50600
- 0,
-#endif
-};
+/* Copyright (C) 2012-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#define MYSQL_SERVER 1
+#include "mysql_version.h"
+#if MYSQL_VERSION_ID < 50500
+#include "mysql_priv.h"
+#include <mysql/plugin.h>
+#else
+#include "sql_priv.h"
+#include "probes_mysql.h"
+#include "sql_class.h"
+#include "sql_partition.h"
+#include "sql_show.h"
+#endif
+#include "spd_db_include.h"
+#include "spd_include.h"
+#include "spd_table.h"
+
+extern pthread_mutex_t spider_mem_calc_mutex;
+
+extern const char *spider_alloc_func_name[SPIDER_MEM_CALC_LIST_NUM];
+extern const char *spider_alloc_file_name[SPIDER_MEM_CALC_LIST_NUM];
+extern ulong spider_alloc_line_no[SPIDER_MEM_CALC_LIST_NUM];
+extern ulonglong spider_total_alloc_mem[SPIDER_MEM_CALC_LIST_NUM];
+extern longlong spider_current_alloc_mem[SPIDER_MEM_CALC_LIST_NUM];
+extern ulonglong spider_alloc_mem_count[SPIDER_MEM_CALC_LIST_NUM];
+extern ulonglong spider_free_mem_count[SPIDER_MEM_CALC_LIST_NUM];
+
+static struct st_mysql_storage_engine spider_i_s_info =
+{ MYSQL_INFORMATION_SCHEMA_INTERFACE_VERSION };
+
+static ST_FIELD_INFO spider_i_s_alloc_mem_fields_info[] =
+{
+ {"ID", 10, MYSQL_TYPE_LONG, 0, MY_I_S_UNSIGNED, "id", SKIP_OPEN_TABLE},
+ {"FUNC_NAME", 64, MYSQL_TYPE_STRING, 0,
+ MY_I_S_MAYBE_NULL, "func_name", SKIP_OPEN_TABLE},
+ {"FILE_NAME", 64, MYSQL_TYPE_STRING, 0,
+ MY_I_S_MAYBE_NULL, "file_name", SKIP_OPEN_TABLE},
+ {"LINE_NO", 10, MYSQL_TYPE_LONG, 0,
+ MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "line_no", SKIP_OPEN_TABLE},
+ {"TOTAL_ALLOC_MEM", 20, MYSQL_TYPE_LONGLONG, 0,
+ MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "total_alloc_mem", SKIP_OPEN_TABLE},
+ {"CURRENT_ALLOC_MEM", 20, MYSQL_TYPE_LONGLONG, 0,
+ MY_I_S_MAYBE_NULL, "current_alloc_mem", SKIP_OPEN_TABLE},
+ {"ALLOC_MEM_COUNT", 20, MYSQL_TYPE_LONGLONG, 0,
+ MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "alloc_mem_count", SKIP_OPEN_TABLE},
+ {"FREE_MEM_COUNT", 20, MYSQL_TYPE_LONGLONG, 0,
+ MY_I_S_UNSIGNED | MY_I_S_MAYBE_NULL, "free_mem_count", SKIP_OPEN_TABLE},
+ {NULL, 0, MYSQL_TYPE_STRING, 0, 0, NULL, 0}
+};
+
+static int spider_i_s_alloc_mem_fill_table(
+ THD *thd,
+ TABLE_LIST *tables,
+ COND *cond
+) {
+ uint roop_count;
+ TABLE *table = tables->table;
+ DBUG_ENTER("spider_i_s_alloc_mem_fill_table");
+ for (roop_count = 0; roop_count < SPIDER_MEM_CALC_LIST_NUM; roop_count++)
+ {
+ table->field[0]->store(roop_count, TRUE);
+ if (spider_alloc_func_name[roop_count])
+ {
+ table->field[1]->set_notnull();
+ table->field[2]->set_notnull();
+ table->field[3]->set_notnull();
+ table->field[4]->set_notnull();
+ table->field[5]->set_notnull();
+ table->field[6]->set_notnull();
+ table->field[7]->set_notnull();
+ table->field[1]->store(spider_alloc_func_name[roop_count],
+ strlen(spider_alloc_func_name[roop_count]), system_charset_info);
+ table->field[2]->store(spider_alloc_file_name[roop_count],
+ strlen(spider_alloc_file_name[roop_count]), system_charset_info);
+ table->field[3]->store(spider_alloc_line_no[roop_count], TRUE);
+ pthread_mutex_lock(&spider_mem_calc_mutex);
+ table->field[4]->store(spider_total_alloc_mem[roop_count], TRUE);
+ table->field[5]->store(spider_current_alloc_mem[roop_count], FALSE);
+ table->field[6]->store(spider_alloc_mem_count[roop_count], TRUE);
+ table->field[7]->store(spider_free_mem_count[roop_count], TRUE);
+ pthread_mutex_unlock(&spider_mem_calc_mutex);
+ } else {
+ table->field[1]->set_null();
+ table->field[2]->set_null();
+ table->field[3]->set_null();
+ table->field[4]->set_null();
+ table->field[5]->set_null();
+ table->field[6]->set_null();
+ table->field[7]->set_null();
+ }
+ if (schema_table_store_record(thd, table))
+ {
+ DBUG_RETURN(1);
+ }
+ }
+ DBUG_RETURN(0);
+}
+
+static int spider_i_s_alloc_mem_init(
+ void *p
+) {
+ ST_SCHEMA_TABLE *schema = (ST_SCHEMA_TABLE *) p;
+ DBUG_ENTER("spider_i_s_alloc_mem_init");
+ schema->fields_info = spider_i_s_alloc_mem_fields_info;
+ schema->fill_table = spider_i_s_alloc_mem_fill_table;
+ schema->idx_field1 = 0;
+ DBUG_RETURN(0);
+}
+
+static int spider_i_s_alloc_mem_deinit(
+ void *p
+) {
+ DBUG_ENTER("spider_i_s_alloc_mem_deinit");
+ DBUG_RETURN(0);
+}
+
+struct st_mysql_plugin spider_i_s_alloc_mem =
+{
+ MYSQL_INFORMATION_SCHEMA_PLUGIN,
+ &spider_i_s_info,
+ "SPIDER_ALLOC_MEM",
+ "Kentoku Shiba",
+ "Spider memory allocating viewer",
+ PLUGIN_LICENSE_GPL,
+ spider_i_s_alloc_mem_init,
+ spider_i_s_alloc_mem_deinit,
+ 0x0001,
+ NULL,
+ NULL,
+ NULL,
+#if MYSQL_VERSION_ID >= 50600
+ 0,
+#endif
+};
+
+#ifdef MARIADB_BASE_VERSION
+struct st_maria_plugin spider_i_s_alloc_mem_maria =
+{
+ MYSQL_INFORMATION_SCHEMA_PLUGIN,
+ &spider_i_s_info,
+ "SPIDER_ALLOC_MEM",
+ "Kentoku Shiba",
+ "Spider memory allocating viewer",
+ PLUGIN_LICENSE_GPL,
+ spider_i_s_alloc_mem_init,
+ spider_i_s_alloc_mem_deinit,
+ 0x0100,
+ NULL,
+ NULL,
+ "1.0",
+ MariaDB_PLUGIN_MATURITY_GAMMA,
+};
+#endif
diff --git a/storage/spider/spd_include.h b/storage/spider/spd_include.h
index 6138debf1a3..700631f9ab0 100644
--- a/storage/spider/spd_include.h
+++ b/storage/spider/spd_include.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -13,6 +13,9 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#define SPIDER_DETAIL_VERSION "3.2.0"
+#define SPIDER_HEX_VERSION 0x0302
+
#if MYSQL_VERSION_ID < 50500
#else
#define my_free(A,B) my_free(A)
@@ -77,8 +80,13 @@
#define spider_stmt_da_message(A) (A)->main_da.message()
#define spider_stmt_da_sql_errno(A) (A)->main_da.sql_errno()
#else
+#if MYSQL_VERSION_ID < 50600
#define spider_stmt_da_message(A) (A)->stmt_da->message()
#define spider_stmt_da_sql_errno(A) (A)->stmt_da->sql_errno()
+#else
+#define spider_stmt_da_message(A) (A)->get_stmt_da()->message()
+#define spider_stmt_da_sql_errno(A) (A)->get_stmt_da()->sql_errno()
+#endif
#endif
#define spider_user_defined_key_parts(A) (A)->key_parts
#define SPIDER_ALTER_ADD_PARTITION ALTER_ADD_PARTITION
@@ -91,6 +99,12 @@
#define SPIDER_WARN_LEVEL_NOTE MYSQL_ERROR::WARN_LEVEL_NOTE
#endif
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100009
+#define SPIDER_TEST(A) MY_TEST(A)
+#else
+#define SPIDER_TEST(A) test(A)
+#endif
+
#if MYSQL_VERSION_ID >= 50500
#define SPIDER_HAS_HASH_VALUE_TYPE
#endif
@@ -118,7 +132,7 @@
#define SPIDER_TMP_SHARE_LONG_COUNT 15
#define SPIDER_TMP_SHARE_LONGLONG_COUNT 3
-#define SPIDER_MEM_CALC_LIST_NUM 243
+#define SPIDER_MEM_CALC_LIST_NUM 244
#define SPIDER_BACKUP_DASTATUS \
bool da_status; if (thd) da_status = thd->is_error(); else da_status = FALSE;
@@ -134,7 +148,7 @@
#define SPIDER_SET_FILE_POS(A) \
{(A)->thd = current_thd; (A)->func_name = __func__; (A)->file_name = __FILE__; (A)->line_no = __LINE__;}
#define SPIDER_CLEAR_FILE_POS(A) \
- {(A)->thd = NULL; (A)->func_name = NULL; (A)->file_name = NULL; (A)->line_no = 0;}
+ {DBUG_PRINT("info", ("spider thd=%p func_name=%s file_name=%s line_no=%lu", (A)->thd, (A)->func_name ? (A)->func_name : "NULL", (A)->file_name ? (A)->file_name : "NULL", (A)->line_no)); (A)->thd = NULL; (A)->func_name = NULL; (A)->file_name = NULL; (A)->line_no = 0;}
class ha_spider;
typedef struct st_spider_share SPIDER_SHARE;
@@ -261,6 +275,9 @@ typedef struct st_spider_conn
uint opened_handlers;
ulonglong conn_id;
ulonglong connection_id;
+ query_id_t casual_read_query_id;
+ uint casual_read_current_id;
+ st_spider_conn *casual_read_base_conn;
pthread_mutex_t mta_conn_mutex;
volatile bool mta_conn_mutex_lock_already;
volatile bool mta_conn_mutex_unlock_later;
@@ -473,6 +490,7 @@ typedef struct st_spider_transaction
bool trx_start;
bool trx_xa;
bool trx_consistent_snapshot;
+ bool trx_xa_prepared;
bool use_consistent_snapshot;
bool internal_xa;
@@ -571,6 +589,18 @@ typedef struct st_spider_transaction
longlong current_alloc_mem_buffer[SPIDER_MEM_CALC_LIST_NUM];
ulonglong alloc_mem_count_buffer[SPIDER_MEM_CALC_LIST_NUM];
ulonglong free_mem_count_buffer[SPIDER_MEM_CALC_LIST_NUM];
+
+ MEM_ROOT mem_root;
+
+ /* for transaction level query */
+ SPIDER_SHARE *tmp_share;
+ char *tmp_connect_info[SPIDER_TMP_SHARE_CHAR_PTR_COUNT];
+ uint tmp_connect_info_length[SPIDER_TMP_SHARE_UINT_COUNT];
+ long tmp_long[SPIDER_TMP_SHARE_LONG_COUNT];
+ longlong tmp_longlong[SPIDER_TMP_SHARE_LONGLONG_COUNT];
+ ha_spider *tmp_spider;
+ int tmp_need_mon;
+ spider_db_handler *tmp_dbton_handler[SPIDER_DBTON_SIZE];
} SPIDER_TRX;
typedef struct st_spider_share
@@ -734,6 +764,8 @@ typedef struct st_spider_share
#ifdef HA_CAN_FORCE_BULK_DELETE
int force_bulk_delete;
#endif
+ int casual_read;
+ int delete_all_rows_type;
int bka_mode;
char *bka_engine;
diff --git a/storage/spider/spd_malloc.cc b/storage/spider/spd_malloc.cc
index 8cfa7e86357..e152bd8f152 100644
--- a/storage/spider/spd_malloc.cc
+++ b/storage/spider/spd_malloc.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
+/* Copyright (C) 2012-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/spider/spd_malloc.h b/storage/spider/spd_malloc.h
index e981eb3cae4..42e6abd407c 100644
--- a/storage/spider/spd_malloc.h
+++ b/storage/spider/spd_malloc.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2013 Kentoku Shiba
+/* Copyright (C) 2012-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/spider/spd_param.cc b/storage/spider/spd_param.cc
index b610c2a2111..2b1e87313d1 100644
--- a/storage/spider/spd_param.cc
+++ b/storage/spider/spd_param.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -33,6 +33,9 @@
#include "spd_trx.h"
extern struct st_mysql_plugin spider_i_s_alloc_mem;
+#ifdef MARIADB_BASE_VERSION
+extern struct st_maria_plugin spider_i_s_alloc_mem_maria;
+#endif
extern volatile ulonglong spider_mon_table_cache_version;
extern volatile ulonglong spider_mon_table_cache_version_req;
@@ -2827,6 +2830,136 @@ uint spider_param_log_result_errors()
DBUG_RETURN(spider_log_result_errors);
}
+static uint spider_log_result_error_with_sql;
+/*
+ 0: no log
+ 1: log spider sql at logging result errors
+ 2: log user sql at logging result errors
+ 3: log both sql at logging result errors
+ */
+static MYSQL_SYSVAR_UINT(
+ log_result_error_with_sql,
+ spider_log_result_error_with_sql,
+ PLUGIN_VAR_RQCMDARG,
+ "Log sql at logging result errors",
+ NULL,
+ NULL,
+ 0,
+ 0,
+ 3,
+ 0
+);
+
+uint spider_param_log_result_error_with_sql()
+{
+ DBUG_ENTER("spider_param_log_result_error_with_sql");
+ DBUG_RETURN(spider_log_result_error_with_sql);
+}
+
+static char *spider_version = (char *) SPIDER_DETAIL_VERSION;
+static MYSQL_SYSVAR_STR(
+ version,
+ spider_version,
+ PLUGIN_VAR_NOCMDOPT | PLUGIN_VAR_READONLY,
+ "The version of Spider",
+ NULL,
+ NULL,
+ SPIDER_DETAIL_VERSION
+);
+
+/*
+ 0: server_id + thread_id
+ 1: server_id + thread_id + query_id
+ */
+static MYSQL_THDVAR_UINT(
+ internal_xa_id_type, /* name */
+ PLUGIN_VAR_RQCMDARG, /* opt */
+ "The type of internal_xa id", /* comment */
+ NULL, /* check */
+ NULL, /* update */
+ 0, /* def */
+ 0, /* min */
+ 1, /* max */
+ 0 /* blk */
+);
+
+uint spider_param_internal_xa_id_type(
+ THD *thd
+) {
+ DBUG_ENTER("spider_param_internal_xa_id_type");
+ DBUG_RETURN(THDVAR(thd, internal_xa_id_type));
+}
+
+/*
+ -1 :use table parameter
+ 0 :OFF
+ 1 :automatic channel
+ 2-63 :use custom channel
+ */
+static MYSQL_THDVAR_INT(
+ casual_read, /* name */
+ PLUGIN_VAR_RQCMDARG, /* opt */
+ "Read casually if it is possible", /* comment */
+ NULL, /* check */
+ NULL, /* update */
+ -1, /* def */
+ -1, /* min */
+ 63, /* max */
+ 0 /* blk */
+);
+
+int spider_param_casual_read(
+ THD *thd,
+ int casual_read
+) {
+ DBUG_ENTER("spider_param_casual_read");
+ DBUG_RETURN(THDVAR(thd, casual_read) == -1 ?
+ casual_read : THDVAR(thd, casual_read));
+}
+
+static my_bool spider_dry_access;
+static MYSQL_SYSVAR_BOOL(
+ dry_access,
+ spider_dry_access,
+ PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
+ "dry access",
+ NULL,
+ NULL,
+ FALSE
+);
+
+my_bool spider_param_dry_access()
+{
+ DBUG_ENTER("spider_param_dry_access");
+ DBUG_RETURN(spider_dry_access);
+}
+
+/*
+ -1 :use table parameter
+ 0 :fast
+ 1 :correct delete row number
+ */
+static MYSQL_THDVAR_INT(
+ delete_all_rows_type, /* name */
+ PLUGIN_VAR_RQCMDARG, /* opt */
+ "The type of delete_all_rows", /* comment */
+ NULL, /* check */
+ NULL, /* update */
+ -1, /* def */
+ -1, /* min */
+ 1, /* max */
+ 0 /* blk */
+);
+
+int spider_param_delete_all_rows_type(
+ THD *thd,
+ int delete_all_rows_type
+) {
+ DBUG_ENTER("spider_param_delete_all_rows_type");
+ DBUG_RETURN(THDVAR(thd, delete_all_rows_type) == -1 ?
+ delete_all_rows_type : THDVAR(thd, delete_all_rows_type));
+}
+
static struct st_mysql_storage_engine spider_storage_engine =
{ MYSQL_HANDLERTON_INTERFACE_VERSION };
@@ -2954,6 +3087,12 @@ static struct st_mysql_sys_var* spider_system_variables[] = {
#endif
MYSQL_SYSVAR(general_log),
MYSQL_SYSVAR(log_result_errors),
+ MYSQL_SYSVAR(log_result_error_with_sql),
+ MYSQL_SYSVAR(version),
+ MYSQL_SYSVAR(internal_xa_id_type),
+ MYSQL_SYSVAR(casual_read),
+ MYSQL_SYSVAR(dry_access),
+ MYSQL_SYSVAR(delete_all_rows_type),
NULL
};
@@ -2967,7 +3106,7 @@ mysql_declare_plugin(spider)
PLUGIN_LICENSE_GPL,
spider_db_init,
spider_db_done,
- 0x0300,
+ SPIDER_HEX_VERSION,
spider_status_variables,
spider_system_variables,
NULL,
@@ -2977,3 +3116,24 @@ mysql_declare_plugin(spider)
},
spider_i_s_alloc_mem
mysql_declare_plugin_end;
+
+#ifdef MARIADB_BASE_VERSION
+maria_declare_plugin(spider)
+{
+ MYSQL_STORAGE_ENGINE_PLUGIN,
+ &spider_storage_engine,
+ "SPIDER",
+ "Kentoku Shiba",
+ "Spider storage engine",
+ PLUGIN_LICENSE_GPL,
+ spider_db_init,
+ spider_db_done,
+ SPIDER_HEX_VERSION,
+ spider_status_variables,
+ spider_system_variables,
+ SPIDER_DETAIL_VERSION,
+ MariaDB_PLUGIN_MATURITY_GAMMA
+},
+spider_i_s_alloc_mem_maria
+maria_declare_plugin_end;
+#endif
diff --git a/storage/spider/spd_param.h b/storage/spider/spd_param.h
index 2274743ba41..e68143aa774 100644
--- a/storage/spider/spd_param.h
+++ b/storage/spider/spd_param.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software); you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -370,3 +370,16 @@ int spider_param_udf_ds_use_real_table(
#endif
my_bool spider_param_general_log();
uint spider_param_log_result_errors();
+uint spider_param_log_result_error_with_sql();
+uint spider_param_internal_xa_id_type(
+ THD *thd
+);
+int spider_param_casual_read(
+ THD *thd,
+ int casual_read
+);
+my_bool spider_param_dry_access();
+int spider_param_delete_all_rows_type(
+ THD *thd,
+ int delete_all_rows_type
+);
diff --git a/storage/spider/spd_ping_table.cc b/storage/spider/spd_ping_table.cc
index 1ab5e51293b..193b60271c2 100644
--- a/storage/spider/spd_ping_table.cc
+++ b/storage/spider/spd_ping_table.cc
@@ -1,1456 +1,1456 @@
-/* Copyright (C) 2009-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-#define MYSQL_SERVER 1
-#include "mysql_version.h"
-#if MYSQL_VERSION_ID < 50500
-#include "mysql_priv.h"
-#include <mysql/plugin.h>
-#else
-#include "sql_priv.h"
-#include "probes_mysql.h"
-#include "sql_class.h"
-#include "sql_partition.h"
-#include "sql_acl.h"
-#endif
-#include "spd_err.h"
-#include "spd_param.h"
-#include "spd_db_include.h"
-#include "spd_include.h"
-#include "ha_spider.h"
-#include "spd_db_conn.h"
-#include "spd_trx.h"
-#include "spd_conn.h"
-#include "spd_sys_table.h"
-#include "spd_table.h"
-#include "spd_ping_table.h"
-#include "spd_direct_sql.h"
-#include "spd_udf.h"
-#include "spd_malloc.h"
-
-extern handlerton *spider_hton_ptr;
-
-#ifdef HAVE_PSI_INTERFACE
-extern PSI_mutex_key spd_key_mutex_mon_list_caller;
-extern PSI_mutex_key spd_key_mutex_mon_list_receptor;
-extern PSI_mutex_key spd_key_mutex_mon_list_monitor;
-extern PSI_mutex_key spd_key_mutex_mon_list_update_status;
-extern PSI_mutex_key spd_key_mutex_mon_table_cache;
-#endif
-
-#ifndef WITHOUT_SPIDER_BG_SEARCH
-extern pthread_mutex_t spider_global_trx_mutex;
-extern SPIDER_TRX *spider_global_trx;
-#endif
-
-HASH *spider_udf_table_mon_list_hash;
-uint spider_udf_table_mon_list_hash_id;
-const char *spider_udf_table_mon_list_hash_func_name;
-const char *spider_udf_table_mon_list_hash_file_name;
-ulong spider_udf_table_mon_list_hash_line_no;
-pthread_mutex_t *spider_udf_table_mon_mutexes;
-pthread_cond_t *spider_udf_table_mon_conds;
-
-pthread_mutex_t spider_mon_table_cache_mutex;
-DYNAMIC_ARRAY spider_mon_table_cache;
-uint spider_mon_table_cache_id;
-const char *spider_mon_table_cache_func_name;
-const char *spider_mon_table_cache_file_name;
-ulong spider_mon_table_cache_line_no;
-volatile ulonglong spider_mon_table_cache_version = 0;
-volatile ulonglong spider_mon_table_cache_version_req = 1;
-
-SPIDER_TABLE_MON_LIST *spider_get_ping_table_mon_list(
- SPIDER_TRX *trx,
- THD *thd,
- spider_string *str,
- uint conv_name_length,
- int link_idx,
- uint32 server_id,
- bool need_lock,
- int *error_num
-) {
- uint mutex_hash;
- SPIDER_TABLE_MON_LIST *table_mon_list;
- MEM_ROOT mem_root;
- ulonglong mon_table_cache_version;
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- my_hash_value_type hash_value;
-#endif
- DBUG_ENTER("spider_get_ping_table_mon_list");
- if (spider_mon_table_cache_version != spider_mon_table_cache_version_req)
- {
- SPD_INIT_ALLOC_ROOT(&mem_root, 4096, 0, MYF(MY_WME));
- if ((*error_num = spider_init_ping_table_mon_cache(thd, &mem_root,
- need_lock)))
- {
- free_root(&mem_root, MYF(0));
- goto error;
- }
- free_root(&mem_root, MYF(0));
- }
-
- mutex_hash = spider_udf_calc_hash(str->c_ptr(),
- spider_param_udf_table_mon_mutex_count());
- DBUG_PRINT("info",("spider hash key=%s", str->c_ptr()));
- DBUG_PRINT("info",("spider hash key length=%u", str->length()));
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- hash_value = my_calc_hash(
- &spider_udf_table_mon_list_hash[mutex_hash],
- (uchar*) str->c_ptr(), str->length());
-#endif
- pthread_mutex_lock(&spider_udf_table_mon_mutexes[mutex_hash]);
- mon_table_cache_version = (ulonglong) spider_mon_table_cache_version;
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- if (!(table_mon_list = (SPIDER_TABLE_MON_LIST *)
- my_hash_search_using_hash_value(
- &spider_udf_table_mon_list_hash[mutex_hash], hash_value,
- (uchar*) str->c_ptr(), str->length())) ||
- table_mon_list->mon_table_cache_version != mon_table_cache_version
- )
-#else
- if (!(table_mon_list = (SPIDER_TABLE_MON_LIST *) my_hash_search(
- &spider_udf_table_mon_list_hash[mutex_hash],
- (uchar*) str->c_ptr(), str->length())) ||
- table_mon_list->mon_table_cache_version != mon_table_cache_version
- )
-#endif
- {
- DBUG_ASSERT(trx != spider_global_trx);
- if (
- table_mon_list &&
- table_mon_list->mon_table_cache_version != mon_table_cache_version
- )
- spider_release_ping_table_mon_list_loop(mutex_hash, table_mon_list);
-
- if (!(table_mon_list = spider_get_ping_table_tgt(thd, str->c_ptr(),
- conv_name_length, link_idx, server_id, str, need_lock, error_num)))
- {
- pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
- goto error;
- }
- table_mon_list->mutex_hash = mutex_hash;
- table_mon_list->mon_table_cache_version = mon_table_cache_version;
- uint old_elements =
- spider_udf_table_mon_list_hash[mutex_hash].array.max_element;
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- table_mon_list->key_hash_value = hash_value;
-#endif
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- if (my_hash_insert_with_hash_value(
- &spider_udf_table_mon_list_hash[mutex_hash],
- hash_value, (uchar*) table_mon_list))
-#else
- if (my_hash_insert(&spider_udf_table_mon_list_hash[mutex_hash],
- (uchar*) table_mon_list))
-#endif
- {
- spider_ping_table_free_mon_list(table_mon_list);
- *error_num = HA_ERR_OUT_OF_MEM;
- my_error(HA_ERR_OUT_OF_MEM, MYF(0));
- pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
- goto error;
- }
- if (spider_udf_table_mon_list_hash[mutex_hash].array.max_element >
- old_elements)
- {
- spider_alloc_calc_mem(spider_current_trx,
- spider_udf_table_mon_list_hash,
- (spider_udf_table_mon_list_hash[mutex_hash].array.max_element -
- old_elements) *
- spider_udf_table_mon_list_hash[mutex_hash].array.size_of_element);
- }
- }
- table_mon_list->use_count++;
- DBUG_PRINT("info",("spider table_mon_list->use_count=%d",
- table_mon_list->use_count));
- pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
- DBUG_RETURN(table_mon_list);
-
-error:
- DBUG_RETURN(NULL);
-}
-
-void spider_free_ping_table_mon_list(
- SPIDER_TABLE_MON_LIST *table_mon_list
-) {
- DBUG_ENTER("spider_free_ping_table_mon_list");
- pthread_mutex_lock(&spider_udf_table_mon_mutexes[
- table_mon_list->mutex_hash]);
- table_mon_list->use_count--;
- DBUG_PRINT("info",("spider table_mon_list->use_count=%d", table_mon_list->use_count));
- if (!table_mon_list->use_count)
- pthread_cond_broadcast(&spider_udf_table_mon_conds[
- table_mon_list->mutex_hash]);
- pthread_mutex_unlock(&spider_udf_table_mon_mutexes[
- table_mon_list->mutex_hash]);
- DBUG_VOID_RETURN;
-}
-
-void spider_release_ping_table_mon_list_loop(
- uint mutex_hash,
- SPIDER_TABLE_MON_LIST *table_mon_list
-) {
- DBUG_ENTER("spider_release_ping_table_mon_list_loop");
-#ifdef HASH_UPDATE_WITH_HASH_VALUE
- my_hash_delete_with_hash_value(&spider_udf_table_mon_list_hash[mutex_hash],
- table_mon_list->key_hash_value, (uchar*) table_mon_list);
-#else
- my_hash_delete(&spider_udf_table_mon_list_hash[mutex_hash],
- (uchar*) table_mon_list);
-#endif
- while (TRUE)
- {
- if (table_mon_list->use_count)
- pthread_cond_wait(&spider_udf_table_mon_conds[mutex_hash],
- &spider_udf_table_mon_mutexes[mutex_hash]);
- else {
- spider_ping_table_free_mon_list(table_mon_list);
- break;
- }
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_release_ping_table_mon_list(
- const char *conv_name,
- uint conv_name_length,
- int link_idx
-) {
- uint mutex_hash;
- SPIDER_TABLE_MON_LIST *table_mon_list;
- char link_idx_str[SPIDER_SQL_INT_LEN];
- int link_idx_str_length;
- DBUG_ENTER("spider_release_ping_table_mon_list");
- DBUG_PRINT("info", ("spider conv_name=%s", conv_name));
- DBUG_PRINT("info", ("spider conv_name_length=%u", conv_name_length));
- DBUG_PRINT("info", ("spider link_idx=%d", link_idx));
- link_idx_str_length = my_sprintf(link_idx_str, (link_idx_str, "%010d",
- link_idx));
-#ifdef _MSC_VER
- spider_string conv_name_str(conv_name_length + link_idx_str_length + 1);
- conv_name_str.set_charset(system_charset_info);
-#else
- char buf[conv_name_length + link_idx_str_length + 1];
- spider_string conv_name_str(buf, conv_name_length + link_idx_str_length + 1,
- system_charset_info);
-#endif
- conv_name_str.init_calc_mem(134);
- conv_name_str.length(0);
- conv_name_str.q_append(conv_name, conv_name_length);
- conv_name_str.q_append(link_idx_str, link_idx_str_length);
-
- mutex_hash = spider_udf_calc_hash(conv_name_str.c_ptr_safe(),
- spider_param_udf_table_mon_mutex_count());
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- my_hash_value_type hash_value = my_calc_hash(
- &spider_udf_table_mon_list_hash[mutex_hash],
- (uchar*) conv_name_str.c_ptr(), conv_name_str.length());
-#endif
- pthread_mutex_lock(&spider_udf_table_mon_mutexes[mutex_hash]);
-#ifdef SPIDER_HAS_HASH_VALUE_TYPE
- if ((table_mon_list = (SPIDER_TABLE_MON_LIST *)
- my_hash_search_using_hash_value(
- &spider_udf_table_mon_list_hash[mutex_hash], hash_value,
- (uchar*) conv_name_str.c_ptr(), conv_name_str.length())))
-#else
- if ((table_mon_list = (SPIDER_TABLE_MON_LIST *) my_hash_search(
- &spider_udf_table_mon_list_hash[mutex_hash],
- (uchar*) conv_name_str.c_ptr(), conv_name_str.length())))
-#endif
- spider_release_ping_table_mon_list_loop(mutex_hash, table_mon_list);
- pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
- DBUG_VOID_RETURN;
-}
-
-int spider_get_ping_table_mon(
- THD *thd,
- SPIDER_TABLE_MON_LIST *table_mon_list,
- char *name,
- uint name_length,
- int link_idx,
- uint32 server_id,
- MEM_ROOT *mem_root,
- bool need_lock
-) {
- int error_num;
- TABLE *table_link_mon = NULL;
-#if MYSQL_VERSION_ID < 50500
- Open_tables_state open_tables_backup;
-#else
- Open_tables_backup open_tables_backup;
-#endif
- char table_key[MAX_KEY_LENGTH];
- SPIDER_TABLE_MON *table_mon, *table_mon_prev = NULL;
- SPIDER_SHARE *tmp_share;
- char **tmp_connect_info, *tmp_ptr;
- uint *tmp_connect_info_length;
- long *tmp_long;
- longlong *tmp_longlong;
- int list_size = 0;
- DBUG_ENTER("spider_get_ping_table_mon");
-
- if (
- !(table_link_mon = spider_open_sys_table(
- thd, SPIDER_SYS_LINK_MON_TABLE_NAME_STR,
- SPIDER_SYS_LINK_MON_TABLE_NAME_LEN, FALSE, &open_tables_backup,
- need_lock, &error_num))
- ) {
- my_error(error_num, MYF(0));
- goto error;
- }
- spider_store_tables_name(table_link_mon, name, name_length);
- spider_store_tables_link_idx(table_link_mon, link_idx);
- if (!(error_num = spider_ping_table_cache_compare(table_link_mon, mem_root)))
- goto create_table_mon;
- if (error_num == HA_ERR_OUT_OF_MEM)
- goto error;
- if ((tmp_ptr = strstr(name, "#P#")))
- {
- *tmp_ptr = '\0';
- spider_store_tables_name(table_link_mon, name, strlen(name));
- *tmp_ptr = '#';
- if (!(error_num = spider_ping_table_cache_compare(table_link_mon,
- mem_root)))
- goto create_table_mon;
- if (error_num == HA_ERR_OUT_OF_MEM)
- goto error;
- }
- error_num = HA_ERR_KEY_NOT_FOUND;
- table_link_mon->file->print_error(error_num, MYF(0));
- goto error;
-
-create_table_mon:
- if ((error_num = spider_get_sys_table_by_idx(table_link_mon, table_key,
- table_link_mon->s->primary_key, 3)))
- {
- table_link_mon->file->print_error(error_num, MYF(0));
- goto error;
- }
-
- do {
- if (!(table_mon = (SPIDER_TABLE_MON *)
- spider_bulk_malloc(spider_current_trx, 35, MYF(MY_WME | MY_ZEROFILL),
- &table_mon, sizeof(SPIDER_TABLE_MON),
- &tmp_share, sizeof(SPIDER_SHARE),
- &tmp_connect_info, sizeof(char *) * SPIDER_TMP_SHARE_CHAR_PTR_COUNT,
- &tmp_connect_info_length, sizeof(uint) * SPIDER_TMP_SHARE_UINT_COUNT,
- &tmp_long, sizeof(long) * SPIDER_TMP_SHARE_LONG_COUNT,
- &tmp_longlong, sizeof(longlong) * SPIDER_TMP_SHARE_LONGLONG_COUNT,
- NullS))
- ) {
- spider_sys_index_end(table_link_mon);
- error_num = HA_ERR_OUT_OF_MEM;
- my_error(HA_ERR_OUT_OF_MEM, MYF(0));
- goto error;
- }
- spider_set_tmp_share_pointer(tmp_share, tmp_connect_info,
- tmp_connect_info_length, tmp_long, tmp_longlong);
- tmp_share->link_statuses[0] = -1;
- table_mon->share = tmp_share;
- if (table_mon_prev)
- table_mon_prev->next = table_mon;
- else
- table_mon_list->first = table_mon;
- table_mon_prev = table_mon;
- if (
- (error_num = spider_get_sys_link_mon_server_id(
- table_link_mon, &table_mon->server_id, mem_root)) ||
- (error_num = spider_get_sys_link_mon_connect_info(
- table_link_mon, tmp_share, 0, mem_root))
- ) {
- table_link_mon->file->print_error(error_num, MYF(0));
- spider_sys_index_end(table_link_mon);
- goto error;
- }
- if (
- (error_num = spider_set_connect_info_default(
- tmp_share,
-#ifdef WITH_PARTITION_STORAGE_ENGINE
- NULL,
- NULL,
-#endif
- NULL
- )) ||
- (error_num = spider_set_connect_info_default_dbtable(
- tmp_share, name, name_length
- )) ||
- (error_num = spider_create_conn_keys(tmp_share))
- ) {
- spider_sys_index_end(table_link_mon);
- goto error;
- }
- DBUG_PRINT("info",("spider table_mon->server_id=%u",
- table_mon->server_id));
- DBUG_PRINT("info",("spider server_id=%u", server_id));
- if (table_mon->server_id == server_id)
- table_mon_list->current = table_mon;
- list_size++;
- error_num = spider_sys_index_next_same(table_link_mon, table_key);
- } while (error_num == 0);
- spider_sys_index_end(table_link_mon);
- spider_close_sys_table(thd, table_link_mon,
- &open_tables_backup, need_lock);
- table_link_mon = NULL;
- table_mon_list->list_size = list_size;
-
- if (!table_mon_list->current)
- {
- error_num = ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_NUM;
- my_printf_error(ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_NUM,
- ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_STR, MYF(0));
- goto error;
- }
-
- DBUG_RETURN(0);
-
-error:
- if (table_link_mon)
- spider_close_sys_table(thd, table_link_mon,
- &open_tables_backup, need_lock);
- table_mon = table_mon_list->first;
- table_mon_list->first = NULL;
- table_mon_list->current = NULL;
- while (table_mon)
- {
- spider_free_tmp_share_alloc(table_mon->share);
- table_mon_prev = table_mon->next;
- spider_free(spider_current_trx, table_mon, MYF(0));
- table_mon = table_mon_prev;
- }
- DBUG_RETURN(error_num);
-}
-
-SPIDER_TABLE_MON_LIST *spider_get_ping_table_tgt(
- THD *thd,
- char *name,
- uint name_length,
- int link_idx,
- uint32 server_id,
- spider_string *str,
- bool need_lock,
- int *error_num
-) {
- TABLE *table_tables = NULL;
-#if MYSQL_VERSION_ID < 50500
- Open_tables_state open_tables_backup;
-#else
- Open_tables_backup open_tables_backup;
-#endif
- char table_key[MAX_KEY_LENGTH];
-
- SPIDER_TABLE_MON_LIST *table_mon_list = NULL;
- SPIDER_SHARE *tmp_share;
- char **tmp_connect_info;
- uint *tmp_connect_info_length;
- long *tmp_long;
- longlong *tmp_longlong;
- char *key_str;
- MEM_ROOT mem_root;
- DBUG_ENTER("spider_get_ping_table_tgt");
-
- SPD_INIT_ALLOC_ROOT(&mem_root, 4096, 0, MYF(MY_WME));
- if (!(table_mon_list = (SPIDER_TABLE_MON_LIST *)
- spider_bulk_malloc(spider_current_trx, 36, MYF(MY_WME | MY_ZEROFILL),
- &table_mon_list, sizeof(SPIDER_TABLE_MON_LIST),
- &tmp_share, sizeof(SPIDER_SHARE),
- &tmp_connect_info, sizeof(char *) * SPIDER_TMP_SHARE_CHAR_PTR_COUNT,
- &tmp_connect_info_length, sizeof(uint) * SPIDER_TMP_SHARE_UINT_COUNT,
- &tmp_long, sizeof(long) * SPIDER_TMP_SHARE_LONG_COUNT,
- &tmp_longlong, sizeof(longlong) * SPIDER_TMP_SHARE_LONGLONG_COUNT,
- &key_str, str->length() + 1,
- NullS))
- ) {
- my_error(HA_ERR_OUT_OF_MEM, MYF(0));
- goto error;
- }
- spider_set_tmp_share_pointer(tmp_share, tmp_connect_info,
- tmp_connect_info_length, tmp_long, tmp_longlong);
- table_mon_list->share = tmp_share;
- table_mon_list->key = key_str;
- table_mon_list->key_length = str->length();
- memcpy(key_str, str->ptr(), table_mon_list->key_length);
- tmp_share->access_charset = thd->variables.character_set_client;
-
- if (
- !(table_tables = spider_open_sys_table(
- thd, SPIDER_SYS_TABLES_TABLE_NAME_STR,
- SPIDER_SYS_TABLES_TABLE_NAME_LEN, FALSE, &open_tables_backup, need_lock,
- error_num))
- ) {
- my_error(*error_num, MYF(0));
- goto error;
- }
- spider_store_tables_name(table_tables, name, name_length);
- spider_store_tables_link_idx(table_tables, link_idx);
- if (
- (*error_num = spider_check_sys_table(table_tables, table_key)) ||
- (*error_num = spider_get_sys_tables_connect_info(
- table_tables, tmp_share, 0, &mem_root)) ||
- (*error_num = spider_get_sys_tables_link_status(
- table_tables, tmp_share, 0, &mem_root))
- ) {
- table_tables->file->print_error(*error_num, MYF(0));
- goto error;
- }
- spider_close_sys_table(thd, table_tables,
- &open_tables_backup, need_lock);
- table_tables = NULL;
-
- if (
- (*error_num = spider_set_connect_info_default(
- tmp_share,
-#ifdef WITH_PARTITION_STORAGE_ENGINE
- NULL,
- NULL,
-#endif
- NULL
- )) ||
- (*error_num = spider_set_connect_info_default_dbtable(
- tmp_share, name, name_length
- )) ||
- (*error_num = spider_create_conn_keys(tmp_share)) ||
-/*
- (*error_num = spider_db_create_table_names_str(tmp_share)) ||
-*/
- (*error_num = spider_get_ping_table_mon(
- thd, table_mon_list, name, name_length, link_idx, server_id, &mem_root,
- need_lock))
- )
- goto error;
-
- if (tmp_share->link_statuses[0] == SPIDER_LINK_STATUS_NG)
- table_mon_list->mon_status = SPIDER_LINK_MON_NG;
-
-#if MYSQL_VERSION_ID < 50500
- if (pthread_mutex_init(&table_mon_list->caller_mutex, MY_MUTEX_INIT_FAST))
-#else
- if (mysql_mutex_init(spd_key_mutex_mon_list_caller,
- &table_mon_list->caller_mutex, MY_MUTEX_INIT_FAST))
-#endif
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- goto error_caller_mutex_init;
- }
-#if MYSQL_VERSION_ID < 50500
- if (pthread_mutex_init(&table_mon_list->receptor_mutex, MY_MUTEX_INIT_FAST))
-#else
- if (mysql_mutex_init(spd_key_mutex_mon_list_receptor,
- &table_mon_list->receptor_mutex, MY_MUTEX_INIT_FAST))
-#endif
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- goto error_receptor_mutex_init;
- }
-#if MYSQL_VERSION_ID < 50500
- if (pthread_mutex_init(&table_mon_list->monitor_mutex, MY_MUTEX_INIT_FAST))
-#else
- if (mysql_mutex_init(spd_key_mutex_mon_list_monitor,
- &table_mon_list->monitor_mutex, MY_MUTEX_INIT_FAST))
-#endif
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- goto error_monitor_mutex_init;
- }
-#if MYSQL_VERSION_ID < 50500
- if (pthread_mutex_init(&table_mon_list->update_status_mutex,
- MY_MUTEX_INIT_FAST))
-#else
- if (mysql_mutex_init(spd_key_mutex_mon_list_update_status,
- &table_mon_list->update_status_mutex, MY_MUTEX_INIT_FAST))
-#endif
- {
- *error_num = HA_ERR_OUT_OF_MEM;
- goto error_update_status_mutex_init;
- }
-
- free_root(&mem_root, MYF(0));
- DBUG_RETURN(table_mon_list);
-
-error_update_status_mutex_init:
- pthread_mutex_destroy(&table_mon_list->monitor_mutex);
-error_monitor_mutex_init:
- pthread_mutex_destroy(&table_mon_list->receptor_mutex);
-error_receptor_mutex_init:
- pthread_mutex_destroy(&table_mon_list->caller_mutex);
-error_caller_mutex_init:
-error:
- if (table_tables)
- spider_close_sys_table(thd, table_tables,
- &open_tables_backup, need_lock);
- free_root(&mem_root, MYF(0));
- if (table_mon_list)
- {
- spider_free_tmp_share_alloc(table_mon_list->share);
- spider_free(spider_current_trx, table_mon_list, MYF(0));
- }
- DBUG_RETURN(NULL);
-}
-
-SPIDER_CONN *spider_get_ping_table_tgt_conn(
- SPIDER_TRX *trx,
- SPIDER_SHARE *share,
- int *error_num
-) {
- SPIDER_CONN *conn;
- DBUG_ENTER("spider_get_ping_table_tgt_conn");
-#ifndef WITHOUT_SPIDER_BG_SEARCH
- if (trx == spider_global_trx)
- pthread_mutex_lock(&spider_global_trx_mutex);
-#endif
- if (
- !(conn = spider_get_conn(
- share, 0, share->conn_keys[0], trx, NULL, FALSE, FALSE,
- SPIDER_CONN_KIND_MYSQL, error_num))
- ) {
-#ifndef WITHOUT_SPIDER_BG_SEARCH
- if (trx == spider_global_trx)
- pthread_mutex_unlock(&spider_global_trx_mutex);
-#endif
- my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
- share->server_names[0]);
- *error_num = ER_CONNECT_TO_FOREIGN_DATA_SOURCE;
- goto error;
- }
- conn->error_mode = 0;
-#ifndef WITHOUT_SPIDER_BG_SEARCH
- if (trx == spider_global_trx)
- pthread_mutex_unlock(&spider_global_trx_mutex);
-#endif
- DBUG_RETURN(conn);
-
-error:
- DBUG_RETURN(NULL);
-}
-
-int spider_init_ping_table_mon_cache(
- THD *thd,
- MEM_ROOT *mem_root,
- bool need_lock
-) {
- int error_num, same;
- TABLE *table_link_mon = NULL;
-#if MYSQL_VERSION_ID < 50500
- Open_tables_state open_tables_backup;
-#else
- Open_tables_backup open_tables_backup;
-#endif
- SPIDER_MON_KEY mon_key;
- DBUG_ENTER("spider_init_ping_table_mon_cache");
-
- if (
- !(table_link_mon = spider_open_sys_table(
- thd, SPIDER_SYS_LINK_MON_TABLE_NAME_STR,
- SPIDER_SYS_LINK_MON_TABLE_NAME_LEN, FALSE, &open_tables_backup,
- need_lock, &error_num))
- ) {
- my_error(error_num, MYF(0));
- goto error_open_sys_table;
- }
-
- pthread_mutex_lock(&spider_mon_table_cache_mutex);
- if (spider_mon_table_cache_version != spider_mon_table_cache_version_req)
- {
- /* reset */
- spider_mon_table_cache.elements = 0;
-
- if ((error_num = spider_sys_index_first(table_link_mon,
- table_link_mon->s->primary_key)))
- {
- if (error_num != HA_ERR_KEY_NOT_FOUND && error_num != HA_ERR_END_OF_FILE)
- {
- table_link_mon->file->print_error(error_num, MYF(0));
- goto error_sys_index_first;
- }
- }
-
- if (!error_num)
- {
- mon_key.db_name_length = SPIDER_SYS_LINK_MON_TABLE_DB_NAME_SIZE + 1;
- mon_key.table_name_length = SPIDER_SYS_LINK_MON_TABLE_TABLE_NAME_SIZE + 1;
- mon_key.link_id_length = SPIDER_SYS_LINK_MON_TABLE_LINK_ID_SIZE + 1;
- do {
- if ((error_num = spider_get_sys_link_mon_key(table_link_mon, &mon_key,
- mem_root, &same)))
- goto error_get_sys_link_mon_key;
-
- if (!same)
- {
- mon_key.sort = spider_calc_for_sort(3, mon_key.db_name,
- mon_key.table_name, mon_key.link_id);
- if (push_dynamic(&spider_mon_table_cache, (uchar *) &mon_key))
- {
- error_num = HA_ERR_OUT_OF_MEM;
- goto error_push_dynamic;
- }
- }
-
- if ((error_num = spider_sys_index_next(table_link_mon)))
- {
- if (
- error_num != HA_ERR_KEY_NOT_FOUND &&
- error_num != HA_ERR_END_OF_FILE
- ) {
- table_link_mon->file->print_error(error_num, MYF(0));
- goto error_sys_index_next;
- }
- }
- } while (!error_num);
- spider_sys_index_end(table_link_mon);
- }
- my_qsort(
- (uchar *) dynamic_element(&spider_mon_table_cache, 0, SPIDER_MON_KEY *),
- spider_mon_table_cache.elements, sizeof(SPIDER_MON_KEY),
- (qsort_cmp) spider_compare_for_sort);
- uint old_elements = spider_mon_table_cache.max_element;
- freeze_size(&spider_mon_table_cache);
- if (spider_mon_table_cache.max_element < old_elements)
- {
- spider_free_mem_calc(spider_current_trx,
- spider_mon_table_cache_id,
- spider_mon_table_cache.max_element *
- spider_mon_table_cache.size_of_element);
- }
- spider_mon_table_cache_version = spider_mon_table_cache_version_req;
- }
- pthread_mutex_unlock(&spider_mon_table_cache_mutex);
- spider_close_sys_table(thd, table_link_mon, &open_tables_backup, need_lock);
- DBUG_RETURN(0);
-
-error_push_dynamic:
-error_get_sys_link_mon_key:
-error_sys_index_next:
- spider_sys_index_end(table_link_mon);
-error_sys_index_first:
- pthread_mutex_unlock(&spider_mon_table_cache_mutex);
- spider_close_sys_table(thd, table_link_mon, &open_tables_backup, need_lock);
-error_open_sys_table:
- DBUG_RETURN(error_num);
-}
-
-int spider_ping_table_cache_compare(
- TABLE *table,
- MEM_ROOT *mem_root
-) {
- uint32 roop_count;
- SPIDER_MON_KEY *mon_key;
- char *db_name, *table_name, *link_id;
- DBUG_ENTER("spider_ping_table_cache_compare");
-
- if (
- !(db_name = get_field(mem_root, table->field[0])) ||
- !(table_name = get_field(mem_root, table->field[1])) ||
- !(link_id = get_field(mem_root, table->field[2]))
- )
- DBUG_RETURN(HA_ERR_OUT_OF_MEM);
- DBUG_PRINT("info", ("spider db_name=%s", db_name));
- DBUG_PRINT("info", ("spider table_name=%s", table_name));
- DBUG_PRINT("info", ("spider link_id=%s", link_id));
-
- pthread_mutex_lock(&spider_mon_table_cache_mutex);
- for (roop_count = 0; roop_count < spider_mon_table_cache.elements;
- roop_count++)
- {
- mon_key = dynamic_element(&spider_mon_table_cache, roop_count,
- SPIDER_MON_KEY *);
- DBUG_PRINT("info", ("spider roop_count=%d", roop_count));
- DBUG_PRINT("info", ("spider mon_key.db_name=%s", mon_key->db_name));
- DBUG_PRINT("info", ("spider mon_key.table_name=%s", mon_key->table_name));
- DBUG_PRINT("info", ("spider mon_key.link_id=%s", mon_key->link_id));
- if (
- !wild_case_compare(system_charset_info, db_name, mon_key->db_name) &&
- !wild_case_compare(system_charset_info, table_name,
- mon_key->table_name) &&
- !wild_case_compare(system_charset_info, link_id, mon_key->link_id)
- ) {
- spider_store_db_and_table_name(
- table,
- mon_key->db_name,
- mon_key->db_name_length,
- mon_key->table_name,
- mon_key->table_name_length
- );
- spider_store_tables_link_idx_str(
- table,
- mon_key->link_id,
- mon_key->link_id_length
- );
- pthread_mutex_unlock(&spider_mon_table_cache_mutex);
- DBUG_PRINT("info", ("spider found"));
- DBUG_RETURN(0);
- }
- }
- pthread_mutex_unlock(&spider_mon_table_cache_mutex);
- DBUG_PRINT("info", ("spider not found"));
- DBUG_RETURN(1);
-}
-
-long long spider_ping_table_body(
- UDF_INIT *initid,
- UDF_ARGS *args,
- char *is_null,
- char *error
-) {
- int error_num = 0, link_idx, flags, full_mon_count, current_mon_count,
- success_count, fault_count, tmp_error_num = 0;
- uint32 first_sid;
- longlong limit, tmp_sid = -1;
- SPIDER_MON_TABLE_RESULT *mon_table_result =
- (SPIDER_MON_TABLE_RESULT *) initid->ptr;
- SPIDER_TRX *trx = mon_table_result->trx;
- THD *thd = trx->thd;
- SPIDER_CONN *ping_conn = NULL, *mon_conn;
- char *where_clause;
- SPIDER_TABLE_MON_LIST *table_mon_list;
- SPIDER_TABLE_MON *table_mon;
-
- char buf[MAX_FIELD_WIDTH];
- spider_string conv_name(buf, sizeof(buf), system_charset_info);
- int conv_name_length;
- char link_idx_str[SPIDER_SQL_INT_LEN];
- int link_idx_str_length;
- bool get_lock = FALSE;
- DBUG_ENTER("spider_ping_table_body");
- conv_name.init_calc_mem(135);
- conv_name.length(0);
- if (
- thd->open_tables != 0 ||
- thd->handler_tables_hash.records != 0 ||
- thd->derived_tables != 0 ||
- thd->lock != 0 ||
-#if MYSQL_VERSION_ID < 50500
- thd->locked_tables != 0 ||
- thd->prelocked_mode != NON_PRELOCKED
-#else
- thd->locked_tables_list.locked_tables() ||
- thd->locked_tables_mode != LTM_NONE
-#endif
- ) {
- if (thd->open_tables != 0)
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
- "thd->open_tables", thd->open_tables);
- } else if (thd->handler_tables_hash.records != 0)
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_NUM, MYF(0),
- "thd->handler_tables_hash.records",
- (longlong) thd->handler_tables_hash.records);
- } else if (thd->derived_tables != 0)
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
- "thd->derived_tables", thd->derived_tables);
- } else if (thd->lock != 0)
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
- "thd->lock", thd->lock);
-#if MYSQL_VERSION_ID < 50500
- } else if (thd->locked_tables != 0)
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
- "thd->locked_tables", thd->locked_tables);
- } else if (thd->prelocked_mode != NON_PRELOCKED)
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_NUM, MYF(0),
- "thd->prelocked_mode", (longlong) thd->prelocked_mode);
-#else
- } else if (thd->locked_tables_list.locked_tables())
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
- "thd->locked_tables_list.locked_tables()",
- thd->locked_tables_list.locked_tables());
- } else if (thd->locked_tables_mode != LTM_NONE)
- {
- my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
- ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_NUM, MYF(0),
- "thd->locked_tables_mode", (longlong) thd->locked_tables_mode);
-#endif
- }
- goto error;
- }
-
- if (
- args->lengths[0] > SPIDER_CONNECT_INFO_MAX_LEN
- ) {
- my_printf_error(ER_SPIDER_UDF_PING_TABLE_PARAM_TOO_LONG_NUM,
- ER_SPIDER_UDF_PING_TABLE_PARAM_TOO_LONG_STR, MYF(0));
- goto error;
- }
- if (
- args->lengths[0] == 0
- ) {
- my_printf_error(ER_SPIDER_UDF_PING_TABLE_PARAM_REQIRED_NUM,
- ER_SPIDER_UDF_PING_TABLE_PARAM_REQIRED_STR, MYF(0));
- goto error;
- }
-
- link_idx = (int) (args->args[1] ? *((longlong *) args->args[1]) : 0);
- flags = (int) (args->args[2] ? *((longlong *) args->args[2]) : 0);
- limit = args->args[3] ? *((longlong *) args->args[3]) : 0;
- where_clause = args->args[4] ? args->args[4] : (char *) "";
-
- link_idx_str_length = my_sprintf(link_idx_str, (link_idx_str, "%010d",
- link_idx));
-
- if (conv_name.append(args->args[0], args->lengths[0],
- trx->thd->variables.character_set_client))
- {
- my_error(HA_ERR_OUT_OF_MEM, MYF(0));
- goto error;
- }
- conv_name_length = conv_name.length();
- if (conv_name.reserve(link_idx_str_length + 1))
- {
- my_error(HA_ERR_OUT_OF_MEM, MYF(0));
- goto error;
- }
- conv_name.q_append(link_idx_str, link_idx_str_length + 1);
- conv_name.length(conv_name.length() - 1);
-
-#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100002
- if (!(table_mon_list = spider_get_ping_table_mon_list(trx, trx->thd,
- &conv_name, conv_name_length, link_idx, global_system_variables.server_id,
- TRUE, &error_num)))
-#else
- if (!(table_mon_list = spider_get_ping_table_mon_list(trx, trx->thd,
- &conv_name, conv_name_length, link_idx, thd->server_id, TRUE, &error_num)))
-#endif
- goto error;
-
- if (table_mon_list->mon_status == SPIDER_LINK_MON_NG)
- {
- mon_table_result->result_status = SPIDER_LINK_MON_NG;
- DBUG_PRINT("info",
- ("spider mon_table_result->result_status=SPIDER_LINK_MON_NG 1"));
- goto end;
- }
-
- if (args->args[5])
- tmp_sid = *((longlong *) args->args[5]);
-
- if (tmp_sid >= 0)
- {
- first_sid = (uint32) tmp_sid;
- full_mon_count = (int) (args->args[6] ? *((longlong *) args->args[6]) : 0);
- current_mon_count =
- (int) (args->args[7] ? *((longlong *) args->args[7]) + 1 : 1);
- if (full_mon_count != table_mon_list->list_size)
- {
- my_printf_error(ER_SPIDER_UDF_PING_TABLE_DIFFERENT_MON_NUM,
- ER_SPIDER_UDF_PING_TABLE_DIFFERENT_MON_STR, MYF(0));
- goto error_with_free_table_mon_list;
- }
- } else {
-#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100002
- first_sid = global_system_variables.server_id;
-#else
- first_sid = thd->server_id;
-#endif
- full_mon_count = table_mon_list->list_size;
- current_mon_count = 1;
- }
-
- success_count = (int) (args->args[8] ? *((longlong *) args->args[8]) : 0);
- fault_count = (int) (args->args[9] ? *((longlong *) args->args[9]) : 0);
- if (
- table_mon_list->mon_status != SPIDER_LINK_MON_NG &&
- !(ping_conn = spider_get_ping_table_tgt_conn(trx,
- table_mon_list->share, &error_num))
- ) {
- if (error_num == HA_ERR_OUT_OF_MEM)
- goto error_with_free_table_mon_list;
- else
- thd->clear_error();
- }
- if (
- table_mon_list->mon_status == SPIDER_LINK_MON_NG ||
- error_num ||
- (tmp_error_num = spider_db_udf_ping_table(table_mon_list, table_mon_list->share, trx,
- ping_conn, where_clause, args->lengths[4],
- (flags & SPIDER_UDF_PING_TABLE_PING_ONLY),
- (flags & SPIDER_UDF_PING_TABLE_USE_WHERE),
- limit
- ))
- ) {
- if (tmp_error_num == HA_ERR_OUT_OF_MEM)
- goto error_with_free_table_mon_list;
- else if(tmp_error_num)
- thd->clear_error();
- fault_count++;
- error_num = 0;
- if (fault_count > full_mon_count / 2)
- {
- mon_table_result->result_status = SPIDER_LINK_MON_NG;
- DBUG_PRINT("info",("spider mon_table_result->result_status=SPIDER_LINK_MON_NG 2"));
- if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
- {
- pthread_mutex_lock(&table_mon_list->update_status_mutex);
- if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
- {
- table_mon_list->mon_status = SPIDER_LINK_MON_NG;
- table_mon_list->share->link_statuses[0] = SPIDER_LINK_STATUS_NG;
- spider_sys_update_tables_link_status(trx->thd,
- conv_name.c_ptr(), conv_name_length, link_idx,
- SPIDER_LINK_STATUS_NG, TRUE);
- spider_sys_log_tables_link_failed(trx->thd,
- conv_name.c_ptr(), conv_name_length, link_idx, TRUE);
- }
- pthread_mutex_unlock(&table_mon_list->update_status_mutex);
- }
- goto end;
- }
- } else {
- success_count++;
- if (success_count > full_mon_count / 2)
- {
- mon_table_result->result_status = SPIDER_LINK_MON_OK;
- DBUG_PRINT("info",("spider mon_table_result->result_status=SPIDER_LINK_MON_OK 1"));
- goto end;
- }
- }
-
- if (tmp_sid < 0)
- {
- if (!pthread_mutex_trylock(&table_mon_list->receptor_mutex))
- get_lock = TRUE;
- }
-
- if (
- tmp_sid >= 0 ||
- get_lock
- ) {
- table_mon = table_mon_list->current->next;
- while (TRUE)
- {
- if (!table_mon)
- table_mon = table_mon_list->first;
- if (
- table_mon->server_id == first_sid ||
- current_mon_count > full_mon_count
- ) {
- if (success_count + fault_count > full_mon_count / 2)
- {
- mon_table_result->result_status = SPIDER_LINK_MON_DRAW;
- DBUG_PRINT("info",(
- "spider mon_table_result->result_status=SPIDER_LINK_MON_DRAW 1"));
- } else {
- mon_table_result->result_status = SPIDER_LINK_MON_DRAW_FEW_MON;
- DBUG_PRINT("info",(
- "spider mon_table_result->result_status=SPIDER_LINK_MON_DRAW_FEW_MON 1"));
- }
- table_mon_list->last_receptor_result = mon_table_result->result_status;
- break;
- }
- if ((mon_conn = spider_get_ping_table_tgt_conn(trx,
- table_mon->share, &error_num))
- ) {
- if (!spider_db_udf_ping_table_mon_next(
- thd, table_mon, mon_conn, mon_table_result, args->args[0],
- args->lengths[0], link_idx,
- where_clause, args->lengths[4], first_sid, full_mon_count,
- current_mon_count, success_count, fault_count, flags, limit))
- {
- if (
- mon_table_result->result_status == SPIDER_LINK_MON_NG &&
- table_mon_list->mon_status != SPIDER_LINK_MON_NG
- ) {
- pthread_mutex_lock(&table_mon_list->update_status_mutex);
- if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
- {
- table_mon_list->mon_status = SPIDER_LINK_MON_NG;
- table_mon_list->share->link_statuses[0] = SPIDER_LINK_STATUS_NG;
- spider_sys_update_tables_link_status(trx->thd,
- conv_name.c_ptr(), conv_name_length, link_idx,
- SPIDER_LINK_STATUS_NG, TRUE);
- spider_sys_log_tables_link_failed(trx->thd,
- conv_name.c_ptr(), conv_name_length, link_idx, TRUE);
- }
- pthread_mutex_unlock(&table_mon_list->update_status_mutex);
- }
- table_mon_list->last_receptor_result =
- mon_table_result->result_status;
- break;
- }
- }
- thd->clear_error();
- table_mon = table_mon->next;
- current_mon_count++;
- }
- if (get_lock)
- pthread_mutex_unlock(&table_mon_list->receptor_mutex);
- } else {
- pthread_mutex_lock(&table_mon_list->receptor_mutex);
- mon_table_result->result_status = table_mon_list->last_receptor_result;
- DBUG_PRINT("info",("spider mon_table_result->result_status=%d 1",
- table_mon_list->last_receptor_result));
- pthread_mutex_unlock(&table_mon_list->receptor_mutex);
- }
-
-end:
- spider_free_ping_table_mon_list(table_mon_list);
- DBUG_RETURN(mon_table_result->result_status);
-
-error_with_free_table_mon_list:
- spider_free_ping_table_mon_list(table_mon_list);
-error:
- *error = 1;
- DBUG_RETURN(0);
-}
-
-my_bool spider_ping_table_init_body(
- UDF_INIT *initid,
- UDF_ARGS *args,
- char *message
-) {
- int error_num;
- THD *thd = current_thd;
- SPIDER_TRX *trx;
- SPIDER_MON_TABLE_RESULT *mon_table_result = NULL;
- DBUG_ENTER("spider_ping_table_init_body");
- if (args->arg_count != 10)
- {
- strcpy(message, "spider_ping_table() requires 10 arguments");
- goto error;
- }
- if (
- args->arg_type[0] != STRING_RESULT ||
- args->arg_type[4] != STRING_RESULT
- ) {
- strcpy(message, "spider_ping_table() requires string 1st "
- "and 5th arguments");
- goto error;
- }
- if (
- args->arg_type[1] != INT_RESULT ||
- args->arg_type[2] != INT_RESULT ||
- args->arg_type[3] != INT_RESULT ||
- args->arg_type[5] != INT_RESULT ||
- args->arg_type[6] != INT_RESULT ||
- args->arg_type[7] != INT_RESULT ||
- args->arg_type[8] != INT_RESULT ||
- args->arg_type[9] != INT_RESULT
- ) {
- strcpy(message, "spider_ping_table() requires integer 2nd, 3rd, 4,6,7,8,"
- "9th and 10th argument");
- goto error;
- }
-
- if (!(trx = spider_get_trx(thd, TRUE, &error_num)))
- {
- my_error(error_num, MYF(0));
- strcpy(message, spider_stmt_da_message(thd));
- goto error;
- }
-
- if (!(mon_table_result = (SPIDER_MON_TABLE_RESULT *)
- spider_malloc(spider_current_trx, 11, sizeof(SPIDER_MON_TABLE_RESULT),
- MYF(MY_WME | MY_ZEROFILL)))
- ) {
- strcpy(message, "spider_ping_table() out of memory");
- goto error;
- }
- mon_table_result->trx = trx;
- initid->ptr = (char *) mon_table_result;
- DBUG_RETURN(FALSE);
-
-error:
- if (mon_table_result)
- {
- spider_free(spider_current_trx, mon_table_result, MYF(0));
- }
- DBUG_RETURN(TRUE);
-}
-
-void spider_ping_table_deinit_body(
- UDF_INIT *initid
-) {
- SPIDER_MON_TABLE_RESULT *mon_table_result =
- (SPIDER_MON_TABLE_RESULT *) initid->ptr;
- DBUG_ENTER("spider_ping_table_deinit_body");
- if (mon_table_result)
- {
- spider_free(spider_current_trx, mon_table_result, MYF(0));
- }
- DBUG_VOID_RETURN;
-}
-
-long long spider_flush_table_mon_cache_body()
-{
- DBUG_ENTER("spider_flush_table_mon_cache_body");
- spider_mon_table_cache_version_req++;
- DBUG_RETURN(1);
-}
-
-void spider_ping_table_free_mon_list(
- SPIDER_TABLE_MON_LIST *table_mon_list
-) {
- DBUG_ENTER("spider_ping_table_free_mon_list");
- if (table_mon_list)
- {
- spider_ping_table_free_mon(table_mon_list->first);
- spider_free_tmp_share_alloc(table_mon_list->share);
- pthread_mutex_destroy(&table_mon_list->update_status_mutex);
- pthread_mutex_destroy(&table_mon_list->monitor_mutex);
- pthread_mutex_destroy(&table_mon_list->receptor_mutex);
- pthread_mutex_destroy(&table_mon_list->caller_mutex);
- spider_free(spider_current_trx, table_mon_list, MYF(0));
- }
- DBUG_VOID_RETURN;
-}
-
-void spider_ping_table_free_mon(
- SPIDER_TABLE_MON *table_mon
-) {
- SPIDER_TABLE_MON *table_mon_next;
- DBUG_ENTER("spider_ping_table_free_mon");
- while (table_mon)
- {
- spider_free_tmp_share_alloc(table_mon->share);
- table_mon_next = table_mon->next;
- spider_free(spider_current_trx, table_mon, MYF(0));
- table_mon = table_mon_next;
- }
- DBUG_VOID_RETURN;
-}
-
-int spider_ping_table_mon_from_table(
- SPIDER_TRX *trx,
- THD *thd,
- SPIDER_SHARE *share,
- uint32 server_id,
- char *conv_name,
- uint conv_name_length,
- int link_idx,
- char *where_clause,
- uint where_clause_length,
- long monitoring_kind,
- longlong monitoring_limit,
- bool need_lock
-) {
- int error_num = 0, current_mon_count, flags;
- uint32 first_sid;
-/*
- THD *thd = trx->thd;
-*/
- SPIDER_TABLE_MON_LIST *table_mon_list;
- SPIDER_TABLE_MON *table_mon;
- SPIDER_MON_TABLE_RESULT mon_table_result;
- SPIDER_CONN *mon_conn;
- TABLE_SHARE *table_share = share->table_share;
- char link_idx_str[SPIDER_SQL_INT_LEN];
- int link_idx_str_length;
- uint sql_command = thd_sql_command(thd);
- DBUG_ENTER("spider_ping_table_mon_from_table");
- if (table_share->tmp_table != NO_TMP_TABLE)
- {
- my_printf_error(ER_SPIDER_TMP_TABLE_MON_NUM,
- ER_SPIDER_TMP_TABLE_MON_STR, MYF(0));
- DBUG_RETURN(ER_SPIDER_TMP_TABLE_MON_NUM);
- }
- if (
- sql_command == SQLCOM_DROP_TABLE ||
- sql_command == SQLCOM_ALTER_TABLE
- ) {
- my_printf_error(ER_SPIDER_MON_AT_ALTER_TABLE_NUM,
- ER_SPIDER_MON_AT_ALTER_TABLE_STR, MYF(0));
- DBUG_RETURN(ER_SPIDER_MON_AT_ALTER_TABLE_NUM);
- }
-
- link_idx_str_length = my_sprintf(link_idx_str, (link_idx_str, "%010d",
- link_idx));
-#ifdef _MSC_VER
- spider_string conv_name_str(conv_name_length + link_idx_str_length + 1);
- conv_name_str.set_charset(system_charset_info);
- *((char *)(conv_name_str.ptr() + conv_name_length + link_idx_str_length)) =
- '\0';
-#else
- char buf[conv_name_length + link_idx_str_length + 1];
- buf[conv_name_length + link_idx_str_length] = '\0';
- spider_string conv_name_str(buf, conv_name_length + link_idx_str_length + 1,
- system_charset_info);
-#endif
- conv_name_str.init_calc_mem(136);
- conv_name_str.length(0);
- conv_name_str.q_append(conv_name, conv_name_length);
- conv_name_str.q_append(link_idx_str, link_idx_str_length + 1);
- conv_name_str.length(conv_name_str.length() - 1);
-
- if (monitoring_kind == 1)
- flags = SPIDER_UDF_PING_TABLE_PING_ONLY;
- else if (monitoring_kind == 3)
- flags = SPIDER_UDF_PING_TABLE_USE_WHERE;
- else
- flags = 0;
-
- if (!(table_mon_list = spider_get_ping_table_mon_list(trx, thd,
- &conv_name_str, conv_name_length, link_idx, server_id, need_lock,
- &error_num)))
- goto end;
-
- if (table_mon_list->mon_status == SPIDER_LINK_MON_NG)
- {
- DBUG_PRINT("info",
- ("spider share->link_statuses[%d]=SPIDER_LINK_STATUS_NG", link_idx));
- share->link_statuses[link_idx] = SPIDER_LINK_STATUS_NG;
- error_num = ER_SPIDER_LINK_MON_NG_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_NG_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- goto end_with_free_table_mon_list;
- }
-
- if (!pthread_mutex_trylock(&table_mon_list->caller_mutex))
- {
- table_mon = table_mon_list->current;
- first_sid = table_mon->server_id;
- current_mon_count = 1;
- while (TRUE)
- {
- if (!table_mon)
- table_mon = table_mon_list->first;
- if (
- current_mon_count > table_mon_list->list_size ||
- (current_mon_count > 1 && table_mon->server_id == first_sid)
- ) {
- table_mon_list->last_caller_result = SPIDER_LINK_MON_DRAW_FEW_MON;
- mon_table_result.result_status = SPIDER_LINK_MON_DRAW_FEW_MON;
- DBUG_PRINT("info",(
- "spider mon_table_result->result_status=SPIDER_LINK_MON_DRAW_FEW_MON 1"));
- error_num = ER_SPIDER_LINK_MON_DRAW_FEW_MON_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_DRAW_FEW_MON_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- }
- thd->clear_error();
- if ((mon_conn = spider_get_ping_table_tgt_conn(trx,
- table_mon->share, &error_num))
- ) {
- if (!spider_db_udf_ping_table_mon_next(
- thd, table_mon, mon_conn, &mon_table_result, conv_name,
- conv_name_length, link_idx,
- where_clause, where_clause_length, -1, table_mon_list->list_size,
- 0, 0, 0, flags, monitoring_limit))
- {
- if (
- mon_table_result.result_status == SPIDER_LINK_MON_NG &&
- table_mon_list->mon_status != SPIDER_LINK_MON_NG
- ) {
- pthread_mutex_lock(&table_mon_list->update_status_mutex);
- if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
- {
- table_mon_list->mon_status = SPIDER_LINK_MON_NG;
- table_mon_list->share->link_statuses[0] = SPIDER_LINK_STATUS_NG;
- DBUG_PRINT("info", (
- "spider share->link_statuses[%d]=SPIDER_LINK_STATUS_NG",
- link_idx));
- share->link_statuses[link_idx] = SPIDER_LINK_STATUS_NG;
- spider_sys_update_tables_link_status(thd, conv_name,
- conv_name_length, link_idx, SPIDER_LINK_STATUS_NG, need_lock);
- spider_sys_log_tables_link_failed(thd, conv_name,
- conv_name_length, link_idx, need_lock);
- }
- pthread_mutex_unlock(&table_mon_list->update_status_mutex);
- }
- table_mon_list->last_caller_result = mon_table_result.result_status;
- if (mon_table_result.result_status == SPIDER_LINK_MON_OK)
- {
- error_num = ER_SPIDER_LINK_MON_OK_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_OK_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- }
- if (mon_table_result.result_status == SPIDER_LINK_MON_NG)
- {
- error_num = ER_SPIDER_LINK_MON_NG_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_NG_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- }
- if (mon_table_result.result_status ==
- SPIDER_LINK_MON_DRAW_FEW_MON)
- {
- error_num = ER_SPIDER_LINK_MON_DRAW_FEW_MON_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_DRAW_FEW_MON_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- }
- error_num = ER_SPIDER_LINK_MON_DRAW_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_DRAW_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- }
- }
- table_mon = table_mon->next;
- current_mon_count++;
- }
- pthread_mutex_unlock(&table_mon_list->caller_mutex);
- } else {
- pthread_mutex_lock(&table_mon_list->caller_mutex);
- switch (table_mon_list->last_caller_result)
- {
- case SPIDER_LINK_MON_OK:
- error_num = ER_SPIDER_LINK_MON_OK_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_OK_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- case SPIDER_LINK_MON_NG:
- error_num = ER_SPIDER_LINK_MON_NG_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_NG_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- case SPIDER_LINK_MON_DRAW_FEW_MON:
- error_num = ER_SPIDER_LINK_MON_DRAW_FEW_MON_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_DRAW_FEW_MON_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- default:
- error_num = ER_SPIDER_LINK_MON_DRAW_NUM;
- my_printf_error(error_num,
- ER_SPIDER_LINK_MON_DRAW_STR, MYF(0),
- table_mon_list->share->tgt_dbs[0],
- table_mon_list->share->tgt_table_names[0]);
- break;
- }
- pthread_mutex_unlock(&table_mon_list->caller_mutex);
- }
-
-end_with_free_table_mon_list:
- spider_free_ping_table_mon_list(table_mon_list);
-end:
- DBUG_RETURN(error_num);
-}
+/* Copyright (C) 2009-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#define MYSQL_SERVER 1
+#include "mysql_version.h"
+#if MYSQL_VERSION_ID < 50500
+#include "mysql_priv.h"
+#include <mysql/plugin.h>
+#else
+#include "sql_priv.h"
+#include "probes_mysql.h"
+#include "sql_class.h"
+#include "sql_partition.h"
+#include "sql_acl.h"
+#endif
+#include "spd_err.h"
+#include "spd_param.h"
+#include "spd_db_include.h"
+#include "spd_include.h"
+#include "ha_spider.h"
+#include "spd_db_conn.h"
+#include "spd_trx.h"
+#include "spd_conn.h"
+#include "spd_sys_table.h"
+#include "spd_table.h"
+#include "spd_ping_table.h"
+#include "spd_direct_sql.h"
+#include "spd_udf.h"
+#include "spd_malloc.h"
+
+extern handlerton *spider_hton_ptr;
+
+#ifdef HAVE_PSI_INTERFACE
+extern PSI_mutex_key spd_key_mutex_mon_list_caller;
+extern PSI_mutex_key spd_key_mutex_mon_list_receptor;
+extern PSI_mutex_key spd_key_mutex_mon_list_monitor;
+extern PSI_mutex_key spd_key_mutex_mon_list_update_status;
+extern PSI_mutex_key spd_key_mutex_mon_table_cache;
+#endif
+
+#ifndef WITHOUT_SPIDER_BG_SEARCH
+extern pthread_mutex_t spider_global_trx_mutex;
+extern SPIDER_TRX *spider_global_trx;
+#endif
+
+HASH *spider_udf_table_mon_list_hash;
+uint spider_udf_table_mon_list_hash_id;
+const char *spider_udf_table_mon_list_hash_func_name;
+const char *spider_udf_table_mon_list_hash_file_name;
+ulong spider_udf_table_mon_list_hash_line_no;
+pthread_mutex_t *spider_udf_table_mon_mutexes;
+pthread_cond_t *spider_udf_table_mon_conds;
+
+pthread_mutex_t spider_mon_table_cache_mutex;
+DYNAMIC_ARRAY spider_mon_table_cache;
+uint spider_mon_table_cache_id;
+const char *spider_mon_table_cache_func_name;
+const char *spider_mon_table_cache_file_name;
+ulong spider_mon_table_cache_line_no;
+volatile ulonglong spider_mon_table_cache_version = 0;
+volatile ulonglong spider_mon_table_cache_version_req = 1;
+
+SPIDER_TABLE_MON_LIST *spider_get_ping_table_mon_list(
+ SPIDER_TRX *trx,
+ THD *thd,
+ spider_string *str,
+ uint conv_name_length,
+ int link_idx,
+ uint32 server_id,
+ bool need_lock,
+ int *error_num
+) {
+ uint mutex_hash;
+ SPIDER_TABLE_MON_LIST *table_mon_list;
+ MEM_ROOT mem_root;
+ ulonglong mon_table_cache_version;
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ my_hash_value_type hash_value;
+#endif
+ DBUG_ENTER("spider_get_ping_table_mon_list");
+ if (spider_mon_table_cache_version != spider_mon_table_cache_version_req)
+ {
+ SPD_INIT_ALLOC_ROOT(&mem_root, 4096, 0, MYF(MY_WME));
+ if ((*error_num = spider_init_ping_table_mon_cache(thd, &mem_root,
+ need_lock)))
+ {
+ free_root(&mem_root, MYF(0));
+ goto error;
+ }
+ free_root(&mem_root, MYF(0));
+ }
+
+ mutex_hash = spider_udf_calc_hash(str->c_ptr(),
+ spider_param_udf_table_mon_mutex_count());
+ DBUG_PRINT("info",("spider hash key=%s", str->c_ptr()));
+ DBUG_PRINT("info",("spider hash key length=%u", str->length()));
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ hash_value = my_calc_hash(
+ &spider_udf_table_mon_list_hash[mutex_hash],
+ (uchar*) str->c_ptr(), str->length());
+#endif
+ pthread_mutex_lock(&spider_udf_table_mon_mutexes[mutex_hash]);
+ mon_table_cache_version = (ulonglong) spider_mon_table_cache_version;
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ if (!(table_mon_list = (SPIDER_TABLE_MON_LIST *)
+ my_hash_search_using_hash_value(
+ &spider_udf_table_mon_list_hash[mutex_hash], hash_value,
+ (uchar*) str->c_ptr(), str->length())) ||
+ table_mon_list->mon_table_cache_version != mon_table_cache_version
+ )
+#else
+ if (!(table_mon_list = (SPIDER_TABLE_MON_LIST *) my_hash_search(
+ &spider_udf_table_mon_list_hash[mutex_hash],
+ (uchar*) str->c_ptr(), str->length())) ||
+ table_mon_list->mon_table_cache_version != mon_table_cache_version
+ )
+#endif
+ {
+ DBUG_ASSERT(trx != spider_global_trx);
+ if (
+ table_mon_list &&
+ table_mon_list->mon_table_cache_version != mon_table_cache_version
+ )
+ spider_release_ping_table_mon_list_loop(mutex_hash, table_mon_list);
+
+ if (!(table_mon_list = spider_get_ping_table_tgt(thd, str->c_ptr(),
+ conv_name_length, link_idx, server_id, str, need_lock, error_num)))
+ {
+ pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
+ goto error;
+ }
+ table_mon_list->mutex_hash = mutex_hash;
+ table_mon_list->mon_table_cache_version = mon_table_cache_version;
+ uint old_elements =
+ spider_udf_table_mon_list_hash[mutex_hash].array.max_element;
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ table_mon_list->key_hash_value = hash_value;
+#endif
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ if (my_hash_insert_with_hash_value(
+ &spider_udf_table_mon_list_hash[mutex_hash],
+ hash_value, (uchar*) table_mon_list))
+#else
+ if (my_hash_insert(&spider_udf_table_mon_list_hash[mutex_hash],
+ (uchar*) table_mon_list))
+#endif
+ {
+ spider_ping_table_free_mon_list(table_mon_list);
+ *error_num = HA_ERR_OUT_OF_MEM;
+ my_error(HA_ERR_OUT_OF_MEM, MYF(0));
+ pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
+ goto error;
+ }
+ if (spider_udf_table_mon_list_hash[mutex_hash].array.max_element >
+ old_elements)
+ {
+ spider_alloc_calc_mem(spider_current_trx,
+ spider_udf_table_mon_list_hash,
+ (spider_udf_table_mon_list_hash[mutex_hash].array.max_element -
+ old_elements) *
+ spider_udf_table_mon_list_hash[mutex_hash].array.size_of_element);
+ }
+ }
+ table_mon_list->use_count++;
+ DBUG_PRINT("info",("spider table_mon_list->use_count=%d",
+ table_mon_list->use_count));
+ pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
+ DBUG_RETURN(table_mon_list);
+
+error:
+ DBUG_RETURN(NULL);
+}
+
+void spider_free_ping_table_mon_list(
+ SPIDER_TABLE_MON_LIST *table_mon_list
+) {
+ DBUG_ENTER("spider_free_ping_table_mon_list");
+ pthread_mutex_lock(&spider_udf_table_mon_mutexes[
+ table_mon_list->mutex_hash]);
+ table_mon_list->use_count--;
+ DBUG_PRINT("info",("spider table_mon_list->use_count=%d", table_mon_list->use_count));
+ if (!table_mon_list->use_count)
+ pthread_cond_broadcast(&spider_udf_table_mon_conds[
+ table_mon_list->mutex_hash]);
+ pthread_mutex_unlock(&spider_udf_table_mon_mutexes[
+ table_mon_list->mutex_hash]);
+ DBUG_VOID_RETURN;
+}
+
+void spider_release_ping_table_mon_list_loop(
+ uint mutex_hash,
+ SPIDER_TABLE_MON_LIST *table_mon_list
+) {
+ DBUG_ENTER("spider_release_ping_table_mon_list_loop");
+#ifdef HASH_UPDATE_WITH_HASH_VALUE
+ my_hash_delete_with_hash_value(&spider_udf_table_mon_list_hash[mutex_hash],
+ table_mon_list->key_hash_value, (uchar*) table_mon_list);
+#else
+ my_hash_delete(&spider_udf_table_mon_list_hash[mutex_hash],
+ (uchar*) table_mon_list);
+#endif
+ while (TRUE)
+ {
+ if (table_mon_list->use_count)
+ pthread_cond_wait(&spider_udf_table_mon_conds[mutex_hash],
+ &spider_udf_table_mon_mutexes[mutex_hash]);
+ else {
+ spider_ping_table_free_mon_list(table_mon_list);
+ break;
+ }
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_release_ping_table_mon_list(
+ const char *conv_name,
+ uint conv_name_length,
+ int link_idx
+) {
+ uint mutex_hash;
+ SPIDER_TABLE_MON_LIST *table_mon_list;
+ char link_idx_str[SPIDER_SQL_INT_LEN];
+ int link_idx_str_length;
+ DBUG_ENTER("spider_release_ping_table_mon_list");
+ DBUG_PRINT("info", ("spider conv_name=%s", conv_name));
+ DBUG_PRINT("info", ("spider conv_name_length=%u", conv_name_length));
+ DBUG_PRINT("info", ("spider link_idx=%d", link_idx));
+ link_idx_str_length = my_sprintf(link_idx_str, (link_idx_str, "%010d",
+ link_idx));
+#ifdef _MSC_VER
+ spider_string conv_name_str(conv_name_length + link_idx_str_length + 1);
+ conv_name_str.set_charset(system_charset_info);
+#else
+ char buf[conv_name_length + link_idx_str_length + 1];
+ spider_string conv_name_str(buf, conv_name_length + link_idx_str_length + 1,
+ system_charset_info);
+#endif
+ conv_name_str.init_calc_mem(134);
+ conv_name_str.length(0);
+ conv_name_str.q_append(conv_name, conv_name_length);
+ conv_name_str.q_append(link_idx_str, link_idx_str_length);
+
+ mutex_hash = spider_udf_calc_hash(conv_name_str.c_ptr_safe(),
+ spider_param_udf_table_mon_mutex_count());
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ my_hash_value_type hash_value = my_calc_hash(
+ &spider_udf_table_mon_list_hash[mutex_hash],
+ (uchar*) conv_name_str.c_ptr(), conv_name_str.length());
+#endif
+ pthread_mutex_lock(&spider_udf_table_mon_mutexes[mutex_hash]);
+#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+ if ((table_mon_list = (SPIDER_TABLE_MON_LIST *)
+ my_hash_search_using_hash_value(
+ &spider_udf_table_mon_list_hash[mutex_hash], hash_value,
+ (uchar*) conv_name_str.c_ptr(), conv_name_str.length())))
+#else
+ if ((table_mon_list = (SPIDER_TABLE_MON_LIST *) my_hash_search(
+ &spider_udf_table_mon_list_hash[mutex_hash],
+ (uchar*) conv_name_str.c_ptr(), conv_name_str.length())))
+#endif
+ spider_release_ping_table_mon_list_loop(mutex_hash, table_mon_list);
+ pthread_mutex_unlock(&spider_udf_table_mon_mutexes[mutex_hash]);
+ DBUG_VOID_RETURN;
+}
+
+int spider_get_ping_table_mon(
+ THD *thd,
+ SPIDER_TABLE_MON_LIST *table_mon_list,
+ char *name,
+ uint name_length,
+ int link_idx,
+ uint32 server_id,
+ MEM_ROOT *mem_root,
+ bool need_lock
+) {
+ int error_num;
+ TABLE *table_link_mon = NULL;
+#if MYSQL_VERSION_ID < 50500
+ Open_tables_state open_tables_backup;
+#else
+ Open_tables_backup open_tables_backup;
+#endif
+ char table_key[MAX_KEY_LENGTH];
+ SPIDER_TABLE_MON *table_mon, *table_mon_prev = NULL;
+ SPIDER_SHARE *tmp_share;
+ char **tmp_connect_info, *tmp_ptr;
+ uint *tmp_connect_info_length;
+ long *tmp_long;
+ longlong *tmp_longlong;
+ int list_size = 0;
+ DBUG_ENTER("spider_get_ping_table_mon");
+
+ if (
+ !(table_link_mon = spider_open_sys_table(
+ thd, SPIDER_SYS_LINK_MON_TABLE_NAME_STR,
+ SPIDER_SYS_LINK_MON_TABLE_NAME_LEN, FALSE, &open_tables_backup,
+ need_lock, &error_num))
+ ) {
+ my_error(error_num, MYF(0));
+ goto error;
+ }
+ spider_store_tables_name(table_link_mon, name, name_length);
+ spider_store_tables_link_idx(table_link_mon, link_idx);
+ if (!(error_num = spider_ping_table_cache_compare(table_link_mon, mem_root)))
+ goto create_table_mon;
+ if (error_num == HA_ERR_OUT_OF_MEM)
+ goto error;
+ if ((tmp_ptr = strstr(name, "#P#")))
+ {
+ *tmp_ptr = '\0';
+ spider_store_tables_name(table_link_mon, name, strlen(name));
+ *tmp_ptr = '#';
+ if (!(error_num = spider_ping_table_cache_compare(table_link_mon,
+ mem_root)))
+ goto create_table_mon;
+ if (error_num == HA_ERR_OUT_OF_MEM)
+ goto error;
+ }
+ error_num = HA_ERR_KEY_NOT_FOUND;
+ table_link_mon->file->print_error(error_num, MYF(0));
+ goto error;
+
+create_table_mon:
+ if ((error_num = spider_get_sys_table_by_idx(table_link_mon, table_key,
+ table_link_mon->s->primary_key, 3)))
+ {
+ table_link_mon->file->print_error(error_num, MYF(0));
+ goto error;
+ }
+
+ do {
+ if (!(table_mon = (SPIDER_TABLE_MON *)
+ spider_bulk_malloc(spider_current_trx, 35, MYF(MY_WME | MY_ZEROFILL),
+ &table_mon, sizeof(SPIDER_TABLE_MON),
+ &tmp_share, sizeof(SPIDER_SHARE),
+ &tmp_connect_info, sizeof(char *) * SPIDER_TMP_SHARE_CHAR_PTR_COUNT,
+ &tmp_connect_info_length, sizeof(uint) * SPIDER_TMP_SHARE_UINT_COUNT,
+ &tmp_long, sizeof(long) * SPIDER_TMP_SHARE_LONG_COUNT,
+ &tmp_longlong, sizeof(longlong) * SPIDER_TMP_SHARE_LONGLONG_COUNT,
+ NullS))
+ ) {
+ spider_sys_index_end(table_link_mon);
+ error_num = HA_ERR_OUT_OF_MEM;
+ my_error(HA_ERR_OUT_OF_MEM, MYF(0));
+ goto error;
+ }
+ spider_set_tmp_share_pointer(tmp_share, tmp_connect_info,
+ tmp_connect_info_length, tmp_long, tmp_longlong);
+ tmp_share->link_statuses[0] = -1;
+ table_mon->share = tmp_share;
+ if (table_mon_prev)
+ table_mon_prev->next = table_mon;
+ else
+ table_mon_list->first = table_mon;
+ table_mon_prev = table_mon;
+ if (
+ (error_num = spider_get_sys_link_mon_server_id(
+ table_link_mon, &table_mon->server_id, mem_root)) ||
+ (error_num = spider_get_sys_link_mon_connect_info(
+ table_link_mon, tmp_share, 0, mem_root))
+ ) {
+ table_link_mon->file->print_error(error_num, MYF(0));
+ spider_sys_index_end(table_link_mon);
+ goto error;
+ }
+ if (
+ (error_num = spider_set_connect_info_default(
+ tmp_share,
+#ifdef WITH_PARTITION_STORAGE_ENGINE
+ NULL,
+ NULL,
+#endif
+ NULL
+ )) ||
+ (error_num = spider_set_connect_info_default_dbtable(
+ tmp_share, name, name_length
+ )) ||
+ (error_num = spider_create_conn_keys(tmp_share))
+ ) {
+ spider_sys_index_end(table_link_mon);
+ goto error;
+ }
+ DBUG_PRINT("info",("spider table_mon->server_id=%u",
+ table_mon->server_id));
+ DBUG_PRINT("info",("spider server_id=%u", server_id));
+ if (table_mon->server_id == server_id)
+ table_mon_list->current = table_mon;
+ list_size++;
+ error_num = spider_sys_index_next_same(table_link_mon, table_key);
+ } while (error_num == 0);
+ spider_sys_index_end(table_link_mon);
+ spider_close_sys_table(thd, table_link_mon,
+ &open_tables_backup, need_lock);
+ table_link_mon = NULL;
+ table_mon_list->list_size = list_size;
+
+ if (!table_mon_list->current)
+ {
+ error_num = ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_NUM;
+ my_printf_error(ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_NUM,
+ ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_STR, MYF(0));
+ goto error;
+ }
+
+ DBUG_RETURN(0);
+
+error:
+ if (table_link_mon)
+ spider_close_sys_table(thd, table_link_mon,
+ &open_tables_backup, need_lock);
+ table_mon = table_mon_list->first;
+ table_mon_list->first = NULL;
+ table_mon_list->current = NULL;
+ while (table_mon)
+ {
+ spider_free_tmp_share_alloc(table_mon->share);
+ table_mon_prev = table_mon->next;
+ spider_free(spider_current_trx, table_mon, MYF(0));
+ table_mon = table_mon_prev;
+ }
+ DBUG_RETURN(error_num);
+}
+
+SPIDER_TABLE_MON_LIST *spider_get_ping_table_tgt(
+ THD *thd,
+ char *name,
+ uint name_length,
+ int link_idx,
+ uint32 server_id,
+ spider_string *str,
+ bool need_lock,
+ int *error_num
+) {
+ TABLE *table_tables = NULL;
+#if MYSQL_VERSION_ID < 50500
+ Open_tables_state open_tables_backup;
+#else
+ Open_tables_backup open_tables_backup;
+#endif
+ char table_key[MAX_KEY_LENGTH];
+
+ SPIDER_TABLE_MON_LIST *table_mon_list = NULL;
+ SPIDER_SHARE *tmp_share;
+ char **tmp_connect_info;
+ uint *tmp_connect_info_length;
+ long *tmp_long;
+ longlong *tmp_longlong;
+ char *key_str;
+ MEM_ROOT mem_root;
+ DBUG_ENTER("spider_get_ping_table_tgt");
+
+ SPD_INIT_ALLOC_ROOT(&mem_root, 4096, 0, MYF(MY_WME));
+ if (!(table_mon_list = (SPIDER_TABLE_MON_LIST *)
+ spider_bulk_malloc(spider_current_trx, 36, MYF(MY_WME | MY_ZEROFILL),
+ &table_mon_list, sizeof(SPIDER_TABLE_MON_LIST),
+ &tmp_share, sizeof(SPIDER_SHARE),
+ &tmp_connect_info, sizeof(char *) * SPIDER_TMP_SHARE_CHAR_PTR_COUNT,
+ &tmp_connect_info_length, sizeof(uint) * SPIDER_TMP_SHARE_UINT_COUNT,
+ &tmp_long, sizeof(long) * SPIDER_TMP_SHARE_LONG_COUNT,
+ &tmp_longlong, sizeof(longlong) * SPIDER_TMP_SHARE_LONGLONG_COUNT,
+ &key_str, str->length() + 1,
+ NullS))
+ ) {
+ my_error(HA_ERR_OUT_OF_MEM, MYF(0));
+ goto error;
+ }
+ spider_set_tmp_share_pointer(tmp_share, tmp_connect_info,
+ tmp_connect_info_length, tmp_long, tmp_longlong);
+ table_mon_list->share = tmp_share;
+ table_mon_list->key = key_str;
+ table_mon_list->key_length = str->length();
+ memcpy(key_str, str->ptr(), table_mon_list->key_length);
+ tmp_share->access_charset = thd->variables.character_set_client;
+
+ if (
+ !(table_tables = spider_open_sys_table(
+ thd, SPIDER_SYS_TABLES_TABLE_NAME_STR,
+ SPIDER_SYS_TABLES_TABLE_NAME_LEN, FALSE, &open_tables_backup, need_lock,
+ error_num))
+ ) {
+ my_error(*error_num, MYF(0));
+ goto error;
+ }
+ spider_store_tables_name(table_tables, name, name_length);
+ spider_store_tables_link_idx(table_tables, link_idx);
+ if (
+ (*error_num = spider_check_sys_table(table_tables, table_key)) ||
+ (*error_num = spider_get_sys_tables_connect_info(
+ table_tables, tmp_share, 0, &mem_root)) ||
+ (*error_num = spider_get_sys_tables_link_status(
+ table_tables, tmp_share, 0, &mem_root))
+ ) {
+ table_tables->file->print_error(*error_num, MYF(0));
+ goto error;
+ }
+ spider_close_sys_table(thd, table_tables,
+ &open_tables_backup, need_lock);
+ table_tables = NULL;
+
+ if (
+ (*error_num = spider_set_connect_info_default(
+ tmp_share,
+#ifdef WITH_PARTITION_STORAGE_ENGINE
+ NULL,
+ NULL,
+#endif
+ NULL
+ )) ||
+ (*error_num = spider_set_connect_info_default_dbtable(
+ tmp_share, name, name_length
+ )) ||
+ (*error_num = spider_create_conn_keys(tmp_share)) ||
+/*
+ (*error_num = spider_db_create_table_names_str(tmp_share)) ||
+*/
+ (*error_num = spider_get_ping_table_mon(
+ thd, table_mon_list, name, name_length, link_idx, server_id, &mem_root,
+ need_lock))
+ )
+ goto error;
+
+ if (tmp_share->link_statuses[0] == SPIDER_LINK_STATUS_NG)
+ table_mon_list->mon_status = SPIDER_LINK_MON_NG;
+
+#if MYSQL_VERSION_ID < 50500
+ if (pthread_mutex_init(&table_mon_list->caller_mutex, MY_MUTEX_INIT_FAST))
+#else
+ if (mysql_mutex_init(spd_key_mutex_mon_list_caller,
+ &table_mon_list->caller_mutex, MY_MUTEX_INIT_FAST))
+#endif
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ goto error_caller_mutex_init;
+ }
+#if MYSQL_VERSION_ID < 50500
+ if (pthread_mutex_init(&table_mon_list->receptor_mutex, MY_MUTEX_INIT_FAST))
+#else
+ if (mysql_mutex_init(spd_key_mutex_mon_list_receptor,
+ &table_mon_list->receptor_mutex, MY_MUTEX_INIT_FAST))
+#endif
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ goto error_receptor_mutex_init;
+ }
+#if MYSQL_VERSION_ID < 50500
+ if (pthread_mutex_init(&table_mon_list->monitor_mutex, MY_MUTEX_INIT_FAST))
+#else
+ if (mysql_mutex_init(spd_key_mutex_mon_list_monitor,
+ &table_mon_list->monitor_mutex, MY_MUTEX_INIT_FAST))
+#endif
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ goto error_monitor_mutex_init;
+ }
+#if MYSQL_VERSION_ID < 50500
+ if (pthread_mutex_init(&table_mon_list->update_status_mutex,
+ MY_MUTEX_INIT_FAST))
+#else
+ if (mysql_mutex_init(spd_key_mutex_mon_list_update_status,
+ &table_mon_list->update_status_mutex, MY_MUTEX_INIT_FAST))
+#endif
+ {
+ *error_num = HA_ERR_OUT_OF_MEM;
+ goto error_update_status_mutex_init;
+ }
+
+ free_root(&mem_root, MYF(0));
+ DBUG_RETURN(table_mon_list);
+
+error_update_status_mutex_init:
+ pthread_mutex_destroy(&table_mon_list->monitor_mutex);
+error_monitor_mutex_init:
+ pthread_mutex_destroy(&table_mon_list->receptor_mutex);
+error_receptor_mutex_init:
+ pthread_mutex_destroy(&table_mon_list->caller_mutex);
+error_caller_mutex_init:
+error:
+ if (table_tables)
+ spider_close_sys_table(thd, table_tables,
+ &open_tables_backup, need_lock);
+ free_root(&mem_root, MYF(0));
+ if (table_mon_list)
+ {
+ spider_free_tmp_share_alloc(table_mon_list->share);
+ spider_free(spider_current_trx, table_mon_list, MYF(0));
+ }
+ DBUG_RETURN(NULL);
+}
+
+SPIDER_CONN *spider_get_ping_table_tgt_conn(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *share,
+ int *error_num
+) {
+ SPIDER_CONN *conn;
+ DBUG_ENTER("spider_get_ping_table_tgt_conn");
+#ifndef WITHOUT_SPIDER_BG_SEARCH
+ if (trx == spider_global_trx)
+ pthread_mutex_lock(&spider_global_trx_mutex);
+#endif
+ if (
+ !(conn = spider_get_conn(
+ share, 0, share->conn_keys[0], trx, NULL, FALSE, FALSE,
+ SPIDER_CONN_KIND_MYSQL, error_num))
+ ) {
+#ifndef WITHOUT_SPIDER_BG_SEARCH
+ if (trx == spider_global_trx)
+ pthread_mutex_unlock(&spider_global_trx_mutex);
+#endif
+ my_error(ER_CONNECT_TO_FOREIGN_DATA_SOURCE, MYF(0),
+ share->server_names[0]);
+ *error_num = ER_CONNECT_TO_FOREIGN_DATA_SOURCE;
+ goto error;
+ }
+ conn->error_mode = 0;
+#ifndef WITHOUT_SPIDER_BG_SEARCH
+ if (trx == spider_global_trx)
+ pthread_mutex_unlock(&spider_global_trx_mutex);
+#endif
+ DBUG_RETURN(conn);
+
+error:
+ DBUG_RETURN(NULL);
+}
+
+int spider_init_ping_table_mon_cache(
+ THD *thd,
+ MEM_ROOT *mem_root,
+ bool need_lock
+) {
+ int error_num, same;
+ TABLE *table_link_mon = NULL;
+#if MYSQL_VERSION_ID < 50500
+ Open_tables_state open_tables_backup;
+#else
+ Open_tables_backup open_tables_backup;
+#endif
+ SPIDER_MON_KEY mon_key;
+ DBUG_ENTER("spider_init_ping_table_mon_cache");
+
+ if (
+ !(table_link_mon = spider_open_sys_table(
+ thd, SPIDER_SYS_LINK_MON_TABLE_NAME_STR,
+ SPIDER_SYS_LINK_MON_TABLE_NAME_LEN, FALSE, &open_tables_backup,
+ need_lock, &error_num))
+ ) {
+ my_error(error_num, MYF(0));
+ goto error_open_sys_table;
+ }
+
+ pthread_mutex_lock(&spider_mon_table_cache_mutex);
+ if (spider_mon_table_cache_version != spider_mon_table_cache_version_req)
+ {
+ /* reset */
+ spider_mon_table_cache.elements = 0;
+
+ if ((error_num = spider_sys_index_first(table_link_mon,
+ table_link_mon->s->primary_key)))
+ {
+ if (error_num != HA_ERR_KEY_NOT_FOUND && error_num != HA_ERR_END_OF_FILE)
+ {
+ table_link_mon->file->print_error(error_num, MYF(0));
+ goto error_sys_index_first;
+ }
+ }
+
+ if (!error_num)
+ {
+ mon_key.db_name_length = SPIDER_SYS_LINK_MON_TABLE_DB_NAME_SIZE + 1;
+ mon_key.table_name_length = SPIDER_SYS_LINK_MON_TABLE_TABLE_NAME_SIZE + 1;
+ mon_key.link_id_length = SPIDER_SYS_LINK_MON_TABLE_LINK_ID_SIZE + 1;
+ do {
+ if ((error_num = spider_get_sys_link_mon_key(table_link_mon, &mon_key,
+ mem_root, &same)))
+ goto error_get_sys_link_mon_key;
+
+ if (!same)
+ {
+ mon_key.sort = spider_calc_for_sort(3, mon_key.db_name,
+ mon_key.table_name, mon_key.link_id);
+ if (push_dynamic(&spider_mon_table_cache, (uchar *) &mon_key))
+ {
+ error_num = HA_ERR_OUT_OF_MEM;
+ goto error_push_dynamic;
+ }
+ }
+
+ if ((error_num = spider_sys_index_next(table_link_mon)))
+ {
+ if (
+ error_num != HA_ERR_KEY_NOT_FOUND &&
+ error_num != HA_ERR_END_OF_FILE
+ ) {
+ table_link_mon->file->print_error(error_num, MYF(0));
+ goto error_sys_index_next;
+ }
+ }
+ } while (!error_num);
+ spider_sys_index_end(table_link_mon);
+ }
+ my_qsort(
+ (uchar *) dynamic_element(&spider_mon_table_cache, 0, SPIDER_MON_KEY *),
+ spider_mon_table_cache.elements, sizeof(SPIDER_MON_KEY),
+ (qsort_cmp) spider_compare_for_sort);
+ uint old_elements = spider_mon_table_cache.max_element;
+ freeze_size(&spider_mon_table_cache);
+ if (spider_mon_table_cache.max_element < old_elements)
+ {
+ spider_free_mem_calc(spider_current_trx,
+ spider_mon_table_cache_id,
+ spider_mon_table_cache.max_element *
+ spider_mon_table_cache.size_of_element);
+ }
+ spider_mon_table_cache_version = spider_mon_table_cache_version_req;
+ }
+ pthread_mutex_unlock(&spider_mon_table_cache_mutex);
+ spider_close_sys_table(thd, table_link_mon, &open_tables_backup, need_lock);
+ DBUG_RETURN(0);
+
+error_push_dynamic:
+error_get_sys_link_mon_key:
+error_sys_index_next:
+ spider_sys_index_end(table_link_mon);
+error_sys_index_first:
+ pthread_mutex_unlock(&spider_mon_table_cache_mutex);
+ spider_close_sys_table(thd, table_link_mon, &open_tables_backup, need_lock);
+error_open_sys_table:
+ DBUG_RETURN(error_num);
+}
+
+int spider_ping_table_cache_compare(
+ TABLE *table,
+ MEM_ROOT *mem_root
+) {
+ uint32 roop_count;
+ SPIDER_MON_KEY *mon_key;
+ char *db_name, *table_name, *link_id;
+ DBUG_ENTER("spider_ping_table_cache_compare");
+
+ if (
+ !(db_name = get_field(mem_root, table->field[0])) ||
+ !(table_name = get_field(mem_root, table->field[1])) ||
+ !(link_id = get_field(mem_root, table->field[2]))
+ )
+ DBUG_RETURN(HA_ERR_OUT_OF_MEM);
+ DBUG_PRINT("info", ("spider db_name=%s", db_name));
+ DBUG_PRINT("info", ("spider table_name=%s", table_name));
+ DBUG_PRINT("info", ("spider link_id=%s", link_id));
+
+ pthread_mutex_lock(&spider_mon_table_cache_mutex);
+ for (roop_count = 0; roop_count < spider_mon_table_cache.elements;
+ roop_count++)
+ {
+ mon_key = dynamic_element(&spider_mon_table_cache, roop_count,
+ SPIDER_MON_KEY *);
+ DBUG_PRINT("info", ("spider roop_count=%d", roop_count));
+ DBUG_PRINT("info", ("spider mon_key.db_name=%s", mon_key->db_name));
+ DBUG_PRINT("info", ("spider mon_key.table_name=%s", mon_key->table_name));
+ DBUG_PRINT("info", ("spider mon_key.link_id=%s", mon_key->link_id));
+ if (
+ !wild_case_compare(system_charset_info, db_name, mon_key->db_name) &&
+ !wild_case_compare(system_charset_info, table_name,
+ mon_key->table_name) &&
+ !wild_case_compare(system_charset_info, link_id, mon_key->link_id)
+ ) {
+ spider_store_db_and_table_name(
+ table,
+ mon_key->db_name,
+ mon_key->db_name_length,
+ mon_key->table_name,
+ mon_key->table_name_length
+ );
+ spider_store_tables_link_idx_str(
+ table,
+ mon_key->link_id,
+ mon_key->link_id_length
+ );
+ pthread_mutex_unlock(&spider_mon_table_cache_mutex);
+ DBUG_PRINT("info", ("spider found"));
+ DBUG_RETURN(0);
+ }
+ }
+ pthread_mutex_unlock(&spider_mon_table_cache_mutex);
+ DBUG_PRINT("info", ("spider not found"));
+ DBUG_RETURN(1);
+}
+
+long long spider_ping_table_body(
+ UDF_INIT *initid,
+ UDF_ARGS *args,
+ char *is_null,
+ char *error
+) {
+ int error_num = 0, link_idx, flags, full_mon_count, current_mon_count,
+ success_count, fault_count, tmp_error_num = 0;
+ uint32 first_sid;
+ longlong limit, tmp_sid = -1;
+ SPIDER_MON_TABLE_RESULT *mon_table_result =
+ (SPIDER_MON_TABLE_RESULT *) initid->ptr;
+ SPIDER_TRX *trx = mon_table_result->trx;
+ THD *thd = trx->thd;
+ SPIDER_CONN *ping_conn = NULL, *mon_conn;
+ char *where_clause;
+ SPIDER_TABLE_MON_LIST *table_mon_list;
+ SPIDER_TABLE_MON *table_mon;
+
+ char buf[MAX_FIELD_WIDTH];
+ spider_string conv_name(buf, sizeof(buf), system_charset_info);
+ int conv_name_length;
+ char link_idx_str[SPIDER_SQL_INT_LEN];
+ int link_idx_str_length;
+ bool get_lock = FALSE;
+ DBUG_ENTER("spider_ping_table_body");
+ conv_name.init_calc_mem(135);
+ conv_name.length(0);
+ if (
+ thd->open_tables != 0 ||
+ thd->handler_tables_hash.records != 0 ||
+ thd->derived_tables != 0 ||
+ thd->lock != 0 ||
+#if MYSQL_VERSION_ID < 50500
+ thd->locked_tables != 0 ||
+ thd->prelocked_mode != NON_PRELOCKED
+#else
+ thd->locked_tables_list.locked_tables() ||
+ thd->locked_tables_mode != LTM_NONE
+#endif
+ ) {
+ if (thd->open_tables != 0)
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
+ "thd->open_tables", thd->open_tables);
+ } else if (thd->handler_tables_hash.records != 0)
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_NUM, MYF(0),
+ "thd->handler_tables_hash.records",
+ (longlong) thd->handler_tables_hash.records);
+ } else if (thd->derived_tables != 0)
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
+ "thd->derived_tables", thd->derived_tables);
+ } else if (thd->lock != 0)
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
+ "thd->lock", thd->lock);
+#if MYSQL_VERSION_ID < 50500
+ } else if (thd->locked_tables != 0)
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
+ "thd->locked_tables", thd->locked_tables);
+ } else if (thd->prelocked_mode != NON_PRELOCKED)
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_NUM, MYF(0),
+ "thd->prelocked_mode", (longlong) thd->prelocked_mode);
+#else
+ } else if (thd->locked_tables_list.locked_tables())
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR, MYF(0),
+ "thd->locked_tables_list.locked_tables()",
+ thd->locked_tables_list.locked_tables());
+ } else if (thd->locked_tables_mode != LTM_NONE)
+ {
+ my_printf_error(ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM,
+ ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_NUM, MYF(0),
+ "thd->locked_tables_mode", (longlong) thd->locked_tables_mode);
+#endif
+ }
+ goto error;
+ }
+
+ if (
+ args->lengths[0] > SPIDER_CONNECT_INFO_MAX_LEN
+ ) {
+ my_printf_error(ER_SPIDER_UDF_PING_TABLE_PARAM_TOO_LONG_NUM,
+ ER_SPIDER_UDF_PING_TABLE_PARAM_TOO_LONG_STR, MYF(0));
+ goto error;
+ }
+ if (
+ args->lengths[0] == 0
+ ) {
+ my_printf_error(ER_SPIDER_UDF_PING_TABLE_PARAM_REQIRED_NUM,
+ ER_SPIDER_UDF_PING_TABLE_PARAM_REQIRED_STR, MYF(0));
+ goto error;
+ }
+
+ link_idx = (int) (args->args[1] ? *((longlong *) args->args[1]) : 0);
+ flags = (int) (args->args[2] ? *((longlong *) args->args[2]) : 0);
+ limit = args->args[3] ? *((longlong *) args->args[3]) : 0;
+ where_clause = args->args[4] ? args->args[4] : (char *) "";
+
+ link_idx_str_length = my_sprintf(link_idx_str, (link_idx_str, "%010d",
+ link_idx));
+
+ if (conv_name.append(args->args[0], args->lengths[0],
+ trx->thd->variables.character_set_client))
+ {
+ my_error(HA_ERR_OUT_OF_MEM, MYF(0));
+ goto error;
+ }
+ conv_name_length = conv_name.length();
+ if (conv_name.reserve(link_idx_str_length + 1))
+ {
+ my_error(HA_ERR_OUT_OF_MEM, MYF(0));
+ goto error;
+ }
+ conv_name.q_append(link_idx_str, link_idx_str_length + 1);
+ conv_name.length(conv_name.length() - 1);
+
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100002
+ if (!(table_mon_list = spider_get_ping_table_mon_list(trx, trx->thd,
+ &conv_name, conv_name_length, link_idx, global_system_variables.server_id,
+ TRUE, &error_num)))
+#else
+ if (!(table_mon_list = spider_get_ping_table_mon_list(trx, trx->thd,
+ &conv_name, conv_name_length, link_idx, thd->server_id, TRUE, &error_num)))
+#endif
+ goto error;
+
+ if (table_mon_list->mon_status == SPIDER_LINK_MON_NG)
+ {
+ mon_table_result->result_status = SPIDER_LINK_MON_NG;
+ DBUG_PRINT("info",
+ ("spider mon_table_result->result_status=SPIDER_LINK_MON_NG 1"));
+ goto end;
+ }
+
+ if (args->args[5])
+ tmp_sid = *((longlong *) args->args[5]);
+
+ if (tmp_sid >= 0)
+ {
+ first_sid = (uint32) tmp_sid;
+ full_mon_count = (int) (args->args[6] ? *((longlong *) args->args[6]) : 0);
+ current_mon_count =
+ (int) (args->args[7] ? *((longlong *) args->args[7]) + 1 : 1);
+ if (full_mon_count != table_mon_list->list_size)
+ {
+ my_printf_error(ER_SPIDER_UDF_PING_TABLE_DIFFERENT_MON_NUM,
+ ER_SPIDER_UDF_PING_TABLE_DIFFERENT_MON_STR, MYF(0));
+ goto error_with_free_table_mon_list;
+ }
+ } else {
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100002
+ first_sid = global_system_variables.server_id;
+#else
+ first_sid = thd->server_id;
+#endif
+ full_mon_count = table_mon_list->list_size;
+ current_mon_count = 1;
+ }
+
+ success_count = (int) (args->args[8] ? *((longlong *) args->args[8]) : 0);
+ fault_count = (int) (args->args[9] ? *((longlong *) args->args[9]) : 0);
+ if (
+ table_mon_list->mon_status != SPIDER_LINK_MON_NG &&
+ !(ping_conn = spider_get_ping_table_tgt_conn(trx,
+ table_mon_list->share, &error_num))
+ ) {
+ if (error_num == HA_ERR_OUT_OF_MEM)
+ goto error_with_free_table_mon_list;
+ else
+ thd->clear_error();
+ }
+ if (
+ table_mon_list->mon_status == SPIDER_LINK_MON_NG ||
+ error_num ||
+ (tmp_error_num = spider_db_udf_ping_table(table_mon_list, table_mon_list->share, trx,
+ ping_conn, where_clause, args->lengths[4],
+ (flags & SPIDER_UDF_PING_TABLE_PING_ONLY),
+ (flags & SPIDER_UDF_PING_TABLE_USE_WHERE),
+ limit
+ ))
+ ) {
+ if (tmp_error_num == HA_ERR_OUT_OF_MEM)
+ goto error_with_free_table_mon_list;
+ else if(tmp_error_num)
+ thd->clear_error();
+ fault_count++;
+ error_num = 0;
+ if (fault_count > full_mon_count / 2)
+ {
+ mon_table_result->result_status = SPIDER_LINK_MON_NG;
+ DBUG_PRINT("info",("spider mon_table_result->result_status=SPIDER_LINK_MON_NG 2"));
+ if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
+ {
+ pthread_mutex_lock(&table_mon_list->update_status_mutex);
+ if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
+ {
+ table_mon_list->mon_status = SPIDER_LINK_MON_NG;
+ table_mon_list->share->link_statuses[0] = SPIDER_LINK_STATUS_NG;
+ spider_sys_update_tables_link_status(trx->thd,
+ conv_name.c_ptr(), conv_name_length, link_idx,
+ SPIDER_LINK_STATUS_NG, TRUE);
+ spider_sys_log_tables_link_failed(trx->thd,
+ conv_name.c_ptr(), conv_name_length, link_idx, TRUE);
+ }
+ pthread_mutex_unlock(&table_mon_list->update_status_mutex);
+ }
+ goto end;
+ }
+ } else {
+ success_count++;
+ if (success_count > full_mon_count / 2)
+ {
+ mon_table_result->result_status = SPIDER_LINK_MON_OK;
+ DBUG_PRINT("info",("spider mon_table_result->result_status=SPIDER_LINK_MON_OK 1"));
+ goto end;
+ }
+ }
+
+ if (tmp_sid < 0)
+ {
+ if (!pthread_mutex_trylock(&table_mon_list->receptor_mutex))
+ get_lock = TRUE;
+ }
+
+ if (
+ tmp_sid >= 0 ||
+ get_lock
+ ) {
+ table_mon = table_mon_list->current->next;
+ while (TRUE)
+ {
+ if (!table_mon)
+ table_mon = table_mon_list->first;
+ if (
+ table_mon->server_id == first_sid ||
+ current_mon_count > full_mon_count
+ ) {
+ if (success_count + fault_count > full_mon_count / 2)
+ {
+ mon_table_result->result_status = SPIDER_LINK_MON_DRAW;
+ DBUG_PRINT("info",(
+ "spider mon_table_result->result_status=SPIDER_LINK_MON_DRAW 1"));
+ } else {
+ mon_table_result->result_status = SPIDER_LINK_MON_DRAW_FEW_MON;
+ DBUG_PRINT("info",(
+ "spider mon_table_result->result_status=SPIDER_LINK_MON_DRAW_FEW_MON 1"));
+ }
+ table_mon_list->last_receptor_result = mon_table_result->result_status;
+ break;
+ }
+ if ((mon_conn = spider_get_ping_table_tgt_conn(trx,
+ table_mon->share, &error_num))
+ ) {
+ if (!spider_db_udf_ping_table_mon_next(
+ thd, table_mon, mon_conn, mon_table_result, args->args[0],
+ args->lengths[0], link_idx,
+ where_clause, args->lengths[4], first_sid, full_mon_count,
+ current_mon_count, success_count, fault_count, flags, limit))
+ {
+ if (
+ mon_table_result->result_status == SPIDER_LINK_MON_NG &&
+ table_mon_list->mon_status != SPIDER_LINK_MON_NG
+ ) {
+ pthread_mutex_lock(&table_mon_list->update_status_mutex);
+ if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
+ {
+ table_mon_list->mon_status = SPIDER_LINK_MON_NG;
+ table_mon_list->share->link_statuses[0] = SPIDER_LINK_STATUS_NG;
+ spider_sys_update_tables_link_status(trx->thd,
+ conv_name.c_ptr(), conv_name_length, link_idx,
+ SPIDER_LINK_STATUS_NG, TRUE);
+ spider_sys_log_tables_link_failed(trx->thd,
+ conv_name.c_ptr(), conv_name_length, link_idx, TRUE);
+ }
+ pthread_mutex_unlock(&table_mon_list->update_status_mutex);
+ }
+ table_mon_list->last_receptor_result =
+ mon_table_result->result_status;
+ break;
+ }
+ }
+ thd->clear_error();
+ table_mon = table_mon->next;
+ current_mon_count++;
+ }
+ if (get_lock)
+ pthread_mutex_unlock(&table_mon_list->receptor_mutex);
+ } else {
+ pthread_mutex_lock(&table_mon_list->receptor_mutex);
+ mon_table_result->result_status = table_mon_list->last_receptor_result;
+ DBUG_PRINT("info",("spider mon_table_result->result_status=%d 1",
+ table_mon_list->last_receptor_result));
+ pthread_mutex_unlock(&table_mon_list->receptor_mutex);
+ }
+
+end:
+ spider_free_ping_table_mon_list(table_mon_list);
+ DBUG_RETURN(mon_table_result->result_status);
+
+error_with_free_table_mon_list:
+ spider_free_ping_table_mon_list(table_mon_list);
+error:
+ *error = 1;
+ DBUG_RETURN(0);
+}
+
+my_bool spider_ping_table_init_body(
+ UDF_INIT *initid,
+ UDF_ARGS *args,
+ char *message
+) {
+ int error_num;
+ THD *thd = current_thd;
+ SPIDER_TRX *trx;
+ SPIDER_MON_TABLE_RESULT *mon_table_result = NULL;
+ DBUG_ENTER("spider_ping_table_init_body");
+ if (args->arg_count != 10)
+ {
+ strcpy(message, "spider_ping_table() requires 10 arguments");
+ goto error;
+ }
+ if (
+ args->arg_type[0] != STRING_RESULT ||
+ args->arg_type[4] != STRING_RESULT
+ ) {
+ strcpy(message, "spider_ping_table() requires string 1st "
+ "and 5th arguments");
+ goto error;
+ }
+ if (
+ args->arg_type[1] != INT_RESULT ||
+ args->arg_type[2] != INT_RESULT ||
+ args->arg_type[3] != INT_RESULT ||
+ args->arg_type[5] != INT_RESULT ||
+ args->arg_type[6] != INT_RESULT ||
+ args->arg_type[7] != INT_RESULT ||
+ args->arg_type[8] != INT_RESULT ||
+ args->arg_type[9] != INT_RESULT
+ ) {
+ strcpy(message, "spider_ping_table() requires integer 2nd, 3rd, 4,6,7,8,"
+ "9th and 10th argument");
+ goto error;
+ }
+
+ if (!(trx = spider_get_trx(thd, TRUE, &error_num)))
+ {
+ my_error(error_num, MYF(0));
+ strcpy(message, spider_stmt_da_message(thd));
+ goto error;
+ }
+
+ if (!(mon_table_result = (SPIDER_MON_TABLE_RESULT *)
+ spider_malloc(spider_current_trx, 11, sizeof(SPIDER_MON_TABLE_RESULT),
+ MYF(MY_WME | MY_ZEROFILL)))
+ ) {
+ strcpy(message, "spider_ping_table() out of memory");
+ goto error;
+ }
+ mon_table_result->trx = trx;
+ initid->ptr = (char *) mon_table_result;
+ DBUG_RETURN(FALSE);
+
+error:
+ if (mon_table_result)
+ {
+ spider_free(spider_current_trx, mon_table_result, MYF(0));
+ }
+ DBUG_RETURN(TRUE);
+}
+
+void spider_ping_table_deinit_body(
+ UDF_INIT *initid
+) {
+ SPIDER_MON_TABLE_RESULT *mon_table_result =
+ (SPIDER_MON_TABLE_RESULT *) initid->ptr;
+ DBUG_ENTER("spider_ping_table_deinit_body");
+ if (mon_table_result)
+ {
+ spider_free(spider_current_trx, mon_table_result, MYF(0));
+ }
+ DBUG_VOID_RETURN;
+}
+
+long long spider_flush_table_mon_cache_body()
+{
+ DBUG_ENTER("spider_flush_table_mon_cache_body");
+ spider_mon_table_cache_version_req++;
+ DBUG_RETURN(1);
+}
+
+void spider_ping_table_free_mon_list(
+ SPIDER_TABLE_MON_LIST *table_mon_list
+) {
+ DBUG_ENTER("spider_ping_table_free_mon_list");
+ if (table_mon_list)
+ {
+ spider_ping_table_free_mon(table_mon_list->first);
+ spider_free_tmp_share_alloc(table_mon_list->share);
+ pthread_mutex_destroy(&table_mon_list->update_status_mutex);
+ pthread_mutex_destroy(&table_mon_list->monitor_mutex);
+ pthread_mutex_destroy(&table_mon_list->receptor_mutex);
+ pthread_mutex_destroy(&table_mon_list->caller_mutex);
+ spider_free(spider_current_trx, table_mon_list, MYF(0));
+ }
+ DBUG_VOID_RETURN;
+}
+
+void spider_ping_table_free_mon(
+ SPIDER_TABLE_MON *table_mon
+) {
+ SPIDER_TABLE_MON *table_mon_next;
+ DBUG_ENTER("spider_ping_table_free_mon");
+ while (table_mon)
+ {
+ spider_free_tmp_share_alloc(table_mon->share);
+ table_mon_next = table_mon->next;
+ spider_free(spider_current_trx, table_mon, MYF(0));
+ table_mon = table_mon_next;
+ }
+ DBUG_VOID_RETURN;
+}
+
+int spider_ping_table_mon_from_table(
+ SPIDER_TRX *trx,
+ THD *thd,
+ SPIDER_SHARE *share,
+ uint32 server_id,
+ char *conv_name,
+ uint conv_name_length,
+ int link_idx,
+ char *where_clause,
+ uint where_clause_length,
+ long monitoring_kind,
+ longlong monitoring_limit,
+ bool need_lock
+) {
+ int error_num = 0, current_mon_count, flags;
+ uint32 first_sid;
+/*
+ THD *thd = trx->thd;
+*/
+ SPIDER_TABLE_MON_LIST *table_mon_list;
+ SPIDER_TABLE_MON *table_mon;
+ SPIDER_MON_TABLE_RESULT mon_table_result;
+ SPIDER_CONN *mon_conn;
+ TABLE_SHARE *table_share = share->table_share;
+ char link_idx_str[SPIDER_SQL_INT_LEN];
+ int link_idx_str_length;
+ uint sql_command = thd_sql_command(thd);
+ DBUG_ENTER("spider_ping_table_mon_from_table");
+ if (table_share->tmp_table != NO_TMP_TABLE)
+ {
+ my_printf_error(ER_SPIDER_TMP_TABLE_MON_NUM,
+ ER_SPIDER_TMP_TABLE_MON_STR, MYF(0));
+ DBUG_RETURN(ER_SPIDER_TMP_TABLE_MON_NUM);
+ }
+ if (
+ sql_command == SQLCOM_DROP_TABLE ||
+ sql_command == SQLCOM_ALTER_TABLE
+ ) {
+ my_printf_error(ER_SPIDER_MON_AT_ALTER_TABLE_NUM,
+ ER_SPIDER_MON_AT_ALTER_TABLE_STR, MYF(0));
+ DBUG_RETURN(ER_SPIDER_MON_AT_ALTER_TABLE_NUM);
+ }
+
+ link_idx_str_length = my_sprintf(link_idx_str, (link_idx_str, "%010d",
+ link_idx));
+#ifdef _MSC_VER
+ spider_string conv_name_str(conv_name_length + link_idx_str_length + 1);
+ conv_name_str.set_charset(system_charset_info);
+ *((char *)(conv_name_str.ptr() + conv_name_length + link_idx_str_length)) =
+ '\0';
+#else
+ char buf[conv_name_length + link_idx_str_length + 1];
+ buf[conv_name_length + link_idx_str_length] = '\0';
+ spider_string conv_name_str(buf, conv_name_length + link_idx_str_length + 1,
+ system_charset_info);
+#endif
+ conv_name_str.init_calc_mem(136);
+ conv_name_str.length(0);
+ conv_name_str.q_append(conv_name, conv_name_length);
+ conv_name_str.q_append(link_idx_str, link_idx_str_length + 1);
+ conv_name_str.length(conv_name_str.length() - 1);
+
+ if (monitoring_kind == 1)
+ flags = SPIDER_UDF_PING_TABLE_PING_ONLY;
+ else if (monitoring_kind == 3)
+ flags = SPIDER_UDF_PING_TABLE_USE_WHERE;
+ else
+ flags = 0;
+
+ if (!(table_mon_list = spider_get_ping_table_mon_list(trx, thd,
+ &conv_name_str, conv_name_length, link_idx, server_id, need_lock,
+ &error_num)))
+ goto end;
+
+ if (table_mon_list->mon_status == SPIDER_LINK_MON_NG)
+ {
+ DBUG_PRINT("info",
+ ("spider share->link_statuses[%d]=SPIDER_LINK_STATUS_NG", link_idx));
+ share->link_statuses[link_idx] = SPIDER_LINK_STATUS_NG;
+ error_num = ER_SPIDER_LINK_MON_NG_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_NG_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ goto end_with_free_table_mon_list;
+ }
+
+ if (!pthread_mutex_trylock(&table_mon_list->caller_mutex))
+ {
+ table_mon = table_mon_list->current;
+ first_sid = table_mon->server_id;
+ current_mon_count = 1;
+ while (TRUE)
+ {
+ if (!table_mon)
+ table_mon = table_mon_list->first;
+ if (
+ current_mon_count > table_mon_list->list_size ||
+ (current_mon_count > 1 && table_mon->server_id == first_sid)
+ ) {
+ table_mon_list->last_caller_result = SPIDER_LINK_MON_DRAW_FEW_MON;
+ mon_table_result.result_status = SPIDER_LINK_MON_DRAW_FEW_MON;
+ DBUG_PRINT("info",(
+ "spider mon_table_result->result_status=SPIDER_LINK_MON_DRAW_FEW_MON 1"));
+ error_num = ER_SPIDER_LINK_MON_DRAW_FEW_MON_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_DRAW_FEW_MON_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ }
+ thd->clear_error();
+ if ((mon_conn = spider_get_ping_table_tgt_conn(trx,
+ table_mon->share, &error_num))
+ ) {
+ if (!spider_db_udf_ping_table_mon_next(
+ thd, table_mon, mon_conn, &mon_table_result, conv_name,
+ conv_name_length, link_idx,
+ where_clause, where_clause_length, -1, table_mon_list->list_size,
+ 0, 0, 0, flags, monitoring_limit))
+ {
+ if (
+ mon_table_result.result_status == SPIDER_LINK_MON_NG &&
+ table_mon_list->mon_status != SPIDER_LINK_MON_NG
+ ) {
+ pthread_mutex_lock(&table_mon_list->update_status_mutex);
+ if (table_mon_list->mon_status != SPIDER_LINK_MON_NG)
+ {
+ table_mon_list->mon_status = SPIDER_LINK_MON_NG;
+ table_mon_list->share->link_statuses[0] = SPIDER_LINK_STATUS_NG;
+ DBUG_PRINT("info", (
+ "spider share->link_statuses[%d]=SPIDER_LINK_STATUS_NG",
+ link_idx));
+ share->link_statuses[link_idx] = SPIDER_LINK_STATUS_NG;
+ spider_sys_update_tables_link_status(thd, conv_name,
+ conv_name_length, link_idx, SPIDER_LINK_STATUS_NG, need_lock);
+ spider_sys_log_tables_link_failed(thd, conv_name,
+ conv_name_length, link_idx, need_lock);
+ }
+ pthread_mutex_unlock(&table_mon_list->update_status_mutex);
+ }
+ table_mon_list->last_caller_result = mon_table_result.result_status;
+ if (mon_table_result.result_status == SPIDER_LINK_MON_OK)
+ {
+ error_num = ER_SPIDER_LINK_MON_OK_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_OK_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ }
+ if (mon_table_result.result_status == SPIDER_LINK_MON_NG)
+ {
+ error_num = ER_SPIDER_LINK_MON_NG_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_NG_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ }
+ if (mon_table_result.result_status ==
+ SPIDER_LINK_MON_DRAW_FEW_MON)
+ {
+ error_num = ER_SPIDER_LINK_MON_DRAW_FEW_MON_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_DRAW_FEW_MON_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ }
+ error_num = ER_SPIDER_LINK_MON_DRAW_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_DRAW_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ }
+ }
+ table_mon = table_mon->next;
+ current_mon_count++;
+ }
+ pthread_mutex_unlock(&table_mon_list->caller_mutex);
+ } else {
+ pthread_mutex_lock(&table_mon_list->caller_mutex);
+ switch (table_mon_list->last_caller_result)
+ {
+ case SPIDER_LINK_MON_OK:
+ error_num = ER_SPIDER_LINK_MON_OK_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_OK_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ case SPIDER_LINK_MON_NG:
+ error_num = ER_SPIDER_LINK_MON_NG_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_NG_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ case SPIDER_LINK_MON_DRAW_FEW_MON:
+ error_num = ER_SPIDER_LINK_MON_DRAW_FEW_MON_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_DRAW_FEW_MON_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ default:
+ error_num = ER_SPIDER_LINK_MON_DRAW_NUM;
+ my_printf_error(error_num,
+ ER_SPIDER_LINK_MON_DRAW_STR, MYF(0),
+ table_mon_list->share->tgt_dbs[0],
+ table_mon_list->share->tgt_table_names[0]);
+ break;
+ }
+ pthread_mutex_unlock(&table_mon_list->caller_mutex);
+ }
+
+end_with_free_table_mon_list:
+ spider_free_ping_table_mon_list(table_mon_list);
+end:
+ DBUG_RETURN(error_num);
+}
diff --git a/storage/spider/spd_ping_table.h b/storage/spider/spd_ping_table.h
index aca93012d78..d9c5648b6b3 100644
--- a/storage/spider/spd_ping_table.h
+++ b/storage/spider/spd_ping_table.h
@@ -1,102 +1,102 @@
-/* Copyright (C) 2009-2013 Kentoku Shiba
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
-SPIDER_TABLE_MON_LIST *spider_get_ping_table_mon_list(
- SPIDER_TRX *trx,
- THD *thd,
- spider_string *str,
- uint conv_name_length,
- int link_idx,
- uint32 server_id,
- bool need_lock,
- int *error_num
-);
-
-void spider_free_ping_table_mon_list(
- SPIDER_TABLE_MON_LIST *table_mon_list
-);
-
-void spider_release_ping_table_mon_list_loop(
- uint mutex_hash,
- SPIDER_TABLE_MON_LIST *table_mon_list
-);
-
-void spider_release_ping_table_mon_list(
- const char *conv_name,
- uint conv_name_length,
- int link_idx
-);
-
-int spider_get_ping_table_mon(
- THD *thd,
- SPIDER_TABLE_MON_LIST *table_mon_list,
- char *name,
- uint name_length,
- int link_idx,
- uint32 server_id,
- MEM_ROOT *mem_root,
- bool need_lock
-);
-
-SPIDER_TABLE_MON_LIST *spider_get_ping_table_tgt(
- THD *thd,
- char *name,
- uint name_length,
- int link_idx,
- uint32 server_id,
- spider_string *str,
- bool need_lock,
- int *error_num
-);
-
-SPIDER_CONN *spider_get_ping_table_tgt_conn(
- SPIDER_TRX *trx,
- SPIDER_SHARE *share,
- int *error_num
-);
-
-int spider_init_ping_table_mon_cache(
- THD *thd,
- MEM_ROOT *mem_root,
- bool need_lock
-);
-
-int spider_ping_table_cache_compare(
- TABLE *table,
- MEM_ROOT *mem_root
-);
-
-void spider_ping_table_free_mon_list(
- SPIDER_TABLE_MON_LIST *table_mon_list
-);
-
-void spider_ping_table_free_mon(
- SPIDER_TABLE_MON *table_mon
-);
-
-int spider_ping_table_mon_from_table(
- SPIDER_TRX *trx,
- THD *thd,
- SPIDER_SHARE *share,
- uint32 server_id,
- char *conv_name,
- uint conv_name_length,
- int link_idx,
- char *where_clause,
- uint where_clause_length,
- long monitoring_kind,
- longlong monitoring_limit,
- bool need_lock
-);
+/* Copyright (C) 2009-2014 Kentoku Shiba
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+SPIDER_TABLE_MON_LIST *spider_get_ping_table_mon_list(
+ SPIDER_TRX *trx,
+ THD *thd,
+ spider_string *str,
+ uint conv_name_length,
+ int link_idx,
+ uint32 server_id,
+ bool need_lock,
+ int *error_num
+);
+
+void spider_free_ping_table_mon_list(
+ SPIDER_TABLE_MON_LIST *table_mon_list
+);
+
+void spider_release_ping_table_mon_list_loop(
+ uint mutex_hash,
+ SPIDER_TABLE_MON_LIST *table_mon_list
+);
+
+void spider_release_ping_table_mon_list(
+ const char *conv_name,
+ uint conv_name_length,
+ int link_idx
+);
+
+int spider_get_ping_table_mon(
+ THD *thd,
+ SPIDER_TABLE_MON_LIST *table_mon_list,
+ char *name,
+ uint name_length,
+ int link_idx,
+ uint32 server_id,
+ MEM_ROOT *mem_root,
+ bool need_lock
+);
+
+SPIDER_TABLE_MON_LIST *spider_get_ping_table_tgt(
+ THD *thd,
+ char *name,
+ uint name_length,
+ int link_idx,
+ uint32 server_id,
+ spider_string *str,
+ bool need_lock,
+ int *error_num
+);
+
+SPIDER_CONN *spider_get_ping_table_tgt_conn(
+ SPIDER_TRX *trx,
+ SPIDER_SHARE *share,
+ int *error_num
+);
+
+int spider_init_ping_table_mon_cache(
+ THD *thd,
+ MEM_ROOT *mem_root,
+ bool need_lock
+);
+
+int spider_ping_table_cache_compare(
+ TABLE *table,
+ MEM_ROOT *mem_root
+);
+
+void spider_ping_table_free_mon_list(
+ SPIDER_TABLE_MON_LIST *table_mon_list
+);
+
+void spider_ping_table_free_mon(
+ SPIDER_TABLE_MON *table_mon
+);
+
+int spider_ping_table_mon_from_table(
+ SPIDER_TRX *trx,
+ THD *thd,
+ SPIDER_SHARE *share,
+ uint32 server_id,
+ char *conv_name,
+ uint conv_name_length,
+ int link_idx,
+ char *where_clause,
+ uint where_clause_length,
+ long monitoring_kind,
+ longlong monitoring_limit,
+ bool need_lock
+);
diff --git a/storage/spider/spd_sys_table.cc b/storage/spider/spd_sys_table.cc
index 24fa5ff6faa..1ff3496d83e 100644
--- a/storage/spider/spd_sys_table.cc
+++ b/storage/spider/spd_sys_table.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -90,7 +90,10 @@ TABLE *spider_open_sys_table(
if (!(table = spider_sys_open_table(thd, &tables, open_tables_backup)))
#endif
{
- *error_num = my_errno;
+ my_printf_error(ER_SPIDER_CANT_OPEN_SYS_TABLE_NUM,
+ ER_SPIDER_CANT_OPEN_SYS_TABLE_STR, MYF(0),
+ "mysql", table_name);
+ *error_num = ER_SPIDER_CANT_OPEN_SYS_TABLE_NUM;
DBUG_RETURN(NULL);
}
#if MYSQL_VERSION_ID < 50500
@@ -117,7 +120,10 @@ TABLE *spider_open_sys_table(
table, FALSE)
) {
release_table_share(table_share, RELEASE_NORMAL);
- *error_num = my_errno;
+ my_printf_error(ER_SPIDER_CANT_OPEN_SYS_TABLE_NUM,
+ ER_SPIDER_CANT_OPEN_SYS_TABLE_STR, MYF(0),
+ "mysql", table_name);
+ *error_num = ER_SPIDER_CANT_OPEN_SYS_TABLE_NUM;
goto error;
}
}
@@ -1913,7 +1919,6 @@ int spider_sys_update_tables_link_status(
SPIDER_SYS_TABLES_TABLE_NAME_LEN, TRUE, &open_tables_backup, need_lock,
&error_num))
) {
- my_error(error_num, MYF(0));
goto error;
}
if ((error_num = spider_update_tables_link_status(table_tables,
@@ -1952,7 +1957,6 @@ int spider_sys_log_tables_link_failed(
SPIDER_SYS_LINK_FAILED_TABLE_NAME_LEN, TRUE, &open_tables_backup,
need_lock, &error_num))
) {
- my_error(error_num, MYF(0));
goto error;
}
empty_record(table_tables);
@@ -1992,7 +1996,6 @@ int spider_sys_log_xa_failed(
SPIDER_SYS_XA_FAILED_TABLE_NAME_LEN, TRUE, &open_tables_backup,
need_lock, &error_num))
) {
- my_error(error_num, MYF(0));
goto error;
}
empty_record(table_tables);
diff --git a/storage/spider/spd_sys_table.h b/storage/spider/spd_sys_table.h
index 0306f1d4120..8024c23c168 100644
--- a/storage/spider/spd_sys_table.h
+++ b/storage/spider/spd_sys_table.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/spider/spd_table.cc b/storage/spider/spd_table.cc
index 7e47b486f59..ff7e7dbfb11 100644
--- a/storage/spider/spd_table.cc
+++ b/storage/spider/spd_table.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -43,6 +43,9 @@
#include "spd_malloc.h"
ulong *spd_db_att_thread_id;
+#ifdef XID_CACHE_IS_SPLITTED
+uint *spd_db_att_xid_cache_split_num;
+#endif
pthread_mutex_t *spd_db_att_LOCK_xid_cache;
HASH *spd_db_att_xid_cache;
struct charset_info_st *spd_charset_utf8_bin;
@@ -1789,6 +1792,8 @@ int spider_parse_connect_info(
#ifdef HA_CAN_FORCE_BULK_DELETE
share->force_bulk_delete = -1;
#endif
+ share->casual_read = -1;
+ share->delete_all_rows_type = -1;
#ifdef WITH_PARTITION_STORAGE_ENGINE
for (roop_count = 4; roop_count > 0; roop_count--)
@@ -1918,6 +1923,7 @@ int spider_parse_connect_info(
#endif
SPIDER_PARAM_DOUBLE("civ", crd_interval, 0);
SPIDER_PARAM_INT_WITH_MAX("cmd", crd_mode, 0, 3);
+ SPIDER_PARAM_INT_WITH_MAX("csr", casual_read, 0, 63);
#ifdef WITH_PARTITION_STORAGE_ENGINE
SPIDER_PARAM_INT_WITH_MAX("csy", crd_sync, 0, 2);
#endif
@@ -1925,6 +1931,7 @@ int spider_parse_connect_info(
2147483647);
SPIDER_PARAM_INT_WITH_MAX("ctp", crd_type, 0, 2);
SPIDER_PARAM_DOUBLE("cwg", crd_weight, 1);
+ SPIDER_PARAM_INT_WITH_MAX("dat", delete_all_rows_type, 0, 1);
SPIDER_PARAM_INT_WITH_MAX("ddi", direct_dup_insert, 0, 1);
SPIDER_PARAM_STR_LIST("dff", tgt_default_files);
SPIDER_PARAM_STR_LIST("dfg", tgt_default_groups);
@@ -2108,6 +2115,7 @@ int spider_parse_connect_info(
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
SPIDER_PARAM_LONG_LIST_WITH_MAX("use_hs_read", use_hs_reads, 0, 1);
#endif
+ SPIDER_PARAM_INT_WITH_MAX("casual_read", casual_read, 0, 63);
error_num = ER_SPIDER_INVALID_CONNECT_INFO_NUM;
my_printf_error(error_num, ER_SPIDER_INVALID_CONNECT_INFO_STR,
MYF(0), tmp_ptr);
@@ -2256,6 +2264,8 @@ int spider_parse_connect_info(
case 20:
SPIDER_PARAM_LONGLONG_LIST_WITH_MAX(
"monitoring_server_id", monitoring_sid, 0, 4294967295LL);
+ SPIDER_PARAM_INT_WITH_MAX(
+ "delete_all_rows_type", delete_all_rows_type, 0, 1);
error_num = ER_SPIDER_INVALID_CONNECT_INFO_NUM;
my_printf_error(error_num, ER_SPIDER_INVALID_CONNECT_INFO_STR,
MYF(0), tmp_ptr);
@@ -3433,6 +3443,16 @@ int spider_set_connect_info_default(
if (share->force_bulk_delete == -1)
share->force_bulk_delete = 0;
#endif
+ if (share->casual_read == -1)
+ share->casual_read = 0;
+ if (share->delete_all_rows_type == -1)
+ {
+#ifdef HANDLER_HAS_DIRECT_UPDATE_ROWS
+ share->delete_all_rows_type = 1;
+#else
+ share->delete_all_rows_type = 0;
+#endif
+ }
if (share->bka_mode == -1)
share->bka_mode = 1;
if (!share->bka_engine)
@@ -4320,12 +4340,15 @@ SPIDER_SHARE *spider_get_share(
&result_list->tmp_table_created,
sizeof(uchar) * share->link_bitmap_size,
#ifdef HA_CAN_BULK_ACCESS
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
&result_list->hs_r_bulk_open_index,
sizeof(uchar) * share->link_bitmap_size,
&result_list->hs_w_bulk_open_index,
sizeof(uchar) * share->link_bitmap_size,
#endif
+#endif
&result_list->sql_kind_backup, sizeof(uint) * share->link_count,
+ &result_list->casual_read, sizeof(int) * share->link_count,
&spider->dbton_handler,
sizeof(spider_db_handler *) * SPIDER_DBTON_SIZE,
NullS))
@@ -4759,12 +4782,15 @@ SPIDER_SHARE *spider_get_share(
&result_list->tmp_table_created,
sizeof(uchar) * share->link_bitmap_size,
#ifdef HA_CAN_BULK_ACCESS
+#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
&result_list->hs_r_bulk_open_index,
sizeof(uchar) * share->link_bitmap_size,
&result_list->hs_w_bulk_open_index,
sizeof(uchar) * share->link_bitmap_size,
#endif
+#endif
&result_list->sql_kind_backup, sizeof(uint) * share->link_count,
+ &result_list->casual_read, sizeof(int) * share->link_count,
&spider->dbton_handler,
sizeof(spider_db_handler *) * SPIDER_DBTON_SIZE,
NullS))
@@ -5669,21 +5695,14 @@ int spider_close_connection(
handlerton* hton,
THD* thd
) {
- int roop_count = 0, need_mon = 0;
+ int roop_count = 0;
SPIDER_CONN *conn;
SPIDER_TRX *trx;
- ha_spider tmp_spider;
- char buf[MAX_FIELD_WIDTH];
- spider_string tmp_str(buf, MAX_FIELD_WIDTH, &my_charset_bin);
DBUG_ENTER("spider_close_connection");
- tmp_str.init_calc_mem(121);
if (!(trx = (SPIDER_TRX*) *thd_ha_data(thd, spider_hton_ptr)))
DBUG_RETURN(0); /* transaction is not started */
- tmp_spider.conns = &conn;
- tmp_spider.need_mons = &need_mon;
- tmp_spider.trx = trx;
- tmp_spider.result_list.sqls = &tmp_str;
+ trx->tmp_spider->conns = &conn;
while ((conn = (SPIDER_CONN*) my_hash_element(&trx->trx_conn_hash,
roop_count)))
{
@@ -5695,7 +5714,7 @@ int spider_close_connection(
conn->disable_reconnect = FALSE;
if (conn->table_lock != 2)
{
- spider_db_unlock_tables(&tmp_spider, 0);
+ spider_db_unlock_tables(trx->tmp_spider, 0);
}
conn->table_lock = 0;
}
@@ -6000,6 +6019,16 @@ int spider_db_init(
HMODULE current_module = GetModuleHandle(NULL);
spd_db_att_thread_id = (ulong *)
GetProcAddress(current_module, "?thread_id@@3KA");
+#ifdef XID_CACHE_IS_SPLITTED
+ spd_db_att_xid_cache_split_num = (uint *)
+ GetProcAddress(current_module,
+ "?opt_xid_cache_split_num@@3IA");
+ spd_db_att_LOCK_xid_cache = *((pthread_mutex_t **)
+ GetProcAddress(current_module,
+ "?LOCK_xid_cache@@3PAUst_mysql_mutex@@A"));
+ spd_db_att_xid_cache = *((HASH **)
+ GetProcAddress(current_module, "?xid_cache@@3PAUst_hash@@A"));
+#else
spd_db_att_LOCK_xid_cache = (pthread_mutex_t *)
#if MYSQL_VERSION_ID < 50500
GetProcAddress(current_module,
@@ -6010,6 +6039,7 @@ int spider_db_init(
#endif
spd_db_att_xid_cache = (HASH *)
GetProcAddress(current_module, "?xid_cache@@3Ust_hash@@A");
+#endif
spd_charset_utf8_bin = (struct charset_info_st *)
GetProcAddress(current_module, "my_charset_utf8_bin");
spd_defaults_extra_file = (const char **)
@@ -6018,8 +6048,14 @@ int spider_db_init(
GetProcAddress(current_module, "my_defaults_file");
#else
spd_db_att_thread_id = &thread_id;
+#ifdef XID_CACHE_IS_SPLITTED
+ spd_db_att_xid_cache_split_num = &opt_xid_cache_split_num;
+ spd_db_att_LOCK_xid_cache = LOCK_xid_cache;
+ spd_db_att_xid_cache = xid_cache;
+#else
spd_db_att_LOCK_xid_cache = &LOCK_xid_cache;
spd_db_att_xid_cache = &xid_cache;
+#endif
spd_charset_utf8_bin = &my_charset_utf8_bin;
spd_defaults_extra_file = &my_defaults_extra_file;
spd_defaults_file = &my_defaults_file;
@@ -7489,7 +7525,7 @@ longlong spider_split_read_param(
/* This case must select by one shot */
DBUG_PRINT("info",("spider cancel split read"));
result_list->split_read_base = 9223372036854775807LL;
- result_list->semi_split_read = 9223372036854775807LL;
+ result_list->semi_split_read = 0;
result_list->semi_split_read_limit = 9223372036854775807LL;
result_list->first_read = 9223372036854775807LL;
result_list->second_read = 9223372036854775807LL;
@@ -7596,8 +7632,25 @@ bool spider_check_direct_order_limit(
longlong select_limit;
longlong offset_limit;
DBUG_ENTER("spider_check_direct_order_limit");
- if (spider->sql_command != SQLCOM_HA_READ)
- {
+ DBUG_PRINT("info",("spider SQLCOM_HA_READ=%s",
+ (spider->sql_command == SQLCOM_HA_READ) ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider has_clone_for_merge=%s",
+ spider->has_clone_for_merge ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider is_clone=%s",
+ spider->is_clone ? "TRUE" : "FALSE"));
+#ifdef HA_CAN_BULK_ACCESS
+ DBUG_PRINT("info",("spider is_bulk_access_clone=%s",
+ spider->is_bulk_access_clone ? "TRUE" : "FALSE"));
+#endif
+ if (
+ spider->sql_command != SQLCOM_HA_READ &&
+ !spider->has_clone_for_merge &&
+#ifdef HA_CAN_BULK_ACCESS
+ (!spider->is_clone || spider->is_bulk_access_clone)
+#else
+ !spider->is_clone
+#endif
+ ) {
spider_get_select_limit(spider, &select_lex, &select_limit, &offset_limit);
bool first_check = TRUE;
#ifdef HANDLER_HAS_DIRECT_AGGREGATE
@@ -7660,8 +7713,25 @@ bool spider_check_direct_order_limit(
longlong direct_order_limit = spider_param_direct_order_limit(thd,
share->direct_order_limit);
+ DBUG_PRINT("info",("spider direct_order_limit=%lld", direct_order_limit));
if (direct_order_limit)
{
+ DBUG_PRINT("info",("spider first_check=%s",
+ first_check ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider (select_lex->options & OPTION_FOUND_ROWS)=%s",
+ (select_lex->options & OPTION_FOUND_ROWS) ? "TRUE" : "FALSE"));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
+ DBUG_PRINT("info",("spider direct_aggregate=%s",
+ spider->result_list.direct_aggregate ? "TRUE" : "FALSE"));
+#endif
+ DBUG_PRINT("info",("spider select_lex->group_list.elements=%u",
+ select_lex->group_list.elements));
+ DBUG_PRINT("info",("spider select_lex->with_sum_func=%s",
+ select_lex->with_sum_func ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider select_lex->having=%s",
+ select_lex->having ? "TRUE" : "FALSE"));
+ DBUG_PRINT("info",("spider select_lex->order_list.elements=%u",
+ select_lex->order_list.elements));
if (
!first_check ||
!select_lex->explicit_limit ||
@@ -7989,8 +8059,13 @@ int spider_discover_table_structure(
{
DBUG_RETURN(ER_SPIDER_UNKNOWN_NUM);
}
+#ifdef SPIDER_HAS_DISCOVER_TABLE_STRUCTURE_COMMENT
if (!(part_syntax = generate_partition_syntax(part_info, &part_syntax_len,
FALSE, TRUE, info, NULL, NULL)))
+#else
+ if (!(part_syntax = generate_partition_syntax(part_info, &part_syntax_len,
+ FALSE, TRUE, info, NULL)))
+#endif
{
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
}
diff --git a/storage/spider/spd_table.h b/storage/spider/spd_table.h
index ea5f50bd98a..1b76aa7dfb8 100644
--- a/storage/spider/spd_table.h
+++ b/storage/spider/spd_table.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/spider/spd_trx.cc b/storage/spider/spd_trx.cc
index 8a89804d923..a66fa5a7f5d 100644
--- a/storage/spider/spd_trx.cc
+++ b/storage/spider/spd_trx.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -38,11 +38,15 @@
#include "spd_ping_table.h"
#include "spd_malloc.h"
+#ifdef XID_CACHE_IS_SPLITTED
+extern uint *spd_db_att_xid_cache_split_num;
+#endif
extern pthread_mutex_t *spd_db_att_LOCK_xid_cache;
extern HASH *spd_db_att_xid_cache;
extern struct charset_info_st *spd_charset_utf8_bin;
extern handlerton *spider_hton_ptr;
+extern SPIDER_DBTON spider_dbton[SPIDER_DBTON_SIZE];
pthread_mutex_t spider_thread_id_mutex;
ulonglong spider_thread_id = 1;
@@ -213,18 +217,15 @@ int spider_free_trx_another_conn(
bool lock
) {
int error_num, tmp_error_num;
- int roop_count = 0, need_mon = 0;
+ int roop_count = 0;
SPIDER_CONN *conn;
- ha_spider tmp_spider;
DBUG_ENTER("spider_free_trx_another_conn");
- tmp_spider.conns = &conn;
- tmp_spider.need_mons = &need_mon;
+ trx->tmp_spider->conns = &conn;
error_num = 0;
while ((conn = (SPIDER_CONN*) my_hash_element(&trx->trx_another_conn_hash,
roop_count)))
{
- tmp_spider.trx = trx;
- if (lock && (tmp_error_num = spider_db_unlock_tables(&tmp_spider, 0)))
+ if (lock && (tmp_error_num = spider_db_unlock_tables(trx->tmp_spider, 0)))
error_num = tmp_error_num;
spider_free_conn_from_trx(trx, conn, TRUE, TRUE, &roop_count);
}
@@ -352,20 +353,16 @@ int spider_trx_all_unlock_tables(
SPIDER_TRX *trx
) {
int error_num;
- int roop_count = 0, need_mon = 0;
+ int roop_count = 0;
THD *thd = trx->thd;
SPIDER_CONN *conn;
- ha_spider tmp_spider;
DBUG_ENTER("spider_trx_all_unlock_tables");
SPIDER_BACKUP_DASTATUS;
- memset((void*)&tmp_spider, 0, sizeof(ha_spider));
- tmp_spider.conns = &conn;
- tmp_spider.need_mons = &need_mon;
+ trx->tmp_spider->conns = &conn;
while ((conn = (SPIDER_CONN*) my_hash_element(&trx->trx_conn_hash,
roop_count)))
{
- tmp_spider.trx = trx;
- if ((error_num = spider_db_unlock_tables(&tmp_spider, 0)))
+ if ((error_num = spider_db_unlock_tables(trx->tmp_spider, 0)))
{
SPIDER_CONN_RESTORE_DASTATUS_AND_RESET_ERROR_NUM;
if (error_num)
@@ -1049,6 +1046,36 @@ int spider_free_trx_alloc(
) {
int roop_count;
DBUG_ENTER("spider_free_trx_alloc");
+ if (trx->tmp_spider)
+ {
+ for (roop_count = 0; roop_count < SPIDER_DBTON_SIZE; ++roop_count)
+ {
+ if (trx->tmp_spider->dbton_handler[roop_count])
+ {
+ delete trx->tmp_spider->dbton_handler[roop_count];
+ trx->tmp_spider->dbton_handler[roop_count] = NULL;
+ }
+ }
+ if (trx->tmp_spider->result_list.sqls)
+ {
+ delete [] trx->tmp_spider->result_list.sqls;
+ trx->tmp_spider->result_list.sqls = NULL;
+ }
+ delete trx->tmp_spider;
+ trx->tmp_spider = NULL;
+ }
+ if (trx->tmp_share)
+ {
+ for (roop_count = 0; roop_count < SPIDER_DBTON_SIZE; ++roop_count)
+ {
+ if (trx->tmp_share->dbton_share[roop_count])
+ {
+ delete trx->tmp_share->dbton_share[roop_count];
+ trx->tmp_share->dbton_share[roop_count] = NULL;
+ }
+ }
+ spider_free_tmp_share_alloc(trx->tmp_share);
+ }
spider_db_udf_free_set_names(trx);
for (roop_count = spider_param_udf_table_lock_mutex_count() - 1;
roop_count >= 0; roop_count--)
@@ -1100,6 +1127,7 @@ int spider_free_trx_alloc(
trx->trx_alter_table_hash.array.max_element *
trx->trx_alter_table_hash.array.size_of_element);
my_hash_free(&trx->trx_alter_table_hash);
+ free_root(&trx->mem_root, MYF(0));
DBUG_RETURN(0);
}
@@ -1108,8 +1136,9 @@ SPIDER_TRX *spider_get_trx(
bool regist_allocated_thds,
int *error_num
) {
- int roop_count = 0;
+ int roop_count = 0, roop_count2;
SPIDER_TRX *trx;
+ SPIDER_SHARE *tmp_share;
pthread_mutex_t *udf_table_mutexes;
DBUG_ENTER("spider_get_trx");
@@ -1121,12 +1150,15 @@ SPIDER_TRX *spider_get_trx(
if (!(trx = (SPIDER_TRX *)
spider_bulk_malloc(NULL, 56, MYF(MY_WME | MY_ZEROFILL),
&trx, sizeof(*trx),
+ &tmp_share, sizeof(SPIDER_SHARE),
&udf_table_mutexes, sizeof(pthread_mutex_t) *
spider_param_udf_table_lock_mutex_count(),
NullS))
)
goto error_alloc_trx;
+ SPD_INIT_ALLOC_ROOT(&trx->mem_root, 4096, 0, MYF(MY_WME));
+ trx->tmp_share = tmp_share;
trx->udf_table_mutexes = udf_table_mutexes;
for (roop_count = 0;
@@ -1263,6 +1295,79 @@ SPIDER_TRX *spider_get_trx(
if (thd)
{
+ spider_set_tmp_share_pointer(trx->tmp_share, trx->tmp_connect_info,
+ trx->tmp_connect_info_length, trx->tmp_long, trx->tmp_longlong);
+ if (
+ spider_set_connect_info_default(
+ trx->tmp_share,
+#ifdef WITH_PARTITION_STORAGE_ENGINE
+ NULL,
+ NULL,
+#endif
+ NULL
+ ) ||
+ spider_set_connect_info_default_db_table(
+ trx->tmp_share,
+ "", 0,
+ "", 0
+ ) ||
+ spider_create_conn_keys(trx->tmp_share)
+ ) {
+ goto error_set_connect_info_default;
+ }
+
+ if (!(trx->tmp_spider = new (&trx->mem_root) ha_spider()))
+ {
+ goto error_alloc_spider;
+ }
+ trx->tmp_spider->need_mons = &trx->tmp_need_mon;
+ trx->tmp_spider->share = trx->tmp_share;
+ trx->tmp_spider->trx = trx;
+ trx->tmp_spider->dbton_handler = trx->tmp_dbton_handler;
+ if (!(trx->tmp_spider->result_list.sqls =
+ new spider_string[trx->tmp_share->link_count]))
+ {
+ goto error_init_result_list_sql;
+ }
+ for (roop_count2 = 0; roop_count2 < (int) trx->tmp_share->link_count;
+ ++roop_count2)
+ {
+ trx->tmp_spider->result_list.sqls[roop_count2].init_calc_mem(121);
+ trx->tmp_spider->result_list.sqls[roop_count2].set_charset(
+ trx->tmp_share->access_charset);
+ }
+
+ for (roop_count2 = 0; roop_count2 < SPIDER_DBTON_SIZE; ++roop_count2)
+ {
+ if (!spider_dbton[roop_count2].init)
+ continue;
+
+ if (!(trx->tmp_share->dbton_share[roop_count2] =
+ spider_dbton[roop_count2].create_db_share(trx->tmp_share)))
+ {
+ goto error_create_db_share;
+ }
+ if (trx->tmp_share->dbton_share[roop_count2]->init())
+ {
+ delete trx->tmp_share->dbton_share[roop_count2];
+ trx->tmp_share->dbton_share[roop_count2] = NULL;
+ goto error_create_db_share;
+ }
+
+ if (!(trx->tmp_spider->dbton_handler[roop_count2] =
+ spider_dbton[roop_count2].create_db_handler(trx->tmp_spider,
+ trx->tmp_share->dbton_share[roop_count2])))
+ {
+ goto error_create_db_share;
+ }
+ if (trx->tmp_spider->dbton_handler[roop_count2]->init())
+ {
+ delete trx->tmp_spider->dbton_handler[roop_count2];
+ trx->tmp_spider->dbton_handler[roop_count2] = NULL;
+ goto error_create_db_share;
+ }
+ }
+
if (regist_allocated_thds)
{
pthread_mutex_lock(&spider_allocated_thds_mutex);
@@ -1295,6 +1400,37 @@ SPIDER_TRX *spider_get_trx(
DBUG_RETURN(trx);
error_allocated_thds_insert:
+error_alloc_spider:
+error_create_db_share:
+ if (thd)
+ {
+ delete [] trx->tmp_spider->result_list.sqls;
+ trx->tmp_spider->result_list.sqls = NULL;
+ }
+error_init_result_list_sql:
+ if (thd)
+ {
+ delete trx->tmp_spider;
+ trx->tmp_spider = NULL;
+ for (roop_count2 = 0; roop_count2 < SPIDER_DBTON_SIZE; ++roop_count2)
+ {
+ if (trx->tmp_spider->dbton_handler[roop_count2])
+ {
+ delete trx->tmp_spider->dbton_handler[roop_count2];
+ trx->tmp_spider->dbton_handler[roop_count2] = NULL;
+ }
+ if (trx->tmp_share->dbton_share[roop_count2])
+ {
+ delete trx->tmp_share->dbton_share[roop_count2];
+ trx->tmp_share->dbton_share[roop_count2] = NULL;
+ }
+ }
+ }
+error_set_connect_info_default:
+ if (thd)
+ {
+ spider_free_tmp_share_alloc(trx->tmp_share);
+ }
spider_free_mem_calc(trx,
trx->trx_ha_hash_id,
trx->trx_ha_hash.array.max_element *
@@ -1360,6 +1496,7 @@ error_init_hash:
pthread_mutex_destroy(&trx->udf_table_mutexes[roop_count]);
}
error_init_udf_table_mutex:
+ free_root(&trx->mem_root, MYF(0));
spider_free(NULL, trx, MYF(0));
error_alloc_trx:
*error_num = HA_ERR_OUT_OF_MEM;
@@ -1500,16 +1637,31 @@ int spider_check_and_set_time_zone(
int spider_xa_lock(
XID_STATE *xid_state
) {
+ THD *thd = current_thd;
int error_num;
+ const char *old_proc_info;
DBUG_ENTER("spider_xa_lock");
#ifdef SPIDER_HAS_HASH_VALUE_TYPE
my_hash_value_type hash_value = my_calc_hash(spd_db_att_xid_cache,
(uchar*) xid_state->xid.key(), xid_state->xid.key_length());
+#ifdef XID_CACHE_IS_SPLITTED
+ uint idx = hash_value % *spd_db_att_xid_cache_split_num;
#endif
+#endif
+ old_proc_info = thd_proc_info(thd, "Locking xid by Spider");
+#ifdef XID_CACHE_IS_SPLITTED
+ pthread_mutex_lock(&spd_db_att_LOCK_xid_cache[idx]);
+#else
pthread_mutex_lock(spd_db_att_LOCK_xid_cache);
+#endif
#ifdef SPIDER_HAS_HASH_VALUE_TYPE
+#ifdef XID_CACHE_IS_SPLITTED
+ if (my_hash_search_using_hash_value(&spd_db_att_xid_cache[idx], hash_value,
+ xid_state->xid.key(), xid_state->xid.key_length()))
+#else
if (my_hash_search_using_hash_value(spd_db_att_xid_cache, hash_value,
xid_state->xid.key(), xid_state->xid.key_length()))
+#endif
#else
if (my_hash_search(spd_db_att_xid_cache,
xid_state->xid.key(), xid_state->xid.key_length()))
@@ -1519,8 +1671,13 @@ int spider_xa_lock(
goto error;
}
#ifdef HASH_UPDATE_WITH_HASH_VALUE
+#ifdef XID_CACHE_IS_SPLITTED
+ if (my_hash_insert_with_hash_value(&spd_db_att_xid_cache[idx], hash_value,
+ (uchar*)xid_state))
+#else
if (my_hash_insert_with_hash_value(spd_db_att_xid_cache, hash_value,
(uchar*)xid_state))
+#endif
#else
if (my_hash_insert(spd_db_att_xid_cache, (uchar*)xid_state))
#endif
@@ -1528,29 +1685,60 @@ int spider_xa_lock(
error_num = HA_ERR_OUT_OF_MEM;
goto error;
}
+#ifdef XID_CACHE_IS_SPLITTED
+ pthread_mutex_unlock(&spd_db_att_LOCK_xid_cache[idx]);
+#else
pthread_mutex_unlock(spd_db_att_LOCK_xid_cache);
+#endif
+ thd_proc_info(thd, old_proc_info);
DBUG_RETURN(0);
error:
+#ifdef XID_CACHE_IS_SPLITTED
+ pthread_mutex_unlock(&spd_db_att_LOCK_xid_cache[idx]);
+#else
pthread_mutex_unlock(spd_db_att_LOCK_xid_cache);
+#endif
+ thd_proc_info(thd, old_proc_info);
DBUG_RETURN(error_num);
}
int spider_xa_unlock(
XID_STATE *xid_state
) {
+ THD *thd = current_thd;
+ const char *old_proc_info;
DBUG_ENTER("spider_xa_unlock");
#if defined(SPIDER_HAS_HASH_VALUE_TYPE) && defined(HASH_UPDATE_WITH_HASH_VALUE)
my_hash_value_type hash_value = my_calc_hash(spd_db_att_xid_cache,
(uchar*) xid_state->xid.key(), xid_state->xid.key_length());
+#ifdef XID_CACHE_IS_SPLITTED
+ uint idx = hash_value % *spd_db_att_xid_cache_split_num;
#endif
+#endif
+ old_proc_info = thd_proc_info(thd, "Unlocking xid by Spider");
+#ifdef XID_CACHE_IS_SPLITTED
+ pthread_mutex_lock(&spd_db_att_LOCK_xid_cache[idx]);
+#else
pthread_mutex_lock(spd_db_att_LOCK_xid_cache);
+#endif
#if defined(SPIDER_HAS_HASH_VALUE_TYPE) && defined(HASH_UPDATE_WITH_HASH_VALUE)
- my_hash_delete_with_hash_value(spd_db_att_xid_cache, hash_value, (uchar *)xid_state);
+#ifdef XID_CACHE_IS_SPLITTED
+ my_hash_delete_with_hash_value(&spd_db_att_xid_cache[idx],
+ hash_value, (uchar *)xid_state);
+#else
+ my_hash_delete_with_hash_value(spd_db_att_xid_cache,
+ hash_value, (uchar *)xid_state);
+#endif
#else
my_hash_delete(spd_db_att_xid_cache, (uchar *)xid_state);
#endif
+#ifdef XID_CACHE_IS_SPLITTED
+ pthread_mutex_unlock(&spd_db_att_LOCK_xid_cache[idx]);
+#else
pthread_mutex_unlock(spd_db_att_LOCK_xid_cache);
+#endif
+ thd_proc_info(thd, old_proc_info);
DBUG_RETURN(0);
}
@@ -1572,10 +1760,11 @@ int spider_internal_start_trx(
) {
int error_num;
SPIDER_TRX *trx = spider->trx;
- bool sync_autocommit = spider_param_sync_autocommit(trx->thd);
- bool sync_time_zone = spider_param_sync_time_zone(trx->thd);
+ THD *thd = trx->thd;
+ bool sync_autocommit = spider_param_sync_autocommit(thd);
+ bool sync_time_zone = spider_param_sync_time_zone(thd);
double ping_interval_at_trx_start =
- spider_param_ping_interval_at_trx_start(trx->thd);
+ spider_param_ping_interval_at_trx_start(thd);
bool xa_lock = FALSE;
time_t tmp_time = (time_t) time((time_t*) 0);
DBUG_ENTER("spider_internal_start_trx");
@@ -1592,19 +1781,19 @@ int spider_internal_start_trx(
if (!trx->trx_consistent_snapshot)
{
trx->use_consistent_snapshot =
- spider_param_use_consistent_snapshot(trx->thd);
- trx->internal_xa = spider_param_internal_xa(trx->thd);
- trx->internal_xa_snapshot = spider_param_internal_xa_snapshot(trx->thd);
+ spider_param_use_consistent_snapshot(thd);
+ trx->internal_xa = spider_param_internal_xa(thd);
+ trx->internal_xa_snapshot = spider_param_internal_xa_snapshot(thd);
}
}
if (
- (error_num = spider_check_and_set_sql_log_off(trx->thd, conn,
+ (error_num = spider_check_and_set_sql_log_off(thd, conn,
&spider->need_mons[link_idx])) ||
(sync_time_zone &&
- (error_num = spider_check_and_set_time_zone(trx->thd, conn,
+ (error_num = spider_check_and_set_time_zone(thd, conn,
&spider->need_mons[link_idx]))) ||
(sync_autocommit &&
- (error_num = spider_check_and_set_autocommit(trx->thd, conn,
+ (error_num = spider_check_and_set_autocommit(thd, conn,
&spider->need_mons[link_idx])))
)
goto error;
@@ -1628,70 +1817,74 @@ int spider_internal_start_trx(
if (!trx->trx_start)
{
if (
- trx->thd->transaction.xid_state.xa_state == XA_ACTIVE &&
+ thd->transaction.xid_state.xa_state == XA_ACTIVE &&
spider_param_support_xa()
) {
trx->trx_xa = TRUE;
- thd_get_xid(trx->thd, (MYSQL_XID*) &trx->xid);
+ thd_get_xid(thd, (MYSQL_XID*) &trx->xid);
}
- if (!trx->trx_xa && trx->internal_xa)
- {
- if (!trx->trx_consistent_snapshot || trx->internal_xa_snapshot == 3)
+ if (
+ !trx->trx_xa &&
+ trx->internal_xa &&
+ (!trx->trx_consistent_snapshot || trx->internal_xa_snapshot == 3) &&
+ spider->sql_command != SQLCOM_LOCK_TABLES
+ ) {
+ trx->trx_xa = TRUE;
+ trx->xid.formatID = 1;
+ if (spider_param_internal_xa_id_type(thd) == 0)
{
- trx->trx_xa = TRUE;
- trx->xid.formatID = 1;
trx->xid.gtrid_length
= my_sprintf(trx->xid.data,
- (trx->xid.data, "%lx", thd_get_thread_id(trx->thd)));
+ (trx->xid.data, "%lx", thd_get_thread_id(thd)));
+ } else {
+ trx->xid.gtrid_length
+ = my_sprintf(trx->xid.data,
+ (trx->xid.data, "%lx%016llx", thd_get_thread_id(thd),
+ thd->query_id));
+ }
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100002
- trx->xid.bqual_length
- = my_sprintf(trx->xid.data + trx->xid.gtrid_length,
- (trx->xid.data + trx->xid.gtrid_length, "%lx",
- trx->thd->variables.server_id));
+ trx->xid.bqual_length
+ = my_sprintf(trx->xid.data + trx->xid.gtrid_length,
+ (trx->xid.data + trx->xid.gtrid_length, "%lx",
+ thd->variables.server_id));
#else
- trx->xid.bqual_length
- = my_sprintf(trx->xid.data + trx->xid.gtrid_length,
- (trx->xid.data + trx->xid.gtrid_length, "%x",
- trx->thd->server_id));
+ trx->xid.bqual_length
+ = my_sprintf(trx->xid.data + trx->xid.gtrid_length,
+ (trx->xid.data + trx->xid.gtrid_length, "%x",
+ thd->server_id));
#endif
- trx->internal_xid_state.xa_state = XA_ACTIVE;
- trx->internal_xid_state.xid.set(&trx->xid);
- trx->internal_xid_state.in_thd = 1;
- while ((error_num = spider_xa_lock(&trx->internal_xid_state)))
- {
- if (error_num != ER_SPIDER_XA_LOCKED_NUM)
- goto error;
- else if (trx->xid.formatID == 0)
- {
- my_message(error_num, ER_SPIDER_XA_LOCKED_STR, MYF(0));
- goto error;
- }
- /* retry */
- trx->xid.formatID++;
- trx->internal_xid_state.xid.set(&trx->xid);
- }
- xa_lock = TRUE;
+ trx->internal_xid_state.xa_state = XA_ACTIVE;
+ trx->internal_xid_state.xid.set(&trx->xid);
+ trx->internal_xid_state.in_thd = 1;
+ if ((error_num = spider_xa_lock(&trx->internal_xid_state)))
+ {
+ if (error_num == ER_SPIDER_XA_LOCKED_NUM)
+ my_message(error_num, ER_SPIDER_XA_LOCKED_STR, MYF(0));
+ goto error;
}
- }
+ xa_lock = TRUE;
+ } else
+ trx->internal_xa = FALSE;
DBUG_PRINT("info",("spider trx->trx_consistent_snapshot= %s",
trx->trx_consistent_snapshot ? "TRUE" : "FALSE"));
if (!trx->trx_consistent_snapshot)
{
- trans_register_ha(trx->thd, FALSE, spider_hton_ptr);
- if (thd_test_options(trx->thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))
- trans_register_ha(trx->thd, TRUE, spider_hton_ptr);
+ trans_register_ha(thd, FALSE, spider_hton_ptr);
+ if (thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))
+ trans_register_ha(thd, TRUE, spider_hton_ptr);
}
trx->trx_start = TRUE;
+ trx->trx_xa_prepared = FALSE;
}
DBUG_PRINT("info",("spider sync_autocommit = %d", sync_autocommit));
DBUG_PRINT("info",("spider conn->semi_trx_chk = %d", conn->semi_trx_chk));
DBUG_PRINT("info",("spider conn->table_lock = %d", conn->table_lock));
DBUG_PRINT("info",("spider conn->autocommit = %d", conn->autocommit));
- DBUG_PRINT("info",("spider semi_trx = %d", spider_param_semi_trx(trx->thd)));
+ DBUG_PRINT("info",("spider semi_trx = %d", spider_param_semi_trx(thd)));
conn->semi_trx = FALSE;
if (conn->table_lock == 3)
{
@@ -1708,7 +1901,7 @@ int spider_internal_start_trx(
(!conn->queued_autocommit && conn->autocommit == 1) ||
(conn->queued_autocommit && conn->queued_autocommit_val == TRUE)
) &&
- spider_param_semi_trx(trx->thd)
+ spider_param_semi_trx(thd)
) {
DBUG_PRINT("info",("spider semi_trx is set"));
conn->semi_trx = TRUE;
@@ -1717,7 +1910,7 @@ int spider_internal_start_trx(
conn->disable_xa = FALSE;
} else if (
!trx->trx_consistent_snapshot &&
- !thd_test_options(trx->thd, OPTION_BEGIN) &&
+ !thd_test_options(thd, OPTION_BEGIN) &&
sync_autocommit &&
conn->semi_trx_chk &&
!conn->table_lock &&
@@ -1725,14 +1918,14 @@ int spider_internal_start_trx(
(!conn->queued_autocommit && conn->autocommit == 1) ||
(conn->queued_autocommit && conn->queued_autocommit_val == TRUE)
) &&
- spider_param_semi_trx(trx->thd)
+ spider_param_semi_trx(thd)
) {
DBUG_PRINT("info",("spider semi_trx is set"));
spider_conn_queue_start_transaction(conn);
conn->semi_trx = TRUE;
} else if (
!trx->trx_consistent_snapshot &&
- thd_test_options(trx->thd, OPTION_BEGIN)
+ thd_test_options(thd, OPTION_BEGIN)
) {
DBUG_PRINT("info",("spider start transaction"));
spider_conn_queue_start_transaction(conn);
@@ -1848,6 +2041,8 @@ int spider_internal_xa_commit(
if ((conn = spider_tree_first(trx->join_trx_top)))
{
do {
+ if (conn->bg_search)
+ spider_bg_conn_break(conn, NULL);
DBUG_PRINT("info",("spider conn=%p", conn));
DBUG_PRINT("info",("spider conn->join_trx=%u", conn->join_trx));
if (conn->join_trx)
@@ -1950,12 +2145,11 @@ int spider_internal_xa_rollback(
Open_tables_backup open_tables_backup;
#endif
bool server_lost = FALSE;
- bool prepared = (thd->transaction.xid_state.xa_state == XA_PREPARED);
bool table_xa_opened = FALSE;
bool table_xa_member_opened = FALSE;
DBUG_ENTER("spider_internal_xa_rollback");
- if (prepared)
+ if (trx->trx_xa_prepared)
{
/*
select
@@ -2029,11 +2223,13 @@ int spider_internal_xa_rollback(
if ((conn = spider_tree_first(trx->join_trx_top)))
{
do {
+ if (conn->bg_search)
+ spider_bg_conn_break(conn, NULL);
if (conn->join_trx)
{
if (conn->disable_xa)
{
- if (conn->table_lock != 3 && !prepared)
+ if (conn->table_lock != 3 && !trx->trx_xa_prepared)
{
if (
!conn->server_lost &&
@@ -2048,7 +2244,7 @@ int spider_internal_xa_rollback(
if (!conn->server_lost)
{
if (
- !prepared &&
+ !trx->trx_xa_prepared &&
(tmp_error_num = spider_db_xa_end(conn, &trx->xid))
) {
if (
@@ -2102,7 +2298,7 @@ int spider_internal_xa_rollback(
goto error_in_rollback;
if (
- prepared &&
+ trx->trx_xa_prepared &&
!server_lost
) {
/*
@@ -2213,6 +2409,8 @@ int spider_internal_xa_prepare(
if ((conn = spider_tree_first(trx->join_trx_top)))
{
do {
+ if (conn->bg_search)
+ spider_bg_conn_break(conn, NULL);
if (conn->disable_xa)
{
if (conn->table_lock != 3)
@@ -3089,21 +3287,24 @@ int spider_commit(
{
if (trx->trx_xa)
{
- if (
- trx->internal_xa &&
- (error_num = spider_internal_xa_prepare(
- thd, trx, table_xa, table_xa_member, TRUE))
- ) {
+ if (trx->internal_xa && !trx->trx_xa_prepared)
+ {
+ if (
+ (error_num = spider_internal_xa_prepare(
+ thd, trx, table_xa, table_xa_member, TRUE))
+ ) {
/*
- if (!thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))
- {
+ if (!thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))
+ {
*/
- /* rollback for semi_trx */
- spider_rollback(hton, thd, all);
+ /* rollback for semi_trx */
+ spider_rollback(hton, thd, all);
/*
- }
+ }
*/
- DBUG_RETURN(error_num);
+ DBUG_RETURN(error_num);
+ }
+ trx->trx_xa_prepared = TRUE;
}
int tmp_error_num;
if (
@@ -3114,6 +3315,7 @@ int spider_commit(
error_num = tmp_error_num;
}
trx->trx_xa = FALSE;
+ trx->join_trx_top = NULL;
} else {
if ((conn = spider_tree_first(trx->join_trx_top)))
{
@@ -3183,6 +3385,7 @@ int spider_rollback(
error_num = tmp_error_num;
}
trx->trx_xa = FALSE;
+ trx->join_trx_top = NULL;
} else {
if ((conn = spider_tree_first(trx->join_trx_top)))
{
@@ -3246,6 +3449,7 @@ int spider_xa_prepare(
if ((error_num = spider_internal_xa_prepare(
thd, trx, table_xa, table_xa_member, FALSE)))
goto error;
+ trx->trx_xa_prepared = TRUE;
}
}
@@ -3315,22 +3519,40 @@ error_get_trx:
DBUG_RETURN(error_num);
}
+void spider_copy_table_free_trx_conn(
+ SPIDER_TRX *trx
+) {
+ SPIDER_CONN *conn;
+ DBUG_ENTER("spider_copy_table_free_trx_conn");
+ if ((conn = spider_tree_first(trx->join_trx_top)))
+ {
+ do {
+ spider_end_trx(trx, conn);
+ conn->join_trx = 0;
+ } while ((conn = spider_tree_next(conn)));
+ trx->join_trx_top = NULL;
+ }
+ spider_reuse_trx_ha(trx);
+ spider_free_trx_conn(trx, FALSE);
+ trx->trx_consistent_snapshot = FALSE;
+ spider_merge_mem_calc(trx, FALSE);
+ DBUG_VOID_RETURN;
+}
+
int spider_end_trx(
SPIDER_TRX *trx,
SPIDER_CONN *conn
) {
int error_num = 0, need_mon = 0;
- ha_spider tmp_spider;
DBUG_ENTER("spider_end_trx");
- tmp_spider.conns = &conn;
if (conn->table_lock == 3)
{
+ trx->tmp_spider->conns = &conn;
conn->table_lock = 0;
conn->disable_reconnect = FALSE;
- tmp_spider.trx = trx;
if (
!conn->server_lost &&
- (error_num = spider_db_unlock_tables(&tmp_spider, 0))
+ (error_num = spider_db_unlock_tables(trx->tmp_spider, 0))
) {
if (error_num == ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM)
error_num = 0;
@@ -3422,8 +3644,6 @@ int spider_check_trx_and_get_conn(
DBUG_PRINT("info",("spider semi_table_lock = %d",
spider_param_semi_table_lock(thd, share->semi_table_lock)));
DBUG_PRINT("info",("spider first_byte = %d", first_byte));
- DBUG_PRINT("info",("spider link_status = %ld",
- share->link_statuses[spider->conn_link_idx[spider->search_link_idx]]));
if (
!trx_ha ||
trx_ha->wait_for_reusing ||
@@ -3615,6 +3835,8 @@ int spider_check_trx_and_get_conn(
#endif
}
} else {
+ DBUG_PRINT("info",("spider link_status = %ld",
+ share->link_statuses[spider->conn_link_idx[spider->search_link_idx]]));
for (
roop_count = spider_conn_link_idx_next(share->link_statuses,
spider->conn_link_idx, -1, share->link_count,
@@ -3757,12 +3979,12 @@ void spider_free_tmp_thd(
THD *thd
) {
DBUG_ENTER("spider_free_tmp_thd");
+ thd->cleanup();
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100000
thd->reset_globals();
#else
thd->restore_globals();
#endif
- thd->cleanup();
delete thd;
DBUG_VOID_RETURN;
}
diff --git a/storage/spider/spd_trx.h b/storage/spider/spd_trx.h
index 95814a4b95c..3f3ca7fabed 100644
--- a/storage/spider/spd_trx.h
+++ b/storage/spider/spd_trx.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2013 Kentoku Shiba
+/* Copyright (C) 2008-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -208,6 +208,10 @@ int spider_xa_rollback_by_xid(
XID* xid
);
+void spider_copy_table_free_trx_conn(
+ SPIDER_TRX *trx
+);
+
int spider_end_trx(
SPIDER_TRX *trx,
SPIDER_CONN *conn
diff --git a/storage/spider/spd_udf.cc b/storage/spider/spd_udf.cc
index c116bd13805..1c457e69421 100644
--- a/storage/spider/spd_udf.cc
+++ b/storage/spider/spd_udf.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2013 Kentoku Shiba
+/* Copyright (C) 2009-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/spider/spd_udf.h b/storage/spider/spd_udf.h
index eb70055247c..0b20a10393e 100644
--- a/storage/spider/spd_udf.h
+++ b/storage/spider/spd_udf.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2013 Kentoku Shiba
+/* Copyright (C) 2009-2014 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/storage/test_sql_discovery/mysql-test/archive/discover.rdiff b/storage/test_sql_discovery/mysql-test/archive/discover.rdiff
deleted file mode 100644
index c8be9fde63e..00000000000
--- a/storage/test_sql_discovery/mysql-test/archive/discover.rdiff
+++ /dev/null
@@ -1,35 +0,0 @@
---- suite/archive/discover.result 2013-04-08 00:06:37.000000000 +0200
-+++ /usr/home/serg/Abk/mysql/10.0-serg/storage/test_sql_discovery/mysql-test/archive/discover.reject 2013-04-08 00:07:02.000000000 +0200
-@@ -42,6 +42,7 @@
- t1 BASE TABLE
- t2 BASE TABLE
- t1.ARZ
-+t1.frm
- t2.ARZ
- t2.frm
- #
-@@ -60,6 +61,7 @@
- flush tables;
- rename table t2 to t0;
- t0.ARZ
-+t0.frm
- t1.ARZ
- t1.frm
- #
-@@ -77,6 +79,7 @@
- flush tables;
- drop table t1;
- t0.ARZ
-+t0.frm
- #
- # discover of table non-existance on drop
- #
-@@ -86,7 +89,7 @@
- drop table t0;
- show status like 'Handler_discover';
- Variable_name Value
--Handler_discover 6
-+Handler_discover 7
- #
- # Bug#45377: ARCHIVE tables aren't discoverable after OPTIMIZE
- #
diff --git a/storage/test_sql_discovery/mysql-test/main/r/plugin.rdiff b/storage/test_sql_discovery/mysql-test/main/r/plugin.rdiff
deleted file mode 100644
index b9288d70f4b..00000000000
--- a/storage/test_sql_discovery/mysql-test/main/r/plugin.rdiff
+++ /dev/null
@@ -1,11 +0,0 @@
---- r/plugin.result 2013-02-21 19:46:59.000000000 +0100
-+++ r/plugin.reject 2013-02-27 11:13:22.000000000 +0100
-@@ -71,6 +71,8 @@
- SELECT * FROM t2;
- ERROR 42000: Unknown storage engine 'EXAMPLE'
- DROP TABLE t2;
-+Warnings:
-+Error 1286 Unknown storage engine 'EXAMPLE'
- UNINSTALL PLUGIN EXAMPLE;
- ERROR 42000: PLUGIN EXAMPLE does not exist
- UNINSTALL PLUGIN non_exist;
diff --git a/storage/tokudb/CMakeLists.txt b/storage/tokudb/CMakeLists.txt
index 09ca7ca9659..8919752fa73 100644
--- a/storage/tokudb/CMakeLists.txt
+++ b/storage/tokudb/CMakeLists.txt
@@ -1,7 +1,6 @@
# ft-index only supports x86-64 and cmake-2.8.9+
IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND
- NOT CMAKE_VERSION VERSION_LESS "2.8.9" AND
- NOT WITHOUT_TOKUDB AND NOT WITHOUT_TOKUDB_STORAGE_ENGINE)
+ NOT CMAKE_VERSION VERSION_LESS "2.8.9")
CHECK_CXX_SOURCE_COMPILES(
"
struct a {int b; int c; };
@@ -10,12 +9,12 @@ int main() { return 0; }
" TOKUDB_OK)
ENDIF()
-IF(NOT TOKUDB_OK)
+IF(NOT TOKUDB_OK OR WITHOUT_TOKUDB OR WITHOUT_TOKUDB_STORAGE_ENGINE)
RETURN()
ENDIF()
############################################
-SET(ENV{TOKUDB_VERSION} "7.1.0")
+SET(TOKUDB_VERSION "7.1.5")
SET(TOKUDB_DEB_FILES "usr/lib/mysql/plugin/ha_tokudb.so\netc/mysql/conf.d/tokudb.cnf\nusr/bin/tokuftdump\nusr/share/doc/mariadb-server-10.0/README-TOKUDB\nusr/share/doc/mariadb-server-10.0/README.md" PARENT_SCOPE)
SET(USE_BDB OFF CACHE BOOL "")
SET(USE_VALGRIND OFF CACHE BOOL "")
@@ -32,14 +31,13 @@ MARK_AS_ADVANCED(USE_VALGRIND)
MARK_AS_ADVANCED(XZ_SOURCE_DIR)
############################################
-IF(DEFINED ENV{TOKUDB_VERSION})
- SET(TOKUDB_VERSION $ENV{TOKUDB_VERSION})
- ADD_DEFINITIONS("-DTOKUDB_VERSION=\"${TOKUDB_VERSION}\"")
+IF(NOT DEFINED TOKUDB_VERSION)
+ IF(DEFINED ENV{TOKUDB_VERSION})
+ SET(TOKUDB_VERSION $ENV{TOKUDB_VERSION})
+ ENDIF()
ENDIF()
-
-IF(DEFINED ENV{TOKUDB_PATCHES})
- SET(TOKUDB_PATCHES $ENV{TOKUDB_PATCHES})
- ADD_DEFINITIONS("-DTOKUDB_PATCHES=${TOKUDB_PATCHES}")
+IF(DEFINED TOKUDB_VERSION)
+ ADD_DEFINITIONS("-DTOKUDB_VERSION=\"${TOKUDB_VERSION}\"")
ENDIF()
ADD_SUBDIRECTORY(ft-index)
diff --git a/storage/tokudb/README.md b/storage/tokudb/README.md
index 517a9e44585..09add457237 100644
--- a/storage/tokudb/README.md
+++ b/storage/tokudb/README.md
@@ -24,26 +24,34 @@ working MySQL or MariaDB with Tokutek patches, and with the TokuDB storage
engine, called `make.mysql.bash`. This script will download copies of the
needed source code from github and build everything.
-To build MySQL with TokuDB 7.0.4:
+To build MySQL with TokuDB 7.1.0:
```sh
-scripts/make.mysql.bash --mysqlbuild=mysql-5.5.30-tokudb-7.0.4-linux-x86_64
+scripts/make.mysql.bash --mysqlbuild=mysql-5.5.30-tokudb-7.1.0-linux-x86_64
```
-To build MariaDB with TokuDB 7.0.4:
+To build MariaDB with TokuDB 7.1.0:
```sh
-scripts/make.mysql.bash --mysqlbuild=mariadb-5.5.30-tokudb-7.0.4-linux-x86_64
+scripts/make.mysql.bash --mysqlbuild=mariadb-5.5.30-tokudb-7.1.0-linux-x86_64
```
Before you start, make sure you have a C++11-compatible compiler (GCC >=
4.7 is recommended), as well as CMake >=2.8.8, and the libraries and
-header files for valgrind,zlib, and Berkeley DB. On Centos, `yum install
-valgrind-devel zlib-devel libdb-devel`, on Ubuntu, `apt-get install
-valgrind zlib1g-dev libdb-dev`.
+header files for valgrind,zlib, and Berkeley DB.
+
+On CentOS, `yum install valgrind-devel zlib-devel libdb-devel`
+
+On Ubuntu, `apt-get install valgrind zlib1g-dev libdb-dev`
You can set the compiler by passing `--cc` and `--cxx` to the script, to
select one that's new enough. The default is `scripts/make.mysql.bash
--cc=gcc47 --cxx=g++47`, which may not exist on your system.
+To build a debug MySQL with TokuDB using the head of the Tokutek github
+repositories, run this:
+```sh
+scripts/make.mysql.debug.env.bash
+```
+
Contributing
------------
diff --git a/storage/tokudb/ft-index/CMakeLists.txt b/storage/tokudb/ft-index/CMakeLists.txt
index 22249b66522..e0fdad79103 100644
--- a/storage/tokudb/ft-index/CMakeLists.txt
+++ b/storage/tokudb/ft-index/CMakeLists.txt
@@ -18,10 +18,12 @@ include(TokuMergeLibs)
set(LIBTOKUPORTABILITY "tokuportability" CACHE STRING "Name of libtokuportability.so")
set(LIBTOKUDB "tokufractaltree" CACHE STRING "Name of libtokufractaltree.so")
-if(USE_VALGRIND)
-include_directories(
- ${VALGRIND_INCLUDE_DIR}
- )
+set(INSTALL_LIBDIR "lib" CACHE STRING "where to install libs")
+
+if (USE_VALGRIND AND NOT VALGRIND_INCLUDE_DIR MATCHES NOTFOUND)
+ include_directories(
+ ${VALGRIND_INCLUDE_DIR}
+ )
endif()
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/include
diff --git a/storage/tokudb/ft-index/README.md b/storage/tokudb/ft-index/README.md
index e45225d57df..72b8988165a 100644
--- a/storage/tokudb/ft-index/README.md
+++ b/storage/tokudb/ft-index/README.md
@@ -2,15 +2,18 @@ TokuKV
======
TokuKV is a high-performance, transactional key-value store, used in the
-TokuDB storage engine for MySQL and MariaDB.
+TokuDB storage engine for MySQL and MariaDB and in TokuMX, the
+high-performance MongoDB distribution.
TokuKV is provided as a shared library with an interface similar to
Berkeley DB.
To build the full MySQL product, see the instructions for
-[ft-engine][ft-engine]. This document covers TokuKV only.
+[Tokutek/ft-engine][ft-engine]. To build TokuMX, see the instructions
+for [Tokutek/mongo][mongo]. This document covers TokuKV only.
-[ft-engine]: http://github.com/Tokutek/ft-engine
+[ft-engine]: https://github.com/Tokutek/ft-engine
+[mongo]: https://github.com/Tokutek/mongo
Building
@@ -18,9 +21,8 @@ Building
TokuKV is built using CMake >= 2.8.9. Out-of-source builds are
recommended. You need a C++11 compiler, though only GCC >= 4.7 and
-Apple's Clang are tested. You also need zlib and valgrind development
-packages (`yum install valgrind-devel zlib-devel` or `apt-get install
-valgrind zlib1g-dev`).
+Apple's Clang are tested. You also need zlib development packages
+(`yum install zlib-devel` or `apt-get install zlib1g-dev`).
You will also need the source code for jemalloc, checked out in
`third_party/`.
@@ -35,6 +37,7 @@ CC=gcc47 CXX=g++47 cmake \
-D CMAKE_BUILD_TYPE=Debug \
-D USE_BDB=OFF \
-D BUILD_TESTING=OFF \
+ -D USE_VALGRIND=OFF \
-D CMAKE_INSTALL_PREFIX=../prefix/ \
..
cmake --build . --target install
@@ -102,13 +105,20 @@ Contributing
Please report bugs in TokuKV here on github.
-We have two publicly accessible mailing lists:
+We have two publicly accessible mailing lists for TokuDB:
- tokudb-user@googlegroups.com is for general and support related
questions about the use of TokuDB.
- tokudb-dev@googlegroups.com is for discussion of the development of
TokuDB.
+and two for TokuMX:
+
+ - tokumx-user@googlegroups.com is for general and support related
+ questions about the use of TokuMX.
+ - tokumx-dev@googlegroups.com is for discussion of the development of
+ TokuMX.
+
We are also available on IRC on freenode.net, in the #tokutek channel.
diff --git a/storage/tokudb/ft-index/buildheader/CMakeLists.txt b/storage/tokudb/ft-index/buildheader/CMakeLists.txt
index 8427f216fd4..5da3c98ff48 100644
--- a/storage/tokudb/ft-index/buildheader/CMakeLists.txt
+++ b/storage/tokudb/ft-index/buildheader/CMakeLists.txt
@@ -19,9 +19,11 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
FILES "${CMAKE_CURRENT_BINARY_DIR}/db.h"
DESTINATION include
RENAME tokudb.h
+ COMPONENT tokukv_headers
)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/db.h"
DESTINATION include
+ COMPONENT tokukv_headers
)
endif ()
diff --git a/storage/tokudb/ft-index/buildheader/make_tdb.cc b/storage/tokudb/ft-index/buildheader/make_tdb.cc
index 72da4d7998b..4fc00e6d9e7 100644
--- a/storage/tokudb/ft-index/buildheader/make_tdb.cc
+++ b/storage/tokudb/ft-index/buildheader/make_tdb.cc
@@ -207,6 +207,7 @@ enum {
TOKUDB_BAD_CHECKSUM = -100015,
TOKUDB_HUGE_PAGES_ENABLED = -100016,
TOKUDB_OUT_OF_RANGE = -100017,
+ TOKUDB_INTERRUPTED = -100018,
DONTUSE_I_JUST_PUT_THIS_HERE_SO_I_COULD_HAVE_A_COMMA_AFTER_EACH_ITEM
};
@@ -359,6 +360,7 @@ static void print_defines (void) {
dodefine(TOKUDB_BAD_CHECKSUM);
dodefine(TOKUDB_HUGE_PAGES_ENABLED);
dodefine(TOKUDB_OUT_OF_RANGE);
+ dodefine(TOKUDB_INTERRUPTED);
/* LOADER flags */
printf("/* LOADER flags */\n");
@@ -449,7 +451,7 @@ static void print_db_env_struct (void) {
"int (*set_lk_max_memory) (DB_ENV *env, uint64_t max)",
"int (*get_lk_max_memory) (DB_ENV *env, uint64_t *max)",
"void (*set_update) (DB_ENV *env, int (*update_function)(DB *, const DBT *key, const DBT *old_val, const DBT *extra, void (*set_val)(const DBT *new_val, void *set_extra), void *set_extra))",
- "int (*set_lock_timeout) (DB_ENV *env, uint64_t lock_wait_time_msec)",
+ "int (*set_lock_timeout) (DB_ENV *env, uint64_t default_lock_wait_time_msec, uint64_t (*get_lock_wait_time_cb)(uint64_t default_lock_wait_time))",
"int (*get_lock_timeout) (DB_ENV *env, uint64_t *lock_wait_time_msec)",
"int (*set_lock_timeout_callback) (DB_ENV *env, lock_timeout_callback callback)",
"int (*txn_xa_recover) (DB_ENV*, TOKU_XA_XID list[/*count*/], long count, /*out*/ long *retp, uint32_t flags)",
@@ -459,8 +461,9 @@ static void print_db_env_struct (void) {
"void (*change_fsync_log_period) (DB_ENV*, uint32_t)",
"int (*iterate_live_transactions) (DB_ENV *env, iterate_transactions_callback callback, void *extra)",
"int (*iterate_pending_lock_requests) (DB_ENV *env, iterate_requests_callback callback, void *extra)",
- "void (*set_loader_memory_size)(DB_ENV *env, uint64_t loader_memory_size)",
+ "void (*set_loader_memory_size)(DB_ENV *env, uint64_t (*get_loader_memory_size_callback)(void))",
"uint64_t (*get_loader_memory_size)(DB_ENV *env)",
+ "void (*set_killed_callback)(DB_ENV *env, uint64_t default_killed_time_msec, uint64_t (*get_killed_time_callback)(uint64_t default_killed_time_msec), int (*killed_callback)(void))",
NULL};
sort_and_dump_fields("db_env", true, extra);
@@ -529,7 +532,7 @@ static void print_db_struct (void) {
"int (*change_descriptor) (DB*, DB_TXN*, const DBT* descriptor, uint32_t) /* change row/dictionary descriptor for a db. Available only while db is open */",
"int (*getf_set)(DB*, DB_TXN*, uint32_t, DBT*, YDB_CALLBACK_FUNCTION, void*) /* same as DBC->c_getf_set without a persistent cursor) */",
"int (*optimize)(DB*) /* Run garbage collecion and promote all transactions older than oldest. Amortized (happens during flattening) */",
- "int (*hot_optimize)(DB*, DBT*, DBT*, int (*progress_callback)(void *progress_extra, float progress), void *progress_extra)",
+ "int (*hot_optimize)(DB*, DBT*, DBT*, int (*progress_callback)(void *progress_extra, float progress), void *progress_extra, uint64_t* loops_run)",
"int (*get_fragmentation)(DB*,TOKU_DB_FRAGMENTATION)",
"int (*change_pagesize)(DB*,uint32_t)",
"int (*change_readpagesize)(DB*,uint32_t)",
@@ -538,6 +541,9 @@ static void print_db_struct (void) {
"int (*change_compression_method)(DB*,TOKU_COMPRESSION_METHOD)",
"int (*get_compression_method)(DB*,TOKU_COMPRESSION_METHOD*)",
"int (*set_compression_method)(DB*,TOKU_COMPRESSION_METHOD)",
+ "int (*change_fanout)(DB *db, uint32_t fanout)",
+ "int (*get_fanout)(DB *db, uint32_t *fanout)",
+ "int (*set_fanout)(DB *db, uint32_t fanout)",
"int (*set_indexer)(DB*, DB_INDEXER*)",
"void (*get_indexer)(DB*, DB_INDEXER**)",
"int (*verify_with_progress)(DB *, int (*progress_callback)(void *progress_extra, float progress), void *progress_extra, int verbose, int keep_going)",
@@ -546,6 +552,7 @@ static void print_db_struct (void) {
"int (*get_fractal_tree_info64)(DB*,uint64_t*,uint64_t*,uint64_t*,uint64_t*)",
"int (*iterate_fractal_tree_block_map)(DB*,int(*)(uint64_t,int64_t,int64_t,int64_t,int64_t,void*),void*)",
"const char *(*get_dname)(DB *db)",
+ "int (*get_last_key)(DB *db, YDB_CALLBACK_FUNCTION func, void* extra)",
NULL};
sort_and_dump_fields("db", true, extra);
}
@@ -602,6 +609,7 @@ static void print_dbc_struct (void) {
"int (*c_getf_set_range)(DBC *, uint32_t, DBT *, YDB_CALLBACK_FUNCTION, void *)",
"int (*c_getf_set_range_reverse)(DBC *, uint32_t, DBT *, YDB_CALLBACK_FUNCTION, void *)",
"int (*c_set_bounds)(DBC*, const DBT*, const DBT*, bool pre_acquire, int out_of_range_error)",
+ "void (*c_set_check_interrupt_callback)(DBC*, bool (*)(void*), void *)",
"void (*c_remove_restriction)(DBC*)",
NULL};
sort_and_dump_fields("dbc", false, extra);
@@ -729,10 +737,10 @@ int main (int argc, char *const argv[] __attribute__((__unused__))) {
printf(" CHARSTR, // interpret as char * \n");
printf(" UNIXTIME, // interpret as time_t \n");
printf(" TOKUTIME, // interpret as tokutime_t \n");
- printf(" PARCOUNT // interpret as PARTITIONED_COUNTER\n");
+ printf(" PARCOUNT, // interpret as PARTITIONED_COUNTER\n");
+ printf(" DOUBLE // interpret as double\n");
printf("} toku_engine_status_display_type; \n");
-
printf("typedef enum {\n");
printf(" TOKU_ENGINE_STATUS = (1ULL<<0), // Include when asking for engine status\n");
printf(" TOKU_GLOBAL_STATUS = (1ULL<<1), // Include when asking for information_schema.global_status\n");
@@ -821,6 +829,7 @@ int main (int argc, char *const argv[] __attribute__((__unused__))) {
printf("int toku_set_trace_file (const char *fname) %s;\n", VISIBLE);
printf("int toku_close_trace_file (void) %s;\n", VISIBLE);
printf("void db_env_set_direct_io (bool direct_io_on) %s;\n", VISIBLE);
+ printf("void db_env_set_compress_buffers_before_eviction (bool compress_buffers) %s;\n", VISIBLE);
printf("void db_env_set_func_fsync (int (*)(int)) %s;\n", VISIBLE);
printf("void db_env_set_func_free (void (*)(void*)) %s;\n", VISIBLE);
printf("void db_env_set_func_malloc (void *(*)(size_t)) %s;\n", VISIBLE);
diff --git a/storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake b/storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake
index 5ca2fb64458..9e6c9d4834c 100644
--- a/storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake
+++ b/storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake
@@ -85,8 +85,8 @@ include(CTest)
set(TOKUDB_DATA "${TokuDB_SOURCE_DIR}/../tokudb.data" CACHE FILEPATH "Path to data files for tests")
if (BUILD_TESTING OR BUILD_FT_TESTS OR BUILD_SRC_TESTS)
- set(WARNED_ABOUT_DATA 1) # disable the warning below
- if (NOT EXISTS "${TOKUDB_DATA}/" AND NOT WARNED_ABOUT_DATA)
+ set(WARNED_ABOUT_DATA 0)
+ if (NOT EXISTS "${TOKUDB_DATA}/" AND NOT WARNED_ABOUT_DATA AND CMAKE_PROJECT_NAME STREQUAL TokuDB)
message(WARNING "Test data files are missing from ${TOKUDB_DATA}, which will cause some tests to fail. Please put them there or modify TOKUDB_DATA to avoid this.")
set(WARNED_ABOUT_DATA 1)
endif ()
diff --git a/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake b/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
index 3bbb3722f7b..4b8a600f141 100644
--- a/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
+++ b/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
@@ -88,6 +88,7 @@ set_cflags_if_supported(
-Wno-error=missing-format-attribute
-Wno-error=address-of-array-temporary
-Wno-error=tautological-constant-out-of-range-compare
+ -Wno-ignored-attributes
-fno-rtti
-fno-exceptions
)
diff --git a/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake b/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake
index f661c7f6bb3..461390ffb7c 100644
--- a/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake
+++ b/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake
@@ -1,5 +1,40 @@
include(ExternalProject)
+if (CMAKE_PROJECT_NAME STREQUAL TokuDB)
+ ## add jemalloc with an external project
+ set(JEMALLOC_SOURCE_DIR "${TokuDB_SOURCE_DIR}/third_party/jemalloc" CACHE FILEPATH "Where to find jemalloc sources.")
+ if (NOT EXISTS "${JEMALLOC_SOURCE_DIR}/configure")
+ message(FATAL_ERROR "Can't find jemalloc sources. Please check them out to ${JEMALLOC_SOURCE_DIR} or modify JEMALLOC_SOURCE_DIR.")
+ endif ()
+ set(jemalloc_configure_opts "CC=${CMAKE_C_COMPILER}" "--with-jemalloc-prefix=" "--with-private-namespace=tokudb_jemalloc_internal_" "--enable-cc-silence")
+ option(JEMALLOC_DEBUG "Build jemalloc with --enable-debug." OFF)
+ if (JEMALLOC_DEBUG)
+ list(APPEND jemalloc_configure_opts --enable-debug)
+ endif ()
+ ExternalProject_Add(build_jemalloc
+ PREFIX jemalloc
+ SOURCE_DIR "${JEMALLOC_SOURCE_DIR}"
+ CONFIGURE_COMMAND
+ "${JEMALLOC_SOURCE_DIR}/configure" ${jemalloc_configure_opts}
+ "--prefix=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc"
+ )
+
+ add_library(jemalloc STATIC IMPORTED GLOBAL)
+ set_target_properties(jemalloc PROPERTIES IMPORTED_LOCATION
+ "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc/lib/libjemalloc_pic.a")
+ add_dependencies(jemalloc build_jemalloc)
+ add_library(jemalloc_nopic STATIC IMPORTED GLOBAL)
+ set_target_properties(jemalloc_nopic PROPERTIES IMPORTED_LOCATION
+ "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc/lib/libjemalloc.a")
+ add_dependencies(jemalloc_nopic build_jemalloc)
+
+ # detect when we are being built as a subproject
+ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
+ install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc/lib" DESTINATION .
+ COMPONENT tokukv_libs_extra)
+ endif ()
+endif ()
+
## add lzma with an external project
set(xz_configure_opts --with-pic --enable-static)
if (APPLE)
diff --git a/storage/tokudb/ft-index/examples/CMakeLists.txt b/storage/tokudb/ft-index/examples/CMakeLists.txt
index c8d98d3d06e..01ad01aa8d2 100644
--- a/storage/tokudb/ft-index/examples/CMakeLists.txt
+++ b/storage/tokudb/ft-index/examples/CMakeLists.txt
@@ -10,5 +10,7 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
README.examples
DESTINATION
examples
+ COMPONENT
+ tokukv_examples
)
endif () \ No newline at end of file
diff --git a/storage/tokudb/ft-index/ft/CMakeLists.txt b/storage/tokudb/ft-index/ft/CMakeLists.txt
index a8de1ac2828..3627f1c3dfe 100644
--- a/storage/tokudb/ft-index/ft/CMakeLists.txt
+++ b/storage/tokudb/ft-index/ft/CMakeLists.txt
@@ -8,7 +8,7 @@ set_source_files_properties(
PROPERTIES GENERATED TRUE)
add_executable(logformat logformat.cc)
-target_link_libraries(logformat ${LIBTOKUPORTABILITY})
+target_link_libraries(logformat ${LIBTOKUPORTABILITY}_static)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/log_code.cc"
diff --git a/storage/tokudb/ft-index/ft/bndata.cc b/storage/tokudb/ft-index/ft/bndata.cc
index ef542a75ad8..8d33ca860fa 100644
--- a/storage/tokudb/ft-index/ft/bndata.cc
+++ b/storage/tokudb/ft-index/ft/bndata.cc
@@ -105,7 +105,7 @@ void bn_data::init_zero() {
void bn_data::initialize_empty() {
toku_mempool_zero(&m_buffer_mempool);
- m_buffer.create();
+ m_buffer.create_no_array();
}
void bn_data::initialize_from_data(uint32_t num_entries, unsigned char *buf, uint32_t data_size) {
@@ -230,11 +230,11 @@ static int move_it (const KLPAIR &klpair, const uint32_t idx, struct omt_compres
// Compress things, and grow the mempool if needed.
void bn_data::omt_compress_kvspace(size_t added_size, void **maybe_free) {
uint32_t total_size_needed = toku_mempool_get_used_space(&m_buffer_mempool) + added_size;
- if (total_size_needed+total_size_needed >= m_buffer_mempool.size) {
- m_buffer_mempool.size = total_size_needed+total_size_needed;
- }
+ // set the new mempool size to be twice of the space we actually need.
+ // On top of the 25% that is padded within toku_mempool_construct (which we
+ // should consider getting rid of), that should be good enough.
struct mempool new_kvspace;
- toku_mempool_construct(&new_kvspace, m_buffer_mempool.size);
+ toku_mempool_construct(&new_kvspace, 2*total_size_needed);
uint32_t numvals = omt_size();
KLPAIR *XMALLOC_N(numvals, newvals);
struct omt_compressor_state oc = { &new_kvspace, newvals };
diff --git a/storage/tokudb/ft-index/ft/bndata.h b/storage/tokudb/ft-index/ft/bndata.h
index a173e94d759..37e80c32967 100644
--- a/storage/tokudb/ft-index/ft/bndata.h
+++ b/storage/tokudb/ft-index/ft/bndata.h
@@ -116,7 +116,7 @@ struct klpair_struct {
typedef struct klpair_struct *KLPAIR;
-static LEAFENTRY get_le_from_klpair(KLPAIR klpair){
+static inline LEAFENTRY get_le_from_klpair(KLPAIR klpair){
uint32_t keylen = klpair->keylen;
LEAFENTRY le = (LEAFENTRY)(klpair->key_le + keylen);
return le;
@@ -250,5 +250,7 @@ private:
klpair_omt_t m_buffer; // pointers to individual leaf entries
struct mempool m_buffer_mempool; // storage for all leaf entries
+
+ friend class bndata_bugfix_test;
};
diff --git a/storage/tokudb/ft-index/ft/cachetable-internal.h b/storage/tokudb/ft-index/ft/cachetable-internal.h
index a4c9009561a..9a57bfcc8a1 100644
--- a/storage/tokudb/ft-index/ft/cachetable-internal.h
+++ b/storage/tokudb/ft-index/ft/cachetable-internal.h
@@ -458,7 +458,7 @@ private:
//
class checkpointer {
public:
- void init(pair_list *_pl, TOKULOGGER _logger, evictor *_ev, cachefile_list *files);
+ int init(pair_list *_pl, TOKULOGGER _logger, evictor *_ev, cachefile_list *files);
void destroy();
void set_checkpoint_period(uint32_t new_period);
uint32_t get_checkpoint_period();
@@ -480,6 +480,8 @@ private:
cachefile_list *m_cf_list;
pair_list *m_list;
evictor *m_ev;
+ bool m_checkpointer_cron_init;
+ bool m_checkpointer_init;
// variable used by the checkpoint thread to know
// when all work induced by cloning on client threads is done
@@ -512,7 +514,7 @@ const int EVICTION_PERIOD = 1;
//
class evictor {
public:
- void init(long _size_limit, pair_list* _pl, cachefile_list* _cf_list, KIBBUTZ _kibbutz, uint32_t eviction_period);
+ int init(long _size_limit, pair_list* _pl, cachefile_list* _cf_list, KIBBUTZ _kibbutz, uint32_t eviction_period);
void destroy();
void add_pair_attr(PAIR_ATTR attr);
void remove_pair_attr(PAIR_ATTR attr);
@@ -522,7 +524,7 @@ public:
uint64_t reserve_memory(double fraction, uint64_t upper_bound);
void release_reserved_memory(uint64_t reserved_memory);
void run_eviction_thread();
- void do_partial_eviction(PAIR p, bool pair_mutex_held);
+ void do_partial_eviction(PAIR p);
void evict_pair(PAIR p, bool checkpoint_pending);
void wait_for_cache_pressure_to_subside();
void signal_eviction_thread();
@@ -597,6 +599,10 @@ private:
// this variable is ONLY used for testing purposes
uint64_t m_num_eviction_thread_runs;
+
+ bool m_ev_thread_init;
+ bool m_evictor_init;
+
friend class evictor_test_helpers;
friend class evictor_unit_test;
};
@@ -608,7 +614,7 @@ private:
//
class cleaner {
public:
- void init(uint32_t cleaner_iterations, pair_list* _pl, CACHETABLE _ct);
+ int init(uint32_t cleaner_iterations, pair_list* _pl, CACHETABLE _ct);
void destroy(void);
uint32_t get_iterations(void);
void set_iterations(uint32_t new_iterations);
@@ -625,6 +631,8 @@ private:
// minimum period of 1s so if you want
// more frequent cleaner runs you must
// use this)
+ bool m_cleaner_cron_init;
+ bool m_cleaner_init;
};
///////////////////////////////////////////////////////////////////////////////
diff --git a/storage/tokudb/ft-index/ft/cachetable.cc b/storage/tokudb/ft-index/ft/cachetable.cc
index 4bfe8d90379..fb427c5349b 100644
--- a/storage/tokudb/ft-index/ft/cachetable.cc
+++ b/storage/tokudb/ft-index/ft/cachetable.cc
@@ -106,6 +106,7 @@ PATENT RIGHTS GRANT:
#include <portability/toku_time.h>
#include <util/rwlock.h>
#include <util/status.h>
+#include <util/context.h>
///////////////////////////////////////////////////////////////////////////////////
// Engine status
@@ -291,7 +292,10 @@ uint32_t toku_get_cleaner_iterations_unlocked (CACHETABLE ct) {
// reserve 25% as "unreservable". The loader cannot have it.
#define unreservable_memory(size) ((size)/4)
-void toku_cachetable_create(CACHETABLE *result, long size_limit, LSN UU(initial_lsn), TOKULOGGER logger) {
+int toku_cachetable_create(CACHETABLE *ct_result, long size_limit, LSN UU(initial_lsn), TOKULOGGER logger) {
+ int result = 0;
+ int r;
+
if (size_limit == 0) {
size_limit = 128*1024*1024;
}
@@ -301,16 +305,46 @@ void toku_cachetable_create(CACHETABLE *result, long size_limit, LSN UU(initial_
ct->cf_list.init();
int num_processors = toku_os_get_number_active_processors();
- ct->client_kibbutz = toku_kibbutz_create(num_processors);
- ct->ct_kibbutz = toku_kibbutz_create(2*num_processors);
int checkpointing_nworkers = (num_processors/4) ? num_processors/4 : 1;
- ct->checkpointing_kibbutz = toku_kibbutz_create(checkpointing_nworkers);
+ r = toku_kibbutz_create(num_processors, &ct->client_kibbutz);
+ if (r != 0) {
+ result = r;
+ goto cleanup;
+ }
+ r = toku_kibbutz_create(2*num_processors, &ct->ct_kibbutz);
+ if (r != 0) {
+ result = r;
+ goto cleanup;
+ }
+ r = toku_kibbutz_create(checkpointing_nworkers, &ct->checkpointing_kibbutz);
+ if (r != 0) {
+ result = r;
+ goto cleanup;
+ }
// must be done after creating ct_kibbutz
- ct->ev.init(size_limit, &ct->list, &ct->cf_list, ct->ct_kibbutz, EVICTION_PERIOD);
- ct->cp.init(&ct->list, logger, &ct->ev, &ct->cf_list);
- ct->cl.init(1, &ct->list, ct); // by default, start with one iteration
+ r = ct->ev.init(size_limit, &ct->list, &ct->cf_list, ct->ct_kibbutz, EVICTION_PERIOD);
+ if (r != 0) {
+ result = r;
+ goto cleanup;
+ }
+ r = ct->cp.init(&ct->list, logger, &ct->ev, &ct->cf_list);
+ if (r != 0) {
+ result = r;
+ goto cleanup;
+ }
+ r = ct->cl.init(1, &ct->list, ct); // by default, start with one iteration
+ if (r != 0) {
+ result = r;
+ goto cleanup;
+ }
ct->env_dir = toku_xstrdup(".");
- *result = ct;
+cleanup:
+ if (result == 0) {
+ *ct_result = ct;
+ } else {
+ toku_cachetable_close(&ct);
+ }
+ return result;
}
// Returns a pointer to the checkpoint contained within
@@ -618,39 +652,6 @@ static void cachetable_free_pair(PAIR p) {
ctpair_destroy(p);
}
-// Maybe remove a pair from the cachetable and free it, depending on whether
-// or not there are any threads interested in the pair. The flush callback
-// is called with write_me and keep_me both false, and the pair is destroyed.
-// The sole purpose of this function is to remove the node, so the write_me
-// argument to the flush callback is false, and the flush callback won't do
-// anything except destroy the node.
-//
-// on input, pair_list's write lock is held and PAIR's mutex is held
-// on exit, only the pair_list's write lock is still held
-//
-static void cachetable_maybe_remove_and_free_pair (
- pair_list* pl,
- evictor* ev,
- PAIR p
- )
-{
- // this ensures that a clone running in the background first completes
- if (p->value_rwlock.users() == 0 && p->refcount == 0) {
- // assumption is that if we are about to remove the pair
- // that no one has grabbed the disk_nb_mutex,
- // and that there is no cloned_value_data, because
- // no one is writing a cloned value out.
- assert(nb_mutex_users(&p->disk_nb_mutex) == 0);
- assert(p->cloned_value_data == NULL);
- cachetable_remove_pair(pl, ev, p);
- pair_unlock(p);
- cachetable_free_pair(p);
- }
- else {
- pair_unlock(p);
- }
-}
-
// assumes value_rwlock and disk_nb_mutex held on entry
// responsibility of this function is to only write a locked PAIR to disk
// and NOTHING else. We do not manipulate the state of the PAIR
@@ -774,7 +775,7 @@ static void cachetable_evicter(void* extra) {
static void cachetable_partial_eviction(void* extra) {
PAIR p = (PAIR)extra;
CACHEFILE cf = p->cachefile;
- p->ev->do_partial_eviction(p, false);
+ p->ev->do_partial_eviction(p);
bjm_remove_background_job(cf->bjm);
}
@@ -1483,6 +1484,8 @@ static bool try_pin_pair(
bool partial_fetch_required = pf_req_callback(p->value_data,read_extraargs);
if (partial_fetch_required) {
+ toku::context pf_ctx(CTX_PARTIAL_FETCH);
+
if (ct->ev.should_client_thread_sleep() && !already_slept) {
pair_lock(p);
unpin_pair(p, (lock_type == PL_READ));
@@ -1634,6 +1637,8 @@ beginning:
}
}
else {
+ toku::context fetch_ctx(CTX_FULL_FETCH);
+
ct->list.pair_unlock_by_fullhash(fullhash);
// we only want to sleep once per call to get_and_pin. If we have already
// slept and there is still cache pressure, then we might as
@@ -2038,10 +2043,7 @@ maybe_pin_pair(
if (retval == TOKUDB_TRY_AGAIN) {
unpin_pair(p, (lock_type == PL_READ));
}
- else {
- // just a sanity check
- assert(retval == 0);
- }
+ pair_touch(p);
pair_unlock(p);
return retval;
}
@@ -2071,6 +2073,8 @@ try_again:
ct->list.pair_lock_by_fullhash(fullhash);
PAIR p = ct->list.find_pair(cf, key, fullhash);
if (p == NULL) {
+ toku::context fetch_ctx(CTX_FULL_FETCH);
+
// Not found
ct->list.pair_unlock_by_fullhash(fullhash);
ct->list.write_list_lock();
@@ -2146,6 +2150,8 @@ try_again:
// still check for partial fetch
bool partial_fetch_required = pf_req_callback(p->value_data,read_extraargs);
if (partial_fetch_required) {
+ toku::context fetch_ctx(CTX_PARTIAL_FETCH);
+
run_unlockers(unlockers);
// we are now getting an expensive write lock, because we
@@ -2428,10 +2434,10 @@ static void remove_pair_for_close(PAIR p, CACHETABLE ct, bool completely) {
assert(p->dirty == CACHETABLE_CLEAN);
assert(p->refcount == 0);
if (completely) {
- // TODO: maybe break up this function
- // so that write lock does not need to be held for entire
- // free
- cachetable_maybe_remove_and_free_pair(&ct->list, &ct->ev, p);
+ cachetable_remove_pair(&ct->list, &ct->ev, p);
+ pair_unlock(p);
+ // TODO: Eventually, we should not hold the write list lock during free
+ cachetable_free_pair(p);
}
else {
// if we are not evicting completely,
@@ -2587,9 +2593,12 @@ void toku_cachetable_close (CACHETABLE *ctp) {
ct->list.destroy();
ct->cf_list.destroy();
- toku_kibbutz_destroy(ct->client_kibbutz);
- toku_kibbutz_destroy(ct->ct_kibbutz);
- toku_kibbutz_destroy(ct->checkpointing_kibbutz);
+ if (ct->client_kibbutz)
+ toku_kibbutz_destroy(ct->client_kibbutz);
+ if (ct->ct_kibbutz)
+ toku_kibbutz_destroy(ct->ct_kibbutz);
+ if (ct->checkpointing_kibbutz)
+ toku_kibbutz_destroy(ct->checkpointing_kibbutz);
toku_free(ct->env_dir);
toku_free(ct);
*ctp = 0;
@@ -3074,20 +3083,29 @@ int toku_cleaner_thread (void *cleaner_v) {
//
ENSURE_POD(cleaner);
-void cleaner::init(uint32_t _cleaner_iterations, pair_list* _pl, CACHETABLE _ct) {
+int cleaner::init(uint32_t _cleaner_iterations, pair_list* _pl, CACHETABLE _ct) {
// default is no cleaner, for now
- toku_minicron_setup(&m_cleaner_cron, 0, toku_cleaner_thread, this);
+ m_cleaner_cron_init = false;
+ int r = toku_minicron_setup(&m_cleaner_cron, 0, toku_cleaner_thread, this);
+ if (r == 0) {
+ m_cleaner_cron_init = true;
+ }
TOKU_VALGRIND_HG_DISABLE_CHECKING(&m_cleaner_iterations, sizeof m_cleaner_iterations);
m_cleaner_iterations = _cleaner_iterations;
m_pl = _pl;
m_ct = _ct;
+ m_cleaner_init = true;
+ return r;
}
// this function is allowed to be called multiple times
void cleaner::destroy(void) {
- if (!toku_minicron_has_been_shutdown(&m_cleaner_cron)) {
+ if (!m_cleaner_init) {
+ return;
+ }
+ if (m_cleaner_cron_init && !toku_minicron_has_been_shutdown(&m_cleaner_cron)) {
// for test code only, production code uses toku_cachetable_minicron_shutdown()
- int r = toku_minicron_shutdown(&m_cleaner_cron);
+ int r = toku_minicron_shutdown(&m_cleaner_cron);
assert(r==0);
}
}
@@ -3122,6 +3140,8 @@ void cleaner::set_period(uint32_t new_period) {
// start). At this point, we can safely unlock the cachetable, do the
// work (callback), and unlock/release our claim to the cachefile.
int cleaner::run_cleaner(void) {
+ toku::context cleaner_ctx(CTX_CLEANER);
+
int r;
uint32_t num_iterations = this->get_iterations();
for (uint32_t i = 0; i < num_iterations; ++i) {
@@ -3662,7 +3682,7 @@ static void *eviction_thread(void *evictor_v) {
// Starts the eviction thread, assigns external object references,
// and initializes all counters and condition variables.
//
-void evictor::init(long _size_limit, pair_list* _pl, cachefile_list* _cf_list, KIBBUTZ _kibbutz, uint32_t eviction_period) {
+int evictor::init(long _size_limit, pair_list* _pl, cachefile_list* _cf_list, KIBBUTZ _kibbutz, uint32_t eviction_period) {
TOKU_VALGRIND_HG_DISABLE_CHECKING(&m_ev_thread_is_running, sizeof m_ev_thread_is_running);
TOKU_VALGRIND_HG_DISABLE_CHECKING(&m_size_evicting, sizeof m_size_evicting);
@@ -3716,8 +3736,13 @@ void evictor::init(long _size_limit, pair_list* _pl, cachefile_list* _cf_list, K
// start the background thread
m_run_thread = true;
m_num_eviction_thread_runs = 0;
+ m_ev_thread_init = false;
r = toku_pthread_create(&m_ev_thread, NULL, eviction_thread, this);
- assert_zero(r);
+ if (r == 0) {
+ m_ev_thread_init = true;
+ }
+ m_evictor_init = true;
+ return r;
}
//
@@ -3725,7 +3750,10 @@ void evictor::init(long _size_limit, pair_list* _pl, cachefile_list* _cf_list, K
//
// NOTE: This should only be called if there are no evictions in progress.
//
-void evictor::destroy() {
+void evictor::destroy() {
+ if (!m_evictor_init) {
+ return;
+ }
assert(m_size_evicting == 0);
//
// commented out of Ming, because we could not finish
@@ -3734,16 +3762,16 @@ void evictor::destroy() {
//assert(m_size_current == 0);
// Stop the eviction thread.
- toku_mutex_lock(&m_ev_thread_lock);
- m_run_thread = false;
- this->signal_eviction_thread();
- toku_mutex_unlock(&m_ev_thread_lock);
-
- void *ret;
- int r = toku_pthread_join(m_ev_thread, &ret);
- assert_zero(r);
- assert(!m_ev_thread_is_running);
-
+ if (m_ev_thread_init) {
+ toku_mutex_lock(&m_ev_thread_lock);
+ m_run_thread = false;
+ this->signal_eviction_thread();
+ toku_mutex_unlock(&m_ev_thread_lock);
+ void *ret;
+ int r = toku_pthread_join(m_ev_thread, &ret);
+ assert_zero(r);
+ assert(!m_ev_thread_is_running);
+ }
destroy_partitioned_counter(m_size_nonleaf);
m_size_nonleaf = NULL;
destroy_partitioned_counter(m_size_leaf);
@@ -4007,6 +4035,8 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
m_pl->read_list_unlock();
ret_val = true;
if (curr_in_clock->count > 0) {
+ toku::context pe_ctx(CTX_PARTIAL_EVICTION);
+
uint32_t curr_size = curr_in_clock->attr.size;
// if the size of this PAIR is greater than the average size of PAIRs
// in the cachetable, then decrement it, otherwise, decrement
@@ -4052,10 +4082,10 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
write_extraargs
);
if (cost == PE_CHEAP) {
+ pair_unlock(curr_in_clock);
curr_in_clock->size_evicting_estimate = 0;
- this->do_partial_eviction(curr_in_clock, true);
+ this->do_partial_eviction(curr_in_clock);
bjm_remove_background_job(cf->bjm);
- pair_unlock(curr_in_clock);
}
else if (cost == PE_EXPENSIVE) {
// only bother running an expensive partial eviction
@@ -4083,6 +4113,8 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
}
}
else {
+ toku::context pe_ctx(CTX_FULL_EVICTION);
+
// responsibility of try_evict_pair to eventually remove background job
// pair's mutex is still grabbed here
this->try_evict_pair(curr_in_clock);
@@ -4094,26 +4126,48 @@ exit:
return ret_val;
}
+struct pair_unpin_with_new_attr_extra {
+ pair_unpin_with_new_attr_extra(evictor *e, PAIR p) :
+ ev(e), pair(p) {
+ }
+ evictor *ev;
+ PAIR pair;
+};
+
+static void pair_unpin_with_new_attr(PAIR_ATTR new_attr, void *extra) {
+ struct pair_unpin_with_new_attr_extra *info =
+ reinterpret_cast<struct pair_unpin_with_new_attr_extra *>(extra);
+ PAIR p = info->pair;
+ evictor *ev = info->ev;
+
+ // change the attr in the evictor, then update the value in the pair
+ ev->change_pair_attr(p->attr, new_attr);
+ p->attr = new_attr;
+
+ // unpin
+ pair_lock(p);
+ p->value_rwlock.write_unlock();
+ pair_unlock(p);
+}
+
//
-// on entry and exit, pair's mutex is held if pair_mutex_held is true
+// on entry and exit, pair's mutex is not held
// on exit, PAIR is unpinned
//
-void evictor::do_partial_eviction(PAIR p, bool pair_mutex_held) {
- PAIR_ATTR new_attr;
+void evictor::do_partial_eviction(PAIR p) {
+ // Copy the old attr
PAIR_ATTR old_attr = p->attr;
-
- p->pe_callback(p->value_data, old_attr, &new_attr, p->write_extraargs);
+ long long size_evicting_estimate = p->size_evicting_estimate;
- this->change_pair_attr(old_attr, new_attr);
- p->attr = new_attr;
- this->decrease_size_evicting(p->size_evicting_estimate);
- if (!pair_mutex_held) {
- pair_lock(p);
- }
- p->value_rwlock.write_unlock();
- if (!pair_mutex_held) {
- pair_unlock(p);
- }
+ struct pair_unpin_with_new_attr_extra extra(this, p);
+ p->pe_callback(p->value_data, old_attr, p->write_extraargs,
+ // passed as the finalize continuation, which allows the
+ // pe_callback to unpin the node before doing expensive cleanup
+ pair_unpin_with_new_attr, &extra);
+
+ // now that the pe_callback (and its pair_unpin_with_new_attr continuation)
+ // have finished, we can safely decrease size_evicting
+ this->decrease_size_evicting(size_evicting_estimate);
}
//
@@ -4188,8 +4242,25 @@ void evictor::evict_pair(PAIR p, bool for_checkpoint) {
nb_mutex_unlock(&p->disk_nb_mutex);
// at this point, we have the pair list's write list lock
// and we have the pair's mutex (p->mutex) held
- cachetable_maybe_remove_and_free_pair(m_pl, this, p);
+
+ // this ensures that a clone running in the background first completes
+ bool removed = false;
+ if (p->value_rwlock.users() == 0 && p->refcount == 0) {
+ // assumption is that if we are about to remove the pair
+ // that no one has grabbed the disk_nb_mutex,
+ // and that there is no cloned_value_data, because
+ // no one is writing a cloned value out.
+ assert(nb_mutex_users(&p->disk_nb_mutex) == 0);
+ assert(p->cloned_value_data == NULL);
+ cachetable_remove_pair(m_pl, this, p);
+ removed = true;
+ }
+ pair_unlock(p);
m_pl->write_list_unlock();
+ // do not want to hold the write list lock while freeing a pair
+ if (removed) {
+ cachetable_free_pair(p);
+ }
}
//
@@ -4348,7 +4419,7 @@ ENSURE_POD(checkpointer);
//
// Sets the cachetable reference in this checkpointer class, this is temporary.
//
-void checkpointer::init(pair_list *_pl,
+int checkpointer::init(pair_list *_pl,
TOKULOGGER _logger,
evictor *_ev,
cachefile_list *files) {
@@ -4359,11 +4430,20 @@ void checkpointer::init(pair_list *_pl,
bjm_init(&m_checkpoint_clones_bjm);
// Default is no checkpointing.
- toku_minicron_setup(&m_checkpointer_cron, 0, checkpoint_thread, this);
+ m_checkpointer_cron_init = false;
+ int r = toku_minicron_setup(&m_checkpointer_cron, 0, checkpoint_thread, this);
+ if (r == 0) {
+ m_checkpointer_cron_init = true;
+ }
+ m_checkpointer_init = true;
+ return r;
}
void checkpointer::destroy() {
- if (!this->has_been_shutdown()) {
+ if (!m_checkpointer_init) {
+ return;
+ }
+ if (m_checkpointer_cron_init && !this->has_been_shutdown()) {
// for test code only, production code uses toku_cachetable_minicron_shutdown()
int r = this->shutdown();
assert(r == 0);
diff --git a/storage/tokudb/ft-index/ft/cachetable.h b/storage/tokudb/ft-index/ft/cachetable.h
index 478954032bf..c654927aa21 100644
--- a/storage/tokudb/ft-index/ft/cachetable.h
+++ b/storage/tokudb/ft-index/ft/cachetable.h
@@ -122,7 +122,7 @@ uint32_t toku_get_cleaner_iterations_unlocked (CACHETABLE ct);
// create and initialize a cache table
// size_limit is the upper limit on the size of the size of the values in the table
// pass 0 if you want the default
-void toku_cachetable_create(CACHETABLE *result, long size_limit, LSN initial_lsn, TOKULOGGER);
+int toku_cachetable_create(CACHETABLE *result, long size_limit, LSN initial_lsn, TOKULOGGER);
// Create a new cachetable.
// Effects: a new cachetable is created and initialized.
@@ -223,11 +223,15 @@ typedef void (*CACHETABLE_PARTIAL_EVICTION_EST_CALLBACK)(void *ftnode_pv, void*
// The cachetable calls the partial eviction callback is to possibly try and partially evict pieces
// of the PAIR. The callback determines the strategy for what to evict. The callback may choose to free
-// nothing, or may choose to free as much as possible.
-// old_attr is the PAIR_ATTR of the PAIR when the callback is called.
-// new_attr is set to the new PAIR_ATTR after the callback executes partial eviction
-// Requires a write lock to be held on the PAIR in the cachetable while this function is called
-typedef int (*CACHETABLE_PARTIAL_EVICTION_CALLBACK)(void *ftnode_pv, PAIR_ATTR old_attr, PAIR_ATTR* new_attr, void *write_extraargs);
+// nothing, or may choose to free as much as possible. When the partial eviction callback is finished,
+// it must call finalize with the new PAIR_ATTR and the given finalize_extra. After this point, the
+// write lock will be released on the PAIR and it is no longer safe to operate on any of the passed arguments.
+// This is useful for doing expensive cleanup work outside of the PAIR's write lock (such as destroying objects, etc)
+//
+// on entry, requires a write lock to be held on the PAIR in the cachetable while this function is called
+// on exit, the finalize continuation is called
+typedef int (*CACHETABLE_PARTIAL_EVICTION_CALLBACK)(void *ftnode_pv, PAIR_ATTR old_attr, void *write_extraargs,
+ void (*finalize)(PAIR_ATTR new_attr, void *extra), void *finalize_extra);
// The cachetable calls this function to determine if get_and_pin call requires a partial fetch. If this function returns true,
// then the cachetable will subsequently call CACHETABLE_PARTIAL_FETCH_CALLBACK to perform
diff --git a/storage/tokudb/ft-index/ft/checkpoint.cc b/storage/tokudb/ft-index/ft/checkpoint.cc
index 223f5177add..95ad0e1f0a4 100644
--- a/storage/tokudb/ft-index/ft/checkpoint.cc
+++ b/storage/tokudb/ft-index/ft/checkpoint.cc
@@ -136,6 +136,7 @@ PATENT RIGHTS GRANT:
#include "checkpoint.h"
#include <portability/toku_atomic.h>
#include <util/status.h>
+#include <util/frwlock.h>
///////////////////////////////////////////////////////////////////////////////////
// Engine status
@@ -187,7 +188,8 @@ toku_checkpoint_get_status(CACHETABLE ct, CHECKPOINT_STATUS statp) {
static LSN last_completed_checkpoint_lsn;
-static toku_pthread_rwlock_t checkpoint_safe_lock;
+static toku_mutex_t checkpoint_safe_mutex;
+static toku::frwlock checkpoint_safe_lock;
static toku_pthread_rwlock_t multi_operation_lock;
static toku_pthread_rwlock_t low_priority_multi_operation_lock;
@@ -237,28 +239,33 @@ multi_operation_checkpoint_unlock(void) {
static void
checkpoint_safe_lock_init(void) {
- toku_pthread_rwlock_init(&checkpoint_safe_lock, NULL);
+ toku_mutex_init(&checkpoint_safe_mutex, NULL);
+ checkpoint_safe_lock.init(&checkpoint_safe_mutex);
locked_cs = false;
}
static void
checkpoint_safe_lock_destroy(void) {
- toku_pthread_rwlock_destroy(&checkpoint_safe_lock);
+ checkpoint_safe_lock.deinit();
+ toku_mutex_destroy(&checkpoint_safe_mutex);
}
static void
checkpoint_safe_checkpoint_lock(void) {
- toku_pthread_rwlock_wrlock(&checkpoint_safe_lock);
+ toku_mutex_lock(&checkpoint_safe_mutex);
+ checkpoint_safe_lock.write_lock(false);
+ toku_mutex_unlock(&checkpoint_safe_mutex);
locked_cs = true;
}
static void
checkpoint_safe_checkpoint_unlock(void) {
locked_cs = false;
- toku_pthread_rwlock_wrunlock(&checkpoint_safe_lock);
+ toku_mutex_lock(&checkpoint_safe_mutex);
+ checkpoint_safe_lock.write_unlock();
+ toku_mutex_unlock(&checkpoint_safe_mutex);
}
-
// toku_xxx_client_(un)lock() functions are only called from client code,
// never from checkpoint code, and use the "reader" interface to the lock functions.
@@ -286,18 +293,20 @@ void
toku_checkpoint_safe_client_lock(void) {
if (locked_cs)
(void) toku_sync_fetch_and_add(&STATUS_VALUE(CP_CLIENT_WAIT_ON_CS), 1);
- toku_pthread_rwlock_rdlock(&checkpoint_safe_lock);
+ toku_mutex_lock(&checkpoint_safe_mutex);
+ checkpoint_safe_lock.read_lock();
+ toku_mutex_unlock(&checkpoint_safe_mutex);
toku_multi_operation_client_lock();
}
void
toku_checkpoint_safe_client_unlock(void) {
- toku_pthread_rwlock_rdunlock(&checkpoint_safe_lock);
+ toku_mutex_lock(&checkpoint_safe_mutex);
+ checkpoint_safe_lock.read_unlock();
+ toku_mutex_unlock(&checkpoint_safe_mutex);
toku_multi_operation_client_unlock();
}
-
-
// Initialize the checkpoint mechanism, must be called before any client operations.
void
toku_checkpoint_init(void) {
diff --git a/storage/tokudb/ft-index/ft/compress.cc b/storage/tokudb/ft-index/ft/compress.cc
index c929ac18658..2b0187e0b4f 100644
--- a/storage/tokudb/ft-index/ft/compress.cc
+++ b/storage/tokudb/ft-index/ft/compress.cc
@@ -89,6 +89,8 @@ PATENT RIGHTS GRANT:
#ident "$Id$"
#include <toku_portability.h>
+#include <util/scoped_malloc.h>
+
#include <zlib.h>
#include <lzma.h>
@@ -241,10 +243,10 @@ void toku_decompress (Bytef *dest, uLongf destLen,
}
case TOKU_QUICKLZ_METHOD:
if (sourceLen>1) {
- qlz_state_decompress *XCALLOC(qsd);
+ toku::scoped_calloc state_buf(sizeof(qlz_state_decompress));
+ qlz_state_decompress *qsd = reinterpret_cast<qlz_state_decompress *>(state_buf.get());
uLongf actual_destlen = qlz_decompress((char*)source+1, dest, qsd);
assert(actual_destlen == destLen);
- toku_free(qsd);
} else {
// length 1 means there is no data, so do nothing.
assert(destLen==0);
diff --git a/storage/tokudb/ft-index/ft/fifo.cc b/storage/tokudb/ft-index/ft/fifo.cc
index 3d55334e5c2..7f6e1778df6 100644
--- a/storage/tokudb/ft-index/ft/fifo.cc
+++ b/storage/tokudb/ft-index/ft/fifo.cc
@@ -135,6 +135,11 @@ int toku_fifo_create(FIFO *ptr) {
return 0;
}
+void toku_fifo_resize(FIFO fifo, size_t new_size) {
+ XREALLOC_N(new_size, fifo->memory);
+ fifo->memory_size = new_size;
+}
+
void toku_fifo_free(FIFO *ptr) {
FIFO fifo = *ptr;
if (fifo->memory) toku_free(fifo->memory);
@@ -162,16 +167,10 @@ int toku_fifo_enq(FIFO fifo, const void *key, unsigned int keylen, const void *d
+ xids_get_size(xids)
- sizeof(XIDS_S); //Prevent double counting
int need_space_total = fifo->memory_used+need_space_here;
- if (fifo->memory == NULL) {
- fifo->memory_size = next_power_of_two(need_space_total);
- XMALLOC_N(fifo->memory_size, fifo->memory);
- }
- if (need_space_total > fifo->memory_size) {
- // Out of memory at the end.
+ if (fifo->memory == NULL || need_space_total > fifo->memory_size) {
+ // resize the fifo to the next power of 2 greater than the needed space
int next_2 = next_power_of_two(need_space_total);
- // resize the fifo
- XREALLOC_N(next_2, fifo->memory);
- fifo->memory_size = next_2;
+ toku_fifo_resize(fifo, next_2);
}
struct fifo_entry *entry = (struct fifo_entry *)(fifo->memory + fifo->memory_used);
fifo_entry_set_msg_type(entry, type);
diff --git a/storage/tokudb/ft-index/ft/fifo.h b/storage/tokudb/ft-index/ft/fifo.h
index 00caa3d742f..e178ec6de24 100644
--- a/storage/tokudb/ft-index/ft/fifo.h
+++ b/storage/tokudb/ft-index/ft/fifo.h
@@ -136,6 +136,8 @@ typedef struct fifo *FIFO;
int toku_fifo_create(FIFO *);
+void toku_fifo_resize(FIFO fifo, size_t new_size);
+
void toku_fifo_free(FIFO *);
int toku_fifo_n_entries(FIFO);
diff --git a/storage/tokudb/ft-index/ft/ft-cachetable-wrappers.cc b/storage/tokudb/ft-index/ft/ft-cachetable-wrappers.cc
index fa1d000d16e..16edf068d4d 100644
--- a/storage/tokudb/ft-index/ft/ft-cachetable-wrappers.cc
+++ b/storage/tokudb/ft-index/ft/ft-cachetable-wrappers.cc
@@ -94,7 +94,8 @@ PATENT RIGHTS GRANT:
#include <fttypes.h>
#include <ft-flusher.h>
#include <ft-internal.h>
-#include "ft.h"
+#include <ft.h>
+#include <util/context.h>
static void
ftnode_get_key_and_fullhash(
@@ -252,6 +253,8 @@ toku_pin_ftnode_batched(
bfe->child_to_read
);
if (needs_ancestors_messages) {
+ toku::context apply_messages_ctx(CTX_MESSAGE_APPLICATION);
+
toku_unpin_ftnode_read_only(brt->ft, node);
int rr = toku_cachetable_get_and_pin_nonblocking_batched(
brt->ft->cf,
diff --git a/storage/tokudb/ft-index/ft/ft-flusher.cc b/storage/tokudb/ft-index/ft/ft-flusher.cc
index 9d7369accd5..20975c7aa01 100644
--- a/storage/tokudb/ft-index/ft/ft-flusher.cc
+++ b/storage/tokudb/ft-index/ft/ft-flusher.cc
@@ -97,6 +97,7 @@ PATENT RIGHTS GRANT:
#include <toku_assert.h>
#include <portability/toku_atomic.h>
#include <util/status.h>
+#include <util/context.h>
/* Status is intended for display to humans to help understand system behavior.
* It does not need to be perfectly thread-safe.
@@ -544,11 +545,13 @@ ct_flusher_advice_init(struct flusher_advice *fa, struct flush_status_update_ext
// a leaf node that is not entirely in memory. If so, then
// we cannot be sure if the node is reactive.
//
-static bool may_node_be_reactive(FTNODE node)
+static bool may_node_be_reactive(FT ft, FTNODE node)
{
- if (node->height == 0) return true;
+ if (node->height == 0) {
+ return true;
+ }
else {
- return (get_nonleaf_reactivity(node) != RE_STABLE);
+ return (get_nonleaf_reactivity(node, ft->h->fanout) != RE_STABLE);
}
}
@@ -1541,11 +1544,7 @@ ft_merge_child(
}
}
-static void ft_flush_some_child(
- FT ft,
- FTNODE parent,
- struct flusher_advice *fa
- )
+void toku_ft_flush_some_child(FT ft, FTNODE parent, struct flusher_advice *fa)
// Effect: This function does the following:
// - Pick a child of parent (the heaviest child),
// - flush from parent to child,
@@ -1559,7 +1558,7 @@ static void ft_flush_some_child(
NONLEAF_CHILDINFO bnc = NULL;
paranoid_invariant(parent->height>0);
toku_assert_entire_node_in_memory(parent);
- TXNID oldest_referenced_xid = parent->oldest_referenced_xid_known;
+ TXNID parent_oldest_referenced_xid_known = parent->oldest_referenced_xid_known;
// pick the child we want to flush to
int childnum = fa->pick_child(ft, parent, fa->extra);
@@ -1589,7 +1588,7 @@ static void ft_flush_some_child(
// Let's do a quick check to see if the child may be reactive
// If the child cannot be reactive, then we can safely unlock
// the parent before finishing reading in the entire child node.
- bool may_child_be_reactive = may_node_be_reactive(child);
+ bool may_child_be_reactive = may_node_be_reactive(ft, child);
paranoid_invariant(child->thisnodename.b!=0);
//VERIFY_NODE(brt, child);
@@ -1631,7 +1630,7 @@ static void ft_flush_some_child(
// we wont be splitting/merging child
// and we have already replaced the bnc
// for the root with a fresh one
- enum reactivity child_re = get_node_reactivity(child, ft->h->nodesize);
+ enum reactivity child_re = get_node_reactivity(ft, child);
if (parent && child_re == RE_STABLE) {
toku_unpin_ftnode_off_client_thread(ft, parent);
parent = NULL;
@@ -1652,7 +1651,7 @@ static void ft_flush_some_child(
ft,
bnc,
child,
- oldest_referenced_xid
+ parent_oldest_referenced_xid_known
);
destroy_nonleaf_childinfo(bnc);
}
@@ -1661,7 +1660,7 @@ static void ft_flush_some_child(
// let's get the reactivity of the child again,
// it is possible that the flush got rid of some values
// and now the parent is no longer reactive
- child_re = get_node_reactivity(child, ft->h->nodesize);
+ child_re = get_node_reactivity(ft, child);
// if the parent has been unpinned above, then
// this is our only option, even if the child is not stable
// if the child is not stable, we'll handle it the next
@@ -1676,10 +1675,10 @@ static void ft_flush_some_child(
parent = NULL;
}
//
- // it is the responsibility of ft_flush_some_child to unpin child
+ // it is the responsibility of toku_ft_flush_some_child to unpin child
//
if (child->height > 0 && fa->should_recursively_flush(child, fa->extra)) {
- ft_flush_some_child(ft, child, fa);
+ toku_ft_flush_some_child(ft, child, fa);
}
else {
toku_unpin_ftnode_off_client_thread(ft, child);
@@ -1706,13 +1705,6 @@ static void ft_flush_some_child(
}
}
-void toku_ft_flush_some_child(FT ft, FTNODE parent, struct flusher_advice *fa) {
- // Vanilla flush_some_child flushes from parent to child without
- // providing a meaningful oldest_referenced_xid. No simple garbage
- // collection is performed.
- return ft_flush_some_child(ft, parent, fa);
-}
-
static void
update_cleaner_status(
FTNODE node,
@@ -1854,7 +1846,7 @@ struct flusher_extra {
FT h;
FTNODE node;
NONLEAF_CHILDINFO bnc;
- TXNID oldest_referenced_xid;
+ TXNID parent_oldest_referenced_xid_known;
};
//
@@ -1864,6 +1856,7 @@ struct flusher_extra {
//
static void flush_node_fun(void *fe_v)
{
+ toku::context flush_ctx(CTX_FLUSH);
struct flusher_extra* fe = (struct flusher_extra *) fe_v;
// The node that has been placed on the background
// thread may not be fully in memory. Some message
@@ -1892,16 +1885,16 @@ static void flush_node_fun(void *fe_v)
fe->h,
fe->bnc,
fe->node,
- fe->oldest_referenced_xid
+ fe->parent_oldest_referenced_xid_known
);
destroy_nonleaf_childinfo(fe->bnc);
// after the flush has completed, now check to see if the node needs flushing
- // If so, call ft_flush_some_child on the node (because this flush intends to
+ // If so, call toku_ft_flush_some_child on the node (because this flush intends to
// pass a meaningful oldest referenced xid for simple garbage collection), and it is the
// responsibility of the flush to unlock the node. otherwise, we unlock it here.
if (fe->node->height > 0 && toku_ft_nonleaf_is_gorged(fe->node, fe->h->h->nodesize)) {
- ft_flush_some_child(fe->h, fe->node, &fa);
+ toku_ft_flush_some_child(fe->h, fe->node, &fa);
}
else {
toku_unpin_ftnode_off_client_thread(fe->h,fe->node);
@@ -1912,7 +1905,7 @@ static void flush_node_fun(void *fe_v)
// bnc, which means we are tasked with flushing some
// buffer in the node.
// It is the responsibility of flush some child to unlock the node
- ft_flush_some_child(fe->h, fe->node, &fa);
+ toku_ft_flush_some_child(fe->h, fe->node, &fa);
}
remove_background_job_from_cf(fe->h->cf);
toku_free(fe);
@@ -1923,13 +1916,13 @@ place_node_and_bnc_on_background_thread(
FT h,
FTNODE node,
NONLEAF_CHILDINFO bnc,
- TXNID oldest_referenced_xid)
+ TXNID parent_oldest_referenced_xid_known)
{
struct flusher_extra *XMALLOC(fe);
fe->h = h;
fe->node = node;
fe->bnc = bnc;
- fe->oldest_referenced_xid = oldest_referenced_xid;
+ fe->parent_oldest_referenced_xid_known = parent_oldest_referenced_xid_known;
cachefile_kibbutz_enq(h->cf, flush_node_fun, fe);
}
@@ -1948,7 +1941,8 @@ place_node_and_bnc_on_background_thread(
//
void toku_ft_flush_node_on_background_thread(FT h, FTNODE parent)
{
- TXNID oldest_referenced_xid_known = parent->oldest_referenced_xid_known;
+ toku::context flush_ctx(CTX_FLUSH);
+ TXNID parent_oldest_referenced_xid_known = parent->oldest_referenced_xid_known;
//
// first let's see if we can detach buffer on client thread
// and pick the child we want to flush to
@@ -1965,13 +1959,13 @@ void toku_ft_flush_node_on_background_thread(FT h, FTNODE parent)
// In this case, we could not lock the child, so just place the parent on the background thread
// In the callback, we will use toku_ft_flush_some_child, which checks to
// see if we should blow away the old basement nodes.
- place_node_and_bnc_on_background_thread(h, parent, NULL, oldest_referenced_xid_known);
+ place_node_and_bnc_on_background_thread(h, parent, NULL, parent_oldest_referenced_xid_known);
}
else {
//
// successfully locked child
//
- bool may_child_be_reactive = may_node_be_reactive(child);
+ bool may_child_be_reactive = may_node_be_reactive(h, child);
if (!may_child_be_reactive) {
// We're going to unpin the parent, so before we do, we must
// check to see if we need to blow away the basement nodes to
@@ -1994,7 +1988,7 @@ void toku_ft_flush_node_on_background_thread(FT h, FTNODE parent)
// so, because we know for sure the child is not
// reactive, we can unpin the parent
//
- place_node_and_bnc_on_background_thread(h, child, bnc, oldest_referenced_xid_known);
+ place_node_and_bnc_on_background_thread(h, child, bnc, parent_oldest_referenced_xid_known);
toku_unpin_ftnode(h, parent);
}
else {
@@ -2004,7 +1998,7 @@ void toku_ft_flush_node_on_background_thread(FT h, FTNODE parent)
toku_unpin_ftnode(h, child);
// Again, we'll have the parent on the background thread, so
// we don't need to destroy the basement nodes yet.
- place_node_and_bnc_on_background_thread(h, parent, NULL, oldest_referenced_xid_known);
+ place_node_and_bnc_on_background_thread(h, parent, NULL, parent_oldest_referenced_xid_known);
}
}
}
diff --git a/storage/tokudb/ft-index/ft/ft-flusher.h b/storage/tokudb/ft-index/ft/ft-flusher.h
index 86bdeee5b82..35371af99e8 100644
--- a/storage/tokudb/ft-index/ft/ft-flusher.h
+++ b/storage/tokudb/ft-index/ft/ft-flusher.h
@@ -232,6 +232,6 @@ void toku_ft_hot_get_status(FT_HOT_STATUS);
int
toku_ft_hot_optimize(FT_HANDLE brt, DBT* left, DBT* right,
int (*progress_callback)(void *extra, float progress),
- void *progress_extra);
+ void *progress_extra, uint64_t* loops_run);
#endif // End of header guardian.
diff --git a/storage/tokudb/ft-index/ft/ft-hot-flusher.cc b/storage/tokudb/ft-index/ft/ft-hot-flusher.cc
index b9036ae4968..0c9691b1e4d 100644
--- a/storage/tokudb/ft-index/ft/ft-hot-flusher.cc
+++ b/storage/tokudb/ft-index/ft/ft-hot-flusher.cc
@@ -96,6 +96,7 @@ PATENT RIGHTS GRANT:
#include <ft.h>
#include <portability/toku_atomic.h>
#include <util/status.h>
+#include <util/context.h>
// Member Descirption:
// 1. highest_pivot_key - this is the key that corresponds to the
@@ -299,8 +300,10 @@ hot_flusher_destroy(struct hot_flusher_extra *flusher)
int
toku_ft_hot_optimize(FT_HANDLE brt, DBT* left, DBT* right,
int (*progress_callback)(void *extra, float progress),
- void *progress_extra)
+ void *progress_extra, uint64_t* loops_run)
{
+ toku::context flush_ctx(CTX_FLUSH);
+
int r = 0;
struct hot_flusher_extra flusher;
struct flusher_advice advice;
@@ -403,6 +406,7 @@ toku_ft_hot_optimize(FT_HANDLE brt, DBT* left, DBT* right,
// Loop until the max key has been updated to positive
// infinity.
} while (!flusher.rightmost_leaf_seen);
+ *loops_run = loop_count;
// Cleanup.
hot_flusher_destroy(&flusher);
diff --git a/storage/tokudb/ft-index/ft/ft-internal.h b/storage/tokudb/ft-index/ft/ft-internal.h
index 9890f0b8c54..6dcde1687b4 100644
--- a/storage/tokudb/ft-index/ft/ft-internal.h
+++ b/storage/tokudb/ft-index/ft/ft-internal.h
@@ -117,15 +117,10 @@ PATENT RIGHTS GRANT:
#include <util/omt.h>
#include "bndata.h"
-#ifndef FT_FANOUT
-#define FT_FANOUT 16
-#endif
-enum { TREE_FANOUT = FT_FANOUT };
enum { KEY_VALUE_OVERHEAD = 8 }; /* Must store the two lengths. */
-enum { FT_CMD_OVERHEAD = (2 + sizeof(MSN)) // the type plus freshness plus MSN
-};
-
-enum { FT_DEFAULT_NODE_SIZE = 1 << 22 };
+enum { FT_CMD_OVERHEAD = (2 + sizeof(MSN)) }; // the type plus freshness plus MSN
+enum { FT_DEFAULT_FANOUT = 16 };
+enum { FT_DEFAULT_NODE_SIZE = 4 * 1024 * 1024 };
enum { FT_DEFAULT_BASEMENT_NODE_SIZE = 128 * 1024 };
//
@@ -234,16 +229,14 @@ long toku_bnc_memory_size(NONLEAF_CHILDINFO bnc);
long toku_bnc_memory_used(NONLEAF_CHILDINFO bnc);
void toku_bnc_insert_msg(NONLEAF_CHILDINFO bnc, const void *key, ITEMLEN keylen, const void *data, ITEMLEN datalen, enum ft_msg_type type, MSN msn, XIDS xids, bool is_fresh, DESCRIPTOR desc, ft_compare_func cmp);
void toku_bnc_empty(NONLEAF_CHILDINFO bnc);
-void toku_bnc_flush_to_child(FT h, NONLEAF_CHILDINFO bnc, FTNODE child, TXNID oldest_referenced_xid);
+void toku_bnc_flush_to_child(FT h, NONLEAF_CHILDINFO bnc, FTNODE child, TXNID parent_oldest_referenced_xid_known);
bool toku_bnc_should_promote(FT ft, NONLEAF_CHILDINFO bnc) __attribute__((const, nonnull));
bool toku_ft_nonleaf_is_gorged(FTNODE node, uint32_t nodesize);
-
-enum reactivity get_nonleaf_reactivity (FTNODE node);
-enum reactivity get_node_reactivity (FTNODE node, uint32_t nodesize);
+enum reactivity get_nonleaf_reactivity(FTNODE node, unsigned int fanout);
+enum reactivity get_node_reactivity(FT ft, FTNODE node);
uint32_t get_leaf_num_entries(FTNODE node);
-
// data of an available partition of a leaf ftnode
struct ftnode_leaf_basement_node {
bn_data data_buffer;
@@ -336,7 +329,7 @@ struct ftnode {
int height; /* height is always >= 0. 0 for leaf, >0 for nonleaf. */
int dirty;
uint32_t fullhash;
- int n_children; //for internal nodes, if n_children==TREE_FANOUT+1 then the tree needs to be rebalanced.
+ int n_children; //for internal nodes, if n_children==fanout+1 then the tree needs to be rebalanced.
// for leaf nodes, represents number of basement nodes
unsigned int totalchildkeylens;
DBT *childkeys; /* Pivot keys. Child 0's keys are <= childkeys[0]. Child 1's keys are <= childkeys[1].
@@ -509,6 +502,7 @@ struct ft_header {
unsigned int nodesize;
unsigned int basementnodesize;
enum toku_compression_method compression_method;
+ unsigned int fanout;
// Current Minimum MSN to be used when upgrading pre-MSN BRT's.
// This is decremented from our currnt MIN_MSN so as not to clash
@@ -590,6 +584,7 @@ struct ft_options {
unsigned int nodesize;
unsigned int basementnodesize;
enum toku_compression_method compression_method;
+ unsigned int fanout;
unsigned int flags;
ft_compare_func compare_fun;
ft_update_func update_fun;
@@ -632,7 +627,7 @@ int toku_serialize_ftnode_to(int fd, BLOCKNUM, FTNODE node, FTNODE_DISK_DATA* nd
int toku_serialize_rollback_log_to (int fd, ROLLBACK_LOG_NODE log, SERIALIZED_ROLLBACK_LOG_NODE serialized_log, bool is_serialized,
FT h, bool for_checkpoint);
void toku_serialize_rollback_log_to_memory_uncompressed(ROLLBACK_LOG_NODE log, SERIALIZED_ROLLBACK_LOG_NODE serialized);
-int toku_deserialize_rollback_log_from (int fd, BLOCKNUM blocknum, uint32_t fullhash, ROLLBACK_LOG_NODE *logp, FT h);
+int toku_deserialize_rollback_log_from (int fd, BLOCKNUM blocknum, ROLLBACK_LOG_NODE *logp, FT h);
int toku_deserialize_bp_from_disk(FTNODE node, FTNODE_DISK_DATA ndd, int childnum, int fd, struct ftnode_fetch_extra* bfe);
int toku_deserialize_bp_from_compressed(FTNODE node, int childnum, struct ftnode_fetch_extra *bfe);
int toku_deserialize_ftnode_from (int fd, BLOCKNUM off, uint32_t /*fullhash*/, FTNODE *ftnode, FTNODE_DISK_DATA* ndd, struct ftnode_fetch_extra* bfe);
@@ -735,7 +730,8 @@ void toku_ftnode_checkpoint_complete_callback(void *value_data);
void toku_ftnode_flush_callback (CACHEFILE cachefile, int fd, BLOCKNUM nodename, void *ftnode_v, void** UU(disk_data), void *extraargs, PAIR_ATTR size, PAIR_ATTR* new_size, bool write_me, bool keep_me, bool for_checkpoint, bool is_clone);
int toku_ftnode_fetch_callback (CACHEFILE cachefile, PAIR p, int fd, BLOCKNUM nodename, uint32_t fullhash, void **ftnode_pv, void** UU(disk_data), PAIR_ATTR *sizep, int*dirty, void*extraargs);
void toku_ftnode_pe_est_callback(void* ftnode_pv, void* disk_data, long* bytes_freed_estimate, enum partial_eviction_cost *cost, void* write_extraargs);
-int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR old_attr, PAIR_ATTR* new_attr, void *extraargs);
+int toku_ftnode_pe_callback(void *ftnode_pv, PAIR_ATTR old_attr, void *extraargs,
+ void (*finalize)(PAIR_ATTR new_attr, void *extra), void *finalize_extra);
bool toku_ftnode_pf_req_callback(void* ftnode_pv, void* read_extraargs);
int toku_ftnode_pf_callback(void* ftnode_pv, void* UU(disk_data), void* read_extraargs, int fd, PAIR_ATTR* sizep);
int toku_ftnode_cleaner_callback( void *ftnode_pv, BLOCKNUM blocknum, uint32_t fullhash, void *extraargs);
@@ -787,6 +783,8 @@ struct ft_cursor {
int out_of_range_error;
int direction;
TOKUTXN ttxn;
+ FT_CHECK_INTERRUPT_CALLBACK interrupt_cb;
+ void *interrupt_cb_extra;
};
//
@@ -1029,7 +1027,7 @@ int toku_testsetup_insert_to_nonleaf (FT_HANDLE brt, BLOCKNUM, enum ft_msg_type,
void toku_pin_node_with_min_bfe(FTNODE* node, BLOCKNUM b, FT_HANDLE t);
// toku_ft_root_put_cmd() accepts non-constant cmd because this is where we set the msn
-void toku_ft_root_put_cmd(FT h, FT_MSG_S * cmd, TXNID oldest_referenced_xid, GC_INFO gc_info);
+void toku_ft_root_put_cmd(FT h, FT_MSG_S * cmd, txn_gc_info *gc_info);
void
toku_get_node_for_verify(
@@ -1067,6 +1065,10 @@ typedef enum {
LE_MAX_PROVISIONAL_XR,
LE_EXPANDED,
LE_MAX_MEMSIZE,
+ LE_APPLY_GC_BYTES_IN,
+ LE_APPLY_GC_BYTES_OUT,
+ LE_NORMAL_GC_BYTES_IN,
+ LE_NORMAL_GC_BYTES_OUT,
LE_STATUS_NUM_ROWS
} le_status_entry;
@@ -1101,6 +1103,9 @@ typedef enum {
FT_DISK_FLUSH_NONLEAF_BYTES_FOR_CHECKPOINT,// number of nonleaf nodes flushed to disk for checkpoint
FT_DISK_FLUSH_NONLEAF_UNCOMPRESSED_BYTES_FOR_CHECKPOINT,// number of nonleaf nodes flushed to disk for checkpoint
FT_DISK_FLUSH_NONLEAF_TOKUTIME_FOR_CHECKPOINT,// number of nonleaf nodes flushed to disk for checkpoint
+ FT_DISK_FLUSH_LEAF_COMPRESSION_RATIO, // effective compression ratio for leaf bytes flushed to disk
+ FT_DISK_FLUSH_NONLEAF_COMPRESSION_RATIO, // effective compression ratio for nonleaf bytes flushed to disk
+ FT_DISK_FLUSH_OVERALL_COMPRESSION_RATIO, // effective compression ratio for all bytes flushed to disk
FT_PARTIAL_EVICTIONS_NONLEAF, // number of nonleaf node partial evictions
FT_PARTIAL_EVICTIONS_NONLEAF_BYTES, // number of nonleaf node partial evictions
FT_PARTIAL_EVICTIONS_LEAF, // number of leaf node partial evictions
@@ -1196,8 +1201,7 @@ toku_ft_bn_apply_cmd_once (
const FT_MSG cmd,
uint32_t idx,
LEAFENTRY le,
- TXNID oldest_referenced_xid,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
uint64_t *workdonep,
STAT64INFO stats_to_update
);
@@ -1209,8 +1213,7 @@ toku_ft_bn_apply_cmd (
DESCRIPTOR desc,
BASEMENTNODE bn,
FT_MSG cmd,
- TXNID oldest_referenced_xid,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
uint64_t *workdone,
STAT64INFO stats_to_update
);
@@ -1223,7 +1226,7 @@ toku_ft_leaf_apply_cmd (
FTNODE node,
int target_childnum,
FT_MSG cmd,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
uint64_t *workdone,
STAT64INFO stats_to_update
);
@@ -1237,7 +1240,7 @@ toku_ft_node_put_cmd (
int target_childnum,
FT_MSG cmd,
bool is_fresh,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
size_t flow_deltas[],
STAT64INFO stats_to_update
);
diff --git a/storage/tokudb/ft-index/ft/ft-ops.cc b/storage/tokudb/ft-index/ft/ft-ops.cc
index 27ee6ec8000..f6735f0bb45 100644
--- a/storage/tokudb/ft-index/ft/ft-ops.cc
+++ b/storage/tokudb/ft-index/ft/ft-ops.cc
@@ -213,15 +213,18 @@ basement nodes, bulk fetch, and partial fetch:
#include "leafentry.h"
#include "xids.h"
#include "ft_msg.h"
+#include "ule.h"
#include <toku_race_tools.h>
#include <portability/toku_atomic.h>
+#include <util/context.h>
#include <util/mempool.h>
#include <util/status.h>
#include <util/rwlock.h>
#include <util/sort.h>
+#include <util/scoped_malloc.h>
#include <stdint.h>
@@ -336,6 +339,9 @@ status_init(void)
STATUS_INIT(FT_DISK_FLUSH_NONLEAF_BYTES_FOR_CHECKPOINT, NONLEAF_NODES_FLUSHED_TO_DISK_CHECKPOINT_BYTES, PARCOUNT, "nonleaf nodes flushed to disk (for checkpoint) (bytes)", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
STATUS_INIT(FT_DISK_FLUSH_NONLEAF_UNCOMPRESSED_BYTES_FOR_CHECKPOINT, NONLEAF_NODES_FLUSHED_TO_DISK_CHECKPOINT_UNCOMPRESSED_BYTES, PARCOUNT, "nonleaf nodes flushed to disk (for checkpoint) (uncompressed bytes)", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
STATUS_INIT(FT_DISK_FLUSH_NONLEAF_TOKUTIME_FOR_CHECKPOINT, NONLEAF_NODES_FLUSHED_TO_DISK_CHECKPOINT_SECONDS, TOKUTIME, "nonleaf nodes flushed to disk (for checkpoint) (seconds)", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
+ STATUS_INIT(FT_DISK_FLUSH_LEAF_COMPRESSION_RATIO, LEAF_NODE_COMPRESSION_RATIO, DOUBLE, "uncompressed / compressed bytes written (leaf)", TOKU_GLOBAL_STATUS|TOKU_ENGINE_STATUS);
+ STATUS_INIT(FT_DISK_FLUSH_NONLEAF_COMPRESSION_RATIO, NONLEAF_NODE_COMPRESSION_RATIO, DOUBLE, "uncompressed / compressed bytes written (nonleaf)", TOKU_GLOBAL_STATUS|TOKU_ENGINE_STATUS);
+ STATUS_INIT(FT_DISK_FLUSH_OVERALL_COMPRESSION_RATIO, OVERALL_NODE_COMPRESSION_RATIO, DOUBLE, "uncompressed / compressed bytes written (overall)", TOKU_GLOBAL_STATUS|TOKU_ENGINE_STATUS);
// CPU time statistics for [de]serialization and [de]compression.
STATUS_INIT(FT_LEAF_COMPRESS_TOKUTIME, LEAF_COMPRESSION_TO_MEMORY_SECONDS, TOKUTIME, "leaf compression to memory (seconds)", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
@@ -373,9 +379,35 @@ static void status_destroy(void) {
}
#undef STATUS_INIT
+#define STATUS_VAL(x) \
+ (ft_status.status[x].type == PARCOUNT ? \
+ read_partitioned_counter(ft_status.status[x].value.parcount) : \
+ ft_status.status[x].value.num)
+
void
toku_ft_get_status(FT_STATUS s) {
*s = ft_status;
+
+ // Calculate compression ratios for leaf and nonleaf nodes
+ const double compressed_leaf_bytes = STATUS_VAL(FT_DISK_FLUSH_LEAF_BYTES) +
+ STATUS_VAL(FT_DISK_FLUSH_LEAF_BYTES_FOR_CHECKPOINT);
+ const double uncompressed_leaf_bytes = STATUS_VAL(FT_DISK_FLUSH_LEAF_UNCOMPRESSED_BYTES) +
+ STATUS_VAL(FT_DISK_FLUSH_LEAF_UNCOMPRESSED_BYTES_FOR_CHECKPOINT);
+ const double compressed_nonleaf_bytes = STATUS_VAL(FT_DISK_FLUSH_NONLEAF_BYTES) +
+ STATUS_VAL(FT_DISK_FLUSH_NONLEAF_BYTES_FOR_CHECKPOINT);
+ const double uncompressed_nonleaf_bytes = STATUS_VAL(FT_DISK_FLUSH_NONLEAF_UNCOMPRESSED_BYTES) +
+ STATUS_VAL(FT_DISK_FLUSH_NONLEAF_UNCOMPRESSED_BYTES_FOR_CHECKPOINT);
+
+ if (compressed_leaf_bytes > 0) {
+ s->status[FT_DISK_FLUSH_LEAF_COMPRESSION_RATIO].value.dnum = uncompressed_leaf_bytes / compressed_leaf_bytes;
+ }
+ if (compressed_nonleaf_bytes > 0) {
+ s->status[FT_DISK_FLUSH_NONLEAF_COMPRESSION_RATIO].value.dnum = uncompressed_nonleaf_bytes / compressed_nonleaf_bytes;
+ }
+ if (compressed_leaf_bytes > 0 || compressed_nonleaf_bytes > 0) {
+ s->status[FT_DISK_FLUSH_OVERALL_COMPRESSION_RATIO].value.dnum =
+ (uncompressed_leaf_bytes + uncompressed_nonleaf_bytes) / (compressed_leaf_bytes + compressed_nonleaf_bytes);
+ }
}
#define STATUS_INC(x, d) \
@@ -428,21 +460,21 @@ get_leaf_reactivity (FTNODE node, uint32_t nodesize) {
}
enum reactivity
-get_nonleaf_reactivity (FTNODE node) {
+get_nonleaf_reactivity(FTNODE node, unsigned int fanout) {
paranoid_invariant(node->height>0);
int n_children = node->n_children;
- if (n_children > TREE_FANOUT) return RE_FISSIBLE;
- if (n_children*4 < TREE_FANOUT) return RE_FUSIBLE;
+ if (n_children > (int) fanout) return RE_FISSIBLE;
+ if (n_children*4 < (int) fanout) return RE_FUSIBLE;
return RE_STABLE;
}
enum reactivity
-get_node_reactivity (FTNODE node, uint32_t nodesize) {
+get_node_reactivity(FT ft, FTNODE node) {
toku_assert_entire_node_in_memory(node);
if (node->height==0)
- return get_leaf_reactivity(node, nodesize);
+ return get_leaf_reactivity(node, ft->h->nodesize);
else
- return get_nonleaf_reactivity(node);
+ return get_nonleaf_reactivity(node, ft->h->fanout);
}
unsigned int
@@ -867,7 +899,7 @@ void toku_ftnode_clone_callback(
*cloned_value_data = cloned_node;
}
-static void ft_leaf_run_gc(FTNODE node, FT ft);
+static void ft_leaf_run_gc(FT ft, FTNODE node);
void toku_ftnode_flush_callback(
CACHEFILE UU(cachefile),
@@ -892,7 +924,7 @@ void toku_ftnode_flush_callback(
if (write_me) {
toku_assert_entire_node_in_memory(ftnode);
if (height == 0) {
- ft_leaf_run_gc(ftnode, h);
+ ft_leaf_run_gc(h, ftnode);
}
if (height == 0 && !is_clone) {
ftnode_update_disk_stats(ftnode, h, for_checkpoint);
@@ -979,6 +1011,12 @@ int toku_ftnode_fetch_callback (CACHEFILE UU(cachefile), PAIR p, int fd, BLOCKNU
return r;
}
+static bool ft_compress_buffers_before_eviction = true;
+
+void toku_ft_set_compress_buffers_before_eviction(bool compress_buffers) {
+ ft_compress_buffers_before_eviction = compress_buffers;
+}
+
void toku_ftnode_pe_est_callback(
void* ftnode_pv,
void* disk_data,
@@ -1010,16 +1048,20 @@ void toku_ftnode_pe_est_callback(
// we compress this node and add it to
// bytes_to_free
- // first get an estimate for how much space will be taken
- // after compression, it is simply the size of compressed
- // data on disk plus the size of the struct that holds it
- FTNODE_DISK_DATA ndd = (FTNODE_DISK_DATA) disk_data;
- uint32_t compressed_data_size = BP_SIZE(ndd, i);
- compressed_data_size += sizeof(struct sub_block);
-
- // now get the space taken now
- uint32_t decompressed_data_size = get_avail_internal_node_partition_size(node,i);
- bytes_to_free += (decompressed_data_size - compressed_data_size);
+ if (ft_compress_buffers_before_eviction) {
+ // first get an estimate for how much space will be taken
+ // after compression, it is simply the size of compressed
+ // data on disk plus the size of the struct that holds it
+ FTNODE_DISK_DATA ndd = (FTNODE_DISK_DATA) disk_data;
+ uint32_t compressed_data_size = BP_SIZE(ndd, i);
+ compressed_data_size += sizeof(struct sub_block);
+
+ // now get the space taken now
+ uint32_t decompressed_data_size = get_avail_internal_node_partition_size(node,i);
+ bytes_to_free += (decompressed_data_size - compressed_data_size);
+ } else {
+ bytes_to_free += get_avail_internal_node_partition_size(node, i);
+ }
}
}
@@ -1028,7 +1070,9 @@ exit:
return;
}
-static void
+// replace the child buffer with a compressed version of itself.
+// @return the old child buffer
+static NONLEAF_CHILDINFO
compress_internal_node_partition(FTNODE node, int i, enum toku_compression_method compression_method)
{
// if we should evict, compress the
@@ -1039,10 +1083,11 @@ compress_internal_node_partition(FTNODE node, int i, enum toku_compression_metho
sub_block_init(sb);
toku_create_compressed_partition_from_available(node, i, compression_method, sb);
- // now free the old partition and replace it with this
- destroy_nonleaf_childinfo(BNC(node,i));
+ // now set the state to compressed and return the old, available partition
+ NONLEAF_CHILDINFO bnc = BNC(node, i);
set_BSB(node, i, sb);
BP_STATE(node,i) = PT_COMPRESSED;
+ return bnc;
}
void toku_evict_bn_from_memory(FTNODE node, int childnum, FT h) {
@@ -1064,9 +1109,21 @@ BASEMENTNODE toku_detach_bn(FTNODE node, int childnum) {
}
// callback for partially evicting a node
-int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR* new_attr, void* extraargs) {
- FTNODE node = (FTNODE)ftnode_pv;
- FT ft = (FT) extraargs;
+int toku_ftnode_pe_callback(void *ftnode_pv, PAIR_ATTR old_attr, void *write_extraargs,
+ void (*finalize)(PAIR_ATTR new_attr, void *extra), void *finalize_extra) {
+ FTNODE node = (FTNODE) ftnode_pv;
+ FT ft = (FT) write_extraargs;
+ int num_partial_evictions = 0;
+
+ // Hold things we intend to destroy here.
+ // They will be taken care of after finalize().
+ int num_basements_to_destroy = 0;
+ int num_buffers_to_destroy = 0;
+ int num_pointers_to_free = 0;
+ BASEMENTNODE basements_to_destroy[node->n_children];
+ NONLEAF_CHILDINFO buffers_to_destroy[node->n_children];
+ void *pointers_to_free[node->n_children * 2];
+
// Don't partially evict dirty nodes
if (node->dirty) {
goto exit;
@@ -1083,11 +1140,23 @@ int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR*
for (int i = 0; i < node->n_children; i++) {
if (BP_STATE(node,i) == PT_AVAIL) {
if (BP_SHOULD_EVICT(node,i)) {
- long size_before = ftnode_memory_size(node);
- compress_internal_node_partition(node, i, ft->h->compression_method);
- long delta = size_before - ftnode_memory_size(node);
- STATUS_INC(FT_PARTIAL_EVICTIONS_NONLEAF, 1);
- STATUS_INC(FT_PARTIAL_EVICTIONS_NONLEAF_BYTES, delta);
+ NONLEAF_CHILDINFO bnc;
+ if (ft_compress_buffers_before_eviction) {
+ // When partially evicting, always compress with quicklz
+ bnc = compress_internal_node_partition(
+ node,
+ i,
+ TOKU_QUICKLZ_METHOD
+ );
+ } else {
+ // We're not compressing buffers before eviction. Simply
+ // detach the buffer and set the child's state to on-disk.
+ bnc = BNC(node, i);
+ set_BNULL(node, i);
+ BP_STATE(node, i) = PT_ON_DISK;
+ }
+ buffers_to_destroy[num_buffers_to_destroy++] = bnc;
+ num_partial_evictions++;
}
else {
BP_SWEEP_CLOCK(node,i);
@@ -1107,23 +1176,21 @@ int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR*
for (int i = 0; i < node->n_children; i++) {
// Get rid of compressed stuff no matter what.
if (BP_STATE(node,i) == PT_COMPRESSED) {
- long size_before = ftnode_memory_size(node);
SUB_BLOCK sb = BSB(node, i);
- toku_free(sb->compressed_ptr);
- toku_free(sb);
+ pointers_to_free[num_pointers_to_free++] = sb->compressed_ptr;
+ pointers_to_free[num_pointers_to_free++] = sb;
set_BNULL(node, i);
BP_STATE(node,i) = PT_ON_DISK;
- long delta = size_before - ftnode_memory_size(node);
- STATUS_INC(FT_PARTIAL_EVICTIONS_LEAF, 1);
- STATUS_INC(FT_PARTIAL_EVICTIONS_LEAF_BYTES, delta);
+ num_partial_evictions++;
}
else if (BP_STATE(node,i) == PT_AVAIL) {
if (BP_SHOULD_EVICT(node,i)) {
- long size_before = ftnode_memory_size(node);
- toku_evict_bn_from_memory(node, i, ft);
- long delta = size_before - ftnode_memory_size(node);
- STATUS_INC(FT_PARTIAL_EVICTIONS_LEAF, 1);
- STATUS_INC(FT_PARTIAL_EVICTIONS_LEAF_BYTES, delta);
+ BASEMENTNODE bn = BLB(node, i);
+ basements_to_destroy[num_basements_to_destroy++] = bn;
+ toku_ft_decrease_stats(&ft->in_memory_stats, bn->stat64_delta);
+ set_BNULL(node, i);
+ BP_STATE(node, i) = PT_ON_DISK;
+ num_partial_evictions++;
}
else {
BP_SWEEP_CLOCK(node,i);
@@ -1139,7 +1206,34 @@ int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR*
}
exit:
- *new_attr = make_ftnode_pair_attr(node);
+ // call the finalize callback with a new pair attr
+ int height = node->height;
+ PAIR_ATTR new_attr = make_ftnode_pair_attr(node);
+ finalize(new_attr, finalize_extra);
+
+ // destroy everything now that we've called finalize(),
+ // and, by contract, and it's safe to do expensive work.
+ for (int i = 0; i < num_basements_to_destroy; i++) {
+ destroy_basement_node(basements_to_destroy[i]);
+ }
+ for (int i = 0; i < num_buffers_to_destroy; i++) {
+ destroy_nonleaf_childinfo(buffers_to_destroy[i]);
+ }
+ for (int i = 0; i < num_pointers_to_free; i++) {
+ toku_free(pointers_to_free[i]);
+ }
+ // stats
+ if (num_partial_evictions > 0) {
+ if (height == 0) {
+ long delta = old_attr.leaf_size - new_attr.leaf_size;
+ STATUS_INC(FT_PARTIAL_EVICTIONS_LEAF, num_partial_evictions);
+ STATUS_INC(FT_PARTIAL_EVICTIONS_LEAF_BYTES, delta);
+ } else {
+ long delta = old_attr.nonleaf_size - new_attr.nonleaf_size;
+ STATUS_INC(FT_PARTIAL_EVICTIONS_NONLEAF, num_partial_evictions);
+ STATUS_INC(FT_PARTIAL_EVICTIONS_NONLEAF_BYTES, delta);
+ }
+ }
return 0;
}
@@ -1627,8 +1721,7 @@ toku_ft_bn_apply_cmd_once (
const FT_MSG cmd,
uint32_t idx,
LEAFENTRY le,
- TXNID oldest_referenced_xid,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
uint64_t *workdone,
STAT64INFO stats_to_update
)
@@ -1654,7 +1747,6 @@ toku_ft_bn_apply_cmd_once (
le,
&bn->data_buffer,
idx,
- oldest_referenced_xid,
gc_info,
&new_le,
&numbytes_delta
@@ -1703,8 +1795,7 @@ struct setval_extra_s {
const DBT *key;
uint32_t idx;
LEAFENTRY le;
- TXNID oldest_referenced_xid;
- GC_INFO gc_info;
+ txn_gc_info *gc_info;
uint64_t * workdone; // set by toku_ft_bn_apply_cmd_once()
STAT64INFO stats_to_update;
};
@@ -1737,7 +1828,7 @@ static void setval_fun (const DBT *new_val, void *svextra_v) {
}
toku_ft_bn_apply_cmd_once(svextra->bn, &msg,
svextra->idx, svextra->le,
- svextra->oldest_referenced_xid, svextra->gc_info,
+ svextra->gc_info,
svextra->workdone, svextra->stats_to_update);
svextra->setval_r = 0;
}
@@ -1751,8 +1842,7 @@ static int do_update(ft_update_func update_fun, DESCRIPTOR desc, BASEMENTNODE bn
LEAFENTRY le,
void* keydata,
uint32_t keylen,
- TXNID oldest_referenced_xid,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
uint64_t * workdone,
STAT64INFO stats_to_update) {
LEAFENTRY le_for_update;
@@ -1797,7 +1887,8 @@ static int do_update(ft_update_func update_fun, DESCRIPTOR desc, BASEMENTNODE bn
le_for_update = le;
struct setval_extra_s setval_extra = {setval_tag, false, 0, bn, cmd->msn, cmd->xids,
- keyp, idx, le_for_update, oldest_referenced_xid, gc_info, workdone, stats_to_update};
+ keyp, idx, le_for_update, gc_info,
+ workdone, stats_to_update};
// call handlerton's brt->update_fun(), which passes setval_extra to setval_fun()
FAKE_DB(db, desc);
int r = update_fun(
@@ -1820,8 +1911,7 @@ toku_ft_bn_apply_cmd (
DESCRIPTOR desc,
BASEMENTNODE bn,
FT_MSG cmd,
- TXNID oldest_referenced_xid_known,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
uint64_t *workdone,
STAT64INFO stats_to_update
)
@@ -1868,7 +1958,7 @@ toku_ft_bn_apply_cmd (
} else {
assert_zero(r);
}
- toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, oldest_referenced_xid_known, gc_info, workdone, stats_to_update);
+ toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, gc_info, workdone, stats_to_update);
// if the insertion point is within a window of the right edge of
// the leaf then it is sequential
@@ -1900,7 +1990,7 @@ toku_ft_bn_apply_cmd (
);
if (r == DB_NOTFOUND) break;
assert_zero(r);
- toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, oldest_referenced_xid_known, gc_info, workdone, stats_to_update);
+ toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, gc_info, workdone, stats_to_update);
break;
}
@@ -1922,7 +2012,7 @@ toku_ft_bn_apply_cmd (
cmd->u.id.key = &curr_keydbt;
int deleted = 0;
if (!le_is_clean(storeddata)) { //If already clean, nothing to do.
- toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, oldest_referenced_xid_known, gc_info, workdone, stats_to_update);
+ toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, gc_info, workdone, stats_to_update);
uint32_t new_omt_size = bn->data_buffer.omt_size();
if (new_omt_size != omt_size) {
paranoid_invariant(new_omt_size+1 == omt_size);
@@ -1954,7 +2044,7 @@ toku_ft_bn_apply_cmd (
cmd->u.id.key = &curr_keydbt;
int deleted = 0;
if (le_has_xids(storeddata, cmd->xids)) {
- toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, oldest_referenced_xid_known, gc_info, workdone, stats_to_update);
+ toku_ft_bn_apply_cmd_once(bn, cmd, idx, storeddata, gc_info, workdone, stats_to_update);
uint32_t new_omt_size = bn->data_buffer.omt_size();
if (new_omt_size != omt_size) {
paranoid_invariant(new_omt_size+1 == omt_size);
@@ -1986,9 +2076,9 @@ toku_ft_bn_apply_cmd (
key = cmd->u.id.key->data;
keylen = cmd->u.id.key->size;
}
- r = do_update(update_fun, desc, bn, cmd, idx, NULL, NULL, 0, oldest_referenced_xid_known, gc_info, workdone, stats_to_update);
+ r = do_update(update_fun, desc, bn, cmd, idx, NULL, NULL, 0, gc_info, workdone, stats_to_update);
} else if (r==0) {
- r = do_update(update_fun, desc, bn, cmd, idx, storeddata, key, keylen, oldest_referenced_xid_known, gc_info, workdone, stats_to_update);
+ r = do_update(update_fun, desc, bn, cmd, idx, storeddata, key, keylen, gc_info, workdone, stats_to_update);
} // otherwise, a worse error, just return it
break;
}
@@ -2011,7 +2101,7 @@ toku_ft_bn_apply_cmd (
// This is broken below. Have a compilation error checked
// in as a reminder
- r = do_update(update_fun, desc, bn, cmd, idx, storeddata, curr_key, curr_keylen, oldest_referenced_xid_known, gc_info, workdone, stats_to_update);
+ r = do_update(update_fun, desc, bn, cmd, idx, storeddata, curr_key, curr_keylen, gc_info, workdone, stats_to_update);
assert_zero(r);
if (num_leafentries_before == bn->data_buffer.omt_size()) {
@@ -2249,10 +2339,7 @@ ft_basement_node_gc_once(BASEMENTNODE bn,
void* keyp,
uint32_t keylen,
LEAFENTRY leaf_entry,
- const xid_omt_t &snapshot_xids,
- const rx_omt_t &referenced_xids,
- const xid_omt_t &live_root_txns,
- TXNID oldest_referenced_xid_known,
+ txn_gc_info *gc_info,
STAT64INFO_S * delta)
{
paranoid_invariant(leaf_entry);
@@ -2263,7 +2350,7 @@ ft_basement_node_gc_once(BASEMENTNODE bn,
}
// Don't run garbage collection if this leafentry decides it's not worth it.
- if (!toku_le_worth_running_garbage_collection(leaf_entry, oldest_referenced_xid_known)) {
+ if (!toku_le_worth_running_garbage_collection(leaf_entry, gc_info)) {
goto exit;
}
@@ -2285,11 +2372,8 @@ ft_basement_node_gc_once(BASEMENTNODE bn,
index,
keyp,
keylen,
+ gc_info,
&new_leaf_entry,
- snapshot_xids,
- referenced_xids,
- live_root_txns,
- oldest_referenced_xid_known,
&numbytes_delta);
numrows_delta = 0;
@@ -2318,10 +2402,7 @@ exit:
// Garbage collect all leaf entries for a given basement node.
static void
basement_node_gc_all_les(BASEMENTNODE bn,
- const xid_omt_t &snapshot_xids,
- const rx_omt_t &referenced_xids,
- const xid_omt_t &live_root_txns,
- TXNID oldest_referenced_xid_known,
+ txn_gc_info *gc_info,
STAT64INFO_S * delta)
{
int r = 0;
@@ -2331,7 +2412,7 @@ basement_node_gc_all_les(BASEMENTNODE bn,
void* keyp = NULL;
uint32_t keylen = 0;
LEAFENTRY leaf_entry;
- bn->data_buffer.fetch_klpair(index, &leaf_entry, &keylen, &keyp);
+ r = bn->data_buffer.fetch_klpair(index, &leaf_entry, &keylen, &keyp);
assert_zero(r);
ft_basement_node_gc_once(
bn,
@@ -2339,10 +2420,7 @@ basement_node_gc_all_les(BASEMENTNODE bn,
keyp,
keylen,
leaf_entry,
- snapshot_xids,
- referenced_xids,
- live_root_txns,
- oldest_referenced_xid_known,
+ gc_info,
delta
);
// Check if the leaf entry was deleted or not.
@@ -2354,12 +2432,7 @@ basement_node_gc_all_les(BASEMENTNODE bn,
// Garbage collect all leaf entires in all basement nodes.
static void
-ft_leaf_gc_all_les(FTNODE node,
- FT ft,
- const xid_omt_t &snapshot_xids,
- const rx_omt_t &referenced_xids,
- const xid_omt_t &live_root_txns,
- TXNID oldest_referenced_xid_known)
+ft_leaf_gc_all_les(FT ft, FTNODE node, txn_gc_info *gc_info)
{
toku_assert_entire_node_in_memory(node);
paranoid_invariant_zero(node->height);
@@ -2370,38 +2443,40 @@ ft_leaf_gc_all_les(FTNODE node,
STAT64INFO_S delta;
delta.numrows = 0;
delta.numbytes = 0;
- basement_node_gc_all_les(bn, snapshot_xids, referenced_xids, live_root_txns, oldest_referenced_xid_known, &delta);
+ basement_node_gc_all_les(bn, gc_info, &delta);
toku_ft_update_stats(&ft->in_memory_stats, delta);
}
}
static void
-ft_leaf_run_gc(FTNODE node, FT ft) {
+ft_leaf_run_gc(FT ft, FTNODE node) {
TOKULOGGER logger = toku_cachefile_logger(ft->cf);
if (logger) {
- xid_omt_t snapshot_txnids;
- rx_omt_t referenced_xids;
- xid_omt_t live_root_txns;
- toku_txn_manager_clone_state_for_gc(
- logger->txn_manager,
- &snapshot_txnids,
- &referenced_xids,
- &live_root_txns
- );
+ TXN_MANAGER txn_manager = toku_logger_get_txn_manager(logger);
+ txn_manager_state txn_state_for_gc(txn_manager);
+ txn_state_for_gc.init();
+ TXNID oldest_referenced_xid_for_simple_gc = toku_txn_manager_get_oldest_referenced_xid_estimate(txn_manager);
- // Perform garbage collection. Provide a full snapshot of the transaction
- // system plus the oldest known referenced xid that could have had messages
- // applied to this leaf.
+ // Perform full garbage collection.
//
- // Using the oldest xid in either the referenced_xids or live_root_txns
- // snapshots is not sufficient, because there could be something older that is neither
- // live nor referenced, but instead aborted somewhere above us as a message in the tree.
- ft_leaf_gc_all_les(node, ft, snapshot_txnids, referenced_xids, live_root_txns, node->oldest_referenced_xid_known);
-
- // Free the OMT's we used for garbage collecting.
- snapshot_txnids.destroy();
- referenced_xids.destroy();
- live_root_txns.destroy();
+ // - txn_state_for_gc
+ // a fresh snapshot of the transaction system.
+ // - oldest_referenced_xid_for_simple_gc
+ // the oldest xid in any live list as of right now - suitible for simple gc
+ // - node->oldest_referenced_xid_known
+ // the last known oldest referenced xid for this node and any unapplied messages.
+ // it is a lower bound on the actual oldest referenced xid - but becasue there
+ // may be abort messages above us, we need to be careful to only use this value
+ // for implicit promotion (as opposed to the oldest referenced xid for simple gc)
+ //
+ // The node has its own oldest referenced xid because it must be careful not to implicitly promote
+ // provisional entries for transactions that are no longer live, but may have abort messages
+ // somewhere above us in the tree.
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_for_simple_gc,
+ node->oldest_referenced_xid_known,
+ true);
+ ft_leaf_gc_all_les(ft, node, &gc_info);
}
}
@@ -2409,12 +2484,27 @@ void toku_bnc_flush_to_child(
FT ft,
NONLEAF_CHILDINFO bnc,
FTNODE child,
- TXNID oldest_referenced_xid_known
+ TXNID parent_oldest_referenced_xid_known
)
{
paranoid_invariant(bnc);
STAT64INFO_S stats_delta = {0,0};
size_t remaining_memsize = toku_fifo_buffer_size_in_use(bnc->buffer);
+
+ TOKULOGGER logger = toku_cachefile_logger(ft->cf);
+ TXN_MANAGER txn_manager = logger != nullptr ? toku_logger_get_txn_manager(logger) : nullptr;
+ TXNID oldest_referenced_xid_for_simple_gc = TXNID_NONE;
+
+ txn_manager_state txn_state_for_gc(txn_manager);
+ bool do_garbage_collection = child->height == 0 && txn_manager != nullptr;
+ if (do_garbage_collection) {
+ txn_state_for_gc.init();
+ oldest_referenced_xid_for_simple_gc = toku_txn_manager_get_oldest_referenced_xid_estimate(txn_manager);
+ }
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_for_simple_gc,
+ child->oldest_referenced_xid_known,
+ true);
FIFO_ITERATE(
bnc->buffer, key, keylen, val, vallen, type, msn, xids, is_fresh,
({
@@ -2439,20 +2529,19 @@ void toku_bnc_flush_to_child(
-1,
&ftcmd,
is_fresh,
- make_gc_info(true), // mvcc_needed
+ &gc_info,
flow_deltas,
&stats_delta
);
remaining_memsize -= FIFO_CURRENT_ENTRY_MEMSIZE;
}));
- child->oldest_referenced_xid_known = oldest_referenced_xid_known;
+ child->oldest_referenced_xid_known = parent_oldest_referenced_xid_known;
invariant(remaining_memsize == 0);
if (stats_delta.numbytes || stats_delta.numrows) {
toku_ft_update_stats(&ft->in_memory_stats, stats_delta);
}
- if (child->height == 0) {
- ft_leaf_run_gc(child, ft);
+ if (do_garbage_collection) {
size_t buffsize = toku_fifo_buffer_size_in_use(bnc->buffer);
STATUS_INC(FT_MSG_BYTES_OUT, buffsize);
// may be misleading if there's a broadcast message in there
@@ -2475,7 +2564,7 @@ toku_ft_node_put_cmd (
int target_childnum,
FT_MSG cmd,
bool is_fresh,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
size_t flow_deltas[],
STAT64INFO stats_to_update
)
@@ -2513,7 +2602,7 @@ void toku_ft_leaf_apply_cmd(
FTNODE node,
int target_childnum, // which child to inject to, or -1 if unknown
FT_MSG cmd,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
uint64_t *workdone,
STAT64INFO stats_to_update
)
@@ -2546,10 +2635,6 @@ void toku_ft_leaf_apply_cmd(
node->max_msn_applied_to_node_on_disk = cmd_msn;
}
- // Pass the oldest possible live xid value to each basementnode
- // when we apply messages to them.
- TXNID oldest_referenced_xid_known = node->oldest_referenced_xid_known;
-
if (ft_msg_applies_once(cmd)) {
unsigned int childnum = (target_childnum >= 0
? target_childnum
@@ -2562,7 +2647,6 @@ void toku_ft_leaf_apply_cmd(
desc,
bn,
cmd,
- oldest_referenced_xid_known,
gc_info,
workdone,
stats_to_update);
@@ -2575,14 +2659,13 @@ void toku_ft_leaf_apply_cmd(
if (cmd->msn.msn > BLB(node, childnum)->max_msn_applied.msn) {
BLB(node, childnum)->max_msn_applied = cmd->msn;
toku_ft_bn_apply_cmd(compare_fun,
- update_fun,
- desc,
- BLB(node, childnum),
- cmd,
- oldest_referenced_xid_known,
- gc_info,
- workdone,
- stats_to_update);
+ update_fun,
+ desc,
+ BLB(node, childnum),
+ cmd,
+ gc_info,
+ workdone,
+ stats_to_update);
} else {
STATUS_INC(FT_MSN_DISCARDS, 1);
}
@@ -2600,8 +2683,7 @@ static void inject_message_in_locked_node(
int childnum,
FT_MSG_S *cmd,
size_t flow_deltas[],
- TXNID oldest_referenced_xid,
- GC_INFO gc_info
+ txn_gc_info *gc_info
)
{
// No guarantee that we're the writer, but oh well.
@@ -2611,11 +2693,14 @@ static void inject_message_in_locked_node(
invariant(toku_ctpair_is_write_locked(node->ct_pair));
toku_assert_entire_node_in_memory(node);
- // Update the oldest known referenced xid for this node if it is younger
- // than the one currently known. Otherwise, it's better to keep the heurstic
- // we have and ignore this one.
- if (oldest_referenced_xid >= node->oldest_referenced_xid_known) {
- node->oldest_referenced_xid_known = oldest_referenced_xid;
+ // Take the newer of the two oldest referenced xid values from the node and gc_info.
+ // The gc_info usually has a newer value, because we got it at the top of this call
+ // stack from the txn manager. But sometimes the node has a newer value, if some
+ // other thread sees a newer value and writes to this node before we got the lock.
+ if (gc_info->oldest_referenced_xid_for_implicit_promotion > node->oldest_referenced_xid_known) {
+ node->oldest_referenced_xid_known = gc_info->oldest_referenced_xid_for_implicit_promotion;
+ } else if (gc_info->oldest_referenced_xid_for_implicit_promotion < node->oldest_referenced_xid_known) {
+ gc_info->oldest_referenced_xid_for_implicit_promotion = node->oldest_referenced_xid_known;
}
// Get the MSN from the header. Now that we have a write lock on the
@@ -2689,7 +2774,7 @@ static bool process_maybe_reactive_child(FT ft, FTNODE parent, FTNODE child, int
// true if relocking is needed
// false otherwise
{
- enum reactivity re = get_node_reactivity(child, ft->h->nodesize);
+ enum reactivity re = get_node_reactivity(ft, child);
enum reactivity newre;
BLOCKNUM child_blocknum;
uint32_t child_fullhash;
@@ -2723,7 +2808,7 @@ static bool process_maybe_reactive_child(FT ft, FTNODE parent, FTNODE child, int
child_blocknum = BP_BLOCKNUM(newparent, childnum);
child_fullhash = compute_child_fullhash(ft->cf, newparent, childnum);
toku_pin_ftnode_off_client_thread_batched(ft, child_blocknum, child_fullhash, &bfe, PL_WRITE_CHEAP, 1, &newparent, &newchild);
- newre = get_node_reactivity(newchild, ft->h->nodesize);
+ newre = get_node_reactivity(ft, newchild);
if (newre == RE_FISSIBLE) {
enum split_mode split_mode;
if (newparent->height == 1 && (loc & LEFT_EXTREME) && childnum == 0) {
@@ -2769,7 +2854,7 @@ static bool process_maybe_reactive_child(FT ft, FTNODE parent, FTNODE child, int
child_blocknum = BP_BLOCKNUM(newparent, childnum);
child_fullhash = compute_child_fullhash(ft->cf, newparent, childnum);
toku_pin_ftnode_off_client_thread_batched(ft, child_blocknum, child_fullhash, &bfe, PL_READ, 1, &newparent, &newchild);
- newre = get_node_reactivity(newchild, ft->h->nodesize);
+ newre = get_node_reactivity(ft, newchild);
if (newre == RE_FUSIBLE && newparent->n_children >= 2) {
toku_unpin_ftnode_read_only(ft, newchild);
toku_ft_merge_child(ft, newparent, childnum);
@@ -2792,11 +2877,12 @@ static bool process_maybe_reactive_child(FT ft, FTNODE parent, FTNODE child, int
abort();
}
-static void inject_message_at_this_blocknum(FT ft, CACHEKEY cachekey, uint32_t fullhash, FT_MSG_S *cmd, size_t flow_deltas[], TXNID oldest_referenced_xid, GC_INFO gc_info)
+static void inject_message_at_this_blocknum(FT ft, CACHEKEY cachekey, uint32_t fullhash, FT_MSG_S *cmd, size_t flow_deltas[], txn_gc_info *gc_info)
// Effect:
// Inject cmd into the node at this blocknum (cachekey).
// Gets a write lock on the node for you.
{
+ toku::context inject_ctx(CTX_MESSAGE_INJECTION);
FTNODE node;
struct ftnode_fetch_extra bfe;
fill_bfe_for_full_read(&bfe, ft);
@@ -2804,7 +2890,7 @@ static void inject_message_at_this_blocknum(FT ft, CACHEKEY cachekey, uint32_t f
toku_assert_entire_node_in_memory(node);
paranoid_invariant(node->fullhash==fullhash);
ft_verify_flags(ft, node);
- inject_message_in_locked_node(ft, node, -1, cmd, flow_deltas, oldest_referenced_xid, gc_info);
+ inject_message_in_locked_node(ft, node, -1, cmd, flow_deltas, gc_info);
}
__attribute__((const))
@@ -2823,8 +2909,7 @@ static void push_something_in_subtree(
int target_childnum,
FT_MSG_S *cmd,
size_t flow_deltas[],
- TXNID oldest_referenced_xid,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
int depth,
seqinsert_loc loc,
bool just_did_split_or_merge
@@ -2865,7 +2950,7 @@ static void push_something_in_subtree(
default:
STATUS_INC(FT_PRO_NUM_INJECT_DEPTH_GT3, 1); break;
}
- inject_message_in_locked_node(ft, subtree_root, target_childnum, cmd, flow_deltas, oldest_referenced_xid, gc_info);
+ inject_message_in_locked_node(ft, subtree_root, target_childnum, cmd, flow_deltas, gc_info);
} else {
int r;
int childnum;
@@ -2921,7 +3006,15 @@ static void push_something_in_subtree(
// node locked.
struct ftnode_fetch_extra bfe;
fill_bfe_for_full_read(&bfe, ft);
- toku_pin_ftnode_off_client_thread_batched(ft, child_blocknum, child_fullhash, &bfe, lock_type, 0, nullptr, &child);
+ if (lock_type == PL_WRITE_CHEAP) {
+ // We intend to take the write lock for message injection
+ toku::context inject_ctx(CTX_MESSAGE_INJECTION);
+ toku_pin_ftnode_off_client_thread_batched(ft, child_blocknum, child_fullhash, &bfe, lock_type, 0, nullptr, &child);
+ } else {
+ // We're going to keep promoting
+ toku::context promo_ctx(CTX_PROMO);
+ toku_pin_ftnode_off_client_thread_batched(ft, child_blocknum, child_fullhash, &bfe, lock_type, 0, nullptr, &child);
+ }
} else {
r = toku_maybe_pin_ftnode_clean(ft, child_blocknum, child_fullhash, lock_type, &child);
if (r != 0) {
@@ -2954,13 +3047,13 @@ static void push_something_in_subtree(
struct ftnode_fetch_extra bfe;
fill_bfe_for_full_read(&bfe, ft); // should be fully in memory, we just split it
toku_pin_ftnode_off_client_thread_batched(ft, subtree_root_blocknum, subtree_root_fullhash, &bfe, PL_READ, 0, nullptr, &newparent);
- push_something_in_subtree(ft, newparent, -1, cmd, flow_deltas, oldest_referenced_xid, gc_info, depth, loc, true);
+ push_something_in_subtree(ft, newparent, -1, cmd, flow_deltas, gc_info, depth, loc, true);
return;
}
}
if (next_loc != NEITHER_EXTREME || child->dirty || toku_bnc_should_promote(ft, bnc)) {
- push_something_in_subtree(ft, child, -1, cmd, flow_deltas, oldest_referenced_xid, gc_info, depth + 1, next_loc, false);
+ push_something_in_subtree(ft, child, -1, cmd, flow_deltas, gc_info, depth + 1, next_loc, false);
toku_sync_fetch_and_add(&bnc->flow[0], flow_deltas[0]);
// The recursive call unpinned the child, but
// we're responsible for unpinning subtree_root.
@@ -2996,7 +3089,7 @@ static void push_something_in_subtree(
default:
STATUS_INC(FT_PRO_NUM_INJECT_DEPTH_GT3, 1); break;
}
- inject_message_at_this_blocknum(ft, subtree_root_blocknum, subtree_root_fullhash, cmd, flow_deltas, oldest_referenced_xid, gc_info);
+ inject_message_at_this_blocknum(ft, subtree_root_blocknum, subtree_root_fullhash, cmd, flow_deltas, gc_info);
}
}
}
@@ -3004,8 +3097,7 @@ static void push_something_in_subtree(
void toku_ft_root_put_cmd(
FT ft,
FT_MSG_S *cmd,
- TXNID oldest_referenced_xid,
- GC_INFO gc_info
+ txn_gc_info *gc_info
)
// Effect:
// - assign msn to cmd and update msn in the header
@@ -3027,6 +3119,8 @@ void toku_ft_root_put_cmd(
// in any checkpoint that contains this put's logentry.
// Holding the mo lock throughout this function ensures that fact.
{
+ toku::context promo_ctx(CTX_PROMO);
+
// blackhole fractal trees drop all messages, so do nothing.
if (ft->blackhole) {
return;
@@ -3059,7 +3153,7 @@ void toku_ft_root_put_cmd(
// injection thread to change lock type back and forth, when only one
// of them needs to in order to handle the split. That's not great,
// but root splits are incredibly rare.
- enum reactivity re = get_node_reactivity(node, ft->h->nodesize);
+ enum reactivity re = get_node_reactivity(ft, node);
switch (re) {
case RE_STABLE:
case RE_FUSIBLE: // cannot merge anything at the root
@@ -3106,22 +3200,22 @@ void toku_ft_root_put_cmd(
// If the root's a leaf or we're injecting a broadcast, drop the read lock and inject here.
toku_unpin_ftnode_read_only(ft, node);
STATUS_INC(FT_PRO_NUM_ROOT_H0_INJECT, 1);
- inject_message_at_this_blocknum(ft, root_key, fullhash, cmd, flow_deltas, oldest_referenced_xid, gc_info);
+ inject_message_at_this_blocknum(ft, root_key, fullhash, cmd, flow_deltas, gc_info);
} else if (node->height > 1) {
// If the root's above height 1, we are definitely eligible for promotion.
- push_something_in_subtree(ft, node, -1, cmd, flow_deltas, oldest_referenced_xid, gc_info, 0, LEFT_EXTREME | RIGHT_EXTREME, false);
+ push_something_in_subtree(ft, node, -1, cmd, flow_deltas, gc_info, 0, LEFT_EXTREME | RIGHT_EXTREME, false);
} else {
// The root's height 1. We may be eligible for promotion here.
// On the extremes, we want to promote, in the middle, we don't.
int childnum = toku_ftnode_which_child(node, cmd->u.id.key, &ft->cmp_descriptor, ft->compare_fun);
if (childnum == 0 || childnum == node->n_children - 1) {
// On the extremes, promote. We know which childnum we're going to, so pass that down too.
- push_something_in_subtree(ft, node, childnum, cmd, flow_deltas, oldest_referenced_xid, gc_info, 0, LEFT_EXTREME | RIGHT_EXTREME, false);
+ push_something_in_subtree(ft, node, childnum, cmd, flow_deltas, gc_info, 0, LEFT_EXTREME | RIGHT_EXTREME, false);
} else {
// At height 1 in the middle, don't promote, drop the read lock and inject here.
toku_unpin_ftnode_read_only(ft, node);
STATUS_INC(FT_PRO_NUM_ROOT_H1_INJECT, 1);
- inject_message_at_this_blocknum(ft, root_key, fullhash, cmd, flow_deltas, oldest_referenced_xid, gc_info);
+ inject_message_at_this_blocknum(ft, root_key, fullhash, cmd, flow_deltas, gc_info);
}
}
}
@@ -3164,8 +3258,8 @@ void toku_ft_hot_index_recovery(TOKUTXN txn, FILENUMS filenums, int do_fsync, in
}
// Effect: Optimize the ft.
-void toku_ft_optimize (FT_HANDLE brt) {
- TOKULOGGER logger = toku_cachefile_logger(brt->ft->cf);
+void toku_ft_optimize (FT_HANDLE ft_h) {
+ TOKULOGGER logger = toku_cachefile_logger(ft_h->ft->cf);
if (logger) {
TXNID oldest = toku_txn_manager_get_oldest_living_xid(logger->txn_manager);
@@ -3184,7 +3278,17 @@ void toku_ft_optimize (FT_HANDLE brt) {
toku_init_dbt(&key);
toku_init_dbt(&val);
FT_MSG_S ftcmd = { FT_OPTIMIZE, ZERO_MSN, message_xids, .u = { .id = {&key,&val} } };
- toku_ft_root_put_cmd(brt->ft, &ftcmd, TXNID_NONE, make_gc_info(true));
+
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_ft_get_oldest_referenced_xid_estimate(ft_h);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ // no messages above us, we can implicitly promote uxrs based on this xid
+ oldest_referenced_xid_estimate,
+ true);
+ toku_ft_root_put_cmd(ft_h->ft, &ftcmd, &gc_info);
xids_destroy(&message_xids);
}
}
@@ -3232,6 +3336,16 @@ toku_ft_log_put_multiple (TOKUTXN txn, FT_HANDLE src_ft, FT_HANDLE *brts, uint32
}
}
+TXN_MANAGER toku_ft_get_txn_manager(FT_HANDLE ft_h) {
+ TOKULOGGER logger = toku_cachefile_logger(ft_h->ft->cf);
+ return logger != nullptr ? toku_logger_get_txn_manager(logger) : nullptr;
+}
+
+TXNID toku_ft_get_oldest_referenced_xid_estimate(FT_HANDLE ft_h) {
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ return txn_manager != nullptr ? toku_txn_manager_get_oldest_referenced_xid_estimate(txn_manager) : TXNID_NONE;
+}
+
void toku_ft_maybe_insert (FT_HANDLE ft_h, DBT *key, DBT *val, TOKUTXN txn, bool oplsn_valid, LSN oplsn, bool do_logging, enum ft_msg_type type) {
paranoid_invariant(type==FT_INSERT || type==FT_INSERT_NO_OVERWRITE);
XIDS message_xids = xids_get_root_xids(); //By default use committed messages
@@ -3258,19 +3372,35 @@ void toku_ft_maybe_insert (FT_HANDLE ft_h, DBT *key, DBT *val, TOKUTXN txn, bool
if (oplsn_valid && oplsn.lsn <= (treelsn = toku_ft_checkpoint_lsn(ft_h->ft)).lsn) {
// do nothing
} else {
- TXNID oldest_referenced_xid = (txn) ? txn->oldest_referenced_xid : TXNID_NONE;
- toku_ft_send_insert(ft_h, key, val, message_xids, type, oldest_referenced_xid, make_gc_info(txn ? !txn->for_recovery : false));
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_ft_get_oldest_referenced_xid_estimate(ft_h);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ // no messages above us, we can implicitly promote uxrs based on this xid
+ oldest_referenced_xid_estimate,
+ txn != nullptr ? !txn->for_recovery : false);
+ toku_ft_send_insert(ft_h, key, val, message_xids, type, &gc_info);
}
}
static void
-ft_send_update_msg(FT_HANDLE brt, FT_MSG_S *msg, TOKUTXN txn) {
+ft_send_update_msg(FT_HANDLE ft_h, FT_MSG_S *msg, TOKUTXN txn) {
msg->xids = (txn
? toku_txn_get_xids(txn)
: xids_get_root_xids());
- TXNID oldest_referenced_xid = (txn) ? txn->oldest_referenced_xid : TXNID_NONE;
- toku_ft_root_put_cmd(brt->ft, msg, oldest_referenced_xid, make_gc_info(txn ? !txn->for_recovery : false));
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_ft_get_oldest_referenced_xid_estimate(ft_h);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ // no messages above us, we can implicitly promote uxrs based on this xid
+ oldest_referenced_xid_estimate,
+ txn != nullptr ? !txn->for_recovery : false);
+ toku_ft_root_put_cmd(ft_h->ft, msg, &gc_info);
}
void toku_ft_maybe_update(FT_HANDLE ft_h, const DBT *key, const DBT *update_function_extra,
@@ -3339,15 +3469,15 @@ void toku_ft_maybe_update_broadcast(FT_HANDLE ft_h, const DBT *update_function_e
}
}
-void toku_ft_send_insert(FT_HANDLE brt, DBT *key, DBT *val, XIDS xids, enum ft_msg_type type, TXNID oldest_referenced_xid, GC_INFO gc_info) {
+void toku_ft_send_insert(FT_HANDLE brt, DBT *key, DBT *val, XIDS xids, enum ft_msg_type type, txn_gc_info *gc_info) {
FT_MSG_S ftcmd = { type, ZERO_MSN, xids, .u = { .id = { key, val } } };
- toku_ft_root_put_cmd(brt->ft, &ftcmd, oldest_referenced_xid, gc_info);
+ toku_ft_root_put_cmd(brt->ft, &ftcmd, gc_info);
}
-void toku_ft_send_commit_any(FT_HANDLE brt, DBT *key, XIDS xids, TXNID oldest_referenced_xid, GC_INFO gc_info) {
+void toku_ft_send_commit_any(FT_HANDLE brt, DBT *key, XIDS xids, txn_gc_info *gc_info) {
DBT val;
FT_MSG_S ftcmd = { FT_COMMIT_ANY, ZERO_MSN, xids, .u = { .id = { key, toku_init_dbt(&val) } } };
- toku_ft_root_put_cmd(brt->ft, &ftcmd, oldest_referenced_xid, gc_info);
+ toku_ft_root_put_cmd(brt->ft, &ftcmd, gc_info);
}
void toku_ft_delete(FT_HANDLE brt, DBT *key, TOKUTXN txn) {
@@ -3403,15 +3533,23 @@ void toku_ft_maybe_delete(FT_HANDLE ft_h, DBT *key, TOKUTXN txn, bool oplsn_vali
if (oplsn_valid && oplsn.lsn <= (treelsn = toku_ft_checkpoint_lsn(ft_h->ft)).lsn) {
// do nothing
} else {
- TXNID oldest_referenced_xid = (txn) ? txn->oldest_referenced_xid : TXNID_NONE;
- toku_ft_send_delete(ft_h, key, message_xids, oldest_referenced_xid, make_gc_info(txn ? !txn->for_recovery : false));
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_ft_get_oldest_referenced_xid_estimate(ft_h);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ // no messages above us, we can implicitly promote uxrs based on this xid
+ oldest_referenced_xid_estimate,
+ txn != nullptr ? !txn->for_recovery : false);
+ toku_ft_send_delete(ft_h, key, message_xids, &gc_info);
}
}
-void toku_ft_send_delete(FT_HANDLE brt, DBT *key, XIDS xids, TXNID oldest_referenced_xid, GC_INFO gc_info) {
+void toku_ft_send_delete(FT_HANDLE brt, DBT *key, XIDS xids, txn_gc_info *gc_info) {
DBT val; toku_init_dbt(&val);
FT_MSG_S ftcmd = { FT_DELETE_ANY, ZERO_MSN, xids, .u = { .id = { key, &val } } };
- toku_ft_root_put_cmd(brt->ft, &ftcmd, oldest_referenced_xid, gc_info);
+ toku_ft_root_put_cmd(brt->ft, &ftcmd, gc_info);
}
/* ******************** open,close and create ********************** */
@@ -3429,6 +3567,7 @@ int toku_open_ft_handle (const char *fname, int is_create, FT_HANDLE *ft_handle_
toku_ft_handle_set_nodesize(brt, nodesize);
toku_ft_handle_set_basementnodesize(brt, basementnodesize);
toku_ft_handle_set_compression_method(brt, compression_method);
+ toku_ft_handle_set_fanout(brt, 16);
toku_ft_set_bt_compare(brt, compare_fun);
int r = toku_ft_handle_open(brt, fname, is_create, only_create, cachetable, txn);
@@ -3516,6 +3655,27 @@ toku_ft_handle_get_compression_method(FT_HANDLE t, enum toku_compression_method
}
}
+void
+toku_ft_handle_set_fanout(FT_HANDLE ft_handle, unsigned int fanout)
+{
+ if (ft_handle->ft) {
+ toku_ft_set_fanout(ft_handle->ft, fanout);
+ }
+ else {
+ ft_handle->options.fanout = fanout;
+ }
+}
+
+void
+toku_ft_handle_get_fanout(FT_HANDLE ft_handle, unsigned int *fanout)
+{
+ if (ft_handle->ft) {
+ toku_ft_get_fanout(ft_handle->ft, fanout);
+ }
+ else {
+ *fanout = ft_handle->options.fanout;
+ }
+}
static int
verify_builtin_comparisons_consistent(FT_HANDLE t, uint32_t flags) {
if ((flags & TOKU_DB_KEYCMP_BUILTIN) && (t->options.compare_fun != toku_builtin_compare_fun))
@@ -3582,6 +3742,7 @@ toku_ft_handle_inherit_options(FT_HANDLE t, FT ft) {
.nodesize = ft->h->nodesize,
.basementnodesize = ft->h->basementnodesize,
.compression_method = ft->h->compression_method,
+ .fanout = ft->h->fanout,
.flags = ft->h->flags,
.compare_fun = ft->compare_fun,
.update_fun = ft->update_fun
@@ -3937,6 +4098,7 @@ void toku_ft_handle_create(FT_HANDLE *ft_handle_ptr) {
brt->options.nodesize = FT_DEFAULT_NODE_SIZE;
brt->options.basementnodesize = FT_DEFAULT_BASEMENT_NODE_SIZE;
brt->options.compression_method = TOKU_DEFAULT_COMPRESSION_METHOD;
+ brt->options.fanout = FT_DEFAULT_FANOUT;
brt->options.compare_fun = toku_builtin_compare_fun;
brt->options.update_fun = NULL;
*ft_handle_ptr = brt;
@@ -4039,6 +4201,12 @@ void toku_ft_cursor_remove_restriction(FT_CURSOR ftcursor) {
ftcursor->direction = 0;
}
+void toku_ft_cursor_set_check_interrupt_cb(FT_CURSOR ftcursor, FT_CHECK_INTERRUPT_CALLBACK cb, void *extra) {
+ ftcursor->interrupt_cb = cb;
+ ftcursor->interrupt_cb_extra = extra;
+}
+
+
void
toku_ft_cursor_set_temporary(FT_CURSOR ftcursor) {
ftcursor->is_temporary = true;
@@ -4193,7 +4361,7 @@ int fifo_offset_msn_cmp(FIFO &fifo, const int32_t &ao, const int32_t &bo)
* basement node.
*/
static void
-do_bn_apply_cmd(FT_HANDLE t, BASEMENTNODE bn, struct fifo_entry *entry, TXNID oldest_referenced_xid, uint64_t *workdone, STAT64INFO stats_to_update)
+do_bn_apply_cmd(FT_HANDLE t, BASEMENTNODE bn, struct fifo_entry *entry, txn_gc_info *gc_info, uint64_t *workdone, STAT64INFO stats_to_update)
{
// The messages are being iterated over in (key,msn) order or just in
// msn order, so all the messages for one key, from one buffer, are in
@@ -4218,8 +4386,7 @@ do_bn_apply_cmd(FT_HANDLE t, BASEMENTNODE bn, struct fifo_entry *entry, TXNID ol
&t->ft->cmp_descriptor,
bn,
&ftcmd,
- oldest_referenced_xid,
- make_gc_info(true), //mvcc is needed
+ gc_info,
workdone,
stats_to_update
);
@@ -4237,7 +4404,7 @@ struct iterate_do_bn_apply_cmd_extra {
FT_HANDLE t;
BASEMENTNODE bn;
NONLEAF_CHILDINFO bnc;
- TXNID oldest_referenced_xid;
+ txn_gc_info *gc_info;
uint64_t *workdone;
STAT64INFO stats_to_update;
};
@@ -4246,7 +4413,7 @@ int iterate_do_bn_apply_cmd(const int32_t &offset, const uint32_t UU(idx), struc
int iterate_do_bn_apply_cmd(const int32_t &offset, const uint32_t UU(idx), struct iterate_do_bn_apply_cmd_extra *const e)
{
struct fifo_entry *entry = toku_fifo_get_entry(e->bnc->buffer, offset);
- do_bn_apply_cmd(e->t, e->bn, entry, e->oldest_referenced_xid, e->workdone, e->stats_to_update);
+ do_bn_apply_cmd(e->t, e->bn, entry, e->gc_info, e->workdone, e->stats_to_update);
return 0;
}
@@ -4368,7 +4535,7 @@ bnc_apply_messages_to_basement_node(
FTNODE ancestor, // the ancestor node where we can find messages to apply
int childnum, // which child buffer of ancestor contains messages we want
struct pivot_bounds const * const bounds, // contains pivot key bounds of this basement node
- TXNID oldest_referenced_xid, // may be younger than what's in ancestor, we should grab the value from the highest node we have
+ txn_gc_info *gc_info,
bool* msgs_applied
)
{
@@ -4403,7 +4570,8 @@ bnc_apply_messages_to_basement_node(
// the relevant messages' offsets and sort them by MSN, then apply
// them in MSN order.
const int buffer_size = ((stale_ube - stale_lbi) + (fresh_ube - fresh_lbi) + bnc->broadcast_list.size());
- int32_t *XMALLOC_N(buffer_size, offsets);
+ toku::scoped_malloc offsets_buf(buffer_size * sizeof(int32_t));
+ int32_t *offsets = reinterpret_cast<int32_t *>(offsets_buf.get());
struct store_fifo_offset_extra sfo_extra = { .offsets = offsets, .i = 0 };
// Populate offsets array with offsets to stale messages
@@ -4427,13 +4595,11 @@ bnc_apply_messages_to_basement_node(
for (int i = 0; i < buffer_size; ++i) {
*msgs_applied = true;
struct fifo_entry *entry = toku_fifo_get_entry(bnc->buffer, offsets[i]);
- do_bn_apply_cmd(t, bn, entry, oldest_referenced_xid, &workdone_this_ancestor, &stats_delta);
+ do_bn_apply_cmd(t, bn, entry, gc_info, &workdone_this_ancestor, &stats_delta);
}
-
- toku_free(offsets);
} else if (stale_lbi == stale_ube) {
// No stale messages to apply, we just apply fresh messages, and mark them to be moved to stale later.
- struct iterate_do_bn_apply_cmd_extra iter_extra = { .t = t, .bn = bn, .bnc = bnc, .oldest_referenced_xid = oldest_referenced_xid, .workdone = &workdone_this_ancestor, .stats_to_update = &stats_delta };
+ struct iterate_do_bn_apply_cmd_extra iter_extra = { .t = t, .bn = bn, .bnc = bnc, .gc_info = gc_info, .workdone = &workdone_this_ancestor, .stats_to_update = &stats_delta };
if (fresh_ube - fresh_lbi > 0) *msgs_applied = true;
r = bnc->fresh_message_tree.iterate_and_mark_range<struct iterate_do_bn_apply_cmd_extra, iterate_do_bn_apply_cmd>(fresh_lbi, fresh_ube, &iter_extra);
assert_zero(r);
@@ -4442,7 +4608,7 @@ bnc_apply_messages_to_basement_node(
// No fresh messages to apply, we just apply stale messages.
if (stale_ube - stale_lbi > 0) *msgs_applied = true;
- struct iterate_do_bn_apply_cmd_extra iter_extra = { .t = t, .bn = bn, .bnc = bnc, .oldest_referenced_xid = oldest_referenced_xid, .workdone = &workdone_this_ancestor, .stats_to_update = &stats_delta };
+ struct iterate_do_bn_apply_cmd_extra iter_extra = { .t = t, .bn = bn, .bnc = bnc, .gc_info = gc_info, .workdone = &workdone_this_ancestor, .stats_to_update = &stats_delta };
r = bnc->stale_message_tree.iterate_on_range<struct iterate_do_bn_apply_cmd_extra, iterate_do_bn_apply_cmd>(stale_lbi, stale_ube, &iter_extra);
assert_zero(r);
@@ -4465,7 +4631,7 @@ apply_ancestors_messages_to_bn(
int childnum,
ANCESTORS ancestors,
struct pivot_bounds const * const bounds,
- TXNID oldest_referenced_xid,
+ txn_gc_info *gc_info,
bool* msgs_applied
)
{
@@ -4480,7 +4646,7 @@ apply_ancestors_messages_to_bn(
curr_ancestors->node,
curr_ancestors->childnum,
&curr_bounds,
- oldest_referenced_xid,
+ gc_info,
msgs_applied
);
// We don't want to check this ancestor node again if the
@@ -4517,13 +4683,14 @@ toku_apply_ancestors_messages_to_node (
VERIFY_NODE(t, node);
paranoid_invariant(node->height == 0);
- TXNID oldest_referenced_xid = ancestors->node->oldest_referenced_xid_known;
- for (ANCESTORS curr_ancestors = ancestors; curr_ancestors; curr_ancestors = curr_ancestors->next) {
- if (curr_ancestors->node->oldest_referenced_xid_known > oldest_referenced_xid) {
- oldest_referenced_xid = curr_ancestors->node->oldest_referenced_xid_known;
- }
- }
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(t);
+ txn_manager_state txn_state_for_gc(txn_manager);
+ TXNID oldest_referenced_xid_for_simple_gc = toku_ft_get_oldest_referenced_xid_estimate(t);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_for_simple_gc,
+ node->oldest_referenced_xid_known,
+ true);
if (!node->dirty && child_to_read >= 0) {
paranoid_invariant(BP_STATE(node, child_to_read) == PT_AVAIL);
apply_ancestors_messages_to_bn(
@@ -4532,7 +4699,7 @@ toku_apply_ancestors_messages_to_node (
child_to_read,
ancestors,
bounds,
- oldest_referenced_xid,
+ &gc_info,
msgs_applied
);
}
@@ -4551,7 +4718,7 @@ toku_apply_ancestors_messages_to_node (
i,
ancestors,
bounds,
- oldest_referenced_xid,
+ &gc_info,
msgs_applied
);
}
@@ -4812,12 +4979,20 @@ ok: ;
switch (search->direction) {
case FT_SEARCH_LEFT:
idx++;
- if (idx >= bn->data_buffer.omt_size())
+ if (idx >= bn->data_buffer.omt_size()) {
+ if (ftcursor->interrupt_cb && ftcursor->interrupt_cb(ftcursor->interrupt_cb_extra)) {
+ return TOKUDB_INTERRUPTED;
+ }
return DB_NOTFOUND;
+ }
break;
case FT_SEARCH_RIGHT:
- if (idx == 0)
+ if (idx == 0) {
+ if (ftcursor->interrupt_cb && ftcursor->interrupt_cb(ftcursor->interrupt_cb_extra)) {
+ return TOKUDB_INTERRUPTED;
+ }
return DB_NOTFOUND;
+ }
idx--;
break;
default:
@@ -5244,6 +5419,8 @@ toku_ft_search (FT_HANDLE brt, ft_search_t *search, FT_GET_CALLBACK_FUNCTION get
uint trycount = 0; // How many tries did it take to get the result?
FT ft = brt->ft;
+ toku::context search_ctx(CTX_SEARCH);
+
try_again:
trycount++;
@@ -6280,22 +6457,25 @@ int toku_ft_layer_init(void) {
partitioned_counters_init();
status_init();
txn_status_init();
+ toku_ule_status_init();
toku_checkpoint_init();
toku_ft_serialize_layer_init();
toku_mutex_init(&ft_open_close_lock, NULL);
+ toku_scoped_malloc_init();
exit:
return r;
}
-
-
void toku_ft_layer_destroy(void) {
toku_mutex_destroy(&ft_open_close_lock);
toku_ft_serialize_layer_destroy();
toku_checkpoint_destroy();
status_destroy();
txn_status_destroy();
+ toku_ule_status_destroy();
+ toku_context_status_destroy();
partitioned_counters_destroy();
+ toku_scoped_malloc_destroy();
//Portability must be cleaned up last
toku_portability_destroy();
}
diff --git a/storage/tokudb/ft-index/ft/ft-ops.h b/storage/tokudb/ft-index/ft/ft-ops.h
index 7d84cdb5135..67482e3931b 100644
--- a/storage/tokudb/ft-index/ft/ft-ops.h
+++ b/storage/tokudb/ft-index/ft/ft-ops.h
@@ -114,6 +114,8 @@ PATENT RIGHTS GRANT:
// When lock_only is true, the callback only does optional lock tree locking.
typedef int(*FT_GET_CALLBACK_FUNCTION)(ITEMLEN keylen, bytevec key, ITEMLEN vallen, bytevec val, void *extra, bool lock_only);
+typedef bool(*FT_CHECK_INTERRUPT_CALLBACK)(void* extra);
+
int toku_open_ft_handle (const char *fname, int is_create, FT_HANDLE *, int nodesize, int basementnodesize, enum toku_compression_method compression_method, CACHETABLE, TOKUTXN, int(*)(DB *,const DBT*,const DBT*)) __attribute__ ((warn_unused_result));
// effect: changes the descriptor for the ft of the given handle.
@@ -135,6 +137,8 @@ void toku_ft_handle_set_basementnodesize(FT_HANDLE, unsigned int basementnodesiz
void toku_ft_handle_get_basementnodesize(FT_HANDLE, unsigned int *basementnodesize);
void toku_ft_handle_set_compression_method(FT_HANDLE, enum toku_compression_method);
void toku_ft_handle_get_compression_method(FT_HANDLE, enum toku_compression_method *);
+void toku_ft_handle_set_fanout(FT_HANDLE, unsigned int fanout);
+void toku_ft_handle_get_fanout(FT_HANDLE, unsigned int *fanout);
void toku_ft_set_bt_compare(FT_HANDLE, ft_compare_func);
ft_compare_func toku_ft_get_bt_compare (FT_HANDLE brt);
@@ -239,9 +243,12 @@ void toku_ft_delete (FT_HANDLE brt, DBT *k, TOKUTXN txn);
// Effect: Delete a key from a brt if the oplsn is newer than the brt lsn. This function is called during recovery.
void toku_ft_maybe_delete (FT_HANDLE brt, DBT *k, TOKUTXN txn, bool oplsn_valid, LSN oplsn, bool do_logging);
-void toku_ft_send_insert(FT_HANDLE brt, DBT *key, DBT *val, XIDS xids, enum ft_msg_type type, TXNID oldest_referenced_xid, GC_INFO gc_info);
-void toku_ft_send_delete(FT_HANDLE brt, DBT *key, XIDS xids, TXNID oldest_referenced_xid, GC_INFO gc_info);
-void toku_ft_send_commit_any(FT_HANDLE brt, DBT *key, XIDS xids, TXNID oldest_referenced_xids, GC_INFO gc_info);
+TXNID toku_ft_get_oldest_referenced_xid_estimate(FT_HANDLE ft_h);
+TXN_MANAGER toku_ft_get_txn_manager(FT_HANDLE ft_h);
+
+void toku_ft_send_insert(FT_HANDLE brt, DBT *key, DBT *val, XIDS xids, enum ft_msg_type type, txn_gc_info *gc_info);
+void toku_ft_send_delete(FT_HANDLE brt, DBT *key, XIDS xids, txn_gc_info *gc_info);
+void toku_ft_send_commit_any(FT_HANDLE brt, DBT *key, XIDS xids, txn_gc_info *gc_info);
int toku_close_ft_handle_nolsn (FT_HANDLE, char **error_string) __attribute__ ((warn_unused_result));
@@ -258,6 +265,7 @@ void toku_ft_cursor_set_leaf_mode(FT_CURSOR);
// the cursor duing a one query.
void toku_ft_cursor_set_temporary(FT_CURSOR);
void toku_ft_cursor_remove_restriction(FT_CURSOR);
+void toku_ft_cursor_set_check_interrupt_cb(FT_CURSOR ftcursor, FT_CHECK_INTERRUPT_CALLBACK cb, void *extra);
int toku_ft_cursor_is_leaf_mode(FT_CURSOR);
void toku_ft_cursor_set_range_lock(FT_CURSOR, const DBT *, const DBT *, bool, bool, int);
@@ -346,5 +354,8 @@ int toku_ft_strerror_r(int error, char *buf, size_t buflen);
extern bool garbage_collection_debug;
+// This is a poor place to put global options like these.
void toku_ft_set_direct_io(bool direct_io_on);
+void toku_ft_set_compress_buffers_before_eviction(bool compress_buffers);
+
#endif
diff --git a/storage/tokudb/ft-index/ft/ft-serialize.cc b/storage/tokudb/ft-index/ft/ft-serialize.cc
index f16544ba51a..e6fbe0a2ce4 100644
--- a/storage/tokudb/ft-index/ft/ft-serialize.cc
+++ b/storage/tokudb/ft-index/ft/ft-serialize.cc
@@ -404,6 +404,7 @@ int deserialize_ft_versioned(int fd, struct rbuf *rb, FT *ftp, uint32_t version)
.nodesize = nodesize,
.basementnodesize = basementnodesize,
.compression_method = compression_method,
+ .fanout = FT_DEFAULT_FANOUT, // fanout is not serialized, must be set at startup
.highest_unused_msn_for_upgrade = highest_unused_msn_for_upgrade,
.max_msn_in_ft = max_msn_in_ft,
.time_of_last_optimize_begin = time_of_last_optimize_begin,
@@ -461,6 +462,7 @@ serialize_ft_min_size (uint32_t version) {
size_t size = 0;
switch(version) {
+ case FT_LAYOUT_VERSION_25:
case FT_LAYOUT_VERSION_24:
case FT_LAYOUT_VERSION_23:
case FT_LAYOUT_VERSION_22:
diff --git a/storage/tokudb/ft-index/ft/ft-test-helpers.cc b/storage/tokudb/ft-index/ft/ft-test-helpers.cc
index 2fafe8feeec..135603147d9 100644
--- a/storage/tokudb/ft-index/ft/ft-test-helpers.cc
+++ b/storage/tokudb/ft-index/ft/ft-test-helpers.cc
@@ -142,7 +142,6 @@ int toku_testsetup_leaf(FT_HANDLE brt, BLOCKNUM *blocknum, int n_children, char
int toku_testsetup_nonleaf (FT_HANDLE brt, int height, BLOCKNUM *blocknum, int n_children, BLOCKNUM *children, char **keys, int *keylens) {
FTNODE node;
assert(testsetup_initialized);
- assert(n_children<=FT_FANOUT);
toku_create_new_ftnode(brt, &node, height, n_children);
int i;
for (i=0; i<n_children; i++) {
@@ -222,6 +221,7 @@ int toku_testsetup_insert_to_leaf (FT_HANDLE brt, BLOCKNUM blocknum, const char
toku_fill_dbt(&valdbt, val, vallen) } } };
static size_t zero_flow_deltas[] = { 0, 0 };
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, true);
toku_ft_node_put_cmd (
brt->ft->compare_fun,
brt->ft->update_fun,
@@ -230,7 +230,7 @@ int toku_testsetup_insert_to_leaf (FT_HANDLE brt, BLOCKNUM blocknum, const char
-1,
&cmd,
true,
- make_gc_info(true),
+ &gc_info,
zero_flow_deltas,
NULL
);
diff --git a/storage/tokudb/ft-index/ft/ft.cc b/storage/tokudb/ft-index/ft/ft.cc
index 4109b9b47b1..48a6912a74f 100644
--- a/storage/tokudb/ft-index/ft/ft.cc
+++ b/storage/tokudb/ft-index/ft/ft.cc
@@ -431,6 +431,7 @@ ft_header_create(FT_OPTIONS options, BLOCKNUM root_blocknum, TXNID root_xid_that
.nodesize = options->nodesize,
.basementnodesize = options->basementnodesize,
.compression_method = options->compression_method,
+ .fanout = options->fanout,
.highest_unused_msn_for_upgrade = { .msn = (MIN_MSN.msn - 1) },
.max_msn_in_ft = ZERO_MSN,
.time_of_last_optimize_begin = 0,
@@ -606,13 +607,16 @@ toku_ft_init(FT ft,
TXNID root_xid_that_created,
uint32_t target_nodesize,
uint32_t target_basementnodesize,
- enum toku_compression_method compression_method)
+ enum toku_compression_method compression_method,
+ uint32_t fanout
+ )
{
memset(ft, 0, sizeof *ft);
struct ft_options options = {
.nodesize = target_nodesize,
.basementnodesize = target_basementnodesize,
.compression_method = compression_method,
+ .fanout = fanout,
.flags = 0,
.compare_fun = NULL,
.update_fun = NULL
@@ -633,6 +637,7 @@ ft_handle_open_for_redirect(FT_HANDLE *new_ftp, const char *fname_in_env, TOKUTX
toku_ft_handle_set_nodesize(t, old_h->h->nodesize);
toku_ft_handle_set_basementnodesize(t, old_h->h->basementnodesize);
toku_ft_handle_set_compression_method(t, old_h->h->compression_method);
+ toku_ft_handle_set_fanout(t, old_h->h->fanout);
CACHETABLE ct = toku_cachefile_get_cachetable(old_h->cf);
int r = toku_ft_handle_open_with_dict_id(t, fname_in_env, 0, 0, ct, txn, old_h->dict_id);
if (r != 0) {
@@ -1022,6 +1027,19 @@ void toku_ft_get_compression_method(FT ft, enum toku_compression_method *methodp
toku_ft_unlock(ft);
}
+void toku_ft_set_fanout(FT ft, unsigned int fanout) {
+ toku_ft_lock(ft);
+ ft->h->fanout = fanout;
+ ft->h->dirty = 1;
+ toku_ft_unlock(ft);
+}
+
+void toku_ft_get_fanout(FT ft, unsigned int *fanout) {
+ toku_ft_lock(ft);
+ *fanout = ft->h->fanout;
+ toku_ft_unlock(ft);
+}
+
// mark the ft as a blackhole. any message injections will be a no op.
void toku_ft_set_blackhole(FT_HANDLE ft_handle) {
ft_handle->ft->blackhole = true;
diff --git a/storage/tokudb/ft-index/ft/ft.h b/storage/tokudb/ft-index/ft/ft.h
index 748c38aa138..92d1ba0b5ea 100644
--- a/storage/tokudb/ft-index/ft/ft.h
+++ b/storage/tokudb/ft-index/ft/ft.h
@@ -130,13 +130,14 @@ void toku_ft_note_hot_complete(FT_HANDLE brt, bool success, MSN msn_at_start_of_
void
toku_ft_init(
- FT h,
+ FT ft,
BLOCKNUM root_blocknum_on_disk,
LSN checkpoint_lsn,
TXNID root_xid_that_created,
uint32_t target_nodesize,
uint32_t target_basementnodesize,
- enum toku_compression_method compression_method
+ enum toku_compression_method compression_method,
+ uint32_t fanout
);
int toku_dictionary_redirect_abort(FT old_h, FT new_h, TOKUTXN txn) __attribute__ ((warn_unused_result));
@@ -186,6 +187,8 @@ void toku_ft_set_basementnodesize(FT ft, unsigned int basementnodesize);
void toku_ft_get_basementnodesize(FT ft, unsigned int *basementnodesize);
void toku_ft_set_compression_method(FT ft, enum toku_compression_method method);
void toku_ft_get_compression_method(FT ft, enum toku_compression_method *methodp);
+void toku_ft_set_fanout(FT ft, unsigned int fanout);
+void toku_ft_get_fanout(FT ft, unsigned int *fanout);
void toku_node_save_ct_pair(CACHEKEY UU(key), void *value_data, PAIR p);
// mark the ft as a blackhole. any message injections will be a no op.
diff --git a/storage/tokudb/ft-index/ft/ft_layout_version.h b/storage/tokudb/ft-index/ft/ft_layout_version.h
index 93c998f6a8f..da401ea7c55 100644
--- a/storage/tokudb/ft-index/ft/ft_layout_version.h
+++ b/storage/tokudb/ft-index/ft/ft_layout_version.h
@@ -118,6 +118,7 @@ enum ft_layout_version_e {
FT_LAYOUT_VERSION_22 = 22, // Ming: Add oldest known referenced xid to each ftnode, for better garbage collection
FT_LAYOUT_VERSION_23 = 23, // Ming: Fix upgrade path #5902
FT_LAYOUT_VERSION_24 = 24, // Riddler: change logentries that log transactions to store TXNID_PAIRs instead of TXNIDs
+ FT_LAYOUT_VERSION_25 = 25, // SecretSquirrel: ROLLBACK_LOG_NODES (on disk and in memory) now just use blocknum (instead of blocknum + hash) to point to other log nodes. same for xstillopen log entry
FT_NEXT_VERSION, // the version after the current version
FT_LAYOUT_VERSION = FT_NEXT_VERSION-1, // A hack so I don't have to change this line.
FT_LAYOUT_MIN_SUPPORTED_VERSION = FT_LAYOUT_VERSION_13, // Minimum version supported
diff --git a/storage/tokudb/ft-index/ft/ft_node-serialize.cc b/storage/tokudb/ft-index/ft/ft_node-serialize.cc
index c1f6e01487a..6fb6774ee34 100644
--- a/storage/tokudb/ft-index/ft/ft_node-serialize.cc
+++ b/storage/tokudb/ft-index/ft/ft_node-serialize.cc
@@ -97,6 +97,7 @@ PATENT RIGHTS GRANT:
#include <util/threadpool.h>
#include "ft.h"
#include <util/status.h>
+#include <util/scoped_malloc.h>
static FT_UPGRADE_STATUS_S ft_upgrade_status;
@@ -217,12 +218,12 @@ toku_maybe_preallocate_in_file (int fd, int64_t size, int64_t expected_size, int
}
if (to_write > 0) {
assert(to_write%512==0);
- char *XMALLOC_N_ALIGNED(512, to_write, wbuf);
+ toku::scoped_malloc_aligned wbuf_aligned(to_write, 512);
+ char *wbuf = reinterpret_cast<char *>(wbuf_aligned.get());
memset(wbuf, 0, to_write);
toku_off_t start_write = alignup64(file_size, stripe_width);
invariant(start_write >= file_size);
toku_os_full_pwrite(fd, wbuf, to_write, start_write);
- toku_free(wbuf);
*new_size = start_write + to_write;
}
else {
@@ -356,10 +357,13 @@ serialize_nonleaf_childinfo(NONLEAF_CHILDINFO bnc, struct wbuf *wb)
//
static void
serialize_ftnode_partition(FTNODE node, int i, struct sub_block *sb) {
- assert(sb->uncompressed_size == 0);
- assert(sb->uncompressed_ptr == NULL);
- sb->uncompressed_size = serialize_ftnode_partition_size(node,i);
- sb->uncompressed_ptr = toku_xmalloc(sb->uncompressed_size);
+ if (sb->uncompressed_ptr == NULL) {
+ assert(sb->uncompressed_size == 0);
+ sb->uncompressed_size = serialize_ftnode_partition_size(node,i);
+ sb->uncompressed_ptr = toku_xmalloc(sb->uncompressed_size);
+ } else {
+ assert(sb->uncompressed_size > 0);
+ }
//
// Now put the data into sb->uncompressed_ptr
//
@@ -549,13 +553,21 @@ rebalance_ftnode_leaf(FTNODE node, unsigned int basementnodesize)
// Create an array of OMTVALUE's that store all the pointers to all the data.
// Each element in leafpointers is a pointer to a leaf.
- LEAFENTRY *XMALLOC_N(num_alloc, leafpointers);
+ toku::scoped_malloc leafpointers_buf(sizeof(LEAFENTRY) * num_alloc);
+ LEAFENTRY *leafpointers = reinterpret_cast<LEAFENTRY *>(leafpointers_buf.get());
leafpointers[0] = NULL;
- const void **XMALLOC_N(num_alloc, key_pointers);
- uint32_t *XMALLOC_N(num_alloc, key_sizes);
+
+ toku::scoped_malloc key_pointers_buf(sizeof(void *) * num_alloc);
+ const void **key_pointers = reinterpret_cast<const void **>(key_pointers_buf.get());
+ key_pointers[0] = NULL;
+
+ toku::scoped_malloc key_sizes_buf(sizeof(uint32_t) * num_alloc);
+ uint32_t *key_sizes = reinterpret_cast<uint32_t *>(key_sizes_buf.get());
// Capture pointers to old mempools' buffers (so they can be destroyed)
- BASEMENTNODE *XMALLOC_N(num_orig_basements, old_bns);
+ toku::scoped_malloc old_bns_buf(sizeof(BASEMENTNODE) * num_orig_basements);
+ BASEMENTNODE *old_bns = reinterpret_cast<BASEMENTNODE *>(old_bns_buf.get());
+ old_bns[0] = NULL;
uint32_t curr_le = 0;
for (uint32_t i = 0; i < num_orig_basements; i++) {
@@ -568,22 +580,26 @@ rebalance_ftnode_leaf(FTNODE node, unsigned int basementnodesize)
// Create an array that will store indexes of new pivots.
// Each element in new_pivots is the index of a pivot key.
// (Allocating num_le of them is overkill, but num_le is an upper bound.)
- uint32_t *XMALLOC_N(num_alloc, new_pivots);
+ toku::scoped_malloc new_pivots_buf(sizeof(uint32_t) * num_alloc);
+ uint32_t *new_pivots = reinterpret_cast<uint32_t *>(new_pivots_buf.get());
new_pivots[0] = 0;
// Each element in le_sizes is the size of the leafentry pointed to by leafpointers.
- size_t *XMALLOC_N(num_alloc, le_sizes);
+ toku::scoped_malloc le_sizes_buf(sizeof(size_t) * num_alloc);
+ size_t *le_sizes = reinterpret_cast<size_t *>(le_sizes_buf.get());
le_sizes[0] = 0;
// Create an array that will store the size of each basement.
// This is the sum of the leaf sizes of all the leaves in that basement.
// We don't know how many basements there will be, so we use num_le as the upper bound.
- size_t *XMALLOC_N(num_alloc, bn_sizes);
+ toku::scoped_malloc bn_sizes_buf(sizeof(size_t) * num_alloc);
+ size_t *bn_sizes = reinterpret_cast<size_t *>(bn_sizes_buf.get());
bn_sizes[0] = 0;
// TODO 4050: All these arrays should be combined into a single array of some bn_info struct (pivot, msize, num_les).
// Each entry is the number of leafentries in this basement. (Again, num_le is overkill upper baound.)
- uint32_t *XMALLOC_N(num_alloc, num_les_this_bn);
+ toku::scoped_malloc num_les_this_bn_buf(sizeof(uint32_t) * num_alloc);
+ uint32_t *num_les_this_bn = reinterpret_cast<uint32_t *>(num_les_this_bn_buf.get());
num_les_this_bn[0] = 0;
// Figure out the new pivots.
@@ -696,14 +712,6 @@ rebalance_ftnode_leaf(FTNODE node, unsigned int basementnodesize)
for (uint32_t i = 0; i < num_orig_basements; i++) {
destroy_basement_node(old_bns[i]);
}
- toku_free(key_pointers);
- toku_free(key_sizes);
- toku_free(leafpointers);
- toku_free(old_bns);
- toku_free(new_pivots);
- toku_free(le_sizes);
- toku_free(bn_sizes);
- toku_free(num_les_this_bn);
} // end of rebalance_ftnode_leaf()
struct serialize_times {
@@ -737,32 +745,30 @@ toku_create_compressed_partition_from_available(
SUB_BLOCK sb
)
{
- struct serialize_times st;
- memset(&st, 0, sizeof(st));
+ tokutime_t t0 = toku_time_now();
- serialize_and_compress_partition(node, childnum, compression_method, sb, &st);
- toku_ft_status_update_serialize_times(node, st.serialize_time, st.compress_time);
+ // serialize
+ sb->uncompressed_size = serialize_ftnode_partition_size(node, childnum);
+ toku::scoped_malloc uncompressed_buf(sb->uncompressed_size);
+ sb->uncompressed_ptr = uncompressed_buf.get();
+ serialize_ftnode_partition(node, childnum, sb);
- //
- // now we have an sb that would be ready for being written out,
- // but we are not writing it out, we are storing it in cache for a potentially
- // long time, so we need to do some cleanup
- //
- // The buffer created above contains metadata in the first 8 bytes, and is overallocated
- // It allocates a bound on the compressed length (evaluated before compression) as opposed
- // to just the amount of the actual compressed data. So, we create a new buffer and copy
- // just the compressed data.
- //
- uint32_t compressed_size = toku_dtoh32(*(uint32_t *)sb->compressed_ptr);
- void* compressed_data = toku_xmalloc(compressed_size);
- memcpy(compressed_data, (char *)sb->compressed_ptr + 8, compressed_size);
- toku_free(sb->compressed_ptr);
- sb->compressed_ptr = compressed_data;
- sb->compressed_size = compressed_size;
- if (sb->uncompressed_ptr) {
- toku_free(sb->uncompressed_ptr);
- sb->uncompressed_ptr = NULL;
- }
+ tokutime_t t1 = toku_time_now();
+
+ // compress. no need to pad with extra bytes for sizes/xsum - we're not storing them
+ set_compressed_size_bound(sb, compression_method);
+ sb->compressed_ptr = toku_xmalloc(sb->compressed_size_bound);
+ sb->compressed_size = compress_nocrc_sub_block(
+ sb,
+ sb->compressed_ptr,
+ sb->compressed_size_bound,
+ compression_method
+ );
+ sb->uncompressed_ptr = NULL;
+
+ tokutime_t t2 = toku_time_now();
+
+ toku_ft_status_update_serialize_times(node, t1 - t0, t2 - t1);
}
static void
@@ -882,7 +888,8 @@ int toku_serialize_ftnode_to_memory(FTNODE node,
// Each partition represents a compressed sub block
// For internal nodes, a sub block is a message buffer
// For leaf nodes, a sub block is a basement node
- struct sub_block *XMALLOC_N(npartitions, sb);
+ toku::scoped_malloc sb_buf(sizeof(struct sub_block) * npartitions);
+ struct sub_block *sb = reinterpret_cast<struct sub_block *>(sb_buf.get());
XREALLOC_N(npartitions, *ndd);
struct sub_block sb_node_info;
for (int i = 0; i < npartitions; i++) {
@@ -983,7 +990,6 @@ int toku_serialize_ftnode_to_memory(FTNODE node,
assert(0 == (*n_bytes_to_write)%512);
assert(0 == ((unsigned long long)(*bytes_to_write))%512);
- toku_free(sb);
return 0;
}
@@ -1055,6 +1061,7 @@ deserialize_child_buffer(NONLEAF_CHILDINFO bnc, struct rbuf *rbuf,
XMALLOC_N(n_in_this_buffer, fresh_offsets);
XMALLOC_N(n_in_this_buffer, broadcast_offsets);
}
+ toku_fifo_resize(bnc->buffer, rbuf->size + 64);
for (int i = 0; i < n_in_this_buffer; i++) {
bytevec key; ITEMLEN keylen;
bytevec val; ITEMLEN vallen;
@@ -1171,9 +1178,9 @@ BASEMENTNODE toku_create_empty_bn_no_buffer(void) {
NONLEAF_CHILDINFO toku_create_empty_nl(void) {
NONLEAF_CHILDINFO XMALLOC(cn);
int r = toku_fifo_create(&cn->buffer); assert_zero(r);
- cn->fresh_message_tree.create();
- cn->stale_message_tree.create();
- cn->broadcast_list.create();
+ cn->fresh_message_tree.create_no_array();
+ cn->stale_message_tree.create_no_array();
+ cn->broadcast_list.create_no_array();
memset(cn->flow, 0, sizeof cn->flow);
return cn;
}
@@ -1545,7 +1552,6 @@ deserialize_ftnode_partition(
rb.ndone += data_size;
}
assert(rb.ndone == rb.size);
- toku_free(sb->uncompressed_ptr);
exit:
return r;
}
@@ -1563,6 +1569,8 @@ decompress_and_deserialize_worker(struct rbuf curr_rbuf, struct sub_block curr_s
r = deserialize_ftnode_partition(&curr_sb, node, child, desc, cmp);
}
*decompress_time = t1 - t0;
+
+ toku_free(curr_sb.uncompressed_ptr);
return r;
}
@@ -2451,7 +2459,8 @@ toku_deserialize_bp_from_disk(FTNODE node, FTNODE_DISK_DATA ndd, int childnum, i
uint32_t pad_at_beginning = (node_offset+curr_offset)%512;
uint32_t padded_size = roundup_to_multiple(512, pad_at_beginning + curr_size);
- uint8_t *XMALLOC_N_ALIGNED(512, padded_size, raw_block);
+ toku::scoped_malloc_aligned raw_block_buf(padded_size, 512);
+ uint8_t *raw_block = reinterpret_cast<uint8_t *>(raw_block_buf.get());
rbuf_init(&rb, pad_at_beginning+raw_block, curr_size);
tokutime_t t0 = toku_time_now();
@@ -2465,17 +2474,25 @@ toku_deserialize_bp_from_disk(FTNODE node, FTNODE_DISK_DATA ndd, int childnum, i
tokutime_t t1 = toku_time_now();
- // decompress
+ // read sub block
struct sub_block curr_sb;
sub_block_init(&curr_sb);
- r = read_and_decompress_sub_block(&rb, &curr_sb);
+ r = read_compressed_sub_block(&rb, &curr_sb);
+ if (r != 0) {
+ return r;
+ }
+ invariant(curr_sb.compressed_ptr != NULL);
+
+ // decompress
+ toku::scoped_malloc uncompressed_buf(curr_sb.uncompressed_size);
+ curr_sb.uncompressed_ptr = uncompressed_buf.get();
+ toku_decompress((Bytef *) curr_sb.uncompressed_ptr, curr_sb.uncompressed_size,
+ (Bytef *) curr_sb.compressed_ptr, curr_sb.compressed_size);
// deserialize
tokutime_t t2 = toku_time_now();
- if (r == 0) {
- // at this point, sb->uncompressed_ptr stores the serialized node partition
- r = deserialize_ftnode_partition(&curr_sb, node, childnum, &bfe->h->cmp_descriptor, bfe->h->compare_fun);
- }
+
+ r = deserialize_ftnode_partition(&curr_sb, node, childnum, &bfe->h->cmp_descriptor, bfe->h->compare_fun);
tokutime_t t3 = toku_time_now();
@@ -2490,7 +2507,6 @@ toku_deserialize_bp_from_disk(FTNODE node, FTNODE_DISK_DATA ndd, int childnum, i
bfe->bytes_read = rlen;
bfe->io_time = io_time;
- toku_free(raw_block);
return r;
}
@@ -2501,8 +2517,9 @@ toku_deserialize_bp_from_compressed(FTNODE node, int childnum, struct ftnode_fet
assert(BP_STATE(node, childnum) == PT_COMPRESSED);
SUB_BLOCK curr_sb = BSB(node, childnum);
+ toku::scoped_malloc uncompressed_buf(curr_sb->uncompressed_size);
assert(curr_sb->uncompressed_ptr == NULL);
- curr_sb->uncompressed_ptr = toku_xmalloc(curr_sb->uncompressed_size);
+ curr_sb->uncompressed_ptr = uncompressed_buf.get();
setup_available_ftnode_partition(node, childnum);
BP_STATE(node,childnum) = PT_AVAIL;
@@ -2763,8 +2780,7 @@ toku_serialize_rollback_log_to (int fd, ROLLBACK_LOG_NODE log, SERIALIZED_ROLLBA
}
static int
-deserialize_rollback_log_from_rbuf (BLOCKNUM blocknum, uint32_t fullhash, ROLLBACK_LOG_NODE *log_p,
- FT h, struct rbuf *rb) {
+deserialize_rollback_log_from_rbuf (BLOCKNUM blocknum, ROLLBACK_LOG_NODE *log_p, struct rbuf *rb) {
ROLLBACK_LOG_NODE MALLOC(result);
int r;
if (result==NULL) {
@@ -2793,13 +2809,7 @@ deserialize_rollback_log_from_rbuf (BLOCKNUM blocknum, uint32_t fullhash, ROLLBA
r = toku_db_badformat();
goto died0;
}
- result->hash = toku_cachetable_hash(h->cf, result->blocknum);
- if (result->hash != fullhash) {
- r = toku_db_badformat();
- goto died0;
- }
result->previous = rbuf_blocknum(rb);
- result->previous_hash = toku_cachetable_hash(h->cf, result->previous);
result->rollentry_resident_bytecount = rbuf_ulonglong(rb);
size_t arena_initial_size = rbuf_ulonglong(rb);
@@ -2840,13 +2850,13 @@ deserialize_rollback_log_from_rbuf (BLOCKNUM blocknum, uint32_t fullhash, ROLLBA
}
static int
-deserialize_rollback_log_from_rbuf_versioned (uint32_t version, BLOCKNUM blocknum, uint32_t fullhash,
+deserialize_rollback_log_from_rbuf_versioned (uint32_t version, BLOCKNUM blocknum,
ROLLBACK_LOG_NODE *log,
- FT h, struct rbuf *rb) {
+ struct rbuf *rb) {
int r = 0;
ROLLBACK_LOG_NODE rollback_log_node = NULL;
invariant(version==FT_LAYOUT_VERSION); //Rollback log nodes do not survive version changes.
- r = deserialize_rollback_log_from_rbuf(blocknum, fullhash, &rollback_log_node, h, rb);
+ r = deserialize_rollback_log_from_rbuf(blocknum, &rollback_log_node, rb);
if (r==0) {
*log = rollback_log_node;
}
@@ -3022,8 +3032,7 @@ cleanup:
// Read rollback log node from file into struct. Perform version upgrade if necessary.
int
-toku_deserialize_rollback_log_from (int fd, BLOCKNUM blocknum, uint32_t fullhash,
- ROLLBACK_LOG_NODE *logp, FT h) {
+toku_deserialize_rollback_log_from (int fd, BLOCKNUM blocknum, ROLLBACK_LOG_NODE *logp, FT h) {
int layout_version = 0;
int r;
struct rbuf rb = {.buf = NULL, .size = 0, .ndone = 0};
@@ -3037,7 +3046,6 @@ toku_deserialize_rollback_log_from (int fd, BLOCKNUM blocknum, uint32_t fullhash
ROLLBACK_LOG_NODE XMALLOC(log);
rollback_empty_log_init(log);
log->blocknum.b = blocknum.b;
- log->hash = fullhash;
r = 0;
*logp = log;
goto cleanup;
@@ -3054,7 +3062,7 @@ toku_deserialize_rollback_log_from (int fd, BLOCKNUM blocknum, uint32_t fullhash
}
}
- r = deserialize_rollback_log_from_rbuf_versioned(layout_version, blocknum, fullhash, logp, h, &rb);
+ r = deserialize_rollback_log_from_rbuf_versioned(layout_version, blocknum, logp, &rb);
cleanup:
if (rb.buf) toku_free(rb.buf);
diff --git a/storage/tokudb/ft-index/ft/ftloader-internal.h b/storage/tokudb/ft-index/ft/ftloader-internal.h
index ef8f618f22e..b8d55001641 100644
--- a/storage/tokudb/ft-index/ft/ftloader-internal.h
+++ b/storage/tokudb/ft-index/ft/ftloader-internal.h
@@ -288,6 +288,7 @@ struct fractal_thread_args {
uint32_t target_nodesize;
uint32_t target_basementnodesize;
enum toku_compression_method target_compression_method;
+ uint32_t target_fanout;
};
void toku_ft_loader_set_n_rows(FTLOADER bl, uint64_t n_rows);
@@ -319,7 +320,8 @@ int toku_loader_write_brt_from_q_in_C (FTLOADER bl,
int which_db,
uint32_t target_nodesize,
uint32_t target_basementnodesize,
- enum toku_compression_method target_compression_method);
+ enum toku_compression_method target_compression_method,
+ uint32_t fanout);
int ft_loader_mergesort_row_array (struct row rows[/*n*/], int n, int which_db, DB *dest_db, ft_compare_func, FTLOADER, struct rowset *);
diff --git a/storage/tokudb/ft-index/ft/ftloader.cc b/storage/tokudb/ft-index/ft/ftloader.cc
index 1a5b2ad3bf8..d5673ccfe0d 100644
--- a/storage/tokudb/ft-index/ft/ftloader.cc
+++ b/storage/tokudb/ft-index/ft/ftloader.cc
@@ -561,7 +561,7 @@ int toku_ft_loader_internal_init (/* out */ FTLOADER *blp,
}
bl->compress_intermediates = compress_intermediates;
if (0) { // debug
- fprintf(stderr, "%s Reserved memory=%ld\n", __FUNCTION__, bl->reserved_memory);
+ fprintf(stderr, "%s Reserved memory=%" PRId64 "\n", __FUNCTION__, bl->reserved_memory);
}
bl->src_db = src_db;
@@ -2405,7 +2405,8 @@ static int toku_loader_write_ft_from_q (FTLOADER bl,
int which_db,
uint32_t target_nodesize,
uint32_t target_basementnodesize,
- enum toku_compression_method target_compression_method)
+ enum toku_compression_method target_compression_method,
+ uint32_t target_fanout)
// Effect: Consume a sequence of rowsets work from a queue, creating a fractal tree. Closes fd.
{
// set the number of fractal tree writer threads so that we can partition memory in the merger
@@ -2434,7 +2435,7 @@ static int toku_loader_write_ft_from_q (FTLOADER bl,
// TODO: (Zardosht/Yoni/Leif), do this code properly
struct ft ft;
- toku_ft_init(&ft, (BLOCKNUM){0}, bl->load_lsn, root_xid_that_created, target_nodesize, target_basementnodesize, target_compression_method);
+ toku_ft_init(&ft, (BLOCKNUM){0}, bl->load_lsn, root_xid_that_created, target_nodesize, target_basementnodesize, target_compression_method, target_fanout);
struct dbout out;
ZERO_STRUCT(out);
@@ -2680,18 +2681,19 @@ int toku_loader_write_brt_from_q_in_C (FTLOADER bl,
int which_db,
uint32_t target_nodesize,
uint32_t target_basementnodesize,
- enum toku_compression_method target_compression_method)
+ enum toku_compression_method target_compression_method,
+ uint32_t target_fanout)
// This is probably only for testing.
{
target_nodesize = target_nodesize == 0 ? default_loader_nodesize : target_nodesize;
target_basementnodesize = target_basementnodesize == 0 ? default_loader_basementnodesize : target_basementnodesize;
- return toku_loader_write_ft_from_q (bl, descriptor, fd, progress_allocation, q, total_disksize_estimate, which_db, target_nodesize, target_basementnodesize, target_compression_method);
+ return toku_loader_write_ft_from_q (bl, descriptor, fd, progress_allocation, q, total_disksize_estimate, which_db, target_nodesize, target_basementnodesize, target_compression_method, target_fanout);
}
static void* fractal_thread (void *ftav) {
struct fractal_thread_args *fta = (struct fractal_thread_args *)ftav;
- int r = toku_loader_write_ft_from_q (fta->bl, fta->descriptor, fta->fd, fta->progress_allocation, fta->q, fta->total_disksize_estimate, fta->which_db, fta->target_nodesize, fta->target_basementnodesize, fta->target_compression_method);
+ int r = toku_loader_write_ft_from_q (fta->bl, fta->descriptor, fta->fd, fta->progress_allocation, fta->q, fta->total_disksize_estimate, fta->which_db, fta->target_nodesize, fta->target_basementnodesize, fta->target_compression_method, fta->target_fanout);
fta->errno_result = r;
return NULL;
}
@@ -2727,7 +2729,7 @@ static int loader_do_i (FTLOADER bl,
r = get_error_errno(); goto error;
}
- uint32_t target_nodesize, target_basementnodesize;
+ uint32_t target_nodesize, target_basementnodesize, target_fanout;
enum toku_compression_method target_compression_method;
r = dest_db->get_pagesize(dest_db, &target_nodesize);
invariant_zero(r);
@@ -2735,6 +2737,8 @@ static int loader_do_i (FTLOADER bl,
invariant_zero(r);
r = dest_db->get_compression_method(dest_db, &target_compression_method);
invariant_zero(r);
+ r = dest_db->get_fanout(dest_db, &target_fanout);
+ invariant_zero(r);
// This structure must stay live until the join below.
struct fractal_thread_args fta = { bl,
@@ -2748,6 +2752,7 @@ static int loader_do_i (FTLOADER bl,
target_nodesize,
target_basementnodesize,
target_compression_method,
+ target_fanout
};
r = toku_pthread_create(bl->fractal_threads+which_db, NULL, fractal_thread, (void*)&fta);
@@ -2920,7 +2925,9 @@ static void add_pair_to_leafnode (struct leaf_buf *lbuf, unsigned char *key, int
.xids = lbuf->xids,
.u = { .id = { &thekey, &theval } } };
uint64_t workdone=0;
- toku_ft_bn_apply_cmd_once(BLB(leafnode,0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(true), &workdone, stats_to_update);
+ // there's no mvcc garbage in a bulk-loaded FT, so there's no need to pass useful gc info
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, true);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode,0), &cmd, idx, NULL, &gc_info, &workdone, stats_to_update);
}
static int write_literal(struct dbout *out, void*data, size_t len) {
diff --git a/storage/tokudb/ft-index/ft/fttypes.h b/storage/tokudb/ft-index/ft/fttypes.h
index 67e29363aaa..052d6342883 100644
--- a/storage/tokudb/ft-index/ft/fttypes.h
+++ b/storage/tokudb/ft-index/ft/fttypes.h
@@ -143,10 +143,6 @@ typedef TOKU_XA_XID *XIDP; // this is the type that's passed to the logger code
static inline BLOCKNUM make_blocknum(int64_t b) { BLOCKNUM result={b}; return result; }
-typedef struct gc_info_s { bool mvcc_needed; } GC_INFO;
-
-static inline GC_INFO make_gc_info(bool mvcc_needed) { GC_INFO result = {mvcc_needed}; return result; }
-
// This struct hold information about values stored in the cachetable.
// As one can tell from the names, we are probably violating an
// abstraction layer by placing names.
diff --git a/storage/tokudb/ft-index/ft/leafentry.h b/storage/tokudb/ft-index/ft/leafentry.h
index ecaa8d77e9b..b664d1675a1 100644
--- a/storage/tokudb/ft-index/ft/leafentry.h
+++ b/storage/tokudb/ft-index/ft/leafentry.h
@@ -247,12 +247,11 @@ toku_le_apply_msg(FT_MSG msg,
LEAFENTRY old_leafentry, // NULL if there was no stored data.
bn_data* data_buffer, // bn_data storing leafentry, if NULL, means there is no bn_data
uint32_t idx, // index in data_buffer where leafentry is stored (and should be replaced
- TXNID oldest_referenced_xid,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
LEAFENTRY *new_leafentry_p,
int64_t * numbytes_delta_p);
-bool toku_le_worth_running_garbage_collection(LEAFENTRY le, TXNID oldest_referenced_xid_known);
+bool toku_le_worth_running_garbage_collection(LEAFENTRY le, txn_gc_info *gc_info);
void
toku_le_garbage_collect(LEAFENTRY old_leaf_entry,
@@ -260,11 +259,8 @@ toku_le_garbage_collect(LEAFENTRY old_leaf_entry,
uint32_t idx,
void* keyp,
uint32_t keylen,
+ txn_gc_info *gc_info,
LEAFENTRY *new_leaf_entry,
- const xid_omt_t &snapshot_xids,
- const rx_omt_t &referenced_xids,
- const xid_omt_t &live_root_txns,
- TXNID oldest_referenced_xid_known,
int64_t * numbytes_delta_p);
#endif /* TOKU_LEAFENTRY_H */
diff --git a/storage/tokudb/ft-index/ft/log-internal.h b/storage/tokudb/ft-index/ft/log-internal.h
index e9af043737b..de2abe801dc 100644
--- a/storage/tokudb/ft-index/ft/log-internal.h
+++ b/storage/tokudb/ft-index/ft/log-internal.h
@@ -177,6 +177,7 @@ struct tokulogger {
uint64_t num_writes_to_disk; // how many times did we write to disk?
uint64_t bytes_written_to_disk; // how many bytes have been written to disk?
tokutime_t time_spent_writing_to_disk; // how much tokutime did we spend writing to disk?
+ uint64_t num_wait_buf_long; // how many times we waited >= 100ms for the in buf
void (*remove_finalize_callback) (DICTIONARY_ID, void*); // ydb-level callback to be called when a transaction that ...
void * remove_finalize_callback_extra; // ... deletes a file is committed or when one that creates a file is aborted.
@@ -209,15 +210,12 @@ struct txn_roll_info {
// the spilled rollback head is the block number of the first rollback node
// that makes up the rollback log chain
BLOCKNUM spilled_rollback_head;
- uint32_t spilled_rollback_head_hash;
// the spilled rollback is the block number of the last rollback node that
// makes up the rollback log chain.
BLOCKNUM spilled_rollback_tail;
- uint32_t spilled_rollback_tail_hash;
// the current rollback node block number we may use. if this is ROLLBACK_NONE,
// then we need to create one and set it here before using it.
BLOCKNUM current_rollback;
- uint32_t current_rollback_hash;
};
struct tokutxn {
@@ -249,7 +247,6 @@ struct tokutxn {
DB_TXN *container_db_txn; // reference to DB_TXN that contains this tokutxn
xid_omt_t *live_root_txn_list; // the root txns live when the root ancestor (self if a root) started.
XIDS xids; // Represents the xid list
- TXNID oldest_referenced_xid;
TOKUTXN snapshot_next;
TOKUTXN snapshot_prev;
diff --git a/storage/tokudb/ft-index/ft/logformat.cc b/storage/tokudb/ft-index/ft/logformat.cc
index fcc159cd4ee..aceedec4c5e 100644
--- a/storage/tokudb/ft-index/ft/logformat.cc
+++ b/storage/tokudb/ft-index/ft/logformat.cc
@@ -155,9 +155,7 @@ const struct logtype rollbacks[] = {
{"rollinclude", 'r', FA{{"TXNID_PAIR", "xid", 0},
{"uint64_t", "num_nodes", 0},
{"BLOCKNUM", "spilled_head", 0},
- {"uint32_t", "spilled_head_hash", 0},
{"BLOCKNUM", "spilled_tail", 0},
- {"uint32_t", "spilled_tail_hash", 0},
NULLFIELD}, LOG_BEGIN_ACTION_NA},
{"load", 'l', FA{{"FILENUM", "old_filenum", 0},
{"BYTESTRING", "new_iname", 0},
diff --git a/storage/tokudb/ft-index/ft/logger.cc b/storage/tokudb/ft-index/ft/logger.cc
index b4a60aad40d..9b4138b247d 100644
--- a/storage/tokudb/ft-index/ft/logger.cc
+++ b/storage/tokudb/ft-index/ft/logger.cc
@@ -422,9 +422,13 @@ wait_till_output_available (TOKULOGGER logger)
// Exit: Holds the output_condition_lock and logger->output_is_available
//
{
+ tokutime_t t0 = toku_time_now();
while (!logger->output_is_available) {
toku_cond_wait(&logger->output_condition, &logger->output_condition_lock);
}
+ if (tokutime_to_seconds(toku_time_now() - t0) >= 0.100) {
+ logger->num_wait_buf_long++;
+ }
}
static void
@@ -1397,6 +1401,7 @@ status_init(void) {
STATUS_INIT(LOGGER_BYTES_WRITTEN, LOGGER_WRITES_BYTES, UINT64, "writes (bytes)", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
STATUS_INIT(LOGGER_UNCOMPRESSED_BYTES_WRITTEN, LOGGER_WRITES_UNCOMPRESSED_BYTES, UINT64, "writes (uncompressed bytes)", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
STATUS_INIT(LOGGER_TOKUTIME_WRITES, LOGGER_WRITES_SECONDS, TOKUTIME, "writes (seconds)", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
+ STATUS_INIT(LOGGER_WAIT_BUF_LONG, LOGGER_WAIT_LONG, UINT64, "count", TOKU_ENGINE_STATUS|TOKU_GLOBAL_STATUS);
logger_status.initialized = true;
}
#undef STATUS_INIT
@@ -1414,6 +1419,7 @@ toku_logger_get_status(TOKULOGGER logger, LOGGER_STATUS statp) {
// No compression on logfiles so the uncompressed size is just number of bytes written
STATUS_VALUE(LOGGER_UNCOMPRESSED_BYTES_WRITTEN) = logger->bytes_written_to_disk;
STATUS_VALUE(LOGGER_TOKUTIME_WRITES) = logger->time_spent_writing_to_disk;
+ STATUS_VALUE(LOGGER_WAIT_BUF_LONG) = logger->num_wait_buf_long;
}
*statp = logger_status;
}
diff --git a/storage/tokudb/ft-index/ft/logger.h b/storage/tokudb/ft-index/ft/logger.h
index 008637600ae..6488ec0707d 100644
--- a/storage/tokudb/ft-index/ft/logger.h
+++ b/storage/tokudb/ft-index/ft/logger.h
@@ -244,6 +244,7 @@ typedef enum {
LOGGER_BYTES_WRITTEN,
LOGGER_UNCOMPRESSED_BYTES_WRITTEN,
LOGGER_TOKUTIME_WRITES,
+ LOGGER_WAIT_BUF_LONG,
LOGGER_STATUS_NUM_ROWS
} logger_status_entry;
diff --git a/storage/tokudb/ft-index/ft/roll.cc b/storage/tokudb/ft-index/ft/roll.cc
index 88933f28b39..78fac7df875 100644
--- a/storage/tokudb/ft-index/ft/roll.cc
+++ b/storage/tokudb/ft-index/ft/roll.cc
@@ -96,6 +96,7 @@ PATENT RIGHTS GRANT:
#include "ft.h"
#include "ft-ops.h"
#include "log-internal.h"
+//#include "txn_manager.h"
#include "xids.h"
#include "rollback-apply.h"
@@ -115,6 +116,10 @@ PATENT RIGHTS GRANT:
// for each FT_DELETE_ANY message sent earlier by the transaction?
#define TOKU_DO_COMMIT_CMD_DELETE 1
+// When a transaction is committed, should we send a FT_COMMIT message
+// for each FT_UPDATE message sent earlier by the transaction?
+#define TOKU_DO_COMMIT_CMD_UPDATE 0
+
int
toku_commit_fdelete (FILENUM filenum,
TOKUTXN txn,
@@ -261,7 +266,16 @@ static int do_insertion (enum ft_msg_type type, FILENUM filenum, BYTESTRING key,
? toku_fill_dbt(&data_dbt, data->data, data->len)
: toku_init_dbt(&data_dbt) } } };
- toku_ft_root_put_cmd(h, &ftcmd, txn->oldest_referenced_xid, make_gc_info(!txn->for_recovery));
+ TXN_MANAGER txn_manager = toku_logger_get_txn_manager(txn->logger);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_txn_manager_get_oldest_referenced_xid_estimate(txn_manager);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ // no messages above us, we can implicitly promote uxrs based on this xid
+ oldest_referenced_xid_estimate,
+ !txn->for_recovery);
+ toku_ft_root_put_cmd(h, &ftcmd, &gc_info);
if (reset_root_xid_that_created) {
TXNID new_root_xid_that_created = xids_get_outermost_xid(xids);
toku_reset_root_xid_that_created(h, new_root_xid_that_created);
@@ -296,11 +310,15 @@ toku_rollback_cmdinsert (FILENUM filenum,
int
toku_commit_cmdupdate(FILENUM filenum,
- BYTESTRING key,
+ BYTESTRING UU(key),
TOKUTXN txn,
- LSN oplsn)
+ LSN UU(oplsn))
{
+#if TOKU_DO_COMMIT_CMD_UPDATE
return do_insertion(FT_COMMIT_ANY, filenum, key, 0, txn, oplsn, false);
+#else
+ return do_nothing_with_filenum(txn, filenum);
+#endif
}
int
@@ -365,9 +383,7 @@ static int
toku_apply_rollinclude (TXNID_PAIR xid,
uint64_t num_nodes,
BLOCKNUM spilled_head,
- uint32_t spilled_head_hash __attribute__((__unused__)),
BLOCKNUM spilled_tail,
- uint32_t spilled_tail_hash,
TOKUTXN txn,
LSN oplsn,
apply_rollback_item func) {
@@ -375,7 +391,6 @@ toku_apply_rollinclude (TXNID_PAIR xid,
struct roll_entry *item;
BLOCKNUM next_log = spilled_tail;
- uint32_t next_log_hash = spilled_tail_hash;
uint64_t last_sequence = num_nodes;
bool found_head = false;
@@ -383,7 +398,7 @@ toku_apply_rollinclude (TXNID_PAIR xid,
while (next_log.b != ROLLBACK_NONE.b) {
//pin log
ROLLBACK_LOG_NODE log;
- toku_get_and_pin_rollback_log(txn, next_log, next_log_hash, &log);
+ toku_get_and_pin_rollback_log(txn, next_log, &log);
toku_rollback_verify_contents(log, xid, last_sequence - 1);
last_sequence = log->sequence;
@@ -400,16 +415,13 @@ toku_apply_rollinclude (TXNID_PAIR xid,
assert(log->sequence == 0);
}
next_log = log->previous;
- next_log_hash = log->previous_hash;
{
//Clean up transaction structure to prevent
//toku_txn_close from double-freeing
spilled_tail = next_log;
- spilled_tail_hash = next_log_hash;
if (found_head) {
assert(next_log.b == ROLLBACK_NONE.b);
spilled_head = next_log;
- spilled_head_hash = next_log_hash;
}
}
toku_rollback_log_unpin_and_remove(txn, log);
@@ -421,15 +433,13 @@ int
toku_commit_rollinclude (TXNID_PAIR xid,
uint64_t num_nodes,
BLOCKNUM spilled_head,
- uint32_t spilled_head_hash,
BLOCKNUM spilled_tail,
- uint32_t spilled_tail_hash,
TOKUTXN txn,
LSN oplsn) {
int r;
r = toku_apply_rollinclude(xid, num_nodes,
- spilled_head, spilled_head_hash,
- spilled_tail, spilled_tail_hash,
+ spilled_head,
+ spilled_tail,
txn, oplsn,
toku_commit_rollback_item);
return r;
@@ -439,15 +449,13 @@ int
toku_rollback_rollinclude (TXNID_PAIR xid,
uint64_t num_nodes,
BLOCKNUM spilled_head,
- uint32_t spilled_head_hash,
BLOCKNUM spilled_tail,
- uint32_t spilled_tail_hash,
TOKUTXN txn,
LSN oplsn) {
int r;
r = toku_apply_rollinclude(xid, num_nodes,
- spilled_head, spilled_head_hash,
- spilled_tail, spilled_tail_hash,
+ spilled_head,
+ spilled_tail,
txn, oplsn,
toku_abort_rollback_item);
return r;
diff --git a/storage/tokudb/ft-index/ft/rollback-apply.cc b/storage/tokudb/ft-index/ft/rollback-apply.cc
index 4e5b2b2b27e..4f062f4e734 100644
--- a/storage/tokudb/ft-index/ft/rollback-apply.cc
+++ b/storage/tokudb/ft-index/ft/rollback-apply.cc
@@ -143,17 +143,14 @@ apply_txn(TOKUTXN txn, LSN lsn, apply_rollback_item func) {
//printf("%s:%d abort\n", __FILE__, __LINE__);
BLOCKNUM next_log = ROLLBACK_NONE;
- uint32_t next_log_hash = 0;
bool is_current = false;
if (txn_has_current_rollback_log(txn)) {
next_log = txn->roll_info.current_rollback;
- next_log_hash = txn->roll_info.current_rollback_hash;
is_current = true;
}
else if (txn_has_spilled_rollback_logs(txn)) {
next_log = txn->roll_info.spilled_rollback_tail;
- next_log_hash = txn->roll_info.spilled_rollback_tail_hash;
}
uint64_t last_sequence = txn->roll_info.num_rollback_nodes;
@@ -161,7 +158,7 @@ apply_txn(TOKUTXN txn, LSN lsn, apply_rollback_item func) {
while (next_log.b != ROLLBACK_NONE.b) {
ROLLBACK_LOG_NODE log;
//pin log
- toku_get_and_pin_rollback_log(txn, next_log, next_log_hash, &log);
+ toku_get_and_pin_rollback_log(txn, next_log, &log);
toku_rollback_verify_contents(log, txn->txnid, last_sequence - 1);
toku_maybe_prefetch_previous_rollback_log(txn, log);
@@ -180,23 +177,19 @@ apply_txn(TOKUTXN txn, LSN lsn, apply_rollback_item func) {
assert(log->sequence == 0);
}
next_log = log->previous;
- next_log_hash = log->previous_hash;
{
//Clean up transaction structure to prevent
//toku_txn_close from double-freeing
if (is_current) {
txn->roll_info.current_rollback = ROLLBACK_NONE;
- txn->roll_info.current_rollback_hash = 0;
is_current = false;
}
else {
txn->roll_info.spilled_rollback_tail = next_log;
- txn->roll_info.spilled_rollback_tail_hash = next_log_hash;
}
if (found_head) {
assert(next_log.b == ROLLBACK_NONE.b);
txn->roll_info.spilled_rollback_head = next_log;
- txn->roll_info.spilled_rollback_head_hash = next_log_hash;
}
}
bool give_back = false;
@@ -228,13 +221,11 @@ int toku_rollback_commit(TOKUTXN txn, LSN lsn) {
num_nodes--; //Don't count the in-progress rollback log.
}
toku_logger_save_rollback_rollinclude(txn->parent, txn->txnid, num_nodes,
- txn->roll_info.spilled_rollback_head, txn->roll_info.spilled_rollback_head_hash,
- txn->roll_info.spilled_rollback_tail, txn->roll_info.spilled_rollback_tail_hash);
+ txn->roll_info.spilled_rollback_head,
+ txn->roll_info.spilled_rollback_tail);
//Remove ownership from child.
txn->roll_info.spilled_rollback_head = ROLLBACK_NONE;
- txn->roll_info.spilled_rollback_head_hash = 0;
txn->roll_info.spilled_rollback_tail = ROLLBACK_NONE;
- txn->roll_info.spilled_rollback_tail_hash = 0;
}
// if we're commiting a child rollback, put its entries into the parent
// by pinning both child and parent and then linking the child log entry
@@ -247,8 +238,7 @@ int toku_rollback_commit(TOKUTXN txn, LSN lsn) {
//Pin child log
ROLLBACK_LOG_NODE child_log;
- toku_get_and_pin_rollback_log(txn, txn->roll_info.current_rollback,
- txn->roll_info.current_rollback_hash, &child_log);
+ toku_get_and_pin_rollback_log(txn, txn->roll_info.current_rollback, &child_log);
toku_rollback_verify_contents(child_log, txn->txnid, txn->roll_info.num_rollback_nodes - 1);
// Append the list to the front of the parent.
@@ -284,7 +274,6 @@ int toku_rollback_commit(TOKUTXN txn, LSN lsn) {
toku_rollback_log_unpin_and_remove(txn, child_log);
}
txn->roll_info.current_rollback = ROLLBACK_NONE;
- txn->roll_info.current_rollback_hash = 0;
toku_maybe_spill_rollbacks(txn->parent, parent_log);
toku_rollback_log_unpin(txn->parent, parent_log);
diff --git a/storage/tokudb/ft-index/ft/rollback-ct-callbacks.cc b/storage/tokudb/ft-index/ft/rollback-ct-callbacks.cc
index c1ca79be7a4..bea70a5155e 100644
--- a/storage/tokudb/ft-index/ft/rollback-ct-callbacks.cc
+++ b/storage/tokudb/ft-index/ft/rollback-ct-callbacks.cc
@@ -219,13 +219,13 @@ void toku_rollback_flush_callback (
}
}
-int toku_rollback_fetch_callback (CACHEFILE cachefile, PAIR p, int fd, BLOCKNUM logname, uint32_t fullhash,
+int toku_rollback_fetch_callback (CACHEFILE cachefile, PAIR p, int fd, BLOCKNUM logname, uint32_t fullhash UU(),
void **rollback_pv, void** UU(disk_data), PAIR_ATTR *sizep, int * UU(dirtyp), void *extraargs) {
int r;
FT CAST_FROM_VOIDP(h, extraargs);
assert(h->cf == cachefile);
ROLLBACK_LOG_NODE *result = (ROLLBACK_LOG_NODE*)rollback_pv;
- r = toku_deserialize_rollback_log_from(fd, logname, fullhash, result, h);
+ r = toku_deserialize_rollback_log_from(fd, logname, result, h);
if (r==0) {
(*result)->ct_pair = p;
*sizep = rollback_memory_size(*result);
@@ -249,13 +249,14 @@ void toku_rollback_pe_est_callback(
// callback for partially evicting a cachetable entry
int toku_rollback_pe_callback (
void *rollback_v,
- PAIR_ATTR UU(old_attr),
- PAIR_ATTR* new_attr,
- void* UU(extraargs)
+ PAIR_ATTR old_attr,
+ void* UU(extraargs),
+ void (*finalize)(PAIR_ATTR new_attr, void * extra),
+ void *finalize_extra
)
{
assert(rollback_v != NULL);
- *new_attr = old_attr;
+ finalize(old_attr, finalize_extra);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/rollback-ct-callbacks.h b/storage/tokudb/ft-index/ft/rollback-ct-callbacks.h
index e3469404a9a..aeb4650e17d 100644
--- a/storage/tokudb/ft-index/ft/rollback-ct-callbacks.h
+++ b/storage/tokudb/ft-index/ft/rollback-ct-callbacks.h
@@ -107,10 +107,11 @@ void toku_rollback_pe_est_callback(
);
int toku_rollback_pe_callback (
void *rollback_v,
- PAIR_ATTR UU(old_attr),
- PAIR_ATTR* new_attr,
- void* UU(extraargs)
- ) ;
+ PAIR_ATTR old_attr,
+ void* UU(extraargs),
+ void (*finalize)(PAIR_ATTR new_attr, void * extra),
+ void *finalize_extra
+ );
bool toku_rollback_pf_req_callback(void* UU(ftnode_pv), void* UU(read_extraargs)) ;
int toku_rollback_pf_callback(void* UU(ftnode_pv), void* UU(disk_data), void* UU(read_extraargs), int UU(fd), PAIR_ATTR* UU(sizep));
void toku_rollback_clone_callback(void* value_data, void** cloned_value_data, long* clone_size, PAIR_ATTR* new_attr, bool for_checkpoint, void* write_extraargs);
diff --git a/storage/tokudb/ft-index/ft/rollback.cc b/storage/tokudb/ft-index/ft/rollback.cc
index 87654ec5207..3b57049a33e 100644
--- a/storage/tokudb/ft-index/ft/rollback.cc
+++ b/storage/tokudb/ft-index/ft/rollback.cc
@@ -158,7 +158,7 @@ static void toku_rollback_node_save_ct_pair(CACHEKEY UU(key), void *value_data,
//
// initializes an empty rollback log node
-// Does not touch the blocknum or hash, that is the
+// Does not touch the blocknum, that is the
// responsibility of the caller
//
void rollback_empty_log_init(ROLLBACK_LOG_NODE log) {
@@ -173,7 +173,6 @@ void rollback_empty_log_init(ROLLBACK_LOG_NODE log) {
log->dirty = true;
log->sequence = 0;
log->previous = make_blocknum(0);
- log->previous_hash = 0;
log->oldest_logentry = NULL;
log->newest_logentry = NULL;
log->rollentry_arena = NULL;
@@ -185,14 +184,12 @@ void rollback_empty_log_init(ROLLBACK_LOG_NODE log) {
static void rollback_initialize_for_txn(
ROLLBACK_LOG_NODE log,
TOKUTXN txn,
- BLOCKNUM previous,
- uint32_t previous_hash
+ BLOCKNUM previous
)
{
log->txnid = txn->txnid;
log->sequence = txn->roll_info.num_rollback_nodes++;
log->previous = previous;
- log->previous_hash = previous_hash;
log->oldest_logentry = NULL;
log->newest_logentry = NULL;
log->rollentry_arena = memarena_create();
@@ -206,12 +203,11 @@ void make_rollback_log_empty(ROLLBACK_LOG_NODE log) {
}
// create and pin a new rollback log node. chain it to the other rollback nodes
-// by providing a previous blocknum/ hash and assigning the new rollback log
+// by providing a previous blocknum and assigning the new rollback log
// node the next sequence number
static void rollback_log_create (
TOKUTXN txn,
BLOCKNUM previous,
- uint32_t previous_hash,
ROLLBACK_LOG_NODE *result
)
{
@@ -220,16 +216,15 @@ static void rollback_log_create (
CACHEFILE cf = txn->logger->rollback_cachefile;
FT CAST_FROM_VOIDP(ft, toku_cachefile_get_userdata(cf));
- rollback_initialize_for_txn(log, txn, previous, previous_hash);
+ rollback_initialize_for_txn(log, txn, previous);
toku_allocate_blocknum(ft->blocktable, &log->blocknum, ft);
- log->hash = toku_cachetable_hash(ft->cf, log->blocknum);
+ const uint32_t hash = toku_cachetable_hash(ft->cf, log->blocknum);
*result = log;
- toku_cachetable_put(cf, log->blocknum, log->hash,
+ toku_cachetable_put(cf, log->blocknum, hash,
log, rollback_memory_size(log),
get_write_callbacks_for_rollback_log(ft),
toku_rollback_node_save_ct_pair);
txn->roll_info.current_rollback = log->blocknum;
- txn->roll_info.current_rollback_hash = log->hash;
}
void toku_rollback_log_unpin(TOKUTXN txn, ROLLBACK_LOG_NODE log) {
@@ -255,14 +250,11 @@ void toku_maybe_spill_rollbacks(TOKUTXN txn, ROLLBACK_LOG_NODE log) {
if (!txn_has_spilled_rollback_logs(txn)) {
//First spilled. Copy to head.
txn->roll_info.spilled_rollback_head = txn->roll_info.current_rollback;
- txn->roll_info.spilled_rollback_head_hash = txn->roll_info.current_rollback_hash;
}
//Unconditionally copy to tail. Old tail does not need to be cached anymore.
txn->roll_info.spilled_rollback_tail = txn->roll_info.current_rollback;
- txn->roll_info.spilled_rollback_tail_hash = txn->roll_info.current_rollback_hash;
txn->roll_info.current_rollback = ROLLBACK_NONE;
- txn->roll_info.current_rollback_hash = 0;
}
}
@@ -311,8 +303,8 @@ void toku_maybe_prefetch_previous_rollback_log(TOKUTXN txn, ROLLBACK_LOG_NODE lo
BLOCKNUM name = log->previous;
int r = 0;
if (name.b != ROLLBACK_NONE.b) {
- uint32_t hash = log->previous_hash;
CACHEFILE cf = txn->logger->rollback_cachefile;
+ uint32_t hash = toku_cachetable_hash(cf, name);
FT CAST_FROM_VOIDP(h, toku_cachefile_get_userdata(cf));
bool doing_prefetch = false;
r = toku_cachefile_prefetch(cf, name, hash,
@@ -334,10 +326,11 @@ void toku_rollback_verify_contents(ROLLBACK_LOG_NODE log,
assert(log->sequence == sequence);
}
-void toku_get_and_pin_rollback_log(TOKUTXN txn, BLOCKNUM blocknum, uint32_t hash, ROLLBACK_LOG_NODE *log) {
+void toku_get_and_pin_rollback_log(TOKUTXN txn, BLOCKNUM blocknum, ROLLBACK_LOG_NODE *log) {
void * value;
CACHEFILE cf = txn->logger->rollback_cachefile;
FT CAST_FROM_VOIDP(h, toku_cachefile_get_userdata(cf));
+ uint32_t hash = toku_cachetable_hash(cf, blocknum);
int r = toku_cachetable_get_and_pin_with_dep_pairs(cf, blocknum, hash,
&value, NULL,
get_write_callbacks_for_rollback_log(h),
@@ -351,7 +344,6 @@ void toku_get_and_pin_rollback_log(TOKUTXN txn, BLOCKNUM blocknum, uint32_t hash
assert(r == 0);
ROLLBACK_LOG_NODE CAST_FROM_VOIDP(pinned_log, value);
assert(pinned_log->blocknum.b == blocknum.b);
- assert(pinned_log->hash == hash);
*log = pinned_log;
}
@@ -359,7 +351,7 @@ void toku_get_and_pin_rollback_log_for_new_entry (TOKUTXN txn, ROLLBACK_LOG_NODE
ROLLBACK_LOG_NODE pinned_log = NULL;
invariant(txn->state == TOKUTXN_LIVE || txn->state == TOKUTXN_PREPARING); // hot indexing may call this function for prepared transactions
if (txn_has_current_rollback_log(txn)) {
- toku_get_and_pin_rollback_log(txn, txn->roll_info.current_rollback, txn->roll_info.current_rollback_hash, &pinned_log);
+ toku_get_and_pin_rollback_log(txn, txn->roll_info.current_rollback, &pinned_log);
toku_rollback_verify_contents(pinned_log, txn->txnid, txn->roll_info.num_rollback_nodes - 1);
} else {
// For each transaction, we try to acquire the first rollback log
@@ -378,15 +370,13 @@ void toku_get_and_pin_rollback_log_for_new_entry (TOKUTXN txn, ROLLBACK_LOG_NODE
rollback_initialize_for_txn(
pinned_log,
txn,
- txn->roll_info.spilled_rollback_tail,
- txn->roll_info.spilled_rollback_tail_hash
+ txn->roll_info.spilled_rollback_tail
);
txn->roll_info.current_rollback = pinned_log->blocknum;
- txn->roll_info.current_rollback_hash = pinned_log->hash;
}
}
if (pinned_log == NULL) {
- rollback_log_create(txn, txn->roll_info.spilled_rollback_tail, txn->roll_info.spilled_rollback_tail_hash, &pinned_log);
+ rollback_log_create(txn, txn->roll_info.spilled_rollback_tail, &pinned_log);
}
}
assert(pinned_log->txnid.parent_id64 == txn->txnid.parent_id64);
diff --git a/storage/tokudb/ft-index/ft/rollback.h b/storage/tokudb/ft-index/ft/rollback.h
index a1c8b575290..2e9493b0e6b 100644
--- a/storage/tokudb/ft-index/ft/rollback.h
+++ b/storage/tokudb/ft-index/ft/rollback.h
@@ -103,8 +103,8 @@ void toku_poll_txn_progress_function(TOKUTXN txn, uint8_t is_commit, uint8_t sta
// is a current rollback node to use, pin it, otherwise create one.
void toku_get_and_pin_rollback_log_for_new_entry(TOKUTXN txn, ROLLBACK_LOG_NODE *log);
-// get a specific rollback by blocknum and hash
-void toku_get_and_pin_rollback_log(TOKUTXN txn, BLOCKNUM blocknum, uint32_t hash, ROLLBACK_LOG_NODE *log);
+// get a specific rollback by blocknum
+void toku_get_and_pin_rollback_log(TOKUTXN txn, BLOCKNUM blocknum, ROLLBACK_LOG_NODE *log);
// unpin a rollback node from the cachetable
void toku_rollback_log_unpin(TOKUTXN txn, ROLLBACK_LOG_NODE log);
@@ -155,11 +155,9 @@ struct rollback_log_node {
// the sequence is between 0 and totalnodes-1
uint64_t sequence;
BLOCKNUM blocknum; // on which block does this node live?
- uint32_t hash;
// which block number is the previous in the chain of rollback nodes
// that make up this rollback log?
BLOCKNUM previous;
- uint32_t previous_hash;
struct roll_entry *oldest_logentry;
struct roll_entry *newest_logentry;
MEMARENA rollentry_arena;
diff --git a/storage/tokudb/ft-index/ft/rollback_log_node_cache.cc b/storage/tokudb/ft-index/ft/rollback_log_node_cache.cc
index 44cc3a6cf98..b45e4c03bb8 100644
--- a/storage/tokudb/ft-index/ft/rollback_log_node_cache.cc
+++ b/storage/tokudb/ft-index/ft/rollback_log_node_cache.cc
@@ -96,7 +96,6 @@ PATENT RIGHTS GRANT:
void rollback_log_node_cache::init (uint32_t max_num_avail_nodes) {
XMALLOC_N(max_num_avail_nodes, m_avail_blocknums);
- XMALLOC_N(max_num_avail_nodes, m_hashes);
m_max_num_avail = max_num_avail_nodes;
m_first = 0;
m_num_avail = 0;
@@ -110,7 +109,6 @@ void rollback_log_node_cache::init (uint32_t max_num_avail_nodes) {
void rollback_log_node_cache::destroy() {
toku_mutex_destroy(&m_mutex);
toku_free(m_avail_blocknums);
- toku_free(m_hashes);
}
// returns true if rollback log node was successfully added,
@@ -125,7 +123,6 @@ bool rollback_log_node_cache::give_rollback_log_node(TOKUTXN txn, ROLLBACK_LOG_N
index -= m_max_num_avail;
}
m_avail_blocknums[index].b = log->blocknum.b;
- m_hashes[index] = log->hash;
m_num_avail++;
}
toku_mutex_unlock(&m_mutex);
@@ -144,11 +141,9 @@ bool rollback_log_node_cache::give_rollback_log_node(TOKUTXN txn, ROLLBACK_LOG_N
// for getting a rollback log node
void rollback_log_node_cache::get_rollback_log_node(TOKUTXN txn, ROLLBACK_LOG_NODE* log){
BLOCKNUM b = ROLLBACK_NONE;
- uint32_t hash;
toku_mutex_lock(&m_mutex);
if (m_num_avail > 0) {
b.b = m_avail_blocknums[m_first].b;
- hash = m_hashes[m_first];
m_num_avail--;
if (++m_first >= m_max_num_avail) {
m_first = 0;
@@ -156,7 +151,7 @@ void rollback_log_node_cache::get_rollback_log_node(TOKUTXN txn, ROLLBACK_LOG_NO
}
toku_mutex_unlock(&m_mutex);
if (b.b != ROLLBACK_NONE.b) {
- toku_get_and_pin_rollback_log(txn, b, hash, log);
+ toku_get_and_pin_rollback_log(txn, b, log);
invariant(rollback_log_is_unused(*log));
} else {
*log = NULL;
diff --git a/storage/tokudb/ft-index/ft/rollback_log_node_cache.h b/storage/tokudb/ft-index/ft/rollback_log_node_cache.h
index 73578444bfa..0db99faf23b 100644
--- a/storage/tokudb/ft-index/ft/rollback_log_node_cache.h
+++ b/storage/tokudb/ft-index/ft/rollback_log_node_cache.h
@@ -108,7 +108,6 @@ public:
private:
BLOCKNUM* m_avail_blocknums;
- uint32_t* m_hashes;
uint32_t m_first;
uint32_t m_num_avail;
uint32_t m_max_num_avail;
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-5097.cc b/storage/tokudb/ft-index/ft/tests/cachetable-5097.cc
index 4352499875e..7c958dd3049 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-5097.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-5097.cc
@@ -103,15 +103,16 @@ static int
pe_callback (
void *ftnode_pv __attribute__((__unused__)),
PAIR_ATTR bytes_to_free __attribute__((__unused__)),
- PAIR_ATTR* bytes_freed,
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
)
{
- *bytes_freed = make_pair_attr(1);
if (check_pe_callback) {
pe_callback_called = true;
}
usleep(4*1024*1024);
+ finalize(make_pair_attr(1), finalize_extra);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-5978.cc b/storage/tokudb/ft-index/ft/tests/cachetable-5978.cc
index fb8273eef72..c72d67909e1 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-5978.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-5978.cc
@@ -97,7 +97,7 @@ PATENT RIGHTS GRANT:
// #5978 is fixed. Here is what we do. We have four pairs with
// blocknums and fullhashes of 1,2,3,4. The cachetable has only
// two bucket mutexes, so 1 and 3 share a pair mutex, as do 2 and 4.
-// We pin all four with expensive write locks. Then, on backgroud threads,
+// We pin all four with expensive write locks. Then, on backgroud threads,
// we call get_and_pin_nonblocking on 3, where the unlockers unpins 2, and
// we call get_and_pin_nonblocking on 4, where the unlockers unpins 1. Run this
// enough times, and we should see a deadlock before the fix, and no deadlock
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction2.cc b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction2.cc
index 7704a5b3c63..23926241b97 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction2.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction2.cc
@@ -155,15 +155,16 @@ static int
pe_callback (
void *ftnode_pv,
PAIR_ATTR UU(bytes_to_free),
- PAIR_ATTR* bytes_freed,
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
)
{
- *bytes_freed = make_pair_attr(bytes_to_free.size-1);
expected_bytes_to_free--;
int* CAST_FROM_VOIDP(foo, ftnode_pv);
int blah = *foo;
*foo = blah-1;
+ finalize(make_pair_attr(bytes_to_free.size-1), finalize_extra);
return 0;
}
@@ -171,10 +172,12 @@ static int
other_pe_callback (
void *ftnode_pv __attribute__((__unused__)),
PAIR_ATTR bytes_to_free __attribute__((__unused__)),
- PAIR_ATTR* bytes_freed __attribute__((__unused__)),
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
)
{
+ finalize(bytes_to_free, finalize_extra);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction3.cc b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction3.cc
index 99e5c3e5c5e..735bde724d0 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction3.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction3.cc
@@ -169,17 +169,18 @@ static int
pe_callback (
void *ftnode_pv,
PAIR_ATTR UU(bytes_to_free),
- PAIR_ATTR* bytes_freed,
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
)
{
- *bytes_freed = make_pair_attr(bytes_to_free.size-1);
usleep(1*1024*1024);
if (verbose) printf("calling pe_callback\n");
expected_bytes_to_free--;
int* CAST_FROM_VOIDP(foo, ftnode_pv);
int blah = *foo;
*foo = blah-1;
+ finalize(make_pair_attr(bytes_to_free.size-1), finalize_extra);
return 0;
}
@@ -187,11 +188,12 @@ static int
other_pe_callback (
void *ftnode_pv __attribute__((__unused__)),
PAIR_ATTR bytes_to_free __attribute__((__unused__)),
- PAIR_ATTR* bytes_freed __attribute__((__unused__)),
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
)
{
- *bytes_freed = bytes_to_free;
+ finalize(bytes_to_free, finalize_extra);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc
index e5db222964b..9dc1f1a5218 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc
@@ -164,12 +164,13 @@ static int
pe_callback (
void *ftnode_pv __attribute__((__unused__)),
PAIR_ATTR bytes_to_free __attribute__((__unused__)),
- PAIR_ATTR* bytes_freed,
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
)
{
assert(false);
- *bytes_freed = bytes_to_free;
+ finalize(bytes_to_free, finalize_extra);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-eviction-close-test2.cc b/storage/tokudb/ft-index/ft/tests/cachetable-eviction-close-test2.cc
index 1d228bf0d6c..c8004ca1cb1 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-eviction-close-test2.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-eviction-close-test2.cc
@@ -154,12 +154,13 @@ static int
pe_callback (
void *ftnode_pv __attribute__((__unused__)),
PAIR_ATTR bytes_to_free __attribute__((__unused__)),
- PAIR_ATTR* bytes_freed,
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
)
{
- *bytes_freed = make_pair_attr(bytes_to_free.size-7);
sleep(2);
+ finalize(bytes_to_free, finalize_extra);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-eviction-getandpin-test2.cc b/storage/tokudb/ft-index/ft/tests/cachetable-eviction-getandpin-test2.cc
index e91b59fe8f8..d65048f797a 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-eviction-getandpin-test2.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-eviction-getandpin-test2.cc
@@ -110,12 +110,13 @@ static int
pe_callback (
void *ftnode_pv __attribute__((__unused__)),
PAIR_ATTR bytes_to_free __attribute__((__unused__)),
- PAIR_ATTR* bytes_freed,
- void* extraargs __attribute__((__unused__))
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR new_attr, void *extra),
+ void *finalize_extra
)
{
sleep(3);
- *bytes_freed = make_pair_attr(bytes_to_free.size-7);
+ finalize(make_pair_attr(bytes_to_free.size - 7), finalize_extra);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-evictor-class.cc b/storage/tokudb/ft-index/ft/tests/cachetable-evictor-class.cc
index 792fced4cad..d0dff7d9570 100644
--- a/storage/tokudb/ft-index/ft/tests/cachetable-evictor-class.cc
+++ b/storage/tokudb/ft-index/ft/tests/cachetable-evictor-class.cc
@@ -116,7 +116,9 @@ void evictor_unit_test::init() {
ZERO_STRUCT(m_cf_list);
m_pl.init();
m_cf_list.init();
- m_kb = toku_kibbutz_create(1);
+ m_kb = NULL;
+ int r = toku_kibbutz_create(1, &m_kb);
+ assert(r == 0);
}
// destroy class after tests have run
diff --git a/storage/tokudb/ft-index/ft/tests/ft-bfe-query.cc b/storage/tokudb/ft-index/ft/tests/ft-bfe-query.cc
index e5e8dcc8643..4bf02021d23 100644
--- a/storage/tokudb/ft-index/ft/tests/ft-bfe-query.cc
+++ b/storage/tokudb/ft-index/ft/tests/ft-bfe-query.cc
@@ -146,7 +146,7 @@ test_prefetch_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,0) == PT_AVAIL);
assert(BP_STATE(dn,1) == PT_AVAIL);
assert(BP_STATE(dn,2) == PT_AVAIL);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_COMPRESSED);
assert(BP_STATE(dn,1) == PT_COMPRESSED);
assert(BP_STATE(dn,2) == PT_COMPRESSED);
@@ -168,7 +168,7 @@ test_prefetch_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_AVAIL);
assert(BP_STATE(dn,2) == PT_AVAIL);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_COMPRESSED);
assert(BP_STATE(dn,2) == PT_COMPRESSED);
@@ -190,7 +190,7 @@ test_prefetch_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_AVAIL);
assert(BP_STATE(dn,2) == PT_ON_DISK);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_COMPRESSED);
assert(BP_STATE(dn,2) == PT_ON_DISK);
@@ -211,7 +211,7 @@ test_prefetch_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_ON_DISK);
assert(BP_STATE(dn,2) == PT_AVAIL);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_ON_DISK);
assert(BP_STATE(dn,2) == PT_COMPRESSED);
@@ -232,7 +232,7 @@ test_prefetch_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,0) == PT_AVAIL);
assert(BP_STATE(dn,1) == PT_ON_DISK);
assert(BP_STATE(dn,2) == PT_ON_DISK);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_COMPRESSED);
assert(BP_STATE(dn,1) == PT_ON_DISK);
assert(BP_STATE(dn,2) == PT_ON_DISK);
@@ -292,11 +292,11 @@ test_subset_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,1) == PT_ON_DISK);
assert(BP_STATE(dn,2) == PT_AVAIL);
// need to call this twice because we had a subset read before, that touched the clock
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_ON_DISK);
assert(BP_STATE(dn,2) == PT_AVAIL);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_ON_DISK);
assert(BP_STATE(dn,2) == PT_COMPRESSED);
@@ -317,11 +317,11 @@ test_subset_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,1) == PT_AVAIL);
assert(BP_STATE(dn,2) == PT_AVAIL);
// need to call this twice because we had a subset read before, that touched the clock
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_COMPRESSED);
assert(BP_STATE(dn,2) == PT_AVAIL);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_ON_DISK);
assert(BP_STATE(dn,1) == PT_COMPRESSED);
assert(BP_STATE(dn,2) == PT_COMPRESSED);
@@ -341,11 +341,11 @@ test_subset_read(int fd, FT_HANDLE UU(brt), FT brt_h) {
assert(BP_STATE(dn,1) == PT_AVAIL);
assert(BP_STATE(dn,2) == PT_ON_DISK);
// need to call this twice because we had a subset read before, that touched the clock
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_AVAIL);
assert(BP_STATE(dn,1) == PT_COMPRESSED);
assert(BP_STATE(dn,2) == PT_ON_DISK);
- toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(dn,0) == PT_COMPRESSED);
assert(BP_STATE(dn,1) == PT_COMPRESSED);
assert(BP_STATE(dn,2) == PT_ON_DISK);
@@ -420,7 +420,8 @@ test_prefetching(void) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
{ int r_truncate = ftruncate(fd, 0); CKERR(r_truncate); }
diff --git a/storage/tokudb/ft-index/ft/tests/ft-clock-test.cc b/storage/tokudb/ft-index/ft/tests/ft-clock-test.cc
index 606832a5df6..25daccfd120 100644
--- a/storage/tokudb/ft-index/ft/tests/ft-clock-test.cc
+++ b/storage/tokudb/ft-index/ft/tests/ft-clock-test.cc
@@ -154,12 +154,12 @@ test1(int fd, FT brt_h, FTNODE *dn) {
// should sweep and NOT get rid of anything
PAIR_ATTR attr;
memset(&attr,0,sizeof(attr));
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
assert(BP_STATE(*dn,i) == PT_AVAIL);
}
// should sweep and get compress all
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
if (!is_leaf) {
assert(BP_STATE(*dn,i) == PT_COMPRESSED);
@@ -172,12 +172,12 @@ test1(int fd, FT brt_h, FTNODE *dn) {
bool req = toku_ftnode_pf_req_callback(*dn, &bfe_all);
assert(req);
toku_ftnode_pf_callback(*dn, ndd, &bfe_all, fd, &size);
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
assert(BP_STATE(*dn,i) == PT_AVAIL);
}
// should sweep and get compress all
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
if (!is_leaf) {
assert(BP_STATE(*dn,i) == PT_COMPRESSED);
@@ -190,15 +190,15 @@ test1(int fd, FT brt_h, FTNODE *dn) {
req = toku_ftnode_pf_req_callback(*dn, &bfe_all);
assert(req);
toku_ftnode_pf_callback(*dn, ndd, &bfe_all, fd, &size);
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
assert(BP_STATE(*dn,i) == PT_AVAIL);
}
(*dn)->dirty = 1;
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
assert(BP_STATE(*dn,i) == PT_AVAIL);
}
@@ -252,11 +252,11 @@ test2(int fd, FT brt_h, FTNODE *dn) {
assert(!BP_SHOULD_EVICT(*dn, 1));
PAIR_ATTR attr;
memset(&attr,0,sizeof(attr));
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(*dn, 0) == (is_leaf) ? PT_ON_DISK : PT_COMPRESSED);
assert(BP_STATE(*dn, 1) == PT_AVAIL);
assert(BP_SHOULD_EVICT(*dn, 1));
- toku_ftnode_pe_callback(*dn, attr, &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, attr, brt_h, def_pe_finalize_impl, nullptr);
assert(BP_STATE(*dn, 1) == (is_leaf) ? PT_ON_DISK : PT_COMPRESSED);
bool req = toku_ftnode_pf_req_callback(*dn, &bfe_subset);
@@ -355,7 +355,8 @@ test_serialize_nonleaf(void) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
@@ -438,7 +439,8 @@ test_serialize_leaf(void) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
diff --git a/storage/tokudb/ft-index/ft/tests/ft-serialize-benchmark.cc b/storage/tokudb/ft-index/ft/tests/ft-serialize-benchmark.cc
index a5cbc2f684e..42351e3108d 100644
--- a/storage/tokudb/ft-index/ft/tests/ft-serialize-benchmark.cc
+++ b/storage/tokudb/ft-index/ft/tests/ft-serialize-benchmark.cc
@@ -189,7 +189,8 @@ test_serialize_leaf(int valsize, int nelts, double entropy) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
brt_h->compare_fun = long_key_cmp;
@@ -319,7 +320,8 @@ test_serialize_nonleaf(int valsize, int nelts, double entropy) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
brt_h->compare_fun = long_key_cmp;
diff --git a/storage/tokudb/ft-index/ft/tests/ft-serialize-test.cc b/storage/tokudb/ft-index/ft/tests/ft-serialize-test.cc
index 774948ddf95..adfd2b7efd4 100644
--- a/storage/tokudb/ft-index/ft/tests/ft-serialize-test.cc
+++ b/storage/tokudb/ft-index/ft/tests/ft-serialize-test.cc
@@ -187,8 +187,7 @@ setup_dn(enum ftnode_verify_type bft, int fd, FT brt_h, FTNODE *dn, FTNODE_DISK_
// if read_none, get rid of the compressed bp's
if (bft == read_none) {
if ((*dn)->height == 0) {
- PAIR_ATTR attr;
- toku_ftnode_pe_callback(*dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
// assert all bp's are on disk
for (int i = 0; i < (*dn)->n_children; i++) {
if ((*dn)->height == 0) {
@@ -213,14 +212,14 @@ setup_dn(enum ftnode_verify_type bft, int fd, FT brt_h, FTNODE *dn, FTNODE_DISK_
for (int i = 0; i < (*dn)->n_children; i++) {
assert(BP_STATE(*dn,i) == PT_AVAIL);
}
- toku_ftnode_pe_callback(*dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
// assert all bp's are still available, because we touched the clock
assert(BP_STATE(*dn,i) == PT_AVAIL);
// now assert all should be evicted
assert(BP_SHOULD_EVICT(*dn, i));
}
- toku_ftnode_pe_callback(*dn, make_pair_attr(0xffffffff), &attr, brt_h);
+ toku_ftnode_pe_callback(*dn, make_pair_attr(0xffffffff), brt_h, def_pe_finalize_impl, nullptr);
for (int i = 0; i < (*dn)->n_children; i++) {
assert(BP_STATE(*dn,i) == PT_COMPRESSED);
}
@@ -306,7 +305,8 @@ test_serialize_leaf_check_msn(enum ftnode_verify_type bft, bool do_clone) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
{ int r_truncate = ftruncate(fd, 0); CKERR(r_truncate); }
@@ -449,7 +449,8 @@ test_serialize_leaf_with_large_pivots(enum ftnode_verify_type bft, bool do_clone
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
{ int r_truncate = ftruncate(fd, 0); CKERR(r_truncate); }
@@ -586,7 +587,8 @@ test_serialize_leaf_with_many_rows(enum ftnode_verify_type bft, bool do_clone) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
@@ -733,7 +735,8 @@ test_serialize_leaf_with_large_rows(enum ftnode_verify_type bft, bool do_clone)
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
@@ -881,7 +884,8 @@ test_serialize_leaf_with_empty_basement_nodes(enum ftnode_verify_type bft, bool
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
@@ -1009,7 +1013,8 @@ test_serialize_leaf_with_multiple_empty_basement_nodes(enum ftnode_verify_type b
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
@@ -1134,7 +1139,8 @@ test_serialize_nonleaf(enum ftnode_verify_type bft, bool do_clone) {
TXNID_NONE,
4*1024*1024,
128*1024,
- TOKU_DEFAULT_COMPRESSION_METHOD);
+ TOKU_DEFAULT_COMPRESSION_METHOD,
+ 16);
brt->ft = brt_h;
toku_blocktable_create_new(&brt_h->blocktable);
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test-bad-generate.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test-bad-generate.cc
index d7b3504e8ad..98a8efc8393 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test-bad-generate.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test-bad-generate.cc
@@ -170,7 +170,7 @@ static void test_extractor(int nrows, int nrowsets, bool expect_fail) {
}
FTLOADER loader;
- r = toku_ft_loader_open(&loader, NULL, generate, NULL, N, brts, dbs, fnames, compares, "tempXXXXXX", ZERO_LSN, TXNID_NONE, true, 0, false);
+ r = toku_ft_loader_open(&loader, NULL, generate, NULL, N, brts, dbs, fnames, compares, "tempXXXXXX", ZERO_LSN, nullptr, true, 0, false);
assert(r == 0);
struct rowset *rowset[nrowsets];
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor-errors.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor-errors.cc
index b4ff9265c02..93fdd308ce1 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor-errors.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor-errors.cc
@@ -180,7 +180,7 @@ static void test_extractor(int nrows, int nrowsets, bool expect_fail, const char
sprintf(temp, "%s/%s", testdir, "tempXXXXXX");
FTLOADER loader;
- r = toku_ft_loader_open(&loader, NULL, generate, NULL, N, brts, dbs, fnames, compares, "tempXXXXXX", ZERO_LSN, TXNID_NONE, true, 0, false);
+ r = toku_ft_loader_open(&loader, NULL, generate, NULL, N, brts, dbs, fnames, compares, "tempXXXXXX", ZERO_LSN, nullptr, true, 0, false);
assert(r == 0);
struct rowset *rowset[nrowsets];
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor.cc
index 67591c92cd1..ee4e0f99aa1 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test-extractor.cc
@@ -402,7 +402,7 @@ static void test_extractor(int nrows, int nrowsets, const char *testdir) {
sprintf(temp, "%s/%s", testdir, "tempXXXXXX");
FTLOADER loader;
- r = toku_ft_loader_open(&loader, NULL, generate, NULL, N, brts, dbs, fnames, compares, temp, ZERO_LSN, TXNID_NONE, true, 0, false);
+ r = toku_ft_loader_open(&loader, NULL, generate, NULL, N, brts, dbs, fnames, compares, temp, ZERO_LSN, nullptr, true, 0, false);
assert(r == 0);
struct rowset *rowset[nrowsets];
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test-merge-files-dbufio.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test-merge-files-dbufio.cc
index 80326584c35..6f495bfb496 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test-merge-files-dbufio.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test-merge-files-dbufio.cc
@@ -412,7 +412,7 @@ static void test (const char *directory, bool is_error) {
bt_compare_functions,
"tempxxxxxx",
*lsnp,
- TXNID_NONE, true, 0, false);
+ nullptr, true, 0, false);
assert(r==0);
}
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test-open.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test-open.cc
index a2f39e1bfe1..f351185a525 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test-open.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test-open.cc
@@ -143,7 +143,7 @@ static void test_loader_open(int ndbs) {
for (i = 0; ; i++) {
set_my_malloc_trigger(i+1);
- r = toku_ft_loader_open(&loader, NULL, NULL, NULL, ndbs, brts, dbs, fnames, compares, "", ZERO_LSN, TXNID_NONE, true, 0, false);
+ r = toku_ft_loader_open(&loader, NULL, NULL, NULL, ndbs, brts, dbs, fnames, compares, "", ZERO_LSN, nullptr, true, 0, false);
if (r == 0)
break;
}
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test-writer-errors.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test-writer-errors.cc
index 5f0728cc02c..c72b6f847a3 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test-writer-errors.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test-writer-errors.cc
@@ -213,7 +213,7 @@ static int write_dbfile (char *tf_template, int n, char *output_name, bool expec
ft_loader_set_error_function(&bl.error_callback, NULL, NULL);
ft_loader_set_poll_function(&bl.poll_callback, loader_poll_callback, NULL);
- result = toku_loader_write_brt_from_q_in_C(&bl, &desc, fd, 1000, q2, size_est, 0, 0, 0, TOKU_DEFAULT_COMPRESSION_METHOD);
+ result = toku_loader_write_brt_from_q_in_C(&bl, &desc, fd, 1000, q2, size_est, 0, 0, 0, TOKU_DEFAULT_COMPRESSION_METHOD, 16);
toku_set_func_malloc_only(NULL);
toku_set_func_realloc_only(NULL);
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test-writer.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test-writer.cc
index 67bb47a7c5e..53d6bde27a0 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test-writer.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test-writer.cc
@@ -262,7 +262,7 @@ static void test_write_dbfile (char *tf_template, int n, char *output_name, TXNI
assert(fd>=0);
if (verbose) traceit("write to file");
- r = toku_loader_write_brt_from_q_in_C(&bl, &desc, fd, 1000, q2, size_est, 0, 0, 0, TOKU_DEFAULT_COMPRESSION_METHOD);
+ r = toku_loader_write_brt_from_q_in_C(&bl, &desc, fd, 1000, q2, size_est, 0, 0, 0, TOKU_DEFAULT_COMPRESSION_METHOD, 16);
assert(r==0);
r = queue_destroy(q2);
diff --git a/storage/tokudb/ft-index/ft/tests/ftloader-test.cc b/storage/tokudb/ft-index/ft/tests/ftloader-test.cc
index 4b7a3139adb..2fc2d309f64 100644
--- a/storage/tokudb/ft-index/ft/tests/ftloader-test.cc
+++ b/storage/tokudb/ft-index/ft/tests/ftloader-test.cc
@@ -425,7 +425,7 @@ static void test_merge_files (const char *tf_template, const char *output_name)
int fd = open(output_name, O_RDWR | O_CREAT | O_BINARY, S_IRWXU|S_IRWXG|S_IRWXO);
assert(fd>=0);
- r = toku_loader_write_brt_from_q_in_C(&bl, &desc, fd, 1000, q, size_est, 0, 0, 0, TOKU_DEFAULT_COMPRESSION_METHOD);
+ r = toku_loader_write_brt_from_q_in_C(&bl, &desc, fd, 1000, q, size_est, 0, 0, 0, TOKU_DEFAULT_COMPRESSION_METHOD, 16);
assert(r==0);
destroy_merge_fileset(&fs);
diff --git a/storage/tokudb/ft-index/ft/tests/make-tree.cc b/storage/tokudb/ft-index/ft/tests/make-tree.cc
index 9451c7e3448..56df485173d 100644
--- a/storage/tokudb/ft-index/ft/tests/make-tree.cc
+++ b/storage/tokudb/ft-index/ft/tests/make-tree.cc
@@ -124,8 +124,9 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
MSN msn = next_dummymsn();
// apply an insert to the leaf node
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u = {.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode,0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode,0), &cmd, idx, NULL, &gc_info, NULL, NULL);
leafnode->max_msn_applied_to_node_on_disk = msn;
diff --git a/storage/tokudb/ft-index/ft/tests/mempool-115.cc b/storage/tokudb/ft-index/ft/tests/mempool-115.cc
new file mode 100644
index 00000000000..8b5d2d69195
--- /dev/null
+++ b/storage/tokudb/ft-index/ft/tests/mempool-115.cc
@@ -0,0 +1,196 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved."
+
+#include "test.h"
+#include "bndata.h"
+
+static void
+le_add_to_bn(bn_data* bn, uint32_t idx, const char *key, int keysize, const char *val, int valsize)
+{
+ LEAFENTRY r = NULL;
+ uint32_t size_needed = LE_CLEAN_MEMSIZE(valsize);
+ bn->get_space_for_insert(
+ idx,
+ key,
+ keysize,
+ size_needed,
+ &r
+ );
+ resource_assert(r);
+ r->type = LE_CLEAN;
+ r->u.clean.vallen = valsize;
+ memcpy(r->u.clean.val, val, valsize);
+}
+
+static void
+le_overwrite(bn_data* bn, uint32_t idx, const char *key, int keysize, const char *val, int valsize) {
+ LEAFENTRY r = NULL;
+ uint32_t size_needed = LE_CLEAN_MEMSIZE(valsize);
+ bn->get_space_for_overwrite(
+ idx,
+ key,
+ keysize,
+ size_needed, // old_le_size
+ size_needed,
+ &r
+ );
+ resource_assert(r);
+ r->type = LE_CLEAN;
+ r->u.clean.vallen = valsize;
+ memcpy(r->u.clean.val, val, valsize);
+}
+
+
+class bndata_bugfix_test {
+public:
+ void
+ run_test(void) {
+ // struct ft_handle source_ft;
+ struct ftnode sn;
+
+ // just copy this code from a previous test
+ // don't care what it does, just want to get a node up and running
+ sn.flags = 0x11223344;
+ sn.thisnodename.b = 20;
+ sn.layout_version = FT_LAYOUT_VERSION;
+ sn.layout_version_original = FT_LAYOUT_VERSION;
+ sn.height = 0;
+ sn.n_children = 2;
+ sn.dirty = 1;
+ sn.oldest_referenced_xid_known = TXNID_NONE;
+ MALLOC_N(sn.n_children, sn.bp);
+ MALLOC_N(1, sn.childkeys);
+ toku_memdup_dbt(&sn.childkeys[0], "b", 2);
+ sn.totalchildkeylens = 2;
+ BP_STATE(&sn,0) = PT_AVAIL;
+ BP_STATE(&sn,1) = PT_AVAIL;
+ set_BLB(&sn, 0, toku_create_empty_bn());
+ set_BLB(&sn, 1, toku_create_empty_bn());
+ le_add_to_bn(BLB_DATA(&sn, 0), 0, "a", 2, "aval", 5);
+ le_add_to_bn(BLB_DATA(&sn, 0), 1, "b", 2, "bval", 5);
+ le_add_to_bn(BLB_DATA(&sn, 1), 0, "x", 2, "xval", 5);
+
+
+
+ // now this is the test. If I keep getting space for overwrite
+ // like crazy, it should expose the bug
+ bn_data* bnd = BLB_DATA(&sn, 0);
+ size_t old_size = bnd->m_buffer_mempool.size;
+ if (verbose) printf("frag size: %zu\n", bnd->m_buffer_mempool.frag_size);
+ if (verbose) printf("size: %zu\n", bnd->m_buffer_mempool.size);
+ for (uint32_t i = 0; i < 1000000; i++) {
+ le_overwrite(bnd, 0, "a", 2, "aval", 5);
+ }
+ if (verbose) printf("frag size: %zu\n", bnd->m_buffer_mempool.frag_size);
+ if (verbose) printf("size: %zu\n", bnd->m_buffer_mempool.size);
+ size_t new_size = bnd->m_buffer_mempool.size;
+ // just a crude test to make sure we did not grow unbounded.
+ // if this assert ever fails, revisit the code and see what is going
+ // on. It may be that some algorithm has changed.
+ assert(new_size < 5*old_size);
+
+
+ for (int i = 0; i < sn.n_children-1; ++i) {
+ toku_free(sn.childkeys[i].data);
+ }
+ for (int i = 0; i < sn.n_children; i++) {
+ destroy_basement_node(BLB(&sn, i));
+ }
+ toku_free(sn.bp);
+ toku_free(sn.childkeys);
+ }
+};
+
+int
+test_main (int argc __attribute__((__unused__)), const char *argv[] __attribute__((__unused__))) {
+ bndata_bugfix_test t;
+ t.run_test();
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/ft/tests/msnfilter.cc b/storage/tokudb/ft-index/ft/tests/msnfilter.cc
index 0b7bd426208..1c1cba86f1c 100644
--- a/storage/tokudb/ft-index/ft/tests/msnfilter.cc
+++ b/storage/tokudb/ft-index/ft/tests/msnfilter.cc
@@ -132,8 +132,9 @@ append_leaf(FT_HANDLE brt, FTNODE leafnode, void *key, uint32_t keylen, void *va
MSN msn = next_dummymsn();
brt->ft->h->max_msn_in_ft = msn;
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
- toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &cmd, make_gc_info(false), nullptr, nullptr);
+ toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &cmd, &gc_info, nullptr, nullptr);
{
int r = toku_ft_lookup(brt, &thekey, lookup_checkf, &pair);
assert(r==0);
@@ -141,7 +142,7 @@ append_leaf(FT_HANDLE brt, FTNODE leafnode, void *key, uint32_t keylen, void *va
}
FT_MSG_S badcmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &badval }} };
- toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &badcmd, make_gc_info(false), nullptr, nullptr);
+ toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &badcmd, &gc_info, nullptr, nullptr);
// message should be rejected for duplicate msn, row should still have original val
{
@@ -154,7 +155,7 @@ append_leaf(FT_HANDLE brt, FTNODE leafnode, void *key, uint32_t keylen, void *va
msn = next_dummymsn();
brt->ft->h->max_msn_in_ft = msn;
FT_MSG_S cmd2 = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &val2 }} };
- toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &cmd2, make_gc_info(false), nullptr, nullptr);
+ toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &cmd2, &gc_info, nullptr, nullptr);
// message should be accepted, val should have new value
{
@@ -166,7 +167,7 @@ append_leaf(FT_HANDLE brt, FTNODE leafnode, void *key, uint32_t keylen, void *va
// now verify that message with lesser (older) msn is rejected
msn.msn = msn.msn - 10;
FT_MSG_S cmd3 = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &badval } }};
- toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &cmd3, make_gc_info(false), nullptr, nullptr);
+ toku_ft_leaf_apply_cmd(brt->ft->compare_fun, brt->ft->update_fun, &brt->ft->cmp_descriptor, leafnode, -1, &cmd3, &gc_info, nullptr, nullptr);
// message should be rejected, val should still have value in pair2
{
diff --git a/storage/tokudb/ft-index/ft/tests/orthopush-flush.cc b/storage/tokudb/ft-index/ft/tests/orthopush-flush.cc
index c2827ddf29b..cfac10fb921 100644
--- a/storage/tokudb/ft-index/ft/tests/orthopush-flush.cc
+++ b/storage/tokudb/ft-index/ft/tests/orthopush-flush.cc
@@ -96,6 +96,7 @@ PATENT RIGHTS GRANT:
static TOKUTXN const null_txn = 0;
static DB * const null_db = 0;
static const char *fname = TOKU_TEST_FILENAME;
+static txn_gc_info non_mvcc_gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
static int dummy_cmp(DB *db __attribute__((unused)),
const DBT *a, const DBT *b) {
@@ -217,8 +218,8 @@ insert_random_message_to_bn(
*keylenp = keydbt->size;
*keyp = toku_xmemdup(keydbt->data, keydbt->size);
int64_t numbytes;
- toku_le_apply_msg(&msg, NULL, NULL, 0, TXNID_NONE, make_gc_info(false), save, &numbytes);
- toku_ft_bn_apply_cmd(t->ft->compare_fun, t->ft->update_fun, NULL, blb, &msg, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ toku_le_apply_msg(&msg, NULL, NULL, 0, &non_mvcc_gc_info, save, &numbytes);
+ toku_ft_bn_apply_cmd(t->ft->compare_fun, t->ft->update_fun, NULL, blb, &msg, &non_mvcc_gc_info, NULL, NULL);
if (msn.msn > blb->max_msn_applied.msn) {
blb->max_msn_applied = msn;
}
@@ -267,12 +268,12 @@ insert_same_message_to_bns(
*keylenp = keydbt->size;
*keyp = toku_xmemdup(keydbt->data, keydbt->size);
int64_t numbytes;
- toku_le_apply_msg(&msg, NULL, NULL, 0, TXNID_NONE, make_gc_info(false), save, &numbytes);
- toku_ft_bn_apply_cmd(t->ft->compare_fun, t->ft->update_fun, NULL, blb1, &msg, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ toku_le_apply_msg(&msg, NULL, NULL, 0, &non_mvcc_gc_info, save, &numbytes);
+ toku_ft_bn_apply_cmd(t->ft->compare_fun, t->ft->update_fun, NULL, blb1, &msg, &non_mvcc_gc_info, NULL, NULL);
if (msn.msn > blb1->max_msn_applied.msn) {
blb1->max_msn_applied = msn;
}
- toku_ft_bn_apply_cmd(t->ft->compare_fun, t->ft->update_fun, NULL, blb2, &msg, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ toku_ft_bn_apply_cmd(t->ft->compare_fun, t->ft->update_fun, NULL, blb2, &msg, &non_mvcc_gc_info, NULL, NULL);
if (msn.msn > blb2->max_msn_applied.msn) {
blb2->max_msn_applied = msn;
}
@@ -684,7 +685,7 @@ flush_to_leaf(FT_HANDLE t, bool make_leaf_up_to_date, bool use_flush) {
if (make_leaf_up_to_date) {
for (i = 0; i < num_parent_messages; ++i) {
if (!parent_messages_is_fresh[i]) {
- toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child, -1, parent_messages[i], make_gc_info(false), NULL, NULL);
+ toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child, -1, parent_messages[i], &non_mvcc_gc_info, NULL, NULL);
}
}
for (i = 0; i < 8; ++i) {
@@ -908,7 +909,7 @@ flush_to_leaf_with_keyrange(FT_HANDLE t, bool make_leaf_up_to_date) {
for (i = 0; i < num_parent_messages; ++i) {
if (dummy_cmp(NULL, parent_messages[i]->u.id.key, &childkeys[7]) <= 0 &&
!parent_messages_is_fresh[i]) {
- toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child, -1, parent_messages[i], make_gc_info(false), NULL, NULL);
+ toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child, -1, parent_messages[i], &non_mvcc_gc_info, NULL, NULL);
}
}
for (i = 0; i < 8; ++i) {
@@ -1104,8 +1105,8 @@ compare_apply_and_flush(FT_HANDLE t, bool make_leaf_up_to_date) {
if (make_leaf_up_to_date) {
for (i = 0; i < num_parent_messages; ++i) {
if (!parent_messages_is_fresh[i]) {
- toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child1, -1, parent_messages[i], make_gc_info(false), NULL, NULL);
- toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child2, -1, parent_messages[i], make_gc_info(false), NULL, NULL);
+ toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child1, -1, parent_messages[i], &non_mvcc_gc_info, NULL, NULL);
+ toku_ft_leaf_apply_cmd(t->ft->compare_fun, t->ft->update_fun, &t->ft->descriptor, child2, -1, parent_messages[i], &non_mvcc_gc_info, NULL, NULL);
}
}
for (i = 0; i < 8; ++i) {
diff --git a/storage/tokudb/ft-index/ft/tests/test-flushes-on-cleaner.cc b/storage/tokudb/ft-index/ft/tests/test-flushes-on-cleaner.cc
index d0997cca25c..291d409018a 100644
--- a/storage/tokudb/ft-index/ft/tests/test-flushes-on-cleaner.cc
+++ b/storage/tokudb/ft-index/ft/tests/test-flushes-on-cleaner.cc
@@ -260,8 +260,7 @@ doit (bool keep_other_bn_in_memory) {
assert(node->n_children == 2);
// a hack to get the basement nodes evicted
for (int i = 0; i < 20; i++) {
- PAIR_ATTR attr;
- toku_ftnode_pe_callback(node, make_pair_attr(0xffffffff), &attr, brt->ft);
+ toku_ftnode_pe_callback(node, make_pair_attr(0xffffffff), brt->ft, def_pe_finalize_impl, nullptr);
}
// this ensures that when we do the lookups below,
// that the data is read off disk
diff --git a/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc b/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc
index 01b9629c94d..40ed00bcdc2 100644
--- a/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc
+++ b/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc
@@ -205,7 +205,8 @@ doit (void) {
toku_fill_dbt(&left, "g", 2);
DBT right;
toku_fill_dbt(&right, "n", 2);
- r = toku_ft_hot_optimize(t, &left, &right, NULL, NULL);
+ uint64_t loops_run = 0;
+ r = toku_ft_hot_optimize(t, &left, &right, NULL, NULL, &loops_run);
assert(r==0);
// at this point, we have should have flushed
diff --git a/storage/tokudb/ft-index/ft/tests/test-inc-split.cc b/storage/tokudb/ft-index/ft/tests/test-inc-split.cc
index 6d0a6349b5c..cafcb496f7a 100644
--- a/storage/tokudb/ft-index/ft/tests/test-inc-split.cc
+++ b/storage/tokudb/ft-index/ft/tests/test-inc-split.cc
@@ -130,10 +130,10 @@ const char *fname = TOKU_TEST_FILENAME;
static void
doit (int ksize __attribute__((__unused__))) {
- BLOCKNUM cnodes[FT_FANOUT], bnode, anode;
+ BLOCKNUM cnodes[16], bnode, anode;
- char *keys[FT_FANOUT-1];
- int keylens[FT_FANOUT-1];
+ char *keys[16-1];
+ int keylens[16-1];
int i;
int r;
@@ -144,7 +144,7 @@ doit (int ksize __attribute__((__unused__))) {
toku_testsetup_initialize(); // must precede any other toku_testsetup calls
- for (i=0; i<FT_FANOUT; i++) {
+ for (i=0; i<16; i++) {
r=toku_testsetup_leaf(t, &cnodes[i], 1, NULL, NULL);
assert(r==0);
char key[KSIZE+10];
@@ -156,16 +156,16 @@ doit (int ksize __attribute__((__unused__))) {
}
// Now we have a bunch of leaves, all of which are with 100 bytes of full.
- for (i=0; i+1<FT_FANOUT; i++) {
+ for (i=0; i+1<16; i++) {
char key[TOKU_PSIZE];
keylens[i]=1+snprintf(key, TOKU_PSIZE, "%08d", (i+1)*10000);
keys[i]=toku_strdup(key);
}
- r = toku_testsetup_nonleaf(t, 1, &bnode, FT_FANOUT, cnodes, keys, keylens);
+ r = toku_testsetup_nonleaf(t, 1, &bnode, 16, cnodes, keys, keylens);
assert(r==0);
- for (i=0; i+1<FT_FANOUT; i++) {
+ for (i=0; i+1<16; i++) {
toku_free(keys[i]);
}
diff --git a/storage/tokudb/ft-index/ft/tests/test-leafentry-nested.cc b/storage/tokudb/ft-index/ft/tests/test-leafentry-nested.cc
index 2b6a1ee8488..b0a5dfe7817 100644
--- a/storage/tokudb/ft-index/ft/tests/test-leafentry-nested.cc
+++ b/storage/tokudb/ft-index/ft/tests/test-leafentry-nested.cc
@@ -453,12 +453,12 @@ test_le_apply(ULE ule_initial, FT_MSG msg, ULE ule_expected) {
size_t result_memsize = 0;
int64_t ignoreme;
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, true);
toku_le_apply_msg(msg,
le_initial,
nullptr,
0,
- TXNID_NONE,
- make_gc_info(true),
+ &gc_info,
&le_result,
&ignoreme);
if (le_result) {
@@ -751,7 +751,8 @@ static bool ule_worth_running_garbage_collection(ULE ule, TXNID oldest_reference
LEAFENTRY le;
int r = le_pack(ule, nullptr, 0, nullptr, 0, 0, &le); CKERR(r);
invariant_notnull(le);
- bool worth_running = toku_le_worth_running_garbage_collection(le, oldest_referenced_xid_known);
+ txn_gc_info gc_info(nullptr, oldest_referenced_xid_known, oldest_referenced_xid_known, true);
+ bool worth_running = toku_le_worth_running_garbage_collection(le, &gc_info);
toku_free(le);
return worth_running;
}
diff --git a/storage/tokudb/ft-index/ft/tests/test-pick-child-to-flush.cc b/storage/tokudb/ft-index/ft/tests/test-pick-child-to-flush.cc
index a8c36557e00..b8b44e669f5 100644
--- a/storage/tokudb/ft-index/ft/tests/test-pick-child-to-flush.cc
+++ b/storage/tokudb/ft-index/ft/tests/test-pick-child-to-flush.cc
@@ -369,8 +369,7 @@ doit (void) {
assert_zero(r);
toku_pin_node_with_min_bfe(&node, node_internal, t);
for (int i = 0; i < 20; i++) {
- PAIR_ATTR attr;
- toku_ftnode_pe_callback(node, make_pair_attr(0xffffffff), &attr, t->ft);
+ toku_ftnode_pe_callback(node, make_pair_attr(0xffffffff), t->ft, def_pe_finalize_impl, nullptr);
}
assert(BP_STATE(node,0) == PT_COMPRESSED);
toku_unpin_ftnode(t->ft, node);
diff --git a/storage/tokudb/ft-index/ft/tests/test.h b/storage/tokudb/ft-index/ft/tests/test.h
index 4a1bd64354f..ad1fc7c148e 100644
--- a/storage/tokudb/ft-index/ft/tests/test.h
+++ b/storage/tokudb/ft-index/ft/tests/test.h
@@ -239,17 +239,21 @@ def_pe_est_callback(
}
static UU() int
-def_pe_callback (
+def_pe_callback(
void *ftnode_pv __attribute__((__unused__)),
PAIR_ATTR bytes_to_free __attribute__((__unused__)),
- PAIR_ATTR* bytes_freed,
- void* extraargs __attribute__((__unused__))
- )
+ void* extraargs __attribute__((__unused__)),
+ void (*finalize)(PAIR_ATTR bytes_freed, void *extra),
+ void *finalize_extra
+ )
{
- *bytes_freed = bytes_to_free;
+ finalize(bytes_to_free, finalize_extra);
return 0;
}
+static UU() void
+def_pe_finalize_impl(PAIR_ATTR UU(bytes_freed), void *UU(extra)) { }
+
static UU() bool def_pf_req_callback(void* UU(ftnode_pv), void* UU(read_extraargs)) {
return false;
}
diff --git a/storage/tokudb/ft-index/ft/tests/upgrade_test_simple.cc b/storage/tokudb/ft-index/ft/tests/upgrade_test_simple.cc
index 918d48d3c5b..31811527aa2 100644
--- a/storage/tokudb/ft-index/ft/tests/upgrade_test_simple.cc
+++ b/storage/tokudb/ft-index/ft/tests/upgrade_test_simple.cc
@@ -144,7 +144,8 @@ static int
do_hot_optimize(FT_HANDLE t, CACHETABLE UU(ct), void *extra)
{
float *CAST_FROM_VOIDP(fraction, extra);
- int r = toku_ft_hot_optimize(t, NULL, NULL, progress, extra);
+ uint64_t loops_run = 0;
+ int r = toku_ft_hot_optimize(t, NULL, NULL, progress, extra, &loops_run);
if (*fraction < 1.0) {
CKERR2(r, 1);
} else {
diff --git a/storage/tokudb/ft-index/ft/tests/verify-bad-msn.cc b/storage/tokudb/ft-index/ft/tests/verify-bad-msn.cc
index 1b90d8975fa..edb1b6262a3 100644
--- a/storage/tokudb/ft-index/ft/tests/verify-bad-msn.cc
+++ b/storage/tokudb/ft-index/ft/tests/verify-bad-msn.cc
@@ -128,7 +128,8 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
// apply an insert to the leaf node
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, &gc_info, NULL, NULL);
// Create bad tree (don't do following):
// leafnode->max_msn_applied_to_node = msn;
diff --git a/storage/tokudb/ft-index/ft/tests/verify-bad-pivots.cc b/storage/tokudb/ft-index/ft/tests/verify-bad-pivots.cc
index 155cf67ad3e..156fc36666f 100644
--- a/storage/tokudb/ft-index/ft/tests/verify-bad-pivots.cc
+++ b/storage/tokudb/ft-index/ft/tests/verify-bad-pivots.cc
@@ -116,7 +116,8 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
// apply an insert to the leaf node
MSN msn = next_dummymsn();
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, &gc_info, NULL, NULL);
// dont forget to dirty the node
leafnode->dirty = 1;
diff --git a/storage/tokudb/ft-index/ft/tests/verify-dup-in-leaf.cc b/storage/tokudb/ft-index/ft/tests/verify-dup-in-leaf.cc
index c5b69bab74c..0f9f2a1000d 100644
--- a/storage/tokudb/ft-index/ft/tests/verify-dup-in-leaf.cc
+++ b/storage/tokudb/ft-index/ft/tests/verify-dup-in-leaf.cc
@@ -117,7 +117,8 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
// apply an insert to the leaf node
MSN msn = next_dummymsn();
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, &gc_info, NULL, NULL);
// dont forget to dirty the node
leafnode->dirty = 1;
diff --git a/storage/tokudb/ft-index/ft/tests/verify-dup-pivots.cc b/storage/tokudb/ft-index/ft/tests/verify-dup-pivots.cc
index 2a2f4079632..219f1f7da59 100644
--- a/storage/tokudb/ft-index/ft/tests/verify-dup-pivots.cc
+++ b/storage/tokudb/ft-index/ft/tests/verify-dup-pivots.cc
@@ -116,7 +116,8 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
// apply an insert to the leaf node
MSN msn = next_dummymsn();
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, &gc_info, NULL, NULL);
// dont forget to dirty the node
leafnode->dirty = 1;
diff --git a/storage/tokudb/ft-index/ft/tests/verify-misrouted-msgs.cc b/storage/tokudb/ft-index/ft/tests/verify-misrouted-msgs.cc
index a3290028ac4..f68b4d72e53 100644
--- a/storage/tokudb/ft-index/ft/tests/verify-misrouted-msgs.cc
+++ b/storage/tokudb/ft-index/ft/tests/verify-misrouted-msgs.cc
@@ -117,7 +117,8 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
// apply an insert to the leaf node
MSN msn = next_dummymsn();
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode,0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode,0), &cmd, idx, NULL, &gc_info, NULL, NULL);
// dont forget to dirty the node
leafnode->dirty = 1;
diff --git a/storage/tokudb/ft-index/ft/tests/verify-unsorted-leaf.cc b/storage/tokudb/ft-index/ft/tests/verify-unsorted-leaf.cc
index ebcf429ab4f..c1e9f6f5727 100644
--- a/storage/tokudb/ft-index/ft/tests/verify-unsorted-leaf.cc
+++ b/storage/tokudb/ft-index/ft/tests/verify-unsorted-leaf.cc
@@ -119,7 +119,8 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
// apply an insert to the leaf node
MSN msn = next_dummymsn();
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, &gc_info, NULL, NULL);
// dont forget to dirty the node
leafnode->dirty = 1;
diff --git a/storage/tokudb/ft-index/ft/tests/verify-unsorted-pivots.cc b/storage/tokudb/ft-index/ft/tests/verify-unsorted-pivots.cc
index acadb9d8111..c209e679072 100644
--- a/storage/tokudb/ft-index/ft/tests/verify-unsorted-pivots.cc
+++ b/storage/tokudb/ft-index/ft/tests/verify-unsorted-pivots.cc
@@ -116,7 +116,8 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
// apply an insert to the leaf node
MSN msn = next_dummymsn();
FT_MSG_S cmd = { FT_INSERT, msn, xids_get_root_xids(), .u={.id = { &thekey, &theval }} };
- toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, TXNID_NONE, make_gc_info(false), NULL, NULL);
+ txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
+ toku_ft_bn_apply_cmd_once(BLB(leafnode, 0), &cmd, idx, NULL, &gc_info, NULL, NULL);
// dont forget to dirty the node
leafnode->dirty = 1;
diff --git a/storage/tokudb/ft-index/ft/txn.cc b/storage/tokudb/ft-index/ft/txn.cc
index 29fcd28f155..403c8e92c45 100644
--- a/storage/tokudb/ft-index/ft/txn.cc
+++ b/storage/tokudb/ft-index/ft/txn.cc
@@ -239,7 +239,6 @@ toku_txn_begin_with_xid (
}
else {
parent->child_manager->start_child_txn_for_recovery(txn, parent, xid);
- txn->oldest_referenced_xid = parent->oldest_referenced_xid;
}
}
else {
@@ -255,7 +254,6 @@ toku_txn_begin_with_xid (
}
else {
parent->child_manager->start_child_txn(txn, parent);
- txn->oldest_referenced_xid = parent->oldest_referenced_xid;
toku_txn_manager_handle_snapshot_create_for_child_txn(
txn,
logger->txn_manager,
@@ -308,11 +306,8 @@ static void toku_txn_create_txn (
.num_rollentries_processed = 0,
.rollentry_raw_count = 0,
.spilled_rollback_head = ROLLBACK_NONE,
- .spilled_rollback_head_hash = 0,
.spilled_rollback_tail = ROLLBACK_NONE,
- .spilled_rollback_tail_hash = 0,
.current_rollback = ROLLBACK_NONE,
- .current_rollback_hash = 0,
};
static txn_child_manager tcm;
@@ -330,7 +325,6 @@ static txn_child_manager tcm;
.container_db_txn = container_db_txn,
.live_root_txn_list = nullptr,
.xids = NULL,
- .oldest_referenced_xid = TXNID_NONE,
.snapshot_next = NULL,
.snapshot_prev = NULL,
.begin_was_logged = false,
@@ -405,17 +399,9 @@ toku_txn_load_txninfo (TOKUTXN txn, TXNINFO info) {
txn->roll_info.num_rollback_nodes = info->num_rollback_nodes;
txn->roll_info.num_rollentries = info->num_rollentries;
- CACHEFILE rollback_cachefile = txn->logger->rollback_cachefile;
-
txn->roll_info.spilled_rollback_head = info->spilled_rollback_head;
- txn->roll_info.spilled_rollback_head_hash = toku_cachetable_hash(rollback_cachefile,
- txn->roll_info.spilled_rollback_head);
txn->roll_info.spilled_rollback_tail = info->spilled_rollback_tail;
- txn->roll_info.spilled_rollback_tail_hash = toku_cachetable_hash(rollback_cachefile,
- txn->roll_info.spilled_rollback_tail);
txn->roll_info.current_rollback = info->current_rollback;
- txn->roll_info.current_rollback_hash = toku_cachetable_hash(rollback_cachefile,
- txn->roll_info.current_rollback);
return 0;
}
diff --git a/storage/tokudb/ft-index/ft/txn_manager.cc b/storage/tokudb/ft-index/ft/txn_manager.cc
index 53842f87855..a155db493c1 100644
--- a/storage/tokudb/ft-index/ft/txn_manager.cc
+++ b/storage/tokudb/ft-index/ft/txn_manager.cc
@@ -291,6 +291,7 @@ void toku_txn_manager_init(TXN_MANAGER* txn_managerp) {
txn_manager->last_xid = 0;
txn_manager->last_xid_seen_for_recover = TXNID_NONE;
+ txn_manager->last_calculated_oldest_referenced_xid = TXNID_NONE;
*txn_managerp = txn_manager;
}
@@ -324,6 +325,10 @@ toku_txn_manager_get_oldest_living_xid(TXN_MANAGER txn_manager) {
return rval;
}
+TXNID toku_txn_manager_get_oldest_referenced_xid_estimate(TXN_MANAGER txn_manager) {
+ return txn_manager->last_calculated_oldest_referenced_xid;
+}
+
int live_root_txn_list_iter(const TOKUTXN &live_xid, const uint32_t UU(index), TXNID **const referenced_xids);
int live_root_txn_list_iter(const TOKUTXN &live_xid, const uint32_t UU(index), TXNID **const referenced_xids){
(*referenced_xids)[index] = live_xid->txnid.parent_id64;
@@ -371,7 +376,7 @@ max_xid(TXNID a, TXNID b) {
return a < b ? b : a;
}
-static TXNID get_oldest_referenced_xid_unlocked(TXN_MANAGER txn_manager) {
+static void set_oldest_referenced_xid(TXN_MANAGER txn_manager) {
TXNID oldest_referenced_xid = TXNID_MAX;
int r;
if (txn_manager->live_root_ids.size() > 0) {
@@ -397,8 +402,8 @@ static TXNID get_oldest_referenced_xid_unlocked(TXN_MANAGER txn_manager) {
if (txn_manager->last_xid < oldest_referenced_xid) {
oldest_referenced_xid = txn_manager->last_xid;
}
- paranoid_invariant(oldest_referenced_xid != TXNID_MAX);
- return oldest_referenced_xid;
+ invariant(oldest_referenced_xid != TXNID_MAX);
+ txn_manager->last_calculated_oldest_referenced_xid = oldest_referenced_xid;
}
//Heaviside function to find a TOKUTXN by TOKUTXN (used to find the index)
@@ -610,7 +615,6 @@ void toku_txn_manager_start_txn_for_recovery(
// using xid that is passed in
txn_manager->last_xid = max_xid(txn_manager->last_xid, xid);
toku_txn_update_xids_in_txn(txn, xid);
- txn->oldest_referenced_xid = TXNID_NONE;
uint32_t idx;
int r = txn_manager->live_root_txns.find_zero<TOKUTXN, find_xid>(txn, nullptr, &idx);
@@ -672,7 +676,7 @@ void toku_txn_manager_start_txn(
r = txn_manager->live_root_ids.insert_at(txn->txnid.parent_id64, idx);
invariant_zero(r);
}
- txn->oldest_referenced_xid = get_oldest_referenced_xid_unlocked(txn_manager);
+ set_oldest_referenced_xid(txn_manager);
if (needs_snapshot) {
txn_manager_create_snapshot_unlocked(
@@ -825,7 +829,17 @@ void toku_txn_manager_clone_state_for_gc(
txn_manager_unlock(txn_manager);
}
-
+void txn_manager_state::init() {
+ invariant(!initialized);
+ invariant_notnull(txn_manager);
+ toku_txn_manager_clone_state_for_gc(
+ txn_manager,
+ &snapshot_xids,
+ &referenced_xids,
+ &live_root_txns
+ );
+ initialized = true;
+}
void toku_txn_manager_id2txn_unlocked(TXN_MANAGER txn_manager, TXNID_PAIR txnid, TOKUTXN *result) {
TOKUTXN txn;
diff --git a/storage/tokudb/ft-index/ft/txn_manager.h b/storage/tokudb/ft-index/ft/txn_manager.h
index ab9b4f44d5e..12267297a0e 100644
--- a/storage/tokudb/ft-index/ft/txn_manager.h
+++ b/storage/tokudb/ft-index/ft/txn_manager.h
@@ -121,14 +121,74 @@ struct txn_manager {
TXNID last_xid;
TXNID last_xid_seen_for_recover;
+ TXNID last_calculated_oldest_referenced_xid;
};
+struct txn_manager_state {
+ txn_manager_state(TXN_MANAGER mgr) :
+ txn_manager(mgr),
+ initialized(false) {
+ snapshot_xids.create_no_array();
+ referenced_xids.create_no_array();
+ live_root_txns.create_no_array();
+ }
+
+ // should not copy construct
+ txn_manager_state &operator=(txn_manager_state &rhs) = delete;
+ txn_manager_state(txn_manager_state &rhs) = delete;
+
+ ~txn_manager_state() {
+ snapshot_xids.destroy();
+ referenced_xids.destroy();
+ live_root_txns.destroy();
+ }
+
+ void init();
+
+ TXN_MANAGER txn_manager;
+ bool initialized;
+
+ // a snapshot of the txn manager's mvcc state
+ // only valid if initialized = true
+ xid_omt_t snapshot_xids;
+ rx_omt_t referenced_xids;
+ xid_omt_t live_root_txns;
+};
+
+// represents all of the information needed to run garbage collection
+struct txn_gc_info {
+ txn_gc_info(txn_manager_state *st, TXNID xid_sgc, TXNID xid_ip, bool mvcc)
+ : txn_state_for_gc(st),
+ oldest_referenced_xid_for_simple_gc(xid_sgc),
+ oldest_referenced_xid_for_implicit_promotion(xid_ip),
+ mvcc_needed(mvcc) {
+ }
+
+ // a snapshot of the transcation system. may be null.
+ txn_manager_state *txn_state_for_gc;
+
+ // the oldest xid in any live list
+ //
+ // suitible for simple garbage collection that cleans up multiple committed
+ // transaction records into one. not suitible for implicit promotions, which
+ // must be correct in the face of abort messages - see ftnode->oldest_referenced_xid
+ TXNID oldest_referenced_xid_for_simple_gc;
+
+ // lower bound on the oldest xid in any live when the messages to be cleaned
+ // had no messages above them. suitable for implicitly promoting a provisonal uxr.
+ TXNID oldest_referenced_xid_for_implicit_promotion;
+
+ // whether or not mvcc is actually needed - false during recovery and non-transactional systems
+ const bool mvcc_needed;
+};
void toku_txn_manager_init(TXN_MANAGER* txn_manager);
void toku_txn_manager_destroy(TXN_MANAGER txn_manager);
TXNID toku_txn_manager_get_oldest_living_xid(TXN_MANAGER txn_manager);
+TXNID toku_txn_manager_get_oldest_referenced_xid_estimate(TXN_MANAGER txn_manager);
+
void toku_txn_manager_handle_snapshot_create_for_child_txn(
TOKUTXN txn,
TXN_MANAGER txn_manager,
diff --git a/storage/tokudb/ft-index/ft/ule.cc b/storage/tokudb/ft-index/ft/ule.cc
index ab6327f7c03..dc4198bda3d 100644
--- a/storage/tokudb/ft-index/ft/ule.cc
+++ b/storage/tokudb/ft-index/ft/ule.cc
@@ -115,7 +115,8 @@ PATENT RIGHTS GRANT:
#include "txn_manager.h"
#include "ule-internal.h"
#include <util/status.h>
-
+#include <util/scoped_malloc.h>
+#include <util/partitioned_counter.h>
#define ULE_DEBUG 0
@@ -132,26 +133,42 @@ static LE_STATUS_S le_status;
#define STATUS_INIT(k,c,t,l,inc) TOKUDB_STATUS_INIT(le_status, k, c, t, "le: " l, inc)
-static void
-status_init(void) {
+void toku_ule_status_init(void) {
// Note, this function initializes the keyname, type, and legend fields.
// Value fields are initialized to zero by compiler.
STATUS_INIT(LE_MAX_COMMITTED_XR, nullptr, UINT64, "max committed xr", TOKU_ENGINE_STATUS);
STATUS_INIT(LE_MAX_PROVISIONAL_XR, nullptr, UINT64, "max provisional xr", TOKU_ENGINE_STATUS);
STATUS_INIT(LE_EXPANDED, nullptr, UINT64, "expanded", TOKU_ENGINE_STATUS);
STATUS_INIT(LE_MAX_MEMSIZE, nullptr, UINT64, "max memsize", TOKU_ENGINE_STATUS);
+ STATUS_INIT(LE_APPLY_GC_BYTES_IN, nullptr, PARCOUNT, "size of leafentries before garbage collection (during message application)", TOKU_ENGINE_STATUS);
+ STATUS_INIT(LE_APPLY_GC_BYTES_OUT, nullptr, PARCOUNT, "size of leafentries after garbage collection (during message application)", TOKU_ENGINE_STATUS);
+ STATUS_INIT(LE_NORMAL_GC_BYTES_IN, nullptr, PARCOUNT, "size of leafentries before garbage collection (outside message application)", TOKU_ENGINE_STATUS);
+ STATUS_INIT(LE_NORMAL_GC_BYTES_OUT,nullptr, PARCOUNT, "size of leafentries after garbage collection (outside message application)", TOKU_ENGINE_STATUS);
le_status.initialized = true;
}
#undef STATUS_INIT
-void
-toku_le_get_status(LE_STATUS statp) {
- if (!le_status.initialized)
- status_init();
+void toku_ule_status_destroy(void) {
+ for (int i = 0; i < LE_STATUS_NUM_ROWS; ++i) {
+ if (le_status.status[i].type == PARCOUNT) {
+ destroy_partitioned_counter(le_status.status[i].value.parcount);
+ }
+ }
+}
+
+void toku_le_get_status(LE_STATUS statp) {
*statp = le_status;
}
#define STATUS_VALUE(x) le_status.status[x].value.num
+#define STATUS_INC(x, d) \
+ do { \
+ if (le_status.status[x].type == PARCOUNT) { \
+ increment_partitioned_counter(le_status.status[x].value.parcount, d); \
+ } else { \
+ toku_sync_fetch_and_add(&le_status.status[x].value.num, d); \
+ } \
+ } while (0)
///////////////////////////////////////////////////////////////////////////////////
@@ -308,18 +325,18 @@ xid_reads_committed_xid(TXNID tl1, TXNID xc, const xid_omt_t &snapshot_txnids, c
// so we get rid of them.
//
static void
-ule_simple_garbage_collection(ULE ule, TXNID oldest_referenced_xid, GC_INFO gc_info) {
+ule_simple_garbage_collection(ULE ule, txn_gc_info *gc_info) {
uint32_t curr_index = 0;
uint32_t num_entries;
if (ule->num_cuxrs == 1) {
goto done;
}
- if (gc_info.mvcc_needed) {
+ if (gc_info->mvcc_needed) {
// starting at the top of the committed stack, find the first
// uxr with a txnid that is less than oldest_referenced_xid
for (uint32_t i = 0; i < ule->num_cuxrs; i++) {
curr_index = ule->num_cuxrs - i - 1;
- if (ule->uxrs[curr_index].xid < oldest_referenced_xid) {
+ if (ule->uxrs[curr_index].xid < gc_info->oldest_referenced_xid_for_simple_gc) {
break;
}
}
@@ -440,6 +457,25 @@ ule_garbage_collect(ULE ule, const xid_omt_t &snapshot_xids, const rx_omt_t &ref
done:;
}
+static size_t ule_packed_memsize(ULE ule) {
+// Returns: The size 'ule' would be when packed into a leafentry, or 0 if the
+// topmost committed value is a delete.
+ if (ule->num_cuxrs == 1 && ule->num_puxrs == 0) {
+ UXR uxr = ule_get_innermost_uxr(ule);
+ if (uxr_is_delete(uxr)) {
+ return 0;
+ }
+ }
+ return le_memsize_from_ule(ule);
+}
+
+// Heuristics to control when we decide to initialize
+// txn manager state (possibly expensive) and run gc.
+enum {
+ ULE_MIN_STACK_SIZE_TO_FORCE_GC = 5,
+ ULE_MIN_MEMSIZE_TO_FORCE_GC = 1024 * 1024
+};
+
/////////////////////////////////////////////////////////////////////////////////
// This is the big enchilada. (Bring Tums.) Note that this level of abstraction
// has no knowledge of the inner structure of either leafentry or msg. It makes
@@ -459,26 +495,21 @@ toku_le_apply_msg(FT_MSG msg,
LEAFENTRY old_leafentry, // NULL if there was no stored data.
bn_data* data_buffer, // bn_data storing leafentry, if NULL, means there is no bn_data
uint32_t idx, // index in data_buffer where leafentry is stored (and should be replaced
- TXNID oldest_referenced_xid,
- GC_INFO gc_info,
+ txn_gc_info *gc_info,
LEAFENTRY *new_leafentry_p,
int64_t * numbytes_delta_p) { // change in total size of key and val, not including any overhead
+ invariant_notnull(gc_info);
+ paranoid_invariant_notnull(new_leafentry_p);
ULE_S ule;
int64_t oldnumbytes = 0;
int64_t newnumbytes = 0;
uint64_t oldmemsize = 0;
uint32_t keylen = ft_msg_get_keylen(msg);
LEAFENTRY copied_old_le = NULL;
- bool old_le_malloced = false;
+ size_t old_le_size = old_leafentry ? leafentry_memsize(old_leafentry) : 0;
+ toku::scoped_malloc copied_old_le_buf(old_le_size);
if (old_leafentry) {
- size_t old_le_size = leafentry_memsize(old_leafentry);
- if (old_le_size > 100*1024) { // completely arbitrary limit
- CAST_FROM_VOIDP(copied_old_le, toku_malloc(old_le_size));
- old_le_malloced = true;
- }
- else {
- CAST_FROM_VOIDP(copied_old_le, alloca(old_le_size));
- }
+ CAST_FROM_VOIDP(copied_old_le, copied_old_le_buf.get());
memcpy(copied_old_le, old_leafentry, old_le_size);
}
@@ -490,7 +521,35 @@ toku_le_apply_msg(FT_MSG msg,
oldnumbytes = ule_get_innermost_numbytes(&ule, keylen);
}
msg_modify_ule(&ule, msg); // modify unpacked leafentry
- ule_simple_garbage_collection(&ule, oldest_referenced_xid, gc_info);
+
+ // - we may be able to immediately promote the newly-apllied outermost provisonal uxr
+ // - either way, run simple gc first, and then full gc if there are still some committed uxrs.
+ ule_try_promote_provisional_outermost(&ule, gc_info->oldest_referenced_xid_for_implicit_promotion);
+ ule_simple_garbage_collection(&ule, gc_info);
+ txn_manager_state *txn_state_for_gc = gc_info->txn_state_for_gc;
+ size_t size_before_gc = 0;
+ if (ule.num_cuxrs > 1 && txn_state_for_gc != nullptr && // there is garbage to clean, and our caller gave us state..
+ // ..and either the state is pre-initialized, or the committed stack is large enough
+ (txn_state_for_gc->initialized || ule.num_cuxrs >= ULE_MIN_STACK_SIZE_TO_FORCE_GC ||
+ // ..or the ule's raw memsize is sufficiently large
+ (size_before_gc = ule_packed_memsize(&ule)) >= ULE_MIN_MEMSIZE_TO_FORCE_GC)) {
+ // ..then it's worth running gc, possibly initializing the txn manager state, if it isn't already
+ if (!txn_state_for_gc->initialized) {
+ txn_state_for_gc->init();
+ }
+
+ size_before_gc = size_before_gc != 0 ? size_before_gc : // it's already been calculated above
+ ule_packed_memsize(&ule);
+ ule_garbage_collect(&ule,
+ txn_state_for_gc->snapshot_xids,
+ txn_state_for_gc->referenced_xids,
+ txn_state_for_gc->live_root_txns
+ );
+ size_t size_after_gc = ule_packed_memsize(&ule);
+
+ STATUS_INC(LE_APPLY_GC_BYTES_IN, size_before_gc);
+ STATUS_INC(LE_APPLY_GC_BYTES_OUT, size_after_gc);
+ }
int rval = le_pack(
&ule, // create packed leafentry
data_buffer,
@@ -501,17 +560,14 @@ toku_le_apply_msg(FT_MSG msg,
new_leafentry_p
);
invariant_zero(rval);
- if (new_leafentry_p) {
+ if (*new_leafentry_p) {
newnumbytes = ule_get_innermost_numbytes(&ule, keylen);
}
*numbytes_delta_p = newnumbytes - oldnumbytes;
ule_cleanup(&ule);
- if (old_le_malloced) {
- toku_free(copied_old_le);
- }
}
-bool toku_le_worth_running_garbage_collection(LEAFENTRY le, TXNID oldest_referenced_xid_known) {
+bool toku_le_worth_running_garbage_collection(LEAFENTRY le, txn_gc_info *gc_info) {
// Effect: Quickly determines if it's worth trying to run garbage collection on a leafentry
// Return: True if it makes sense to try garbage collection, false otherwise.
// Rationale: Garbage collection is likely to clean up under two circumstances:
@@ -527,7 +583,8 @@ bool toku_le_worth_running_garbage_collection(LEAFENTRY le, TXNID oldest_referen
} else {
paranoid_invariant(le->u.mvcc.num_cxrs == 1);
}
- return le->u.mvcc.num_pxrs > 0 && le_outermost_uncommitted_xid(le) < oldest_referenced_xid_known;
+ return le->u.mvcc.num_pxrs > 0 &&
+ le_outermost_uncommitted_xid(le) < gc_info->oldest_referenced_xid_for_implicit_promotion;
}
// Garbage collect one leaf entry, using the given OMT's.
@@ -554,26 +611,21 @@ toku_le_garbage_collect(LEAFENTRY old_leaf_entry,
uint32_t idx,
void* keyp,
uint32_t keylen,
+ txn_gc_info *gc_info,
LEAFENTRY *new_leaf_entry,
- const xid_omt_t &snapshot_xids,
- const rx_omt_t &referenced_xids,
- const xid_omt_t &live_root_txns,
- TXNID oldest_referenced_xid_known,
int64_t * numbytes_delta_p) {
+ // We shouldn't want to run gc without having provided a snapshot of the txn system.
+ invariant_notnull(gc_info);
+ invariant_notnull(gc_info->txn_state_for_gc);
+ paranoid_invariant_notnull(new_leaf_entry);
ULE_S ule;
int64_t oldnumbytes = 0;
int64_t newnumbytes = 0;
LEAFENTRY copied_old_le = NULL;
- bool old_le_malloced = false;
+ size_t old_le_size = old_leaf_entry ? leafentry_memsize(old_leaf_entry) : 0;
+ toku::scoped_malloc copied_old_le_buf(old_le_size);
if (old_leaf_entry) {
- size_t old_le_size = leafentry_memsize(old_leaf_entry);
- if (old_le_size > 100*1024) { // completely arbitrary limit
- CAST_FROM_VOIDP(copied_old_le, toku_malloc(old_le_size));
- old_le_malloced = true;
- }
- else {
- CAST_FROM_VOIDP(copied_old_le, alloca(old_le_size));
- }
+ CAST_FROM_VOIDP(copied_old_le, copied_old_le_buf.get());
memcpy(copied_old_le, old_leaf_entry, old_le_size);
}
@@ -584,14 +636,24 @@ toku_le_garbage_collect(LEAFENTRY old_leaf_entry,
// Before running garbage collection, try to promote the outermost provisional
// entries to committed if its xid is older than the oldest possible live xid.
- //
+ //
// The oldest known refeferenced xid is a lower bound on the oldest possible
// live xid, so we use that. It's usually close enough to get rid of most
// garbage in leafentries.
- TXNID oldest_possible_live_xid = oldest_referenced_xid_known;
- ule_try_promote_provisional_outermost(&ule, oldest_possible_live_xid);
- ule_garbage_collect(&ule, snapshot_xids, referenced_xids, live_root_txns);
-
+ ule_try_promote_provisional_outermost(&ule, gc_info->oldest_referenced_xid_for_implicit_promotion);
+ // No need to run simple gc here if we're going straight for full gc.
+ if (ule.num_cuxrs > 1) {
+ size_t size_before_gc = ule_packed_memsize(&ule);
+ ule_garbage_collect(&ule,
+ gc_info->txn_state_for_gc->snapshot_xids,
+ gc_info->txn_state_for_gc->referenced_xids,
+ gc_info->txn_state_for_gc->live_root_txns);
+ size_t size_after_gc = ule_packed_memsize(&ule);
+
+ STATUS_INC(LE_APPLY_GC_BYTES_IN, size_before_gc);
+ STATUS_INC(LE_APPLY_GC_BYTES_OUT, size_after_gc);
+ }
+
int r = le_pack(
&ule,
data_buffer,
@@ -602,14 +664,11 @@ toku_le_garbage_collect(LEAFENTRY old_leaf_entry,
new_leaf_entry
);
assert(r == 0);
- if (new_leaf_entry) {
+ if (*new_leaf_entry) {
newnumbytes = ule_get_innermost_numbytes(&ule, keylen);
}
*numbytes_delta_p = newnumbytes - oldnumbytes;
ule_cleanup(&ule);
- if (old_le_malloced) {
- toku_free(copied_old_le);
- }
}
/////////////////////////////////////////////////////////////////////////////////
diff --git a/storage/tokudb/ft-index/ft/ule.h b/storage/tokudb/ft-index/ft/ule.h
index 0d5600b8df4..0dd34212ff1 100644
--- a/storage/tokudb/ft-index/ft/ule.h
+++ b/storage/tokudb/ft-index/ft/ule.h
@@ -102,6 +102,9 @@ PATENT RIGHTS GRANT:
#include "txn_manager.h"
#include <util/mempool.h>
+void toku_ule_status_init(void);
+void toku_ule_status_destroy(void);
+
// opaque handles used by outside world (i.e. indexer)
typedef struct ule *ULEHANDLE;
typedef struct uxr *UXRHANDLE;
diff --git a/storage/tokudb/ft-index/locktree/lock_request.cc b/storage/tokudb/ft-index/locktree/lock_request.cc
index 079f5351f7d..362f9bfa98d 100644
--- a/storage/tokudb/ft-index/locktree/lock_request.cc
+++ b/storage/tokudb/ft-index/locktree/lock_request.cc
@@ -99,7 +99,7 @@ PATENT RIGHTS GRANT:
namespace toku {
// initialize a lock request's internals
-void lock_request::create(uint64_t wait_time) {
+void lock_request::create(void) {
m_txnid = TXNID_NONE;
m_conflicting_txnid = TXNID_NONE;
m_start_time = 0;
@@ -114,7 +114,6 @@ void lock_request::create(uint64_t wait_time) {
m_complete_r = 0;
m_state = state::UNINITIALIZED;
- m_wait_time = wait_time;
toku_cond_init(&m_wait_cond, nullptr);
}
@@ -126,9 +125,7 @@ void lock_request::destroy(void) {
}
// set the lock request parameters. this API allows a lock request to be reused.
-void lock_request::set(locktree *lt, TXNID txnid,
- const DBT *left_key, const DBT *right_key,
- lock_request::type lock_type) {
+void lock_request::set(locktree *lt, TXNID txnid, const DBT *left_key, const DBT *right_key, lock_request::type lock_type, bool big_txn) {
invariant(m_state != state::PENDING);
m_lt = lt;
m_txnid = txnid;
@@ -139,6 +136,7 @@ void lock_request::set(locktree *lt, TXNID txnid,
m_type = lock_type;
m_state = state::INITIALIZED;
m_info = lt->get_lock_request_info();
+ m_big_txn = big_txn;
}
// get rid of any stored left and right key copies and
@@ -208,10 +206,10 @@ int lock_request::start(void) {
txnid_set conflicts;
conflicts.create();
if (m_type == type::WRITE) {
- r = m_lt->acquire_write_lock(m_txnid, m_left_key, m_right_key, &conflicts);
+ r = m_lt->acquire_write_lock(m_txnid, m_left_key, m_right_key, &conflicts, m_big_txn);
} else {
invariant(m_type == type::READ);
- r = m_lt->acquire_read_lock(m_txnid, m_left_key, m_right_key, &conflicts);
+ r = m_lt->acquire_read_lock(m_txnid, m_left_key, m_right_key, &conflicts, m_big_txn);
}
// if the lock is not granted, save it to the set of lock requests
@@ -236,38 +234,50 @@ int lock_request::start(void) {
return m_state == state::COMPLETE ? m_complete_r : r;
}
-void lock_request::calculate_cond_wakeup_time(struct timespec *ts) {
- struct timeval now;
- int r = gettimeofday(&now, NULL);
- invariant_zero(r);
- int64_t sec = now.tv_sec + (m_wait_time / 1000);
- int64_t usec = now.tv_usec + ((m_wait_time % 1000) * 1000);
- int64_t d_sec = usec / 1000000;
- int64_t d_usec = usec % 1000000;
- ts->tv_sec = sec + d_sec;
- ts->tv_nsec = d_usec * 1000;
+// sleep on the lock request until it becomes resolved or the wait time has elapsed.
+int lock_request::wait(uint64_t wait_time_ms) {
+ return wait(wait_time_ms, 0, nullptr);
}
-// sleep on the lock request until it becomes resolved or the wait time has elapsed.
-int lock_request::wait(void) {
- uint64_t t_start = toku_current_time_microsec();
+int lock_request::wait(uint64_t wait_time_ms, uint64_t killed_time_ms, int (*killed_callback)(void)) {
+ uint64_t t_now = toku_current_time_microsec();
+ uint64_t t_start = t_now;
+ uint64_t t_end = t_start + wait_time_ms * 1000;
+
toku_mutex_lock(&m_info->mutex);
+
while (m_state == state::PENDING) {
- struct timespec ts;
- calculate_cond_wakeup_time(&ts);
+
+ // compute next wait time
+ uint64_t t_wait;
+ if (killed_time_ms == 0) {
+ t_wait = t_end;
+ } else {
+ t_wait = t_now + killed_time_ms * 1000;
+ if (t_wait > t_end)
+ t_wait = t_end;
+ }
+ struct timespec ts = {};
+ ts.tv_sec = t_wait / 1000000;
+ ts.tv_nsec = (t_wait % 1000000) * 1000;
int r = toku_cond_timedwait(&m_wait_cond, &m_info->mutex, &ts);
invariant(r == 0 || r == ETIMEDOUT);
- if (r == ETIMEDOUT && m_state == state::PENDING) {
+
+ t_now = toku_current_time_microsec();
+ if (m_state == state::PENDING && (t_now >= t_end || (killed_callback && killed_callback()))) {
m_info->counters.timeout_count += 1;
+
// if we're still pending and we timed out, then remove our
// request from the set of lock requests and fail.
remove_from_lock_requests();
+
// complete sets m_state to COMPLETE, breaking us out of the loop
complete(DB_LOCK_NOTGRANTED);
}
}
- uint64_t t_end = toku_current_time_microsec();
- uint64_t duration = t_end - t_start;
+
+ uint64_t t_real_end = toku_current_time_microsec();
+ uint64_t duration = t_real_end - t_start;
m_info->counters.wait_count += 1;
m_info->counters.wait_time += duration;
if (duration >= 1000000) {
@@ -311,9 +321,9 @@ int lock_request::retry(void) {
invariant(m_state == state::PENDING);
if (m_type == type::WRITE) {
- r = m_lt->acquire_write_lock(m_txnid, m_left_key, m_right_key, nullptr);
+ r = m_lt->acquire_write_lock(m_txnid, m_left_key, m_right_key, nullptr, m_big_txn);
} else {
- r = m_lt->acquire_read_lock(m_txnid, m_left_key, m_right_key, nullptr);
+ r = m_lt->acquire_read_lock(m_txnid, m_left_key, m_right_key, nullptr, m_big_txn);
}
// if the acquisition succeeded then remove ourselves from the
diff --git a/storage/tokudb/ft-index/locktree/lock_request.h b/storage/tokudb/ft-index/locktree/lock_request.h
index 140e49974ec..48956826547 100644
--- a/storage/tokudb/ft-index/locktree/lock_request.h
+++ b/storage/tokudb/ft-index/locktree/lock_request.h
@@ -125,16 +125,15 @@ public:
WRITE
};
- // effect: Initializes a lock request with a given wait time.
- void create(uint64_t wait_time);
+ // effect: Initializes a lock request.
+ void create(void);
// effect: Destroys a lock request.
void destroy(void);
// effect: Resets the lock request parameters, allowing it to be reused.
// requires: Lock request was already created at some point
- void set(locktree *lt, TXNID txnid,
- const DBT *left_key, const DBT *right_key, type lock_type);
+ void set(locktree *lt, TXNID txnid, const DBT *left_key, const DBT *right_key, type lock_type, bool big_txn);
// effect: Tries to acquire a lock described by this lock request.
// returns: The return code of locktree::acquire_[write,read]_lock()
@@ -144,7 +143,8 @@ public:
// effect: Sleeps until either the request is granted or the wait time expires.
// returns: The return code of locktree::acquire_[write,read]_lock()
// or simply DB_LOCK_NOTGRANTED if the wait time expired.
- int wait(void);
+ int wait(uint64_t wait_time_ms);
+ int wait(uint64_t wait_time_ms, uint64_t killed_time_ms, int (*killed_callback)(void));
// return: left end-point of the lock range
const DBT *get_left_key(void) const;
@@ -196,9 +196,10 @@ private:
int m_complete_r;
state m_state;
- uint64_t m_wait_time;
toku_cond_t m_wait_cond;
+ bool m_big_txn;
+
// the lock request info state stored in the
// locktree that this lock request is for.
struct locktree::lt_lock_request_info *m_info;
@@ -235,8 +236,6 @@ private:
void copy_keys(void);
- void calculate_cond_wakeup_time(struct timespec *ts);
-
static int find_by_txnid(lock_request * const &request, const TXNID &txnid);
friend class lock_request_unit_test;
diff --git a/storage/tokudb/ft-index/locktree/locktree.cc b/storage/tokudb/ft-index/locktree/locktree.cc
index 36c35eec185..21b0aaa1426 100644
--- a/storage/tokudb/ft-index/locktree/locktree.cc
+++ b/storage/tokudb/ft-index/locktree/locktree.cc
@@ -119,6 +119,7 @@ namespace toku {
void locktree::create(manager::memory_tracker *mem_tracker, DICTIONARY_ID dict_id,
DESCRIPTOR desc, ft_compare_func cmp) {
m_mem_tracker = mem_tracker;
+ m_mgr = mem_tracker->get_manager();
m_dict_id = dict_id;
// the only reason m_cmp is malloc'd here is to prevent gdb from printing
@@ -410,8 +411,8 @@ int locktree::acquire_lock(bool is_write_request, TXNID txnid,
}
int locktree::try_acquire_lock(bool is_write_request, TXNID txnid,
- const DBT *left_key, const DBT *right_key, txnid_set *conflicts) {
- int r = m_mem_tracker->check_current_lock_constraints();
+ const DBT *left_key, const DBT *right_key, txnid_set *conflicts, bool big_txn) {
+ int r = m_mgr->check_current_lock_constraints(big_txn);
if (r == 0) {
r = acquire_lock(is_write_request, txnid, left_key, right_key, conflicts);
}
@@ -420,13 +421,13 @@ int locktree::try_acquire_lock(bool is_write_request, TXNID txnid,
// the locktree silently upgrades read locks to write locks for simplicity
int locktree::acquire_read_lock(TXNID txnid,
- const DBT *left_key, const DBT *right_key, txnid_set *conflicts) {
- return acquire_write_lock(txnid, left_key, right_key, conflicts);
+ const DBT *left_key, const DBT *right_key, txnid_set *conflicts, bool big_txn) {
+ return acquire_write_lock(txnid, left_key, right_key, conflicts, big_txn);
}
int locktree::acquire_write_lock(TXNID txnid,
- const DBT *left_key, const DBT *right_key, txnid_set *conflicts) {
- return try_acquire_lock(true, txnid, left_key, right_key, conflicts);
+ const DBT *left_key, const DBT *right_key, txnid_set *conflicts, bool big_txn) {
+ return try_acquire_lock(true, txnid, left_key, right_key, conflicts, big_txn);
}
void locktree::get_conflicts(bool is_write_request, TXNID txnid,
diff --git a/storage/tokudb/ft-index/locktree/locktree.h b/storage/tokudb/ft-index/locktree/locktree.h
index 1f94a1feb6a..a3c3b566fcf 100644
--- a/storage/tokudb/ft-index/locktree/locktree.h
+++ b/storage/tokudb/ft-index/locktree/locktree.h
@@ -105,6 +105,11 @@ PATENT RIGHTS GRANT:
#include "wfg.h"
#include "range_buffer.h"
+#define TOKU_LOCKTREE_ESCALATOR_LAMBDA 0
+#if TOKU_LOCKTREE_ESCALATOR_LAMBDA
+#include <functional>
+#endif
+
enum {
LTM_SIZE_CURRENT = 0,
LTM_SIZE_LIMIT,
@@ -164,15 +169,13 @@ public:
// If the locktree cannot create more locks, return TOKUDB_OUT_OF_LOCKS.
// note: Read locks cannot be shared between txnids, as one would expect.
// This is for simplicity since read locks are rare in MySQL.
- int acquire_read_lock(TXNID txnid,
- const DBT *left_key, const DBT *right_key, txnid_set *conflicts);
+ int acquire_read_lock(TXNID txnid, const DBT *left_key, const DBT *right_key, txnid_set *conflicts, bool big_txn);
// effect: Attempts to grant a write lock for the range of keys between [left_key, right_key].
// returns: If the lock cannot be granted, return DB_LOCK_NOTGRANTED, and populate the
// given conflicts set with the txnids that hold conflicting locks in the range.
// If the locktree cannot create more locks, return TOKUDB_OUT_OF_LOCKS.
- int acquire_write_lock(TXNID txnid,
- const DBT *left_key, const DBT *right_key, txnid_set *conflicts);
+ int acquire_write_lock(TXNID txnid, const DBT *left_key, const DBT *right_key, txnid_set *conflicts, bool big_txn);
// effect: populate the conflicts set with the txnids that would preventing
// the given txnid from getting a lock on [left_key, right_key]
@@ -215,6 +218,25 @@ public:
// since the lock_request object is opaque
struct lt_lock_request_info *get_lock_request_info(void);
+ class manager;
+
+ // the escalator coordinates escalation on a set of locktrees for a bunch of threads
+ class escalator {
+ public:
+ void create(void);
+ void destroy(void);
+#if TOKU_LOCKTREE_ESCALATOR_LAMBDA
+ void run(manager *mgr, std::function<void (void)> escalate_locktrees_fun);
+#else
+ void run(manager *mgr, void (*escalate_locktrees_fun)(void *extra), void *extra);
+#endif
+ private:
+ toku_mutex_t m_escalator_mutex;
+ toku_cond_t m_escalator_done;
+ bool m_escalator_running;
+ };
+ ENSURE_POD(escalator);
+
// The locktree manager manages a set of locktrees,
// one for each open dictionary. Locktrees are accessed through
// the manager, and when they are no longer needed, they can
@@ -236,10 +258,6 @@ public:
int set_max_lock_memory(size_t max_lock_memory);
- uint64_t get_lock_wait_time(void);
-
- void set_lock_wait_time(uint64_t lock_wait_time);
-
// effect: Get a locktree from the manager. If a locktree exists with the given
// dict_id, it is referenced and then returned. If one did not exist, it
// is created. It will use the given descriptor and comparison function
@@ -265,6 +283,7 @@ public:
class memory_tracker {
public:
void set_manager(manager *mgr);
+ manager *get_manager(void);
// effect: Determines if too many locks or too much memory is being used,
// Runs escalation on the manager if so.
@@ -273,6 +292,8 @@ public:
// enough resources for a new lock.
int check_current_lock_constraints(void);
+ bool over_big_threshold(void);
+
void note_mem_used(uint64_t mem_used);
void note_mem_released(uint64_t mem_freed);
@@ -297,6 +318,7 @@ public:
// rationale: to get better stress test coverage, we want a way to
// deterministicly trigger lock escalation.
void run_escalation_for_test(void);
+ void run_escalation(void);
void get_status(LTM_STATUS status);
@@ -311,9 +333,22 @@ public:
void *extra);
int iterate_pending_lock_requests(lock_request_iterate_callback cb, void *extra);
+ int check_current_lock_constraints(bool big_txn);
+
+ // Escalate locktrees touched by a txn
+ void escalate_lock_trees_for_txn(TXNID, locktree *lt);
+
+ // Escalate all locktrees
+ void escalate_all_locktrees(void);
+
+ // Escalate a set of locktrees
+ void escalate_locktrees(locktree **locktrees, int num_locktrees);
+
+ // Add time t to the escalator's wait time statistics
+ void add_escalator_wait_time(uint64_t t);
+
private:
static const uint64_t DEFAULT_MAX_LOCK_MEMORY = 64L * 1024 * 1024;
- static const uint64_t DEFAULT_LOCK_WAIT_TIME = 0;
// tracks the current number of locks and lock memory
uint64_t m_max_lock_memory;
@@ -322,9 +357,6 @@ public:
struct lt_counters m_lt_counters;
- // lock wait time for blocking row locks, in ms
- uint64_t m_lock_wait_time_ms;
-
// the create and destroy callbacks for the locktrees
lt_create_cb m_lt_create_callback;
lt_destroy_cb m_lt_destroy_callback;
@@ -356,23 +388,14 @@ public:
// requires: Manager's mutex is held
void locktree_map_remove(locktree *lt);
- // effect: Runs escalation on all locktrees.
- void run_escalation(void);
-
static int find_by_dict_id(locktree *const &lt, const DICTIONARY_ID &dict_id);
void escalator_init(void);
void escalator_destroy(void);
- // effect: Add time t to the escalator's wait time statistics
- void add_escalator_wait_time(uint64_t t);
-
- // effect: escalate's the locks in each locktree
- // requires: manager's mutex is held
- void escalate_all_locktrees(void);
-
// statistics about lock escalation.
+ toku_mutex_t m_escalation_mutex;
uint64_t m_escalation_count;
tokutime_t m_escalation_time;
uint64_t m_escalation_latest_result;
@@ -381,22 +404,16 @@ public:
uint64_t m_long_wait_escalation_count;
uint64_t m_long_wait_escalation_time;
- toku_mutex_t m_escalator_mutex;
- toku_cond_t m_escalator_work; // signal the escalator to run
- toku_cond_t m_escalator_done; // signal that escalation is done
- bool m_escalator_killed;
- toku_pthread_t m_escalator_id;
+ escalator m_escalator;
friend class manager_unit_test;
-
- public:
- void escalator_work(void);
};
ENSURE_POD(manager);
manager::memory_tracker *get_mem_tracker(void) const;
private:
+ manager *m_mgr;
manager::memory_tracker *m_mem_tracker;
DICTIONARY_ID m_dict_id;
@@ -414,7 +431,6 @@ private:
uint32_t m_reference_count;
- // the locktree stores locks in a concurrent, non-overlapping rangetree
concurrent_tree *m_rangetree;
void *m_userdata;
@@ -586,7 +602,7 @@ private:
const DBT *left_key, const DBT *right_key, txnid_set *conflicts);
int try_acquire_lock(bool is_write_request, TXNID txnid,
- const DBT *left_key, const DBT *right_key, txnid_set *conflicts);
+ const DBT *left_key, const DBT *right_key, txnid_set *conflicts, bool big_txn);
void escalate(manager::lt_escalate_cb after_escalate_callback, void *extra);
diff --git a/storage/tokudb/ft-index/locktree/manager.cc b/storage/tokudb/ft-index/locktree/manager.cc
index e4317f30fc0..8086d9049f7 100644
--- a/storage/tokudb/ft-index/locktree/manager.cc
+++ b/storage/tokudb/ft-index/locktree/manager.cc
@@ -103,8 +103,6 @@ namespace toku {
void locktree::manager::create(lt_create_cb create_cb, lt_destroy_cb destroy_cb, lt_escalate_cb escalate_cb, void *escalate_extra) {
m_max_lock_memory = DEFAULT_MAX_LOCK_MEMORY;
m_current_lock_memory = 0;
- escalator_init();
- m_lock_wait_time_ms = DEFAULT_LOCK_WAIT_TIME;
m_mem_tracker.set_manager(this);
m_locktree_map.create();
@@ -118,6 +116,8 @@ void locktree::manager::create(lt_create_cb create_cb, lt_destroy_cb destroy_cb,
ZERO_STRUCT(status);
ZERO_STRUCT(m_lt_counters);
+
+ escalator_init();
}
void locktree::manager::destroy(void) {
@@ -152,14 +152,6 @@ int locktree::manager::set_max_lock_memory(size_t max_lock_memory) {
return r;
}
-uint64_t locktree::manager::get_lock_wait_time(void) {
- return m_lock_wait_time_ms;
-}
-
-void locktree::manager::set_lock_wait_time(uint64_t lock_wait_time_ms) {
- m_lock_wait_time_ms = lock_wait_time_ms;
-}
-
int locktree::manager::find_by_dict_id(locktree *const &lt, const DICTIONARY_ID &dict_id) {
if (lt->m_dict_id.dictid < dict_id.dictid) {
return -1;
@@ -312,33 +304,45 @@ void locktree::manager::release_lt(locktree *lt) {
}
// test-only version of lock escalation
+#if TOKU_LOCKTREE_ESCALATOR_LAMBDA
+void locktree::manager::run_escalation(void) {
+ m_escalator.run(this, [this] () -> void { escalate_all_locktrees(); });
+}
+#else
+static void manager_run_escalation_fun(void *extra) {
+ locktree::manager *thismanager = (locktree::manager *) extra;
+ thismanager->escalate_all_locktrees();
+}
+
+void locktree::manager::run_escalation(void) {
+ m_escalator.run(this, manager_run_escalation_fun, this);
+}
+#endif
+
void locktree::manager::run_escalation_for_test(void) {
run_escalation();
}
-void locktree::manager::run_escalation(void) {
+void locktree::manager::escalate_all_locktrees(void) {
+ if (0) fprintf(stderr, "%d %s:%u\n", toku_os_gettid(), __PRETTY_FUNCTION__, __LINE__);
uint64_t t0 = toku_current_time_microsec();
- if (1) {
- // run escalation on the background thread
- int r;
- toku_mutex_lock(&m_escalator_mutex);
- toku_cond_broadcast(&m_escalator_work);
- struct timeval tv;
- r = gettimeofday(&tv, 0);
- assert_zero(r);
- uint64_t t = tv.tv_sec * 1000000 + tv.tv_usec;
- t += 100000; // 100 milliseconds
- toku_timespec_t wakeup_time;
- wakeup_time.tv_sec = t / 1000000;
- wakeup_time.tv_nsec = (t % 1000000) * 1000;
- r = toku_cond_timedwait(&m_escalator_done, &m_escalator_mutex, &wakeup_time);
- toku_mutex_unlock(&m_escalator_mutex);
- } else {
- // run escalation on this thread
- mutex_lock();
- escalate_all_locktrees();
- mutex_unlock();
+
+ // get all locktrees
+ mutex_lock();
+ int num_locktrees = m_locktree_map.size();
+ locktree **locktrees = new locktree *[num_locktrees];
+ for (int i = 0; i < num_locktrees; i++) {
+ int r = m_locktree_map.fetch(i, &locktrees[i]);
+ invariant_zero(r);
+ reference_lt(locktrees[i]);
}
+ mutex_unlock();
+
+ // escalate them
+ escalate_locktrees(locktrees, num_locktrees);
+
+ delete [] locktrees;
+
uint64_t t1 = toku_current_time_microsec();
add_escalator_wait_time(t1 - t0);
}
@@ -347,6 +351,10 @@ void locktree::manager::memory_tracker::set_manager(manager *mgr) {
m_mgr = mgr;
}
+locktree::manager *locktree::manager::memory_tracker::get_manager(void) {
+ return m_mgr;
+}
+
int locktree::manager::memory_tracker::check_current_lock_constraints(void) {
int r = 0;
// check if we're out of locks without the mutex first. then, grab the
@@ -374,6 +382,10 @@ bool locktree::manager::memory_tracker::out_of_locks(void) const {
return m_mgr->m_current_lock_memory >= m_mgr->m_max_lock_memory;
}
+bool locktree::manager::memory_tracker::over_big_threshold(void) {
+ return m_mgr->m_current_lock_memory >= m_mgr->m_max_lock_memory / 2;
+}
+
int locktree::manager::iterate_pending_lock_requests(
lock_request_iterate_callback callback, void *extra) {
mutex_lock();
@@ -403,18 +415,23 @@ int locktree::manager::iterate_pending_lock_requests(
return r;
}
-static void *escalator_thread(void *arg) {
- locktree::manager *mgr = reinterpret_cast<locktree::manager*>(arg);
- mgr->escalator_work();
- return arg;
+int locktree::manager::check_current_lock_constraints(bool big_txn) {
+ int r = 0;
+ if (big_txn && m_mem_tracker.over_big_threshold()) {
+ run_escalation();
+ if (m_mem_tracker.over_big_threshold()) {
+ r = TOKUDB_OUT_OF_LOCKS;
+ }
+ }
+ if (r == 0) {
+ r = m_mem_tracker.check_current_lock_constraints();
+ }
+ return r;
}
void locktree::manager::escalator_init(void) {
- ZERO_STRUCT(m_escalator_mutex);
- toku_mutex_init(&m_escalator_mutex, nullptr);
- toku_cond_init(&m_escalator_work, nullptr);
- toku_cond_init(&m_escalator_done, nullptr);
- m_escalator_killed = false;
+ ZERO_STRUCT(m_escalation_mutex);
+ toku_mutex_init(&m_escalation_mutex, nullptr);
m_escalation_count = 0;
m_escalation_time = 0;
m_wait_escalation_count = 0;
@@ -422,24 +439,27 @@ void locktree::manager::escalator_init(void) {
m_long_wait_escalation_count = 0;
m_long_wait_escalation_time = 0;
m_escalation_latest_result = 0;
- int r = toku_pthread_create(&m_escalator_id, nullptr, escalator_thread, this);
- assert_zero(r);
+ m_escalator.create();
}
void locktree::manager::escalator_destroy(void) {
- toku_mutex_lock(&m_escalator_mutex);
- m_escalator_killed = true;
- toku_cond_broadcast(&m_escalator_work);
- toku_mutex_unlock(&m_escalator_mutex);
- void *ret;
- int r = toku_pthread_join(m_escalator_id, &ret);
- assert_zero(r);
- toku_mutex_destroy(&m_escalator_mutex);
- toku_cond_destroy(&m_escalator_work);
- toku_cond_destroy(&m_escalator_done);
+ m_escalator.destroy();
+ toku_mutex_destroy(&m_escalation_mutex);
}
-void locktree::manager::escalate_all_locktrees(void) {
+void locktree::manager::add_escalator_wait_time(uint64_t t) {
+ toku_mutex_lock(&m_escalation_mutex);
+ m_wait_escalation_count += 1;
+ m_wait_escalation_time += t;
+ if (t >= 1000000) {
+ m_long_wait_escalation_count += 1;
+ m_long_wait_escalation_time += t;
+ }
+ toku_mutex_unlock(&m_escalation_mutex);
+}
+
+void locktree::manager::escalate_locktrees(locktree **locktrees, int num_locktrees) {
+ if (0) fprintf(stderr, "%d %s:%u %d\n", toku_os_gettid(), __PRETTY_FUNCTION__, __LINE__, num_locktrees);
// there are too many row locks in the system and we need to tidy up.
//
// a simple implementation of escalation does not attempt
@@ -448,47 +468,87 @@ void locktree::manager::escalate_all_locktrees(void) {
// and more complicated locking. for now, just escalate each
// locktree individually, in-place.
tokutime_t t0 = toku_time_now();
- size_t num_locktrees = m_locktree_map.size();
- for (size_t i = 0; i < num_locktrees; i++) {
- locktree *lt;
- int r = m_locktree_map.fetch(i, &lt);
- invariant_zero(r);
- lt->escalate(m_lt_escalate_callback, m_lt_escalate_callback_extra);
+ for (int i = 0; i < num_locktrees; i++) {
+ locktrees[i]->escalate(m_lt_escalate_callback, m_lt_escalate_callback_extra);
+ release_lt(locktrees[i]);
}
tokutime_t t1 = toku_time_now();
- toku_mutex_lock(&m_escalator_mutex);
+ toku_mutex_lock(&m_escalation_mutex);
m_escalation_count++;
m_escalation_time += (t1 - t0);
m_escalation_latest_result = m_current_lock_memory;
- toku_mutex_unlock(&m_escalator_mutex);
+ toku_mutex_unlock(&m_escalation_mutex);
}
-void locktree::manager::add_escalator_wait_time(uint64_t t) {
- toku_mutex_lock(&m_escalator_mutex);
- m_wait_escalation_count += 1;
- m_wait_escalation_time += t;
- if (t >= 1000000) {
- m_long_wait_escalation_count += 1;
- m_long_wait_escalation_time += t;
- }
- toku_mutex_unlock(&m_escalator_mutex);
+#if !TOKU_LOCKTREE_ESCALATOR_LAMBDA
+struct escalate_args {
+ locktree::manager *mgr;
+ locktree **locktrees;
+ int num_locktrees;
+};
+
+static void manager_escalate_locktrees(void *extra) {
+ escalate_args *args = (escalate_args *) extra;
+ args->mgr->escalate_locktrees(args->locktrees, args->num_locktrees);
+}
+#endif
+
+void locktree::manager::escalate_lock_trees_for_txn(TXNID txnid UU(), locktree *lt UU()) {
+ // get lock trees for txnid
+ const int num_locktrees = 1;
+ locktree *locktrees[1] = { lt };
+ reference_lt(lt);
+
+ // escalate these lock trees
+ locktree::escalator this_escalator;
+ this_escalator.create();
+#if TOKU_LOCKTREE_ESCALATOR_LAMBDA
+ this_escalator.run(this, [this,locktrees,num_locktrees] () -> void { escalate_locktrees(locktrees, num_locktrees); });
+#else
+ escalate_args args = { this, locktrees, num_locktrees };
+ this_escalator.run(this, manager_escalate_locktrees, &args);
+#endif
+ this_escalator.destroy();
+}
+
+void locktree::escalator::create(void) {
+ ZERO_STRUCT(m_escalator_mutex);
+ toku_mutex_init(&m_escalator_mutex, nullptr);
+ toku_cond_init(&m_escalator_done, nullptr);
+ m_escalator_running = false;
}
-void locktree::manager::escalator_work(void) {
+void locktree::escalator::destroy(void) {
+ toku_cond_destroy(&m_escalator_done);
+ toku_mutex_destroy(&m_escalator_mutex);
+}
+
+#if TOKU_LOCKTREE_ESCALATOR_LAMBDA
+void locktree::escalator::run(locktree::manager *mgr, std::function<void (void)> escalate_locktrees_fun) {
+#else
+ void locktree::escalator::run(locktree::manager *mgr, void (*escalate_locktrees_fun)(void *extra), void *extra) {
+#endif
+ uint64_t t0 = toku_current_time_microsec();
toku_mutex_lock(&m_escalator_mutex);
- while (!m_escalator_killed) {
- toku_cond_wait(&m_escalator_work, &m_escalator_mutex);
- if (!m_escalator_killed) {
- toku_mutex_unlock(&m_escalator_mutex);
- mutex_lock();
- escalate_all_locktrees();
- mutex_unlock();
- toku_mutex_lock(&m_escalator_mutex);
- toku_cond_broadcast(&m_escalator_done);
- }
+ if (!m_escalator_running) {
+ // run escalation on this thread
+ m_escalator_running = true;
+ toku_mutex_unlock(&m_escalator_mutex);
+#if TOKU_LOCKTREE_ESCALATOR_LAMBDA
+ escalate_locktrees_fun();
+#else
+ escalate_locktrees_fun(extra);
+#endif
+ toku_mutex_lock(&m_escalator_mutex);
+ m_escalator_running = false;
+ toku_cond_broadcast(&m_escalator_done);
+ } else {
+ toku_cond_wait(&m_escalator_done, &m_escalator_mutex);
}
toku_mutex_unlock(&m_escalator_mutex);
+ uint64_t t1 = toku_current_time_microsec();
+ mgr->add_escalator_wait_time(t1 - t0);
}
#define STATUS_INIT(k,c,t,l,inc) TOKUDB_STATUS_INIT(status, k, c, t, "locktree: " l, inc)
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_create_set.cc b/storage/tokudb/ft-index/locktree/tests/lock_request_create_set.cc
index 9741c2a0e8c..b309d9b6fd8 100644
--- a/storage/tokudb/ft-index/locktree/tests/lock_request_create_set.cc
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_create_set.cc
@@ -96,8 +96,7 @@ namespace toku {
// create and set the object's internals, destroy should not crash.
void lock_request_unit_test::test_create_destroy(void) {
lock_request request;
- const uint64_t wait_time_magic = 5016342;
- request.create(wait_time_magic);
+ request.create();
invariant(request.m_txnid == TXNID_NONE);
invariant(request.m_left_key == nullptr);
@@ -112,7 +111,6 @@ void lock_request_unit_test::test_create_destroy(void) {
invariant(request.m_complete_r == 0);
invariant(request.m_state == lock_request::state::UNINITIALIZED);
- invariant(request.m_wait_time = wait_time_magic);
request.destroy();
}
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_get_set_keys.cc b/storage/tokudb/ft-index/locktree/tests/lock_request_get_set_keys.cc
index 52bf89affdf..60300a138df 100644
--- a/storage/tokudb/ft-index/locktree/tests/lock_request_get_set_keys.cc
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_get_set_keys.cc
@@ -98,8 +98,7 @@ namespace toku {
// when appropriate and plays nice with +/- infinity.
void lock_request_unit_test::test_get_set_keys(void) {
lock_request request;
- const uint64_t lock_wait_time = 10;
- request.create(lock_wait_time);
+ request.create();
locktree *const null_lt = nullptr;
@@ -112,20 +111,20 @@ void lock_request_unit_test::test_get_set_keys(void) {
// request should not copy dbts for neg/pos inf, so get_left
// and get_right should return the same pointer given
- request.set(null_lt, txnid_a, neg_inf, pos_inf, lock_request::type::WRITE);
+ request.set(null_lt, txnid_a, neg_inf, pos_inf, lock_request::type::WRITE, false);
invariant(request.get_left_key() == neg_inf);
invariant(request.get_right_key() == pos_inf);
// request should make copies of non-infinity-valued keys.
- request.set(null_lt, txnid_a, neg_inf, one, lock_request::type::WRITE);
+ request.set(null_lt, txnid_a, neg_inf, one, lock_request::type::WRITE, false);
invariant(request.get_left_key() == neg_inf);
invariant(request.get_right_key() == one);
- request.set(null_lt, txnid_a, two, pos_inf, lock_request::type::WRITE);
+ request.set(null_lt, txnid_a, two, pos_inf, lock_request::type::WRITE, false);
invariant(request.get_left_key() == two);
invariant(request.get_right_key() == pos_inf);
- request.set(null_lt, txnid_a, one, two, lock_request::type::WRITE);
+ request.set(null_lt, txnid_a, one, two, lock_request::type::WRITE, false);
invariant(request.get_left_key() == one);
invariant(request.get_right_key() == two);
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_killed.cc b/storage/tokudb/ft-index/locktree/tests/lock_request_killed.cc
new file mode 100644
index 00000000000..742165c59dc
--- /dev/null
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_killed.cc
@@ -0,0 +1,179 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2014 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+// test the kill callback. the lock wait is killed 1/2 of the way through the wait.
+
+#include "lock_request_unit_test.h"
+
+namespace toku {
+
+const uint64_t my_lock_wait_time = 10 * 1000; // 10 seconds
+const uint64_t my_killed_time = 1 * 1000;
+
+static int killed_calls = 0;
+static uint64_t t_last_kill;
+static uint64_t t_do_kill;
+
+static int my_killed_callback(void) {
+ uint64_t t_now = toku_current_time_microsec();
+ assert(t_now >= t_last_kill);
+ assert(t_now - t_last_kill >= my_killed_time * 1000 / 2); // div by 2 for valgrind which is not very accurate
+ t_last_kill = t_now;
+ killed_calls++;
+ if (t_now >= t_do_kill)
+ return 1;
+ else
+ return 0;
+}
+
+// make sure deadlocks are detected when a lock request starts
+void lock_request_unit_test::test_wait_time_callback(void) {
+ int r;
+ locktree::manager mgr;
+ locktree *lt;
+
+ mgr.create(nullptr, nullptr, nullptr, nullptr);
+
+ DICTIONARY_ID dict_id = { 1 };
+ lt = mgr.get_lt(dict_id, nullptr, compare_dbts, nullptr);
+
+ TXNID txnid_a = 1001;
+ lock_request request_a;
+ request_a.create();
+
+ TXNID txnid_b = 2001;
+ lock_request request_b;
+ request_b.create();
+
+ const DBT *one = get_dbt(1);
+
+ // a locks 'one'
+ request_a.set(lt, txnid_a, one, one, lock_request::type::WRITE, false);
+ r = request_a.start();
+ assert_zero(r);
+
+ // b tries to lock 'one'
+ request_b.set(lt, txnid_b, one, one, lock_request::type::WRITE, false);
+ r = request_b.start();
+ assert(r == DB_LOCK_NOTGRANTED);
+
+ uint64_t t_start = toku_current_time_microsec();
+ t_last_kill = t_start;
+ t_do_kill = t_start + my_lock_wait_time * 1000 / 2;
+ r = request_b.wait(my_lock_wait_time, my_killed_time, my_killed_callback);
+ assert(r == DB_LOCK_NOTGRANTED);
+
+ uint64_t t_end = toku_current_time_microsec();
+ assert(t_end > t_start);
+ uint64_t t_delta = t_end - t_start;
+ // fprintf(stderr, "delta=%" PRIu64 "\n", t_delta);
+ assert(t_delta >= my_lock_wait_time / 2);
+
+ // fprintf(stderr, "killed_calls=%d\n", killed_calls);
+ assert(killed_calls > 0);
+
+ request_b.destroy();
+
+ release_lock_and_retry_requests(lt, txnid_a, one, one);
+ request_a.destroy();
+
+ mgr.release_lt(lt);
+ mgr.destroy();
+}
+
+} /* namespace toku */
+
+int main(void) {
+ toku::lock_request_unit_test test;
+ test.test_wait_time_callback();
+ return 0;
+}
+
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_not_killed.cc b/storage/tokudb/ft-index/locktree/tests/lock_request_not_killed.cc
new file mode 100644
index 00000000000..e49b88f9d79
--- /dev/null
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_not_killed.cc
@@ -0,0 +1,175 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2014 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+// test the kill callback. the kill callback never kills the lock wait in this test.
+// the test verifies that the kill callback is called close to its requested frequency.
+
+#include "lock_request_unit_test.h"
+
+namespace toku {
+
+const uint64_t my_lock_wait_time = 10 * 1000; // 10 seconds
+const uint64_t my_killed_time = 1 * 1000;
+
+static int killed_calls = 0;
+static uint64_t t_last_kill;
+
+static int my_killed_callback(void) {
+ uint64_t t_now = toku_current_time_microsec();
+ assert(t_now >= t_last_kill);
+ assert(t_now - t_last_kill >= my_killed_time * 1000 / 2); // div by 2 for valgrind which is not very accurate
+ t_last_kill = t_now;
+ killed_calls++;
+ return 0;
+}
+
+// make sure deadlocks are detected when a lock request starts
+void lock_request_unit_test::test_wait_time_callback(void) {
+ int r;
+ locktree::manager mgr;
+ locktree *lt;
+
+ mgr.create(nullptr, nullptr, nullptr, nullptr);
+
+ DICTIONARY_ID dict_id = { 1 };
+ lt = mgr.get_lt(dict_id, nullptr, compare_dbts, nullptr);
+
+ TXNID txnid_a = 1001;
+ lock_request request_a;
+ request_a.create();
+
+ TXNID txnid_b = 2001;
+ lock_request request_b;
+ request_b.create();
+
+ const DBT *one = get_dbt(1);
+
+ // a locks 'one'
+ request_a.set(lt, txnid_a, one, one, lock_request::type::WRITE, false);
+ r = request_a.start();
+ assert_zero(r);
+
+ // b tries to lock 'one'
+ request_b.set(lt, txnid_b, one, one, lock_request::type::WRITE, false);
+ r = request_b.start();
+ assert(r == DB_LOCK_NOTGRANTED);
+
+ uint64_t t_start = toku_current_time_microsec();
+ t_last_kill = t_start;
+ r = request_b.wait(my_lock_wait_time, my_killed_time, my_killed_callback);
+ assert(r == DB_LOCK_NOTGRANTED);
+
+ uint64_t t_end = toku_current_time_microsec();
+ assert(t_end > t_start);
+ uint64_t t_delta = t_end - t_start;
+ // fprintf(stderr, "delta=%" PRIu64 "\n", t_delta);
+ assert(t_delta >= my_lock_wait_time);
+
+ // fprintf(stderr, "killed_calls=%d\n", killed_calls);
+ assert(killed_calls > 0);
+
+ request_b.destroy();
+
+ release_lock_and_retry_requests(lt, txnid_a, one, one);
+ request_a.destroy();
+
+ mgr.release_lt(lt);
+ mgr.destroy();
+}
+
+} /* namespace toku */
+
+int main(void) {
+ toku::lock_request_unit_test test;
+ test.test_wait_time_callback();
+ return 0;
+}
+
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_start_deadlock.cc b/storage/tokudb/ft-index/locktree/tests/lock_request_start_deadlock.cc
index d170e08dedd..08bd4c14d20 100644
--- a/storage/tokudb/ft-index/locktree/tests/lock_request_start_deadlock.cc
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_start_deadlock.cc
@@ -111,48 +111,48 @@ void lock_request_unit_test::test_start_deadlock(void) {
lock_request request_a;
lock_request request_b;
lock_request request_c;
- request_a.create(lock_wait_time);
- request_b.create(lock_wait_time);
- request_c.create(lock_wait_time);
+ request_a.create();
+ request_b.create();
+ request_c.create();
const DBT *one = get_dbt(1);
const DBT *two = get_dbt(2);
// start and succeed 1,1 for A and 2,2 for B.
- request_a.set(lt, txnid_a, one, one, lock_request::type::WRITE);
+ request_a.set(lt, txnid_a, one, one, lock_request::type::WRITE, false);
r = request_a.start();
invariant_zero(r);
- request_b.set(lt, txnid_b, two, two, lock_request::type::WRITE);
+ request_b.set(lt, txnid_b, two, two, lock_request::type::WRITE, false);
r = request_b.start();
invariant_zero(r);
// txnid A should not be granted a lock on 2,2, so it goes pending.
- request_a.set(lt, txnid_a, two, two, lock_request::type::WRITE);
+ request_a.set(lt, txnid_a, two, two, lock_request::type::WRITE, false);
r = request_a.start();
invariant(r == DB_LOCK_NOTGRANTED);
// if txnid B wants a lock on 1,1 it should deadlock with A
- request_b.set(lt, txnid_b, one, one, lock_request::type::WRITE);
+ request_b.set(lt, txnid_b, one, one, lock_request::type::WRITE, false);
r = request_b.start();
invariant(r == DB_LOCK_DEADLOCK);
// txnid C should not deadlock on either of these - it should just time out.
- request_c.set(lt, txnid_c, one, one, lock_request::type::WRITE);
+ request_c.set(lt, txnid_c, one, one, lock_request::type::WRITE, false);
r = request_c.start();
invariant(r == DB_LOCK_NOTGRANTED);
- r = request_c.wait();
+ r = request_c.wait(lock_wait_time);
invariant(r == DB_LOCK_NOTGRANTED);
- request_c.set(lt, txnid_c, two, two, lock_request::type::WRITE);
+ request_c.set(lt, txnid_c, two, two, lock_request::type::WRITE, false);
r = request_c.start();
invariant(r == DB_LOCK_NOTGRANTED);
- r = request_c.wait();
+ r = request_c.wait(lock_wait_time);
invariant(r == DB_LOCK_NOTGRANTED);
// release locks for A and B, then wait on A's request which should succeed
// since B just unlocked and should have completed A's pending request.
release_lock_and_retry_requests(lt, txnid_a, one, one);
release_lock_and_retry_requests(lt, txnid_b, two, two);
- r = request_a.wait();
+ r = request_a.wait(lock_wait_time);
invariant_zero(r);
release_lock_and_retry_requests(lt, txnid_a, two, two);
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_start_pending.cc b/storage/tokudb/ft-index/locktree/tests/lock_request_start_pending.cc
index 04679c22ce9..867d5fb1bd0 100644
--- a/storage/tokudb/ft-index/locktree/tests/lock_request_start_pending.cc
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_start_pending.cc
@@ -100,8 +100,6 @@ void lock_request_unit_test::test_start_pending(void) {
locktree::manager mgr;
locktree *lt;
lock_request request;
- // bogus, just has to be something.
- const uint64_t lock_wait_time = 0;
mgr.create(nullptr, nullptr, nullptr, nullptr);
DICTIONARY_ID dict_id = { 1 };
@@ -115,15 +113,15 @@ void lock_request_unit_test::test_start_pending(void) {
const DBT *two = get_dbt(2);
// take a range lock using txnid b
- r = lt->acquire_write_lock(txnid_b, zero, two, nullptr);
+ r = lt->acquire_write_lock(txnid_b, zero, two, nullptr, false);
invariant_zero(r);
locktree::lt_lock_request_info *info = lt->get_lock_request_info();
// start a lock request for 1,1
// it should fail. the request should be stored and in the pending state.
- request.create(lock_wait_time);
- request.set(lt, txnid_a, one, one, lock_request::type::WRITE);
+ request.create();
+ request.set(lt, txnid_a, one, one, lock_request::type::WRITE, false);
r = request.start();
invariant(r == DB_LOCK_NOTGRANTED);
invariant(info->pending_lock_requests.size() == 1);
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_unit_test.h b/storage/tokudb/ft-index/locktree/tests/lock_request_unit_test.h
index 6ec451ed108..3183bf2b734 100644
--- a/storage/tokudb/ft-index/locktree/tests/lock_request_unit_test.h
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_unit_test.h
@@ -116,6 +116,9 @@ public:
// make sure deadlocks are detected when a lock request starts
void test_start_deadlock(void);
+ // test that the get_wait_time callback works
+ void test_wait_time_callback(void);
+
private:
// releases a single range lock and retries all lock requests.
// this is kind of like what the ydb layer does, except that
diff --git a/storage/tokudb/ft-index/locktree/tests/lock_request_wait_time_callback.cc b/storage/tokudb/ft-index/locktree/tests/lock_request_wait_time_callback.cc
new file mode 100644
index 00000000000..e077d461399
--- /dev/null
+++ b/storage/tokudb/ft-index/locktree/tests/lock_request_wait_time_callback.cc
@@ -0,0 +1,151 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include "lock_request_unit_test.h"
+
+namespace toku {
+
+static const uint64_t my_lock_wait_time = 10 * 1000; // 10 sec
+
+// make sure deadlocks are detected when a lock request starts
+void lock_request_unit_test::test_wait_time_callback(void) {
+ int r;
+ locktree::manager mgr;
+ locktree *lt;
+
+ mgr.create(nullptr, nullptr, nullptr, nullptr);
+ DICTIONARY_ID dict_id = { 1 };
+ lt = mgr.get_lt(dict_id, nullptr, compare_dbts, nullptr);
+
+ TXNID txnid_a = 1001;
+ lock_request request_a;
+ request_a.create();
+
+ TXNID txnid_b = 2001;
+ lock_request request_b;
+ request_b.create();
+
+ const DBT *one = get_dbt(1);
+ const DBT *two = get_dbt(2);
+
+ // a locks 'one'
+ request_a.set(lt, txnid_a, one, one, lock_request::type::WRITE, false);
+ r = request_a.start();
+ assert_zero(r);
+
+ // b tries to lock 'one'
+ request_b.set(lt, txnid_b, one, two, lock_request::type::WRITE, false);
+ r = request_b.start();
+ assert(r == DB_LOCK_NOTGRANTED);
+ uint64_t t_start = toku_current_time_microsec();
+ r = request_b.wait(my_lock_wait_time);
+ uint64_t t_end = toku_current_time_microsec();
+ assert(r == DB_LOCK_NOTGRANTED);
+ assert(t_end > t_start);
+ uint64_t t_delta = t_end - t_start;
+ assert(t_delta >= my_lock_wait_time);
+ request_b.destroy();
+
+ release_lock_and_retry_requests(lt, txnid_a, one, one);
+ request_a.destroy();
+
+ mgr.release_lt(lt);
+ mgr.destroy();
+}
+
+} /* namespace toku */
+
+int main(void) {
+ toku::lock_request_unit_test test;
+ test.test_wait_time_callback();
+ return 0;
+}
+
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_conflicts.cc b/storage/tokudb/ft-index/locktree/tests/locktree_conflicts.cc
index 9c684a9057a..70f3a6249c4 100644
--- a/storage/tokudb/ft-index/locktree/tests/locktree_conflicts.cc
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_conflicts.cc
@@ -125,8 +125,8 @@ void locktree_unit_test::test_conflicts(void) {
// test_run == 0 means test with read lock
// test_run == 1 means test with write lock
#define ACQUIRE_LOCK(txn, left, right, conflicts) \
- test_run == 0 ? lt->acquire_read_lock(txn, left, right, conflicts) \
- : lt->acquire_write_lock(txn, left, right, conflicts)
+ test_run == 0 ? lt->acquire_read_lock(txn, left, right, conflicts, false) \
+ : lt->acquire_write_lock(txn, left, right, conflicts, false)
// acquire some locks for txnid_a
r = ACQUIRE_LOCK(txnid_a, one, one, nullptr);
@@ -142,8 +142,8 @@ void locktree_unit_test::test_conflicts(void) {
// if test_run == 0, then read locks exist. only test write locks.
#define ACQUIRE_LOCK(txn, left, right, conflicts) \
sub_test_run == 0 && test_run == 1 ? \
- lt->acquire_read_lock(txn, left, right, conflicts) \
- : lt->acquire_write_lock(txn, left, right, conflicts)
+ lt->acquire_read_lock(txn, left, right, conflicts, false) \
+ : lt->acquire_write_lock(txn, left, right, conflicts, false)
// try to get point write locks for txnid_b, should fail
r = ACQUIRE_LOCK(txnid_b, one, one, nullptr);
invariant(r == DB_LOCK_NOTGRANTED);
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_escalation_1big7lt_1small.cc b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_1big7lt_1small.cc
new file mode 100644
index 00000000000..7c4af67e6f8
--- /dev/null
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_1big7lt_1small.cc
@@ -0,0 +1,304 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include <stdio.h>
+#include "locktree.h"
+#include "test.h"
+
+// ensure that small transactions do not get stalled by a big transaction that has lots of locks
+// ./locktree_escalation_big7_small1 --stalls 100 --max_lock_memory 1000000000 --verbose
+
+using namespace toku;
+
+static int verbose = 0;
+static int killed = 0;
+static pthread_t big_id, small_id;
+
+static void locktree_release_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k) {
+ range_buffer buffer;
+ buffer.create();
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ buffer.append(&left, &right);
+ lt->release_locks(txn_id, &buffer);
+ buffer.destroy();
+}
+
+// grab a write range lock on int64 keys bounded by left_k and right_k
+static int locktree_write_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k, bool big_txn) {
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ return lt->acquire_write_lock(txn_id, &left, &right, nullptr, big_txn);
+}
+
+#if 0
+static locktree **big_txn_lt;
+static int n_big_txn_lt;
+
+static int get_locktrees_touched_by_txn(TXNID txn_id UU(), void *txn_extra UU(), locktree ***ret_locktrees, int *ret_num_locktrees) {
+ locktree **locktrees = (locktree **) toku_malloc(n_big_txn_lt * sizeof (locktree *));
+ for (int i = 0; i < n_big_txn_lt; i++)
+ locktrees[i] = big_txn_lt[i];
+ *ret_locktrees = locktrees;
+ *ret_num_locktrees = n_big_txn_lt;
+ return 0;
+}
+#endif
+
+static void run_big_txn(locktree::manager *mgr UU(), locktree **lt, int n_lt, TXNID txn_id) {
+ int64_t last_i = -1;
+ for (int64_t i = 0; !killed; i++) {
+ for (int j = 0; j < n_lt; j++) {
+ uint64_t t_start = toku_current_time_microsec();
+ int r = locktree_write_lock(lt[j], txn_id, i, i, true);
+ assert(r == 0);
+ last_i = i;
+ uint64_t t_end = toku_current_time_microsec();
+ uint64_t t_duration = t_end - t_start;
+ if (t_duration > 100000) {
+ printf("%u %s %" PRId64 " %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, i, t_duration);
+ }
+ }
+ toku_pthread_yield();
+ }
+ if (last_i != -1)
+ for (int j = 0; j < n_lt; j++)
+ locktree_release_lock(lt[j], txn_id, 0, last_i); // release the range 0 .. last_i
+ if (verbose)
+ printf("%u %s %" PRId64 "\n", toku_os_gettid(), __FUNCTION__, last_i);
+}
+
+struct big_arg {
+ locktree::manager *mgr;
+ locktree **lt;
+ int n_lt;
+ TXNID txn_id;
+};
+
+static void *big_f(void *_arg) {
+ struct big_arg *arg = (struct big_arg *) _arg;
+ assert(pthread_equal(pthread_self(), big_id));
+ printf("%u %s\n", toku_os_gettid(), __FUNCTION__);
+ run_big_txn(arg->mgr, arg->lt, arg->n_lt, arg->txn_id);
+ return arg;
+}
+
+static void run_small_txn(locktree::manager *mgr UU(), locktree *lt, TXNID txn_id, int64_t k) {
+ int64_t i;
+ for (i = 0; !killed; i++) {
+ uint64_t t_start = toku_current_time_microsec();
+ int r = locktree_write_lock(lt, txn_id, k, k, false);
+ assert(r == 0);
+ uint64_t t_end = toku_current_time_microsec();
+ uint64_t t_duration = t_end - t_start;
+ if (t_duration > 100000) {
+ printf("%u %s %" PRId64 " %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, i, t_duration);
+ }
+ locktree_release_lock(lt, txn_id, k, k);
+ toku_pthread_yield();
+ }
+ if (verbose)
+ printf("%u %s %" PRId64 "\n", toku_os_gettid(), __FUNCTION__, i);
+}
+
+struct small_arg {
+ locktree::manager *mgr;
+ locktree *lt;
+ TXNID txn_id;
+ int64_t k;
+};
+
+static void *small_f(void *_arg) {
+ struct small_arg *arg = (struct small_arg *) _arg;
+ printf("%u %s\n", toku_os_gettid(), __FUNCTION__);
+ run_small_txn(arg->mgr, arg->lt, arg->txn_id, arg->k);
+ return arg;
+}
+
+static void e_callback(TXNID txnid, const locktree *lt, const range_buffer &buffer, void *extra) {
+ assert(pthread_equal(pthread_self(), big_id));
+ if (verbose)
+ printf("%u %s %" PRIu64 " %p %d %p\n", toku_os_gettid(), __FUNCTION__, txnid, lt, buffer.get_num_ranges(), extra);
+}
+
+static uint64_t get_escalation_count(locktree::manager &mgr) {
+ LTM_STATUS_S ltm_status;
+ mgr.get_status(&ltm_status);
+
+ TOKU_ENGINE_STATUS_ROW key_status = NULL;
+ // lookup keyname in status
+ for (int i = 0; ; i++) {
+ TOKU_ENGINE_STATUS_ROW status = &ltm_status.status[i];
+ if (status->keyname == NULL)
+ break;
+ if (strcmp(status->keyname, "LTM_ESCALATION_COUNT") == 0) {
+ key_status = status;
+ break;
+ }
+ }
+ assert(key_status);
+ return key_status->value.num;
+}
+
+int main(int argc, const char *argv[]) {
+ uint64_t stalls = 1;
+ int n_big = 7;
+ uint64_t max_lock_memory = 1000000;
+
+ for (int i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
+ verbose++;
+ continue;
+ }
+ if (strcmp(argv[i], "--stalls") == 0 && i+1 < argc) {
+ stalls = atoll(argv[++i]);
+ continue;
+ }
+ if (strcmp(argv[i], "--max_lock_memory") == 0 && i+1 < argc) {
+ max_lock_memory = atoll(argv[++i]);
+ continue;
+ }
+ }
+
+ int r;
+
+ // create a manager
+ locktree::manager mgr;
+ mgr.create(nullptr, nullptr, e_callback, nullptr);
+ mgr.set_max_lock_memory(max_lock_memory);
+
+ // create lock trees
+ uint64_t next_dict_id = 1;
+ DICTIONARY_ID dict_id;
+ locktree *big_lt[n_big];
+ for (int i = 0; i < n_big; i++) {
+ dict_id = { next_dict_id }; next_dict_id++;
+ big_lt[i] = mgr.get_lt(dict_id, nullptr, compare_dbts, nullptr);
+ }
+
+#if 0
+ big_txn_lt = big_lt;
+ n_big_txn_lt = n_big;
+#endif
+
+ dict_id = { next_dict_id }; next_dict_id++;
+ locktree *small_lt = mgr.get_lt(dict_id, nullptr, compare_dbts, nullptr);
+
+ // create the worker threads
+ struct big_arg big_arg = { &mgr, big_lt, n_big, 1000 };
+ r = toku_pthread_create(&big_id, nullptr, big_f, &big_arg);
+ assert(r == 0);
+
+ struct small_arg small_arg = { &mgr, small_lt, 2000, 0 };
+ r = toku_pthread_create(&small_id, nullptr, small_f, &small_arg);
+ assert(r == 0);
+
+ // wait for some escalations to occur
+ while (get_escalation_count(mgr) < stalls) {
+ sleep(1);
+ }
+ killed = 1;
+
+ // cleanup
+ void *ret;
+ r = toku_pthread_join(big_id, &ret);
+ assert(r == 0);
+
+ r = toku_pthread_join(small_id, &ret);
+ assert(r == 0);
+
+ for (int i = 0; i < n_big; i++)
+ mgr.release_lt(big_lt[i]);
+ mgr.release_lt(small_lt);
+ mgr.destroy();
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_1lt.cc b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_1lt.cc
new file mode 100644
index 00000000000..ab1818d2fd3
--- /dev/null
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_1lt.cc
@@ -0,0 +1,250 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include <stdio.h>
+#include "locktree.h"
+#include "test.h"
+
+// One client locks 1,2,3...
+// The other client locks -1,-2,-3...
+// Eventually lock escalation runs.
+
+using namespace toku;
+
+static int verbose = 0;
+static int killed = 0;
+
+static void locktree_release_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k) {
+ range_buffer buffer;
+ buffer.create();
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ buffer.append(&left, &right);
+ lt->release_locks(txn_id, &buffer);
+ buffer.destroy();
+}
+
+// grab a write range lock on int64 keys bounded by left_k and right_k
+static int locktree_write_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k, bool big_txn) {
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ return lt->acquire_write_lock(txn_id, &left, &right, nullptr, big_txn);
+}
+
+static void run_big_txn(locktree::manager *mgr UU(), locktree *lt, TXNID txn_id, int64_t start_i) {
+ fprintf(stderr, "%u run_big_txn %p %" PRIu64 " %" PRId64 "\n", toku_os_gettid(), lt, txn_id, start_i);
+ int64_t last_i = -1;
+ for (int64_t i = start_i; !killed; i++) {
+ if (0)
+ printf("%u %" PRId64 "\n", toku_os_gettid(), i);
+ uint64_t t_start = toku_current_time_microsec();
+ int r = locktree_write_lock(lt, txn_id, i, i, true);
+ if (r != 0)
+ break;
+ last_i = i;
+ uint64_t t_end = toku_current_time_microsec();
+ uint64_t t_duration = t_end - t_start;
+ if (t_duration > 100000) {
+ printf("%u %s %" PRId64 " %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, i, t_duration);
+ }
+ toku_pthread_yield();
+ }
+ if (last_i != -1)
+ locktree_release_lock(lt, txn_id, start_i, last_i); // release the range start_i .. last_i
+}
+
+struct arg {
+ locktree::manager *mgr;
+ locktree *lt;
+ TXNID txn_id;
+ int64_t start_i;
+};
+
+static void *big_f(void *_arg) {
+ struct arg *arg = (struct arg *) _arg;
+ run_big_txn(arg->mgr, arg->lt, arg->txn_id, arg->start_i);
+ return arg;
+}
+
+static void e_callback(TXNID txnid, const locktree *lt, const range_buffer &buffer, void *extra) {
+ if (verbose)
+ printf("%u %s %" PRIu64 " %p %d %p\n", toku_os_gettid(), __FUNCTION__, txnid, lt, buffer.get_num_ranges(), extra);
+}
+
+static uint64_t get_escalation_count(locktree::manager &mgr) {
+ LTM_STATUS_S ltm_status;
+ mgr.get_status(&ltm_status);
+
+ TOKU_ENGINE_STATUS_ROW key_status = NULL;
+ // lookup keyname in status
+ for (int i = 0; ; i++) {
+ TOKU_ENGINE_STATUS_ROW status = &ltm_status.status[i];
+ if (status->keyname == NULL)
+ break;
+ if (strcmp(status->keyname, "LTM_ESCALATION_COUNT") == 0) {
+ key_status = status;
+ break;
+ }
+ }
+ assert(key_status);
+ return key_status->value.num;
+}
+
+int main(int argc, const char *argv[]) {
+ const int n_big = 2;
+ int n_lt = 1;
+ uint64_t stalls = 1;
+ uint64_t max_lock_memory = 1000000;
+
+ for (int i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
+ verbose++;
+ continue;
+ }
+ if (strcmp(argv[i], "--stalls") == 0 && i+1 < argc) {
+ stalls = atoll(argv[++i]);
+ continue;
+ }
+ if (strcmp(argv[i], "--n_lt") == 0 && i+1 < argc) {
+ n_lt = atoi(argv[++i]);
+ continue;
+ }
+ if (strcmp(argv[i], "--max_lock_memory") == 0 && i+1 < argc) {
+ max_lock_memory = atoll(argv[++i]);
+ continue;
+ }
+ }
+
+ int r;
+
+ // create a manager
+ locktree::manager mgr;
+ mgr.create(nullptr, nullptr, e_callback, nullptr);
+ mgr.set_max_lock_memory(max_lock_memory);
+
+ // create lock trees
+ DESCRIPTOR desc[n_lt];
+ DICTIONARY_ID dict_id[n_lt];
+ locktree *lt[n_big];
+ for (int i = 0; i < n_lt; i++) {
+ desc[i] = nullptr;
+ dict_id[i] = { (uint64_t)i };
+ lt[i] = mgr.get_lt(dict_id[i], desc[i], compare_dbts, nullptr);
+ assert(lt[i]);
+ }
+
+ // create the worker threads
+ struct arg big_arg[n_big];
+ pthread_t big_ids[n_big];
+ for (int i = 0; i < n_big; i++) {
+ big_arg[i] = { &mgr, lt[i % n_lt], (TXNID)(1000+i), i == 0 ? 1 : -1000000000 };
+ r = toku_pthread_create(&big_ids[i], nullptr, big_f, &big_arg[i]);
+ assert(r == 0);
+ }
+
+ // wait for some escalations to occur
+ while (get_escalation_count(mgr) < stalls) {
+ sleep(1);
+ }
+ killed = 1;
+
+ // cleanup
+ for (int i = 0; i < n_big; i++) {
+ void *ret;
+ r = toku_pthread_join(big_ids[i], &ret);
+ assert(r == 0);
+ }
+ for (int i = 0; i < n_lt ; i++) {
+ mgr.release_lt(lt[i]);
+ }
+ mgr.destroy();
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_2lt.cc b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_2lt.cc
new file mode 100644
index 00000000000..d9f62ca29f3
--- /dev/null
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_2big_2lt.cc
@@ -0,0 +1,250 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include <stdio.h>
+#include "locktree.h"
+#include "test.h"
+
+// One client locks 1,2,3...
+// The other client locks -1,-2,-3...
+// Eventually lock escalation runs.
+
+using namespace toku;
+
+static int verbose = 0;
+static int killed = 0;
+
+static void locktree_release_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k) {
+ range_buffer buffer;
+ buffer.create();
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ buffer.append(&left, &right);
+ lt->release_locks(txn_id, &buffer);
+ buffer.destroy();
+}
+
+// grab a write range lock on int64 keys bounded by left_k and right_k
+static int locktree_write_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k, bool big_txn) {
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ return lt->acquire_write_lock(txn_id, &left, &right, nullptr, big_txn);
+}
+
+static void run_big_txn(locktree::manager *mgr UU(), locktree *lt, TXNID txn_id, int64_t start_i) {
+ fprintf(stderr, "%u run_big_txn %p %" PRIu64 " %" PRId64 "\n", toku_os_gettid(), lt, txn_id, start_i);
+ int64_t last_i = -1;
+ for (int64_t i = start_i; !killed; i++) {
+ if (0)
+ printf("%u %" PRId64 "\n", toku_os_gettid(), i);
+ uint64_t t_start = toku_current_time_microsec();
+ int r = locktree_write_lock(lt, txn_id, i, i, true);
+ if (r != 0)
+ break;
+ last_i = i;
+ uint64_t t_end = toku_current_time_microsec();
+ uint64_t t_duration = t_end - t_start;
+ if (t_duration > 100000) {
+ printf("%u %s %" PRId64 " %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, i, t_duration);
+ }
+ toku_pthread_yield();
+ }
+ if (last_i != -1)
+ locktree_release_lock(lt, txn_id, start_i, last_i); // release the range start_i .. last_i
+}
+
+struct arg {
+ locktree::manager *mgr;
+ locktree *lt;
+ TXNID txn_id;
+ int64_t start_i;
+};
+
+static void *big_f(void *_arg) {
+ struct arg *arg = (struct arg *) _arg;
+ run_big_txn(arg->mgr, arg->lt, arg->txn_id, arg->start_i);
+ return arg;
+}
+
+static void e_callback(TXNID txnid, const locktree *lt, const range_buffer &buffer, void *extra) {
+ if (verbose)
+ printf("%u %s %" PRIu64 " %p %d %p\n", toku_os_gettid(), __FUNCTION__, txnid, lt, buffer.get_num_ranges(), extra);
+}
+
+static uint64_t get_escalation_count(locktree::manager &mgr) {
+ LTM_STATUS_S ltm_status;
+ mgr.get_status(&ltm_status);
+
+ TOKU_ENGINE_STATUS_ROW key_status = NULL;
+ // lookup keyname in status
+ for (int i = 0; ; i++) {
+ TOKU_ENGINE_STATUS_ROW status = &ltm_status.status[i];
+ if (status->keyname == NULL)
+ break;
+ if (strcmp(status->keyname, "LTM_ESCALATION_COUNT") == 0) {
+ key_status = status;
+ break;
+ }
+ }
+ assert(key_status);
+ return key_status->value.num;
+}
+
+int main(int argc, const char *argv[]) {
+ const int n_big = 2;
+ int n_lt = 2;
+ uint64_t stalls = 1;
+ uint64_t max_lock_memory = 1000000;
+
+ for (int i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
+ verbose++;
+ continue;
+ }
+ if (strcmp(argv[i], "--stalls") == 0 && i+1 < argc) {
+ stalls = atoll(argv[++i]);
+ continue;
+ }
+ if (strcmp(argv[i], "--n_lt") == 0 && i+1 < argc) {
+ n_lt = atoi(argv[++i]);
+ continue;
+ }
+ if (strcmp(argv[i], "--max_lock_memory") == 0 && i+1 < argc) {
+ max_lock_memory = atoll(argv[++i]);
+ continue;
+ }
+ }
+
+ int r;
+
+ // create a manager
+ locktree::manager mgr;
+ mgr.create(nullptr, nullptr, e_callback, nullptr);
+ mgr.set_max_lock_memory(max_lock_memory);
+
+ // create lock trees
+ DESCRIPTOR desc[n_lt];
+ DICTIONARY_ID dict_id[n_lt];
+ locktree *lt[n_big];
+ for (int i = 0; i < n_lt; i++) {
+ desc[i] = nullptr;
+ dict_id[i] = { (uint64_t)i };
+ lt[i] = mgr.get_lt(dict_id[i], desc[i], compare_dbts, nullptr);
+ assert(lt[i]);
+ }
+
+ // create the worker threads
+ struct arg big_arg[n_big];
+ pthread_t big_ids[n_big];
+ for (int i = 0; i < n_big; i++) {
+ big_arg[i] = { &mgr, lt[i % n_lt], (TXNID)(1000+i), i == 0 ? 1 : -1000000000 };
+ r = toku_pthread_create(&big_ids[i], nullptr, big_f, &big_arg[i]);
+ assert(r == 0);
+ }
+
+ // wait for some escalations to occur
+ while (get_escalation_count(mgr) < stalls) {
+ sleep(1);
+ }
+ killed = 1;
+
+ // cleanup
+ for (int i = 0; i < n_big; i++) {
+ void *ret;
+ r = toku_pthread_join(big_ids[i], &ret);
+ assert(r == 0);
+ }
+ for (int i = 0; i < n_lt ; i++) {
+ mgr.release_lt(lt[i]);
+ }
+ mgr.destroy();
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_escalation_impossible.cc b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_impossible.cc
new file mode 100644
index 00000000000..cdee8b9d333
--- /dev/null
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_impossible.cc
@@ -0,0 +1,204 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include <stdio.h>
+#include "locktree.h"
+#include "test.h"
+
+// Two big txn's grab alternating locks in a single lock tree.
+// Eventually lock escalation runs.
+// Since the locks can not be consolidated, the out of locks error should be returned.
+
+using namespace toku;
+
+static int verbose = 0;
+
+static inline void locktree_release_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k) {
+ range_buffer buffer;
+ buffer.create();
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ buffer.append(&left, &right);
+ lt->release_locks(txn_id, &buffer);
+ buffer.destroy();
+}
+
+// grab a write range lock on int64 keys bounded by left_k and right_k
+static int locktree_write_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k, bool big_txn) {
+ DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
+ DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
+ return lt->acquire_write_lock(txn_id, &left, &right, nullptr, big_txn);
+}
+
+static void e_callback(TXNID txnid, const locktree *lt, const range_buffer &buffer, void *extra) {
+ if (verbose)
+ printf("%u %s %" PRIu64 " %p %d %p\n", toku_os_gettid(), __FUNCTION__, txnid, lt, buffer.get_num_ranges(), extra);
+}
+
+static uint64_t get_escalation_count(locktree::manager &mgr) {
+ LTM_STATUS_S ltm_status;
+ mgr.get_status(&ltm_status);
+
+ TOKU_ENGINE_STATUS_ROW key_status = NULL;
+ // lookup keyname in status
+ for (int i = 0; ; i++) {
+ TOKU_ENGINE_STATUS_ROW status = &ltm_status.status[i];
+ if (status->keyname == NULL)
+ break;
+ if (strcmp(status->keyname, "LTM_ESCALATION_COUNT") == 0) {
+ key_status = status;
+ break;
+ }
+ }
+ assert(key_status);
+ return key_status->value.num;
+}
+
+int main(int argc, const char *argv[]) {
+ uint64_t max_lock_memory = 1000000;
+
+ for (int i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
+ verbose++;
+ continue;
+ }
+ if (strcmp(argv[i], "--max_lock_memory") == 0 && i+1 < argc) {
+ max_lock_memory = atoll(argv[++i]);
+ continue;
+ }
+ }
+
+ int r;
+
+ // create a manager
+ locktree::manager mgr;
+ mgr.create(nullptr, nullptr, e_callback, nullptr);
+ mgr.set_max_lock_memory(max_lock_memory);
+
+ const TXNID txn_a = 10;
+ const TXNID txn_b = 100;
+
+ // create lock trees
+ DESCRIPTOR desc = nullptr;
+ DICTIONARY_ID dict_id = { 1 };
+ locktree *lt = mgr.get_lt(dict_id, desc, compare_dbts, nullptr);
+
+ int64_t last_i = -1;
+ for (int64_t i = 0; ; i++) {
+ if (verbose)
+ printf("%" PRId64 "\n", i);
+ int64_t k = 2*i;
+ r = locktree_write_lock(lt, txn_a, k, k, true);
+ if (r != 0) {
+ assert(r == TOKUDB_OUT_OF_LOCKS);
+ break;
+ }
+ last_i = i;
+ r = locktree_write_lock(lt, txn_b, k+1, k+1, true);
+ if (r != 0) {
+ assert(r == TOKUDB_OUT_OF_LOCKS);
+ break;
+ }
+ }
+
+ // wait for an escalation to occur
+ assert(get_escalation_count(mgr) > 0);
+
+ if (last_i != -1) {
+ locktree_release_lock(lt, txn_a, 0, 2*last_i);
+ locktree_release_lock(lt, txn_b, 0, 2*last_i+1);
+ }
+
+ mgr.release_lt(lt);
+ mgr.destroy();
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_escalation_stalls.cc b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_stalls.cc
index a41040410b0..28ae88cb3a8 100644
--- a/storage/tokudb/ft-index/locktree/tests/locktree_escalation_stalls.cc
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_escalation_stalls.cc
@@ -89,6 +89,17 @@ PATENT RIGHTS GRANT:
#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+// This test verifies that small txn's do not get stalled for a long time by lock escalation.
+// Two lock trees are used by the test: a big lock tree and a small lock tree.
+// One big txn grabs lots of write locks on the big lock tree.
+// Several small txn's grab a single write lock on the small lock tree.
+// None of the locks conflict.
+// Eventually, the locks for the big txn consume all of the lock tree memory, so lock escalation runs.
+// The test measures the lock acquisition time and makes sure that the small txn's are not blocked for
+
+// locktree_escalation_stalls -v --stalls 10
+// verify that only big txn's get tagged with > 1 second stalls
+
#include <stdio.h>
#include "locktree.h"
#include "test.h"
@@ -96,6 +107,7 @@ PATENT RIGHTS GRANT:
using namespace toku;
static int verbose = 0;
+static int killed = 0;
static void locktree_release_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k) {
range_buffer buffer;
@@ -108,38 +120,42 @@ static void locktree_release_lock(locktree *lt, TXNID txn_id, int64_t left_k, in
}
// grab a write range lock on int64 keys bounded by left_k and right_k
-static int locktree_write_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k) {
+static int locktree_write_lock(locktree *lt, TXNID txn_id, int64_t left_k, int64_t right_k, bool big_txn) {
DBT left; toku_fill_dbt(&left, &left_k, sizeof left_k);
DBT right; toku_fill_dbt(&right, &right_k, sizeof right_k);
- return lt->acquire_write_lock(txn_id, &left, &right, nullptr);
+ return lt->acquire_write_lock(txn_id, &left, &right, nullptr, big_txn);
}
-static void run_big_txn(locktree::manager *mgr, locktree *lt, TXNID txn_id) {
- mgr = mgr;
- for (int64_t i = 0; 1; i++) {
+static void run_big_txn(locktree::manager *mgr UU(), locktree *lt, TXNID txn_id) {
+ int64_t last_i = -1;
+ for (int64_t i = 0; !killed; i++) {
uint64_t t_start = toku_current_time_microsec();
- int r = locktree_write_lock(lt, txn_id, i, i);
+ int r = locktree_write_lock(lt, txn_id, i, i, true);
assert(r == 0);
+ last_i = i;
uint64_t t_end = toku_current_time_microsec();
uint64_t t_duration = t_end - t_start;
if (t_duration > 100000) {
printf("%u %s %" PRId64 " %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, i, t_duration);
}
+ toku_pthread_yield();
}
+ if (last_i != -1)
+ locktree_release_lock(lt, txn_id, 0, last_i); // release the range 0 .. last_i
}
-static void run_small_txn(locktree::manager *mgr, locktree *lt, TXNID txn_id, int64_t k) {
- mgr = mgr;
- for (int64_t i = 0; 1; i++) {
+static void run_small_txn(locktree::manager *mgr UU(), locktree *lt, TXNID txn_id, int64_t k) {
+ for (int64_t i = 0; !killed; i++) {
uint64_t t_start = toku_current_time_microsec();
- int r = locktree_write_lock(lt, txn_id, k, k);
+ int r = locktree_write_lock(lt, txn_id, k, k, false);
assert(r == 0);
uint64_t t_end = toku_current_time_microsec();
uint64_t t_duration = t_end - t_start;
if (t_duration > 100000) {
printf("%u %s %" PRId64 " %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, i, t_duration);
}
- locktree_release_lock(lt, txn_id, i, i);
+ locktree_release_lock(lt, txn_id, k, k);
+ toku_pthread_yield();
}
}
@@ -167,15 +183,49 @@ static void e_callback(TXNID txnid, const locktree *lt, const range_buffer &buff
printf("%u %s %" PRIu64 " %p %d %p\n", toku_os_gettid(), __FUNCTION__, txnid, lt, buffer.get_num_ranges(), extra);
}
+static uint64_t get_escalation_count(locktree::manager &mgr) {
+ LTM_STATUS_S ltm_status;
+ mgr.get_status(&ltm_status);
+
+ TOKU_ENGINE_STATUS_ROW key_status = NULL;
+ // lookup keyname in status
+ for (int i = 0; ; i++) {
+ TOKU_ENGINE_STATUS_ROW status = &ltm_status.status[i];
+ if (status->keyname == NULL)
+ break;
+ if (strcmp(status->keyname, "LTM_ESCALATION_COUNT") == 0) {
+ key_status = status;
+ break;
+ }
+ }
+ assert(key_status);
+ return key_status->value.num;
+}
+
int main(int argc, const char *argv[]) {
- if (argc == 1 || argv == nullptr)
- return 0;
+ uint64_t stalls = 0;
+ uint64_t max_lock_memory = 1000000000;
+ for (int i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
+ verbose++;
+ continue;
+ }
+ if (strcmp(argv[i], "--stalls") == 0 && i+1 < argc) {
+ stalls = atoll(argv[++i]);
+ continue;
+ }
+ if (strcmp(argv[i], "--max_lock_memory") == 0 && i+1 < argc) {
+ max_lock_memory = atoll(argv[++i]);
+ continue;
+ }
+ }
+
int r;
// create a manager
locktree::manager mgr;
mgr.create(nullptr, nullptr, e_callback, nullptr);
- mgr.set_max_lock_memory(1000000000);
+ mgr.set_max_lock_memory(max_lock_memory);
// create lock trees
DESCRIPTOR desc_0 = nullptr;
@@ -186,6 +236,7 @@ int main(int argc, const char *argv[]) {
DICTIONARY_ID dict_id_1 = { 2 };
locktree *lt_1 = mgr.get_lt(dict_id_1, desc_1, compare_dbts, nullptr);
+ // create the worker threads
struct arg big_arg = { &mgr, lt_0, 1000 };
pthread_t big_id;
r = toku_pthread_create(&big_id, nullptr, big_f, &big_arg);
@@ -201,6 +252,13 @@ int main(int argc, const char *argv[]) {
assert(r == 0);
}
+ // wait for some escalations to occur
+ while (get_escalation_count(mgr) < stalls) {
+ sleep(1);
+ }
+ killed = 1;
+
+ // cleanup
void *ret;
r = toku_pthread_join(big_id, &ret);
assert(r == 0);
@@ -210,7 +268,6 @@ int main(int argc, const char *argv[]) {
assert(r == 0);
}
- // cleanup
mgr.release_lt(lt_0);
mgr.release_lt(lt_1);
mgr.destroy();
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_infinity.cc b/storage/tokudb/ft-index/locktree/tests/locktree_infinity.cc
index fd3dd1ca605..142e50992a6 100644
--- a/storage/tokudb/ft-index/locktree/tests/locktree_infinity.cc
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_infinity.cc
@@ -112,54 +112,54 @@ void locktree_unit_test::test_infinity(void) {
const DBT max_int = max_dbt();
// txn A will lock -inf, 5.
- r = lt->acquire_write_lock(txnid_a, toku_dbt_negative_infinity(), five, nullptr);
+ r = lt->acquire_write_lock(txnid_a, toku_dbt_negative_infinity(), five, nullptr, false);
invariant(r == 0);
// txn B will fail to get any lock <= 5, even min_int
- r = lt->acquire_write_lock(txnid_b, five, five, nullptr);
+ r = lt->acquire_write_lock(txnid_b, five, five, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, zero, one, nullptr);
+ r = lt->acquire_write_lock(txnid_b, zero, one, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, &min_int, &min_int, nullptr);
+ r = lt->acquire_write_lock(txnid_b, &min_int, &min_int, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, toku_dbt_negative_infinity(), &min_int, nullptr);
+ r = lt->acquire_write_lock(txnid_b, toku_dbt_negative_infinity(), &min_int, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
lt->remove_overlapping_locks_for_txnid(txnid_a, toku_dbt_negative_infinity(), five);
// txn A will lock 1, +inf
- r = lt->acquire_write_lock(txnid_a, one, toku_dbt_positive_infinity(), nullptr);
+ r = lt->acquire_write_lock(txnid_a, one, toku_dbt_positive_infinity(), nullptr, false);
invariant(r == 0);
// txn B will fail to get any lock >= 1, even max_int
- r = lt->acquire_write_lock(txnid_b, one, one, nullptr);
+ r = lt->acquire_write_lock(txnid_b, one, one, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, two, five, nullptr);
+ r = lt->acquire_write_lock(txnid_b, two, five, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, &max_int, &max_int, nullptr);
+ r = lt->acquire_write_lock(txnid_b, &max_int, &max_int, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, &max_int, toku_dbt_positive_infinity(), nullptr);
+ r = lt->acquire_write_lock(txnid_b, &max_int, toku_dbt_positive_infinity(), nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
lt->remove_overlapping_locks_for_txnid(txnid_a, toku_dbt_negative_infinity(), five);
// txn A will lock -inf, +inf
- r = lt->acquire_write_lock(txnid_a, toku_dbt_negative_infinity(), toku_dbt_positive_infinity(), nullptr);
+ r = lt->acquire_write_lock(txnid_a, toku_dbt_negative_infinity(), toku_dbt_positive_infinity(), nullptr, false);
invariant(r == 0);
// txn B will fail to get any lock
- r = lt->acquire_write_lock(txnid_b, zero, one, nullptr);
+ r = lt->acquire_write_lock(txnid_b, zero, one, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, two, five, nullptr);
+ r = lt->acquire_write_lock(txnid_b, two, five, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, &min_int, &min_int, nullptr);
+ r = lt->acquire_write_lock(txnid_b, &min_int, &min_int, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, &min_int, &max_int, nullptr);
+ r = lt->acquire_write_lock(txnid_b, &min_int, &max_int, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, &max_int, &max_int, nullptr);
+ r = lt->acquire_write_lock(txnid_b, &max_int, &max_int, nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, toku_dbt_negative_infinity(), toku_dbt_negative_infinity(), nullptr);
+ r = lt->acquire_write_lock(txnid_b, toku_dbt_negative_infinity(), toku_dbt_negative_infinity(), nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, toku_dbt_negative_infinity(), toku_dbt_positive_infinity(), nullptr);
+ r = lt->acquire_write_lock(txnid_b, toku_dbt_negative_infinity(), toku_dbt_positive_infinity(), nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
- r = lt->acquire_write_lock(txnid_b, toku_dbt_positive_infinity(), toku_dbt_positive_infinity(), nullptr);
+ r = lt->acquire_write_lock(txnid_b, toku_dbt_positive_infinity(), toku_dbt_positive_infinity(), nullptr, false);
invariant(r == DB_LOCK_NOTGRANTED);
lt->remove_overlapping_locks_for_txnid(txnid_a, toku_dbt_negative_infinity(), toku_dbt_positive_infinity());
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_overlapping_relock.cc b/storage/tokudb/ft-index/locktree/tests/locktree_overlapping_relock.cc
index 4567b90a420..ecb710517e1 100644
--- a/storage/tokudb/ft-index/locktree/tests/locktree_overlapping_relock.cc
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_overlapping_relock.cc
@@ -121,15 +121,15 @@ void locktree_unit_test::test_overlapping_relock(void) {
// do something. at the end of the test, we release 100, 100.
const TXNID the_other_txnid = 9999;
const DBT *hundred = get_dbt(100);
- r = lt->acquire_write_lock(the_other_txnid, hundred, hundred, nullptr);
+ r = lt->acquire_write_lock(the_other_txnid, hundred, hundred, nullptr, false);
invariant(r == 0);
for (int test_run = 0; test_run < 2; test_run++) {
// test_run == 0 means test with read lock
// test_run == 1 means test with write lock
#define ACQUIRE_LOCK(txn, left, right, conflicts) \
- test_run == 0 ? lt->acquire_read_lock(txn, left, right, conflicts) \
- : lt->acquire_write_lock(txn, left, right, conflicts)
+ test_run == 0 ? lt->acquire_read_lock(txn, left, right, conflicts, false) \
+ : lt->acquire_write_lock(txn, left, right, conflicts, false)
// lock [1,1] and [2,2]. then lock [1,2].
// ensure only [1,2] exists in the tree
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_simple_lock.cc b/storage/tokudb/ft-index/locktree/tests/locktree_simple_lock.cc
index 44fe0c578a0..549a44a1479 100644
--- a/storage/tokudb/ft-index/locktree/tests/locktree_simple_lock.cc
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_simple_lock.cc
@@ -115,8 +115,8 @@ void locktree_unit_test::test_simple_lock(void) {
// test_run == 0 means test with read lock
// test_run == 1 means test with write lock
#define ACQUIRE_LOCK(txn, left, right, conflicts) \
- test_run == 0 ? lt->acquire_read_lock(txn, left, right, conflicts) \
- : lt->acquire_write_lock(txn, left, right, conflicts)
+ test_run == 0 ? lt->acquire_read_lock(txn, left, right, conflicts, false) \
+ : lt->acquire_write_lock(txn, left, right, conflicts, false)
// four txns, four points
r = ACQUIRE_LOCK(txnid_a, one, one, nullptr);
@@ -178,7 +178,7 @@ void locktree_unit_test::test_simple_lock(void) {
for (int64_t i = 0; i < num_locks; i++) {
k.data = (void *) &keys[i];
- r = lt->acquire_read_lock(txnid_a, &k, &k, nullptr);
+ r = lt->acquire_read_lock(txnid_a, &k, &k, nullptr, false);
invariant(r == 0);
}
diff --git a/storage/tokudb/ft-index/locktree/tests/locktree_single_txnid_optimization.cc b/storage/tokudb/ft-index/locktree/tests/locktree_single_txnid_optimization.cc
index 1c9e80f57d5..6fdd7270f09 100644
--- a/storage/tokudb/ft-index/locktree/tests/locktree_single_txnid_optimization.cc
+++ b/storage/tokudb/ft-index/locktree/tests/locktree_single_txnid_optimization.cc
@@ -124,13 +124,13 @@ void locktree_unit_test::test_single_txnid_optimization(void) {
buffer.create();
#define lock_and_append_point_for_txnid_a(key) \
- r = lt->acquire_write_lock(txnid_a, key, key, nullptr); \
+ r = lt->acquire_write_lock(txnid_a, key, key, nullptr, false); \
invariant_zero(r); \
buffer.append(key, key);
#define maybe_point_locks_for_txnid_b(i) \
if (where == i) { \
- r = lt->acquire_write_lock(txnid_b, one, one, nullptr); \
+ r = lt->acquire_write_lock(txnid_b, one, one, nullptr, false); \
invariant_zero(r); \
}
diff --git a/storage/tokudb/ft-index/locktree/tests/manager_create_destroy.cc b/storage/tokudb/ft-index/locktree/tests/manager_create_destroy.cc
index c0c218c8a3e..6f667c04a74 100644
--- a/storage/tokudb/ft-index/locktree/tests/manager_create_destroy.cc
+++ b/storage/tokudb/ft-index/locktree/tests/manager_create_destroy.cc
@@ -109,7 +109,6 @@ void manager_unit_test::test_create_destroy(void) {
invariant(mgr.m_escalation_count == 0);
invariant(mgr.m_escalation_time == 0);
invariant(mgr.m_escalation_latest_result == 0);
- invariant(mgr.m_lock_wait_time_ms == locktree::manager::DEFAULT_LOCK_WAIT_TIME);
invariant(mgr.m_locktree_map.size() == 0);
invariant(mgr.m_lt_create_callback == create_callback);
diff --git a/storage/tokudb/ft-index/locktree/tests/manager_params.cc b/storage/tokudb/ft-index/locktree/tests/manager_params.cc
index e0f18d75df8..95642db5121 100644
--- a/storage/tokudb/ft-index/locktree/tests/manager_params.cc
+++ b/storage/tokudb/ft-index/locktree/tests/manager_params.cc
@@ -103,10 +103,6 @@ void manager_unit_test::test_params(void) {
invariant(r == 0);
invariant(mgr.get_max_lock_memory() == new_max_lock_memory);
- uint64_t new_lock_wait_time = 62345234;
- mgr.set_lock_wait_time(new_lock_wait_time);
- invariant(mgr.get_lock_wait_time() == new_lock_wait_time);
-
mgr.m_current_lock_memory = 100000;
r = mgr.set_max_lock_memory(mgr.m_current_lock_memory - 1);
invariant(r == EDOM);
diff --git a/storage/tokudb/ft-index/locktree/tests/manager_status.cc b/storage/tokudb/ft-index/locktree/tests/manager_status.cc
index 0551dd3b3e0..6803b5a22b3 100644
--- a/storage/tokudb/ft-index/locktree/tests/manager_status.cc
+++ b/storage/tokudb/ft-index/locktree/tests/manager_status.cc
@@ -130,16 +130,16 @@ void manager_unit_test::test_status(void) {
const DBT *one = get_dbt(1);
// txn a write locks one
- r = lt->acquire_write_lock(txnid_a, one, one, nullptr);
+ r = lt->acquire_write_lock(txnid_a, one, one, nullptr, false);
assert(r == 0);
// txn b tries to write lock one, conflicts, waits, and fails to lock one
lock_request request_b;
- request_b.create(1000);
- request_b.set(lt, txnid_b, one, one, lock_request::type::WRITE);
+ request_b.create();
+ request_b.set(lt, txnid_b, one, one, lock_request::type::WRITE, false);
r = request_b.start();
assert(r == DB_LOCK_NOTGRANTED);
- r = request_b.wait();
+ r = request_b.wait(1000);
assert(r == DB_LOCK_NOTGRANTED);
request_b.destroy();
diff --git a/storage/tokudb/ft-index/portability/CMakeLists.txt b/storage/tokudb/ft-index/portability/CMakeLists.txt
index 1d64878675e..e4364357fb0 100644
--- a/storage/tokudb/ft-index/portability/CMakeLists.txt
+++ b/storage/tokudb/ft-index/portability/CMakeLists.txt
@@ -8,7 +8,6 @@ set(tokuportability_srcs
portability
toku_assert
toku_crash
- toku_fair_rwlock
toku_path
toku_pthread
toku_time
@@ -20,6 +19,7 @@ target_link_libraries(${LIBTOKUPORTABILITY} LINK_PUBLIC ${CMAKE_THREAD_LIBS_INIT
add_library(tokuportability_static_conv STATIC ${tokuportability_srcs})
set_target_properties(tokuportability_static_conv PROPERTIES POSITION_INDEPENDENT_CODE ON)
+add_dependencies(tokuportability_static_conv build_jemalloc)
set(tokuportability_source_libs tokuportability_static_conv ${LIBJEMALLOC} ${CMAKE_THREAD_LIBS_INIT} ${EXTRA_SYSTEM_LIBS})
toku_merge_static_libs(${LIBTOKUPORTABILITY}_static ${LIBTOKUPORTABILITY}_static "${tokuportability_source_libs}")
@@ -34,10 +34,17 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
install(
FILES toku_os_types.h toku_time.h
DESTINATION include
+ COMPONENT tokukv_headers
)
install(
- TARGETS ${LIBTOKUPORTABILITY} ${LIBTOKUPORTABILITY}_static
- DESTINATION lib
+ TARGETS ${LIBTOKUPORTABILITY}_static
+ DESTINATION ${INSTALL_LIBDIR}
+ COMPONENT tokukv_libs_static
+ )
+ install(
+ TARGETS ${LIBTOKUPORTABILITY}
+ DESTINATION ${INSTALL_LIBDIR}
+ COMPONENT tokukv_libs_shared
)
endif ()
diff --git a/storage/tokudb/ft-index/portability/file.cc b/storage/tokudb/ft-index/portability/file.cc
index 99a7d6c64ca..b351141fe29 100644
--- a/storage/tokudb/ft-index/portability/file.cc
+++ b/storage/tokudb/ft-index/portability/file.cc
@@ -449,6 +449,8 @@ static uint64_t toku_fsync_time;
static uint64_t toku_long_fsync_threshold = 1000000;
static uint64_t toku_long_fsync_count;
static uint64_t toku_long_fsync_time;
+static uint64_t toku_long_fsync_eintr_count;
+static int toku_fsync_debug = 0;
void toku_set_func_fsync(int (*fsync_function)(int)) {
t_fsync = fsync_function;
@@ -458,6 +460,7 @@ void toku_set_func_fsync(int (*fsync_function)(int)) {
static void file_fsync_internal (int fd) {
uint64_t tstart = toku_current_time_microsec();
int r = -1;
+ uint64_t eintr_count = 0;
while (r != 0) {
if (t_fsync) {
r = t_fsync(fd);
@@ -466,6 +469,7 @@ static void file_fsync_internal (int fd) {
}
if (r) {
assert(get_error_errno() == EINTR);
+ eintr_count++;
}
}
toku_sync_fetch_and_add(&toku_fsync_count, 1);
@@ -474,6 +478,26 @@ static void file_fsync_internal (int fd) {
if (duration >= toku_long_fsync_threshold) {
toku_sync_fetch_and_add(&toku_long_fsync_count, 1);
toku_sync_fetch_and_add(&toku_long_fsync_time, duration);
+ toku_sync_fetch_and_add(&toku_long_fsync_eintr_count, eintr_count);
+ if (toku_fsync_debug) {
+ const int tstr_length = 26;
+ char tstr[tstr_length];
+ time_t t = time(0);
+#if __linux__
+ char fdname[256];
+ snprintf(fdname, sizeof fdname, "/proc/%d/fd/%d", getpid(), fd);
+ char lname[256];
+ ssize_t s = readlink(fdname, lname, sizeof lname);
+ if (0 < s && s < (ssize_t) sizeof lname)
+ lname[s] = 0;
+ fprintf(stderr, "%.24s toku_file_fsync %s fd=%d %s duration=%" PRIu64 " usec eintr=%" PRIu64 "\n",
+ ctime_r(&t, tstr), __FUNCTION__, fd, s > 0 ? lname : "?", duration, eintr_count);
+#else
+ fprintf(stderr, "%.24s toku_file_fsync %s fd=%d duration=%" PRIu64 " usec eintr=%" PRIu64 "\n",
+ ctime_r(&t, tstr), __FUNCTION__, fd, duration, eintr_count);
+#endif
+ fflush(stderr);
+ }
}
}
diff --git a/storage/tokudb/ft-index/portability/os_malloc.cc b/storage/tokudb/ft-index/portability/os_malloc.cc
index 0b2b5f64967..ecc5ea9ca3c 100644
--- a/storage/tokudb/ft-index/portability/os_malloc.cc
+++ b/storage/tokudb/ft-index/portability/os_malloc.cc
@@ -93,7 +93,6 @@ PATENT RIGHTS GRANT:
#include <toku_portability.h>
#include <stdlib.h>
-//#include <jemalloc/include/jemalloc/jemalloc.h>
#if defined(HAVE_MALLOC_H)
# include <malloc.h>
#elif defined(HAVE_SYS_MALLOC_H)
diff --git a/storage/tokudb/ft-index/portability/tests/test-fair-rwlock.cc b/storage/tokudb/ft-index/portability/tests/test-fair-rwlock.cc
deleted file mode 100644
index fa549d3f2d8..00000000000
--- a/storage/tokudb/ft-index/portability/tests/test-fair-rwlock.cc
+++ /dev/null
@@ -1,665 +0,0 @@
-/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
-
-#ident "$Id$"
-/*
-COPYING CONDITIONS NOTICE:
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of version 2 of the GNU General Public License as
- published by the Free Software Foundation, and provided that the
- following conditions are met:
-
- * Redistributions of source code must retain this COPYING
- CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
- DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
- PATENT MARKING NOTICE (below), and the PATENT RIGHTS
- GRANT (below).
-
- * Redistributions in binary form must reproduce this COPYING
- CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
- DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
- PATENT MARKING NOTICE (below), and the PATENT RIGHTS
- GRANT (below) in the documentation and/or other materials
- provided with the distribution.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-
-COPYRIGHT NOTICE:
-
- TokuDB, Tokutek Fractal Tree Indexing Library.
- Copyright (C) 2007-2013 Tokutek, Inc.
-
-DISCLAIMER:
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
-UNIVERSITY PATENT NOTICE:
-
- The technology is licensed by the Massachusetts Institute of
- Technology, Rutgers State University of New Jersey, and the Research
- Foundation of State University of New York at Stony Brook under
- United States of America Serial No. 11/760379 and to the patents
- and/or patent applications resulting from it.
-
-PATENT MARKING NOTICE:
-
- This software is covered by US Patent No. 8,185,551.
- This software is covered by US Patent No. 8,489,638.
-
-PATENT RIGHTS GRANT:
-
- "THIS IMPLEMENTATION" means the copyrightable works distributed by
- Tokutek as part of the Fractal Tree project.
-
- "PATENT CLAIMS" means the claims of patents that are owned or
- licensable by Tokutek, both currently or in the future; and that in
- the absence of this license would be infringed by THIS
- IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
-
- "PATENT CHALLENGE" shall mean a challenge to the validity,
- patentability, enforceability and/or non-infringement of any of the
- PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
-
- Tokutek hereby grants to you, for the term and geographical scope of
- the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
- irrevocable (except as stated in this section) patent license to
- make, have made, use, offer to sell, sell, import, transfer, and
- otherwise run, modify, and propagate the contents of THIS
- IMPLEMENTATION, where such license applies only to the PATENT
- CLAIMS. This grant does not include claims that would be infringed
- only as a consequence of further modifications of THIS
- IMPLEMENTATION. If you or your agent or licensee institute or order
- or agree to the institution of patent litigation against any entity
- (including a cross-claim or counterclaim in a lawsuit) alleging that
- THIS IMPLEMENTATION constitutes direct or contributory patent
- infringement, or inducement of patent infringement, then any rights
- granted to you under this License shall terminate as of the date
- such litigation is filed. If you or your agent or exclusive
- licensee institute or order or agree to the institution of a PATENT
- CHALLENGE, then Tokutek may terminate any rights granted to you
- under this License.
-*/
-
-#ident "Copyright (c) 2010-2013 Tokutek Inc. All rights reserved."
-
-// Here are some timing numbers:
-// (Note: The not-quite-working version with cas can be found in r22519 of https://svn.tokutek.com/tokudb/toku/tokudb.2825/) It's about as fast as "Best cas".)
-//
-// On ramie (2.53GHz E5540)
-// Best nop time= 1.074300ns
-// Best cas time= 8.595600ns
-// Best mutex time= 19.340201ns
-// Best rwlock time= 34.024799ns
-// Best ft rwlock time= 38.680500ns
-// Best prelocked time= 2.148700ns
-// Best fair rwlock time= 45.127600ns
-// On laptop
-// Best nop time= 2.876000ns
-// Best cas time= 15.362500ns
-// Best mutex time= 51.951498ns
-// Best rwlock time= 97.721201ns
-// Best ft rwlock time=110.456800ns
-// Best prelocked time= 4.240100ns
-// Best fair rwlock time=113.119102ns
-//
-// Analysis: If the mutex can be prelocked (as cachetable does, it uses the same mutex for the cachetable and for the condition variable protecting the cache table)
-// then you can save quite a bit. What does the cachetable do?
-// During pin: (In the common case:) It grabs the mutex, grabs a read lock, and releases the mutex.
-// During unpin: It grabs the mutex, unlocks the rwlock lock in the pair, and releases the mutex.
-// Both actions must acquire a cachetable lock during that time, so definitely saves time to do it that way.
-
-#include <sys/time.h>
-#include <string.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <sys/types.h>
-
-#include <toku_pthread.h>
-#include <toku_portability.h>
-#include <toku_time.h>
-#include <toku_assert.h>
-#include <util/rwlock.h>
-#include <util/frwlock.h>
-#include <portability/toku_atomic.h>
-#include "toku_fair_rwlock.h"
-
-#include "rwlock_condvar.h"
-
-static int verbose=1;
-static int timing_only=0;
-
-static void parse_args (int argc, const char *argv[]) {
- const char *progname = argv[0];
- argc--; argv++;
- while (argc>0) {
- if (strcmp(argv[0], "-v")==0) {
- verbose++;
- } else if (strcmp(argv[0], "-q")==0) {
- verbose--;
- } else if (strcmp(argv[0], "--timing-only")==0) {
- timing_only=1;
- } else {
- fprintf(stderr, "Usage: %s {-q}* {-v}* {--timing-only}\n", progname);
- exit(1);
- }
- argc--; argv++;
- }
-}
-
-static const int T=6;
-static const int N=10000000;
-
-static double best_nop_time=1e12;
-static double best_fcall_time=1e12;
-static double best_cas_time=1e12;
-static double best_mutex_time=1e12;
-static double best_rwlock_time=1e12;
-static double best_ft_time=1e12;
-static double best_prelocked_time=1e12;
-static double best_cv_fair_rwlock_time=1e12; // fair from condition variables
-static double best_fair_rwlock_time=1e12;
-static double mind(double a, double b) { if (a<b) return a; else return b; }
-
-#if 0
-// gcc 4.4.4 (fedora 12) doesn't introduce memory barriers on these writes, so I think that volatile is not enough for sequential consistency.
-// Intel guarantees that writes are seen in the same order as they were performed on one processor. But if there were two processors, funny things could happen.
-volatile int sc_a, sc_b;
-void sequential_consistency (void) {
- sc_a = 1;
- sc_b = 0;
-}
-#endif
-
-// Declaring val to be volatile produces essentially identical code as putting the asm volatile memory statements in.
-// gcc is not introducing memory barriers to force sequential consistency on volatile memory writes.
-// That's probably good enough for us, since we'll have a barrier instruction anywhere it matters.
-volatile int val = 0;
-
-static
-void time_nop (void) {
- struct timeval start,end;
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- if (val!=0) abort();
- val=1;
- //__asm__ volatile ("" : : : "memory");
- val=0;
- //__asm__ volatile ("" : : : "memory");
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "nop = %.6fns/(lock+unlock)\n", diff);
- best_nop_time=mind(best_nop_time,diff);
- }
-}
-
-static
-void time_fcall (void) {
- struct timeval start,end;
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- fcall_nop(i);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "fcall = %.6fns/(lock+unlock)\n", diff);
- best_fcall_time=mind(best_fcall_time,diff);
- }
-}
-
-static
-void time_cas (void) {
- volatile int64_t myval = 0;
- struct timeval start,end;
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- { int r = toku_sync_val_compare_and_swap(&myval, 0, 1); assert(r==0); }
- { int r = toku_sync_val_compare_and_swap(&myval, 1, 0); assert(r==1); }
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "cas = %.6fns/(lock+unlock)\n", diff);
- best_cas_time=mind(best_cas_time,diff);
- }
-}
-
-
-static
-void time_pthread_mutex (void) {
- pthread_mutex_t mutex;
- { int r = pthread_mutex_init(&mutex, NULL); assert(r==0); }
- struct timeval start,end;
- pthread_mutex_lock(&mutex);
- pthread_mutex_unlock(&mutex);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- pthread_mutex_lock(&mutex);
- pthread_mutex_unlock(&mutex);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "pthread_mutex = %.6fns/(lock+unlock)\n", diff);
- best_mutex_time=mind(best_mutex_time,diff);
- }
- { int r = pthread_mutex_destroy(&mutex); assert(r==0); }
-}
-
-static
-void time_pthread_rwlock (void) {
- pthread_rwlock_t mutex;
- { int r = pthread_rwlock_init(&mutex, NULL); assert(r==0); }
- struct timeval start,end;
- pthread_rwlock_rdlock(&mutex);
- pthread_rwlock_unlock(&mutex);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- pthread_rwlock_rdlock(&mutex);
- pthread_rwlock_unlock(&mutex);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "pthread_rwlock(r) = %.6fns/(lock+unlock)\n", diff);
- best_rwlock_time=mind(best_rwlock_time,diff);
- }
- { int r = pthread_rwlock_destroy(&mutex); assert(r==0); }
-}
-
-static void ft_rwlock_lock (RWLOCK rwlock, toku_mutex_t *mutex) {
- toku_mutex_lock(mutex);
- rwlock_read_lock(rwlock, mutex);
- toku_mutex_unlock(mutex);
-}
-
-static void ft_rwlock_unlock (RWLOCK rwlock, toku_mutex_t *mutex) {
- toku_mutex_lock(mutex);
- rwlock_read_unlock(rwlock);
- toku_mutex_unlock(mutex);
-}
-
-// Time the read lock that's in ft/rwlock.h
-static
-void time_ft_rwlock (void) {
- struct rwlock rwlock;
- toku_mutex_t external_mutex;
- toku_mutex_init(&external_mutex, NULL);
- rwlock_init(&rwlock);
- struct timeval start,end;
-
- ft_rwlock_lock(&rwlock, &external_mutex);
- ft_rwlock_unlock(&rwlock, &external_mutex);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- ft_rwlock_lock(&rwlock, &external_mutex);
- ft_rwlock_unlock(&rwlock, &external_mutex);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "ft_rwlock(r) = %.6fns/(lock+unlock)\n", diff);
- best_ft_time=mind(best_ft_time,diff);
- }
- rwlock_destroy(&rwlock);
- toku_mutex_destroy(&external_mutex);
-}
-
-// Time the read lock that's in ft/rwlock.h, assuming the mutex is already held.
-static
-void time_ft_prelocked_rwlock (void) {
- struct rwlock rwlock;
- toku_mutex_t external_mutex;
- toku_mutex_init(&external_mutex, NULL);
- toku_mutex_lock(&external_mutex);
- rwlock_init(&rwlock);
- struct timeval start,end;
-
- rwlock_read_lock(&rwlock, &external_mutex);
- rwlock_read_unlock(&rwlock);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- rwlock_read_lock(&rwlock, &external_mutex);
- rwlock_read_unlock(&rwlock);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "ft_rwlock(r) = %.6fns/(lock+unlock)\n", diff);
- best_prelocked_time=mind(best_prelocked_time,diff);
- }
- rwlock_destroy(&rwlock);
- toku_mutex_unlock(&external_mutex);
- toku_mutex_destroy(&external_mutex);
-}
-
-static
-void time_toku_fair_rwlock (void) {
- toku_fair_rwlock_t mutex;
- toku_fair_rwlock_init(&mutex);
- struct timeval start,end;
- toku_fair_rwlock_rdlock(&mutex);
- toku_fair_rwlock_unlock(&mutex);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- toku_fair_rwlock_rdlock(&mutex);
- toku_fair_rwlock_unlock(&mutex);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "pthread_fair(r) = %.6fns/(lock+unlock)\n", diff);
- best_fair_rwlock_time=mind(best_fair_rwlock_time,diff);
- }
- toku_fair_rwlock_destroy(&mutex);
-}
-
-static
-void time_toku_cv_fair_rwlock (void) {
- toku_cv_fair_rwlock_t mutex;
- toku_cv_fair_rwlock_init(&mutex);
- struct timeval start,end;
- toku_cv_fair_rwlock_rdlock(&mutex);
- toku_cv_fair_rwlock_unlock(&mutex);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- toku_cv_fair_rwlock_rdlock(&mutex);
- toku_cv_fair_rwlock_unlock(&mutex);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "pthread_fair(r) = %.6fns/(lock+unlock)\n", diff);
- best_cv_fair_rwlock_time=mind(best_cv_fair_rwlock_time,diff);
- }
- toku_cv_fair_rwlock_destroy(&mutex);
-}
-
-#define N 6
-#define T 100000
-#define L 5
-#define N_LOG_ENTRIES (L*N*4)
-
-static toku_fair_rwlock_t rwlock;
-static toku::frwlock frwlock;
-static toku_mutex_t fmutex;
-
-static bool use_frwlock_for_locking;
-
-static struct log_s {
- int threadid, loopid;
- char action;
-} actionlog[N_LOG_ENTRIES];
-static int log_counter=0;
-
-static void logit (int threadid, int loopid, char action) {
- //printf("%d %d %c\n", threadid, loopid, action);
- int my_log_counter = toku_sync_fetch_and_add(&log_counter, 1);
- assert(my_log_counter<N_LOG_ENTRIES);
- actionlog[my_log_counter].threadid = threadid;
- actionlog[my_log_counter].loopid = loopid;
- actionlog[my_log_counter].action = action;
-}
-
-// The action should look like this:
-// Threads 0-2 are reader threads.
-// Threads 3-6 are writer threads.
-// The threads all repeatedly grab the lock, wait T steps, and release.
-// If the readers can starve the writers, then most of the writers will be at the end.
-// If the writers can starve the readers, then most of the readers will be at the end.
-// The reader threads all grab the lock, wait T*2 steps, and release the lock.
-// The writer threads
-// First the writer threads wait time T while the reader threads all go for the lock.
-// Before the first one lets go, the writer threads wake up and try to grab the lock. But the readers are still
-
-// 3 threads (0-2) try to grab the lock all at once. They'll get it. They each sleep for time T*2
-// 3 threads (3-6) try to grab the write lock. They'll get it one after another.
-
-
-static void grab_rdlock (int threadid, int iteration) {
- logit(threadid, iteration, 't');
- if (use_frwlock_for_locking) {
- toku_mutex_lock(&fmutex);
- frwlock.read_lock();
- toku_mutex_unlock(&fmutex);
- }
- else { int r = toku_fair_rwlock_rdlock(&rwlock); assert(r==0); }
- logit(threadid, iteration, 'R');
-}
-
-static void release_rdlock (int threadid, int iteration) {
- logit(threadid, iteration, 'u');
- if (use_frwlock_for_locking) {
- toku_mutex_lock(&fmutex);
- frwlock.read_unlock();
- toku_mutex_unlock(&fmutex);
- }
- else { int r = toku_fair_rwlock_unlock(&rwlock); assert(r==0); }
-}
-
-static void grab_wrlock (int threadid, int iteration) {
- logit(threadid, iteration, 'T');
- if (use_frwlock_for_locking) {
- toku_mutex_lock(&fmutex);
- frwlock.write_lock(true);
- toku_mutex_unlock(&fmutex);
- }
- else { int r = toku_fair_rwlock_wrlock(&rwlock); assert(r==0); }
- logit(threadid, iteration, 'W');
-}
-
-static void release_wrlock (int threadid, int iteration) {
- logit(threadid, iteration, 'U');
- if (use_frwlock_for_locking) {
- toku_mutex_lock(&fmutex);
- frwlock.write_unlock();
- toku_mutex_unlock(&fmutex);
- }
- else { int r = toku_fair_rwlock_unlock(&rwlock); assert(r==0);}
-}
-
-static void *start_thread (void *vv) {
- int *vp=(int*)vv;
- int v=*vp;
-
- //printf("T%d=%ld\n", v, pthread_self());
- switch(v) {
- case 0:
- case 1:
- case 2:
- for (int i=0; i<L; i++) {
- grab_rdlock(v, i);
- usleep(T);
- release_rdlock(v, i);
- }
- break;
- case 3:
- case 4:
- case 5:
- for (int i=0; i<L; i++) {
- grab_wrlock(v, i);
- usleep(T);
- release_wrlock(v, i);
- }
- }
- return NULL;
-}
-
-static void *start_thread_random (void *vv) {
- int *vp=(int*)vv;
- int v=*vp;
- int wait;
-
- for (int i=0; i<L; i++) {
- if (random()%2==0) {
- grab_rdlock(v, i);
- wait = random() % 20;
- for (int j=0; j<wait; j++) sched_yield();
- release_rdlock(v, i);
- wait = random() % 20;
- for (int j=0; j<wait; j++) sched_yield();
- } else {
- grab_wrlock(v, i);
- wait = random() % 20;
- for (int j=0; j<wait; j++) sched_yield();
- release_wrlock(v, i);
- wait = random() % 20;
- for (int j=0; j<wait; j++) sched_yield();
- }
- }
- return NULL;
-}
-
-static void check_actionlog (int expected_writer_max_count,
- int expected_reader_parallelism_min,
- int expected_reader_parallelism_max)
-// Effect:
-// Make sure that writers are exclusive.
-// Make sure that anyone who asks for a lock doesn't have one.
-// Make sure that anyone granted a lock actually asked for a lock.
-// Make sure that anyone who releases a lock has it.
-// Make sure that readers don't starve writers, and writers don't starve readers. (Not sure how to code this up...)
-{
- int reader_max=0;
- int writer_max=0;
- int state=0;
- char tstate[N];
- for (int i=0; i<N; i++) tstate[i]=0;
- for (int i=0; i<log_counter; i++) {
- switch (actionlog[i].action) {
- case 't': // fall through to 'T'
- case 'T':
- assert(tstate[actionlog[i].threadid]==0);
- tstate[actionlog[i].threadid]=actionlog[i].action;
- break;
- case 'W':
- assert(tstate[actionlog[i].threadid]=='T');
- tstate[actionlog[i].threadid]=actionlog[i].action;
- assert(state==0);
- state=-1;
- writer_max = 1;
- break;
- case 'U':
- assert(tstate[actionlog[i].threadid]=='W');
- tstate[actionlog[i].threadid]=0;
- assert(state==-1);
- state=0;
- break;
- case 'R':
- assert(tstate[actionlog[i].threadid]=='t');
- tstate[actionlog[i].threadid]=actionlog[i].action;
- if (state<0) { printf("On step %d\n", i); }
- assert(state>=0);
- state++;
- if (state>reader_max) reader_max=state;
- break;
- case 'u':
- assert(tstate[actionlog[i].threadid]=='R');
- tstate[actionlog[i].threadid]=0;
- assert(state>=0);
- state--;
- break;
- default:
- abort();
- }
- }
- assert(reader_max>=expected_reader_parallelism_min);
- assert(reader_max<=expected_reader_parallelism_max);
- assert(writer_max==expected_writer_max_count);
-}
-
-
-static void test_rwlock_internal (void *(*start_th)(void*), bool use_frwlock, int max_wr, int min_rd, int max_rd) {
- if (verbose>=2) printf("Running threads:\n");
- log_counter=0;
- pthread_t threads[N];
- int v[N];
- use_frwlock_for_locking = use_frwlock;
- if (use_frwlock_for_locking) {
- fmutex = TOKU_MUTEX_INITIALIZER;
- frwlock.init(&fmutex);
- }
- else {
- toku_fair_rwlock_init(&rwlock);
- }
- for (int i=0; i<N; i++) {
- v[i]=i;
- int r = pthread_create(&threads[i], NULL, start_th, &v[i]);
- assert(r==0);
- }
- for (int i=0; i<N; i++) {
- void *rv;
- int r = pthread_join(threads[i], &rv);
- assert(rv==NULL);
- assert(r==0);
- }
- if (verbose>1) {
- for (int i=0; i<log_counter; i++) {
- printf("%d: %*s%c%d\n", i, actionlog[i].threadid*4, "", actionlog[i].action, actionlog[i].loopid);
- }
- }
- check_actionlog(max_wr, min_rd, max_rd);
- if (use_frwlock_for_locking) {
- frwlock.deinit();
- toku_mutex_destroy(&fmutex);
- }
- else {
- toku_fair_rwlock_destroy(&rwlock);
- }
- if (verbose>2) printf("OK\n");
-}
-
-static void test_rwlock (bool use_frwlock) {
- test_rwlock_internal(start_thread, use_frwlock, 1, 2, 3);
- for (int i=0; i<10; i++) {
- test_rwlock_internal(start_thread_random, use_frwlock, 1, 0, N);
- }
-}
-int main (int argc, const char *argv[]) {
- parse_args(argc, argv);
- if (timing_only) {
- time_nop();
- time_fcall();
- time_cas();
- time_pthread_mutex();
- time_pthread_rwlock();
- time_ft_rwlock();
- time_ft_prelocked_rwlock();
- time_toku_cv_fair_rwlock();
- time_toku_fair_rwlock();
- if (verbose>0) {
- printf("// Best nop time=%10.6fns\n", best_nop_time);
- printf("// Best fcall time=%10.6fns\n", best_fcall_time);
- printf("// Best cas time=%10.6fns\n", best_cas_time);
- printf("// Best mutex time=%10.6fns\n", best_mutex_time);
- printf("// Best rwlock time=%10.6fns\n", best_rwlock_time);
- printf("// Best ft rwlock time=%10.6fns\n", best_ft_time);
- printf("// Best prelocked time=%10.6fns\n", best_prelocked_time);
- printf("// Best fair cv rwlock time=%10.6fns\n", best_cv_fair_rwlock_time);
- printf("// Best fair fast rwlock time=%10.6fns\n", best_fair_rwlock_time);
- }
- } else {
- test_rwlock(true);
- test_rwlock(false);
- }
- return 0;
-}
-
diff --git a/storage/tokudb/ft-index/portability/toku_fair_rwlock.cc b/storage/tokudb/ft-index/portability/toku_fair_rwlock.cc
deleted file mode 100644
index d89b49307d1..00000000000
--- a/storage/tokudb/ft-index/portability/toku_fair_rwlock.cc
+++ /dev/null
@@ -1,361 +0,0 @@
-/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
-
-#ident "$Id$"
-/*
-COPYING CONDITIONS NOTICE:
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of version 2 of the GNU General Public License as
- published by the Free Software Foundation, and provided that the
- following conditions are met:
-
- * Redistributions of source code must retain this COPYING
- CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
- DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
- PATENT MARKING NOTICE (below), and the PATENT RIGHTS
- GRANT (below).
-
- * Redistributions in binary form must reproduce this COPYING
- CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
- DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
- PATENT MARKING NOTICE (below), and the PATENT RIGHTS
- GRANT (below) in the documentation and/or other materials
- provided with the distribution.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-
-COPYRIGHT NOTICE:
-
- TokuDB, Tokutek Fractal Tree Indexing Library.
- Copyright (C) 2007-2013 Tokutek, Inc.
-
-DISCLAIMER:
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
-UNIVERSITY PATENT NOTICE:
-
- The technology is licensed by the Massachusetts Institute of
- Technology, Rutgers State University of New Jersey, and the Research
- Foundation of State University of New York at Stony Brook under
- United States of America Serial No. 11/760379 and to the patents
- and/or patent applications resulting from it.
-
-PATENT MARKING NOTICE:
-
- This software is covered by US Patent No. 8,185,551.
- This software is covered by US Patent No. 8,489,638.
-
-PATENT RIGHTS GRANT:
-
- "THIS IMPLEMENTATION" means the copyrightable works distributed by
- Tokutek as part of the Fractal Tree project.
-
- "PATENT CLAIMS" means the claims of patents that are owned or
- licensable by Tokutek, both currently or in the future; and that in
- the absence of this license would be infringed by THIS
- IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
-
- "PATENT CHALLENGE" shall mean a challenge to the validity,
- patentability, enforceability and/or non-infringement of any of the
- PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
-
- Tokutek hereby grants to you, for the term and geographical scope of
- the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
- irrevocable (except as stated in this section) patent license to
- make, have made, use, offer to sell, sell, import, transfer, and
- otherwise run, modify, and propagate the contents of THIS
- IMPLEMENTATION, where such license applies only to the PATENT
- CLAIMS. This grant does not include claims that would be infringed
- only as a consequence of further modifications of THIS
- IMPLEMENTATION. If you or your agent or licensee institute or order
- or agree to the institution of patent litigation against any entity
- (including a cross-claim or counterclaim in a lawsuit) alleging that
- THIS IMPLEMENTATION constitutes direct or contributory patent
- infringement, or inducement of patent infringement, then any rights
- granted to you under this License shall terminate as of the date
- such litigation is filed. If you or your agent or exclusive
- licensee institute or order or agree to the institution of a PATENT
- CHALLENGE, then Tokutek may terminate any rights granted to you
- under this License.
-*/
-
-#ident "Copyright (c) 2010-2013 Tokutek Inc. All rights reserved."
-
-#include "toku_config.h"
-
-#include <pthread.h>
-#include <toku_assert.h>
-#include "toku_pthread.h"
-#include "toku_fair_rwlock.h"
-
-#include <stdio.h>
-#include <memory.h>
-#include <portability/toku_atomic.h>
-
-struct toku_fair_rwlock_waiter_state {
- char is_read;
- struct toku_fair_rwlock_waiter_state *next;
- toku_cond_t cond;
-};
-
-#if defined(HAVE_GNU_TLS)
-static __thread struct toku_fair_rwlock_waiter_state waitstate_var = {0, NULL, { PTHREAD_COND_INITIALIZER } };
-#define GET_WAITSTATE(name) name = &waitstate_var
-#else
-static pthread_key_t waitstate_key;
-static bool waitstate_key_initialized = false;
-
-void
-toku_rwlock_init(void)
-{
- assert(!waitstate_key_initialized);
- int r = toku_pthread_key_create(&waitstate_key, toku_free);
- assert_zero(r);
- waitstate_key_initialized = true;
-}
-
-void
-toku_rwlock_destroy(void)
-{
- assert(waitstate_key_initialized);
- int r = toku_pthread_key_delete(waitstate_key);
- assert_zero(r);
- waitstate_key_initialized = false;
-}
-
-static struct toku_fair_rwlock_waiter_state *
-get_waitstate(void)
-{
- assert(waitstate_key_initialized);
- struct toku_fair_rwlock_waiter_state *waitstate = NULL;
- void *p = toku_pthread_getspecific(waitstate_key);
- if (!p) {
- p = toku_xmalloc(sizeof *waitstate);
- int r = toku_pthread_setspecific(waitstate_key, p);
- assert_zero(r);
- }
- waitstate = static_cast<struct toku_fair_rwlock_waiter_state *>(p);
- return waitstate;
-}
-
-#define GET_WAITSTATE(name) name = get_waitstate()
-#endif
-
-void toku_fair_rwlock_init (toku_fair_rwlock_t *rwlock) {
- rwlock->state=0LL;
- rwlock->waiters_head = NULL;
- rwlock->waiters_tail = NULL;
- toku_mutex_init(&rwlock->mutex, NULL);
-}
-
-void toku_fair_rwlock_destroy (toku_fair_rwlock_t *rwlock) {
- assert(rwlock->state==0); // no one can hold the mutex, and no one can hold any lock.
- toku_mutex_destroy(&rwlock->mutex);
-}
-
-#ifdef RW_DEBUG
-static __thread int tid=-1;
-static int next_tid=0;
-static int get_tid (void) {
- if (tid==-1) {
- tid = toku_sync_fetch_and_add(&next_tid, 1);
- }
- return tid;
-}
-#define L(l) printf("t%02d %s:%d %s\n", get_tid(), __FILE__, __LINE__, #l)
-#define LP(l,s) printf("t%02d %s:%d %s %lx (wlock=%d rcount=%d qcount=%d)\n", get_tid(), __FILE__, __LINE__, #l, s, s_get_wlock(s), s_get_rcount(s), s_get_qcount(s))
-#else
-#define L(l) ((void)0)
-#define LP(l,s) ((void)s)
-#endif
-
-void foo (void);
-void foo (void) {
- printf("%llx\n", RWS_QCOUNT_MASK|RWS_WLOCK_MASK);
-}
-
-int toku_fair_rwlock_rdlock_slow (toku_fair_rwlock_t *rwlock) {
- uint64_t s;
- struct toku_fair_rwlock_waiter_state *GET_WAITSTATE(waitstate);
- goto ML; // we start in the ML state.
- ML:
- toku_mutex_lock(&rwlock->mutex);
- goto R2;
- R2:
- s = rwlock->state;
- if (s_get_qcount(s)==0 && !s_get_wlock(s)) goto C2;
- else goto C3;
- C2:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_incr_rcount(s))) goto MU;
- else goto R2;
- C3:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_incr_qcount(s))) goto E;
- else goto R2;
- E:
- // Put me into the queue.
- if (rwlock->waiters_tail) {
- rwlock->waiters_tail->next = waitstate;
- } else {
- rwlock->waiters_head = waitstate;
- }
- rwlock->waiters_tail = waitstate;
- waitstate->next = NULL;
- waitstate->is_read = 1;
- goto W;
- W:
- toku_cond_wait(&waitstate->cond, &rwlock->mutex);
- // must wait till we are at the head of the queue because of the possiblity of spurious wakeups.
- if (rwlock->waiters_head==waitstate) goto D;
- else goto W;
- D:
- rwlock->waiters_head = waitstate->next;
- if (waitstate->next==NULL) {
- rwlock->waiters_tail = NULL;
- }
- goto WN;
- WN:
- // If the next guy is a reader then wake him up.
- if (waitstate->next!=NULL && waitstate->next->is_read) {
- toku_cond_signal(&rwlock->waiters_head->cond);
- }
- goto R4;
- R4:
- s = rwlock->state;
- goto C4;
- C4:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_incr_rcount(s_decr_qcount(s)))) goto MU;
- else goto R4;
- MU:
- toku_mutex_unlock(&rwlock->mutex);
- goto DONE;
- DONE:
- return 0;
-}
-
-int toku_fair_rwlock_wrlock_slow (toku_fair_rwlock_t *rwlock) {
- uint64_t s;
- struct toku_fair_rwlock_waiter_state *GET_WAITSTATE(waitstate);
- goto ML;
- ML:
- L(ML);
- toku_mutex_lock(&rwlock->mutex);
- goto R2;
- R2:
- s = rwlock->state;
- LP(R2, s);
- if (s_get_qcount(s)==0 && !s_get_wlock(s) && s_get_rcount(s)==0) goto C2;
- else goto C3;
- C2:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_set_wlock(s))) goto MU;
- else goto R2;
- C3:
- L(C3);
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_incr_qcount(s))) goto E;
- else goto R2;
- E:
- LP(E, rwlock->state);
- // Put me into the queue.
- if (rwlock->waiters_tail) {
- rwlock->waiters_tail->next = waitstate;
- } else {
- rwlock->waiters_head = waitstate;
- }
- rwlock->waiters_tail = waitstate;
- waitstate->next = NULL;
- waitstate->is_read = 0;
- goto W;
- W:
- toku_cond_wait(&waitstate->cond, &rwlock->mutex);
- // must wait till we are at the head of the queue because of the possiblity of spurious wakeups.
- if (rwlock->waiters_head==waitstate) goto D;
- else goto W;
- D:
- rwlock->waiters_head = waitstate->next;
- if (waitstate->next==NULL) {
- rwlock->waiters_tail = NULL;
- }
- goto R4;
- R4:
- s = rwlock->state;
- assert(!s_get_wlock(s));
- goto C4;
- C4:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_set_wlock(s_decr_qcount(s)))) goto MU;
- else goto R4;
- MU:
- toku_mutex_unlock(&rwlock->mutex);
- goto DONE;
- DONE:
- return 0;
-}
-
-int toku_fair_rwlock_unlock_r_slow (toku_fair_rwlock_t *rwlock) {
- uint64_t s;
- goto ML;
- ML:
- toku_mutex_lock(&rwlock->mutex);
- goto R2;
- R2:
- s = rwlock->state;
- LP(R2, s);
- if (s_get_rcount(s)>1 || s_get_qcount(s)==0) goto C2;
- else goto C3;
- C2:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_decr_rcount(s))) goto MU;
- else goto R2;
- C3:
- // rcount==1 and qcount>0
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_decr_rcount(s))) goto WN;
- else goto R2;
- WN:
- LP(WN, rwlock->state);
- toku_cond_signal(&rwlock->waiters_head->cond);
- goto MU;
- MU:
- toku_mutex_unlock(&rwlock->mutex);
- goto DONE;
- DONE:
- return 0;
-}
-
-int toku_fair_rwlock_unlock_w_slow (toku_fair_rwlock_t *rwlock) {
- uint64_t s;
- //assert(s_get_rcount(s)==0 && s_get_wlock(s));
- goto ML;
- ML:
- toku_mutex_lock(&rwlock->mutex);
- goto R2;
- R2:
- LP(R2, rwlock->state);
- s = rwlock->state;
- if (s_get_qcount(s)==0) goto C2;
- else goto C3;
- C2:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_clear_wlock(s))) goto MU;
- else goto R2;
- C3:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_clear_wlock(s))) goto WN;
- else goto R2;
- WN:
- LP(WN, rwlock->state);
- toku_cond_signal(&rwlock->waiters_head->cond);
- goto MU;
- MU:
- toku_mutex_unlock(&rwlock->mutex);
- goto DONE;
- DONE:
- return 0;
-}
-
-// This function is defined so we can measure the cost of a function call.
-int fcall_nop (int i) {
- return i;
-}
diff --git a/storage/tokudb/ft-index/portability/toku_fair_rwlock.h b/storage/tokudb/ft-index/portability/toku_fair_rwlock.h
deleted file mode 100644
index 92793b1444d..00000000000
--- a/storage/tokudb/ft-index/portability/toku_fair_rwlock.h
+++ /dev/null
@@ -1,237 +0,0 @@
-/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
-#ident "$Id$"
-/*
-COPYING CONDITIONS NOTICE:
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of version 2 of the GNU General Public License as
- published by the Free Software Foundation, and provided that the
- following conditions are met:
-
- * Redistributions of source code must retain this COPYING
- CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
- DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
- PATENT MARKING NOTICE (below), and the PATENT RIGHTS
- GRANT (below).
-
- * Redistributions in binary form must reproduce this COPYING
- CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
- DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
- PATENT MARKING NOTICE (below), and the PATENT RIGHTS
- GRANT (below) in the documentation and/or other materials
- provided with the distribution.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-
-COPYRIGHT NOTICE:
-
- TokuDB, Tokutek Fractal Tree Indexing Library.
- Copyright (C) 2007-2013 Tokutek, Inc.
-
-DISCLAIMER:
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
-UNIVERSITY PATENT NOTICE:
-
- The technology is licensed by the Massachusetts Institute of
- Technology, Rutgers State University of New Jersey, and the Research
- Foundation of State University of New York at Stony Brook under
- United States of America Serial No. 11/760379 and to the patents
- and/or patent applications resulting from it.
-
-PATENT MARKING NOTICE:
-
- This software is covered by US Patent No. 8,185,551.
- This software is covered by US Patent No. 8,489,638.
-
-PATENT RIGHTS GRANT:
-
- "THIS IMPLEMENTATION" means the copyrightable works distributed by
- Tokutek as part of the Fractal Tree project.
-
- "PATENT CLAIMS" means the claims of patents that are owned or
- licensable by Tokutek, both currently or in the future; and that in
- the absence of this license would be infringed by THIS
- IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
-
- "PATENT CHALLENGE" shall mean a challenge to the validity,
- patentability, enforceability and/or non-infringement of any of the
- PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
-
- Tokutek hereby grants to you, for the term and geographical scope of
- the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
- irrevocable (except as stated in this section) patent license to
- make, have made, use, offer to sell, sell, import, transfer, and
- otherwise run, modify, and propagate the contents of THIS
- IMPLEMENTATION, where such license applies only to the PATENT
- CLAIMS. This grant does not include claims that would be infringed
- only as a consequence of further modifications of THIS
- IMPLEMENTATION. If you or your agent or licensee institute or order
- or agree to the institution of patent litigation against any entity
- (including a cross-claim or counterclaim in a lawsuit) alleging that
- THIS IMPLEMENTATION constitutes direct or contributory patent
- infringement, or inducement of patent infringement, then any rights
- granted to you under this License shall terminate as of the date
- such litigation is filed. If you or your agent or exclusive
- licensee institute or order or agree to the institution of a PATENT
- CHALLENGE, then Tokutek may terminate any rights granted to you
- under this License.
-*/
-
-#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
-#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
-
-#include "toku_pthread.h"
-#include <portability/toku_atomic.h>
-
-// Fair readers/writer locks. These are fair (meaning first-come first-served. No reader starvation, and no writer starvation). And they are
-// probably faster than the linux readers/writer locks (pthread_rwlock_t).
-struct toku_fair_rwlock_waiter_state; // this structure is used internally.
-typedef struct toku_fair_rwlock_s {
- // Try to put enough state into STATE so that in many cases, a compare-and-swap will work.
- // The 64-bit state bits are as follows:
- // bit 0: 1 iff someone has exclusive ownership of the entire state. (This is a spin lock).
- // bit 1: 1 iff someone holds a write lock.
- // bit 2: 1 iff the queue is not empty (if the queue is not empty, then you cannot use the fast path.)
- // bits 3--31 how many read locks are held.
- uint64_t volatile state;
- // The waiters each provide a condition variable. This is the mutex they are all using.
- // If anyone holds this mutex, they must set the RWS_MUTEXED bit first. Then they grab the mutex. Then they clear the bit indicating that they don't have the mutex. No one else can change anything while the RWS_MUTEXED bit is set.
- toku_mutex_t mutex;
- struct toku_fair_rwlock_waiter_state *waiters_head, *waiters_tail;
-} toku_fair_rwlock_t;
-
-void toku_rwlock_init(void) __attribute__((constructor));
-void toku_rwlock_destroy(void) __attribute__((destructor));
-
-#define RWS_WLOCK_MASK 1LL
-
-#define RWS_QCOUNT_OFF 1
-#define RWS_QCOUNT_LEN 31
-#define RWS_QCOUNT_INCR 2LL
-#define RWS_QCOUNT_MASK (((1L<<RWS_QCOUNT_LEN)-1)<<RWS_QCOUNT_OFF)
-
-#define RWS_RCOUNT_OFF (RWS_QCOUNT_OFF+RWS_QCOUNT_LEN)
-#define RWS_RCOUNT_LEN 31
-#define RWS_RCOUNT_INCR (1LL<<32)
-
-static inline int s_get_wlock(uint64_t s) {
- return (s&RWS_WLOCK_MASK)!=0;
-}
-static inline unsigned int s_get_qcount(uint64_t s) {
- return (s>>RWS_QCOUNT_OFF)&((1LL<<RWS_QCOUNT_LEN)-1);
-}
-static inline unsigned int s_get_rcount(uint64_t s) {
- return (s>>RWS_RCOUNT_OFF)&((1LL<<RWS_RCOUNT_LEN)-1);
-}
-
-static inline uint64_t s_set_wlock (uint64_t s) {
- return s | RWS_WLOCK_MASK;
-}
-static inline uint64_t s_clear_wlock (uint64_t s) {
- return s & ~RWS_WLOCK_MASK;
-}
-static inline uint64_t s_incr_qcount (uint64_t s) {
- //printf("%s:%d (%s) s=%lx, get_qcount=%d 1u<<%d=%u\n", __FILE__, __LINE__, __FUNCTION__, s, s_get_qcount(s), RWS_QCOUNT_LEN, 1u<<RWS_QCOUNT_LEN);
- //assert(s_get_qcount(s)+1 < (1u<<RWS_QCOUNT_LEN));
- return s+RWS_QCOUNT_INCR;
-}
-static inline uint64_t s_decr_qcount (uint64_t s) {
- //assert(s_get_qcount(s) > 0);
- return s-RWS_QCOUNT_INCR;
-}
-static inline uint64_t s_incr_rcount (uint64_t s) {
- //assert(s_get_rcount(s)+1 < (1u<<RWS_RCOUNT_LEN));
- return s+RWS_RCOUNT_INCR;
-}
-static inline uint64_t s_decr_rcount (uint64_t s) {
- //assert(s_get_rcount(s) > 0);
- return s-RWS_RCOUNT_INCR;
-}
-
-void toku_fair_rwlock_init (toku_fair_rwlock_t *rwlock);
-void toku_fair_rwlock_destroy (toku_fair_rwlock_t *rwlock);
-int toku_fair_rwlock_rdlock_slow (toku_fair_rwlock_t *rwlock); // this is the slow internal version that grabs the mutex.
-
-// Inline the fast path to avoid function call overhead.
-static inline int toku_fair_rwlock_rdlock (toku_fair_rwlock_t *rwlock) {
- uint64_t s = rwlock->state;
- START:
- s = rwlock->state;
- if (0==(s&(RWS_QCOUNT_MASK | RWS_WLOCK_MASK))) goto C1;
- //if (s_get_qcount(s)==0 && !s_get_wlock(s)) goto C1;
- else goto ML;
- C1:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_incr_rcount(s))) goto DONE;
- else goto START;
- DONE:
- return 0;
- ML:
- return toku_fair_rwlock_rdlock_slow(rwlock);
-}
-
-int toku_fair_rwlock_wrlock_slow (toku_fair_rwlock_t *rwlock);
-
-// Inline the fast path to avoid function call overhead.
-static inline int toku_fair_rwlock_wrlock (toku_fair_rwlock_t *rwlock) {
- uint64_t s;
- START:
- s = rwlock->state;
- if (s_get_qcount(s)==0 && !s_get_wlock(s) && s_get_rcount(s)==0) goto C1;
- else goto ML;
- C1:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_set_wlock(s))) goto DONE;
- else goto START;
- DONE:
- return 0;
- ML:
- return toku_fair_rwlock_wrlock_slow(rwlock);
-}
-
-int toku_fair_rwlock_unlock_r_slow (toku_fair_rwlock_t *rwlock);
-int toku_fair_rwlock_unlock_w_slow (toku_fair_rwlock_t *rwlock);
-
-static inline int toku_fair_rwlock_unlock (toku_fair_rwlock_t *rwlock) {
- uint64_t s;
- s = rwlock->state;
- if (s_get_wlock(s)) {
- goto wSTART0; // we already have s.
- wSTART:
- s = rwlock->state;
- goto wSTART0;
- wSTART0:
- if (s_get_qcount(s)==0) goto wC1;
- else goto wML;
- wC1:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_clear_wlock(s))) goto wDONE;
- else goto wSTART;
- wDONE:
- return 0;
- wML:
- return toku_fair_rwlock_unlock_w_slow (rwlock);
- } else {
- goto rSTART0; // we already have s.
- rSTART:
- s = rwlock->state;
- goto rSTART0;
- rSTART0:
- if (s_get_rcount(s)>1 || s_get_qcount(s)==0) goto rC1;
- else goto rML;
- rC1:
- if (toku_sync_bool_compare_and_swap(&rwlock->state, s, s_decr_rcount(s))) goto rDONE;
- else goto rSTART;
- rDONE:
- return 0;
- rML:
- return toku_fair_rwlock_unlock_r_slow (rwlock);
- }
-}
-int fcall_nop(int);
diff --git a/storage/tokudb/ft-index/scripts/run.stress-tests.py b/storage/tokudb/ft-index/scripts/run.stress-tests.py
index cca286e192d..fbbf5ee6472 100755
--- a/storage/tokudb/ft-index/scripts/run.stress-tests.py
+++ b/storage/tokudb/ft-index/scripts/run.stress-tests.py
@@ -739,6 +739,7 @@ if __name__ == '__main__':
default_recover_testnames = ['recover-test_stress1.tdb',
'recover-test_stress2.tdb',
'recover-test_stress3.tdb',
+ 'recover-child-rollback.tdb',
'recover-test_stress_openclose.tdb']
build_group = OptionGroup(parser, 'Build Options', 'Control how the fractal tree and tests get built.')
build_group.add_option('--skip_build', action='store_false', dest='build', default=True,
diff --git a/storage/tokudb/ft-index/src/CMakeLists.txt b/storage/tokudb/ft-index/src/CMakeLists.txt
index 394d120beaa..7487d1880aa 100644
--- a/storage/tokudb/ft-index/src/CMakeLists.txt
+++ b/storage/tokudb/ft-index/src/CMakeLists.txt
@@ -42,8 +42,14 @@ endif ()
# detect when we are being built as a subproject
if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
install(
- TARGETS ${LIBTOKUDB} ${LIBTOKUDB}_static
- DESTINATION lib
+ TARGETS ${LIBTOKUDB}
+ DESTINATION ${INSTALL_LIBDIR}
+ COMPONENT tokukv_libs_shared
+ )
+ install(
+ TARGETS ${LIBTOKUDB}_static
+ DESTINATION ${INSTALL_LIBDIR}
+ COMPONENT tokukv_libs_static
)
endif ()
diff --git a/storage/tokudb/ft-index/src/export.map b/storage/tokudb/ft-index/src/export.map
index 566e751bd74..3f2c7569ea4 100644
--- a/storage/tokudb/ft-index/src/export.map
+++ b/storage/tokudb/ft-index/src/export.map
@@ -5,6 +5,7 @@
db_strerror;
db_version;
db_env_set_direct_io;
+ db_env_set_compress_buffers_before_eviction;
db_env_set_func_fsync;
db_env_set_func_malloc;
db_env_set_func_realloc;
diff --git a/storage/tokudb/ft-index/src/indexer-undo-do.cc b/storage/tokudb/ft-index/src/indexer-undo-do.cc
index a9a2c52bf98..2201c4f37e3 100644
--- a/storage/tokudb/ft-index/src/indexer-undo-do.cc
+++ b/storage/tokudb/ft-index/src/indexer-undo-do.cc
@@ -615,7 +615,16 @@ indexer_ft_delete_committed(DB_INDEXER *indexer, DB *hotdb, DBT *hotkey, XIDS xi
} else {
result = toku_ydb_check_avail_fs_space(indexer->i->env);
if (result == 0) {
- toku_ft_send_delete(db_struct_i(hotdb)->ft_handle, hotkey, xids, TXNID_NONE, make_gc_info(true));
+ FT_HANDLE ft_h = db_struct_i(hotdb)->ft_handle;
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_ft_get_oldest_referenced_xid_estimate(ft_h);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ oldest_referenced_xid_estimate,
+ true);
+ toku_ft_send_delete(db_struct_i(hotdb)->ft_handle, hotkey, xids, &gc_info);
}
}
return result;
@@ -651,7 +660,16 @@ indexer_ft_insert_committed(DB_INDEXER *indexer, DB *hotdb, DBT *hotkey, DBT *ho
} else {
result = toku_ydb_check_avail_fs_space(indexer->i->env);
if (result == 0) {
- toku_ft_send_insert(db_struct_i(hotdb)->ft_handle, hotkey, hotval, xids, FT_INSERT, TXNID_NONE, make_gc_info(true));
+ FT_HANDLE ft_h = db_struct_i(hotdb)->ft_handle;
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_ft_get_oldest_referenced_xid_estimate(ft_h);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ oldest_referenced_xid_estimate,
+ true);
+ toku_ft_send_insert(db_struct_i(hotdb)->ft_handle, hotkey, hotval, xids, FT_INSERT, &gc_info);
}
}
return result;
@@ -670,8 +688,18 @@ indexer_ft_commit(DB_INDEXER *indexer, DB *hotdb, DBT *hotkey, XIDS xids) {
result = indexer->i->test_commit_any(indexer, hotdb, hotkey, xids);
} else {
result = toku_ydb_check_avail_fs_space(indexer->i->env);
- if (result == 0)
- toku_ft_send_commit_any(db_struct_i(hotdb)->ft_handle, hotkey, xids, TXNID_NONE, make_gc_info(true));
+ if (result == 0) {
+ FT_HANDLE ft_h = db_struct_i(hotdb)->ft_handle;
+ TXN_MANAGER txn_manager = toku_ft_get_txn_manager(ft_h);
+ txn_manager_state txn_state_for_gc(txn_manager);
+
+ TXNID oldest_referenced_xid_estimate = toku_ft_get_oldest_referenced_xid_estimate(ft_h);
+ txn_gc_info gc_info(&txn_state_for_gc,
+ oldest_referenced_xid_estimate,
+ oldest_referenced_xid_estimate,
+ true);
+ toku_ft_send_commit_any(db_struct_i(hotdb)->ft_handle, hotkey, xids, &gc_info);
+ }
}
}
return result;
diff --git a/storage/tokudb/ft-index/src/loader.cc b/storage/tokudb/ft-index/src/loader.cc
index 57beee3810f..93ac551632e 100644
--- a/storage/tokudb/ft-index/src/loader.cc
+++ b/storage/tokudb/ft-index/src/loader.cc
@@ -319,8 +319,8 @@ toku_loader_create_loader(DB_ENV *env,
}
TOKUTXN ttxn = txn ? db_txn_struct_i(txn)->tokutxn : NULL;
rval = toku_ft_loader_open(&loader->i->ft_loader,
- loader->i->env->i->cachetable,
- loader->i->env->i->generate_row_for_put,
+ env->i->cachetable,
+ env->i->generate_row_for_put,
src_db,
N,
brts, dbs,
@@ -330,7 +330,7 @@ toku_loader_create_loader(DB_ENV *env,
load_lsn,
ttxn,
puts_allowed,
- loader->i->env->i->loader_memory_size,
+ env->get_loader_memory_size(env),
compress_intermediates);
if ( rval!=0 ) {
toku_free(new_inames_in_env);
diff --git a/storage/tokudb/ft-index/src/tests/CMakeLists.txt b/storage/tokudb/ft-index/src/tests/CMakeLists.txt
index af04123ca93..d85d24be001 100644
--- a/storage/tokudb/ft-index/src/tests/CMakeLists.txt
+++ b/storage/tokudb/ft-index/src/tests/CMakeLists.txt
@@ -67,10 +67,12 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
dump-env
env_loader_memory
env-put-multiple
+ env_nproc
env_startup
execute-updates
filesize
get_key_after_bytes_unit
+ get_last_key
helgrind1
helgrind2
helgrind3
@@ -105,6 +107,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
loader-stress-del
loader-stress-test
loader-tpch-load
+ locktree_escalation_stalls
lock-pressure
manyfiles
maxsize-for-loader
@@ -146,6 +149,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
recover-2483
recover-3113
recover-5146
+ recover-child-rollback
recover-compare-db
recover-compare-db-descriptor
recover-del-multiple
@@ -252,10 +256,12 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
test_abort1
test_abort4
test_abort5
+ test_bad_implicit_promotion
test_blobs_leaf_split
test_bulk_fetch
test_compression_methods
test_cmp_descriptor
+ test_cursor_interrupt
test_cursor_with_read_txn
test_db_change_pagesize
test_db_change_xxx
@@ -264,6 +270,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
test_db_descriptor_named_db
test_db_txn_locks_read_uncommitted
test_get_max_row_size
+ test_insert_many_gc
test_iterate_live_transactions
test_iterate_pending_lock_requests
test_large_update_broadcast_small_cachetable
@@ -578,7 +585,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
foreach(oldver 4.2.0 5.0.8 5.2.7 6.0.0 6.1.0 6.5.1 6.6.3)
set(versiondir ${TOKUDB_DATA}/old-stress-test-envs/${oldver})
- if (NOT EXISTS "${versiondir}/" AND NOT WARNED_ABOUT_DATA)
+ if (NOT EXISTS "${versiondir}/" AND NOT WARNED_ABOUT_DATA AND CMAKE_PROJECT_NAME STREQUAL TokuDB)
message(WARNING "Test data for upgrade tests for version ${oldver} doesn't exist, check out ${versiondir}/*-2000-dir first or upgrade stress tests may fail.")
set(WARNED_ABOUT_DATA 1)
endif ()
@@ -612,7 +619,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
endif ()
endforeach(src)
- if (NOT EXISTS "${TOKUDB_DATA}/test_5902/" AND NOT WARNED_ABOUT_DATA)
+ if (NOT EXISTS "${TOKUDB_DATA}/test_5902/" AND NOT WARNED_ABOUT_DATA AND CMAKE_PROJECT_NAME STREQUAL TokuDB)
message(WARNING "Test data for dump-env.tdb doesn't exist, check out ${TOKUDB_DATA}/test_5902 first or dump-env.tdb may fail.")
set(WARNED_ABOUT_DATA 1)
endif ()
@@ -653,7 +660,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
endforeach(num)
set(old_loader_upgrade_data "${TOKUDB_DATA}/env_preload.4.2.0.emptydictionaries.cleanshutdown")
- if (NOT EXISTS "${old_loader_upgrade_data}/" AND NOT WARNED_ABOUT_DATA)
+ if (NOT EXISTS "${old_loader_upgrade_data}/" AND NOT WARNED_ABOUT_DATA AND CMAKE_PROJECT_NAME STREQUAL TokuDB)
message(WARNING "Test data for loader upgrade tests doesn't exist, check out ${old_loader_upgrade_data} first, or loader-stress-test3.tdb may fail.")
set(WARNED_ABOUT_DATA 1)
endif ()
diff --git a/storage/tokudb/ft-index/src/tests/blocking-first-empty.cc b/storage/tokudb/ft-index/src/tests/blocking-first-empty.cc
index 442ccfd112d..72267437a4a 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-first-empty.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-first-empty.cc
@@ -220,7 +220,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-first.cc b/storage/tokudb/ft-index/src/tests/blocking-first.cc
index 9be783d2a04..1bd414a90aa 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-first.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-first.cc
@@ -237,7 +237,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-last.cc b/storage/tokudb/ft-index/src/tests/blocking-last.cc
index 9166a07aa28..5ca6ce5ec6a 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-last.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-last.cc
@@ -237,7 +237,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-next-prev-deadlock.cc b/storage/tokudb/ft-index/src/tests/blocking-next-prev-deadlock.cc
index c85996275bd..fb591feff28 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-next-prev-deadlock.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-next-prev-deadlock.cc
@@ -306,7 +306,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#else
r = db_env->set_lk_detect(db_env, DB_LOCK_YOUNGEST); assert(r == 0);
#endif
diff --git a/storage/tokudb/ft-index/src/tests/blocking-prelock-range.cc b/storage/tokudb/ft-index/src/tests/blocking-prelock-range.cc
index 561f2550bb9..cece47cbeec 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-prelock-range.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-prelock-range.cc
@@ -182,7 +182,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-put-timeout.cc b/storage/tokudb/ft-index/src/tests/blocking-put-timeout.cc
index cffb164fba3..c43bcfad5f0 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-put-timeout.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-put-timeout.cc
@@ -233,7 +233,7 @@ int test_main(int argc, char * const argv[]) {
uint64_t lock_timeout_msec;
r = db_env->get_lock_timeout(db_env, &lock_timeout_msec); assert(r == 0);
if (verbose) printf("lock timeout: %" PRIu64 "\n", lock_timeout_msec);
- r = db_env->set_lock_timeout(db_env, 5000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 5000, nullptr); assert(r == 0);
r = db_env->get_lock_timeout(db_env, &lock_timeout_msec); assert(r == 0);
if (verbose) printf("lock timeout: %" PRIu64 "\n", lock_timeout_msec);
#endif
diff --git a/storage/tokudb/ft-index/src/tests/blocking-put-wakeup.cc b/storage/tokudb/ft-index/src/tests/blocking-put-wakeup.cc
index f2f7ea0e825..9c8ad60787b 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-put-wakeup.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-put-wakeup.cc
@@ -209,7 +209,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-put.cc b/storage/tokudb/ft-index/src/tests/blocking-put.cc
index d377e86c236..afd083986d8 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-put.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-put.cc
@@ -181,7 +181,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-set-range-0.cc b/storage/tokudb/ft-index/src/tests/blocking-set-range-0.cc
index a97d6d2f935..8d2dad831a2 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-set-range-0.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-set-range-0.cc
@@ -247,7 +247,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-set-range-n.cc b/storage/tokudb/ft-index/src/tests/blocking-set-range-n.cc
index ee2787554f4..838d18ed6d5 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-set-range-n.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-set-range-n.cc
@@ -242,7 +242,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-set-range-reverse-0.cc b/storage/tokudb/ft-index/src/tests/blocking-set-range-reverse-0.cc
index 829672dedae..7d06dc4c9e0 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-set-range-reverse-0.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-set-range-reverse-0.cc
@@ -245,7 +245,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-set.cc b/storage/tokudb/ft-index/src/tests/blocking-set.cc
index 70c17da513f..d229321aa43 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-set.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-set.cc
@@ -227,7 +227,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/blocking-table-lock.cc b/storage/tokudb/ft-index/src/tests/blocking-table-lock.cc
index 91626773f35..2ae82319a7e 100644
--- a/storage/tokudb/ft-index/src/tests/blocking-table-lock.cc
+++ b/storage/tokudb/ft-index/src/tests/blocking-table-lock.cc
@@ -175,7 +175,7 @@ int test_main(int argc, char * const argv[]) {
}
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
// create the db
diff --git a/storage/tokudb/ft-index/src/tests/db-put-simple-deadlock-threads.cc b/storage/tokudb/ft-index/src/tests/db-put-simple-deadlock-threads.cc
index e78c95cb2e3..004a7aad12d 100644
--- a/storage/tokudb/ft-index/src/tests/db-put-simple-deadlock-threads.cc
+++ b/storage/tokudb/ft-index/src/tests/db-put-simple-deadlock-threads.cc
@@ -273,7 +273,7 @@ int test_main(int argc, char * const argv[]) {
#endif
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if defined(USE_TDB)
- r = db_env->set_lock_timeout(db_env, 0); assert(r == 0); // no wait
+ r = db_env->set_lock_timeout(db_env, 0, nullptr); assert(r == 0); // no wait
#elif defined(USE_BDB)
r = db_env->set_lk_detect(db_env, DB_LOCK_YOUNGEST); assert(r == 0);
r = db_env->set_timeout(db_env, 10000, DB_SET_LOCK_TIMEOUT); assert(r == 0);
diff --git a/storage/tokudb/ft-index/src/tests/db-put-simple-lockwait.cc b/storage/tokudb/ft-index/src/tests/db-put-simple-lockwait.cc
index d89235d7f59..54682db81af 100644
--- a/storage/tokudb/ft-index/src/tests/db-put-simple-lockwait.cc
+++ b/storage/tokudb/ft-index/src/tests/db-put-simple-lockwait.cc
@@ -214,7 +214,7 @@ int test_main(int argc, char * const argv[]) {
db_env_open_flags &= ~(DB_INIT_TXN | DB_INIT_LOG);
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if TOKUDB
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#else
r = db_env->set_lk_detect(db_env, DB_LOCK_YOUNGEST); assert(r == 0);
#endif
diff --git a/storage/tokudb/ft-index/src/tests/db-put-update-deadlock.cc b/storage/tokudb/ft-index/src/tests/db-put-update-deadlock.cc
index 21ae8d853f1..1a546825fc4 100644
--- a/storage/tokudb/ft-index/src/tests/db-put-update-deadlock.cc
+++ b/storage/tokudb/ft-index/src/tests/db-put-update-deadlock.cc
@@ -275,7 +275,7 @@ int test_main(int argc, char * const argv[]) {
db_env_open_flags &= ~(DB_INIT_TXN | DB_INIT_LOG);
r = db_env->open(db_env, db_env_dir, db_env_open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); assert(r == 0);
#if defined(TOKUDB)
- r = db_env->set_lock_timeout(db_env, 30 * 1000); assert(r == 0);
+ r = db_env->set_lock_timeout(db_env, 30 * 1000, nullptr); assert(r == 0);
#endif
#if defined(USE_BDB)
if (!poll_deadlock) {
diff --git a/storage/tokudb/ft-index/src/tests/env_loader_memory.cc b/storage/tokudb/ft-index/src/tests/env_loader_memory.cc
index 1cbdc1b16f5..106bdefd3a9 100644
--- a/storage/tokudb/ft-index/src/tests/env_loader_memory.cc
+++ b/storage/tokudb/ft-index/src/tests/env_loader_memory.cc
@@ -91,14 +91,21 @@ PATENT RIGHTS GRANT:
#include "test.h"
#include <db.h>
+static uint64_t my_loader_memory_size;
+
+static uint64_t get_loader_memory_size(void) {
+ return my_loader_memory_size;
+}
+
int test_main (int argc, char * const argv[]) {
parse_args(argc, argv);
int r;
DB_ENV *env;
r = db_env_create(&env, 0);
assert_zero(r);
+ env->set_loader_memory_size(env, get_loader_memory_size);
for (uint64_t n = 0 ; n < 10000000000; n += 1000000000) {
- env->set_loader_memory_size(env, n);
+ my_loader_memory_size = n;
assert(env->get_loader_memory_size(env) == n);
}
r = env->close(env, 0);
diff --git a/storage/tokudb/ft-index/src/tests/env_nproc.cc b/storage/tokudb/ft-index/src/tests/env_nproc.cc
new file mode 100644
index 00000000000..29bc216f9c8
--- /dev/null
+++ b/storage/tokudb/ft-index/src/tests/env_nproc.cc
@@ -0,0 +1,143 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2009-2013 Tokutek Inc. All rights reserved."
+#ident "$Id$"
+
+#include "test.h"
+#include <db.h>
+#include <sys/resource.h>
+
+static void env_open_close(void) {
+ int r;
+
+ DB_ENV *env = NULL;
+ r = db_env_create(&env, 0);
+ assert(r == 0);
+ env->set_errfile(env, stderr);
+ r = env->open(env, TOKU_TEST_FILENAME, DB_INIT_LOCK+DB_INIT_MPOOL+DB_INIT_TXN+DB_INIT_LOG + DB_CREATE + DB_PRIVATE, S_IRWXU+S_IRWXG+S_IRWXO);
+ if (r != 0) {
+ fprintf(stderr, "%s:%u r=%d\n", __FILE__, __LINE__, r);
+ }
+ r = env->close(env, 0);
+ assert(r == 0);
+}
+
+int test_main (int argc, char * const argv[]) {
+ int r;
+ int limit = 1;
+
+ // parse_args(argc, argv);
+ for (int i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-v") == 0) {
+ verbose++;
+ continue;
+ }
+ if (strcmp(argv[i], "-q") == 0) {
+ if (verbose > 0) verbose--;
+ continue;
+ }
+ limit = atoi(argv[i]);
+ continue;
+ }
+
+ toku_os_recursive_delete(TOKU_TEST_FILENAME);
+ r = toku_os_mkdir(TOKU_TEST_FILENAME, S_IRWXU+S_IRWXG+S_IRWXO);
+
+ struct rlimit nproc_rlimit;
+ r = getrlimit(RLIMIT_NPROC, &nproc_rlimit);
+ assert(r == 0);
+
+ nproc_rlimit.rlim_cur = limit;
+ r = setrlimit(RLIMIT_NPROC, &nproc_rlimit);
+ assert(r == 0);
+
+ env_open_close();
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/src/tests/filesize.cc b/storage/tokudb/ft-index/src/tests/filesize.cc
index e03bcee4a15..c1b7ad2df30 100644
--- a/storage/tokudb/ft-index/src/tests/filesize.cc
+++ b/storage/tokudb/ft-index/src/tests/filesize.cc
@@ -206,7 +206,8 @@ delete_n (uint32_t ah)
static void
optimize(void) {
if (verbose) printf("Filesize: begin optimize dictionary\n");
- int r = db->hot_optimize(db, NULL, NULL, NULL, NULL);
+ uint64_t loops_run;
+ int r = db->hot_optimize(db, NULL, NULL, NULL, NULL, &loops_run);
CKERR(r);
if (verbose) printf("Filesize: end optimize dictionary\n");
}
diff --git a/storage/tokudb/ft-index/src/tests/get_last_key.cc b/storage/tokudb/ft-index/src/tests/get_last_key.cc
new file mode 100644
index 00000000000..36c7ab63259
--- /dev/null
+++ b/storage/tokudb/ft-index/src/tests/get_last_key.cc
@@ -0,0 +1,299 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+/**
+ * Test that various queries behave correctly
+ *
+ * Zardosht says:
+ *
+ * write a test that inserts a bunch of elements into the tree,
+ * and then verify that the following types of queries work:
+ * - db->get
+ * - next
+ * - prev
+ * - set_range
+ * - set_range_reverse
+ * - first
+ * - last
+ * - current
+ *
+ * do it on a table with:
+ * - just a leaf node
+ * - has internal nodes (make node size 4K and bn size 1K)
+ * - big cachetable such that everything fits
+ * - small cachetable such that not a lot fits
+ *
+ * make sure APIs are the callback APIs (getf_XXX)
+ * make sure your callbacks all return TOKUDB_CURSOR_CONTINUE,
+ * so we ensure that returning TOKUDB_CURSOR_CONTINUE does not
+ * mess anything up.
+ */
+
+#include "test.h"
+
+/**
+ * Calculate or verify that a value for a given key is correct
+ * Returns 0 if the value is correct, nonzero otherwise.
+ */
+static void get_value_by_key(DBT * key, DBT * value)
+{
+ // keys/values are always stored in the DBT in net order
+ int * CAST_FROM_VOIDP(k, key->data);
+ int v = toku_ntohl(*k) * 2 + 1;
+ memcpy(value->data, &v, sizeof(int));
+}
+
+static void prepare_for_env(void) {
+ toku_os_recursive_delete(TOKU_TEST_FILENAME);
+ int r = toku_os_mkdir(TOKU_TEST_FILENAME, 0755); { int chk_r = r; CKERR(chk_r); }
+}
+
+static void init_env(DB_ENV ** env, size_t ct_size)
+{
+ int r;
+ const int envflags = DB_INIT_MPOOL | DB_CREATE | DB_THREAD |
+ DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN | DB_PRIVATE;
+
+ printf("initializing environment\n");
+
+ r = db_env_create(env, 0); { int chk_r = r; CKERR(chk_r); }
+ assert(ct_size < 1024 * 1024 * 1024L);
+ r = (*env)->set_cachesize(*env, 0, ct_size, 1); { int chk_r = r; CKERR(chk_r); }
+ r = (*env)->open(*env, TOKU_TEST_FILENAME, envflags, 0755); { int chk_r = r; CKERR(chk_r); }
+}
+
+static void init_db(DB_ENV * env, DB ** db)
+{
+ int r;
+ const int node_size = 4096;
+ const int bn_size = 1024;
+
+ printf("initializing db\n");
+
+ DB_TXN * txn;
+ r = db_create(db, env, 0); { int chk_r = r; CKERR(chk_r); }
+ r = (*db)->set_readpagesize(*db, bn_size); { int chk_r = r; CKERR(chk_r); }
+ r = (*db)->set_pagesize(*db, node_size); { int chk_r = r; CKERR(chk_r); }
+ r = env->txn_begin(env, nullptr, &txn, 0); { int chk_r = r; CKERR(chk_r); }
+ r = (*db)->open(*db, txn, "db", nullptr, DB_BTREE, DB_CREATE, 0644); { int chk_r = r; CKERR(chk_r); }
+ r = txn->commit(txn, 0); { int chk_r = r; CKERR(chk_r); }
+}
+
+static void cleanup_env_and_db(DB_ENV * env, DB * db)
+{
+ int r;
+
+ printf("cleaning up environment and db\n");
+ r = db->close(db, 0); { int chk_r = r; CKERR(chk_r); }
+ r = env->close(env, 0); { int chk_r = r; CKERR(chk_r); }
+}
+
+static int get_last_key_cb(const DBT *key, const DBT *value, void *extra) {
+ if (key->data) {
+ invariant_null(value);
+ int expected_key = *(int*)extra;
+ int found_key = *(int*)key->data;
+ invariant(expected_key == (int)ntohl(found_key));
+ }
+ return 0;
+}
+
+
+static void check_last_key_matches(DB *db, int expect_r, int key) {
+ int r = db->get_last_key(db, get_last_key_cb, &key);
+ CKERR2(r, expect_r);
+}
+
+static void do_test(size_t ct_size, int num_keys)
+{
+ int i, r;
+ DB * db;
+ DB_ENV * env;
+ DB_TXN *txn = nullptr;
+ DB_TXN *txn2 = nullptr;
+ uint64_t loops_run = 0;
+
+
+ printf("doing tests for ct_size %lu, num_keys %d\n",
+ ct_size, num_keys);
+
+ // initialize everything and insert data
+ prepare_for_env();
+ init_env(&env, ct_size);
+ assert(env != nullptr);
+ init_db(env, &db);
+ assert(db != nullptr);
+
+ r = env->txn_begin(env, nullptr, &txn, 0);
+ CKERR(r);
+ DBT key, value;
+ for (i = 0; i < num_keys; i++) {
+ int v, k = toku_htonl(i);
+ dbt_init(&key, &k, sizeof(int));
+ dbt_init(&value, &v, sizeof(int));
+ get_value_by_key(&key, &value);
+ r = db->put(db, txn, &key, &value, 0);
+ CKERR(r);
+ }
+ CKERR(r);
+
+ int expect_r = num_keys == 0 ? DB_NOTFOUND : 0;
+ check_last_key_matches(db, expect_r, num_keys - 1);
+
+ r = txn->commit(txn, 0);
+ check_last_key_matches(db, expect_r, num_keys - 1);
+
+ if (num_keys == 0) {
+ goto cleanup;
+ }
+ r = env->txn_begin(env, nullptr, &txn2, 0);
+ CKERR(r);
+ r = env->txn_begin(env, nullptr, &txn, 0);
+ CKERR(r);
+
+ r = db->del(db, txn, &key, 0);
+ check_last_key_matches(db, 0, num_keys - 1);
+
+ r = txn->commit(txn, 0);
+ check_last_key_matches(db, 0, num_keys - 1);
+
+ r = txn2->commit(txn2, 0);
+ check_last_key_matches(db, 0, num_keys - 1);
+
+ //Run Garbage collection (NOTE does not work when everything fits in root??? WHY)
+ r = db->hot_optimize(db, nullptr, nullptr, nullptr, nullptr, &loops_run);
+ CKERR(r);
+
+ r = env->txn_checkpoint(env, 0, 0, 0);
+ CKERR(r);
+
+ //Run Garbage collection (NOTE does not work when everything fits in root??? WHY)
+ r = db->hot_optimize(db, nullptr, nullptr, nullptr, nullptr, &loops_run);
+ CKERR(r);
+
+ r = env->txn_checkpoint(env, 0, 0, 0);
+ CKERR(r);
+
+ //Fully close and reopen
+ //This clears cachetable
+ //note that closing a db and reopening may not flush the cachetable so we close env as well
+ cleanup_env_and_db(env, db);
+ init_env(&env, ct_size);
+ assert(env != nullptr);
+ init_db(env, &db);
+ assert(db != nullptr);
+
+ //NOTE: tried overkill (double optimize, double checkpoint.. gc still doesn't happen for everything in root in single basement
+
+ if (num_keys >= 2) {
+ // At least one key remains.
+ check_last_key_matches(db, 0, num_keys - 2);
+ } else {
+ //no key remains. Should find nothing.
+ check_last_key_matches(db, DB_NOTFOUND, -1);
+ }
+cleanup:
+ cleanup_env_and_db(env, db);
+}
+
+int test_main(int argc, char * const argv[])
+{
+ default_parse_args(argc, argv);
+
+ for (int i = 0; i <= 2; i++) {
+ do_test(1024*1024, i);
+ }
+ for (int i = 4; i <= 1024; i*=2) {
+ do_test(1024*1024, i);
+ }
+
+ return 0;
+}
+
diff --git a/storage/tokudb/ft-index/src/tests/hot-optimize-table-tests.cc b/storage/tokudb/ft-index/src/tests/hot-optimize-table-tests.cc
index ce245ce69f9..6a00afa4a51 100644
--- a/storage/tokudb/ft-index/src/tests/hot-optimize-table-tests.cc
+++ b/storage/tokudb/ft-index/src/tests/hot-optimize-table-tests.cc
@@ -247,7 +247,8 @@ hot_test(DB* db, unsigned int size)
// Flatten the tree.
verbose ? printf("Calling hot optimize...\n") : 0;
- r = db->hot_optimize(db, NULL, NULL, NULL, NULL);
+ uint64_t loops_run;
+ r = db->hot_optimize(db, NULL, NULL, NULL, NULL, &loops_run);
assert(r == 0);
verbose ? printf("HOT Finished!\n") : 0;
for (unsigned int i = 0; i < size; ++i) {
diff --git a/storage/tokudb/ft-index/src/tests/locktree_escalation_stalls.cc b/storage/tokudb/ft-index/src/tests/locktree_escalation_stalls.cc
new file mode 100644
index 00000000000..037d2fc46a9
--- /dev/null
+++ b/storage/tokudb/ft-index/src/tests/locktree_escalation_stalls.cc
@@ -0,0 +1,312 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2009-2013 Tokutek Inc. All rights reserved."
+#ident "$Id$"
+
+// This test ensures that lock escalation occurs on the big transaction thread.
+// locktree_escalation_stalls --max_i 1000000000 --n_small 16 --verbose
+
+#include "test.h"
+#include <db.h>
+#include "toku_time.h"
+#include "toku_pthread.h"
+
+// from #include "threaded_stress_test_helpers.h"
+// For each line of engine status output, look for lines that contain substrings
+// that match any of the strings in the pattern string. The pattern string contains
+// 0 or more strings separated by the '|' character, kind of like a regex.
+static void print_matching_engine_status_rows(DB_ENV *env, const char *pattern) {
+ uint64_t num_rows;
+ env->get_engine_status_num_rows(env, &num_rows);
+ uint64_t buf_size = num_rows * 128;
+ const char *row;
+ char *row_r;
+
+ char *pattern_copy = toku_xstrdup(pattern);
+ int num_patterns = 1;
+ for (char *p = pattern_copy; *p != '\0'; p++) {
+ if (*p == '|') {
+ *p = '\0';
+ num_patterns++;
+ }
+ }
+
+ char *XMALLOC_N(buf_size, buf);
+ int r = env->get_engine_status_text(env, buf, buf_size);
+ invariant_zero(r);
+
+ for (row = strtok_r(buf, "\n", &row_r); row != nullptr; row = strtok_r(nullptr, "\n", &row_r)) {
+ const char *p = pattern_copy;
+ for (int i = 0; i < num_patterns; i++, p += strlen(p) + 1) {
+ if (strstr(row, p) != nullptr) {
+ fprintf(stderr, "%s\n", row);
+ }
+ }
+ }
+
+ toku_free(pattern_copy);
+ toku_free(buf);
+ fflush(stderr);
+}
+
+static volatile int killed = 0;
+
+// in a big transaction, insert a bunch of rows.
+static void big_test(DB_ENV *env, DB *db, uint64_t max_i) {
+ if (verbose)
+ fprintf(stderr, "%u %s\n", toku_os_gettid(), __FUNCTION__);
+ int r;
+
+ DB_TXN *txn = NULL;
+ r = env->txn_begin(env, NULL, &txn, 0);
+ assert(r == 0);
+
+ for (uint64_t i = 0; !killed && i < max_i; i++) {
+ uint64_t k = htonl(i);
+ DBT key = { .data = &k, .size = sizeof k };
+ DBT val = { .data = &i, .size = sizeof i };
+ uint64_t t_start = toku_current_time_microsec();
+ r = db->put(db, txn, &key, &val, 0);
+ assert(r == 0);
+ uint64_t t_end = toku_current_time_microsec();
+ uint64_t t_delta = t_end - t_start;
+ if (t_delta >= 1000000) {
+ fprintf(stderr, "%u %s i=%" PRIu64 " %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, i, t_delta);
+ if (verbose)
+ print_matching_engine_status_rows(env, "locktree");
+ }
+
+ toku_pthread_yield();
+ }
+
+ r = txn->commit(txn, 0);
+ assert(r == 0);
+}
+
+// insert a row in a single transaction.
+static void small_test(DB_ENV *env, DB *db, uint64_t max_i) {
+ if (verbose)
+ fprintf(stderr, "%u %s\n", toku_os_gettid(), __FUNCTION__);
+ int r;
+ uint64_t k = toku_os_gettid(); // get a unique number
+ for (uint64_t i = 0; !killed && i < max_i; i++) {
+ DB_TXN *txn = NULL;
+ r = env->txn_begin(env, NULL, &txn, 0);
+ assert(r == 0);
+
+ DBT key = { .data = &k, .size = sizeof k };
+ DBT val = { .data = &i, .size = sizeof i };
+ uint64_t t_start = toku_current_time_microsec();
+ r = db->put(db, txn, &key, &val, 0);
+ assert(r == 0);
+ uint64_t t_end = toku_current_time_microsec();
+ uint64_t t_delta = t_end - t_start;
+ if (t_delta >= 1000000) {
+ fprintf(stderr, "%u %s %" PRIu64 "\n", toku_os_gettid(), __FUNCTION__, t_delta);
+ assert(0);
+ }
+
+ r = txn->commit(txn, 0);
+ assert(r == 0);
+
+ toku_pthread_yield();
+ }
+}
+
+struct test_args {
+ DB_ENV *env;
+ DB *db;
+ uint64_t max_i;
+ void (*test_f)(DB_ENV *env, DB *db, uint64_t max_i);
+};
+
+static void *test_f(void *args) {
+ struct test_args *test_args = (struct test_args *) args;
+ test_args->test_f(test_args->env, test_args->db, test_args->max_i);
+ return args;
+}
+
+static void run_test(uint64_t max_i, int n_small) {
+ int r;
+
+ DB_ENV *env = NULL;
+ r = db_env_create(&env, 0);
+ assert(r == 0);
+ env->set_errfile(env, stderr);
+ r = env->set_cachesize(env, 8, 0, 1);
+ assert(r == 0);
+ r = env->set_lk_max_memory(env, 1000000000);
+ assert(r == 0);
+ r = env->open(env, TOKU_TEST_FILENAME, DB_INIT_LOCK+DB_INIT_MPOOL+DB_INIT_TXN+DB_INIT_LOG + DB_CREATE + DB_PRIVATE, S_IRWXU+S_IRWXG+S_IRWXO);
+ assert(r == 0);
+
+ DB *big_db = NULL;
+ r = db_create(&big_db, env, 0);
+ assert(r == 0);
+
+ r = big_db->open(big_db, NULL, "big", NULL, DB_BTREE, DB_AUTO_COMMIT+DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO);
+ assert(r == 0);
+
+ DB *small_db = NULL;
+ r = db_create(&small_db, env, 0);
+ assert(r == 0);
+
+ r = small_db->open(small_db, NULL, "small", NULL, DB_BTREE, DB_AUTO_COMMIT+DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO);
+ assert(r == 0);
+
+ struct test_args big_test_args = {
+ env, big_db, max_i, big_test,
+ };
+ toku_pthread_t big_id;
+ r = toku_pthread_create(&big_id, NULL, test_f, &big_test_args);
+ assert(r == 0);
+
+ struct test_args small_test_args[n_small];
+ toku_pthread_t small_id[n_small];
+ for (int i = 0; i < n_small; i++) {
+ small_test_args[i] = { env, small_db, max_i, small_test };
+ r = toku_pthread_create(&small_id[i], NULL, test_f, &small_test_args[i]);
+ assert(r == 0);
+ }
+
+ void *big_ret;
+ r = toku_pthread_join(big_id, &big_ret);
+ assert(r == 0);
+
+ killed = 1;
+
+ for (int i = 0; i < n_small; i++) {
+ void *small_ret;
+ r = toku_pthread_join(small_id[i], &small_ret);
+ assert(r == 0);
+ }
+
+ r = small_db->close(small_db, 0);
+ assert(r == 0);
+
+ r = big_db->close(big_db, 0);
+ assert(r == 0);
+
+ r = env->close(env, 0);
+ assert(r == 0);
+}
+
+int test_main (int argc, char * const argv[]) {
+ int r;
+ uint64_t max_i = 10000;
+ int n_small = 1;
+
+ // parse_args(argc, argv);
+ for (int i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
+ verbose++;
+ continue;
+ }
+ if (strcmp(argv[i], "-q") == 0) {
+ if (verbose > 0) verbose--;
+ continue;
+ }
+ if (strcmp(argv[i], "--max_i") == 0 && i+1 < argc) {
+ max_i = atoll(argv[++i]);
+ continue;
+ }
+ if (strcmp(argv[i], "--n_small") == 0 && i+1 < argc) {
+ n_small = atoi(argv[++i]);
+ continue;
+ }
+ }
+
+ toku_os_recursive_delete(TOKU_TEST_FILENAME);
+ r = toku_os_mkdir(TOKU_TEST_FILENAME, S_IRWXU+S_IRWXG+S_IRWXO);
+ assert(r == 0);
+
+ run_test(max_i, n_small);
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/src/tests/recover-child-rollback.cc b/storage/tokudb/ft-index/src/tests/recover-child-rollback.cc
new file mode 100644
index 00000000000..00f036cc174
--- /dev/null
+++ b/storage/tokudb/ft-index/src/tests/recover-child-rollback.cc
@@ -0,0 +1,168 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "$Id$"
+#include "test.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <toku_pthread.h>
+#include <unistd.h>
+#include <memory.h>
+#include <sys/stat.h>
+#include <db.h>
+
+#include "threaded_stress_test_helpers.h"
+
+//
+// This test is a form of stress that does operations on a single dictionary:
+// We create a dictionary bigger than the cachetable (around 4x greater).
+// Then, we spawn a bunch of pthreads that do the following:
+// - scan dictionary forward with bulk fetch
+// - scan dictionary forward slowly
+// - scan dictionary backward with bulk fetch
+// - scan dictionary backward slowly
+// - Grow the dictionary with insertions
+// - do random point queries into the dictionary
+// With the small cachetable, this should produce quite a bit of churn in reading in and evicting nodes.
+// If the test runs to completion without crashing, we consider it a success. It also tests that snapshots
+// work correctly by verifying that table scans sum their vals to 0.
+//
+// This does NOT test:
+// - splits and merges
+// - multiple DBs
+//
+// Variables that are interesting to tweak and run:
+// - small cachetable
+// - number of elements
+//
+
+static void
+stress_table(DB_ENV *env, DB **dbp, struct cli_args *cli_args) {
+ //
+ // the threads that we want:
+ // - one (or more) thread(s) constantly updating random values, wrapped in a persistent parent transaction.
+
+ if (verbose) printf("starting creation of pthreads\n");
+ const int num_threads = cli_args->num_update_threads;
+ struct arg myargs[num_threads];
+ for (int i = 0; i < num_threads; i++) {
+ arg_init(&myargs[i], dbp, env, cli_args);
+ }
+
+ struct update_op_args uoe = get_update_op_args(cli_args, NULL);
+ // make the guy that updates the db
+ for (int i = 0; i < cli_args->num_update_threads; ++i) {
+ myargs[i].operation_extra = &uoe;
+ myargs[i].operation = update_op;
+ myargs[i].do_prepare = true;
+ myargs[i].wrap_in_parent = true;
+ }
+
+ run_workers(myargs, num_threads, cli_args->num_seconds, true, cli_args);
+}
+
+int
+test_main(int argc, char *const argv[]) {
+ struct cli_args args = get_default_args();
+ args.num_seconds = 5;
+ //args.txn_size = 64; // 100 * 256 is more than enough to spill (4096) byte rollback nodes for parent and child.
+ //args.val_size = 512; // Large values to overflow a rollback log node fast.
+ //args.env_args.node_size = 4*1024*1024; // Large nodes to prevent spending much time
+ //args.env_args.basement_node_size = 128*1024; // Large nodes to prevent spending much time
+ args.env_args.checkpointing_period = 1;
+ parse_stress_test_args(argc, argv, &args);
+ if (args.do_test_and_crash) {
+ stress_test_main(&args);
+ }
+ if (args.do_recover) {
+ stress_recover(&args);
+ }
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/src/tests/test_4368.cc b/storage/tokudb/ft-index/src/tests/test_4368.cc
index 2f578d03bcb..f000efa7813 100644
--- a/storage/tokudb/ft-index/src/tests/test_4368.cc
+++ b/storage/tokudb/ft-index/src/tests/test_4368.cc
@@ -113,7 +113,8 @@ test_main (int UU(argc), char UU(*const argv[])) {
r = db->open(db, NULL, "test.db", 0, DB_BTREE, DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO); assert(r == 0);
// call hot_optimize on an empty db. The empty db should have only a root node, which should invoke the bug
- r = db->hot_optimize(db, NULL, NULL, NULL, NULL); assert_zero(r);
+ uint64_t loops_run;
+ r = db->hot_optimize(db, NULL, NULL, NULL, NULL, &loops_run); assert_zero(r);
r=db->close(db, 0); assert(r==0);
r=env->close(env, 0); assert(r==0);
diff --git a/storage/tokudb/ft-index/src/tests/test_bad_implicit_promotion.cc b/storage/tokudb/ft-index/src/tests/test_bad_implicit_promotion.cc
new file mode 100644
index 00000000000..8fcff7c6132
--- /dev/null
+++ b/storage/tokudb/ft-index/src/tests/test_bad_implicit_promotion.cc
@@ -0,0 +1,190 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2014 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2014 Tokutek Inc. All rights reserved."
+
+#include "test.h"
+
+// Test the following scenario:
+// Begin A
+// A deletes key K
+// A aborts
+// Begin B
+// B deletes key K-1
+// B deletes key K
+// B deletes key K+1
+// B commits
+// Begin C
+// C queries K, should read K (not the delete!).
+//
+// An incorrect mvcc implementation would 'implicitly' promote
+// A's delete to committed, based on the fact that the oldest
+// referenced xid at the time of injection for key k-1 and k+1
+// is greater than A's xid.
+
+static void test_insert_bad_implicit_promotion(void) {
+ int r;
+
+ DB_ENV *env;
+ r = db_env_create(&env, 0); CKERR(r);
+ r = env->set_cachesize(env, 1, 0, 1); CKERR(r); // 1gb cache so this test fits in memory
+ r = env->open(env, TOKU_TEST_FILENAME, DB_CREATE+DB_PRIVATE+DB_INIT_MPOOL+DB_INIT_TXN, 0); CKERR(r);
+
+ DB *db;
+ r = db_create(&db, env, 0); CKERR(r);
+ r = db->set_pagesize(db, 4096); CKERR(r);
+ r = db->open(db, NULL, "db", NULL, DB_BTREE, DB_CREATE, 0666); CKERR(r);
+
+ const int val_size = 512;
+
+ DBT key;
+ DBT val;
+ char *XMALLOC_N(val_size, val_buf);
+ memset(val_buf, 'x', val_size);
+ dbt_init(&val, val_buf, val_size);
+
+ // Insert rows [0, N]
+ const int N = 1000;
+ for (int i = 0; i < N; i++) {
+ int k = toku_htonl(i);
+ dbt_init(&key, &k, sizeof(k));
+ r = db->put(db, NULL, &key, &val, 0); CKERR(r);
+ }
+
+ int key_500 = toku_htonl(500);
+ int key_499 = toku_htonl(499);
+ int key_501 = toku_htonl(501);
+ // sanity check our keys
+ r = db->get(db, NULL, dbt_init(&key, &key_500, sizeof(key_500)), &val, 0); CKERR(r);
+ r = db->get(db, NULL, dbt_init(&key, &key_500, sizeof(key_499)), &val, 0); CKERR(r);
+ r = db->get(db, NULL, dbt_init(&key, &key_500, sizeof(key_501)), &val, 0); CKERR(r);
+
+ // Abort a delete for key 500
+ DB_TXN *txn_A;
+ r = env->txn_begin(env, NULL, &txn_A, DB_SERIALIZABLE); CKERR(r);
+ dbt_init(&key, &key_500, sizeof(key_500));
+ r = db->del(db, txn_A, &key, DB_DELETE_ANY); CKERR(r);
+ r = txn_A->abort(txn_A); CKERR(r);
+
+ // Commit two deletes on keys 499 and 501. This should inject
+ // at least one message in the same buffer that has the delete/abort
+ // messages for key 500.
+ DB_TXN *txn_B;
+ r = env->txn_begin(env, NULL, &txn_B, DB_SERIALIZABLE); CKERR(r);
+ dbt_init(&key, &key_499, sizeof(key_499));
+ r = db->del(db, txn_B, &key, DB_DELETE_ANY); CKERR(r);
+ dbt_init(&key, &key_501, sizeof(key_501));
+ r = db->del(db, txn_B, &key, DB_DELETE_ANY); CKERR(r);
+ r = txn_B->commit(txn_B, 0); CKERR(r);
+
+ // No transactions are live - so when we create txn C, the oldest
+ // referenced xid will be txn C. If our implicit promotion logic is
+ // wrong, we will use txn C's xid to promote the delete on key 500
+ // before the abort message hits it, and C's query will return nothing.
+ DB_TXN *txn_C;
+ dbt_init(&key, &key_500, sizeof(key_500));
+ r = env->txn_begin(env, NULL, &txn_C, DB_TXN_SNAPSHOT); CKERR(r);
+ r = db->get(db, txn_C, &key, &val, 0); CKERR(r);
+ r = txn_C->commit(txn_C, 0); CKERR(r);
+
+ toku_free(val_buf);
+ r = db->close(db, 0); CKERR(r);
+ r = env->close(env, 0); CKERR(r);
+}
+
+int
+test_main(int argc, char *const argv[]) {
+ parse_args(argc, argv);
+
+ toku_os_recursive_delete(TOKU_TEST_FILENAME);
+ int r = toku_os_mkdir(TOKU_TEST_FILENAME, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
+
+ test_insert_bad_implicit_promotion();
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/src/tests/test_cursor_interrupt.cc b/storage/tokudb/ft-index/src/tests/test_cursor_interrupt.cc
new file mode 100644
index 00000000000..d82fc5131da
--- /dev/null
+++ b/storage/tokudb/ft-index/src/tests/test_cursor_interrupt.cc
@@ -0,0 +1,202 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: expandtab:ts=8:sw=4:softtabstop=4:
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#include "test.h"
+
+
+#include <stdio.h>
+
+#include <db.h>
+
+
+int num_interrupts_called;
+static bool interrupt(void* extra UU()) {
+ num_interrupts_called++;
+ return false;
+}
+
+static bool interrupt_true(void* extra UU()) {
+ num_interrupts_called++;
+ return true;
+}
+
+
+int
+test_main(int argc, char *const argv[]) {
+ parse_args(argc, argv);
+ DB_ENV *env;
+ DB *db;
+ int r;
+
+ toku_os_recursive_delete(TOKU_TEST_FILENAME);
+ r=toku_os_mkdir(TOKU_TEST_FILENAME, S_IRWXU+S_IRWXG+S_IRWXO); assert(r==0);
+ r=db_env_create(&env, 0); assert(r==0);
+ r=env->open(env, TOKU_TEST_FILENAME, DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN | DB_CREATE | DB_PRIVATE | DB_INIT_LOG, S_IRWXU+S_IRWXG+S_IRWXO); assert(r==0);
+
+ r = db_create(&db, env, 0);
+ CKERR(r);
+ r = db->set_readpagesize(db, 1024);
+ CKERR(r);
+ r = db->set_pagesize(db, 1024*10);
+ CKERR(r);
+
+ const char * const fname = "test.change_pagesize";
+ r = db->open(db, NULL, fname, "main", DB_BTREE, DB_CREATE, 0666);
+ CKERR(r);
+ DB_TXN* txn;
+ r = env->txn_begin(env, 0, &txn, 0);
+ CKERR(r);
+ for (uint64_t i = 0; i < 10000; i++) {
+ DBT key, val;
+ uint64_t k = i;
+ uint64_t v = i;
+ dbt_init(&key, &k, sizeof k);
+ dbt_init(&val, &v, sizeof v);
+ db->put(db, txn, &key, &val, DB_PRELOCKED_WRITE); // adding DB_PRELOCKED_WRITE just to make the test go faster
+ }
+ r = txn->commit(txn, 0);
+ CKERR(r);
+
+ // create a snapshot txn so that when we delete the elements
+ // we just inserted, that they do not get garbage collected away
+ DB_TXN* snapshot_txn;
+ r = env->txn_begin(env, 0, &snapshot_txn, DB_TXN_SNAPSHOT);
+ CKERR(r);
+
+ DB_TXN* delete_txn;
+ r = env->txn_begin(env, 0, &delete_txn, DB_TXN_SNAPSHOT);
+ CKERR(r);
+
+ for (uint64_t i = 0; i < 10000; i++) {
+ DBT key;
+ uint64_t k = i;
+ dbt_init(&key, &k, sizeof k);
+ db->del(db, delete_txn, &key, DB_PRELOCKED_WRITE | DB_DELETE_ANY); // adding DB_PRELOCKED_WRITE just to make the test go faster
+ }
+ r = delete_txn->commit(delete_txn, 0);
+ CKERR(r);
+
+ // to make more than one basement node in the dictionary's leaf nodes
+ r = env->txn_checkpoint(env, 0, 0, 0);
+ CKERR(r);
+
+ // create a txn that should see an empty dictionary
+ DB_TXN* test_txn;
+ r = env->txn_begin(env, 0, &test_txn, DB_TXN_SNAPSHOT);
+ CKERR(r);
+ DBC* cursor = NULL;
+ r = db->cursor(db, test_txn, &cursor, 0);
+ cursor->c_set_check_interrupt_callback(cursor, interrupt, NULL);
+ DBT key, val;
+ r = cursor->c_get(cursor, &key, &val, DB_NEXT);
+ CKERR2(r, DB_NOTFOUND);
+ assert(num_interrupts_called > 1);
+ num_interrupts_called = 0;
+ cursor->c_set_check_interrupt_callback(cursor, interrupt_true, NULL);
+ r = cursor->c_get(cursor, &key, &val, DB_NEXT);
+ CKERR2(r, TOKUDB_INTERRUPTED);
+ assert(num_interrupts_called == 1);
+
+ r = cursor->c_close(cursor);
+ CKERR(r);
+ r = test_txn->commit(test_txn, 0);
+ CKERR(r);
+
+
+ r = snapshot_txn->commit(snapshot_txn, 0);
+ CKERR(r);
+
+
+ r = db->close(db, 0);
+ CKERR(r);
+
+ r = env->close(env, 0);
+ assert(r == 0);
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/src/tests/test_insert_many_gc.cc b/storage/tokudb/ft-index/src/tests/test_insert_many_gc.cc
new file mode 100644
index 00000000000..a1884d22c0c
--- /dev/null
+++ b/storage/tokudb/ft-index/src/tests/test_insert_many_gc.cc
@@ -0,0 +1,157 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2014 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2014 Tokutek Inc. All rights reserved."
+
+#include "test.h"
+
+
+static void test_insert_many_gc(void) {
+ int r;
+
+ DB_ENV *env;
+ r = db_env_create(&env, 0); CKERR(r);
+ r = env->set_cachesize(env, 1, 0, 1); CKERR(r); // 1gb cache so this test fits in memory
+ r = env->open(env, TOKU_TEST_FILENAME, DB_CREATE+DB_PRIVATE+DB_INIT_MPOOL+DB_INIT_TXN, 0); CKERR(r);
+
+ DB *db;
+ r = db_create(&db, env, 0); CKERR(r);
+ r = db->open(db, NULL, "db", NULL, DB_BTREE, DB_CREATE, 0666); CKERR(r);
+
+ const int val_size = 1 * 1024 * 1024;
+
+ // Begin a snapshot transaction, which should prevent simple garbage collection
+ // from being effective. Only full garbage collection can prevent many inserts
+ // into a single leaf node from growing out of control.
+ DB_TXN *snapshot_txn;
+ r = env->txn_begin(env, NULL, &snapshot_txn, DB_TXN_SNAPSHOT); CKERR(r);
+
+ DBT key;
+ int k = 0;
+ dbt_init(&key, &k, sizeof(k));
+
+ DBT val;
+ char *XMALLOC_N(val_size, val_buf);
+ memset(val_buf, 0, val_size);
+ dbt_init(&val, val_buf, val_size);
+
+ // Keep overwriting the same row over and over.
+ const int N = 75;
+ for (int i = 0; i < N; i++) {
+ r = db->put(db, NULL, &key, &val, 0); CKERR(r);
+ }
+
+ // Full garbage collection should have prevented the leaf node
+ // from having an MVCC stack of size 'N'. At the time of this
+ // writing, we run full GC on leaf-inject when the leaf is
+ // 32mb or larger. A good invariant is that the max LE size
+ // never grew larger than 35mb and that the max commited xr stack
+ // length never exceeded 35
+ const uint64_t le_max_memsize = get_engine_status_val(env, "LE_MAX_MEMSIZE");
+ const uint64_t le_max_committed_xr = get_engine_status_val(env, "LE_MAX_COMMITTED_XR");
+ invariant(le_max_memsize <= 35 * 1024 * 1024);
+ invariant(le_max_committed_xr <= 35);
+
+ r = snapshot_txn->commit(snapshot_txn, 0); CKERR(r);
+
+ toku_free(val_buf);
+ r = db->close(db, 0); CKERR(r);
+ r = env->close(env, 0); CKERR(r);
+}
+
+int
+test_main(int argc, char *const argv[]) {
+ parse_args(argc, argv);
+
+ toku_os_recursive_delete(TOKU_TEST_FILENAME);
+ int r = toku_os_mkdir(TOKU_TEST_FILENAME, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
+
+ test_insert_many_gc();
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/src/tests/test_iterate_pending_lock_requests.cc b/storage/tokudb/ft-index/src/tests/test_iterate_pending_lock_requests.cc
index fe0667d2b0a..248c346c305 100644
--- a/storage/tokudb/ft-index/src/tests/test_iterate_pending_lock_requests.cc
+++ b/storage/tokudb/ft-index/src/tests/test_iterate_pending_lock_requests.cc
@@ -148,7 +148,7 @@ int test_main(int UU(argc), char *const UU(argv[])) {
r = db_env_create(&env, 0); CKERR(r);
r = env->open(env, TOKU_TEST_FILENAME, env_flags, 0755); CKERR(r);
- r = env->set_lock_timeout(env, 4000);
+ r = env->set_lock_timeout(env, 4000, nullptr);
r = db_create(&db, env, 0); CKERR(r);
r = db->open(db, NULL, dname, NULL, DB_BTREE, DB_CREATE, 0777); CKERR(r);
diff --git a/storage/tokudb/ft-index/src/tests/test_kv_gen.h b/storage/tokudb/ft-index/src/tests/test_kv_gen.h
index e22bb165e72..f17b6c18641 100644
--- a/storage/tokudb/ft-index/src/tests/test_kv_gen.h
+++ b/storage/tokudb/ft-index/src/tests/test_kv_gen.h
@@ -180,7 +180,8 @@ static void __attribute__((unused))
do_hot_optimize_on_dbs(DB_ENV *UU(env), DB **dbs, int num_dbs)
{
for (int i = 0; i < num_dbs; ++i) {
- int r = dbs[i]->hot_optimize(dbs[i], NULL, NULL, dummy_progress, NULL);
+ uint64_t loops_run;
+ int r = dbs[i]->hot_optimize(dbs[i], NULL, NULL, dummy_progress, NULL, &loops_run);
CKERR(r);
}
}
diff --git a/storage/tokudb/ft-index/src/tests/test_lock_timeout_callback.cc b/storage/tokudb/ft-index/src/tests/test_lock_timeout_callback.cc
index c56d7968ec5..d4aae0f95d4 100644
--- a/storage/tokudb/ft-index/src/tests/test_lock_timeout_callback.cc
+++ b/storage/tokudb/ft-index/src/tests/test_lock_timeout_callback.cc
@@ -149,7 +149,7 @@ int test_main(int UU(argc), char *const UU(argv[])) {
r = db_env_create(&env, 0); CKERR(r);
r = env->open(env, TOKU_TEST_FILENAME, env_flags, 0755); CKERR(r);
- r = env->set_lock_timeout(env, 1000);
+ r = env->set_lock_timeout(env, 1000, nullptr);
r = env->set_lock_timeout_callback(env, lock_not_granted);
r = db_create(&db, env, 0); CKERR(r);
diff --git a/storage/tokudb/ft-index/src/tests/test_stress5.cc b/storage/tokudb/ft-index/src/tests/test_stress5.cc
index dc2a26940e1..053da44d66c 100644
--- a/storage/tokudb/ft-index/src/tests/test_stress5.cc
+++ b/storage/tokudb/ft-index/src/tests/test_stress5.cc
@@ -108,7 +108,7 @@ stress_table(DB_ENV *env, DB **dbp, struct cli_args *cli_args) {
//
if (verbose) printf("starting creation of pthreads\n");
- const int num_threads = 4 + cli_args->num_update_threads + cli_args->num_ptquery_threads;
+ const int num_threads = 5 + cli_args->num_update_threads + cli_args->num_ptquery_threads;
struct arg myargs[num_threads];
for (int i = 0; i < num_threads; i++) {
arg_init(&myargs[i], dbp, env, cli_args);
diff --git a/storage/tokudb/ft-index/src/tests/threaded_stress_test_helpers.h b/storage/tokudb/ft-index/src/tests/threaded_stress_test_helpers.h
index 46427485129..c173d2d2d63 100644
--- a/storage/tokudb/ft-index/src/tests/threaded_stress_test_helpers.h
+++ b/storage/tokudb/ft-index/src/tests/threaded_stress_test_helpers.h
@@ -232,6 +232,7 @@ struct arg {
bool do_prepare;
bool prelock_updates;
bool track_thread_performance;
+ bool wrap_in_parent;
};
static void arg_init(struct arg *arg, DB **dbp, DB_ENV *env, struct cli_args *cli_args) {
@@ -246,6 +247,7 @@ static void arg_init(struct arg *arg, DB **dbp, DB_ENV *env, struct cli_args *cl
arg->do_prepare = false;
arg->prelock_updates = false;
arg->track_thread_performance = true;
+ arg->wrap_in_parent = false;
}
enum operation_type {
@@ -568,6 +570,7 @@ static void *worker(void *arg_v) {
arg->random_data = &random_data;
DB_ENV *env = arg->env;
DB_TXN *txn = nullptr;
+ DB_TXN *ptxn = nullptr;
if (verbose) {
toku_pthread_t self = toku_pthread_self();
uintptr_t intself = (uintptr_t) self;
@@ -575,11 +578,13 @@ static void *worker(void *arg_v) {
}
if (arg->cli->single_txn) {
r = env->txn_begin(env, 0, &txn, arg->txn_flags); CKERR(r);
+ } else if (arg->wrap_in_parent) {
+ r = env->txn_begin(env, 0, &ptxn, arg->txn_flags); CKERR(r);
}
while (run_test) {
lock_worker_op(we);
if (!arg->cli->single_txn) {
- r = env->txn_begin(env, 0, &txn, arg->txn_flags); CKERR(r);
+ r = env->txn_begin(env, ptxn, &txn, arg->txn_flags); CKERR(r);
}
r = arg->operation(txn, arg, arg->operation_extra, we->counters);
if (r==0 && !arg->cli->single_txn && arg->do_prepare) {
@@ -616,6 +621,9 @@ static void *worker(void *arg_v) {
if (arg->cli->single_txn) {
int flags = get_commit_flags(arg->cli);
int chk_r = txn->commit(txn, flags); CKERR(chk_r);
+ } else if (arg->wrap_in_parent) {
+ int flags = get_commit_flags(arg->cli);
+ int chk_r = ptxn->commit(ptxn, flags); CKERR(chk_r);
}
if (verbose) {
toku_pthread_t self = toku_pthread_self();
@@ -1150,7 +1158,9 @@ static void scan_op_worker(void *arg) {
static int UU() scan_op_no_check_parallel(DB_TXN *txn, ARG arg, void* operation_extra, void *UU(stats_extra)) {
const int num_cores = toku_os_get_number_processors();
const int num_workers = arg->cli->num_DBs < num_cores ? arg->cli->num_DBs : num_cores;
- KIBBUTZ kibbutz = toku_kibbutz_create(num_workers);
+ KIBBUTZ kibbutz = NULL;
+ int r = toku_kibbutz_create(num_workers, &kibbutz);
+ assert(r == 0);
for (int i = 0; run_test && i < arg->cli->num_DBs; i++) {
struct scan_op_worker_info *XCALLOC(info);
info->db = arg->dbp[i];
@@ -1621,7 +1631,8 @@ static int UU() hot_op(DB_TXN *UU(txn), ARG UU(arg), void* UU(operation_extra),
int r;
for (int i = 0; run_test && i < arg->cli->num_DBs; i++) {
DB* db = arg->dbp[i];
- r = db->hot_optimize(db, NULL, NULL, hot_progress_callback, nullptr);
+ uint64_t loops_run;
+ r = db->hot_optimize(db, NULL, NULL, hot_progress_callback, nullptr, &loops_run);
if (run_test) {
CKERR(r);
}
@@ -2102,7 +2113,9 @@ static int fill_tables_default(DB_ENV *env, DB **dbs, struct cli_args *args, boo
// be used for internal engine work (ie: flushes, loader threads, etc).
const int max_num_workers = (num_cores + 1) / 2;
const int num_workers = args->num_DBs < max_num_workers ? args->num_DBs : max_num_workers;
- KIBBUTZ kibbutz = toku_kibbutz_create(num_workers);
+ KIBBUTZ kibbutz = NULL;
+ int r = toku_kibbutz_create(num_workers, &kibbutz);
+ assert(r == 0);
for (int i = 0; i < args->num_DBs; i++) {
struct fill_table_worker_info *XCALLOC(info);
info->env = env;
diff --git a/storage/tokudb/ft-index/src/tests/update-multiple-with-indexer-array.cc b/storage/tokudb/ft-index/src/tests/update-multiple-with-indexer-array.cc
index d4cd4838ce0..684925f9872 100644
--- a/storage/tokudb/ft-index/src/tests/update-multiple-with-indexer-array.cc
+++ b/storage/tokudb/ft-index/src/tests/update-multiple-with-indexer-array.cc
@@ -92,102 +92,102 @@ PATENT RIGHTS GRANT:
// verify that update_multiple where we change the data in row[i] col[j] from x to x+1
+static const int MAX_KEYS = 3;
+
+static int
+array_size(int ndbs) {
+ return +
+ 1 + // 0 for old 1 for new
+ 1 + // ndbs
+ 2 * MAX_KEYS * (ndbs-1);
+}
static int
get_num_new_keys(int i, int dbnum) {
if (dbnum == 0) return 1;
if (i & (1<<4)) {
dbnum++; // Shift every once in a while.
}
- return (i + dbnum) % 3; // 0, 1, or 2
+ return (i + dbnum) % MAX_KEYS; // 0, 1, or 2
}
static int
-get_num_keys(int i, int dbnum) {
+get_old_num_keys(int i, int dbnum) {
if (dbnum == 0) return 1;
- return (i + dbnum) % 3; // 0, 1, or 2
+ return (i + dbnum) % MAX_KEYS; // 0, 1, or 2
}
static int
get_total_secondary_rows(int num_primary) {
- assert(num_primary % 3 == 0);
- return num_primary / 3 * (0 + 1 + 2);
-}
-
-static int
-get_total_num_keys(int i, int num_dbs) {
- int sum = 0;
- for (int db = 1; db < num_dbs; ++db) {
- sum += get_num_keys(i, db);
- }
- return sum;
-}
-
-static int
-get_total_num_new_keys(int i, int num_dbs) {
- int sum = 0;
- for (int db = 1; db < num_dbs; ++db) {
- sum += get_num_new_keys(i, db);
- }
- return sum;
+ assert(num_primary % MAX_KEYS == 0);
+ return num_primary / MAX_KEYS * (0 + 1 + 2);
}
static int
-get_key(int i, int dbnum, int which) {
+get_old_key(int i, int dbnum, int which) {
assert(i < INT16_MAX / 2);
assert(which >= 0);
- assert(which < get_num_keys(i, dbnum));
assert(which < 4);
assert(dbnum < 16);
if (dbnum == 0) {
assert(which == 0);
- return htonl((2*i) << 16);
- } else {
- return htonl(((2*i+0) << 16) + (dbnum<<8) + (which<<1));
+ return htonl(2*i);
+ }
+ if (which >= get_old_num_keys(i, dbnum)) {
+ return htonl(-1);
}
+ return htonl(((2*i+0) << 16) + (dbnum<<8) + (which<<1));
}
static int
get_new_key(int i, int dbnum, int which) {
assert(which >= 0);
- assert(which < get_num_new_keys(i, dbnum));
assert(which < 4);
assert(dbnum < 16);
if (dbnum == 0) {
assert(which == 0);
- return htonl((2*i+1) << 16);
- } else if ((i+dbnum+which) & (1<<5)) {
+ return htonl(2*i);
+ }
+ if (which >= get_num_new_keys(i, dbnum)) {
+ return htonl(-1);
+ }
+ if ((i+dbnum+which) & (1<<5)) {
return htonl(((2*i+0) << 16) + (dbnum<<8) + (which<<1)); // no change from original
- } else {
- return htonl(((2*i+0) << 16) + (dbnum<<8) + (which<<1) + 1);
}
+ return htonl(((2*i+0) << 16) + (dbnum<<8) + (which<<1) + 1);
}
static void
-get_data(int *v, int i, int ndbs) {
- int index = 0;
+fill_data_2_and_later(int *v, int i, int ndbs) {
+ int index = 2;
for (int dbnum = 1; dbnum < ndbs; dbnum++) {
- for (int which = 0; which < get_num_keys(i, dbnum); ++which) {
- v[index++] = get_key(i, dbnum, which);
+ for (int which = 0; which < MAX_KEYS; ++which) {
+ v[index++] = get_old_key(i, dbnum, which);
}
}
-}
-
-static void
-get_new_data(int *v, int i, int ndbs) {
- int index = 0;
for (int dbnum = 1; dbnum < ndbs; dbnum++) {
- for (int which = 0; which < get_num_new_keys(i, dbnum); ++which) {
+ for (int which = 0; which < MAX_KEYS; ++which) {
v[index++] = get_new_key(i, dbnum, which);
- if (which > 0) {
- assert(index >= 2);
- assert(memcmp(&v[index-2], &v[index-1], sizeof(v[0])) < 0);
- }
}
}
}
+static void
+fill_old_data(int *v, int i, int ndbs) {
+ v[0] = 0;
+ v[1] = ndbs;
+ fill_data_2_and_later(v, i, ndbs);
+}
+
+static void
+fill_new_data(int *v, int i, int ndbs) {
+ v[0] = 1;
+ v[1] = ndbs;
+ fill_data_2_and_later(v, i, ndbs);
+}
+
+
static int
put_callback(DB *dest_db, DB *src_db, DBT_ARRAY *dest_key_arrays, DBT_ARRAY *dest_val_arrays, const DBT *src_key, const DBT *src_val) {
(void)src_val;
@@ -201,10 +201,10 @@ put_callback(DB *dest_db, DB *src_db, DBT_ARRAY *dest_key_arrays, DBT_ARRAY *des
int pri_key = *(int *) src_key->data;
int* pri_val = (int*) src_val->data;
- bool is_new = (ntohl(pri_key) >> 16) % 2 == 1;
- int i = (ntohl(pri_key) >> 16) / 2;
+ bool is_new = pri_val[0] == 1;
+ int i = (ntohl(pri_key)) / 2;
- int num_keys = is_new ? get_num_new_keys(i, dbnum) : get_num_keys(i, dbnum);
+ int num_keys = is_new ? get_num_new_keys(i, dbnum) : get_old_num_keys(i, dbnum);
toku_dbt_array_resize(dest_key_arrays, num_keys);
@@ -212,14 +212,16 @@ put_callback(DB *dest_db, DB *src_db, DBT_ARRAY *dest_key_arrays, DBT_ARRAY *des
toku_dbt_array_resize(dest_val_arrays, num_keys);
}
- int index = 0;
-
- for (int idb = 1; idb < dbnum; idb++) {
- index += is_new ? get_num_new_keys(i, idb) : get_num_keys(i, idb);
+ int ndbs = pri_val[1];
+ int index = 2 + (dbnum-1)*MAX_KEYS;
+ if (is_new) {
+ index += MAX_KEYS*(ndbs-1);
}
+
assert(src_val->size % sizeof(int) == 0);
assert((int)src_val->size / 4 >= index + num_keys);
+
for (int which = 0; which < num_keys; which++) {
DBT *dest_key = &dest_key_arrays->dbts[which];
DBT *dest_val = NULL;
@@ -235,7 +237,7 @@ put_callback(DB *dest_db, DB *src_db, DBT_ARRAY *dest_key_arrays, DBT_ARRAY *des
assert(dest_val->flags == DB_DBT_REALLOC);
dest_val->size = 0;
}
- int new_key = is_new ? get_new_key(i, dbnum, which) : get_key(i, dbnum, which);
+ int new_key = is_new ? get_new_key(i, dbnum, which) : get_old_key(i, dbnum, which);
assert(new_key == pri_val[index + which]);
*(int*)dest_key->data = new_key;
}
@@ -265,19 +267,17 @@ do_updates(DB_ENV *env, DB *db[], int ndbs, int nrows) {
// update the data i % ndbs col from x to x+1
- int old_k = get_key(i, 0, 0);
+ int old_k = get_old_key(i, 0, 0);
DBT old_key; dbt_init(&old_key, &old_k, sizeof old_k);
int new_k = get_new_key(i, 0, 0);
DBT new_key; dbt_init(&new_key, &new_k, sizeof new_k);
- int num_old_keys = get_total_num_keys(i, ndbs);
- int v[num_old_keys]; get_data(v, i, ndbs);
+ int v[array_size(ndbs)]; fill_old_data(v, i, ndbs);
DBT old_data; dbt_init(&old_data, &v[0], sizeof v);
-
- int num_new_keys = get_total_num_new_keys(i, ndbs);
- int newv[num_new_keys]; get_new_data(newv, i, ndbs);
+
+ int newv[array_size(ndbs)]; fill_new_data(newv, i, ndbs);
DBT new_data; dbt_init(&new_data, &newv[0], sizeof newv);
-
+
uint32_t flags_array[ndbs]; memset(flags_array, 0, sizeof(flags_array));
r = env->update_multiple(env, db[0], txn, &old_key, &old_data, &new_key, &new_data, ndbs, db, flags_array, narrays, keys, narrays, vals);
@@ -298,9 +298,9 @@ populate_primary(DB_ENV *env, DB *db, int ndbs, int nrows) {
// populate
for (int i = 0; i < nrows; i++) {
- int k = get_key(i, 0, 0);
- int secondary_keys = get_total_num_keys(i, ndbs);
- int v[secondary_keys]; get_data(v, i, ndbs);
+ int k = get_old_key(i, 0, 0);
+ int v[array_size(ndbs)];
+ fill_old_data(v, i, ndbs);
DBT key; dbt_init(&key, &k, sizeof k);
DBT val; dbt_init(&val, &v[0], sizeof v);
r = db->put(db, txn, &key, &val, 0); assert_zero(r);
@@ -317,11 +317,13 @@ populate_secondary(DB_ENV *env, DB *db, int dbnum, int nrows) {
// populate
for (int i = 0; i < nrows; i++) {
- for (int which = 0; which < get_num_keys(i, dbnum); which++) {
- int k = get_key(i, dbnum, which);
- DBT key; dbt_init(&key, &k, sizeof k);
- DBT val; dbt_init(&val, NULL, 0);
- r = db->put(db, txn, &key, &val, 0); assert_zero(r);
+ for (int which = 0; which < MAX_KEYS; which++) {
+ int k = get_old_key(i, dbnum, which);
+ if (k >= 0) {
+ DBT key; dbt_init(&key, &k, sizeof k);
+ DBT val; dbt_init(&val, NULL, 0);
+ r = db->put(db, txn, &key, &val, 0); assert_zero(r);
+ }
}
}
@@ -346,14 +348,14 @@ verify_pri_seq(DB_ENV *env, DB *db, int ndbs, int nrows) {
break;
int k;
int expectk = get_new_key(i, dbnum, 0);
-
+
assert(key.size == sizeof k);
memcpy(&k, key.data, key.size);
assert(k == expectk);
- int num_keys = get_total_num_new_keys(i, ndbs);
+ int num_keys = array_size(ndbs);
assert(val.size == num_keys*sizeof(int));
- int v[num_keys]; get_new_data(v, i, ndbs);
+ int v[num_keys]; fill_new_data(v, i, ndbs);
assert(memcmp(val.data, v, val.size) == 0);
}
assert(i == nrows); // if (i != nrows) printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, i, nrows); // assert(i == nrows);
@@ -398,7 +400,7 @@ verify_sec_seq(DB_ENV *env, DB *db, int dbnum, int nrows) {
assert(k == expectk);
}
- if (k != expectk && which < get_num_keys(i, dbnum) && k == get_key(i, dbnum, which)) {
+ if (k != expectk && which < get_old_num_keys(i, dbnum) && k == get_old_key(i, dbnum, which)) {
// Will fail, never got updated.
assert(k == expectk);
}
@@ -457,9 +459,9 @@ run_test(int ndbs, int nrows) {
r = indexer_txn->commit(indexer_txn, 0); assert_zero(r);
verify_pri_seq(env, db[0], ndbs, nrows);
- for (int dbnum = 1; dbnum < ndbs; dbnum++)
+ for (int dbnum = 1; dbnum < ndbs; dbnum++)
verify_sec_seq(env, db[dbnum], dbnum, nrows);
- for (int dbnum = 0; dbnum < ndbs; dbnum++)
+ for (int dbnum = 0; dbnum < ndbs; dbnum++)
r = db[dbnum]->close(db[dbnum], 0); assert_zero(r);
r = env->close(env, 0); assert_zero(r);
@@ -469,7 +471,7 @@ int
test_main(int argc, char * const argv[]) {
int r;
int ndbs = 10;
- int nrows = 3*(1<<5)*4;
+ int nrows = MAX_KEYS*(1<<5)*4;
// parse_args(argc, argv);
for (int i = 1; i < argc; i++) {
@@ -491,7 +493,7 @@ test_main(int argc, char * const argv[]) {
continue;
}
}
- while (nrows % (3*(1<<5)) != 0) {
+ while (nrows % (MAX_KEYS*(1<<5)) != 0) {
nrows++;
}
//Need at least one to update, and one to index
diff --git a/storage/tokudb/ft-index/src/ydb-internal.h b/storage/tokudb/ft-index/src/ydb-internal.h
index fe1113d2c0d..f8c10975d5a 100644
--- a/storage/tokudb/ft-index/src/ydb-internal.h
+++ b/storage/tokudb/ft-index/src/ydb-internal.h
@@ -182,7 +182,12 @@ struct __toku_db_env_internal {
int datadir_lockfd;
int logdir_lockfd;
int tmpdir_lockfd;
- uint64_t loader_memory_size;
+ uint64_t (*get_loader_memory_size_callback)(void);
+ uint64_t default_lock_timeout_msec;
+ uint64_t (*get_lock_timeout_callback)(uint64_t default_lock_timeout_msec);
+ uint64_t default_killed_time_msec;
+ uint64_t (*get_killed_time_callback)(uint64_t default_killed_time_msec);
+ int (*killed_callback)(void);
};
// test-only environment function for running lock escalation
diff --git a/storage/tokudb/ft-index/src/ydb.cc b/storage/tokudb/ft-index/src/ydb.cc
index 6a08b89c81a..d1c09f8cc10 100644
--- a/storage/tokudb/ft-index/src/ydb.cc
+++ b/storage/tokudb/ft-index/src/ydb.cc
@@ -111,6 +111,7 @@ const char *toku_copyright_string = "Copyright (c) 2007-2013 Tokutek Inc. All r
#include <sys/types.h>
#include <util/status.h>
+#include <util/context.h>
#include <ft/ft-flusher.h>
#include <ft/cachetable.h>
@@ -365,8 +366,8 @@ env_fs_init(DB_ENV *env) {
static int
env_fs_init_minicron(DB_ENV *env) {
int r = toku_minicron_setup(&env->i->fs_poller, env->i->fs_poll_time*1000, env_fs_poller, env);
- assert(r == 0);
- env->i->fs_poller_is_init = true;
+ if (r == 0)
+ env->i->fs_poller_is_init = true;
return r;
}
@@ -402,11 +403,12 @@ env_change_fsync_log_period(DB_ENV* env, uint32_t period_ms) {
}
}
-static void
+static int
env_fsync_log_cron_init(DB_ENV *env) {
int r = toku_minicron_setup(&env->i->fsync_log_cron, env->i->fsync_log_period_ms, env_fsync_log_on_minicron, env);
- assert(r == 0);
- env->i->fsync_log_cron_is_init = true;
+ if (r == 0)
+ env->i->fsync_log_cron_is_init = true;
+ return r;
}
static void
@@ -994,7 +996,11 @@ env_open(DB_ENV * env, const char *home, uint32_t flags, int mode) {
if (env->i->cachetable==NULL) {
// If we ran recovery then the cachetable should be set here.
- toku_cachetable_create(&env->i->cachetable, env->i->cachetable_size, ZERO_LSN, env->i->logger);
+ r = toku_cachetable_create(&env->i->cachetable, env->i->cachetable_size, ZERO_LSN, env->i->logger);
+ if (r != 0) {
+ r = toku_ydb_do_error(env, r, "Cant create a cachetable\n");
+ goto cleanup;
+ }
}
toku_cachetable_set_env_dir(env->i->cachetable, env->i->dir);
@@ -1009,7 +1015,7 @@ env_open(DB_ENV * env, const char *home, uint32_t flags, int mode) {
bool create_new_rollback_file = newenv | upgrade_in_progress;
r = toku_logger_open_rollback(env->i->logger, env->i->cachetable, create_new_rollback_file);
if (r != 0) {
- r = toku_ydb_do_error(env, r, "cant open rollback");
+ r = toku_ydb_do_error(env, r, "Cant open rollback\n");
goto cleanup;
}
}
@@ -1027,7 +1033,7 @@ env_open(DB_ENV * env, const char *home, uint32_t flags, int mode) {
assert_zero(r);
r = toku_db_open_iname(env->i->persistent_environment, txn, toku_product_name_strings.environmentdictionary, DB_CREATE, mode);
if (r != 0) {
- r = toku_ydb_do_error(env, r, "cant open persistent env");
+ r = toku_ydb_do_error(env, r, "Cant open persistent env\n");
goto cleanup;
}
if (newenv) {
@@ -1065,20 +1071,29 @@ env_open(DB_ENV * env, const char *home, uint32_t flags, int mode) {
assert_zero(r);
r = toku_db_open_iname(env->i->directory, txn, toku_product_name_strings.fileopsdirectory, DB_CREATE, mode);
if (r != 0) {
- r = toku_ydb_do_error(env, r, "cant open %s", toku_product_name_strings.fileopsdirectory);
+ r = toku_ydb_do_error(env, r, "Cant open %s\n", toku_product_name_strings.fileopsdirectory);
goto cleanup;
}
}
if (using_txns) {
r = locked_txn_commit(txn, 0);
assert_zero(r);
+ txn = NULL;
}
cp = toku_cachetable_get_checkpointer(env->i->cachetable);
r = toku_checkpoint(cp, env->i->logger, NULL, NULL, NULL, NULL, STARTUP_CHECKPOINT);
assert_zero(r);
env_fs_poller(env); // get the file system state at startup
- env_fs_init_minicron(env);
- env_fsync_log_cron_init(env);
+ r = env_fs_init_minicron(env);
+ if (r != 0) {
+ r = toku_ydb_do_error(env, r, "Cant create fs minicron\n");
+ goto cleanup;
+ }
+ r = env_fsync_log_cron_init(env);
+ if (r != 0) {
+ r = toku_ydb_do_error(env, r, "Cant create fsync log minicron\n");
+ goto cleanup;
+ }
cleanup:
if (r!=0) {
if (txn) {
@@ -1708,15 +1723,17 @@ env_set_redzone(DB_ENV *env, int redzone) {
return r;
}
-static int
-env_get_lock_timeout(DB_ENV *env, uint64_t *lock_timeout_msec) {
- *lock_timeout_msec = env->i->ltm.get_lock_wait_time();
+static int env_get_lock_timeout(DB_ENV *env, uint64_t *lock_timeout_msec) {
+ uint64_t t = env->i->default_lock_timeout_msec;
+ if (env->i->get_lock_timeout_callback)
+ t = env->i->get_lock_timeout_callback(t);
+ *lock_timeout_msec = t;
return 0;
}
-static int
-env_set_lock_timeout(DB_ENV *env, uint64_t lock_timeout_msec) {
- env->i->ltm.set_lock_wait_time(lock_timeout_msec);
+static int env_set_lock_timeout(DB_ENV *env, uint64_t default_lock_timeout_msec, uint64_t (*get_lock_timeout_callback)(uint64_t default_lock_timeout_msec)) {
+ env->i->default_lock_timeout_msec = default_lock_timeout_msec;
+ env->i->get_lock_timeout_callback = get_lock_timeout_callback;
return 0;
}
@@ -1900,6 +1917,7 @@ env_get_engine_status_num_rows (DB_ENV * UU(env), uint64_t * num_rowsp) {
num_rows += FS_STATUS_NUM_ROWS;
num_rows += INDEXER_STATUS_NUM_ROWS;
num_rows += LOADER_STATUS_NUM_ROWS;
+ num_rows += CTX_STATUS_NUM_ROWS;
#if 0
// enable when upgrade is supported
num_rows += FT_UPGRADE_STATUS_NUM_ROWS;
@@ -2086,6 +2104,15 @@ env_get_engine_status (DB_ENV * env, TOKU_ENGINE_STATUS_ROW engstat, uint64_t ma
}
}
}
+ {
+ struct context_status ctxstatus;
+ toku_context_get_status(&ctxstatus);
+ for (int i = 0; i < CTX_STATUS_NUM_ROWS && row < maxrows; i++) {
+ if (ctxstatus.status[i].include & include_flags) {
+ engstat[row++] = ctxstatus.status[i];
+ }
+ }
+ }
#if 0
// enable when upgrade is supported
{
@@ -2416,12 +2443,21 @@ env_iterate_live_transactions(DB_ENV *env,
return toku_txn_manager_iter_over_live_root_txns(txn_manager, iter_txns_callback, &e);
}
-static void env_set_loader_memory_size(DB_ENV *env, uint64_t loader_memory_size) {
- env->i->loader_memory_size = loader_memory_size;
+static void env_set_loader_memory_size(DB_ENV *env, uint64_t (*get_loader_memory_size_callback)(void)) {
+ env->i->get_loader_memory_size_callback = get_loader_memory_size_callback;
}
static uint64_t env_get_loader_memory_size(DB_ENV *env) {
- return env->i->loader_memory_size;
+ uint64_t memory_size = 0;
+ if (env->i->get_loader_memory_size_callback)
+ memory_size = env->i->get_loader_memory_size_callback();
+ return memory_size;
+}
+
+static void env_set_killed_callback(DB_ENV *env, uint64_t default_killed_time_msec, uint64_t (*get_killed_time_callback)(uint64_t default_killed_time_msec), int (*killed_callback)(void)) {
+ env->i->default_killed_time_msec = default_killed_time_msec;
+ env->i->get_killed_time_callback = get_killed_time_callback;
+ env->i->killed_callback = killed_callback;
}
static int
@@ -2499,6 +2535,7 @@ toku_env_create(DB_ENV ** envp, uint32_t flags) {
USENV(change_fsync_log_period);
USENV(set_loader_memory_size);
USENV(get_loader_memory_size);
+ USENV(set_killed_callback);
#undef USENV
// unlocked methods
diff --git a/storage/tokudb/ft-index/src/ydb_cursor.cc b/storage/tokudb/ft-index/src/ydb_cursor.cc
index cf7fb1d958b..ae3b6e08820 100644
--- a/storage/tokudb/ft-index/src/ydb_cursor.cc
+++ b/storage/tokudb/ft-index/src/ydb_cursor.cc
@@ -212,8 +212,7 @@ query_context_base_init(QUERY_CONTEXT_BASE context, DBC *c, uint32_t flag, bool
}
context->do_locking = (context->db->i->lt != nullptr && !(lock_flags & (DB_PRELOCKED | DB_PRELOCKED_WRITE)));
context->r_user_callback = 0;
- uint64_t lock_wait_time = context->txn ? context->txn->mgrp->i->ltm.get_lock_wait_time() : 0;
- context->request.create(lock_wait_time);
+ context->request.create();
}
static toku::lock_request::type
@@ -740,6 +739,11 @@ c_remove_restriction(DBC *dbc) {
toku_ft_cursor_remove_restriction(dbc_struct_i(dbc)->c);
}
+static void
+c_set_check_interrupt_callback(DBC* dbc, bool (*interrupt_callback)(void*), void *extra) {
+ toku_ft_cursor_set_check_interrupt_cb(dbc_struct_i(dbc)->c, interrupt_callback, extra);
+}
+
int
toku_c_get(DBC* c, DBT* key, DBT* val, uint32_t flag) {
//This function exists for legacy (test compatibility) purposes/parity with bdb.
@@ -833,6 +837,7 @@ toku_db_cursor_internal(DB * db, DB_TXN * txn, DBC ** c, uint32_t flags, int is_
SCRS(c_getf_set_range_reverse);
SCRS(c_set_bounds);
SCRS(c_remove_restriction);
+ SCRS(c_set_check_interrupt_callback);
#undef SCRS
result->c_get = toku_c_get;
diff --git a/storage/tokudb/ft-index/src/ydb_db.cc b/storage/tokudb/ft-index/src/ydb_db.cc
index f0159c44d1f..c9fa99d54de 100644
--- a/storage/tokudb/ft-index/src/ydb_db.cc
+++ b/storage/tokudb/ft-index/src/ydb_db.cc
@@ -107,6 +107,7 @@ PATENT RIGHTS GRANT:
#include "indexer.h"
#include <portability/toku_atomic.h>
#include <util/status.h>
+#include <ft/le-cursor.h>
static YDB_DB_LAYER_STATUS_S ydb_db_layer_status;
#ifdef STATUS_VALUE
@@ -688,6 +689,29 @@ toku_db_get_compression_method(DB *db, enum toku_compression_method *compression
return 0;
}
+static int
+toku_db_change_fanout(DB *db, unsigned int fanout) {
+ HANDLE_PANICKED_DB(db);
+ if (!db_opened(db)) return EINVAL;
+ toku_ft_handle_set_fanout(db->i->ft_handle, fanout);
+ return 0;
+}
+
+static int
+toku_db_set_fanout(DB *db, unsigned int fanout) {
+ HANDLE_PANICKED_DB(db);
+ if (db_opened(db)) return EINVAL;
+ toku_ft_handle_set_fanout(db->i->ft_handle, fanout);
+ return 0;
+}
+
+static int
+toku_db_get_fanout(DB *db, unsigned int *fanout) {
+ HANDLE_PANICKED_DB(db);
+ toku_ft_handle_get_fanout(db->i->ft_handle, fanout);
+ return 0;
+}
+
static int
toku_db_get_fractal_tree_info64(DB *db, uint64_t *num_blocks_allocated, uint64_t *num_blocks_in_use, uint64_t *size_allocated, uint64_t *size_in_use) {
HANDLE_PANICKED_DB(db);
@@ -898,13 +922,13 @@ toku_db_optimize(DB *db) {
static int
toku_db_hot_optimize(DB *db, DBT* left, DBT* right,
int (*progress_callback)(void *extra, float progress),
- void *progress_extra)
+ void *progress_extra, uint64_t* loops_run)
{
HANDLE_PANICKED_DB(db);
int r = 0;
r = toku_ft_hot_optimize(db->i->ft_handle, left, right,
progress_callback,
- progress_extra);
+ progress_extra, loops_run);
return r;
}
@@ -919,6 +943,55 @@ locked_db_optimize(DB *db) {
return r;
}
+
+struct last_key_extra {
+ YDB_CALLBACK_FUNCTION func;
+ void* extra;
+};
+
+static int
+db_get_last_key_callback(ITEMLEN keylen, bytevec key, ITEMLEN vallen UU(), bytevec val UU(), void *extra, bool lock_only) {
+ if (!lock_only) {
+ DBT keydbt;
+ toku_fill_dbt(&keydbt, key, keylen);
+ struct last_key_extra * CAST_FROM_VOIDP(info, extra);
+ info->func(&keydbt, NULL, info->extra);
+ }
+ return 0;
+}
+
+static int
+toku_db_get_last_key(DB * db, DB_TXN *txn, YDB_CALLBACK_FUNCTION func, void* extra) {
+ int r;
+ LE_CURSOR cursor = nullptr;
+ struct last_key_extra last_extra = { .func = func, .extra = extra };
+
+ r = toku_le_cursor_create(&cursor, db->i->ft_handle, db_txn_struct_i(txn)->tokutxn);
+ if (r != 0) { goto cleanup; }
+
+ // Goes in reverse order. First key returned is last in dictionary.
+ r = toku_le_cursor_next(cursor, db_get_last_key_callback, &last_extra);
+ if (r != 0) { goto cleanup; }
+
+cleanup:
+ if (cursor) {
+ toku_le_cursor_close(cursor);
+ }
+ return r;
+}
+
+static int
+autotxn_db_get_last_key(DB* db, YDB_CALLBACK_FUNCTION func, void* extra) {
+ bool changed; int r;
+ DB_TXN *txn = nullptr;
+ // Cursors inside require transactions, but this is _not_ a transactional function.
+ // Create transaction in a wrapper and then later close it.
+ r = toku_db_construct_autotxn(db, &txn, &changed, false);
+ if (r!=0) return r;
+ r = toku_db_get_last_key(db, txn, func, extra);
+ return toku_db_destruct_autotxn(txn, r, changed);
+}
+
static int
toku_db_get_fragmentation(DB * db, TOKU_DB_FRAGMENTATION report) {
HANDLE_PANICKED_DB(db);
@@ -1034,6 +1107,9 @@ toku_db_create(DB ** db, DB_ENV * env, uint32_t flags) {
USDB(set_compression_method);
USDB(get_compression_method);
USDB(change_compression_method);
+ USDB(set_fanout);
+ USDB(get_fanout);
+ USDB(change_fanout);
USDB(set_flags);
USDB(get_flags);
USDB(fd);
@@ -1061,6 +1137,7 @@ toku_db_create(DB ** db, DB_ENV * env, uint32_t flags) {
result->update = autotxn_db_update;
result->update_broadcast = autotxn_db_update_broadcast;
result->change_descriptor = autotxn_db_change_descriptor;
+ result->get_last_key = autotxn_db_get_last_key;
// unlocked methods
result->get = autotxn_db_get;
diff --git a/storage/tokudb/ft-index/src/ydb_env_func.cc b/storage/tokudb/ft-index/src/ydb_env_func.cc
index febdb5eb309..5247e699a23 100644
--- a/storage/tokudb/ft-index/src/ydb_env_func.cc
+++ b/storage/tokudb/ft-index/src/ydb_env_func.cc
@@ -117,6 +117,10 @@ void db_env_set_direct_io (bool direct_io_on) {
toku_ft_set_direct_io(direct_io_on);
}
+void db_env_set_compress_buffers_before_eviction (bool compress_buffers) {
+ toku_ft_set_compress_buffers_before_eviction(compress_buffers);
+}
+
void db_env_set_func_fsync (int (*fsync_function)(int)) {
toku_set_func_fsync(fsync_function);
}
diff --git a/storage/tokudb/ft-index/src/ydb_row_lock.cc b/storage/tokudb/ft-index/src/ydb_row_lock.cc
index c355cf1d39e..f7cdcbb563c 100644
--- a/storage/tokudb/ft-index/src/ydb_row_lock.cc
+++ b/storage/tokudb/ft-index/src/ydb_row_lock.cc
@@ -231,10 +231,8 @@ void toku_db_txn_escalate_callback(TXNID txnid, const toku::locktree *lt, const
// Return when the range lock is acquired or the default lock tree timeout has expired.
int toku_db_get_range_lock(DB *db, DB_TXN *txn, const DBT *left_key, const DBT *right_key,
toku::lock_request::type lock_type) {
- uint64_t wait_time = txn->mgrp->i->ltm.get_lock_wait_time();
toku::lock_request request;
- request.create(wait_time);
-
+ request.create();
int r = toku_db_start_range_lock(db, txn, left_key, right_key, lock_type, &request);
if (r == DB_LOCK_NOTGRANTED) {
r = toku_db_wait_range_lock(db, txn, &request);
@@ -249,7 +247,7 @@ int toku_db_start_range_lock(DB *db, DB_TXN *txn, const DBT *left_key, const DBT
toku::lock_request::type lock_type, toku::lock_request *request) {
DB_TXN *txn_anc = txn_oldest_ancester(txn);
TXNID txn_anc_id = txn_anc->id64(txn_anc);
- request->set(db->i->lt, txn_anc_id, left_key, right_key, lock_type);
+ request->set(db->i->lt, txn_anc_id, left_key, right_key, lock_type, toku_is_big_txn(txn_anc));
const int r = request->start();
if (r == 0) {
@@ -270,8 +268,14 @@ int toku_db_wait_range_lock(DB *db, DB_TXN *txn, toku::lock_request *request) {
DB_TXN *txn_anc = txn_oldest_ancester(txn);
const DBT *left_key = request->get_left_key();
const DBT *right_key = request->get_right_key();
-
- const int r = request->wait();
+ DB_ENV *env = db->dbenv;
+ uint64_t wait_time_msec = env->i->default_lock_timeout_msec;
+ if (env->i->get_lock_timeout_callback)
+ wait_time_msec = env->i->get_lock_timeout_callback(wait_time_msec);
+ uint64_t killed_time_msec = env->i->default_killed_time_msec;
+ if (env->i->get_killed_time_callback)
+ killed_time_msec = env->i->get_killed_time_callback(killed_time_msec);
+ const int r = request->wait(wait_time_msec, killed_time_msec, env->i->killed_callback);
if (r == 0) {
db_txn_note_row_lock(db, txn_anc, left_key, right_key);
} else if (r == DB_LOCK_NOTGRANTED) {
@@ -296,11 +300,9 @@ void toku_db_grab_write_lock (DB *db, DBT *key, TOKUTXN tokutxn) {
TXNID txn_anc_id = txn_anc->id64(txn_anc);
// This lock request must succeed, so we do not want to wait
- const uint64_t lock_wait_time = 0;
toku::lock_request request;
-
- request.create(lock_wait_time);
- request.set(db->i->lt, txn_anc_id, key, key, toku::lock_request::type::WRITE);
+ request.create();
+ request.set(db->i->lt, txn_anc_id, key, key, toku::lock_request::type::WRITE, toku_is_big_txn(txn_anc));
int r = request.start();
invariant_zero(r);
db_txn_note_row_lock(db, txn_anc, key, key);
diff --git a/storage/tokudb/ft-index/src/ydb_txn.cc b/storage/tokudb/ft-index/src/ydb_txn.cc
index f8453753717..6f1105412d7 100644
--- a/storage/tokudb/ft-index/src/ydb_txn.cc
+++ b/storage/tokudb/ft-index/src/ydb_txn.cc
@@ -323,7 +323,7 @@ static int locked_txn_commit_with_progress(DB_TXN *txn, uint32_t flags,
if (!toku_txn_is_read_only(tokutxn)) {
// A readonly transaction does no logging, and therefore does not need the MO lock.
holds_mo_lock = true;
- if (toku_txn_has_spilled_rollback(tokutxn)) {
+ if (toku_is_big_tokutxn(tokutxn)) {
low_priority = true;
toku_low_priority_multi_operation_client_lock();
} else {
@@ -351,7 +351,7 @@ static int locked_txn_abort_with_progress(DB_TXN *txn,
if (!toku_txn_is_read_only(tokutxn)) {
// A readonly transaction does no logging, and therefore does not need the MO lock.
holds_mo_lock = true;
- if (toku_txn_has_spilled_rollback(tokutxn)) {
+ if (toku_is_big_tokutxn(tokutxn)) {
low_priority = true;
toku_low_priority_multi_operation_client_lock();
} else {
@@ -602,3 +602,11 @@ void toku_keep_prepared_txn_callback (DB_ENV *env, TOKUTXN tokutxn) {
void toku_increase_last_xid(DB_ENV *env, uint64_t increment) {
toku_txn_manager_increase_last_xid(toku_logger_get_txn_manager(env->i->logger), increment);
}
+
+bool toku_is_big_txn(DB_TXN *txn) {
+ return toku_is_big_tokutxn(db_txn_struct_i(txn)->tokutxn);
+}
+
+bool toku_is_big_tokutxn(TOKUTXN tokutxn) {
+ return toku_txn_has_spilled_rollback(tokutxn);
+}
diff --git a/storage/tokudb/ft-index/src/ydb_txn.h b/storage/tokudb/ft-index/src/ydb_txn.h
index 9992d267737..454b6578e9f 100644
--- a/storage/tokudb/ft-index/src/ydb_txn.h
+++ b/storage/tokudb/ft-index/src/ydb_txn.h
@@ -107,6 +107,9 @@ int locked_txn_abort(DB_TXN *txn);
void toku_keep_prepared_txn_callback(DB_ENV *env, TOKUTXN tokutxn);
+bool toku_is_big_txn(DB_TXN *txn);
+bool toku_is_big_tokutxn(TOKUTXN tokutxn);
+
// Test-only function
extern "C" void toku_increase_last_xid(DB_ENV *env, uint64_t increment) __attribute__((__visibility__("default")));
diff --git a/storage/tokudb/ft-index/toku_include/CMakeLists.txt b/storage/tokudb/ft-index/toku_include/CMakeLists.txt
index 6ae304f8df3..44291012538 100644
--- a/storage/tokudb/ft-index/toku_include/CMakeLists.txt
+++ b/storage/tokudb/ft-index/toku_include/CMakeLists.txt
@@ -7,9 +7,11 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
install(
FILES toku_list.h toku_os.h
DESTINATION include
+ COMPONENT tokukv_headers
)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/toku_config.h"
DESTINATION include
+ COMPONENT tokukv_headers
)
endif () \ No newline at end of file
diff --git a/storage/tokudb/ft-index/util/CMakeLists.txt b/storage/tokudb/ft-index/util/CMakeLists.txt
index abfc88cc711..08822c4a73c 100644
--- a/storage/tokudb/ft-index/util/CMakeLists.txt
+++ b/storage/tokudb/ft-index/util/CMakeLists.txt
@@ -1,8 +1,11 @@
set(util_srcs
+ context
+ frwlock
kibbutz
mempool
partitioned_counter
threadpool
+ scoped_malloc
)
add_library(util SHARED ${util_srcs})
@@ -19,6 +22,7 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
install(
FILES partitioned_counter.h
DESTINATION include
+ COMPONENT tokukv_headers
)
endif ()
diff --git a/storage/tokudb/ft-index/util/context.cc b/storage/tokudb/ft-index/util/context.cc
new file mode 100644
index 00000000000..350cac07960
--- /dev/null
+++ b/storage/tokudb/ft-index/util/context.cc
@@ -0,0 +1,242 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2014 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2014 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include <string.h>
+
+#include <util/context.h>
+
+namespace toku {
+
+ static const context default_context(CTX_DEFAULT);
+ static __thread const context *tl_current_context = &default_context;
+
+ // save the old context, set the current context
+ context::context(const context_id id) :
+ m_old_ctx(tl_current_context),
+ m_id(id) {
+ tl_current_context = this;
+ }
+
+ // restore the old context
+ context::~context() {
+ tl_current_context = m_old_ctx;
+ }
+
+} // namespace toku
+
+// thread local context
+
+const toku::context *toku_thread_get_context() {
+ return toku::tl_current_context;
+}
+
+// engine status
+
+static struct context_status context_status;
+#define CONTEXT_STATUS_INIT(key, legend) TOKUDB_STATUS_INIT(context_status, key, nullptr, PARCOUNT, "context: " legend, TOKU_ENGINE_STATUS)
+
+static void
+context_status_init(void) {
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_FULL_FETCH, "tree traversals blocked by a full fetch");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_PARTIAL_FETCH, "tree traversals blocked by a partial fetch");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_FULL_EVICTION, "tree traversals blocked by a full eviction");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_PARTIAL_EVICTION, "tree traversals blocked by a partial eviction");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_MESSAGE_INJECTION, "tree traversals blocked by a message injection");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_MESSAGE_APPLICATION, "tree traversals blocked by a message application");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_FLUSH, "tree traversals blocked by a flush");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_BY_CLEANER, "tree traversals blocked by a the cleaner thread");
+ CONTEXT_STATUS_INIT(CTX_SEARCH_BLOCKED_OTHER, "tree traversals blocked by something uninstrumented");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_FULL_FETCH, "promotion blocked by a full fetch (should never happen)");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_PARTIAL_FETCH, "promotion blocked by a partial fetch (should never happen)");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_FULL_EVICTION, "promotion blocked by a full eviction (should never happen)");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_PARTIAL_EVICTION, "promotion blocked by a partial eviction (should never happen)");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_MESSAGE_INJECTION, "promotion blocked by a message injection");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_MESSAGE_APPLICATION, "promotion blocked by a message application");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_FLUSH, "promotion blocked by a flush");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_BY_CLEANER, "promotion blocked by the cleaner thread");
+ CONTEXT_STATUS_INIT(CTX_PROMO_BLOCKED_OTHER, "promotion blocked by something uninstrumented");
+ CONTEXT_STATUS_INIT(CTX_BLOCKED_OTHER, "something uninstrumented blocked by something uninstrumented");
+ context_status.initialized = true;
+}
+#undef FS_STATUS_INIT
+
+void toku_context_get_status(struct context_status *status) {
+ if (!context_status.initialized) {
+ context_status_init();
+ }
+ *status = context_status;
+}
+
+#define STATUS_INC(x, d) increment_partitioned_counter(context_status.status[x].value.parcount, d);
+
+void toku_context_note_frwlock_contention(const context_id blocked, const context_id blocking) {
+ if (!context_status.initialized) {
+ context_status_init();
+ }
+ if (blocked != CTX_SEARCH && blocked != CTX_PROMO) {
+ // Return early if this event is "unknown"
+ STATUS_INC(CTX_BLOCKED_OTHER, 1);
+ return;
+ }
+ switch (blocking) {
+ case CTX_FULL_FETCH:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_FULL_FETCH, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_FULL_FETCH, 1);
+ }
+ break;
+ case CTX_PARTIAL_FETCH:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_PARTIAL_FETCH, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_PARTIAL_FETCH, 1);
+ }
+ break;
+ case CTX_FULL_EVICTION:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_FULL_EVICTION, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_FULL_EVICTION, 1);
+ }
+ break;
+ case CTX_PARTIAL_EVICTION:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_PARTIAL_EVICTION, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_PARTIAL_EVICTION, 1);
+ }
+ break;
+ case CTX_MESSAGE_INJECTION:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_MESSAGE_INJECTION, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_MESSAGE_INJECTION, 1);
+ }
+ break;
+ case CTX_MESSAGE_APPLICATION:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_MESSAGE_APPLICATION, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_MESSAGE_APPLICATION, 1);
+ }
+ break;
+ case CTX_FLUSH:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_FLUSH, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_FLUSH, 1);
+ }
+ break;
+ case CTX_CLEANER:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_BY_CLEANER, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_BY_CLEANER, 1);
+ }
+ break;
+ default:
+ if (blocked == CTX_SEARCH) {
+ STATUS_INC(CTX_SEARCH_BLOCKED_OTHER, 1);
+ } else if (blocked == CTX_PROMO) {
+ STATUS_INC(CTX_PROMO_BLOCKED_OTHER, 1);
+ }
+ break;
+ }
+}
+
+void toku_context_status_destroy(void) {
+ for (int i = 0; i < CTX_STATUS_NUM_ROWS; ++i) {
+ if (context_status.status[i].type == PARCOUNT) {
+ destroy_partitioned_counter(context_status.status[i].value.parcount);
+ }
+ }
+}
diff --git a/storage/tokudb/ft-index/util/context.h b/storage/tokudb/ft-index/util/context.h
new file mode 100644
index 00000000000..3d424ff597d
--- /dev/null
+++ b/storage/tokudb/ft-index/util/context.h
@@ -0,0 +1,204 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+#ident "$Id$"
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2014 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#pragma once
+
+#ident "Copyright (c) 2007-2014 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include <toku_include/toku_portability.h>
+
+#include <db.h>
+
+#include <util/status.h>
+
+enum context_id {
+ CTX_INVALID = -1,
+ CTX_DEFAULT = 0, // default context for when no context is set
+ CTX_SEARCH, // searching for a key at the bottom of the tree
+ CTX_PROMO, // promoting a message down the tree
+ CTX_FULL_FETCH, // performing full fetch (pivots + some partial fetch)
+ CTX_PARTIAL_FETCH, // performing partial fetch
+ CTX_FULL_EVICTION, // running partial eviction
+ CTX_PARTIAL_EVICTION, // running partial eviction
+ CTX_MESSAGE_INJECTION, // injecting a message into a buffer
+ CTX_MESSAGE_APPLICATION, // applying ancestor's messages to a basement node
+ CTX_FLUSH, // flushing a buffer
+ CTX_CLEANER // doing work as the cleaner thread
+};
+
+// Note a contention event in engine status
+void toku_context_note_frwlock_contention(const context_id blocking, const context_id blocked);
+
+namespace toku {
+
+ // class for tracking what a thread is doing
+ //
+ // usage:
+ //
+ // // automatically tag and document what you're doing
+ // void my_interesting_function(void) {
+ // toku::context ctx("doing something interesting", INTERESTING_FN_1);
+ // ...
+ // {
+ // toku::context inner_ctx("doing something expensive", EXPENSIVE_FN_1);
+ // my_rwlock.wrlock();
+ // expensive();
+ // my_rwlock.wrunlock();
+ // }
+ // ...
+ // }
+ //
+ // // ... so later you can write code like this.
+ // // here, we save some info to help determine why a lock could not be acquired
+ // void my_rwlock::wrlock() {
+ // r = try_acquire_write_lock();
+ // if (r == 0) {
+ // m_write_locked_context_id = get_thread_local_context()->get_id();
+ // ...
+ // } else {
+ // if (m_write_locked_context_id == EXPENSIVE_FN_1) {
+ // status.blocked_because_of_expensive_fn_1++;
+ // } else if (...) {
+ // ...
+ // }
+ // ...
+ // }
+ // }
+ class context {
+ public:
+ context(const context_id id);
+
+ ~context();
+
+ context_id get_id() const {
+ return m_id;
+ }
+
+ private:
+ // each thread has a stack of contexts, rooted at the trivial "root context"
+ const context *m_old_ctx;
+ const context_id m_id;
+ };
+
+} // namespace toku
+
+// Get the current context of this thread
+const toku::context *toku_thread_get_context();
+
+enum context_status_entry {
+ CTX_SEARCH_BLOCKED_BY_FULL_FETCH = 0,
+ CTX_SEARCH_BLOCKED_BY_PARTIAL_FETCH,
+ CTX_SEARCH_BLOCKED_BY_FULL_EVICTION,
+ CTX_SEARCH_BLOCKED_BY_PARTIAL_EVICTION,
+ CTX_SEARCH_BLOCKED_BY_MESSAGE_INJECTION,
+ CTX_SEARCH_BLOCKED_BY_MESSAGE_APPLICATION,
+ CTX_SEARCH_BLOCKED_BY_FLUSH,
+ CTX_SEARCH_BLOCKED_BY_CLEANER,
+ CTX_SEARCH_BLOCKED_OTHER,
+ CTX_PROMO_BLOCKED_BY_FULL_FETCH,
+ CTX_PROMO_BLOCKED_BY_PARTIAL_FETCH,
+ CTX_PROMO_BLOCKED_BY_FULL_EVICTION,
+ CTX_PROMO_BLOCKED_BY_PARTIAL_EVICTION,
+ CTX_PROMO_BLOCKED_BY_MESSAGE_INJECTION,
+ CTX_PROMO_BLOCKED_BY_MESSAGE_APPLICATION,
+ CTX_PROMO_BLOCKED_BY_FLUSH,
+ CTX_PROMO_BLOCKED_BY_CLEANER,
+ CTX_PROMO_BLOCKED_OTHER,
+ CTX_BLOCKED_OTHER,
+ CTX_STATUS_NUM_ROWS
+};
+
+struct context_status {
+ bool initialized;
+ TOKU_ENGINE_STATUS_ROW_S status[CTX_STATUS_NUM_ROWS];
+};
+
+void toku_context_get_status(struct context_status *status);
+
+void toku_context_status_destroy(void);
diff --git a/storage/tokudb/ft-index/util/frwlock.cc b/storage/tokudb/ft-index/util/frwlock.cc
index 7400f3c4abc..7259c776f83 100644
--- a/storage/tokudb/ft-index/util/frwlock.cc
+++ b/storage/tokudb/ft-index/util/frwlock.cc
@@ -91,8 +91,19 @@ PATENT RIGHTS GRANT:
#include <toku_assert.h>
+#include <util/context.h>
+#include <util/frwlock.h>
+
namespace toku {
+static __thread int thread_local_tid = -1;
+static int get_local_tid() {
+ if (thread_local_tid == -1) {
+ thread_local_tid = toku_os_gettid();
+ }
+ return thread_local_tid;
+}
+
void frwlock::init(toku_mutex_t *const mutex) {
m_mutex = mutex;
@@ -109,6 +120,8 @@ void frwlock::init(toku_mutex_t *const mutex) {
m_wait_read_is_in_queue = false;
m_current_writer_expensive = false;
m_read_wait_expensive = false;
+ m_current_writer_tid = -1;
+ m_blocking_writer_context_id = CTX_INVALID;
m_wait_head = nullptr;
m_wait_tail = nullptr;
@@ -118,11 +131,11 @@ void frwlock::deinit(void) {
toku_cond_destroy(&m_wait_read);
}
-inline bool frwlock::queue_is_empty(void) const {
+bool frwlock::queue_is_empty(void) const {
return m_wait_head == nullptr;
}
-inline void frwlock::enq_item(queue_item *const item) {
+void frwlock::enq_item(queue_item *const item) {
paranoid_invariant_null(item->next);
if (m_wait_tail != nullptr) {
m_wait_tail->next = item;
@@ -133,7 +146,7 @@ inline void frwlock::enq_item(queue_item *const item) {
m_wait_tail = item;
}
-inline toku_cond_t *frwlock::deq_item(void) {
+toku_cond_t *frwlock::deq_item(void) {
paranoid_invariant_notnull(m_wait_head);
paranoid_invariant_notnull(m_wait_tail);
queue_item *item = m_wait_head;
@@ -145,7 +158,7 @@ inline toku_cond_t *frwlock::deq_item(void) {
}
// Prerequisite: Holds m_mutex.
-inline void frwlock::write_lock(bool expensive) {
+void frwlock::write_lock(bool expensive) {
toku_mutex_assert_locked(m_mutex);
if (this->try_write_lock(expensive)) {
return;
@@ -160,6 +173,13 @@ inline void frwlock::write_lock(bool expensive) {
if (expensive) {
++m_num_expensive_want_write;
}
+ if (m_num_writers == 0 && m_num_want_write == 1) {
+ // We are the first to want a write lock. No new readers can get the lock.
+ // Set our thread id and context for proper instrumentation.
+ // see: toku_context_note_frwlock_contention()
+ m_current_writer_tid = get_local_tid();
+ m_blocking_writer_context_id = toku_thread_get_context()->get_id();
+ }
toku_cond_wait(&cond, m_mutex);
toku_cond_destroy(&cond);
@@ -176,9 +196,11 @@ inline void frwlock::write_lock(bool expensive) {
}
m_num_writers = 1;
m_current_writer_expensive = expensive;
+ m_current_writer_tid = get_local_tid();
+ m_blocking_writer_context_id = toku_thread_get_context()->get_id();
}
-inline bool frwlock::try_write_lock(bool expensive) {
+bool frwlock::try_write_lock(bool expensive) {
toku_mutex_assert_locked(m_mutex);
if (m_num_readers > 0 || m_num_writers > 0 || m_num_signaled_readers > 0 || m_num_want_write > 0) {
return false;
@@ -188,10 +210,12 @@ inline bool frwlock::try_write_lock(bool expensive) {
paranoid_invariant_zero(m_num_want_read);
m_num_writers = 1;
m_current_writer_expensive = expensive;
+ m_current_writer_tid = get_local_tid();
+ m_blocking_writer_context_id = toku_thread_get_context()->get_id();
return true;
}
-inline void frwlock::read_lock(void) {
+void frwlock::read_lock(void) {
toku_mutex_assert_locked(m_mutex);
if (m_num_writers > 0 || m_num_want_write > 0) {
if (!m_wait_read_is_in_queue) {
@@ -207,6 +231,12 @@ inline void frwlock::read_lock(void) {
);
}
+ // Note this contention event in engine status.
+ toku_context_note_frwlock_contention(
+ toku_thread_get_context()->get_id(),
+ m_blocking_writer_context_id
+ );
+
// Wait for our turn.
++m_num_want_read;
toku_cond_wait(&m_wait_read, m_mutex);
@@ -223,7 +253,7 @@ inline void frwlock::read_lock(void) {
++m_num_readers;
}
-inline bool frwlock::try_read_lock(void) {
+bool frwlock::try_read_lock(void) {
toku_mutex_assert_locked(m_mutex);
if (m_num_writers > 0 || m_num_want_write > 0) {
return false;
@@ -235,7 +265,7 @@ inline bool frwlock::try_read_lock(void) {
return true;
}
-inline void frwlock::maybe_signal_next_writer(void) {
+void frwlock::maybe_signal_next_writer(void) {
if (m_num_want_write > 0 && m_num_signaled_readers == 0 && m_num_readers == 0) {
toku_cond_t *cond = this->deq_item();
paranoid_invariant(cond != &m_wait_read);
@@ -245,7 +275,7 @@ inline void frwlock::maybe_signal_next_writer(void) {
}
}
-inline void frwlock::read_unlock(void) {
+void frwlock::read_unlock(void) {
toku_mutex_assert_locked(m_mutex);
paranoid_invariant(m_num_writers == 0);
paranoid_invariant(m_num_readers > 0);
@@ -253,7 +283,7 @@ inline void frwlock::read_unlock(void) {
this->maybe_signal_next_writer();
}
-inline bool frwlock::read_lock_is_expensive(void) {
+bool frwlock::read_lock_is_expensive(void) {
toku_mutex_assert_locked(m_mutex);
if (m_wait_read_is_in_queue) {
return m_read_wait_expensive;
@@ -264,7 +294,7 @@ inline bool frwlock::read_lock_is_expensive(void) {
}
-inline void frwlock::maybe_signal_or_broadcast_next(void) {
+void frwlock::maybe_signal_or_broadcast_next(void) {
paranoid_invariant(m_num_signaled_readers == 0);
if (this->queue_is_empty()) {
@@ -289,42 +319,44 @@ inline void frwlock::maybe_signal_or_broadcast_next(void) {
}
}
-inline void frwlock::write_unlock(void) {
+void frwlock::write_unlock(void) {
toku_mutex_assert_locked(m_mutex);
paranoid_invariant(m_num_writers == 1);
m_num_writers = 0;
m_current_writer_expensive = false;
+ m_current_writer_tid = -1;
+ m_blocking_writer_context_id = CTX_INVALID;
this->maybe_signal_or_broadcast_next();
}
-inline bool frwlock::write_lock_is_expensive(void) {
+bool frwlock::write_lock_is_expensive(void) {
toku_mutex_assert_locked(m_mutex);
return (m_num_expensive_want_write > 0) || (m_current_writer_expensive);
}
-inline uint32_t frwlock::users(void) const {
+uint32_t frwlock::users(void) const {
toku_mutex_assert_locked(m_mutex);
return m_num_readers + m_num_writers + m_num_want_read + m_num_want_write;
}
-inline uint32_t frwlock::blocked_users(void) const {
+uint32_t frwlock::blocked_users(void) const {
toku_mutex_assert_locked(m_mutex);
return m_num_want_read + m_num_want_write;
}
-inline uint32_t frwlock::writers(void) const {
+uint32_t frwlock::writers(void) const {
// this is sometimes called as "assert(lock->writers())" when we
// assume we have the write lock. if that's the assumption, we may
// not own the mutex, so we don't assert_locked here
return m_num_writers;
}
-inline uint32_t frwlock::blocked_writers(void) const {
+uint32_t frwlock::blocked_writers(void) const {
toku_mutex_assert_locked(m_mutex);
return m_num_want_write;
}
-inline uint32_t frwlock::readers(void) const {
+uint32_t frwlock::readers(void) const {
toku_mutex_assert_locked(m_mutex);
return m_num_readers;
}
-inline uint32_t frwlock::blocked_readers(void) const {
+uint32_t frwlock::blocked_readers(void) const {
toku_mutex_assert_locked(m_mutex);
return m_num_want_read;
}
diff --git a/storage/tokudb/ft-index/util/frwlock.h b/storage/tokudb/ft-index/util/frwlock.h
index 9ad2b6f7a9d..7811e0d2427 100644
--- a/storage/tokudb/ft-index/util/frwlock.h
+++ b/storage/tokudb/ft-index/util/frwlock.h
@@ -95,6 +95,7 @@ PATENT RIGHTS GRANT:
#include <toku_pthread.h>
#include <stdbool.h>
#include <stdint.h>
+#include <util/context.h>
//TODO: update comment, this is from rwlock.h
@@ -106,24 +107,24 @@ public:
void init(toku_mutex_t *const mutex);
void deinit(void);
- inline void write_lock(bool expensive);
- inline bool try_write_lock(bool expensive);
- inline void write_unlock(void);
+ void write_lock(bool expensive);
+ bool try_write_lock(bool expensive);
+ void write_unlock(void);
// returns true if acquiring a write lock will be expensive
- inline bool write_lock_is_expensive(void);
+ bool write_lock_is_expensive(void);
- inline void read_lock(void);
- inline bool try_read_lock(void);
- inline void read_unlock(void);
+ void read_lock(void);
+ bool try_read_lock(void);
+ void read_unlock(void);
// returns true if acquiring a read lock will be expensive
- inline bool read_lock_is_expensive(void);
+ bool read_lock_is_expensive(void);
- inline uint32_t users(void) const;
- inline uint32_t blocked_users(void) const;
- inline uint32_t writers(void) const;
- inline uint32_t blocked_writers(void) const;
- inline uint32_t readers(void) const;
- inline uint32_t blocked_readers(void) const;
+ uint32_t users(void) const;
+ uint32_t blocked_users(void) const;
+ uint32_t writers(void) const;
+ uint32_t blocked_writers(void) const;
+ uint32_t readers(void) const;
+ uint32_t blocked_readers(void) const;
private:
struct queue_item {
@@ -131,11 +132,11 @@ private:
struct queue_item *next;
};
- inline bool queue_is_empty(void) const;
- inline void enq_item(queue_item *const item);
- inline toku_cond_t *deq_item(void);
- inline void maybe_signal_or_broadcast_next(void);
- inline void maybe_signal_next_writer(void);
+ bool queue_is_empty(void) const;
+ void enq_item(queue_item *const item);
+ toku_cond_t *deq_item(void);
+ void maybe_signal_or_broadcast_next(void);
+ void maybe_signal_next_writer(void);
toku_mutex_t *m_mutex;
@@ -154,6 +155,12 @@ private:
// is expensive
// if there are currently no waiting readers, then set to false
bool m_read_wait_expensive;
+ // thread-id of the current writer
+ int m_current_writer_tid;
+ // context id describing the context of the current writer blocking
+ // new readers (either because this writer holds the write lock or
+ // is the first to want the write lock).
+ context_id m_blocking_writer_context_id;
toku_cond_t m_wait_read;
queue_item m_queue_item_read;
@@ -168,6 +175,6 @@ ENSURE_POD(frwlock);
} // namespace toku
// include the implementation here
-#include "frwlock.cc"
+// #include "frwlock.cc"
#endif // UTIL_FRWLOCK_H
diff --git a/storage/tokudb/ft-index/util/kibbutz.cc b/storage/tokudb/ft-index/util/kibbutz.cc
index e9057de7915..a84a6f4827f 100644
--- a/storage/tokudb/ft-index/util/kibbutz.cc
+++ b/storage/tokudb/ft-index/util/kibbutz.cc
@@ -118,7 +118,9 @@ struct kibbutz {
static void *work_on_kibbutz (void *);
-KIBBUTZ toku_kibbutz_create (int n_workers) {
+int toku_kibbutz_create (int n_workers, KIBBUTZ *kb_ret) {
+ int r = 0;
+ *kb_ret = NULL;
KIBBUTZ XCALLOC(k);
toku_mutex_init(&k->mutex, NULL);
toku_cond_init(&k->cond, NULL);
@@ -128,12 +130,19 @@ KIBBUTZ toku_kibbutz_create (int n_workers) {
k->n_workers = n_workers;
XMALLOC_N(n_workers, k->workers);
XMALLOC_N(n_workers, k->ids);
- for (int i=0; i<n_workers; i++) {
+ for (int i = 0; i < n_workers; i++) {
k->ids[i].k = k;
- int r = toku_pthread_create(&k->workers[i], NULL, work_on_kibbutz, &k->ids[i]);
- assert(r==0);
+ r = toku_pthread_create(&k->workers[i], NULL, work_on_kibbutz, &k->ids[i]);
+ if (r != 0) {
+ k->n_workers = i;
+ toku_kibbutz_destroy(k);
+ break;
+ }
+ }
+ if (r == 0) {
+ *kb_ret = k;
}
- return k;
+ return r;
}
static void klock (KIBBUTZ k) {
diff --git a/storage/tokudb/ft-index/util/kibbutz.h b/storage/tokudb/ft-index/util/kibbutz.h
index 06fa624b211..83e981b916c 100644
--- a/storage/tokudb/ft-index/util/kibbutz.h
+++ b/storage/tokudb/ft-index/util/kibbutz.h
@@ -100,7 +100,7 @@ typedef struct kibbutz *KIBBUTZ;
//
// create a kibbutz where n_workers is the number of threads in the threadpool
//
-KIBBUTZ toku_kibbutz_create (int n_workers);
+int toku_kibbutz_create (int n_workers, KIBBUTZ *kb);
//
// enqueue a workitem in the kibbutz. When the kibbutz is to work on this workitem,
// it calls f(extra).
diff --git a/storage/tokudb/ft-index/util/mempool.cc b/storage/tokudb/ft-index/util/mempool.cc
index 312848e6194..8a37fd41b44 100644
--- a/storage/tokudb/ft-index/util/mempool.cc
+++ b/storage/tokudb/ft-index/util/mempool.cc
@@ -114,23 +114,6 @@ void toku_mempool_zero(struct mempool *mp) {
memset(mp, 0, sizeof(*mp));
}
-/* Copy constructor. Any time a new mempool is needed, allocate 1/4 more space
- * than is currently needed.
- */
-void toku_mempool_copy_construct(struct mempool *mp, const void * const data_source, const size_t data_size) {
- // printf("mempool_copy %p %p %lu\n", mp, data_source, data_size);
- if (data_size) {
- paranoid_invariant(data_source);
- toku_mempool_construct(mp, data_size);
- memcpy(mp->base, data_source, data_size);
- mp->free_offset = data_size; // address of first available memory for new data
- }
- else {
- toku_mempool_zero(mp);
- // fprintf(stderr, "Empty mempool created (copy constructor)\n");
- }
-}
-
// TODO 4050 this is dirty, try to replace all uses of this
void toku_mempool_init(struct mempool *mp, void *base, size_t free_offset, size_t size) {
// printf("mempool_init %p %p %lu\n", mp, base, size);
diff --git a/storage/tokudb/ft-index/util/mempool.h b/storage/tokudb/ft-index/util/mempool.h
index f6a2bc6dde3..fa59d7a63ac 100644
--- a/storage/tokudb/ft-index/util/mempool.h
+++ b/storage/tokudb/ft-index/util/mempool.h
@@ -115,13 +115,6 @@ struct mempool {
*/
void toku_mempool_zero(struct mempool *mp);
-/* Copy constructor. Fill in empty mempool struct with new values, allocating
- * a new buffer and filling the buffer with data from from data_source.
- * Any time a new mempool is needed, allocate 1/4 more space
- * than is currently needed.
- */
-void toku_mempool_copy_construct(struct mempool *mp, const void * const data_source, const size_t data_size);
-
/* initialize the memory pool with the base address and size of a
contiguous chunk of memory */
void toku_mempool_init(struct mempool *mp, void *base, size_t free_offset, size_t size);
diff --git a/storage/tokudb/ft-index/util/scoped_malloc.cc b/storage/tokudb/ft-index/util/scoped_malloc.cc
new file mode 100644
index 00000000000..7fc847c3af6
--- /dev/null
+++ b/storage/tokudb/ft-index/util/scoped_malloc.cc
@@ -0,0 +1,265 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+#include <toku_include/memory.h>
+
+#include <util/scoped_malloc.h>
+
+// The __thread storage class modifier isn't well supported on osx, but we
+// aren't worried about the performance on osx, so we provide a
+// pass-through implementation of scoped mallocs.
+#ifdef __APPLE__
+
+namespace toku {
+
+ scoped_malloc::scoped_malloc(const size_t size)
+ : m_size(size),
+ m_local(false),
+ m_buf(toku_xmalloc(size)) {}
+
+ scoped_malloc::~scoped_malloc() {
+ toku_free(m_buf);
+ }
+
+} // namespace toku
+
+void toku_scoped_malloc_init(void) {}
+void toku_scoped_malloc_destroy(void) {}
+
+#else // __APPLE__
+
+#include <set>
+#include <pthread.h>
+
+#include <portability/toku_pthread.h>
+
+namespace toku {
+
+ // see pthread_key handling at the bottom
+ //
+ // when we use gcc 4.8, we can use the 'thread_local' keyword and proper c++
+ // constructors/destructors instead of this pthread / global set wizardy.
+ static pthread_key_t tl_stack_destroy_pthread_key;
+ class tl_stack;
+ std::set<tl_stack *> *global_stack_set;
+ toku_mutex_t global_stack_set_mutex = TOKU_MUTEX_INITIALIZER;
+
+ class tl_stack {
+ // 1MB
+ static const size_t STACK_SIZE = 1 * 1024 * 1024;
+
+ public:
+ void init() {
+ m_stack = reinterpret_cast<char *>(toku_xmalloc(STACK_SIZE));
+ m_current_offset = 0;
+ int r = pthread_setspecific(tl_stack_destroy_pthread_key, this);
+ invariant_zero(r);
+ }
+
+ void destroy() {
+ if (m_stack != NULL) {
+ toku_free(m_stack);
+ m_stack = NULL;
+ }
+ }
+
+ // initialize a tl_stack and insert it into the global map
+ static void init_and_register(tl_stack *st) {
+ st->init();
+ invariant_notnull(global_stack_set);
+
+ toku_mutex_lock(&global_stack_set_mutex);
+ std::pair<std::set<tl_stack *>::iterator, bool> p = global_stack_set->insert(st);
+ invariant(p.second);
+ toku_mutex_unlock(&global_stack_set_mutex);
+ }
+
+ // destruct a tl_stack and remove it from the global map
+ // passed in as void * to match the generic pthread destructor API
+ static void destroy_and_deregister(void *key) {
+ invariant_notnull(key);
+ tl_stack *st = reinterpret_cast<tl_stack *>(key);
+ st->destroy();
+
+ toku_mutex_lock(&global_stack_set_mutex);
+ invariant_notnull(global_stack_set);
+ size_t n = global_stack_set->erase(st);
+ invariant(n == 1);
+ toku_mutex_unlock(&global_stack_set_mutex);
+ }
+
+ // Allocate 'size' bytes and return a pointer to the first byte
+ void *alloc(const size_t size) {
+ if (m_stack == NULL) {
+ init_and_register(this);
+ }
+ invariant(m_current_offset + size <= STACK_SIZE);
+ void *mem = &m_stack[m_current_offset];
+ m_current_offset += size;
+ return mem;
+ }
+
+ // Give back a previously allocated region of 'size' bytes.
+ void dealloc(const size_t size) {
+ invariant(m_current_offset >= size);
+ m_current_offset -= size;
+ }
+
+ // Get the current size of free-space in bytes.
+ size_t get_free_space() const {
+ invariant(m_current_offset <= STACK_SIZE);
+ return STACK_SIZE - m_current_offset;
+ }
+
+ private:
+ // Offset of the free region in the stack
+ size_t m_current_offset;
+ char *m_stack;
+ };
+
+ // Each thread has its own local stack.
+ static __thread tl_stack local_stack;
+
+ // Memory is allocated from thread-local storage if available, otherwise from malloc(1).
+ scoped_malloc::scoped_malloc(const size_t size) :
+ m_size(size),
+ m_local(local_stack.get_free_space() >= m_size),
+ m_buf(m_local ? local_stack.alloc(m_size) : toku_xmalloc(m_size)) {
+ }
+
+ scoped_malloc::~scoped_malloc() {
+ if (m_local) {
+ local_stack.dealloc(m_size);
+ } else {
+ toku_free(m_buf);
+ }
+ }
+
+} // namespace toku
+
+// pthread key handling:
+// - there is a process-wide pthread key that is associated with the destructor for a tl_stack
+// - on process construction, we initialize the key; on destruction, we clean it up.
+// - when a thread first uses its tl_stack, it calls pthread_setspecific(&destroy_key, "some key"),
+// associating the destroy key with the tl_stack_destroy_and_deregister destructor
+// - when a thread terminates, it calls the associated destructor; tl_stack_destroy_and_deregister.
+
+void toku_scoped_malloc_init(void) {
+ toku_mutex_lock(&toku::global_stack_set_mutex);
+ invariant_null(toku::global_stack_set);
+ toku::global_stack_set = new std::set<toku::tl_stack *>();
+ toku_mutex_unlock(&toku::global_stack_set_mutex);
+
+ int r = pthread_key_create(&toku::tl_stack_destroy_pthread_key,
+ toku::tl_stack::destroy_and_deregister);
+ invariant_zero(r);
+}
+
+void toku_scoped_malloc_destroy(void) {
+ toku_mutex_lock(&toku::global_stack_set_mutex);
+ invariant_notnull(toku::global_stack_set);
+ // Destroy any tl_stacks that were registered as thread locals but did not
+ // get a chance to clean up using the pthread key destructor (because this code
+ // is now running before those threads fully shutdown)
+ for (std::set<toku::tl_stack *>::iterator i = toku::global_stack_set->begin();
+ i != toku::global_stack_set->end(); i++) {
+ (*i)->destroy();
+ }
+ delete toku::global_stack_set;
+ toku_mutex_unlock(&toku::global_stack_set_mutex);
+
+ // We're deregistering the destructor key here. When this thread exits,
+ // the tl_stack destructor won't get called, so we need to do that first.
+ int r = pthread_key_delete(toku::tl_stack_destroy_pthread_key);
+ invariant_zero(r);
+}
+
+#endif // !__APPLE__
diff --git a/storage/tokudb/ft-index/util/scoped_malloc.h b/storage/tokudb/ft-index/util/scoped_malloc.h
new file mode 100644
index 00000000000..ae8847731f3
--- /dev/null
+++ b/storage/tokudb/ft-index/util/scoped_malloc.h
@@ -0,0 +1,153 @@
+/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
+
+/*
+COPYING CONDITIONS NOTICE:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation, and provided that the
+ following conditions are met:
+
+ * Redistributions of source code must retain this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below).
+
+ * Redistributions in binary form must reproduce this COPYING
+ CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
+ DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
+ PATENT MARKING NOTICE (below), and the PATENT RIGHTS
+ GRANT (below) in the documentation and/or other materials
+ provided with the distribution.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+COPYRIGHT NOTICE:
+
+ TokuDB, Tokutek Fractal Tree Indexing Library.
+ Copyright (C) 2007-2013 Tokutek, Inc.
+
+DISCLAIMER:
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+UNIVERSITY PATENT NOTICE:
+
+ The technology is licensed by the Massachusetts Institute of
+ Technology, Rutgers State University of New Jersey, and the Research
+ Foundation of State University of New York at Stony Brook under
+ United States of America Serial No. 11/760379 and to the patents
+ and/or patent applications resulting from it.
+
+PATENT MARKING NOTICE:
+
+ This software is covered by US Patent No. 8,185,551.
+ This software is covered by US Patent No. 8,489,638.
+
+PATENT RIGHTS GRANT:
+
+ "THIS IMPLEMENTATION" means the copyrightable works distributed by
+ Tokutek as part of the Fractal Tree project.
+
+ "PATENT CLAIMS" means the claims of patents that are owned or
+ licensable by Tokutek, both currently or in the future; and that in
+ the absence of this license would be infringed by THIS
+ IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
+
+ "PATENT CHALLENGE" shall mean a challenge to the validity,
+ patentability, enforceability and/or non-infringement of any of the
+ PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
+
+ Tokutek hereby grants to you, for the term and geographical scope of
+ the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
+ irrevocable (except as stated in this section) patent license to
+ make, have made, use, offer to sell, sell, import, transfer, and
+ otherwise run, modify, and propagate the contents of THIS
+ IMPLEMENTATION, where such license applies only to the PATENT
+ CLAIMS. This grant does not include claims that would be infringed
+ only as a consequence of further modifications of THIS
+ IMPLEMENTATION. If you or your agent or licensee institute or order
+ or agree to the institution of patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ THIS IMPLEMENTATION constitutes direct or contributory patent
+ infringement, or inducement of patent infringement, then any rights
+ granted to you under this License shall terminate as of the date
+ such litigation is filed. If you or your agent or exclusive
+ licensee institute or order or agree to the institution of a PATENT
+ CHALLENGE, then Tokutek may terminate any rights granted to you
+ under this License.
+*/
+
+#pragma once
+
+#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
+#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
+
+
+#include <string.h>
+
+namespace toku {
+
+ class scoped_malloc {
+ public:
+ // Memory is allocated from thread-local storage if available, otherwise from malloc(3).
+ scoped_malloc(const size_t size);
+
+ ~scoped_malloc();
+
+ void *get() const {
+ return m_buf;
+ }
+
+ private:
+ // Non-copyable
+ scoped_malloc();
+
+ const size_t m_size;
+ const bool m_local;
+ void *const m_buf;
+ };
+
+ class scoped_calloc : public scoped_malloc {
+ public:
+ // A scoped malloc whose bytes are initialized to zero, as in calloc(3)
+ scoped_calloc(const size_t size) :
+ scoped_malloc(size) {
+ memset(scoped_malloc::get(), 0, size);
+ }
+ };
+
+ class scoped_malloc_aligned : public scoped_malloc {
+ public:
+ scoped_malloc_aligned(const size_t size, const size_t alignment) :
+ scoped_malloc(size + alignment) {
+ invariant(size >= alignment);
+ invariant(alignment > 0);
+ const uintptr_t addr = reinterpret_cast<uintptr_t>(scoped_malloc::get());
+ const uintptr_t aligned_addr = (addr + alignment) - (addr % alignment);
+ invariant(aligned_addr < addr + size + alignment);
+ m_aligned_buf = reinterpret_cast<char *>(aligned_addr);
+ }
+
+ void *get() const {
+ return m_aligned_buf;
+ }
+
+ private:
+ void *m_aligned_buf;
+ };
+
+} // namespace toku
+
+void toku_scoped_malloc_init(void);
+
+void toku_scoped_malloc_destroy(void);
+
diff --git a/storage/tokudb/ft-index/util/tests/test-frwlock-fair-writers.cc b/storage/tokudb/ft-index/util/tests/test-frwlock-fair-writers.cc
new file mode 100644
index 00000000000..653be1c2fbc
--- /dev/null
+++ b/storage/tokudb/ft-index/util/tests/test-frwlock-fair-writers.cc
@@ -0,0 +1,52 @@
+// check if write locks are fair
+
+#include <stdio.h>
+#include <toku_assert.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <util/frwlock.h>
+
+toku_mutex_t rwlock_mutex;
+toku::frwlock rwlock;
+volatile int killed = 0;
+
+static void *t1_func(void *arg) {
+ int i;
+ for (i = 0; !killed; i++) {
+ toku_mutex_lock(&rwlock_mutex);
+ rwlock.write_lock(false);
+ toku_mutex_unlock(&rwlock_mutex);
+ usleep(10000);
+ toku_mutex_lock(&rwlock_mutex);
+ rwlock.write_unlock();
+ toku_mutex_unlock(&rwlock_mutex);
+ }
+ printf("%lu %d\n", (unsigned long) pthread_self(), i);
+ return arg;
+}
+
+int main(void) {
+ int r;
+
+ toku_mutex_init(&rwlock_mutex, NULL);
+ rwlock.init(&rwlock_mutex);
+
+ const int nthreads = 2;
+ pthread_t tids[nthreads];
+ for (int i = 0; i < nthreads; i++) {
+ r = pthread_create(&tids[i], NULL, t1_func, NULL);
+ assert(r == 0);
+ }
+ sleep(10);
+ killed = 1;
+ for (int i = 0; i < nthreads; i++) {
+ void *ret;
+ r = pthread_join(tids[i], &ret);
+ assert(r == 0);
+ }
+
+ rwlock.deinit();
+ toku_mutex_destroy(&rwlock_mutex);
+
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/util/tests/test-kibbutz.cc b/storage/tokudb/ft-index/util/tests/test-kibbutz.cc
index 4e0b6076f2d..1f73037892c 100644
--- a/storage/tokudb/ft-index/util/tests/test-kibbutz.cc
+++ b/storage/tokudb/ft-index/util/tests/test-kibbutz.cc
@@ -111,7 +111,9 @@ static void dowork (void *idv) {
}
static void kibbutz_test (bool parent_finishes_first) {
- KIBBUTZ k = toku_kibbutz_create(NT);
+ KIBBUTZ k = NULL;
+ int r = toku_kibbutz_create(NT, &k);
+ assert(r == 0);
if (verbose) printf("create\n");
int ids[ND];
for (int i=0; i<ND; i++) {
diff --git a/storage/tokudb/ft-index/util/tests/test-kibbutz2.cc b/storage/tokudb/ft-index/util/tests/test-kibbutz2.cc
index 3afc7d5f005..ce797c068d8 100644
--- a/storage/tokudb/ft-index/util/tests/test-kibbutz2.cc
+++ b/storage/tokudb/ft-index/util/tests/test-kibbutz2.cc
@@ -113,7 +113,9 @@ static void dowork (void *idv) {
}
static void kibbutz_test (void) {
- KIBBUTZ k = toku_kibbutz_create(1);
+ KIBBUTZ k = NULL;
+ int r = toku_kibbutz_create(1, &k);
+ assert(r == 0);
if (verbose) printf("create\n");
int ids[ND];
for (int i=0; i<ND; i++) {
diff --git a/storage/tokudb/ft-index/util/tests/test-rwlock-cheapness.cc b/storage/tokudb/ft-index/util/tests/test-rwlock-cheapness.cc
index b787d1983bc..de54c21efd2 100644
--- a/storage/tokudb/ft-index/util/tests/test-rwlock-cheapness.cc
+++ b/storage/tokudb/ft-index/util/tests/test-rwlock-cheapness.cc
@@ -96,13 +96,16 @@ PATENT RIGHTS GRANT:
#include <toku_portability.h>
#include <toku_assert.h>
-#include <portability/toku_fair_rwlock.h>
#include <portability/toku_pthread.h>
#include <portability/toku_time.h>
#include <util/frwlock.h>
#include <util/rwlock.h>
#include "rwlock_condvar.h"
+// We need to manually intialize partitioned counters so that the
+// ones automatically incremented by the frwlock get handled properly.
+#include <util/partitioned_counter.h>
+
toku_mutex_t mutex;
toku::frwlock w;
@@ -288,6 +291,12 @@ static void test_write_cheapness(void) {
}
int main (int UU(argc), const char* UU(argv[])) {
+ // Ultra ugly. We manually init/destroy partitioned counters
+ // and context because normally toku_ft_layer_init() does that
+ // for us, but we don't want to initialize everything.
+ partitioned_counters_init();
test_write_cheapness();
+ toku_context_status_destroy();
+ partitioned_counters_destroy();
return 0;
}
diff --git a/storage/tokudb/ft-index/util/tests/test-rwlock-unfair-writers.cc b/storage/tokudb/ft-index/util/tests/test-rwlock-unfair-writers.cc
new file mode 100644
index 00000000000..fe569e3ec85
--- /dev/null
+++ b/storage/tokudb/ft-index/util/tests/test-rwlock-unfair-writers.cc
@@ -0,0 +1,60 @@
+// check if write locks are fair
+
+#include <stdio.h>
+#include <assert.h>
+#include <unistd.h>
+#include <pthread.h>
+
+pthread_rwlock_t rwlock;
+volatile int killed = 0;
+
+static void *t1_func(void *arg) {
+ int i;
+ for (i = 0; !killed; i++) {
+ int r;
+ r = pthread_rwlock_wrlock(&rwlock);
+ assert(r == 0);
+ usleep(10000);
+ r = pthread_rwlock_unlock(&rwlock);
+ assert(r == 0);
+ }
+ printf("%lu %d\n", (unsigned long) pthread_self(), i);
+ return arg;
+}
+
+int main(void) {
+ int r;
+#if 0
+ rwlock = PTHREAD_RWLOCK_INITIALIZER;
+#endif
+#if 0
+ pthread_rwlockattr_t attr;
+ pthread_rwlockattr_init(&attr);
+ pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP);
+ r = pthread_rwlock_init(&rwlock, &attr);
+#endif
+#if 0
+ pthread_rwlockattr_t attr;
+ pthread_rwlockattr_init(&attr);
+ r = pthread_rwlock_init(&rwlock, &attr);
+#endif
+#if 1
+ r = pthread_rwlock_init(&rwlock, NULL);
+ assert(r == 0);
+#endif
+
+ const int nthreads = 2;
+ pthread_t tids[nthreads];
+ for (int i = 0; i < nthreads; i++) {
+ r = pthread_create(&tids[i], NULL, t1_func, NULL);
+ assert(r == 0);
+ }
+ sleep(10);
+ killed = 1;
+ for (int i = 0; i < nthreads; i++) {
+ void *ret;
+ r = pthread_join(tids[i], &ret);
+ assert(r == 0);
+ }
+ return 0;
+}
diff --git a/storage/tokudb/ft-index/util/tests/test-rwlock.cc b/storage/tokudb/ft-index/util/tests/test-rwlock.cc
index a560ef532eb..42ceb00ad19 100644
--- a/storage/tokudb/ft-index/util/tests/test-rwlock.cc
+++ b/storage/tokudb/ft-index/util/tests/test-rwlock.cc
@@ -96,7 +96,7 @@ PATENT RIGHTS GRANT:
// Best cas time= 8.595600ns
// Best mutex time= 19.340201ns
// Best rwlock time= 34.024799ns
-// Best newbrt rwlock time= 38.680500ns
+// Best util rwlock time= 38.680500ns
// Best prelocked time= 2.148700ns
// Best fair rwlock time= 45.127600ns
// On laptop
@@ -104,7 +104,7 @@ PATENT RIGHTS GRANT:
// Best cas time= 15.362500ns
// Best mutex time= 51.951498ns
// Best rwlock time= 97.721201ns
-// Best newbrt rwlock time=110.456800ns
+// Best util rwlock time=110.456800ns
// Best prelocked time= 4.240100ns
// Best fair rwlock time=113.119102ns
//
@@ -123,7 +123,6 @@ PATENT RIGHTS GRANT:
#include <toku_portability.h>
#include <toku_assert.h>
#include <portability/toku_atomic.h>
-#include <portability/toku_fair_rwlock.h>
#include <portability/toku_pthread.h>
#include <portability/toku_time.h>
#include <util/frwlock.h>
@@ -159,10 +158,8 @@ static double best_fcall_time=1e12;
static double best_cas_time=1e12;
static double best_mutex_time=1e12;
static double best_rwlock_time=1e12;
-static double best_newbrt_time=1e12;
+static double best_util_time=1e12;
static double best_prelocked_time=1e12;
-static double best_cv_fair_rwlock_time=1e12; // fair from condition variables
-static double best_fair_rwlock_time=1e12;
static double best_frwlock_time=1e12;
static double best_frwlock_prelocked_time=1e12;
static double mind(double a, double b) { if (a<b) return a; else return b; }
@@ -287,48 +284,48 @@ void time_pthread_rwlock (void) {
{ int r = pthread_rwlock_destroy(&mutex); assert(r==0); }
}
-static void newbrt_rwlock_lock (RWLOCK rwlock, toku_mutex_t *mutex) {
+static void util_rwlock_lock (RWLOCK rwlock, toku_mutex_t *mutex) {
toku_mutex_lock(mutex);
rwlock_read_lock(rwlock, mutex);
toku_mutex_unlock(mutex);
}
-static void newbrt_rwlock_unlock (RWLOCK rwlock, toku_mutex_t *mutex) {
+static void util_rwlock_unlock (RWLOCK rwlock, toku_mutex_t *mutex) {
toku_mutex_lock(mutex);
rwlock_read_unlock(rwlock);
toku_mutex_unlock(mutex);
}
-// Time the read lock that's in newbrt/rwlock.h
-void time_newbrt_rwlock (void) __attribute((__noinline__));
-void time_newbrt_rwlock (void) {
+// Time the read lock that's in util/rwlock.h
+void time_util_rwlock (void) __attribute((__noinline__));
+void time_util_rwlock (void) {
struct rwlock rwlock;
toku_mutex_t external_mutex;
toku_mutex_init(&external_mutex, NULL);
rwlock_init(&rwlock);
struct timeval start,end;
- newbrt_rwlock_lock(&rwlock, &external_mutex);
- newbrt_rwlock_unlock(&rwlock, &external_mutex);
+ util_rwlock_lock(&rwlock, &external_mutex);
+ util_rwlock_unlock(&rwlock, &external_mutex);
for (int t=0; t<T; t++) {
gettimeofday(&start, NULL);
for (int i=0; i<N; i++) {
- newbrt_rwlock_lock(&rwlock, &external_mutex);
- newbrt_rwlock_unlock(&rwlock, &external_mutex);
+ util_rwlock_lock(&rwlock, &external_mutex);
+ util_rwlock_unlock(&rwlock, &external_mutex);
}
gettimeofday(&end, NULL);
double diff = 1e9*toku_tdiff(&end, &start)/N;
if (verbose>1)
- fprintf(stderr, "newbrt_rwlock(r) = %.6fns/(lock+unlock)\n", diff);
- best_newbrt_time=mind(best_newbrt_time,diff);
+ fprintf(stderr, "util_rwlock(r) = %.6fns/(lock+unlock)\n", diff);
+ best_util_time=mind(best_util_time,diff);
}
rwlock_destroy(&rwlock);
toku_mutex_destroy(&external_mutex);
}
-// Time the read lock that's in newbrt/rwlock.h, assuming the mutex is already held.
-void time_newbrt_prelocked_rwlock (void) __attribute__((__noinline__));
-void time_newbrt_prelocked_rwlock (void) {
+// Time the read lock that's in util/rwlock.h, assuming the mutex is already held.
+void time_util_prelocked_rwlock (void) __attribute__((__noinline__));
+void time_util_prelocked_rwlock (void) {
struct rwlock rwlock;
toku_mutex_t external_mutex;
toku_mutex_init(&external_mutex, NULL);
@@ -347,7 +344,7 @@ void time_newbrt_prelocked_rwlock (void) {
gettimeofday(&end, NULL);
double diff = 1e9*toku_tdiff(&end, &start)/N;
if (verbose>1)
- fprintf(stderr, "pre_newbrt_rwlock(r) = %.6fns/(lock+unlock)\n", diff);
+ fprintf(stderr, "pre_util_rwlock(r) = %.6fns/(lock+unlock)\n", diff);
best_prelocked_time=mind(best_prelocked_time,diff);
}
rwlock_destroy(&rwlock);
@@ -355,51 +352,6 @@ void time_newbrt_prelocked_rwlock (void) {
toku_mutex_destroy(&external_mutex);
}
-void time_toku_fair_rwlock (void) __attribute__((__noinline__));
-void time_toku_fair_rwlock (void) {
- toku_fair_rwlock_t mutex;
- toku_fair_rwlock_init(&mutex);
- struct timeval start,end;
- toku_fair_rwlock_rdlock(&mutex);
- toku_fair_rwlock_unlock(&mutex);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- toku_fair_rwlock_rdlock(&mutex);
- toku_fair_rwlock_unlock(&mutex);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "pthread_fair(r) = %.6fns/(lock+unlock)\n", diff);
- best_fair_rwlock_time=mind(best_fair_rwlock_time,diff);
- }
- toku_fair_rwlock_destroy(&mutex);
-}
-
-/* not static*/
-void time_toku_cv_fair_rwlock(void) __attribute__((__noinline__));
-void time_toku_cv_fair_rwlock(void) {
- toku_cv_fair_rwlock_t mutex;
- toku_cv_fair_rwlock_init(&mutex);
- struct timeval start,end;
- toku_cv_fair_rwlock_rdlock(&mutex);
- toku_cv_fair_rwlock_unlock(&mutex);
- for (int t=0; t<T; t++) {
- gettimeofday(&start, NULL);
- for (int i=0; i<N; i++) {
- toku_cv_fair_rwlock_rdlock(&mutex);
- toku_cv_fair_rwlock_unlock(&mutex);
- }
- gettimeofday(&end, NULL);
- double diff = 1e9*toku_tdiff(&end, &start)/N;
- if (verbose>1)
- fprintf(stderr, "pthread_cvfair(r) = %.6fns/(lock+unlock)\n", diff);
- best_cv_fair_rwlock_time=mind(best_cv_fair_rwlock_time,diff);
- }
- toku_cv_fair_rwlock_destroy(&mutex);
-}
-
void time_frwlock_prelocked(void) __attribute__((__noinline__));
void time_frwlock_prelocked(void) {
toku_mutex_t external_mutex;
@@ -469,208 +421,6 @@ void time_frwlock(void) {
toku_mutex_destroy(&external_mutex);
}
-
-#define N 6
-#define T 150000
-#define L 5
-#define N_LOG_ENTRIES (L*N*4)
-
-static toku_fair_rwlock_t rwlock;
-
-static struct log_s {
- int threadid, loopid;
- char action;
-} actionlog[N_LOG_ENTRIES];
-static int log_counter=0;
-
-static void logit (int threadid, int loopid, char action) {
- //printf("%d %d %c\n", threadid, loopid, action);
- int my_log_counter = toku_sync_fetch_and_add(&log_counter, 1);
- assert(my_log_counter<N_LOG_ENTRIES);
- actionlog[my_log_counter].threadid = threadid;
- actionlog[my_log_counter].loopid = loopid;
- actionlog[my_log_counter].action = action;
-}
-
-// The action should look like this:
-// Threads 0-2 are reader threads.
-// Threads 3-6 are writer threads.
-// The threads all repeatedly grab the lock, wait T steps, and release.
-// If the readers can starve the writers, then most of the writers will be at the end.
-// If the writers can starve the readers, then most of the readers will be at the end.
-// The reader threads all grab the lock, wait T*2 steps, and release the lock.
-// The writer threads
-// First the writer threads wait time T while the reader threads all go for the lock.
-// Before the first one lets go, the writer threads wake up and try to grab the lock. But the readers are still
-
-// 3 threads (0-2) try to grab the lock all at once. They'll get it. They each sleep for time T*2
-// 3 threads (3-6) try to grab the write lock. They'll get it one after another.
-
-
-extern __thread int mytid;
-
-static void grab_rdlock (int threadid, int iteration) {
- logit(threadid, iteration, 't');
- { int r = toku_fair_rwlock_rdlock(&rwlock); assert(r==0); }
- logit(threadid, iteration, 'R');
-}
-
-static void release_rdlock (int threadid, int iteration) {
- logit(threadid, iteration, 'u');
- { int r = toku_fair_rwlock_unlock(&rwlock); assert(r==0); }
-}
-
-static void grab_wrlock (int threadid, int iteration) {
- logit(threadid, iteration, 'T');
- { int r = toku_fair_rwlock_wrlock(&rwlock); assert(r==0); }
- logit(threadid, iteration, 'W');
-}
-
-static void release_wrlock (int threadid, int iteration) {
- logit(threadid, iteration, 'U');
- { int r = toku_fair_rwlock_unlock(&rwlock); assert(r==0);}
-}
-
-static void *start_thread (void *vv) {
- int *vp=(int*)vv;
- int v=*vp;
-
- //printf("T%d=%ld\n", v, pthread_self());
- switch(v) {
- case 0:
- case 1:
- case 2:
- for (int i=0; i<L; i++) {
- grab_rdlock(v, i);
- usleep(T);
- release_rdlock(v, i);
- }
- break;
- case 3:
- case 4:
- case 5:
- for (int i=0; i<L; i++) {
- grab_wrlock(v, i);
- usleep(T);
- release_wrlock(v, i);
- }
- }
- return NULL;
-}
-
-static void *start_thread_random (void *vv) {
- int *vp=(int*)vv;
- int v=*vp;
-
- for (int i=0; i<L; i++) {
- if (random()%2==0) {
- grab_rdlock(v, i);
- for (int j=0; j<random()%20; j++) sched_yield();
- release_rdlock(v, i);
- for (int j=0; j<random()%20; j++) sched_yield();
- } else {
- grab_wrlock(v, i);
- for (int j=0; j<random()%20; j++) sched_yield();
- release_wrlock(v, i);
- for (int j=0; j<random()%20; j++) sched_yield();
- }
- }
- return NULL;
-}
-
-static void check_actionlog (int expected_writer_max_count,
- int expected_reader_parallelism_min,
- int expected_reader_parallelism_max)
-// Effect:
-// Make sure that writers are exclusive.
-// Make sure that anyone who asks for a lock doesn't have one.
-// Make sure that anyone granted a lock actually asked for a lock.
-// Make sure that anyone who releases a lock has it.
-// Make sure that readers don't starve writers, and writers don't starve readers. (Not sure how to code this up...)
-{
- int reader_max=0;
- int writer_max=0;
- int state=0;
- char tstate[N];
- for (int i=0; i<N; i++) tstate[i]=0;
- for (int i=0; i<log_counter; i++) {
- switch (actionlog[i].action) {
- case 't': // fall through to 'T'
- case 'T':
- assert(tstate[actionlog[i].threadid]==0);
- tstate[actionlog[i].threadid]=actionlog[i].action;
- break;
- case 'W':
- assert(tstate[actionlog[i].threadid]=='T');
- tstate[actionlog[i].threadid]=actionlog[i].action;
- assert(state==0);
- state=-1;
- writer_max = 1;
- break;
- case 'U':
- assert(tstate[actionlog[i].threadid]=='W');
- tstate[actionlog[i].threadid]=0;
- assert(state==-1);
- state=0;
- break;
- case 'R':
- assert(tstate[actionlog[i].threadid]=='t');
- tstate[actionlog[i].threadid]=actionlog[i].action;
- if (state<0) { printf("On step %d\n", i); }
- assert(state>=0);
- state++;
- if (state>reader_max) reader_max=state;
- break;
- case 'u':
- assert(tstate[actionlog[i].threadid]=='R');
- tstate[actionlog[i].threadid]=0;
- assert(state>=0);
- state--;
- break;
- default:
- abort();
- }
- }
- assert(reader_max>=expected_reader_parallelism_min);
- assert(reader_max<=expected_reader_parallelism_max);
- assert(writer_max==expected_writer_max_count);
-}
-
-
-static void test_rwlock_internal (void *(*start_th)(void*), int max_wr, int min_rd, int max_rd) {
- if (verbose>=2) printf("Running threads:\n");
- log_counter=0;
- pthread_t threads[N];
- int v[N];
- toku_fair_rwlock_init(&rwlock);
- for (int i=0; i<N; i++) {
- v[i]=i;
- int r = pthread_create(&threads[i], NULL, start_th, &v[i]);
- assert(r==0);
- }
- for (int i=0; i<N; i++) {
- void *rv;
- int r = pthread_join(threads[i], &rv);
- assert(rv==NULL);
- assert(r==0);
- }
- if (verbose>1) {
- for (int i=0; i<log_counter; i++) {
- printf("%d: %*s%c%d\n", i, actionlog[i].threadid*4, "", actionlog[i].action, actionlog[i].loopid);
- }
- }
- check_actionlog(max_wr, min_rd, max_rd);
- toku_fair_rwlock_destroy(&rwlock);
- if (verbose>2) printf("OK\n");
-}
-
-static void test_rwlock (void) {
- test_rwlock_internal(start_thread, 1, 2, 3);
- for (int i=0; i<10; i++) {
- test_rwlock_internal(start_thread_random, 1, 0, N);
- }
-}
-
int main (int argc, const char *argv[]) {
parse_args(argc, argv);
if (timing_only) {
@@ -680,10 +430,8 @@ int main (int argc, const char *argv[]) {
time_cas();
time_pthread_mutex();
time_pthread_rwlock();
- time_newbrt_rwlock();
- time_newbrt_prelocked_rwlock();
- time_toku_cv_fair_rwlock();
- time_toku_fair_rwlock();
+ time_util_rwlock();
+ time_util_prelocked_rwlock();
}
time_frwlock();
time_frwlock_prelocked();
@@ -694,16 +442,12 @@ int main (int argc, const char *argv[]) {
printf("// Best cas time=%10.6fns\n", best_cas_time);
printf("// Best mutex time=%10.6fns\n", best_mutex_time);
printf("// Best rwlock time=%10.6fns\n", best_rwlock_time);
- printf("// Best newbrt rwlock time=%10.6fns\n", best_newbrt_time);
+ printf("// Best util rwlock time=%10.6fns\n", best_util_time);
printf("// Best prelocked time=%10.6fns\n", best_prelocked_time);
- printf("// Best fair cv rwlock time=%10.6fns\n", best_cv_fair_rwlock_time);
- printf("// Best fair fast rwlock time=%10.6fns\n", best_fair_rwlock_time);
}
printf("// Best frwlock time=%10.6fns\n", best_frwlock_time);
printf("// Best frwlock_pre time=%10.6fns\n", best_frwlock_prelocked_time);
}
- } else {
- test_rwlock();
}
return 0;
}
diff --git a/storage/tokudb/ha_tokudb.cc b/storage/tokudb/ha_tokudb.cc
index cbcab362e8e..32c5e580e78 100644
--- a/storage/tokudb/ha_tokudb.cc
+++ b/storage/tokudb/ha_tokudb.cc
@@ -102,6 +102,21 @@ extern "C" {
}
#define MYSQL_SERVER 1
+#include "mysql_version.h"
+#if MYSQL_VERSION_ID < 50506
+#include "mysql_priv.h"
+#else
+#include "sql_table.h"
+#include "handler.h"
+#include "table.h"
+#include "log.h"
+#include "sql_class.h"
+#include "sql_show.h"
+#include "discover.h"
+#endif
+
+#include "db.h"
+#include "toku_os.h"
#include "hatoku_defines.h"
#include "hatoku_cmp.h"
@@ -144,7 +159,7 @@ static const char *ha_tokudb_exts[] = {
static inline uint32_t get_fixed_field_size(KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, uint keynr) {
uint offset = 0;
for (uint i = 0; i < table_share->fields; i++) {
- if (kc_info->field_lengths[i] && !bitmap_is_set(&kc_info->key_filters[keynr],i)) {
+ if (is_fixed_field(kc_info, i) && !bitmap_is_set(&kc_info->key_filters[keynr],i)) {
offset += kc_info->field_lengths[i];
}
}
@@ -155,7 +170,7 @@ static inline uint32_t get_fixed_field_size(KEY_AND_COL_INFO* kc_info, TABLE_SHA
static inline uint32_t get_len_of_offsets(KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, uint keynr) {
uint len = 0;
for (uint i = 0; i < table_share->fields; i++) {
- if (kc_info->length_bytes[i] && !bitmap_is_set(&kc_info->key_filters[keynr],i)) {
+ if (is_variable_field(kc_info, i) && !bitmap_is_set(&kc_info->key_filters[keynr],i)) {
len += kc_info->num_offset_bytes;
}
}
@@ -183,13 +198,13 @@ static int allocate_key_and_col_info ( TABLE_SHARE* table_share, KEY_AND_COL_INF
//
// create the field lengths
//
- kc_info->field_lengths = (uint16_t *)my_malloc(table_share->fields*sizeof(uint16_t), MYF(MY_WME | MY_ZEROFILL));
- kc_info->length_bytes= (uchar *)my_malloc(table_share->fields, MYF(MY_WME | MY_ZEROFILL));
- kc_info->blob_fields= (uint32_t *)my_malloc(table_share->fields*sizeof(uint32_t), MYF(MY_WME | MY_ZEROFILL));
-
- if (kc_info->field_lengths == NULL ||
- kc_info->length_bytes == NULL ||
- kc_info->blob_fields == NULL ) {
+ kc_info->multi_ptr = tokudb_my_multi_malloc(MYF(MY_WME+MY_ZEROFILL),
+ &kc_info->field_types, (uint)(table_share->fields * sizeof (uint8_t)),
+ &kc_info->field_lengths, (uint)(table_share->fields * sizeof (uint16_t)),
+ &kc_info->length_bytes, (uint)(table_share->fields * sizeof (uint8_t)),
+ &kc_info->blob_fields, (uint)(table_share->fields * sizeof (uint32_t)),
+ NullS);
+ if (kc_info->multi_ptr == NULL) {
error = ENOMEM;
goto exit;
}
@@ -198,21 +213,46 @@ exit:
for (uint i = 0; MAX_KEY + 1; i++) {
bitmap_free(&kc_info->key_filters[i]);
}
- my_free(kc_info->field_lengths);
- my_free(kc_info->length_bytes);
- my_free(kc_info->blob_fields);
+ tokudb_my_free(kc_info->multi_ptr);
}
return error;
}
-/** @brief
- Simple lock controls. The "share" it creates is a structure we will
- pass to each tokudb handler. Do you have to have one of these? Well, you have
- pieces that are used for locking, and they are needed to function.
-
- MUST have tokudb_mutex locked on input
+static void free_key_and_col_info (KEY_AND_COL_INFO* kc_info) {
+ for (uint i = 0; i < MAX_KEY+1; i++) {
+ bitmap_free(&kc_info->key_filters[i]);
+ }
-*/
+ for (uint i = 0; i < MAX_KEY+1; i++) {
+ tokudb_my_free(kc_info->cp_info[i]);
+ kc_info->cp_info[i] = NULL; // 3144
+ }
+
+ tokudb_my_free(kc_info->multi_ptr);
+ kc_info->field_types = NULL;
+ kc_info->field_lengths = NULL;
+ kc_info->length_bytes = NULL;
+ kc_info->blob_fields = NULL;
+}
+
+void TOKUDB_SHARE::init(void) {
+ use_count = 0;
+ thr_lock_init(&lock);
+ tokudb_pthread_mutex_init(&mutex, MY_MUTEX_INIT_FAST);
+ my_rwlock_init(&num_DBs_lock, 0);
+ tokudb_pthread_cond_init(&m_openclose_cond, NULL);
+ m_state = CLOSED;
+}
+
+void TOKUDB_SHARE::destroy(void) {
+ assert(m_state == CLOSED);
+ thr_lock_delete(&lock);
+ tokudb_pthread_mutex_destroy(&mutex);
+ rwlock_destroy(&num_DBs_lock);
+ tokudb_pthread_cond_destroy(&m_openclose_cond);
+}
+
+// MUST have tokudb_mutex locked on input
static TOKUDB_SHARE *get_share(const char *table_name, TABLE_SHARE* table_share) {
TOKUDB_SHARE *share = NULL;
int error = 0;
@@ -227,71 +267,43 @@ static TOKUDB_SHARE *get_share(const char *table_name, TABLE_SHARE* table_share)
// create share and fill it with all zeroes
// hence, all pointers are initialized to NULL
//
- share = (TOKUDB_SHARE *) my_multi_malloc(MYF(MY_WME | MY_ZEROFILL),
+ share = (TOKUDB_SHARE *) tokudb_my_multi_malloc(MYF(MY_WME | MY_ZEROFILL),
&share, sizeof(*share),
&tmp_name, length + 1,
NullS
);
assert(share);
- share->use_count = 0;
+ share->init();
+
share->table_name_length = length;
share->table_name = tmp_name;
strmov(share->table_name, table_name);
- error = allocate_key_and_col_info(table_share, &share->kc_info);
- if (error) {
- goto exit;
- }
-
- memset((void *) share->key_file, 0, sizeof(share->key_file));
-
error = my_hash_insert(&tokudb_open_tables, (uchar *) share);
if (error) {
+ free_key_and_col_info(&share->kc_info);
goto exit;
}
- thr_lock_init(&share->lock);
- pthread_mutex_init(&share->mutex, MY_MUTEX_INIT_FAST);
- my_rwlock_init(&share->num_DBs_lock, 0);
}
exit:
if (error) {
- pthread_mutex_destroy(&share->mutex);
- my_free((uchar *) share);
+ share->destroy();
+ tokudb_my_free((uchar *) share);
share = NULL;
}
return share;
}
-
-static void free_key_and_col_info (KEY_AND_COL_INFO* kc_info) {
- for (uint i = 0; i < MAX_KEY+1; i++) {
- bitmap_free(&kc_info->key_filters[i]);
- }
-
- for (uint i = 0; i < MAX_KEY+1; i++) {
- my_free(kc_info->cp_info[i]);
- kc_info->cp_info[i] = NULL; // 3144
- }
-
- my_free(kc_info->field_lengths);
- my_free(kc_info->length_bytes);
- my_free(kc_info->blob_fields);
-}
-
-//
-// MUST have tokudb_mutex locked on input
-// bool mutex_is_locked specifies if share->mutex is locked
-//
-static int free_share(TOKUDB_SHARE * share, bool mutex_is_locked) {
+static int free_share(TOKUDB_SHARE * share) {
int error, result = 0;
- if (mutex_is_locked) {
- pthread_mutex_unlock(&share->mutex);
- }
+ tokudb_pthread_mutex_lock(&share->mutex);
+ DBUG_PRINT("info", ("share->use_count %u", share->use_count));
if (!--share->use_count) {
- DBUG_PRINT("info", ("share->use_count %u", share->use_count));
+ share->m_state = TOKUDB_SHARE::CLOSING;
+ tokudb_pthread_mutex_unlock(&share->mutex);
//
// number of open DB's may not be equal to number of keys we have because add_index
@@ -301,28 +313,43 @@ static int free_share(TOKUDB_SHARE * share, bool mutex_is_locked) {
for (uint i = 0; i < sizeof(share->key_file)/sizeof(share->key_file[0]); i++) {
if (share->key_file[i]) {
if (tokudb_debug & TOKUDB_DEBUG_OPEN) {
- TOKUDB_TRACE("dbclose:%p\n", share->key_file[i]);
+ TOKUDB_TRACE("dbclose:%p", share->key_file[i]);
}
error = share->key_file[i]->close(share->key_file[i], 0);
assert(error == 0);
if (error) {
result = error;
}
+ if (share->key_file[i] == share->file)
+ share->file = NULL;
share->key_file[i] = NULL;
}
}
- free_key_and_col_info(&share->kc_info);
-
error = tokudb::close_status(&share->status_block);
assert(error == 0);
-
- my_hash_delete(&tokudb_open_tables, (uchar *) share);
- thr_lock_delete(&share->lock);
- pthread_mutex_destroy(&share->mutex);
- rwlock_destroy(&share->num_DBs_lock);
- my_free((uchar *) share);
+ free_key_and_col_info(&share->kc_info);
+
+ tokudb_pthread_mutex_lock(&tokudb_mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
+ share->m_state = TOKUDB_SHARE::CLOSED;
+ if (share->use_count > 0) {
+ tokudb_pthread_cond_broadcast(&share->m_openclose_cond);
+ tokudb_pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&tokudb_mutex);
+ } else {
+
+ my_hash_delete(&tokudb_open_tables, (uchar *) share);
+
+ tokudb_pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&tokudb_mutex);
+
+ share->destroy();
+ tokudb_my_free((uchar *) share);
+ }
+ } else {
+ tokudb_pthread_mutex_unlock(&share->mutex);
}
return result;
@@ -348,7 +375,7 @@ const char *ha_tokudb::index_type(uint inx) {
* returns NULL terminated file extension string
*/
const char **ha_tokudb::bas_ext() const {
- TOKUDB_DBUG_ENTER("ha_tokudb::bas_ext");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBUG_RETURN(ha_tokudb_exts);
}
@@ -364,12 +391,15 @@ static inline bool is_replace_into(THD* thd) {
}
static inline bool do_ignore_flag_optimization(THD* thd, TABLE* table, bool opt_eligible) {
- uint pk_insert_mode = get_pk_insert_mode(thd);
- return (
- opt_eligible &&
- (is_replace_into(thd) || is_insert_ignore(thd)) &&
- ((!table->triggers && pk_insert_mode < 2) || pk_insert_mode == 0)
- );
+ if (opt_eligible) {
+ if (is_replace_into(thd) || is_insert_ignore(thd)) {
+ uint pk_insert_mode = get_pk_insert_mode(thd);
+ if ((!table->triggers && pk_insert_mode < 2) || pk_insert_mode == 0) {
+ return true;
+ }
+ }
+ }
+ return false;
}
static inline uint get_key_parts(const KEY *key) {
@@ -382,7 +412,8 @@ static inline uint get_key_parts(const KEY *key) {
#if TOKU_INCLUDE_EXTENDED_KEYS
static inline uint get_ext_key_parts(const KEY *key) {
-#if 50609 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
+#if (50609 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799)
return key->actual_key_parts;
#elif defined(MARIADB_BASE_VERSION)
return key->ext_key_parts;
@@ -393,7 +424,7 @@ static inline uint get_ext_key_parts(const KEY *key) {
#endif
ulonglong ha_tokudb::table_flags() const {
- return (table && do_ignore_flag_optimization(ha_thd(), table, share->replace_into_fast) ?
+ return (table && do_ignore_flag_optimization(ha_thd(), table, share->replace_into_fast && !using_ignore_no_key) ?
int_table_flags | HA_BINLOG_STMT_CAPABLE :
int_table_flags | HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE);
}
@@ -403,7 +434,7 @@ ulonglong ha_tokudb::table_flags() const {
// the arguments. The capabilities are defined in sql/handler.h.
//
ulong ha_tokudb::index_flags(uint idx, uint part, bool all_parts) const {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_flags");
+ TOKUDB_HANDLER_DBUG_ENTER("");
assert(table_share);
ulong flags = (HA_READ_NEXT | HA_READ_PREV | HA_READ_ORDER | HA_KEYREAD_ONLY | HA_READ_RANGE);
#if defined(MARIADB_BASE_VERSION) || (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699)
@@ -498,16 +529,6 @@ static int smart_dbt_do_nothing (DBT const *key, DBT const *row, void *context)
return 0;
}
-static int smart_dbt_metacallback (DBT const *key, DBT const *row, void *context) {
- DBT* val = (DBT *)context;
- val->data = my_malloc(row->size, MYF(MY_WME|MY_ZEROFILL));
- if (val->data == NULL) return ENOMEM;
- memcpy(val->data, row->data, row->size);
- val->size = row->size;
- return 0;
-}
-
-
static int
smart_dbt_callback_rowread_ptquery (DBT const *key, DBT const *row, void *context) {
SMART_DBT_INFO info = (SMART_DBT_INFO)context;
@@ -576,9 +597,8 @@ smart_dbt_callback_ir_rowread(DBT const *key, DBT const *row, void *context) {
// macro for Smart DBT callback function,
// so we do not need to put this long line of code in multiple places
//
-#define SMART_DBT_CALLBACK ( this->key_read ? smart_dbt_callback_keyread : smart_dbt_callback_rowread )
-#define SMART_DBT_IR_CALLBACK ( this->key_read ? smart_dbt_callback_ir_keyread : smart_dbt_callback_ir_rowread )
-
+#define SMART_DBT_CALLBACK(do_key_read) ((do_key_read) ? smart_dbt_callback_keyread : smart_dbt_callback_rowread )
+#define SMART_DBT_IR_CALLBACK(do_key_read) ((do_key_read) ? smart_dbt_callback_ir_keyread : smart_dbt_callback_ir_rowread )
//
// macro that modifies read flag for cursor operations depending on whether
@@ -596,7 +616,7 @@ smart_dbt_callback_ir_rowread(DBT const *key, DBT const *row, void *context) {
// Returns:
// The value of the auto increment column in record
//
-ulonglong retrieve_auto_increment(uint16 type, uint32 offset,const uchar *record)
+static ulonglong retrieve_auto_increment(uint16 type, uint32 offset,const uchar *record)
{
const uchar *key; /* Key */
ulonglong unsigned_autoinc = 0; /* Unsigned auto-increment */
@@ -644,8 +664,8 @@ ulonglong retrieve_auto_increment(uint16 type, uint32 offset,const uchar *record
break;
case HA_KEYTYPE_UINT24:
- unsigned_autoinc = (ulonglong) uint3korr(key);
- break;
+ unsigned_autoinc = (ulonglong) tokudb_uint3korr(key);
+ break;
case HA_KEYTYPE_LONGLONG:
signed_autoinc = sint8korr(key);
@@ -973,7 +993,7 @@ static uchar* pack_toku_field_blob(
length = uint2korr(from_mysql);
break;
case (3):
- length = uint3korr(from_mysql);
+ length = tokudb_uint3korr(from_mysql);
break;
case (4):
length = uint4korr(from_mysql);
@@ -989,139 +1009,10 @@ static uchar* pack_toku_field_blob(
return (to_tokudb + len_bytes + length);
}
-
-static int add_table_to_metadata(const char *name, TABLE* table, DB_TXN* txn) {
- int error = 0;
- DBT key;
- DBT val;
- uchar hidden_primary_key = (table->s->primary_key >= MAX_KEY);
- assert(txn);
-
- memset((void *)&key, 0, sizeof(key));
- memset((void *)&val, 0, sizeof(val));
- key.data = (void *)name;
- key.size = strlen(name) + 1;
- val.data = &hidden_primary_key;
- val.size = sizeof(hidden_primary_key);
- error = metadata_db->put(
- metadata_db,
- txn,
- &key,
- &val,
- 0
- );
- return error;
-}
-
-static int drop_table_from_metadata(const char *name, DB_TXN* txn) {
- int error = 0;
- DBT key;
- DBT data;
- assert(txn);
- memset((void *)&key, 0, sizeof(key));
- memset((void *)&data, 0, sizeof(data));
- key.data = (void *)name;
- key.size = strlen(name) + 1;
- error = metadata_db->del(
- metadata_db,
- txn,
- &key ,
- DB_DELETE_ANY
- );
- return error;
-}
-
-static int rename_table_in_metadata(const char *from, const char *to, DB_TXN* txn) {
- int error = 0;
- DBT from_key;
- DBT to_key;
- DBT val;
- assert(txn);
-
- memset((void *)&from_key, 0, sizeof(from_key));
- memset((void *)&to_key, 0, sizeof(to_key));
- memset((void *)&val, 0, sizeof(val));
- from_key.data = (void *)from;
- from_key.size = strlen(from) + 1;
- to_key.data = (void *)to;
- to_key.size = strlen(to) + 1;
-
- error = metadata_db->getf_set(
- metadata_db,
- txn,
- 0,
- &from_key,
- smart_dbt_metacallback,
- &val
- );
-
- if (error) {
- goto cleanup;
- }
-
- error = metadata_db->put(
- metadata_db,
- txn,
- &to_key,
- &val,
- 0
- );
- if (error) {
- goto cleanup;
- }
-
- error = metadata_db->del(
- metadata_db,
- txn,
- &from_key,
- DB_DELETE_ANY
- );
- if (error) {
- goto cleanup;
- }
-
- error = 0;
-
-cleanup:
- my_free(val.data);
-
- return error;
-}
-
-
-static int check_table_in_metadata(const char *name, bool* table_found, DB_TXN* txn) {
- int error = 0;
- DBT key;
- pthread_mutex_lock(&tokudb_meta_mutex);
- memset((void *)&key, 0, sizeof(key));
- key.data = (void *)name;
- key.size = strlen(name) + 1;
-
- error = metadata_db->getf_set(
- metadata_db,
- txn,
- 0,
- &key,
- smart_dbt_do_nothing,
- NULL
- );
-
- if (error == 0) {
- *table_found = true;
- }
- else if (error == DB_NOTFOUND){
- *table_found = false;
- error = 0;
- }
-
- pthread_mutex_unlock(&tokudb_meta_mutex);
- return error;
-}
-
static int create_tokudb_trx_data_instance(tokudb_trx_data** out_trx) {
int error;
tokudb_trx_data* trx = NULL;
- trx = (tokudb_trx_data *) my_malloc(sizeof(*trx), MYF(MY_ZEROFILL));
+ trx = (tokudb_trx_data *) tokudb_my_malloc(sizeof(*trx), MYF(MY_ZEROFILL));
if (!trx) {
error = ENOMEM;
goto cleanup;
@@ -1305,17 +1196,15 @@ static int generate_row_for_put(
);
}
-ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg):handler(hton, table_arg)
- // flags defined in sql\handler.h
-{
+ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg):handler(hton, table_arg) {
+ TOKUDB_HANDLER_DBUG_ENTER("");
share = NULL;
- int_table_flags = HA_REC_NOT_IN_SEQ | HA_NULL_IN_KEY | HA_CAN_INDEX_BLOBS | HA_PRIMARY_KEY_IN_READ_INDEX |
- HA_FILE_BASED | HA_AUTO_PART_KEY | HA_TABLE_SCAN_ON_INDEX | HA_CAN_WRITE_DURING_OPTIMIZE;
+ int_table_flags = HA_REC_NOT_IN_SEQ | HA_NULL_IN_KEY | HA_CAN_INDEX_BLOBS | HA_PRIMARY_KEY_IN_READ_INDEX | HA_PRIMARY_KEY_REQUIRED_FOR_POSITION |
+ HA_FILE_BASED | HA_AUTO_PART_KEY | HA_TABLE_SCAN_ON_INDEX | HA_CAN_WRITE_DURING_OPTIMIZE;
alloc_ptr = NULL;
rec_buff = NULL;
rec_update_buff = NULL;
transaction = NULL;
- is_fast_alter_running = false;
cursor = NULL;
fixed_cols_for_query = NULL;
var_cols_for_query = NULL;
@@ -1327,7 +1216,8 @@ ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg):handler(hton, t
added_rows = 0;
deleted_rows = 0;
last_dup_key = UINT_MAX;
- using_ignore = 0;
+ using_ignore = false;
+ using_ignore_no_key = false;
last_cursor_error = 0;
range_lock_grabbed = false;
blob_buff = NULL;
@@ -1363,9 +1253,19 @@ ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg):handler(hton, t
prelocked_right_range_size = 0;
tokudb_active_index = MAX_KEY;
invalidate_icp();
+ trx_handler_list.data = this;
+ TOKUDB_HANDLER_DBUG_VOID_RETURN;
}
ha_tokudb::~ha_tokudb() {
+ TOKUDB_HANDLER_DBUG_ENTER("");
+ for (uint32_t i = 0; i < sizeof(mult_key_dbt_array)/sizeof(mult_key_dbt_array[0]); i++) {
+ toku_dbt_array_destroy(&mult_key_dbt_array[i]);
+ }
+ for (uint32_t i = 0; i < sizeof(mult_rec_dbt_array)/sizeof(mult_rec_dbt_array[0]); i++) {
+ toku_dbt_array_destroy(&mult_rec_dbt_array[i]);
+ }
+ TOKUDB_HANDLER_DBUG_VOID_RETURN;
}
//
@@ -1395,7 +1295,7 @@ bool ha_tokudb::has_auto_increment_flag(uint* index) {
static int open_status_dictionary(DB** ptr, const char* name, DB_TXN* txn) {
int error;
char* newname = NULL;
- newname = (char *)my_malloc(
+ newname = (char *)tokudb_my_malloc(
get_max_dict_name_path_length(name),
MYF(MY_WME));
if (newname == NULL) {
@@ -1404,12 +1304,12 @@ static int open_status_dictionary(DB** ptr, const char* name, DB_TXN* txn) {
}
make_name(newname, name, "status");
if (tokudb_debug & TOKUDB_DEBUG_OPEN) {
- TOKUDB_TRACE("open:%s\n", newname);
+ TOKUDB_TRACE("open:%s", newname);
}
error = tokudb::open_status(db_env, ptr, newname, txn);
cleanup:
- my_free(newname);
+ tokudb_my_free(newname);
return error;
}
@@ -1421,7 +1321,7 @@ int ha_tokudb::open_main_dictionary(const char* name, bool is_read_only, DB_TXN*
assert(share->file == NULL);
assert(share->key_file[primary_key] == NULL);
- newname = (char *)my_malloc(
+ newname = (char *)tokudb_my_malloc(
get_max_dict_name_path_length(name),
MYF(MY_WME|MY_ZEROFILL)
);
@@ -1443,7 +1343,7 @@ int ha_tokudb::open_main_dictionary(const char* name, bool is_read_only, DB_TXN*
}
if (tokudb_debug & TOKUDB_DEBUG_OPEN) {
- TOKUDB_TRACE("open:%s:file=%p\n", newname, share->file);
+ TOKUDB_HANDLER_TRACE("open:%s:file=%p", newname, share->file);
}
error = 0;
@@ -1459,7 +1359,7 @@ exit:
share->key_file[primary_key] = NULL;
}
}
- my_free(newname);
+ tokudb_my_free(newname);
return error;
}
@@ -1476,7 +1376,7 @@ int ha_tokudb::open_secondary_dictionary(DB** ptr, KEY* key_info, const char* na
sprintf(dict_name, "key-%s", key_info->name);
newname_len = get_max_dict_name_path_length(name);
- newname = (char *)my_malloc(newname_len, MYF(MY_WME|MY_ZEROFILL));
+ newname = (char *)tokudb_my_malloc(newname_len, MYF(MY_WME|MY_ZEROFILL));
if (newname == NULL) {
error = ENOMEM;
goto cleanup;
@@ -1495,7 +1395,7 @@ int ha_tokudb::open_secondary_dictionary(DB** ptr, KEY* key_info, const char* na
goto cleanup;
}
if (tokudb_debug & TOKUDB_DEBUG_OPEN) {
- TOKUDB_TRACE("open:%s:file=%p\n", newname, *ptr);
+ TOKUDB_HANDLER_TRACE("open:%s:file=%p", newname, *ptr);
}
cleanup:
if (error) {
@@ -1505,7 +1405,7 @@ cleanup:
*ptr = NULL;
}
}
- my_free(newname);
+ tokudb_my_free(newname);
return error;
}
@@ -1515,7 +1415,7 @@ static int initialize_col_pack_info(KEY_AND_COL_INFO* kc_info, TABLE_SHARE* tabl
// set up the cp_info
//
assert(kc_info->cp_info[keynr] == NULL);
- kc_info->cp_info[keynr] = (COL_PACK_INFO *)my_malloc(
+ kc_info->cp_info[keynr] = (COL_PACK_INFO *)tokudb_my_malloc(
table_share->fields*sizeof(COL_PACK_INFO),
MYF(MY_WME | MY_ZEROFILL)
);
@@ -1533,11 +1433,11 @@ static int initialize_col_pack_info(KEY_AND_COL_INFO* kc_info, TABLE_SHARE* tabl
// offsets are calculated AFTER the NULL bytes
//
if (!bitmap_is_set(&kc_info->key_filters[keynr],j)) {
- if (kc_info->field_lengths[j]) {
+ if (is_fixed_field(kc_info, j)) {
curr->col_pack_val = curr_fixed_offset;
curr_fixed_offset += kc_info->field_lengths[j];
}
- else if (kc_info->length_bytes[j]) {
+ else if (is_variable_field(kc_info, j)) {
curr->col_pack_val = curr_var_index;
curr_var_index++;
}
@@ -1567,7 +1467,7 @@ exit:
// reset the kc_info state at keynr
static void reset_key_and_col_info(KEY_AND_COL_INFO *kc_info, uint keynr) {
bitmap_clear_all(&kc_info->key_filters[keynr]);
- my_free(kc_info->cp_info[keynr]);
+ tokudb_my_free(kc_info->cp_info[keynr]);
kc_info->cp_info[keynr] = NULL;
kc_info->mcp_info[keynr] = (MULTI_COL_PACK_INFO) { 0, 0 };
}
@@ -1592,10 +1492,12 @@ static int initialize_key_and_col_info(TABLE_SHARE* table_share, TABLE* table, K
case toku_type_fixstring:
pack_length = field->pack_length();
assert(pack_length < 1<<16);
+ kc_info->field_types[i] = KEY_AND_COL_INFO::TOKUDB_FIXED_FIELD;
kc_info->field_lengths[i] = (uint16_t)pack_length;
kc_info->length_bytes[i] = 0;
break;
case toku_type_blob:
+ kc_info->field_types[i] = KEY_AND_COL_INFO::TOKUDB_BLOB_FIELD;
kc_info->field_lengths[i] = 0;
kc_info->length_bytes[i] = 0;
kc_info->blob_fields[curr_blob_field_index] = i;
@@ -1603,9 +1505,7 @@ static int initialize_key_and_col_info(TABLE_SHARE* table_share, TABLE* table, K
break;
case toku_type_varstring:
case toku_type_varbinary:
- //
- // meaning it is variable sized
- //
+ kc_info->field_types[i] = KEY_AND_COL_INFO::TOKUDB_VARIABLE_FIELD;
kc_info->field_lengths[i] = 0;
kc_info->length_bytes[i] = (uchar)((Field_varstring *)field)->length_bytes;
max_var_bytes += field->field_length;
@@ -1628,8 +1528,7 @@ static int initialize_key_and_col_info(TABLE_SHARE* table_share, TABLE* table, K
kc_info->num_offset_bytes = 2;
}
-
- for (uint i = 0; i < table_share->keys + test(hidden_primary_key); i++) {
+ for (uint i = 0; i < table_share->keys + tokudb_test(hidden_primary_key); i++) {
//
// do the cluster/primary key filtering calculations
//
@@ -1672,7 +1571,7 @@ exit:
}
bool ha_tokudb::can_replace_into_be_fast(TABLE_SHARE* table_share, KEY_AND_COL_INFO* kc_info, uint pk) {
- uint curr_num_DBs = table_share->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table_share->keys + tokudb_test(hidden_primary_key);
bool ret_val;
if (curr_num_DBs == 1) {
ret_val = true;
@@ -1707,7 +1606,6 @@ int ha_tokudb::initialize_share(
{
int error = 0;
uint64_t num_rows = 0;
- bool table_exists;
DB_TXN* txn = NULL;
bool do_commit = false;
THD* thd = ha_thd();
@@ -1723,18 +1621,7 @@ int ha_tokudb::initialize_share(
}
DBUG_PRINT("info", ("share->use_count %u", share->use_count));
-
- table_exists = true;
- error = check_table_in_metadata(name, &table_exists, txn);
-
- if (error) {
- goto exit;
- }
- if (!table_exists) {
- sql_print_error("table %s does not exist in metadata, was it moved from someplace else? Not opening table", name);
- error = HA_ADMIN_FAILED;
- goto exit;
- }
+ share->m_initialize_count++;
error = get_status(txn);
if (error) {
@@ -1762,7 +1649,7 @@ int ha_tokudb::initialize_share(
goto exit;
#else
// verify frm data for non-partitioned tables
- if (table->part_info == NULL) {
+ if (IF_PARTITIONING(table->part_info, NULL) == NULL) {
error = verify_frm_data(table->s->path.str, txn);
if (error)
goto exit;
@@ -1860,7 +1747,23 @@ int ha_tokudb::initialize_share(
share->try_table_lock = false;
}
- share->num_DBs = table_share->keys + test(hidden_primary_key);
+ share->num_DBs = table_share->keys + tokudb_test(hidden_primary_key);
+
+ init_hidden_prim_key_info(txn);
+
+ // initialize cardinality info from the status dictionary
+ {
+ uint total_key_parts = tokudb::compute_total_key_parts(table_share);
+ uint64_t rec_per_key[total_key_parts];
+ error = tokudb::get_card_from_status(share->status_block, txn, total_key_parts, rec_per_key);
+ if (error == 0) {
+ tokudb::set_card_in_key_info(table, total_key_parts, rec_per_key);
+ } else {
+ for (uint i = 0; i < total_key_parts; i++)
+ rec_per_key[i] = 0;
+ tokudb::set_card_in_key_info(table, total_key_parts, rec_per_key);
+ }
+ }
error = 0;
exit:
@@ -1870,8 +1773,6 @@ exit:
return error;
}
-
-
//
// Creates and opens a handle to a table which already exists in a tokudb
// database.
@@ -1884,7 +1785,7 @@ exit:
// 1 on error
//
int ha_tokudb::open(const char *name, int mode, uint test_if_locked) {
- TOKUDB_DBUG_ENTER("ha_tokudb::open %p %s %o %u", this, name, mode, test_if_locked);
+ TOKUDB_HANDLER_DBUG_ENTER("%s %o %u", name, mode, test_if_locked);
THD* thd = ha_thd();
int error = 0;
@@ -1911,7 +1812,7 @@ int ha_tokudb::open(const char *name, int mode, uint test_if_locked) {
// the "+ 1" is for the first byte that states +/- infinity
// multiply everything by 2 to account for clustered keys having a key and primary key together
max_key_length = 2*(table_share->max_key_length + MAX_REF_PARTS * 3 + sizeof(uchar));
- alloc_ptr = my_multi_malloc(MYF(MY_WME),
+ alloc_ptr = tokudb_my_multi_malloc(MYF(MY_WME),
&key_buff, max_key_length,
&key_buff2, max_key_length,
&key_buff3, max_key_length,
@@ -1928,81 +1829,95 @@ int ha_tokudb::open(const char *name, int mode, uint test_if_locked) {
}
size_range_query_buff = get_tokudb_read_buf_size(thd);
- range_query_buff = (uchar *)my_malloc(size_range_query_buff, MYF(MY_WME));
+ range_query_buff = (uchar *)tokudb_my_malloc(size_range_query_buff, MYF(MY_WME));
if (range_query_buff == NULL) {
ret_val = 1;
goto exit;
}
alloced_rec_buff_length = table_share->rec_buff_length + table_share->fields;
- rec_buff = (uchar *) my_malloc(alloced_rec_buff_length, MYF(MY_WME));
+ rec_buff = (uchar *) tokudb_my_malloc(alloced_rec_buff_length, MYF(MY_WME));
if (rec_buff == NULL) {
ret_val = 1;
goto exit;
}
alloced_update_rec_buff_length = alloced_rec_buff_length;
- rec_update_buff = (uchar *) my_malloc(alloced_update_rec_buff_length, MYF(MY_WME));
+ rec_update_buff = (uchar *) tokudb_my_malloc(alloced_update_rec_buff_length, MYF(MY_WME));
if (rec_update_buff == NULL) {
ret_val = 1;
goto exit;
}
- /* Init shared structure */
- pthread_mutex_lock(&tokudb_mutex);
+ // lookup or create share
+ tokudb_pthread_mutex_lock(&tokudb_mutex);
share = get_share(name, table_share);
assert(share);
thr_lock_data_init(&share->lock, &lock, NULL);
- /* Fill in shared structure, if needed */
- pthread_mutex_lock(&share->mutex);
- if (!share->use_count++) {
- ret_val = initialize_share(
- name,
- mode
- );
- if (ret_val) {
- free_share(share, true);
- pthread_mutex_unlock(&tokudb_mutex);
- goto exit;
+ tokudb_pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&tokudb_mutex);
+ share->use_count++;
+ while (share->m_state == TOKUDB_SHARE::OPENING || share->m_state == TOKUDB_SHARE::CLOSING) {
+ tokudb_pthread_cond_wait(&share->m_openclose_cond, &share->mutex);
+ }
+ if (share->m_state == TOKUDB_SHARE::CLOSED) {
+ share->m_state = TOKUDB_SHARE::OPENING;
+ tokudb_pthread_mutex_unlock(&share->mutex);
+
+ ret_val = allocate_key_and_col_info(table_share, &share->kc_info);
+ if (ret_val == 0) {
+ ret_val = initialize_share(name, mode);
}
+
+ tokudb_pthread_mutex_lock(&share->mutex);
+ if (ret_val == 0) {
+ share->m_state = TOKUDB_SHARE::OPENED;
+ } else {
+ share->m_state = TOKUDB_SHARE::ERROR;
+ share->m_error = ret_val;
+ }
+ tokudb_pthread_cond_broadcast(&share->m_openclose_cond);
+ }
+ if (share->m_state == TOKUDB_SHARE::ERROR) {
+ ret_val = share->m_error;
+ tokudb_pthread_mutex_unlock(&share->mutex);
+ free_share(share);
+ goto exit;
+ } else {
+ assert(share->m_state == TOKUDB_SHARE::OPENED);
+ tokudb_pthread_mutex_unlock(&share->mutex);
}
- pthread_mutex_unlock(&share->mutex);
- pthread_mutex_unlock(&tokudb_mutex);
ref_length = share->ref_length; // If second open
if (tokudb_debug & TOKUDB_DEBUG_OPEN) {
- pthread_mutex_lock(&share->mutex);
- TOKUDB_TRACE("tokudbopen:%p:share=%p:file=%p:table=%p:table->s=%p:%d\n",
+ TOKUDB_HANDLER_TRACE("tokudbopen:%p:share=%p:file=%p:table=%p:table->s=%p:%d",
this, share, share->file, table, table->s, share->use_count);
- pthread_mutex_unlock(&share->mutex);
}
key_read = false;
stats.block_size = 1<<20; // QQQ Tokudb DB block size
- init_hidden_prim_key_info();
-
info(HA_STATUS_NO_LOCK | HA_STATUS_VARIABLE | HA_STATUS_CONST);
exit:
if (ret_val) {
- my_free(range_query_buff);
+ tokudb_my_free(range_query_buff);
range_query_buff = NULL;
- my_free(alloc_ptr);
+ tokudb_my_free(alloc_ptr);
alloc_ptr = NULL;
- my_free(rec_buff);
+ tokudb_my_free(rec_buff);
rec_buff = NULL;
- my_free(rec_update_buff);
+ tokudb_my_free(rec_update_buff);
rec_update_buff = NULL;
if (error) {
my_errno = error;
}
}
- TOKUDB_DBUG_RETURN(ret_val);
+ TOKUDB_HANDLER_DBUG_RETURN(ret_val);
}
//
@@ -2149,7 +2064,7 @@ cleanup:
}
int ha_tokudb::write_frm_data(DB* db, DB_TXN* txn, const char* frm_name) {
- TOKUDB_DBUG_ENTER("ha_tokudb::write_frm_data %p %p %p %s", this, db, txn, frm_name);
+ TOKUDB_HANDLER_DBUG_ENTER("%p %p %s", db, txn, frm_name);
uchar* frm_data = NULL;
size_t frm_len = 0;
@@ -2164,7 +2079,7 @@ int ha_tokudb::write_frm_data(DB* db, DB_TXN* txn, const char* frm_name) {
error = 0;
cleanup:
table_share->free_frm_image(frm_data);
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
int ha_tokudb::remove_frm_data(DB *db, DB_TXN *txn) {
@@ -2175,14 +2090,14 @@ static int
smart_dbt_callback_verify_frm (DBT const *key, DBT const *row, void *context) {
DBT* stored_frm = (DBT *)context;
stored_frm->size = row->size;
- stored_frm->data = (uchar *)my_malloc(row->size, MYF(MY_WME));
+ stored_frm->data = (uchar *)tokudb_my_malloc(row->size, MYF(MY_WME));
assert(stored_frm->data);
memcpy(stored_frm->data, row->data, row->size);
return 0;
}
int ha_tokudb::verify_frm_data(const char* frm_name, DB_TXN* txn) {
- TOKUDB_DBUG_ENTER("ha_tokudb::verify_frm_data %s", frm_name);
+ TOKUDB_HANDLER_DBUG_ENTER("%s", frm_name);
uchar* mysql_frm_data = NULL;
size_t mysql_frm_len = 0;
DBT key, stored_frm;
@@ -2228,8 +2143,8 @@ int ha_tokudb::verify_frm_data(const char* frm_name, DB_TXN* txn) {
error = 0;
cleanup:
table_share->free_frm_image(mysql_frm_data);
- my_free(stored_frm.data);
- TOKUDB_DBUG_RETURN(error);
+ tokudb_my_free(stored_frm.data);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -2265,19 +2180,20 @@ int ha_tokudb::write_auto_inc_create(DB* db, ulonglong val, DB_TXN* txn){
// Closes a handle to a table.
//
int ha_tokudb::close(void) {
- TOKUDB_DBUG_ENTER("ha_tokudb::close %p", this);
- TOKUDB_DBUG_RETURN(__close());
+ TOKUDB_HANDLER_DBUG_ENTER("");
+ int r = __close();
+ TOKUDB_HANDLER_DBUG_RETURN(r);
}
int ha_tokudb::__close() {
- TOKUDB_DBUG_ENTER("ha_tokudb::__close %p", this);
+ TOKUDB_HANDLER_DBUG_ENTER("");
if (tokudb_debug & TOKUDB_DEBUG_OPEN)
- TOKUDB_TRACE("close:%p\n", this);
- my_free(rec_buff);
- my_free(rec_update_buff);
- my_free(blob_buff);
- my_free(alloc_ptr);
- my_free(range_query_buff);
+ TOKUDB_HANDLER_TRACE("close:%p", this);
+ tokudb_my_free(rec_buff);
+ tokudb_my_free(rec_update_buff);
+ tokudb_my_free(blob_buff);
+ tokudb_my_free(alloc_ptr);
+ tokudb_my_free(range_query_buff);
for (uint32_t i = 0; i < sizeof(mult_key_dbt_array)/sizeof(mult_key_dbt_array[0]); i++) {
toku_dbt_array_destroy(&mult_key_dbt_array[i]);
}
@@ -2288,10 +2204,8 @@ int ha_tokudb::__close() {
rec_update_buff = NULL;
alloc_ptr = NULL;
ha_tokudb::reset();
- pthread_mutex_lock(&tokudb_mutex);
- int retval = free_share(share, false);
- pthread_mutex_unlock(&tokudb_mutex);
- TOKUDB_DBUG_RETURN(retval);
+ int retval = free_share(share);
+ TOKUDB_HANDLER_DBUG_RETURN(retval);
}
//
@@ -2303,7 +2217,7 @@ int ha_tokudb::__close() {
bool ha_tokudb::fix_rec_buff_for_blob(ulong length) {
if (!rec_buff || (length > alloced_rec_buff_length)) {
uchar *newptr;
- if (!(newptr = (uchar *) my_realloc((void *) rec_buff, length, MYF(MY_ALLOW_ZERO_PTR))))
+ if (!(newptr = (uchar *) tokudb_my_realloc((void *) rec_buff, length, MYF(MY_ALLOW_ZERO_PTR))))
return 1;
rec_buff = newptr;
alloced_rec_buff_length = length;
@@ -2320,7 +2234,7 @@ bool ha_tokudb::fix_rec_buff_for_blob(ulong length) {
bool ha_tokudb::fix_rec_update_buff_for_blob(ulong length) {
if (!rec_update_buff || (length > alloced_update_rec_buff_length)) {
uchar *newptr;
- if (!(newptr = (uchar *) my_realloc((void *) rec_update_buff, length, MYF(MY_ALLOW_ZERO_PTR))))
+ if (!(newptr = (uchar *) tokudb_my_realloc((void *) rec_update_buff, length, MYF(MY_ALLOW_ZERO_PTR))))
return 1;
rec_update_buff= newptr;
alloced_update_rec_buff_length = length;
@@ -2385,14 +2299,14 @@ int ha_tokudb::pack_row_in_buff(
if (bitmap_is_set(&share->kc_info.key_filters[index],i)) {
continue;
}
- if (share->kc_info.field_lengths[i]) {
+ if (is_fixed_field(&share->kc_info, i)) {
fixed_field_ptr = pack_fixed_field(
fixed_field_ptr,
record + curr_field_offset,
share->kc_info.field_lengths[i]
);
}
- else if (share->kc_info.length_bytes[i]) {
+ else if (is_variable_field(&share->kc_info, i)) {
var_field_data_ptr = pack_var_field(
var_field_offset_ptr,
var_field_data_ptr,
@@ -2457,7 +2371,7 @@ int ha_tokudb::unpack_blobs(
//
assert( !((share->kc_info.num_blobs == 0) && (num_bytes > 0)) );
if (num_bytes > num_blob_bytes) {
- ptr = (uchar *)my_realloc((void *)blob_buff, num_bytes, MYF(MY_ALLOW_ZERO_PTR));
+ ptr = (uchar *)tokudb_my_realloc((void *)blob_buff, num_bytes, MYF(MY_ALLOW_ZERO_PTR));
if (ptr == NULL) {
error = ENOMEM;
goto exit;
@@ -2552,7 +2466,7 @@ int ha_tokudb::unpack_row(
continue;
}
- if (share->kc_info.field_lengths[i]) {
+ if (is_fixed_field(&share->kc_info, i)) {
fixed_field_ptr = unpack_fixed_field(
record + field_offset(field, table),
fixed_field_ptr,
@@ -2563,7 +2477,7 @@ int ha_tokudb::unpack_row(
// here, we DO modify var_field_data_ptr or var_field_offset_ptr
// as we unpack variable sized fields
//
- else if (share->kc_info.length_bytes[i]) {
+ else if (is_variable_field(&share->kc_info, i)) {
switch (share->kc_info.num_offset_bytes) {
case (1):
data_end_offset = var_field_offset_ptr[0];
@@ -2880,7 +2794,7 @@ DBT *ha_tokudb::create_dbt_key_from_table(
int key_length
)
{
- TOKUDB_DBUG_ENTER("ha_tokudb::create_dbt_key_from_table");
+ TOKUDB_HANDLER_DBUG_ENTER("");
memset((void *) key, 0, sizeof(*key));
if (hidden_primary_key && keynr == primary_key) {
key->data = buff;
@@ -2901,7 +2815,7 @@ DBT* ha_tokudb::create_dbt_key_for_lookup(
int key_length
)
{
- TOKUDB_DBUG_ENTER("ha_tokudb::create_dbt_key_from_lookup");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBT* ret = create_dbt_key_from_key(key, key_info, buff, record, has_null, true, key_length);
// override the infinity byte, needed in case the pk is a string
// to make sure that the cursor that uses this key properly positions
@@ -2933,9 +2847,9 @@ DBT *ha_tokudb::pack_key(
int8_t inf_byte
)
{
- TOKUDB_DBUG_ENTER("ha_tokudb::pack_key");
+ TOKUDB_HANDLER_DBUG_ENTER("");
#if TOKU_INCLUDE_EXTENDED_KEYS
- if (keynr != primary_key && !test(hidden_primary_key)) {
+ if (keynr != primary_key && !tokudb_test(hidden_primary_key)) {
DBUG_RETURN(pack_ext_key(key, keynr, buff, key_ptr, key_length, inf_byte));
}
#endif
@@ -2993,7 +2907,7 @@ DBT *ha_tokudb::pack_ext_key(
int8_t inf_byte
)
{
- TOKUDB_DBUG_ENTER("ha_tokudb::pack_ext_key");
+ TOKUDB_HANDLER_DBUG_ENTER("");
// build a list of PK parts that are in the SK. we will use this list to build the
// extended key if necessary.
@@ -3084,26 +2998,11 @@ DBT *ha_tokudb::pack_ext_key(
//
// get max used hidden primary key value
//
-void ha_tokudb::init_hidden_prim_key_info() {
- TOKUDB_DBUG_ENTER("ha_tokudb::init_prim_key_info");
- pthread_mutex_lock(&share->mutex);
+void ha_tokudb::init_hidden_prim_key_info(DB_TXN *txn) {
+ TOKUDB_HANDLER_DBUG_ENTER("");
if (!(share->status & STATUS_PRIMARY_KEY_INIT)) {
int error = 0;
- THD* thd = ha_thd();
- DB_TXN* txn = NULL;
- DBC* c = NULL;
- tokudb_trx_data *trx = NULL;
- trx = (tokudb_trx_data *) thd_data_get(ha_thd(), tokudb_hton->slot);
- bool do_commit = false;
- if (thd_sql_command(thd) == SQLCOM_CREATE_TABLE && trx && trx->sub_sp_level) {
- txn = trx->sub_sp_level;
- }
- else {
- do_commit = true;
- error = txn_begin(db_env, 0, &txn, 0, thd);
- assert(error == 0);
- }
-
+ DBC* c = NULL;
error = share->key_file[primary_key]->cursor(
share->key_file[primary_key],
txn,
@@ -3121,13 +3020,9 @@ void ha_tokudb::init_hidden_prim_key_info() {
}
error = c->c_close(c);
assert(error == 0);
- if (do_commit) {
- commit_txn(txn, 0);
- }
share->status |= STATUS_PRIMARY_KEY_INIT;
}
- pthread_mutex_unlock(&share->mutex);
- DBUG_VOID_RETURN;
+ TOKUDB_HANDLER_DBUG_VOID_RETURN;
}
@@ -3136,7 +3031,7 @@ void ha_tokudb::init_hidden_prim_key_info() {
Get metadata info stored in status.tokudb
*/
int ha_tokudb::get_status(DB_TXN* txn) {
- TOKUDB_DBUG_ENTER("ha_tokudb::get_status");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBT key, value;
HA_METADATA_KEY curr_key;
int error;
@@ -3244,7 +3139,7 @@ int ha_tokudb::get_status(DB_TXN* txn) {
error = 0;
cleanup:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
/** @brief
@@ -3253,7 +3148,7 @@ cleanup:
This is used in filesort.cc.
*/
ha_rows ha_tokudb::estimate_rows_upper_bound() {
- TOKUDB_DBUG_ENTER("ha_tokudb::estimate_rows_upper_bound");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBUG_RETURN(share->rows + HA_TOKUDB_EXTRA_ROWS);
}
@@ -3352,7 +3247,7 @@ cleanup:
}
void ha_tokudb::start_bulk_insert(ha_rows rows, uint flags) {
- TOKUDB_DBUG_ENTER("ha_tokudb::start_bulk_insert %p txn %p", this, transaction);
+ TOKUDB_HANDLER_DBUG_ENTER("txn %p", transaction);
THD* thd = ha_thd();
tokudb_trx_data* trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot);
delay_updating_ai_metadata = true;
@@ -3360,7 +3255,7 @@ void ha_tokudb::start_bulk_insert(ha_rows rows, uint flags) {
abort_loader = false;
rw_rdlock(&share->num_DBs_lock);
- uint curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
num_DBs_locked_in_bulk = true;
lock_count = 0;
@@ -3407,11 +3302,11 @@ void ha_tokudb::start_bulk_insert(ha_rows rows, uint flags) {
}
}
exit_try_table_lock:
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
share->try_table_lock = false;
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
}
- DBUG_VOID_RETURN;
+ TOKUDB_HANDLER_DBUG_VOID_RETURN;
}
//
@@ -3420,15 +3315,15 @@ void ha_tokudb::start_bulk_insert(ha_rows rows, uint flags) {
// this is guaranteed to be called.
//
int ha_tokudb::end_bulk_insert(bool abort) {
- TOKUDB_DBUG_ENTER("ha_tokudb::end_bulk_insert");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
THD* thd = ha_thd();
tokudb_trx_data* trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot);
bool using_loader = (loader != NULL);
if (ai_metadata_update_required) {
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
error = update_max_auto_inc(share->status_block, share->last_auto_increment);
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
if (error) { goto cleanup; }
}
delay_updating_ai_metadata = false;
@@ -3436,6 +3331,12 @@ int ha_tokudb::end_bulk_insert(bool abort) {
loader_error = 0;
if (loader) {
if (!abort_loader && !thd->killed) {
+ DBUG_EXECUTE_IF("tokudb_end_bulk_insert_sleep", {
+ const char *old_proc_info = tokudb_thd_get_proc_info(thd);
+ thd_proc_info(thd, "DBUG sleep");
+ my_sleep(20000000);
+ thd_proc_info(thd, old_proc_info);
+ });
error = loader->close(loader);
loader = NULL;
if (error) {
@@ -3496,15 +3397,13 @@ cleanup:
}
}
trx->stmt_progress.using_loader = false;
- TOKUDB_DBUG_RETURN(error ? error : loader_error);
+ TOKUDB_HANDLER_DBUG_RETURN(error ? error : loader_error);
}
int ha_tokudb::end_bulk_insert() {
return end_bulk_insert( false );
}
-volatile int ha_tokudb_is_index_unique_wait = 0; // debug
-
int ha_tokudb::is_index_unique(bool* is_unique, DB_TXN* txn, DB* db, KEY* key_info) {
int error;
DBC* tmp_cursor1 = NULL;
@@ -3513,6 +3412,7 @@ int ha_tokudb::is_index_unique(bool* is_unique, DB_TXN* txn, DB* db, KEY* key_in
uint64_t cnt = 0;
char status_msg[MAX_ALIAS_NAME + 200]; //buffer of 200 should be a good upper bound.
THD* thd = ha_thd();
+ const char *old_proc_info = tokudb_thd_get_proc_info(thd);
memset(&key1, 0, sizeof(key1));
memset(&key2, 0, sizeof(key2));
memset(&val, 0, sizeof(val));
@@ -3649,7 +3549,7 @@ int ha_tokudb::is_index_unique(bool* is_unique, DB_TXN* txn, DB* db, KEY* key_in
error = 0;
cleanup:
- while (ha_tokudb_is_index_unique_wait) sleep(1); // debug
+ thd_proc_info(thd, old_proc_info);
if (tmp_cursor1) {
tmp_cursor1->c_close(tmp_cursor1);
tmp_cursor1 = NULL;
@@ -3786,9 +3686,9 @@ void ha_tokudb::test_row_packing(uchar* record, DBT* pk_key, DBT* pk_val) {
//
//use for testing the packing of keys
//
- tmp_pk_key_data = (uchar *)my_malloc(pk_key->size, MYF(MY_WME));
+ tmp_pk_key_data = (uchar *)tokudb_my_malloc(pk_key->size, MYF(MY_WME));
assert(tmp_pk_key_data);
- tmp_pk_val_data = (uchar *)my_malloc(pk_val->size, MYF(MY_WME));
+ tmp_pk_val_data = (uchar *)tokudb_my_malloc(pk_val->size, MYF(MY_WME));
assert(tmp_pk_val_data);
memcpy(tmp_pk_key_data, pk_key->data, pk_key->size);
memcpy(tmp_pk_val_data, pk_val->data, pk_val->size);
@@ -3833,7 +3733,7 @@ void ha_tokudb::test_row_packing(uchar* record, DBT* pk_key, DBT* pk_val) {
error = pack_row(&row, (const uchar *) record, keynr);
assert(error == 0);
uchar* tmp_buff = NULL;
- tmp_buff = (uchar *)my_malloc(alloced_rec_buff_length,MYF(MY_WME));
+ tmp_buff = (uchar *)tokudb_my_malloc(alloced_rec_buff_length,MYF(MY_WME));
assert(tmp_buff);
row_desc = (uchar *)share->key_file[keynr]->descriptor->dbt.data;
row_desc += (*(uint32_t *)row_desc);
@@ -3849,7 +3749,7 @@ void ha_tokudb::test_row_packing(uchar* record, DBT* pk_key, DBT* pk_val) {
assert(tmp_num_bytes == row.size);
cmp = memcmp(tmp_buff,rec_buff,tmp_num_bytes);
assert(cmp == 0);
- my_free(tmp_buff);
+ tokudb_my_free(tmp_buff);
}
}
@@ -3861,8 +3761,8 @@ void ha_tokudb::test_row_packing(uchar* record, DBT* pk_key, DBT* pk_val) {
cmp = memcmp(pk_val->data, tmp_pk_val_data, pk_val->size);
assert( cmp == 0);
- my_free(tmp_pk_key_data);
- my_free(tmp_pk_val_data);
+ tokudb_my_free(tmp_pk_key_data);
+ tokudb_my_free(tmp_pk_val_data);
}
//
@@ -3875,10 +3775,10 @@ void ha_tokudb::set_main_dict_put_flags(
)
{
uint32_t old_prelock_flags = 0;
- uint curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
bool in_hot_index = share->num_DBs > curr_num_DBs;
bool using_ignore_flag_opt = do_ignore_flag_optimization(
- thd, table, share->replace_into_fast);
+ thd, table, share->replace_into_fast && !using_ignore_no_key);
//
// optimization for "REPLACE INTO..." (and "INSERT IGNORE") command
// if the command is "REPLACE INTO" and the only table
@@ -3919,7 +3819,7 @@ int ha_tokudb::insert_row_to_main_dictionary(uchar* record, DBT* pk_key, DBT* pk
int error = 0;
uint32_t put_flags = mult_put_flags[primary_key];
THD *thd = ha_thd();
- uint curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
assert(curr_num_DBs == 1);
@@ -4005,8 +3905,6 @@ out:
return error;
}
-volatile int ha_tokudb_write_row_wait = 0; // debug
-
//
// Stores a row in the table, called when handling an INSERT query
// Parameters:
@@ -4016,8 +3914,7 @@ volatile int ha_tokudb_write_row_wait = 0; // debug
// error otherwise
//
int ha_tokudb::write_row(uchar * record) {
- TOKUDB_DBUG_ENTER("ha_tokudb::write_row");
- while (ha_tokudb_write_row_wait) sleep(1); // debug
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBT row, prim_key;
int error;
@@ -4052,7 +3949,7 @@ int ha_tokudb::write_row(uchar * record) {
// of the auto inc field.
//
if (share->has_auto_inc && record == table->record[0]) {
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
ulonglong curr_auto_inc = retrieve_auto_increment(
table->field[share->ai_field_index]->key_type(),
field_offset(table->field[share->ai_field_index], table),
@@ -4067,7 +3964,7 @@ int ha_tokudb::write_row(uchar * record) {
update_max_auto_inc(share->status_block, share->last_auto_increment);
}
}
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
}
//
@@ -4102,7 +3999,7 @@ int ha_tokudb::write_row(uchar * record) {
goto cleanup;
}
- create_sub_trans = (using_ignore && !(do_ignore_flag_optimization(thd,table,share->replace_into_fast)));
+ create_sub_trans = (using_ignore && !(do_ignore_flag_optimization(thd,table,share->replace_into_fast && !using_ignore_no_key)));
if (create_sub_trans) {
error = txn_begin(db_env, transaction, &sub_trans, DB_INHERIT_ISOLATION, thd);
if (error) {
@@ -4129,15 +4026,8 @@ int ha_tokudb::write_row(uchar * record) {
// for #4633
// if we have a duplicate key error, let's check the primary key to see
// if there is a duplicate there. If so, set last_dup_key to the pk
- if (error == DB_KEYEXIST && !test(hidden_primary_key) && last_dup_key != primary_key) {
- int r = share->file->getf_set(
- share->file,
- txn,
- 0,
- &prim_key,
- smart_dbt_do_nothing,
- NULL
- );
+ if (error == DB_KEYEXIST && !tokudb_test(hidden_primary_key) && last_dup_key != primary_key) {
+ int r = share->file->getf_set(share->file, txn, DB_SERIALIZABLE, &prim_key, smart_dbt_do_nothing, NULL);
if (r == 0) {
// if we get no error, that means the row
// was found and this is a duplicate key,
@@ -4189,7 +4079,7 @@ cleanup:
commit_txn(sub_trans, DB_TXN_NOSYNC);
}
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
/* Compare if a key in a row has changed */
@@ -4215,7 +4105,7 @@ bool ha_tokudb::key_changed(uint keynr, const uchar * old_row, const uchar * new
// error otherwise
//
int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
- TOKUDB_DBUG_ENTER("update_row");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBT prim_key, old_prim_key, prim_row, old_prim_row;
int error;
bool has_null;
@@ -4245,7 +4135,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
// of the auto inc field.
//
if (share->has_auto_inc && new_row == table->record[0]) {
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
ulonglong curr_auto_inc = retrieve_auto_increment(
table->field[share->ai_field_index]->key_type(),
field_offset(table->field[share->ai_field_index], table),
@@ -4257,7 +4147,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
share->last_auto_increment = curr_auto_inc;
}
}
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
}
//
@@ -4372,7 +4262,7 @@ cleanup:
commit_txn(sub_trans, DB_TXN_NOSYNC);
}
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -4384,7 +4274,7 @@ cleanup:
// error otherwise
//
int ha_tokudb::delete_row(const uchar * record) {
- TOKUDB_DBUG_ENTER("ha_tokudb::delete_row");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = ENOSYS;
DBT row, prim_key;
bool has_null;
@@ -4433,7 +4323,7 @@ int ha_tokudb::delete_row(const uchar * record) {
}
cleanup:
rw_unlock(&share->num_DBs_lock);
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -4470,7 +4360,7 @@ void ha_tokudb::set_query_columns(uint keynr) {
//
// if fixed field length
//
- if (share->kc_info.field_lengths[i] != 0) {
+ if (is_fixed_field(&share->kc_info, i)) {
//
// save the offset into the list
//
@@ -4480,7 +4370,7 @@ void ha_tokudb::set_query_columns(uint keynr) {
//
// varchar or varbinary
//
- else if (share->kc_info.length_bytes[i] != 0) {
+ else if (is_variable_field(&share->kc_info, i)) {
var_cols_for_query[curr_var_col_index] = i;
curr_var_col_index++;
}
@@ -4514,6 +4404,7 @@ void ha_tokudb::column_bitmaps_signal() {
// error otherwise
//
int ha_tokudb::prepare_index_scan() {
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
HANDLE_INVALID_CURSOR();
error = prelock_range(NULL, NULL);
@@ -4522,7 +4413,7 @@ int ha_tokudb::prepare_index_scan() {
range_lock_grabbed = true;
error = 0;
cleanup:
- return error;
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -4534,6 +4425,7 @@ cleanup:
// error otherwise
//
int ha_tokudb::prepare_index_key_scan(const uchar * key, uint key_len) {
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
DBT start_key, end_key;
THD* thd = ha_thd();
@@ -4562,9 +4454,7 @@ int ha_tokudb::prepare_index_key_scan(const uchar * key, uint key_len) {
error = 0;
cleanup:
if (error) {
- if (error == DB_LOCK_NOTGRANTED) {
- error = HA_ERR_LOCK_WAIT_TIMEOUT;
- }
+ error = map_to_handler_error(error);
last_cursor_error = error;
//
// cursor should be initialized here, but in case it is not,
@@ -4574,9 +4464,10 @@ cleanup:
int r = cursor->c_close(cursor);
assert(r==0);
cursor = NULL;
+ remove_from_trx_handler_list();
}
}
- return error;
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
void ha_tokudb::invalidate_bulk_fetch() {
@@ -4591,8 +4482,6 @@ void ha_tokudb::invalidate_icp() {
icp_went_out_of_range = false;
}
-volatile int ha_tokudb_index_init_wait = 0; // debug
-
//
// Initializes local cursor on DB with index keynr
// Parameters:
@@ -4603,8 +4492,7 @@ volatile int ha_tokudb_index_init_wait = 0; // debug
// error otherwise
//
int ha_tokudb::index_init(uint keynr, bool sorted) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_init %p %d", this, keynr);
- while (ha_tokudb_index_init_wait) sleep(1); // debug
+ TOKUDB_HANDLER_DBUG_ENTER("%d", keynr);
int error;
THD* thd = ha_thd();
@@ -4618,6 +4506,7 @@ int ha_tokudb::index_init(uint keynr, bool sorted) {
DBUG_PRINT("note", ("Closing active cursor"));
int r = cursor->c_close(cursor);
assert(r==0);
+ remove_from_trx_handler_list();
}
active_index = keynr;
@@ -4652,12 +4541,15 @@ int ha_tokudb::index_init(uint keynr, bool sorted) {
my_error(ER_LOCK_WAIT_TIMEOUT, MYF(0));
}
table->status = STATUS_NOT_FOUND;
+ error = map_to_handler_error(error);
last_cursor_error = error;
cursor = NULL; // Safety
goto exit;
}
memset((void *) &last_key, 0, sizeof(last_key));
+ add_to_trx_handler_list();
+
if (thd_sql_command(thd) == SQLCOM_SELECT) {
set_query_columns(keynr);
unpack_entire_row = false;
@@ -4669,20 +4561,21 @@ int ha_tokudb::index_init(uint keynr, bool sorted) {
doing_bulk_fetch = false;
error = 0;
exit:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
// closes the local cursor
//
int ha_tokudb::index_end() {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_end %p", this);
+ TOKUDB_HANDLER_DBUG_ENTER("");
range_lock_grabbed = false;
if (cursor) {
DBUG_PRINT("enter", ("table: '%s'", table_share->table_name.str));
int r = cursor->c_close(cursor);
assert(r==0);
cursor = NULL;
+ remove_from_trx_handler_list();
last_cursor_error = 0;
}
active_index = tokudb_active_index = MAX_KEY;
@@ -4701,23 +4594,21 @@ int ha_tokudb::index_end() {
doing_bulk_fetch = false;
close_dsmrr();
- TOKUDB_DBUG_RETURN(0);
+ TOKUDB_HANDLER_DBUG_RETURN(0);
}
int ha_tokudb::handle_cursor_error(int error, int err_to_return, uint keynr) {
- TOKUDB_DBUG_ENTER("ha_tokudb::handle_cursor_error");
+ TOKUDB_HANDLER_DBUG_ENTER("");
if (error) {
- if (error == DB_LOCK_NOTGRANTED) {
- error = HA_ERR_LOCK_WAIT_TIMEOUT;
- }
+ error = map_to_handler_error(error);
last_cursor_error = error;
table->status = STATUS_NOT_FOUND;
if (error == DB_NOTFOUND) {
error = err_to_return;
}
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -4765,7 +4656,7 @@ int ha_tokudb::read_row_callback (uchar * buf, uint keynr, DBT const *row, DBT c
// [in] found_key - key used to retrieve the row
//
void ha_tokudb::read_key_only(uchar * buf, uint keynr, DBT const *found_key) {
- TOKUDB_DBUG_ENTER("ha_tokudb::read_key_only");
+ TOKUDB_HANDLER_DBUG_ENTER("");
table->status = 0;
//
// only case when we do not unpack the key is if we are dealing with the main dictionary
@@ -4774,7 +4665,7 @@ void ha_tokudb::read_key_only(uchar * buf, uint keynr, DBT const *found_key) {
if (!(hidden_primary_key && keynr == primary_key)) {
unpack_key(buf, found_key, keynr);
}
- DBUG_VOID_RETURN;
+ TOKUDB_HANDLER_DBUG_VOID_RETURN;
}
//
@@ -4788,7 +4679,7 @@ void ha_tokudb::read_key_only(uchar * buf, uint keynr, DBT const *found_key) {
// [in] found_key - key used to retrieve the row
//
int ha_tokudb::read_primary_key(uchar * buf, uint keynr, DBT const *row, DBT const *found_key) {
- TOKUDB_DBUG_ENTER("ha_tokudb::read_primary_key");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
table->status = 0;
//
@@ -4822,7 +4713,7 @@ int ha_tokudb::read_primary_key(uchar * buf, uint keynr, DBT const *row, DBT con
if (found_key) { DBUG_DUMP("read row key", (uchar *) found_key->data, found_key->size); }
error = 0;
exit:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -4834,7 +4725,7 @@ exit:
// 0 on success, error otherwise
//
int ha_tokudb::read_full_row(uchar * buf) {
- TOKUDB_DBUG_ENTER("ha_tokudb::read_full_row");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
struct smart_dbt_info info;
info.ha = this;
@@ -4858,10 +4749,10 @@ int ha_tokudb::read_full_row(uchar * buf) {
error = HA_ERR_LOCK_WAIT_TIMEOUT;
}
table->status = STATUS_NOT_FOUND;
- TOKUDB_DBUG_RETURN(error == DB_NOTFOUND ? HA_ERR_CRASHED : error);
+ TOKUDB_HANDLER_DBUG_RETURN(error == DB_NOTFOUND ? HA_ERR_CRASHED : error);
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -4877,7 +4768,7 @@ int ha_tokudb::read_full_row(uchar * buf) {
// error otherwise
//
int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_next_same");
+ TOKUDB_HANDLER_DBUG_ENTER("");
ha_statistic_increment(&SSV::ha_read_next_count);
DBT curr_key;
@@ -4887,7 +4778,7 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
// create the key that will be used to compare with what is found
// in order to figure out if we should return an error
pack_key(&curr_key, tokudb_active_index, key_buff2, key, keylen, COL_ZERO);
- int error = get_next(buf, 1, &curr_key);
+ int error = get_next(buf, 1, &curr_key, key_read);
if (error) {
goto cleanup;
}
@@ -4900,8 +4791,9 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
error = HA_ERR_END_OF_FILE;
}
-cleanup:
- TOKUDB_DBUG_RETURN(error);
+cleanup:
+ error = handle_cursor_error(error, HA_ERR_END_OF_FILE, tokudb_active_index);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -4923,7 +4815,7 @@ cleanup:
// error otherwise
//
int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_rkey_function find_flag) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_read %p find %d", this, find_flag);
+ TOKUDB_HANDLER_DBUG_ENTER("find %d", find_flag);
invalidate_bulk_fetch();
// TOKUDB_DBUG_DUMP("key=", key, key_len);
DBT row;
@@ -4954,7 +4846,7 @@ int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_
ir_info.orig_key = &lookup_key;
error = cursor->c_getf_set_range(cursor, flags,
- &lookup_key, SMART_DBT_IR_CALLBACK, &ir_info);
+ &lookup_key, SMART_DBT_IR_CALLBACK(key_read), &ir_info);
if (ir_info.cmp) {
error = DB_NOTFOUND;
}
@@ -4962,17 +4854,17 @@ int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_
case HA_READ_AFTER_KEY: /* Find next rec. after key-record */
pack_key(&lookup_key, tokudb_active_index, key_buff3, key, key_len, COL_POS_INF);
error = cursor->c_getf_set_range(cursor, flags,
- &lookup_key, SMART_DBT_CALLBACK, &info);
+ &lookup_key, SMART_DBT_CALLBACK(key_read), &info);
break;
case HA_READ_BEFORE_KEY: /* Find next rec. before key-record */
pack_key(&lookup_key, tokudb_active_index, key_buff3, key, key_len, COL_NEG_INF);
error = cursor->c_getf_set_range_reverse(cursor, flags,
- &lookup_key, SMART_DBT_CALLBACK, &info);
+ &lookup_key, SMART_DBT_CALLBACK(key_read), &info);
break;
case HA_READ_KEY_OR_NEXT: /* Record or next record */
pack_key(&lookup_key, tokudb_active_index, key_buff3, key, key_len, COL_NEG_INF);
error = cursor->c_getf_set_range(cursor, flags,
- &lookup_key, SMART_DBT_CALLBACK, &info);
+ &lookup_key, SMART_DBT_CALLBACK(key_read), &info);
break;
//
// This case does not seem to ever be used, it is ok for it to be slow
@@ -4981,29 +4873,29 @@ int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_
pack_key(&lookup_key, tokudb_active_index, key_buff3, key, key_len, COL_NEG_INF);
ir_info.orig_key = &lookup_key;
error = cursor->c_getf_set_range(cursor, flags,
- &lookup_key, SMART_DBT_IR_CALLBACK, &ir_info);
+ &lookup_key, SMART_DBT_IR_CALLBACK(key_read), &ir_info);
if (error == DB_NOTFOUND) {
- error = cursor->c_getf_last(cursor, flags, SMART_DBT_CALLBACK, &info);
+ error = cursor->c_getf_last(cursor, flags, SMART_DBT_CALLBACK(key_read), &info);
}
else if (ir_info.cmp) {
- error = cursor->c_getf_prev(cursor, flags, SMART_DBT_CALLBACK, &info);
+ error = cursor->c_getf_prev(cursor, flags, SMART_DBT_CALLBACK(key_read), &info);
}
break;
case HA_READ_PREFIX_LAST_OR_PREV: /* Last or prev key with the same prefix */
pack_key(&lookup_key, tokudb_active_index, key_buff3, key, key_len, COL_POS_INF);
error = cursor->c_getf_set_range_reverse(cursor, flags,
- &lookup_key, SMART_DBT_CALLBACK, &info);
+ &lookup_key, SMART_DBT_CALLBACK(key_read), &info);
break;
case HA_READ_PREFIX_LAST:
pack_key(&lookup_key, tokudb_active_index, key_buff3, key, key_len, COL_POS_INF);
ir_info.orig_key = &lookup_key;
- error = cursor->c_getf_set_range_reverse(cursor, flags, &lookup_key, SMART_DBT_IR_CALLBACK, &ir_info);
+ error = cursor->c_getf_set_range_reverse(cursor, flags, &lookup_key, SMART_DBT_IR_CALLBACK(key_read), &ir_info);
if (ir_info.cmp) {
error = DB_NOTFOUND;
}
break;
default:
- TOKUDB_TRACE("unsupported:%d\n", find_flag);
+ TOKUDB_HANDLER_TRACE("unsupported:%d", find_flag);
error = HA_ERR_UNSUPPORTED;
break;
}
@@ -5013,17 +4905,17 @@ int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_
}
if (error && (tokudb_debug & TOKUDB_DEBUG_ERROR)) {
- TOKUDB_TRACE("error:%d:%d\n", error, find_flag);
+ TOKUDB_HANDLER_TRACE("error:%d:%d", error, find_flag);
}
trx->stmt_progress.queried++;
track_progress(thd);
cleanup:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
-int ha_tokudb::read_data_from_range_query_buff(uchar* buf, bool need_val) {
+int ha_tokudb::read_data_from_range_query_buff(uchar* buf, bool need_val, bool do_key_read) {
// buffer has the next row, get it from there
int error;
uchar* curr_pos = range_query_buff+curr_range_query_buff_offset;
@@ -5040,7 +4932,7 @@ int ha_tokudb::read_data_from_range_query_buff(uchar* buf, bool need_val) {
curr_key.size = key_size;
// if this is a covering index, this is all we need
- if (this->key_read) {
+ if (do_key_read) {
assert(!need_val);
extract_hidden_primary_key(tokudb_active_index, &curr_key);
read_key_only(buf, tokudb_active_index, &curr_key);
@@ -5232,7 +5124,7 @@ int ha_tokudb::fill_range_query_buf(
size_needed = sizeof(uint32_t) + key->size;
}
if (size_remaining < size_needed) {
- range_query_buff = (uchar *)my_realloc(
+ range_query_buff = (uchar *)tokudb_my_realloc(
(void *)range_query_buff,
bytes_used_in_range_query_buff+size_needed,
MYF(MY_WME)
@@ -5400,7 +5292,7 @@ cleanup:
return error;
}
-int ha_tokudb::get_next(uchar* buf, int direction, DBT* key_to_compare) {
+int ha_tokudb::get_next(uchar* buf, int direction, DBT* key_to_compare, bool do_key_read) {
int error = 0;
uint32_t flags = SET_PRELOCK_FLAG(0);
THD* thd = ha_thd();
@@ -5411,13 +5303,13 @@ int ha_tokudb::get_next(uchar* buf, int direction, DBT* key_to_compare) {
// we need to read the val of what we retrieve if
// we do NOT have a covering index AND we are using a clustering secondary
// key
- need_val = (this->key_read == 0) &&
+ need_val = (do_key_read == 0) &&
(tokudb_active_index == primary_key ||
key_is_clustering(&table->key_info[tokudb_active_index])
);
if ((bytes_used_in_range_query_buff - curr_range_query_buff_offset) > 0) {
- error = read_data_from_range_query_buff(buf, need_val);
+ error = read_data_from_range_query_buff(buf, need_val, do_key_read);
}
else if (icp_went_out_of_range) {
icp_went_out_of_range = false;
@@ -5467,7 +5359,7 @@ int ha_tokudb::get_next(uchar* buf, int direction, DBT* key_to_compare) {
//
// now that range_query_buff is filled, read an element
//
- error = read_data_from_range_query_buff(buf, need_val);
+ error = read_data_from_range_query_buff(buf, need_val, do_key_read);
}
else {
struct smart_dbt_info info;
@@ -5476,9 +5368,9 @@ int ha_tokudb::get_next(uchar* buf, int direction, DBT* key_to_compare) {
info.keynr = tokudb_active_index;
if (direction > 0) {
- error = cursor->c_getf_next(cursor, flags, SMART_DBT_CALLBACK, &info);
+ error = cursor->c_getf_next(cursor, flags, SMART_DBT_CALLBACK(do_key_read), &info);
} else {
- error = cursor->c_getf_prev(cursor, flags, SMART_DBT_CALLBACK, &info);
+ error = cursor->c_getf_prev(cursor, flags, SMART_DBT_CALLBACK(do_key_read), &info);
}
error = handle_cursor_error(error, HA_ERR_END_OF_FILE, tokudb_active_index);
}
@@ -5493,7 +5385,7 @@ int ha_tokudb::get_next(uchar* buf, int direction, DBT* key_to_compare) {
// main table.
//
- if (!error && !key_read && (tokudb_active_index != primary_key) && !key_is_clustering(&table->key_info[tokudb_active_index])) {
+ if (!error && !do_key_read && (tokudb_active_index != primary_key) && !key_is_clustering(&table->key_info[tokudb_active_index])) {
error = read_full_row(buf);
}
trx->stmt_progress.queried++;
@@ -5513,10 +5405,10 @@ cleanup:
// error otherwise
//
int ha_tokudb::index_next(uchar * buf) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_next");
+ TOKUDB_HANDLER_DBUG_ENTER("");
ha_statistic_increment(&SSV::ha_read_next_count);
- int error = get_next(buf, 1, NULL);
- TOKUDB_DBUG_RETURN(error);
+ int error = get_next(buf, 1, NULL, key_read);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -5535,10 +5427,10 @@ int ha_tokudb::index_read_last(uchar * buf, const uchar * key, uint key_len) {
// error otherwise
//
int ha_tokudb::index_prev(uchar * buf) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_prev");
+ TOKUDB_HANDLER_DBUG_ENTER("");
ha_statistic_increment(&SSV::ha_read_prev_count);
- int error = get_next(buf, -1, NULL);
- TOKUDB_DBUG_RETURN(error);
+ int error = get_next(buf, -1, NULL, key_read);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -5551,7 +5443,7 @@ int ha_tokudb::index_prev(uchar * buf) {
// error otherwise
//
int ha_tokudb::index_first(uchar * buf) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_first");
+ TOKUDB_HANDLER_DBUG_ENTER("");
invalidate_bulk_fetch();
int error = 0;
struct smart_dbt_info info;
@@ -5567,7 +5459,7 @@ int ha_tokudb::index_first(uchar * buf) {
info.keynr = tokudb_active_index;
error = cursor->c_getf_first(cursor, flags,
- SMART_DBT_CALLBACK, &info);
+ SMART_DBT_CALLBACK(key_read), &info);
error = handle_cursor_error(error,HA_ERR_END_OF_FILE,tokudb_active_index);
//
@@ -5581,7 +5473,7 @@ int ha_tokudb::index_first(uchar * buf) {
track_progress(thd);
cleanup:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -5594,7 +5486,7 @@ cleanup:
// error otherwise
//
int ha_tokudb::index_last(uchar * buf) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_last");
+ TOKUDB_HANDLER_DBUG_ENTER("");
invalidate_bulk_fetch();
int error = 0;
struct smart_dbt_info info;
@@ -5610,7 +5502,7 @@ int ha_tokudb::index_last(uchar * buf) {
info.keynr = tokudb_active_index;
error = cursor->c_getf_last(cursor, flags,
- SMART_DBT_CALLBACK, &info);
+ SMART_DBT_CALLBACK(key_read), &info);
error = handle_cursor_error(error,HA_ERR_END_OF_FILE,tokudb_active_index);
//
// still need to get entire contents of the row if operation done on
@@ -5625,7 +5517,7 @@ int ha_tokudb::index_last(uchar * buf) {
}
track_progress(thd);
cleanup:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -5637,7 +5529,7 @@ cleanup:
// error otherwise
//
int ha_tokudb::rnd_init(bool scan) {
- TOKUDB_DBUG_ENTER("ha_tokudb::rnd_init");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
range_lock_grabbed = false;
error = index_init(MAX_KEY, 0);
@@ -5646,30 +5538,30 @@ int ha_tokudb::rnd_init(bool scan) {
if (scan) {
error = prelock_range(NULL, NULL);
if (error) { goto cleanup; }
+
+ // only want to set range_lock_grabbed to true after index_init
+ // successfully executed for two reasons:
+ // 1) index_init will reset it to false anyway
+ // 2) if it fails, we don't want prelocking on,
+ range_lock_grabbed = true;
}
- //
- // only want to set range_lock_grabbed to true after index_init
- // successfully executed for two reasons:
- // 1) index_init will reset it to false anyway
- // 2) if it fails, we don't want prelocking on,
- //
- if (scan) { range_lock_grabbed = true; }
+
error = 0;
cleanup:
if (error) {
index_end();
last_cursor_error = error;
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
// End a scan of the table
//
int ha_tokudb::rnd_end() {
- TOKUDB_DBUG_ENTER("ha_tokudb::rnd_end");
+ TOKUDB_HANDLER_DBUG_ENTER("");
range_lock_grabbed = false;
- TOKUDB_DBUG_RETURN(index_end());
+ TOKUDB_HANDLER_DBUG_RETURN(index_end());
}
@@ -5683,10 +5575,10 @@ int ha_tokudb::rnd_end() {
// error otherwise
//
int ha_tokudb::rnd_next(uchar * buf) {
- TOKUDB_DBUG_ENTER("ha_tokudb::ha_tokudb::rnd_next");
+ TOKUDB_HANDLER_DBUG_ENTER("");
ha_statistic_increment(&SSV::ha_read_rnd_next_count);
- int error = get_next(buf, 1, NULL);
- TOKUDB_DBUG_RETURN(error);
+ int error = get_next(buf, 1, NULL, false);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -5738,7 +5630,7 @@ void ha_tokudb::track_progress(THD* thd) {
DBT *ha_tokudb::get_pos(DBT * to, uchar * pos) {
- TOKUDB_DBUG_ENTER("ha_tokudb::get_pos");
+ TOKUDB_HANDLER_DBUG_ENTER("");
/* We don't need to set app_data here */
memset((void *) to, 0, sizeof(*to));
to->data = pos + sizeof(uint32_t);
@@ -5755,7 +5647,7 @@ DBT *ha_tokudb::get_pos(DBT * to, uchar * pos) {
// error otherwise
//
int ha_tokudb::rnd_pos(uchar * buf, uchar * pos) {
- TOKUDB_DBUG_ENTER("ha_tokudb::rnd_pos");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBT db_pos;
int error = 0;
struct smart_dbt_info info;
@@ -5780,11 +5672,11 @@ int ha_tokudb::rnd_pos(uchar * buf, uchar * pos) {
}
cleanup:
unpack_entire_row = old_unpack_entire_row;
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
int ha_tokudb::prelock_range( const key_range *start_key, const key_range *end_key) {
- TOKUDB_DBUG_ENTER("ha_tokudb::prelock_range");
+ TOKUDB_HANDLER_DBUG_ENTER("");
THD* thd = ha_thd();
int error = 0;
@@ -5834,7 +5726,8 @@ int ha_tokudb::prelock_range( const key_range *start_key, const key_range *end_k
true,
(cursor_flags & DB_SERIALIZABLE) != 0 ? DB_NOTFOUND : 0
);
- if (error){
+ if (error) {
+ error = map_to_handler_error(error);
last_cursor_error = error;
//
// cursor should be initialized here, but in case it is not, we still check
@@ -5843,6 +5736,7 @@ int ha_tokudb::prelock_range( const key_range *start_key, const key_range *end_k
int r = cursor->c_close(cursor);
assert(r==0);
cursor = NULL;
+ remove_from_trx_handler_list();
}
goto cleanup;
}
@@ -5856,7 +5750,7 @@ int ha_tokudb::prelock_range( const key_range *start_key, const key_range *end_k
rows_fetched_using_bulk_fetch = 0;
cleanup:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -5866,11 +5760,12 @@ cleanup:
// Forward scans use read_range_first()/read_range_next().
//
int ha_tokudb::prepare_range_scan( const key_range *start_key, const key_range *end_key) {
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = prelock_range(start_key, end_key);
if (!error) {
range_lock_grabbed = true;
}
- return error;
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
int ha_tokudb::read_range_first(
@@ -5879,24 +5774,25 @@ int ha_tokudb::read_range_first(
bool eq_range,
bool sorted)
{
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = prelock_range(start_key, end_key);
if (error) { goto cleanup; }
range_lock_grabbed = true;
error = handler::read_range_first(start_key, end_key, eq_range, sorted);
cleanup:
- return error;
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
int ha_tokudb::read_range_next()
{
- TOKUDB_DBUG_ENTER("ha_tokudb::read_range_next");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error;
error = handler::read_range_next();
if (error) {
range_lock_grabbed = false;
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -5923,7 +5819,7 @@ int ha_tokudb::read_range_next()
nothing
*/
void ha_tokudb::position(const uchar * record) {
- TOKUDB_DBUG_ENTER("ha_tokudb::position");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBT key;
if (hidden_primary_key) {
DBUG_ASSERT(ref_length == (TOKUDB_HIDDEN_PRIMARY_KEY_LENGTH + sizeof(uint32_t)));
@@ -5941,7 +5837,7 @@ void ha_tokudb::position(const uchar * record) {
//
memcpy(ref, &key.size, sizeof(uint32_t));
}
- DBUG_VOID_RETURN;
+ TOKUDB_HANDLER_DBUG_VOID_RETURN;
}
//
@@ -5951,10 +5847,10 @@ void ha_tokudb::position(const uchar * record) {
// 0, always success
//
int ha_tokudb::info(uint flag) {
- TOKUDB_DBUG_ENTER("ha_tokudb::info %p %d %lld", this, flag, (long long) share->rows);
+ TOKUDB_HANDLER_DBUG_ENTER("%d %lld", flag, (long long) share->rows);
int error;
DB_TXN* txn = NULL;
- uint curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
DB_BTREE_STAT64 dict_stats;
for (uint i=0; i < table->s->keys; i++)
@@ -6061,20 +5957,13 @@ int ha_tokudb::info(uint flag) {
}
if ((flag & HA_STATUS_CONST)) {
stats.max_data_file_length= 9223372036854775807ULL;
- uint64_t rec_per_key[table_share->key_parts];
- error = tokudb::get_card_from_status(share->status_block, txn, table_share->key_parts, rec_per_key);
- if (error == 0) {
- tokudb::set_card_in_key_info(table, table_share->key_parts, rec_per_key);
- } else {
- for (uint i = 0; i < table_share->key_parts; i++)
- rec_per_key[i] = 0;
- tokudb::set_card_in_key_info(table, table_share->key_parts, rec_per_key);
- }
}
+
/* Don't return key if we got an error for the internal primary key */
if (flag & HA_STATUS_ERRKEY && last_dup_key < table_share->keys) {
errkey = last_dup_key;
}
+
if (flag & HA_STATUS_AUTO && table->found_next_number_field) {
THD *thd= table->in_use;
struct system_variables *variables= &thd->variables;
@@ -6086,43 +5975,50 @@ cleanup:
commit_txn(txn, DB_TXN_NOSYNC);
txn = NULL;
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
// Per InnoDB: Tells something additional to the handler about how to do things.
//
int ha_tokudb::extra(enum ha_extra_function operation) {
- TOKUDB_DBUG_ENTER("extra %p %d", this, operation);
+ TOKUDB_HANDLER_DBUG_ENTER("%d", operation);
switch (operation) {
case HA_EXTRA_RESET_STATE:
reset();
break;
case HA_EXTRA_KEYREAD:
- key_read = 1; // Query satisfied with key
+ key_read = true; // Query satisfied with key
break;
case HA_EXTRA_NO_KEYREAD:
- key_read = 0;
+ key_read = false;
break;
case HA_EXTRA_IGNORE_DUP_KEY:
- using_ignore = 1;
+ using_ignore = true;
break;
case HA_EXTRA_NO_IGNORE_DUP_KEY:
- using_ignore = 0;
+ using_ignore = false;
+ break;
+ case HA_EXTRA_IGNORE_NO_KEY:
+ using_ignore_no_key = true;
+ break;
+ case HA_EXTRA_NO_IGNORE_NO_KEY:
+ using_ignore_no_key = false;
break;
default:
break;
}
- TOKUDB_DBUG_RETURN(0);
+ TOKUDB_HANDLER_DBUG_RETURN(0);
}
int ha_tokudb::reset(void) {
- TOKUDB_DBUG_ENTER("ha_tokudb::reset");
- key_read = 0;
- using_ignore = 0;
+ TOKUDB_HANDLER_DBUG_ENTER("");
+ key_read = false;
+ using_ignore = false;
+ using_ignore_no_key = false;
reset_dsmrr();
invalidate_icp();
- TOKUDB_DBUG_RETURN(0);
+ TOKUDB_HANDLER_DBUG_RETURN(0);
}
@@ -6145,17 +6041,15 @@ int ha_tokudb::acquire_table_lock (DB_TXN* trans, TABLE_LOCK_TYPE lt) {
goto cleanup;
}
else if (lt == lock_write) {
- if (tokudb_debug & TOKUDB_DEBUG_LOCK)
- TOKUDB_TRACE("%s\n", __FUNCTION__);
for (uint i = 0; i < curr_num_DBs; i++) {
DB* db = share->key_file[i];
error = db->pre_acquire_table_lock(db, trans);
if (error == EINVAL)
- TOKUDB_TRACE("%s %d db=%p trans=%p\n", __FUNCTION__, i, db, trans);
+ TOKUDB_HANDLER_TRACE("%d db=%p trans=%p", i, db, trans);
if (error) break;
}
if (tokudb_debug & TOKUDB_DEBUG_LOCK)
- TOKUDB_TRACE("%s error=%d\n", __FUNCTION__, error);
+ TOKUDB_HANDLER_TRACE("error=%d", error);
if (error) goto cleanup;
}
else {
@@ -6187,12 +6081,17 @@ int ha_tokudb::create_txn(THD* thd, tokudb_trx_data* trx) {
(thd_sql_command(thd) != SQLCOM_ALTER_TABLE)) {
/* QQQ We have to start a master transaction */
// DBUG_PRINT("trans", ("starting transaction all "));
- if ((error = txn_begin(db_env, NULL, &trx->all, toku_iso_to_txn_flag(toku_iso_level), thd))) {
- trx->tokudb_lock_count--; // We didn't get the lock
+ uint32_t txn_begin_flags = toku_iso_to_txn_flag(toku_iso_level);
+#if 50614 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
+ if (thd_tx_is_read_only(thd)) {
+ txn_begin_flags |= DB_TXN_READ_ONLY;
+ }
+#endif
+ if ((error = txn_begin(db_env, NULL, &trx->all, txn_begin_flags, thd))) {
goto cleanup;
}
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("just created master %p\n", trx->all);
+ TOKUDB_HANDLER_TRACE("trx %p just created master %p", trx, trx->all);
}
trx->sp_level = trx->all;
trans_register_ha(thd, true, tokudb_hton);
@@ -6200,7 +6099,7 @@ int ha_tokudb::create_txn(THD* thd, tokudb_trx_data* trx) {
DBUG_PRINT("trans", ("starting transaction stmt"));
if (trx->stmt) {
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("warning:stmt=%p\n", trx->stmt);
+ TOKUDB_HANDLER_TRACE("warning:stmt=%p", trx->stmt);
}
}
uint32_t txn_begin_flags;
@@ -6225,12 +6124,11 @@ int ha_tokudb::create_txn(THD* thd, tokudb_trx_data* trx) {
}
if ((error = txn_begin(db_env, trx->sp_level, &trx->stmt, txn_begin_flags, thd))) {
/* We leave the possible master transaction open */
- trx->tokudb_lock_count--; // We didn't get the lock
goto cleanup;
}
trx->sub_sp_level = trx->stmt;
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("just created stmt %p %p\n", trx->sp_level, trx->stmt);
+ TOKUDB_HANDLER_TRACE("trx %p just created stmt %p %p", trx, trx->sp_level, trx->stmt);
}
reset_stmt_progress(&trx->stmt_progress);
trans_register_ha(thd, false, tokudb_hton);
@@ -6238,6 +6136,12 @@ cleanup:
return error;
}
+static const char *lock_type_str(int lock_type) {
+ if (lock_type == F_RDLCK) return "F_RDLCK";
+ if (lock_type == F_WRLCK) return "F_WRLCK";
+ if (lock_type == F_UNLCK) return "F_UNLCK";
+ return "?";
+}
/*
As MySQL will execute an external lock for every new table it uses
@@ -6256,9 +6160,13 @@ cleanup:
// error otherwise
//
int ha_tokudb::external_lock(THD * thd, int lock_type) {
- TOKUDB_DBUG_ENTER("ha_tokudb::external_lock cmd=%d %d", thd_sql_command(thd), lock_type);
- if (tokudb_debug & TOKUDB_DEBUG_LOCK)
- TOKUDB_TRACE("%s cmd=%d %d\n", __FUNCTION__, thd_sql_command(thd), lock_type);
+ TOKUDB_HANDLER_DBUG_ENTER("cmd %d lock %d %s %s", thd_sql_command(thd), lock_type, lock_type_str(lock_type), share->table_name);
+ if (!(tokudb_debug & TOKUDB_DEBUG_ENTER) && (tokudb_debug & TOKUDB_DEBUG_LOCK)) {
+ TOKUDB_HANDLER_TRACE("cmd %d lock %d %s %s", thd_sql_command(thd), lock_type, lock_type_str(lock_type), share->table_name);
+ }
+ if (tokudb_debug & TOKUDB_DEBUG_LOCK) {
+ TOKUDB_HANDLER_TRACE("q %s", thd->query());
+ }
int error = 0;
tokudb_trx_data *trx = NULL;
@@ -6267,28 +6175,37 @@ int ha_tokudb::external_lock(THD * thd, int lock_type) {
error = create_tokudb_trx_data_instance(&trx);
if (error) { goto cleanup; }
thd_data_set(thd, tokudb_hton->slot, trx);
+ if (tokudb_debug & TOKUDB_DEBUG_TXN) {
+ TOKUDB_HANDLER_TRACE("set trx %p", trx);
+ }
}
if (trx->all == NULL) {
trx->sp_level = NULL;
}
if (lock_type != F_UNLCK) {
- is_fast_alter_running = false;
use_write_locks = false;
if (lock_type == F_WRLCK) {
use_write_locks = true;
}
if (!trx->tokudb_lock_count++) {
- assert(trx->stmt == 0);
- transaction = NULL; // Safety
- error = create_txn(thd, trx);
- if (error) {
- goto cleanup;
+ if (trx->stmt) {
+ if (tokudb_debug & TOKUDB_DEBUG_TXN) {
+ TOKUDB_HANDLER_TRACE("stmt already set %p %p %p %p", trx->all, trx->stmt, trx->sp_level, trx->sub_sp_level);
+ }
+ } else {
+ assert(trx->stmt == 0);
+ transaction = NULL; // Safety
+ error = create_txn(thd, trx);
+ if (error) {
+ trx->tokudb_lock_count--; // We didn't get the lock
+ goto cleanup;
+ }
}
}
transaction = trx->sub_sp_level;
}
else {
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
// hate dealing with comparison of signed vs unsigned, so doing this
if (deleted_rows > added_rows && share->rows < (deleted_rows - added_rows)) {
share->rows = 0;
@@ -6296,7 +6213,7 @@ int ha_tokudb::external_lock(THD * thd, int lock_type) {
else {
share->rows += (added_rows - deleted_rows);
}
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
added_rows = 0;
deleted_rows = 0;
share->rows_from_locked_table = 0;
@@ -6309,26 +6226,19 @@ int ha_tokudb::external_lock(THD * thd, int lock_type) {
*/
DBUG_PRINT("trans", ("commiting non-updating transaction"));
reset_stmt_progress(&trx->stmt_progress);
- if (!is_fast_alter_running) {
- commit_txn(trx->stmt, 0);
- if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("commit:%p:%d\n", trx->stmt, error);
- }
- trx->stmt = NULL;
- trx->sub_sp_level = NULL;
- }
+ commit_txn(trx->stmt, 0);
+ trx->stmt = NULL;
+ trx->sub_sp_level = NULL;
}
}
transaction = NULL;
- is_fast_alter_running = false;
}
cleanup:
if (tokudb_debug & TOKUDB_DEBUG_LOCK)
- TOKUDB_TRACE("%s error=%d\n", __FUNCTION__, error);
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_TRACE("error=%d", error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
-
/*
When using LOCK TABLE's external_lock is only called when the actual
TABLE LOCK is done.
@@ -6336,12 +6246,14 @@ cleanup:
*/
int ha_tokudb::start_stmt(THD * thd, thr_lock_type lock_type) {
- TOKUDB_DBUG_ENTER("ha_tokudb::start_stmt cmd=%d %d", thd_sql_command(thd), lock_type);
- int error = 0;
-
+ TOKUDB_HANDLER_DBUG_ENTER("cmd %d lock %d %s", thd_sql_command(thd), lock_type, share->table_name);
+ if (0)
+ TOKUDB_HANDLER_TRACE("q %s", thd->query());
+ int error = 0;
tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot);
DBUG_ASSERT(trx);
+
/*
note that trx->stmt may have been already initialized as start_stmt()
is called for *each table* not for each storage engine,
@@ -6352,10 +6264,13 @@ int ha_tokudb::start_stmt(THD * thd, thr_lock_type lock_type) {
if (error) {
goto cleanup;
}
+ if (tokudb_debug & TOKUDB_DEBUG_TXN) {
+ TOKUDB_HANDLER_TRACE("trx %p %p %p %p %p %u", trx, trx->all, trx->stmt, trx->sp_level, trx->sub_sp_level, trx->tokudb_lock_count);
+ }
}
else {
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("trx->stmt already existed\n");
+ TOKUDB_HANDLER_TRACE("trx->stmt %p already existed", trx->stmt);
}
}
//
@@ -6385,7 +6300,7 @@ int ha_tokudb::start_stmt(THD * thd, thr_lock_type lock_type) {
transaction = trx->sub_sp_level;
trans_register_ha(thd, false, tokudb_hton);
cleanup:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -6452,16 +6367,16 @@ uint32_t ha_tokudb::get_cursor_isolation_flags(enum thr_lock_type lock_type, THD
*/
THR_LOCK_DATA **ha_tokudb::store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_lock_type lock_type) {
- TOKUDB_DBUG_ENTER("ha_tokudb::store_lock, lock_type=%d cmd=%d", lock_type, thd_sql_command(thd));
+ TOKUDB_HANDLER_DBUG_ENTER("lock_type=%d cmd=%d", lock_type, thd_sql_command(thd));
if (tokudb_debug & TOKUDB_DEBUG_LOCK) {
- TOKUDB_TRACE("%s lock_type=%d cmd=%d\n", __FUNCTION__, lock_type, thd_sql_command(thd));
+ TOKUDB_HANDLER_TRACE("lock_type=%d cmd=%d", lock_type, thd_sql_command(thd));
}
if (lock_type != TL_IGNORE && lock.type == TL_UNLOCK) {
// if creating a hot index
if (thd_sql_command(thd)== SQLCOM_CREATE_INDEX && get_create_index_online(thd)) {
rw_rdlock(&share->num_DBs_lock);
- if (share->num_DBs == (table->s->keys + test(hidden_primary_key))) {
+ if (share->num_DBs == (table->s->keys + tokudb_test(hidden_primary_key))) {
lock_type = TL_WRITE_ALLOW_WRITE;
}
lock.type = lock_type;
@@ -6489,7 +6404,7 @@ THR_LOCK_DATA **ha_tokudb::store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_l
}
*to++ = &lock;
if (tokudb_debug & TOKUDB_DEBUG_LOCK)
- TOKUDB_TRACE("%s lock_type=%d\n", __FUNCTION__, lock_type);
+ TOKUDB_HANDLER_TRACE("lock_type=%d", lock_type);
DBUG_RETURN(to);
}
@@ -6509,6 +6424,8 @@ static inline srv_row_format_t compression_method_to_row_type(enum toku_compress
return SRV_ROW_FORMAT_FAST;
case TOKU_SMALL_COMPRESSION_METHOD:
return SRV_ROW_FORMAT_SMALL;
+#else
+ case TOKU_ZLIB_WITHOUT_CHECKSUM_METHOD:
#endif
case TOKU_DEFAULT_COMPRESSION_METHOD:
return SRV_ROW_FORMAT_DEFAULT;
@@ -6536,9 +6453,9 @@ static inline enum toku_compression_method row_type_to_compression_method(srv_ro
case SRV_ROW_FORMAT_LZMA:
return TOKU_LZMA_METHOD;
case SRV_ROW_FORMAT_SMALL:
- return TOKU_SMALL_COMPRESSION_METHOD;
+ return TOKU_LZMA_METHOD;
case SRV_ROW_FORMAT_FAST:
- return TOKU_FAST_COMPRESSION_METHOD;
+ return TOKU_QUICKLZ_METHOD;
#endif
default:
DBUG_PRINT("info", ("Ignoring ROW_FORMAT not used by TokuDB, using TOKUDB_ZLIB by default instead"));
@@ -6557,7 +6474,7 @@ static int create_sub_table(
bool is_hot_index
)
{
- TOKUDB_DBUG_ENTER("create_sub_table");
+ TOKUDB_DBUG_ENTER("");
int error;
DB *file = NULL;
uint32_t create_flags;
@@ -6690,16 +6607,16 @@ void ha_tokudb::trace_create_table_info(const char *name, TABLE * form) {
if (tokudb_debug & TOKUDB_DEBUG_OPEN) {
for (i = 0; i < form->s->fields; i++) {
Field *field = form->s->field[i];
- TOKUDB_TRACE("field:%d:%s:type=%d:flags=%x\n", i, field->field_name, field->type(), field->flags);
+ TOKUDB_HANDLER_TRACE("field:%d:%s:type=%d:flags=%x", i, field->field_name, field->type(), field->flags);
}
for (i = 0; i < form->s->keys; i++) {
KEY *key = &form->s->key_info[i];
- TOKUDB_TRACE("key:%d:%s:%d\n", i, key->name, get_key_parts(key));
+ TOKUDB_HANDLER_TRACE("key:%d:%s:%d", i, key->name, get_key_parts(key));
uint p;
for (p = 0; p < get_key_parts(key); p++) {
KEY_PART_INFO *key_part = &key->key_part[p];
Field *field = key_part->field;
- TOKUDB_TRACE("key:%d:%d:length=%d:%s:type=%d:flags=%x\n",
+ TOKUDB_HANDLER_TRACE("key:%d:%d:length=%d:%s:type=%d:flags=%x",
i, p, key_part->length, field->field_name, field->type(), field->flags);
}
}
@@ -6788,10 +6705,10 @@ int ha_tokudb::create_secondary_dictionary(
max_row_desc_buff_size = get_max_desc_size(kc_info,form);
- row_desc_buff = (uchar *)my_malloc(max_row_desc_buff_size, MYF(MY_WME));
+ row_desc_buff = (uchar *)tokudb_my_malloc(max_row_desc_buff_size, MYF(MY_WME));
if (row_desc_buff == NULL){ error = ENOMEM; goto cleanup;}
- newname = (char *)my_malloc(get_max_dict_name_path_length(name),MYF(MY_WME));
+ newname = (char *)tokudb_my_malloc(get_max_dict_name_path_length(name),MYF(MY_WME));
if (newname == NULL){ error = ENOMEM; goto cleanup;}
sprintf(dict_name, "key-%s", key_info->name);
@@ -6823,8 +6740,8 @@ int ha_tokudb::create_secondary_dictionary(
error = create_sub_table(newname, &row_descriptor, txn, block_size, read_block_size, row_type_to_compression_method(row_type), is_hot_index);
cleanup:
- my_free(newname);
- my_free(row_desc_buff);
+ tokudb_my_free(newname);
+ tokudb_my_free(row_desc_buff);
return error;
}
@@ -6881,10 +6798,10 @@ int ha_tokudb::create_main_dictionary(const char* name, TABLE* form, DB_TXN* txn
memset(&row_descriptor, 0, sizeof(row_descriptor));
max_row_desc_buff_size = get_max_desc_size(kc_info, form);
- row_desc_buff = (uchar *)my_malloc(max_row_desc_buff_size, MYF(MY_WME));
+ row_desc_buff = (uchar *)tokudb_my_malloc(max_row_desc_buff_size, MYF(MY_WME));
if (row_desc_buff == NULL){ error = ENOMEM; goto cleanup;}
- newname = (char *)my_malloc(get_max_dict_name_path_length(name),MYF(MY_WME));
+ newname = (char *)tokudb_my_malloc(get_max_dict_name_path_length(name),MYF(MY_WME));
if (newname == NULL){ error = ENOMEM; goto cleanup;}
make_name(newname, name, "main");
@@ -6914,8 +6831,8 @@ int ha_tokudb::create_main_dictionary(const char* name, TABLE* form, DB_TXN* txn
/* Create the main table that will hold the real rows */
error = create_sub_table(newname, &row_descriptor, txn, block_size, read_block_size, row_type_to_compression_method(row_type), false);
cleanup:
- my_free(newname);
- my_free(row_desc_buff);
+ tokudb_my_free(newname);
+ tokudb_my_free(row_desc_buff);
return error;
}
@@ -6930,7 +6847,8 @@ cleanup:
// error otherwise
//
int ha_tokudb::create(const char *name, TABLE * form, HA_CREATE_INFO * create_info) {
- TOKUDB_DBUG_ENTER("ha_tokudb::create %p %s", this, name);
+ TOKUDB_HANDLER_DBUG_ENTER("%s", name);
+
int error;
DB *status_block = NULL;
uint version;
@@ -6941,21 +6859,18 @@ int ha_tokudb::create(const char *name, TABLE * form, HA_CREATE_INFO * create_in
KEY_AND_COL_INFO kc_info;
tokudb_trx_data *trx = NULL;
THD* thd = ha_thd();
- bool create_from_engine= (create_info->table_options & HA_OPTION_CREATE_FROM_ENGINE);
memset(&kc_info, 0, sizeof(kc_info));
- pthread_mutex_lock(&tokudb_meta_mutex);
+ // TokuDB does not support discover_table_names() and writes no files
+ // in the database directory, so automatic filename-based
+ // discover_table_names() doesn't work either. So, it must force .frm
+ // file to disk.
+ form->s->write_frm_image();
trx = (tokudb_trx_data *) thd_data_get(ha_thd(), tokudb_hton->slot);
const srv_row_format_t row_type= (srv_row_format_t)form->s->option_struct->row_format;
- if (create_from_engine) {
- // table already exists, nothing to do
- error = 0;
- goto cleanup;
- }
-
// validate the fields in the table. If the table has fields
// we do not support that came from an old version of MySQL,
// gracefully return an error
@@ -6974,7 +6889,7 @@ int ha_tokudb::create(const char *name, TABLE * form, HA_CREATE_INFO * create_in
}
}
- newname = (char *)my_malloc(get_max_dict_name_path_length(name),MYF(MY_WME));
+ newname = (char *)tokudb_my_malloc(get_max_dict_name_path_length(name),MYF(MY_WME));
if (newname == NULL){ error = ENOMEM; goto cleanup;}
if (trx && trx->sub_sp_level && thd_sql_command(thd) == SQLCOM_CREATE_TABLE) {
@@ -7017,7 +6932,7 @@ int ha_tokudb::create(const char *name, TABLE * form, HA_CREATE_INFO * create_in
if (error) { goto cleanup; }
#else
// only for tables that are not partitioned
- if (form->part_info == NULL) {
+ if (IF_PARTITIONING(form->part_info, NULL) == NULL) {
error = write_frm_data(status_block, txn, form->s->path.str);
if (error) { goto cleanup; }
}
@@ -7052,9 +6967,6 @@ int ha_tokudb::create(const char *name, TABLE * form, HA_CREATE_INFO * create_in
}
}
- error = add_table_to_metadata(name, form, txn);
- if (error) { goto cleanup; }
-
error = 0;
cleanup:
if (status_block != NULL) {
@@ -7070,9 +6982,8 @@ cleanup:
commit_txn(txn,0);
}
}
- my_free(newname);
- pthread_mutex_unlock(&tokudb_meta_mutex);
- TOKUDB_DBUG_RETURN(error);
+ tokudb_my_free(newname);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
int ha_tokudb::discard_or_import_tablespace(my_bool discard) {
@@ -7101,7 +7012,7 @@ int ha_tokudb::delete_or_rename_dictionary( const char* from_name, const char* t
char* new_to_name = NULL;
assert(txn);
- new_from_name = (char *)my_malloc(
+ new_from_name = (char *)tokudb_my_malloc(
get_max_dict_name_path_length(from_name),
MYF(MY_WME)
);
@@ -7111,7 +7022,7 @@ int ha_tokudb::delete_or_rename_dictionary( const char* from_name, const char* t
}
if (!is_delete) {
assert(to_name);
- new_to_name = (char *)my_malloc(
+ new_to_name = (char *)tokudb_my_malloc(
get_max_dict_name_path_length(to_name),
MYF(MY_WME)
);
@@ -7147,8 +7058,8 @@ int ha_tokudb::delete_or_rename_dictionary( const char* from_name, const char* t
if (error) { goto cleanup; }
cleanup:
- my_free(new_from_name);
- my_free(new_to_name);
+ tokudb_my_free(new_from_name);
+ tokudb_my_free(new_to_name);
return error;
}
@@ -7167,7 +7078,6 @@ int ha_tokudb::delete_or_rename_table (const char* from_name, const char* to_nam
DBT curr_val;
memset(&curr_key, 0, sizeof(curr_key));
memset(&curr_val, 0, sizeof(curr_val));
- pthread_mutex_lock(&tokudb_meta_mutex);
DB_TXN *parent_txn = NULL;
tokudb_trx_data *trx = NULL;
@@ -7180,17 +7090,6 @@ int ha_tokudb::delete_or_rename_table (const char* from_name, const char* to_nam
if (error) { goto cleanup; }
//
- // modify metadata db
- //
- if (is_delete) {
- error = drop_table_from_metadata(from_name, txn);
- }
- else {
- error = rename_table_in_metadata(from_name, to_name, txn);
- }
- if (error) { goto cleanup; }
-
- //
// open status db,
// create cursor,
// for each name read out of there, create a db and delete or rename it
@@ -7258,7 +7157,6 @@ cleanup:
commit_txn(txn, 0);
}
}
- pthread_mutex_unlock(&tokudb_meta_mutex);
return error;
}
@@ -7272,7 +7170,7 @@ cleanup:
// error otherwise
//
int ha_tokudb::delete_table(const char *name) {
- TOKUDB_DBUG_ENTER("ha_tokudb::delete_table");
+ TOKUDB_HANDLER_DBUG_ENTER("%s", name);
int error;
error = delete_or_rename_table(name, NULL, true);
if (error == DB_LOCK_NOTGRANTED && ((tokudb_debug & TOKUDB_DEBUG_HIDE_DDL_LOCK_ERRORS) == 0)) {
@@ -7280,7 +7178,7 @@ int ha_tokudb::delete_table(const char *name) {
another transaction has accessed the table. \
To drop the table, make sure no transactions touch the table.", name);
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -7294,7 +7192,7 @@ To drop the table, make sure no transactions touch the table.", name);
// error otherwise
//
int ha_tokudb::rename_table(const char *from, const char *to) {
- TOKUDB_DBUG_ENTER("%s %s %s", __FUNCTION__, from, to);
+ TOKUDB_HANDLER_DBUG_ENTER("%s %s", from, to);
int error;
error = delete_or_rename_table(from, to, false);
if (error == DB_LOCK_NOTGRANTED && ((tokudb_debug & TOKUDB_DEBUG_HIDE_DDL_LOCK_ERRORS) == 0)) {
@@ -7302,7 +7200,7 @@ int ha_tokudb::rename_table(const char *from, const char *to) {
another transaction has accessed the table. \
To rename the table, make sure no transactions touch the table.", from, to);
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
@@ -7313,14 +7211,14 @@ To rename the table, make sure no transactions touch the table.", from, to);
*/
/// QQQ why divide by 3
double ha_tokudb::scan_time() {
- TOKUDB_DBUG_ENTER("ha_tokudb::scan_time");
+ TOKUDB_HANDLER_DBUG_ENTER("");
double ret_val = (double)stats.records / 3;
DBUG_RETURN(ret_val);
}
double ha_tokudb::keyread_time(uint index, uint ranges, ha_rows rows)
{
- TOKUDB_DBUG_ENTER("ha_tokudb::keyread_time");
+ TOKUDB_HANDLER_DBUG_ENTER("");
double ret_val;
if (index == primary_key || key_is_clustering(&table->key_info[index])) {
ret_val = read_time(index, ranges, rows);
@@ -7358,7 +7256,7 @@ double ha_tokudb::read_time(
ha_rows rows
)
{
- TOKUDB_DBUG_ENTER("ha_tokudb::read_time");
+ TOKUDB_HANDLER_DBUG_ENTER("");
double total_scan;
double ret_val;
bool is_primary = (index == primary_key);
@@ -7404,7 +7302,7 @@ cleanup:
}
double ha_tokudb::index_only_read_time(uint keynr, double records) {
- TOKUDB_DBUG_ENTER("ha_tokudb::index_only_read_time");
+ TOKUDB_HANDLER_DBUG_ENTER("");
double ret_val = keyread_time(keynr, 1, (ha_rows)records);
DBUG_RETURN(ret_val);
}
@@ -7423,7 +7321,7 @@ double ha_tokudb::index_only_read_time(uint keynr, double records) {
// HA_POS_ERROR - Something is wrong with the index tree
//
ha_rows ha_tokudb::records_in_range(uint keynr, key_range* start_key, key_range* end_key) {
- TOKUDB_DBUG_ENTER("ha_tokudb::records_in_range");
+ TOKUDB_HANDLER_DBUG_ENTER("");
DBT *pleft_key = NULL, *pright_key = NULL;
DBT left_key, right_key;
ha_rows ret_val = HA_TOKUDB_RANGE_COUNT;
@@ -7510,70 +7408,58 @@ cleanup:
// auto-increment field (if auto-increment field is the first field of a key).
//
void ha_tokudb::init_auto_increment() {
- DBT key;
- DBT value;
int error;
- HA_METADATA_KEY key_val = hatoku_max_ai;
- memset(&key, 0, sizeof(key));
- memset(&value, 0, sizeof(value));
- key.data = &key_val;
- key.size = sizeof(key_val);
- value.flags = DB_DBT_USERMEM;
DB_TXN* txn = NULL;
error = txn_begin(db_env, 0, &txn, 0, ha_thd());
if (error) {
share->last_auto_increment = 0;
- }
- else {
- //
- // First retrieve hatoku_max_ai, which is max value used by auto increment
- // column so far, the max value could have been auto generated (e.g. insert (NULL))
- // or it could have been manually inserted by user (e.g. insert (345))
- //
- value.ulen = sizeof(share->last_auto_increment);
- value.data = &share->last_auto_increment;
- error = share->status_block->get(
- share->status_block,
- txn,
- &key,
- &value,
- 0
- );
-
- if (error || value.size != sizeof(share->last_auto_increment)) {
- share->last_auto_increment = 0;
- }
+ } else {
+ HA_METADATA_KEY key_val;
+ DBT key;
+ memset(&key, 0, sizeof(key));
+ key.data = &key_val;
+ key.size = sizeof(key_val);
+ DBT value;
+ memset(&value, 0, sizeof(value));
+ value.flags = DB_DBT_USERMEM;
- //
- // Now retrieve the initial auto increment value, as specified by create table
+ // Retrieve the initial auto increment value, as specified by create table
// so if a user does "create table t1 (a int auto_increment, primary key (a)) auto_increment=100",
// then the value 100 should be stored here
- //
key_val = hatoku_ai_create_value;
value.ulen = sizeof(share->auto_inc_create_value);
value.data = &share->auto_inc_create_value;
- error = share->status_block->get(
- share->status_block,
- txn,
- &key,
- &value,
- 0
- );
+ error = share->status_block->get(share->status_block, txn, &key, &value, 0);
if (error || value.size != sizeof(share->auto_inc_create_value)) {
share->auto_inc_create_value = 0;
}
+ // Retrieve hatoku_max_ai, which is max value used by auto increment
+ // column so far, the max value could have been auto generated (e.g. insert (NULL))
+ // or it could have been manually inserted by user (e.g. insert (345))
+ key_val = hatoku_max_ai;
+ value.ulen = sizeof(share->last_auto_increment);
+ value.data = &share->last_auto_increment;
+ error = share->status_block->get(share->status_block, txn, &key, &value, 0);
+
+ if (error || value.size != sizeof(share->last_auto_increment)) {
+ if (share->auto_inc_create_value)
+ share->last_auto_increment = share->auto_inc_create_value - 1;
+ else
+ share->last_auto_increment = 0;
+ }
+
commit_txn(txn, 0);
}
if (tokudb_debug & TOKUDB_DEBUG_AUTO_INCREMENT) {
- TOKUDB_TRACE("init auto increment:%lld\n", share->last_auto_increment);
+ TOKUDB_HANDLER_TRACE("init auto increment:%lld", share->last_auto_increment);
}
}
void ha_tokudb::get_auto_increment(ulonglong offset, ulonglong increment, ulonglong nb_desired_values, ulonglong * first_value, ulonglong * nb_reserved_values) {
- TOKUDB_DBUG_ENTER("ha_tokudb::get_auto_increment");
+ TOKUDB_HANDLER_DBUG_ENTER("");
ulonglong nr;
bool over;
@@ -7583,7 +7469,7 @@ void ha_tokudb::get_auto_increment(ulonglong offset, ulonglong increment, ulongl
DBUG_VOID_RETURN;
}
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
if (share->auto_inc_create_value > share->last_auto_increment) {
nr = share->auto_inc_create_value;
@@ -7607,13 +7493,13 @@ void ha_tokudb::get_auto_increment(ulonglong offset, ulonglong increment, ulongl
}
if (tokudb_debug & TOKUDB_DEBUG_AUTO_INCREMENT) {
- TOKUDB_TRACE("get_auto_increment(%lld,%lld,%lld):got:%lld:%lld\n",
+ TOKUDB_HANDLER_TRACE("get_auto_increment(%lld,%lld,%lld):got:%lld:%lld",
offset, increment, nb_desired_values, nr, nb_desired_values);
}
*first_value = nr;
*nb_reserved_values = nb_desired_values;
- pthread_mutex_unlock(&share->mutex);
- DBUG_VOID_RETURN;
+ tokudb_pthread_mutex_unlock(&share->mutex);
+ TOKUDB_HANDLER_DBUG_VOID_RETURN;
}
bool ha_tokudb::is_optimize_blocking() {
@@ -7624,10 +7510,7 @@ bool ha_tokudb::is_auto_inc_singleton(){
return false;
}
-volatile int ha_tokudb_tokudb_add_index_wait = 0; // debug
-volatile int ha_tokudb_build_index_wait = 0; // debug
-//
// Internal function called by ha_tokudb::add_index and ha_tokudb::alter_table_phase2
// With a transaction, drops dictionaries associated with indexes in key_num
//
@@ -7652,11 +7535,9 @@ int ha_tokudb::tokudb_add_index(
bool* modified_DBs
)
{
- TOKUDB_DBUG_ENTER("ha_tokudb::tokudb_add_index");
+ TOKUDB_HANDLER_DBUG_ENTER("");
assert(txn);
- while (ha_tokudb_tokudb_add_index_wait) sleep(1); // debug
-
int error;
uint curr_index = 0;
DBC* tmp_cursor = NULL;
@@ -7690,7 +7571,7 @@ int ha_tokudb::tokudb_add_index(
//
// number of DB files we have open currently, before add_index is executed
//
- uint curr_num_DBs = table_arg->s->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table_arg->s->keys + tokudb_test(hidden_primary_key);
//
// get the row type to use for the indexes we're adding
@@ -7700,6 +7581,7 @@ int ha_tokudb::tokudb_add_index(
//
// status message to be shown in "show process list"
//
+ const char *old_proc_info = tokudb_thd_get_proc_info(thd);
char status_msg[MAX_ALIAS_NAME + 200]; //buffer of 200 should be a good upper bound.
ulonglong num_processed = 0; //variable that stores number of elements inserted thus far
thd_proc_info(thd, "Adding indexes");
@@ -7809,8 +7691,6 @@ int ha_tokudb::tokudb_add_index(
thd_progress_init(thd, 1);
#endif
- while (ha_tokudb_build_index_wait) sleep(1); // debug
-
error = indexer->build(indexer);
if (error) { goto cleanup; }
@@ -7978,18 +7858,18 @@ int ha_tokudb::tokudb_add_index(
// We have an accurate row count, might as well update share->rows
//
if(!creating_hot_index) {
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
share->rows = num_processed;
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
}
//
// now write stuff to status.tokudb
//
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
for (uint i = 0; i < num_of_keys; i++) {
write_key_name_to_status(share->status_block, key_info[i].name, txn);
}
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
error = 0;
cleanup:
@@ -8022,7 +7902,8 @@ cleanup:
another transaction has accessed the table. \
To add indexes, make sure no transactions touch the table.", share->table_name);
}
- TOKUDB_DBUG_RETURN(error ? error : loader_error);
+ thd_proc_info(thd, old_proc_info);
+ TOKUDB_HANDLER_DBUG_RETURN(error ? error : loader_error);
}
//
@@ -8030,7 +7911,7 @@ To add indexes, make sure no transactions touch the table.", share->table_name);
// Closes added indexes in case of error in error path of add_index and alter_table_phase2
//
void ha_tokudb::restore_add_index(TABLE* table_arg, uint num_of_keys, bool incremented_numDBs, bool modified_DBs) {
- uint curr_num_DBs = table_arg->s->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table_arg->s->keys + tokudb_test(hidden_primary_key);
uint curr_index = 0;
//
@@ -8063,18 +7944,14 @@ void ha_tokudb::restore_add_index(TABLE* table_arg, uint num_of_keys, bool incre
}
}
-volatile int ha_tokudb_drop_indexes_wait = 0; // debug
-
//
// Internal function called by ha_tokudb::prepare_drop_index and ha_tokudb::alter_table_phase2
// With a transaction, drops dictionaries associated with indexes in key_num
//
int ha_tokudb::drop_indexes(TABLE *table_arg, uint *key_num, uint num_of_keys, KEY *key_info, DB_TXN* txn) {
- TOKUDB_DBUG_ENTER("ha_tokudb::drop_indexes");
+ TOKUDB_HANDLER_DBUG_ENTER("");
assert(txn);
- while (ha_tokudb_drop_indexes_wait) sleep(1); // debug
-
int error = 0;
for (uint i = 0; i < num_of_keys; i++) {
uint curr_index = key_num[i];
@@ -8102,7 +7979,7 @@ cleanup:
another transaction has accessed the table. \
To drop indexes, make sure no transactions touch the table.", share->table_name);
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
//
@@ -8130,7 +8007,7 @@ void ha_tokudb::restore_drop_indexes(TABLE *table_arg, uint *key_num, uint num_o
}
}
-void ha_tokudb::print_error(int error, myf errflag) {
+int ha_tokudb::map_to_handler_error(int error) {
if (error == DB_LOCK_DEADLOCK)
error = HA_ERR_LOCK_DEADLOCK;
if (error == DB_LOCK_NOTGRANTED)
@@ -8148,9 +8025,13 @@ void ha_tokudb::print_error(int error, myf errflag) {
error = HA_ERR_UNSUPPORTED;
}
#endif
- handler::print_error(error, errflag);
+ return error;
}
+void ha_tokudb::print_error(int error, myf errflag) {
+ error = map_to_handler_error(error);
+ handler::print_error(error, errflag);
+}
//
// truncate's dictionary associated with keynr index using transaction txn
@@ -8212,14 +8093,11 @@ cleanup:
return error;
}
-volatile int ha_tokudb_truncate_wait = 0; // debug
-
// for 5.5
int ha_tokudb::truncate() {
- TOKUDB_DBUG_ENTER("truncate");
- while (ha_tokudb_truncate_wait) sleep(1); // debug
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = delete_all_rows_internal();
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
// delete all rows from a table
@@ -8231,7 +8109,7 @@ int ha_tokudb::truncate() {
// issues go away.
// returns: 0 if success
int ha_tokudb::delete_all_rows() {
- TOKUDB_DBUG_ENTER("delete_all_rows");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
if (thd_sql_command(ha_thd()) != SQLCOM_TRUNCATE) {
share->try_table_lock = true;
@@ -8239,11 +8117,11 @@ int ha_tokudb::delete_all_rows() {
}
if (error == 0)
error = delete_all_rows_internal();
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
int ha_tokudb::delete_all_rows_internal() {
- TOKUDB_DBUG_ENTER("delete_all_rows_internal");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
uint curr_num_DBs = 0;
DB_TXN* txn = NULL;
@@ -8251,7 +8129,7 @@ int ha_tokudb::delete_all_rows_internal() {
error = txn_begin(db_env, 0, &txn, 0, ha_thd());
if (error) { goto cleanup; }
- curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
for (uint i = 0; i < curr_num_DBs; i++) {
error = share->key_file[i]->pre_acquire_fileops_lock(
share->key_file[i],
@@ -8326,7 +8204,7 @@ cleanup:
}
}
}
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
void ha_tokudb::set_loader_error(int err) {
@@ -8367,6 +8245,24 @@ Item* ha_tokudb::idx_cond_push(uint keyno_arg, Item* idx_cond_arg) {
return idx_cond_arg;
}
+void ha_tokudb::cleanup_txn(DB_TXN *txn) {
+ if (transaction == txn && cursor) {
+ int r = cursor->c_close(cursor);
+ assert(r == 0);
+ cursor = NULL;
+ }
+}
+
+void ha_tokudb::add_to_trx_handler_list() {
+ tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(ha_thd(), tokudb_hton->slot);
+ trx->handlers = list_add(trx->handlers, &trx_handler_list);
+}
+
+void ha_tokudb::remove_from_trx_handler_list() {
+ tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(ha_thd(), tokudb_hton->slot);
+ trx->handlers = list_delete(trx->handlers, &trx_handler_list);
+}
+
// table admin
#include "ha_tokudb_admin.cc"
diff --git a/storage/tokudb/ha_tokudb.h b/storage/tokudb/ha_tokudb.h
index fefaaaa4349..61cb69e3ded 100644
--- a/storage/tokudb/ha_tokudb.h
+++ b/storage/tokudb/ha_tokudb.h
@@ -127,6 +127,10 @@ typedef struct hot_optimize_context {
//
class TOKUDB_SHARE {
public:
+ void init(void);
+ void destroy(void);
+
+public:
char *table_name;
uint table_name_length, use_count;
pthread_mutex_t mutex;
@@ -184,6 +188,11 @@ public:
bool replace_into_fast;
rw_lock_t num_DBs_lock;
uint32_t num_DBs;
+
+ pthread_cond_t m_openclose_cond;
+ enum { CLOSED, OPENING, OPENED, CLOSING, ERROR } m_state;
+ int m_error;
+ int m_initialize_count;
};
typedef struct st_filter_key_part_info {
@@ -319,7 +328,6 @@ private:
// transaction used by ha_tokudb's cursor
//
DB_TXN *transaction;
- bool is_fast_alter_running;
// external_lock will set this true for read operations that will be closely followed by write operations.
bool use_write_locks; // use write locks for reads
@@ -348,6 +356,7 @@ private:
//
uint hidden_primary_key;
bool key_read, using_ignore;
+ bool using_ignore_no_key;
//
// After a cursor encounters an error, the cursor will be unusable
@@ -443,10 +452,7 @@ private:
int write_auto_inc_create(DB* db, ulonglong val, DB_TXN* txn);
void init_auto_increment();
bool can_replace_into_be_fast(TABLE_SHARE* table_share, KEY_AND_COL_INFO* kc_info, uint pk);
- int initialize_share(
- const char* name,
- int mode
- );
+ int initialize_share(const char* name, int mode);
void set_query_columns(uint keynr);
int prelock_range (const key_range *start_key, const key_range *end_key);
@@ -597,12 +603,12 @@ public:
THR_LOCK_DATA **store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_lock_type lock_type);
int get_status(DB_TXN* trans);
- void init_hidden_prim_key_info();
+ void init_hidden_prim_key_info(DB_TXN *txn);
inline void get_auto_primary_key(uchar * to) {
- pthread_mutex_lock(&share->mutex);
+ tokudb_pthread_mutex_lock(&share->mutex);
share->auto_ident++;
hpk_num_to_char(to, share->auto_ident);
- pthread_mutex_unlock(&share->mutex);
+ tokudb_pthread_mutex_unlock(&share->mutex);
}
virtual void get_auto_increment(ulonglong offset, ulonglong increment, ulonglong nb_desired_values, ulonglong * first_value, ulonglong * nb_reserved_values);
bool is_optimize_blocking();
@@ -764,8 +770,8 @@ public:
private:
int read_full_row(uchar * buf);
int __close();
- int get_next(uchar* buf, int direction, DBT* key_to_compare);
- int read_data_from_range_query_buff(uchar* buf, bool need_val);
+ int get_next(uchar* buf, int direction, DBT* key_to_compare, bool do_key_read);
+ int read_data_from_range_query_buff(uchar* buf, bool need_val, bool do_key_read);
// for ICP, only in MariaDB and MySQL 5.6
#if defined(MARIADB_BASE_VERSION) || (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699)
enum icp_result toku_handler_index_cond_check(Item* pushed_idx_cond);
@@ -788,11 +794,35 @@ private:
bool check_upsert(THD *thd, List<Item> &update_fields, List<Item> &update_values);
int send_upsert_message(THD *thd, List<Item> &update_fields, List<Item> &update_values, DB_TXN *txn);
#endif
+public:
+ // mysql sometimes retires a txn before a cursor that references the txn is closed.
+ // for example, commit is sometimes called before index_end. the following methods
+ // put the handler on a list of handlers that get cleaned up when the txn is retired.
+ void cleanup_txn(DB_TXN *txn);
+private:
+ LIST trx_handler_list;
+ void add_to_trx_handler_list();
+ void remove_from_trx_handler_list();
+
+private:
+ int map_to_handler_error(int error);
};
+#if defined(MARIADB_BASE_VERSION)
+struct ha_index_option_struct {
+ bool clustering;
+};
+
+static inline bool key_is_clustering(const KEY *key) {
+ return (key->flags & HA_CLUSTERING) || (key->option_struct && key->option_struct->clustering);
+}
+
+#else
+
static inline bool key_is_clustering(const KEY *key) {
return key->option_struct && key->option_struct->clustering;
}
+#endif
#endif
diff --git a/storage/tokudb/ha_tokudb_admin.cc b/storage/tokudb/ha_tokudb_admin.cc
index 4b6aaed551d..97e75f6cb8d 100644
--- a/storage/tokudb/ha_tokudb_admin.cc
+++ b/storage/tokudb/ha_tokudb_admin.cc
@@ -88,7 +88,6 @@ PATENT RIGHTS GRANT:
#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
-volatile int ha_tokudb_analyze_wait = 0; // debug
struct analyze_progress_extra {
THD *thd;
@@ -128,15 +127,15 @@ static int analyze_progress(void *v_extra, uint64_t rows) {
}
int ha_tokudb::analyze(THD *thd, HA_CHECK_OPT *check_opt) {
- TOKUDB_DBUG_ENTER("ha_tokudb::analyze");
- while (ha_tokudb_analyze_wait) sleep(1); // debug concurrency issues
+ TOKUDB_HANDLER_DBUG_ENTER("%s", share->table_name);
uint64_t rec_per_key[table_share->key_parts];
int result = HA_ADMIN_OK;
DB_TXN *txn = transaction;
- if (!txn)
+ if (!txn) {
result = HA_ADMIN_FAILED;
+ }
+ uint total_key_parts = 0;
if (result == HA_ADMIN_OK) {
- uint next_key_part = 0;
// compute cardinality for each key
for (uint i = 0; result == HA_ADMIN_OK && i < table_share->keys; i++) {
KEY *key_info = &table_share->key_info[i];
@@ -148,26 +147,26 @@ int ha_tokudb::analyze(THD *thd, HA_CHECK_OPT *check_opt) {
bool is_unique = false;
if (i == primary_key || (key_info->flags & HA_NOSAME))
is_unique = true;
- int error = tokudb::analyze_card(share->key_file[i], txn, is_unique, num_key_parts, &rec_per_key[next_key_part],
+ int error = tokudb::analyze_card(share->key_file[i], txn, is_unique, num_key_parts, &rec_per_key[total_key_parts],
tokudb_cmp_dbt_key_parts, analyze_progress, &analyze_progress_extra);
if (error != 0 && error != ETIME) {
result = HA_ADMIN_FAILED;
} else {
// debug
if (tokudb_debug & TOKUDB_DEBUG_ANALYZE) {
- fprintf(stderr, "ha_tokudb::analyze %s.%s.%s ",
- table_share->db.str, table_share->table_name.str, i == primary_key ? "primary" : table_share->key_info[i].name);
+ TOKUDB_HANDLER_TRACE("%s.%s.%s",
+ table_share->db.str, table_share->table_name.str, i == primary_key ? "primary" : table_share->key_info[i].name);
for (uint j = 0; j < num_key_parts; j++)
- fprintf(stderr, "%lu ", rec_per_key[next_key_part+j]);
- fprintf(stderr, "\n");
+ TOKUDB_HANDLER_TRACE("%lu", rec_per_key[total_key_parts+j]);
}
}
- next_key_part += num_key_parts;
+ total_key_parts += num_key_parts;
}
}
- if (result == HA_ADMIN_OK)
- tokudb::set_card_in_status(share->status_block, txn, table_share->key_parts, rec_per_key);
- TOKUDB_DBUG_RETURN(result);
+ if (result == HA_ADMIN_OK) {
+ tokudb::set_card_in_status(share->status_block, txn, total_key_parts, rec_per_key);
+ }
+ TOKUDB_HANDLER_DBUG_RETURN(result);
}
static int hot_poll_fun(void *extra, float progress) {
@@ -192,15 +191,12 @@ static int hot_poll_fun(void *extra, float progress) {
return 0;
}
-volatile int ha_tokudb_optimize_wait = 0; // debug
-
// flatten all DB's in this table, to do so, peform hot optimize on each db
int ha_tokudb::optimize(THD * thd, HA_CHECK_OPT * check_opt) {
- TOKUDB_DBUG_ENTER("ha_tokudb::optimize");
- while (ha_tokudb_optimize_wait) sleep(1); // debug
+ TOKUDB_HANDLER_DBUG_ENTER("%s", share->table_name);
int error;
- uint curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
#ifdef HA_TOKUDB_HAS_THD_PROGRESS
// each DB is its own stage. as HOT goes through each db, we'll
@@ -224,7 +220,8 @@ int ha_tokudb::optimize(THD * thd, HA_CHECK_OPT * check_opt) {
hc.ha = this;
hc.current_table = i;
hc.num_tables = curr_num_DBs;
- error = db->hot_optimize(db, NULL, NULL, hot_poll_fun, &hc);
+ uint64_t loops_run;
+ error = db->hot_optimize(db, NULL, NULL, hot_poll_fun, &hc, &loops_run);
if (error) {
goto cleanup;
}
@@ -237,7 +234,7 @@ cleanup:
thd_progress_end(thd);
#endif
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
struct check_context {
@@ -265,13 +262,10 @@ static void ha_tokudb_check_info(THD *thd, TABLE *table, const char *msg) {
}
}
-volatile int ha_tokudb_check_wait = 0; // debug
-
int ha_tokudb::check(THD *thd, HA_CHECK_OPT *check_opt) {
- TOKUDB_DBUG_ENTER("check");
- while (ha_tokudb_check_wait) sleep(1); // debug
+ TOKUDB_HANDLER_DBUG_ENTER("%s", share->table_name);
- const char *old_proc_info = thd->proc_info;
+ const char *old_proc_info = tokudb_thd_get_proc_info(thd);
thd_proc_info(thd, "tokudb::check");
int result = HA_ADMIN_OK;
@@ -289,13 +283,13 @@ int ha_tokudb::check(THD *thd, HA_CHECK_OPT *check_opt) {
if (r != 0)
result = HA_ADMIN_INTERNAL_ERROR;
if (result == HA_ADMIN_OK) {
- uint32_t num_DBs = table_share->keys + test(hidden_primary_key);
+ uint32_t num_DBs = table_share->keys + tokudb_test(hidden_primary_key);
snprintf(write_status_msg, sizeof write_status_msg, "%s primary=%d num=%d", share->table_name, primary_key, num_DBs);
if (tokudb_debug & TOKUDB_DEBUG_CHECK) {
ha_tokudb_check_info(thd, table, write_status_msg);
time_t now = time(0);
char timebuf[32];
- fprintf(stderr, "%.24s ha_tokudb::check %s\n", ctime_r(&now, timebuf), write_status_msg);
+ TOKUDB_HANDLER_TRACE("%.24s %s", ctime_r(&now, timebuf), write_status_msg);
}
for (uint i = 0; i < num_DBs; i++) {
DB *db = share->key_file[i];
@@ -306,7 +300,7 @@ int ha_tokudb::check(THD *thd, HA_CHECK_OPT *check_opt) {
ha_tokudb_check_info(thd, table, write_status_msg);
time_t now = time(0);
char timebuf[32];
- fprintf(stderr, "%.24s ha_tokudb::check %s\n", ctime_r(&now, timebuf), write_status_msg);
+ TOKUDB_HANDLER_TRACE("%.24s %s", ctime_r(&now, timebuf), write_status_msg);
}
struct check_context check_context = { thd };
r = db->verify_with_progress(db, ha_tokudb_check_progress, &check_context, (tokudb_debug & TOKUDB_DEBUG_CHECK) != 0, keep_going);
@@ -316,7 +310,7 @@ int ha_tokudb::check(THD *thd, HA_CHECK_OPT *check_opt) {
ha_tokudb_check_info(thd, table, write_status_msg);
time_t now = time(0);
char timebuf[32];
- fprintf(stderr, "%.24s ha_tokudb::check %s\n", ctime_r(&now, timebuf), write_status_msg);
+ TOKUDB_HANDLER_TRACE("%.24s %s", ctime_r(&now, timebuf), write_status_msg);
}
if (result == HA_ADMIN_OK && r != 0) {
result = HA_ADMIN_CORRUPT;
@@ -326,5 +320,5 @@ int ha_tokudb::check(THD *thd, HA_CHECK_OPT *check_opt) {
}
}
thd_proc_info(thd, old_proc_info);
- TOKUDB_DBUG_RETURN(result);
+ TOKUDB_HANDLER_DBUG_RETURN(result);
}
diff --git a/storage/tokudb/ha_tokudb_alter_56.cc b/storage/tokudb/ha_tokudb_alter_56.cc
index a337b9be93a..3d1f898bc5d 100644
--- a/storage/tokudb/ha_tokudb_alter_56.cc
+++ b/storage/tokudb/ha_tokudb_alter_56.cc
@@ -92,16 +92,21 @@ PATENT RIGHTS GRANT:
#if 100000 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 100099
#define TOKU_ALTER_RENAME ALTER_RENAME
-#elif 50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
+#define DYNAMIC_ARRAY_ELEMENTS_TYPE size_t
+#elif (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799)
#define TOKU_ALTER_RENAME ALTER_RENAME
+#define DYNAMIC_ARRAY_ELEMENTS_TYPE int
#elif 50500 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50599
#define TOKU_ALTER_RENAME ALTER_RENAME_56
+#define DYNAMIC_ARRAY_ELEMENTS_TYPE int
#else
#error
#endif
#include "ha_tokudb_alter_common.cc"
#include <sql_array.h>
+#include <sql_base.h>
// The tokudb alter context contains the alter state that is set in the check if supported method and used
// later when the alter operation is executed.
@@ -211,7 +216,7 @@ static bool change_length_is_supported(TABLE *table, TABLE *altered_table, Alter
static bool change_type_is_supported(TABLE *table, TABLE *altered_table, Alter_inplace_info *ha_alter_info, tokudb_alter_ctx *ctx);
// The ha_alter_info->handler_flags can not be trusted. This function maps the bogus handler flags to something we like.
-static ulong fix_handler_flags(TABLE *table, TABLE *altered_table, Alter_inplace_info *ha_alter_info) {
+static ulong fix_handler_flags(THD *thd, TABLE *table, TABLE *altered_table, Alter_inplace_info *ha_alter_info) {
ulong handler_flags = ha_alter_info->handler_flags;
// workaround for fill_alter_inplace_info bug (#5193)
@@ -220,7 +225,7 @@ static ulong fix_handler_flags(TABLE *table, TABLE *altered_table, Alter_inplace
// column addition later.
if (handler_flags & (Alter_inplace_info::ADD_COLUMN + Alter_inplace_info::DROP_COLUMN)) {
if (handler_flags & (Alter_inplace_info::ADD_INDEX + Alter_inplace_info::DROP_INDEX)) {
- if (tables_have_same_keys(table, altered_table, false, false)) {
+ if (tables_have_same_keys(table, altered_table, THDVAR(thd, alter_print_error) != 0, false)) {
handler_flags &= ~(Alter_inplace_info::ADD_INDEX + Alter_inplace_info::DROP_INDEX);
}
}
@@ -277,9 +282,9 @@ static bool only_flags(ulong bits, ulong mask) {
// must set WRITE_ALLOW_WRITE lock type in the external lock method to avoid deadlocks
// with the MDL lock and the table lock
enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *altered_table, Alter_inplace_info *ha_alter_info) {
- TOKUDB_DBUG_ENTER("check_if_supported_alter");
+ TOKUDB_HANDLER_DBUG_ENTER("");
- if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE_INFO) {
+ if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE) {
print_alter_info(altered_table, ha_alter_info);
}
@@ -289,7 +294,7 @@ enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *alt
// setup context
tokudb_alter_ctx *ctx = new tokudb_alter_ctx;
ha_alter_info->handler_ctx = ctx;
- ctx->handler_flags = fix_handler_flags(table, altered_table, ha_alter_info);
+ ctx->handler_flags = fix_handler_flags(thd, table, altered_table, ha_alter_info);
ctx->table_kc_info = &share->kc_info;
ctx->altered_table_kc_info = &ctx->altered_table_kc_info_base;
memset(ctx->altered_table_kc_info, 0, sizeof (KEY_AND_COL_INFO));
@@ -300,8 +305,9 @@ enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *alt
// add or drop index
if (only_flags(ctx->handler_flags, Alter_inplace_info::DROP_INDEX + Alter_inplace_info::DROP_UNIQUE_INDEX +
Alter_inplace_info::ADD_INDEX + Alter_inplace_info::ADD_UNIQUE_INDEX)) {
- if ((ha_alter_info->index_add_count > 0 || ha_alter_info->index_drop_count > 0) &&
- !tables_have_same_keys(table, altered_table, false, false) &&
+ if (table->s->null_bytes == altered_table->s->null_bytes &&
+ (ha_alter_info->index_add_count > 0 || ha_alter_info->index_drop_count > 0) &&
+ !tables_have_same_keys(table, altered_table, THDVAR(thd, alter_print_error) != 0, false) &&
is_disjoint_add_drop(ha_alter_info)) {
if (ctx->handler_flags & (Alter_inplace_info::DROP_INDEX + Alter_inplace_info::DROP_UNIQUE_INDEX)) {
@@ -325,7 +331,8 @@ enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *alt
} else
// column default
if (only_flags(ctx->handler_flags, Alter_inplace_info::ALTER_COLUMN_DEFAULT)) {
- result = HA_ALTER_INPLACE_EXCLUSIVE_LOCK;
+ if (table->s->null_bytes == altered_table->s->null_bytes)
+ result = HA_ALTER_INPLACE_EXCLUSIVE_LOCK;
} else
// column rename
if (ctx->handler_flags & Alter_inplace_info::ALTER_COLUMN_NAME &&
@@ -339,9 +346,11 @@ enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *alt
// now need to verify that one and only one column
// has changed only its name. If we find anything to
// the contrary, we don't allow it, also check indexes
- bool cr_supported = column_rename_supported(table, altered_table, (ctx->handler_flags & Alter_inplace_info::ALTER_COLUMN_ORDER) != 0);
- if (cr_supported)
- result = HA_ALTER_INPLACE_EXCLUSIVE_LOCK;
+ if (table->s->null_bytes == altered_table->s->null_bytes) {
+ bool cr_supported = column_rename_supported(table, altered_table, (ctx->handler_flags & Alter_inplace_info::ALTER_COLUMN_ORDER) != 0);
+ if (cr_supported)
+ result = HA_ALTER_INPLACE_EXCLUSIVE_LOCK;
+ }
} else
// add column
if (ctx->handler_flags & Alter_inplace_info::ADD_COLUMN &&
@@ -352,7 +361,7 @@ enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *alt
uint32_t num_added_columns = 0;
int r = find_changed_columns(added_columns, &num_added_columns, table, altered_table);
if (r == 0) {
- if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE_INFO) {
+ if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE) {
for (uint32_t i = 0; i < num_added_columns; i++) {
uint32_t curr_added_index = added_columns[i];
Field* curr_added_field = altered_table->field[curr_added_index];
@@ -371,7 +380,7 @@ enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *alt
uint32_t num_dropped_columns = 0;
int r = find_changed_columns(dropped_columns, &num_dropped_columns, altered_table, table);
if (r == 0) {
- if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE_INFO) {
+ if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE) {
for (uint32_t i = 0; i < num_dropped_columns; i++) {
uint32_t curr_dropped_index = dropped_columns[i];
Field* curr_dropped_field = table->field[curr_dropped_index];
@@ -411,31 +420,37 @@ enum_alter_inplace_result ha_tokudb::check_if_supported_inplace_alter(TABLE *alt
// alter auto_increment
if (only_flags(create_info->used_fields, HA_CREATE_USED_AUTO)) {
// do a sanity check that the table is what we think it is
- if (tables_have_same_keys_and_columns(table, altered_table, true)) {
+ if (tables_have_same_keys_and_columns(table, altered_table, THDVAR(thd, alter_print_error) != 0)) {
result = HA_ALTER_INPLACE_EXCLUSIVE_LOCK;
}
}
// alter row_format
else if (only_flags(create_info->used_fields, HA_CREATE_USED_ROW_FORMAT)) {
// do a sanity check that the table is what we think it is
- if (tables_have_same_keys_and_columns(table, altered_table, true)) {
+ if (tables_have_same_keys_and_columns(table, altered_table, THDVAR(thd, alter_print_error) != 0)) {
result = HA_ALTER_INPLACE_EXCLUSIVE_LOCK;
}
}
}
+ if (result != HA_ALTER_INPLACE_NOT_SUPPORTED && table->s->null_bytes != altered_table->s->null_bytes &&
+ (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE)) {
+ TOKUDB_HANDLER_TRACE("q %s", thd->query());
+ TOKUDB_HANDLER_TRACE("null bytes %u -> %u", table->s->null_bytes, altered_table->s->null_bytes);
+ }
+
// turn a not supported result into an error if the slow alter table (copy) is disabled
if (result == HA_ALTER_INPLACE_NOT_SUPPORTED && get_disable_slow_alter(thd)) {
print_error(HA_ERR_UNSUPPORTED, MYF(0));
result = HA_ALTER_ERROR;
}
-
+
DBUG_RETURN(result);
}
// Prepare for the alter operations
bool ha_tokudb::prepare_inplace_alter_table(TABLE *altered_table, Alter_inplace_info *ha_alter_info) {
- TOKUDB_DBUG_ENTER("prepare_inplace_alter_table");
+ TOKUDB_HANDLER_DBUG_ENTER("");
tokudb_alter_ctx *ctx = static_cast<tokudb_alter_ctx *>(ha_alter_info->handler_ctx);
assert(transaction); // transaction must exist after table is locked
ctx->alter_txn = transaction;
@@ -445,7 +460,7 @@ bool ha_tokudb::prepare_inplace_alter_table(TABLE *altered_table, Alter_inplace_
// Execute the alter operations.
bool ha_tokudb::inplace_alter_table(TABLE *altered_table, Alter_inplace_info *ha_alter_info) {
- TOKUDB_DBUG_ENTER("inplace_alter_table");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
tokudb_alter_ctx *ctx = static_cast<tokudb_alter_ctx *>(ha_alter_info->handler_ctx);
@@ -471,7 +486,7 @@ bool ha_tokudb::inplace_alter_table(TABLE *altered_table, Alter_inplace_info *ha
// Set the new compression
enum toku_compression_method method = row_type_to_compression_method((srv_row_format_t)create_info->option_struct->row_format);
- uint32_t curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint32_t curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
for (uint32_t i = 0; i < curr_num_DBs; i++) {
db = share->key_file[i];
error = db->change_compression_method(db, method);
@@ -495,7 +510,8 @@ bool ha_tokudb::inplace_alter_table(TABLE *altered_table, Alter_inplace_info *ha
if (error == 0 && ctx->reset_card)
tokudb::set_card_from_status(share->status_block, ctx->alter_txn, table->s, altered_table->s);
-#if 50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
+#if (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799)
if (error == 0 && (TOKU_PARTITION_WRITE_FRM_DATA || altered_table->part_info == NULL)) {
error = write_frm_data(share->status_block, ctx->alter_txn, altered_table->s->path.str);
}
@@ -513,7 +529,7 @@ bool ha_tokudb::inplace_alter_table(TABLE *altered_table, Alter_inplace_info *ha
int ha_tokudb::alter_table_add_index(TABLE *altered_table, Alter_inplace_info *ha_alter_info) {
// sort keys in add index order
- KEY *key_info = (KEY*) my_malloc(sizeof (KEY) * ha_alter_info->index_add_count, MYF(MY_WME));
+ KEY *key_info = (KEY*) tokudb_my_malloc(sizeof (KEY) * ha_alter_info->index_add_count, MYF(MY_WME));
for (uint i = 0; i < ha_alter_info->index_add_count; i++) {
KEY *key = &key_info[i];
*key = ha_alter_info->key_info_buffer[ha_alter_info->index_add_buffer[i]];
@@ -532,7 +548,7 @@ int ha_tokudb::alter_table_add_index(TABLE *altered_table, Alter_inplace_info *h
last_dup_key = MAX_KEY;
}
- my_free(key_info);
+ tokudb_my_free(key_info);
if (error == 0)
ctx->reset_card = true;
@@ -594,7 +610,7 @@ int ha_tokudb::alter_table_add_or_drop_column(TABLE *altered_table, Alter_inplac
uint32_t max_column_extra_size;
uint32_t num_column_extra;
uint32_t num_columns = 0;
- uint32_t curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint32_t curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
uint32_t columns[table->s->fields + altered_table->s->fields]; // set size such that we know it is big enough for both cases
memset(columns, 0, sizeof(columns));
@@ -622,7 +638,7 @@ int ha_tokudb::alter_table_add_or_drop_column(TABLE *altered_table, Alter_inplac
4 + num_columns*(1+1+4+1+1+4) + altered_table->s->reclength + // max dynamic row_mutator
(4 + share->kc_info.num_blobs) + // max static blob size
(num_columns*(1+4+1+4)); // max dynamic blob size
- column_extra = (uchar *)my_malloc(max_column_extra_size, MYF(MY_WME));
+ column_extra = (uchar *)tokudb_my_malloc(max_column_extra_size, MYF(MY_WME));
if (column_extra == NULL) { error = ENOMEM; goto cleanup; }
for (uint32_t i = 0; i < curr_num_DBs; i++) {
@@ -632,7 +648,7 @@ int ha_tokudb::alter_table_add_or_drop_column(TABLE *altered_table, Alter_inplac
if (error)
goto cleanup;
error = share->key_file[i]->change_descriptor(share->key_file[i], ctx->alter_txn, &row_descriptor, 0);
- my_free(row_descriptor.data);
+ tokudb_my_free(row_descriptor.data);
if (error)
goto cleanup;
@@ -663,7 +679,7 @@ int ha_tokudb::alter_table_add_or_drop_column(TABLE *altered_table, Alter_inplac
error = 0;
cleanup:
- my_free(column_extra);
+ tokudb_my_free(column_extra);
return error;
}
@@ -671,13 +687,36 @@ int ha_tokudb::alter_table_add_or_drop_column(TABLE *altered_table, Alter_inplac
// If commit then write the new frm data to the status using the alter transaction.
// If abort then abort the alter transaction and try to rollback the non-transactional changes.
bool ha_tokudb::commit_inplace_alter_table(TABLE *altered_table, Alter_inplace_info *ha_alter_info, bool commit) {
- TOKUDB_DBUG_ENTER("commit_inplace_alter_table");
+ TOKUDB_HANDLER_DBUG_ENTER("");
tokudb_alter_ctx *ctx = static_cast<tokudb_alter_ctx *>(ha_alter_info->handler_ctx);
bool result = false; // success
+ THD *thd = ha_thd();
+ MDL_ticket *ticket = table->mdl_ticket;
+ if (ticket->get_type() != MDL_EXCLUSIVE) {
+ // get exclusive lock no matter what
+#if defined(MARIADB_BASE_VERSION)
+ killed_state saved_killed_state = thd->killed;
+ thd->killed = NOT_KILLED;
+ while (wait_while_table_is_used(thd, table, HA_EXTRA_NOT_USED) && thd->killed)
+ thd->killed = NOT_KILLED;
+ assert(ticket->get_type() == MDL_EXCLUSIVE);
+ if (thd->killed == NOT_KILLED)
+ thd->killed = saved_killed_state;
+#else
+ THD::killed_state saved_killed_state = thd->killed;
+ thd->killed = THD::NOT_KILLED;
+ while (wait_while_table_is_used(thd, table, HA_EXTRA_NOT_USED) && thd->killed)
+ thd->killed = THD::NOT_KILLED;
+ assert(ticket->get_type() == MDL_EXCLUSIVE);
+ if (thd->killed == THD::NOT_KILLED)
+ thd->killed = saved_killed_state;
+#endif
+ }
if (commit) {
-#if 50613 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
+#if (50613 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799)
if (ha_alter_info->group_commit_ctx) {
ha_alter_info->group_commit_ctx = NULL;
}
@@ -694,7 +733,6 @@ bool ha_tokudb::commit_inplace_alter_table(TABLE *altered_table, Alter_inplace_i
if (!commit) {
// abort the alter transaction NOW so that any alters are rolled back. this allows the following restores to work.
- THD *thd = ha_thd();
tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot);
assert(ctx->alter_txn == trx->stmt);
assert(trx->tokudb_lock_count > 0);
@@ -721,7 +759,7 @@ bool ha_tokudb::commit_inplace_alter_table(TABLE *altered_table, Alter_inplace_i
restore_drop_indexes(table, index_drop_offsets, ha_alter_info->index_drop_count);
}
if (ctx->compression_changed) {
- uint32_t curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint32_t curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
for (uint32_t i = 0; i < curr_num_DBs; i++) {
DB *db = share->key_file[i];
int error = db->change_compression_method(db, ctx->orig_compression_method);
@@ -746,7 +784,7 @@ int ha_tokudb::alter_table_expand_varchar_offsets(TABLE *altered_table, Alter_in
int error = 0;
tokudb_alter_ctx *ctx = static_cast<tokudb_alter_ctx *>(ha_alter_info->handler_ctx);
- uint32_t curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint32_t curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
for (uint32_t i = 0; i < curr_num_DBs; i++) {
// change to a new descriptor
DBT row_descriptor; memset(&row_descriptor, 0, sizeof row_descriptor);
@@ -754,7 +792,7 @@ int ha_tokudb::alter_table_expand_varchar_offsets(TABLE *altered_table, Alter_in
if (error)
break;
error = share->key_file[i]->change_descriptor(share->key_file[i], ctx->alter_txn, &row_descriptor, 0);
- my_free(row_descriptor.data);
+ tokudb_my_free(row_descriptor.data);
if (error)
break;
@@ -767,7 +805,7 @@ int ha_tokudb::alter_table_expand_varchar_offsets(TABLE *altered_table, Alter_in
// make the expand variable offsets message
DBT expand; memset(&expand, 0, sizeof expand);
expand.size = sizeof (uchar) + sizeof offset_start + sizeof offset_end;
- expand.data = my_malloc(expand.size, MYF(MY_WME));
+ expand.data = tokudb_my_malloc(expand.size, MYF(MY_WME));
if (!expand.data) {
error = ENOMEM;
break;
@@ -784,7 +822,7 @@ int ha_tokudb::alter_table_expand_varchar_offsets(TABLE *altered_table, Alter_in
// and broadcast it into the tree
error = share->key_file[i]->update_broadcast(share->key_file[i], ctx->alter_txn, &expand, DB_IS_RESETTING_OP);
- my_free(expand.data);
+ tokudb_my_free(expand.data);
if (error)
break;
}
@@ -835,7 +873,7 @@ static bool change_length_is_supported(TABLE *table, TABLE *altered_table, Alter
return false;
if (ctx->changed_fields.elements() > 1)
return false; // only support one field change
- for (uint ai = 0; ai < ctx->changed_fields.elements(); ai++) {
+ for (DYNAMIC_ARRAY_ELEMENTS_TYPE ai = 0; ai < ctx->changed_fields.elements(); ai++) {
uint i = ctx->changed_fields.at(ai);
Field *old_field = table->field[i];
Field *new_field = altered_table->field[i];
@@ -857,7 +895,7 @@ static bool is_sorted(Dynamic_array<uint> &a) {
bool r = true;
if (a.elements() > 0) {
uint lastelement = a.at(0);
- for (uint i = 1; i < a.elements(); i++)
+ for (DYNAMIC_ARRAY_ELEMENTS_TYPE i = 1; i < a.elements(); i++)
if (lastelement > a.at(i))
r = false;
}
@@ -868,7 +906,7 @@ int ha_tokudb::alter_table_expand_columns(TABLE *altered_table, Alter_inplace_in
int error = 0;
tokudb_alter_ctx *ctx = static_cast<tokudb_alter_ctx *>(ha_alter_info->handler_ctx);
assert(is_sorted(ctx->changed_fields)); // since we build the changed_fields array in field order, it must be sorted
- for (uint ai = 0; error == 0 && ai < ctx->changed_fields.elements(); ai++) {
+ for (DYNAMIC_ARRAY_ELEMENTS_TYPE ai = 0; error == 0 && ai < ctx->changed_fields.elements(); ai++) {
uint expand_field_num = ctx->changed_fields.at(ai);
error = alter_table_expand_one_column(altered_table, ha_alter_info, expand_field_num);
}
@@ -928,7 +966,7 @@ int ha_tokudb::alter_table_expand_one_column(TABLE *altered_table, Alter_inplace
assert(0);
}
- uint32_t curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint32_t curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
for (uint32_t i = 0; i < curr_num_DBs; i++) {
// change to a new descriptor
DBT row_descriptor; memset(&row_descriptor, 0, sizeof row_descriptor);
@@ -936,7 +974,7 @@ int ha_tokudb::alter_table_expand_one_column(TABLE *altered_table, Alter_inplace
if (error)
break;
error = share->key_file[i]->change_descriptor(share->key_file[i], ctx->alter_txn, &row_descriptor, 0);
- my_free(row_descriptor.data);
+ tokudb_my_free(row_descriptor.data);
if (error)
break;
@@ -956,7 +994,7 @@ int ha_tokudb::alter_table_expand_one_column(TABLE *altered_table, Alter_inplace
expand.size = sizeof operation + sizeof new_offset + sizeof old_length + sizeof new_length;
if (operation == UPDATE_OP_EXPAND_CHAR || operation == UPDATE_OP_EXPAND_BINARY)
expand.size += sizeof pad_char;
- expand.data = my_malloc(expand.size, MYF(MY_WME));
+ expand.data = tokudb_my_malloc(expand.size, MYF(MY_WME));
if (!expand.data) {
error = ENOMEM;
break;
@@ -985,7 +1023,7 @@ int ha_tokudb::alter_table_expand_one_column(TABLE *altered_table, Alter_inplace
// and broadcast it into the tree
error = share->key_file[i]->update_broadcast(share->key_file[i], ctx->alter_txn, &expand, DB_IS_RESETTING_OP);
- my_free(expand.data);
+ tokudb_my_free(expand.data);
if (error)
break;
}
@@ -1007,7 +1045,7 @@ int ha_tokudb::alter_table_expand_blobs(TABLE *altered_table, Alter_inplace_info
int error = 0;
tokudb_alter_ctx *ctx = static_cast<tokudb_alter_ctx *>(ha_alter_info->handler_ctx);
- uint32_t curr_num_DBs = table->s->keys + test(hidden_primary_key);
+ uint32_t curr_num_DBs = table->s->keys + tokudb_test(hidden_primary_key);
for (uint32_t i = 0; i < curr_num_DBs; i++) {
// change to a new descriptor
DBT row_descriptor; memset(&row_descriptor, 0, sizeof row_descriptor);
@@ -1015,7 +1053,7 @@ int ha_tokudb::alter_table_expand_blobs(TABLE *altered_table, Alter_inplace_info
if (error)
break;
error = share->key_file[i]->change_descriptor(share->key_file[i], ctx->alter_txn, &row_descriptor, 0);
- my_free(row_descriptor.data);
+ tokudb_my_free(row_descriptor.data);
if (error)
break;
@@ -1126,7 +1164,7 @@ static bool change_type_is_supported(TABLE *table, TABLE *altered_table, Alter_i
return false;
if (ctx->changed_fields.elements() > 1)
return false; // only support one field change
- for (uint ai = 0; ai < ctx->changed_fields.elements(); ai++) {
+ for (DYNAMIC_ARRAY_ELEMENTS_TYPE ai = 0; ai < ctx->changed_fields.elements(); ai++) {
uint i = ctx->changed_fields.at(ai);
Field *old_field = table->field[i];
Field *new_field = altered_table->field[i];
@@ -1145,7 +1183,7 @@ int ha_tokudb::new_row_descriptor(TABLE *table, TABLE *altered_table, Alter_inpl
int error = 0;
tokudb_alter_ctx *ctx = static_cast<tokudb_alter_ctx *>(ha_alter_info->handler_ctx);
row_descriptor->size = get_max_desc_size(ctx->altered_table_kc_info, altered_table);
- row_descriptor->data = (uchar *) my_malloc(row_descriptor->size, MYF(MY_WME));
+ row_descriptor->data = (uchar *) tokudb_my_malloc(row_descriptor->size, MYF(MY_WME));
if (row_descriptor->data == NULL) {
error = ENOMEM;
} else {
diff --git a/storage/tokudb/ha_tokudb_alter_common.cc b/storage/tokudb/ha_tokudb_alter_common.cc
index 1731f953088..ecef0fb7415 100644
--- a/storage/tokudb/ha_tokudb_alter_common.cc
+++ b/storage/tokudb/ha_tokudb_alter_common.cc
@@ -423,7 +423,7 @@ static uint32_t fill_dynamic_row_mutator(
pos++;
}
}
- if (src_kc_info->field_lengths[curr_index] != 0) {
+ if (is_fixed_field(src_kc_info, curr_index)) {
// we have a fixed field being dropped
// store the offset and the number of bytes
pos[0] = COL_FIXED;
@@ -446,7 +446,7 @@ static uint32_t fill_dynamic_row_mutator(
pos += num_bytes;
}
}
- else if (src_kc_info->length_bytes[curr_index] != 0) {
+ else if (is_variable_field(src_kc_info, curr_index)) {
pos[0] = COL_VAR;
pos++;
//store the index of the variable column
@@ -516,10 +516,7 @@ static uint32_t fill_dynamic_blob_row_mutator(
for (uint32_t i = 0; i < num_columns; i++) {
uint32_t curr_field_index = columns[i];
Field* curr_field = src_table->field[curr_field_index];
- if (src_kc_info->field_lengths[curr_field_index] == 0 &&
- src_kc_info->length_bytes[curr_field_index]== 0
- )
- {
+ if (is_blob_field(src_kc_info, curr_field_index)) {
// find out which blob it is
uint32_t blob_index = src_kc_info->num_blobs;
for (uint32_t j = 0; j < src_kc_info->num_blobs; j++) {
@@ -547,10 +544,6 @@ static uint32_t fill_dynamic_blob_row_mutator(
pos += len_bytes;
}
}
- else {
- // not a blob, continue
- continue;
- }
}
return pos-buf;
}
@@ -568,7 +561,7 @@ uint32_t ha_tokudb::fill_row_mutator(
bool is_add
)
{
- if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE_INFO) {
+ if (tokudb_debug & TOKUDB_DEBUG_ALTER_TABLE) {
printf("*****some info:*************\n");
printf(
"old things: num_null_bytes %d, num_offset_bytes %d, fixed_field_size %d, fixed_field_size %d\n",
diff --git a/storage/tokudb/ha_tokudb_update.cc b/storage/tokudb/ha_tokudb_update.cc
index 94d687da67c..d2d4679b636 100644
--- a/storage/tokudb/ha_tokudb_update.cc
+++ b/storage/tokudb/ha_tokudb_update.cc
@@ -252,7 +252,7 @@ static uint32_t blob_field_index(TABLE *table, KEY_AND_COL_INFO *kc_info, uint i
// of where conditions (conds). The function returns 0 if the update is handled in the storage engine.
// Otherwise, an error is returned.
int ha_tokudb::fast_update(THD *thd, List<Item> &update_fields, List<Item> &update_values, Item *conds) {
- TOKUDB_DBUG_ENTER("ha_tokudb::fast_update");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
if (tokudb_debug & TOKUDB_DEBUG_UPSERT) {
@@ -287,7 +287,7 @@ check_error:
}
return_error:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
// Return true if an expression is a simple int expression or a simple function of +- int expression.
@@ -549,7 +549,7 @@ static bool is_strict_mode(THD *thd) {
#if 50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
return thd->is_strict_mode();
#else
- return test(thd->variables.sql_mode & (MODE_STRICT_TRANS_TABLES | MODE_STRICT_ALL_TABLES));
+ return tokudb_test(thd->variables.sql_mode & (MODE_STRICT_TRANS_TABLES | MODE_STRICT_ALL_TABLES));
#endif
}
@@ -837,7 +837,7 @@ int ha_tokudb::send_update_message(List<Item> &update_fields, List<Item> &update
rw_rdlock(&share->num_DBs_lock);
- if (share->num_DBs > table->s->keys + test(hidden_primary_key)) { // hot index in progress
+ if (share->num_DBs > table->s->keys + tokudb_test(hidden_primary_key)) { // hot index in progress
error = ENOTSUP; // run on the slow path
} else {
// send the update message
@@ -856,7 +856,7 @@ int ha_tokudb::send_update_message(List<Item> &update_fields, List<Item> &update
// An upsert consists of a row and a list of update expressions (update_fields[i] = update_values[i]).
// The function returns 0 if the upsert is handled in the storage engine. Otherwise, an error code is returned.
int ha_tokudb::upsert(THD *thd, List<Item> &update_fields, List<Item> &update_values) {
- TOKUDB_DBUG_ENTER("ha_tokudb::upsert");
+ TOKUDB_HANDLER_DBUG_ENTER("");
int error = 0;
@@ -890,7 +890,7 @@ check_error:
}
return_error:
- TOKUDB_DBUG_RETURN(error);
+ TOKUDB_HANDLER_DBUG_RETURN(error);
}
// Check if an upsert can be handled by this storage engine. Return trus if it can.
@@ -990,7 +990,7 @@ int ha_tokudb::send_upsert_message(THD *thd, List<Item> &update_fields, List<Ite
rw_rdlock(&share->num_DBs_lock);
- if (share->num_DBs > table->s->keys + test(hidden_primary_key)) { // hot index in progress
+ if (share->num_DBs > table->s->keys + tokudb_test(hidden_primary_key)) { // hot index in progress
error = ENOTSUP; // run on the slow path
} else {
// send the upsert message
diff --git a/storage/tokudb/hatoku_cmp.cc b/storage/tokudb/hatoku_cmp.cc
index 30f281d271d..45bd44eec3c 100644
--- a/storage/tokudb/hatoku_cmp.cc
+++ b/storage/tokudb/hatoku_cmp.cc
@@ -98,7 +98,7 @@ PATENT RIGHTS GRANT:
// in a TokuDB table. The non-valid fields are those
// that have been deprecated since before 5.1, and can
// only exist through upgrades of old versions of MySQL
-bool field_valid_for_tokudb_table(Field* field) {
+static bool field_valid_for_tokudb_table(Field* field) {
bool ret_val = false;
enum_field_types mysql_type = field->real_type();
switch (mysql_type) {
@@ -117,7 +117,9 @@ bool field_valid_for_tokudb_table(Field* field) {
case MYSQL_TYPE_TIMESTAMP:
case MYSQL_TYPE_DOUBLE:
case MYSQL_TYPE_FLOAT:
-#if 50600 <= MYSQL_VERSION_ID
+#if (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799) || \
+ (100000 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 100099)
case MYSQL_TYPE_DATETIME2:
case MYSQL_TYPE_TIMESTAMP2:
case MYSQL_TYPE_TIME2:
@@ -149,7 +151,7 @@ exit:
return ret_val;
}
-void get_var_field_info(
+static void get_var_field_info(
uint32_t* field_len, // output: length of field
uint32_t* start_offset, // output, length of offset where data starts
uint32_t var_field_index, //input, index of var field we want info on
@@ -193,7 +195,7 @@ void get_var_field_info(
*field_len = data_end_offset - data_start_offset;
}
-void get_blob_field_info(
+static void get_blob_field_info(
uint32_t* start_offset,
uint32_t len_of_offsets,
const uchar* var_field_data_ptr,
@@ -229,7 +231,7 @@ void get_blob_field_info(
// this function is pattern matched from
// InnoDB's get_innobase_type_from_mysql_type
-TOKU_TYPE mysql_to_toku_type (Field* field) {
+static TOKU_TYPE mysql_to_toku_type (Field* field) {
TOKU_TYPE ret_val = toku_type_unknown;
enum_field_types mysql_type = field->real_type();
switch (mysql_type) {
@@ -264,7 +266,9 @@ TOKU_TYPE mysql_to_toku_type (Field* field) {
case MYSQL_TYPE_FLOAT:
ret_val = toku_type_float;
goto exit;
-#if 50600 <= MYSQL_VERSION_ID
+#if (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799) || \
+ (100000 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 100099)
case MYSQL_TYPE_DATETIME2:
case MYSQL_TYPE_TIMESTAMP2:
case MYSQL_TYPE_TIME2:
@@ -424,8 +428,8 @@ static inline int cmp_toku_int (uchar* a_buf, uchar* b_buf, bool is_unsigned, ui
ret_val = a_num-b_num;
goto exit;
case (3):
- a_num = uint3korr(a_buf);
- b_num = uint3korr(b_buf);
+ a_num = tokudb_uint3korr(a_buf);
+ b_num = tokudb_uint3korr(b_buf);
ret_val = a_num-b_num;
goto exit;
case (4):
@@ -614,7 +618,7 @@ exit:
//
// partially copied from below
//
-uchar* pack_toku_varbinary_from_desc(
+static uchar* pack_toku_varbinary_from_desc(
uchar* to_tokudb,
const uchar* from_desc,
uint32_t key_part_length, //number of bytes to use to encode the length in to_tokudb
@@ -659,7 +663,7 @@ static inline uchar* pack_toku_varbinary(
length = uint2korr(from_mysql);
break;
case (3):
- length = uint3korr(from_mysql);
+ length = tokudb_uint3korr(from_mysql);
break;
case (4):
length = uint4korr(from_mysql);
@@ -773,7 +777,7 @@ static inline uchar* pack_toku_blob(
length = uint2korr(from_mysql);
break;
case (3):
- length = uint3korr(from_mysql);
+ length = tokudb_uint3korr(from_mysql);
break;
case (4):
length = uint4korr(from_mysql);
@@ -854,7 +858,7 @@ static inline uchar* unpack_toku_blob(
//
// partially copied from below
//
-uchar* pack_toku_varstring_from_desc(
+static uchar* pack_toku_varstring_from_desc(
uchar* to_tokudb,
const uchar* from_desc,
uint32_t key_part_length, //number of bytes to use to encode the length in to_tokudb
@@ -928,7 +932,7 @@ static inline uchar* pack_toku_varstring(
length = uint2korr(from_mysql);
break;
case (3):
- length = uint3korr(from_mysql);
+ length = tokudb_uint3korr(from_mysql);
break;
case (4):
length = uint4korr(from_mysql);
@@ -1034,7 +1038,7 @@ static inline int tokudb_compare_two_hidden_keys(
// created in create_toku_key_descriptor_for_key. The first
// byte points to the TOKU_TYPE.
//
-uint32_t skip_field_in_descriptor(uchar* row_desc) {
+static uint32_t skip_field_in_descriptor(uchar* row_desc) {
uchar* row_desc_pos = row_desc;
TOKU_TYPE toku_type = (TOKU_TYPE)row_desc_pos[0];
row_desc_pos++;
@@ -1069,7 +1073,7 @@ uint32_t skip_field_in_descriptor(uchar* row_desc) {
// to store the descriptor. Number of bytes used MUST match number of bytes
// we would skip in skip_field_in_descriptor
//
-int create_toku_key_descriptor_for_key(KEY* key, uchar* buf) {
+static int create_toku_key_descriptor_for_key(KEY* key, uchar* buf) {
uchar* pos = buf;
uint32_t num_bytes_in_field = 0;
uint32_t charset_num = 0;
@@ -1174,7 +1178,7 @@ int create_toku_key_descriptor_for_key(KEY* key, uchar* buf) {
// to the descriptor, we can.
//
//
-int create_toku_key_descriptor(
+static int create_toku_key_descriptor(
uchar* buf,
bool is_first_hpk,
KEY* first_key,
@@ -1350,7 +1354,7 @@ static inline int compare_toku_field(
// packs a field from a MySQL buffer into a tokudb buffer.
// Used for inserts/updates
//
-uchar* pack_toku_key_field(
+static uchar* pack_toku_key_field(
uchar* to_tokudb,
uchar* from_mysql,
Field* field,
@@ -1443,7 +1447,7 @@ exit:
// use 2 bytes to encode the length, regardless of the field
// So varchar(4) will still use 2 bytes to encode the field
//
-uchar* pack_key_toku_key_field(
+static uchar* pack_key_toku_key_field(
uchar* to_tokudb,
uchar* from_mysql,
Field* field,
@@ -1566,7 +1570,7 @@ exit:
}
-int tokudb_compare_two_keys(
+static int tokudb_compare_two_keys(
const void* new_key_data,
const uint32_t new_key_size,
const void* saved_key_data,
@@ -1700,7 +1704,7 @@ static int simple_memcmp(const DBT *keya, const DBT *keyb) {
}
// comparison function to be used by the fractal trees.
-int tokudb_cmp_dbt_key(DB* file, const DBT *keya, const DBT *keyb) {
+static int tokudb_cmp_dbt_key(DB* file, const DBT *keya, const DBT *keyb) {
int cmp;
if (file->cmp_descriptor->dbt.size == 0) {
cmp = simple_memcmp(keya, keyb);
@@ -1728,7 +1732,7 @@ int tokudb_cmp_dbt_key(DB* file, const DBT *keya, const DBT *keyb) {
}
//TODO: QQQ Only do one direction for prefix.
-int tokudb_prefix_cmp_dbt_key(DB *file, const DBT *keya, const DBT *keyb) {
+static int tokudb_prefix_cmp_dbt_key(DB *file, const DBT *keya, const DBT *keyb) {
// calls to this function are done by the handlerton, and are
// comparing just the keys as MySQL would compare them.
bool read_string = false;
@@ -1848,7 +1852,7 @@ static int tokudb_cmp_dbt_key_parts(DB *file, const DBT *keya, const DBT *keyb,
max_parts);
}
-uint32_t create_toku_main_key_pack_descriptor (
+static uint32_t create_toku_main_key_pack_descriptor (
uchar* buf
)
{
@@ -1876,10 +1880,6 @@ exit:
return pos - buf;
}
-#define COL_FIX_FIELD 0x11
-#define COL_VAR_FIELD 0x22
-#define COL_BLOB_FIELD 0x33
-
#define COL_HAS_NO_CHARSET 0x44
#define COL_HAS_CHARSET 0x55
@@ -1897,7 +1897,7 @@ exit:
pos += sizeof(uint32_t);
-uint32_t pack_desc_pk_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
+static uint32_t pack_desc_pk_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
uchar* pos = buf;
uint16 field_index = key_part->field->field_index;
Field* field = table_share->field[field_index];
@@ -1942,7 +1942,7 @@ uint32_t pack_desc_pk_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE* t
return pos - buf;
}
-uint32_t pack_desc_pk_offset_info(
+static uint32_t pack_desc_pk_offset_info(
uchar* buf,
KEY_AND_COL_INFO* kc_info,
TABLE_SHARE* table_share,
@@ -1991,7 +1991,7 @@ uint32_t pack_desc_pk_offset_info(
return pos - buf;
}
-uint32_t pack_desc_offset_info(uchar* buf, KEY_AND_COL_INFO* kc_info, uint pk_index, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
+static uint32_t pack_desc_offset_info(uchar* buf, KEY_AND_COL_INFO* kc_info, uint pk_index, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
uchar* pos = buf;
uint16 field_index = key_part->field->field_index;
Field* field = table_share->field[field_index];
@@ -2040,7 +2040,7 @@ uint32_t pack_desc_offset_info(uchar* buf, KEY_AND_COL_INFO* kc_info, uint pk_in
return pos - buf;
}
-uint32_t pack_desc_key_length_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
+static uint32_t pack_desc_key_length_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
uchar* pos = buf;
uint16 field_index = key_part->field->field_index;
Field* field = table_share->field[field_index];
@@ -2075,7 +2075,7 @@ uint32_t pack_desc_key_length_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_
return pos - buf;
}
-uint32_t pack_desc_char_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
+static uint32_t pack_desc_char_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE* table_share, KEY_PART_INFO* key_part) {
uchar* pos = buf;
uint16 field_index = key_part->field->field_index;
Field* field = table_share->field[field_index];
@@ -2112,7 +2112,7 @@ uint32_t pack_desc_char_info(uchar* buf, KEY_AND_COL_INFO* kc_info, TABLE_SHARE*
return pos - buf;
}
-uint32_t pack_some_row_info (
+static uint32_t pack_some_row_info (
uchar* buf,
uint pk_index,
TABLE_SHARE* table_share,
@@ -2141,7 +2141,7 @@ uint32_t pack_some_row_info (
return pos - buf;
}
-uint32_t get_max_clustering_val_pack_desc_size(
+static uint32_t get_max_clustering_val_pack_desc_size(
TABLE_SHARE* table_share
)
{
@@ -2168,7 +2168,7 @@ uint32_t get_max_clustering_val_pack_desc_size(
return ret_val;
}
-uint32_t create_toku_clustering_val_pack_descriptor (
+static uint32_t create_toku_clustering_val_pack_descriptor (
uchar* buf,
uint pk_index,
TABLE_SHARE* table_share,
@@ -2227,7 +2227,7 @@ uint32_t create_toku_clustering_val_pack_descriptor (
last_col = 0;
for (uint i = 0; i < table_share->fields; i++) {
bool col_filtered = bitmap_is_set(&kc_info->key_filters[keynr],i);
- if (kc_info->field_lengths[i] == 0) {
+ if (!is_fixed_field(kc_info, i)) {
//
// not a fixed field, continue
//
@@ -2274,7 +2274,7 @@ uint32_t create_toku_clustering_val_pack_descriptor (
last_col = 0;
for (uint i = 0; i < table_share->fields; i++) {
bool col_filtered = bitmap_is_set(&kc_info->key_filters[keynr],i);
- if (kc_info->length_bytes[i] == 0) {
+ if (!is_variable_field(kc_info, i)) {
//
// not a var field, continue
//
@@ -2322,7 +2322,7 @@ exit:
return pos - buf;
}
-uint32_t pack_clustering_val_from_desc(
+static uint32_t pack_clustering_val_from_desc(
uchar* buf,
void* row_desc,
uint32_t row_desc_size,
@@ -2476,7 +2476,7 @@ uint32_t pack_clustering_val_from_desc(
}
-uint32_t get_max_secondary_key_pack_desc_size(
+static uint32_t get_max_secondary_key_pack_desc_size(
KEY_AND_COL_INFO* kc_info
)
{
@@ -2515,7 +2515,7 @@ uint32_t get_max_secondary_key_pack_desc_size(
return ret_val;
}
-uint32_t create_toku_secondary_key_pack_descriptor (
+static uint32_t create_toku_secondary_key_pack_descriptor (
uchar* buf,
bool has_hpk,
uint pk_index,
@@ -2681,7 +2681,7 @@ uint32_t create_toku_secondary_key_pack_descriptor (
return pos - buf;
}
-uint32_t skip_key_in_desc(
+static uint32_t skip_key_in_desc(
uchar* row_desc
)
{
@@ -2717,7 +2717,7 @@ exit:
}
-uint32_t max_key_size_from_desc(
+static uint32_t max_key_size_from_desc(
void* row_desc,
uint32_t row_desc_size
)
@@ -2802,7 +2802,7 @@ uint32_t max_key_size_from_desc(
return max_size;
}
-uint32_t pack_key_from_desc(
+static uint32_t pack_key_from_desc(
uchar* buf,
void* row_desc,
uint32_t row_desc_size,
@@ -3140,19 +3140,11 @@ uint32_t pack_key_from_desc(
return (uint32_t)(packed_key_pos - buf); //
}
-bool fields_have_same_name(
- Field* a,
- Field* b
- )
-{
+static bool fields_have_same_name(Field* a, Field* b) {
return strcmp(a->field_name, b->field_name) == 0;
}
-bool fields_are_same_type(
- Field* a,
- Field* b
- )
-{
+static bool fields_are_same_type(Field* a, Field* b) {
bool retval = true;
enum_field_types a_mysql_type = a->real_type();
enum_field_types b_mysql_type = b->real_type();
@@ -3209,8 +3201,22 @@ bool fields_are_same_type(
goto cleanup;
}
break;
- case MYSQL_TYPE_ENUM:
- case MYSQL_TYPE_SET:
+ case MYSQL_TYPE_ENUM: {
+ Field_enum *a_enum = static_cast<Field_enum *>(a);
+ if (!a_enum->eq_def(b)) {
+ retval = false;
+ goto cleanup;
+ }
+ break;
+ }
+ case MYSQL_TYPE_SET: {
+ Field_set *a_set = static_cast<Field_set *>(a);
+ if (!a_set->eq_def(b)) {
+ retval = false;
+ goto cleanup;
+ }
+ break;
+ }
case MYSQL_TYPE_BIT:
// length
if (a->pack_length() != b->pack_length()) {
@@ -3224,7 +3230,9 @@ bool fields_are_same_type(
case MYSQL_TYPE_NEWDATE:
case MYSQL_TYPE_TIME:
case MYSQL_TYPE_TIMESTAMP:
-#if 50600 <= MYSQL_VERSION_ID
+#if (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799) || \
+ (100000 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 100099)
case MYSQL_TYPE_DATETIME2:
case MYSQL_TYPE_TIMESTAMP2:
case MYSQL_TYPE_TIME2:
@@ -3313,12 +3321,7 @@ cleanup:
return retval;
}
-
-bool are_two_fields_same(
- Field* a,
- Field* b
- )
-{
+static bool are_two_fields_same(Field* a, Field* b) {
return fields_have_same_name(a, b) && fields_are_same_type(a, b);
}
diff --git a/storage/tokudb/hatoku_cmp.h b/storage/tokudb/hatoku_cmp.h
index cb04c180e38..ca816ac52d8 100644
--- a/storage/tokudb/hatoku_cmp.h
+++ b/storage/tokudb/hatoku_cmp.h
@@ -156,7 +156,6 @@ typedef struct st_multi_col_pack_info {
uint32_t len_of_offsets; //length of the offset bytes in a packed row
} MULTI_COL_PACK_INFO;
-
typedef struct st_key_and_col_info {
//
// bitmaps for each key. key_filters[i] is associated with the i'th dictionary
@@ -181,8 +180,11 @@ typedef struct st_key_and_col_info {
// length_bytes[i] is 0
// 'i' shows up in blob_fields
//
+ void *multi_ptr;
+ enum { TOKUDB_FIXED_FIELD, TOKUDB_VARIABLE_FIELD, TOKUDB_BLOB_FIELD};
+ uint8_t *field_types;
uint16_t* field_lengths; //stores the field lengths of fixed size fields (1<<16 - 1 max),
- uchar* length_bytes; // stores the length of lengths of varchars and varbinaries
+ uint8_t* length_bytes; // stores the length of lengths of varchars and varbinaries
uint32_t* blob_fields; // list of indexes of blob fields,
uint32_t num_blobs; // number of blobs in the table
//
@@ -198,9 +200,21 @@ typedef struct st_key_and_col_info {
uint32_t num_offset_bytes; //number of bytes needed to encode the offset
} KEY_AND_COL_INFO;
-bool field_valid_for_tokudb_table(Field* field);
+static bool is_fixed_field(KEY_AND_COL_INFO *kcinfo, uint field_num) {
+ return kcinfo->field_types[field_num] == KEY_AND_COL_INFO::TOKUDB_FIXED_FIELD;
+}
+
+static bool is_variable_field(KEY_AND_COL_INFO *kcinfo, uint field_num) {
+ return kcinfo->field_types[field_num] == KEY_AND_COL_INFO::TOKUDB_VARIABLE_FIELD;
+}
+
+static bool is_blob_field(KEY_AND_COL_INFO *kcinfo, uint field_num) {
+ return kcinfo->field_types[field_num] == KEY_AND_COL_INFO::TOKUDB_BLOB_FIELD;
+}
+
+static bool field_valid_for_tokudb_table(Field* field);
-void get_var_field_info(
+static void get_var_field_info(
uint32_t* field_len,
uint32_t* start_offset,
uint32_t var_field_index,
@@ -208,7 +222,7 @@ void get_var_field_info(
uint32_t num_offset_bytes
);
-void get_blob_field_info(
+static void get_blob_field_info(
uint32_t* start_offset,
uint32_t len_of_offsets,
const uchar* var_field_data_ptr,
@@ -229,7 +243,7 @@ static inline uint32_t get_blob_field_len(
length = uint2korr(from_tokudb);
break;
case (3):
- length = uint3korr(from_tokudb);
+ length = tokudb_uint3korr(from_tokudb);
break;
case (4):
length = uint4korr(from_tokudb);
@@ -263,7 +277,8 @@ static inline const uchar* unpack_toku_field_blob(
}
static inline uint get_null_offset(TABLE* table, Field* field) {
-#if 50606 <= MYSQL_VERSION_ID
+#if (50606 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || \
+ (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799)
return field->null_offset(table->record[0]);
#else
return (uint) ((uchar*) field->null_ptr - (uchar*) table->record[0]);
@@ -284,16 +299,16 @@ typedef enum {
} TOKU_TYPE;
-TOKU_TYPE mysql_to_toku_type (Field* field);
+static TOKU_TYPE mysql_to_toku_type (Field* field);
-uchar* pack_toku_varbinary_from_desc(
+static uchar* pack_toku_varbinary_from_desc(
uchar* to_tokudb,
const uchar* from_desc,
uint32_t key_part_length, //number of bytes to use to encode the length in to_tokudb
uint32_t field_length //length of field
);
-uchar* pack_toku_varstring_from_desc(
+static uchar* pack_toku_varstring_from_desc(
uchar* to_tokudb,
const uchar* from_desc,
uint32_t key_part_length, //number of bytes to use to encode the length in to_tokudb
@@ -302,21 +317,21 @@ uchar* pack_toku_varstring_from_desc(
);
-uchar* pack_toku_key_field(
+static uchar* pack_toku_key_field(
uchar* to_tokudb,
uchar* from_mysql,
Field* field,
uint32_t key_part_length //I really hope this is temporary as I phase out the pack_cmp stuff
);
-uchar* pack_key_toku_key_field(
+static uchar* pack_key_toku_key_field(
uchar* to_tokudb,
uchar* from_mysql,
Field* field,
uint32_t key_part_length //I really hope this is temporary as I phase out the pack_cmp stuff
);
-uchar* unpack_toku_key_field(
+static uchar* unpack_toku_key_field(
uchar* to_mysql,
uchar* from_tokudb,
Field* field,
@@ -337,6 +352,10 @@ uchar* unpack_toku_key_field(
#define COL_ZERO 0
#define COL_POS_INF 1
+#define COL_FIX_FIELD 0x11
+#define COL_VAR_FIELD 0x22
+#define COL_BLOB_FIELD 0x33
+
//
// information for hidden primary keys
//
@@ -356,7 +375,7 @@ static inline ulonglong hpk_char_to_num(uchar* val) {
return uint8korr(val);
}
-int tokudb_compare_two_keys(
+static int tokudb_compare_two_keys(
const void* new_key_data,
const uint32_t new_key_size,
const void* saved_key_data,
@@ -367,10 +386,10 @@ int tokudb_compare_two_keys(
bool* read_string
);
-int tokudb_cmp_dbt_key(DB* db, const DBT *keya, const DBT *keyb);
+static int tokudb_cmp_dbt_key(DB* db, const DBT *keya, const DBT *keyb);
//TODO: QQQ Only do one direction for prefix.
-int tokudb_prefix_cmp_dbt_key(DB *file, const DBT *keya, const DBT *keyb);
+static int tokudb_prefix_cmp_dbt_key(DB *file, const DBT *keya, const DBT *keyb);
static int tokudb_compare_two_key_parts(
const void* new_key_data,
@@ -384,7 +403,7 @@ static int tokudb_compare_two_key_parts(
static int tokudb_cmp_dbt_key_parts(DB *file, const DBT *keya, const DBT *keyb, uint max_parts);
-int create_toku_key_descriptor(
+static int create_toku_key_descriptor(
uchar* buf,
bool is_first_hpk,
KEY* first_key,
@@ -393,15 +412,15 @@ int create_toku_key_descriptor(
);
-uint32_t create_toku_main_key_pack_descriptor (
+static uint32_t create_toku_main_key_pack_descriptor (
uchar* buf
);
-uint32_t get_max_clustering_val_pack_desc_size(
+static uint32_t get_max_clustering_val_pack_desc_size(
TABLE_SHARE* table_share
);
-uint32_t create_toku_clustering_val_pack_descriptor (
+static uint32_t create_toku_clustering_val_pack_descriptor (
uchar* buf,
uint pk_index,
TABLE_SHARE* table_share,
@@ -418,18 +437,18 @@ static inline bool is_key_clustering(
return (row_desc_size > 0);
}
-uint32_t pack_clustering_val_from_desc(
+static uint32_t pack_clustering_val_from_desc(
uchar* buf,
void* row_desc,
uint32_t row_desc_size,
const DBT* pk_val
);
-uint32_t get_max_secondary_key_pack_desc_size(
+static uint32_t get_max_secondary_key_pack_desc_size(
KEY_AND_COL_INFO* kc_info
);
-uint32_t create_toku_secondary_key_pack_descriptor (
+static uint32_t create_toku_secondary_key_pack_descriptor (
uchar* buf,
bool has_hpk,
uint pk_index,
@@ -449,13 +468,13 @@ static inline bool is_key_pk(
return buf[0];
}
-uint32_t max_key_size_from_desc(
+static uint32_t max_key_size_from_desc(
void* row_desc,
uint32_t row_desc_size
);
-uint32_t pack_key_from_desc(
+static uint32_t pack_key_from_desc(
uchar* buf,
void* row_desc,
uint32_t row_desc_size,
@@ -463,17 +482,17 @@ uint32_t pack_key_from_desc(
const DBT* pk_val
);
-bool fields_have_same_name(
+static bool fields_have_same_name(
Field* a,
Field* b
);
-bool fields_are_same_type(
+static bool fields_are_same_type(
Field* a,
Field* b
);
-bool are_two_fields_same(
+static bool are_two_fields_same(
Field* a,
Field* b
);
diff --git a/storage/tokudb/hatoku_defines.h b/storage/tokudb/hatoku_defines.h
index 10350d6791f..650fd0257a3 100644
--- a/storage/tokudb/hatoku_defines.h
+++ b/storage/tokudb/hatoku_defines.h
@@ -88,70 +88,47 @@ PATENT RIGHTS GRANT:
#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
-#ifndef _HATOKU_DEF
-#define _HATOKU_DEF
-#include "mysql_version.h"
-#if MYSQL_VERSION_ID < 50506
-#include "mysql_priv.h"
-#else
-#include "sql_table.h"
-#include "handler.h"
-#include "table.h"
-#include "log.h"
-#include "sql_class.h"
-#include "sql_show.h"
-#include "discover.h"
-#endif
-
-#include "db.h"
-#include "toku_os.h"
+#ifndef _TOKUDB_CONFIG_H
+#define _TOKUDB_CONFIG_H
#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
#endif
-// In MariaDB 5.3, thread progress reporting was introduced.
-// Only include that functionality if we're using maria 5.3 +
-#ifdef MARIADB_BASE_VERSION
-#if MYSQL_VERSION_ID >= 50300
-#define HA_TOKUDB_HAS_THD_PROGRESS
-#endif
-#endif
-
-#if defined(TOKUDB_PATCHES) && TOKUDB_PATCHES == 0
-
-#elif 100000 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 100099
+#if 100000 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 100099
+// mariadb 10
+#define TOKU_USE_DB_TYPE_TOKUDB 1
#define TOKU_INCLUDE_ALTER_56 1
-#define TOKU_INCLUDE_ALTER_55 0
#define TOKU_INCLUDE_ROW_TYPE_COMPRESSION 1
#define TOKU_INCLUDE_XA 1
-#define TOKU_PARTITION_WRITE_FRM_DATA 0
#define TOKU_INCLUDE_WRITE_FRM_DATA 0
-#define TOKU_INCLUDE_UPSERT 0
+#define TOKU_PARTITION_WRITE_FRM_DATA 0
+#if defined(MARIADB_BASE_VERSION)
#define TOKU_INCLUDE_EXTENDED_KEYS 1
-#define TOKU_INCLUDE_OTHER_DB_TYPE 0
+#endif
-#elif 50613 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
+#elif 50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799
+// mysql 5.7 with no patches
+#define TOKU_USE_DB_TYPE_UNKNOWN 1
#define TOKU_INCLUDE_ALTER_56 1
-#define TOKU_INCLUDE_ROW_TYPE_COMPRESSION 1
-#define TOKU_INCLUDE_XA 1
#define TOKU_PARTITION_WRITE_FRM_DATA 0
-#define TOKU_INCLUDE_WRITE_FRM_DATA 0
-#define TOKU_INCLUDE_UPSERT 1
-#define TOKU_INCLUDE_EXTENDED_KEYS 0
-#elif 50610 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50610
+#elif 50613 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
+// mysql 5.6
+#define TOKU_USE_DB_TYPE_TOKUDB 1
#define TOKU_INCLUDE_ALTER_56 1
#define TOKU_INCLUDE_ROW_TYPE_COMPRESSION 1
#define TOKU_INCLUDE_XA 1
-#define TOKU_PARTITION_WRITE_FRM_DATA 1
-#define TOKU_INCLUDE_WRITE_FRM_DATA 1
+#define TOKU_PARTITION_WRITE_FRM_DATA 0
+#define TOKU_INCLUDE_WRITE_FRM_DATA 0
#define TOKU_INCLUDE_UPSERT 1
+#if defined(HTON_SUPPORTS_EXTENDED_KEYS)
#define TOKU_INCLUDE_EXTENDED_KEYS 1
-#define TOKU_INCLUDE_OTHER_DB_TYPE 0
+#endif
#elif 50500 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50599
+#define TOKU_USE_DB_TYPE_TOKUDB 1
#define TOKU_INCLUDE_ALTER_56 0 /* MariaDB 5.5 */
#define TOKU_INCLUDE_ALTER_55 0 /* MariaDB 5.5 */
#define TOKU_INCLUDE_ROW_TYPE_COMPRESSION 1
@@ -162,14 +139,26 @@ PATENT RIGHTS GRANT:
#if defined(MARIADB_BASE_VERSION)
#define TOKU_INCLUDE_EXTENDED_KEYS 1
#endif
-#define TOKU_INCLUDE_OTHER_DB_TYPE 0 /* MariaDB 5.5 */
#define TOKU_INCLUDE_HANDLERTON_HANDLE_FATAL_SIGNAL 0 /* MariaDB 5.5 */
-#else
+#else
#error
#endif
+#ifdef MARIADB_BASE_VERSION
+// In MariaDB 5.3, thread progress reporting was introduced.
+// Only include that functionality if we're using maria 5.3 +
+#define HA_TOKUDB_HAS_THD_PROGRESS 1
+
+// MariaDB supports thdvar memalloc correctly
+#define TOKU_THDVAR_MEMALLOC_BUG 0
+#else
+// MySQL does not support thdvar memalloc correctly
+// see http://bugs.mysql.com/bug.php?id=71759
+#define TOKU_THDVAR_MEMALLOC_BUG 1
+#endif
+
#if !defined(HA_CLUSTERING)
#define HA_CLUSTERING 0
#endif
@@ -182,10 +171,6 @@ PATENT RIGHTS GRANT:
#define HA_CAN_WRITE_DURING_OPTIMIZE 0
#endif
-#if !defined(HA_OPTION_CREATE_FROM_ENGINE)
-#define HA_OPTION_CREATE_FROM_ENGINE 0
-#endif
-
// In older (< 5.5) versions of MySQL and MariaDB, it is necessary to
// use a read/write lock on the key_file array in a table share,
// because table locks do not protect the race of some thread closing
@@ -198,8 +183,6 @@ PATENT RIGHTS GRANT:
#define HA_TOKUDB_NEEDS_KEY_FILE_LOCK
#endif
-extern ulong tokudb_debug;
-
//
// returns maximum length of dictionary name, such as key-NAME
// NAME_CHAR_LEN is max length of the key name, and have upper bound of 10 for key-
@@ -214,6 +197,13 @@ extern ulong tokudb_debug;
/* Bits for share->status */
#define STATUS_PRIMARY_KEY_INIT 0x1
+#endif // _TOKUDB_CONFIG_H
+
+#ifndef _TOKUDB_DEBUG_H
+#define _TOKUDB_DEBUG_H
+
+extern ulong tokudb_debug;
+
// tokudb debug tracing
#define TOKUDB_DEBUG_INIT 1
#define TOKUDB_DEBUG_OPEN 2
@@ -225,40 +215,62 @@ extern ulong tokudb_debug;
#define TOKUDB_DEBUG_LOCK 256
#define TOKUDB_DEBUG_CHECK_KEY 1024
#define TOKUDB_DEBUG_HIDE_DDL_LOCK_ERRORS 2048
-#define TOKUDB_DEBUG_ALTER_TABLE_INFO 4096
+#define TOKUDB_DEBUG_ALTER_TABLE 4096
#define TOKUDB_DEBUG_UPSERT 8192
#define TOKUDB_DEBUG_CHECK (1<<14)
#define TOKUDB_DEBUG_ANALYZE (1<<15)
-#define TOKUDB_TRACE(f, ...) \
- fprintf(stderr, "%d:%s:%d:" f, my_tid(), __FILE__, __LINE__, ##__VA_ARGS__);
-
+#define TOKUDB_TRACE(f, ...) { \
+ fprintf(stderr, "%u %s:%u %s " f "\n", my_tid(), __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__); \
+}
static inline unsigned int my_tid() {
return (unsigned int)toku_os_gettid();
}
-#define TOKUDB_DBUG_ENTER(f, ...) \
-{ \
+#define TOKUDB_DBUG_ENTER(f, ...) { \
if (tokudb_debug & TOKUDB_DEBUG_ENTER) { \
- TOKUDB_TRACE(f "\n", ##__VA_ARGS__); \
+ TOKUDB_TRACE(f, ##__VA_ARGS__); \
} \
} \
DBUG_ENTER(__FUNCTION__);
+#define TOKUDB_DBUG_RETURN(r) { \
+ int rr = (r); \
+ if ((tokudb_debug & TOKUDB_DEBUG_RETURN) || (rr != 0 && (tokudb_debug & TOKUDB_DEBUG_ERROR))) { \
+ TOKUDB_TRACE("return %d", rr); \
+ } \
+ DBUG_RETURN(rr); \
+}
+
+#define TOKUDB_HANDLER_TRACE(f, ...) \
+ fprintf(stderr, "%u %p %s:%u ha_tokudb::%s " f "\n", my_tid(), this, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
-#define TOKUDB_DBUG_RETURN(r) \
-{ \
+#define TOKUDB_HANDLER_DBUG_ENTER(f, ...) { \
+ if (tokudb_debug & TOKUDB_DEBUG_ENTER) { \
+ TOKUDB_HANDLER_TRACE(f, ##__VA_ARGS__); \
+ } \
+} \
+ DBUG_ENTER(__FUNCTION__);
+
+#define TOKUDB_HANDLER_DBUG_RETURN(r) { \
int rr = (r); \
if ((tokudb_debug & TOKUDB_DEBUG_RETURN) || (rr != 0 && (tokudb_debug & TOKUDB_DEBUG_ERROR))) { \
- TOKUDB_TRACE("%s:return %d\n", __FUNCTION__, rr); \
+ TOKUDB_HANDLER_TRACE("return %d", rr); \
} \
DBUG_RETURN(rr); \
}
+#define TOKUDB_HANDLER_DBUG_VOID_RETURN { \
+ if (tokudb_debug & TOKUDB_DEBUG_RETURN) { \
+ TOKUDB_HANDLER_TRACE("return"); \
+ } \
+ DBUG_VOID_RETURN; \
+}
+
#define TOKUDB_DBUG_DUMP(s, p, len) \
{ \
- TOKUDB_TRACE("%s:%s", __FUNCTION__, s); \
+ TOKUDB_TRACE("%s", s); \
uint i; \
for (i=0; i<len; i++) { \
fprintf(stderr, "%2.2x", ((uchar*)p)[i]); \
@@ -266,6 +278,20 @@ static inline unsigned int my_tid() {
fprintf(stderr, "\n"); \
}
+/* The purpose of this file is to define assert() for use by the handlerton.
+ * The intention is for a failed handlerton assert to invoke a failed assert
+ * in the fractal tree layer, which dumps engine status to the error log.
+ */
+
+void toku_hton_assert_fail(const char*/*expr_as_string*/,const char */*fun*/,const char*/*file*/,int/*line*/, int/*errno*/) __attribute__((__visibility__("default"))) __attribute__((__noreturn__));
+
+#undef assert
+#define assert(expr) ((expr) ? (void)0 : toku_hton_assert_fail(#expr, __FUNCTION__, __FILE__, __LINE__, errno))
+
+#endif // _TOKUDB_DEBUG_H
+
+#ifndef _TOKUDB_TXN_H
+#define _TOKUDB_TXN_H
typedef enum {
hatoku_iso_not_set = 0,
@@ -294,6 +320,7 @@ typedef struct st_tokudb_trx_data {
uint tokudb_lock_count;
tokudb_stmt_progress stmt_progress;
bool checkpoint_lock_taken;
+ LIST *handlers;
} tokudb_trx_data;
struct ha_table_option_struct
@@ -301,11 +328,6 @@ struct ha_table_option_struct
uint row_format;
};
-struct ha_index_option_struct
-{
- bool clustering;
-};
-
extern char *tokudb_data_dir;
extern const char *ha_tokudb_ext;
@@ -352,14 +374,14 @@ static inline int txn_begin(DB_ENV *env, DB_TXN *parent, DB_TXN **txn, uint32_t
this_txn->set_client_id(this_txn, thd_get_thread_id(thd));
}
if ((tokudb_debug & TOKUDB_DEBUG_TXN)) {
- TOKUDB_TRACE("begin txn %p %p %u r=%d\n", parent, *txn, flags, r);
+ TOKUDB_TRACE("begin txn %p %p %u r=%d", parent, *txn, flags, r);
}
return r;
}
static inline void commit_txn(DB_TXN* txn, uint32_t flags) {
if (tokudb_debug & TOKUDB_DEBUG_TXN)
- TOKUDB_TRACE("commit txn %p\n", txn);
+ TOKUDB_TRACE("commit txn %p", txn);
int r = txn->commit(txn, flags);
if (r != 0) {
sql_print_error("tried committing transaction %p and got error code %d", txn, r);
@@ -369,7 +391,7 @@ static inline void commit_txn(DB_TXN* txn, uint32_t flags) {
static inline void abort_txn(DB_TXN* txn) {
if (tokudb_debug & TOKUDB_DEBUG_TXN)
- TOKUDB_TRACE("abort txn %p\n", txn);
+ TOKUDB_TRACE("abort txn %p", txn);
int r = txn->abort(txn);
if (r != 0) {
sql_print_error("tried aborting transaction %p and got error code %d", txn, r);
@@ -377,14 +399,119 @@ static inline void abort_txn(DB_TXN* txn) {
assert(r == 0);
}
-/* The purpose of this file is to define assert() for use by the handlerton.
- * The intention is for a failed handlerton assert to invoke a failed assert
- * in the fractal tree layer, which dumps engine status to the error log.
- */
+#endif // _TOKUDB_TXN_H
-void toku_hton_assert_fail(const char*/*expr_as_string*/,const char */*fun*/,const char*/*file*/,int/*line*/, int/*errno*/) __attribute__((__visibility__("default"))) __attribute__((__noreturn__));
+#ifndef _TOKUDB_PORTABILITY_H
+#define _TOKUDB_PORTABILITY_H
-#undef assert
-#define assert(expr) ((expr) ? (void)0 : toku_hton_assert_fail(#expr, __FUNCTION__, __FILE__, __LINE__, errno))
+static inline void *tokudb_my_malloc(size_t s, myf flags) {
+#if 50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799
+ return my_malloc(0, s, flags);
+#else
+ return my_malloc(s, flags);
+#endif
+}
+static inline void *tokudb_my_realloc(void *p, size_t s, myf flags) {
+#if 50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799
+ return my_realloc(0, p, s, flags);
+#else
+ return my_realloc(p, s, flags);
#endif
+}
+
+static inline void tokudb_my_free(void *ptr) {
+ my_free(ptr);
+}
+
+static inline char *tokudb_my_strdup(const char *p, myf flags) {
+#if 50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799
+ return my_strdup(0, p, flags);
+#else
+ return my_strdup(p, flags);
+#endif
+}
+
+static inline void* tokudb_my_multi_malloc(myf myFlags, ...) {
+ va_list args;
+ char **ptr,*start,*res;
+ size_t tot_length,length;
+
+ va_start(args,myFlags);
+ tot_length=0;
+ while ((ptr=va_arg(args, char **))) {
+ length=va_arg(args,uint);
+ tot_length+=ALIGN_SIZE(length);
+ }
+ va_end(args);
+
+ if (!(start=(char *) tokudb_my_malloc(tot_length,myFlags))) {
+ return 0;
+ }
+
+ va_start(args,myFlags);
+ res=start;
+ while ((ptr=va_arg(args, char **))) {
+ *ptr=res;
+ length=va_arg(args,uint);
+ res+=ALIGN_SIZE(length);
+ }
+ va_end(args);
+ return start;
+}
+
+static inline void tokudb_pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) {
+ int r = pthread_mutex_init(mutex, attr);
+ assert(r == 0);
+}
+
+static inline void tokudb_pthread_mutex_destroy(pthread_mutex_t *mutex) {
+ int r = pthread_mutex_destroy(mutex);
+ assert(r == 0);
+}
+
+static inline void tokudb_pthread_mutex_lock(pthread_mutex_t *mutex) {
+ int r = pthread_mutex_lock(mutex);
+ assert(r == 0);
+}
+
+static inline void tokudb_pthread_mutex_unlock(pthread_mutex_t *mutex) {
+ int r = pthread_mutex_unlock(mutex);
+ assert(r == 0);
+}
+
+static inline void tokudb_pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) {
+ int r = pthread_cond_init(cond, attr);
+ assert(r == 0);
+}
+
+static inline void tokudb_pthread_cond_destroy(pthread_cond_t *cond) {
+ int r = pthread_cond_destroy(cond);
+ assert(r == 0);
+}
+
+static inline void tokudb_pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) {
+ int r = pthread_cond_wait(cond, mutex);
+ assert(r == 0);
+}
+
+static inline void tokudb_pthread_cond_broadcast(pthread_cond_t *cond) {
+ int r = pthread_cond_broadcast(cond);
+ assert(r == 0);
+}
+
+// mysql 5.6.15 removed the test macro, so we define our own
+#define tokudb_test(e) ((e) ? 1 : 0)
+
+static const char *tokudb_thd_get_proc_info(THD *thd) {
+ return thd->proc_info;
+}
+
+// uint3korr reads 4 bytes and valgrind reports an error, so we use this function instead
+static uint tokudb_uint3korr(const uchar *a) {
+ uchar b[4] = {};
+ memcpy(b, a, 3);
+ return uint3korr(b);
+}
+
+#endif // _TOKUDB_PORTABILITY_H
diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc
index 911b274a302..538f6c936d2 100644
--- a/storage/tokudb/hatoku_hton.cc
+++ b/storage/tokudb/hatoku_hton.cc
@@ -126,6 +126,13 @@ typedef struct savepoint_info {
bool in_sub_stmt;
} *SP_INFO, SP_INFO_T;
+#if defined(MARIADB_BASE_VERSION)
+ha_create_table_option tokudb_index_options[] = {
+ HA_IOPTION_BOOL("clustering", clustering, 0),
+ HA_IOPTION_END
+};
+#endif
+
static uchar *tokudb_get_key(TOKUDB_SHARE * share, size_t * length, my_bool not_used __attribute__ ((unused))) {
*length = share->table_name_length;
return (uchar *) share->table_name;
@@ -166,10 +173,31 @@ const char *ha_tokudb_ext = ".tokudb";
char *tokudb_data_dir;
ulong tokudb_debug;
DB_ENV *db_env;
-DB* metadata_db;
HASH tokudb_open_tables;
pthread_mutex_t tokudb_mutex;
-pthread_mutex_t tokudb_meta_mutex;
+
+#if TOKU_THDVAR_MEMALLOC_BUG
+static pthread_mutex_t tokudb_map_mutex;
+static TREE tokudb_map;
+struct tokudb_map_pair {
+ THD *thd;
+ char *last_lock_timeout;
+};
+#if 50500 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50599
+static int tokudb_map_pair_cmp(void *custom_arg, const void *a, const void *b) {
+#else
+static int tokudb_map_pair_cmp(const void *custom_arg, const void *a, const void *b) {
+#endif
+ const struct tokudb_map_pair *a_key = (const struct tokudb_map_pair *) a;
+ const struct tokudb_map_pair *b_key = (const struct tokudb_map_pair *) b;
+ if (a_key->thd < b_key->thd)
+ return -1;
+ else if (a_key->thd > b_key->thd)
+ return +1;
+ else
+ return 0;
+};
+#endif
#if TOKU_INCLUDE_HANDLERTON_HANDLE_FATAL_SIGNAL
static my_bool tokudb_gdb_on_fatal;
@@ -181,11 +209,9 @@ void toku_hton_update_primary_key_bytes_inserted(uint64_t row_size) {
increment_partitioned_counter(tokudb_primary_key_bytes_inserted, row_size);
}
-static ulonglong tokudb_lock_timeout;
static void tokudb_lock_timeout_callback(DB *db, uint64_t requesting_txnid, const DBT *left_key, const DBT *right_key, uint64_t blocking_txnid);
static ulong tokudb_cleaner_period;
static ulong tokudb_cleaner_iterations;
-static ulonglong tokudb_loader_memory_size;
#define ASSERT_MSGLEN 1024
@@ -245,18 +271,10 @@ extern "C" {
ha_create_table_option tokudb_table_options[]=
{
- HA_TOPTION_ENUM("compression", row_format,
- "TOKUDB_UNCOMPRESSED,TOKUDB_ZLIB,TOKUDB_QUICKLZ,"
- "TOKUDB_LZMA,TOKUDB_FAST,TOKUDB_SMALL", 0),
+ HA_TOPTION_SYSVAR("compression", row_format, row_format),
HA_TOPTION_END
};
-ha_create_table_option tokudb_index_options[]=
-{
- HA_IOPTION_BOOL("clustering", clustering, 0),
- HA_IOPTION_END
-};
-
// A flag set if the handlerton is in an initialized, usable state,
// plus a reader-write lock to protect it without serializing reads.
// Since we don't have static initializers for the opaque rwlock type,
@@ -306,7 +324,7 @@ static void handle_ydb_error(int error) {
}
static int tokudb_init_func(void *p) {
- TOKUDB_DBUG_ENTER("tokudb_init_func");
+ TOKUDB_DBUG_ENTER("");
int r;
#if defined(_WIN64)
@@ -322,25 +340,34 @@ static int tokudb_init_func(void *p) {
assert(r == 0);
db_env = NULL;
- metadata_db = NULL;
tokudb_hton = (handlerton *) p;
- pthread_mutex_init(&tokudb_mutex, MY_MUTEX_INIT_FAST);
- pthread_mutex_init(&tokudb_meta_mutex, MY_MUTEX_INIT_FAST);
+ tokudb_pthread_mutex_init(&tokudb_mutex, MY_MUTEX_INIT_FAST);
(void) my_hash_init(&tokudb_open_tables, table_alias_charset, 32, 0, 0, (my_hash_get_key) tokudb_get_key, 0, 0);
tokudb_hton->state = SHOW_OPTION_YES;
// tokudb_hton->flags= HTON_CAN_RECREATE; // QQQ this came from skeleton
tokudb_hton->flags = HTON_CLOSE_CURSORS_AT_COMMIT | HTON_SUPPORTS_EXTENDED_KEYS;
-#if TOKU_INCLUDE_OTHER_DB_TYPE
- // we have historically been a dynamic storage engine, so we set db_type according.
- // however, extended keys is triggered off of the db_type, so tokudb adds another type so that extended keys works
+#if defined(TOKU_INCLUDE_EXTENDED_KEYS) && TOKU_INCLUDE_EXTENDED_KEYS
+#if defined(HTON_SUPPORTS_EXTENDED_KEYS)
+ tokudb_hton->flags |= HTON_SUPPORTS_EXTENDED_KEYS;
+#endif
+#if defined(HTON_EXTENDED_KEYS)
+ tokudb_hton->flags |= HTON_EXTENDED_KEYS;
+#endif
+#endif
+#if defined(HTON_SUPPORTS_CLUSTERED_KEYS)
+ tokudb_hton->flags |= HTON_SUPPORTS_CLUSTERED_KEYS;
+#endif
+
+#if defined(TOKU_USE_DB_TYPE_TOKUDB) && TOKU_USE_DB_TYPE_TOKUDB
+ tokudb_hton->db_type = DB_TYPE_TOKUDB;
+#elif defined(TOKU_USE_DB_TYPE_UNKNOWN) && TOKU_USE_DB_TYPE_UNKNOWN
tokudb_hton->db_type = DB_TYPE_UNKNOWN;
- tokudb_hton->other_db_type = DB_TYPE_TOKUDB;
#else
- tokudb_hton->db_type = DB_TYPE_TOKUDB;
+#error
#endif
tokudb_hton->create = tokudb_create_handler;
@@ -374,6 +401,11 @@ static int tokudb_init_func(void *p) {
#if TOKU_INCLUDE_HANDLERTON_HANDLE_FATAL_SIGNAL
tokudb_hton->handle_fatal_signal = tokudb_handle_fatal_signal;
#endif
+
+#if defined(MARIADB_BASE_VERSION)
+ tokudb_hton->index_options = tokudb_index_options;
+#endif
+
if (!tokudb_home)
tokudb_home = mysql_real_data_home;
DBUG_PRINT("info", ("tokudb_home: %s", tokudb_home));
@@ -388,7 +420,7 @@ static int tokudb_init_func(void *p) {
r = db_env->set_flags(db_env, tokudb_env_flags, 1);
if (r) { // QQQ
if (tokudb_debug & TOKUDB_DEBUG_INIT)
- TOKUDB_TRACE("%s:WARNING: flags=%x r=%d\n", __FUNCTION__, tokudb_env_flags, r);
+ TOKUDB_TRACE("WARNING: flags=%x r=%d", tokudb_env_flags, r);
// goto error;
}
@@ -459,17 +491,17 @@ static int tokudb_init_func(void *p) {
uint32_t gbytes, bytes; int parts;
r = db_env->get_cachesize(db_env, &gbytes, &bytes, &parts);
- if (r == 0)
- if (tokudb_debug & TOKUDB_DEBUG_INIT)
- TOKUDB_TRACE("%s:tokudb_cache_size=%lld\n", __FUNCTION__, ((unsigned long long) gbytes << 30) + bytes);
+ if (tokudb_debug & TOKUDB_DEBUG_INIT)
+ TOKUDB_TRACE("tokudb_cache_size=%lld r=%d", ((unsigned long long) gbytes << 30) + bytes, r);
if (db_env->set_redzone) {
r = db_env->set_redzone(db_env, tokudb_fs_reserve_percent);
- if (r && (tokudb_debug & TOKUDB_DEBUG_INIT))
- TOKUDB_TRACE("%s:%d r=%d\n", __FUNCTION__, __LINE__, r);
+ if (tokudb_debug & TOKUDB_DEBUG_INIT)
+ TOKUDB_TRACE("set_redzone r=%d", r);
}
- if (tokudb_debug & TOKUDB_DEBUG_INIT) TOKUDB_TRACE("%s:env open:flags=%x\n", __FUNCTION__, tokudb_init_flags);
+ if (tokudb_debug & TOKUDB_DEBUG_INIT)
+ TOKUDB_TRACE("env open:flags=%x", tokudb_init_flags);
r = db_env->set_generate_row_callback_for_put(db_env,generate_row_for_put);
assert(r == 0);
@@ -479,14 +511,15 @@ static int tokudb_init_func(void *p) {
db_env_set_direct_io(tokudb_directio == TRUE);
db_env->change_fsync_log_period(db_env, tokudb_fsync_log_period);
db_env->set_lock_timeout_callback(db_env, tokudb_lock_timeout_callback);
- db_env->set_loader_memory_size(db_env, tokudb_loader_memory_size);
+ db_env->set_loader_memory_size(db_env, tokudb_get_loader_memory_size_callback);
r = db_env->open(db_env, tokudb_home, tokudb_init_flags, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
- if (tokudb_debug & TOKUDB_DEBUG_INIT) TOKUDB_TRACE("%s:env opened:return=%d\n", __FUNCTION__, r);
+ if (tokudb_debug & TOKUDB_DEBUG_INIT)
+ TOKUDB_TRACE("env opened:return=%d", r);
if (r) {
- DBUG_PRINT("info", ("env->open %d\n", r));
+ DBUG_PRINT("info", ("env->open %d", r));
goto error;
}
@@ -497,59 +530,33 @@ static int tokudb_init_func(void *p) {
r = db_env->cleaner_set_iterations(db_env, tokudb_cleaner_iterations);
assert(r == 0);
- r = db_env->set_lock_timeout(db_env, tokudb_lock_timeout);
+ r = db_env->set_lock_timeout(db_env, DEFAULT_TOKUDB_LOCK_TIMEOUT, tokudb_get_lock_wait_time_callback);
assert(r == 0);
+ db_env->set_killed_callback(db_env, DEFAULT_TOKUDB_KILLED_TIME, tokudb_get_killed_time_callback, tokudb_killed_callback);
+
r = db_env->get_engine_status_num_rows (db_env, &toku_global_status_max_rows);
assert(r == 0);
{
const myf mem_flags = MY_FAE|MY_WME|MY_ZEROFILL|MY_ALLOW_ZERO_PTR|MY_FREE_ON_ERROR;
- toku_global_status_variables = (SHOW_VAR*)my_malloc(sizeof(*toku_global_status_variables)*toku_global_status_max_rows, mem_flags);
- toku_global_status_rows = (TOKU_ENGINE_STATUS_ROW_S*)my_malloc(sizeof(*toku_global_status_rows)*toku_global_status_max_rows, mem_flags);
+ toku_global_status_variables = (SHOW_VAR*)tokudb_my_malloc(sizeof(*toku_global_status_variables)*toku_global_status_max_rows, mem_flags);
+ toku_global_status_rows = (TOKU_ENGINE_STATUS_ROW_S*)tokudb_my_malloc(sizeof(*toku_global_status_rows)*toku_global_status_max_rows, mem_flags);
}
- r = db_create(&metadata_db, db_env, 0);
- if (r) {
- DBUG_PRINT("info", ("failed to create metadata db %d\n", r));
- goto error;
- }
-
-
- r= metadata_db->open(metadata_db, NULL, TOKU_METADB_NAME, NULL, DB_BTREE, DB_THREAD, 0);
- if (r) {
- if (r != ENOENT) {
- sql_print_error("Got error %d when trying to open metadata_db", r);
- goto error;
- }
- r = metadata_db->close(metadata_db,0);
- assert(r == 0);
- r = db_create(&metadata_db, db_env, 0);
- if (r) {
- DBUG_PRINT("info", ("failed to create metadata db %d\n", r));
- goto error;
- }
-
- r= metadata_db->open(metadata_db, NULL, TOKU_METADB_NAME, NULL, DB_BTREE, DB_THREAD | DB_CREATE | DB_EXCL, my_umask);
- if (r) {
- goto error;
- }
- }
-
-
-
tokudb_primary_key_bytes_inserted = create_partitioned_counter();
+#if TOKU_THDVAR_MEMALLOC_BUG
+ tokudb_pthread_mutex_init(&tokudb_map_mutex, MY_MUTEX_INIT_FAST);
+ init_tree(&tokudb_map, 0, 0, 0, tokudb_map_pair_cmp, true, NULL, NULL);
+#endif
+
//3938: succeeded, set the init status flag and unlock
tokudb_hton_initialized = 1;
rw_unlock(&tokudb_hton_initialized_lock);
DBUG_RETURN(false);
error:
- if (metadata_db) {
- int rr = metadata_db->close(metadata_db, 0);
- assert(rr==0);
- }
if (db_env) {
int rr= db_env->close(db_env, 0);
assert(rr==0);
@@ -563,14 +570,13 @@ error:
}
static int tokudb_done_func(void *p) {
- TOKUDB_DBUG_ENTER("tokudb_done_func");
- my_free(toku_global_status_variables);
+ TOKUDB_DBUG_ENTER("");
+ tokudb_my_free(toku_global_status_variables);
toku_global_status_variables = NULL;
- my_free(toku_global_status_rows);
+ tokudb_my_free(toku_global_status_rows);
toku_global_status_rows = NULL;
my_hash_free(&tokudb_open_tables);
- pthread_mutex_destroy(&tokudb_mutex);
- pthread_mutex_destroy(&tokudb_meta_mutex);
+ tokudb_pthread_mutex_destroy(&tokudb_mutex);
#if defined(_WIN64)
toku_ydb_destroy();
#endif
@@ -582,7 +588,7 @@ static handler *tokudb_create_handler(handlerton * hton, TABLE_SHARE * table, ME
}
int tokudb_end(handlerton * hton, ha_panic_function type) {
- TOKUDB_DBUG_ENTER("tokudb_end");
+ TOKUDB_DBUG_ENTER("");
int error = 0;
// 3938: if we finalize the storage engine plugin, it is no longer
@@ -592,10 +598,6 @@ int tokudb_end(handlerton * hton, ha_panic_function type) {
rw_wrlock(&tokudb_hton_initialized_lock);
assert(tokudb_hton_initialized);
- if (metadata_db) {
- int r = metadata_db->close(metadata_db, 0);
- assert(r == 0);
- }
if (db_env) {
if (tokudb_init_flags & DB_INIT_LOG)
tokudb_cleanup_log_files();
@@ -604,6 +606,16 @@ int tokudb_end(handlerton * hton, ha_panic_function type) {
db_env = NULL;
}
+ if (tokudb_primary_key_bytes_inserted) {
+ destroy_partitioned_counter(tokudb_primary_key_bytes_inserted);
+ tokudb_primary_key_bytes_inserted = NULL;
+ }
+
+#if TOKU_THDVAR_MEMALLOC_BUG
+ tokudb_pthread_mutex_destroy(&tokudb_map_mutex);
+ delete_tree(&tokudb_map);
+#endif
+
// 3938: drop the initialized flag and unlock
tokudb_hton_initialized = 0;
rw_unlock(&tokudb_hton_initialized_lock);
@@ -615,15 +627,29 @@ static int tokudb_close_connection(handlerton * hton, THD * thd) {
int error = 0;
tokudb_trx_data* trx = NULL;
trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot);
+ if (tokudb_debug & TOKUDB_DEBUG_TXN) {
+ TOKUDB_TRACE("trx %p", trx);
+ }
if (trx && trx->checkpoint_lock_taken) {
error = db_env->checkpointing_resume(db_env);
}
- my_free(trx);
+ tokudb_my_free(trx);
+#if TOKU_THDVAR_MEMALLOC_BUG
+ tokudb_pthread_mutex_lock(&tokudb_map_mutex);
+ struct tokudb_map_pair key = { thd, NULL };
+ struct tokudb_map_pair *found_key = (struct tokudb_map_pair *) tree_search(&tokudb_map, &key, NULL);
+ if (found_key) {
+ if (0) TOKUDB_TRACE("thd %p %p", thd, found_key->last_lock_timeout);
+ tokudb_my_free(found_key->last_lock_timeout);
+ tree_delete(&tokudb_map, found_key, sizeof *found_key, NULL);
+ }
+ tokudb_pthread_mutex_unlock(&tokudb_map_mutex);
+#endif
return error;
}
bool tokudb_flush_logs(handlerton * hton) {
- TOKUDB_DBUG_ENTER("tokudb_flush_logs");
+ TOKUDB_DBUG_ENTER("");
int error;
bool result = 0;
@@ -689,8 +715,17 @@ static void abort_txn_with_progress(DB_TXN* txn, THD* thd) {
assert(r == 0);
}
+static void tokudb_cleanup_handlers(tokudb_trx_data *trx, DB_TXN *txn) {
+ LIST *e;
+ while ((e = trx->handlers)) {
+ trx->handlers = list_delete(trx->handlers, e);
+ ha_tokudb *handler = (ha_tokudb *) e->data;
+ handler->cleanup_txn(txn);
+ }
+}
+
static int tokudb_commit(handlerton * hton, THD * thd, bool all) {
- TOKUDB_DBUG_ENTER("tokudb_commit");
+ TOKUDB_DBUG_ENTER("");
DBUG_PRINT("trans", ("ending transaction %s", all ? "all" : "stmt"));
uint32_t syncflag = THDVAR(thd, commit_sync) ? 0 : DB_TXN_NOSYNC;
tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(thd, hton->slot);
@@ -698,10 +733,11 @@ static int tokudb_commit(handlerton * hton, THD * thd, bool all) {
DB_TXN *this_txn = *txn;
if (this_txn) {
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("commit %u %p\n", all, this_txn);
+ TOKUDB_TRACE("commit trx %u trx %p txn %p", all, trx, this_txn);
}
// test hook to induce a crash on a debug build
DBUG_EXECUTE_IF("tokudb_crash_commit_before", DBUG_SUICIDE(););
+ tokudb_cleanup_handlers(trx, this_txn);
commit_txn_with_progress(this_txn, syncflag, thd);
// test hook to induce a crash on a debug build
DBUG_EXECUTE_IF("tokudb_crash_commit_after", DBUG_SUICIDE(););
@@ -712,22 +748,23 @@ static int tokudb_commit(handlerton * hton, THD * thd, bool all) {
trx->sub_sp_level = NULL;
}
else if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("nothing to commit %d\n", all);
+ TOKUDB_TRACE("nothing to commit %d", all);
}
reset_stmt_progress(&trx->stmt_progress);
TOKUDB_DBUG_RETURN(0);
}
static int tokudb_rollback(handlerton * hton, THD * thd, bool all) {
- TOKUDB_DBUG_ENTER("tokudb_rollback");
+ TOKUDB_DBUG_ENTER("");
DBUG_PRINT("trans", ("aborting transaction %s", all ? "all" : "stmt"));
tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(thd, hton->slot);
DB_TXN **txn = all ? &trx->all : &trx->stmt;
DB_TXN *this_txn = *txn;
if (this_txn) {
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("rollback %u %p\n", all, this_txn);
+ TOKUDB_TRACE("rollback %u trx %p txn %p", all, trx, this_txn);
}
+ tokudb_cleanup_handlers(trx, this_txn);
abort_txn_with_progress(this_txn, thd);
if (this_txn == trx->sp_level) {
trx->sp_level = 0;
@@ -737,7 +774,7 @@ static int tokudb_rollback(handlerton * hton, THD * thd, bool all) {
}
else {
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("abort0\n");
+ TOKUDB_TRACE("abort0");
}
}
reset_stmt_progress(&trx->stmt_progress);
@@ -747,14 +784,14 @@ static int tokudb_rollback(handlerton * hton, THD * thd, bool all) {
#if TOKU_INCLUDE_XA
static int tokudb_xa_prepare(handlerton* hton, THD* thd, bool all) {
- TOKUDB_DBUG_ENTER("tokudb_xa_prepare");
+ TOKUDB_DBUG_ENTER("");
int r = 0;
DBUG_PRINT("trans", ("preparing transaction %s", all ? "all" : "stmt"));
tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(thd, hton->slot);
DB_TXN* txn = all ? trx->all : trx->stmt;
if (txn) {
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("doing txn prepare:%d:%p\n", all, txn);
+ TOKUDB_TRACE("doing txn prepare:%d:%p", all, txn);
}
// a TOKU_XA_XID is identical to a MYSQL_XID
TOKU_XA_XID thd_xid;
@@ -766,13 +803,13 @@ static int tokudb_xa_prepare(handlerton* hton, THD* thd, bool all) {
DBUG_EXECUTE_IF("tokudb_crash_prepare_after", DBUG_SUICIDE(););
}
else if (tokudb_debug & TOKUDB_DEBUG_TXN) {
- TOKUDB_TRACE("nothing to prepare %d\n", all);
+ TOKUDB_TRACE("nothing to prepare %d", all);
}
TOKUDB_DBUG_RETURN(r);
}
static int tokudb_xa_recover(handlerton* hton, XID* xid_list, uint len) {
- TOKUDB_DBUG_ENTER("tokudb_xa_recover");
+ TOKUDB_DBUG_ENTER("");
int r = 0;
if (len == 0 || xid_list == NULL) {
TOKUDB_DBUG_RETURN(0);
@@ -790,7 +827,7 @@ static int tokudb_xa_recover(handlerton* hton, XID* xid_list, uint len) {
}
static int tokudb_commit_by_xid(handlerton* hton, XID* xid) {
- TOKUDB_DBUG_ENTER("tokudb_commit_by_xid");
+ TOKUDB_DBUG_ENTER("");
int r = 0;
DB_TXN* txn = NULL;
TOKU_XA_XID* toku_xid = (TOKU_XA_XID*)xid;
@@ -807,7 +844,7 @@ cleanup:
}
static int tokudb_rollback_by_xid(handlerton* hton, XID* xid) {
- TOKUDB_DBUG_ENTER("tokudb_rollback_by_xid");
+ TOKUDB_DBUG_ENTER("");
int r = 0;
DB_TXN* txn = NULL;
TOKU_XA_XID* toku_xid = (TOKU_XA_XID*)xid;
@@ -826,7 +863,7 @@ cleanup:
#endif
static int tokudb_savepoint(handlerton * hton, THD * thd, void *savepoint) {
- TOKUDB_DBUG_ENTER("tokudb_savepoint");
+ TOKUDB_DBUG_ENTER("");
int error;
SP_INFO save_info = (SP_INFO)savepoint;
tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(thd, hton->slot);
@@ -854,7 +891,7 @@ cleanup:
}
static int tokudb_rollback_to_savepoint(handlerton * hton, THD * thd, void *savepoint) {
- TOKUDB_DBUG_ENTER("tokudb_rollback_to_savepoint");
+ TOKUDB_DBUG_ENTER("");
int error;
SP_INFO save_info = (SP_INFO)savepoint;
DB_TXN* parent = NULL;
@@ -875,7 +912,7 @@ static int tokudb_rollback_to_savepoint(handlerton * hton, THD * thd, void *save
}
static int tokudb_release_savepoint(handlerton * hton, THD * thd, void *savepoint) {
- TOKUDB_DBUG_ENTER("tokudb_release_savepoint");
+ TOKUDB_DBUG_ENTER("");
int error;
SP_INFO save_info = (SP_INFO)savepoint;
@@ -930,7 +967,7 @@ static int tokudb_discover2(handlerton *hton, THD* thd, const char *db, const ch
static int tokudb_discover3(handlerton *hton, THD* thd, const char *db, const char *name, char *path,
uchar **frmblob, size_t *frmlen) {
- TOKUDB_DBUG_ENTER("tokudb_discover");
+ TOKUDB_DBUG_ENTER("%s %s", db, name);
int error;
DB* status_db = NULL;
DB_TXN* txn = NULL;
@@ -997,7 +1034,7 @@ cleanup:
extern sys_var *intern_find_sys_var(const char *str, uint length, bool no_error);
static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
- TOKUDB_DBUG_ENTER("tokudb_show_engine_status");
+ TOKUDB_DBUG_ENTER("");
int error;
uint64_t panic;
const int panic_string_len = 1024;
@@ -1049,10 +1086,10 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
for (uint64_t row = 0; row < num_rows; row++) {
switch (mystat[row].type) {
case FS_STATE:
- snprintf(buf, bufsiz, "%"PRIu64"", mystat[row].value.num);
+ snprintf(buf, bufsiz, "%" PRIu64 "", mystat[row].value.num);
break;
case UINT64:
- snprintf(buf, bufsiz, "%"PRIu64"", mystat[row].value.num);
+ snprintf(buf, bufsiz, "%" PRIu64 "", mystat[row].value.num);
break;
case CHARSTR:
snprintf(buf, bufsiz, "%s", mystat[row].value.str);
@@ -1092,8 +1129,8 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
static void tokudb_checkpoint_lock(THD * thd) {
int error;
+ const char *old_proc_info;
tokudb_trx_data* trx = NULL;
- char status_msg[200]; //buffer of 200 should be a good upper bound.
trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot);
if (!trx) {
error = create_tokudb_trx_data_instance(&trx);
@@ -1111,10 +1148,11 @@ static void tokudb_checkpoint_lock(THD * thd) {
// This can only fail if environment is not created, which is not possible
// in handlerton
//
- sprintf(status_msg, "Trying to grab checkpointing lock.");
- thd_proc_info(thd, status_msg);
+ old_proc_info = tokudb_thd_get_proc_info(thd);
+ thd_proc_info(thd, "Trying to grab checkpointing lock.");
error = db_env->checkpointing_postpone(db_env);
assert(!error);
+ thd_proc_info(thd, old_proc_info);
trx->checkpoint_lock_taken = true;
cleanup:
@@ -1123,7 +1161,7 @@ cleanup:
static void tokudb_checkpoint_unlock(THD * thd) {
int error;
- char status_msg[200]; //buffer of 200 should be a good upper bound.
+ const char *old_proc_info;
tokudb_trx_data* trx = NULL;
trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot);
if (!trx) {
@@ -1137,10 +1175,11 @@ static void tokudb_checkpoint_unlock(THD * thd) {
//
// at this point, we know the checkpoint lock has been taken
//
- sprintf(status_msg, "Trying to release checkpointing lock.");
- thd_proc_info(thd, status_msg);
+ old_proc_info = tokudb_thd_get_proc_info(thd);
+ thd_proc_info(thd, "Trying to release checkpointing lock.");
error = db_env->checkpointing_resume(db_env);
assert(!error);
+ thd_proc_info(thd, old_proc_info);
trx->checkpoint_lock_taken = false;
@@ -1172,7 +1211,7 @@ static void tokudb_print_error(const DB_ENV * db_env, const char *db_errpfx, con
}
static void tokudb_cleanup_log_files(void) {
- TOKUDB_DBUG_ENTER("tokudb_cleanup_log_files");
+ TOKUDB_DBUG_ENTER("");
char **names;
int error;
@@ -1190,7 +1229,7 @@ static void tokudb_cleanup_log_files(void) {
for (np = names; *np; ++np) {
#if 1
if (tokudb_debug)
- TOKUDB_TRACE("%s:cleanup:%s\n", __FUNCTION__, *np);
+ TOKUDB_TRACE("cleanup:%s", *np);
#else
my_delete(*np, MYF(MY_WME));
#endif
@@ -1214,20 +1253,6 @@ static void tokudb_cleanup_log_files(void) {
// system variables
-
-static void tokudb_lock_timeout_update(THD * thd, struct st_mysql_sys_var * sys_var, void * var, const void * save) {
- ulonglong *timeout = (ulonglong *) var;
- *timeout = *(const ulonglong *) save;
- db_env->set_lock_timeout(db_env, *timeout);
-}
-
-#define DEFAULT_LOCK_TIMEOUT_MSEC 4000
-
-static MYSQL_SYSVAR_ULONGLONG(lock_timeout, tokudb_lock_timeout,
- 0, "TokuDB lock timeout",
- NULL, tokudb_lock_timeout_update, DEFAULT_LOCK_TIMEOUT_MSEC,
- 0, ~0ULL, 0);
-
static void tokudb_cleaner_period_update(THD * thd, struct st_mysql_sys_var * sys_var, void * var, const void * save) {
ulong * cleaner_period = (ulong *) var;
*cleaner_period = *(const ulonglong *) save;
@@ -1310,18 +1335,6 @@ static void tokudb_fsync_log_period_update(THD *thd, struct st_mysql_sys_var *sy
static MYSQL_SYSVAR_UINT(fsync_log_period, tokudb_fsync_log_period, 0, "TokuDB fsync log period", NULL, tokudb_fsync_log_period_update, 0, 0, ~0U, 0);
-static void tokudb_update_loader_memory_size(THD * thd, struct st_mysql_sys_var * sys_var, void * var, const void * save) {
- ulonglong *p = (ulonglong *) var;
- *p = *(const ulonglong *) save;
- db_env->set_loader_memory_size(db_env, *p);
-}
-
-static MYSQL_SYSVAR_ULONGLONG(
- loader_memory_size, tokudb_loader_memory_size,
- 0, "TokuDB loader memory size",
- NULL, tokudb_update_loader_memory_size,
- 100 * 1000 * 1000 /*default*/, 0 /*min*/, ~0ULL /*max*/, 0
-);
static struct st_mysql_sys_var *tokudb_system_variables[] = {
MYSQL_SYSVAR(cache_size),
@@ -1337,6 +1350,7 @@ static struct st_mysql_sys_var *tokudb_system_variables[] = {
MYSQL_SYSVAR(load_save_space),
MYSQL_SYSVAR(disable_slow_alter),
MYSQL_SYSVAR(disable_hot_alter),
+ MYSQL_SYSVAR(alter_print_error),
MYSQL_SYSVAR(create_index_online),
MYSQL_SYSVAR(disable_prefetching),
MYSQL_SYSVAR(version),
@@ -1368,6 +1382,7 @@ static struct st_mysql_sys_var *tokudb_system_variables[] = {
MYSQL_SYSVAR(lock_timeout_debug),
MYSQL_SYSVAR(loader_memory_size),
MYSQL_SYSVAR(hide_default_row_format),
+ MYSQL_SYSVAR(killed_time),
NULL
};
@@ -1378,9 +1393,9 @@ static struct st_mysql_information_schema tokudb_file_map_information_schema = {
static ST_FIELD_INFO tokudb_file_map_field_info[] = {
{"dictionary_name", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
{"internal_file_name", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
- {"database", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
- {"table", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
- {"dictionary", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
+ {"table_schema", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
+ {"table_name", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
+ {"table_dictionary_name", 256, MYSQL_TYPE_STRING, 0, 0, NULL, SKIP_OPEN_TABLE },
{NULL, 0, MYSQL_TYPE_NULL, 0, 0, NULL, SKIP_OPEN_TABLE}
};
@@ -1464,6 +1479,7 @@ static int tokudb_file_map_fill_table(THD *thd, TABLE_LIST *tables, Item *cond)
#else
static int tokudb_file_map_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
#endif
+ TOKUDB_DBUG_ENTER("");
int error;
TABLE *table = tables->table;
@@ -1477,7 +1493,7 @@ static int tokudb_file_map_fill_table(THD *thd, TABLE_LIST *tables, COND *cond)
}
rw_unlock(&tokudb_hton_initialized_lock);
- return error;
+ TOKUDB_DBUG_RETURN(error);
}
static int tokudb_file_map_init(void *p) {
@@ -1608,6 +1624,7 @@ static int tokudb_fractal_tree_info_fill_table(THD *thd, TABLE_LIST *tables, Ite
#else
static int tokudb_fractal_tree_info_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
#endif
+ TOKUDB_DBUG_ENTER("");
int error;
TABLE *table = tables->table;
@@ -1624,7 +1641,7 @@ static int tokudb_fractal_tree_info_fill_table(THD *thd, TABLE_LIST *tables, CON
//3938: unlock the status flag lock
rw_unlock(&tokudb_hton_initialized_lock);
- return error;
+ TOKUDB_DBUG_RETURN(error);
}
static int tokudb_fractal_tree_info_init(void *p) {
@@ -1672,10 +1689,10 @@ static int tokudb_report_fractal_tree_block_map_iterator(uint64_t checkpoint_cou
assert(num_rows > 0);
if (e->num_rows == 0) {
- e->checkpoint_counts = (uint64_t *) my_malloc(num_rows * (sizeof *e->checkpoint_counts), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
- e->blocknums = (int64_t *) my_malloc(num_rows * (sizeof *e->blocknums), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
- e->diskoffs = (int64_t *) my_malloc(num_rows * (sizeof *e->diskoffs), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
- e->sizes = (int64_t *) my_malloc(num_rows * (sizeof *e->sizes), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
+ e->checkpoint_counts = (uint64_t *) tokudb_my_malloc(num_rows * (sizeof *e->checkpoint_counts), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
+ e->blocknums = (int64_t *) tokudb_my_malloc(num_rows * (sizeof *e->blocknums), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
+ e->diskoffs = (int64_t *) tokudb_my_malloc(num_rows * (sizeof *e->diskoffs), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
+ e->sizes = (int64_t *) tokudb_my_malloc(num_rows * (sizeof *e->sizes), MYF(MY_WME|MY_ZEROFILL|MY_FAE));
e->num_rows = num_rows;
}
@@ -1755,19 +1772,19 @@ static int tokudb_report_fractal_tree_block_map_for_db(const DBT *dname, const D
exit:
if (e.checkpoint_counts != NULL) {
- my_free(e.checkpoint_counts);
+ tokudb_my_free(e.checkpoint_counts);
e.checkpoint_counts = NULL;
}
if (e.blocknums != NULL) {
- my_free(e.blocknums);
+ tokudb_my_free(e.blocknums);
e.blocknums = NULL;
}
if (e.diskoffs != NULL) {
- my_free(e.diskoffs);
+ tokudb_my_free(e.diskoffs);
e.diskoffs = NULL;
}
if (e.sizes != NULL) {
- my_free(e.sizes);
+ tokudb_my_free(e.sizes);
e.sizes = NULL;
}
return error;
@@ -1819,6 +1836,7 @@ static int tokudb_fractal_tree_block_map_fill_table(THD *thd, TABLE_LIST *tables
#else
static int tokudb_fractal_tree_block_map_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
#endif
+ TOKUDB_DBUG_ENTER("");
int error;
TABLE *table = tables->table;
@@ -1835,7 +1853,7 @@ static int tokudb_fractal_tree_block_map_fill_table(THD *thd, TABLE_LIST *tables
//3938: unlock the status flag lock
rw_unlock(&tokudb_hton_initialized_lock);
- return error;
+ TOKUDB_DBUG_RETURN(error);
}
static int tokudb_fractal_tree_block_map_init(void *p) {
@@ -1925,13 +1943,22 @@ static void tokudb_lock_timeout_callback(DB *db, uint64_t requesting_txnid, cons
// set last_lock_timeout
if (lock_timeout_debug & 1) {
char *old_lock_timeout = THDVAR(thd, last_lock_timeout);
- char *new_lock_timeout = my_strdup(log_str.c_ptr(), MY_FAE);
+ char *new_lock_timeout = tokudb_my_strdup(log_str.c_ptr(), MY_FAE);
THDVAR(thd, last_lock_timeout) = new_lock_timeout;
- my_free(old_lock_timeout);
+ tokudb_my_free(old_lock_timeout);
+#if TOKU_THDVAR_MEMALLOC_BUG
+ if (0) TOKUDB_TRACE("thd %p %p %p", thd, old_lock_timeout, new_lock_timeout);
+ tokudb_pthread_mutex_lock(&tokudb_map_mutex);
+ struct tokudb_map_pair old_key = { thd, old_lock_timeout };
+ tree_delete(&tokudb_map, &old_key, sizeof old_key, NULL);
+ struct tokudb_map_pair new_key = { thd, new_lock_timeout };
+ tree_insert(&tokudb_map, &new_key, sizeof new_key, NULL);
+ tokudb_pthread_mutex_unlock(&tokudb_map_mutex);
+#endif
}
// dump to stderr
if (lock_timeout_debug & 2) {
- fprintf(stderr, "tokudb_lock_timeout: %s\n", log_str.c_ptr());
+ TOKUDB_TRACE("%s", log_str.c_ptr());
}
}
}
@@ -1964,6 +1991,7 @@ static int tokudb_trx_fill_table(THD *thd, TABLE_LIST *tables, Item *cond) {
#else
static int tokudb_trx_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
#endif
+ TOKUDB_DBUG_ENTER("");
int error;
rw_rdlock(&tokudb_hton_initialized_lock);
@@ -1977,7 +2005,7 @@ static int tokudb_trx_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
}
rw_unlock(&tokudb_hton_initialized_lock);
- return error;
+ TOKUDB_DBUG_RETURN(error);
}
static int tokudb_trx_init(void *p) {
@@ -2034,6 +2062,7 @@ static int tokudb_lock_waits_fill_table(THD *thd, TABLE_LIST *tables, Item *cond
#else
static int tokudb_lock_waits_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
#endif
+ TOKUDB_DBUG_ENTER("");
int error;
rw_rdlock(&tokudb_hton_initialized_lock);
@@ -2047,7 +2076,7 @@ static int tokudb_lock_waits_fill_table(THD *thd, TABLE_LIST *tables, COND *cond
}
rw_unlock(&tokudb_hton_initialized_lock);
- return error;
+ TOKUDB_DBUG_RETURN(error);
}
static int tokudb_lock_waits_init(void *p) {
@@ -2110,6 +2139,7 @@ static int tokudb_locks_fill_table(THD *thd, TABLE_LIST *tables, Item *cond) {
#else
static int tokudb_locks_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
#endif
+ TOKUDB_DBUG_ENTER("");
int error;
rw_rdlock(&tokudb_hton_initialized_lock);
@@ -2123,7 +2153,7 @@ static int tokudb_locks_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
}
rw_unlock(&tokudb_hton_initialized_lock);
- return error;
+ TOKUDB_DBUG_RETURN(error);
}
static int tokudb_locks_init(void *p) {
@@ -2143,7 +2173,7 @@ enum { TOKUDB_PLUGIN_VERSION = 0x0400 };
// Retrieves variables for information_schema.global_status.
// Names (columnname) are automatically converted to upper case, and prefixed with "TOKUDB_"
static int show_tokudb_vars(THD *thd, SHOW_VAR *var, char *buff) {
- TOKUDB_DBUG_ENTER("show_tokudb_vars");
+ TOKUDB_DBUG_ENTER("");
int error;
uint64_t panic;
@@ -2369,7 +2399,7 @@ maria_declare_plugin(tokudb)
toku_global_status_variables_export, /* status variables */
tokudb_system_variables, /* system variables */
TOKUDB_PLUGIN_VERSION_STR, /* string version */
- MariaDB_PLUGIN_MATURITY_ALPHA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN,
@@ -2384,7 +2414,7 @@ maria_declare_plugin(tokudb)
NULL, /* status variables */
NULL, /* system variables */
TOKUDB_PLUGIN_VERSION_STR, /* string version */
- MariaDB_PLUGIN_MATURITY_ALPHA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN,
@@ -2399,7 +2429,7 @@ maria_declare_plugin(tokudb)
NULL, /* status variables */
NULL, /* system variables */
TOKUDB_PLUGIN_VERSION_STR, /* string version */
- MariaDB_PLUGIN_MATURITY_ALPHA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN,
@@ -2414,7 +2444,7 @@ maria_declare_plugin(tokudb)
NULL, /* status variables */
NULL, /* system variables */
TOKUDB_PLUGIN_VERSION_STR, /* string version */
- MariaDB_PLUGIN_MATURITY_ALPHA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN,
@@ -2429,7 +2459,7 @@ maria_declare_plugin(tokudb)
NULL, /* status variables */
NULL, /* system variables */
TOKUDB_PLUGIN_VERSION_STR, /* string version */
- MariaDB_PLUGIN_MATURITY_ALPHA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN,
@@ -2444,7 +2474,7 @@ maria_declare_plugin(tokudb)
NULL, /* status variables */
NULL, /* system variables */
TOKUDB_PLUGIN_VERSION_STR, /* string version */
- MariaDB_PLUGIN_MATURITY_ALPHA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN,
@@ -2459,7 +2489,7 @@ maria_declare_plugin(tokudb)
NULL, /* status variables */
NULL, /* system variables */
TOKUDB_PLUGIN_VERSION_STR, /* string version */
- MariaDB_PLUGIN_MATURITY_ALPHA /* maturity */
+ MariaDB_PLUGIN_MATURITY_GAMMA /* maturity */
}
maria_declare_plugin_end;
diff --git a/storage/tokudb/hatoku_hton.h b/storage/tokudb/hatoku_hton.h
index 0cdd64d0b48..005eb626241 100644
--- a/storage/tokudb/hatoku_hton.h
+++ b/storage/tokudb/hatoku_hton.h
@@ -96,7 +96,6 @@ PATENT RIGHTS GRANT:
extern handlerton *tokudb_hton;
extern DB_ENV *db_env;
-extern DB *metadata_db;
enum srv_row_format_enum {
SRV_ROW_FORMAT_UNCOMPRESSED = 0,
@@ -182,6 +181,14 @@ static bool get_create_index_online(THD* thd) {
return (THDVAR(thd, create_index_online) != 0);
}
+static MYSQL_THDVAR_BOOL(alter_print_error,
+ 0,
+ "Print errors for alter table operations",
+ NULL,
+ NULL,
+ false
+);
+
static MYSQL_THDVAR_BOOL(disable_prefetching,
0,
"if on, prefetching disabled",
@@ -339,11 +346,52 @@ static MYSQL_THDVAR_UINT(lock_timeout_debug, 0, "TokuDB lock timeout debug", NUL
static MYSQL_THDVAR_STR(last_lock_timeout, PLUGIN_VAR_MEMALLOC, "last TokuDB lock timeout", NULL /*check*/, NULL /*update*/, NULL /*default*/);
-static MYSQL_THDVAR_BOOL(hide_default_row_format, 0, "hide the default row format", NULL /*check*/, NULL /*update*/, false);
+static MYSQL_THDVAR_BOOL(hide_default_row_format, 0, "hide the default row format", NULL /*check*/, NULL /*update*/, true);
+
+static const uint64_t DEFAULT_TOKUDB_LOCK_TIMEOUT = 4000; /*milliseconds*/
+
+static MYSQL_THDVAR_ULONGLONG(lock_timeout, 0, "TokuDB lock timeout", NULL, NULL, DEFAULT_TOKUDB_LOCK_TIMEOUT, 0 /*min*/, ~0ULL /*max*/, 1 /*blocksize*/);
+
+static uint64_t tokudb_get_lock_wait_time_callback(uint64_t default_wait_time) {
+ THD *thd = current_thd;
+ uint64_t wait_time = THDVAR(thd, lock_timeout);
+ return wait_time;
+}
+
+static MYSQL_THDVAR_ULONGLONG(loader_memory_size,
+ 0,
+ "TokuDB loader memory size",
+ NULL,
+ NULL,
+ 100*1000*1000, /*default*/
+ 0, /*min*/
+ ~0ULL, /*max*/
+ 1 /*blocksize*/
+);
+
+static uint64_t tokudb_get_loader_memory_size_callback(void) {
+ THD *thd = current_thd;
+ uint64_t memory_size = THDVAR(thd, loader_memory_size);
+ return memory_size;
+}
+
+static const uint64_t DEFAULT_TOKUDB_KILLED_TIME = 4000;
+
+static MYSQL_THDVAR_ULONGLONG(killed_time, 0, "TokuDB killed time", NULL, NULL, DEFAULT_TOKUDB_KILLED_TIME, 0 /*min*/, ~0ULL /*max*/, 1 /*blocksize*/);
+
+static uint64_t tokudb_get_killed_time_callback(uint64_t default_killed_time) {
+ THD *thd = current_thd;
+ uint64_t killed_time = THDVAR(thd, killed_time);
+ return killed_time;
+}
+
+static int tokudb_killed_callback(void) {
+ THD *thd = current_thd;
+ return thd->killed;
+}
extern HASH tokudb_open_tables;
extern pthread_mutex_t tokudb_mutex;
-extern pthread_mutex_t tokudb_meta_mutex;
extern uint32_t tokudb_write_status_frequency;
extern uint32_t tokudb_read_status_frequency;
diff --git a/storage/tokudb/mysql-test/tokudb/locks-blocking-row-locks-testgen.py b/storage/tokudb/mysql-test/tokudb/locks-blocking-row-locks-testgen.py
index a8cb78cc37a..372431ada04 100644
--- a/storage/tokudb/mysql-test/tokudb/locks-blocking-row-locks-testgen.py
+++ b/storage/tokudb/mysql-test/tokudb/locks-blocking-row-locks-testgen.py
@@ -44,7 +44,6 @@ def mysqlgen_reload_table():
def mysqlgen_cleanup():
print "# clean it all up"
print "drop table t;"
- print "set global tokudb_lock_timeout=4000;"
print ""
write_point_queries = [
("select for update", mysqlgen_select_for_update),
@@ -65,7 +64,10 @@ mysqlgen_prepare()
mysqlgen_reload_table()
for timeout in timeouts:
print "# testing with timeout %s" % timeout
- print "set global tokudb_lock_timeout=%s;" % timeout
+ print "connection conn1;"
+ print "set session tokudb_lock_timeout=%s;" % timeout
+ print "connection conn2;"
+ print "set session tokudb_lock_timeout=%s;" % timeout
print ""
print "# testing each point query vs each point query"
for ta, qa in write_point_queries:
diff --git a/storage/tokudb/mysql-test/tokudb/r/auto_increment.result b/storage/tokudb/mysql-test/tokudb/r/auto_increment.result
index ce576c337d3..140c943081f 100644
--- a/storage/tokudb/mysql-test/tokudb/r/auto_increment.result
+++ b/storage/tokudb/mysql-test/tokudb/r/auto_increment.result
@@ -376,7 +376,7 @@ t1 CREATE TABLE `t1` (
`t1_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`t1_id`),
KEY `t1_name` (`t1_name`)
-) ENGINE=TokuDB AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1
+) ENGINE=TokuDB AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE `t1`;
create table t1(a int not null auto_increment primary key);
create table t2(a int not null auto_increment primary key, t1a int);
diff --git a/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary.result b/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary.result
index 93b92c60f53..2a175f238de 100644
--- a/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary.result
+++ b/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary.result
@@ -1,3 +1,4 @@
+set default_storage_engine='tokudb';
drop table if exists t;
create table t (id tinyint unsigned not null auto_increment, key(id));
insert into t set id=0xf8;
diff --git a/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary_traditional.result b/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary_traditional.result
index 98401de1f8a..b275a55f21a 100644
--- a/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary_traditional.result
+++ b/storage/tokudb/mysql-test/tokudb/r/auto_increment_boundary_traditional.result
@@ -1,3 +1,4 @@
+set default_storage_engine='tokudb';
drop table if exists t;
set sql_mode=traditional;
create table t (id tinyint unsigned not null auto_increment, key(id));
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_char_default.result b/storage/tokudb/mysql-test/tokudb/r/change_column_char_default.result
index b32ea1498c1..f9df80c8fd6 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_char_default.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_char_default.result
@@ -7,19 +7,19 @@ Table Create Table
t CREATE TABLE `t` (
`a` char(100) NOT NULL DEFAULT '',
`b` binary(200) NOT NULL DEFAULT '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a CHAR(101) NOT NULL DEFAULT 'a';
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` char(101) NOT NULL DEFAULT 'a',
`b` binary(200) NOT NULL DEFAULT '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN b b BINARY(201) NOT NULL DEFAULT 'b';
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` char(101) NOT NULL DEFAULT 'a',
`b` binary(201) NOT NULL DEFAULT 'b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE t;
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_int_default.result b/storage/tokudb/mysql-test/tokudb/r/change_column_int_default.result
index 558d153711c..2d450f4991a 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_int_default.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_int_default.result
@@ -7,31 +7,31 @@ SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` tinyint(4) DEFAULT '100'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a SMALLINT DEFAULT 200;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` smallint(6) DEFAULT '200'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a MEDIUMINT DEFAULT 300;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` mediumint(9) DEFAULT '300'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a INT DEFAULT 400;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` int(11) DEFAULT '400'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a BIGINT DEFAULT 500;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` bigint(20) DEFAULT '500'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE t;
CREATE TABLE t (a TINYINT NOT NULL DEFAULT 1);
ALTER TABLE t CHANGE COLUMN a a TINYINT NOT NULL DEFAULT 100;
@@ -39,31 +39,31 @@ SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` tinyint(4) NOT NULL DEFAULT '100'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a SMALLINT NOT NULL DEFAULT 200;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` smallint(6) NOT NULL DEFAULT '200'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a MEDIUMINT NOT NULL DEFAULT 300;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` mediumint(9) NOT NULL DEFAULT '300'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a INT NOT NULL DEFAULT 400;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` int(11) NOT NULL DEFAULT '400'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a BIGINT NOT NULL DEFAULT 500;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` bigint(20) NOT NULL DEFAULT '500'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE t;
CREATE TABLE t (a TINYINT UNSIGNED DEFAULT 1);
ALTER TABLE t CHANGE COLUMN a a TINYINT UNSIGNED DEFAULT 100;
@@ -71,31 +71,31 @@ SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` tinyint(3) unsigned DEFAULT '100'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a SMALLINT UNSIGNED DEFAULT 200;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` smallint(5) unsigned DEFAULT '200'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a MEDIUMINT UNSIGNED DEFAULT 300;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` mediumint(8) unsigned DEFAULT '300'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a INT UNSIGNED DEFAULT 400;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` int(10) unsigned DEFAULT '400'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a BIGINT UNSIGNED DEFAULT 500;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` bigint(20) unsigned DEFAULT '500'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE t;
CREATE TABLE t (a TINYINT UNSIGNED NOT NULL DEFAULT 1);
ALTER TABLE t CHANGE COLUMN a a TINYINT UNSIGNED NOT NULL DEFAULT 100;
@@ -103,29 +103,29 @@ SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` tinyint(3) unsigned NOT NULL DEFAULT '100'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a SMALLINT UNSIGNED NOT NULL DEFAULT 200;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` smallint(5) unsigned NOT NULL DEFAULT '200'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a MEDIUMINT UNSIGNED NOT NULL DEFAULT 300;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` mediumint(8) unsigned NOT NULL DEFAULT '300'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a INT UNSIGNED NOT NULL DEFAULT 400;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` int(10) unsigned NOT NULL DEFAULT '400'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a BIGINT UNSIGNED NOT NULL DEFAULT 500;
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` bigint(20) unsigned NOT NULL DEFAULT '500'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE t;
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varbin.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varbin.result
index 635afaf0895..d18c38721e6 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varbin.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varbin.result
@@ -5,7 +5,7 @@ SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varbinary(1) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARBINARY(2);
ALTER TABLE t CHANGE COLUMN a a VARBINARY(2);
ALTER TABLE t CHANGE COLUMN a a VARBINARY(3);
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_default.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_default.result
index 874233af69c..344c78c53be 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_default.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_default.result
@@ -6,21 +6,21 @@ Table Create Table
t CREATE TABLE `t` (
`a` varbinary(100) NOT NULL DEFAULT '',
`b` varbinary(256) NOT NULL DEFAULT ''
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARBINARY(255) NOT NULL DEFAULT 'a';
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varbinary(255) NOT NULL DEFAULT 'a',
`b` varbinary(256) NOT NULL DEFAULT ''
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARBINARY(256) NOT NULL DEFAULT 'b';
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varbinary(256) NOT NULL DEFAULT 'b',
`b` varbinary(256) NOT NULL DEFAULT ''
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN b b VARBINARY(255) NOT NULL DEFAULT 'c';
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
ALTER TABLE t CHANGE COLUMN b b VARBINARY(1024) NOT NULL DEFAULT 'd';
@@ -29,7 +29,7 @@ Table Create Table
t CREATE TABLE `t` (
`a` varbinary(256) NOT NULL DEFAULT 'b',
`b` varbinary(1024) NOT NULL DEFAULT 'd'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN b b VARBINARY(256) NOT NULL DEFAULT 'e';
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
DROP TABLE t;
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_multiple.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_multiple.result
index 3da19a3fd62..d1577ee0d84 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_multiple.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varbin_multiple.result
@@ -12,14 +12,14 @@ Table Create Table
t CREATE TABLE `t` (
`a` varbinary(101) DEFAULT NULL,
`b` varbinary(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARBINARY(200);
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varbinary(200) DEFAULT NULL,
`b` varbinary(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
SELECT * FROM t;
a b
hi there
@@ -38,7 +38,7 @@ t CREATE TABLE `t` (
`i` int(11) DEFAULT NULL,
`a` varbinary(101) DEFAULT NULL,
`b` varbinary(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARBINARY(200);
SHOW CREATE TABLE t;
Table Create Table
@@ -46,7 +46,7 @@ t CREATE TABLE `t` (
`i` int(11) DEFAULT NULL,
`a` varbinary(200) DEFAULT NULL,
`b` varbinary(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
SELECT * FROM t;
i a b
1 hi there
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar.result
index a9cb5e57a36..7f3d4265662 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar.result
@@ -5,7 +5,7 @@ SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varchar(1) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARCHAR(2);
ALTER TABLE t CHANGE COLUMN a a VARCHAR(2);
ALTER TABLE t CHANGE COLUMN a a VARCHAR(3);
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_default.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_default.result
index c9ea9737e5f..b04e5d7bc36 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_default.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_default.result
@@ -6,21 +6,21 @@ Table Create Table
t CREATE TABLE `t` (
`a` varchar(100) NOT NULL DEFAULT '',
`b` varchar(256) NOT NULL DEFAULT ''
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARCHAR(255) NOT NULL DEFAULT 'a';
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varchar(255) NOT NULL DEFAULT 'a',
`b` varchar(256) NOT NULL DEFAULT ''
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARCHAR(256) NOT NULL DEFAULT 'b';
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varchar(256) NOT NULL DEFAULT 'b',
`b` varchar(256) NOT NULL DEFAULT ''
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN b b VARCHAR(255) NOT NULL DEFAULT 'c';
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
ALTER TABLE t CHANGE COLUMN b b VARCHAR(1024) NOT NULL DEFAULT 'd';
@@ -29,7 +29,7 @@ Table Create Table
t CREATE TABLE `t` (
`a` varchar(256) NOT NULL DEFAULT 'b',
`b` varchar(1024) NOT NULL DEFAULT 'd'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN b b VARCHAR(256) NOT NULL DEFAULT 'e';
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
DROP TABLE t;
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_a.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_a.result
index d40f4abdd4a..30bdc54acbf 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_a.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_a.result
@@ -8,7 +8,7 @@ t CREATE TABLE `t` (
`a` varchar(32) DEFAULT NULL,
`b` varchar(32) DEFAULT NULL,
KEY `a` (`a`(2))
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARCHAR(100);
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
ALTER TABLE t CHANGE COLUMN a a VARCHAR(256);
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_b.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_b.result
index 6cbf0f9b5b7..dfe9d12b047 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_b.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_prefix_b.result
@@ -8,7 +8,7 @@ t CREATE TABLE `t` (
`a` varchar(32) DEFAULT NULL,
`b` varchar(32) DEFAULT NULL,
KEY `a` (`a`(2))
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN b b VARCHAR(100);
ALTER TABLE t CHANGE COLUMN b b VARCHAR(256);
DROP TABLE t;
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_sum_cross256.result b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_sum_cross256.result
index 2d56f6b7319..2d91d590dd4 100644
--- a/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_sum_cross256.result
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_varchar_sum_cross256.result
@@ -12,14 +12,14 @@ Table Create Table
t CREATE TABLE `t` (
`a` varchar(101) DEFAULT NULL,
`b` varchar(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARCHAR(200);
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` varchar(200) DEFAULT NULL,
`b` varchar(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
SELECT * FROM t;
a b
hi there
@@ -38,7 +38,7 @@ t CREATE TABLE `t` (
`i` int(11) DEFAULT NULL,
`a` varchar(101) DEFAULT NULL,
`b` varchar(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE t CHANGE COLUMN a a VARCHAR(200);
SHOW CREATE TABLE t;
Table Create Table
@@ -46,7 +46,7 @@ t CREATE TABLE `t` (
`i` int(11) DEFAULT NULL,
`a` varchar(200) DEFAULT NULL,
`b` varchar(100) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
SELECT * FROM t;
i a b
1 hi there
diff --git a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-0.result b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-0.result
index 1e0935543dc..4e23ce34a0c 100644
--- a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-0.result
+++ b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-0.result
@@ -1009,14 +1009,14 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL NULL NULL NULL NULL 1000
@@ -1030,7 +1030,7 @@ s CREATE TABLE `s` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1038,7 +1038,7 @@ t CREATE TABLE `t` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b b 5 NULL 1000 Using where; Using index
diff --git a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-1.result b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-1.result
index c23f71f28f0..b124834f7c8 100644
--- a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-1.result
+++ b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-1.result
@@ -1009,14 +1009,14 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL NULL NULL NULL NULL 1000
@@ -1030,7 +1030,7 @@ s CREATE TABLE `s` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1038,7 +1038,7 @@ t CREATE TABLE `t` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL b NULL NULL NULL 1000 Using where
@@ -1057,7 +1057,7 @@ s CREATE TABLE `s` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_2` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1066,11 +1066,11 @@ t CREATE TABLE `t` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_2` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b,b_2 b_2 5 NULL 1000 Using where; Using index
-1 SIMPLE t ref b,b_2 b_2 5 test.s.b 11 Using index
+1 SIMPLE t ref b,b_2 b_2 5 test.s.b 1 Using index
alter table s drop key b;
alter table t drop key b;
show create table s;
@@ -1080,7 +1080,7 @@ s CREATE TABLE `s` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b_2` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1088,7 +1088,7 @@ t CREATE TABLE `t` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b_2` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b_2 b_2 5 NULL 1000 Using where; Using index
@@ -1107,7 +1107,7 @@ s CREATE TABLE `s` (
`c` int(11) DEFAULT NULL,
KEY `b_2` (`b`) `clustering`=yes,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1116,9 +1116,9 @@ t CREATE TABLE `t` (
`c` int(11) DEFAULT NULL,
KEY `b_2` (`b`) `clustering`=yes,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b_2,b b_2 5 NULL 1000 Using where; Using index
-1 SIMPLE t ref b_2,b b_2 5 test.s.b 11 Using index
+1 SIMPLE t ref b_2,b b 5 test.s.b 1
drop table s,t;
diff --git a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-2.result b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-2.result
index 026be76fec2..cfb4ec696ce 100644
--- a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-2.result
+++ b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-2.result
@@ -1009,14 +1009,14 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join s.a,t.a from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL NULL NULL NULL NULL 1000
@@ -1030,7 +1030,7 @@ s CREATE TABLE `s` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1038,7 +1038,7 @@ t CREATE TABLE `t` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join s.a,t.a from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL b NULL NULL NULL 1000 Using where
@@ -1053,7 +1053,7 @@ s CREATE TABLE `s` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_2` (`b`,`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1062,7 +1062,7 @@ t CREATE TABLE `t` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_2` (`b`,`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join s.a,t.a from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b,b_2 b_2 10 NULL 1000 Using where; Using index
@@ -1082,7 +1082,7 @@ s CREATE TABLE `s` (
KEY `b` (`b`),
KEY `b_2` (`b`,`a`),
KEY `b_3` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1092,11 +1092,11 @@ t CREATE TABLE `t` (
KEY `b` (`b`),
KEY `b_2` (`b`,`a`),
KEY `b_3` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join s.a,t.a from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b,b_2,b_3 b_2 10 NULL 1000 Using where; Using index
-1 SIMPLE t ref b,b_2,b_3 b_2 5 test.s.b 11 Using index
+1 SIMPLE t ref b,b_2,b_3 b_3 5 test.s.b 1 Using index
alter table s drop key b_2;
alter table t drop key b_2;
show create table s;
@@ -1107,7 +1107,7 @@ s CREATE TABLE `s` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_3` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1116,9 +1116,9 @@ t CREATE TABLE `t` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_3` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join s.a,t.a from s,t where s.b = t.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b,b_3 b_3 5 NULL 1000 Using where; Using index
-1 SIMPLE t ref b,b_3 b_3 5 test.s.b 11 Using index
+1 SIMPLE t ref b,b_3 b_3 5 test.s.b 1 Using index
drop table s,t;
diff --git a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-3.result b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-3.result
index 666fdf875a0..a36df1f251e 100644
--- a/storage/tokudb/mysql-test/tokudb/r/cluster_2968-3.result
+++ b/storage/tokudb/mysql-test/tokudb/r/cluster_2968-3.result
@@ -1012,21 +1012,21 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table u;
Table Create Table
u CREATE TABLE `u` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t,u where s.b = t.b and s.c = t.c;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL NULL NULL NULL NULL 1000
@@ -1042,7 +1042,7 @@ s CREATE TABLE `s` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1050,7 +1050,7 @@ t CREATE TABLE `t` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table u;
Table Create Table
u CREATE TABLE `u` (
@@ -1058,7 +1058,7 @@ u CREATE TABLE `u` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `c` (`c`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t,u where s.b = t.b and s.c = u.c;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL b NULL NULL NULL 1000 Using where
@@ -1081,7 +1081,7 @@ s CREATE TABLE `s` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_2` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table t;
Table Create Table
t CREATE TABLE `t` (
@@ -1090,7 +1090,7 @@ t CREATE TABLE `t` (
`c` int(11) DEFAULT NULL,
KEY `b` (`b`),
KEY `b_2` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table u;
Table Create Table
u CREATE TABLE `u` (
@@ -1099,10 +1099,10 @@ u CREATE TABLE `u` (
`c` int(11) DEFAULT NULL,
KEY `c` (`c`),
KEY `c_2` (`c`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select straight_join * from s,t,u where s.b = t.b and s.c = u.c;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL b,b_2 NULL NULL NULL 1000 Using where
-1 SIMPLE t ref b,b_2 b_2 5 test.s.b 11 Using index
-1 SIMPLE u ref c,c_2 c_2 5 test.s.c 11 Using index
+1 SIMPLE t ref b,b_2 b_2 5 test.s.b 1 Using index
+1 SIMPLE u ref c,c_2 c_2 5 test.s.c 1 Using index
drop table s,t,u;
diff --git a/storage/tokudb/mysql-test/tokudb/r/cluster_create_table.result b/storage/tokudb/mysql-test/tokudb/r/cluster_create_table.result
index 914c3edc6ac..5ffa89eaf6c 100644
--- a/storage/tokudb/mysql-test/tokudb/r/cluster_create_table.result
+++ b/storage/tokudb/mysql-test/tokudb/r/cluster_create_table.result
@@ -11,7 +11,7 @@ t1 CREATE TABLE `t1` (
`d` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
create index foo on t1(c,d) clustering=yes;
show create table t1;
Table Create Table
@@ -23,7 +23,7 @@ t1 CREATE TABLE `t1` (
PRIMARY KEY (`a`),
KEY `b` (`b`) `clustering`=yes,
KEY `foo` (`c`,`d`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table t1 drop primary key;
alter table t1 add primary key (a,b,c,d);
alter table t1 add key bar(d,c,b,a) clustering=yes;
@@ -38,7 +38,7 @@ t1 CREATE TABLE `t1` (
KEY `b` (`b`) `clustering`=yes,
KEY `foo` (`c`,`d`) `clustering`=yes,
KEY `bar` (`d`,`c`,`b`,`a`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 value (1,1,1,1),(2,2,2,2),(3,3,3,3),(4,4,4,4),(32,54,12,56);
explain select * from t1;
id select_type table type possible_keys key key_len ref rows Extra
diff --git a/storage/tokudb/mysql-test/tokudb/r/cluster_filter_unpack_varchar_and_int_hidden.result b/storage/tokudb/mysql-test/tokudb/r/cluster_filter_unpack_varchar_and_int_hidden.result
index cf70de29376..f67c5bccd6b 100644
--- a/storage/tokudb/mysql-test/tokudb/r/cluster_filter_unpack_varchar_and_int_hidden.result
+++ b/storage/tokudb/mysql-test/tokudb/r/cluster_filter_unpack_varchar_and_int_hidden.result
@@ -182,14 +182,14 @@ a b c d e f
3 30 200 2000 20000 200000
explain select * from t1 where b > 0;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 index b b NULL NULL NULL; Using where; Using index
+1 SIMPLE t1 index_or_range b b NULL NULL NULL; Using where; Using index_or_range
select * from t1 where b > 0;
a b c d e f
2 20 100 1000 10000 100000
3 30 200 2000 20000 200000
explain select * from t1 where d > "0";
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 index d d NULL NULL NULL; Using where; Using index
+1 SIMPLE t1 index_or_range d d NULL NULL NULL; Using where; Using index_or_range
select * from t1 where d > "0";
a b c d e f
2 20 100 1000 10000 100000
diff --git a/storage/tokudb/mysql-test/tokudb/r/ctype_collate.result b/storage/tokudb/mysql-test/tokudb/r/ctype_collate.result
index 6254005d2bb..e6de51b896d 100644
--- a/storage/tokudb/mysql-test/tokudb/r/ctype_collate.result
+++ b/storage/tokudb/mysql-test/tokudb/r/ctype_collate.result
@@ -486,7 +486,7 @@ SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`latin1_f` char(32) NOT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
SHOW FIELDS FROM t1;
Field Type Null Key Default Extra
latin1_f char(32) NO NULL
@@ -496,7 +496,7 @@ SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`latin1_f` char(32) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
SHOW FIELDS FROM t1;
Field Type Null Key Default Extra
latin1_f char(32) YES NULL
@@ -505,7 +505,7 @@ SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`latin1_f` char(32) COLLATE latin1_bin DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1 COLLATE=latin1_bin
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 COLLATE=latin1_bin `compression`='tokudb_zlib'
SHOW FIELDS FROM t1;
Field Type Null Key Default Extra
latin1_f char(32) YES NULL
diff --git a/storage/tokudb/mysql-test/tokudb/r/ctype_cp1250_ch.result b/storage/tokudb/mysql-test/tokudb/r/ctype_cp1250_ch.result
index 12c10bcd967..c475231ddb3 100644
--- a/storage/tokudb/mysql-test/tokudb/r/ctype_cp1250_ch.result
+++ b/storage/tokudb/mysql-test/tokudb/r/ctype_cp1250_ch.result
@@ -85,7 +85,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`name` varchar(10) DEFAULT NULL,
`level` smallint(5) unsigned DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=cp1250
+) ENGINE=TokuDB DEFAULT CHARSET=cp1250 `compression`='tokudb_zlib'
insert into t1 values ('string',1);
select concat(name,space(level)), concat(name, repeat(' ',level)) from t1;
concat(name,space(level)) concat(name, repeat(' ',level))
@@ -178,7 +178,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`name` varchar(10) COLLATE cp1250_czech_cs DEFAULT NULL,
`level` smallint(5) unsigned DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=cp1250 COLLATE=cp1250_czech_cs
+) ENGINE=TokuDB DEFAULT CHARSET=cp1250 COLLATE=cp1250_czech_cs `compression`='tokudb_zlib'
insert into t1 values ('string',1);
select concat(name,space(level)), concat(name, repeat(' ',level)) from t1;
concat(name,space(level)) concat(name, repeat(' ',level))
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
index a7be06f34ee..010ecbe955f 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
@@ -10012,7 +10012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9999;
show create table s;
Table Create Table
@@ -10020,7 +10020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9998;
show create table s;
Table Create Table
@@ -10028,7 +10028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9997;
show create table s;
Table Create Table
@@ -10036,7 +10036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9996;
show create table s;
Table Create Table
@@ -10044,7 +10044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9995;
show create table s;
Table Create Table
@@ -10052,7 +10052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9994;
show create table s;
Table Create Table
@@ -10060,7 +10060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9993;
show create table s;
Table Create Table
@@ -10068,7 +10068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9992;
show create table s;
Table Create Table
@@ -10076,7 +10076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9991;
show create table s;
Table Create Table
@@ -10084,7 +10084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9990;
show create table s;
Table Create Table
@@ -10092,7 +10092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9989;
show create table s;
Table Create Table
@@ -10100,7 +10100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9988;
show create table s;
Table Create Table
@@ -10108,7 +10108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9987;
show create table s;
Table Create Table
@@ -10116,7 +10116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9986;
show create table s;
Table Create Table
@@ -10124,7 +10124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9985;
show create table s;
Table Create Table
@@ -10132,7 +10132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9984;
show create table s;
Table Create Table
@@ -10140,7 +10140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9983;
show create table s;
Table Create Table
@@ -10148,7 +10148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9982;
show create table s;
Table Create Table
@@ -10156,7 +10156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9981;
show create table s;
Table Create Table
@@ -10164,7 +10164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9980;
show create table s;
Table Create Table
@@ -10172,7 +10172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9979;
show create table s;
Table Create Table
@@ -10180,7 +10180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9978;
show create table s;
Table Create Table
@@ -10188,7 +10188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9977;
show create table s;
Table Create Table
@@ -10196,7 +10196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9976;
show create table s;
Table Create Table
@@ -10204,7 +10204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9975;
show create table s;
Table Create Table
@@ -10212,7 +10212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9974;
show create table s;
Table Create Table
@@ -10220,7 +10220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9973;
show create table s;
Table Create Table
@@ -10228,7 +10228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9972;
show create table s;
Table Create Table
@@ -10236,7 +10236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9971;
show create table s;
Table Create Table
@@ -10244,7 +10244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9970;
show create table s;
Table Create Table
@@ -10252,7 +10252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9969;
show create table s;
Table Create Table
@@ -10260,7 +10260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9968;
show create table s;
Table Create Table
@@ -10268,7 +10268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9967;
show create table s;
Table Create Table
@@ -10276,7 +10276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9966;
show create table s;
Table Create Table
@@ -10284,7 +10284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9965;
show create table s;
Table Create Table
@@ -10292,7 +10292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9964;
show create table s;
Table Create Table
@@ -10300,7 +10300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9963;
show create table s;
Table Create Table
@@ -10308,7 +10308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9962;
show create table s;
Table Create Table
@@ -10316,7 +10316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9961;
show create table s;
Table Create Table
@@ -10324,7 +10324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9960;
show create table s;
Table Create Table
@@ -10332,7 +10332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9959;
show create table s;
Table Create Table
@@ -10340,7 +10340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9958;
show create table s;
Table Create Table
@@ -10348,7 +10348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9957;
show create table s;
Table Create Table
@@ -10356,7 +10356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9956;
show create table s;
Table Create Table
@@ -10364,7 +10364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9955;
show create table s;
Table Create Table
@@ -10372,7 +10372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9954;
show create table s;
Table Create Table
@@ -10380,7 +10380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9953;
show create table s;
Table Create Table
@@ -10388,7 +10388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9952;
show create table s;
Table Create Table
@@ -10396,7 +10396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9951;
show create table s;
Table Create Table
@@ -10404,7 +10404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9950;
show create table s;
Table Create Table
@@ -10412,7 +10412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9949;
show create table s;
Table Create Table
@@ -10420,7 +10420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9948;
show create table s;
Table Create Table
@@ -10428,7 +10428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9947;
show create table s;
Table Create Table
@@ -10436,7 +10436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9946;
show create table s;
Table Create Table
@@ -10444,7 +10444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9945;
show create table s;
Table Create Table
@@ -10452,7 +10452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9944;
show create table s;
Table Create Table
@@ -10460,7 +10460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9943;
show create table s;
Table Create Table
@@ -10468,7 +10468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9942;
show create table s;
Table Create Table
@@ -10476,7 +10476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9941;
show create table s;
Table Create Table
@@ -10484,7 +10484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9940;
show create table s;
Table Create Table
@@ -10492,7 +10492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9939;
show create table s;
Table Create Table
@@ -10500,7 +10500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9938;
show create table s;
Table Create Table
@@ -10508,7 +10508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9937;
show create table s;
Table Create Table
@@ -10516,7 +10516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9936;
show create table s;
Table Create Table
@@ -10524,7 +10524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9935;
show create table s;
Table Create Table
@@ -10532,7 +10532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9934;
show create table s;
Table Create Table
@@ -10540,7 +10540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9933;
show create table s;
Table Create Table
@@ -10548,7 +10548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9932;
show create table s;
Table Create Table
@@ -10556,7 +10556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9931;
show create table s;
Table Create Table
@@ -10564,7 +10564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9930;
show create table s;
Table Create Table
@@ -10572,7 +10572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9929;
show create table s;
Table Create Table
@@ -10580,7 +10580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9928;
show create table s;
Table Create Table
@@ -10588,7 +10588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9927;
show create table s;
Table Create Table
@@ -10596,7 +10596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9926;
show create table s;
Table Create Table
@@ -10604,7 +10604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9925;
show create table s;
Table Create Table
@@ -10612,7 +10612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9924;
show create table s;
Table Create Table
@@ -10620,7 +10620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9923;
show create table s;
Table Create Table
@@ -10628,7 +10628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9922;
show create table s;
Table Create Table
@@ -10636,7 +10636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9921;
show create table s;
Table Create Table
@@ -10644,7 +10644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9920;
show create table s;
Table Create Table
@@ -10652,7 +10652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9919;
show create table s;
Table Create Table
@@ -10660,7 +10660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9918;
show create table s;
Table Create Table
@@ -10668,7 +10668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9917;
show create table s;
Table Create Table
@@ -10676,7 +10676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9916;
show create table s;
Table Create Table
@@ -10684,7 +10684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9915;
show create table s;
Table Create Table
@@ -10692,7 +10692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9914;
show create table s;
Table Create Table
@@ -10700,7 +10700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9913;
show create table s;
Table Create Table
@@ -10708,7 +10708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9912;
show create table s;
Table Create Table
@@ -10716,7 +10716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9911;
show create table s;
Table Create Table
@@ -10724,7 +10724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9910;
show create table s;
Table Create Table
@@ -10732,7 +10732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9909;
show create table s;
Table Create Table
@@ -10740,7 +10740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9908;
show create table s;
Table Create Table
@@ -10748,7 +10748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9907;
show create table s;
Table Create Table
@@ -10756,7 +10756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9906;
show create table s;
Table Create Table
@@ -10764,7 +10764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9905;
show create table s;
Table Create Table
@@ -10772,7 +10772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9904;
show create table s;
Table Create Table
@@ -10780,7 +10780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9903;
show create table s;
Table Create Table
@@ -10788,7 +10788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9902;
show create table s;
Table Create Table
@@ -10796,7 +10796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9901;
show create table s;
Table Create Table
@@ -10804,7 +10804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9900;
show create table s;
Table Create Table
@@ -10812,7 +10812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9899;
show create table s;
Table Create Table
@@ -10820,7 +10820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9898;
show create table s;
Table Create Table
@@ -10828,7 +10828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9897;
show create table s;
Table Create Table
@@ -10836,7 +10836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9896;
show create table s;
Table Create Table
@@ -10844,7 +10844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9895;
show create table s;
Table Create Table
@@ -10852,7 +10852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9894;
show create table s;
Table Create Table
@@ -10860,7 +10860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9893;
show create table s;
Table Create Table
@@ -10868,7 +10868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9892;
show create table s;
Table Create Table
@@ -10876,7 +10876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9891;
show create table s;
Table Create Table
@@ -10884,7 +10884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9890;
show create table s;
Table Create Table
@@ -10892,7 +10892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9889;
show create table s;
Table Create Table
@@ -10900,7 +10900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9888;
show create table s;
Table Create Table
@@ -10908,7 +10908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9887;
show create table s;
Table Create Table
@@ -10916,7 +10916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9886;
show create table s;
Table Create Table
@@ -10924,7 +10924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9885;
show create table s;
Table Create Table
@@ -10932,7 +10932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9884;
show create table s;
Table Create Table
@@ -10940,7 +10940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9883;
show create table s;
Table Create Table
@@ -10948,7 +10948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9882;
show create table s;
Table Create Table
@@ -10956,7 +10956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9881;
show create table s;
Table Create Table
@@ -10964,7 +10964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9880;
show create table s;
Table Create Table
@@ -10972,7 +10972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9879;
show create table s;
Table Create Table
@@ -10980,7 +10980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9878;
show create table s;
Table Create Table
@@ -10988,7 +10988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9877;
show create table s;
Table Create Table
@@ -10996,7 +10996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9876;
show create table s;
Table Create Table
@@ -11004,7 +11004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9875;
show create table s;
Table Create Table
@@ -11012,7 +11012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9874;
show create table s;
Table Create Table
@@ -11020,7 +11020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9873;
show create table s;
Table Create Table
@@ -11028,7 +11028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9872;
show create table s;
Table Create Table
@@ -11036,7 +11036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9871;
show create table s;
Table Create Table
@@ -11044,7 +11044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9870;
show create table s;
Table Create Table
@@ -11052,7 +11052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9869;
show create table s;
Table Create Table
@@ -11060,7 +11060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9868;
show create table s;
Table Create Table
@@ -11068,7 +11068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9867;
show create table s;
Table Create Table
@@ -11076,7 +11076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9866;
show create table s;
Table Create Table
@@ -11084,7 +11084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9865;
show create table s;
Table Create Table
@@ -11092,7 +11092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9864;
show create table s;
Table Create Table
@@ -11100,7 +11100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9863;
show create table s;
Table Create Table
@@ -11108,7 +11108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9862;
show create table s;
Table Create Table
@@ -11116,7 +11116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9861;
show create table s;
Table Create Table
@@ -11124,7 +11124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9860;
show create table s;
Table Create Table
@@ -11132,7 +11132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9859;
show create table s;
Table Create Table
@@ -11140,7 +11140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9858;
show create table s;
Table Create Table
@@ -11148,7 +11148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9857;
show create table s;
Table Create Table
@@ -11156,7 +11156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9856;
show create table s;
Table Create Table
@@ -11164,7 +11164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9855;
show create table s;
Table Create Table
@@ -11172,7 +11172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9854;
show create table s;
Table Create Table
@@ -11180,7 +11180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9853;
show create table s;
Table Create Table
@@ -11188,7 +11188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9852;
show create table s;
Table Create Table
@@ -11196,7 +11196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9851;
show create table s;
Table Create Table
@@ -11204,7 +11204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9850;
show create table s;
Table Create Table
@@ -11212,7 +11212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9849;
show create table s;
Table Create Table
@@ -11220,7 +11220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9848;
show create table s;
Table Create Table
@@ -11228,7 +11228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9847;
show create table s;
Table Create Table
@@ -11236,7 +11236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9846;
show create table s;
Table Create Table
@@ -11244,7 +11244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9845;
show create table s;
Table Create Table
@@ -11252,7 +11252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9844;
show create table s;
Table Create Table
@@ -11260,7 +11260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9843;
show create table s;
Table Create Table
@@ -11268,7 +11268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9842;
show create table s;
Table Create Table
@@ -11276,7 +11276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9841;
show create table s;
Table Create Table
@@ -11284,7 +11284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9840;
show create table s;
Table Create Table
@@ -11292,7 +11292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9839;
show create table s;
Table Create Table
@@ -11300,7 +11300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9838;
show create table s;
Table Create Table
@@ -11308,7 +11308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9837;
show create table s;
Table Create Table
@@ -11316,7 +11316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9836;
show create table s;
Table Create Table
@@ -11324,7 +11324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9835;
show create table s;
Table Create Table
@@ -11332,7 +11332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9834;
show create table s;
Table Create Table
@@ -11340,7 +11340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9833;
show create table s;
Table Create Table
@@ -11348,7 +11348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9832;
show create table s;
Table Create Table
@@ -11356,7 +11356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9831;
show create table s;
Table Create Table
@@ -11364,7 +11364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9830;
show create table s;
Table Create Table
@@ -11372,7 +11372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9829;
show create table s;
Table Create Table
@@ -11380,7 +11380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9828;
show create table s;
Table Create Table
@@ -11388,7 +11388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9827;
show create table s;
Table Create Table
@@ -11396,7 +11396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9826;
show create table s;
Table Create Table
@@ -11404,7 +11404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9825;
show create table s;
Table Create Table
@@ -11412,7 +11412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9824;
show create table s;
Table Create Table
@@ -11420,7 +11420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9823;
show create table s;
Table Create Table
@@ -11428,7 +11428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9822;
show create table s;
Table Create Table
@@ -11436,7 +11436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9821;
show create table s;
Table Create Table
@@ -11444,7 +11444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9820;
show create table s;
Table Create Table
@@ -11452,7 +11452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9819;
show create table s;
Table Create Table
@@ -11460,7 +11460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9818;
show create table s;
Table Create Table
@@ -11468,7 +11468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9817;
show create table s;
Table Create Table
@@ -11476,7 +11476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9816;
show create table s;
Table Create Table
@@ -11484,7 +11484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9815;
show create table s;
Table Create Table
@@ -11492,7 +11492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9814;
show create table s;
Table Create Table
@@ -11500,7 +11500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9813;
show create table s;
Table Create Table
@@ -11508,7 +11508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9812;
show create table s;
Table Create Table
@@ -11516,7 +11516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9811;
show create table s;
Table Create Table
@@ -11524,7 +11524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9810;
show create table s;
Table Create Table
@@ -11532,7 +11532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9809;
show create table s;
Table Create Table
@@ -11540,7 +11540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9808;
show create table s;
Table Create Table
@@ -11548,7 +11548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9807;
show create table s;
Table Create Table
@@ -11556,7 +11556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9806;
show create table s;
Table Create Table
@@ -11564,7 +11564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9805;
show create table s;
Table Create Table
@@ -11572,7 +11572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9804;
show create table s;
Table Create Table
@@ -11580,7 +11580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9803;
show create table s;
Table Create Table
@@ -11588,7 +11588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9802;
show create table s;
Table Create Table
@@ -11596,7 +11596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9801;
show create table s;
Table Create Table
@@ -11604,7 +11604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9800;
show create table s;
Table Create Table
@@ -11612,7 +11612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9799;
show create table s;
Table Create Table
@@ -11620,7 +11620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9798;
show create table s;
Table Create Table
@@ -11628,7 +11628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9797;
show create table s;
Table Create Table
@@ -11636,7 +11636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9796;
show create table s;
Table Create Table
@@ -11644,7 +11644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9795;
show create table s;
Table Create Table
@@ -11652,7 +11652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9794;
show create table s;
Table Create Table
@@ -11660,7 +11660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9793;
show create table s;
Table Create Table
@@ -11668,7 +11668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9792;
show create table s;
Table Create Table
@@ -11676,7 +11676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9791;
show create table s;
Table Create Table
@@ -11684,7 +11684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9790;
show create table s;
Table Create Table
@@ -11692,7 +11692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9789;
show create table s;
Table Create Table
@@ -11700,7 +11700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9788;
show create table s;
Table Create Table
@@ -11708,7 +11708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9787;
show create table s;
Table Create Table
@@ -11716,7 +11716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9786;
show create table s;
Table Create Table
@@ -11724,7 +11724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9785;
show create table s;
Table Create Table
@@ -11732,7 +11732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9784;
show create table s;
Table Create Table
@@ -11740,7 +11740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9783;
show create table s;
Table Create Table
@@ -11748,7 +11748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9782;
show create table s;
Table Create Table
@@ -11756,7 +11756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9781;
show create table s;
Table Create Table
@@ -11764,7 +11764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9780;
show create table s;
Table Create Table
@@ -11772,7 +11772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9779;
show create table s;
Table Create Table
@@ -11780,7 +11780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9778;
show create table s;
Table Create Table
@@ -11788,7 +11788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9777;
show create table s;
Table Create Table
@@ -11796,7 +11796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9776;
show create table s;
Table Create Table
@@ -11804,7 +11804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9775;
show create table s;
Table Create Table
@@ -11812,7 +11812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9774;
show create table s;
Table Create Table
@@ -11820,7 +11820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9773;
show create table s;
Table Create Table
@@ -11828,7 +11828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9772;
show create table s;
Table Create Table
@@ -11836,7 +11836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9771;
show create table s;
Table Create Table
@@ -11844,7 +11844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9770;
show create table s;
Table Create Table
@@ -11852,7 +11852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9769;
show create table s;
Table Create Table
@@ -11860,7 +11860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9768;
show create table s;
Table Create Table
@@ -11868,7 +11868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9767;
show create table s;
Table Create Table
@@ -11876,7 +11876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9766;
show create table s;
Table Create Table
@@ -11884,7 +11884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9765;
show create table s;
Table Create Table
@@ -11892,7 +11892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9764;
show create table s;
Table Create Table
@@ -11900,7 +11900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9763;
show create table s;
Table Create Table
@@ -11908,7 +11908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9762;
show create table s;
Table Create Table
@@ -11916,7 +11916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9761;
show create table s;
Table Create Table
@@ -11924,7 +11924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9760;
show create table s;
Table Create Table
@@ -11932,7 +11932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9759;
show create table s;
Table Create Table
@@ -11940,7 +11940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9758;
show create table s;
Table Create Table
@@ -11948,7 +11948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9757;
show create table s;
Table Create Table
@@ -11956,7 +11956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9756;
show create table s;
Table Create Table
@@ -11964,7 +11964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9755;
show create table s;
Table Create Table
@@ -11972,7 +11972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9754;
show create table s;
Table Create Table
@@ -11980,7 +11980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9753;
show create table s;
Table Create Table
@@ -11988,7 +11988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9752;
show create table s;
Table Create Table
@@ -11996,7 +11996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9751;
show create table s;
Table Create Table
@@ -12004,7 +12004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9750;
show create table s;
Table Create Table
@@ -12012,7 +12012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9749;
show create table s;
Table Create Table
@@ -12020,7 +12020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9748;
show create table s;
Table Create Table
@@ -12028,7 +12028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9747;
show create table s;
Table Create Table
@@ -12036,7 +12036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9746;
show create table s;
Table Create Table
@@ -12044,7 +12044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9745;
show create table s;
Table Create Table
@@ -12052,7 +12052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9744;
show create table s;
Table Create Table
@@ -12060,7 +12060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9743;
show create table s;
Table Create Table
@@ -12068,7 +12068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9742;
show create table s;
Table Create Table
@@ -12076,7 +12076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9741;
show create table s;
Table Create Table
@@ -12084,7 +12084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9740;
show create table s;
Table Create Table
@@ -12092,7 +12092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9739;
show create table s;
Table Create Table
@@ -12100,7 +12100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9738;
show create table s;
Table Create Table
@@ -12108,7 +12108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9737;
show create table s;
Table Create Table
@@ -12116,7 +12116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9736;
show create table s;
Table Create Table
@@ -12124,7 +12124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9735;
show create table s;
Table Create Table
@@ -12132,7 +12132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9734;
show create table s;
Table Create Table
@@ -12140,7 +12140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9733;
show create table s;
Table Create Table
@@ -12148,7 +12148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9732;
show create table s;
Table Create Table
@@ -12156,7 +12156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9731;
show create table s;
Table Create Table
@@ -12164,7 +12164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9730;
show create table s;
Table Create Table
@@ -12172,7 +12172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9729;
show create table s;
Table Create Table
@@ -12180,7 +12180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9728;
show create table s;
Table Create Table
@@ -12188,7 +12188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9727;
show create table s;
Table Create Table
@@ -12196,7 +12196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9726;
show create table s;
Table Create Table
@@ -12204,7 +12204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9725;
show create table s;
Table Create Table
@@ -12212,7 +12212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9724;
show create table s;
Table Create Table
@@ -12220,7 +12220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9723;
show create table s;
Table Create Table
@@ -12228,7 +12228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9722;
show create table s;
Table Create Table
@@ -12236,7 +12236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9721;
show create table s;
Table Create Table
@@ -12244,7 +12244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9720;
show create table s;
Table Create Table
@@ -12252,7 +12252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9719;
show create table s;
Table Create Table
@@ -12260,7 +12260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9718;
show create table s;
Table Create Table
@@ -12268,7 +12268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9717;
show create table s;
Table Create Table
@@ -12276,7 +12276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9716;
show create table s;
Table Create Table
@@ -12284,7 +12284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9715;
show create table s;
Table Create Table
@@ -12292,7 +12292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9714;
show create table s;
Table Create Table
@@ -12300,7 +12300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9713;
show create table s;
Table Create Table
@@ -12308,7 +12308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9712;
show create table s;
Table Create Table
@@ -12316,7 +12316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9711;
show create table s;
Table Create Table
@@ -12324,7 +12324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9710;
show create table s;
Table Create Table
@@ -12332,7 +12332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9709;
show create table s;
Table Create Table
@@ -12340,7 +12340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9708;
show create table s;
Table Create Table
@@ -12348,7 +12348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9707;
show create table s;
Table Create Table
@@ -12356,7 +12356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9706;
show create table s;
Table Create Table
@@ -12364,7 +12364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9705;
show create table s;
Table Create Table
@@ -12372,7 +12372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9704;
show create table s;
Table Create Table
@@ -12380,7 +12380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9703;
show create table s;
Table Create Table
@@ -12388,7 +12388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9702;
show create table s;
Table Create Table
@@ -12396,7 +12396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9701;
show create table s;
Table Create Table
@@ -12404,7 +12404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9700;
show create table s;
Table Create Table
@@ -12412,7 +12412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9699;
show create table s;
Table Create Table
@@ -12420,7 +12420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9698;
show create table s;
Table Create Table
@@ -12428,7 +12428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9697;
show create table s;
Table Create Table
@@ -12436,7 +12436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9696;
show create table s;
Table Create Table
@@ -12444,7 +12444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9695;
show create table s;
Table Create Table
@@ -12452,7 +12452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9694;
show create table s;
Table Create Table
@@ -12460,7 +12460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9693;
show create table s;
Table Create Table
@@ -12468,7 +12468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9692;
show create table s;
Table Create Table
@@ -12476,7 +12476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9691;
show create table s;
Table Create Table
@@ -12484,7 +12484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9690;
show create table s;
Table Create Table
@@ -12492,7 +12492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9689;
show create table s;
Table Create Table
@@ -12500,7 +12500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9688;
show create table s;
Table Create Table
@@ -12508,7 +12508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9687;
show create table s;
Table Create Table
@@ -12516,7 +12516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9686;
show create table s;
Table Create Table
@@ -12524,7 +12524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9685;
show create table s;
Table Create Table
@@ -12532,7 +12532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9684;
show create table s;
Table Create Table
@@ -12540,7 +12540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9683;
show create table s;
Table Create Table
@@ -12548,7 +12548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9682;
show create table s;
Table Create Table
@@ -12556,7 +12556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9681;
show create table s;
Table Create Table
@@ -12564,7 +12564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9680;
show create table s;
Table Create Table
@@ -12572,7 +12572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9679;
show create table s;
Table Create Table
@@ -12580,7 +12580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9678;
show create table s;
Table Create Table
@@ -12588,7 +12588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9677;
show create table s;
Table Create Table
@@ -12596,7 +12596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9676;
show create table s;
Table Create Table
@@ -12604,7 +12604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9675;
show create table s;
Table Create Table
@@ -12612,7 +12612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9674;
show create table s;
Table Create Table
@@ -12620,7 +12620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9673;
show create table s;
Table Create Table
@@ -12628,7 +12628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9672;
show create table s;
Table Create Table
@@ -12636,7 +12636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9671;
show create table s;
Table Create Table
@@ -12644,7 +12644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9670;
show create table s;
Table Create Table
@@ -12652,7 +12652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9669;
show create table s;
Table Create Table
@@ -12660,7 +12660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9668;
show create table s;
Table Create Table
@@ -12668,7 +12668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9667;
show create table s;
Table Create Table
@@ -12676,7 +12676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9666;
show create table s;
Table Create Table
@@ -12684,7 +12684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9665;
show create table s;
Table Create Table
@@ -12692,7 +12692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9664;
show create table s;
Table Create Table
@@ -12700,7 +12700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9663;
show create table s;
Table Create Table
@@ -12708,7 +12708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9662;
show create table s;
Table Create Table
@@ -12716,7 +12716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9661;
show create table s;
Table Create Table
@@ -12724,7 +12724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9660;
show create table s;
Table Create Table
@@ -12732,7 +12732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9659;
show create table s;
Table Create Table
@@ -12740,7 +12740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9658;
show create table s;
Table Create Table
@@ -12748,7 +12748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9657;
show create table s;
Table Create Table
@@ -12756,7 +12756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9656;
show create table s;
Table Create Table
@@ -12764,7 +12764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9655;
show create table s;
Table Create Table
@@ -12772,7 +12772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9654;
show create table s;
Table Create Table
@@ -12780,7 +12780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9653;
show create table s;
Table Create Table
@@ -12788,7 +12788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9652;
show create table s;
Table Create Table
@@ -12796,7 +12796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9651;
show create table s;
Table Create Table
@@ -12804,7 +12804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9650;
show create table s;
Table Create Table
@@ -12812,7 +12812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9649;
show create table s;
Table Create Table
@@ -12820,7 +12820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9648;
show create table s;
Table Create Table
@@ -12828,7 +12828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9647;
show create table s;
Table Create Table
@@ -12836,7 +12836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9646;
show create table s;
Table Create Table
@@ -12844,7 +12844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9645;
show create table s;
Table Create Table
@@ -12852,7 +12852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9644;
show create table s;
Table Create Table
@@ -12860,7 +12860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9643;
show create table s;
Table Create Table
@@ -12868,7 +12868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9642;
show create table s;
Table Create Table
@@ -12876,7 +12876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9641;
show create table s;
Table Create Table
@@ -12884,7 +12884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9640;
show create table s;
Table Create Table
@@ -12892,7 +12892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9639;
show create table s;
Table Create Table
@@ -12900,7 +12900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9638;
show create table s;
Table Create Table
@@ -12908,7 +12908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9637;
show create table s;
Table Create Table
@@ -12916,7 +12916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9636;
show create table s;
Table Create Table
@@ -12924,7 +12924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9635;
show create table s;
Table Create Table
@@ -12932,7 +12932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9634;
show create table s;
Table Create Table
@@ -12940,7 +12940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9633;
show create table s;
Table Create Table
@@ -12948,7 +12948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9632;
show create table s;
Table Create Table
@@ -12956,7 +12956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9631;
show create table s;
Table Create Table
@@ -12964,7 +12964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9630;
show create table s;
Table Create Table
@@ -12972,7 +12972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9629;
show create table s;
Table Create Table
@@ -12980,7 +12980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9628;
show create table s;
Table Create Table
@@ -12988,7 +12988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9627;
show create table s;
Table Create Table
@@ -12996,7 +12996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9626;
show create table s;
Table Create Table
@@ -13004,7 +13004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9625;
show create table s;
Table Create Table
@@ -13012,7 +13012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9624;
show create table s;
Table Create Table
@@ -13020,7 +13020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9623;
show create table s;
Table Create Table
@@ -13028,7 +13028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9622;
show create table s;
Table Create Table
@@ -13036,7 +13036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9621;
show create table s;
Table Create Table
@@ -13044,7 +13044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9620;
show create table s;
Table Create Table
@@ -13052,7 +13052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9619;
show create table s;
Table Create Table
@@ -13060,7 +13060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9618;
show create table s;
Table Create Table
@@ -13068,7 +13068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9617;
show create table s;
Table Create Table
@@ -13076,7 +13076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9616;
show create table s;
Table Create Table
@@ -13084,7 +13084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9615;
show create table s;
Table Create Table
@@ -13092,7 +13092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9614;
show create table s;
Table Create Table
@@ -13100,7 +13100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9613;
show create table s;
Table Create Table
@@ -13108,7 +13108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9612;
show create table s;
Table Create Table
@@ -13116,7 +13116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9611;
show create table s;
Table Create Table
@@ -13124,7 +13124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9610;
show create table s;
Table Create Table
@@ -13132,7 +13132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9609;
show create table s;
Table Create Table
@@ -13140,7 +13140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9608;
show create table s;
Table Create Table
@@ -13148,7 +13148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9607;
show create table s;
Table Create Table
@@ -13156,7 +13156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9606;
show create table s;
Table Create Table
@@ -13164,7 +13164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9605;
show create table s;
Table Create Table
@@ -13172,7 +13172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9604;
show create table s;
Table Create Table
@@ -13180,7 +13180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9603;
show create table s;
Table Create Table
@@ -13188,7 +13188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9602;
show create table s;
Table Create Table
@@ -13196,7 +13196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9601;
show create table s;
Table Create Table
@@ -13204,7 +13204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9600;
show create table s;
Table Create Table
@@ -13212,7 +13212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9599;
show create table s;
Table Create Table
@@ -13220,7 +13220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9598;
show create table s;
Table Create Table
@@ -13228,7 +13228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9597;
show create table s;
Table Create Table
@@ -13236,7 +13236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9596;
show create table s;
Table Create Table
@@ -13244,7 +13244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9595;
show create table s;
Table Create Table
@@ -13252,7 +13252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9594;
show create table s;
Table Create Table
@@ -13260,7 +13260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9593;
show create table s;
Table Create Table
@@ -13268,7 +13268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9592;
show create table s;
Table Create Table
@@ -13276,7 +13276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9591;
show create table s;
Table Create Table
@@ -13284,7 +13284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9590;
show create table s;
Table Create Table
@@ -13292,7 +13292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9589;
show create table s;
Table Create Table
@@ -13300,7 +13300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9588;
show create table s;
Table Create Table
@@ -13308,7 +13308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9587;
show create table s;
Table Create Table
@@ -13316,7 +13316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9586;
show create table s;
Table Create Table
@@ -13324,7 +13324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9585;
show create table s;
Table Create Table
@@ -13332,7 +13332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9584;
show create table s;
Table Create Table
@@ -13340,7 +13340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9583;
show create table s;
Table Create Table
@@ -13348,7 +13348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9582;
show create table s;
Table Create Table
@@ -13356,7 +13356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9581;
show create table s;
Table Create Table
@@ -13364,7 +13364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9580;
show create table s;
Table Create Table
@@ -13372,7 +13372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9579;
show create table s;
Table Create Table
@@ -13380,7 +13380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9578;
show create table s;
Table Create Table
@@ -13388,7 +13388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9577;
show create table s;
Table Create Table
@@ -13396,7 +13396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9576;
show create table s;
Table Create Table
@@ -13404,7 +13404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9575;
show create table s;
Table Create Table
@@ -13412,7 +13412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9574;
show create table s;
Table Create Table
@@ -13420,7 +13420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9573;
show create table s;
Table Create Table
@@ -13428,7 +13428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9572;
show create table s;
Table Create Table
@@ -13436,7 +13436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9571;
show create table s;
Table Create Table
@@ -13444,7 +13444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9570;
show create table s;
Table Create Table
@@ -13452,7 +13452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9569;
show create table s;
Table Create Table
@@ -13460,7 +13460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9568;
show create table s;
Table Create Table
@@ -13468,7 +13468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9567;
show create table s;
Table Create Table
@@ -13476,7 +13476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9566;
show create table s;
Table Create Table
@@ -13484,7 +13484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9565;
show create table s;
Table Create Table
@@ -13492,7 +13492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9564;
show create table s;
Table Create Table
@@ -13500,7 +13500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9563;
show create table s;
Table Create Table
@@ -13508,7 +13508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9562;
show create table s;
Table Create Table
@@ -13516,7 +13516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9561;
show create table s;
Table Create Table
@@ -13524,7 +13524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9560;
show create table s;
Table Create Table
@@ -13532,7 +13532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9559;
show create table s;
Table Create Table
@@ -13540,7 +13540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9558;
show create table s;
Table Create Table
@@ -13548,7 +13548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9557;
show create table s;
Table Create Table
@@ -13556,7 +13556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9556;
show create table s;
Table Create Table
@@ -13564,7 +13564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9555;
show create table s;
Table Create Table
@@ -13572,7 +13572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9554;
show create table s;
Table Create Table
@@ -13580,7 +13580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9553;
show create table s;
Table Create Table
@@ -13588,7 +13588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9552;
show create table s;
Table Create Table
@@ -13596,7 +13596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9551;
show create table s;
Table Create Table
@@ -13604,7 +13604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9550;
show create table s;
Table Create Table
@@ -13612,7 +13612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9549;
show create table s;
Table Create Table
@@ -13620,7 +13620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9548;
show create table s;
Table Create Table
@@ -13628,7 +13628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9547;
show create table s;
Table Create Table
@@ -13636,7 +13636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9546;
show create table s;
Table Create Table
@@ -13644,7 +13644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9545;
show create table s;
Table Create Table
@@ -13652,7 +13652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9544;
show create table s;
Table Create Table
@@ -13660,7 +13660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9543;
show create table s;
Table Create Table
@@ -13668,7 +13668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9542;
show create table s;
Table Create Table
@@ -13676,7 +13676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9541;
show create table s;
Table Create Table
@@ -13684,7 +13684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9540;
show create table s;
Table Create Table
@@ -13692,7 +13692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9539;
show create table s;
Table Create Table
@@ -13700,7 +13700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9538;
show create table s;
Table Create Table
@@ -13708,7 +13708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9537;
show create table s;
Table Create Table
@@ -13716,7 +13716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9536;
show create table s;
Table Create Table
@@ -13724,7 +13724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9535;
show create table s;
Table Create Table
@@ -13732,7 +13732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9534;
show create table s;
Table Create Table
@@ -13740,7 +13740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9533;
show create table s;
Table Create Table
@@ -13748,7 +13748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9532;
show create table s;
Table Create Table
@@ -13756,7 +13756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9531;
show create table s;
Table Create Table
@@ -13764,7 +13764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9530;
show create table s;
Table Create Table
@@ -13772,7 +13772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9529;
show create table s;
Table Create Table
@@ -13780,7 +13780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9528;
show create table s;
Table Create Table
@@ -13788,7 +13788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9527;
show create table s;
Table Create Table
@@ -13796,7 +13796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9526;
show create table s;
Table Create Table
@@ -13804,7 +13804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9525;
show create table s;
Table Create Table
@@ -13812,7 +13812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9524;
show create table s;
Table Create Table
@@ -13820,7 +13820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9523;
show create table s;
Table Create Table
@@ -13828,7 +13828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9522;
show create table s;
Table Create Table
@@ -13836,7 +13836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9521;
show create table s;
Table Create Table
@@ -13844,7 +13844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9520;
show create table s;
Table Create Table
@@ -13852,7 +13852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9519;
show create table s;
Table Create Table
@@ -13860,7 +13860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9518;
show create table s;
Table Create Table
@@ -13868,7 +13868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9517;
show create table s;
Table Create Table
@@ -13876,7 +13876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9516;
show create table s;
Table Create Table
@@ -13884,7 +13884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9515;
show create table s;
Table Create Table
@@ -13892,7 +13892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9514;
show create table s;
Table Create Table
@@ -13900,7 +13900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9513;
show create table s;
Table Create Table
@@ -13908,7 +13908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9512;
show create table s;
Table Create Table
@@ -13916,7 +13916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9511;
show create table s;
Table Create Table
@@ -13924,7 +13924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9510;
show create table s;
Table Create Table
@@ -13932,7 +13932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9509;
show create table s;
Table Create Table
@@ -13940,7 +13940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9508;
show create table s;
Table Create Table
@@ -13948,7 +13948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9507;
show create table s;
Table Create Table
@@ -13956,7 +13956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9506;
show create table s;
Table Create Table
@@ -13964,7 +13964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9505;
show create table s;
Table Create Table
@@ -13972,7 +13972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9504;
show create table s;
Table Create Table
@@ -13980,7 +13980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9503;
show create table s;
Table Create Table
@@ -13988,7 +13988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9502;
show create table s;
Table Create Table
@@ -13996,7 +13996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9501;
show create table s;
Table Create Table
@@ -14004,7 +14004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9500;
show create table s;
Table Create Table
@@ -14012,7 +14012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9499;
show create table s;
Table Create Table
@@ -14020,7 +14020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9498;
show create table s;
Table Create Table
@@ -14028,7 +14028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9497;
show create table s;
Table Create Table
@@ -14036,7 +14036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9496;
show create table s;
Table Create Table
@@ -14044,7 +14044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9495;
show create table s;
Table Create Table
@@ -14052,7 +14052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9494;
show create table s;
Table Create Table
@@ -14060,7 +14060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9493;
show create table s;
Table Create Table
@@ -14068,7 +14068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9492;
show create table s;
Table Create Table
@@ -14076,7 +14076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9491;
show create table s;
Table Create Table
@@ -14084,7 +14084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9490;
show create table s;
Table Create Table
@@ -14092,7 +14092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9489;
show create table s;
Table Create Table
@@ -14100,7 +14100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9488;
show create table s;
Table Create Table
@@ -14108,7 +14108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9487;
show create table s;
Table Create Table
@@ -14116,7 +14116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9486;
show create table s;
Table Create Table
@@ -14124,7 +14124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9485;
show create table s;
Table Create Table
@@ -14132,7 +14132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9484;
show create table s;
Table Create Table
@@ -14140,7 +14140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9483;
show create table s;
Table Create Table
@@ -14148,7 +14148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9482;
show create table s;
Table Create Table
@@ -14156,7 +14156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9481;
show create table s;
Table Create Table
@@ -14164,7 +14164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9480;
show create table s;
Table Create Table
@@ -14172,7 +14172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9479;
show create table s;
Table Create Table
@@ -14180,7 +14180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9478;
show create table s;
Table Create Table
@@ -14188,7 +14188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9477;
show create table s;
Table Create Table
@@ -14196,7 +14196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9476;
show create table s;
Table Create Table
@@ -14204,7 +14204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9475;
show create table s;
Table Create Table
@@ -14212,7 +14212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9474;
show create table s;
Table Create Table
@@ -14220,7 +14220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9473;
show create table s;
Table Create Table
@@ -14228,7 +14228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9472;
show create table s;
Table Create Table
@@ -14236,7 +14236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9471;
show create table s;
Table Create Table
@@ -14244,7 +14244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9470;
show create table s;
Table Create Table
@@ -14252,7 +14252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9469;
show create table s;
Table Create Table
@@ -14260,7 +14260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9468;
show create table s;
Table Create Table
@@ -14268,7 +14268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9467;
show create table s;
Table Create Table
@@ -14276,7 +14276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9466;
show create table s;
Table Create Table
@@ -14284,7 +14284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9465;
show create table s;
Table Create Table
@@ -14292,7 +14292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9464;
show create table s;
Table Create Table
@@ -14300,7 +14300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9463;
show create table s;
Table Create Table
@@ -14308,7 +14308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9462;
show create table s;
Table Create Table
@@ -14316,7 +14316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9461;
show create table s;
Table Create Table
@@ -14324,7 +14324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9460;
show create table s;
Table Create Table
@@ -14332,7 +14332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9459;
show create table s;
Table Create Table
@@ -14340,7 +14340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9458;
show create table s;
Table Create Table
@@ -14348,7 +14348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9457;
show create table s;
Table Create Table
@@ -14356,7 +14356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9456;
show create table s;
Table Create Table
@@ -14364,7 +14364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9455;
show create table s;
Table Create Table
@@ -14372,7 +14372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9454;
show create table s;
Table Create Table
@@ -14380,7 +14380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9453;
show create table s;
Table Create Table
@@ -14388,7 +14388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9452;
show create table s;
Table Create Table
@@ -14396,7 +14396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9451;
show create table s;
Table Create Table
@@ -14404,7 +14404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9450;
show create table s;
Table Create Table
@@ -14412,7 +14412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9449;
show create table s;
Table Create Table
@@ -14420,7 +14420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9448;
show create table s;
Table Create Table
@@ -14428,7 +14428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9447;
show create table s;
Table Create Table
@@ -14436,7 +14436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9446;
show create table s;
Table Create Table
@@ -14444,7 +14444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9445;
show create table s;
Table Create Table
@@ -14452,7 +14452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9444;
show create table s;
Table Create Table
@@ -14460,7 +14460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9443;
show create table s;
Table Create Table
@@ -14468,7 +14468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9442;
show create table s;
Table Create Table
@@ -14476,7 +14476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9441;
show create table s;
Table Create Table
@@ -14484,7 +14484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9440;
show create table s;
Table Create Table
@@ -14492,7 +14492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9439;
show create table s;
Table Create Table
@@ -14500,7 +14500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9438;
show create table s;
Table Create Table
@@ -14508,7 +14508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9437;
show create table s;
Table Create Table
@@ -14516,7 +14516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9436;
show create table s;
Table Create Table
@@ -14524,7 +14524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9435;
show create table s;
Table Create Table
@@ -14532,7 +14532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9434;
show create table s;
Table Create Table
@@ -14540,7 +14540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9433;
show create table s;
Table Create Table
@@ -14548,7 +14548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9432;
show create table s;
Table Create Table
@@ -14556,7 +14556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9431;
show create table s;
Table Create Table
@@ -14564,7 +14564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9430;
show create table s;
Table Create Table
@@ -14572,7 +14572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9429;
show create table s;
Table Create Table
@@ -14580,7 +14580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9428;
show create table s;
Table Create Table
@@ -14588,7 +14588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9427;
show create table s;
Table Create Table
@@ -14596,7 +14596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9426;
show create table s;
Table Create Table
@@ -14604,7 +14604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9425;
show create table s;
Table Create Table
@@ -14612,7 +14612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9424;
show create table s;
Table Create Table
@@ -14620,7 +14620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9423;
show create table s;
Table Create Table
@@ -14628,7 +14628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9422;
show create table s;
Table Create Table
@@ -14636,7 +14636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9421;
show create table s;
Table Create Table
@@ -14644,7 +14644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9420;
show create table s;
Table Create Table
@@ -14652,7 +14652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9419;
show create table s;
Table Create Table
@@ -14660,7 +14660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9418;
show create table s;
Table Create Table
@@ -14668,7 +14668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9417;
show create table s;
Table Create Table
@@ -14676,7 +14676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9416;
show create table s;
Table Create Table
@@ -14684,7 +14684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9415;
show create table s;
Table Create Table
@@ -14692,7 +14692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9414;
show create table s;
Table Create Table
@@ -14700,7 +14700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9413;
show create table s;
Table Create Table
@@ -14708,7 +14708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9412;
show create table s;
Table Create Table
@@ -14716,7 +14716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9411;
show create table s;
Table Create Table
@@ -14724,7 +14724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9410;
show create table s;
Table Create Table
@@ -14732,7 +14732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9409;
show create table s;
Table Create Table
@@ -14740,7 +14740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9408;
show create table s;
Table Create Table
@@ -14748,7 +14748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9407;
show create table s;
Table Create Table
@@ -14756,7 +14756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9406;
show create table s;
Table Create Table
@@ -14764,7 +14764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9405;
show create table s;
Table Create Table
@@ -14772,7 +14772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9404;
show create table s;
Table Create Table
@@ -14780,7 +14780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9403;
show create table s;
Table Create Table
@@ -14788,7 +14788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9402;
show create table s;
Table Create Table
@@ -14796,7 +14796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9401;
show create table s;
Table Create Table
@@ -14804,7 +14804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9400;
show create table s;
Table Create Table
@@ -14812,7 +14812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9399;
show create table s;
Table Create Table
@@ -14820,7 +14820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9398;
show create table s;
Table Create Table
@@ -14828,7 +14828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9397;
show create table s;
Table Create Table
@@ -14836,7 +14836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9396;
show create table s;
Table Create Table
@@ -14844,7 +14844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9395;
show create table s;
Table Create Table
@@ -14852,7 +14852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9394;
show create table s;
Table Create Table
@@ -14860,7 +14860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9393;
show create table s;
Table Create Table
@@ -14868,7 +14868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9392;
show create table s;
Table Create Table
@@ -14876,7 +14876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9391;
show create table s;
Table Create Table
@@ -14884,7 +14884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9390;
show create table s;
Table Create Table
@@ -14892,7 +14892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9389;
show create table s;
Table Create Table
@@ -14900,7 +14900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9388;
show create table s;
Table Create Table
@@ -14908,7 +14908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9387;
show create table s;
Table Create Table
@@ -14916,7 +14916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9386;
show create table s;
Table Create Table
@@ -14924,7 +14924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9385;
show create table s;
Table Create Table
@@ -14932,7 +14932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9384;
show create table s;
Table Create Table
@@ -14940,7 +14940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9383;
show create table s;
Table Create Table
@@ -14948,7 +14948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9382;
show create table s;
Table Create Table
@@ -14956,7 +14956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9381;
show create table s;
Table Create Table
@@ -14964,7 +14964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9380;
show create table s;
Table Create Table
@@ -14972,7 +14972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9379;
show create table s;
Table Create Table
@@ -14980,7 +14980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9378;
show create table s;
Table Create Table
@@ -14988,7 +14988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9377;
show create table s;
Table Create Table
@@ -14996,7 +14996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9376;
show create table s;
Table Create Table
@@ -15004,7 +15004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9375;
show create table s;
Table Create Table
@@ -15012,7 +15012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9374;
show create table s;
Table Create Table
@@ -15020,7 +15020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9373;
show create table s;
Table Create Table
@@ -15028,7 +15028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9372;
show create table s;
Table Create Table
@@ -15036,7 +15036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9371;
show create table s;
Table Create Table
@@ -15044,7 +15044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9370;
show create table s;
Table Create Table
@@ -15052,7 +15052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9369;
show create table s;
Table Create Table
@@ -15060,7 +15060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9368;
show create table s;
Table Create Table
@@ -15068,7 +15068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9367;
show create table s;
Table Create Table
@@ -15076,7 +15076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9366;
show create table s;
Table Create Table
@@ -15084,7 +15084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9365;
show create table s;
Table Create Table
@@ -15092,7 +15092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9364;
show create table s;
Table Create Table
@@ -15100,7 +15100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9363;
show create table s;
Table Create Table
@@ -15108,7 +15108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9362;
show create table s;
Table Create Table
@@ -15116,7 +15116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9361;
show create table s;
Table Create Table
@@ -15124,7 +15124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9360;
show create table s;
Table Create Table
@@ -15132,7 +15132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9359;
show create table s;
Table Create Table
@@ -15140,7 +15140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9358;
show create table s;
Table Create Table
@@ -15148,7 +15148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9357;
show create table s;
Table Create Table
@@ -15156,7 +15156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9356;
show create table s;
Table Create Table
@@ -15164,7 +15164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9355;
show create table s;
Table Create Table
@@ -15172,7 +15172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9354;
show create table s;
Table Create Table
@@ -15180,7 +15180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9353;
show create table s;
Table Create Table
@@ -15188,7 +15188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9352;
show create table s;
Table Create Table
@@ -15196,7 +15196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9351;
show create table s;
Table Create Table
@@ -15204,7 +15204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9350;
show create table s;
Table Create Table
@@ -15212,7 +15212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9349;
show create table s;
Table Create Table
@@ -15220,7 +15220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9348;
show create table s;
Table Create Table
@@ -15228,7 +15228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9347;
show create table s;
Table Create Table
@@ -15236,7 +15236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9346;
show create table s;
Table Create Table
@@ -15244,7 +15244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9345;
show create table s;
Table Create Table
@@ -15252,7 +15252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9344;
show create table s;
Table Create Table
@@ -15260,7 +15260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9343;
show create table s;
Table Create Table
@@ -15268,7 +15268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9342;
show create table s;
Table Create Table
@@ -15276,7 +15276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9341;
show create table s;
Table Create Table
@@ -15284,7 +15284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9340;
show create table s;
Table Create Table
@@ -15292,7 +15292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9339;
show create table s;
Table Create Table
@@ -15300,7 +15300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9338;
show create table s;
Table Create Table
@@ -15308,7 +15308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9337;
show create table s;
Table Create Table
@@ -15316,7 +15316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9336;
show create table s;
Table Create Table
@@ -15324,7 +15324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9335;
show create table s;
Table Create Table
@@ -15332,7 +15332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9334;
show create table s;
Table Create Table
@@ -15340,7 +15340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9333;
show create table s;
Table Create Table
@@ -15348,7 +15348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9332;
show create table s;
Table Create Table
@@ -15356,7 +15356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9331;
show create table s;
Table Create Table
@@ -15364,7 +15364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9330;
show create table s;
Table Create Table
@@ -15372,7 +15372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9329;
show create table s;
Table Create Table
@@ -15380,7 +15380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9328;
show create table s;
Table Create Table
@@ -15388,7 +15388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9327;
show create table s;
Table Create Table
@@ -15396,7 +15396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9326;
show create table s;
Table Create Table
@@ -15404,7 +15404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9325;
show create table s;
Table Create Table
@@ -15412,7 +15412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9324;
show create table s;
Table Create Table
@@ -15420,7 +15420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9323;
show create table s;
Table Create Table
@@ -15428,7 +15428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9322;
show create table s;
Table Create Table
@@ -15436,7 +15436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9321;
show create table s;
Table Create Table
@@ -15444,7 +15444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9320;
show create table s;
Table Create Table
@@ -15452,7 +15452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9319;
show create table s;
Table Create Table
@@ -15460,7 +15460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9318;
show create table s;
Table Create Table
@@ -15468,7 +15468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9317;
show create table s;
Table Create Table
@@ -15476,7 +15476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9316;
show create table s;
Table Create Table
@@ -15484,7 +15484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9315;
show create table s;
Table Create Table
@@ -15492,7 +15492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9314;
show create table s;
Table Create Table
@@ -15500,7 +15500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9313;
show create table s;
Table Create Table
@@ -15508,7 +15508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9312;
show create table s;
Table Create Table
@@ -15516,7 +15516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9311;
show create table s;
Table Create Table
@@ -15524,7 +15524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9310;
show create table s;
Table Create Table
@@ -15532,7 +15532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9309;
show create table s;
Table Create Table
@@ -15540,7 +15540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9308;
show create table s;
Table Create Table
@@ -15548,7 +15548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9307;
show create table s;
Table Create Table
@@ -15556,7 +15556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9306;
show create table s;
Table Create Table
@@ -15564,7 +15564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9305;
show create table s;
Table Create Table
@@ -15572,7 +15572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9304;
show create table s;
Table Create Table
@@ -15580,7 +15580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9303;
show create table s;
Table Create Table
@@ -15588,7 +15588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9302;
show create table s;
Table Create Table
@@ -15596,7 +15596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9301;
show create table s;
Table Create Table
@@ -15604,7 +15604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9300;
show create table s;
Table Create Table
@@ -15612,7 +15612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9299;
show create table s;
Table Create Table
@@ -15620,7 +15620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9298;
show create table s;
Table Create Table
@@ -15628,7 +15628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9297;
show create table s;
Table Create Table
@@ -15636,7 +15636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9296;
show create table s;
Table Create Table
@@ -15644,7 +15644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9295;
show create table s;
Table Create Table
@@ -15652,7 +15652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9294;
show create table s;
Table Create Table
@@ -15660,7 +15660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9293;
show create table s;
Table Create Table
@@ -15668,7 +15668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9292;
show create table s;
Table Create Table
@@ -15676,7 +15676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9291;
show create table s;
Table Create Table
@@ -15684,7 +15684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9290;
show create table s;
Table Create Table
@@ -15692,7 +15692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9289;
show create table s;
Table Create Table
@@ -15700,7 +15700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9288;
show create table s;
Table Create Table
@@ -15708,7 +15708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9287;
show create table s;
Table Create Table
@@ -15716,7 +15716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9286;
show create table s;
Table Create Table
@@ -15724,7 +15724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9285;
show create table s;
Table Create Table
@@ -15732,7 +15732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9284;
show create table s;
Table Create Table
@@ -15740,7 +15740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9283;
show create table s;
Table Create Table
@@ -15748,7 +15748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9282;
show create table s;
Table Create Table
@@ -15756,7 +15756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9281;
show create table s;
Table Create Table
@@ -15764,7 +15764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9280;
show create table s;
Table Create Table
@@ -15772,7 +15772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9279;
show create table s;
Table Create Table
@@ -15780,7 +15780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9278;
show create table s;
Table Create Table
@@ -15788,7 +15788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9277;
show create table s;
Table Create Table
@@ -15796,7 +15796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9276;
show create table s;
Table Create Table
@@ -15804,7 +15804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9275;
show create table s;
Table Create Table
@@ -15812,7 +15812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9274;
show create table s;
Table Create Table
@@ -15820,7 +15820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9273;
show create table s;
Table Create Table
@@ -15828,7 +15828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9272;
show create table s;
Table Create Table
@@ -15836,7 +15836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9271;
show create table s;
Table Create Table
@@ -15844,7 +15844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9270;
show create table s;
Table Create Table
@@ -15852,7 +15852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9269;
show create table s;
Table Create Table
@@ -15860,7 +15860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9268;
show create table s;
Table Create Table
@@ -15868,7 +15868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9267;
show create table s;
Table Create Table
@@ -15876,7 +15876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9266;
show create table s;
Table Create Table
@@ -15884,7 +15884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9265;
show create table s;
Table Create Table
@@ -15892,7 +15892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9264;
show create table s;
Table Create Table
@@ -15900,7 +15900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9263;
show create table s;
Table Create Table
@@ -15908,7 +15908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9262;
show create table s;
Table Create Table
@@ -15916,7 +15916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9261;
show create table s;
Table Create Table
@@ -15924,7 +15924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9260;
show create table s;
Table Create Table
@@ -15932,7 +15932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9259;
show create table s;
Table Create Table
@@ -15940,7 +15940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9258;
show create table s;
Table Create Table
@@ -15948,7 +15948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9257;
show create table s;
Table Create Table
@@ -15956,7 +15956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9256;
show create table s;
Table Create Table
@@ -15964,7 +15964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9255;
show create table s;
Table Create Table
@@ -15972,7 +15972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9254;
show create table s;
Table Create Table
@@ -15980,7 +15980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9253;
show create table s;
Table Create Table
@@ -15988,7 +15988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9252;
show create table s;
Table Create Table
@@ -15996,7 +15996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9251;
show create table s;
Table Create Table
@@ -16004,7 +16004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9250;
show create table s;
Table Create Table
@@ -16012,7 +16012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9249;
show create table s;
Table Create Table
@@ -16020,7 +16020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9248;
show create table s;
Table Create Table
@@ -16028,7 +16028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9247;
show create table s;
Table Create Table
@@ -16036,7 +16036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9246;
show create table s;
Table Create Table
@@ -16044,7 +16044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9245;
show create table s;
Table Create Table
@@ -16052,7 +16052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9244;
show create table s;
Table Create Table
@@ -16060,7 +16060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9243;
show create table s;
Table Create Table
@@ -16068,7 +16068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9242;
show create table s;
Table Create Table
@@ -16076,7 +16076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9241;
show create table s;
Table Create Table
@@ -16084,7 +16084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9240;
show create table s;
Table Create Table
@@ -16092,7 +16092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9239;
show create table s;
Table Create Table
@@ -16100,7 +16100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9238;
show create table s;
Table Create Table
@@ -16108,7 +16108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9237;
show create table s;
Table Create Table
@@ -16116,7 +16116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9236;
show create table s;
Table Create Table
@@ -16124,7 +16124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9235;
show create table s;
Table Create Table
@@ -16132,7 +16132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9234;
show create table s;
Table Create Table
@@ -16140,7 +16140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9233;
show create table s;
Table Create Table
@@ -16148,7 +16148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9232;
show create table s;
Table Create Table
@@ -16156,7 +16156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9231;
show create table s;
Table Create Table
@@ -16164,7 +16164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9230;
show create table s;
Table Create Table
@@ -16172,7 +16172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9229;
show create table s;
Table Create Table
@@ -16180,7 +16180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9228;
show create table s;
Table Create Table
@@ -16188,7 +16188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9227;
show create table s;
Table Create Table
@@ -16196,7 +16196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9226;
show create table s;
Table Create Table
@@ -16204,7 +16204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9225;
show create table s;
Table Create Table
@@ -16212,7 +16212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9224;
show create table s;
Table Create Table
@@ -16220,7 +16220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9223;
show create table s;
Table Create Table
@@ -16228,7 +16228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9222;
show create table s;
Table Create Table
@@ -16236,7 +16236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9221;
show create table s;
Table Create Table
@@ -16244,7 +16244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9220;
show create table s;
Table Create Table
@@ -16252,7 +16252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9219;
show create table s;
Table Create Table
@@ -16260,7 +16260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9218;
show create table s;
Table Create Table
@@ -16268,7 +16268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9217;
show create table s;
Table Create Table
@@ -16276,7 +16276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9216;
show create table s;
Table Create Table
@@ -16284,7 +16284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9215;
show create table s;
Table Create Table
@@ -16292,7 +16292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9214;
show create table s;
Table Create Table
@@ -16300,7 +16300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9213;
show create table s;
Table Create Table
@@ -16308,7 +16308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9212;
show create table s;
Table Create Table
@@ -16316,7 +16316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9211;
show create table s;
Table Create Table
@@ -16324,7 +16324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9210;
show create table s;
Table Create Table
@@ -16332,7 +16332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9209;
show create table s;
Table Create Table
@@ -16340,7 +16340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9208;
show create table s;
Table Create Table
@@ -16348,7 +16348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9207;
show create table s;
Table Create Table
@@ -16356,7 +16356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9206;
show create table s;
Table Create Table
@@ -16364,7 +16364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9205;
show create table s;
Table Create Table
@@ -16372,7 +16372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9204;
show create table s;
Table Create Table
@@ -16380,7 +16380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9203;
show create table s;
Table Create Table
@@ -16388,7 +16388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9202;
show create table s;
Table Create Table
@@ -16396,7 +16396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9201;
show create table s;
Table Create Table
@@ -16404,7 +16404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9200;
show create table s;
Table Create Table
@@ -16412,7 +16412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9199;
show create table s;
Table Create Table
@@ -16420,7 +16420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9198;
show create table s;
Table Create Table
@@ -16428,7 +16428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9197;
show create table s;
Table Create Table
@@ -16436,7 +16436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9196;
show create table s;
Table Create Table
@@ -16444,7 +16444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9195;
show create table s;
Table Create Table
@@ -16452,7 +16452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9194;
show create table s;
Table Create Table
@@ -16460,7 +16460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9193;
show create table s;
Table Create Table
@@ -16468,7 +16468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9192;
show create table s;
Table Create Table
@@ -16476,7 +16476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9191;
show create table s;
Table Create Table
@@ -16484,7 +16484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9190;
show create table s;
Table Create Table
@@ -16492,7 +16492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9189;
show create table s;
Table Create Table
@@ -16500,7 +16500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9188;
show create table s;
Table Create Table
@@ -16508,7 +16508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9187;
show create table s;
Table Create Table
@@ -16516,7 +16516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9186;
show create table s;
Table Create Table
@@ -16524,7 +16524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9185;
show create table s;
Table Create Table
@@ -16532,7 +16532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9184;
show create table s;
Table Create Table
@@ -16540,7 +16540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9183;
show create table s;
Table Create Table
@@ -16548,7 +16548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9182;
show create table s;
Table Create Table
@@ -16556,7 +16556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9181;
show create table s;
Table Create Table
@@ -16564,7 +16564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9180;
show create table s;
Table Create Table
@@ -16572,7 +16572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9179;
show create table s;
Table Create Table
@@ -16580,7 +16580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9178;
show create table s;
Table Create Table
@@ -16588,7 +16588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9177;
show create table s;
Table Create Table
@@ -16596,7 +16596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9176;
show create table s;
Table Create Table
@@ -16604,7 +16604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9175;
show create table s;
Table Create Table
@@ -16612,7 +16612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9174;
show create table s;
Table Create Table
@@ -16620,7 +16620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9173;
show create table s;
Table Create Table
@@ -16628,7 +16628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9172;
show create table s;
Table Create Table
@@ -16636,7 +16636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9171;
show create table s;
Table Create Table
@@ -16644,7 +16644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9170;
show create table s;
Table Create Table
@@ -16652,7 +16652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9169;
show create table s;
Table Create Table
@@ -16660,7 +16660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9168;
show create table s;
Table Create Table
@@ -16668,7 +16668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9167;
show create table s;
Table Create Table
@@ -16676,7 +16676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9166;
show create table s;
Table Create Table
@@ -16684,7 +16684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9165;
show create table s;
Table Create Table
@@ -16692,7 +16692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9164;
show create table s;
Table Create Table
@@ -16700,7 +16700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9163;
show create table s;
Table Create Table
@@ -16708,7 +16708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9162;
show create table s;
Table Create Table
@@ -16716,7 +16716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9161;
show create table s;
Table Create Table
@@ -16724,7 +16724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9160;
show create table s;
Table Create Table
@@ -16732,7 +16732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9159;
show create table s;
Table Create Table
@@ -16740,7 +16740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9158;
show create table s;
Table Create Table
@@ -16748,7 +16748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9157;
show create table s;
Table Create Table
@@ -16756,7 +16756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9156;
show create table s;
Table Create Table
@@ -16764,7 +16764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9155;
show create table s;
Table Create Table
@@ -16772,7 +16772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9154;
show create table s;
Table Create Table
@@ -16780,7 +16780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9153;
show create table s;
Table Create Table
@@ -16788,7 +16788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9152;
show create table s;
Table Create Table
@@ -16796,7 +16796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9151;
show create table s;
Table Create Table
@@ -16804,7 +16804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9150;
show create table s;
Table Create Table
@@ -16812,7 +16812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9149;
show create table s;
Table Create Table
@@ -16820,7 +16820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9148;
show create table s;
Table Create Table
@@ -16828,7 +16828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9147;
show create table s;
Table Create Table
@@ -16836,7 +16836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9146;
show create table s;
Table Create Table
@@ -16844,7 +16844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9145;
show create table s;
Table Create Table
@@ -16852,7 +16852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9144;
show create table s;
Table Create Table
@@ -16860,7 +16860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9143;
show create table s;
Table Create Table
@@ -16868,7 +16868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9142;
show create table s;
Table Create Table
@@ -16876,7 +16876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9141;
show create table s;
Table Create Table
@@ -16884,7 +16884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9140;
show create table s;
Table Create Table
@@ -16892,7 +16892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9139;
show create table s;
Table Create Table
@@ -16900,7 +16900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9138;
show create table s;
Table Create Table
@@ -16908,7 +16908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9137;
show create table s;
Table Create Table
@@ -16916,7 +16916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9136;
show create table s;
Table Create Table
@@ -16924,7 +16924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9135;
show create table s;
Table Create Table
@@ -16932,7 +16932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9134;
show create table s;
Table Create Table
@@ -16940,7 +16940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9133;
show create table s;
Table Create Table
@@ -16948,7 +16948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9132;
show create table s;
Table Create Table
@@ -16956,7 +16956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9131;
show create table s;
Table Create Table
@@ -16964,7 +16964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9130;
show create table s;
Table Create Table
@@ -16972,7 +16972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9129;
show create table s;
Table Create Table
@@ -16980,7 +16980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9128;
show create table s;
Table Create Table
@@ -16988,7 +16988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9127;
show create table s;
Table Create Table
@@ -16996,7 +16996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9126;
show create table s;
Table Create Table
@@ -17004,7 +17004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9125;
show create table s;
Table Create Table
@@ -17012,7 +17012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9124;
show create table s;
Table Create Table
@@ -17020,7 +17020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9123;
show create table s;
Table Create Table
@@ -17028,7 +17028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9122;
show create table s;
Table Create Table
@@ -17036,7 +17036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9121;
show create table s;
Table Create Table
@@ -17044,7 +17044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9120;
show create table s;
Table Create Table
@@ -17052,7 +17052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9119;
show create table s;
Table Create Table
@@ -17060,7 +17060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9118;
show create table s;
Table Create Table
@@ -17068,7 +17068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9117;
show create table s;
Table Create Table
@@ -17076,7 +17076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9116;
show create table s;
Table Create Table
@@ -17084,7 +17084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9115;
show create table s;
Table Create Table
@@ -17092,7 +17092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9114;
show create table s;
Table Create Table
@@ -17100,7 +17100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9113;
show create table s;
Table Create Table
@@ -17108,7 +17108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9112;
show create table s;
Table Create Table
@@ -17116,7 +17116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9111;
show create table s;
Table Create Table
@@ -17124,7 +17124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9110;
show create table s;
Table Create Table
@@ -17132,7 +17132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9109;
show create table s;
Table Create Table
@@ -17140,7 +17140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9108;
show create table s;
Table Create Table
@@ -17148,7 +17148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9107;
show create table s;
Table Create Table
@@ -17156,7 +17156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9106;
show create table s;
Table Create Table
@@ -17164,7 +17164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9105;
show create table s;
Table Create Table
@@ -17172,7 +17172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9104;
show create table s;
Table Create Table
@@ -17180,7 +17180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9103;
show create table s;
Table Create Table
@@ -17188,7 +17188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9102;
show create table s;
Table Create Table
@@ -17196,7 +17196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9101;
show create table s;
Table Create Table
@@ -17204,7 +17204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9100;
show create table s;
Table Create Table
@@ -17212,7 +17212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9099;
show create table s;
Table Create Table
@@ -17220,7 +17220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9098;
show create table s;
Table Create Table
@@ -17228,7 +17228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9097;
show create table s;
Table Create Table
@@ -17236,7 +17236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9096;
show create table s;
Table Create Table
@@ -17244,7 +17244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9095;
show create table s;
Table Create Table
@@ -17252,7 +17252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9094;
show create table s;
Table Create Table
@@ -17260,7 +17260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9093;
show create table s;
Table Create Table
@@ -17268,7 +17268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9092;
show create table s;
Table Create Table
@@ -17276,7 +17276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9091;
show create table s;
Table Create Table
@@ -17284,7 +17284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9090;
show create table s;
Table Create Table
@@ -17292,7 +17292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9089;
show create table s;
Table Create Table
@@ -17300,7 +17300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9088;
show create table s;
Table Create Table
@@ -17308,7 +17308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9087;
show create table s;
Table Create Table
@@ -17316,7 +17316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9086;
show create table s;
Table Create Table
@@ -17324,7 +17324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9085;
show create table s;
Table Create Table
@@ -17332,7 +17332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9084;
show create table s;
Table Create Table
@@ -17340,7 +17340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9083;
show create table s;
Table Create Table
@@ -17348,7 +17348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9082;
show create table s;
Table Create Table
@@ -17356,7 +17356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9081;
show create table s;
Table Create Table
@@ -17364,7 +17364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9080;
show create table s;
Table Create Table
@@ -17372,7 +17372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9079;
show create table s;
Table Create Table
@@ -17380,7 +17380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9078;
show create table s;
Table Create Table
@@ -17388,7 +17388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9077;
show create table s;
Table Create Table
@@ -17396,7 +17396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9076;
show create table s;
Table Create Table
@@ -17404,7 +17404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9075;
show create table s;
Table Create Table
@@ -17412,7 +17412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9074;
show create table s;
Table Create Table
@@ -17420,7 +17420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9073;
show create table s;
Table Create Table
@@ -17428,7 +17428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9072;
show create table s;
Table Create Table
@@ -17436,7 +17436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9071;
show create table s;
Table Create Table
@@ -17444,7 +17444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9070;
show create table s;
Table Create Table
@@ -17452,7 +17452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9069;
show create table s;
Table Create Table
@@ -17460,7 +17460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9068;
show create table s;
Table Create Table
@@ -17468,7 +17468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9067;
show create table s;
Table Create Table
@@ -17476,7 +17476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9066;
show create table s;
Table Create Table
@@ -17484,7 +17484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9065;
show create table s;
Table Create Table
@@ -17492,7 +17492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9064;
show create table s;
Table Create Table
@@ -17500,7 +17500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9063;
show create table s;
Table Create Table
@@ -17508,7 +17508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9062;
show create table s;
Table Create Table
@@ -17516,7 +17516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9061;
show create table s;
Table Create Table
@@ -17524,7 +17524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9060;
show create table s;
Table Create Table
@@ -17532,7 +17532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9059;
show create table s;
Table Create Table
@@ -17540,7 +17540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9058;
show create table s;
Table Create Table
@@ -17548,7 +17548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9057;
show create table s;
Table Create Table
@@ -17556,7 +17556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9056;
show create table s;
Table Create Table
@@ -17564,7 +17564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9055;
show create table s;
Table Create Table
@@ -17572,7 +17572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9054;
show create table s;
Table Create Table
@@ -17580,7 +17580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9053;
show create table s;
Table Create Table
@@ -17588,7 +17588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9052;
show create table s;
Table Create Table
@@ -17596,7 +17596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9051;
show create table s;
Table Create Table
@@ -17604,7 +17604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9050;
show create table s;
Table Create Table
@@ -17612,7 +17612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9049;
show create table s;
Table Create Table
@@ -17620,7 +17620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9048;
show create table s;
Table Create Table
@@ -17628,7 +17628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9047;
show create table s;
Table Create Table
@@ -17636,7 +17636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9046;
show create table s;
Table Create Table
@@ -17644,7 +17644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9045;
show create table s;
Table Create Table
@@ -17652,7 +17652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9044;
show create table s;
Table Create Table
@@ -17660,7 +17660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9043;
show create table s;
Table Create Table
@@ -17668,7 +17668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9042;
show create table s;
Table Create Table
@@ -17676,7 +17676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9041;
show create table s;
Table Create Table
@@ -17684,7 +17684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9040;
show create table s;
Table Create Table
@@ -17692,7 +17692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9039;
show create table s;
Table Create Table
@@ -17700,7 +17700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9038;
show create table s;
Table Create Table
@@ -17708,7 +17708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9037;
show create table s;
Table Create Table
@@ -17716,7 +17716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9036;
show create table s;
Table Create Table
@@ -17724,7 +17724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9035;
show create table s;
Table Create Table
@@ -17732,7 +17732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9034;
show create table s;
Table Create Table
@@ -17740,7 +17740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9033;
show create table s;
Table Create Table
@@ -17748,7 +17748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9032;
show create table s;
Table Create Table
@@ -17756,7 +17756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9031;
show create table s;
Table Create Table
@@ -17764,7 +17764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9030;
show create table s;
Table Create Table
@@ -17772,7 +17772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9029;
show create table s;
Table Create Table
@@ -17780,7 +17780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9028;
show create table s;
Table Create Table
@@ -17788,7 +17788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9027;
show create table s;
Table Create Table
@@ -17796,7 +17796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9026;
show create table s;
Table Create Table
@@ -17804,7 +17804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9025;
show create table s;
Table Create Table
@@ -17812,7 +17812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9024;
show create table s;
Table Create Table
@@ -17820,7 +17820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9023;
show create table s;
Table Create Table
@@ -17828,7 +17828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9022;
show create table s;
Table Create Table
@@ -17836,7 +17836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9021;
show create table s;
Table Create Table
@@ -17844,7 +17844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9020;
show create table s;
Table Create Table
@@ -17852,7 +17852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9019;
show create table s;
Table Create Table
@@ -17860,7 +17860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9018;
show create table s;
Table Create Table
@@ -17868,7 +17868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9017;
show create table s;
Table Create Table
@@ -17876,7 +17876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9016;
show create table s;
Table Create Table
@@ -17884,7 +17884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9015;
show create table s;
Table Create Table
@@ -17892,7 +17892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9014;
show create table s;
Table Create Table
@@ -17900,7 +17900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9013;
show create table s;
Table Create Table
@@ -17908,7 +17908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9012;
show create table s;
Table Create Table
@@ -17916,7 +17916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9011;
show create table s;
Table Create Table
@@ -17924,7 +17924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9010;
show create table s;
Table Create Table
@@ -17932,7 +17932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9009;
show create table s;
Table Create Table
@@ -17940,7 +17940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9008;
show create table s;
Table Create Table
@@ -17948,7 +17948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9007;
show create table s;
Table Create Table
@@ -17956,7 +17956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9006;
show create table s;
Table Create Table
@@ -17964,7 +17964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9005;
show create table s;
Table Create Table
@@ -17972,7 +17972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9004;
show create table s;
Table Create Table
@@ -17980,7 +17980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9003;
show create table s;
Table Create Table
@@ -17988,7 +17988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9002;
show create table s;
Table Create Table
@@ -17996,7 +17996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9001;
show create table s;
Table Create Table
@@ -18004,7 +18004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9000;
show create table s;
Table Create Table
@@ -18012,7 +18012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8999;
show create table s;
Table Create Table
@@ -18020,7 +18020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8998;
show create table s;
Table Create Table
@@ -18028,7 +18028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8997;
show create table s;
Table Create Table
@@ -18036,7 +18036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8996;
show create table s;
Table Create Table
@@ -18044,7 +18044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8995;
show create table s;
Table Create Table
@@ -18052,7 +18052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8994;
show create table s;
Table Create Table
@@ -18060,7 +18060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8993;
show create table s;
Table Create Table
@@ -18068,7 +18068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8992;
show create table s;
Table Create Table
@@ -18076,7 +18076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8991;
show create table s;
Table Create Table
@@ -18084,7 +18084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8990;
show create table s;
Table Create Table
@@ -18092,7 +18092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8989;
show create table s;
Table Create Table
@@ -18100,7 +18100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8988;
show create table s;
Table Create Table
@@ -18108,7 +18108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8987;
show create table s;
Table Create Table
@@ -18116,7 +18116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8986;
show create table s;
Table Create Table
@@ -18124,7 +18124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8985;
show create table s;
Table Create Table
@@ -18132,7 +18132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8984;
show create table s;
Table Create Table
@@ -18140,7 +18140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8983;
show create table s;
Table Create Table
@@ -18148,7 +18148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8982;
show create table s;
Table Create Table
@@ -18156,7 +18156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8981;
show create table s;
Table Create Table
@@ -18164,7 +18164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8980;
show create table s;
Table Create Table
@@ -18172,7 +18172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8979;
show create table s;
Table Create Table
@@ -18180,7 +18180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8978;
show create table s;
Table Create Table
@@ -18188,7 +18188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8977;
show create table s;
Table Create Table
@@ -18196,7 +18196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8976;
show create table s;
Table Create Table
@@ -18204,7 +18204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8975;
show create table s;
Table Create Table
@@ -18212,7 +18212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8974;
show create table s;
Table Create Table
@@ -18220,7 +18220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8973;
show create table s;
Table Create Table
@@ -18228,7 +18228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8972;
show create table s;
Table Create Table
@@ -18236,7 +18236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8971;
show create table s;
Table Create Table
@@ -18244,7 +18244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8970;
show create table s;
Table Create Table
@@ -18252,7 +18252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8969;
show create table s;
Table Create Table
@@ -18260,7 +18260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8968;
show create table s;
Table Create Table
@@ -18268,7 +18268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8967;
show create table s;
Table Create Table
@@ -18276,7 +18276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8966;
show create table s;
Table Create Table
@@ -18284,7 +18284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8965;
show create table s;
Table Create Table
@@ -18292,7 +18292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8964;
show create table s;
Table Create Table
@@ -18300,7 +18300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8963;
show create table s;
Table Create Table
@@ -18308,7 +18308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8962;
show create table s;
Table Create Table
@@ -18316,7 +18316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8961;
show create table s;
Table Create Table
@@ -18324,7 +18324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8960;
show create table s;
Table Create Table
@@ -18332,7 +18332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8959;
show create table s;
Table Create Table
@@ -18340,7 +18340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8958;
show create table s;
Table Create Table
@@ -18348,7 +18348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8957;
show create table s;
Table Create Table
@@ -18356,7 +18356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8956;
show create table s;
Table Create Table
@@ -18364,7 +18364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8955;
show create table s;
Table Create Table
@@ -18372,7 +18372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8954;
show create table s;
Table Create Table
@@ -18380,7 +18380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8953;
show create table s;
Table Create Table
@@ -18388,7 +18388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8952;
show create table s;
Table Create Table
@@ -18396,7 +18396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8951;
show create table s;
Table Create Table
@@ -18404,7 +18404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8950;
show create table s;
Table Create Table
@@ -18412,7 +18412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8949;
show create table s;
Table Create Table
@@ -18420,7 +18420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8948;
show create table s;
Table Create Table
@@ -18428,7 +18428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8947;
show create table s;
Table Create Table
@@ -18436,7 +18436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8946;
show create table s;
Table Create Table
@@ -18444,7 +18444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8945;
show create table s;
Table Create Table
@@ -18452,7 +18452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8944;
show create table s;
Table Create Table
@@ -18460,7 +18460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8943;
show create table s;
Table Create Table
@@ -18468,7 +18468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8942;
show create table s;
Table Create Table
@@ -18476,7 +18476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8941;
show create table s;
Table Create Table
@@ -18484,7 +18484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8940;
show create table s;
Table Create Table
@@ -18492,7 +18492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8939;
show create table s;
Table Create Table
@@ -18500,7 +18500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8938;
show create table s;
Table Create Table
@@ -18508,7 +18508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8937;
show create table s;
Table Create Table
@@ -18516,7 +18516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8936;
show create table s;
Table Create Table
@@ -18524,7 +18524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8935;
show create table s;
Table Create Table
@@ -18532,7 +18532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8934;
show create table s;
Table Create Table
@@ -18540,7 +18540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8933;
show create table s;
Table Create Table
@@ -18548,7 +18548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8932;
show create table s;
Table Create Table
@@ -18556,7 +18556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8931;
show create table s;
Table Create Table
@@ -18564,7 +18564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8930;
show create table s;
Table Create Table
@@ -18572,7 +18572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8929;
show create table s;
Table Create Table
@@ -18580,7 +18580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8928;
show create table s;
Table Create Table
@@ -18588,7 +18588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8927;
show create table s;
Table Create Table
@@ -18596,7 +18596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8926;
show create table s;
Table Create Table
@@ -18604,7 +18604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8925;
show create table s;
Table Create Table
@@ -18612,7 +18612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8924;
show create table s;
Table Create Table
@@ -18620,7 +18620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8923;
show create table s;
Table Create Table
@@ -18628,7 +18628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8922;
show create table s;
Table Create Table
@@ -18636,7 +18636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8921;
show create table s;
Table Create Table
@@ -18644,7 +18644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8920;
show create table s;
Table Create Table
@@ -18652,7 +18652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8919;
show create table s;
Table Create Table
@@ -18660,7 +18660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8918;
show create table s;
Table Create Table
@@ -18668,7 +18668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8917;
show create table s;
Table Create Table
@@ -18676,7 +18676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8916;
show create table s;
Table Create Table
@@ -18684,7 +18684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8915;
show create table s;
Table Create Table
@@ -18692,7 +18692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8914;
show create table s;
Table Create Table
@@ -18700,7 +18700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8913;
show create table s;
Table Create Table
@@ -18708,7 +18708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8912;
show create table s;
Table Create Table
@@ -18716,7 +18716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8911;
show create table s;
Table Create Table
@@ -18724,7 +18724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8910;
show create table s;
Table Create Table
@@ -18732,7 +18732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8909;
show create table s;
Table Create Table
@@ -18740,7 +18740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8908;
show create table s;
Table Create Table
@@ -18748,7 +18748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8907;
show create table s;
Table Create Table
@@ -18756,7 +18756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8906;
show create table s;
Table Create Table
@@ -18764,7 +18764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8905;
show create table s;
Table Create Table
@@ -18772,7 +18772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8904;
show create table s;
Table Create Table
@@ -18780,7 +18780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8903;
show create table s;
Table Create Table
@@ -18788,7 +18788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8902;
show create table s;
Table Create Table
@@ -18796,7 +18796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8901;
show create table s;
Table Create Table
@@ -18804,7 +18804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8900;
show create table s;
Table Create Table
@@ -18812,7 +18812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8899;
show create table s;
Table Create Table
@@ -18820,7 +18820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8898;
show create table s;
Table Create Table
@@ -18828,7 +18828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8897;
show create table s;
Table Create Table
@@ -18836,7 +18836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8896;
show create table s;
Table Create Table
@@ -18844,7 +18844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8895;
show create table s;
Table Create Table
@@ -18852,7 +18852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8894;
show create table s;
Table Create Table
@@ -18860,7 +18860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8893;
show create table s;
Table Create Table
@@ -18868,7 +18868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8892;
show create table s;
Table Create Table
@@ -18876,7 +18876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8891;
show create table s;
Table Create Table
@@ -18884,7 +18884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8890;
show create table s;
Table Create Table
@@ -18892,7 +18892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8889;
show create table s;
Table Create Table
@@ -18900,7 +18900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8888;
show create table s;
Table Create Table
@@ -18908,7 +18908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8887;
show create table s;
Table Create Table
@@ -18916,7 +18916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8886;
show create table s;
Table Create Table
@@ -18924,7 +18924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8885;
show create table s;
Table Create Table
@@ -18932,7 +18932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8884;
show create table s;
Table Create Table
@@ -18940,7 +18940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8883;
show create table s;
Table Create Table
@@ -18948,7 +18948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8882;
show create table s;
Table Create Table
@@ -18956,7 +18956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8881;
show create table s;
Table Create Table
@@ -18964,7 +18964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8880;
show create table s;
Table Create Table
@@ -18972,7 +18972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8879;
show create table s;
Table Create Table
@@ -18980,7 +18980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8878;
show create table s;
Table Create Table
@@ -18988,7 +18988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8877;
show create table s;
Table Create Table
@@ -18996,7 +18996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8876;
show create table s;
Table Create Table
@@ -19004,7 +19004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8875;
show create table s;
Table Create Table
@@ -19012,7 +19012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8874;
show create table s;
Table Create Table
@@ -19020,7 +19020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8873;
show create table s;
Table Create Table
@@ -19028,7 +19028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8872;
show create table s;
Table Create Table
@@ -19036,7 +19036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8871;
show create table s;
Table Create Table
@@ -19044,7 +19044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8870;
show create table s;
Table Create Table
@@ -19052,7 +19052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8869;
show create table s;
Table Create Table
@@ -19060,7 +19060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8868;
show create table s;
Table Create Table
@@ -19068,7 +19068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8867;
show create table s;
Table Create Table
@@ -19076,7 +19076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8866;
show create table s;
Table Create Table
@@ -19084,7 +19084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8865;
show create table s;
Table Create Table
@@ -19092,7 +19092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8864;
show create table s;
Table Create Table
@@ -19100,7 +19100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8863;
show create table s;
Table Create Table
@@ -19108,7 +19108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8862;
show create table s;
Table Create Table
@@ -19116,7 +19116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8861;
show create table s;
Table Create Table
@@ -19124,7 +19124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8860;
show create table s;
Table Create Table
@@ -19132,7 +19132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8859;
show create table s;
Table Create Table
@@ -19140,7 +19140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8858;
show create table s;
Table Create Table
@@ -19148,7 +19148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8857;
show create table s;
Table Create Table
@@ -19156,7 +19156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8856;
show create table s;
Table Create Table
@@ -19164,7 +19164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8855;
show create table s;
Table Create Table
@@ -19172,7 +19172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8854;
show create table s;
Table Create Table
@@ -19180,7 +19180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8853;
show create table s;
Table Create Table
@@ -19188,7 +19188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8852;
show create table s;
Table Create Table
@@ -19196,7 +19196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8851;
show create table s;
Table Create Table
@@ -19204,7 +19204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8850;
show create table s;
Table Create Table
@@ -19212,7 +19212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8849;
show create table s;
Table Create Table
@@ -19220,7 +19220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8848;
show create table s;
Table Create Table
@@ -19228,7 +19228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8847;
show create table s;
Table Create Table
@@ -19236,7 +19236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8846;
show create table s;
Table Create Table
@@ -19244,7 +19244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8845;
show create table s;
Table Create Table
@@ -19252,7 +19252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8844;
show create table s;
Table Create Table
@@ -19260,7 +19260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8843;
show create table s;
Table Create Table
@@ -19268,7 +19268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8842;
show create table s;
Table Create Table
@@ -19276,7 +19276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8841;
show create table s;
Table Create Table
@@ -19284,7 +19284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8840;
show create table s;
Table Create Table
@@ -19292,7 +19292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8839;
show create table s;
Table Create Table
@@ -19300,7 +19300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8838;
show create table s;
Table Create Table
@@ -19308,7 +19308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8837;
show create table s;
Table Create Table
@@ -19316,7 +19316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8836;
show create table s;
Table Create Table
@@ -19324,7 +19324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8835;
show create table s;
Table Create Table
@@ -19332,7 +19332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8834;
show create table s;
Table Create Table
@@ -19340,7 +19340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8833;
show create table s;
Table Create Table
@@ -19348,7 +19348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8832;
show create table s;
Table Create Table
@@ -19356,7 +19356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8831;
show create table s;
Table Create Table
@@ -19364,7 +19364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8830;
show create table s;
Table Create Table
@@ -19372,7 +19372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8829;
show create table s;
Table Create Table
@@ -19380,7 +19380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8828;
show create table s;
Table Create Table
@@ -19388,7 +19388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8827;
show create table s;
Table Create Table
@@ -19396,7 +19396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8826;
show create table s;
Table Create Table
@@ -19404,7 +19404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8825;
show create table s;
Table Create Table
@@ -19412,7 +19412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8824;
show create table s;
Table Create Table
@@ -19420,7 +19420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8823;
show create table s;
Table Create Table
@@ -19428,7 +19428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8822;
show create table s;
Table Create Table
@@ -19436,7 +19436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8821;
show create table s;
Table Create Table
@@ -19444,7 +19444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8820;
show create table s;
Table Create Table
@@ -19452,7 +19452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8819;
show create table s;
Table Create Table
@@ -19460,7 +19460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8818;
show create table s;
Table Create Table
@@ -19468,7 +19468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8817;
show create table s;
Table Create Table
@@ -19476,7 +19476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8816;
show create table s;
Table Create Table
@@ -19484,7 +19484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8815;
show create table s;
Table Create Table
@@ -19492,7 +19492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8814;
show create table s;
Table Create Table
@@ -19500,7 +19500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8813;
show create table s;
Table Create Table
@@ -19508,7 +19508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8812;
show create table s;
Table Create Table
@@ -19516,7 +19516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8811;
show create table s;
Table Create Table
@@ -19524,7 +19524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8810;
show create table s;
Table Create Table
@@ -19532,7 +19532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8809;
show create table s;
Table Create Table
@@ -19540,7 +19540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8808;
show create table s;
Table Create Table
@@ -19548,7 +19548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8807;
show create table s;
Table Create Table
@@ -19556,7 +19556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8806;
show create table s;
Table Create Table
@@ -19564,7 +19564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8805;
show create table s;
Table Create Table
@@ -19572,7 +19572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8804;
show create table s;
Table Create Table
@@ -19580,7 +19580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8803;
show create table s;
Table Create Table
@@ -19588,7 +19588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8802;
show create table s;
Table Create Table
@@ -19596,7 +19596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8801;
show create table s;
Table Create Table
@@ -19604,7 +19604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8800;
show create table s;
Table Create Table
@@ -19612,7 +19612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8799;
show create table s;
Table Create Table
@@ -19620,7 +19620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8798;
show create table s;
Table Create Table
@@ -19628,7 +19628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8797;
show create table s;
Table Create Table
@@ -19636,7 +19636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8796;
show create table s;
Table Create Table
@@ -19644,7 +19644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8795;
show create table s;
Table Create Table
@@ -19652,7 +19652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8794;
show create table s;
Table Create Table
@@ -19660,7 +19660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8793;
show create table s;
Table Create Table
@@ -19668,7 +19668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8792;
show create table s;
Table Create Table
@@ -19676,7 +19676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8791;
show create table s;
Table Create Table
@@ -19684,7 +19684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8790;
show create table s;
Table Create Table
@@ -19692,7 +19692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8789;
show create table s;
Table Create Table
@@ -19700,7 +19700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8788;
show create table s;
Table Create Table
@@ -19708,7 +19708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8787;
show create table s;
Table Create Table
@@ -19716,7 +19716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8786;
show create table s;
Table Create Table
@@ -19724,7 +19724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8785;
show create table s;
Table Create Table
@@ -19732,7 +19732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8784;
show create table s;
Table Create Table
@@ -19740,7 +19740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8783;
show create table s;
Table Create Table
@@ -19748,7 +19748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8782;
show create table s;
Table Create Table
@@ -19756,7 +19756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8781;
show create table s;
Table Create Table
@@ -19764,7 +19764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8780;
show create table s;
Table Create Table
@@ -19772,7 +19772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8779;
show create table s;
Table Create Table
@@ -19780,7 +19780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8778;
show create table s;
Table Create Table
@@ -19788,7 +19788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8777;
show create table s;
Table Create Table
@@ -19796,7 +19796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8776;
show create table s;
Table Create Table
@@ -19804,7 +19804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8775;
show create table s;
Table Create Table
@@ -19812,7 +19812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8774;
show create table s;
Table Create Table
@@ -19820,7 +19820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8773;
show create table s;
Table Create Table
@@ -19828,7 +19828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8772;
show create table s;
Table Create Table
@@ -19836,7 +19836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8771;
show create table s;
Table Create Table
@@ -19844,7 +19844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8770;
show create table s;
Table Create Table
@@ -19852,7 +19852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8769;
show create table s;
Table Create Table
@@ -19860,7 +19860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8768;
show create table s;
Table Create Table
@@ -19868,7 +19868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8767;
show create table s;
Table Create Table
@@ -19876,7 +19876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8766;
show create table s;
Table Create Table
@@ -19884,7 +19884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8765;
show create table s;
Table Create Table
@@ -19892,7 +19892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8764;
show create table s;
Table Create Table
@@ -19900,7 +19900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8763;
show create table s;
Table Create Table
@@ -19908,7 +19908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8762;
show create table s;
Table Create Table
@@ -19916,7 +19916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8761;
show create table s;
Table Create Table
@@ -19924,7 +19924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8760;
show create table s;
Table Create Table
@@ -19932,7 +19932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8759;
show create table s;
Table Create Table
@@ -19940,7 +19940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8758;
show create table s;
Table Create Table
@@ -19948,7 +19948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8757;
show create table s;
Table Create Table
@@ -19956,7 +19956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8756;
show create table s;
Table Create Table
@@ -19964,7 +19964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8755;
show create table s;
Table Create Table
@@ -19972,7 +19972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8754;
show create table s;
Table Create Table
@@ -19980,7 +19980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8753;
show create table s;
Table Create Table
@@ -19988,7 +19988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8752;
show create table s;
Table Create Table
@@ -19996,7 +19996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8751;
show create table s;
Table Create Table
@@ -20004,7 +20004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8750;
show create table s;
Table Create Table
@@ -20012,7 +20012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8749;
show create table s;
Table Create Table
@@ -20020,7 +20020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8748;
show create table s;
Table Create Table
@@ -20028,7 +20028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8747;
show create table s;
Table Create Table
@@ -20036,7 +20036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8746;
show create table s;
Table Create Table
@@ -20044,7 +20044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8745;
show create table s;
Table Create Table
@@ -20052,7 +20052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8744;
show create table s;
Table Create Table
@@ -20060,7 +20060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8743;
show create table s;
Table Create Table
@@ -20068,7 +20068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8742;
show create table s;
Table Create Table
@@ -20076,7 +20076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8741;
show create table s;
Table Create Table
@@ -20084,7 +20084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8740;
show create table s;
Table Create Table
@@ -20092,7 +20092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8739;
show create table s;
Table Create Table
@@ -20100,7 +20100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8738;
show create table s;
Table Create Table
@@ -20108,7 +20108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8737;
show create table s;
Table Create Table
@@ -20116,7 +20116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8736;
show create table s;
Table Create Table
@@ -20124,7 +20124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8735;
show create table s;
Table Create Table
@@ -20132,7 +20132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8734;
show create table s;
Table Create Table
@@ -20140,7 +20140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8733;
show create table s;
Table Create Table
@@ -20148,7 +20148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8732;
show create table s;
Table Create Table
@@ -20156,7 +20156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8731;
show create table s;
Table Create Table
@@ -20164,7 +20164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8730;
show create table s;
Table Create Table
@@ -20172,7 +20172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8729;
show create table s;
Table Create Table
@@ -20180,7 +20180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8728;
show create table s;
Table Create Table
@@ -20188,7 +20188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8727;
show create table s;
Table Create Table
@@ -20196,7 +20196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8726;
show create table s;
Table Create Table
@@ -20204,7 +20204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8725;
show create table s;
Table Create Table
@@ -20212,7 +20212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8724;
show create table s;
Table Create Table
@@ -20220,7 +20220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8723;
show create table s;
Table Create Table
@@ -20228,7 +20228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8722;
show create table s;
Table Create Table
@@ -20236,7 +20236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8721;
show create table s;
Table Create Table
@@ -20244,7 +20244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8720;
show create table s;
Table Create Table
@@ -20252,7 +20252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8719;
show create table s;
Table Create Table
@@ -20260,7 +20260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8718;
show create table s;
Table Create Table
@@ -20268,7 +20268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8717;
show create table s;
Table Create Table
@@ -20276,7 +20276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8716;
show create table s;
Table Create Table
@@ -20284,7 +20284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8715;
show create table s;
Table Create Table
@@ -20292,7 +20292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8714;
show create table s;
Table Create Table
@@ -20300,7 +20300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8713;
show create table s;
Table Create Table
@@ -20308,7 +20308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8712;
show create table s;
Table Create Table
@@ -20316,7 +20316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8711;
show create table s;
Table Create Table
@@ -20324,7 +20324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8710;
show create table s;
Table Create Table
@@ -20332,7 +20332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8709;
show create table s;
Table Create Table
@@ -20340,7 +20340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8708;
show create table s;
Table Create Table
@@ -20348,7 +20348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8707;
show create table s;
Table Create Table
@@ -20356,7 +20356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8706;
show create table s;
Table Create Table
@@ -20364,7 +20364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8705;
show create table s;
Table Create Table
@@ -20372,7 +20372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8704;
show create table s;
Table Create Table
@@ -20380,7 +20380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8703;
show create table s;
Table Create Table
@@ -20388,7 +20388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8702;
show create table s;
Table Create Table
@@ -20396,7 +20396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8701;
show create table s;
Table Create Table
@@ -20404,7 +20404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8700;
show create table s;
Table Create Table
@@ -20412,7 +20412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8699;
show create table s;
Table Create Table
@@ -20420,7 +20420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8698;
show create table s;
Table Create Table
@@ -20428,7 +20428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8697;
show create table s;
Table Create Table
@@ -20436,7 +20436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8696;
show create table s;
Table Create Table
@@ -20444,7 +20444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8695;
show create table s;
Table Create Table
@@ -20452,7 +20452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8694;
show create table s;
Table Create Table
@@ -20460,7 +20460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8693;
show create table s;
Table Create Table
@@ -20468,7 +20468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8692;
show create table s;
Table Create Table
@@ -20476,7 +20476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8691;
show create table s;
Table Create Table
@@ -20484,7 +20484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8690;
show create table s;
Table Create Table
@@ -20492,7 +20492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8689;
show create table s;
Table Create Table
@@ -20500,7 +20500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8688;
show create table s;
Table Create Table
@@ -20508,7 +20508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8687;
show create table s;
Table Create Table
@@ -20516,7 +20516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8686;
show create table s;
Table Create Table
@@ -20524,7 +20524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8685;
show create table s;
Table Create Table
@@ -20532,7 +20532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8684;
show create table s;
Table Create Table
@@ -20540,7 +20540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8683;
show create table s;
Table Create Table
@@ -20548,7 +20548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8682;
show create table s;
Table Create Table
@@ -20556,7 +20556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8681;
show create table s;
Table Create Table
@@ -20564,7 +20564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8680;
show create table s;
Table Create Table
@@ -20572,7 +20572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8679;
show create table s;
Table Create Table
@@ -20580,7 +20580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8678;
show create table s;
Table Create Table
@@ -20588,7 +20588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8677;
show create table s;
Table Create Table
@@ -20596,7 +20596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8676;
show create table s;
Table Create Table
@@ -20604,7 +20604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8675;
show create table s;
Table Create Table
@@ -20612,7 +20612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8674;
show create table s;
Table Create Table
@@ -20620,7 +20620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8673;
show create table s;
Table Create Table
@@ -20628,7 +20628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8672;
show create table s;
Table Create Table
@@ -20636,7 +20636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8671;
show create table s;
Table Create Table
@@ -20644,7 +20644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8670;
show create table s;
Table Create Table
@@ -20652,7 +20652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8669;
show create table s;
Table Create Table
@@ -20660,7 +20660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8668;
show create table s;
Table Create Table
@@ -20668,7 +20668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8667;
show create table s;
Table Create Table
@@ -20676,7 +20676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8666;
show create table s;
Table Create Table
@@ -20684,7 +20684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8665;
show create table s;
Table Create Table
@@ -20692,7 +20692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8664;
show create table s;
Table Create Table
@@ -20700,7 +20700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8663;
show create table s;
Table Create Table
@@ -20708,7 +20708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8662;
show create table s;
Table Create Table
@@ -20716,7 +20716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8661;
show create table s;
Table Create Table
@@ -20724,7 +20724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8660;
show create table s;
Table Create Table
@@ -20732,7 +20732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8659;
show create table s;
Table Create Table
@@ -20740,7 +20740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8658;
show create table s;
Table Create Table
@@ -20748,7 +20748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8657;
show create table s;
Table Create Table
@@ -20756,7 +20756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8656;
show create table s;
Table Create Table
@@ -20764,7 +20764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8655;
show create table s;
Table Create Table
@@ -20772,7 +20772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8654;
show create table s;
Table Create Table
@@ -20780,7 +20780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8653;
show create table s;
Table Create Table
@@ -20788,7 +20788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8652;
show create table s;
Table Create Table
@@ -20796,7 +20796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8651;
show create table s;
Table Create Table
@@ -20804,7 +20804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8650;
show create table s;
Table Create Table
@@ -20812,7 +20812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8649;
show create table s;
Table Create Table
@@ -20820,7 +20820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8648;
show create table s;
Table Create Table
@@ -20828,7 +20828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8647;
show create table s;
Table Create Table
@@ -20836,7 +20836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8646;
show create table s;
Table Create Table
@@ -20844,7 +20844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8645;
show create table s;
Table Create Table
@@ -20852,7 +20852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8644;
show create table s;
Table Create Table
@@ -20860,7 +20860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8643;
show create table s;
Table Create Table
@@ -20868,7 +20868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8642;
show create table s;
Table Create Table
@@ -20876,7 +20876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8641;
show create table s;
Table Create Table
@@ -20884,7 +20884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8640;
show create table s;
Table Create Table
@@ -20892,7 +20892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8639;
show create table s;
Table Create Table
@@ -20900,7 +20900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8638;
show create table s;
Table Create Table
@@ -20908,7 +20908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8637;
show create table s;
Table Create Table
@@ -20916,7 +20916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8636;
show create table s;
Table Create Table
@@ -20924,7 +20924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8635;
show create table s;
Table Create Table
@@ -20932,7 +20932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8634;
show create table s;
Table Create Table
@@ -20940,7 +20940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8633;
show create table s;
Table Create Table
@@ -20948,7 +20948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8632;
show create table s;
Table Create Table
@@ -20956,7 +20956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8631;
show create table s;
Table Create Table
@@ -20964,7 +20964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8630;
show create table s;
Table Create Table
@@ -20972,7 +20972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8629;
show create table s;
Table Create Table
@@ -20980,7 +20980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8628;
show create table s;
Table Create Table
@@ -20988,7 +20988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8627;
show create table s;
Table Create Table
@@ -20996,7 +20996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8626;
show create table s;
Table Create Table
@@ -21004,7 +21004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8625;
show create table s;
Table Create Table
@@ -21012,7 +21012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8624;
show create table s;
Table Create Table
@@ -21020,7 +21020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8623;
show create table s;
Table Create Table
@@ -21028,7 +21028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8622;
show create table s;
Table Create Table
@@ -21036,7 +21036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8621;
show create table s;
Table Create Table
@@ -21044,7 +21044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8620;
show create table s;
Table Create Table
@@ -21052,7 +21052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8619;
show create table s;
Table Create Table
@@ -21060,7 +21060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8618;
show create table s;
Table Create Table
@@ -21068,7 +21068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8617;
show create table s;
Table Create Table
@@ -21076,7 +21076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8616;
show create table s;
Table Create Table
@@ -21084,7 +21084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8615;
show create table s;
Table Create Table
@@ -21092,7 +21092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8614;
show create table s;
Table Create Table
@@ -21100,7 +21100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8613;
show create table s;
Table Create Table
@@ -21108,7 +21108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8612;
show create table s;
Table Create Table
@@ -21116,7 +21116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8611;
show create table s;
Table Create Table
@@ -21124,7 +21124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8610;
show create table s;
Table Create Table
@@ -21132,7 +21132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8609;
show create table s;
Table Create Table
@@ -21140,7 +21140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8608;
show create table s;
Table Create Table
@@ -21148,7 +21148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8607;
show create table s;
Table Create Table
@@ -21156,7 +21156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8606;
show create table s;
Table Create Table
@@ -21164,7 +21164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8605;
show create table s;
Table Create Table
@@ -21172,7 +21172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8604;
show create table s;
Table Create Table
@@ -21180,7 +21180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8603;
show create table s;
Table Create Table
@@ -21188,7 +21188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8602;
show create table s;
Table Create Table
@@ -21196,7 +21196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8601;
show create table s;
Table Create Table
@@ -21204,7 +21204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8600;
show create table s;
Table Create Table
@@ -21212,7 +21212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8599;
show create table s;
Table Create Table
@@ -21220,7 +21220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8598;
show create table s;
Table Create Table
@@ -21228,7 +21228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8597;
show create table s;
Table Create Table
@@ -21236,7 +21236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8596;
show create table s;
Table Create Table
@@ -21244,7 +21244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8595;
show create table s;
Table Create Table
@@ -21252,7 +21252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8594;
show create table s;
Table Create Table
@@ -21260,7 +21260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8593;
show create table s;
Table Create Table
@@ -21268,7 +21268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8592;
show create table s;
Table Create Table
@@ -21276,7 +21276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8591;
show create table s;
Table Create Table
@@ -21284,7 +21284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8590;
show create table s;
Table Create Table
@@ -21292,7 +21292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8589;
show create table s;
Table Create Table
@@ -21300,7 +21300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8588;
show create table s;
Table Create Table
@@ -21308,7 +21308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8587;
show create table s;
Table Create Table
@@ -21316,7 +21316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8586;
show create table s;
Table Create Table
@@ -21324,7 +21324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8585;
show create table s;
Table Create Table
@@ -21332,7 +21332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8584;
show create table s;
Table Create Table
@@ -21340,7 +21340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8583;
show create table s;
Table Create Table
@@ -21348,7 +21348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8582;
show create table s;
Table Create Table
@@ -21356,7 +21356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8581;
show create table s;
Table Create Table
@@ -21364,7 +21364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8580;
show create table s;
Table Create Table
@@ -21372,7 +21372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8579;
show create table s;
Table Create Table
@@ -21380,7 +21380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8578;
show create table s;
Table Create Table
@@ -21388,7 +21388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8577;
show create table s;
Table Create Table
@@ -21396,7 +21396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8576;
show create table s;
Table Create Table
@@ -21404,7 +21404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8575;
show create table s;
Table Create Table
@@ -21412,7 +21412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8574;
show create table s;
Table Create Table
@@ -21420,7 +21420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8573;
show create table s;
Table Create Table
@@ -21428,7 +21428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8572;
show create table s;
Table Create Table
@@ -21436,7 +21436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8571;
show create table s;
Table Create Table
@@ -21444,7 +21444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8570;
show create table s;
Table Create Table
@@ -21452,7 +21452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8569;
show create table s;
Table Create Table
@@ -21460,7 +21460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8568;
show create table s;
Table Create Table
@@ -21468,7 +21468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8567;
show create table s;
Table Create Table
@@ -21476,7 +21476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8566;
show create table s;
Table Create Table
@@ -21484,7 +21484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8565;
show create table s;
Table Create Table
@@ -21492,7 +21492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8564;
show create table s;
Table Create Table
@@ -21500,7 +21500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8563;
show create table s;
Table Create Table
@@ -21508,7 +21508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8562;
show create table s;
Table Create Table
@@ -21516,7 +21516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8561;
show create table s;
Table Create Table
@@ -21524,7 +21524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8560;
show create table s;
Table Create Table
@@ -21532,7 +21532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8559;
show create table s;
Table Create Table
@@ -21540,7 +21540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8558;
show create table s;
Table Create Table
@@ -21548,7 +21548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8557;
show create table s;
Table Create Table
@@ -21556,7 +21556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8556;
show create table s;
Table Create Table
@@ -21564,7 +21564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8555;
show create table s;
Table Create Table
@@ -21572,7 +21572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8554;
show create table s;
Table Create Table
@@ -21580,7 +21580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8553;
show create table s;
Table Create Table
@@ -21588,7 +21588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8552;
show create table s;
Table Create Table
@@ -21596,7 +21596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8551;
show create table s;
Table Create Table
@@ -21604,7 +21604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8550;
show create table s;
Table Create Table
@@ -21612,7 +21612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8549;
show create table s;
Table Create Table
@@ -21620,7 +21620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8548;
show create table s;
Table Create Table
@@ -21628,7 +21628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8547;
show create table s;
Table Create Table
@@ -21636,7 +21636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8546;
show create table s;
Table Create Table
@@ -21644,7 +21644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8545;
show create table s;
Table Create Table
@@ -21652,7 +21652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8544;
show create table s;
Table Create Table
@@ -21660,7 +21660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8543;
show create table s;
Table Create Table
@@ -21668,7 +21668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8542;
show create table s;
Table Create Table
@@ -21676,7 +21676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8541;
show create table s;
Table Create Table
@@ -21684,7 +21684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8540;
show create table s;
Table Create Table
@@ -21692,7 +21692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8539;
show create table s;
Table Create Table
@@ -21700,7 +21700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8538;
show create table s;
Table Create Table
@@ -21708,7 +21708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8537;
show create table s;
Table Create Table
@@ -21716,7 +21716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8536;
show create table s;
Table Create Table
@@ -21724,7 +21724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8535;
show create table s;
Table Create Table
@@ -21732,7 +21732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8534;
show create table s;
Table Create Table
@@ -21740,7 +21740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8533;
show create table s;
Table Create Table
@@ -21748,7 +21748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8532;
show create table s;
Table Create Table
@@ -21756,7 +21756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8531;
show create table s;
Table Create Table
@@ -21764,7 +21764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8530;
show create table s;
Table Create Table
@@ -21772,7 +21772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8529;
show create table s;
Table Create Table
@@ -21780,7 +21780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8528;
show create table s;
Table Create Table
@@ -21788,7 +21788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8527;
show create table s;
Table Create Table
@@ -21796,7 +21796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8526;
show create table s;
Table Create Table
@@ -21804,7 +21804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8525;
show create table s;
Table Create Table
@@ -21812,7 +21812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8524;
show create table s;
Table Create Table
@@ -21820,7 +21820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8523;
show create table s;
Table Create Table
@@ -21828,7 +21828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8522;
show create table s;
Table Create Table
@@ -21836,7 +21836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8521;
show create table s;
Table Create Table
@@ -21844,7 +21844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8520;
show create table s;
Table Create Table
@@ -21852,7 +21852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8519;
show create table s;
Table Create Table
@@ -21860,7 +21860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8518;
show create table s;
Table Create Table
@@ -21868,7 +21868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8517;
show create table s;
Table Create Table
@@ -21876,7 +21876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8516;
show create table s;
Table Create Table
@@ -21884,7 +21884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8515;
show create table s;
Table Create Table
@@ -21892,7 +21892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8514;
show create table s;
Table Create Table
@@ -21900,7 +21900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8513;
show create table s;
Table Create Table
@@ -21908,7 +21908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8512;
show create table s;
Table Create Table
@@ -21916,7 +21916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8511;
show create table s;
Table Create Table
@@ -21924,7 +21924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8510;
show create table s;
Table Create Table
@@ -21932,7 +21932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8509;
show create table s;
Table Create Table
@@ -21940,7 +21940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8508;
show create table s;
Table Create Table
@@ -21948,7 +21948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8507;
show create table s;
Table Create Table
@@ -21956,7 +21956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8506;
show create table s;
Table Create Table
@@ -21964,7 +21964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8505;
show create table s;
Table Create Table
@@ -21972,7 +21972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8504;
show create table s;
Table Create Table
@@ -21980,7 +21980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8503;
show create table s;
Table Create Table
@@ -21988,7 +21988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8502;
show create table s;
Table Create Table
@@ -21996,7 +21996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8501;
show create table s;
Table Create Table
@@ -22004,7 +22004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8500;
show create table s;
Table Create Table
@@ -22012,7 +22012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8499;
show create table s;
Table Create Table
@@ -22020,7 +22020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8498;
show create table s;
Table Create Table
@@ -22028,7 +22028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8497;
show create table s;
Table Create Table
@@ -22036,7 +22036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8496;
show create table s;
Table Create Table
@@ -22044,7 +22044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8495;
show create table s;
Table Create Table
@@ -22052,7 +22052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8494;
show create table s;
Table Create Table
@@ -22060,7 +22060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8493;
show create table s;
Table Create Table
@@ -22068,7 +22068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8492;
show create table s;
Table Create Table
@@ -22076,7 +22076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8491;
show create table s;
Table Create Table
@@ -22084,7 +22084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8490;
show create table s;
Table Create Table
@@ -22092,7 +22092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8489;
show create table s;
Table Create Table
@@ -22100,7 +22100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8488;
show create table s;
Table Create Table
@@ -22108,7 +22108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8487;
show create table s;
Table Create Table
@@ -22116,7 +22116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8486;
show create table s;
Table Create Table
@@ -22124,7 +22124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8485;
show create table s;
Table Create Table
@@ -22132,7 +22132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8484;
show create table s;
Table Create Table
@@ -22140,7 +22140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8483;
show create table s;
Table Create Table
@@ -22148,7 +22148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8482;
show create table s;
Table Create Table
@@ -22156,7 +22156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8481;
show create table s;
Table Create Table
@@ -22164,7 +22164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8480;
show create table s;
Table Create Table
@@ -22172,7 +22172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8479;
show create table s;
Table Create Table
@@ -22180,7 +22180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8478;
show create table s;
Table Create Table
@@ -22188,7 +22188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8477;
show create table s;
Table Create Table
@@ -22196,7 +22196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8476;
show create table s;
Table Create Table
@@ -22204,7 +22204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8475;
show create table s;
Table Create Table
@@ -22212,7 +22212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8474;
show create table s;
Table Create Table
@@ -22220,7 +22220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8473;
show create table s;
Table Create Table
@@ -22228,7 +22228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8472;
show create table s;
Table Create Table
@@ -22236,7 +22236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8471;
show create table s;
Table Create Table
@@ -22244,7 +22244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8470;
show create table s;
Table Create Table
@@ -22252,7 +22252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8469;
show create table s;
Table Create Table
@@ -22260,7 +22260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8468;
show create table s;
Table Create Table
@@ -22268,7 +22268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8467;
show create table s;
Table Create Table
@@ -22276,7 +22276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8466;
show create table s;
Table Create Table
@@ -22284,7 +22284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8465;
show create table s;
Table Create Table
@@ -22292,7 +22292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8464;
show create table s;
Table Create Table
@@ -22300,7 +22300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8463;
show create table s;
Table Create Table
@@ -22308,7 +22308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8462;
show create table s;
Table Create Table
@@ -22316,7 +22316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8461;
show create table s;
Table Create Table
@@ -22324,7 +22324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8460;
show create table s;
Table Create Table
@@ -22332,7 +22332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8459;
show create table s;
Table Create Table
@@ -22340,7 +22340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8458;
show create table s;
Table Create Table
@@ -22348,7 +22348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8457;
show create table s;
Table Create Table
@@ -22356,7 +22356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8456;
show create table s;
Table Create Table
@@ -22364,7 +22364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8455;
show create table s;
Table Create Table
@@ -22372,7 +22372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8454;
show create table s;
Table Create Table
@@ -22380,7 +22380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8453;
show create table s;
Table Create Table
@@ -22388,7 +22388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8452;
show create table s;
Table Create Table
@@ -22396,7 +22396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8451;
show create table s;
Table Create Table
@@ -22404,7 +22404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8450;
show create table s;
Table Create Table
@@ -22412,7 +22412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8449;
show create table s;
Table Create Table
@@ -22420,7 +22420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8448;
show create table s;
Table Create Table
@@ -22428,7 +22428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8447;
show create table s;
Table Create Table
@@ -22436,7 +22436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8446;
show create table s;
Table Create Table
@@ -22444,7 +22444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8445;
show create table s;
Table Create Table
@@ -22452,7 +22452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8444;
show create table s;
Table Create Table
@@ -22460,7 +22460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8443;
show create table s;
Table Create Table
@@ -22468,7 +22468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8442;
show create table s;
Table Create Table
@@ -22476,7 +22476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8441;
show create table s;
Table Create Table
@@ -22484,7 +22484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8440;
show create table s;
Table Create Table
@@ -22492,7 +22492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8439;
show create table s;
Table Create Table
@@ -22500,7 +22500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8438;
show create table s;
Table Create Table
@@ -22508,7 +22508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8437;
show create table s;
Table Create Table
@@ -22516,7 +22516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8436;
show create table s;
Table Create Table
@@ -22524,7 +22524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8435;
show create table s;
Table Create Table
@@ -22532,7 +22532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8434;
show create table s;
Table Create Table
@@ -22540,7 +22540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8433;
show create table s;
Table Create Table
@@ -22548,7 +22548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8432;
show create table s;
Table Create Table
@@ -22556,7 +22556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8431;
show create table s;
Table Create Table
@@ -22564,7 +22564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8430;
show create table s;
Table Create Table
@@ -22572,7 +22572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8429;
show create table s;
Table Create Table
@@ -22580,7 +22580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8428;
show create table s;
Table Create Table
@@ -22588,7 +22588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8427;
show create table s;
Table Create Table
@@ -22596,7 +22596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8426;
show create table s;
Table Create Table
@@ -22604,7 +22604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8425;
show create table s;
Table Create Table
@@ -22612,7 +22612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8424;
show create table s;
Table Create Table
@@ -22620,7 +22620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8423;
show create table s;
Table Create Table
@@ -22628,7 +22628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8422;
show create table s;
Table Create Table
@@ -22636,7 +22636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8421;
show create table s;
Table Create Table
@@ -22644,7 +22644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8420;
show create table s;
Table Create Table
@@ -22652,7 +22652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8419;
show create table s;
Table Create Table
@@ -22660,7 +22660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8418;
show create table s;
Table Create Table
@@ -22668,7 +22668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8417;
show create table s;
Table Create Table
@@ -22676,7 +22676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8416;
show create table s;
Table Create Table
@@ -22684,7 +22684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8415;
show create table s;
Table Create Table
@@ -22692,7 +22692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8414;
show create table s;
Table Create Table
@@ -22700,7 +22700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8413;
show create table s;
Table Create Table
@@ -22708,7 +22708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8412;
show create table s;
Table Create Table
@@ -22716,7 +22716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8411;
show create table s;
Table Create Table
@@ -22724,7 +22724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8410;
show create table s;
Table Create Table
@@ -22732,7 +22732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8409;
show create table s;
Table Create Table
@@ -22740,7 +22740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8408;
show create table s;
Table Create Table
@@ -22748,7 +22748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8407;
show create table s;
Table Create Table
@@ -22756,7 +22756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8406;
show create table s;
Table Create Table
@@ -22764,7 +22764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8405;
show create table s;
Table Create Table
@@ -22772,7 +22772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8404;
show create table s;
Table Create Table
@@ -22780,7 +22780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8403;
show create table s;
Table Create Table
@@ -22788,7 +22788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8402;
show create table s;
Table Create Table
@@ -22796,7 +22796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8401;
show create table s;
Table Create Table
@@ -22804,7 +22804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8400;
show create table s;
Table Create Table
@@ -22812,7 +22812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8399;
show create table s;
Table Create Table
@@ -22820,7 +22820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8398;
show create table s;
Table Create Table
@@ -22828,7 +22828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8397;
show create table s;
Table Create Table
@@ -22836,7 +22836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8396;
show create table s;
Table Create Table
@@ -22844,7 +22844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8395;
show create table s;
Table Create Table
@@ -22852,7 +22852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8394;
show create table s;
Table Create Table
@@ -22860,7 +22860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8393;
show create table s;
Table Create Table
@@ -22868,7 +22868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8392;
show create table s;
Table Create Table
@@ -22876,7 +22876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8391;
show create table s;
Table Create Table
@@ -22884,7 +22884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8390;
show create table s;
Table Create Table
@@ -22892,7 +22892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8389;
show create table s;
Table Create Table
@@ -22900,7 +22900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8388;
show create table s;
Table Create Table
@@ -22908,7 +22908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8387;
show create table s;
Table Create Table
@@ -22916,7 +22916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8386;
show create table s;
Table Create Table
@@ -22924,7 +22924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8385;
show create table s;
Table Create Table
@@ -22932,7 +22932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8384;
show create table s;
Table Create Table
@@ -22940,7 +22940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8383;
show create table s;
Table Create Table
@@ -22948,7 +22948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8382;
show create table s;
Table Create Table
@@ -22956,7 +22956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8381;
show create table s;
Table Create Table
@@ -22964,7 +22964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8380;
show create table s;
Table Create Table
@@ -22972,7 +22972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8379;
show create table s;
Table Create Table
@@ -22980,7 +22980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8378;
show create table s;
Table Create Table
@@ -22988,7 +22988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8377;
show create table s;
Table Create Table
@@ -22996,7 +22996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8376;
show create table s;
Table Create Table
@@ -23004,7 +23004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8375;
show create table s;
Table Create Table
@@ -23012,7 +23012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8374;
show create table s;
Table Create Table
@@ -23020,7 +23020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8373;
show create table s;
Table Create Table
@@ -23028,7 +23028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8372;
show create table s;
Table Create Table
@@ -23036,7 +23036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8371;
show create table s;
Table Create Table
@@ -23044,7 +23044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8370;
show create table s;
Table Create Table
@@ -23052,7 +23052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8369;
show create table s;
Table Create Table
@@ -23060,7 +23060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8368;
show create table s;
Table Create Table
@@ -23068,7 +23068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8367;
show create table s;
Table Create Table
@@ -23076,7 +23076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8366;
show create table s;
Table Create Table
@@ -23084,7 +23084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8365;
show create table s;
Table Create Table
@@ -23092,7 +23092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8364;
show create table s;
Table Create Table
@@ -23100,7 +23100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8363;
show create table s;
Table Create Table
@@ -23108,7 +23108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8362;
show create table s;
Table Create Table
@@ -23116,7 +23116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8361;
show create table s;
Table Create Table
@@ -23124,7 +23124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8360;
show create table s;
Table Create Table
@@ -23132,7 +23132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8359;
show create table s;
Table Create Table
@@ -23140,7 +23140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8358;
show create table s;
Table Create Table
@@ -23148,7 +23148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8357;
show create table s;
Table Create Table
@@ -23156,7 +23156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8356;
show create table s;
Table Create Table
@@ -23164,7 +23164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8355;
show create table s;
Table Create Table
@@ -23172,7 +23172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8354;
show create table s;
Table Create Table
@@ -23180,7 +23180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8353;
show create table s;
Table Create Table
@@ -23188,7 +23188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8352;
show create table s;
Table Create Table
@@ -23196,7 +23196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8351;
show create table s;
Table Create Table
@@ -23204,7 +23204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8350;
show create table s;
Table Create Table
@@ -23212,7 +23212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8349;
show create table s;
Table Create Table
@@ -23220,7 +23220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8348;
show create table s;
Table Create Table
@@ -23228,7 +23228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8347;
show create table s;
Table Create Table
@@ -23236,7 +23236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8346;
show create table s;
Table Create Table
@@ -23244,7 +23244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8345;
show create table s;
Table Create Table
@@ -23252,7 +23252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8344;
show create table s;
Table Create Table
@@ -23260,7 +23260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8343;
show create table s;
Table Create Table
@@ -23268,7 +23268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8342;
show create table s;
Table Create Table
@@ -23276,7 +23276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8341;
show create table s;
Table Create Table
@@ -23284,7 +23284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8340;
show create table s;
Table Create Table
@@ -23292,7 +23292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8339;
show create table s;
Table Create Table
@@ -23300,7 +23300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8338;
show create table s;
Table Create Table
@@ -23308,7 +23308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8337;
show create table s;
Table Create Table
@@ -23316,7 +23316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8336;
show create table s;
Table Create Table
@@ -23324,7 +23324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8335;
show create table s;
Table Create Table
@@ -23332,7 +23332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8334;
show create table s;
Table Create Table
@@ -23340,7 +23340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8333;
show create table s;
Table Create Table
@@ -23348,7 +23348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8332;
show create table s;
Table Create Table
@@ -23356,7 +23356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8331;
show create table s;
Table Create Table
@@ -23364,7 +23364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8330;
show create table s;
Table Create Table
@@ -23372,7 +23372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8329;
show create table s;
Table Create Table
@@ -23380,7 +23380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8328;
show create table s;
Table Create Table
@@ -23388,7 +23388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8327;
show create table s;
Table Create Table
@@ -23396,7 +23396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8326;
show create table s;
Table Create Table
@@ -23404,7 +23404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8325;
show create table s;
Table Create Table
@@ -23412,7 +23412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8324;
show create table s;
Table Create Table
@@ -23420,7 +23420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8323;
show create table s;
Table Create Table
@@ -23428,7 +23428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8322;
show create table s;
Table Create Table
@@ -23436,7 +23436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8321;
show create table s;
Table Create Table
@@ -23444,7 +23444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8320;
show create table s;
Table Create Table
@@ -23452,7 +23452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8319;
show create table s;
Table Create Table
@@ -23460,7 +23460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8318;
show create table s;
Table Create Table
@@ -23468,7 +23468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8317;
show create table s;
Table Create Table
@@ -23476,7 +23476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8316;
show create table s;
Table Create Table
@@ -23484,7 +23484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8315;
show create table s;
Table Create Table
@@ -23492,7 +23492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8314;
show create table s;
Table Create Table
@@ -23500,7 +23500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8313;
show create table s;
Table Create Table
@@ -23508,7 +23508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8312;
show create table s;
Table Create Table
@@ -23516,7 +23516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8311;
show create table s;
Table Create Table
@@ -23524,7 +23524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8310;
show create table s;
Table Create Table
@@ -23532,7 +23532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8309;
show create table s;
Table Create Table
@@ -23540,7 +23540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8308;
show create table s;
Table Create Table
@@ -23548,7 +23548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8307;
show create table s;
Table Create Table
@@ -23556,7 +23556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8306;
show create table s;
Table Create Table
@@ -23564,7 +23564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8305;
show create table s;
Table Create Table
@@ -23572,7 +23572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8304;
show create table s;
Table Create Table
@@ -23580,7 +23580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8303;
show create table s;
Table Create Table
@@ -23588,7 +23588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8302;
show create table s;
Table Create Table
@@ -23596,7 +23596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8301;
show create table s;
Table Create Table
@@ -23604,7 +23604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8300;
show create table s;
Table Create Table
@@ -23612,7 +23612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8299;
show create table s;
Table Create Table
@@ -23620,7 +23620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8298;
show create table s;
Table Create Table
@@ -23628,7 +23628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8297;
show create table s;
Table Create Table
@@ -23636,7 +23636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8296;
show create table s;
Table Create Table
@@ -23644,7 +23644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8295;
show create table s;
Table Create Table
@@ -23652,7 +23652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8294;
show create table s;
Table Create Table
@@ -23660,7 +23660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8293;
show create table s;
Table Create Table
@@ -23668,7 +23668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8292;
show create table s;
Table Create Table
@@ -23676,7 +23676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8291;
show create table s;
Table Create Table
@@ -23684,7 +23684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8290;
show create table s;
Table Create Table
@@ -23692,7 +23692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8289;
show create table s;
Table Create Table
@@ -23700,7 +23700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8288;
show create table s;
Table Create Table
@@ -23708,7 +23708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8287;
show create table s;
Table Create Table
@@ -23716,7 +23716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8286;
show create table s;
Table Create Table
@@ -23724,7 +23724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8285;
show create table s;
Table Create Table
@@ -23732,7 +23732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8284;
show create table s;
Table Create Table
@@ -23740,7 +23740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8283;
show create table s;
Table Create Table
@@ -23748,7 +23748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8282;
show create table s;
Table Create Table
@@ -23756,7 +23756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8281;
show create table s;
Table Create Table
@@ -23764,7 +23764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8280;
show create table s;
Table Create Table
@@ -23772,7 +23772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8279;
show create table s;
Table Create Table
@@ -23780,7 +23780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8278;
show create table s;
Table Create Table
@@ -23788,7 +23788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8277;
show create table s;
Table Create Table
@@ -23796,7 +23796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8276;
show create table s;
Table Create Table
@@ -23804,7 +23804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8275;
show create table s;
Table Create Table
@@ -23812,7 +23812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8274;
show create table s;
Table Create Table
@@ -23820,7 +23820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8273;
show create table s;
Table Create Table
@@ -23828,7 +23828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8272;
show create table s;
Table Create Table
@@ -23836,7 +23836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8271;
show create table s;
Table Create Table
@@ -23844,7 +23844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8270;
show create table s;
Table Create Table
@@ -23852,7 +23852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8269;
show create table s;
Table Create Table
@@ -23860,7 +23860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8268;
show create table s;
Table Create Table
@@ -23868,7 +23868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8267;
show create table s;
Table Create Table
@@ -23876,7 +23876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8266;
show create table s;
Table Create Table
@@ -23884,7 +23884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8265;
show create table s;
Table Create Table
@@ -23892,7 +23892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8264;
show create table s;
Table Create Table
@@ -23900,7 +23900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8263;
show create table s;
Table Create Table
@@ -23908,7 +23908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8262;
show create table s;
Table Create Table
@@ -23916,7 +23916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8261;
show create table s;
Table Create Table
@@ -23924,7 +23924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8260;
show create table s;
Table Create Table
@@ -23932,7 +23932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8259;
show create table s;
Table Create Table
@@ -23940,7 +23940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8258;
show create table s;
Table Create Table
@@ -23948,7 +23948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8257;
show create table s;
Table Create Table
@@ -23956,7 +23956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8256;
show create table s;
Table Create Table
@@ -23964,7 +23964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8255;
show create table s;
Table Create Table
@@ -23972,7 +23972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8254;
show create table s;
Table Create Table
@@ -23980,7 +23980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8253;
show create table s;
Table Create Table
@@ -23988,7 +23988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8252;
show create table s;
Table Create Table
@@ -23996,7 +23996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8251;
show create table s;
Table Create Table
@@ -24004,7 +24004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8250;
show create table s;
Table Create Table
@@ -24012,7 +24012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8249;
show create table s;
Table Create Table
@@ -24020,7 +24020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8248;
show create table s;
Table Create Table
@@ -24028,7 +24028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8247;
show create table s;
Table Create Table
@@ -24036,7 +24036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8246;
show create table s;
Table Create Table
@@ -24044,7 +24044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8245;
show create table s;
Table Create Table
@@ -24052,7 +24052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8244;
show create table s;
Table Create Table
@@ -24060,7 +24060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8243;
show create table s;
Table Create Table
@@ -24068,7 +24068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8242;
show create table s;
Table Create Table
@@ -24076,7 +24076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8241;
show create table s;
Table Create Table
@@ -24084,7 +24084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8240;
show create table s;
Table Create Table
@@ -24092,7 +24092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8239;
show create table s;
Table Create Table
@@ -24100,7 +24100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8238;
show create table s;
Table Create Table
@@ -24108,7 +24108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8237;
show create table s;
Table Create Table
@@ -24116,7 +24116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8236;
show create table s;
Table Create Table
@@ -24124,7 +24124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8235;
show create table s;
Table Create Table
@@ -24132,7 +24132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8234;
show create table s;
Table Create Table
@@ -24140,7 +24140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8233;
show create table s;
Table Create Table
@@ -24148,7 +24148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8232;
show create table s;
Table Create Table
@@ -24156,7 +24156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8231;
show create table s;
Table Create Table
@@ -24164,7 +24164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8230;
show create table s;
Table Create Table
@@ -24172,7 +24172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8229;
show create table s;
Table Create Table
@@ -24180,7 +24180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8228;
show create table s;
Table Create Table
@@ -24188,7 +24188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8227;
show create table s;
Table Create Table
@@ -24196,7 +24196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8226;
show create table s;
Table Create Table
@@ -24204,7 +24204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8225;
show create table s;
Table Create Table
@@ -24212,7 +24212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8224;
show create table s;
Table Create Table
@@ -24220,7 +24220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8223;
show create table s;
Table Create Table
@@ -24228,7 +24228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8222;
show create table s;
Table Create Table
@@ -24236,7 +24236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8221;
show create table s;
Table Create Table
@@ -24244,7 +24244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8220;
show create table s;
Table Create Table
@@ -24252,7 +24252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8219;
show create table s;
Table Create Table
@@ -24260,7 +24260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8218;
show create table s;
Table Create Table
@@ -24268,7 +24268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8217;
show create table s;
Table Create Table
@@ -24276,7 +24276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8216;
show create table s;
Table Create Table
@@ -24284,7 +24284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8215;
show create table s;
Table Create Table
@@ -24292,7 +24292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8214;
show create table s;
Table Create Table
@@ -24300,7 +24300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8213;
show create table s;
Table Create Table
@@ -24308,7 +24308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8212;
show create table s;
Table Create Table
@@ -24316,7 +24316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8211;
show create table s;
Table Create Table
@@ -24324,7 +24324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8210;
show create table s;
Table Create Table
@@ -24332,7 +24332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8209;
show create table s;
Table Create Table
@@ -24340,7 +24340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8208;
show create table s;
Table Create Table
@@ -24348,7 +24348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8207;
show create table s;
Table Create Table
@@ -24356,7 +24356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8206;
show create table s;
Table Create Table
@@ -24364,7 +24364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8205;
show create table s;
Table Create Table
@@ -24372,7 +24372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8204;
show create table s;
Table Create Table
@@ -24380,7 +24380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8203;
show create table s;
Table Create Table
@@ -24388,7 +24388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8202;
show create table s;
Table Create Table
@@ -24396,7 +24396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8201;
show create table s;
Table Create Table
@@ -24404,7 +24404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8200;
show create table s;
Table Create Table
@@ -24412,7 +24412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8199;
show create table s;
Table Create Table
@@ -24420,7 +24420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8198;
show create table s;
Table Create Table
@@ -24428,7 +24428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8197;
show create table s;
Table Create Table
@@ -24436,7 +24436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8196;
show create table s;
Table Create Table
@@ -24444,7 +24444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8195;
show create table s;
Table Create Table
@@ -24452,7 +24452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8194;
show create table s;
Table Create Table
@@ -24460,7 +24460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8193;
show create table s;
Table Create Table
@@ -24468,7 +24468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8192;
show create table s;
Table Create Table
@@ -24476,7 +24476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8191;
show create table s;
Table Create Table
@@ -24484,7 +24484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8190;
show create table s;
Table Create Table
@@ -24492,7 +24492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8189;
show create table s;
Table Create Table
@@ -24500,7 +24500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8188;
show create table s;
Table Create Table
@@ -24508,7 +24508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8187;
show create table s;
Table Create Table
@@ -24516,7 +24516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8186;
show create table s;
Table Create Table
@@ -24524,7 +24524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8185;
show create table s;
Table Create Table
@@ -24532,7 +24532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8184;
show create table s;
Table Create Table
@@ -24540,7 +24540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8183;
show create table s;
Table Create Table
@@ -24548,7 +24548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8182;
show create table s;
Table Create Table
@@ -24556,7 +24556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8181;
show create table s;
Table Create Table
@@ -24564,7 +24564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8180;
show create table s;
Table Create Table
@@ -24572,7 +24572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8179;
show create table s;
Table Create Table
@@ -24580,7 +24580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8178;
show create table s;
Table Create Table
@@ -24588,7 +24588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8177;
show create table s;
Table Create Table
@@ -24596,7 +24596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8176;
show create table s;
Table Create Table
@@ -24604,7 +24604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8175;
show create table s;
Table Create Table
@@ -24612,7 +24612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8174;
show create table s;
Table Create Table
@@ -24620,7 +24620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8173;
show create table s;
Table Create Table
@@ -24628,7 +24628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8172;
show create table s;
Table Create Table
@@ -24636,7 +24636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8171;
show create table s;
Table Create Table
@@ -24644,7 +24644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8170;
show create table s;
Table Create Table
@@ -24652,7 +24652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8169;
show create table s;
Table Create Table
@@ -24660,7 +24660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8168;
show create table s;
Table Create Table
@@ -24668,7 +24668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8167;
show create table s;
Table Create Table
@@ -24676,7 +24676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8166;
show create table s;
Table Create Table
@@ -24684,7 +24684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8165;
show create table s;
Table Create Table
@@ -24692,7 +24692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8164;
show create table s;
Table Create Table
@@ -24700,7 +24700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8163;
show create table s;
Table Create Table
@@ -24708,7 +24708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8162;
show create table s;
Table Create Table
@@ -24716,7 +24716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8161;
show create table s;
Table Create Table
@@ -24724,7 +24724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8160;
show create table s;
Table Create Table
@@ -24732,7 +24732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8159;
show create table s;
Table Create Table
@@ -24740,7 +24740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8158;
show create table s;
Table Create Table
@@ -24748,7 +24748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8157;
show create table s;
Table Create Table
@@ -24756,7 +24756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8156;
show create table s;
Table Create Table
@@ -24764,7 +24764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8155;
show create table s;
Table Create Table
@@ -24772,7 +24772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8154;
show create table s;
Table Create Table
@@ -24780,7 +24780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8153;
show create table s;
Table Create Table
@@ -24788,7 +24788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8152;
show create table s;
Table Create Table
@@ -24796,7 +24796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8151;
show create table s;
Table Create Table
@@ -24804,7 +24804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8150;
show create table s;
Table Create Table
@@ -24812,7 +24812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8149;
show create table s;
Table Create Table
@@ -24820,7 +24820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8148;
show create table s;
Table Create Table
@@ -24828,7 +24828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8147;
show create table s;
Table Create Table
@@ -24836,7 +24836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8146;
show create table s;
Table Create Table
@@ -24844,7 +24844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8145;
show create table s;
Table Create Table
@@ -24852,7 +24852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8144;
show create table s;
Table Create Table
@@ -24860,7 +24860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8143;
show create table s;
Table Create Table
@@ -24868,7 +24868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8142;
show create table s;
Table Create Table
@@ -24876,7 +24876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8141;
show create table s;
Table Create Table
@@ -24884,7 +24884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8140;
show create table s;
Table Create Table
@@ -24892,7 +24892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8139;
show create table s;
Table Create Table
@@ -24900,7 +24900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8138;
show create table s;
Table Create Table
@@ -24908,7 +24908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8137;
show create table s;
Table Create Table
@@ -24916,7 +24916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8136;
show create table s;
Table Create Table
@@ -24924,7 +24924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8135;
show create table s;
Table Create Table
@@ -24932,7 +24932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8134;
show create table s;
Table Create Table
@@ -24940,7 +24940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8133;
show create table s;
Table Create Table
@@ -24948,7 +24948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8132;
show create table s;
Table Create Table
@@ -24956,7 +24956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8131;
show create table s;
Table Create Table
@@ -24964,7 +24964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8130;
show create table s;
Table Create Table
@@ -24972,7 +24972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8129;
show create table s;
Table Create Table
@@ -24980,7 +24980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8128;
show create table s;
Table Create Table
@@ -24988,7 +24988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8127;
show create table s;
Table Create Table
@@ -24996,7 +24996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8126;
show create table s;
Table Create Table
@@ -25004,7 +25004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8125;
show create table s;
Table Create Table
@@ -25012,7 +25012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8124;
show create table s;
Table Create Table
@@ -25020,7 +25020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8123;
show create table s;
Table Create Table
@@ -25028,7 +25028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8122;
show create table s;
Table Create Table
@@ -25036,7 +25036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8121;
show create table s;
Table Create Table
@@ -25044,7 +25044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8120;
show create table s;
Table Create Table
@@ -25052,7 +25052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8119;
show create table s;
Table Create Table
@@ -25060,7 +25060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8118;
show create table s;
Table Create Table
@@ -25068,7 +25068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8117;
show create table s;
Table Create Table
@@ -25076,7 +25076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8116;
show create table s;
Table Create Table
@@ -25084,7 +25084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8115;
show create table s;
Table Create Table
@@ -25092,7 +25092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8114;
show create table s;
Table Create Table
@@ -25100,7 +25100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8113;
show create table s;
Table Create Table
@@ -25108,7 +25108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8112;
show create table s;
Table Create Table
@@ -25116,7 +25116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8111;
show create table s;
Table Create Table
@@ -25124,7 +25124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8110;
show create table s;
Table Create Table
@@ -25132,7 +25132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8109;
show create table s;
Table Create Table
@@ -25140,7 +25140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8108;
show create table s;
Table Create Table
@@ -25148,7 +25148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8107;
show create table s;
Table Create Table
@@ -25156,7 +25156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8106;
show create table s;
Table Create Table
@@ -25164,7 +25164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8105;
show create table s;
Table Create Table
@@ -25172,7 +25172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8104;
show create table s;
Table Create Table
@@ -25180,7 +25180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8103;
show create table s;
Table Create Table
@@ -25188,7 +25188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8102;
show create table s;
Table Create Table
@@ -25196,7 +25196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8101;
show create table s;
Table Create Table
@@ -25204,7 +25204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8100;
show create table s;
Table Create Table
@@ -25212,7 +25212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8099;
show create table s;
Table Create Table
@@ -25220,7 +25220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8098;
show create table s;
Table Create Table
@@ -25228,7 +25228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8097;
show create table s;
Table Create Table
@@ -25236,7 +25236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8096;
show create table s;
Table Create Table
@@ -25244,7 +25244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8095;
show create table s;
Table Create Table
@@ -25252,7 +25252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8094;
show create table s;
Table Create Table
@@ -25260,7 +25260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8093;
show create table s;
Table Create Table
@@ -25268,7 +25268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8092;
show create table s;
Table Create Table
@@ -25276,7 +25276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8091;
show create table s;
Table Create Table
@@ -25284,7 +25284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8090;
show create table s;
Table Create Table
@@ -25292,7 +25292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8089;
show create table s;
Table Create Table
@@ -25300,7 +25300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8088;
show create table s;
Table Create Table
@@ -25308,7 +25308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8087;
show create table s;
Table Create Table
@@ -25316,7 +25316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8086;
show create table s;
Table Create Table
@@ -25324,7 +25324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8085;
show create table s;
Table Create Table
@@ -25332,7 +25332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8084;
show create table s;
Table Create Table
@@ -25340,7 +25340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8083;
show create table s;
Table Create Table
@@ -25348,7 +25348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8082;
show create table s;
Table Create Table
@@ -25356,7 +25356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8081;
show create table s;
Table Create Table
@@ -25364,7 +25364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8080;
show create table s;
Table Create Table
@@ -25372,7 +25372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8079;
show create table s;
Table Create Table
@@ -25380,7 +25380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8078;
show create table s;
Table Create Table
@@ -25388,7 +25388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8077;
show create table s;
Table Create Table
@@ -25396,7 +25396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8076;
show create table s;
Table Create Table
@@ -25404,7 +25404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8075;
show create table s;
Table Create Table
@@ -25412,7 +25412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8074;
show create table s;
Table Create Table
@@ -25420,7 +25420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8073;
show create table s;
Table Create Table
@@ -25428,7 +25428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8072;
show create table s;
Table Create Table
@@ -25436,7 +25436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8071;
show create table s;
Table Create Table
@@ -25444,7 +25444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8070;
show create table s;
Table Create Table
@@ -25452,7 +25452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8069;
show create table s;
Table Create Table
@@ -25460,7 +25460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8068;
show create table s;
Table Create Table
@@ -25468,7 +25468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8067;
show create table s;
Table Create Table
@@ -25476,7 +25476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8066;
show create table s;
Table Create Table
@@ -25484,7 +25484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8065;
show create table s;
Table Create Table
@@ -25492,7 +25492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8064;
show create table s;
Table Create Table
@@ -25500,7 +25500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8063;
show create table s;
Table Create Table
@@ -25508,7 +25508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8062;
show create table s;
Table Create Table
@@ -25516,7 +25516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8061;
show create table s;
Table Create Table
@@ -25524,7 +25524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8060;
show create table s;
Table Create Table
@@ -25532,7 +25532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8059;
show create table s;
Table Create Table
@@ -25540,7 +25540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8058;
show create table s;
Table Create Table
@@ -25548,7 +25548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8057;
show create table s;
Table Create Table
@@ -25556,7 +25556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8056;
show create table s;
Table Create Table
@@ -25564,7 +25564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8055;
show create table s;
Table Create Table
@@ -25572,7 +25572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8054;
show create table s;
Table Create Table
@@ -25580,7 +25580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8053;
show create table s;
Table Create Table
@@ -25588,7 +25588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8052;
show create table s;
Table Create Table
@@ -25596,7 +25596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8051;
show create table s;
Table Create Table
@@ -25604,7 +25604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8050;
show create table s;
Table Create Table
@@ -25612,7 +25612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8049;
show create table s;
Table Create Table
@@ -25620,7 +25620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8048;
show create table s;
Table Create Table
@@ -25628,7 +25628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8047;
show create table s;
Table Create Table
@@ -25636,7 +25636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8046;
show create table s;
Table Create Table
@@ -25644,7 +25644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8045;
show create table s;
Table Create Table
@@ -25652,7 +25652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8044;
show create table s;
Table Create Table
@@ -25660,7 +25660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8043;
show create table s;
Table Create Table
@@ -25668,7 +25668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8042;
show create table s;
Table Create Table
@@ -25676,7 +25676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8041;
show create table s;
Table Create Table
@@ -25684,7 +25684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8040;
show create table s;
Table Create Table
@@ -25692,7 +25692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8039;
show create table s;
Table Create Table
@@ -25700,7 +25700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8038;
show create table s;
Table Create Table
@@ -25708,7 +25708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8037;
show create table s;
Table Create Table
@@ -25716,7 +25716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8036;
show create table s;
Table Create Table
@@ -25724,7 +25724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8035;
show create table s;
Table Create Table
@@ -25732,7 +25732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8034;
show create table s;
Table Create Table
@@ -25740,7 +25740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8033;
show create table s;
Table Create Table
@@ -25748,7 +25748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8032;
show create table s;
Table Create Table
@@ -25756,7 +25756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8031;
show create table s;
Table Create Table
@@ -25764,7 +25764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8030;
show create table s;
Table Create Table
@@ -25772,7 +25772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8029;
show create table s;
Table Create Table
@@ -25780,7 +25780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8028;
show create table s;
Table Create Table
@@ -25788,7 +25788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8027;
show create table s;
Table Create Table
@@ -25796,7 +25796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8026;
show create table s;
Table Create Table
@@ -25804,7 +25804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8025;
show create table s;
Table Create Table
@@ -25812,7 +25812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8024;
show create table s;
Table Create Table
@@ -25820,7 +25820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8023;
show create table s;
Table Create Table
@@ -25828,7 +25828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8022;
show create table s;
Table Create Table
@@ -25836,7 +25836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8021;
show create table s;
Table Create Table
@@ -25844,7 +25844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8020;
show create table s;
Table Create Table
@@ -25852,7 +25852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8019;
show create table s;
Table Create Table
@@ -25860,7 +25860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8018;
show create table s;
Table Create Table
@@ -25868,7 +25868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8017;
show create table s;
Table Create Table
@@ -25876,7 +25876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8016;
show create table s;
Table Create Table
@@ -25884,7 +25884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8015;
show create table s;
Table Create Table
@@ -25892,7 +25892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8014;
show create table s;
Table Create Table
@@ -25900,7 +25900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8013;
show create table s;
Table Create Table
@@ -25908,7 +25908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8012;
show create table s;
Table Create Table
@@ -25916,7 +25916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8011;
show create table s;
Table Create Table
@@ -25924,7 +25924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8010;
show create table s;
Table Create Table
@@ -25932,7 +25932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8009;
show create table s;
Table Create Table
@@ -25940,7 +25940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8008;
show create table s;
Table Create Table
@@ -25948,7 +25948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8007;
show create table s;
Table Create Table
@@ -25956,7 +25956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8006;
show create table s;
Table Create Table
@@ -25964,7 +25964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8005;
show create table s;
Table Create Table
@@ -25972,7 +25972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8004;
show create table s;
Table Create Table
@@ -25980,7 +25980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8003;
show create table s;
Table Create Table
@@ -25988,7 +25988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8002;
show create table s;
Table Create Table
@@ -25996,7 +25996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8001;
show create table s;
Table Create Table
@@ -26004,7 +26004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8000;
show create table s;
Table Create Table
@@ -26012,7 +26012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7999;
show create table s;
Table Create Table
@@ -26020,7 +26020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7998;
show create table s;
Table Create Table
@@ -26028,7 +26028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7997;
show create table s;
Table Create Table
@@ -26036,7 +26036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7996;
show create table s;
Table Create Table
@@ -26044,7 +26044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7995;
show create table s;
Table Create Table
@@ -26052,7 +26052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7994;
show create table s;
Table Create Table
@@ -26060,7 +26060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7993;
show create table s;
Table Create Table
@@ -26068,7 +26068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7992;
show create table s;
Table Create Table
@@ -26076,7 +26076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7991;
show create table s;
Table Create Table
@@ -26084,7 +26084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7990;
show create table s;
Table Create Table
@@ -26092,7 +26092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7989;
show create table s;
Table Create Table
@@ -26100,7 +26100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7988;
show create table s;
Table Create Table
@@ -26108,7 +26108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7987;
show create table s;
Table Create Table
@@ -26116,7 +26116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7986;
show create table s;
Table Create Table
@@ -26124,7 +26124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7985;
show create table s;
Table Create Table
@@ -26132,7 +26132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7984;
show create table s;
Table Create Table
@@ -26140,7 +26140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7983;
show create table s;
Table Create Table
@@ -26148,7 +26148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7982;
show create table s;
Table Create Table
@@ -26156,7 +26156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7981;
show create table s;
Table Create Table
@@ -26164,7 +26164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7980;
show create table s;
Table Create Table
@@ -26172,7 +26172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7979;
show create table s;
Table Create Table
@@ -26180,7 +26180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7978;
show create table s;
Table Create Table
@@ -26188,7 +26188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7977;
show create table s;
Table Create Table
@@ -26196,7 +26196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7976;
show create table s;
Table Create Table
@@ -26204,7 +26204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7975;
show create table s;
Table Create Table
@@ -26212,7 +26212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7974;
show create table s;
Table Create Table
@@ -26220,7 +26220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7973;
show create table s;
Table Create Table
@@ -26228,7 +26228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7972;
show create table s;
Table Create Table
@@ -26236,7 +26236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7971;
show create table s;
Table Create Table
@@ -26244,7 +26244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7970;
show create table s;
Table Create Table
@@ -26252,7 +26252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7969;
show create table s;
Table Create Table
@@ -26260,7 +26260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7968;
show create table s;
Table Create Table
@@ -26268,7 +26268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7967;
show create table s;
Table Create Table
@@ -26276,7 +26276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7966;
show create table s;
Table Create Table
@@ -26284,7 +26284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7965;
show create table s;
Table Create Table
@@ -26292,7 +26292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7964;
show create table s;
Table Create Table
@@ -26300,7 +26300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7963;
show create table s;
Table Create Table
@@ -26308,7 +26308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7962;
show create table s;
Table Create Table
@@ -26316,7 +26316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7961;
show create table s;
Table Create Table
@@ -26324,7 +26324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7960;
show create table s;
Table Create Table
@@ -26332,7 +26332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7959;
show create table s;
Table Create Table
@@ -26340,7 +26340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7958;
show create table s;
Table Create Table
@@ -26348,7 +26348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7957;
show create table s;
Table Create Table
@@ -26356,7 +26356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7956;
show create table s;
Table Create Table
@@ -26364,7 +26364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7955;
show create table s;
Table Create Table
@@ -26372,7 +26372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7954;
show create table s;
Table Create Table
@@ -26380,7 +26380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7953;
show create table s;
Table Create Table
@@ -26388,7 +26388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7952;
show create table s;
Table Create Table
@@ -26396,7 +26396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7951;
show create table s;
Table Create Table
@@ -26404,7 +26404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7950;
show create table s;
Table Create Table
@@ -26412,7 +26412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7949;
show create table s;
Table Create Table
@@ -26420,7 +26420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7948;
show create table s;
Table Create Table
@@ -26428,7 +26428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7947;
show create table s;
Table Create Table
@@ -26436,7 +26436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7946;
show create table s;
Table Create Table
@@ -26444,7 +26444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7945;
show create table s;
Table Create Table
@@ -26452,7 +26452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7944;
show create table s;
Table Create Table
@@ -26460,7 +26460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7943;
show create table s;
Table Create Table
@@ -26468,7 +26468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7942;
show create table s;
Table Create Table
@@ -26476,7 +26476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7941;
show create table s;
Table Create Table
@@ -26484,7 +26484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7940;
show create table s;
Table Create Table
@@ -26492,7 +26492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7939;
show create table s;
Table Create Table
@@ -26500,7 +26500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7938;
show create table s;
Table Create Table
@@ -26508,7 +26508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7937;
show create table s;
Table Create Table
@@ -26516,7 +26516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7936;
show create table s;
Table Create Table
@@ -26524,7 +26524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7935;
show create table s;
Table Create Table
@@ -26532,7 +26532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7934;
show create table s;
Table Create Table
@@ -26540,7 +26540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7933;
show create table s;
Table Create Table
@@ -26548,7 +26548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7932;
show create table s;
Table Create Table
@@ -26556,7 +26556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7931;
show create table s;
Table Create Table
@@ -26564,7 +26564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7930;
show create table s;
Table Create Table
@@ -26572,7 +26572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7929;
show create table s;
Table Create Table
@@ -26580,7 +26580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7928;
show create table s;
Table Create Table
@@ -26588,7 +26588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7927;
show create table s;
Table Create Table
@@ -26596,7 +26596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7926;
show create table s;
Table Create Table
@@ -26604,7 +26604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7925;
show create table s;
Table Create Table
@@ -26612,7 +26612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7924;
show create table s;
Table Create Table
@@ -26620,7 +26620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7923;
show create table s;
Table Create Table
@@ -26628,7 +26628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7922;
show create table s;
Table Create Table
@@ -26636,7 +26636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7921;
show create table s;
Table Create Table
@@ -26644,7 +26644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7920;
show create table s;
Table Create Table
@@ -26652,7 +26652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7919;
show create table s;
Table Create Table
@@ -26660,7 +26660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7918;
show create table s;
Table Create Table
@@ -26668,7 +26668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7917;
show create table s;
Table Create Table
@@ -26676,7 +26676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7916;
show create table s;
Table Create Table
@@ -26684,7 +26684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7915;
show create table s;
Table Create Table
@@ -26692,7 +26692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7914;
show create table s;
Table Create Table
@@ -26700,7 +26700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7913;
show create table s;
Table Create Table
@@ -26708,7 +26708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7912;
show create table s;
Table Create Table
@@ -26716,7 +26716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7911;
show create table s;
Table Create Table
@@ -26724,7 +26724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7910;
show create table s;
Table Create Table
@@ -26732,7 +26732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7909;
show create table s;
Table Create Table
@@ -26740,7 +26740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7908;
show create table s;
Table Create Table
@@ -26748,7 +26748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7907;
show create table s;
Table Create Table
@@ -26756,7 +26756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7906;
show create table s;
Table Create Table
@@ -26764,7 +26764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7905;
show create table s;
Table Create Table
@@ -26772,7 +26772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7904;
show create table s;
Table Create Table
@@ -26780,7 +26780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7903;
show create table s;
Table Create Table
@@ -26788,7 +26788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7902;
show create table s;
Table Create Table
@@ -26796,7 +26796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7901;
show create table s;
Table Create Table
@@ -26804,7 +26804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7900;
show create table s;
Table Create Table
@@ -26812,7 +26812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7899;
show create table s;
Table Create Table
@@ -26820,7 +26820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7898;
show create table s;
Table Create Table
@@ -26828,7 +26828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7897;
show create table s;
Table Create Table
@@ -26836,7 +26836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7896;
show create table s;
Table Create Table
@@ -26844,7 +26844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7895;
show create table s;
Table Create Table
@@ -26852,7 +26852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7894;
show create table s;
Table Create Table
@@ -26860,7 +26860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7893;
show create table s;
Table Create Table
@@ -26868,7 +26868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7892;
show create table s;
Table Create Table
@@ -26876,7 +26876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7891;
show create table s;
Table Create Table
@@ -26884,7 +26884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7890;
show create table s;
Table Create Table
@@ -26892,7 +26892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7889;
show create table s;
Table Create Table
@@ -26900,7 +26900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7888;
show create table s;
Table Create Table
@@ -26908,7 +26908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7887;
show create table s;
Table Create Table
@@ -26916,7 +26916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7886;
show create table s;
Table Create Table
@@ -26924,7 +26924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7885;
show create table s;
Table Create Table
@@ -26932,7 +26932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7884;
show create table s;
Table Create Table
@@ -26940,7 +26940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7883;
show create table s;
Table Create Table
@@ -26948,7 +26948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7882;
show create table s;
Table Create Table
@@ -26956,7 +26956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7881;
show create table s;
Table Create Table
@@ -26964,7 +26964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7880;
show create table s;
Table Create Table
@@ -26972,7 +26972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7879;
show create table s;
Table Create Table
@@ -26980,7 +26980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7878;
show create table s;
Table Create Table
@@ -26988,7 +26988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7877;
show create table s;
Table Create Table
@@ -26996,7 +26996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7876;
show create table s;
Table Create Table
@@ -27004,7 +27004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7875;
show create table s;
Table Create Table
@@ -27012,7 +27012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7874;
show create table s;
Table Create Table
@@ -27020,7 +27020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7873;
show create table s;
Table Create Table
@@ -27028,7 +27028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7872;
show create table s;
Table Create Table
@@ -27036,7 +27036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7871;
show create table s;
Table Create Table
@@ -27044,7 +27044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7870;
show create table s;
Table Create Table
@@ -27052,7 +27052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7869;
show create table s;
Table Create Table
@@ -27060,7 +27060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7868;
show create table s;
Table Create Table
@@ -27068,7 +27068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7867;
show create table s;
Table Create Table
@@ -27076,7 +27076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7866;
show create table s;
Table Create Table
@@ -27084,7 +27084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7865;
show create table s;
Table Create Table
@@ -27092,7 +27092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7864;
show create table s;
Table Create Table
@@ -27100,7 +27100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7863;
show create table s;
Table Create Table
@@ -27108,7 +27108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7862;
show create table s;
Table Create Table
@@ -27116,7 +27116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7861;
show create table s;
Table Create Table
@@ -27124,7 +27124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7860;
show create table s;
Table Create Table
@@ -27132,7 +27132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7859;
show create table s;
Table Create Table
@@ -27140,7 +27140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7858;
show create table s;
Table Create Table
@@ -27148,7 +27148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7857;
show create table s;
Table Create Table
@@ -27156,7 +27156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7856;
show create table s;
Table Create Table
@@ -27164,7 +27164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7855;
show create table s;
Table Create Table
@@ -27172,7 +27172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7854;
show create table s;
Table Create Table
@@ -27180,7 +27180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7853;
show create table s;
Table Create Table
@@ -27188,7 +27188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7852;
show create table s;
Table Create Table
@@ -27196,7 +27196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7851;
show create table s;
Table Create Table
@@ -27204,7 +27204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7850;
show create table s;
Table Create Table
@@ -27212,7 +27212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7849;
show create table s;
Table Create Table
@@ -27220,7 +27220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7848;
show create table s;
Table Create Table
@@ -27228,7 +27228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7847;
show create table s;
Table Create Table
@@ -27236,7 +27236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7846;
show create table s;
Table Create Table
@@ -27244,7 +27244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7845;
show create table s;
Table Create Table
@@ -27252,7 +27252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7844;
show create table s;
Table Create Table
@@ -27260,7 +27260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7843;
show create table s;
Table Create Table
@@ -27268,7 +27268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7842;
show create table s;
Table Create Table
@@ -27276,7 +27276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7841;
show create table s;
Table Create Table
@@ -27284,7 +27284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7840;
show create table s;
Table Create Table
@@ -27292,7 +27292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7839;
show create table s;
Table Create Table
@@ -27300,7 +27300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7838;
show create table s;
Table Create Table
@@ -27308,7 +27308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7837;
show create table s;
Table Create Table
@@ -27316,7 +27316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7836;
show create table s;
Table Create Table
@@ -27324,7 +27324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7835;
show create table s;
Table Create Table
@@ -27332,7 +27332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7834;
show create table s;
Table Create Table
@@ -27340,7 +27340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7833;
show create table s;
Table Create Table
@@ -27348,7 +27348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7832;
show create table s;
Table Create Table
@@ -27356,7 +27356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7831;
show create table s;
Table Create Table
@@ -27364,7 +27364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7830;
show create table s;
Table Create Table
@@ -27372,7 +27372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7829;
show create table s;
Table Create Table
@@ -27380,7 +27380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7828;
show create table s;
Table Create Table
@@ -27388,7 +27388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7827;
show create table s;
Table Create Table
@@ -27396,7 +27396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7826;
show create table s;
Table Create Table
@@ -27404,7 +27404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7825;
show create table s;
Table Create Table
@@ -27412,7 +27412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7824;
show create table s;
Table Create Table
@@ -27420,7 +27420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7823;
show create table s;
Table Create Table
@@ -27428,7 +27428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7822;
show create table s;
Table Create Table
@@ -27436,7 +27436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7821;
show create table s;
Table Create Table
@@ -27444,7 +27444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7820;
show create table s;
Table Create Table
@@ -27452,7 +27452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7819;
show create table s;
Table Create Table
@@ -27460,7 +27460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7818;
show create table s;
Table Create Table
@@ -27468,7 +27468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7817;
show create table s;
Table Create Table
@@ -27476,7 +27476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7816;
show create table s;
Table Create Table
@@ -27484,7 +27484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7815;
show create table s;
Table Create Table
@@ -27492,7 +27492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7814;
show create table s;
Table Create Table
@@ -27500,7 +27500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7813;
show create table s;
Table Create Table
@@ -27508,7 +27508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7812;
show create table s;
Table Create Table
@@ -27516,7 +27516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7811;
show create table s;
Table Create Table
@@ -27524,7 +27524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7810;
show create table s;
Table Create Table
@@ -27532,7 +27532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7809;
show create table s;
Table Create Table
@@ -27540,7 +27540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7808;
show create table s;
Table Create Table
@@ -27548,7 +27548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7807;
show create table s;
Table Create Table
@@ -27556,7 +27556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7806;
show create table s;
Table Create Table
@@ -27564,7 +27564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7805;
show create table s;
Table Create Table
@@ -27572,7 +27572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7804;
show create table s;
Table Create Table
@@ -27580,7 +27580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7803;
show create table s;
Table Create Table
@@ -27588,7 +27588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7802;
show create table s;
Table Create Table
@@ -27596,7 +27596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7801;
show create table s;
Table Create Table
@@ -27604,7 +27604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7800;
show create table s;
Table Create Table
@@ -27612,7 +27612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7799;
show create table s;
Table Create Table
@@ -27620,7 +27620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7798;
show create table s;
Table Create Table
@@ -27628,7 +27628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7797;
show create table s;
Table Create Table
@@ -27636,7 +27636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7796;
show create table s;
Table Create Table
@@ -27644,7 +27644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7795;
show create table s;
Table Create Table
@@ -27652,7 +27652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7794;
show create table s;
Table Create Table
@@ -27660,7 +27660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7793;
show create table s;
Table Create Table
@@ -27668,7 +27668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7792;
show create table s;
Table Create Table
@@ -27676,7 +27676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7791;
show create table s;
Table Create Table
@@ -27684,7 +27684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7790;
show create table s;
Table Create Table
@@ -27692,7 +27692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7789;
show create table s;
Table Create Table
@@ -27700,7 +27700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7788;
show create table s;
Table Create Table
@@ -27708,7 +27708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7787;
show create table s;
Table Create Table
@@ -27716,7 +27716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7786;
show create table s;
Table Create Table
@@ -27724,7 +27724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7785;
show create table s;
Table Create Table
@@ -27732,7 +27732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7784;
show create table s;
Table Create Table
@@ -27740,7 +27740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7783;
show create table s;
Table Create Table
@@ -27748,7 +27748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7782;
show create table s;
Table Create Table
@@ -27756,7 +27756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7781;
show create table s;
Table Create Table
@@ -27764,7 +27764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7780;
show create table s;
Table Create Table
@@ -27772,7 +27772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7779;
show create table s;
Table Create Table
@@ -27780,7 +27780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7778;
show create table s;
Table Create Table
@@ -27788,7 +27788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7777;
show create table s;
Table Create Table
@@ -27796,7 +27796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7776;
show create table s;
Table Create Table
@@ -27804,7 +27804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7775;
show create table s;
Table Create Table
@@ -27812,7 +27812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7774;
show create table s;
Table Create Table
@@ -27820,7 +27820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7773;
show create table s;
Table Create Table
@@ -27828,7 +27828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7772;
show create table s;
Table Create Table
@@ -27836,7 +27836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7771;
show create table s;
Table Create Table
@@ -27844,7 +27844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7770;
show create table s;
Table Create Table
@@ -27852,7 +27852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7769;
show create table s;
Table Create Table
@@ -27860,7 +27860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7768;
show create table s;
Table Create Table
@@ -27868,7 +27868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7767;
show create table s;
Table Create Table
@@ -27876,7 +27876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7766;
show create table s;
Table Create Table
@@ -27884,7 +27884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7765;
show create table s;
Table Create Table
@@ -27892,7 +27892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7764;
show create table s;
Table Create Table
@@ -27900,7 +27900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7763;
show create table s;
Table Create Table
@@ -27908,7 +27908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7762;
show create table s;
Table Create Table
@@ -27916,7 +27916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7761;
show create table s;
Table Create Table
@@ -27924,7 +27924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7760;
show create table s;
Table Create Table
@@ -27932,7 +27932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7759;
show create table s;
Table Create Table
@@ -27940,7 +27940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7758;
show create table s;
Table Create Table
@@ -27948,7 +27948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7757;
show create table s;
Table Create Table
@@ -27956,7 +27956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7756;
show create table s;
Table Create Table
@@ -27964,7 +27964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7755;
show create table s;
Table Create Table
@@ -27972,7 +27972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7754;
show create table s;
Table Create Table
@@ -27980,7 +27980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7753;
show create table s;
Table Create Table
@@ -27988,7 +27988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7752;
show create table s;
Table Create Table
@@ -27996,7 +27996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7751;
show create table s;
Table Create Table
@@ -28004,7 +28004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7750;
show create table s;
Table Create Table
@@ -28012,7 +28012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7749;
show create table s;
Table Create Table
@@ -28020,7 +28020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7748;
show create table s;
Table Create Table
@@ -28028,7 +28028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7747;
show create table s;
Table Create Table
@@ -28036,7 +28036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7746;
show create table s;
Table Create Table
@@ -28044,7 +28044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7745;
show create table s;
Table Create Table
@@ -28052,7 +28052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7744;
show create table s;
Table Create Table
@@ -28060,7 +28060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7743;
show create table s;
Table Create Table
@@ -28068,7 +28068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7742;
show create table s;
Table Create Table
@@ -28076,7 +28076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7741;
show create table s;
Table Create Table
@@ -28084,7 +28084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7740;
show create table s;
Table Create Table
@@ -28092,7 +28092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7739;
show create table s;
Table Create Table
@@ -28100,7 +28100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7738;
show create table s;
Table Create Table
@@ -28108,7 +28108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7737;
show create table s;
Table Create Table
@@ -28116,7 +28116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7736;
show create table s;
Table Create Table
@@ -28124,7 +28124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7735;
show create table s;
Table Create Table
@@ -28132,7 +28132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7734;
show create table s;
Table Create Table
@@ -28140,7 +28140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7733;
show create table s;
Table Create Table
@@ -28148,7 +28148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7732;
show create table s;
Table Create Table
@@ -28156,7 +28156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7731;
show create table s;
Table Create Table
@@ -28164,7 +28164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7730;
show create table s;
Table Create Table
@@ -28172,7 +28172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7729;
show create table s;
Table Create Table
@@ -28180,7 +28180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7728;
show create table s;
Table Create Table
@@ -28188,7 +28188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7727;
show create table s;
Table Create Table
@@ -28196,7 +28196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7726;
show create table s;
Table Create Table
@@ -28204,7 +28204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7725;
show create table s;
Table Create Table
@@ -28212,7 +28212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7724;
show create table s;
Table Create Table
@@ -28220,7 +28220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7723;
show create table s;
Table Create Table
@@ -28228,7 +28228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7722;
show create table s;
Table Create Table
@@ -28236,7 +28236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7721;
show create table s;
Table Create Table
@@ -28244,7 +28244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7720;
show create table s;
Table Create Table
@@ -28252,7 +28252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7719;
show create table s;
Table Create Table
@@ -28260,7 +28260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7718;
show create table s;
Table Create Table
@@ -28268,7 +28268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7717;
show create table s;
Table Create Table
@@ -28276,7 +28276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7716;
show create table s;
Table Create Table
@@ -28284,7 +28284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7715;
show create table s;
Table Create Table
@@ -28292,7 +28292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7714;
show create table s;
Table Create Table
@@ -28300,7 +28300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7713;
show create table s;
Table Create Table
@@ -28308,7 +28308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7712;
show create table s;
Table Create Table
@@ -28316,7 +28316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7711;
show create table s;
Table Create Table
@@ -28324,7 +28324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7710;
show create table s;
Table Create Table
@@ -28332,7 +28332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7709;
show create table s;
Table Create Table
@@ -28340,7 +28340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7708;
show create table s;
Table Create Table
@@ -28348,7 +28348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7707;
show create table s;
Table Create Table
@@ -28356,7 +28356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7706;
show create table s;
Table Create Table
@@ -28364,7 +28364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7705;
show create table s;
Table Create Table
@@ -28372,7 +28372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7704;
show create table s;
Table Create Table
@@ -28380,7 +28380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7703;
show create table s;
Table Create Table
@@ -28388,7 +28388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7702;
show create table s;
Table Create Table
@@ -28396,7 +28396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7701;
show create table s;
Table Create Table
@@ -28404,7 +28404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7700;
show create table s;
Table Create Table
@@ -28412,7 +28412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7699;
show create table s;
Table Create Table
@@ -28420,7 +28420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7698;
show create table s;
Table Create Table
@@ -28428,7 +28428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7697;
show create table s;
Table Create Table
@@ -28436,7 +28436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7696;
show create table s;
Table Create Table
@@ -28444,7 +28444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7695;
show create table s;
Table Create Table
@@ -28452,7 +28452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7694;
show create table s;
Table Create Table
@@ -28460,7 +28460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7693;
show create table s;
Table Create Table
@@ -28468,7 +28468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7692;
show create table s;
Table Create Table
@@ -28476,7 +28476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7691;
show create table s;
Table Create Table
@@ -28484,7 +28484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7690;
show create table s;
Table Create Table
@@ -28492,7 +28492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7689;
show create table s;
Table Create Table
@@ -28500,7 +28500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7688;
show create table s;
Table Create Table
@@ -28508,7 +28508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7687;
show create table s;
Table Create Table
@@ -28516,7 +28516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7686;
show create table s;
Table Create Table
@@ -28524,7 +28524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7685;
show create table s;
Table Create Table
@@ -28532,7 +28532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7684;
show create table s;
Table Create Table
@@ -28540,7 +28540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7683;
show create table s;
Table Create Table
@@ -28548,7 +28548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7682;
show create table s;
Table Create Table
@@ -28556,7 +28556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7681;
show create table s;
Table Create Table
@@ -28564,7 +28564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7680;
show create table s;
Table Create Table
@@ -28572,7 +28572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7679;
show create table s;
Table Create Table
@@ -28580,7 +28580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7678;
show create table s;
Table Create Table
@@ -28588,7 +28588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7677;
show create table s;
Table Create Table
@@ -28596,7 +28596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7676;
show create table s;
Table Create Table
@@ -28604,7 +28604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7675;
show create table s;
Table Create Table
@@ -28612,7 +28612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7674;
show create table s;
Table Create Table
@@ -28620,7 +28620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7673;
show create table s;
Table Create Table
@@ -28628,7 +28628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7672;
show create table s;
Table Create Table
@@ -28636,7 +28636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7671;
show create table s;
Table Create Table
@@ -28644,7 +28644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7670;
show create table s;
Table Create Table
@@ -28652,7 +28652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7669;
show create table s;
Table Create Table
@@ -28660,7 +28660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7668;
show create table s;
Table Create Table
@@ -28668,7 +28668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7667;
show create table s;
Table Create Table
@@ -28676,7 +28676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7666;
show create table s;
Table Create Table
@@ -28684,7 +28684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7665;
show create table s;
Table Create Table
@@ -28692,7 +28692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7664;
show create table s;
Table Create Table
@@ -28700,7 +28700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7663;
show create table s;
Table Create Table
@@ -28708,7 +28708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7662;
show create table s;
Table Create Table
@@ -28716,7 +28716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7661;
show create table s;
Table Create Table
@@ -28724,7 +28724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7660;
show create table s;
Table Create Table
@@ -28732,7 +28732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7659;
show create table s;
Table Create Table
@@ -28740,7 +28740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7658;
show create table s;
Table Create Table
@@ -28748,7 +28748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7657;
show create table s;
Table Create Table
@@ -28756,7 +28756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7656;
show create table s;
Table Create Table
@@ -28764,7 +28764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7655;
show create table s;
Table Create Table
@@ -28772,7 +28772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7654;
show create table s;
Table Create Table
@@ -28780,7 +28780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7653;
show create table s;
Table Create Table
@@ -28788,7 +28788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7652;
show create table s;
Table Create Table
@@ -28796,7 +28796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7651;
show create table s;
Table Create Table
@@ -28804,7 +28804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7650;
show create table s;
Table Create Table
@@ -28812,7 +28812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7649;
show create table s;
Table Create Table
@@ -28820,7 +28820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7648;
show create table s;
Table Create Table
@@ -28828,7 +28828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7647;
show create table s;
Table Create Table
@@ -28836,7 +28836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7646;
show create table s;
Table Create Table
@@ -28844,7 +28844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7645;
show create table s;
Table Create Table
@@ -28852,7 +28852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7644;
show create table s;
Table Create Table
@@ -28860,7 +28860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7643;
show create table s;
Table Create Table
@@ -28868,7 +28868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7642;
show create table s;
Table Create Table
@@ -28876,7 +28876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7641;
show create table s;
Table Create Table
@@ -28884,7 +28884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7640;
show create table s;
Table Create Table
@@ -28892,7 +28892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7639;
show create table s;
Table Create Table
@@ -28900,7 +28900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7638;
show create table s;
Table Create Table
@@ -28908,7 +28908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7637;
show create table s;
Table Create Table
@@ -28916,7 +28916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7636;
show create table s;
Table Create Table
@@ -28924,7 +28924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7635;
show create table s;
Table Create Table
@@ -28932,7 +28932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7634;
show create table s;
Table Create Table
@@ -28940,7 +28940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7633;
show create table s;
Table Create Table
@@ -28948,7 +28948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7632;
show create table s;
Table Create Table
@@ -28956,7 +28956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7631;
show create table s;
Table Create Table
@@ -28964,7 +28964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7630;
show create table s;
Table Create Table
@@ -28972,7 +28972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7629;
show create table s;
Table Create Table
@@ -28980,7 +28980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7628;
show create table s;
Table Create Table
@@ -28988,7 +28988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7627;
show create table s;
Table Create Table
@@ -28996,7 +28996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7626;
show create table s;
Table Create Table
@@ -29004,7 +29004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7625;
show create table s;
Table Create Table
@@ -29012,7 +29012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7624;
show create table s;
Table Create Table
@@ -29020,7 +29020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7623;
show create table s;
Table Create Table
@@ -29028,7 +29028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7622;
show create table s;
Table Create Table
@@ -29036,7 +29036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7621;
show create table s;
Table Create Table
@@ -29044,7 +29044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7620;
show create table s;
Table Create Table
@@ -29052,7 +29052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7619;
show create table s;
Table Create Table
@@ -29060,7 +29060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7618;
show create table s;
Table Create Table
@@ -29068,7 +29068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7617;
show create table s;
Table Create Table
@@ -29076,7 +29076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7616;
show create table s;
Table Create Table
@@ -29084,7 +29084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7615;
show create table s;
Table Create Table
@@ -29092,7 +29092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7614;
show create table s;
Table Create Table
@@ -29100,7 +29100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7613;
show create table s;
Table Create Table
@@ -29108,7 +29108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7612;
show create table s;
Table Create Table
@@ -29116,7 +29116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7611;
show create table s;
Table Create Table
@@ -29124,7 +29124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7610;
show create table s;
Table Create Table
@@ -29132,7 +29132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7609;
show create table s;
Table Create Table
@@ -29140,7 +29140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7608;
show create table s;
Table Create Table
@@ -29148,7 +29148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7607;
show create table s;
Table Create Table
@@ -29156,7 +29156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7606;
show create table s;
Table Create Table
@@ -29164,7 +29164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7605;
show create table s;
Table Create Table
@@ -29172,7 +29172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7604;
show create table s;
Table Create Table
@@ -29180,7 +29180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7603;
show create table s;
Table Create Table
@@ -29188,7 +29188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7602;
show create table s;
Table Create Table
@@ -29196,7 +29196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7601;
show create table s;
Table Create Table
@@ -29204,7 +29204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7600;
show create table s;
Table Create Table
@@ -29212,7 +29212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7599;
show create table s;
Table Create Table
@@ -29220,7 +29220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7598;
show create table s;
Table Create Table
@@ -29228,7 +29228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7597;
show create table s;
Table Create Table
@@ -29236,7 +29236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7596;
show create table s;
Table Create Table
@@ -29244,7 +29244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7595;
show create table s;
Table Create Table
@@ -29252,7 +29252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7594;
show create table s;
Table Create Table
@@ -29260,7 +29260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7593;
show create table s;
Table Create Table
@@ -29268,7 +29268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7592;
show create table s;
Table Create Table
@@ -29276,7 +29276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7591;
show create table s;
Table Create Table
@@ -29284,7 +29284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7590;
show create table s;
Table Create Table
@@ -29292,7 +29292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7589;
show create table s;
Table Create Table
@@ -29300,7 +29300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7588;
show create table s;
Table Create Table
@@ -29308,7 +29308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7587;
show create table s;
Table Create Table
@@ -29316,7 +29316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7586;
show create table s;
Table Create Table
@@ -29324,7 +29324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7585;
show create table s;
Table Create Table
@@ -29332,7 +29332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7584;
show create table s;
Table Create Table
@@ -29340,7 +29340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7583;
show create table s;
Table Create Table
@@ -29348,7 +29348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7582;
show create table s;
Table Create Table
@@ -29356,7 +29356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7581;
show create table s;
Table Create Table
@@ -29364,7 +29364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7580;
show create table s;
Table Create Table
@@ -29372,7 +29372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7579;
show create table s;
Table Create Table
@@ -29380,7 +29380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7578;
show create table s;
Table Create Table
@@ -29388,7 +29388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7577;
show create table s;
Table Create Table
@@ -29396,7 +29396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7576;
show create table s;
Table Create Table
@@ -29404,7 +29404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7575;
show create table s;
Table Create Table
@@ -29412,7 +29412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7574;
show create table s;
Table Create Table
@@ -29420,7 +29420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7573;
show create table s;
Table Create Table
@@ -29428,7 +29428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7572;
show create table s;
Table Create Table
@@ -29436,7 +29436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7571;
show create table s;
Table Create Table
@@ -29444,7 +29444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7570;
show create table s;
Table Create Table
@@ -29452,7 +29452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7569;
show create table s;
Table Create Table
@@ -29460,7 +29460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7568;
show create table s;
Table Create Table
@@ -29468,7 +29468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7567;
show create table s;
Table Create Table
@@ -29476,7 +29476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7566;
show create table s;
Table Create Table
@@ -29484,7 +29484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7565;
show create table s;
Table Create Table
@@ -29492,7 +29492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7564;
show create table s;
Table Create Table
@@ -29500,7 +29500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7563;
show create table s;
Table Create Table
@@ -29508,7 +29508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7562;
show create table s;
Table Create Table
@@ -29516,7 +29516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7561;
show create table s;
Table Create Table
@@ -29524,7 +29524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7560;
show create table s;
Table Create Table
@@ -29532,7 +29532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7559;
show create table s;
Table Create Table
@@ -29540,7 +29540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7558;
show create table s;
Table Create Table
@@ -29548,7 +29548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7557;
show create table s;
Table Create Table
@@ -29556,7 +29556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7556;
show create table s;
Table Create Table
@@ -29564,7 +29564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7555;
show create table s;
Table Create Table
@@ -29572,7 +29572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7554;
show create table s;
Table Create Table
@@ -29580,7 +29580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7553;
show create table s;
Table Create Table
@@ -29588,7 +29588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7552;
show create table s;
Table Create Table
@@ -29596,7 +29596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7551;
show create table s;
Table Create Table
@@ -29604,7 +29604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7550;
show create table s;
Table Create Table
@@ -29612,7 +29612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7549;
show create table s;
Table Create Table
@@ -29620,7 +29620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7548;
show create table s;
Table Create Table
@@ -29628,7 +29628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7547;
show create table s;
Table Create Table
@@ -29636,7 +29636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7546;
show create table s;
Table Create Table
@@ -29644,7 +29644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7545;
show create table s;
Table Create Table
@@ -29652,7 +29652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7544;
show create table s;
Table Create Table
@@ -29660,7 +29660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7543;
show create table s;
Table Create Table
@@ -29668,7 +29668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7542;
show create table s;
Table Create Table
@@ -29676,7 +29676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7541;
show create table s;
Table Create Table
@@ -29684,7 +29684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7540;
show create table s;
Table Create Table
@@ -29692,7 +29692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7539;
show create table s;
Table Create Table
@@ -29700,7 +29700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7538;
show create table s;
Table Create Table
@@ -29708,7 +29708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7537;
show create table s;
Table Create Table
@@ -29716,7 +29716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7536;
show create table s;
Table Create Table
@@ -29724,7 +29724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7535;
show create table s;
Table Create Table
@@ -29732,7 +29732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7534;
show create table s;
Table Create Table
@@ -29740,7 +29740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7533;
show create table s;
Table Create Table
@@ -29748,7 +29748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7532;
show create table s;
Table Create Table
@@ -29756,7 +29756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7531;
show create table s;
Table Create Table
@@ -29764,7 +29764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7530;
show create table s;
Table Create Table
@@ -29772,7 +29772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7529;
show create table s;
Table Create Table
@@ -29780,7 +29780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7528;
show create table s;
Table Create Table
@@ -29788,7 +29788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7527;
show create table s;
Table Create Table
@@ -29796,7 +29796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7526;
show create table s;
Table Create Table
@@ -29804,7 +29804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7525;
show create table s;
Table Create Table
@@ -29812,7 +29812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7524;
show create table s;
Table Create Table
@@ -29820,7 +29820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7523;
show create table s;
Table Create Table
@@ -29828,7 +29828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7522;
show create table s;
Table Create Table
@@ -29836,7 +29836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7521;
show create table s;
Table Create Table
@@ -29844,7 +29844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7520;
show create table s;
Table Create Table
@@ -29852,7 +29852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7519;
show create table s;
Table Create Table
@@ -29860,7 +29860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7518;
show create table s;
Table Create Table
@@ -29868,7 +29868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7517;
show create table s;
Table Create Table
@@ -29876,7 +29876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7516;
show create table s;
Table Create Table
@@ -29884,7 +29884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7515;
show create table s;
Table Create Table
@@ -29892,7 +29892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7514;
show create table s;
Table Create Table
@@ -29900,7 +29900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7513;
show create table s;
Table Create Table
@@ -29908,7 +29908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7512;
show create table s;
Table Create Table
@@ -29916,7 +29916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7511;
show create table s;
Table Create Table
@@ -29924,7 +29924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7510;
show create table s;
Table Create Table
@@ -29932,7 +29932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7509;
show create table s;
Table Create Table
@@ -29940,7 +29940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7508;
show create table s;
Table Create Table
@@ -29948,7 +29948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7507;
show create table s;
Table Create Table
@@ -29956,7 +29956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7506;
show create table s;
Table Create Table
@@ -29964,7 +29964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7505;
show create table s;
Table Create Table
@@ -29972,7 +29972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7504;
show create table s;
Table Create Table
@@ -29980,7 +29980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7503;
show create table s;
Table Create Table
@@ -29988,7 +29988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7502;
show create table s;
Table Create Table
@@ -29996,7 +29996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7501;
show create table s;
Table Create Table
@@ -30004,7 +30004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7500;
show create table s;
Table Create Table
@@ -30012,7 +30012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7499;
show create table s;
Table Create Table
@@ -30020,7 +30020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7498;
show create table s;
Table Create Table
@@ -30028,7 +30028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7497;
show create table s;
Table Create Table
@@ -30036,7 +30036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7496;
show create table s;
Table Create Table
@@ -30044,7 +30044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7495;
show create table s;
Table Create Table
@@ -30052,7 +30052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7494;
show create table s;
Table Create Table
@@ -30060,7 +30060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7493;
show create table s;
Table Create Table
@@ -30068,7 +30068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7492;
show create table s;
Table Create Table
@@ -30076,7 +30076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7491;
show create table s;
Table Create Table
@@ -30084,7 +30084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7490;
show create table s;
Table Create Table
@@ -30092,7 +30092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7489;
show create table s;
Table Create Table
@@ -30100,7 +30100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7488;
show create table s;
Table Create Table
@@ -30108,7 +30108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7487;
show create table s;
Table Create Table
@@ -30116,7 +30116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7486;
show create table s;
Table Create Table
@@ -30124,7 +30124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7485;
show create table s;
Table Create Table
@@ -30132,7 +30132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7484;
show create table s;
Table Create Table
@@ -30140,7 +30140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7483;
show create table s;
Table Create Table
@@ -30148,7 +30148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7482;
show create table s;
Table Create Table
@@ -30156,7 +30156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7481;
show create table s;
Table Create Table
@@ -30164,7 +30164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7480;
show create table s;
Table Create Table
@@ -30172,7 +30172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7479;
show create table s;
Table Create Table
@@ -30180,7 +30180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7478;
show create table s;
Table Create Table
@@ -30188,7 +30188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7477;
show create table s;
Table Create Table
@@ -30196,7 +30196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7476;
show create table s;
Table Create Table
@@ -30204,7 +30204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7475;
show create table s;
Table Create Table
@@ -30212,7 +30212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7474;
show create table s;
Table Create Table
@@ -30220,7 +30220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7473;
show create table s;
Table Create Table
@@ -30228,7 +30228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7472;
show create table s;
Table Create Table
@@ -30236,7 +30236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7471;
show create table s;
Table Create Table
@@ -30244,7 +30244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7470;
show create table s;
Table Create Table
@@ -30252,7 +30252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7469;
show create table s;
Table Create Table
@@ -30260,7 +30260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7468;
show create table s;
Table Create Table
@@ -30268,7 +30268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7467;
show create table s;
Table Create Table
@@ -30276,7 +30276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7466;
show create table s;
Table Create Table
@@ -30284,7 +30284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7465;
show create table s;
Table Create Table
@@ -30292,7 +30292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7464;
show create table s;
Table Create Table
@@ -30300,7 +30300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7463;
show create table s;
Table Create Table
@@ -30308,7 +30308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7462;
show create table s;
Table Create Table
@@ -30316,7 +30316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7461;
show create table s;
Table Create Table
@@ -30324,7 +30324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7460;
show create table s;
Table Create Table
@@ -30332,7 +30332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7459;
show create table s;
Table Create Table
@@ -30340,7 +30340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7458;
show create table s;
Table Create Table
@@ -30348,7 +30348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7457;
show create table s;
Table Create Table
@@ -30356,7 +30356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7456;
show create table s;
Table Create Table
@@ -30364,7 +30364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7455;
show create table s;
Table Create Table
@@ -30372,7 +30372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7454;
show create table s;
Table Create Table
@@ -30380,7 +30380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7453;
show create table s;
Table Create Table
@@ -30388,7 +30388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7452;
show create table s;
Table Create Table
@@ -30396,7 +30396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7451;
show create table s;
Table Create Table
@@ -30404,7 +30404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7450;
show create table s;
Table Create Table
@@ -30412,7 +30412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7449;
show create table s;
Table Create Table
@@ -30420,7 +30420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7448;
show create table s;
Table Create Table
@@ -30428,7 +30428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7447;
show create table s;
Table Create Table
@@ -30436,7 +30436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7446;
show create table s;
Table Create Table
@@ -30444,7 +30444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7445;
show create table s;
Table Create Table
@@ -30452,7 +30452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7444;
show create table s;
Table Create Table
@@ -30460,7 +30460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7443;
show create table s;
Table Create Table
@@ -30468,7 +30468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7442;
show create table s;
Table Create Table
@@ -30476,7 +30476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7441;
show create table s;
Table Create Table
@@ -30484,7 +30484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7440;
show create table s;
Table Create Table
@@ -30492,7 +30492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7439;
show create table s;
Table Create Table
@@ -30500,7 +30500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7438;
show create table s;
Table Create Table
@@ -30508,7 +30508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7437;
show create table s;
Table Create Table
@@ -30516,7 +30516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7436;
show create table s;
Table Create Table
@@ -30524,7 +30524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7435;
show create table s;
Table Create Table
@@ -30532,7 +30532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7434;
show create table s;
Table Create Table
@@ -30540,7 +30540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7433;
show create table s;
Table Create Table
@@ -30548,7 +30548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7432;
show create table s;
Table Create Table
@@ -30556,7 +30556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7431;
show create table s;
Table Create Table
@@ -30564,7 +30564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7430;
show create table s;
Table Create Table
@@ -30572,7 +30572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7429;
show create table s;
Table Create Table
@@ -30580,7 +30580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7428;
show create table s;
Table Create Table
@@ -30588,7 +30588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7427;
show create table s;
Table Create Table
@@ -30596,7 +30596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7426;
show create table s;
Table Create Table
@@ -30604,7 +30604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7425;
show create table s;
Table Create Table
@@ -30612,7 +30612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7424;
show create table s;
Table Create Table
@@ -30620,7 +30620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7423;
show create table s;
Table Create Table
@@ -30628,7 +30628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7422;
show create table s;
Table Create Table
@@ -30636,7 +30636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7421;
show create table s;
Table Create Table
@@ -30644,7 +30644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7420;
show create table s;
Table Create Table
@@ -30652,7 +30652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7419;
show create table s;
Table Create Table
@@ -30660,7 +30660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7418;
show create table s;
Table Create Table
@@ -30668,7 +30668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7417;
show create table s;
Table Create Table
@@ -30676,7 +30676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7416;
show create table s;
Table Create Table
@@ -30684,7 +30684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7415;
show create table s;
Table Create Table
@@ -30692,7 +30692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7414;
show create table s;
Table Create Table
@@ -30700,7 +30700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7413;
show create table s;
Table Create Table
@@ -30708,7 +30708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7412;
show create table s;
Table Create Table
@@ -30716,7 +30716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7411;
show create table s;
Table Create Table
@@ -30724,7 +30724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7410;
show create table s;
Table Create Table
@@ -30732,7 +30732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7409;
show create table s;
Table Create Table
@@ -30740,7 +30740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7408;
show create table s;
Table Create Table
@@ -30748,7 +30748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7407;
show create table s;
Table Create Table
@@ -30756,7 +30756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7406;
show create table s;
Table Create Table
@@ -30764,7 +30764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7405;
show create table s;
Table Create Table
@@ -30772,7 +30772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7404;
show create table s;
Table Create Table
@@ -30780,7 +30780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7403;
show create table s;
Table Create Table
@@ -30788,7 +30788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7402;
show create table s;
Table Create Table
@@ -30796,7 +30796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7401;
show create table s;
Table Create Table
@@ -30804,7 +30804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7400;
show create table s;
Table Create Table
@@ -30812,7 +30812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7399;
show create table s;
Table Create Table
@@ -30820,7 +30820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7398;
show create table s;
Table Create Table
@@ -30828,7 +30828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7397;
show create table s;
Table Create Table
@@ -30836,7 +30836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7396;
show create table s;
Table Create Table
@@ -30844,7 +30844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7395;
show create table s;
Table Create Table
@@ -30852,7 +30852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7394;
show create table s;
Table Create Table
@@ -30860,7 +30860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7393;
show create table s;
Table Create Table
@@ -30868,7 +30868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7392;
show create table s;
Table Create Table
@@ -30876,7 +30876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7391;
show create table s;
Table Create Table
@@ -30884,7 +30884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7390;
show create table s;
Table Create Table
@@ -30892,7 +30892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7389;
show create table s;
Table Create Table
@@ -30900,7 +30900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7388;
show create table s;
Table Create Table
@@ -30908,7 +30908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7387;
show create table s;
Table Create Table
@@ -30916,7 +30916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7386;
show create table s;
Table Create Table
@@ -30924,7 +30924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7385;
show create table s;
Table Create Table
@@ -30932,7 +30932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7384;
show create table s;
Table Create Table
@@ -30940,7 +30940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7383;
show create table s;
Table Create Table
@@ -30948,7 +30948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7382;
show create table s;
Table Create Table
@@ -30956,7 +30956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7381;
show create table s;
Table Create Table
@@ -30964,7 +30964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7380;
show create table s;
Table Create Table
@@ -30972,7 +30972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7379;
show create table s;
Table Create Table
@@ -30980,7 +30980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7378;
show create table s;
Table Create Table
@@ -30988,7 +30988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7377;
show create table s;
Table Create Table
@@ -30996,7 +30996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7376;
show create table s;
Table Create Table
@@ -31004,7 +31004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7375;
show create table s;
Table Create Table
@@ -31012,7 +31012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7374;
show create table s;
Table Create Table
@@ -31020,7 +31020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7373;
show create table s;
Table Create Table
@@ -31028,7 +31028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7372;
show create table s;
Table Create Table
@@ -31036,7 +31036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7371;
show create table s;
Table Create Table
@@ -31044,7 +31044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7370;
show create table s;
Table Create Table
@@ -31052,7 +31052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7369;
show create table s;
Table Create Table
@@ -31060,7 +31060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7368;
show create table s;
Table Create Table
@@ -31068,7 +31068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7367;
show create table s;
Table Create Table
@@ -31076,7 +31076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7366;
show create table s;
Table Create Table
@@ -31084,7 +31084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7365;
show create table s;
Table Create Table
@@ -31092,7 +31092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7364;
show create table s;
Table Create Table
@@ -31100,7 +31100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7363;
show create table s;
Table Create Table
@@ -31108,7 +31108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7362;
show create table s;
Table Create Table
@@ -31116,7 +31116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7361;
show create table s;
Table Create Table
@@ -31124,7 +31124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7360;
show create table s;
Table Create Table
@@ -31132,7 +31132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7359;
show create table s;
Table Create Table
@@ -31140,7 +31140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7358;
show create table s;
Table Create Table
@@ -31148,7 +31148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7357;
show create table s;
Table Create Table
@@ -31156,7 +31156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7356;
show create table s;
Table Create Table
@@ -31164,7 +31164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7355;
show create table s;
Table Create Table
@@ -31172,7 +31172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7354;
show create table s;
Table Create Table
@@ -31180,7 +31180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7353;
show create table s;
Table Create Table
@@ -31188,7 +31188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7352;
show create table s;
Table Create Table
@@ -31196,7 +31196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7351;
show create table s;
Table Create Table
@@ -31204,7 +31204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7350;
show create table s;
Table Create Table
@@ -31212,7 +31212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7349;
show create table s;
Table Create Table
@@ -31220,7 +31220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7348;
show create table s;
Table Create Table
@@ -31228,7 +31228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7347;
show create table s;
Table Create Table
@@ -31236,7 +31236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7346;
show create table s;
Table Create Table
@@ -31244,7 +31244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7345;
show create table s;
Table Create Table
@@ -31252,7 +31252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7344;
show create table s;
Table Create Table
@@ -31260,7 +31260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7343;
show create table s;
Table Create Table
@@ -31268,7 +31268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7342;
show create table s;
Table Create Table
@@ -31276,7 +31276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7341;
show create table s;
Table Create Table
@@ -31284,7 +31284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7340;
show create table s;
Table Create Table
@@ -31292,7 +31292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7339;
show create table s;
Table Create Table
@@ -31300,7 +31300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7338;
show create table s;
Table Create Table
@@ -31308,7 +31308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7337;
show create table s;
Table Create Table
@@ -31316,7 +31316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7336;
show create table s;
Table Create Table
@@ -31324,7 +31324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7335;
show create table s;
Table Create Table
@@ -31332,7 +31332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7334;
show create table s;
Table Create Table
@@ -31340,7 +31340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7333;
show create table s;
Table Create Table
@@ -31348,7 +31348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7332;
show create table s;
Table Create Table
@@ -31356,7 +31356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7331;
show create table s;
Table Create Table
@@ -31364,7 +31364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7330;
show create table s;
Table Create Table
@@ -31372,7 +31372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7329;
show create table s;
Table Create Table
@@ -31380,7 +31380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7328;
show create table s;
Table Create Table
@@ -31388,7 +31388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7327;
show create table s;
Table Create Table
@@ -31396,7 +31396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7326;
show create table s;
Table Create Table
@@ -31404,7 +31404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7325;
show create table s;
Table Create Table
@@ -31412,7 +31412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7324;
show create table s;
Table Create Table
@@ -31420,7 +31420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7323;
show create table s;
Table Create Table
@@ -31428,7 +31428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7322;
show create table s;
Table Create Table
@@ -31436,7 +31436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7321;
show create table s;
Table Create Table
@@ -31444,7 +31444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7320;
show create table s;
Table Create Table
@@ -31452,7 +31452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7319;
show create table s;
Table Create Table
@@ -31460,7 +31460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7318;
show create table s;
Table Create Table
@@ -31468,7 +31468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7317;
show create table s;
Table Create Table
@@ -31476,7 +31476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7316;
show create table s;
Table Create Table
@@ -31484,7 +31484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7315;
show create table s;
Table Create Table
@@ -31492,7 +31492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7314;
show create table s;
Table Create Table
@@ -31500,7 +31500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7313;
show create table s;
Table Create Table
@@ -31508,7 +31508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7312;
show create table s;
Table Create Table
@@ -31516,7 +31516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7311;
show create table s;
Table Create Table
@@ -31524,7 +31524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7310;
show create table s;
Table Create Table
@@ -31532,7 +31532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7309;
show create table s;
Table Create Table
@@ -31540,7 +31540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7308;
show create table s;
Table Create Table
@@ -31548,7 +31548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7307;
show create table s;
Table Create Table
@@ -31556,7 +31556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7306;
show create table s;
Table Create Table
@@ -31564,7 +31564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7305;
show create table s;
Table Create Table
@@ -31572,7 +31572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7304;
show create table s;
Table Create Table
@@ -31580,7 +31580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7303;
show create table s;
Table Create Table
@@ -31588,7 +31588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7302;
show create table s;
Table Create Table
@@ -31596,7 +31596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7301;
show create table s;
Table Create Table
@@ -31604,7 +31604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7300;
show create table s;
Table Create Table
@@ -31612,7 +31612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7299;
show create table s;
Table Create Table
@@ -31620,7 +31620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7298;
show create table s;
Table Create Table
@@ -31628,7 +31628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7297;
show create table s;
Table Create Table
@@ -31636,7 +31636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7296;
show create table s;
Table Create Table
@@ -31644,7 +31644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7295;
show create table s;
Table Create Table
@@ -31652,7 +31652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7294;
show create table s;
Table Create Table
@@ -31660,7 +31660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7293;
show create table s;
Table Create Table
@@ -31668,7 +31668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7292;
show create table s;
Table Create Table
@@ -31676,7 +31676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7291;
show create table s;
Table Create Table
@@ -31684,7 +31684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7290;
show create table s;
Table Create Table
@@ -31692,7 +31692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7289;
show create table s;
Table Create Table
@@ -31700,7 +31700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7288;
show create table s;
Table Create Table
@@ -31708,7 +31708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7287;
show create table s;
Table Create Table
@@ -31716,7 +31716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7286;
show create table s;
Table Create Table
@@ -31724,7 +31724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7285;
show create table s;
Table Create Table
@@ -31732,7 +31732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7284;
show create table s;
Table Create Table
@@ -31740,7 +31740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7283;
show create table s;
Table Create Table
@@ -31748,7 +31748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7282;
show create table s;
Table Create Table
@@ -31756,7 +31756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7281;
show create table s;
Table Create Table
@@ -31764,7 +31764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7280;
show create table s;
Table Create Table
@@ -31772,7 +31772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7279;
show create table s;
Table Create Table
@@ -31780,7 +31780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7278;
show create table s;
Table Create Table
@@ -31788,7 +31788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7277;
show create table s;
Table Create Table
@@ -31796,7 +31796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7276;
show create table s;
Table Create Table
@@ -31804,7 +31804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7275;
show create table s;
Table Create Table
@@ -31812,7 +31812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7274;
show create table s;
Table Create Table
@@ -31820,7 +31820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7273;
show create table s;
Table Create Table
@@ -31828,7 +31828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7272;
show create table s;
Table Create Table
@@ -31836,7 +31836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7271;
show create table s;
Table Create Table
@@ -31844,7 +31844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7270;
show create table s;
Table Create Table
@@ -31852,7 +31852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7269;
show create table s;
Table Create Table
@@ -31860,7 +31860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7268;
show create table s;
Table Create Table
@@ -31868,7 +31868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7267;
show create table s;
Table Create Table
@@ -31876,7 +31876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7266;
show create table s;
Table Create Table
@@ -31884,7 +31884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7265;
show create table s;
Table Create Table
@@ -31892,7 +31892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7264;
show create table s;
Table Create Table
@@ -31900,7 +31900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7263;
show create table s;
Table Create Table
@@ -31908,7 +31908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7262;
show create table s;
Table Create Table
@@ -31916,7 +31916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7261;
show create table s;
Table Create Table
@@ -31924,7 +31924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7260;
show create table s;
Table Create Table
@@ -31932,7 +31932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7259;
show create table s;
Table Create Table
@@ -31940,7 +31940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7258;
show create table s;
Table Create Table
@@ -31948,7 +31948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7257;
show create table s;
Table Create Table
@@ -31956,7 +31956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7256;
show create table s;
Table Create Table
@@ -31964,7 +31964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7255;
show create table s;
Table Create Table
@@ -31972,7 +31972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7254;
show create table s;
Table Create Table
@@ -31980,7 +31980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7253;
show create table s;
Table Create Table
@@ -31988,7 +31988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7252;
show create table s;
Table Create Table
@@ -31996,7 +31996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7251;
show create table s;
Table Create Table
@@ -32004,7 +32004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7250;
show create table s;
Table Create Table
@@ -32012,7 +32012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7249;
show create table s;
Table Create Table
@@ -32020,7 +32020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7248;
show create table s;
Table Create Table
@@ -32028,7 +32028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7247;
show create table s;
Table Create Table
@@ -32036,7 +32036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7246;
show create table s;
Table Create Table
@@ -32044,7 +32044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7245;
show create table s;
Table Create Table
@@ -32052,7 +32052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7244;
show create table s;
Table Create Table
@@ -32060,7 +32060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7243;
show create table s;
Table Create Table
@@ -32068,7 +32068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7242;
show create table s;
Table Create Table
@@ -32076,7 +32076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7241;
show create table s;
Table Create Table
@@ -32084,7 +32084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7240;
show create table s;
Table Create Table
@@ -32092,7 +32092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7239;
show create table s;
Table Create Table
@@ -32100,7 +32100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7238;
show create table s;
Table Create Table
@@ -32108,7 +32108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7237;
show create table s;
Table Create Table
@@ -32116,7 +32116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7236;
show create table s;
Table Create Table
@@ -32124,7 +32124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7235;
show create table s;
Table Create Table
@@ -32132,7 +32132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7234;
show create table s;
Table Create Table
@@ -32140,7 +32140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7233;
show create table s;
Table Create Table
@@ -32148,7 +32148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7232;
show create table s;
Table Create Table
@@ -32156,7 +32156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7231;
show create table s;
Table Create Table
@@ -32164,7 +32164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7230;
show create table s;
Table Create Table
@@ -32172,7 +32172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7229;
show create table s;
Table Create Table
@@ -32180,7 +32180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7228;
show create table s;
Table Create Table
@@ -32188,7 +32188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7227;
show create table s;
Table Create Table
@@ -32196,7 +32196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7226;
show create table s;
Table Create Table
@@ -32204,7 +32204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7225;
show create table s;
Table Create Table
@@ -32212,7 +32212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7224;
show create table s;
Table Create Table
@@ -32220,7 +32220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7223;
show create table s;
Table Create Table
@@ -32228,7 +32228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7222;
show create table s;
Table Create Table
@@ -32236,7 +32236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7221;
show create table s;
Table Create Table
@@ -32244,7 +32244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7220;
show create table s;
Table Create Table
@@ -32252,7 +32252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7219;
show create table s;
Table Create Table
@@ -32260,7 +32260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7218;
show create table s;
Table Create Table
@@ -32268,7 +32268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7217;
show create table s;
Table Create Table
@@ -32276,7 +32276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7216;
show create table s;
Table Create Table
@@ -32284,7 +32284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7215;
show create table s;
Table Create Table
@@ -32292,7 +32292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7214;
show create table s;
Table Create Table
@@ -32300,7 +32300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7213;
show create table s;
Table Create Table
@@ -32308,7 +32308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7212;
show create table s;
Table Create Table
@@ -32316,7 +32316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7211;
show create table s;
Table Create Table
@@ -32324,7 +32324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7210;
show create table s;
Table Create Table
@@ -32332,7 +32332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7209;
show create table s;
Table Create Table
@@ -32340,7 +32340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7208;
show create table s;
Table Create Table
@@ -32348,7 +32348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7207;
show create table s;
Table Create Table
@@ -32356,7 +32356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7206;
show create table s;
Table Create Table
@@ -32364,7 +32364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7205;
show create table s;
Table Create Table
@@ -32372,7 +32372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7204;
show create table s;
Table Create Table
@@ -32380,7 +32380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7203;
show create table s;
Table Create Table
@@ -32388,7 +32388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7202;
show create table s;
Table Create Table
@@ -32396,7 +32396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7201;
show create table s;
Table Create Table
@@ -32404,7 +32404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7200;
show create table s;
Table Create Table
@@ -32412,7 +32412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7199;
show create table s;
Table Create Table
@@ -32420,7 +32420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7198;
show create table s;
Table Create Table
@@ -32428,7 +32428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7197;
show create table s;
Table Create Table
@@ -32436,7 +32436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7196;
show create table s;
Table Create Table
@@ -32444,7 +32444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7195;
show create table s;
Table Create Table
@@ -32452,7 +32452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7194;
show create table s;
Table Create Table
@@ -32460,7 +32460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7193;
show create table s;
Table Create Table
@@ -32468,7 +32468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7192;
show create table s;
Table Create Table
@@ -32476,7 +32476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7191;
show create table s;
Table Create Table
@@ -32484,7 +32484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7190;
show create table s;
Table Create Table
@@ -32492,7 +32492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7189;
show create table s;
Table Create Table
@@ -32500,7 +32500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7188;
show create table s;
Table Create Table
@@ -32508,7 +32508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7187;
show create table s;
Table Create Table
@@ -32516,7 +32516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7186;
show create table s;
Table Create Table
@@ -32524,7 +32524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7185;
show create table s;
Table Create Table
@@ -32532,7 +32532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7184;
show create table s;
Table Create Table
@@ -32540,7 +32540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7183;
show create table s;
Table Create Table
@@ -32548,7 +32548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7182;
show create table s;
Table Create Table
@@ -32556,7 +32556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7181;
show create table s;
Table Create Table
@@ -32564,7 +32564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7180;
show create table s;
Table Create Table
@@ -32572,7 +32572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7179;
show create table s;
Table Create Table
@@ -32580,7 +32580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7178;
show create table s;
Table Create Table
@@ -32588,7 +32588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7177;
show create table s;
Table Create Table
@@ -32596,7 +32596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7176;
show create table s;
Table Create Table
@@ -32604,7 +32604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7175;
show create table s;
Table Create Table
@@ -32612,7 +32612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7174;
show create table s;
Table Create Table
@@ -32620,7 +32620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7173;
show create table s;
Table Create Table
@@ -32628,7 +32628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7172;
show create table s;
Table Create Table
@@ -32636,7 +32636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7171;
show create table s;
Table Create Table
@@ -32644,7 +32644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7170;
show create table s;
Table Create Table
@@ -32652,7 +32652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7169;
show create table s;
Table Create Table
@@ -32660,7 +32660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7168;
show create table s;
Table Create Table
@@ -32668,7 +32668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7167;
show create table s;
Table Create Table
@@ -32676,7 +32676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7166;
show create table s;
Table Create Table
@@ -32684,7 +32684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7165;
show create table s;
Table Create Table
@@ -32692,7 +32692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7164;
show create table s;
Table Create Table
@@ -32700,7 +32700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7163;
show create table s;
Table Create Table
@@ -32708,7 +32708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7162;
show create table s;
Table Create Table
@@ -32716,7 +32716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7161;
show create table s;
Table Create Table
@@ -32724,7 +32724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7160;
show create table s;
Table Create Table
@@ -32732,7 +32732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7159;
show create table s;
Table Create Table
@@ -32740,7 +32740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7158;
show create table s;
Table Create Table
@@ -32748,7 +32748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7157;
show create table s;
Table Create Table
@@ -32756,7 +32756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7156;
show create table s;
Table Create Table
@@ -32764,7 +32764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7155;
show create table s;
Table Create Table
@@ -32772,7 +32772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7154;
show create table s;
Table Create Table
@@ -32780,7 +32780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7153;
show create table s;
Table Create Table
@@ -32788,7 +32788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7152;
show create table s;
Table Create Table
@@ -32796,7 +32796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7151;
show create table s;
Table Create Table
@@ -32804,7 +32804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7150;
show create table s;
Table Create Table
@@ -32812,7 +32812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7149;
show create table s;
Table Create Table
@@ -32820,7 +32820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7148;
show create table s;
Table Create Table
@@ -32828,7 +32828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7147;
show create table s;
Table Create Table
@@ -32836,7 +32836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7146;
show create table s;
Table Create Table
@@ -32844,7 +32844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7145;
show create table s;
Table Create Table
@@ -32852,7 +32852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7144;
show create table s;
Table Create Table
@@ -32860,7 +32860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7143;
show create table s;
Table Create Table
@@ -32868,7 +32868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7142;
show create table s;
Table Create Table
@@ -32876,7 +32876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7141;
show create table s;
Table Create Table
@@ -32884,7 +32884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7140;
show create table s;
Table Create Table
@@ -32892,7 +32892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7139;
show create table s;
Table Create Table
@@ -32900,7 +32900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7138;
show create table s;
Table Create Table
@@ -32908,7 +32908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7137;
show create table s;
Table Create Table
@@ -32916,7 +32916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7136;
show create table s;
Table Create Table
@@ -32924,7 +32924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7135;
show create table s;
Table Create Table
@@ -32932,7 +32932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7134;
show create table s;
Table Create Table
@@ -32940,7 +32940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7133;
show create table s;
Table Create Table
@@ -32948,7 +32948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7132;
show create table s;
Table Create Table
@@ -32956,7 +32956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7131;
show create table s;
Table Create Table
@@ -32964,7 +32964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7130;
show create table s;
Table Create Table
@@ -32972,7 +32972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7129;
show create table s;
Table Create Table
@@ -32980,7 +32980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7128;
show create table s;
Table Create Table
@@ -32988,7 +32988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7127;
show create table s;
Table Create Table
@@ -32996,7 +32996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7126;
show create table s;
Table Create Table
@@ -33004,7 +33004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7125;
show create table s;
Table Create Table
@@ -33012,7 +33012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7124;
show create table s;
Table Create Table
@@ -33020,7 +33020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7123;
show create table s;
Table Create Table
@@ -33028,7 +33028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7122;
show create table s;
Table Create Table
@@ -33036,7 +33036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7121;
show create table s;
Table Create Table
@@ -33044,7 +33044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7120;
show create table s;
Table Create Table
@@ -33052,7 +33052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7119;
show create table s;
Table Create Table
@@ -33060,7 +33060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7118;
show create table s;
Table Create Table
@@ -33068,7 +33068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7117;
show create table s;
Table Create Table
@@ -33076,7 +33076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7116;
show create table s;
Table Create Table
@@ -33084,7 +33084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7115;
show create table s;
Table Create Table
@@ -33092,7 +33092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7114;
show create table s;
Table Create Table
@@ -33100,7 +33100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7113;
show create table s;
Table Create Table
@@ -33108,7 +33108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7112;
show create table s;
Table Create Table
@@ -33116,7 +33116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7111;
show create table s;
Table Create Table
@@ -33124,7 +33124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7110;
show create table s;
Table Create Table
@@ -33132,7 +33132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7109;
show create table s;
Table Create Table
@@ -33140,7 +33140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7108;
show create table s;
Table Create Table
@@ -33148,7 +33148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7107;
show create table s;
Table Create Table
@@ -33156,7 +33156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7106;
show create table s;
Table Create Table
@@ -33164,7 +33164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7105;
show create table s;
Table Create Table
@@ -33172,7 +33172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7104;
show create table s;
Table Create Table
@@ -33180,7 +33180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7103;
show create table s;
Table Create Table
@@ -33188,7 +33188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7102;
show create table s;
Table Create Table
@@ -33196,7 +33196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7101;
show create table s;
Table Create Table
@@ -33204,7 +33204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7100;
show create table s;
Table Create Table
@@ -33212,7 +33212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7099;
show create table s;
Table Create Table
@@ -33220,7 +33220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7098;
show create table s;
Table Create Table
@@ -33228,7 +33228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7097;
show create table s;
Table Create Table
@@ -33236,7 +33236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7096;
show create table s;
Table Create Table
@@ -33244,7 +33244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7095;
show create table s;
Table Create Table
@@ -33252,7 +33252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7094;
show create table s;
Table Create Table
@@ -33260,7 +33260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7093;
show create table s;
Table Create Table
@@ -33268,7 +33268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7092;
show create table s;
Table Create Table
@@ -33276,7 +33276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7091;
show create table s;
Table Create Table
@@ -33284,7 +33284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7090;
show create table s;
Table Create Table
@@ -33292,7 +33292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7089;
show create table s;
Table Create Table
@@ -33300,7 +33300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7088;
show create table s;
Table Create Table
@@ -33308,7 +33308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7087;
show create table s;
Table Create Table
@@ -33316,7 +33316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7086;
show create table s;
Table Create Table
@@ -33324,7 +33324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7085;
show create table s;
Table Create Table
@@ -33332,7 +33332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7084;
show create table s;
Table Create Table
@@ -33340,7 +33340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7083;
show create table s;
Table Create Table
@@ -33348,7 +33348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7082;
show create table s;
Table Create Table
@@ -33356,7 +33356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7081;
show create table s;
Table Create Table
@@ -33364,7 +33364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7080;
show create table s;
Table Create Table
@@ -33372,7 +33372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7079;
show create table s;
Table Create Table
@@ -33380,7 +33380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7078;
show create table s;
Table Create Table
@@ -33388,7 +33388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7077;
show create table s;
Table Create Table
@@ -33396,7 +33396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7076;
show create table s;
Table Create Table
@@ -33404,7 +33404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7075;
show create table s;
Table Create Table
@@ -33412,7 +33412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7074;
show create table s;
Table Create Table
@@ -33420,7 +33420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7073;
show create table s;
Table Create Table
@@ -33428,7 +33428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7072;
show create table s;
Table Create Table
@@ -33436,7 +33436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7071;
show create table s;
Table Create Table
@@ -33444,7 +33444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7070;
show create table s;
Table Create Table
@@ -33452,7 +33452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7069;
show create table s;
Table Create Table
@@ -33460,7 +33460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7068;
show create table s;
Table Create Table
@@ -33468,7 +33468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7067;
show create table s;
Table Create Table
@@ -33476,7 +33476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7066;
show create table s;
Table Create Table
@@ -33484,7 +33484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7065;
show create table s;
Table Create Table
@@ -33492,7 +33492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7064;
show create table s;
Table Create Table
@@ -33500,7 +33500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7063;
show create table s;
Table Create Table
@@ -33508,7 +33508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7062;
show create table s;
Table Create Table
@@ -33516,7 +33516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7061;
show create table s;
Table Create Table
@@ -33524,7 +33524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7060;
show create table s;
Table Create Table
@@ -33532,7 +33532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7059;
show create table s;
Table Create Table
@@ -33540,7 +33540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7058;
show create table s;
Table Create Table
@@ -33548,7 +33548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7057;
show create table s;
Table Create Table
@@ -33556,7 +33556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7056;
show create table s;
Table Create Table
@@ -33564,7 +33564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7055;
show create table s;
Table Create Table
@@ -33572,7 +33572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7054;
show create table s;
Table Create Table
@@ -33580,7 +33580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7053;
show create table s;
Table Create Table
@@ -33588,7 +33588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7052;
show create table s;
Table Create Table
@@ -33596,7 +33596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7051;
show create table s;
Table Create Table
@@ -33604,7 +33604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7050;
show create table s;
Table Create Table
@@ -33612,7 +33612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7049;
show create table s;
Table Create Table
@@ -33620,7 +33620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7048;
show create table s;
Table Create Table
@@ -33628,7 +33628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7047;
show create table s;
Table Create Table
@@ -33636,7 +33636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7046;
show create table s;
Table Create Table
@@ -33644,7 +33644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7045;
show create table s;
Table Create Table
@@ -33652,7 +33652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7044;
show create table s;
Table Create Table
@@ -33660,7 +33660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7043;
show create table s;
Table Create Table
@@ -33668,7 +33668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7042;
show create table s;
Table Create Table
@@ -33676,7 +33676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7041;
show create table s;
Table Create Table
@@ -33684,7 +33684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7040;
show create table s;
Table Create Table
@@ -33692,7 +33692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7039;
show create table s;
Table Create Table
@@ -33700,7 +33700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7038;
show create table s;
Table Create Table
@@ -33708,7 +33708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7037;
show create table s;
Table Create Table
@@ -33716,7 +33716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7036;
show create table s;
Table Create Table
@@ -33724,7 +33724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7035;
show create table s;
Table Create Table
@@ -33732,7 +33732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7034;
show create table s;
Table Create Table
@@ -33740,7 +33740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7033;
show create table s;
Table Create Table
@@ -33748,7 +33748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7032;
show create table s;
Table Create Table
@@ -33756,7 +33756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7031;
show create table s;
Table Create Table
@@ -33764,7 +33764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7030;
show create table s;
Table Create Table
@@ -33772,7 +33772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7029;
show create table s;
Table Create Table
@@ -33780,7 +33780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7028;
show create table s;
Table Create Table
@@ -33788,7 +33788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7027;
show create table s;
Table Create Table
@@ -33796,7 +33796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7026;
show create table s;
Table Create Table
@@ -33804,7 +33804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7025;
show create table s;
Table Create Table
@@ -33812,7 +33812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7024;
show create table s;
Table Create Table
@@ -33820,7 +33820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7023;
show create table s;
Table Create Table
@@ -33828,7 +33828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7022;
show create table s;
Table Create Table
@@ -33836,7 +33836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7021;
show create table s;
Table Create Table
@@ -33844,7 +33844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7020;
show create table s;
Table Create Table
@@ -33852,7 +33852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7019;
show create table s;
Table Create Table
@@ -33860,7 +33860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7018;
show create table s;
Table Create Table
@@ -33868,7 +33868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7017;
show create table s;
Table Create Table
@@ -33876,7 +33876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7016;
show create table s;
Table Create Table
@@ -33884,7 +33884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7015;
show create table s;
Table Create Table
@@ -33892,7 +33892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7014;
show create table s;
Table Create Table
@@ -33900,7 +33900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7013;
show create table s;
Table Create Table
@@ -33908,7 +33908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7012;
show create table s;
Table Create Table
@@ -33916,7 +33916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7011;
show create table s;
Table Create Table
@@ -33924,7 +33924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7010;
show create table s;
Table Create Table
@@ -33932,7 +33932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7009;
show create table s;
Table Create Table
@@ -33940,7 +33940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7008;
show create table s;
Table Create Table
@@ -33948,7 +33948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7007;
show create table s;
Table Create Table
@@ -33956,7 +33956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7006;
show create table s;
Table Create Table
@@ -33964,7 +33964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7005;
show create table s;
Table Create Table
@@ -33972,7 +33972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7004;
show create table s;
Table Create Table
@@ -33980,7 +33980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7003;
show create table s;
Table Create Table
@@ -33988,7 +33988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7002;
show create table s;
Table Create Table
@@ -33996,7 +33996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7001;
show create table s;
Table Create Table
@@ -34004,7 +34004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7000;
show create table s;
Table Create Table
@@ -34012,7 +34012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6999;
show create table s;
Table Create Table
@@ -34020,7 +34020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6998;
show create table s;
Table Create Table
@@ -34028,7 +34028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6997;
show create table s;
Table Create Table
@@ -34036,7 +34036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6996;
show create table s;
Table Create Table
@@ -34044,7 +34044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6995;
show create table s;
Table Create Table
@@ -34052,7 +34052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6994;
show create table s;
Table Create Table
@@ -34060,7 +34060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6993;
show create table s;
Table Create Table
@@ -34068,7 +34068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6992;
show create table s;
Table Create Table
@@ -34076,7 +34076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6991;
show create table s;
Table Create Table
@@ -34084,7 +34084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6990;
show create table s;
Table Create Table
@@ -34092,7 +34092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6989;
show create table s;
Table Create Table
@@ -34100,7 +34100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6988;
show create table s;
Table Create Table
@@ -34108,7 +34108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6987;
show create table s;
Table Create Table
@@ -34116,7 +34116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6986;
show create table s;
Table Create Table
@@ -34124,7 +34124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6985;
show create table s;
Table Create Table
@@ -34132,7 +34132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6984;
show create table s;
Table Create Table
@@ -34140,7 +34140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6983;
show create table s;
Table Create Table
@@ -34148,7 +34148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6982;
show create table s;
Table Create Table
@@ -34156,7 +34156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6981;
show create table s;
Table Create Table
@@ -34164,7 +34164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6980;
show create table s;
Table Create Table
@@ -34172,7 +34172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6979;
show create table s;
Table Create Table
@@ -34180,7 +34180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6978;
show create table s;
Table Create Table
@@ -34188,7 +34188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6977;
show create table s;
Table Create Table
@@ -34196,7 +34196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6976;
show create table s;
Table Create Table
@@ -34204,7 +34204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6975;
show create table s;
Table Create Table
@@ -34212,7 +34212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6974;
show create table s;
Table Create Table
@@ -34220,7 +34220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6973;
show create table s;
Table Create Table
@@ -34228,7 +34228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6972;
show create table s;
Table Create Table
@@ -34236,7 +34236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6971;
show create table s;
Table Create Table
@@ -34244,7 +34244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6970;
show create table s;
Table Create Table
@@ -34252,7 +34252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6969;
show create table s;
Table Create Table
@@ -34260,7 +34260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6968;
show create table s;
Table Create Table
@@ -34268,7 +34268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6967;
show create table s;
Table Create Table
@@ -34276,7 +34276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6966;
show create table s;
Table Create Table
@@ -34284,7 +34284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6965;
show create table s;
Table Create Table
@@ -34292,7 +34292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6964;
show create table s;
Table Create Table
@@ -34300,7 +34300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6963;
show create table s;
Table Create Table
@@ -34308,7 +34308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6962;
show create table s;
Table Create Table
@@ -34316,7 +34316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6961;
show create table s;
Table Create Table
@@ -34324,7 +34324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6960;
show create table s;
Table Create Table
@@ -34332,7 +34332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6959;
show create table s;
Table Create Table
@@ -34340,7 +34340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6958;
show create table s;
Table Create Table
@@ -34348,7 +34348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6957;
show create table s;
Table Create Table
@@ -34356,7 +34356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6956;
show create table s;
Table Create Table
@@ -34364,7 +34364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6955;
show create table s;
Table Create Table
@@ -34372,7 +34372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6954;
show create table s;
Table Create Table
@@ -34380,7 +34380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6953;
show create table s;
Table Create Table
@@ -34388,7 +34388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6952;
show create table s;
Table Create Table
@@ -34396,7 +34396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6951;
show create table s;
Table Create Table
@@ -34404,7 +34404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6950;
show create table s;
Table Create Table
@@ -34412,7 +34412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6949;
show create table s;
Table Create Table
@@ -34420,7 +34420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6948;
show create table s;
Table Create Table
@@ -34428,7 +34428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6947;
show create table s;
Table Create Table
@@ -34436,7 +34436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6946;
show create table s;
Table Create Table
@@ -34444,7 +34444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6945;
show create table s;
Table Create Table
@@ -34452,7 +34452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6944;
show create table s;
Table Create Table
@@ -34460,7 +34460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6943;
show create table s;
Table Create Table
@@ -34468,7 +34468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6942;
show create table s;
Table Create Table
@@ -34476,7 +34476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6941;
show create table s;
Table Create Table
@@ -34484,7 +34484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6940;
show create table s;
Table Create Table
@@ -34492,7 +34492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6939;
show create table s;
Table Create Table
@@ -34500,7 +34500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6938;
show create table s;
Table Create Table
@@ -34508,7 +34508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6937;
show create table s;
Table Create Table
@@ -34516,7 +34516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6936;
show create table s;
Table Create Table
@@ -34524,7 +34524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6935;
show create table s;
Table Create Table
@@ -34532,7 +34532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6934;
show create table s;
Table Create Table
@@ -34540,7 +34540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6933;
show create table s;
Table Create Table
@@ -34548,7 +34548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6932;
show create table s;
Table Create Table
@@ -34556,7 +34556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6931;
show create table s;
Table Create Table
@@ -34564,7 +34564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6930;
show create table s;
Table Create Table
@@ -34572,7 +34572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6929;
show create table s;
Table Create Table
@@ -34580,7 +34580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6928;
show create table s;
Table Create Table
@@ -34588,7 +34588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6927;
show create table s;
Table Create Table
@@ -34596,7 +34596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6926;
show create table s;
Table Create Table
@@ -34604,7 +34604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6925;
show create table s;
Table Create Table
@@ -34612,7 +34612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6924;
show create table s;
Table Create Table
@@ -34620,7 +34620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6923;
show create table s;
Table Create Table
@@ -34628,7 +34628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6922;
show create table s;
Table Create Table
@@ -34636,7 +34636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6921;
show create table s;
Table Create Table
@@ -34644,7 +34644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6920;
show create table s;
Table Create Table
@@ -34652,7 +34652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6919;
show create table s;
Table Create Table
@@ -34660,7 +34660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6918;
show create table s;
Table Create Table
@@ -34668,7 +34668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6917;
show create table s;
Table Create Table
@@ -34676,7 +34676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6916;
show create table s;
Table Create Table
@@ -34684,7 +34684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6915;
show create table s;
Table Create Table
@@ -34692,7 +34692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6914;
show create table s;
Table Create Table
@@ -34700,7 +34700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6913;
show create table s;
Table Create Table
@@ -34708,7 +34708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6912;
show create table s;
Table Create Table
@@ -34716,7 +34716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6911;
show create table s;
Table Create Table
@@ -34724,7 +34724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6910;
show create table s;
Table Create Table
@@ -34732,7 +34732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6909;
show create table s;
Table Create Table
@@ -34740,7 +34740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6908;
show create table s;
Table Create Table
@@ -34748,7 +34748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6907;
show create table s;
Table Create Table
@@ -34756,7 +34756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6906;
show create table s;
Table Create Table
@@ -34764,7 +34764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6905;
show create table s;
Table Create Table
@@ -34772,7 +34772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6904;
show create table s;
Table Create Table
@@ -34780,7 +34780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6903;
show create table s;
Table Create Table
@@ -34788,7 +34788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6902;
show create table s;
Table Create Table
@@ -34796,7 +34796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6901;
show create table s;
Table Create Table
@@ -34804,7 +34804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6900;
show create table s;
Table Create Table
@@ -34812,7 +34812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6899;
show create table s;
Table Create Table
@@ -34820,7 +34820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6898;
show create table s;
Table Create Table
@@ -34828,7 +34828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6897;
show create table s;
Table Create Table
@@ -34836,7 +34836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6896;
show create table s;
Table Create Table
@@ -34844,7 +34844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6895;
show create table s;
Table Create Table
@@ -34852,7 +34852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6894;
show create table s;
Table Create Table
@@ -34860,7 +34860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6893;
show create table s;
Table Create Table
@@ -34868,7 +34868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6892;
show create table s;
Table Create Table
@@ -34876,7 +34876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6891;
show create table s;
Table Create Table
@@ -34884,7 +34884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6890;
show create table s;
Table Create Table
@@ -34892,7 +34892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6889;
show create table s;
Table Create Table
@@ -34900,7 +34900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6888;
show create table s;
Table Create Table
@@ -34908,7 +34908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6887;
show create table s;
Table Create Table
@@ -34916,7 +34916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6886;
show create table s;
Table Create Table
@@ -34924,7 +34924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6885;
show create table s;
Table Create Table
@@ -34932,7 +34932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6884;
show create table s;
Table Create Table
@@ -34940,7 +34940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6883;
show create table s;
Table Create Table
@@ -34948,7 +34948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6882;
show create table s;
Table Create Table
@@ -34956,7 +34956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6881;
show create table s;
Table Create Table
@@ -34964,7 +34964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6880;
show create table s;
Table Create Table
@@ -34972,7 +34972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6879;
show create table s;
Table Create Table
@@ -34980,7 +34980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6878;
show create table s;
Table Create Table
@@ -34988,7 +34988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6877;
show create table s;
Table Create Table
@@ -34996,7 +34996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6876;
show create table s;
Table Create Table
@@ -35004,7 +35004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6875;
show create table s;
Table Create Table
@@ -35012,7 +35012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6874;
show create table s;
Table Create Table
@@ -35020,7 +35020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6873;
show create table s;
Table Create Table
@@ -35028,7 +35028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6872;
show create table s;
Table Create Table
@@ -35036,7 +35036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6871;
show create table s;
Table Create Table
@@ -35044,7 +35044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6870;
show create table s;
Table Create Table
@@ -35052,7 +35052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6869;
show create table s;
Table Create Table
@@ -35060,7 +35060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6868;
show create table s;
Table Create Table
@@ -35068,7 +35068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6867;
show create table s;
Table Create Table
@@ -35076,7 +35076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6866;
show create table s;
Table Create Table
@@ -35084,7 +35084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6865;
show create table s;
Table Create Table
@@ -35092,7 +35092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6864;
show create table s;
Table Create Table
@@ -35100,7 +35100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6863;
show create table s;
Table Create Table
@@ -35108,7 +35108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6862;
show create table s;
Table Create Table
@@ -35116,7 +35116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6861;
show create table s;
Table Create Table
@@ -35124,7 +35124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6860;
show create table s;
Table Create Table
@@ -35132,7 +35132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6859;
show create table s;
Table Create Table
@@ -35140,7 +35140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6858;
show create table s;
Table Create Table
@@ -35148,7 +35148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6857;
show create table s;
Table Create Table
@@ -35156,7 +35156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6856;
show create table s;
Table Create Table
@@ -35164,7 +35164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6855;
show create table s;
Table Create Table
@@ -35172,7 +35172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6854;
show create table s;
Table Create Table
@@ -35180,7 +35180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6853;
show create table s;
Table Create Table
@@ -35188,7 +35188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6852;
show create table s;
Table Create Table
@@ -35196,7 +35196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6851;
show create table s;
Table Create Table
@@ -35204,7 +35204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6850;
show create table s;
Table Create Table
@@ -35212,7 +35212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6849;
show create table s;
Table Create Table
@@ -35220,7 +35220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6848;
show create table s;
Table Create Table
@@ -35228,7 +35228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6847;
show create table s;
Table Create Table
@@ -35236,7 +35236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6846;
show create table s;
Table Create Table
@@ -35244,7 +35244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6845;
show create table s;
Table Create Table
@@ -35252,7 +35252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6844;
show create table s;
Table Create Table
@@ -35260,7 +35260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6843;
show create table s;
Table Create Table
@@ -35268,7 +35268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6842;
show create table s;
Table Create Table
@@ -35276,7 +35276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6841;
show create table s;
Table Create Table
@@ -35284,7 +35284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6840;
show create table s;
Table Create Table
@@ -35292,7 +35292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6839;
show create table s;
Table Create Table
@@ -35300,7 +35300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6838;
show create table s;
Table Create Table
@@ -35308,7 +35308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6837;
show create table s;
Table Create Table
@@ -35316,7 +35316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6836;
show create table s;
Table Create Table
@@ -35324,7 +35324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6835;
show create table s;
Table Create Table
@@ -35332,7 +35332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6834;
show create table s;
Table Create Table
@@ -35340,7 +35340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6833;
show create table s;
Table Create Table
@@ -35348,7 +35348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6832;
show create table s;
Table Create Table
@@ -35356,7 +35356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6831;
show create table s;
Table Create Table
@@ -35364,7 +35364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6830;
show create table s;
Table Create Table
@@ -35372,7 +35372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6829;
show create table s;
Table Create Table
@@ -35380,7 +35380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6828;
show create table s;
Table Create Table
@@ -35388,7 +35388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6827;
show create table s;
Table Create Table
@@ -35396,7 +35396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6826;
show create table s;
Table Create Table
@@ -35404,7 +35404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6825;
show create table s;
Table Create Table
@@ -35412,7 +35412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6824;
show create table s;
Table Create Table
@@ -35420,7 +35420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6823;
show create table s;
Table Create Table
@@ -35428,7 +35428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6822;
show create table s;
Table Create Table
@@ -35436,7 +35436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6821;
show create table s;
Table Create Table
@@ -35444,7 +35444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6820;
show create table s;
Table Create Table
@@ -35452,7 +35452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6819;
show create table s;
Table Create Table
@@ -35460,7 +35460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6818;
show create table s;
Table Create Table
@@ -35468,7 +35468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6817;
show create table s;
Table Create Table
@@ -35476,7 +35476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6816;
show create table s;
Table Create Table
@@ -35484,7 +35484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6815;
show create table s;
Table Create Table
@@ -35492,7 +35492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6814;
show create table s;
Table Create Table
@@ -35500,7 +35500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6813;
show create table s;
Table Create Table
@@ -35508,7 +35508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6812;
show create table s;
Table Create Table
@@ -35516,7 +35516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6811;
show create table s;
Table Create Table
@@ -35524,7 +35524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6810;
show create table s;
Table Create Table
@@ -35532,7 +35532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6809;
show create table s;
Table Create Table
@@ -35540,7 +35540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6808;
show create table s;
Table Create Table
@@ -35548,7 +35548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6807;
show create table s;
Table Create Table
@@ -35556,7 +35556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6806;
show create table s;
Table Create Table
@@ -35564,7 +35564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6805;
show create table s;
Table Create Table
@@ -35572,7 +35572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6804;
show create table s;
Table Create Table
@@ -35580,7 +35580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6803;
show create table s;
Table Create Table
@@ -35588,7 +35588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6802;
show create table s;
Table Create Table
@@ -35596,7 +35596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6801;
show create table s;
Table Create Table
@@ -35604,7 +35604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6800;
show create table s;
Table Create Table
@@ -35612,7 +35612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6799;
show create table s;
Table Create Table
@@ -35620,7 +35620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6798;
show create table s;
Table Create Table
@@ -35628,7 +35628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6797;
show create table s;
Table Create Table
@@ -35636,7 +35636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6796;
show create table s;
Table Create Table
@@ -35644,7 +35644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6795;
show create table s;
Table Create Table
@@ -35652,7 +35652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6794;
show create table s;
Table Create Table
@@ -35660,7 +35660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6793;
show create table s;
Table Create Table
@@ -35668,7 +35668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6792;
show create table s;
Table Create Table
@@ -35676,7 +35676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6791;
show create table s;
Table Create Table
@@ -35684,7 +35684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6790;
show create table s;
Table Create Table
@@ -35692,7 +35692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6789;
show create table s;
Table Create Table
@@ -35700,7 +35700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6788;
show create table s;
Table Create Table
@@ -35708,7 +35708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6787;
show create table s;
Table Create Table
@@ -35716,7 +35716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6786;
show create table s;
Table Create Table
@@ -35724,7 +35724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6785;
show create table s;
Table Create Table
@@ -35732,7 +35732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6784;
show create table s;
Table Create Table
@@ -35740,7 +35740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6783;
show create table s;
Table Create Table
@@ -35748,7 +35748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6782;
show create table s;
Table Create Table
@@ -35756,7 +35756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6781;
show create table s;
Table Create Table
@@ -35764,7 +35764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6780;
show create table s;
Table Create Table
@@ -35772,7 +35772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6779;
show create table s;
Table Create Table
@@ -35780,7 +35780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6778;
show create table s;
Table Create Table
@@ -35788,7 +35788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6777;
show create table s;
Table Create Table
@@ -35796,7 +35796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6776;
show create table s;
Table Create Table
@@ -35804,7 +35804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6775;
show create table s;
Table Create Table
@@ -35812,7 +35812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6774;
show create table s;
Table Create Table
@@ -35820,7 +35820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6773;
show create table s;
Table Create Table
@@ -35828,7 +35828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6772;
show create table s;
Table Create Table
@@ -35836,7 +35836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6771;
show create table s;
Table Create Table
@@ -35844,7 +35844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6770;
show create table s;
Table Create Table
@@ -35852,7 +35852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6769;
show create table s;
Table Create Table
@@ -35860,7 +35860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6768;
show create table s;
Table Create Table
@@ -35868,7 +35868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6767;
show create table s;
Table Create Table
@@ -35876,7 +35876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6766;
show create table s;
Table Create Table
@@ -35884,7 +35884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6765;
show create table s;
Table Create Table
@@ -35892,7 +35892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6764;
show create table s;
Table Create Table
@@ -35900,7 +35900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6763;
show create table s;
Table Create Table
@@ -35908,7 +35908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6762;
show create table s;
Table Create Table
@@ -35916,7 +35916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6761;
show create table s;
Table Create Table
@@ -35924,7 +35924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6760;
show create table s;
Table Create Table
@@ -35932,7 +35932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6759;
show create table s;
Table Create Table
@@ -35940,7 +35940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6758;
show create table s;
Table Create Table
@@ -35948,7 +35948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6757;
show create table s;
Table Create Table
@@ -35956,7 +35956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6756;
show create table s;
Table Create Table
@@ -35964,7 +35964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6755;
show create table s;
Table Create Table
@@ -35972,7 +35972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6754;
show create table s;
Table Create Table
@@ -35980,7 +35980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6753;
show create table s;
Table Create Table
@@ -35988,7 +35988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6752;
show create table s;
Table Create Table
@@ -35996,7 +35996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6751;
show create table s;
Table Create Table
@@ -36004,7 +36004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6750;
show create table s;
Table Create Table
@@ -36012,7 +36012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6749;
show create table s;
Table Create Table
@@ -36020,7 +36020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6748;
show create table s;
Table Create Table
@@ -36028,7 +36028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6747;
show create table s;
Table Create Table
@@ -36036,7 +36036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6746;
show create table s;
Table Create Table
@@ -36044,7 +36044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6745;
show create table s;
Table Create Table
@@ -36052,7 +36052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6744;
show create table s;
Table Create Table
@@ -36060,7 +36060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6743;
show create table s;
Table Create Table
@@ -36068,7 +36068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6742;
show create table s;
Table Create Table
@@ -36076,7 +36076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6741;
show create table s;
Table Create Table
@@ -36084,7 +36084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6740;
show create table s;
Table Create Table
@@ -36092,7 +36092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6739;
show create table s;
Table Create Table
@@ -36100,7 +36100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6738;
show create table s;
Table Create Table
@@ -36108,7 +36108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6737;
show create table s;
Table Create Table
@@ -36116,7 +36116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6736;
show create table s;
Table Create Table
@@ -36124,7 +36124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6735;
show create table s;
Table Create Table
@@ -36132,7 +36132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6734;
show create table s;
Table Create Table
@@ -36140,7 +36140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6733;
show create table s;
Table Create Table
@@ -36148,7 +36148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6732;
show create table s;
Table Create Table
@@ -36156,7 +36156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6731;
show create table s;
Table Create Table
@@ -36164,7 +36164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6730;
show create table s;
Table Create Table
@@ -36172,7 +36172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6729;
show create table s;
Table Create Table
@@ -36180,7 +36180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6728;
show create table s;
Table Create Table
@@ -36188,7 +36188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6727;
show create table s;
Table Create Table
@@ -36196,7 +36196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6726;
show create table s;
Table Create Table
@@ -36204,7 +36204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6725;
show create table s;
Table Create Table
@@ -36212,7 +36212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6724;
show create table s;
Table Create Table
@@ -36220,7 +36220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6723;
show create table s;
Table Create Table
@@ -36228,7 +36228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6722;
show create table s;
Table Create Table
@@ -36236,7 +36236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6721;
show create table s;
Table Create Table
@@ -36244,7 +36244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6720;
show create table s;
Table Create Table
@@ -36252,7 +36252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6719;
show create table s;
Table Create Table
@@ -36260,7 +36260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6718;
show create table s;
Table Create Table
@@ -36268,7 +36268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6717;
show create table s;
Table Create Table
@@ -36276,7 +36276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6716;
show create table s;
Table Create Table
@@ -36284,7 +36284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6715;
show create table s;
Table Create Table
@@ -36292,7 +36292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6714;
show create table s;
Table Create Table
@@ -36300,7 +36300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6713;
show create table s;
Table Create Table
@@ -36308,7 +36308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6712;
show create table s;
Table Create Table
@@ -36316,7 +36316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6711;
show create table s;
Table Create Table
@@ -36324,7 +36324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6710;
show create table s;
Table Create Table
@@ -36332,7 +36332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6709;
show create table s;
Table Create Table
@@ -36340,7 +36340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6708;
show create table s;
Table Create Table
@@ -36348,7 +36348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6707;
show create table s;
Table Create Table
@@ -36356,7 +36356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6706;
show create table s;
Table Create Table
@@ -36364,7 +36364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6705;
show create table s;
Table Create Table
@@ -36372,7 +36372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6704;
show create table s;
Table Create Table
@@ -36380,7 +36380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6703;
show create table s;
Table Create Table
@@ -36388,7 +36388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6702;
show create table s;
Table Create Table
@@ -36396,7 +36396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6701;
show create table s;
Table Create Table
@@ -36404,7 +36404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6700;
show create table s;
Table Create Table
@@ -36412,7 +36412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6699;
show create table s;
Table Create Table
@@ -36420,7 +36420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6698;
show create table s;
Table Create Table
@@ -36428,7 +36428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6697;
show create table s;
Table Create Table
@@ -36436,7 +36436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6696;
show create table s;
Table Create Table
@@ -36444,7 +36444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6695;
show create table s;
Table Create Table
@@ -36452,7 +36452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6694;
show create table s;
Table Create Table
@@ -36460,7 +36460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6693;
show create table s;
Table Create Table
@@ -36468,7 +36468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6692;
show create table s;
Table Create Table
@@ -36476,7 +36476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6691;
show create table s;
Table Create Table
@@ -36484,7 +36484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6690;
show create table s;
Table Create Table
@@ -36492,7 +36492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6689;
show create table s;
Table Create Table
@@ -36500,7 +36500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6688;
show create table s;
Table Create Table
@@ -36508,7 +36508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6687;
show create table s;
Table Create Table
@@ -36516,7 +36516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6686;
show create table s;
Table Create Table
@@ -36524,7 +36524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6685;
show create table s;
Table Create Table
@@ -36532,7 +36532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6684;
show create table s;
Table Create Table
@@ -36540,7 +36540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6683;
show create table s;
Table Create Table
@@ -36548,7 +36548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6682;
show create table s;
Table Create Table
@@ -36556,7 +36556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6681;
show create table s;
Table Create Table
@@ -36564,7 +36564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6680;
show create table s;
Table Create Table
@@ -36572,7 +36572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6679;
show create table s;
Table Create Table
@@ -36580,7 +36580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6678;
show create table s;
Table Create Table
@@ -36588,7 +36588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6677;
show create table s;
Table Create Table
@@ -36596,7 +36596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6676;
show create table s;
Table Create Table
@@ -36604,7 +36604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6675;
show create table s;
Table Create Table
@@ -36612,7 +36612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6674;
show create table s;
Table Create Table
@@ -36620,7 +36620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6673;
show create table s;
Table Create Table
@@ -36628,7 +36628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6672;
show create table s;
Table Create Table
@@ -36636,7 +36636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6671;
show create table s;
Table Create Table
@@ -36644,7 +36644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6670;
show create table s;
Table Create Table
@@ -36652,7 +36652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6669;
show create table s;
Table Create Table
@@ -36660,7 +36660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6668;
show create table s;
Table Create Table
@@ -36668,7 +36668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6667;
show create table s;
Table Create Table
@@ -36676,7 +36676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6666;
show create table s;
Table Create Table
@@ -36684,7 +36684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6665;
show create table s;
Table Create Table
@@ -36692,7 +36692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6664;
show create table s;
Table Create Table
@@ -36700,7 +36700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6663;
show create table s;
Table Create Table
@@ -36708,7 +36708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6662;
show create table s;
Table Create Table
@@ -36716,7 +36716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6661;
show create table s;
Table Create Table
@@ -36724,7 +36724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6660;
show create table s;
Table Create Table
@@ -36732,7 +36732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6659;
show create table s;
Table Create Table
@@ -36740,7 +36740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6658;
show create table s;
Table Create Table
@@ -36748,7 +36748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6657;
show create table s;
Table Create Table
@@ -36756,7 +36756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6656;
show create table s;
Table Create Table
@@ -36764,7 +36764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6655;
show create table s;
Table Create Table
@@ -36772,7 +36772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6654;
show create table s;
Table Create Table
@@ -36780,7 +36780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6653;
show create table s;
Table Create Table
@@ -36788,7 +36788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6652;
show create table s;
Table Create Table
@@ -36796,7 +36796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6651;
show create table s;
Table Create Table
@@ -36804,7 +36804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6650;
show create table s;
Table Create Table
@@ -36812,7 +36812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6649;
show create table s;
Table Create Table
@@ -36820,7 +36820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6648;
show create table s;
Table Create Table
@@ -36828,7 +36828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6647;
show create table s;
Table Create Table
@@ -36836,7 +36836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6646;
show create table s;
Table Create Table
@@ -36844,7 +36844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6645;
show create table s;
Table Create Table
@@ -36852,7 +36852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6644;
show create table s;
Table Create Table
@@ -36860,7 +36860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6643;
show create table s;
Table Create Table
@@ -36868,7 +36868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6642;
show create table s;
Table Create Table
@@ -36876,7 +36876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6641;
show create table s;
Table Create Table
@@ -36884,7 +36884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6640;
show create table s;
Table Create Table
@@ -36892,7 +36892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6639;
show create table s;
Table Create Table
@@ -36900,7 +36900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6638;
show create table s;
Table Create Table
@@ -36908,7 +36908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6637;
show create table s;
Table Create Table
@@ -36916,7 +36916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6636;
show create table s;
Table Create Table
@@ -36924,7 +36924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6635;
show create table s;
Table Create Table
@@ -36932,7 +36932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6634;
show create table s;
Table Create Table
@@ -36940,7 +36940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6633;
show create table s;
Table Create Table
@@ -36948,7 +36948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6632;
show create table s;
Table Create Table
@@ -36956,7 +36956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6631;
show create table s;
Table Create Table
@@ -36964,7 +36964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6630;
show create table s;
Table Create Table
@@ -36972,7 +36972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6629;
show create table s;
Table Create Table
@@ -36980,7 +36980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6628;
show create table s;
Table Create Table
@@ -36988,7 +36988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6627;
show create table s;
Table Create Table
@@ -36996,7 +36996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6626;
show create table s;
Table Create Table
@@ -37004,7 +37004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6625;
show create table s;
Table Create Table
@@ -37012,7 +37012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6624;
show create table s;
Table Create Table
@@ -37020,7 +37020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6623;
show create table s;
Table Create Table
@@ -37028,7 +37028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6622;
show create table s;
Table Create Table
@@ -37036,7 +37036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6621;
show create table s;
Table Create Table
@@ -37044,7 +37044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6620;
show create table s;
Table Create Table
@@ -37052,7 +37052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6619;
show create table s;
Table Create Table
@@ -37060,7 +37060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6618;
show create table s;
Table Create Table
@@ -37068,7 +37068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6617;
show create table s;
Table Create Table
@@ -37076,7 +37076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6616;
show create table s;
Table Create Table
@@ -37084,7 +37084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6615;
show create table s;
Table Create Table
@@ -37092,7 +37092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6614;
show create table s;
Table Create Table
@@ -37100,7 +37100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6613;
show create table s;
Table Create Table
@@ -37108,7 +37108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6612;
show create table s;
Table Create Table
@@ -37116,7 +37116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6611;
show create table s;
Table Create Table
@@ -37124,7 +37124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6610;
show create table s;
Table Create Table
@@ -37132,7 +37132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6609;
show create table s;
Table Create Table
@@ -37140,7 +37140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6608;
show create table s;
Table Create Table
@@ -37148,7 +37148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6607;
show create table s;
Table Create Table
@@ -37156,7 +37156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6606;
show create table s;
Table Create Table
@@ -37164,7 +37164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6605;
show create table s;
Table Create Table
@@ -37172,7 +37172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6604;
show create table s;
Table Create Table
@@ -37180,7 +37180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6603;
show create table s;
Table Create Table
@@ -37188,7 +37188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6602;
show create table s;
Table Create Table
@@ -37196,7 +37196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6601;
show create table s;
Table Create Table
@@ -37204,7 +37204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6600;
show create table s;
Table Create Table
@@ -37212,7 +37212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6599;
show create table s;
Table Create Table
@@ -37220,7 +37220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6598;
show create table s;
Table Create Table
@@ -37228,7 +37228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6597;
show create table s;
Table Create Table
@@ -37236,7 +37236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6596;
show create table s;
Table Create Table
@@ -37244,7 +37244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6595;
show create table s;
Table Create Table
@@ -37252,7 +37252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6594;
show create table s;
Table Create Table
@@ -37260,7 +37260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6593;
show create table s;
Table Create Table
@@ -37268,7 +37268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6592;
show create table s;
Table Create Table
@@ -37276,7 +37276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6591;
show create table s;
Table Create Table
@@ -37284,7 +37284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6590;
show create table s;
Table Create Table
@@ -37292,7 +37292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6589;
show create table s;
Table Create Table
@@ -37300,7 +37300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6588;
show create table s;
Table Create Table
@@ -37308,7 +37308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6587;
show create table s;
Table Create Table
@@ -37316,7 +37316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6586;
show create table s;
Table Create Table
@@ -37324,7 +37324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6585;
show create table s;
Table Create Table
@@ -37332,7 +37332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6584;
show create table s;
Table Create Table
@@ -37340,7 +37340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6583;
show create table s;
Table Create Table
@@ -37348,7 +37348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6582;
show create table s;
Table Create Table
@@ -37356,7 +37356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6581;
show create table s;
Table Create Table
@@ -37364,7 +37364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6580;
show create table s;
Table Create Table
@@ -37372,7 +37372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6579;
show create table s;
Table Create Table
@@ -37380,7 +37380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6578;
show create table s;
Table Create Table
@@ -37388,7 +37388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6577;
show create table s;
Table Create Table
@@ -37396,7 +37396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6576;
show create table s;
Table Create Table
@@ -37404,7 +37404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6575;
show create table s;
Table Create Table
@@ -37412,7 +37412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6574;
show create table s;
Table Create Table
@@ -37420,7 +37420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6573;
show create table s;
Table Create Table
@@ -37428,7 +37428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6572;
show create table s;
Table Create Table
@@ -37436,7 +37436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6571;
show create table s;
Table Create Table
@@ -37444,7 +37444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6570;
show create table s;
Table Create Table
@@ -37452,7 +37452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6569;
show create table s;
Table Create Table
@@ -37460,7 +37460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6568;
show create table s;
Table Create Table
@@ -37468,7 +37468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6567;
show create table s;
Table Create Table
@@ -37476,7 +37476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6566;
show create table s;
Table Create Table
@@ -37484,7 +37484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6565;
show create table s;
Table Create Table
@@ -37492,7 +37492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6564;
show create table s;
Table Create Table
@@ -37500,7 +37500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6563;
show create table s;
Table Create Table
@@ -37508,7 +37508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6562;
show create table s;
Table Create Table
@@ -37516,7 +37516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6561;
show create table s;
Table Create Table
@@ -37524,7 +37524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6560;
show create table s;
Table Create Table
@@ -37532,7 +37532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6559;
show create table s;
Table Create Table
@@ -37540,7 +37540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6558;
show create table s;
Table Create Table
@@ -37548,7 +37548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6557;
show create table s;
Table Create Table
@@ -37556,7 +37556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6556;
show create table s;
Table Create Table
@@ -37564,7 +37564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6555;
show create table s;
Table Create Table
@@ -37572,7 +37572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6554;
show create table s;
Table Create Table
@@ -37580,7 +37580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6553;
show create table s;
Table Create Table
@@ -37588,7 +37588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6552;
show create table s;
Table Create Table
@@ -37596,7 +37596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6551;
show create table s;
Table Create Table
@@ -37604,7 +37604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6550;
show create table s;
Table Create Table
@@ -37612,7 +37612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6549;
show create table s;
Table Create Table
@@ -37620,7 +37620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6548;
show create table s;
Table Create Table
@@ -37628,7 +37628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6547;
show create table s;
Table Create Table
@@ -37636,7 +37636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6546;
show create table s;
Table Create Table
@@ -37644,7 +37644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6545;
show create table s;
Table Create Table
@@ -37652,7 +37652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6544;
show create table s;
Table Create Table
@@ -37660,7 +37660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6543;
show create table s;
Table Create Table
@@ -37668,7 +37668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6542;
show create table s;
Table Create Table
@@ -37676,7 +37676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6541;
show create table s;
Table Create Table
@@ -37684,7 +37684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6540;
show create table s;
Table Create Table
@@ -37692,7 +37692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6539;
show create table s;
Table Create Table
@@ -37700,7 +37700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6538;
show create table s;
Table Create Table
@@ -37708,7 +37708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6537;
show create table s;
Table Create Table
@@ -37716,7 +37716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6536;
show create table s;
Table Create Table
@@ -37724,7 +37724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6535;
show create table s;
Table Create Table
@@ -37732,7 +37732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6534;
show create table s;
Table Create Table
@@ -37740,7 +37740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6533;
show create table s;
Table Create Table
@@ -37748,7 +37748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6532;
show create table s;
Table Create Table
@@ -37756,7 +37756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6531;
show create table s;
Table Create Table
@@ -37764,7 +37764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6530;
show create table s;
Table Create Table
@@ -37772,7 +37772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6529;
show create table s;
Table Create Table
@@ -37780,7 +37780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6528;
show create table s;
Table Create Table
@@ -37788,7 +37788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6527;
show create table s;
Table Create Table
@@ -37796,7 +37796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6526;
show create table s;
Table Create Table
@@ -37804,7 +37804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6525;
show create table s;
Table Create Table
@@ -37812,7 +37812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6524;
show create table s;
Table Create Table
@@ -37820,7 +37820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6523;
show create table s;
Table Create Table
@@ -37828,7 +37828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6522;
show create table s;
Table Create Table
@@ -37836,7 +37836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6521;
show create table s;
Table Create Table
@@ -37844,7 +37844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6520;
show create table s;
Table Create Table
@@ -37852,7 +37852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6519;
show create table s;
Table Create Table
@@ -37860,7 +37860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6518;
show create table s;
Table Create Table
@@ -37868,7 +37868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6517;
show create table s;
Table Create Table
@@ -37876,7 +37876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6516;
show create table s;
Table Create Table
@@ -37884,7 +37884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6515;
show create table s;
Table Create Table
@@ -37892,7 +37892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6514;
show create table s;
Table Create Table
@@ -37900,7 +37900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6513;
show create table s;
Table Create Table
@@ -37908,7 +37908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6512;
show create table s;
Table Create Table
@@ -37916,7 +37916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6511;
show create table s;
Table Create Table
@@ -37924,7 +37924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6510;
show create table s;
Table Create Table
@@ -37932,7 +37932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6509;
show create table s;
Table Create Table
@@ -37940,7 +37940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6508;
show create table s;
Table Create Table
@@ -37948,7 +37948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6507;
show create table s;
Table Create Table
@@ -37956,7 +37956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6506;
show create table s;
Table Create Table
@@ -37964,7 +37964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6505;
show create table s;
Table Create Table
@@ -37972,7 +37972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6504;
show create table s;
Table Create Table
@@ -37980,7 +37980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6503;
show create table s;
Table Create Table
@@ -37988,7 +37988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6502;
show create table s;
Table Create Table
@@ -37996,7 +37996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6501;
show create table s;
Table Create Table
@@ -38004,7 +38004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6500;
show create table s;
Table Create Table
@@ -38012,7 +38012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6499;
show create table s;
Table Create Table
@@ -38020,7 +38020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6498;
show create table s;
Table Create Table
@@ -38028,7 +38028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6497;
show create table s;
Table Create Table
@@ -38036,7 +38036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6496;
show create table s;
Table Create Table
@@ -38044,7 +38044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6495;
show create table s;
Table Create Table
@@ -38052,7 +38052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6494;
show create table s;
Table Create Table
@@ -38060,7 +38060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6493;
show create table s;
Table Create Table
@@ -38068,7 +38068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6492;
show create table s;
Table Create Table
@@ -38076,7 +38076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6491;
show create table s;
Table Create Table
@@ -38084,7 +38084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6490;
show create table s;
Table Create Table
@@ -38092,7 +38092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6489;
show create table s;
Table Create Table
@@ -38100,7 +38100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6488;
show create table s;
Table Create Table
@@ -38108,7 +38108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6487;
show create table s;
Table Create Table
@@ -38116,7 +38116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6486;
show create table s;
Table Create Table
@@ -38124,7 +38124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6485;
show create table s;
Table Create Table
@@ -38132,7 +38132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6484;
show create table s;
Table Create Table
@@ -38140,7 +38140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6483;
show create table s;
Table Create Table
@@ -38148,7 +38148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6482;
show create table s;
Table Create Table
@@ -38156,7 +38156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6481;
show create table s;
Table Create Table
@@ -38164,7 +38164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6480;
show create table s;
Table Create Table
@@ -38172,7 +38172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6479;
show create table s;
Table Create Table
@@ -38180,7 +38180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6478;
show create table s;
Table Create Table
@@ -38188,7 +38188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6477;
show create table s;
Table Create Table
@@ -38196,7 +38196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6476;
show create table s;
Table Create Table
@@ -38204,7 +38204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6475;
show create table s;
Table Create Table
@@ -38212,7 +38212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6474;
show create table s;
Table Create Table
@@ -38220,7 +38220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6473;
show create table s;
Table Create Table
@@ -38228,7 +38228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6472;
show create table s;
Table Create Table
@@ -38236,7 +38236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6471;
show create table s;
Table Create Table
@@ -38244,7 +38244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6470;
show create table s;
Table Create Table
@@ -38252,7 +38252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6469;
show create table s;
Table Create Table
@@ -38260,7 +38260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6468;
show create table s;
Table Create Table
@@ -38268,7 +38268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6467;
show create table s;
Table Create Table
@@ -38276,7 +38276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6466;
show create table s;
Table Create Table
@@ -38284,7 +38284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6465;
show create table s;
Table Create Table
@@ -38292,7 +38292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6464;
show create table s;
Table Create Table
@@ -38300,7 +38300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6463;
show create table s;
Table Create Table
@@ -38308,7 +38308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6462;
show create table s;
Table Create Table
@@ -38316,7 +38316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6461;
show create table s;
Table Create Table
@@ -38324,7 +38324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6460;
show create table s;
Table Create Table
@@ -38332,7 +38332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6459;
show create table s;
Table Create Table
@@ -38340,7 +38340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6458;
show create table s;
Table Create Table
@@ -38348,7 +38348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6457;
show create table s;
Table Create Table
@@ -38356,7 +38356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6456;
show create table s;
Table Create Table
@@ -38364,7 +38364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6455;
show create table s;
Table Create Table
@@ -38372,7 +38372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6454;
show create table s;
Table Create Table
@@ -38380,7 +38380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6453;
show create table s;
Table Create Table
@@ -38388,7 +38388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6452;
show create table s;
Table Create Table
@@ -38396,7 +38396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6451;
show create table s;
Table Create Table
@@ -38404,7 +38404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6450;
show create table s;
Table Create Table
@@ -38412,7 +38412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6449;
show create table s;
Table Create Table
@@ -38420,7 +38420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6448;
show create table s;
Table Create Table
@@ -38428,7 +38428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6447;
show create table s;
Table Create Table
@@ -38436,7 +38436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6446;
show create table s;
Table Create Table
@@ -38444,7 +38444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6445;
show create table s;
Table Create Table
@@ -38452,7 +38452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6444;
show create table s;
Table Create Table
@@ -38460,7 +38460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6443;
show create table s;
Table Create Table
@@ -38468,7 +38468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6442;
show create table s;
Table Create Table
@@ -38476,7 +38476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6441;
show create table s;
Table Create Table
@@ -38484,7 +38484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6440;
show create table s;
Table Create Table
@@ -38492,7 +38492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6439;
show create table s;
Table Create Table
@@ -38500,7 +38500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6438;
show create table s;
Table Create Table
@@ -38508,7 +38508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6437;
show create table s;
Table Create Table
@@ -38516,7 +38516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6436;
show create table s;
Table Create Table
@@ -38524,7 +38524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6435;
show create table s;
Table Create Table
@@ -38532,7 +38532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6434;
show create table s;
Table Create Table
@@ -38540,7 +38540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6433;
show create table s;
Table Create Table
@@ -38548,7 +38548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6432;
show create table s;
Table Create Table
@@ -38556,7 +38556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6431;
show create table s;
Table Create Table
@@ -38564,7 +38564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6430;
show create table s;
Table Create Table
@@ -38572,7 +38572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6429;
show create table s;
Table Create Table
@@ -38580,7 +38580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6428;
show create table s;
Table Create Table
@@ -38588,7 +38588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6427;
show create table s;
Table Create Table
@@ -38596,7 +38596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6426;
show create table s;
Table Create Table
@@ -38604,7 +38604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6425;
show create table s;
Table Create Table
@@ -38612,7 +38612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6424;
show create table s;
Table Create Table
@@ -38620,7 +38620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6423;
show create table s;
Table Create Table
@@ -38628,7 +38628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6422;
show create table s;
Table Create Table
@@ -38636,7 +38636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6421;
show create table s;
Table Create Table
@@ -38644,7 +38644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6420;
show create table s;
Table Create Table
@@ -38652,7 +38652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6419;
show create table s;
Table Create Table
@@ -38660,7 +38660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6418;
show create table s;
Table Create Table
@@ -38668,7 +38668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6417;
show create table s;
Table Create Table
@@ -38676,7 +38676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6416;
show create table s;
Table Create Table
@@ -38684,7 +38684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6415;
show create table s;
Table Create Table
@@ -38692,7 +38692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6414;
show create table s;
Table Create Table
@@ -38700,7 +38700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6413;
show create table s;
Table Create Table
@@ -38708,7 +38708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6412;
show create table s;
Table Create Table
@@ -38716,7 +38716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6411;
show create table s;
Table Create Table
@@ -38724,7 +38724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6410;
show create table s;
Table Create Table
@@ -38732,7 +38732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6409;
show create table s;
Table Create Table
@@ -38740,7 +38740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6408;
show create table s;
Table Create Table
@@ -38748,7 +38748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6407;
show create table s;
Table Create Table
@@ -38756,7 +38756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6406;
show create table s;
Table Create Table
@@ -38764,7 +38764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6405;
show create table s;
Table Create Table
@@ -38772,7 +38772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6404;
show create table s;
Table Create Table
@@ -38780,7 +38780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6403;
show create table s;
Table Create Table
@@ -38788,7 +38788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6402;
show create table s;
Table Create Table
@@ -38796,7 +38796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6401;
show create table s;
Table Create Table
@@ -38804,7 +38804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6400;
show create table s;
Table Create Table
@@ -38812,7 +38812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6399;
show create table s;
Table Create Table
@@ -38820,7 +38820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6398;
show create table s;
Table Create Table
@@ -38828,7 +38828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6397;
show create table s;
Table Create Table
@@ -38836,7 +38836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6396;
show create table s;
Table Create Table
@@ -38844,7 +38844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6395;
show create table s;
Table Create Table
@@ -38852,7 +38852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6394;
show create table s;
Table Create Table
@@ -38860,7 +38860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6393;
show create table s;
Table Create Table
@@ -38868,7 +38868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6392;
show create table s;
Table Create Table
@@ -38876,7 +38876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6391;
show create table s;
Table Create Table
@@ -38884,7 +38884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6390;
show create table s;
Table Create Table
@@ -38892,7 +38892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6389;
show create table s;
Table Create Table
@@ -38900,7 +38900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6388;
show create table s;
Table Create Table
@@ -38908,7 +38908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6387;
show create table s;
Table Create Table
@@ -38916,7 +38916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6386;
show create table s;
Table Create Table
@@ -38924,7 +38924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6385;
show create table s;
Table Create Table
@@ -38932,7 +38932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6384;
show create table s;
Table Create Table
@@ -38940,7 +38940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6383;
show create table s;
Table Create Table
@@ -38948,7 +38948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6382;
show create table s;
Table Create Table
@@ -38956,7 +38956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6381;
show create table s;
Table Create Table
@@ -38964,7 +38964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6380;
show create table s;
Table Create Table
@@ -38972,7 +38972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6379;
show create table s;
Table Create Table
@@ -38980,7 +38980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6378;
show create table s;
Table Create Table
@@ -38988,7 +38988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6377;
show create table s;
Table Create Table
@@ -38996,7 +38996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6376;
show create table s;
Table Create Table
@@ -39004,7 +39004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6375;
show create table s;
Table Create Table
@@ -39012,7 +39012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6374;
show create table s;
Table Create Table
@@ -39020,7 +39020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6373;
show create table s;
Table Create Table
@@ -39028,7 +39028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6372;
show create table s;
Table Create Table
@@ -39036,7 +39036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6371;
show create table s;
Table Create Table
@@ -39044,7 +39044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6370;
show create table s;
Table Create Table
@@ -39052,7 +39052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6369;
show create table s;
Table Create Table
@@ -39060,7 +39060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6368;
show create table s;
Table Create Table
@@ -39068,7 +39068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6367;
show create table s;
Table Create Table
@@ -39076,7 +39076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6366;
show create table s;
Table Create Table
@@ -39084,7 +39084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6365;
show create table s;
Table Create Table
@@ -39092,7 +39092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6364;
show create table s;
Table Create Table
@@ -39100,7 +39100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6363;
show create table s;
Table Create Table
@@ -39108,7 +39108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6362;
show create table s;
Table Create Table
@@ -39116,7 +39116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6361;
show create table s;
Table Create Table
@@ -39124,7 +39124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6360;
show create table s;
Table Create Table
@@ -39132,7 +39132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6359;
show create table s;
Table Create Table
@@ -39140,7 +39140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6358;
show create table s;
Table Create Table
@@ -39148,7 +39148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6357;
show create table s;
Table Create Table
@@ -39156,7 +39156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6356;
show create table s;
Table Create Table
@@ -39164,7 +39164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6355;
show create table s;
Table Create Table
@@ -39172,7 +39172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6354;
show create table s;
Table Create Table
@@ -39180,7 +39180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6353;
show create table s;
Table Create Table
@@ -39188,7 +39188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6352;
show create table s;
Table Create Table
@@ -39196,7 +39196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6351;
show create table s;
Table Create Table
@@ -39204,7 +39204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6350;
show create table s;
Table Create Table
@@ -39212,7 +39212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6349;
show create table s;
Table Create Table
@@ -39220,7 +39220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6348;
show create table s;
Table Create Table
@@ -39228,7 +39228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6347;
show create table s;
Table Create Table
@@ -39236,7 +39236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6346;
show create table s;
Table Create Table
@@ -39244,7 +39244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6345;
show create table s;
Table Create Table
@@ -39252,7 +39252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6344;
show create table s;
Table Create Table
@@ -39260,7 +39260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6343;
show create table s;
Table Create Table
@@ -39268,7 +39268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6342;
show create table s;
Table Create Table
@@ -39276,7 +39276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6341;
show create table s;
Table Create Table
@@ -39284,7 +39284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6340;
show create table s;
Table Create Table
@@ -39292,7 +39292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6339;
show create table s;
Table Create Table
@@ -39300,7 +39300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6338;
show create table s;
Table Create Table
@@ -39308,7 +39308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6337;
show create table s;
Table Create Table
@@ -39316,7 +39316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6336;
show create table s;
Table Create Table
@@ -39324,7 +39324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6335;
show create table s;
Table Create Table
@@ -39332,7 +39332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6334;
show create table s;
Table Create Table
@@ -39340,7 +39340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6333;
show create table s;
Table Create Table
@@ -39348,7 +39348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6332;
show create table s;
Table Create Table
@@ -39356,7 +39356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6331;
show create table s;
Table Create Table
@@ -39364,7 +39364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6330;
show create table s;
Table Create Table
@@ -39372,7 +39372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6329;
show create table s;
Table Create Table
@@ -39380,7 +39380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6328;
show create table s;
Table Create Table
@@ -39388,7 +39388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6327;
show create table s;
Table Create Table
@@ -39396,7 +39396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6326;
show create table s;
Table Create Table
@@ -39404,7 +39404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6325;
show create table s;
Table Create Table
@@ -39412,7 +39412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6324;
show create table s;
Table Create Table
@@ -39420,7 +39420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6323;
show create table s;
Table Create Table
@@ -39428,7 +39428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6322;
show create table s;
Table Create Table
@@ -39436,7 +39436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6321;
show create table s;
Table Create Table
@@ -39444,7 +39444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6320;
show create table s;
Table Create Table
@@ -39452,7 +39452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6319;
show create table s;
Table Create Table
@@ -39460,7 +39460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6318;
show create table s;
Table Create Table
@@ -39468,7 +39468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6317;
show create table s;
Table Create Table
@@ -39476,7 +39476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6316;
show create table s;
Table Create Table
@@ -39484,7 +39484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6315;
show create table s;
Table Create Table
@@ -39492,7 +39492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6314;
show create table s;
Table Create Table
@@ -39500,7 +39500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6313;
show create table s;
Table Create Table
@@ -39508,7 +39508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6312;
show create table s;
Table Create Table
@@ -39516,7 +39516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6311;
show create table s;
Table Create Table
@@ -39524,7 +39524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6310;
show create table s;
Table Create Table
@@ -39532,7 +39532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6309;
show create table s;
Table Create Table
@@ -39540,7 +39540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6308;
show create table s;
Table Create Table
@@ -39548,7 +39548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6307;
show create table s;
Table Create Table
@@ -39556,7 +39556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6306;
show create table s;
Table Create Table
@@ -39564,7 +39564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6305;
show create table s;
Table Create Table
@@ -39572,7 +39572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6304;
show create table s;
Table Create Table
@@ -39580,7 +39580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6303;
show create table s;
Table Create Table
@@ -39588,7 +39588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6302;
show create table s;
Table Create Table
@@ -39596,7 +39596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6301;
show create table s;
Table Create Table
@@ -39604,7 +39604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6300;
show create table s;
Table Create Table
@@ -39612,7 +39612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6299;
show create table s;
Table Create Table
@@ -39620,7 +39620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6298;
show create table s;
Table Create Table
@@ -39628,7 +39628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6297;
show create table s;
Table Create Table
@@ -39636,7 +39636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6296;
show create table s;
Table Create Table
@@ -39644,7 +39644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6295;
show create table s;
Table Create Table
@@ -39652,7 +39652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6294;
show create table s;
Table Create Table
@@ -39660,7 +39660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6293;
show create table s;
Table Create Table
@@ -39668,7 +39668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6292;
show create table s;
Table Create Table
@@ -39676,7 +39676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6291;
show create table s;
Table Create Table
@@ -39684,7 +39684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6290;
show create table s;
Table Create Table
@@ -39692,7 +39692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6289;
show create table s;
Table Create Table
@@ -39700,7 +39700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6288;
show create table s;
Table Create Table
@@ -39708,7 +39708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6287;
show create table s;
Table Create Table
@@ -39716,7 +39716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6286;
show create table s;
Table Create Table
@@ -39724,7 +39724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6285;
show create table s;
Table Create Table
@@ -39732,7 +39732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6284;
show create table s;
Table Create Table
@@ -39740,7 +39740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6283;
show create table s;
Table Create Table
@@ -39748,7 +39748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6282;
show create table s;
Table Create Table
@@ -39756,7 +39756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6281;
show create table s;
Table Create Table
@@ -39764,7 +39764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6280;
show create table s;
Table Create Table
@@ -39772,7 +39772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6279;
show create table s;
Table Create Table
@@ -39780,7 +39780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6278;
show create table s;
Table Create Table
@@ -39788,7 +39788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6277;
show create table s;
Table Create Table
@@ -39796,7 +39796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6276;
show create table s;
Table Create Table
@@ -39804,7 +39804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6275;
show create table s;
Table Create Table
@@ -39812,7 +39812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6274;
show create table s;
Table Create Table
@@ -39820,7 +39820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6273;
show create table s;
Table Create Table
@@ -39828,7 +39828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6272;
show create table s;
Table Create Table
@@ -39836,7 +39836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6271;
show create table s;
Table Create Table
@@ -39844,7 +39844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6270;
show create table s;
Table Create Table
@@ -39852,7 +39852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6269;
show create table s;
Table Create Table
@@ -39860,7 +39860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6268;
show create table s;
Table Create Table
@@ -39868,7 +39868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6267;
show create table s;
Table Create Table
@@ -39876,7 +39876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6266;
show create table s;
Table Create Table
@@ -39884,7 +39884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6265;
show create table s;
Table Create Table
@@ -39892,7 +39892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6264;
show create table s;
Table Create Table
@@ -39900,7 +39900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6263;
show create table s;
Table Create Table
@@ -39908,7 +39908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6262;
show create table s;
Table Create Table
@@ -39916,7 +39916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6261;
show create table s;
Table Create Table
@@ -39924,7 +39924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6260;
show create table s;
Table Create Table
@@ -39932,7 +39932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6259;
show create table s;
Table Create Table
@@ -39940,7 +39940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6258;
show create table s;
Table Create Table
@@ -39948,7 +39948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6257;
show create table s;
Table Create Table
@@ -39956,7 +39956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6256;
show create table s;
Table Create Table
@@ -39964,7 +39964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6255;
show create table s;
Table Create Table
@@ -39972,7 +39972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6254;
show create table s;
Table Create Table
@@ -39980,7 +39980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6253;
show create table s;
Table Create Table
@@ -39988,7 +39988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6252;
show create table s;
Table Create Table
@@ -39996,7 +39996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6251;
show create table s;
Table Create Table
@@ -40004,7 +40004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6250;
show create table s;
Table Create Table
@@ -40012,7 +40012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6249;
show create table s;
Table Create Table
@@ -40020,7 +40020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6248;
show create table s;
Table Create Table
@@ -40028,7 +40028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6247;
show create table s;
Table Create Table
@@ -40036,7 +40036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6246;
show create table s;
Table Create Table
@@ -40044,7 +40044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6245;
show create table s;
Table Create Table
@@ -40052,7 +40052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6244;
show create table s;
Table Create Table
@@ -40060,7 +40060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6243;
show create table s;
Table Create Table
@@ -40068,7 +40068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6242;
show create table s;
Table Create Table
@@ -40076,7 +40076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6241;
show create table s;
Table Create Table
@@ -40084,7 +40084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6240;
show create table s;
Table Create Table
@@ -40092,7 +40092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6239;
show create table s;
Table Create Table
@@ -40100,7 +40100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6238;
show create table s;
Table Create Table
@@ -40108,7 +40108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6237;
show create table s;
Table Create Table
@@ -40116,7 +40116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6236;
show create table s;
Table Create Table
@@ -40124,7 +40124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6235;
show create table s;
Table Create Table
@@ -40132,7 +40132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6234;
show create table s;
Table Create Table
@@ -40140,7 +40140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6233;
show create table s;
Table Create Table
@@ -40148,7 +40148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6232;
show create table s;
Table Create Table
@@ -40156,7 +40156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6231;
show create table s;
Table Create Table
@@ -40164,7 +40164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6230;
show create table s;
Table Create Table
@@ -40172,7 +40172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6229;
show create table s;
Table Create Table
@@ -40180,7 +40180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6228;
show create table s;
Table Create Table
@@ -40188,7 +40188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6227;
show create table s;
Table Create Table
@@ -40196,7 +40196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6226;
show create table s;
Table Create Table
@@ -40204,7 +40204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6225;
show create table s;
Table Create Table
@@ -40212,7 +40212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6224;
show create table s;
Table Create Table
@@ -40220,7 +40220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6223;
show create table s;
Table Create Table
@@ -40228,7 +40228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6222;
show create table s;
Table Create Table
@@ -40236,7 +40236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6221;
show create table s;
Table Create Table
@@ -40244,7 +40244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6220;
show create table s;
Table Create Table
@@ -40252,7 +40252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6219;
show create table s;
Table Create Table
@@ -40260,7 +40260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6218;
show create table s;
Table Create Table
@@ -40268,7 +40268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6217;
show create table s;
Table Create Table
@@ -40276,7 +40276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6216;
show create table s;
Table Create Table
@@ -40284,7 +40284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6215;
show create table s;
Table Create Table
@@ -40292,7 +40292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6214;
show create table s;
Table Create Table
@@ -40300,7 +40300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6213;
show create table s;
Table Create Table
@@ -40308,7 +40308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6212;
show create table s;
Table Create Table
@@ -40316,7 +40316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6211;
show create table s;
Table Create Table
@@ -40324,7 +40324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6210;
show create table s;
Table Create Table
@@ -40332,7 +40332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6209;
show create table s;
Table Create Table
@@ -40340,7 +40340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6208;
show create table s;
Table Create Table
@@ -40348,7 +40348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6207;
show create table s;
Table Create Table
@@ -40356,7 +40356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6206;
show create table s;
Table Create Table
@@ -40364,7 +40364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6205;
show create table s;
Table Create Table
@@ -40372,7 +40372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6204;
show create table s;
Table Create Table
@@ -40380,7 +40380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6203;
show create table s;
Table Create Table
@@ -40388,7 +40388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6202;
show create table s;
Table Create Table
@@ -40396,7 +40396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6201;
show create table s;
Table Create Table
@@ -40404,7 +40404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6200;
show create table s;
Table Create Table
@@ -40412,7 +40412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6199;
show create table s;
Table Create Table
@@ -40420,7 +40420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6198;
show create table s;
Table Create Table
@@ -40428,7 +40428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6197;
show create table s;
Table Create Table
@@ -40436,7 +40436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6196;
show create table s;
Table Create Table
@@ -40444,7 +40444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6195;
show create table s;
Table Create Table
@@ -40452,7 +40452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6194;
show create table s;
Table Create Table
@@ -40460,7 +40460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6193;
show create table s;
Table Create Table
@@ -40468,7 +40468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6192;
show create table s;
Table Create Table
@@ -40476,7 +40476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6191;
show create table s;
Table Create Table
@@ -40484,7 +40484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6190;
show create table s;
Table Create Table
@@ -40492,7 +40492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6189;
show create table s;
Table Create Table
@@ -40500,7 +40500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6188;
show create table s;
Table Create Table
@@ -40508,7 +40508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6187;
show create table s;
Table Create Table
@@ -40516,7 +40516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6186;
show create table s;
Table Create Table
@@ -40524,7 +40524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6185;
show create table s;
Table Create Table
@@ -40532,7 +40532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6184;
show create table s;
Table Create Table
@@ -40540,7 +40540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6183;
show create table s;
Table Create Table
@@ -40548,7 +40548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6182;
show create table s;
Table Create Table
@@ -40556,7 +40556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6181;
show create table s;
Table Create Table
@@ -40564,7 +40564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6180;
show create table s;
Table Create Table
@@ -40572,7 +40572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6179;
show create table s;
Table Create Table
@@ -40580,7 +40580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6178;
show create table s;
Table Create Table
@@ -40588,7 +40588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6177;
show create table s;
Table Create Table
@@ -40596,7 +40596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6176;
show create table s;
Table Create Table
@@ -40604,7 +40604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6175;
show create table s;
Table Create Table
@@ -40612,7 +40612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6174;
show create table s;
Table Create Table
@@ -40620,7 +40620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6173;
show create table s;
Table Create Table
@@ -40628,7 +40628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6172;
show create table s;
Table Create Table
@@ -40636,7 +40636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6171;
show create table s;
Table Create Table
@@ -40644,7 +40644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6170;
show create table s;
Table Create Table
@@ -40652,7 +40652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6169;
show create table s;
Table Create Table
@@ -40660,7 +40660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6168;
show create table s;
Table Create Table
@@ -40668,7 +40668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6167;
show create table s;
Table Create Table
@@ -40676,7 +40676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6166;
show create table s;
Table Create Table
@@ -40684,7 +40684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6165;
show create table s;
Table Create Table
@@ -40692,7 +40692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6164;
show create table s;
Table Create Table
@@ -40700,7 +40700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6163;
show create table s;
Table Create Table
@@ -40708,7 +40708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6162;
show create table s;
Table Create Table
@@ -40716,7 +40716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6161;
show create table s;
Table Create Table
@@ -40724,7 +40724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6160;
show create table s;
Table Create Table
@@ -40732,7 +40732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6159;
show create table s;
Table Create Table
@@ -40740,7 +40740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6158;
show create table s;
Table Create Table
@@ -40748,7 +40748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6157;
show create table s;
Table Create Table
@@ -40756,7 +40756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6156;
show create table s;
Table Create Table
@@ -40764,7 +40764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6155;
show create table s;
Table Create Table
@@ -40772,7 +40772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6154;
show create table s;
Table Create Table
@@ -40780,7 +40780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6153;
show create table s;
Table Create Table
@@ -40788,7 +40788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6152;
show create table s;
Table Create Table
@@ -40796,7 +40796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6151;
show create table s;
Table Create Table
@@ -40804,7 +40804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6150;
show create table s;
Table Create Table
@@ -40812,7 +40812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6149;
show create table s;
Table Create Table
@@ -40820,7 +40820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6148;
show create table s;
Table Create Table
@@ -40828,7 +40828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6147;
show create table s;
Table Create Table
@@ -40836,7 +40836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6146;
show create table s;
Table Create Table
@@ -40844,7 +40844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6145;
show create table s;
Table Create Table
@@ -40852,7 +40852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6144;
show create table s;
Table Create Table
@@ -40860,7 +40860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6143;
show create table s;
Table Create Table
@@ -40868,7 +40868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6142;
show create table s;
Table Create Table
@@ -40876,7 +40876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6141;
show create table s;
Table Create Table
@@ -40884,7 +40884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6140;
show create table s;
Table Create Table
@@ -40892,7 +40892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6139;
show create table s;
Table Create Table
@@ -40900,7 +40900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6138;
show create table s;
Table Create Table
@@ -40908,7 +40908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6137;
show create table s;
Table Create Table
@@ -40916,7 +40916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6136;
show create table s;
Table Create Table
@@ -40924,7 +40924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6135;
show create table s;
Table Create Table
@@ -40932,7 +40932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6134;
show create table s;
Table Create Table
@@ -40940,7 +40940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6133;
show create table s;
Table Create Table
@@ -40948,7 +40948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6132;
show create table s;
Table Create Table
@@ -40956,7 +40956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6131;
show create table s;
Table Create Table
@@ -40964,7 +40964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6130;
show create table s;
Table Create Table
@@ -40972,7 +40972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6129;
show create table s;
Table Create Table
@@ -40980,7 +40980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6128;
show create table s;
Table Create Table
@@ -40988,7 +40988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6127;
show create table s;
Table Create Table
@@ -40996,7 +40996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6126;
show create table s;
Table Create Table
@@ -41004,7 +41004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6125;
show create table s;
Table Create Table
@@ -41012,7 +41012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6124;
show create table s;
Table Create Table
@@ -41020,7 +41020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6123;
show create table s;
Table Create Table
@@ -41028,7 +41028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6122;
show create table s;
Table Create Table
@@ -41036,7 +41036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6121;
show create table s;
Table Create Table
@@ -41044,7 +41044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6120;
show create table s;
Table Create Table
@@ -41052,7 +41052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6119;
show create table s;
Table Create Table
@@ -41060,7 +41060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6118;
show create table s;
Table Create Table
@@ -41068,7 +41068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6117;
show create table s;
Table Create Table
@@ -41076,7 +41076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6116;
show create table s;
Table Create Table
@@ -41084,7 +41084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6115;
show create table s;
Table Create Table
@@ -41092,7 +41092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6114;
show create table s;
Table Create Table
@@ -41100,7 +41100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6113;
show create table s;
Table Create Table
@@ -41108,7 +41108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6112;
show create table s;
Table Create Table
@@ -41116,7 +41116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6111;
show create table s;
Table Create Table
@@ -41124,7 +41124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6110;
show create table s;
Table Create Table
@@ -41132,7 +41132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6109;
show create table s;
Table Create Table
@@ -41140,7 +41140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6108;
show create table s;
Table Create Table
@@ -41148,7 +41148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6107;
show create table s;
Table Create Table
@@ -41156,7 +41156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6106;
show create table s;
Table Create Table
@@ -41164,7 +41164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6105;
show create table s;
Table Create Table
@@ -41172,7 +41172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6104;
show create table s;
Table Create Table
@@ -41180,7 +41180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6103;
show create table s;
Table Create Table
@@ -41188,7 +41188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6102;
show create table s;
Table Create Table
@@ -41196,7 +41196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6101;
show create table s;
Table Create Table
@@ -41204,7 +41204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6100;
show create table s;
Table Create Table
@@ -41212,7 +41212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6099;
show create table s;
Table Create Table
@@ -41220,7 +41220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6098;
show create table s;
Table Create Table
@@ -41228,7 +41228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6097;
show create table s;
Table Create Table
@@ -41236,7 +41236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6096;
show create table s;
Table Create Table
@@ -41244,7 +41244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6095;
show create table s;
Table Create Table
@@ -41252,7 +41252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6094;
show create table s;
Table Create Table
@@ -41260,7 +41260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6093;
show create table s;
Table Create Table
@@ -41268,7 +41268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6092;
show create table s;
Table Create Table
@@ -41276,7 +41276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6091;
show create table s;
Table Create Table
@@ -41284,7 +41284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6090;
show create table s;
Table Create Table
@@ -41292,7 +41292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6089;
show create table s;
Table Create Table
@@ -41300,7 +41300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6088;
show create table s;
Table Create Table
@@ -41308,7 +41308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6087;
show create table s;
Table Create Table
@@ -41316,7 +41316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6086;
show create table s;
Table Create Table
@@ -41324,7 +41324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6085;
show create table s;
Table Create Table
@@ -41332,7 +41332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6084;
show create table s;
Table Create Table
@@ -41340,7 +41340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6083;
show create table s;
Table Create Table
@@ -41348,7 +41348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6082;
show create table s;
Table Create Table
@@ -41356,7 +41356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6081;
show create table s;
Table Create Table
@@ -41364,7 +41364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6080;
show create table s;
Table Create Table
@@ -41372,7 +41372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6079;
show create table s;
Table Create Table
@@ -41380,7 +41380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6078;
show create table s;
Table Create Table
@@ -41388,7 +41388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6077;
show create table s;
Table Create Table
@@ -41396,7 +41396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6076;
show create table s;
Table Create Table
@@ -41404,7 +41404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6075;
show create table s;
Table Create Table
@@ -41412,7 +41412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6074;
show create table s;
Table Create Table
@@ -41420,7 +41420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6073;
show create table s;
Table Create Table
@@ -41428,7 +41428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6072;
show create table s;
Table Create Table
@@ -41436,7 +41436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6071;
show create table s;
Table Create Table
@@ -41444,7 +41444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6070;
show create table s;
Table Create Table
@@ -41452,7 +41452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6069;
show create table s;
Table Create Table
@@ -41460,7 +41460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6068;
show create table s;
Table Create Table
@@ -41468,7 +41468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6067;
show create table s;
Table Create Table
@@ -41476,7 +41476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6066;
show create table s;
Table Create Table
@@ -41484,7 +41484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6065;
show create table s;
Table Create Table
@@ -41492,7 +41492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6064;
show create table s;
Table Create Table
@@ -41500,7 +41500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6063;
show create table s;
Table Create Table
@@ -41508,7 +41508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6062;
show create table s;
Table Create Table
@@ -41516,7 +41516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6061;
show create table s;
Table Create Table
@@ -41524,7 +41524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6060;
show create table s;
Table Create Table
@@ -41532,7 +41532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6059;
show create table s;
Table Create Table
@@ -41540,7 +41540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6058;
show create table s;
Table Create Table
@@ -41548,7 +41548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6057;
show create table s;
Table Create Table
@@ -41556,7 +41556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6056;
show create table s;
Table Create Table
@@ -41564,7 +41564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6055;
show create table s;
Table Create Table
@@ -41572,7 +41572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6054;
show create table s;
Table Create Table
@@ -41580,7 +41580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6053;
show create table s;
Table Create Table
@@ -41588,7 +41588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6052;
show create table s;
Table Create Table
@@ -41596,7 +41596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6051;
show create table s;
Table Create Table
@@ -41604,7 +41604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6050;
show create table s;
Table Create Table
@@ -41612,7 +41612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6049;
show create table s;
Table Create Table
@@ -41620,7 +41620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6048;
show create table s;
Table Create Table
@@ -41628,7 +41628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6047;
show create table s;
Table Create Table
@@ -41636,7 +41636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6046;
show create table s;
Table Create Table
@@ -41644,7 +41644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6045;
show create table s;
Table Create Table
@@ -41652,7 +41652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6044;
show create table s;
Table Create Table
@@ -41660,7 +41660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6043;
show create table s;
Table Create Table
@@ -41668,7 +41668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6042;
show create table s;
Table Create Table
@@ -41676,7 +41676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6041;
show create table s;
Table Create Table
@@ -41684,7 +41684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6040;
show create table s;
Table Create Table
@@ -41692,7 +41692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6039;
show create table s;
Table Create Table
@@ -41700,7 +41700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6038;
show create table s;
Table Create Table
@@ -41708,7 +41708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6037;
show create table s;
Table Create Table
@@ -41716,7 +41716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6036;
show create table s;
Table Create Table
@@ -41724,7 +41724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6035;
show create table s;
Table Create Table
@@ -41732,7 +41732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6034;
show create table s;
Table Create Table
@@ -41740,7 +41740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6033;
show create table s;
Table Create Table
@@ -41748,7 +41748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6032;
show create table s;
Table Create Table
@@ -41756,7 +41756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6031;
show create table s;
Table Create Table
@@ -41764,7 +41764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6030;
show create table s;
Table Create Table
@@ -41772,7 +41772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6029;
show create table s;
Table Create Table
@@ -41780,7 +41780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6028;
show create table s;
Table Create Table
@@ -41788,7 +41788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6027;
show create table s;
Table Create Table
@@ -41796,7 +41796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6026;
show create table s;
Table Create Table
@@ -41804,7 +41804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6025;
show create table s;
Table Create Table
@@ -41812,7 +41812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6024;
show create table s;
Table Create Table
@@ -41820,7 +41820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6023;
show create table s;
Table Create Table
@@ -41828,7 +41828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6022;
show create table s;
Table Create Table
@@ -41836,7 +41836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6021;
show create table s;
Table Create Table
@@ -41844,7 +41844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6020;
show create table s;
Table Create Table
@@ -41852,7 +41852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6019;
show create table s;
Table Create Table
@@ -41860,7 +41860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6018;
show create table s;
Table Create Table
@@ -41868,7 +41868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6017;
show create table s;
Table Create Table
@@ -41876,7 +41876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6016;
show create table s;
Table Create Table
@@ -41884,7 +41884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6015;
show create table s;
Table Create Table
@@ -41892,7 +41892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6014;
show create table s;
Table Create Table
@@ -41900,7 +41900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6013;
show create table s;
Table Create Table
@@ -41908,7 +41908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6012;
show create table s;
Table Create Table
@@ -41916,7 +41916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6011;
show create table s;
Table Create Table
@@ -41924,7 +41924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6010;
show create table s;
Table Create Table
@@ -41932,7 +41932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6009;
show create table s;
Table Create Table
@@ -41940,7 +41940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6008;
show create table s;
Table Create Table
@@ -41948,7 +41948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6007;
show create table s;
Table Create Table
@@ -41956,7 +41956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6006;
show create table s;
Table Create Table
@@ -41964,7 +41964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6005;
show create table s;
Table Create Table
@@ -41972,7 +41972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6004;
show create table s;
Table Create Table
@@ -41980,7 +41980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6003;
show create table s;
Table Create Table
@@ -41988,7 +41988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6002;
show create table s;
Table Create Table
@@ -41996,7 +41996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6001;
show create table s;
Table Create Table
@@ -42004,7 +42004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6000;
show create table s;
Table Create Table
@@ -42012,7 +42012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5999;
show create table s;
Table Create Table
@@ -42020,7 +42020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5998;
show create table s;
Table Create Table
@@ -42028,7 +42028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5997;
show create table s;
Table Create Table
@@ -42036,7 +42036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5996;
show create table s;
Table Create Table
@@ -42044,7 +42044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5995;
show create table s;
Table Create Table
@@ -42052,7 +42052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5994;
show create table s;
Table Create Table
@@ -42060,7 +42060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5993;
show create table s;
Table Create Table
@@ -42068,7 +42068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5992;
show create table s;
Table Create Table
@@ -42076,7 +42076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5991;
show create table s;
Table Create Table
@@ -42084,7 +42084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5990;
show create table s;
Table Create Table
@@ -42092,7 +42092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5989;
show create table s;
Table Create Table
@@ -42100,7 +42100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5988;
show create table s;
Table Create Table
@@ -42108,7 +42108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5987;
show create table s;
Table Create Table
@@ -42116,7 +42116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5986;
show create table s;
Table Create Table
@@ -42124,7 +42124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5985;
show create table s;
Table Create Table
@@ -42132,7 +42132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5984;
show create table s;
Table Create Table
@@ -42140,7 +42140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5983;
show create table s;
Table Create Table
@@ -42148,7 +42148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5982;
show create table s;
Table Create Table
@@ -42156,7 +42156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5981;
show create table s;
Table Create Table
@@ -42164,7 +42164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5980;
show create table s;
Table Create Table
@@ -42172,7 +42172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5979;
show create table s;
Table Create Table
@@ -42180,7 +42180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5978;
show create table s;
Table Create Table
@@ -42188,7 +42188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5977;
show create table s;
Table Create Table
@@ -42196,7 +42196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5976;
show create table s;
Table Create Table
@@ -42204,7 +42204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5975;
show create table s;
Table Create Table
@@ -42212,7 +42212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5974;
show create table s;
Table Create Table
@@ -42220,7 +42220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5973;
show create table s;
Table Create Table
@@ -42228,7 +42228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5972;
show create table s;
Table Create Table
@@ -42236,7 +42236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5971;
show create table s;
Table Create Table
@@ -42244,7 +42244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5970;
show create table s;
Table Create Table
@@ -42252,7 +42252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5969;
show create table s;
Table Create Table
@@ -42260,7 +42260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5968;
show create table s;
Table Create Table
@@ -42268,7 +42268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5967;
show create table s;
Table Create Table
@@ -42276,7 +42276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5966;
show create table s;
Table Create Table
@@ -42284,7 +42284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5965;
show create table s;
Table Create Table
@@ -42292,7 +42292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5964;
show create table s;
Table Create Table
@@ -42300,7 +42300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5963;
show create table s;
Table Create Table
@@ -42308,7 +42308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5962;
show create table s;
Table Create Table
@@ -42316,7 +42316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5961;
show create table s;
Table Create Table
@@ -42324,7 +42324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5960;
show create table s;
Table Create Table
@@ -42332,7 +42332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5959;
show create table s;
Table Create Table
@@ -42340,7 +42340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5958;
show create table s;
Table Create Table
@@ -42348,7 +42348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5957;
show create table s;
Table Create Table
@@ -42356,7 +42356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5956;
show create table s;
Table Create Table
@@ -42364,7 +42364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5955;
show create table s;
Table Create Table
@@ -42372,7 +42372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5954;
show create table s;
Table Create Table
@@ -42380,7 +42380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5953;
show create table s;
Table Create Table
@@ -42388,7 +42388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5952;
show create table s;
Table Create Table
@@ -42396,7 +42396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5951;
show create table s;
Table Create Table
@@ -42404,7 +42404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5950;
show create table s;
Table Create Table
@@ -42412,7 +42412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5949;
show create table s;
Table Create Table
@@ -42420,7 +42420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5948;
show create table s;
Table Create Table
@@ -42428,7 +42428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5947;
show create table s;
Table Create Table
@@ -42436,7 +42436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5946;
show create table s;
Table Create Table
@@ -42444,7 +42444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5945;
show create table s;
Table Create Table
@@ -42452,7 +42452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5944;
show create table s;
Table Create Table
@@ -42460,7 +42460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5943;
show create table s;
Table Create Table
@@ -42468,7 +42468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5942;
show create table s;
Table Create Table
@@ -42476,7 +42476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5941;
show create table s;
Table Create Table
@@ -42484,7 +42484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5940;
show create table s;
Table Create Table
@@ -42492,7 +42492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5939;
show create table s;
Table Create Table
@@ -42500,7 +42500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5938;
show create table s;
Table Create Table
@@ -42508,7 +42508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5937;
show create table s;
Table Create Table
@@ -42516,7 +42516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5936;
show create table s;
Table Create Table
@@ -42524,7 +42524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5935;
show create table s;
Table Create Table
@@ -42532,7 +42532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5934;
show create table s;
Table Create Table
@@ -42540,7 +42540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5933;
show create table s;
Table Create Table
@@ -42548,7 +42548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5932;
show create table s;
Table Create Table
@@ -42556,7 +42556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5931;
show create table s;
Table Create Table
@@ -42564,7 +42564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5930;
show create table s;
Table Create Table
@@ -42572,7 +42572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5929;
show create table s;
Table Create Table
@@ -42580,7 +42580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5928;
show create table s;
Table Create Table
@@ -42588,7 +42588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5927;
show create table s;
Table Create Table
@@ -42596,7 +42596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5926;
show create table s;
Table Create Table
@@ -42604,7 +42604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5925;
show create table s;
Table Create Table
@@ -42612,7 +42612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5924;
show create table s;
Table Create Table
@@ -42620,7 +42620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5923;
show create table s;
Table Create Table
@@ -42628,7 +42628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5922;
show create table s;
Table Create Table
@@ -42636,7 +42636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5921;
show create table s;
Table Create Table
@@ -42644,7 +42644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5920;
show create table s;
Table Create Table
@@ -42652,7 +42652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5919;
show create table s;
Table Create Table
@@ -42660,7 +42660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5918;
show create table s;
Table Create Table
@@ -42668,7 +42668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5917;
show create table s;
Table Create Table
@@ -42676,7 +42676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5916;
show create table s;
Table Create Table
@@ -42684,7 +42684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5915;
show create table s;
Table Create Table
@@ -42692,7 +42692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5914;
show create table s;
Table Create Table
@@ -42700,7 +42700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5913;
show create table s;
Table Create Table
@@ -42708,7 +42708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5912;
show create table s;
Table Create Table
@@ -42716,7 +42716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5911;
show create table s;
Table Create Table
@@ -42724,7 +42724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5910;
show create table s;
Table Create Table
@@ -42732,7 +42732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5909;
show create table s;
Table Create Table
@@ -42740,7 +42740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5908;
show create table s;
Table Create Table
@@ -42748,7 +42748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5907;
show create table s;
Table Create Table
@@ -42756,7 +42756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5906;
show create table s;
Table Create Table
@@ -42764,7 +42764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5905;
show create table s;
Table Create Table
@@ -42772,7 +42772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5904;
show create table s;
Table Create Table
@@ -42780,7 +42780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5903;
show create table s;
Table Create Table
@@ -42788,7 +42788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5902;
show create table s;
Table Create Table
@@ -42796,7 +42796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5901;
show create table s;
Table Create Table
@@ -42804,7 +42804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5900;
show create table s;
Table Create Table
@@ -42812,7 +42812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5899;
show create table s;
Table Create Table
@@ -42820,7 +42820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5898;
show create table s;
Table Create Table
@@ -42828,7 +42828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5897;
show create table s;
Table Create Table
@@ -42836,7 +42836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5896;
show create table s;
Table Create Table
@@ -42844,7 +42844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5895;
show create table s;
Table Create Table
@@ -42852,7 +42852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5894;
show create table s;
Table Create Table
@@ -42860,7 +42860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5893;
show create table s;
Table Create Table
@@ -42868,7 +42868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5892;
show create table s;
Table Create Table
@@ -42876,7 +42876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5891;
show create table s;
Table Create Table
@@ -42884,7 +42884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5890;
show create table s;
Table Create Table
@@ -42892,7 +42892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5889;
show create table s;
Table Create Table
@@ -42900,7 +42900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5888;
show create table s;
Table Create Table
@@ -42908,7 +42908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5887;
show create table s;
Table Create Table
@@ -42916,7 +42916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5886;
show create table s;
Table Create Table
@@ -42924,7 +42924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5885;
show create table s;
Table Create Table
@@ -42932,7 +42932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5884;
show create table s;
Table Create Table
@@ -42940,7 +42940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5883;
show create table s;
Table Create Table
@@ -42948,7 +42948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5882;
show create table s;
Table Create Table
@@ -42956,7 +42956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5881;
show create table s;
Table Create Table
@@ -42964,7 +42964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5880;
show create table s;
Table Create Table
@@ -42972,7 +42972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5879;
show create table s;
Table Create Table
@@ -42980,7 +42980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5878;
show create table s;
Table Create Table
@@ -42988,7 +42988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5877;
show create table s;
Table Create Table
@@ -42996,7 +42996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5876;
show create table s;
Table Create Table
@@ -43004,7 +43004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5875;
show create table s;
Table Create Table
@@ -43012,7 +43012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5874;
show create table s;
Table Create Table
@@ -43020,7 +43020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5873;
show create table s;
Table Create Table
@@ -43028,7 +43028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5872;
show create table s;
Table Create Table
@@ -43036,7 +43036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5871;
show create table s;
Table Create Table
@@ -43044,7 +43044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5870;
show create table s;
Table Create Table
@@ -43052,7 +43052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5869;
show create table s;
Table Create Table
@@ -43060,7 +43060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5868;
show create table s;
Table Create Table
@@ -43068,7 +43068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5867;
show create table s;
Table Create Table
@@ -43076,7 +43076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5866;
show create table s;
Table Create Table
@@ -43084,7 +43084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5865;
show create table s;
Table Create Table
@@ -43092,7 +43092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5864;
show create table s;
Table Create Table
@@ -43100,7 +43100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5863;
show create table s;
Table Create Table
@@ -43108,7 +43108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5862;
show create table s;
Table Create Table
@@ -43116,7 +43116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5861;
show create table s;
Table Create Table
@@ -43124,7 +43124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5860;
show create table s;
Table Create Table
@@ -43132,7 +43132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5859;
show create table s;
Table Create Table
@@ -43140,7 +43140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5858;
show create table s;
Table Create Table
@@ -43148,7 +43148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5857;
show create table s;
Table Create Table
@@ -43156,7 +43156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5856;
show create table s;
Table Create Table
@@ -43164,7 +43164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5855;
show create table s;
Table Create Table
@@ -43172,7 +43172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5854;
show create table s;
Table Create Table
@@ -43180,7 +43180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5853;
show create table s;
Table Create Table
@@ -43188,7 +43188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5852;
show create table s;
Table Create Table
@@ -43196,7 +43196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5851;
show create table s;
Table Create Table
@@ -43204,7 +43204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5850;
show create table s;
Table Create Table
@@ -43212,7 +43212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5849;
show create table s;
Table Create Table
@@ -43220,7 +43220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5848;
show create table s;
Table Create Table
@@ -43228,7 +43228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5847;
show create table s;
Table Create Table
@@ -43236,7 +43236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5846;
show create table s;
Table Create Table
@@ -43244,7 +43244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5845;
show create table s;
Table Create Table
@@ -43252,7 +43252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5844;
show create table s;
Table Create Table
@@ -43260,7 +43260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5843;
show create table s;
Table Create Table
@@ -43268,7 +43268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5842;
show create table s;
Table Create Table
@@ -43276,7 +43276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5841;
show create table s;
Table Create Table
@@ -43284,7 +43284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5840;
show create table s;
Table Create Table
@@ -43292,7 +43292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5839;
show create table s;
Table Create Table
@@ -43300,7 +43300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5838;
show create table s;
Table Create Table
@@ -43308,7 +43308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5837;
show create table s;
Table Create Table
@@ -43316,7 +43316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5836;
show create table s;
Table Create Table
@@ -43324,7 +43324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5835;
show create table s;
Table Create Table
@@ -43332,7 +43332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5834;
show create table s;
Table Create Table
@@ -43340,7 +43340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5833;
show create table s;
Table Create Table
@@ -43348,7 +43348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5832;
show create table s;
Table Create Table
@@ -43356,7 +43356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5831;
show create table s;
Table Create Table
@@ -43364,7 +43364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5830;
show create table s;
Table Create Table
@@ -43372,7 +43372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5829;
show create table s;
Table Create Table
@@ -43380,7 +43380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5828;
show create table s;
Table Create Table
@@ -43388,7 +43388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5827;
show create table s;
Table Create Table
@@ -43396,7 +43396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5826;
show create table s;
Table Create Table
@@ -43404,7 +43404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5825;
show create table s;
Table Create Table
@@ -43412,7 +43412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5824;
show create table s;
Table Create Table
@@ -43420,7 +43420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5823;
show create table s;
Table Create Table
@@ -43428,7 +43428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5822;
show create table s;
Table Create Table
@@ -43436,7 +43436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5821;
show create table s;
Table Create Table
@@ -43444,7 +43444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5820;
show create table s;
Table Create Table
@@ -43452,7 +43452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5819;
show create table s;
Table Create Table
@@ -43460,7 +43460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5818;
show create table s;
Table Create Table
@@ -43468,7 +43468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5817;
show create table s;
Table Create Table
@@ -43476,7 +43476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5816;
show create table s;
Table Create Table
@@ -43484,7 +43484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5815;
show create table s;
Table Create Table
@@ -43492,7 +43492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5814;
show create table s;
Table Create Table
@@ -43500,7 +43500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5813;
show create table s;
Table Create Table
@@ -43508,7 +43508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5812;
show create table s;
Table Create Table
@@ -43516,7 +43516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5811;
show create table s;
Table Create Table
@@ -43524,7 +43524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5810;
show create table s;
Table Create Table
@@ -43532,7 +43532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5809;
show create table s;
Table Create Table
@@ -43540,7 +43540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5808;
show create table s;
Table Create Table
@@ -43548,7 +43548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5807;
show create table s;
Table Create Table
@@ -43556,7 +43556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5806;
show create table s;
Table Create Table
@@ -43564,7 +43564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5805;
show create table s;
Table Create Table
@@ -43572,7 +43572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5804;
show create table s;
Table Create Table
@@ -43580,7 +43580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5803;
show create table s;
Table Create Table
@@ -43588,7 +43588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5802;
show create table s;
Table Create Table
@@ -43596,7 +43596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5801;
show create table s;
Table Create Table
@@ -43604,7 +43604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5800;
show create table s;
Table Create Table
@@ -43612,7 +43612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5799;
show create table s;
Table Create Table
@@ -43620,7 +43620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5798;
show create table s;
Table Create Table
@@ -43628,7 +43628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5797;
show create table s;
Table Create Table
@@ -43636,7 +43636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5796;
show create table s;
Table Create Table
@@ -43644,7 +43644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5795;
show create table s;
Table Create Table
@@ -43652,7 +43652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5794;
show create table s;
Table Create Table
@@ -43660,7 +43660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5793;
show create table s;
Table Create Table
@@ -43668,7 +43668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5792;
show create table s;
Table Create Table
@@ -43676,7 +43676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5791;
show create table s;
Table Create Table
@@ -43684,7 +43684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5790;
show create table s;
Table Create Table
@@ -43692,7 +43692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5789;
show create table s;
Table Create Table
@@ -43700,7 +43700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5788;
show create table s;
Table Create Table
@@ -43708,7 +43708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5787;
show create table s;
Table Create Table
@@ -43716,7 +43716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5786;
show create table s;
Table Create Table
@@ -43724,7 +43724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5785;
show create table s;
Table Create Table
@@ -43732,7 +43732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5784;
show create table s;
Table Create Table
@@ -43740,7 +43740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5783;
show create table s;
Table Create Table
@@ -43748,7 +43748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5782;
show create table s;
Table Create Table
@@ -43756,7 +43756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5781;
show create table s;
Table Create Table
@@ -43764,7 +43764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5780;
show create table s;
Table Create Table
@@ -43772,7 +43772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5779;
show create table s;
Table Create Table
@@ -43780,7 +43780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5778;
show create table s;
Table Create Table
@@ -43788,7 +43788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5777;
show create table s;
Table Create Table
@@ -43796,7 +43796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5776;
show create table s;
Table Create Table
@@ -43804,7 +43804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5775;
show create table s;
Table Create Table
@@ -43812,7 +43812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5774;
show create table s;
Table Create Table
@@ -43820,7 +43820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5773;
show create table s;
Table Create Table
@@ -43828,7 +43828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5772;
show create table s;
Table Create Table
@@ -43836,7 +43836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5771;
show create table s;
Table Create Table
@@ -43844,7 +43844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5770;
show create table s;
Table Create Table
@@ -43852,7 +43852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5769;
show create table s;
Table Create Table
@@ -43860,7 +43860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5768;
show create table s;
Table Create Table
@@ -43868,7 +43868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5767;
show create table s;
Table Create Table
@@ -43876,7 +43876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5766;
show create table s;
Table Create Table
@@ -43884,7 +43884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5765;
show create table s;
Table Create Table
@@ -43892,7 +43892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5764;
show create table s;
Table Create Table
@@ -43900,7 +43900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5763;
show create table s;
Table Create Table
@@ -43908,7 +43908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5762;
show create table s;
Table Create Table
@@ -43916,7 +43916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5761;
show create table s;
Table Create Table
@@ -43924,7 +43924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5760;
show create table s;
Table Create Table
@@ -43932,7 +43932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5759;
show create table s;
Table Create Table
@@ -43940,7 +43940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5758;
show create table s;
Table Create Table
@@ -43948,7 +43948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5757;
show create table s;
Table Create Table
@@ -43956,7 +43956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5756;
show create table s;
Table Create Table
@@ -43964,7 +43964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5755;
show create table s;
Table Create Table
@@ -43972,7 +43972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5754;
show create table s;
Table Create Table
@@ -43980,7 +43980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5753;
show create table s;
Table Create Table
@@ -43988,7 +43988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5752;
show create table s;
Table Create Table
@@ -43996,7 +43996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5751;
show create table s;
Table Create Table
@@ -44004,7 +44004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5750;
show create table s;
Table Create Table
@@ -44012,7 +44012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5749;
show create table s;
Table Create Table
@@ -44020,7 +44020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5748;
show create table s;
Table Create Table
@@ -44028,7 +44028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5747;
show create table s;
Table Create Table
@@ -44036,7 +44036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5746;
show create table s;
Table Create Table
@@ -44044,7 +44044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5745;
show create table s;
Table Create Table
@@ -44052,7 +44052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5744;
show create table s;
Table Create Table
@@ -44060,7 +44060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5743;
show create table s;
Table Create Table
@@ -44068,7 +44068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5742;
show create table s;
Table Create Table
@@ -44076,7 +44076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5741;
show create table s;
Table Create Table
@@ -44084,7 +44084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5740;
show create table s;
Table Create Table
@@ -44092,7 +44092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5739;
show create table s;
Table Create Table
@@ -44100,7 +44100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5738;
show create table s;
Table Create Table
@@ -44108,7 +44108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5737;
show create table s;
Table Create Table
@@ -44116,7 +44116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5736;
show create table s;
Table Create Table
@@ -44124,7 +44124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5735;
show create table s;
Table Create Table
@@ -44132,7 +44132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5734;
show create table s;
Table Create Table
@@ -44140,7 +44140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5733;
show create table s;
Table Create Table
@@ -44148,7 +44148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5732;
show create table s;
Table Create Table
@@ -44156,7 +44156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5731;
show create table s;
Table Create Table
@@ -44164,7 +44164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5730;
show create table s;
Table Create Table
@@ -44172,7 +44172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5729;
show create table s;
Table Create Table
@@ -44180,7 +44180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5728;
show create table s;
Table Create Table
@@ -44188,7 +44188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5727;
show create table s;
Table Create Table
@@ -44196,7 +44196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5726;
show create table s;
Table Create Table
@@ -44204,7 +44204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5725;
show create table s;
Table Create Table
@@ -44212,7 +44212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5724;
show create table s;
Table Create Table
@@ -44220,7 +44220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5723;
show create table s;
Table Create Table
@@ -44228,7 +44228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5722;
show create table s;
Table Create Table
@@ -44236,7 +44236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5721;
show create table s;
Table Create Table
@@ -44244,7 +44244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5720;
show create table s;
Table Create Table
@@ -44252,7 +44252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5719;
show create table s;
Table Create Table
@@ -44260,7 +44260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5718;
show create table s;
Table Create Table
@@ -44268,7 +44268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5717;
show create table s;
Table Create Table
@@ -44276,7 +44276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5716;
show create table s;
Table Create Table
@@ -44284,7 +44284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5715;
show create table s;
Table Create Table
@@ -44292,7 +44292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5714;
show create table s;
Table Create Table
@@ -44300,7 +44300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5713;
show create table s;
Table Create Table
@@ -44308,7 +44308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5712;
show create table s;
Table Create Table
@@ -44316,7 +44316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5711;
show create table s;
Table Create Table
@@ -44324,7 +44324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5710;
show create table s;
Table Create Table
@@ -44332,7 +44332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5709;
show create table s;
Table Create Table
@@ -44340,7 +44340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5708;
show create table s;
Table Create Table
@@ -44348,7 +44348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5707;
show create table s;
Table Create Table
@@ -44356,7 +44356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5706;
show create table s;
Table Create Table
@@ -44364,7 +44364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5705;
show create table s;
Table Create Table
@@ -44372,7 +44372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5704;
show create table s;
Table Create Table
@@ -44380,7 +44380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5703;
show create table s;
Table Create Table
@@ -44388,7 +44388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5702;
show create table s;
Table Create Table
@@ -44396,7 +44396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5701;
show create table s;
Table Create Table
@@ -44404,7 +44404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5700;
show create table s;
Table Create Table
@@ -44412,7 +44412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5699;
show create table s;
Table Create Table
@@ -44420,7 +44420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5698;
show create table s;
Table Create Table
@@ -44428,7 +44428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5697;
show create table s;
Table Create Table
@@ -44436,7 +44436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5696;
show create table s;
Table Create Table
@@ -44444,7 +44444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5695;
show create table s;
Table Create Table
@@ -44452,7 +44452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5694;
show create table s;
Table Create Table
@@ -44460,7 +44460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5693;
show create table s;
Table Create Table
@@ -44468,7 +44468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5692;
show create table s;
Table Create Table
@@ -44476,7 +44476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5691;
show create table s;
Table Create Table
@@ -44484,7 +44484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5690;
show create table s;
Table Create Table
@@ -44492,7 +44492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5689;
show create table s;
Table Create Table
@@ -44500,7 +44500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5688;
show create table s;
Table Create Table
@@ -44508,7 +44508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5687;
show create table s;
Table Create Table
@@ -44516,7 +44516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5686;
show create table s;
Table Create Table
@@ -44524,7 +44524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5685;
show create table s;
Table Create Table
@@ -44532,7 +44532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5684;
show create table s;
Table Create Table
@@ -44540,7 +44540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5683;
show create table s;
Table Create Table
@@ -44548,7 +44548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5682;
show create table s;
Table Create Table
@@ -44556,7 +44556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5681;
show create table s;
Table Create Table
@@ -44564,7 +44564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5680;
show create table s;
Table Create Table
@@ -44572,7 +44572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5679;
show create table s;
Table Create Table
@@ -44580,7 +44580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5678;
show create table s;
Table Create Table
@@ -44588,7 +44588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5677;
show create table s;
Table Create Table
@@ -44596,7 +44596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5676;
show create table s;
Table Create Table
@@ -44604,7 +44604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5675;
show create table s;
Table Create Table
@@ -44612,7 +44612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5674;
show create table s;
Table Create Table
@@ -44620,7 +44620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5673;
show create table s;
Table Create Table
@@ -44628,7 +44628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5672;
show create table s;
Table Create Table
@@ -44636,7 +44636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5671;
show create table s;
Table Create Table
@@ -44644,7 +44644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5670;
show create table s;
Table Create Table
@@ -44652,7 +44652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5669;
show create table s;
Table Create Table
@@ -44660,7 +44660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5668;
show create table s;
Table Create Table
@@ -44668,7 +44668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5667;
show create table s;
Table Create Table
@@ -44676,7 +44676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5666;
show create table s;
Table Create Table
@@ -44684,7 +44684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5665;
show create table s;
Table Create Table
@@ -44692,7 +44692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5664;
show create table s;
Table Create Table
@@ -44700,7 +44700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5663;
show create table s;
Table Create Table
@@ -44708,7 +44708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5662;
show create table s;
Table Create Table
@@ -44716,7 +44716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5661;
show create table s;
Table Create Table
@@ -44724,7 +44724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5660;
show create table s;
Table Create Table
@@ -44732,7 +44732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5659;
show create table s;
Table Create Table
@@ -44740,7 +44740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5658;
show create table s;
Table Create Table
@@ -44748,7 +44748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5657;
show create table s;
Table Create Table
@@ -44756,7 +44756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5656;
show create table s;
Table Create Table
@@ -44764,7 +44764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5655;
show create table s;
Table Create Table
@@ -44772,7 +44772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5654;
show create table s;
Table Create Table
@@ -44780,7 +44780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5653;
show create table s;
Table Create Table
@@ -44788,7 +44788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5652;
show create table s;
Table Create Table
@@ -44796,7 +44796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5651;
show create table s;
Table Create Table
@@ -44804,7 +44804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5650;
show create table s;
Table Create Table
@@ -44812,7 +44812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5649;
show create table s;
Table Create Table
@@ -44820,7 +44820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5648;
show create table s;
Table Create Table
@@ -44828,7 +44828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5647;
show create table s;
Table Create Table
@@ -44836,7 +44836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5646;
show create table s;
Table Create Table
@@ -44844,7 +44844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5645;
show create table s;
Table Create Table
@@ -44852,7 +44852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5644;
show create table s;
Table Create Table
@@ -44860,7 +44860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5643;
show create table s;
Table Create Table
@@ -44868,7 +44868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5642;
show create table s;
Table Create Table
@@ -44876,7 +44876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5641;
show create table s;
Table Create Table
@@ -44884,7 +44884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5640;
show create table s;
Table Create Table
@@ -44892,7 +44892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5639;
show create table s;
Table Create Table
@@ -44900,7 +44900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5638;
show create table s;
Table Create Table
@@ -44908,7 +44908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5637;
show create table s;
Table Create Table
@@ -44916,7 +44916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5636;
show create table s;
Table Create Table
@@ -44924,7 +44924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5635;
show create table s;
Table Create Table
@@ -44932,7 +44932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5634;
show create table s;
Table Create Table
@@ -44940,7 +44940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5633;
show create table s;
Table Create Table
@@ -44948,7 +44948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5632;
show create table s;
Table Create Table
@@ -44956,7 +44956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5631;
show create table s;
Table Create Table
@@ -44964,7 +44964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5630;
show create table s;
Table Create Table
@@ -44972,7 +44972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5629;
show create table s;
Table Create Table
@@ -44980,7 +44980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5628;
show create table s;
Table Create Table
@@ -44988,7 +44988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5627;
show create table s;
Table Create Table
@@ -44996,7 +44996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5626;
show create table s;
Table Create Table
@@ -45004,7 +45004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5625;
show create table s;
Table Create Table
@@ -45012,7 +45012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5624;
show create table s;
Table Create Table
@@ -45020,7 +45020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5623;
show create table s;
Table Create Table
@@ -45028,7 +45028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5622;
show create table s;
Table Create Table
@@ -45036,7 +45036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5621;
show create table s;
Table Create Table
@@ -45044,7 +45044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5620;
show create table s;
Table Create Table
@@ -45052,7 +45052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5619;
show create table s;
Table Create Table
@@ -45060,7 +45060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5618;
show create table s;
Table Create Table
@@ -45068,7 +45068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5617;
show create table s;
Table Create Table
@@ -45076,7 +45076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5616;
show create table s;
Table Create Table
@@ -45084,7 +45084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5615;
show create table s;
Table Create Table
@@ -45092,7 +45092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5614;
show create table s;
Table Create Table
@@ -45100,7 +45100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5613;
show create table s;
Table Create Table
@@ -45108,7 +45108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5612;
show create table s;
Table Create Table
@@ -45116,7 +45116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5611;
show create table s;
Table Create Table
@@ -45124,7 +45124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5610;
show create table s;
Table Create Table
@@ -45132,7 +45132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5609;
show create table s;
Table Create Table
@@ -45140,7 +45140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5608;
show create table s;
Table Create Table
@@ -45148,7 +45148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5607;
show create table s;
Table Create Table
@@ -45156,7 +45156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5606;
show create table s;
Table Create Table
@@ -45164,7 +45164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5605;
show create table s;
Table Create Table
@@ -45172,7 +45172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5604;
show create table s;
Table Create Table
@@ -45180,7 +45180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5603;
show create table s;
Table Create Table
@@ -45188,7 +45188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5602;
show create table s;
Table Create Table
@@ -45196,7 +45196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5601;
show create table s;
Table Create Table
@@ -45204,7 +45204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5600;
show create table s;
Table Create Table
@@ -45212,7 +45212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5599;
show create table s;
Table Create Table
@@ -45220,7 +45220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5598;
show create table s;
Table Create Table
@@ -45228,7 +45228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5597;
show create table s;
Table Create Table
@@ -45236,7 +45236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5596;
show create table s;
Table Create Table
@@ -45244,7 +45244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5595;
show create table s;
Table Create Table
@@ -45252,7 +45252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5594;
show create table s;
Table Create Table
@@ -45260,7 +45260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5593;
show create table s;
Table Create Table
@@ -45268,7 +45268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5592;
show create table s;
Table Create Table
@@ -45276,7 +45276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5591;
show create table s;
Table Create Table
@@ -45284,7 +45284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5590;
show create table s;
Table Create Table
@@ -45292,7 +45292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5589;
show create table s;
Table Create Table
@@ -45300,7 +45300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5588;
show create table s;
Table Create Table
@@ -45308,7 +45308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5587;
show create table s;
Table Create Table
@@ -45316,7 +45316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5586;
show create table s;
Table Create Table
@@ -45324,7 +45324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5585;
show create table s;
Table Create Table
@@ -45332,7 +45332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5584;
show create table s;
Table Create Table
@@ -45340,7 +45340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5583;
show create table s;
Table Create Table
@@ -45348,7 +45348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5582;
show create table s;
Table Create Table
@@ -45356,7 +45356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5581;
show create table s;
Table Create Table
@@ -45364,7 +45364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5580;
show create table s;
Table Create Table
@@ -45372,7 +45372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5579;
show create table s;
Table Create Table
@@ -45380,7 +45380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5578;
show create table s;
Table Create Table
@@ -45388,7 +45388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5577;
show create table s;
Table Create Table
@@ -45396,7 +45396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5576;
show create table s;
Table Create Table
@@ -45404,7 +45404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5575;
show create table s;
Table Create Table
@@ -45412,7 +45412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5574;
show create table s;
Table Create Table
@@ -45420,7 +45420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5573;
show create table s;
Table Create Table
@@ -45428,7 +45428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5572;
show create table s;
Table Create Table
@@ -45436,7 +45436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5571;
show create table s;
Table Create Table
@@ -45444,7 +45444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5570;
show create table s;
Table Create Table
@@ -45452,7 +45452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5569;
show create table s;
Table Create Table
@@ -45460,7 +45460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5568;
show create table s;
Table Create Table
@@ -45468,7 +45468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5567;
show create table s;
Table Create Table
@@ -45476,7 +45476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5566;
show create table s;
Table Create Table
@@ -45484,7 +45484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5565;
show create table s;
Table Create Table
@@ -45492,7 +45492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5564;
show create table s;
Table Create Table
@@ -45500,7 +45500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5563;
show create table s;
Table Create Table
@@ -45508,7 +45508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5562;
show create table s;
Table Create Table
@@ -45516,7 +45516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5561;
show create table s;
Table Create Table
@@ -45524,7 +45524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5560;
show create table s;
Table Create Table
@@ -45532,7 +45532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5559;
show create table s;
Table Create Table
@@ -45540,7 +45540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5558;
show create table s;
Table Create Table
@@ -45548,7 +45548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5557;
show create table s;
Table Create Table
@@ -45556,7 +45556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5556;
show create table s;
Table Create Table
@@ -45564,7 +45564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5555;
show create table s;
Table Create Table
@@ -45572,7 +45572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5554;
show create table s;
Table Create Table
@@ -45580,7 +45580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5553;
show create table s;
Table Create Table
@@ -45588,7 +45588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5552;
show create table s;
Table Create Table
@@ -45596,7 +45596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5551;
show create table s;
Table Create Table
@@ -45604,7 +45604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5550;
show create table s;
Table Create Table
@@ -45612,7 +45612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5549;
show create table s;
Table Create Table
@@ -45620,7 +45620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5548;
show create table s;
Table Create Table
@@ -45628,7 +45628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5547;
show create table s;
Table Create Table
@@ -45636,7 +45636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5546;
show create table s;
Table Create Table
@@ -45644,7 +45644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5545;
show create table s;
Table Create Table
@@ -45652,7 +45652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5544;
show create table s;
Table Create Table
@@ -45660,7 +45660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5543;
show create table s;
Table Create Table
@@ -45668,7 +45668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5542;
show create table s;
Table Create Table
@@ -45676,7 +45676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5541;
show create table s;
Table Create Table
@@ -45684,7 +45684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5540;
show create table s;
Table Create Table
@@ -45692,7 +45692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5539;
show create table s;
Table Create Table
@@ -45700,7 +45700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5538;
show create table s;
Table Create Table
@@ -45708,7 +45708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5537;
show create table s;
Table Create Table
@@ -45716,7 +45716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5536;
show create table s;
Table Create Table
@@ -45724,7 +45724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5535;
show create table s;
Table Create Table
@@ -45732,7 +45732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5534;
show create table s;
Table Create Table
@@ -45740,7 +45740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5533;
show create table s;
Table Create Table
@@ -45748,7 +45748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5532;
show create table s;
Table Create Table
@@ -45756,7 +45756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5531;
show create table s;
Table Create Table
@@ -45764,7 +45764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5530;
show create table s;
Table Create Table
@@ -45772,7 +45772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5529;
show create table s;
Table Create Table
@@ -45780,7 +45780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5528;
show create table s;
Table Create Table
@@ -45788,7 +45788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5527;
show create table s;
Table Create Table
@@ -45796,7 +45796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5526;
show create table s;
Table Create Table
@@ -45804,7 +45804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5525;
show create table s;
Table Create Table
@@ -45812,7 +45812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5524;
show create table s;
Table Create Table
@@ -45820,7 +45820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5523;
show create table s;
Table Create Table
@@ -45828,7 +45828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5522;
show create table s;
Table Create Table
@@ -45836,7 +45836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5521;
show create table s;
Table Create Table
@@ -45844,7 +45844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5520;
show create table s;
Table Create Table
@@ -45852,7 +45852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5519;
show create table s;
Table Create Table
@@ -45860,7 +45860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5518;
show create table s;
Table Create Table
@@ -45868,7 +45868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5517;
show create table s;
Table Create Table
@@ -45876,7 +45876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5516;
show create table s;
Table Create Table
@@ -45884,7 +45884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5515;
show create table s;
Table Create Table
@@ -45892,7 +45892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5514;
show create table s;
Table Create Table
@@ -45900,7 +45900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5513;
show create table s;
Table Create Table
@@ -45908,7 +45908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5512;
show create table s;
Table Create Table
@@ -45916,7 +45916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5511;
show create table s;
Table Create Table
@@ -45924,7 +45924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5510;
show create table s;
Table Create Table
@@ -45932,7 +45932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5509;
show create table s;
Table Create Table
@@ -45940,7 +45940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5508;
show create table s;
Table Create Table
@@ -45948,7 +45948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5507;
show create table s;
Table Create Table
@@ -45956,7 +45956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5506;
show create table s;
Table Create Table
@@ -45964,7 +45964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5505;
show create table s;
Table Create Table
@@ -45972,7 +45972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5504;
show create table s;
Table Create Table
@@ -45980,7 +45980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5503;
show create table s;
Table Create Table
@@ -45988,7 +45988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5502;
show create table s;
Table Create Table
@@ -45996,7 +45996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5501;
show create table s;
Table Create Table
@@ -46004,7 +46004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5500;
show create table s;
Table Create Table
@@ -46012,7 +46012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5499;
show create table s;
Table Create Table
@@ -46020,7 +46020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5498;
show create table s;
Table Create Table
@@ -46028,7 +46028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5497;
show create table s;
Table Create Table
@@ -46036,7 +46036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5496;
show create table s;
Table Create Table
@@ -46044,7 +46044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5495;
show create table s;
Table Create Table
@@ -46052,7 +46052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5494;
show create table s;
Table Create Table
@@ -46060,7 +46060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5493;
show create table s;
Table Create Table
@@ -46068,7 +46068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5492;
show create table s;
Table Create Table
@@ -46076,7 +46076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5491;
show create table s;
Table Create Table
@@ -46084,7 +46084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5490;
show create table s;
Table Create Table
@@ -46092,7 +46092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5489;
show create table s;
Table Create Table
@@ -46100,7 +46100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5488;
show create table s;
Table Create Table
@@ -46108,7 +46108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5487;
show create table s;
Table Create Table
@@ -46116,7 +46116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5486;
show create table s;
Table Create Table
@@ -46124,7 +46124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5485;
show create table s;
Table Create Table
@@ -46132,7 +46132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5484;
show create table s;
Table Create Table
@@ -46140,7 +46140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5483;
show create table s;
Table Create Table
@@ -46148,7 +46148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5482;
show create table s;
Table Create Table
@@ -46156,7 +46156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5481;
show create table s;
Table Create Table
@@ -46164,7 +46164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5480;
show create table s;
Table Create Table
@@ -46172,7 +46172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5479;
show create table s;
Table Create Table
@@ -46180,7 +46180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5478;
show create table s;
Table Create Table
@@ -46188,7 +46188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5477;
show create table s;
Table Create Table
@@ -46196,7 +46196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5476;
show create table s;
Table Create Table
@@ -46204,7 +46204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5475;
show create table s;
Table Create Table
@@ -46212,7 +46212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5474;
show create table s;
Table Create Table
@@ -46220,7 +46220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5473;
show create table s;
Table Create Table
@@ -46228,7 +46228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5472;
show create table s;
Table Create Table
@@ -46236,7 +46236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5471;
show create table s;
Table Create Table
@@ -46244,7 +46244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5470;
show create table s;
Table Create Table
@@ -46252,7 +46252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5469;
show create table s;
Table Create Table
@@ -46260,7 +46260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5468;
show create table s;
Table Create Table
@@ -46268,7 +46268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5467;
show create table s;
Table Create Table
@@ -46276,7 +46276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5466;
show create table s;
Table Create Table
@@ -46284,7 +46284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5465;
show create table s;
Table Create Table
@@ -46292,7 +46292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5464;
show create table s;
Table Create Table
@@ -46300,7 +46300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5463;
show create table s;
Table Create Table
@@ -46308,7 +46308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5462;
show create table s;
Table Create Table
@@ -46316,7 +46316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5461;
show create table s;
Table Create Table
@@ -46324,7 +46324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5460;
show create table s;
Table Create Table
@@ -46332,7 +46332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5459;
show create table s;
Table Create Table
@@ -46340,7 +46340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5458;
show create table s;
Table Create Table
@@ -46348,7 +46348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5457;
show create table s;
Table Create Table
@@ -46356,7 +46356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5456;
show create table s;
Table Create Table
@@ -46364,7 +46364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5455;
show create table s;
Table Create Table
@@ -46372,7 +46372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5454;
show create table s;
Table Create Table
@@ -46380,7 +46380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5453;
show create table s;
Table Create Table
@@ -46388,7 +46388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5452;
show create table s;
Table Create Table
@@ -46396,7 +46396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5451;
show create table s;
Table Create Table
@@ -46404,7 +46404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5450;
show create table s;
Table Create Table
@@ -46412,7 +46412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5449;
show create table s;
Table Create Table
@@ -46420,7 +46420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5448;
show create table s;
Table Create Table
@@ -46428,7 +46428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5447;
show create table s;
Table Create Table
@@ -46436,7 +46436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5446;
show create table s;
Table Create Table
@@ -46444,7 +46444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5445;
show create table s;
Table Create Table
@@ -46452,7 +46452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5444;
show create table s;
Table Create Table
@@ -46460,7 +46460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5443;
show create table s;
Table Create Table
@@ -46468,7 +46468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5442;
show create table s;
Table Create Table
@@ -46476,7 +46476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5441;
show create table s;
Table Create Table
@@ -46484,7 +46484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5440;
show create table s;
Table Create Table
@@ -46492,7 +46492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5439;
show create table s;
Table Create Table
@@ -46500,7 +46500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5438;
show create table s;
Table Create Table
@@ -46508,7 +46508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5437;
show create table s;
Table Create Table
@@ -46516,7 +46516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5436;
show create table s;
Table Create Table
@@ -46524,7 +46524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5435;
show create table s;
Table Create Table
@@ -46532,7 +46532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5434;
show create table s;
Table Create Table
@@ -46540,7 +46540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5433;
show create table s;
Table Create Table
@@ -46548,7 +46548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5432;
show create table s;
Table Create Table
@@ -46556,7 +46556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5431;
show create table s;
Table Create Table
@@ -46564,7 +46564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5430;
show create table s;
Table Create Table
@@ -46572,7 +46572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5429;
show create table s;
Table Create Table
@@ -46580,7 +46580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5428;
show create table s;
Table Create Table
@@ -46588,7 +46588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5427;
show create table s;
Table Create Table
@@ -46596,7 +46596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5426;
show create table s;
Table Create Table
@@ -46604,7 +46604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5425;
show create table s;
Table Create Table
@@ -46612,7 +46612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5424;
show create table s;
Table Create Table
@@ -46620,7 +46620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5423;
show create table s;
Table Create Table
@@ -46628,7 +46628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5422;
show create table s;
Table Create Table
@@ -46636,7 +46636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5421;
show create table s;
Table Create Table
@@ -46644,7 +46644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5420;
show create table s;
Table Create Table
@@ -46652,7 +46652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5419;
show create table s;
Table Create Table
@@ -46660,7 +46660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5418;
show create table s;
Table Create Table
@@ -46668,7 +46668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5417;
show create table s;
Table Create Table
@@ -46676,7 +46676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5416;
show create table s;
Table Create Table
@@ -46684,7 +46684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5415;
show create table s;
Table Create Table
@@ -46692,7 +46692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5414;
show create table s;
Table Create Table
@@ -46700,7 +46700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5413;
show create table s;
Table Create Table
@@ -46708,7 +46708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5412;
show create table s;
Table Create Table
@@ -46716,7 +46716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5411;
show create table s;
Table Create Table
@@ -46724,7 +46724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5410;
show create table s;
Table Create Table
@@ -46732,7 +46732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5409;
show create table s;
Table Create Table
@@ -46740,7 +46740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5408;
show create table s;
Table Create Table
@@ -46748,7 +46748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5407;
show create table s;
Table Create Table
@@ -46756,7 +46756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5406;
show create table s;
Table Create Table
@@ -46764,7 +46764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5405;
show create table s;
Table Create Table
@@ -46772,7 +46772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5404;
show create table s;
Table Create Table
@@ -46780,7 +46780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5403;
show create table s;
Table Create Table
@@ -46788,7 +46788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5402;
show create table s;
Table Create Table
@@ -46796,7 +46796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5401;
show create table s;
Table Create Table
@@ -46804,7 +46804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5400;
show create table s;
Table Create Table
@@ -46812,7 +46812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5399;
show create table s;
Table Create Table
@@ -46820,7 +46820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5398;
show create table s;
Table Create Table
@@ -46828,7 +46828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5397;
show create table s;
Table Create Table
@@ -46836,7 +46836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5396;
show create table s;
Table Create Table
@@ -46844,7 +46844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5395;
show create table s;
Table Create Table
@@ -46852,7 +46852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5394;
show create table s;
Table Create Table
@@ -46860,7 +46860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5393;
show create table s;
Table Create Table
@@ -46868,7 +46868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5392;
show create table s;
Table Create Table
@@ -46876,7 +46876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5391;
show create table s;
Table Create Table
@@ -46884,7 +46884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5390;
show create table s;
Table Create Table
@@ -46892,7 +46892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5389;
show create table s;
Table Create Table
@@ -46900,7 +46900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5388;
show create table s;
Table Create Table
@@ -46908,7 +46908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5387;
show create table s;
Table Create Table
@@ -46916,7 +46916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5386;
show create table s;
Table Create Table
@@ -46924,7 +46924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5385;
show create table s;
Table Create Table
@@ -46932,7 +46932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5384;
show create table s;
Table Create Table
@@ -46940,7 +46940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5383;
show create table s;
Table Create Table
@@ -46948,7 +46948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5382;
show create table s;
Table Create Table
@@ -46956,7 +46956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5381;
show create table s;
Table Create Table
@@ -46964,7 +46964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5380;
show create table s;
Table Create Table
@@ -46972,7 +46972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5379;
show create table s;
Table Create Table
@@ -46980,7 +46980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5378;
show create table s;
Table Create Table
@@ -46988,7 +46988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5377;
show create table s;
Table Create Table
@@ -46996,7 +46996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5376;
show create table s;
Table Create Table
@@ -47004,7 +47004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5375;
show create table s;
Table Create Table
@@ -47012,7 +47012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5374;
show create table s;
Table Create Table
@@ -47020,7 +47020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5373;
show create table s;
Table Create Table
@@ -47028,7 +47028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5372;
show create table s;
Table Create Table
@@ -47036,7 +47036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5371;
show create table s;
Table Create Table
@@ -47044,7 +47044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5370;
show create table s;
Table Create Table
@@ -47052,7 +47052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5369;
show create table s;
Table Create Table
@@ -47060,7 +47060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5368;
show create table s;
Table Create Table
@@ -47068,7 +47068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5367;
show create table s;
Table Create Table
@@ -47076,7 +47076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5366;
show create table s;
Table Create Table
@@ -47084,7 +47084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5365;
show create table s;
Table Create Table
@@ -47092,7 +47092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5364;
show create table s;
Table Create Table
@@ -47100,7 +47100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5363;
show create table s;
Table Create Table
@@ -47108,7 +47108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5362;
show create table s;
Table Create Table
@@ -47116,7 +47116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5361;
show create table s;
Table Create Table
@@ -47124,7 +47124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5360;
show create table s;
Table Create Table
@@ -47132,7 +47132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5359;
show create table s;
Table Create Table
@@ -47140,7 +47140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5358;
show create table s;
Table Create Table
@@ -47148,7 +47148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5357;
show create table s;
Table Create Table
@@ -47156,7 +47156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5356;
show create table s;
Table Create Table
@@ -47164,7 +47164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5355;
show create table s;
Table Create Table
@@ -47172,7 +47172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5354;
show create table s;
Table Create Table
@@ -47180,7 +47180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5353;
show create table s;
Table Create Table
@@ -47188,7 +47188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5352;
show create table s;
Table Create Table
@@ -47196,7 +47196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5351;
show create table s;
Table Create Table
@@ -47204,7 +47204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5350;
show create table s;
Table Create Table
@@ -47212,7 +47212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5349;
show create table s;
Table Create Table
@@ -47220,7 +47220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5348;
show create table s;
Table Create Table
@@ -47228,7 +47228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5347;
show create table s;
Table Create Table
@@ -47236,7 +47236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5346;
show create table s;
Table Create Table
@@ -47244,7 +47244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5345;
show create table s;
Table Create Table
@@ -47252,7 +47252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5344;
show create table s;
Table Create Table
@@ -47260,7 +47260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5343;
show create table s;
Table Create Table
@@ -47268,7 +47268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5342;
show create table s;
Table Create Table
@@ -47276,7 +47276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5341;
show create table s;
Table Create Table
@@ -47284,7 +47284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5340;
show create table s;
Table Create Table
@@ -47292,7 +47292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5339;
show create table s;
Table Create Table
@@ -47300,7 +47300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5338;
show create table s;
Table Create Table
@@ -47308,7 +47308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5337;
show create table s;
Table Create Table
@@ -47316,7 +47316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5336;
show create table s;
Table Create Table
@@ -47324,7 +47324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5335;
show create table s;
Table Create Table
@@ -47332,7 +47332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5334;
show create table s;
Table Create Table
@@ -47340,7 +47340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5333;
show create table s;
Table Create Table
@@ -47348,7 +47348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5332;
show create table s;
Table Create Table
@@ -47356,7 +47356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5331;
show create table s;
Table Create Table
@@ -47364,7 +47364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5330;
show create table s;
Table Create Table
@@ -47372,7 +47372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5329;
show create table s;
Table Create Table
@@ -47380,7 +47380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5328;
show create table s;
Table Create Table
@@ -47388,7 +47388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5327;
show create table s;
Table Create Table
@@ -47396,7 +47396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5326;
show create table s;
Table Create Table
@@ -47404,7 +47404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5325;
show create table s;
Table Create Table
@@ -47412,7 +47412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5324;
show create table s;
Table Create Table
@@ -47420,7 +47420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5323;
show create table s;
Table Create Table
@@ -47428,7 +47428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5322;
show create table s;
Table Create Table
@@ -47436,7 +47436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5321;
show create table s;
Table Create Table
@@ -47444,7 +47444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5320;
show create table s;
Table Create Table
@@ -47452,7 +47452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5319;
show create table s;
Table Create Table
@@ -47460,7 +47460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5318;
show create table s;
Table Create Table
@@ -47468,7 +47468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5317;
show create table s;
Table Create Table
@@ -47476,7 +47476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5316;
show create table s;
Table Create Table
@@ -47484,7 +47484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5315;
show create table s;
Table Create Table
@@ -47492,7 +47492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5314;
show create table s;
Table Create Table
@@ -47500,7 +47500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5313;
show create table s;
Table Create Table
@@ -47508,7 +47508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5312;
show create table s;
Table Create Table
@@ -47516,7 +47516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5311;
show create table s;
Table Create Table
@@ -47524,7 +47524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5310;
show create table s;
Table Create Table
@@ -47532,7 +47532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5309;
show create table s;
Table Create Table
@@ -47540,7 +47540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5308;
show create table s;
Table Create Table
@@ -47548,7 +47548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5307;
show create table s;
Table Create Table
@@ -47556,7 +47556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5306;
show create table s;
Table Create Table
@@ -47564,7 +47564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5305;
show create table s;
Table Create Table
@@ -47572,7 +47572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5304;
show create table s;
Table Create Table
@@ -47580,7 +47580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5303;
show create table s;
Table Create Table
@@ -47588,7 +47588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5302;
show create table s;
Table Create Table
@@ -47596,7 +47596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5301;
show create table s;
Table Create Table
@@ -47604,7 +47604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5300;
show create table s;
Table Create Table
@@ -47612,7 +47612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5299;
show create table s;
Table Create Table
@@ -47620,7 +47620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5298;
show create table s;
Table Create Table
@@ -47628,7 +47628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5297;
show create table s;
Table Create Table
@@ -47636,7 +47636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5296;
show create table s;
Table Create Table
@@ -47644,7 +47644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5295;
show create table s;
Table Create Table
@@ -47652,7 +47652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5294;
show create table s;
Table Create Table
@@ -47660,7 +47660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5293;
show create table s;
Table Create Table
@@ -47668,7 +47668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5292;
show create table s;
Table Create Table
@@ -47676,7 +47676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5291;
show create table s;
Table Create Table
@@ -47684,7 +47684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5290;
show create table s;
Table Create Table
@@ -47692,7 +47692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5289;
show create table s;
Table Create Table
@@ -47700,7 +47700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5288;
show create table s;
Table Create Table
@@ -47708,7 +47708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5287;
show create table s;
Table Create Table
@@ -47716,7 +47716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5286;
show create table s;
Table Create Table
@@ -47724,7 +47724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5285;
show create table s;
Table Create Table
@@ -47732,7 +47732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5284;
show create table s;
Table Create Table
@@ -47740,7 +47740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5283;
show create table s;
Table Create Table
@@ -47748,7 +47748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5282;
show create table s;
Table Create Table
@@ -47756,7 +47756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5281;
show create table s;
Table Create Table
@@ -47764,7 +47764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5280;
show create table s;
Table Create Table
@@ -47772,7 +47772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5279;
show create table s;
Table Create Table
@@ -47780,7 +47780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5278;
show create table s;
Table Create Table
@@ -47788,7 +47788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5277;
show create table s;
Table Create Table
@@ -47796,7 +47796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5276;
show create table s;
Table Create Table
@@ -47804,7 +47804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5275;
show create table s;
Table Create Table
@@ -47812,7 +47812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5274;
show create table s;
Table Create Table
@@ -47820,7 +47820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5273;
show create table s;
Table Create Table
@@ -47828,7 +47828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5272;
show create table s;
Table Create Table
@@ -47836,7 +47836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5271;
show create table s;
Table Create Table
@@ -47844,7 +47844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5270;
show create table s;
Table Create Table
@@ -47852,7 +47852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5269;
show create table s;
Table Create Table
@@ -47860,7 +47860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5268;
show create table s;
Table Create Table
@@ -47868,7 +47868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5267;
show create table s;
Table Create Table
@@ -47876,7 +47876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5266;
show create table s;
Table Create Table
@@ -47884,7 +47884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5265;
show create table s;
Table Create Table
@@ -47892,7 +47892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5264;
show create table s;
Table Create Table
@@ -47900,7 +47900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5263;
show create table s;
Table Create Table
@@ -47908,7 +47908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5262;
show create table s;
Table Create Table
@@ -47916,7 +47916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5261;
show create table s;
Table Create Table
@@ -47924,7 +47924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5260;
show create table s;
Table Create Table
@@ -47932,7 +47932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5259;
show create table s;
Table Create Table
@@ -47940,7 +47940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5258;
show create table s;
Table Create Table
@@ -47948,7 +47948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5257;
show create table s;
Table Create Table
@@ -47956,7 +47956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5256;
show create table s;
Table Create Table
@@ -47964,7 +47964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5255;
show create table s;
Table Create Table
@@ -47972,7 +47972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5254;
show create table s;
Table Create Table
@@ -47980,7 +47980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5253;
show create table s;
Table Create Table
@@ -47988,7 +47988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5252;
show create table s;
Table Create Table
@@ -47996,7 +47996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5251;
show create table s;
Table Create Table
@@ -48004,7 +48004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5250;
show create table s;
Table Create Table
@@ -48012,7 +48012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5249;
show create table s;
Table Create Table
@@ -48020,7 +48020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5248;
show create table s;
Table Create Table
@@ -48028,7 +48028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5247;
show create table s;
Table Create Table
@@ -48036,7 +48036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5246;
show create table s;
Table Create Table
@@ -48044,7 +48044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5245;
show create table s;
Table Create Table
@@ -48052,7 +48052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5244;
show create table s;
Table Create Table
@@ -48060,7 +48060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5243;
show create table s;
Table Create Table
@@ -48068,7 +48068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5242;
show create table s;
Table Create Table
@@ -48076,7 +48076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5241;
show create table s;
Table Create Table
@@ -48084,7 +48084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5240;
show create table s;
Table Create Table
@@ -48092,7 +48092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5239;
show create table s;
Table Create Table
@@ -48100,7 +48100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5238;
show create table s;
Table Create Table
@@ -48108,7 +48108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5237;
show create table s;
Table Create Table
@@ -48116,7 +48116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5236;
show create table s;
Table Create Table
@@ -48124,7 +48124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5235;
show create table s;
Table Create Table
@@ -48132,7 +48132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5234;
show create table s;
Table Create Table
@@ -48140,7 +48140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5233;
show create table s;
Table Create Table
@@ -48148,7 +48148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5232;
show create table s;
Table Create Table
@@ -48156,7 +48156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5231;
show create table s;
Table Create Table
@@ -48164,7 +48164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5230;
show create table s;
Table Create Table
@@ -48172,7 +48172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5229;
show create table s;
Table Create Table
@@ -48180,7 +48180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5228;
show create table s;
Table Create Table
@@ -48188,7 +48188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5227;
show create table s;
Table Create Table
@@ -48196,7 +48196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5226;
show create table s;
Table Create Table
@@ -48204,7 +48204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5225;
show create table s;
Table Create Table
@@ -48212,7 +48212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5224;
show create table s;
Table Create Table
@@ -48220,7 +48220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5223;
show create table s;
Table Create Table
@@ -48228,7 +48228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5222;
show create table s;
Table Create Table
@@ -48236,7 +48236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5221;
show create table s;
Table Create Table
@@ -48244,7 +48244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5220;
show create table s;
Table Create Table
@@ -48252,7 +48252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5219;
show create table s;
Table Create Table
@@ -48260,7 +48260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5218;
show create table s;
Table Create Table
@@ -48268,7 +48268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5217;
show create table s;
Table Create Table
@@ -48276,7 +48276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5216;
show create table s;
Table Create Table
@@ -48284,7 +48284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5215;
show create table s;
Table Create Table
@@ -48292,7 +48292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5214;
show create table s;
Table Create Table
@@ -48300,7 +48300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5213;
show create table s;
Table Create Table
@@ -48308,7 +48308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5212;
show create table s;
Table Create Table
@@ -48316,7 +48316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5211;
show create table s;
Table Create Table
@@ -48324,7 +48324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5210;
show create table s;
Table Create Table
@@ -48332,7 +48332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5209;
show create table s;
Table Create Table
@@ -48340,7 +48340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5208;
show create table s;
Table Create Table
@@ -48348,7 +48348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5207;
show create table s;
Table Create Table
@@ -48356,7 +48356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5206;
show create table s;
Table Create Table
@@ -48364,7 +48364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5205;
show create table s;
Table Create Table
@@ -48372,7 +48372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5204;
show create table s;
Table Create Table
@@ -48380,7 +48380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5203;
show create table s;
Table Create Table
@@ -48388,7 +48388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5202;
show create table s;
Table Create Table
@@ -48396,7 +48396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5201;
show create table s;
Table Create Table
@@ -48404,7 +48404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5200;
show create table s;
Table Create Table
@@ -48412,7 +48412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5199;
show create table s;
Table Create Table
@@ -48420,7 +48420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5198;
show create table s;
Table Create Table
@@ -48428,7 +48428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5197;
show create table s;
Table Create Table
@@ -48436,7 +48436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5196;
show create table s;
Table Create Table
@@ -48444,7 +48444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5195;
show create table s;
Table Create Table
@@ -48452,7 +48452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5194;
show create table s;
Table Create Table
@@ -48460,7 +48460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5193;
show create table s;
Table Create Table
@@ -48468,7 +48468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5192;
show create table s;
Table Create Table
@@ -48476,7 +48476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5191;
show create table s;
Table Create Table
@@ -48484,7 +48484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5190;
show create table s;
Table Create Table
@@ -48492,7 +48492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5189;
show create table s;
Table Create Table
@@ -48500,7 +48500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5188;
show create table s;
Table Create Table
@@ -48508,7 +48508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5187;
show create table s;
Table Create Table
@@ -48516,7 +48516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5186;
show create table s;
Table Create Table
@@ -48524,7 +48524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5185;
show create table s;
Table Create Table
@@ -48532,7 +48532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5184;
show create table s;
Table Create Table
@@ -48540,7 +48540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5183;
show create table s;
Table Create Table
@@ -48548,7 +48548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5182;
show create table s;
Table Create Table
@@ -48556,7 +48556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5181;
show create table s;
Table Create Table
@@ -48564,7 +48564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5180;
show create table s;
Table Create Table
@@ -48572,7 +48572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5179;
show create table s;
Table Create Table
@@ -48580,7 +48580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5178;
show create table s;
Table Create Table
@@ -48588,7 +48588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5177;
show create table s;
Table Create Table
@@ -48596,7 +48596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5176;
show create table s;
Table Create Table
@@ -48604,7 +48604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5175;
show create table s;
Table Create Table
@@ -48612,7 +48612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5174;
show create table s;
Table Create Table
@@ -48620,7 +48620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5173;
show create table s;
Table Create Table
@@ -48628,7 +48628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5172;
show create table s;
Table Create Table
@@ -48636,7 +48636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5171;
show create table s;
Table Create Table
@@ -48644,7 +48644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5170;
show create table s;
Table Create Table
@@ -48652,7 +48652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5169;
show create table s;
Table Create Table
@@ -48660,7 +48660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5168;
show create table s;
Table Create Table
@@ -48668,7 +48668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5167;
show create table s;
Table Create Table
@@ -48676,7 +48676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5166;
show create table s;
Table Create Table
@@ -48684,7 +48684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5165;
show create table s;
Table Create Table
@@ -48692,7 +48692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5164;
show create table s;
Table Create Table
@@ -48700,7 +48700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5163;
show create table s;
Table Create Table
@@ -48708,7 +48708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5162;
show create table s;
Table Create Table
@@ -48716,7 +48716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5161;
show create table s;
Table Create Table
@@ -48724,7 +48724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5160;
show create table s;
Table Create Table
@@ -48732,7 +48732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5159;
show create table s;
Table Create Table
@@ -48740,7 +48740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5158;
show create table s;
Table Create Table
@@ -48748,7 +48748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5157;
show create table s;
Table Create Table
@@ -48756,7 +48756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5156;
show create table s;
Table Create Table
@@ -48764,7 +48764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5155;
show create table s;
Table Create Table
@@ -48772,7 +48772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5154;
show create table s;
Table Create Table
@@ -48780,7 +48780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5153;
show create table s;
Table Create Table
@@ -48788,7 +48788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5152;
show create table s;
Table Create Table
@@ -48796,7 +48796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5151;
show create table s;
Table Create Table
@@ -48804,7 +48804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5150;
show create table s;
Table Create Table
@@ -48812,7 +48812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5149;
show create table s;
Table Create Table
@@ -48820,7 +48820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5148;
show create table s;
Table Create Table
@@ -48828,7 +48828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5147;
show create table s;
Table Create Table
@@ -48836,7 +48836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5146;
show create table s;
Table Create Table
@@ -48844,7 +48844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5145;
show create table s;
Table Create Table
@@ -48852,7 +48852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5144;
show create table s;
Table Create Table
@@ -48860,7 +48860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5143;
show create table s;
Table Create Table
@@ -48868,7 +48868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5142;
show create table s;
Table Create Table
@@ -48876,7 +48876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5141;
show create table s;
Table Create Table
@@ -48884,7 +48884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5140;
show create table s;
Table Create Table
@@ -48892,7 +48892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5139;
show create table s;
Table Create Table
@@ -48900,7 +48900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5138;
show create table s;
Table Create Table
@@ -48908,7 +48908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5137;
show create table s;
Table Create Table
@@ -48916,7 +48916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5136;
show create table s;
Table Create Table
@@ -48924,7 +48924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5135;
show create table s;
Table Create Table
@@ -48932,7 +48932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5134;
show create table s;
Table Create Table
@@ -48940,7 +48940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5133;
show create table s;
Table Create Table
@@ -48948,7 +48948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5132;
show create table s;
Table Create Table
@@ -48956,7 +48956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5131;
show create table s;
Table Create Table
@@ -48964,7 +48964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5130;
show create table s;
Table Create Table
@@ -48972,7 +48972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5129;
show create table s;
Table Create Table
@@ -48980,7 +48980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5128;
show create table s;
Table Create Table
@@ -48988,7 +48988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5127;
show create table s;
Table Create Table
@@ -48996,7 +48996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5126;
show create table s;
Table Create Table
@@ -49004,7 +49004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5125;
show create table s;
Table Create Table
@@ -49012,7 +49012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5124;
show create table s;
Table Create Table
@@ -49020,7 +49020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5123;
show create table s;
Table Create Table
@@ -49028,7 +49028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5122;
show create table s;
Table Create Table
@@ -49036,7 +49036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5121;
show create table s;
Table Create Table
@@ -49044,7 +49044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5120;
show create table s;
Table Create Table
@@ -49052,7 +49052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5119;
show create table s;
Table Create Table
@@ -49060,7 +49060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5118;
show create table s;
Table Create Table
@@ -49068,7 +49068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5117;
show create table s;
Table Create Table
@@ -49076,7 +49076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5116;
show create table s;
Table Create Table
@@ -49084,7 +49084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5115;
show create table s;
Table Create Table
@@ -49092,7 +49092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5114;
show create table s;
Table Create Table
@@ -49100,7 +49100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5113;
show create table s;
Table Create Table
@@ -49108,7 +49108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5112;
show create table s;
Table Create Table
@@ -49116,7 +49116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5111;
show create table s;
Table Create Table
@@ -49124,7 +49124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5110;
show create table s;
Table Create Table
@@ -49132,7 +49132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5109;
show create table s;
Table Create Table
@@ -49140,7 +49140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5108;
show create table s;
Table Create Table
@@ -49148,7 +49148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5107;
show create table s;
Table Create Table
@@ -49156,7 +49156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5106;
show create table s;
Table Create Table
@@ -49164,7 +49164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5105;
show create table s;
Table Create Table
@@ -49172,7 +49172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5104;
show create table s;
Table Create Table
@@ -49180,7 +49180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5103;
show create table s;
Table Create Table
@@ -49188,7 +49188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5102;
show create table s;
Table Create Table
@@ -49196,7 +49196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5101;
show create table s;
Table Create Table
@@ -49204,7 +49204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5100;
show create table s;
Table Create Table
@@ -49212,7 +49212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5099;
show create table s;
Table Create Table
@@ -49220,7 +49220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5098;
show create table s;
Table Create Table
@@ -49228,7 +49228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5097;
show create table s;
Table Create Table
@@ -49236,7 +49236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5096;
show create table s;
Table Create Table
@@ -49244,7 +49244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5095;
show create table s;
Table Create Table
@@ -49252,7 +49252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5094;
show create table s;
Table Create Table
@@ -49260,7 +49260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5093;
show create table s;
Table Create Table
@@ -49268,7 +49268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5092;
show create table s;
Table Create Table
@@ -49276,7 +49276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5091;
show create table s;
Table Create Table
@@ -49284,7 +49284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5090;
show create table s;
Table Create Table
@@ -49292,7 +49292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5089;
show create table s;
Table Create Table
@@ -49300,7 +49300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5088;
show create table s;
Table Create Table
@@ -49308,7 +49308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5087;
show create table s;
Table Create Table
@@ -49316,7 +49316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5086;
show create table s;
Table Create Table
@@ -49324,7 +49324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5085;
show create table s;
Table Create Table
@@ -49332,7 +49332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5084;
show create table s;
Table Create Table
@@ -49340,7 +49340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5083;
show create table s;
Table Create Table
@@ -49348,7 +49348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5082;
show create table s;
Table Create Table
@@ -49356,7 +49356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5081;
show create table s;
Table Create Table
@@ -49364,7 +49364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5080;
show create table s;
Table Create Table
@@ -49372,7 +49372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5079;
show create table s;
Table Create Table
@@ -49380,7 +49380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5078;
show create table s;
Table Create Table
@@ -49388,7 +49388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5077;
show create table s;
Table Create Table
@@ -49396,7 +49396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5076;
show create table s;
Table Create Table
@@ -49404,7 +49404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5075;
show create table s;
Table Create Table
@@ -49412,7 +49412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5074;
show create table s;
Table Create Table
@@ -49420,7 +49420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5073;
show create table s;
Table Create Table
@@ -49428,7 +49428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5072;
show create table s;
Table Create Table
@@ -49436,7 +49436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5071;
show create table s;
Table Create Table
@@ -49444,7 +49444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5070;
show create table s;
Table Create Table
@@ -49452,7 +49452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5069;
show create table s;
Table Create Table
@@ -49460,7 +49460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5068;
show create table s;
Table Create Table
@@ -49468,7 +49468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5067;
show create table s;
Table Create Table
@@ -49476,7 +49476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5066;
show create table s;
Table Create Table
@@ -49484,7 +49484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5065;
show create table s;
Table Create Table
@@ -49492,7 +49492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5064;
show create table s;
Table Create Table
@@ -49500,7 +49500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5063;
show create table s;
Table Create Table
@@ -49508,7 +49508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5062;
show create table s;
Table Create Table
@@ -49516,7 +49516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5061;
show create table s;
Table Create Table
@@ -49524,7 +49524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5060;
show create table s;
Table Create Table
@@ -49532,7 +49532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5059;
show create table s;
Table Create Table
@@ -49540,7 +49540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5058;
show create table s;
Table Create Table
@@ -49548,7 +49548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5057;
show create table s;
Table Create Table
@@ -49556,7 +49556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5056;
show create table s;
Table Create Table
@@ -49564,7 +49564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5055;
show create table s;
Table Create Table
@@ -49572,7 +49572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5054;
show create table s;
Table Create Table
@@ -49580,7 +49580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5053;
show create table s;
Table Create Table
@@ -49588,7 +49588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5052;
show create table s;
Table Create Table
@@ -49596,7 +49596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5051;
show create table s;
Table Create Table
@@ -49604,7 +49604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5050;
show create table s;
Table Create Table
@@ -49612,7 +49612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5049;
show create table s;
Table Create Table
@@ -49620,7 +49620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5048;
show create table s;
Table Create Table
@@ -49628,7 +49628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5047;
show create table s;
Table Create Table
@@ -49636,7 +49636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5046;
show create table s;
Table Create Table
@@ -49644,7 +49644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5045;
show create table s;
Table Create Table
@@ -49652,7 +49652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5044;
show create table s;
Table Create Table
@@ -49660,7 +49660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5043;
show create table s;
Table Create Table
@@ -49668,7 +49668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5042;
show create table s;
Table Create Table
@@ -49676,7 +49676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5041;
show create table s;
Table Create Table
@@ -49684,7 +49684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5040;
show create table s;
Table Create Table
@@ -49692,7 +49692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5039;
show create table s;
Table Create Table
@@ -49700,7 +49700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5038;
show create table s;
Table Create Table
@@ -49708,7 +49708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5037;
show create table s;
Table Create Table
@@ -49716,7 +49716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5036;
show create table s;
Table Create Table
@@ -49724,7 +49724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5035;
show create table s;
Table Create Table
@@ -49732,7 +49732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5034;
show create table s;
Table Create Table
@@ -49740,7 +49740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5033;
show create table s;
Table Create Table
@@ -49748,7 +49748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5032;
show create table s;
Table Create Table
@@ -49756,7 +49756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5031;
show create table s;
Table Create Table
@@ -49764,7 +49764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5030;
show create table s;
Table Create Table
@@ -49772,7 +49772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5029;
show create table s;
Table Create Table
@@ -49780,7 +49780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5028;
show create table s;
Table Create Table
@@ -49788,7 +49788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5027;
show create table s;
Table Create Table
@@ -49796,7 +49796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5026;
show create table s;
Table Create Table
@@ -49804,7 +49804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5025;
show create table s;
Table Create Table
@@ -49812,7 +49812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5024;
show create table s;
Table Create Table
@@ -49820,7 +49820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5023;
show create table s;
Table Create Table
@@ -49828,7 +49828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5022;
show create table s;
Table Create Table
@@ -49836,7 +49836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5021;
show create table s;
Table Create Table
@@ -49844,7 +49844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5020;
show create table s;
Table Create Table
@@ -49852,7 +49852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5019;
show create table s;
Table Create Table
@@ -49860,7 +49860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5018;
show create table s;
Table Create Table
@@ -49868,7 +49868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5017;
show create table s;
Table Create Table
@@ -49876,7 +49876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5016;
show create table s;
Table Create Table
@@ -49884,7 +49884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5015;
show create table s;
Table Create Table
@@ -49892,7 +49892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5014;
show create table s;
Table Create Table
@@ -49900,7 +49900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5013;
show create table s;
Table Create Table
@@ -49908,7 +49908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5012;
show create table s;
Table Create Table
@@ -49916,7 +49916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5011;
show create table s;
Table Create Table
@@ -49924,7 +49924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5010;
show create table s;
Table Create Table
@@ -49932,7 +49932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5009;
show create table s;
Table Create Table
@@ -49940,7 +49940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5008;
show create table s;
Table Create Table
@@ -49948,7 +49948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5007;
show create table s;
Table Create Table
@@ -49956,7 +49956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5006;
show create table s;
Table Create Table
@@ -49964,7 +49964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5005;
show create table s;
Table Create Table
@@ -49972,7 +49972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5004;
show create table s;
Table Create Table
@@ -49980,7 +49980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5003;
show create table s;
Table Create Table
@@ -49988,7 +49988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5002;
show create table s;
Table Create Table
@@ -49996,7 +49996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5001;
show create table s;
Table Create Table
@@ -50004,7 +50004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5000;
show create table s;
Table Create Table
@@ -50012,7 +50012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4999;
show create table s;
Table Create Table
@@ -50020,7 +50020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4998;
show create table s;
Table Create Table
@@ -50028,7 +50028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4997;
show create table s;
Table Create Table
@@ -50036,7 +50036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4996;
show create table s;
Table Create Table
@@ -50044,7 +50044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4995;
show create table s;
Table Create Table
@@ -50052,7 +50052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4994;
show create table s;
Table Create Table
@@ -50060,7 +50060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4993;
show create table s;
Table Create Table
@@ -50068,7 +50068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4992;
show create table s;
Table Create Table
@@ -50076,7 +50076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4991;
show create table s;
Table Create Table
@@ -50084,7 +50084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4990;
show create table s;
Table Create Table
@@ -50092,7 +50092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4989;
show create table s;
Table Create Table
@@ -50100,7 +50100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4988;
show create table s;
Table Create Table
@@ -50108,7 +50108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4987;
show create table s;
Table Create Table
@@ -50116,7 +50116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4986;
show create table s;
Table Create Table
@@ -50124,7 +50124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4985;
show create table s;
Table Create Table
@@ -50132,7 +50132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4984;
show create table s;
Table Create Table
@@ -50140,7 +50140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4983;
show create table s;
Table Create Table
@@ -50148,7 +50148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4982;
show create table s;
Table Create Table
@@ -50156,7 +50156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4981;
show create table s;
Table Create Table
@@ -50164,7 +50164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4980;
show create table s;
Table Create Table
@@ -50172,7 +50172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4979;
show create table s;
Table Create Table
@@ -50180,7 +50180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4978;
show create table s;
Table Create Table
@@ -50188,7 +50188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4977;
show create table s;
Table Create Table
@@ -50196,7 +50196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4976;
show create table s;
Table Create Table
@@ -50204,7 +50204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4975;
show create table s;
Table Create Table
@@ -50212,7 +50212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4974;
show create table s;
Table Create Table
@@ -50220,7 +50220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4973;
show create table s;
Table Create Table
@@ -50228,7 +50228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4972;
show create table s;
Table Create Table
@@ -50236,7 +50236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4971;
show create table s;
Table Create Table
@@ -50244,7 +50244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4970;
show create table s;
Table Create Table
@@ -50252,7 +50252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4969;
show create table s;
Table Create Table
@@ -50260,7 +50260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4968;
show create table s;
Table Create Table
@@ -50268,7 +50268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4967;
show create table s;
Table Create Table
@@ -50276,7 +50276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4966;
show create table s;
Table Create Table
@@ -50284,7 +50284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4965;
show create table s;
Table Create Table
@@ -50292,7 +50292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4964;
show create table s;
Table Create Table
@@ -50300,7 +50300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4963;
show create table s;
Table Create Table
@@ -50308,7 +50308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4962;
show create table s;
Table Create Table
@@ -50316,7 +50316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4961;
show create table s;
Table Create Table
@@ -50324,7 +50324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4960;
show create table s;
Table Create Table
@@ -50332,7 +50332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4959;
show create table s;
Table Create Table
@@ -50340,7 +50340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4958;
show create table s;
Table Create Table
@@ -50348,7 +50348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4957;
show create table s;
Table Create Table
@@ -50356,7 +50356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4956;
show create table s;
Table Create Table
@@ -50364,7 +50364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4955;
show create table s;
Table Create Table
@@ -50372,7 +50372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4954;
show create table s;
Table Create Table
@@ -50380,7 +50380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4953;
show create table s;
Table Create Table
@@ -50388,7 +50388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4952;
show create table s;
Table Create Table
@@ -50396,7 +50396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4951;
show create table s;
Table Create Table
@@ -50404,7 +50404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4950;
show create table s;
Table Create Table
@@ -50412,7 +50412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4949;
show create table s;
Table Create Table
@@ -50420,7 +50420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4948;
show create table s;
Table Create Table
@@ -50428,7 +50428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4947;
show create table s;
Table Create Table
@@ -50436,7 +50436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4946;
show create table s;
Table Create Table
@@ -50444,7 +50444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4945;
show create table s;
Table Create Table
@@ -50452,7 +50452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4944;
show create table s;
Table Create Table
@@ -50460,7 +50460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4943;
show create table s;
Table Create Table
@@ -50468,7 +50468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4942;
show create table s;
Table Create Table
@@ -50476,7 +50476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4941;
show create table s;
Table Create Table
@@ -50484,7 +50484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4940;
show create table s;
Table Create Table
@@ -50492,7 +50492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4939;
show create table s;
Table Create Table
@@ -50500,7 +50500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4938;
show create table s;
Table Create Table
@@ -50508,7 +50508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4937;
show create table s;
Table Create Table
@@ -50516,7 +50516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4936;
show create table s;
Table Create Table
@@ -50524,7 +50524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4935;
show create table s;
Table Create Table
@@ -50532,7 +50532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4934;
show create table s;
Table Create Table
@@ -50540,7 +50540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4933;
show create table s;
Table Create Table
@@ -50548,7 +50548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4932;
show create table s;
Table Create Table
@@ -50556,7 +50556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4931;
show create table s;
Table Create Table
@@ -50564,7 +50564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4930;
show create table s;
Table Create Table
@@ -50572,7 +50572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4929;
show create table s;
Table Create Table
@@ -50580,7 +50580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4928;
show create table s;
Table Create Table
@@ -50588,7 +50588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4927;
show create table s;
Table Create Table
@@ -50596,7 +50596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4926;
show create table s;
Table Create Table
@@ -50604,7 +50604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4925;
show create table s;
Table Create Table
@@ -50612,7 +50612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4924;
show create table s;
Table Create Table
@@ -50620,7 +50620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4923;
show create table s;
Table Create Table
@@ -50628,7 +50628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4922;
show create table s;
Table Create Table
@@ -50636,7 +50636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4921;
show create table s;
Table Create Table
@@ -50644,7 +50644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4920;
show create table s;
Table Create Table
@@ -50652,7 +50652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4919;
show create table s;
Table Create Table
@@ -50660,7 +50660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4918;
show create table s;
Table Create Table
@@ -50668,7 +50668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4917;
show create table s;
Table Create Table
@@ -50676,7 +50676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4916;
show create table s;
Table Create Table
@@ -50684,7 +50684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4915;
show create table s;
Table Create Table
@@ -50692,7 +50692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4914;
show create table s;
Table Create Table
@@ -50700,7 +50700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4913;
show create table s;
Table Create Table
@@ -50708,7 +50708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4912;
show create table s;
Table Create Table
@@ -50716,7 +50716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4911;
show create table s;
Table Create Table
@@ -50724,7 +50724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4910;
show create table s;
Table Create Table
@@ -50732,7 +50732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4909;
show create table s;
Table Create Table
@@ -50740,7 +50740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4908;
show create table s;
Table Create Table
@@ -50748,7 +50748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4907;
show create table s;
Table Create Table
@@ -50756,7 +50756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4906;
show create table s;
Table Create Table
@@ -50764,7 +50764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4905;
show create table s;
Table Create Table
@@ -50772,7 +50772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4904;
show create table s;
Table Create Table
@@ -50780,7 +50780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4903;
show create table s;
Table Create Table
@@ -50788,7 +50788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4902;
show create table s;
Table Create Table
@@ -50796,7 +50796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4901;
show create table s;
Table Create Table
@@ -50804,7 +50804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4900;
show create table s;
Table Create Table
@@ -50812,7 +50812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4899;
show create table s;
Table Create Table
@@ -50820,7 +50820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4898;
show create table s;
Table Create Table
@@ -50828,7 +50828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4897;
show create table s;
Table Create Table
@@ -50836,7 +50836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4896;
show create table s;
Table Create Table
@@ -50844,7 +50844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4895;
show create table s;
Table Create Table
@@ -50852,7 +50852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4894;
show create table s;
Table Create Table
@@ -50860,7 +50860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4893;
show create table s;
Table Create Table
@@ -50868,7 +50868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4892;
show create table s;
Table Create Table
@@ -50876,7 +50876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4891;
show create table s;
Table Create Table
@@ -50884,7 +50884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4890;
show create table s;
Table Create Table
@@ -50892,7 +50892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4889;
show create table s;
Table Create Table
@@ -50900,7 +50900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4888;
show create table s;
Table Create Table
@@ -50908,7 +50908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4887;
show create table s;
Table Create Table
@@ -50916,7 +50916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4886;
show create table s;
Table Create Table
@@ -50924,7 +50924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4885;
show create table s;
Table Create Table
@@ -50932,7 +50932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4884;
show create table s;
Table Create Table
@@ -50940,7 +50940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4883;
show create table s;
Table Create Table
@@ -50948,7 +50948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4882;
show create table s;
Table Create Table
@@ -50956,7 +50956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4881;
show create table s;
Table Create Table
@@ -50964,7 +50964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4880;
show create table s;
Table Create Table
@@ -50972,7 +50972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4879;
show create table s;
Table Create Table
@@ -50980,7 +50980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4878;
show create table s;
Table Create Table
@@ -50988,7 +50988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4877;
show create table s;
Table Create Table
@@ -50996,7 +50996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4876;
show create table s;
Table Create Table
@@ -51004,7 +51004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4875;
show create table s;
Table Create Table
@@ -51012,7 +51012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4874;
show create table s;
Table Create Table
@@ -51020,7 +51020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4873;
show create table s;
Table Create Table
@@ -51028,7 +51028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4872;
show create table s;
Table Create Table
@@ -51036,7 +51036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4871;
show create table s;
Table Create Table
@@ -51044,7 +51044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4870;
show create table s;
Table Create Table
@@ -51052,7 +51052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4869;
show create table s;
Table Create Table
@@ -51060,7 +51060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4868;
show create table s;
Table Create Table
@@ -51068,7 +51068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4867;
show create table s;
Table Create Table
@@ -51076,7 +51076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4866;
show create table s;
Table Create Table
@@ -51084,7 +51084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4865;
show create table s;
Table Create Table
@@ -51092,7 +51092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4864;
show create table s;
Table Create Table
@@ -51100,7 +51100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4863;
show create table s;
Table Create Table
@@ -51108,7 +51108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4862;
show create table s;
Table Create Table
@@ -51116,7 +51116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4861;
show create table s;
Table Create Table
@@ -51124,7 +51124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4860;
show create table s;
Table Create Table
@@ -51132,7 +51132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4859;
show create table s;
Table Create Table
@@ -51140,7 +51140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4858;
show create table s;
Table Create Table
@@ -51148,7 +51148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4857;
show create table s;
Table Create Table
@@ -51156,7 +51156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4856;
show create table s;
Table Create Table
@@ -51164,7 +51164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4855;
show create table s;
Table Create Table
@@ -51172,7 +51172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4854;
show create table s;
Table Create Table
@@ -51180,7 +51180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4853;
show create table s;
Table Create Table
@@ -51188,7 +51188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4852;
show create table s;
Table Create Table
@@ -51196,7 +51196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4851;
show create table s;
Table Create Table
@@ -51204,7 +51204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4850;
show create table s;
Table Create Table
@@ -51212,7 +51212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4849;
show create table s;
Table Create Table
@@ -51220,7 +51220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4848;
show create table s;
Table Create Table
@@ -51228,7 +51228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4847;
show create table s;
Table Create Table
@@ -51236,7 +51236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4846;
show create table s;
Table Create Table
@@ -51244,7 +51244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4845;
show create table s;
Table Create Table
@@ -51252,7 +51252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4844;
show create table s;
Table Create Table
@@ -51260,7 +51260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4843;
show create table s;
Table Create Table
@@ -51268,7 +51268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4842;
show create table s;
Table Create Table
@@ -51276,7 +51276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4841;
show create table s;
Table Create Table
@@ -51284,7 +51284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4840;
show create table s;
Table Create Table
@@ -51292,7 +51292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4839;
show create table s;
Table Create Table
@@ -51300,7 +51300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4838;
show create table s;
Table Create Table
@@ -51308,7 +51308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4837;
show create table s;
Table Create Table
@@ -51316,7 +51316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4836;
show create table s;
Table Create Table
@@ -51324,7 +51324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4835;
show create table s;
Table Create Table
@@ -51332,7 +51332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4834;
show create table s;
Table Create Table
@@ -51340,7 +51340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4833;
show create table s;
Table Create Table
@@ -51348,7 +51348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4832;
show create table s;
Table Create Table
@@ -51356,7 +51356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4831;
show create table s;
Table Create Table
@@ -51364,7 +51364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4830;
show create table s;
Table Create Table
@@ -51372,7 +51372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4829;
show create table s;
Table Create Table
@@ -51380,7 +51380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4828;
show create table s;
Table Create Table
@@ -51388,7 +51388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4827;
show create table s;
Table Create Table
@@ -51396,7 +51396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4826;
show create table s;
Table Create Table
@@ -51404,7 +51404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4825;
show create table s;
Table Create Table
@@ -51412,7 +51412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4824;
show create table s;
Table Create Table
@@ -51420,7 +51420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4823;
show create table s;
Table Create Table
@@ -51428,7 +51428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4822;
show create table s;
Table Create Table
@@ -51436,7 +51436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4821;
show create table s;
Table Create Table
@@ -51444,7 +51444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4820;
show create table s;
Table Create Table
@@ -51452,7 +51452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4819;
show create table s;
Table Create Table
@@ -51460,7 +51460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4818;
show create table s;
Table Create Table
@@ -51468,7 +51468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4817;
show create table s;
Table Create Table
@@ -51476,7 +51476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4816;
show create table s;
Table Create Table
@@ -51484,7 +51484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4815;
show create table s;
Table Create Table
@@ -51492,7 +51492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4814;
show create table s;
Table Create Table
@@ -51500,7 +51500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4813;
show create table s;
Table Create Table
@@ -51508,7 +51508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4812;
show create table s;
Table Create Table
@@ -51516,7 +51516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4811;
show create table s;
Table Create Table
@@ -51524,7 +51524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4810;
show create table s;
Table Create Table
@@ -51532,7 +51532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4809;
show create table s;
Table Create Table
@@ -51540,7 +51540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4808;
show create table s;
Table Create Table
@@ -51548,7 +51548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4807;
show create table s;
Table Create Table
@@ -51556,7 +51556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4806;
show create table s;
Table Create Table
@@ -51564,7 +51564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4805;
show create table s;
Table Create Table
@@ -51572,7 +51572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4804;
show create table s;
Table Create Table
@@ -51580,7 +51580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4803;
show create table s;
Table Create Table
@@ -51588,7 +51588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4802;
show create table s;
Table Create Table
@@ -51596,7 +51596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4801;
show create table s;
Table Create Table
@@ -51604,7 +51604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4800;
show create table s;
Table Create Table
@@ -51612,7 +51612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4799;
show create table s;
Table Create Table
@@ -51620,7 +51620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4798;
show create table s;
Table Create Table
@@ -51628,7 +51628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4797;
show create table s;
Table Create Table
@@ -51636,7 +51636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4796;
show create table s;
Table Create Table
@@ -51644,7 +51644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4795;
show create table s;
Table Create Table
@@ -51652,7 +51652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4794;
show create table s;
Table Create Table
@@ -51660,7 +51660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4793;
show create table s;
Table Create Table
@@ -51668,7 +51668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4792;
show create table s;
Table Create Table
@@ -51676,7 +51676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4791;
show create table s;
Table Create Table
@@ -51684,7 +51684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4790;
show create table s;
Table Create Table
@@ -51692,7 +51692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4789;
show create table s;
Table Create Table
@@ -51700,7 +51700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4788;
show create table s;
Table Create Table
@@ -51708,7 +51708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4787;
show create table s;
Table Create Table
@@ -51716,7 +51716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4786;
show create table s;
Table Create Table
@@ -51724,7 +51724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4785;
show create table s;
Table Create Table
@@ -51732,7 +51732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4784;
show create table s;
Table Create Table
@@ -51740,7 +51740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4783;
show create table s;
Table Create Table
@@ -51748,7 +51748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4782;
show create table s;
Table Create Table
@@ -51756,7 +51756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4781;
show create table s;
Table Create Table
@@ -51764,7 +51764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4780;
show create table s;
Table Create Table
@@ -51772,7 +51772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4779;
show create table s;
Table Create Table
@@ -51780,7 +51780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4778;
show create table s;
Table Create Table
@@ -51788,7 +51788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4777;
show create table s;
Table Create Table
@@ -51796,7 +51796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4776;
show create table s;
Table Create Table
@@ -51804,7 +51804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4775;
show create table s;
Table Create Table
@@ -51812,7 +51812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4774;
show create table s;
Table Create Table
@@ -51820,7 +51820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4773;
show create table s;
Table Create Table
@@ -51828,7 +51828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4772;
show create table s;
Table Create Table
@@ -51836,7 +51836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4771;
show create table s;
Table Create Table
@@ -51844,7 +51844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4770;
show create table s;
Table Create Table
@@ -51852,7 +51852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4769;
show create table s;
Table Create Table
@@ -51860,7 +51860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4768;
show create table s;
Table Create Table
@@ -51868,7 +51868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4767;
show create table s;
Table Create Table
@@ -51876,7 +51876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4766;
show create table s;
Table Create Table
@@ -51884,7 +51884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4765;
show create table s;
Table Create Table
@@ -51892,7 +51892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4764;
show create table s;
Table Create Table
@@ -51900,7 +51900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4763;
show create table s;
Table Create Table
@@ -51908,7 +51908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4762;
show create table s;
Table Create Table
@@ -51916,7 +51916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4761;
show create table s;
Table Create Table
@@ -51924,7 +51924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4760;
show create table s;
Table Create Table
@@ -51932,7 +51932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4759;
show create table s;
Table Create Table
@@ -51940,7 +51940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4758;
show create table s;
Table Create Table
@@ -51948,7 +51948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4757;
show create table s;
Table Create Table
@@ -51956,7 +51956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4756;
show create table s;
Table Create Table
@@ -51964,7 +51964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4755;
show create table s;
Table Create Table
@@ -51972,7 +51972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4754;
show create table s;
Table Create Table
@@ -51980,7 +51980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4753;
show create table s;
Table Create Table
@@ -51988,7 +51988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4752;
show create table s;
Table Create Table
@@ -51996,7 +51996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4751;
show create table s;
Table Create Table
@@ -52004,7 +52004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4750;
show create table s;
Table Create Table
@@ -52012,7 +52012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4749;
show create table s;
Table Create Table
@@ -52020,7 +52020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4748;
show create table s;
Table Create Table
@@ -52028,7 +52028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4747;
show create table s;
Table Create Table
@@ -52036,7 +52036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4746;
show create table s;
Table Create Table
@@ -52044,7 +52044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4745;
show create table s;
Table Create Table
@@ -52052,7 +52052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4744;
show create table s;
Table Create Table
@@ -52060,7 +52060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4743;
show create table s;
Table Create Table
@@ -52068,7 +52068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4742;
show create table s;
Table Create Table
@@ -52076,7 +52076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4741;
show create table s;
Table Create Table
@@ -52084,7 +52084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4740;
show create table s;
Table Create Table
@@ -52092,7 +52092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4739;
show create table s;
Table Create Table
@@ -52100,7 +52100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4738;
show create table s;
Table Create Table
@@ -52108,7 +52108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4737;
show create table s;
Table Create Table
@@ -52116,7 +52116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4736;
show create table s;
Table Create Table
@@ -52124,7 +52124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4735;
show create table s;
Table Create Table
@@ -52132,7 +52132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4734;
show create table s;
Table Create Table
@@ -52140,7 +52140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4733;
show create table s;
Table Create Table
@@ -52148,7 +52148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4732;
show create table s;
Table Create Table
@@ -52156,7 +52156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4731;
show create table s;
Table Create Table
@@ -52164,7 +52164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4730;
show create table s;
Table Create Table
@@ -52172,7 +52172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4729;
show create table s;
Table Create Table
@@ -52180,7 +52180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4728;
show create table s;
Table Create Table
@@ -52188,7 +52188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4727;
show create table s;
Table Create Table
@@ -52196,7 +52196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4726;
show create table s;
Table Create Table
@@ -52204,7 +52204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4725;
show create table s;
Table Create Table
@@ -52212,7 +52212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4724;
show create table s;
Table Create Table
@@ -52220,7 +52220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4723;
show create table s;
Table Create Table
@@ -52228,7 +52228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4722;
show create table s;
Table Create Table
@@ -52236,7 +52236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4721;
show create table s;
Table Create Table
@@ -52244,7 +52244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4720;
show create table s;
Table Create Table
@@ -52252,7 +52252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4719;
show create table s;
Table Create Table
@@ -52260,7 +52260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4718;
show create table s;
Table Create Table
@@ -52268,7 +52268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4717;
show create table s;
Table Create Table
@@ -52276,7 +52276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4716;
show create table s;
Table Create Table
@@ -52284,7 +52284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4715;
show create table s;
Table Create Table
@@ -52292,7 +52292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4714;
show create table s;
Table Create Table
@@ -52300,7 +52300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4713;
show create table s;
Table Create Table
@@ -52308,7 +52308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4712;
show create table s;
Table Create Table
@@ -52316,7 +52316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4711;
show create table s;
Table Create Table
@@ -52324,7 +52324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4710;
show create table s;
Table Create Table
@@ -52332,7 +52332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4709;
show create table s;
Table Create Table
@@ -52340,7 +52340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4708;
show create table s;
Table Create Table
@@ -52348,7 +52348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4707;
show create table s;
Table Create Table
@@ -52356,7 +52356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4706;
show create table s;
Table Create Table
@@ -52364,7 +52364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4705;
show create table s;
Table Create Table
@@ -52372,7 +52372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4704;
show create table s;
Table Create Table
@@ -52380,7 +52380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4703;
show create table s;
Table Create Table
@@ -52388,7 +52388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4702;
show create table s;
Table Create Table
@@ -52396,7 +52396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4701;
show create table s;
Table Create Table
@@ -52404,7 +52404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4700;
show create table s;
Table Create Table
@@ -52412,7 +52412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4699;
show create table s;
Table Create Table
@@ -52420,7 +52420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4698;
show create table s;
Table Create Table
@@ -52428,7 +52428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4697;
show create table s;
Table Create Table
@@ -52436,7 +52436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4696;
show create table s;
Table Create Table
@@ -52444,7 +52444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4695;
show create table s;
Table Create Table
@@ -52452,7 +52452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4694;
show create table s;
Table Create Table
@@ -52460,7 +52460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4693;
show create table s;
Table Create Table
@@ -52468,7 +52468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4692;
show create table s;
Table Create Table
@@ -52476,7 +52476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4691;
show create table s;
Table Create Table
@@ -52484,7 +52484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4690;
show create table s;
Table Create Table
@@ -52492,7 +52492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4689;
show create table s;
Table Create Table
@@ -52500,7 +52500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4688;
show create table s;
Table Create Table
@@ -52508,7 +52508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4687;
show create table s;
Table Create Table
@@ -52516,7 +52516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4686;
show create table s;
Table Create Table
@@ -52524,7 +52524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4685;
show create table s;
Table Create Table
@@ -52532,7 +52532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4684;
show create table s;
Table Create Table
@@ -52540,7 +52540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4683;
show create table s;
Table Create Table
@@ -52548,7 +52548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4682;
show create table s;
Table Create Table
@@ -52556,7 +52556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4681;
show create table s;
Table Create Table
@@ -52564,7 +52564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4680;
show create table s;
Table Create Table
@@ -52572,7 +52572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4679;
show create table s;
Table Create Table
@@ -52580,7 +52580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4678;
show create table s;
Table Create Table
@@ -52588,7 +52588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4677;
show create table s;
Table Create Table
@@ -52596,7 +52596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4676;
show create table s;
Table Create Table
@@ -52604,7 +52604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4675;
show create table s;
Table Create Table
@@ -52612,7 +52612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4674;
show create table s;
Table Create Table
@@ -52620,7 +52620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4673;
show create table s;
Table Create Table
@@ -52628,7 +52628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4672;
show create table s;
Table Create Table
@@ -52636,7 +52636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4671;
show create table s;
Table Create Table
@@ -52644,7 +52644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4670;
show create table s;
Table Create Table
@@ -52652,7 +52652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4669;
show create table s;
Table Create Table
@@ -52660,7 +52660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4668;
show create table s;
Table Create Table
@@ -52668,7 +52668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4667;
show create table s;
Table Create Table
@@ -52676,7 +52676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4666;
show create table s;
Table Create Table
@@ -52684,7 +52684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4665;
show create table s;
Table Create Table
@@ -52692,7 +52692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4664;
show create table s;
Table Create Table
@@ -52700,7 +52700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4663;
show create table s;
Table Create Table
@@ -52708,7 +52708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4662;
show create table s;
Table Create Table
@@ -52716,7 +52716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4661;
show create table s;
Table Create Table
@@ -52724,7 +52724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4660;
show create table s;
Table Create Table
@@ -52732,7 +52732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4659;
show create table s;
Table Create Table
@@ -52740,7 +52740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4658;
show create table s;
Table Create Table
@@ -52748,7 +52748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4657;
show create table s;
Table Create Table
@@ -52756,7 +52756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4656;
show create table s;
Table Create Table
@@ -52764,7 +52764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4655;
show create table s;
Table Create Table
@@ -52772,7 +52772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4654;
show create table s;
Table Create Table
@@ -52780,7 +52780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4653;
show create table s;
Table Create Table
@@ -52788,7 +52788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4652;
show create table s;
Table Create Table
@@ -52796,7 +52796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4651;
show create table s;
Table Create Table
@@ -52804,7 +52804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4650;
show create table s;
Table Create Table
@@ -52812,7 +52812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4649;
show create table s;
Table Create Table
@@ -52820,7 +52820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4648;
show create table s;
Table Create Table
@@ -52828,7 +52828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4647;
show create table s;
Table Create Table
@@ -52836,7 +52836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4646;
show create table s;
Table Create Table
@@ -52844,7 +52844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4645;
show create table s;
Table Create Table
@@ -52852,7 +52852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4644;
show create table s;
Table Create Table
@@ -52860,7 +52860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4643;
show create table s;
Table Create Table
@@ -52868,7 +52868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4642;
show create table s;
Table Create Table
@@ -52876,7 +52876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4641;
show create table s;
Table Create Table
@@ -52884,7 +52884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4640;
show create table s;
Table Create Table
@@ -52892,7 +52892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4639;
show create table s;
Table Create Table
@@ -52900,7 +52900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4638;
show create table s;
Table Create Table
@@ -52908,7 +52908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4637;
show create table s;
Table Create Table
@@ -52916,7 +52916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4636;
show create table s;
Table Create Table
@@ -52924,7 +52924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4635;
show create table s;
Table Create Table
@@ -52932,7 +52932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4634;
show create table s;
Table Create Table
@@ -52940,7 +52940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4633;
show create table s;
Table Create Table
@@ -52948,7 +52948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4632;
show create table s;
Table Create Table
@@ -52956,7 +52956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4631;
show create table s;
Table Create Table
@@ -52964,7 +52964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4630;
show create table s;
Table Create Table
@@ -52972,7 +52972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4629;
show create table s;
Table Create Table
@@ -52980,7 +52980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4628;
show create table s;
Table Create Table
@@ -52988,7 +52988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4627;
show create table s;
Table Create Table
@@ -52996,7 +52996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4626;
show create table s;
Table Create Table
@@ -53004,7 +53004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4625;
show create table s;
Table Create Table
@@ -53012,7 +53012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4624;
show create table s;
Table Create Table
@@ -53020,7 +53020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4623;
show create table s;
Table Create Table
@@ -53028,7 +53028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4622;
show create table s;
Table Create Table
@@ -53036,7 +53036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4621;
show create table s;
Table Create Table
@@ -53044,7 +53044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4620;
show create table s;
Table Create Table
@@ -53052,7 +53052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4619;
show create table s;
Table Create Table
@@ -53060,7 +53060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4618;
show create table s;
Table Create Table
@@ -53068,7 +53068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4617;
show create table s;
Table Create Table
@@ -53076,7 +53076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4616;
show create table s;
Table Create Table
@@ -53084,7 +53084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4615;
show create table s;
Table Create Table
@@ -53092,7 +53092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4614;
show create table s;
Table Create Table
@@ -53100,7 +53100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4613;
show create table s;
Table Create Table
@@ -53108,7 +53108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4612;
show create table s;
Table Create Table
@@ -53116,7 +53116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4611;
show create table s;
Table Create Table
@@ -53124,7 +53124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4610;
show create table s;
Table Create Table
@@ -53132,7 +53132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4609;
show create table s;
Table Create Table
@@ -53140,7 +53140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4608;
show create table s;
Table Create Table
@@ -53148,7 +53148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4607;
show create table s;
Table Create Table
@@ -53156,7 +53156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4606;
show create table s;
Table Create Table
@@ -53164,7 +53164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4605;
show create table s;
Table Create Table
@@ -53172,7 +53172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4604;
show create table s;
Table Create Table
@@ -53180,7 +53180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4603;
show create table s;
Table Create Table
@@ -53188,7 +53188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4602;
show create table s;
Table Create Table
@@ -53196,7 +53196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4601;
show create table s;
Table Create Table
@@ -53204,7 +53204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4600;
show create table s;
Table Create Table
@@ -53212,7 +53212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4599;
show create table s;
Table Create Table
@@ -53220,7 +53220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4598;
show create table s;
Table Create Table
@@ -53228,7 +53228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4597;
show create table s;
Table Create Table
@@ -53236,7 +53236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4596;
show create table s;
Table Create Table
@@ -53244,7 +53244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4595;
show create table s;
Table Create Table
@@ -53252,7 +53252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4594;
show create table s;
Table Create Table
@@ -53260,7 +53260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4593;
show create table s;
Table Create Table
@@ -53268,7 +53268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4592;
show create table s;
Table Create Table
@@ -53276,7 +53276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4591;
show create table s;
Table Create Table
@@ -53284,7 +53284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4590;
show create table s;
Table Create Table
@@ -53292,7 +53292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4589;
show create table s;
Table Create Table
@@ -53300,7 +53300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4588;
show create table s;
Table Create Table
@@ -53308,7 +53308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4587;
show create table s;
Table Create Table
@@ -53316,7 +53316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4586;
show create table s;
Table Create Table
@@ -53324,7 +53324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4585;
show create table s;
Table Create Table
@@ -53332,7 +53332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4584;
show create table s;
Table Create Table
@@ -53340,7 +53340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4583;
show create table s;
Table Create Table
@@ -53348,7 +53348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4582;
show create table s;
Table Create Table
@@ -53356,7 +53356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4581;
show create table s;
Table Create Table
@@ -53364,7 +53364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4580;
show create table s;
Table Create Table
@@ -53372,7 +53372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4579;
show create table s;
Table Create Table
@@ -53380,7 +53380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4578;
show create table s;
Table Create Table
@@ -53388,7 +53388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4577;
show create table s;
Table Create Table
@@ -53396,7 +53396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4576;
show create table s;
Table Create Table
@@ -53404,7 +53404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4575;
show create table s;
Table Create Table
@@ -53412,7 +53412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4574;
show create table s;
Table Create Table
@@ -53420,7 +53420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4573;
show create table s;
Table Create Table
@@ -53428,7 +53428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4572;
show create table s;
Table Create Table
@@ -53436,7 +53436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4571;
show create table s;
Table Create Table
@@ -53444,7 +53444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4570;
show create table s;
Table Create Table
@@ -53452,7 +53452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4569;
show create table s;
Table Create Table
@@ -53460,7 +53460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4568;
show create table s;
Table Create Table
@@ -53468,7 +53468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4567;
show create table s;
Table Create Table
@@ -53476,7 +53476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4566;
show create table s;
Table Create Table
@@ -53484,7 +53484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4565;
show create table s;
Table Create Table
@@ -53492,7 +53492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4564;
show create table s;
Table Create Table
@@ -53500,7 +53500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4563;
show create table s;
Table Create Table
@@ -53508,7 +53508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4562;
show create table s;
Table Create Table
@@ -53516,7 +53516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4561;
show create table s;
Table Create Table
@@ -53524,7 +53524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4560;
show create table s;
Table Create Table
@@ -53532,7 +53532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4559;
show create table s;
Table Create Table
@@ -53540,7 +53540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4558;
show create table s;
Table Create Table
@@ -53548,7 +53548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4557;
show create table s;
Table Create Table
@@ -53556,7 +53556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4556;
show create table s;
Table Create Table
@@ -53564,7 +53564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4555;
show create table s;
Table Create Table
@@ -53572,7 +53572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4554;
show create table s;
Table Create Table
@@ -53580,7 +53580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4553;
show create table s;
Table Create Table
@@ -53588,7 +53588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4552;
show create table s;
Table Create Table
@@ -53596,7 +53596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4551;
show create table s;
Table Create Table
@@ -53604,7 +53604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4550;
show create table s;
Table Create Table
@@ -53612,7 +53612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4549;
show create table s;
Table Create Table
@@ -53620,7 +53620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4548;
show create table s;
Table Create Table
@@ -53628,7 +53628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4547;
show create table s;
Table Create Table
@@ -53636,7 +53636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4546;
show create table s;
Table Create Table
@@ -53644,7 +53644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4545;
show create table s;
Table Create Table
@@ -53652,7 +53652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4544;
show create table s;
Table Create Table
@@ -53660,7 +53660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4543;
show create table s;
Table Create Table
@@ -53668,7 +53668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4542;
show create table s;
Table Create Table
@@ -53676,7 +53676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4541;
show create table s;
Table Create Table
@@ -53684,7 +53684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4540;
show create table s;
Table Create Table
@@ -53692,7 +53692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4539;
show create table s;
Table Create Table
@@ -53700,7 +53700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4538;
show create table s;
Table Create Table
@@ -53708,7 +53708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4537;
show create table s;
Table Create Table
@@ -53716,7 +53716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4536;
show create table s;
Table Create Table
@@ -53724,7 +53724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4535;
show create table s;
Table Create Table
@@ -53732,7 +53732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4534;
show create table s;
Table Create Table
@@ -53740,7 +53740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4533;
show create table s;
Table Create Table
@@ -53748,7 +53748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4532;
show create table s;
Table Create Table
@@ -53756,7 +53756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4531;
show create table s;
Table Create Table
@@ -53764,7 +53764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4530;
show create table s;
Table Create Table
@@ -53772,7 +53772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4529;
show create table s;
Table Create Table
@@ -53780,7 +53780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4528;
show create table s;
Table Create Table
@@ -53788,7 +53788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4527;
show create table s;
Table Create Table
@@ -53796,7 +53796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4526;
show create table s;
Table Create Table
@@ -53804,7 +53804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4525;
show create table s;
Table Create Table
@@ -53812,7 +53812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4524;
show create table s;
Table Create Table
@@ -53820,7 +53820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4523;
show create table s;
Table Create Table
@@ -53828,7 +53828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4522;
show create table s;
Table Create Table
@@ -53836,7 +53836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4521;
show create table s;
Table Create Table
@@ -53844,7 +53844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4520;
show create table s;
Table Create Table
@@ -53852,7 +53852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4519;
show create table s;
Table Create Table
@@ -53860,7 +53860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4518;
show create table s;
Table Create Table
@@ -53868,7 +53868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4517;
show create table s;
Table Create Table
@@ -53876,7 +53876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4516;
show create table s;
Table Create Table
@@ -53884,7 +53884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4515;
show create table s;
Table Create Table
@@ -53892,7 +53892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4514;
show create table s;
Table Create Table
@@ -53900,7 +53900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4513;
show create table s;
Table Create Table
@@ -53908,7 +53908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4512;
show create table s;
Table Create Table
@@ -53916,7 +53916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4511;
show create table s;
Table Create Table
@@ -53924,7 +53924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4510;
show create table s;
Table Create Table
@@ -53932,7 +53932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4509;
show create table s;
Table Create Table
@@ -53940,7 +53940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4508;
show create table s;
Table Create Table
@@ -53948,7 +53948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4507;
show create table s;
Table Create Table
@@ -53956,7 +53956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4506;
show create table s;
Table Create Table
@@ -53964,7 +53964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4505;
show create table s;
Table Create Table
@@ -53972,7 +53972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4504;
show create table s;
Table Create Table
@@ -53980,7 +53980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4503;
show create table s;
Table Create Table
@@ -53988,7 +53988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4502;
show create table s;
Table Create Table
@@ -53996,7 +53996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4501;
show create table s;
Table Create Table
@@ -54004,7 +54004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4500;
show create table s;
Table Create Table
@@ -54012,7 +54012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4499;
show create table s;
Table Create Table
@@ -54020,7 +54020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4498;
show create table s;
Table Create Table
@@ -54028,7 +54028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4497;
show create table s;
Table Create Table
@@ -54036,7 +54036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4496;
show create table s;
Table Create Table
@@ -54044,7 +54044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4495;
show create table s;
Table Create Table
@@ -54052,7 +54052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4494;
show create table s;
Table Create Table
@@ -54060,7 +54060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4493;
show create table s;
Table Create Table
@@ -54068,7 +54068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4492;
show create table s;
Table Create Table
@@ -54076,7 +54076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4491;
show create table s;
Table Create Table
@@ -54084,7 +54084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4490;
show create table s;
Table Create Table
@@ -54092,7 +54092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4489;
show create table s;
Table Create Table
@@ -54100,7 +54100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4488;
show create table s;
Table Create Table
@@ -54108,7 +54108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4487;
show create table s;
Table Create Table
@@ -54116,7 +54116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4486;
show create table s;
Table Create Table
@@ -54124,7 +54124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4485;
show create table s;
Table Create Table
@@ -54132,7 +54132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4484;
show create table s;
Table Create Table
@@ -54140,7 +54140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4483;
show create table s;
Table Create Table
@@ -54148,7 +54148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4482;
show create table s;
Table Create Table
@@ -54156,7 +54156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4481;
show create table s;
Table Create Table
@@ -54164,7 +54164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4480;
show create table s;
Table Create Table
@@ -54172,7 +54172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4479;
show create table s;
Table Create Table
@@ -54180,7 +54180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4478;
show create table s;
Table Create Table
@@ -54188,7 +54188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4477;
show create table s;
Table Create Table
@@ -54196,7 +54196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4476;
show create table s;
Table Create Table
@@ -54204,7 +54204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4475;
show create table s;
Table Create Table
@@ -54212,7 +54212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4474;
show create table s;
Table Create Table
@@ -54220,7 +54220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4473;
show create table s;
Table Create Table
@@ -54228,7 +54228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4472;
show create table s;
Table Create Table
@@ -54236,7 +54236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4471;
show create table s;
Table Create Table
@@ -54244,7 +54244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4470;
show create table s;
Table Create Table
@@ -54252,7 +54252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4469;
show create table s;
Table Create Table
@@ -54260,7 +54260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4468;
show create table s;
Table Create Table
@@ -54268,7 +54268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4467;
show create table s;
Table Create Table
@@ -54276,7 +54276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4466;
show create table s;
Table Create Table
@@ -54284,7 +54284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4465;
show create table s;
Table Create Table
@@ -54292,7 +54292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4464;
show create table s;
Table Create Table
@@ -54300,7 +54300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4463;
show create table s;
Table Create Table
@@ -54308,7 +54308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4462;
show create table s;
Table Create Table
@@ -54316,7 +54316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4461;
show create table s;
Table Create Table
@@ -54324,7 +54324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4460;
show create table s;
Table Create Table
@@ -54332,7 +54332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4459;
show create table s;
Table Create Table
@@ -54340,7 +54340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4458;
show create table s;
Table Create Table
@@ -54348,7 +54348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4457;
show create table s;
Table Create Table
@@ -54356,7 +54356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4456;
show create table s;
Table Create Table
@@ -54364,7 +54364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4455;
show create table s;
Table Create Table
@@ -54372,7 +54372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4454;
show create table s;
Table Create Table
@@ -54380,7 +54380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4453;
show create table s;
Table Create Table
@@ -54388,7 +54388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4452;
show create table s;
Table Create Table
@@ -54396,7 +54396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4451;
show create table s;
Table Create Table
@@ -54404,7 +54404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4450;
show create table s;
Table Create Table
@@ -54412,7 +54412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4449;
show create table s;
Table Create Table
@@ -54420,7 +54420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4448;
show create table s;
Table Create Table
@@ -54428,7 +54428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4447;
show create table s;
Table Create Table
@@ -54436,7 +54436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4446;
show create table s;
Table Create Table
@@ -54444,7 +54444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4445;
show create table s;
Table Create Table
@@ -54452,7 +54452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4444;
show create table s;
Table Create Table
@@ -54460,7 +54460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4443;
show create table s;
Table Create Table
@@ -54468,7 +54468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4442;
show create table s;
Table Create Table
@@ -54476,7 +54476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4441;
show create table s;
Table Create Table
@@ -54484,7 +54484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4440;
show create table s;
Table Create Table
@@ -54492,7 +54492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4439;
show create table s;
Table Create Table
@@ -54500,7 +54500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4438;
show create table s;
Table Create Table
@@ -54508,7 +54508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4437;
show create table s;
Table Create Table
@@ -54516,7 +54516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4436;
show create table s;
Table Create Table
@@ -54524,7 +54524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4435;
show create table s;
Table Create Table
@@ -54532,7 +54532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4434;
show create table s;
Table Create Table
@@ -54540,7 +54540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4433;
show create table s;
Table Create Table
@@ -54548,7 +54548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4432;
show create table s;
Table Create Table
@@ -54556,7 +54556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4431;
show create table s;
Table Create Table
@@ -54564,7 +54564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4430;
show create table s;
Table Create Table
@@ -54572,7 +54572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4429;
show create table s;
Table Create Table
@@ -54580,7 +54580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4428;
show create table s;
Table Create Table
@@ -54588,7 +54588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4427;
show create table s;
Table Create Table
@@ -54596,7 +54596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4426;
show create table s;
Table Create Table
@@ -54604,7 +54604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4425;
show create table s;
Table Create Table
@@ -54612,7 +54612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4424;
show create table s;
Table Create Table
@@ -54620,7 +54620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4423;
show create table s;
Table Create Table
@@ -54628,7 +54628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4422;
show create table s;
Table Create Table
@@ -54636,7 +54636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4421;
show create table s;
Table Create Table
@@ -54644,7 +54644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4420;
show create table s;
Table Create Table
@@ -54652,7 +54652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4419;
show create table s;
Table Create Table
@@ -54660,7 +54660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4418;
show create table s;
Table Create Table
@@ -54668,7 +54668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4417;
show create table s;
Table Create Table
@@ -54676,7 +54676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4416;
show create table s;
Table Create Table
@@ -54684,7 +54684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4415;
show create table s;
Table Create Table
@@ -54692,7 +54692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4414;
show create table s;
Table Create Table
@@ -54700,7 +54700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4413;
show create table s;
Table Create Table
@@ -54708,7 +54708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4412;
show create table s;
Table Create Table
@@ -54716,7 +54716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4411;
show create table s;
Table Create Table
@@ -54724,7 +54724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4410;
show create table s;
Table Create Table
@@ -54732,7 +54732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4409;
show create table s;
Table Create Table
@@ -54740,7 +54740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4408;
show create table s;
Table Create Table
@@ -54748,7 +54748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4407;
show create table s;
Table Create Table
@@ -54756,7 +54756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4406;
show create table s;
Table Create Table
@@ -54764,7 +54764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4405;
show create table s;
Table Create Table
@@ -54772,7 +54772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4404;
show create table s;
Table Create Table
@@ -54780,7 +54780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4403;
show create table s;
Table Create Table
@@ -54788,7 +54788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4402;
show create table s;
Table Create Table
@@ -54796,7 +54796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4401;
show create table s;
Table Create Table
@@ -54804,7 +54804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4400;
show create table s;
Table Create Table
@@ -54812,7 +54812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4399;
show create table s;
Table Create Table
@@ -54820,7 +54820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4398;
show create table s;
Table Create Table
@@ -54828,7 +54828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4397;
show create table s;
Table Create Table
@@ -54836,7 +54836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4396;
show create table s;
Table Create Table
@@ -54844,7 +54844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4395;
show create table s;
Table Create Table
@@ -54852,7 +54852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4394;
show create table s;
Table Create Table
@@ -54860,7 +54860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4393;
show create table s;
Table Create Table
@@ -54868,7 +54868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4392;
show create table s;
Table Create Table
@@ -54876,7 +54876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4391;
show create table s;
Table Create Table
@@ -54884,7 +54884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4390;
show create table s;
Table Create Table
@@ -54892,7 +54892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4389;
show create table s;
Table Create Table
@@ -54900,7 +54900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4388;
show create table s;
Table Create Table
@@ -54908,7 +54908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4387;
show create table s;
Table Create Table
@@ -54916,7 +54916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4386;
show create table s;
Table Create Table
@@ -54924,7 +54924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4385;
show create table s;
Table Create Table
@@ -54932,7 +54932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4384;
show create table s;
Table Create Table
@@ -54940,7 +54940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4383;
show create table s;
Table Create Table
@@ -54948,7 +54948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4382;
show create table s;
Table Create Table
@@ -54956,7 +54956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4381;
show create table s;
Table Create Table
@@ -54964,7 +54964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4380;
show create table s;
Table Create Table
@@ -54972,7 +54972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4379;
show create table s;
Table Create Table
@@ -54980,7 +54980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4378;
show create table s;
Table Create Table
@@ -54988,7 +54988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4377;
show create table s;
Table Create Table
@@ -54996,7 +54996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4376;
show create table s;
Table Create Table
@@ -55004,7 +55004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4375;
show create table s;
Table Create Table
@@ -55012,7 +55012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4374;
show create table s;
Table Create Table
@@ -55020,7 +55020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4373;
show create table s;
Table Create Table
@@ -55028,7 +55028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4372;
show create table s;
Table Create Table
@@ -55036,7 +55036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4371;
show create table s;
Table Create Table
@@ -55044,7 +55044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4370;
show create table s;
Table Create Table
@@ -55052,7 +55052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4369;
show create table s;
Table Create Table
@@ -55060,7 +55060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4368;
show create table s;
Table Create Table
@@ -55068,7 +55068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4367;
show create table s;
Table Create Table
@@ -55076,7 +55076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4366;
show create table s;
Table Create Table
@@ -55084,7 +55084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4365;
show create table s;
Table Create Table
@@ -55092,7 +55092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4364;
show create table s;
Table Create Table
@@ -55100,7 +55100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4363;
show create table s;
Table Create Table
@@ -55108,7 +55108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4362;
show create table s;
Table Create Table
@@ -55116,7 +55116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4361;
show create table s;
Table Create Table
@@ -55124,7 +55124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4360;
show create table s;
Table Create Table
@@ -55132,7 +55132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4359;
show create table s;
Table Create Table
@@ -55140,7 +55140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4358;
show create table s;
Table Create Table
@@ -55148,7 +55148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4357;
show create table s;
Table Create Table
@@ -55156,7 +55156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4356;
show create table s;
Table Create Table
@@ -55164,7 +55164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4355;
show create table s;
Table Create Table
@@ -55172,7 +55172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4354;
show create table s;
Table Create Table
@@ -55180,7 +55180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4353;
show create table s;
Table Create Table
@@ -55188,7 +55188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4352;
show create table s;
Table Create Table
@@ -55196,7 +55196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4351;
show create table s;
Table Create Table
@@ -55204,7 +55204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4350;
show create table s;
Table Create Table
@@ -55212,7 +55212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4349;
show create table s;
Table Create Table
@@ -55220,7 +55220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4348;
show create table s;
Table Create Table
@@ -55228,7 +55228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4347;
show create table s;
Table Create Table
@@ -55236,7 +55236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4346;
show create table s;
Table Create Table
@@ -55244,7 +55244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4345;
show create table s;
Table Create Table
@@ -55252,7 +55252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4344;
show create table s;
Table Create Table
@@ -55260,7 +55260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4343;
show create table s;
Table Create Table
@@ -55268,7 +55268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4342;
show create table s;
Table Create Table
@@ -55276,7 +55276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4341;
show create table s;
Table Create Table
@@ -55284,7 +55284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4340;
show create table s;
Table Create Table
@@ -55292,7 +55292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4339;
show create table s;
Table Create Table
@@ -55300,7 +55300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4338;
show create table s;
Table Create Table
@@ -55308,7 +55308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4337;
show create table s;
Table Create Table
@@ -55316,7 +55316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4336;
show create table s;
Table Create Table
@@ -55324,7 +55324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4335;
show create table s;
Table Create Table
@@ -55332,7 +55332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4334;
show create table s;
Table Create Table
@@ -55340,7 +55340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4333;
show create table s;
Table Create Table
@@ -55348,7 +55348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4332;
show create table s;
Table Create Table
@@ -55356,7 +55356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4331;
show create table s;
Table Create Table
@@ -55364,7 +55364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4330;
show create table s;
Table Create Table
@@ -55372,7 +55372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4329;
show create table s;
Table Create Table
@@ -55380,7 +55380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4328;
show create table s;
Table Create Table
@@ -55388,7 +55388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4327;
show create table s;
Table Create Table
@@ -55396,7 +55396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4326;
show create table s;
Table Create Table
@@ -55404,7 +55404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4325;
show create table s;
Table Create Table
@@ -55412,7 +55412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4324;
show create table s;
Table Create Table
@@ -55420,7 +55420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4323;
show create table s;
Table Create Table
@@ -55428,7 +55428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4322;
show create table s;
Table Create Table
@@ -55436,7 +55436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4321;
show create table s;
Table Create Table
@@ -55444,7 +55444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4320;
show create table s;
Table Create Table
@@ -55452,7 +55452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4319;
show create table s;
Table Create Table
@@ -55460,7 +55460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4318;
show create table s;
Table Create Table
@@ -55468,7 +55468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4317;
show create table s;
Table Create Table
@@ -55476,7 +55476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4316;
show create table s;
Table Create Table
@@ -55484,7 +55484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4315;
show create table s;
Table Create Table
@@ -55492,7 +55492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4314;
show create table s;
Table Create Table
@@ -55500,7 +55500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4313;
show create table s;
Table Create Table
@@ -55508,7 +55508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4312;
show create table s;
Table Create Table
@@ -55516,7 +55516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4311;
show create table s;
Table Create Table
@@ -55524,7 +55524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4310;
show create table s;
Table Create Table
@@ -55532,7 +55532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4309;
show create table s;
Table Create Table
@@ -55540,7 +55540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4308;
show create table s;
Table Create Table
@@ -55548,7 +55548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4307;
show create table s;
Table Create Table
@@ -55556,7 +55556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4306;
show create table s;
Table Create Table
@@ -55564,7 +55564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4305;
show create table s;
Table Create Table
@@ -55572,7 +55572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4304;
show create table s;
Table Create Table
@@ -55580,7 +55580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4303;
show create table s;
Table Create Table
@@ -55588,7 +55588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4302;
show create table s;
Table Create Table
@@ -55596,7 +55596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4301;
show create table s;
Table Create Table
@@ -55604,7 +55604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4300;
show create table s;
Table Create Table
@@ -55612,7 +55612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4299;
show create table s;
Table Create Table
@@ -55620,7 +55620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4298;
show create table s;
Table Create Table
@@ -55628,7 +55628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4297;
show create table s;
Table Create Table
@@ -55636,7 +55636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4296;
show create table s;
Table Create Table
@@ -55644,7 +55644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4295;
show create table s;
Table Create Table
@@ -55652,7 +55652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4294;
show create table s;
Table Create Table
@@ -55660,7 +55660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4293;
show create table s;
Table Create Table
@@ -55668,7 +55668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4292;
show create table s;
Table Create Table
@@ -55676,7 +55676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4291;
show create table s;
Table Create Table
@@ -55684,7 +55684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4290;
show create table s;
Table Create Table
@@ -55692,7 +55692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4289;
show create table s;
Table Create Table
@@ -55700,7 +55700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4288;
show create table s;
Table Create Table
@@ -55708,7 +55708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4287;
show create table s;
Table Create Table
@@ -55716,7 +55716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4286;
show create table s;
Table Create Table
@@ -55724,7 +55724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4285;
show create table s;
Table Create Table
@@ -55732,7 +55732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4284;
show create table s;
Table Create Table
@@ -55740,7 +55740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4283;
show create table s;
Table Create Table
@@ -55748,7 +55748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4282;
show create table s;
Table Create Table
@@ -55756,7 +55756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4281;
show create table s;
Table Create Table
@@ -55764,7 +55764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4280;
show create table s;
Table Create Table
@@ -55772,7 +55772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4279;
show create table s;
Table Create Table
@@ -55780,7 +55780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4278;
show create table s;
Table Create Table
@@ -55788,7 +55788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4277;
show create table s;
Table Create Table
@@ -55796,7 +55796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4276;
show create table s;
Table Create Table
@@ -55804,7 +55804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4275;
show create table s;
Table Create Table
@@ -55812,7 +55812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4274;
show create table s;
Table Create Table
@@ -55820,7 +55820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4273;
show create table s;
Table Create Table
@@ -55828,7 +55828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4272;
show create table s;
Table Create Table
@@ -55836,7 +55836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4271;
show create table s;
Table Create Table
@@ -55844,7 +55844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4270;
show create table s;
Table Create Table
@@ -55852,7 +55852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4269;
show create table s;
Table Create Table
@@ -55860,7 +55860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4268;
show create table s;
Table Create Table
@@ -55868,7 +55868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4267;
show create table s;
Table Create Table
@@ -55876,7 +55876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4266;
show create table s;
Table Create Table
@@ -55884,7 +55884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4265;
show create table s;
Table Create Table
@@ -55892,7 +55892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4264;
show create table s;
Table Create Table
@@ -55900,7 +55900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4263;
show create table s;
Table Create Table
@@ -55908,7 +55908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4262;
show create table s;
Table Create Table
@@ -55916,7 +55916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4261;
show create table s;
Table Create Table
@@ -55924,7 +55924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4260;
show create table s;
Table Create Table
@@ -55932,7 +55932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4259;
show create table s;
Table Create Table
@@ -55940,7 +55940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4258;
show create table s;
Table Create Table
@@ -55948,7 +55948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4257;
show create table s;
Table Create Table
@@ -55956,7 +55956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4256;
show create table s;
Table Create Table
@@ -55964,7 +55964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4255;
show create table s;
Table Create Table
@@ -55972,7 +55972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4254;
show create table s;
Table Create Table
@@ -55980,7 +55980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4253;
show create table s;
Table Create Table
@@ -55988,7 +55988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4252;
show create table s;
Table Create Table
@@ -55996,7 +55996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4251;
show create table s;
Table Create Table
@@ -56004,7 +56004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4250;
show create table s;
Table Create Table
@@ -56012,7 +56012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4249;
show create table s;
Table Create Table
@@ -56020,7 +56020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4248;
show create table s;
Table Create Table
@@ -56028,7 +56028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4247;
show create table s;
Table Create Table
@@ -56036,7 +56036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4246;
show create table s;
Table Create Table
@@ -56044,7 +56044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4245;
show create table s;
Table Create Table
@@ -56052,7 +56052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4244;
show create table s;
Table Create Table
@@ -56060,7 +56060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4243;
show create table s;
Table Create Table
@@ -56068,7 +56068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4242;
show create table s;
Table Create Table
@@ -56076,7 +56076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4241;
show create table s;
Table Create Table
@@ -56084,7 +56084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4240;
show create table s;
Table Create Table
@@ -56092,7 +56092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4239;
show create table s;
Table Create Table
@@ -56100,7 +56100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4238;
show create table s;
Table Create Table
@@ -56108,7 +56108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4237;
show create table s;
Table Create Table
@@ -56116,7 +56116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4236;
show create table s;
Table Create Table
@@ -56124,7 +56124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4235;
show create table s;
Table Create Table
@@ -56132,7 +56132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4234;
show create table s;
Table Create Table
@@ -56140,7 +56140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4233;
show create table s;
Table Create Table
@@ -56148,7 +56148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4232;
show create table s;
Table Create Table
@@ -56156,7 +56156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4231;
show create table s;
Table Create Table
@@ -56164,7 +56164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4230;
show create table s;
Table Create Table
@@ -56172,7 +56172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4229;
show create table s;
Table Create Table
@@ -56180,7 +56180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4228;
show create table s;
Table Create Table
@@ -56188,7 +56188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4227;
show create table s;
Table Create Table
@@ -56196,7 +56196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4226;
show create table s;
Table Create Table
@@ -56204,7 +56204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4225;
show create table s;
Table Create Table
@@ -56212,7 +56212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4224;
show create table s;
Table Create Table
@@ -56220,7 +56220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4223;
show create table s;
Table Create Table
@@ -56228,7 +56228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4222;
show create table s;
Table Create Table
@@ -56236,7 +56236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4221;
show create table s;
Table Create Table
@@ -56244,7 +56244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4220;
show create table s;
Table Create Table
@@ -56252,7 +56252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4219;
show create table s;
Table Create Table
@@ -56260,7 +56260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4218;
show create table s;
Table Create Table
@@ -56268,7 +56268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4217;
show create table s;
Table Create Table
@@ -56276,7 +56276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4216;
show create table s;
Table Create Table
@@ -56284,7 +56284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4215;
show create table s;
Table Create Table
@@ -56292,7 +56292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4214;
show create table s;
Table Create Table
@@ -56300,7 +56300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4213;
show create table s;
Table Create Table
@@ -56308,7 +56308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4212;
show create table s;
Table Create Table
@@ -56316,7 +56316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4211;
show create table s;
Table Create Table
@@ -56324,7 +56324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4210;
show create table s;
Table Create Table
@@ -56332,7 +56332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4209;
show create table s;
Table Create Table
@@ -56340,7 +56340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4208;
show create table s;
Table Create Table
@@ -56348,7 +56348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4207;
show create table s;
Table Create Table
@@ -56356,7 +56356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4206;
show create table s;
Table Create Table
@@ -56364,7 +56364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4205;
show create table s;
Table Create Table
@@ -56372,7 +56372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4204;
show create table s;
Table Create Table
@@ -56380,7 +56380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4203;
show create table s;
Table Create Table
@@ -56388,7 +56388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4202;
show create table s;
Table Create Table
@@ -56396,7 +56396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4201;
show create table s;
Table Create Table
@@ -56404,7 +56404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4200;
show create table s;
Table Create Table
@@ -56412,7 +56412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4199;
show create table s;
Table Create Table
@@ -56420,7 +56420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4198;
show create table s;
Table Create Table
@@ -56428,7 +56428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4197;
show create table s;
Table Create Table
@@ -56436,7 +56436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4196;
show create table s;
Table Create Table
@@ -56444,7 +56444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4195;
show create table s;
Table Create Table
@@ -56452,7 +56452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4194;
show create table s;
Table Create Table
@@ -56460,7 +56460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4193;
show create table s;
Table Create Table
@@ -56468,7 +56468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4192;
show create table s;
Table Create Table
@@ -56476,7 +56476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4191;
show create table s;
Table Create Table
@@ -56484,7 +56484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4190;
show create table s;
Table Create Table
@@ -56492,7 +56492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4189;
show create table s;
Table Create Table
@@ -56500,7 +56500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4188;
show create table s;
Table Create Table
@@ -56508,7 +56508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4187;
show create table s;
Table Create Table
@@ -56516,7 +56516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4186;
show create table s;
Table Create Table
@@ -56524,7 +56524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4185;
show create table s;
Table Create Table
@@ -56532,7 +56532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4184;
show create table s;
Table Create Table
@@ -56540,7 +56540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4183;
show create table s;
Table Create Table
@@ -56548,7 +56548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4182;
show create table s;
Table Create Table
@@ -56556,7 +56556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4181;
show create table s;
Table Create Table
@@ -56564,7 +56564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4180;
show create table s;
Table Create Table
@@ -56572,7 +56572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4179;
show create table s;
Table Create Table
@@ -56580,7 +56580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4178;
show create table s;
Table Create Table
@@ -56588,7 +56588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4177;
show create table s;
Table Create Table
@@ -56596,7 +56596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4176;
show create table s;
Table Create Table
@@ -56604,7 +56604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4175;
show create table s;
Table Create Table
@@ -56612,7 +56612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4174;
show create table s;
Table Create Table
@@ -56620,7 +56620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4173;
show create table s;
Table Create Table
@@ -56628,7 +56628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4172;
show create table s;
Table Create Table
@@ -56636,7 +56636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4171;
show create table s;
Table Create Table
@@ -56644,7 +56644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4170;
show create table s;
Table Create Table
@@ -56652,7 +56652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4169;
show create table s;
Table Create Table
@@ -56660,7 +56660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4168;
show create table s;
Table Create Table
@@ -56668,7 +56668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4167;
show create table s;
Table Create Table
@@ -56676,7 +56676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4166;
show create table s;
Table Create Table
@@ -56684,7 +56684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4165;
show create table s;
Table Create Table
@@ -56692,7 +56692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4164;
show create table s;
Table Create Table
@@ -56700,7 +56700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4163;
show create table s;
Table Create Table
@@ -56708,7 +56708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4162;
show create table s;
Table Create Table
@@ -56716,7 +56716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4161;
show create table s;
Table Create Table
@@ -56724,7 +56724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4160;
show create table s;
Table Create Table
@@ -56732,7 +56732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4159;
show create table s;
Table Create Table
@@ -56740,7 +56740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4158;
show create table s;
Table Create Table
@@ -56748,7 +56748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4157;
show create table s;
Table Create Table
@@ -56756,7 +56756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4156;
show create table s;
Table Create Table
@@ -56764,7 +56764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4155;
show create table s;
Table Create Table
@@ -56772,7 +56772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4154;
show create table s;
Table Create Table
@@ -56780,7 +56780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4153;
show create table s;
Table Create Table
@@ -56788,7 +56788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4152;
show create table s;
Table Create Table
@@ -56796,7 +56796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4151;
show create table s;
Table Create Table
@@ -56804,7 +56804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4150;
show create table s;
Table Create Table
@@ -56812,7 +56812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4149;
show create table s;
Table Create Table
@@ -56820,7 +56820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4148;
show create table s;
Table Create Table
@@ -56828,7 +56828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4147;
show create table s;
Table Create Table
@@ -56836,7 +56836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4146;
show create table s;
Table Create Table
@@ -56844,7 +56844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4145;
show create table s;
Table Create Table
@@ -56852,7 +56852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4144;
show create table s;
Table Create Table
@@ -56860,7 +56860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4143;
show create table s;
Table Create Table
@@ -56868,7 +56868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4142;
show create table s;
Table Create Table
@@ -56876,7 +56876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4141;
show create table s;
Table Create Table
@@ -56884,7 +56884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4140;
show create table s;
Table Create Table
@@ -56892,7 +56892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4139;
show create table s;
Table Create Table
@@ -56900,7 +56900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4138;
show create table s;
Table Create Table
@@ -56908,7 +56908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4137;
show create table s;
Table Create Table
@@ -56916,7 +56916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4136;
show create table s;
Table Create Table
@@ -56924,7 +56924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4135;
show create table s;
Table Create Table
@@ -56932,7 +56932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4134;
show create table s;
Table Create Table
@@ -56940,7 +56940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4133;
show create table s;
Table Create Table
@@ -56948,7 +56948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4132;
show create table s;
Table Create Table
@@ -56956,7 +56956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4131;
show create table s;
Table Create Table
@@ -56964,7 +56964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4130;
show create table s;
Table Create Table
@@ -56972,7 +56972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4129;
show create table s;
Table Create Table
@@ -56980,7 +56980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4128;
show create table s;
Table Create Table
@@ -56988,7 +56988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4127;
show create table s;
Table Create Table
@@ -56996,7 +56996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4126;
show create table s;
Table Create Table
@@ -57004,7 +57004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4125;
show create table s;
Table Create Table
@@ -57012,7 +57012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4124;
show create table s;
Table Create Table
@@ -57020,7 +57020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4123;
show create table s;
Table Create Table
@@ -57028,7 +57028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4122;
show create table s;
Table Create Table
@@ -57036,7 +57036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4121;
show create table s;
Table Create Table
@@ -57044,7 +57044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4120;
show create table s;
Table Create Table
@@ -57052,7 +57052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4119;
show create table s;
Table Create Table
@@ -57060,7 +57060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4118;
show create table s;
Table Create Table
@@ -57068,7 +57068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4117;
show create table s;
Table Create Table
@@ -57076,7 +57076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4116;
show create table s;
Table Create Table
@@ -57084,7 +57084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4115;
show create table s;
Table Create Table
@@ -57092,7 +57092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4114;
show create table s;
Table Create Table
@@ -57100,7 +57100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4113;
show create table s;
Table Create Table
@@ -57108,7 +57108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4112;
show create table s;
Table Create Table
@@ -57116,7 +57116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4111;
show create table s;
Table Create Table
@@ -57124,7 +57124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4110;
show create table s;
Table Create Table
@@ -57132,7 +57132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4109;
show create table s;
Table Create Table
@@ -57140,7 +57140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4108;
show create table s;
Table Create Table
@@ -57148,7 +57148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4107;
show create table s;
Table Create Table
@@ -57156,7 +57156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4106;
show create table s;
Table Create Table
@@ -57164,7 +57164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4105;
show create table s;
Table Create Table
@@ -57172,7 +57172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4104;
show create table s;
Table Create Table
@@ -57180,7 +57180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4103;
show create table s;
Table Create Table
@@ -57188,7 +57188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4102;
show create table s;
Table Create Table
@@ -57196,7 +57196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4101;
show create table s;
Table Create Table
@@ -57204,7 +57204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4100;
show create table s;
Table Create Table
@@ -57212,7 +57212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4099;
show create table s;
Table Create Table
@@ -57220,7 +57220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4098;
show create table s;
Table Create Table
@@ -57228,7 +57228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4097;
show create table s;
Table Create Table
@@ -57236,7 +57236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4096;
show create table s;
Table Create Table
@@ -57244,7 +57244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4095;
show create table s;
Table Create Table
@@ -57252,7 +57252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4094;
show create table s;
Table Create Table
@@ -57260,7 +57260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4093;
show create table s;
Table Create Table
@@ -57268,7 +57268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4092;
show create table s;
Table Create Table
@@ -57276,7 +57276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4091;
show create table s;
Table Create Table
@@ -57284,7 +57284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4090;
show create table s;
Table Create Table
@@ -57292,7 +57292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4089;
show create table s;
Table Create Table
@@ -57300,7 +57300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4088;
show create table s;
Table Create Table
@@ -57308,7 +57308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4087;
show create table s;
Table Create Table
@@ -57316,7 +57316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4086;
show create table s;
Table Create Table
@@ -57324,7 +57324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4085;
show create table s;
Table Create Table
@@ -57332,7 +57332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4084;
show create table s;
Table Create Table
@@ -57340,7 +57340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4083;
show create table s;
Table Create Table
@@ -57348,7 +57348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4082;
show create table s;
Table Create Table
@@ -57356,7 +57356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4081;
show create table s;
Table Create Table
@@ -57364,7 +57364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4080;
show create table s;
Table Create Table
@@ -57372,7 +57372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4079;
show create table s;
Table Create Table
@@ -57380,7 +57380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4078;
show create table s;
Table Create Table
@@ -57388,7 +57388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4077;
show create table s;
Table Create Table
@@ -57396,7 +57396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4076;
show create table s;
Table Create Table
@@ -57404,7 +57404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4075;
show create table s;
Table Create Table
@@ -57412,7 +57412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4074;
show create table s;
Table Create Table
@@ -57420,7 +57420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4073;
show create table s;
Table Create Table
@@ -57428,7 +57428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4072;
show create table s;
Table Create Table
@@ -57436,7 +57436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4071;
show create table s;
Table Create Table
@@ -57444,7 +57444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4070;
show create table s;
Table Create Table
@@ -57452,7 +57452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4069;
show create table s;
Table Create Table
@@ -57460,7 +57460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4068;
show create table s;
Table Create Table
@@ -57468,7 +57468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4067;
show create table s;
Table Create Table
@@ -57476,7 +57476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4066;
show create table s;
Table Create Table
@@ -57484,7 +57484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4065;
show create table s;
Table Create Table
@@ -57492,7 +57492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4064;
show create table s;
Table Create Table
@@ -57500,7 +57500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4063;
show create table s;
Table Create Table
@@ -57508,7 +57508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4062;
show create table s;
Table Create Table
@@ -57516,7 +57516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4061;
show create table s;
Table Create Table
@@ -57524,7 +57524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4060;
show create table s;
Table Create Table
@@ -57532,7 +57532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4059;
show create table s;
Table Create Table
@@ -57540,7 +57540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4058;
show create table s;
Table Create Table
@@ -57548,7 +57548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4057;
show create table s;
Table Create Table
@@ -57556,7 +57556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4056;
show create table s;
Table Create Table
@@ -57564,7 +57564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4055;
show create table s;
Table Create Table
@@ -57572,7 +57572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4054;
show create table s;
Table Create Table
@@ -57580,7 +57580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4053;
show create table s;
Table Create Table
@@ -57588,7 +57588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4052;
show create table s;
Table Create Table
@@ -57596,7 +57596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4051;
show create table s;
Table Create Table
@@ -57604,7 +57604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4050;
show create table s;
Table Create Table
@@ -57612,7 +57612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4049;
show create table s;
Table Create Table
@@ -57620,7 +57620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4048;
show create table s;
Table Create Table
@@ -57628,7 +57628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4047;
show create table s;
Table Create Table
@@ -57636,7 +57636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4046;
show create table s;
Table Create Table
@@ -57644,7 +57644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4045;
show create table s;
Table Create Table
@@ -57652,7 +57652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4044;
show create table s;
Table Create Table
@@ -57660,7 +57660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4043;
show create table s;
Table Create Table
@@ -57668,7 +57668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4042;
show create table s;
Table Create Table
@@ -57676,7 +57676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4041;
show create table s;
Table Create Table
@@ -57684,7 +57684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4040;
show create table s;
Table Create Table
@@ -57692,7 +57692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4039;
show create table s;
Table Create Table
@@ -57700,7 +57700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4038;
show create table s;
Table Create Table
@@ -57708,7 +57708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4037;
show create table s;
Table Create Table
@@ -57716,7 +57716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4036;
show create table s;
Table Create Table
@@ -57724,7 +57724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4035;
show create table s;
Table Create Table
@@ -57732,7 +57732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4034;
show create table s;
Table Create Table
@@ -57740,7 +57740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4033;
show create table s;
Table Create Table
@@ -57748,7 +57748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4032;
show create table s;
Table Create Table
@@ -57756,7 +57756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4031;
show create table s;
Table Create Table
@@ -57764,7 +57764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4030;
show create table s;
Table Create Table
@@ -57772,7 +57772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4029;
show create table s;
Table Create Table
@@ -57780,7 +57780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4028;
show create table s;
Table Create Table
@@ -57788,7 +57788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4027;
show create table s;
Table Create Table
@@ -57796,7 +57796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4026;
show create table s;
Table Create Table
@@ -57804,7 +57804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4025;
show create table s;
Table Create Table
@@ -57812,7 +57812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4024;
show create table s;
Table Create Table
@@ -57820,7 +57820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4023;
show create table s;
Table Create Table
@@ -57828,7 +57828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4022;
show create table s;
Table Create Table
@@ -57836,7 +57836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4021;
show create table s;
Table Create Table
@@ -57844,7 +57844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4020;
show create table s;
Table Create Table
@@ -57852,7 +57852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4019;
show create table s;
Table Create Table
@@ -57860,7 +57860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4018;
show create table s;
Table Create Table
@@ -57868,7 +57868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4017;
show create table s;
Table Create Table
@@ -57876,7 +57876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4016;
show create table s;
Table Create Table
@@ -57884,7 +57884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4015;
show create table s;
Table Create Table
@@ -57892,7 +57892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4014;
show create table s;
Table Create Table
@@ -57900,7 +57900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4013;
show create table s;
Table Create Table
@@ -57908,7 +57908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4012;
show create table s;
Table Create Table
@@ -57916,7 +57916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4011;
show create table s;
Table Create Table
@@ -57924,7 +57924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4010;
show create table s;
Table Create Table
@@ -57932,7 +57932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4009;
show create table s;
Table Create Table
@@ -57940,7 +57940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4008;
show create table s;
Table Create Table
@@ -57948,7 +57948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4007;
show create table s;
Table Create Table
@@ -57956,7 +57956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4006;
show create table s;
Table Create Table
@@ -57964,7 +57964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4005;
show create table s;
Table Create Table
@@ -57972,7 +57972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4004;
show create table s;
Table Create Table
@@ -57980,7 +57980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4003;
show create table s;
Table Create Table
@@ -57988,7 +57988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4002;
show create table s;
Table Create Table
@@ -57996,7 +57996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4001;
show create table s;
Table Create Table
@@ -58004,7 +58004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4000;
show create table s;
Table Create Table
@@ -58012,7 +58012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3999;
show create table s;
Table Create Table
@@ -58020,7 +58020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3998;
show create table s;
Table Create Table
@@ -58028,7 +58028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3997;
show create table s;
Table Create Table
@@ -58036,7 +58036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3996;
show create table s;
Table Create Table
@@ -58044,7 +58044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3995;
show create table s;
Table Create Table
@@ -58052,7 +58052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3994;
show create table s;
Table Create Table
@@ -58060,7 +58060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3993;
show create table s;
Table Create Table
@@ -58068,7 +58068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3992;
show create table s;
Table Create Table
@@ -58076,7 +58076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3991;
show create table s;
Table Create Table
@@ -58084,7 +58084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3990;
show create table s;
Table Create Table
@@ -58092,7 +58092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3989;
show create table s;
Table Create Table
@@ -58100,7 +58100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3988;
show create table s;
Table Create Table
@@ -58108,7 +58108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3987;
show create table s;
Table Create Table
@@ -58116,7 +58116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3986;
show create table s;
Table Create Table
@@ -58124,7 +58124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3985;
show create table s;
Table Create Table
@@ -58132,7 +58132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3984;
show create table s;
Table Create Table
@@ -58140,7 +58140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3983;
show create table s;
Table Create Table
@@ -58148,7 +58148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3982;
show create table s;
Table Create Table
@@ -58156,7 +58156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3981;
show create table s;
Table Create Table
@@ -58164,7 +58164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3980;
show create table s;
Table Create Table
@@ -58172,7 +58172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3979;
show create table s;
Table Create Table
@@ -58180,7 +58180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3978;
show create table s;
Table Create Table
@@ -58188,7 +58188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3977;
show create table s;
Table Create Table
@@ -58196,7 +58196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3976;
show create table s;
Table Create Table
@@ -58204,7 +58204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3975;
show create table s;
Table Create Table
@@ -58212,7 +58212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3974;
show create table s;
Table Create Table
@@ -58220,7 +58220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3973;
show create table s;
Table Create Table
@@ -58228,7 +58228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3972;
show create table s;
Table Create Table
@@ -58236,7 +58236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3971;
show create table s;
Table Create Table
@@ -58244,7 +58244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3970;
show create table s;
Table Create Table
@@ -58252,7 +58252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3969;
show create table s;
Table Create Table
@@ -58260,7 +58260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3968;
show create table s;
Table Create Table
@@ -58268,7 +58268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3967;
show create table s;
Table Create Table
@@ -58276,7 +58276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3966;
show create table s;
Table Create Table
@@ -58284,7 +58284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3965;
show create table s;
Table Create Table
@@ -58292,7 +58292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3964;
show create table s;
Table Create Table
@@ -58300,7 +58300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3963;
show create table s;
Table Create Table
@@ -58308,7 +58308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3962;
show create table s;
Table Create Table
@@ -58316,7 +58316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3961;
show create table s;
Table Create Table
@@ -58324,7 +58324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3960;
show create table s;
Table Create Table
@@ -58332,7 +58332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3959;
show create table s;
Table Create Table
@@ -58340,7 +58340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3958;
show create table s;
Table Create Table
@@ -58348,7 +58348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3957;
show create table s;
Table Create Table
@@ -58356,7 +58356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3956;
show create table s;
Table Create Table
@@ -58364,7 +58364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3955;
show create table s;
Table Create Table
@@ -58372,7 +58372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3954;
show create table s;
Table Create Table
@@ -58380,7 +58380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3953;
show create table s;
Table Create Table
@@ -58388,7 +58388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3952;
show create table s;
Table Create Table
@@ -58396,7 +58396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3951;
show create table s;
Table Create Table
@@ -58404,7 +58404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3950;
show create table s;
Table Create Table
@@ -58412,7 +58412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3949;
show create table s;
Table Create Table
@@ -58420,7 +58420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3948;
show create table s;
Table Create Table
@@ -58428,7 +58428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3947;
show create table s;
Table Create Table
@@ -58436,7 +58436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3946;
show create table s;
Table Create Table
@@ -58444,7 +58444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3945;
show create table s;
Table Create Table
@@ -58452,7 +58452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3944;
show create table s;
Table Create Table
@@ -58460,7 +58460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3943;
show create table s;
Table Create Table
@@ -58468,7 +58468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3942;
show create table s;
Table Create Table
@@ -58476,7 +58476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3941;
show create table s;
Table Create Table
@@ -58484,7 +58484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3940;
show create table s;
Table Create Table
@@ -58492,7 +58492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3939;
show create table s;
Table Create Table
@@ -58500,7 +58500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3938;
show create table s;
Table Create Table
@@ -58508,7 +58508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3937;
show create table s;
Table Create Table
@@ -58516,7 +58516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3936;
show create table s;
Table Create Table
@@ -58524,7 +58524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3935;
show create table s;
Table Create Table
@@ -58532,7 +58532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3934;
show create table s;
Table Create Table
@@ -58540,7 +58540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3933;
show create table s;
Table Create Table
@@ -58548,7 +58548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3932;
show create table s;
Table Create Table
@@ -58556,7 +58556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3931;
show create table s;
Table Create Table
@@ -58564,7 +58564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3930;
show create table s;
Table Create Table
@@ -58572,7 +58572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3929;
show create table s;
Table Create Table
@@ -58580,7 +58580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3928;
show create table s;
Table Create Table
@@ -58588,7 +58588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3927;
show create table s;
Table Create Table
@@ -58596,7 +58596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3926;
show create table s;
Table Create Table
@@ -58604,7 +58604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3925;
show create table s;
Table Create Table
@@ -58612,7 +58612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3924;
show create table s;
Table Create Table
@@ -58620,7 +58620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3923;
show create table s;
Table Create Table
@@ -58628,7 +58628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3922;
show create table s;
Table Create Table
@@ -58636,7 +58636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3921;
show create table s;
Table Create Table
@@ -58644,7 +58644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3920;
show create table s;
Table Create Table
@@ -58652,7 +58652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3919;
show create table s;
Table Create Table
@@ -58660,7 +58660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3918;
show create table s;
Table Create Table
@@ -58668,7 +58668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3917;
show create table s;
Table Create Table
@@ -58676,7 +58676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3916;
show create table s;
Table Create Table
@@ -58684,7 +58684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3915;
show create table s;
Table Create Table
@@ -58692,7 +58692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3914;
show create table s;
Table Create Table
@@ -58700,7 +58700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3913;
show create table s;
Table Create Table
@@ -58708,7 +58708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3912;
show create table s;
Table Create Table
@@ -58716,7 +58716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3911;
show create table s;
Table Create Table
@@ -58724,7 +58724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3910;
show create table s;
Table Create Table
@@ -58732,7 +58732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3909;
show create table s;
Table Create Table
@@ -58740,7 +58740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3908;
show create table s;
Table Create Table
@@ -58748,7 +58748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3907;
show create table s;
Table Create Table
@@ -58756,7 +58756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3906;
show create table s;
Table Create Table
@@ -58764,7 +58764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3905;
show create table s;
Table Create Table
@@ -58772,7 +58772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3904;
show create table s;
Table Create Table
@@ -58780,7 +58780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3903;
show create table s;
Table Create Table
@@ -58788,7 +58788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3902;
show create table s;
Table Create Table
@@ -58796,7 +58796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3901;
show create table s;
Table Create Table
@@ -58804,7 +58804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3900;
show create table s;
Table Create Table
@@ -58812,7 +58812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3899;
show create table s;
Table Create Table
@@ -58820,7 +58820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3898;
show create table s;
Table Create Table
@@ -58828,7 +58828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3897;
show create table s;
Table Create Table
@@ -58836,7 +58836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3896;
show create table s;
Table Create Table
@@ -58844,7 +58844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3895;
show create table s;
Table Create Table
@@ -58852,7 +58852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3894;
show create table s;
Table Create Table
@@ -58860,7 +58860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3893;
show create table s;
Table Create Table
@@ -58868,7 +58868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3892;
show create table s;
Table Create Table
@@ -58876,7 +58876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3891;
show create table s;
Table Create Table
@@ -58884,7 +58884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3890;
show create table s;
Table Create Table
@@ -58892,7 +58892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3889;
show create table s;
Table Create Table
@@ -58900,7 +58900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3888;
show create table s;
Table Create Table
@@ -58908,7 +58908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3887;
show create table s;
Table Create Table
@@ -58916,7 +58916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3886;
show create table s;
Table Create Table
@@ -58924,7 +58924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3885;
show create table s;
Table Create Table
@@ -58932,7 +58932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3884;
show create table s;
Table Create Table
@@ -58940,7 +58940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3883;
show create table s;
Table Create Table
@@ -58948,7 +58948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3882;
show create table s;
Table Create Table
@@ -58956,7 +58956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3881;
show create table s;
Table Create Table
@@ -58964,7 +58964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3880;
show create table s;
Table Create Table
@@ -58972,7 +58972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3879;
show create table s;
Table Create Table
@@ -58980,7 +58980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3878;
show create table s;
Table Create Table
@@ -58988,7 +58988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3877;
show create table s;
Table Create Table
@@ -58996,7 +58996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3876;
show create table s;
Table Create Table
@@ -59004,7 +59004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3875;
show create table s;
Table Create Table
@@ -59012,7 +59012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3874;
show create table s;
Table Create Table
@@ -59020,7 +59020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3873;
show create table s;
Table Create Table
@@ -59028,7 +59028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3872;
show create table s;
Table Create Table
@@ -59036,7 +59036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3871;
show create table s;
Table Create Table
@@ -59044,7 +59044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3870;
show create table s;
Table Create Table
@@ -59052,7 +59052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3869;
show create table s;
Table Create Table
@@ -59060,7 +59060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3868;
show create table s;
Table Create Table
@@ -59068,7 +59068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3867;
show create table s;
Table Create Table
@@ -59076,7 +59076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3866;
show create table s;
Table Create Table
@@ -59084,7 +59084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3865;
show create table s;
Table Create Table
@@ -59092,7 +59092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3864;
show create table s;
Table Create Table
@@ -59100,7 +59100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3863;
show create table s;
Table Create Table
@@ -59108,7 +59108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3862;
show create table s;
Table Create Table
@@ -59116,7 +59116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3861;
show create table s;
Table Create Table
@@ -59124,7 +59124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3860;
show create table s;
Table Create Table
@@ -59132,7 +59132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3859;
show create table s;
Table Create Table
@@ -59140,7 +59140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3858;
show create table s;
Table Create Table
@@ -59148,7 +59148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3857;
show create table s;
Table Create Table
@@ -59156,7 +59156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3856;
show create table s;
Table Create Table
@@ -59164,7 +59164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3855;
show create table s;
Table Create Table
@@ -59172,7 +59172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3854;
show create table s;
Table Create Table
@@ -59180,7 +59180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3853;
show create table s;
Table Create Table
@@ -59188,7 +59188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3852;
show create table s;
Table Create Table
@@ -59196,7 +59196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3851;
show create table s;
Table Create Table
@@ -59204,7 +59204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3850;
show create table s;
Table Create Table
@@ -59212,7 +59212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3849;
show create table s;
Table Create Table
@@ -59220,7 +59220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3848;
show create table s;
Table Create Table
@@ -59228,7 +59228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3847;
show create table s;
Table Create Table
@@ -59236,7 +59236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3846;
show create table s;
Table Create Table
@@ -59244,7 +59244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3845;
show create table s;
Table Create Table
@@ -59252,7 +59252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3844;
show create table s;
Table Create Table
@@ -59260,7 +59260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3843;
show create table s;
Table Create Table
@@ -59268,7 +59268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3842;
show create table s;
Table Create Table
@@ -59276,7 +59276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3841;
show create table s;
Table Create Table
@@ -59284,7 +59284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3840;
show create table s;
Table Create Table
@@ -59292,7 +59292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3839;
show create table s;
Table Create Table
@@ -59300,7 +59300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3838;
show create table s;
Table Create Table
@@ -59308,7 +59308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3837;
show create table s;
Table Create Table
@@ -59316,7 +59316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3836;
show create table s;
Table Create Table
@@ -59324,7 +59324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3835;
show create table s;
Table Create Table
@@ -59332,7 +59332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3834;
show create table s;
Table Create Table
@@ -59340,7 +59340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3833;
show create table s;
Table Create Table
@@ -59348,7 +59348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3832;
show create table s;
Table Create Table
@@ -59356,7 +59356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3831;
show create table s;
Table Create Table
@@ -59364,7 +59364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3830;
show create table s;
Table Create Table
@@ -59372,7 +59372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3829;
show create table s;
Table Create Table
@@ -59380,7 +59380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3828;
show create table s;
Table Create Table
@@ -59388,7 +59388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3827;
show create table s;
Table Create Table
@@ -59396,7 +59396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3826;
show create table s;
Table Create Table
@@ -59404,7 +59404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3825;
show create table s;
Table Create Table
@@ -59412,7 +59412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3824;
show create table s;
Table Create Table
@@ -59420,7 +59420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3823;
show create table s;
Table Create Table
@@ -59428,7 +59428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3822;
show create table s;
Table Create Table
@@ -59436,7 +59436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3821;
show create table s;
Table Create Table
@@ -59444,7 +59444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3820;
show create table s;
Table Create Table
@@ -59452,7 +59452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3819;
show create table s;
Table Create Table
@@ -59460,7 +59460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3818;
show create table s;
Table Create Table
@@ -59468,7 +59468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3817;
show create table s;
Table Create Table
@@ -59476,7 +59476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3816;
show create table s;
Table Create Table
@@ -59484,7 +59484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3815;
show create table s;
Table Create Table
@@ -59492,7 +59492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3814;
show create table s;
Table Create Table
@@ -59500,7 +59500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3813;
show create table s;
Table Create Table
@@ -59508,7 +59508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3812;
show create table s;
Table Create Table
@@ -59516,7 +59516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3811;
show create table s;
Table Create Table
@@ -59524,7 +59524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3810;
show create table s;
Table Create Table
@@ -59532,7 +59532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3809;
show create table s;
Table Create Table
@@ -59540,7 +59540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3808;
show create table s;
Table Create Table
@@ -59548,7 +59548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3807;
show create table s;
Table Create Table
@@ -59556,7 +59556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3806;
show create table s;
Table Create Table
@@ -59564,7 +59564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3805;
show create table s;
Table Create Table
@@ -59572,7 +59572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3804;
show create table s;
Table Create Table
@@ -59580,7 +59580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3803;
show create table s;
Table Create Table
@@ -59588,7 +59588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3802;
show create table s;
Table Create Table
@@ -59596,7 +59596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3801;
show create table s;
Table Create Table
@@ -59604,7 +59604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3800;
show create table s;
Table Create Table
@@ -59612,7 +59612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3799;
show create table s;
Table Create Table
@@ -59620,7 +59620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3798;
show create table s;
Table Create Table
@@ -59628,7 +59628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3797;
show create table s;
Table Create Table
@@ -59636,7 +59636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3796;
show create table s;
Table Create Table
@@ -59644,7 +59644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3795;
show create table s;
Table Create Table
@@ -59652,7 +59652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3794;
show create table s;
Table Create Table
@@ -59660,7 +59660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3793;
show create table s;
Table Create Table
@@ -59668,7 +59668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3792;
show create table s;
Table Create Table
@@ -59676,7 +59676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3791;
show create table s;
Table Create Table
@@ -59684,7 +59684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3790;
show create table s;
Table Create Table
@@ -59692,7 +59692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3789;
show create table s;
Table Create Table
@@ -59700,7 +59700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3788;
show create table s;
Table Create Table
@@ -59708,7 +59708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3787;
show create table s;
Table Create Table
@@ -59716,7 +59716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3786;
show create table s;
Table Create Table
@@ -59724,7 +59724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3785;
show create table s;
Table Create Table
@@ -59732,7 +59732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3784;
show create table s;
Table Create Table
@@ -59740,7 +59740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3783;
show create table s;
Table Create Table
@@ -59748,7 +59748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3782;
show create table s;
Table Create Table
@@ -59756,7 +59756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3781;
show create table s;
Table Create Table
@@ -59764,7 +59764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3780;
show create table s;
Table Create Table
@@ -59772,7 +59772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3779;
show create table s;
Table Create Table
@@ -59780,7 +59780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3778;
show create table s;
Table Create Table
@@ -59788,7 +59788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3777;
show create table s;
Table Create Table
@@ -59796,7 +59796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3776;
show create table s;
Table Create Table
@@ -59804,7 +59804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3775;
show create table s;
Table Create Table
@@ -59812,7 +59812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3774;
show create table s;
Table Create Table
@@ -59820,7 +59820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3773;
show create table s;
Table Create Table
@@ -59828,7 +59828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3772;
show create table s;
Table Create Table
@@ -59836,7 +59836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3771;
show create table s;
Table Create Table
@@ -59844,7 +59844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3770;
show create table s;
Table Create Table
@@ -59852,7 +59852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3769;
show create table s;
Table Create Table
@@ -59860,7 +59860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3768;
show create table s;
Table Create Table
@@ -59868,7 +59868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3767;
show create table s;
Table Create Table
@@ -59876,7 +59876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3766;
show create table s;
Table Create Table
@@ -59884,7 +59884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3765;
show create table s;
Table Create Table
@@ -59892,7 +59892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3764;
show create table s;
Table Create Table
@@ -59900,7 +59900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3763;
show create table s;
Table Create Table
@@ -59908,7 +59908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3762;
show create table s;
Table Create Table
@@ -59916,7 +59916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3761;
show create table s;
Table Create Table
@@ -59924,7 +59924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3760;
show create table s;
Table Create Table
@@ -59932,7 +59932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3759;
show create table s;
Table Create Table
@@ -59940,7 +59940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3758;
show create table s;
Table Create Table
@@ -59948,7 +59948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3757;
show create table s;
Table Create Table
@@ -59956,7 +59956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3756;
show create table s;
Table Create Table
@@ -59964,7 +59964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3755;
show create table s;
Table Create Table
@@ -59972,7 +59972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3754;
show create table s;
Table Create Table
@@ -59980,7 +59980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3753;
show create table s;
Table Create Table
@@ -59988,7 +59988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3752;
show create table s;
Table Create Table
@@ -59996,7 +59996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3751;
show create table s;
Table Create Table
@@ -60004,7 +60004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3750;
show create table s;
Table Create Table
@@ -60012,7 +60012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3749;
show create table s;
Table Create Table
@@ -60020,7 +60020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3748;
show create table s;
Table Create Table
@@ -60028,7 +60028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3747;
show create table s;
Table Create Table
@@ -60036,7 +60036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3746;
show create table s;
Table Create Table
@@ -60044,7 +60044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3745;
show create table s;
Table Create Table
@@ -60052,7 +60052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3744;
show create table s;
Table Create Table
@@ -60060,7 +60060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3743;
show create table s;
Table Create Table
@@ -60068,7 +60068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3742;
show create table s;
Table Create Table
@@ -60076,7 +60076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3741;
show create table s;
Table Create Table
@@ -60084,7 +60084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3740;
show create table s;
Table Create Table
@@ -60092,7 +60092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3739;
show create table s;
Table Create Table
@@ -60100,7 +60100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3738;
show create table s;
Table Create Table
@@ -60108,7 +60108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3737;
show create table s;
Table Create Table
@@ -60116,7 +60116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3736;
show create table s;
Table Create Table
@@ -60124,7 +60124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3735;
show create table s;
Table Create Table
@@ -60132,7 +60132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3734;
show create table s;
Table Create Table
@@ -60140,7 +60140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3733;
show create table s;
Table Create Table
@@ -60148,7 +60148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3732;
show create table s;
Table Create Table
@@ -60156,7 +60156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3731;
show create table s;
Table Create Table
@@ -60164,7 +60164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3730;
show create table s;
Table Create Table
@@ -60172,7 +60172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3729;
show create table s;
Table Create Table
@@ -60180,7 +60180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3728;
show create table s;
Table Create Table
@@ -60188,7 +60188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3727;
show create table s;
Table Create Table
@@ -60196,7 +60196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3726;
show create table s;
Table Create Table
@@ -60204,7 +60204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3725;
show create table s;
Table Create Table
@@ -60212,7 +60212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3724;
show create table s;
Table Create Table
@@ -60220,7 +60220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3723;
show create table s;
Table Create Table
@@ -60228,7 +60228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3722;
show create table s;
Table Create Table
@@ -60236,7 +60236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3721;
show create table s;
Table Create Table
@@ -60244,7 +60244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3720;
show create table s;
Table Create Table
@@ -60252,7 +60252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3719;
show create table s;
Table Create Table
@@ -60260,7 +60260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3718;
show create table s;
Table Create Table
@@ -60268,7 +60268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3717;
show create table s;
Table Create Table
@@ -60276,7 +60276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3716;
show create table s;
Table Create Table
@@ -60284,7 +60284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3715;
show create table s;
Table Create Table
@@ -60292,7 +60292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3714;
show create table s;
Table Create Table
@@ -60300,7 +60300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3713;
show create table s;
Table Create Table
@@ -60308,7 +60308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3712;
show create table s;
Table Create Table
@@ -60316,7 +60316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3711;
show create table s;
Table Create Table
@@ -60324,7 +60324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3710;
show create table s;
Table Create Table
@@ -60332,7 +60332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3709;
show create table s;
Table Create Table
@@ -60340,7 +60340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3708;
show create table s;
Table Create Table
@@ -60348,7 +60348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3707;
show create table s;
Table Create Table
@@ -60356,7 +60356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3706;
show create table s;
Table Create Table
@@ -60364,7 +60364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3705;
show create table s;
Table Create Table
@@ -60372,7 +60372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3704;
show create table s;
Table Create Table
@@ -60380,7 +60380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3703;
show create table s;
Table Create Table
@@ -60388,7 +60388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3702;
show create table s;
Table Create Table
@@ -60396,7 +60396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3701;
show create table s;
Table Create Table
@@ -60404,7 +60404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3700;
show create table s;
Table Create Table
@@ -60412,7 +60412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3699;
show create table s;
Table Create Table
@@ -60420,7 +60420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3698;
show create table s;
Table Create Table
@@ -60428,7 +60428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3697;
show create table s;
Table Create Table
@@ -60436,7 +60436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3696;
show create table s;
Table Create Table
@@ -60444,7 +60444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3695;
show create table s;
Table Create Table
@@ -60452,7 +60452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3694;
show create table s;
Table Create Table
@@ -60460,7 +60460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3693;
show create table s;
Table Create Table
@@ -60468,7 +60468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3692;
show create table s;
Table Create Table
@@ -60476,7 +60476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3691;
show create table s;
Table Create Table
@@ -60484,7 +60484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3690;
show create table s;
Table Create Table
@@ -60492,7 +60492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3689;
show create table s;
Table Create Table
@@ -60500,7 +60500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3688;
show create table s;
Table Create Table
@@ -60508,7 +60508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3687;
show create table s;
Table Create Table
@@ -60516,7 +60516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3686;
show create table s;
Table Create Table
@@ -60524,7 +60524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3685;
show create table s;
Table Create Table
@@ -60532,7 +60532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3684;
show create table s;
Table Create Table
@@ -60540,7 +60540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3683;
show create table s;
Table Create Table
@@ -60548,7 +60548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3682;
show create table s;
Table Create Table
@@ -60556,7 +60556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3681;
show create table s;
Table Create Table
@@ -60564,7 +60564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3680;
show create table s;
Table Create Table
@@ -60572,7 +60572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3679;
show create table s;
Table Create Table
@@ -60580,7 +60580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3678;
show create table s;
Table Create Table
@@ -60588,7 +60588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3677;
show create table s;
Table Create Table
@@ -60596,7 +60596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3676;
show create table s;
Table Create Table
@@ -60604,7 +60604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3675;
show create table s;
Table Create Table
@@ -60612,7 +60612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3674;
show create table s;
Table Create Table
@@ -60620,7 +60620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3673;
show create table s;
Table Create Table
@@ -60628,7 +60628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3672;
show create table s;
Table Create Table
@@ -60636,7 +60636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3671;
show create table s;
Table Create Table
@@ -60644,7 +60644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3670;
show create table s;
Table Create Table
@@ -60652,7 +60652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3669;
show create table s;
Table Create Table
@@ -60660,7 +60660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3668;
show create table s;
Table Create Table
@@ -60668,7 +60668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3667;
show create table s;
Table Create Table
@@ -60676,7 +60676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3666;
show create table s;
Table Create Table
@@ -60684,7 +60684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3665;
show create table s;
Table Create Table
@@ -60692,7 +60692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3664;
show create table s;
Table Create Table
@@ -60700,7 +60700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3663;
show create table s;
Table Create Table
@@ -60708,7 +60708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3662;
show create table s;
Table Create Table
@@ -60716,7 +60716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3661;
show create table s;
Table Create Table
@@ -60724,7 +60724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3660;
show create table s;
Table Create Table
@@ -60732,7 +60732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3659;
show create table s;
Table Create Table
@@ -60740,7 +60740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3658;
show create table s;
Table Create Table
@@ -60748,7 +60748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3657;
show create table s;
Table Create Table
@@ -60756,7 +60756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3656;
show create table s;
Table Create Table
@@ -60764,7 +60764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3655;
show create table s;
Table Create Table
@@ -60772,7 +60772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3654;
show create table s;
Table Create Table
@@ -60780,7 +60780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3653;
show create table s;
Table Create Table
@@ -60788,7 +60788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3652;
show create table s;
Table Create Table
@@ -60796,7 +60796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3651;
show create table s;
Table Create Table
@@ -60804,7 +60804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3650;
show create table s;
Table Create Table
@@ -60812,7 +60812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3649;
show create table s;
Table Create Table
@@ -60820,7 +60820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3648;
show create table s;
Table Create Table
@@ -60828,7 +60828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3647;
show create table s;
Table Create Table
@@ -60836,7 +60836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3646;
show create table s;
Table Create Table
@@ -60844,7 +60844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3645;
show create table s;
Table Create Table
@@ -60852,7 +60852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3644;
show create table s;
Table Create Table
@@ -60860,7 +60860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3643;
show create table s;
Table Create Table
@@ -60868,7 +60868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3642;
show create table s;
Table Create Table
@@ -60876,7 +60876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3641;
show create table s;
Table Create Table
@@ -60884,7 +60884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3640;
show create table s;
Table Create Table
@@ -60892,7 +60892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3639;
show create table s;
Table Create Table
@@ -60900,7 +60900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3638;
show create table s;
Table Create Table
@@ -60908,7 +60908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3637;
show create table s;
Table Create Table
@@ -60916,7 +60916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3636;
show create table s;
Table Create Table
@@ -60924,7 +60924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3635;
show create table s;
Table Create Table
@@ -60932,7 +60932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3634;
show create table s;
Table Create Table
@@ -60940,7 +60940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3633;
show create table s;
Table Create Table
@@ -60948,7 +60948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3632;
show create table s;
Table Create Table
@@ -60956,7 +60956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3631;
show create table s;
Table Create Table
@@ -60964,7 +60964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3630;
show create table s;
Table Create Table
@@ -60972,7 +60972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3629;
show create table s;
Table Create Table
@@ -60980,7 +60980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3628;
show create table s;
Table Create Table
@@ -60988,7 +60988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3627;
show create table s;
Table Create Table
@@ -60996,7 +60996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3626;
show create table s;
Table Create Table
@@ -61004,7 +61004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3625;
show create table s;
Table Create Table
@@ -61012,7 +61012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3624;
show create table s;
Table Create Table
@@ -61020,7 +61020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3623;
show create table s;
Table Create Table
@@ -61028,7 +61028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3622;
show create table s;
Table Create Table
@@ -61036,7 +61036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3621;
show create table s;
Table Create Table
@@ -61044,7 +61044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3620;
show create table s;
Table Create Table
@@ -61052,7 +61052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3619;
show create table s;
Table Create Table
@@ -61060,7 +61060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3618;
show create table s;
Table Create Table
@@ -61068,7 +61068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3617;
show create table s;
Table Create Table
@@ -61076,7 +61076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3616;
show create table s;
Table Create Table
@@ -61084,7 +61084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3615;
show create table s;
Table Create Table
@@ -61092,7 +61092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3614;
show create table s;
Table Create Table
@@ -61100,7 +61100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3613;
show create table s;
Table Create Table
@@ -61108,7 +61108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3612;
show create table s;
Table Create Table
@@ -61116,7 +61116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3611;
show create table s;
Table Create Table
@@ -61124,7 +61124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3610;
show create table s;
Table Create Table
@@ -61132,7 +61132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3609;
show create table s;
Table Create Table
@@ -61140,7 +61140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3608;
show create table s;
Table Create Table
@@ -61148,7 +61148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3607;
show create table s;
Table Create Table
@@ -61156,7 +61156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3606;
show create table s;
Table Create Table
@@ -61164,7 +61164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3605;
show create table s;
Table Create Table
@@ -61172,7 +61172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3604;
show create table s;
Table Create Table
@@ -61180,7 +61180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3603;
show create table s;
Table Create Table
@@ -61188,7 +61188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3602;
show create table s;
Table Create Table
@@ -61196,7 +61196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3601;
show create table s;
Table Create Table
@@ -61204,7 +61204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3600;
show create table s;
Table Create Table
@@ -61212,7 +61212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3599;
show create table s;
Table Create Table
@@ -61220,7 +61220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3598;
show create table s;
Table Create Table
@@ -61228,7 +61228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3597;
show create table s;
Table Create Table
@@ -61236,7 +61236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3596;
show create table s;
Table Create Table
@@ -61244,7 +61244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3595;
show create table s;
Table Create Table
@@ -61252,7 +61252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3594;
show create table s;
Table Create Table
@@ -61260,7 +61260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3593;
show create table s;
Table Create Table
@@ -61268,7 +61268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3592;
show create table s;
Table Create Table
@@ -61276,7 +61276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3591;
show create table s;
Table Create Table
@@ -61284,7 +61284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3590;
show create table s;
Table Create Table
@@ -61292,7 +61292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3589;
show create table s;
Table Create Table
@@ -61300,7 +61300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3588;
show create table s;
Table Create Table
@@ -61308,7 +61308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3587;
show create table s;
Table Create Table
@@ -61316,7 +61316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3586;
show create table s;
Table Create Table
@@ -61324,7 +61324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3585;
show create table s;
Table Create Table
@@ -61332,7 +61332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3584;
show create table s;
Table Create Table
@@ -61340,7 +61340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3583;
show create table s;
Table Create Table
@@ -61348,7 +61348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3582;
show create table s;
Table Create Table
@@ -61356,7 +61356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3581;
show create table s;
Table Create Table
@@ -61364,7 +61364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3580;
show create table s;
Table Create Table
@@ -61372,7 +61372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3579;
show create table s;
Table Create Table
@@ -61380,7 +61380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3578;
show create table s;
Table Create Table
@@ -61388,7 +61388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3577;
show create table s;
Table Create Table
@@ -61396,7 +61396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3576;
show create table s;
Table Create Table
@@ -61404,7 +61404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3575;
show create table s;
Table Create Table
@@ -61412,7 +61412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3574;
show create table s;
Table Create Table
@@ -61420,7 +61420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3573;
show create table s;
Table Create Table
@@ -61428,7 +61428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3572;
show create table s;
Table Create Table
@@ -61436,7 +61436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3571;
show create table s;
Table Create Table
@@ -61444,7 +61444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3570;
show create table s;
Table Create Table
@@ -61452,7 +61452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3569;
show create table s;
Table Create Table
@@ -61460,7 +61460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3568;
show create table s;
Table Create Table
@@ -61468,7 +61468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3567;
show create table s;
Table Create Table
@@ -61476,7 +61476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3566;
show create table s;
Table Create Table
@@ -61484,7 +61484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3565;
show create table s;
Table Create Table
@@ -61492,7 +61492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3564;
show create table s;
Table Create Table
@@ -61500,7 +61500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3563;
show create table s;
Table Create Table
@@ -61508,7 +61508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3562;
show create table s;
Table Create Table
@@ -61516,7 +61516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3561;
show create table s;
Table Create Table
@@ -61524,7 +61524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3560;
show create table s;
Table Create Table
@@ -61532,7 +61532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3559;
show create table s;
Table Create Table
@@ -61540,7 +61540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3558;
show create table s;
Table Create Table
@@ -61548,7 +61548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3557;
show create table s;
Table Create Table
@@ -61556,7 +61556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3556;
show create table s;
Table Create Table
@@ -61564,7 +61564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3555;
show create table s;
Table Create Table
@@ -61572,7 +61572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3554;
show create table s;
Table Create Table
@@ -61580,7 +61580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3553;
show create table s;
Table Create Table
@@ -61588,7 +61588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3552;
show create table s;
Table Create Table
@@ -61596,7 +61596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3551;
show create table s;
Table Create Table
@@ -61604,7 +61604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3550;
show create table s;
Table Create Table
@@ -61612,7 +61612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3549;
show create table s;
Table Create Table
@@ -61620,7 +61620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3548;
show create table s;
Table Create Table
@@ -61628,7 +61628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3547;
show create table s;
Table Create Table
@@ -61636,7 +61636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3546;
show create table s;
Table Create Table
@@ -61644,7 +61644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3545;
show create table s;
Table Create Table
@@ -61652,7 +61652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3544;
show create table s;
Table Create Table
@@ -61660,7 +61660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3543;
show create table s;
Table Create Table
@@ -61668,7 +61668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3542;
show create table s;
Table Create Table
@@ -61676,7 +61676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3541;
show create table s;
Table Create Table
@@ -61684,7 +61684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3540;
show create table s;
Table Create Table
@@ -61692,7 +61692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3539;
show create table s;
Table Create Table
@@ -61700,7 +61700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3538;
show create table s;
Table Create Table
@@ -61708,7 +61708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3537;
show create table s;
Table Create Table
@@ -61716,7 +61716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3536;
show create table s;
Table Create Table
@@ -61724,7 +61724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3535;
show create table s;
Table Create Table
@@ -61732,7 +61732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3534;
show create table s;
Table Create Table
@@ -61740,7 +61740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3533;
show create table s;
Table Create Table
@@ -61748,7 +61748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3532;
show create table s;
Table Create Table
@@ -61756,7 +61756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3531;
show create table s;
Table Create Table
@@ -61764,7 +61764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3530;
show create table s;
Table Create Table
@@ -61772,7 +61772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3529;
show create table s;
Table Create Table
@@ -61780,7 +61780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3528;
show create table s;
Table Create Table
@@ -61788,7 +61788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3527;
show create table s;
Table Create Table
@@ -61796,7 +61796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3526;
show create table s;
Table Create Table
@@ -61804,7 +61804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3525;
show create table s;
Table Create Table
@@ -61812,7 +61812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3524;
show create table s;
Table Create Table
@@ -61820,7 +61820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3523;
show create table s;
Table Create Table
@@ -61828,7 +61828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3522;
show create table s;
Table Create Table
@@ -61836,7 +61836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3521;
show create table s;
Table Create Table
@@ -61844,7 +61844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3520;
show create table s;
Table Create Table
@@ -61852,7 +61852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3519;
show create table s;
Table Create Table
@@ -61860,7 +61860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3518;
show create table s;
Table Create Table
@@ -61868,7 +61868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3517;
show create table s;
Table Create Table
@@ -61876,7 +61876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3516;
show create table s;
Table Create Table
@@ -61884,7 +61884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3515;
show create table s;
Table Create Table
@@ -61892,7 +61892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3514;
show create table s;
Table Create Table
@@ -61900,7 +61900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3513;
show create table s;
Table Create Table
@@ -61908,7 +61908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3512;
show create table s;
Table Create Table
@@ -61916,7 +61916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3511;
show create table s;
Table Create Table
@@ -61924,7 +61924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3510;
show create table s;
Table Create Table
@@ -61932,7 +61932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3509;
show create table s;
Table Create Table
@@ -61940,7 +61940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3508;
show create table s;
Table Create Table
@@ -61948,7 +61948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3507;
show create table s;
Table Create Table
@@ -61956,7 +61956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3506;
show create table s;
Table Create Table
@@ -61964,7 +61964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3505;
show create table s;
Table Create Table
@@ -61972,7 +61972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3504;
show create table s;
Table Create Table
@@ -61980,7 +61980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3503;
show create table s;
Table Create Table
@@ -61988,7 +61988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3502;
show create table s;
Table Create Table
@@ -61996,7 +61996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3501;
show create table s;
Table Create Table
@@ -62004,7 +62004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3500;
show create table s;
Table Create Table
@@ -62012,7 +62012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3499;
show create table s;
Table Create Table
@@ -62020,7 +62020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3498;
show create table s;
Table Create Table
@@ -62028,7 +62028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3497;
show create table s;
Table Create Table
@@ -62036,7 +62036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3496;
show create table s;
Table Create Table
@@ -62044,7 +62044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3495;
show create table s;
Table Create Table
@@ -62052,7 +62052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3494;
show create table s;
Table Create Table
@@ -62060,7 +62060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3493;
show create table s;
Table Create Table
@@ -62068,7 +62068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3492;
show create table s;
Table Create Table
@@ -62076,7 +62076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3491;
show create table s;
Table Create Table
@@ -62084,7 +62084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3490;
show create table s;
Table Create Table
@@ -62092,7 +62092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3489;
show create table s;
Table Create Table
@@ -62100,7 +62100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3488;
show create table s;
Table Create Table
@@ -62108,7 +62108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3487;
show create table s;
Table Create Table
@@ -62116,7 +62116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3486;
show create table s;
Table Create Table
@@ -62124,7 +62124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3485;
show create table s;
Table Create Table
@@ -62132,7 +62132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3484;
show create table s;
Table Create Table
@@ -62140,7 +62140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3483;
show create table s;
Table Create Table
@@ -62148,7 +62148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3482;
show create table s;
Table Create Table
@@ -62156,7 +62156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3481;
show create table s;
Table Create Table
@@ -62164,7 +62164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3480;
show create table s;
Table Create Table
@@ -62172,7 +62172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3479;
show create table s;
Table Create Table
@@ -62180,7 +62180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3478;
show create table s;
Table Create Table
@@ -62188,7 +62188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3477;
show create table s;
Table Create Table
@@ -62196,7 +62196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3476;
show create table s;
Table Create Table
@@ -62204,7 +62204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3475;
show create table s;
Table Create Table
@@ -62212,7 +62212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3474;
show create table s;
Table Create Table
@@ -62220,7 +62220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3473;
show create table s;
Table Create Table
@@ -62228,7 +62228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3472;
show create table s;
Table Create Table
@@ -62236,7 +62236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3471;
show create table s;
Table Create Table
@@ -62244,7 +62244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3470;
show create table s;
Table Create Table
@@ -62252,7 +62252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3469;
show create table s;
Table Create Table
@@ -62260,7 +62260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3468;
show create table s;
Table Create Table
@@ -62268,7 +62268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3467;
show create table s;
Table Create Table
@@ -62276,7 +62276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3466;
show create table s;
Table Create Table
@@ -62284,7 +62284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3465;
show create table s;
Table Create Table
@@ -62292,7 +62292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3464;
show create table s;
Table Create Table
@@ -62300,7 +62300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3463;
show create table s;
Table Create Table
@@ -62308,7 +62308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3462;
show create table s;
Table Create Table
@@ -62316,7 +62316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3461;
show create table s;
Table Create Table
@@ -62324,7 +62324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3460;
show create table s;
Table Create Table
@@ -62332,7 +62332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3459;
show create table s;
Table Create Table
@@ -62340,7 +62340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3458;
show create table s;
Table Create Table
@@ -62348,7 +62348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3457;
show create table s;
Table Create Table
@@ -62356,7 +62356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3456;
show create table s;
Table Create Table
@@ -62364,7 +62364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3455;
show create table s;
Table Create Table
@@ -62372,7 +62372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3454;
show create table s;
Table Create Table
@@ -62380,7 +62380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3453;
show create table s;
Table Create Table
@@ -62388,7 +62388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3452;
show create table s;
Table Create Table
@@ -62396,7 +62396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3451;
show create table s;
Table Create Table
@@ -62404,7 +62404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3450;
show create table s;
Table Create Table
@@ -62412,7 +62412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3449;
show create table s;
Table Create Table
@@ -62420,7 +62420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3448;
show create table s;
Table Create Table
@@ -62428,7 +62428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3447;
show create table s;
Table Create Table
@@ -62436,7 +62436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3446;
show create table s;
Table Create Table
@@ -62444,7 +62444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3445;
show create table s;
Table Create Table
@@ -62452,7 +62452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3444;
show create table s;
Table Create Table
@@ -62460,7 +62460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3443;
show create table s;
Table Create Table
@@ -62468,7 +62468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3442;
show create table s;
Table Create Table
@@ -62476,7 +62476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3441;
show create table s;
Table Create Table
@@ -62484,7 +62484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3440;
show create table s;
Table Create Table
@@ -62492,7 +62492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3439;
show create table s;
Table Create Table
@@ -62500,7 +62500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3438;
show create table s;
Table Create Table
@@ -62508,7 +62508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3437;
show create table s;
Table Create Table
@@ -62516,7 +62516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3436;
show create table s;
Table Create Table
@@ -62524,7 +62524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3435;
show create table s;
Table Create Table
@@ -62532,7 +62532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3434;
show create table s;
Table Create Table
@@ -62540,7 +62540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3433;
show create table s;
Table Create Table
@@ -62548,7 +62548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3432;
show create table s;
Table Create Table
@@ -62556,7 +62556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3431;
show create table s;
Table Create Table
@@ -62564,7 +62564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3430;
show create table s;
Table Create Table
@@ -62572,7 +62572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3429;
show create table s;
Table Create Table
@@ -62580,7 +62580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3428;
show create table s;
Table Create Table
@@ -62588,7 +62588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3427;
show create table s;
Table Create Table
@@ -62596,7 +62596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3426;
show create table s;
Table Create Table
@@ -62604,7 +62604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3425;
show create table s;
Table Create Table
@@ -62612,7 +62612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3424;
show create table s;
Table Create Table
@@ -62620,7 +62620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3423;
show create table s;
Table Create Table
@@ -62628,7 +62628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3422;
show create table s;
Table Create Table
@@ -62636,7 +62636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3421;
show create table s;
Table Create Table
@@ -62644,7 +62644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3420;
show create table s;
Table Create Table
@@ -62652,7 +62652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3419;
show create table s;
Table Create Table
@@ -62660,7 +62660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3418;
show create table s;
Table Create Table
@@ -62668,7 +62668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3417;
show create table s;
Table Create Table
@@ -62676,7 +62676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3416;
show create table s;
Table Create Table
@@ -62684,7 +62684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3415;
show create table s;
Table Create Table
@@ -62692,7 +62692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3414;
show create table s;
Table Create Table
@@ -62700,7 +62700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3413;
show create table s;
Table Create Table
@@ -62708,7 +62708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3412;
show create table s;
Table Create Table
@@ -62716,7 +62716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3411;
show create table s;
Table Create Table
@@ -62724,7 +62724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3410;
show create table s;
Table Create Table
@@ -62732,7 +62732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3409;
show create table s;
Table Create Table
@@ -62740,7 +62740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3408;
show create table s;
Table Create Table
@@ -62748,7 +62748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3407;
show create table s;
Table Create Table
@@ -62756,7 +62756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3406;
show create table s;
Table Create Table
@@ -62764,7 +62764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3405;
show create table s;
Table Create Table
@@ -62772,7 +62772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3404;
show create table s;
Table Create Table
@@ -62780,7 +62780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3403;
show create table s;
Table Create Table
@@ -62788,7 +62788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3402;
show create table s;
Table Create Table
@@ -62796,7 +62796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3401;
show create table s;
Table Create Table
@@ -62804,7 +62804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3400;
show create table s;
Table Create Table
@@ -62812,7 +62812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3399;
show create table s;
Table Create Table
@@ -62820,7 +62820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3398;
show create table s;
Table Create Table
@@ -62828,7 +62828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3397;
show create table s;
Table Create Table
@@ -62836,7 +62836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3396;
show create table s;
Table Create Table
@@ -62844,7 +62844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3395;
show create table s;
Table Create Table
@@ -62852,7 +62852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3394;
show create table s;
Table Create Table
@@ -62860,7 +62860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3393;
show create table s;
Table Create Table
@@ -62868,7 +62868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3392;
show create table s;
Table Create Table
@@ -62876,7 +62876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3391;
show create table s;
Table Create Table
@@ -62884,7 +62884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3390;
show create table s;
Table Create Table
@@ -62892,7 +62892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3389;
show create table s;
Table Create Table
@@ -62900,7 +62900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3388;
show create table s;
Table Create Table
@@ -62908,7 +62908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3387;
show create table s;
Table Create Table
@@ -62916,7 +62916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3386;
show create table s;
Table Create Table
@@ -62924,7 +62924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3385;
show create table s;
Table Create Table
@@ -62932,7 +62932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3384;
show create table s;
Table Create Table
@@ -62940,7 +62940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3383;
show create table s;
Table Create Table
@@ -62948,7 +62948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3382;
show create table s;
Table Create Table
@@ -62956,7 +62956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3381;
show create table s;
Table Create Table
@@ -62964,7 +62964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3380;
show create table s;
Table Create Table
@@ -62972,7 +62972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3379;
show create table s;
Table Create Table
@@ -62980,7 +62980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3378;
show create table s;
Table Create Table
@@ -62988,7 +62988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3377;
show create table s;
Table Create Table
@@ -62996,7 +62996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3376;
show create table s;
Table Create Table
@@ -63004,7 +63004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3375;
show create table s;
Table Create Table
@@ -63012,7 +63012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3374;
show create table s;
Table Create Table
@@ -63020,7 +63020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3373;
show create table s;
Table Create Table
@@ -63028,7 +63028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3372;
show create table s;
Table Create Table
@@ -63036,7 +63036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3371;
show create table s;
Table Create Table
@@ -63044,7 +63044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3370;
show create table s;
Table Create Table
@@ -63052,7 +63052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3369;
show create table s;
Table Create Table
@@ -63060,7 +63060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3368;
show create table s;
Table Create Table
@@ -63068,7 +63068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3367;
show create table s;
Table Create Table
@@ -63076,7 +63076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3366;
show create table s;
Table Create Table
@@ -63084,7 +63084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3365;
show create table s;
Table Create Table
@@ -63092,7 +63092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3364;
show create table s;
Table Create Table
@@ -63100,7 +63100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3363;
show create table s;
Table Create Table
@@ -63108,7 +63108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3362;
show create table s;
Table Create Table
@@ -63116,7 +63116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3361;
show create table s;
Table Create Table
@@ -63124,7 +63124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3360;
show create table s;
Table Create Table
@@ -63132,7 +63132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3359;
show create table s;
Table Create Table
@@ -63140,7 +63140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3358;
show create table s;
Table Create Table
@@ -63148,7 +63148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3357;
show create table s;
Table Create Table
@@ -63156,7 +63156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3356;
show create table s;
Table Create Table
@@ -63164,7 +63164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3355;
show create table s;
Table Create Table
@@ -63172,7 +63172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3354;
show create table s;
Table Create Table
@@ -63180,7 +63180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3353;
show create table s;
Table Create Table
@@ -63188,7 +63188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3352;
show create table s;
Table Create Table
@@ -63196,7 +63196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3351;
show create table s;
Table Create Table
@@ -63204,7 +63204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3350;
show create table s;
Table Create Table
@@ -63212,7 +63212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3349;
show create table s;
Table Create Table
@@ -63220,7 +63220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3348;
show create table s;
Table Create Table
@@ -63228,7 +63228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3347;
show create table s;
Table Create Table
@@ -63236,7 +63236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3346;
show create table s;
Table Create Table
@@ -63244,7 +63244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3345;
show create table s;
Table Create Table
@@ -63252,7 +63252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3344;
show create table s;
Table Create Table
@@ -63260,7 +63260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3343;
show create table s;
Table Create Table
@@ -63268,7 +63268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3342;
show create table s;
Table Create Table
@@ -63276,7 +63276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3341;
show create table s;
Table Create Table
@@ -63284,7 +63284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3340;
show create table s;
Table Create Table
@@ -63292,7 +63292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3339;
show create table s;
Table Create Table
@@ -63300,7 +63300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3338;
show create table s;
Table Create Table
@@ -63308,7 +63308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3337;
show create table s;
Table Create Table
@@ -63316,7 +63316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3336;
show create table s;
Table Create Table
@@ -63324,7 +63324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3335;
show create table s;
Table Create Table
@@ -63332,7 +63332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3334;
show create table s;
Table Create Table
@@ -63340,7 +63340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3333;
show create table s;
Table Create Table
@@ -63348,7 +63348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3332;
show create table s;
Table Create Table
@@ -63356,7 +63356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3331;
show create table s;
Table Create Table
@@ -63364,7 +63364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3330;
show create table s;
Table Create Table
@@ -63372,7 +63372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3329;
show create table s;
Table Create Table
@@ -63380,7 +63380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3328;
show create table s;
Table Create Table
@@ -63388,7 +63388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3327;
show create table s;
Table Create Table
@@ -63396,7 +63396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3326;
show create table s;
Table Create Table
@@ -63404,7 +63404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3325;
show create table s;
Table Create Table
@@ -63412,7 +63412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3324;
show create table s;
Table Create Table
@@ -63420,7 +63420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3323;
show create table s;
Table Create Table
@@ -63428,7 +63428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3322;
show create table s;
Table Create Table
@@ -63436,7 +63436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3321;
show create table s;
Table Create Table
@@ -63444,7 +63444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3320;
show create table s;
Table Create Table
@@ -63452,7 +63452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3319;
show create table s;
Table Create Table
@@ -63460,7 +63460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3318;
show create table s;
Table Create Table
@@ -63468,7 +63468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3317;
show create table s;
Table Create Table
@@ -63476,7 +63476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3316;
show create table s;
Table Create Table
@@ -63484,7 +63484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3315;
show create table s;
Table Create Table
@@ -63492,7 +63492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3314;
show create table s;
Table Create Table
@@ -63500,7 +63500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3313;
show create table s;
Table Create Table
@@ -63508,7 +63508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3312;
show create table s;
Table Create Table
@@ -63516,7 +63516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3311;
show create table s;
Table Create Table
@@ -63524,7 +63524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3310;
show create table s;
Table Create Table
@@ -63532,7 +63532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3309;
show create table s;
Table Create Table
@@ -63540,7 +63540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3308;
show create table s;
Table Create Table
@@ -63548,7 +63548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3307;
show create table s;
Table Create Table
@@ -63556,7 +63556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3306;
show create table s;
Table Create Table
@@ -63564,7 +63564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3305;
show create table s;
Table Create Table
@@ -63572,7 +63572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3304;
show create table s;
Table Create Table
@@ -63580,7 +63580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3303;
show create table s;
Table Create Table
@@ -63588,7 +63588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3302;
show create table s;
Table Create Table
@@ -63596,7 +63596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3301;
show create table s;
Table Create Table
@@ -63604,7 +63604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3300;
show create table s;
Table Create Table
@@ -63612,7 +63612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3299;
show create table s;
Table Create Table
@@ -63620,7 +63620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3298;
show create table s;
Table Create Table
@@ -63628,7 +63628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3297;
show create table s;
Table Create Table
@@ -63636,7 +63636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3296;
show create table s;
Table Create Table
@@ -63644,7 +63644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3295;
show create table s;
Table Create Table
@@ -63652,7 +63652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3294;
show create table s;
Table Create Table
@@ -63660,7 +63660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3293;
show create table s;
Table Create Table
@@ -63668,7 +63668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3292;
show create table s;
Table Create Table
@@ -63676,7 +63676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3291;
show create table s;
Table Create Table
@@ -63684,7 +63684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3290;
show create table s;
Table Create Table
@@ -63692,7 +63692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3289;
show create table s;
Table Create Table
@@ -63700,7 +63700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3288;
show create table s;
Table Create Table
@@ -63708,7 +63708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3287;
show create table s;
Table Create Table
@@ -63716,7 +63716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3286;
show create table s;
Table Create Table
@@ -63724,7 +63724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3285;
show create table s;
Table Create Table
@@ -63732,7 +63732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3284;
show create table s;
Table Create Table
@@ -63740,7 +63740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3283;
show create table s;
Table Create Table
@@ -63748,7 +63748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3282;
show create table s;
Table Create Table
@@ -63756,7 +63756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3281;
show create table s;
Table Create Table
@@ -63764,7 +63764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3280;
show create table s;
Table Create Table
@@ -63772,7 +63772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3279;
show create table s;
Table Create Table
@@ -63780,7 +63780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3278;
show create table s;
Table Create Table
@@ -63788,7 +63788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3277;
show create table s;
Table Create Table
@@ -63796,7 +63796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3276;
show create table s;
Table Create Table
@@ -63804,7 +63804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3275;
show create table s;
Table Create Table
@@ -63812,7 +63812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3274;
show create table s;
Table Create Table
@@ -63820,7 +63820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3273;
show create table s;
Table Create Table
@@ -63828,7 +63828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3272;
show create table s;
Table Create Table
@@ -63836,7 +63836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3271;
show create table s;
Table Create Table
@@ -63844,7 +63844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3270;
show create table s;
Table Create Table
@@ -63852,7 +63852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3269;
show create table s;
Table Create Table
@@ -63860,7 +63860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3268;
show create table s;
Table Create Table
@@ -63868,7 +63868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3267;
show create table s;
Table Create Table
@@ -63876,7 +63876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3266;
show create table s;
Table Create Table
@@ -63884,7 +63884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3265;
show create table s;
Table Create Table
@@ -63892,7 +63892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3264;
show create table s;
Table Create Table
@@ -63900,7 +63900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3263;
show create table s;
Table Create Table
@@ -63908,7 +63908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3262;
show create table s;
Table Create Table
@@ -63916,7 +63916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3261;
show create table s;
Table Create Table
@@ -63924,7 +63924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3260;
show create table s;
Table Create Table
@@ -63932,7 +63932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3259;
show create table s;
Table Create Table
@@ -63940,7 +63940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3258;
show create table s;
Table Create Table
@@ -63948,7 +63948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3257;
show create table s;
Table Create Table
@@ -63956,7 +63956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3256;
show create table s;
Table Create Table
@@ -63964,7 +63964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3255;
show create table s;
Table Create Table
@@ -63972,7 +63972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3254;
show create table s;
Table Create Table
@@ -63980,7 +63980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3253;
show create table s;
Table Create Table
@@ -63988,7 +63988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3252;
show create table s;
Table Create Table
@@ -63996,7 +63996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3251;
show create table s;
Table Create Table
@@ -64004,7 +64004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3250;
show create table s;
Table Create Table
@@ -64012,7 +64012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3249;
show create table s;
Table Create Table
@@ -64020,7 +64020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3248;
show create table s;
Table Create Table
@@ -64028,7 +64028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3247;
show create table s;
Table Create Table
@@ -64036,7 +64036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3246;
show create table s;
Table Create Table
@@ -64044,7 +64044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3245;
show create table s;
Table Create Table
@@ -64052,7 +64052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3244;
show create table s;
Table Create Table
@@ -64060,7 +64060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3243;
show create table s;
Table Create Table
@@ -64068,7 +64068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3242;
show create table s;
Table Create Table
@@ -64076,7 +64076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3241;
show create table s;
Table Create Table
@@ -64084,7 +64084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3240;
show create table s;
Table Create Table
@@ -64092,7 +64092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3239;
show create table s;
Table Create Table
@@ -64100,7 +64100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3238;
show create table s;
Table Create Table
@@ -64108,7 +64108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3237;
show create table s;
Table Create Table
@@ -64116,7 +64116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3236;
show create table s;
Table Create Table
@@ -64124,7 +64124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3235;
show create table s;
Table Create Table
@@ -64132,7 +64132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3234;
show create table s;
Table Create Table
@@ -64140,7 +64140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3233;
show create table s;
Table Create Table
@@ -64148,7 +64148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3232;
show create table s;
Table Create Table
@@ -64156,7 +64156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3231;
show create table s;
Table Create Table
@@ -64164,7 +64164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3230;
show create table s;
Table Create Table
@@ -64172,7 +64172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3229;
show create table s;
Table Create Table
@@ -64180,7 +64180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3228;
show create table s;
Table Create Table
@@ -64188,7 +64188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3227;
show create table s;
Table Create Table
@@ -64196,7 +64196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3226;
show create table s;
Table Create Table
@@ -64204,7 +64204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3225;
show create table s;
Table Create Table
@@ -64212,7 +64212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3224;
show create table s;
Table Create Table
@@ -64220,7 +64220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3223;
show create table s;
Table Create Table
@@ -64228,7 +64228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3222;
show create table s;
Table Create Table
@@ -64236,7 +64236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3221;
show create table s;
Table Create Table
@@ -64244,7 +64244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3220;
show create table s;
Table Create Table
@@ -64252,7 +64252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3219;
show create table s;
Table Create Table
@@ -64260,7 +64260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3218;
show create table s;
Table Create Table
@@ -64268,7 +64268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3217;
show create table s;
Table Create Table
@@ -64276,7 +64276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3216;
show create table s;
Table Create Table
@@ -64284,7 +64284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3215;
show create table s;
Table Create Table
@@ -64292,7 +64292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3214;
show create table s;
Table Create Table
@@ -64300,7 +64300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3213;
show create table s;
Table Create Table
@@ -64308,7 +64308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3212;
show create table s;
Table Create Table
@@ -64316,7 +64316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3211;
show create table s;
Table Create Table
@@ -64324,7 +64324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3210;
show create table s;
Table Create Table
@@ -64332,7 +64332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3209;
show create table s;
Table Create Table
@@ -64340,7 +64340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3208;
show create table s;
Table Create Table
@@ -64348,7 +64348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3207;
show create table s;
Table Create Table
@@ -64356,7 +64356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3206;
show create table s;
Table Create Table
@@ -64364,7 +64364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3205;
show create table s;
Table Create Table
@@ -64372,7 +64372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3204;
show create table s;
Table Create Table
@@ -64380,7 +64380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3203;
show create table s;
Table Create Table
@@ -64388,7 +64388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3202;
show create table s;
Table Create Table
@@ -64396,7 +64396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3201;
show create table s;
Table Create Table
@@ -64404,7 +64404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3200;
show create table s;
Table Create Table
@@ -64412,7 +64412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3199;
show create table s;
Table Create Table
@@ -64420,7 +64420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3198;
show create table s;
Table Create Table
@@ -64428,7 +64428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3197;
show create table s;
Table Create Table
@@ -64436,7 +64436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3196;
show create table s;
Table Create Table
@@ -64444,7 +64444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3195;
show create table s;
Table Create Table
@@ -64452,7 +64452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3194;
show create table s;
Table Create Table
@@ -64460,7 +64460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3193;
show create table s;
Table Create Table
@@ -64468,7 +64468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3192;
show create table s;
Table Create Table
@@ -64476,7 +64476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3191;
show create table s;
Table Create Table
@@ -64484,7 +64484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3190;
show create table s;
Table Create Table
@@ -64492,7 +64492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3189;
show create table s;
Table Create Table
@@ -64500,7 +64500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3188;
show create table s;
Table Create Table
@@ -64508,7 +64508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3187;
show create table s;
Table Create Table
@@ -64516,7 +64516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3186;
show create table s;
Table Create Table
@@ -64524,7 +64524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3185;
show create table s;
Table Create Table
@@ -64532,7 +64532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3184;
show create table s;
Table Create Table
@@ -64540,7 +64540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3183;
show create table s;
Table Create Table
@@ -64548,7 +64548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3182;
show create table s;
Table Create Table
@@ -64556,7 +64556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3181;
show create table s;
Table Create Table
@@ -64564,7 +64564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3180;
show create table s;
Table Create Table
@@ -64572,7 +64572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3179;
show create table s;
Table Create Table
@@ -64580,7 +64580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3178;
show create table s;
Table Create Table
@@ -64588,7 +64588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3177;
show create table s;
Table Create Table
@@ -64596,7 +64596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3176;
show create table s;
Table Create Table
@@ -64604,7 +64604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3175;
show create table s;
Table Create Table
@@ -64612,7 +64612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3174;
show create table s;
Table Create Table
@@ -64620,7 +64620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3173;
show create table s;
Table Create Table
@@ -64628,7 +64628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3172;
show create table s;
Table Create Table
@@ -64636,7 +64636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3171;
show create table s;
Table Create Table
@@ -64644,7 +64644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3170;
show create table s;
Table Create Table
@@ -64652,7 +64652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3169;
show create table s;
Table Create Table
@@ -64660,7 +64660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3168;
show create table s;
Table Create Table
@@ -64668,7 +64668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3167;
show create table s;
Table Create Table
@@ -64676,7 +64676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3166;
show create table s;
Table Create Table
@@ -64684,7 +64684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3165;
show create table s;
Table Create Table
@@ -64692,7 +64692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3164;
show create table s;
Table Create Table
@@ -64700,7 +64700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3163;
show create table s;
Table Create Table
@@ -64708,7 +64708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3162;
show create table s;
Table Create Table
@@ -64716,7 +64716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3161;
show create table s;
Table Create Table
@@ -64724,7 +64724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3160;
show create table s;
Table Create Table
@@ -64732,7 +64732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3159;
show create table s;
Table Create Table
@@ -64740,7 +64740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3158;
show create table s;
Table Create Table
@@ -64748,7 +64748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3157;
show create table s;
Table Create Table
@@ -64756,7 +64756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3156;
show create table s;
Table Create Table
@@ -64764,7 +64764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3155;
show create table s;
Table Create Table
@@ -64772,7 +64772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3154;
show create table s;
Table Create Table
@@ -64780,7 +64780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3153;
show create table s;
Table Create Table
@@ -64788,7 +64788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3152;
show create table s;
Table Create Table
@@ -64796,7 +64796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3151;
show create table s;
Table Create Table
@@ -64804,7 +64804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3150;
show create table s;
Table Create Table
@@ -64812,7 +64812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3149;
show create table s;
Table Create Table
@@ -64820,7 +64820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3148;
show create table s;
Table Create Table
@@ -64828,7 +64828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3147;
show create table s;
Table Create Table
@@ -64836,7 +64836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3146;
show create table s;
Table Create Table
@@ -64844,7 +64844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3145;
show create table s;
Table Create Table
@@ -64852,7 +64852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3144;
show create table s;
Table Create Table
@@ -64860,7 +64860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3143;
show create table s;
Table Create Table
@@ -64868,7 +64868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3142;
show create table s;
Table Create Table
@@ -64876,7 +64876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3141;
show create table s;
Table Create Table
@@ -64884,7 +64884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3140;
show create table s;
Table Create Table
@@ -64892,7 +64892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3139;
show create table s;
Table Create Table
@@ -64900,7 +64900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3138;
show create table s;
Table Create Table
@@ -64908,7 +64908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3137;
show create table s;
Table Create Table
@@ -64916,7 +64916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3136;
show create table s;
Table Create Table
@@ -64924,7 +64924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3135;
show create table s;
Table Create Table
@@ -64932,7 +64932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3134;
show create table s;
Table Create Table
@@ -64940,7 +64940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3133;
show create table s;
Table Create Table
@@ -64948,7 +64948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3132;
show create table s;
Table Create Table
@@ -64956,7 +64956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3131;
show create table s;
Table Create Table
@@ -64964,7 +64964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3130;
show create table s;
Table Create Table
@@ -64972,7 +64972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3129;
show create table s;
Table Create Table
@@ -64980,7 +64980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3128;
show create table s;
Table Create Table
@@ -64988,7 +64988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3127;
show create table s;
Table Create Table
@@ -64996,7 +64996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3126;
show create table s;
Table Create Table
@@ -65004,7 +65004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3125;
show create table s;
Table Create Table
@@ -65012,7 +65012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3124;
show create table s;
Table Create Table
@@ -65020,7 +65020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3123;
show create table s;
Table Create Table
@@ -65028,7 +65028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3122;
show create table s;
Table Create Table
@@ -65036,7 +65036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3121;
show create table s;
Table Create Table
@@ -65044,7 +65044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3120;
show create table s;
Table Create Table
@@ -65052,7 +65052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3119;
show create table s;
Table Create Table
@@ -65060,7 +65060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3118;
show create table s;
Table Create Table
@@ -65068,7 +65068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3117;
show create table s;
Table Create Table
@@ -65076,7 +65076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3116;
show create table s;
Table Create Table
@@ -65084,7 +65084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3115;
show create table s;
Table Create Table
@@ -65092,7 +65092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3114;
show create table s;
Table Create Table
@@ -65100,7 +65100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3113;
show create table s;
Table Create Table
@@ -65108,7 +65108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3112;
show create table s;
Table Create Table
@@ -65116,7 +65116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3111;
show create table s;
Table Create Table
@@ -65124,7 +65124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3110;
show create table s;
Table Create Table
@@ -65132,7 +65132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3109;
show create table s;
Table Create Table
@@ -65140,7 +65140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3108;
show create table s;
Table Create Table
@@ -65148,7 +65148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3107;
show create table s;
Table Create Table
@@ -65156,7 +65156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3106;
show create table s;
Table Create Table
@@ -65164,7 +65164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3105;
show create table s;
Table Create Table
@@ -65172,7 +65172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3104;
show create table s;
Table Create Table
@@ -65180,7 +65180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3103;
show create table s;
Table Create Table
@@ -65188,7 +65188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3102;
show create table s;
Table Create Table
@@ -65196,7 +65196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3101;
show create table s;
Table Create Table
@@ -65204,7 +65204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3100;
show create table s;
Table Create Table
@@ -65212,7 +65212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3099;
show create table s;
Table Create Table
@@ -65220,7 +65220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3098;
show create table s;
Table Create Table
@@ -65228,7 +65228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3097;
show create table s;
Table Create Table
@@ -65236,7 +65236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3096;
show create table s;
Table Create Table
@@ -65244,7 +65244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3095;
show create table s;
Table Create Table
@@ -65252,7 +65252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3094;
show create table s;
Table Create Table
@@ -65260,7 +65260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3093;
show create table s;
Table Create Table
@@ -65268,7 +65268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3092;
show create table s;
Table Create Table
@@ -65276,7 +65276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3091;
show create table s;
Table Create Table
@@ -65284,7 +65284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3090;
show create table s;
Table Create Table
@@ -65292,7 +65292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3089;
show create table s;
Table Create Table
@@ -65300,7 +65300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3088;
show create table s;
Table Create Table
@@ -65308,7 +65308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3087;
show create table s;
Table Create Table
@@ -65316,7 +65316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3086;
show create table s;
Table Create Table
@@ -65324,7 +65324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3085;
show create table s;
Table Create Table
@@ -65332,7 +65332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3084;
show create table s;
Table Create Table
@@ -65340,7 +65340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3083;
show create table s;
Table Create Table
@@ -65348,7 +65348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3082;
show create table s;
Table Create Table
@@ -65356,7 +65356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3081;
show create table s;
Table Create Table
@@ -65364,7 +65364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3080;
show create table s;
Table Create Table
@@ -65372,7 +65372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3079;
show create table s;
Table Create Table
@@ -65380,7 +65380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3078;
show create table s;
Table Create Table
@@ -65388,7 +65388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3077;
show create table s;
Table Create Table
@@ -65396,7 +65396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3076;
show create table s;
Table Create Table
@@ -65404,7 +65404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3075;
show create table s;
Table Create Table
@@ -65412,7 +65412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3074;
show create table s;
Table Create Table
@@ -65420,7 +65420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3073;
show create table s;
Table Create Table
@@ -65428,7 +65428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3072;
show create table s;
Table Create Table
@@ -65436,7 +65436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3071;
show create table s;
Table Create Table
@@ -65444,7 +65444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3070;
show create table s;
Table Create Table
@@ -65452,7 +65452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3069;
show create table s;
Table Create Table
@@ -65460,7 +65460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3068;
show create table s;
Table Create Table
@@ -65468,7 +65468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3067;
show create table s;
Table Create Table
@@ -65476,7 +65476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3066;
show create table s;
Table Create Table
@@ -65484,7 +65484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3065;
show create table s;
Table Create Table
@@ -65492,7 +65492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3064;
show create table s;
Table Create Table
@@ -65500,7 +65500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3063;
show create table s;
Table Create Table
@@ -65508,7 +65508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3062;
show create table s;
Table Create Table
@@ -65516,7 +65516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3061;
show create table s;
Table Create Table
@@ -65524,7 +65524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3060;
show create table s;
Table Create Table
@@ -65532,7 +65532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3059;
show create table s;
Table Create Table
@@ -65540,7 +65540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3058;
show create table s;
Table Create Table
@@ -65548,7 +65548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3057;
show create table s;
Table Create Table
@@ -65556,7 +65556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3056;
show create table s;
Table Create Table
@@ -65564,7 +65564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3055;
show create table s;
Table Create Table
@@ -65572,7 +65572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3054;
show create table s;
Table Create Table
@@ -65580,7 +65580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3053;
show create table s;
Table Create Table
@@ -65588,7 +65588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3052;
show create table s;
Table Create Table
@@ -65596,7 +65596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3051;
show create table s;
Table Create Table
@@ -65604,7 +65604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3050;
show create table s;
Table Create Table
@@ -65612,7 +65612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3049;
show create table s;
Table Create Table
@@ -65620,7 +65620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3048;
show create table s;
Table Create Table
@@ -65628,7 +65628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3047;
show create table s;
Table Create Table
@@ -65636,7 +65636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3046;
show create table s;
Table Create Table
@@ -65644,7 +65644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3045;
show create table s;
Table Create Table
@@ -65652,7 +65652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3044;
show create table s;
Table Create Table
@@ -65660,7 +65660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3043;
show create table s;
Table Create Table
@@ -65668,7 +65668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3042;
show create table s;
Table Create Table
@@ -65676,7 +65676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3041;
show create table s;
Table Create Table
@@ -65684,7 +65684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3040;
show create table s;
Table Create Table
@@ -65692,7 +65692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3039;
show create table s;
Table Create Table
@@ -65700,7 +65700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3038;
show create table s;
Table Create Table
@@ -65708,7 +65708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3037;
show create table s;
Table Create Table
@@ -65716,7 +65716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3036;
show create table s;
Table Create Table
@@ -65724,7 +65724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3035;
show create table s;
Table Create Table
@@ -65732,7 +65732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3034;
show create table s;
Table Create Table
@@ -65740,7 +65740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3033;
show create table s;
Table Create Table
@@ -65748,7 +65748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3032;
show create table s;
Table Create Table
@@ -65756,7 +65756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3031;
show create table s;
Table Create Table
@@ -65764,7 +65764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3030;
show create table s;
Table Create Table
@@ -65772,7 +65772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3029;
show create table s;
Table Create Table
@@ -65780,7 +65780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3028;
show create table s;
Table Create Table
@@ -65788,7 +65788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3027;
show create table s;
Table Create Table
@@ -65796,7 +65796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3026;
show create table s;
Table Create Table
@@ -65804,7 +65804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3025;
show create table s;
Table Create Table
@@ -65812,7 +65812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3024;
show create table s;
Table Create Table
@@ -65820,7 +65820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3023;
show create table s;
Table Create Table
@@ -65828,7 +65828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3022;
show create table s;
Table Create Table
@@ -65836,7 +65836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3021;
show create table s;
Table Create Table
@@ -65844,7 +65844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3020;
show create table s;
Table Create Table
@@ -65852,7 +65852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3019;
show create table s;
Table Create Table
@@ -65860,7 +65860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3018;
show create table s;
Table Create Table
@@ -65868,7 +65868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3017;
show create table s;
Table Create Table
@@ -65876,7 +65876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3016;
show create table s;
Table Create Table
@@ -65884,7 +65884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3015;
show create table s;
Table Create Table
@@ -65892,7 +65892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3014;
show create table s;
Table Create Table
@@ -65900,7 +65900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3013;
show create table s;
Table Create Table
@@ -65908,7 +65908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3012;
show create table s;
Table Create Table
@@ -65916,7 +65916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3011;
show create table s;
Table Create Table
@@ -65924,7 +65924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3010;
show create table s;
Table Create Table
@@ -65932,7 +65932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3009;
show create table s;
Table Create Table
@@ -65940,7 +65940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3008;
show create table s;
Table Create Table
@@ -65948,7 +65948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3007;
show create table s;
Table Create Table
@@ -65956,7 +65956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3006;
show create table s;
Table Create Table
@@ -65964,7 +65964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3005;
show create table s;
Table Create Table
@@ -65972,7 +65972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3004;
show create table s;
Table Create Table
@@ -65980,7 +65980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3003;
show create table s;
Table Create Table
@@ -65988,7 +65988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3002;
show create table s;
Table Create Table
@@ -65996,7 +65996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3001;
show create table s;
Table Create Table
@@ -66004,7 +66004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3000;
show create table s;
Table Create Table
@@ -66012,7 +66012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2999;
show create table s;
Table Create Table
@@ -66020,7 +66020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2998;
show create table s;
Table Create Table
@@ -66028,7 +66028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2997;
show create table s;
Table Create Table
@@ -66036,7 +66036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2996;
show create table s;
Table Create Table
@@ -66044,7 +66044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2995;
show create table s;
Table Create Table
@@ -66052,7 +66052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2994;
show create table s;
Table Create Table
@@ -66060,7 +66060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2993;
show create table s;
Table Create Table
@@ -66068,7 +66068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2992;
show create table s;
Table Create Table
@@ -66076,7 +66076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2991;
show create table s;
Table Create Table
@@ -66084,7 +66084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2990;
show create table s;
Table Create Table
@@ -66092,7 +66092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2989;
show create table s;
Table Create Table
@@ -66100,7 +66100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2988;
show create table s;
Table Create Table
@@ -66108,7 +66108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2987;
show create table s;
Table Create Table
@@ -66116,7 +66116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2986;
show create table s;
Table Create Table
@@ -66124,7 +66124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2985;
show create table s;
Table Create Table
@@ -66132,7 +66132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2984;
show create table s;
Table Create Table
@@ -66140,7 +66140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2983;
show create table s;
Table Create Table
@@ -66148,7 +66148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2982;
show create table s;
Table Create Table
@@ -66156,7 +66156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2981;
show create table s;
Table Create Table
@@ -66164,7 +66164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2980;
show create table s;
Table Create Table
@@ -66172,7 +66172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2979;
show create table s;
Table Create Table
@@ -66180,7 +66180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2978;
show create table s;
Table Create Table
@@ -66188,7 +66188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2977;
show create table s;
Table Create Table
@@ -66196,7 +66196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2976;
show create table s;
Table Create Table
@@ -66204,7 +66204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2975;
show create table s;
Table Create Table
@@ -66212,7 +66212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2974;
show create table s;
Table Create Table
@@ -66220,7 +66220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2973;
show create table s;
Table Create Table
@@ -66228,7 +66228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2972;
show create table s;
Table Create Table
@@ -66236,7 +66236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2971;
show create table s;
Table Create Table
@@ -66244,7 +66244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2970;
show create table s;
Table Create Table
@@ -66252,7 +66252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2969;
show create table s;
Table Create Table
@@ -66260,7 +66260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2968;
show create table s;
Table Create Table
@@ -66268,7 +66268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2967;
show create table s;
Table Create Table
@@ -66276,7 +66276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2966;
show create table s;
Table Create Table
@@ -66284,7 +66284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2965;
show create table s;
Table Create Table
@@ -66292,7 +66292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2964;
show create table s;
Table Create Table
@@ -66300,7 +66300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2963;
show create table s;
Table Create Table
@@ -66308,7 +66308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2962;
show create table s;
Table Create Table
@@ -66316,7 +66316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2961;
show create table s;
Table Create Table
@@ -66324,7 +66324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2960;
show create table s;
Table Create Table
@@ -66332,7 +66332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2959;
show create table s;
Table Create Table
@@ -66340,7 +66340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2958;
show create table s;
Table Create Table
@@ -66348,7 +66348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2957;
show create table s;
Table Create Table
@@ -66356,7 +66356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2956;
show create table s;
Table Create Table
@@ -66364,7 +66364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2955;
show create table s;
Table Create Table
@@ -66372,7 +66372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2954;
show create table s;
Table Create Table
@@ -66380,7 +66380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2953;
show create table s;
Table Create Table
@@ -66388,7 +66388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2952;
show create table s;
Table Create Table
@@ -66396,7 +66396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2951;
show create table s;
Table Create Table
@@ -66404,7 +66404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2950;
show create table s;
Table Create Table
@@ -66412,7 +66412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2949;
show create table s;
Table Create Table
@@ -66420,7 +66420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2948;
show create table s;
Table Create Table
@@ -66428,7 +66428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2947;
show create table s;
Table Create Table
@@ -66436,7 +66436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2946;
show create table s;
Table Create Table
@@ -66444,7 +66444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2945;
show create table s;
Table Create Table
@@ -66452,7 +66452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2944;
show create table s;
Table Create Table
@@ -66460,7 +66460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2943;
show create table s;
Table Create Table
@@ -66468,7 +66468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2942;
show create table s;
Table Create Table
@@ -66476,7 +66476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2941;
show create table s;
Table Create Table
@@ -66484,7 +66484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2940;
show create table s;
Table Create Table
@@ -66492,7 +66492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2939;
show create table s;
Table Create Table
@@ -66500,7 +66500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2938;
show create table s;
Table Create Table
@@ -66508,7 +66508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2937;
show create table s;
Table Create Table
@@ -66516,7 +66516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2936;
show create table s;
Table Create Table
@@ -66524,7 +66524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2935;
show create table s;
Table Create Table
@@ -66532,7 +66532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2934;
show create table s;
Table Create Table
@@ -66540,7 +66540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2933;
show create table s;
Table Create Table
@@ -66548,7 +66548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2932;
show create table s;
Table Create Table
@@ -66556,7 +66556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2931;
show create table s;
Table Create Table
@@ -66564,7 +66564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2930;
show create table s;
Table Create Table
@@ -66572,7 +66572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2929;
show create table s;
Table Create Table
@@ -66580,7 +66580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2928;
show create table s;
Table Create Table
@@ -66588,7 +66588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2927;
show create table s;
Table Create Table
@@ -66596,7 +66596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2926;
show create table s;
Table Create Table
@@ -66604,7 +66604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2925;
show create table s;
Table Create Table
@@ -66612,7 +66612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2924;
show create table s;
Table Create Table
@@ -66620,7 +66620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2923;
show create table s;
Table Create Table
@@ -66628,7 +66628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2922;
show create table s;
Table Create Table
@@ -66636,7 +66636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2921;
show create table s;
Table Create Table
@@ -66644,7 +66644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2920;
show create table s;
Table Create Table
@@ -66652,7 +66652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2919;
show create table s;
Table Create Table
@@ -66660,7 +66660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2918;
show create table s;
Table Create Table
@@ -66668,7 +66668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2917;
show create table s;
Table Create Table
@@ -66676,7 +66676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2916;
show create table s;
Table Create Table
@@ -66684,7 +66684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2915;
show create table s;
Table Create Table
@@ -66692,7 +66692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2914;
show create table s;
Table Create Table
@@ -66700,7 +66700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2913;
show create table s;
Table Create Table
@@ -66708,7 +66708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2912;
show create table s;
Table Create Table
@@ -66716,7 +66716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2911;
show create table s;
Table Create Table
@@ -66724,7 +66724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2910;
show create table s;
Table Create Table
@@ -66732,7 +66732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2909;
show create table s;
Table Create Table
@@ -66740,7 +66740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2908;
show create table s;
Table Create Table
@@ -66748,7 +66748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2907;
show create table s;
Table Create Table
@@ -66756,7 +66756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2906;
show create table s;
Table Create Table
@@ -66764,7 +66764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2905;
show create table s;
Table Create Table
@@ -66772,7 +66772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2904;
show create table s;
Table Create Table
@@ -66780,7 +66780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2903;
show create table s;
Table Create Table
@@ -66788,7 +66788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2902;
show create table s;
Table Create Table
@@ -66796,7 +66796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2901;
show create table s;
Table Create Table
@@ -66804,7 +66804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2900;
show create table s;
Table Create Table
@@ -66812,7 +66812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2899;
show create table s;
Table Create Table
@@ -66820,7 +66820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2898;
show create table s;
Table Create Table
@@ -66828,7 +66828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2897;
show create table s;
Table Create Table
@@ -66836,7 +66836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2896;
show create table s;
Table Create Table
@@ -66844,7 +66844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2895;
show create table s;
Table Create Table
@@ -66852,7 +66852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2894;
show create table s;
Table Create Table
@@ -66860,7 +66860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2893;
show create table s;
Table Create Table
@@ -66868,7 +66868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2892;
show create table s;
Table Create Table
@@ -66876,7 +66876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2891;
show create table s;
Table Create Table
@@ -66884,7 +66884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2890;
show create table s;
Table Create Table
@@ -66892,7 +66892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2889;
show create table s;
Table Create Table
@@ -66900,7 +66900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2888;
show create table s;
Table Create Table
@@ -66908,7 +66908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2887;
show create table s;
Table Create Table
@@ -66916,7 +66916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2886;
show create table s;
Table Create Table
@@ -66924,7 +66924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2885;
show create table s;
Table Create Table
@@ -66932,7 +66932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2884;
show create table s;
Table Create Table
@@ -66940,7 +66940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2883;
show create table s;
Table Create Table
@@ -66948,7 +66948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2882;
show create table s;
Table Create Table
@@ -66956,7 +66956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2881;
show create table s;
Table Create Table
@@ -66964,7 +66964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2880;
show create table s;
Table Create Table
@@ -66972,7 +66972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2879;
show create table s;
Table Create Table
@@ -66980,7 +66980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2878;
show create table s;
Table Create Table
@@ -66988,7 +66988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2877;
show create table s;
Table Create Table
@@ -66996,7 +66996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2876;
show create table s;
Table Create Table
@@ -67004,7 +67004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2875;
show create table s;
Table Create Table
@@ -67012,7 +67012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2874;
show create table s;
Table Create Table
@@ -67020,7 +67020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2873;
show create table s;
Table Create Table
@@ -67028,7 +67028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2872;
show create table s;
Table Create Table
@@ -67036,7 +67036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2871;
show create table s;
Table Create Table
@@ -67044,7 +67044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2870;
show create table s;
Table Create Table
@@ -67052,7 +67052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2869;
show create table s;
Table Create Table
@@ -67060,7 +67060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2868;
show create table s;
Table Create Table
@@ -67068,7 +67068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2867;
show create table s;
Table Create Table
@@ -67076,7 +67076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2866;
show create table s;
Table Create Table
@@ -67084,7 +67084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2865;
show create table s;
Table Create Table
@@ -67092,7 +67092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2864;
show create table s;
Table Create Table
@@ -67100,7 +67100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2863;
show create table s;
Table Create Table
@@ -67108,7 +67108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2862;
show create table s;
Table Create Table
@@ -67116,7 +67116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2861;
show create table s;
Table Create Table
@@ -67124,7 +67124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2860;
show create table s;
Table Create Table
@@ -67132,7 +67132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2859;
show create table s;
Table Create Table
@@ -67140,7 +67140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2858;
show create table s;
Table Create Table
@@ -67148,7 +67148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2857;
show create table s;
Table Create Table
@@ -67156,7 +67156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2856;
show create table s;
Table Create Table
@@ -67164,7 +67164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2855;
show create table s;
Table Create Table
@@ -67172,7 +67172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2854;
show create table s;
Table Create Table
@@ -67180,7 +67180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2853;
show create table s;
Table Create Table
@@ -67188,7 +67188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2852;
show create table s;
Table Create Table
@@ -67196,7 +67196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2851;
show create table s;
Table Create Table
@@ -67204,7 +67204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2850;
show create table s;
Table Create Table
@@ -67212,7 +67212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2849;
show create table s;
Table Create Table
@@ -67220,7 +67220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2848;
show create table s;
Table Create Table
@@ -67228,7 +67228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2847;
show create table s;
Table Create Table
@@ -67236,7 +67236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2846;
show create table s;
Table Create Table
@@ -67244,7 +67244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2845;
show create table s;
Table Create Table
@@ -67252,7 +67252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2844;
show create table s;
Table Create Table
@@ -67260,7 +67260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2843;
show create table s;
Table Create Table
@@ -67268,7 +67268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2842;
show create table s;
Table Create Table
@@ -67276,7 +67276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2841;
show create table s;
Table Create Table
@@ -67284,7 +67284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2840;
show create table s;
Table Create Table
@@ -67292,7 +67292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2839;
show create table s;
Table Create Table
@@ -67300,7 +67300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2838;
show create table s;
Table Create Table
@@ -67308,7 +67308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2837;
show create table s;
Table Create Table
@@ -67316,7 +67316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2836;
show create table s;
Table Create Table
@@ -67324,7 +67324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2835;
show create table s;
Table Create Table
@@ -67332,7 +67332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2834;
show create table s;
Table Create Table
@@ -67340,7 +67340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2833;
show create table s;
Table Create Table
@@ -67348,7 +67348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2832;
show create table s;
Table Create Table
@@ -67356,7 +67356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2831;
show create table s;
Table Create Table
@@ -67364,7 +67364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2830;
show create table s;
Table Create Table
@@ -67372,7 +67372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2829;
show create table s;
Table Create Table
@@ -67380,7 +67380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2828;
show create table s;
Table Create Table
@@ -67388,7 +67388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2827;
show create table s;
Table Create Table
@@ -67396,7 +67396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2826;
show create table s;
Table Create Table
@@ -67404,7 +67404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2825;
show create table s;
Table Create Table
@@ -67412,7 +67412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2824;
show create table s;
Table Create Table
@@ -67420,7 +67420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2823;
show create table s;
Table Create Table
@@ -67428,7 +67428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2822;
show create table s;
Table Create Table
@@ -67436,7 +67436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2821;
show create table s;
Table Create Table
@@ -67444,7 +67444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2820;
show create table s;
Table Create Table
@@ -67452,7 +67452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2819;
show create table s;
Table Create Table
@@ -67460,7 +67460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2818;
show create table s;
Table Create Table
@@ -67468,7 +67468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2817;
show create table s;
Table Create Table
@@ -67476,7 +67476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2816;
show create table s;
Table Create Table
@@ -67484,7 +67484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2815;
show create table s;
Table Create Table
@@ -67492,7 +67492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2814;
show create table s;
Table Create Table
@@ -67500,7 +67500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2813;
show create table s;
Table Create Table
@@ -67508,7 +67508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2812;
show create table s;
Table Create Table
@@ -67516,7 +67516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2811;
show create table s;
Table Create Table
@@ -67524,7 +67524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2810;
show create table s;
Table Create Table
@@ -67532,7 +67532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2809;
show create table s;
Table Create Table
@@ -67540,7 +67540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2808;
show create table s;
Table Create Table
@@ -67548,7 +67548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2807;
show create table s;
Table Create Table
@@ -67556,7 +67556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2806;
show create table s;
Table Create Table
@@ -67564,7 +67564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2805;
show create table s;
Table Create Table
@@ -67572,7 +67572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2804;
show create table s;
Table Create Table
@@ -67580,7 +67580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2803;
show create table s;
Table Create Table
@@ -67588,7 +67588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2802;
show create table s;
Table Create Table
@@ -67596,7 +67596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2801;
show create table s;
Table Create Table
@@ -67604,7 +67604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2800;
show create table s;
Table Create Table
@@ -67612,7 +67612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2799;
show create table s;
Table Create Table
@@ -67620,7 +67620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2798;
show create table s;
Table Create Table
@@ -67628,7 +67628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2797;
show create table s;
Table Create Table
@@ -67636,7 +67636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2796;
show create table s;
Table Create Table
@@ -67644,7 +67644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2795;
show create table s;
Table Create Table
@@ -67652,7 +67652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2794;
show create table s;
Table Create Table
@@ -67660,7 +67660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2793;
show create table s;
Table Create Table
@@ -67668,7 +67668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2792;
show create table s;
Table Create Table
@@ -67676,7 +67676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2791;
show create table s;
Table Create Table
@@ -67684,7 +67684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2790;
show create table s;
Table Create Table
@@ -67692,7 +67692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2789;
show create table s;
Table Create Table
@@ -67700,7 +67700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2788;
show create table s;
Table Create Table
@@ -67708,7 +67708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2787;
show create table s;
Table Create Table
@@ -67716,7 +67716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2786;
show create table s;
Table Create Table
@@ -67724,7 +67724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2785;
show create table s;
Table Create Table
@@ -67732,7 +67732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2784;
show create table s;
Table Create Table
@@ -67740,7 +67740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2783;
show create table s;
Table Create Table
@@ -67748,7 +67748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2782;
show create table s;
Table Create Table
@@ -67756,7 +67756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2781;
show create table s;
Table Create Table
@@ -67764,7 +67764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2780;
show create table s;
Table Create Table
@@ -67772,7 +67772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2779;
show create table s;
Table Create Table
@@ -67780,7 +67780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2778;
show create table s;
Table Create Table
@@ -67788,7 +67788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2777;
show create table s;
Table Create Table
@@ -67796,7 +67796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2776;
show create table s;
Table Create Table
@@ -67804,7 +67804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2775;
show create table s;
Table Create Table
@@ -67812,7 +67812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2774;
show create table s;
Table Create Table
@@ -67820,7 +67820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2773;
show create table s;
Table Create Table
@@ -67828,7 +67828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2772;
show create table s;
Table Create Table
@@ -67836,7 +67836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2771;
show create table s;
Table Create Table
@@ -67844,7 +67844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2770;
show create table s;
Table Create Table
@@ -67852,7 +67852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2769;
show create table s;
Table Create Table
@@ -67860,7 +67860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2768;
show create table s;
Table Create Table
@@ -67868,7 +67868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2767;
show create table s;
Table Create Table
@@ -67876,7 +67876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2766;
show create table s;
Table Create Table
@@ -67884,7 +67884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2765;
show create table s;
Table Create Table
@@ -67892,7 +67892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2764;
show create table s;
Table Create Table
@@ -67900,7 +67900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2763;
show create table s;
Table Create Table
@@ -67908,7 +67908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2762;
show create table s;
Table Create Table
@@ -67916,7 +67916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2761;
show create table s;
Table Create Table
@@ -67924,7 +67924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2760;
show create table s;
Table Create Table
@@ -67932,7 +67932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2759;
show create table s;
Table Create Table
@@ -67940,7 +67940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2758;
show create table s;
Table Create Table
@@ -67948,7 +67948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2757;
show create table s;
Table Create Table
@@ -67956,7 +67956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2756;
show create table s;
Table Create Table
@@ -67964,7 +67964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2755;
show create table s;
Table Create Table
@@ -67972,7 +67972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2754;
show create table s;
Table Create Table
@@ -67980,7 +67980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2753;
show create table s;
Table Create Table
@@ -67988,7 +67988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2752;
show create table s;
Table Create Table
@@ -67996,7 +67996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2751;
show create table s;
Table Create Table
@@ -68004,7 +68004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2750;
show create table s;
Table Create Table
@@ -68012,7 +68012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2749;
show create table s;
Table Create Table
@@ -68020,7 +68020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2748;
show create table s;
Table Create Table
@@ -68028,7 +68028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2747;
show create table s;
Table Create Table
@@ -68036,7 +68036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2746;
show create table s;
Table Create Table
@@ -68044,7 +68044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2745;
show create table s;
Table Create Table
@@ -68052,7 +68052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2744;
show create table s;
Table Create Table
@@ -68060,7 +68060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2743;
show create table s;
Table Create Table
@@ -68068,7 +68068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2742;
show create table s;
Table Create Table
@@ -68076,7 +68076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2741;
show create table s;
Table Create Table
@@ -68084,7 +68084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2740;
show create table s;
Table Create Table
@@ -68092,7 +68092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2739;
show create table s;
Table Create Table
@@ -68100,7 +68100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2738;
show create table s;
Table Create Table
@@ -68108,7 +68108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2737;
show create table s;
Table Create Table
@@ -68116,7 +68116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2736;
show create table s;
Table Create Table
@@ -68124,7 +68124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2735;
show create table s;
Table Create Table
@@ -68132,7 +68132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2734;
show create table s;
Table Create Table
@@ -68140,7 +68140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2733;
show create table s;
Table Create Table
@@ -68148,7 +68148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2732;
show create table s;
Table Create Table
@@ -68156,7 +68156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2731;
show create table s;
Table Create Table
@@ -68164,7 +68164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2730;
show create table s;
Table Create Table
@@ -68172,7 +68172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2729;
show create table s;
Table Create Table
@@ -68180,7 +68180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2728;
show create table s;
Table Create Table
@@ -68188,7 +68188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2727;
show create table s;
Table Create Table
@@ -68196,7 +68196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2726;
show create table s;
Table Create Table
@@ -68204,7 +68204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2725;
show create table s;
Table Create Table
@@ -68212,7 +68212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2724;
show create table s;
Table Create Table
@@ -68220,7 +68220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2723;
show create table s;
Table Create Table
@@ -68228,7 +68228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2722;
show create table s;
Table Create Table
@@ -68236,7 +68236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2721;
show create table s;
Table Create Table
@@ -68244,7 +68244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2720;
show create table s;
Table Create Table
@@ -68252,7 +68252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2719;
show create table s;
Table Create Table
@@ -68260,7 +68260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2718;
show create table s;
Table Create Table
@@ -68268,7 +68268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2717;
show create table s;
Table Create Table
@@ -68276,7 +68276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2716;
show create table s;
Table Create Table
@@ -68284,7 +68284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2715;
show create table s;
Table Create Table
@@ -68292,7 +68292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2714;
show create table s;
Table Create Table
@@ -68300,7 +68300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2713;
show create table s;
Table Create Table
@@ -68308,7 +68308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2712;
show create table s;
Table Create Table
@@ -68316,7 +68316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2711;
show create table s;
Table Create Table
@@ -68324,7 +68324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2710;
show create table s;
Table Create Table
@@ -68332,7 +68332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2709;
show create table s;
Table Create Table
@@ -68340,7 +68340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2708;
show create table s;
Table Create Table
@@ -68348,7 +68348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2707;
show create table s;
Table Create Table
@@ -68356,7 +68356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2706;
show create table s;
Table Create Table
@@ -68364,7 +68364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2705;
show create table s;
Table Create Table
@@ -68372,7 +68372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2704;
show create table s;
Table Create Table
@@ -68380,7 +68380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2703;
show create table s;
Table Create Table
@@ -68388,7 +68388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2702;
show create table s;
Table Create Table
@@ -68396,7 +68396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2701;
show create table s;
Table Create Table
@@ -68404,7 +68404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2700;
show create table s;
Table Create Table
@@ -68412,7 +68412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2699;
show create table s;
Table Create Table
@@ -68420,7 +68420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2698;
show create table s;
Table Create Table
@@ -68428,7 +68428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2697;
show create table s;
Table Create Table
@@ -68436,7 +68436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2696;
show create table s;
Table Create Table
@@ -68444,7 +68444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2695;
show create table s;
Table Create Table
@@ -68452,7 +68452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2694;
show create table s;
Table Create Table
@@ -68460,7 +68460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2693;
show create table s;
Table Create Table
@@ -68468,7 +68468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2692;
show create table s;
Table Create Table
@@ -68476,7 +68476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2691;
show create table s;
Table Create Table
@@ -68484,7 +68484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2690;
show create table s;
Table Create Table
@@ -68492,7 +68492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2689;
show create table s;
Table Create Table
@@ -68500,7 +68500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2688;
show create table s;
Table Create Table
@@ -68508,7 +68508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2687;
show create table s;
Table Create Table
@@ -68516,7 +68516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2686;
show create table s;
Table Create Table
@@ -68524,7 +68524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2685;
show create table s;
Table Create Table
@@ -68532,7 +68532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2684;
show create table s;
Table Create Table
@@ -68540,7 +68540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2683;
show create table s;
Table Create Table
@@ -68548,7 +68548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2682;
show create table s;
Table Create Table
@@ -68556,7 +68556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2681;
show create table s;
Table Create Table
@@ -68564,7 +68564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2680;
show create table s;
Table Create Table
@@ -68572,7 +68572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2679;
show create table s;
Table Create Table
@@ -68580,7 +68580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2678;
show create table s;
Table Create Table
@@ -68588,7 +68588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2677;
show create table s;
Table Create Table
@@ -68596,7 +68596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2676;
show create table s;
Table Create Table
@@ -68604,7 +68604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2675;
show create table s;
Table Create Table
@@ -68612,7 +68612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2674;
show create table s;
Table Create Table
@@ -68620,7 +68620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2673;
show create table s;
Table Create Table
@@ -68628,7 +68628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2672;
show create table s;
Table Create Table
@@ -68636,7 +68636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2671;
show create table s;
Table Create Table
@@ -68644,7 +68644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2670;
show create table s;
Table Create Table
@@ -68652,7 +68652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2669;
show create table s;
Table Create Table
@@ -68660,7 +68660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2668;
show create table s;
Table Create Table
@@ -68668,7 +68668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2667;
show create table s;
Table Create Table
@@ -68676,7 +68676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2666;
show create table s;
Table Create Table
@@ -68684,7 +68684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2665;
show create table s;
Table Create Table
@@ -68692,7 +68692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2664;
show create table s;
Table Create Table
@@ -68700,7 +68700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2663;
show create table s;
Table Create Table
@@ -68708,7 +68708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2662;
show create table s;
Table Create Table
@@ -68716,7 +68716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2661;
show create table s;
Table Create Table
@@ -68724,7 +68724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2660;
show create table s;
Table Create Table
@@ -68732,7 +68732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2659;
show create table s;
Table Create Table
@@ -68740,7 +68740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2658;
show create table s;
Table Create Table
@@ -68748,7 +68748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2657;
show create table s;
Table Create Table
@@ -68756,7 +68756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2656;
show create table s;
Table Create Table
@@ -68764,7 +68764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2655;
show create table s;
Table Create Table
@@ -68772,7 +68772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2654;
show create table s;
Table Create Table
@@ -68780,7 +68780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2653;
show create table s;
Table Create Table
@@ -68788,7 +68788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2652;
show create table s;
Table Create Table
@@ -68796,7 +68796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2651;
show create table s;
Table Create Table
@@ -68804,7 +68804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2650;
show create table s;
Table Create Table
@@ -68812,7 +68812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2649;
show create table s;
Table Create Table
@@ -68820,7 +68820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2648;
show create table s;
Table Create Table
@@ -68828,7 +68828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2647;
show create table s;
Table Create Table
@@ -68836,7 +68836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2646;
show create table s;
Table Create Table
@@ -68844,7 +68844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2645;
show create table s;
Table Create Table
@@ -68852,7 +68852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2644;
show create table s;
Table Create Table
@@ -68860,7 +68860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2643;
show create table s;
Table Create Table
@@ -68868,7 +68868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2642;
show create table s;
Table Create Table
@@ -68876,7 +68876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2641;
show create table s;
Table Create Table
@@ -68884,7 +68884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2640;
show create table s;
Table Create Table
@@ -68892,7 +68892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2639;
show create table s;
Table Create Table
@@ -68900,7 +68900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2638;
show create table s;
Table Create Table
@@ -68908,7 +68908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2637;
show create table s;
Table Create Table
@@ -68916,7 +68916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2636;
show create table s;
Table Create Table
@@ -68924,7 +68924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2635;
show create table s;
Table Create Table
@@ -68932,7 +68932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2634;
show create table s;
Table Create Table
@@ -68940,7 +68940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2633;
show create table s;
Table Create Table
@@ -68948,7 +68948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2632;
show create table s;
Table Create Table
@@ -68956,7 +68956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2631;
show create table s;
Table Create Table
@@ -68964,7 +68964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2630;
show create table s;
Table Create Table
@@ -68972,7 +68972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2629;
show create table s;
Table Create Table
@@ -68980,7 +68980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2628;
show create table s;
Table Create Table
@@ -68988,7 +68988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2627;
show create table s;
Table Create Table
@@ -68996,7 +68996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2626;
show create table s;
Table Create Table
@@ -69004,7 +69004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2625;
show create table s;
Table Create Table
@@ -69012,7 +69012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2624;
show create table s;
Table Create Table
@@ -69020,7 +69020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2623;
show create table s;
Table Create Table
@@ -69028,7 +69028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2622;
show create table s;
Table Create Table
@@ -69036,7 +69036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2621;
show create table s;
Table Create Table
@@ -69044,7 +69044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2620;
show create table s;
Table Create Table
@@ -69052,7 +69052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2619;
show create table s;
Table Create Table
@@ -69060,7 +69060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2618;
show create table s;
Table Create Table
@@ -69068,7 +69068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2617;
show create table s;
Table Create Table
@@ -69076,7 +69076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2616;
show create table s;
Table Create Table
@@ -69084,7 +69084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2615;
show create table s;
Table Create Table
@@ -69092,7 +69092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2614;
show create table s;
Table Create Table
@@ -69100,7 +69100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2613;
show create table s;
Table Create Table
@@ -69108,7 +69108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2612;
show create table s;
Table Create Table
@@ -69116,7 +69116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2611;
show create table s;
Table Create Table
@@ -69124,7 +69124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2610;
show create table s;
Table Create Table
@@ -69132,7 +69132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2609;
show create table s;
Table Create Table
@@ -69140,7 +69140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2608;
show create table s;
Table Create Table
@@ -69148,7 +69148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2607;
show create table s;
Table Create Table
@@ -69156,7 +69156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2606;
show create table s;
Table Create Table
@@ -69164,7 +69164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2605;
show create table s;
Table Create Table
@@ -69172,7 +69172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2604;
show create table s;
Table Create Table
@@ -69180,7 +69180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2603;
show create table s;
Table Create Table
@@ -69188,7 +69188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2602;
show create table s;
Table Create Table
@@ -69196,7 +69196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2601;
show create table s;
Table Create Table
@@ -69204,7 +69204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2600;
show create table s;
Table Create Table
@@ -69212,7 +69212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2599;
show create table s;
Table Create Table
@@ -69220,7 +69220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2598;
show create table s;
Table Create Table
@@ -69228,7 +69228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2597;
show create table s;
Table Create Table
@@ -69236,7 +69236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2596;
show create table s;
Table Create Table
@@ -69244,7 +69244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2595;
show create table s;
Table Create Table
@@ -69252,7 +69252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2594;
show create table s;
Table Create Table
@@ -69260,7 +69260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2593;
show create table s;
Table Create Table
@@ -69268,7 +69268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2592;
show create table s;
Table Create Table
@@ -69276,7 +69276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2591;
show create table s;
Table Create Table
@@ -69284,7 +69284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2590;
show create table s;
Table Create Table
@@ -69292,7 +69292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2589;
show create table s;
Table Create Table
@@ -69300,7 +69300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2588;
show create table s;
Table Create Table
@@ -69308,7 +69308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2587;
show create table s;
Table Create Table
@@ -69316,7 +69316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2586;
show create table s;
Table Create Table
@@ -69324,7 +69324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2585;
show create table s;
Table Create Table
@@ -69332,7 +69332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2584;
show create table s;
Table Create Table
@@ -69340,7 +69340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2583;
show create table s;
Table Create Table
@@ -69348,7 +69348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2582;
show create table s;
Table Create Table
@@ -69356,7 +69356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2581;
show create table s;
Table Create Table
@@ -69364,7 +69364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2580;
show create table s;
Table Create Table
@@ -69372,7 +69372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2579;
show create table s;
Table Create Table
@@ -69380,7 +69380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2578;
show create table s;
Table Create Table
@@ -69388,7 +69388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2577;
show create table s;
Table Create Table
@@ -69396,7 +69396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2576;
show create table s;
Table Create Table
@@ -69404,7 +69404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2575;
show create table s;
Table Create Table
@@ -69412,7 +69412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2574;
show create table s;
Table Create Table
@@ -69420,7 +69420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2573;
show create table s;
Table Create Table
@@ -69428,7 +69428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2572;
show create table s;
Table Create Table
@@ -69436,7 +69436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2571;
show create table s;
Table Create Table
@@ -69444,7 +69444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2570;
show create table s;
Table Create Table
@@ -69452,7 +69452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2569;
show create table s;
Table Create Table
@@ -69460,7 +69460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2568;
show create table s;
Table Create Table
@@ -69468,7 +69468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2567;
show create table s;
Table Create Table
@@ -69476,7 +69476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2566;
show create table s;
Table Create Table
@@ -69484,7 +69484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2565;
show create table s;
Table Create Table
@@ -69492,7 +69492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2564;
show create table s;
Table Create Table
@@ -69500,7 +69500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2563;
show create table s;
Table Create Table
@@ -69508,7 +69508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2562;
show create table s;
Table Create Table
@@ -69516,7 +69516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2561;
show create table s;
Table Create Table
@@ -69524,7 +69524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2560;
show create table s;
Table Create Table
@@ -69532,7 +69532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2559;
show create table s;
Table Create Table
@@ -69540,7 +69540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2558;
show create table s;
Table Create Table
@@ -69548,7 +69548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2557;
show create table s;
Table Create Table
@@ -69556,7 +69556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2556;
show create table s;
Table Create Table
@@ -69564,7 +69564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2555;
show create table s;
Table Create Table
@@ -69572,7 +69572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2554;
show create table s;
Table Create Table
@@ -69580,7 +69580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2553;
show create table s;
Table Create Table
@@ -69588,7 +69588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2552;
show create table s;
Table Create Table
@@ -69596,7 +69596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2551;
show create table s;
Table Create Table
@@ -69604,7 +69604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2550;
show create table s;
Table Create Table
@@ -69612,7 +69612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2549;
show create table s;
Table Create Table
@@ -69620,7 +69620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2548;
show create table s;
Table Create Table
@@ -69628,7 +69628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2547;
show create table s;
Table Create Table
@@ -69636,7 +69636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2546;
show create table s;
Table Create Table
@@ -69644,7 +69644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2545;
show create table s;
Table Create Table
@@ -69652,7 +69652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2544;
show create table s;
Table Create Table
@@ -69660,7 +69660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2543;
show create table s;
Table Create Table
@@ -69668,7 +69668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2542;
show create table s;
Table Create Table
@@ -69676,7 +69676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2541;
show create table s;
Table Create Table
@@ -69684,7 +69684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2540;
show create table s;
Table Create Table
@@ -69692,7 +69692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2539;
show create table s;
Table Create Table
@@ -69700,7 +69700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2538;
show create table s;
Table Create Table
@@ -69708,7 +69708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2537;
show create table s;
Table Create Table
@@ -69716,7 +69716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2536;
show create table s;
Table Create Table
@@ -69724,7 +69724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2535;
show create table s;
Table Create Table
@@ -69732,7 +69732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2534;
show create table s;
Table Create Table
@@ -69740,7 +69740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2533;
show create table s;
Table Create Table
@@ -69748,7 +69748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2532;
show create table s;
Table Create Table
@@ -69756,7 +69756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2531;
show create table s;
Table Create Table
@@ -69764,7 +69764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2530;
show create table s;
Table Create Table
@@ -69772,7 +69772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2529;
show create table s;
Table Create Table
@@ -69780,7 +69780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2528;
show create table s;
Table Create Table
@@ -69788,7 +69788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2527;
show create table s;
Table Create Table
@@ -69796,7 +69796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2526;
show create table s;
Table Create Table
@@ -69804,7 +69804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2525;
show create table s;
Table Create Table
@@ -69812,7 +69812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2524;
show create table s;
Table Create Table
@@ -69820,7 +69820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2523;
show create table s;
Table Create Table
@@ -69828,7 +69828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2522;
show create table s;
Table Create Table
@@ -69836,7 +69836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2521;
show create table s;
Table Create Table
@@ -69844,7 +69844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2520;
show create table s;
Table Create Table
@@ -69852,7 +69852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2519;
show create table s;
Table Create Table
@@ -69860,7 +69860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2518;
show create table s;
Table Create Table
@@ -69868,7 +69868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2517;
show create table s;
Table Create Table
@@ -69876,7 +69876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2516;
show create table s;
Table Create Table
@@ -69884,7 +69884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2515;
show create table s;
Table Create Table
@@ -69892,7 +69892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2514;
show create table s;
Table Create Table
@@ -69900,7 +69900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2513;
show create table s;
Table Create Table
@@ -69908,7 +69908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2512;
show create table s;
Table Create Table
@@ -69916,7 +69916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2511;
show create table s;
Table Create Table
@@ -69924,7 +69924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2510;
show create table s;
Table Create Table
@@ -69932,7 +69932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2509;
show create table s;
Table Create Table
@@ -69940,7 +69940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2508;
show create table s;
Table Create Table
@@ -69948,7 +69948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2507;
show create table s;
Table Create Table
@@ -69956,7 +69956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2506;
show create table s;
Table Create Table
@@ -69964,7 +69964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2505;
show create table s;
Table Create Table
@@ -69972,7 +69972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2504;
show create table s;
Table Create Table
@@ -69980,7 +69980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2503;
show create table s;
Table Create Table
@@ -69988,7 +69988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2502;
show create table s;
Table Create Table
@@ -69996,7 +69996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2501;
show create table s;
Table Create Table
@@ -70004,7 +70004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2500;
show create table s;
Table Create Table
@@ -70012,7 +70012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2499;
show create table s;
Table Create Table
@@ -70020,7 +70020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2498;
show create table s;
Table Create Table
@@ -70028,7 +70028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2497;
show create table s;
Table Create Table
@@ -70036,7 +70036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2496;
show create table s;
Table Create Table
@@ -70044,7 +70044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2495;
show create table s;
Table Create Table
@@ -70052,7 +70052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2494;
show create table s;
Table Create Table
@@ -70060,7 +70060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2493;
show create table s;
Table Create Table
@@ -70068,7 +70068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2492;
show create table s;
Table Create Table
@@ -70076,7 +70076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2491;
show create table s;
Table Create Table
@@ -70084,7 +70084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2490;
show create table s;
Table Create Table
@@ -70092,7 +70092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2489;
show create table s;
Table Create Table
@@ -70100,7 +70100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2488;
show create table s;
Table Create Table
@@ -70108,7 +70108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2487;
show create table s;
Table Create Table
@@ -70116,7 +70116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2486;
show create table s;
Table Create Table
@@ -70124,7 +70124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2485;
show create table s;
Table Create Table
@@ -70132,7 +70132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2484;
show create table s;
Table Create Table
@@ -70140,7 +70140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2483;
show create table s;
Table Create Table
@@ -70148,7 +70148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2482;
show create table s;
Table Create Table
@@ -70156,7 +70156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2481;
show create table s;
Table Create Table
@@ -70164,7 +70164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2480;
show create table s;
Table Create Table
@@ -70172,7 +70172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2479;
show create table s;
Table Create Table
@@ -70180,7 +70180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2478;
show create table s;
Table Create Table
@@ -70188,7 +70188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2477;
show create table s;
Table Create Table
@@ -70196,7 +70196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2476;
show create table s;
Table Create Table
@@ -70204,7 +70204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2475;
show create table s;
Table Create Table
@@ -70212,7 +70212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2474;
show create table s;
Table Create Table
@@ -70220,7 +70220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2473;
show create table s;
Table Create Table
@@ -70228,7 +70228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2472;
show create table s;
Table Create Table
@@ -70236,7 +70236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2471;
show create table s;
Table Create Table
@@ -70244,7 +70244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2470;
show create table s;
Table Create Table
@@ -70252,7 +70252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2469;
show create table s;
Table Create Table
@@ -70260,7 +70260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2468;
show create table s;
Table Create Table
@@ -70268,7 +70268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2467;
show create table s;
Table Create Table
@@ -70276,7 +70276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2466;
show create table s;
Table Create Table
@@ -70284,7 +70284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2465;
show create table s;
Table Create Table
@@ -70292,7 +70292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2464;
show create table s;
Table Create Table
@@ -70300,7 +70300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2463;
show create table s;
Table Create Table
@@ -70308,7 +70308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2462;
show create table s;
Table Create Table
@@ -70316,7 +70316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2461;
show create table s;
Table Create Table
@@ -70324,7 +70324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2460;
show create table s;
Table Create Table
@@ -70332,7 +70332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2459;
show create table s;
Table Create Table
@@ -70340,7 +70340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2458;
show create table s;
Table Create Table
@@ -70348,7 +70348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2457;
show create table s;
Table Create Table
@@ -70356,7 +70356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2456;
show create table s;
Table Create Table
@@ -70364,7 +70364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2455;
show create table s;
Table Create Table
@@ -70372,7 +70372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2454;
show create table s;
Table Create Table
@@ -70380,7 +70380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2453;
show create table s;
Table Create Table
@@ -70388,7 +70388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2452;
show create table s;
Table Create Table
@@ -70396,7 +70396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2451;
show create table s;
Table Create Table
@@ -70404,7 +70404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2450;
show create table s;
Table Create Table
@@ -70412,7 +70412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2449;
show create table s;
Table Create Table
@@ -70420,7 +70420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2448;
show create table s;
Table Create Table
@@ -70428,7 +70428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2447;
show create table s;
Table Create Table
@@ -70436,7 +70436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2446;
show create table s;
Table Create Table
@@ -70444,7 +70444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2445;
show create table s;
Table Create Table
@@ -70452,7 +70452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2444;
show create table s;
Table Create Table
@@ -70460,7 +70460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2443;
show create table s;
Table Create Table
@@ -70468,7 +70468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2442;
show create table s;
Table Create Table
@@ -70476,7 +70476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2441;
show create table s;
Table Create Table
@@ -70484,7 +70484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2440;
show create table s;
Table Create Table
@@ -70492,7 +70492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2439;
show create table s;
Table Create Table
@@ -70500,7 +70500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2438;
show create table s;
Table Create Table
@@ -70508,7 +70508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2437;
show create table s;
Table Create Table
@@ -70516,7 +70516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2436;
show create table s;
Table Create Table
@@ -70524,7 +70524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2435;
show create table s;
Table Create Table
@@ -70532,7 +70532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2434;
show create table s;
Table Create Table
@@ -70540,7 +70540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2433;
show create table s;
Table Create Table
@@ -70548,7 +70548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2432;
show create table s;
Table Create Table
@@ -70556,7 +70556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2431;
show create table s;
Table Create Table
@@ -70564,7 +70564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2430;
show create table s;
Table Create Table
@@ -70572,7 +70572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2429;
show create table s;
Table Create Table
@@ -70580,7 +70580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2428;
show create table s;
Table Create Table
@@ -70588,7 +70588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2427;
show create table s;
Table Create Table
@@ -70596,7 +70596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2426;
show create table s;
Table Create Table
@@ -70604,7 +70604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2425;
show create table s;
Table Create Table
@@ -70612,7 +70612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2424;
show create table s;
Table Create Table
@@ -70620,7 +70620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2423;
show create table s;
Table Create Table
@@ -70628,7 +70628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2422;
show create table s;
Table Create Table
@@ -70636,7 +70636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2421;
show create table s;
Table Create Table
@@ -70644,7 +70644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2420;
show create table s;
Table Create Table
@@ -70652,7 +70652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2419;
show create table s;
Table Create Table
@@ -70660,7 +70660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2418;
show create table s;
Table Create Table
@@ -70668,7 +70668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2417;
show create table s;
Table Create Table
@@ -70676,7 +70676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2416;
show create table s;
Table Create Table
@@ -70684,7 +70684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2415;
show create table s;
Table Create Table
@@ -70692,7 +70692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2414;
show create table s;
Table Create Table
@@ -70700,7 +70700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2413;
show create table s;
Table Create Table
@@ -70708,7 +70708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2412;
show create table s;
Table Create Table
@@ -70716,7 +70716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2411;
show create table s;
Table Create Table
@@ -70724,7 +70724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2410;
show create table s;
Table Create Table
@@ -70732,7 +70732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2409;
show create table s;
Table Create Table
@@ -70740,7 +70740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2408;
show create table s;
Table Create Table
@@ -70748,7 +70748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2407;
show create table s;
Table Create Table
@@ -70756,7 +70756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2406;
show create table s;
Table Create Table
@@ -70764,7 +70764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2405;
show create table s;
Table Create Table
@@ -70772,7 +70772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2404;
show create table s;
Table Create Table
@@ -70780,7 +70780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2403;
show create table s;
Table Create Table
@@ -70788,7 +70788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2402;
show create table s;
Table Create Table
@@ -70796,7 +70796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2401;
show create table s;
Table Create Table
@@ -70804,7 +70804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2400;
show create table s;
Table Create Table
@@ -70812,7 +70812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2399;
show create table s;
Table Create Table
@@ -70820,7 +70820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2398;
show create table s;
Table Create Table
@@ -70828,7 +70828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2397;
show create table s;
Table Create Table
@@ -70836,7 +70836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2396;
show create table s;
Table Create Table
@@ -70844,7 +70844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2395;
show create table s;
Table Create Table
@@ -70852,7 +70852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2394;
show create table s;
Table Create Table
@@ -70860,7 +70860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2393;
show create table s;
Table Create Table
@@ -70868,7 +70868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2392;
show create table s;
Table Create Table
@@ -70876,7 +70876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2391;
show create table s;
Table Create Table
@@ -70884,7 +70884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2390;
show create table s;
Table Create Table
@@ -70892,7 +70892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2389;
show create table s;
Table Create Table
@@ -70900,7 +70900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2388;
show create table s;
Table Create Table
@@ -70908,7 +70908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2387;
show create table s;
Table Create Table
@@ -70916,7 +70916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2386;
show create table s;
Table Create Table
@@ -70924,7 +70924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2385;
show create table s;
Table Create Table
@@ -70932,7 +70932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2384;
show create table s;
Table Create Table
@@ -70940,7 +70940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2383;
show create table s;
Table Create Table
@@ -70948,7 +70948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2382;
show create table s;
Table Create Table
@@ -70956,7 +70956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2381;
show create table s;
Table Create Table
@@ -70964,7 +70964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2380;
show create table s;
Table Create Table
@@ -70972,7 +70972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2379;
show create table s;
Table Create Table
@@ -70980,7 +70980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2378;
show create table s;
Table Create Table
@@ -70988,7 +70988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2377;
show create table s;
Table Create Table
@@ -70996,7 +70996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2376;
show create table s;
Table Create Table
@@ -71004,7 +71004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2375;
show create table s;
Table Create Table
@@ -71012,7 +71012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2374;
show create table s;
Table Create Table
@@ -71020,7 +71020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2373;
show create table s;
Table Create Table
@@ -71028,7 +71028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2372;
show create table s;
Table Create Table
@@ -71036,7 +71036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2371;
show create table s;
Table Create Table
@@ -71044,7 +71044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2370;
show create table s;
Table Create Table
@@ -71052,7 +71052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2369;
show create table s;
Table Create Table
@@ -71060,7 +71060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2368;
show create table s;
Table Create Table
@@ -71068,7 +71068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2367;
show create table s;
Table Create Table
@@ -71076,7 +71076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2366;
show create table s;
Table Create Table
@@ -71084,7 +71084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2365;
show create table s;
Table Create Table
@@ -71092,7 +71092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2364;
show create table s;
Table Create Table
@@ -71100,7 +71100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2363;
show create table s;
Table Create Table
@@ -71108,7 +71108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2362;
show create table s;
Table Create Table
@@ -71116,7 +71116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2361;
show create table s;
Table Create Table
@@ -71124,7 +71124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2360;
show create table s;
Table Create Table
@@ -71132,7 +71132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2359;
show create table s;
Table Create Table
@@ -71140,7 +71140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2358;
show create table s;
Table Create Table
@@ -71148,7 +71148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2357;
show create table s;
Table Create Table
@@ -71156,7 +71156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2356;
show create table s;
Table Create Table
@@ -71164,7 +71164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2355;
show create table s;
Table Create Table
@@ -71172,7 +71172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2354;
show create table s;
Table Create Table
@@ -71180,7 +71180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2353;
show create table s;
Table Create Table
@@ -71188,7 +71188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2352;
show create table s;
Table Create Table
@@ -71196,7 +71196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2351;
show create table s;
Table Create Table
@@ -71204,7 +71204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2350;
show create table s;
Table Create Table
@@ -71212,7 +71212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2349;
show create table s;
Table Create Table
@@ -71220,7 +71220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2348;
show create table s;
Table Create Table
@@ -71228,7 +71228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2347;
show create table s;
Table Create Table
@@ -71236,7 +71236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2346;
show create table s;
Table Create Table
@@ -71244,7 +71244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2345;
show create table s;
Table Create Table
@@ -71252,7 +71252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2344;
show create table s;
Table Create Table
@@ -71260,7 +71260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2343;
show create table s;
Table Create Table
@@ -71268,7 +71268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2342;
show create table s;
Table Create Table
@@ -71276,7 +71276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2341;
show create table s;
Table Create Table
@@ -71284,7 +71284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2340;
show create table s;
Table Create Table
@@ -71292,7 +71292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2339;
show create table s;
Table Create Table
@@ -71300,7 +71300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2338;
show create table s;
Table Create Table
@@ -71308,7 +71308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2337;
show create table s;
Table Create Table
@@ -71316,7 +71316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2336;
show create table s;
Table Create Table
@@ -71324,7 +71324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2335;
show create table s;
Table Create Table
@@ -71332,7 +71332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2334;
show create table s;
Table Create Table
@@ -71340,7 +71340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2333;
show create table s;
Table Create Table
@@ -71348,7 +71348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2332;
show create table s;
Table Create Table
@@ -71356,7 +71356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2331;
show create table s;
Table Create Table
@@ -71364,7 +71364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2330;
show create table s;
Table Create Table
@@ -71372,7 +71372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2329;
show create table s;
Table Create Table
@@ -71380,7 +71380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2328;
show create table s;
Table Create Table
@@ -71388,7 +71388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2327;
show create table s;
Table Create Table
@@ -71396,7 +71396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2326;
show create table s;
Table Create Table
@@ -71404,7 +71404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2325;
show create table s;
Table Create Table
@@ -71412,7 +71412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2324;
show create table s;
Table Create Table
@@ -71420,7 +71420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2323;
show create table s;
Table Create Table
@@ -71428,7 +71428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2322;
show create table s;
Table Create Table
@@ -71436,7 +71436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2321;
show create table s;
Table Create Table
@@ -71444,7 +71444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2320;
show create table s;
Table Create Table
@@ -71452,7 +71452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2319;
show create table s;
Table Create Table
@@ -71460,7 +71460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2318;
show create table s;
Table Create Table
@@ -71468,7 +71468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2317;
show create table s;
Table Create Table
@@ -71476,7 +71476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2316;
show create table s;
Table Create Table
@@ -71484,7 +71484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2315;
show create table s;
Table Create Table
@@ -71492,7 +71492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2314;
show create table s;
Table Create Table
@@ -71500,7 +71500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2313;
show create table s;
Table Create Table
@@ -71508,7 +71508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2312;
show create table s;
Table Create Table
@@ -71516,7 +71516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2311;
show create table s;
Table Create Table
@@ -71524,7 +71524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2310;
show create table s;
Table Create Table
@@ -71532,7 +71532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2309;
show create table s;
Table Create Table
@@ -71540,7 +71540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2308;
show create table s;
Table Create Table
@@ -71548,7 +71548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2307;
show create table s;
Table Create Table
@@ -71556,7 +71556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2306;
show create table s;
Table Create Table
@@ -71564,7 +71564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2305;
show create table s;
Table Create Table
@@ -71572,7 +71572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2304;
show create table s;
Table Create Table
@@ -71580,7 +71580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2303;
show create table s;
Table Create Table
@@ -71588,7 +71588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2302;
show create table s;
Table Create Table
@@ -71596,7 +71596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2301;
show create table s;
Table Create Table
@@ -71604,7 +71604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2300;
show create table s;
Table Create Table
@@ -71612,7 +71612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2299;
show create table s;
Table Create Table
@@ -71620,7 +71620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2298;
show create table s;
Table Create Table
@@ -71628,7 +71628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2297;
show create table s;
Table Create Table
@@ -71636,7 +71636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2296;
show create table s;
Table Create Table
@@ -71644,7 +71644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2295;
show create table s;
Table Create Table
@@ -71652,7 +71652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2294;
show create table s;
Table Create Table
@@ -71660,7 +71660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2293;
show create table s;
Table Create Table
@@ -71668,7 +71668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2292;
show create table s;
Table Create Table
@@ -71676,7 +71676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2291;
show create table s;
Table Create Table
@@ -71684,7 +71684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2290;
show create table s;
Table Create Table
@@ -71692,7 +71692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2289;
show create table s;
Table Create Table
@@ -71700,7 +71700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2288;
show create table s;
Table Create Table
@@ -71708,7 +71708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2287;
show create table s;
Table Create Table
@@ -71716,7 +71716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2286;
show create table s;
Table Create Table
@@ -71724,7 +71724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2285;
show create table s;
Table Create Table
@@ -71732,7 +71732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2284;
show create table s;
Table Create Table
@@ -71740,7 +71740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2283;
show create table s;
Table Create Table
@@ -71748,7 +71748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2282;
show create table s;
Table Create Table
@@ -71756,7 +71756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2281;
show create table s;
Table Create Table
@@ -71764,7 +71764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2280;
show create table s;
Table Create Table
@@ -71772,7 +71772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2279;
show create table s;
Table Create Table
@@ -71780,7 +71780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2278;
show create table s;
Table Create Table
@@ -71788,7 +71788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2277;
show create table s;
Table Create Table
@@ -71796,7 +71796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2276;
show create table s;
Table Create Table
@@ -71804,7 +71804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2275;
show create table s;
Table Create Table
@@ -71812,7 +71812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2274;
show create table s;
Table Create Table
@@ -71820,7 +71820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2273;
show create table s;
Table Create Table
@@ -71828,7 +71828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2272;
show create table s;
Table Create Table
@@ -71836,7 +71836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2271;
show create table s;
Table Create Table
@@ -71844,7 +71844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2270;
show create table s;
Table Create Table
@@ -71852,7 +71852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2269;
show create table s;
Table Create Table
@@ -71860,7 +71860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2268;
show create table s;
Table Create Table
@@ -71868,7 +71868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2267;
show create table s;
Table Create Table
@@ -71876,7 +71876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2266;
show create table s;
Table Create Table
@@ -71884,7 +71884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2265;
show create table s;
Table Create Table
@@ -71892,7 +71892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2264;
show create table s;
Table Create Table
@@ -71900,7 +71900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2263;
show create table s;
Table Create Table
@@ -71908,7 +71908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2262;
show create table s;
Table Create Table
@@ -71916,7 +71916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2261;
show create table s;
Table Create Table
@@ -71924,7 +71924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2260;
show create table s;
Table Create Table
@@ -71932,7 +71932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2259;
show create table s;
Table Create Table
@@ -71940,7 +71940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2258;
show create table s;
Table Create Table
@@ -71948,7 +71948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2257;
show create table s;
Table Create Table
@@ -71956,7 +71956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2256;
show create table s;
Table Create Table
@@ -71964,7 +71964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2255;
show create table s;
Table Create Table
@@ -71972,7 +71972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2254;
show create table s;
Table Create Table
@@ -71980,7 +71980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2253;
show create table s;
Table Create Table
@@ -71988,7 +71988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2252;
show create table s;
Table Create Table
@@ -71996,7 +71996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2251;
show create table s;
Table Create Table
@@ -72004,7 +72004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2250;
show create table s;
Table Create Table
@@ -72012,7 +72012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2249;
show create table s;
Table Create Table
@@ -72020,7 +72020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2248;
show create table s;
Table Create Table
@@ -72028,7 +72028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2247;
show create table s;
Table Create Table
@@ -72036,7 +72036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2246;
show create table s;
Table Create Table
@@ -72044,7 +72044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2245;
show create table s;
Table Create Table
@@ -72052,7 +72052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2244;
show create table s;
Table Create Table
@@ -72060,7 +72060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2243;
show create table s;
Table Create Table
@@ -72068,7 +72068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2242;
show create table s;
Table Create Table
@@ -72076,7 +72076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2241;
show create table s;
Table Create Table
@@ -72084,7 +72084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2240;
show create table s;
Table Create Table
@@ -72092,7 +72092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2239;
show create table s;
Table Create Table
@@ -72100,7 +72100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2238;
show create table s;
Table Create Table
@@ -72108,7 +72108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2237;
show create table s;
Table Create Table
@@ -72116,7 +72116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2236;
show create table s;
Table Create Table
@@ -72124,7 +72124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2235;
show create table s;
Table Create Table
@@ -72132,7 +72132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2234;
show create table s;
Table Create Table
@@ -72140,7 +72140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2233;
show create table s;
Table Create Table
@@ -72148,7 +72148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2232;
show create table s;
Table Create Table
@@ -72156,7 +72156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2231;
show create table s;
Table Create Table
@@ -72164,7 +72164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2230;
show create table s;
Table Create Table
@@ -72172,7 +72172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2229;
show create table s;
Table Create Table
@@ -72180,7 +72180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2228;
show create table s;
Table Create Table
@@ -72188,7 +72188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2227;
show create table s;
Table Create Table
@@ -72196,7 +72196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2226;
show create table s;
Table Create Table
@@ -72204,7 +72204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2225;
show create table s;
Table Create Table
@@ -72212,7 +72212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2224;
show create table s;
Table Create Table
@@ -72220,7 +72220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2223;
show create table s;
Table Create Table
@@ -72228,7 +72228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2222;
show create table s;
Table Create Table
@@ -72236,7 +72236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2221;
show create table s;
Table Create Table
@@ -72244,7 +72244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2220;
show create table s;
Table Create Table
@@ -72252,7 +72252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2219;
show create table s;
Table Create Table
@@ -72260,7 +72260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2218;
show create table s;
Table Create Table
@@ -72268,7 +72268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2217;
show create table s;
Table Create Table
@@ -72276,7 +72276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2216;
show create table s;
Table Create Table
@@ -72284,7 +72284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2215;
show create table s;
Table Create Table
@@ -72292,7 +72292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2214;
show create table s;
Table Create Table
@@ -72300,7 +72300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2213;
show create table s;
Table Create Table
@@ -72308,7 +72308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2212;
show create table s;
Table Create Table
@@ -72316,7 +72316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2211;
show create table s;
Table Create Table
@@ -72324,7 +72324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2210;
show create table s;
Table Create Table
@@ -72332,7 +72332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2209;
show create table s;
Table Create Table
@@ -72340,7 +72340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2208;
show create table s;
Table Create Table
@@ -72348,7 +72348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2207;
show create table s;
Table Create Table
@@ -72356,7 +72356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2206;
show create table s;
Table Create Table
@@ -72364,7 +72364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2205;
show create table s;
Table Create Table
@@ -72372,7 +72372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2204;
show create table s;
Table Create Table
@@ -72380,7 +72380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2203;
show create table s;
Table Create Table
@@ -72388,7 +72388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2202;
show create table s;
Table Create Table
@@ -72396,7 +72396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2201;
show create table s;
Table Create Table
@@ -72404,7 +72404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2200;
show create table s;
Table Create Table
@@ -72412,7 +72412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2199;
show create table s;
Table Create Table
@@ -72420,7 +72420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2198;
show create table s;
Table Create Table
@@ -72428,7 +72428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2197;
show create table s;
Table Create Table
@@ -72436,7 +72436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2196;
show create table s;
Table Create Table
@@ -72444,7 +72444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2195;
show create table s;
Table Create Table
@@ -72452,7 +72452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2194;
show create table s;
Table Create Table
@@ -72460,7 +72460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2193;
show create table s;
Table Create Table
@@ -72468,7 +72468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2192;
show create table s;
Table Create Table
@@ -72476,7 +72476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2191;
show create table s;
Table Create Table
@@ -72484,7 +72484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2190;
show create table s;
Table Create Table
@@ -72492,7 +72492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2189;
show create table s;
Table Create Table
@@ -72500,7 +72500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2188;
show create table s;
Table Create Table
@@ -72508,7 +72508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2187;
show create table s;
Table Create Table
@@ -72516,7 +72516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2186;
show create table s;
Table Create Table
@@ -72524,7 +72524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2185;
show create table s;
Table Create Table
@@ -72532,7 +72532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2184;
show create table s;
Table Create Table
@@ -72540,7 +72540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2183;
show create table s;
Table Create Table
@@ -72548,7 +72548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2182;
show create table s;
Table Create Table
@@ -72556,7 +72556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2181;
show create table s;
Table Create Table
@@ -72564,7 +72564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2180;
show create table s;
Table Create Table
@@ -72572,7 +72572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2179;
show create table s;
Table Create Table
@@ -72580,7 +72580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2178;
show create table s;
Table Create Table
@@ -72588,7 +72588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2177;
show create table s;
Table Create Table
@@ -72596,7 +72596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2176;
show create table s;
Table Create Table
@@ -72604,7 +72604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2175;
show create table s;
Table Create Table
@@ -72612,7 +72612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2174;
show create table s;
Table Create Table
@@ -72620,7 +72620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2173;
show create table s;
Table Create Table
@@ -72628,7 +72628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2172;
show create table s;
Table Create Table
@@ -72636,7 +72636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2171;
show create table s;
Table Create Table
@@ -72644,7 +72644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2170;
show create table s;
Table Create Table
@@ -72652,7 +72652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2169;
show create table s;
Table Create Table
@@ -72660,7 +72660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2168;
show create table s;
Table Create Table
@@ -72668,7 +72668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2167;
show create table s;
Table Create Table
@@ -72676,7 +72676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2166;
show create table s;
Table Create Table
@@ -72684,7 +72684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2165;
show create table s;
Table Create Table
@@ -72692,7 +72692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2164;
show create table s;
Table Create Table
@@ -72700,7 +72700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2163;
show create table s;
Table Create Table
@@ -72708,7 +72708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2162;
show create table s;
Table Create Table
@@ -72716,7 +72716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2161;
show create table s;
Table Create Table
@@ -72724,7 +72724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2160;
show create table s;
Table Create Table
@@ -72732,7 +72732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2159;
show create table s;
Table Create Table
@@ -72740,7 +72740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2158;
show create table s;
Table Create Table
@@ -72748,7 +72748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2157;
show create table s;
Table Create Table
@@ -72756,7 +72756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2156;
show create table s;
Table Create Table
@@ -72764,7 +72764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2155;
show create table s;
Table Create Table
@@ -72772,7 +72772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2154;
show create table s;
Table Create Table
@@ -72780,7 +72780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2153;
show create table s;
Table Create Table
@@ -72788,7 +72788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2152;
show create table s;
Table Create Table
@@ -72796,7 +72796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2151;
show create table s;
Table Create Table
@@ -72804,7 +72804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2150;
show create table s;
Table Create Table
@@ -72812,7 +72812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2149;
show create table s;
Table Create Table
@@ -72820,7 +72820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2148;
show create table s;
Table Create Table
@@ -72828,7 +72828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2147;
show create table s;
Table Create Table
@@ -72836,7 +72836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2146;
show create table s;
Table Create Table
@@ -72844,7 +72844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2145;
show create table s;
Table Create Table
@@ -72852,7 +72852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2144;
show create table s;
Table Create Table
@@ -72860,7 +72860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2143;
show create table s;
Table Create Table
@@ -72868,7 +72868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2142;
show create table s;
Table Create Table
@@ -72876,7 +72876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2141;
show create table s;
Table Create Table
@@ -72884,7 +72884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2140;
show create table s;
Table Create Table
@@ -72892,7 +72892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2139;
show create table s;
Table Create Table
@@ -72900,7 +72900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2138;
show create table s;
Table Create Table
@@ -72908,7 +72908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2137;
show create table s;
Table Create Table
@@ -72916,7 +72916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2136;
show create table s;
Table Create Table
@@ -72924,7 +72924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2135;
show create table s;
Table Create Table
@@ -72932,7 +72932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2134;
show create table s;
Table Create Table
@@ -72940,7 +72940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2133;
show create table s;
Table Create Table
@@ -72948,7 +72948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2132;
show create table s;
Table Create Table
@@ -72956,7 +72956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2131;
show create table s;
Table Create Table
@@ -72964,7 +72964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2130;
show create table s;
Table Create Table
@@ -72972,7 +72972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2129;
show create table s;
Table Create Table
@@ -72980,7 +72980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2128;
show create table s;
Table Create Table
@@ -72988,7 +72988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2127;
show create table s;
Table Create Table
@@ -72996,7 +72996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2126;
show create table s;
Table Create Table
@@ -73004,7 +73004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2125;
show create table s;
Table Create Table
@@ -73012,7 +73012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2124;
show create table s;
Table Create Table
@@ -73020,7 +73020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2123;
show create table s;
Table Create Table
@@ -73028,7 +73028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2122;
show create table s;
Table Create Table
@@ -73036,7 +73036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2121;
show create table s;
Table Create Table
@@ -73044,7 +73044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2120;
show create table s;
Table Create Table
@@ -73052,7 +73052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2119;
show create table s;
Table Create Table
@@ -73060,7 +73060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2118;
show create table s;
Table Create Table
@@ -73068,7 +73068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2117;
show create table s;
Table Create Table
@@ -73076,7 +73076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2116;
show create table s;
Table Create Table
@@ -73084,7 +73084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2115;
show create table s;
Table Create Table
@@ -73092,7 +73092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2114;
show create table s;
Table Create Table
@@ -73100,7 +73100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2113;
show create table s;
Table Create Table
@@ -73108,7 +73108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2112;
show create table s;
Table Create Table
@@ -73116,7 +73116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2111;
show create table s;
Table Create Table
@@ -73124,7 +73124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2110;
show create table s;
Table Create Table
@@ -73132,7 +73132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2109;
show create table s;
Table Create Table
@@ -73140,7 +73140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2108;
show create table s;
Table Create Table
@@ -73148,7 +73148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2107;
show create table s;
Table Create Table
@@ -73156,7 +73156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2106;
show create table s;
Table Create Table
@@ -73164,7 +73164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2105;
show create table s;
Table Create Table
@@ -73172,7 +73172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2104;
show create table s;
Table Create Table
@@ -73180,7 +73180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2103;
show create table s;
Table Create Table
@@ -73188,7 +73188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2102;
show create table s;
Table Create Table
@@ -73196,7 +73196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2101;
show create table s;
Table Create Table
@@ -73204,7 +73204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2100;
show create table s;
Table Create Table
@@ -73212,7 +73212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2099;
show create table s;
Table Create Table
@@ -73220,7 +73220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2098;
show create table s;
Table Create Table
@@ -73228,7 +73228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2097;
show create table s;
Table Create Table
@@ -73236,7 +73236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2096;
show create table s;
Table Create Table
@@ -73244,7 +73244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2095;
show create table s;
Table Create Table
@@ -73252,7 +73252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2094;
show create table s;
Table Create Table
@@ -73260,7 +73260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2093;
show create table s;
Table Create Table
@@ -73268,7 +73268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2092;
show create table s;
Table Create Table
@@ -73276,7 +73276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2091;
show create table s;
Table Create Table
@@ -73284,7 +73284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2090;
show create table s;
Table Create Table
@@ -73292,7 +73292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2089;
show create table s;
Table Create Table
@@ -73300,7 +73300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2088;
show create table s;
Table Create Table
@@ -73308,7 +73308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2087;
show create table s;
Table Create Table
@@ -73316,7 +73316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2086;
show create table s;
Table Create Table
@@ -73324,7 +73324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2085;
show create table s;
Table Create Table
@@ -73332,7 +73332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2084;
show create table s;
Table Create Table
@@ -73340,7 +73340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2083;
show create table s;
Table Create Table
@@ -73348,7 +73348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2082;
show create table s;
Table Create Table
@@ -73356,7 +73356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2081;
show create table s;
Table Create Table
@@ -73364,7 +73364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2080;
show create table s;
Table Create Table
@@ -73372,7 +73372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2079;
show create table s;
Table Create Table
@@ -73380,7 +73380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2078;
show create table s;
Table Create Table
@@ -73388,7 +73388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2077;
show create table s;
Table Create Table
@@ -73396,7 +73396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2076;
show create table s;
Table Create Table
@@ -73404,7 +73404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2075;
show create table s;
Table Create Table
@@ -73412,7 +73412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2074;
show create table s;
Table Create Table
@@ -73420,7 +73420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2073;
show create table s;
Table Create Table
@@ -73428,7 +73428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2072;
show create table s;
Table Create Table
@@ -73436,7 +73436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2071;
show create table s;
Table Create Table
@@ -73444,7 +73444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2070;
show create table s;
Table Create Table
@@ -73452,7 +73452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2069;
show create table s;
Table Create Table
@@ -73460,7 +73460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2068;
show create table s;
Table Create Table
@@ -73468,7 +73468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2067;
show create table s;
Table Create Table
@@ -73476,7 +73476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2066;
show create table s;
Table Create Table
@@ -73484,7 +73484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2065;
show create table s;
Table Create Table
@@ -73492,7 +73492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2064;
show create table s;
Table Create Table
@@ -73500,7 +73500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2063;
show create table s;
Table Create Table
@@ -73508,7 +73508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2062;
show create table s;
Table Create Table
@@ -73516,7 +73516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2061;
show create table s;
Table Create Table
@@ -73524,7 +73524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2060;
show create table s;
Table Create Table
@@ -73532,7 +73532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2059;
show create table s;
Table Create Table
@@ -73540,7 +73540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2058;
show create table s;
Table Create Table
@@ -73548,7 +73548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2057;
show create table s;
Table Create Table
@@ -73556,7 +73556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2056;
show create table s;
Table Create Table
@@ -73564,7 +73564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2055;
show create table s;
Table Create Table
@@ -73572,7 +73572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2054;
show create table s;
Table Create Table
@@ -73580,7 +73580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2053;
show create table s;
Table Create Table
@@ -73588,7 +73588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2052;
show create table s;
Table Create Table
@@ -73596,7 +73596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2051;
show create table s;
Table Create Table
@@ -73604,7 +73604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2050;
show create table s;
Table Create Table
@@ -73612,7 +73612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2049;
show create table s;
Table Create Table
@@ -73620,7 +73620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2048;
show create table s;
Table Create Table
@@ -73628,7 +73628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2047;
show create table s;
Table Create Table
@@ -73636,7 +73636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2046;
show create table s;
Table Create Table
@@ -73644,7 +73644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2045;
show create table s;
Table Create Table
@@ -73652,7 +73652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2044;
show create table s;
Table Create Table
@@ -73660,7 +73660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2043;
show create table s;
Table Create Table
@@ -73668,7 +73668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2042;
show create table s;
Table Create Table
@@ -73676,7 +73676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2041;
show create table s;
Table Create Table
@@ -73684,7 +73684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2040;
show create table s;
Table Create Table
@@ -73692,7 +73692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2039;
show create table s;
Table Create Table
@@ -73700,7 +73700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2038;
show create table s;
Table Create Table
@@ -73708,7 +73708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2037;
show create table s;
Table Create Table
@@ -73716,7 +73716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2036;
show create table s;
Table Create Table
@@ -73724,7 +73724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2035;
show create table s;
Table Create Table
@@ -73732,7 +73732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2034;
show create table s;
Table Create Table
@@ -73740,7 +73740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2033;
show create table s;
Table Create Table
@@ -73748,7 +73748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2032;
show create table s;
Table Create Table
@@ -73756,7 +73756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2031;
show create table s;
Table Create Table
@@ -73764,7 +73764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2030;
show create table s;
Table Create Table
@@ -73772,7 +73772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2029;
show create table s;
Table Create Table
@@ -73780,7 +73780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2028;
show create table s;
Table Create Table
@@ -73788,7 +73788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2027;
show create table s;
Table Create Table
@@ -73796,7 +73796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2026;
show create table s;
Table Create Table
@@ -73804,7 +73804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2025;
show create table s;
Table Create Table
@@ -73812,7 +73812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2024;
show create table s;
Table Create Table
@@ -73820,7 +73820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2023;
show create table s;
Table Create Table
@@ -73828,7 +73828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2022;
show create table s;
Table Create Table
@@ -73836,7 +73836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2021;
show create table s;
Table Create Table
@@ -73844,7 +73844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2020;
show create table s;
Table Create Table
@@ -73852,7 +73852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2019;
show create table s;
Table Create Table
@@ -73860,7 +73860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2018;
show create table s;
Table Create Table
@@ -73868,7 +73868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2017;
show create table s;
Table Create Table
@@ -73876,7 +73876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2016;
show create table s;
Table Create Table
@@ -73884,7 +73884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2015;
show create table s;
Table Create Table
@@ -73892,7 +73892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2014;
show create table s;
Table Create Table
@@ -73900,7 +73900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2013;
show create table s;
Table Create Table
@@ -73908,7 +73908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2012;
show create table s;
Table Create Table
@@ -73916,7 +73916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2011;
show create table s;
Table Create Table
@@ -73924,7 +73924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2010;
show create table s;
Table Create Table
@@ -73932,7 +73932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2009;
show create table s;
Table Create Table
@@ -73940,7 +73940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2008;
show create table s;
Table Create Table
@@ -73948,7 +73948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2007;
show create table s;
Table Create Table
@@ -73956,7 +73956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2006;
show create table s;
Table Create Table
@@ -73964,7 +73964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2005;
show create table s;
Table Create Table
@@ -73972,7 +73972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2004;
show create table s;
Table Create Table
@@ -73980,7 +73980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2003;
show create table s;
Table Create Table
@@ -73988,7 +73988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2002;
show create table s;
Table Create Table
@@ -73996,7 +73996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2001;
show create table s;
Table Create Table
@@ -74004,7 +74004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2000;
show create table s;
Table Create Table
@@ -74012,7 +74012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1999;
show create table s;
Table Create Table
@@ -74020,7 +74020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1998;
show create table s;
Table Create Table
@@ -74028,7 +74028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1997;
show create table s;
Table Create Table
@@ -74036,7 +74036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1996;
show create table s;
Table Create Table
@@ -74044,7 +74044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1995;
show create table s;
Table Create Table
@@ -74052,7 +74052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1994;
show create table s;
Table Create Table
@@ -74060,7 +74060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1993;
show create table s;
Table Create Table
@@ -74068,7 +74068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1992;
show create table s;
Table Create Table
@@ -74076,7 +74076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1991;
show create table s;
Table Create Table
@@ -74084,7 +74084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1990;
show create table s;
Table Create Table
@@ -74092,7 +74092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1989;
show create table s;
Table Create Table
@@ -74100,7 +74100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1988;
show create table s;
Table Create Table
@@ -74108,7 +74108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1987;
show create table s;
Table Create Table
@@ -74116,7 +74116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1986;
show create table s;
Table Create Table
@@ -74124,7 +74124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1985;
show create table s;
Table Create Table
@@ -74132,7 +74132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1984;
show create table s;
Table Create Table
@@ -74140,7 +74140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1983;
show create table s;
Table Create Table
@@ -74148,7 +74148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1982;
show create table s;
Table Create Table
@@ -74156,7 +74156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1981;
show create table s;
Table Create Table
@@ -74164,7 +74164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1980;
show create table s;
Table Create Table
@@ -74172,7 +74172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1979;
show create table s;
Table Create Table
@@ -74180,7 +74180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1978;
show create table s;
Table Create Table
@@ -74188,7 +74188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1977;
show create table s;
Table Create Table
@@ -74196,7 +74196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1976;
show create table s;
Table Create Table
@@ -74204,7 +74204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1975;
show create table s;
Table Create Table
@@ -74212,7 +74212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1974;
show create table s;
Table Create Table
@@ -74220,7 +74220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1973;
show create table s;
Table Create Table
@@ -74228,7 +74228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1972;
show create table s;
Table Create Table
@@ -74236,7 +74236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1971;
show create table s;
Table Create Table
@@ -74244,7 +74244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1970;
show create table s;
Table Create Table
@@ -74252,7 +74252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1969;
show create table s;
Table Create Table
@@ -74260,7 +74260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1968;
show create table s;
Table Create Table
@@ -74268,7 +74268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1967;
show create table s;
Table Create Table
@@ -74276,7 +74276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1966;
show create table s;
Table Create Table
@@ -74284,7 +74284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1965;
show create table s;
Table Create Table
@@ -74292,7 +74292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1964;
show create table s;
Table Create Table
@@ -74300,7 +74300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1963;
show create table s;
Table Create Table
@@ -74308,7 +74308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1962;
show create table s;
Table Create Table
@@ -74316,7 +74316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1961;
show create table s;
Table Create Table
@@ -74324,7 +74324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1960;
show create table s;
Table Create Table
@@ -74332,7 +74332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1959;
show create table s;
Table Create Table
@@ -74340,7 +74340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1958;
show create table s;
Table Create Table
@@ -74348,7 +74348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1957;
show create table s;
Table Create Table
@@ -74356,7 +74356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1956;
show create table s;
Table Create Table
@@ -74364,7 +74364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1955;
show create table s;
Table Create Table
@@ -74372,7 +74372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1954;
show create table s;
Table Create Table
@@ -74380,7 +74380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1953;
show create table s;
Table Create Table
@@ -74388,7 +74388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1952;
show create table s;
Table Create Table
@@ -74396,7 +74396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1951;
show create table s;
Table Create Table
@@ -74404,7 +74404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1950;
show create table s;
Table Create Table
@@ -74412,7 +74412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1949;
show create table s;
Table Create Table
@@ -74420,7 +74420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1948;
show create table s;
Table Create Table
@@ -74428,7 +74428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1947;
show create table s;
Table Create Table
@@ -74436,7 +74436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1946;
show create table s;
Table Create Table
@@ -74444,7 +74444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1945;
show create table s;
Table Create Table
@@ -74452,7 +74452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1944;
show create table s;
Table Create Table
@@ -74460,7 +74460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1943;
show create table s;
Table Create Table
@@ -74468,7 +74468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1942;
show create table s;
Table Create Table
@@ -74476,7 +74476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1941;
show create table s;
Table Create Table
@@ -74484,7 +74484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1940;
show create table s;
Table Create Table
@@ -74492,7 +74492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1939;
show create table s;
Table Create Table
@@ -74500,7 +74500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1938;
show create table s;
Table Create Table
@@ -74508,7 +74508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1937;
show create table s;
Table Create Table
@@ -74516,7 +74516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1936;
show create table s;
Table Create Table
@@ -74524,7 +74524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1935;
show create table s;
Table Create Table
@@ -74532,7 +74532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1934;
show create table s;
Table Create Table
@@ -74540,7 +74540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1933;
show create table s;
Table Create Table
@@ -74548,7 +74548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1932;
show create table s;
Table Create Table
@@ -74556,7 +74556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1931;
show create table s;
Table Create Table
@@ -74564,7 +74564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1930;
show create table s;
Table Create Table
@@ -74572,7 +74572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1929;
show create table s;
Table Create Table
@@ -74580,7 +74580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1928;
show create table s;
Table Create Table
@@ -74588,7 +74588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1927;
show create table s;
Table Create Table
@@ -74596,7 +74596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1926;
show create table s;
Table Create Table
@@ -74604,7 +74604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1925;
show create table s;
Table Create Table
@@ -74612,7 +74612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1924;
show create table s;
Table Create Table
@@ -74620,7 +74620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1923;
show create table s;
Table Create Table
@@ -74628,7 +74628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1922;
show create table s;
Table Create Table
@@ -74636,7 +74636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1921;
show create table s;
Table Create Table
@@ -74644,7 +74644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1920;
show create table s;
Table Create Table
@@ -74652,7 +74652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1919;
show create table s;
Table Create Table
@@ -74660,7 +74660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1918;
show create table s;
Table Create Table
@@ -74668,7 +74668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1917;
show create table s;
Table Create Table
@@ -74676,7 +74676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1916;
show create table s;
Table Create Table
@@ -74684,7 +74684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1915;
show create table s;
Table Create Table
@@ -74692,7 +74692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1914;
show create table s;
Table Create Table
@@ -74700,7 +74700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1913;
show create table s;
Table Create Table
@@ -74708,7 +74708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1912;
show create table s;
Table Create Table
@@ -74716,7 +74716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1911;
show create table s;
Table Create Table
@@ -74724,7 +74724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1910;
show create table s;
Table Create Table
@@ -74732,7 +74732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1909;
show create table s;
Table Create Table
@@ -74740,7 +74740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1908;
show create table s;
Table Create Table
@@ -74748,7 +74748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1907;
show create table s;
Table Create Table
@@ -74756,7 +74756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1906;
show create table s;
Table Create Table
@@ -74764,7 +74764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1905;
show create table s;
Table Create Table
@@ -74772,7 +74772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1904;
show create table s;
Table Create Table
@@ -74780,7 +74780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1903;
show create table s;
Table Create Table
@@ -74788,7 +74788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1902;
show create table s;
Table Create Table
@@ -74796,7 +74796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1901;
show create table s;
Table Create Table
@@ -74804,7 +74804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1900;
show create table s;
Table Create Table
@@ -74812,7 +74812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1899;
show create table s;
Table Create Table
@@ -74820,7 +74820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1898;
show create table s;
Table Create Table
@@ -74828,7 +74828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1897;
show create table s;
Table Create Table
@@ -74836,7 +74836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1896;
show create table s;
Table Create Table
@@ -74844,7 +74844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1895;
show create table s;
Table Create Table
@@ -74852,7 +74852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1894;
show create table s;
Table Create Table
@@ -74860,7 +74860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1893;
show create table s;
Table Create Table
@@ -74868,7 +74868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1892;
show create table s;
Table Create Table
@@ -74876,7 +74876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1891;
show create table s;
Table Create Table
@@ -74884,7 +74884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1890;
show create table s;
Table Create Table
@@ -74892,7 +74892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1889;
show create table s;
Table Create Table
@@ -74900,7 +74900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1888;
show create table s;
Table Create Table
@@ -74908,7 +74908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1887;
show create table s;
Table Create Table
@@ -74916,7 +74916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1886;
show create table s;
Table Create Table
@@ -74924,7 +74924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1885;
show create table s;
Table Create Table
@@ -74932,7 +74932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1884;
show create table s;
Table Create Table
@@ -74940,7 +74940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1883;
show create table s;
Table Create Table
@@ -74948,7 +74948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1882;
show create table s;
Table Create Table
@@ -74956,7 +74956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1881;
show create table s;
Table Create Table
@@ -74964,7 +74964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1880;
show create table s;
Table Create Table
@@ -74972,7 +74972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1879;
show create table s;
Table Create Table
@@ -74980,7 +74980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1878;
show create table s;
Table Create Table
@@ -74988,7 +74988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1877;
show create table s;
Table Create Table
@@ -74996,7 +74996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1876;
show create table s;
Table Create Table
@@ -75004,7 +75004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1875;
show create table s;
Table Create Table
@@ -75012,7 +75012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1874;
show create table s;
Table Create Table
@@ -75020,7 +75020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1873;
show create table s;
Table Create Table
@@ -75028,7 +75028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1872;
show create table s;
Table Create Table
@@ -75036,7 +75036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1871;
show create table s;
Table Create Table
@@ -75044,7 +75044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1870;
show create table s;
Table Create Table
@@ -75052,7 +75052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1869;
show create table s;
Table Create Table
@@ -75060,7 +75060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1868;
show create table s;
Table Create Table
@@ -75068,7 +75068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1867;
show create table s;
Table Create Table
@@ -75076,7 +75076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1866;
show create table s;
Table Create Table
@@ -75084,7 +75084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1865;
show create table s;
Table Create Table
@@ -75092,7 +75092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1864;
show create table s;
Table Create Table
@@ -75100,7 +75100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1863;
show create table s;
Table Create Table
@@ -75108,7 +75108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1862;
show create table s;
Table Create Table
@@ -75116,7 +75116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1861;
show create table s;
Table Create Table
@@ -75124,7 +75124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1860;
show create table s;
Table Create Table
@@ -75132,7 +75132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1859;
show create table s;
Table Create Table
@@ -75140,7 +75140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1858;
show create table s;
Table Create Table
@@ -75148,7 +75148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1857;
show create table s;
Table Create Table
@@ -75156,7 +75156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1856;
show create table s;
Table Create Table
@@ -75164,7 +75164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1855;
show create table s;
Table Create Table
@@ -75172,7 +75172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1854;
show create table s;
Table Create Table
@@ -75180,7 +75180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1853;
show create table s;
Table Create Table
@@ -75188,7 +75188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1852;
show create table s;
Table Create Table
@@ -75196,7 +75196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1851;
show create table s;
Table Create Table
@@ -75204,7 +75204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1850;
show create table s;
Table Create Table
@@ -75212,7 +75212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1849;
show create table s;
Table Create Table
@@ -75220,7 +75220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1848;
show create table s;
Table Create Table
@@ -75228,7 +75228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1847;
show create table s;
Table Create Table
@@ -75236,7 +75236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1846;
show create table s;
Table Create Table
@@ -75244,7 +75244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1845;
show create table s;
Table Create Table
@@ -75252,7 +75252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1844;
show create table s;
Table Create Table
@@ -75260,7 +75260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1843;
show create table s;
Table Create Table
@@ -75268,7 +75268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1842;
show create table s;
Table Create Table
@@ -75276,7 +75276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1841;
show create table s;
Table Create Table
@@ -75284,7 +75284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1840;
show create table s;
Table Create Table
@@ -75292,7 +75292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1839;
show create table s;
Table Create Table
@@ -75300,7 +75300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1838;
show create table s;
Table Create Table
@@ -75308,7 +75308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1837;
show create table s;
Table Create Table
@@ -75316,7 +75316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1836;
show create table s;
Table Create Table
@@ -75324,7 +75324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1835;
show create table s;
Table Create Table
@@ -75332,7 +75332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1834;
show create table s;
Table Create Table
@@ -75340,7 +75340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1833;
show create table s;
Table Create Table
@@ -75348,7 +75348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1832;
show create table s;
Table Create Table
@@ -75356,7 +75356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1831;
show create table s;
Table Create Table
@@ -75364,7 +75364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1830;
show create table s;
Table Create Table
@@ -75372,7 +75372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1829;
show create table s;
Table Create Table
@@ -75380,7 +75380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1828;
show create table s;
Table Create Table
@@ -75388,7 +75388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1827;
show create table s;
Table Create Table
@@ -75396,7 +75396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1826;
show create table s;
Table Create Table
@@ -75404,7 +75404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1825;
show create table s;
Table Create Table
@@ -75412,7 +75412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1824;
show create table s;
Table Create Table
@@ -75420,7 +75420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1823;
show create table s;
Table Create Table
@@ -75428,7 +75428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1822;
show create table s;
Table Create Table
@@ -75436,7 +75436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1821;
show create table s;
Table Create Table
@@ -75444,7 +75444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1820;
show create table s;
Table Create Table
@@ -75452,7 +75452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1819;
show create table s;
Table Create Table
@@ -75460,7 +75460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1818;
show create table s;
Table Create Table
@@ -75468,7 +75468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1817;
show create table s;
Table Create Table
@@ -75476,7 +75476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1816;
show create table s;
Table Create Table
@@ -75484,7 +75484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1815;
show create table s;
Table Create Table
@@ -75492,7 +75492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1814;
show create table s;
Table Create Table
@@ -75500,7 +75500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1813;
show create table s;
Table Create Table
@@ -75508,7 +75508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1812;
show create table s;
Table Create Table
@@ -75516,7 +75516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1811;
show create table s;
Table Create Table
@@ -75524,7 +75524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1810;
show create table s;
Table Create Table
@@ -75532,7 +75532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1809;
show create table s;
Table Create Table
@@ -75540,7 +75540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1808;
show create table s;
Table Create Table
@@ -75548,7 +75548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1807;
show create table s;
Table Create Table
@@ -75556,7 +75556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1806;
show create table s;
Table Create Table
@@ -75564,7 +75564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1805;
show create table s;
Table Create Table
@@ -75572,7 +75572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1804;
show create table s;
Table Create Table
@@ -75580,7 +75580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1803;
show create table s;
Table Create Table
@@ -75588,7 +75588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1802;
show create table s;
Table Create Table
@@ -75596,7 +75596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1801;
show create table s;
Table Create Table
@@ -75604,7 +75604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1800;
show create table s;
Table Create Table
@@ -75612,7 +75612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1799;
show create table s;
Table Create Table
@@ -75620,7 +75620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1798;
show create table s;
Table Create Table
@@ -75628,7 +75628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1797;
show create table s;
Table Create Table
@@ -75636,7 +75636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1796;
show create table s;
Table Create Table
@@ -75644,7 +75644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1795;
show create table s;
Table Create Table
@@ -75652,7 +75652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1794;
show create table s;
Table Create Table
@@ -75660,7 +75660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1793;
show create table s;
Table Create Table
@@ -75668,7 +75668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1792;
show create table s;
Table Create Table
@@ -75676,7 +75676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1791;
show create table s;
Table Create Table
@@ -75684,7 +75684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1790;
show create table s;
Table Create Table
@@ -75692,7 +75692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1789;
show create table s;
Table Create Table
@@ -75700,7 +75700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1788;
show create table s;
Table Create Table
@@ -75708,7 +75708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1787;
show create table s;
Table Create Table
@@ -75716,7 +75716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1786;
show create table s;
Table Create Table
@@ -75724,7 +75724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1785;
show create table s;
Table Create Table
@@ -75732,7 +75732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1784;
show create table s;
Table Create Table
@@ -75740,7 +75740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1783;
show create table s;
Table Create Table
@@ -75748,7 +75748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1782;
show create table s;
Table Create Table
@@ -75756,7 +75756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1781;
show create table s;
Table Create Table
@@ -75764,7 +75764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1780;
show create table s;
Table Create Table
@@ -75772,7 +75772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1779;
show create table s;
Table Create Table
@@ -75780,7 +75780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1778;
show create table s;
Table Create Table
@@ -75788,7 +75788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1777;
show create table s;
Table Create Table
@@ -75796,7 +75796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1776;
show create table s;
Table Create Table
@@ -75804,7 +75804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1775;
show create table s;
Table Create Table
@@ -75812,7 +75812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1774;
show create table s;
Table Create Table
@@ -75820,7 +75820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1773;
show create table s;
Table Create Table
@@ -75828,7 +75828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1772;
show create table s;
Table Create Table
@@ -75836,7 +75836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1771;
show create table s;
Table Create Table
@@ -75844,7 +75844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1770;
show create table s;
Table Create Table
@@ -75852,7 +75852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1769;
show create table s;
Table Create Table
@@ -75860,7 +75860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1768;
show create table s;
Table Create Table
@@ -75868,7 +75868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1767;
show create table s;
Table Create Table
@@ -75876,7 +75876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1766;
show create table s;
Table Create Table
@@ -75884,7 +75884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1765;
show create table s;
Table Create Table
@@ -75892,7 +75892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1764;
show create table s;
Table Create Table
@@ -75900,7 +75900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1763;
show create table s;
Table Create Table
@@ -75908,7 +75908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1762;
show create table s;
Table Create Table
@@ -75916,7 +75916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1761;
show create table s;
Table Create Table
@@ -75924,7 +75924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1760;
show create table s;
Table Create Table
@@ -75932,7 +75932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1759;
show create table s;
Table Create Table
@@ -75940,7 +75940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1758;
show create table s;
Table Create Table
@@ -75948,7 +75948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1757;
show create table s;
Table Create Table
@@ -75956,7 +75956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1756;
show create table s;
Table Create Table
@@ -75964,7 +75964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1755;
show create table s;
Table Create Table
@@ -75972,7 +75972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1754;
show create table s;
Table Create Table
@@ -75980,7 +75980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1753;
show create table s;
Table Create Table
@@ -75988,7 +75988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1752;
show create table s;
Table Create Table
@@ -75996,7 +75996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1751;
show create table s;
Table Create Table
@@ -76004,7 +76004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1750;
show create table s;
Table Create Table
@@ -76012,7 +76012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1749;
show create table s;
Table Create Table
@@ -76020,7 +76020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1748;
show create table s;
Table Create Table
@@ -76028,7 +76028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1747;
show create table s;
Table Create Table
@@ -76036,7 +76036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1746;
show create table s;
Table Create Table
@@ -76044,7 +76044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1745;
show create table s;
Table Create Table
@@ -76052,7 +76052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1744;
show create table s;
Table Create Table
@@ -76060,7 +76060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1743;
show create table s;
Table Create Table
@@ -76068,7 +76068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1742;
show create table s;
Table Create Table
@@ -76076,7 +76076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1741;
show create table s;
Table Create Table
@@ -76084,7 +76084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1740;
show create table s;
Table Create Table
@@ -76092,7 +76092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1739;
show create table s;
Table Create Table
@@ -76100,7 +76100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1738;
show create table s;
Table Create Table
@@ -76108,7 +76108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1737;
show create table s;
Table Create Table
@@ -76116,7 +76116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1736;
show create table s;
Table Create Table
@@ -76124,7 +76124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1735;
show create table s;
Table Create Table
@@ -76132,7 +76132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1734;
show create table s;
Table Create Table
@@ -76140,7 +76140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1733;
show create table s;
Table Create Table
@@ -76148,7 +76148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1732;
show create table s;
Table Create Table
@@ -76156,7 +76156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1731;
show create table s;
Table Create Table
@@ -76164,7 +76164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1730;
show create table s;
Table Create Table
@@ -76172,7 +76172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1729;
show create table s;
Table Create Table
@@ -76180,7 +76180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1728;
show create table s;
Table Create Table
@@ -76188,7 +76188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1727;
show create table s;
Table Create Table
@@ -76196,7 +76196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1726;
show create table s;
Table Create Table
@@ -76204,7 +76204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1725;
show create table s;
Table Create Table
@@ -76212,7 +76212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1724;
show create table s;
Table Create Table
@@ -76220,7 +76220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1723;
show create table s;
Table Create Table
@@ -76228,7 +76228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1722;
show create table s;
Table Create Table
@@ -76236,7 +76236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1721;
show create table s;
Table Create Table
@@ -76244,7 +76244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1720;
show create table s;
Table Create Table
@@ -76252,7 +76252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1719;
show create table s;
Table Create Table
@@ -76260,7 +76260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1718;
show create table s;
Table Create Table
@@ -76268,7 +76268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1717;
show create table s;
Table Create Table
@@ -76276,7 +76276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1716;
show create table s;
Table Create Table
@@ -76284,7 +76284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1715;
show create table s;
Table Create Table
@@ -76292,7 +76292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1714;
show create table s;
Table Create Table
@@ -76300,7 +76300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1713;
show create table s;
Table Create Table
@@ -76308,7 +76308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1712;
show create table s;
Table Create Table
@@ -76316,7 +76316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1711;
show create table s;
Table Create Table
@@ -76324,7 +76324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1710;
show create table s;
Table Create Table
@@ -76332,7 +76332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1709;
show create table s;
Table Create Table
@@ -76340,7 +76340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1708;
show create table s;
Table Create Table
@@ -76348,7 +76348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1707;
show create table s;
Table Create Table
@@ -76356,7 +76356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1706;
show create table s;
Table Create Table
@@ -76364,7 +76364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1705;
show create table s;
Table Create Table
@@ -76372,7 +76372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1704;
show create table s;
Table Create Table
@@ -76380,7 +76380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1703;
show create table s;
Table Create Table
@@ -76388,7 +76388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1702;
show create table s;
Table Create Table
@@ -76396,7 +76396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1701;
show create table s;
Table Create Table
@@ -76404,7 +76404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1700;
show create table s;
Table Create Table
@@ -76412,7 +76412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1699;
show create table s;
Table Create Table
@@ -76420,7 +76420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1698;
show create table s;
Table Create Table
@@ -76428,7 +76428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1697;
show create table s;
Table Create Table
@@ -76436,7 +76436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1696;
show create table s;
Table Create Table
@@ -76444,7 +76444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1695;
show create table s;
Table Create Table
@@ -76452,7 +76452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1694;
show create table s;
Table Create Table
@@ -76460,7 +76460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1693;
show create table s;
Table Create Table
@@ -76468,7 +76468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1692;
show create table s;
Table Create Table
@@ -76476,7 +76476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1691;
show create table s;
Table Create Table
@@ -76484,7 +76484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1690;
show create table s;
Table Create Table
@@ -76492,7 +76492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1689;
show create table s;
Table Create Table
@@ -76500,7 +76500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1688;
show create table s;
Table Create Table
@@ -76508,7 +76508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1687;
show create table s;
Table Create Table
@@ -76516,7 +76516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1686;
show create table s;
Table Create Table
@@ -76524,7 +76524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1685;
show create table s;
Table Create Table
@@ -76532,7 +76532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1684;
show create table s;
Table Create Table
@@ -76540,7 +76540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1683;
show create table s;
Table Create Table
@@ -76548,7 +76548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1682;
show create table s;
Table Create Table
@@ -76556,7 +76556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1681;
show create table s;
Table Create Table
@@ -76564,7 +76564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1680;
show create table s;
Table Create Table
@@ -76572,7 +76572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1679;
show create table s;
Table Create Table
@@ -76580,7 +76580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1678;
show create table s;
Table Create Table
@@ -76588,7 +76588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1677;
show create table s;
Table Create Table
@@ -76596,7 +76596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1676;
show create table s;
Table Create Table
@@ -76604,7 +76604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1675;
show create table s;
Table Create Table
@@ -76612,7 +76612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1674;
show create table s;
Table Create Table
@@ -76620,7 +76620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1673;
show create table s;
Table Create Table
@@ -76628,7 +76628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1672;
show create table s;
Table Create Table
@@ -76636,7 +76636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1671;
show create table s;
Table Create Table
@@ -76644,7 +76644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1670;
show create table s;
Table Create Table
@@ -76652,7 +76652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1669;
show create table s;
Table Create Table
@@ -76660,7 +76660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1668;
show create table s;
Table Create Table
@@ -76668,7 +76668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1667;
show create table s;
Table Create Table
@@ -76676,7 +76676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1666;
show create table s;
Table Create Table
@@ -76684,7 +76684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1665;
show create table s;
Table Create Table
@@ -76692,7 +76692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1664;
show create table s;
Table Create Table
@@ -76700,7 +76700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1663;
show create table s;
Table Create Table
@@ -76708,7 +76708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1662;
show create table s;
Table Create Table
@@ -76716,7 +76716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1661;
show create table s;
Table Create Table
@@ -76724,7 +76724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1660;
show create table s;
Table Create Table
@@ -76732,7 +76732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1659;
show create table s;
Table Create Table
@@ -76740,7 +76740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1658;
show create table s;
Table Create Table
@@ -76748,7 +76748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1657;
show create table s;
Table Create Table
@@ -76756,7 +76756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1656;
show create table s;
Table Create Table
@@ -76764,7 +76764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1655;
show create table s;
Table Create Table
@@ -76772,7 +76772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1654;
show create table s;
Table Create Table
@@ -76780,7 +76780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1653;
show create table s;
Table Create Table
@@ -76788,7 +76788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1652;
show create table s;
Table Create Table
@@ -76796,7 +76796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1651;
show create table s;
Table Create Table
@@ -76804,7 +76804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1650;
show create table s;
Table Create Table
@@ -76812,7 +76812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1649;
show create table s;
Table Create Table
@@ -76820,7 +76820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1648;
show create table s;
Table Create Table
@@ -76828,7 +76828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1647;
show create table s;
Table Create Table
@@ -76836,7 +76836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1646;
show create table s;
Table Create Table
@@ -76844,7 +76844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1645;
show create table s;
Table Create Table
@@ -76852,7 +76852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1644;
show create table s;
Table Create Table
@@ -76860,7 +76860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1643;
show create table s;
Table Create Table
@@ -76868,7 +76868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1642;
show create table s;
Table Create Table
@@ -76876,7 +76876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1641;
show create table s;
Table Create Table
@@ -76884,7 +76884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1640;
show create table s;
Table Create Table
@@ -76892,7 +76892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1639;
show create table s;
Table Create Table
@@ -76900,7 +76900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1638;
show create table s;
Table Create Table
@@ -76908,7 +76908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1637;
show create table s;
Table Create Table
@@ -76916,7 +76916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1636;
show create table s;
Table Create Table
@@ -76924,7 +76924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1635;
show create table s;
Table Create Table
@@ -76932,7 +76932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1634;
show create table s;
Table Create Table
@@ -76940,7 +76940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1633;
show create table s;
Table Create Table
@@ -76948,7 +76948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1632;
show create table s;
Table Create Table
@@ -76956,7 +76956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1631;
show create table s;
Table Create Table
@@ -76964,7 +76964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1630;
show create table s;
Table Create Table
@@ -76972,7 +76972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1629;
show create table s;
Table Create Table
@@ -76980,7 +76980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1628;
show create table s;
Table Create Table
@@ -76988,7 +76988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1627;
show create table s;
Table Create Table
@@ -76996,7 +76996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1626;
show create table s;
Table Create Table
@@ -77004,7 +77004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1625;
show create table s;
Table Create Table
@@ -77012,7 +77012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1624;
show create table s;
Table Create Table
@@ -77020,7 +77020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1623;
show create table s;
Table Create Table
@@ -77028,7 +77028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1622;
show create table s;
Table Create Table
@@ -77036,7 +77036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1621;
show create table s;
Table Create Table
@@ -77044,7 +77044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1620;
show create table s;
Table Create Table
@@ -77052,7 +77052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1619;
show create table s;
Table Create Table
@@ -77060,7 +77060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1618;
show create table s;
Table Create Table
@@ -77068,7 +77068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1617;
show create table s;
Table Create Table
@@ -77076,7 +77076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1616;
show create table s;
Table Create Table
@@ -77084,7 +77084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1615;
show create table s;
Table Create Table
@@ -77092,7 +77092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1614;
show create table s;
Table Create Table
@@ -77100,7 +77100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1613;
show create table s;
Table Create Table
@@ -77108,7 +77108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1612;
show create table s;
Table Create Table
@@ -77116,7 +77116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1611;
show create table s;
Table Create Table
@@ -77124,7 +77124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1610;
show create table s;
Table Create Table
@@ -77132,7 +77132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1609;
show create table s;
Table Create Table
@@ -77140,7 +77140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1608;
show create table s;
Table Create Table
@@ -77148,7 +77148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1607;
show create table s;
Table Create Table
@@ -77156,7 +77156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1606;
show create table s;
Table Create Table
@@ -77164,7 +77164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1605;
show create table s;
Table Create Table
@@ -77172,7 +77172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1604;
show create table s;
Table Create Table
@@ -77180,7 +77180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1603;
show create table s;
Table Create Table
@@ -77188,7 +77188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1602;
show create table s;
Table Create Table
@@ -77196,7 +77196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1601;
show create table s;
Table Create Table
@@ -77204,7 +77204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1600;
show create table s;
Table Create Table
@@ -77212,7 +77212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1599;
show create table s;
Table Create Table
@@ -77220,7 +77220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1598;
show create table s;
Table Create Table
@@ -77228,7 +77228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1597;
show create table s;
Table Create Table
@@ -77236,7 +77236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1596;
show create table s;
Table Create Table
@@ -77244,7 +77244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1595;
show create table s;
Table Create Table
@@ -77252,7 +77252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1594;
show create table s;
Table Create Table
@@ -77260,7 +77260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1593;
show create table s;
Table Create Table
@@ -77268,7 +77268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1592;
show create table s;
Table Create Table
@@ -77276,7 +77276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1591;
show create table s;
Table Create Table
@@ -77284,7 +77284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1590;
show create table s;
Table Create Table
@@ -77292,7 +77292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1589;
show create table s;
Table Create Table
@@ -77300,7 +77300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1588;
show create table s;
Table Create Table
@@ -77308,7 +77308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1587;
show create table s;
Table Create Table
@@ -77316,7 +77316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1586;
show create table s;
Table Create Table
@@ -77324,7 +77324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1585;
show create table s;
Table Create Table
@@ -77332,7 +77332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1584;
show create table s;
Table Create Table
@@ -77340,7 +77340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1583;
show create table s;
Table Create Table
@@ -77348,7 +77348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1582;
show create table s;
Table Create Table
@@ -77356,7 +77356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1581;
show create table s;
Table Create Table
@@ -77364,7 +77364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1580;
show create table s;
Table Create Table
@@ -77372,7 +77372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1579;
show create table s;
Table Create Table
@@ -77380,7 +77380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1578;
show create table s;
Table Create Table
@@ -77388,7 +77388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1577;
show create table s;
Table Create Table
@@ -77396,7 +77396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1576;
show create table s;
Table Create Table
@@ -77404,7 +77404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1575;
show create table s;
Table Create Table
@@ -77412,7 +77412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1574;
show create table s;
Table Create Table
@@ -77420,7 +77420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1573;
show create table s;
Table Create Table
@@ -77428,7 +77428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1572;
show create table s;
Table Create Table
@@ -77436,7 +77436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1571;
show create table s;
Table Create Table
@@ -77444,7 +77444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1570;
show create table s;
Table Create Table
@@ -77452,7 +77452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1569;
show create table s;
Table Create Table
@@ -77460,7 +77460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1568;
show create table s;
Table Create Table
@@ -77468,7 +77468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1567;
show create table s;
Table Create Table
@@ -77476,7 +77476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1566;
show create table s;
Table Create Table
@@ -77484,7 +77484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1565;
show create table s;
Table Create Table
@@ -77492,7 +77492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1564;
show create table s;
Table Create Table
@@ -77500,7 +77500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1563;
show create table s;
Table Create Table
@@ -77508,7 +77508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1562;
show create table s;
Table Create Table
@@ -77516,7 +77516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1561;
show create table s;
Table Create Table
@@ -77524,7 +77524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1560;
show create table s;
Table Create Table
@@ -77532,7 +77532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1559;
show create table s;
Table Create Table
@@ -77540,7 +77540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1558;
show create table s;
Table Create Table
@@ -77548,7 +77548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1557;
show create table s;
Table Create Table
@@ -77556,7 +77556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1556;
show create table s;
Table Create Table
@@ -77564,7 +77564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1555;
show create table s;
Table Create Table
@@ -77572,7 +77572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1554;
show create table s;
Table Create Table
@@ -77580,7 +77580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1553;
show create table s;
Table Create Table
@@ -77588,7 +77588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1552;
show create table s;
Table Create Table
@@ -77596,7 +77596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1551;
show create table s;
Table Create Table
@@ -77604,7 +77604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1550;
show create table s;
Table Create Table
@@ -77612,7 +77612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1549;
show create table s;
Table Create Table
@@ -77620,7 +77620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1548;
show create table s;
Table Create Table
@@ -77628,7 +77628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1547;
show create table s;
Table Create Table
@@ -77636,7 +77636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1546;
show create table s;
Table Create Table
@@ -77644,7 +77644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1545;
show create table s;
Table Create Table
@@ -77652,7 +77652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1544;
show create table s;
Table Create Table
@@ -77660,7 +77660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1543;
show create table s;
Table Create Table
@@ -77668,7 +77668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1542;
show create table s;
Table Create Table
@@ -77676,7 +77676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1541;
show create table s;
Table Create Table
@@ -77684,7 +77684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1540;
show create table s;
Table Create Table
@@ -77692,7 +77692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1539;
show create table s;
Table Create Table
@@ -77700,7 +77700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1538;
show create table s;
Table Create Table
@@ -77708,7 +77708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1537;
show create table s;
Table Create Table
@@ -77716,7 +77716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1536;
show create table s;
Table Create Table
@@ -77724,7 +77724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1535;
show create table s;
Table Create Table
@@ -77732,7 +77732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1534;
show create table s;
Table Create Table
@@ -77740,7 +77740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1533;
show create table s;
Table Create Table
@@ -77748,7 +77748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1532;
show create table s;
Table Create Table
@@ -77756,7 +77756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1531;
show create table s;
Table Create Table
@@ -77764,7 +77764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1530;
show create table s;
Table Create Table
@@ -77772,7 +77772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1529;
show create table s;
Table Create Table
@@ -77780,7 +77780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1528;
show create table s;
Table Create Table
@@ -77788,7 +77788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1527;
show create table s;
Table Create Table
@@ -77796,7 +77796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1526;
show create table s;
Table Create Table
@@ -77804,7 +77804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1525;
show create table s;
Table Create Table
@@ -77812,7 +77812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1524;
show create table s;
Table Create Table
@@ -77820,7 +77820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1523;
show create table s;
Table Create Table
@@ -77828,7 +77828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1522;
show create table s;
Table Create Table
@@ -77836,7 +77836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1521;
show create table s;
Table Create Table
@@ -77844,7 +77844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1520;
show create table s;
Table Create Table
@@ -77852,7 +77852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1519;
show create table s;
Table Create Table
@@ -77860,7 +77860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1518;
show create table s;
Table Create Table
@@ -77868,7 +77868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1517;
show create table s;
Table Create Table
@@ -77876,7 +77876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1516;
show create table s;
Table Create Table
@@ -77884,7 +77884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1515;
show create table s;
Table Create Table
@@ -77892,7 +77892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1514;
show create table s;
Table Create Table
@@ -77900,7 +77900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1513;
show create table s;
Table Create Table
@@ -77908,7 +77908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1512;
show create table s;
Table Create Table
@@ -77916,7 +77916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1511;
show create table s;
Table Create Table
@@ -77924,7 +77924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1510;
show create table s;
Table Create Table
@@ -77932,7 +77932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1509;
show create table s;
Table Create Table
@@ -77940,7 +77940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1508;
show create table s;
Table Create Table
@@ -77948,7 +77948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1507;
show create table s;
Table Create Table
@@ -77956,7 +77956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1506;
show create table s;
Table Create Table
@@ -77964,7 +77964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1505;
show create table s;
Table Create Table
@@ -77972,7 +77972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1504;
show create table s;
Table Create Table
@@ -77980,7 +77980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1503;
show create table s;
Table Create Table
@@ -77988,7 +77988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1502;
show create table s;
Table Create Table
@@ -77996,7 +77996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1501;
show create table s;
Table Create Table
@@ -78004,7 +78004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1500;
show create table s;
Table Create Table
@@ -78012,7 +78012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1499;
show create table s;
Table Create Table
@@ -78020,7 +78020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1498;
show create table s;
Table Create Table
@@ -78028,7 +78028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1497;
show create table s;
Table Create Table
@@ -78036,7 +78036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1496;
show create table s;
Table Create Table
@@ -78044,7 +78044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1495;
show create table s;
Table Create Table
@@ -78052,7 +78052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1494;
show create table s;
Table Create Table
@@ -78060,7 +78060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1493;
show create table s;
Table Create Table
@@ -78068,7 +78068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1492;
show create table s;
Table Create Table
@@ -78076,7 +78076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1491;
show create table s;
Table Create Table
@@ -78084,7 +78084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1490;
show create table s;
Table Create Table
@@ -78092,7 +78092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1489;
show create table s;
Table Create Table
@@ -78100,7 +78100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1488;
show create table s;
Table Create Table
@@ -78108,7 +78108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1487;
show create table s;
Table Create Table
@@ -78116,7 +78116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1486;
show create table s;
Table Create Table
@@ -78124,7 +78124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1485;
show create table s;
Table Create Table
@@ -78132,7 +78132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1484;
show create table s;
Table Create Table
@@ -78140,7 +78140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1483;
show create table s;
Table Create Table
@@ -78148,7 +78148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1482;
show create table s;
Table Create Table
@@ -78156,7 +78156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1481;
show create table s;
Table Create Table
@@ -78164,7 +78164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1480;
show create table s;
Table Create Table
@@ -78172,7 +78172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1479;
show create table s;
Table Create Table
@@ -78180,7 +78180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1478;
show create table s;
Table Create Table
@@ -78188,7 +78188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1477;
show create table s;
Table Create Table
@@ -78196,7 +78196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1476;
show create table s;
Table Create Table
@@ -78204,7 +78204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1475;
show create table s;
Table Create Table
@@ -78212,7 +78212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1474;
show create table s;
Table Create Table
@@ -78220,7 +78220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1473;
show create table s;
Table Create Table
@@ -78228,7 +78228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1472;
show create table s;
Table Create Table
@@ -78236,7 +78236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1471;
show create table s;
Table Create Table
@@ -78244,7 +78244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1470;
show create table s;
Table Create Table
@@ -78252,7 +78252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1469;
show create table s;
Table Create Table
@@ -78260,7 +78260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1468;
show create table s;
Table Create Table
@@ -78268,7 +78268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1467;
show create table s;
Table Create Table
@@ -78276,7 +78276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1466;
show create table s;
Table Create Table
@@ -78284,7 +78284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1465;
show create table s;
Table Create Table
@@ -78292,7 +78292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1464;
show create table s;
Table Create Table
@@ -78300,7 +78300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1463;
show create table s;
Table Create Table
@@ -78308,7 +78308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1462;
show create table s;
Table Create Table
@@ -78316,7 +78316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1461;
show create table s;
Table Create Table
@@ -78324,7 +78324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1460;
show create table s;
Table Create Table
@@ -78332,7 +78332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1459;
show create table s;
Table Create Table
@@ -78340,7 +78340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1458;
show create table s;
Table Create Table
@@ -78348,7 +78348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1457;
show create table s;
Table Create Table
@@ -78356,7 +78356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1456;
show create table s;
Table Create Table
@@ -78364,7 +78364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1455;
show create table s;
Table Create Table
@@ -78372,7 +78372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1454;
show create table s;
Table Create Table
@@ -78380,7 +78380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1453;
show create table s;
Table Create Table
@@ -78388,7 +78388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1452;
show create table s;
Table Create Table
@@ -78396,7 +78396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1451;
show create table s;
Table Create Table
@@ -78404,7 +78404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1450;
show create table s;
Table Create Table
@@ -78412,7 +78412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1449;
show create table s;
Table Create Table
@@ -78420,7 +78420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1448;
show create table s;
Table Create Table
@@ -78428,7 +78428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1447;
show create table s;
Table Create Table
@@ -78436,7 +78436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1446;
show create table s;
Table Create Table
@@ -78444,7 +78444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1445;
show create table s;
Table Create Table
@@ -78452,7 +78452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1444;
show create table s;
Table Create Table
@@ -78460,7 +78460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1443;
show create table s;
Table Create Table
@@ -78468,7 +78468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1442;
show create table s;
Table Create Table
@@ -78476,7 +78476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1441;
show create table s;
Table Create Table
@@ -78484,7 +78484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1440;
show create table s;
Table Create Table
@@ -78492,7 +78492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1439;
show create table s;
Table Create Table
@@ -78500,7 +78500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1438;
show create table s;
Table Create Table
@@ -78508,7 +78508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1437;
show create table s;
Table Create Table
@@ -78516,7 +78516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1436;
show create table s;
Table Create Table
@@ -78524,7 +78524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1435;
show create table s;
Table Create Table
@@ -78532,7 +78532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1434;
show create table s;
Table Create Table
@@ -78540,7 +78540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1433;
show create table s;
Table Create Table
@@ -78548,7 +78548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1432;
show create table s;
Table Create Table
@@ -78556,7 +78556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1431;
show create table s;
Table Create Table
@@ -78564,7 +78564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1430;
show create table s;
Table Create Table
@@ -78572,7 +78572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1429;
show create table s;
Table Create Table
@@ -78580,7 +78580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1428;
show create table s;
Table Create Table
@@ -78588,7 +78588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1427;
show create table s;
Table Create Table
@@ -78596,7 +78596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1426;
show create table s;
Table Create Table
@@ -78604,7 +78604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1425;
show create table s;
Table Create Table
@@ -78612,7 +78612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1424;
show create table s;
Table Create Table
@@ -78620,7 +78620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1423;
show create table s;
Table Create Table
@@ -78628,7 +78628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1422;
show create table s;
Table Create Table
@@ -78636,7 +78636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1421;
show create table s;
Table Create Table
@@ -78644,7 +78644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1420;
show create table s;
Table Create Table
@@ -78652,7 +78652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1419;
show create table s;
Table Create Table
@@ -78660,7 +78660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1418;
show create table s;
Table Create Table
@@ -78668,7 +78668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1417;
show create table s;
Table Create Table
@@ -78676,7 +78676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1416;
show create table s;
Table Create Table
@@ -78684,7 +78684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1415;
show create table s;
Table Create Table
@@ -78692,7 +78692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1414;
show create table s;
Table Create Table
@@ -78700,7 +78700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1413;
show create table s;
Table Create Table
@@ -78708,7 +78708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1412;
show create table s;
Table Create Table
@@ -78716,7 +78716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1411;
show create table s;
Table Create Table
@@ -78724,7 +78724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1410;
show create table s;
Table Create Table
@@ -78732,7 +78732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1409;
show create table s;
Table Create Table
@@ -78740,7 +78740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1408;
show create table s;
Table Create Table
@@ -78748,7 +78748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1407;
show create table s;
Table Create Table
@@ -78756,7 +78756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1406;
show create table s;
Table Create Table
@@ -78764,7 +78764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1405;
show create table s;
Table Create Table
@@ -78772,7 +78772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1404;
show create table s;
Table Create Table
@@ -78780,7 +78780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1403;
show create table s;
Table Create Table
@@ -78788,7 +78788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1402;
show create table s;
Table Create Table
@@ -78796,7 +78796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1401;
show create table s;
Table Create Table
@@ -78804,7 +78804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1400;
show create table s;
Table Create Table
@@ -78812,7 +78812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1399;
show create table s;
Table Create Table
@@ -78820,7 +78820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1398;
show create table s;
Table Create Table
@@ -78828,7 +78828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1397;
show create table s;
Table Create Table
@@ -78836,7 +78836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1396;
show create table s;
Table Create Table
@@ -78844,7 +78844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1395;
show create table s;
Table Create Table
@@ -78852,7 +78852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1394;
show create table s;
Table Create Table
@@ -78860,7 +78860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1393;
show create table s;
Table Create Table
@@ -78868,7 +78868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1392;
show create table s;
Table Create Table
@@ -78876,7 +78876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1391;
show create table s;
Table Create Table
@@ -78884,7 +78884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1390;
show create table s;
Table Create Table
@@ -78892,7 +78892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1389;
show create table s;
Table Create Table
@@ -78900,7 +78900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1388;
show create table s;
Table Create Table
@@ -78908,7 +78908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1387;
show create table s;
Table Create Table
@@ -78916,7 +78916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1386;
show create table s;
Table Create Table
@@ -78924,7 +78924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1385;
show create table s;
Table Create Table
@@ -78932,7 +78932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1384;
show create table s;
Table Create Table
@@ -78940,7 +78940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1383;
show create table s;
Table Create Table
@@ -78948,7 +78948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1382;
show create table s;
Table Create Table
@@ -78956,7 +78956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1381;
show create table s;
Table Create Table
@@ -78964,7 +78964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1380;
show create table s;
Table Create Table
@@ -78972,7 +78972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1379;
show create table s;
Table Create Table
@@ -78980,7 +78980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1378;
show create table s;
Table Create Table
@@ -78988,7 +78988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1377;
show create table s;
Table Create Table
@@ -78996,7 +78996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1376;
show create table s;
Table Create Table
@@ -79004,7 +79004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1375;
show create table s;
Table Create Table
@@ -79012,7 +79012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1374;
show create table s;
Table Create Table
@@ -79020,7 +79020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1373;
show create table s;
Table Create Table
@@ -79028,7 +79028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1372;
show create table s;
Table Create Table
@@ -79036,7 +79036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1371;
show create table s;
Table Create Table
@@ -79044,7 +79044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1370;
show create table s;
Table Create Table
@@ -79052,7 +79052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1369;
show create table s;
Table Create Table
@@ -79060,7 +79060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1368;
show create table s;
Table Create Table
@@ -79068,7 +79068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1367;
show create table s;
Table Create Table
@@ -79076,7 +79076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1366;
show create table s;
Table Create Table
@@ -79084,7 +79084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1365;
show create table s;
Table Create Table
@@ -79092,7 +79092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1364;
show create table s;
Table Create Table
@@ -79100,7 +79100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1363;
show create table s;
Table Create Table
@@ -79108,7 +79108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1362;
show create table s;
Table Create Table
@@ -79116,7 +79116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1361;
show create table s;
Table Create Table
@@ -79124,7 +79124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1360;
show create table s;
Table Create Table
@@ -79132,7 +79132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1359;
show create table s;
Table Create Table
@@ -79140,7 +79140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1358;
show create table s;
Table Create Table
@@ -79148,7 +79148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1357;
show create table s;
Table Create Table
@@ -79156,7 +79156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1356;
show create table s;
Table Create Table
@@ -79164,7 +79164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1355;
show create table s;
Table Create Table
@@ -79172,7 +79172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1354;
show create table s;
Table Create Table
@@ -79180,7 +79180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1353;
show create table s;
Table Create Table
@@ -79188,7 +79188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1352;
show create table s;
Table Create Table
@@ -79196,7 +79196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1351;
show create table s;
Table Create Table
@@ -79204,7 +79204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1350;
show create table s;
Table Create Table
@@ -79212,7 +79212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1349;
show create table s;
Table Create Table
@@ -79220,7 +79220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1348;
show create table s;
Table Create Table
@@ -79228,7 +79228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1347;
show create table s;
Table Create Table
@@ -79236,7 +79236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1346;
show create table s;
Table Create Table
@@ -79244,7 +79244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1345;
show create table s;
Table Create Table
@@ -79252,7 +79252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1344;
show create table s;
Table Create Table
@@ -79260,7 +79260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1343;
show create table s;
Table Create Table
@@ -79268,7 +79268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1342;
show create table s;
Table Create Table
@@ -79276,7 +79276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1341;
show create table s;
Table Create Table
@@ -79284,7 +79284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1340;
show create table s;
Table Create Table
@@ -79292,7 +79292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1339;
show create table s;
Table Create Table
@@ -79300,7 +79300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1338;
show create table s;
Table Create Table
@@ -79308,7 +79308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1337;
show create table s;
Table Create Table
@@ -79316,7 +79316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1336;
show create table s;
Table Create Table
@@ -79324,7 +79324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1335;
show create table s;
Table Create Table
@@ -79332,7 +79332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1334;
show create table s;
Table Create Table
@@ -79340,7 +79340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1333;
show create table s;
Table Create Table
@@ -79348,7 +79348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1332;
show create table s;
Table Create Table
@@ -79356,7 +79356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1331;
show create table s;
Table Create Table
@@ -79364,7 +79364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1330;
show create table s;
Table Create Table
@@ -79372,7 +79372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1329;
show create table s;
Table Create Table
@@ -79380,7 +79380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1328;
show create table s;
Table Create Table
@@ -79388,7 +79388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1327;
show create table s;
Table Create Table
@@ -79396,7 +79396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1326;
show create table s;
Table Create Table
@@ -79404,7 +79404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1325;
show create table s;
Table Create Table
@@ -79412,7 +79412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1324;
show create table s;
Table Create Table
@@ -79420,7 +79420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1323;
show create table s;
Table Create Table
@@ -79428,7 +79428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1322;
show create table s;
Table Create Table
@@ -79436,7 +79436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1321;
show create table s;
Table Create Table
@@ -79444,7 +79444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1320;
show create table s;
Table Create Table
@@ -79452,7 +79452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1319;
show create table s;
Table Create Table
@@ -79460,7 +79460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1318;
show create table s;
Table Create Table
@@ -79468,7 +79468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1317;
show create table s;
Table Create Table
@@ -79476,7 +79476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1316;
show create table s;
Table Create Table
@@ -79484,7 +79484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1315;
show create table s;
Table Create Table
@@ -79492,7 +79492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1314;
show create table s;
Table Create Table
@@ -79500,7 +79500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1313;
show create table s;
Table Create Table
@@ -79508,7 +79508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1312;
show create table s;
Table Create Table
@@ -79516,7 +79516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1311;
show create table s;
Table Create Table
@@ -79524,7 +79524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1310;
show create table s;
Table Create Table
@@ -79532,7 +79532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1309;
show create table s;
Table Create Table
@@ -79540,7 +79540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1308;
show create table s;
Table Create Table
@@ -79548,7 +79548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1307;
show create table s;
Table Create Table
@@ -79556,7 +79556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1306;
show create table s;
Table Create Table
@@ -79564,7 +79564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1305;
show create table s;
Table Create Table
@@ -79572,7 +79572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1304;
show create table s;
Table Create Table
@@ -79580,7 +79580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1303;
show create table s;
Table Create Table
@@ -79588,7 +79588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1302;
show create table s;
Table Create Table
@@ -79596,7 +79596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1301;
show create table s;
Table Create Table
@@ -79604,7 +79604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1300;
show create table s;
Table Create Table
@@ -79612,7 +79612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1299;
show create table s;
Table Create Table
@@ -79620,7 +79620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1298;
show create table s;
Table Create Table
@@ -79628,7 +79628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1297;
show create table s;
Table Create Table
@@ -79636,7 +79636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1296;
show create table s;
Table Create Table
@@ -79644,7 +79644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1295;
show create table s;
Table Create Table
@@ -79652,7 +79652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1294;
show create table s;
Table Create Table
@@ -79660,7 +79660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1293;
show create table s;
Table Create Table
@@ -79668,7 +79668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1292;
show create table s;
Table Create Table
@@ -79676,7 +79676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1291;
show create table s;
Table Create Table
@@ -79684,7 +79684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1290;
show create table s;
Table Create Table
@@ -79692,7 +79692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1289;
show create table s;
Table Create Table
@@ -79700,7 +79700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1288;
show create table s;
Table Create Table
@@ -79708,7 +79708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1287;
show create table s;
Table Create Table
@@ -79716,7 +79716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1286;
show create table s;
Table Create Table
@@ -79724,7 +79724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1285;
show create table s;
Table Create Table
@@ -79732,7 +79732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1284;
show create table s;
Table Create Table
@@ -79740,7 +79740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1283;
show create table s;
Table Create Table
@@ -79748,7 +79748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1282;
show create table s;
Table Create Table
@@ -79756,7 +79756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1281;
show create table s;
Table Create Table
@@ -79764,7 +79764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1280;
show create table s;
Table Create Table
@@ -79772,7 +79772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1279;
show create table s;
Table Create Table
@@ -79780,7 +79780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1278;
show create table s;
Table Create Table
@@ -79788,7 +79788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1277;
show create table s;
Table Create Table
@@ -79796,7 +79796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1276;
show create table s;
Table Create Table
@@ -79804,7 +79804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1275;
show create table s;
Table Create Table
@@ -79812,7 +79812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1274;
show create table s;
Table Create Table
@@ -79820,7 +79820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1273;
show create table s;
Table Create Table
@@ -79828,7 +79828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1272;
show create table s;
Table Create Table
@@ -79836,7 +79836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1271;
show create table s;
Table Create Table
@@ -79844,7 +79844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1270;
show create table s;
Table Create Table
@@ -79852,7 +79852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1269;
show create table s;
Table Create Table
@@ -79860,7 +79860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1268;
show create table s;
Table Create Table
@@ -79868,7 +79868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1267;
show create table s;
Table Create Table
@@ -79876,7 +79876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1266;
show create table s;
Table Create Table
@@ -79884,7 +79884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1265;
show create table s;
Table Create Table
@@ -79892,7 +79892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1264;
show create table s;
Table Create Table
@@ -79900,7 +79900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1263;
show create table s;
Table Create Table
@@ -79908,7 +79908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1262;
show create table s;
Table Create Table
@@ -79916,7 +79916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1261;
show create table s;
Table Create Table
@@ -79924,7 +79924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1260;
show create table s;
Table Create Table
@@ -79932,7 +79932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1259;
show create table s;
Table Create Table
@@ -79940,7 +79940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1258;
show create table s;
Table Create Table
@@ -79948,7 +79948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1257;
show create table s;
Table Create Table
@@ -79956,7 +79956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1256;
show create table s;
Table Create Table
@@ -79964,7 +79964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1255;
show create table s;
Table Create Table
@@ -79972,7 +79972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1254;
show create table s;
Table Create Table
@@ -79980,7 +79980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1253;
show create table s;
Table Create Table
@@ -79988,7 +79988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1252;
show create table s;
Table Create Table
@@ -79996,7 +79996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1251;
show create table s;
Table Create Table
@@ -80004,7 +80004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1250;
show create table s;
Table Create Table
@@ -80012,7 +80012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1249;
show create table s;
Table Create Table
@@ -80020,7 +80020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1248;
show create table s;
Table Create Table
@@ -80028,7 +80028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1247;
show create table s;
Table Create Table
@@ -80036,7 +80036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1246;
show create table s;
Table Create Table
@@ -80044,7 +80044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1245;
show create table s;
Table Create Table
@@ -80052,7 +80052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1244;
show create table s;
Table Create Table
@@ -80060,7 +80060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1243;
show create table s;
Table Create Table
@@ -80068,7 +80068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1242;
show create table s;
Table Create Table
@@ -80076,7 +80076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1241;
show create table s;
Table Create Table
@@ -80084,7 +80084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1240;
show create table s;
Table Create Table
@@ -80092,7 +80092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1239;
show create table s;
Table Create Table
@@ -80100,7 +80100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1238;
show create table s;
Table Create Table
@@ -80108,7 +80108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1237;
show create table s;
Table Create Table
@@ -80116,7 +80116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1236;
show create table s;
Table Create Table
@@ -80124,7 +80124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1235;
show create table s;
Table Create Table
@@ -80132,7 +80132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1234;
show create table s;
Table Create Table
@@ -80140,7 +80140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1233;
show create table s;
Table Create Table
@@ -80148,7 +80148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1232;
show create table s;
Table Create Table
@@ -80156,7 +80156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1231;
show create table s;
Table Create Table
@@ -80164,7 +80164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1230;
show create table s;
Table Create Table
@@ -80172,7 +80172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1229;
show create table s;
Table Create Table
@@ -80180,7 +80180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1228;
show create table s;
Table Create Table
@@ -80188,7 +80188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1227;
show create table s;
Table Create Table
@@ -80196,7 +80196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1226;
show create table s;
Table Create Table
@@ -80204,7 +80204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1225;
show create table s;
Table Create Table
@@ -80212,7 +80212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1224;
show create table s;
Table Create Table
@@ -80220,7 +80220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1223;
show create table s;
Table Create Table
@@ -80228,7 +80228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1222;
show create table s;
Table Create Table
@@ -80236,7 +80236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1221;
show create table s;
Table Create Table
@@ -80244,7 +80244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1220;
show create table s;
Table Create Table
@@ -80252,7 +80252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1219;
show create table s;
Table Create Table
@@ -80260,7 +80260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1218;
show create table s;
Table Create Table
@@ -80268,7 +80268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1217;
show create table s;
Table Create Table
@@ -80276,7 +80276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1216;
show create table s;
Table Create Table
@@ -80284,7 +80284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1215;
show create table s;
Table Create Table
@@ -80292,7 +80292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1214;
show create table s;
Table Create Table
@@ -80300,7 +80300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1213;
show create table s;
Table Create Table
@@ -80308,7 +80308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1212;
show create table s;
Table Create Table
@@ -80316,7 +80316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1211;
show create table s;
Table Create Table
@@ -80324,7 +80324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1210;
show create table s;
Table Create Table
@@ -80332,7 +80332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1209;
show create table s;
Table Create Table
@@ -80340,7 +80340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1208;
show create table s;
Table Create Table
@@ -80348,7 +80348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1207;
show create table s;
Table Create Table
@@ -80356,7 +80356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1206;
show create table s;
Table Create Table
@@ -80364,7 +80364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1205;
show create table s;
Table Create Table
@@ -80372,7 +80372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1204;
show create table s;
Table Create Table
@@ -80380,7 +80380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1203;
show create table s;
Table Create Table
@@ -80388,7 +80388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1202;
show create table s;
Table Create Table
@@ -80396,7 +80396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1201;
show create table s;
Table Create Table
@@ -80404,7 +80404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1200;
show create table s;
Table Create Table
@@ -80412,7 +80412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1199;
show create table s;
Table Create Table
@@ -80420,7 +80420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1198;
show create table s;
Table Create Table
@@ -80428,7 +80428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1197;
show create table s;
Table Create Table
@@ -80436,7 +80436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1196;
show create table s;
Table Create Table
@@ -80444,7 +80444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1195;
show create table s;
Table Create Table
@@ -80452,7 +80452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1194;
show create table s;
Table Create Table
@@ -80460,7 +80460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1193;
show create table s;
Table Create Table
@@ -80468,7 +80468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1192;
show create table s;
Table Create Table
@@ -80476,7 +80476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1191;
show create table s;
Table Create Table
@@ -80484,7 +80484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1190;
show create table s;
Table Create Table
@@ -80492,7 +80492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1189;
show create table s;
Table Create Table
@@ -80500,7 +80500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1188;
show create table s;
Table Create Table
@@ -80508,7 +80508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1187;
show create table s;
Table Create Table
@@ -80516,7 +80516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1186;
show create table s;
Table Create Table
@@ -80524,7 +80524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1185;
show create table s;
Table Create Table
@@ -80532,7 +80532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1184;
show create table s;
Table Create Table
@@ -80540,7 +80540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1183;
show create table s;
Table Create Table
@@ -80548,7 +80548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1182;
show create table s;
Table Create Table
@@ -80556,7 +80556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1181;
show create table s;
Table Create Table
@@ -80564,7 +80564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1180;
show create table s;
Table Create Table
@@ -80572,7 +80572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1179;
show create table s;
Table Create Table
@@ -80580,7 +80580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1178;
show create table s;
Table Create Table
@@ -80588,7 +80588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1177;
show create table s;
Table Create Table
@@ -80596,7 +80596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1176;
show create table s;
Table Create Table
@@ -80604,7 +80604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1175;
show create table s;
Table Create Table
@@ -80612,7 +80612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1174;
show create table s;
Table Create Table
@@ -80620,7 +80620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1173;
show create table s;
Table Create Table
@@ -80628,7 +80628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1172;
show create table s;
Table Create Table
@@ -80636,7 +80636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1171;
show create table s;
Table Create Table
@@ -80644,7 +80644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1170;
show create table s;
Table Create Table
@@ -80652,7 +80652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1169;
show create table s;
Table Create Table
@@ -80660,7 +80660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1168;
show create table s;
Table Create Table
@@ -80668,7 +80668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1167;
show create table s;
Table Create Table
@@ -80676,7 +80676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1166;
show create table s;
Table Create Table
@@ -80684,7 +80684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1165;
show create table s;
Table Create Table
@@ -80692,7 +80692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1164;
show create table s;
Table Create Table
@@ -80700,7 +80700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1163;
show create table s;
Table Create Table
@@ -80708,7 +80708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1162;
show create table s;
Table Create Table
@@ -80716,7 +80716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1161;
show create table s;
Table Create Table
@@ -80724,7 +80724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1160;
show create table s;
Table Create Table
@@ -80732,7 +80732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1159;
show create table s;
Table Create Table
@@ -80740,7 +80740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1158;
show create table s;
Table Create Table
@@ -80748,7 +80748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1157;
show create table s;
Table Create Table
@@ -80756,7 +80756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1156;
show create table s;
Table Create Table
@@ -80764,7 +80764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1155;
show create table s;
Table Create Table
@@ -80772,7 +80772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1154;
show create table s;
Table Create Table
@@ -80780,7 +80780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1153;
show create table s;
Table Create Table
@@ -80788,7 +80788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1152;
show create table s;
Table Create Table
@@ -80796,7 +80796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1151;
show create table s;
Table Create Table
@@ -80804,7 +80804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1150;
show create table s;
Table Create Table
@@ -80812,7 +80812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1149;
show create table s;
Table Create Table
@@ -80820,7 +80820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1148;
show create table s;
Table Create Table
@@ -80828,7 +80828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1147;
show create table s;
Table Create Table
@@ -80836,7 +80836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1146;
show create table s;
Table Create Table
@@ -80844,7 +80844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1145;
show create table s;
Table Create Table
@@ -80852,7 +80852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1144;
show create table s;
Table Create Table
@@ -80860,7 +80860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1143;
show create table s;
Table Create Table
@@ -80868,7 +80868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1142;
show create table s;
Table Create Table
@@ -80876,7 +80876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1141;
show create table s;
Table Create Table
@@ -80884,7 +80884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1140;
show create table s;
Table Create Table
@@ -80892,7 +80892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1139;
show create table s;
Table Create Table
@@ -80900,7 +80900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1138;
show create table s;
Table Create Table
@@ -80908,7 +80908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1137;
show create table s;
Table Create Table
@@ -80916,7 +80916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1136;
show create table s;
Table Create Table
@@ -80924,7 +80924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1135;
show create table s;
Table Create Table
@@ -80932,7 +80932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1134;
show create table s;
Table Create Table
@@ -80940,7 +80940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1133;
show create table s;
Table Create Table
@@ -80948,7 +80948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1132;
show create table s;
Table Create Table
@@ -80956,7 +80956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1131;
show create table s;
Table Create Table
@@ -80964,7 +80964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1130;
show create table s;
Table Create Table
@@ -80972,7 +80972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1129;
show create table s;
Table Create Table
@@ -80980,7 +80980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1128;
show create table s;
Table Create Table
@@ -80988,7 +80988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1127;
show create table s;
Table Create Table
@@ -80996,7 +80996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1126;
show create table s;
Table Create Table
@@ -81004,7 +81004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1125;
show create table s;
Table Create Table
@@ -81012,7 +81012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1124;
show create table s;
Table Create Table
@@ -81020,7 +81020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1123;
show create table s;
Table Create Table
@@ -81028,7 +81028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1122;
show create table s;
Table Create Table
@@ -81036,7 +81036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1121;
show create table s;
Table Create Table
@@ -81044,7 +81044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1120;
show create table s;
Table Create Table
@@ -81052,7 +81052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1119;
show create table s;
Table Create Table
@@ -81060,7 +81060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1118;
show create table s;
Table Create Table
@@ -81068,7 +81068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1117;
show create table s;
Table Create Table
@@ -81076,7 +81076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1116;
show create table s;
Table Create Table
@@ -81084,7 +81084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1115;
show create table s;
Table Create Table
@@ -81092,7 +81092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1114;
show create table s;
Table Create Table
@@ -81100,7 +81100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1113;
show create table s;
Table Create Table
@@ -81108,7 +81108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1112;
show create table s;
Table Create Table
@@ -81116,7 +81116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1111;
show create table s;
Table Create Table
@@ -81124,7 +81124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1110;
show create table s;
Table Create Table
@@ -81132,7 +81132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1109;
show create table s;
Table Create Table
@@ -81140,7 +81140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1108;
show create table s;
Table Create Table
@@ -81148,7 +81148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1107;
show create table s;
Table Create Table
@@ -81156,7 +81156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1106;
show create table s;
Table Create Table
@@ -81164,7 +81164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1105;
show create table s;
Table Create Table
@@ -81172,7 +81172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1104;
show create table s;
Table Create Table
@@ -81180,7 +81180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1103;
show create table s;
Table Create Table
@@ -81188,7 +81188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1102;
show create table s;
Table Create Table
@@ -81196,7 +81196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1101;
show create table s;
Table Create Table
@@ -81204,7 +81204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1100;
show create table s;
Table Create Table
@@ -81212,7 +81212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1099;
show create table s;
Table Create Table
@@ -81220,7 +81220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1098;
show create table s;
Table Create Table
@@ -81228,7 +81228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1097;
show create table s;
Table Create Table
@@ -81236,7 +81236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1096;
show create table s;
Table Create Table
@@ -81244,7 +81244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1095;
show create table s;
Table Create Table
@@ -81252,7 +81252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1094;
show create table s;
Table Create Table
@@ -81260,7 +81260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1093;
show create table s;
Table Create Table
@@ -81268,7 +81268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1092;
show create table s;
Table Create Table
@@ -81276,7 +81276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1091;
show create table s;
Table Create Table
@@ -81284,7 +81284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1090;
show create table s;
Table Create Table
@@ -81292,7 +81292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1089;
show create table s;
Table Create Table
@@ -81300,7 +81300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1088;
show create table s;
Table Create Table
@@ -81308,7 +81308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1087;
show create table s;
Table Create Table
@@ -81316,7 +81316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1086;
show create table s;
Table Create Table
@@ -81324,7 +81324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1085;
show create table s;
Table Create Table
@@ -81332,7 +81332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1084;
show create table s;
Table Create Table
@@ -81340,7 +81340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1083;
show create table s;
Table Create Table
@@ -81348,7 +81348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1082;
show create table s;
Table Create Table
@@ -81356,7 +81356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1081;
show create table s;
Table Create Table
@@ -81364,7 +81364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1080;
show create table s;
Table Create Table
@@ -81372,7 +81372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1079;
show create table s;
Table Create Table
@@ -81380,7 +81380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1078;
show create table s;
Table Create Table
@@ -81388,7 +81388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1077;
show create table s;
Table Create Table
@@ -81396,7 +81396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1076;
show create table s;
Table Create Table
@@ -81404,7 +81404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1075;
show create table s;
Table Create Table
@@ -81412,7 +81412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1074;
show create table s;
Table Create Table
@@ -81420,7 +81420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1073;
show create table s;
Table Create Table
@@ -81428,7 +81428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1072;
show create table s;
Table Create Table
@@ -81436,7 +81436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1071;
show create table s;
Table Create Table
@@ -81444,7 +81444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1070;
show create table s;
Table Create Table
@@ -81452,7 +81452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1069;
show create table s;
Table Create Table
@@ -81460,7 +81460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1068;
show create table s;
Table Create Table
@@ -81468,7 +81468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1067;
show create table s;
Table Create Table
@@ -81476,7 +81476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1066;
show create table s;
Table Create Table
@@ -81484,7 +81484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1065;
show create table s;
Table Create Table
@@ -81492,7 +81492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1064;
show create table s;
Table Create Table
@@ -81500,7 +81500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1063;
show create table s;
Table Create Table
@@ -81508,7 +81508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1062;
show create table s;
Table Create Table
@@ -81516,7 +81516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1061;
show create table s;
Table Create Table
@@ -81524,7 +81524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1060;
show create table s;
Table Create Table
@@ -81532,7 +81532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1059;
show create table s;
Table Create Table
@@ -81540,7 +81540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1058;
show create table s;
Table Create Table
@@ -81548,7 +81548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1057;
show create table s;
Table Create Table
@@ -81556,7 +81556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1056;
show create table s;
Table Create Table
@@ -81564,7 +81564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1055;
show create table s;
Table Create Table
@@ -81572,7 +81572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1054;
show create table s;
Table Create Table
@@ -81580,7 +81580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1053;
show create table s;
Table Create Table
@@ -81588,7 +81588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1052;
show create table s;
Table Create Table
@@ -81596,7 +81596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1051;
show create table s;
Table Create Table
@@ -81604,7 +81604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1050;
show create table s;
Table Create Table
@@ -81612,7 +81612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1049;
show create table s;
Table Create Table
@@ -81620,7 +81620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1048;
show create table s;
Table Create Table
@@ -81628,7 +81628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1047;
show create table s;
Table Create Table
@@ -81636,7 +81636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1046;
show create table s;
Table Create Table
@@ -81644,7 +81644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1045;
show create table s;
Table Create Table
@@ -81652,7 +81652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1044;
show create table s;
Table Create Table
@@ -81660,7 +81660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1043;
show create table s;
Table Create Table
@@ -81668,7 +81668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1042;
show create table s;
Table Create Table
@@ -81676,7 +81676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1041;
show create table s;
Table Create Table
@@ -81684,7 +81684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1040;
show create table s;
Table Create Table
@@ -81692,7 +81692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1039;
show create table s;
Table Create Table
@@ -81700,7 +81700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1038;
show create table s;
Table Create Table
@@ -81708,7 +81708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1037;
show create table s;
Table Create Table
@@ -81716,7 +81716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1036;
show create table s;
Table Create Table
@@ -81724,7 +81724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1035;
show create table s;
Table Create Table
@@ -81732,7 +81732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1034;
show create table s;
Table Create Table
@@ -81740,7 +81740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1033;
show create table s;
Table Create Table
@@ -81748,7 +81748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1032;
show create table s;
Table Create Table
@@ -81756,7 +81756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1031;
show create table s;
Table Create Table
@@ -81764,7 +81764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1030;
show create table s;
Table Create Table
@@ -81772,7 +81772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1029;
show create table s;
Table Create Table
@@ -81780,7 +81780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1028;
show create table s;
Table Create Table
@@ -81788,7 +81788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1027;
show create table s;
Table Create Table
@@ -81796,7 +81796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1026;
show create table s;
Table Create Table
@@ -81804,7 +81804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1025;
show create table s;
Table Create Table
@@ -81812,7 +81812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1024;
show create table s;
Table Create Table
@@ -81820,7 +81820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1023;
show create table s;
Table Create Table
@@ -81828,7 +81828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1022;
show create table s;
Table Create Table
@@ -81836,7 +81836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1021;
show create table s;
Table Create Table
@@ -81844,7 +81844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1020;
show create table s;
Table Create Table
@@ -81852,7 +81852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1019;
show create table s;
Table Create Table
@@ -81860,7 +81860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1018;
show create table s;
Table Create Table
@@ -81868,7 +81868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1017;
show create table s;
Table Create Table
@@ -81876,7 +81876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1016;
show create table s;
Table Create Table
@@ -81884,7 +81884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1015;
show create table s;
Table Create Table
@@ -81892,7 +81892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1014;
show create table s;
Table Create Table
@@ -81900,7 +81900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1013;
show create table s;
Table Create Table
@@ -81908,7 +81908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1012;
show create table s;
Table Create Table
@@ -81916,7 +81916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1011;
show create table s;
Table Create Table
@@ -81924,7 +81924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1010;
show create table s;
Table Create Table
@@ -81932,7 +81932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1009;
show create table s;
Table Create Table
@@ -81940,7 +81940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1008;
show create table s;
Table Create Table
@@ -81948,7 +81948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1007;
show create table s;
Table Create Table
@@ -81956,7 +81956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1006;
show create table s;
Table Create Table
@@ -81964,7 +81964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1005;
show create table s;
Table Create Table
@@ -81972,7 +81972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1004;
show create table s;
Table Create Table
@@ -81980,7 +81980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1003;
show create table s;
Table Create Table
@@ -81988,7 +81988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1002;
show create table s;
Table Create Table
@@ -81996,7 +81996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1001;
show create table s;
Table Create Table
@@ -82004,7 +82004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1000;
show create table s;
Table Create Table
@@ -82012,7 +82012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=999;
show create table s;
Table Create Table
@@ -82020,7 +82020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=998;
show create table s;
Table Create Table
@@ -82028,7 +82028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=997;
show create table s;
Table Create Table
@@ -82036,7 +82036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=996;
show create table s;
Table Create Table
@@ -82044,7 +82044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=995;
show create table s;
Table Create Table
@@ -82052,7 +82052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=994;
show create table s;
Table Create Table
@@ -82060,7 +82060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=993;
show create table s;
Table Create Table
@@ -82068,7 +82068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=992;
show create table s;
Table Create Table
@@ -82076,7 +82076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=991;
show create table s;
Table Create Table
@@ -82084,7 +82084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=990;
show create table s;
Table Create Table
@@ -82092,7 +82092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=989;
show create table s;
Table Create Table
@@ -82100,7 +82100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=988;
show create table s;
Table Create Table
@@ -82108,7 +82108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=987;
show create table s;
Table Create Table
@@ -82116,7 +82116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=986;
show create table s;
Table Create Table
@@ -82124,7 +82124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=985;
show create table s;
Table Create Table
@@ -82132,7 +82132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=984;
show create table s;
Table Create Table
@@ -82140,7 +82140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=983;
show create table s;
Table Create Table
@@ -82148,7 +82148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=982;
show create table s;
Table Create Table
@@ -82156,7 +82156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=981;
show create table s;
Table Create Table
@@ -82164,7 +82164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=980;
show create table s;
Table Create Table
@@ -82172,7 +82172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=979;
show create table s;
Table Create Table
@@ -82180,7 +82180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=978;
show create table s;
Table Create Table
@@ -82188,7 +82188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=977;
show create table s;
Table Create Table
@@ -82196,7 +82196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=976;
show create table s;
Table Create Table
@@ -82204,7 +82204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=975;
show create table s;
Table Create Table
@@ -82212,7 +82212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=974;
show create table s;
Table Create Table
@@ -82220,7 +82220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=973;
show create table s;
Table Create Table
@@ -82228,7 +82228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=972;
show create table s;
Table Create Table
@@ -82236,7 +82236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=971;
show create table s;
Table Create Table
@@ -82244,7 +82244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=970;
show create table s;
Table Create Table
@@ -82252,7 +82252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=969;
show create table s;
Table Create Table
@@ -82260,7 +82260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=968;
show create table s;
Table Create Table
@@ -82268,7 +82268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=967;
show create table s;
Table Create Table
@@ -82276,7 +82276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=966;
show create table s;
Table Create Table
@@ -82284,7 +82284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=965;
show create table s;
Table Create Table
@@ -82292,7 +82292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=964;
show create table s;
Table Create Table
@@ -82300,7 +82300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=963;
show create table s;
Table Create Table
@@ -82308,7 +82308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=962;
show create table s;
Table Create Table
@@ -82316,7 +82316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=961;
show create table s;
Table Create Table
@@ -82324,7 +82324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=960;
show create table s;
Table Create Table
@@ -82332,7 +82332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=959;
show create table s;
Table Create Table
@@ -82340,7 +82340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=958;
show create table s;
Table Create Table
@@ -82348,7 +82348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=957;
show create table s;
Table Create Table
@@ -82356,7 +82356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=956;
show create table s;
Table Create Table
@@ -82364,7 +82364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=955;
show create table s;
Table Create Table
@@ -82372,7 +82372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=954;
show create table s;
Table Create Table
@@ -82380,7 +82380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=953;
show create table s;
Table Create Table
@@ -82388,7 +82388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=952;
show create table s;
Table Create Table
@@ -82396,7 +82396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=951;
show create table s;
Table Create Table
@@ -82404,7 +82404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=950;
show create table s;
Table Create Table
@@ -82412,7 +82412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=949;
show create table s;
Table Create Table
@@ -82420,7 +82420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=948;
show create table s;
Table Create Table
@@ -82428,7 +82428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=947;
show create table s;
Table Create Table
@@ -82436,7 +82436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=946;
show create table s;
Table Create Table
@@ -82444,7 +82444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=945;
show create table s;
Table Create Table
@@ -82452,7 +82452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=944;
show create table s;
Table Create Table
@@ -82460,7 +82460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=943;
show create table s;
Table Create Table
@@ -82468,7 +82468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=942;
show create table s;
Table Create Table
@@ -82476,7 +82476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=941;
show create table s;
Table Create Table
@@ -82484,7 +82484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=940;
show create table s;
Table Create Table
@@ -82492,7 +82492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=939;
show create table s;
Table Create Table
@@ -82500,7 +82500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=938;
show create table s;
Table Create Table
@@ -82508,7 +82508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=937;
show create table s;
Table Create Table
@@ -82516,7 +82516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=936;
show create table s;
Table Create Table
@@ -82524,7 +82524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=935;
show create table s;
Table Create Table
@@ -82532,7 +82532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=934;
show create table s;
Table Create Table
@@ -82540,7 +82540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=933;
show create table s;
Table Create Table
@@ -82548,7 +82548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=932;
show create table s;
Table Create Table
@@ -82556,7 +82556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=931;
show create table s;
Table Create Table
@@ -82564,7 +82564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=930;
show create table s;
Table Create Table
@@ -82572,7 +82572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=929;
show create table s;
Table Create Table
@@ -82580,7 +82580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=928;
show create table s;
Table Create Table
@@ -82588,7 +82588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=927;
show create table s;
Table Create Table
@@ -82596,7 +82596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=926;
show create table s;
Table Create Table
@@ -82604,7 +82604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=925;
show create table s;
Table Create Table
@@ -82612,7 +82612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=924;
show create table s;
Table Create Table
@@ -82620,7 +82620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=923;
show create table s;
Table Create Table
@@ -82628,7 +82628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=922;
show create table s;
Table Create Table
@@ -82636,7 +82636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=921;
show create table s;
Table Create Table
@@ -82644,7 +82644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=920;
show create table s;
Table Create Table
@@ -82652,7 +82652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=919;
show create table s;
Table Create Table
@@ -82660,7 +82660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=918;
show create table s;
Table Create Table
@@ -82668,7 +82668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=917;
show create table s;
Table Create Table
@@ -82676,7 +82676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=916;
show create table s;
Table Create Table
@@ -82684,7 +82684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=915;
show create table s;
Table Create Table
@@ -82692,7 +82692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=914;
show create table s;
Table Create Table
@@ -82700,7 +82700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=913;
show create table s;
Table Create Table
@@ -82708,7 +82708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=912;
show create table s;
Table Create Table
@@ -82716,7 +82716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=911;
show create table s;
Table Create Table
@@ -82724,7 +82724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=910;
show create table s;
Table Create Table
@@ -82732,7 +82732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=909;
show create table s;
Table Create Table
@@ -82740,7 +82740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=908;
show create table s;
Table Create Table
@@ -82748,7 +82748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=907;
show create table s;
Table Create Table
@@ -82756,7 +82756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=906;
show create table s;
Table Create Table
@@ -82764,7 +82764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=905;
show create table s;
Table Create Table
@@ -82772,7 +82772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=904;
show create table s;
Table Create Table
@@ -82780,7 +82780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=903;
show create table s;
Table Create Table
@@ -82788,7 +82788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=902;
show create table s;
Table Create Table
@@ -82796,7 +82796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=901;
show create table s;
Table Create Table
@@ -82804,7 +82804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=900;
show create table s;
Table Create Table
@@ -82812,7 +82812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=899;
show create table s;
Table Create Table
@@ -82820,7 +82820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=898;
show create table s;
Table Create Table
@@ -82828,7 +82828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=897;
show create table s;
Table Create Table
@@ -82836,7 +82836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=896;
show create table s;
Table Create Table
@@ -82844,7 +82844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=895;
show create table s;
Table Create Table
@@ -82852,7 +82852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=894;
show create table s;
Table Create Table
@@ -82860,7 +82860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=893;
show create table s;
Table Create Table
@@ -82868,7 +82868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=892;
show create table s;
Table Create Table
@@ -82876,7 +82876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=891;
show create table s;
Table Create Table
@@ -82884,7 +82884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=890;
show create table s;
Table Create Table
@@ -82892,7 +82892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=889;
show create table s;
Table Create Table
@@ -82900,7 +82900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=888;
show create table s;
Table Create Table
@@ -82908,7 +82908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=887;
show create table s;
Table Create Table
@@ -82916,7 +82916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=886;
show create table s;
Table Create Table
@@ -82924,7 +82924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=885;
show create table s;
Table Create Table
@@ -82932,7 +82932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=884;
show create table s;
Table Create Table
@@ -82940,7 +82940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=883;
show create table s;
Table Create Table
@@ -82948,7 +82948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=882;
show create table s;
Table Create Table
@@ -82956,7 +82956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=881;
show create table s;
Table Create Table
@@ -82964,7 +82964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=880;
show create table s;
Table Create Table
@@ -82972,7 +82972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=879;
show create table s;
Table Create Table
@@ -82980,7 +82980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=878;
show create table s;
Table Create Table
@@ -82988,7 +82988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=877;
show create table s;
Table Create Table
@@ -82996,7 +82996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=876;
show create table s;
Table Create Table
@@ -83004,7 +83004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=875;
show create table s;
Table Create Table
@@ -83012,7 +83012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=874;
show create table s;
Table Create Table
@@ -83020,7 +83020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=873;
show create table s;
Table Create Table
@@ -83028,7 +83028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=872;
show create table s;
Table Create Table
@@ -83036,7 +83036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=871;
show create table s;
Table Create Table
@@ -83044,7 +83044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=870;
show create table s;
Table Create Table
@@ -83052,7 +83052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=869;
show create table s;
Table Create Table
@@ -83060,7 +83060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=868;
show create table s;
Table Create Table
@@ -83068,7 +83068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=867;
show create table s;
Table Create Table
@@ -83076,7 +83076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=866;
show create table s;
Table Create Table
@@ -83084,7 +83084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=865;
show create table s;
Table Create Table
@@ -83092,7 +83092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=864;
show create table s;
Table Create Table
@@ -83100,7 +83100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=863;
show create table s;
Table Create Table
@@ -83108,7 +83108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=862;
show create table s;
Table Create Table
@@ -83116,7 +83116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=861;
show create table s;
Table Create Table
@@ -83124,7 +83124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=860;
show create table s;
Table Create Table
@@ -83132,7 +83132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=859;
show create table s;
Table Create Table
@@ -83140,7 +83140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=858;
show create table s;
Table Create Table
@@ -83148,7 +83148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=857;
show create table s;
Table Create Table
@@ -83156,7 +83156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=856;
show create table s;
Table Create Table
@@ -83164,7 +83164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=855;
show create table s;
Table Create Table
@@ -83172,7 +83172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=854;
show create table s;
Table Create Table
@@ -83180,7 +83180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=853;
show create table s;
Table Create Table
@@ -83188,7 +83188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=852;
show create table s;
Table Create Table
@@ -83196,7 +83196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=851;
show create table s;
Table Create Table
@@ -83204,7 +83204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=850;
show create table s;
Table Create Table
@@ -83212,7 +83212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=849;
show create table s;
Table Create Table
@@ -83220,7 +83220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=848;
show create table s;
Table Create Table
@@ -83228,7 +83228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=847;
show create table s;
Table Create Table
@@ -83236,7 +83236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=846;
show create table s;
Table Create Table
@@ -83244,7 +83244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=845;
show create table s;
Table Create Table
@@ -83252,7 +83252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=844;
show create table s;
Table Create Table
@@ -83260,7 +83260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=843;
show create table s;
Table Create Table
@@ -83268,7 +83268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=842;
show create table s;
Table Create Table
@@ -83276,7 +83276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=841;
show create table s;
Table Create Table
@@ -83284,7 +83284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=840;
show create table s;
Table Create Table
@@ -83292,7 +83292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=839;
show create table s;
Table Create Table
@@ -83300,7 +83300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=838;
show create table s;
Table Create Table
@@ -83308,7 +83308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=837;
show create table s;
Table Create Table
@@ -83316,7 +83316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=836;
show create table s;
Table Create Table
@@ -83324,7 +83324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=835;
show create table s;
Table Create Table
@@ -83332,7 +83332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=834;
show create table s;
Table Create Table
@@ -83340,7 +83340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=833;
show create table s;
Table Create Table
@@ -83348,7 +83348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=832;
show create table s;
Table Create Table
@@ -83356,7 +83356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=831;
show create table s;
Table Create Table
@@ -83364,7 +83364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=830;
show create table s;
Table Create Table
@@ -83372,7 +83372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=829;
show create table s;
Table Create Table
@@ -83380,7 +83380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=828;
show create table s;
Table Create Table
@@ -83388,7 +83388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=827;
show create table s;
Table Create Table
@@ -83396,7 +83396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=826;
show create table s;
Table Create Table
@@ -83404,7 +83404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=825;
show create table s;
Table Create Table
@@ -83412,7 +83412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=824;
show create table s;
Table Create Table
@@ -83420,7 +83420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=823;
show create table s;
Table Create Table
@@ -83428,7 +83428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=822;
show create table s;
Table Create Table
@@ -83436,7 +83436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=821;
show create table s;
Table Create Table
@@ -83444,7 +83444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=820;
show create table s;
Table Create Table
@@ -83452,7 +83452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=819;
show create table s;
Table Create Table
@@ -83460,7 +83460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=818;
show create table s;
Table Create Table
@@ -83468,7 +83468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=817;
show create table s;
Table Create Table
@@ -83476,7 +83476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=816;
show create table s;
Table Create Table
@@ -83484,7 +83484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=815;
show create table s;
Table Create Table
@@ -83492,7 +83492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=814;
show create table s;
Table Create Table
@@ -83500,7 +83500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=813;
show create table s;
Table Create Table
@@ -83508,7 +83508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=812;
show create table s;
Table Create Table
@@ -83516,7 +83516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=811;
show create table s;
Table Create Table
@@ -83524,7 +83524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=810;
show create table s;
Table Create Table
@@ -83532,7 +83532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=809;
show create table s;
Table Create Table
@@ -83540,7 +83540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=808;
show create table s;
Table Create Table
@@ -83548,7 +83548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=807;
show create table s;
Table Create Table
@@ -83556,7 +83556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=806;
show create table s;
Table Create Table
@@ -83564,7 +83564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=805;
show create table s;
Table Create Table
@@ -83572,7 +83572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=804;
show create table s;
Table Create Table
@@ -83580,7 +83580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=803;
show create table s;
Table Create Table
@@ -83588,7 +83588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=802;
show create table s;
Table Create Table
@@ -83596,7 +83596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=801;
show create table s;
Table Create Table
@@ -83604,7 +83604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=800;
show create table s;
Table Create Table
@@ -83612,7 +83612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=799;
show create table s;
Table Create Table
@@ -83620,7 +83620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=798;
show create table s;
Table Create Table
@@ -83628,7 +83628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=797;
show create table s;
Table Create Table
@@ -83636,7 +83636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=796;
show create table s;
Table Create Table
@@ -83644,7 +83644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=795;
show create table s;
Table Create Table
@@ -83652,7 +83652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=794;
show create table s;
Table Create Table
@@ -83660,7 +83660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=793;
show create table s;
Table Create Table
@@ -83668,7 +83668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=792;
show create table s;
Table Create Table
@@ -83676,7 +83676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=791;
show create table s;
Table Create Table
@@ -83684,7 +83684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=790;
show create table s;
Table Create Table
@@ -83692,7 +83692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=789;
show create table s;
Table Create Table
@@ -83700,7 +83700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=788;
show create table s;
Table Create Table
@@ -83708,7 +83708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=787;
show create table s;
Table Create Table
@@ -83716,7 +83716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=786;
show create table s;
Table Create Table
@@ -83724,7 +83724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=785;
show create table s;
Table Create Table
@@ -83732,7 +83732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=784;
show create table s;
Table Create Table
@@ -83740,7 +83740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=783;
show create table s;
Table Create Table
@@ -83748,7 +83748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=782;
show create table s;
Table Create Table
@@ -83756,7 +83756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=781;
show create table s;
Table Create Table
@@ -83764,7 +83764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=780;
show create table s;
Table Create Table
@@ -83772,7 +83772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=779;
show create table s;
Table Create Table
@@ -83780,7 +83780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=778;
show create table s;
Table Create Table
@@ -83788,7 +83788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=777;
show create table s;
Table Create Table
@@ -83796,7 +83796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=776;
show create table s;
Table Create Table
@@ -83804,7 +83804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=775;
show create table s;
Table Create Table
@@ -83812,7 +83812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=774;
show create table s;
Table Create Table
@@ -83820,7 +83820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=773;
show create table s;
Table Create Table
@@ -83828,7 +83828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=772;
show create table s;
Table Create Table
@@ -83836,7 +83836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=771;
show create table s;
Table Create Table
@@ -83844,7 +83844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=770;
show create table s;
Table Create Table
@@ -83852,7 +83852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=769;
show create table s;
Table Create Table
@@ -83860,7 +83860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=768;
show create table s;
Table Create Table
@@ -83868,7 +83868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=767;
show create table s;
Table Create Table
@@ -83876,7 +83876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=766;
show create table s;
Table Create Table
@@ -83884,7 +83884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=765;
show create table s;
Table Create Table
@@ -83892,7 +83892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=764;
show create table s;
Table Create Table
@@ -83900,7 +83900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=763;
show create table s;
Table Create Table
@@ -83908,7 +83908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=762;
show create table s;
Table Create Table
@@ -83916,7 +83916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=761;
show create table s;
Table Create Table
@@ -83924,7 +83924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=760;
show create table s;
Table Create Table
@@ -83932,7 +83932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=759;
show create table s;
Table Create Table
@@ -83940,7 +83940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=758;
show create table s;
Table Create Table
@@ -83948,7 +83948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=757;
show create table s;
Table Create Table
@@ -83956,7 +83956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=756;
show create table s;
Table Create Table
@@ -83964,7 +83964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=755;
show create table s;
Table Create Table
@@ -83972,7 +83972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=754;
show create table s;
Table Create Table
@@ -83980,7 +83980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=753;
show create table s;
Table Create Table
@@ -83988,7 +83988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=752;
show create table s;
Table Create Table
@@ -83996,7 +83996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=751;
show create table s;
Table Create Table
@@ -84004,7 +84004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=750;
show create table s;
Table Create Table
@@ -84012,7 +84012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=749;
show create table s;
Table Create Table
@@ -84020,7 +84020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=748;
show create table s;
Table Create Table
@@ -84028,7 +84028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=747;
show create table s;
Table Create Table
@@ -84036,7 +84036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=746;
show create table s;
Table Create Table
@@ -84044,7 +84044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=745;
show create table s;
Table Create Table
@@ -84052,7 +84052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=744;
show create table s;
Table Create Table
@@ -84060,7 +84060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=743;
show create table s;
Table Create Table
@@ -84068,7 +84068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=742;
show create table s;
Table Create Table
@@ -84076,7 +84076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=741;
show create table s;
Table Create Table
@@ -84084,7 +84084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=740;
show create table s;
Table Create Table
@@ -84092,7 +84092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=739;
show create table s;
Table Create Table
@@ -84100,7 +84100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=738;
show create table s;
Table Create Table
@@ -84108,7 +84108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=737;
show create table s;
Table Create Table
@@ -84116,7 +84116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=736;
show create table s;
Table Create Table
@@ -84124,7 +84124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=735;
show create table s;
Table Create Table
@@ -84132,7 +84132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=734;
show create table s;
Table Create Table
@@ -84140,7 +84140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=733;
show create table s;
Table Create Table
@@ -84148,7 +84148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=732;
show create table s;
Table Create Table
@@ -84156,7 +84156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=731;
show create table s;
Table Create Table
@@ -84164,7 +84164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=730;
show create table s;
Table Create Table
@@ -84172,7 +84172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=729;
show create table s;
Table Create Table
@@ -84180,7 +84180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=728;
show create table s;
Table Create Table
@@ -84188,7 +84188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=727;
show create table s;
Table Create Table
@@ -84196,7 +84196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=726;
show create table s;
Table Create Table
@@ -84204,7 +84204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=725;
show create table s;
Table Create Table
@@ -84212,7 +84212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=724;
show create table s;
Table Create Table
@@ -84220,7 +84220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=723;
show create table s;
Table Create Table
@@ -84228,7 +84228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=722;
show create table s;
Table Create Table
@@ -84236,7 +84236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=721;
show create table s;
Table Create Table
@@ -84244,7 +84244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=720;
show create table s;
Table Create Table
@@ -84252,7 +84252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=719;
show create table s;
Table Create Table
@@ -84260,7 +84260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=718;
show create table s;
Table Create Table
@@ -84268,7 +84268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=717;
show create table s;
Table Create Table
@@ -84276,7 +84276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=716;
show create table s;
Table Create Table
@@ -84284,7 +84284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=715;
show create table s;
Table Create Table
@@ -84292,7 +84292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=714;
show create table s;
Table Create Table
@@ -84300,7 +84300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=713;
show create table s;
Table Create Table
@@ -84308,7 +84308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=712;
show create table s;
Table Create Table
@@ -84316,7 +84316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=711;
show create table s;
Table Create Table
@@ -84324,7 +84324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=710;
show create table s;
Table Create Table
@@ -84332,7 +84332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=709;
show create table s;
Table Create Table
@@ -84340,7 +84340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=708;
show create table s;
Table Create Table
@@ -84348,7 +84348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=707;
show create table s;
Table Create Table
@@ -84356,7 +84356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=706;
show create table s;
Table Create Table
@@ -84364,7 +84364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=705;
show create table s;
Table Create Table
@@ -84372,7 +84372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=704;
show create table s;
Table Create Table
@@ -84380,7 +84380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=703;
show create table s;
Table Create Table
@@ -84388,7 +84388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=702;
show create table s;
Table Create Table
@@ -84396,7 +84396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=701;
show create table s;
Table Create Table
@@ -84404,7 +84404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=700;
show create table s;
Table Create Table
@@ -84412,7 +84412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=699;
show create table s;
Table Create Table
@@ -84420,7 +84420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=698;
show create table s;
Table Create Table
@@ -84428,7 +84428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=697;
show create table s;
Table Create Table
@@ -84436,7 +84436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=696;
show create table s;
Table Create Table
@@ -84444,7 +84444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=695;
show create table s;
Table Create Table
@@ -84452,7 +84452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=694;
show create table s;
Table Create Table
@@ -84460,7 +84460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=693;
show create table s;
Table Create Table
@@ -84468,7 +84468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=692;
show create table s;
Table Create Table
@@ -84476,7 +84476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=691;
show create table s;
Table Create Table
@@ -84484,7 +84484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=690;
show create table s;
Table Create Table
@@ -84492,7 +84492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=689;
show create table s;
Table Create Table
@@ -84500,7 +84500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=688;
show create table s;
Table Create Table
@@ -84508,7 +84508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=687;
show create table s;
Table Create Table
@@ -84516,7 +84516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=686;
show create table s;
Table Create Table
@@ -84524,7 +84524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=685;
show create table s;
Table Create Table
@@ -84532,7 +84532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=684;
show create table s;
Table Create Table
@@ -84540,7 +84540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=683;
show create table s;
Table Create Table
@@ -84548,7 +84548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=682;
show create table s;
Table Create Table
@@ -84556,7 +84556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=681;
show create table s;
Table Create Table
@@ -84564,7 +84564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=680;
show create table s;
Table Create Table
@@ -84572,7 +84572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=679;
show create table s;
Table Create Table
@@ -84580,7 +84580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=678;
show create table s;
Table Create Table
@@ -84588,7 +84588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=677;
show create table s;
Table Create Table
@@ -84596,7 +84596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=676;
show create table s;
Table Create Table
@@ -84604,7 +84604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=675;
show create table s;
Table Create Table
@@ -84612,7 +84612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=674;
show create table s;
Table Create Table
@@ -84620,7 +84620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=673;
show create table s;
Table Create Table
@@ -84628,7 +84628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=672;
show create table s;
Table Create Table
@@ -84636,7 +84636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=671;
show create table s;
Table Create Table
@@ -84644,7 +84644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=670;
show create table s;
Table Create Table
@@ -84652,7 +84652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=669;
show create table s;
Table Create Table
@@ -84660,7 +84660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=668;
show create table s;
Table Create Table
@@ -84668,7 +84668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=667;
show create table s;
Table Create Table
@@ -84676,7 +84676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=666;
show create table s;
Table Create Table
@@ -84684,7 +84684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=665;
show create table s;
Table Create Table
@@ -84692,7 +84692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=664;
show create table s;
Table Create Table
@@ -84700,7 +84700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=663;
show create table s;
Table Create Table
@@ -84708,7 +84708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=662;
show create table s;
Table Create Table
@@ -84716,7 +84716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=661;
show create table s;
Table Create Table
@@ -84724,7 +84724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=660;
show create table s;
Table Create Table
@@ -84732,7 +84732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=659;
show create table s;
Table Create Table
@@ -84740,7 +84740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=658;
show create table s;
Table Create Table
@@ -84748,7 +84748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=657;
show create table s;
Table Create Table
@@ -84756,7 +84756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=656;
show create table s;
Table Create Table
@@ -84764,7 +84764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=655;
show create table s;
Table Create Table
@@ -84772,7 +84772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=654;
show create table s;
Table Create Table
@@ -84780,7 +84780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=653;
show create table s;
Table Create Table
@@ -84788,7 +84788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=652;
show create table s;
Table Create Table
@@ -84796,7 +84796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=651;
show create table s;
Table Create Table
@@ -84804,7 +84804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=650;
show create table s;
Table Create Table
@@ -84812,7 +84812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=649;
show create table s;
Table Create Table
@@ -84820,7 +84820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=648;
show create table s;
Table Create Table
@@ -84828,7 +84828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=647;
show create table s;
Table Create Table
@@ -84836,7 +84836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=646;
show create table s;
Table Create Table
@@ -84844,7 +84844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=645;
show create table s;
Table Create Table
@@ -84852,7 +84852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=644;
show create table s;
Table Create Table
@@ -84860,7 +84860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=643;
show create table s;
Table Create Table
@@ -84868,7 +84868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=642;
show create table s;
Table Create Table
@@ -84876,7 +84876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=641;
show create table s;
Table Create Table
@@ -84884,7 +84884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=640;
show create table s;
Table Create Table
@@ -84892,7 +84892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=639;
show create table s;
Table Create Table
@@ -84900,7 +84900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=638;
show create table s;
Table Create Table
@@ -84908,7 +84908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=637;
show create table s;
Table Create Table
@@ -84916,7 +84916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=636;
show create table s;
Table Create Table
@@ -84924,7 +84924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=635;
show create table s;
Table Create Table
@@ -84932,7 +84932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=634;
show create table s;
Table Create Table
@@ -84940,7 +84940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=633;
show create table s;
Table Create Table
@@ -84948,7 +84948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=632;
show create table s;
Table Create Table
@@ -84956,7 +84956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=631;
show create table s;
Table Create Table
@@ -84964,7 +84964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=630;
show create table s;
Table Create Table
@@ -84972,7 +84972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=629;
show create table s;
Table Create Table
@@ -84980,7 +84980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=628;
show create table s;
Table Create Table
@@ -84988,7 +84988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=627;
show create table s;
Table Create Table
@@ -84996,7 +84996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=626;
show create table s;
Table Create Table
@@ -85004,7 +85004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=625;
show create table s;
Table Create Table
@@ -85012,7 +85012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=624;
show create table s;
Table Create Table
@@ -85020,7 +85020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=623;
show create table s;
Table Create Table
@@ -85028,7 +85028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=622;
show create table s;
Table Create Table
@@ -85036,7 +85036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=621;
show create table s;
Table Create Table
@@ -85044,7 +85044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=620;
show create table s;
Table Create Table
@@ -85052,7 +85052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=619;
show create table s;
Table Create Table
@@ -85060,7 +85060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=618;
show create table s;
Table Create Table
@@ -85068,7 +85068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=617;
show create table s;
Table Create Table
@@ -85076,7 +85076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=616;
show create table s;
Table Create Table
@@ -85084,7 +85084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=615;
show create table s;
Table Create Table
@@ -85092,7 +85092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=614;
show create table s;
Table Create Table
@@ -85100,7 +85100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=613;
show create table s;
Table Create Table
@@ -85108,7 +85108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=612;
show create table s;
Table Create Table
@@ -85116,7 +85116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=611;
show create table s;
Table Create Table
@@ -85124,7 +85124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=610;
show create table s;
Table Create Table
@@ -85132,7 +85132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=609;
show create table s;
Table Create Table
@@ -85140,7 +85140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=608;
show create table s;
Table Create Table
@@ -85148,7 +85148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=607;
show create table s;
Table Create Table
@@ -85156,7 +85156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=606;
show create table s;
Table Create Table
@@ -85164,7 +85164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=605;
show create table s;
Table Create Table
@@ -85172,7 +85172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=604;
show create table s;
Table Create Table
@@ -85180,7 +85180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=603;
show create table s;
Table Create Table
@@ -85188,7 +85188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=602;
show create table s;
Table Create Table
@@ -85196,7 +85196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=601;
show create table s;
Table Create Table
@@ -85204,7 +85204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=600;
show create table s;
Table Create Table
@@ -85212,7 +85212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=599;
show create table s;
Table Create Table
@@ -85220,7 +85220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=598;
show create table s;
Table Create Table
@@ -85228,7 +85228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=597;
show create table s;
Table Create Table
@@ -85236,7 +85236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=596;
show create table s;
Table Create Table
@@ -85244,7 +85244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=595;
show create table s;
Table Create Table
@@ -85252,7 +85252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=594;
show create table s;
Table Create Table
@@ -85260,7 +85260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=593;
show create table s;
Table Create Table
@@ -85268,7 +85268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=592;
show create table s;
Table Create Table
@@ -85276,7 +85276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=591;
show create table s;
Table Create Table
@@ -85284,7 +85284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=590;
show create table s;
Table Create Table
@@ -85292,7 +85292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=589;
show create table s;
Table Create Table
@@ -85300,7 +85300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=588;
show create table s;
Table Create Table
@@ -85308,7 +85308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=587;
show create table s;
Table Create Table
@@ -85316,7 +85316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=586;
show create table s;
Table Create Table
@@ -85324,7 +85324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=585;
show create table s;
Table Create Table
@@ -85332,7 +85332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=584;
show create table s;
Table Create Table
@@ -85340,7 +85340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=583;
show create table s;
Table Create Table
@@ -85348,7 +85348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=582;
show create table s;
Table Create Table
@@ -85356,7 +85356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=581;
show create table s;
Table Create Table
@@ -85364,7 +85364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=580;
show create table s;
Table Create Table
@@ -85372,7 +85372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=579;
show create table s;
Table Create Table
@@ -85380,7 +85380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=578;
show create table s;
Table Create Table
@@ -85388,7 +85388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=577;
show create table s;
Table Create Table
@@ -85396,7 +85396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=576;
show create table s;
Table Create Table
@@ -85404,7 +85404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=575;
show create table s;
Table Create Table
@@ -85412,7 +85412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=574;
show create table s;
Table Create Table
@@ -85420,7 +85420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=573;
show create table s;
Table Create Table
@@ -85428,7 +85428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=572;
show create table s;
Table Create Table
@@ -85436,7 +85436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=571;
show create table s;
Table Create Table
@@ -85444,7 +85444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=570;
show create table s;
Table Create Table
@@ -85452,7 +85452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=569;
show create table s;
Table Create Table
@@ -85460,7 +85460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=568;
show create table s;
Table Create Table
@@ -85468,7 +85468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=567;
show create table s;
Table Create Table
@@ -85476,7 +85476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=566;
show create table s;
Table Create Table
@@ -85484,7 +85484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=565;
show create table s;
Table Create Table
@@ -85492,7 +85492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=564;
show create table s;
Table Create Table
@@ -85500,7 +85500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=563;
show create table s;
Table Create Table
@@ -85508,7 +85508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=562;
show create table s;
Table Create Table
@@ -85516,7 +85516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=561;
show create table s;
Table Create Table
@@ -85524,7 +85524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=560;
show create table s;
Table Create Table
@@ -85532,7 +85532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=559;
show create table s;
Table Create Table
@@ -85540,7 +85540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=558;
show create table s;
Table Create Table
@@ -85548,7 +85548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=557;
show create table s;
Table Create Table
@@ -85556,7 +85556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=556;
show create table s;
Table Create Table
@@ -85564,7 +85564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=555;
show create table s;
Table Create Table
@@ -85572,7 +85572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=554;
show create table s;
Table Create Table
@@ -85580,7 +85580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=553;
show create table s;
Table Create Table
@@ -85588,7 +85588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=552;
show create table s;
Table Create Table
@@ -85596,7 +85596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=551;
show create table s;
Table Create Table
@@ -85604,7 +85604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=550;
show create table s;
Table Create Table
@@ -85612,7 +85612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=549;
show create table s;
Table Create Table
@@ -85620,7 +85620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=548;
show create table s;
Table Create Table
@@ -85628,7 +85628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=547;
show create table s;
Table Create Table
@@ -85636,7 +85636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=546;
show create table s;
Table Create Table
@@ -85644,7 +85644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=545;
show create table s;
Table Create Table
@@ -85652,7 +85652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=544;
show create table s;
Table Create Table
@@ -85660,7 +85660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=543;
show create table s;
Table Create Table
@@ -85668,7 +85668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=542;
show create table s;
Table Create Table
@@ -85676,7 +85676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=541;
show create table s;
Table Create Table
@@ -85684,7 +85684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=540;
show create table s;
Table Create Table
@@ -85692,7 +85692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=539;
show create table s;
Table Create Table
@@ -85700,7 +85700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=538;
show create table s;
Table Create Table
@@ -85708,7 +85708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=537;
show create table s;
Table Create Table
@@ -85716,7 +85716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=536;
show create table s;
Table Create Table
@@ -85724,7 +85724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=535;
show create table s;
Table Create Table
@@ -85732,7 +85732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=534;
show create table s;
Table Create Table
@@ -85740,7 +85740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=533;
show create table s;
Table Create Table
@@ -85748,7 +85748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=532;
show create table s;
Table Create Table
@@ -85756,7 +85756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=531;
show create table s;
Table Create Table
@@ -85764,7 +85764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=530;
show create table s;
Table Create Table
@@ -85772,7 +85772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=529;
show create table s;
Table Create Table
@@ -85780,7 +85780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=528;
show create table s;
Table Create Table
@@ -85788,7 +85788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=527;
show create table s;
Table Create Table
@@ -85796,7 +85796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=526;
show create table s;
Table Create Table
@@ -85804,7 +85804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=525;
show create table s;
Table Create Table
@@ -85812,7 +85812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=524;
show create table s;
Table Create Table
@@ -85820,7 +85820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=523;
show create table s;
Table Create Table
@@ -85828,7 +85828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=522;
show create table s;
Table Create Table
@@ -85836,7 +85836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=521;
show create table s;
Table Create Table
@@ -85844,7 +85844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=520;
show create table s;
Table Create Table
@@ -85852,7 +85852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=519;
show create table s;
Table Create Table
@@ -85860,7 +85860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=518;
show create table s;
Table Create Table
@@ -85868,7 +85868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=517;
show create table s;
Table Create Table
@@ -85876,7 +85876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=516;
show create table s;
Table Create Table
@@ -85884,7 +85884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=515;
show create table s;
Table Create Table
@@ -85892,7 +85892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=514;
show create table s;
Table Create Table
@@ -85900,7 +85900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=513;
show create table s;
Table Create Table
@@ -85908,7 +85908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=512;
show create table s;
Table Create Table
@@ -85916,7 +85916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=511;
show create table s;
Table Create Table
@@ -85924,7 +85924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=510;
show create table s;
Table Create Table
@@ -85932,7 +85932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=509;
show create table s;
Table Create Table
@@ -85940,7 +85940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=508;
show create table s;
Table Create Table
@@ -85948,7 +85948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=507;
show create table s;
Table Create Table
@@ -85956,7 +85956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=506;
show create table s;
Table Create Table
@@ -85964,7 +85964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=505;
show create table s;
Table Create Table
@@ -85972,7 +85972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=504;
show create table s;
Table Create Table
@@ -85980,7 +85980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=503;
show create table s;
Table Create Table
@@ -85988,7 +85988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=502;
show create table s;
Table Create Table
@@ -85996,7 +85996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=501;
show create table s;
Table Create Table
@@ -86004,7 +86004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=500;
show create table s;
Table Create Table
@@ -86012,7 +86012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=499;
show create table s;
Table Create Table
@@ -86020,7 +86020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=498;
show create table s;
Table Create Table
@@ -86028,7 +86028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=497;
show create table s;
Table Create Table
@@ -86036,7 +86036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=496;
show create table s;
Table Create Table
@@ -86044,7 +86044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=495;
show create table s;
Table Create Table
@@ -86052,7 +86052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=494;
show create table s;
Table Create Table
@@ -86060,7 +86060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=493;
show create table s;
Table Create Table
@@ -86068,7 +86068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=492;
show create table s;
Table Create Table
@@ -86076,7 +86076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=491;
show create table s;
Table Create Table
@@ -86084,7 +86084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=490;
show create table s;
Table Create Table
@@ -86092,7 +86092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=489;
show create table s;
Table Create Table
@@ -86100,7 +86100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=488;
show create table s;
Table Create Table
@@ -86108,7 +86108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=487;
show create table s;
Table Create Table
@@ -86116,7 +86116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=486;
show create table s;
Table Create Table
@@ -86124,7 +86124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=485;
show create table s;
Table Create Table
@@ -86132,7 +86132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=484;
show create table s;
Table Create Table
@@ -86140,7 +86140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=483;
show create table s;
Table Create Table
@@ -86148,7 +86148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=482;
show create table s;
Table Create Table
@@ -86156,7 +86156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=481;
show create table s;
Table Create Table
@@ -86164,7 +86164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=480;
show create table s;
Table Create Table
@@ -86172,7 +86172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=479;
show create table s;
Table Create Table
@@ -86180,7 +86180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=478;
show create table s;
Table Create Table
@@ -86188,7 +86188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=477;
show create table s;
Table Create Table
@@ -86196,7 +86196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=476;
show create table s;
Table Create Table
@@ -86204,7 +86204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=475;
show create table s;
Table Create Table
@@ -86212,7 +86212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=474;
show create table s;
Table Create Table
@@ -86220,7 +86220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=473;
show create table s;
Table Create Table
@@ -86228,7 +86228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=472;
show create table s;
Table Create Table
@@ -86236,7 +86236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=471;
show create table s;
Table Create Table
@@ -86244,7 +86244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=470;
show create table s;
Table Create Table
@@ -86252,7 +86252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=469;
show create table s;
Table Create Table
@@ -86260,7 +86260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=468;
show create table s;
Table Create Table
@@ -86268,7 +86268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=467;
show create table s;
Table Create Table
@@ -86276,7 +86276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=466;
show create table s;
Table Create Table
@@ -86284,7 +86284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=465;
show create table s;
Table Create Table
@@ -86292,7 +86292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=464;
show create table s;
Table Create Table
@@ -86300,7 +86300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=463;
show create table s;
Table Create Table
@@ -86308,7 +86308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=462;
show create table s;
Table Create Table
@@ -86316,7 +86316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=461;
show create table s;
Table Create Table
@@ -86324,7 +86324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=460;
show create table s;
Table Create Table
@@ -86332,7 +86332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=459;
show create table s;
Table Create Table
@@ -86340,7 +86340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=458;
show create table s;
Table Create Table
@@ -86348,7 +86348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=457;
show create table s;
Table Create Table
@@ -86356,7 +86356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=456;
show create table s;
Table Create Table
@@ -86364,7 +86364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=455;
show create table s;
Table Create Table
@@ -86372,7 +86372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=454;
show create table s;
Table Create Table
@@ -86380,7 +86380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=453;
show create table s;
Table Create Table
@@ -86388,7 +86388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=452;
show create table s;
Table Create Table
@@ -86396,7 +86396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=451;
show create table s;
Table Create Table
@@ -86404,7 +86404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=450;
show create table s;
Table Create Table
@@ -86412,7 +86412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=449;
show create table s;
Table Create Table
@@ -86420,7 +86420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=448;
show create table s;
Table Create Table
@@ -86428,7 +86428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=447;
show create table s;
Table Create Table
@@ -86436,7 +86436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=446;
show create table s;
Table Create Table
@@ -86444,7 +86444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=445;
show create table s;
Table Create Table
@@ -86452,7 +86452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=444;
show create table s;
Table Create Table
@@ -86460,7 +86460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=443;
show create table s;
Table Create Table
@@ -86468,7 +86468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=442;
show create table s;
Table Create Table
@@ -86476,7 +86476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=441;
show create table s;
Table Create Table
@@ -86484,7 +86484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=440;
show create table s;
Table Create Table
@@ -86492,7 +86492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=439;
show create table s;
Table Create Table
@@ -86500,7 +86500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=438;
show create table s;
Table Create Table
@@ -86508,7 +86508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=437;
show create table s;
Table Create Table
@@ -86516,7 +86516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=436;
show create table s;
Table Create Table
@@ -86524,7 +86524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=435;
show create table s;
Table Create Table
@@ -86532,7 +86532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=434;
show create table s;
Table Create Table
@@ -86540,7 +86540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=433;
show create table s;
Table Create Table
@@ -86548,7 +86548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=432;
show create table s;
Table Create Table
@@ -86556,7 +86556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=431;
show create table s;
Table Create Table
@@ -86564,7 +86564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=430;
show create table s;
Table Create Table
@@ -86572,7 +86572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=429;
show create table s;
Table Create Table
@@ -86580,7 +86580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=428;
show create table s;
Table Create Table
@@ -86588,7 +86588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=427;
show create table s;
Table Create Table
@@ -86596,7 +86596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=426;
show create table s;
Table Create Table
@@ -86604,7 +86604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=425;
show create table s;
Table Create Table
@@ -86612,7 +86612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=424;
show create table s;
Table Create Table
@@ -86620,7 +86620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=423;
show create table s;
Table Create Table
@@ -86628,7 +86628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=422;
show create table s;
Table Create Table
@@ -86636,7 +86636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=421;
show create table s;
Table Create Table
@@ -86644,7 +86644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=420;
show create table s;
Table Create Table
@@ -86652,7 +86652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=419;
show create table s;
Table Create Table
@@ -86660,7 +86660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=418;
show create table s;
Table Create Table
@@ -86668,7 +86668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=417;
show create table s;
Table Create Table
@@ -86676,7 +86676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=416;
show create table s;
Table Create Table
@@ -86684,7 +86684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=415;
show create table s;
Table Create Table
@@ -86692,7 +86692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=414;
show create table s;
Table Create Table
@@ -86700,7 +86700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=413;
show create table s;
Table Create Table
@@ -86708,7 +86708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=412;
show create table s;
Table Create Table
@@ -86716,7 +86716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=411;
show create table s;
Table Create Table
@@ -86724,7 +86724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=410;
show create table s;
Table Create Table
@@ -86732,7 +86732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=409;
show create table s;
Table Create Table
@@ -86740,7 +86740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=408;
show create table s;
Table Create Table
@@ -86748,7 +86748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=407;
show create table s;
Table Create Table
@@ -86756,7 +86756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=406;
show create table s;
Table Create Table
@@ -86764,7 +86764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=405;
show create table s;
Table Create Table
@@ -86772,7 +86772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=404;
show create table s;
Table Create Table
@@ -86780,7 +86780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=403;
show create table s;
Table Create Table
@@ -86788,7 +86788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=402;
show create table s;
Table Create Table
@@ -86796,7 +86796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=401;
show create table s;
Table Create Table
@@ -86804,7 +86804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=400;
show create table s;
Table Create Table
@@ -86812,7 +86812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=399;
show create table s;
Table Create Table
@@ -86820,7 +86820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=398;
show create table s;
Table Create Table
@@ -86828,7 +86828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=397;
show create table s;
Table Create Table
@@ -86836,7 +86836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=396;
show create table s;
Table Create Table
@@ -86844,7 +86844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=395;
show create table s;
Table Create Table
@@ -86852,7 +86852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=394;
show create table s;
Table Create Table
@@ -86860,7 +86860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=393;
show create table s;
Table Create Table
@@ -86868,7 +86868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=392;
show create table s;
Table Create Table
@@ -86876,7 +86876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=391;
show create table s;
Table Create Table
@@ -86884,7 +86884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=390;
show create table s;
Table Create Table
@@ -86892,7 +86892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=389;
show create table s;
Table Create Table
@@ -86900,7 +86900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=388;
show create table s;
Table Create Table
@@ -86908,7 +86908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=387;
show create table s;
Table Create Table
@@ -86916,7 +86916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=386;
show create table s;
Table Create Table
@@ -86924,7 +86924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=385;
show create table s;
Table Create Table
@@ -86932,7 +86932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=384;
show create table s;
Table Create Table
@@ -86940,7 +86940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=383;
show create table s;
Table Create Table
@@ -86948,7 +86948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=382;
show create table s;
Table Create Table
@@ -86956,7 +86956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=381;
show create table s;
Table Create Table
@@ -86964,7 +86964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=380;
show create table s;
Table Create Table
@@ -86972,7 +86972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=379;
show create table s;
Table Create Table
@@ -86980,7 +86980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=378;
show create table s;
Table Create Table
@@ -86988,7 +86988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=377;
show create table s;
Table Create Table
@@ -86996,7 +86996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=376;
show create table s;
Table Create Table
@@ -87004,7 +87004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=375;
show create table s;
Table Create Table
@@ -87012,7 +87012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=374;
show create table s;
Table Create Table
@@ -87020,7 +87020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=373;
show create table s;
Table Create Table
@@ -87028,7 +87028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=372;
show create table s;
Table Create Table
@@ -87036,7 +87036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=371;
show create table s;
Table Create Table
@@ -87044,7 +87044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=370;
show create table s;
Table Create Table
@@ -87052,7 +87052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=369;
show create table s;
Table Create Table
@@ -87060,7 +87060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=368;
show create table s;
Table Create Table
@@ -87068,7 +87068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=367;
show create table s;
Table Create Table
@@ -87076,7 +87076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=366;
show create table s;
Table Create Table
@@ -87084,7 +87084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=365;
show create table s;
Table Create Table
@@ -87092,7 +87092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=364;
show create table s;
Table Create Table
@@ -87100,7 +87100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=363;
show create table s;
Table Create Table
@@ -87108,7 +87108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=362;
show create table s;
Table Create Table
@@ -87116,7 +87116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=361;
show create table s;
Table Create Table
@@ -87124,7 +87124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=360;
show create table s;
Table Create Table
@@ -87132,7 +87132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=359;
show create table s;
Table Create Table
@@ -87140,7 +87140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=358;
show create table s;
Table Create Table
@@ -87148,7 +87148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=357;
show create table s;
Table Create Table
@@ -87156,7 +87156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=356;
show create table s;
Table Create Table
@@ -87164,7 +87164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=355;
show create table s;
Table Create Table
@@ -87172,7 +87172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=354;
show create table s;
Table Create Table
@@ -87180,7 +87180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=353;
show create table s;
Table Create Table
@@ -87188,7 +87188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=352;
show create table s;
Table Create Table
@@ -87196,7 +87196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=351;
show create table s;
Table Create Table
@@ -87204,7 +87204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=350;
show create table s;
Table Create Table
@@ -87212,7 +87212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=349;
show create table s;
Table Create Table
@@ -87220,7 +87220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=348;
show create table s;
Table Create Table
@@ -87228,7 +87228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=347;
show create table s;
Table Create Table
@@ -87236,7 +87236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=346;
show create table s;
Table Create Table
@@ -87244,7 +87244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=345;
show create table s;
Table Create Table
@@ -87252,7 +87252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=344;
show create table s;
Table Create Table
@@ -87260,7 +87260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=343;
show create table s;
Table Create Table
@@ -87268,7 +87268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=342;
show create table s;
Table Create Table
@@ -87276,7 +87276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=341;
show create table s;
Table Create Table
@@ -87284,7 +87284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=340;
show create table s;
Table Create Table
@@ -87292,7 +87292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=339;
show create table s;
Table Create Table
@@ -87300,7 +87300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=338;
show create table s;
Table Create Table
@@ -87308,7 +87308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=337;
show create table s;
Table Create Table
@@ -87316,7 +87316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=336;
show create table s;
Table Create Table
@@ -87324,7 +87324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=335;
show create table s;
Table Create Table
@@ -87332,7 +87332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=334;
show create table s;
Table Create Table
@@ -87340,7 +87340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=333;
show create table s;
Table Create Table
@@ -87348,7 +87348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=332;
show create table s;
Table Create Table
@@ -87356,7 +87356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=331;
show create table s;
Table Create Table
@@ -87364,7 +87364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=330;
show create table s;
Table Create Table
@@ -87372,7 +87372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=329;
show create table s;
Table Create Table
@@ -87380,7 +87380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=328;
show create table s;
Table Create Table
@@ -87388,7 +87388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=327;
show create table s;
Table Create Table
@@ -87396,7 +87396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=326;
show create table s;
Table Create Table
@@ -87404,7 +87404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=325;
show create table s;
Table Create Table
@@ -87412,7 +87412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=324;
show create table s;
Table Create Table
@@ -87420,7 +87420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=323;
show create table s;
Table Create Table
@@ -87428,7 +87428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=322;
show create table s;
Table Create Table
@@ -87436,7 +87436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=321;
show create table s;
Table Create Table
@@ -87444,7 +87444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=320;
show create table s;
Table Create Table
@@ -87452,7 +87452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=319;
show create table s;
Table Create Table
@@ -87460,7 +87460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=318;
show create table s;
Table Create Table
@@ -87468,7 +87468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=317;
show create table s;
Table Create Table
@@ -87476,7 +87476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=316;
show create table s;
Table Create Table
@@ -87484,7 +87484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=315;
show create table s;
Table Create Table
@@ -87492,7 +87492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=314;
show create table s;
Table Create Table
@@ -87500,7 +87500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=313;
show create table s;
Table Create Table
@@ -87508,7 +87508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=312;
show create table s;
Table Create Table
@@ -87516,7 +87516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=311;
show create table s;
Table Create Table
@@ -87524,7 +87524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=310;
show create table s;
Table Create Table
@@ -87532,7 +87532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=309;
show create table s;
Table Create Table
@@ -87540,7 +87540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=308;
show create table s;
Table Create Table
@@ -87548,7 +87548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=307;
show create table s;
Table Create Table
@@ -87556,7 +87556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=306;
show create table s;
Table Create Table
@@ -87564,7 +87564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=305;
show create table s;
Table Create Table
@@ -87572,7 +87572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=304;
show create table s;
Table Create Table
@@ -87580,7 +87580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=303;
show create table s;
Table Create Table
@@ -87588,7 +87588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=302;
show create table s;
Table Create Table
@@ -87596,7 +87596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=301;
show create table s;
Table Create Table
@@ -87604,7 +87604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=300;
show create table s;
Table Create Table
@@ -87612,7 +87612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=299;
show create table s;
Table Create Table
@@ -87620,7 +87620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=298;
show create table s;
Table Create Table
@@ -87628,7 +87628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=297;
show create table s;
Table Create Table
@@ -87636,7 +87636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=296;
show create table s;
Table Create Table
@@ -87644,7 +87644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=295;
show create table s;
Table Create Table
@@ -87652,7 +87652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=294;
show create table s;
Table Create Table
@@ -87660,7 +87660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=293;
show create table s;
Table Create Table
@@ -87668,7 +87668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=292;
show create table s;
Table Create Table
@@ -87676,7 +87676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=291;
show create table s;
Table Create Table
@@ -87684,7 +87684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=290;
show create table s;
Table Create Table
@@ -87692,7 +87692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=289;
show create table s;
Table Create Table
@@ -87700,7 +87700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=288;
show create table s;
Table Create Table
@@ -87708,7 +87708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=287;
show create table s;
Table Create Table
@@ -87716,7 +87716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=286;
show create table s;
Table Create Table
@@ -87724,7 +87724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=285;
show create table s;
Table Create Table
@@ -87732,7 +87732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=284;
show create table s;
Table Create Table
@@ -87740,7 +87740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=283;
show create table s;
Table Create Table
@@ -87748,7 +87748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=282;
show create table s;
Table Create Table
@@ -87756,7 +87756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=281;
show create table s;
Table Create Table
@@ -87764,7 +87764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=280;
show create table s;
Table Create Table
@@ -87772,7 +87772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=279;
show create table s;
Table Create Table
@@ -87780,7 +87780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=278;
show create table s;
Table Create Table
@@ -87788,7 +87788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=277;
show create table s;
Table Create Table
@@ -87796,7 +87796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=276;
show create table s;
Table Create Table
@@ -87804,7 +87804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=275;
show create table s;
Table Create Table
@@ -87812,7 +87812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=274;
show create table s;
Table Create Table
@@ -87820,7 +87820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=273;
show create table s;
Table Create Table
@@ -87828,7 +87828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=272;
show create table s;
Table Create Table
@@ -87836,7 +87836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=271;
show create table s;
Table Create Table
@@ -87844,7 +87844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=270;
show create table s;
Table Create Table
@@ -87852,7 +87852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=269;
show create table s;
Table Create Table
@@ -87860,7 +87860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=268;
show create table s;
Table Create Table
@@ -87868,7 +87868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=267;
show create table s;
Table Create Table
@@ -87876,7 +87876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=266;
show create table s;
Table Create Table
@@ -87884,7 +87884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=265;
show create table s;
Table Create Table
@@ -87892,7 +87892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=264;
show create table s;
Table Create Table
@@ -87900,7 +87900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=263;
show create table s;
Table Create Table
@@ -87908,7 +87908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=262;
show create table s;
Table Create Table
@@ -87916,7 +87916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=261;
show create table s;
Table Create Table
@@ -87924,7 +87924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=260;
show create table s;
Table Create Table
@@ -87932,7 +87932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=259;
show create table s;
Table Create Table
@@ -87940,7 +87940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=258;
show create table s;
Table Create Table
@@ -87948,7 +87948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=257;
show create table s;
Table Create Table
@@ -87956,7 +87956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=256;
show create table s;
Table Create Table
@@ -87964,7 +87964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=255;
show create table s;
Table Create Table
@@ -87972,7 +87972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=254;
show create table s;
Table Create Table
@@ -87980,7 +87980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=253;
show create table s;
Table Create Table
@@ -87988,7 +87988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=252;
show create table s;
Table Create Table
@@ -87996,7 +87996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=251;
show create table s;
Table Create Table
@@ -88004,7 +88004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=250;
show create table s;
Table Create Table
@@ -88012,7 +88012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=249;
show create table s;
Table Create Table
@@ -88020,7 +88020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=248;
show create table s;
Table Create Table
@@ -88028,7 +88028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=247;
show create table s;
Table Create Table
@@ -88036,7 +88036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=246;
show create table s;
Table Create Table
@@ -88044,7 +88044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=245;
show create table s;
Table Create Table
@@ -88052,7 +88052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=244;
show create table s;
Table Create Table
@@ -88060,7 +88060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=243;
show create table s;
Table Create Table
@@ -88068,7 +88068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=242;
show create table s;
Table Create Table
@@ -88076,7 +88076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=241;
show create table s;
Table Create Table
@@ -88084,7 +88084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=240;
show create table s;
Table Create Table
@@ -88092,7 +88092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=239;
show create table s;
Table Create Table
@@ -88100,7 +88100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=238;
show create table s;
Table Create Table
@@ -88108,7 +88108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=237;
show create table s;
Table Create Table
@@ -88116,7 +88116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=236;
show create table s;
Table Create Table
@@ -88124,7 +88124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=235;
show create table s;
Table Create Table
@@ -88132,7 +88132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=234;
show create table s;
Table Create Table
@@ -88140,7 +88140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=233;
show create table s;
Table Create Table
@@ -88148,7 +88148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=232;
show create table s;
Table Create Table
@@ -88156,7 +88156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=231;
show create table s;
Table Create Table
@@ -88164,7 +88164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=230;
show create table s;
Table Create Table
@@ -88172,7 +88172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=229;
show create table s;
Table Create Table
@@ -88180,7 +88180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=228;
show create table s;
Table Create Table
@@ -88188,7 +88188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=227;
show create table s;
Table Create Table
@@ -88196,7 +88196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=226;
show create table s;
Table Create Table
@@ -88204,7 +88204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=225;
show create table s;
Table Create Table
@@ -88212,7 +88212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=224;
show create table s;
Table Create Table
@@ -88220,7 +88220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=223;
show create table s;
Table Create Table
@@ -88228,7 +88228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=222;
show create table s;
Table Create Table
@@ -88236,7 +88236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=221;
show create table s;
Table Create Table
@@ -88244,7 +88244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=220;
show create table s;
Table Create Table
@@ -88252,7 +88252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=219;
show create table s;
Table Create Table
@@ -88260,7 +88260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=218;
show create table s;
Table Create Table
@@ -88268,7 +88268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=217;
show create table s;
Table Create Table
@@ -88276,7 +88276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=216;
show create table s;
Table Create Table
@@ -88284,7 +88284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=215;
show create table s;
Table Create Table
@@ -88292,7 +88292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=214;
show create table s;
Table Create Table
@@ -88300,7 +88300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=213;
show create table s;
Table Create Table
@@ -88308,7 +88308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=212;
show create table s;
Table Create Table
@@ -88316,7 +88316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=211;
show create table s;
Table Create Table
@@ -88324,7 +88324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=210;
show create table s;
Table Create Table
@@ -88332,7 +88332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=209;
show create table s;
Table Create Table
@@ -88340,7 +88340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=208;
show create table s;
Table Create Table
@@ -88348,7 +88348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=207;
show create table s;
Table Create Table
@@ -88356,7 +88356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=206;
show create table s;
Table Create Table
@@ -88364,7 +88364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=205;
show create table s;
Table Create Table
@@ -88372,7 +88372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=204;
show create table s;
Table Create Table
@@ -88380,7 +88380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=203;
show create table s;
Table Create Table
@@ -88388,7 +88388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=202;
show create table s;
Table Create Table
@@ -88396,7 +88396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=201;
show create table s;
Table Create Table
@@ -88404,7 +88404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=200;
show create table s;
Table Create Table
@@ -88412,7 +88412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=199;
show create table s;
Table Create Table
@@ -88420,7 +88420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=198;
show create table s;
Table Create Table
@@ -88428,7 +88428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=197;
show create table s;
Table Create Table
@@ -88436,7 +88436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=196;
show create table s;
Table Create Table
@@ -88444,7 +88444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=195;
show create table s;
Table Create Table
@@ -88452,7 +88452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=194;
show create table s;
Table Create Table
@@ -88460,7 +88460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=193;
show create table s;
Table Create Table
@@ -88468,7 +88468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=192;
show create table s;
Table Create Table
@@ -88476,7 +88476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=191;
show create table s;
Table Create Table
@@ -88484,7 +88484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=190;
show create table s;
Table Create Table
@@ -88492,7 +88492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=189;
show create table s;
Table Create Table
@@ -88500,7 +88500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=188;
show create table s;
Table Create Table
@@ -88508,7 +88508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=187;
show create table s;
Table Create Table
@@ -88516,7 +88516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=186;
show create table s;
Table Create Table
@@ -88524,7 +88524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=185;
show create table s;
Table Create Table
@@ -88532,7 +88532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=184;
show create table s;
Table Create Table
@@ -88540,7 +88540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=183;
show create table s;
Table Create Table
@@ -88548,7 +88548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=182;
show create table s;
Table Create Table
@@ -88556,7 +88556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=181;
show create table s;
Table Create Table
@@ -88564,7 +88564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=180;
show create table s;
Table Create Table
@@ -88572,7 +88572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=179;
show create table s;
Table Create Table
@@ -88580,7 +88580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=178;
show create table s;
Table Create Table
@@ -88588,7 +88588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=177;
show create table s;
Table Create Table
@@ -88596,7 +88596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=176;
show create table s;
Table Create Table
@@ -88604,7 +88604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=175;
show create table s;
Table Create Table
@@ -88612,7 +88612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=174;
show create table s;
Table Create Table
@@ -88620,7 +88620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=173;
show create table s;
Table Create Table
@@ -88628,7 +88628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=172;
show create table s;
Table Create Table
@@ -88636,7 +88636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=171;
show create table s;
Table Create Table
@@ -88644,7 +88644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=170;
show create table s;
Table Create Table
@@ -88652,7 +88652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=169;
show create table s;
Table Create Table
@@ -88660,7 +88660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=168;
show create table s;
Table Create Table
@@ -88668,7 +88668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=167;
show create table s;
Table Create Table
@@ -88676,7 +88676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=166;
show create table s;
Table Create Table
@@ -88684,7 +88684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=165;
show create table s;
Table Create Table
@@ -88692,7 +88692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=164;
show create table s;
Table Create Table
@@ -88700,7 +88700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=163;
show create table s;
Table Create Table
@@ -88708,7 +88708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=162;
show create table s;
Table Create Table
@@ -88716,7 +88716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=161;
show create table s;
Table Create Table
@@ -88724,7 +88724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=160;
show create table s;
Table Create Table
@@ -88732,7 +88732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=159;
show create table s;
Table Create Table
@@ -88740,7 +88740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=158;
show create table s;
Table Create Table
@@ -88748,7 +88748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=157;
show create table s;
Table Create Table
@@ -88756,7 +88756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=156;
show create table s;
Table Create Table
@@ -88764,7 +88764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=155;
show create table s;
Table Create Table
@@ -88772,7 +88772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=154;
show create table s;
Table Create Table
@@ -88780,7 +88780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=153;
show create table s;
Table Create Table
@@ -88788,7 +88788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=152;
show create table s;
Table Create Table
@@ -88796,7 +88796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=151;
show create table s;
Table Create Table
@@ -88804,7 +88804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=150;
show create table s;
Table Create Table
@@ -88812,7 +88812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=149;
show create table s;
Table Create Table
@@ -88820,7 +88820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=148;
show create table s;
Table Create Table
@@ -88828,7 +88828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=147;
show create table s;
Table Create Table
@@ -88836,7 +88836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=146;
show create table s;
Table Create Table
@@ -88844,7 +88844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=145;
show create table s;
Table Create Table
@@ -88852,7 +88852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=144;
show create table s;
Table Create Table
@@ -88860,7 +88860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=143;
show create table s;
Table Create Table
@@ -88868,7 +88868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=142;
show create table s;
Table Create Table
@@ -88876,7 +88876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=141;
show create table s;
Table Create Table
@@ -88884,7 +88884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=140;
show create table s;
Table Create Table
@@ -88892,7 +88892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=139;
show create table s;
Table Create Table
@@ -88900,7 +88900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=138;
show create table s;
Table Create Table
@@ -88908,7 +88908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=137;
show create table s;
Table Create Table
@@ -88916,7 +88916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=136;
show create table s;
Table Create Table
@@ -88924,7 +88924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=135;
show create table s;
Table Create Table
@@ -88932,7 +88932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=134;
show create table s;
Table Create Table
@@ -88940,7 +88940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=133;
show create table s;
Table Create Table
@@ -88948,7 +88948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=132;
show create table s;
Table Create Table
@@ -88956,7 +88956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=131;
show create table s;
Table Create Table
@@ -88964,7 +88964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=130;
show create table s;
Table Create Table
@@ -88972,7 +88972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=129;
show create table s;
Table Create Table
@@ -88980,7 +88980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=128;
show create table s;
Table Create Table
@@ -88988,7 +88988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=127;
show create table s;
Table Create Table
@@ -88996,7 +88996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=126;
show create table s;
Table Create Table
@@ -89004,7 +89004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=125;
show create table s;
Table Create Table
@@ -89012,7 +89012,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=124;
show create table s;
Table Create Table
@@ -89020,7 +89020,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=123;
show create table s;
Table Create Table
@@ -89028,7 +89028,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=122;
show create table s;
Table Create Table
@@ -89036,7 +89036,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=121;
show create table s;
Table Create Table
@@ -89044,7 +89044,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=120;
show create table s;
Table Create Table
@@ -89052,7 +89052,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=119;
show create table s;
Table Create Table
@@ -89060,7 +89060,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=118;
show create table s;
Table Create Table
@@ -89068,7 +89068,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=117;
show create table s;
Table Create Table
@@ -89076,7 +89076,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=116;
show create table s;
Table Create Table
@@ -89084,7 +89084,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=115;
show create table s;
Table Create Table
@@ -89092,7 +89092,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=114;
show create table s;
Table Create Table
@@ -89100,7 +89100,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=113;
show create table s;
Table Create Table
@@ -89108,7 +89108,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=112;
show create table s;
Table Create Table
@@ -89116,7 +89116,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=111;
show create table s;
Table Create Table
@@ -89124,7 +89124,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=110;
show create table s;
Table Create Table
@@ -89132,7 +89132,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=109;
show create table s;
Table Create Table
@@ -89140,7 +89140,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=108;
show create table s;
Table Create Table
@@ -89148,7 +89148,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=107;
show create table s;
Table Create Table
@@ -89156,7 +89156,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=106;
show create table s;
Table Create Table
@@ -89164,7 +89164,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=105;
show create table s;
Table Create Table
@@ -89172,7 +89172,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=104;
show create table s;
Table Create Table
@@ -89180,7 +89180,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=103;
show create table s;
Table Create Table
@@ -89188,7 +89188,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=102;
show create table s;
Table Create Table
@@ -89196,7 +89196,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=101;
show create table s;
Table Create Table
@@ -89204,7 +89204,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=100;
show create table s;
Table Create Table
@@ -89212,7 +89212,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=99;
show create table s;
Table Create Table
@@ -89220,7 +89220,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=98;
show create table s;
Table Create Table
@@ -89228,7 +89228,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=97;
show create table s;
Table Create Table
@@ -89236,7 +89236,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=96;
show create table s;
Table Create Table
@@ -89244,7 +89244,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=95;
show create table s;
Table Create Table
@@ -89252,7 +89252,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=94;
show create table s;
Table Create Table
@@ -89260,7 +89260,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=93;
show create table s;
Table Create Table
@@ -89268,7 +89268,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=92;
show create table s;
Table Create Table
@@ -89276,7 +89276,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=91;
show create table s;
Table Create Table
@@ -89284,7 +89284,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=90;
show create table s;
Table Create Table
@@ -89292,7 +89292,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=89;
show create table s;
Table Create Table
@@ -89300,7 +89300,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=88;
show create table s;
Table Create Table
@@ -89308,7 +89308,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=87;
show create table s;
Table Create Table
@@ -89316,7 +89316,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=86;
show create table s;
Table Create Table
@@ -89324,7 +89324,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=85;
show create table s;
Table Create Table
@@ -89332,7 +89332,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=84;
show create table s;
Table Create Table
@@ -89340,7 +89340,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=83;
show create table s;
Table Create Table
@@ -89348,7 +89348,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=82;
show create table s;
Table Create Table
@@ -89356,7 +89356,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=81;
show create table s;
Table Create Table
@@ -89364,7 +89364,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=80;
show create table s;
Table Create Table
@@ -89372,7 +89372,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=79;
show create table s;
Table Create Table
@@ -89380,7 +89380,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=78;
show create table s;
Table Create Table
@@ -89388,7 +89388,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=77;
show create table s;
Table Create Table
@@ -89396,7 +89396,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=76;
show create table s;
Table Create Table
@@ -89404,7 +89404,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=75;
show create table s;
Table Create Table
@@ -89412,7 +89412,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=74;
show create table s;
Table Create Table
@@ -89420,7 +89420,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=73;
show create table s;
Table Create Table
@@ -89428,7 +89428,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=72;
show create table s;
Table Create Table
@@ -89436,7 +89436,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=71;
show create table s;
Table Create Table
@@ -89444,7 +89444,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=70;
show create table s;
Table Create Table
@@ -89452,7 +89452,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=69;
show create table s;
Table Create Table
@@ -89460,7 +89460,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=68;
show create table s;
Table Create Table
@@ -89468,7 +89468,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=67;
show create table s;
Table Create Table
@@ -89476,7 +89476,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=66;
show create table s;
Table Create Table
@@ -89484,7 +89484,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=65;
show create table s;
Table Create Table
@@ -89492,7 +89492,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=64;
show create table s;
Table Create Table
@@ -89500,7 +89500,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=63;
show create table s;
Table Create Table
@@ -89508,7 +89508,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=62;
show create table s;
Table Create Table
@@ -89516,7 +89516,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=61;
show create table s;
Table Create Table
@@ -89524,7 +89524,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=60;
show create table s;
Table Create Table
@@ -89532,7 +89532,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=59;
show create table s;
Table Create Table
@@ -89540,7 +89540,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=58;
show create table s;
Table Create Table
@@ -89548,7 +89548,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=57;
show create table s;
Table Create Table
@@ -89556,7 +89556,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=56;
show create table s;
Table Create Table
@@ -89564,7 +89564,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=55;
show create table s;
Table Create Table
@@ -89572,7 +89572,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=54;
show create table s;
Table Create Table
@@ -89580,7 +89580,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=53;
show create table s;
Table Create Table
@@ -89588,7 +89588,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=52;
show create table s;
Table Create Table
@@ -89596,7 +89596,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=51;
show create table s;
Table Create Table
@@ -89604,7 +89604,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=50;
show create table s;
Table Create Table
@@ -89612,7 +89612,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=49;
show create table s;
Table Create Table
@@ -89620,7 +89620,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=48;
show create table s;
Table Create Table
@@ -89628,7 +89628,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=47;
show create table s;
Table Create Table
@@ -89636,7 +89636,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=46;
show create table s;
Table Create Table
@@ -89644,7 +89644,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=45;
show create table s;
Table Create Table
@@ -89652,7 +89652,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=44;
show create table s;
Table Create Table
@@ -89660,7 +89660,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=43;
show create table s;
Table Create Table
@@ -89668,7 +89668,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=42;
show create table s;
Table Create Table
@@ -89676,7 +89676,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=41;
show create table s;
Table Create Table
@@ -89684,7 +89684,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=40;
show create table s;
Table Create Table
@@ -89692,7 +89692,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=39;
show create table s;
Table Create Table
@@ -89700,7 +89700,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=38;
show create table s;
Table Create Table
@@ -89708,7 +89708,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=37;
show create table s;
Table Create Table
@@ -89716,7 +89716,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=36;
show create table s;
Table Create Table
@@ -89724,7 +89724,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=35;
show create table s;
Table Create Table
@@ -89732,7 +89732,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=34;
show create table s;
Table Create Table
@@ -89740,7 +89740,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=33;
show create table s;
Table Create Table
@@ -89748,7 +89748,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=32;
show create table s;
Table Create Table
@@ -89756,7 +89756,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=31;
show create table s;
Table Create Table
@@ -89764,7 +89764,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=30;
show create table s;
Table Create Table
@@ -89772,7 +89772,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=29;
show create table s;
Table Create Table
@@ -89780,7 +89780,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=28;
show create table s;
Table Create Table
@@ -89788,7 +89788,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=27;
show create table s;
Table Create Table
@@ -89796,7 +89796,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=26;
show create table s;
Table Create Table
@@ -89804,7 +89804,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=25;
show create table s;
Table Create Table
@@ -89812,7 +89812,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=24;
show create table s;
Table Create Table
@@ -89820,7 +89820,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=23;
show create table s;
Table Create Table
@@ -89828,7 +89828,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=22;
show create table s;
Table Create Table
@@ -89836,7 +89836,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=21;
show create table s;
Table Create Table
@@ -89844,7 +89844,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=20;
show create table s;
Table Create Table
@@ -89852,7 +89852,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=19;
show create table s;
Table Create Table
@@ -89860,7 +89860,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=18;
show create table s;
Table Create Table
@@ -89868,7 +89868,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=17;
show create table s;
Table Create Table
@@ -89876,7 +89876,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=16;
show create table s;
Table Create Table
@@ -89884,7 +89884,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=15;
show create table s;
Table Create Table
@@ -89892,7 +89892,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=14;
show create table s;
Table Create Table
@@ -89900,7 +89900,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=13;
show create table s;
Table Create Table
@@ -89908,7 +89908,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=12;
show create table s;
Table Create Table
@@ -89916,7 +89916,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=11;
show create table s;
Table Create Table
@@ -89924,7 +89924,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=10;
show create table s;
Table Create Table
@@ -89932,7 +89932,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9;
show create table s;
Table Create Table
@@ -89940,7 +89940,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8;
show create table s;
Table Create Table
@@ -89948,7 +89948,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7;
show create table s;
Table Create Table
@@ -89956,7 +89956,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6;
show create table s;
Table Create Table
@@ -89964,7 +89964,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5;
show create table s;
Table Create Table
@@ -89972,7 +89972,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4;
show create table s;
Table Create Table
@@ -89980,7 +89980,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3;
show create table s;
Table Create Table
@@ -89988,7 +89988,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2;
show create table s;
Table Create Table
@@ -89996,7 +89996,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1;
show create table s;
Table Create Table
@@ -90004,7 +90004,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select count(*) from s use index();
count(*)
0
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
index a2c90f0ce6b..cee9e662243 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
@@ -10013,7 +10013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9999;
show create table s;
Table Create Table
@@ -10021,7 +10021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9998;
show create table s;
Table Create Table
@@ -10029,7 +10029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9997;
show create table s;
Table Create Table
@@ -10037,7 +10037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9996;
show create table s;
Table Create Table
@@ -10045,7 +10045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9995;
show create table s;
Table Create Table
@@ -10053,7 +10053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9994;
show create table s;
Table Create Table
@@ -10061,7 +10061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9993;
show create table s;
Table Create Table
@@ -10069,7 +10069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9992;
show create table s;
Table Create Table
@@ -10077,7 +10077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9991;
show create table s;
Table Create Table
@@ -10085,7 +10085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9990;
show create table s;
Table Create Table
@@ -10093,7 +10093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9989;
show create table s;
Table Create Table
@@ -10101,7 +10101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9988;
show create table s;
Table Create Table
@@ -10109,7 +10109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9987;
show create table s;
Table Create Table
@@ -10117,7 +10117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9986;
show create table s;
Table Create Table
@@ -10125,7 +10125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9985;
show create table s;
Table Create Table
@@ -10133,7 +10133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9984;
show create table s;
Table Create Table
@@ -10141,7 +10141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9983;
show create table s;
Table Create Table
@@ -10149,7 +10149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9982;
show create table s;
Table Create Table
@@ -10157,7 +10157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9981;
show create table s;
Table Create Table
@@ -10165,7 +10165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9980;
show create table s;
Table Create Table
@@ -10173,7 +10173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9979;
show create table s;
Table Create Table
@@ -10181,7 +10181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9978;
show create table s;
Table Create Table
@@ -10189,7 +10189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9977;
show create table s;
Table Create Table
@@ -10197,7 +10197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9976;
show create table s;
Table Create Table
@@ -10205,7 +10205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9975;
show create table s;
Table Create Table
@@ -10213,7 +10213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9974;
show create table s;
Table Create Table
@@ -10221,7 +10221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9973;
show create table s;
Table Create Table
@@ -10229,7 +10229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9972;
show create table s;
Table Create Table
@@ -10237,7 +10237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9971;
show create table s;
Table Create Table
@@ -10245,7 +10245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9970;
show create table s;
Table Create Table
@@ -10253,7 +10253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9969;
show create table s;
Table Create Table
@@ -10261,7 +10261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9968;
show create table s;
Table Create Table
@@ -10269,7 +10269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9967;
show create table s;
Table Create Table
@@ -10277,7 +10277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9966;
show create table s;
Table Create Table
@@ -10285,7 +10285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9965;
show create table s;
Table Create Table
@@ -10293,7 +10293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9964;
show create table s;
Table Create Table
@@ -10301,7 +10301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9963;
show create table s;
Table Create Table
@@ -10309,7 +10309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9962;
show create table s;
Table Create Table
@@ -10317,7 +10317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9961;
show create table s;
Table Create Table
@@ -10325,7 +10325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9960;
show create table s;
Table Create Table
@@ -10333,7 +10333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9959;
show create table s;
Table Create Table
@@ -10341,7 +10341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9958;
show create table s;
Table Create Table
@@ -10349,7 +10349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9957;
show create table s;
Table Create Table
@@ -10357,7 +10357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9956;
show create table s;
Table Create Table
@@ -10365,7 +10365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9955;
show create table s;
Table Create Table
@@ -10373,7 +10373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9954;
show create table s;
Table Create Table
@@ -10381,7 +10381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9953;
show create table s;
Table Create Table
@@ -10389,7 +10389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9952;
show create table s;
Table Create Table
@@ -10397,7 +10397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9951;
show create table s;
Table Create Table
@@ -10405,7 +10405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9950;
show create table s;
Table Create Table
@@ -10413,7 +10413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9949;
show create table s;
Table Create Table
@@ -10421,7 +10421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9948;
show create table s;
Table Create Table
@@ -10429,7 +10429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9947;
show create table s;
Table Create Table
@@ -10437,7 +10437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9946;
show create table s;
Table Create Table
@@ -10445,7 +10445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9945;
show create table s;
Table Create Table
@@ -10453,7 +10453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9944;
show create table s;
Table Create Table
@@ -10461,7 +10461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9943;
show create table s;
Table Create Table
@@ -10469,7 +10469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9942;
show create table s;
Table Create Table
@@ -10477,7 +10477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9941;
show create table s;
Table Create Table
@@ -10485,7 +10485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9940;
show create table s;
Table Create Table
@@ -10493,7 +10493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9939;
show create table s;
Table Create Table
@@ -10501,7 +10501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9938;
show create table s;
Table Create Table
@@ -10509,7 +10509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9937;
show create table s;
Table Create Table
@@ -10517,7 +10517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9936;
show create table s;
Table Create Table
@@ -10525,7 +10525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9935;
show create table s;
Table Create Table
@@ -10533,7 +10533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9934;
show create table s;
Table Create Table
@@ -10541,7 +10541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9933;
show create table s;
Table Create Table
@@ -10549,7 +10549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9932;
show create table s;
Table Create Table
@@ -10557,7 +10557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9931;
show create table s;
Table Create Table
@@ -10565,7 +10565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9930;
show create table s;
Table Create Table
@@ -10573,7 +10573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9929;
show create table s;
Table Create Table
@@ -10581,7 +10581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9928;
show create table s;
Table Create Table
@@ -10589,7 +10589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9927;
show create table s;
Table Create Table
@@ -10597,7 +10597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9926;
show create table s;
Table Create Table
@@ -10605,7 +10605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9925;
show create table s;
Table Create Table
@@ -10613,7 +10613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9924;
show create table s;
Table Create Table
@@ -10621,7 +10621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9923;
show create table s;
Table Create Table
@@ -10629,7 +10629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9922;
show create table s;
Table Create Table
@@ -10637,7 +10637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9921;
show create table s;
Table Create Table
@@ -10645,7 +10645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9920;
show create table s;
Table Create Table
@@ -10653,7 +10653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9919;
show create table s;
Table Create Table
@@ -10661,7 +10661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9918;
show create table s;
Table Create Table
@@ -10669,7 +10669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9917;
show create table s;
Table Create Table
@@ -10677,7 +10677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9916;
show create table s;
Table Create Table
@@ -10685,7 +10685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9915;
show create table s;
Table Create Table
@@ -10693,7 +10693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9914;
show create table s;
Table Create Table
@@ -10701,7 +10701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9913;
show create table s;
Table Create Table
@@ -10709,7 +10709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9912;
show create table s;
Table Create Table
@@ -10717,7 +10717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9911;
show create table s;
Table Create Table
@@ -10725,7 +10725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9910;
show create table s;
Table Create Table
@@ -10733,7 +10733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9909;
show create table s;
Table Create Table
@@ -10741,7 +10741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9908;
show create table s;
Table Create Table
@@ -10749,7 +10749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9907;
show create table s;
Table Create Table
@@ -10757,7 +10757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9906;
show create table s;
Table Create Table
@@ -10765,7 +10765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9905;
show create table s;
Table Create Table
@@ -10773,7 +10773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9904;
show create table s;
Table Create Table
@@ -10781,7 +10781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9903;
show create table s;
Table Create Table
@@ -10789,7 +10789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9902;
show create table s;
Table Create Table
@@ -10797,7 +10797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9901;
show create table s;
Table Create Table
@@ -10805,7 +10805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9900;
show create table s;
Table Create Table
@@ -10813,7 +10813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9899;
show create table s;
Table Create Table
@@ -10821,7 +10821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9898;
show create table s;
Table Create Table
@@ -10829,7 +10829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9897;
show create table s;
Table Create Table
@@ -10837,7 +10837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9896;
show create table s;
Table Create Table
@@ -10845,7 +10845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9895;
show create table s;
Table Create Table
@@ -10853,7 +10853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9894;
show create table s;
Table Create Table
@@ -10861,7 +10861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9893;
show create table s;
Table Create Table
@@ -10869,7 +10869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9892;
show create table s;
Table Create Table
@@ -10877,7 +10877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9891;
show create table s;
Table Create Table
@@ -10885,7 +10885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9890;
show create table s;
Table Create Table
@@ -10893,7 +10893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9889;
show create table s;
Table Create Table
@@ -10901,7 +10901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9888;
show create table s;
Table Create Table
@@ -10909,7 +10909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9887;
show create table s;
Table Create Table
@@ -10917,7 +10917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9886;
show create table s;
Table Create Table
@@ -10925,7 +10925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9885;
show create table s;
Table Create Table
@@ -10933,7 +10933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9884;
show create table s;
Table Create Table
@@ -10941,7 +10941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9883;
show create table s;
Table Create Table
@@ -10949,7 +10949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9882;
show create table s;
Table Create Table
@@ -10957,7 +10957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9881;
show create table s;
Table Create Table
@@ -10965,7 +10965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9880;
show create table s;
Table Create Table
@@ -10973,7 +10973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9879;
show create table s;
Table Create Table
@@ -10981,7 +10981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9878;
show create table s;
Table Create Table
@@ -10989,7 +10989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9877;
show create table s;
Table Create Table
@@ -10997,7 +10997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9876;
show create table s;
Table Create Table
@@ -11005,7 +11005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9875;
show create table s;
Table Create Table
@@ -11013,7 +11013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9874;
show create table s;
Table Create Table
@@ -11021,7 +11021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9873;
show create table s;
Table Create Table
@@ -11029,7 +11029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9872;
show create table s;
Table Create Table
@@ -11037,7 +11037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9871;
show create table s;
Table Create Table
@@ -11045,7 +11045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9870;
show create table s;
Table Create Table
@@ -11053,7 +11053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9869;
show create table s;
Table Create Table
@@ -11061,7 +11061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9868;
show create table s;
Table Create Table
@@ -11069,7 +11069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9867;
show create table s;
Table Create Table
@@ -11077,7 +11077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9866;
show create table s;
Table Create Table
@@ -11085,7 +11085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9865;
show create table s;
Table Create Table
@@ -11093,7 +11093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9864;
show create table s;
Table Create Table
@@ -11101,7 +11101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9863;
show create table s;
Table Create Table
@@ -11109,7 +11109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9862;
show create table s;
Table Create Table
@@ -11117,7 +11117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9861;
show create table s;
Table Create Table
@@ -11125,7 +11125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9860;
show create table s;
Table Create Table
@@ -11133,7 +11133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9859;
show create table s;
Table Create Table
@@ -11141,7 +11141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9858;
show create table s;
Table Create Table
@@ -11149,7 +11149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9857;
show create table s;
Table Create Table
@@ -11157,7 +11157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9856;
show create table s;
Table Create Table
@@ -11165,7 +11165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9855;
show create table s;
Table Create Table
@@ -11173,7 +11173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9854;
show create table s;
Table Create Table
@@ -11181,7 +11181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9853;
show create table s;
Table Create Table
@@ -11189,7 +11189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9852;
show create table s;
Table Create Table
@@ -11197,7 +11197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9851;
show create table s;
Table Create Table
@@ -11205,7 +11205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9850;
show create table s;
Table Create Table
@@ -11213,7 +11213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9849;
show create table s;
Table Create Table
@@ -11221,7 +11221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9848;
show create table s;
Table Create Table
@@ -11229,7 +11229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9847;
show create table s;
Table Create Table
@@ -11237,7 +11237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9846;
show create table s;
Table Create Table
@@ -11245,7 +11245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9845;
show create table s;
Table Create Table
@@ -11253,7 +11253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9844;
show create table s;
Table Create Table
@@ -11261,7 +11261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9843;
show create table s;
Table Create Table
@@ -11269,7 +11269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9842;
show create table s;
Table Create Table
@@ -11277,7 +11277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9841;
show create table s;
Table Create Table
@@ -11285,7 +11285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9840;
show create table s;
Table Create Table
@@ -11293,7 +11293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9839;
show create table s;
Table Create Table
@@ -11301,7 +11301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9838;
show create table s;
Table Create Table
@@ -11309,7 +11309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9837;
show create table s;
Table Create Table
@@ -11317,7 +11317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9836;
show create table s;
Table Create Table
@@ -11325,7 +11325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9835;
show create table s;
Table Create Table
@@ -11333,7 +11333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9834;
show create table s;
Table Create Table
@@ -11341,7 +11341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9833;
show create table s;
Table Create Table
@@ -11349,7 +11349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9832;
show create table s;
Table Create Table
@@ -11357,7 +11357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9831;
show create table s;
Table Create Table
@@ -11365,7 +11365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9830;
show create table s;
Table Create Table
@@ -11373,7 +11373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9829;
show create table s;
Table Create Table
@@ -11381,7 +11381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9828;
show create table s;
Table Create Table
@@ -11389,7 +11389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9827;
show create table s;
Table Create Table
@@ -11397,7 +11397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9826;
show create table s;
Table Create Table
@@ -11405,7 +11405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9825;
show create table s;
Table Create Table
@@ -11413,7 +11413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9824;
show create table s;
Table Create Table
@@ -11421,7 +11421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9823;
show create table s;
Table Create Table
@@ -11429,7 +11429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9822;
show create table s;
Table Create Table
@@ -11437,7 +11437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9821;
show create table s;
Table Create Table
@@ -11445,7 +11445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9820;
show create table s;
Table Create Table
@@ -11453,7 +11453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9819;
show create table s;
Table Create Table
@@ -11461,7 +11461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9818;
show create table s;
Table Create Table
@@ -11469,7 +11469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9817;
show create table s;
Table Create Table
@@ -11477,7 +11477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9816;
show create table s;
Table Create Table
@@ -11485,7 +11485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9815;
show create table s;
Table Create Table
@@ -11493,7 +11493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9814;
show create table s;
Table Create Table
@@ -11501,7 +11501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9813;
show create table s;
Table Create Table
@@ -11509,7 +11509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9812;
show create table s;
Table Create Table
@@ -11517,7 +11517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9811;
show create table s;
Table Create Table
@@ -11525,7 +11525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9810;
show create table s;
Table Create Table
@@ -11533,7 +11533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9809;
show create table s;
Table Create Table
@@ -11541,7 +11541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9808;
show create table s;
Table Create Table
@@ -11549,7 +11549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9807;
show create table s;
Table Create Table
@@ -11557,7 +11557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9806;
show create table s;
Table Create Table
@@ -11565,7 +11565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9805;
show create table s;
Table Create Table
@@ -11573,7 +11573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9804;
show create table s;
Table Create Table
@@ -11581,7 +11581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9803;
show create table s;
Table Create Table
@@ -11589,7 +11589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9802;
show create table s;
Table Create Table
@@ -11597,7 +11597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9801;
show create table s;
Table Create Table
@@ -11605,7 +11605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9800;
show create table s;
Table Create Table
@@ -11613,7 +11613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9799;
show create table s;
Table Create Table
@@ -11621,7 +11621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9798;
show create table s;
Table Create Table
@@ -11629,7 +11629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9797;
show create table s;
Table Create Table
@@ -11637,7 +11637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9796;
show create table s;
Table Create Table
@@ -11645,7 +11645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9795;
show create table s;
Table Create Table
@@ -11653,7 +11653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9794;
show create table s;
Table Create Table
@@ -11661,7 +11661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9793;
show create table s;
Table Create Table
@@ -11669,7 +11669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9792;
show create table s;
Table Create Table
@@ -11677,7 +11677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9791;
show create table s;
Table Create Table
@@ -11685,7 +11685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9790;
show create table s;
Table Create Table
@@ -11693,7 +11693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9789;
show create table s;
Table Create Table
@@ -11701,7 +11701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9788;
show create table s;
Table Create Table
@@ -11709,7 +11709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9787;
show create table s;
Table Create Table
@@ -11717,7 +11717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9786;
show create table s;
Table Create Table
@@ -11725,7 +11725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9785;
show create table s;
Table Create Table
@@ -11733,7 +11733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9784;
show create table s;
Table Create Table
@@ -11741,7 +11741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9783;
show create table s;
Table Create Table
@@ -11749,7 +11749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9782;
show create table s;
Table Create Table
@@ -11757,7 +11757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9781;
show create table s;
Table Create Table
@@ -11765,7 +11765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9780;
show create table s;
Table Create Table
@@ -11773,7 +11773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9779;
show create table s;
Table Create Table
@@ -11781,7 +11781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9778;
show create table s;
Table Create Table
@@ -11789,7 +11789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9777;
show create table s;
Table Create Table
@@ -11797,7 +11797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9776;
show create table s;
Table Create Table
@@ -11805,7 +11805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9775;
show create table s;
Table Create Table
@@ -11813,7 +11813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9774;
show create table s;
Table Create Table
@@ -11821,7 +11821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9773;
show create table s;
Table Create Table
@@ -11829,7 +11829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9772;
show create table s;
Table Create Table
@@ -11837,7 +11837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9771;
show create table s;
Table Create Table
@@ -11845,7 +11845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9770;
show create table s;
Table Create Table
@@ -11853,7 +11853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9769;
show create table s;
Table Create Table
@@ -11861,7 +11861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9768;
show create table s;
Table Create Table
@@ -11869,7 +11869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9767;
show create table s;
Table Create Table
@@ -11877,7 +11877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9766;
show create table s;
Table Create Table
@@ -11885,7 +11885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9765;
show create table s;
Table Create Table
@@ -11893,7 +11893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9764;
show create table s;
Table Create Table
@@ -11901,7 +11901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9763;
show create table s;
Table Create Table
@@ -11909,7 +11909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9762;
show create table s;
Table Create Table
@@ -11917,7 +11917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9761;
show create table s;
Table Create Table
@@ -11925,7 +11925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9760;
show create table s;
Table Create Table
@@ -11933,7 +11933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9759;
show create table s;
Table Create Table
@@ -11941,7 +11941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9758;
show create table s;
Table Create Table
@@ -11949,7 +11949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9757;
show create table s;
Table Create Table
@@ -11957,7 +11957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9756;
show create table s;
Table Create Table
@@ -11965,7 +11965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9755;
show create table s;
Table Create Table
@@ -11973,7 +11973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9754;
show create table s;
Table Create Table
@@ -11981,7 +11981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9753;
show create table s;
Table Create Table
@@ -11989,7 +11989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9752;
show create table s;
Table Create Table
@@ -11997,7 +11997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9751;
show create table s;
Table Create Table
@@ -12005,7 +12005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9750;
show create table s;
Table Create Table
@@ -12013,7 +12013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9749;
show create table s;
Table Create Table
@@ -12021,7 +12021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9748;
show create table s;
Table Create Table
@@ -12029,7 +12029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9747;
show create table s;
Table Create Table
@@ -12037,7 +12037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9746;
show create table s;
Table Create Table
@@ -12045,7 +12045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9745;
show create table s;
Table Create Table
@@ -12053,7 +12053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9744;
show create table s;
Table Create Table
@@ -12061,7 +12061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9743;
show create table s;
Table Create Table
@@ -12069,7 +12069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9742;
show create table s;
Table Create Table
@@ -12077,7 +12077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9741;
show create table s;
Table Create Table
@@ -12085,7 +12085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9740;
show create table s;
Table Create Table
@@ -12093,7 +12093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9739;
show create table s;
Table Create Table
@@ -12101,7 +12101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9738;
show create table s;
Table Create Table
@@ -12109,7 +12109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9737;
show create table s;
Table Create Table
@@ -12117,7 +12117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9736;
show create table s;
Table Create Table
@@ -12125,7 +12125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9735;
show create table s;
Table Create Table
@@ -12133,7 +12133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9734;
show create table s;
Table Create Table
@@ -12141,7 +12141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9733;
show create table s;
Table Create Table
@@ -12149,7 +12149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9732;
show create table s;
Table Create Table
@@ -12157,7 +12157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9731;
show create table s;
Table Create Table
@@ -12165,7 +12165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9730;
show create table s;
Table Create Table
@@ -12173,7 +12173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9729;
show create table s;
Table Create Table
@@ -12181,7 +12181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9728;
show create table s;
Table Create Table
@@ -12189,7 +12189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9727;
show create table s;
Table Create Table
@@ -12197,7 +12197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9726;
show create table s;
Table Create Table
@@ -12205,7 +12205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9725;
show create table s;
Table Create Table
@@ -12213,7 +12213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9724;
show create table s;
Table Create Table
@@ -12221,7 +12221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9723;
show create table s;
Table Create Table
@@ -12229,7 +12229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9722;
show create table s;
Table Create Table
@@ -12237,7 +12237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9721;
show create table s;
Table Create Table
@@ -12245,7 +12245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9720;
show create table s;
Table Create Table
@@ -12253,7 +12253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9719;
show create table s;
Table Create Table
@@ -12261,7 +12261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9718;
show create table s;
Table Create Table
@@ -12269,7 +12269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9717;
show create table s;
Table Create Table
@@ -12277,7 +12277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9716;
show create table s;
Table Create Table
@@ -12285,7 +12285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9715;
show create table s;
Table Create Table
@@ -12293,7 +12293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9714;
show create table s;
Table Create Table
@@ -12301,7 +12301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9713;
show create table s;
Table Create Table
@@ -12309,7 +12309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9712;
show create table s;
Table Create Table
@@ -12317,7 +12317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9711;
show create table s;
Table Create Table
@@ -12325,7 +12325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9710;
show create table s;
Table Create Table
@@ -12333,7 +12333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9709;
show create table s;
Table Create Table
@@ -12341,7 +12341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9708;
show create table s;
Table Create Table
@@ -12349,7 +12349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9707;
show create table s;
Table Create Table
@@ -12357,7 +12357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9706;
show create table s;
Table Create Table
@@ -12365,7 +12365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9705;
show create table s;
Table Create Table
@@ -12373,7 +12373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9704;
show create table s;
Table Create Table
@@ -12381,7 +12381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9703;
show create table s;
Table Create Table
@@ -12389,7 +12389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9702;
show create table s;
Table Create Table
@@ -12397,7 +12397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9701;
show create table s;
Table Create Table
@@ -12405,7 +12405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9700;
show create table s;
Table Create Table
@@ -12413,7 +12413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9699;
show create table s;
Table Create Table
@@ -12421,7 +12421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9698;
show create table s;
Table Create Table
@@ -12429,7 +12429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9697;
show create table s;
Table Create Table
@@ -12437,7 +12437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9696;
show create table s;
Table Create Table
@@ -12445,7 +12445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9695;
show create table s;
Table Create Table
@@ -12453,7 +12453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9694;
show create table s;
Table Create Table
@@ -12461,7 +12461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9693;
show create table s;
Table Create Table
@@ -12469,7 +12469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9692;
show create table s;
Table Create Table
@@ -12477,7 +12477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9691;
show create table s;
Table Create Table
@@ -12485,7 +12485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9690;
show create table s;
Table Create Table
@@ -12493,7 +12493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9689;
show create table s;
Table Create Table
@@ -12501,7 +12501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9688;
show create table s;
Table Create Table
@@ -12509,7 +12509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9687;
show create table s;
Table Create Table
@@ -12517,7 +12517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9686;
show create table s;
Table Create Table
@@ -12525,7 +12525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9685;
show create table s;
Table Create Table
@@ -12533,7 +12533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9684;
show create table s;
Table Create Table
@@ -12541,7 +12541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9683;
show create table s;
Table Create Table
@@ -12549,7 +12549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9682;
show create table s;
Table Create Table
@@ -12557,7 +12557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9681;
show create table s;
Table Create Table
@@ -12565,7 +12565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9680;
show create table s;
Table Create Table
@@ -12573,7 +12573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9679;
show create table s;
Table Create Table
@@ -12581,7 +12581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9678;
show create table s;
Table Create Table
@@ -12589,7 +12589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9677;
show create table s;
Table Create Table
@@ -12597,7 +12597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9676;
show create table s;
Table Create Table
@@ -12605,7 +12605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9675;
show create table s;
Table Create Table
@@ -12613,7 +12613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9674;
show create table s;
Table Create Table
@@ -12621,7 +12621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9673;
show create table s;
Table Create Table
@@ -12629,7 +12629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9672;
show create table s;
Table Create Table
@@ -12637,7 +12637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9671;
show create table s;
Table Create Table
@@ -12645,7 +12645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9670;
show create table s;
Table Create Table
@@ -12653,7 +12653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9669;
show create table s;
Table Create Table
@@ -12661,7 +12661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9668;
show create table s;
Table Create Table
@@ -12669,7 +12669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9667;
show create table s;
Table Create Table
@@ -12677,7 +12677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9666;
show create table s;
Table Create Table
@@ -12685,7 +12685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9665;
show create table s;
Table Create Table
@@ -12693,7 +12693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9664;
show create table s;
Table Create Table
@@ -12701,7 +12701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9663;
show create table s;
Table Create Table
@@ -12709,7 +12709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9662;
show create table s;
Table Create Table
@@ -12717,7 +12717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9661;
show create table s;
Table Create Table
@@ -12725,7 +12725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9660;
show create table s;
Table Create Table
@@ -12733,7 +12733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9659;
show create table s;
Table Create Table
@@ -12741,7 +12741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9658;
show create table s;
Table Create Table
@@ -12749,7 +12749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9657;
show create table s;
Table Create Table
@@ -12757,7 +12757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9656;
show create table s;
Table Create Table
@@ -12765,7 +12765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9655;
show create table s;
Table Create Table
@@ -12773,7 +12773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9654;
show create table s;
Table Create Table
@@ -12781,7 +12781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9653;
show create table s;
Table Create Table
@@ -12789,7 +12789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9652;
show create table s;
Table Create Table
@@ -12797,7 +12797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9651;
show create table s;
Table Create Table
@@ -12805,7 +12805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9650;
show create table s;
Table Create Table
@@ -12813,7 +12813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9649;
show create table s;
Table Create Table
@@ -12821,7 +12821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9648;
show create table s;
Table Create Table
@@ -12829,7 +12829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9647;
show create table s;
Table Create Table
@@ -12837,7 +12837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9646;
show create table s;
Table Create Table
@@ -12845,7 +12845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9645;
show create table s;
Table Create Table
@@ -12853,7 +12853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9644;
show create table s;
Table Create Table
@@ -12861,7 +12861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9643;
show create table s;
Table Create Table
@@ -12869,7 +12869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9642;
show create table s;
Table Create Table
@@ -12877,7 +12877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9641;
show create table s;
Table Create Table
@@ -12885,7 +12885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9640;
show create table s;
Table Create Table
@@ -12893,7 +12893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9639;
show create table s;
Table Create Table
@@ -12901,7 +12901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9638;
show create table s;
Table Create Table
@@ -12909,7 +12909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9637;
show create table s;
Table Create Table
@@ -12917,7 +12917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9636;
show create table s;
Table Create Table
@@ -12925,7 +12925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9635;
show create table s;
Table Create Table
@@ -12933,7 +12933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9634;
show create table s;
Table Create Table
@@ -12941,7 +12941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9633;
show create table s;
Table Create Table
@@ -12949,7 +12949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9632;
show create table s;
Table Create Table
@@ -12957,7 +12957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9631;
show create table s;
Table Create Table
@@ -12965,7 +12965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9630;
show create table s;
Table Create Table
@@ -12973,7 +12973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9629;
show create table s;
Table Create Table
@@ -12981,7 +12981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9628;
show create table s;
Table Create Table
@@ -12989,7 +12989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9627;
show create table s;
Table Create Table
@@ -12997,7 +12997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9626;
show create table s;
Table Create Table
@@ -13005,7 +13005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9625;
show create table s;
Table Create Table
@@ -13013,7 +13013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9624;
show create table s;
Table Create Table
@@ -13021,7 +13021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9623;
show create table s;
Table Create Table
@@ -13029,7 +13029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9622;
show create table s;
Table Create Table
@@ -13037,7 +13037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9621;
show create table s;
Table Create Table
@@ -13045,7 +13045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9620;
show create table s;
Table Create Table
@@ -13053,7 +13053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9619;
show create table s;
Table Create Table
@@ -13061,7 +13061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9618;
show create table s;
Table Create Table
@@ -13069,7 +13069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9617;
show create table s;
Table Create Table
@@ -13077,7 +13077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9616;
show create table s;
Table Create Table
@@ -13085,7 +13085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9615;
show create table s;
Table Create Table
@@ -13093,7 +13093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9614;
show create table s;
Table Create Table
@@ -13101,7 +13101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9613;
show create table s;
Table Create Table
@@ -13109,7 +13109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9612;
show create table s;
Table Create Table
@@ -13117,7 +13117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9611;
show create table s;
Table Create Table
@@ -13125,7 +13125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9610;
show create table s;
Table Create Table
@@ -13133,7 +13133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9609;
show create table s;
Table Create Table
@@ -13141,7 +13141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9608;
show create table s;
Table Create Table
@@ -13149,7 +13149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9607;
show create table s;
Table Create Table
@@ -13157,7 +13157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9606;
show create table s;
Table Create Table
@@ -13165,7 +13165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9605;
show create table s;
Table Create Table
@@ -13173,7 +13173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9604;
show create table s;
Table Create Table
@@ -13181,7 +13181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9603;
show create table s;
Table Create Table
@@ -13189,7 +13189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9602;
show create table s;
Table Create Table
@@ -13197,7 +13197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9601;
show create table s;
Table Create Table
@@ -13205,7 +13205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9600;
show create table s;
Table Create Table
@@ -13213,7 +13213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9599;
show create table s;
Table Create Table
@@ -13221,7 +13221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9598;
show create table s;
Table Create Table
@@ -13229,7 +13229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9597;
show create table s;
Table Create Table
@@ -13237,7 +13237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9596;
show create table s;
Table Create Table
@@ -13245,7 +13245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9595;
show create table s;
Table Create Table
@@ -13253,7 +13253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9594;
show create table s;
Table Create Table
@@ -13261,7 +13261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9593;
show create table s;
Table Create Table
@@ -13269,7 +13269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9592;
show create table s;
Table Create Table
@@ -13277,7 +13277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9591;
show create table s;
Table Create Table
@@ -13285,7 +13285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9590;
show create table s;
Table Create Table
@@ -13293,7 +13293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9589;
show create table s;
Table Create Table
@@ -13301,7 +13301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9588;
show create table s;
Table Create Table
@@ -13309,7 +13309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9587;
show create table s;
Table Create Table
@@ -13317,7 +13317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9586;
show create table s;
Table Create Table
@@ -13325,7 +13325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9585;
show create table s;
Table Create Table
@@ -13333,7 +13333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9584;
show create table s;
Table Create Table
@@ -13341,7 +13341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9583;
show create table s;
Table Create Table
@@ -13349,7 +13349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9582;
show create table s;
Table Create Table
@@ -13357,7 +13357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9581;
show create table s;
Table Create Table
@@ -13365,7 +13365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9580;
show create table s;
Table Create Table
@@ -13373,7 +13373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9579;
show create table s;
Table Create Table
@@ -13381,7 +13381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9578;
show create table s;
Table Create Table
@@ -13389,7 +13389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9577;
show create table s;
Table Create Table
@@ -13397,7 +13397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9576;
show create table s;
Table Create Table
@@ -13405,7 +13405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9575;
show create table s;
Table Create Table
@@ -13413,7 +13413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9574;
show create table s;
Table Create Table
@@ -13421,7 +13421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9573;
show create table s;
Table Create Table
@@ -13429,7 +13429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9572;
show create table s;
Table Create Table
@@ -13437,7 +13437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9571;
show create table s;
Table Create Table
@@ -13445,7 +13445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9570;
show create table s;
Table Create Table
@@ -13453,7 +13453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9569;
show create table s;
Table Create Table
@@ -13461,7 +13461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9568;
show create table s;
Table Create Table
@@ -13469,7 +13469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9567;
show create table s;
Table Create Table
@@ -13477,7 +13477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9566;
show create table s;
Table Create Table
@@ -13485,7 +13485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9565;
show create table s;
Table Create Table
@@ -13493,7 +13493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9564;
show create table s;
Table Create Table
@@ -13501,7 +13501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9563;
show create table s;
Table Create Table
@@ -13509,7 +13509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9562;
show create table s;
Table Create Table
@@ -13517,7 +13517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9561;
show create table s;
Table Create Table
@@ -13525,7 +13525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9560;
show create table s;
Table Create Table
@@ -13533,7 +13533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9559;
show create table s;
Table Create Table
@@ -13541,7 +13541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9558;
show create table s;
Table Create Table
@@ -13549,7 +13549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9557;
show create table s;
Table Create Table
@@ -13557,7 +13557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9556;
show create table s;
Table Create Table
@@ -13565,7 +13565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9555;
show create table s;
Table Create Table
@@ -13573,7 +13573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9554;
show create table s;
Table Create Table
@@ -13581,7 +13581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9553;
show create table s;
Table Create Table
@@ -13589,7 +13589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9552;
show create table s;
Table Create Table
@@ -13597,7 +13597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9551;
show create table s;
Table Create Table
@@ -13605,7 +13605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9550;
show create table s;
Table Create Table
@@ -13613,7 +13613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9549;
show create table s;
Table Create Table
@@ -13621,7 +13621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9548;
show create table s;
Table Create Table
@@ -13629,7 +13629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9547;
show create table s;
Table Create Table
@@ -13637,7 +13637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9546;
show create table s;
Table Create Table
@@ -13645,7 +13645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9545;
show create table s;
Table Create Table
@@ -13653,7 +13653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9544;
show create table s;
Table Create Table
@@ -13661,7 +13661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9543;
show create table s;
Table Create Table
@@ -13669,7 +13669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9542;
show create table s;
Table Create Table
@@ -13677,7 +13677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9541;
show create table s;
Table Create Table
@@ -13685,7 +13685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9540;
show create table s;
Table Create Table
@@ -13693,7 +13693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9539;
show create table s;
Table Create Table
@@ -13701,7 +13701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9538;
show create table s;
Table Create Table
@@ -13709,7 +13709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9537;
show create table s;
Table Create Table
@@ -13717,7 +13717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9536;
show create table s;
Table Create Table
@@ -13725,7 +13725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9535;
show create table s;
Table Create Table
@@ -13733,7 +13733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9534;
show create table s;
Table Create Table
@@ -13741,7 +13741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9533;
show create table s;
Table Create Table
@@ -13749,7 +13749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9532;
show create table s;
Table Create Table
@@ -13757,7 +13757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9531;
show create table s;
Table Create Table
@@ -13765,7 +13765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9530;
show create table s;
Table Create Table
@@ -13773,7 +13773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9529;
show create table s;
Table Create Table
@@ -13781,7 +13781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9528;
show create table s;
Table Create Table
@@ -13789,7 +13789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9527;
show create table s;
Table Create Table
@@ -13797,7 +13797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9526;
show create table s;
Table Create Table
@@ -13805,7 +13805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9525;
show create table s;
Table Create Table
@@ -13813,7 +13813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9524;
show create table s;
Table Create Table
@@ -13821,7 +13821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9523;
show create table s;
Table Create Table
@@ -13829,7 +13829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9522;
show create table s;
Table Create Table
@@ -13837,7 +13837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9521;
show create table s;
Table Create Table
@@ -13845,7 +13845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9520;
show create table s;
Table Create Table
@@ -13853,7 +13853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9519;
show create table s;
Table Create Table
@@ -13861,7 +13861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9518;
show create table s;
Table Create Table
@@ -13869,7 +13869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9517;
show create table s;
Table Create Table
@@ -13877,7 +13877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9516;
show create table s;
Table Create Table
@@ -13885,7 +13885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9515;
show create table s;
Table Create Table
@@ -13893,7 +13893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9514;
show create table s;
Table Create Table
@@ -13901,7 +13901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9513;
show create table s;
Table Create Table
@@ -13909,7 +13909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9512;
show create table s;
Table Create Table
@@ -13917,7 +13917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9511;
show create table s;
Table Create Table
@@ -13925,7 +13925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9510;
show create table s;
Table Create Table
@@ -13933,7 +13933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9509;
show create table s;
Table Create Table
@@ -13941,7 +13941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9508;
show create table s;
Table Create Table
@@ -13949,7 +13949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9507;
show create table s;
Table Create Table
@@ -13957,7 +13957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9506;
show create table s;
Table Create Table
@@ -13965,7 +13965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9505;
show create table s;
Table Create Table
@@ -13973,7 +13973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9504;
show create table s;
Table Create Table
@@ -13981,7 +13981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9503;
show create table s;
Table Create Table
@@ -13989,7 +13989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9502;
show create table s;
Table Create Table
@@ -13997,7 +13997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9501;
show create table s;
Table Create Table
@@ -14005,7 +14005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9500;
show create table s;
Table Create Table
@@ -14013,7 +14013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9499;
show create table s;
Table Create Table
@@ -14021,7 +14021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9498;
show create table s;
Table Create Table
@@ -14029,7 +14029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9497;
show create table s;
Table Create Table
@@ -14037,7 +14037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9496;
show create table s;
Table Create Table
@@ -14045,7 +14045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9495;
show create table s;
Table Create Table
@@ -14053,7 +14053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9494;
show create table s;
Table Create Table
@@ -14061,7 +14061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9493;
show create table s;
Table Create Table
@@ -14069,7 +14069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9492;
show create table s;
Table Create Table
@@ -14077,7 +14077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9491;
show create table s;
Table Create Table
@@ -14085,7 +14085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9490;
show create table s;
Table Create Table
@@ -14093,7 +14093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9489;
show create table s;
Table Create Table
@@ -14101,7 +14101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9488;
show create table s;
Table Create Table
@@ -14109,7 +14109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9487;
show create table s;
Table Create Table
@@ -14117,7 +14117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9486;
show create table s;
Table Create Table
@@ -14125,7 +14125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9485;
show create table s;
Table Create Table
@@ -14133,7 +14133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9484;
show create table s;
Table Create Table
@@ -14141,7 +14141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9483;
show create table s;
Table Create Table
@@ -14149,7 +14149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9482;
show create table s;
Table Create Table
@@ -14157,7 +14157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9481;
show create table s;
Table Create Table
@@ -14165,7 +14165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9480;
show create table s;
Table Create Table
@@ -14173,7 +14173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9479;
show create table s;
Table Create Table
@@ -14181,7 +14181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9478;
show create table s;
Table Create Table
@@ -14189,7 +14189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9477;
show create table s;
Table Create Table
@@ -14197,7 +14197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9476;
show create table s;
Table Create Table
@@ -14205,7 +14205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9475;
show create table s;
Table Create Table
@@ -14213,7 +14213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9474;
show create table s;
Table Create Table
@@ -14221,7 +14221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9473;
show create table s;
Table Create Table
@@ -14229,7 +14229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9472;
show create table s;
Table Create Table
@@ -14237,7 +14237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9471;
show create table s;
Table Create Table
@@ -14245,7 +14245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9470;
show create table s;
Table Create Table
@@ -14253,7 +14253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9469;
show create table s;
Table Create Table
@@ -14261,7 +14261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9468;
show create table s;
Table Create Table
@@ -14269,7 +14269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9467;
show create table s;
Table Create Table
@@ -14277,7 +14277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9466;
show create table s;
Table Create Table
@@ -14285,7 +14285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9465;
show create table s;
Table Create Table
@@ -14293,7 +14293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9464;
show create table s;
Table Create Table
@@ -14301,7 +14301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9463;
show create table s;
Table Create Table
@@ -14309,7 +14309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9462;
show create table s;
Table Create Table
@@ -14317,7 +14317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9461;
show create table s;
Table Create Table
@@ -14325,7 +14325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9460;
show create table s;
Table Create Table
@@ -14333,7 +14333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9459;
show create table s;
Table Create Table
@@ -14341,7 +14341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9458;
show create table s;
Table Create Table
@@ -14349,7 +14349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9457;
show create table s;
Table Create Table
@@ -14357,7 +14357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9456;
show create table s;
Table Create Table
@@ -14365,7 +14365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9455;
show create table s;
Table Create Table
@@ -14373,7 +14373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9454;
show create table s;
Table Create Table
@@ -14381,7 +14381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9453;
show create table s;
Table Create Table
@@ -14389,7 +14389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9452;
show create table s;
Table Create Table
@@ -14397,7 +14397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9451;
show create table s;
Table Create Table
@@ -14405,7 +14405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9450;
show create table s;
Table Create Table
@@ -14413,7 +14413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9449;
show create table s;
Table Create Table
@@ -14421,7 +14421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9448;
show create table s;
Table Create Table
@@ -14429,7 +14429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9447;
show create table s;
Table Create Table
@@ -14437,7 +14437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9446;
show create table s;
Table Create Table
@@ -14445,7 +14445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9445;
show create table s;
Table Create Table
@@ -14453,7 +14453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9444;
show create table s;
Table Create Table
@@ -14461,7 +14461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9443;
show create table s;
Table Create Table
@@ -14469,7 +14469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9442;
show create table s;
Table Create Table
@@ -14477,7 +14477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9441;
show create table s;
Table Create Table
@@ -14485,7 +14485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9440;
show create table s;
Table Create Table
@@ -14493,7 +14493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9439;
show create table s;
Table Create Table
@@ -14501,7 +14501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9438;
show create table s;
Table Create Table
@@ -14509,7 +14509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9437;
show create table s;
Table Create Table
@@ -14517,7 +14517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9436;
show create table s;
Table Create Table
@@ -14525,7 +14525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9435;
show create table s;
Table Create Table
@@ -14533,7 +14533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9434;
show create table s;
Table Create Table
@@ -14541,7 +14541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9433;
show create table s;
Table Create Table
@@ -14549,7 +14549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9432;
show create table s;
Table Create Table
@@ -14557,7 +14557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9431;
show create table s;
Table Create Table
@@ -14565,7 +14565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9430;
show create table s;
Table Create Table
@@ -14573,7 +14573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9429;
show create table s;
Table Create Table
@@ -14581,7 +14581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9428;
show create table s;
Table Create Table
@@ -14589,7 +14589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9427;
show create table s;
Table Create Table
@@ -14597,7 +14597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9426;
show create table s;
Table Create Table
@@ -14605,7 +14605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9425;
show create table s;
Table Create Table
@@ -14613,7 +14613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9424;
show create table s;
Table Create Table
@@ -14621,7 +14621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9423;
show create table s;
Table Create Table
@@ -14629,7 +14629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9422;
show create table s;
Table Create Table
@@ -14637,7 +14637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9421;
show create table s;
Table Create Table
@@ -14645,7 +14645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9420;
show create table s;
Table Create Table
@@ -14653,7 +14653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9419;
show create table s;
Table Create Table
@@ -14661,7 +14661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9418;
show create table s;
Table Create Table
@@ -14669,7 +14669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9417;
show create table s;
Table Create Table
@@ -14677,7 +14677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9416;
show create table s;
Table Create Table
@@ -14685,7 +14685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9415;
show create table s;
Table Create Table
@@ -14693,7 +14693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9414;
show create table s;
Table Create Table
@@ -14701,7 +14701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9413;
show create table s;
Table Create Table
@@ -14709,7 +14709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9412;
show create table s;
Table Create Table
@@ -14717,7 +14717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9411;
show create table s;
Table Create Table
@@ -14725,7 +14725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9410;
show create table s;
Table Create Table
@@ -14733,7 +14733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9409;
show create table s;
Table Create Table
@@ -14741,7 +14741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9408;
show create table s;
Table Create Table
@@ -14749,7 +14749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9407;
show create table s;
Table Create Table
@@ -14757,7 +14757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9406;
show create table s;
Table Create Table
@@ -14765,7 +14765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9405;
show create table s;
Table Create Table
@@ -14773,7 +14773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9404;
show create table s;
Table Create Table
@@ -14781,7 +14781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9403;
show create table s;
Table Create Table
@@ -14789,7 +14789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9402;
show create table s;
Table Create Table
@@ -14797,7 +14797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9401;
show create table s;
Table Create Table
@@ -14805,7 +14805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9400;
show create table s;
Table Create Table
@@ -14813,7 +14813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9399;
show create table s;
Table Create Table
@@ -14821,7 +14821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9398;
show create table s;
Table Create Table
@@ -14829,7 +14829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9397;
show create table s;
Table Create Table
@@ -14837,7 +14837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9396;
show create table s;
Table Create Table
@@ -14845,7 +14845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9395;
show create table s;
Table Create Table
@@ -14853,7 +14853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9394;
show create table s;
Table Create Table
@@ -14861,7 +14861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9393;
show create table s;
Table Create Table
@@ -14869,7 +14869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9392;
show create table s;
Table Create Table
@@ -14877,7 +14877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9391;
show create table s;
Table Create Table
@@ -14885,7 +14885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9390;
show create table s;
Table Create Table
@@ -14893,7 +14893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9389;
show create table s;
Table Create Table
@@ -14901,7 +14901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9388;
show create table s;
Table Create Table
@@ -14909,7 +14909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9387;
show create table s;
Table Create Table
@@ -14917,7 +14917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9386;
show create table s;
Table Create Table
@@ -14925,7 +14925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9385;
show create table s;
Table Create Table
@@ -14933,7 +14933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9384;
show create table s;
Table Create Table
@@ -14941,7 +14941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9383;
show create table s;
Table Create Table
@@ -14949,7 +14949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9382;
show create table s;
Table Create Table
@@ -14957,7 +14957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9381;
show create table s;
Table Create Table
@@ -14965,7 +14965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9380;
show create table s;
Table Create Table
@@ -14973,7 +14973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9379;
show create table s;
Table Create Table
@@ -14981,7 +14981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9378;
show create table s;
Table Create Table
@@ -14989,7 +14989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9377;
show create table s;
Table Create Table
@@ -14997,7 +14997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9376;
show create table s;
Table Create Table
@@ -15005,7 +15005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9375;
show create table s;
Table Create Table
@@ -15013,7 +15013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9374;
show create table s;
Table Create Table
@@ -15021,7 +15021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9373;
show create table s;
Table Create Table
@@ -15029,7 +15029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9372;
show create table s;
Table Create Table
@@ -15037,7 +15037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9371;
show create table s;
Table Create Table
@@ -15045,7 +15045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9370;
show create table s;
Table Create Table
@@ -15053,7 +15053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9369;
show create table s;
Table Create Table
@@ -15061,7 +15061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9368;
show create table s;
Table Create Table
@@ -15069,7 +15069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9367;
show create table s;
Table Create Table
@@ -15077,7 +15077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9366;
show create table s;
Table Create Table
@@ -15085,7 +15085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9365;
show create table s;
Table Create Table
@@ -15093,7 +15093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9364;
show create table s;
Table Create Table
@@ -15101,7 +15101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9363;
show create table s;
Table Create Table
@@ -15109,7 +15109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9362;
show create table s;
Table Create Table
@@ -15117,7 +15117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9361;
show create table s;
Table Create Table
@@ -15125,7 +15125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9360;
show create table s;
Table Create Table
@@ -15133,7 +15133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9359;
show create table s;
Table Create Table
@@ -15141,7 +15141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9358;
show create table s;
Table Create Table
@@ -15149,7 +15149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9357;
show create table s;
Table Create Table
@@ -15157,7 +15157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9356;
show create table s;
Table Create Table
@@ -15165,7 +15165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9355;
show create table s;
Table Create Table
@@ -15173,7 +15173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9354;
show create table s;
Table Create Table
@@ -15181,7 +15181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9353;
show create table s;
Table Create Table
@@ -15189,7 +15189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9352;
show create table s;
Table Create Table
@@ -15197,7 +15197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9351;
show create table s;
Table Create Table
@@ -15205,7 +15205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9350;
show create table s;
Table Create Table
@@ -15213,7 +15213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9349;
show create table s;
Table Create Table
@@ -15221,7 +15221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9348;
show create table s;
Table Create Table
@@ -15229,7 +15229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9347;
show create table s;
Table Create Table
@@ -15237,7 +15237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9346;
show create table s;
Table Create Table
@@ -15245,7 +15245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9345;
show create table s;
Table Create Table
@@ -15253,7 +15253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9344;
show create table s;
Table Create Table
@@ -15261,7 +15261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9343;
show create table s;
Table Create Table
@@ -15269,7 +15269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9342;
show create table s;
Table Create Table
@@ -15277,7 +15277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9341;
show create table s;
Table Create Table
@@ -15285,7 +15285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9340;
show create table s;
Table Create Table
@@ -15293,7 +15293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9339;
show create table s;
Table Create Table
@@ -15301,7 +15301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9338;
show create table s;
Table Create Table
@@ -15309,7 +15309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9337;
show create table s;
Table Create Table
@@ -15317,7 +15317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9336;
show create table s;
Table Create Table
@@ -15325,7 +15325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9335;
show create table s;
Table Create Table
@@ -15333,7 +15333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9334;
show create table s;
Table Create Table
@@ -15341,7 +15341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9333;
show create table s;
Table Create Table
@@ -15349,7 +15349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9332;
show create table s;
Table Create Table
@@ -15357,7 +15357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9331;
show create table s;
Table Create Table
@@ -15365,7 +15365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9330;
show create table s;
Table Create Table
@@ -15373,7 +15373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9329;
show create table s;
Table Create Table
@@ -15381,7 +15381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9328;
show create table s;
Table Create Table
@@ -15389,7 +15389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9327;
show create table s;
Table Create Table
@@ -15397,7 +15397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9326;
show create table s;
Table Create Table
@@ -15405,7 +15405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9325;
show create table s;
Table Create Table
@@ -15413,7 +15413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9324;
show create table s;
Table Create Table
@@ -15421,7 +15421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9323;
show create table s;
Table Create Table
@@ -15429,7 +15429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9322;
show create table s;
Table Create Table
@@ -15437,7 +15437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9321;
show create table s;
Table Create Table
@@ -15445,7 +15445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9320;
show create table s;
Table Create Table
@@ -15453,7 +15453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9319;
show create table s;
Table Create Table
@@ -15461,7 +15461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9318;
show create table s;
Table Create Table
@@ -15469,7 +15469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9317;
show create table s;
Table Create Table
@@ -15477,7 +15477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9316;
show create table s;
Table Create Table
@@ -15485,7 +15485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9315;
show create table s;
Table Create Table
@@ -15493,7 +15493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9314;
show create table s;
Table Create Table
@@ -15501,7 +15501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9313;
show create table s;
Table Create Table
@@ -15509,7 +15509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9312;
show create table s;
Table Create Table
@@ -15517,7 +15517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9311;
show create table s;
Table Create Table
@@ -15525,7 +15525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9310;
show create table s;
Table Create Table
@@ -15533,7 +15533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9309;
show create table s;
Table Create Table
@@ -15541,7 +15541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9308;
show create table s;
Table Create Table
@@ -15549,7 +15549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9307;
show create table s;
Table Create Table
@@ -15557,7 +15557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9306;
show create table s;
Table Create Table
@@ -15565,7 +15565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9305;
show create table s;
Table Create Table
@@ -15573,7 +15573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9304;
show create table s;
Table Create Table
@@ -15581,7 +15581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9303;
show create table s;
Table Create Table
@@ -15589,7 +15589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9302;
show create table s;
Table Create Table
@@ -15597,7 +15597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9301;
show create table s;
Table Create Table
@@ -15605,7 +15605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9300;
show create table s;
Table Create Table
@@ -15613,7 +15613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9299;
show create table s;
Table Create Table
@@ -15621,7 +15621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9298;
show create table s;
Table Create Table
@@ -15629,7 +15629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9297;
show create table s;
Table Create Table
@@ -15637,7 +15637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9296;
show create table s;
Table Create Table
@@ -15645,7 +15645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9295;
show create table s;
Table Create Table
@@ -15653,7 +15653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9294;
show create table s;
Table Create Table
@@ -15661,7 +15661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9293;
show create table s;
Table Create Table
@@ -15669,7 +15669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9292;
show create table s;
Table Create Table
@@ -15677,7 +15677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9291;
show create table s;
Table Create Table
@@ -15685,7 +15685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9290;
show create table s;
Table Create Table
@@ -15693,7 +15693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9289;
show create table s;
Table Create Table
@@ -15701,7 +15701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9288;
show create table s;
Table Create Table
@@ -15709,7 +15709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9287;
show create table s;
Table Create Table
@@ -15717,7 +15717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9286;
show create table s;
Table Create Table
@@ -15725,7 +15725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9285;
show create table s;
Table Create Table
@@ -15733,7 +15733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9284;
show create table s;
Table Create Table
@@ -15741,7 +15741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9283;
show create table s;
Table Create Table
@@ -15749,7 +15749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9282;
show create table s;
Table Create Table
@@ -15757,7 +15757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9281;
show create table s;
Table Create Table
@@ -15765,7 +15765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9280;
show create table s;
Table Create Table
@@ -15773,7 +15773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9279;
show create table s;
Table Create Table
@@ -15781,7 +15781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9278;
show create table s;
Table Create Table
@@ -15789,7 +15789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9277;
show create table s;
Table Create Table
@@ -15797,7 +15797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9276;
show create table s;
Table Create Table
@@ -15805,7 +15805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9275;
show create table s;
Table Create Table
@@ -15813,7 +15813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9274;
show create table s;
Table Create Table
@@ -15821,7 +15821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9273;
show create table s;
Table Create Table
@@ -15829,7 +15829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9272;
show create table s;
Table Create Table
@@ -15837,7 +15837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9271;
show create table s;
Table Create Table
@@ -15845,7 +15845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9270;
show create table s;
Table Create Table
@@ -15853,7 +15853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9269;
show create table s;
Table Create Table
@@ -15861,7 +15861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9268;
show create table s;
Table Create Table
@@ -15869,7 +15869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9267;
show create table s;
Table Create Table
@@ -15877,7 +15877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9266;
show create table s;
Table Create Table
@@ -15885,7 +15885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9265;
show create table s;
Table Create Table
@@ -15893,7 +15893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9264;
show create table s;
Table Create Table
@@ -15901,7 +15901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9263;
show create table s;
Table Create Table
@@ -15909,7 +15909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9262;
show create table s;
Table Create Table
@@ -15917,7 +15917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9261;
show create table s;
Table Create Table
@@ -15925,7 +15925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9260;
show create table s;
Table Create Table
@@ -15933,7 +15933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9259;
show create table s;
Table Create Table
@@ -15941,7 +15941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9258;
show create table s;
Table Create Table
@@ -15949,7 +15949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9257;
show create table s;
Table Create Table
@@ -15957,7 +15957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9256;
show create table s;
Table Create Table
@@ -15965,7 +15965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9255;
show create table s;
Table Create Table
@@ -15973,7 +15973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9254;
show create table s;
Table Create Table
@@ -15981,7 +15981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9253;
show create table s;
Table Create Table
@@ -15989,7 +15989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9252;
show create table s;
Table Create Table
@@ -15997,7 +15997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9251;
show create table s;
Table Create Table
@@ -16005,7 +16005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9250;
show create table s;
Table Create Table
@@ -16013,7 +16013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9249;
show create table s;
Table Create Table
@@ -16021,7 +16021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9248;
show create table s;
Table Create Table
@@ -16029,7 +16029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9247;
show create table s;
Table Create Table
@@ -16037,7 +16037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9246;
show create table s;
Table Create Table
@@ -16045,7 +16045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9245;
show create table s;
Table Create Table
@@ -16053,7 +16053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9244;
show create table s;
Table Create Table
@@ -16061,7 +16061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9243;
show create table s;
Table Create Table
@@ -16069,7 +16069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9242;
show create table s;
Table Create Table
@@ -16077,7 +16077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9241;
show create table s;
Table Create Table
@@ -16085,7 +16085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9240;
show create table s;
Table Create Table
@@ -16093,7 +16093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9239;
show create table s;
Table Create Table
@@ -16101,7 +16101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9238;
show create table s;
Table Create Table
@@ -16109,7 +16109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9237;
show create table s;
Table Create Table
@@ -16117,7 +16117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9236;
show create table s;
Table Create Table
@@ -16125,7 +16125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9235;
show create table s;
Table Create Table
@@ -16133,7 +16133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9234;
show create table s;
Table Create Table
@@ -16141,7 +16141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9233;
show create table s;
Table Create Table
@@ -16149,7 +16149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9232;
show create table s;
Table Create Table
@@ -16157,7 +16157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9231;
show create table s;
Table Create Table
@@ -16165,7 +16165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9230;
show create table s;
Table Create Table
@@ -16173,7 +16173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9229;
show create table s;
Table Create Table
@@ -16181,7 +16181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9228;
show create table s;
Table Create Table
@@ -16189,7 +16189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9227;
show create table s;
Table Create Table
@@ -16197,7 +16197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9226;
show create table s;
Table Create Table
@@ -16205,7 +16205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9225;
show create table s;
Table Create Table
@@ -16213,7 +16213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9224;
show create table s;
Table Create Table
@@ -16221,7 +16221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9223;
show create table s;
Table Create Table
@@ -16229,7 +16229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9222;
show create table s;
Table Create Table
@@ -16237,7 +16237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9221;
show create table s;
Table Create Table
@@ -16245,7 +16245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9220;
show create table s;
Table Create Table
@@ -16253,7 +16253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9219;
show create table s;
Table Create Table
@@ -16261,7 +16261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9218;
show create table s;
Table Create Table
@@ -16269,7 +16269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9217;
show create table s;
Table Create Table
@@ -16277,7 +16277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9216;
show create table s;
Table Create Table
@@ -16285,7 +16285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9215;
show create table s;
Table Create Table
@@ -16293,7 +16293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9214;
show create table s;
Table Create Table
@@ -16301,7 +16301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9213;
show create table s;
Table Create Table
@@ -16309,7 +16309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9212;
show create table s;
Table Create Table
@@ -16317,7 +16317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9211;
show create table s;
Table Create Table
@@ -16325,7 +16325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9210;
show create table s;
Table Create Table
@@ -16333,7 +16333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9209;
show create table s;
Table Create Table
@@ -16341,7 +16341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9208;
show create table s;
Table Create Table
@@ -16349,7 +16349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9207;
show create table s;
Table Create Table
@@ -16357,7 +16357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9206;
show create table s;
Table Create Table
@@ -16365,7 +16365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9205;
show create table s;
Table Create Table
@@ -16373,7 +16373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9204;
show create table s;
Table Create Table
@@ -16381,7 +16381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9203;
show create table s;
Table Create Table
@@ -16389,7 +16389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9202;
show create table s;
Table Create Table
@@ -16397,7 +16397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9201;
show create table s;
Table Create Table
@@ -16405,7 +16405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9200;
show create table s;
Table Create Table
@@ -16413,7 +16413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9199;
show create table s;
Table Create Table
@@ -16421,7 +16421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9198;
show create table s;
Table Create Table
@@ -16429,7 +16429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9197;
show create table s;
Table Create Table
@@ -16437,7 +16437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9196;
show create table s;
Table Create Table
@@ -16445,7 +16445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9195;
show create table s;
Table Create Table
@@ -16453,7 +16453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9194;
show create table s;
Table Create Table
@@ -16461,7 +16461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9193;
show create table s;
Table Create Table
@@ -16469,7 +16469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9192;
show create table s;
Table Create Table
@@ -16477,7 +16477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9191;
show create table s;
Table Create Table
@@ -16485,7 +16485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9190;
show create table s;
Table Create Table
@@ -16493,7 +16493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9189;
show create table s;
Table Create Table
@@ -16501,7 +16501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9188;
show create table s;
Table Create Table
@@ -16509,7 +16509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9187;
show create table s;
Table Create Table
@@ -16517,7 +16517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9186;
show create table s;
Table Create Table
@@ -16525,7 +16525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9185;
show create table s;
Table Create Table
@@ -16533,7 +16533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9184;
show create table s;
Table Create Table
@@ -16541,7 +16541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9183;
show create table s;
Table Create Table
@@ -16549,7 +16549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9182;
show create table s;
Table Create Table
@@ -16557,7 +16557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9181;
show create table s;
Table Create Table
@@ -16565,7 +16565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9180;
show create table s;
Table Create Table
@@ -16573,7 +16573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9179;
show create table s;
Table Create Table
@@ -16581,7 +16581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9178;
show create table s;
Table Create Table
@@ -16589,7 +16589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9177;
show create table s;
Table Create Table
@@ -16597,7 +16597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9176;
show create table s;
Table Create Table
@@ -16605,7 +16605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9175;
show create table s;
Table Create Table
@@ -16613,7 +16613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9174;
show create table s;
Table Create Table
@@ -16621,7 +16621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9173;
show create table s;
Table Create Table
@@ -16629,7 +16629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9172;
show create table s;
Table Create Table
@@ -16637,7 +16637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9171;
show create table s;
Table Create Table
@@ -16645,7 +16645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9170;
show create table s;
Table Create Table
@@ -16653,7 +16653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9169;
show create table s;
Table Create Table
@@ -16661,7 +16661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9168;
show create table s;
Table Create Table
@@ -16669,7 +16669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9167;
show create table s;
Table Create Table
@@ -16677,7 +16677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9166;
show create table s;
Table Create Table
@@ -16685,7 +16685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9165;
show create table s;
Table Create Table
@@ -16693,7 +16693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9164;
show create table s;
Table Create Table
@@ -16701,7 +16701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9163;
show create table s;
Table Create Table
@@ -16709,7 +16709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9162;
show create table s;
Table Create Table
@@ -16717,7 +16717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9161;
show create table s;
Table Create Table
@@ -16725,7 +16725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9160;
show create table s;
Table Create Table
@@ -16733,7 +16733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9159;
show create table s;
Table Create Table
@@ -16741,7 +16741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9158;
show create table s;
Table Create Table
@@ -16749,7 +16749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9157;
show create table s;
Table Create Table
@@ -16757,7 +16757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9156;
show create table s;
Table Create Table
@@ -16765,7 +16765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9155;
show create table s;
Table Create Table
@@ -16773,7 +16773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9154;
show create table s;
Table Create Table
@@ -16781,7 +16781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9153;
show create table s;
Table Create Table
@@ -16789,7 +16789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9152;
show create table s;
Table Create Table
@@ -16797,7 +16797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9151;
show create table s;
Table Create Table
@@ -16805,7 +16805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9150;
show create table s;
Table Create Table
@@ -16813,7 +16813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9149;
show create table s;
Table Create Table
@@ -16821,7 +16821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9148;
show create table s;
Table Create Table
@@ -16829,7 +16829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9147;
show create table s;
Table Create Table
@@ -16837,7 +16837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9146;
show create table s;
Table Create Table
@@ -16845,7 +16845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9145;
show create table s;
Table Create Table
@@ -16853,7 +16853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9144;
show create table s;
Table Create Table
@@ -16861,7 +16861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9143;
show create table s;
Table Create Table
@@ -16869,7 +16869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9142;
show create table s;
Table Create Table
@@ -16877,7 +16877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9141;
show create table s;
Table Create Table
@@ -16885,7 +16885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9140;
show create table s;
Table Create Table
@@ -16893,7 +16893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9139;
show create table s;
Table Create Table
@@ -16901,7 +16901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9138;
show create table s;
Table Create Table
@@ -16909,7 +16909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9137;
show create table s;
Table Create Table
@@ -16917,7 +16917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9136;
show create table s;
Table Create Table
@@ -16925,7 +16925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9135;
show create table s;
Table Create Table
@@ -16933,7 +16933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9134;
show create table s;
Table Create Table
@@ -16941,7 +16941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9133;
show create table s;
Table Create Table
@@ -16949,7 +16949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9132;
show create table s;
Table Create Table
@@ -16957,7 +16957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9131;
show create table s;
Table Create Table
@@ -16965,7 +16965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9130;
show create table s;
Table Create Table
@@ -16973,7 +16973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9129;
show create table s;
Table Create Table
@@ -16981,7 +16981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9128;
show create table s;
Table Create Table
@@ -16989,7 +16989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9127;
show create table s;
Table Create Table
@@ -16997,7 +16997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9126;
show create table s;
Table Create Table
@@ -17005,7 +17005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9125;
show create table s;
Table Create Table
@@ -17013,7 +17013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9124;
show create table s;
Table Create Table
@@ -17021,7 +17021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9123;
show create table s;
Table Create Table
@@ -17029,7 +17029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9122;
show create table s;
Table Create Table
@@ -17037,7 +17037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9121;
show create table s;
Table Create Table
@@ -17045,7 +17045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9120;
show create table s;
Table Create Table
@@ -17053,7 +17053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9119;
show create table s;
Table Create Table
@@ -17061,7 +17061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9118;
show create table s;
Table Create Table
@@ -17069,7 +17069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9117;
show create table s;
Table Create Table
@@ -17077,7 +17077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9116;
show create table s;
Table Create Table
@@ -17085,7 +17085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9115;
show create table s;
Table Create Table
@@ -17093,7 +17093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9114;
show create table s;
Table Create Table
@@ -17101,7 +17101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9113;
show create table s;
Table Create Table
@@ -17109,7 +17109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9112;
show create table s;
Table Create Table
@@ -17117,7 +17117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9111;
show create table s;
Table Create Table
@@ -17125,7 +17125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9110;
show create table s;
Table Create Table
@@ -17133,7 +17133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9109;
show create table s;
Table Create Table
@@ -17141,7 +17141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9108;
show create table s;
Table Create Table
@@ -17149,7 +17149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9107;
show create table s;
Table Create Table
@@ -17157,7 +17157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9106;
show create table s;
Table Create Table
@@ -17165,7 +17165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9105;
show create table s;
Table Create Table
@@ -17173,7 +17173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9104;
show create table s;
Table Create Table
@@ -17181,7 +17181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9103;
show create table s;
Table Create Table
@@ -17189,7 +17189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9102;
show create table s;
Table Create Table
@@ -17197,7 +17197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9101;
show create table s;
Table Create Table
@@ -17205,7 +17205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9100;
show create table s;
Table Create Table
@@ -17213,7 +17213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9099;
show create table s;
Table Create Table
@@ -17221,7 +17221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9098;
show create table s;
Table Create Table
@@ -17229,7 +17229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9097;
show create table s;
Table Create Table
@@ -17237,7 +17237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9096;
show create table s;
Table Create Table
@@ -17245,7 +17245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9095;
show create table s;
Table Create Table
@@ -17253,7 +17253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9094;
show create table s;
Table Create Table
@@ -17261,7 +17261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9093;
show create table s;
Table Create Table
@@ -17269,7 +17269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9092;
show create table s;
Table Create Table
@@ -17277,7 +17277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9091;
show create table s;
Table Create Table
@@ -17285,7 +17285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9090;
show create table s;
Table Create Table
@@ -17293,7 +17293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9089;
show create table s;
Table Create Table
@@ -17301,7 +17301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9088;
show create table s;
Table Create Table
@@ -17309,7 +17309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9087;
show create table s;
Table Create Table
@@ -17317,7 +17317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9086;
show create table s;
Table Create Table
@@ -17325,7 +17325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9085;
show create table s;
Table Create Table
@@ -17333,7 +17333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9084;
show create table s;
Table Create Table
@@ -17341,7 +17341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9083;
show create table s;
Table Create Table
@@ -17349,7 +17349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9082;
show create table s;
Table Create Table
@@ -17357,7 +17357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9081;
show create table s;
Table Create Table
@@ -17365,7 +17365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9080;
show create table s;
Table Create Table
@@ -17373,7 +17373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9079;
show create table s;
Table Create Table
@@ -17381,7 +17381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9078;
show create table s;
Table Create Table
@@ -17389,7 +17389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9077;
show create table s;
Table Create Table
@@ -17397,7 +17397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9076;
show create table s;
Table Create Table
@@ -17405,7 +17405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9075;
show create table s;
Table Create Table
@@ -17413,7 +17413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9074;
show create table s;
Table Create Table
@@ -17421,7 +17421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9073;
show create table s;
Table Create Table
@@ -17429,7 +17429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9072;
show create table s;
Table Create Table
@@ -17437,7 +17437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9071;
show create table s;
Table Create Table
@@ -17445,7 +17445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9070;
show create table s;
Table Create Table
@@ -17453,7 +17453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9069;
show create table s;
Table Create Table
@@ -17461,7 +17461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9068;
show create table s;
Table Create Table
@@ -17469,7 +17469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9067;
show create table s;
Table Create Table
@@ -17477,7 +17477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9066;
show create table s;
Table Create Table
@@ -17485,7 +17485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9065;
show create table s;
Table Create Table
@@ -17493,7 +17493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9064;
show create table s;
Table Create Table
@@ -17501,7 +17501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9063;
show create table s;
Table Create Table
@@ -17509,7 +17509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9062;
show create table s;
Table Create Table
@@ -17517,7 +17517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9061;
show create table s;
Table Create Table
@@ -17525,7 +17525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9060;
show create table s;
Table Create Table
@@ -17533,7 +17533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9059;
show create table s;
Table Create Table
@@ -17541,7 +17541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9058;
show create table s;
Table Create Table
@@ -17549,7 +17549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9057;
show create table s;
Table Create Table
@@ -17557,7 +17557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9056;
show create table s;
Table Create Table
@@ -17565,7 +17565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9055;
show create table s;
Table Create Table
@@ -17573,7 +17573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9054;
show create table s;
Table Create Table
@@ -17581,7 +17581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9053;
show create table s;
Table Create Table
@@ -17589,7 +17589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9052;
show create table s;
Table Create Table
@@ -17597,7 +17597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9051;
show create table s;
Table Create Table
@@ -17605,7 +17605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9050;
show create table s;
Table Create Table
@@ -17613,7 +17613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9049;
show create table s;
Table Create Table
@@ -17621,7 +17621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9048;
show create table s;
Table Create Table
@@ -17629,7 +17629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9047;
show create table s;
Table Create Table
@@ -17637,7 +17637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9046;
show create table s;
Table Create Table
@@ -17645,7 +17645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9045;
show create table s;
Table Create Table
@@ -17653,7 +17653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9044;
show create table s;
Table Create Table
@@ -17661,7 +17661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9043;
show create table s;
Table Create Table
@@ -17669,7 +17669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9042;
show create table s;
Table Create Table
@@ -17677,7 +17677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9041;
show create table s;
Table Create Table
@@ -17685,7 +17685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9040;
show create table s;
Table Create Table
@@ -17693,7 +17693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9039;
show create table s;
Table Create Table
@@ -17701,7 +17701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9038;
show create table s;
Table Create Table
@@ -17709,7 +17709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9037;
show create table s;
Table Create Table
@@ -17717,7 +17717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9036;
show create table s;
Table Create Table
@@ -17725,7 +17725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9035;
show create table s;
Table Create Table
@@ -17733,7 +17733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9034;
show create table s;
Table Create Table
@@ -17741,7 +17741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9033;
show create table s;
Table Create Table
@@ -17749,7 +17749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9032;
show create table s;
Table Create Table
@@ -17757,7 +17757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9031;
show create table s;
Table Create Table
@@ -17765,7 +17765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9030;
show create table s;
Table Create Table
@@ -17773,7 +17773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9029;
show create table s;
Table Create Table
@@ -17781,7 +17781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9028;
show create table s;
Table Create Table
@@ -17789,7 +17789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9027;
show create table s;
Table Create Table
@@ -17797,7 +17797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9026;
show create table s;
Table Create Table
@@ -17805,7 +17805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9025;
show create table s;
Table Create Table
@@ -17813,7 +17813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9024;
show create table s;
Table Create Table
@@ -17821,7 +17821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9023;
show create table s;
Table Create Table
@@ -17829,7 +17829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9022;
show create table s;
Table Create Table
@@ -17837,7 +17837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9021;
show create table s;
Table Create Table
@@ -17845,7 +17845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9020;
show create table s;
Table Create Table
@@ -17853,7 +17853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9019;
show create table s;
Table Create Table
@@ -17861,7 +17861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9018;
show create table s;
Table Create Table
@@ -17869,7 +17869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9017;
show create table s;
Table Create Table
@@ -17877,7 +17877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9016;
show create table s;
Table Create Table
@@ -17885,7 +17885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9015;
show create table s;
Table Create Table
@@ -17893,7 +17893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9014;
show create table s;
Table Create Table
@@ -17901,7 +17901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9013;
show create table s;
Table Create Table
@@ -17909,7 +17909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9012;
show create table s;
Table Create Table
@@ -17917,7 +17917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9011;
show create table s;
Table Create Table
@@ -17925,7 +17925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9010;
show create table s;
Table Create Table
@@ -17933,7 +17933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9009;
show create table s;
Table Create Table
@@ -17941,7 +17941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9008;
show create table s;
Table Create Table
@@ -17949,7 +17949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9007;
show create table s;
Table Create Table
@@ -17957,7 +17957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9006;
show create table s;
Table Create Table
@@ -17965,7 +17965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9005;
show create table s;
Table Create Table
@@ -17973,7 +17973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9004;
show create table s;
Table Create Table
@@ -17981,7 +17981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9003;
show create table s;
Table Create Table
@@ -17989,7 +17989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9002;
show create table s;
Table Create Table
@@ -17997,7 +17997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9001;
show create table s;
Table Create Table
@@ -18005,7 +18005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9000;
show create table s;
Table Create Table
@@ -18013,7 +18013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8999;
show create table s;
Table Create Table
@@ -18021,7 +18021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8998;
show create table s;
Table Create Table
@@ -18029,7 +18029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8997;
show create table s;
Table Create Table
@@ -18037,7 +18037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8996;
show create table s;
Table Create Table
@@ -18045,7 +18045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8995;
show create table s;
Table Create Table
@@ -18053,7 +18053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8994;
show create table s;
Table Create Table
@@ -18061,7 +18061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8993;
show create table s;
Table Create Table
@@ -18069,7 +18069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8992;
show create table s;
Table Create Table
@@ -18077,7 +18077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8991;
show create table s;
Table Create Table
@@ -18085,7 +18085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8990;
show create table s;
Table Create Table
@@ -18093,7 +18093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8989;
show create table s;
Table Create Table
@@ -18101,7 +18101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8988;
show create table s;
Table Create Table
@@ -18109,7 +18109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8987;
show create table s;
Table Create Table
@@ -18117,7 +18117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8986;
show create table s;
Table Create Table
@@ -18125,7 +18125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8985;
show create table s;
Table Create Table
@@ -18133,7 +18133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8984;
show create table s;
Table Create Table
@@ -18141,7 +18141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8983;
show create table s;
Table Create Table
@@ -18149,7 +18149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8982;
show create table s;
Table Create Table
@@ -18157,7 +18157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8981;
show create table s;
Table Create Table
@@ -18165,7 +18165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8980;
show create table s;
Table Create Table
@@ -18173,7 +18173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8979;
show create table s;
Table Create Table
@@ -18181,7 +18181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8978;
show create table s;
Table Create Table
@@ -18189,7 +18189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8977;
show create table s;
Table Create Table
@@ -18197,7 +18197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8976;
show create table s;
Table Create Table
@@ -18205,7 +18205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8975;
show create table s;
Table Create Table
@@ -18213,7 +18213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8974;
show create table s;
Table Create Table
@@ -18221,7 +18221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8973;
show create table s;
Table Create Table
@@ -18229,7 +18229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8972;
show create table s;
Table Create Table
@@ -18237,7 +18237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8971;
show create table s;
Table Create Table
@@ -18245,7 +18245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8970;
show create table s;
Table Create Table
@@ -18253,7 +18253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8969;
show create table s;
Table Create Table
@@ -18261,7 +18261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8968;
show create table s;
Table Create Table
@@ -18269,7 +18269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8967;
show create table s;
Table Create Table
@@ -18277,7 +18277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8966;
show create table s;
Table Create Table
@@ -18285,7 +18285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8965;
show create table s;
Table Create Table
@@ -18293,7 +18293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8964;
show create table s;
Table Create Table
@@ -18301,7 +18301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8963;
show create table s;
Table Create Table
@@ -18309,7 +18309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8962;
show create table s;
Table Create Table
@@ -18317,7 +18317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8961;
show create table s;
Table Create Table
@@ -18325,7 +18325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8960;
show create table s;
Table Create Table
@@ -18333,7 +18333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8959;
show create table s;
Table Create Table
@@ -18341,7 +18341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8958;
show create table s;
Table Create Table
@@ -18349,7 +18349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8957;
show create table s;
Table Create Table
@@ -18357,7 +18357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8956;
show create table s;
Table Create Table
@@ -18365,7 +18365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8955;
show create table s;
Table Create Table
@@ -18373,7 +18373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8954;
show create table s;
Table Create Table
@@ -18381,7 +18381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8953;
show create table s;
Table Create Table
@@ -18389,7 +18389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8952;
show create table s;
Table Create Table
@@ -18397,7 +18397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8951;
show create table s;
Table Create Table
@@ -18405,7 +18405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8950;
show create table s;
Table Create Table
@@ -18413,7 +18413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8949;
show create table s;
Table Create Table
@@ -18421,7 +18421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8948;
show create table s;
Table Create Table
@@ -18429,7 +18429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8947;
show create table s;
Table Create Table
@@ -18437,7 +18437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8946;
show create table s;
Table Create Table
@@ -18445,7 +18445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8945;
show create table s;
Table Create Table
@@ -18453,7 +18453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8944;
show create table s;
Table Create Table
@@ -18461,7 +18461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8943;
show create table s;
Table Create Table
@@ -18469,7 +18469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8942;
show create table s;
Table Create Table
@@ -18477,7 +18477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8941;
show create table s;
Table Create Table
@@ -18485,7 +18485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8940;
show create table s;
Table Create Table
@@ -18493,7 +18493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8939;
show create table s;
Table Create Table
@@ -18501,7 +18501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8938;
show create table s;
Table Create Table
@@ -18509,7 +18509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8937;
show create table s;
Table Create Table
@@ -18517,7 +18517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8936;
show create table s;
Table Create Table
@@ -18525,7 +18525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8935;
show create table s;
Table Create Table
@@ -18533,7 +18533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8934;
show create table s;
Table Create Table
@@ -18541,7 +18541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8933;
show create table s;
Table Create Table
@@ -18549,7 +18549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8932;
show create table s;
Table Create Table
@@ -18557,7 +18557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8931;
show create table s;
Table Create Table
@@ -18565,7 +18565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8930;
show create table s;
Table Create Table
@@ -18573,7 +18573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8929;
show create table s;
Table Create Table
@@ -18581,7 +18581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8928;
show create table s;
Table Create Table
@@ -18589,7 +18589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8927;
show create table s;
Table Create Table
@@ -18597,7 +18597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8926;
show create table s;
Table Create Table
@@ -18605,7 +18605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8925;
show create table s;
Table Create Table
@@ -18613,7 +18613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8924;
show create table s;
Table Create Table
@@ -18621,7 +18621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8923;
show create table s;
Table Create Table
@@ -18629,7 +18629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8922;
show create table s;
Table Create Table
@@ -18637,7 +18637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8921;
show create table s;
Table Create Table
@@ -18645,7 +18645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8920;
show create table s;
Table Create Table
@@ -18653,7 +18653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8919;
show create table s;
Table Create Table
@@ -18661,7 +18661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8918;
show create table s;
Table Create Table
@@ -18669,7 +18669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8917;
show create table s;
Table Create Table
@@ -18677,7 +18677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8916;
show create table s;
Table Create Table
@@ -18685,7 +18685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8915;
show create table s;
Table Create Table
@@ -18693,7 +18693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8914;
show create table s;
Table Create Table
@@ -18701,7 +18701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8913;
show create table s;
Table Create Table
@@ -18709,7 +18709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8912;
show create table s;
Table Create Table
@@ -18717,7 +18717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8911;
show create table s;
Table Create Table
@@ -18725,7 +18725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8910;
show create table s;
Table Create Table
@@ -18733,7 +18733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8909;
show create table s;
Table Create Table
@@ -18741,7 +18741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8908;
show create table s;
Table Create Table
@@ -18749,7 +18749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8907;
show create table s;
Table Create Table
@@ -18757,7 +18757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8906;
show create table s;
Table Create Table
@@ -18765,7 +18765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8905;
show create table s;
Table Create Table
@@ -18773,7 +18773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8904;
show create table s;
Table Create Table
@@ -18781,7 +18781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8903;
show create table s;
Table Create Table
@@ -18789,7 +18789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8902;
show create table s;
Table Create Table
@@ -18797,7 +18797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8901;
show create table s;
Table Create Table
@@ -18805,7 +18805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8900;
show create table s;
Table Create Table
@@ -18813,7 +18813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8899;
show create table s;
Table Create Table
@@ -18821,7 +18821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8898;
show create table s;
Table Create Table
@@ -18829,7 +18829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8897;
show create table s;
Table Create Table
@@ -18837,7 +18837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8896;
show create table s;
Table Create Table
@@ -18845,7 +18845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8895;
show create table s;
Table Create Table
@@ -18853,7 +18853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8894;
show create table s;
Table Create Table
@@ -18861,7 +18861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8893;
show create table s;
Table Create Table
@@ -18869,7 +18869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8892;
show create table s;
Table Create Table
@@ -18877,7 +18877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8891;
show create table s;
Table Create Table
@@ -18885,7 +18885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8890;
show create table s;
Table Create Table
@@ -18893,7 +18893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8889;
show create table s;
Table Create Table
@@ -18901,7 +18901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8888;
show create table s;
Table Create Table
@@ -18909,7 +18909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8887;
show create table s;
Table Create Table
@@ -18917,7 +18917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8886;
show create table s;
Table Create Table
@@ -18925,7 +18925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8885;
show create table s;
Table Create Table
@@ -18933,7 +18933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8884;
show create table s;
Table Create Table
@@ -18941,7 +18941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8883;
show create table s;
Table Create Table
@@ -18949,7 +18949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8882;
show create table s;
Table Create Table
@@ -18957,7 +18957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8881;
show create table s;
Table Create Table
@@ -18965,7 +18965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8880;
show create table s;
Table Create Table
@@ -18973,7 +18973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8879;
show create table s;
Table Create Table
@@ -18981,7 +18981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8878;
show create table s;
Table Create Table
@@ -18989,7 +18989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8877;
show create table s;
Table Create Table
@@ -18997,7 +18997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8876;
show create table s;
Table Create Table
@@ -19005,7 +19005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8875;
show create table s;
Table Create Table
@@ -19013,7 +19013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8874;
show create table s;
Table Create Table
@@ -19021,7 +19021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8873;
show create table s;
Table Create Table
@@ -19029,7 +19029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8872;
show create table s;
Table Create Table
@@ -19037,7 +19037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8871;
show create table s;
Table Create Table
@@ -19045,7 +19045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8870;
show create table s;
Table Create Table
@@ -19053,7 +19053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8869;
show create table s;
Table Create Table
@@ -19061,7 +19061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8868;
show create table s;
Table Create Table
@@ -19069,7 +19069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8867;
show create table s;
Table Create Table
@@ -19077,7 +19077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8866;
show create table s;
Table Create Table
@@ -19085,7 +19085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8865;
show create table s;
Table Create Table
@@ -19093,7 +19093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8864;
show create table s;
Table Create Table
@@ -19101,7 +19101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8863;
show create table s;
Table Create Table
@@ -19109,7 +19109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8862;
show create table s;
Table Create Table
@@ -19117,7 +19117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8861;
show create table s;
Table Create Table
@@ -19125,7 +19125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8860;
show create table s;
Table Create Table
@@ -19133,7 +19133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8859;
show create table s;
Table Create Table
@@ -19141,7 +19141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8858;
show create table s;
Table Create Table
@@ -19149,7 +19149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8857;
show create table s;
Table Create Table
@@ -19157,7 +19157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8856;
show create table s;
Table Create Table
@@ -19165,7 +19165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8855;
show create table s;
Table Create Table
@@ -19173,7 +19173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8854;
show create table s;
Table Create Table
@@ -19181,7 +19181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8853;
show create table s;
Table Create Table
@@ -19189,7 +19189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8852;
show create table s;
Table Create Table
@@ -19197,7 +19197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8851;
show create table s;
Table Create Table
@@ -19205,7 +19205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8850;
show create table s;
Table Create Table
@@ -19213,7 +19213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8849;
show create table s;
Table Create Table
@@ -19221,7 +19221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8848;
show create table s;
Table Create Table
@@ -19229,7 +19229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8847;
show create table s;
Table Create Table
@@ -19237,7 +19237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8846;
show create table s;
Table Create Table
@@ -19245,7 +19245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8845;
show create table s;
Table Create Table
@@ -19253,7 +19253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8844;
show create table s;
Table Create Table
@@ -19261,7 +19261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8843;
show create table s;
Table Create Table
@@ -19269,7 +19269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8842;
show create table s;
Table Create Table
@@ -19277,7 +19277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8841;
show create table s;
Table Create Table
@@ -19285,7 +19285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8840;
show create table s;
Table Create Table
@@ -19293,7 +19293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8839;
show create table s;
Table Create Table
@@ -19301,7 +19301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8838;
show create table s;
Table Create Table
@@ -19309,7 +19309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8837;
show create table s;
Table Create Table
@@ -19317,7 +19317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8836;
show create table s;
Table Create Table
@@ -19325,7 +19325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8835;
show create table s;
Table Create Table
@@ -19333,7 +19333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8834;
show create table s;
Table Create Table
@@ -19341,7 +19341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8833;
show create table s;
Table Create Table
@@ -19349,7 +19349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8832;
show create table s;
Table Create Table
@@ -19357,7 +19357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8831;
show create table s;
Table Create Table
@@ -19365,7 +19365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8830;
show create table s;
Table Create Table
@@ -19373,7 +19373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8829;
show create table s;
Table Create Table
@@ -19381,7 +19381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8828;
show create table s;
Table Create Table
@@ -19389,7 +19389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8827;
show create table s;
Table Create Table
@@ -19397,7 +19397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8826;
show create table s;
Table Create Table
@@ -19405,7 +19405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8825;
show create table s;
Table Create Table
@@ -19413,7 +19413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8824;
show create table s;
Table Create Table
@@ -19421,7 +19421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8823;
show create table s;
Table Create Table
@@ -19429,7 +19429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8822;
show create table s;
Table Create Table
@@ -19437,7 +19437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8821;
show create table s;
Table Create Table
@@ -19445,7 +19445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8820;
show create table s;
Table Create Table
@@ -19453,7 +19453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8819;
show create table s;
Table Create Table
@@ -19461,7 +19461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8818;
show create table s;
Table Create Table
@@ -19469,7 +19469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8817;
show create table s;
Table Create Table
@@ -19477,7 +19477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8816;
show create table s;
Table Create Table
@@ -19485,7 +19485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8815;
show create table s;
Table Create Table
@@ -19493,7 +19493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8814;
show create table s;
Table Create Table
@@ -19501,7 +19501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8813;
show create table s;
Table Create Table
@@ -19509,7 +19509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8812;
show create table s;
Table Create Table
@@ -19517,7 +19517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8811;
show create table s;
Table Create Table
@@ -19525,7 +19525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8810;
show create table s;
Table Create Table
@@ -19533,7 +19533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8809;
show create table s;
Table Create Table
@@ -19541,7 +19541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8808;
show create table s;
Table Create Table
@@ -19549,7 +19549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8807;
show create table s;
Table Create Table
@@ -19557,7 +19557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8806;
show create table s;
Table Create Table
@@ -19565,7 +19565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8805;
show create table s;
Table Create Table
@@ -19573,7 +19573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8804;
show create table s;
Table Create Table
@@ -19581,7 +19581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8803;
show create table s;
Table Create Table
@@ -19589,7 +19589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8802;
show create table s;
Table Create Table
@@ -19597,7 +19597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8801;
show create table s;
Table Create Table
@@ -19605,7 +19605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8800;
show create table s;
Table Create Table
@@ -19613,7 +19613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8799;
show create table s;
Table Create Table
@@ -19621,7 +19621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8798;
show create table s;
Table Create Table
@@ -19629,7 +19629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8797;
show create table s;
Table Create Table
@@ -19637,7 +19637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8796;
show create table s;
Table Create Table
@@ -19645,7 +19645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8795;
show create table s;
Table Create Table
@@ -19653,7 +19653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8794;
show create table s;
Table Create Table
@@ -19661,7 +19661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8793;
show create table s;
Table Create Table
@@ -19669,7 +19669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8792;
show create table s;
Table Create Table
@@ -19677,7 +19677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8791;
show create table s;
Table Create Table
@@ -19685,7 +19685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8790;
show create table s;
Table Create Table
@@ -19693,7 +19693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8789;
show create table s;
Table Create Table
@@ -19701,7 +19701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8788;
show create table s;
Table Create Table
@@ -19709,7 +19709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8787;
show create table s;
Table Create Table
@@ -19717,7 +19717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8786;
show create table s;
Table Create Table
@@ -19725,7 +19725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8785;
show create table s;
Table Create Table
@@ -19733,7 +19733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8784;
show create table s;
Table Create Table
@@ -19741,7 +19741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8783;
show create table s;
Table Create Table
@@ -19749,7 +19749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8782;
show create table s;
Table Create Table
@@ -19757,7 +19757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8781;
show create table s;
Table Create Table
@@ -19765,7 +19765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8780;
show create table s;
Table Create Table
@@ -19773,7 +19773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8779;
show create table s;
Table Create Table
@@ -19781,7 +19781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8778;
show create table s;
Table Create Table
@@ -19789,7 +19789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8777;
show create table s;
Table Create Table
@@ -19797,7 +19797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8776;
show create table s;
Table Create Table
@@ -19805,7 +19805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8775;
show create table s;
Table Create Table
@@ -19813,7 +19813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8774;
show create table s;
Table Create Table
@@ -19821,7 +19821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8773;
show create table s;
Table Create Table
@@ -19829,7 +19829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8772;
show create table s;
Table Create Table
@@ -19837,7 +19837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8771;
show create table s;
Table Create Table
@@ -19845,7 +19845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8770;
show create table s;
Table Create Table
@@ -19853,7 +19853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8769;
show create table s;
Table Create Table
@@ -19861,7 +19861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8768;
show create table s;
Table Create Table
@@ -19869,7 +19869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8767;
show create table s;
Table Create Table
@@ -19877,7 +19877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8766;
show create table s;
Table Create Table
@@ -19885,7 +19885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8765;
show create table s;
Table Create Table
@@ -19893,7 +19893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8764;
show create table s;
Table Create Table
@@ -19901,7 +19901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8763;
show create table s;
Table Create Table
@@ -19909,7 +19909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8762;
show create table s;
Table Create Table
@@ -19917,7 +19917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8761;
show create table s;
Table Create Table
@@ -19925,7 +19925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8760;
show create table s;
Table Create Table
@@ -19933,7 +19933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8759;
show create table s;
Table Create Table
@@ -19941,7 +19941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8758;
show create table s;
Table Create Table
@@ -19949,7 +19949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8757;
show create table s;
Table Create Table
@@ -19957,7 +19957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8756;
show create table s;
Table Create Table
@@ -19965,7 +19965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8755;
show create table s;
Table Create Table
@@ -19973,7 +19973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8754;
show create table s;
Table Create Table
@@ -19981,7 +19981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8753;
show create table s;
Table Create Table
@@ -19989,7 +19989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8752;
show create table s;
Table Create Table
@@ -19997,7 +19997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8751;
show create table s;
Table Create Table
@@ -20005,7 +20005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8750;
show create table s;
Table Create Table
@@ -20013,7 +20013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8749;
show create table s;
Table Create Table
@@ -20021,7 +20021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8748;
show create table s;
Table Create Table
@@ -20029,7 +20029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8747;
show create table s;
Table Create Table
@@ -20037,7 +20037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8746;
show create table s;
Table Create Table
@@ -20045,7 +20045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8745;
show create table s;
Table Create Table
@@ -20053,7 +20053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8744;
show create table s;
Table Create Table
@@ -20061,7 +20061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8743;
show create table s;
Table Create Table
@@ -20069,7 +20069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8742;
show create table s;
Table Create Table
@@ -20077,7 +20077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8741;
show create table s;
Table Create Table
@@ -20085,7 +20085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8740;
show create table s;
Table Create Table
@@ -20093,7 +20093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8739;
show create table s;
Table Create Table
@@ -20101,7 +20101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8738;
show create table s;
Table Create Table
@@ -20109,7 +20109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8737;
show create table s;
Table Create Table
@@ -20117,7 +20117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8736;
show create table s;
Table Create Table
@@ -20125,7 +20125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8735;
show create table s;
Table Create Table
@@ -20133,7 +20133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8734;
show create table s;
Table Create Table
@@ -20141,7 +20141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8733;
show create table s;
Table Create Table
@@ -20149,7 +20149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8732;
show create table s;
Table Create Table
@@ -20157,7 +20157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8731;
show create table s;
Table Create Table
@@ -20165,7 +20165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8730;
show create table s;
Table Create Table
@@ -20173,7 +20173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8729;
show create table s;
Table Create Table
@@ -20181,7 +20181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8728;
show create table s;
Table Create Table
@@ -20189,7 +20189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8727;
show create table s;
Table Create Table
@@ -20197,7 +20197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8726;
show create table s;
Table Create Table
@@ -20205,7 +20205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8725;
show create table s;
Table Create Table
@@ -20213,7 +20213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8724;
show create table s;
Table Create Table
@@ -20221,7 +20221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8723;
show create table s;
Table Create Table
@@ -20229,7 +20229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8722;
show create table s;
Table Create Table
@@ -20237,7 +20237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8721;
show create table s;
Table Create Table
@@ -20245,7 +20245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8720;
show create table s;
Table Create Table
@@ -20253,7 +20253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8719;
show create table s;
Table Create Table
@@ -20261,7 +20261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8718;
show create table s;
Table Create Table
@@ -20269,7 +20269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8717;
show create table s;
Table Create Table
@@ -20277,7 +20277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8716;
show create table s;
Table Create Table
@@ -20285,7 +20285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8715;
show create table s;
Table Create Table
@@ -20293,7 +20293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8714;
show create table s;
Table Create Table
@@ -20301,7 +20301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8713;
show create table s;
Table Create Table
@@ -20309,7 +20309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8712;
show create table s;
Table Create Table
@@ -20317,7 +20317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8711;
show create table s;
Table Create Table
@@ -20325,7 +20325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8710;
show create table s;
Table Create Table
@@ -20333,7 +20333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8709;
show create table s;
Table Create Table
@@ -20341,7 +20341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8708;
show create table s;
Table Create Table
@@ -20349,7 +20349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8707;
show create table s;
Table Create Table
@@ -20357,7 +20357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8706;
show create table s;
Table Create Table
@@ -20365,7 +20365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8705;
show create table s;
Table Create Table
@@ -20373,7 +20373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8704;
show create table s;
Table Create Table
@@ -20381,7 +20381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8703;
show create table s;
Table Create Table
@@ -20389,7 +20389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8702;
show create table s;
Table Create Table
@@ -20397,7 +20397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8701;
show create table s;
Table Create Table
@@ -20405,7 +20405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8700;
show create table s;
Table Create Table
@@ -20413,7 +20413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8699;
show create table s;
Table Create Table
@@ -20421,7 +20421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8698;
show create table s;
Table Create Table
@@ -20429,7 +20429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8697;
show create table s;
Table Create Table
@@ -20437,7 +20437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8696;
show create table s;
Table Create Table
@@ -20445,7 +20445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8695;
show create table s;
Table Create Table
@@ -20453,7 +20453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8694;
show create table s;
Table Create Table
@@ -20461,7 +20461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8693;
show create table s;
Table Create Table
@@ -20469,7 +20469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8692;
show create table s;
Table Create Table
@@ -20477,7 +20477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8691;
show create table s;
Table Create Table
@@ -20485,7 +20485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8690;
show create table s;
Table Create Table
@@ -20493,7 +20493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8689;
show create table s;
Table Create Table
@@ -20501,7 +20501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8688;
show create table s;
Table Create Table
@@ -20509,7 +20509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8687;
show create table s;
Table Create Table
@@ -20517,7 +20517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8686;
show create table s;
Table Create Table
@@ -20525,7 +20525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8685;
show create table s;
Table Create Table
@@ -20533,7 +20533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8684;
show create table s;
Table Create Table
@@ -20541,7 +20541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8683;
show create table s;
Table Create Table
@@ -20549,7 +20549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8682;
show create table s;
Table Create Table
@@ -20557,7 +20557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8681;
show create table s;
Table Create Table
@@ -20565,7 +20565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8680;
show create table s;
Table Create Table
@@ -20573,7 +20573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8679;
show create table s;
Table Create Table
@@ -20581,7 +20581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8678;
show create table s;
Table Create Table
@@ -20589,7 +20589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8677;
show create table s;
Table Create Table
@@ -20597,7 +20597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8676;
show create table s;
Table Create Table
@@ -20605,7 +20605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8675;
show create table s;
Table Create Table
@@ -20613,7 +20613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8674;
show create table s;
Table Create Table
@@ -20621,7 +20621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8673;
show create table s;
Table Create Table
@@ -20629,7 +20629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8672;
show create table s;
Table Create Table
@@ -20637,7 +20637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8671;
show create table s;
Table Create Table
@@ -20645,7 +20645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8670;
show create table s;
Table Create Table
@@ -20653,7 +20653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8669;
show create table s;
Table Create Table
@@ -20661,7 +20661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8668;
show create table s;
Table Create Table
@@ -20669,7 +20669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8667;
show create table s;
Table Create Table
@@ -20677,7 +20677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8666;
show create table s;
Table Create Table
@@ -20685,7 +20685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8665;
show create table s;
Table Create Table
@@ -20693,7 +20693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8664;
show create table s;
Table Create Table
@@ -20701,7 +20701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8663;
show create table s;
Table Create Table
@@ -20709,7 +20709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8662;
show create table s;
Table Create Table
@@ -20717,7 +20717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8661;
show create table s;
Table Create Table
@@ -20725,7 +20725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8660;
show create table s;
Table Create Table
@@ -20733,7 +20733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8659;
show create table s;
Table Create Table
@@ -20741,7 +20741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8658;
show create table s;
Table Create Table
@@ -20749,7 +20749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8657;
show create table s;
Table Create Table
@@ -20757,7 +20757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8656;
show create table s;
Table Create Table
@@ -20765,7 +20765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8655;
show create table s;
Table Create Table
@@ -20773,7 +20773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8654;
show create table s;
Table Create Table
@@ -20781,7 +20781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8653;
show create table s;
Table Create Table
@@ -20789,7 +20789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8652;
show create table s;
Table Create Table
@@ -20797,7 +20797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8651;
show create table s;
Table Create Table
@@ -20805,7 +20805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8650;
show create table s;
Table Create Table
@@ -20813,7 +20813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8649;
show create table s;
Table Create Table
@@ -20821,7 +20821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8648;
show create table s;
Table Create Table
@@ -20829,7 +20829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8647;
show create table s;
Table Create Table
@@ -20837,7 +20837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8646;
show create table s;
Table Create Table
@@ -20845,7 +20845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8645;
show create table s;
Table Create Table
@@ -20853,7 +20853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8644;
show create table s;
Table Create Table
@@ -20861,7 +20861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8643;
show create table s;
Table Create Table
@@ -20869,7 +20869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8642;
show create table s;
Table Create Table
@@ -20877,7 +20877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8641;
show create table s;
Table Create Table
@@ -20885,7 +20885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8640;
show create table s;
Table Create Table
@@ -20893,7 +20893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8639;
show create table s;
Table Create Table
@@ -20901,7 +20901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8638;
show create table s;
Table Create Table
@@ -20909,7 +20909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8637;
show create table s;
Table Create Table
@@ -20917,7 +20917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8636;
show create table s;
Table Create Table
@@ -20925,7 +20925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8635;
show create table s;
Table Create Table
@@ -20933,7 +20933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8634;
show create table s;
Table Create Table
@@ -20941,7 +20941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8633;
show create table s;
Table Create Table
@@ -20949,7 +20949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8632;
show create table s;
Table Create Table
@@ -20957,7 +20957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8631;
show create table s;
Table Create Table
@@ -20965,7 +20965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8630;
show create table s;
Table Create Table
@@ -20973,7 +20973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8629;
show create table s;
Table Create Table
@@ -20981,7 +20981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8628;
show create table s;
Table Create Table
@@ -20989,7 +20989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8627;
show create table s;
Table Create Table
@@ -20997,7 +20997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8626;
show create table s;
Table Create Table
@@ -21005,7 +21005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8625;
show create table s;
Table Create Table
@@ -21013,7 +21013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8624;
show create table s;
Table Create Table
@@ -21021,7 +21021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8623;
show create table s;
Table Create Table
@@ -21029,7 +21029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8622;
show create table s;
Table Create Table
@@ -21037,7 +21037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8621;
show create table s;
Table Create Table
@@ -21045,7 +21045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8620;
show create table s;
Table Create Table
@@ -21053,7 +21053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8619;
show create table s;
Table Create Table
@@ -21061,7 +21061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8618;
show create table s;
Table Create Table
@@ -21069,7 +21069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8617;
show create table s;
Table Create Table
@@ -21077,7 +21077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8616;
show create table s;
Table Create Table
@@ -21085,7 +21085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8615;
show create table s;
Table Create Table
@@ -21093,7 +21093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8614;
show create table s;
Table Create Table
@@ -21101,7 +21101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8613;
show create table s;
Table Create Table
@@ -21109,7 +21109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8612;
show create table s;
Table Create Table
@@ -21117,7 +21117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8611;
show create table s;
Table Create Table
@@ -21125,7 +21125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8610;
show create table s;
Table Create Table
@@ -21133,7 +21133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8609;
show create table s;
Table Create Table
@@ -21141,7 +21141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8608;
show create table s;
Table Create Table
@@ -21149,7 +21149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8607;
show create table s;
Table Create Table
@@ -21157,7 +21157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8606;
show create table s;
Table Create Table
@@ -21165,7 +21165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8605;
show create table s;
Table Create Table
@@ -21173,7 +21173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8604;
show create table s;
Table Create Table
@@ -21181,7 +21181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8603;
show create table s;
Table Create Table
@@ -21189,7 +21189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8602;
show create table s;
Table Create Table
@@ -21197,7 +21197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8601;
show create table s;
Table Create Table
@@ -21205,7 +21205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8600;
show create table s;
Table Create Table
@@ -21213,7 +21213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8599;
show create table s;
Table Create Table
@@ -21221,7 +21221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8598;
show create table s;
Table Create Table
@@ -21229,7 +21229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8597;
show create table s;
Table Create Table
@@ -21237,7 +21237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8596;
show create table s;
Table Create Table
@@ -21245,7 +21245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8595;
show create table s;
Table Create Table
@@ -21253,7 +21253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8594;
show create table s;
Table Create Table
@@ -21261,7 +21261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8593;
show create table s;
Table Create Table
@@ -21269,7 +21269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8592;
show create table s;
Table Create Table
@@ -21277,7 +21277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8591;
show create table s;
Table Create Table
@@ -21285,7 +21285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8590;
show create table s;
Table Create Table
@@ -21293,7 +21293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8589;
show create table s;
Table Create Table
@@ -21301,7 +21301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8588;
show create table s;
Table Create Table
@@ -21309,7 +21309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8587;
show create table s;
Table Create Table
@@ -21317,7 +21317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8586;
show create table s;
Table Create Table
@@ -21325,7 +21325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8585;
show create table s;
Table Create Table
@@ -21333,7 +21333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8584;
show create table s;
Table Create Table
@@ -21341,7 +21341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8583;
show create table s;
Table Create Table
@@ -21349,7 +21349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8582;
show create table s;
Table Create Table
@@ -21357,7 +21357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8581;
show create table s;
Table Create Table
@@ -21365,7 +21365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8580;
show create table s;
Table Create Table
@@ -21373,7 +21373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8579;
show create table s;
Table Create Table
@@ -21381,7 +21381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8578;
show create table s;
Table Create Table
@@ -21389,7 +21389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8577;
show create table s;
Table Create Table
@@ -21397,7 +21397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8576;
show create table s;
Table Create Table
@@ -21405,7 +21405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8575;
show create table s;
Table Create Table
@@ -21413,7 +21413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8574;
show create table s;
Table Create Table
@@ -21421,7 +21421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8573;
show create table s;
Table Create Table
@@ -21429,7 +21429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8572;
show create table s;
Table Create Table
@@ -21437,7 +21437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8571;
show create table s;
Table Create Table
@@ -21445,7 +21445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8570;
show create table s;
Table Create Table
@@ -21453,7 +21453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8569;
show create table s;
Table Create Table
@@ -21461,7 +21461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8568;
show create table s;
Table Create Table
@@ -21469,7 +21469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8567;
show create table s;
Table Create Table
@@ -21477,7 +21477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8566;
show create table s;
Table Create Table
@@ -21485,7 +21485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8565;
show create table s;
Table Create Table
@@ -21493,7 +21493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8564;
show create table s;
Table Create Table
@@ -21501,7 +21501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8563;
show create table s;
Table Create Table
@@ -21509,7 +21509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8562;
show create table s;
Table Create Table
@@ -21517,7 +21517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8561;
show create table s;
Table Create Table
@@ -21525,7 +21525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8560;
show create table s;
Table Create Table
@@ -21533,7 +21533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8559;
show create table s;
Table Create Table
@@ -21541,7 +21541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8558;
show create table s;
Table Create Table
@@ -21549,7 +21549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8557;
show create table s;
Table Create Table
@@ -21557,7 +21557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8556;
show create table s;
Table Create Table
@@ -21565,7 +21565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8555;
show create table s;
Table Create Table
@@ -21573,7 +21573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8554;
show create table s;
Table Create Table
@@ -21581,7 +21581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8553;
show create table s;
Table Create Table
@@ -21589,7 +21589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8552;
show create table s;
Table Create Table
@@ -21597,7 +21597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8551;
show create table s;
Table Create Table
@@ -21605,7 +21605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8550;
show create table s;
Table Create Table
@@ -21613,7 +21613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8549;
show create table s;
Table Create Table
@@ -21621,7 +21621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8548;
show create table s;
Table Create Table
@@ -21629,7 +21629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8547;
show create table s;
Table Create Table
@@ -21637,7 +21637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8546;
show create table s;
Table Create Table
@@ -21645,7 +21645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8545;
show create table s;
Table Create Table
@@ -21653,7 +21653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8544;
show create table s;
Table Create Table
@@ -21661,7 +21661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8543;
show create table s;
Table Create Table
@@ -21669,7 +21669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8542;
show create table s;
Table Create Table
@@ -21677,7 +21677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8541;
show create table s;
Table Create Table
@@ -21685,7 +21685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8540;
show create table s;
Table Create Table
@@ -21693,7 +21693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8539;
show create table s;
Table Create Table
@@ -21701,7 +21701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8538;
show create table s;
Table Create Table
@@ -21709,7 +21709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8537;
show create table s;
Table Create Table
@@ -21717,7 +21717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8536;
show create table s;
Table Create Table
@@ -21725,7 +21725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8535;
show create table s;
Table Create Table
@@ -21733,7 +21733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8534;
show create table s;
Table Create Table
@@ -21741,7 +21741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8533;
show create table s;
Table Create Table
@@ -21749,7 +21749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8532;
show create table s;
Table Create Table
@@ -21757,7 +21757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8531;
show create table s;
Table Create Table
@@ -21765,7 +21765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8530;
show create table s;
Table Create Table
@@ -21773,7 +21773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8529;
show create table s;
Table Create Table
@@ -21781,7 +21781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8528;
show create table s;
Table Create Table
@@ -21789,7 +21789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8527;
show create table s;
Table Create Table
@@ -21797,7 +21797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8526;
show create table s;
Table Create Table
@@ -21805,7 +21805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8525;
show create table s;
Table Create Table
@@ -21813,7 +21813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8524;
show create table s;
Table Create Table
@@ -21821,7 +21821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8523;
show create table s;
Table Create Table
@@ -21829,7 +21829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8522;
show create table s;
Table Create Table
@@ -21837,7 +21837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8521;
show create table s;
Table Create Table
@@ -21845,7 +21845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8520;
show create table s;
Table Create Table
@@ -21853,7 +21853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8519;
show create table s;
Table Create Table
@@ -21861,7 +21861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8518;
show create table s;
Table Create Table
@@ -21869,7 +21869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8517;
show create table s;
Table Create Table
@@ -21877,7 +21877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8516;
show create table s;
Table Create Table
@@ -21885,7 +21885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8515;
show create table s;
Table Create Table
@@ -21893,7 +21893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8514;
show create table s;
Table Create Table
@@ -21901,7 +21901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8513;
show create table s;
Table Create Table
@@ -21909,7 +21909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8512;
show create table s;
Table Create Table
@@ -21917,7 +21917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8511;
show create table s;
Table Create Table
@@ -21925,7 +21925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8510;
show create table s;
Table Create Table
@@ -21933,7 +21933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8509;
show create table s;
Table Create Table
@@ -21941,7 +21941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8508;
show create table s;
Table Create Table
@@ -21949,7 +21949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8507;
show create table s;
Table Create Table
@@ -21957,7 +21957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8506;
show create table s;
Table Create Table
@@ -21965,7 +21965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8505;
show create table s;
Table Create Table
@@ -21973,7 +21973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8504;
show create table s;
Table Create Table
@@ -21981,7 +21981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8503;
show create table s;
Table Create Table
@@ -21989,7 +21989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8502;
show create table s;
Table Create Table
@@ -21997,7 +21997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8501;
show create table s;
Table Create Table
@@ -22005,7 +22005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8500;
show create table s;
Table Create Table
@@ -22013,7 +22013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8499;
show create table s;
Table Create Table
@@ -22021,7 +22021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8498;
show create table s;
Table Create Table
@@ -22029,7 +22029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8497;
show create table s;
Table Create Table
@@ -22037,7 +22037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8496;
show create table s;
Table Create Table
@@ -22045,7 +22045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8495;
show create table s;
Table Create Table
@@ -22053,7 +22053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8494;
show create table s;
Table Create Table
@@ -22061,7 +22061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8493;
show create table s;
Table Create Table
@@ -22069,7 +22069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8492;
show create table s;
Table Create Table
@@ -22077,7 +22077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8491;
show create table s;
Table Create Table
@@ -22085,7 +22085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8490;
show create table s;
Table Create Table
@@ -22093,7 +22093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8489;
show create table s;
Table Create Table
@@ -22101,7 +22101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8488;
show create table s;
Table Create Table
@@ -22109,7 +22109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8487;
show create table s;
Table Create Table
@@ -22117,7 +22117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8486;
show create table s;
Table Create Table
@@ -22125,7 +22125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8485;
show create table s;
Table Create Table
@@ -22133,7 +22133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8484;
show create table s;
Table Create Table
@@ -22141,7 +22141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8483;
show create table s;
Table Create Table
@@ -22149,7 +22149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8482;
show create table s;
Table Create Table
@@ -22157,7 +22157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8481;
show create table s;
Table Create Table
@@ -22165,7 +22165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8480;
show create table s;
Table Create Table
@@ -22173,7 +22173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8479;
show create table s;
Table Create Table
@@ -22181,7 +22181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8478;
show create table s;
Table Create Table
@@ -22189,7 +22189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8477;
show create table s;
Table Create Table
@@ -22197,7 +22197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8476;
show create table s;
Table Create Table
@@ -22205,7 +22205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8475;
show create table s;
Table Create Table
@@ -22213,7 +22213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8474;
show create table s;
Table Create Table
@@ -22221,7 +22221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8473;
show create table s;
Table Create Table
@@ -22229,7 +22229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8472;
show create table s;
Table Create Table
@@ -22237,7 +22237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8471;
show create table s;
Table Create Table
@@ -22245,7 +22245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8470;
show create table s;
Table Create Table
@@ -22253,7 +22253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8469;
show create table s;
Table Create Table
@@ -22261,7 +22261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8468;
show create table s;
Table Create Table
@@ -22269,7 +22269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8467;
show create table s;
Table Create Table
@@ -22277,7 +22277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8466;
show create table s;
Table Create Table
@@ -22285,7 +22285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8465;
show create table s;
Table Create Table
@@ -22293,7 +22293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8464;
show create table s;
Table Create Table
@@ -22301,7 +22301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8463;
show create table s;
Table Create Table
@@ -22309,7 +22309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8462;
show create table s;
Table Create Table
@@ -22317,7 +22317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8461;
show create table s;
Table Create Table
@@ -22325,7 +22325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8460;
show create table s;
Table Create Table
@@ -22333,7 +22333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8459;
show create table s;
Table Create Table
@@ -22341,7 +22341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8458;
show create table s;
Table Create Table
@@ -22349,7 +22349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8457;
show create table s;
Table Create Table
@@ -22357,7 +22357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8456;
show create table s;
Table Create Table
@@ -22365,7 +22365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8455;
show create table s;
Table Create Table
@@ -22373,7 +22373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8454;
show create table s;
Table Create Table
@@ -22381,7 +22381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8453;
show create table s;
Table Create Table
@@ -22389,7 +22389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8452;
show create table s;
Table Create Table
@@ -22397,7 +22397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8451;
show create table s;
Table Create Table
@@ -22405,7 +22405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8450;
show create table s;
Table Create Table
@@ -22413,7 +22413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8449;
show create table s;
Table Create Table
@@ -22421,7 +22421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8448;
show create table s;
Table Create Table
@@ -22429,7 +22429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8447;
show create table s;
Table Create Table
@@ -22437,7 +22437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8446;
show create table s;
Table Create Table
@@ -22445,7 +22445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8445;
show create table s;
Table Create Table
@@ -22453,7 +22453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8444;
show create table s;
Table Create Table
@@ -22461,7 +22461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8443;
show create table s;
Table Create Table
@@ -22469,7 +22469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8442;
show create table s;
Table Create Table
@@ -22477,7 +22477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8441;
show create table s;
Table Create Table
@@ -22485,7 +22485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8440;
show create table s;
Table Create Table
@@ -22493,7 +22493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8439;
show create table s;
Table Create Table
@@ -22501,7 +22501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8438;
show create table s;
Table Create Table
@@ -22509,7 +22509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8437;
show create table s;
Table Create Table
@@ -22517,7 +22517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8436;
show create table s;
Table Create Table
@@ -22525,7 +22525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8435;
show create table s;
Table Create Table
@@ -22533,7 +22533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8434;
show create table s;
Table Create Table
@@ -22541,7 +22541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8433;
show create table s;
Table Create Table
@@ -22549,7 +22549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8432;
show create table s;
Table Create Table
@@ -22557,7 +22557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8431;
show create table s;
Table Create Table
@@ -22565,7 +22565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8430;
show create table s;
Table Create Table
@@ -22573,7 +22573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8429;
show create table s;
Table Create Table
@@ -22581,7 +22581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8428;
show create table s;
Table Create Table
@@ -22589,7 +22589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8427;
show create table s;
Table Create Table
@@ -22597,7 +22597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8426;
show create table s;
Table Create Table
@@ -22605,7 +22605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8425;
show create table s;
Table Create Table
@@ -22613,7 +22613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8424;
show create table s;
Table Create Table
@@ -22621,7 +22621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8423;
show create table s;
Table Create Table
@@ -22629,7 +22629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8422;
show create table s;
Table Create Table
@@ -22637,7 +22637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8421;
show create table s;
Table Create Table
@@ -22645,7 +22645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8420;
show create table s;
Table Create Table
@@ -22653,7 +22653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8419;
show create table s;
Table Create Table
@@ -22661,7 +22661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8418;
show create table s;
Table Create Table
@@ -22669,7 +22669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8417;
show create table s;
Table Create Table
@@ -22677,7 +22677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8416;
show create table s;
Table Create Table
@@ -22685,7 +22685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8415;
show create table s;
Table Create Table
@@ -22693,7 +22693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8414;
show create table s;
Table Create Table
@@ -22701,7 +22701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8413;
show create table s;
Table Create Table
@@ -22709,7 +22709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8412;
show create table s;
Table Create Table
@@ -22717,7 +22717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8411;
show create table s;
Table Create Table
@@ -22725,7 +22725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8410;
show create table s;
Table Create Table
@@ -22733,7 +22733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8409;
show create table s;
Table Create Table
@@ -22741,7 +22741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8408;
show create table s;
Table Create Table
@@ -22749,7 +22749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8407;
show create table s;
Table Create Table
@@ -22757,7 +22757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8406;
show create table s;
Table Create Table
@@ -22765,7 +22765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8405;
show create table s;
Table Create Table
@@ -22773,7 +22773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8404;
show create table s;
Table Create Table
@@ -22781,7 +22781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8403;
show create table s;
Table Create Table
@@ -22789,7 +22789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8402;
show create table s;
Table Create Table
@@ -22797,7 +22797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8401;
show create table s;
Table Create Table
@@ -22805,7 +22805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8400;
show create table s;
Table Create Table
@@ -22813,7 +22813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8399;
show create table s;
Table Create Table
@@ -22821,7 +22821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8398;
show create table s;
Table Create Table
@@ -22829,7 +22829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8397;
show create table s;
Table Create Table
@@ -22837,7 +22837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8396;
show create table s;
Table Create Table
@@ -22845,7 +22845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8395;
show create table s;
Table Create Table
@@ -22853,7 +22853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8394;
show create table s;
Table Create Table
@@ -22861,7 +22861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8393;
show create table s;
Table Create Table
@@ -22869,7 +22869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8392;
show create table s;
Table Create Table
@@ -22877,7 +22877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8391;
show create table s;
Table Create Table
@@ -22885,7 +22885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8390;
show create table s;
Table Create Table
@@ -22893,7 +22893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8389;
show create table s;
Table Create Table
@@ -22901,7 +22901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8388;
show create table s;
Table Create Table
@@ -22909,7 +22909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8387;
show create table s;
Table Create Table
@@ -22917,7 +22917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8386;
show create table s;
Table Create Table
@@ -22925,7 +22925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8385;
show create table s;
Table Create Table
@@ -22933,7 +22933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8384;
show create table s;
Table Create Table
@@ -22941,7 +22941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8383;
show create table s;
Table Create Table
@@ -22949,7 +22949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8382;
show create table s;
Table Create Table
@@ -22957,7 +22957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8381;
show create table s;
Table Create Table
@@ -22965,7 +22965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8380;
show create table s;
Table Create Table
@@ -22973,7 +22973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8379;
show create table s;
Table Create Table
@@ -22981,7 +22981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8378;
show create table s;
Table Create Table
@@ -22989,7 +22989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8377;
show create table s;
Table Create Table
@@ -22997,7 +22997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8376;
show create table s;
Table Create Table
@@ -23005,7 +23005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8375;
show create table s;
Table Create Table
@@ -23013,7 +23013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8374;
show create table s;
Table Create Table
@@ -23021,7 +23021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8373;
show create table s;
Table Create Table
@@ -23029,7 +23029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8372;
show create table s;
Table Create Table
@@ -23037,7 +23037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8371;
show create table s;
Table Create Table
@@ -23045,7 +23045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8370;
show create table s;
Table Create Table
@@ -23053,7 +23053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8369;
show create table s;
Table Create Table
@@ -23061,7 +23061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8368;
show create table s;
Table Create Table
@@ -23069,7 +23069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8367;
show create table s;
Table Create Table
@@ -23077,7 +23077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8366;
show create table s;
Table Create Table
@@ -23085,7 +23085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8365;
show create table s;
Table Create Table
@@ -23093,7 +23093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8364;
show create table s;
Table Create Table
@@ -23101,7 +23101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8363;
show create table s;
Table Create Table
@@ -23109,7 +23109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8362;
show create table s;
Table Create Table
@@ -23117,7 +23117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8361;
show create table s;
Table Create Table
@@ -23125,7 +23125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8360;
show create table s;
Table Create Table
@@ -23133,7 +23133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8359;
show create table s;
Table Create Table
@@ -23141,7 +23141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8358;
show create table s;
Table Create Table
@@ -23149,7 +23149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8357;
show create table s;
Table Create Table
@@ -23157,7 +23157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8356;
show create table s;
Table Create Table
@@ -23165,7 +23165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8355;
show create table s;
Table Create Table
@@ -23173,7 +23173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8354;
show create table s;
Table Create Table
@@ -23181,7 +23181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8353;
show create table s;
Table Create Table
@@ -23189,7 +23189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8352;
show create table s;
Table Create Table
@@ -23197,7 +23197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8351;
show create table s;
Table Create Table
@@ -23205,7 +23205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8350;
show create table s;
Table Create Table
@@ -23213,7 +23213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8349;
show create table s;
Table Create Table
@@ -23221,7 +23221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8348;
show create table s;
Table Create Table
@@ -23229,7 +23229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8347;
show create table s;
Table Create Table
@@ -23237,7 +23237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8346;
show create table s;
Table Create Table
@@ -23245,7 +23245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8345;
show create table s;
Table Create Table
@@ -23253,7 +23253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8344;
show create table s;
Table Create Table
@@ -23261,7 +23261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8343;
show create table s;
Table Create Table
@@ -23269,7 +23269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8342;
show create table s;
Table Create Table
@@ -23277,7 +23277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8341;
show create table s;
Table Create Table
@@ -23285,7 +23285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8340;
show create table s;
Table Create Table
@@ -23293,7 +23293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8339;
show create table s;
Table Create Table
@@ -23301,7 +23301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8338;
show create table s;
Table Create Table
@@ -23309,7 +23309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8337;
show create table s;
Table Create Table
@@ -23317,7 +23317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8336;
show create table s;
Table Create Table
@@ -23325,7 +23325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8335;
show create table s;
Table Create Table
@@ -23333,7 +23333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8334;
show create table s;
Table Create Table
@@ -23341,7 +23341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8333;
show create table s;
Table Create Table
@@ -23349,7 +23349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8332;
show create table s;
Table Create Table
@@ -23357,7 +23357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8331;
show create table s;
Table Create Table
@@ -23365,7 +23365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8330;
show create table s;
Table Create Table
@@ -23373,7 +23373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8329;
show create table s;
Table Create Table
@@ -23381,7 +23381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8328;
show create table s;
Table Create Table
@@ -23389,7 +23389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8327;
show create table s;
Table Create Table
@@ -23397,7 +23397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8326;
show create table s;
Table Create Table
@@ -23405,7 +23405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8325;
show create table s;
Table Create Table
@@ -23413,7 +23413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8324;
show create table s;
Table Create Table
@@ -23421,7 +23421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8323;
show create table s;
Table Create Table
@@ -23429,7 +23429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8322;
show create table s;
Table Create Table
@@ -23437,7 +23437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8321;
show create table s;
Table Create Table
@@ -23445,7 +23445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8320;
show create table s;
Table Create Table
@@ -23453,7 +23453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8319;
show create table s;
Table Create Table
@@ -23461,7 +23461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8318;
show create table s;
Table Create Table
@@ -23469,7 +23469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8317;
show create table s;
Table Create Table
@@ -23477,7 +23477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8316;
show create table s;
Table Create Table
@@ -23485,7 +23485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8315;
show create table s;
Table Create Table
@@ -23493,7 +23493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8314;
show create table s;
Table Create Table
@@ -23501,7 +23501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8313;
show create table s;
Table Create Table
@@ -23509,7 +23509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8312;
show create table s;
Table Create Table
@@ -23517,7 +23517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8311;
show create table s;
Table Create Table
@@ -23525,7 +23525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8310;
show create table s;
Table Create Table
@@ -23533,7 +23533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8309;
show create table s;
Table Create Table
@@ -23541,7 +23541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8308;
show create table s;
Table Create Table
@@ -23549,7 +23549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8307;
show create table s;
Table Create Table
@@ -23557,7 +23557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8306;
show create table s;
Table Create Table
@@ -23565,7 +23565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8305;
show create table s;
Table Create Table
@@ -23573,7 +23573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8304;
show create table s;
Table Create Table
@@ -23581,7 +23581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8303;
show create table s;
Table Create Table
@@ -23589,7 +23589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8302;
show create table s;
Table Create Table
@@ -23597,7 +23597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8301;
show create table s;
Table Create Table
@@ -23605,7 +23605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8300;
show create table s;
Table Create Table
@@ -23613,7 +23613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8299;
show create table s;
Table Create Table
@@ -23621,7 +23621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8298;
show create table s;
Table Create Table
@@ -23629,7 +23629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8297;
show create table s;
Table Create Table
@@ -23637,7 +23637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8296;
show create table s;
Table Create Table
@@ -23645,7 +23645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8295;
show create table s;
Table Create Table
@@ -23653,7 +23653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8294;
show create table s;
Table Create Table
@@ -23661,7 +23661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8293;
show create table s;
Table Create Table
@@ -23669,7 +23669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8292;
show create table s;
Table Create Table
@@ -23677,7 +23677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8291;
show create table s;
Table Create Table
@@ -23685,7 +23685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8290;
show create table s;
Table Create Table
@@ -23693,7 +23693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8289;
show create table s;
Table Create Table
@@ -23701,7 +23701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8288;
show create table s;
Table Create Table
@@ -23709,7 +23709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8287;
show create table s;
Table Create Table
@@ -23717,7 +23717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8286;
show create table s;
Table Create Table
@@ -23725,7 +23725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8285;
show create table s;
Table Create Table
@@ -23733,7 +23733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8284;
show create table s;
Table Create Table
@@ -23741,7 +23741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8283;
show create table s;
Table Create Table
@@ -23749,7 +23749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8282;
show create table s;
Table Create Table
@@ -23757,7 +23757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8281;
show create table s;
Table Create Table
@@ -23765,7 +23765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8280;
show create table s;
Table Create Table
@@ -23773,7 +23773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8279;
show create table s;
Table Create Table
@@ -23781,7 +23781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8278;
show create table s;
Table Create Table
@@ -23789,7 +23789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8277;
show create table s;
Table Create Table
@@ -23797,7 +23797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8276;
show create table s;
Table Create Table
@@ -23805,7 +23805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8275;
show create table s;
Table Create Table
@@ -23813,7 +23813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8274;
show create table s;
Table Create Table
@@ -23821,7 +23821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8273;
show create table s;
Table Create Table
@@ -23829,7 +23829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8272;
show create table s;
Table Create Table
@@ -23837,7 +23837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8271;
show create table s;
Table Create Table
@@ -23845,7 +23845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8270;
show create table s;
Table Create Table
@@ -23853,7 +23853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8269;
show create table s;
Table Create Table
@@ -23861,7 +23861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8268;
show create table s;
Table Create Table
@@ -23869,7 +23869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8267;
show create table s;
Table Create Table
@@ -23877,7 +23877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8266;
show create table s;
Table Create Table
@@ -23885,7 +23885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8265;
show create table s;
Table Create Table
@@ -23893,7 +23893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8264;
show create table s;
Table Create Table
@@ -23901,7 +23901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8263;
show create table s;
Table Create Table
@@ -23909,7 +23909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8262;
show create table s;
Table Create Table
@@ -23917,7 +23917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8261;
show create table s;
Table Create Table
@@ -23925,7 +23925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8260;
show create table s;
Table Create Table
@@ -23933,7 +23933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8259;
show create table s;
Table Create Table
@@ -23941,7 +23941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8258;
show create table s;
Table Create Table
@@ -23949,7 +23949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8257;
show create table s;
Table Create Table
@@ -23957,7 +23957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8256;
show create table s;
Table Create Table
@@ -23965,7 +23965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8255;
show create table s;
Table Create Table
@@ -23973,7 +23973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8254;
show create table s;
Table Create Table
@@ -23981,7 +23981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8253;
show create table s;
Table Create Table
@@ -23989,7 +23989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8252;
show create table s;
Table Create Table
@@ -23997,7 +23997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8251;
show create table s;
Table Create Table
@@ -24005,7 +24005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8250;
show create table s;
Table Create Table
@@ -24013,7 +24013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8249;
show create table s;
Table Create Table
@@ -24021,7 +24021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8248;
show create table s;
Table Create Table
@@ -24029,7 +24029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8247;
show create table s;
Table Create Table
@@ -24037,7 +24037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8246;
show create table s;
Table Create Table
@@ -24045,7 +24045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8245;
show create table s;
Table Create Table
@@ -24053,7 +24053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8244;
show create table s;
Table Create Table
@@ -24061,7 +24061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8243;
show create table s;
Table Create Table
@@ -24069,7 +24069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8242;
show create table s;
Table Create Table
@@ -24077,7 +24077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8241;
show create table s;
Table Create Table
@@ -24085,7 +24085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8240;
show create table s;
Table Create Table
@@ -24093,7 +24093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8239;
show create table s;
Table Create Table
@@ -24101,7 +24101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8238;
show create table s;
Table Create Table
@@ -24109,7 +24109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8237;
show create table s;
Table Create Table
@@ -24117,7 +24117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8236;
show create table s;
Table Create Table
@@ -24125,7 +24125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8235;
show create table s;
Table Create Table
@@ -24133,7 +24133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8234;
show create table s;
Table Create Table
@@ -24141,7 +24141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8233;
show create table s;
Table Create Table
@@ -24149,7 +24149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8232;
show create table s;
Table Create Table
@@ -24157,7 +24157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8231;
show create table s;
Table Create Table
@@ -24165,7 +24165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8230;
show create table s;
Table Create Table
@@ -24173,7 +24173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8229;
show create table s;
Table Create Table
@@ -24181,7 +24181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8228;
show create table s;
Table Create Table
@@ -24189,7 +24189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8227;
show create table s;
Table Create Table
@@ -24197,7 +24197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8226;
show create table s;
Table Create Table
@@ -24205,7 +24205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8225;
show create table s;
Table Create Table
@@ -24213,7 +24213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8224;
show create table s;
Table Create Table
@@ -24221,7 +24221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8223;
show create table s;
Table Create Table
@@ -24229,7 +24229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8222;
show create table s;
Table Create Table
@@ -24237,7 +24237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8221;
show create table s;
Table Create Table
@@ -24245,7 +24245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8220;
show create table s;
Table Create Table
@@ -24253,7 +24253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8219;
show create table s;
Table Create Table
@@ -24261,7 +24261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8218;
show create table s;
Table Create Table
@@ -24269,7 +24269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8217;
show create table s;
Table Create Table
@@ -24277,7 +24277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8216;
show create table s;
Table Create Table
@@ -24285,7 +24285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8215;
show create table s;
Table Create Table
@@ -24293,7 +24293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8214;
show create table s;
Table Create Table
@@ -24301,7 +24301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8213;
show create table s;
Table Create Table
@@ -24309,7 +24309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8212;
show create table s;
Table Create Table
@@ -24317,7 +24317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8211;
show create table s;
Table Create Table
@@ -24325,7 +24325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8210;
show create table s;
Table Create Table
@@ -24333,7 +24333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8209;
show create table s;
Table Create Table
@@ -24341,7 +24341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8208;
show create table s;
Table Create Table
@@ -24349,7 +24349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8207;
show create table s;
Table Create Table
@@ -24357,7 +24357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8206;
show create table s;
Table Create Table
@@ -24365,7 +24365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8205;
show create table s;
Table Create Table
@@ -24373,7 +24373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8204;
show create table s;
Table Create Table
@@ -24381,7 +24381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8203;
show create table s;
Table Create Table
@@ -24389,7 +24389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8202;
show create table s;
Table Create Table
@@ -24397,7 +24397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8201;
show create table s;
Table Create Table
@@ -24405,7 +24405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8200;
show create table s;
Table Create Table
@@ -24413,7 +24413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8199;
show create table s;
Table Create Table
@@ -24421,7 +24421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8198;
show create table s;
Table Create Table
@@ -24429,7 +24429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8197;
show create table s;
Table Create Table
@@ -24437,7 +24437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8196;
show create table s;
Table Create Table
@@ -24445,7 +24445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8195;
show create table s;
Table Create Table
@@ -24453,7 +24453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8194;
show create table s;
Table Create Table
@@ -24461,7 +24461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8193;
show create table s;
Table Create Table
@@ -24469,7 +24469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8192;
show create table s;
Table Create Table
@@ -24477,7 +24477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8191;
show create table s;
Table Create Table
@@ -24485,7 +24485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8190;
show create table s;
Table Create Table
@@ -24493,7 +24493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8189;
show create table s;
Table Create Table
@@ -24501,7 +24501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8188;
show create table s;
Table Create Table
@@ -24509,7 +24509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8187;
show create table s;
Table Create Table
@@ -24517,7 +24517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8186;
show create table s;
Table Create Table
@@ -24525,7 +24525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8185;
show create table s;
Table Create Table
@@ -24533,7 +24533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8184;
show create table s;
Table Create Table
@@ -24541,7 +24541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8183;
show create table s;
Table Create Table
@@ -24549,7 +24549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8182;
show create table s;
Table Create Table
@@ -24557,7 +24557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8181;
show create table s;
Table Create Table
@@ -24565,7 +24565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8180;
show create table s;
Table Create Table
@@ -24573,7 +24573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8179;
show create table s;
Table Create Table
@@ -24581,7 +24581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8178;
show create table s;
Table Create Table
@@ -24589,7 +24589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8177;
show create table s;
Table Create Table
@@ -24597,7 +24597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8176;
show create table s;
Table Create Table
@@ -24605,7 +24605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8175;
show create table s;
Table Create Table
@@ -24613,7 +24613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8174;
show create table s;
Table Create Table
@@ -24621,7 +24621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8173;
show create table s;
Table Create Table
@@ -24629,7 +24629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8172;
show create table s;
Table Create Table
@@ -24637,7 +24637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8171;
show create table s;
Table Create Table
@@ -24645,7 +24645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8170;
show create table s;
Table Create Table
@@ -24653,7 +24653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8169;
show create table s;
Table Create Table
@@ -24661,7 +24661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8168;
show create table s;
Table Create Table
@@ -24669,7 +24669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8167;
show create table s;
Table Create Table
@@ -24677,7 +24677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8166;
show create table s;
Table Create Table
@@ -24685,7 +24685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8165;
show create table s;
Table Create Table
@@ -24693,7 +24693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8164;
show create table s;
Table Create Table
@@ -24701,7 +24701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8163;
show create table s;
Table Create Table
@@ -24709,7 +24709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8162;
show create table s;
Table Create Table
@@ -24717,7 +24717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8161;
show create table s;
Table Create Table
@@ -24725,7 +24725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8160;
show create table s;
Table Create Table
@@ -24733,7 +24733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8159;
show create table s;
Table Create Table
@@ -24741,7 +24741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8158;
show create table s;
Table Create Table
@@ -24749,7 +24749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8157;
show create table s;
Table Create Table
@@ -24757,7 +24757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8156;
show create table s;
Table Create Table
@@ -24765,7 +24765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8155;
show create table s;
Table Create Table
@@ -24773,7 +24773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8154;
show create table s;
Table Create Table
@@ -24781,7 +24781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8153;
show create table s;
Table Create Table
@@ -24789,7 +24789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8152;
show create table s;
Table Create Table
@@ -24797,7 +24797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8151;
show create table s;
Table Create Table
@@ -24805,7 +24805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8150;
show create table s;
Table Create Table
@@ -24813,7 +24813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8149;
show create table s;
Table Create Table
@@ -24821,7 +24821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8148;
show create table s;
Table Create Table
@@ -24829,7 +24829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8147;
show create table s;
Table Create Table
@@ -24837,7 +24837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8146;
show create table s;
Table Create Table
@@ -24845,7 +24845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8145;
show create table s;
Table Create Table
@@ -24853,7 +24853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8144;
show create table s;
Table Create Table
@@ -24861,7 +24861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8143;
show create table s;
Table Create Table
@@ -24869,7 +24869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8142;
show create table s;
Table Create Table
@@ -24877,7 +24877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8141;
show create table s;
Table Create Table
@@ -24885,7 +24885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8140;
show create table s;
Table Create Table
@@ -24893,7 +24893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8139;
show create table s;
Table Create Table
@@ -24901,7 +24901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8138;
show create table s;
Table Create Table
@@ -24909,7 +24909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8137;
show create table s;
Table Create Table
@@ -24917,7 +24917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8136;
show create table s;
Table Create Table
@@ -24925,7 +24925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8135;
show create table s;
Table Create Table
@@ -24933,7 +24933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8134;
show create table s;
Table Create Table
@@ -24941,7 +24941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8133;
show create table s;
Table Create Table
@@ -24949,7 +24949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8132;
show create table s;
Table Create Table
@@ -24957,7 +24957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8131;
show create table s;
Table Create Table
@@ -24965,7 +24965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8130;
show create table s;
Table Create Table
@@ -24973,7 +24973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8129;
show create table s;
Table Create Table
@@ -24981,7 +24981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8128;
show create table s;
Table Create Table
@@ -24989,7 +24989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8127;
show create table s;
Table Create Table
@@ -24997,7 +24997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8126;
show create table s;
Table Create Table
@@ -25005,7 +25005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8125;
show create table s;
Table Create Table
@@ -25013,7 +25013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8124;
show create table s;
Table Create Table
@@ -25021,7 +25021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8123;
show create table s;
Table Create Table
@@ -25029,7 +25029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8122;
show create table s;
Table Create Table
@@ -25037,7 +25037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8121;
show create table s;
Table Create Table
@@ -25045,7 +25045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8120;
show create table s;
Table Create Table
@@ -25053,7 +25053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8119;
show create table s;
Table Create Table
@@ -25061,7 +25061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8118;
show create table s;
Table Create Table
@@ -25069,7 +25069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8117;
show create table s;
Table Create Table
@@ -25077,7 +25077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8116;
show create table s;
Table Create Table
@@ -25085,7 +25085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8115;
show create table s;
Table Create Table
@@ -25093,7 +25093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8114;
show create table s;
Table Create Table
@@ -25101,7 +25101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8113;
show create table s;
Table Create Table
@@ -25109,7 +25109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8112;
show create table s;
Table Create Table
@@ -25117,7 +25117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8111;
show create table s;
Table Create Table
@@ -25125,7 +25125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8110;
show create table s;
Table Create Table
@@ -25133,7 +25133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8109;
show create table s;
Table Create Table
@@ -25141,7 +25141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8108;
show create table s;
Table Create Table
@@ -25149,7 +25149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8107;
show create table s;
Table Create Table
@@ -25157,7 +25157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8106;
show create table s;
Table Create Table
@@ -25165,7 +25165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8105;
show create table s;
Table Create Table
@@ -25173,7 +25173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8104;
show create table s;
Table Create Table
@@ -25181,7 +25181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8103;
show create table s;
Table Create Table
@@ -25189,7 +25189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8102;
show create table s;
Table Create Table
@@ -25197,7 +25197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8101;
show create table s;
Table Create Table
@@ -25205,7 +25205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8100;
show create table s;
Table Create Table
@@ -25213,7 +25213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8099;
show create table s;
Table Create Table
@@ -25221,7 +25221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8098;
show create table s;
Table Create Table
@@ -25229,7 +25229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8097;
show create table s;
Table Create Table
@@ -25237,7 +25237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8096;
show create table s;
Table Create Table
@@ -25245,7 +25245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8095;
show create table s;
Table Create Table
@@ -25253,7 +25253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8094;
show create table s;
Table Create Table
@@ -25261,7 +25261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8093;
show create table s;
Table Create Table
@@ -25269,7 +25269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8092;
show create table s;
Table Create Table
@@ -25277,7 +25277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8091;
show create table s;
Table Create Table
@@ -25285,7 +25285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8090;
show create table s;
Table Create Table
@@ -25293,7 +25293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8089;
show create table s;
Table Create Table
@@ -25301,7 +25301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8088;
show create table s;
Table Create Table
@@ -25309,7 +25309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8087;
show create table s;
Table Create Table
@@ -25317,7 +25317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8086;
show create table s;
Table Create Table
@@ -25325,7 +25325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8085;
show create table s;
Table Create Table
@@ -25333,7 +25333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8084;
show create table s;
Table Create Table
@@ -25341,7 +25341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8083;
show create table s;
Table Create Table
@@ -25349,7 +25349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8082;
show create table s;
Table Create Table
@@ -25357,7 +25357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8081;
show create table s;
Table Create Table
@@ -25365,7 +25365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8080;
show create table s;
Table Create Table
@@ -25373,7 +25373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8079;
show create table s;
Table Create Table
@@ -25381,7 +25381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8078;
show create table s;
Table Create Table
@@ -25389,7 +25389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8077;
show create table s;
Table Create Table
@@ -25397,7 +25397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8076;
show create table s;
Table Create Table
@@ -25405,7 +25405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8075;
show create table s;
Table Create Table
@@ -25413,7 +25413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8074;
show create table s;
Table Create Table
@@ -25421,7 +25421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8073;
show create table s;
Table Create Table
@@ -25429,7 +25429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8072;
show create table s;
Table Create Table
@@ -25437,7 +25437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8071;
show create table s;
Table Create Table
@@ -25445,7 +25445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8070;
show create table s;
Table Create Table
@@ -25453,7 +25453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8069;
show create table s;
Table Create Table
@@ -25461,7 +25461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8068;
show create table s;
Table Create Table
@@ -25469,7 +25469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8067;
show create table s;
Table Create Table
@@ -25477,7 +25477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8066;
show create table s;
Table Create Table
@@ -25485,7 +25485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8065;
show create table s;
Table Create Table
@@ -25493,7 +25493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8064;
show create table s;
Table Create Table
@@ -25501,7 +25501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8063;
show create table s;
Table Create Table
@@ -25509,7 +25509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8062;
show create table s;
Table Create Table
@@ -25517,7 +25517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8061;
show create table s;
Table Create Table
@@ -25525,7 +25525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8060;
show create table s;
Table Create Table
@@ -25533,7 +25533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8059;
show create table s;
Table Create Table
@@ -25541,7 +25541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8058;
show create table s;
Table Create Table
@@ -25549,7 +25549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8057;
show create table s;
Table Create Table
@@ -25557,7 +25557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8056;
show create table s;
Table Create Table
@@ -25565,7 +25565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8055;
show create table s;
Table Create Table
@@ -25573,7 +25573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8054;
show create table s;
Table Create Table
@@ -25581,7 +25581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8053;
show create table s;
Table Create Table
@@ -25589,7 +25589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8052;
show create table s;
Table Create Table
@@ -25597,7 +25597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8051;
show create table s;
Table Create Table
@@ -25605,7 +25605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8050;
show create table s;
Table Create Table
@@ -25613,7 +25613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8049;
show create table s;
Table Create Table
@@ -25621,7 +25621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8048;
show create table s;
Table Create Table
@@ -25629,7 +25629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8047;
show create table s;
Table Create Table
@@ -25637,7 +25637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8046;
show create table s;
Table Create Table
@@ -25645,7 +25645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8045;
show create table s;
Table Create Table
@@ -25653,7 +25653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8044;
show create table s;
Table Create Table
@@ -25661,7 +25661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8043;
show create table s;
Table Create Table
@@ -25669,7 +25669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8042;
show create table s;
Table Create Table
@@ -25677,7 +25677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8041;
show create table s;
Table Create Table
@@ -25685,7 +25685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8040;
show create table s;
Table Create Table
@@ -25693,7 +25693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8039;
show create table s;
Table Create Table
@@ -25701,7 +25701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8038;
show create table s;
Table Create Table
@@ -25709,7 +25709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8037;
show create table s;
Table Create Table
@@ -25717,7 +25717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8036;
show create table s;
Table Create Table
@@ -25725,7 +25725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8035;
show create table s;
Table Create Table
@@ -25733,7 +25733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8034;
show create table s;
Table Create Table
@@ -25741,7 +25741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8033;
show create table s;
Table Create Table
@@ -25749,7 +25749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8032;
show create table s;
Table Create Table
@@ -25757,7 +25757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8031;
show create table s;
Table Create Table
@@ -25765,7 +25765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8030;
show create table s;
Table Create Table
@@ -25773,7 +25773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8029;
show create table s;
Table Create Table
@@ -25781,7 +25781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8028;
show create table s;
Table Create Table
@@ -25789,7 +25789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8027;
show create table s;
Table Create Table
@@ -25797,7 +25797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8026;
show create table s;
Table Create Table
@@ -25805,7 +25805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8025;
show create table s;
Table Create Table
@@ -25813,7 +25813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8024;
show create table s;
Table Create Table
@@ -25821,7 +25821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8023;
show create table s;
Table Create Table
@@ -25829,7 +25829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8022;
show create table s;
Table Create Table
@@ -25837,7 +25837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8021;
show create table s;
Table Create Table
@@ -25845,7 +25845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8020;
show create table s;
Table Create Table
@@ -25853,7 +25853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8019;
show create table s;
Table Create Table
@@ -25861,7 +25861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8018;
show create table s;
Table Create Table
@@ -25869,7 +25869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8017;
show create table s;
Table Create Table
@@ -25877,7 +25877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8016;
show create table s;
Table Create Table
@@ -25885,7 +25885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8015;
show create table s;
Table Create Table
@@ -25893,7 +25893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8014;
show create table s;
Table Create Table
@@ -25901,7 +25901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8013;
show create table s;
Table Create Table
@@ -25909,7 +25909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8012;
show create table s;
Table Create Table
@@ -25917,7 +25917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8011;
show create table s;
Table Create Table
@@ -25925,7 +25925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8010;
show create table s;
Table Create Table
@@ -25933,7 +25933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8009;
show create table s;
Table Create Table
@@ -25941,7 +25941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8008;
show create table s;
Table Create Table
@@ -25949,7 +25949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8007;
show create table s;
Table Create Table
@@ -25957,7 +25957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8006;
show create table s;
Table Create Table
@@ -25965,7 +25965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8005;
show create table s;
Table Create Table
@@ -25973,7 +25973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8004;
show create table s;
Table Create Table
@@ -25981,7 +25981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8003;
show create table s;
Table Create Table
@@ -25989,7 +25989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8002;
show create table s;
Table Create Table
@@ -25997,7 +25997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8001;
show create table s;
Table Create Table
@@ -26005,7 +26005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8000;
show create table s;
Table Create Table
@@ -26013,7 +26013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7999;
show create table s;
Table Create Table
@@ -26021,7 +26021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7998;
show create table s;
Table Create Table
@@ -26029,7 +26029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7997;
show create table s;
Table Create Table
@@ -26037,7 +26037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7996;
show create table s;
Table Create Table
@@ -26045,7 +26045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7995;
show create table s;
Table Create Table
@@ -26053,7 +26053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7994;
show create table s;
Table Create Table
@@ -26061,7 +26061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7993;
show create table s;
Table Create Table
@@ -26069,7 +26069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7992;
show create table s;
Table Create Table
@@ -26077,7 +26077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7991;
show create table s;
Table Create Table
@@ -26085,7 +26085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7990;
show create table s;
Table Create Table
@@ -26093,7 +26093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7989;
show create table s;
Table Create Table
@@ -26101,7 +26101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7988;
show create table s;
Table Create Table
@@ -26109,7 +26109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7987;
show create table s;
Table Create Table
@@ -26117,7 +26117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7986;
show create table s;
Table Create Table
@@ -26125,7 +26125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7985;
show create table s;
Table Create Table
@@ -26133,7 +26133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7984;
show create table s;
Table Create Table
@@ -26141,7 +26141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7983;
show create table s;
Table Create Table
@@ -26149,7 +26149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7982;
show create table s;
Table Create Table
@@ -26157,7 +26157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7981;
show create table s;
Table Create Table
@@ -26165,7 +26165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7980;
show create table s;
Table Create Table
@@ -26173,7 +26173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7979;
show create table s;
Table Create Table
@@ -26181,7 +26181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7978;
show create table s;
Table Create Table
@@ -26189,7 +26189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7977;
show create table s;
Table Create Table
@@ -26197,7 +26197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7976;
show create table s;
Table Create Table
@@ -26205,7 +26205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7975;
show create table s;
Table Create Table
@@ -26213,7 +26213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7974;
show create table s;
Table Create Table
@@ -26221,7 +26221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7973;
show create table s;
Table Create Table
@@ -26229,7 +26229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7972;
show create table s;
Table Create Table
@@ -26237,7 +26237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7971;
show create table s;
Table Create Table
@@ -26245,7 +26245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7970;
show create table s;
Table Create Table
@@ -26253,7 +26253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7969;
show create table s;
Table Create Table
@@ -26261,7 +26261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7968;
show create table s;
Table Create Table
@@ -26269,7 +26269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7967;
show create table s;
Table Create Table
@@ -26277,7 +26277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7966;
show create table s;
Table Create Table
@@ -26285,7 +26285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7965;
show create table s;
Table Create Table
@@ -26293,7 +26293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7964;
show create table s;
Table Create Table
@@ -26301,7 +26301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7963;
show create table s;
Table Create Table
@@ -26309,7 +26309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7962;
show create table s;
Table Create Table
@@ -26317,7 +26317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7961;
show create table s;
Table Create Table
@@ -26325,7 +26325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7960;
show create table s;
Table Create Table
@@ -26333,7 +26333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7959;
show create table s;
Table Create Table
@@ -26341,7 +26341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7958;
show create table s;
Table Create Table
@@ -26349,7 +26349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7957;
show create table s;
Table Create Table
@@ -26357,7 +26357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7956;
show create table s;
Table Create Table
@@ -26365,7 +26365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7955;
show create table s;
Table Create Table
@@ -26373,7 +26373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7954;
show create table s;
Table Create Table
@@ -26381,7 +26381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7953;
show create table s;
Table Create Table
@@ -26389,7 +26389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7952;
show create table s;
Table Create Table
@@ -26397,7 +26397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7951;
show create table s;
Table Create Table
@@ -26405,7 +26405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7950;
show create table s;
Table Create Table
@@ -26413,7 +26413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7949;
show create table s;
Table Create Table
@@ -26421,7 +26421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7948;
show create table s;
Table Create Table
@@ -26429,7 +26429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7947;
show create table s;
Table Create Table
@@ -26437,7 +26437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7946;
show create table s;
Table Create Table
@@ -26445,7 +26445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7945;
show create table s;
Table Create Table
@@ -26453,7 +26453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7944;
show create table s;
Table Create Table
@@ -26461,7 +26461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7943;
show create table s;
Table Create Table
@@ -26469,7 +26469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7942;
show create table s;
Table Create Table
@@ -26477,7 +26477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7941;
show create table s;
Table Create Table
@@ -26485,7 +26485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7940;
show create table s;
Table Create Table
@@ -26493,7 +26493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7939;
show create table s;
Table Create Table
@@ -26501,7 +26501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7938;
show create table s;
Table Create Table
@@ -26509,7 +26509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7937;
show create table s;
Table Create Table
@@ -26517,7 +26517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7936;
show create table s;
Table Create Table
@@ -26525,7 +26525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7935;
show create table s;
Table Create Table
@@ -26533,7 +26533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7934;
show create table s;
Table Create Table
@@ -26541,7 +26541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7933;
show create table s;
Table Create Table
@@ -26549,7 +26549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7932;
show create table s;
Table Create Table
@@ -26557,7 +26557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7931;
show create table s;
Table Create Table
@@ -26565,7 +26565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7930;
show create table s;
Table Create Table
@@ -26573,7 +26573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7929;
show create table s;
Table Create Table
@@ -26581,7 +26581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7928;
show create table s;
Table Create Table
@@ -26589,7 +26589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7927;
show create table s;
Table Create Table
@@ -26597,7 +26597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7926;
show create table s;
Table Create Table
@@ -26605,7 +26605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7925;
show create table s;
Table Create Table
@@ -26613,7 +26613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7924;
show create table s;
Table Create Table
@@ -26621,7 +26621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7923;
show create table s;
Table Create Table
@@ -26629,7 +26629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7922;
show create table s;
Table Create Table
@@ -26637,7 +26637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7921;
show create table s;
Table Create Table
@@ -26645,7 +26645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7920;
show create table s;
Table Create Table
@@ -26653,7 +26653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7919;
show create table s;
Table Create Table
@@ -26661,7 +26661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7918;
show create table s;
Table Create Table
@@ -26669,7 +26669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7917;
show create table s;
Table Create Table
@@ -26677,7 +26677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7916;
show create table s;
Table Create Table
@@ -26685,7 +26685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7915;
show create table s;
Table Create Table
@@ -26693,7 +26693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7914;
show create table s;
Table Create Table
@@ -26701,7 +26701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7913;
show create table s;
Table Create Table
@@ -26709,7 +26709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7912;
show create table s;
Table Create Table
@@ -26717,7 +26717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7911;
show create table s;
Table Create Table
@@ -26725,7 +26725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7910;
show create table s;
Table Create Table
@@ -26733,7 +26733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7909;
show create table s;
Table Create Table
@@ -26741,7 +26741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7908;
show create table s;
Table Create Table
@@ -26749,7 +26749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7907;
show create table s;
Table Create Table
@@ -26757,7 +26757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7906;
show create table s;
Table Create Table
@@ -26765,7 +26765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7905;
show create table s;
Table Create Table
@@ -26773,7 +26773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7904;
show create table s;
Table Create Table
@@ -26781,7 +26781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7903;
show create table s;
Table Create Table
@@ -26789,7 +26789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7902;
show create table s;
Table Create Table
@@ -26797,7 +26797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7901;
show create table s;
Table Create Table
@@ -26805,7 +26805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7900;
show create table s;
Table Create Table
@@ -26813,7 +26813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7899;
show create table s;
Table Create Table
@@ -26821,7 +26821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7898;
show create table s;
Table Create Table
@@ -26829,7 +26829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7897;
show create table s;
Table Create Table
@@ -26837,7 +26837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7896;
show create table s;
Table Create Table
@@ -26845,7 +26845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7895;
show create table s;
Table Create Table
@@ -26853,7 +26853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7894;
show create table s;
Table Create Table
@@ -26861,7 +26861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7893;
show create table s;
Table Create Table
@@ -26869,7 +26869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7892;
show create table s;
Table Create Table
@@ -26877,7 +26877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7891;
show create table s;
Table Create Table
@@ -26885,7 +26885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7890;
show create table s;
Table Create Table
@@ -26893,7 +26893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7889;
show create table s;
Table Create Table
@@ -26901,7 +26901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7888;
show create table s;
Table Create Table
@@ -26909,7 +26909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7887;
show create table s;
Table Create Table
@@ -26917,7 +26917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7886;
show create table s;
Table Create Table
@@ -26925,7 +26925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7885;
show create table s;
Table Create Table
@@ -26933,7 +26933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7884;
show create table s;
Table Create Table
@@ -26941,7 +26941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7883;
show create table s;
Table Create Table
@@ -26949,7 +26949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7882;
show create table s;
Table Create Table
@@ -26957,7 +26957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7881;
show create table s;
Table Create Table
@@ -26965,7 +26965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7880;
show create table s;
Table Create Table
@@ -26973,7 +26973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7879;
show create table s;
Table Create Table
@@ -26981,7 +26981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7878;
show create table s;
Table Create Table
@@ -26989,7 +26989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7877;
show create table s;
Table Create Table
@@ -26997,7 +26997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7876;
show create table s;
Table Create Table
@@ -27005,7 +27005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7875;
show create table s;
Table Create Table
@@ -27013,7 +27013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7874;
show create table s;
Table Create Table
@@ -27021,7 +27021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7873;
show create table s;
Table Create Table
@@ -27029,7 +27029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7872;
show create table s;
Table Create Table
@@ -27037,7 +27037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7871;
show create table s;
Table Create Table
@@ -27045,7 +27045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7870;
show create table s;
Table Create Table
@@ -27053,7 +27053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7869;
show create table s;
Table Create Table
@@ -27061,7 +27061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7868;
show create table s;
Table Create Table
@@ -27069,7 +27069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7867;
show create table s;
Table Create Table
@@ -27077,7 +27077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7866;
show create table s;
Table Create Table
@@ -27085,7 +27085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7865;
show create table s;
Table Create Table
@@ -27093,7 +27093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7864;
show create table s;
Table Create Table
@@ -27101,7 +27101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7863;
show create table s;
Table Create Table
@@ -27109,7 +27109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7862;
show create table s;
Table Create Table
@@ -27117,7 +27117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7861;
show create table s;
Table Create Table
@@ -27125,7 +27125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7860;
show create table s;
Table Create Table
@@ -27133,7 +27133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7859;
show create table s;
Table Create Table
@@ -27141,7 +27141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7858;
show create table s;
Table Create Table
@@ -27149,7 +27149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7857;
show create table s;
Table Create Table
@@ -27157,7 +27157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7856;
show create table s;
Table Create Table
@@ -27165,7 +27165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7855;
show create table s;
Table Create Table
@@ -27173,7 +27173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7854;
show create table s;
Table Create Table
@@ -27181,7 +27181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7853;
show create table s;
Table Create Table
@@ -27189,7 +27189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7852;
show create table s;
Table Create Table
@@ -27197,7 +27197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7851;
show create table s;
Table Create Table
@@ -27205,7 +27205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7850;
show create table s;
Table Create Table
@@ -27213,7 +27213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7849;
show create table s;
Table Create Table
@@ -27221,7 +27221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7848;
show create table s;
Table Create Table
@@ -27229,7 +27229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7847;
show create table s;
Table Create Table
@@ -27237,7 +27237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7846;
show create table s;
Table Create Table
@@ -27245,7 +27245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7845;
show create table s;
Table Create Table
@@ -27253,7 +27253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7844;
show create table s;
Table Create Table
@@ -27261,7 +27261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7843;
show create table s;
Table Create Table
@@ -27269,7 +27269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7842;
show create table s;
Table Create Table
@@ -27277,7 +27277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7841;
show create table s;
Table Create Table
@@ -27285,7 +27285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7840;
show create table s;
Table Create Table
@@ -27293,7 +27293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7839;
show create table s;
Table Create Table
@@ -27301,7 +27301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7838;
show create table s;
Table Create Table
@@ -27309,7 +27309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7837;
show create table s;
Table Create Table
@@ -27317,7 +27317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7836;
show create table s;
Table Create Table
@@ -27325,7 +27325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7835;
show create table s;
Table Create Table
@@ -27333,7 +27333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7834;
show create table s;
Table Create Table
@@ -27341,7 +27341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7833;
show create table s;
Table Create Table
@@ -27349,7 +27349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7832;
show create table s;
Table Create Table
@@ -27357,7 +27357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7831;
show create table s;
Table Create Table
@@ -27365,7 +27365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7830;
show create table s;
Table Create Table
@@ -27373,7 +27373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7829;
show create table s;
Table Create Table
@@ -27381,7 +27381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7828;
show create table s;
Table Create Table
@@ -27389,7 +27389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7827;
show create table s;
Table Create Table
@@ -27397,7 +27397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7826;
show create table s;
Table Create Table
@@ -27405,7 +27405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7825;
show create table s;
Table Create Table
@@ -27413,7 +27413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7824;
show create table s;
Table Create Table
@@ -27421,7 +27421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7823;
show create table s;
Table Create Table
@@ -27429,7 +27429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7822;
show create table s;
Table Create Table
@@ -27437,7 +27437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7821;
show create table s;
Table Create Table
@@ -27445,7 +27445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7820;
show create table s;
Table Create Table
@@ -27453,7 +27453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7819;
show create table s;
Table Create Table
@@ -27461,7 +27461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7818;
show create table s;
Table Create Table
@@ -27469,7 +27469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7817;
show create table s;
Table Create Table
@@ -27477,7 +27477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7816;
show create table s;
Table Create Table
@@ -27485,7 +27485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7815;
show create table s;
Table Create Table
@@ -27493,7 +27493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7814;
show create table s;
Table Create Table
@@ -27501,7 +27501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7813;
show create table s;
Table Create Table
@@ -27509,7 +27509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7812;
show create table s;
Table Create Table
@@ -27517,7 +27517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7811;
show create table s;
Table Create Table
@@ -27525,7 +27525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7810;
show create table s;
Table Create Table
@@ -27533,7 +27533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7809;
show create table s;
Table Create Table
@@ -27541,7 +27541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7808;
show create table s;
Table Create Table
@@ -27549,7 +27549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7807;
show create table s;
Table Create Table
@@ -27557,7 +27557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7806;
show create table s;
Table Create Table
@@ -27565,7 +27565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7805;
show create table s;
Table Create Table
@@ -27573,7 +27573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7804;
show create table s;
Table Create Table
@@ -27581,7 +27581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7803;
show create table s;
Table Create Table
@@ -27589,7 +27589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7802;
show create table s;
Table Create Table
@@ -27597,7 +27597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7801;
show create table s;
Table Create Table
@@ -27605,7 +27605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7800;
show create table s;
Table Create Table
@@ -27613,7 +27613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7799;
show create table s;
Table Create Table
@@ -27621,7 +27621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7798;
show create table s;
Table Create Table
@@ -27629,7 +27629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7797;
show create table s;
Table Create Table
@@ -27637,7 +27637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7796;
show create table s;
Table Create Table
@@ -27645,7 +27645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7795;
show create table s;
Table Create Table
@@ -27653,7 +27653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7794;
show create table s;
Table Create Table
@@ -27661,7 +27661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7793;
show create table s;
Table Create Table
@@ -27669,7 +27669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7792;
show create table s;
Table Create Table
@@ -27677,7 +27677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7791;
show create table s;
Table Create Table
@@ -27685,7 +27685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7790;
show create table s;
Table Create Table
@@ -27693,7 +27693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7789;
show create table s;
Table Create Table
@@ -27701,7 +27701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7788;
show create table s;
Table Create Table
@@ -27709,7 +27709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7787;
show create table s;
Table Create Table
@@ -27717,7 +27717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7786;
show create table s;
Table Create Table
@@ -27725,7 +27725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7785;
show create table s;
Table Create Table
@@ -27733,7 +27733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7784;
show create table s;
Table Create Table
@@ -27741,7 +27741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7783;
show create table s;
Table Create Table
@@ -27749,7 +27749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7782;
show create table s;
Table Create Table
@@ -27757,7 +27757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7781;
show create table s;
Table Create Table
@@ -27765,7 +27765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7780;
show create table s;
Table Create Table
@@ -27773,7 +27773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7779;
show create table s;
Table Create Table
@@ -27781,7 +27781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7778;
show create table s;
Table Create Table
@@ -27789,7 +27789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7777;
show create table s;
Table Create Table
@@ -27797,7 +27797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7776;
show create table s;
Table Create Table
@@ -27805,7 +27805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7775;
show create table s;
Table Create Table
@@ -27813,7 +27813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7774;
show create table s;
Table Create Table
@@ -27821,7 +27821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7773;
show create table s;
Table Create Table
@@ -27829,7 +27829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7772;
show create table s;
Table Create Table
@@ -27837,7 +27837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7771;
show create table s;
Table Create Table
@@ -27845,7 +27845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7770;
show create table s;
Table Create Table
@@ -27853,7 +27853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7769;
show create table s;
Table Create Table
@@ -27861,7 +27861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7768;
show create table s;
Table Create Table
@@ -27869,7 +27869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7767;
show create table s;
Table Create Table
@@ -27877,7 +27877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7766;
show create table s;
Table Create Table
@@ -27885,7 +27885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7765;
show create table s;
Table Create Table
@@ -27893,7 +27893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7764;
show create table s;
Table Create Table
@@ -27901,7 +27901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7763;
show create table s;
Table Create Table
@@ -27909,7 +27909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7762;
show create table s;
Table Create Table
@@ -27917,7 +27917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7761;
show create table s;
Table Create Table
@@ -27925,7 +27925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7760;
show create table s;
Table Create Table
@@ -27933,7 +27933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7759;
show create table s;
Table Create Table
@@ -27941,7 +27941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7758;
show create table s;
Table Create Table
@@ -27949,7 +27949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7757;
show create table s;
Table Create Table
@@ -27957,7 +27957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7756;
show create table s;
Table Create Table
@@ -27965,7 +27965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7755;
show create table s;
Table Create Table
@@ -27973,7 +27973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7754;
show create table s;
Table Create Table
@@ -27981,7 +27981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7753;
show create table s;
Table Create Table
@@ -27989,7 +27989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7752;
show create table s;
Table Create Table
@@ -27997,7 +27997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7751;
show create table s;
Table Create Table
@@ -28005,7 +28005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7750;
show create table s;
Table Create Table
@@ -28013,7 +28013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7749;
show create table s;
Table Create Table
@@ -28021,7 +28021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7748;
show create table s;
Table Create Table
@@ -28029,7 +28029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7747;
show create table s;
Table Create Table
@@ -28037,7 +28037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7746;
show create table s;
Table Create Table
@@ -28045,7 +28045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7745;
show create table s;
Table Create Table
@@ -28053,7 +28053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7744;
show create table s;
Table Create Table
@@ -28061,7 +28061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7743;
show create table s;
Table Create Table
@@ -28069,7 +28069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7742;
show create table s;
Table Create Table
@@ -28077,7 +28077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7741;
show create table s;
Table Create Table
@@ -28085,7 +28085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7740;
show create table s;
Table Create Table
@@ -28093,7 +28093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7739;
show create table s;
Table Create Table
@@ -28101,7 +28101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7738;
show create table s;
Table Create Table
@@ -28109,7 +28109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7737;
show create table s;
Table Create Table
@@ -28117,7 +28117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7736;
show create table s;
Table Create Table
@@ -28125,7 +28125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7735;
show create table s;
Table Create Table
@@ -28133,7 +28133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7734;
show create table s;
Table Create Table
@@ -28141,7 +28141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7733;
show create table s;
Table Create Table
@@ -28149,7 +28149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7732;
show create table s;
Table Create Table
@@ -28157,7 +28157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7731;
show create table s;
Table Create Table
@@ -28165,7 +28165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7730;
show create table s;
Table Create Table
@@ -28173,7 +28173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7729;
show create table s;
Table Create Table
@@ -28181,7 +28181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7728;
show create table s;
Table Create Table
@@ -28189,7 +28189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7727;
show create table s;
Table Create Table
@@ -28197,7 +28197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7726;
show create table s;
Table Create Table
@@ -28205,7 +28205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7725;
show create table s;
Table Create Table
@@ -28213,7 +28213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7724;
show create table s;
Table Create Table
@@ -28221,7 +28221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7723;
show create table s;
Table Create Table
@@ -28229,7 +28229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7722;
show create table s;
Table Create Table
@@ -28237,7 +28237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7721;
show create table s;
Table Create Table
@@ -28245,7 +28245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7720;
show create table s;
Table Create Table
@@ -28253,7 +28253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7719;
show create table s;
Table Create Table
@@ -28261,7 +28261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7718;
show create table s;
Table Create Table
@@ -28269,7 +28269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7717;
show create table s;
Table Create Table
@@ -28277,7 +28277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7716;
show create table s;
Table Create Table
@@ -28285,7 +28285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7715;
show create table s;
Table Create Table
@@ -28293,7 +28293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7714;
show create table s;
Table Create Table
@@ -28301,7 +28301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7713;
show create table s;
Table Create Table
@@ -28309,7 +28309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7712;
show create table s;
Table Create Table
@@ -28317,7 +28317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7711;
show create table s;
Table Create Table
@@ -28325,7 +28325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7710;
show create table s;
Table Create Table
@@ -28333,7 +28333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7709;
show create table s;
Table Create Table
@@ -28341,7 +28341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7708;
show create table s;
Table Create Table
@@ -28349,7 +28349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7707;
show create table s;
Table Create Table
@@ -28357,7 +28357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7706;
show create table s;
Table Create Table
@@ -28365,7 +28365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7705;
show create table s;
Table Create Table
@@ -28373,7 +28373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7704;
show create table s;
Table Create Table
@@ -28381,7 +28381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7703;
show create table s;
Table Create Table
@@ -28389,7 +28389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7702;
show create table s;
Table Create Table
@@ -28397,7 +28397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7701;
show create table s;
Table Create Table
@@ -28405,7 +28405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7700;
show create table s;
Table Create Table
@@ -28413,7 +28413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7699;
show create table s;
Table Create Table
@@ -28421,7 +28421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7698;
show create table s;
Table Create Table
@@ -28429,7 +28429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7697;
show create table s;
Table Create Table
@@ -28437,7 +28437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7696;
show create table s;
Table Create Table
@@ -28445,7 +28445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7695;
show create table s;
Table Create Table
@@ -28453,7 +28453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7694;
show create table s;
Table Create Table
@@ -28461,7 +28461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7693;
show create table s;
Table Create Table
@@ -28469,7 +28469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7692;
show create table s;
Table Create Table
@@ -28477,7 +28477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7691;
show create table s;
Table Create Table
@@ -28485,7 +28485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7690;
show create table s;
Table Create Table
@@ -28493,7 +28493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7689;
show create table s;
Table Create Table
@@ -28501,7 +28501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7688;
show create table s;
Table Create Table
@@ -28509,7 +28509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7687;
show create table s;
Table Create Table
@@ -28517,7 +28517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7686;
show create table s;
Table Create Table
@@ -28525,7 +28525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7685;
show create table s;
Table Create Table
@@ -28533,7 +28533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7684;
show create table s;
Table Create Table
@@ -28541,7 +28541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7683;
show create table s;
Table Create Table
@@ -28549,7 +28549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7682;
show create table s;
Table Create Table
@@ -28557,7 +28557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7681;
show create table s;
Table Create Table
@@ -28565,7 +28565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7680;
show create table s;
Table Create Table
@@ -28573,7 +28573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7679;
show create table s;
Table Create Table
@@ -28581,7 +28581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7678;
show create table s;
Table Create Table
@@ -28589,7 +28589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7677;
show create table s;
Table Create Table
@@ -28597,7 +28597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7676;
show create table s;
Table Create Table
@@ -28605,7 +28605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7675;
show create table s;
Table Create Table
@@ -28613,7 +28613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7674;
show create table s;
Table Create Table
@@ -28621,7 +28621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7673;
show create table s;
Table Create Table
@@ -28629,7 +28629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7672;
show create table s;
Table Create Table
@@ -28637,7 +28637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7671;
show create table s;
Table Create Table
@@ -28645,7 +28645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7670;
show create table s;
Table Create Table
@@ -28653,7 +28653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7669;
show create table s;
Table Create Table
@@ -28661,7 +28661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7668;
show create table s;
Table Create Table
@@ -28669,7 +28669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7667;
show create table s;
Table Create Table
@@ -28677,7 +28677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7666;
show create table s;
Table Create Table
@@ -28685,7 +28685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7665;
show create table s;
Table Create Table
@@ -28693,7 +28693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7664;
show create table s;
Table Create Table
@@ -28701,7 +28701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7663;
show create table s;
Table Create Table
@@ -28709,7 +28709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7662;
show create table s;
Table Create Table
@@ -28717,7 +28717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7661;
show create table s;
Table Create Table
@@ -28725,7 +28725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7660;
show create table s;
Table Create Table
@@ -28733,7 +28733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7659;
show create table s;
Table Create Table
@@ -28741,7 +28741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7658;
show create table s;
Table Create Table
@@ -28749,7 +28749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7657;
show create table s;
Table Create Table
@@ -28757,7 +28757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7656;
show create table s;
Table Create Table
@@ -28765,7 +28765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7655;
show create table s;
Table Create Table
@@ -28773,7 +28773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7654;
show create table s;
Table Create Table
@@ -28781,7 +28781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7653;
show create table s;
Table Create Table
@@ -28789,7 +28789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7652;
show create table s;
Table Create Table
@@ -28797,7 +28797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7651;
show create table s;
Table Create Table
@@ -28805,7 +28805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7650;
show create table s;
Table Create Table
@@ -28813,7 +28813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7649;
show create table s;
Table Create Table
@@ -28821,7 +28821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7648;
show create table s;
Table Create Table
@@ -28829,7 +28829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7647;
show create table s;
Table Create Table
@@ -28837,7 +28837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7646;
show create table s;
Table Create Table
@@ -28845,7 +28845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7645;
show create table s;
Table Create Table
@@ -28853,7 +28853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7644;
show create table s;
Table Create Table
@@ -28861,7 +28861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7643;
show create table s;
Table Create Table
@@ -28869,7 +28869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7642;
show create table s;
Table Create Table
@@ -28877,7 +28877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7641;
show create table s;
Table Create Table
@@ -28885,7 +28885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7640;
show create table s;
Table Create Table
@@ -28893,7 +28893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7639;
show create table s;
Table Create Table
@@ -28901,7 +28901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7638;
show create table s;
Table Create Table
@@ -28909,7 +28909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7637;
show create table s;
Table Create Table
@@ -28917,7 +28917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7636;
show create table s;
Table Create Table
@@ -28925,7 +28925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7635;
show create table s;
Table Create Table
@@ -28933,7 +28933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7634;
show create table s;
Table Create Table
@@ -28941,7 +28941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7633;
show create table s;
Table Create Table
@@ -28949,7 +28949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7632;
show create table s;
Table Create Table
@@ -28957,7 +28957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7631;
show create table s;
Table Create Table
@@ -28965,7 +28965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7630;
show create table s;
Table Create Table
@@ -28973,7 +28973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7629;
show create table s;
Table Create Table
@@ -28981,7 +28981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7628;
show create table s;
Table Create Table
@@ -28989,7 +28989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7627;
show create table s;
Table Create Table
@@ -28997,7 +28997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7626;
show create table s;
Table Create Table
@@ -29005,7 +29005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7625;
show create table s;
Table Create Table
@@ -29013,7 +29013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7624;
show create table s;
Table Create Table
@@ -29021,7 +29021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7623;
show create table s;
Table Create Table
@@ -29029,7 +29029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7622;
show create table s;
Table Create Table
@@ -29037,7 +29037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7621;
show create table s;
Table Create Table
@@ -29045,7 +29045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7620;
show create table s;
Table Create Table
@@ -29053,7 +29053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7619;
show create table s;
Table Create Table
@@ -29061,7 +29061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7618;
show create table s;
Table Create Table
@@ -29069,7 +29069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7617;
show create table s;
Table Create Table
@@ -29077,7 +29077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7616;
show create table s;
Table Create Table
@@ -29085,7 +29085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7615;
show create table s;
Table Create Table
@@ -29093,7 +29093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7614;
show create table s;
Table Create Table
@@ -29101,7 +29101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7613;
show create table s;
Table Create Table
@@ -29109,7 +29109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7612;
show create table s;
Table Create Table
@@ -29117,7 +29117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7611;
show create table s;
Table Create Table
@@ -29125,7 +29125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7610;
show create table s;
Table Create Table
@@ -29133,7 +29133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7609;
show create table s;
Table Create Table
@@ -29141,7 +29141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7608;
show create table s;
Table Create Table
@@ -29149,7 +29149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7607;
show create table s;
Table Create Table
@@ -29157,7 +29157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7606;
show create table s;
Table Create Table
@@ -29165,7 +29165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7605;
show create table s;
Table Create Table
@@ -29173,7 +29173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7604;
show create table s;
Table Create Table
@@ -29181,7 +29181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7603;
show create table s;
Table Create Table
@@ -29189,7 +29189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7602;
show create table s;
Table Create Table
@@ -29197,7 +29197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7601;
show create table s;
Table Create Table
@@ -29205,7 +29205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7600;
show create table s;
Table Create Table
@@ -29213,7 +29213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7599;
show create table s;
Table Create Table
@@ -29221,7 +29221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7598;
show create table s;
Table Create Table
@@ -29229,7 +29229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7597;
show create table s;
Table Create Table
@@ -29237,7 +29237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7596;
show create table s;
Table Create Table
@@ -29245,7 +29245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7595;
show create table s;
Table Create Table
@@ -29253,7 +29253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7594;
show create table s;
Table Create Table
@@ -29261,7 +29261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7593;
show create table s;
Table Create Table
@@ -29269,7 +29269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7592;
show create table s;
Table Create Table
@@ -29277,7 +29277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7591;
show create table s;
Table Create Table
@@ -29285,7 +29285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7590;
show create table s;
Table Create Table
@@ -29293,7 +29293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7589;
show create table s;
Table Create Table
@@ -29301,7 +29301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7588;
show create table s;
Table Create Table
@@ -29309,7 +29309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7587;
show create table s;
Table Create Table
@@ -29317,7 +29317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7586;
show create table s;
Table Create Table
@@ -29325,7 +29325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7585;
show create table s;
Table Create Table
@@ -29333,7 +29333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7584;
show create table s;
Table Create Table
@@ -29341,7 +29341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7583;
show create table s;
Table Create Table
@@ -29349,7 +29349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7582;
show create table s;
Table Create Table
@@ -29357,7 +29357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7581;
show create table s;
Table Create Table
@@ -29365,7 +29365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7580;
show create table s;
Table Create Table
@@ -29373,7 +29373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7579;
show create table s;
Table Create Table
@@ -29381,7 +29381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7578;
show create table s;
Table Create Table
@@ -29389,7 +29389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7577;
show create table s;
Table Create Table
@@ -29397,7 +29397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7576;
show create table s;
Table Create Table
@@ -29405,7 +29405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7575;
show create table s;
Table Create Table
@@ -29413,7 +29413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7574;
show create table s;
Table Create Table
@@ -29421,7 +29421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7573;
show create table s;
Table Create Table
@@ -29429,7 +29429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7572;
show create table s;
Table Create Table
@@ -29437,7 +29437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7571;
show create table s;
Table Create Table
@@ -29445,7 +29445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7570;
show create table s;
Table Create Table
@@ -29453,7 +29453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7569;
show create table s;
Table Create Table
@@ -29461,7 +29461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7568;
show create table s;
Table Create Table
@@ -29469,7 +29469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7567;
show create table s;
Table Create Table
@@ -29477,7 +29477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7566;
show create table s;
Table Create Table
@@ -29485,7 +29485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7565;
show create table s;
Table Create Table
@@ -29493,7 +29493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7564;
show create table s;
Table Create Table
@@ -29501,7 +29501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7563;
show create table s;
Table Create Table
@@ -29509,7 +29509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7562;
show create table s;
Table Create Table
@@ -29517,7 +29517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7561;
show create table s;
Table Create Table
@@ -29525,7 +29525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7560;
show create table s;
Table Create Table
@@ -29533,7 +29533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7559;
show create table s;
Table Create Table
@@ -29541,7 +29541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7558;
show create table s;
Table Create Table
@@ -29549,7 +29549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7557;
show create table s;
Table Create Table
@@ -29557,7 +29557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7556;
show create table s;
Table Create Table
@@ -29565,7 +29565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7555;
show create table s;
Table Create Table
@@ -29573,7 +29573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7554;
show create table s;
Table Create Table
@@ -29581,7 +29581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7553;
show create table s;
Table Create Table
@@ -29589,7 +29589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7552;
show create table s;
Table Create Table
@@ -29597,7 +29597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7551;
show create table s;
Table Create Table
@@ -29605,7 +29605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7550;
show create table s;
Table Create Table
@@ -29613,7 +29613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7549;
show create table s;
Table Create Table
@@ -29621,7 +29621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7548;
show create table s;
Table Create Table
@@ -29629,7 +29629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7547;
show create table s;
Table Create Table
@@ -29637,7 +29637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7546;
show create table s;
Table Create Table
@@ -29645,7 +29645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7545;
show create table s;
Table Create Table
@@ -29653,7 +29653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7544;
show create table s;
Table Create Table
@@ -29661,7 +29661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7543;
show create table s;
Table Create Table
@@ -29669,7 +29669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7542;
show create table s;
Table Create Table
@@ -29677,7 +29677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7541;
show create table s;
Table Create Table
@@ -29685,7 +29685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7540;
show create table s;
Table Create Table
@@ -29693,7 +29693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7539;
show create table s;
Table Create Table
@@ -29701,7 +29701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7538;
show create table s;
Table Create Table
@@ -29709,7 +29709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7537;
show create table s;
Table Create Table
@@ -29717,7 +29717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7536;
show create table s;
Table Create Table
@@ -29725,7 +29725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7535;
show create table s;
Table Create Table
@@ -29733,7 +29733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7534;
show create table s;
Table Create Table
@@ -29741,7 +29741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7533;
show create table s;
Table Create Table
@@ -29749,7 +29749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7532;
show create table s;
Table Create Table
@@ -29757,7 +29757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7531;
show create table s;
Table Create Table
@@ -29765,7 +29765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7530;
show create table s;
Table Create Table
@@ -29773,7 +29773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7529;
show create table s;
Table Create Table
@@ -29781,7 +29781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7528;
show create table s;
Table Create Table
@@ -29789,7 +29789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7527;
show create table s;
Table Create Table
@@ -29797,7 +29797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7526;
show create table s;
Table Create Table
@@ -29805,7 +29805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7525;
show create table s;
Table Create Table
@@ -29813,7 +29813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7524;
show create table s;
Table Create Table
@@ -29821,7 +29821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7523;
show create table s;
Table Create Table
@@ -29829,7 +29829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7522;
show create table s;
Table Create Table
@@ -29837,7 +29837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7521;
show create table s;
Table Create Table
@@ -29845,7 +29845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7520;
show create table s;
Table Create Table
@@ -29853,7 +29853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7519;
show create table s;
Table Create Table
@@ -29861,7 +29861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7518;
show create table s;
Table Create Table
@@ -29869,7 +29869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7517;
show create table s;
Table Create Table
@@ -29877,7 +29877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7516;
show create table s;
Table Create Table
@@ -29885,7 +29885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7515;
show create table s;
Table Create Table
@@ -29893,7 +29893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7514;
show create table s;
Table Create Table
@@ -29901,7 +29901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7513;
show create table s;
Table Create Table
@@ -29909,7 +29909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7512;
show create table s;
Table Create Table
@@ -29917,7 +29917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7511;
show create table s;
Table Create Table
@@ -29925,7 +29925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7510;
show create table s;
Table Create Table
@@ -29933,7 +29933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7509;
show create table s;
Table Create Table
@@ -29941,7 +29941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7508;
show create table s;
Table Create Table
@@ -29949,7 +29949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7507;
show create table s;
Table Create Table
@@ -29957,7 +29957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7506;
show create table s;
Table Create Table
@@ -29965,7 +29965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7505;
show create table s;
Table Create Table
@@ -29973,7 +29973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7504;
show create table s;
Table Create Table
@@ -29981,7 +29981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7503;
show create table s;
Table Create Table
@@ -29989,7 +29989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7502;
show create table s;
Table Create Table
@@ -29997,7 +29997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7501;
show create table s;
Table Create Table
@@ -30005,7 +30005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7500;
show create table s;
Table Create Table
@@ -30013,7 +30013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7499;
show create table s;
Table Create Table
@@ -30021,7 +30021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7498;
show create table s;
Table Create Table
@@ -30029,7 +30029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7497;
show create table s;
Table Create Table
@@ -30037,7 +30037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7496;
show create table s;
Table Create Table
@@ -30045,7 +30045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7495;
show create table s;
Table Create Table
@@ -30053,7 +30053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7494;
show create table s;
Table Create Table
@@ -30061,7 +30061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7493;
show create table s;
Table Create Table
@@ -30069,7 +30069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7492;
show create table s;
Table Create Table
@@ -30077,7 +30077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7491;
show create table s;
Table Create Table
@@ -30085,7 +30085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7490;
show create table s;
Table Create Table
@@ -30093,7 +30093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7489;
show create table s;
Table Create Table
@@ -30101,7 +30101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7488;
show create table s;
Table Create Table
@@ -30109,7 +30109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7487;
show create table s;
Table Create Table
@@ -30117,7 +30117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7486;
show create table s;
Table Create Table
@@ -30125,7 +30125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7485;
show create table s;
Table Create Table
@@ -30133,7 +30133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7484;
show create table s;
Table Create Table
@@ -30141,7 +30141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7483;
show create table s;
Table Create Table
@@ -30149,7 +30149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7482;
show create table s;
Table Create Table
@@ -30157,7 +30157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7481;
show create table s;
Table Create Table
@@ -30165,7 +30165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7480;
show create table s;
Table Create Table
@@ -30173,7 +30173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7479;
show create table s;
Table Create Table
@@ -30181,7 +30181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7478;
show create table s;
Table Create Table
@@ -30189,7 +30189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7477;
show create table s;
Table Create Table
@@ -30197,7 +30197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7476;
show create table s;
Table Create Table
@@ -30205,7 +30205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7475;
show create table s;
Table Create Table
@@ -30213,7 +30213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7474;
show create table s;
Table Create Table
@@ -30221,7 +30221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7473;
show create table s;
Table Create Table
@@ -30229,7 +30229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7472;
show create table s;
Table Create Table
@@ -30237,7 +30237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7471;
show create table s;
Table Create Table
@@ -30245,7 +30245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7470;
show create table s;
Table Create Table
@@ -30253,7 +30253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7469;
show create table s;
Table Create Table
@@ -30261,7 +30261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7468;
show create table s;
Table Create Table
@@ -30269,7 +30269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7467;
show create table s;
Table Create Table
@@ -30277,7 +30277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7466;
show create table s;
Table Create Table
@@ -30285,7 +30285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7465;
show create table s;
Table Create Table
@@ -30293,7 +30293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7464;
show create table s;
Table Create Table
@@ -30301,7 +30301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7463;
show create table s;
Table Create Table
@@ -30309,7 +30309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7462;
show create table s;
Table Create Table
@@ -30317,7 +30317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7461;
show create table s;
Table Create Table
@@ -30325,7 +30325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7460;
show create table s;
Table Create Table
@@ -30333,7 +30333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7459;
show create table s;
Table Create Table
@@ -30341,7 +30341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7458;
show create table s;
Table Create Table
@@ -30349,7 +30349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7457;
show create table s;
Table Create Table
@@ -30357,7 +30357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7456;
show create table s;
Table Create Table
@@ -30365,7 +30365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7455;
show create table s;
Table Create Table
@@ -30373,7 +30373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7454;
show create table s;
Table Create Table
@@ -30381,7 +30381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7453;
show create table s;
Table Create Table
@@ -30389,7 +30389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7452;
show create table s;
Table Create Table
@@ -30397,7 +30397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7451;
show create table s;
Table Create Table
@@ -30405,7 +30405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7450;
show create table s;
Table Create Table
@@ -30413,7 +30413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7449;
show create table s;
Table Create Table
@@ -30421,7 +30421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7448;
show create table s;
Table Create Table
@@ -30429,7 +30429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7447;
show create table s;
Table Create Table
@@ -30437,7 +30437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7446;
show create table s;
Table Create Table
@@ -30445,7 +30445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7445;
show create table s;
Table Create Table
@@ -30453,7 +30453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7444;
show create table s;
Table Create Table
@@ -30461,7 +30461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7443;
show create table s;
Table Create Table
@@ -30469,7 +30469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7442;
show create table s;
Table Create Table
@@ -30477,7 +30477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7441;
show create table s;
Table Create Table
@@ -30485,7 +30485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7440;
show create table s;
Table Create Table
@@ -30493,7 +30493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7439;
show create table s;
Table Create Table
@@ -30501,7 +30501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7438;
show create table s;
Table Create Table
@@ -30509,7 +30509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7437;
show create table s;
Table Create Table
@@ -30517,7 +30517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7436;
show create table s;
Table Create Table
@@ -30525,7 +30525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7435;
show create table s;
Table Create Table
@@ -30533,7 +30533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7434;
show create table s;
Table Create Table
@@ -30541,7 +30541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7433;
show create table s;
Table Create Table
@@ -30549,7 +30549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7432;
show create table s;
Table Create Table
@@ -30557,7 +30557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7431;
show create table s;
Table Create Table
@@ -30565,7 +30565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7430;
show create table s;
Table Create Table
@@ -30573,7 +30573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7429;
show create table s;
Table Create Table
@@ -30581,7 +30581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7428;
show create table s;
Table Create Table
@@ -30589,7 +30589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7427;
show create table s;
Table Create Table
@@ -30597,7 +30597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7426;
show create table s;
Table Create Table
@@ -30605,7 +30605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7425;
show create table s;
Table Create Table
@@ -30613,7 +30613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7424;
show create table s;
Table Create Table
@@ -30621,7 +30621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7423;
show create table s;
Table Create Table
@@ -30629,7 +30629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7422;
show create table s;
Table Create Table
@@ -30637,7 +30637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7421;
show create table s;
Table Create Table
@@ -30645,7 +30645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7420;
show create table s;
Table Create Table
@@ -30653,7 +30653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7419;
show create table s;
Table Create Table
@@ -30661,7 +30661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7418;
show create table s;
Table Create Table
@@ -30669,7 +30669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7417;
show create table s;
Table Create Table
@@ -30677,7 +30677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7416;
show create table s;
Table Create Table
@@ -30685,7 +30685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7415;
show create table s;
Table Create Table
@@ -30693,7 +30693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7414;
show create table s;
Table Create Table
@@ -30701,7 +30701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7413;
show create table s;
Table Create Table
@@ -30709,7 +30709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7412;
show create table s;
Table Create Table
@@ -30717,7 +30717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7411;
show create table s;
Table Create Table
@@ -30725,7 +30725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7410;
show create table s;
Table Create Table
@@ -30733,7 +30733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7409;
show create table s;
Table Create Table
@@ -30741,7 +30741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7408;
show create table s;
Table Create Table
@@ -30749,7 +30749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7407;
show create table s;
Table Create Table
@@ -30757,7 +30757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7406;
show create table s;
Table Create Table
@@ -30765,7 +30765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7405;
show create table s;
Table Create Table
@@ -30773,7 +30773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7404;
show create table s;
Table Create Table
@@ -30781,7 +30781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7403;
show create table s;
Table Create Table
@@ -30789,7 +30789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7402;
show create table s;
Table Create Table
@@ -30797,7 +30797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7401;
show create table s;
Table Create Table
@@ -30805,7 +30805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7400;
show create table s;
Table Create Table
@@ -30813,7 +30813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7399;
show create table s;
Table Create Table
@@ -30821,7 +30821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7398;
show create table s;
Table Create Table
@@ -30829,7 +30829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7397;
show create table s;
Table Create Table
@@ -30837,7 +30837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7396;
show create table s;
Table Create Table
@@ -30845,7 +30845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7395;
show create table s;
Table Create Table
@@ -30853,7 +30853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7394;
show create table s;
Table Create Table
@@ -30861,7 +30861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7393;
show create table s;
Table Create Table
@@ -30869,7 +30869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7392;
show create table s;
Table Create Table
@@ -30877,7 +30877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7391;
show create table s;
Table Create Table
@@ -30885,7 +30885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7390;
show create table s;
Table Create Table
@@ -30893,7 +30893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7389;
show create table s;
Table Create Table
@@ -30901,7 +30901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7388;
show create table s;
Table Create Table
@@ -30909,7 +30909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7387;
show create table s;
Table Create Table
@@ -30917,7 +30917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7386;
show create table s;
Table Create Table
@@ -30925,7 +30925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7385;
show create table s;
Table Create Table
@@ -30933,7 +30933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7384;
show create table s;
Table Create Table
@@ -30941,7 +30941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7383;
show create table s;
Table Create Table
@@ -30949,7 +30949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7382;
show create table s;
Table Create Table
@@ -30957,7 +30957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7381;
show create table s;
Table Create Table
@@ -30965,7 +30965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7380;
show create table s;
Table Create Table
@@ -30973,7 +30973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7379;
show create table s;
Table Create Table
@@ -30981,7 +30981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7378;
show create table s;
Table Create Table
@@ -30989,7 +30989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7377;
show create table s;
Table Create Table
@@ -30997,7 +30997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7376;
show create table s;
Table Create Table
@@ -31005,7 +31005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7375;
show create table s;
Table Create Table
@@ -31013,7 +31013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7374;
show create table s;
Table Create Table
@@ -31021,7 +31021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7373;
show create table s;
Table Create Table
@@ -31029,7 +31029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7372;
show create table s;
Table Create Table
@@ -31037,7 +31037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7371;
show create table s;
Table Create Table
@@ -31045,7 +31045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7370;
show create table s;
Table Create Table
@@ -31053,7 +31053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7369;
show create table s;
Table Create Table
@@ -31061,7 +31061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7368;
show create table s;
Table Create Table
@@ -31069,7 +31069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7367;
show create table s;
Table Create Table
@@ -31077,7 +31077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7366;
show create table s;
Table Create Table
@@ -31085,7 +31085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7365;
show create table s;
Table Create Table
@@ -31093,7 +31093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7364;
show create table s;
Table Create Table
@@ -31101,7 +31101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7363;
show create table s;
Table Create Table
@@ -31109,7 +31109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7362;
show create table s;
Table Create Table
@@ -31117,7 +31117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7361;
show create table s;
Table Create Table
@@ -31125,7 +31125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7360;
show create table s;
Table Create Table
@@ -31133,7 +31133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7359;
show create table s;
Table Create Table
@@ -31141,7 +31141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7358;
show create table s;
Table Create Table
@@ -31149,7 +31149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7357;
show create table s;
Table Create Table
@@ -31157,7 +31157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7356;
show create table s;
Table Create Table
@@ -31165,7 +31165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7355;
show create table s;
Table Create Table
@@ -31173,7 +31173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7354;
show create table s;
Table Create Table
@@ -31181,7 +31181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7353;
show create table s;
Table Create Table
@@ -31189,7 +31189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7352;
show create table s;
Table Create Table
@@ -31197,7 +31197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7351;
show create table s;
Table Create Table
@@ -31205,7 +31205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7350;
show create table s;
Table Create Table
@@ -31213,7 +31213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7349;
show create table s;
Table Create Table
@@ -31221,7 +31221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7348;
show create table s;
Table Create Table
@@ -31229,7 +31229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7347;
show create table s;
Table Create Table
@@ -31237,7 +31237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7346;
show create table s;
Table Create Table
@@ -31245,7 +31245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7345;
show create table s;
Table Create Table
@@ -31253,7 +31253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7344;
show create table s;
Table Create Table
@@ -31261,7 +31261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7343;
show create table s;
Table Create Table
@@ -31269,7 +31269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7342;
show create table s;
Table Create Table
@@ -31277,7 +31277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7341;
show create table s;
Table Create Table
@@ -31285,7 +31285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7340;
show create table s;
Table Create Table
@@ -31293,7 +31293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7339;
show create table s;
Table Create Table
@@ -31301,7 +31301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7338;
show create table s;
Table Create Table
@@ -31309,7 +31309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7337;
show create table s;
Table Create Table
@@ -31317,7 +31317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7336;
show create table s;
Table Create Table
@@ -31325,7 +31325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7335;
show create table s;
Table Create Table
@@ -31333,7 +31333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7334;
show create table s;
Table Create Table
@@ -31341,7 +31341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7333;
show create table s;
Table Create Table
@@ -31349,7 +31349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7332;
show create table s;
Table Create Table
@@ -31357,7 +31357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7331;
show create table s;
Table Create Table
@@ -31365,7 +31365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7330;
show create table s;
Table Create Table
@@ -31373,7 +31373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7329;
show create table s;
Table Create Table
@@ -31381,7 +31381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7328;
show create table s;
Table Create Table
@@ -31389,7 +31389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7327;
show create table s;
Table Create Table
@@ -31397,7 +31397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7326;
show create table s;
Table Create Table
@@ -31405,7 +31405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7325;
show create table s;
Table Create Table
@@ -31413,7 +31413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7324;
show create table s;
Table Create Table
@@ -31421,7 +31421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7323;
show create table s;
Table Create Table
@@ -31429,7 +31429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7322;
show create table s;
Table Create Table
@@ -31437,7 +31437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7321;
show create table s;
Table Create Table
@@ -31445,7 +31445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7320;
show create table s;
Table Create Table
@@ -31453,7 +31453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7319;
show create table s;
Table Create Table
@@ -31461,7 +31461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7318;
show create table s;
Table Create Table
@@ -31469,7 +31469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7317;
show create table s;
Table Create Table
@@ -31477,7 +31477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7316;
show create table s;
Table Create Table
@@ -31485,7 +31485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7315;
show create table s;
Table Create Table
@@ -31493,7 +31493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7314;
show create table s;
Table Create Table
@@ -31501,7 +31501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7313;
show create table s;
Table Create Table
@@ -31509,7 +31509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7312;
show create table s;
Table Create Table
@@ -31517,7 +31517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7311;
show create table s;
Table Create Table
@@ -31525,7 +31525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7310;
show create table s;
Table Create Table
@@ -31533,7 +31533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7309;
show create table s;
Table Create Table
@@ -31541,7 +31541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7308;
show create table s;
Table Create Table
@@ -31549,7 +31549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7307;
show create table s;
Table Create Table
@@ -31557,7 +31557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7306;
show create table s;
Table Create Table
@@ -31565,7 +31565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7305;
show create table s;
Table Create Table
@@ -31573,7 +31573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7304;
show create table s;
Table Create Table
@@ -31581,7 +31581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7303;
show create table s;
Table Create Table
@@ -31589,7 +31589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7302;
show create table s;
Table Create Table
@@ -31597,7 +31597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7301;
show create table s;
Table Create Table
@@ -31605,7 +31605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7300;
show create table s;
Table Create Table
@@ -31613,7 +31613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7299;
show create table s;
Table Create Table
@@ -31621,7 +31621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7298;
show create table s;
Table Create Table
@@ -31629,7 +31629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7297;
show create table s;
Table Create Table
@@ -31637,7 +31637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7296;
show create table s;
Table Create Table
@@ -31645,7 +31645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7295;
show create table s;
Table Create Table
@@ -31653,7 +31653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7294;
show create table s;
Table Create Table
@@ -31661,7 +31661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7293;
show create table s;
Table Create Table
@@ -31669,7 +31669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7292;
show create table s;
Table Create Table
@@ -31677,7 +31677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7291;
show create table s;
Table Create Table
@@ -31685,7 +31685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7290;
show create table s;
Table Create Table
@@ -31693,7 +31693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7289;
show create table s;
Table Create Table
@@ -31701,7 +31701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7288;
show create table s;
Table Create Table
@@ -31709,7 +31709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7287;
show create table s;
Table Create Table
@@ -31717,7 +31717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7286;
show create table s;
Table Create Table
@@ -31725,7 +31725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7285;
show create table s;
Table Create Table
@@ -31733,7 +31733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7284;
show create table s;
Table Create Table
@@ -31741,7 +31741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7283;
show create table s;
Table Create Table
@@ -31749,7 +31749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7282;
show create table s;
Table Create Table
@@ -31757,7 +31757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7281;
show create table s;
Table Create Table
@@ -31765,7 +31765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7280;
show create table s;
Table Create Table
@@ -31773,7 +31773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7279;
show create table s;
Table Create Table
@@ -31781,7 +31781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7278;
show create table s;
Table Create Table
@@ -31789,7 +31789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7277;
show create table s;
Table Create Table
@@ -31797,7 +31797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7276;
show create table s;
Table Create Table
@@ -31805,7 +31805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7275;
show create table s;
Table Create Table
@@ -31813,7 +31813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7274;
show create table s;
Table Create Table
@@ -31821,7 +31821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7273;
show create table s;
Table Create Table
@@ -31829,7 +31829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7272;
show create table s;
Table Create Table
@@ -31837,7 +31837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7271;
show create table s;
Table Create Table
@@ -31845,7 +31845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7270;
show create table s;
Table Create Table
@@ -31853,7 +31853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7269;
show create table s;
Table Create Table
@@ -31861,7 +31861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7268;
show create table s;
Table Create Table
@@ -31869,7 +31869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7267;
show create table s;
Table Create Table
@@ -31877,7 +31877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7266;
show create table s;
Table Create Table
@@ -31885,7 +31885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7265;
show create table s;
Table Create Table
@@ -31893,7 +31893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7264;
show create table s;
Table Create Table
@@ -31901,7 +31901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7263;
show create table s;
Table Create Table
@@ -31909,7 +31909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7262;
show create table s;
Table Create Table
@@ -31917,7 +31917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7261;
show create table s;
Table Create Table
@@ -31925,7 +31925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7260;
show create table s;
Table Create Table
@@ -31933,7 +31933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7259;
show create table s;
Table Create Table
@@ -31941,7 +31941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7258;
show create table s;
Table Create Table
@@ -31949,7 +31949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7257;
show create table s;
Table Create Table
@@ -31957,7 +31957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7256;
show create table s;
Table Create Table
@@ -31965,7 +31965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7255;
show create table s;
Table Create Table
@@ -31973,7 +31973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7254;
show create table s;
Table Create Table
@@ -31981,7 +31981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7253;
show create table s;
Table Create Table
@@ -31989,7 +31989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7252;
show create table s;
Table Create Table
@@ -31997,7 +31997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7251;
show create table s;
Table Create Table
@@ -32005,7 +32005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7250;
show create table s;
Table Create Table
@@ -32013,7 +32013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7249;
show create table s;
Table Create Table
@@ -32021,7 +32021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7248;
show create table s;
Table Create Table
@@ -32029,7 +32029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7247;
show create table s;
Table Create Table
@@ -32037,7 +32037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7246;
show create table s;
Table Create Table
@@ -32045,7 +32045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7245;
show create table s;
Table Create Table
@@ -32053,7 +32053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7244;
show create table s;
Table Create Table
@@ -32061,7 +32061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7243;
show create table s;
Table Create Table
@@ -32069,7 +32069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7242;
show create table s;
Table Create Table
@@ -32077,7 +32077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7241;
show create table s;
Table Create Table
@@ -32085,7 +32085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7240;
show create table s;
Table Create Table
@@ -32093,7 +32093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7239;
show create table s;
Table Create Table
@@ -32101,7 +32101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7238;
show create table s;
Table Create Table
@@ -32109,7 +32109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7237;
show create table s;
Table Create Table
@@ -32117,7 +32117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7236;
show create table s;
Table Create Table
@@ -32125,7 +32125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7235;
show create table s;
Table Create Table
@@ -32133,7 +32133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7234;
show create table s;
Table Create Table
@@ -32141,7 +32141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7233;
show create table s;
Table Create Table
@@ -32149,7 +32149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7232;
show create table s;
Table Create Table
@@ -32157,7 +32157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7231;
show create table s;
Table Create Table
@@ -32165,7 +32165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7230;
show create table s;
Table Create Table
@@ -32173,7 +32173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7229;
show create table s;
Table Create Table
@@ -32181,7 +32181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7228;
show create table s;
Table Create Table
@@ -32189,7 +32189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7227;
show create table s;
Table Create Table
@@ -32197,7 +32197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7226;
show create table s;
Table Create Table
@@ -32205,7 +32205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7225;
show create table s;
Table Create Table
@@ -32213,7 +32213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7224;
show create table s;
Table Create Table
@@ -32221,7 +32221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7223;
show create table s;
Table Create Table
@@ -32229,7 +32229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7222;
show create table s;
Table Create Table
@@ -32237,7 +32237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7221;
show create table s;
Table Create Table
@@ -32245,7 +32245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7220;
show create table s;
Table Create Table
@@ -32253,7 +32253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7219;
show create table s;
Table Create Table
@@ -32261,7 +32261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7218;
show create table s;
Table Create Table
@@ -32269,7 +32269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7217;
show create table s;
Table Create Table
@@ -32277,7 +32277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7216;
show create table s;
Table Create Table
@@ -32285,7 +32285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7215;
show create table s;
Table Create Table
@@ -32293,7 +32293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7214;
show create table s;
Table Create Table
@@ -32301,7 +32301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7213;
show create table s;
Table Create Table
@@ -32309,7 +32309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7212;
show create table s;
Table Create Table
@@ -32317,7 +32317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7211;
show create table s;
Table Create Table
@@ -32325,7 +32325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7210;
show create table s;
Table Create Table
@@ -32333,7 +32333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7209;
show create table s;
Table Create Table
@@ -32341,7 +32341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7208;
show create table s;
Table Create Table
@@ -32349,7 +32349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7207;
show create table s;
Table Create Table
@@ -32357,7 +32357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7206;
show create table s;
Table Create Table
@@ -32365,7 +32365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7205;
show create table s;
Table Create Table
@@ -32373,7 +32373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7204;
show create table s;
Table Create Table
@@ -32381,7 +32381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7203;
show create table s;
Table Create Table
@@ -32389,7 +32389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7202;
show create table s;
Table Create Table
@@ -32397,7 +32397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7201;
show create table s;
Table Create Table
@@ -32405,7 +32405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7200;
show create table s;
Table Create Table
@@ -32413,7 +32413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7199;
show create table s;
Table Create Table
@@ -32421,7 +32421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7198;
show create table s;
Table Create Table
@@ -32429,7 +32429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7197;
show create table s;
Table Create Table
@@ -32437,7 +32437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7196;
show create table s;
Table Create Table
@@ -32445,7 +32445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7195;
show create table s;
Table Create Table
@@ -32453,7 +32453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7194;
show create table s;
Table Create Table
@@ -32461,7 +32461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7193;
show create table s;
Table Create Table
@@ -32469,7 +32469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7192;
show create table s;
Table Create Table
@@ -32477,7 +32477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7191;
show create table s;
Table Create Table
@@ -32485,7 +32485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7190;
show create table s;
Table Create Table
@@ -32493,7 +32493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7189;
show create table s;
Table Create Table
@@ -32501,7 +32501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7188;
show create table s;
Table Create Table
@@ -32509,7 +32509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7187;
show create table s;
Table Create Table
@@ -32517,7 +32517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7186;
show create table s;
Table Create Table
@@ -32525,7 +32525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7185;
show create table s;
Table Create Table
@@ -32533,7 +32533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7184;
show create table s;
Table Create Table
@@ -32541,7 +32541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7183;
show create table s;
Table Create Table
@@ -32549,7 +32549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7182;
show create table s;
Table Create Table
@@ -32557,7 +32557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7181;
show create table s;
Table Create Table
@@ -32565,7 +32565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7180;
show create table s;
Table Create Table
@@ -32573,7 +32573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7179;
show create table s;
Table Create Table
@@ -32581,7 +32581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7178;
show create table s;
Table Create Table
@@ -32589,7 +32589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7177;
show create table s;
Table Create Table
@@ -32597,7 +32597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7176;
show create table s;
Table Create Table
@@ -32605,7 +32605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7175;
show create table s;
Table Create Table
@@ -32613,7 +32613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7174;
show create table s;
Table Create Table
@@ -32621,7 +32621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7173;
show create table s;
Table Create Table
@@ -32629,7 +32629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7172;
show create table s;
Table Create Table
@@ -32637,7 +32637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7171;
show create table s;
Table Create Table
@@ -32645,7 +32645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7170;
show create table s;
Table Create Table
@@ -32653,7 +32653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7169;
show create table s;
Table Create Table
@@ -32661,7 +32661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7168;
show create table s;
Table Create Table
@@ -32669,7 +32669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7167;
show create table s;
Table Create Table
@@ -32677,7 +32677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7166;
show create table s;
Table Create Table
@@ -32685,7 +32685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7165;
show create table s;
Table Create Table
@@ -32693,7 +32693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7164;
show create table s;
Table Create Table
@@ -32701,7 +32701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7163;
show create table s;
Table Create Table
@@ -32709,7 +32709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7162;
show create table s;
Table Create Table
@@ -32717,7 +32717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7161;
show create table s;
Table Create Table
@@ -32725,7 +32725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7160;
show create table s;
Table Create Table
@@ -32733,7 +32733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7159;
show create table s;
Table Create Table
@@ -32741,7 +32741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7158;
show create table s;
Table Create Table
@@ -32749,7 +32749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7157;
show create table s;
Table Create Table
@@ -32757,7 +32757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7156;
show create table s;
Table Create Table
@@ -32765,7 +32765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7155;
show create table s;
Table Create Table
@@ -32773,7 +32773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7154;
show create table s;
Table Create Table
@@ -32781,7 +32781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7153;
show create table s;
Table Create Table
@@ -32789,7 +32789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7152;
show create table s;
Table Create Table
@@ -32797,7 +32797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7151;
show create table s;
Table Create Table
@@ -32805,7 +32805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7150;
show create table s;
Table Create Table
@@ -32813,7 +32813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7149;
show create table s;
Table Create Table
@@ -32821,7 +32821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7148;
show create table s;
Table Create Table
@@ -32829,7 +32829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7147;
show create table s;
Table Create Table
@@ -32837,7 +32837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7146;
show create table s;
Table Create Table
@@ -32845,7 +32845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7145;
show create table s;
Table Create Table
@@ -32853,7 +32853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7144;
show create table s;
Table Create Table
@@ -32861,7 +32861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7143;
show create table s;
Table Create Table
@@ -32869,7 +32869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7142;
show create table s;
Table Create Table
@@ -32877,7 +32877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7141;
show create table s;
Table Create Table
@@ -32885,7 +32885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7140;
show create table s;
Table Create Table
@@ -32893,7 +32893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7139;
show create table s;
Table Create Table
@@ -32901,7 +32901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7138;
show create table s;
Table Create Table
@@ -32909,7 +32909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7137;
show create table s;
Table Create Table
@@ -32917,7 +32917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7136;
show create table s;
Table Create Table
@@ -32925,7 +32925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7135;
show create table s;
Table Create Table
@@ -32933,7 +32933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7134;
show create table s;
Table Create Table
@@ -32941,7 +32941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7133;
show create table s;
Table Create Table
@@ -32949,7 +32949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7132;
show create table s;
Table Create Table
@@ -32957,7 +32957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7131;
show create table s;
Table Create Table
@@ -32965,7 +32965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7130;
show create table s;
Table Create Table
@@ -32973,7 +32973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7129;
show create table s;
Table Create Table
@@ -32981,7 +32981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7128;
show create table s;
Table Create Table
@@ -32989,7 +32989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7127;
show create table s;
Table Create Table
@@ -32997,7 +32997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7126;
show create table s;
Table Create Table
@@ -33005,7 +33005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7125;
show create table s;
Table Create Table
@@ -33013,7 +33013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7124;
show create table s;
Table Create Table
@@ -33021,7 +33021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7123;
show create table s;
Table Create Table
@@ -33029,7 +33029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7122;
show create table s;
Table Create Table
@@ -33037,7 +33037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7121;
show create table s;
Table Create Table
@@ -33045,7 +33045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7120;
show create table s;
Table Create Table
@@ -33053,7 +33053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7119;
show create table s;
Table Create Table
@@ -33061,7 +33061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7118;
show create table s;
Table Create Table
@@ -33069,7 +33069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7117;
show create table s;
Table Create Table
@@ -33077,7 +33077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7116;
show create table s;
Table Create Table
@@ -33085,7 +33085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7115;
show create table s;
Table Create Table
@@ -33093,7 +33093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7114;
show create table s;
Table Create Table
@@ -33101,7 +33101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7113;
show create table s;
Table Create Table
@@ -33109,7 +33109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7112;
show create table s;
Table Create Table
@@ -33117,7 +33117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7111;
show create table s;
Table Create Table
@@ -33125,7 +33125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7110;
show create table s;
Table Create Table
@@ -33133,7 +33133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7109;
show create table s;
Table Create Table
@@ -33141,7 +33141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7108;
show create table s;
Table Create Table
@@ -33149,7 +33149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7107;
show create table s;
Table Create Table
@@ -33157,7 +33157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7106;
show create table s;
Table Create Table
@@ -33165,7 +33165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7105;
show create table s;
Table Create Table
@@ -33173,7 +33173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7104;
show create table s;
Table Create Table
@@ -33181,7 +33181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7103;
show create table s;
Table Create Table
@@ -33189,7 +33189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7102;
show create table s;
Table Create Table
@@ -33197,7 +33197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7101;
show create table s;
Table Create Table
@@ -33205,7 +33205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7100;
show create table s;
Table Create Table
@@ -33213,7 +33213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7099;
show create table s;
Table Create Table
@@ -33221,7 +33221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7098;
show create table s;
Table Create Table
@@ -33229,7 +33229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7097;
show create table s;
Table Create Table
@@ -33237,7 +33237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7096;
show create table s;
Table Create Table
@@ -33245,7 +33245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7095;
show create table s;
Table Create Table
@@ -33253,7 +33253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7094;
show create table s;
Table Create Table
@@ -33261,7 +33261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7093;
show create table s;
Table Create Table
@@ -33269,7 +33269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7092;
show create table s;
Table Create Table
@@ -33277,7 +33277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7091;
show create table s;
Table Create Table
@@ -33285,7 +33285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7090;
show create table s;
Table Create Table
@@ -33293,7 +33293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7089;
show create table s;
Table Create Table
@@ -33301,7 +33301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7088;
show create table s;
Table Create Table
@@ -33309,7 +33309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7087;
show create table s;
Table Create Table
@@ -33317,7 +33317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7086;
show create table s;
Table Create Table
@@ -33325,7 +33325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7085;
show create table s;
Table Create Table
@@ -33333,7 +33333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7084;
show create table s;
Table Create Table
@@ -33341,7 +33341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7083;
show create table s;
Table Create Table
@@ -33349,7 +33349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7082;
show create table s;
Table Create Table
@@ -33357,7 +33357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7081;
show create table s;
Table Create Table
@@ -33365,7 +33365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7080;
show create table s;
Table Create Table
@@ -33373,7 +33373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7079;
show create table s;
Table Create Table
@@ -33381,7 +33381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7078;
show create table s;
Table Create Table
@@ -33389,7 +33389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7077;
show create table s;
Table Create Table
@@ -33397,7 +33397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7076;
show create table s;
Table Create Table
@@ -33405,7 +33405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7075;
show create table s;
Table Create Table
@@ -33413,7 +33413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7074;
show create table s;
Table Create Table
@@ -33421,7 +33421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7073;
show create table s;
Table Create Table
@@ -33429,7 +33429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7072;
show create table s;
Table Create Table
@@ -33437,7 +33437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7071;
show create table s;
Table Create Table
@@ -33445,7 +33445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7070;
show create table s;
Table Create Table
@@ -33453,7 +33453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7069;
show create table s;
Table Create Table
@@ -33461,7 +33461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7068;
show create table s;
Table Create Table
@@ -33469,7 +33469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7067;
show create table s;
Table Create Table
@@ -33477,7 +33477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7066;
show create table s;
Table Create Table
@@ -33485,7 +33485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7065;
show create table s;
Table Create Table
@@ -33493,7 +33493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7064;
show create table s;
Table Create Table
@@ -33501,7 +33501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7063;
show create table s;
Table Create Table
@@ -33509,7 +33509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7062;
show create table s;
Table Create Table
@@ -33517,7 +33517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7061;
show create table s;
Table Create Table
@@ -33525,7 +33525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7060;
show create table s;
Table Create Table
@@ -33533,7 +33533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7059;
show create table s;
Table Create Table
@@ -33541,7 +33541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7058;
show create table s;
Table Create Table
@@ -33549,7 +33549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7057;
show create table s;
Table Create Table
@@ -33557,7 +33557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7056;
show create table s;
Table Create Table
@@ -33565,7 +33565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7055;
show create table s;
Table Create Table
@@ -33573,7 +33573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7054;
show create table s;
Table Create Table
@@ -33581,7 +33581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7053;
show create table s;
Table Create Table
@@ -33589,7 +33589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7052;
show create table s;
Table Create Table
@@ -33597,7 +33597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7051;
show create table s;
Table Create Table
@@ -33605,7 +33605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7050;
show create table s;
Table Create Table
@@ -33613,7 +33613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7049;
show create table s;
Table Create Table
@@ -33621,7 +33621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7048;
show create table s;
Table Create Table
@@ -33629,7 +33629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7047;
show create table s;
Table Create Table
@@ -33637,7 +33637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7046;
show create table s;
Table Create Table
@@ -33645,7 +33645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7045;
show create table s;
Table Create Table
@@ -33653,7 +33653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7044;
show create table s;
Table Create Table
@@ -33661,7 +33661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7043;
show create table s;
Table Create Table
@@ -33669,7 +33669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7042;
show create table s;
Table Create Table
@@ -33677,7 +33677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7041;
show create table s;
Table Create Table
@@ -33685,7 +33685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7040;
show create table s;
Table Create Table
@@ -33693,7 +33693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7039;
show create table s;
Table Create Table
@@ -33701,7 +33701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7038;
show create table s;
Table Create Table
@@ -33709,7 +33709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7037;
show create table s;
Table Create Table
@@ -33717,7 +33717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7036;
show create table s;
Table Create Table
@@ -33725,7 +33725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7035;
show create table s;
Table Create Table
@@ -33733,7 +33733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7034;
show create table s;
Table Create Table
@@ -33741,7 +33741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7033;
show create table s;
Table Create Table
@@ -33749,7 +33749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7032;
show create table s;
Table Create Table
@@ -33757,7 +33757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7031;
show create table s;
Table Create Table
@@ -33765,7 +33765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7030;
show create table s;
Table Create Table
@@ -33773,7 +33773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7029;
show create table s;
Table Create Table
@@ -33781,7 +33781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7028;
show create table s;
Table Create Table
@@ -33789,7 +33789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7027;
show create table s;
Table Create Table
@@ -33797,7 +33797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7026;
show create table s;
Table Create Table
@@ -33805,7 +33805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7025;
show create table s;
Table Create Table
@@ -33813,7 +33813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7024;
show create table s;
Table Create Table
@@ -33821,7 +33821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7023;
show create table s;
Table Create Table
@@ -33829,7 +33829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7022;
show create table s;
Table Create Table
@@ -33837,7 +33837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7021;
show create table s;
Table Create Table
@@ -33845,7 +33845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7020;
show create table s;
Table Create Table
@@ -33853,7 +33853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7019;
show create table s;
Table Create Table
@@ -33861,7 +33861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7018;
show create table s;
Table Create Table
@@ -33869,7 +33869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7017;
show create table s;
Table Create Table
@@ -33877,7 +33877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7016;
show create table s;
Table Create Table
@@ -33885,7 +33885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7015;
show create table s;
Table Create Table
@@ -33893,7 +33893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7014;
show create table s;
Table Create Table
@@ -33901,7 +33901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7013;
show create table s;
Table Create Table
@@ -33909,7 +33909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7012;
show create table s;
Table Create Table
@@ -33917,7 +33917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7011;
show create table s;
Table Create Table
@@ -33925,7 +33925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7010;
show create table s;
Table Create Table
@@ -33933,7 +33933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7009;
show create table s;
Table Create Table
@@ -33941,7 +33941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7008;
show create table s;
Table Create Table
@@ -33949,7 +33949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7007;
show create table s;
Table Create Table
@@ -33957,7 +33957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7006;
show create table s;
Table Create Table
@@ -33965,7 +33965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7005;
show create table s;
Table Create Table
@@ -33973,7 +33973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7004;
show create table s;
Table Create Table
@@ -33981,7 +33981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7003;
show create table s;
Table Create Table
@@ -33989,7 +33989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7002;
show create table s;
Table Create Table
@@ -33997,7 +33997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7001;
show create table s;
Table Create Table
@@ -34005,7 +34005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7000;
show create table s;
Table Create Table
@@ -34013,7 +34013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6999;
show create table s;
Table Create Table
@@ -34021,7 +34021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6998;
show create table s;
Table Create Table
@@ -34029,7 +34029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6997;
show create table s;
Table Create Table
@@ -34037,7 +34037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6996;
show create table s;
Table Create Table
@@ -34045,7 +34045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6995;
show create table s;
Table Create Table
@@ -34053,7 +34053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6994;
show create table s;
Table Create Table
@@ -34061,7 +34061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6993;
show create table s;
Table Create Table
@@ -34069,7 +34069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6992;
show create table s;
Table Create Table
@@ -34077,7 +34077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6991;
show create table s;
Table Create Table
@@ -34085,7 +34085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6990;
show create table s;
Table Create Table
@@ -34093,7 +34093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6989;
show create table s;
Table Create Table
@@ -34101,7 +34101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6988;
show create table s;
Table Create Table
@@ -34109,7 +34109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6987;
show create table s;
Table Create Table
@@ -34117,7 +34117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6986;
show create table s;
Table Create Table
@@ -34125,7 +34125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6985;
show create table s;
Table Create Table
@@ -34133,7 +34133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6984;
show create table s;
Table Create Table
@@ -34141,7 +34141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6983;
show create table s;
Table Create Table
@@ -34149,7 +34149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6982;
show create table s;
Table Create Table
@@ -34157,7 +34157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6981;
show create table s;
Table Create Table
@@ -34165,7 +34165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6980;
show create table s;
Table Create Table
@@ -34173,7 +34173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6979;
show create table s;
Table Create Table
@@ -34181,7 +34181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6978;
show create table s;
Table Create Table
@@ -34189,7 +34189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6977;
show create table s;
Table Create Table
@@ -34197,7 +34197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6976;
show create table s;
Table Create Table
@@ -34205,7 +34205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6975;
show create table s;
Table Create Table
@@ -34213,7 +34213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6974;
show create table s;
Table Create Table
@@ -34221,7 +34221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6973;
show create table s;
Table Create Table
@@ -34229,7 +34229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6972;
show create table s;
Table Create Table
@@ -34237,7 +34237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6971;
show create table s;
Table Create Table
@@ -34245,7 +34245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6970;
show create table s;
Table Create Table
@@ -34253,7 +34253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6969;
show create table s;
Table Create Table
@@ -34261,7 +34261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6968;
show create table s;
Table Create Table
@@ -34269,7 +34269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6967;
show create table s;
Table Create Table
@@ -34277,7 +34277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6966;
show create table s;
Table Create Table
@@ -34285,7 +34285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6965;
show create table s;
Table Create Table
@@ -34293,7 +34293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6964;
show create table s;
Table Create Table
@@ -34301,7 +34301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6963;
show create table s;
Table Create Table
@@ -34309,7 +34309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6962;
show create table s;
Table Create Table
@@ -34317,7 +34317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6961;
show create table s;
Table Create Table
@@ -34325,7 +34325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6960;
show create table s;
Table Create Table
@@ -34333,7 +34333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6959;
show create table s;
Table Create Table
@@ -34341,7 +34341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6958;
show create table s;
Table Create Table
@@ -34349,7 +34349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6957;
show create table s;
Table Create Table
@@ -34357,7 +34357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6956;
show create table s;
Table Create Table
@@ -34365,7 +34365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6955;
show create table s;
Table Create Table
@@ -34373,7 +34373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6954;
show create table s;
Table Create Table
@@ -34381,7 +34381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6953;
show create table s;
Table Create Table
@@ -34389,7 +34389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6952;
show create table s;
Table Create Table
@@ -34397,7 +34397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6951;
show create table s;
Table Create Table
@@ -34405,7 +34405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6950;
show create table s;
Table Create Table
@@ -34413,7 +34413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6949;
show create table s;
Table Create Table
@@ -34421,7 +34421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6948;
show create table s;
Table Create Table
@@ -34429,7 +34429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6947;
show create table s;
Table Create Table
@@ -34437,7 +34437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6946;
show create table s;
Table Create Table
@@ -34445,7 +34445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6945;
show create table s;
Table Create Table
@@ -34453,7 +34453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6944;
show create table s;
Table Create Table
@@ -34461,7 +34461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6943;
show create table s;
Table Create Table
@@ -34469,7 +34469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6942;
show create table s;
Table Create Table
@@ -34477,7 +34477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6941;
show create table s;
Table Create Table
@@ -34485,7 +34485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6940;
show create table s;
Table Create Table
@@ -34493,7 +34493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6939;
show create table s;
Table Create Table
@@ -34501,7 +34501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6938;
show create table s;
Table Create Table
@@ -34509,7 +34509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6937;
show create table s;
Table Create Table
@@ -34517,7 +34517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6936;
show create table s;
Table Create Table
@@ -34525,7 +34525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6935;
show create table s;
Table Create Table
@@ -34533,7 +34533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6934;
show create table s;
Table Create Table
@@ -34541,7 +34541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6933;
show create table s;
Table Create Table
@@ -34549,7 +34549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6932;
show create table s;
Table Create Table
@@ -34557,7 +34557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6931;
show create table s;
Table Create Table
@@ -34565,7 +34565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6930;
show create table s;
Table Create Table
@@ -34573,7 +34573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6929;
show create table s;
Table Create Table
@@ -34581,7 +34581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6928;
show create table s;
Table Create Table
@@ -34589,7 +34589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6927;
show create table s;
Table Create Table
@@ -34597,7 +34597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6926;
show create table s;
Table Create Table
@@ -34605,7 +34605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6925;
show create table s;
Table Create Table
@@ -34613,7 +34613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6924;
show create table s;
Table Create Table
@@ -34621,7 +34621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6923;
show create table s;
Table Create Table
@@ -34629,7 +34629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6922;
show create table s;
Table Create Table
@@ -34637,7 +34637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6921;
show create table s;
Table Create Table
@@ -34645,7 +34645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6920;
show create table s;
Table Create Table
@@ -34653,7 +34653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6919;
show create table s;
Table Create Table
@@ -34661,7 +34661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6918;
show create table s;
Table Create Table
@@ -34669,7 +34669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6917;
show create table s;
Table Create Table
@@ -34677,7 +34677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6916;
show create table s;
Table Create Table
@@ -34685,7 +34685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6915;
show create table s;
Table Create Table
@@ -34693,7 +34693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6914;
show create table s;
Table Create Table
@@ -34701,7 +34701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6913;
show create table s;
Table Create Table
@@ -34709,7 +34709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6912;
show create table s;
Table Create Table
@@ -34717,7 +34717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6911;
show create table s;
Table Create Table
@@ -34725,7 +34725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6910;
show create table s;
Table Create Table
@@ -34733,7 +34733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6909;
show create table s;
Table Create Table
@@ -34741,7 +34741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6908;
show create table s;
Table Create Table
@@ -34749,7 +34749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6907;
show create table s;
Table Create Table
@@ -34757,7 +34757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6906;
show create table s;
Table Create Table
@@ -34765,7 +34765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6905;
show create table s;
Table Create Table
@@ -34773,7 +34773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6904;
show create table s;
Table Create Table
@@ -34781,7 +34781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6903;
show create table s;
Table Create Table
@@ -34789,7 +34789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6902;
show create table s;
Table Create Table
@@ -34797,7 +34797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6901;
show create table s;
Table Create Table
@@ -34805,7 +34805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6900;
show create table s;
Table Create Table
@@ -34813,7 +34813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6899;
show create table s;
Table Create Table
@@ -34821,7 +34821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6898;
show create table s;
Table Create Table
@@ -34829,7 +34829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6897;
show create table s;
Table Create Table
@@ -34837,7 +34837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6896;
show create table s;
Table Create Table
@@ -34845,7 +34845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6895;
show create table s;
Table Create Table
@@ -34853,7 +34853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6894;
show create table s;
Table Create Table
@@ -34861,7 +34861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6893;
show create table s;
Table Create Table
@@ -34869,7 +34869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6892;
show create table s;
Table Create Table
@@ -34877,7 +34877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6891;
show create table s;
Table Create Table
@@ -34885,7 +34885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6890;
show create table s;
Table Create Table
@@ -34893,7 +34893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6889;
show create table s;
Table Create Table
@@ -34901,7 +34901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6888;
show create table s;
Table Create Table
@@ -34909,7 +34909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6887;
show create table s;
Table Create Table
@@ -34917,7 +34917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6886;
show create table s;
Table Create Table
@@ -34925,7 +34925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6885;
show create table s;
Table Create Table
@@ -34933,7 +34933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6884;
show create table s;
Table Create Table
@@ -34941,7 +34941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6883;
show create table s;
Table Create Table
@@ -34949,7 +34949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6882;
show create table s;
Table Create Table
@@ -34957,7 +34957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6881;
show create table s;
Table Create Table
@@ -34965,7 +34965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6880;
show create table s;
Table Create Table
@@ -34973,7 +34973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6879;
show create table s;
Table Create Table
@@ -34981,7 +34981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6878;
show create table s;
Table Create Table
@@ -34989,7 +34989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6877;
show create table s;
Table Create Table
@@ -34997,7 +34997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6876;
show create table s;
Table Create Table
@@ -35005,7 +35005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6875;
show create table s;
Table Create Table
@@ -35013,7 +35013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6874;
show create table s;
Table Create Table
@@ -35021,7 +35021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6873;
show create table s;
Table Create Table
@@ -35029,7 +35029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6872;
show create table s;
Table Create Table
@@ -35037,7 +35037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6871;
show create table s;
Table Create Table
@@ -35045,7 +35045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6870;
show create table s;
Table Create Table
@@ -35053,7 +35053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6869;
show create table s;
Table Create Table
@@ -35061,7 +35061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6868;
show create table s;
Table Create Table
@@ -35069,7 +35069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6867;
show create table s;
Table Create Table
@@ -35077,7 +35077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6866;
show create table s;
Table Create Table
@@ -35085,7 +35085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6865;
show create table s;
Table Create Table
@@ -35093,7 +35093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6864;
show create table s;
Table Create Table
@@ -35101,7 +35101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6863;
show create table s;
Table Create Table
@@ -35109,7 +35109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6862;
show create table s;
Table Create Table
@@ -35117,7 +35117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6861;
show create table s;
Table Create Table
@@ -35125,7 +35125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6860;
show create table s;
Table Create Table
@@ -35133,7 +35133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6859;
show create table s;
Table Create Table
@@ -35141,7 +35141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6858;
show create table s;
Table Create Table
@@ -35149,7 +35149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6857;
show create table s;
Table Create Table
@@ -35157,7 +35157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6856;
show create table s;
Table Create Table
@@ -35165,7 +35165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6855;
show create table s;
Table Create Table
@@ -35173,7 +35173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6854;
show create table s;
Table Create Table
@@ -35181,7 +35181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6853;
show create table s;
Table Create Table
@@ -35189,7 +35189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6852;
show create table s;
Table Create Table
@@ -35197,7 +35197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6851;
show create table s;
Table Create Table
@@ -35205,7 +35205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6850;
show create table s;
Table Create Table
@@ -35213,7 +35213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6849;
show create table s;
Table Create Table
@@ -35221,7 +35221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6848;
show create table s;
Table Create Table
@@ -35229,7 +35229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6847;
show create table s;
Table Create Table
@@ -35237,7 +35237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6846;
show create table s;
Table Create Table
@@ -35245,7 +35245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6845;
show create table s;
Table Create Table
@@ -35253,7 +35253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6844;
show create table s;
Table Create Table
@@ -35261,7 +35261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6843;
show create table s;
Table Create Table
@@ -35269,7 +35269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6842;
show create table s;
Table Create Table
@@ -35277,7 +35277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6841;
show create table s;
Table Create Table
@@ -35285,7 +35285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6840;
show create table s;
Table Create Table
@@ -35293,7 +35293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6839;
show create table s;
Table Create Table
@@ -35301,7 +35301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6838;
show create table s;
Table Create Table
@@ -35309,7 +35309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6837;
show create table s;
Table Create Table
@@ -35317,7 +35317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6836;
show create table s;
Table Create Table
@@ -35325,7 +35325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6835;
show create table s;
Table Create Table
@@ -35333,7 +35333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6834;
show create table s;
Table Create Table
@@ -35341,7 +35341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6833;
show create table s;
Table Create Table
@@ -35349,7 +35349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6832;
show create table s;
Table Create Table
@@ -35357,7 +35357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6831;
show create table s;
Table Create Table
@@ -35365,7 +35365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6830;
show create table s;
Table Create Table
@@ -35373,7 +35373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6829;
show create table s;
Table Create Table
@@ -35381,7 +35381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6828;
show create table s;
Table Create Table
@@ -35389,7 +35389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6827;
show create table s;
Table Create Table
@@ -35397,7 +35397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6826;
show create table s;
Table Create Table
@@ -35405,7 +35405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6825;
show create table s;
Table Create Table
@@ -35413,7 +35413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6824;
show create table s;
Table Create Table
@@ -35421,7 +35421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6823;
show create table s;
Table Create Table
@@ -35429,7 +35429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6822;
show create table s;
Table Create Table
@@ -35437,7 +35437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6821;
show create table s;
Table Create Table
@@ -35445,7 +35445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6820;
show create table s;
Table Create Table
@@ -35453,7 +35453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6819;
show create table s;
Table Create Table
@@ -35461,7 +35461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6818;
show create table s;
Table Create Table
@@ -35469,7 +35469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6817;
show create table s;
Table Create Table
@@ -35477,7 +35477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6816;
show create table s;
Table Create Table
@@ -35485,7 +35485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6815;
show create table s;
Table Create Table
@@ -35493,7 +35493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6814;
show create table s;
Table Create Table
@@ -35501,7 +35501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6813;
show create table s;
Table Create Table
@@ -35509,7 +35509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6812;
show create table s;
Table Create Table
@@ -35517,7 +35517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6811;
show create table s;
Table Create Table
@@ -35525,7 +35525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6810;
show create table s;
Table Create Table
@@ -35533,7 +35533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6809;
show create table s;
Table Create Table
@@ -35541,7 +35541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6808;
show create table s;
Table Create Table
@@ -35549,7 +35549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6807;
show create table s;
Table Create Table
@@ -35557,7 +35557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6806;
show create table s;
Table Create Table
@@ -35565,7 +35565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6805;
show create table s;
Table Create Table
@@ -35573,7 +35573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6804;
show create table s;
Table Create Table
@@ -35581,7 +35581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6803;
show create table s;
Table Create Table
@@ -35589,7 +35589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6802;
show create table s;
Table Create Table
@@ -35597,7 +35597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6801;
show create table s;
Table Create Table
@@ -35605,7 +35605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6800;
show create table s;
Table Create Table
@@ -35613,7 +35613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6799;
show create table s;
Table Create Table
@@ -35621,7 +35621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6798;
show create table s;
Table Create Table
@@ -35629,7 +35629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6797;
show create table s;
Table Create Table
@@ -35637,7 +35637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6796;
show create table s;
Table Create Table
@@ -35645,7 +35645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6795;
show create table s;
Table Create Table
@@ -35653,7 +35653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6794;
show create table s;
Table Create Table
@@ -35661,7 +35661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6793;
show create table s;
Table Create Table
@@ -35669,7 +35669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6792;
show create table s;
Table Create Table
@@ -35677,7 +35677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6791;
show create table s;
Table Create Table
@@ -35685,7 +35685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6790;
show create table s;
Table Create Table
@@ -35693,7 +35693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6789;
show create table s;
Table Create Table
@@ -35701,7 +35701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6788;
show create table s;
Table Create Table
@@ -35709,7 +35709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6787;
show create table s;
Table Create Table
@@ -35717,7 +35717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6786;
show create table s;
Table Create Table
@@ -35725,7 +35725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6785;
show create table s;
Table Create Table
@@ -35733,7 +35733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6784;
show create table s;
Table Create Table
@@ -35741,7 +35741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6783;
show create table s;
Table Create Table
@@ -35749,7 +35749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6782;
show create table s;
Table Create Table
@@ -35757,7 +35757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6781;
show create table s;
Table Create Table
@@ -35765,7 +35765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6780;
show create table s;
Table Create Table
@@ -35773,7 +35773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6779;
show create table s;
Table Create Table
@@ -35781,7 +35781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6778;
show create table s;
Table Create Table
@@ -35789,7 +35789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6777;
show create table s;
Table Create Table
@@ -35797,7 +35797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6776;
show create table s;
Table Create Table
@@ -35805,7 +35805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6775;
show create table s;
Table Create Table
@@ -35813,7 +35813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6774;
show create table s;
Table Create Table
@@ -35821,7 +35821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6773;
show create table s;
Table Create Table
@@ -35829,7 +35829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6772;
show create table s;
Table Create Table
@@ -35837,7 +35837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6771;
show create table s;
Table Create Table
@@ -35845,7 +35845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6770;
show create table s;
Table Create Table
@@ -35853,7 +35853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6769;
show create table s;
Table Create Table
@@ -35861,7 +35861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6768;
show create table s;
Table Create Table
@@ -35869,7 +35869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6767;
show create table s;
Table Create Table
@@ -35877,7 +35877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6766;
show create table s;
Table Create Table
@@ -35885,7 +35885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6765;
show create table s;
Table Create Table
@@ -35893,7 +35893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6764;
show create table s;
Table Create Table
@@ -35901,7 +35901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6763;
show create table s;
Table Create Table
@@ -35909,7 +35909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6762;
show create table s;
Table Create Table
@@ -35917,7 +35917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6761;
show create table s;
Table Create Table
@@ -35925,7 +35925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6760;
show create table s;
Table Create Table
@@ -35933,7 +35933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6759;
show create table s;
Table Create Table
@@ -35941,7 +35941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6758;
show create table s;
Table Create Table
@@ -35949,7 +35949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6757;
show create table s;
Table Create Table
@@ -35957,7 +35957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6756;
show create table s;
Table Create Table
@@ -35965,7 +35965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6755;
show create table s;
Table Create Table
@@ -35973,7 +35973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6754;
show create table s;
Table Create Table
@@ -35981,7 +35981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6753;
show create table s;
Table Create Table
@@ -35989,7 +35989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6752;
show create table s;
Table Create Table
@@ -35997,7 +35997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6751;
show create table s;
Table Create Table
@@ -36005,7 +36005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6750;
show create table s;
Table Create Table
@@ -36013,7 +36013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6749;
show create table s;
Table Create Table
@@ -36021,7 +36021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6748;
show create table s;
Table Create Table
@@ -36029,7 +36029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6747;
show create table s;
Table Create Table
@@ -36037,7 +36037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6746;
show create table s;
Table Create Table
@@ -36045,7 +36045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6745;
show create table s;
Table Create Table
@@ -36053,7 +36053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6744;
show create table s;
Table Create Table
@@ -36061,7 +36061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6743;
show create table s;
Table Create Table
@@ -36069,7 +36069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6742;
show create table s;
Table Create Table
@@ -36077,7 +36077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6741;
show create table s;
Table Create Table
@@ -36085,7 +36085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6740;
show create table s;
Table Create Table
@@ -36093,7 +36093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6739;
show create table s;
Table Create Table
@@ -36101,7 +36101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6738;
show create table s;
Table Create Table
@@ -36109,7 +36109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6737;
show create table s;
Table Create Table
@@ -36117,7 +36117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6736;
show create table s;
Table Create Table
@@ -36125,7 +36125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6735;
show create table s;
Table Create Table
@@ -36133,7 +36133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6734;
show create table s;
Table Create Table
@@ -36141,7 +36141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6733;
show create table s;
Table Create Table
@@ -36149,7 +36149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6732;
show create table s;
Table Create Table
@@ -36157,7 +36157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6731;
show create table s;
Table Create Table
@@ -36165,7 +36165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6730;
show create table s;
Table Create Table
@@ -36173,7 +36173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6729;
show create table s;
Table Create Table
@@ -36181,7 +36181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6728;
show create table s;
Table Create Table
@@ -36189,7 +36189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6727;
show create table s;
Table Create Table
@@ -36197,7 +36197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6726;
show create table s;
Table Create Table
@@ -36205,7 +36205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6725;
show create table s;
Table Create Table
@@ -36213,7 +36213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6724;
show create table s;
Table Create Table
@@ -36221,7 +36221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6723;
show create table s;
Table Create Table
@@ -36229,7 +36229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6722;
show create table s;
Table Create Table
@@ -36237,7 +36237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6721;
show create table s;
Table Create Table
@@ -36245,7 +36245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6720;
show create table s;
Table Create Table
@@ -36253,7 +36253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6719;
show create table s;
Table Create Table
@@ -36261,7 +36261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6718;
show create table s;
Table Create Table
@@ -36269,7 +36269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6717;
show create table s;
Table Create Table
@@ -36277,7 +36277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6716;
show create table s;
Table Create Table
@@ -36285,7 +36285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6715;
show create table s;
Table Create Table
@@ -36293,7 +36293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6714;
show create table s;
Table Create Table
@@ -36301,7 +36301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6713;
show create table s;
Table Create Table
@@ -36309,7 +36309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6712;
show create table s;
Table Create Table
@@ -36317,7 +36317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6711;
show create table s;
Table Create Table
@@ -36325,7 +36325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6710;
show create table s;
Table Create Table
@@ -36333,7 +36333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6709;
show create table s;
Table Create Table
@@ -36341,7 +36341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6708;
show create table s;
Table Create Table
@@ -36349,7 +36349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6707;
show create table s;
Table Create Table
@@ -36357,7 +36357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6706;
show create table s;
Table Create Table
@@ -36365,7 +36365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6705;
show create table s;
Table Create Table
@@ -36373,7 +36373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6704;
show create table s;
Table Create Table
@@ -36381,7 +36381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6703;
show create table s;
Table Create Table
@@ -36389,7 +36389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6702;
show create table s;
Table Create Table
@@ -36397,7 +36397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6701;
show create table s;
Table Create Table
@@ -36405,7 +36405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6700;
show create table s;
Table Create Table
@@ -36413,7 +36413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6699;
show create table s;
Table Create Table
@@ -36421,7 +36421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6698;
show create table s;
Table Create Table
@@ -36429,7 +36429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6697;
show create table s;
Table Create Table
@@ -36437,7 +36437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6696;
show create table s;
Table Create Table
@@ -36445,7 +36445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6695;
show create table s;
Table Create Table
@@ -36453,7 +36453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6694;
show create table s;
Table Create Table
@@ -36461,7 +36461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6693;
show create table s;
Table Create Table
@@ -36469,7 +36469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6692;
show create table s;
Table Create Table
@@ -36477,7 +36477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6691;
show create table s;
Table Create Table
@@ -36485,7 +36485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6690;
show create table s;
Table Create Table
@@ -36493,7 +36493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6689;
show create table s;
Table Create Table
@@ -36501,7 +36501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6688;
show create table s;
Table Create Table
@@ -36509,7 +36509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6687;
show create table s;
Table Create Table
@@ -36517,7 +36517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6686;
show create table s;
Table Create Table
@@ -36525,7 +36525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6685;
show create table s;
Table Create Table
@@ -36533,7 +36533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6684;
show create table s;
Table Create Table
@@ -36541,7 +36541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6683;
show create table s;
Table Create Table
@@ -36549,7 +36549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6682;
show create table s;
Table Create Table
@@ -36557,7 +36557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6681;
show create table s;
Table Create Table
@@ -36565,7 +36565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6680;
show create table s;
Table Create Table
@@ -36573,7 +36573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6679;
show create table s;
Table Create Table
@@ -36581,7 +36581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6678;
show create table s;
Table Create Table
@@ -36589,7 +36589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6677;
show create table s;
Table Create Table
@@ -36597,7 +36597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6676;
show create table s;
Table Create Table
@@ -36605,7 +36605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6675;
show create table s;
Table Create Table
@@ -36613,7 +36613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6674;
show create table s;
Table Create Table
@@ -36621,7 +36621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6673;
show create table s;
Table Create Table
@@ -36629,7 +36629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6672;
show create table s;
Table Create Table
@@ -36637,7 +36637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6671;
show create table s;
Table Create Table
@@ -36645,7 +36645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6670;
show create table s;
Table Create Table
@@ -36653,7 +36653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6669;
show create table s;
Table Create Table
@@ -36661,7 +36661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6668;
show create table s;
Table Create Table
@@ -36669,7 +36669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6667;
show create table s;
Table Create Table
@@ -36677,7 +36677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6666;
show create table s;
Table Create Table
@@ -36685,7 +36685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6665;
show create table s;
Table Create Table
@@ -36693,7 +36693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6664;
show create table s;
Table Create Table
@@ -36701,7 +36701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6663;
show create table s;
Table Create Table
@@ -36709,7 +36709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6662;
show create table s;
Table Create Table
@@ -36717,7 +36717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6661;
show create table s;
Table Create Table
@@ -36725,7 +36725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6660;
show create table s;
Table Create Table
@@ -36733,7 +36733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6659;
show create table s;
Table Create Table
@@ -36741,7 +36741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6658;
show create table s;
Table Create Table
@@ -36749,7 +36749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6657;
show create table s;
Table Create Table
@@ -36757,7 +36757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6656;
show create table s;
Table Create Table
@@ -36765,7 +36765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6655;
show create table s;
Table Create Table
@@ -36773,7 +36773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6654;
show create table s;
Table Create Table
@@ -36781,7 +36781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6653;
show create table s;
Table Create Table
@@ -36789,7 +36789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6652;
show create table s;
Table Create Table
@@ -36797,7 +36797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6651;
show create table s;
Table Create Table
@@ -36805,7 +36805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6650;
show create table s;
Table Create Table
@@ -36813,7 +36813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6649;
show create table s;
Table Create Table
@@ -36821,7 +36821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6648;
show create table s;
Table Create Table
@@ -36829,7 +36829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6647;
show create table s;
Table Create Table
@@ -36837,7 +36837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6646;
show create table s;
Table Create Table
@@ -36845,7 +36845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6645;
show create table s;
Table Create Table
@@ -36853,7 +36853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6644;
show create table s;
Table Create Table
@@ -36861,7 +36861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6643;
show create table s;
Table Create Table
@@ -36869,7 +36869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6642;
show create table s;
Table Create Table
@@ -36877,7 +36877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6641;
show create table s;
Table Create Table
@@ -36885,7 +36885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6640;
show create table s;
Table Create Table
@@ -36893,7 +36893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6639;
show create table s;
Table Create Table
@@ -36901,7 +36901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6638;
show create table s;
Table Create Table
@@ -36909,7 +36909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6637;
show create table s;
Table Create Table
@@ -36917,7 +36917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6636;
show create table s;
Table Create Table
@@ -36925,7 +36925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6635;
show create table s;
Table Create Table
@@ -36933,7 +36933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6634;
show create table s;
Table Create Table
@@ -36941,7 +36941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6633;
show create table s;
Table Create Table
@@ -36949,7 +36949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6632;
show create table s;
Table Create Table
@@ -36957,7 +36957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6631;
show create table s;
Table Create Table
@@ -36965,7 +36965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6630;
show create table s;
Table Create Table
@@ -36973,7 +36973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6629;
show create table s;
Table Create Table
@@ -36981,7 +36981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6628;
show create table s;
Table Create Table
@@ -36989,7 +36989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6627;
show create table s;
Table Create Table
@@ -36997,7 +36997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6626;
show create table s;
Table Create Table
@@ -37005,7 +37005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6625;
show create table s;
Table Create Table
@@ -37013,7 +37013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6624;
show create table s;
Table Create Table
@@ -37021,7 +37021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6623;
show create table s;
Table Create Table
@@ -37029,7 +37029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6622;
show create table s;
Table Create Table
@@ -37037,7 +37037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6621;
show create table s;
Table Create Table
@@ -37045,7 +37045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6620;
show create table s;
Table Create Table
@@ -37053,7 +37053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6619;
show create table s;
Table Create Table
@@ -37061,7 +37061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6618;
show create table s;
Table Create Table
@@ -37069,7 +37069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6617;
show create table s;
Table Create Table
@@ -37077,7 +37077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6616;
show create table s;
Table Create Table
@@ -37085,7 +37085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6615;
show create table s;
Table Create Table
@@ -37093,7 +37093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6614;
show create table s;
Table Create Table
@@ -37101,7 +37101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6613;
show create table s;
Table Create Table
@@ -37109,7 +37109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6612;
show create table s;
Table Create Table
@@ -37117,7 +37117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6611;
show create table s;
Table Create Table
@@ -37125,7 +37125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6610;
show create table s;
Table Create Table
@@ -37133,7 +37133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6609;
show create table s;
Table Create Table
@@ -37141,7 +37141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6608;
show create table s;
Table Create Table
@@ -37149,7 +37149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6607;
show create table s;
Table Create Table
@@ -37157,7 +37157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6606;
show create table s;
Table Create Table
@@ -37165,7 +37165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6605;
show create table s;
Table Create Table
@@ -37173,7 +37173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6604;
show create table s;
Table Create Table
@@ -37181,7 +37181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6603;
show create table s;
Table Create Table
@@ -37189,7 +37189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6602;
show create table s;
Table Create Table
@@ -37197,7 +37197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6601;
show create table s;
Table Create Table
@@ -37205,7 +37205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6600;
show create table s;
Table Create Table
@@ -37213,7 +37213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6599;
show create table s;
Table Create Table
@@ -37221,7 +37221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6598;
show create table s;
Table Create Table
@@ -37229,7 +37229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6597;
show create table s;
Table Create Table
@@ -37237,7 +37237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6596;
show create table s;
Table Create Table
@@ -37245,7 +37245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6595;
show create table s;
Table Create Table
@@ -37253,7 +37253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6594;
show create table s;
Table Create Table
@@ -37261,7 +37261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6593;
show create table s;
Table Create Table
@@ -37269,7 +37269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6592;
show create table s;
Table Create Table
@@ -37277,7 +37277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6591;
show create table s;
Table Create Table
@@ -37285,7 +37285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6590;
show create table s;
Table Create Table
@@ -37293,7 +37293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6589;
show create table s;
Table Create Table
@@ -37301,7 +37301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6588;
show create table s;
Table Create Table
@@ -37309,7 +37309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6587;
show create table s;
Table Create Table
@@ -37317,7 +37317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6586;
show create table s;
Table Create Table
@@ -37325,7 +37325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6585;
show create table s;
Table Create Table
@@ -37333,7 +37333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6584;
show create table s;
Table Create Table
@@ -37341,7 +37341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6583;
show create table s;
Table Create Table
@@ -37349,7 +37349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6582;
show create table s;
Table Create Table
@@ -37357,7 +37357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6581;
show create table s;
Table Create Table
@@ -37365,7 +37365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6580;
show create table s;
Table Create Table
@@ -37373,7 +37373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6579;
show create table s;
Table Create Table
@@ -37381,7 +37381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6578;
show create table s;
Table Create Table
@@ -37389,7 +37389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6577;
show create table s;
Table Create Table
@@ -37397,7 +37397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6576;
show create table s;
Table Create Table
@@ -37405,7 +37405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6575;
show create table s;
Table Create Table
@@ -37413,7 +37413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6574;
show create table s;
Table Create Table
@@ -37421,7 +37421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6573;
show create table s;
Table Create Table
@@ -37429,7 +37429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6572;
show create table s;
Table Create Table
@@ -37437,7 +37437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6571;
show create table s;
Table Create Table
@@ -37445,7 +37445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6570;
show create table s;
Table Create Table
@@ -37453,7 +37453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6569;
show create table s;
Table Create Table
@@ -37461,7 +37461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6568;
show create table s;
Table Create Table
@@ -37469,7 +37469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6567;
show create table s;
Table Create Table
@@ -37477,7 +37477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6566;
show create table s;
Table Create Table
@@ -37485,7 +37485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6565;
show create table s;
Table Create Table
@@ -37493,7 +37493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6564;
show create table s;
Table Create Table
@@ -37501,7 +37501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6563;
show create table s;
Table Create Table
@@ -37509,7 +37509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6562;
show create table s;
Table Create Table
@@ -37517,7 +37517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6561;
show create table s;
Table Create Table
@@ -37525,7 +37525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6560;
show create table s;
Table Create Table
@@ -37533,7 +37533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6559;
show create table s;
Table Create Table
@@ -37541,7 +37541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6558;
show create table s;
Table Create Table
@@ -37549,7 +37549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6557;
show create table s;
Table Create Table
@@ -37557,7 +37557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6556;
show create table s;
Table Create Table
@@ -37565,7 +37565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6555;
show create table s;
Table Create Table
@@ -37573,7 +37573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6554;
show create table s;
Table Create Table
@@ -37581,7 +37581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6553;
show create table s;
Table Create Table
@@ -37589,7 +37589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6552;
show create table s;
Table Create Table
@@ -37597,7 +37597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6551;
show create table s;
Table Create Table
@@ -37605,7 +37605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6550;
show create table s;
Table Create Table
@@ -37613,7 +37613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6549;
show create table s;
Table Create Table
@@ -37621,7 +37621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6548;
show create table s;
Table Create Table
@@ -37629,7 +37629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6547;
show create table s;
Table Create Table
@@ -37637,7 +37637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6546;
show create table s;
Table Create Table
@@ -37645,7 +37645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6545;
show create table s;
Table Create Table
@@ -37653,7 +37653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6544;
show create table s;
Table Create Table
@@ -37661,7 +37661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6543;
show create table s;
Table Create Table
@@ -37669,7 +37669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6542;
show create table s;
Table Create Table
@@ -37677,7 +37677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6541;
show create table s;
Table Create Table
@@ -37685,7 +37685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6540;
show create table s;
Table Create Table
@@ -37693,7 +37693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6539;
show create table s;
Table Create Table
@@ -37701,7 +37701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6538;
show create table s;
Table Create Table
@@ -37709,7 +37709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6537;
show create table s;
Table Create Table
@@ -37717,7 +37717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6536;
show create table s;
Table Create Table
@@ -37725,7 +37725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6535;
show create table s;
Table Create Table
@@ -37733,7 +37733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6534;
show create table s;
Table Create Table
@@ -37741,7 +37741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6533;
show create table s;
Table Create Table
@@ -37749,7 +37749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6532;
show create table s;
Table Create Table
@@ -37757,7 +37757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6531;
show create table s;
Table Create Table
@@ -37765,7 +37765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6530;
show create table s;
Table Create Table
@@ -37773,7 +37773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6529;
show create table s;
Table Create Table
@@ -37781,7 +37781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6528;
show create table s;
Table Create Table
@@ -37789,7 +37789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6527;
show create table s;
Table Create Table
@@ -37797,7 +37797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6526;
show create table s;
Table Create Table
@@ -37805,7 +37805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6525;
show create table s;
Table Create Table
@@ -37813,7 +37813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6524;
show create table s;
Table Create Table
@@ -37821,7 +37821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6523;
show create table s;
Table Create Table
@@ -37829,7 +37829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6522;
show create table s;
Table Create Table
@@ -37837,7 +37837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6521;
show create table s;
Table Create Table
@@ -37845,7 +37845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6520;
show create table s;
Table Create Table
@@ -37853,7 +37853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6519;
show create table s;
Table Create Table
@@ -37861,7 +37861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6518;
show create table s;
Table Create Table
@@ -37869,7 +37869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6517;
show create table s;
Table Create Table
@@ -37877,7 +37877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6516;
show create table s;
Table Create Table
@@ -37885,7 +37885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6515;
show create table s;
Table Create Table
@@ -37893,7 +37893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6514;
show create table s;
Table Create Table
@@ -37901,7 +37901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6513;
show create table s;
Table Create Table
@@ -37909,7 +37909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6512;
show create table s;
Table Create Table
@@ -37917,7 +37917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6511;
show create table s;
Table Create Table
@@ -37925,7 +37925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6510;
show create table s;
Table Create Table
@@ -37933,7 +37933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6509;
show create table s;
Table Create Table
@@ -37941,7 +37941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6508;
show create table s;
Table Create Table
@@ -37949,7 +37949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6507;
show create table s;
Table Create Table
@@ -37957,7 +37957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6506;
show create table s;
Table Create Table
@@ -37965,7 +37965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6505;
show create table s;
Table Create Table
@@ -37973,7 +37973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6504;
show create table s;
Table Create Table
@@ -37981,7 +37981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6503;
show create table s;
Table Create Table
@@ -37989,7 +37989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6502;
show create table s;
Table Create Table
@@ -37997,7 +37997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6501;
show create table s;
Table Create Table
@@ -38005,7 +38005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6500;
show create table s;
Table Create Table
@@ -38013,7 +38013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6499;
show create table s;
Table Create Table
@@ -38021,7 +38021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6498;
show create table s;
Table Create Table
@@ -38029,7 +38029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6497;
show create table s;
Table Create Table
@@ -38037,7 +38037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6496;
show create table s;
Table Create Table
@@ -38045,7 +38045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6495;
show create table s;
Table Create Table
@@ -38053,7 +38053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6494;
show create table s;
Table Create Table
@@ -38061,7 +38061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6493;
show create table s;
Table Create Table
@@ -38069,7 +38069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6492;
show create table s;
Table Create Table
@@ -38077,7 +38077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6491;
show create table s;
Table Create Table
@@ -38085,7 +38085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6490;
show create table s;
Table Create Table
@@ -38093,7 +38093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6489;
show create table s;
Table Create Table
@@ -38101,7 +38101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6488;
show create table s;
Table Create Table
@@ -38109,7 +38109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6487;
show create table s;
Table Create Table
@@ -38117,7 +38117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6486;
show create table s;
Table Create Table
@@ -38125,7 +38125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6485;
show create table s;
Table Create Table
@@ -38133,7 +38133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6484;
show create table s;
Table Create Table
@@ -38141,7 +38141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6483;
show create table s;
Table Create Table
@@ -38149,7 +38149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6482;
show create table s;
Table Create Table
@@ -38157,7 +38157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6481;
show create table s;
Table Create Table
@@ -38165,7 +38165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6480;
show create table s;
Table Create Table
@@ -38173,7 +38173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6479;
show create table s;
Table Create Table
@@ -38181,7 +38181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6478;
show create table s;
Table Create Table
@@ -38189,7 +38189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6477;
show create table s;
Table Create Table
@@ -38197,7 +38197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6476;
show create table s;
Table Create Table
@@ -38205,7 +38205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6475;
show create table s;
Table Create Table
@@ -38213,7 +38213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6474;
show create table s;
Table Create Table
@@ -38221,7 +38221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6473;
show create table s;
Table Create Table
@@ -38229,7 +38229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6472;
show create table s;
Table Create Table
@@ -38237,7 +38237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6471;
show create table s;
Table Create Table
@@ -38245,7 +38245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6470;
show create table s;
Table Create Table
@@ -38253,7 +38253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6469;
show create table s;
Table Create Table
@@ -38261,7 +38261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6468;
show create table s;
Table Create Table
@@ -38269,7 +38269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6467;
show create table s;
Table Create Table
@@ -38277,7 +38277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6466;
show create table s;
Table Create Table
@@ -38285,7 +38285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6465;
show create table s;
Table Create Table
@@ -38293,7 +38293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6464;
show create table s;
Table Create Table
@@ -38301,7 +38301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6463;
show create table s;
Table Create Table
@@ -38309,7 +38309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6462;
show create table s;
Table Create Table
@@ -38317,7 +38317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6461;
show create table s;
Table Create Table
@@ -38325,7 +38325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6460;
show create table s;
Table Create Table
@@ -38333,7 +38333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6459;
show create table s;
Table Create Table
@@ -38341,7 +38341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6458;
show create table s;
Table Create Table
@@ -38349,7 +38349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6457;
show create table s;
Table Create Table
@@ -38357,7 +38357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6456;
show create table s;
Table Create Table
@@ -38365,7 +38365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6455;
show create table s;
Table Create Table
@@ -38373,7 +38373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6454;
show create table s;
Table Create Table
@@ -38381,7 +38381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6453;
show create table s;
Table Create Table
@@ -38389,7 +38389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6452;
show create table s;
Table Create Table
@@ -38397,7 +38397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6451;
show create table s;
Table Create Table
@@ -38405,7 +38405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6450;
show create table s;
Table Create Table
@@ -38413,7 +38413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6449;
show create table s;
Table Create Table
@@ -38421,7 +38421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6448;
show create table s;
Table Create Table
@@ -38429,7 +38429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6447;
show create table s;
Table Create Table
@@ -38437,7 +38437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6446;
show create table s;
Table Create Table
@@ -38445,7 +38445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6445;
show create table s;
Table Create Table
@@ -38453,7 +38453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6444;
show create table s;
Table Create Table
@@ -38461,7 +38461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6443;
show create table s;
Table Create Table
@@ -38469,7 +38469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6442;
show create table s;
Table Create Table
@@ -38477,7 +38477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6441;
show create table s;
Table Create Table
@@ -38485,7 +38485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6440;
show create table s;
Table Create Table
@@ -38493,7 +38493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6439;
show create table s;
Table Create Table
@@ -38501,7 +38501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6438;
show create table s;
Table Create Table
@@ -38509,7 +38509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6437;
show create table s;
Table Create Table
@@ -38517,7 +38517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6436;
show create table s;
Table Create Table
@@ -38525,7 +38525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6435;
show create table s;
Table Create Table
@@ -38533,7 +38533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6434;
show create table s;
Table Create Table
@@ -38541,7 +38541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6433;
show create table s;
Table Create Table
@@ -38549,7 +38549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6432;
show create table s;
Table Create Table
@@ -38557,7 +38557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6431;
show create table s;
Table Create Table
@@ -38565,7 +38565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6430;
show create table s;
Table Create Table
@@ -38573,7 +38573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6429;
show create table s;
Table Create Table
@@ -38581,7 +38581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6428;
show create table s;
Table Create Table
@@ -38589,7 +38589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6427;
show create table s;
Table Create Table
@@ -38597,7 +38597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6426;
show create table s;
Table Create Table
@@ -38605,7 +38605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6425;
show create table s;
Table Create Table
@@ -38613,7 +38613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6424;
show create table s;
Table Create Table
@@ -38621,7 +38621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6423;
show create table s;
Table Create Table
@@ -38629,7 +38629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6422;
show create table s;
Table Create Table
@@ -38637,7 +38637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6421;
show create table s;
Table Create Table
@@ -38645,7 +38645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6420;
show create table s;
Table Create Table
@@ -38653,7 +38653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6419;
show create table s;
Table Create Table
@@ -38661,7 +38661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6418;
show create table s;
Table Create Table
@@ -38669,7 +38669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6417;
show create table s;
Table Create Table
@@ -38677,7 +38677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6416;
show create table s;
Table Create Table
@@ -38685,7 +38685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6415;
show create table s;
Table Create Table
@@ -38693,7 +38693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6414;
show create table s;
Table Create Table
@@ -38701,7 +38701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6413;
show create table s;
Table Create Table
@@ -38709,7 +38709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6412;
show create table s;
Table Create Table
@@ -38717,7 +38717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6411;
show create table s;
Table Create Table
@@ -38725,7 +38725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6410;
show create table s;
Table Create Table
@@ -38733,7 +38733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6409;
show create table s;
Table Create Table
@@ -38741,7 +38741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6408;
show create table s;
Table Create Table
@@ -38749,7 +38749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6407;
show create table s;
Table Create Table
@@ -38757,7 +38757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6406;
show create table s;
Table Create Table
@@ -38765,7 +38765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6405;
show create table s;
Table Create Table
@@ -38773,7 +38773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6404;
show create table s;
Table Create Table
@@ -38781,7 +38781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6403;
show create table s;
Table Create Table
@@ -38789,7 +38789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6402;
show create table s;
Table Create Table
@@ -38797,7 +38797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6401;
show create table s;
Table Create Table
@@ -38805,7 +38805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6400;
show create table s;
Table Create Table
@@ -38813,7 +38813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6399;
show create table s;
Table Create Table
@@ -38821,7 +38821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6398;
show create table s;
Table Create Table
@@ -38829,7 +38829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6397;
show create table s;
Table Create Table
@@ -38837,7 +38837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6396;
show create table s;
Table Create Table
@@ -38845,7 +38845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6395;
show create table s;
Table Create Table
@@ -38853,7 +38853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6394;
show create table s;
Table Create Table
@@ -38861,7 +38861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6393;
show create table s;
Table Create Table
@@ -38869,7 +38869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6392;
show create table s;
Table Create Table
@@ -38877,7 +38877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6391;
show create table s;
Table Create Table
@@ -38885,7 +38885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6390;
show create table s;
Table Create Table
@@ -38893,7 +38893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6389;
show create table s;
Table Create Table
@@ -38901,7 +38901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6388;
show create table s;
Table Create Table
@@ -38909,7 +38909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6387;
show create table s;
Table Create Table
@@ -38917,7 +38917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6386;
show create table s;
Table Create Table
@@ -38925,7 +38925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6385;
show create table s;
Table Create Table
@@ -38933,7 +38933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6384;
show create table s;
Table Create Table
@@ -38941,7 +38941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6383;
show create table s;
Table Create Table
@@ -38949,7 +38949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6382;
show create table s;
Table Create Table
@@ -38957,7 +38957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6381;
show create table s;
Table Create Table
@@ -38965,7 +38965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6380;
show create table s;
Table Create Table
@@ -38973,7 +38973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6379;
show create table s;
Table Create Table
@@ -38981,7 +38981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6378;
show create table s;
Table Create Table
@@ -38989,7 +38989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6377;
show create table s;
Table Create Table
@@ -38997,7 +38997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6376;
show create table s;
Table Create Table
@@ -39005,7 +39005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6375;
show create table s;
Table Create Table
@@ -39013,7 +39013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6374;
show create table s;
Table Create Table
@@ -39021,7 +39021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6373;
show create table s;
Table Create Table
@@ -39029,7 +39029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6372;
show create table s;
Table Create Table
@@ -39037,7 +39037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6371;
show create table s;
Table Create Table
@@ -39045,7 +39045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6370;
show create table s;
Table Create Table
@@ -39053,7 +39053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6369;
show create table s;
Table Create Table
@@ -39061,7 +39061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6368;
show create table s;
Table Create Table
@@ -39069,7 +39069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6367;
show create table s;
Table Create Table
@@ -39077,7 +39077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6366;
show create table s;
Table Create Table
@@ -39085,7 +39085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6365;
show create table s;
Table Create Table
@@ -39093,7 +39093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6364;
show create table s;
Table Create Table
@@ -39101,7 +39101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6363;
show create table s;
Table Create Table
@@ -39109,7 +39109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6362;
show create table s;
Table Create Table
@@ -39117,7 +39117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6361;
show create table s;
Table Create Table
@@ -39125,7 +39125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6360;
show create table s;
Table Create Table
@@ -39133,7 +39133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6359;
show create table s;
Table Create Table
@@ -39141,7 +39141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6358;
show create table s;
Table Create Table
@@ -39149,7 +39149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6357;
show create table s;
Table Create Table
@@ -39157,7 +39157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6356;
show create table s;
Table Create Table
@@ -39165,7 +39165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6355;
show create table s;
Table Create Table
@@ -39173,7 +39173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6354;
show create table s;
Table Create Table
@@ -39181,7 +39181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6353;
show create table s;
Table Create Table
@@ -39189,7 +39189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6352;
show create table s;
Table Create Table
@@ -39197,7 +39197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6351;
show create table s;
Table Create Table
@@ -39205,7 +39205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6350;
show create table s;
Table Create Table
@@ -39213,7 +39213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6349;
show create table s;
Table Create Table
@@ -39221,7 +39221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6348;
show create table s;
Table Create Table
@@ -39229,7 +39229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6347;
show create table s;
Table Create Table
@@ -39237,7 +39237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6346;
show create table s;
Table Create Table
@@ -39245,7 +39245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6345;
show create table s;
Table Create Table
@@ -39253,7 +39253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6344;
show create table s;
Table Create Table
@@ -39261,7 +39261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6343;
show create table s;
Table Create Table
@@ -39269,7 +39269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6342;
show create table s;
Table Create Table
@@ -39277,7 +39277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6341;
show create table s;
Table Create Table
@@ -39285,7 +39285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6340;
show create table s;
Table Create Table
@@ -39293,7 +39293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6339;
show create table s;
Table Create Table
@@ -39301,7 +39301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6338;
show create table s;
Table Create Table
@@ -39309,7 +39309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6337;
show create table s;
Table Create Table
@@ -39317,7 +39317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6336;
show create table s;
Table Create Table
@@ -39325,7 +39325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6335;
show create table s;
Table Create Table
@@ -39333,7 +39333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6334;
show create table s;
Table Create Table
@@ -39341,7 +39341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6333;
show create table s;
Table Create Table
@@ -39349,7 +39349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6332;
show create table s;
Table Create Table
@@ -39357,7 +39357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6331;
show create table s;
Table Create Table
@@ -39365,7 +39365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6330;
show create table s;
Table Create Table
@@ -39373,7 +39373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6329;
show create table s;
Table Create Table
@@ -39381,7 +39381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6328;
show create table s;
Table Create Table
@@ -39389,7 +39389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6327;
show create table s;
Table Create Table
@@ -39397,7 +39397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6326;
show create table s;
Table Create Table
@@ -39405,7 +39405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6325;
show create table s;
Table Create Table
@@ -39413,7 +39413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6324;
show create table s;
Table Create Table
@@ -39421,7 +39421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6323;
show create table s;
Table Create Table
@@ -39429,7 +39429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6322;
show create table s;
Table Create Table
@@ -39437,7 +39437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6321;
show create table s;
Table Create Table
@@ -39445,7 +39445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6320;
show create table s;
Table Create Table
@@ -39453,7 +39453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6319;
show create table s;
Table Create Table
@@ -39461,7 +39461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6318;
show create table s;
Table Create Table
@@ -39469,7 +39469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6317;
show create table s;
Table Create Table
@@ -39477,7 +39477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6316;
show create table s;
Table Create Table
@@ -39485,7 +39485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6315;
show create table s;
Table Create Table
@@ -39493,7 +39493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6314;
show create table s;
Table Create Table
@@ -39501,7 +39501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6313;
show create table s;
Table Create Table
@@ -39509,7 +39509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6312;
show create table s;
Table Create Table
@@ -39517,7 +39517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6311;
show create table s;
Table Create Table
@@ -39525,7 +39525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6310;
show create table s;
Table Create Table
@@ -39533,7 +39533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6309;
show create table s;
Table Create Table
@@ -39541,7 +39541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6308;
show create table s;
Table Create Table
@@ -39549,7 +39549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6307;
show create table s;
Table Create Table
@@ -39557,7 +39557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6306;
show create table s;
Table Create Table
@@ -39565,7 +39565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6305;
show create table s;
Table Create Table
@@ -39573,7 +39573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6304;
show create table s;
Table Create Table
@@ -39581,7 +39581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6303;
show create table s;
Table Create Table
@@ -39589,7 +39589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6302;
show create table s;
Table Create Table
@@ -39597,7 +39597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6301;
show create table s;
Table Create Table
@@ -39605,7 +39605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6300;
show create table s;
Table Create Table
@@ -39613,7 +39613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6299;
show create table s;
Table Create Table
@@ -39621,7 +39621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6298;
show create table s;
Table Create Table
@@ -39629,7 +39629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6297;
show create table s;
Table Create Table
@@ -39637,7 +39637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6296;
show create table s;
Table Create Table
@@ -39645,7 +39645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6295;
show create table s;
Table Create Table
@@ -39653,7 +39653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6294;
show create table s;
Table Create Table
@@ -39661,7 +39661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6293;
show create table s;
Table Create Table
@@ -39669,7 +39669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6292;
show create table s;
Table Create Table
@@ -39677,7 +39677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6291;
show create table s;
Table Create Table
@@ -39685,7 +39685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6290;
show create table s;
Table Create Table
@@ -39693,7 +39693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6289;
show create table s;
Table Create Table
@@ -39701,7 +39701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6288;
show create table s;
Table Create Table
@@ -39709,7 +39709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6287;
show create table s;
Table Create Table
@@ -39717,7 +39717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6286;
show create table s;
Table Create Table
@@ -39725,7 +39725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6285;
show create table s;
Table Create Table
@@ -39733,7 +39733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6284;
show create table s;
Table Create Table
@@ -39741,7 +39741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6283;
show create table s;
Table Create Table
@@ -39749,7 +39749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6282;
show create table s;
Table Create Table
@@ -39757,7 +39757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6281;
show create table s;
Table Create Table
@@ -39765,7 +39765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6280;
show create table s;
Table Create Table
@@ -39773,7 +39773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6279;
show create table s;
Table Create Table
@@ -39781,7 +39781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6278;
show create table s;
Table Create Table
@@ -39789,7 +39789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6277;
show create table s;
Table Create Table
@@ -39797,7 +39797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6276;
show create table s;
Table Create Table
@@ -39805,7 +39805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6275;
show create table s;
Table Create Table
@@ -39813,7 +39813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6274;
show create table s;
Table Create Table
@@ -39821,7 +39821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6273;
show create table s;
Table Create Table
@@ -39829,7 +39829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6272;
show create table s;
Table Create Table
@@ -39837,7 +39837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6271;
show create table s;
Table Create Table
@@ -39845,7 +39845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6270;
show create table s;
Table Create Table
@@ -39853,7 +39853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6269;
show create table s;
Table Create Table
@@ -39861,7 +39861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6268;
show create table s;
Table Create Table
@@ -39869,7 +39869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6267;
show create table s;
Table Create Table
@@ -39877,7 +39877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6266;
show create table s;
Table Create Table
@@ -39885,7 +39885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6265;
show create table s;
Table Create Table
@@ -39893,7 +39893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6264;
show create table s;
Table Create Table
@@ -39901,7 +39901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6263;
show create table s;
Table Create Table
@@ -39909,7 +39909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6262;
show create table s;
Table Create Table
@@ -39917,7 +39917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6261;
show create table s;
Table Create Table
@@ -39925,7 +39925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6260;
show create table s;
Table Create Table
@@ -39933,7 +39933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6259;
show create table s;
Table Create Table
@@ -39941,7 +39941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6258;
show create table s;
Table Create Table
@@ -39949,7 +39949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6257;
show create table s;
Table Create Table
@@ -39957,7 +39957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6256;
show create table s;
Table Create Table
@@ -39965,7 +39965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6255;
show create table s;
Table Create Table
@@ -39973,7 +39973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6254;
show create table s;
Table Create Table
@@ -39981,7 +39981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6253;
show create table s;
Table Create Table
@@ -39989,7 +39989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6252;
show create table s;
Table Create Table
@@ -39997,7 +39997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6251;
show create table s;
Table Create Table
@@ -40005,7 +40005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6250;
show create table s;
Table Create Table
@@ -40013,7 +40013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6249;
show create table s;
Table Create Table
@@ -40021,7 +40021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6248;
show create table s;
Table Create Table
@@ -40029,7 +40029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6247;
show create table s;
Table Create Table
@@ -40037,7 +40037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6246;
show create table s;
Table Create Table
@@ -40045,7 +40045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6245;
show create table s;
Table Create Table
@@ -40053,7 +40053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6244;
show create table s;
Table Create Table
@@ -40061,7 +40061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6243;
show create table s;
Table Create Table
@@ -40069,7 +40069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6242;
show create table s;
Table Create Table
@@ -40077,7 +40077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6241;
show create table s;
Table Create Table
@@ -40085,7 +40085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6240;
show create table s;
Table Create Table
@@ -40093,7 +40093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6239;
show create table s;
Table Create Table
@@ -40101,7 +40101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6238;
show create table s;
Table Create Table
@@ -40109,7 +40109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6237;
show create table s;
Table Create Table
@@ -40117,7 +40117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6236;
show create table s;
Table Create Table
@@ -40125,7 +40125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6235;
show create table s;
Table Create Table
@@ -40133,7 +40133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6234;
show create table s;
Table Create Table
@@ -40141,7 +40141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6233;
show create table s;
Table Create Table
@@ -40149,7 +40149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6232;
show create table s;
Table Create Table
@@ -40157,7 +40157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6231;
show create table s;
Table Create Table
@@ -40165,7 +40165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6230;
show create table s;
Table Create Table
@@ -40173,7 +40173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6229;
show create table s;
Table Create Table
@@ -40181,7 +40181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6228;
show create table s;
Table Create Table
@@ -40189,7 +40189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6227;
show create table s;
Table Create Table
@@ -40197,7 +40197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6226;
show create table s;
Table Create Table
@@ -40205,7 +40205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6225;
show create table s;
Table Create Table
@@ -40213,7 +40213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6224;
show create table s;
Table Create Table
@@ -40221,7 +40221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6223;
show create table s;
Table Create Table
@@ -40229,7 +40229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6222;
show create table s;
Table Create Table
@@ -40237,7 +40237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6221;
show create table s;
Table Create Table
@@ -40245,7 +40245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6220;
show create table s;
Table Create Table
@@ -40253,7 +40253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6219;
show create table s;
Table Create Table
@@ -40261,7 +40261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6218;
show create table s;
Table Create Table
@@ -40269,7 +40269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6217;
show create table s;
Table Create Table
@@ -40277,7 +40277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6216;
show create table s;
Table Create Table
@@ -40285,7 +40285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6215;
show create table s;
Table Create Table
@@ -40293,7 +40293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6214;
show create table s;
Table Create Table
@@ -40301,7 +40301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6213;
show create table s;
Table Create Table
@@ -40309,7 +40309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6212;
show create table s;
Table Create Table
@@ -40317,7 +40317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6211;
show create table s;
Table Create Table
@@ -40325,7 +40325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6210;
show create table s;
Table Create Table
@@ -40333,7 +40333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6209;
show create table s;
Table Create Table
@@ -40341,7 +40341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6208;
show create table s;
Table Create Table
@@ -40349,7 +40349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6207;
show create table s;
Table Create Table
@@ -40357,7 +40357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6206;
show create table s;
Table Create Table
@@ -40365,7 +40365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6205;
show create table s;
Table Create Table
@@ -40373,7 +40373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6204;
show create table s;
Table Create Table
@@ -40381,7 +40381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6203;
show create table s;
Table Create Table
@@ -40389,7 +40389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6202;
show create table s;
Table Create Table
@@ -40397,7 +40397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6201;
show create table s;
Table Create Table
@@ -40405,7 +40405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6200;
show create table s;
Table Create Table
@@ -40413,7 +40413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6199;
show create table s;
Table Create Table
@@ -40421,7 +40421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6198;
show create table s;
Table Create Table
@@ -40429,7 +40429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6197;
show create table s;
Table Create Table
@@ -40437,7 +40437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6196;
show create table s;
Table Create Table
@@ -40445,7 +40445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6195;
show create table s;
Table Create Table
@@ -40453,7 +40453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6194;
show create table s;
Table Create Table
@@ -40461,7 +40461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6193;
show create table s;
Table Create Table
@@ -40469,7 +40469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6192;
show create table s;
Table Create Table
@@ -40477,7 +40477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6191;
show create table s;
Table Create Table
@@ -40485,7 +40485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6190;
show create table s;
Table Create Table
@@ -40493,7 +40493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6189;
show create table s;
Table Create Table
@@ -40501,7 +40501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6188;
show create table s;
Table Create Table
@@ -40509,7 +40509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6187;
show create table s;
Table Create Table
@@ -40517,7 +40517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6186;
show create table s;
Table Create Table
@@ -40525,7 +40525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6185;
show create table s;
Table Create Table
@@ -40533,7 +40533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6184;
show create table s;
Table Create Table
@@ -40541,7 +40541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6183;
show create table s;
Table Create Table
@@ -40549,7 +40549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6182;
show create table s;
Table Create Table
@@ -40557,7 +40557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6181;
show create table s;
Table Create Table
@@ -40565,7 +40565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6180;
show create table s;
Table Create Table
@@ -40573,7 +40573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6179;
show create table s;
Table Create Table
@@ -40581,7 +40581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6178;
show create table s;
Table Create Table
@@ -40589,7 +40589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6177;
show create table s;
Table Create Table
@@ -40597,7 +40597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6176;
show create table s;
Table Create Table
@@ -40605,7 +40605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6175;
show create table s;
Table Create Table
@@ -40613,7 +40613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6174;
show create table s;
Table Create Table
@@ -40621,7 +40621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6173;
show create table s;
Table Create Table
@@ -40629,7 +40629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6172;
show create table s;
Table Create Table
@@ -40637,7 +40637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6171;
show create table s;
Table Create Table
@@ -40645,7 +40645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6170;
show create table s;
Table Create Table
@@ -40653,7 +40653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6169;
show create table s;
Table Create Table
@@ -40661,7 +40661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6168;
show create table s;
Table Create Table
@@ -40669,7 +40669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6167;
show create table s;
Table Create Table
@@ -40677,7 +40677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6166;
show create table s;
Table Create Table
@@ -40685,7 +40685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6165;
show create table s;
Table Create Table
@@ -40693,7 +40693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6164;
show create table s;
Table Create Table
@@ -40701,7 +40701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6163;
show create table s;
Table Create Table
@@ -40709,7 +40709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6162;
show create table s;
Table Create Table
@@ -40717,7 +40717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6161;
show create table s;
Table Create Table
@@ -40725,7 +40725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6160;
show create table s;
Table Create Table
@@ -40733,7 +40733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6159;
show create table s;
Table Create Table
@@ -40741,7 +40741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6158;
show create table s;
Table Create Table
@@ -40749,7 +40749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6157;
show create table s;
Table Create Table
@@ -40757,7 +40757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6156;
show create table s;
Table Create Table
@@ -40765,7 +40765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6155;
show create table s;
Table Create Table
@@ -40773,7 +40773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6154;
show create table s;
Table Create Table
@@ -40781,7 +40781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6153;
show create table s;
Table Create Table
@@ -40789,7 +40789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6152;
show create table s;
Table Create Table
@@ -40797,7 +40797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6151;
show create table s;
Table Create Table
@@ -40805,7 +40805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6150;
show create table s;
Table Create Table
@@ -40813,7 +40813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6149;
show create table s;
Table Create Table
@@ -40821,7 +40821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6148;
show create table s;
Table Create Table
@@ -40829,7 +40829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6147;
show create table s;
Table Create Table
@@ -40837,7 +40837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6146;
show create table s;
Table Create Table
@@ -40845,7 +40845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6145;
show create table s;
Table Create Table
@@ -40853,7 +40853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6144;
show create table s;
Table Create Table
@@ -40861,7 +40861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6143;
show create table s;
Table Create Table
@@ -40869,7 +40869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6142;
show create table s;
Table Create Table
@@ -40877,7 +40877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6141;
show create table s;
Table Create Table
@@ -40885,7 +40885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6140;
show create table s;
Table Create Table
@@ -40893,7 +40893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6139;
show create table s;
Table Create Table
@@ -40901,7 +40901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6138;
show create table s;
Table Create Table
@@ -40909,7 +40909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6137;
show create table s;
Table Create Table
@@ -40917,7 +40917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6136;
show create table s;
Table Create Table
@@ -40925,7 +40925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6135;
show create table s;
Table Create Table
@@ -40933,7 +40933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6134;
show create table s;
Table Create Table
@@ -40941,7 +40941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6133;
show create table s;
Table Create Table
@@ -40949,7 +40949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6132;
show create table s;
Table Create Table
@@ -40957,7 +40957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6131;
show create table s;
Table Create Table
@@ -40965,7 +40965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6130;
show create table s;
Table Create Table
@@ -40973,7 +40973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6129;
show create table s;
Table Create Table
@@ -40981,7 +40981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6128;
show create table s;
Table Create Table
@@ -40989,7 +40989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6127;
show create table s;
Table Create Table
@@ -40997,7 +40997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6126;
show create table s;
Table Create Table
@@ -41005,7 +41005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6125;
show create table s;
Table Create Table
@@ -41013,7 +41013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6124;
show create table s;
Table Create Table
@@ -41021,7 +41021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6123;
show create table s;
Table Create Table
@@ -41029,7 +41029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6122;
show create table s;
Table Create Table
@@ -41037,7 +41037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6121;
show create table s;
Table Create Table
@@ -41045,7 +41045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6120;
show create table s;
Table Create Table
@@ -41053,7 +41053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6119;
show create table s;
Table Create Table
@@ -41061,7 +41061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6118;
show create table s;
Table Create Table
@@ -41069,7 +41069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6117;
show create table s;
Table Create Table
@@ -41077,7 +41077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6116;
show create table s;
Table Create Table
@@ -41085,7 +41085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6115;
show create table s;
Table Create Table
@@ -41093,7 +41093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6114;
show create table s;
Table Create Table
@@ -41101,7 +41101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6113;
show create table s;
Table Create Table
@@ -41109,7 +41109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6112;
show create table s;
Table Create Table
@@ -41117,7 +41117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6111;
show create table s;
Table Create Table
@@ -41125,7 +41125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6110;
show create table s;
Table Create Table
@@ -41133,7 +41133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6109;
show create table s;
Table Create Table
@@ -41141,7 +41141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6108;
show create table s;
Table Create Table
@@ -41149,7 +41149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6107;
show create table s;
Table Create Table
@@ -41157,7 +41157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6106;
show create table s;
Table Create Table
@@ -41165,7 +41165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6105;
show create table s;
Table Create Table
@@ -41173,7 +41173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6104;
show create table s;
Table Create Table
@@ -41181,7 +41181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6103;
show create table s;
Table Create Table
@@ -41189,7 +41189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6102;
show create table s;
Table Create Table
@@ -41197,7 +41197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6101;
show create table s;
Table Create Table
@@ -41205,7 +41205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6100;
show create table s;
Table Create Table
@@ -41213,7 +41213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6099;
show create table s;
Table Create Table
@@ -41221,7 +41221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6098;
show create table s;
Table Create Table
@@ -41229,7 +41229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6097;
show create table s;
Table Create Table
@@ -41237,7 +41237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6096;
show create table s;
Table Create Table
@@ -41245,7 +41245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6095;
show create table s;
Table Create Table
@@ -41253,7 +41253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6094;
show create table s;
Table Create Table
@@ -41261,7 +41261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6093;
show create table s;
Table Create Table
@@ -41269,7 +41269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6092;
show create table s;
Table Create Table
@@ -41277,7 +41277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6091;
show create table s;
Table Create Table
@@ -41285,7 +41285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6090;
show create table s;
Table Create Table
@@ -41293,7 +41293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6089;
show create table s;
Table Create Table
@@ -41301,7 +41301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6088;
show create table s;
Table Create Table
@@ -41309,7 +41309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6087;
show create table s;
Table Create Table
@@ -41317,7 +41317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6086;
show create table s;
Table Create Table
@@ -41325,7 +41325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6085;
show create table s;
Table Create Table
@@ -41333,7 +41333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6084;
show create table s;
Table Create Table
@@ -41341,7 +41341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6083;
show create table s;
Table Create Table
@@ -41349,7 +41349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6082;
show create table s;
Table Create Table
@@ -41357,7 +41357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6081;
show create table s;
Table Create Table
@@ -41365,7 +41365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6080;
show create table s;
Table Create Table
@@ -41373,7 +41373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6079;
show create table s;
Table Create Table
@@ -41381,7 +41381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6078;
show create table s;
Table Create Table
@@ -41389,7 +41389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6077;
show create table s;
Table Create Table
@@ -41397,7 +41397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6076;
show create table s;
Table Create Table
@@ -41405,7 +41405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6075;
show create table s;
Table Create Table
@@ -41413,7 +41413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6074;
show create table s;
Table Create Table
@@ -41421,7 +41421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6073;
show create table s;
Table Create Table
@@ -41429,7 +41429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6072;
show create table s;
Table Create Table
@@ -41437,7 +41437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6071;
show create table s;
Table Create Table
@@ -41445,7 +41445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6070;
show create table s;
Table Create Table
@@ -41453,7 +41453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6069;
show create table s;
Table Create Table
@@ -41461,7 +41461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6068;
show create table s;
Table Create Table
@@ -41469,7 +41469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6067;
show create table s;
Table Create Table
@@ -41477,7 +41477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6066;
show create table s;
Table Create Table
@@ -41485,7 +41485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6065;
show create table s;
Table Create Table
@@ -41493,7 +41493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6064;
show create table s;
Table Create Table
@@ -41501,7 +41501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6063;
show create table s;
Table Create Table
@@ -41509,7 +41509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6062;
show create table s;
Table Create Table
@@ -41517,7 +41517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6061;
show create table s;
Table Create Table
@@ -41525,7 +41525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6060;
show create table s;
Table Create Table
@@ -41533,7 +41533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6059;
show create table s;
Table Create Table
@@ -41541,7 +41541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6058;
show create table s;
Table Create Table
@@ -41549,7 +41549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6057;
show create table s;
Table Create Table
@@ -41557,7 +41557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6056;
show create table s;
Table Create Table
@@ -41565,7 +41565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6055;
show create table s;
Table Create Table
@@ -41573,7 +41573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6054;
show create table s;
Table Create Table
@@ -41581,7 +41581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6053;
show create table s;
Table Create Table
@@ -41589,7 +41589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6052;
show create table s;
Table Create Table
@@ -41597,7 +41597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6051;
show create table s;
Table Create Table
@@ -41605,7 +41605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6050;
show create table s;
Table Create Table
@@ -41613,7 +41613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6049;
show create table s;
Table Create Table
@@ -41621,7 +41621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6048;
show create table s;
Table Create Table
@@ -41629,7 +41629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6047;
show create table s;
Table Create Table
@@ -41637,7 +41637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6046;
show create table s;
Table Create Table
@@ -41645,7 +41645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6045;
show create table s;
Table Create Table
@@ -41653,7 +41653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6044;
show create table s;
Table Create Table
@@ -41661,7 +41661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6043;
show create table s;
Table Create Table
@@ -41669,7 +41669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6042;
show create table s;
Table Create Table
@@ -41677,7 +41677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6041;
show create table s;
Table Create Table
@@ -41685,7 +41685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6040;
show create table s;
Table Create Table
@@ -41693,7 +41693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6039;
show create table s;
Table Create Table
@@ -41701,7 +41701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6038;
show create table s;
Table Create Table
@@ -41709,7 +41709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6037;
show create table s;
Table Create Table
@@ -41717,7 +41717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6036;
show create table s;
Table Create Table
@@ -41725,7 +41725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6035;
show create table s;
Table Create Table
@@ -41733,7 +41733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6034;
show create table s;
Table Create Table
@@ -41741,7 +41741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6033;
show create table s;
Table Create Table
@@ -41749,7 +41749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6032;
show create table s;
Table Create Table
@@ -41757,7 +41757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6031;
show create table s;
Table Create Table
@@ -41765,7 +41765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6030;
show create table s;
Table Create Table
@@ -41773,7 +41773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6029;
show create table s;
Table Create Table
@@ -41781,7 +41781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6028;
show create table s;
Table Create Table
@@ -41789,7 +41789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6027;
show create table s;
Table Create Table
@@ -41797,7 +41797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6026;
show create table s;
Table Create Table
@@ -41805,7 +41805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6025;
show create table s;
Table Create Table
@@ -41813,7 +41813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6024;
show create table s;
Table Create Table
@@ -41821,7 +41821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6023;
show create table s;
Table Create Table
@@ -41829,7 +41829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6022;
show create table s;
Table Create Table
@@ -41837,7 +41837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6021;
show create table s;
Table Create Table
@@ -41845,7 +41845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6020;
show create table s;
Table Create Table
@@ -41853,7 +41853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6019;
show create table s;
Table Create Table
@@ -41861,7 +41861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6018;
show create table s;
Table Create Table
@@ -41869,7 +41869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6017;
show create table s;
Table Create Table
@@ -41877,7 +41877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6016;
show create table s;
Table Create Table
@@ -41885,7 +41885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6015;
show create table s;
Table Create Table
@@ -41893,7 +41893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6014;
show create table s;
Table Create Table
@@ -41901,7 +41901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6013;
show create table s;
Table Create Table
@@ -41909,7 +41909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6012;
show create table s;
Table Create Table
@@ -41917,7 +41917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6011;
show create table s;
Table Create Table
@@ -41925,7 +41925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6010;
show create table s;
Table Create Table
@@ -41933,7 +41933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6009;
show create table s;
Table Create Table
@@ -41941,7 +41941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6008;
show create table s;
Table Create Table
@@ -41949,7 +41949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6007;
show create table s;
Table Create Table
@@ -41957,7 +41957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6006;
show create table s;
Table Create Table
@@ -41965,7 +41965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6005;
show create table s;
Table Create Table
@@ -41973,7 +41973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6004;
show create table s;
Table Create Table
@@ -41981,7 +41981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6003;
show create table s;
Table Create Table
@@ -41989,7 +41989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6002;
show create table s;
Table Create Table
@@ -41997,7 +41997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6001;
show create table s;
Table Create Table
@@ -42005,7 +42005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6000;
show create table s;
Table Create Table
@@ -42013,7 +42013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5999;
show create table s;
Table Create Table
@@ -42021,7 +42021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5998;
show create table s;
Table Create Table
@@ -42029,7 +42029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5997;
show create table s;
Table Create Table
@@ -42037,7 +42037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5996;
show create table s;
Table Create Table
@@ -42045,7 +42045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5995;
show create table s;
Table Create Table
@@ -42053,7 +42053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5994;
show create table s;
Table Create Table
@@ -42061,7 +42061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5993;
show create table s;
Table Create Table
@@ -42069,7 +42069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5992;
show create table s;
Table Create Table
@@ -42077,7 +42077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5991;
show create table s;
Table Create Table
@@ -42085,7 +42085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5990;
show create table s;
Table Create Table
@@ -42093,7 +42093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5989;
show create table s;
Table Create Table
@@ -42101,7 +42101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5988;
show create table s;
Table Create Table
@@ -42109,7 +42109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5987;
show create table s;
Table Create Table
@@ -42117,7 +42117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5986;
show create table s;
Table Create Table
@@ -42125,7 +42125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5985;
show create table s;
Table Create Table
@@ -42133,7 +42133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5984;
show create table s;
Table Create Table
@@ -42141,7 +42141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5983;
show create table s;
Table Create Table
@@ -42149,7 +42149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5982;
show create table s;
Table Create Table
@@ -42157,7 +42157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5981;
show create table s;
Table Create Table
@@ -42165,7 +42165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5980;
show create table s;
Table Create Table
@@ -42173,7 +42173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5979;
show create table s;
Table Create Table
@@ -42181,7 +42181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5978;
show create table s;
Table Create Table
@@ -42189,7 +42189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5977;
show create table s;
Table Create Table
@@ -42197,7 +42197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5976;
show create table s;
Table Create Table
@@ -42205,7 +42205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5975;
show create table s;
Table Create Table
@@ -42213,7 +42213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5974;
show create table s;
Table Create Table
@@ -42221,7 +42221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5973;
show create table s;
Table Create Table
@@ -42229,7 +42229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5972;
show create table s;
Table Create Table
@@ -42237,7 +42237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5971;
show create table s;
Table Create Table
@@ -42245,7 +42245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5970;
show create table s;
Table Create Table
@@ -42253,7 +42253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5969;
show create table s;
Table Create Table
@@ -42261,7 +42261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5968;
show create table s;
Table Create Table
@@ -42269,7 +42269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5967;
show create table s;
Table Create Table
@@ -42277,7 +42277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5966;
show create table s;
Table Create Table
@@ -42285,7 +42285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5965;
show create table s;
Table Create Table
@@ -42293,7 +42293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5964;
show create table s;
Table Create Table
@@ -42301,7 +42301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5963;
show create table s;
Table Create Table
@@ -42309,7 +42309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5962;
show create table s;
Table Create Table
@@ -42317,7 +42317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5961;
show create table s;
Table Create Table
@@ -42325,7 +42325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5960;
show create table s;
Table Create Table
@@ -42333,7 +42333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5959;
show create table s;
Table Create Table
@@ -42341,7 +42341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5958;
show create table s;
Table Create Table
@@ -42349,7 +42349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5957;
show create table s;
Table Create Table
@@ -42357,7 +42357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5956;
show create table s;
Table Create Table
@@ -42365,7 +42365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5955;
show create table s;
Table Create Table
@@ -42373,7 +42373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5954;
show create table s;
Table Create Table
@@ -42381,7 +42381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5953;
show create table s;
Table Create Table
@@ -42389,7 +42389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5952;
show create table s;
Table Create Table
@@ -42397,7 +42397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5951;
show create table s;
Table Create Table
@@ -42405,7 +42405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5950;
show create table s;
Table Create Table
@@ -42413,7 +42413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5949;
show create table s;
Table Create Table
@@ -42421,7 +42421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5948;
show create table s;
Table Create Table
@@ -42429,7 +42429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5947;
show create table s;
Table Create Table
@@ -42437,7 +42437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5946;
show create table s;
Table Create Table
@@ -42445,7 +42445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5945;
show create table s;
Table Create Table
@@ -42453,7 +42453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5944;
show create table s;
Table Create Table
@@ -42461,7 +42461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5943;
show create table s;
Table Create Table
@@ -42469,7 +42469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5942;
show create table s;
Table Create Table
@@ -42477,7 +42477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5941;
show create table s;
Table Create Table
@@ -42485,7 +42485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5940;
show create table s;
Table Create Table
@@ -42493,7 +42493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5939;
show create table s;
Table Create Table
@@ -42501,7 +42501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5938;
show create table s;
Table Create Table
@@ -42509,7 +42509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5937;
show create table s;
Table Create Table
@@ -42517,7 +42517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5936;
show create table s;
Table Create Table
@@ -42525,7 +42525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5935;
show create table s;
Table Create Table
@@ -42533,7 +42533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5934;
show create table s;
Table Create Table
@@ -42541,7 +42541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5933;
show create table s;
Table Create Table
@@ -42549,7 +42549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5932;
show create table s;
Table Create Table
@@ -42557,7 +42557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5931;
show create table s;
Table Create Table
@@ -42565,7 +42565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5930;
show create table s;
Table Create Table
@@ -42573,7 +42573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5929;
show create table s;
Table Create Table
@@ -42581,7 +42581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5928;
show create table s;
Table Create Table
@@ -42589,7 +42589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5927;
show create table s;
Table Create Table
@@ -42597,7 +42597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5926;
show create table s;
Table Create Table
@@ -42605,7 +42605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5925;
show create table s;
Table Create Table
@@ -42613,7 +42613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5924;
show create table s;
Table Create Table
@@ -42621,7 +42621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5923;
show create table s;
Table Create Table
@@ -42629,7 +42629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5922;
show create table s;
Table Create Table
@@ -42637,7 +42637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5921;
show create table s;
Table Create Table
@@ -42645,7 +42645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5920;
show create table s;
Table Create Table
@@ -42653,7 +42653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5919;
show create table s;
Table Create Table
@@ -42661,7 +42661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5918;
show create table s;
Table Create Table
@@ -42669,7 +42669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5917;
show create table s;
Table Create Table
@@ -42677,7 +42677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5916;
show create table s;
Table Create Table
@@ -42685,7 +42685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5915;
show create table s;
Table Create Table
@@ -42693,7 +42693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5914;
show create table s;
Table Create Table
@@ -42701,7 +42701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5913;
show create table s;
Table Create Table
@@ -42709,7 +42709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5912;
show create table s;
Table Create Table
@@ -42717,7 +42717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5911;
show create table s;
Table Create Table
@@ -42725,7 +42725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5910;
show create table s;
Table Create Table
@@ -42733,7 +42733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5909;
show create table s;
Table Create Table
@@ -42741,7 +42741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5908;
show create table s;
Table Create Table
@@ -42749,7 +42749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5907;
show create table s;
Table Create Table
@@ -42757,7 +42757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5906;
show create table s;
Table Create Table
@@ -42765,7 +42765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5905;
show create table s;
Table Create Table
@@ -42773,7 +42773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5904;
show create table s;
Table Create Table
@@ -42781,7 +42781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5903;
show create table s;
Table Create Table
@@ -42789,7 +42789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5902;
show create table s;
Table Create Table
@@ -42797,7 +42797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5901;
show create table s;
Table Create Table
@@ -42805,7 +42805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5900;
show create table s;
Table Create Table
@@ -42813,7 +42813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5899;
show create table s;
Table Create Table
@@ -42821,7 +42821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5898;
show create table s;
Table Create Table
@@ -42829,7 +42829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5897;
show create table s;
Table Create Table
@@ -42837,7 +42837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5896;
show create table s;
Table Create Table
@@ -42845,7 +42845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5895;
show create table s;
Table Create Table
@@ -42853,7 +42853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5894;
show create table s;
Table Create Table
@@ -42861,7 +42861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5893;
show create table s;
Table Create Table
@@ -42869,7 +42869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5892;
show create table s;
Table Create Table
@@ -42877,7 +42877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5891;
show create table s;
Table Create Table
@@ -42885,7 +42885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5890;
show create table s;
Table Create Table
@@ -42893,7 +42893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5889;
show create table s;
Table Create Table
@@ -42901,7 +42901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5888;
show create table s;
Table Create Table
@@ -42909,7 +42909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5887;
show create table s;
Table Create Table
@@ -42917,7 +42917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5886;
show create table s;
Table Create Table
@@ -42925,7 +42925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5885;
show create table s;
Table Create Table
@@ -42933,7 +42933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5884;
show create table s;
Table Create Table
@@ -42941,7 +42941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5883;
show create table s;
Table Create Table
@@ -42949,7 +42949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5882;
show create table s;
Table Create Table
@@ -42957,7 +42957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5881;
show create table s;
Table Create Table
@@ -42965,7 +42965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5880;
show create table s;
Table Create Table
@@ -42973,7 +42973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5879;
show create table s;
Table Create Table
@@ -42981,7 +42981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5878;
show create table s;
Table Create Table
@@ -42989,7 +42989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5877;
show create table s;
Table Create Table
@@ -42997,7 +42997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5876;
show create table s;
Table Create Table
@@ -43005,7 +43005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5875;
show create table s;
Table Create Table
@@ -43013,7 +43013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5874;
show create table s;
Table Create Table
@@ -43021,7 +43021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5873;
show create table s;
Table Create Table
@@ -43029,7 +43029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5872;
show create table s;
Table Create Table
@@ -43037,7 +43037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5871;
show create table s;
Table Create Table
@@ -43045,7 +43045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5870;
show create table s;
Table Create Table
@@ -43053,7 +43053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5869;
show create table s;
Table Create Table
@@ -43061,7 +43061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5868;
show create table s;
Table Create Table
@@ -43069,7 +43069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5867;
show create table s;
Table Create Table
@@ -43077,7 +43077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5866;
show create table s;
Table Create Table
@@ -43085,7 +43085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5865;
show create table s;
Table Create Table
@@ -43093,7 +43093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5864;
show create table s;
Table Create Table
@@ -43101,7 +43101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5863;
show create table s;
Table Create Table
@@ -43109,7 +43109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5862;
show create table s;
Table Create Table
@@ -43117,7 +43117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5861;
show create table s;
Table Create Table
@@ -43125,7 +43125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5860;
show create table s;
Table Create Table
@@ -43133,7 +43133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5859;
show create table s;
Table Create Table
@@ -43141,7 +43141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5858;
show create table s;
Table Create Table
@@ -43149,7 +43149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5857;
show create table s;
Table Create Table
@@ -43157,7 +43157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5856;
show create table s;
Table Create Table
@@ -43165,7 +43165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5855;
show create table s;
Table Create Table
@@ -43173,7 +43173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5854;
show create table s;
Table Create Table
@@ -43181,7 +43181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5853;
show create table s;
Table Create Table
@@ -43189,7 +43189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5852;
show create table s;
Table Create Table
@@ -43197,7 +43197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5851;
show create table s;
Table Create Table
@@ -43205,7 +43205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5850;
show create table s;
Table Create Table
@@ -43213,7 +43213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5849;
show create table s;
Table Create Table
@@ -43221,7 +43221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5848;
show create table s;
Table Create Table
@@ -43229,7 +43229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5847;
show create table s;
Table Create Table
@@ -43237,7 +43237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5846;
show create table s;
Table Create Table
@@ -43245,7 +43245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5845;
show create table s;
Table Create Table
@@ -43253,7 +43253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5844;
show create table s;
Table Create Table
@@ -43261,7 +43261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5843;
show create table s;
Table Create Table
@@ -43269,7 +43269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5842;
show create table s;
Table Create Table
@@ -43277,7 +43277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5841;
show create table s;
Table Create Table
@@ -43285,7 +43285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5840;
show create table s;
Table Create Table
@@ -43293,7 +43293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5839;
show create table s;
Table Create Table
@@ -43301,7 +43301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5838;
show create table s;
Table Create Table
@@ -43309,7 +43309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5837;
show create table s;
Table Create Table
@@ -43317,7 +43317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5836;
show create table s;
Table Create Table
@@ -43325,7 +43325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5835;
show create table s;
Table Create Table
@@ -43333,7 +43333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5834;
show create table s;
Table Create Table
@@ -43341,7 +43341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5833;
show create table s;
Table Create Table
@@ -43349,7 +43349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5832;
show create table s;
Table Create Table
@@ -43357,7 +43357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5831;
show create table s;
Table Create Table
@@ -43365,7 +43365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5830;
show create table s;
Table Create Table
@@ -43373,7 +43373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5829;
show create table s;
Table Create Table
@@ -43381,7 +43381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5828;
show create table s;
Table Create Table
@@ -43389,7 +43389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5827;
show create table s;
Table Create Table
@@ -43397,7 +43397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5826;
show create table s;
Table Create Table
@@ -43405,7 +43405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5825;
show create table s;
Table Create Table
@@ -43413,7 +43413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5824;
show create table s;
Table Create Table
@@ -43421,7 +43421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5823;
show create table s;
Table Create Table
@@ -43429,7 +43429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5822;
show create table s;
Table Create Table
@@ -43437,7 +43437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5821;
show create table s;
Table Create Table
@@ -43445,7 +43445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5820;
show create table s;
Table Create Table
@@ -43453,7 +43453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5819;
show create table s;
Table Create Table
@@ -43461,7 +43461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5818;
show create table s;
Table Create Table
@@ -43469,7 +43469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5817;
show create table s;
Table Create Table
@@ -43477,7 +43477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5816;
show create table s;
Table Create Table
@@ -43485,7 +43485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5815;
show create table s;
Table Create Table
@@ -43493,7 +43493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5814;
show create table s;
Table Create Table
@@ -43501,7 +43501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5813;
show create table s;
Table Create Table
@@ -43509,7 +43509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5812;
show create table s;
Table Create Table
@@ -43517,7 +43517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5811;
show create table s;
Table Create Table
@@ -43525,7 +43525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5810;
show create table s;
Table Create Table
@@ -43533,7 +43533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5809;
show create table s;
Table Create Table
@@ -43541,7 +43541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5808;
show create table s;
Table Create Table
@@ -43549,7 +43549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5807;
show create table s;
Table Create Table
@@ -43557,7 +43557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5806;
show create table s;
Table Create Table
@@ -43565,7 +43565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5805;
show create table s;
Table Create Table
@@ -43573,7 +43573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5804;
show create table s;
Table Create Table
@@ -43581,7 +43581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5803;
show create table s;
Table Create Table
@@ -43589,7 +43589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5802;
show create table s;
Table Create Table
@@ -43597,7 +43597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5801;
show create table s;
Table Create Table
@@ -43605,7 +43605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5800;
show create table s;
Table Create Table
@@ -43613,7 +43613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5799;
show create table s;
Table Create Table
@@ -43621,7 +43621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5798;
show create table s;
Table Create Table
@@ -43629,7 +43629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5797;
show create table s;
Table Create Table
@@ -43637,7 +43637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5796;
show create table s;
Table Create Table
@@ -43645,7 +43645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5795;
show create table s;
Table Create Table
@@ -43653,7 +43653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5794;
show create table s;
Table Create Table
@@ -43661,7 +43661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5793;
show create table s;
Table Create Table
@@ -43669,7 +43669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5792;
show create table s;
Table Create Table
@@ -43677,7 +43677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5791;
show create table s;
Table Create Table
@@ -43685,7 +43685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5790;
show create table s;
Table Create Table
@@ -43693,7 +43693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5789;
show create table s;
Table Create Table
@@ -43701,7 +43701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5788;
show create table s;
Table Create Table
@@ -43709,7 +43709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5787;
show create table s;
Table Create Table
@@ -43717,7 +43717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5786;
show create table s;
Table Create Table
@@ -43725,7 +43725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5785;
show create table s;
Table Create Table
@@ -43733,7 +43733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5784;
show create table s;
Table Create Table
@@ -43741,7 +43741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5783;
show create table s;
Table Create Table
@@ -43749,7 +43749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5782;
show create table s;
Table Create Table
@@ -43757,7 +43757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5781;
show create table s;
Table Create Table
@@ -43765,7 +43765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5780;
show create table s;
Table Create Table
@@ -43773,7 +43773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5779;
show create table s;
Table Create Table
@@ -43781,7 +43781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5778;
show create table s;
Table Create Table
@@ -43789,7 +43789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5777;
show create table s;
Table Create Table
@@ -43797,7 +43797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5776;
show create table s;
Table Create Table
@@ -43805,7 +43805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5775;
show create table s;
Table Create Table
@@ -43813,7 +43813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5774;
show create table s;
Table Create Table
@@ -43821,7 +43821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5773;
show create table s;
Table Create Table
@@ -43829,7 +43829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5772;
show create table s;
Table Create Table
@@ -43837,7 +43837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5771;
show create table s;
Table Create Table
@@ -43845,7 +43845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5770;
show create table s;
Table Create Table
@@ -43853,7 +43853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5769;
show create table s;
Table Create Table
@@ -43861,7 +43861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5768;
show create table s;
Table Create Table
@@ -43869,7 +43869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5767;
show create table s;
Table Create Table
@@ -43877,7 +43877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5766;
show create table s;
Table Create Table
@@ -43885,7 +43885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5765;
show create table s;
Table Create Table
@@ -43893,7 +43893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5764;
show create table s;
Table Create Table
@@ -43901,7 +43901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5763;
show create table s;
Table Create Table
@@ -43909,7 +43909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5762;
show create table s;
Table Create Table
@@ -43917,7 +43917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5761;
show create table s;
Table Create Table
@@ -43925,7 +43925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5760;
show create table s;
Table Create Table
@@ -43933,7 +43933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5759;
show create table s;
Table Create Table
@@ -43941,7 +43941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5758;
show create table s;
Table Create Table
@@ -43949,7 +43949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5757;
show create table s;
Table Create Table
@@ -43957,7 +43957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5756;
show create table s;
Table Create Table
@@ -43965,7 +43965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5755;
show create table s;
Table Create Table
@@ -43973,7 +43973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5754;
show create table s;
Table Create Table
@@ -43981,7 +43981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5753;
show create table s;
Table Create Table
@@ -43989,7 +43989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5752;
show create table s;
Table Create Table
@@ -43997,7 +43997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5751;
show create table s;
Table Create Table
@@ -44005,7 +44005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5750;
show create table s;
Table Create Table
@@ -44013,7 +44013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5749;
show create table s;
Table Create Table
@@ -44021,7 +44021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5748;
show create table s;
Table Create Table
@@ -44029,7 +44029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5747;
show create table s;
Table Create Table
@@ -44037,7 +44037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5746;
show create table s;
Table Create Table
@@ -44045,7 +44045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5745;
show create table s;
Table Create Table
@@ -44053,7 +44053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5744;
show create table s;
Table Create Table
@@ -44061,7 +44061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5743;
show create table s;
Table Create Table
@@ -44069,7 +44069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5742;
show create table s;
Table Create Table
@@ -44077,7 +44077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5741;
show create table s;
Table Create Table
@@ -44085,7 +44085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5740;
show create table s;
Table Create Table
@@ -44093,7 +44093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5739;
show create table s;
Table Create Table
@@ -44101,7 +44101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5738;
show create table s;
Table Create Table
@@ -44109,7 +44109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5737;
show create table s;
Table Create Table
@@ -44117,7 +44117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5736;
show create table s;
Table Create Table
@@ -44125,7 +44125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5735;
show create table s;
Table Create Table
@@ -44133,7 +44133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5734;
show create table s;
Table Create Table
@@ -44141,7 +44141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5733;
show create table s;
Table Create Table
@@ -44149,7 +44149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5732;
show create table s;
Table Create Table
@@ -44157,7 +44157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5731;
show create table s;
Table Create Table
@@ -44165,7 +44165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5730;
show create table s;
Table Create Table
@@ -44173,7 +44173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5729;
show create table s;
Table Create Table
@@ -44181,7 +44181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5728;
show create table s;
Table Create Table
@@ -44189,7 +44189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5727;
show create table s;
Table Create Table
@@ -44197,7 +44197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5726;
show create table s;
Table Create Table
@@ -44205,7 +44205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5725;
show create table s;
Table Create Table
@@ -44213,7 +44213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5724;
show create table s;
Table Create Table
@@ -44221,7 +44221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5723;
show create table s;
Table Create Table
@@ -44229,7 +44229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5722;
show create table s;
Table Create Table
@@ -44237,7 +44237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5721;
show create table s;
Table Create Table
@@ -44245,7 +44245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5720;
show create table s;
Table Create Table
@@ -44253,7 +44253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5719;
show create table s;
Table Create Table
@@ -44261,7 +44261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5718;
show create table s;
Table Create Table
@@ -44269,7 +44269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5717;
show create table s;
Table Create Table
@@ -44277,7 +44277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5716;
show create table s;
Table Create Table
@@ -44285,7 +44285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5715;
show create table s;
Table Create Table
@@ -44293,7 +44293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5714;
show create table s;
Table Create Table
@@ -44301,7 +44301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5713;
show create table s;
Table Create Table
@@ -44309,7 +44309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5712;
show create table s;
Table Create Table
@@ -44317,7 +44317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5711;
show create table s;
Table Create Table
@@ -44325,7 +44325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5710;
show create table s;
Table Create Table
@@ -44333,7 +44333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5709;
show create table s;
Table Create Table
@@ -44341,7 +44341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5708;
show create table s;
Table Create Table
@@ -44349,7 +44349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5707;
show create table s;
Table Create Table
@@ -44357,7 +44357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5706;
show create table s;
Table Create Table
@@ -44365,7 +44365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5705;
show create table s;
Table Create Table
@@ -44373,7 +44373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5704;
show create table s;
Table Create Table
@@ -44381,7 +44381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5703;
show create table s;
Table Create Table
@@ -44389,7 +44389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5702;
show create table s;
Table Create Table
@@ -44397,7 +44397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5701;
show create table s;
Table Create Table
@@ -44405,7 +44405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5700;
show create table s;
Table Create Table
@@ -44413,7 +44413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5699;
show create table s;
Table Create Table
@@ -44421,7 +44421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5698;
show create table s;
Table Create Table
@@ -44429,7 +44429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5697;
show create table s;
Table Create Table
@@ -44437,7 +44437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5696;
show create table s;
Table Create Table
@@ -44445,7 +44445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5695;
show create table s;
Table Create Table
@@ -44453,7 +44453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5694;
show create table s;
Table Create Table
@@ -44461,7 +44461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5693;
show create table s;
Table Create Table
@@ -44469,7 +44469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5692;
show create table s;
Table Create Table
@@ -44477,7 +44477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5691;
show create table s;
Table Create Table
@@ -44485,7 +44485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5690;
show create table s;
Table Create Table
@@ -44493,7 +44493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5689;
show create table s;
Table Create Table
@@ -44501,7 +44501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5688;
show create table s;
Table Create Table
@@ -44509,7 +44509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5687;
show create table s;
Table Create Table
@@ -44517,7 +44517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5686;
show create table s;
Table Create Table
@@ -44525,7 +44525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5685;
show create table s;
Table Create Table
@@ -44533,7 +44533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5684;
show create table s;
Table Create Table
@@ -44541,7 +44541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5683;
show create table s;
Table Create Table
@@ -44549,7 +44549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5682;
show create table s;
Table Create Table
@@ -44557,7 +44557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5681;
show create table s;
Table Create Table
@@ -44565,7 +44565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5680;
show create table s;
Table Create Table
@@ -44573,7 +44573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5679;
show create table s;
Table Create Table
@@ -44581,7 +44581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5678;
show create table s;
Table Create Table
@@ -44589,7 +44589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5677;
show create table s;
Table Create Table
@@ -44597,7 +44597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5676;
show create table s;
Table Create Table
@@ -44605,7 +44605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5675;
show create table s;
Table Create Table
@@ -44613,7 +44613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5674;
show create table s;
Table Create Table
@@ -44621,7 +44621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5673;
show create table s;
Table Create Table
@@ -44629,7 +44629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5672;
show create table s;
Table Create Table
@@ -44637,7 +44637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5671;
show create table s;
Table Create Table
@@ -44645,7 +44645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5670;
show create table s;
Table Create Table
@@ -44653,7 +44653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5669;
show create table s;
Table Create Table
@@ -44661,7 +44661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5668;
show create table s;
Table Create Table
@@ -44669,7 +44669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5667;
show create table s;
Table Create Table
@@ -44677,7 +44677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5666;
show create table s;
Table Create Table
@@ -44685,7 +44685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5665;
show create table s;
Table Create Table
@@ -44693,7 +44693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5664;
show create table s;
Table Create Table
@@ -44701,7 +44701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5663;
show create table s;
Table Create Table
@@ -44709,7 +44709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5662;
show create table s;
Table Create Table
@@ -44717,7 +44717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5661;
show create table s;
Table Create Table
@@ -44725,7 +44725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5660;
show create table s;
Table Create Table
@@ -44733,7 +44733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5659;
show create table s;
Table Create Table
@@ -44741,7 +44741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5658;
show create table s;
Table Create Table
@@ -44749,7 +44749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5657;
show create table s;
Table Create Table
@@ -44757,7 +44757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5656;
show create table s;
Table Create Table
@@ -44765,7 +44765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5655;
show create table s;
Table Create Table
@@ -44773,7 +44773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5654;
show create table s;
Table Create Table
@@ -44781,7 +44781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5653;
show create table s;
Table Create Table
@@ -44789,7 +44789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5652;
show create table s;
Table Create Table
@@ -44797,7 +44797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5651;
show create table s;
Table Create Table
@@ -44805,7 +44805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5650;
show create table s;
Table Create Table
@@ -44813,7 +44813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5649;
show create table s;
Table Create Table
@@ -44821,7 +44821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5648;
show create table s;
Table Create Table
@@ -44829,7 +44829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5647;
show create table s;
Table Create Table
@@ -44837,7 +44837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5646;
show create table s;
Table Create Table
@@ -44845,7 +44845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5645;
show create table s;
Table Create Table
@@ -44853,7 +44853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5644;
show create table s;
Table Create Table
@@ -44861,7 +44861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5643;
show create table s;
Table Create Table
@@ -44869,7 +44869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5642;
show create table s;
Table Create Table
@@ -44877,7 +44877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5641;
show create table s;
Table Create Table
@@ -44885,7 +44885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5640;
show create table s;
Table Create Table
@@ -44893,7 +44893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5639;
show create table s;
Table Create Table
@@ -44901,7 +44901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5638;
show create table s;
Table Create Table
@@ -44909,7 +44909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5637;
show create table s;
Table Create Table
@@ -44917,7 +44917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5636;
show create table s;
Table Create Table
@@ -44925,7 +44925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5635;
show create table s;
Table Create Table
@@ -44933,7 +44933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5634;
show create table s;
Table Create Table
@@ -44941,7 +44941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5633;
show create table s;
Table Create Table
@@ -44949,7 +44949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5632;
show create table s;
Table Create Table
@@ -44957,7 +44957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5631;
show create table s;
Table Create Table
@@ -44965,7 +44965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5630;
show create table s;
Table Create Table
@@ -44973,7 +44973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5629;
show create table s;
Table Create Table
@@ -44981,7 +44981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5628;
show create table s;
Table Create Table
@@ -44989,7 +44989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5627;
show create table s;
Table Create Table
@@ -44997,7 +44997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5626;
show create table s;
Table Create Table
@@ -45005,7 +45005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5625;
show create table s;
Table Create Table
@@ -45013,7 +45013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5624;
show create table s;
Table Create Table
@@ -45021,7 +45021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5623;
show create table s;
Table Create Table
@@ -45029,7 +45029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5622;
show create table s;
Table Create Table
@@ -45037,7 +45037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5621;
show create table s;
Table Create Table
@@ -45045,7 +45045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5620;
show create table s;
Table Create Table
@@ -45053,7 +45053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5619;
show create table s;
Table Create Table
@@ -45061,7 +45061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5618;
show create table s;
Table Create Table
@@ -45069,7 +45069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5617;
show create table s;
Table Create Table
@@ -45077,7 +45077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5616;
show create table s;
Table Create Table
@@ -45085,7 +45085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5615;
show create table s;
Table Create Table
@@ -45093,7 +45093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5614;
show create table s;
Table Create Table
@@ -45101,7 +45101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5613;
show create table s;
Table Create Table
@@ -45109,7 +45109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5612;
show create table s;
Table Create Table
@@ -45117,7 +45117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5611;
show create table s;
Table Create Table
@@ -45125,7 +45125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5610;
show create table s;
Table Create Table
@@ -45133,7 +45133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5609;
show create table s;
Table Create Table
@@ -45141,7 +45141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5608;
show create table s;
Table Create Table
@@ -45149,7 +45149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5607;
show create table s;
Table Create Table
@@ -45157,7 +45157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5606;
show create table s;
Table Create Table
@@ -45165,7 +45165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5605;
show create table s;
Table Create Table
@@ -45173,7 +45173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5604;
show create table s;
Table Create Table
@@ -45181,7 +45181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5603;
show create table s;
Table Create Table
@@ -45189,7 +45189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5602;
show create table s;
Table Create Table
@@ -45197,7 +45197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5601;
show create table s;
Table Create Table
@@ -45205,7 +45205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5600;
show create table s;
Table Create Table
@@ -45213,7 +45213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5599;
show create table s;
Table Create Table
@@ -45221,7 +45221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5598;
show create table s;
Table Create Table
@@ -45229,7 +45229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5597;
show create table s;
Table Create Table
@@ -45237,7 +45237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5596;
show create table s;
Table Create Table
@@ -45245,7 +45245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5595;
show create table s;
Table Create Table
@@ -45253,7 +45253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5594;
show create table s;
Table Create Table
@@ -45261,7 +45261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5593;
show create table s;
Table Create Table
@@ -45269,7 +45269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5592;
show create table s;
Table Create Table
@@ -45277,7 +45277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5591;
show create table s;
Table Create Table
@@ -45285,7 +45285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5590;
show create table s;
Table Create Table
@@ -45293,7 +45293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5589;
show create table s;
Table Create Table
@@ -45301,7 +45301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5588;
show create table s;
Table Create Table
@@ -45309,7 +45309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5587;
show create table s;
Table Create Table
@@ -45317,7 +45317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5586;
show create table s;
Table Create Table
@@ -45325,7 +45325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5585;
show create table s;
Table Create Table
@@ -45333,7 +45333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5584;
show create table s;
Table Create Table
@@ -45341,7 +45341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5583;
show create table s;
Table Create Table
@@ -45349,7 +45349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5582;
show create table s;
Table Create Table
@@ -45357,7 +45357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5581;
show create table s;
Table Create Table
@@ -45365,7 +45365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5580;
show create table s;
Table Create Table
@@ -45373,7 +45373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5579;
show create table s;
Table Create Table
@@ -45381,7 +45381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5578;
show create table s;
Table Create Table
@@ -45389,7 +45389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5577;
show create table s;
Table Create Table
@@ -45397,7 +45397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5576;
show create table s;
Table Create Table
@@ -45405,7 +45405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5575;
show create table s;
Table Create Table
@@ -45413,7 +45413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5574;
show create table s;
Table Create Table
@@ -45421,7 +45421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5573;
show create table s;
Table Create Table
@@ -45429,7 +45429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5572;
show create table s;
Table Create Table
@@ -45437,7 +45437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5571;
show create table s;
Table Create Table
@@ -45445,7 +45445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5570;
show create table s;
Table Create Table
@@ -45453,7 +45453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5569;
show create table s;
Table Create Table
@@ -45461,7 +45461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5568;
show create table s;
Table Create Table
@@ -45469,7 +45469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5567;
show create table s;
Table Create Table
@@ -45477,7 +45477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5566;
show create table s;
Table Create Table
@@ -45485,7 +45485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5565;
show create table s;
Table Create Table
@@ -45493,7 +45493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5564;
show create table s;
Table Create Table
@@ -45501,7 +45501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5563;
show create table s;
Table Create Table
@@ -45509,7 +45509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5562;
show create table s;
Table Create Table
@@ -45517,7 +45517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5561;
show create table s;
Table Create Table
@@ -45525,7 +45525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5560;
show create table s;
Table Create Table
@@ -45533,7 +45533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5559;
show create table s;
Table Create Table
@@ -45541,7 +45541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5558;
show create table s;
Table Create Table
@@ -45549,7 +45549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5557;
show create table s;
Table Create Table
@@ -45557,7 +45557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5556;
show create table s;
Table Create Table
@@ -45565,7 +45565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5555;
show create table s;
Table Create Table
@@ -45573,7 +45573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5554;
show create table s;
Table Create Table
@@ -45581,7 +45581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5553;
show create table s;
Table Create Table
@@ -45589,7 +45589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5552;
show create table s;
Table Create Table
@@ -45597,7 +45597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5551;
show create table s;
Table Create Table
@@ -45605,7 +45605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5550;
show create table s;
Table Create Table
@@ -45613,7 +45613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5549;
show create table s;
Table Create Table
@@ -45621,7 +45621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5548;
show create table s;
Table Create Table
@@ -45629,7 +45629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5547;
show create table s;
Table Create Table
@@ -45637,7 +45637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5546;
show create table s;
Table Create Table
@@ -45645,7 +45645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5545;
show create table s;
Table Create Table
@@ -45653,7 +45653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5544;
show create table s;
Table Create Table
@@ -45661,7 +45661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5543;
show create table s;
Table Create Table
@@ -45669,7 +45669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5542;
show create table s;
Table Create Table
@@ -45677,7 +45677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5541;
show create table s;
Table Create Table
@@ -45685,7 +45685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5540;
show create table s;
Table Create Table
@@ -45693,7 +45693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5539;
show create table s;
Table Create Table
@@ -45701,7 +45701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5538;
show create table s;
Table Create Table
@@ -45709,7 +45709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5537;
show create table s;
Table Create Table
@@ -45717,7 +45717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5536;
show create table s;
Table Create Table
@@ -45725,7 +45725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5535;
show create table s;
Table Create Table
@@ -45733,7 +45733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5534;
show create table s;
Table Create Table
@@ -45741,7 +45741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5533;
show create table s;
Table Create Table
@@ -45749,7 +45749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5532;
show create table s;
Table Create Table
@@ -45757,7 +45757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5531;
show create table s;
Table Create Table
@@ -45765,7 +45765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5530;
show create table s;
Table Create Table
@@ -45773,7 +45773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5529;
show create table s;
Table Create Table
@@ -45781,7 +45781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5528;
show create table s;
Table Create Table
@@ -45789,7 +45789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5527;
show create table s;
Table Create Table
@@ -45797,7 +45797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5526;
show create table s;
Table Create Table
@@ -45805,7 +45805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5525;
show create table s;
Table Create Table
@@ -45813,7 +45813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5524;
show create table s;
Table Create Table
@@ -45821,7 +45821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5523;
show create table s;
Table Create Table
@@ -45829,7 +45829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5522;
show create table s;
Table Create Table
@@ -45837,7 +45837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5521;
show create table s;
Table Create Table
@@ -45845,7 +45845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5520;
show create table s;
Table Create Table
@@ -45853,7 +45853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5519;
show create table s;
Table Create Table
@@ -45861,7 +45861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5518;
show create table s;
Table Create Table
@@ -45869,7 +45869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5517;
show create table s;
Table Create Table
@@ -45877,7 +45877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5516;
show create table s;
Table Create Table
@@ -45885,7 +45885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5515;
show create table s;
Table Create Table
@@ -45893,7 +45893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5514;
show create table s;
Table Create Table
@@ -45901,7 +45901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5513;
show create table s;
Table Create Table
@@ -45909,7 +45909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5512;
show create table s;
Table Create Table
@@ -45917,7 +45917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5511;
show create table s;
Table Create Table
@@ -45925,7 +45925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5510;
show create table s;
Table Create Table
@@ -45933,7 +45933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5509;
show create table s;
Table Create Table
@@ -45941,7 +45941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5508;
show create table s;
Table Create Table
@@ -45949,7 +45949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5507;
show create table s;
Table Create Table
@@ -45957,7 +45957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5506;
show create table s;
Table Create Table
@@ -45965,7 +45965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5505;
show create table s;
Table Create Table
@@ -45973,7 +45973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5504;
show create table s;
Table Create Table
@@ -45981,7 +45981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5503;
show create table s;
Table Create Table
@@ -45989,7 +45989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5502;
show create table s;
Table Create Table
@@ -45997,7 +45997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5501;
show create table s;
Table Create Table
@@ -46005,7 +46005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5500;
show create table s;
Table Create Table
@@ -46013,7 +46013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5499;
show create table s;
Table Create Table
@@ -46021,7 +46021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5498;
show create table s;
Table Create Table
@@ -46029,7 +46029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5497;
show create table s;
Table Create Table
@@ -46037,7 +46037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5496;
show create table s;
Table Create Table
@@ -46045,7 +46045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5495;
show create table s;
Table Create Table
@@ -46053,7 +46053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5494;
show create table s;
Table Create Table
@@ -46061,7 +46061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5493;
show create table s;
Table Create Table
@@ -46069,7 +46069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5492;
show create table s;
Table Create Table
@@ -46077,7 +46077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5491;
show create table s;
Table Create Table
@@ -46085,7 +46085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5490;
show create table s;
Table Create Table
@@ -46093,7 +46093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5489;
show create table s;
Table Create Table
@@ -46101,7 +46101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5488;
show create table s;
Table Create Table
@@ -46109,7 +46109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5487;
show create table s;
Table Create Table
@@ -46117,7 +46117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5486;
show create table s;
Table Create Table
@@ -46125,7 +46125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5485;
show create table s;
Table Create Table
@@ -46133,7 +46133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5484;
show create table s;
Table Create Table
@@ -46141,7 +46141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5483;
show create table s;
Table Create Table
@@ -46149,7 +46149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5482;
show create table s;
Table Create Table
@@ -46157,7 +46157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5481;
show create table s;
Table Create Table
@@ -46165,7 +46165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5480;
show create table s;
Table Create Table
@@ -46173,7 +46173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5479;
show create table s;
Table Create Table
@@ -46181,7 +46181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5478;
show create table s;
Table Create Table
@@ -46189,7 +46189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5477;
show create table s;
Table Create Table
@@ -46197,7 +46197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5476;
show create table s;
Table Create Table
@@ -46205,7 +46205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5475;
show create table s;
Table Create Table
@@ -46213,7 +46213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5474;
show create table s;
Table Create Table
@@ -46221,7 +46221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5473;
show create table s;
Table Create Table
@@ -46229,7 +46229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5472;
show create table s;
Table Create Table
@@ -46237,7 +46237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5471;
show create table s;
Table Create Table
@@ -46245,7 +46245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5470;
show create table s;
Table Create Table
@@ -46253,7 +46253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5469;
show create table s;
Table Create Table
@@ -46261,7 +46261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5468;
show create table s;
Table Create Table
@@ -46269,7 +46269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5467;
show create table s;
Table Create Table
@@ -46277,7 +46277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5466;
show create table s;
Table Create Table
@@ -46285,7 +46285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5465;
show create table s;
Table Create Table
@@ -46293,7 +46293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5464;
show create table s;
Table Create Table
@@ -46301,7 +46301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5463;
show create table s;
Table Create Table
@@ -46309,7 +46309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5462;
show create table s;
Table Create Table
@@ -46317,7 +46317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5461;
show create table s;
Table Create Table
@@ -46325,7 +46325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5460;
show create table s;
Table Create Table
@@ -46333,7 +46333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5459;
show create table s;
Table Create Table
@@ -46341,7 +46341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5458;
show create table s;
Table Create Table
@@ -46349,7 +46349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5457;
show create table s;
Table Create Table
@@ -46357,7 +46357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5456;
show create table s;
Table Create Table
@@ -46365,7 +46365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5455;
show create table s;
Table Create Table
@@ -46373,7 +46373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5454;
show create table s;
Table Create Table
@@ -46381,7 +46381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5453;
show create table s;
Table Create Table
@@ -46389,7 +46389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5452;
show create table s;
Table Create Table
@@ -46397,7 +46397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5451;
show create table s;
Table Create Table
@@ -46405,7 +46405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5450;
show create table s;
Table Create Table
@@ -46413,7 +46413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5449;
show create table s;
Table Create Table
@@ -46421,7 +46421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5448;
show create table s;
Table Create Table
@@ -46429,7 +46429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5447;
show create table s;
Table Create Table
@@ -46437,7 +46437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5446;
show create table s;
Table Create Table
@@ -46445,7 +46445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5445;
show create table s;
Table Create Table
@@ -46453,7 +46453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5444;
show create table s;
Table Create Table
@@ -46461,7 +46461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5443;
show create table s;
Table Create Table
@@ -46469,7 +46469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5442;
show create table s;
Table Create Table
@@ -46477,7 +46477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5441;
show create table s;
Table Create Table
@@ -46485,7 +46485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5440;
show create table s;
Table Create Table
@@ -46493,7 +46493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5439;
show create table s;
Table Create Table
@@ -46501,7 +46501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5438;
show create table s;
Table Create Table
@@ -46509,7 +46509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5437;
show create table s;
Table Create Table
@@ -46517,7 +46517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5436;
show create table s;
Table Create Table
@@ -46525,7 +46525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5435;
show create table s;
Table Create Table
@@ -46533,7 +46533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5434;
show create table s;
Table Create Table
@@ -46541,7 +46541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5433;
show create table s;
Table Create Table
@@ -46549,7 +46549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5432;
show create table s;
Table Create Table
@@ -46557,7 +46557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5431;
show create table s;
Table Create Table
@@ -46565,7 +46565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5430;
show create table s;
Table Create Table
@@ -46573,7 +46573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5429;
show create table s;
Table Create Table
@@ -46581,7 +46581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5428;
show create table s;
Table Create Table
@@ -46589,7 +46589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5427;
show create table s;
Table Create Table
@@ -46597,7 +46597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5426;
show create table s;
Table Create Table
@@ -46605,7 +46605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5425;
show create table s;
Table Create Table
@@ -46613,7 +46613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5424;
show create table s;
Table Create Table
@@ -46621,7 +46621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5423;
show create table s;
Table Create Table
@@ -46629,7 +46629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5422;
show create table s;
Table Create Table
@@ -46637,7 +46637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5421;
show create table s;
Table Create Table
@@ -46645,7 +46645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5420;
show create table s;
Table Create Table
@@ -46653,7 +46653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5419;
show create table s;
Table Create Table
@@ -46661,7 +46661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5418;
show create table s;
Table Create Table
@@ -46669,7 +46669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5417;
show create table s;
Table Create Table
@@ -46677,7 +46677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5416;
show create table s;
Table Create Table
@@ -46685,7 +46685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5415;
show create table s;
Table Create Table
@@ -46693,7 +46693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5414;
show create table s;
Table Create Table
@@ -46701,7 +46701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5413;
show create table s;
Table Create Table
@@ -46709,7 +46709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5412;
show create table s;
Table Create Table
@@ -46717,7 +46717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5411;
show create table s;
Table Create Table
@@ -46725,7 +46725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5410;
show create table s;
Table Create Table
@@ -46733,7 +46733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5409;
show create table s;
Table Create Table
@@ -46741,7 +46741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5408;
show create table s;
Table Create Table
@@ -46749,7 +46749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5407;
show create table s;
Table Create Table
@@ -46757,7 +46757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5406;
show create table s;
Table Create Table
@@ -46765,7 +46765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5405;
show create table s;
Table Create Table
@@ -46773,7 +46773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5404;
show create table s;
Table Create Table
@@ -46781,7 +46781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5403;
show create table s;
Table Create Table
@@ -46789,7 +46789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5402;
show create table s;
Table Create Table
@@ -46797,7 +46797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5401;
show create table s;
Table Create Table
@@ -46805,7 +46805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5400;
show create table s;
Table Create Table
@@ -46813,7 +46813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5399;
show create table s;
Table Create Table
@@ -46821,7 +46821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5398;
show create table s;
Table Create Table
@@ -46829,7 +46829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5397;
show create table s;
Table Create Table
@@ -46837,7 +46837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5396;
show create table s;
Table Create Table
@@ -46845,7 +46845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5395;
show create table s;
Table Create Table
@@ -46853,7 +46853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5394;
show create table s;
Table Create Table
@@ -46861,7 +46861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5393;
show create table s;
Table Create Table
@@ -46869,7 +46869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5392;
show create table s;
Table Create Table
@@ -46877,7 +46877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5391;
show create table s;
Table Create Table
@@ -46885,7 +46885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5390;
show create table s;
Table Create Table
@@ -46893,7 +46893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5389;
show create table s;
Table Create Table
@@ -46901,7 +46901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5388;
show create table s;
Table Create Table
@@ -46909,7 +46909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5387;
show create table s;
Table Create Table
@@ -46917,7 +46917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5386;
show create table s;
Table Create Table
@@ -46925,7 +46925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5385;
show create table s;
Table Create Table
@@ -46933,7 +46933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5384;
show create table s;
Table Create Table
@@ -46941,7 +46941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5383;
show create table s;
Table Create Table
@@ -46949,7 +46949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5382;
show create table s;
Table Create Table
@@ -46957,7 +46957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5381;
show create table s;
Table Create Table
@@ -46965,7 +46965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5380;
show create table s;
Table Create Table
@@ -46973,7 +46973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5379;
show create table s;
Table Create Table
@@ -46981,7 +46981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5378;
show create table s;
Table Create Table
@@ -46989,7 +46989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5377;
show create table s;
Table Create Table
@@ -46997,7 +46997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5376;
show create table s;
Table Create Table
@@ -47005,7 +47005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5375;
show create table s;
Table Create Table
@@ -47013,7 +47013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5374;
show create table s;
Table Create Table
@@ -47021,7 +47021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5373;
show create table s;
Table Create Table
@@ -47029,7 +47029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5372;
show create table s;
Table Create Table
@@ -47037,7 +47037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5371;
show create table s;
Table Create Table
@@ -47045,7 +47045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5370;
show create table s;
Table Create Table
@@ -47053,7 +47053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5369;
show create table s;
Table Create Table
@@ -47061,7 +47061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5368;
show create table s;
Table Create Table
@@ -47069,7 +47069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5367;
show create table s;
Table Create Table
@@ -47077,7 +47077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5366;
show create table s;
Table Create Table
@@ -47085,7 +47085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5365;
show create table s;
Table Create Table
@@ -47093,7 +47093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5364;
show create table s;
Table Create Table
@@ -47101,7 +47101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5363;
show create table s;
Table Create Table
@@ -47109,7 +47109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5362;
show create table s;
Table Create Table
@@ -47117,7 +47117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5361;
show create table s;
Table Create Table
@@ -47125,7 +47125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5360;
show create table s;
Table Create Table
@@ -47133,7 +47133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5359;
show create table s;
Table Create Table
@@ -47141,7 +47141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5358;
show create table s;
Table Create Table
@@ -47149,7 +47149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5357;
show create table s;
Table Create Table
@@ -47157,7 +47157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5356;
show create table s;
Table Create Table
@@ -47165,7 +47165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5355;
show create table s;
Table Create Table
@@ -47173,7 +47173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5354;
show create table s;
Table Create Table
@@ -47181,7 +47181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5353;
show create table s;
Table Create Table
@@ -47189,7 +47189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5352;
show create table s;
Table Create Table
@@ -47197,7 +47197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5351;
show create table s;
Table Create Table
@@ -47205,7 +47205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5350;
show create table s;
Table Create Table
@@ -47213,7 +47213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5349;
show create table s;
Table Create Table
@@ -47221,7 +47221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5348;
show create table s;
Table Create Table
@@ -47229,7 +47229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5347;
show create table s;
Table Create Table
@@ -47237,7 +47237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5346;
show create table s;
Table Create Table
@@ -47245,7 +47245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5345;
show create table s;
Table Create Table
@@ -47253,7 +47253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5344;
show create table s;
Table Create Table
@@ -47261,7 +47261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5343;
show create table s;
Table Create Table
@@ -47269,7 +47269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5342;
show create table s;
Table Create Table
@@ -47277,7 +47277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5341;
show create table s;
Table Create Table
@@ -47285,7 +47285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5340;
show create table s;
Table Create Table
@@ -47293,7 +47293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5339;
show create table s;
Table Create Table
@@ -47301,7 +47301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5338;
show create table s;
Table Create Table
@@ -47309,7 +47309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5337;
show create table s;
Table Create Table
@@ -47317,7 +47317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5336;
show create table s;
Table Create Table
@@ -47325,7 +47325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5335;
show create table s;
Table Create Table
@@ -47333,7 +47333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5334;
show create table s;
Table Create Table
@@ -47341,7 +47341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5333;
show create table s;
Table Create Table
@@ -47349,7 +47349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5332;
show create table s;
Table Create Table
@@ -47357,7 +47357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5331;
show create table s;
Table Create Table
@@ -47365,7 +47365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5330;
show create table s;
Table Create Table
@@ -47373,7 +47373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5329;
show create table s;
Table Create Table
@@ -47381,7 +47381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5328;
show create table s;
Table Create Table
@@ -47389,7 +47389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5327;
show create table s;
Table Create Table
@@ -47397,7 +47397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5326;
show create table s;
Table Create Table
@@ -47405,7 +47405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5325;
show create table s;
Table Create Table
@@ -47413,7 +47413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5324;
show create table s;
Table Create Table
@@ -47421,7 +47421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5323;
show create table s;
Table Create Table
@@ -47429,7 +47429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5322;
show create table s;
Table Create Table
@@ -47437,7 +47437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5321;
show create table s;
Table Create Table
@@ -47445,7 +47445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5320;
show create table s;
Table Create Table
@@ -47453,7 +47453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5319;
show create table s;
Table Create Table
@@ -47461,7 +47461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5318;
show create table s;
Table Create Table
@@ -47469,7 +47469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5317;
show create table s;
Table Create Table
@@ -47477,7 +47477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5316;
show create table s;
Table Create Table
@@ -47485,7 +47485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5315;
show create table s;
Table Create Table
@@ -47493,7 +47493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5314;
show create table s;
Table Create Table
@@ -47501,7 +47501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5313;
show create table s;
Table Create Table
@@ -47509,7 +47509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5312;
show create table s;
Table Create Table
@@ -47517,7 +47517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5311;
show create table s;
Table Create Table
@@ -47525,7 +47525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5310;
show create table s;
Table Create Table
@@ -47533,7 +47533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5309;
show create table s;
Table Create Table
@@ -47541,7 +47541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5308;
show create table s;
Table Create Table
@@ -47549,7 +47549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5307;
show create table s;
Table Create Table
@@ -47557,7 +47557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5306;
show create table s;
Table Create Table
@@ -47565,7 +47565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5305;
show create table s;
Table Create Table
@@ -47573,7 +47573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5304;
show create table s;
Table Create Table
@@ -47581,7 +47581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5303;
show create table s;
Table Create Table
@@ -47589,7 +47589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5302;
show create table s;
Table Create Table
@@ -47597,7 +47597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5301;
show create table s;
Table Create Table
@@ -47605,7 +47605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5300;
show create table s;
Table Create Table
@@ -47613,7 +47613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5299;
show create table s;
Table Create Table
@@ -47621,7 +47621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5298;
show create table s;
Table Create Table
@@ -47629,7 +47629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5297;
show create table s;
Table Create Table
@@ -47637,7 +47637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5296;
show create table s;
Table Create Table
@@ -47645,7 +47645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5295;
show create table s;
Table Create Table
@@ -47653,7 +47653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5294;
show create table s;
Table Create Table
@@ -47661,7 +47661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5293;
show create table s;
Table Create Table
@@ -47669,7 +47669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5292;
show create table s;
Table Create Table
@@ -47677,7 +47677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5291;
show create table s;
Table Create Table
@@ -47685,7 +47685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5290;
show create table s;
Table Create Table
@@ -47693,7 +47693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5289;
show create table s;
Table Create Table
@@ -47701,7 +47701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5288;
show create table s;
Table Create Table
@@ -47709,7 +47709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5287;
show create table s;
Table Create Table
@@ -47717,7 +47717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5286;
show create table s;
Table Create Table
@@ -47725,7 +47725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5285;
show create table s;
Table Create Table
@@ -47733,7 +47733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5284;
show create table s;
Table Create Table
@@ -47741,7 +47741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5283;
show create table s;
Table Create Table
@@ -47749,7 +47749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5282;
show create table s;
Table Create Table
@@ -47757,7 +47757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5281;
show create table s;
Table Create Table
@@ -47765,7 +47765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5280;
show create table s;
Table Create Table
@@ -47773,7 +47773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5279;
show create table s;
Table Create Table
@@ -47781,7 +47781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5278;
show create table s;
Table Create Table
@@ -47789,7 +47789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5277;
show create table s;
Table Create Table
@@ -47797,7 +47797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5276;
show create table s;
Table Create Table
@@ -47805,7 +47805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5275;
show create table s;
Table Create Table
@@ -47813,7 +47813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5274;
show create table s;
Table Create Table
@@ -47821,7 +47821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5273;
show create table s;
Table Create Table
@@ -47829,7 +47829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5272;
show create table s;
Table Create Table
@@ -47837,7 +47837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5271;
show create table s;
Table Create Table
@@ -47845,7 +47845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5270;
show create table s;
Table Create Table
@@ -47853,7 +47853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5269;
show create table s;
Table Create Table
@@ -47861,7 +47861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5268;
show create table s;
Table Create Table
@@ -47869,7 +47869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5267;
show create table s;
Table Create Table
@@ -47877,7 +47877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5266;
show create table s;
Table Create Table
@@ -47885,7 +47885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5265;
show create table s;
Table Create Table
@@ -47893,7 +47893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5264;
show create table s;
Table Create Table
@@ -47901,7 +47901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5263;
show create table s;
Table Create Table
@@ -47909,7 +47909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5262;
show create table s;
Table Create Table
@@ -47917,7 +47917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5261;
show create table s;
Table Create Table
@@ -47925,7 +47925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5260;
show create table s;
Table Create Table
@@ -47933,7 +47933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5259;
show create table s;
Table Create Table
@@ -47941,7 +47941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5258;
show create table s;
Table Create Table
@@ -47949,7 +47949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5257;
show create table s;
Table Create Table
@@ -47957,7 +47957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5256;
show create table s;
Table Create Table
@@ -47965,7 +47965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5255;
show create table s;
Table Create Table
@@ -47973,7 +47973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5254;
show create table s;
Table Create Table
@@ -47981,7 +47981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5253;
show create table s;
Table Create Table
@@ -47989,7 +47989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5252;
show create table s;
Table Create Table
@@ -47997,7 +47997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5251;
show create table s;
Table Create Table
@@ -48005,7 +48005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5250;
show create table s;
Table Create Table
@@ -48013,7 +48013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5249;
show create table s;
Table Create Table
@@ -48021,7 +48021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5248;
show create table s;
Table Create Table
@@ -48029,7 +48029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5247;
show create table s;
Table Create Table
@@ -48037,7 +48037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5246;
show create table s;
Table Create Table
@@ -48045,7 +48045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5245;
show create table s;
Table Create Table
@@ -48053,7 +48053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5244;
show create table s;
Table Create Table
@@ -48061,7 +48061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5243;
show create table s;
Table Create Table
@@ -48069,7 +48069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5242;
show create table s;
Table Create Table
@@ -48077,7 +48077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5241;
show create table s;
Table Create Table
@@ -48085,7 +48085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5240;
show create table s;
Table Create Table
@@ -48093,7 +48093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5239;
show create table s;
Table Create Table
@@ -48101,7 +48101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5238;
show create table s;
Table Create Table
@@ -48109,7 +48109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5237;
show create table s;
Table Create Table
@@ -48117,7 +48117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5236;
show create table s;
Table Create Table
@@ -48125,7 +48125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5235;
show create table s;
Table Create Table
@@ -48133,7 +48133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5234;
show create table s;
Table Create Table
@@ -48141,7 +48141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5233;
show create table s;
Table Create Table
@@ -48149,7 +48149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5232;
show create table s;
Table Create Table
@@ -48157,7 +48157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5231;
show create table s;
Table Create Table
@@ -48165,7 +48165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5230;
show create table s;
Table Create Table
@@ -48173,7 +48173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5229;
show create table s;
Table Create Table
@@ -48181,7 +48181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5228;
show create table s;
Table Create Table
@@ -48189,7 +48189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5227;
show create table s;
Table Create Table
@@ -48197,7 +48197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5226;
show create table s;
Table Create Table
@@ -48205,7 +48205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5225;
show create table s;
Table Create Table
@@ -48213,7 +48213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5224;
show create table s;
Table Create Table
@@ -48221,7 +48221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5223;
show create table s;
Table Create Table
@@ -48229,7 +48229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5222;
show create table s;
Table Create Table
@@ -48237,7 +48237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5221;
show create table s;
Table Create Table
@@ -48245,7 +48245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5220;
show create table s;
Table Create Table
@@ -48253,7 +48253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5219;
show create table s;
Table Create Table
@@ -48261,7 +48261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5218;
show create table s;
Table Create Table
@@ -48269,7 +48269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5217;
show create table s;
Table Create Table
@@ -48277,7 +48277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5216;
show create table s;
Table Create Table
@@ -48285,7 +48285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5215;
show create table s;
Table Create Table
@@ -48293,7 +48293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5214;
show create table s;
Table Create Table
@@ -48301,7 +48301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5213;
show create table s;
Table Create Table
@@ -48309,7 +48309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5212;
show create table s;
Table Create Table
@@ -48317,7 +48317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5211;
show create table s;
Table Create Table
@@ -48325,7 +48325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5210;
show create table s;
Table Create Table
@@ -48333,7 +48333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5209;
show create table s;
Table Create Table
@@ -48341,7 +48341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5208;
show create table s;
Table Create Table
@@ -48349,7 +48349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5207;
show create table s;
Table Create Table
@@ -48357,7 +48357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5206;
show create table s;
Table Create Table
@@ -48365,7 +48365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5205;
show create table s;
Table Create Table
@@ -48373,7 +48373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5204;
show create table s;
Table Create Table
@@ -48381,7 +48381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5203;
show create table s;
Table Create Table
@@ -48389,7 +48389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5202;
show create table s;
Table Create Table
@@ -48397,7 +48397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5201;
show create table s;
Table Create Table
@@ -48405,7 +48405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5200;
show create table s;
Table Create Table
@@ -48413,7 +48413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5199;
show create table s;
Table Create Table
@@ -48421,7 +48421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5198;
show create table s;
Table Create Table
@@ -48429,7 +48429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5197;
show create table s;
Table Create Table
@@ -48437,7 +48437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5196;
show create table s;
Table Create Table
@@ -48445,7 +48445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5195;
show create table s;
Table Create Table
@@ -48453,7 +48453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5194;
show create table s;
Table Create Table
@@ -48461,7 +48461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5193;
show create table s;
Table Create Table
@@ -48469,7 +48469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5192;
show create table s;
Table Create Table
@@ -48477,7 +48477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5191;
show create table s;
Table Create Table
@@ -48485,7 +48485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5190;
show create table s;
Table Create Table
@@ -48493,7 +48493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5189;
show create table s;
Table Create Table
@@ -48501,7 +48501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5188;
show create table s;
Table Create Table
@@ -48509,7 +48509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5187;
show create table s;
Table Create Table
@@ -48517,7 +48517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5186;
show create table s;
Table Create Table
@@ -48525,7 +48525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5185;
show create table s;
Table Create Table
@@ -48533,7 +48533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5184;
show create table s;
Table Create Table
@@ -48541,7 +48541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5183;
show create table s;
Table Create Table
@@ -48549,7 +48549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5182;
show create table s;
Table Create Table
@@ -48557,7 +48557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5181;
show create table s;
Table Create Table
@@ -48565,7 +48565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5180;
show create table s;
Table Create Table
@@ -48573,7 +48573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5179;
show create table s;
Table Create Table
@@ -48581,7 +48581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5178;
show create table s;
Table Create Table
@@ -48589,7 +48589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5177;
show create table s;
Table Create Table
@@ -48597,7 +48597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5176;
show create table s;
Table Create Table
@@ -48605,7 +48605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5175;
show create table s;
Table Create Table
@@ -48613,7 +48613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5174;
show create table s;
Table Create Table
@@ -48621,7 +48621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5173;
show create table s;
Table Create Table
@@ -48629,7 +48629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5172;
show create table s;
Table Create Table
@@ -48637,7 +48637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5171;
show create table s;
Table Create Table
@@ -48645,7 +48645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5170;
show create table s;
Table Create Table
@@ -48653,7 +48653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5169;
show create table s;
Table Create Table
@@ -48661,7 +48661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5168;
show create table s;
Table Create Table
@@ -48669,7 +48669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5167;
show create table s;
Table Create Table
@@ -48677,7 +48677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5166;
show create table s;
Table Create Table
@@ -48685,7 +48685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5165;
show create table s;
Table Create Table
@@ -48693,7 +48693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5164;
show create table s;
Table Create Table
@@ -48701,7 +48701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5163;
show create table s;
Table Create Table
@@ -48709,7 +48709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5162;
show create table s;
Table Create Table
@@ -48717,7 +48717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5161;
show create table s;
Table Create Table
@@ -48725,7 +48725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5160;
show create table s;
Table Create Table
@@ -48733,7 +48733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5159;
show create table s;
Table Create Table
@@ -48741,7 +48741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5158;
show create table s;
Table Create Table
@@ -48749,7 +48749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5157;
show create table s;
Table Create Table
@@ -48757,7 +48757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5156;
show create table s;
Table Create Table
@@ -48765,7 +48765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5155;
show create table s;
Table Create Table
@@ -48773,7 +48773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5154;
show create table s;
Table Create Table
@@ -48781,7 +48781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5153;
show create table s;
Table Create Table
@@ -48789,7 +48789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5152;
show create table s;
Table Create Table
@@ -48797,7 +48797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5151;
show create table s;
Table Create Table
@@ -48805,7 +48805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5150;
show create table s;
Table Create Table
@@ -48813,7 +48813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5149;
show create table s;
Table Create Table
@@ -48821,7 +48821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5148;
show create table s;
Table Create Table
@@ -48829,7 +48829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5147;
show create table s;
Table Create Table
@@ -48837,7 +48837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5146;
show create table s;
Table Create Table
@@ -48845,7 +48845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5145;
show create table s;
Table Create Table
@@ -48853,7 +48853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5144;
show create table s;
Table Create Table
@@ -48861,7 +48861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5143;
show create table s;
Table Create Table
@@ -48869,7 +48869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5142;
show create table s;
Table Create Table
@@ -48877,7 +48877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5141;
show create table s;
Table Create Table
@@ -48885,7 +48885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5140;
show create table s;
Table Create Table
@@ -48893,7 +48893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5139;
show create table s;
Table Create Table
@@ -48901,7 +48901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5138;
show create table s;
Table Create Table
@@ -48909,7 +48909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5137;
show create table s;
Table Create Table
@@ -48917,7 +48917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5136;
show create table s;
Table Create Table
@@ -48925,7 +48925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5135;
show create table s;
Table Create Table
@@ -48933,7 +48933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5134;
show create table s;
Table Create Table
@@ -48941,7 +48941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5133;
show create table s;
Table Create Table
@@ -48949,7 +48949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5132;
show create table s;
Table Create Table
@@ -48957,7 +48957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5131;
show create table s;
Table Create Table
@@ -48965,7 +48965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5130;
show create table s;
Table Create Table
@@ -48973,7 +48973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5129;
show create table s;
Table Create Table
@@ -48981,7 +48981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5128;
show create table s;
Table Create Table
@@ -48989,7 +48989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5127;
show create table s;
Table Create Table
@@ -48997,7 +48997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5126;
show create table s;
Table Create Table
@@ -49005,7 +49005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5125;
show create table s;
Table Create Table
@@ -49013,7 +49013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5124;
show create table s;
Table Create Table
@@ -49021,7 +49021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5123;
show create table s;
Table Create Table
@@ -49029,7 +49029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5122;
show create table s;
Table Create Table
@@ -49037,7 +49037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5121;
show create table s;
Table Create Table
@@ -49045,7 +49045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5120;
show create table s;
Table Create Table
@@ -49053,7 +49053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5119;
show create table s;
Table Create Table
@@ -49061,7 +49061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5118;
show create table s;
Table Create Table
@@ -49069,7 +49069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5117;
show create table s;
Table Create Table
@@ -49077,7 +49077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5116;
show create table s;
Table Create Table
@@ -49085,7 +49085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5115;
show create table s;
Table Create Table
@@ -49093,7 +49093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5114;
show create table s;
Table Create Table
@@ -49101,7 +49101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5113;
show create table s;
Table Create Table
@@ -49109,7 +49109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5112;
show create table s;
Table Create Table
@@ -49117,7 +49117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5111;
show create table s;
Table Create Table
@@ -49125,7 +49125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5110;
show create table s;
Table Create Table
@@ -49133,7 +49133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5109;
show create table s;
Table Create Table
@@ -49141,7 +49141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5108;
show create table s;
Table Create Table
@@ -49149,7 +49149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5107;
show create table s;
Table Create Table
@@ -49157,7 +49157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5106;
show create table s;
Table Create Table
@@ -49165,7 +49165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5105;
show create table s;
Table Create Table
@@ -49173,7 +49173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5104;
show create table s;
Table Create Table
@@ -49181,7 +49181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5103;
show create table s;
Table Create Table
@@ -49189,7 +49189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5102;
show create table s;
Table Create Table
@@ -49197,7 +49197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5101;
show create table s;
Table Create Table
@@ -49205,7 +49205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5100;
show create table s;
Table Create Table
@@ -49213,7 +49213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5099;
show create table s;
Table Create Table
@@ -49221,7 +49221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5098;
show create table s;
Table Create Table
@@ -49229,7 +49229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5097;
show create table s;
Table Create Table
@@ -49237,7 +49237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5096;
show create table s;
Table Create Table
@@ -49245,7 +49245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5095;
show create table s;
Table Create Table
@@ -49253,7 +49253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5094;
show create table s;
Table Create Table
@@ -49261,7 +49261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5093;
show create table s;
Table Create Table
@@ -49269,7 +49269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5092;
show create table s;
Table Create Table
@@ -49277,7 +49277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5091;
show create table s;
Table Create Table
@@ -49285,7 +49285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5090;
show create table s;
Table Create Table
@@ -49293,7 +49293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5089;
show create table s;
Table Create Table
@@ -49301,7 +49301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5088;
show create table s;
Table Create Table
@@ -49309,7 +49309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5087;
show create table s;
Table Create Table
@@ -49317,7 +49317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5086;
show create table s;
Table Create Table
@@ -49325,7 +49325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5085;
show create table s;
Table Create Table
@@ -49333,7 +49333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5084;
show create table s;
Table Create Table
@@ -49341,7 +49341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5083;
show create table s;
Table Create Table
@@ -49349,7 +49349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5082;
show create table s;
Table Create Table
@@ -49357,7 +49357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5081;
show create table s;
Table Create Table
@@ -49365,7 +49365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5080;
show create table s;
Table Create Table
@@ -49373,7 +49373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5079;
show create table s;
Table Create Table
@@ -49381,7 +49381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5078;
show create table s;
Table Create Table
@@ -49389,7 +49389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5077;
show create table s;
Table Create Table
@@ -49397,7 +49397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5076;
show create table s;
Table Create Table
@@ -49405,7 +49405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5075;
show create table s;
Table Create Table
@@ -49413,7 +49413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5074;
show create table s;
Table Create Table
@@ -49421,7 +49421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5073;
show create table s;
Table Create Table
@@ -49429,7 +49429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5072;
show create table s;
Table Create Table
@@ -49437,7 +49437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5071;
show create table s;
Table Create Table
@@ -49445,7 +49445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5070;
show create table s;
Table Create Table
@@ -49453,7 +49453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5069;
show create table s;
Table Create Table
@@ -49461,7 +49461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5068;
show create table s;
Table Create Table
@@ -49469,7 +49469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5067;
show create table s;
Table Create Table
@@ -49477,7 +49477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5066;
show create table s;
Table Create Table
@@ -49485,7 +49485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5065;
show create table s;
Table Create Table
@@ -49493,7 +49493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5064;
show create table s;
Table Create Table
@@ -49501,7 +49501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5063;
show create table s;
Table Create Table
@@ -49509,7 +49509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5062;
show create table s;
Table Create Table
@@ -49517,7 +49517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5061;
show create table s;
Table Create Table
@@ -49525,7 +49525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5060;
show create table s;
Table Create Table
@@ -49533,7 +49533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5059;
show create table s;
Table Create Table
@@ -49541,7 +49541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5058;
show create table s;
Table Create Table
@@ -49549,7 +49549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5057;
show create table s;
Table Create Table
@@ -49557,7 +49557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5056;
show create table s;
Table Create Table
@@ -49565,7 +49565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5055;
show create table s;
Table Create Table
@@ -49573,7 +49573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5054;
show create table s;
Table Create Table
@@ -49581,7 +49581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5053;
show create table s;
Table Create Table
@@ -49589,7 +49589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5052;
show create table s;
Table Create Table
@@ -49597,7 +49597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5051;
show create table s;
Table Create Table
@@ -49605,7 +49605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5050;
show create table s;
Table Create Table
@@ -49613,7 +49613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5049;
show create table s;
Table Create Table
@@ -49621,7 +49621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5048;
show create table s;
Table Create Table
@@ -49629,7 +49629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5047;
show create table s;
Table Create Table
@@ -49637,7 +49637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5046;
show create table s;
Table Create Table
@@ -49645,7 +49645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5045;
show create table s;
Table Create Table
@@ -49653,7 +49653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5044;
show create table s;
Table Create Table
@@ -49661,7 +49661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5043;
show create table s;
Table Create Table
@@ -49669,7 +49669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5042;
show create table s;
Table Create Table
@@ -49677,7 +49677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5041;
show create table s;
Table Create Table
@@ -49685,7 +49685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5040;
show create table s;
Table Create Table
@@ -49693,7 +49693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5039;
show create table s;
Table Create Table
@@ -49701,7 +49701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5038;
show create table s;
Table Create Table
@@ -49709,7 +49709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5037;
show create table s;
Table Create Table
@@ -49717,7 +49717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5036;
show create table s;
Table Create Table
@@ -49725,7 +49725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5035;
show create table s;
Table Create Table
@@ -49733,7 +49733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5034;
show create table s;
Table Create Table
@@ -49741,7 +49741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5033;
show create table s;
Table Create Table
@@ -49749,7 +49749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5032;
show create table s;
Table Create Table
@@ -49757,7 +49757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5031;
show create table s;
Table Create Table
@@ -49765,7 +49765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5030;
show create table s;
Table Create Table
@@ -49773,7 +49773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5029;
show create table s;
Table Create Table
@@ -49781,7 +49781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5028;
show create table s;
Table Create Table
@@ -49789,7 +49789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5027;
show create table s;
Table Create Table
@@ -49797,7 +49797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5026;
show create table s;
Table Create Table
@@ -49805,7 +49805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5025;
show create table s;
Table Create Table
@@ -49813,7 +49813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5024;
show create table s;
Table Create Table
@@ -49821,7 +49821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5023;
show create table s;
Table Create Table
@@ -49829,7 +49829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5022;
show create table s;
Table Create Table
@@ -49837,7 +49837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5021;
show create table s;
Table Create Table
@@ -49845,7 +49845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5020;
show create table s;
Table Create Table
@@ -49853,7 +49853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5019;
show create table s;
Table Create Table
@@ -49861,7 +49861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5018;
show create table s;
Table Create Table
@@ -49869,7 +49869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5017;
show create table s;
Table Create Table
@@ -49877,7 +49877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5016;
show create table s;
Table Create Table
@@ -49885,7 +49885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5015;
show create table s;
Table Create Table
@@ -49893,7 +49893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5014;
show create table s;
Table Create Table
@@ -49901,7 +49901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5013;
show create table s;
Table Create Table
@@ -49909,7 +49909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5012;
show create table s;
Table Create Table
@@ -49917,7 +49917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5011;
show create table s;
Table Create Table
@@ -49925,7 +49925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5010;
show create table s;
Table Create Table
@@ -49933,7 +49933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5009;
show create table s;
Table Create Table
@@ -49941,7 +49941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5008;
show create table s;
Table Create Table
@@ -49949,7 +49949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5007;
show create table s;
Table Create Table
@@ -49957,7 +49957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5006;
show create table s;
Table Create Table
@@ -49965,7 +49965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5005;
show create table s;
Table Create Table
@@ -49973,7 +49973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5004;
show create table s;
Table Create Table
@@ -49981,7 +49981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5003;
show create table s;
Table Create Table
@@ -49989,7 +49989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5002;
show create table s;
Table Create Table
@@ -49997,7 +49997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5001;
show create table s;
Table Create Table
@@ -50005,7 +50005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5000;
show create table s;
Table Create Table
@@ -50013,7 +50013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4999;
show create table s;
Table Create Table
@@ -50021,7 +50021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4998;
show create table s;
Table Create Table
@@ -50029,7 +50029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4997;
show create table s;
Table Create Table
@@ -50037,7 +50037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4996;
show create table s;
Table Create Table
@@ -50045,7 +50045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4995;
show create table s;
Table Create Table
@@ -50053,7 +50053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4994;
show create table s;
Table Create Table
@@ -50061,7 +50061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4993;
show create table s;
Table Create Table
@@ -50069,7 +50069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4992;
show create table s;
Table Create Table
@@ -50077,7 +50077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4991;
show create table s;
Table Create Table
@@ -50085,7 +50085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4990;
show create table s;
Table Create Table
@@ -50093,7 +50093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4989;
show create table s;
Table Create Table
@@ -50101,7 +50101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4988;
show create table s;
Table Create Table
@@ -50109,7 +50109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4987;
show create table s;
Table Create Table
@@ -50117,7 +50117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4986;
show create table s;
Table Create Table
@@ -50125,7 +50125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4985;
show create table s;
Table Create Table
@@ -50133,7 +50133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4984;
show create table s;
Table Create Table
@@ -50141,7 +50141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4983;
show create table s;
Table Create Table
@@ -50149,7 +50149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4982;
show create table s;
Table Create Table
@@ -50157,7 +50157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4981;
show create table s;
Table Create Table
@@ -50165,7 +50165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4980;
show create table s;
Table Create Table
@@ -50173,7 +50173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4979;
show create table s;
Table Create Table
@@ -50181,7 +50181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4978;
show create table s;
Table Create Table
@@ -50189,7 +50189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4977;
show create table s;
Table Create Table
@@ -50197,7 +50197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4976;
show create table s;
Table Create Table
@@ -50205,7 +50205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4975;
show create table s;
Table Create Table
@@ -50213,7 +50213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4974;
show create table s;
Table Create Table
@@ -50221,7 +50221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4973;
show create table s;
Table Create Table
@@ -50229,7 +50229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4972;
show create table s;
Table Create Table
@@ -50237,7 +50237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4971;
show create table s;
Table Create Table
@@ -50245,7 +50245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4970;
show create table s;
Table Create Table
@@ -50253,7 +50253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4969;
show create table s;
Table Create Table
@@ -50261,7 +50261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4968;
show create table s;
Table Create Table
@@ -50269,7 +50269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4967;
show create table s;
Table Create Table
@@ -50277,7 +50277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4966;
show create table s;
Table Create Table
@@ -50285,7 +50285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4965;
show create table s;
Table Create Table
@@ -50293,7 +50293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4964;
show create table s;
Table Create Table
@@ -50301,7 +50301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4963;
show create table s;
Table Create Table
@@ -50309,7 +50309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4962;
show create table s;
Table Create Table
@@ -50317,7 +50317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4961;
show create table s;
Table Create Table
@@ -50325,7 +50325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4960;
show create table s;
Table Create Table
@@ -50333,7 +50333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4959;
show create table s;
Table Create Table
@@ -50341,7 +50341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4958;
show create table s;
Table Create Table
@@ -50349,7 +50349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4957;
show create table s;
Table Create Table
@@ -50357,7 +50357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4956;
show create table s;
Table Create Table
@@ -50365,7 +50365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4955;
show create table s;
Table Create Table
@@ -50373,7 +50373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4954;
show create table s;
Table Create Table
@@ -50381,7 +50381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4953;
show create table s;
Table Create Table
@@ -50389,7 +50389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4952;
show create table s;
Table Create Table
@@ -50397,7 +50397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4951;
show create table s;
Table Create Table
@@ -50405,7 +50405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4950;
show create table s;
Table Create Table
@@ -50413,7 +50413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4949;
show create table s;
Table Create Table
@@ -50421,7 +50421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4948;
show create table s;
Table Create Table
@@ -50429,7 +50429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4947;
show create table s;
Table Create Table
@@ -50437,7 +50437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4946;
show create table s;
Table Create Table
@@ -50445,7 +50445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4945;
show create table s;
Table Create Table
@@ -50453,7 +50453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4944;
show create table s;
Table Create Table
@@ -50461,7 +50461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4943;
show create table s;
Table Create Table
@@ -50469,7 +50469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4942;
show create table s;
Table Create Table
@@ -50477,7 +50477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4941;
show create table s;
Table Create Table
@@ -50485,7 +50485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4940;
show create table s;
Table Create Table
@@ -50493,7 +50493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4939;
show create table s;
Table Create Table
@@ -50501,7 +50501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4938;
show create table s;
Table Create Table
@@ -50509,7 +50509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4937;
show create table s;
Table Create Table
@@ -50517,7 +50517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4936;
show create table s;
Table Create Table
@@ -50525,7 +50525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4935;
show create table s;
Table Create Table
@@ -50533,7 +50533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4934;
show create table s;
Table Create Table
@@ -50541,7 +50541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4933;
show create table s;
Table Create Table
@@ -50549,7 +50549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4932;
show create table s;
Table Create Table
@@ -50557,7 +50557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4931;
show create table s;
Table Create Table
@@ -50565,7 +50565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4930;
show create table s;
Table Create Table
@@ -50573,7 +50573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4929;
show create table s;
Table Create Table
@@ -50581,7 +50581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4928;
show create table s;
Table Create Table
@@ -50589,7 +50589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4927;
show create table s;
Table Create Table
@@ -50597,7 +50597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4926;
show create table s;
Table Create Table
@@ -50605,7 +50605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4925;
show create table s;
Table Create Table
@@ -50613,7 +50613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4924;
show create table s;
Table Create Table
@@ -50621,7 +50621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4923;
show create table s;
Table Create Table
@@ -50629,7 +50629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4922;
show create table s;
Table Create Table
@@ -50637,7 +50637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4921;
show create table s;
Table Create Table
@@ -50645,7 +50645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4920;
show create table s;
Table Create Table
@@ -50653,7 +50653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4919;
show create table s;
Table Create Table
@@ -50661,7 +50661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4918;
show create table s;
Table Create Table
@@ -50669,7 +50669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4917;
show create table s;
Table Create Table
@@ -50677,7 +50677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4916;
show create table s;
Table Create Table
@@ -50685,7 +50685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4915;
show create table s;
Table Create Table
@@ -50693,7 +50693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4914;
show create table s;
Table Create Table
@@ -50701,7 +50701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4913;
show create table s;
Table Create Table
@@ -50709,7 +50709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4912;
show create table s;
Table Create Table
@@ -50717,7 +50717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4911;
show create table s;
Table Create Table
@@ -50725,7 +50725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4910;
show create table s;
Table Create Table
@@ -50733,7 +50733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4909;
show create table s;
Table Create Table
@@ -50741,7 +50741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4908;
show create table s;
Table Create Table
@@ -50749,7 +50749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4907;
show create table s;
Table Create Table
@@ -50757,7 +50757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4906;
show create table s;
Table Create Table
@@ -50765,7 +50765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4905;
show create table s;
Table Create Table
@@ -50773,7 +50773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4904;
show create table s;
Table Create Table
@@ -50781,7 +50781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4903;
show create table s;
Table Create Table
@@ -50789,7 +50789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4902;
show create table s;
Table Create Table
@@ -50797,7 +50797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4901;
show create table s;
Table Create Table
@@ -50805,7 +50805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4900;
show create table s;
Table Create Table
@@ -50813,7 +50813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4899;
show create table s;
Table Create Table
@@ -50821,7 +50821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4898;
show create table s;
Table Create Table
@@ -50829,7 +50829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4897;
show create table s;
Table Create Table
@@ -50837,7 +50837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4896;
show create table s;
Table Create Table
@@ -50845,7 +50845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4895;
show create table s;
Table Create Table
@@ -50853,7 +50853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4894;
show create table s;
Table Create Table
@@ -50861,7 +50861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4893;
show create table s;
Table Create Table
@@ -50869,7 +50869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4892;
show create table s;
Table Create Table
@@ -50877,7 +50877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4891;
show create table s;
Table Create Table
@@ -50885,7 +50885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4890;
show create table s;
Table Create Table
@@ -50893,7 +50893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4889;
show create table s;
Table Create Table
@@ -50901,7 +50901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4888;
show create table s;
Table Create Table
@@ -50909,7 +50909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4887;
show create table s;
Table Create Table
@@ -50917,7 +50917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4886;
show create table s;
Table Create Table
@@ -50925,7 +50925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4885;
show create table s;
Table Create Table
@@ -50933,7 +50933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4884;
show create table s;
Table Create Table
@@ -50941,7 +50941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4883;
show create table s;
Table Create Table
@@ -50949,7 +50949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4882;
show create table s;
Table Create Table
@@ -50957,7 +50957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4881;
show create table s;
Table Create Table
@@ -50965,7 +50965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4880;
show create table s;
Table Create Table
@@ -50973,7 +50973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4879;
show create table s;
Table Create Table
@@ -50981,7 +50981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4878;
show create table s;
Table Create Table
@@ -50989,7 +50989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4877;
show create table s;
Table Create Table
@@ -50997,7 +50997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4876;
show create table s;
Table Create Table
@@ -51005,7 +51005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4875;
show create table s;
Table Create Table
@@ -51013,7 +51013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4874;
show create table s;
Table Create Table
@@ -51021,7 +51021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4873;
show create table s;
Table Create Table
@@ -51029,7 +51029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4872;
show create table s;
Table Create Table
@@ -51037,7 +51037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4871;
show create table s;
Table Create Table
@@ -51045,7 +51045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4870;
show create table s;
Table Create Table
@@ -51053,7 +51053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4869;
show create table s;
Table Create Table
@@ -51061,7 +51061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4868;
show create table s;
Table Create Table
@@ -51069,7 +51069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4867;
show create table s;
Table Create Table
@@ -51077,7 +51077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4866;
show create table s;
Table Create Table
@@ -51085,7 +51085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4865;
show create table s;
Table Create Table
@@ -51093,7 +51093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4864;
show create table s;
Table Create Table
@@ -51101,7 +51101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4863;
show create table s;
Table Create Table
@@ -51109,7 +51109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4862;
show create table s;
Table Create Table
@@ -51117,7 +51117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4861;
show create table s;
Table Create Table
@@ -51125,7 +51125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4860;
show create table s;
Table Create Table
@@ -51133,7 +51133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4859;
show create table s;
Table Create Table
@@ -51141,7 +51141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4858;
show create table s;
Table Create Table
@@ -51149,7 +51149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4857;
show create table s;
Table Create Table
@@ -51157,7 +51157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4856;
show create table s;
Table Create Table
@@ -51165,7 +51165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4855;
show create table s;
Table Create Table
@@ -51173,7 +51173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4854;
show create table s;
Table Create Table
@@ -51181,7 +51181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4853;
show create table s;
Table Create Table
@@ -51189,7 +51189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4852;
show create table s;
Table Create Table
@@ -51197,7 +51197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4851;
show create table s;
Table Create Table
@@ -51205,7 +51205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4850;
show create table s;
Table Create Table
@@ -51213,7 +51213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4849;
show create table s;
Table Create Table
@@ -51221,7 +51221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4848;
show create table s;
Table Create Table
@@ -51229,7 +51229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4847;
show create table s;
Table Create Table
@@ -51237,7 +51237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4846;
show create table s;
Table Create Table
@@ -51245,7 +51245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4845;
show create table s;
Table Create Table
@@ -51253,7 +51253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4844;
show create table s;
Table Create Table
@@ -51261,7 +51261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4843;
show create table s;
Table Create Table
@@ -51269,7 +51269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4842;
show create table s;
Table Create Table
@@ -51277,7 +51277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4841;
show create table s;
Table Create Table
@@ -51285,7 +51285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4840;
show create table s;
Table Create Table
@@ -51293,7 +51293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4839;
show create table s;
Table Create Table
@@ -51301,7 +51301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4838;
show create table s;
Table Create Table
@@ -51309,7 +51309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4837;
show create table s;
Table Create Table
@@ -51317,7 +51317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4836;
show create table s;
Table Create Table
@@ -51325,7 +51325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4835;
show create table s;
Table Create Table
@@ -51333,7 +51333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4834;
show create table s;
Table Create Table
@@ -51341,7 +51341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4833;
show create table s;
Table Create Table
@@ -51349,7 +51349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4832;
show create table s;
Table Create Table
@@ -51357,7 +51357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4831;
show create table s;
Table Create Table
@@ -51365,7 +51365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4830;
show create table s;
Table Create Table
@@ -51373,7 +51373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4829;
show create table s;
Table Create Table
@@ -51381,7 +51381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4828;
show create table s;
Table Create Table
@@ -51389,7 +51389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4827;
show create table s;
Table Create Table
@@ -51397,7 +51397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4826;
show create table s;
Table Create Table
@@ -51405,7 +51405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4825;
show create table s;
Table Create Table
@@ -51413,7 +51413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4824;
show create table s;
Table Create Table
@@ -51421,7 +51421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4823;
show create table s;
Table Create Table
@@ -51429,7 +51429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4822;
show create table s;
Table Create Table
@@ -51437,7 +51437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4821;
show create table s;
Table Create Table
@@ -51445,7 +51445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4820;
show create table s;
Table Create Table
@@ -51453,7 +51453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4819;
show create table s;
Table Create Table
@@ -51461,7 +51461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4818;
show create table s;
Table Create Table
@@ -51469,7 +51469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4817;
show create table s;
Table Create Table
@@ -51477,7 +51477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4816;
show create table s;
Table Create Table
@@ -51485,7 +51485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4815;
show create table s;
Table Create Table
@@ -51493,7 +51493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4814;
show create table s;
Table Create Table
@@ -51501,7 +51501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4813;
show create table s;
Table Create Table
@@ -51509,7 +51509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4812;
show create table s;
Table Create Table
@@ -51517,7 +51517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4811;
show create table s;
Table Create Table
@@ -51525,7 +51525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4810;
show create table s;
Table Create Table
@@ -51533,7 +51533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4809;
show create table s;
Table Create Table
@@ -51541,7 +51541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4808;
show create table s;
Table Create Table
@@ -51549,7 +51549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4807;
show create table s;
Table Create Table
@@ -51557,7 +51557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4806;
show create table s;
Table Create Table
@@ -51565,7 +51565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4805;
show create table s;
Table Create Table
@@ -51573,7 +51573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4804;
show create table s;
Table Create Table
@@ -51581,7 +51581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4803;
show create table s;
Table Create Table
@@ -51589,7 +51589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4802;
show create table s;
Table Create Table
@@ -51597,7 +51597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4801;
show create table s;
Table Create Table
@@ -51605,7 +51605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4800;
show create table s;
Table Create Table
@@ -51613,7 +51613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4799;
show create table s;
Table Create Table
@@ -51621,7 +51621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4798;
show create table s;
Table Create Table
@@ -51629,7 +51629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4797;
show create table s;
Table Create Table
@@ -51637,7 +51637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4796;
show create table s;
Table Create Table
@@ -51645,7 +51645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4795;
show create table s;
Table Create Table
@@ -51653,7 +51653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4794;
show create table s;
Table Create Table
@@ -51661,7 +51661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4793;
show create table s;
Table Create Table
@@ -51669,7 +51669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4792;
show create table s;
Table Create Table
@@ -51677,7 +51677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4791;
show create table s;
Table Create Table
@@ -51685,7 +51685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4790;
show create table s;
Table Create Table
@@ -51693,7 +51693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4789;
show create table s;
Table Create Table
@@ -51701,7 +51701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4788;
show create table s;
Table Create Table
@@ -51709,7 +51709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4787;
show create table s;
Table Create Table
@@ -51717,7 +51717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4786;
show create table s;
Table Create Table
@@ -51725,7 +51725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4785;
show create table s;
Table Create Table
@@ -51733,7 +51733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4784;
show create table s;
Table Create Table
@@ -51741,7 +51741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4783;
show create table s;
Table Create Table
@@ -51749,7 +51749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4782;
show create table s;
Table Create Table
@@ -51757,7 +51757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4781;
show create table s;
Table Create Table
@@ -51765,7 +51765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4780;
show create table s;
Table Create Table
@@ -51773,7 +51773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4779;
show create table s;
Table Create Table
@@ -51781,7 +51781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4778;
show create table s;
Table Create Table
@@ -51789,7 +51789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4777;
show create table s;
Table Create Table
@@ -51797,7 +51797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4776;
show create table s;
Table Create Table
@@ -51805,7 +51805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4775;
show create table s;
Table Create Table
@@ -51813,7 +51813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4774;
show create table s;
Table Create Table
@@ -51821,7 +51821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4773;
show create table s;
Table Create Table
@@ -51829,7 +51829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4772;
show create table s;
Table Create Table
@@ -51837,7 +51837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4771;
show create table s;
Table Create Table
@@ -51845,7 +51845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4770;
show create table s;
Table Create Table
@@ -51853,7 +51853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4769;
show create table s;
Table Create Table
@@ -51861,7 +51861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4768;
show create table s;
Table Create Table
@@ -51869,7 +51869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4767;
show create table s;
Table Create Table
@@ -51877,7 +51877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4766;
show create table s;
Table Create Table
@@ -51885,7 +51885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4765;
show create table s;
Table Create Table
@@ -51893,7 +51893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4764;
show create table s;
Table Create Table
@@ -51901,7 +51901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4763;
show create table s;
Table Create Table
@@ -51909,7 +51909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4762;
show create table s;
Table Create Table
@@ -51917,7 +51917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4761;
show create table s;
Table Create Table
@@ -51925,7 +51925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4760;
show create table s;
Table Create Table
@@ -51933,7 +51933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4759;
show create table s;
Table Create Table
@@ -51941,7 +51941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4758;
show create table s;
Table Create Table
@@ -51949,7 +51949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4757;
show create table s;
Table Create Table
@@ -51957,7 +51957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4756;
show create table s;
Table Create Table
@@ -51965,7 +51965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4755;
show create table s;
Table Create Table
@@ -51973,7 +51973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4754;
show create table s;
Table Create Table
@@ -51981,7 +51981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4753;
show create table s;
Table Create Table
@@ -51989,7 +51989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4752;
show create table s;
Table Create Table
@@ -51997,7 +51997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4751;
show create table s;
Table Create Table
@@ -52005,7 +52005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4750;
show create table s;
Table Create Table
@@ -52013,7 +52013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4749;
show create table s;
Table Create Table
@@ -52021,7 +52021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4748;
show create table s;
Table Create Table
@@ -52029,7 +52029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4747;
show create table s;
Table Create Table
@@ -52037,7 +52037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4746;
show create table s;
Table Create Table
@@ -52045,7 +52045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4745;
show create table s;
Table Create Table
@@ -52053,7 +52053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4744;
show create table s;
Table Create Table
@@ -52061,7 +52061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4743;
show create table s;
Table Create Table
@@ -52069,7 +52069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4742;
show create table s;
Table Create Table
@@ -52077,7 +52077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4741;
show create table s;
Table Create Table
@@ -52085,7 +52085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4740;
show create table s;
Table Create Table
@@ -52093,7 +52093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4739;
show create table s;
Table Create Table
@@ -52101,7 +52101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4738;
show create table s;
Table Create Table
@@ -52109,7 +52109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4737;
show create table s;
Table Create Table
@@ -52117,7 +52117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4736;
show create table s;
Table Create Table
@@ -52125,7 +52125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4735;
show create table s;
Table Create Table
@@ -52133,7 +52133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4734;
show create table s;
Table Create Table
@@ -52141,7 +52141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4733;
show create table s;
Table Create Table
@@ -52149,7 +52149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4732;
show create table s;
Table Create Table
@@ -52157,7 +52157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4731;
show create table s;
Table Create Table
@@ -52165,7 +52165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4730;
show create table s;
Table Create Table
@@ -52173,7 +52173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4729;
show create table s;
Table Create Table
@@ -52181,7 +52181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4728;
show create table s;
Table Create Table
@@ -52189,7 +52189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4727;
show create table s;
Table Create Table
@@ -52197,7 +52197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4726;
show create table s;
Table Create Table
@@ -52205,7 +52205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4725;
show create table s;
Table Create Table
@@ -52213,7 +52213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4724;
show create table s;
Table Create Table
@@ -52221,7 +52221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4723;
show create table s;
Table Create Table
@@ -52229,7 +52229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4722;
show create table s;
Table Create Table
@@ -52237,7 +52237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4721;
show create table s;
Table Create Table
@@ -52245,7 +52245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4720;
show create table s;
Table Create Table
@@ -52253,7 +52253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4719;
show create table s;
Table Create Table
@@ -52261,7 +52261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4718;
show create table s;
Table Create Table
@@ -52269,7 +52269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4717;
show create table s;
Table Create Table
@@ -52277,7 +52277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4716;
show create table s;
Table Create Table
@@ -52285,7 +52285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4715;
show create table s;
Table Create Table
@@ -52293,7 +52293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4714;
show create table s;
Table Create Table
@@ -52301,7 +52301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4713;
show create table s;
Table Create Table
@@ -52309,7 +52309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4712;
show create table s;
Table Create Table
@@ -52317,7 +52317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4711;
show create table s;
Table Create Table
@@ -52325,7 +52325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4710;
show create table s;
Table Create Table
@@ -52333,7 +52333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4709;
show create table s;
Table Create Table
@@ -52341,7 +52341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4708;
show create table s;
Table Create Table
@@ -52349,7 +52349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4707;
show create table s;
Table Create Table
@@ -52357,7 +52357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4706;
show create table s;
Table Create Table
@@ -52365,7 +52365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4705;
show create table s;
Table Create Table
@@ -52373,7 +52373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4704;
show create table s;
Table Create Table
@@ -52381,7 +52381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4703;
show create table s;
Table Create Table
@@ -52389,7 +52389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4702;
show create table s;
Table Create Table
@@ -52397,7 +52397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4701;
show create table s;
Table Create Table
@@ -52405,7 +52405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4700;
show create table s;
Table Create Table
@@ -52413,7 +52413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4699;
show create table s;
Table Create Table
@@ -52421,7 +52421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4698;
show create table s;
Table Create Table
@@ -52429,7 +52429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4697;
show create table s;
Table Create Table
@@ -52437,7 +52437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4696;
show create table s;
Table Create Table
@@ -52445,7 +52445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4695;
show create table s;
Table Create Table
@@ -52453,7 +52453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4694;
show create table s;
Table Create Table
@@ -52461,7 +52461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4693;
show create table s;
Table Create Table
@@ -52469,7 +52469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4692;
show create table s;
Table Create Table
@@ -52477,7 +52477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4691;
show create table s;
Table Create Table
@@ -52485,7 +52485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4690;
show create table s;
Table Create Table
@@ -52493,7 +52493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4689;
show create table s;
Table Create Table
@@ -52501,7 +52501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4688;
show create table s;
Table Create Table
@@ -52509,7 +52509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4687;
show create table s;
Table Create Table
@@ -52517,7 +52517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4686;
show create table s;
Table Create Table
@@ -52525,7 +52525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4685;
show create table s;
Table Create Table
@@ -52533,7 +52533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4684;
show create table s;
Table Create Table
@@ -52541,7 +52541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4683;
show create table s;
Table Create Table
@@ -52549,7 +52549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4682;
show create table s;
Table Create Table
@@ -52557,7 +52557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4681;
show create table s;
Table Create Table
@@ -52565,7 +52565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4680;
show create table s;
Table Create Table
@@ -52573,7 +52573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4679;
show create table s;
Table Create Table
@@ -52581,7 +52581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4678;
show create table s;
Table Create Table
@@ -52589,7 +52589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4677;
show create table s;
Table Create Table
@@ -52597,7 +52597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4676;
show create table s;
Table Create Table
@@ -52605,7 +52605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4675;
show create table s;
Table Create Table
@@ -52613,7 +52613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4674;
show create table s;
Table Create Table
@@ -52621,7 +52621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4673;
show create table s;
Table Create Table
@@ -52629,7 +52629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4672;
show create table s;
Table Create Table
@@ -52637,7 +52637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4671;
show create table s;
Table Create Table
@@ -52645,7 +52645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4670;
show create table s;
Table Create Table
@@ -52653,7 +52653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4669;
show create table s;
Table Create Table
@@ -52661,7 +52661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4668;
show create table s;
Table Create Table
@@ -52669,7 +52669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4667;
show create table s;
Table Create Table
@@ -52677,7 +52677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4666;
show create table s;
Table Create Table
@@ -52685,7 +52685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4665;
show create table s;
Table Create Table
@@ -52693,7 +52693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4664;
show create table s;
Table Create Table
@@ -52701,7 +52701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4663;
show create table s;
Table Create Table
@@ -52709,7 +52709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4662;
show create table s;
Table Create Table
@@ -52717,7 +52717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4661;
show create table s;
Table Create Table
@@ -52725,7 +52725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4660;
show create table s;
Table Create Table
@@ -52733,7 +52733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4659;
show create table s;
Table Create Table
@@ -52741,7 +52741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4658;
show create table s;
Table Create Table
@@ -52749,7 +52749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4657;
show create table s;
Table Create Table
@@ -52757,7 +52757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4656;
show create table s;
Table Create Table
@@ -52765,7 +52765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4655;
show create table s;
Table Create Table
@@ -52773,7 +52773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4654;
show create table s;
Table Create Table
@@ -52781,7 +52781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4653;
show create table s;
Table Create Table
@@ -52789,7 +52789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4652;
show create table s;
Table Create Table
@@ -52797,7 +52797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4651;
show create table s;
Table Create Table
@@ -52805,7 +52805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4650;
show create table s;
Table Create Table
@@ -52813,7 +52813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4649;
show create table s;
Table Create Table
@@ -52821,7 +52821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4648;
show create table s;
Table Create Table
@@ -52829,7 +52829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4647;
show create table s;
Table Create Table
@@ -52837,7 +52837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4646;
show create table s;
Table Create Table
@@ -52845,7 +52845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4645;
show create table s;
Table Create Table
@@ -52853,7 +52853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4644;
show create table s;
Table Create Table
@@ -52861,7 +52861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4643;
show create table s;
Table Create Table
@@ -52869,7 +52869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4642;
show create table s;
Table Create Table
@@ -52877,7 +52877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4641;
show create table s;
Table Create Table
@@ -52885,7 +52885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4640;
show create table s;
Table Create Table
@@ -52893,7 +52893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4639;
show create table s;
Table Create Table
@@ -52901,7 +52901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4638;
show create table s;
Table Create Table
@@ -52909,7 +52909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4637;
show create table s;
Table Create Table
@@ -52917,7 +52917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4636;
show create table s;
Table Create Table
@@ -52925,7 +52925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4635;
show create table s;
Table Create Table
@@ -52933,7 +52933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4634;
show create table s;
Table Create Table
@@ -52941,7 +52941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4633;
show create table s;
Table Create Table
@@ -52949,7 +52949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4632;
show create table s;
Table Create Table
@@ -52957,7 +52957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4631;
show create table s;
Table Create Table
@@ -52965,7 +52965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4630;
show create table s;
Table Create Table
@@ -52973,7 +52973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4629;
show create table s;
Table Create Table
@@ -52981,7 +52981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4628;
show create table s;
Table Create Table
@@ -52989,7 +52989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4627;
show create table s;
Table Create Table
@@ -52997,7 +52997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4626;
show create table s;
Table Create Table
@@ -53005,7 +53005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4625;
show create table s;
Table Create Table
@@ -53013,7 +53013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4624;
show create table s;
Table Create Table
@@ -53021,7 +53021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4623;
show create table s;
Table Create Table
@@ -53029,7 +53029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4622;
show create table s;
Table Create Table
@@ -53037,7 +53037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4621;
show create table s;
Table Create Table
@@ -53045,7 +53045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4620;
show create table s;
Table Create Table
@@ -53053,7 +53053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4619;
show create table s;
Table Create Table
@@ -53061,7 +53061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4618;
show create table s;
Table Create Table
@@ -53069,7 +53069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4617;
show create table s;
Table Create Table
@@ -53077,7 +53077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4616;
show create table s;
Table Create Table
@@ -53085,7 +53085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4615;
show create table s;
Table Create Table
@@ -53093,7 +53093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4614;
show create table s;
Table Create Table
@@ -53101,7 +53101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4613;
show create table s;
Table Create Table
@@ -53109,7 +53109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4612;
show create table s;
Table Create Table
@@ -53117,7 +53117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4611;
show create table s;
Table Create Table
@@ -53125,7 +53125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4610;
show create table s;
Table Create Table
@@ -53133,7 +53133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4609;
show create table s;
Table Create Table
@@ -53141,7 +53141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4608;
show create table s;
Table Create Table
@@ -53149,7 +53149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4607;
show create table s;
Table Create Table
@@ -53157,7 +53157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4606;
show create table s;
Table Create Table
@@ -53165,7 +53165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4605;
show create table s;
Table Create Table
@@ -53173,7 +53173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4604;
show create table s;
Table Create Table
@@ -53181,7 +53181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4603;
show create table s;
Table Create Table
@@ -53189,7 +53189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4602;
show create table s;
Table Create Table
@@ -53197,7 +53197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4601;
show create table s;
Table Create Table
@@ -53205,7 +53205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4600;
show create table s;
Table Create Table
@@ -53213,7 +53213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4599;
show create table s;
Table Create Table
@@ -53221,7 +53221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4598;
show create table s;
Table Create Table
@@ -53229,7 +53229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4597;
show create table s;
Table Create Table
@@ -53237,7 +53237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4596;
show create table s;
Table Create Table
@@ -53245,7 +53245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4595;
show create table s;
Table Create Table
@@ -53253,7 +53253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4594;
show create table s;
Table Create Table
@@ -53261,7 +53261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4593;
show create table s;
Table Create Table
@@ -53269,7 +53269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4592;
show create table s;
Table Create Table
@@ -53277,7 +53277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4591;
show create table s;
Table Create Table
@@ -53285,7 +53285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4590;
show create table s;
Table Create Table
@@ -53293,7 +53293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4589;
show create table s;
Table Create Table
@@ -53301,7 +53301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4588;
show create table s;
Table Create Table
@@ -53309,7 +53309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4587;
show create table s;
Table Create Table
@@ -53317,7 +53317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4586;
show create table s;
Table Create Table
@@ -53325,7 +53325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4585;
show create table s;
Table Create Table
@@ -53333,7 +53333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4584;
show create table s;
Table Create Table
@@ -53341,7 +53341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4583;
show create table s;
Table Create Table
@@ -53349,7 +53349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4582;
show create table s;
Table Create Table
@@ -53357,7 +53357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4581;
show create table s;
Table Create Table
@@ -53365,7 +53365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4580;
show create table s;
Table Create Table
@@ -53373,7 +53373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4579;
show create table s;
Table Create Table
@@ -53381,7 +53381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4578;
show create table s;
Table Create Table
@@ -53389,7 +53389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4577;
show create table s;
Table Create Table
@@ -53397,7 +53397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4576;
show create table s;
Table Create Table
@@ -53405,7 +53405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4575;
show create table s;
Table Create Table
@@ -53413,7 +53413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4574;
show create table s;
Table Create Table
@@ -53421,7 +53421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4573;
show create table s;
Table Create Table
@@ -53429,7 +53429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4572;
show create table s;
Table Create Table
@@ -53437,7 +53437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4571;
show create table s;
Table Create Table
@@ -53445,7 +53445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4570;
show create table s;
Table Create Table
@@ -53453,7 +53453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4569;
show create table s;
Table Create Table
@@ -53461,7 +53461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4568;
show create table s;
Table Create Table
@@ -53469,7 +53469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4567;
show create table s;
Table Create Table
@@ -53477,7 +53477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4566;
show create table s;
Table Create Table
@@ -53485,7 +53485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4565;
show create table s;
Table Create Table
@@ -53493,7 +53493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4564;
show create table s;
Table Create Table
@@ -53501,7 +53501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4563;
show create table s;
Table Create Table
@@ -53509,7 +53509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4562;
show create table s;
Table Create Table
@@ -53517,7 +53517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4561;
show create table s;
Table Create Table
@@ -53525,7 +53525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4560;
show create table s;
Table Create Table
@@ -53533,7 +53533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4559;
show create table s;
Table Create Table
@@ -53541,7 +53541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4558;
show create table s;
Table Create Table
@@ -53549,7 +53549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4557;
show create table s;
Table Create Table
@@ -53557,7 +53557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4556;
show create table s;
Table Create Table
@@ -53565,7 +53565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4555;
show create table s;
Table Create Table
@@ -53573,7 +53573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4554;
show create table s;
Table Create Table
@@ -53581,7 +53581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4553;
show create table s;
Table Create Table
@@ -53589,7 +53589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4552;
show create table s;
Table Create Table
@@ -53597,7 +53597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4551;
show create table s;
Table Create Table
@@ -53605,7 +53605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4550;
show create table s;
Table Create Table
@@ -53613,7 +53613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4549;
show create table s;
Table Create Table
@@ -53621,7 +53621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4548;
show create table s;
Table Create Table
@@ -53629,7 +53629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4547;
show create table s;
Table Create Table
@@ -53637,7 +53637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4546;
show create table s;
Table Create Table
@@ -53645,7 +53645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4545;
show create table s;
Table Create Table
@@ -53653,7 +53653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4544;
show create table s;
Table Create Table
@@ -53661,7 +53661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4543;
show create table s;
Table Create Table
@@ -53669,7 +53669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4542;
show create table s;
Table Create Table
@@ -53677,7 +53677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4541;
show create table s;
Table Create Table
@@ -53685,7 +53685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4540;
show create table s;
Table Create Table
@@ -53693,7 +53693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4539;
show create table s;
Table Create Table
@@ -53701,7 +53701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4538;
show create table s;
Table Create Table
@@ -53709,7 +53709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4537;
show create table s;
Table Create Table
@@ -53717,7 +53717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4536;
show create table s;
Table Create Table
@@ -53725,7 +53725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4535;
show create table s;
Table Create Table
@@ -53733,7 +53733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4534;
show create table s;
Table Create Table
@@ -53741,7 +53741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4533;
show create table s;
Table Create Table
@@ -53749,7 +53749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4532;
show create table s;
Table Create Table
@@ -53757,7 +53757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4531;
show create table s;
Table Create Table
@@ -53765,7 +53765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4530;
show create table s;
Table Create Table
@@ -53773,7 +53773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4529;
show create table s;
Table Create Table
@@ -53781,7 +53781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4528;
show create table s;
Table Create Table
@@ -53789,7 +53789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4527;
show create table s;
Table Create Table
@@ -53797,7 +53797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4526;
show create table s;
Table Create Table
@@ -53805,7 +53805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4525;
show create table s;
Table Create Table
@@ -53813,7 +53813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4524;
show create table s;
Table Create Table
@@ -53821,7 +53821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4523;
show create table s;
Table Create Table
@@ -53829,7 +53829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4522;
show create table s;
Table Create Table
@@ -53837,7 +53837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4521;
show create table s;
Table Create Table
@@ -53845,7 +53845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4520;
show create table s;
Table Create Table
@@ -53853,7 +53853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4519;
show create table s;
Table Create Table
@@ -53861,7 +53861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4518;
show create table s;
Table Create Table
@@ -53869,7 +53869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4517;
show create table s;
Table Create Table
@@ -53877,7 +53877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4516;
show create table s;
Table Create Table
@@ -53885,7 +53885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4515;
show create table s;
Table Create Table
@@ -53893,7 +53893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4514;
show create table s;
Table Create Table
@@ -53901,7 +53901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4513;
show create table s;
Table Create Table
@@ -53909,7 +53909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4512;
show create table s;
Table Create Table
@@ -53917,7 +53917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4511;
show create table s;
Table Create Table
@@ -53925,7 +53925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4510;
show create table s;
Table Create Table
@@ -53933,7 +53933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4509;
show create table s;
Table Create Table
@@ -53941,7 +53941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4508;
show create table s;
Table Create Table
@@ -53949,7 +53949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4507;
show create table s;
Table Create Table
@@ -53957,7 +53957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4506;
show create table s;
Table Create Table
@@ -53965,7 +53965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4505;
show create table s;
Table Create Table
@@ -53973,7 +53973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4504;
show create table s;
Table Create Table
@@ -53981,7 +53981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4503;
show create table s;
Table Create Table
@@ -53989,7 +53989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4502;
show create table s;
Table Create Table
@@ -53997,7 +53997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4501;
show create table s;
Table Create Table
@@ -54005,7 +54005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4500;
show create table s;
Table Create Table
@@ -54013,7 +54013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4499;
show create table s;
Table Create Table
@@ -54021,7 +54021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4498;
show create table s;
Table Create Table
@@ -54029,7 +54029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4497;
show create table s;
Table Create Table
@@ -54037,7 +54037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4496;
show create table s;
Table Create Table
@@ -54045,7 +54045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4495;
show create table s;
Table Create Table
@@ -54053,7 +54053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4494;
show create table s;
Table Create Table
@@ -54061,7 +54061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4493;
show create table s;
Table Create Table
@@ -54069,7 +54069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4492;
show create table s;
Table Create Table
@@ -54077,7 +54077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4491;
show create table s;
Table Create Table
@@ -54085,7 +54085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4490;
show create table s;
Table Create Table
@@ -54093,7 +54093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4489;
show create table s;
Table Create Table
@@ -54101,7 +54101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4488;
show create table s;
Table Create Table
@@ -54109,7 +54109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4487;
show create table s;
Table Create Table
@@ -54117,7 +54117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4486;
show create table s;
Table Create Table
@@ -54125,7 +54125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4485;
show create table s;
Table Create Table
@@ -54133,7 +54133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4484;
show create table s;
Table Create Table
@@ -54141,7 +54141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4483;
show create table s;
Table Create Table
@@ -54149,7 +54149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4482;
show create table s;
Table Create Table
@@ -54157,7 +54157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4481;
show create table s;
Table Create Table
@@ -54165,7 +54165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4480;
show create table s;
Table Create Table
@@ -54173,7 +54173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4479;
show create table s;
Table Create Table
@@ -54181,7 +54181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4478;
show create table s;
Table Create Table
@@ -54189,7 +54189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4477;
show create table s;
Table Create Table
@@ -54197,7 +54197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4476;
show create table s;
Table Create Table
@@ -54205,7 +54205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4475;
show create table s;
Table Create Table
@@ -54213,7 +54213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4474;
show create table s;
Table Create Table
@@ -54221,7 +54221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4473;
show create table s;
Table Create Table
@@ -54229,7 +54229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4472;
show create table s;
Table Create Table
@@ -54237,7 +54237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4471;
show create table s;
Table Create Table
@@ -54245,7 +54245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4470;
show create table s;
Table Create Table
@@ -54253,7 +54253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4469;
show create table s;
Table Create Table
@@ -54261,7 +54261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4468;
show create table s;
Table Create Table
@@ -54269,7 +54269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4467;
show create table s;
Table Create Table
@@ -54277,7 +54277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4466;
show create table s;
Table Create Table
@@ -54285,7 +54285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4465;
show create table s;
Table Create Table
@@ -54293,7 +54293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4464;
show create table s;
Table Create Table
@@ -54301,7 +54301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4463;
show create table s;
Table Create Table
@@ -54309,7 +54309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4462;
show create table s;
Table Create Table
@@ -54317,7 +54317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4461;
show create table s;
Table Create Table
@@ -54325,7 +54325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4460;
show create table s;
Table Create Table
@@ -54333,7 +54333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4459;
show create table s;
Table Create Table
@@ -54341,7 +54341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4458;
show create table s;
Table Create Table
@@ -54349,7 +54349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4457;
show create table s;
Table Create Table
@@ -54357,7 +54357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4456;
show create table s;
Table Create Table
@@ -54365,7 +54365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4455;
show create table s;
Table Create Table
@@ -54373,7 +54373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4454;
show create table s;
Table Create Table
@@ -54381,7 +54381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4453;
show create table s;
Table Create Table
@@ -54389,7 +54389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4452;
show create table s;
Table Create Table
@@ -54397,7 +54397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4451;
show create table s;
Table Create Table
@@ -54405,7 +54405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4450;
show create table s;
Table Create Table
@@ -54413,7 +54413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4449;
show create table s;
Table Create Table
@@ -54421,7 +54421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4448;
show create table s;
Table Create Table
@@ -54429,7 +54429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4447;
show create table s;
Table Create Table
@@ -54437,7 +54437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4446;
show create table s;
Table Create Table
@@ -54445,7 +54445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4445;
show create table s;
Table Create Table
@@ -54453,7 +54453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4444;
show create table s;
Table Create Table
@@ -54461,7 +54461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4443;
show create table s;
Table Create Table
@@ -54469,7 +54469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4442;
show create table s;
Table Create Table
@@ -54477,7 +54477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4441;
show create table s;
Table Create Table
@@ -54485,7 +54485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4440;
show create table s;
Table Create Table
@@ -54493,7 +54493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4439;
show create table s;
Table Create Table
@@ -54501,7 +54501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4438;
show create table s;
Table Create Table
@@ -54509,7 +54509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4437;
show create table s;
Table Create Table
@@ -54517,7 +54517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4436;
show create table s;
Table Create Table
@@ -54525,7 +54525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4435;
show create table s;
Table Create Table
@@ -54533,7 +54533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4434;
show create table s;
Table Create Table
@@ -54541,7 +54541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4433;
show create table s;
Table Create Table
@@ -54549,7 +54549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4432;
show create table s;
Table Create Table
@@ -54557,7 +54557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4431;
show create table s;
Table Create Table
@@ -54565,7 +54565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4430;
show create table s;
Table Create Table
@@ -54573,7 +54573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4429;
show create table s;
Table Create Table
@@ -54581,7 +54581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4428;
show create table s;
Table Create Table
@@ -54589,7 +54589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4427;
show create table s;
Table Create Table
@@ -54597,7 +54597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4426;
show create table s;
Table Create Table
@@ -54605,7 +54605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4425;
show create table s;
Table Create Table
@@ -54613,7 +54613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4424;
show create table s;
Table Create Table
@@ -54621,7 +54621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4423;
show create table s;
Table Create Table
@@ -54629,7 +54629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4422;
show create table s;
Table Create Table
@@ -54637,7 +54637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4421;
show create table s;
Table Create Table
@@ -54645,7 +54645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4420;
show create table s;
Table Create Table
@@ -54653,7 +54653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4419;
show create table s;
Table Create Table
@@ -54661,7 +54661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4418;
show create table s;
Table Create Table
@@ -54669,7 +54669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4417;
show create table s;
Table Create Table
@@ -54677,7 +54677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4416;
show create table s;
Table Create Table
@@ -54685,7 +54685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4415;
show create table s;
Table Create Table
@@ -54693,7 +54693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4414;
show create table s;
Table Create Table
@@ -54701,7 +54701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4413;
show create table s;
Table Create Table
@@ -54709,7 +54709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4412;
show create table s;
Table Create Table
@@ -54717,7 +54717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4411;
show create table s;
Table Create Table
@@ -54725,7 +54725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4410;
show create table s;
Table Create Table
@@ -54733,7 +54733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4409;
show create table s;
Table Create Table
@@ -54741,7 +54741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4408;
show create table s;
Table Create Table
@@ -54749,7 +54749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4407;
show create table s;
Table Create Table
@@ -54757,7 +54757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4406;
show create table s;
Table Create Table
@@ -54765,7 +54765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4405;
show create table s;
Table Create Table
@@ -54773,7 +54773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4404;
show create table s;
Table Create Table
@@ -54781,7 +54781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4403;
show create table s;
Table Create Table
@@ -54789,7 +54789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4402;
show create table s;
Table Create Table
@@ -54797,7 +54797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4401;
show create table s;
Table Create Table
@@ -54805,7 +54805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4400;
show create table s;
Table Create Table
@@ -54813,7 +54813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4399;
show create table s;
Table Create Table
@@ -54821,7 +54821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4398;
show create table s;
Table Create Table
@@ -54829,7 +54829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4397;
show create table s;
Table Create Table
@@ -54837,7 +54837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4396;
show create table s;
Table Create Table
@@ -54845,7 +54845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4395;
show create table s;
Table Create Table
@@ -54853,7 +54853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4394;
show create table s;
Table Create Table
@@ -54861,7 +54861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4393;
show create table s;
Table Create Table
@@ -54869,7 +54869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4392;
show create table s;
Table Create Table
@@ -54877,7 +54877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4391;
show create table s;
Table Create Table
@@ -54885,7 +54885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4390;
show create table s;
Table Create Table
@@ -54893,7 +54893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4389;
show create table s;
Table Create Table
@@ -54901,7 +54901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4388;
show create table s;
Table Create Table
@@ -54909,7 +54909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4387;
show create table s;
Table Create Table
@@ -54917,7 +54917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4386;
show create table s;
Table Create Table
@@ -54925,7 +54925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4385;
show create table s;
Table Create Table
@@ -54933,7 +54933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4384;
show create table s;
Table Create Table
@@ -54941,7 +54941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4383;
show create table s;
Table Create Table
@@ -54949,7 +54949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4382;
show create table s;
Table Create Table
@@ -54957,7 +54957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4381;
show create table s;
Table Create Table
@@ -54965,7 +54965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4380;
show create table s;
Table Create Table
@@ -54973,7 +54973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4379;
show create table s;
Table Create Table
@@ -54981,7 +54981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4378;
show create table s;
Table Create Table
@@ -54989,7 +54989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4377;
show create table s;
Table Create Table
@@ -54997,7 +54997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4376;
show create table s;
Table Create Table
@@ -55005,7 +55005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4375;
show create table s;
Table Create Table
@@ -55013,7 +55013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4374;
show create table s;
Table Create Table
@@ -55021,7 +55021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4373;
show create table s;
Table Create Table
@@ -55029,7 +55029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4372;
show create table s;
Table Create Table
@@ -55037,7 +55037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4371;
show create table s;
Table Create Table
@@ -55045,7 +55045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4370;
show create table s;
Table Create Table
@@ -55053,7 +55053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4369;
show create table s;
Table Create Table
@@ -55061,7 +55061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4368;
show create table s;
Table Create Table
@@ -55069,7 +55069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4367;
show create table s;
Table Create Table
@@ -55077,7 +55077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4366;
show create table s;
Table Create Table
@@ -55085,7 +55085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4365;
show create table s;
Table Create Table
@@ -55093,7 +55093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4364;
show create table s;
Table Create Table
@@ -55101,7 +55101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4363;
show create table s;
Table Create Table
@@ -55109,7 +55109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4362;
show create table s;
Table Create Table
@@ -55117,7 +55117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4361;
show create table s;
Table Create Table
@@ -55125,7 +55125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4360;
show create table s;
Table Create Table
@@ -55133,7 +55133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4359;
show create table s;
Table Create Table
@@ -55141,7 +55141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4358;
show create table s;
Table Create Table
@@ -55149,7 +55149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4357;
show create table s;
Table Create Table
@@ -55157,7 +55157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4356;
show create table s;
Table Create Table
@@ -55165,7 +55165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4355;
show create table s;
Table Create Table
@@ -55173,7 +55173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4354;
show create table s;
Table Create Table
@@ -55181,7 +55181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4353;
show create table s;
Table Create Table
@@ -55189,7 +55189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4352;
show create table s;
Table Create Table
@@ -55197,7 +55197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4351;
show create table s;
Table Create Table
@@ -55205,7 +55205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4350;
show create table s;
Table Create Table
@@ -55213,7 +55213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4349;
show create table s;
Table Create Table
@@ -55221,7 +55221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4348;
show create table s;
Table Create Table
@@ -55229,7 +55229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4347;
show create table s;
Table Create Table
@@ -55237,7 +55237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4346;
show create table s;
Table Create Table
@@ -55245,7 +55245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4345;
show create table s;
Table Create Table
@@ -55253,7 +55253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4344;
show create table s;
Table Create Table
@@ -55261,7 +55261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4343;
show create table s;
Table Create Table
@@ -55269,7 +55269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4342;
show create table s;
Table Create Table
@@ -55277,7 +55277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4341;
show create table s;
Table Create Table
@@ -55285,7 +55285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4340;
show create table s;
Table Create Table
@@ -55293,7 +55293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4339;
show create table s;
Table Create Table
@@ -55301,7 +55301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4338;
show create table s;
Table Create Table
@@ -55309,7 +55309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4337;
show create table s;
Table Create Table
@@ -55317,7 +55317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4336;
show create table s;
Table Create Table
@@ -55325,7 +55325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4335;
show create table s;
Table Create Table
@@ -55333,7 +55333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4334;
show create table s;
Table Create Table
@@ -55341,7 +55341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4333;
show create table s;
Table Create Table
@@ -55349,7 +55349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4332;
show create table s;
Table Create Table
@@ -55357,7 +55357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4331;
show create table s;
Table Create Table
@@ -55365,7 +55365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4330;
show create table s;
Table Create Table
@@ -55373,7 +55373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4329;
show create table s;
Table Create Table
@@ -55381,7 +55381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4328;
show create table s;
Table Create Table
@@ -55389,7 +55389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4327;
show create table s;
Table Create Table
@@ -55397,7 +55397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4326;
show create table s;
Table Create Table
@@ -55405,7 +55405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4325;
show create table s;
Table Create Table
@@ -55413,7 +55413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4324;
show create table s;
Table Create Table
@@ -55421,7 +55421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4323;
show create table s;
Table Create Table
@@ -55429,7 +55429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4322;
show create table s;
Table Create Table
@@ -55437,7 +55437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4321;
show create table s;
Table Create Table
@@ -55445,7 +55445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4320;
show create table s;
Table Create Table
@@ -55453,7 +55453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4319;
show create table s;
Table Create Table
@@ -55461,7 +55461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4318;
show create table s;
Table Create Table
@@ -55469,7 +55469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4317;
show create table s;
Table Create Table
@@ -55477,7 +55477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4316;
show create table s;
Table Create Table
@@ -55485,7 +55485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4315;
show create table s;
Table Create Table
@@ -55493,7 +55493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4314;
show create table s;
Table Create Table
@@ -55501,7 +55501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4313;
show create table s;
Table Create Table
@@ -55509,7 +55509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4312;
show create table s;
Table Create Table
@@ -55517,7 +55517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4311;
show create table s;
Table Create Table
@@ -55525,7 +55525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4310;
show create table s;
Table Create Table
@@ -55533,7 +55533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4309;
show create table s;
Table Create Table
@@ -55541,7 +55541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4308;
show create table s;
Table Create Table
@@ -55549,7 +55549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4307;
show create table s;
Table Create Table
@@ -55557,7 +55557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4306;
show create table s;
Table Create Table
@@ -55565,7 +55565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4305;
show create table s;
Table Create Table
@@ -55573,7 +55573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4304;
show create table s;
Table Create Table
@@ -55581,7 +55581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4303;
show create table s;
Table Create Table
@@ -55589,7 +55589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4302;
show create table s;
Table Create Table
@@ -55597,7 +55597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4301;
show create table s;
Table Create Table
@@ -55605,7 +55605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4300;
show create table s;
Table Create Table
@@ -55613,7 +55613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4299;
show create table s;
Table Create Table
@@ -55621,7 +55621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4298;
show create table s;
Table Create Table
@@ -55629,7 +55629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4297;
show create table s;
Table Create Table
@@ -55637,7 +55637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4296;
show create table s;
Table Create Table
@@ -55645,7 +55645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4295;
show create table s;
Table Create Table
@@ -55653,7 +55653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4294;
show create table s;
Table Create Table
@@ -55661,7 +55661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4293;
show create table s;
Table Create Table
@@ -55669,7 +55669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4292;
show create table s;
Table Create Table
@@ -55677,7 +55677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4291;
show create table s;
Table Create Table
@@ -55685,7 +55685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4290;
show create table s;
Table Create Table
@@ -55693,7 +55693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4289;
show create table s;
Table Create Table
@@ -55701,7 +55701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4288;
show create table s;
Table Create Table
@@ -55709,7 +55709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4287;
show create table s;
Table Create Table
@@ -55717,7 +55717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4286;
show create table s;
Table Create Table
@@ -55725,7 +55725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4285;
show create table s;
Table Create Table
@@ -55733,7 +55733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4284;
show create table s;
Table Create Table
@@ -55741,7 +55741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4283;
show create table s;
Table Create Table
@@ -55749,7 +55749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4282;
show create table s;
Table Create Table
@@ -55757,7 +55757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4281;
show create table s;
Table Create Table
@@ -55765,7 +55765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4280;
show create table s;
Table Create Table
@@ -55773,7 +55773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4279;
show create table s;
Table Create Table
@@ -55781,7 +55781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4278;
show create table s;
Table Create Table
@@ -55789,7 +55789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4277;
show create table s;
Table Create Table
@@ -55797,7 +55797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4276;
show create table s;
Table Create Table
@@ -55805,7 +55805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4275;
show create table s;
Table Create Table
@@ -55813,7 +55813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4274;
show create table s;
Table Create Table
@@ -55821,7 +55821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4273;
show create table s;
Table Create Table
@@ -55829,7 +55829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4272;
show create table s;
Table Create Table
@@ -55837,7 +55837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4271;
show create table s;
Table Create Table
@@ -55845,7 +55845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4270;
show create table s;
Table Create Table
@@ -55853,7 +55853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4269;
show create table s;
Table Create Table
@@ -55861,7 +55861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4268;
show create table s;
Table Create Table
@@ -55869,7 +55869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4267;
show create table s;
Table Create Table
@@ -55877,7 +55877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4266;
show create table s;
Table Create Table
@@ -55885,7 +55885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4265;
show create table s;
Table Create Table
@@ -55893,7 +55893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4264;
show create table s;
Table Create Table
@@ -55901,7 +55901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4263;
show create table s;
Table Create Table
@@ -55909,7 +55909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4262;
show create table s;
Table Create Table
@@ -55917,7 +55917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4261;
show create table s;
Table Create Table
@@ -55925,7 +55925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4260;
show create table s;
Table Create Table
@@ -55933,7 +55933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4259;
show create table s;
Table Create Table
@@ -55941,7 +55941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4258;
show create table s;
Table Create Table
@@ -55949,7 +55949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4257;
show create table s;
Table Create Table
@@ -55957,7 +55957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4256;
show create table s;
Table Create Table
@@ -55965,7 +55965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4255;
show create table s;
Table Create Table
@@ -55973,7 +55973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4254;
show create table s;
Table Create Table
@@ -55981,7 +55981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4253;
show create table s;
Table Create Table
@@ -55989,7 +55989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4252;
show create table s;
Table Create Table
@@ -55997,7 +55997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4251;
show create table s;
Table Create Table
@@ -56005,7 +56005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4250;
show create table s;
Table Create Table
@@ -56013,7 +56013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4249;
show create table s;
Table Create Table
@@ -56021,7 +56021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4248;
show create table s;
Table Create Table
@@ -56029,7 +56029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4247;
show create table s;
Table Create Table
@@ -56037,7 +56037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4246;
show create table s;
Table Create Table
@@ -56045,7 +56045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4245;
show create table s;
Table Create Table
@@ -56053,7 +56053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4244;
show create table s;
Table Create Table
@@ -56061,7 +56061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4243;
show create table s;
Table Create Table
@@ -56069,7 +56069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4242;
show create table s;
Table Create Table
@@ -56077,7 +56077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4241;
show create table s;
Table Create Table
@@ -56085,7 +56085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4240;
show create table s;
Table Create Table
@@ -56093,7 +56093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4239;
show create table s;
Table Create Table
@@ -56101,7 +56101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4238;
show create table s;
Table Create Table
@@ -56109,7 +56109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4237;
show create table s;
Table Create Table
@@ -56117,7 +56117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4236;
show create table s;
Table Create Table
@@ -56125,7 +56125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4235;
show create table s;
Table Create Table
@@ -56133,7 +56133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4234;
show create table s;
Table Create Table
@@ -56141,7 +56141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4233;
show create table s;
Table Create Table
@@ -56149,7 +56149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4232;
show create table s;
Table Create Table
@@ -56157,7 +56157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4231;
show create table s;
Table Create Table
@@ -56165,7 +56165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4230;
show create table s;
Table Create Table
@@ -56173,7 +56173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4229;
show create table s;
Table Create Table
@@ -56181,7 +56181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4228;
show create table s;
Table Create Table
@@ -56189,7 +56189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4227;
show create table s;
Table Create Table
@@ -56197,7 +56197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4226;
show create table s;
Table Create Table
@@ -56205,7 +56205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4225;
show create table s;
Table Create Table
@@ -56213,7 +56213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4224;
show create table s;
Table Create Table
@@ -56221,7 +56221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4223;
show create table s;
Table Create Table
@@ -56229,7 +56229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4222;
show create table s;
Table Create Table
@@ -56237,7 +56237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4221;
show create table s;
Table Create Table
@@ -56245,7 +56245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4220;
show create table s;
Table Create Table
@@ -56253,7 +56253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4219;
show create table s;
Table Create Table
@@ -56261,7 +56261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4218;
show create table s;
Table Create Table
@@ -56269,7 +56269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4217;
show create table s;
Table Create Table
@@ -56277,7 +56277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4216;
show create table s;
Table Create Table
@@ -56285,7 +56285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4215;
show create table s;
Table Create Table
@@ -56293,7 +56293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4214;
show create table s;
Table Create Table
@@ -56301,7 +56301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4213;
show create table s;
Table Create Table
@@ -56309,7 +56309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4212;
show create table s;
Table Create Table
@@ -56317,7 +56317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4211;
show create table s;
Table Create Table
@@ -56325,7 +56325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4210;
show create table s;
Table Create Table
@@ -56333,7 +56333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4209;
show create table s;
Table Create Table
@@ -56341,7 +56341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4208;
show create table s;
Table Create Table
@@ -56349,7 +56349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4207;
show create table s;
Table Create Table
@@ -56357,7 +56357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4206;
show create table s;
Table Create Table
@@ -56365,7 +56365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4205;
show create table s;
Table Create Table
@@ -56373,7 +56373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4204;
show create table s;
Table Create Table
@@ -56381,7 +56381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4203;
show create table s;
Table Create Table
@@ -56389,7 +56389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4202;
show create table s;
Table Create Table
@@ -56397,7 +56397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4201;
show create table s;
Table Create Table
@@ -56405,7 +56405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4200;
show create table s;
Table Create Table
@@ -56413,7 +56413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4199;
show create table s;
Table Create Table
@@ -56421,7 +56421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4198;
show create table s;
Table Create Table
@@ -56429,7 +56429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4197;
show create table s;
Table Create Table
@@ -56437,7 +56437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4196;
show create table s;
Table Create Table
@@ -56445,7 +56445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4195;
show create table s;
Table Create Table
@@ -56453,7 +56453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4194;
show create table s;
Table Create Table
@@ -56461,7 +56461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4193;
show create table s;
Table Create Table
@@ -56469,7 +56469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4192;
show create table s;
Table Create Table
@@ -56477,7 +56477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4191;
show create table s;
Table Create Table
@@ -56485,7 +56485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4190;
show create table s;
Table Create Table
@@ -56493,7 +56493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4189;
show create table s;
Table Create Table
@@ -56501,7 +56501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4188;
show create table s;
Table Create Table
@@ -56509,7 +56509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4187;
show create table s;
Table Create Table
@@ -56517,7 +56517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4186;
show create table s;
Table Create Table
@@ -56525,7 +56525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4185;
show create table s;
Table Create Table
@@ -56533,7 +56533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4184;
show create table s;
Table Create Table
@@ -56541,7 +56541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4183;
show create table s;
Table Create Table
@@ -56549,7 +56549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4182;
show create table s;
Table Create Table
@@ -56557,7 +56557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4181;
show create table s;
Table Create Table
@@ -56565,7 +56565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4180;
show create table s;
Table Create Table
@@ -56573,7 +56573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4179;
show create table s;
Table Create Table
@@ -56581,7 +56581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4178;
show create table s;
Table Create Table
@@ -56589,7 +56589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4177;
show create table s;
Table Create Table
@@ -56597,7 +56597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4176;
show create table s;
Table Create Table
@@ -56605,7 +56605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4175;
show create table s;
Table Create Table
@@ -56613,7 +56613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4174;
show create table s;
Table Create Table
@@ -56621,7 +56621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4173;
show create table s;
Table Create Table
@@ -56629,7 +56629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4172;
show create table s;
Table Create Table
@@ -56637,7 +56637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4171;
show create table s;
Table Create Table
@@ -56645,7 +56645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4170;
show create table s;
Table Create Table
@@ -56653,7 +56653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4169;
show create table s;
Table Create Table
@@ -56661,7 +56661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4168;
show create table s;
Table Create Table
@@ -56669,7 +56669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4167;
show create table s;
Table Create Table
@@ -56677,7 +56677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4166;
show create table s;
Table Create Table
@@ -56685,7 +56685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4165;
show create table s;
Table Create Table
@@ -56693,7 +56693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4164;
show create table s;
Table Create Table
@@ -56701,7 +56701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4163;
show create table s;
Table Create Table
@@ -56709,7 +56709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4162;
show create table s;
Table Create Table
@@ -56717,7 +56717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4161;
show create table s;
Table Create Table
@@ -56725,7 +56725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4160;
show create table s;
Table Create Table
@@ -56733,7 +56733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4159;
show create table s;
Table Create Table
@@ -56741,7 +56741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4158;
show create table s;
Table Create Table
@@ -56749,7 +56749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4157;
show create table s;
Table Create Table
@@ -56757,7 +56757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4156;
show create table s;
Table Create Table
@@ -56765,7 +56765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4155;
show create table s;
Table Create Table
@@ -56773,7 +56773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4154;
show create table s;
Table Create Table
@@ -56781,7 +56781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4153;
show create table s;
Table Create Table
@@ -56789,7 +56789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4152;
show create table s;
Table Create Table
@@ -56797,7 +56797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4151;
show create table s;
Table Create Table
@@ -56805,7 +56805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4150;
show create table s;
Table Create Table
@@ -56813,7 +56813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4149;
show create table s;
Table Create Table
@@ -56821,7 +56821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4148;
show create table s;
Table Create Table
@@ -56829,7 +56829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4147;
show create table s;
Table Create Table
@@ -56837,7 +56837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4146;
show create table s;
Table Create Table
@@ -56845,7 +56845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4145;
show create table s;
Table Create Table
@@ -56853,7 +56853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4144;
show create table s;
Table Create Table
@@ -56861,7 +56861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4143;
show create table s;
Table Create Table
@@ -56869,7 +56869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4142;
show create table s;
Table Create Table
@@ -56877,7 +56877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4141;
show create table s;
Table Create Table
@@ -56885,7 +56885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4140;
show create table s;
Table Create Table
@@ -56893,7 +56893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4139;
show create table s;
Table Create Table
@@ -56901,7 +56901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4138;
show create table s;
Table Create Table
@@ -56909,7 +56909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4137;
show create table s;
Table Create Table
@@ -56917,7 +56917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4136;
show create table s;
Table Create Table
@@ -56925,7 +56925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4135;
show create table s;
Table Create Table
@@ -56933,7 +56933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4134;
show create table s;
Table Create Table
@@ -56941,7 +56941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4133;
show create table s;
Table Create Table
@@ -56949,7 +56949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4132;
show create table s;
Table Create Table
@@ -56957,7 +56957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4131;
show create table s;
Table Create Table
@@ -56965,7 +56965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4130;
show create table s;
Table Create Table
@@ -56973,7 +56973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4129;
show create table s;
Table Create Table
@@ -56981,7 +56981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4128;
show create table s;
Table Create Table
@@ -56989,7 +56989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4127;
show create table s;
Table Create Table
@@ -56997,7 +56997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4126;
show create table s;
Table Create Table
@@ -57005,7 +57005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4125;
show create table s;
Table Create Table
@@ -57013,7 +57013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4124;
show create table s;
Table Create Table
@@ -57021,7 +57021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4123;
show create table s;
Table Create Table
@@ -57029,7 +57029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4122;
show create table s;
Table Create Table
@@ -57037,7 +57037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4121;
show create table s;
Table Create Table
@@ -57045,7 +57045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4120;
show create table s;
Table Create Table
@@ -57053,7 +57053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4119;
show create table s;
Table Create Table
@@ -57061,7 +57061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4118;
show create table s;
Table Create Table
@@ -57069,7 +57069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4117;
show create table s;
Table Create Table
@@ -57077,7 +57077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4116;
show create table s;
Table Create Table
@@ -57085,7 +57085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4115;
show create table s;
Table Create Table
@@ -57093,7 +57093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4114;
show create table s;
Table Create Table
@@ -57101,7 +57101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4113;
show create table s;
Table Create Table
@@ -57109,7 +57109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4112;
show create table s;
Table Create Table
@@ -57117,7 +57117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4111;
show create table s;
Table Create Table
@@ -57125,7 +57125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4110;
show create table s;
Table Create Table
@@ -57133,7 +57133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4109;
show create table s;
Table Create Table
@@ -57141,7 +57141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4108;
show create table s;
Table Create Table
@@ -57149,7 +57149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4107;
show create table s;
Table Create Table
@@ -57157,7 +57157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4106;
show create table s;
Table Create Table
@@ -57165,7 +57165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4105;
show create table s;
Table Create Table
@@ -57173,7 +57173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4104;
show create table s;
Table Create Table
@@ -57181,7 +57181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4103;
show create table s;
Table Create Table
@@ -57189,7 +57189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4102;
show create table s;
Table Create Table
@@ -57197,7 +57197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4101;
show create table s;
Table Create Table
@@ -57205,7 +57205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4100;
show create table s;
Table Create Table
@@ -57213,7 +57213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4099;
show create table s;
Table Create Table
@@ -57221,7 +57221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4098;
show create table s;
Table Create Table
@@ -57229,7 +57229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4097;
show create table s;
Table Create Table
@@ -57237,7 +57237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4096;
show create table s;
Table Create Table
@@ -57245,7 +57245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4095;
show create table s;
Table Create Table
@@ -57253,7 +57253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4094;
show create table s;
Table Create Table
@@ -57261,7 +57261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4093;
show create table s;
Table Create Table
@@ -57269,7 +57269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4092;
show create table s;
Table Create Table
@@ -57277,7 +57277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4091;
show create table s;
Table Create Table
@@ -57285,7 +57285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4090;
show create table s;
Table Create Table
@@ -57293,7 +57293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4089;
show create table s;
Table Create Table
@@ -57301,7 +57301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4088;
show create table s;
Table Create Table
@@ -57309,7 +57309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4087;
show create table s;
Table Create Table
@@ -57317,7 +57317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4086;
show create table s;
Table Create Table
@@ -57325,7 +57325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4085;
show create table s;
Table Create Table
@@ -57333,7 +57333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4084;
show create table s;
Table Create Table
@@ -57341,7 +57341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4083;
show create table s;
Table Create Table
@@ -57349,7 +57349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4082;
show create table s;
Table Create Table
@@ -57357,7 +57357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4081;
show create table s;
Table Create Table
@@ -57365,7 +57365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4080;
show create table s;
Table Create Table
@@ -57373,7 +57373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4079;
show create table s;
Table Create Table
@@ -57381,7 +57381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4078;
show create table s;
Table Create Table
@@ -57389,7 +57389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4077;
show create table s;
Table Create Table
@@ -57397,7 +57397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4076;
show create table s;
Table Create Table
@@ -57405,7 +57405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4075;
show create table s;
Table Create Table
@@ -57413,7 +57413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4074;
show create table s;
Table Create Table
@@ -57421,7 +57421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4073;
show create table s;
Table Create Table
@@ -57429,7 +57429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4072;
show create table s;
Table Create Table
@@ -57437,7 +57437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4071;
show create table s;
Table Create Table
@@ -57445,7 +57445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4070;
show create table s;
Table Create Table
@@ -57453,7 +57453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4069;
show create table s;
Table Create Table
@@ -57461,7 +57461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4068;
show create table s;
Table Create Table
@@ -57469,7 +57469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4067;
show create table s;
Table Create Table
@@ -57477,7 +57477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4066;
show create table s;
Table Create Table
@@ -57485,7 +57485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4065;
show create table s;
Table Create Table
@@ -57493,7 +57493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4064;
show create table s;
Table Create Table
@@ -57501,7 +57501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4063;
show create table s;
Table Create Table
@@ -57509,7 +57509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4062;
show create table s;
Table Create Table
@@ -57517,7 +57517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4061;
show create table s;
Table Create Table
@@ -57525,7 +57525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4060;
show create table s;
Table Create Table
@@ -57533,7 +57533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4059;
show create table s;
Table Create Table
@@ -57541,7 +57541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4058;
show create table s;
Table Create Table
@@ -57549,7 +57549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4057;
show create table s;
Table Create Table
@@ -57557,7 +57557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4056;
show create table s;
Table Create Table
@@ -57565,7 +57565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4055;
show create table s;
Table Create Table
@@ -57573,7 +57573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4054;
show create table s;
Table Create Table
@@ -57581,7 +57581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4053;
show create table s;
Table Create Table
@@ -57589,7 +57589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4052;
show create table s;
Table Create Table
@@ -57597,7 +57597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4051;
show create table s;
Table Create Table
@@ -57605,7 +57605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4050;
show create table s;
Table Create Table
@@ -57613,7 +57613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4049;
show create table s;
Table Create Table
@@ -57621,7 +57621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4048;
show create table s;
Table Create Table
@@ -57629,7 +57629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4047;
show create table s;
Table Create Table
@@ -57637,7 +57637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4046;
show create table s;
Table Create Table
@@ -57645,7 +57645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4045;
show create table s;
Table Create Table
@@ -57653,7 +57653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4044;
show create table s;
Table Create Table
@@ -57661,7 +57661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4043;
show create table s;
Table Create Table
@@ -57669,7 +57669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4042;
show create table s;
Table Create Table
@@ -57677,7 +57677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4041;
show create table s;
Table Create Table
@@ -57685,7 +57685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4040;
show create table s;
Table Create Table
@@ -57693,7 +57693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4039;
show create table s;
Table Create Table
@@ -57701,7 +57701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4038;
show create table s;
Table Create Table
@@ -57709,7 +57709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4037;
show create table s;
Table Create Table
@@ -57717,7 +57717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4036;
show create table s;
Table Create Table
@@ -57725,7 +57725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4035;
show create table s;
Table Create Table
@@ -57733,7 +57733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4034;
show create table s;
Table Create Table
@@ -57741,7 +57741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4033;
show create table s;
Table Create Table
@@ -57749,7 +57749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4032;
show create table s;
Table Create Table
@@ -57757,7 +57757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4031;
show create table s;
Table Create Table
@@ -57765,7 +57765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4030;
show create table s;
Table Create Table
@@ -57773,7 +57773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4029;
show create table s;
Table Create Table
@@ -57781,7 +57781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4028;
show create table s;
Table Create Table
@@ -57789,7 +57789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4027;
show create table s;
Table Create Table
@@ -57797,7 +57797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4026;
show create table s;
Table Create Table
@@ -57805,7 +57805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4025;
show create table s;
Table Create Table
@@ -57813,7 +57813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4024;
show create table s;
Table Create Table
@@ -57821,7 +57821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4023;
show create table s;
Table Create Table
@@ -57829,7 +57829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4022;
show create table s;
Table Create Table
@@ -57837,7 +57837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4021;
show create table s;
Table Create Table
@@ -57845,7 +57845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4020;
show create table s;
Table Create Table
@@ -57853,7 +57853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4019;
show create table s;
Table Create Table
@@ -57861,7 +57861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4018;
show create table s;
Table Create Table
@@ -57869,7 +57869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4017;
show create table s;
Table Create Table
@@ -57877,7 +57877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4016;
show create table s;
Table Create Table
@@ -57885,7 +57885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4015;
show create table s;
Table Create Table
@@ -57893,7 +57893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4014;
show create table s;
Table Create Table
@@ -57901,7 +57901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4013;
show create table s;
Table Create Table
@@ -57909,7 +57909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4012;
show create table s;
Table Create Table
@@ -57917,7 +57917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4011;
show create table s;
Table Create Table
@@ -57925,7 +57925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4010;
show create table s;
Table Create Table
@@ -57933,7 +57933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4009;
show create table s;
Table Create Table
@@ -57941,7 +57941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4008;
show create table s;
Table Create Table
@@ -57949,7 +57949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4007;
show create table s;
Table Create Table
@@ -57957,7 +57957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4006;
show create table s;
Table Create Table
@@ -57965,7 +57965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4005;
show create table s;
Table Create Table
@@ -57973,7 +57973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4004;
show create table s;
Table Create Table
@@ -57981,7 +57981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4003;
show create table s;
Table Create Table
@@ -57989,7 +57989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4002;
show create table s;
Table Create Table
@@ -57997,7 +57997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4001;
show create table s;
Table Create Table
@@ -58005,7 +58005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4000;
show create table s;
Table Create Table
@@ -58013,7 +58013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3999;
show create table s;
Table Create Table
@@ -58021,7 +58021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3998;
show create table s;
Table Create Table
@@ -58029,7 +58029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3997;
show create table s;
Table Create Table
@@ -58037,7 +58037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3996;
show create table s;
Table Create Table
@@ -58045,7 +58045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3995;
show create table s;
Table Create Table
@@ -58053,7 +58053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3994;
show create table s;
Table Create Table
@@ -58061,7 +58061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3993;
show create table s;
Table Create Table
@@ -58069,7 +58069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3992;
show create table s;
Table Create Table
@@ -58077,7 +58077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3991;
show create table s;
Table Create Table
@@ -58085,7 +58085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3990;
show create table s;
Table Create Table
@@ -58093,7 +58093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3989;
show create table s;
Table Create Table
@@ -58101,7 +58101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3988;
show create table s;
Table Create Table
@@ -58109,7 +58109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3987;
show create table s;
Table Create Table
@@ -58117,7 +58117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3986;
show create table s;
Table Create Table
@@ -58125,7 +58125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3985;
show create table s;
Table Create Table
@@ -58133,7 +58133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3984;
show create table s;
Table Create Table
@@ -58141,7 +58141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3983;
show create table s;
Table Create Table
@@ -58149,7 +58149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3982;
show create table s;
Table Create Table
@@ -58157,7 +58157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3981;
show create table s;
Table Create Table
@@ -58165,7 +58165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3980;
show create table s;
Table Create Table
@@ -58173,7 +58173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3979;
show create table s;
Table Create Table
@@ -58181,7 +58181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3978;
show create table s;
Table Create Table
@@ -58189,7 +58189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3977;
show create table s;
Table Create Table
@@ -58197,7 +58197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3976;
show create table s;
Table Create Table
@@ -58205,7 +58205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3975;
show create table s;
Table Create Table
@@ -58213,7 +58213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3974;
show create table s;
Table Create Table
@@ -58221,7 +58221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3973;
show create table s;
Table Create Table
@@ -58229,7 +58229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3972;
show create table s;
Table Create Table
@@ -58237,7 +58237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3971;
show create table s;
Table Create Table
@@ -58245,7 +58245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3970;
show create table s;
Table Create Table
@@ -58253,7 +58253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3969;
show create table s;
Table Create Table
@@ -58261,7 +58261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3968;
show create table s;
Table Create Table
@@ -58269,7 +58269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3967;
show create table s;
Table Create Table
@@ -58277,7 +58277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3966;
show create table s;
Table Create Table
@@ -58285,7 +58285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3965;
show create table s;
Table Create Table
@@ -58293,7 +58293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3964;
show create table s;
Table Create Table
@@ -58301,7 +58301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3963;
show create table s;
Table Create Table
@@ -58309,7 +58309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3962;
show create table s;
Table Create Table
@@ -58317,7 +58317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3961;
show create table s;
Table Create Table
@@ -58325,7 +58325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3960;
show create table s;
Table Create Table
@@ -58333,7 +58333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3959;
show create table s;
Table Create Table
@@ -58341,7 +58341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3958;
show create table s;
Table Create Table
@@ -58349,7 +58349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3957;
show create table s;
Table Create Table
@@ -58357,7 +58357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3956;
show create table s;
Table Create Table
@@ -58365,7 +58365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3955;
show create table s;
Table Create Table
@@ -58373,7 +58373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3954;
show create table s;
Table Create Table
@@ -58381,7 +58381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3953;
show create table s;
Table Create Table
@@ -58389,7 +58389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3952;
show create table s;
Table Create Table
@@ -58397,7 +58397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3951;
show create table s;
Table Create Table
@@ -58405,7 +58405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3950;
show create table s;
Table Create Table
@@ -58413,7 +58413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3949;
show create table s;
Table Create Table
@@ -58421,7 +58421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3948;
show create table s;
Table Create Table
@@ -58429,7 +58429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3947;
show create table s;
Table Create Table
@@ -58437,7 +58437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3946;
show create table s;
Table Create Table
@@ -58445,7 +58445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3945;
show create table s;
Table Create Table
@@ -58453,7 +58453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3944;
show create table s;
Table Create Table
@@ -58461,7 +58461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3943;
show create table s;
Table Create Table
@@ -58469,7 +58469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3942;
show create table s;
Table Create Table
@@ -58477,7 +58477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3941;
show create table s;
Table Create Table
@@ -58485,7 +58485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3940;
show create table s;
Table Create Table
@@ -58493,7 +58493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3939;
show create table s;
Table Create Table
@@ -58501,7 +58501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3938;
show create table s;
Table Create Table
@@ -58509,7 +58509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3937;
show create table s;
Table Create Table
@@ -58517,7 +58517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3936;
show create table s;
Table Create Table
@@ -58525,7 +58525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3935;
show create table s;
Table Create Table
@@ -58533,7 +58533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3934;
show create table s;
Table Create Table
@@ -58541,7 +58541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3933;
show create table s;
Table Create Table
@@ -58549,7 +58549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3932;
show create table s;
Table Create Table
@@ -58557,7 +58557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3931;
show create table s;
Table Create Table
@@ -58565,7 +58565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3930;
show create table s;
Table Create Table
@@ -58573,7 +58573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3929;
show create table s;
Table Create Table
@@ -58581,7 +58581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3928;
show create table s;
Table Create Table
@@ -58589,7 +58589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3927;
show create table s;
Table Create Table
@@ -58597,7 +58597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3926;
show create table s;
Table Create Table
@@ -58605,7 +58605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3925;
show create table s;
Table Create Table
@@ -58613,7 +58613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3924;
show create table s;
Table Create Table
@@ -58621,7 +58621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3923;
show create table s;
Table Create Table
@@ -58629,7 +58629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3922;
show create table s;
Table Create Table
@@ -58637,7 +58637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3921;
show create table s;
Table Create Table
@@ -58645,7 +58645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3920;
show create table s;
Table Create Table
@@ -58653,7 +58653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3919;
show create table s;
Table Create Table
@@ -58661,7 +58661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3918;
show create table s;
Table Create Table
@@ -58669,7 +58669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3917;
show create table s;
Table Create Table
@@ -58677,7 +58677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3916;
show create table s;
Table Create Table
@@ -58685,7 +58685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3915;
show create table s;
Table Create Table
@@ -58693,7 +58693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3914;
show create table s;
Table Create Table
@@ -58701,7 +58701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3913;
show create table s;
Table Create Table
@@ -58709,7 +58709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3912;
show create table s;
Table Create Table
@@ -58717,7 +58717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3911;
show create table s;
Table Create Table
@@ -58725,7 +58725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3910;
show create table s;
Table Create Table
@@ -58733,7 +58733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3909;
show create table s;
Table Create Table
@@ -58741,7 +58741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3908;
show create table s;
Table Create Table
@@ -58749,7 +58749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3907;
show create table s;
Table Create Table
@@ -58757,7 +58757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3906;
show create table s;
Table Create Table
@@ -58765,7 +58765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3905;
show create table s;
Table Create Table
@@ -58773,7 +58773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3904;
show create table s;
Table Create Table
@@ -58781,7 +58781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3903;
show create table s;
Table Create Table
@@ -58789,7 +58789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3902;
show create table s;
Table Create Table
@@ -58797,7 +58797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3901;
show create table s;
Table Create Table
@@ -58805,7 +58805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3900;
show create table s;
Table Create Table
@@ -58813,7 +58813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3899;
show create table s;
Table Create Table
@@ -58821,7 +58821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3898;
show create table s;
Table Create Table
@@ -58829,7 +58829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3897;
show create table s;
Table Create Table
@@ -58837,7 +58837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3896;
show create table s;
Table Create Table
@@ -58845,7 +58845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3895;
show create table s;
Table Create Table
@@ -58853,7 +58853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3894;
show create table s;
Table Create Table
@@ -58861,7 +58861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3893;
show create table s;
Table Create Table
@@ -58869,7 +58869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3892;
show create table s;
Table Create Table
@@ -58877,7 +58877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3891;
show create table s;
Table Create Table
@@ -58885,7 +58885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3890;
show create table s;
Table Create Table
@@ -58893,7 +58893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3889;
show create table s;
Table Create Table
@@ -58901,7 +58901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3888;
show create table s;
Table Create Table
@@ -58909,7 +58909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3887;
show create table s;
Table Create Table
@@ -58917,7 +58917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3886;
show create table s;
Table Create Table
@@ -58925,7 +58925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3885;
show create table s;
Table Create Table
@@ -58933,7 +58933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3884;
show create table s;
Table Create Table
@@ -58941,7 +58941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3883;
show create table s;
Table Create Table
@@ -58949,7 +58949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3882;
show create table s;
Table Create Table
@@ -58957,7 +58957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3881;
show create table s;
Table Create Table
@@ -58965,7 +58965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3880;
show create table s;
Table Create Table
@@ -58973,7 +58973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3879;
show create table s;
Table Create Table
@@ -58981,7 +58981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3878;
show create table s;
Table Create Table
@@ -58989,7 +58989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3877;
show create table s;
Table Create Table
@@ -58997,7 +58997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3876;
show create table s;
Table Create Table
@@ -59005,7 +59005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3875;
show create table s;
Table Create Table
@@ -59013,7 +59013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3874;
show create table s;
Table Create Table
@@ -59021,7 +59021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3873;
show create table s;
Table Create Table
@@ -59029,7 +59029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3872;
show create table s;
Table Create Table
@@ -59037,7 +59037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3871;
show create table s;
Table Create Table
@@ -59045,7 +59045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3870;
show create table s;
Table Create Table
@@ -59053,7 +59053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3869;
show create table s;
Table Create Table
@@ -59061,7 +59061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3868;
show create table s;
Table Create Table
@@ -59069,7 +59069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3867;
show create table s;
Table Create Table
@@ -59077,7 +59077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3866;
show create table s;
Table Create Table
@@ -59085,7 +59085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3865;
show create table s;
Table Create Table
@@ -59093,7 +59093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3864;
show create table s;
Table Create Table
@@ -59101,7 +59101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3863;
show create table s;
Table Create Table
@@ -59109,7 +59109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3862;
show create table s;
Table Create Table
@@ -59117,7 +59117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3861;
show create table s;
Table Create Table
@@ -59125,7 +59125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3860;
show create table s;
Table Create Table
@@ -59133,7 +59133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3859;
show create table s;
Table Create Table
@@ -59141,7 +59141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3858;
show create table s;
Table Create Table
@@ -59149,7 +59149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3857;
show create table s;
Table Create Table
@@ -59157,7 +59157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3856;
show create table s;
Table Create Table
@@ -59165,7 +59165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3855;
show create table s;
Table Create Table
@@ -59173,7 +59173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3854;
show create table s;
Table Create Table
@@ -59181,7 +59181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3853;
show create table s;
Table Create Table
@@ -59189,7 +59189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3852;
show create table s;
Table Create Table
@@ -59197,7 +59197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3851;
show create table s;
Table Create Table
@@ -59205,7 +59205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3850;
show create table s;
Table Create Table
@@ -59213,7 +59213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3849;
show create table s;
Table Create Table
@@ -59221,7 +59221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3848;
show create table s;
Table Create Table
@@ -59229,7 +59229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3847;
show create table s;
Table Create Table
@@ -59237,7 +59237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3846;
show create table s;
Table Create Table
@@ -59245,7 +59245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3845;
show create table s;
Table Create Table
@@ -59253,7 +59253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3844;
show create table s;
Table Create Table
@@ -59261,7 +59261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3843;
show create table s;
Table Create Table
@@ -59269,7 +59269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3842;
show create table s;
Table Create Table
@@ -59277,7 +59277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3841;
show create table s;
Table Create Table
@@ -59285,7 +59285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3840;
show create table s;
Table Create Table
@@ -59293,7 +59293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3839;
show create table s;
Table Create Table
@@ -59301,7 +59301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3838;
show create table s;
Table Create Table
@@ -59309,7 +59309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3837;
show create table s;
Table Create Table
@@ -59317,7 +59317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3836;
show create table s;
Table Create Table
@@ -59325,7 +59325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3835;
show create table s;
Table Create Table
@@ -59333,7 +59333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3834;
show create table s;
Table Create Table
@@ -59341,7 +59341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3833;
show create table s;
Table Create Table
@@ -59349,7 +59349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3832;
show create table s;
Table Create Table
@@ -59357,7 +59357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3831;
show create table s;
Table Create Table
@@ -59365,7 +59365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3830;
show create table s;
Table Create Table
@@ -59373,7 +59373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3829;
show create table s;
Table Create Table
@@ -59381,7 +59381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3828;
show create table s;
Table Create Table
@@ -59389,7 +59389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3827;
show create table s;
Table Create Table
@@ -59397,7 +59397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3826;
show create table s;
Table Create Table
@@ -59405,7 +59405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3825;
show create table s;
Table Create Table
@@ -59413,7 +59413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3824;
show create table s;
Table Create Table
@@ -59421,7 +59421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3823;
show create table s;
Table Create Table
@@ -59429,7 +59429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3822;
show create table s;
Table Create Table
@@ -59437,7 +59437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3821;
show create table s;
Table Create Table
@@ -59445,7 +59445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3820;
show create table s;
Table Create Table
@@ -59453,7 +59453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3819;
show create table s;
Table Create Table
@@ -59461,7 +59461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3818;
show create table s;
Table Create Table
@@ -59469,7 +59469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3817;
show create table s;
Table Create Table
@@ -59477,7 +59477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3816;
show create table s;
Table Create Table
@@ -59485,7 +59485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3815;
show create table s;
Table Create Table
@@ -59493,7 +59493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3814;
show create table s;
Table Create Table
@@ -59501,7 +59501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3813;
show create table s;
Table Create Table
@@ -59509,7 +59509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3812;
show create table s;
Table Create Table
@@ -59517,7 +59517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3811;
show create table s;
Table Create Table
@@ -59525,7 +59525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3810;
show create table s;
Table Create Table
@@ -59533,7 +59533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3809;
show create table s;
Table Create Table
@@ -59541,7 +59541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3808;
show create table s;
Table Create Table
@@ -59549,7 +59549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3807;
show create table s;
Table Create Table
@@ -59557,7 +59557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3806;
show create table s;
Table Create Table
@@ -59565,7 +59565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3805;
show create table s;
Table Create Table
@@ -59573,7 +59573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3804;
show create table s;
Table Create Table
@@ -59581,7 +59581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3803;
show create table s;
Table Create Table
@@ -59589,7 +59589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3802;
show create table s;
Table Create Table
@@ -59597,7 +59597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3801;
show create table s;
Table Create Table
@@ -59605,7 +59605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3800;
show create table s;
Table Create Table
@@ -59613,7 +59613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3799;
show create table s;
Table Create Table
@@ -59621,7 +59621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3798;
show create table s;
Table Create Table
@@ -59629,7 +59629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3797;
show create table s;
Table Create Table
@@ -59637,7 +59637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3796;
show create table s;
Table Create Table
@@ -59645,7 +59645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3795;
show create table s;
Table Create Table
@@ -59653,7 +59653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3794;
show create table s;
Table Create Table
@@ -59661,7 +59661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3793;
show create table s;
Table Create Table
@@ -59669,7 +59669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3792;
show create table s;
Table Create Table
@@ -59677,7 +59677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3791;
show create table s;
Table Create Table
@@ -59685,7 +59685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3790;
show create table s;
Table Create Table
@@ -59693,7 +59693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3789;
show create table s;
Table Create Table
@@ -59701,7 +59701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3788;
show create table s;
Table Create Table
@@ -59709,7 +59709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3787;
show create table s;
Table Create Table
@@ -59717,7 +59717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3786;
show create table s;
Table Create Table
@@ -59725,7 +59725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3785;
show create table s;
Table Create Table
@@ -59733,7 +59733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3784;
show create table s;
Table Create Table
@@ -59741,7 +59741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3783;
show create table s;
Table Create Table
@@ -59749,7 +59749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3782;
show create table s;
Table Create Table
@@ -59757,7 +59757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3781;
show create table s;
Table Create Table
@@ -59765,7 +59765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3780;
show create table s;
Table Create Table
@@ -59773,7 +59773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3779;
show create table s;
Table Create Table
@@ -59781,7 +59781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3778;
show create table s;
Table Create Table
@@ -59789,7 +59789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3777;
show create table s;
Table Create Table
@@ -59797,7 +59797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3776;
show create table s;
Table Create Table
@@ -59805,7 +59805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3775;
show create table s;
Table Create Table
@@ -59813,7 +59813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3774;
show create table s;
Table Create Table
@@ -59821,7 +59821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3773;
show create table s;
Table Create Table
@@ -59829,7 +59829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3772;
show create table s;
Table Create Table
@@ -59837,7 +59837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3771;
show create table s;
Table Create Table
@@ -59845,7 +59845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3770;
show create table s;
Table Create Table
@@ -59853,7 +59853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3769;
show create table s;
Table Create Table
@@ -59861,7 +59861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3768;
show create table s;
Table Create Table
@@ -59869,7 +59869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3767;
show create table s;
Table Create Table
@@ -59877,7 +59877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3766;
show create table s;
Table Create Table
@@ -59885,7 +59885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3765;
show create table s;
Table Create Table
@@ -59893,7 +59893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3764;
show create table s;
Table Create Table
@@ -59901,7 +59901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3763;
show create table s;
Table Create Table
@@ -59909,7 +59909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3762;
show create table s;
Table Create Table
@@ -59917,7 +59917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3761;
show create table s;
Table Create Table
@@ -59925,7 +59925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3760;
show create table s;
Table Create Table
@@ -59933,7 +59933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3759;
show create table s;
Table Create Table
@@ -59941,7 +59941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3758;
show create table s;
Table Create Table
@@ -59949,7 +59949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3757;
show create table s;
Table Create Table
@@ -59957,7 +59957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3756;
show create table s;
Table Create Table
@@ -59965,7 +59965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3755;
show create table s;
Table Create Table
@@ -59973,7 +59973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3754;
show create table s;
Table Create Table
@@ -59981,7 +59981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3753;
show create table s;
Table Create Table
@@ -59989,7 +59989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3752;
show create table s;
Table Create Table
@@ -59997,7 +59997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3751;
show create table s;
Table Create Table
@@ -60005,7 +60005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3750;
show create table s;
Table Create Table
@@ -60013,7 +60013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3749;
show create table s;
Table Create Table
@@ -60021,7 +60021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3748;
show create table s;
Table Create Table
@@ -60029,7 +60029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3747;
show create table s;
Table Create Table
@@ -60037,7 +60037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3746;
show create table s;
Table Create Table
@@ -60045,7 +60045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3745;
show create table s;
Table Create Table
@@ -60053,7 +60053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3744;
show create table s;
Table Create Table
@@ -60061,7 +60061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3743;
show create table s;
Table Create Table
@@ -60069,7 +60069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3742;
show create table s;
Table Create Table
@@ -60077,7 +60077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3741;
show create table s;
Table Create Table
@@ -60085,7 +60085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3740;
show create table s;
Table Create Table
@@ -60093,7 +60093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3739;
show create table s;
Table Create Table
@@ -60101,7 +60101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3738;
show create table s;
Table Create Table
@@ -60109,7 +60109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3737;
show create table s;
Table Create Table
@@ -60117,7 +60117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3736;
show create table s;
Table Create Table
@@ -60125,7 +60125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3735;
show create table s;
Table Create Table
@@ -60133,7 +60133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3734;
show create table s;
Table Create Table
@@ -60141,7 +60141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3733;
show create table s;
Table Create Table
@@ -60149,7 +60149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3732;
show create table s;
Table Create Table
@@ -60157,7 +60157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3731;
show create table s;
Table Create Table
@@ -60165,7 +60165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3730;
show create table s;
Table Create Table
@@ -60173,7 +60173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3729;
show create table s;
Table Create Table
@@ -60181,7 +60181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3728;
show create table s;
Table Create Table
@@ -60189,7 +60189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3727;
show create table s;
Table Create Table
@@ -60197,7 +60197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3726;
show create table s;
Table Create Table
@@ -60205,7 +60205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3725;
show create table s;
Table Create Table
@@ -60213,7 +60213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3724;
show create table s;
Table Create Table
@@ -60221,7 +60221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3723;
show create table s;
Table Create Table
@@ -60229,7 +60229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3722;
show create table s;
Table Create Table
@@ -60237,7 +60237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3721;
show create table s;
Table Create Table
@@ -60245,7 +60245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3720;
show create table s;
Table Create Table
@@ -60253,7 +60253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3719;
show create table s;
Table Create Table
@@ -60261,7 +60261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3718;
show create table s;
Table Create Table
@@ -60269,7 +60269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3717;
show create table s;
Table Create Table
@@ -60277,7 +60277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3716;
show create table s;
Table Create Table
@@ -60285,7 +60285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3715;
show create table s;
Table Create Table
@@ -60293,7 +60293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3714;
show create table s;
Table Create Table
@@ -60301,7 +60301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3713;
show create table s;
Table Create Table
@@ -60309,7 +60309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3712;
show create table s;
Table Create Table
@@ -60317,7 +60317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3711;
show create table s;
Table Create Table
@@ -60325,7 +60325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3710;
show create table s;
Table Create Table
@@ -60333,7 +60333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3709;
show create table s;
Table Create Table
@@ -60341,7 +60341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3708;
show create table s;
Table Create Table
@@ -60349,7 +60349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3707;
show create table s;
Table Create Table
@@ -60357,7 +60357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3706;
show create table s;
Table Create Table
@@ -60365,7 +60365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3705;
show create table s;
Table Create Table
@@ -60373,7 +60373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3704;
show create table s;
Table Create Table
@@ -60381,7 +60381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3703;
show create table s;
Table Create Table
@@ -60389,7 +60389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3702;
show create table s;
Table Create Table
@@ -60397,7 +60397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3701;
show create table s;
Table Create Table
@@ -60405,7 +60405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3700;
show create table s;
Table Create Table
@@ -60413,7 +60413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3699;
show create table s;
Table Create Table
@@ -60421,7 +60421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3698;
show create table s;
Table Create Table
@@ -60429,7 +60429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3697;
show create table s;
Table Create Table
@@ -60437,7 +60437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3696;
show create table s;
Table Create Table
@@ -60445,7 +60445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3695;
show create table s;
Table Create Table
@@ -60453,7 +60453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3694;
show create table s;
Table Create Table
@@ -60461,7 +60461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3693;
show create table s;
Table Create Table
@@ -60469,7 +60469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3692;
show create table s;
Table Create Table
@@ -60477,7 +60477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3691;
show create table s;
Table Create Table
@@ -60485,7 +60485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3690;
show create table s;
Table Create Table
@@ -60493,7 +60493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3689;
show create table s;
Table Create Table
@@ -60501,7 +60501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3688;
show create table s;
Table Create Table
@@ -60509,7 +60509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3687;
show create table s;
Table Create Table
@@ -60517,7 +60517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3686;
show create table s;
Table Create Table
@@ -60525,7 +60525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3685;
show create table s;
Table Create Table
@@ -60533,7 +60533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3684;
show create table s;
Table Create Table
@@ -60541,7 +60541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3683;
show create table s;
Table Create Table
@@ -60549,7 +60549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3682;
show create table s;
Table Create Table
@@ -60557,7 +60557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3681;
show create table s;
Table Create Table
@@ -60565,7 +60565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3680;
show create table s;
Table Create Table
@@ -60573,7 +60573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3679;
show create table s;
Table Create Table
@@ -60581,7 +60581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3678;
show create table s;
Table Create Table
@@ -60589,7 +60589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3677;
show create table s;
Table Create Table
@@ -60597,7 +60597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3676;
show create table s;
Table Create Table
@@ -60605,7 +60605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3675;
show create table s;
Table Create Table
@@ -60613,7 +60613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3674;
show create table s;
Table Create Table
@@ -60621,7 +60621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3673;
show create table s;
Table Create Table
@@ -60629,7 +60629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3672;
show create table s;
Table Create Table
@@ -60637,7 +60637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3671;
show create table s;
Table Create Table
@@ -60645,7 +60645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3670;
show create table s;
Table Create Table
@@ -60653,7 +60653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3669;
show create table s;
Table Create Table
@@ -60661,7 +60661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3668;
show create table s;
Table Create Table
@@ -60669,7 +60669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3667;
show create table s;
Table Create Table
@@ -60677,7 +60677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3666;
show create table s;
Table Create Table
@@ -60685,7 +60685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3665;
show create table s;
Table Create Table
@@ -60693,7 +60693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3664;
show create table s;
Table Create Table
@@ -60701,7 +60701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3663;
show create table s;
Table Create Table
@@ -60709,7 +60709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3662;
show create table s;
Table Create Table
@@ -60717,7 +60717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3661;
show create table s;
Table Create Table
@@ -60725,7 +60725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3660;
show create table s;
Table Create Table
@@ -60733,7 +60733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3659;
show create table s;
Table Create Table
@@ -60741,7 +60741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3658;
show create table s;
Table Create Table
@@ -60749,7 +60749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3657;
show create table s;
Table Create Table
@@ -60757,7 +60757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3656;
show create table s;
Table Create Table
@@ -60765,7 +60765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3655;
show create table s;
Table Create Table
@@ -60773,7 +60773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3654;
show create table s;
Table Create Table
@@ -60781,7 +60781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3653;
show create table s;
Table Create Table
@@ -60789,7 +60789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3652;
show create table s;
Table Create Table
@@ -60797,7 +60797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3651;
show create table s;
Table Create Table
@@ -60805,7 +60805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3650;
show create table s;
Table Create Table
@@ -60813,7 +60813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3649;
show create table s;
Table Create Table
@@ -60821,7 +60821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3648;
show create table s;
Table Create Table
@@ -60829,7 +60829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3647;
show create table s;
Table Create Table
@@ -60837,7 +60837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3646;
show create table s;
Table Create Table
@@ -60845,7 +60845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3645;
show create table s;
Table Create Table
@@ -60853,7 +60853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3644;
show create table s;
Table Create Table
@@ -60861,7 +60861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3643;
show create table s;
Table Create Table
@@ -60869,7 +60869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3642;
show create table s;
Table Create Table
@@ -60877,7 +60877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3641;
show create table s;
Table Create Table
@@ -60885,7 +60885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3640;
show create table s;
Table Create Table
@@ -60893,7 +60893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3639;
show create table s;
Table Create Table
@@ -60901,7 +60901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3638;
show create table s;
Table Create Table
@@ -60909,7 +60909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3637;
show create table s;
Table Create Table
@@ -60917,7 +60917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3636;
show create table s;
Table Create Table
@@ -60925,7 +60925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3635;
show create table s;
Table Create Table
@@ -60933,7 +60933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3634;
show create table s;
Table Create Table
@@ -60941,7 +60941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3633;
show create table s;
Table Create Table
@@ -60949,7 +60949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3632;
show create table s;
Table Create Table
@@ -60957,7 +60957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3631;
show create table s;
Table Create Table
@@ -60965,7 +60965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3630;
show create table s;
Table Create Table
@@ -60973,7 +60973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3629;
show create table s;
Table Create Table
@@ -60981,7 +60981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3628;
show create table s;
Table Create Table
@@ -60989,7 +60989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3627;
show create table s;
Table Create Table
@@ -60997,7 +60997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3626;
show create table s;
Table Create Table
@@ -61005,7 +61005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3625;
show create table s;
Table Create Table
@@ -61013,7 +61013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3624;
show create table s;
Table Create Table
@@ -61021,7 +61021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3623;
show create table s;
Table Create Table
@@ -61029,7 +61029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3622;
show create table s;
Table Create Table
@@ -61037,7 +61037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3621;
show create table s;
Table Create Table
@@ -61045,7 +61045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3620;
show create table s;
Table Create Table
@@ -61053,7 +61053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3619;
show create table s;
Table Create Table
@@ -61061,7 +61061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3618;
show create table s;
Table Create Table
@@ -61069,7 +61069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3617;
show create table s;
Table Create Table
@@ -61077,7 +61077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3616;
show create table s;
Table Create Table
@@ -61085,7 +61085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3615;
show create table s;
Table Create Table
@@ -61093,7 +61093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3614;
show create table s;
Table Create Table
@@ -61101,7 +61101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3613;
show create table s;
Table Create Table
@@ -61109,7 +61109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3612;
show create table s;
Table Create Table
@@ -61117,7 +61117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3611;
show create table s;
Table Create Table
@@ -61125,7 +61125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3610;
show create table s;
Table Create Table
@@ -61133,7 +61133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3609;
show create table s;
Table Create Table
@@ -61141,7 +61141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3608;
show create table s;
Table Create Table
@@ -61149,7 +61149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3607;
show create table s;
Table Create Table
@@ -61157,7 +61157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3606;
show create table s;
Table Create Table
@@ -61165,7 +61165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3605;
show create table s;
Table Create Table
@@ -61173,7 +61173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3604;
show create table s;
Table Create Table
@@ -61181,7 +61181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3603;
show create table s;
Table Create Table
@@ -61189,7 +61189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3602;
show create table s;
Table Create Table
@@ -61197,7 +61197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3601;
show create table s;
Table Create Table
@@ -61205,7 +61205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3600;
show create table s;
Table Create Table
@@ -61213,7 +61213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3599;
show create table s;
Table Create Table
@@ -61221,7 +61221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3598;
show create table s;
Table Create Table
@@ -61229,7 +61229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3597;
show create table s;
Table Create Table
@@ -61237,7 +61237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3596;
show create table s;
Table Create Table
@@ -61245,7 +61245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3595;
show create table s;
Table Create Table
@@ -61253,7 +61253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3594;
show create table s;
Table Create Table
@@ -61261,7 +61261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3593;
show create table s;
Table Create Table
@@ -61269,7 +61269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3592;
show create table s;
Table Create Table
@@ -61277,7 +61277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3591;
show create table s;
Table Create Table
@@ -61285,7 +61285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3590;
show create table s;
Table Create Table
@@ -61293,7 +61293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3589;
show create table s;
Table Create Table
@@ -61301,7 +61301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3588;
show create table s;
Table Create Table
@@ -61309,7 +61309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3587;
show create table s;
Table Create Table
@@ -61317,7 +61317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3586;
show create table s;
Table Create Table
@@ -61325,7 +61325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3585;
show create table s;
Table Create Table
@@ -61333,7 +61333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3584;
show create table s;
Table Create Table
@@ -61341,7 +61341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3583;
show create table s;
Table Create Table
@@ -61349,7 +61349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3582;
show create table s;
Table Create Table
@@ -61357,7 +61357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3581;
show create table s;
Table Create Table
@@ -61365,7 +61365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3580;
show create table s;
Table Create Table
@@ -61373,7 +61373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3579;
show create table s;
Table Create Table
@@ -61381,7 +61381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3578;
show create table s;
Table Create Table
@@ -61389,7 +61389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3577;
show create table s;
Table Create Table
@@ -61397,7 +61397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3576;
show create table s;
Table Create Table
@@ -61405,7 +61405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3575;
show create table s;
Table Create Table
@@ -61413,7 +61413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3574;
show create table s;
Table Create Table
@@ -61421,7 +61421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3573;
show create table s;
Table Create Table
@@ -61429,7 +61429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3572;
show create table s;
Table Create Table
@@ -61437,7 +61437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3571;
show create table s;
Table Create Table
@@ -61445,7 +61445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3570;
show create table s;
Table Create Table
@@ -61453,7 +61453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3569;
show create table s;
Table Create Table
@@ -61461,7 +61461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3568;
show create table s;
Table Create Table
@@ -61469,7 +61469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3567;
show create table s;
Table Create Table
@@ -61477,7 +61477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3566;
show create table s;
Table Create Table
@@ -61485,7 +61485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3565;
show create table s;
Table Create Table
@@ -61493,7 +61493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3564;
show create table s;
Table Create Table
@@ -61501,7 +61501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3563;
show create table s;
Table Create Table
@@ -61509,7 +61509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3562;
show create table s;
Table Create Table
@@ -61517,7 +61517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3561;
show create table s;
Table Create Table
@@ -61525,7 +61525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3560;
show create table s;
Table Create Table
@@ -61533,7 +61533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3559;
show create table s;
Table Create Table
@@ -61541,7 +61541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3558;
show create table s;
Table Create Table
@@ -61549,7 +61549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3557;
show create table s;
Table Create Table
@@ -61557,7 +61557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3556;
show create table s;
Table Create Table
@@ -61565,7 +61565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3555;
show create table s;
Table Create Table
@@ -61573,7 +61573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3554;
show create table s;
Table Create Table
@@ -61581,7 +61581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3553;
show create table s;
Table Create Table
@@ -61589,7 +61589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3552;
show create table s;
Table Create Table
@@ -61597,7 +61597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3551;
show create table s;
Table Create Table
@@ -61605,7 +61605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3550;
show create table s;
Table Create Table
@@ -61613,7 +61613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3549;
show create table s;
Table Create Table
@@ -61621,7 +61621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3548;
show create table s;
Table Create Table
@@ -61629,7 +61629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3547;
show create table s;
Table Create Table
@@ -61637,7 +61637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3546;
show create table s;
Table Create Table
@@ -61645,7 +61645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3545;
show create table s;
Table Create Table
@@ -61653,7 +61653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3544;
show create table s;
Table Create Table
@@ -61661,7 +61661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3543;
show create table s;
Table Create Table
@@ -61669,7 +61669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3542;
show create table s;
Table Create Table
@@ -61677,7 +61677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3541;
show create table s;
Table Create Table
@@ -61685,7 +61685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3540;
show create table s;
Table Create Table
@@ -61693,7 +61693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3539;
show create table s;
Table Create Table
@@ -61701,7 +61701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3538;
show create table s;
Table Create Table
@@ -61709,7 +61709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3537;
show create table s;
Table Create Table
@@ -61717,7 +61717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3536;
show create table s;
Table Create Table
@@ -61725,7 +61725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3535;
show create table s;
Table Create Table
@@ -61733,7 +61733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3534;
show create table s;
Table Create Table
@@ -61741,7 +61741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3533;
show create table s;
Table Create Table
@@ -61749,7 +61749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3532;
show create table s;
Table Create Table
@@ -61757,7 +61757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3531;
show create table s;
Table Create Table
@@ -61765,7 +61765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3530;
show create table s;
Table Create Table
@@ -61773,7 +61773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3529;
show create table s;
Table Create Table
@@ -61781,7 +61781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3528;
show create table s;
Table Create Table
@@ -61789,7 +61789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3527;
show create table s;
Table Create Table
@@ -61797,7 +61797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3526;
show create table s;
Table Create Table
@@ -61805,7 +61805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3525;
show create table s;
Table Create Table
@@ -61813,7 +61813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3524;
show create table s;
Table Create Table
@@ -61821,7 +61821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3523;
show create table s;
Table Create Table
@@ -61829,7 +61829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3522;
show create table s;
Table Create Table
@@ -61837,7 +61837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3521;
show create table s;
Table Create Table
@@ -61845,7 +61845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3520;
show create table s;
Table Create Table
@@ -61853,7 +61853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3519;
show create table s;
Table Create Table
@@ -61861,7 +61861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3518;
show create table s;
Table Create Table
@@ -61869,7 +61869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3517;
show create table s;
Table Create Table
@@ -61877,7 +61877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3516;
show create table s;
Table Create Table
@@ -61885,7 +61885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3515;
show create table s;
Table Create Table
@@ -61893,7 +61893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3514;
show create table s;
Table Create Table
@@ -61901,7 +61901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3513;
show create table s;
Table Create Table
@@ -61909,7 +61909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3512;
show create table s;
Table Create Table
@@ -61917,7 +61917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3511;
show create table s;
Table Create Table
@@ -61925,7 +61925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3510;
show create table s;
Table Create Table
@@ -61933,7 +61933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3509;
show create table s;
Table Create Table
@@ -61941,7 +61941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3508;
show create table s;
Table Create Table
@@ -61949,7 +61949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3507;
show create table s;
Table Create Table
@@ -61957,7 +61957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3506;
show create table s;
Table Create Table
@@ -61965,7 +61965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3505;
show create table s;
Table Create Table
@@ -61973,7 +61973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3504;
show create table s;
Table Create Table
@@ -61981,7 +61981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3503;
show create table s;
Table Create Table
@@ -61989,7 +61989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3502;
show create table s;
Table Create Table
@@ -61997,7 +61997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3501;
show create table s;
Table Create Table
@@ -62005,7 +62005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3500;
show create table s;
Table Create Table
@@ -62013,7 +62013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3499;
show create table s;
Table Create Table
@@ -62021,7 +62021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3498;
show create table s;
Table Create Table
@@ -62029,7 +62029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3497;
show create table s;
Table Create Table
@@ -62037,7 +62037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3496;
show create table s;
Table Create Table
@@ -62045,7 +62045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3495;
show create table s;
Table Create Table
@@ -62053,7 +62053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3494;
show create table s;
Table Create Table
@@ -62061,7 +62061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3493;
show create table s;
Table Create Table
@@ -62069,7 +62069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3492;
show create table s;
Table Create Table
@@ -62077,7 +62077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3491;
show create table s;
Table Create Table
@@ -62085,7 +62085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3490;
show create table s;
Table Create Table
@@ -62093,7 +62093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3489;
show create table s;
Table Create Table
@@ -62101,7 +62101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3488;
show create table s;
Table Create Table
@@ -62109,7 +62109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3487;
show create table s;
Table Create Table
@@ -62117,7 +62117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3486;
show create table s;
Table Create Table
@@ -62125,7 +62125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3485;
show create table s;
Table Create Table
@@ -62133,7 +62133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3484;
show create table s;
Table Create Table
@@ -62141,7 +62141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3483;
show create table s;
Table Create Table
@@ -62149,7 +62149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3482;
show create table s;
Table Create Table
@@ -62157,7 +62157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3481;
show create table s;
Table Create Table
@@ -62165,7 +62165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3480;
show create table s;
Table Create Table
@@ -62173,7 +62173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3479;
show create table s;
Table Create Table
@@ -62181,7 +62181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3478;
show create table s;
Table Create Table
@@ -62189,7 +62189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3477;
show create table s;
Table Create Table
@@ -62197,7 +62197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3476;
show create table s;
Table Create Table
@@ -62205,7 +62205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3475;
show create table s;
Table Create Table
@@ -62213,7 +62213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3474;
show create table s;
Table Create Table
@@ -62221,7 +62221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3473;
show create table s;
Table Create Table
@@ -62229,7 +62229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3472;
show create table s;
Table Create Table
@@ -62237,7 +62237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3471;
show create table s;
Table Create Table
@@ -62245,7 +62245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3470;
show create table s;
Table Create Table
@@ -62253,7 +62253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3469;
show create table s;
Table Create Table
@@ -62261,7 +62261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3468;
show create table s;
Table Create Table
@@ -62269,7 +62269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3467;
show create table s;
Table Create Table
@@ -62277,7 +62277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3466;
show create table s;
Table Create Table
@@ -62285,7 +62285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3465;
show create table s;
Table Create Table
@@ -62293,7 +62293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3464;
show create table s;
Table Create Table
@@ -62301,7 +62301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3463;
show create table s;
Table Create Table
@@ -62309,7 +62309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3462;
show create table s;
Table Create Table
@@ -62317,7 +62317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3461;
show create table s;
Table Create Table
@@ -62325,7 +62325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3460;
show create table s;
Table Create Table
@@ -62333,7 +62333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3459;
show create table s;
Table Create Table
@@ -62341,7 +62341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3458;
show create table s;
Table Create Table
@@ -62349,7 +62349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3457;
show create table s;
Table Create Table
@@ -62357,7 +62357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3456;
show create table s;
Table Create Table
@@ -62365,7 +62365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3455;
show create table s;
Table Create Table
@@ -62373,7 +62373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3454;
show create table s;
Table Create Table
@@ -62381,7 +62381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3453;
show create table s;
Table Create Table
@@ -62389,7 +62389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3452;
show create table s;
Table Create Table
@@ -62397,7 +62397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3451;
show create table s;
Table Create Table
@@ -62405,7 +62405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3450;
show create table s;
Table Create Table
@@ -62413,7 +62413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3449;
show create table s;
Table Create Table
@@ -62421,7 +62421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3448;
show create table s;
Table Create Table
@@ -62429,7 +62429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3447;
show create table s;
Table Create Table
@@ -62437,7 +62437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3446;
show create table s;
Table Create Table
@@ -62445,7 +62445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3445;
show create table s;
Table Create Table
@@ -62453,7 +62453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3444;
show create table s;
Table Create Table
@@ -62461,7 +62461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3443;
show create table s;
Table Create Table
@@ -62469,7 +62469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3442;
show create table s;
Table Create Table
@@ -62477,7 +62477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3441;
show create table s;
Table Create Table
@@ -62485,7 +62485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3440;
show create table s;
Table Create Table
@@ -62493,7 +62493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3439;
show create table s;
Table Create Table
@@ -62501,7 +62501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3438;
show create table s;
Table Create Table
@@ -62509,7 +62509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3437;
show create table s;
Table Create Table
@@ -62517,7 +62517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3436;
show create table s;
Table Create Table
@@ -62525,7 +62525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3435;
show create table s;
Table Create Table
@@ -62533,7 +62533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3434;
show create table s;
Table Create Table
@@ -62541,7 +62541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3433;
show create table s;
Table Create Table
@@ -62549,7 +62549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3432;
show create table s;
Table Create Table
@@ -62557,7 +62557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3431;
show create table s;
Table Create Table
@@ -62565,7 +62565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3430;
show create table s;
Table Create Table
@@ -62573,7 +62573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3429;
show create table s;
Table Create Table
@@ -62581,7 +62581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3428;
show create table s;
Table Create Table
@@ -62589,7 +62589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3427;
show create table s;
Table Create Table
@@ -62597,7 +62597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3426;
show create table s;
Table Create Table
@@ -62605,7 +62605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3425;
show create table s;
Table Create Table
@@ -62613,7 +62613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3424;
show create table s;
Table Create Table
@@ -62621,7 +62621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3423;
show create table s;
Table Create Table
@@ -62629,7 +62629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3422;
show create table s;
Table Create Table
@@ -62637,7 +62637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3421;
show create table s;
Table Create Table
@@ -62645,7 +62645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3420;
show create table s;
Table Create Table
@@ -62653,7 +62653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3419;
show create table s;
Table Create Table
@@ -62661,7 +62661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3418;
show create table s;
Table Create Table
@@ -62669,7 +62669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3417;
show create table s;
Table Create Table
@@ -62677,7 +62677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3416;
show create table s;
Table Create Table
@@ -62685,7 +62685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3415;
show create table s;
Table Create Table
@@ -62693,7 +62693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3414;
show create table s;
Table Create Table
@@ -62701,7 +62701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3413;
show create table s;
Table Create Table
@@ -62709,7 +62709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3412;
show create table s;
Table Create Table
@@ -62717,7 +62717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3411;
show create table s;
Table Create Table
@@ -62725,7 +62725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3410;
show create table s;
Table Create Table
@@ -62733,7 +62733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3409;
show create table s;
Table Create Table
@@ -62741,7 +62741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3408;
show create table s;
Table Create Table
@@ -62749,7 +62749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3407;
show create table s;
Table Create Table
@@ -62757,7 +62757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3406;
show create table s;
Table Create Table
@@ -62765,7 +62765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3405;
show create table s;
Table Create Table
@@ -62773,7 +62773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3404;
show create table s;
Table Create Table
@@ -62781,7 +62781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3403;
show create table s;
Table Create Table
@@ -62789,7 +62789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3402;
show create table s;
Table Create Table
@@ -62797,7 +62797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3401;
show create table s;
Table Create Table
@@ -62805,7 +62805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3400;
show create table s;
Table Create Table
@@ -62813,7 +62813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3399;
show create table s;
Table Create Table
@@ -62821,7 +62821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3398;
show create table s;
Table Create Table
@@ -62829,7 +62829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3397;
show create table s;
Table Create Table
@@ -62837,7 +62837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3396;
show create table s;
Table Create Table
@@ -62845,7 +62845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3395;
show create table s;
Table Create Table
@@ -62853,7 +62853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3394;
show create table s;
Table Create Table
@@ -62861,7 +62861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3393;
show create table s;
Table Create Table
@@ -62869,7 +62869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3392;
show create table s;
Table Create Table
@@ -62877,7 +62877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3391;
show create table s;
Table Create Table
@@ -62885,7 +62885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3390;
show create table s;
Table Create Table
@@ -62893,7 +62893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3389;
show create table s;
Table Create Table
@@ -62901,7 +62901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3388;
show create table s;
Table Create Table
@@ -62909,7 +62909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3387;
show create table s;
Table Create Table
@@ -62917,7 +62917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3386;
show create table s;
Table Create Table
@@ -62925,7 +62925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3385;
show create table s;
Table Create Table
@@ -62933,7 +62933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3384;
show create table s;
Table Create Table
@@ -62941,7 +62941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3383;
show create table s;
Table Create Table
@@ -62949,7 +62949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3382;
show create table s;
Table Create Table
@@ -62957,7 +62957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3381;
show create table s;
Table Create Table
@@ -62965,7 +62965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3380;
show create table s;
Table Create Table
@@ -62973,7 +62973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3379;
show create table s;
Table Create Table
@@ -62981,7 +62981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3378;
show create table s;
Table Create Table
@@ -62989,7 +62989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3377;
show create table s;
Table Create Table
@@ -62997,7 +62997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3376;
show create table s;
Table Create Table
@@ -63005,7 +63005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3375;
show create table s;
Table Create Table
@@ -63013,7 +63013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3374;
show create table s;
Table Create Table
@@ -63021,7 +63021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3373;
show create table s;
Table Create Table
@@ -63029,7 +63029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3372;
show create table s;
Table Create Table
@@ -63037,7 +63037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3371;
show create table s;
Table Create Table
@@ -63045,7 +63045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3370;
show create table s;
Table Create Table
@@ -63053,7 +63053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3369;
show create table s;
Table Create Table
@@ -63061,7 +63061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3368;
show create table s;
Table Create Table
@@ -63069,7 +63069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3367;
show create table s;
Table Create Table
@@ -63077,7 +63077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3366;
show create table s;
Table Create Table
@@ -63085,7 +63085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3365;
show create table s;
Table Create Table
@@ -63093,7 +63093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3364;
show create table s;
Table Create Table
@@ -63101,7 +63101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3363;
show create table s;
Table Create Table
@@ -63109,7 +63109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3362;
show create table s;
Table Create Table
@@ -63117,7 +63117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3361;
show create table s;
Table Create Table
@@ -63125,7 +63125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3360;
show create table s;
Table Create Table
@@ -63133,7 +63133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3359;
show create table s;
Table Create Table
@@ -63141,7 +63141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3358;
show create table s;
Table Create Table
@@ -63149,7 +63149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3357;
show create table s;
Table Create Table
@@ -63157,7 +63157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3356;
show create table s;
Table Create Table
@@ -63165,7 +63165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3355;
show create table s;
Table Create Table
@@ -63173,7 +63173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3354;
show create table s;
Table Create Table
@@ -63181,7 +63181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3353;
show create table s;
Table Create Table
@@ -63189,7 +63189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3352;
show create table s;
Table Create Table
@@ -63197,7 +63197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3351;
show create table s;
Table Create Table
@@ -63205,7 +63205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3350;
show create table s;
Table Create Table
@@ -63213,7 +63213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3349;
show create table s;
Table Create Table
@@ -63221,7 +63221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3348;
show create table s;
Table Create Table
@@ -63229,7 +63229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3347;
show create table s;
Table Create Table
@@ -63237,7 +63237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3346;
show create table s;
Table Create Table
@@ -63245,7 +63245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3345;
show create table s;
Table Create Table
@@ -63253,7 +63253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3344;
show create table s;
Table Create Table
@@ -63261,7 +63261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3343;
show create table s;
Table Create Table
@@ -63269,7 +63269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3342;
show create table s;
Table Create Table
@@ -63277,7 +63277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3341;
show create table s;
Table Create Table
@@ -63285,7 +63285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3340;
show create table s;
Table Create Table
@@ -63293,7 +63293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3339;
show create table s;
Table Create Table
@@ -63301,7 +63301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3338;
show create table s;
Table Create Table
@@ -63309,7 +63309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3337;
show create table s;
Table Create Table
@@ -63317,7 +63317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3336;
show create table s;
Table Create Table
@@ -63325,7 +63325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3335;
show create table s;
Table Create Table
@@ -63333,7 +63333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3334;
show create table s;
Table Create Table
@@ -63341,7 +63341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3333;
show create table s;
Table Create Table
@@ -63349,7 +63349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3332;
show create table s;
Table Create Table
@@ -63357,7 +63357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3331;
show create table s;
Table Create Table
@@ -63365,7 +63365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3330;
show create table s;
Table Create Table
@@ -63373,7 +63373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3329;
show create table s;
Table Create Table
@@ -63381,7 +63381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3328;
show create table s;
Table Create Table
@@ -63389,7 +63389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3327;
show create table s;
Table Create Table
@@ -63397,7 +63397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3326;
show create table s;
Table Create Table
@@ -63405,7 +63405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3325;
show create table s;
Table Create Table
@@ -63413,7 +63413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3324;
show create table s;
Table Create Table
@@ -63421,7 +63421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3323;
show create table s;
Table Create Table
@@ -63429,7 +63429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3322;
show create table s;
Table Create Table
@@ -63437,7 +63437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3321;
show create table s;
Table Create Table
@@ -63445,7 +63445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3320;
show create table s;
Table Create Table
@@ -63453,7 +63453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3319;
show create table s;
Table Create Table
@@ -63461,7 +63461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3318;
show create table s;
Table Create Table
@@ -63469,7 +63469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3317;
show create table s;
Table Create Table
@@ -63477,7 +63477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3316;
show create table s;
Table Create Table
@@ -63485,7 +63485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3315;
show create table s;
Table Create Table
@@ -63493,7 +63493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3314;
show create table s;
Table Create Table
@@ -63501,7 +63501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3313;
show create table s;
Table Create Table
@@ -63509,7 +63509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3312;
show create table s;
Table Create Table
@@ -63517,7 +63517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3311;
show create table s;
Table Create Table
@@ -63525,7 +63525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3310;
show create table s;
Table Create Table
@@ -63533,7 +63533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3309;
show create table s;
Table Create Table
@@ -63541,7 +63541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3308;
show create table s;
Table Create Table
@@ -63549,7 +63549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3307;
show create table s;
Table Create Table
@@ -63557,7 +63557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3306;
show create table s;
Table Create Table
@@ -63565,7 +63565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3305;
show create table s;
Table Create Table
@@ -63573,7 +63573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3304;
show create table s;
Table Create Table
@@ -63581,7 +63581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3303;
show create table s;
Table Create Table
@@ -63589,7 +63589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3302;
show create table s;
Table Create Table
@@ -63597,7 +63597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3301;
show create table s;
Table Create Table
@@ -63605,7 +63605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3300;
show create table s;
Table Create Table
@@ -63613,7 +63613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3299;
show create table s;
Table Create Table
@@ -63621,7 +63621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3298;
show create table s;
Table Create Table
@@ -63629,7 +63629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3297;
show create table s;
Table Create Table
@@ -63637,7 +63637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3296;
show create table s;
Table Create Table
@@ -63645,7 +63645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3295;
show create table s;
Table Create Table
@@ -63653,7 +63653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3294;
show create table s;
Table Create Table
@@ -63661,7 +63661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3293;
show create table s;
Table Create Table
@@ -63669,7 +63669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3292;
show create table s;
Table Create Table
@@ -63677,7 +63677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3291;
show create table s;
Table Create Table
@@ -63685,7 +63685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3290;
show create table s;
Table Create Table
@@ -63693,7 +63693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3289;
show create table s;
Table Create Table
@@ -63701,7 +63701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3288;
show create table s;
Table Create Table
@@ -63709,7 +63709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3287;
show create table s;
Table Create Table
@@ -63717,7 +63717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3286;
show create table s;
Table Create Table
@@ -63725,7 +63725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3285;
show create table s;
Table Create Table
@@ -63733,7 +63733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3284;
show create table s;
Table Create Table
@@ -63741,7 +63741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3283;
show create table s;
Table Create Table
@@ -63749,7 +63749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3282;
show create table s;
Table Create Table
@@ -63757,7 +63757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3281;
show create table s;
Table Create Table
@@ -63765,7 +63765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3280;
show create table s;
Table Create Table
@@ -63773,7 +63773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3279;
show create table s;
Table Create Table
@@ -63781,7 +63781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3278;
show create table s;
Table Create Table
@@ -63789,7 +63789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3277;
show create table s;
Table Create Table
@@ -63797,7 +63797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3276;
show create table s;
Table Create Table
@@ -63805,7 +63805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3275;
show create table s;
Table Create Table
@@ -63813,7 +63813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3274;
show create table s;
Table Create Table
@@ -63821,7 +63821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3273;
show create table s;
Table Create Table
@@ -63829,7 +63829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3272;
show create table s;
Table Create Table
@@ -63837,7 +63837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3271;
show create table s;
Table Create Table
@@ -63845,7 +63845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3270;
show create table s;
Table Create Table
@@ -63853,7 +63853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3269;
show create table s;
Table Create Table
@@ -63861,7 +63861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3268;
show create table s;
Table Create Table
@@ -63869,7 +63869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3267;
show create table s;
Table Create Table
@@ -63877,7 +63877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3266;
show create table s;
Table Create Table
@@ -63885,7 +63885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3265;
show create table s;
Table Create Table
@@ -63893,7 +63893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3264;
show create table s;
Table Create Table
@@ -63901,7 +63901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3263;
show create table s;
Table Create Table
@@ -63909,7 +63909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3262;
show create table s;
Table Create Table
@@ -63917,7 +63917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3261;
show create table s;
Table Create Table
@@ -63925,7 +63925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3260;
show create table s;
Table Create Table
@@ -63933,7 +63933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3259;
show create table s;
Table Create Table
@@ -63941,7 +63941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3258;
show create table s;
Table Create Table
@@ -63949,7 +63949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3257;
show create table s;
Table Create Table
@@ -63957,7 +63957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3256;
show create table s;
Table Create Table
@@ -63965,7 +63965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3255;
show create table s;
Table Create Table
@@ -63973,7 +63973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3254;
show create table s;
Table Create Table
@@ -63981,7 +63981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3253;
show create table s;
Table Create Table
@@ -63989,7 +63989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3252;
show create table s;
Table Create Table
@@ -63997,7 +63997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3251;
show create table s;
Table Create Table
@@ -64005,7 +64005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3250;
show create table s;
Table Create Table
@@ -64013,7 +64013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3249;
show create table s;
Table Create Table
@@ -64021,7 +64021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3248;
show create table s;
Table Create Table
@@ -64029,7 +64029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3247;
show create table s;
Table Create Table
@@ -64037,7 +64037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3246;
show create table s;
Table Create Table
@@ -64045,7 +64045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3245;
show create table s;
Table Create Table
@@ -64053,7 +64053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3244;
show create table s;
Table Create Table
@@ -64061,7 +64061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3243;
show create table s;
Table Create Table
@@ -64069,7 +64069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3242;
show create table s;
Table Create Table
@@ -64077,7 +64077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3241;
show create table s;
Table Create Table
@@ -64085,7 +64085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3240;
show create table s;
Table Create Table
@@ -64093,7 +64093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3239;
show create table s;
Table Create Table
@@ -64101,7 +64101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3238;
show create table s;
Table Create Table
@@ -64109,7 +64109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3237;
show create table s;
Table Create Table
@@ -64117,7 +64117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3236;
show create table s;
Table Create Table
@@ -64125,7 +64125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3235;
show create table s;
Table Create Table
@@ -64133,7 +64133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3234;
show create table s;
Table Create Table
@@ -64141,7 +64141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3233;
show create table s;
Table Create Table
@@ -64149,7 +64149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3232;
show create table s;
Table Create Table
@@ -64157,7 +64157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3231;
show create table s;
Table Create Table
@@ -64165,7 +64165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3230;
show create table s;
Table Create Table
@@ -64173,7 +64173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3229;
show create table s;
Table Create Table
@@ -64181,7 +64181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3228;
show create table s;
Table Create Table
@@ -64189,7 +64189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3227;
show create table s;
Table Create Table
@@ -64197,7 +64197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3226;
show create table s;
Table Create Table
@@ -64205,7 +64205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3225;
show create table s;
Table Create Table
@@ -64213,7 +64213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3224;
show create table s;
Table Create Table
@@ -64221,7 +64221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3223;
show create table s;
Table Create Table
@@ -64229,7 +64229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3222;
show create table s;
Table Create Table
@@ -64237,7 +64237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3221;
show create table s;
Table Create Table
@@ -64245,7 +64245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3220;
show create table s;
Table Create Table
@@ -64253,7 +64253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3219;
show create table s;
Table Create Table
@@ -64261,7 +64261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3218;
show create table s;
Table Create Table
@@ -64269,7 +64269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3217;
show create table s;
Table Create Table
@@ -64277,7 +64277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3216;
show create table s;
Table Create Table
@@ -64285,7 +64285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3215;
show create table s;
Table Create Table
@@ -64293,7 +64293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3214;
show create table s;
Table Create Table
@@ -64301,7 +64301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3213;
show create table s;
Table Create Table
@@ -64309,7 +64309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3212;
show create table s;
Table Create Table
@@ -64317,7 +64317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3211;
show create table s;
Table Create Table
@@ -64325,7 +64325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3210;
show create table s;
Table Create Table
@@ -64333,7 +64333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3209;
show create table s;
Table Create Table
@@ -64341,7 +64341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3208;
show create table s;
Table Create Table
@@ -64349,7 +64349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3207;
show create table s;
Table Create Table
@@ -64357,7 +64357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3206;
show create table s;
Table Create Table
@@ -64365,7 +64365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3205;
show create table s;
Table Create Table
@@ -64373,7 +64373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3204;
show create table s;
Table Create Table
@@ -64381,7 +64381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3203;
show create table s;
Table Create Table
@@ -64389,7 +64389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3202;
show create table s;
Table Create Table
@@ -64397,7 +64397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3201;
show create table s;
Table Create Table
@@ -64405,7 +64405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3200;
show create table s;
Table Create Table
@@ -64413,7 +64413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3199;
show create table s;
Table Create Table
@@ -64421,7 +64421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3198;
show create table s;
Table Create Table
@@ -64429,7 +64429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3197;
show create table s;
Table Create Table
@@ -64437,7 +64437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3196;
show create table s;
Table Create Table
@@ -64445,7 +64445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3195;
show create table s;
Table Create Table
@@ -64453,7 +64453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3194;
show create table s;
Table Create Table
@@ -64461,7 +64461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3193;
show create table s;
Table Create Table
@@ -64469,7 +64469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3192;
show create table s;
Table Create Table
@@ -64477,7 +64477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3191;
show create table s;
Table Create Table
@@ -64485,7 +64485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3190;
show create table s;
Table Create Table
@@ -64493,7 +64493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3189;
show create table s;
Table Create Table
@@ -64501,7 +64501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3188;
show create table s;
Table Create Table
@@ -64509,7 +64509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3187;
show create table s;
Table Create Table
@@ -64517,7 +64517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3186;
show create table s;
Table Create Table
@@ -64525,7 +64525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3185;
show create table s;
Table Create Table
@@ -64533,7 +64533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3184;
show create table s;
Table Create Table
@@ -64541,7 +64541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3183;
show create table s;
Table Create Table
@@ -64549,7 +64549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3182;
show create table s;
Table Create Table
@@ -64557,7 +64557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3181;
show create table s;
Table Create Table
@@ -64565,7 +64565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3180;
show create table s;
Table Create Table
@@ -64573,7 +64573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3179;
show create table s;
Table Create Table
@@ -64581,7 +64581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3178;
show create table s;
Table Create Table
@@ -64589,7 +64589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3177;
show create table s;
Table Create Table
@@ -64597,7 +64597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3176;
show create table s;
Table Create Table
@@ -64605,7 +64605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3175;
show create table s;
Table Create Table
@@ -64613,7 +64613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3174;
show create table s;
Table Create Table
@@ -64621,7 +64621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3173;
show create table s;
Table Create Table
@@ -64629,7 +64629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3172;
show create table s;
Table Create Table
@@ -64637,7 +64637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3171;
show create table s;
Table Create Table
@@ -64645,7 +64645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3170;
show create table s;
Table Create Table
@@ -64653,7 +64653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3169;
show create table s;
Table Create Table
@@ -64661,7 +64661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3168;
show create table s;
Table Create Table
@@ -64669,7 +64669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3167;
show create table s;
Table Create Table
@@ -64677,7 +64677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3166;
show create table s;
Table Create Table
@@ -64685,7 +64685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3165;
show create table s;
Table Create Table
@@ -64693,7 +64693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3164;
show create table s;
Table Create Table
@@ -64701,7 +64701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3163;
show create table s;
Table Create Table
@@ -64709,7 +64709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3162;
show create table s;
Table Create Table
@@ -64717,7 +64717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3161;
show create table s;
Table Create Table
@@ -64725,7 +64725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3160;
show create table s;
Table Create Table
@@ -64733,7 +64733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3159;
show create table s;
Table Create Table
@@ -64741,7 +64741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3158;
show create table s;
Table Create Table
@@ -64749,7 +64749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3157;
show create table s;
Table Create Table
@@ -64757,7 +64757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3156;
show create table s;
Table Create Table
@@ -64765,7 +64765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3155;
show create table s;
Table Create Table
@@ -64773,7 +64773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3154;
show create table s;
Table Create Table
@@ -64781,7 +64781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3153;
show create table s;
Table Create Table
@@ -64789,7 +64789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3152;
show create table s;
Table Create Table
@@ -64797,7 +64797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3151;
show create table s;
Table Create Table
@@ -64805,7 +64805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3150;
show create table s;
Table Create Table
@@ -64813,7 +64813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3149;
show create table s;
Table Create Table
@@ -64821,7 +64821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3148;
show create table s;
Table Create Table
@@ -64829,7 +64829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3147;
show create table s;
Table Create Table
@@ -64837,7 +64837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3146;
show create table s;
Table Create Table
@@ -64845,7 +64845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3145;
show create table s;
Table Create Table
@@ -64853,7 +64853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3144;
show create table s;
Table Create Table
@@ -64861,7 +64861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3143;
show create table s;
Table Create Table
@@ -64869,7 +64869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3142;
show create table s;
Table Create Table
@@ -64877,7 +64877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3141;
show create table s;
Table Create Table
@@ -64885,7 +64885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3140;
show create table s;
Table Create Table
@@ -64893,7 +64893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3139;
show create table s;
Table Create Table
@@ -64901,7 +64901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3138;
show create table s;
Table Create Table
@@ -64909,7 +64909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3137;
show create table s;
Table Create Table
@@ -64917,7 +64917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3136;
show create table s;
Table Create Table
@@ -64925,7 +64925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3135;
show create table s;
Table Create Table
@@ -64933,7 +64933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3134;
show create table s;
Table Create Table
@@ -64941,7 +64941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3133;
show create table s;
Table Create Table
@@ -64949,7 +64949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3132;
show create table s;
Table Create Table
@@ -64957,7 +64957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3131;
show create table s;
Table Create Table
@@ -64965,7 +64965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3130;
show create table s;
Table Create Table
@@ -64973,7 +64973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3129;
show create table s;
Table Create Table
@@ -64981,7 +64981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3128;
show create table s;
Table Create Table
@@ -64989,7 +64989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3127;
show create table s;
Table Create Table
@@ -64997,7 +64997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3126;
show create table s;
Table Create Table
@@ -65005,7 +65005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3125;
show create table s;
Table Create Table
@@ -65013,7 +65013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3124;
show create table s;
Table Create Table
@@ -65021,7 +65021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3123;
show create table s;
Table Create Table
@@ -65029,7 +65029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3122;
show create table s;
Table Create Table
@@ -65037,7 +65037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3121;
show create table s;
Table Create Table
@@ -65045,7 +65045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3120;
show create table s;
Table Create Table
@@ -65053,7 +65053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3119;
show create table s;
Table Create Table
@@ -65061,7 +65061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3118;
show create table s;
Table Create Table
@@ -65069,7 +65069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3117;
show create table s;
Table Create Table
@@ -65077,7 +65077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3116;
show create table s;
Table Create Table
@@ -65085,7 +65085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3115;
show create table s;
Table Create Table
@@ -65093,7 +65093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3114;
show create table s;
Table Create Table
@@ -65101,7 +65101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3113;
show create table s;
Table Create Table
@@ -65109,7 +65109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3112;
show create table s;
Table Create Table
@@ -65117,7 +65117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3111;
show create table s;
Table Create Table
@@ -65125,7 +65125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3110;
show create table s;
Table Create Table
@@ -65133,7 +65133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3109;
show create table s;
Table Create Table
@@ -65141,7 +65141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3108;
show create table s;
Table Create Table
@@ -65149,7 +65149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3107;
show create table s;
Table Create Table
@@ -65157,7 +65157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3106;
show create table s;
Table Create Table
@@ -65165,7 +65165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3105;
show create table s;
Table Create Table
@@ -65173,7 +65173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3104;
show create table s;
Table Create Table
@@ -65181,7 +65181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3103;
show create table s;
Table Create Table
@@ -65189,7 +65189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3102;
show create table s;
Table Create Table
@@ -65197,7 +65197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3101;
show create table s;
Table Create Table
@@ -65205,7 +65205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3100;
show create table s;
Table Create Table
@@ -65213,7 +65213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3099;
show create table s;
Table Create Table
@@ -65221,7 +65221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3098;
show create table s;
Table Create Table
@@ -65229,7 +65229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3097;
show create table s;
Table Create Table
@@ -65237,7 +65237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3096;
show create table s;
Table Create Table
@@ -65245,7 +65245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3095;
show create table s;
Table Create Table
@@ -65253,7 +65253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3094;
show create table s;
Table Create Table
@@ -65261,7 +65261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3093;
show create table s;
Table Create Table
@@ -65269,7 +65269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3092;
show create table s;
Table Create Table
@@ -65277,7 +65277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3091;
show create table s;
Table Create Table
@@ -65285,7 +65285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3090;
show create table s;
Table Create Table
@@ -65293,7 +65293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3089;
show create table s;
Table Create Table
@@ -65301,7 +65301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3088;
show create table s;
Table Create Table
@@ -65309,7 +65309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3087;
show create table s;
Table Create Table
@@ -65317,7 +65317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3086;
show create table s;
Table Create Table
@@ -65325,7 +65325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3085;
show create table s;
Table Create Table
@@ -65333,7 +65333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3084;
show create table s;
Table Create Table
@@ -65341,7 +65341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3083;
show create table s;
Table Create Table
@@ -65349,7 +65349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3082;
show create table s;
Table Create Table
@@ -65357,7 +65357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3081;
show create table s;
Table Create Table
@@ -65365,7 +65365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3080;
show create table s;
Table Create Table
@@ -65373,7 +65373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3079;
show create table s;
Table Create Table
@@ -65381,7 +65381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3078;
show create table s;
Table Create Table
@@ -65389,7 +65389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3077;
show create table s;
Table Create Table
@@ -65397,7 +65397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3076;
show create table s;
Table Create Table
@@ -65405,7 +65405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3075;
show create table s;
Table Create Table
@@ -65413,7 +65413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3074;
show create table s;
Table Create Table
@@ -65421,7 +65421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3073;
show create table s;
Table Create Table
@@ -65429,7 +65429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3072;
show create table s;
Table Create Table
@@ -65437,7 +65437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3071;
show create table s;
Table Create Table
@@ -65445,7 +65445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3070;
show create table s;
Table Create Table
@@ -65453,7 +65453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3069;
show create table s;
Table Create Table
@@ -65461,7 +65461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3068;
show create table s;
Table Create Table
@@ -65469,7 +65469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3067;
show create table s;
Table Create Table
@@ -65477,7 +65477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3066;
show create table s;
Table Create Table
@@ -65485,7 +65485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3065;
show create table s;
Table Create Table
@@ -65493,7 +65493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3064;
show create table s;
Table Create Table
@@ -65501,7 +65501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3063;
show create table s;
Table Create Table
@@ -65509,7 +65509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3062;
show create table s;
Table Create Table
@@ -65517,7 +65517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3061;
show create table s;
Table Create Table
@@ -65525,7 +65525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3060;
show create table s;
Table Create Table
@@ -65533,7 +65533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3059;
show create table s;
Table Create Table
@@ -65541,7 +65541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3058;
show create table s;
Table Create Table
@@ -65549,7 +65549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3057;
show create table s;
Table Create Table
@@ -65557,7 +65557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3056;
show create table s;
Table Create Table
@@ -65565,7 +65565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3055;
show create table s;
Table Create Table
@@ -65573,7 +65573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3054;
show create table s;
Table Create Table
@@ -65581,7 +65581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3053;
show create table s;
Table Create Table
@@ -65589,7 +65589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3052;
show create table s;
Table Create Table
@@ -65597,7 +65597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3051;
show create table s;
Table Create Table
@@ -65605,7 +65605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3050;
show create table s;
Table Create Table
@@ -65613,7 +65613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3049;
show create table s;
Table Create Table
@@ -65621,7 +65621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3048;
show create table s;
Table Create Table
@@ -65629,7 +65629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3047;
show create table s;
Table Create Table
@@ -65637,7 +65637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3046;
show create table s;
Table Create Table
@@ -65645,7 +65645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3045;
show create table s;
Table Create Table
@@ -65653,7 +65653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3044;
show create table s;
Table Create Table
@@ -65661,7 +65661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3043;
show create table s;
Table Create Table
@@ -65669,7 +65669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3042;
show create table s;
Table Create Table
@@ -65677,7 +65677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3041;
show create table s;
Table Create Table
@@ -65685,7 +65685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3040;
show create table s;
Table Create Table
@@ -65693,7 +65693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3039;
show create table s;
Table Create Table
@@ -65701,7 +65701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3038;
show create table s;
Table Create Table
@@ -65709,7 +65709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3037;
show create table s;
Table Create Table
@@ -65717,7 +65717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3036;
show create table s;
Table Create Table
@@ -65725,7 +65725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3035;
show create table s;
Table Create Table
@@ -65733,7 +65733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3034;
show create table s;
Table Create Table
@@ -65741,7 +65741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3033;
show create table s;
Table Create Table
@@ -65749,7 +65749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3032;
show create table s;
Table Create Table
@@ -65757,7 +65757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3031;
show create table s;
Table Create Table
@@ -65765,7 +65765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3030;
show create table s;
Table Create Table
@@ -65773,7 +65773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3029;
show create table s;
Table Create Table
@@ -65781,7 +65781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3028;
show create table s;
Table Create Table
@@ -65789,7 +65789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3027;
show create table s;
Table Create Table
@@ -65797,7 +65797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3026;
show create table s;
Table Create Table
@@ -65805,7 +65805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3025;
show create table s;
Table Create Table
@@ -65813,7 +65813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3024;
show create table s;
Table Create Table
@@ -65821,7 +65821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3023;
show create table s;
Table Create Table
@@ -65829,7 +65829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3022;
show create table s;
Table Create Table
@@ -65837,7 +65837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3021;
show create table s;
Table Create Table
@@ -65845,7 +65845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3020;
show create table s;
Table Create Table
@@ -65853,7 +65853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3019;
show create table s;
Table Create Table
@@ -65861,7 +65861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3018;
show create table s;
Table Create Table
@@ -65869,7 +65869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3017;
show create table s;
Table Create Table
@@ -65877,7 +65877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3016;
show create table s;
Table Create Table
@@ -65885,7 +65885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3015;
show create table s;
Table Create Table
@@ -65893,7 +65893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3014;
show create table s;
Table Create Table
@@ -65901,7 +65901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3013;
show create table s;
Table Create Table
@@ -65909,7 +65909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3012;
show create table s;
Table Create Table
@@ -65917,7 +65917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3011;
show create table s;
Table Create Table
@@ -65925,7 +65925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3010;
show create table s;
Table Create Table
@@ -65933,7 +65933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3009;
show create table s;
Table Create Table
@@ -65941,7 +65941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3008;
show create table s;
Table Create Table
@@ -65949,7 +65949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3007;
show create table s;
Table Create Table
@@ -65957,7 +65957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3006;
show create table s;
Table Create Table
@@ -65965,7 +65965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3005;
show create table s;
Table Create Table
@@ -65973,7 +65973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3004;
show create table s;
Table Create Table
@@ -65981,7 +65981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3003;
show create table s;
Table Create Table
@@ -65989,7 +65989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3002;
show create table s;
Table Create Table
@@ -65997,7 +65997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3001;
show create table s;
Table Create Table
@@ -66005,7 +66005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3000;
show create table s;
Table Create Table
@@ -66013,7 +66013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2999;
show create table s;
Table Create Table
@@ -66021,7 +66021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2998;
show create table s;
Table Create Table
@@ -66029,7 +66029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2997;
show create table s;
Table Create Table
@@ -66037,7 +66037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2996;
show create table s;
Table Create Table
@@ -66045,7 +66045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2995;
show create table s;
Table Create Table
@@ -66053,7 +66053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2994;
show create table s;
Table Create Table
@@ -66061,7 +66061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2993;
show create table s;
Table Create Table
@@ -66069,7 +66069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2992;
show create table s;
Table Create Table
@@ -66077,7 +66077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2991;
show create table s;
Table Create Table
@@ -66085,7 +66085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2990;
show create table s;
Table Create Table
@@ -66093,7 +66093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2989;
show create table s;
Table Create Table
@@ -66101,7 +66101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2988;
show create table s;
Table Create Table
@@ -66109,7 +66109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2987;
show create table s;
Table Create Table
@@ -66117,7 +66117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2986;
show create table s;
Table Create Table
@@ -66125,7 +66125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2985;
show create table s;
Table Create Table
@@ -66133,7 +66133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2984;
show create table s;
Table Create Table
@@ -66141,7 +66141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2983;
show create table s;
Table Create Table
@@ -66149,7 +66149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2982;
show create table s;
Table Create Table
@@ -66157,7 +66157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2981;
show create table s;
Table Create Table
@@ -66165,7 +66165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2980;
show create table s;
Table Create Table
@@ -66173,7 +66173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2979;
show create table s;
Table Create Table
@@ -66181,7 +66181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2978;
show create table s;
Table Create Table
@@ -66189,7 +66189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2977;
show create table s;
Table Create Table
@@ -66197,7 +66197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2976;
show create table s;
Table Create Table
@@ -66205,7 +66205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2975;
show create table s;
Table Create Table
@@ -66213,7 +66213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2974;
show create table s;
Table Create Table
@@ -66221,7 +66221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2973;
show create table s;
Table Create Table
@@ -66229,7 +66229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2972;
show create table s;
Table Create Table
@@ -66237,7 +66237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2971;
show create table s;
Table Create Table
@@ -66245,7 +66245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2970;
show create table s;
Table Create Table
@@ -66253,7 +66253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2969;
show create table s;
Table Create Table
@@ -66261,7 +66261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2968;
show create table s;
Table Create Table
@@ -66269,7 +66269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2967;
show create table s;
Table Create Table
@@ -66277,7 +66277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2966;
show create table s;
Table Create Table
@@ -66285,7 +66285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2965;
show create table s;
Table Create Table
@@ -66293,7 +66293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2964;
show create table s;
Table Create Table
@@ -66301,7 +66301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2963;
show create table s;
Table Create Table
@@ -66309,7 +66309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2962;
show create table s;
Table Create Table
@@ -66317,7 +66317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2961;
show create table s;
Table Create Table
@@ -66325,7 +66325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2960;
show create table s;
Table Create Table
@@ -66333,7 +66333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2959;
show create table s;
Table Create Table
@@ -66341,7 +66341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2958;
show create table s;
Table Create Table
@@ -66349,7 +66349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2957;
show create table s;
Table Create Table
@@ -66357,7 +66357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2956;
show create table s;
Table Create Table
@@ -66365,7 +66365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2955;
show create table s;
Table Create Table
@@ -66373,7 +66373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2954;
show create table s;
Table Create Table
@@ -66381,7 +66381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2953;
show create table s;
Table Create Table
@@ -66389,7 +66389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2952;
show create table s;
Table Create Table
@@ -66397,7 +66397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2951;
show create table s;
Table Create Table
@@ -66405,7 +66405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2950;
show create table s;
Table Create Table
@@ -66413,7 +66413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2949;
show create table s;
Table Create Table
@@ -66421,7 +66421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2948;
show create table s;
Table Create Table
@@ -66429,7 +66429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2947;
show create table s;
Table Create Table
@@ -66437,7 +66437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2946;
show create table s;
Table Create Table
@@ -66445,7 +66445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2945;
show create table s;
Table Create Table
@@ -66453,7 +66453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2944;
show create table s;
Table Create Table
@@ -66461,7 +66461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2943;
show create table s;
Table Create Table
@@ -66469,7 +66469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2942;
show create table s;
Table Create Table
@@ -66477,7 +66477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2941;
show create table s;
Table Create Table
@@ -66485,7 +66485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2940;
show create table s;
Table Create Table
@@ -66493,7 +66493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2939;
show create table s;
Table Create Table
@@ -66501,7 +66501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2938;
show create table s;
Table Create Table
@@ -66509,7 +66509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2937;
show create table s;
Table Create Table
@@ -66517,7 +66517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2936;
show create table s;
Table Create Table
@@ -66525,7 +66525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2935;
show create table s;
Table Create Table
@@ -66533,7 +66533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2934;
show create table s;
Table Create Table
@@ -66541,7 +66541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2933;
show create table s;
Table Create Table
@@ -66549,7 +66549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2932;
show create table s;
Table Create Table
@@ -66557,7 +66557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2931;
show create table s;
Table Create Table
@@ -66565,7 +66565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2930;
show create table s;
Table Create Table
@@ -66573,7 +66573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2929;
show create table s;
Table Create Table
@@ -66581,7 +66581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2928;
show create table s;
Table Create Table
@@ -66589,7 +66589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2927;
show create table s;
Table Create Table
@@ -66597,7 +66597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2926;
show create table s;
Table Create Table
@@ -66605,7 +66605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2925;
show create table s;
Table Create Table
@@ -66613,7 +66613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2924;
show create table s;
Table Create Table
@@ -66621,7 +66621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2923;
show create table s;
Table Create Table
@@ -66629,7 +66629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2922;
show create table s;
Table Create Table
@@ -66637,7 +66637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2921;
show create table s;
Table Create Table
@@ -66645,7 +66645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2920;
show create table s;
Table Create Table
@@ -66653,7 +66653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2919;
show create table s;
Table Create Table
@@ -66661,7 +66661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2918;
show create table s;
Table Create Table
@@ -66669,7 +66669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2917;
show create table s;
Table Create Table
@@ -66677,7 +66677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2916;
show create table s;
Table Create Table
@@ -66685,7 +66685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2915;
show create table s;
Table Create Table
@@ -66693,7 +66693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2914;
show create table s;
Table Create Table
@@ -66701,7 +66701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2913;
show create table s;
Table Create Table
@@ -66709,7 +66709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2912;
show create table s;
Table Create Table
@@ -66717,7 +66717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2911;
show create table s;
Table Create Table
@@ -66725,7 +66725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2910;
show create table s;
Table Create Table
@@ -66733,7 +66733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2909;
show create table s;
Table Create Table
@@ -66741,7 +66741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2908;
show create table s;
Table Create Table
@@ -66749,7 +66749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2907;
show create table s;
Table Create Table
@@ -66757,7 +66757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2906;
show create table s;
Table Create Table
@@ -66765,7 +66765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2905;
show create table s;
Table Create Table
@@ -66773,7 +66773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2904;
show create table s;
Table Create Table
@@ -66781,7 +66781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2903;
show create table s;
Table Create Table
@@ -66789,7 +66789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2902;
show create table s;
Table Create Table
@@ -66797,7 +66797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2901;
show create table s;
Table Create Table
@@ -66805,7 +66805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2900;
show create table s;
Table Create Table
@@ -66813,7 +66813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2899;
show create table s;
Table Create Table
@@ -66821,7 +66821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2898;
show create table s;
Table Create Table
@@ -66829,7 +66829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2897;
show create table s;
Table Create Table
@@ -66837,7 +66837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2896;
show create table s;
Table Create Table
@@ -66845,7 +66845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2895;
show create table s;
Table Create Table
@@ -66853,7 +66853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2894;
show create table s;
Table Create Table
@@ -66861,7 +66861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2893;
show create table s;
Table Create Table
@@ -66869,7 +66869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2892;
show create table s;
Table Create Table
@@ -66877,7 +66877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2891;
show create table s;
Table Create Table
@@ -66885,7 +66885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2890;
show create table s;
Table Create Table
@@ -66893,7 +66893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2889;
show create table s;
Table Create Table
@@ -66901,7 +66901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2888;
show create table s;
Table Create Table
@@ -66909,7 +66909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2887;
show create table s;
Table Create Table
@@ -66917,7 +66917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2886;
show create table s;
Table Create Table
@@ -66925,7 +66925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2885;
show create table s;
Table Create Table
@@ -66933,7 +66933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2884;
show create table s;
Table Create Table
@@ -66941,7 +66941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2883;
show create table s;
Table Create Table
@@ -66949,7 +66949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2882;
show create table s;
Table Create Table
@@ -66957,7 +66957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2881;
show create table s;
Table Create Table
@@ -66965,7 +66965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2880;
show create table s;
Table Create Table
@@ -66973,7 +66973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2879;
show create table s;
Table Create Table
@@ -66981,7 +66981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2878;
show create table s;
Table Create Table
@@ -66989,7 +66989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2877;
show create table s;
Table Create Table
@@ -66997,7 +66997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2876;
show create table s;
Table Create Table
@@ -67005,7 +67005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2875;
show create table s;
Table Create Table
@@ -67013,7 +67013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2874;
show create table s;
Table Create Table
@@ -67021,7 +67021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2873;
show create table s;
Table Create Table
@@ -67029,7 +67029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2872;
show create table s;
Table Create Table
@@ -67037,7 +67037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2871;
show create table s;
Table Create Table
@@ -67045,7 +67045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2870;
show create table s;
Table Create Table
@@ -67053,7 +67053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2869;
show create table s;
Table Create Table
@@ -67061,7 +67061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2868;
show create table s;
Table Create Table
@@ -67069,7 +67069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2867;
show create table s;
Table Create Table
@@ -67077,7 +67077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2866;
show create table s;
Table Create Table
@@ -67085,7 +67085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2865;
show create table s;
Table Create Table
@@ -67093,7 +67093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2864;
show create table s;
Table Create Table
@@ -67101,7 +67101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2863;
show create table s;
Table Create Table
@@ -67109,7 +67109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2862;
show create table s;
Table Create Table
@@ -67117,7 +67117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2861;
show create table s;
Table Create Table
@@ -67125,7 +67125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2860;
show create table s;
Table Create Table
@@ -67133,7 +67133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2859;
show create table s;
Table Create Table
@@ -67141,7 +67141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2858;
show create table s;
Table Create Table
@@ -67149,7 +67149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2857;
show create table s;
Table Create Table
@@ -67157,7 +67157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2856;
show create table s;
Table Create Table
@@ -67165,7 +67165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2855;
show create table s;
Table Create Table
@@ -67173,7 +67173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2854;
show create table s;
Table Create Table
@@ -67181,7 +67181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2853;
show create table s;
Table Create Table
@@ -67189,7 +67189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2852;
show create table s;
Table Create Table
@@ -67197,7 +67197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2851;
show create table s;
Table Create Table
@@ -67205,7 +67205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2850;
show create table s;
Table Create Table
@@ -67213,7 +67213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2849;
show create table s;
Table Create Table
@@ -67221,7 +67221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2848;
show create table s;
Table Create Table
@@ -67229,7 +67229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2847;
show create table s;
Table Create Table
@@ -67237,7 +67237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2846;
show create table s;
Table Create Table
@@ -67245,7 +67245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2845;
show create table s;
Table Create Table
@@ -67253,7 +67253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2844;
show create table s;
Table Create Table
@@ -67261,7 +67261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2843;
show create table s;
Table Create Table
@@ -67269,7 +67269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2842;
show create table s;
Table Create Table
@@ -67277,7 +67277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2841;
show create table s;
Table Create Table
@@ -67285,7 +67285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2840;
show create table s;
Table Create Table
@@ -67293,7 +67293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2839;
show create table s;
Table Create Table
@@ -67301,7 +67301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2838;
show create table s;
Table Create Table
@@ -67309,7 +67309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2837;
show create table s;
Table Create Table
@@ -67317,7 +67317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2836;
show create table s;
Table Create Table
@@ -67325,7 +67325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2835;
show create table s;
Table Create Table
@@ -67333,7 +67333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2834;
show create table s;
Table Create Table
@@ -67341,7 +67341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2833;
show create table s;
Table Create Table
@@ -67349,7 +67349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2832;
show create table s;
Table Create Table
@@ -67357,7 +67357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2831;
show create table s;
Table Create Table
@@ -67365,7 +67365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2830;
show create table s;
Table Create Table
@@ -67373,7 +67373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2829;
show create table s;
Table Create Table
@@ -67381,7 +67381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2828;
show create table s;
Table Create Table
@@ -67389,7 +67389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2827;
show create table s;
Table Create Table
@@ -67397,7 +67397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2826;
show create table s;
Table Create Table
@@ -67405,7 +67405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2825;
show create table s;
Table Create Table
@@ -67413,7 +67413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2824;
show create table s;
Table Create Table
@@ -67421,7 +67421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2823;
show create table s;
Table Create Table
@@ -67429,7 +67429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2822;
show create table s;
Table Create Table
@@ -67437,7 +67437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2821;
show create table s;
Table Create Table
@@ -67445,7 +67445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2820;
show create table s;
Table Create Table
@@ -67453,7 +67453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2819;
show create table s;
Table Create Table
@@ -67461,7 +67461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2818;
show create table s;
Table Create Table
@@ -67469,7 +67469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2817;
show create table s;
Table Create Table
@@ -67477,7 +67477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2816;
show create table s;
Table Create Table
@@ -67485,7 +67485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2815;
show create table s;
Table Create Table
@@ -67493,7 +67493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2814;
show create table s;
Table Create Table
@@ -67501,7 +67501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2813;
show create table s;
Table Create Table
@@ -67509,7 +67509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2812;
show create table s;
Table Create Table
@@ -67517,7 +67517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2811;
show create table s;
Table Create Table
@@ -67525,7 +67525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2810;
show create table s;
Table Create Table
@@ -67533,7 +67533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2809;
show create table s;
Table Create Table
@@ -67541,7 +67541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2808;
show create table s;
Table Create Table
@@ -67549,7 +67549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2807;
show create table s;
Table Create Table
@@ -67557,7 +67557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2806;
show create table s;
Table Create Table
@@ -67565,7 +67565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2805;
show create table s;
Table Create Table
@@ -67573,7 +67573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2804;
show create table s;
Table Create Table
@@ -67581,7 +67581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2803;
show create table s;
Table Create Table
@@ -67589,7 +67589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2802;
show create table s;
Table Create Table
@@ -67597,7 +67597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2801;
show create table s;
Table Create Table
@@ -67605,7 +67605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2800;
show create table s;
Table Create Table
@@ -67613,7 +67613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2799;
show create table s;
Table Create Table
@@ -67621,7 +67621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2798;
show create table s;
Table Create Table
@@ -67629,7 +67629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2797;
show create table s;
Table Create Table
@@ -67637,7 +67637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2796;
show create table s;
Table Create Table
@@ -67645,7 +67645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2795;
show create table s;
Table Create Table
@@ -67653,7 +67653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2794;
show create table s;
Table Create Table
@@ -67661,7 +67661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2793;
show create table s;
Table Create Table
@@ -67669,7 +67669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2792;
show create table s;
Table Create Table
@@ -67677,7 +67677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2791;
show create table s;
Table Create Table
@@ -67685,7 +67685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2790;
show create table s;
Table Create Table
@@ -67693,7 +67693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2789;
show create table s;
Table Create Table
@@ -67701,7 +67701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2788;
show create table s;
Table Create Table
@@ -67709,7 +67709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2787;
show create table s;
Table Create Table
@@ -67717,7 +67717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2786;
show create table s;
Table Create Table
@@ -67725,7 +67725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2785;
show create table s;
Table Create Table
@@ -67733,7 +67733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2784;
show create table s;
Table Create Table
@@ -67741,7 +67741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2783;
show create table s;
Table Create Table
@@ -67749,7 +67749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2782;
show create table s;
Table Create Table
@@ -67757,7 +67757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2781;
show create table s;
Table Create Table
@@ -67765,7 +67765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2780;
show create table s;
Table Create Table
@@ -67773,7 +67773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2779;
show create table s;
Table Create Table
@@ -67781,7 +67781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2778;
show create table s;
Table Create Table
@@ -67789,7 +67789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2777;
show create table s;
Table Create Table
@@ -67797,7 +67797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2776;
show create table s;
Table Create Table
@@ -67805,7 +67805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2775;
show create table s;
Table Create Table
@@ -67813,7 +67813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2774;
show create table s;
Table Create Table
@@ -67821,7 +67821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2773;
show create table s;
Table Create Table
@@ -67829,7 +67829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2772;
show create table s;
Table Create Table
@@ -67837,7 +67837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2771;
show create table s;
Table Create Table
@@ -67845,7 +67845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2770;
show create table s;
Table Create Table
@@ -67853,7 +67853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2769;
show create table s;
Table Create Table
@@ -67861,7 +67861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2768;
show create table s;
Table Create Table
@@ -67869,7 +67869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2767;
show create table s;
Table Create Table
@@ -67877,7 +67877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2766;
show create table s;
Table Create Table
@@ -67885,7 +67885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2765;
show create table s;
Table Create Table
@@ -67893,7 +67893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2764;
show create table s;
Table Create Table
@@ -67901,7 +67901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2763;
show create table s;
Table Create Table
@@ -67909,7 +67909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2762;
show create table s;
Table Create Table
@@ -67917,7 +67917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2761;
show create table s;
Table Create Table
@@ -67925,7 +67925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2760;
show create table s;
Table Create Table
@@ -67933,7 +67933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2759;
show create table s;
Table Create Table
@@ -67941,7 +67941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2758;
show create table s;
Table Create Table
@@ -67949,7 +67949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2757;
show create table s;
Table Create Table
@@ -67957,7 +67957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2756;
show create table s;
Table Create Table
@@ -67965,7 +67965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2755;
show create table s;
Table Create Table
@@ -67973,7 +67973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2754;
show create table s;
Table Create Table
@@ -67981,7 +67981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2753;
show create table s;
Table Create Table
@@ -67989,7 +67989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2752;
show create table s;
Table Create Table
@@ -67997,7 +67997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2751;
show create table s;
Table Create Table
@@ -68005,7 +68005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2750;
show create table s;
Table Create Table
@@ -68013,7 +68013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2749;
show create table s;
Table Create Table
@@ -68021,7 +68021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2748;
show create table s;
Table Create Table
@@ -68029,7 +68029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2747;
show create table s;
Table Create Table
@@ -68037,7 +68037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2746;
show create table s;
Table Create Table
@@ -68045,7 +68045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2745;
show create table s;
Table Create Table
@@ -68053,7 +68053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2744;
show create table s;
Table Create Table
@@ -68061,7 +68061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2743;
show create table s;
Table Create Table
@@ -68069,7 +68069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2742;
show create table s;
Table Create Table
@@ -68077,7 +68077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2741;
show create table s;
Table Create Table
@@ -68085,7 +68085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2740;
show create table s;
Table Create Table
@@ -68093,7 +68093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2739;
show create table s;
Table Create Table
@@ -68101,7 +68101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2738;
show create table s;
Table Create Table
@@ -68109,7 +68109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2737;
show create table s;
Table Create Table
@@ -68117,7 +68117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2736;
show create table s;
Table Create Table
@@ -68125,7 +68125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2735;
show create table s;
Table Create Table
@@ -68133,7 +68133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2734;
show create table s;
Table Create Table
@@ -68141,7 +68141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2733;
show create table s;
Table Create Table
@@ -68149,7 +68149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2732;
show create table s;
Table Create Table
@@ -68157,7 +68157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2731;
show create table s;
Table Create Table
@@ -68165,7 +68165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2730;
show create table s;
Table Create Table
@@ -68173,7 +68173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2729;
show create table s;
Table Create Table
@@ -68181,7 +68181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2728;
show create table s;
Table Create Table
@@ -68189,7 +68189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2727;
show create table s;
Table Create Table
@@ -68197,7 +68197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2726;
show create table s;
Table Create Table
@@ -68205,7 +68205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2725;
show create table s;
Table Create Table
@@ -68213,7 +68213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2724;
show create table s;
Table Create Table
@@ -68221,7 +68221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2723;
show create table s;
Table Create Table
@@ -68229,7 +68229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2722;
show create table s;
Table Create Table
@@ -68237,7 +68237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2721;
show create table s;
Table Create Table
@@ -68245,7 +68245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2720;
show create table s;
Table Create Table
@@ -68253,7 +68253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2719;
show create table s;
Table Create Table
@@ -68261,7 +68261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2718;
show create table s;
Table Create Table
@@ -68269,7 +68269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2717;
show create table s;
Table Create Table
@@ -68277,7 +68277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2716;
show create table s;
Table Create Table
@@ -68285,7 +68285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2715;
show create table s;
Table Create Table
@@ -68293,7 +68293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2714;
show create table s;
Table Create Table
@@ -68301,7 +68301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2713;
show create table s;
Table Create Table
@@ -68309,7 +68309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2712;
show create table s;
Table Create Table
@@ -68317,7 +68317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2711;
show create table s;
Table Create Table
@@ -68325,7 +68325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2710;
show create table s;
Table Create Table
@@ -68333,7 +68333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2709;
show create table s;
Table Create Table
@@ -68341,7 +68341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2708;
show create table s;
Table Create Table
@@ -68349,7 +68349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2707;
show create table s;
Table Create Table
@@ -68357,7 +68357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2706;
show create table s;
Table Create Table
@@ -68365,7 +68365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2705;
show create table s;
Table Create Table
@@ -68373,7 +68373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2704;
show create table s;
Table Create Table
@@ -68381,7 +68381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2703;
show create table s;
Table Create Table
@@ -68389,7 +68389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2702;
show create table s;
Table Create Table
@@ -68397,7 +68397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2701;
show create table s;
Table Create Table
@@ -68405,7 +68405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2700;
show create table s;
Table Create Table
@@ -68413,7 +68413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2699;
show create table s;
Table Create Table
@@ -68421,7 +68421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2698;
show create table s;
Table Create Table
@@ -68429,7 +68429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2697;
show create table s;
Table Create Table
@@ -68437,7 +68437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2696;
show create table s;
Table Create Table
@@ -68445,7 +68445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2695;
show create table s;
Table Create Table
@@ -68453,7 +68453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2694;
show create table s;
Table Create Table
@@ -68461,7 +68461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2693;
show create table s;
Table Create Table
@@ -68469,7 +68469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2692;
show create table s;
Table Create Table
@@ -68477,7 +68477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2691;
show create table s;
Table Create Table
@@ -68485,7 +68485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2690;
show create table s;
Table Create Table
@@ -68493,7 +68493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2689;
show create table s;
Table Create Table
@@ -68501,7 +68501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2688;
show create table s;
Table Create Table
@@ -68509,7 +68509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2687;
show create table s;
Table Create Table
@@ -68517,7 +68517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2686;
show create table s;
Table Create Table
@@ -68525,7 +68525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2685;
show create table s;
Table Create Table
@@ -68533,7 +68533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2684;
show create table s;
Table Create Table
@@ -68541,7 +68541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2683;
show create table s;
Table Create Table
@@ -68549,7 +68549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2682;
show create table s;
Table Create Table
@@ -68557,7 +68557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2681;
show create table s;
Table Create Table
@@ -68565,7 +68565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2680;
show create table s;
Table Create Table
@@ -68573,7 +68573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2679;
show create table s;
Table Create Table
@@ -68581,7 +68581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2678;
show create table s;
Table Create Table
@@ -68589,7 +68589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2677;
show create table s;
Table Create Table
@@ -68597,7 +68597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2676;
show create table s;
Table Create Table
@@ -68605,7 +68605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2675;
show create table s;
Table Create Table
@@ -68613,7 +68613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2674;
show create table s;
Table Create Table
@@ -68621,7 +68621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2673;
show create table s;
Table Create Table
@@ -68629,7 +68629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2672;
show create table s;
Table Create Table
@@ -68637,7 +68637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2671;
show create table s;
Table Create Table
@@ -68645,7 +68645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2670;
show create table s;
Table Create Table
@@ -68653,7 +68653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2669;
show create table s;
Table Create Table
@@ -68661,7 +68661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2668;
show create table s;
Table Create Table
@@ -68669,7 +68669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2667;
show create table s;
Table Create Table
@@ -68677,7 +68677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2666;
show create table s;
Table Create Table
@@ -68685,7 +68685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2665;
show create table s;
Table Create Table
@@ -68693,7 +68693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2664;
show create table s;
Table Create Table
@@ -68701,7 +68701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2663;
show create table s;
Table Create Table
@@ -68709,7 +68709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2662;
show create table s;
Table Create Table
@@ -68717,7 +68717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2661;
show create table s;
Table Create Table
@@ -68725,7 +68725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2660;
show create table s;
Table Create Table
@@ -68733,7 +68733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2659;
show create table s;
Table Create Table
@@ -68741,7 +68741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2658;
show create table s;
Table Create Table
@@ -68749,7 +68749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2657;
show create table s;
Table Create Table
@@ -68757,7 +68757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2656;
show create table s;
Table Create Table
@@ -68765,7 +68765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2655;
show create table s;
Table Create Table
@@ -68773,7 +68773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2654;
show create table s;
Table Create Table
@@ -68781,7 +68781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2653;
show create table s;
Table Create Table
@@ -68789,7 +68789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2652;
show create table s;
Table Create Table
@@ -68797,7 +68797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2651;
show create table s;
Table Create Table
@@ -68805,7 +68805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2650;
show create table s;
Table Create Table
@@ -68813,7 +68813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2649;
show create table s;
Table Create Table
@@ -68821,7 +68821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2648;
show create table s;
Table Create Table
@@ -68829,7 +68829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2647;
show create table s;
Table Create Table
@@ -68837,7 +68837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2646;
show create table s;
Table Create Table
@@ -68845,7 +68845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2645;
show create table s;
Table Create Table
@@ -68853,7 +68853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2644;
show create table s;
Table Create Table
@@ -68861,7 +68861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2643;
show create table s;
Table Create Table
@@ -68869,7 +68869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2642;
show create table s;
Table Create Table
@@ -68877,7 +68877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2641;
show create table s;
Table Create Table
@@ -68885,7 +68885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2640;
show create table s;
Table Create Table
@@ -68893,7 +68893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2639;
show create table s;
Table Create Table
@@ -68901,7 +68901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2638;
show create table s;
Table Create Table
@@ -68909,7 +68909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2637;
show create table s;
Table Create Table
@@ -68917,7 +68917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2636;
show create table s;
Table Create Table
@@ -68925,7 +68925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2635;
show create table s;
Table Create Table
@@ -68933,7 +68933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2634;
show create table s;
Table Create Table
@@ -68941,7 +68941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2633;
show create table s;
Table Create Table
@@ -68949,7 +68949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2632;
show create table s;
Table Create Table
@@ -68957,7 +68957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2631;
show create table s;
Table Create Table
@@ -68965,7 +68965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2630;
show create table s;
Table Create Table
@@ -68973,7 +68973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2629;
show create table s;
Table Create Table
@@ -68981,7 +68981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2628;
show create table s;
Table Create Table
@@ -68989,7 +68989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2627;
show create table s;
Table Create Table
@@ -68997,7 +68997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2626;
show create table s;
Table Create Table
@@ -69005,7 +69005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2625;
show create table s;
Table Create Table
@@ -69013,7 +69013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2624;
show create table s;
Table Create Table
@@ -69021,7 +69021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2623;
show create table s;
Table Create Table
@@ -69029,7 +69029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2622;
show create table s;
Table Create Table
@@ -69037,7 +69037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2621;
show create table s;
Table Create Table
@@ -69045,7 +69045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2620;
show create table s;
Table Create Table
@@ -69053,7 +69053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2619;
show create table s;
Table Create Table
@@ -69061,7 +69061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2618;
show create table s;
Table Create Table
@@ -69069,7 +69069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2617;
show create table s;
Table Create Table
@@ -69077,7 +69077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2616;
show create table s;
Table Create Table
@@ -69085,7 +69085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2615;
show create table s;
Table Create Table
@@ -69093,7 +69093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2614;
show create table s;
Table Create Table
@@ -69101,7 +69101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2613;
show create table s;
Table Create Table
@@ -69109,7 +69109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2612;
show create table s;
Table Create Table
@@ -69117,7 +69117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2611;
show create table s;
Table Create Table
@@ -69125,7 +69125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2610;
show create table s;
Table Create Table
@@ -69133,7 +69133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2609;
show create table s;
Table Create Table
@@ -69141,7 +69141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2608;
show create table s;
Table Create Table
@@ -69149,7 +69149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2607;
show create table s;
Table Create Table
@@ -69157,7 +69157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2606;
show create table s;
Table Create Table
@@ -69165,7 +69165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2605;
show create table s;
Table Create Table
@@ -69173,7 +69173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2604;
show create table s;
Table Create Table
@@ -69181,7 +69181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2603;
show create table s;
Table Create Table
@@ -69189,7 +69189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2602;
show create table s;
Table Create Table
@@ -69197,7 +69197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2601;
show create table s;
Table Create Table
@@ -69205,7 +69205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2600;
show create table s;
Table Create Table
@@ -69213,7 +69213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2599;
show create table s;
Table Create Table
@@ -69221,7 +69221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2598;
show create table s;
Table Create Table
@@ -69229,7 +69229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2597;
show create table s;
Table Create Table
@@ -69237,7 +69237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2596;
show create table s;
Table Create Table
@@ -69245,7 +69245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2595;
show create table s;
Table Create Table
@@ -69253,7 +69253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2594;
show create table s;
Table Create Table
@@ -69261,7 +69261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2593;
show create table s;
Table Create Table
@@ -69269,7 +69269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2592;
show create table s;
Table Create Table
@@ -69277,7 +69277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2591;
show create table s;
Table Create Table
@@ -69285,7 +69285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2590;
show create table s;
Table Create Table
@@ -69293,7 +69293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2589;
show create table s;
Table Create Table
@@ -69301,7 +69301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2588;
show create table s;
Table Create Table
@@ -69309,7 +69309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2587;
show create table s;
Table Create Table
@@ -69317,7 +69317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2586;
show create table s;
Table Create Table
@@ -69325,7 +69325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2585;
show create table s;
Table Create Table
@@ -69333,7 +69333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2584;
show create table s;
Table Create Table
@@ -69341,7 +69341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2583;
show create table s;
Table Create Table
@@ -69349,7 +69349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2582;
show create table s;
Table Create Table
@@ -69357,7 +69357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2581;
show create table s;
Table Create Table
@@ -69365,7 +69365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2580;
show create table s;
Table Create Table
@@ -69373,7 +69373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2579;
show create table s;
Table Create Table
@@ -69381,7 +69381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2578;
show create table s;
Table Create Table
@@ -69389,7 +69389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2577;
show create table s;
Table Create Table
@@ -69397,7 +69397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2576;
show create table s;
Table Create Table
@@ -69405,7 +69405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2575;
show create table s;
Table Create Table
@@ -69413,7 +69413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2574;
show create table s;
Table Create Table
@@ -69421,7 +69421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2573;
show create table s;
Table Create Table
@@ -69429,7 +69429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2572;
show create table s;
Table Create Table
@@ -69437,7 +69437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2571;
show create table s;
Table Create Table
@@ -69445,7 +69445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2570;
show create table s;
Table Create Table
@@ -69453,7 +69453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2569;
show create table s;
Table Create Table
@@ -69461,7 +69461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2568;
show create table s;
Table Create Table
@@ -69469,7 +69469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2567;
show create table s;
Table Create Table
@@ -69477,7 +69477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2566;
show create table s;
Table Create Table
@@ -69485,7 +69485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2565;
show create table s;
Table Create Table
@@ -69493,7 +69493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2564;
show create table s;
Table Create Table
@@ -69501,7 +69501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2563;
show create table s;
Table Create Table
@@ -69509,7 +69509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2562;
show create table s;
Table Create Table
@@ -69517,7 +69517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2561;
show create table s;
Table Create Table
@@ -69525,7 +69525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2560;
show create table s;
Table Create Table
@@ -69533,7 +69533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2559;
show create table s;
Table Create Table
@@ -69541,7 +69541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2558;
show create table s;
Table Create Table
@@ -69549,7 +69549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2557;
show create table s;
Table Create Table
@@ -69557,7 +69557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2556;
show create table s;
Table Create Table
@@ -69565,7 +69565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2555;
show create table s;
Table Create Table
@@ -69573,7 +69573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2554;
show create table s;
Table Create Table
@@ -69581,7 +69581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2553;
show create table s;
Table Create Table
@@ -69589,7 +69589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2552;
show create table s;
Table Create Table
@@ -69597,7 +69597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2551;
show create table s;
Table Create Table
@@ -69605,7 +69605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2550;
show create table s;
Table Create Table
@@ -69613,7 +69613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2549;
show create table s;
Table Create Table
@@ -69621,7 +69621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2548;
show create table s;
Table Create Table
@@ -69629,7 +69629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2547;
show create table s;
Table Create Table
@@ -69637,7 +69637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2546;
show create table s;
Table Create Table
@@ -69645,7 +69645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2545;
show create table s;
Table Create Table
@@ -69653,7 +69653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2544;
show create table s;
Table Create Table
@@ -69661,7 +69661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2543;
show create table s;
Table Create Table
@@ -69669,7 +69669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2542;
show create table s;
Table Create Table
@@ -69677,7 +69677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2541;
show create table s;
Table Create Table
@@ -69685,7 +69685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2540;
show create table s;
Table Create Table
@@ -69693,7 +69693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2539;
show create table s;
Table Create Table
@@ -69701,7 +69701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2538;
show create table s;
Table Create Table
@@ -69709,7 +69709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2537;
show create table s;
Table Create Table
@@ -69717,7 +69717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2536;
show create table s;
Table Create Table
@@ -69725,7 +69725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2535;
show create table s;
Table Create Table
@@ -69733,7 +69733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2534;
show create table s;
Table Create Table
@@ -69741,7 +69741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2533;
show create table s;
Table Create Table
@@ -69749,7 +69749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2532;
show create table s;
Table Create Table
@@ -69757,7 +69757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2531;
show create table s;
Table Create Table
@@ -69765,7 +69765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2530;
show create table s;
Table Create Table
@@ -69773,7 +69773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2529;
show create table s;
Table Create Table
@@ -69781,7 +69781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2528;
show create table s;
Table Create Table
@@ -69789,7 +69789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2527;
show create table s;
Table Create Table
@@ -69797,7 +69797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2526;
show create table s;
Table Create Table
@@ -69805,7 +69805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2525;
show create table s;
Table Create Table
@@ -69813,7 +69813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2524;
show create table s;
Table Create Table
@@ -69821,7 +69821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2523;
show create table s;
Table Create Table
@@ -69829,7 +69829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2522;
show create table s;
Table Create Table
@@ -69837,7 +69837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2521;
show create table s;
Table Create Table
@@ -69845,7 +69845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2520;
show create table s;
Table Create Table
@@ -69853,7 +69853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2519;
show create table s;
Table Create Table
@@ -69861,7 +69861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2518;
show create table s;
Table Create Table
@@ -69869,7 +69869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2517;
show create table s;
Table Create Table
@@ -69877,7 +69877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2516;
show create table s;
Table Create Table
@@ -69885,7 +69885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2515;
show create table s;
Table Create Table
@@ -69893,7 +69893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2514;
show create table s;
Table Create Table
@@ -69901,7 +69901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2513;
show create table s;
Table Create Table
@@ -69909,7 +69909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2512;
show create table s;
Table Create Table
@@ -69917,7 +69917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2511;
show create table s;
Table Create Table
@@ -69925,7 +69925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2510;
show create table s;
Table Create Table
@@ -69933,7 +69933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2509;
show create table s;
Table Create Table
@@ -69941,7 +69941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2508;
show create table s;
Table Create Table
@@ -69949,7 +69949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2507;
show create table s;
Table Create Table
@@ -69957,7 +69957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2506;
show create table s;
Table Create Table
@@ -69965,7 +69965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2505;
show create table s;
Table Create Table
@@ -69973,7 +69973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2504;
show create table s;
Table Create Table
@@ -69981,7 +69981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2503;
show create table s;
Table Create Table
@@ -69989,7 +69989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2502;
show create table s;
Table Create Table
@@ -69997,7 +69997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2501;
show create table s;
Table Create Table
@@ -70005,7 +70005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2500;
show create table s;
Table Create Table
@@ -70013,7 +70013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2499;
show create table s;
Table Create Table
@@ -70021,7 +70021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2498;
show create table s;
Table Create Table
@@ -70029,7 +70029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2497;
show create table s;
Table Create Table
@@ -70037,7 +70037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2496;
show create table s;
Table Create Table
@@ -70045,7 +70045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2495;
show create table s;
Table Create Table
@@ -70053,7 +70053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2494;
show create table s;
Table Create Table
@@ -70061,7 +70061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2493;
show create table s;
Table Create Table
@@ -70069,7 +70069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2492;
show create table s;
Table Create Table
@@ -70077,7 +70077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2491;
show create table s;
Table Create Table
@@ -70085,7 +70085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2490;
show create table s;
Table Create Table
@@ -70093,7 +70093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2489;
show create table s;
Table Create Table
@@ -70101,7 +70101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2488;
show create table s;
Table Create Table
@@ -70109,7 +70109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2487;
show create table s;
Table Create Table
@@ -70117,7 +70117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2486;
show create table s;
Table Create Table
@@ -70125,7 +70125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2485;
show create table s;
Table Create Table
@@ -70133,7 +70133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2484;
show create table s;
Table Create Table
@@ -70141,7 +70141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2483;
show create table s;
Table Create Table
@@ -70149,7 +70149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2482;
show create table s;
Table Create Table
@@ -70157,7 +70157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2481;
show create table s;
Table Create Table
@@ -70165,7 +70165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2480;
show create table s;
Table Create Table
@@ -70173,7 +70173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2479;
show create table s;
Table Create Table
@@ -70181,7 +70181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2478;
show create table s;
Table Create Table
@@ -70189,7 +70189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2477;
show create table s;
Table Create Table
@@ -70197,7 +70197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2476;
show create table s;
Table Create Table
@@ -70205,7 +70205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2475;
show create table s;
Table Create Table
@@ -70213,7 +70213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2474;
show create table s;
Table Create Table
@@ -70221,7 +70221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2473;
show create table s;
Table Create Table
@@ -70229,7 +70229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2472;
show create table s;
Table Create Table
@@ -70237,7 +70237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2471;
show create table s;
Table Create Table
@@ -70245,7 +70245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2470;
show create table s;
Table Create Table
@@ -70253,7 +70253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2469;
show create table s;
Table Create Table
@@ -70261,7 +70261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2468;
show create table s;
Table Create Table
@@ -70269,7 +70269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2467;
show create table s;
Table Create Table
@@ -70277,7 +70277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2466;
show create table s;
Table Create Table
@@ -70285,7 +70285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2465;
show create table s;
Table Create Table
@@ -70293,7 +70293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2464;
show create table s;
Table Create Table
@@ -70301,7 +70301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2463;
show create table s;
Table Create Table
@@ -70309,7 +70309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2462;
show create table s;
Table Create Table
@@ -70317,7 +70317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2461;
show create table s;
Table Create Table
@@ -70325,7 +70325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2460;
show create table s;
Table Create Table
@@ -70333,7 +70333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2459;
show create table s;
Table Create Table
@@ -70341,7 +70341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2458;
show create table s;
Table Create Table
@@ -70349,7 +70349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2457;
show create table s;
Table Create Table
@@ -70357,7 +70357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2456;
show create table s;
Table Create Table
@@ -70365,7 +70365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2455;
show create table s;
Table Create Table
@@ -70373,7 +70373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2454;
show create table s;
Table Create Table
@@ -70381,7 +70381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2453;
show create table s;
Table Create Table
@@ -70389,7 +70389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2452;
show create table s;
Table Create Table
@@ -70397,7 +70397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2451;
show create table s;
Table Create Table
@@ -70405,7 +70405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2450;
show create table s;
Table Create Table
@@ -70413,7 +70413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2449;
show create table s;
Table Create Table
@@ -70421,7 +70421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2448;
show create table s;
Table Create Table
@@ -70429,7 +70429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2447;
show create table s;
Table Create Table
@@ -70437,7 +70437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2446;
show create table s;
Table Create Table
@@ -70445,7 +70445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2445;
show create table s;
Table Create Table
@@ -70453,7 +70453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2444;
show create table s;
Table Create Table
@@ -70461,7 +70461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2443;
show create table s;
Table Create Table
@@ -70469,7 +70469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2442;
show create table s;
Table Create Table
@@ -70477,7 +70477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2441;
show create table s;
Table Create Table
@@ -70485,7 +70485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2440;
show create table s;
Table Create Table
@@ -70493,7 +70493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2439;
show create table s;
Table Create Table
@@ -70501,7 +70501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2438;
show create table s;
Table Create Table
@@ -70509,7 +70509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2437;
show create table s;
Table Create Table
@@ -70517,7 +70517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2436;
show create table s;
Table Create Table
@@ -70525,7 +70525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2435;
show create table s;
Table Create Table
@@ -70533,7 +70533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2434;
show create table s;
Table Create Table
@@ -70541,7 +70541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2433;
show create table s;
Table Create Table
@@ -70549,7 +70549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2432;
show create table s;
Table Create Table
@@ -70557,7 +70557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2431;
show create table s;
Table Create Table
@@ -70565,7 +70565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2430;
show create table s;
Table Create Table
@@ -70573,7 +70573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2429;
show create table s;
Table Create Table
@@ -70581,7 +70581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2428;
show create table s;
Table Create Table
@@ -70589,7 +70589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2427;
show create table s;
Table Create Table
@@ -70597,7 +70597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2426;
show create table s;
Table Create Table
@@ -70605,7 +70605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2425;
show create table s;
Table Create Table
@@ -70613,7 +70613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2424;
show create table s;
Table Create Table
@@ -70621,7 +70621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2423;
show create table s;
Table Create Table
@@ -70629,7 +70629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2422;
show create table s;
Table Create Table
@@ -70637,7 +70637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2421;
show create table s;
Table Create Table
@@ -70645,7 +70645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2420;
show create table s;
Table Create Table
@@ -70653,7 +70653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2419;
show create table s;
Table Create Table
@@ -70661,7 +70661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2418;
show create table s;
Table Create Table
@@ -70669,7 +70669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2417;
show create table s;
Table Create Table
@@ -70677,7 +70677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2416;
show create table s;
Table Create Table
@@ -70685,7 +70685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2415;
show create table s;
Table Create Table
@@ -70693,7 +70693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2414;
show create table s;
Table Create Table
@@ -70701,7 +70701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2413;
show create table s;
Table Create Table
@@ -70709,7 +70709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2412;
show create table s;
Table Create Table
@@ -70717,7 +70717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2411;
show create table s;
Table Create Table
@@ -70725,7 +70725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2410;
show create table s;
Table Create Table
@@ -70733,7 +70733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2409;
show create table s;
Table Create Table
@@ -70741,7 +70741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2408;
show create table s;
Table Create Table
@@ -70749,7 +70749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2407;
show create table s;
Table Create Table
@@ -70757,7 +70757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2406;
show create table s;
Table Create Table
@@ -70765,7 +70765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2405;
show create table s;
Table Create Table
@@ -70773,7 +70773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2404;
show create table s;
Table Create Table
@@ -70781,7 +70781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2403;
show create table s;
Table Create Table
@@ -70789,7 +70789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2402;
show create table s;
Table Create Table
@@ -70797,7 +70797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2401;
show create table s;
Table Create Table
@@ -70805,7 +70805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2400;
show create table s;
Table Create Table
@@ -70813,7 +70813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2399;
show create table s;
Table Create Table
@@ -70821,7 +70821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2398;
show create table s;
Table Create Table
@@ -70829,7 +70829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2397;
show create table s;
Table Create Table
@@ -70837,7 +70837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2396;
show create table s;
Table Create Table
@@ -70845,7 +70845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2395;
show create table s;
Table Create Table
@@ -70853,7 +70853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2394;
show create table s;
Table Create Table
@@ -70861,7 +70861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2393;
show create table s;
Table Create Table
@@ -70869,7 +70869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2392;
show create table s;
Table Create Table
@@ -70877,7 +70877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2391;
show create table s;
Table Create Table
@@ -70885,7 +70885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2390;
show create table s;
Table Create Table
@@ -70893,7 +70893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2389;
show create table s;
Table Create Table
@@ -70901,7 +70901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2388;
show create table s;
Table Create Table
@@ -70909,7 +70909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2387;
show create table s;
Table Create Table
@@ -70917,7 +70917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2386;
show create table s;
Table Create Table
@@ -70925,7 +70925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2385;
show create table s;
Table Create Table
@@ -70933,7 +70933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2384;
show create table s;
Table Create Table
@@ -70941,7 +70941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2383;
show create table s;
Table Create Table
@@ -70949,7 +70949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2382;
show create table s;
Table Create Table
@@ -70957,7 +70957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2381;
show create table s;
Table Create Table
@@ -70965,7 +70965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2380;
show create table s;
Table Create Table
@@ -70973,7 +70973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2379;
show create table s;
Table Create Table
@@ -70981,7 +70981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2378;
show create table s;
Table Create Table
@@ -70989,7 +70989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2377;
show create table s;
Table Create Table
@@ -70997,7 +70997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2376;
show create table s;
Table Create Table
@@ -71005,7 +71005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2375;
show create table s;
Table Create Table
@@ -71013,7 +71013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2374;
show create table s;
Table Create Table
@@ -71021,7 +71021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2373;
show create table s;
Table Create Table
@@ -71029,7 +71029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2372;
show create table s;
Table Create Table
@@ -71037,7 +71037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2371;
show create table s;
Table Create Table
@@ -71045,7 +71045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2370;
show create table s;
Table Create Table
@@ -71053,7 +71053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2369;
show create table s;
Table Create Table
@@ -71061,7 +71061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2368;
show create table s;
Table Create Table
@@ -71069,7 +71069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2367;
show create table s;
Table Create Table
@@ -71077,7 +71077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2366;
show create table s;
Table Create Table
@@ -71085,7 +71085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2365;
show create table s;
Table Create Table
@@ -71093,7 +71093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2364;
show create table s;
Table Create Table
@@ -71101,7 +71101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2363;
show create table s;
Table Create Table
@@ -71109,7 +71109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2362;
show create table s;
Table Create Table
@@ -71117,7 +71117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2361;
show create table s;
Table Create Table
@@ -71125,7 +71125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2360;
show create table s;
Table Create Table
@@ -71133,7 +71133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2359;
show create table s;
Table Create Table
@@ -71141,7 +71141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2358;
show create table s;
Table Create Table
@@ -71149,7 +71149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2357;
show create table s;
Table Create Table
@@ -71157,7 +71157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2356;
show create table s;
Table Create Table
@@ -71165,7 +71165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2355;
show create table s;
Table Create Table
@@ -71173,7 +71173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2354;
show create table s;
Table Create Table
@@ -71181,7 +71181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2353;
show create table s;
Table Create Table
@@ -71189,7 +71189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2352;
show create table s;
Table Create Table
@@ -71197,7 +71197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2351;
show create table s;
Table Create Table
@@ -71205,7 +71205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2350;
show create table s;
Table Create Table
@@ -71213,7 +71213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2349;
show create table s;
Table Create Table
@@ -71221,7 +71221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2348;
show create table s;
Table Create Table
@@ -71229,7 +71229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2347;
show create table s;
Table Create Table
@@ -71237,7 +71237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2346;
show create table s;
Table Create Table
@@ -71245,7 +71245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2345;
show create table s;
Table Create Table
@@ -71253,7 +71253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2344;
show create table s;
Table Create Table
@@ -71261,7 +71261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2343;
show create table s;
Table Create Table
@@ -71269,7 +71269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2342;
show create table s;
Table Create Table
@@ -71277,7 +71277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2341;
show create table s;
Table Create Table
@@ -71285,7 +71285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2340;
show create table s;
Table Create Table
@@ -71293,7 +71293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2339;
show create table s;
Table Create Table
@@ -71301,7 +71301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2338;
show create table s;
Table Create Table
@@ -71309,7 +71309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2337;
show create table s;
Table Create Table
@@ -71317,7 +71317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2336;
show create table s;
Table Create Table
@@ -71325,7 +71325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2335;
show create table s;
Table Create Table
@@ -71333,7 +71333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2334;
show create table s;
Table Create Table
@@ -71341,7 +71341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2333;
show create table s;
Table Create Table
@@ -71349,7 +71349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2332;
show create table s;
Table Create Table
@@ -71357,7 +71357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2331;
show create table s;
Table Create Table
@@ -71365,7 +71365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2330;
show create table s;
Table Create Table
@@ -71373,7 +71373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2329;
show create table s;
Table Create Table
@@ -71381,7 +71381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2328;
show create table s;
Table Create Table
@@ -71389,7 +71389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2327;
show create table s;
Table Create Table
@@ -71397,7 +71397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2326;
show create table s;
Table Create Table
@@ -71405,7 +71405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2325;
show create table s;
Table Create Table
@@ -71413,7 +71413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2324;
show create table s;
Table Create Table
@@ -71421,7 +71421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2323;
show create table s;
Table Create Table
@@ -71429,7 +71429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2322;
show create table s;
Table Create Table
@@ -71437,7 +71437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2321;
show create table s;
Table Create Table
@@ -71445,7 +71445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2320;
show create table s;
Table Create Table
@@ -71453,7 +71453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2319;
show create table s;
Table Create Table
@@ -71461,7 +71461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2318;
show create table s;
Table Create Table
@@ -71469,7 +71469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2317;
show create table s;
Table Create Table
@@ -71477,7 +71477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2316;
show create table s;
Table Create Table
@@ -71485,7 +71485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2315;
show create table s;
Table Create Table
@@ -71493,7 +71493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2314;
show create table s;
Table Create Table
@@ -71501,7 +71501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2313;
show create table s;
Table Create Table
@@ -71509,7 +71509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2312;
show create table s;
Table Create Table
@@ -71517,7 +71517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2311;
show create table s;
Table Create Table
@@ -71525,7 +71525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2310;
show create table s;
Table Create Table
@@ -71533,7 +71533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2309;
show create table s;
Table Create Table
@@ -71541,7 +71541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2308;
show create table s;
Table Create Table
@@ -71549,7 +71549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2307;
show create table s;
Table Create Table
@@ -71557,7 +71557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2306;
show create table s;
Table Create Table
@@ -71565,7 +71565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2305;
show create table s;
Table Create Table
@@ -71573,7 +71573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2304;
show create table s;
Table Create Table
@@ -71581,7 +71581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2303;
show create table s;
Table Create Table
@@ -71589,7 +71589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2302;
show create table s;
Table Create Table
@@ -71597,7 +71597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2301;
show create table s;
Table Create Table
@@ -71605,7 +71605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2300;
show create table s;
Table Create Table
@@ -71613,7 +71613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2299;
show create table s;
Table Create Table
@@ -71621,7 +71621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2298;
show create table s;
Table Create Table
@@ -71629,7 +71629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2297;
show create table s;
Table Create Table
@@ -71637,7 +71637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2296;
show create table s;
Table Create Table
@@ -71645,7 +71645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2295;
show create table s;
Table Create Table
@@ -71653,7 +71653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2294;
show create table s;
Table Create Table
@@ -71661,7 +71661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2293;
show create table s;
Table Create Table
@@ -71669,7 +71669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2292;
show create table s;
Table Create Table
@@ -71677,7 +71677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2291;
show create table s;
Table Create Table
@@ -71685,7 +71685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2290;
show create table s;
Table Create Table
@@ -71693,7 +71693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2289;
show create table s;
Table Create Table
@@ -71701,7 +71701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2288;
show create table s;
Table Create Table
@@ -71709,7 +71709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2287;
show create table s;
Table Create Table
@@ -71717,7 +71717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2286;
show create table s;
Table Create Table
@@ -71725,7 +71725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2285;
show create table s;
Table Create Table
@@ -71733,7 +71733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2284;
show create table s;
Table Create Table
@@ -71741,7 +71741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2283;
show create table s;
Table Create Table
@@ -71749,7 +71749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2282;
show create table s;
Table Create Table
@@ -71757,7 +71757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2281;
show create table s;
Table Create Table
@@ -71765,7 +71765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2280;
show create table s;
Table Create Table
@@ -71773,7 +71773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2279;
show create table s;
Table Create Table
@@ -71781,7 +71781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2278;
show create table s;
Table Create Table
@@ -71789,7 +71789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2277;
show create table s;
Table Create Table
@@ -71797,7 +71797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2276;
show create table s;
Table Create Table
@@ -71805,7 +71805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2275;
show create table s;
Table Create Table
@@ -71813,7 +71813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2274;
show create table s;
Table Create Table
@@ -71821,7 +71821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2273;
show create table s;
Table Create Table
@@ -71829,7 +71829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2272;
show create table s;
Table Create Table
@@ -71837,7 +71837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2271;
show create table s;
Table Create Table
@@ -71845,7 +71845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2270;
show create table s;
Table Create Table
@@ -71853,7 +71853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2269;
show create table s;
Table Create Table
@@ -71861,7 +71861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2268;
show create table s;
Table Create Table
@@ -71869,7 +71869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2267;
show create table s;
Table Create Table
@@ -71877,7 +71877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2266;
show create table s;
Table Create Table
@@ -71885,7 +71885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2265;
show create table s;
Table Create Table
@@ -71893,7 +71893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2264;
show create table s;
Table Create Table
@@ -71901,7 +71901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2263;
show create table s;
Table Create Table
@@ -71909,7 +71909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2262;
show create table s;
Table Create Table
@@ -71917,7 +71917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2261;
show create table s;
Table Create Table
@@ -71925,7 +71925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2260;
show create table s;
Table Create Table
@@ -71933,7 +71933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2259;
show create table s;
Table Create Table
@@ -71941,7 +71941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2258;
show create table s;
Table Create Table
@@ -71949,7 +71949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2257;
show create table s;
Table Create Table
@@ -71957,7 +71957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2256;
show create table s;
Table Create Table
@@ -71965,7 +71965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2255;
show create table s;
Table Create Table
@@ -71973,7 +71973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2254;
show create table s;
Table Create Table
@@ -71981,7 +71981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2253;
show create table s;
Table Create Table
@@ -71989,7 +71989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2252;
show create table s;
Table Create Table
@@ -71997,7 +71997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2251;
show create table s;
Table Create Table
@@ -72005,7 +72005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2250;
show create table s;
Table Create Table
@@ -72013,7 +72013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2249;
show create table s;
Table Create Table
@@ -72021,7 +72021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2248;
show create table s;
Table Create Table
@@ -72029,7 +72029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2247;
show create table s;
Table Create Table
@@ -72037,7 +72037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2246;
show create table s;
Table Create Table
@@ -72045,7 +72045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2245;
show create table s;
Table Create Table
@@ -72053,7 +72053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2244;
show create table s;
Table Create Table
@@ -72061,7 +72061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2243;
show create table s;
Table Create Table
@@ -72069,7 +72069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2242;
show create table s;
Table Create Table
@@ -72077,7 +72077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2241;
show create table s;
Table Create Table
@@ -72085,7 +72085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2240;
show create table s;
Table Create Table
@@ -72093,7 +72093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2239;
show create table s;
Table Create Table
@@ -72101,7 +72101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2238;
show create table s;
Table Create Table
@@ -72109,7 +72109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2237;
show create table s;
Table Create Table
@@ -72117,7 +72117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2236;
show create table s;
Table Create Table
@@ -72125,7 +72125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2235;
show create table s;
Table Create Table
@@ -72133,7 +72133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2234;
show create table s;
Table Create Table
@@ -72141,7 +72141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2233;
show create table s;
Table Create Table
@@ -72149,7 +72149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2232;
show create table s;
Table Create Table
@@ -72157,7 +72157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2231;
show create table s;
Table Create Table
@@ -72165,7 +72165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2230;
show create table s;
Table Create Table
@@ -72173,7 +72173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2229;
show create table s;
Table Create Table
@@ -72181,7 +72181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2228;
show create table s;
Table Create Table
@@ -72189,7 +72189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2227;
show create table s;
Table Create Table
@@ -72197,7 +72197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2226;
show create table s;
Table Create Table
@@ -72205,7 +72205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2225;
show create table s;
Table Create Table
@@ -72213,7 +72213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2224;
show create table s;
Table Create Table
@@ -72221,7 +72221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2223;
show create table s;
Table Create Table
@@ -72229,7 +72229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2222;
show create table s;
Table Create Table
@@ -72237,7 +72237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2221;
show create table s;
Table Create Table
@@ -72245,7 +72245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2220;
show create table s;
Table Create Table
@@ -72253,7 +72253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2219;
show create table s;
Table Create Table
@@ -72261,7 +72261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2218;
show create table s;
Table Create Table
@@ -72269,7 +72269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2217;
show create table s;
Table Create Table
@@ -72277,7 +72277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2216;
show create table s;
Table Create Table
@@ -72285,7 +72285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2215;
show create table s;
Table Create Table
@@ -72293,7 +72293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2214;
show create table s;
Table Create Table
@@ -72301,7 +72301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2213;
show create table s;
Table Create Table
@@ -72309,7 +72309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2212;
show create table s;
Table Create Table
@@ -72317,7 +72317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2211;
show create table s;
Table Create Table
@@ -72325,7 +72325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2210;
show create table s;
Table Create Table
@@ -72333,7 +72333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2209;
show create table s;
Table Create Table
@@ -72341,7 +72341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2208;
show create table s;
Table Create Table
@@ -72349,7 +72349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2207;
show create table s;
Table Create Table
@@ -72357,7 +72357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2206;
show create table s;
Table Create Table
@@ -72365,7 +72365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2205;
show create table s;
Table Create Table
@@ -72373,7 +72373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2204;
show create table s;
Table Create Table
@@ -72381,7 +72381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2203;
show create table s;
Table Create Table
@@ -72389,7 +72389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2202;
show create table s;
Table Create Table
@@ -72397,7 +72397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2201;
show create table s;
Table Create Table
@@ -72405,7 +72405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2200;
show create table s;
Table Create Table
@@ -72413,7 +72413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2199;
show create table s;
Table Create Table
@@ -72421,7 +72421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2198;
show create table s;
Table Create Table
@@ -72429,7 +72429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2197;
show create table s;
Table Create Table
@@ -72437,7 +72437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2196;
show create table s;
Table Create Table
@@ -72445,7 +72445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2195;
show create table s;
Table Create Table
@@ -72453,7 +72453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2194;
show create table s;
Table Create Table
@@ -72461,7 +72461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2193;
show create table s;
Table Create Table
@@ -72469,7 +72469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2192;
show create table s;
Table Create Table
@@ -72477,7 +72477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2191;
show create table s;
Table Create Table
@@ -72485,7 +72485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2190;
show create table s;
Table Create Table
@@ -72493,7 +72493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2189;
show create table s;
Table Create Table
@@ -72501,7 +72501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2188;
show create table s;
Table Create Table
@@ -72509,7 +72509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2187;
show create table s;
Table Create Table
@@ -72517,7 +72517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2186;
show create table s;
Table Create Table
@@ -72525,7 +72525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2185;
show create table s;
Table Create Table
@@ -72533,7 +72533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2184;
show create table s;
Table Create Table
@@ -72541,7 +72541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2183;
show create table s;
Table Create Table
@@ -72549,7 +72549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2182;
show create table s;
Table Create Table
@@ -72557,7 +72557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2181;
show create table s;
Table Create Table
@@ -72565,7 +72565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2180;
show create table s;
Table Create Table
@@ -72573,7 +72573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2179;
show create table s;
Table Create Table
@@ -72581,7 +72581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2178;
show create table s;
Table Create Table
@@ -72589,7 +72589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2177;
show create table s;
Table Create Table
@@ -72597,7 +72597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2176;
show create table s;
Table Create Table
@@ -72605,7 +72605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2175;
show create table s;
Table Create Table
@@ -72613,7 +72613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2174;
show create table s;
Table Create Table
@@ -72621,7 +72621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2173;
show create table s;
Table Create Table
@@ -72629,7 +72629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2172;
show create table s;
Table Create Table
@@ -72637,7 +72637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2171;
show create table s;
Table Create Table
@@ -72645,7 +72645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2170;
show create table s;
Table Create Table
@@ -72653,7 +72653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2169;
show create table s;
Table Create Table
@@ -72661,7 +72661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2168;
show create table s;
Table Create Table
@@ -72669,7 +72669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2167;
show create table s;
Table Create Table
@@ -72677,7 +72677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2166;
show create table s;
Table Create Table
@@ -72685,7 +72685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2165;
show create table s;
Table Create Table
@@ -72693,7 +72693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2164;
show create table s;
Table Create Table
@@ -72701,7 +72701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2163;
show create table s;
Table Create Table
@@ -72709,7 +72709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2162;
show create table s;
Table Create Table
@@ -72717,7 +72717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2161;
show create table s;
Table Create Table
@@ -72725,7 +72725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2160;
show create table s;
Table Create Table
@@ -72733,7 +72733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2159;
show create table s;
Table Create Table
@@ -72741,7 +72741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2158;
show create table s;
Table Create Table
@@ -72749,7 +72749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2157;
show create table s;
Table Create Table
@@ -72757,7 +72757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2156;
show create table s;
Table Create Table
@@ -72765,7 +72765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2155;
show create table s;
Table Create Table
@@ -72773,7 +72773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2154;
show create table s;
Table Create Table
@@ -72781,7 +72781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2153;
show create table s;
Table Create Table
@@ -72789,7 +72789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2152;
show create table s;
Table Create Table
@@ -72797,7 +72797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2151;
show create table s;
Table Create Table
@@ -72805,7 +72805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2150;
show create table s;
Table Create Table
@@ -72813,7 +72813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2149;
show create table s;
Table Create Table
@@ -72821,7 +72821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2148;
show create table s;
Table Create Table
@@ -72829,7 +72829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2147;
show create table s;
Table Create Table
@@ -72837,7 +72837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2146;
show create table s;
Table Create Table
@@ -72845,7 +72845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2145;
show create table s;
Table Create Table
@@ -72853,7 +72853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2144;
show create table s;
Table Create Table
@@ -72861,7 +72861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2143;
show create table s;
Table Create Table
@@ -72869,7 +72869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2142;
show create table s;
Table Create Table
@@ -72877,7 +72877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2141;
show create table s;
Table Create Table
@@ -72885,7 +72885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2140;
show create table s;
Table Create Table
@@ -72893,7 +72893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2139;
show create table s;
Table Create Table
@@ -72901,7 +72901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2138;
show create table s;
Table Create Table
@@ -72909,7 +72909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2137;
show create table s;
Table Create Table
@@ -72917,7 +72917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2136;
show create table s;
Table Create Table
@@ -72925,7 +72925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2135;
show create table s;
Table Create Table
@@ -72933,7 +72933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2134;
show create table s;
Table Create Table
@@ -72941,7 +72941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2133;
show create table s;
Table Create Table
@@ -72949,7 +72949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2132;
show create table s;
Table Create Table
@@ -72957,7 +72957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2131;
show create table s;
Table Create Table
@@ -72965,7 +72965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2130;
show create table s;
Table Create Table
@@ -72973,7 +72973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2129;
show create table s;
Table Create Table
@@ -72981,7 +72981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2128;
show create table s;
Table Create Table
@@ -72989,7 +72989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2127;
show create table s;
Table Create Table
@@ -72997,7 +72997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2126;
show create table s;
Table Create Table
@@ -73005,7 +73005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2125;
show create table s;
Table Create Table
@@ -73013,7 +73013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2124;
show create table s;
Table Create Table
@@ -73021,7 +73021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2123;
show create table s;
Table Create Table
@@ -73029,7 +73029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2122;
show create table s;
Table Create Table
@@ -73037,7 +73037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2121;
show create table s;
Table Create Table
@@ -73045,7 +73045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2120;
show create table s;
Table Create Table
@@ -73053,7 +73053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2119;
show create table s;
Table Create Table
@@ -73061,7 +73061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2118;
show create table s;
Table Create Table
@@ -73069,7 +73069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2117;
show create table s;
Table Create Table
@@ -73077,7 +73077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2116;
show create table s;
Table Create Table
@@ -73085,7 +73085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2115;
show create table s;
Table Create Table
@@ -73093,7 +73093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2114;
show create table s;
Table Create Table
@@ -73101,7 +73101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2113;
show create table s;
Table Create Table
@@ -73109,7 +73109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2112;
show create table s;
Table Create Table
@@ -73117,7 +73117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2111;
show create table s;
Table Create Table
@@ -73125,7 +73125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2110;
show create table s;
Table Create Table
@@ -73133,7 +73133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2109;
show create table s;
Table Create Table
@@ -73141,7 +73141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2108;
show create table s;
Table Create Table
@@ -73149,7 +73149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2107;
show create table s;
Table Create Table
@@ -73157,7 +73157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2106;
show create table s;
Table Create Table
@@ -73165,7 +73165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2105;
show create table s;
Table Create Table
@@ -73173,7 +73173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2104;
show create table s;
Table Create Table
@@ -73181,7 +73181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2103;
show create table s;
Table Create Table
@@ -73189,7 +73189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2102;
show create table s;
Table Create Table
@@ -73197,7 +73197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2101;
show create table s;
Table Create Table
@@ -73205,7 +73205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2100;
show create table s;
Table Create Table
@@ -73213,7 +73213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2099;
show create table s;
Table Create Table
@@ -73221,7 +73221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2098;
show create table s;
Table Create Table
@@ -73229,7 +73229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2097;
show create table s;
Table Create Table
@@ -73237,7 +73237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2096;
show create table s;
Table Create Table
@@ -73245,7 +73245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2095;
show create table s;
Table Create Table
@@ -73253,7 +73253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2094;
show create table s;
Table Create Table
@@ -73261,7 +73261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2093;
show create table s;
Table Create Table
@@ -73269,7 +73269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2092;
show create table s;
Table Create Table
@@ -73277,7 +73277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2091;
show create table s;
Table Create Table
@@ -73285,7 +73285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2090;
show create table s;
Table Create Table
@@ -73293,7 +73293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2089;
show create table s;
Table Create Table
@@ -73301,7 +73301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2088;
show create table s;
Table Create Table
@@ -73309,7 +73309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2087;
show create table s;
Table Create Table
@@ -73317,7 +73317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2086;
show create table s;
Table Create Table
@@ -73325,7 +73325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2085;
show create table s;
Table Create Table
@@ -73333,7 +73333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2084;
show create table s;
Table Create Table
@@ -73341,7 +73341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2083;
show create table s;
Table Create Table
@@ -73349,7 +73349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2082;
show create table s;
Table Create Table
@@ -73357,7 +73357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2081;
show create table s;
Table Create Table
@@ -73365,7 +73365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2080;
show create table s;
Table Create Table
@@ -73373,7 +73373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2079;
show create table s;
Table Create Table
@@ -73381,7 +73381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2078;
show create table s;
Table Create Table
@@ -73389,7 +73389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2077;
show create table s;
Table Create Table
@@ -73397,7 +73397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2076;
show create table s;
Table Create Table
@@ -73405,7 +73405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2075;
show create table s;
Table Create Table
@@ -73413,7 +73413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2074;
show create table s;
Table Create Table
@@ -73421,7 +73421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2073;
show create table s;
Table Create Table
@@ -73429,7 +73429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2072;
show create table s;
Table Create Table
@@ -73437,7 +73437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2071;
show create table s;
Table Create Table
@@ -73445,7 +73445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2070;
show create table s;
Table Create Table
@@ -73453,7 +73453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2069;
show create table s;
Table Create Table
@@ -73461,7 +73461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2068;
show create table s;
Table Create Table
@@ -73469,7 +73469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2067;
show create table s;
Table Create Table
@@ -73477,7 +73477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2066;
show create table s;
Table Create Table
@@ -73485,7 +73485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2065;
show create table s;
Table Create Table
@@ -73493,7 +73493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2064;
show create table s;
Table Create Table
@@ -73501,7 +73501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2063;
show create table s;
Table Create Table
@@ -73509,7 +73509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2062;
show create table s;
Table Create Table
@@ -73517,7 +73517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2061;
show create table s;
Table Create Table
@@ -73525,7 +73525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2060;
show create table s;
Table Create Table
@@ -73533,7 +73533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2059;
show create table s;
Table Create Table
@@ -73541,7 +73541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2058;
show create table s;
Table Create Table
@@ -73549,7 +73549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2057;
show create table s;
Table Create Table
@@ -73557,7 +73557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2056;
show create table s;
Table Create Table
@@ -73565,7 +73565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2055;
show create table s;
Table Create Table
@@ -73573,7 +73573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2054;
show create table s;
Table Create Table
@@ -73581,7 +73581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2053;
show create table s;
Table Create Table
@@ -73589,7 +73589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2052;
show create table s;
Table Create Table
@@ -73597,7 +73597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2051;
show create table s;
Table Create Table
@@ -73605,7 +73605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2050;
show create table s;
Table Create Table
@@ -73613,7 +73613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2049;
show create table s;
Table Create Table
@@ -73621,7 +73621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2048;
show create table s;
Table Create Table
@@ -73629,7 +73629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2047;
show create table s;
Table Create Table
@@ -73637,7 +73637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2046;
show create table s;
Table Create Table
@@ -73645,7 +73645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2045;
show create table s;
Table Create Table
@@ -73653,7 +73653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2044;
show create table s;
Table Create Table
@@ -73661,7 +73661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2043;
show create table s;
Table Create Table
@@ -73669,7 +73669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2042;
show create table s;
Table Create Table
@@ -73677,7 +73677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2041;
show create table s;
Table Create Table
@@ -73685,7 +73685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2040;
show create table s;
Table Create Table
@@ -73693,7 +73693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2039;
show create table s;
Table Create Table
@@ -73701,7 +73701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2038;
show create table s;
Table Create Table
@@ -73709,7 +73709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2037;
show create table s;
Table Create Table
@@ -73717,7 +73717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2036;
show create table s;
Table Create Table
@@ -73725,7 +73725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2035;
show create table s;
Table Create Table
@@ -73733,7 +73733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2034;
show create table s;
Table Create Table
@@ -73741,7 +73741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2033;
show create table s;
Table Create Table
@@ -73749,7 +73749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2032;
show create table s;
Table Create Table
@@ -73757,7 +73757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2031;
show create table s;
Table Create Table
@@ -73765,7 +73765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2030;
show create table s;
Table Create Table
@@ -73773,7 +73773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2029;
show create table s;
Table Create Table
@@ -73781,7 +73781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2028;
show create table s;
Table Create Table
@@ -73789,7 +73789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2027;
show create table s;
Table Create Table
@@ -73797,7 +73797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2026;
show create table s;
Table Create Table
@@ -73805,7 +73805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2025;
show create table s;
Table Create Table
@@ -73813,7 +73813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2024;
show create table s;
Table Create Table
@@ -73821,7 +73821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2023;
show create table s;
Table Create Table
@@ -73829,7 +73829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2022;
show create table s;
Table Create Table
@@ -73837,7 +73837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2021;
show create table s;
Table Create Table
@@ -73845,7 +73845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2020;
show create table s;
Table Create Table
@@ -73853,7 +73853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2019;
show create table s;
Table Create Table
@@ -73861,7 +73861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2018;
show create table s;
Table Create Table
@@ -73869,7 +73869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2017;
show create table s;
Table Create Table
@@ -73877,7 +73877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2016;
show create table s;
Table Create Table
@@ -73885,7 +73885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2015;
show create table s;
Table Create Table
@@ -73893,7 +73893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2014;
show create table s;
Table Create Table
@@ -73901,7 +73901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2013;
show create table s;
Table Create Table
@@ -73909,7 +73909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2012;
show create table s;
Table Create Table
@@ -73917,7 +73917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2011;
show create table s;
Table Create Table
@@ -73925,7 +73925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2010;
show create table s;
Table Create Table
@@ -73933,7 +73933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2009;
show create table s;
Table Create Table
@@ -73941,7 +73941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2008;
show create table s;
Table Create Table
@@ -73949,7 +73949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2007;
show create table s;
Table Create Table
@@ -73957,7 +73957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2006;
show create table s;
Table Create Table
@@ -73965,7 +73965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2005;
show create table s;
Table Create Table
@@ -73973,7 +73973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2004;
show create table s;
Table Create Table
@@ -73981,7 +73981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2003;
show create table s;
Table Create Table
@@ -73989,7 +73989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2002;
show create table s;
Table Create Table
@@ -73997,7 +73997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2001;
show create table s;
Table Create Table
@@ -74005,7 +74005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2000;
show create table s;
Table Create Table
@@ -74013,7 +74013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1999;
show create table s;
Table Create Table
@@ -74021,7 +74021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1998;
show create table s;
Table Create Table
@@ -74029,7 +74029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1997;
show create table s;
Table Create Table
@@ -74037,7 +74037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1996;
show create table s;
Table Create Table
@@ -74045,7 +74045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1995;
show create table s;
Table Create Table
@@ -74053,7 +74053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1994;
show create table s;
Table Create Table
@@ -74061,7 +74061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1993;
show create table s;
Table Create Table
@@ -74069,7 +74069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1992;
show create table s;
Table Create Table
@@ -74077,7 +74077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1991;
show create table s;
Table Create Table
@@ -74085,7 +74085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1990;
show create table s;
Table Create Table
@@ -74093,7 +74093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1989;
show create table s;
Table Create Table
@@ -74101,7 +74101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1988;
show create table s;
Table Create Table
@@ -74109,7 +74109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1987;
show create table s;
Table Create Table
@@ -74117,7 +74117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1986;
show create table s;
Table Create Table
@@ -74125,7 +74125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1985;
show create table s;
Table Create Table
@@ -74133,7 +74133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1984;
show create table s;
Table Create Table
@@ -74141,7 +74141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1983;
show create table s;
Table Create Table
@@ -74149,7 +74149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1982;
show create table s;
Table Create Table
@@ -74157,7 +74157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1981;
show create table s;
Table Create Table
@@ -74165,7 +74165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1980;
show create table s;
Table Create Table
@@ -74173,7 +74173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1979;
show create table s;
Table Create Table
@@ -74181,7 +74181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1978;
show create table s;
Table Create Table
@@ -74189,7 +74189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1977;
show create table s;
Table Create Table
@@ -74197,7 +74197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1976;
show create table s;
Table Create Table
@@ -74205,7 +74205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1975;
show create table s;
Table Create Table
@@ -74213,7 +74213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1974;
show create table s;
Table Create Table
@@ -74221,7 +74221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1973;
show create table s;
Table Create Table
@@ -74229,7 +74229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1972;
show create table s;
Table Create Table
@@ -74237,7 +74237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1971;
show create table s;
Table Create Table
@@ -74245,7 +74245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1970;
show create table s;
Table Create Table
@@ -74253,7 +74253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1969;
show create table s;
Table Create Table
@@ -74261,7 +74261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1968;
show create table s;
Table Create Table
@@ -74269,7 +74269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1967;
show create table s;
Table Create Table
@@ -74277,7 +74277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1966;
show create table s;
Table Create Table
@@ -74285,7 +74285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1965;
show create table s;
Table Create Table
@@ -74293,7 +74293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1964;
show create table s;
Table Create Table
@@ -74301,7 +74301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1963;
show create table s;
Table Create Table
@@ -74309,7 +74309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1962;
show create table s;
Table Create Table
@@ -74317,7 +74317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1961;
show create table s;
Table Create Table
@@ -74325,7 +74325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1960;
show create table s;
Table Create Table
@@ -74333,7 +74333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1959;
show create table s;
Table Create Table
@@ -74341,7 +74341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1958;
show create table s;
Table Create Table
@@ -74349,7 +74349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1957;
show create table s;
Table Create Table
@@ -74357,7 +74357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1956;
show create table s;
Table Create Table
@@ -74365,7 +74365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1955;
show create table s;
Table Create Table
@@ -74373,7 +74373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1954;
show create table s;
Table Create Table
@@ -74381,7 +74381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1953;
show create table s;
Table Create Table
@@ -74389,7 +74389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1952;
show create table s;
Table Create Table
@@ -74397,7 +74397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1951;
show create table s;
Table Create Table
@@ -74405,7 +74405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1950;
show create table s;
Table Create Table
@@ -74413,7 +74413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1949;
show create table s;
Table Create Table
@@ -74421,7 +74421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1948;
show create table s;
Table Create Table
@@ -74429,7 +74429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1947;
show create table s;
Table Create Table
@@ -74437,7 +74437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1946;
show create table s;
Table Create Table
@@ -74445,7 +74445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1945;
show create table s;
Table Create Table
@@ -74453,7 +74453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1944;
show create table s;
Table Create Table
@@ -74461,7 +74461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1943;
show create table s;
Table Create Table
@@ -74469,7 +74469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1942;
show create table s;
Table Create Table
@@ -74477,7 +74477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1941;
show create table s;
Table Create Table
@@ -74485,7 +74485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1940;
show create table s;
Table Create Table
@@ -74493,7 +74493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1939;
show create table s;
Table Create Table
@@ -74501,7 +74501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1938;
show create table s;
Table Create Table
@@ -74509,7 +74509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1937;
show create table s;
Table Create Table
@@ -74517,7 +74517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1936;
show create table s;
Table Create Table
@@ -74525,7 +74525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1935;
show create table s;
Table Create Table
@@ -74533,7 +74533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1934;
show create table s;
Table Create Table
@@ -74541,7 +74541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1933;
show create table s;
Table Create Table
@@ -74549,7 +74549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1932;
show create table s;
Table Create Table
@@ -74557,7 +74557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1931;
show create table s;
Table Create Table
@@ -74565,7 +74565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1930;
show create table s;
Table Create Table
@@ -74573,7 +74573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1929;
show create table s;
Table Create Table
@@ -74581,7 +74581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1928;
show create table s;
Table Create Table
@@ -74589,7 +74589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1927;
show create table s;
Table Create Table
@@ -74597,7 +74597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1926;
show create table s;
Table Create Table
@@ -74605,7 +74605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1925;
show create table s;
Table Create Table
@@ -74613,7 +74613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1924;
show create table s;
Table Create Table
@@ -74621,7 +74621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1923;
show create table s;
Table Create Table
@@ -74629,7 +74629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1922;
show create table s;
Table Create Table
@@ -74637,7 +74637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1921;
show create table s;
Table Create Table
@@ -74645,7 +74645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1920;
show create table s;
Table Create Table
@@ -74653,7 +74653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1919;
show create table s;
Table Create Table
@@ -74661,7 +74661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1918;
show create table s;
Table Create Table
@@ -74669,7 +74669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1917;
show create table s;
Table Create Table
@@ -74677,7 +74677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1916;
show create table s;
Table Create Table
@@ -74685,7 +74685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1915;
show create table s;
Table Create Table
@@ -74693,7 +74693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1914;
show create table s;
Table Create Table
@@ -74701,7 +74701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1913;
show create table s;
Table Create Table
@@ -74709,7 +74709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1912;
show create table s;
Table Create Table
@@ -74717,7 +74717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1911;
show create table s;
Table Create Table
@@ -74725,7 +74725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1910;
show create table s;
Table Create Table
@@ -74733,7 +74733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1909;
show create table s;
Table Create Table
@@ -74741,7 +74741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1908;
show create table s;
Table Create Table
@@ -74749,7 +74749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1907;
show create table s;
Table Create Table
@@ -74757,7 +74757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1906;
show create table s;
Table Create Table
@@ -74765,7 +74765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1905;
show create table s;
Table Create Table
@@ -74773,7 +74773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1904;
show create table s;
Table Create Table
@@ -74781,7 +74781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1903;
show create table s;
Table Create Table
@@ -74789,7 +74789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1902;
show create table s;
Table Create Table
@@ -74797,7 +74797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1901;
show create table s;
Table Create Table
@@ -74805,7 +74805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1900;
show create table s;
Table Create Table
@@ -74813,7 +74813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1899;
show create table s;
Table Create Table
@@ -74821,7 +74821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1898;
show create table s;
Table Create Table
@@ -74829,7 +74829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1897;
show create table s;
Table Create Table
@@ -74837,7 +74837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1896;
show create table s;
Table Create Table
@@ -74845,7 +74845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1895;
show create table s;
Table Create Table
@@ -74853,7 +74853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1894;
show create table s;
Table Create Table
@@ -74861,7 +74861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1893;
show create table s;
Table Create Table
@@ -74869,7 +74869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1892;
show create table s;
Table Create Table
@@ -74877,7 +74877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1891;
show create table s;
Table Create Table
@@ -74885,7 +74885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1890;
show create table s;
Table Create Table
@@ -74893,7 +74893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1889;
show create table s;
Table Create Table
@@ -74901,7 +74901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1888;
show create table s;
Table Create Table
@@ -74909,7 +74909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1887;
show create table s;
Table Create Table
@@ -74917,7 +74917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1886;
show create table s;
Table Create Table
@@ -74925,7 +74925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1885;
show create table s;
Table Create Table
@@ -74933,7 +74933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1884;
show create table s;
Table Create Table
@@ -74941,7 +74941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1883;
show create table s;
Table Create Table
@@ -74949,7 +74949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1882;
show create table s;
Table Create Table
@@ -74957,7 +74957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1881;
show create table s;
Table Create Table
@@ -74965,7 +74965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1880;
show create table s;
Table Create Table
@@ -74973,7 +74973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1879;
show create table s;
Table Create Table
@@ -74981,7 +74981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1878;
show create table s;
Table Create Table
@@ -74989,7 +74989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1877;
show create table s;
Table Create Table
@@ -74997,7 +74997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1876;
show create table s;
Table Create Table
@@ -75005,7 +75005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1875;
show create table s;
Table Create Table
@@ -75013,7 +75013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1874;
show create table s;
Table Create Table
@@ -75021,7 +75021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1873;
show create table s;
Table Create Table
@@ -75029,7 +75029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1872;
show create table s;
Table Create Table
@@ -75037,7 +75037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1871;
show create table s;
Table Create Table
@@ -75045,7 +75045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1870;
show create table s;
Table Create Table
@@ -75053,7 +75053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1869;
show create table s;
Table Create Table
@@ -75061,7 +75061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1868;
show create table s;
Table Create Table
@@ -75069,7 +75069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1867;
show create table s;
Table Create Table
@@ -75077,7 +75077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1866;
show create table s;
Table Create Table
@@ -75085,7 +75085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1865;
show create table s;
Table Create Table
@@ -75093,7 +75093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1864;
show create table s;
Table Create Table
@@ -75101,7 +75101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1863;
show create table s;
Table Create Table
@@ -75109,7 +75109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1862;
show create table s;
Table Create Table
@@ -75117,7 +75117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1861;
show create table s;
Table Create Table
@@ -75125,7 +75125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1860;
show create table s;
Table Create Table
@@ -75133,7 +75133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1859;
show create table s;
Table Create Table
@@ -75141,7 +75141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1858;
show create table s;
Table Create Table
@@ -75149,7 +75149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1857;
show create table s;
Table Create Table
@@ -75157,7 +75157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1856;
show create table s;
Table Create Table
@@ -75165,7 +75165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1855;
show create table s;
Table Create Table
@@ -75173,7 +75173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1854;
show create table s;
Table Create Table
@@ -75181,7 +75181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1853;
show create table s;
Table Create Table
@@ -75189,7 +75189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1852;
show create table s;
Table Create Table
@@ -75197,7 +75197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1851;
show create table s;
Table Create Table
@@ -75205,7 +75205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1850;
show create table s;
Table Create Table
@@ -75213,7 +75213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1849;
show create table s;
Table Create Table
@@ -75221,7 +75221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1848;
show create table s;
Table Create Table
@@ -75229,7 +75229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1847;
show create table s;
Table Create Table
@@ -75237,7 +75237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1846;
show create table s;
Table Create Table
@@ -75245,7 +75245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1845;
show create table s;
Table Create Table
@@ -75253,7 +75253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1844;
show create table s;
Table Create Table
@@ -75261,7 +75261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1843;
show create table s;
Table Create Table
@@ -75269,7 +75269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1842;
show create table s;
Table Create Table
@@ -75277,7 +75277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1841;
show create table s;
Table Create Table
@@ -75285,7 +75285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1840;
show create table s;
Table Create Table
@@ -75293,7 +75293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1839;
show create table s;
Table Create Table
@@ -75301,7 +75301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1838;
show create table s;
Table Create Table
@@ -75309,7 +75309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1837;
show create table s;
Table Create Table
@@ -75317,7 +75317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1836;
show create table s;
Table Create Table
@@ -75325,7 +75325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1835;
show create table s;
Table Create Table
@@ -75333,7 +75333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1834;
show create table s;
Table Create Table
@@ -75341,7 +75341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1833;
show create table s;
Table Create Table
@@ -75349,7 +75349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1832;
show create table s;
Table Create Table
@@ -75357,7 +75357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1831;
show create table s;
Table Create Table
@@ -75365,7 +75365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1830;
show create table s;
Table Create Table
@@ -75373,7 +75373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1829;
show create table s;
Table Create Table
@@ -75381,7 +75381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1828;
show create table s;
Table Create Table
@@ -75389,7 +75389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1827;
show create table s;
Table Create Table
@@ -75397,7 +75397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1826;
show create table s;
Table Create Table
@@ -75405,7 +75405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1825;
show create table s;
Table Create Table
@@ -75413,7 +75413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1824;
show create table s;
Table Create Table
@@ -75421,7 +75421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1823;
show create table s;
Table Create Table
@@ -75429,7 +75429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1822;
show create table s;
Table Create Table
@@ -75437,7 +75437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1821;
show create table s;
Table Create Table
@@ -75445,7 +75445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1820;
show create table s;
Table Create Table
@@ -75453,7 +75453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1819;
show create table s;
Table Create Table
@@ -75461,7 +75461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1818;
show create table s;
Table Create Table
@@ -75469,7 +75469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1817;
show create table s;
Table Create Table
@@ -75477,7 +75477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1816;
show create table s;
Table Create Table
@@ -75485,7 +75485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1815;
show create table s;
Table Create Table
@@ -75493,7 +75493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1814;
show create table s;
Table Create Table
@@ -75501,7 +75501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1813;
show create table s;
Table Create Table
@@ -75509,7 +75509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1812;
show create table s;
Table Create Table
@@ -75517,7 +75517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1811;
show create table s;
Table Create Table
@@ -75525,7 +75525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1810;
show create table s;
Table Create Table
@@ -75533,7 +75533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1809;
show create table s;
Table Create Table
@@ -75541,7 +75541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1808;
show create table s;
Table Create Table
@@ -75549,7 +75549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1807;
show create table s;
Table Create Table
@@ -75557,7 +75557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1806;
show create table s;
Table Create Table
@@ -75565,7 +75565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1805;
show create table s;
Table Create Table
@@ -75573,7 +75573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1804;
show create table s;
Table Create Table
@@ -75581,7 +75581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1803;
show create table s;
Table Create Table
@@ -75589,7 +75589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1802;
show create table s;
Table Create Table
@@ -75597,7 +75597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1801;
show create table s;
Table Create Table
@@ -75605,7 +75605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1800;
show create table s;
Table Create Table
@@ -75613,7 +75613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1799;
show create table s;
Table Create Table
@@ -75621,7 +75621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1798;
show create table s;
Table Create Table
@@ -75629,7 +75629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1797;
show create table s;
Table Create Table
@@ -75637,7 +75637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1796;
show create table s;
Table Create Table
@@ -75645,7 +75645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1795;
show create table s;
Table Create Table
@@ -75653,7 +75653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1794;
show create table s;
Table Create Table
@@ -75661,7 +75661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1793;
show create table s;
Table Create Table
@@ -75669,7 +75669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1792;
show create table s;
Table Create Table
@@ -75677,7 +75677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1791;
show create table s;
Table Create Table
@@ -75685,7 +75685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1790;
show create table s;
Table Create Table
@@ -75693,7 +75693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1789;
show create table s;
Table Create Table
@@ -75701,7 +75701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1788;
show create table s;
Table Create Table
@@ -75709,7 +75709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1787;
show create table s;
Table Create Table
@@ -75717,7 +75717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1786;
show create table s;
Table Create Table
@@ -75725,7 +75725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1785;
show create table s;
Table Create Table
@@ -75733,7 +75733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1784;
show create table s;
Table Create Table
@@ -75741,7 +75741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1783;
show create table s;
Table Create Table
@@ -75749,7 +75749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1782;
show create table s;
Table Create Table
@@ -75757,7 +75757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1781;
show create table s;
Table Create Table
@@ -75765,7 +75765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1780;
show create table s;
Table Create Table
@@ -75773,7 +75773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1779;
show create table s;
Table Create Table
@@ -75781,7 +75781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1778;
show create table s;
Table Create Table
@@ -75789,7 +75789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1777;
show create table s;
Table Create Table
@@ -75797,7 +75797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1776;
show create table s;
Table Create Table
@@ -75805,7 +75805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1775;
show create table s;
Table Create Table
@@ -75813,7 +75813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1774;
show create table s;
Table Create Table
@@ -75821,7 +75821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1773;
show create table s;
Table Create Table
@@ -75829,7 +75829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1772;
show create table s;
Table Create Table
@@ -75837,7 +75837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1771;
show create table s;
Table Create Table
@@ -75845,7 +75845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1770;
show create table s;
Table Create Table
@@ -75853,7 +75853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1769;
show create table s;
Table Create Table
@@ -75861,7 +75861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1768;
show create table s;
Table Create Table
@@ -75869,7 +75869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1767;
show create table s;
Table Create Table
@@ -75877,7 +75877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1766;
show create table s;
Table Create Table
@@ -75885,7 +75885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1765;
show create table s;
Table Create Table
@@ -75893,7 +75893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1764;
show create table s;
Table Create Table
@@ -75901,7 +75901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1763;
show create table s;
Table Create Table
@@ -75909,7 +75909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1762;
show create table s;
Table Create Table
@@ -75917,7 +75917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1761;
show create table s;
Table Create Table
@@ -75925,7 +75925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1760;
show create table s;
Table Create Table
@@ -75933,7 +75933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1759;
show create table s;
Table Create Table
@@ -75941,7 +75941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1758;
show create table s;
Table Create Table
@@ -75949,7 +75949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1757;
show create table s;
Table Create Table
@@ -75957,7 +75957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1756;
show create table s;
Table Create Table
@@ -75965,7 +75965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1755;
show create table s;
Table Create Table
@@ -75973,7 +75973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1754;
show create table s;
Table Create Table
@@ -75981,7 +75981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1753;
show create table s;
Table Create Table
@@ -75989,7 +75989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1752;
show create table s;
Table Create Table
@@ -75997,7 +75997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1751;
show create table s;
Table Create Table
@@ -76005,7 +76005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1750;
show create table s;
Table Create Table
@@ -76013,7 +76013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1749;
show create table s;
Table Create Table
@@ -76021,7 +76021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1748;
show create table s;
Table Create Table
@@ -76029,7 +76029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1747;
show create table s;
Table Create Table
@@ -76037,7 +76037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1746;
show create table s;
Table Create Table
@@ -76045,7 +76045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1745;
show create table s;
Table Create Table
@@ -76053,7 +76053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1744;
show create table s;
Table Create Table
@@ -76061,7 +76061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1743;
show create table s;
Table Create Table
@@ -76069,7 +76069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1742;
show create table s;
Table Create Table
@@ -76077,7 +76077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1741;
show create table s;
Table Create Table
@@ -76085,7 +76085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1740;
show create table s;
Table Create Table
@@ -76093,7 +76093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1739;
show create table s;
Table Create Table
@@ -76101,7 +76101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1738;
show create table s;
Table Create Table
@@ -76109,7 +76109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1737;
show create table s;
Table Create Table
@@ -76117,7 +76117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1736;
show create table s;
Table Create Table
@@ -76125,7 +76125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1735;
show create table s;
Table Create Table
@@ -76133,7 +76133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1734;
show create table s;
Table Create Table
@@ -76141,7 +76141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1733;
show create table s;
Table Create Table
@@ -76149,7 +76149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1732;
show create table s;
Table Create Table
@@ -76157,7 +76157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1731;
show create table s;
Table Create Table
@@ -76165,7 +76165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1730;
show create table s;
Table Create Table
@@ -76173,7 +76173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1729;
show create table s;
Table Create Table
@@ -76181,7 +76181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1728;
show create table s;
Table Create Table
@@ -76189,7 +76189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1727;
show create table s;
Table Create Table
@@ -76197,7 +76197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1726;
show create table s;
Table Create Table
@@ -76205,7 +76205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1725;
show create table s;
Table Create Table
@@ -76213,7 +76213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1724;
show create table s;
Table Create Table
@@ -76221,7 +76221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1723;
show create table s;
Table Create Table
@@ -76229,7 +76229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1722;
show create table s;
Table Create Table
@@ -76237,7 +76237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1721;
show create table s;
Table Create Table
@@ -76245,7 +76245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1720;
show create table s;
Table Create Table
@@ -76253,7 +76253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1719;
show create table s;
Table Create Table
@@ -76261,7 +76261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1718;
show create table s;
Table Create Table
@@ -76269,7 +76269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1717;
show create table s;
Table Create Table
@@ -76277,7 +76277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1716;
show create table s;
Table Create Table
@@ -76285,7 +76285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1715;
show create table s;
Table Create Table
@@ -76293,7 +76293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1714;
show create table s;
Table Create Table
@@ -76301,7 +76301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1713;
show create table s;
Table Create Table
@@ -76309,7 +76309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1712;
show create table s;
Table Create Table
@@ -76317,7 +76317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1711;
show create table s;
Table Create Table
@@ -76325,7 +76325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1710;
show create table s;
Table Create Table
@@ -76333,7 +76333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1709;
show create table s;
Table Create Table
@@ -76341,7 +76341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1708;
show create table s;
Table Create Table
@@ -76349,7 +76349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1707;
show create table s;
Table Create Table
@@ -76357,7 +76357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1706;
show create table s;
Table Create Table
@@ -76365,7 +76365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1705;
show create table s;
Table Create Table
@@ -76373,7 +76373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1704;
show create table s;
Table Create Table
@@ -76381,7 +76381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1703;
show create table s;
Table Create Table
@@ -76389,7 +76389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1702;
show create table s;
Table Create Table
@@ -76397,7 +76397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1701;
show create table s;
Table Create Table
@@ -76405,7 +76405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1700;
show create table s;
Table Create Table
@@ -76413,7 +76413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1699;
show create table s;
Table Create Table
@@ -76421,7 +76421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1698;
show create table s;
Table Create Table
@@ -76429,7 +76429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1697;
show create table s;
Table Create Table
@@ -76437,7 +76437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1696;
show create table s;
Table Create Table
@@ -76445,7 +76445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1695;
show create table s;
Table Create Table
@@ -76453,7 +76453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1694;
show create table s;
Table Create Table
@@ -76461,7 +76461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1693;
show create table s;
Table Create Table
@@ -76469,7 +76469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1692;
show create table s;
Table Create Table
@@ -76477,7 +76477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1691;
show create table s;
Table Create Table
@@ -76485,7 +76485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1690;
show create table s;
Table Create Table
@@ -76493,7 +76493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1689;
show create table s;
Table Create Table
@@ -76501,7 +76501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1688;
show create table s;
Table Create Table
@@ -76509,7 +76509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1687;
show create table s;
Table Create Table
@@ -76517,7 +76517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1686;
show create table s;
Table Create Table
@@ -76525,7 +76525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1685;
show create table s;
Table Create Table
@@ -76533,7 +76533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1684;
show create table s;
Table Create Table
@@ -76541,7 +76541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1683;
show create table s;
Table Create Table
@@ -76549,7 +76549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1682;
show create table s;
Table Create Table
@@ -76557,7 +76557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1681;
show create table s;
Table Create Table
@@ -76565,7 +76565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1680;
show create table s;
Table Create Table
@@ -76573,7 +76573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1679;
show create table s;
Table Create Table
@@ -76581,7 +76581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1678;
show create table s;
Table Create Table
@@ -76589,7 +76589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1677;
show create table s;
Table Create Table
@@ -76597,7 +76597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1676;
show create table s;
Table Create Table
@@ -76605,7 +76605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1675;
show create table s;
Table Create Table
@@ -76613,7 +76613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1674;
show create table s;
Table Create Table
@@ -76621,7 +76621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1673;
show create table s;
Table Create Table
@@ -76629,7 +76629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1672;
show create table s;
Table Create Table
@@ -76637,7 +76637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1671;
show create table s;
Table Create Table
@@ -76645,7 +76645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1670;
show create table s;
Table Create Table
@@ -76653,7 +76653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1669;
show create table s;
Table Create Table
@@ -76661,7 +76661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1668;
show create table s;
Table Create Table
@@ -76669,7 +76669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1667;
show create table s;
Table Create Table
@@ -76677,7 +76677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1666;
show create table s;
Table Create Table
@@ -76685,7 +76685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1665;
show create table s;
Table Create Table
@@ -76693,7 +76693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1664;
show create table s;
Table Create Table
@@ -76701,7 +76701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1663;
show create table s;
Table Create Table
@@ -76709,7 +76709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1662;
show create table s;
Table Create Table
@@ -76717,7 +76717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1661;
show create table s;
Table Create Table
@@ -76725,7 +76725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1660;
show create table s;
Table Create Table
@@ -76733,7 +76733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1659;
show create table s;
Table Create Table
@@ -76741,7 +76741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1658;
show create table s;
Table Create Table
@@ -76749,7 +76749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1657;
show create table s;
Table Create Table
@@ -76757,7 +76757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1656;
show create table s;
Table Create Table
@@ -76765,7 +76765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1655;
show create table s;
Table Create Table
@@ -76773,7 +76773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1654;
show create table s;
Table Create Table
@@ -76781,7 +76781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1653;
show create table s;
Table Create Table
@@ -76789,7 +76789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1652;
show create table s;
Table Create Table
@@ -76797,7 +76797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1651;
show create table s;
Table Create Table
@@ -76805,7 +76805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1650;
show create table s;
Table Create Table
@@ -76813,7 +76813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1649;
show create table s;
Table Create Table
@@ -76821,7 +76821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1648;
show create table s;
Table Create Table
@@ -76829,7 +76829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1647;
show create table s;
Table Create Table
@@ -76837,7 +76837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1646;
show create table s;
Table Create Table
@@ -76845,7 +76845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1645;
show create table s;
Table Create Table
@@ -76853,7 +76853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1644;
show create table s;
Table Create Table
@@ -76861,7 +76861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1643;
show create table s;
Table Create Table
@@ -76869,7 +76869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1642;
show create table s;
Table Create Table
@@ -76877,7 +76877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1641;
show create table s;
Table Create Table
@@ -76885,7 +76885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1640;
show create table s;
Table Create Table
@@ -76893,7 +76893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1639;
show create table s;
Table Create Table
@@ -76901,7 +76901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1638;
show create table s;
Table Create Table
@@ -76909,7 +76909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1637;
show create table s;
Table Create Table
@@ -76917,7 +76917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1636;
show create table s;
Table Create Table
@@ -76925,7 +76925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1635;
show create table s;
Table Create Table
@@ -76933,7 +76933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1634;
show create table s;
Table Create Table
@@ -76941,7 +76941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1633;
show create table s;
Table Create Table
@@ -76949,7 +76949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1632;
show create table s;
Table Create Table
@@ -76957,7 +76957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1631;
show create table s;
Table Create Table
@@ -76965,7 +76965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1630;
show create table s;
Table Create Table
@@ -76973,7 +76973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1629;
show create table s;
Table Create Table
@@ -76981,7 +76981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1628;
show create table s;
Table Create Table
@@ -76989,7 +76989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1627;
show create table s;
Table Create Table
@@ -76997,7 +76997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1626;
show create table s;
Table Create Table
@@ -77005,7 +77005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1625;
show create table s;
Table Create Table
@@ -77013,7 +77013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1624;
show create table s;
Table Create Table
@@ -77021,7 +77021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1623;
show create table s;
Table Create Table
@@ -77029,7 +77029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1622;
show create table s;
Table Create Table
@@ -77037,7 +77037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1621;
show create table s;
Table Create Table
@@ -77045,7 +77045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1620;
show create table s;
Table Create Table
@@ -77053,7 +77053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1619;
show create table s;
Table Create Table
@@ -77061,7 +77061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1618;
show create table s;
Table Create Table
@@ -77069,7 +77069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1617;
show create table s;
Table Create Table
@@ -77077,7 +77077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1616;
show create table s;
Table Create Table
@@ -77085,7 +77085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1615;
show create table s;
Table Create Table
@@ -77093,7 +77093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1614;
show create table s;
Table Create Table
@@ -77101,7 +77101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1613;
show create table s;
Table Create Table
@@ -77109,7 +77109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1612;
show create table s;
Table Create Table
@@ -77117,7 +77117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1611;
show create table s;
Table Create Table
@@ -77125,7 +77125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1610;
show create table s;
Table Create Table
@@ -77133,7 +77133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1609;
show create table s;
Table Create Table
@@ -77141,7 +77141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1608;
show create table s;
Table Create Table
@@ -77149,7 +77149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1607;
show create table s;
Table Create Table
@@ -77157,7 +77157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1606;
show create table s;
Table Create Table
@@ -77165,7 +77165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1605;
show create table s;
Table Create Table
@@ -77173,7 +77173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1604;
show create table s;
Table Create Table
@@ -77181,7 +77181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1603;
show create table s;
Table Create Table
@@ -77189,7 +77189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1602;
show create table s;
Table Create Table
@@ -77197,7 +77197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1601;
show create table s;
Table Create Table
@@ -77205,7 +77205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1600;
show create table s;
Table Create Table
@@ -77213,7 +77213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1599;
show create table s;
Table Create Table
@@ -77221,7 +77221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1598;
show create table s;
Table Create Table
@@ -77229,7 +77229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1597;
show create table s;
Table Create Table
@@ -77237,7 +77237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1596;
show create table s;
Table Create Table
@@ -77245,7 +77245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1595;
show create table s;
Table Create Table
@@ -77253,7 +77253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1594;
show create table s;
Table Create Table
@@ -77261,7 +77261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1593;
show create table s;
Table Create Table
@@ -77269,7 +77269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1592;
show create table s;
Table Create Table
@@ -77277,7 +77277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1591;
show create table s;
Table Create Table
@@ -77285,7 +77285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1590;
show create table s;
Table Create Table
@@ -77293,7 +77293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1589;
show create table s;
Table Create Table
@@ -77301,7 +77301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1588;
show create table s;
Table Create Table
@@ -77309,7 +77309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1587;
show create table s;
Table Create Table
@@ -77317,7 +77317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1586;
show create table s;
Table Create Table
@@ -77325,7 +77325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1585;
show create table s;
Table Create Table
@@ -77333,7 +77333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1584;
show create table s;
Table Create Table
@@ -77341,7 +77341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1583;
show create table s;
Table Create Table
@@ -77349,7 +77349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1582;
show create table s;
Table Create Table
@@ -77357,7 +77357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1581;
show create table s;
Table Create Table
@@ -77365,7 +77365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1580;
show create table s;
Table Create Table
@@ -77373,7 +77373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1579;
show create table s;
Table Create Table
@@ -77381,7 +77381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1578;
show create table s;
Table Create Table
@@ -77389,7 +77389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1577;
show create table s;
Table Create Table
@@ -77397,7 +77397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1576;
show create table s;
Table Create Table
@@ -77405,7 +77405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1575;
show create table s;
Table Create Table
@@ -77413,7 +77413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1574;
show create table s;
Table Create Table
@@ -77421,7 +77421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1573;
show create table s;
Table Create Table
@@ -77429,7 +77429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1572;
show create table s;
Table Create Table
@@ -77437,7 +77437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1571;
show create table s;
Table Create Table
@@ -77445,7 +77445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1570;
show create table s;
Table Create Table
@@ -77453,7 +77453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1569;
show create table s;
Table Create Table
@@ -77461,7 +77461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1568;
show create table s;
Table Create Table
@@ -77469,7 +77469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1567;
show create table s;
Table Create Table
@@ -77477,7 +77477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1566;
show create table s;
Table Create Table
@@ -77485,7 +77485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1565;
show create table s;
Table Create Table
@@ -77493,7 +77493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1564;
show create table s;
Table Create Table
@@ -77501,7 +77501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1563;
show create table s;
Table Create Table
@@ -77509,7 +77509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1562;
show create table s;
Table Create Table
@@ -77517,7 +77517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1561;
show create table s;
Table Create Table
@@ -77525,7 +77525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1560;
show create table s;
Table Create Table
@@ -77533,7 +77533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1559;
show create table s;
Table Create Table
@@ -77541,7 +77541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1558;
show create table s;
Table Create Table
@@ -77549,7 +77549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1557;
show create table s;
Table Create Table
@@ -77557,7 +77557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1556;
show create table s;
Table Create Table
@@ -77565,7 +77565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1555;
show create table s;
Table Create Table
@@ -77573,7 +77573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1554;
show create table s;
Table Create Table
@@ -77581,7 +77581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1553;
show create table s;
Table Create Table
@@ -77589,7 +77589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1552;
show create table s;
Table Create Table
@@ -77597,7 +77597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1551;
show create table s;
Table Create Table
@@ -77605,7 +77605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1550;
show create table s;
Table Create Table
@@ -77613,7 +77613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1549;
show create table s;
Table Create Table
@@ -77621,7 +77621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1548;
show create table s;
Table Create Table
@@ -77629,7 +77629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1547;
show create table s;
Table Create Table
@@ -77637,7 +77637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1546;
show create table s;
Table Create Table
@@ -77645,7 +77645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1545;
show create table s;
Table Create Table
@@ -77653,7 +77653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1544;
show create table s;
Table Create Table
@@ -77661,7 +77661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1543;
show create table s;
Table Create Table
@@ -77669,7 +77669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1542;
show create table s;
Table Create Table
@@ -77677,7 +77677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1541;
show create table s;
Table Create Table
@@ -77685,7 +77685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1540;
show create table s;
Table Create Table
@@ -77693,7 +77693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1539;
show create table s;
Table Create Table
@@ -77701,7 +77701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1538;
show create table s;
Table Create Table
@@ -77709,7 +77709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1537;
show create table s;
Table Create Table
@@ -77717,7 +77717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1536;
show create table s;
Table Create Table
@@ -77725,7 +77725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1535;
show create table s;
Table Create Table
@@ -77733,7 +77733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1534;
show create table s;
Table Create Table
@@ -77741,7 +77741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1533;
show create table s;
Table Create Table
@@ -77749,7 +77749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1532;
show create table s;
Table Create Table
@@ -77757,7 +77757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1531;
show create table s;
Table Create Table
@@ -77765,7 +77765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1530;
show create table s;
Table Create Table
@@ -77773,7 +77773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1529;
show create table s;
Table Create Table
@@ -77781,7 +77781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1528;
show create table s;
Table Create Table
@@ -77789,7 +77789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1527;
show create table s;
Table Create Table
@@ -77797,7 +77797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1526;
show create table s;
Table Create Table
@@ -77805,7 +77805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1525;
show create table s;
Table Create Table
@@ -77813,7 +77813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1524;
show create table s;
Table Create Table
@@ -77821,7 +77821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1523;
show create table s;
Table Create Table
@@ -77829,7 +77829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1522;
show create table s;
Table Create Table
@@ -77837,7 +77837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1521;
show create table s;
Table Create Table
@@ -77845,7 +77845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1520;
show create table s;
Table Create Table
@@ -77853,7 +77853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1519;
show create table s;
Table Create Table
@@ -77861,7 +77861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1518;
show create table s;
Table Create Table
@@ -77869,7 +77869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1517;
show create table s;
Table Create Table
@@ -77877,7 +77877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1516;
show create table s;
Table Create Table
@@ -77885,7 +77885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1515;
show create table s;
Table Create Table
@@ -77893,7 +77893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1514;
show create table s;
Table Create Table
@@ -77901,7 +77901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1513;
show create table s;
Table Create Table
@@ -77909,7 +77909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1512;
show create table s;
Table Create Table
@@ -77917,7 +77917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1511;
show create table s;
Table Create Table
@@ -77925,7 +77925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1510;
show create table s;
Table Create Table
@@ -77933,7 +77933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1509;
show create table s;
Table Create Table
@@ -77941,7 +77941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1508;
show create table s;
Table Create Table
@@ -77949,7 +77949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1507;
show create table s;
Table Create Table
@@ -77957,7 +77957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1506;
show create table s;
Table Create Table
@@ -77965,7 +77965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1505;
show create table s;
Table Create Table
@@ -77973,7 +77973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1504;
show create table s;
Table Create Table
@@ -77981,7 +77981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1503;
show create table s;
Table Create Table
@@ -77989,7 +77989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1502;
show create table s;
Table Create Table
@@ -77997,7 +77997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1501;
show create table s;
Table Create Table
@@ -78005,7 +78005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1500;
show create table s;
Table Create Table
@@ -78013,7 +78013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1499;
show create table s;
Table Create Table
@@ -78021,7 +78021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1498;
show create table s;
Table Create Table
@@ -78029,7 +78029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1497;
show create table s;
Table Create Table
@@ -78037,7 +78037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1496;
show create table s;
Table Create Table
@@ -78045,7 +78045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1495;
show create table s;
Table Create Table
@@ -78053,7 +78053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1494;
show create table s;
Table Create Table
@@ -78061,7 +78061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1493;
show create table s;
Table Create Table
@@ -78069,7 +78069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1492;
show create table s;
Table Create Table
@@ -78077,7 +78077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1491;
show create table s;
Table Create Table
@@ -78085,7 +78085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1490;
show create table s;
Table Create Table
@@ -78093,7 +78093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1489;
show create table s;
Table Create Table
@@ -78101,7 +78101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1488;
show create table s;
Table Create Table
@@ -78109,7 +78109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1487;
show create table s;
Table Create Table
@@ -78117,7 +78117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1486;
show create table s;
Table Create Table
@@ -78125,7 +78125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1485;
show create table s;
Table Create Table
@@ -78133,7 +78133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1484;
show create table s;
Table Create Table
@@ -78141,7 +78141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1483;
show create table s;
Table Create Table
@@ -78149,7 +78149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1482;
show create table s;
Table Create Table
@@ -78157,7 +78157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1481;
show create table s;
Table Create Table
@@ -78165,7 +78165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1480;
show create table s;
Table Create Table
@@ -78173,7 +78173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1479;
show create table s;
Table Create Table
@@ -78181,7 +78181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1478;
show create table s;
Table Create Table
@@ -78189,7 +78189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1477;
show create table s;
Table Create Table
@@ -78197,7 +78197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1476;
show create table s;
Table Create Table
@@ -78205,7 +78205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1475;
show create table s;
Table Create Table
@@ -78213,7 +78213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1474;
show create table s;
Table Create Table
@@ -78221,7 +78221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1473;
show create table s;
Table Create Table
@@ -78229,7 +78229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1472;
show create table s;
Table Create Table
@@ -78237,7 +78237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1471;
show create table s;
Table Create Table
@@ -78245,7 +78245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1470;
show create table s;
Table Create Table
@@ -78253,7 +78253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1469;
show create table s;
Table Create Table
@@ -78261,7 +78261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1468;
show create table s;
Table Create Table
@@ -78269,7 +78269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1467;
show create table s;
Table Create Table
@@ -78277,7 +78277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1466;
show create table s;
Table Create Table
@@ -78285,7 +78285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1465;
show create table s;
Table Create Table
@@ -78293,7 +78293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1464;
show create table s;
Table Create Table
@@ -78301,7 +78301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1463;
show create table s;
Table Create Table
@@ -78309,7 +78309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1462;
show create table s;
Table Create Table
@@ -78317,7 +78317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1461;
show create table s;
Table Create Table
@@ -78325,7 +78325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1460;
show create table s;
Table Create Table
@@ -78333,7 +78333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1459;
show create table s;
Table Create Table
@@ -78341,7 +78341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1458;
show create table s;
Table Create Table
@@ -78349,7 +78349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1457;
show create table s;
Table Create Table
@@ -78357,7 +78357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1456;
show create table s;
Table Create Table
@@ -78365,7 +78365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1455;
show create table s;
Table Create Table
@@ -78373,7 +78373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1454;
show create table s;
Table Create Table
@@ -78381,7 +78381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1453;
show create table s;
Table Create Table
@@ -78389,7 +78389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1452;
show create table s;
Table Create Table
@@ -78397,7 +78397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1451;
show create table s;
Table Create Table
@@ -78405,7 +78405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1450;
show create table s;
Table Create Table
@@ -78413,7 +78413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1449;
show create table s;
Table Create Table
@@ -78421,7 +78421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1448;
show create table s;
Table Create Table
@@ -78429,7 +78429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1447;
show create table s;
Table Create Table
@@ -78437,7 +78437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1446;
show create table s;
Table Create Table
@@ -78445,7 +78445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1445;
show create table s;
Table Create Table
@@ -78453,7 +78453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1444;
show create table s;
Table Create Table
@@ -78461,7 +78461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1443;
show create table s;
Table Create Table
@@ -78469,7 +78469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1442;
show create table s;
Table Create Table
@@ -78477,7 +78477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1441;
show create table s;
Table Create Table
@@ -78485,7 +78485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1440;
show create table s;
Table Create Table
@@ -78493,7 +78493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1439;
show create table s;
Table Create Table
@@ -78501,7 +78501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1438;
show create table s;
Table Create Table
@@ -78509,7 +78509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1437;
show create table s;
Table Create Table
@@ -78517,7 +78517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1436;
show create table s;
Table Create Table
@@ -78525,7 +78525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1435;
show create table s;
Table Create Table
@@ -78533,7 +78533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1434;
show create table s;
Table Create Table
@@ -78541,7 +78541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1433;
show create table s;
Table Create Table
@@ -78549,7 +78549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1432;
show create table s;
Table Create Table
@@ -78557,7 +78557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1431;
show create table s;
Table Create Table
@@ -78565,7 +78565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1430;
show create table s;
Table Create Table
@@ -78573,7 +78573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1429;
show create table s;
Table Create Table
@@ -78581,7 +78581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1428;
show create table s;
Table Create Table
@@ -78589,7 +78589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1427;
show create table s;
Table Create Table
@@ -78597,7 +78597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1426;
show create table s;
Table Create Table
@@ -78605,7 +78605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1425;
show create table s;
Table Create Table
@@ -78613,7 +78613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1424;
show create table s;
Table Create Table
@@ -78621,7 +78621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1423;
show create table s;
Table Create Table
@@ -78629,7 +78629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1422;
show create table s;
Table Create Table
@@ -78637,7 +78637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1421;
show create table s;
Table Create Table
@@ -78645,7 +78645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1420;
show create table s;
Table Create Table
@@ -78653,7 +78653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1419;
show create table s;
Table Create Table
@@ -78661,7 +78661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1418;
show create table s;
Table Create Table
@@ -78669,7 +78669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1417;
show create table s;
Table Create Table
@@ -78677,7 +78677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1416;
show create table s;
Table Create Table
@@ -78685,7 +78685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1415;
show create table s;
Table Create Table
@@ -78693,7 +78693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1414;
show create table s;
Table Create Table
@@ -78701,7 +78701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1413;
show create table s;
Table Create Table
@@ -78709,7 +78709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1412;
show create table s;
Table Create Table
@@ -78717,7 +78717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1411;
show create table s;
Table Create Table
@@ -78725,7 +78725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1410;
show create table s;
Table Create Table
@@ -78733,7 +78733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1409;
show create table s;
Table Create Table
@@ -78741,7 +78741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1408;
show create table s;
Table Create Table
@@ -78749,7 +78749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1407;
show create table s;
Table Create Table
@@ -78757,7 +78757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1406;
show create table s;
Table Create Table
@@ -78765,7 +78765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1405;
show create table s;
Table Create Table
@@ -78773,7 +78773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1404;
show create table s;
Table Create Table
@@ -78781,7 +78781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1403;
show create table s;
Table Create Table
@@ -78789,7 +78789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1402;
show create table s;
Table Create Table
@@ -78797,7 +78797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1401;
show create table s;
Table Create Table
@@ -78805,7 +78805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1400;
show create table s;
Table Create Table
@@ -78813,7 +78813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1399;
show create table s;
Table Create Table
@@ -78821,7 +78821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1398;
show create table s;
Table Create Table
@@ -78829,7 +78829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1397;
show create table s;
Table Create Table
@@ -78837,7 +78837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1396;
show create table s;
Table Create Table
@@ -78845,7 +78845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1395;
show create table s;
Table Create Table
@@ -78853,7 +78853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1394;
show create table s;
Table Create Table
@@ -78861,7 +78861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1393;
show create table s;
Table Create Table
@@ -78869,7 +78869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1392;
show create table s;
Table Create Table
@@ -78877,7 +78877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1391;
show create table s;
Table Create Table
@@ -78885,7 +78885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1390;
show create table s;
Table Create Table
@@ -78893,7 +78893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1389;
show create table s;
Table Create Table
@@ -78901,7 +78901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1388;
show create table s;
Table Create Table
@@ -78909,7 +78909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1387;
show create table s;
Table Create Table
@@ -78917,7 +78917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1386;
show create table s;
Table Create Table
@@ -78925,7 +78925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1385;
show create table s;
Table Create Table
@@ -78933,7 +78933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1384;
show create table s;
Table Create Table
@@ -78941,7 +78941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1383;
show create table s;
Table Create Table
@@ -78949,7 +78949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1382;
show create table s;
Table Create Table
@@ -78957,7 +78957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1381;
show create table s;
Table Create Table
@@ -78965,7 +78965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1380;
show create table s;
Table Create Table
@@ -78973,7 +78973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1379;
show create table s;
Table Create Table
@@ -78981,7 +78981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1378;
show create table s;
Table Create Table
@@ -78989,7 +78989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1377;
show create table s;
Table Create Table
@@ -78997,7 +78997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1376;
show create table s;
Table Create Table
@@ -79005,7 +79005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1375;
show create table s;
Table Create Table
@@ -79013,7 +79013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1374;
show create table s;
Table Create Table
@@ -79021,7 +79021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1373;
show create table s;
Table Create Table
@@ -79029,7 +79029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1372;
show create table s;
Table Create Table
@@ -79037,7 +79037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1371;
show create table s;
Table Create Table
@@ -79045,7 +79045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1370;
show create table s;
Table Create Table
@@ -79053,7 +79053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1369;
show create table s;
Table Create Table
@@ -79061,7 +79061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1368;
show create table s;
Table Create Table
@@ -79069,7 +79069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1367;
show create table s;
Table Create Table
@@ -79077,7 +79077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1366;
show create table s;
Table Create Table
@@ -79085,7 +79085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1365;
show create table s;
Table Create Table
@@ -79093,7 +79093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1364;
show create table s;
Table Create Table
@@ -79101,7 +79101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1363;
show create table s;
Table Create Table
@@ -79109,7 +79109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1362;
show create table s;
Table Create Table
@@ -79117,7 +79117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1361;
show create table s;
Table Create Table
@@ -79125,7 +79125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1360;
show create table s;
Table Create Table
@@ -79133,7 +79133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1359;
show create table s;
Table Create Table
@@ -79141,7 +79141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1358;
show create table s;
Table Create Table
@@ -79149,7 +79149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1357;
show create table s;
Table Create Table
@@ -79157,7 +79157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1356;
show create table s;
Table Create Table
@@ -79165,7 +79165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1355;
show create table s;
Table Create Table
@@ -79173,7 +79173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1354;
show create table s;
Table Create Table
@@ -79181,7 +79181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1353;
show create table s;
Table Create Table
@@ -79189,7 +79189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1352;
show create table s;
Table Create Table
@@ -79197,7 +79197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1351;
show create table s;
Table Create Table
@@ -79205,7 +79205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1350;
show create table s;
Table Create Table
@@ -79213,7 +79213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1349;
show create table s;
Table Create Table
@@ -79221,7 +79221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1348;
show create table s;
Table Create Table
@@ -79229,7 +79229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1347;
show create table s;
Table Create Table
@@ -79237,7 +79237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1346;
show create table s;
Table Create Table
@@ -79245,7 +79245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1345;
show create table s;
Table Create Table
@@ -79253,7 +79253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1344;
show create table s;
Table Create Table
@@ -79261,7 +79261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1343;
show create table s;
Table Create Table
@@ -79269,7 +79269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1342;
show create table s;
Table Create Table
@@ -79277,7 +79277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1341;
show create table s;
Table Create Table
@@ -79285,7 +79285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1340;
show create table s;
Table Create Table
@@ -79293,7 +79293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1339;
show create table s;
Table Create Table
@@ -79301,7 +79301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1338;
show create table s;
Table Create Table
@@ -79309,7 +79309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1337;
show create table s;
Table Create Table
@@ -79317,7 +79317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1336;
show create table s;
Table Create Table
@@ -79325,7 +79325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1335;
show create table s;
Table Create Table
@@ -79333,7 +79333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1334;
show create table s;
Table Create Table
@@ -79341,7 +79341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1333;
show create table s;
Table Create Table
@@ -79349,7 +79349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1332;
show create table s;
Table Create Table
@@ -79357,7 +79357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1331;
show create table s;
Table Create Table
@@ -79365,7 +79365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1330;
show create table s;
Table Create Table
@@ -79373,7 +79373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1329;
show create table s;
Table Create Table
@@ -79381,7 +79381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1328;
show create table s;
Table Create Table
@@ -79389,7 +79389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1327;
show create table s;
Table Create Table
@@ -79397,7 +79397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1326;
show create table s;
Table Create Table
@@ -79405,7 +79405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1325;
show create table s;
Table Create Table
@@ -79413,7 +79413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1324;
show create table s;
Table Create Table
@@ -79421,7 +79421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1323;
show create table s;
Table Create Table
@@ -79429,7 +79429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1322;
show create table s;
Table Create Table
@@ -79437,7 +79437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1321;
show create table s;
Table Create Table
@@ -79445,7 +79445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1320;
show create table s;
Table Create Table
@@ -79453,7 +79453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1319;
show create table s;
Table Create Table
@@ -79461,7 +79461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1318;
show create table s;
Table Create Table
@@ -79469,7 +79469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1317;
show create table s;
Table Create Table
@@ -79477,7 +79477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1316;
show create table s;
Table Create Table
@@ -79485,7 +79485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1315;
show create table s;
Table Create Table
@@ -79493,7 +79493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1314;
show create table s;
Table Create Table
@@ -79501,7 +79501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1313;
show create table s;
Table Create Table
@@ -79509,7 +79509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1312;
show create table s;
Table Create Table
@@ -79517,7 +79517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1311;
show create table s;
Table Create Table
@@ -79525,7 +79525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1310;
show create table s;
Table Create Table
@@ -79533,7 +79533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1309;
show create table s;
Table Create Table
@@ -79541,7 +79541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1308;
show create table s;
Table Create Table
@@ -79549,7 +79549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1307;
show create table s;
Table Create Table
@@ -79557,7 +79557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1306;
show create table s;
Table Create Table
@@ -79565,7 +79565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1305;
show create table s;
Table Create Table
@@ -79573,7 +79573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1304;
show create table s;
Table Create Table
@@ -79581,7 +79581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1303;
show create table s;
Table Create Table
@@ -79589,7 +79589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1302;
show create table s;
Table Create Table
@@ -79597,7 +79597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1301;
show create table s;
Table Create Table
@@ -79605,7 +79605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1300;
show create table s;
Table Create Table
@@ -79613,7 +79613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1299;
show create table s;
Table Create Table
@@ -79621,7 +79621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1298;
show create table s;
Table Create Table
@@ -79629,7 +79629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1297;
show create table s;
Table Create Table
@@ -79637,7 +79637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1296;
show create table s;
Table Create Table
@@ -79645,7 +79645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1295;
show create table s;
Table Create Table
@@ -79653,7 +79653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1294;
show create table s;
Table Create Table
@@ -79661,7 +79661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1293;
show create table s;
Table Create Table
@@ -79669,7 +79669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1292;
show create table s;
Table Create Table
@@ -79677,7 +79677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1291;
show create table s;
Table Create Table
@@ -79685,7 +79685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1290;
show create table s;
Table Create Table
@@ -79693,7 +79693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1289;
show create table s;
Table Create Table
@@ -79701,7 +79701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1288;
show create table s;
Table Create Table
@@ -79709,7 +79709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1287;
show create table s;
Table Create Table
@@ -79717,7 +79717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1286;
show create table s;
Table Create Table
@@ -79725,7 +79725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1285;
show create table s;
Table Create Table
@@ -79733,7 +79733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1284;
show create table s;
Table Create Table
@@ -79741,7 +79741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1283;
show create table s;
Table Create Table
@@ -79749,7 +79749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1282;
show create table s;
Table Create Table
@@ -79757,7 +79757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1281;
show create table s;
Table Create Table
@@ -79765,7 +79765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1280;
show create table s;
Table Create Table
@@ -79773,7 +79773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1279;
show create table s;
Table Create Table
@@ -79781,7 +79781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1278;
show create table s;
Table Create Table
@@ -79789,7 +79789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1277;
show create table s;
Table Create Table
@@ -79797,7 +79797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1276;
show create table s;
Table Create Table
@@ -79805,7 +79805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1275;
show create table s;
Table Create Table
@@ -79813,7 +79813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1274;
show create table s;
Table Create Table
@@ -79821,7 +79821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1273;
show create table s;
Table Create Table
@@ -79829,7 +79829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1272;
show create table s;
Table Create Table
@@ -79837,7 +79837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1271;
show create table s;
Table Create Table
@@ -79845,7 +79845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1270;
show create table s;
Table Create Table
@@ -79853,7 +79853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1269;
show create table s;
Table Create Table
@@ -79861,7 +79861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1268;
show create table s;
Table Create Table
@@ -79869,7 +79869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1267;
show create table s;
Table Create Table
@@ -79877,7 +79877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1266;
show create table s;
Table Create Table
@@ -79885,7 +79885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1265;
show create table s;
Table Create Table
@@ -79893,7 +79893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1264;
show create table s;
Table Create Table
@@ -79901,7 +79901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1263;
show create table s;
Table Create Table
@@ -79909,7 +79909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1262;
show create table s;
Table Create Table
@@ -79917,7 +79917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1261;
show create table s;
Table Create Table
@@ -79925,7 +79925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1260;
show create table s;
Table Create Table
@@ -79933,7 +79933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1259;
show create table s;
Table Create Table
@@ -79941,7 +79941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1258;
show create table s;
Table Create Table
@@ -79949,7 +79949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1257;
show create table s;
Table Create Table
@@ -79957,7 +79957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1256;
show create table s;
Table Create Table
@@ -79965,7 +79965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1255;
show create table s;
Table Create Table
@@ -79973,7 +79973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1254;
show create table s;
Table Create Table
@@ -79981,7 +79981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1253;
show create table s;
Table Create Table
@@ -79989,7 +79989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1252;
show create table s;
Table Create Table
@@ -79997,7 +79997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1251;
show create table s;
Table Create Table
@@ -80005,7 +80005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1250;
show create table s;
Table Create Table
@@ -80013,7 +80013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1249;
show create table s;
Table Create Table
@@ -80021,7 +80021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1248;
show create table s;
Table Create Table
@@ -80029,7 +80029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1247;
show create table s;
Table Create Table
@@ -80037,7 +80037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1246;
show create table s;
Table Create Table
@@ -80045,7 +80045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1245;
show create table s;
Table Create Table
@@ -80053,7 +80053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1244;
show create table s;
Table Create Table
@@ -80061,7 +80061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1243;
show create table s;
Table Create Table
@@ -80069,7 +80069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1242;
show create table s;
Table Create Table
@@ -80077,7 +80077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1241;
show create table s;
Table Create Table
@@ -80085,7 +80085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1240;
show create table s;
Table Create Table
@@ -80093,7 +80093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1239;
show create table s;
Table Create Table
@@ -80101,7 +80101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1238;
show create table s;
Table Create Table
@@ -80109,7 +80109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1237;
show create table s;
Table Create Table
@@ -80117,7 +80117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1236;
show create table s;
Table Create Table
@@ -80125,7 +80125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1235;
show create table s;
Table Create Table
@@ -80133,7 +80133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1234;
show create table s;
Table Create Table
@@ -80141,7 +80141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1233;
show create table s;
Table Create Table
@@ -80149,7 +80149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1232;
show create table s;
Table Create Table
@@ -80157,7 +80157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1231;
show create table s;
Table Create Table
@@ -80165,7 +80165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1230;
show create table s;
Table Create Table
@@ -80173,7 +80173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1229;
show create table s;
Table Create Table
@@ -80181,7 +80181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1228;
show create table s;
Table Create Table
@@ -80189,7 +80189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1227;
show create table s;
Table Create Table
@@ -80197,7 +80197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1226;
show create table s;
Table Create Table
@@ -80205,7 +80205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1225;
show create table s;
Table Create Table
@@ -80213,7 +80213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1224;
show create table s;
Table Create Table
@@ -80221,7 +80221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1223;
show create table s;
Table Create Table
@@ -80229,7 +80229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1222;
show create table s;
Table Create Table
@@ -80237,7 +80237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1221;
show create table s;
Table Create Table
@@ -80245,7 +80245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1220;
show create table s;
Table Create Table
@@ -80253,7 +80253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1219;
show create table s;
Table Create Table
@@ -80261,7 +80261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1218;
show create table s;
Table Create Table
@@ -80269,7 +80269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1217;
show create table s;
Table Create Table
@@ -80277,7 +80277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1216;
show create table s;
Table Create Table
@@ -80285,7 +80285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1215;
show create table s;
Table Create Table
@@ -80293,7 +80293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1214;
show create table s;
Table Create Table
@@ -80301,7 +80301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1213;
show create table s;
Table Create Table
@@ -80309,7 +80309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1212;
show create table s;
Table Create Table
@@ -80317,7 +80317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1211;
show create table s;
Table Create Table
@@ -80325,7 +80325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1210;
show create table s;
Table Create Table
@@ -80333,7 +80333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1209;
show create table s;
Table Create Table
@@ -80341,7 +80341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1208;
show create table s;
Table Create Table
@@ -80349,7 +80349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1207;
show create table s;
Table Create Table
@@ -80357,7 +80357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1206;
show create table s;
Table Create Table
@@ -80365,7 +80365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1205;
show create table s;
Table Create Table
@@ -80373,7 +80373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1204;
show create table s;
Table Create Table
@@ -80381,7 +80381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1203;
show create table s;
Table Create Table
@@ -80389,7 +80389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1202;
show create table s;
Table Create Table
@@ -80397,7 +80397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1201;
show create table s;
Table Create Table
@@ -80405,7 +80405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1200;
show create table s;
Table Create Table
@@ -80413,7 +80413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1199;
show create table s;
Table Create Table
@@ -80421,7 +80421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1198;
show create table s;
Table Create Table
@@ -80429,7 +80429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1197;
show create table s;
Table Create Table
@@ -80437,7 +80437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1196;
show create table s;
Table Create Table
@@ -80445,7 +80445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1195;
show create table s;
Table Create Table
@@ -80453,7 +80453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1194;
show create table s;
Table Create Table
@@ -80461,7 +80461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1193;
show create table s;
Table Create Table
@@ -80469,7 +80469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1192;
show create table s;
Table Create Table
@@ -80477,7 +80477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1191;
show create table s;
Table Create Table
@@ -80485,7 +80485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1190;
show create table s;
Table Create Table
@@ -80493,7 +80493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1189;
show create table s;
Table Create Table
@@ -80501,7 +80501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1188;
show create table s;
Table Create Table
@@ -80509,7 +80509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1187;
show create table s;
Table Create Table
@@ -80517,7 +80517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1186;
show create table s;
Table Create Table
@@ -80525,7 +80525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1185;
show create table s;
Table Create Table
@@ -80533,7 +80533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1184;
show create table s;
Table Create Table
@@ -80541,7 +80541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1183;
show create table s;
Table Create Table
@@ -80549,7 +80549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1182;
show create table s;
Table Create Table
@@ -80557,7 +80557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1181;
show create table s;
Table Create Table
@@ -80565,7 +80565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1180;
show create table s;
Table Create Table
@@ -80573,7 +80573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1179;
show create table s;
Table Create Table
@@ -80581,7 +80581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1178;
show create table s;
Table Create Table
@@ -80589,7 +80589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1177;
show create table s;
Table Create Table
@@ -80597,7 +80597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1176;
show create table s;
Table Create Table
@@ -80605,7 +80605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1175;
show create table s;
Table Create Table
@@ -80613,7 +80613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1174;
show create table s;
Table Create Table
@@ -80621,7 +80621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1173;
show create table s;
Table Create Table
@@ -80629,7 +80629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1172;
show create table s;
Table Create Table
@@ -80637,7 +80637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1171;
show create table s;
Table Create Table
@@ -80645,7 +80645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1170;
show create table s;
Table Create Table
@@ -80653,7 +80653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1169;
show create table s;
Table Create Table
@@ -80661,7 +80661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1168;
show create table s;
Table Create Table
@@ -80669,7 +80669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1167;
show create table s;
Table Create Table
@@ -80677,7 +80677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1166;
show create table s;
Table Create Table
@@ -80685,7 +80685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1165;
show create table s;
Table Create Table
@@ -80693,7 +80693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1164;
show create table s;
Table Create Table
@@ -80701,7 +80701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1163;
show create table s;
Table Create Table
@@ -80709,7 +80709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1162;
show create table s;
Table Create Table
@@ -80717,7 +80717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1161;
show create table s;
Table Create Table
@@ -80725,7 +80725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1160;
show create table s;
Table Create Table
@@ -80733,7 +80733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1159;
show create table s;
Table Create Table
@@ -80741,7 +80741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1158;
show create table s;
Table Create Table
@@ -80749,7 +80749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1157;
show create table s;
Table Create Table
@@ -80757,7 +80757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1156;
show create table s;
Table Create Table
@@ -80765,7 +80765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1155;
show create table s;
Table Create Table
@@ -80773,7 +80773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1154;
show create table s;
Table Create Table
@@ -80781,7 +80781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1153;
show create table s;
Table Create Table
@@ -80789,7 +80789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1152;
show create table s;
Table Create Table
@@ -80797,7 +80797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1151;
show create table s;
Table Create Table
@@ -80805,7 +80805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1150;
show create table s;
Table Create Table
@@ -80813,7 +80813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1149;
show create table s;
Table Create Table
@@ -80821,7 +80821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1148;
show create table s;
Table Create Table
@@ -80829,7 +80829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1147;
show create table s;
Table Create Table
@@ -80837,7 +80837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1146;
show create table s;
Table Create Table
@@ -80845,7 +80845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1145;
show create table s;
Table Create Table
@@ -80853,7 +80853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1144;
show create table s;
Table Create Table
@@ -80861,7 +80861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1143;
show create table s;
Table Create Table
@@ -80869,7 +80869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1142;
show create table s;
Table Create Table
@@ -80877,7 +80877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1141;
show create table s;
Table Create Table
@@ -80885,7 +80885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1140;
show create table s;
Table Create Table
@@ -80893,7 +80893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1139;
show create table s;
Table Create Table
@@ -80901,7 +80901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1138;
show create table s;
Table Create Table
@@ -80909,7 +80909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1137;
show create table s;
Table Create Table
@@ -80917,7 +80917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1136;
show create table s;
Table Create Table
@@ -80925,7 +80925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1135;
show create table s;
Table Create Table
@@ -80933,7 +80933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1134;
show create table s;
Table Create Table
@@ -80941,7 +80941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1133;
show create table s;
Table Create Table
@@ -80949,7 +80949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1132;
show create table s;
Table Create Table
@@ -80957,7 +80957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1131;
show create table s;
Table Create Table
@@ -80965,7 +80965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1130;
show create table s;
Table Create Table
@@ -80973,7 +80973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1129;
show create table s;
Table Create Table
@@ -80981,7 +80981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1128;
show create table s;
Table Create Table
@@ -80989,7 +80989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1127;
show create table s;
Table Create Table
@@ -80997,7 +80997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1126;
show create table s;
Table Create Table
@@ -81005,7 +81005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1125;
show create table s;
Table Create Table
@@ -81013,7 +81013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1124;
show create table s;
Table Create Table
@@ -81021,7 +81021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1123;
show create table s;
Table Create Table
@@ -81029,7 +81029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1122;
show create table s;
Table Create Table
@@ -81037,7 +81037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1121;
show create table s;
Table Create Table
@@ -81045,7 +81045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1120;
show create table s;
Table Create Table
@@ -81053,7 +81053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1119;
show create table s;
Table Create Table
@@ -81061,7 +81061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1118;
show create table s;
Table Create Table
@@ -81069,7 +81069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1117;
show create table s;
Table Create Table
@@ -81077,7 +81077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1116;
show create table s;
Table Create Table
@@ -81085,7 +81085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1115;
show create table s;
Table Create Table
@@ -81093,7 +81093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1114;
show create table s;
Table Create Table
@@ -81101,7 +81101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1113;
show create table s;
Table Create Table
@@ -81109,7 +81109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1112;
show create table s;
Table Create Table
@@ -81117,7 +81117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1111;
show create table s;
Table Create Table
@@ -81125,7 +81125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1110;
show create table s;
Table Create Table
@@ -81133,7 +81133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1109;
show create table s;
Table Create Table
@@ -81141,7 +81141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1108;
show create table s;
Table Create Table
@@ -81149,7 +81149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1107;
show create table s;
Table Create Table
@@ -81157,7 +81157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1106;
show create table s;
Table Create Table
@@ -81165,7 +81165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1105;
show create table s;
Table Create Table
@@ -81173,7 +81173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1104;
show create table s;
Table Create Table
@@ -81181,7 +81181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1103;
show create table s;
Table Create Table
@@ -81189,7 +81189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1102;
show create table s;
Table Create Table
@@ -81197,7 +81197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1101;
show create table s;
Table Create Table
@@ -81205,7 +81205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1100;
show create table s;
Table Create Table
@@ -81213,7 +81213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1099;
show create table s;
Table Create Table
@@ -81221,7 +81221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1098;
show create table s;
Table Create Table
@@ -81229,7 +81229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1097;
show create table s;
Table Create Table
@@ -81237,7 +81237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1096;
show create table s;
Table Create Table
@@ -81245,7 +81245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1095;
show create table s;
Table Create Table
@@ -81253,7 +81253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1094;
show create table s;
Table Create Table
@@ -81261,7 +81261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1093;
show create table s;
Table Create Table
@@ -81269,7 +81269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1092;
show create table s;
Table Create Table
@@ -81277,7 +81277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1091;
show create table s;
Table Create Table
@@ -81285,7 +81285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1090;
show create table s;
Table Create Table
@@ -81293,7 +81293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1089;
show create table s;
Table Create Table
@@ -81301,7 +81301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1088;
show create table s;
Table Create Table
@@ -81309,7 +81309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1087;
show create table s;
Table Create Table
@@ -81317,7 +81317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1086;
show create table s;
Table Create Table
@@ -81325,7 +81325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1085;
show create table s;
Table Create Table
@@ -81333,7 +81333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1084;
show create table s;
Table Create Table
@@ -81341,7 +81341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1083;
show create table s;
Table Create Table
@@ -81349,7 +81349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1082;
show create table s;
Table Create Table
@@ -81357,7 +81357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1081;
show create table s;
Table Create Table
@@ -81365,7 +81365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1080;
show create table s;
Table Create Table
@@ -81373,7 +81373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1079;
show create table s;
Table Create Table
@@ -81381,7 +81381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1078;
show create table s;
Table Create Table
@@ -81389,7 +81389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1077;
show create table s;
Table Create Table
@@ -81397,7 +81397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1076;
show create table s;
Table Create Table
@@ -81405,7 +81405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1075;
show create table s;
Table Create Table
@@ -81413,7 +81413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1074;
show create table s;
Table Create Table
@@ -81421,7 +81421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1073;
show create table s;
Table Create Table
@@ -81429,7 +81429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1072;
show create table s;
Table Create Table
@@ -81437,7 +81437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1071;
show create table s;
Table Create Table
@@ -81445,7 +81445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1070;
show create table s;
Table Create Table
@@ -81453,7 +81453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1069;
show create table s;
Table Create Table
@@ -81461,7 +81461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1068;
show create table s;
Table Create Table
@@ -81469,7 +81469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1067;
show create table s;
Table Create Table
@@ -81477,7 +81477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1066;
show create table s;
Table Create Table
@@ -81485,7 +81485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1065;
show create table s;
Table Create Table
@@ -81493,7 +81493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1064;
show create table s;
Table Create Table
@@ -81501,7 +81501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1063;
show create table s;
Table Create Table
@@ -81509,7 +81509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1062;
show create table s;
Table Create Table
@@ -81517,7 +81517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1061;
show create table s;
Table Create Table
@@ -81525,7 +81525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1060;
show create table s;
Table Create Table
@@ -81533,7 +81533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1059;
show create table s;
Table Create Table
@@ -81541,7 +81541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1058;
show create table s;
Table Create Table
@@ -81549,7 +81549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1057;
show create table s;
Table Create Table
@@ -81557,7 +81557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1056;
show create table s;
Table Create Table
@@ -81565,7 +81565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1055;
show create table s;
Table Create Table
@@ -81573,7 +81573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1054;
show create table s;
Table Create Table
@@ -81581,7 +81581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1053;
show create table s;
Table Create Table
@@ -81589,7 +81589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1052;
show create table s;
Table Create Table
@@ -81597,7 +81597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1051;
show create table s;
Table Create Table
@@ -81605,7 +81605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1050;
show create table s;
Table Create Table
@@ -81613,7 +81613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1049;
show create table s;
Table Create Table
@@ -81621,7 +81621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1048;
show create table s;
Table Create Table
@@ -81629,7 +81629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1047;
show create table s;
Table Create Table
@@ -81637,7 +81637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1046;
show create table s;
Table Create Table
@@ -81645,7 +81645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1045;
show create table s;
Table Create Table
@@ -81653,7 +81653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1044;
show create table s;
Table Create Table
@@ -81661,7 +81661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1043;
show create table s;
Table Create Table
@@ -81669,7 +81669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1042;
show create table s;
Table Create Table
@@ -81677,7 +81677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1041;
show create table s;
Table Create Table
@@ -81685,7 +81685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1040;
show create table s;
Table Create Table
@@ -81693,7 +81693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1039;
show create table s;
Table Create Table
@@ -81701,7 +81701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1038;
show create table s;
Table Create Table
@@ -81709,7 +81709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1037;
show create table s;
Table Create Table
@@ -81717,7 +81717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1036;
show create table s;
Table Create Table
@@ -81725,7 +81725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1035;
show create table s;
Table Create Table
@@ -81733,7 +81733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1034;
show create table s;
Table Create Table
@@ -81741,7 +81741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1033;
show create table s;
Table Create Table
@@ -81749,7 +81749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1032;
show create table s;
Table Create Table
@@ -81757,7 +81757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1031;
show create table s;
Table Create Table
@@ -81765,7 +81765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1030;
show create table s;
Table Create Table
@@ -81773,7 +81773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1029;
show create table s;
Table Create Table
@@ -81781,7 +81781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1028;
show create table s;
Table Create Table
@@ -81789,7 +81789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1027;
show create table s;
Table Create Table
@@ -81797,7 +81797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1026;
show create table s;
Table Create Table
@@ -81805,7 +81805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1025;
show create table s;
Table Create Table
@@ -81813,7 +81813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1024;
show create table s;
Table Create Table
@@ -81821,7 +81821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1023;
show create table s;
Table Create Table
@@ -81829,7 +81829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1022;
show create table s;
Table Create Table
@@ -81837,7 +81837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1021;
show create table s;
Table Create Table
@@ -81845,7 +81845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1020;
show create table s;
Table Create Table
@@ -81853,7 +81853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1019;
show create table s;
Table Create Table
@@ -81861,7 +81861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1018;
show create table s;
Table Create Table
@@ -81869,7 +81869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1017;
show create table s;
Table Create Table
@@ -81877,7 +81877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1016;
show create table s;
Table Create Table
@@ -81885,7 +81885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1015;
show create table s;
Table Create Table
@@ -81893,7 +81893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1014;
show create table s;
Table Create Table
@@ -81901,7 +81901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1013;
show create table s;
Table Create Table
@@ -81909,7 +81909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1012;
show create table s;
Table Create Table
@@ -81917,7 +81917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1011;
show create table s;
Table Create Table
@@ -81925,7 +81925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1010;
show create table s;
Table Create Table
@@ -81933,7 +81933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1009;
show create table s;
Table Create Table
@@ -81941,7 +81941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1008;
show create table s;
Table Create Table
@@ -81949,7 +81949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1007;
show create table s;
Table Create Table
@@ -81957,7 +81957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1006;
show create table s;
Table Create Table
@@ -81965,7 +81965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1005;
show create table s;
Table Create Table
@@ -81973,7 +81973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1004;
show create table s;
Table Create Table
@@ -81981,7 +81981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1003;
show create table s;
Table Create Table
@@ -81989,7 +81989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1002;
show create table s;
Table Create Table
@@ -81997,7 +81997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1001;
show create table s;
Table Create Table
@@ -82005,7 +82005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1000;
show create table s;
Table Create Table
@@ -82013,7 +82013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=999;
show create table s;
Table Create Table
@@ -82021,7 +82021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=998;
show create table s;
Table Create Table
@@ -82029,7 +82029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=997;
show create table s;
Table Create Table
@@ -82037,7 +82037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=996;
show create table s;
Table Create Table
@@ -82045,7 +82045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=995;
show create table s;
Table Create Table
@@ -82053,7 +82053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=994;
show create table s;
Table Create Table
@@ -82061,7 +82061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=993;
show create table s;
Table Create Table
@@ -82069,7 +82069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=992;
show create table s;
Table Create Table
@@ -82077,7 +82077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=991;
show create table s;
Table Create Table
@@ -82085,7 +82085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=990;
show create table s;
Table Create Table
@@ -82093,7 +82093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=989;
show create table s;
Table Create Table
@@ -82101,7 +82101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=988;
show create table s;
Table Create Table
@@ -82109,7 +82109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=987;
show create table s;
Table Create Table
@@ -82117,7 +82117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=986;
show create table s;
Table Create Table
@@ -82125,7 +82125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=985;
show create table s;
Table Create Table
@@ -82133,7 +82133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=984;
show create table s;
Table Create Table
@@ -82141,7 +82141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=983;
show create table s;
Table Create Table
@@ -82149,7 +82149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=982;
show create table s;
Table Create Table
@@ -82157,7 +82157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=981;
show create table s;
Table Create Table
@@ -82165,7 +82165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=980;
show create table s;
Table Create Table
@@ -82173,7 +82173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=979;
show create table s;
Table Create Table
@@ -82181,7 +82181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=978;
show create table s;
Table Create Table
@@ -82189,7 +82189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=977;
show create table s;
Table Create Table
@@ -82197,7 +82197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=976;
show create table s;
Table Create Table
@@ -82205,7 +82205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=975;
show create table s;
Table Create Table
@@ -82213,7 +82213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=974;
show create table s;
Table Create Table
@@ -82221,7 +82221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=973;
show create table s;
Table Create Table
@@ -82229,7 +82229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=972;
show create table s;
Table Create Table
@@ -82237,7 +82237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=971;
show create table s;
Table Create Table
@@ -82245,7 +82245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=970;
show create table s;
Table Create Table
@@ -82253,7 +82253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=969;
show create table s;
Table Create Table
@@ -82261,7 +82261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=968;
show create table s;
Table Create Table
@@ -82269,7 +82269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=967;
show create table s;
Table Create Table
@@ -82277,7 +82277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=966;
show create table s;
Table Create Table
@@ -82285,7 +82285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=965;
show create table s;
Table Create Table
@@ -82293,7 +82293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=964;
show create table s;
Table Create Table
@@ -82301,7 +82301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=963;
show create table s;
Table Create Table
@@ -82309,7 +82309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=962;
show create table s;
Table Create Table
@@ -82317,7 +82317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=961;
show create table s;
Table Create Table
@@ -82325,7 +82325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=960;
show create table s;
Table Create Table
@@ -82333,7 +82333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=959;
show create table s;
Table Create Table
@@ -82341,7 +82341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=958;
show create table s;
Table Create Table
@@ -82349,7 +82349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=957;
show create table s;
Table Create Table
@@ -82357,7 +82357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=956;
show create table s;
Table Create Table
@@ -82365,7 +82365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=955;
show create table s;
Table Create Table
@@ -82373,7 +82373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=954;
show create table s;
Table Create Table
@@ -82381,7 +82381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=953;
show create table s;
Table Create Table
@@ -82389,7 +82389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=952;
show create table s;
Table Create Table
@@ -82397,7 +82397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=951;
show create table s;
Table Create Table
@@ -82405,7 +82405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=950;
show create table s;
Table Create Table
@@ -82413,7 +82413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=949;
show create table s;
Table Create Table
@@ -82421,7 +82421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=948;
show create table s;
Table Create Table
@@ -82429,7 +82429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=947;
show create table s;
Table Create Table
@@ -82437,7 +82437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=946;
show create table s;
Table Create Table
@@ -82445,7 +82445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=945;
show create table s;
Table Create Table
@@ -82453,7 +82453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=944;
show create table s;
Table Create Table
@@ -82461,7 +82461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=943;
show create table s;
Table Create Table
@@ -82469,7 +82469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=942;
show create table s;
Table Create Table
@@ -82477,7 +82477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=941;
show create table s;
Table Create Table
@@ -82485,7 +82485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=940;
show create table s;
Table Create Table
@@ -82493,7 +82493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=939;
show create table s;
Table Create Table
@@ -82501,7 +82501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=938;
show create table s;
Table Create Table
@@ -82509,7 +82509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=937;
show create table s;
Table Create Table
@@ -82517,7 +82517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=936;
show create table s;
Table Create Table
@@ -82525,7 +82525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=935;
show create table s;
Table Create Table
@@ -82533,7 +82533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=934;
show create table s;
Table Create Table
@@ -82541,7 +82541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=933;
show create table s;
Table Create Table
@@ -82549,7 +82549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=932;
show create table s;
Table Create Table
@@ -82557,7 +82557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=931;
show create table s;
Table Create Table
@@ -82565,7 +82565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=930;
show create table s;
Table Create Table
@@ -82573,7 +82573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=929;
show create table s;
Table Create Table
@@ -82581,7 +82581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=928;
show create table s;
Table Create Table
@@ -82589,7 +82589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=927;
show create table s;
Table Create Table
@@ -82597,7 +82597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=926;
show create table s;
Table Create Table
@@ -82605,7 +82605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=925;
show create table s;
Table Create Table
@@ -82613,7 +82613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=924;
show create table s;
Table Create Table
@@ -82621,7 +82621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=923;
show create table s;
Table Create Table
@@ -82629,7 +82629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=922;
show create table s;
Table Create Table
@@ -82637,7 +82637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=921;
show create table s;
Table Create Table
@@ -82645,7 +82645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=920;
show create table s;
Table Create Table
@@ -82653,7 +82653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=919;
show create table s;
Table Create Table
@@ -82661,7 +82661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=918;
show create table s;
Table Create Table
@@ -82669,7 +82669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=917;
show create table s;
Table Create Table
@@ -82677,7 +82677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=916;
show create table s;
Table Create Table
@@ -82685,7 +82685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=915;
show create table s;
Table Create Table
@@ -82693,7 +82693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=914;
show create table s;
Table Create Table
@@ -82701,7 +82701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=913;
show create table s;
Table Create Table
@@ -82709,7 +82709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=912;
show create table s;
Table Create Table
@@ -82717,7 +82717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=911;
show create table s;
Table Create Table
@@ -82725,7 +82725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=910;
show create table s;
Table Create Table
@@ -82733,7 +82733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=909;
show create table s;
Table Create Table
@@ -82741,7 +82741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=908;
show create table s;
Table Create Table
@@ -82749,7 +82749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=907;
show create table s;
Table Create Table
@@ -82757,7 +82757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=906;
show create table s;
Table Create Table
@@ -82765,7 +82765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=905;
show create table s;
Table Create Table
@@ -82773,7 +82773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=904;
show create table s;
Table Create Table
@@ -82781,7 +82781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=903;
show create table s;
Table Create Table
@@ -82789,7 +82789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=902;
show create table s;
Table Create Table
@@ -82797,7 +82797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=901;
show create table s;
Table Create Table
@@ -82805,7 +82805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=900;
show create table s;
Table Create Table
@@ -82813,7 +82813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=899;
show create table s;
Table Create Table
@@ -82821,7 +82821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=898;
show create table s;
Table Create Table
@@ -82829,7 +82829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=897;
show create table s;
Table Create Table
@@ -82837,7 +82837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=896;
show create table s;
Table Create Table
@@ -82845,7 +82845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=895;
show create table s;
Table Create Table
@@ -82853,7 +82853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=894;
show create table s;
Table Create Table
@@ -82861,7 +82861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=893;
show create table s;
Table Create Table
@@ -82869,7 +82869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=892;
show create table s;
Table Create Table
@@ -82877,7 +82877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=891;
show create table s;
Table Create Table
@@ -82885,7 +82885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=890;
show create table s;
Table Create Table
@@ -82893,7 +82893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=889;
show create table s;
Table Create Table
@@ -82901,7 +82901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=888;
show create table s;
Table Create Table
@@ -82909,7 +82909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=887;
show create table s;
Table Create Table
@@ -82917,7 +82917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=886;
show create table s;
Table Create Table
@@ -82925,7 +82925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=885;
show create table s;
Table Create Table
@@ -82933,7 +82933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=884;
show create table s;
Table Create Table
@@ -82941,7 +82941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=883;
show create table s;
Table Create Table
@@ -82949,7 +82949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=882;
show create table s;
Table Create Table
@@ -82957,7 +82957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=881;
show create table s;
Table Create Table
@@ -82965,7 +82965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=880;
show create table s;
Table Create Table
@@ -82973,7 +82973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=879;
show create table s;
Table Create Table
@@ -82981,7 +82981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=878;
show create table s;
Table Create Table
@@ -82989,7 +82989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=877;
show create table s;
Table Create Table
@@ -82997,7 +82997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=876;
show create table s;
Table Create Table
@@ -83005,7 +83005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=875;
show create table s;
Table Create Table
@@ -83013,7 +83013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=874;
show create table s;
Table Create Table
@@ -83021,7 +83021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=873;
show create table s;
Table Create Table
@@ -83029,7 +83029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=872;
show create table s;
Table Create Table
@@ -83037,7 +83037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=871;
show create table s;
Table Create Table
@@ -83045,7 +83045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=870;
show create table s;
Table Create Table
@@ -83053,7 +83053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=869;
show create table s;
Table Create Table
@@ -83061,7 +83061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=868;
show create table s;
Table Create Table
@@ -83069,7 +83069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=867;
show create table s;
Table Create Table
@@ -83077,7 +83077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=866;
show create table s;
Table Create Table
@@ -83085,7 +83085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=865;
show create table s;
Table Create Table
@@ -83093,7 +83093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=864;
show create table s;
Table Create Table
@@ -83101,7 +83101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=863;
show create table s;
Table Create Table
@@ -83109,7 +83109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=862;
show create table s;
Table Create Table
@@ -83117,7 +83117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=861;
show create table s;
Table Create Table
@@ -83125,7 +83125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=860;
show create table s;
Table Create Table
@@ -83133,7 +83133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=859;
show create table s;
Table Create Table
@@ -83141,7 +83141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=858;
show create table s;
Table Create Table
@@ -83149,7 +83149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=857;
show create table s;
Table Create Table
@@ -83157,7 +83157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=856;
show create table s;
Table Create Table
@@ -83165,7 +83165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=855;
show create table s;
Table Create Table
@@ -83173,7 +83173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=854;
show create table s;
Table Create Table
@@ -83181,7 +83181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=853;
show create table s;
Table Create Table
@@ -83189,7 +83189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=852;
show create table s;
Table Create Table
@@ -83197,7 +83197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=851;
show create table s;
Table Create Table
@@ -83205,7 +83205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=850;
show create table s;
Table Create Table
@@ -83213,7 +83213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=849;
show create table s;
Table Create Table
@@ -83221,7 +83221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=848;
show create table s;
Table Create Table
@@ -83229,7 +83229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=847;
show create table s;
Table Create Table
@@ -83237,7 +83237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=846;
show create table s;
Table Create Table
@@ -83245,7 +83245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=845;
show create table s;
Table Create Table
@@ -83253,7 +83253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=844;
show create table s;
Table Create Table
@@ -83261,7 +83261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=843;
show create table s;
Table Create Table
@@ -83269,7 +83269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=842;
show create table s;
Table Create Table
@@ -83277,7 +83277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=841;
show create table s;
Table Create Table
@@ -83285,7 +83285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=840;
show create table s;
Table Create Table
@@ -83293,7 +83293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=839;
show create table s;
Table Create Table
@@ -83301,7 +83301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=838;
show create table s;
Table Create Table
@@ -83309,7 +83309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=837;
show create table s;
Table Create Table
@@ -83317,7 +83317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=836;
show create table s;
Table Create Table
@@ -83325,7 +83325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=835;
show create table s;
Table Create Table
@@ -83333,7 +83333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=834;
show create table s;
Table Create Table
@@ -83341,7 +83341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=833;
show create table s;
Table Create Table
@@ -83349,7 +83349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=832;
show create table s;
Table Create Table
@@ -83357,7 +83357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=831;
show create table s;
Table Create Table
@@ -83365,7 +83365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=830;
show create table s;
Table Create Table
@@ -83373,7 +83373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=829;
show create table s;
Table Create Table
@@ -83381,7 +83381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=828;
show create table s;
Table Create Table
@@ -83389,7 +83389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=827;
show create table s;
Table Create Table
@@ -83397,7 +83397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=826;
show create table s;
Table Create Table
@@ -83405,7 +83405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=825;
show create table s;
Table Create Table
@@ -83413,7 +83413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=824;
show create table s;
Table Create Table
@@ -83421,7 +83421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=823;
show create table s;
Table Create Table
@@ -83429,7 +83429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=822;
show create table s;
Table Create Table
@@ -83437,7 +83437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=821;
show create table s;
Table Create Table
@@ -83445,7 +83445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=820;
show create table s;
Table Create Table
@@ -83453,7 +83453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=819;
show create table s;
Table Create Table
@@ -83461,7 +83461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=818;
show create table s;
Table Create Table
@@ -83469,7 +83469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=817;
show create table s;
Table Create Table
@@ -83477,7 +83477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=816;
show create table s;
Table Create Table
@@ -83485,7 +83485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=815;
show create table s;
Table Create Table
@@ -83493,7 +83493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=814;
show create table s;
Table Create Table
@@ -83501,7 +83501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=813;
show create table s;
Table Create Table
@@ -83509,7 +83509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=812;
show create table s;
Table Create Table
@@ -83517,7 +83517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=811;
show create table s;
Table Create Table
@@ -83525,7 +83525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=810;
show create table s;
Table Create Table
@@ -83533,7 +83533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=809;
show create table s;
Table Create Table
@@ -83541,7 +83541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=808;
show create table s;
Table Create Table
@@ -83549,7 +83549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=807;
show create table s;
Table Create Table
@@ -83557,7 +83557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=806;
show create table s;
Table Create Table
@@ -83565,7 +83565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=805;
show create table s;
Table Create Table
@@ -83573,7 +83573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=804;
show create table s;
Table Create Table
@@ -83581,7 +83581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=803;
show create table s;
Table Create Table
@@ -83589,7 +83589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=802;
show create table s;
Table Create Table
@@ -83597,7 +83597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=801;
show create table s;
Table Create Table
@@ -83605,7 +83605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=800;
show create table s;
Table Create Table
@@ -83613,7 +83613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=799;
show create table s;
Table Create Table
@@ -83621,7 +83621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=798;
show create table s;
Table Create Table
@@ -83629,7 +83629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=797;
show create table s;
Table Create Table
@@ -83637,7 +83637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=796;
show create table s;
Table Create Table
@@ -83645,7 +83645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=795;
show create table s;
Table Create Table
@@ -83653,7 +83653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=794;
show create table s;
Table Create Table
@@ -83661,7 +83661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=793;
show create table s;
Table Create Table
@@ -83669,7 +83669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=792;
show create table s;
Table Create Table
@@ -83677,7 +83677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=791;
show create table s;
Table Create Table
@@ -83685,7 +83685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=790;
show create table s;
Table Create Table
@@ -83693,7 +83693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=789;
show create table s;
Table Create Table
@@ -83701,7 +83701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=788;
show create table s;
Table Create Table
@@ -83709,7 +83709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=787;
show create table s;
Table Create Table
@@ -83717,7 +83717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=786;
show create table s;
Table Create Table
@@ -83725,7 +83725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=785;
show create table s;
Table Create Table
@@ -83733,7 +83733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=784;
show create table s;
Table Create Table
@@ -83741,7 +83741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=783;
show create table s;
Table Create Table
@@ -83749,7 +83749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=782;
show create table s;
Table Create Table
@@ -83757,7 +83757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=781;
show create table s;
Table Create Table
@@ -83765,7 +83765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=780;
show create table s;
Table Create Table
@@ -83773,7 +83773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=779;
show create table s;
Table Create Table
@@ -83781,7 +83781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=778;
show create table s;
Table Create Table
@@ -83789,7 +83789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=777;
show create table s;
Table Create Table
@@ -83797,7 +83797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=776;
show create table s;
Table Create Table
@@ -83805,7 +83805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=775;
show create table s;
Table Create Table
@@ -83813,7 +83813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=774;
show create table s;
Table Create Table
@@ -83821,7 +83821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=773;
show create table s;
Table Create Table
@@ -83829,7 +83829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=772;
show create table s;
Table Create Table
@@ -83837,7 +83837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=771;
show create table s;
Table Create Table
@@ -83845,7 +83845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=770;
show create table s;
Table Create Table
@@ -83853,7 +83853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=769;
show create table s;
Table Create Table
@@ -83861,7 +83861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=768;
show create table s;
Table Create Table
@@ -83869,7 +83869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=767;
show create table s;
Table Create Table
@@ -83877,7 +83877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=766;
show create table s;
Table Create Table
@@ -83885,7 +83885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=765;
show create table s;
Table Create Table
@@ -83893,7 +83893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=764;
show create table s;
Table Create Table
@@ -83901,7 +83901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=763;
show create table s;
Table Create Table
@@ -83909,7 +83909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=762;
show create table s;
Table Create Table
@@ -83917,7 +83917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=761;
show create table s;
Table Create Table
@@ -83925,7 +83925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=760;
show create table s;
Table Create Table
@@ -83933,7 +83933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=759;
show create table s;
Table Create Table
@@ -83941,7 +83941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=758;
show create table s;
Table Create Table
@@ -83949,7 +83949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=757;
show create table s;
Table Create Table
@@ -83957,7 +83957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=756;
show create table s;
Table Create Table
@@ -83965,7 +83965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=755;
show create table s;
Table Create Table
@@ -83973,7 +83973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=754;
show create table s;
Table Create Table
@@ -83981,7 +83981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=753;
show create table s;
Table Create Table
@@ -83989,7 +83989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=752;
show create table s;
Table Create Table
@@ -83997,7 +83997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=751;
show create table s;
Table Create Table
@@ -84005,7 +84005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=750;
show create table s;
Table Create Table
@@ -84013,7 +84013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=749;
show create table s;
Table Create Table
@@ -84021,7 +84021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=748;
show create table s;
Table Create Table
@@ -84029,7 +84029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=747;
show create table s;
Table Create Table
@@ -84037,7 +84037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=746;
show create table s;
Table Create Table
@@ -84045,7 +84045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=745;
show create table s;
Table Create Table
@@ -84053,7 +84053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=744;
show create table s;
Table Create Table
@@ -84061,7 +84061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=743;
show create table s;
Table Create Table
@@ -84069,7 +84069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=742;
show create table s;
Table Create Table
@@ -84077,7 +84077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=741;
show create table s;
Table Create Table
@@ -84085,7 +84085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=740;
show create table s;
Table Create Table
@@ -84093,7 +84093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=739;
show create table s;
Table Create Table
@@ -84101,7 +84101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=738;
show create table s;
Table Create Table
@@ -84109,7 +84109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=737;
show create table s;
Table Create Table
@@ -84117,7 +84117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=736;
show create table s;
Table Create Table
@@ -84125,7 +84125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=735;
show create table s;
Table Create Table
@@ -84133,7 +84133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=734;
show create table s;
Table Create Table
@@ -84141,7 +84141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=733;
show create table s;
Table Create Table
@@ -84149,7 +84149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=732;
show create table s;
Table Create Table
@@ -84157,7 +84157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=731;
show create table s;
Table Create Table
@@ -84165,7 +84165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=730;
show create table s;
Table Create Table
@@ -84173,7 +84173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=729;
show create table s;
Table Create Table
@@ -84181,7 +84181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=728;
show create table s;
Table Create Table
@@ -84189,7 +84189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=727;
show create table s;
Table Create Table
@@ -84197,7 +84197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=726;
show create table s;
Table Create Table
@@ -84205,7 +84205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=725;
show create table s;
Table Create Table
@@ -84213,7 +84213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=724;
show create table s;
Table Create Table
@@ -84221,7 +84221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=723;
show create table s;
Table Create Table
@@ -84229,7 +84229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=722;
show create table s;
Table Create Table
@@ -84237,7 +84237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=721;
show create table s;
Table Create Table
@@ -84245,7 +84245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=720;
show create table s;
Table Create Table
@@ -84253,7 +84253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=719;
show create table s;
Table Create Table
@@ -84261,7 +84261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=718;
show create table s;
Table Create Table
@@ -84269,7 +84269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=717;
show create table s;
Table Create Table
@@ -84277,7 +84277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=716;
show create table s;
Table Create Table
@@ -84285,7 +84285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=715;
show create table s;
Table Create Table
@@ -84293,7 +84293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=714;
show create table s;
Table Create Table
@@ -84301,7 +84301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=713;
show create table s;
Table Create Table
@@ -84309,7 +84309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=712;
show create table s;
Table Create Table
@@ -84317,7 +84317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=711;
show create table s;
Table Create Table
@@ -84325,7 +84325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=710;
show create table s;
Table Create Table
@@ -84333,7 +84333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=709;
show create table s;
Table Create Table
@@ -84341,7 +84341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=708;
show create table s;
Table Create Table
@@ -84349,7 +84349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=707;
show create table s;
Table Create Table
@@ -84357,7 +84357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=706;
show create table s;
Table Create Table
@@ -84365,7 +84365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=705;
show create table s;
Table Create Table
@@ -84373,7 +84373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=704;
show create table s;
Table Create Table
@@ -84381,7 +84381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=703;
show create table s;
Table Create Table
@@ -84389,7 +84389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=702;
show create table s;
Table Create Table
@@ -84397,7 +84397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=701;
show create table s;
Table Create Table
@@ -84405,7 +84405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=700;
show create table s;
Table Create Table
@@ -84413,7 +84413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=699;
show create table s;
Table Create Table
@@ -84421,7 +84421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=698;
show create table s;
Table Create Table
@@ -84429,7 +84429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=697;
show create table s;
Table Create Table
@@ -84437,7 +84437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=696;
show create table s;
Table Create Table
@@ -84445,7 +84445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=695;
show create table s;
Table Create Table
@@ -84453,7 +84453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=694;
show create table s;
Table Create Table
@@ -84461,7 +84461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=693;
show create table s;
Table Create Table
@@ -84469,7 +84469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=692;
show create table s;
Table Create Table
@@ -84477,7 +84477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=691;
show create table s;
Table Create Table
@@ -84485,7 +84485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=690;
show create table s;
Table Create Table
@@ -84493,7 +84493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=689;
show create table s;
Table Create Table
@@ -84501,7 +84501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=688;
show create table s;
Table Create Table
@@ -84509,7 +84509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=687;
show create table s;
Table Create Table
@@ -84517,7 +84517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=686;
show create table s;
Table Create Table
@@ -84525,7 +84525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=685;
show create table s;
Table Create Table
@@ -84533,7 +84533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=684;
show create table s;
Table Create Table
@@ -84541,7 +84541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=683;
show create table s;
Table Create Table
@@ -84549,7 +84549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=682;
show create table s;
Table Create Table
@@ -84557,7 +84557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=681;
show create table s;
Table Create Table
@@ -84565,7 +84565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=680;
show create table s;
Table Create Table
@@ -84573,7 +84573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=679;
show create table s;
Table Create Table
@@ -84581,7 +84581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=678;
show create table s;
Table Create Table
@@ -84589,7 +84589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=677;
show create table s;
Table Create Table
@@ -84597,7 +84597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=676;
show create table s;
Table Create Table
@@ -84605,7 +84605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=675;
show create table s;
Table Create Table
@@ -84613,7 +84613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=674;
show create table s;
Table Create Table
@@ -84621,7 +84621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=673;
show create table s;
Table Create Table
@@ -84629,7 +84629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=672;
show create table s;
Table Create Table
@@ -84637,7 +84637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=671;
show create table s;
Table Create Table
@@ -84645,7 +84645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=670;
show create table s;
Table Create Table
@@ -84653,7 +84653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=669;
show create table s;
Table Create Table
@@ -84661,7 +84661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=668;
show create table s;
Table Create Table
@@ -84669,7 +84669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=667;
show create table s;
Table Create Table
@@ -84677,7 +84677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=666;
show create table s;
Table Create Table
@@ -84685,7 +84685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=665;
show create table s;
Table Create Table
@@ -84693,7 +84693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=664;
show create table s;
Table Create Table
@@ -84701,7 +84701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=663;
show create table s;
Table Create Table
@@ -84709,7 +84709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=662;
show create table s;
Table Create Table
@@ -84717,7 +84717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=661;
show create table s;
Table Create Table
@@ -84725,7 +84725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=660;
show create table s;
Table Create Table
@@ -84733,7 +84733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=659;
show create table s;
Table Create Table
@@ -84741,7 +84741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=658;
show create table s;
Table Create Table
@@ -84749,7 +84749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=657;
show create table s;
Table Create Table
@@ -84757,7 +84757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=656;
show create table s;
Table Create Table
@@ -84765,7 +84765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=655;
show create table s;
Table Create Table
@@ -84773,7 +84773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=654;
show create table s;
Table Create Table
@@ -84781,7 +84781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=653;
show create table s;
Table Create Table
@@ -84789,7 +84789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=652;
show create table s;
Table Create Table
@@ -84797,7 +84797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=651;
show create table s;
Table Create Table
@@ -84805,7 +84805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=650;
show create table s;
Table Create Table
@@ -84813,7 +84813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=649;
show create table s;
Table Create Table
@@ -84821,7 +84821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=648;
show create table s;
Table Create Table
@@ -84829,7 +84829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=647;
show create table s;
Table Create Table
@@ -84837,7 +84837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=646;
show create table s;
Table Create Table
@@ -84845,7 +84845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=645;
show create table s;
Table Create Table
@@ -84853,7 +84853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=644;
show create table s;
Table Create Table
@@ -84861,7 +84861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=643;
show create table s;
Table Create Table
@@ -84869,7 +84869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=642;
show create table s;
Table Create Table
@@ -84877,7 +84877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=641;
show create table s;
Table Create Table
@@ -84885,7 +84885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=640;
show create table s;
Table Create Table
@@ -84893,7 +84893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=639;
show create table s;
Table Create Table
@@ -84901,7 +84901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=638;
show create table s;
Table Create Table
@@ -84909,7 +84909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=637;
show create table s;
Table Create Table
@@ -84917,7 +84917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=636;
show create table s;
Table Create Table
@@ -84925,7 +84925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=635;
show create table s;
Table Create Table
@@ -84933,7 +84933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=634;
show create table s;
Table Create Table
@@ -84941,7 +84941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=633;
show create table s;
Table Create Table
@@ -84949,7 +84949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=632;
show create table s;
Table Create Table
@@ -84957,7 +84957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=631;
show create table s;
Table Create Table
@@ -84965,7 +84965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=630;
show create table s;
Table Create Table
@@ -84973,7 +84973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=629;
show create table s;
Table Create Table
@@ -84981,7 +84981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=628;
show create table s;
Table Create Table
@@ -84989,7 +84989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=627;
show create table s;
Table Create Table
@@ -84997,7 +84997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=626;
show create table s;
Table Create Table
@@ -85005,7 +85005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=625;
show create table s;
Table Create Table
@@ -85013,7 +85013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=624;
show create table s;
Table Create Table
@@ -85021,7 +85021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=623;
show create table s;
Table Create Table
@@ -85029,7 +85029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=622;
show create table s;
Table Create Table
@@ -85037,7 +85037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=621;
show create table s;
Table Create Table
@@ -85045,7 +85045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=620;
show create table s;
Table Create Table
@@ -85053,7 +85053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=619;
show create table s;
Table Create Table
@@ -85061,7 +85061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=618;
show create table s;
Table Create Table
@@ -85069,7 +85069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=617;
show create table s;
Table Create Table
@@ -85077,7 +85077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=616;
show create table s;
Table Create Table
@@ -85085,7 +85085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=615;
show create table s;
Table Create Table
@@ -85093,7 +85093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=614;
show create table s;
Table Create Table
@@ -85101,7 +85101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=613;
show create table s;
Table Create Table
@@ -85109,7 +85109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=612;
show create table s;
Table Create Table
@@ -85117,7 +85117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=611;
show create table s;
Table Create Table
@@ -85125,7 +85125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=610;
show create table s;
Table Create Table
@@ -85133,7 +85133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=609;
show create table s;
Table Create Table
@@ -85141,7 +85141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=608;
show create table s;
Table Create Table
@@ -85149,7 +85149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=607;
show create table s;
Table Create Table
@@ -85157,7 +85157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=606;
show create table s;
Table Create Table
@@ -85165,7 +85165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=605;
show create table s;
Table Create Table
@@ -85173,7 +85173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=604;
show create table s;
Table Create Table
@@ -85181,7 +85181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=603;
show create table s;
Table Create Table
@@ -85189,7 +85189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=602;
show create table s;
Table Create Table
@@ -85197,7 +85197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=601;
show create table s;
Table Create Table
@@ -85205,7 +85205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=600;
show create table s;
Table Create Table
@@ -85213,7 +85213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=599;
show create table s;
Table Create Table
@@ -85221,7 +85221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=598;
show create table s;
Table Create Table
@@ -85229,7 +85229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=597;
show create table s;
Table Create Table
@@ -85237,7 +85237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=596;
show create table s;
Table Create Table
@@ -85245,7 +85245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=595;
show create table s;
Table Create Table
@@ -85253,7 +85253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=594;
show create table s;
Table Create Table
@@ -85261,7 +85261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=593;
show create table s;
Table Create Table
@@ -85269,7 +85269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=592;
show create table s;
Table Create Table
@@ -85277,7 +85277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=591;
show create table s;
Table Create Table
@@ -85285,7 +85285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=590;
show create table s;
Table Create Table
@@ -85293,7 +85293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=589;
show create table s;
Table Create Table
@@ -85301,7 +85301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=588;
show create table s;
Table Create Table
@@ -85309,7 +85309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=587;
show create table s;
Table Create Table
@@ -85317,7 +85317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=586;
show create table s;
Table Create Table
@@ -85325,7 +85325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=585;
show create table s;
Table Create Table
@@ -85333,7 +85333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=584;
show create table s;
Table Create Table
@@ -85341,7 +85341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=583;
show create table s;
Table Create Table
@@ -85349,7 +85349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=582;
show create table s;
Table Create Table
@@ -85357,7 +85357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=581;
show create table s;
Table Create Table
@@ -85365,7 +85365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=580;
show create table s;
Table Create Table
@@ -85373,7 +85373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=579;
show create table s;
Table Create Table
@@ -85381,7 +85381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=578;
show create table s;
Table Create Table
@@ -85389,7 +85389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=577;
show create table s;
Table Create Table
@@ -85397,7 +85397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=576;
show create table s;
Table Create Table
@@ -85405,7 +85405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=575;
show create table s;
Table Create Table
@@ -85413,7 +85413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=574;
show create table s;
Table Create Table
@@ -85421,7 +85421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=573;
show create table s;
Table Create Table
@@ -85429,7 +85429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=572;
show create table s;
Table Create Table
@@ -85437,7 +85437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=571;
show create table s;
Table Create Table
@@ -85445,7 +85445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=570;
show create table s;
Table Create Table
@@ -85453,7 +85453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=569;
show create table s;
Table Create Table
@@ -85461,7 +85461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=568;
show create table s;
Table Create Table
@@ -85469,7 +85469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=567;
show create table s;
Table Create Table
@@ -85477,7 +85477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=566;
show create table s;
Table Create Table
@@ -85485,7 +85485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=565;
show create table s;
Table Create Table
@@ -85493,7 +85493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=564;
show create table s;
Table Create Table
@@ -85501,7 +85501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=563;
show create table s;
Table Create Table
@@ -85509,7 +85509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=562;
show create table s;
Table Create Table
@@ -85517,7 +85517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=561;
show create table s;
Table Create Table
@@ -85525,7 +85525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=560;
show create table s;
Table Create Table
@@ -85533,7 +85533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=559;
show create table s;
Table Create Table
@@ -85541,7 +85541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=558;
show create table s;
Table Create Table
@@ -85549,7 +85549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=557;
show create table s;
Table Create Table
@@ -85557,7 +85557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=556;
show create table s;
Table Create Table
@@ -85565,7 +85565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=555;
show create table s;
Table Create Table
@@ -85573,7 +85573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=554;
show create table s;
Table Create Table
@@ -85581,7 +85581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=553;
show create table s;
Table Create Table
@@ -85589,7 +85589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=552;
show create table s;
Table Create Table
@@ -85597,7 +85597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=551;
show create table s;
Table Create Table
@@ -85605,7 +85605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=550;
show create table s;
Table Create Table
@@ -85613,7 +85613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=549;
show create table s;
Table Create Table
@@ -85621,7 +85621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=548;
show create table s;
Table Create Table
@@ -85629,7 +85629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=547;
show create table s;
Table Create Table
@@ -85637,7 +85637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=546;
show create table s;
Table Create Table
@@ -85645,7 +85645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=545;
show create table s;
Table Create Table
@@ -85653,7 +85653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=544;
show create table s;
Table Create Table
@@ -85661,7 +85661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=543;
show create table s;
Table Create Table
@@ -85669,7 +85669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=542;
show create table s;
Table Create Table
@@ -85677,7 +85677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=541;
show create table s;
Table Create Table
@@ -85685,7 +85685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=540;
show create table s;
Table Create Table
@@ -85693,7 +85693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=539;
show create table s;
Table Create Table
@@ -85701,7 +85701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=538;
show create table s;
Table Create Table
@@ -85709,7 +85709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=537;
show create table s;
Table Create Table
@@ -85717,7 +85717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=536;
show create table s;
Table Create Table
@@ -85725,7 +85725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=535;
show create table s;
Table Create Table
@@ -85733,7 +85733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=534;
show create table s;
Table Create Table
@@ -85741,7 +85741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=533;
show create table s;
Table Create Table
@@ -85749,7 +85749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=532;
show create table s;
Table Create Table
@@ -85757,7 +85757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=531;
show create table s;
Table Create Table
@@ -85765,7 +85765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=530;
show create table s;
Table Create Table
@@ -85773,7 +85773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=529;
show create table s;
Table Create Table
@@ -85781,7 +85781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=528;
show create table s;
Table Create Table
@@ -85789,7 +85789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=527;
show create table s;
Table Create Table
@@ -85797,7 +85797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=526;
show create table s;
Table Create Table
@@ -85805,7 +85805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=525;
show create table s;
Table Create Table
@@ -85813,7 +85813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=524;
show create table s;
Table Create Table
@@ -85821,7 +85821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=523;
show create table s;
Table Create Table
@@ -85829,7 +85829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=522;
show create table s;
Table Create Table
@@ -85837,7 +85837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=521;
show create table s;
Table Create Table
@@ -85845,7 +85845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=520;
show create table s;
Table Create Table
@@ -85853,7 +85853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=519;
show create table s;
Table Create Table
@@ -85861,7 +85861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=518;
show create table s;
Table Create Table
@@ -85869,7 +85869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=517;
show create table s;
Table Create Table
@@ -85877,7 +85877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=516;
show create table s;
Table Create Table
@@ -85885,7 +85885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=515;
show create table s;
Table Create Table
@@ -85893,7 +85893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=514;
show create table s;
Table Create Table
@@ -85901,7 +85901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=513;
show create table s;
Table Create Table
@@ -85909,7 +85909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=512;
show create table s;
Table Create Table
@@ -85917,7 +85917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=511;
show create table s;
Table Create Table
@@ -85925,7 +85925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=510;
show create table s;
Table Create Table
@@ -85933,7 +85933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=509;
show create table s;
Table Create Table
@@ -85941,7 +85941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=508;
show create table s;
Table Create Table
@@ -85949,7 +85949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=507;
show create table s;
Table Create Table
@@ -85957,7 +85957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=506;
show create table s;
Table Create Table
@@ -85965,7 +85965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=505;
show create table s;
Table Create Table
@@ -85973,7 +85973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=504;
show create table s;
Table Create Table
@@ -85981,7 +85981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=503;
show create table s;
Table Create Table
@@ -85989,7 +85989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=502;
show create table s;
Table Create Table
@@ -85997,7 +85997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=501;
show create table s;
Table Create Table
@@ -86005,7 +86005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=500;
show create table s;
Table Create Table
@@ -86013,7 +86013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=499;
show create table s;
Table Create Table
@@ -86021,7 +86021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=498;
show create table s;
Table Create Table
@@ -86029,7 +86029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=497;
show create table s;
Table Create Table
@@ -86037,7 +86037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=496;
show create table s;
Table Create Table
@@ -86045,7 +86045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=495;
show create table s;
Table Create Table
@@ -86053,7 +86053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=494;
show create table s;
Table Create Table
@@ -86061,7 +86061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=493;
show create table s;
Table Create Table
@@ -86069,7 +86069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=492;
show create table s;
Table Create Table
@@ -86077,7 +86077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=491;
show create table s;
Table Create Table
@@ -86085,7 +86085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=490;
show create table s;
Table Create Table
@@ -86093,7 +86093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=489;
show create table s;
Table Create Table
@@ -86101,7 +86101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=488;
show create table s;
Table Create Table
@@ -86109,7 +86109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=487;
show create table s;
Table Create Table
@@ -86117,7 +86117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=486;
show create table s;
Table Create Table
@@ -86125,7 +86125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=485;
show create table s;
Table Create Table
@@ -86133,7 +86133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=484;
show create table s;
Table Create Table
@@ -86141,7 +86141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=483;
show create table s;
Table Create Table
@@ -86149,7 +86149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=482;
show create table s;
Table Create Table
@@ -86157,7 +86157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=481;
show create table s;
Table Create Table
@@ -86165,7 +86165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=480;
show create table s;
Table Create Table
@@ -86173,7 +86173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=479;
show create table s;
Table Create Table
@@ -86181,7 +86181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=478;
show create table s;
Table Create Table
@@ -86189,7 +86189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=477;
show create table s;
Table Create Table
@@ -86197,7 +86197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=476;
show create table s;
Table Create Table
@@ -86205,7 +86205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=475;
show create table s;
Table Create Table
@@ -86213,7 +86213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=474;
show create table s;
Table Create Table
@@ -86221,7 +86221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=473;
show create table s;
Table Create Table
@@ -86229,7 +86229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=472;
show create table s;
Table Create Table
@@ -86237,7 +86237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=471;
show create table s;
Table Create Table
@@ -86245,7 +86245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=470;
show create table s;
Table Create Table
@@ -86253,7 +86253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=469;
show create table s;
Table Create Table
@@ -86261,7 +86261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=468;
show create table s;
Table Create Table
@@ -86269,7 +86269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=467;
show create table s;
Table Create Table
@@ -86277,7 +86277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=466;
show create table s;
Table Create Table
@@ -86285,7 +86285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=465;
show create table s;
Table Create Table
@@ -86293,7 +86293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=464;
show create table s;
Table Create Table
@@ -86301,7 +86301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=463;
show create table s;
Table Create Table
@@ -86309,7 +86309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=462;
show create table s;
Table Create Table
@@ -86317,7 +86317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=461;
show create table s;
Table Create Table
@@ -86325,7 +86325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=460;
show create table s;
Table Create Table
@@ -86333,7 +86333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=459;
show create table s;
Table Create Table
@@ -86341,7 +86341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=458;
show create table s;
Table Create Table
@@ -86349,7 +86349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=457;
show create table s;
Table Create Table
@@ -86357,7 +86357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=456;
show create table s;
Table Create Table
@@ -86365,7 +86365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=455;
show create table s;
Table Create Table
@@ -86373,7 +86373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=454;
show create table s;
Table Create Table
@@ -86381,7 +86381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=453;
show create table s;
Table Create Table
@@ -86389,7 +86389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=452;
show create table s;
Table Create Table
@@ -86397,7 +86397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=451;
show create table s;
Table Create Table
@@ -86405,7 +86405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=450;
show create table s;
Table Create Table
@@ -86413,7 +86413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=449;
show create table s;
Table Create Table
@@ -86421,7 +86421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=448;
show create table s;
Table Create Table
@@ -86429,7 +86429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=447;
show create table s;
Table Create Table
@@ -86437,7 +86437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=446;
show create table s;
Table Create Table
@@ -86445,7 +86445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=445;
show create table s;
Table Create Table
@@ -86453,7 +86453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=444;
show create table s;
Table Create Table
@@ -86461,7 +86461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=443;
show create table s;
Table Create Table
@@ -86469,7 +86469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=442;
show create table s;
Table Create Table
@@ -86477,7 +86477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=441;
show create table s;
Table Create Table
@@ -86485,7 +86485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=440;
show create table s;
Table Create Table
@@ -86493,7 +86493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=439;
show create table s;
Table Create Table
@@ -86501,7 +86501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=438;
show create table s;
Table Create Table
@@ -86509,7 +86509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=437;
show create table s;
Table Create Table
@@ -86517,7 +86517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=436;
show create table s;
Table Create Table
@@ -86525,7 +86525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=435;
show create table s;
Table Create Table
@@ -86533,7 +86533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=434;
show create table s;
Table Create Table
@@ -86541,7 +86541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=433;
show create table s;
Table Create Table
@@ -86549,7 +86549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=432;
show create table s;
Table Create Table
@@ -86557,7 +86557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=431;
show create table s;
Table Create Table
@@ -86565,7 +86565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=430;
show create table s;
Table Create Table
@@ -86573,7 +86573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=429;
show create table s;
Table Create Table
@@ -86581,7 +86581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=428;
show create table s;
Table Create Table
@@ -86589,7 +86589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=427;
show create table s;
Table Create Table
@@ -86597,7 +86597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=426;
show create table s;
Table Create Table
@@ -86605,7 +86605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=425;
show create table s;
Table Create Table
@@ -86613,7 +86613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=424;
show create table s;
Table Create Table
@@ -86621,7 +86621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=423;
show create table s;
Table Create Table
@@ -86629,7 +86629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=422;
show create table s;
Table Create Table
@@ -86637,7 +86637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=421;
show create table s;
Table Create Table
@@ -86645,7 +86645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=420;
show create table s;
Table Create Table
@@ -86653,7 +86653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=419;
show create table s;
Table Create Table
@@ -86661,7 +86661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=418;
show create table s;
Table Create Table
@@ -86669,7 +86669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=417;
show create table s;
Table Create Table
@@ -86677,7 +86677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=416;
show create table s;
Table Create Table
@@ -86685,7 +86685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=415;
show create table s;
Table Create Table
@@ -86693,7 +86693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=414;
show create table s;
Table Create Table
@@ -86701,7 +86701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=413;
show create table s;
Table Create Table
@@ -86709,7 +86709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=412;
show create table s;
Table Create Table
@@ -86717,7 +86717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=411;
show create table s;
Table Create Table
@@ -86725,7 +86725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=410;
show create table s;
Table Create Table
@@ -86733,7 +86733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=409;
show create table s;
Table Create Table
@@ -86741,7 +86741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=408;
show create table s;
Table Create Table
@@ -86749,7 +86749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=407;
show create table s;
Table Create Table
@@ -86757,7 +86757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=406;
show create table s;
Table Create Table
@@ -86765,7 +86765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=405;
show create table s;
Table Create Table
@@ -86773,7 +86773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=404;
show create table s;
Table Create Table
@@ -86781,7 +86781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=403;
show create table s;
Table Create Table
@@ -86789,7 +86789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=402;
show create table s;
Table Create Table
@@ -86797,7 +86797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=401;
show create table s;
Table Create Table
@@ -86805,7 +86805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=400;
show create table s;
Table Create Table
@@ -86813,7 +86813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=399;
show create table s;
Table Create Table
@@ -86821,7 +86821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=398;
show create table s;
Table Create Table
@@ -86829,7 +86829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=397;
show create table s;
Table Create Table
@@ -86837,7 +86837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=396;
show create table s;
Table Create Table
@@ -86845,7 +86845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=395;
show create table s;
Table Create Table
@@ -86853,7 +86853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=394;
show create table s;
Table Create Table
@@ -86861,7 +86861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=393;
show create table s;
Table Create Table
@@ -86869,7 +86869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=392;
show create table s;
Table Create Table
@@ -86877,7 +86877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=391;
show create table s;
Table Create Table
@@ -86885,7 +86885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=390;
show create table s;
Table Create Table
@@ -86893,7 +86893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=389;
show create table s;
Table Create Table
@@ -86901,7 +86901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=388;
show create table s;
Table Create Table
@@ -86909,7 +86909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=387;
show create table s;
Table Create Table
@@ -86917,7 +86917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=386;
show create table s;
Table Create Table
@@ -86925,7 +86925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=385;
show create table s;
Table Create Table
@@ -86933,7 +86933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=384;
show create table s;
Table Create Table
@@ -86941,7 +86941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=383;
show create table s;
Table Create Table
@@ -86949,7 +86949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=382;
show create table s;
Table Create Table
@@ -86957,7 +86957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=381;
show create table s;
Table Create Table
@@ -86965,7 +86965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=380;
show create table s;
Table Create Table
@@ -86973,7 +86973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=379;
show create table s;
Table Create Table
@@ -86981,7 +86981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=378;
show create table s;
Table Create Table
@@ -86989,7 +86989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=377;
show create table s;
Table Create Table
@@ -86997,7 +86997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=376;
show create table s;
Table Create Table
@@ -87005,7 +87005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=375;
show create table s;
Table Create Table
@@ -87013,7 +87013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=374;
show create table s;
Table Create Table
@@ -87021,7 +87021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=373;
show create table s;
Table Create Table
@@ -87029,7 +87029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=372;
show create table s;
Table Create Table
@@ -87037,7 +87037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=371;
show create table s;
Table Create Table
@@ -87045,7 +87045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=370;
show create table s;
Table Create Table
@@ -87053,7 +87053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=369;
show create table s;
Table Create Table
@@ -87061,7 +87061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=368;
show create table s;
Table Create Table
@@ -87069,7 +87069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=367;
show create table s;
Table Create Table
@@ -87077,7 +87077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=366;
show create table s;
Table Create Table
@@ -87085,7 +87085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=365;
show create table s;
Table Create Table
@@ -87093,7 +87093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=364;
show create table s;
Table Create Table
@@ -87101,7 +87101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=363;
show create table s;
Table Create Table
@@ -87109,7 +87109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=362;
show create table s;
Table Create Table
@@ -87117,7 +87117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=361;
show create table s;
Table Create Table
@@ -87125,7 +87125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=360;
show create table s;
Table Create Table
@@ -87133,7 +87133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=359;
show create table s;
Table Create Table
@@ -87141,7 +87141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=358;
show create table s;
Table Create Table
@@ -87149,7 +87149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=357;
show create table s;
Table Create Table
@@ -87157,7 +87157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=356;
show create table s;
Table Create Table
@@ -87165,7 +87165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=355;
show create table s;
Table Create Table
@@ -87173,7 +87173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=354;
show create table s;
Table Create Table
@@ -87181,7 +87181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=353;
show create table s;
Table Create Table
@@ -87189,7 +87189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=352;
show create table s;
Table Create Table
@@ -87197,7 +87197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=351;
show create table s;
Table Create Table
@@ -87205,7 +87205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=350;
show create table s;
Table Create Table
@@ -87213,7 +87213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=349;
show create table s;
Table Create Table
@@ -87221,7 +87221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=348;
show create table s;
Table Create Table
@@ -87229,7 +87229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=347;
show create table s;
Table Create Table
@@ -87237,7 +87237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=346;
show create table s;
Table Create Table
@@ -87245,7 +87245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=345;
show create table s;
Table Create Table
@@ -87253,7 +87253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=344;
show create table s;
Table Create Table
@@ -87261,7 +87261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=343;
show create table s;
Table Create Table
@@ -87269,7 +87269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=342;
show create table s;
Table Create Table
@@ -87277,7 +87277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=341;
show create table s;
Table Create Table
@@ -87285,7 +87285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=340;
show create table s;
Table Create Table
@@ -87293,7 +87293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=339;
show create table s;
Table Create Table
@@ -87301,7 +87301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=338;
show create table s;
Table Create Table
@@ -87309,7 +87309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=337;
show create table s;
Table Create Table
@@ -87317,7 +87317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=336;
show create table s;
Table Create Table
@@ -87325,7 +87325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=335;
show create table s;
Table Create Table
@@ -87333,7 +87333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=334;
show create table s;
Table Create Table
@@ -87341,7 +87341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=333;
show create table s;
Table Create Table
@@ -87349,7 +87349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=332;
show create table s;
Table Create Table
@@ -87357,7 +87357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=331;
show create table s;
Table Create Table
@@ -87365,7 +87365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=330;
show create table s;
Table Create Table
@@ -87373,7 +87373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=329;
show create table s;
Table Create Table
@@ -87381,7 +87381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=328;
show create table s;
Table Create Table
@@ -87389,7 +87389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=327;
show create table s;
Table Create Table
@@ -87397,7 +87397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=326;
show create table s;
Table Create Table
@@ -87405,7 +87405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=325;
show create table s;
Table Create Table
@@ -87413,7 +87413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=324;
show create table s;
Table Create Table
@@ -87421,7 +87421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=323;
show create table s;
Table Create Table
@@ -87429,7 +87429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=322;
show create table s;
Table Create Table
@@ -87437,7 +87437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=321;
show create table s;
Table Create Table
@@ -87445,7 +87445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=320;
show create table s;
Table Create Table
@@ -87453,7 +87453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=319;
show create table s;
Table Create Table
@@ -87461,7 +87461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=318;
show create table s;
Table Create Table
@@ -87469,7 +87469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=317;
show create table s;
Table Create Table
@@ -87477,7 +87477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=316;
show create table s;
Table Create Table
@@ -87485,7 +87485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=315;
show create table s;
Table Create Table
@@ -87493,7 +87493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=314;
show create table s;
Table Create Table
@@ -87501,7 +87501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=313;
show create table s;
Table Create Table
@@ -87509,7 +87509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=312;
show create table s;
Table Create Table
@@ -87517,7 +87517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=311;
show create table s;
Table Create Table
@@ -87525,7 +87525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=310;
show create table s;
Table Create Table
@@ -87533,7 +87533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=309;
show create table s;
Table Create Table
@@ -87541,7 +87541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=308;
show create table s;
Table Create Table
@@ -87549,7 +87549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=307;
show create table s;
Table Create Table
@@ -87557,7 +87557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=306;
show create table s;
Table Create Table
@@ -87565,7 +87565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=305;
show create table s;
Table Create Table
@@ -87573,7 +87573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=304;
show create table s;
Table Create Table
@@ -87581,7 +87581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=303;
show create table s;
Table Create Table
@@ -87589,7 +87589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=302;
show create table s;
Table Create Table
@@ -87597,7 +87597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=301;
show create table s;
Table Create Table
@@ -87605,7 +87605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=300;
show create table s;
Table Create Table
@@ -87613,7 +87613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=299;
show create table s;
Table Create Table
@@ -87621,7 +87621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=298;
show create table s;
Table Create Table
@@ -87629,7 +87629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=297;
show create table s;
Table Create Table
@@ -87637,7 +87637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=296;
show create table s;
Table Create Table
@@ -87645,7 +87645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=295;
show create table s;
Table Create Table
@@ -87653,7 +87653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=294;
show create table s;
Table Create Table
@@ -87661,7 +87661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=293;
show create table s;
Table Create Table
@@ -87669,7 +87669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=292;
show create table s;
Table Create Table
@@ -87677,7 +87677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=291;
show create table s;
Table Create Table
@@ -87685,7 +87685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=290;
show create table s;
Table Create Table
@@ -87693,7 +87693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=289;
show create table s;
Table Create Table
@@ -87701,7 +87701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=288;
show create table s;
Table Create Table
@@ -87709,7 +87709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=287;
show create table s;
Table Create Table
@@ -87717,7 +87717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=286;
show create table s;
Table Create Table
@@ -87725,7 +87725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=285;
show create table s;
Table Create Table
@@ -87733,7 +87733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=284;
show create table s;
Table Create Table
@@ -87741,7 +87741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=283;
show create table s;
Table Create Table
@@ -87749,7 +87749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=282;
show create table s;
Table Create Table
@@ -87757,7 +87757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=281;
show create table s;
Table Create Table
@@ -87765,7 +87765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=280;
show create table s;
Table Create Table
@@ -87773,7 +87773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=279;
show create table s;
Table Create Table
@@ -87781,7 +87781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=278;
show create table s;
Table Create Table
@@ -87789,7 +87789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=277;
show create table s;
Table Create Table
@@ -87797,7 +87797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=276;
show create table s;
Table Create Table
@@ -87805,7 +87805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=275;
show create table s;
Table Create Table
@@ -87813,7 +87813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=274;
show create table s;
Table Create Table
@@ -87821,7 +87821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=273;
show create table s;
Table Create Table
@@ -87829,7 +87829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=272;
show create table s;
Table Create Table
@@ -87837,7 +87837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=271;
show create table s;
Table Create Table
@@ -87845,7 +87845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=270;
show create table s;
Table Create Table
@@ -87853,7 +87853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=269;
show create table s;
Table Create Table
@@ -87861,7 +87861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=268;
show create table s;
Table Create Table
@@ -87869,7 +87869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=267;
show create table s;
Table Create Table
@@ -87877,7 +87877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=266;
show create table s;
Table Create Table
@@ -87885,7 +87885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=265;
show create table s;
Table Create Table
@@ -87893,7 +87893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=264;
show create table s;
Table Create Table
@@ -87901,7 +87901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=263;
show create table s;
Table Create Table
@@ -87909,7 +87909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=262;
show create table s;
Table Create Table
@@ -87917,7 +87917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=261;
show create table s;
Table Create Table
@@ -87925,7 +87925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=260;
show create table s;
Table Create Table
@@ -87933,7 +87933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=259;
show create table s;
Table Create Table
@@ -87941,7 +87941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=258;
show create table s;
Table Create Table
@@ -87949,7 +87949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=257;
show create table s;
Table Create Table
@@ -87957,7 +87957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=256;
show create table s;
Table Create Table
@@ -87965,7 +87965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=255;
show create table s;
Table Create Table
@@ -87973,7 +87973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=254;
show create table s;
Table Create Table
@@ -87981,7 +87981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=253;
show create table s;
Table Create Table
@@ -87989,7 +87989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=252;
show create table s;
Table Create Table
@@ -87997,7 +87997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=251;
show create table s;
Table Create Table
@@ -88005,7 +88005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=250;
show create table s;
Table Create Table
@@ -88013,7 +88013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=249;
show create table s;
Table Create Table
@@ -88021,7 +88021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=248;
show create table s;
Table Create Table
@@ -88029,7 +88029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=247;
show create table s;
Table Create Table
@@ -88037,7 +88037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=246;
show create table s;
Table Create Table
@@ -88045,7 +88045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=245;
show create table s;
Table Create Table
@@ -88053,7 +88053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=244;
show create table s;
Table Create Table
@@ -88061,7 +88061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=243;
show create table s;
Table Create Table
@@ -88069,7 +88069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=242;
show create table s;
Table Create Table
@@ -88077,7 +88077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=241;
show create table s;
Table Create Table
@@ -88085,7 +88085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=240;
show create table s;
Table Create Table
@@ -88093,7 +88093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=239;
show create table s;
Table Create Table
@@ -88101,7 +88101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=238;
show create table s;
Table Create Table
@@ -88109,7 +88109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=237;
show create table s;
Table Create Table
@@ -88117,7 +88117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=236;
show create table s;
Table Create Table
@@ -88125,7 +88125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=235;
show create table s;
Table Create Table
@@ -88133,7 +88133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=234;
show create table s;
Table Create Table
@@ -88141,7 +88141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=233;
show create table s;
Table Create Table
@@ -88149,7 +88149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=232;
show create table s;
Table Create Table
@@ -88157,7 +88157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=231;
show create table s;
Table Create Table
@@ -88165,7 +88165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=230;
show create table s;
Table Create Table
@@ -88173,7 +88173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=229;
show create table s;
Table Create Table
@@ -88181,7 +88181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=228;
show create table s;
Table Create Table
@@ -88189,7 +88189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=227;
show create table s;
Table Create Table
@@ -88197,7 +88197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=226;
show create table s;
Table Create Table
@@ -88205,7 +88205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=225;
show create table s;
Table Create Table
@@ -88213,7 +88213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=224;
show create table s;
Table Create Table
@@ -88221,7 +88221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=223;
show create table s;
Table Create Table
@@ -88229,7 +88229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=222;
show create table s;
Table Create Table
@@ -88237,7 +88237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=221;
show create table s;
Table Create Table
@@ -88245,7 +88245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=220;
show create table s;
Table Create Table
@@ -88253,7 +88253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=219;
show create table s;
Table Create Table
@@ -88261,7 +88261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=218;
show create table s;
Table Create Table
@@ -88269,7 +88269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=217;
show create table s;
Table Create Table
@@ -88277,7 +88277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=216;
show create table s;
Table Create Table
@@ -88285,7 +88285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=215;
show create table s;
Table Create Table
@@ -88293,7 +88293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=214;
show create table s;
Table Create Table
@@ -88301,7 +88301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=213;
show create table s;
Table Create Table
@@ -88309,7 +88309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=212;
show create table s;
Table Create Table
@@ -88317,7 +88317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=211;
show create table s;
Table Create Table
@@ -88325,7 +88325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=210;
show create table s;
Table Create Table
@@ -88333,7 +88333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=209;
show create table s;
Table Create Table
@@ -88341,7 +88341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=208;
show create table s;
Table Create Table
@@ -88349,7 +88349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=207;
show create table s;
Table Create Table
@@ -88357,7 +88357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=206;
show create table s;
Table Create Table
@@ -88365,7 +88365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=205;
show create table s;
Table Create Table
@@ -88373,7 +88373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=204;
show create table s;
Table Create Table
@@ -88381,7 +88381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=203;
show create table s;
Table Create Table
@@ -88389,7 +88389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=202;
show create table s;
Table Create Table
@@ -88397,7 +88397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=201;
show create table s;
Table Create Table
@@ -88405,7 +88405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=200;
show create table s;
Table Create Table
@@ -88413,7 +88413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=199;
show create table s;
Table Create Table
@@ -88421,7 +88421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=198;
show create table s;
Table Create Table
@@ -88429,7 +88429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=197;
show create table s;
Table Create Table
@@ -88437,7 +88437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=196;
show create table s;
Table Create Table
@@ -88445,7 +88445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=195;
show create table s;
Table Create Table
@@ -88453,7 +88453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=194;
show create table s;
Table Create Table
@@ -88461,7 +88461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=193;
show create table s;
Table Create Table
@@ -88469,7 +88469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=192;
show create table s;
Table Create Table
@@ -88477,7 +88477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=191;
show create table s;
Table Create Table
@@ -88485,7 +88485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=190;
show create table s;
Table Create Table
@@ -88493,7 +88493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=189;
show create table s;
Table Create Table
@@ -88501,7 +88501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=188;
show create table s;
Table Create Table
@@ -88509,7 +88509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=187;
show create table s;
Table Create Table
@@ -88517,7 +88517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=186;
show create table s;
Table Create Table
@@ -88525,7 +88525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=185;
show create table s;
Table Create Table
@@ -88533,7 +88533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=184;
show create table s;
Table Create Table
@@ -88541,7 +88541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=183;
show create table s;
Table Create Table
@@ -88549,7 +88549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=182;
show create table s;
Table Create Table
@@ -88557,7 +88557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=181;
show create table s;
Table Create Table
@@ -88565,7 +88565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=180;
show create table s;
Table Create Table
@@ -88573,7 +88573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=179;
show create table s;
Table Create Table
@@ -88581,7 +88581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=178;
show create table s;
Table Create Table
@@ -88589,7 +88589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=177;
show create table s;
Table Create Table
@@ -88597,7 +88597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=176;
show create table s;
Table Create Table
@@ -88605,7 +88605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=175;
show create table s;
Table Create Table
@@ -88613,7 +88613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=174;
show create table s;
Table Create Table
@@ -88621,7 +88621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=173;
show create table s;
Table Create Table
@@ -88629,7 +88629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=172;
show create table s;
Table Create Table
@@ -88637,7 +88637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=171;
show create table s;
Table Create Table
@@ -88645,7 +88645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=170;
show create table s;
Table Create Table
@@ -88653,7 +88653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=169;
show create table s;
Table Create Table
@@ -88661,7 +88661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=168;
show create table s;
Table Create Table
@@ -88669,7 +88669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=167;
show create table s;
Table Create Table
@@ -88677,7 +88677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=166;
show create table s;
Table Create Table
@@ -88685,7 +88685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=165;
show create table s;
Table Create Table
@@ -88693,7 +88693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=164;
show create table s;
Table Create Table
@@ -88701,7 +88701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=163;
show create table s;
Table Create Table
@@ -88709,7 +88709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=162;
show create table s;
Table Create Table
@@ -88717,7 +88717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=161;
show create table s;
Table Create Table
@@ -88725,7 +88725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=160;
show create table s;
Table Create Table
@@ -88733,7 +88733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=159;
show create table s;
Table Create Table
@@ -88741,7 +88741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=158;
show create table s;
Table Create Table
@@ -88749,7 +88749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=157;
show create table s;
Table Create Table
@@ -88757,7 +88757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=156;
show create table s;
Table Create Table
@@ -88765,7 +88765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=155;
show create table s;
Table Create Table
@@ -88773,7 +88773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=154;
show create table s;
Table Create Table
@@ -88781,7 +88781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=153;
show create table s;
Table Create Table
@@ -88789,7 +88789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=152;
show create table s;
Table Create Table
@@ -88797,7 +88797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=151;
show create table s;
Table Create Table
@@ -88805,7 +88805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=150;
show create table s;
Table Create Table
@@ -88813,7 +88813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=149;
show create table s;
Table Create Table
@@ -88821,7 +88821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=148;
show create table s;
Table Create Table
@@ -88829,7 +88829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=147;
show create table s;
Table Create Table
@@ -88837,7 +88837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=146;
show create table s;
Table Create Table
@@ -88845,7 +88845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=145;
show create table s;
Table Create Table
@@ -88853,7 +88853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=144;
show create table s;
Table Create Table
@@ -88861,7 +88861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=143;
show create table s;
Table Create Table
@@ -88869,7 +88869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=142;
show create table s;
Table Create Table
@@ -88877,7 +88877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=141;
show create table s;
Table Create Table
@@ -88885,7 +88885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=140;
show create table s;
Table Create Table
@@ -88893,7 +88893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=139;
show create table s;
Table Create Table
@@ -88901,7 +88901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=138;
show create table s;
Table Create Table
@@ -88909,7 +88909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=137;
show create table s;
Table Create Table
@@ -88917,7 +88917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=136;
show create table s;
Table Create Table
@@ -88925,7 +88925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=135;
show create table s;
Table Create Table
@@ -88933,7 +88933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=134;
show create table s;
Table Create Table
@@ -88941,7 +88941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=133;
show create table s;
Table Create Table
@@ -88949,7 +88949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=132;
show create table s;
Table Create Table
@@ -88957,7 +88957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=131;
show create table s;
Table Create Table
@@ -88965,7 +88965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=130;
show create table s;
Table Create Table
@@ -88973,7 +88973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=129;
show create table s;
Table Create Table
@@ -88981,7 +88981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=128;
show create table s;
Table Create Table
@@ -88989,7 +88989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=127;
show create table s;
Table Create Table
@@ -88997,7 +88997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=126;
show create table s;
Table Create Table
@@ -89005,7 +89005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=125;
show create table s;
Table Create Table
@@ -89013,7 +89013,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=124;
show create table s;
Table Create Table
@@ -89021,7 +89021,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=123;
show create table s;
Table Create Table
@@ -89029,7 +89029,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=122;
show create table s;
Table Create Table
@@ -89037,7 +89037,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=121;
show create table s;
Table Create Table
@@ -89045,7 +89045,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=120;
show create table s;
Table Create Table
@@ -89053,7 +89053,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=119;
show create table s;
Table Create Table
@@ -89061,7 +89061,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=118;
show create table s;
Table Create Table
@@ -89069,7 +89069,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=117;
show create table s;
Table Create Table
@@ -89077,7 +89077,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=116;
show create table s;
Table Create Table
@@ -89085,7 +89085,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=115;
show create table s;
Table Create Table
@@ -89093,7 +89093,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=114;
show create table s;
Table Create Table
@@ -89101,7 +89101,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=113;
show create table s;
Table Create Table
@@ -89109,7 +89109,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=112;
show create table s;
Table Create Table
@@ -89117,7 +89117,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=111;
show create table s;
Table Create Table
@@ -89125,7 +89125,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=110;
show create table s;
Table Create Table
@@ -89133,7 +89133,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=109;
show create table s;
Table Create Table
@@ -89141,7 +89141,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=108;
show create table s;
Table Create Table
@@ -89149,7 +89149,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=107;
show create table s;
Table Create Table
@@ -89157,7 +89157,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=106;
show create table s;
Table Create Table
@@ -89165,7 +89165,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=105;
show create table s;
Table Create Table
@@ -89173,7 +89173,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=104;
show create table s;
Table Create Table
@@ -89181,7 +89181,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=103;
show create table s;
Table Create Table
@@ -89189,7 +89189,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=102;
show create table s;
Table Create Table
@@ -89197,7 +89197,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=101;
show create table s;
Table Create Table
@@ -89205,7 +89205,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=100;
show create table s;
Table Create Table
@@ -89213,7 +89213,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=99;
show create table s;
Table Create Table
@@ -89221,7 +89221,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=98;
show create table s;
Table Create Table
@@ -89229,7 +89229,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=97;
show create table s;
Table Create Table
@@ -89237,7 +89237,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=96;
show create table s;
Table Create Table
@@ -89245,7 +89245,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=95;
show create table s;
Table Create Table
@@ -89253,7 +89253,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=94;
show create table s;
Table Create Table
@@ -89261,7 +89261,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=93;
show create table s;
Table Create Table
@@ -89269,7 +89269,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=92;
show create table s;
Table Create Table
@@ -89277,7 +89277,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=91;
show create table s;
Table Create Table
@@ -89285,7 +89285,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=90;
show create table s;
Table Create Table
@@ -89293,7 +89293,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=89;
show create table s;
Table Create Table
@@ -89301,7 +89301,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=88;
show create table s;
Table Create Table
@@ -89309,7 +89309,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=87;
show create table s;
Table Create Table
@@ -89317,7 +89317,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=86;
show create table s;
Table Create Table
@@ -89325,7 +89325,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=85;
show create table s;
Table Create Table
@@ -89333,7 +89333,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=84;
show create table s;
Table Create Table
@@ -89341,7 +89341,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=83;
show create table s;
Table Create Table
@@ -89349,7 +89349,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=82;
show create table s;
Table Create Table
@@ -89357,7 +89357,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=81;
show create table s;
Table Create Table
@@ -89365,7 +89365,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=80;
show create table s;
Table Create Table
@@ -89373,7 +89373,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=79;
show create table s;
Table Create Table
@@ -89381,7 +89381,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=78;
show create table s;
Table Create Table
@@ -89389,7 +89389,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=77;
show create table s;
Table Create Table
@@ -89397,7 +89397,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=76;
show create table s;
Table Create Table
@@ -89405,7 +89405,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=75;
show create table s;
Table Create Table
@@ -89413,7 +89413,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=74;
show create table s;
Table Create Table
@@ -89421,7 +89421,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=73;
show create table s;
Table Create Table
@@ -89429,7 +89429,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=72;
show create table s;
Table Create Table
@@ -89437,7 +89437,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=71;
show create table s;
Table Create Table
@@ -89445,7 +89445,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=70;
show create table s;
Table Create Table
@@ -89453,7 +89453,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=69;
show create table s;
Table Create Table
@@ -89461,7 +89461,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=68;
show create table s;
Table Create Table
@@ -89469,7 +89469,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=67;
show create table s;
Table Create Table
@@ -89477,7 +89477,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=66;
show create table s;
Table Create Table
@@ -89485,7 +89485,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=65;
show create table s;
Table Create Table
@@ -89493,7 +89493,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=64;
show create table s;
Table Create Table
@@ -89501,7 +89501,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=63;
show create table s;
Table Create Table
@@ -89509,7 +89509,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=62;
show create table s;
Table Create Table
@@ -89517,7 +89517,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=61;
show create table s;
Table Create Table
@@ -89525,7 +89525,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=60;
show create table s;
Table Create Table
@@ -89533,7 +89533,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=59;
show create table s;
Table Create Table
@@ -89541,7 +89541,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=58;
show create table s;
Table Create Table
@@ -89549,7 +89549,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=57;
show create table s;
Table Create Table
@@ -89557,7 +89557,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=56;
show create table s;
Table Create Table
@@ -89565,7 +89565,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=55;
show create table s;
Table Create Table
@@ -89573,7 +89573,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=54;
show create table s;
Table Create Table
@@ -89581,7 +89581,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=53;
show create table s;
Table Create Table
@@ -89589,7 +89589,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=52;
show create table s;
Table Create Table
@@ -89597,7 +89597,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=51;
show create table s;
Table Create Table
@@ -89605,7 +89605,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=50;
show create table s;
Table Create Table
@@ -89613,7 +89613,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=49;
show create table s;
Table Create Table
@@ -89621,7 +89621,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=48;
show create table s;
Table Create Table
@@ -89629,7 +89629,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=47;
show create table s;
Table Create Table
@@ -89637,7 +89637,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=46;
show create table s;
Table Create Table
@@ -89645,7 +89645,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=45;
show create table s;
Table Create Table
@@ -89653,7 +89653,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=44;
show create table s;
Table Create Table
@@ -89661,7 +89661,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=43;
show create table s;
Table Create Table
@@ -89669,7 +89669,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=42;
show create table s;
Table Create Table
@@ -89677,7 +89677,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=41;
show create table s;
Table Create Table
@@ -89685,7 +89685,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=40;
show create table s;
Table Create Table
@@ -89693,7 +89693,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=39;
show create table s;
Table Create Table
@@ -89701,7 +89701,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=38;
show create table s;
Table Create Table
@@ -89709,7 +89709,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=37;
show create table s;
Table Create Table
@@ -89717,7 +89717,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=36;
show create table s;
Table Create Table
@@ -89725,7 +89725,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=35;
show create table s;
Table Create Table
@@ -89733,7 +89733,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=34;
show create table s;
Table Create Table
@@ -89741,7 +89741,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=33;
show create table s;
Table Create Table
@@ -89749,7 +89749,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=32;
show create table s;
Table Create Table
@@ -89757,7 +89757,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=31;
show create table s;
Table Create Table
@@ -89765,7 +89765,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=30;
show create table s;
Table Create Table
@@ -89773,7 +89773,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=29;
show create table s;
Table Create Table
@@ -89781,7 +89781,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=28;
show create table s;
Table Create Table
@@ -89789,7 +89789,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=27;
show create table s;
Table Create Table
@@ -89797,7 +89797,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=26;
show create table s;
Table Create Table
@@ -89805,7 +89805,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=25;
show create table s;
Table Create Table
@@ -89813,7 +89813,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=24;
show create table s;
Table Create Table
@@ -89821,7 +89821,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=23;
show create table s;
Table Create Table
@@ -89829,7 +89829,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=22;
show create table s;
Table Create Table
@@ -89837,7 +89837,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=21;
show create table s;
Table Create Table
@@ -89845,7 +89845,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=20;
show create table s;
Table Create Table
@@ -89853,7 +89853,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=19;
show create table s;
Table Create Table
@@ -89861,7 +89861,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=18;
show create table s;
Table Create Table
@@ -89869,7 +89869,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=17;
show create table s;
Table Create Table
@@ -89877,7 +89877,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=16;
show create table s;
Table Create Table
@@ -89885,7 +89885,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=15;
show create table s;
Table Create Table
@@ -89893,7 +89893,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=14;
show create table s;
Table Create Table
@@ -89901,7 +89901,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=13;
show create table s;
Table Create Table
@@ -89909,7 +89909,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=12;
show create table s;
Table Create Table
@@ -89917,7 +89917,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=11;
show create table s;
Table Create Table
@@ -89925,7 +89925,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=10;
show create table s;
Table Create Table
@@ -89933,7 +89933,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=9;
show create table s;
Table Create Table
@@ -89941,7 +89941,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=8;
show create table s;
Table Create Table
@@ -89949,7 +89949,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=7;
show create table s;
Table Create Table
@@ -89957,7 +89957,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=6;
show create table s;
Table Create Table
@@ -89965,7 +89965,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=5;
show create table s;
Table Create Table
@@ -89973,7 +89973,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=4;
show create table s;
Table Create Table
@@ -89981,7 +89981,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=3;
show create table s;
Table Create Table
@@ -89989,7 +89989,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=2;
show create table s;
Table Create Table
@@ -89997,7 +89997,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
delete from s where a=1;
show create table s;
Table Create Table
@@ -90005,7 +90005,7 @@ s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `i_a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select count(*) from s use index();
count(*)
0
diff --git a/storage/tokudb/mysql-test/tokudb/r/information-schema-global-status.result b/storage/tokudb/mysql-test/tokudb/r/information-schema-global-status.result
index d4dc337c1ca..312e0d9daeb 100644
--- a/storage/tokudb/mysql-test/tokudb/r/information-schema-global-status.result
+++ b/storage/tokudb/mysql-test/tokudb/r/information-schema-global-status.result
@@ -85,6 +85,7 @@ TOKUDB_LEAF_NODES_FLUSHED_NOT_CHECKPOINT
TOKUDB_LEAF_NODES_FLUSHED_NOT_CHECKPOINT_BYTES
TOKUDB_LEAF_NODES_FLUSHED_NOT_CHECKPOINT_SECONDS
TOKUDB_LEAF_NODES_FLUSHED_NOT_CHECKPOINT_UNCOMPRESSED_BYTES
+TOKUDB_LEAF_NODE_COMPRESSION_RATIO
TOKUDB_LEAF_NODE_FULL_EVICTIONS
TOKUDB_LEAF_NODE_FULL_EVICTIONS_BYTES
TOKUDB_LEAF_NODE_PARTIAL_EVICTIONS
@@ -112,6 +113,7 @@ TOKUDB_LOCKTREE_WAIT_COUNT
TOKUDB_LOCKTREE_WAIT_ESCALATION_COUNT
TOKUDB_LOCKTREE_WAIT_ESCALATION_TIME
TOKUDB_LOCKTREE_WAIT_TIME
+TOKUDB_LOGGER_WAIT_LONG
TOKUDB_LOGGER_WRITES
TOKUDB_LOGGER_WRITES_BYTES
TOKUDB_LOGGER_WRITES_SECONDS
@@ -135,11 +137,13 @@ TOKUDB_NONLEAF_NODES_FLUSHED_TO_DISK_NOT_CHECKPOINT
TOKUDB_NONLEAF_NODES_FLUSHED_TO_DISK_NOT_CHECKPOINT_BYTES
TOKUDB_NONLEAF_NODES_FLUSHED_TO_DISK_NOT_CHECKPOINT_SECONDS
TOKUDB_NONLEAF_NODES_FLUSHED_TO_DISK_NOT_CHECKPOINT_UNCOMPRESSE
+TOKUDB_NONLEAF_NODE_COMPRESSION_RATIO
TOKUDB_NONLEAF_NODE_FULL_EVICTIONS
TOKUDB_NONLEAF_NODE_FULL_EVICTIONS_BYTES
TOKUDB_NONLEAF_NODE_PARTIAL_EVICTIONS
TOKUDB_NONLEAF_NODE_PARTIAL_EVICTIONS_BYTES
TOKUDB_NONLEAF_SERIALIZATION_TO_MEMORY_SECONDS
+TOKUDB_OVERALL_NODE_COMPRESSION_RATIO
TOKUDB_PIVOTS_FETCHED_FOR_PREFETCH
TOKUDB_PIVOTS_FETCHED_FOR_PREFETCH_BYTES
TOKUDB_PIVOTS_FETCHED_FOR_PREFETCH_SECONDS
diff --git a/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks-getset.result b/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks-getset.result
index c486139cfdd..01db8bbd8ab 100644
--- a/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks-getset.result
+++ b/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks-getset.result
@@ -1,23 +1,23 @@
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
4000
-set global tokudb_lock_timeout=1234567;
+set session tokudb_lock_timeout=1234567;
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
1234567
-set global tokudb_lock_timeout=0;
+set session tokudb_lock_timeout=0;
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
0
-set global tokudb_lock_timeout=5000000;
+set session tokudb_lock_timeout=5000000;
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
5000000
-set global tokudb_lock_timeout=1000000;
+set session tokudb_lock_timeout=1000000;
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
1000000
-set global tokudb_lock_timeout=4000;
+set session tokudb_lock_timeout=4000;
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
4000
diff --git a/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks.result b/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks.result
index 6f80c134041..060aeda803b 100644
--- a/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks.result
+++ b/storage/tokudb/mysql-test/tokudb/r/locks-blocking-row-locks.result
@@ -8,7 +8,8 @@ insert ignore t values(3, 9);
insert ignore t values(4, 16);
insert ignore t values(5, 25);
insert ignore t values(6, 36);
-set global tokudb_lock_timeout=0;
+set session tokudb_lock_timeout=0;
+set session tokudb_lock_timeout=0;
begin;
select * from t where a=1 for update;
a b
@@ -1067,7 +1068,8 @@ a b
5 25
6 36
commit;
-set global tokudb_lock_timeout=500;
+set session tokudb_lock_timeout=500;
+set session tokudb_lock_timeout=500;
begin;
select * from t where a=1 for update;
a b
@@ -2287,4 +2289,3 @@ update t set b=b where a>=2 and a<=4;
update t set b=b where a>=0 and a<=3;
commit;
drop table t;
-set global tokudb_lock_timeout=4000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-10.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-10.result
index 319048cfd8b..b0eedf1e33e 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-10.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-10.result
@@ -8,7 +8,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` varchar(100) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session transaction isolation level repeatable read;
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-11.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-11.result
index a89ba26a461..c7efe887e33 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-11.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-11.result
@@ -6,7 +6,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1);
begin;
insert into foo values (2);
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-12.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-12.result
index b307f487f03..e061dd7252a 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-12.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-12.result
@@ -7,7 +7,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1);
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-13.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-13.result
index 2f87ddb26cc..2073e3e26ce 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-13.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-13.result
@@ -7,7 +7,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
begin;
select * from foo;
a
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-14.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-14.result
index eecb674346f..8fb95595c85 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-14.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-14.result
@@ -7,7 +7,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
begin;
select * from foo;
a
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-15.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-15.result
index 0b7d96dd7b5..65732a84585 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-15.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-15.result
@@ -7,7 +7,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
begin;
select * from foo;
a
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-16.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-16.result
index 7ee801d88b2..0379dc05d5e 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-16.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-16.result
@@ -7,7 +7,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
begin;
select * from foo;
a
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-17.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-17.result
index fe3322b9fb7..c0191bedb47 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-17.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-17.result
@@ -8,7 +8,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session tokudb_load_save_space=0;
set session transaction isolation level repeatable read;
begin;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-18.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-18.result
index 1edda2650e2..c36a872fd30 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-18.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-18.result
@@ -8,7 +8,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session tokudb_load_save_space=1;
set session transaction isolation level repeatable read;
begin;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-21.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-21.result
index bee7c8b4549..88e6efd2b02 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-21.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-21.result
@@ -8,7 +8,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` varchar(100) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session transaction isolation level repeatable read;
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-22.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-22.result
index 5d986701785..7790a3ff5ff 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-22.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-22.result
@@ -8,7 +8,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` varchar(100) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session transaction isolation level repeatable read;
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-23.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-23.result
index 9ea3c631d17..1d2bcc175c7 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-23.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-23.result
@@ -8,7 +8,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` varchar(100) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session transaction isolation level repeatable read;
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-25.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-25.result
index 427d1ca5c3f..37e19f0cff5 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-25.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-25.result
@@ -10,14 +10,14 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` varchar(100) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table bar;
Table Create Table
bar CREATE TABLE `bar` (
`a` int(11) NOT NULL DEFAULT '0',
`b` varchar(100) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session transaction isolation level repeatable read;
begin;
# should be empty
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-3.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-3.result
index 684dd147b07..878bed00102 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-3.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-3.result
@@ -10,7 +10,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,1);
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-33.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-33.result
index 38acca99831..7a520ffb0e1 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-33.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-33.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400),(5,50,500),(6,60,600),(7,70,700),(8,80,800),(9,90,900);
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-34.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-34.result
index e1795bbc832..d725bd33c95 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-34.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-34.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400),(5,50,500),(6,60,600),(7,70,700),(8,80,800),(9,90,900);
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-35.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-35.result
index 86fb9670fce..4daac248bd8 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-35.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-35.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400),(5,50,500),(6,60,600),(7,70,700),(8,80,800),(9,90,900);
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-36.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-36.result
index d982ff3249d..ba4a455e529 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-36.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-36.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400),(5,50,500),(6,60,600),(7,70,700),(8,80,800),(9,90,900);
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-37.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-37.result
index 3e1ad76dd3d..5209adeeac6 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-37.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-37.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400),(5,50,500),(6,60,600),(7,70,700),(8,80,800),(9,90,900);
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-38.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-38.result
index 5ee3c72e91e..936a50b1709 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-38.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-38.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
create table foo_isam (a int, b int, c int) engine=MyISAM;
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400),(5,50,500),(6,60,600),(7,70,700),(8,80,800),(9,90,900);
begin;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-39.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-39.result
index 905d5c2292a..cd9baa23c09 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-39.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-39.result
@@ -7,7 +7,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1),(2),(3);
set session transaction isolation level repeatable read;
begin;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-4.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-4.result
index ce8aa725f5b..499eca4053d 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-4.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-4.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
#should read (1,1)
select * from foo;
a b
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-40.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-40.result
index 1330fe41c50..da77da35ce3 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-40.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-40.result
@@ -7,7 +7,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1),(2),(3);
set session transaction isolation level repeatable read;
begin;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-5.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-5.result
index 47204dcc7e1..3d58de843f0 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-5.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-5.result
@@ -9,7 +9,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,1);
set session transaction isolation level repeatable read;
begin;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-6.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-6.result
index a0c8185b1ab..e388c2dc5fd 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-6.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-6.result
@@ -10,7 +10,7 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (100,100);
begin;
insert into foo values (1,100);
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-7.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-7.result
index ba78f786c31..61f115b9f64 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-7.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-7.result
@@ -9,7 +9,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,100);
select * from foo;
a b
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-8.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-8.result
index 4e310d2d001..0f1584692da 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-8.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-8.result
@@ -11,7 +11,7 @@ foo CREATE TABLE `foo` (
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400),(5,50,500);
create table foo_isam (a int, b int, c int);
# should use key b
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-9.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-9.result
index b3b45d731f2..b1de77d61b2 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-9.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-9.result
@@ -8,7 +8,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` varchar(100) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
set session transaction isolation level repeatable read;
begin;
select * from foo;
diff --git a/storage/tokudb/mysql-test/tokudb/r/mvcc-checksum-locks.result b/storage/tokudb/mysql-test/tokudb/r/mvcc-checksum-locks.result
index c6bea70265b..aa199dd04a9 100644
--- a/storage/tokudb/mysql-test/tokudb/r/mvcc-checksum-locks.result
+++ b/storage/tokudb/mysql-test/tokudb/r/mvcc-checksum-locks.result
@@ -6,7 +6,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values (1),(2),(3);
begin;
insert into foo values (4);
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_binary.result b/storage/tokudb/mysql-test/tokudb/r/type_binary.result
index d3a4582404e..c2f1ded6d92 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_binary.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_binary.result
@@ -25,7 +25,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`s1` varbinary(20) DEFAULT NULL,
`s2` varbinary(20) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values (0x41,0x4100),(0x41,0x4120),(0x4100,0x4120);
select hex(s1), hex(s2) from t1;
hex(s1) hex(s2)
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_bit.result b/storage/tokudb/mysql-test/tokudb/r/type_bit.result
index 1d5432e2dd6..b9813451d94 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_bit.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_bit.result
@@ -43,7 +43,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(1) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (a bit(64));
insert into t1 values
@@ -498,7 +498,7 @@ show create table t2;
Table Create Table
t2 CREATE TABLE `t2` (
`a` bit(7) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1, t2;
create table t1 (id1 int(11), b1 bit(1));
create table t2 (id2 int(11), b2 bit(1));
@@ -701,6 +701,6 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(8) DEFAULT NULL,
KEY `a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
End of 5.1 tests
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_blob.result b/storage/tokudb/mysql-test/tokudb/r/type_blob.result
index 21d9f57770e..ed9b554e5cb 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_blob.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_blob.result
@@ -26,12 +26,12 @@ Table Create Table
t3 CREATE TABLE `t3` (
`a` mediumtext,
`b` mediumblob
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create TABLE t4;
Table Create Table
t4 CREATE TABLE `t4` (
`c` mediumtext CHARACTER SET utf8 NOT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1,t2,t3,t4;
CREATE TABLE t1 (a char(257) default "hello");
ERROR 42000: Column length too big for column 'a' (max = 255); use BLOB or TEXT instead
@@ -365,7 +365,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` text,
KEY `a` (`a`(2100))
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
CREATE TABLE t1 (
t1_id bigint(21) NOT NULL auto_increment,
@@ -672,7 +672,7 @@ t1 CREATE TABLE `t1` (
`e` int(11) DEFAULT NULL,
PRIMARY KEY (`a`,`b`,`c`(255),`d`),
KEY `a` (`a`,`b`,`d`,`e`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
CREATE table t1 (a blob);
insert into t1 values ('b'),('a\0'),('a'),('a '),('aa'),(NULL);
@@ -751,7 +751,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` text
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values (default);
select * from t1;
a
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_datetime.result b/storage/tokudb/mysql-test/tokudb/r/type_datetime.result
index 9d7377c65bc..e6701b0a0b5 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_datetime.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_datetime.result
@@ -204,7 +204,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`da` date DEFAULT '1962-03-03',
`dt` datetime DEFAULT '1962-03-03 00:00:00'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values ();
insert into t1 values ('2007-03-23 13:49:38','2007-03-23 13:49:38');
Warnings:
@@ -572,7 +572,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`da` date DEFAULT '1962-03-03',
`dt` datetime DEFAULT '1962-03-03 00:00:00'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values ();
insert into t1 values ('2007-03-23 13:49:38','2007-03-23 13:49:38');
Warnings:
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_decimal.result b/storage/tokudb/mysql-test/tokudb/r/type_decimal.result
index f54e1e5d5d5..647065bdedc 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_decimal.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_decimal.result
@@ -712,14 +712,14 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`d` decimal(5,0) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (d decimal);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`d` decimal(10,0) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (d decimal(66,0));
ERROR 42000: Too big precision 66 specified for 'd'. Maximum is 65.
@@ -880,7 +880,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` decimal(10,0) DEFAULT NULL,
`b` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select round(a,b) as c from t1 order by c;
c
1000
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_enum.result b/storage/tokudb/mysql-test/tokudb/r/type_enum.result
index 85ca32f1697..cd96b7520b2 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_enum.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_enum.result
@@ -1628,14 +1628,14 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` enum('','a','b') NOT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (a enum (' ','a','b ') not null default 'b ');
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` enum('','a','b') NOT NULL DEFAULT 'b'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (a enum ('0','1'));
insert into t1 set a='foobar';
@@ -1660,7 +1660,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` enum('ä','1','2') NOT NULL DEFAULT 'ä'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
set names latin1;
CREATE TABLE t1 (
@@ -1672,7 +1672,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT '1',
`b` enum('value','öäü_value','ÊÃÕ') NOT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show columns from t1;
Field Type Null Key Default Extra
a int(11) YES 1
@@ -1701,7 +1701,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` enum('ä','ö','ü') CHARACTER SET utf8 DEFAULT 'ü'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values ('ä'), ('ö'), ('ü');
select a from t1 order by a;
a
@@ -1719,7 +1719,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` enum('ä','ö','ü') DEFAULT 'ü'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select a from t1 order by a;
a
ä
@@ -1753,28 +1753,28 @@ Table Create Table
t1 CREATE TABLE `t1` (
`f1` int(11) DEFAULT NULL,
`f2` enum('ÿÿ') DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1(russian enum('E','F','EÿF','FÿE') NOT NULL DEFAULT'E');
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`russian` enum('E','F','EÿF','FÿE') NOT NULL DEFAULT 'E'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1(denormal enum('E','F','E,F','F,E') NOT NULL DEFAULT'E');
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`denormal` enum('E','F','E,F','F,E') NOT NULL DEFAULT 'E'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1(russian_deviant enum('E','F','EÿF','F,E') NOT NULL DEFAULT'E');
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`russian_deviant` enum('E','F','EÿF','F,E') NOT NULL DEFAULT 'E'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
CREATE TABLE t1 (
id INT AUTO_INCREMENT PRIMARY KEY,
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_float.result b/storage/tokudb/mysql-test/tokudb/r/type_float.result
index e9abecc1dee..cdb3db55f75 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_float.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_float.result
@@ -96,7 +96,7 @@ t2 CREATE TABLE `t2` (
`col2` double(22,5) DEFAULT NULL,
`col3` double DEFAULT NULL,
`col4` double DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1,t2;
create table t1 (a float);
insert into t1 values (1);
@@ -239,7 +239,7 @@ show create table t3;
Table Create Table
t3 CREATE TABLE `t3` (
`d` double DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1, t2, t3;
create table t1 select 105213674794682365.00 + 0.0 x;
show warnings;
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_nchar.result b/storage/tokudb/mysql-test/tokudb/r/type_nchar.result
index 0dc39a49a7e..0e261807c5c 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_nchar.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_nchar.result
@@ -5,47 +5,47 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c` char(10) CHARACTER SET utf8 DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (c national char(10));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c` char(10) CHARACTER SET utf8 DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (c national varchar(10));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (c nvarchar(10));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (c nchar varchar(10));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (c national character varying(10));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (c nchar varying(10));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_newdecimal.result b/storage/tokudb/mysql-test/tokudb/r/type_newdecimal.result
index 3d41c8f7eb0..14ff0fbd1ca 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_newdecimal.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_newdecimal.result
@@ -60,7 +60,7 @@ t1 CREATE TABLE `t1` (
`if(0, NULL, 1.2)` decimal(2,1) DEFAULT NULL,
`if(1, 0.22e1, 1.1)` double NOT NULL DEFAULT '0',
`if(1E0, 1.1, 1.2)` decimal(2,1) NOT NULL DEFAULT '0.0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 select nullif(1.1, 1.1), nullif(1.1, 1.2), nullif(1.1, 0.11e1), nullif(1.0, 1), nullif(1, 1.0), nullif(1, 1.1);
select * from t1;
@@ -75,7 +75,7 @@ t1 CREATE TABLE `t1` (
`nullif(1.0, 1)` decimal(2,1) DEFAULT NULL,
`nullif(1, 1.0)` int(1) DEFAULT NULL,
`nullif(1, 1.1)` int(1) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (a decimal(4,2));
insert into t1 value (10000), (1.1e10), ("11111"), (100000.1);
@@ -179,7 +179,7 @@ t1 CREATE TABLE `t1` (
`truncate(-5678.123451,-3)` decimal(4,0) NOT NULL DEFAULT '0',
`abs(-1.1)` decimal(3,1) NOT NULL DEFAULT '0.0',
`-(-1.1)` decimal(2,1) NOT NULL DEFAULT '0.0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
set session sql_mode='traditional';
select 1e10/0e0;
@@ -773,7 +773,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`0.5` decimal(2,1) NOT NULL DEFAULT '0.0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
select round(1.5),round(2.5);
round(1.5) round(2.5)
@@ -936,14 +936,14 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`sl` decimal(5,5) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (sl decimal(65, 30));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`sl` decimal(65,30) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (
f1 decimal unsigned not null default 17.49,
@@ -976,7 +976,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`f0` decimal(30,30) unsigned zerofill NOT NULL DEFAULT '0.000000000000000000000000000000',
`f1` decimal(10,0) unsigned zerofill NOT NULL DEFAULT '0000000000'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
drop procedure if exists wg2;
create procedure wg2()
@@ -1026,7 +1026,7 @@ t1 CREATE TABLE `t1` (
`my_double` double DEFAULT NULL,
`my_varchar` varchar(50) DEFAULT NULL,
`my_decimal` decimal(65,30) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
INSERT INTO t1 SET my_float = 1.175494345e-32,
my_double = 1.175494345e-32,
my_varchar = '1.175494345e-32';
@@ -1540,7 +1540,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`5.05 / 0.014` decimal(10,6) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select * from t1;
5.05 / 0.014
360.714286
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_set.result b/storage/tokudb/mysql-test/tokudb/r/type_set.result
index 9d8574ce5ab..f155cb53809 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_set.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_set.result
@@ -5,14 +5,14 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` set('','a','b') NOT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
create table t1 (a set (' ','a','b ') not null default 'b ');
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` set('','a','b') NOT NULL DEFAULT 'b'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
CREATE TABLE t1 ( user varchar(64) NOT NULL default '', path varchar(255) NOT NULL default '', privilege set('select','RESERVED30','RESERVED29','RESERVED28','RESERVED27','RESERVED26', 'RESERVED25','RESERVED24','data.delete','RESERVED22','RESERVED21', 'RESERVED20','data.insert.none','data.insert.approve', 'data.insert.delete','data.insert.move','data.insert.propose', 'data.insert.reject','RESERVED13','RESERVED12','RESERVED11','RESERVED10', 'RESERVED09','data.update','RESERVED07','RESERVED06','RESERVED05', 'RESERVED04','metadata.delete','metadata.put','RESERVED01','RESERVED00') NOT NULL default '', KEY user (user) ) ENGINE=MyISAM CHARSET=utf8;
DROP TABLE t1;
@@ -22,7 +22,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`s` set('a','A') CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values ('a'),('a,A'),('A,a'),('A');
select s from t1 order by s;
s
@@ -84,5 +84,5 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`f1` set('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41','42','43','44','45','46','47','48','49','50','51','52','53','54','55','56','57','58','59','60','61','62','63','64','1') DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_timestamp.result b/storage/tokudb/mysql-test/tokudb/r/type_timestamp.result
index 9154c84d5a7..6d0f6946ed9 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_timestamp.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_timestamp.result
@@ -195,7 +195,7 @@ t1 CREATE TABLE `t1` (
`t1` timestamp NOT NULL DEFAULT '2003-01-01 00:00:00',
`t2` datetime DEFAULT NULL,
`t3` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show columns from t1;
Field Type Null Key Default Extra
t1 timestamp NO 2003-01-01 00:00:00
@@ -219,7 +219,7 @@ t1 CREATE TABLE `t1` (
`t1` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`t2` datetime DEFAULT NULL,
`t3` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show columns from t1;
Field Type Null Key Default Extra
t1 timestamp NO CURRENT_TIMESTAMP
@@ -245,7 +245,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`t1` timestamp NOT NULL DEFAULT '2003-01-01 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
`t2` datetime DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show columns from t1;
Field Type Null Key Default Extra
t1 timestamp NO 2003-01-01 00:00:00 on update CURRENT_TIMESTAMP
@@ -270,7 +270,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`t1` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`t2` datetime DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show columns from t1;
Field Type Null Key Default Extra
t1 timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
@@ -296,7 +296,7 @@ t1 CREATE TABLE `t1` (
`t1` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`t2` datetime DEFAULT NULL,
`t3` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show columns from t1;
Field Type Null Key Default Extra
t1 timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
@@ -322,7 +322,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`t1` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`t2` datetime DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show columns from t1;
Field Type Null Key Default Extra
t1 timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
@@ -377,7 +377,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` timestamp NULL DEFAULT NULL,
`b` timestamp NULL DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values (NULL, NULL);
SET TIMESTAMP=1000000017;
insert into t1 values ();
@@ -392,7 +392,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`b` timestamp NULL DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values (NULL, NULL);
SET TIMESTAMP=1000000018;
insert into t1 values ();
@@ -407,7 +407,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` timestamp NULL DEFAULT NULL,
`b` timestamp NULL DEFAULT '2003-01-01 00:00:00'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values (NULL, NULL);
insert into t1 values (DEFAULT, DEFAULT);
select * from t1;
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_varchar.result b/storage/tokudb/mysql-test/tokudb/r/type_varchar.result
index 31ee00766ce..d12fbbf99bd 100644
--- a/storage/tokudb/mysql-test/tokudb/r/type_varchar.result
+++ b/storage/tokudb/mysql-test/tokudb/r/type_varchar.result
@@ -9,7 +9,7 @@ t1 CREATE TABLE `t1` (
`c` char(3) DEFAULT NULL,
`e` enum('abc','def','ghi') DEFAULT NULL,
`t` text
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table vchar;
Table Create Table
vchar CREATE TABLE `vchar` (
@@ -400,21 +400,21 @@ Table Create Table
t1 CREATE TABLE `t1` (
`f1` varchar(65500) DEFAULT NULL,
KEY `index1` (`f1`(10))
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table t1 modify f1 varchar(255);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`f1` varchar(255) DEFAULT NULL,
KEY `index1` (`f1`(10))
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table t1 modify f1 tinytext;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`f1` tinytext,
KEY `index1` (`f1`(10))
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t1;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(f1 VARCHAR(100) DEFAULT 'test');
@@ -423,37 +423,6 @@ DROP TABLE IF EXISTS t1;
CREATE TABLE t1(f1 CHAR(100) DEFAULT 'test');
INSERT INTO t1 VALUES(SUBSTR(f1, 1, 3));
DROP TABLE IF EXISTS t1;
-drop table if exists t1, t2, t3;
-create table t3 (
-id int(11),
-en varchar(255) character set utf8,
-cz varchar(255) character set utf8
-);
-truncate table t3;
-insert into t3 (id, en, cz) values
-(1,'en string 1','cz string 1'),
-(2,'en string 2','cz string 2'),
-(3,'en string 3','cz string 3');
-create table t1 (
-id int(11),
-name_id int(11)
-);
-insert into t1 (id, name_id) values (1,1), (2,3), (3,3);
-create table t2 (id int(11));
-insert into t2 (id) values (1), (2), (3);
-select t1.*, t2.id, t3.en, t3.cz from t1 left join t2 on t1.id=t2.id
-left join t3 on t1.id=t3.id order by t3.id;
-Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
-def test t1 t1 id id 3 11 1 Y 32768 0 63
-def test t1 t1 name_id name_id 3 11 1 Y 32768 0 63
-def test t2 t2 id id 3 11 1 Y 32768 0 63
-def test t3 t3 en en 253 255 11 Y 0 0 8
-def test t3 t3 cz cz 253 255 11 Y 0 0 8
-id name_id id en cz
-1 1 1 en string 1 cz string 1
-2 3 2 en string 2 cz string 2
-3 3 3 en string 3 cz string 3
-drop table t1, t2, t3;
CREATE TABLE t1 (a CHAR(2));
INSERT INTO t1 VALUES (10), (50), (30), ('1a'), (60), ('t');
SELECT a,(a + 0) FROM t1 ORDER BY a;
diff --git a/storage/tokudb/mysql-test/tokudb/t/auto_increment.test b/storage/tokudb/mysql-test/tokudb/t/auto_increment.test
index 6df22c574b3..48a2122174a 100644
--- a/storage/tokudb/mysql-test/tokudb/t/auto_increment.test
+++ b/storage/tokudb/mysql-test/tokudb/t/auto_increment.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
#
# Test of auto_increment; The test for BDB tables is in bdb.test
#
diff --git a/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary.test b/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary.test
index 6ee6b78024b..ba983da2d0d 100644
--- a/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary.test
+++ b/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary.test
@@ -1,3 +1,5 @@
+source include/have_tokudb.inc;
+set default_storage_engine='tokudb';
disable_warnings;
drop table if exists t;
enable_warnings;
diff --git a/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary_traditional.test b/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary_traditional.test
index 2d5cc32d9b3..72b93fcf4e0 100644
--- a/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary_traditional.test
+++ b/storage/tokudb/mysql-test/tokudb/t/auto_increment_boundary_traditional.test
@@ -1,3 +1,5 @@
+source include/have_tokudb.inc;
+set default_storage_engine='tokudb';
disable_warnings;
drop table if exists t;
enable_warnings;
diff --git a/storage/tokudb/mysql-test/tokudb/t/bulk-fetch.test b/storage/tokudb/mysql-test/tokudb/t/bulk-fetch.test
index 7df722e7b24..46b1ea106a3 100644
--- a/storage/tokudb/mysql-test/tokudb/t/bulk-fetch.test
+++ b/storage/tokudb/mysql-test/tokudb/t/bulk-fetch.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# Tokutek
# Test that bulk fetch works with various table types
diff --git a/storage/tokudb/mysql-test/tokudb/t/bulk-fetch2.test b/storage/tokudb/mysql-test/tokudb/t/bulk-fetch2.test
index 38ad76832ff..2afe959537f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/bulk-fetch2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/bulk-fetch2.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# Tokutek
# Test that bulk fetch works with various table types
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_1.test b/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_1.test
index 9ac4f525533..9990839cb8d 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_1.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# generated from change_column_all.py
# test random column change on wide tables
--source include/big_test.inc
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_10.test b/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_10.test
index 171502afcd0..bfd3f5fd240 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_10.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_all_1000_10.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# generated from change_all.py
# test random column change on wide tables
--source include/big_test.inc
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_auto_inc.test b/storage/tokudb/mysql-test/tokudb/t/change_column_auto_inc.test
index a8385fa5fcf..c554f622111 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_auto_inc.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_auto_inc.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_bin.test b/storage/tokudb/mysql-test/tokudb/t/change_column_bin.test
index 6d502a08567..48294ba07b5 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_bin.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_bin.test
@@ -1,3 +1,5 @@
+source include/big_test.inc;
+source include/have_tokudb.inc;
# this test is generated by change_bin.py
# test binary expansion is hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_descriptor.test b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_descriptor.test
index 6e2f77fd4af..bda62ab3646 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_descriptor.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_descriptor.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t, ti;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_key.test b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_key.test
index 4b93e793613..c486f60b0a7 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_key.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_key.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that expansion of a binary field in a key is not supported
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_pad.test b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_pad.test
index 397e5f02271..11ad567d3ac 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_pad.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_pad.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that binary pad is zero
--disable_warnings
DROP TABLE IF EXISTS s,t;
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_rename.test b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_rename.test
index 87a182ef254..fc978cbf2e4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_bin_rename.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_bin_rename.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_char_rename.py
# test char expansion + rename is hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_blob.test b/storage/tokudb/mysql-test/tokudb/t/change_column_blob.test
index 52383dcfb46..585c943766f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_blob.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_blob.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_blob.py
# generate hot blob expansion test cases
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char.test
index eff3d8428ba..07e73f3a6a4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char.test
@@ -1,3 +1,5 @@
+source include/big_test.inc;
+source include/have_tokudb.inc;
# this test is generated by change_char.py
# test char expansion
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_binary.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_binary.test
index c42ad085a79..e30e7044f4a 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_binary.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_binary.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_char_binary.py
# test that char(X) <-> binary(X) is not hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_charbinary.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_charbinary.test
index bc4abe8594c..31ab487fe02 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_charbinary.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_charbinary.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_char_charbinary.py
# test that char(X) <-> char(X) binary is not hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_charset.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_charset.test
index 6b9a1492592..c1656b00695 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_charset.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_charset.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that char change with different charset is not hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_default.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_default.test
index da383090f97..e4fd32b7148 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_default.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_default.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that char expansion + default change works
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_descriptor.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_descriptor.test
index d57b69c3288..ddfd2027bd4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_descriptor.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_descriptor.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t, ti;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_key.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_key.test
index 263028fdd34..c1d8a2b496b 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_key.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_key.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that expansion of a char field in a key is not supported
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_null.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_null.test
index cc97b370ed2..1aec846dc79 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_null.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_null.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that char(X) to char(Y) not null is not supported (different type)
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_char_rename.test b/storage/tokudb/mysql-test/tokudb/t/change_column_char_rename.test
index 144faa6d7d9..03a87d7378e 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_char_rename.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_char_rename.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_char_rename.py
# test char expansion + rename is hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_int.test b/storage/tokudb/mysql-test/tokudb/t/change_column_int.test
index 17eece7ed6a..27e609def63 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_int.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_int.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_int.py
# test int expansion is hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_int_default.test b/storage/tokudb/mysql-test/tokudb/t/change_column_int_default.test
index 7fe235ec578..f02e8fe6871 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_int_default.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_int_default.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that int expansion + default change works
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_int_descriptor.test b/storage/tokudb/mysql-test/tokudb/t/change_column_int_descriptor.test
index add14fbcff8..1fdf6a08ebd 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_int_descriptor.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_int_descriptor.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t, ti;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_int_key.test b/storage/tokudb/mysql-test/tokudb/t/change_column_int_key.test
index 1df2b124ed6..ea2ca53f641 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_int_key.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_int_key.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_int_key.py
# ensure that changing an int column that is part of a key is not hot
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_int_not_supported.test b/storage/tokudb/mysql-test/tokudb/t/change_column_int_not_supported.test
index 7d595b6b3c6..2b6a8d76eac 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_int_not_supported.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_int_not_supported.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_int_not_supported.py
# ensure that int types are only expanded and are not cnverted to some other type
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_int_rename.test b/storage/tokudb/mysql-test/tokudb/t/change_column_int_rename.test
index 5b37af13496..ce17dd1a21f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_int_rename.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_int_rename.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_int_rename.py
--disable_warnings
DROP TABLE IF EXISTS t, ti;
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_multiple_columns.test b/storage/tokudb/mysql-test/tokudb/t/change_column_multiple_columns.test
index c2f1210192b..1b729bea92f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_multiple_columns.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_multiple_columns.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test generated by change_multiple_columns.py
# this test generated multiple column changes which should all fail since we support only one at a time
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_text.test b/storage/tokudb/mysql-test/tokudb/t/change_column_text.test
index b46ef8e355f..cec49e2ba20 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_text.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_text.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# this test is generated by change_text.py
# generate hot text expansion test cases
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin.test
index 111e04cbc35..88fc0ce1837 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varbinary expansion is done inplace while varbinary shrinkage is not
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_cross256.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_cross256.test
index f7e08e474a6..e1600a22e25 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_cross256.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_cross256.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_default.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_default.test
index 16b3c7fe31b..d8c88ba8afc 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_default.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_default.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varbinary expansion + default change works
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_descriptor.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_descriptor.test
index 8b51124ed03..7c247e8afe7 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_descriptor.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_descriptor.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t, ti;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_key.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_key.test
index 0d932136ad3..d96104750f7 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_key.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_key.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varbinary expansion of a field in a key is not supported
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_multiple.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_multiple.test
index 34f5fc78c90..84eea5ea561 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_multiple.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_multiple.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varbinary expansion changes the length sum works
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_null.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_null.test
index d0aebe57b43..2f95f2446c4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_null.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_null.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varbinary(X) to varbinary(X) not null is not supported (different type)
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_rename.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_rename.test
index 31372ad5e5d..1f424128bab 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_rename.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_rename.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varbinary changed with column rename work
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_varchar.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_varchar.test
index 4fb805a111f..c226d2ac619 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_varchar.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varbin_varchar.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varbin to varchar change is not inplace
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar.test
index d8c865b317a..f2b4e3cbf78 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar expansion is done inplace while varchar shrinkage is not
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_charset.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_charset.test
index b47083b5059..a84edf3dea1 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_charset.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_charset.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar change with different charset is not supported inplace
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_cross256.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_cross256.test
index aefe7046149..896160b26c5 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_cross256.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_cross256.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_default.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_default.test
index 2dba1e9efaa..f8240e97c5d 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_default.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_default.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar expansion + default change works
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_descriptor.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_descriptor.test
index 549d8a35c62..12840d29ef9 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_descriptor.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_descriptor.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t, ti;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_key.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_key.test
index d815581190b..2cd69548132 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_key.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_key.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar expansion of a field in a key is not supported
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_null.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_null.test
index bdc25a0d57e..3f194d6c381 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_null.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_null.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar(X) to varchar(X) not null is not supported (different type)
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_a.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_a.test
index 7dee1966464..202c3a47fc7 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_a.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_a.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_b.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_b.test
index 598efb71f8d..e8cd05418d9 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_b.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_prefix_b.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_rename.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_rename.test
index 82ae926a6fe..1692c4839b9 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_rename.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_rename.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar changed with column rename work
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_sum_cross256.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_sum_cross256.test
index 5365610f8d4..02cf485bb0e 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_sum_cross256.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_sum_cross256.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar expansion changes the length sum works
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_varbin.test b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_varbin.test
index ae505270adb..c1d30b4028c 100644
--- a/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_varbin.test
+++ b/storage/tokudb/mysql-test/tokudb/t/change_column_varchar_varbin.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that varchar to varbin change is not supported inplace
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_1829.test b/storage/tokudb/mysql-test/tokudb/t/cluster_1829.test
index 1827da25241..d2b9bd294c3 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_1829.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_1829.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-0.test b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-0.test
index dac123e89d3..eaac82d260d 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-0.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that the query planner picks clustering keys for joins
# create table s
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-1.test b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-1.test
index bc802e4f2aa..7ed2fc2cd7d 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-1.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that the query planner picks clustering keys for joins
# create table s
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-2.test b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-2.test
index f8c53fca62a..5b648a5325c 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-2.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that the query planner picks clustering keys for joins
# create table s
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-3.test b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-3.test
index b77163a80b5..afbfeed2799 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_2968-3.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_2968-3.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that the query planner picks clustering keys for 3 table joins
# create table s
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_create_table.test b/storage/tokudb/mysql-test/tokudb/t/cluster_create_table.test
index d7dc7fabdb5..c2196bf681e 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_create_table.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_create_table.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_delete.test b/storage/tokudb/mysql-test/tokudb/t/cluster_delete.test
index f016ba59290..1c0ebad94e4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_delete.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_delete.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_delete2.test b/storage/tokudb/mysql-test/tokudb/t/cluster_delete2.test
index 6685247afc0..645ec8a7846 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_delete2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_delete2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_filter.test b/storage/tokudb/mysql-test/tokudb/t/cluster_filter.test
index 54ed24245bd..4880eded89b 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_filter.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_filter.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--echo *** Bug #22169 ***
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test
index 05760b20206..2abc9a91ff1 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--echo *** Bug #22169 ***
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_key.test b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_key.test
index dfe1756ada7..192e56f10a1 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_key.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_key.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--echo *** Bug #22169 ***
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar.test b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar.test
index fe95b5d1db8..3a30919a8ff 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--echo *** Bug #22169 ***
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_and_int_hidden.test b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_and_int_hidden.test
index c90994f325a..fd2b4551b21 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_and_int_hidden.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_and_int_hidden.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--echo *** Bug #22169 ***
@@ -83,10 +83,12 @@ explain select * from t1;
select * from t1;
--replace_column 7 NULL 9 NULL;
+--replace_result index index_or_range range index_or_range
explain select * from t1 where b > 0;
select * from t1 where b > 0;
--replace_column 7 NULL 9 NULL;
+--replace_result index index_or_range range index_or_range
explain select * from t1 where d > "0";
select * from t1 where d > "0";
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_hidden.test b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_hidden.test
index 75c8e035422..d1be871c7d2 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_hidden.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_hidden.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--echo *** Bug #22169 ***
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_varchar_prefix.test b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_varchar_prefix.test
index 8fb4f20eeb1..74740d7adbe 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_filter_varchar_prefix.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_filter_varchar_prefix.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--echo *** Bug #22169 ***
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_key.test b/storage/tokudb/mysql-test/tokudb/t/cluster_key.test
index 200d4d222f8..9280324b8cc 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_key.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_key.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_query_plan.test b/storage/tokudb/mysql-test/tokudb/t/cluster_query_plan.test
index f9e30847bea..a438653958a 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_query_plan.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_query_plan.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993.test b/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993.test
index 2dec54c3988..26d5900b3be 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993_2.test b/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993_2.test
index e503f4fa432..3d66b785fb7 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993_2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_tokudb_bug_993_2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_update.test b/storage/tokudb/mysql-test/tokudb/t/cluster_update.test
index 0a3b7cee621..ce5a0254372 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_update.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_update.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/cluster_update2.test b/storage/tokudb/mysql-test/tokudb/t/cluster_update2.test
index 9d9d2d8ce5d..d402eac1c41 100644
--- a/storage/tokudb/mysql-test/tokudb/t/cluster_update2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/cluster_update2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/ctype_ascii.test b/storage/tokudb/mysql-test/tokudb/t/ctype_ascii.test
index 14505ce0f45..26c89044d32 100644
--- a/storage/tokudb/mysql-test/tokudb/t/ctype_ascii.test
+++ b/storage/tokudb/mysql-test/tokudb/t/ctype_ascii.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #27562: ascii.xml invalid?
diff --git a/storage/tokudb/mysql-test/tokudb/t/ctype_collate.test b/storage/tokudb/mysql-test/tokudb/t/ctype_collate.test
index c9e560b888b..76a6221da4e 100644
--- a/storage/tokudb/mysql-test/tokudb/t/ctype_collate.test
+++ b/storage/tokudb/mysql-test/tokudb/t/ctype_collate.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
DROP TABLE IF EXISTS t1;
diff --git a/storage/tokudb/mysql-test/tokudb/t/ctype_cp1250_ch.test b/storage/tokudb/mysql-test/tokudb/t/ctype_cp1250_ch.test
index 62f77500cb7..42aede8fa5e 100644
--- a/storage/tokudb/mysql-test/tokudb/t/ctype_cp1250_ch.test
+++ b/storage/tokudb/mysql-test/tokudb/t/ctype_cp1250_ch.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
SET DEFAULT_STORAGE_ENGINE='tokudb';
-- source include/have_cp1250_ch.inc
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/ctype_cp1251.test b/storage/tokudb/mysql-test/tokudb/t/ctype_cp1251.test
index 0ff9e83e6a3..3b0f56893df 100644
--- a/storage/tokudb/mysql-test/tokudb/t/ctype_cp1251.test
+++ b/storage/tokudb/mysql-test/tokudb/t/ctype_cp1251.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# Test of charset cp1251
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-0.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-0.test
index baa770931eb..c83eab1aa18 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-0.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test
index 36afbb30ba6..1caef42c6b4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test
index 78b179f9e5a..5af43207f33 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test
index 0f83f456b0b..75785ef5ff4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test
index 43fd188dcf5..a2f4ba70393 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test
index e55b4aca2a9..5d165c53a9e 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test
index 5b6c3af3a56..066d95151a4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on with replace into optimization
# test is checking #3406
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test
index 632b1693fd0..a3774dd476d 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test
index cd84459dcd7..d237efea727 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test b/storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test
index 1038a633b52..88374c896ec 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test
@@ -1,5 +1,6 @@
# This test takes rather long time so let us run it only in --big-test mode
--source include/big_test.inc
+source include/have_tokudb.inc;
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_released.test b/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_released.test
index b42c2dd9175..9f3b4f58dc0 100644
--- a/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_released.test
+++ b/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_released.test
@@ -31,7 +31,9 @@ send insert into t values (1);
# should find the presence of a lock on 1st transaction
connection default;
-real_sleep 1; # give some time for conn_b to block
+let $wait_condition= select count(*)=1 from information_schema.processlist where info='insert into t values (1)' and state='update';
+source include/wait_condition.inc;
+
replace_column 1 TRX_ID 2 MYSQL_ID;
select * from information_schema.tokudb_locks;
@@ -77,6 +79,9 @@ send replace into t values (1);
# should find the presence of a lock on 1st transaction
connection default;
+let $wait_condition= select count(*)=1 from information_schema.processlist where info='replace into t values (1)' and state='update';
+source include/wait_condition.inc;
+
replace_column 1 TRX_ID 2 MYSQL_ID;
select * from information_schema.tokudb_locks;
diff --git a/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_timeout.test b/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_timeout.test
index 8d21e601380..e43cb8c2f50 100644
--- a/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_timeout.test
+++ b/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_timeout.test
@@ -28,7 +28,8 @@ send insert into t values (1);
# should find the presence of a lock on 1st transaction
connection default;
-real_sleep 1; # give some time for conn_b to get blocked
+let $wait_condition= select count(*)=1 from information_schema.processlist where info='insert into t values (1)' and state='update';
+source include/wait_condition.inc;
replace_column 1 TRX_ID 2 MYSQL_ID;
select * from information_schema.tokudb_locks;
diff --git a/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_locks_released.test b/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_locks_released.test
index 6a1b96c53a2..52cbf7fde94 100644
--- a/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_locks_released.test
+++ b/storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_locks_released.test
@@ -34,7 +34,8 @@ send insert into t values (1);
# should find the presence of a lock on 2nd transaction
connection default;
-real_sleep 1; # give some time for conn_b to get blocked
+let $wait_condition= select count(*)=1 from information_schema.processlist where info='insert into t values (1)' and state='update';
+source include/wait_condition.inc;
replace_column 1 TRX_ID 2 MYSQL_ID;
eval select * from information_schema.tokudb_locks;
diff --git a/storage/tokudb/mysql-test/tokudb/t/information-schema-global-status.test b/storage/tokudb/mysql-test/tokudb/t/information-schema-global-status.test
index 40ccbb5a1f9..d984862b00a 100644
--- a/storage/tokudb/mysql-test/tokudb/t/information-schema-global-status.test
+++ b/storage/tokudb/mysql-test/tokudb/t/information-schema-global-status.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# check that we have the appropriate engine-specific values in information_schema.global_status
select variable_name from information_schema.global_status where variable_name like 'tokudb%' order by variable_name asc; \ No newline at end of file
diff --git a/storage/tokudb/mysql-test/tokudb/t/lockretry-insert.writelocktable.test b/storage/tokudb/mysql-test/tokudb/t/lockretry-insert.writelocktable.test
index 62835d27117..b25449cc3c4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/lockretry-insert.writelocktable.test
+++ b/storage/tokudb/mysql-test/tokudb/t/lockretry-insert.writelocktable.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert.test b/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert.test
index fbabb6ceaa3..6f3a7b73b5c 100644
--- a/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert.test
+++ b/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert2.test b/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert2.test
index 6eec3efc8e8..4f80484b907 100644
--- a/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/lockretry-writelocktable.insert2.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks-getset.test b/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks-getset.test
index 90202aa8296..a2fb427fac2 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks-getset.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks-getset.test
@@ -1,16 +1,17 @@
+source include/have_tokudb.inc;
# 9/22/2011
# Test that getting and setting the value for
# blocking row lock timeout works correctly.
-# Make sure we can read/write the global lock timeout system variable
+# Make sure we can read/write the session lock timeout system variable
select @@tokudb_lock_timeout;
-set global tokudb_lock_timeout=1234567;
+set session tokudb_lock_timeout=1234567;
select @@tokudb_lock_timeout;
-set global tokudb_lock_timeout=0;
+set session tokudb_lock_timeout=0;
select @@tokudb_lock_timeout;
-set global tokudb_lock_timeout=5000000;
+set session tokudb_lock_timeout=5000000;
select @@tokudb_lock_timeout;
-set global tokudb_lock_timeout=1000000;
+set session tokudb_lock_timeout=1000000;
select @@tokudb_lock_timeout;
-set global tokudb_lock_timeout=4000;
+set session tokudb_lock_timeout=4000;
select @@tokudb_lock_timeout;
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks.test b/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks.test
index 90e58abc50e..008770c6083 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-blocking-row-locks.test
@@ -1,6 +1,7 @@
+source include/have_tokudb.inc;
# Tokutek
# Blocking row lock tests;
-# Generated by blocking-row-locks-testgen.py on 2011-11-11;
+# Generated by locks-blocking-row-locks-testgen.py on 2013-10-14;
# prepare with some common parameters
connect(conn1, localhost, root);
@@ -22,7 +23,10 @@ insert ignore t values(5, 25);
insert ignore t values(6, 36);
# testing with timeout 0
-set global tokudb_lock_timeout=0;
+connection conn1;
+set session tokudb_lock_timeout=0;
+connection conn2;
+set session tokudb_lock_timeout=0;
# testing each point query vs each point query
# testing conflict "select for update" vs. "select for update"
@@ -842,7 +846,10 @@ commit;
connection conn1;
# testing with timeout 500
-set global tokudb_lock_timeout=500;
+connection conn1;
+set session tokudb_lock_timeout=500;
+connection conn2;
+set session tokudb_lock_timeout=500;
# testing each point query vs each point query
# testing conflict "select for update" vs. "select for update"
@@ -1971,5 +1978,4 @@ connection conn2;
reap;
# clean it all up
drop table t;
-set global tokudb_lock_timeout=4000;
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-delete-deadlock-1.test b/storage/tokudb/mysql-test/tokudb/t/locks-delete-deadlock-1.test
index 67c1a1fb44c..7a39c04f8ca 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-delete-deadlock-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-delete-deadlock-1.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that delete only takes write locks when tokudb_use_write_locks is asserted
# t1 scans all of the rows in a table and deletes 1 of them
# t1 grabs a write range lock on -infinity +infinity
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-no-read-lock-serializable-autocommit.test b/storage/tokudb/mysql-test/tokudb/t/locks-no-read-lock-serializable-autocommit.test
index d1d00a5bf06..0db1424f754 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-no-read-lock-serializable-autocommit.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-no-read-lock-serializable-autocommit.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# Tokutek
# test that read locks are not taken with serializable isolation and
# autocommit on, refs 3532
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-select-update-1.test b/storage/tokudb/mysql-test/tokudb/t/locks-select-update-1.test
index 90d8e0b0db6..1f8fb039092 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-select-update-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-select-update-1.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that select for update is executed with serializable isolation
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-select-update-2.test b/storage/tokudb/mysql-test/tokudb/t/locks-select-update-2.test
index ae7f79aca74..0945fc39e58 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-select-update-2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-select-update-2.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that select for update is executed with serializable isolation
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-select-update-3.test b/storage/tokudb/mysql-test/tokudb/t/locks-select-update-3.test
index 64077ba24fd..a563f061add 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-select-update-3.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-select-update-3.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that select for update is executed with serializable isolation
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/locks-update-deadlock-1.test b/storage/tokudb/mysql-test/tokudb/t/locks-update-deadlock-1.test
index 53abf49820b..a9c90862b71 100644
--- a/storage/tokudb/mysql-test/tokudb/t/locks-update-deadlock-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/locks-update-deadlock-1.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test that update only take write locks
# t1 scans all of the rows in a table and updates 1 of them
# t1 grabs a write range lock on -infinity +infinity
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-1.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-1.test
index 889e69f161a..dd9bb3f66f8 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-1.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# ticket 895 is a query optimization problem with the primary key
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-10.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-10.test
index 7e39eb38a46..82531790d9a 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-10.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-10.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-11.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-11.test
index 003d4c9a376..2b8c8a66e36 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-11.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-11.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-12.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-12.test
index 5ce773a88c7..b81e0df50a8 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-12.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-12.test
@@ -1,6 +1,6 @@
# simple serializable test
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-13.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-13.test
index b757a091ed1..7d6e2ba85e6 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-13.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-13.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-14.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-14.test
index 6a3a906f138..6b270ee75e8 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-14.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-14.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-15.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-15.test
index 71c60132c86..532e1ea3d87 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-15.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-15.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-16.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-16.test
index 9bf2440b485..24e57ac057f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-16.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-16.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-17.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-17.test
index 9091c0d240b..91deb5f73ce 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-17.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-17.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-18.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-18.test
index f2bd812acea..e1116848ebc 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-18.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-18.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-19.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-19.test
index a5f0282ee0a..79825b76c1b 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-19.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-19.test
@@ -1,7 +1,7 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
-#--source include/not_5_5.inc
+--source include/have_tokudb.inc
+--source include/not_5_5.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-2.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-2.test
index 2bcd2c93220..a6c16e49213 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-2.test
@@ -1,6 +1,6 @@
# test simple MVCC, that a transaction does not read something committed after it
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-20.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-20.test
index bf4fe541730..ce1c75171c8 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-20.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-20.test
@@ -1,7 +1,7 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
-#--source include/not_5_5.inc
+--source include/have_tokudb.inc
+--source include/not_5_5.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-21.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-21.test
index 3daf523909a..e6bc44beed6 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-21.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-21.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-22.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-22.test
index 033c7821c0d..62d231385c7 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-22.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-22.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-23.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-23.test
index 79cc2875aeb..c59818772e0 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-23.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-23.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-24.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-24.test
index 7ea731946fb..555f34fe99f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-24.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-24.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-25.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-25.test
index a32240419a2..b553fcddd3f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-25.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-25.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-26.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-26.test
index ace99513401..7711b3105ce 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-26.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-26.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# ticket 895 is a query optimization problem with the primary key
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-27.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-27.test
index 82709099968..3bc3efe6e9f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-27.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-27.test
@@ -1,7 +1,7 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
-#--source include/not_5_5.inc
+--source include/have_tokudb.inc
+--source include/not_5_5.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-28.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-28.test
index 64991727804..80682b993d5 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-28.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-28.test
@@ -1,6 +1,6 @@
# verify that serializable properly reads provisional delete and actual value
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-committed.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-committed.test
index 73b744e3124..4a8a0cbea61 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-committed.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-committed.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-uncommitted.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-uncommitted.test
index aab38346670..467b53a3e13 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-uncommitted.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-2808-read-uncommitted.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-29.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-29.test
index dc03e6d808b..35cc1f9846c 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-29.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-29.test
@@ -1,6 +1,6 @@
# simple keyrange64 test, ensure that it reads number of leafentries in the system
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-3.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-3.test
index 49d1994c02e..3323393ff0f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-3.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-3.test
@@ -1,7 +1,7 @@
# test simple mvcc, that a transaction does not read a transaction's element that was live when it began
set session transaction isolation level repeatable read;
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-30.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-30.test
index f9dfe0e75d3..24a5d5446b8 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-30.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-30.test
@@ -1,6 +1,6 @@
# simple keyrange64 test, ensure that it reads number of leafentries in the system
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-31.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-31.test
index 4d18d07ea58..edafb0887d1 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-31.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-31.test
@@ -1,6 +1,6 @@
# simple keyrange64 test, ensure that it reads number of leafentries in the system
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-33.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-33.test
index 30c73ff0caa..1fb496ee260 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-33.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-33.test
@@ -1,6 +1,6 @@
# verify a db_get sees data that transaction inserted, and that it does not read data that is too new
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-34.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-34.test
index acacfbdcc94..6264f69aaca 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-34.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-34.test
@@ -1,6 +1,6 @@
# verify a db_get does not read a transaction's data because it is in live list
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-35.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-35.test
index 4c06e504639..96a10a762ee 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-35.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-35.test
@@ -1,6 +1,6 @@
# verify a db_get does not read a read committed transaction's data because it is in live list
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-36.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-36.test
index 384ff62a696..b96ba7aac14 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-36.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-36.test
@@ -1,6 +1,6 @@
# verify a db_get does not read a read committed transaction's data because it is in live list
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-37.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-37.test
index e789765947d..cedc5fe0986 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-37.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-37.test
@@ -1,6 +1,6 @@
# verify a db_get does not read a read committed transaction's data because it is in live list
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-38.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-38.test
index 0d06d55e66a..d085738aad3 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-38.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-38.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-39.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-39.test
index 1727c2113aa..a5fbea3c8fa 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-39.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-39.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-4.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-4.test
index 87c2e5677a5..26691990ae6 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-4.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-4.test
@@ -1,6 +1,6 @@
# test that we read data that was committed before we began
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-40.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-40.test
index f70b3d8cb6c..8987023b567 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-40.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-40.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-5.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-5.test
index 8ddb453b2ee..1308407a58f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-5.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-5.test
@@ -1,6 +1,6 @@
# verify that repeatable read uses one snapshot, whereas read committed keeps taking new ones
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-6.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-6.test
index 2d4d35e01e2..1562de6e5a5 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-6.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-6.test
@@ -1,6 +1,6 @@
# make sure reads done during writes take read locks
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-7.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-7.test
index e85292d9b85..7acedb74e45 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-7.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-7.test
@@ -1,6 +1,6 @@
# make sure reads done during writes take read locks
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-8.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-8.test
index 0e0b3cb3273..198350012e1 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-8.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-8.test
@@ -1,6 +1,6 @@
# verify that serializable get of a repeatable read transaction grabs read lock
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-9.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-9.test
index 1b17317a075..13529944a1b 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-9.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-9.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/mvcc-checksum-locks.test b/storage/tokudb/mysql-test/tokudb/t/mvcc-checksum-locks.test
index 16309eec40d..b4fde5dfcca 100644
--- a/storage/tokudb/mysql-test/tokudb/t/mvcc-checksum-locks.test
+++ b/storage/tokudb/mysql-test/tokudb/t/mvcc-checksum-locks.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb/t/nested_txn_autocommit.test b/storage/tokudb/mysql-test/tokudb/t/nested_txn_autocommit.test
index 65e01d7038c..223eff5b7a3 100644
--- a/storage/tokudb/mysql-test/tokudb/t/nested_txn_autocommit.test
+++ b/storage/tokudb/mysql-test/tokudb/t/nested_txn_autocommit.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='TokuDB';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/nested_txn_begin.test b/storage/tokudb/mysql-test/tokudb/t/nested_txn_begin.test
index b8d60d45db9..06f4a30c5c1 100644
--- a/storage/tokudb/mysql-test/tokudb/t/nested_txn_begin.test
+++ b/storage/tokudb/mysql-test/tokudb/t/nested_txn_begin.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='TokuDB';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/nested_txn_implicit_commit.test b/storage/tokudb/mysql-test/tokudb/t/nested_txn_implicit_commit.test
index cd1ce5a0f87..5eb6b87a4ee 100644
--- a/storage/tokudb/mysql-test/tokudb/t/nested_txn_implicit_commit.test
+++ b/storage/tokudb/mysql-test/tokudb/t/nested_txn_implicit_commit.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='TokuDB';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/prim_key_1.test b/storage/tokudb/mysql-test/tokudb/t/prim_key_1.test
index 07c8e312552..adb1f944fd9 100644
--- a/storage/tokudb/mysql-test/tokudb/t/prim_key_1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/prim_key_1.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/prim_key_2.test b/storage/tokudb/mysql-test/tokudb/t/prim_key_2.test
index 7ec2cc8e823..fa05b5d91b5 100644
--- a/storage/tokudb/mysql-test/tokudb/t/prim_key_2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/prim_key_2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/prim_key_3.test b/storage/tokudb/mysql-test/tokudb/t/prim_key_3.test
index cd6a690a23a..11851035c27 100644
--- a/storage/tokudb/mysql-test/tokudb/t/prim_key_3.test
+++ b/storage/tokudb/mysql-test/tokudb/t/prim_key_3.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/prim_key_4.test b/storage/tokudb/mysql-test/tokudb/t/prim_key_4.test
index 497a2ddafb9..b323380a4dd 100644
--- a/storage/tokudb/mysql-test/tokudb/t/prim_key_4.test
+++ b/storage/tokudb/mysql-test/tokudb/t/prim_key_4.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/prim_key_5.test b/storage/tokudb/mysql-test/tokudb/t/prim_key_5.test
index 5c4b291aa55..c8c152170ee 100644
--- a/storage/tokudb/mysql-test/tokudb/t/prim_key_5.test
+++ b/storage/tokudb/mysql-test/tokudb/t/prim_key_5.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/prim_key_6.test b/storage/tokudb/mysql-test/tokudb/t/prim_key_6.test
index 573c4e7d649..548e660fe8f 100644
--- a/storage/tokudb/mysql-test/tokudb/t/prim_key_6.test
+++ b/storage/tokudb/mysql-test/tokudb/t/prim_key_6.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb/t/replace-ignore.test b/storage/tokudb/mysql-test/tokudb/t/replace-ignore.test
index fed8d5bf368..5b95ac7db63 100644
--- a/storage/tokudb/mysql-test/tokudb/t/replace-ignore.test
+++ b/storage/tokudb/mysql-test/tokudb/t/replace-ignore.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# Tokutek
# Test that replace into and insert ignore insertions
# work under various index schemas.
diff --git a/storage/tokudb/mysql-test/tokudb/t/rows-32m-0.test b/storage/tokudb/mysql-test/tokudb/t/rows-32m-0.test
index 3935293ca69..58a5ac1b8e3 100644
--- a/storage/tokudb/mysql-test/tokudb/t/rows-32m-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/rows-32m-0.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# verify that trickle loads or bulk loads can not insert values > 32MB
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/rows-32m-1.test b/storage/tokudb/mysql-test/tokudb/t/rows-32m-1.test
index ac35afd74a4..39feddf77be 100644
--- a/storage/tokudb/mysql-test/tokudb/t/rows-32m-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/rows-32m-1.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# verify that trickle loads or bulk loads can not insert values > 32MB
SET DEFAULT_STORAGE_ENGINE='tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb/t/rows-32m-rand-insert.test b/storage/tokudb/mysql-test/tokudb/t/rows-32m-rand-insert.test
index 2899ec2e749..c26e79913d0 100644
--- a/storage/tokudb/mysql-test/tokudb/t/rows-32m-rand-insert.test
+++ b/storage/tokudb/mysql-test/tokudb/t/rows-32m-rand-insert.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# do a lot of longblob insertions up to 32MB-4 in size with a random key
--source include/big_test.inc
diff --git a/storage/tokudb/mysql-test/tokudb/t/rows-32m-seq-insert.test b/storage/tokudb/mysql-test/tokudb/t/rows-32m-seq-insert.test
index 74a743cb22d..5c3e63e98d0 100644
--- a/storage/tokudb/mysql-test/tokudb/t/rows-32m-seq-insert.test
+++ b/storage/tokudb/mysql-test/tokudb/t/rows-32m-seq-insert.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# do a lot of longblob insertions up to 32MB-4 in size with seq primary key
--source include/big_test.inc
diff --git a/storage/tokudb/mysql-test/tokudb/t/savepoint-3.test b/storage/tokudb/mysql-test/tokudb/t/savepoint-3.test
index bd75a93e7c0..8fff8ab498d 100644
--- a/storage/tokudb/mysql-test/tokudb/t/savepoint-3.test
+++ b/storage/tokudb/mysql-test/tokudb/t/savepoint-3.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'TokuDB';
delimiter |;
diff --git a/storage/tokudb/mysql-test/tokudb/t/simple_delete_all.test b/storage/tokudb/mysql-test/tokudb/t/simple_delete_all.test
index 7ebaabd0413..f4a0c782b98 100644
--- a/storage/tokudb/mysql-test/tokudb/t/simple_delete_all.test
+++ b/storage/tokudb/mysql-test/tokudb/t/simple_delete_all.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# verify that delete from table leaves the table empty
--disable_warnings
drop table if exists t;
diff --git a/storage/tokudb/mysql-test/tokudb/t/simple_join_tokudb_myisam.test b/storage/tokudb/mysql-test/tokudb/t/simple_join_tokudb_myisam.test
index 68b301cdb8a..77fc4afcb51 100644
--- a/storage/tokudb/mysql-test/tokudb/t/simple_join_tokudb_myisam.test
+++ b/storage/tokudb/mysql-test/tokudb/t/simple_join_tokudb_myisam.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# simple join tokudb and innodb
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/simple_truncate.test b/storage/tokudb/mysql-test/tokudb/t/simple_truncate.test
index 84647e94152..57eace950a4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/simple_truncate.test
+++ b/storage/tokudb/mysql-test/tokudb/t/simple_truncate.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# verify that truncate table leaves the table empty
--disable_warnings
drop table if exists t;
diff --git a/storage/tokudb/mysql-test/tokudb/t/truncate_row_count.test b/storage/tokudb/mysql-test/tokudb/t/truncate_row_count.test
index 4b3848fc0da..fea4d67eba4 100644
--- a/storage/tokudb/mysql-test/tokudb/t/truncate_row_count.test
+++ b/storage/tokudb/mysql-test/tokudb/t/truncate_row_count.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# verify that truncate table leaves the table empty and sets the row count
# to zero.
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/truncate_txn_commit.test b/storage/tokudb/mysql-test/tokudb/t/truncate_txn_commit.test
index dcafc5844ae..2a8cc3ab16b 100644
--- a/storage/tokudb/mysql-test/tokudb/t/truncate_txn_commit.test
+++ b/storage/tokudb/mysql-test/tokudb/t/truncate_txn_commit.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test truncate commit
set autocommit=off;
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/truncate_txn_rollback.test b/storage/tokudb/mysql-test/tokudb/t/truncate_txn_rollback.test
index 744713b450a..98d4b9c80e5 100644
--- a/storage/tokudb/mysql-test/tokudb/t/truncate_txn_rollback.test
+++ b/storage/tokudb/mysql-test/tokudb/t/truncate_txn_rollback.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# test truncate commit
set autocommit=off;
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb/t/type_varchar.test b/storage/tokudb/mysql-test/tokudb/t/type_varchar.test
index 66500497a95..7d59f6a04b1 100644
--- a/storage/tokudb/mysql-test/tokudb/t/type_varchar.test
+++ b/storage/tokudb/mysql-test/tokudb/t/type_varchar.test
@@ -151,48 +151,6 @@ INSERT INTO t1 VALUES(SUBSTR(f1, 1, 3));
DROP TABLE IF EXISTS t1;
#
-# Bug#14897 "ResultSet.getString("table.column") sometimes doesn't find the
-# column"
-# Test that after upgrading an old 4.1 VARCHAR column to 5.0 VARCHAR we preserve
-# the original column metadata.
-#
---disable_warnings
-drop table if exists t1, t2, t3;
---enable_warnings
-
-create table t3 (
- id int(11),
- en varchar(255) character set utf8,
- cz varchar(255) character set utf8
-);
-#remove_file $MYSQLD_DATADIR/test/t3.frm;
-copy_file $MYSQL_TEST_DIR/std_data/14897.frm $MYSQLD_DATADIR/test/t3.frm;
-truncate table t3;
-insert into t3 (id, en, cz) values
-(1,'en string 1','cz string 1'),
-(2,'en string 2','cz string 2'),
-(3,'en string 3','cz string 3');
-
-create table t1 (
- id int(11),
- name_id int(11)
-);
-insert into t1 (id, name_id) values (1,1), (2,3), (3,3);
-
-create table t2 (id int(11));
-insert into t2 (id) values (1), (2), (3);
-
-# max_length is different for varchar fields in ps-protocol and we can't
-# replace a single metadata column, disable PS protocol
---disable_ps_protocol
---enable_metadata
-select t1.*, t2.id, t3.en, t3.cz from t1 left join t2 on t1.id=t2.id
-left join t3 on t1.id=t3.id order by t3.id;
---disable_metadata
---enable_ps_protocol
-drop table t1, t2, t3;
-
-#
# Bug #11927: Warnings shown for CAST( chr as signed) but not (chr + 0)
#
CREATE TABLE t1 (a CHAR(2));
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/r/hot_create_unique_index.result b/storage/tokudb/mysql-test/tokudb_add_index/r/hot_create_unique_index.result
index ef4fb853d87..9d187d8bed6 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/r/hot_create_unique_index.result
+++ b/storage/tokudb/mysql-test/tokudb_add_index/r/hot_create_unique_index.result
@@ -1,3 +1,4 @@
+set default_storage_engine='tokudb';
drop table if exists t;
create table t (id int auto_increment primary key, x int);
create unique index x on t (x);
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/1522.test b/storage/tokudb/mysql-test/tokudb_add_index/t/1522.test
index c3d04e0174d..e676d937ca2 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/1522.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/1522.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_1.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_1.test
index 545ddd73559..950b97e5b44 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_1.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_1.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_10.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_10.test
index 5350ff8f716..30eaffb5ce2 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_10.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_10.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_11.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_11.test
index c9fe5915e81..1c06c370044 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_11.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_11.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_12.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_12.test
index b683b8f88a7..0cadd79f87c 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_12.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_12.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_13.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_13.test
index d41a3ce8685..3efbe8d6d2f 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_13.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_13.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_14.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_14.test
index b3443827105..e5e62a41f86 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_14.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_14.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_16.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_16.test
index 3a1c077e2c9..3fc4a01afbb 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_16.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_16.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_17.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_17.test
index 00660e5c6ce..fdbdcbdb34f 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_17.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_17.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_18.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_18.test
index 22c3423db11..618815015bf 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_18.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_18.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_2.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_2.test
index cffdc4a31ce..889c35c67a5 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_2.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_3.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_3.test
index 11df86ecf58..ae7c650babc 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_3.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_3.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_4.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_4.test
index 64dada79e5d..24ce67390e8 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_4.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_4.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test
index 8fa44de9cae..7acb727a8ea 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test
@@ -1,9 +1,4 @@
-if (`select @@tokudb_version <= "7.1.0"`)
-{
- --skip Not fixed in TokuDB 7.1.0 or earlier
-}
-
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_7.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_7.test
index 8fb23e27132..ef35fb83ee9 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_7.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_7.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_8.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_8.test
index f745d449c7a..5a0480b0f27 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_8.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_8.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_9.test b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_9.test
index a685b70f370..0e0ac3430e1 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_9.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/add_index_9.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
# Bug #22169: Crash with count(distinct)
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23691.test b/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23691.test
index 2e05aab7908..cc26965efbe 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23691.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23691.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = tokudb;
#
# Bug #23691: Falcon: searches fail if partial index
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23692.test b/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23692.test
index 5121c416962..de9b8793f4e 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23692.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/falcon_bug_23692.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET @@DEFAULT_STORAGE_ENGINE = tokudb;
#
# Bug #23692: Falcon: searches fail if data is 0x00
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/hot_create_unique_index.test b/storage/tokudb/mysql-test/tokudb_add_index/t/hot_create_unique_index.test
index fe830dddab5..827e3bb0501 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/hot_create_unique_index.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/hot_create_unique_index.test
@@ -3,6 +3,7 @@
source include/have_tokudb.inc;
source include/have_debug.inc;
+set default_storage_engine='tokudb';
disable_warnings;
drop table if exists t;
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/t/tokudb_bug_1152.test b/storage/tokudb/mysql-test/tokudb_add_index/t/tokudb_bug_1152.test
index fd205ca101d..530a0cc590c 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/t/tokudb_bug_1152.test
+++ b/storage/tokudb/mysql-test/tokudb_add_index/t/tokudb_bug_1152.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/ai_part.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/ai_part.result
index 38338f7f823..d4aac756ffa 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/ai_part.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/ai_part.result
@@ -9,7 +9,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
/*!50100 PARTITION BY HASH (a)
PARTITIONS 2 */
ALTER TABLE foo ADD KEY(b);
@@ -20,7 +20,7 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`),
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
/*!50100 PARTITION BY HASH (a)
PARTITIONS 2 */
DROP TABLE foo;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/alter_column_default.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/alter_column_default.result
index 2c1390ad2a4..0058d4c5664 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/alter_column_default.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/alter_column_default.result
@@ -7,33 +7,33 @@ Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE foo ALTER COLUMN a SET DEFAULT 100;
SHOW CREATE TABLE foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '100',
`b` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE foo ALTER COLUMN a DROP DEFAULT;
SHOW CREATE TABLE foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL,
`b` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE foo ALTER COLUMN b SET DEFAULT 42;
SHOW CREATE TABLE foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL,
`b` int(11) DEFAULT '42'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE foo ALTER COLUMN b DROP DEFAULT;
SHOW CREATE TABLE foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL,
`b` int(11)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE foo;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/auto_inc.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/auto_inc.result
index 7f58c9ebc97..e70818ed629 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/auto_inc.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/auto_inc.result
@@ -15,7 +15,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL AUTO_INCREMENT,
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1
+) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo (b) values (11),(21),(32);
select * from foo;
a b
@@ -31,7 +31,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL AUTO_INCREMENT,
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1
+) ENGINE=TokuDB AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table foo auto_increment=10;
insert into foo (b) values (11),(21),(32);
select * from foo;
@@ -51,7 +51,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL AUTO_INCREMENT,
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB AUTO_INCREMENT=1006 DEFAULT CHARSET=latin1
+) ENGINE=TokuDB AUTO_INCREMENT=1006 DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table foo auto_increment=100000, add column c int;
ERROR 42000: Table 'foo' uses an extension that doesn't exist in this XYZ version
alter table foo auto_increment=100000, drop column b;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/drop_pk_with_prefix.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/drop_pk_with_prefix.result
new file mode 100644
index 00000000000..43e3cd8c78a
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/drop_pk_with_prefix.result
@@ -0,0 +1,20 @@
+set default_storage_engine=tokudb;
+DROP TABLE IF EXISTS testtable;
+CREATE TABLE `testtable` (
+`id` INT(11) NOT NULL,
+`keyword` VARCHAR(299) DEFAULT NULL,
+PRIMARY KEY (`id`),
+KEY `keyword` (`keyword`(100))
+) ENGINE=TokuDB DEFAULT CHARSET=utf8 COMPRESSION=TOKUDB_QUICKLZ;
+set tokudb_disable_hot_alter=ON;
+ALTER TABLE testtable DROP PRIMARY KEY;
+drop table testtable;
+CREATE TABLE `testtable` (
+`id` INT(11) NOT NULL,
+`keyword` VARCHAR(299) DEFAULT NULL,
+PRIMARY KEY (`id`),
+KEY `keyword` (`keyword`(100))
+) ENGINE=TokuDB DEFAULT CHARSET=utf8 COMPRESSION=TOKUDB_QUICKLZ;
+set tokudb_disable_hot_alter=OFF;
+ALTER TABLE testtable DROP PRIMARY KEY;
+drop table testtable;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/fractional_time_alter_table.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/fractional_time_alter_table.result
index 58e8f0f8b20..830cf373732 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/fractional_time_alter_table.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/fractional_time_alter_table.result
@@ -33,7 +33,7 @@ foo CREATE TABLE `foo` (
`e` timestamp(4) NOT NULL DEFAULT '0000-00-00 00:00:00.0000',
`f` timestamp(5) NOT NULL DEFAULT '0000-00-00 00:00:00.00000',
`g` timestamp(6) NOT NULL DEFAULT '0000-00-00 00:00:00.000000'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table foo change b b timestamp(1);
alter table foo change b b timestamp(3);
ERROR 42000: Table 'foo' uses an extension that doesn't exist in this MariaDB version
@@ -86,7 +86,7 @@ foo CREATE TABLE `foo` (
`e` datetime(4) DEFAULT NULL,
`f` datetime(5) DEFAULT NULL,
`g` datetime(6) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table foo change b b datetime(1);
alter table foo change b b datetime(3);
ERROR 42000: Table 'foo' uses an extension that doesn't exist in this MariaDB version
@@ -136,7 +136,7 @@ foo CREATE TABLE `foo` (
`e` time(4) DEFAULT NULL,
`f` time(5) DEFAULT NULL,
`g` time(6) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table foo change b b time(1);
alter table foo change b b time(3);
ERROR 42000: Table 'foo' uses an extension that doesn't exist in this MariaDB version
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/frm_discover.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/frm_discover.result
index 41c5a6c72d4..85c7914edc3 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/frm_discover.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/frm_discover.result
@@ -6,14 +6,14 @@ Table Create Table
foo CREATE TABLE `foo` (
`id` int(11) NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
CREATE TABLE bar LIKE foo;
SHOW CREATE TABLE bar;
Table Create Table
bar CREATE TABLE `bar` (
`id` int(11) NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE foo ADD COLUMN a INT;
SHOW CREATE TABLE foo;
Table Create Table
@@ -21,7 +21,7 @@ foo CREATE TABLE `foo` (
`id` int(11) NOT NULL,
`a` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
FLUSH TABLES;
SHOW CREATE TABLE foo;
Table Create Table
@@ -29,5 +29,5 @@ foo CREATE TABLE `foo` (
`id` int(11) NOT NULL,
`a` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE foo, bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_and_rename_table.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_and_rename_table.result
index 946373f7868..9f6637826ab 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_and_rename_table.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_and_rename_table.result
@@ -1,10 +1,11 @@
+set default_storage_engine='tokudb';
DROP TABLE IF EXISTS s, t;
-CREATE TABLE s (a INT) ENGINE=TokuDB;
+CREATE TABLE s (a INT);
SHOW CREATE TABLE s;
Table Create Table
s CREATE TABLE `s` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
SET tokudb_disable_slow_alter=1;
ALTER TABLE s RENAME TO t, ADD COLUMN b INT;
SHOW CREATE TABLE t;
@@ -12,5 +13,5 @@ Table Create Table
t CREATE TABLE `t` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_drop_char0_t6.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_drop_char0_t6.result
new file mode 100644
index 00000000000..d5ee56199d6
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_drop_char0_t6.result
@@ -0,0 +1,5 @@
+set default_storage_engine=tokudb;
+drop table if exists t6;
+CREATE TABLE t6 ( c32 char(0) DEFAULT NULL, c15 year(4) DEFAULT NULL, c13 varchar(240) DEFAULT NULL, c35 date NOT NULL, c24 text, c27 text, c1 int(11) DEFAULT NULL, c4 int(11) DEFAULT NULL, c10 int(10) unsigned NOT NULL, c14 varchar(240) DEFAULT NULL, c26 text, c25 text, c17 varchar(240) NOT NULL, c28 text NOT NULL, c7 int(10) unsigned DEFAULT NULL, c34 date NOT NULL, c21 blob, c29 text NOT NULL, c22 blob NOT NULL, c19 blob, c3 int(10) unsigned DEFAULT NULL, c2 int(10) unsigned DEFAULT NULL, c8 int(11) NOT NULL, c16 varchar(240) NOT NULL, c5 int(11) DEFAULT NULL, c18 blob, c23 blob NOT NULL, c9 int(11) NOT NULL, c20 blob, c12 varchar(240) DEFAULT NULL, c33 date DEFAULT NULL, c11 int(10) unsigned NOT NULL, c30 date DEFAULT NULL, c6 int(10) unsigned DEFAULT NULL, c31 date DEFAULT NULL, c0 int(11) DEFAULT NULL, KEY c13 (c13), KEY c35 (c35), KEY c27 (c27(255)), KEY c1 (c1), KEY c25 (c25(255)), KEY c17 (c17), KEY c7 (c7), KEY c21 (c21(255)), KEY c29 (c29(255)), KEY c19 (c19(255)), KEY c3 (c3), KEY c5 (c5), KEY c23 (c23(255)), KEY c15 (c15), KEY c9 (c9), KEY c33 (c33), KEY c11 (c11), KEY c31 (c31));
+ALTER TABLE t6 DROP COLUMN c32;
+DROP TABLE t6;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_part.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_part.result
index 075ccad6065..26685013aa4 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_part.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_part.result
@@ -8,7 +8,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
/*!50100 PARTITION BY HASH (a)
PARTITIONS 2 */
ALTER TABLE foo ADD COLUMN c INT;
@@ -19,7 +19,7 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
/*!50100 PARTITION BY HASH (a)
PARTITIONS 2 */
DROP TABLE foo;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr.result
index f4fc1b67bb6..272d0edd61c 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr.result
@@ -33,7 +33,7 @@ foo CREATE TABLE `foo` (
`b` varchar(10) DEFAULT NULL,
`c` blob,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select * from foo;
a b c
1 bb cccc
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr3.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr3.result
index 834ddfbd2d3..8c490c0ad35 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr3.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcr3.result
@@ -18,7 +18,7 @@ foo CREATE TABLE `foo` (
PRIMARY KEY (`aa`),
KEY `b` (`b`),
KEY `d` (`d`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select * from foo;
aa b c d e
1 10 cc dddd eeeee
@@ -40,7 +40,7 @@ foo CREATE TABLE `foo` (
PRIMARY KEY (`aa`),
KEY `b` (`bb`),
KEY `d` (`d`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select bb from foo FORCE INDEX (b) where bb > 5;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo index b b 9 NULL 1 Using where; Using index
@@ -59,7 +59,7 @@ foo CREATE TABLE `foo` (
PRIMARY KEY (`aa`),
KEY `b` (`bb`),
KEY `d` (`dd`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
explain select * from foo where dd > "d";
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo index d d 13 NULL 1 Using where; Using index
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/mod_enum.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/mod_enum.result
new file mode 100644
index 00000000000..21bfb990ba9
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/mod_enum.result
@@ -0,0 +1,60 @@
+set default_storage_engine=tokudb;
+drop table if exists test_enum;
+CREATE TABLE test_enum (col1 INT NOT NULL PRIMARY KEY AUTO_INCREMENT, col2 ENUM('value1','value2','value3') NULL);
+INSERT INTO test_enum (col2) VALUES ('value1'),('value1'),('value3');
+SELECT * FROM test_enum;
+col1 col2
+1 value1
+2 value1
+3 value3
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value3');
+SELECT * FROM test_enum;
+col1 col2
+1 value1
+2 value1
+3 value3
+drop table test_enum;
+CREATE TABLE test_enum (col1 INT NOT NULL PRIMARY KEY AUTO_INCREMENT, col2 ENUM('value1','value2','value3') NULL);
+INSERT INTO test_enum (col2) VALUES ('value1'),('value1'),('value3');
+SELECT * FROM test_enum;
+col1 col2
+1 value1
+2 value1
+3 value3
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
+ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this XYZ version
+set tokudb_disable_hot_alter=1;
+set tokudb_disable_slow_alter=0;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
+SELECT * FROM test_enum;
+col1 col2
+1 value1
+2 value1
+3 value3
+drop table test_enum;
+CREATE TABLE test_enum (col1 INT NOT NULL PRIMARY KEY AUTO_INCREMENT, col2 ENUM('value1','value2','value3') NULL);
+INSERT INTO test_enum (col2) VALUES ('value1'),('value1'),('value3');
+SELECT * FROM test_enum;
+col1 col2
+1 value1
+2 value1
+3 value3
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
+ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this XYZ version
+set tokudb_disable_hot_alter=1;
+set tokudb_disable_slow_alter=0;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
+Warnings:
+Warning 1265 Data truncated for column 'col2' at row 3
+SELECT * FROM test_enum;
+col1 col2
+1 value1
+2 value1
+3
+drop table test_enum;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_add_key.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_add_key.result
new file mode 100644
index 00000000000..9e1504a9d89
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_add_key.result
@@ -0,0 +1,51 @@
+set default_storage_engine=tokudb;
+drop table if exists t;
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+Warnings:
+Warning 1265 Data truncated for column 'c19' at row 1
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE t ADD KEY (c25);
+UPDATE t SET c27=0;
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_col_rename.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_col_rename.result
new file mode 100644
index 00000000000..45a12fba8d2
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_col_rename.result
@@ -0,0 +1,51 @@
+set default_storage_engine=tokudb;
+drop table if exists t;
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+Warnings:
+Warning 1265 Data truncated for column 'c19' at row 1
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE t CHANGE COLUMN c25 x25 char(1);
+UPDATE t SET c27=0;
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_default.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_default.result
new file mode 100644
index 00000000000..d5ff7e092fe
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_default.result
@@ -0,0 +1,51 @@
+set default_storage_engine=tokudb;
+drop table if exists t;
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+Warnings:
+Warning 1265 Data truncated for column 'c19' at row 1
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE t ALTER c120 DROP DEFAULT;
+UPDATE t SET c27=0;
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_key.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_key.result
new file mode 100644
index 00000000000..09b0deaf990
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_key.result
@@ -0,0 +1,53 @@
+set default_storage_engine=tokudb;
+drop table if exists t;
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+Warnings:
+Warning 1265 Data truncated for column 'c19' at row 1
+UPDATE t SET c27=0;
+ALTER TABLE t ADD KEY (c25);
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE t DROP KEY c25;
+UPDATE t SET c27=0;
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter.result
index 7ec5ee47865..4538fa6881a 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter.result
@@ -63,7 +63,7 @@ foo CREATE TABLE `foo` (
UNIQUE KEY `c` (`c`),
KEY `d` (`d`),
KEY `b` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table foo change column aa aa int NOT NULL;
ERROR 42000: Table 'foo' uses an extension that doesn't exist in this XYZ version
alter table foo change column aa aa varchar(20);
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter2.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter2.result
index 0a7bb3f6b3a..022f6978bac 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter2.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/other_alter2.result
@@ -62,7 +62,7 @@ foo CREATE TABLE `foo` (
UNIQUE KEY `c` (`c`),
KEY `d` (`d`),
KEY `b` (`b`) `clustering`=yes
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table foo_isam;
Table Create Table
foo_isam CREATE TABLE `foo_isam` (
@@ -80,7 +80,7 @@ foo_isam CREATE TABLE `foo_isam` (
UNIQUE KEY `c` (`c`),
KEY `d` (`d`),
KEY `b` (`b`) `clustering`=yes
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table foo change column aa aa int NOT NULL;
alter table foo_isam change column aa aa int NOT NULL;
include/diff_tables.inc [test.foo, test.foo_isam]
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/row_format_alter.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/row_format_alter.result
index 3c43c73d166..6057137da5b 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/row_format_alter.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/row_format_alter.result
@@ -5,12 +5,13 @@ CREATE TABLE foo (c1 int not null primary key) engine=TokuDB;
SELECT CREATE_OPTIONS
FROM INFORMATION_SCHEMA.TABLES WHERE (table_name LIKE 'foo');
CREATE_OPTIONS
+`compression`='tokudb_zlib'
SHOW CREATE TABLE foo;
Table Create Table
foo CREATE TABLE `foo` (
`c1` int(11) NOT NULL,
PRIMARY KEY (`c1`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
ALTER TABLE foo compression=tokudb_lzma, add column c2 int not null;
SELECT CREATE_OPTIONS
FROM INFORMATION_SCHEMA.TABLES WHERE (table_name LIKE 'foo');
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/test_field_same_detection.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/test_field_same_detection.result
index 005ac572afd..88dad457334 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/test_field_same_detection.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/test_field_same_detection.result
Binary files differ
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/5260.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/5260.test
index 9553ee8baed..8405e584e6f 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/5260.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/5260.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
#
# Attempt to change row format with and without
# other ALTER TABLE statements.
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/ai_di.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/ai_di.test
index 5dc2e32ad33..1d98034a739 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/ai_di.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/ai_di.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
set default_storage_engine='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/auto_inc.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/auto_inc.test
index ed61a8fb9c3..f4a97401a00 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/auto_inc.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/auto_inc.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
#
# Attempt to change row format with and without
# other ALTER TABLE statements.
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/drop_pk_with_prefix.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/drop_pk_with_prefix.test
new file mode 100644
index 00000000000..d0dcb6f649f
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/drop_pk_with_prefix.test
@@ -0,0 +1,32 @@
+# drop primary key should work. 5.5 alter table has a bug where drop pk returns invalid key prefix
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+DROP TABLE IF EXISTS testtable;
+enable_warnings;
+
+CREATE TABLE `testtable` (
+ `id` INT(11) NOT NULL,
+ `keyword` VARCHAR(299) DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ KEY `keyword` (`keyword`(100))
+) ENGINE=TokuDB DEFAULT CHARSET=utf8 COMPRESSION=TOKUDB_QUICKLZ;
+
+set tokudb_disable_hot_alter=ON;
+ALTER TABLE testtable DROP PRIMARY KEY;
+
+drop table testtable;
+
+CREATE TABLE `testtable` (
+ `id` INT(11) NOT NULL,
+ `keyword` VARCHAR(299) DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ KEY `keyword` (`keyword`(100))
+) ENGINE=TokuDB DEFAULT CHARSET=utf8 COMPRESSION=TOKUDB_QUICKLZ;
+
+set tokudb_disable_hot_alter=OFF;
+ALTER TABLE testtable DROP PRIMARY KEY;
+
+drop table testtable;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add.test
index 74df7611346..9ed41ed5b32 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add.test
@@ -1,16721 +1,16721 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-commit;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b;
-alter table bar add column added_2 bigint default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b;
-alter table bar add column added_7 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+commit;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b;
+alter table bar add column added_2 bigint default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b;
+alter table bar add column added_7 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add2.test
index b754e0c961a..2481b179afa 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add2.test
@@ -1,16287 +1,16287 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (a int, b bigint, c date, d tinyint, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb;
-alter table bar add column added_2 bigint default -1 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb;
-alter table bar add column added_7 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (a int, b bigint, c date, d tinyint, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb;
+alter table bar add column added_2 bigint default -1 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb;
+alter table bar add column added_7 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, 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, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add3.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add3.test
index a741dcfe0eb..61d170cdd26 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add3.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add3.test
@@ -1,16721 +1,16721 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_add.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_add.test
index d524539a366..513a664b8de 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_add.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_add.test
@@ -1,3701 +1,3701 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb;
-alter table bar add column added_2 bigint default -1 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb;
-alter table bar add column added_7 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb;
+alter table bar add column added_2 bigint default -1 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb;
+alter table bar add column added_7 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_drop.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_drop.test
index 9b73c8ee7c7..256b3d2e0f1 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_drop.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_drop.test
@@ -1,352 +1,352 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values ("adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,"oifds",NULL,"fdsjfds");
-insert into foo values ("rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values ("adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,"oifds",NULL,"fdsjfds");
+insert into foo values ("rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_drop.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_drop.test
index c23afa5b88c..1f9ccec26b3 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_drop.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_drop.test
@@ -1,11870 +1,11870 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a;
-alter table bar drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b;
-alter table bar drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c;
-alter table bar drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d;
-alter table bar drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b;
-alter table bar drop column a, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c;
-alter table bar drop column a, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column d;
-alter table bar drop column a, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column aa;
-alter table bar drop column a, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column bb;
-alter table bar drop column a, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column cc;
-alter table bar drop column a, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column dd;
-alter table bar drop column a, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column aaa;
-alter table bar drop column a, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column bbb;
-alter table bar drop column a, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column ccc;
-alter table bar drop column a, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column ddd;
-alter table bar drop column a, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column a;
-alter table bar drop column b, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c;
-alter table bar drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column d;
-alter table bar drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column aa;
-alter table bar drop column b, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column bb;
-alter table bar drop column b, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column cc;
-alter table bar drop column b, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column dd;
-alter table bar drop column b, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column aaa;
-alter table bar drop column b, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column bbb;
-alter table bar drop column b, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column ccc;
-alter table bar drop column b, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column ddd;
-alter table bar drop column b, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column a;
-alter table bar drop column c, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column b;
-alter table bar drop column c, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column d;
-alter table bar drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column aa;
-alter table bar drop column c, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column bb;
-alter table bar drop column c, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column cc;
-alter table bar drop column c, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column dd;
-alter table bar drop column c, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column aaa;
-alter table bar drop column c, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column bbb;
-alter table bar drop column c, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column ccc;
-alter table bar drop column c, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column ddd;
-alter table bar drop column c, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column a;
-alter table bar drop column d, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column b;
-alter table bar drop column d, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column c;
-alter table bar drop column d, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column aa;
-alter table bar drop column d, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column bb;
-alter table bar drop column d, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column cc;
-alter table bar drop column d, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column dd;
-alter table bar drop column d, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column aaa;
-alter table bar drop column d, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column bbb;
-alter table bar drop column d, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column ccc;
-alter table bar drop column d, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column ddd;
-alter table bar drop column d, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column a;
-alter table bar drop column aa, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column b;
-alter table bar drop column aa, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column c;
-alter table bar drop column aa, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column d;
-alter table bar drop column aa, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column a;
-alter table bar drop column bb, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column b;
-alter table bar drop column bb, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column c;
-alter table bar drop column bb, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column d;
-alter table bar drop column bb, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column a;
-alter table bar drop column cc, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column b;
-alter table bar drop column cc, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column c;
-alter table bar drop column cc, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column d;
-alter table bar drop column cc, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column a;
-alter table bar drop column dd, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column b;
-alter table bar drop column dd, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column c;
-alter table bar drop column dd, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column d;
-alter table bar drop column dd, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column a;
-alter table bar drop column aaa, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column b;
-alter table bar drop column aaa, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column c;
-alter table bar drop column aaa, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column d;
-alter table bar drop column aaa, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column a;
-alter table bar drop column bbb, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column b;
-alter table bar drop column bbb, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column c;
-alter table bar drop column bbb, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column d;
-alter table bar drop column bbb, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column a;
-alter table bar drop column ccc, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column b;
-alter table bar drop column ccc, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column c;
-alter table bar drop column ccc, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column d;
-alter table bar drop column ccc, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column a;
-alter table bar drop column ddd, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column b;
-alter table bar drop column ddd, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column c;
-alter table bar drop column ddd, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column d;
-alter table bar drop column ddd, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c;
-alter table bar drop column a, drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column d;
-alter table bar drop column a, drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c, drop column d;
-alter table bar drop column a, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c, drop column d;
-alter table bar drop column b, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c, drop column d;
-alter table bar drop column a, drop column b, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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;
-
-
-create table foo (a int, b bigint, c date, d tinyint, 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;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c, drop column d, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
-alter table bar drop column a, drop column b, drop column c, drop column d, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column bb, drop column cc, drop column dd, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
-alter table bar drop column aa, drop column bb, drop column cc, drop column dd, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c, drop column d, drop column aa, drop column bb, drop column cc, drop column dd;
-alter table bar drop column a, drop column b, drop column c, drop column d, drop column aa, drop column bb, drop column cc, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a;
+alter table bar drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b;
+alter table bar drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c;
+alter table bar drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d;
+alter table bar drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b;
+alter table bar drop column a, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c;
+alter table bar drop column a, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column d;
+alter table bar drop column a, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column aa;
+alter table bar drop column a, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column bb;
+alter table bar drop column a, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column cc;
+alter table bar drop column a, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column dd;
+alter table bar drop column a, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column aaa;
+alter table bar drop column a, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column bbb;
+alter table bar drop column a, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column ccc;
+alter table bar drop column a, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column ddd;
+alter table bar drop column a, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column a;
+alter table bar drop column b, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c;
+alter table bar drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column d;
+alter table bar drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column aa;
+alter table bar drop column b, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column bb;
+alter table bar drop column b, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column cc;
+alter table bar drop column b, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column dd;
+alter table bar drop column b, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column aaa;
+alter table bar drop column b, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column bbb;
+alter table bar drop column b, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column ccc;
+alter table bar drop column b, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column ddd;
+alter table bar drop column b, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column a;
+alter table bar drop column c, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column b;
+alter table bar drop column c, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column d;
+alter table bar drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column aa;
+alter table bar drop column c, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column bb;
+alter table bar drop column c, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column cc;
+alter table bar drop column c, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column dd;
+alter table bar drop column c, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column aaa;
+alter table bar drop column c, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column bbb;
+alter table bar drop column c, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column ccc;
+alter table bar drop column c, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column ddd;
+alter table bar drop column c, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column a;
+alter table bar drop column d, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column b;
+alter table bar drop column d, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column c;
+alter table bar drop column d, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column aa;
+alter table bar drop column d, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column bb;
+alter table bar drop column d, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column cc;
+alter table bar drop column d, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column dd;
+alter table bar drop column d, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column aaa;
+alter table bar drop column d, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column bbb;
+alter table bar drop column d, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column ccc;
+alter table bar drop column d, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column ddd;
+alter table bar drop column d, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column a;
+alter table bar drop column aa, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column b;
+alter table bar drop column aa, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column c;
+alter table bar drop column aa, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column d;
+alter table bar drop column aa, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column a;
+alter table bar drop column bb, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column b;
+alter table bar drop column bb, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column c;
+alter table bar drop column bb, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column d;
+alter table bar drop column bb, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column a;
+alter table bar drop column cc, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column b;
+alter table bar drop column cc, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column c;
+alter table bar drop column cc, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column d;
+alter table bar drop column cc, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column a;
+alter table bar drop column dd, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column b;
+alter table bar drop column dd, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column c;
+alter table bar drop column dd, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column d;
+alter table bar drop column dd, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column a;
+alter table bar drop column aaa, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column b;
+alter table bar drop column aaa, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column c;
+alter table bar drop column aaa, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column d;
+alter table bar drop column aaa, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column a;
+alter table bar drop column bbb, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column b;
+alter table bar drop column bbb, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column c;
+alter table bar drop column bbb, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column d;
+alter table bar drop column bbb, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column a;
+alter table bar drop column ccc, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column b;
+alter table bar drop column ccc, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column c;
+alter table bar drop column ccc, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column d;
+alter table bar drop column ccc, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column a;
+alter table bar drop column ddd, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column b;
+alter table bar drop column ddd, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column c;
+alter table bar drop column ddd, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column d;
+alter table bar drop column ddd, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c;
+alter table bar drop column a, drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column d;
+alter table bar drop column a, drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c, drop column d;
+alter table bar drop column a, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c, drop column d;
+alter table bar drop column b, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c, drop column d;
+alter table bar drop column a, drop column b, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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;
+
+
+create table foo (a int, b bigint, c date, d tinyint, 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;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c, drop column d, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
+alter table bar drop column a, drop column b, drop column c, drop column d, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column bb, drop column cc, drop column dd, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
+alter table bar drop column aa, drop column bb, drop column cc, drop column dd, drop column aaa, drop column bbb, drop column ccc, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL, "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds", "rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c, drop column d, drop column aa, drop column bb, drop column cc, drop column dd;
+alter table bar drop column a, drop column b, drop column c, drop column d, drop column aa, drop column bb, drop column cc, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_add.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_add.test
index aadd54753d3..b8842dab904 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_add.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_add.test
@@ -1,3701 +1,3701 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b;
-alter table bar add column added_2 bigint default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b;
-alter table bar add column added_7 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b;
+alter table bar add column added_2 bigint default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b;
+alter table bar add column added_7 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_drop.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_drop.test
index ae81d4c9ff5..b3b42275483 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_drop.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_drop.test
@@ -1,312 +1,312 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a;
-alter table bar drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b;
-alter table bar drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c;
-alter table bar drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d;
-alter table bar drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b;
-alter table bar drop column a, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c;
-alter table bar drop column a, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column d;
-alter table bar drop column a, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column a;
-alter table bar drop column b, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c;
-alter table bar drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column d;
-alter table bar drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column a;
-alter table bar drop column c, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column b;
-alter table bar drop column c, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column d;
-alter table bar drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column a;
-alter table bar drop column d, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column b;
-alter table bar drop column d, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column c;
-alter table bar drop column d, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c;
-alter table bar drop column a, drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column d;
-alter table bar drop column a, drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c, drop column d;
-alter table bar drop column a, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c, drop column d;
-alter table bar drop column b, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a;
+alter table bar drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b;
+alter table bar drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c;
+alter table bar drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d;
+alter table bar drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b;
+alter table bar drop column a, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c;
+alter table bar drop column a, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column d;
+alter table bar drop column a, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column a;
+alter table bar drop column b, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c;
+alter table bar drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column d;
+alter table bar drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column a;
+alter table bar drop column c, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column b;
+alter table bar drop column c, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column d;
+alter table bar drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column a;
+alter table bar drop column d, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column b;
+alter table bar drop column d, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column c;
+alter table bar drop column d, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c;
+alter table bar drop column a, drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column d;
+alter table bar drop column a, drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c, drop column d;
+alter table bar drop column a, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c, drop column d;
+alter table bar drop column b, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_add.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_add.test
index 957be39a313..888d460f795 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_add.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_add.test
@@ -1,3267 +1,3267 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_drop.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_drop.test
index c953b35c40f..7668666ba24 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_drop.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_drop.test
@@ -1,352 +1,352 @@
-# This test takes rather long time so let us run it only in --big-test mode
---source include/big_test.inc
-#--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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column bbb, drop column ccc;
-alter table bar drop column aaa, drop column bbb, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column bbb, drop column ddd;
-alter table bar drop column aaa, drop column bbb, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column ccc, drop column ddd;
-alter table bar drop column aaa, drop column ccc, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL);
-insert into foo values (NULL,12345678987,NULL,1);
-insert into foo values (2,20,'1999-11-11',0);
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column ccc, drop column ddd;
-alter table bar drop column bbb, drop column ccc, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
+--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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+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 (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column bbb, drop column ccc;
+alter table bar drop column aaa, drop column bbb, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column bbb, drop column ddd;
+alter table bar drop column aaa, drop column bbb, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column ccc, drop column ddd;
+alter table bar drop column aaa, drop column ccc, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL);
+insert into foo values (NULL,12345678987,NULL,1);
+insert into foo values (2,20,'1999-11-11',0);
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column ccc, drop column ddd;
+alter table bar drop column bbb, drop column ccc, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_and_rename_table.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_and_rename_table.test
index 85ca09a6a38..df3ce0c8953 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_and_rename_table.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_and_rename_table.test
@@ -1,10 +1,11 @@
--source include/have_tokudb.inc
+set default_storage_engine='tokudb';
--disable_warnings
DROP TABLE IF EXISTS s, t;
--enable_warnings
-CREATE TABLE s (a INT) ENGINE=TokuDB;
+CREATE TABLE s (a INT);
SHOW CREATE TABLE s;
SET tokudb_disable_slow_alter=1;
ALTER TABLE s RENAME TO t, ADD COLUMN b INT;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering.test
index 94e4808481a..ad0ef6449d6 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering2.test
index 71a527e7b75..904954ec0d7 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_clustering2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_diff_num_offset_bytes.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_diff_num_offset_bytes.test
index 2f44c897afd..e5108087ec2 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_diff_num_offset_bytes.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_diff_num_offset_bytes.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_drop_char0_t6.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_drop_char0_t6.test
new file mode 100644
index 00000000000..7e130863147
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_drop_char0_t6.test
@@ -0,0 +1,17 @@
+# test case reduced from an RQG trial
+# the alter table asserts because tokudb classifies the char(0) column as a blob
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+drop table if exists t6;
+enable_warnings;
+
+CREATE TABLE t6 ( c32 char(0) DEFAULT NULL, c15 year(4) DEFAULT NULL, c13 varchar(240) DEFAULT NULL, c35 date NOT NULL, c24 text, c27 text, c1 int(11) DEFAULT NULL, c4 int(11) DEFAULT NULL, c10 int(10) unsigned NOT NULL, c14 varchar(240) DEFAULT NULL, c26 text, c25 text, c17 varchar(240) NOT NULL, c28 text NOT NULL, c7 int(10) unsigned DEFAULT NULL, c34 date NOT NULL, c21 blob, c29 text NOT NULL, c22 blob NOT NULL, c19 blob, c3 int(10) unsigned DEFAULT NULL, c2 int(10) unsigned DEFAULT NULL, c8 int(11) NOT NULL, c16 varchar(240) NOT NULL, c5 int(11) DEFAULT NULL, c18 blob, c23 blob NOT NULL, c9 int(11) NOT NULL, c20 blob, c12 varchar(240) DEFAULT NULL, c33 date DEFAULT NULL, c11 int(10) unsigned NOT NULL, c30 date DEFAULT NULL, c6 int(10) unsigned DEFAULT NULL, c31 date DEFAULT NULL, c0 int(11) DEFAULT NULL, KEY c13 (c13), KEY c35 (c35), KEY c27 (c27(255)), KEY c1 (c1), KEY c25 (c25(255)), KEY c17 (c17), KEY c7 (c7), KEY c21 (c21(255)), KEY c29 (c29(255)), KEY c19 (c19(255)), KEY c3 (c3), KEY c5 (c5), KEY c23 (c23(255)), KEY c15 (c15), KEY c9 (c9), KEY c33 (c33), KEY c11 (c11), KEY c31 (c31));
+
+ALTER TABLE t6 DROP COLUMN c32;
+
+DROP TABLE t6;
+
+
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add.test
index b86ac4cab17..762e525217c 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add.test
@@ -1,6303 +1,6303 @@
-#--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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b;
-alter table bar add column added_2 bigint default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b;
-alter table bar add column added_7 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+--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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b;
+alter table bar add column added_2 bigint default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b;
+alter table bar add column added_7 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add2.test
index e22d2985df0..e4765d4ce1d 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add2.test
@@ -1,6303 +1,6303 @@
-#--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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb;
-alter table bar add column added_2 bigint default -1 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb;
-alter table bar add column added_7 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+--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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb;
+alter table bar add column added_2 bigint default -1 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb;
+alter table bar add column added_7 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_drop.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_drop.test
index c03f4f19e65..7f9e11e2dd1 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_drop.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_drop.test
@@ -1,1900 +1,1900 @@
-#--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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a;
-alter table bar drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b;
-alter table bar drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c;
-alter table bar drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d;
-alter table bar drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column aa;
-alter table bar drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column bb;
-alter table bar drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column cc;
-alter table bar drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column dd;
-alter table bar drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b;
-alter table bar drop column a, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c;
-alter table bar drop column a, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column d;
-alter table bar drop column a, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column aa;
-alter table bar drop column a, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column bb;
-alter table bar drop column a, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column cc;
-alter table bar drop column a, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column dd;
-alter table bar drop column a, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column a;
-alter table bar drop column b, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c;
-alter table bar drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column d;
-alter table bar drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column aa;
-alter table bar drop column b, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column bb;
-alter table bar drop column b, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column cc;
-alter table bar drop column b, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column dd;
-alter table bar drop column b, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column a;
-alter table bar drop column c, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column b;
-alter table bar drop column c, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column d;
-alter table bar drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column aa;
-alter table bar drop column c, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column bb;
-alter table bar drop column c, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column cc;
-alter table bar drop column c, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column dd;
-alter table bar drop column c, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column a;
-alter table bar drop column d, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column b;
-alter table bar drop column d, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column c;
-alter table bar drop column d, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column aa;
-alter table bar drop column d, drop column aa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column bb;
-alter table bar drop column d, drop column bb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column cc;
-alter table bar drop column d, drop column cc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column dd;
-alter table bar drop column d, drop column dd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column a;
-alter table bar drop column aa, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column b;
-alter table bar drop column aa, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column c;
-alter table bar drop column aa, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column aa, drop column d;
-alter table bar drop column aa, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column a;
-alter table bar drop column bb, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column b;
-alter table bar drop column bb, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column c;
-alter table bar drop column bb, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column bb, drop column d;
-alter table bar drop column bb, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column a;
-alter table bar drop column cc, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column b;
-alter table bar drop column cc, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column c;
-alter table bar drop column cc, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column cc, drop column d;
-alter table bar drop column cc, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column a;
-alter table bar drop column dd, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column b;
-alter table bar drop column dd, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column c;
-alter table bar drop column dd, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column dd, drop column d;
-alter table bar drop column dd, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c;
-alter table bar drop column a, drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column d;
-alter table bar drop column a, drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c, drop column d;
-alter table bar drop column a, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c, drop column d;
-alter table bar drop column b, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c, drop column d;
-alter table bar drop column a, drop column b, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-source include/diff_tables.inc;
-alter table foo 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;
+--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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a;
+alter table bar drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b;
+alter table bar drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c;
+alter table bar drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d;
+alter table bar drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column aa;
+alter table bar drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column bb;
+alter table bar drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column cc;
+alter table bar drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column dd;
+alter table bar drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b;
+alter table bar drop column a, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c;
+alter table bar drop column a, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column d;
+alter table bar drop column a, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column aa;
+alter table bar drop column a, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column bb;
+alter table bar drop column a, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column cc;
+alter table bar drop column a, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column dd;
+alter table bar drop column a, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column a;
+alter table bar drop column b, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c;
+alter table bar drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column d;
+alter table bar drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column aa;
+alter table bar drop column b, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column bb;
+alter table bar drop column b, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column cc;
+alter table bar drop column b, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column dd;
+alter table bar drop column b, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column a;
+alter table bar drop column c, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column b;
+alter table bar drop column c, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column d;
+alter table bar drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column aa;
+alter table bar drop column c, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column bb;
+alter table bar drop column c, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column cc;
+alter table bar drop column c, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column dd;
+alter table bar drop column c, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column a;
+alter table bar drop column d, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column b;
+alter table bar drop column d, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column c;
+alter table bar drop column d, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column aa;
+alter table bar drop column d, drop column aa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column bb;
+alter table bar drop column d, drop column bb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column cc;
+alter table bar drop column d, drop column cc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column dd;
+alter table bar drop column d, drop column dd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column a;
+alter table bar drop column aa, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column b;
+alter table bar drop column aa, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column c;
+alter table bar drop column aa, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column aa, drop column d;
+alter table bar drop column aa, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column a;
+alter table bar drop column bb, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column b;
+alter table bar drop column bb, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column c;
+alter table bar drop column bb, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column bb, drop column d;
+alter table bar drop column bb, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column a;
+alter table bar drop column cc, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column b;
+alter table bar drop column cc, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column c;
+alter table bar drop column cc, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column cc, drop column d;
+alter table bar drop column cc, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column a;
+alter table bar drop column dd, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column b;
+alter table bar drop column dd, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column c;
+alter table bar drop column dd, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column dd, drop column d;
+alter table bar drop column dd, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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 (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c;
+alter table bar drop column a, drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column d;
+alter table bar drop column a, drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c, drop column d;
+alter table bar drop column a, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c, drop column d;
+alter table bar drop column b, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c, drop column d;
+alter table bar drop column a, drop column b, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+source include/diff_tables.inc;
+alter table foo 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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add.test
index d2dc63184ae..67d467bce37 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add.test
@@ -1,6303 +1,6303 @@
-#--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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b;
-alter table bar add column added_2 bigint default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b;
-alter table bar add column added_7 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+--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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b;
+alter table bar add column added_2 bigint default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b;
+alter table bar add column added_7 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add2.test
index ba6ea7be44e..5652b07b0bf 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add2.test
@@ -1,6303 +1,6303 @@
-#--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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+--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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_drop.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_drop.test
index 29717885ae7..6769c7a8ef3 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_drop.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_drop.test
@@ -1,2040 +1,2040 @@
-#--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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a;
-alter table bar drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b;
-alter table bar drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c;
-alter table bar drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d;
-alter table bar drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b;
-alter table bar drop column a, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c;
-alter table bar drop column a, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column d;
-alter table bar drop column a, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column aaa;
-alter table bar drop column a, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column bbb;
-alter table bar drop column a, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column ccc;
-alter table bar drop column a, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column ddd;
-alter table bar drop column a, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column a;
-alter table bar drop column b, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c;
-alter table bar drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column d;
-alter table bar drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column aaa;
-alter table bar drop column b, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column bbb;
-alter table bar drop column b, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column ccc;
-alter table bar drop column b, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column ddd;
-alter table bar drop column b, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column a;
-alter table bar drop column c, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column b;
-alter table bar drop column c, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column d;
-alter table bar drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column aaa;
-alter table bar drop column c, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column bbb;
-alter table bar drop column c, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column ccc;
-alter table bar drop column c, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column c, drop column ddd;
-alter table bar drop column c, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column a;
-alter table bar drop column d, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column b;
-alter table bar drop column d, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column c;
-alter table bar drop column d, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column aaa;
-alter table bar drop column d, drop column aaa;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column bbb;
-alter table bar drop column d, drop column bbb;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column ccc;
-alter table bar drop column d, drop column ccc;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column d, drop column ddd;
-alter table bar drop column d, drop column ddd;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column a;
-alter table bar drop column aaa, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column b;
-alter table bar drop column aaa, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column c;
-alter table bar drop column aaa, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column aaa, drop column d;
-alter table bar drop column aaa, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column a;
-alter table bar drop column bbb, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column b;
-alter table bar drop column bbb, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column c;
-alter table bar drop column bbb, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column bbb, drop column d;
-alter table bar drop column bbb, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column a;
-alter table bar drop column ccc, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column b;
-alter table bar drop column ccc, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column c;
-alter table bar drop column ccc, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ccc, drop column d;
-alter table bar drop column ccc, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column a;
-alter table bar drop column ddd, drop column a;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column b;
-alter table bar drop column ddd, drop column b;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column c;
-alter table bar drop column ddd, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column ddd, drop column d;
-alter table bar drop column ddd, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c;
-alter table bar drop column a, drop column b, drop column c;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column d;
-alter table bar drop column a, drop column b, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column c, drop column d;
-alter table bar drop column a, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column b, drop column c, drop column d;
-alter table bar drop column b, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-source include/diff_tables.inc;
-alter table foo drop column a, drop column b, drop column c, drop column d;
-alter table bar drop column a, drop column b, drop column c, drop column d;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
-create table bar like foo;
-alter table bar engine=MyISAM;
-begin;
-insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
-insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
-insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
-insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
-insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
-insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
-insert into bar select * from foo;
-commit;
-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;
+--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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a;
+alter table bar drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b;
+alter table bar drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c;
+alter table bar drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d;
+alter table bar drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b;
+alter table bar drop column a, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c;
+alter table bar drop column a, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column d;
+alter table bar drop column a, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column aaa;
+alter table bar drop column a, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column bbb;
+alter table bar drop column a, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column ccc;
+alter table bar drop column a, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column ddd;
+alter table bar drop column a, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column a;
+alter table bar drop column b, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c;
+alter table bar drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column d;
+alter table bar drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column aaa;
+alter table bar drop column b, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column bbb;
+alter table bar drop column b, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column ccc;
+alter table bar drop column b, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column ddd;
+alter table bar drop column b, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column a;
+alter table bar drop column c, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column b;
+alter table bar drop column c, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column d;
+alter table bar drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column aaa;
+alter table bar drop column c, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column bbb;
+alter table bar drop column c, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column ccc;
+alter table bar drop column c, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column c, drop column ddd;
+alter table bar drop column c, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column a;
+alter table bar drop column d, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column b;
+alter table bar drop column d, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column c;
+alter table bar drop column d, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column aaa;
+alter table bar drop column d, drop column aaa;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column bbb;
+alter table bar drop column d, drop column bbb;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column ccc;
+alter table bar drop column d, drop column ccc;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column d, drop column ddd;
+alter table bar drop column d, drop column ddd;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column a;
+alter table bar drop column aaa, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column b;
+alter table bar drop column aaa, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column c;
+alter table bar drop column aaa, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column aaa, drop column d;
+alter table bar drop column aaa, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column a;
+alter table bar drop column bbb, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column b;
+alter table bar drop column bbb, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column c;
+alter table bar drop column bbb, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column bbb, drop column d;
+alter table bar drop column bbb, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column a;
+alter table bar drop column ccc, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column b;
+alter table bar drop column ccc, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column c;
+alter table bar drop column ccc, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ccc, drop column d;
+alter table bar drop column ccc, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column a;
+alter table bar drop column ddd, drop column a;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column b;
+alter table bar drop column ddd, drop column b;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column c;
+alter table bar drop column ddd, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column ddd, drop column d;
+alter table bar drop column ddd, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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 (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c;
+alter table bar drop column a, drop column b, drop column c;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column d;
+alter table bar drop column a, drop column b, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column c, drop column d;
+alter table bar drop column a, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column b, drop column c, drop column d;
+alter table bar drop column b, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+source include/diff_tables.inc;
+alter table foo drop column a, drop column b, drop column c, drop column d;
+alter table bar drop column a, drop column b, drop column c, drop column d;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
+create table bar like foo;
+alter table bar engine=MyISAM;
+begin;
+insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
+insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
+insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
+insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
+insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
+insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
+insert into bar select * from foo;
+commit;
+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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_indexing_mix.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_indexing_mix.test
index dac0755a395..c80299ad672 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_indexing_mix.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_indexing_mix.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_null_bits.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_null_bits.test
index 08a0f521995..b0cf591d294 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_null_bits.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_null_bits.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk.test
index b25f80e6875..800220fd913 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk2.test
index f533c6b3375..d157d84a931 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_pk2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_template.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_template.test
index 7acd587ce84..2a9a6f19d52 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_template.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_template.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables.test
index 09b29630980..a1c967acbeb 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables_56.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables_56.test
index 03675168d0b..ac50a658013 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables_56.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_tmp_tables_56.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET @@DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add.test
index c6b3d194c9c..4de80acfef1 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add.test
@@ -1,6303 +1,6303 @@
-#--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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb;
-alter table bar add column added_2 bigint default -1 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
-alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after 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;
-begin;
-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;
-commit;
-source include/diff_tables.inc;
-alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+--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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb;
+alter table bar add column added_2 bigint default -1 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_1 bigint default NULL after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_2 bigint default -1 after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_4 varchar(10) default NULL after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_7 text default NULL after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_11 bigint default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_21 bigint default 1234 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_31 bigint NOT NULL default 54 after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_41 varchar(10) default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_51 varchar(10) default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_71 text default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after bbb;
+alter table bar add column added_8 mediumtext default NULL after bbb, add column added_81 mediumtext default NULL after 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;
+begin;
+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;
+commit;
+source include/diff_tables.inc;
+alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bbb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add2.test
index cec924470e5..42b645c4923 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add2.test
@@ -1,5869 +1,5869 @@
-#--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 add column added_1 bigint default NULL;
-alter table bar add column added_1 bigint default NULL;
-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 add column added_2 bigint default -1;
-alter table bar add column added_2 bigint default -1;
-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 add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_3 bigint NOT NULL default -1;
-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 add column added_4 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL;
-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 add column added_5 varchar(10) default "qwerty";
-alter table bar add column added_5 varchar(10) default "qwerty";
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
-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 add column added_7 text default NULL;
-alter table bar add column added_7 text default NULL;
-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 add column added_8 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL;
-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 add column added_1 bigint default NULL first;
-alter table bar add column added_1 bigint default NULL first;
-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 add column added_2 bigint default -1 first;
-alter table bar add column added_2 bigint default -1 first;
-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 add column added_3 bigint NOT NULL default -1 first;
-alter table bar add column added_3 bigint NOT NULL default -1 first;
-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 add column added_4 varchar(10) default NULL first;
-alter table bar add column added_4 varchar(10) default NULL first;
-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 add column added_5 varchar(10) default "qwerty" first;
-alter table bar add column added_5 varchar(10) default "qwerty" first;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
-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 add column added_7 text default NULL first;
-alter table bar add column added_7 text default NULL first;
-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 add column added_8 mediumtext default NULL first;
-alter table bar add column added_8 mediumtext default NULL first;
-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 add column added_1 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after 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 add column added_2 bigint default -1 after bb;
-alter table bar add column added_2 bigint default -1 after 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 add column added_3 bigint NOT NULL default -1 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after 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 add column added_4 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after 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 add column added_7 text default NULL after bb;
-alter table bar add column added_7 text default NULL after 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 add column added_8 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after 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 add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
-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 add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
-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 add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
-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 add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
-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 add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
-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 add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_1 bigint default NULL, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
-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 add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
-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 add column added_2 bigint default -1, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
-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 add column added_2 bigint default -1, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
-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 add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
-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 add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
-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 add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
-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 add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_2 bigint default -1, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
-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 add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
-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 add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
-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 add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
-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 add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
-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 add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
-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 add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
-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 add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
-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 add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
-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 add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
-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 add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
-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 add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
-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 add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
-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 add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
-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 add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
-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 add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
-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 add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
-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 add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
-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 add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
-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 add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
-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 add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
-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 add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
-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 add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
-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 add column added_7 text default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
-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 add column added_7 text default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
-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 add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
-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 add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
-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 add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
-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 add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_7 text default NULL, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
-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 add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
-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 add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
-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 add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
-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 add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
-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 add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
-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 add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
-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 add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
-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 add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
-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 add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
-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 add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
-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 add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
-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 add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
-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 add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
-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 add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_1 bigint default NULL first, add column added_71 text default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
-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 add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
-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 add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
-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 add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
-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 add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
-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 add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
-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 add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
-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 add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_2 bigint default -1 first, add column added_71 text default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
-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 add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
-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 add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
-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 add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
-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 add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
-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 add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
-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 add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
-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 add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
-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 add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
-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 add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
-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 add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
-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 add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
-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 add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
-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 add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
-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 add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
-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 add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
-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 add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
-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 add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
-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 add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
-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 add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
-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 add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
-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 add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
-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 add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
-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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
-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 add column added_7 text default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
-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 add column added_7 text default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
-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 add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
-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 add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
-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 add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
-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 add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_7 text default NULL first, add column added_71 text default NULL;
-alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
-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 add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
-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 add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
-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 add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
-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 add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
-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 add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
-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 add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
-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 add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
-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 add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
-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 add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
-
-
-create table foo (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 add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after 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 add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after 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 add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after 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 add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after 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 add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after 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 add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after 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 add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after 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 add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after 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 add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after 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 add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
-alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
-source include/diff_tables.inc;
-drop table foo; drop table bar;
+--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 add column added_1 bigint default NULL;
+alter table bar add column added_1 bigint default NULL;
+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 add column added_2 bigint default -1;
+alter table bar add column added_2 bigint default -1;
+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 add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_3 bigint NOT NULL default -1;
+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 add column added_4 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL;
+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 add column added_5 varchar(10) default "qwerty";
+alter table bar add column added_5 varchar(10) default "qwerty";
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt";
+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 add column added_7 text default NULL;
+alter table bar add column added_7 text default NULL;
+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 add column added_8 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL;
+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 add column added_1 bigint default NULL first;
+alter table bar add column added_1 bigint default NULL first;
+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 add column added_2 bigint default -1 first;
+alter table bar add column added_2 bigint default -1 first;
+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 add column added_3 bigint NOT NULL default -1 first;
+alter table bar add column added_3 bigint NOT NULL default -1 first;
+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 add column added_4 varchar(10) default NULL first;
+alter table bar add column added_4 varchar(10) default NULL first;
+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 add column added_5 varchar(10) default "qwerty" first;
+alter table bar add column added_5 varchar(10) default "qwerty" first;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first;
+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 add column added_7 text default NULL first;
+alter table bar add column added_7 text default NULL first;
+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 add column added_8 mediumtext default NULL first;
+alter table bar add column added_8 mediumtext default NULL first;
+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 add column added_1 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after 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 add column added_2 bigint default -1 after bb;
+alter table bar add column added_2 bigint default -1 after 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 add column added_3 bigint NOT NULL default -1 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after 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 add column added_4 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after 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 add column added_7 text default NULL after bb;
+alter table bar add column added_7 text default NULL after 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 add column added_8 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after 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 add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_11 bigint default NULL;
+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 add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL, add column added_21 bigint default 1234;
+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 add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL, add column added_31 bigint NOT NULL default 54;
+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 add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_41 varchar(10) default NULL;
+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 add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_51 varchar(10) default "abracadab";
+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 add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_1 bigint default NULL, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_71 text default NULL;
+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 add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL, add column added_81 mediumtext default NULL;
+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 add column added_2 bigint default -1, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1, add column added_11 bigint default NULL;
+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 add column added_2 bigint default -1, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1, add column added_21 bigint default 1234;
+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 add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1, add column added_31 bigint NOT NULL default 54;
+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 add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1, add column added_41 varchar(10) default NULL;
+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 add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_51 varchar(10) default "abracadab";
+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 add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_2 bigint default -1, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1, add column added_71 text default NULL;
+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 add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1, add column added_81 mediumtext default NULL;
+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 add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_11 bigint default NULL;
+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 add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_21 bigint default 1234;
+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 add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_31 bigint NOT NULL default 54;
+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 add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_41 varchar(10) default NULL;
+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 add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_51 varchar(10) default "abracadab";
+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 add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_71 text default NULL;
+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 add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1, add column added_81 mediumtext default NULL;
+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 add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_11 bigint default NULL;
+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 add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL, add column added_21 bigint default 1234;
+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 add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL, add column added_31 bigint NOT NULL default 54;
+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 add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_41 varchar(10) default NULL;
+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 add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_51 varchar(10) default "abracadab";
+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 add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_71 text default NULL;
+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 add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL, add column added_81 mediumtext default NULL;
+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 add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_11 bigint default NULL;
+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 add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_21 bigint default 1234;
+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 add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_31 bigint NOT NULL default 54;
+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 add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_41 varchar(10) default NULL;
+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 add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_51 varchar(10) default "abracadab";
+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 add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_71 text default NULL;
+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 add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty", add column added_81 mediumtext default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_11 bigint default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_21 bigint default 1234;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_31 bigint NOT NULL default 54;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_41 varchar(10) default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_51 varchar(10) default "abracadab";
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_71 text default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt", add column added_81 mediumtext default NULL;
+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 add column added_7 text default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL, add column added_11 bigint default NULL;
+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 add column added_7 text default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL, add column added_21 bigint default 1234;
+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 add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL, add column added_31 bigint NOT NULL default 54;
+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 add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL, add column added_41 varchar(10) default NULL;
+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 add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_51 varchar(10) default "abracadab";
+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 add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_7 text default NULL, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL, add column added_71 text default NULL;
+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 add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL, add column added_81 mediumtext default NULL;
+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 add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_11 bigint default NULL;
+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 add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL, add column added_21 bigint default 1234;
+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 add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL, add column added_31 bigint NOT NULL default 54;
+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 add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_41 varchar(10) default NULL;
+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 add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_51 varchar(10) default "abracadab";
+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 add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_71 text default NULL;
+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 add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL, add column added_81 mediumtext default NULL;
+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 add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_11 bigint default NULL;
+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 add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_1 bigint default NULL first, add column added_21 bigint default 1234;
+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 add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_1 bigint default NULL first, add column added_31 bigint NOT NULL default 54;
+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 add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_41 varchar(10) default NULL;
+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 add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_51 varchar(10) default "abracadab";
+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 add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_1 bigint default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_1 bigint default NULL first, add column added_71 text default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_71 text default NULL;
+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 add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_1 bigint default NULL first, add column added_81 mediumtext default NULL;
+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 add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_11 bigint default NULL;
+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 add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_2 bigint default -1 first, add column added_21 bigint default 1234;
+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 add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_2 bigint default -1 first, add column added_31 bigint NOT NULL default 54;
+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 add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_41 varchar(10) default NULL;
+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 add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_51 varchar(10) default "abracadab";
+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 add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_2 bigint default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_2 bigint default -1 first, add column added_71 text default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_71 text default NULL;
+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 add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_2 bigint default -1 first, add column added_81 mediumtext default NULL;
+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 add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_11 bigint default NULL;
+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 add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_21 bigint default 1234;
+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 add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_31 bigint NOT NULL default 54;
+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 add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_41 varchar(10) default NULL;
+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 add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_51 varchar(10) default "abracadab";
+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 add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_71 text default NULL;
+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 add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+alter table bar add column added_3 bigint NOT NULL default -1 first, add column added_81 mediumtext default NULL;
+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 add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_11 bigint default NULL;
+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 add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_21 bigint default 1234;
+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 add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_31 bigint NOT NULL default 54;
+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 add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_41 varchar(10) default NULL;
+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 add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_51 varchar(10) default "abracadab";
+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 add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_4 varchar(10) default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_71 text default NULL;
+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 add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_4 varchar(10) default NULL first, add column added_81 mediumtext default NULL;
+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 add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_11 bigint default NULL;
+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 add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_21 bigint default 1234;
+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 add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_31 bigint NOT NULL default 54;
+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 add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_41 varchar(10) default NULL;
+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 add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_51 varchar(10) default "abracadab";
+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 add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_71 text default NULL;
+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 add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_5 varchar(10) default "qwerty" first, add column added_81 mediumtext default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_11 bigint default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_21 bigint default 1234;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_31 bigint NOT NULL default 54;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_41 varchar(10) default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_51 varchar(10) default "abracadab";
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_71 text default NULL;
+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 add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" first, add column added_81 mediumtext default NULL;
+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 add column added_7 text default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_7 text default NULL first, add column added_11 bigint default NULL;
+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 add column added_7 text default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_7 text default NULL first, add column added_21 bigint default 1234;
+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 add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_7 text default NULL first, add column added_31 bigint NOT NULL default 54;
+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 add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_7 text default NULL first, add column added_41 varchar(10) default NULL;
+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 add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_51 varchar(10) default "abracadab";
+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 add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_7 text default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_7 text default NULL first, add column added_71 text default NULL;
+alter table bar add column added_7 text default NULL first, add column added_71 text default NULL;
+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 add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_7 text default NULL first, add column added_81 mediumtext default NULL;
+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 add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_11 bigint default NULL;
+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 add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+alter table bar add column added_8 mediumtext default NULL first, add column added_21 bigint default 1234;
+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 add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+alter table bar add column added_8 mediumtext default NULL first, add column added_31 bigint NOT NULL default 54;
+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 add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_41 varchar(10) default NULL;
+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 add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_51 varchar(10) default "abracadab";
+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 add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+alter table bar add column added_8 mediumtext default NULL first, add column added_61 varchar(10) NOT NULL default "abracadab";
+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 add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_71 text default NULL;
+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 add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
+
+
+create table foo (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 add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_11 bigint default NULL after 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 add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_1 bigint default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_71 text default NULL after 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 add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_1 bigint default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_11 bigint default NULL after 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 add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_21 bigint default 1234 after 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 add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_41 varchar(10) default NULL after 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 add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_2 bigint default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_71 text default NULL after 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 add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_2 bigint default -1 after bb, add column added_81 mediumtext default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_11 bigint default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_21 bigint default 1234 after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_41 varchar(10) default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_71 text default NULL after 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 add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_3 bigint NOT NULL default -1 after bb, add column added_81 mediumtext default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_11 bigint default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_71 text default NULL after 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 add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_4 varchar(10) default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_11 bigint default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_21 bigint default 1234 after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_41 varchar(10) default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_71 text default NULL after 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 add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_5 varchar(10) default "qwerty" after bb, add column added_81 mediumtext default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_11 bigint default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_21 bigint default 1234 after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_41 varchar(10) default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_71 text default NULL after 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 add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after bb, add column added_81 mediumtext default NULL after 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 add column added_7 text default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_11 bigint default NULL after 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 add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_7 text default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_71 text default NULL after 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 add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_7 text default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_11 bigint default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_21 bigint default 1234 after 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 add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_31 bigint NOT NULL default 54 after 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 add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_41 varchar(10) default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_51 varchar(10) default "abracadab" after 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 add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_61 varchar(10) NOT NULL default "abracadab" after 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 add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_71 text default NULL after 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 add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after bb;
+alter table bar add column added_8 mediumtext default NULL after bb, add column added_81 mediumtext default NULL after 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 add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after bb, add column added_3 bigint NOT NULL default -1;
+source include/diff_tables.inc;
+drop table foo; drop table bar;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_drop.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_drop.test
index 98621b3c7c3..fcd8de8ef6d 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_drop.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_drop.test
@@ -1,1900 +1,1900 @@
-#--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;
+--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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_dels.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_dels.test
index a4cce7ebe1b..b46430f46bd 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_dels.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_dels.test
@@ -1,6 +1,6 @@
# test simple MVCC, that a transaction does not read something committed after it
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
set session tokudb_disable_slow_alter=ON;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_lock_sps.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_lock_sps.test
index 9d34faefbbc..d5521a9e351 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_lock_sps.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_lock_sps.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_locks.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_locks.test
index 040de6c07e8..db33d905b38 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_locks.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_with_locks.test
@@ -1,6 +1,6 @@
# test simple MVCC, that a transaction does not read something committed after it
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
set session tokudb_disable_slow_alter=ON;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr.test
index 3afbb0399a8..7e9ba70a89b 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr2.test
index 9ae69dd64ee..c780fd4c25e 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr3.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr3.test
index 1360c7fb80a..c0d6d828278 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr3.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hcr3.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/hot_row_format_alter.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/hot_row_format_alter.test
index 8a5cc0b8fad..6a5b7d9a1ca 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/hot_row_format_alter.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/hot_row_format_alter.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
#
# Verify that row format changes are non-blocking, hot operations.
#
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/mod_enum.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/mod_enum.test
new file mode 100644
index 00000000000..a91b9fa4d45
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/mod_enum.test
@@ -0,0 +1,56 @@
+# test for bogus inplace alter of an enum field
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+drop table if exists test_enum;
+enable_warnings;
+
+# no change in enum list
+CREATE TABLE test_enum (col1 INT NOT NULL PRIMARY KEY AUTO_INCREMENT, col2 ENUM('value1','value2','value3') NULL);
+INSERT INTO test_enum (col2) VALUES ('value1'),('value1'),('value3');
+SELECT * FROM test_enum;
+
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value3');
+SELECT * FROM test_enum;
+
+drop table test_enum;
+
+# change number in enum list
+CREATE TABLE test_enum (col1 INT NOT NULL PRIMARY KEY AUTO_INCREMENT, col2 ENUM('value1','value2','value3') NULL);
+INSERT INTO test_enum (col2) VALUES ('value1'),('value1'),('value3');
+SELECT * FROM test_enum;
+
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
+--error ER_UNSUPPORTED_EXTENSION
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
+
+set tokudb_disable_hot_alter=1;
+set tokudb_disable_slow_alter=0;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
+SELECT * FROM test_enum;
+
+drop table test_enum;
+
+# change values in enum list
+CREATE TABLE test_enum (col1 INT NOT NULL PRIMARY KEY AUTO_INCREMENT, col2 ENUM('value1','value2','value3') NULL);
+INSERT INTO test_enum (col2) VALUES ('value1'),('value1'),('value3');
+SELECT * FROM test_enum;
+
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
+--error ER_UNSUPPORTED_EXTENSION
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
+
+set tokudb_disable_hot_alter=1;
+set tokudb_disable_slow_alter=0;
+ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
+SELECT * FROM test_enum;
+
+drop table test_enum;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_add_key.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_add_key.test
new file mode 100644
index 00000000000..70e2a07e4cc
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_add_key.test
@@ -0,0 +1,62 @@
+# simplified test case reduced from an RQG trial that crashes tokudb
+# adding a key breaks the row encoding because mysql changed
+# null_bytes on the new table without tokudb's knowledge
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+drop table if exists t;
+enable_warnings;
+
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+#--error ER_UNSUPPORTED_EXTENSION
+ALTER TABLE t ADD KEY (c25);
+#set tokudb_disable_slow_alter=0;
+#ALTER TABLE t ADD KEY (c25);
+UPDATE t SET c27=0;
+
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_col_rename.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_col_rename.test
new file mode 100644
index 00000000000..048e39dc757
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_col_rename.test
@@ -0,0 +1,62 @@
+# simplified test case reduced from an RQG trial that crashes tokudb
+# alter rename column breaks the row encoding because mysql changed
+# null_bytes on the new table without tokudb's knowledge
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+drop table if exists t;
+enable_warnings;
+
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+#--error ER_UNSUPPORTED_EXTENSION
+ALTER TABLE t CHANGE COLUMN c25 x25 char(1);
+#set tokudb_disable_slow_alter=0;
+#ALTER TABLE t CHANGE COLUMN c25 x25 char(1);
+UPDATE t SET c27=0;
+
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_default.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_default.test
new file mode 100644
index 00000000000..a5695e8a4c6
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_default.test
@@ -0,0 +1,62 @@
+# simplified test case reduced from an RQG trial that crashes tokudb
+# alter drop default breaks the row encoding because mysql changed
+# null_bytes on the new table without tokudb's knowledge
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+drop table if exists t;
+enable_warnings;
+
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+#--error ER_UNSUPPORTED_EXTENSION
+ALTER TABLE t ALTER c120 DROP DEFAULT;
+#set tokudb_disable_slow_alter=0;
+#ALTER TABLE t ALTER c120 DROP DEFAULT;
+UPDATE t SET c27=0;
+
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_key.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_key.test
new file mode 100644
index 00000000000..d2726c30ddd
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_key.test
@@ -0,0 +1,64 @@
+# simplified test case reduced from an RQG trial that crashes tokudb
+# dropping a key breaks the row encoding because mysql changed
+# null_bytes on the new table without tokudb's knowledge
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+drop table if exists t;
+enable_warnings;
+
+CREATE TABLE t (
+c25 char(1),
+c277 int,
+c195 int unsigned,
+c129 char(1),
+c196 int unsigned,
+c58 date,
+c7 varchar(1),
+c121 varchar(1),
+c21 char(1),
+c56 date,
+c2 varchar(1),
+c12 varchar(1),
+c13 char(1),
+c14 int,
+c15 date,
+c16 char(1),
+c17 varchar(1),
+c18 int unsigned,
+c120 varchar(1),
+c19 varchar(1),
+c5 varchar(1),
+c22 char(1),
+c9 varchar(1),
+c23 char(1),
+c28 char(1),
+c279 int unsigned,
+c26 char(1),
+c27 varchar(1),
+c24 char(1),
+c193 int,
+c29 date,
+c30 varchar(1),
+c194 int,
+c31 date,
+key(c31)) ENGINE=tokudb;
+INSERT INTO t (c25) VALUES (NULL);
+UPDATE t SET c27=0;
+ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH;
+UPDATE t SET c27=0;
+ALTER TABLE t ADD KEY (c25);
+UPDATE t SET c27=0;
+ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
+UPDATE t SET c27=0;
+set tokudb_disable_hot_alter=0;
+set tokudb_disable_slow_alter=1;
+#--error ER_UNSUPPORTED_EXTENSION
+ALTER TABLE t DROP KEY c25;
+#set tokudb_disable_slow_alter=0;
+#ALTER TABLE t DROP KEY c25;
+UPDATE t SET c27=0;
+
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter.test
index a28138d9afa..951f517b2ba 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter2.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter2.test
index 6f4b24cd25b..019ee36ac38 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter2.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/other_alter2.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/row_format_alter.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/row_format_alter.test
index 4ce6517cc48..0fa0c0d4b11 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/row_format_alter.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/row_format_alter.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
#
# Attempt to change row format with and without
# other ALTER TABLE statements.
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/test_field_same_detection.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/test_field_same_detection.test
index cd184e7eb2e..37ed9cca064 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/test_field_same_detection.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/test_field_same_detection.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/t/virtual_columns.test b/storage/tokudb/mysql-test/tokudb_alter_table/t/virtual_columns.test
index e4faf5e3459..34ecdca36e2 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/t/virtual_columns.test
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/t/virtual_columns.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/disabled.def b/storage/tokudb/mysql-test/tokudb_bugs/disabled.def
index 054c69871c5..0bf13a5e86e 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/disabled.def
+++ b/storage/tokudb/mysql-test/tokudb_bugs/disabled.def
@@ -6,3 +6,6 @@ tokudb_drop_simple_table_668: no tokudb test data in mariadb tree
5585: times out, too many huge insert...selects
fileops-3: how this could work, if alter needs an exclusive mdl lock?
6053: N/A to MariaDB
+
+checkpoint_lock_2: test can not work when the checkpoint_safe_lock is a fair rwlock
+
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/include/not_5_5.inc b/storage/tokudb/mysql-test/tokudb_bugs/include/not_5_5.inc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/include/not_5_5.inc
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/2952.result b/storage/tokudb/mysql-test/tokudb_bugs/r/2952.result
index d0319ab9f74..277e2d9f407 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/2952.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/2952.result
@@ -12,7 +12,7 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
begin;
insert into foo values (1,10,100),(2,20,200),(3,30,300);
set session transaction isolation level read uncommitted;
@@ -35,7 +35,7 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
begin;
insert into foo values (1,10,100),(2,20,200),(3,30,300);
insert into foo values (100,100,100);
@@ -56,7 +56,7 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
begin;
insert into foo values (1,10,100),(2,20,200),(3,30,300);
insert into foo values (100,100,100);
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/2970.result b/storage/tokudb/mysql-test/tokudb_bugs/r/2970.result
index ec94a0844e9..ef13e1943ca 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/2970.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/2970.result
@@ -1,3 +1,4 @@
+set default_storage_engine='tokudb';
drop table if exists t2970;
Warnings:
Note 1051 Unknown table 'test.t2970'
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/4676.result b/storage/tokudb/mysql-test/tokudb_bugs/r/4676.result
index 44e4e02b7d4..2d9161dc653 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/4676.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/4676.result
@@ -4,7 +4,7 @@ SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
/*!50100 PARTITION BY KEY (a)
(PARTITION part0 ENGINE = TokuDB,
PARTITION part1 ENGINE = TokuDB) */
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/5089.result b/storage/tokudb/mysql-test/tokudb_bugs/r/5089.result
index 995a854f5da..a4229ffa9dd 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/5089.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/5089.result
@@ -6,7 +6,7 @@ t1 CREATE TABLE `t1` (
`c1` int(11) NOT NULL,
`c2` int(11) NOT NULL,
PRIMARY KEY (`c1`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 (c1,c2) values (1,1),(2,2);
alter table t1 compression=tokudb_lzma;
show create table t1;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/alter_external_lock_assert.result b/storage/tokudb/mysql-test/tokudb_bugs/r/alter_external_lock_assert.result
new file mode 100644
index 00000000000..6eb249e7b8c
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/alter_external_lock_assert.result
@@ -0,0 +1,21 @@
+set default_storage_engine=tokudb;
+DROP TABLE IF EXISTS p,i,t1_tokudb_tokudb_smallvc_250;
+BEGIN;
+CREATE TABLE t1_tokudb_tokudb_smallvc_250(
+c1 BLOB,
+c2 DATE,
+unique(c2)) ENGINE=tokudb COMPRESSION=tokudb_small;
+CREATE TEMPORARY TABLE p LIKE t1_tokudb_tokudb_smallvc_250;
+ALTER TABLE p RENAME t1_tokudb_tokudb_smallvc_250;
+CREATE TEMPORARY TABLE i SELECT 1 t1_tokudb_tokudb_smallvc_250;
+show tables;
+Tables_in_test
+t1_tokudb_tokudb_smallvc_250
+LOCK TABLE i READ;
+ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
+ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
+ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
+UNLOCK TABLES;
+COMMIT;
+DROP TABLE IF EXISTS i,p,t1_tokudb_tokudb_smallvc_250;
+DROP TABLE t1_tokudb_tokudb_smallvc_250;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/alter_part_tokudb_bug_155.result b/storage/tokudb/mysql-test/tokudb_bugs/r/alter_part_tokudb_bug_155.result
new file mode 100644
index 00000000000..4cbbbaa7e34
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/alter_part_tokudb_bug_155.result
@@ -0,0 +1,33 @@
+DROP TABLE IF EXISTS `test`;
+CREATE TABLE `test` (
+`id` bigint(20) unsigned NOT NULL,
+`timestamp` timestamp NOT NULL DEFAULT '1985-01-19 09:00:00',
+`col1` smallint(5) unsigned NOT NULL,
+`col2` smallint(5) unsigned DEFAULT NULL,
+`col3` smallint(6) DEFAULT NULL,
+`col4` tinyint(4) DEFAULT NULL,
+`col5` smallint(6) DEFAULT NULL,
+`col6` tinyint(4) DEFAULT NULL,
+`col7` smallint(6) DEFAULT NULL,
+`col8` smallint(6) DEFAULT NULL,
+`col9` smallint(6) DEFAULT NULL,
+`col10` smallint(6) DEFAULT NULL,
+`col11` smallint(6) DEFAULT NULL,
+`col12` smallint(6) DEFAULT NULL,
+`col13` tinyint(4) DEFAULT NULL,
+`col14` int(11) DEFAULT NULL,
+`col15` int(11) DEFAULT NULL,
+`col16` tinyint(4) DEFAULT NULL,
+`col17` smallint(6) DEFAULT NULL,
+PRIMARY KEY (`id`,`timestamp`)
+) ENGINE=TokuDB DEFAULT CHARSET=utf8 COMPRESSION=TOKUDB_LZMA
+PARTITION BY RANGE (UNIX_TIMESTAMP(timestamp))
+(PARTITION p201312 VALUES LESS THAN (1388563200) ENGINE = TokuDB,
+PARTITION p201401 VALUES LESS THAN (1391241600) ENGINE = TokuDB,
+PARTITION pMax VALUES LESS THAN MAXVALUE ENGINE = TokuDB);
+INSERT INTO `test` VALUES (138,'2013-11-04 10:47:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(138,'2013-11-04 10:47:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(138,'2013-11-04 10:47:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(138,'2013-11-04 10:47:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(138,'2013-11-04 10:47:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(139,'2013-11-04 10:48:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(139,'2013-11-04 10:48:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(139,'2013-11-04 10:48:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(139,'2013-11-04 10:48:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(139,'2013-11-04 10:48:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(140,'2013-11-04 10:49:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(140,'2013-11-04 10:49:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(140,'2013-11-04 10:49:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(140,'2013-11-04 10:49:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(140,'2013-11-04 10:49:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(141,'2013-11-04 10:50:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(141,'2013-11-04 10:50:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(141,'2013-11-04 10:50:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(141,'2013-11-04 10:50:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(141,'2013-11-04 10:50:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(142,'2013-11-01 07:00:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(142,'2013-11-01 07:00:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(142,'2013-11-01 07:00:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(143,'2013-11-04 08:00:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(143,'2013-11-04 08:00:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(143,'2013-11-04 08:00:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(144,'2013-11-04 18:47:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(144,'2013-11-04 18:47:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(144,'2013-11-04 18:47:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(144,'2013-11-04 18:47:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(144,'2013-11-04 18:47:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(145,'2013-11-04 18:50:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(145,'2013-11-04 18:50:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(145,'2013-11-04 18:50:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(145,'2013-11-04 18:50:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(146,'2013-11-05 07:59:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(146,'2013-11-05 07:59:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(146,'2013-11-05 07:59:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(147,'2013-12-01 07:59:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(147,'2013-12-01 07:59:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(147,'2013-12-01 07:59:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(148,'2013-11-04 18:47:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(148,'2013-11-04 18:47:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(148,'2013-11-04 18:47:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(148,'2013-11-04 18:47:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(148,'2013-11-04 18:47:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(149,'2013-11-04 18:50:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(149,'2013-11-04 18:50:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(149,'2013-11-04 18:50:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(149,'2013-11-04 18:50:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(210,'2013-12-16 02:13:44',2560,29952,-1025,-44,-12545,1,512,1024,23040,3328,6144,0,-56,1610612736,16777217,-12,NULL),(210,'2013-12-16 02:13:45',62464,54017,-5633,-50,-2305,5,768,1792,23808,15616,4096,2048,-86,704643091,167772169,-12,NULL),(210,'2013-12-16 02:13:46',24064,42497,-3585,-110,255,60,1792,3328,-30720,6656,16128,2816,-76,570425441,402653202,-12,NULL),(210,'2013-12-16 02:13:47',62464,54017,-5633,-60,2815,-106,2816,6400,8704,18433,4096,3328,31,2046820434,587203975,-12,NULL),(210,'2013-12-16 02:13:48',24064,42497,-3585,116,8703,94,3329,6912,-30208,24065,3584,3840,29,654311504,1207959566,-12,NULL),(211,'2013-12-16 15:13:44',2560,29952,-1025,-44,-12545,1,512,1024,23040,3328,6144,0,-56,1610612736,16777217,-12,NULL);
+ALTER TABLE test REORGANIZE PARTITION p201312 INTO (PARTITION pOld VALUES LESS THAN (1378018800),PARTITION p201309 VALUES LESS THAN (1380610800),PARTITION p201310 VALUES LESS THAN (1383289200),PARTITION p201311 VALUES LESS THAN (1385884800),PARTITION p201312 VALUES LESS THAN (1388563200));
+create table test_copy like test;
+insert into test_copy select * from test;
+include/diff_tables.inc [test, test_copy]
+drop table test,test_copy;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/alter_table_copy_table.result b/storage/tokudb/mysql-test/tokudb_bugs/r/alter_table_copy_table.result
new file mode 100644
index 00000000000..e8765ec7ab9
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/alter_table_copy_table.result
@@ -0,0 +1,8 @@
+drop table if exists t;
+set tokudb_disable_hot_alter=ON;
+set default_storage_engine=tokudb;
+create table t (id int, x char(2), primary key (id), unique key (x));
+insert into t values (1,'aa'),(2,'ab');
+alter table t modify x char(1);
+ERROR 23000: Duplicate entry 'a' for key 'x'
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result b/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
index 09fc4176f27..f93f567961a 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
@@ -1,16 +1,16 @@
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set global tokudb_checkpoint_on_flush_logs=ON;
# Establish connection conn1 (user = root)
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Sleep NULL
flush logs;
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Sleep NULL
set tokudb_checkpoint_lock=1;
flush logs;;
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Query init flush logs
set tokudb_checkpoint_lock=0;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result b/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result
index 968d86e5659..3e689191d59 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result
@@ -1,15 +1,15 @@
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Sleep NULL
flush logs;
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Sleep NULL
set tokudb_checkpoint_lock=1;
flush logs;;
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Sleep NULL
set tokudb_checkpoint_lock=0;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_1.result b/storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_1.result
new file mode 100644
index 00000000000..7e63c6a8a73
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_1.result
@@ -0,0 +1,15 @@
+drop table if exists t1,t2,t3;
+SET NAMES latin1;
+CREATE TABLE t1 (a INT) ENGINE=TokuDB;
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT) ENGINE=TokuDB;
+INSERT INTO t2 VALUES (3),(4);
+CREATE TABLE t3 (c VARCHAR(3), INDEX(c)) ENGINE=TokuDB;
+INSERT INTO t3 VALUES ('foo'),('bar');
+EXPLAIN SELECT * FROM t1
+WHERE a IN ( SELECT b FROM t2 ) OR ( 'qux' ) IN ( SELECT c FROM t3 );
+id select_type table type possible_keys key key_len ref rows Extra
+1 PRIMARY t1 ALL NULL NULL NULL NULL 2 Using where
+3 SUBQUERY t3 index_subquery c c 6 const 0 Using index; Using where
+2 MATERIALIZED t2 ALL NULL NULL NULL NULL 2
+drop table if exists t1,t2,t3;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_2.result b/storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_2.result
new file mode 100644
index 00000000000..6ac385b4eb1
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/commit_index_end_2.result
@@ -0,0 +1,5 @@
+drop table if exists t1,t2;
+CREATE TABLE t1 (a VARCHAR(8), INDEX(a)) ENGINE=TokuDB;
+INSERT INTO t1 VALUES ('foo'),('bar');
+CREATE TABLE t2 AS SELECT ( 'qux' ) IN ( SELECT a FROM t1 ) AS f1;
+drop table t1,t2;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/dict_leak_3518.result b/storage/tokudb/mysql-test/tokudb_bugs/r/dict_leak_3518.result
index ae80daae14b..055cf471eb7 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/dict_leak_3518.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/dict_leak_3518.result
@@ -8,7 +8,7 @@ Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values(1);
select * from foo;
a
@@ -20,7 +20,7 @@ Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select * from foo;
a
1
@@ -45,7 +45,7 @@ Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select * from foo;
a
1
@@ -67,7 +67,7 @@ Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into foo values(1);
select * from foo;
a
@@ -84,7 +84,7 @@ show create table fooff;
Table Create Table
fooff CREATE TABLE `fooff` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table fooff;
begin;
select * from bar;
@@ -100,7 +100,7 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`abra` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select * from foo;
abra
drop table foo;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/expand_tinytext_text.result b/storage/tokudb/mysql-test/tokudb_bugs/r/expand_tinytext_text.result
index 7ef86c9299f..dd517562a1b 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/expand_tinytext_text.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/expand_tinytext_text.result
@@ -1,3 +1,4 @@
+set default_storage_engine='tokudb';
drop table if exists t;
create table t (u tinytext, v text);
insert into t values ('hi', 'there');
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/fractional_time.result b/storage/tokudb/mysql-test/tokudb_bugs/r/fractional_time.result
index 904ad618427..ae75be98c14 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/fractional_time.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/fractional_time.result
@@ -26,7 +26,7 @@ foo CREATE TABLE `foo` (
`b` datetime(4) DEFAULT NULL,
`c` datetime(5) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
select * from foo;
a b c
2010-12-10 14:12:09.123451 2010-12-10 14:12:09.1234 2010-12-10 14:12:09.12345
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store.result b/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store.result
index 53cb52ddcba..c7757919d69 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store.result
@@ -7,23 +7,23 @@ Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table bar;
Table Create Table
bar CREATE TABLE `bar` (
`a` int(11) DEFAULT NULL,
KEY `a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table bar;
Table Create Table
bar CREATE TABLE `bar` (
`a` int(11) DEFAULT NULL,
KEY `a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE foo,bar;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store2.result b/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store2.result
index b202da70fcf..e57d76fba21 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store2.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store2.result
@@ -9,12 +9,12 @@ show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`b` bigint(20) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table bar;
Table Create Table
bar CREATE TABLE `bar` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE foo,bar;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store3.result b/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store3.result
index 2b098d68705..7c329454692 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store3.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/frm_store3.result
@@ -10,11 +10,11 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL DEFAULT '0',
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
show create table bar;
Table Create Table
bar CREATE TABLE `bar` (
`a` bigint(20) DEFAULT NULL,
KEY `a` (`a`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
DROP TABLE foo,bar;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/leak172.result b/storage/tokudb/mysql-test/tokudb_bugs/r/leak172.result
new file mode 100644
index 00000000000..c3d8358724f
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/leak172.result
@@ -0,0 +1,124 @@
+set default_storage_engine=tokudb;
+drop table if exists t1,t2;
+CREATE TABLE `t1` (
+`c4` int(11) DEFAULT NULL,
+`c5` int(11) DEFAULT NULL,
+`c26` text,
+`c18` blob,
+`c29` text NOT NULL,
+`c3` int(10) unsigned DEFAULT NULL,
+`c25` text,
+`c17` varchar(240) NOT NULL,
+`c11` int(10) unsigned NOT NULL,
+`c0` int(11) DEFAULT NULL,
+`c22` blob NOT NULL,
+`c13` varchar(240),
+`c19` blob,
+`c20` blob,
+`c23` blob NOT NULL,
+`c27` text,
+`c28` text NOT NULL,
+`c2` int(10) unsigned DEFAULT NULL,
+`c12` varchar(240) DEFAULT NULL,
+`c34` date NOT NULL,
+`c30` date DEFAULT NULL,
+`c31` date DEFAULT NULL,
+`c24` date NOT NULL DEFAULT '0000-00-00',
+`c33` date DEFAULT NULL,
+`c21` blob,
+`c1` int(11),
+`c15` varchar(240) DEFAULT NULL,
+`c16` varchar(240) NOT NULL,
+`c9` int(11) NOT NULL,
+`c32` date DEFAULT NULL,
+`c7` int(10) unsigned DEFAULT NULL,
+`c8` int(11) NOT NULL,
+`c14` varchar(240) DEFAULT NULL,
+`c35` date NOT NULL,
+`pk` int(11) NOT NULL AUTO_INCREMENT,
+`c10` int(10) unsigned NOT NULL,
+`c6` int(10) unsigned DEFAULT NULL,
+PRIMARY KEY (`pk`),
+KEY `c5` (`c5`),
+KEY `c29` (`c29`(255)),
+KEY `c3` (`c3`),
+KEY `c25` (`c25`(255)),
+KEY `c17` (`c17`),
+KEY `c11` (`c11`),
+KEY `c13` (`c13`),
+KEY `c19` (`c19`(255)),
+KEY `c23` (`c23`(255)),
+KEY `c27` (`c27`(255)),
+KEY `c31` (`c31`),
+KEY `c33` (`c33`),
+KEY `c21` (`c21`(255)),
+KEY `c1` (`c1`),
+KEY `c15` (`c15`),
+KEY `c9` (`c9`),
+KEY `c7` (`c7`),
+KEY `c35` (`c35`)
+);
+CREATE TABLE `t2` (
+`c12` varchar(240) DEFAULT NULL,
+`c15` varchar(240) DEFAULT NULL,
+`c19` blob,
+`c14` varchar(240) DEFAULT NULL,
+`c6` int(10) unsigned DEFAULT NULL,
+`c11` int(10) unsigned NOT NULL,
+`c30` date DEFAULT NULL,
+`c29` text NOT NULL,
+`c20` blob,
+`c18` blob,
+`c23` blob NOT NULL,
+`c16` varchar(240) NOT NULL,
+`c10` int(10) unsigned NOT NULL,
+`c25` text,
+`c21` blob,
+`c7` int(10) unsigned DEFAULT NULL,
+`c9` int(11) NOT NULL,
+`c5` int(11) DEFAULT NULL,
+`c35` date NOT NULL,
+`c24` text,
+`c17` varchar(240) NOT NULL,
+`c28` text NOT NULL,
+`c33` date DEFAULT NULL,
+`c26` text,
+`c0` int(11) DEFAULT NULL,
+`c13` varchar(240) DEFAULT NULL,
+`c3` int(10) unsigned DEFAULT NULL,
+`c1` int(11) DEFAULT NULL,
+`pk` int(11) NOT NULL AUTO_INCREMENT,
+`c34` date NOT NULL,
+`c2` int(10) unsigned DEFAULT NULL,
+`c4` int(11) DEFAULT NULL,
+`c32` date,
+`c27` text,
+`c8` int(11) NOT NULL,
+`c31` date DEFAULT NULL,
+`c22` blob NOT NULL,
+PRIMARY KEY (`pk`),
+KEY `c15` (`c15`),
+KEY `c19` (`c19`(255)),
+KEY `c11` (`c11`),
+KEY `c29` (`c29`(255)),
+KEY `c23` (`c23`(255)),
+KEY `c25` (`c25`(255)),
+KEY `c21` (`c21`(255)),
+KEY `c7` (`c7`),
+KEY `c9` (`c9`),
+KEY `c5` (`c5`),
+KEY `c35` (`c35`),
+KEY `c17` (`c17`),
+KEY `c33` (`c33`),
+KEY `c13` (`c13`),
+KEY `c3` (`c3`),
+KEY `c1` (`c1`),
+KEY `c27` (`c27`(255)),
+KEY `c31` (`c31`)
+);
+LOAD DATA INFILE 'leak172_t1.data' INTO TABLE `t1` fields terminated by ',';
+set session debug_dbug="+d,tokudb_end_bulk_insert_sleep";
+LOAD DATA INFILE 'leak172_t2.data' INTO TABLE `t2` fields terminated by ',';
+UPDATE t1, t2 SET t1.`c5` = 4 WHERE t1.`c6` <= 'o';
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
+drop table t1,t2;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/optimize_temp_table_tokudb.result b/storage/tokudb/mysql-test/tokudb_bugs/r/optimize_temp_table_tokudb.result
new file mode 100644
index 00000000000..fe6dba5214e
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/optimize_temp_table_tokudb.result
@@ -0,0 +1,6 @@
+drop table if exists t;
+create temporary table t (x int) engine=tokudb;
+optimize table t;
+Table Op Msg_type Msg_text
+test.t optimize status OK
+drop table t;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/subselect_index_next_same_bug_157.result b/storage/tokudb/mysql-test/tokudb_bugs/r/subselect_index_next_same_bug_157.result
new file mode 100644
index 00000000000..b02d8fb831e
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/subselect_index_next_same_bug_157.result
@@ -0,0 +1,78 @@
+drop table if exists C, CC, D;
+CREATE TABLE `C` (
+`pk` int(11) NOT NULL AUTO_INCREMENT,
+`col_varchar_key` varchar(1) DEFAULT NULL,
+`col_varchar_nokey` varchar(1) DEFAULT NULL,
+PRIMARY KEY (`pk`),
+KEY `col_varchar_key` (`col_varchar_key`)
+) ENGINE=InnoDB;
+INSERT INTO `C` VALUES (1,'v','v'),(2,'v','v'),(3,'c','c'),(4,NULL,NULL),(5,'x','x');
+CREATE TABLE `CC` (
+`pk` int(11) NOT NULL AUTO_INCREMENT,
+`col_varchar_key` varchar(1) DEFAULT NULL,
+`col_varchar_nokey` varchar(1) DEFAULT NULL,
+PRIMARY KEY (`pk`),
+KEY `col_varchar_key` (`col_varchar_key`)
+) ENGINE=InnoDB;
+INSERT INTO `CC` VALUES (10,'x','x');
+CREATE TABLE `D` (
+`pk` int(11) NOT NULL AUTO_INCREMENT,
+`col_varchar_key` varchar(1) DEFAULT NULL,
+PRIMARY KEY (`pk`),
+KEY `col_varchar_key` (`col_varchar_key`)
+) ENGINE=InnoDB;
+INSERT INTO `D` VALUES (10,'u');
+SELECT
+alias1.col_varchar_key, alias2.col_varchar_key
+FROM
+(CC AS alias1
+INNER JOIN D AS alias2
+ON (alias2.pk = alias1.pk))
+WHERE
+alias2.col_varchar_key NOT IN
+(SELECT col_varchar_key
+FROM C
+WHERE col_varchar_nokey = alias1.col_varchar_key);
+col_varchar_key col_varchar_key
+x u
+SELECT
+alias1.col_varchar_key, alias2.col_varchar_key
+FROM
+(CC AS alias1
+INNER JOIN D AS alias2
+ON (alias2.pk = alias1.pk))
+WHERE
+alias2.col_varchar_key NOT IN
+(SELECT col_varchar_key
+FROM C FORCE INDEX(col_varchar_key)
+WHERE col_varchar_nokey = alias1.col_varchar_key);
+col_varchar_key col_varchar_key
+x u
+alter table C engine=TokuDB;
+SELECT
+alias1.col_varchar_key, alias2.col_varchar_key
+FROM
+(CC AS alias1
+INNER JOIN D AS alias2
+ON (alias2.pk = alias1.pk))
+WHERE
+alias2.col_varchar_key NOT IN
+(SELECT col_varchar_key
+FROM C
+WHERE col_varchar_nokey = alias1.col_varchar_key);
+col_varchar_key col_varchar_key
+x u
+SELECT
+alias1.col_varchar_key, alias2.col_varchar_key
+FROM
+(CC AS alias1
+INNER JOIN D AS alias2
+ON (alias2.pk = alias1.pk))
+WHERE
+alias2.col_varchar_key NOT IN
+(SELECT col_varchar_key
+FROM C FORCE INDEX(col_varchar_key)
+WHERE col_varchar_nokey = alias1.col_varchar_key);
+col_varchar_key col_varchar_key
+x u
+drop table if exists C, CC, D;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_part_table_668.result b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_part_table_668.result
index 15cd72c851e..92fb1f762f4 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_part_table_668.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_part_table_668.result
@@ -1,4 +1,5 @@
-create table tc (a int, b int, c int, primary key(a), key(b)) partition by hash(a) partitions 2;
+set default_storage_engine='tokudb';
+create table tc (a int, b int, c int, primary key(a), key(b)) engine=tokudb partition by hash(a) partitions 2;
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
./test/ta#P#p0-key-b
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_simple_table_668.result b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_simple_table_668.result
index 401e0236945..53f8b9a6319 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_simple_table_668.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_drop_simple_table_668.result
@@ -1,15 +1,16 @@
+set default_storage_engine='tokudb';
create table tc (id int, x int, primary key(id), key(x));
-select * from information_schema.tokudb_file_map;
-dictionary_name internal_file_name database table dictionary
-./test/ta-main ./_test_ta_main_8_17.tokudb test ta main
-./test/ta-status ./_test_ta_status_7_17.tokudb test ta status
-./test/tb-key-b ./_test_tb_key_b_e_17.tokudb test tb key-b
-./test/tb-main ./_test_tb_main_d_17.tokudb test tb main
-./test/tb-status ./_test_tb_status_c_17.tokudb test tb status
-./test/tc-key-x ./_test_tc_key_x_12_3_18.tokudb test tc key-x
-./test/tc-main ./_test_tc_main_12_2_18.tokudb test tc main
-./test/tc-status ./_test_tc_status_12_1_18.tokudb test tc status
-tokudb_meta ./tokudb_meta_3_17.tokudb
+select dictionary_name from information_schema.tokudb_file_map;
+dictionary_name
+./test/ta-main
+./test/ta-status
+./test/tb-key-b
+./test/tb-main
+./test/tb-status
+./test/tc-key-x
+./test/tc-main
+./test/tc-status
+tokudb_meta
drop table ta;
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr.result b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr.result
index 4f8e2ce89f5..57ae386a78f 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr.result
@@ -8,7 +8,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
create table t2(a int);
insert into t2 select A.a + 10*(B.a + 10*C.a) from t1 A, t1 B, t1 C;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr2.result b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr2.result
index 73de058d22d..99c72264e06 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr2.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/tokudb_mrr2.result
@@ -9,7 +9,7 @@ show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
create table t2(a int);
insert into t2 select A.a + 10*(B.a + 10*C.a) from t1 A, t1 B, t1 C;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t1.data b/storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t1.data
new file mode 100644
index 00000000000..0d81036c832
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t1.data
@@ -0,0 +1,2 @@
+\N,\N,\N,\N,-1,\N,\N,,0,\N,,\N,\N,\N,,\N,2004-11-01 01:02:04.031903,\N,\N,0000-00-00,\N,\N,0000-00-00,\N,\N,\N,\N,,0,\N,\N,0,\N,0000-00-00,1,0,\N
+\N,\N,\N,\N,,\N,\N,,0,\N,,\N,\N,\N,,\N,,\N,\N,0000-00-00,\N,\N,0000-00-00,\N,\N,\N,\N,,0,\N,9,0,\N,0000-00-00,2,0,\N
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t2.data b/storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t2.data
new file mode 100644
index 00000000000..5d74a90bc40
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/std_data/leak172_t2.data
@@ -0,0 +1,2108 @@
+t,baaglenxmatawozomwaewbyaagmmjwaukszounrjftpitrtrnosoamqdavyjosbzlenmbftxpcmfaccawehfuhxkkixwkiggwuxqhuwwsttoedllywzmyjrzdkfgrjyfj,ÿØÿà\0JFIF\0\0H\0H\0\0ÿá\0Exif\0\0MM\0*\0\0\0\0\0\0\0\0\0ÿÛ\0C\0ÿÛ\0CÿÀ\0\0x\0—"\0ÿÄ\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \
+ ÿÄ\07\0\0\0\0\0! 1"\
+AQ$2a±q#B‘¡’ÁÑÿÄ\0\0\0\0\0\0\0\0\0\0\0\0\0ÿÄ\05\0\0\0\0\0\0!"1A#2Qa3‘$q±ñCRbÁðÿÚ\0 \0\0?\0×ÿ\0ÑÑÑÑÑÑÑÑÑÑÑÑÑ×¼P¬‰êFHÿ\0l~–yòçËñÞÛÚÅs‘Þ=J«'KZžÝNÇ`õõïÜZ]¥_3·Þ¸‡ÌÁ u¢·¬‘Ñ1MÅgb­^ɨç¹ *Á* ’9¢Ž×ܦ@}ÀûŸçÉ\0Ÿ·ð^3*«3ª OòÁ~ß>Hÿ\0ÇÇŸA#êE_|y_Žrª"yü7ÇÇûùO×ãç®é»ÓûZÔzøEEs•ð‰ébÈôõ/ÇÌkóá~U:ÙKÚ¿ð—ý>xzÖ¤îrÑr÷y{p&­ŠÛ }Ô\\)ðŸ$Ìj’mËȤ ß#¢Yô±°ÁÝo7$ÊùÊã.Ѿš½¬Ú‘á~Ð{]ËßMu£´:§Šó77"UÐ#š°}ö k+R4ãÍíèM>B_T!FÊ>Xç—%hdf(µèÉ+´O7iœý¤‹»Ýì¡b‘² ‘¤â®Þ#\,wÛ_&co\,ÖŒQ\,ëYl<GPÊdÅ–UW1÷"t\\'ßN7ï´H×gð{+ƽޖ~›»¶U_K]á%O*Žk½\
+ˆôkšåOKš«U²á~^¥H¸âžG©#t«-¦N mŸê‘\\Mt‘§ád_ ò‹û¼¢¢nŽ·ïo‹±‹QYE“­°‘þU%½X›¡ˆœa+¬3@’ DÞÒØ>F~žuT^Ë¡YO2"¶ÕÔ÷W¿Ò—Cš´„Û¢ŒPçßg×ï\
+IaiÐÇ)ê\
+WFÅHä(ŒŽeVéXïmŠ¶…Õ“²jW¥Y–ì÷š½xŠÖþ±5Àî##‹0ˆ\0H$.ÙõKà µk†õ„Xì;ò™‘¸ wA-ú7.ÃújÄøÒµ8s 2ÀXïf«Uð×C*"§•EcÜ×3ãú==H¿Ÿ)׃Øß*Fþ|£¾[òª¾^¾µôøEñçñðˆ¾W­Ä|õÆæf¦k»=í³X"XXÖÚæ´\\_ b°†Q¤çIJ‰Ã c]r§Õ¾ÀgAmd’\,¬Š-¹×ø}>—ÝÉVOç»wØ0›qÆÔv·Ëöõ¢LèL¢ÚI‚äuÕg-+fòHé¡æDˆñe#Ð$ïgDeb¯ð\\ÃdHŒ)%gT 혣–\,\
+žñÜr’6ëPñ’X– ñ¹Šˆ’¬i\,´™•ÉNlí´Q¼*»K G\0©A;k w¥}+å?¢øTóþê‹çÂÿ\0Û®½e«ÝçðŸ÷-‡¤ºäNÈùg#ÝNT$œ¸šéÃ`;‡ŒA†Šy˜% ¥ØÇÉáIZI¾ÐµÒK¬˜¸rWrì¯8ï•°šÞ3Þf‹pØíÕ ¦gMLtnV<{J‹‘Á8TóæV?í\\“ìˈä÷ž¥f éÊ`µ µåRAIcd'oº±]îFe?¿ƒÓ­;•r-šSÅb\0‡ÕŠïötßš6þ\
+º‚?¶éÏG]ÞˆŠß ãËZ«åÊü¯”W;Ê|øbµ|9ˆ×*#•É×N¾Gûÿ\0—Y=z1¨¾¯\
+‹çÏÊ¢"þƵ?*õTýÊžáÊ'Ÿ'GCQŠªß”rª?÷"xDj9¾|/¥U¾”b#ü½}J©èj»>Í{îS¿Žg£àŽØ8ÚÛ¶ö³C%¤Ð3í3¸ÊGƒ‘§Ûè§_Òó9ÑÞH°°™Šéƒ äË$)ßMï§?>}L»‘ÎvóÁu …}-½äŽB¸líÆñfR!ŽÛ[¦±Žd ¯ûzš¤d‡ÜÛ¨•Á²GO*Ŷ˰§ßlÿ\0M¡à>Û3#‚æGœÊ6aþBåk3oõö¬‰ÄC‰ŠFÕåGš:Œðª¡À"%‘&€6$ øÿ\0}¾<m×å™Toº“¸wóöù>ÇçûoÔXý)¿†³³o§ýfW“¹¾Ž›ºŽê„+ ¾ª­ÖüMÇOΚ*Ä‚ÚY$ouZM³÷÷!EFøÞ2 Ö­=“(üÌ…†®ŒØuR—6uá´q¤õòÓ½Ž®ŒT{¿lâ«_*KLïG¢/°»¹†š!ûcaœÂ%žE÷…ƒØäpÑÂç¸I%‚h½¨dÎ{]#YÒUkr+­ Ð^ÒSQUÕÁmxA¦W˜\
+‘!–ÆK™Åw¤’TXØP„_º#Š5˜R=ÉX¹TbµßG‰Qøð<7›¸²²Ä‚Ü’ßÁ ü7ÁÖå\,@!1³LK‡ÐI&&…{¤–“ì8‚8#1>7=T47rRVY^ך6Ä$3(¡ÏW•8ùqÞP÷ÆÛDExÀ1^çÏ#šÙQŒHÅsêé½òþSdÍâ|þ’Ô ¦Š§3h=¥ @e¨°‰³jf³$V€RV­|ÕÄ”I’œ ’‰ èéÚ¯%óx[L6xzçÎMÍsíìu¦$x2³‘"\0í!cÕQž$‘E—5—{Vܬ³D\
+öÚk „„%Ý0¾Tä½ÅÍ@„è樫½Ý„ì†xM¨Öü¡{‘¨£Ì{ƒ:¹¨ª[ØdzµŽÙF‚[bñ#BÛ+–é¡}=É\\´“&Dâ&­fIg1\,MjZqBÄXêÏ%Ø’FYQkXTïEàDéÅ^!¬uµ8+˜ÍrIj¬K[¹iÌ n{&4i¢ž8jµ”噣æñ¼°Hêtyþ×Áæœ'4Þàyb¾û®Š²¥».·%µ¥»H)@~Š:ºŽ¿E[AJHBD8WÒÚCX!X×É G„{3Ù¯rÅòE 5öy÷‹\0‚gt\\…oe¿2pŠ’+\,þŽ¦´krn(eOZâd"‰iþôQ¡#ÈTËÇè2W÷ ¶¤·µÿ\0 ¸ó(¼DœÃJJ4]w\0Vàâ>ö#ãû)g*áu.•¬ŠÄ:É@y&>]¨(sÜyFaáÇGZ\0ËizM©Þ\,+«`Ó±IQJg°Q¤M Íy#Œc\
+?zƒÔmE£¡|M{ÛKrL];˜ªq¶5òr´ö‚˜µ„šI$Ž¯6h„»Y¯ûtç§ø]]dd'ŒR\\r×\\­¨r6ek¦’$q¡¦0•^Ûw¥UÙ¤E*Ì8¹c™îËy\0õ^z×dy"½ÖfSEG_È<i…†I¦`4t²èA“S=dLŒ"cs~Ø— öìŽ71ƃ;Ž·½® ›âWCöå^]òæFÉœÓÆ?ík«£Éˆ*kzáâqò£kßd2lØácŽŽO©7ÙreUæv¤ÛÝXAÈ’‡]W‘¸AˆÑX줖Ê\
+ã RÃ÷§‰\,s›çÃQªmwõvutYXB>ÒBaQôàKL£×ª­•3Ë(RÕN’½ñHè°¹=OÚÔ»Íêtqí˜ÃÅ!ž ’¥‰èÒ†åÒš?¤µE ³Vò#{2’à÷Tôç\
+úXÍã³3¬ih¥Š©nÄ´ïL‡„†ä ³³ ×’Æ›yØäÚ¤vH´Z{~Nû5B‚ZhÝÿ\0FEdÒÌßóÈNœ™†•ñGÜ?õRýïɈ’CIÔé¥Û§ÔCŽ¿‘»•ËãwWµµ¡Õd¹@jâ0Ń²Ò<“0»Øã?ï!Y&B”×KqGg$‡F•±O+§–C)´5ºáˆXØ/½<µ¥l+Ew¥DžëËq)bdžWÆž‡·Ê5<5ËSªõÄ4#¤ÔÇÀlV&Ø=¾‚¦lC¯Ü +’X›¢_2>²EŠTsåò‘’ÔÚ–ü¦¡°Ù )*¤i•ªm0x€ÓL–H\0ÔÑ“°Þ@>\\ñÚOMÁ™tägåæòb¬˜L=ÌÆ‚EÈ ·æ yØ!ò:Ô·õiú÷=ô¾½~ÈðÈånØîì§#Ì´c=V•“š¬¬¤äÚ–B;²—SÂÿ\0œÖ%¤èôq¦õ Ø2‘×xoãÂyýÈÿ\0Ÿ»÷#ZŠž|øV§§Çú\\ôðçoÚSWl1\\ƒQm“£åž<³Ð÷ü5·Í6úGD‹öv«—è`óY†Áåzg–‚dHDn‚ÒXŠë\\Ÿñ} ìNÒ.ð;HÃMÙ?$X„Ói[1vÖ½¿éDÏÚÎùxÞÎDŒÍòDk%ÊÛÉ4ƒ×’F”XÂXŒ(©;ˆÃ\0äA?c †ÓÚwMˬ‰îG“bzÉÇÚ\,Zœò3Ù…+ÉÚV±<;à¢Å ÁÂ5dlŠ®@lVz:ô•žÛÕžÕo„V½¯EñòŽj*úWÏþÕUs\
+ª©ç¯>¾lú:::::::TøWˆ9 Ÿ¹KÂÜO›;]É<›«§Èã3ÕÐ:Rì®­‰AÇÄzÀ\,\
+ï»°%ìö‚M™ñÀ<®é2ˆ©åQËý(‹å=KéUü¢¢""úQËçÊ#ÓÇÏŽ³ºþŸ§Í6G7¯ú‘r¾nµ6Ö¼mÚìVƒ“í×U×Á Ü¡É1¶gGxÒcËg\,\\;çW‡{sÅ …6lü})/OÛY‚©i\
+Ê}“öûl $¿Z̶F\,]7±)\0±B7P Ïáw”•]ù7ÎÃÆ笤þ•ÿ\0N~.úWv›‘à<8•‡rÍåm^»Ÿ9eŠK Ï#\0¿©EZo¡Ä)fHd•YI¼ 0ÐIo η·²4©ÒXO‘²¢i%8I„"G˜Ïm«Ž‰$$™¥lѵò¹Òµ‘$H®z+ÜåW"ô—Xr0ˆÒf›Ü½6\
+Ø îzÊÉ\,‘ þÂ*áåÍíT‹Üt¡Éêrúßë³Þf’{«¨&²yl$ £ç2°FV±\\ÑÍÑÀq Ï|Q‰?†\,ž%™¯Û‚VI×ã³Æ’\,Á&$€vXâ“œ!@;lNûìžzP—T@#`¡ç™“„’Å …#`Ò"wwùve lée;APƒÉžÀ<¼îŒ¹éO©ˆï°ÿ\06†M0„ÉïIR5ûGŽ;$Œ{ªä•!Ë`û|äLŽê䚘lÁ¹&Ìkl\,`µ®\,7Ž¯$i÷òdž¹Gƒ<¬2½ƒœ×­^óº^ßxË“ô¼]ÌÝÎãëyˆŠY.2œ‰”ÃåJPuàOgS=E¸àŽAâ”4O‰Î‘\\ÁZDs/¢W¹ý-¶Í:‰i7ø;êórMš§õ™!汬¥‘ÑH)•!ºJ#(¦d“X4øal©‹\
+xÞ¶·Ž®±Çc%“ ±Ï½Y*Q´ëÆDH&³ˆK3ž|U%â®Ü‡Æ·þ#¯zX§žŽ:ü5X¥º¶%YnDŒ7âL§ex£nûÂÌW–äyåôdûvÆö÷_°»âŽIî8ð›™t:<Ui1òպ€# ÌWoà±°ä€1 ‚!G†&¤NÜz‰%\
+›žÑ¡äMCÇœÞë`m•ÐP÷àŽ3ãsd$²¦…²c8^´ݳè'•õmí={ƒ€0†?ý|Žï+ ßÒU}••´Yû8Û!u§J…ßVN$¢X‰êl! ‘E÷b‘®zĨԫåk³yâ_G^0@"Èöè?Z‘­t±Æë ç’di25É13Ú!¬Hf…툟¼©9½5jÖM¬[Èæ”qœÏ!E-Z)êÖüFTŠ6³=y&G²?\0Ò\0ËÈï²Ìè<vu!¡ uq˜’!–½ˆëÍ$‚YÞ°1fbËY$‚ÒY`’ŠŠ7\0\0œñæ?{aáLл\,åP8ºŠp‹6X«\0̓É)¢eqÄÝ5Ä}·²4oÏAÑÞÔQ"1NEï[ÌSUÅ©G\0[m)$6Ά¶þçOîËö²ÊïÕÅ8Zá̃ p'©ò²{c™Eï?¸<$ko8ŽM/Å\\-ö†Û\\®­\
+ë³ÎWÙçó¹*âÄdšP‡‰y7Ég[R\,b¬ÓÉ íWô8Z¯ÓÍlóš¬Î†'•A¶ïÖçCˆyç„u@±x¯±`Þ–Á¥ó„eïÏöòI#þŒÑ1Ï›UêzSdµùÍÚ°[©!Æ P»¼k-g´ÇyD2“$@ 8|Ou®³’ «¥ôÕ˜ñš~Š­-\\˜­Û’?d‚Y£(ݼqAby ^üE¦ZòPf üÈÈåžx_ Á!sVhdŒ|6g˜ec¤Ž/Dªøÿ\0jÖÀ·Û‹ª ·Èæõ\\¤Æ¤Rja&ÉA!×ÃiM C×F\\?o*8±KÚ¸„•\\î‘h§åê¬a >*ÏæLBV­ }dSDÈ_ ×ѽ׶$‘’±ŽVÃ"9æ«ÕîrQÉü¿` ÕZ„AjÁ«œpéBX*Ç\0•š"gŸØzC£ŒÇĤ‹ä”d-ôÆÕo­ÌâÆ3\,•îc xy¤IšyEdNâXˆÆÇň†PÃÉÝ;³‰ÆEÔﺷy ×X$urÌ‹&ÌP\,ÎK‚ä·Ÿ'`:V³9ŽH89G;Y°ÄòþJÜŸÔbdÐqÝí`A4²*ÑH0¯ªˆ{J+ä‰ •$\,™§|„á¯4úúM-þ˜µìúº½d Ø9¹J3\0˜"ÈŠ8l .PßgPÄÒH{Æ‘²¾( {ß$È×UH~ŽÅFª¸.É =¥ÀΦÖ\\Ó×kì-á²°’®9^çûÁJŸrÿ\0³¸†Il&$ËÓ-&瑶ÍaŒPCÆ-1mJì˜;AÚCå„A+¤)o«]mVnhåÖÆ+–tEx¾ aÚ’ÐÉIn)#¦Ð†ÅÉš!<5å’7jqÍešY¡* ¦Jðï iÛ$ulÓKŒŠ¼±X¹%œ„’Çø]eŸ°Ó¬mÖ:Dp¸‰ÙWieDžVY¨Ëɤn3Pâ˾ÒT•iSvÂhµ$ætʶ"WýœÃzî„xé;YeÉ«Õ®kl]þg'²Ês†VçOË|Ê9«höüG¥©Ù€êȶ…¶`— ¾‰DŽÜ\
+Q'´]n™ÕÖt³ƒ\,2JÔWwÍÁjyŸ/Ç1å(eÜ _3g¢­™”aC£.ÂÀ©Øy-’¼{AiÁ€ÛX³èIAäi õÆô²‹6¥ó?pÙÌ«i¶ù‹m•e*E}L çHÙUPVè ´"!D¹¶\0ò\
+0XÉ¢EsãrHÉ^²=âtBÅc?ÐE¾µÛ0[–.ͬ}œÄÓŽ´ã¹#´õÑ;2ÈHe‘‘l$(]iZ;‹Pä'•S)5XmW†IlÕ¿*g–{0Ìbw‰çŽ8f Ê>é\,Ĩæ5Öýgþ™’ý:;žh˜f[\\ö¯Î•…rWm{[9ä(é2óè8÷Bc˜ŒnÓŒ¯=¨¤¾CN¨e5äÓK%²ÈØq•¨Føüµ=Iéw•òÕG9îEbþß—*ª5~UzÚgõìÀ/¨·küãÙ¢À.Ÿ’òVw<‹ÚG'X=+ëÆæÌÕ-v”Þ>†Èxå¬ÛŒ‰X«ºØ¡†µ “=røP°šd·.«O¦µ>¢Ø2k­ªÌ*¾Ða˜sB± ™‡03!¬žÅž7ŽLµ²C<oèj§R½S§äÓ9©ñÅšz“Ä™<M’HîâíÈÍ[]àR+OÎ4‘eMÝU˜bÒ…56€EŽÍiN7'±<25¢ŒNÁOèŠf \,Dr“öê—ÑÑÑÒ÷LÝ_|g…ºäî@ÄqÎr&ÿ\0y­ ÇÒÂ{½vz+@êƒDF¯Ù9L’E_‘µUʉãÆÛ.Ýhñ< ÁükÄ9¹¾Ã8;E†¦ž ÁØWä*¡e‰\,Š× ¶˜“H”¤žU —Î’#Ýå5bv;¬ÝO klý¿µÏm`´bÊäb0È\05A™¯òÕd™öòDôTVÊÖ¹¿)Ö|¼?ÎzNL° ­ÖB»ù"ÌÉ¥ž1€‰ú±ç”Ê“Œ‰¨Aã†ÁC!ðHù%jΨ²zéë§=ИüöÏgšxþ®ÒcìCì/^…Lm{k(\,9†¹bôÑ€¾Ò*HhÔnõŸT^ÅêL9!g¨0ó\\G ùmvÍ怉7ÙJÇZ’pos‡šP%¥È»ÛHfJß]l˜»ãôù­>V¾Œõr­~[Cej«Ò&\\P!…‚²N‹=Ñ*Èç?íï0mõ· m*0Ü“]‰·>¯INó¤°VYu³Wgå*rVò†Ôý •PS-cá<ÛP3èó5-.rÔþH].¡²Ücë‚—šµ*h0 Ý„ÕYoë@‹Ø†sgªé²„ÂÕ„åQ’DŽg}çÒºÐÇî6Å\\ØhÇž©g9e€5öWBÁi°’ºÔ2ÓíÃ|H=tÍ4qf \
+ñãÚlNà ƒ!ˆ½º[­/ÓÉI\,¢ØŽ^pCÂÄJ²V1 2î<;7±ägõórMZíU¯dÍ~H‘¦匤\\PH볎2³rÅ×nOöUœúRk7}þ«—÷¶œ£Î¤ãHO[F^ßá­èjÉ9j©4W6 K¿ÜÙVY™›9°Ê*×ÝhM0³Ë6}«e4wÂu½ºn€9 {cÃqÄ£AªÐݹ¼³•šÄ›~¢C…b( <ó#„wÚ왈qœ­ˆ˜ÞÀXíu—VÐÝUÎËŽdõöv›[÷¾0£¦¼$«Cíc!†ÊÐ!„ˆ2±ŠÆ"7«Wu£u¨GeêÅÐk\
+Ï^Ã_Xòex‰Èuü‡ –AßLhrm2Ï \\$Mµ]£ÔZÓ5­bJvù5(/÷1Ö6« u MÛ¨° ª`ŽHÒR‡õì‘ɶdÇáêàËÍÞI¬Í}eE–9LÕ\,«¤bHÙƒC* ÍTû”Þé4í¹¸âKí~ëc§Ç]ö—Üe?ËɵjÇ~±ÆÚ-<Óñô”c$ûù_P[s%¨ó\0ãÄcÉKY]]Y\\/'ñø±­äiuŸeõN¨Éj4EÃ[°ÅÝÔÕL ¶¾¤y¶è•–€FmoûÚñ&…V5_ݸ£ò™;Id ðÚûFºæœ‚NKå«8Ú–WSÍ)²ÏT5´3Ç^êûÃZ; ’¶0U‘Ç ›ûÈ?²xÜÈùËžY=Ž­ãêxdDÜÙÃOäÝXä\,ì)²kž« í-¬e}tUN±€?¼\
+?½N5wÏdêéêbžRW¿˜ÞI’ e¥³<V¥¬dÇ4¶Ü’û©R)·†9åötÏ=¾ö6•¬ÍÞÕŠ°ÇKÆÅ”™Ö%ÆÆ™ œ…*ƒ¸‹Þcù¦4ðá{ÚŽ=î“óülI܉Ü-9$pèºK.åã ƒ¤´«¼ÚZ×YSŒx:s·:¢‚Í]Sµ)e/êf±Ø=ºñ××öý–Á (“w;6.³yn=à×x½@$Åa]œvMËð3Øv[j^UD¬ež²bÁRç†'Á\\wÝ#칿—7Å¥ä—í_œßmrûÌÌA¤Åìl‚³ÊD8ÕÓG– ñCÐ8Ë Ó%‚¢\0µh§{\\c©ÓwÇiÊœ™Ê——–¼™ef¸®#ò!xüuPS´zLßév!$SÓäD±Ñîîi«ß:¾¶’ÎæÎ íbsz*ljŽ‡#—ÍE+F µË˜Ém=•úHbÇâéÅVhY²³±îÇnð›A\,–æHäKz…ŒŒ•(c–{ ëF\
+ÖÒ´igf½4–VN1Y3xˆ¨±Á7 8õê9ᬶ\,L6¶‡Ú€e-0PU˜¶×•GZ×QÒ–æ 5¨r\0Œ9Äû¢«¦šyˆÅYUâ.*áÜödžµúÙ ä œ~$suÙfNŽ–¿“Œp´k™K®¦:Õw‡VÂâû—È\,ÍkaÃ/wÚì¿m|¡yEÛªå4ܨ¦wÞYË¥nªu“ÿ\0TÜñ¶>¨kóÍuõË÷NyÎU‰"F  C CŒ†Ö£ Ãé²RUÕK]A¡¼eANC´š[«RÆdAÇÓ\\ÊÂ46ÀÈèæ5 IJÉúÎiÁ¨4õ{4¯XÀQ±ªl8ú{W¢’°YZÁV3W‹pÒWidv}ÇaBp±Ys€ËŸª£^ÊZ‹²(zÕeªå”Ö/ùs™LÏ ˆ{ŽÇ¬îù¸bõÀñù|üéAqâêŽ?¡œ&¸J»©ó>K¬r€ŽA""'”â‹y"É ˜ÑêcㆃmÈ‚Ø%.rºȲÌGm­¼Š°bÅÝGS\\Û_ÕCõ°FÍá„\,Ì‘\\<ªÜHlàåGrt<_”ФSâ¹Ùõy˸­³ÝVΖ¨í)r\0ï²\
+ÎÑöÉ`bŒ\,…ˆÇû©?œ€ßÉ•œ]SuKsÌósžçšÇk òÛ)qú³4ðG›0yƒ°&”G[FHêÿ\0Õ"séɪ±CìEÍÚÿ\0Òº¸s§ªã¯Á”l„KbÕ(#½6A«Ë%x–O­ïIh$w\
+L‚}Ê/-˜5ÓDz—jØÎÛ¿^ZI\\”«e¬VJ1NÐÍ+i¬Qì„ J$³¸d⬧¦ÏÊ|yGºåNbÂÿ\0-“M¾ä¾LÈêÅ ›ˆl­ñ”Í¥R^<áË_-°Øhç‰ÇWÄbö²t5%Ž ñ¼‘¼î–‡Šèa·Èqç \\ñµemˆw¬?KoW¼ÎÁ}cAv £‹3œ!´¦C ßtÙ °íÚ«#Ó§-ݯp—"_r·%XD8E1á­–yTiPVNË Ì!É!Õâ<SØC3Zéž]#åo8 NÞ Øò˜{;»œw8w ÅsÂÅbk/øŸ™xz††Î&Æ[Þèœ&fÈï[¬a’²Úv˘’ÉÐúRÁ°PMšžïÙÂc ÂP³ßÉTŸ/J|QÈÇÊ#³1Ç®8CvŽK3Ê“\,‹'Pìé1–¼Øø^Z•²9GÊÛ¬•è[L}ߪŠ«²¡+~dì ËîÑrV€@ÏÊ:{NÖ6<‚à ÍÍ%÷"Þ6Ôòàÿ\0MYR¯>`Ia\
+[èÒ&Ll“˜Ù":)„s=Ì?‰‹³;Nú¢ò†“+P-gwQMUÜǶ¸Xìd»©Ë\\8нbAy¯Bt‚Æ‘2­‚tPà ±DÌë6m‚\,n\
+—‰Ó%ƒÈK#¶×§0ZrF(¬Û-ý‚"Ó‹*òÎÌ°Ê/Ë¢¨†®R1E8¢Oø»s]/dž÷/2GyÃ7êLhœ—‹ýhÉbE4H5X¿n:76".üBö8‰üéë.×1ÚO)jD|¿PU»bNÄv®r9d’z±Ë3Ôw˜–únn±€¡¤b7êÝèóŠ™mK¬8ãLxy«Á —‚³=c¯p¬BrWþjÄ<–\
+ª£nµÚ½á|ùk]øTDW5éO*ª¨ß><¯çÇ”òžN‡/«Âü§Â"'•TDETDo©U|"'ÏÂùNŽ¡Dlvÿ\0N¯ýTjlI©8;ätE„\\%#<#›0ïd𪊿?…ü¢§Â§…^²‘úW÷¬Eí5ENä\0jg°IÄ‚eœ°vN3Ý0òÏ\,##½lzÉbV9©ëO-Åq©ðŸô‹ÿ\0Ú§”ÿ\0Ž•n'åmOh"½ÎžHÿ\0¶hÉy¾ÝÓF±µ«æF"Hß(äOÚöú‘ªŠ«á<Rý3õ] –s`=ŒK‚eé]aŽEŠh:*O6ÍÕ‚¡¶ñÒ¿Ñ‘jìlb$Q”¤ѹÝš8I÷4DìC¸+ɉØõ72PË-N¢·At¿}4´GVÎHà²e¹«2*»*’a:8Œ’'½ –"–ez‹"=½/:$ö™ñ¨8æîœv…Œ¢ \
+©Ê‚FÆÙ¯drJ’ 6DDg\
+D±¬.WÇ b‹Þûñ uÇ9Œf«Wa5ô†T9°0Ñ 8Kj…‘Ñ•HÖÉÑÄä…ŒlÎsÖF½WÏRG…ïËGȹœ¦¶žªÊºüê\\ƒ‹‚9ìLŠÚ®ÎgUÞe÷žü ±Ð±ZÚðcJø~áóJ3¡‘±³°ÒÆŸÌãèd0÷é^C2¨.­ÇêQ;u¥FÄœ›ƒ#.Ü÷ÜùòœØ¬¾2Ìð\\Šh^t"@èHƒcÊ!·cÅË%Jù²È?aÆ[¬hxŽ{ª Ñ‹«©·±û‰­+¡½‚‘–c‘H؇•ÄI#¤{Õì‰@¼G܉r'5v¿Ç¹X\,îv^qÎÙjxäMÖocl- ƒ «½Ãß_H9¬ ’ddy؆:’ÙGOb(“æ©æ÷"‹È|gV/(Yhí\,ÉVí*N¨ÂRD¢PÙ_ý¦a2[âä±–jb\\cE V+QÌk#·•¹·žù?McÉ’PàÃŒðxKŒ/OL£ëdƒ;V]]¥èw6'Ëj93ZIƒ¸X¡t0>IÄèÜ{Ý– ŽYñõĦj‘Ú1ÕÊàX’ãGYÛôwbÎÛ¶Ä4ËÌKJ9ªc¤²DE˜ê÷¬É¢´qÈ#<È7\, §ŒcbKu¿XŽ~)ø‹)k­ùcCy\
+¹C*Z3²§¨²ÛÚœlõÖÏ`.ˆqÁË2¢´v‘ë’ì“â*\0cL.ñ³ø^ä¼–3S¡‡yxMàœ‡µßb©)ò¼¥Ç6bU­ãœÆŽ ¹}´ä{»¶ gJtLH44ŒX"–¦xØàþH­ªäL~šÛ[0¶‘l‹}ÊßãÖA\\%ÌV•=e œ¤Ia¤Ë‚¤ FiÞÀËTô’Dš†m»dãÞä+´¹â´àWñµNÖۻ̓cqÌ=ÀßÕØáè- Òyd>È~Î涞à[Úd¤€iàXá™Ö\
+ø 9¦é%v&[ðÌË“’RñYúË7†½©@²¬üÕÒ"%‰åŒ»*…äÆ^öNÀžÍ‘ B$Hà(ð´×·$±Ž;E2Ç%Ù½Än7=5È°.½åà9³˜s‘QäktæK]kÉ•RÜj¹õÛ‚©³yb%WëìA§`.ÂÐrÁÌÒ¯ºË$²Ñ…7]šïöÝÀϺî1“ès\
+ýcp½ºf¬s™`/m.寳§äÝn.ž²¶+fêWn¾Úÿ\0ïF¦s.\
+2<\
+øb3'äÎüõ÷ÃT‰Ë`óvhîSîW®Ó.ñ¿ÜZT³¤Ï nA˶4£"ÀÚÐÒWhEhÖê;H'¡˜äáoµ„Þp‡5qŽ;ƒ{tÐZvãÂÐò©´×9«¡3Ùz’û’Ôñ†T:û­ÌUõ§ZØde‰·6åq JDÅK©×2×ï×–DŽìt«´°ÉM_^Icx)©UŽ¹yÈ ·jJÎÔNdŒœí>“T_¨n­8R{ˆ³Í ŽK$ ×ø°ò[bú£òìúý§Ôc‚Íàêk$íã 5 /ÐÞXQ‚ŠÏ8%•n³EÈ–’Àvóa\
+òÄÛú«9‹ÓW+Ž"xþØ@\,®ü}g#ÕRñ¶\
+JaŬ³ZKK¢è€Œ*¿¹*ÎÒØ{/M}p‰bࣻª¼½·¶%lepÄ™+gH:}Y½gÄu^ßñ:\,ÍÇ\,ôÝËìÚÜrÄE·Ý¤öí¾¿5÷”©5e ðÉrvh¢I† ˆA‚àâ.Úù«†¶|Ÿ´ã¬ÙdsùÐbk?›ïK§äŠvò&Šÿ\0Ó\\j»)CZ&}à­í âÉ-E»Æ‚ºd…ŠìZºž¶X<uQkU¡‚ʼnòOzå%ŽŽY$f@²Î –wµÜ^ÖÞiÇÂÎLžNB«iѤšÎBX(ŽÝ:R1ÉÉ#ˆw²ÿ\0E\
+ÿ\0ÒĺS¬t9.*ís¶=v^B³ós{î]³Üß:ÚÍ8æºQB¯m…¨•±=J™pÊ; {Už6I#HÔl\,Bà;xÜómÒÜòÍ—ò[]Q''Ô )™ÈtòäªËœ‚pæ ™„Ó®¢©¢j—Øa“\
+òŸ$«XúŸîË'Û[O¨ÌAkœäC¯4Yú¼•1ô±ÑV=<yLNrÌ\0æ·ÍfK) CÛPù«¬µEq9cW¾žý(¬p6}¼öú¶–\\MAQCY{º»k*õ:ýºVWwqf\
+‘ˆú÷ 5t0…öâ‹í¢Ar¢Fš§™ÕøÜ$qÑ”O—Ô™\,žNÛI-ŠÕ±U5™è}d‘Aix*´Ò9(»Ä¯j!Óiñx¦NHì—¯SŽ¯ªð4›Ö1µà˜£S¢ˆçi%gî…›n¸ã«'•û€±ÛÙYÐÊ5ù-oà„ÊRG<Ãæ\
+§<XFIöFAÅ<b¼f²±F‘£ÿ\0ìd½~ß´ÚB(®ªç7ˆ9›$Ó#¾¥{Z÷XžAãê«Y\
+G1òæÑTØByd\,Ñ\,r4‰g†bL|8´í™6ÛEŽÙÆîÃÉÞrVx#K\
+£Sd?ê5µ§¦Ž=œcK_afÃ6!F\\"åaÚF ~ ì#5—S×Zætö™=%Ý°ñ{ó±é ¥2¹kˆÔš\
+¦Ãm\0­XŽRÖ ä˜’y(¾ª NœÒ˜Ì}(kÉ8Ô¸:Pˆø9Ž[™\
+U¯ƒ³½yZŒÒÍ@òߊ¦è ú½ü¦{#=©¬veÓÙË3ÊÁ”T¥fDWâHeï 1†n<ø±(|…/Œ\,ëy#ˆî³Ñ×¥ìØ\\´³‰qJIb!•ÒWúÔ¹ÕFtVýÓ$DX¾á±2 Y«"ÙŸ]Þ>–>‰}ቢ#ì3-ŒåZÓæ‰Fßñκ–ôÓacÔI’œi¢|ˆž•däDö9Š¨‹Gå+¸¶Y`¥ÞQhs{ŽM¬ÅÉrsg§¶0ëŒZl°gÈâ6¤ÊØ\\kQ‘8R¬ë!:WQ¾©†7Ò¾ºËìç¹!K? õÒ²½!|¨çûr!̽}Ç (îz¹Y›Æž¤˜mÛ’µ\0©@Y’åA'z6RõÖ/ÓÍ4¬ì‘##{M›nºKÓé$¡X¾Œ/=xjXD]öe»Ê£’ãPðW™ÒT^QƦ>´è=~|Dü'•TDUWxO>|«Ê§÷UUùUèèzx_øÿ\0ö½IÛÇð§÷ùP÷Õ¸ÿ\0÷ºé×(åDðž?¯ôOꈋò©çÇ„ü~:㣠àpv?·útuS¯¶°¬> Ip¦:O5VJפ­Tj3Ñá$j/¡Z¬TýªßOÇOë´yXùÇH߶¾Ú[¸¢S”PÄK–£~ÒS]â'’'úˆ…MI}ÙØÄ‘¯F±<ÑU>ñùð¨‹ÿ\0h½z²Gµ=HªŠŽòÏJ±=/o…õ+<|øOü||ø_ ½ÓÚ‹#¦òTòefZ¶«Ù’Œ¬ÍJçbDnݚ䘤Tª;#´MÅÓfU#AŸÓ˜ÍERjסA3ÂðÁu#_ª«Íx—†_¾ÝÕ0WVeoï>Óò—!CÝ!iïi¯é#¾~nò…“û‘eÉ–0…l„%‚H=–èEjE+¦WF#ãöU!|ôzn>”ùŸs9¦ÞÈúl©ôºc5"—P ]W‘ŒŒCÜD•¡c:\
+Ž[ãy¬rãa…îß‘1ù±sþÈ7®®”&†e“`“S‡šúKqK’fÛ…ˆ§«cŸµ\,ò *E2ÄÉ%í“ê<7Õ\\ÑÈe\\š+ˆÑe`rË>N <¤Õ²Æ£[Cv”6SNðO­P Ž`…ˆÙ…ló]0ÿ\0Oäî[9Köë=ÙfžmDË^#;÷~ÌÒ`ø$Žwpª_‹¢KÒ:ƒ \\dBHaH•^°*¯w„°°­ì‘E!<… ÔÉ^öÌü>S™«±¸½¾Ç@ ôËkÂ65TÕÉ n~{Y°µ[ 3”Zm|í„šÜñµFÿ\0™PE°&¥=‘ª\\‡ÜN#)´Íáí8'_[ÞVO+—ãí_#ó†w%sˆM½ìïݵè¤õ´—U-Þ´BÁ ºÈ‰®€KE \0–n?ê-€Ø „Íé†À&³XÉr–c¬£Û[<ÁŸQ#Y—ª;>}óØÃ:¤†×Û ìa7öê"F>UïqýóóŸ;ñ_i—\\^+4 Δé4r8\\Þ6ö³U!ÓË_¥»m «%¿´\\½•ë\\±b¡XËlrKZ¡Ÿ‚ª¦îYedz-jõªØæ0wZ+Å)8ãØ‘æ˲øä&wñ“^ŠÃ628­¡2½!Nò3³JR!&ìb.þ"z•¬‡0bò{£óüÙöÆåA¥©ãžÄŸãrÖ\0m´Áò7"XÕ:¬ªÜTûR*sWOa’”ÙH…NŠV3™áÃdv™Þá97…qrd¹Bìí/(ëx4mÑ‚7õ3X]ß$Ù<7d¸©ÓU‘…g‡5¤‘Ÿ<&1 Y£‘›`¹+ÉSñŸ)o+x_–oxûQ¦á®[A-4SÒ‡J^¶žóVž;û:+í|C~h4Ó+\,'€ˆC+½ÚwãUÂ<Ú¦ …ç×cënt¸KhóöqixßMgúv‹SY ëMµ²¯'ظ¯««®³ç\0cKš;xÉ!ùײPÞžªTˆ^¯zq•[¶+Á4£yÖÀ¬ëGe\\e0!Ý‚åP[jª4v±?g¸›G-‘/p¶#\,Š<¶Î6*#òK¯+òOhÝÁÜñÏ~»­ÂÓæeÈì3µXHï­x²Ó}T¦TŸ€­Õ‹Y[T2[Ƴ]Ô5„bÜ+Øô÷’E'”yC¸¦ÛǺ“àp{N>^AÑa)uV:ʪ­<‘ÇQÇœw*ºœ ¯¬ÚïE\,Úiª*'H\\àQ$kß´Ðpæ@Þ;îc€öÚ †·y¿¹“ÇçØ¡‹#ÅÕ"¸eÓG!´%Dû@/ëO£—x1•éUg]{MœBÚäÆ<ùÌí±ÙæŸ.º]¢¦ûq¶ÑÇ]\,© N¹ñ€¦\0³P@a´š¸9tG9ªÆV(!®8šwüK-*™šI£°ÀÊ.K³4Áæ®Û× ŽDö¦f݃ÄG&û¤³\,Ö\0¯ZY­GD8#Û„n‘̇}÷ ÜO‚w'a'Âw'gÉ×EðQ™h­qIƒ¿KIÒ-mF‹E\0Z\,ÞÔ!rUHZRWUD¥…RƱèeRšaºŽÆ6<«£ŸŒ ª+odTØçl@&©GH|àO2È×ÝVÊC£±yÅ÷ HQdtŽr«·í熴Üo°§ÚÝäíhv5ähÄ6 ûxi«†WŒ!0“ïÖHHÐÃ]0ÊÁ̯”Y\\Û (éÒØVçœdÅP”>j*šëm›Y$o’HIp$„A\,Žˆ¼†¦˜ö1¤¸•!î•_4ªôÛZÎÖ–Éã±Ú)hì½›$D¶ªÊÓ+yÑÈ $­³<‹¸”« Ø’ðº6¦o“·©\,"Ä Š8% \
+K"n±Æ»$q‰H*J‡Ì=v™ µí›«JÙzŠâ{æãy÷!kJIñ™ZÂN\\±VÅïG õvNHã)Š’+"cÒUZÔÌ ˆóùè8/IŲÔÆìfŠŸNµ1ºI•îÍ]ÊË \,Ó  ‘›__L h¥xΘµj¹[\,MÂ'¼NFÐÚwWË|y‚aWyÂìËÑU×ÒÀ$¼c©+´“ÈTŒk¢j×”‰aj6G:tª÷H¨³aôèï"ÿ\0 ÃÔ5É onî\0„³¨-Þy—–¶4„[Ž ÌÜÍVÔUMh<ñÊ)MœF4¸ÅHG|­’êÆ‘ÈkM+§õ^(?⦾/#c¬­Ü‚*×!ÈvÛ±HZ þbÁìI@S.ÑÙÊÚ_Pdð÷Ì) 6C†…%ŒÕ±Ü†H'f42ÆêBq´ƒÞóÓ’å~Ör–´kZ}Ž–.là uI†W[-cy‚®à0¸÷gšRVœkrÇÄ¿ªŠâc|FFÆ·ÞE‘Mú»ó\0T¿F¨u•Á£CbœRg²HäƒÛžóÎÐJ(®ŠI#!Ê–’5íE_\
+4±ŽØ Š&µt“kEgg±Þ­ÃÊx2 ]tõ4/¢®meŒÂ[C3c¶ó°ØbÄ\0Âz'ö§|]cgüG=É’úlçø*²ê/Öùó¹€L±®û†-ƒqœgŸChDÑ'ŸpI4gæãl°£$²I;ÒÇÆ°ýv™ ºAÚåu­šXN=Vå Yª™ëÇj>%ê‹I3EZX“²IJÀ?hÖ¥[VÁY̲glvîów+!©h¥’¹)³Áø„#pvvØøÀfEUTU_?Q|xòŠªïìž~USÊüüos"xTøôü|'þQûEøèëšÏÎÄï·Ïñãý¿°ë¨|ø' ?;ßùÛï÷ëÏ£££¯:::åSñÿ\0IçþúÇ\\tttuݯsQZŠžZåEkWÊ·Ï>QºùOÂüyEðž;{ò¯åþ|ùUõ#]å~~WÊ/—'©Þ—/—7ÊúU:òèè>FÇÈ\0ù£«Û5¾ÙeÒEd!u©4Aš’xÇŠv±³²§Y!‰“5­lŠÈÚ®ô§îEjt¬Û÷1É—vôzI«Mš«–£GûÜí°€@’±ì’zr†Ce"ݯ5„y‰dF5A.•¸¢ª'éùü'õøþßÛ®É#›ãÇ„ñøý¬óñýÓùùù_ʧÂüu°‡+‘¯]êÃvÜuä‘&hRĉ~><&íîÉÜN +ñ\0Ø:üu>/eÖYè×’ER‚B€9Cò¥Óƒñ>wBÅþAK'n]ýò[CÄÙlx\\YÃGC­°¶äa²*γI¿aÕ êkŽE`æÞñå=(1ÓAz`t–1(ÓÙYLEÉÈPùžÞª¾aʨ㌵ÖÀþ6È_]ºæÓüò²Ùèè*6 ½Þ`Z™£œ™~Þ¸ë{'ÑPâXø{RˆV65•ÎŠåkáÍEs˜ç~ÕEOÜèØ®òŸ»ÐÔ_(ÔDëÒÄöÉÖ9þ—³Ã\\‹áÏ”DùTDò¿•_*¾UUU–Ž½Ô’ gK –™ZdVü¶ŒF`P\,QÈyK?mGzcÜ;îÝ.ätN"ðª=gh¸/jI8sw’+1î2‘YËŒ]”ñë(.Þû ¿ˆÊÌ’%\\•Õ•::FNn„ÿ\0°Ó““4cƒ\,R\
+ÙGX½â]$±Ì‹<rG+c{\\ooZzáE¨°g+k½ñ[g¯·†³gu˜Éšm¡9¦Ù‡ °«ií¹¶“àD•™¨QcLÈñ7ÉrÆ× ±ÅWrT!¤qÆæE÷05ÏsÇ"F±DNIeðÉ""½}(Ÿ-9ží¹®ešs³ RƬ¯kF¯’ŠX>cTIF)®{_Í–6¹Ë#XðîžÓÕã4qCfœÐ‚'–»ªÈÈ\0«’å˜m²QÅ@”t¡§“S—p"·çúŠy(#njáB°ß© lH;yë9Çs ³¥«\0êø0ûk É¯\,ö¦j*).†9Kµ§µ÷ØüÖ’¡’Iꃸ´”<*ß.–f]}Ü0™¼¿&W\\ŠÒ žI)72½‘F(rÊ÷¾EŒ)b|qC<äÃ#ˆÞ±}®ïoc!clMŠ4u=ñU€L׊÷µêp3ö~Ȧœ’$j§¢ifGÎ’ÈÖ«o |²ZÕÓ4€¬-¬`ŠGY}Äc –_*Õ$˜¥‚f1’*»Àn†W*¯©ê×#S+®ô½{o:¬Ñ Llá÷ú…*ÊÜ„ˆQ÷\0ðŒ„còG“ÖoàÙ˜©½«<†1#BÂHV"ä¨ÜQZHÔP¼ŒT‚U~:—î æå®åÍ~q3Ân/{ƒxX¦Û\0Ñÿ\0™3äZ”Ù\,dÍMí6Q•CA0Á愈G‰¬H½–+fû]UÆ¢PñF %íNûê.1yu”²V\\X‘1ñJë\
+2ç2¶ÖJè\
+`äI(ˆA3×A!Ë4Q½˜V`;¢—‹ ²½°Êé*¤ŽÇ=yLÁÁm9B½eöÀ†8¼È²ÆåÓ’é•}m‘ÏðŠ®FçêzƒW5XZ ›ÁC”AÜQ°$t…ÈqÀL¤Af\,²Ê@ÑDG£Ä(æBžŽ¯u½kЖñ°Ï{0´Zº¤B´A¤·fcíý<I`!UQùn©l㨠Ku‹deã¬ÈÒØg‘ž2ð†‘û…–i'Ÿw-÷ðNàeõÌý÷d¸ï(6zh“qkŽ€À×ÛIÆ|lÄ“îºYŽq¢€ôD•&ÏXY#GôDÜ2>­ýæ‹ÝŸpU"el$±ã~ÍÇŽÊ/Ú¬v–f%–®âzša¯µVgJ­Ž•‹¶É^’2¾`îo”ù†èÛkûÒÆaô40¦Xã€tr£aIQ©7CXÅFÈÖzF§ïEnÏz¹Þ¥r½Ê‹åÎù_*ªª¿?ÕU|ùüùU_>~z‚ú•êÞ7QáæÒú_5<\\÷¢µ)s°·rqÖ_ðõÖ"AV¼r’çó${\0/uGÕ£ÓßKli¼ªêÕµ±’Ž©†•HÞ*2p±/6Då4‘û¨dˆàç}úŠÕF9Äð¨¾>ʯ„ñý>|ÿ\0åWúxè뢪¯Ê¯•þëÑÔ«OGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG\\£•Â~ý“ÿ\0ç\\úáSãüyO ý?>>?”ñå>áW££££®}oO¹~Êð‰ÿ\0HŸ ñ×ç"*|*/çÊ#¿íÇþS££¯w?¹þ磡äO ãÇçý-_ÇþSÿ\0Ÿïð‹çÂuÊÈåUUTùü¢5¨Ÿþ(ˆßíãÇGGFç÷?|ý¿oòþ>::áÏs¿Ô¿Â"""~WÂ5å|"'Ç㮪¾·ü"'ýttuçGGGGGGG_ÿÙ,t,2,240123904,2000-05-25,w,ÿØÿà\0JFIF\0\0p\0p\0\0ÿíÔPhotoshop 3.0\08BIMé\
+Print Info\0\0\0\0x\0\0P\0H\0H\0\0\0\0Ú(ÿáÿâùFP\0(ü\0\0P\0H\0H\0\0\0\0Ú(\0\0\0\0\0d\0\0\0\0\0\0\0\0\0\0\0'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0d\0\0\0\0\0\0"r\0\0\0\0\0\0\0\0\0\0\0\0þ|\0\0\08BIMí\
+Resolution\0\0\0\0\0pU?\0\0\0pU?\0\08BIM FX Global Lighting Angle\0\0\0\0\0\0\0x8BIMFX Global Altitude\0\0\0\0\0\0\08BIMó Print Flags\0\0\0 \0\0\0\0\0\0\0\0\08BIM\
+Copyright Flag\0\0\0\0\0\08BIM'Japanese Print Flags\0\0\0\0\
+\0\0\0\0\0\0\0\08BIMõColor Halftone Settings\0\0\0H\0/ff\0\0lff\0\0\0\0\0\0\0/ff\0\0¡™š\0\0\0\0\0\0\02\0\0\0\0Z\0\0\0\0\0\0\0\0\05\0\0\0\0-\0\0\0\0\0\0\0\08BIMøColor Transfer Settings\0\0\0p\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\08BIM\0 Layer State\0\0\0\08BIM Layer Groups\0\0\0\0\0\0\0\08BIMGuides\0\0\0\0\0\0\0\0\0@\0\0@\0\0\0\08BIM URL overrides\0\0\0\0\0\0\08BIMSlices\0\0\0\0u\0\0\0\0\0\0\0\0\0\0\0\0\0I\0\0:\0\0\0\
+\0U\0n\0t\0i\0t\0l\0e\0d\0-\01\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0:\0\0I\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\08BIMICC Untagged Flag\0\0\0\08BIMLayer ID Generator Base\0\0\0\0\0\08BIM New Windows Thumbnail\0\0i\0\0\0\0\0\0m\0\0\0p\0\0H\0\0€\0\0M\0\0ÿØÿà\0JFIF\0\0H\0H\0\0ÿî\0Adobe\0d€\0\0\0ÿÛ\0„\0    \
+         ÿÀ\0\0p\0m"\0ÿÝ\0\0ÿÄ?\0\0\0\0\0\0\0\0\0\0 \
+ \0\0\0\0\0\0\0\0\0 \
+ \0 3\0!1AQa"q2‘¡±B#$RÁb34r‚ÑC%’Sðáñcs5¢²ƒ&D“TdE£t6ÒUâeò³„ÃÓuãóF'”¤…´•ÄÔäô¥µÅÕåõVfv†–¦¶ÆÖæö7GWgw‡—§·Ç×ç÷\05\0!1AQaq"2‘¡±B#ÁRÑð3$bár‚’CScs4ñ%¢²ƒ&5ÂÒD“T£dEU6teâò³„ÃÓuãóF”¤…´•ÄÔäô¥µÅÕåõVfv†–¦¶ÆÖæö'7GWgw‡—§·ÇÿÚ\0 \0\0?\0ò¤’I%)$“µŽ{ƒZ$”@$ÐÕK#ã`æeÇ©Öv4ÿ\09h`tÀaÏ\0»™"GöþËrŠrC}:€p-‚÷ ÛïÛº¶ÖÖ³W÷ÏЦaÄ«ê¯T±Á„Õ[Ü$1Ï÷;í¬=Mÿ\0SzàK+ÈÍv7ðõ kªÀ·¿´u~®Xë)Æd´ØOøkoÙV=ßG~Ï´_ýµdõpkÞÊ릧\0ÚÜðZßTÿ\06ׇ†»cÂ;gÓýúÿ\0qÁ ¨Ž.–/ðW};Íé}G\0¶ãY@q†¹í!¤ÿ\0!ÿ\0Aÿ\0ÙUW©×ŸšÚÍoÇeÏ o®[I€ÿ\0KÔk¯Çµÿ\0è÷S±SÎú£Ðz¥/ÈÇe2ÝK¬…pÍÊÆe›+Ùô?SÙéÿ\0¢zŽ|½l~Ýý Ûç -³ÐºEÈæ×ì|š2.ªÖð”[?GùÚÿ\0ÃW[Öz€‚4)RI$‚ŸÿÐò¤’I%( +k¦tÌ’ßPQaÓqqc 4{¾—Ñk9Ë? ëšó0‡m&&ÐþNïßüÅ×tŒ\,¬çKXkDZî{ -cAîûMnç5Õ·ô”zŸCÓV°Ç‚<f¬÷샮ŒqqZXç=:š\\óevÄ}:Úí÷Yµû=þõgb=–W“…N= ‡W{ØøZ]eY6¾·9”ûëôëõïÿ\0¦µªé´XN®®æ?Õʹ“c¶–‹ë}Gýž—åZÏÕ«oé}+\,ý§ê\,ÿ\0¬Xc¥:ÌÌ[®³ Ù”à\,{f›3w7};®Ý²×}?ü Kñ¢v¿OòâZEjë“Ó›[oÈêYX Ê\0ã¿3ÓcÑï>Ÿ¨ßOÜÇû=gú/URʦüj­fMfbÒáúÅ ¬<o­Ï©ŽeM¦æ} ¶zàé·ÔýçOQÊÉ­¿i±Ù eD0¸ ±¸nÙ²?I¹ûÿ\0Iþý\
+7QêPq^]²À^ƶð ^ß¡±þýÛl²§UoÐRG ºOÙÿ\08z–™‡¡ÇÎéUÑS1ìËÇk×YK/®îÜ-Ã5»m;½OÐV¬_×-ýE_h&7SaØXïsí¶«ÌŠî±­gèþžÏçíôÙZÍÖLKë»+ìÖQ{ÜÍϱÔ>¶“íÈ¿ìÙ5¹¾žÊ¶Óúoðÿ\0á—IÒº‡GÈé˜ÖæUf(#ôö}œ<þ›Ðý=Öä__©c÷¿Óú~­ßÌ2ÙŽLõDÿ\0î’5Ð+:£‰Õs1rk†ìVºËXîOm”T>ÄæîÙöŠ¬þwùÏÑ¿Ó³…úÑõfþ…–v;ÖÁµÎ] Aþ“·Û^UlØ÷³óÙúV/]¶ŒŠÞöb1®¡•þŽìRÖÞÛ'c­¶¦\
+wúu¹¶Sè?ôì®ÊýEÈõŠë²ñ‹ÔZË1òêÛ} ìyÎÄÎÆw·f]{¿G^Úýz÷ãoô­±B`2ÝhkMWûæ©+Gþ›nûM”˜ÜÃ-sHß]µ»MÕÛ[›eÈUÕZ7U®Ô¹ÿÑò¤€’’M&NØ'¹ýÔèGŠ@w*u°nôÙ]T öÙµi$¸úlfÐ×7Ôcÿ\0yt}C­åÕ’1q@shs‹«hvê÷z›qýÿ\0en?ø\,wúÞ¯ó÷£¯¢8ÓšÛ*­Ç!•½¸¥°bòÝ•ØwýOsíþFÏÑ¥e—Qc±™d;šÙmdlÎm–;cÝ[ì/ÿ\0ƒZ#L€¡ ½|ïXÌÍ_rõ8Xz«*}—:šk°1í²ùX×ÅÌÇÀÆg¶×Ûë9¾¯©ú ÿ\0¥ÿ\0´õ¦ÈêLê×}÷cãìŒF½Ú2·ÿ\0H«.¶»×9ïc}—Ù~;ÿ\0Múðkc2óQÂq´7öºŠƒ*8Žú·!÷mo§ëîo¨üŠ²-gú/Ñ«4ô\
+îºüˆÉ·¶¹öã¿#}5;eõלÁ_Ú3=o§éþ¯^7ëiµ7ƒ$ŸOý‰¹y¶©ú±Óò®¶¬[Cs·tœ¯U®©á»®³.·Øçûú•[= }oNËÿ\0]cáÓKz€«©Ôûig¨ì†UfÂKóeÏ÷oe»~Ñ]_¦ÿ\0®.ïêçGwNæüš«ìh/sÝ°‘ˆëwzuzž“Yö_´³×©þŸóŸÍª[ºS³Ÿ]ȯn;\0­¶¡Ž/;›NF0ýnÍ¿¤Ù³×ö% Þ³"b}<]o÷‚Œ4ºÕÄoLÇêLôvÞî¡P·OxúU{hÇ®›[èÿ\00ÊÞíï£Ö»ßmÖz¶*NC§çÕFV17aneu=ÐáUÛèÇ;ln×2íÔ½ž­LºÚo¯ùõ¯…õg+7"šœúh¶æ¸3=ÄÂ\0–}Õ3uþŽí—2Ölô½OÕìúw¾°cg`tüzúÃÏQǮǵŽ.`¬¾ÆŠöãµ™5;•zߦ·ôVYþŽ½éà ±0DüßàÉ×d=¯šÊê}¹.Ñc펳pSNwÚ­}¸¹/kwúlõ0¾×ý%jcg¿ªcXàÊÜË+s‹X÷8XÊï®ê62›+}³gÓ¶ª½O×=5ÎuÞ’:e­È u•_X²ì|ö{ÅgÙeyt •zV^ÏçqŸüû>ÛŒ­áuÇaâäz™\,uÎ~8p­…—;VµÏÇ\,û>E̩¿E“w驱ÿ\0hôP”‡ßTÝh\\®½9Ån].u§ÓŒçƆ‹ ¯§~ÝÍkñrß‘‹mŸAþ®*ãW§gb·«áÙu­]µÞ>‡ë–¿ôdïýbúð®s=öJÿ\0@¼ÅVË2ÀšDá‘>¥(ÞÃþ‹ÿÒò¤lfµÏ‡h“á悬aVû.kZÒO.0˜œU;UYŽÖ–Ü!íx2v4{Ù²¶YµÛÿ\0›sÙ³ý%kVªqúë[‰um£«µ›qmØ1ëËF­ýxÙû¿äܦþ‡'g£‘Z¡‡Ó2 ­kêi­Ì\,“k[¼¹ÑèPÿ\0ÍÈ·ümÿ\0¶ñéoPéÕTÊ\0q½µÆîubÙ¯{\,ú~W±ïÿ\0é~eŸáà \0 ëû×ò¬­\\Û…‹—V^ë°¯¤?Òipp;šÖæ;ÇôyWèõdþgè=OO*ŒºÄÞ©ŸÑ¢¼7¿«EwQeV9Õ¹Í?Òic¿Ak-vêí¯ÓßKëû=Ì£"«QÕñ2º‡C¤Û°uzE ¶Ë^X÷ÛöVdÝË-Ϊ¦ä×fCG…fMßÍþ™¤}\\èOmYY8­· ´›SØÆçio¢²›öþ~ÏÕiÿ\0ëlõ‘ŽaDÌqkF#cÃòÉF=š9xK«u:e™×–ýÞ•9^“s ôï» Ó¶êwmû%Özyöžÿ\0о¤øG©6Ö9ùŽºÊZíÛE>÷}uþÛÝþŽÊ·ú^šê?g²ŠÝVX½<—8ÕM•1í‡@¹Ï}^öúÿ\0àªõ¿Ñ³Ó¥deUÔñ²­Ç» ᡤ[ŒÃSÇØûëyg§úMÛíý&O©¾«7ÕüãH›¨Ä°M¥§e µÛ2tAvë }Í‘VÖÔÖþûkýÓú §gL9¿Sì§.㙓\0¦Éª1··ùÖPýÛ-·ùêÿ\0àÖ󪺒Ö‚Áí\,d8‰‡okC±lýQêbÌãÒ¬$>æz¸ö}-á¿£úNúbÖßI¾Ïæjôìý%K‹†öà<_b´·Ÿ•u{i\,wW½¹Ca^×nÈÕe´ú™[V58›}v[ùŸŸú+VF5 4¸Ôl¸5ž•Ô=†²ð]ú67Ü÷?}¬ß±µ[öÚý±ý~­u†ì¼¬«ZìŒÛØæÈö~Ÿ"­¿¤ªõz~§©^ö¥V°Íî¿'íÔ4åá½íºÂœ_?l«h¥Ï©—;Ñv-98´Ü/çq½\\edñ^à_Ó·øßßXu4Úú´êŸÔ¬éY.-®ûU_PÒ暯önei¯©Uoô¿Isךú­úP'ÔÛ¶túP½F—†}ce¬—–å²ââ÷ØÚím^®PüËtôíþE>§ó ̽Zÿ\0izßà½}ÿ\0Ùß»þ¥VÎ}XåZ’ [ô¿îS¤ÿÓò¥g§Œ¦nѤÁU”ªvÛï\
+~#Sùj§±ÄséÉ«së?¢/h°;ók{~›ÿ\0œö}5½Ò­ Ì¿xn59¤Ö×µ»™VSbÚšY`_VM§ªŸÑúÕzÔ¬N˜kË©Žt´ØÃß^Þíÿ\0›k1]¯¨k1Í[ØöÑ]¬‡ÜÐæúÕù—7Ó²Ÿçj±Z4t:iH/W…ÓýKê¾æä»*×äÝ’à¹öjëë˜ßE¿£§ý+A9ý3W…Žë-·a n-lvØo¨÷äì~5l³þÔd±÷×~Cßú/çsò/Ça®Ç}»wÛUÁÖ5­l>Ã^c?T·ú¾•~Ä>¡Òñ]V^$c}­Ì³k´ÜZ=w¬‡ºŸCÒ§Õ¿ô ß‘w£üóé­F":Ø«a‡õ»=¸­#»%Î¥Á®ý-µ]1û7~’ª›þsÕº¥Ö`Û_RÁõ/Ç}oªØôý¯¢Æ ͹›¾‡óé?D¹l<lŽŸU ²¼ÜœÇÕ]ti]]ß³ýcú/³û¾ÝmŒ¯ßôÞ¢èn¿­‘`£¥Ü͹Ånº‚ËC¥¯u¿¤õYgçÕ_¾ËlôëzvNЮ÷_ô-ÏúÃöª¨¢Œ¦×e‚4ÚêÇôŸI³]Ÿ õvnoéý?Süª¡õ7Ö}dkߎÑXÀõÝs嶾ÙÅÚÿ\0£]–ú/õ}_çXË.§ôoXç«õî¤öÛc›nI²†9Ì"ºëÚülÛ=\
+U=;—cÖÏð™y¿é~з:Řý¡eúû/í{[]~€ý#p©ºq©ýì²~‹uŽôÿ\0Xÿ\0GRu¹OO.$o¯@óY›sk§\
+³pǧÐõ­imnówÚ_D=ÿ\0§³}¸øÿ\0¥»ÒÙ¨§Ó¢ÛÕÜŒ\
+úNWN4W^NE\,9æÇz¢·Ôý–TË*úWX×c}«Ùký›>‡©bÚõ YcYìs#êš=@ÏÙÏ¿k\,¾Û\\Ç?Ö¿ô_¬Yêd;w¬K³1³ N¤\
+\,¬å’âl`³Ô«u'Øæ[k™v~NG©•—mÞ­£SÙÒ#åÅG¯òõ-îz–Ù¹¸]5ÝUÅ­¿ ÷æ½Ò $›êÅ®Éõ-w©›n+ý'§²ïSÑôÿ\0H¼¡vßZz”ta½Ãí=JÍÄ5 ~«SÞ÷9ÿ\0½öž¢ßÑ?ùÏO§~ââU\\†óÂ?»!øÉxùIðÿÔò¤’I%;ÿ\0WóÀsiq ‘ùW]Ò~ßcžë¨ïP¹ŽcšÛÂïÑÓc²±ÞÍÛý?§ÿ\0 jól{6²Áù®ûŠï:SªÊýÞ3âx~÷ýZ·qÂú%üTö Æ©ÆfÆ;Hun-2;í÷3wò¶)ctú®¶ÛîÊx†þ°ÿ\0Sn»íkK›»ôÞÆÿ\0Á³ù¯ç\,AÅÊÒO GÂŧºë¢ÛZ*kXKœç™ý#¬ô¾Ÿæ11Héè°›\\öd5×Y•cn­¥Æǽ™.Û‘«é«Ög©è·þ ýѲÒ^âæ€Ç5ï³ Ú7»wø?M¬÷½¸hc Ù.ºri}9XŸ}.£yamÜú;=Û^…Þêyÿ\0ª×ú÷ulÒû.Å7 l2\\6=OEÎ;_eÛhõÞÖÿ\0 FúòÁ‘Ñͤ9¾µU]kÀ.§Ô¶£½7Þ1Ùg¦æ+C©e¶ÀÓÓîÕÿ\09nê^ÒæÐÍûìö»ôßÌú_ðŠí ¦ÌW·hØÓVÈ:—}.ÇpÜ÷ÿ\0ÁíOâ©G%lAïäGJi¿ Ô£Ó¥øõ¹Áøƶ†zO£ê·ô›C²ýKVßüžªÆˤZn»+ÓÇÂÇk[Ÿq—zUÔXí¬±®sr22.ôqq*÷ßéz>§§ú½ŠïQê8ÂÑSÙêS%Ù–Öڪ߾÷ß^×=´Zç×F÷UMYðËúÝõ¡XÓÓð)é¸s°4m>]úV× ô±Ù½Ìŧú÷[ú{íGŒãFìü¨4trú÷Y¿­u;sî›] ¢eµTÁ²Šô›gò=ö~‘g¤’«físÿÕò¤’I%)YÁλ\
+áegOÎÈU’NŒŒM…>…Ñ>°3%¾Ò ³¸ø…ÒãgµÜé ÆX÷Öàö8µÃPF…kâýkêØí .mÀ~ø3þs Ã$%¿¤ÿ\0ÍF¯¯×—1¯œ)Øú\,}6Øç4Ð\\[€w€Ó¼~ÑÜÕæTÿ\0ŒŠÛïÃkÜ8"Çøµé[þ1º‰3V;GòÍ?ôm©+‡ïùßÁO¡eG¬çûçÔk6€ö_'èW[«/ö½ë'¬ýaé6§cfÜæ8z˜µ»ÔÊ°¸‡].©Æ¬*îvßS×È®ïOþÓÿ\06¼ÿ\0;ëÖ Öº·e)x!Õcµ´´ƒËè†>Æÿ\0ƽë–#oQHªŽ»õ—+«E•·¤mŪaÛdTü—ÿ\0‡²¦{+þoûKêX±ÒIC)&Ò¤’I?ÿÙ\08BIM!Version compatibility info\0\0\0\0U\0\0\0\0\0\0\0A\0d\0o\0b\0e\0 \0P\0h\0o\0t\0o\0s\0h\0o\0p\0\0\0\0A\0d\0o\0b\0e\0 \0P\0h\0o\0t\0o\0s\0h\0o\0p\0 \06\0.\00\0\0\0\08BIM JPEG Quality\0\0\0\0\0\0\0\0\0ÿî\0Adobe\0d@\0\0\0ÿÛ\0„\0ÿÀ\0I:\0ÿÝ\0\0HÿÄ¢\0\0\0\0\0\0\0\0\0\0\0\0\0 \
+\0 \0\0\0\0\0\0\0\0\0\0\0 \0\
+ \0 u!"\01A2# QBa$3Rqb‘%C¡±ð&4r\
+ÁÑ5'áS6‚ñ’¢DTsEF7Gc(UVW²ÂÒâòdƒt“„e£³ÃÓã)8fóu*9:HIJXYZghijvwxyz…†‡ˆ‰Š”•–—˜™š¤¥¦§¨©ª´µ¶·¸¹ºÄÅÆÇÈÉÊÔÕÖ×ØÙÚäåæçèéêôõö÷øùú\0m!1\0"AQ2aqB#‘R¡b3 ±$ÁÑCrðá‚4%’ScDñ¢²&5T6Ed'\
+sƒ“FtÂÒâòUeuV7„…£³ÃÓãó)”¤´ÄÔäô•¥µÅÕåõ(GWf8v†–¦¶ÆÖæögw‡—§·Ç×ç÷HXhxˆ˜¨¸ÈØèø9IYiy‰™©¹ÉÙéù*:JZjzŠšªºÊÚêúÿÚ\0 \0\0?\0ùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯ÿÐùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯ÿÑùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî¹éÿ\0}ÿ\0"¿»?&j½{Hü÷?âO¿i¯?hêÔ>ƒ®Z9µ­À‘Ïû{ÚFÎh£QùÕ5#ׄgò¯ÿ\0$7üP{TvûßùA›ýå¿è·©?߃¬†ôñ¸úžU¾‚äòJ‚BØð9÷æÛï£5}ºqòeoò(ëZ¢± ò¬?àÊG¶šÖTø¡—ýàðõj—íë«Èo÷¯lÑA£ú¾]jµ§^\0Kÿ\0±·ûݽé~@·åëtcÀuÃÞÙN½×½ë¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×ÿÒùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî¹ý\0ÿ\0aø©÷sOE™ë\\8ž³%<’’ÿ\0Kÿ\0ͬv ßrm{{·Î„uW‘ñƒÓ>ªv\0'ÖÓv<þ/øÿ\0mîDÙýšæ­ÌÄÒÆ!½zJoPÕbBÍÒ× Öƒ0ê´¸ÊÙÆ ˆdEþ–v²>ä]»Ø}ªÝ<]ï{4?ʇªø÷l{-ñÐÝ·~-nÌ¢Ç%E0¤Iµ‘ÕÜþ¥ÆὋm½¸ößn¡kO¨?0ÏÕÄMÆ_𛣷>Á2FÙ*j™Íʳ4:WŽ\,"SìÖnM´þ׬ÇüÛCþzsé£üZ¿Þ›üýoávЉuˈ‚¯W U‰%±ÿ\0ZI^ÃýãÚ×ÞvøÇéXÀ¿écAþ{é¡×¦˜è`Å|2ØŠòí\\êúꢧpßòÎñ›Ûý½73ÀùótÙÛሩûOùúYGð³©ò‘IK]²0Ë Í-FƒTDr‰”%f9©k »¨Õ¡×RúM×z‹œæµ“lj“úJŽ?c†˯ ûA_ÌòõÜ_Ëû¡¤Ô_cþƒûͺûÖlOkd竉´‚Äÿ\0Ô§ýiê£j´½¿ýÓnsùlt–Z‘c¢Âg¶æ‰¾å²XœÍTÓKOR$”ò.wøåS?•%ºÄ&-ªÄ‚–>hØåŸÄܹchžá’ÙSùÀ±ŸçÕ_nþã»!ÿ\0LOøIè8Ìÿ\0*Þµ® vþòݘܑð}­^Z\,^j…Aš/“EÛõ3™!\,EJxÿ\0Î7£Óí3Ú{q¹ÌNáíÎÛàú@ÒBÿ\0󑤕?ã=PYÊ«Hï&×óP•:óÿ\0ÊSpÅŽž}·ÙøŒ†H¾Ö“/¬ÂÐNx¢˜Ë‘§Ëçj!0Âå씳]½í^È®}¹öƒrœ¢m•·ûò;©?ï Kÿ\0U?o^U¾Ï‡vö£õ~΋ÎíþZ#6ñ€bq›wù¾ãÌp†Ž xt}àÜ鶙¾ïÏû~6É£TzÃsû Ê7«}.ÏÏ@±p[›rÕÿ\0²f—þ5£«‹øþ; ÿ\0é z\,›¿ã·qìHr•{£­÷~'ˆ©ûJܵN&0qÌ*þÌó« ÄTÁ<Ì« ±ÌÐÎH1¹R¥ƒ7ÿ\0w.uŒEû–òÇs’HõF–óÄdz\
+šBÒ —·»º<†\
+)Ö†ç Tÿ\0/õ~ÊôOŽ¨‚ÞZyc¸þÒ0ú‚x³9µ­kÚ÷þœû‹·ŽCæí‚CïËwp‘JV6¨;¼Û.à)Ž•%Õ´ŸÙΨZMÿ\0ÄúDû 4l¡×K|È(áCÖ?táÅz÷^÷®½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝÿÓùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ë"ÆÎÖU½ÿ\0 ?Oëϵ–¶77²øV´‡ìꥂüG§z<%U[iÜ‹„‰LŒûV‘îGÙ½®Ý7|kÉ|•3Ò¨gm0D\\ô¿Àõ¾g-$qÒл—¿¨«8?Oøãæÿ\0z÷3l~Ùòþ׫­½Z§ü$ôÈ[‹ŠQ´ŽÇø³¸+äJŠëG’UV'@Iý%µ}=ŒÅæ˶ÃàXÙ¢ý•ÿ\0 ¯VŽÖXMjXôlv/Å|"D•éV®²Dî'™–vÔN«ÃpÊŸè=—]ó-ÅëÕÌj>Áþ=\,kx‡ë°ú ‚m¿ÒøœM<-5pB×Æ­¯õ]ÿ\0¼{'—vyfÓöçü5éBiEžOÂ8t-bvfÔ=<f;êÔ*oðM.ü>Ÿáí4’Mrúu0iU$‹N²Ý½\,18\\ù'¯­¥‰"ÖšEI? ib\0·»ÉorßÙ+ˤŸT&–eíê&Z«kmØ¡ªû³QK Šž¯+Æ[Q•B¹ èë{5±Ú·+Ù¼oùœ±Ñ}Öáelºä”õ½>à·¬UÕQRã05uØ•ƒ°\,ÿ\0CþÓ£Ú›Ž_ð!ñ§¼TþŽH£æ w“LjÚÕëÑÀíéæ¤LDqRÇ;ÚUž=:?Öúiúþ-ì-p%ðTTôkÓ\\G9\\áÔÌ¥~ÝÛñHòÕC-IdS¢Zã‘{[›ûvÓm»¹“O‚\0ër^ĉR{¾Þ„|iÆåqtËJ)‘ê"I¥Õ4bRÆ÷VÓk1 oëoðö–mºâÖj³0?iÿ\0UƒpãÔÇ=>cvj:¼qÑSˆßUÉ@A×þrên»ú¿¯çÛ³V„×íÉý¦§ùõt¹`ugWÚzv=FF‰(b'ò@?•TkY¬·E þ+ÇÓwŽéÀÒíÛéJØ1Õ^I$ø¥oÈ‘þ\
+uÁz×ñªš%v³³9qý4Ÿ¨µÿ\0Kè\,¤ßHZ&2IÆ?.·­‚T÷1a#ü醯¨¨åICÂP¾>„m!Mʼn¿ o§úÿ\0‚}˜C½OG$R2²®‘Lc 8þy¦8u¢Å¾ ä?ÍÑzìO„Ý9ØC&Û»­ö¦j·((Û!™?sT5Ûý±þòâàˆ¤t©h©]p^2TŒ6ÞÞl’Ú$Ü]­"¨Xd \,¹5‚UxNs”49éÖÈjÑgåQþ\
+tF»ù:õFç99ö^[tìZú—¤ÊS5.çۘт*€1µËO¸kþò(%k¶[Ó4š…¯nù7[aÌ\\—¶ÝÕÖð¯ÓÏŒÇßkqO‹¢±à÷ç¦~žæZÞv ö×ü?êû:®ÞÕþR?%¶5iWƒìL\\µ9N7CŠ¯¥¡§–3Ž¨Ìã÷LøHéjr”²ëQÏ‘Ž3¡¤â3 sö{Û=îÒ{ž]æùvë•ðÿ\0Fê6›/ñªËmãX¼ÞH ×øWË¥ w}ö¶ú¾Î««yu~ûëÜ’b7¶ÎÜÛ['5*VÁŽÜX\\–\
+ºZ)fžžĤÊSST½4•’ !FhÙAÔ ¢ÞdöCž9yæ ÷ ¸qšÕÖxÆAîx¤tNÜ÷0ì*ÜXQL[•´™\,Säøÿ\07AùB¤‚·õ°÷Ü[Km\,‘O#&t¼ü4=cöŸ­õï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uÿÔùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uM!´köÿ\0ï~×Ùm÷{„ž±sëŸø®ªH^'<SbR5«’l€ßÓëÅϹg—}©¹º“^å˜}*GóçÒ).ÈÂÐÇ´z¾¿-4^he‚&+úâc=¿ÂkÛý¹¯iå§c€x0#Éþ¯ŸVb˜ƒ31ùpÿ\0ùú5K«`§eŠZHb†3rO©#–C#éñ‘´±…’Xû4gPš£oõ~]¬ÅH¢¿Ø:2ûWníݦ€KIFÒ\0^8éáÐt² ùµkÿ\0oí$ðÞî'\
+D³ü5ôI RúW£‚ÉSÍÚ¤ jŠxdZ $D~ ¢à^þÐ>Òñ·ˆ_¿Ó¦bß~ª-aèhÛõØÌ&5fJs;Fz‰# šÂéШAp-ý=£“ošêrui¯-ú##»ý^]dÉïºjºz˜dÇk’=~k”.‡Ò@ñìÚß–ô<;éSÆ™ÿ\0H¤Þφcq¥[ˆ§MUûé'Æÿ\0ÂR£ÔËN ÓNðÎ9avƒìæ^QsâM=`ô¥?ÁCÑAÞÚx(i/AÜÜûžµ‘«~Þ”H‚jºš‚ªçÉeñ [ý‡±’\\mÛrjXC°‚Ó®ás)Ðå>vÒéý¹µñqf7B<˜ñ‡f15[@B„Ž%m ÇôÀ{0ÝßÜý5¬&!ê\0Î훇¹î5§Ì×¥'dõî!&œ?’@±-=)“èò–Ueÿ\0_iFÅ»Þhæ¿3ÑÇÕm¶§ROØ:TŽÈÆe)驡⪼t±#É\,Žÿ\0A%®Gûqí;ìwKã'­ÉÃùt¢=Å O¤|\\ÕåГŠëÜÔÔ­‡Du“F £\,Á-ɺé`9þ¾ÊæÞE¬³d=¼<ÿ\0Ã^µôÏ2;£|?êÿ\0?C&ÞèÚl"¨¢ûÙÄdKªbdä}f<ADz;®g{ÃY~/°ðŒcÛ#Pü?ŸB­Ç«¥DÒÊ !o{h?ì\,?Ûû(}ÇÄáÒ衧Æ:iK Z°.ŸËú϶ZöFÊ­:÷„?€ôŸ—nn¯éªé¤¥ça$‰/ÿ\0^Áü{]ô"2^*ŸÏ¦¥ÚZ+âIzZÊ}f²”¬koXÞßí6·ÓÞÒþ?áÇ[ðÛå×K Å…9:öROû`}¨ø\\.*ÔŽ¸O€’@ÏNcqpU\
+¨¤~=VÝKÁ\\.O¦íé>’@S§¦\
+ì-Œ´øÔ©*X¯§Iä\0‘È`>ŸÐôÍ"»€³ºd&Ÿ*S€aäÂóëFWAføë ‹¿°•x-Ùµ°Ùleg‡ï0û‡C–ÆÕ\
+z˜k)þ掲 é§ðUÓG*jS¢DV[±Û½_í³-Å–á\,WƒÆÅcNHeí$`Œ<ÍY(—Ôƒ>¢¿á¯U;ÜÊ+¤7LsÔõý^àëL˜¦†š’zª­Ó·xkLµU•xÌõ\\›‚J©©fh¦Zš1FÁ5 L‚mÓtع°:so/[]LkÞ±­¥Æbªæ |yÿ\0q…xpè¸Ç-¿ûŽå2Ã^©ã¹–÷Én£0T¦Í“°1˜å:Ý2›ª:z™>õþÖ«¸ê-ÇO₈É%A¢4Š%Eóyq?0û±^ ‹ÞEæ0-W¿)o&ŸÒïI<G·?Ú|S%UÛG†ô¶ÑÏö©\\qLôDªh&¦r²Ó¼fÿ\0BM”Úä·òEÿ\0üŽ}ÁÅÉ[÷\,]Íc¼msÛ\\ÇZ«®{k«#´Ò†ºøqÑœ0̃ÃpÍëÓiÿ\0}ÿ\0>ÂGM{*GOƒ×^ëÖú÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî¿ÿÕùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëRM—Ÿöï·eØ$@³|‡Z¨xu>–‚IÍÊ›~\0½ÏûoéìyË|‰¸o®hÊAó¨é4·!>Sж6-na£’:vï/‡ÊÚ“ŸõzI aþÛÞ@l¼§¶í€¿È‘‰¬ÒÎj«Àpÿ\07F?kõ~‰“¯¬Z© m¢7„ÆX6ˆÿ\0lÊƤ¼’Sü=g•~–ÚÇBúçü§§ìã‹Ç2Šzt?a³øœ-\,+Û°JH\
+|`\\0ú5“Çaîë˲Njo?e?ÁÑqæ»Xž‚§Å§/N–»Zs[Y% MDîæKßj®?kÆÇ”1ÉÍŽϴ˜bùô‚Nc‚ó]Á”_ à½-¨öO'““í`ðÃbMS$ÓnDPOôú{8¶¹ŽÞ@Ïþˆ÷&žþ\
+ÙÊ·ñÅã£'5~lâ)ª¥Jy¢ƒÇRƨò´¿Û_Cj*}‡Ž×-þ™âÑ'ñ³‡òèÑfƒoÛè+ûzöU"æih·$ÒÓRӤדîÔö¿Q*/íWøûG¸'ÑÏôª¬ÍêW†A{Š&?.ƒÝíQC%->)Í¥\\‹$ш¼=W¼AÄhö}±Côöë%âUटø¿ÛÒ=ÚA\,“¬\,8tÇ•¦ÆUKLEEt¬ SK\
+»*ßõ;2ßü=ŠÅ¹ž*À°› £\\¬7AS§lfᣦ†ª¯0­€\,”T©$±C#¡º™\,T­âö>÷%“PIã€zÚÜèItæ5ûzPä{„®…1y\
+Èêêä’9h–q\,pì5›\0-ø÷K^X2]N&Œ—‡—ó?ϧ1[Ac¢;‚'þ?Ìçùô¶ë*\,ßbçè6Ô5t¯QZêeªJˆ OÓ\,‘Çhÿ\0aíú`Úm&¼{YE8\
+¶µþ}?c;HÎ’Ì~ò þ}YÎøÁ‘ÂÉCUQ]÷OIQiŒFÓþ±ƒ¡½?ãî¼çM+liöŸóô9¶ÚYbÏV7E’Ê\,t5qÑÕbcŠqëµf_Ôëu\0°ö/4~\,Œ¡ƒðÏGé@m¬˜dyô%ÃüKDÐÆ!žQëidP¡ä\0[Ú —Š«òéØÔŒô‘Èå*Ù>ÚZ˜õÈÚ©•ßCqb9"Þߌjàšz÷Šž¿àé7PæGUþð¼N·i ƒú 2ÿ\0°·µ‘´ª5ˆª¿gU$ž2Söuè+óØ襬¤X+éЛ)\,ìB}lÛ¾5Ÿ‡¢áLmÓ\
+•:•ûºLÔ÷m>(\,9¼CÉ#µŒ1€ìƒüG¤½û5·ØâºþÊr¿—ùúmîqÀé×Úýkš4“EŽªº»GQFÞà. ÁA÷Yyst¶øSWL¥ò7ÄiЋ‡­ÀçM‹¯§›KèE¥™$#ü%RÇÚ;ˆ/¬ûn-ÊP+þú¨Ûàn”ƒœÖX\
+j¸\
+¬„;/ô#ñí ÜðçÓ̾°tß_³ikbV«¡–•ïwñsé·ÓƒÅ¯øö²-ÇÁàôþçê n4ÿ\0H|Ÿ_Fñ³c+´KuŠ£†*l—áEÔ{8·Þ¤Cú‘káÿ\0áõWϦZ6:r ÅÞ¦Äy#]JA°<òEô‹Ûëag°o1&­2¨Ö€‘ûùSf©¼'ìÇø\0èˆü„ø%Ðýñ÷5ßh6/uLu ÷´|-ÚÆ5ÇF‰HÔ“Ðn ã±kHŸÄ©j¾Î‘ˆƒÇ#3}§0™\,—k½X/v§§ø½Ññ¢M!Àðœi’´¯«Ât×Qª´Z&h][Y¨–?ÁŽ¨kä?ò¯ïN¨59m…\0î©Œ}ÎÔÇÔÇ»iƒœm:ýŠ&ÈefûŒd¢/á’å4RÓ¼õ_j¾ßý¢äŽjO•w4Úw#ÿ\0/$ý#ý¯öw„"ü1ƒúé¹ÇÅéØ÷ ¡ Oܾ “ý_—UUž’MÂÑ?Q½ï«Nžy TÛéäØ}ãw5ò1ò…ôö;ÆÓ<GJ‡5­4¸ÃTM\0–:xtqÌW|ºl Å¿ß_`§GV¡ŒƒÒŠ^ºöß[ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯ÿÖùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¬©È}üð}¯±Û®÷¼8 ·®z£:§ÄzPcño\,¨Š¥¤‘´ ÷ÿ\0jÿ\0îsäîA{Fú‹ÈÁ?>‹®/° C¶ËØŸ|2¢ÔÇ("GÚ"ßæìN‚8úÚÿ\0ãîd¶´[04Â>›øF?ŸçÑlwæSàYŠÍüGüÇXð°ã"ŽŠŽœ½\\i`êm¹ÿ\0uǤÈÇýv'ÙÖÙiâÍõOøOú«ÑnãvðBÓÕ!âqþ\
+S¥.nUäç\
+ì©#Kl&!‚GäUÕê6<(àÜ{9[XN>ƒ25ÍѪHW¡K±âIdýÃ(Š7‹UŸÆ' Èoa\0?Ÿ¯´†òUŽ %ÔÜG¯^kVyÆ.JUà8þ΄ÌÙŽ‚¢¥©ˆHä—û{JB³j:œú¯¨þO´òݳÅúÉ_åþž5¶ƒeáÿ\0üº\\¾oøx8óBóÖ3´kSJ!Ec¨´ªW…›û__ñöÔv^2-Êɦ1Á}:ÝÍúØÛÏ*[JÌ8\
+\
+ÿ\0‚½&2yŠ*ºEJ| uMtR”Ë êqË!V것bo¯± ­„‘ˬߟÂhOí5?Ï¢µÜc½²ðíìfÿ\0 íÿ\0:—Lw\
+ÓÐy³F—ÉxèÄÍäB?Ô@=/oö«û~O¢N‰l²¸àÇà é»f½xà†yÌQž þjô¢Çeëf©š’=\\%š1S 1ÜÒ[ÖSþÚ–Ê Ç–uO§OÅu"Nñ[Â\\ž$Ö‡¬mCž…ä- ‚àÕÅSñ1m`ë·ä_Ú”šÁ“Ävú³üú£ÛßkБ ‘ÿ\0AžéÏW´«D#•¢F´Ò8ióúN—·±&ÕefaI?$ãöšÌƒû”—B?ÁÔÝ*0¸<U}4 VZJ¹| '‘bN\
+wV/ýH¿¶n/®-æc gh:ݵ„smÞ±V_^öŽ­câßÚø“Gnm|ÅmM~Z \,nçô\,ŽÞ•â\0÷óõåìÊÂêôý9â€ãö‡¼¿gj'Fj—^qþ¯ŸV}w;B¿\,ôÚZa¥(èL~¦?­Ìò+OøŸp°Šúm×[üÉÿ\0?R4 g ¤t†ËvžÕÆÚœE"äóK†U§+!Ô#Ôɧê=ª‡hº"ܲB~IÇæxþ}m¥…Ê<­V^‡ø)ÐJýÚÜOSÄh¨ÈNåD˜¥TýIdÉ·õ7ö ýÂ`Ç~ŸçÒS¸F¦Œ;ý:󽑸6dTµUy*¤•$½3K¦xž?ÄÑÉv¿Ììö»Kù|ˆƒüYÿ\0?HšIÓÆÖ\0§I¬^ÿ\0‡sfñ³¶¸ÍC+ÖNÕF …ÿ\0L±£'ëì鶲3ÆŒpÎzKs¸xÉQ“ÇçÐÑÙ{»pl§mx¾êèÚHò2C»LÀ°a-Óúp?×öÛ\,í7 ÏÁÜd ýóW¥¯7l'Œêê»òé’ž²´å´VË×\,VÑ"~æ(À+^ßãî`µå5ŽnÔ'ò× „›ÍÉ’’Féó»¤ÜQB—¢š¥Ñƒ\
+ye§wMA<ª+yÒÞØ“hHïá“ú$ÿ\0¨ôÚnpÝÇ©uWý^-èj7ÖÞfv›dá’:òŠa\,š\\Ÿë —'ëý=£Yl'?E~Šñúœ1CÒ­sÇR¡º2.ùî<§-žÅA]>3hä?v‘<wâUX²Ÿðö¹Ø9rêæ{9´ârÂOF¶w÷ý¬4éG…ùÍŒJsgi£.’%XûGkÃÇåÒ¤é>ý?¶2IÝo2ÉýØ·øIëqó¹øÉ—C7_ü“ë^Å•¨µRãk˜¬b'MS3}\
+J¬O²-Û‘7M¦/‘ûzYo¼Ú\\·‡¬èÁ= 'ÛG-3Á#iò-¥Gú ¬]>ÁÁ¦†_ZƒÑÂxmA zjÉìÚè^B)* [´d"ÈNµr¬ ¨bYA7úþ>×C{\,*‰§R/ ç«ü9þ\\:lF²ÔH´þ]5]AŒ¬Y\,tó•E ¯"ÆÚÂà‘þ±#èMÎíù’æ%Ó!cöäþÓŸö*8t¬£n:"?$¿–Lwø¨¬Þ{I1Û¦v\,7öÌjl6ïp‹‹Œýü©KYA¹Æ⢥ø¥-Y£¥•…?ŠBÌFvœó\,Û|›Nã7{Y­-îωuñ¼~¬¤‘ÝüY#]@Z0Ûu$ña:dõŸË‡òë[–ßÊï¿>4Ôäsج.C´º¶Ž–Çß{gÑË‹‰h«k²kº6ÄùŒ®Ý§ÄAŽ–Yk‹TâÒž©e•é£oÞÕl|È«sÉw«èÒ…ýÝq2\\§ÓÜ2ÇúÁÓ£²$ Æž#^;¹¢%gTCý›ýƒÕeËHa.²!FKj u+ccpÖcm-ªÀØ€?>ñãvåÛÝšê{Kè)âøÖDu)FÐÕK|^Š~]¤« ª·Pˆ+õö*PÑקºãî{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÿ×ùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷»*–ÀëÝHŠ)µˆëÿ\0­ì÷gØgÝd¢ÔGötÛÊ©Ç¥^7%D‰ »»éPÍaÆž~žò7•¹>+K}^VõÏD·—šuTàü=›3d˜¥Iªƒ+8Ôdx £V 0½ÿ\06¿¹9`XÓÃUªtJò€™Å"þöxô9P`cY…%ŽHâ]!â% érE¿?_fˆÁuÏ[ý_—E÷sÜE&›&Ô>À?À:ñt¹)劘¢»@<ZJ¨mCý¸·µž (šá5o™#ýŽ‹‹_¤¾ ª^˜?Ìçùô*íþ¿pÆ®¦ FDÑË\
++ȤWýÐÍÀ¸ú}=¦“uŇäz~;kƒþ‰§òæèr§¦Æc0’ÒŠDi%Tˆ‰ óI![I©‹^Ìÿ\0‹Ø{"¤ÓÞÛH+§£D0ÛÅâʟ׮ñ8\,CWÆbžš)b_Tä’ç÷lz‡ýçÙ”—7m¨Úçפ±AmFNîžgÇDµ KH’Õy. –#’z¤OªÒ´‘+‘ô>ëo h»äÑöõécÑ;%‹qÉÿ\0=:×Ü5˜ù!§ÁÊ´K¯÷)¨ ÖÃHv_ÖþÝKû$¹ñ$»Wúfÿ\0iÕ J8t£XdÈPÎZâU0ù?ê•\,T°Ï•Ä\,-ÝH<|«û:(J4öü<<úXC¢¡Z:*‡qj†:m\,ì>…H[ƒþ÷íÛ݉$à™¯øzTnªš~Ÿ¿åƒüº‘>;°·E#ÒbvÄ”{$U•$lö½ƒEv'ý··#Ÿc±¸×>ã­~ÁþN´ÒLS]´%ÛçQÒ›­~öžøi©Zš–jÛ`Šå¸â6’Ê?¯ºîþäí+A t+Ò~^½œê‘}z°°øCµ¶dô´;Ã/f@ŠO³Ic̪}) pcÿ\0ýÅ›¿¸{žøg;| #?ø)ÐÆÇ•ªsSöŸóôx†×ÙqŠ‡¡£×4\
+àÀ­0]“;ÇrOø“î7–êÿ\0qŸ]ÌÏ«çþªt%·³·³ˆÜ*\
+útoníÚ˜\,ô£5LS„ÁOè–2ßR$qù·õö °å»½Ê}p2©ù­%÷ѤÌEYxtNößmí¼NgrUãk伤rË<ñ«Õ%Æ•(’jµ‡à{‘îywq—k·³»¶S4_‰M?ã¤tžþÑ·gY\
+Æxô Ø3C¶÷vý‚q<U/1V-=t:A¨xØávþ£ÛÕ±‰öí¢mJã`8ÿ\0›ò§^³™/·)îUòð®ìè(Àÿ\0ÞŒ¦g7ŽÊ¾ZŸ%IW^Ì)« „±T¦G\,²2ýA¿³ëƶÚeµ6sÃáþ5¤þf¤~G¢¨®s¹¼Kšø-ðšÓü¯JúW®Ýx28ú)`©!h)Ö(¾ÕKÁ"‡(÷è­í\,Ê6ûø¡g®¶«yÕ?Õæ:µ¬ŒÈc+ÝB?»ñ9¬0ê­ùu deh¨geû¶ÔºUÖ èŒ ~ØûEqËq4Å´J‡Šò5˧íïÅ’ý4ƒT>Ÿìñþ}NÜè Õ³«¨3¸ü|û“lädòšº&/4‘ÈÚ£I6¸ÐØŸb¾Zç[[ŸnÜkm¸'ÂHÚ)ûz(Ü6rÐýe”šÇ¥OFc«÷&ÅÈmiñ ’þ ¹ñ˜È‡ðÜÌ1Âõ2Å0ñJÖ!µF¼ƒÍ½†ymÝ"¸ýë¬Ö>±PŸÙã©­b¬\,(~ÁþnºÚý«Œ†)&š:Iê(%y«jb»AM¦i"RñÝÌÂëø÷{ŽO¤øGŽOøk^Ÿq4ž Ò›pvÊÊÅÔ9(¢ª«.]!¨ÔŒãö”ˆ\\oÔ [Úk]—r¶šBñ†8`cóâ3Ó’^Bc©ãÒ}vÆÔì\\zƒ)Jüš¬³ÑVQSÃNèê4èyuâÇÛóO{±Ë 플•â¯økÓ) ’Q”SötTeÂfºã8'ÇÏMM4PøüUÉãT…~€sÿ\0aKr7÷#Úî¶ûå¬ÐÍŒG \0ðŽ‚·63írøйÏü5èöt_ËŒÝM <¶Þ¬l~&6Š§+ª—b¶»±]ÿ\0Ûûy³¬•žî+Ô߯û9èC³oïý;ÄZOâÿ\0V:5´[ãkojpÛš8å‰fG©ñ˜¦–ÖGǤ{Ž¦Úw]³ûKW“òä ^ö+Žéo$ùÌ=q$µ Ô*éåò–ÿ\0TœŸe¢x¥—Âpô¢& £Üzw Þ4ôš™Z$o O!}dGé-Éþ¶çéîíjVjÅ„þ~¼xÿ\0>¶“æµÇ\\ò¸+i¦HäY”…B€«D@€µ¬@ý?Oj­·  bH$’ ¨©$œù“ùc‡O‚®•\
+<?³³ª9ù¡ü ú¯·ië7WIcpýA¿)–ª¦Z F*h¶ãXpšƒQ·èf‚—i*TPÀ»J #Ô<ÔuSHŽƒYw·šák^t´šôç¹ ÜD¶³I˜x·4mGÁ¹}OH€¸„k­ ð6cHô©#ùžµtî>ŠìΉݵ'´v–Cjî)©r EVôÕ1Uã«’F¦Èc²xéë1:xž3-<ò¢O±òÅ*$3ÎÞÑî›Rî›\\Ÿ¼¹{Æt[ˆC©RDxÕ¡m:_KçK®†SÒË{Ñ)Ñ Ñ?ðž‡M&Üßýop¬Ð¥ð…IùŠt¼r:áí–R¿g[ëÞë׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÿÐùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞìª[¯u6\
+f‚WÒÿ\0Åoϱg/rõÎå.·€øŸLK(O·¥ž+ ÕuC械W:™~¡mýG¼“Ø9V½|O B«×¢›‹¦9$4Ë£¶ö¤Ó$é\0ƒLHˆÚÎÆ=GÔ\\§×ú[ضÚ'uÐdzý^™è¾æd‘RWUྟ³Bí) ;x@‰î…]% VH’ËÀ·³›`© R1Ò$iáɤ¿—ø8t"bv…Dàµ$ˆæ@€¼jÞ†'žKØ{V/@ý'\\ô\\!¸ðµC'‰7­\0þ@†}·ƒnK)¤JŠƒjòÊ ¢Éþ­[ýðöWy$·éâ#é_áÿ\0zÜ ·q‘šoSSüGòèA£«…L•3iÃ\0¨QŒÐ~Cÿ\0±¿¶~™«£_OÉ-~4¯òÿ\07Y¥ÀÕäå¤H*§i*dûš¹4Ê gÕhÔaèö¶Þæ(\
+ÕG“<rÉ T& ø=¶©ê–¢·-\,2¼³}Ä`Í0[êXuiÑή}¡›v¾hg¬`/”[Ø'è–š¸ç¥Óä°8j\
+ºÍ½OR“@#_R”µj쟥žWf oΛeËíÄÐEy\,mã?ñÚt­^YäUî^ÿ\0=z…Œì¬øÕåÄ"h% F¦ŸOö!@ž8Ëê/ìÎãh·[-°üúj;ÙF|QO°›¥t5T5˜Êlž'kÕf[ÔõÂD`LšA !¿¨B=—I\\=­Î⑃ðOVIchõ\,zBÊÄU=\,Õ½•H²¾‰e«ª‘SjýTè6U¿õãúû-Ý®£Tðîw \
+|¿Ø¡éëhQÛS -ЕŒÂÔŠÈ„YLt5!Ñéâ§LÅÇùøŒ@7ù¿ÁöOãHcªÚ–?:Ž– ˆŠOD.Œ>«»3 1ù ´ùY*¢Œ9¨z£ cvo¶U.ŸãìŠMîÞÅÞ9á q—FQGâÇZg¤žñNÎÁÕ‡ÜuRåVU P³´“2'\,5-íͲçc¼-´À+qÍ?ÀAéË„º_ÅrÚxy€±â»svÑFñm "¼V®’I’U{YKµÜ·¿³96®RÜëû1þ\
+tŒ\\¼dCùõ—t˵7^<×o\
+<^2XL•tôÌšç‘8oØ=Þ߃í=•µõŒá¶ÖfOõzׯ4©p\0 qoö8t@{ƒ9µkëm°ðz+)àxaŠÇBÚÒ7W?ëßܳË6;…®±»Üþ“q©¯û#òèƒtšÅcT\,8Ptmx»ˆµ\,k.©Ú*ŠiK<_l¯ähþ‡~}Šon¹h( Ê<ÍIÿ\0 è2$ÞŽ-£ÒÅts°ûSzæ±V’µh)1êë#Å\,q;\,m"J(ÿ\0mþ>ã+ÍÎÂÁµV&]<<½=:ÚA+ÁonŸõzñþ})h“¶6nkkåò°c¦©Ž\\ž.²´4Rævs ›Uúßì=£»šãqžÛr²Œ;Dº]}G§Ëù”ØFÐÍs5Æa—òÿ\0:+Û°¶áÜù:~Ñ‚l»×T4xÚ¨À†d—LRÉ#0(Ûþ}È7û%ä»TSì$E"q\0êþM_ðt{Å]ÛÁkmëÃü\
+{C³;:ìíZ|®Ä¥ÊIJ”Ïç•)ãMwTfe—ý²Ë½³d›mŠßs/Þ*³Š‚O®)üºW%ÅË]OÝCj<<¦ãž9èÚd6×\\æñÙ<¦\
+‹>Jœ»USú+F‹.°?Ãéϸõ%Ý­'º´´Ìq}”o°pýAà\\þ« 2zðþCÕ1·#ýÝÉWâb\
+©4«)”K ’4²ÔJ¤ÛT216õ½‰¡æ ÛZ­ÒDê8pà¤mc“ƶ¤õ$ÿ\0ž=ËÑÉO’Ɔ/’ZŠŠ(ŒÅ¼1.™ªŒË¦æAø&ßÐ{¤|ÎÒýLo¿S†~kþ®=4ûxújùý½+±[+ƒÈn\,E6J\\mU%R°Ĭ¬b*®H¦tcêÿ\0ãíÝ.o-¶ùü1.¥¡­®)û8t¦[# ±ømMqT}¿Ï¥ë꯹r»=«1ÒW@'s•)1»¼4¼+8vg£’oÏÐÜqí6×¾ÝØ6æRå£ý*¥((}~a¯ÙÓ·V)=§vdñi_—¦?âúx‚:½t¡ÄࢧÆ4µ M4Œ*“O‘¥æâßãî©1ÝŠ«Âó/ Óù-üúð¶†ÅuÇ\0ÓûÃ^‡‰Žë-Í$a0ët ©HbÅ\,Éúf:\
+¨„U·²É7;VÔ—îcûkþžHâeÒW¿í?çèÍãó8 ml[]±RG€Ë(>)ƒ}LläÜõïì%%“n õK8[AAü¸tv\
+Û$ Æ6ãÒ—!¶¶Õ7¯øB"M:V“ýYº›h#úŽNGW \0à‡ùÿ\0Ÿ çzî¼> )èDk<z|qÙl䟥È\,ƒü‘ìão´’ê_ËQö´Ò-´R)ªÓqb’¦ž*&.B:ùQŠR஦+þ¤±"Ä›¬x^ÚU%*G?õSËÒ§ÔõHg_Qøº*Ÿ$>-ìôÚU;g²v5ëÀÕTRäÚžª’«’£‘ä‚¿“ÆTQe1µ––HÞZyãya–Hœ´rH¬'Ù7ù¶æ’;{ÍáxJ#\,‘¸ÒÉ":²H¤PÑÃQ•Q‘\
+·p©8¡_óþÞ=jqó_ùbv/Ç $Þ\0æ;/«ä9zŠêÚ\\4­¹6=ÝdR=áC@gòâi0p†—8‘SÑyã•gŠ‹U8œ§šý¹Û9¥n7.ZƒèïÐÆ<qáÎXF´³v%¼F•ˆ’´²˜È1Ï)I\
+7o{$"“œzÿ\0«ý_.ª®Zf‹P’6MCÜ0±`l.x-oU…ÁQÁ÷žÓu·K\,7p4rÆÚH8añó ŸˆONŽÑé¥Áû:…쓧:÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÿÑùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{²©l½Ôêzo''éý9ÿ\0{¿üSØÏ–¹lîoâÊOƒü<?Áž“K6œ=/öö\
+\\”)­ÓÇ¢.m'ý5\\§ÞIl›$;u¾ƒ ÒX–OoìGú¸ôavÎÎ¥¥0J°J“Y¢kͯÔÿ\0WUpÊ„ÊìL…ä+úŸêÏóè“r1ÏtšF†ÌNäU’X q\,Št\
+…Tia †SdzÙa¥3Ò6Ž}ZÞ\,ý¿äøÌ\\~ˆ)xNˆÜD¤0¸ô³”µÿ\0ØûtN­t=neP(ÝÒü±þ…\\vj¨&Ž„SÐJ·{\,¢e½Ö0 Èÿ\0_Úyd’ˆ%”j—ø:`c1•”¸*™–9¦“@† Hïõ-Òÿ\0‹¿¿‘%z¢#êÕ_`ÿ\0ŠêF:¦i*…¬rB5¸ÒªO\0–@ÿ\0·öµâCŒ§L¾¼—åÓ2ϪM$ã¥=NR®šŸN2sI\,¯áR²h¨2[OŒ>‚±ÒÞÛ‚Ú9¤Ó.Gìÿ\0Z’á¡R#ZÛþ™ãÅî€b¯ÈVµdÁ$ñR+ÍRf·ÒìÁ£ýfÂæÀ»Z¤(®ÜMùzLO:¤’’Uxy‚;EYž¨EÅVÁY •à•tṘêÊ­¡K_ÝLv "Mn pÀà§^"ä†U<zsZ·‚ºÈão!Zzp“)1êñk&Î/ýoïcÆ•µý0Fù×ü½P\,:‰MÕþ®)ñ«‘Ç\
+zLnE©¥H£+:ËÆu tSÊÈO'ë퉶 {„Gšt ¼*ùËÓ±]ÉjÞ)ÛöWü5éÏý"ö>C#ü.’¢»¹ ôLJȒª¡uMRþ¹ö–=§g¶µñådsó5ÿ\0/NËwÕðàððôdº£co¼4išÌ4@A] VÔÈ’½2ÿ\0V—ÒWUþ ƒþ>Ã;¶õµ\\Má[¯g ÿ\0F6ÖWIý¤µûiÕ’cþERm¬ÿ\0w¦ƒ1(Jx¦£¡S<xÁWcþÔßÜku²M4ï ìE¾œt"´ž4Š§öt•o—û !Oö;«l%.mêåŠ3-$s¼±§êrJ©ÿ\0ÃÚ¯êÈR}ºè˜ÇÅå_ÙÃùua»F²J·¡øto-ɃÞ4µmú8©¦¨Æ™ t±«©ç˧Oôúk\,6»­­Ñ_¼/ÅÖÞâ ¨û@SÐIžêlÝ^—Ÿtb«%ª®Š–jxÔµ-7éŒúîò¨ÿ\0Uqý}ŸÁ½GûÛ°´USšWÖ¿ç=nn-¦uP¨¼Ÿíãüú «1XŒV¦„ÑÇ*P#ýöU©â¤ˆ2ŽUAÕ¯ÙÔ7S]Z$Ë6ü9þyé‰-oBš¤èEëy¶5ZVÍ“ÌIr0Žž®°Í³1ãúßÙvõçÂ&_â¨ÿ\0åÖíš39&:'çÐñ„ÄmXÂ45ÏPÊNÊòS©Ô ›_ëþ>ÂÒOxcj­|¸úôg£¹YGpáÒ_±eØùySŒ\\ŸðøOÙFÑ GÆ4é'ëô?’}ªÚFáÏt&!¤ø°(*P~@ué…©T·yð¼?ÕÇùôG·öÐÛ˜×KO‹|MU Ѳˆ W\,$ßúû”¶kûý¿Ã"àÉü@Ÿåʯ6ë{“á„£}§ü5è$¯®Ïuã­=.B*jzø¼ÄULfÒÚ<fB¡øm[ضÕbÝ㕧IE Å(?*WóÏA׆KIE”…4®Oááþ¯ðô8u`çwMm6Ü«ÏÒæŒUiêdsN˜Â£K¦ËÈü=‡9“i¶·R>™â‘bÔ)gç“NŒ6ÛùÒÛê"x¥økOðtp2Ý{”ÛY\,QÍgªfÇA‘µmMŒÇɨİd`„óÅÏæþãÛ=Ý.ÞeK@— *<OZŸðpùt#–ÖTMQM¨þŸËãÐ…‚ÀI¹&šXs¹¼-#¢ÑÀiŒU1ýa\,U^tõÏ´ݽ”Q4–ánÞµ?uqÁ¨³§IñB/èzgþ/§ÊŒxŒ„•ùŠf|¾R)*æ7–^T¦E*|†YT ‚mí7&xb‚È RŽõ¯öpùt¢DÔbfü ¥~CÓçù×£'Öx< M\,EOO f:BQ&Uòȳ¶²òE!$’¿ŸÇ²mØÜ\,‹ à•i@)¤|ÈÏí¯V·Q&PWWçþ¯.–ý×4;›‡ô4’ÑÒÊb¤R3%c}ctP<ŸÐÅ=“ØÞÍaq¬dèÄÇE;º6§^î\\&F’D£Jv© "¬Íå”8K…~€±SoV7¢ó~} Yµ.[£?¾fÄÁµèªÑé[-N±*ȬÚEK°T\\“þ{ Û¤©¹jXÈ·ôÏG <\
+²š½=KnO %vzhÒYÔ±;‡1CõÖ\
+ØßÝ·”H¤"8Í>DôšÖfž^å¤~3ï>¬Än\,²ÔVÌ‘S„1ÈÐ>–y°çè}ÓéýG¶\,/®maý4 }•ÿ\0 zQw”i#û‹®!ÀQ‡ÛõӺϊ`Pò=(±ãúû<´ÞfyË\\Ǫ?°ð\
+ôœZ(Síÿ\0g¨û{tNOðìÌ2!Fð‰gbcùRÎ4²ßòyöc4I2}\\4 éÓJì˜eéØ;¹ÿ\0 š(r2)ñ((.‡P1:ƒ ¡Õm$`Ð\0í›”–`¥Å¶¸G¡+øEOj «—P r’ië[_Ê‚*úšáñ»nÐa÷„U“ɸú¶ø1˜œÚe22Ns;:|ÅlÌ”2VÚ\\wš›(T} †XDG›þÑ´óÕ…ÍÞíp°Þé>ÐU2+§Å âe‘dà³2‰ ey"bÑ"†{¾H£ªž9ë]ÜîÞÉí̦K›Æ×áóXŠú¼fS“¤¨¡Èc²43½-]eRÅ=%]%J4sC òÆëb>¶Å¾cäýÇ—oÊêÖªPʺ° G„Á pÊU’¢¤a%M`çÓ¤÷°ƒ)\\ŸëÞë׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî¿ÿÒùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{©”ðy•²ÿ\0KŸø¯±w\,ìRnW_­ úJ‘üÁ¦'” ÁÏK\,6!òQÒÆfKÞF¾…ÿ\0j'ú{É ƒd†Æ#ÀŸêò­:)–FsQ„èÈm ·1TF¨µ"(ΧթÜÿ\0œ2b±ÿ\0È ìW¥¥òé<ÓH ÐÆ©òÿ\0c¡»ˆ™^*“vŒ ÝZåžÀ9[ÛÑþµ½®ˆ*ÃE"07«_BÎ3\
+µê2ªD•TâÒ'ùß%¬@~V|¾Þµ9Wà™é{ÅÔA\
+¥§ždSgE+¥?G‘Ê–B/ø#ߌÐMñ¥GÚGøL1©©×ëþ¬t½Ûû^:"µRÖOPQ¢B´ßVˆ–½×ýzžüÍéJáþ£ÓQDÊ|Bý¿Ãþ¬ô-Ðcq‘%m5{I+´G 1W½Oöä7[ ÿ\0±Êæy5Ä;ºTŽ”Ûkcaéß=È®©wéЩo ýÁ]\,9ú ïs{;Ë=¸oÒ^ƒ¤Ím`ŒŒÄ±~zeè¼–[)4¶Š®E¨UOQÆìuÕ2úA¿ô_e¶ÜÌðCâËnuúÿ\0«/—oŽy U`Š§íÿ\0W—O‘|~íØV™x\\% <rºÔKU M`Š_óŒÁíbß‹¯z<ݲªhn‡ÊŸà§VM²ò$ððSÓáãÒ§h|0Èïšé?Žoø£Ô‡Ç\0¨ŽjÆXþ G#¸Œ0ü\0=úïŸf²³ñ\,özϦÓãMáK5OÛOðt8aÿ\0—D0gƒ/%Lr\\²O)BÑ"é.̪¨ §°ÕǺÇ#êùt¿÷®>6>Δr|DÚ½mWUQ“ÊcZ¥©â¥Rk(Þ÷}Á:[úÇâÞÑ¿;n›šxFÝñiª´Çåÿ\0ÒÄØ¡·0³SǤÝÕؘ*Ùóøúz5’‘}3ÍJ²VÕ½¿å9²ñ\0{X.·-þ‘™‚úõSojU¨ñ‡ú¼ÿ\0>‚½Ë˜ßÛ¿!6®ŸŽfd¡™R aSêj¦ý° ûX[ívøÓAâËëŸðÒ+™d—ûÓûøkÐOG—Ý»R«)‰Šuo»RJ·¦¤o¨­£Iö&híoíR±\
+¯?áóüú.•å‚éæªßú¸‡¨9Ê6“%†®ÈæŠä¤ ²Uº\
+tiDšU˜˜Pþmëíë# Šî{`b?:>?Ϥw $ɱ«¯…*™èÆ"Š6ÜTÒÕÄZ9¡¢ûjŒu3ve²§ôöMIšåä[6XüÎGKâi %O‰ÖßX¥Ž„ફ²µÈÓý¶PHÔÉPŸÛ´š¢òëoo¦Ýuy2}dJ±ªÐP JŒþÓ^¶“B‰s\,“¶¯N…­§ßÝkYI\,Û †Îc’X»Jép@Ô?×öW}É×Oà²v!>œ~ӟνzÆ#>©óé{&o­ò5TÙ=™K€ š È´Hª†Vñé1(º1¾„[Ÿd±í»¤øwnîŸiÌPô£]¬˜Sóÿ\0?BÍ)¬Èã#¢j8èkd„Í÷ñ õÑq¸i!퇲;˜^y bê8)$—¥¶ïT\,xôfzg±™«2‚‹ï"¤”OK/¤‡V…i—ôqõöuoÌdiô“6†õÿ\08é4Ö’I ”Ž‹moSïÊ*ìÕ3!Ô½FššjÕ@Í”‘™Úoðú{ö2Ú[I5¤…~Xÿ\0:\,¸‚v»r§ŒU_·ötÞ=+Ž<®û§J´Xã©ÊVÈ9FCéKp-ìãmævžgµ±ÒŽxð?á¯Eòm2~ºÕ?gø(zTlÇ×8º»scKXÔr4-( \,ÕÓ£¹bYOä“íÆÂþfÜ^ûte2G f½ß/OÊ5o&Ýooá¤C_Èt?o·5NW ¸p™ Þ<5:Í>ª#‘§¨•ÆŸŒ«3hÂuÅ´ {apÍ©©R?Û)Vþ}ÝH÷6ΊWU*ôx«öô%ã»E豕ø©¶ÕkÏ:7¤ª‚¥‡ïâû›…[DÏÏôÿ\0hî6¨ekk¨¯ OšNqù×üý-´—Â}.½eÇoè³ñd ›öòÒ]¦Y€«E×J¨P•\
+ÌO\0{ÕÆØmü íœ<EªW‡g¦(:צVðœÈ*|-_ŸBŽlÄYzL•}t4•”ôqélmB¼y& ¦4¨_!jyÀâÜù˧hc†ábCà¿Et¥&§ùôìLÒ¬!ÞŽxðèÏÀ£%„§ÎEf«4aŸ ¿q}LJ 4¯!ÿ\0Sôö—IJ¹ðÒ*Új®®'G¦kûxüú1†S$z«ÝÒŽ-ávݬ t…+é"©†™R¨–6ñ¨Œ²A“‹Ÿ¯çŸi®­ýÍ…j=OÚÊ"©Ã¢_>[zâ'“#¹3‘Õ½šj:B”Tqøü`Tºéf0Ëô Mÿ\07ö:„ÙN°Û[Úÿ\0Œ-ŸðVŸË¢ë¹¤˜ýáåüÇùúi;+yPcÅqmè–¢ #Z©Ã bÆY”Rj%E–À¶¤ÛàwÖöºÿ\0«çÕâ»!©Áãóÿ\0Wˤ¥avÎ%*j³9Ú]É:4ÑPI\,r"JÚƒ€4ÆħõÕ¼$âKVOÜßñâz¨º¼÷á~_æê5?yfd«¨Z_⼫TI ôÈc…Òï "G'›ûPv(R*Ÿ¿é›üý3õïþªt«©ìªLÌKMU%6¦– V¤ÿ\0U!"3«ŸiWi1K>‡ <ÿ\0ÃÓ‚õ^=L¹é+>Iñ5ÔµôÕÕ²I;õ±ºyéHýdÌ >4sÆÀj0:HìÅLŽÇGìé·sVWärxüÝ|Tÿ\0}Hy©YE=>­B€šY¥ÑÇ?k¶Ño\0–Ý@½*8ðáBr´ãÛO^©rí"+†:lj7Í¿åq²>k⓵º¶¢ƒ®{®–†HrUP´Ø.ÁZLcLj¢ÜÒK] e=RÓÅ^êª)èH'§ªT¢Zr]Ò{°¹åîaÛf¹ÛQ«nñ[’ê’:21¶}\
+îU„°³JYm£4’x°/óáû8u¨OhuN÷éÝñ¹:ã±öÞOio=§‘›œÁå£D©¤¨RH˜<O%=M%u4©QKS ÉOUM\,sDï ‰!ÇÎq䋾]{w€²t2A:å&Œ ø"H›õ#*ÊáXP\\ N’@1éÐjT¯ûqî=e+‚´é_\\}ׯuï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uÿÓùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî¤Ãv›r?ÞG³ý—e—s›)úŸù:jI4 qéKGKrŠ\0%øß÷ž}äw\,lÛǘÃþ~ŠÝÌò¡õèmØ:ÉröËöõO–úå}Bþägb²™\\†uáþ¡N™¹x¥Š~›KCötbc‚&XDE#ÔU亼„BÌŒßï>ܲƒR™»z/»-_Fš¯B DÍû•3G\,rG±hGª2\0U¾ƒís¡H»qÒºsq¤·oØ:°µQcR%(ehÒ&c\0‘I2.À¤_ÚYmÌß iëÂãÁ5uÔz0ôuõò"Ð@Ye)CåOÔ\\?ØûNÂ+uÓ9\
+ÿ\0\,ôäÒÈ⊸èLÄíÖ¢†y2>a[¼J_ÇL°¦¦t\
+|ªXþÓñí×/Àºbôÿ\0gO˜“_‰§¿í?àá׊šZ8Ïæ–j‰Rjxà4EO¨¨1k>/ö£êÿ\0oĤ¿„¯ÙëN˜œ–M'ûN§a³Û«-3ÍŒ¦žšT’*\
+O ²èˆYüfÌWϵRÛÙBšdeüxüü¿*t‹êf‘¢hSJ'Â( ?h5üëГ&g~íªê¦«lÍliJ4‚HáUýrÉò'?†¸ö[oÝ} "O~xÿ\0:2%_¸A—R77vgcÄÇMÊÕÇ‘­‚8ªrÌ Ìûa@‡Æ—ÿ\0i"ÞÞµåÛw»©ˆ}7ðçü<ŸZ;ƒÛÅ™ —ý^]Bë;Ÿ¯«æÉ&]³9ªÖ\
+#È;‘¯Ð¨$¢ëþ f»—-øD}#Å\
+ü@ŸE±n2Ã+Í#”ü'ýŽ«MëÞúÍÖìjMÅ’Íb毯ž–3Bw QÊy4ˆé¨i‘Ï’1õ û‰wŽYŠ×è#‚O ø´-?ÁÐÂÂýnaºžI\0€Pcüÿ\0z|Ý»;¼â¬Èí¹²ÞIèÑërU9#ÆSê<Á’]ØŠ}CtvÏÓ¹“V­8¾µþ}/3 ãVQ?Ô:%Û¢‘6V-Fä9 æE¡¥Õ¥¼š]@»"Yµ`ÇÜ…¶Is¿%`°U¶ù’?küú$š#l<yWË£;†øyQŸ¡Æf³[ÊXir”©\,âãžÏ¨éaiHäý}\\ó}ÎÝ<û|[røƒãþôâÚ4øµÇKüßÀØk( }¿=euMM?ŽI+§ èÿ\0VT¿Ø{'‹Ÿ7n<6ü_Òƒü4¯óéá¶FÑ&ž+ÃúçÒ?jÿ\0/ÍõÌã7‰¡ÉÐÄáÞiÉ/„r#ý^; Ofw>æA*°ŽÖdsèùºNû&4ÆØÿ\0W¯CÞ_➨¦Û&Žµ`–EŽª)<«¤’¡uGçê=…×›nå>ݹíÿ\0(ÏF¿»¢9Óüú(;¯áþ©ÈÆÐÔšº*šÀéM&j?•Õe·äŸcÍ«Ü8bÿ\0{jËüDŸóÓ¢»Í¡žG»€ˆÇA–ôøOØÛfZŠúÝ»N=¡%ªŒÚêW¹µì}ížåí—Qè¤þ´ÿ\0'\\lO! £=xÜ»UP™aG_‰­ˆÚaPóO ƒ2.² >ŸÀؾ[ǹšÛÁ·WŽ_!ø1ŸçÑL6RGãøÕá^öÈù·—ŽÌÃáÌRÅ 5UA)Âþ¤[€²Ÿñ`O°véÊSË-Åí>ðä—£+kè‘H{º2Tå²wÅEg’Œ¬ßhê«äXN˜ˆ]$Zÿ\0ëûÏÊ÷Vêò\,z”ü>ÏÏ£a¸DÑøkñtÛ„ÍtýFC;™Ÿ cSÓ¬Ï;¹r5¶€Îŵ 5~E¶ŸmÝa´†ÜI&e¢Šž7âB÷HA¢ƒä?ÕæzTn —ÓEE·³T •ôJa–‚vzˆ spfµˆuO¨üþ}¥w» ««Ëi™/:«ò ÙÓæ[a‡MCóÿ\0'No‡=U·¼ 5fªªtŽžCd…†””þ­.®x?QïÓó—0ÏO©¹L6¬…ãþóü¸tÜ[=šQiéÇ®9/Œ›³?Þà7•4é$‚ªîHú+•wÿ\0nxöÔ\\ÜŒ‚;« [ø€ þ\0:rK!â*§Â8t\\÷_H÷/ž®jxâš–gH* thäm¨Š~5B·ü}=Š6þiÙ[N´"QÇíÿ\0cåÒKا©h ØøGH:eÊm(+¨³›m#©–±¥Ô²¥l¬ S J‚‘Ge¦çÙ躲ÜR#ir*‹¤æ˜ÿ\0çÇçÒ‰ãzHš†š~]'“|añ“δ˜ü«ÔeÌë DÏ4‰ V’G`Æß•ÿ\0fQXË:EODà(¿ÌÒ§ó¯MÍ:G"É$E€áă¡ Üù+hñò˜ë1Tu‘ÔI2䣋)AmB ¥‡CYXóì¾M†))yt’G!]*@ CZÓíÁéèo5¤=ÿ\0n:1í¼ö.衇pb·e $”äÈduìåTòž94°:¹ö}«tÛ¦{3k¬Ÿ„ôb’%Âj CÒ 1²²›Ã÷X\,¦7qâ*îé*"2MPä…Ã\,†B$sÊÛIþ–öamvv‹…ŠòÆhØpjWü=1"B9xñáÐÛÛ{× Éæ·\
+cjëêÞ_áèX¨Œ G!\
+E(æÌ[ób^]Ü.÷yg²³·f"*‚kÇפóÚ´VixòÐ/ÑjÊoª¨ká¨ÀnºÚ厨®®š¤%±U!E`$ð¯[ýcûk/ЖËM€‘ùñþ}Ü\\I_&$úô©ÄöŽNWÒ•ðWJá„’+«G#P_HÕ{}O<{C>ÇM\0ˆ~gü$õD¿*¥YõIù“£°ûfÔÕSâ÷4®k¤…ž.§ôùYPéüÜ{ n»5êÅu>ÝSþ¯ŸFM¨QÚªÜz²8¬NièòˆEŒŒ¦<U9ŒšR9hY8üŽ}‡àžîѦŠâÓLÏÁ³OÙÃùt²@’§†ÙЩM±O²GA÷GAÓ"Bð&´ŠÆIaùöM6ì-eÃקâ‚OˆiÒ‡lSUmI 4‰öÓOº¤u7%]®¬\\óÏä{zKØoc1HÁ“8 ×}~UáSJTÕèâhGh§D›ù’üë¿š[ ÔQcvgxíŒcDz÷ç…Öš®œ»Õ¦Ëßš)++ö•e\\ìÑOrÔaê*$©¥Yëh«_Ø÷ ’çaÞme¹å‹¶¡E‘$\0žÕ¸ €UŽJ\\\,f'‘;%kEãÃãÂ4Üúúþ\\?—ZAöŸTonžÞÛ‡®ûndv¶îÚÕíÌáòkOO2Ç ±M °É5%v?!K<u4•tÒMIWK4sÁ$°:Hbp}¶»å9 – ¾«bœ—‚éGdÑA`ÀP‚$F²´¾[‘Rº[ÓÏ ¼‚>£ÜBѼm¡Ó»¥õ½uí¾·×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷_ÿÔùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺Í~CoÇÓý³ ¾Éïg¢½QÜ ÏOÔ”Ü-–÷ú}xÿ\0loî|å^\\Å 1dñÉÿ\0?E³ÊIíèLÃmÙ¤‘!1ˆêIÖ¬7úñEümsšÅj<Wcá ?ËÇùôŽõ~ž°«V_ WçуÀËü5©ÿ\0Éá*ßn‡Ðÿ\06IãËùþžÌ"³IKy£qÏD²Mô–˺Œ²µGÈô8bðpëSXf˜Ê<Ú …Oõ:XX¶ö”\\GúhÔëŸòô¹íÍÇ3qÿ\0Wùºñ›_QV=QUV*È}a\
+F–™\0ú˜ò }ïë®d>ÓçøºBöh“ëO·¥N!(ª+SGÖy4 ‹Ä 2Æš\,XÈ\\ÜýEþ¾ÞrÉ\
+O$ßÄ1ŸòôÈx“ôËKüTÿ\0%)üº1˜­·SVeÇc³”ÔQÄŒôБJù$â]D :‰ÑþÃFñãÜ›=hòÐdœzqèÒ8ZB" Ý5]YšÂO…«Å@sòW§žWžO5\,rÉû°Ø¤Óôÿ\0h!Þà–{ÛkÕ1*páþ^žkfð`•$¨2Ððá×</SærUùh÷I¦ƒ gaÆѷܽT5È4@<ª?Ž}¿6ùl¶6£mVðÿ\0“ÿ\07å׿wÈ×1øŠ;âÔ3Lôdv§IE-U͆‹oÐÑc%ûs¤™êªc_"Êdòä o¯õö»æ'n–+—•Ïåþ•C`?Å`4þ×KŸQþOÊ ;+®°˜º™\,ž#7=sÂ\\‰Ê´/(²V”ÿ\0¯ìïfÝæžûéí®4Cé¡?æ¿ÏªOg–U¬€H–€ÅEOˆþõŠ\,\\9Ú\,-C´ç+\,‘Q¥8¨!t6åšk7­k­}3þN‚¦æ¡ÃÒ‹q§^«ÇGñäsôÃÃQ_Hÿ\0…Kû¾ÍûË ŸÔO´v ¼¾»Ã®;6â’ý_e:»‹ p–æjܯôü¸.›ö~䧊·Ç[[ü1©ÓÉCK3R¯”‘Po¡¡ý}™_XÏ¢„ Tñ©¡ý¼zjš+€ºŽ‘Õµl¿{v³­ñ[C‹’£!OO=}Z-}LÒsꜤhþJ>áM÷–¤“uñÄàEéЯl¼[k\\ŠÉûzKSÓõ5â¡’ªÜŽ¾¡)ëéª(€HZ¦_óÑ»‡hb‹ýUÁ÷kh÷†‹ÂÂmßÆ ò§T¹ž->+¥dôÏG¯+ÙÛaá1¸Ù¦:ÑD´TS$Õ)?Ñ*%Ô/ãóì»}Îã~Ò H‹te¬Vµ~Øÿ\0‡ýž=c ù9”ÅAI\0Ú¹I…h–zj_û\
+~•f•Ã-ïô¿µh´™Ý Ý]8õ¤»`{ø~ž´îüÞm¨ÎchÕÑPVè4ÒjV㔓Ѡ{\,½ÛìChKæ7¿ìpþ];ãÈÄü=æÆb²ñÆg†2GBy\0Ù¿>à nÑÍTéz°+SǦJí‰E hiSL×Ó"¨~º-~_tW˜®”c¯×¯i~ÐêþÅÊÒ×A[Jù 3¡…ÜJ` )}JVäõý˜[n–‘Èe»O þCýCùtã­3Sùÿ\0‡ª–ùñÛkäèdÿ\0ÜcMV!«š`RªyÃxÝ£BYZçÕ{¼{—y?š/-ç¶xßÇ·›ðšvþx?Ï¢ÊÍä·hÜ~»qnÈP.ˆÎs«_­2s$y÷Ýõ´1¬ôâpD—õ YÆOô÷+Yó oQD'±[pühNŸø: ~ïÑþ1%ÁoÒ­)Lú㤎שÞy¬µUU\,Š‚jçWhã‚ \0W°[IŸ¯³[¸6ëKdµ»/ õ~Þ’¬ò§0¡xyô£Ïï:í»Æmm¹Œ½Lº2¸ÈåÔÆáÑ“Hõ…~tŸIú[Ú M¹®ŒW[…M¹ªÕ5ò9üëÒ—vŒêI)7¯ü^:†ùIY·ª¤’¦løÈÒÕÔ¥d‡‡üc‰c¥¹°ö¦NKŽò6úYTÆ~ÿ\0«?zn=ÜDŠŽ§Rü_?õ|º0ÝmóÇ7Œ¥¬Š}ÁQ$ GO<ì‚ž&Ô¬cnSQâÞÃûÇ·v’Ç [J•n4¥¶ÛòR££·þræ^¨é1õÅÙ Š#aúŒ¬R¡ö¸äHB›6“õ~ÎŒWxWýT8èvÙ.6áÅÍ“Ë壨x^h«„ré§û“ú +Çøµý‡7>G¿·™âŠ<·ÃAþªô¾ÛpŽyR|MŒÿ\0›òéæ—¿:{yM>5ãzsQ\\°£¿“0¬Žuír~í NʯV⢣ü?.®olÌššÿ\0‹ýXégKÕ]g’§ÆËŒ¤Åd¶S@"’£[®±â=jQ¹ö]=îém$‹!–‰Ç¦Ö im£È:å û=8ôSû÷ã„sÉ÷›cÛÙ¸$&v|pÔj…n¯\,J¤!\
+=7 þÅ­Íïi\,°^«ÜY·Â Ô²½7{d¢ßLx¹õÿ\0c¢Ý‰ë.Õ  ŠÍÐÒe)æ-㨧£¤•œY¢©‘ž?ÆþÇ·<Å°\\hš¥xb¿á¯Aóán4˜ª:~¤ì<÷SRʼn¦Ù™ ekÕh2ÑUÉ5?ŠCêñÌ¥Âéük{ð·³ßWu/ÌüÀ¥Ce ŸÌô\0ö¬ÙnÓi!Èï ‹TPÔ¼Ôé–ôŒe ýç‚9Y’¡’>Äû‹að¦JúÖ„ÅSQéšÿ\0*t‡ržëqÃYtGéAþn `6Òä0lEÝ«¬¦¤yyÚ4…ŒµGÆàÏe3(>¯­‡âÞÔ_^ˆ÷ ÉçÜ#Bß?#QÑ}²xVåJjν/ð_%L4PÌjÔ!yĬÆ2(‘£[éþö]q¾³0y$?„þjô² ¾(Ìxdÿ\0Ÿ¥Ž/¨óøúº\\¥>7‘Ö±PIPÊóx¤©’ÎÑCØõúi™-åV¶{˜\0<Eiþª¶®YƒÛÃ'«TèŒcb†»7—©d¹1òª\,*ʺÀ!“R\\ðEýÄ|ÅÍ“ÞxE^\, TãùÐþuè÷n³™×Ä|'G•zÏ3 ÊÅLV1¦:‚±B!Q¤j$)ccù¹÷5ÝóKˆÒOÌÿ\0“¡<pþòÿ\0c¦§ê¼eL’J<‹¨jy  Ûé£ô¯çñõ÷q}qkFhÊŸCþÏ[ðJѱÐ1¾65R%DoG<1GŽ¥6’3¨ø‹/¡–ìMÿ\0Þöqgº+äHV]@à*<è0?gñêátŠŽ©oç‡òþÛ\,öüØù>Çkw6ØÇȽu¾*b’:zš6–j˜övðzXž¯#´+k'”Ç$qÏUˆ©‘ç¥YUëi+em—˜ì.6©¶ÍÚºåû— ñ&$IH®-Kv¬ÊCêìc1LËúrÀWy‰ Üxsçåû8.´Ýí­Þ½?¾w\\ö6ÛÉm]ãµ2ãs˜LšF•4µ¢K‰\,RKIYE_M\,uµTÒMKUM4sC\,±HŒÐ_;òjì;…»Å7Ôm“§‰ñŠ¤ñÔ€Gð0 ¬±7|r+FÚi m®Vu¥(ýîºOôÓÜMsn`’„Pt¹MG\\=¤êÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×ÿÕùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ë°¤›~}ÙU™´ªÕº÷O¨7ÿ\0|}Ì|™²Û£k“âÿ\0WåÑ}̇‡K\,U<mU\
+Éa›¬+ô6¸½½Ïû}’Ål¬’8¨ôšë-Xéó= [ lfDí]JÐL^5Ž›H>¹6 GÓŸgw—Ö¦¥ñ¿‹ýœ?—HžÞ{‹¥•#"ÃWÑx ôf0{\
+¶Z™2‹ÉH¡LÞm÷õ‚ʤñü{%]Þ#xÖpü<:}ö±/†||X{oje*&"¦¨•¥F±>¨¢ñßÀ$ö>˦Þ-fPÀÃþ/§šÂa+ü#‡Bþ¦ó¹JÐ&¥­×"'ÚD\,PÝ‘›Ï0\
+#ÒÑ›Øiÿ\0¬Öè…Qè¿êóãÓµÊjÿ\0WË¥äø*-‰SC÷IGãÅÅ7¢tÖ4ÍÇÜMRÎe{©7Qý=êÞý÷Pò©:[ú¼ºnKe¶]%‰Ðm÷y²¹´ÄÁnMe†¤Þ@UµB¹\
+„þ>žÅ‰³ý>Ûf²³²ÛµYqÞ}kÇötQ%È7óÊŒ@1Ãùu;Û=·CKEAG“–£–TV#yͬ¢IO Ví^Ô˶ì2Êgž$ñ&ó©ÿ\0iÒ;{«åIm¢¨TmC\0Ðúæ¿æèiëýÁÙ[“xO¸h[+I’’(↋õåcm^yDúýz¿Þ?ÃØpýÑ·mfÎM ò9þ|ŸF+-ÅõÅ£°`Š4\,zcü<z9;[{ö<Ðã·nGY0²¬“Ã8‚TZY~ÚÈ¿‚`««}²î;™ìÕGÌþ~Ž‘îc_5à8ý´èµ÷dTäj«¨+©²õøø*^™|I$i*‹ÚWÂ%‡üXb¾YÙãcÃ\\ªLx’#åÒ-Òñâi¢ ŒWPõÕÇçŸø®\
+ØðNÞM©–žbAKTÊÐÚTÖ\\2Æ<–Áb=Œ­ÚYBnCWاü# ô‘Ö†ñâËÔ80ûR‡;UedtÆ)–BÓëeÒi¼Kq˜Ëýyö¼I¹Köò}<*EoÚzI*Bâ ª@<qÒí}ËOªÌZ­<Ô­¢©1Õ*\0AkI+ ÑùàûEãkû¾!rô‘%¡ÉüˆéSZ3MnTw¬#¢¢¡“ƒƒ=¤ÆPÖèñµ¦¬œÞþem"P–ü[Ü{ÌbIîfŠØ(àƒ‡íãüú6Û ˜£2`¬´jút¸Þ{×dôÎy$¦ÃÙÎV´E•Šuª¥¨Q£ÒMúì?²Xî;Ä/ÊÑDœEz7½¶‚?ñéaéÃù˜p½ƒ¸7NèL+˜Í×IDT1ÓhñLÂÑ…‘8Œ}yçóìØíPmvï Ô§ zF×?Xð<£±¸ùƒ£Ý²Ÿ°ò øÚ)S–¼5Tu¸ê%hѸ‹*‘Uüþ¯°=ì›12ÜØMá•þÐTŸìÔM?ÚÓ£hÙàÃ&¨¾Îw­{—mRdvþDÓ½-jâe„Äg)õ„²Ø\0ûac½%ÿ\0‹\,QöòŒmcÛødQú-3|ëÝ=iº~m¨ÞšŽ®«*¢7xc?«OPK[Øßkåͯ}‡Å³¸"OS_ø®‘^Iqf4˜Á]ó3¥û3#pRbk]Äh•5 jK³0?ì/ì›sämÖÂC-²–_²¿çëqnVîúI§B¾»ö¼Yú]¯—ÊÓ8ÈA¯:°’Ž³òÊÆ>¿×Ù;l÷–÷\,öåo­ÿ\0´Œ¯ø<ÿ\0gJÌK ÇB‡Žz+¿'6¦z=YÀ¶Ýûú_»”U<+YFn¥O©WŽ?<ûM±=ÆÙ)»1°³2Òµ5§¥<¿*tª ­¼9È òè¾ußƾžÝqE‹Þ„K]“Mu/”âE¨”ið$¢êU[ñôö;¿Üw$[ê†+OÚóè9Æ¿ã¨=´§Ë¦ÞêøÐU´«*6ärf*ÌÅ¡ëŠ=Ý.m$ßókû/³æÎf¹¾ú[™ØRüÝ-‹h±EyF¦ã“þsÕhí?‹ôœ‹nV¯¦®ë ’45Ùï<sqýO¹–~n¹·‚xÉ‘O•²$Ú¼kº§l_oI>ÖéN°ëíÍ-’«É*TVŠÊÊWxd—ê]µqþ>Ôrï0sãñ\\Ù0[~1ñ.½¶Z¤is¨j“â9þxüº.›²‡g¦v³QYSBó¢GE‘‹I§±åKµ;…où\
+÷üûíϺI`·Æ*8ùº(– x[H\0¯çÒ ë÷ì”ÓlÜ;ÁSŒyeXòp¬#©×}\
+˽kõ>Ì™v‚ɹ^¶›Áñ&iÒsãÀÿ\0I ¢zÐðק8aÜtتº¸Jêl…ë­s±†£Ò_Ë:YŸO¶}¾ât½K€Ñ/ uèžâÔOo‘$œþ/=6+wäö”m‹¤C‘ÅT=eMoÝÏO[K _¦ \0Óߎ@'Úy/\,-w8$ºYD ÄüZÜNmô:úvWÉ]ò%29-Ñ‚ÉcäT“'[Õ(¢RMNî‹äoè·ƒí‹ÞWq’iíJIŸéQ_ÙB?.”C¹µ¼)pK4mQåCëŠWóèæí/šxXp³%¹Ót™%E­¤Ìѱ”¶&9P£Dþ§Ø qöêïÇHe²XÊðhY¿ÏN#Þmîgk‚|‡ù©Ð‡[ònæèèò{ZŽwc#WÑA]¤2]t~Ä×(}-ú@öDÜ­{e%ÕµÛ¿ƒáUHò>¿ñu.œöž:âOJŸòž‹¥Vû’¡™kãóU}ØJyf‘!PnN‚chÓÅø û&Ï%œ ÇËàé$÷k+éJSì5döî=熯!’¥V0ÈA‰Gÿ\0<ê¤;ÉúÞ½½åÌ(±Çlʃ€éÑK\,zˆP~Þ³mMݶ¡4õ™héÕ$PI —R¤ÅúÛèmϵW›eäô1ÀÇýªŸðƒÕch£—±±ûÃÐù´{S¦ö} <ydžÈKTô‰\
+â¥J¼‚y‰f5\,Ç@ñŸ­Ç²;Î_æ Æà¼vR#}ƒþ+¥ðIV–YÁSÅp?Áž”Õ?8z·=e¸sD¯ŠŽCAN¡$áäY(`6öÄ~×ïB ¯'‚ ‰¯Ê´þ]>û®Õk!Y&Ö?ÕéÖ|óÝrn\,~ŒÈäjk”ýµNj!AO ŸÙ&Ä)öñÇÅÉ>Ö?¶v"Ök‰îa¨ø„d±ÿ\0zló%˜ŠZ6â´§óþ}Ý‹ó[»w>c-·^G¦x'8Éåf„ ëE’J:ÿ\0Á¯ìïdä.\\‚Ö ß{¸†7ÍSÃqô°[wÿ\0ÏF£¡¾ooL >?onü4õÐiE§È+³VÉ}%§‡SJ ½†ùŸ‘6{³õÖwz>|ÃŽ¯·oŒMÆdýŸàêÂ);Ò“xE _Áå\\{jf­…Ñ[WÓíI³ÿ\0±÷Üòàô™Ç‰þ¯Ë¡4w‰\,z ]g玃ÍÖ6Öïšyèâ|f_ Xª‹\,m¨Œ ³.‰5êÛö‚æÌÇqÞ$NÅŠP¨ñ Sñ$R§?>¯#ÄTÛM<*Öž~¿êÇTÙüǾ lŸ—;V»!Ž‹l÷~ÍÇÔ™»yjw©›gî“ M%nÝ–®{ÓÏc>*y Ð+ÄóÓTŠ ¬Û4Ö7ø›-Á£¬y’)\0Ïò™€]@vÈ#‘c&)£Nк8ua«­.wÞËm̾KžÇVâsxzê¼nW‘¥Ÿ‘Æ×ÑO%-e}RGUI[GU Ç42¢K-ˆúÚçNPÝ6 âm®õk*é*ãû)@[ñ+) 4üJT­A\,Ûβ§ˆ¼=:MŸqÓ€:U×^ë׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî¿ÿÖùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ê]:Å>Å»`ó\\øŒµ^™•ôŒô¤¢§yåŽc/4®©ËÈÎSðy÷ܹd¼$Œõ§ERv <z6½IÓ´òåZ¯wÍILŠÐSj äë¡‚„&Çób+­ßü\\F¦¯âéǧGìÉnúî\0eêÀ¨ööÈÁá" ¡ ¦£Á\\V(ãw"ëf$oW$}?¯°l²ÝËy«Q)þ¯Ï£2ЬS2 ëAþ›Ï?ñ]N¢;/Ž–gÇ%Lƒ%Ì÷’š#ùçXÛ–-þ±·¶·‹vµs!Ô"Õùÿ\0«òè¼OÏt¤`ô>ƒ·bܸœ~Dí\
+5miÆ’” a ‚ñÀú {)±Y\0¹’me:vêTTµ@ãT¿ñž†ÝÁ»0co™ÿ\0„ÒÒÖÈ«42\
+óO«T¬uÀ<í2ÚOqq¢2túu¸çXáñ½\0ò콋¾©bÉÕOVÙ÷ª?pñèF!þ~5˜Â}.yö+‚ký¾xa‰ÿ\0ÅOÒ¥ÿ\0˜=J-ï<bÆ’¯õpéÇtuÇKmÜdÌ £ªÍÖƲµuTè#Z€Ô𲵿_çõëîÖW¼Áww©e1'SÒv0ÀÒ\\"£·Çüý'êöµÞ©“níÊ^XçèñÄX–¥©¥αÊ5ˆ\\¿×Q¿³8YÛ:Im<š|«ðãöñùôc†(­çGc\\ã'ìà?*ßKa¶ÞÏÚÖä1Ôi¸b“ü­cU’¡¿T!Xö æå»}v…¤·ôÏù?ÏÑŽÞˆ]eW‡—H\,ûdsÛò¦“À¬$cD N@úH†0¿ŸÅíï{bÅkdÑê«9?çéDî\
+tË·º«lej£ŸpËB­qjŠIÚéRe{(ÑGÕocý=ž.ã8¶²UáåÑlñšóõy~]œ×Au ã^ðz}©„¥ ¨©¡ÆÅR‘ÁVc`•dayüÃû éÃñï;¼æÆg–å<:Š\
+÷qÅ:X¶pÌ-ãU•ò§ÛÕtoš]“_™I0ìcãðõir\,òC…þå f_¡$û”6VÜ!†)onĹàIøÉüº#Üâµ[8TU8åþ¯ŸBnÇ®ÛUu‘ø)Ö‚˜S--UŠ>ᵧ¼®ÇÔ Rmíá ÁY£‘Ë+µAáŸÊ3‰©@Nõáòê~S®7~S'KG¶c’¾„<Ÿk ) \\l2Ÿ¢1:ú¯¨þ¾ÓÚи¹[¯Æi“ü±ùt®{qWð "f©ûzÿ\0CYj\
+Œ]Våš\\žF cy1Ï7œSÅöÉpJŸðÛNe·y/Þ2ªÜXõ.ªl^H¿V\\t5u%6 ÛXÌöZš¢‹LÐÑÀš£êËú¤š%NØßÛqÜ\,»]Í¡¸?Q/¨ü=Vh…"TTâ:¸Êîë¬ÔTåijç«æ‚H¾ÜU±€ð\0;õ½ÅkµI\,“ Œ£Ž4üÁÁüú\,ˆ°Â \
+=Îüù=U6+!I‚Š¢Š6§e†EŒÀÌZ;² \
+.AþžÕm{!’TÅçþ¯åÒ†!'ê÷.ü“xn Ó×eˆ¨¦iYÓ$L¦r~«¨Lyþ¾æÝ¿jH"OcüooLóxEÈ=É•ª¦©ž£—›ÿ\0p]Mó´NÊÚ‰:²êN8°ö9ÛAÑã>ÁÑ-ÓÖRPÓ¨ôŸ ûo ·.nqC7Žš¢¦­¤Š5ºHÈÌ…oϵ²mÓK˜LxŸ3öúþué Ü7£–4¢pÏõ|ú68žùUÙÕxÜ’Ë“ª¦–*lÍõÏTÄY ‘—Q°ê/ìºûmÅÂOc¥Z­IZþdÓüíÜÂb\,õeùô«éìþæìlc9µ÷ì¸|®â©Jv¨•Yå¨ýà”ðËpÁOÐûG¿ÂÜ·4e¬EÄO- <ÇåÃò§NÙ^¶ãq$lÚXü&‚Ÿæèòííz}Ÿ=ƒŽ]Á\,T¦®+\,Ë5q‹Ò®\
+¢§øý}Ç»ÖÛ·ÜK[70Ÿ´×ù“Ñ¥µÄŠÚ%rÉû?Áл6fâîlŠíþ¼Üi¶èŽL•M8ªV´`ÝÒ£ýÂIÿ\0gVW3òôWw{°c:T#üXãùÔ|ºfyDí[¯‡!ãçþô\\ò 7÷“=¸÷Ev~¢Š\
+¤ª&35LvÐ#BÁŠ/õÞÅû—p–¶0ZZCoñA§í<ié ì’Ü][ §¬^œ?ÁNÝqÐø\\\,“+¼(s9Š)i5àêÞžE<‡VŠn_Lþy¸öw¼ót³Ãkma:Ǹxº]šé×E¶›i–÷T‹[Lÿ\0‡XkÕRV`²ØêqUó×ÅÑU@)¢1}ÂÇNæ& g² 2Ûéoj`ÜQî.­$okóûF:ôÖÄÅtHÒËüÿ\0ŸBweõ&PWaóXüî;+[‰Md8iù;²xÊÈ‘È¥‚¯?Ÿd[6ð–Æ÷l¹²š(ãøq]_™©é]Í©{Hæõ€ó(6‡CIO”{ºš¿M_Q¿Çs0ŠšXõÈ„0P©öÍß4 “îû¤k„ãÈý­Süúf+)c2y–ø~_êùõž§âoTæ÷#RÕîMtj–¤¬j‘:¿éñùÁb£÷¿×öÝ¿8s5µ§ÔPKéþÅ:rmšÚI;À?™ÿ\0?HÊž¥øÿ\0°†r›1T¹¼Ä´ÇÑMjj™RF¬¬Ž‘0™YG?K{1|æ½Þ(>¼E¸áÊ:óìÛt22ÜM 7tªÃ/Ó¹úꇱö¾NY²9:”¯]¹.ŠJ)LŒ‘Ë㳉 äÜÿ\0Sî›—¹²l[´{Nçd¦ÉcÐÒéSÝû:jÛj‹p[««iŠ'à_OÛZþuë.áÇbš³.^XqòÐÔ¤PÑAÅ ìcÔRJ€Ì©©6POõöÜÞâmÒEþ-mâu¿Ý—fQ¡ôþ_çëû+ù»»¾ÛyŒ¨ÆÔW¸-G7ÜÃ@Á>êœI\,–^N’9ãéïv¼÷ý›ý‡êcâOâû)ûMϵÜÎY"ôÿ\0¡ï®²ëý²Q ÇA»àÉÖzw¢¯a5$iþpUÃ$þgüxü{{jÝw[Å’;‹™­Þ8ªZŠu°ƒü±Ó³ØÙ[Åõ !'Ó?çèÜ[<]Døì7Xd*×(äRÍâ­i¡òêÐ_¨ú¯çcM³x1Æ÷›ðŽqñ§üÝOmkoúË‘ö·ø+ÔZŽ£ímŠ(åÇuÞ~)² ‰-M+Ô*? Ë+þ7ö®hå½ÏÄŠç{„áÀSöSùôì%Š¬úbËü9èÄmŸ‹¿ 7u#=Jê\
+Z‚”Ë ÅDpÕ &(Ä(å øü{ _sß\,móÞÚÙ ÔÜHÏøI+¶°Ý¯UnÚˆ8-\0ÿ\0'Cÿ\0Z|MÝ›Kvf¨· ›SC·ìh‘`¬‹öªª$c¯_“ëÏÃ;Ÿ>ÙïR}(ʲh ýOá§Ï£Xö›Ÿõ«ESöúÿ\0«þ¿øµäÄ&ë¢ÜUUy³¡*é¦I 4× ‘ý¸¸\0öØwçíîÕౚÞ%Š\0ÿ\0z¥ŸG6»(šZÈ@?êû:r›^^ |fD>é­©Š*¨Âªˆ>¶@3«üG°ô;„[ÕÜí(0éá“þZôv¶‚(<F=¿\,ƒ¢ãÞ»—¶ë„Ù|& M •eŠž(\0«• ý*ΨuX[“ìUÊÕË{…µ»œ–_2Oø+N™¿º˜ÚÖÆËQ¥3é鞉õ7qÖåª~ÇuSÆrpF©â˜-xeF$‰!Ôl¶·ÓŽ¤éùZÚ1á¶M¦Ý›QQœúŠä3Jzñè9k¾Ï$ÞÄ:OÏU—ó+øW‡î½¥”ï­ÀM7nmú*y²øì$2ÉØ{v‘¢‰ã¨¡Vªw&ÝÅ®ª9ág¬«¦‡ìÖ*òOK~å¹·Û'Úf’5¡s•˜l’t° ˆ¥°“YTFq>¸€˜HkäqH$CTùu¬mE)…Ýt² :×I%¯Oún>žñG|Ù§Ú.® ¸„¦‡¡­xƒ¤^"¹¡r¬ˆNzƒì?Ó½{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷_ÿ×ùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¬ˆºÚÖãÚ»Kfº˜F£h:v§Œúxãý¹w–¶²†°þ™â3Òš¸è`ë¼™<µ$ô‘¬¯K:O#½ÄQh:‘_’.Ä}~¾æˆÒßoŠ0®hü:Y·[[Mo4ŽÀÎ8ðü«N¬{®ºï)ºª¦«žf‹ã LPxÔ Pöúö>ÃW3E·ÅœÍª¿Ÿø?—G úÒiCúŸìô§ ÇU“ÈQmÊ&Zu›ìe«¬$»Á£Gì{.¯éí^Û%‘·†æâj–â)OðtSxÒG<Ž†ŒŸËòóüëÐ͵qÛ£`ác`A -d¨îd&­¨1k2rÂGüº\\ÝÙnsC¹h§Ð~]¥­ÜQ1#ìÇBf' “—%í¬Ü¿Ã«ô\
+I`Õ£¹õ5¿ÇÝþ¸–kk{%‘O•8þÏóôÐGd–æO Ûáÿ\0c¡—¶(±í··óÙ ßñå…^J:wicW<OÑmì—i·¼]ò{6ˆJæ%ìŠÚìÝ\\ C_YKC5gŽ:"\
+Äow–E`\,YG#éþÆfx´E! :ð1û:É$²µËB…Oíÿ\0JŽËéœÞjª\
+]±¸® $B…b™¢&@¾FTöÖËÌéd'’þÍQGÅóÿ\07åÒ‹«šÎIÈvã\\×öô!|xêþÅ‹uá¶ÌÐ×Ô4“†©­™‰’žh[Pw\,ºZ\0ßê¯íÍó{Ûïíf½µšj\0\0~.?m~}!‡oº³ÞbZ«OË£…¿èó½A¹1 ´/¸ñŠJøjOO7‡ÊϧH‘À·°?.¾ß»k´i”\\Ó¿öÿ\0#Ž„×Ö× oõQe½\0êOmï­½†€e(²t´Xº´ŠVŽšÒËeDwñ(ôi§Vüð}§Úv[‰.e°pDƒà'ñ}¾CªKwX¥Ê¯pø‡ú¿Éж{R:|>C.ò>pQ3<kdX%ñ4ò°ýß1üãØÂçdÑ-”< |H©¯í­?.Š¡º3Ü\\¬M³¬…Ý»»³q‰¸ªèðØœm7Ûã)bƒT¥Ú+¬?ãOÓñíû]‚ÖÊúòîÝD· Jš‘ZpÅtŠ}ƒª®àíklŠtíõ®¯:ÿ\0‡¢ŒÞ™=»”¬G­§¦†® GO'U\0Ò›„àýE±×ÑE{kmú¾ÊðÐuÝẹ¡ý?õyñèKÃî\
+VZ¦¢²­þÒ±c’_¬\
+êÔXi&Üÿ\0­ìª[)ä´H¦Z³Ò¼oK’Q® 5gø®‡¸þKG…É`ðtO¨]dé‘ L#\,'ªs¨ˆã6?_õý“¯*¡¸Í8ýAäGW—sŠPP>/õ›¤ïsv®6“·w6Ëì³›!“’ŒSýÚGK%/üu–õ[ýsï[Ét›Ëm×Û~¼ÅR\0óõÕñ>”]^A.߸Éõ\\2Ðâ‚Ÿñ}c‹½jö†>š»pfq¢ "B#%vRz²\,|E Sêþž×Ç°¥õÜYÛŸ>5ÇåÀþ`ô‚+»•‰åše*Üxò÷Qw·^â¶Ô»ßqSVesh³š¨*扤§‰ÿ\0͘õrÚmì+¿ìw1\\Gk.´$(øÿ\0f>ÌŒ\,n쯈ÿ\0¤8tYþ@|Ì ÞJ:\\N0ÑSÓ´­Eà˜ƒ<“ 6”ê¸ü5íìß–9koyå$7ëÓ—»Å¨ƒB-Wóè¤Qî\,^â¯2·ÝPdb•ž¢ò³1ú­Øén?ÂÞäe%Œ+¤êµ^ Çùñþ}å»Y¦ñäùðÿ\0:‹Ø?'”šš}¹2Hí¦zè"rQ4Ef dì\0÷}£tŽÒYÖî*Â8þ~=;:#¬ I¿o@ý^o'ˆ§—5<3O•CP#oU™tÆO 1ö~°ÚÞ»ÜÅ!T?ú¼ÿ\0>Š•¤¶™¢‘O awš™k!¦yÉ>Ú ®‹6­"6!ÕþÖIeu¥ä‰ˆFãëûMOìéˆçISÂ|'CMocd±¸ð›)×Qá„ä'„„Võj‰ÄSDòÃ}=‡¡Ú¢7*·Î^\0Ú€>¾µãüú1{¤Šæ’/þ¯òôozŸå¨Úx(ñ›¦\,=I¦¡–®Yx^\
+¹ Bôõ (/÷þoqì!Ì¥ ùžâÊ „kÀþ¢z[·îŠ€xòƒ'åþjua|¯ënÊÞiGµ©r[Cu1hijq’„¢!äÒÉ"yB•üZÃñíËÎ@ß6ªY¡¸3Ú:Ñ•€8ûH'ó½+;å”·2.5§õyþ}œ&ðÞN|L›þ’ é²*ÔØü™¦2Óåi&ýSK¤iÿ\0Sz¿ÇØ£Ú·v½µ´Aùø£"š>Âsüú6I$¥Î²l׃ùþÎÙ{Jsµ·&ÝŒVf±oü"¢‚ÕòF±HÁX»}N‚.y>òíSÝø\\XÎÂîÞMrd“§åZô²ÛÀA#Ð<âøõ_Ûó§÷ÖñÝË‘§Ü´¸\\5Ô2—‹À(NŸ\
+A¹V¾£ý}6MþÒÂÉ–kR×hM[‡§‹÷ s<€FDy³Ç¦ 5mj¬†®çÙ 5T¼MÚUpºeG‰å@ÞW±\0·âÞÍä½KÔ·º¥´hø‰@oÛN?ŸHÀ–+›u˜êCÄÿ\0Åc¬}›Ýý¸(—°0»–ªšŸ%&YfŠc--J‹\0IPÐþ\,Âÿ\0›ûsoÙ¶¨n.nwKÛuY~\
+P5¡ÿ\0VšþKt†;4×pœqþÇI^ºëØËã4ä(w:¯3OJô‹;É!•¤ihîx[f;¿0ì1Ý8³’ÝÂq騻qâÌIe?ÁЙÄ=߸ä£xë§zøç…&×M)k¬«å–t<ó ­øöTœù“«$ ôã€çãüúTörÈ;ó/ÏýTêÝ:¯c全éð¸ªê¦¡£‚Š¢4Ui¦‰ROÙXb¨>–#ÜQ¿îpn7fòæ!™µq'IõãüŽ:6ÚÕ¡P’Ñ[ìééö<³Ó­vb®Lua¯x¥ŠK4ª-GNHBÏûeItªXÈ’*ŽAõÿ\0‹èÅ£Öu2þÎ>ÆÚõ­TøêZŒ†Z:ôuŒM 8§˜F:‘Í­ÇÓÙ¦Ñsº F<Eá@òóRád€jR|À?áé]Ö_vluÇ-Yµ)ãÉŸ TG]ÍÈñêj›JŽOô·µ7ÛÍáý+{§xôÑiAé^'ó'¢èí#™5H€·ú¼º2ÝoEWYG»{-<0Gª\
+jeÒ‘éõë ÛÒ?>È-.JÌó«¿ŠÜN¦5ü«OåÑ„±D`Ò¶ãOÙÐó]uÎN’—Ê”ÏöcKD×tBGêI /ô·Ëgy’wbF£Ç\0“§RÙ|/\
+‚¿`é»slú\,/ÚK€œÑÒÆðÏ…!h#Tú…¬€0¿êúû½­ÔßTÞ9­xÔótá… UE§ØzELJ¥Îç§|„ÔÞZªsl‰N€Kö5¿´~ãÚÔ·†ˆCk×çñÛÓ.ƨÞah1åÐm¼S=Óy ³[o9Qü\0ÓI+íù'–j9å‰5¤Ð(.ð±_ÅÂÿ\0‡³­§qkõ¸Û·dyÁ!\0ù€+ù×«Í Õ Fô'¤®;äL]½Š¦J<]>Whže—%Dmo-D.¸Ù¿Âþ̯ùPì÷x{­åà¦?ÛÇùô”îÌ œ‘Óóÿ\0Qé£~g3UÛz’M:IS<RÕSÆ)ƒJ¼(©ÇøÚþÙ¶‚Ü_hÂ\
+¿Ÿ¯¯W’r"A¨)ðuSß"ðU›;=C•¢ »EElиdÒÎM®—ëk{È>@½‡t‚]ºAVNù«çÔÌ–å"‚ñ$Wü?—N}Uš‡7Úd¤cKRÚVMZÒ–iV¦-ÌJ[ž\,/ížh±6âB4±‘S@uS…+åò€Ò u½’ìÏ„ÍVꉿšWÁÁÖŒ§È.¾Ž²}§ºw&­ÿ\0ƒ0VÕ.ÛÜùÉ'­;’ŽµRxéöÞᯓL‰PñŠ<…Tp@ÍDTôðŸ>rósE…½å½³ÖÖÜ«*ø°ÄÅBi8i ZµT;I\0v˜ëåoe!¶r 1õIκY…­oÇüÞ1]Û5µÄк+åÑð €G\\=¤ë}{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝÿÐùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{§hnT˯øÿ\0Šûò®ÐÓÍ©S?ŸIæzCÒ’žŒk¦ÌÖª•_ên~¿ì}Ï›>ÒÖ¨nà¼:DPÌš¡mGÓ‡Cÿ\0OEä©ŠöŽjˆÍV†æH_Ð#~”©üñìöõtŨªFp´áþSù×¥VЬQÆÊÄã“Ÿõ|º¸n«Ímº´y¡xì¡Š+g_Ò\
+Á_`-æ–JDX³£‹{¨áyѸ/—Aæòìz©UU-vŽEÊ¥£©Þ_×7§ü³ÍƒcŸsKÊRœ*ù¿ÉÑ&ë¸Ã–@Kñùÿ\0«åÒslö[2Õ5Y:¥ji抩(.^14šh xà "çê>Ä—;;ÑÛˆ‡ˆ¼ý_åè¡î®.›N[çÇòáз”ß\
+è•«i¦š\,!RD1ƪ`¨ÈÒßëþ}•A´Ã¾7¦_·ümg”­²¨Çíÿ\0ùz¶&n¿{Wc6úáᩧ¢„ǵRÈÅÖ¨±ª¶ŸêEÇõöŸp¶Ž×êož}üz´ÚØÚ4„'­ùº34ý3¸%þ´T4ËQ-t•’NVÅáӧđŽX[ý°šoª$*à‘áWϯGml®—¦:!o‡çÿ\0g£¥Ó]UK•Œí’¶:oòjgŒ²Ó§‹úu[óoö>Èo÷`öW‰ïn>á¯òëÂ7iPI˜‡@?Áž‡î«ÃmŒ&âͶN1•ñÖÉö’Oè5Œ\\p ?Ðp=¢C\,ÛE¼¶“vøǯù¿*tõ¸¿ÒÜ=iЉܛ3eç6&[)¹)`’5ÅËâHÝÉá Ž¥œ_Ž=‘:\\XÞZ½«²Ï«UG¯ÙÃò¥:2´‘e™PD¿ú¼º¦]å¶ÆgK¶6Ö¾*w™ž\\¥D¾yž\
+Ò‹%c?¥À>æ» ö·“÷ÕÀu1jqEõOûZ‚S«*Ì‘%å qùô¢êŸ›Ÿû©•ÊËQÁIPËUð–2\,r”ñhøôÛÝù‡š­„–vóSÿ\0?Lmûs ‹•ˆé“öÿ\0†½ê߇ ÛT{›íå¨h©‘éqrÓ•‚™c#J°maýnOæþÂ×\\ãwµÝ˜ê-ÄãüÝ+³°Žò$(€©§ìU§`ô^n³tîŠL‰¨ÄIˆ’¢Z UJд‚M1Ç­ÿ\0 ?_r÷.sUºm{eÕ«‰âCJŸåË¢MÓlx·&†Ÿâç‰ÿ\0g¢ÿ\0–Ÿ%°óòâr¹„ÈÅ>(R§Šê;Ǫ7ó†%JÀ?ëûÀ‘ï6SÉoc"N üýiÃùtš¶mfÒ=cú‡:­Ï–¡ ŠŠzÉܬµ¨N¹žFñ…‚vRjé´‹i$ì\\»eµÔ—Ædüc×òòüºËv뮕ðÛú¿ÍÐ_º7wÃH‹SW\
+S"É\
+ù_Àô©úþ=XZى˅FP´à=+Çù×¢«‰®ã·ðƒ‘jŸ·×ýŽ¢ÍØ;ž§ø-Þz”ÄÅ«áRò&»™Bž4ÛŸj×gÛ’I¤tHÃðòêw-Ä)oµÅ“žŽ&ÏÞù*Í·>ZYr?g[@)R%™¦F”}ãÔBûŒ÷º8îÙu«j @{½s_Ùá†ÝwãÃØÚzHÃXÌõç#Y?ª%®ÇÊ™â‘x1:·¬íb¶†µxÔñt¾GÙL~C¤Ë$«Á¿Köÿ\0³Ð¥_¿6Ÿð½=ÔÉ:´m’­§ÁûÉ?Ýrú\
+*§ô\0dé¶ßG¸ÝE¬qð§wÙçüúR’@Û_ˆ&&Jt¼£ìÚLn8d!‚f+Ï>BHÓûÉr£Ž8Êî6‡¸žXËчJ­gŽ”Ú}½­á—˶^³5 ¼ÿ\0 ©Œ\,ŠíoôVVðÇ[MµºÛCk*€éÇ¢‹Û¡5×LtŒŸ+#K÷e\,¡’ 4R1ô™?+þ·ÓÙüpéC~§û<z+–b)ª3І©®x¡A\\\
+Tjö¹#èÀi´¬?¯ìšìÄÒÌ Bƒ‡Jã²ki*ß—Iý藍v‘æ™Úd0ÆÈäy¶µXÞ@æÃê×ööÓ Î^™¯’ÌcFÔA¯ÚzBìÇÍÌÒï(ZYZŽ´ë£òIòò­êteó(ý_ê?×ö&¿·7¾Þ |'ÈŸ¢£p©xÍdÇ$ÿ\0„ž¯÷à÷Ì]±ÜÔcdö2TbV8±ÒäæÕ©ùÐ/!Qxÿ\0Ø“ù÷Ž^äû{.Ó*ïVr>2‚„ý cùu l\\ÇÚ})SÐðþ}~ÌÛ{crRã³>™0“šÊüt¡V‹Ç"9T•Ó£&ëþá{ ‹ý²ñ‹#HºZªaèA¶•ùô:d†H–ÌC€¯ù³üúLíœVËÝJÑ[¾1òIQkÒÊÓEèHý^\
+Ä\
+jŸìØϳÑ7[þª=¿1$n⟷Z~Tùtži'’0\0D—IÏ—ú¿>vWVQg¶ýãÈmÚ\,u\,T•ˆµ¦§Ž®z9õQUE? C J~¤þAöÎá¹5ÜðÚLÏs"ÆÂ"M(ÜVµ­:Ž­´r‰-Êê q¤á=qåóèß»‹ ÑmážÜyÜ.—(ÍYŽÅ%LY:‰fNpc2«ŸÂúO³½¶+ív½¾Ò×Æ’(ìG—¦?âúi­ãYÞúG lÇ?êòêç†# ¶zÇ+|~«{ä#ÇÃÄ’àMD© qªi5A æ×ÿ\0cìG7·W7{þû´Åg§Â‡Äñ3Fþˆòýƒ¢ÄÝ M­ïË ¥¢¦+O·óèê`þJ`°¹ì>SÚݵ4t³ãÒ­£ª§­¡ªñÊ*ÄÉSÜÜéüì\0¼ª·¶âM²vš.™T’<#üâGÌšüú8Qµ¸jxrpèñì ›·¿‡ÒöD Ùê`‚¦¦j·–œUN¥å ±K SêçéÇãØKs’ói¸›nAå ¨€‘QûzQn¿¼WÇfONàèÊmí‡ìlñ*jªdËÁ! "E¬*Ó1·¬0ÿ\0oì?¸EqgáË  ­ ==+åùS¥±>©4·‚íóñC-“ðTÕ½*– G¦9‰3ë>P¡noîö{õÕ¬ž µ¢ôñ‰Jxgàê]Ko\,fRÒE/ÝÔW©™¼Z‡\,[€?×ö¢}â9gF+ؼ)Qþ˜·„*éaŽ¹æzO¶šªº8ê!IkYdŠb ªit®£©“ý·»&ïl²ÕbÓçþ\\õhÙØP/o]N»+¬öÂÍ»3)SPÑ\,&:D× ˜-œ®DÝùçÚ©Òãqá·ˆFOÂÜÃZõ¨-¦?ãIO–:\,ÕÝå·7z]­’›©Î^žwWàx•Ø?×ö ‡a¹kO¬nçõ§ù±üºn{”‚Xm î¯zp¸êJ¸)…cÞ¹¥(dr÷t~««V¦ëû.šI!–Œ¸û:¤j=Lõ=2öÕÁmìŽi°±åE<K%MHK\0©ã\
+±³FðçÚ;I¡ÛÛÜJÉóçãüúT‘‰4ãM8uL8Íÿ\0µ¨{OpC‰‡'€ƒq ž®ªjy!þ¥–þwb•¿§Ðÿ\0OsìEáåT‰î–i`j¢ãõìáè-¸ÝÂ7xÉ >\,¨tahû¦¿KŽ†jš ¦:£Ë 麖9\,²Xêa쉶8nfœµ¬©0<=)çLËlUÁ¯>‹Ì\,“e1˜œ®6(Ì«îÅ \
+Ç*úJØþE½ý¶‰l÷;ËkƒƒðŸOõ|ú%æ)VãhT;ׇD¯eö¸L…•(¦‚8*’à¯í¨_4`sªÞåÝÛa[¸@Axö8Ìumû¿îùõªö«×£p•[o¶6^àÙ{¾ÊáwN!¶s´RTTR®Gš¤š‚½#©¤šš®ä¤—É‘Ê—º°n}ľÐû}ͼÐD¢H¤WZ¨nä`ÊX8`ÃWÁƒp`EGRÙ¸Et)âW­KþiüVÎüYî ¦Ðhrù–Õ–ëÛ‚SpऎšZŠyjhèäËmÊ™Íj駕™R§ÁÆqùgÃs½ÛÛx*ÌË$ ’c‘\\Š\0ıÔkŠ!îðÚGxºÙ\\k]\,{ú&ÞáÆR¸=õïuëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×½û¯uÿÑùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî³E‘¾–_ö?ï~Í6í½¯f¡ZGÕY©Ç§úh´‹¯×üþŸáô÷³²%¤\,RÖ•èªiOŸKmAOqâ(f¶ššÅFC.\, ýcXú?ÃÜ›eú9¥ÑÞ±TŸ¯I¢\,g ¥¿ÕåãQýΨÂËŽŒcéèV9 ¡|JÃTM§Rú‹]?_u²Óu#Uü?/ˇF7Z‘Ö$j"ÅP~~½I§Þ¹¨ª*)±²U²ãBfUŽSé³±eQô·ÓغǗ­uÊ·¯@{®a¼yî"´RÇÖƒüÔéÃwf(!ÈI<«US 4ºÖêU‘Y‰àúY~¿R/õö¾sµXZ'„ÃÄ?Íþn‘ÅûÂm?U4ðóèíuwEd¤¦¤ª«ÈÆåRôúÉ ¨z˜‚ÚnŸÓÜk¼ó:1¬'Wàÿ\0WŸç^…–tgÆÿ\08áÑŒŠ‹´kWQ 6Ff‹LèÊc‹Õê°:Oê<°Ú4—ñê5í#£9bKYP8|º¶S­â¯ÛçT¹8ZÕŠ&Iëi ’?Çñí-Õ†à“Ý•o3ð‚zÒÍ˧Â'Ø:´>µÚôùª2õðËLÔÀÍÀVdkÝVÚ@ýo`KçúQãê¨ÓJc‡§¯ú¸ôkYè¥HŸB™ì»‡ž®¢*„RI\,”Caë±<•?דí2ÚI8o EŽzrV0¶—Z¯ú¿>’Ø)(·¦å«­§®jš:ÒÌ&_ñ\0ËýMÏ·£¶–ÎÚFt ·ÃåþÁé«‹4ž\0ÿ\0WçПÚi•ÛÆš¢¢¡à„I3A¯õ¤i}†#€-ìºW’ –vZ•áÓ±)(èFn?>‹]RìL¿fSÑäiध™ç¢îјåhOŠæêCj>Å°Û\\ϵ^¸˜øÍhÿ\0c¢ëæ[ia‚•Ñ6[£×K³6ÎÅÅŽš 5]<µP4Q¨š¤‹*ø¿Ißì}„–y.Àõk˜ø““ÒæHÖhï"ZDüxçùãùt6à1XŒþÜŠš‚0´óS±U@WÒOäjµ½¦Ü¢—‰c^«jè‚Š(:ªŸ™¿÷VIMFËÅùÅ;IS’*I fBbi"ÒÎX¨æ÷ÿ\0bJæ }®ý¿z)HÂ*h?ÁÓû…˜½²Ð†—¾}Pbml„[‚²Ÿqaiño\0–:Z‹SÊÓÄ4útª°ãÔO¼¬Øw(~‰Ûn¹2³qî?çê+Ýì$‰Ê¼gÁ>Yÿ\0‹æJ¡a§ÃÑUà Õ|œö§ñŸÞ§Sª!RâÏ")ü1>ä+4s5ÔoÙ$ÿ\0šž¿/°cåÐZt\
+'Fà8u+AI¹ª©r9& Ãc+Ò‚JÞJqkS¸P¾©?õÉ·¥Õ¼ËsáUkä~ÎóêÓî‘!¦5ø¾åë\\aqüîJ†¡ijhkZ¢šŠI95A!Õ¬¹ÿ\0Qýx÷]òæâ÷k²’0Vuø€é%šEtòWô[ˆÿ\0Wù:XíìnWU»h`"Åc!y¢¥{†m1ê\0^辯õ6öO{ykqkc3’n^]$ç#ìý‚½ÅŽãéaj/¯Q29:&Ût¹º*¸k¼«-l0¸Ž¢‰Í´É'!ÏûjÎá/^Öd(®ÕŒŒê>§Ó­Å*´2 ìâ¸ÿ\0„‰¬ª¦ÁnLvKS“ŽF‚®¨)%óo‚Î?õý–ó„p]»À™¢º‹á ‘O´V‡ý°=og“ürrPxC€§Y[“ÚÔùq»^JjäócÖÑO ‚ÚÑ5JKÿ\0©>Ò-Õ®êÖŸ»ªnbøÆÁÒ¡kô³xÌÕ‹¤$æ ÇRÒEý¤“ÒÈÒÆÅßY¼LÍú˜*}/fêuÌóÈiª*Ÿ\,úãäèºfð tf¨$Åd2µ LéÆÕ %u[Ñ­žè-þö!±¸[‹xĬ‡M^JÊÚ‚êAéÒ¿jo-–q54ÕÕo-teV”$N\
+k“Hii{gsÛw\,r¡b~< o™Ûîb’I–D¬ `dƒ="·•ULK\\ó$–• …•bö?ªàqífÑ*Á7„Ù=&¹:Éa ðÿ\0>µ9Z:J¸©?‡Ì#ŠE–¹$.¢b¬K®ÚÑÏúßí¬"·¶’æ ÛÅî_ìÎ1þνÍ3E4.\0ñáЉ²³Ðb²XÊœõTEYS%L”óË Ž$kª´« )AÆ«û*Übr—IpD1W qõáÒØdXÇl¾¿ì±Ñ›ÁüÓî V1…¦Ý³Ã‡c)ŽË憒ˆò1#öE® ÿ\0?_`ËîCØï>‰¦^eøˆ¨¯ä¤ðt%Ûù’í.&‰JŽü5ê/P|ŸËã7-û›%Z6¥6DT¦6ý¶5UI̪¥^Åùµì>ƒk÷^JµžÐ˜áUá„­O¼+LzÒ¾§¦bß'šIeY‘|F«däÿ\0“òëeޟﮱ﯇o.ëÆã0Pš9þÒ*Øi«gÇDºgúƒÀÍíqx©Í|Ÿ»ìû•ÕÕ£—R ^#‡ON.¤mp‚h-Ü0f¿êþ|z©æG¶6VçÜXZŽ´ÜïWEŽû|_ð¸g2ÀjŽ=ò9äó{Ÿr³Óo;}Þâ7{áHÚ‘Ê… ü€\0ÙÒnXÛdKxn?Q~*õSª“ß›_´º·1‰­ÏPe1”˜ì…4ø¿»ò5°R¥&hp57_éï$ys}Ø7°ée4Mzÿ\0jûOùQ¥ü{„Ú±Côú«_*õiß»÷ òzPMÞ{‡ Û˜÷¦¤†)Å4™\
+d†añÕ¦’þ¿¢l}Å|ïÉ-˶Œ¼µºîÍjtŸR EŸB «uŸr“m°¹aQyãü<zØSãÎþÙÛF£%±p[š—/ƒSüg*¦¢icº#SË((Cï7›mÇw²KÆÛTë%D×ëÚì8ùu ÛøpÎ’DÔgŠ£>~´8èÑUü„Ø=UƒÈdh³bt­u¦”â¿}¡¿JDêtÙ=‡!Ú÷+Óg¶´gSð$SüÄ‘UØH*œz2ÝÛ8>ÍxêhrìµôÊ•”5CL’ÊÍ ‹Áv<ÿ\0´Û¶Ë=‚H]KFß ?ùÿ\0>“Ç>¿<xôiä" (’ÆÇUÙH[ÿ\0_éì\,¥‘ôH´^—¨ùôÍ5tUpÃyÐGƒ¬P >Û¸X(ŸÚ«Ë§´|\0ˆ—aôŽâŠ:‰iéä“g’¢Zw-S.’u§¯«ýHÍm7 #[€K¯ ÒŸ³çÕdf‘µ“Ýû?ÇUÙ›1€ìæÎ ÅUTó¬b‹/M\,P´p}aòU³ªúÿ\0¹‡•·˜.v£lʳãCŸÙÃùtÝ –B†3D^ÿ\0?ŽæÀìš½µ·1¹ÞCU €´ t¥I?Yi Á·õ7öAhröÓöÈß ztí±¡û:Iäû·œÝ™Ë]S <ñ+Òà 3ÏA$ É’¦T7GâÖ÷{n]žM­f¶ÐÚe &˜ŸJ®®š9 Ujé ¾~/íþÒÚy ¾ÁŠ–¢\\»ŸE ‹Nƒy<O¨$?×ý‡¶­÷ýÏ•o!ŽõØÇé"µ ¾‚µ§Ú(zO$P\\Is Œkû:¯Ú͹:æ¦|skÕ;cj%xÑ¥{C ¥jo+·oWô?ë{–-¹‡oß¡{Û{í©ø½:M·Ü[Ì $´~½;‹±0ÛÊ|ž#(d>Yqµ¦\
+¶_¤°ò·ø{XlWVKõ°o')ùž½ÜÞÂÏô…(¾½üþ§’¨êZ›É!F‰ZHâ~!Suì}Ë;]蹆0Ó)ã_õS -倆æq¬#€ãüøÿ\0>‡¥­ž¢šº™Ym ZÊH[†žW]LjOô_§ûÇ°§6[ÄÉÒ…dø¿£öô§—eu“KUGL+~9áþ]ôŽKløðt}…‚I2Ýu¹²tó4˜|ºÍM%V*ZŠG‹!'sAF(êЭLqI¢¨Á\,´Ñ*Ä<ŶZIc}iq²Ù8U•ux¥WôMOp‘$¬¨ÊD„´™"IT—·_x¢9»×â?êÇZ‰æ𙿕Éa38êÌV_]UÊc24óÐä1¹\
+ d¥®¡­£ªXji+)jcd’)QdŽE*ÀAÄfØnys¸°¹xÙP… ‡P`SR8¡ÈqÜ`ñ\
+£´ á•e@ËÓ°ÏOuï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝ{ߺ÷^÷î½×ÿÒùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷»\,tŽ={§jh ÿ\0¾úǹO•¶Y%Ž®*ÕéÒ9œ*1´É=E=;ÉâIeH䮀_I?ãÁ÷û’Ck@ƒý_oDó=OË¡—²ªp¹\\ûERô4u1ÏA]ÿ\0#špºÒ F¨fFüçÙÕ­Í´’ÅoéÜôÊyüYà>ÌtäІx¨‡ÅÄiû=z7¹ež®­1ÙY¡’\
+üm=d"™•µ\,ì\,/ã'úû(Ûcêb·*ÑKN$ãó'§'¸­•±–¡í¨p*_××òèHÙ=CŠßôrO¶¨¦¼Æ9PE3O3ª\,ú®ÇíÙ”Üþ=¹¹ï×{7û–ÇÃùþn’[[ZÞ¬È!éñqþÏö)Ó¦ ŒÁgÓ˜ª«£•©–4`ï´’4VÄÞRñ«spmþ¿½Ëzû•›ÜÙ'cG¨×Ìúç¦ØírøW-Ÿž¸ôÍz3[\
+=ÇQE K$•U™Š‰ESJA/ùµÕn_ØbðZK4\,dPÑŨý¿êüº3$Þ4K’#Ó^?·çÐç”èÜãÇ\
+}üµ¹¬¢Þ1M ±ˆFwRBñþ·²wÄŠé-Ò"_ˆ×ýTèÁvöd2JÄ¿¯Gwã—ÅèppQ×ga’£%IšYÑ\\«bÚÏ#ýëÙFù¿™È6Òô궶mjqÝÕ‘bq´X:¢–%ðÆ…4T¾«[Ÿ_úþÁ3Èe}dßêüº9ð¿¥üº÷6‡sI—©ªÀθújyÒ\
+T¥ÇÒ¨‚CjëÛÝâCkh’Ç!IÀÖºoùzÔ¤½ÌNŸAJn³ÙYÜÅ<¯æYd¥ÇÔN<Þ¦ÐbXêõ[Ûتáî.[nµ?¨Ç\0࢕ô’¥SúAFäù+ÚƒIŽÇmi)ª2’Ò¼óI(v5*^5»ºëR\,G±\\½µKt–Ó]…VŒI?ú¼¸tš ÇEwsðü¿.']u-UxÙù©`û™ç™«¥ŠU´ïä”M'¨ß_>ÈåÜÃv¹‚&¤P­+Ä0ôÍ—VŠ9/¶çÏê³TSùpüº8±³êw-VÞJZ÷¦‡Häf"f?ç /r/þ¿ÁÖw-Ûp»£“‡F¡\0Ûí­éõ~}/zïr%R“ /ì­2\
+M ªf¦BâÄþ>¾ÕÊEô3Ü&)Àt“é«Šô2î}äÃUS˜Ö(çŽÆ误êü‘ê>×Èê2¼<ÿ\0ÃÇóélrÕcž¨ãåŸÁjüõu^àÛqFjN¶’ªb$uåT– ±µýȼ›ÏRlŸ¡8&?OõŸ¤{žßã @“ª\
+îÎ¥Éõ~R¥³µÔ•y%¢¥YÌPÄR†W\\Ð[ó{þoï+9G™cÞPÅohéWü§=F;ÞÆvùK¹€}ùz+Ô¹érÅÅLoJ•r:ÆÏšúµÂYu€Xý>žäé¬c†Qx²¦¿/³‡çÐ*)dá5‰¸ŠŸðñýLžžºš¢M<ILSÊåS2/ú I-ðú{L²C(žI—1þLåÒ¸Þ4]5W¡†Zêì«zñ®Z·¦«Ž'Y h½(úuÿ\0_ëì;y[ÜEhm†”M`ÿ\0K×ýƒ—K¢u¬Å8¯‚LÖÙÍPbê'Æ—3VÊ3J|šRÁï?Ÿö>Ïì/íæžÙ'¡\
+¹õùz~]M ‚Ie‚¡ßâó¯äp?.‡¾Ž¯Ê¶£õTi\,…b É ÿ\0v8àÇxÿ\0\0aþoŠ™'XÆ8«Ï¥[<òjeq¥ÛŽ:‡Ù;³/¹£¦ÛµõU5’*»4DêEC~#oñçóí–ÚÞÚA¼¢®¹~0<ÿ\0.ò¥×—Mø‰õë6jZlu]lñ½KŽ®šS§]B!âÕ~ÿ\0Æýúò6žæ{hЈTP—¥z.@<4g#âÿ\0W—HnÜÜÍ#®9IR"p›˜Ý•u‡}<~Ÿõ‡³[±ÐI¸$ÿ\0Ëý_:ôæç:ÛÚ ­”}œÃ^‚…_GEªyi!«õË1K3H±=d–^MÈü{îѽŵ¼K&“ÐvÆäÂì­Ct0ï?°ª€Qaé×Á\, \,WÕ I:…·õ6öÚÄð\\N×Ñ–Zj Àô§„7ríà–\,£q^?ìÿ\0>‹æJ‡rä*æ–ZI¤x PÉ\,1°ŠBƒJ5ÀçØâÞ}ºÝmÒžßÛÐvQ+º¬«W1JtædËà™28¹iã"Ï×H4…ÔÌ5F=?_zW°¿fŽÞãS¡¯§§Mj–èPÓ×ýXêMMmN_#KƒK 'h"é!ýMqýOëûô0ˆ!ñ™G‰ö¨tÛ\\<ÑÇ5Rü~}*SiãàƬյ†$iä…ä€0hÁBtýÃúƒì¼n34½±\
+th‘”P¥VŸéGùºXà7}fÝ ©¥Úyl¾4Ï 4U¯’)W V@d3úÈ·?O§ÒÞZ ɼ†9+êFÛ¢ÛD.s”ôÀéGýûÝi·$j©¦¬–Zø U2Ì|ìñºÉ'îðŠåÔŽ}¡ýÙ·ÚÒXHFj\
+8WÖœæéÖ¾š[k–\,f>sŒúâ1÷Ÿ{f{Z<²žJjM«EO@5U™–jŠxtÉ)¨egÓkyW•-v;ëýà2†ºà¯oåJ.‹÷ù®6ë]®<iø±Çó¦?héCñ»nTQfçÞ9˜"¤¦Æ%)ÅÃ[/r7ž6¤¤ѵˆ¹ÿ\07þÜæÍÈ­¢Ùm¥¦šo:žÎ«Ëöªf2M!ð>dòõmÛ'¥¾Qö>K)ØQnì~*º« c(&†:·¢h¥û$1éT%\0³)cõ$Ÿxÿ\0ºsG\,ríœ{`Úe{ež¬MHñ=rOìùu!Äw+ë˜^ÔxpD(¼¡éšô{vEö†ÚÚ8Ø3û’mÓ>y©_!ˆž)%ªÄ×ÏMªYS]á‹óÀþ–öß9—oÜ7[]½R(|O\
+PH'O\
+€i˜ûz6´KÁ ³Í!"N#¿æü©Ñ¼êlOhunR‰«ópÆkÐD!Fñ“ÛÆœ"é ¤~»ßØnëz¶Ü¢¼†ZêãÄÿ\0Å~TèÂ!rA¥ ÿ\0Ÿ«\0è—TŸÞºÎµßµK“Œ\
+š@ìiÇ뇅ÿ\0¨7öQwËñîûQܬ¡\
+ñ6‡ã–üÎ:Y$†ÖD u+ðÿ\0PèÝïé|D™L C¤>=2YDa†±wüû¥»ZÝ@. ›GûèÎ"$n£mîÇÚ›‚† uVzŠ¶¢D» h‘àíÇ$lÁ‡>ÌovyÛõ£„Ìÿ\0Ÿ¦•ŠüG «»:/loÜ •  D~71ʨ†rïo¨º_Ÿë~oìªÞâ÷l¸ñ -|ìþ]X¬r.’*½^°øïA´1§ ‘­Ÿ!E\\Óꆤù EŸˆž Äé1býÓx¹Þ +Àð§ì þ]AlÑ]x¨(:\
+7·Æl®ËÝ•;›‹§ÍC-\,ñ¾2P¯4ð9¸¡µs£úXzÛ9§MŒÖ{¢2Û†Ô }h´ý=uiˆ®ƒ¼pÏBWS÷VÄJ7Ø•»]ö­~0øêq50-Dl~³Ó¥*!ÿ\0‚©ög¹íOžãayõ Š§üÔ?—I£ÿ\0vˆŽãź._(ò»k'¸UHÔd(–š“5%â–9Ô\0µ¾“2•SpÞ÷ÊVÓ—ž;j‘&±q«Ö¼iòáòéUéDµƒH©<z¦“ýU[¶ñpäè㤚/áùZÙ'ª×ôû–2è÷‘~ßówƒÚܹI[Œdöÿ\0>—Qæù`VÎy"Z¸àGDº³˜ú—‚»ÌðÕÙ]'¹g1i:‡ô÷6µ¥Œ ‹Â„ÿ\0õ}|©5LjÌcûùº3[#tãjq~HÑh3t&¦:<f¬!ñ?E ÇÁ±üóì¼X\\GrU«%¡øǯæ2?":<Ûîmæ‰ÛHIÂØáл·ó)A5ÔÎ~×-ÔG\
+ÊŠ¥/÷P‘~IäòÚGú‘`¦ãm+wi"X€Œ`\
+A@E0G0E:=Ú¯RÝcRhâùÿ\0›ò§T¯üÚ>/ÍAœ§ù7´éâ·"á°=IOK”¨¨Çga§’‡»§˜=U6?)EKK˜²ÑCjS•óÍZÍ î*Å}´³Ù@ÂúÙZUe*¡£g ÑéT ̬uqâ;ï DC ö»¢áÈݵêˆÒH<Ûý÷û×¼aeÒÒ+-.„½qöß[ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî¿ÿÓùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺Ëêokì`yî@^ªÜ:PÒÇÁý¿â/{ûÈnT±#¨éè®w5Ò¢§¥N&‘箊$E- ó¸bV39óH¥‡>¤oõ¿¹ŽÁÁ¢-:Dð6©£|0àz8[c?‘ݘÈpø¼UAÄbeòÖQÓ/›îdÿ\06õlòÒ7úæÃð=¡žÂ ²t»¹¸Q ¤~Eù~Ö©ëÍ}6ão¼4_ˆúý½t='½2ãsxŠY2>XËAÆZºde’'†0LJ°¨:E…ý–žeÛìæÎý´A+W]?N¿é¸ÿ\0>•¾ÒoWïáȹç_çЉ¶)·þ¼E´á|]:3Q׋‰Dp»I*súHv$b/Áéu{´ÜÀï}/ŠV¾¿•:£í×ð]ÁŠ#dãLô<uwFϼwm>HÒ4ñ¼Zº¥CÖyfóLŽ-¨Ê?ƒô·²k¾a’ßoº²Ž0½´ZPP„þ}*k-ÄrÔÁªÕ$çóêÛz³¢ðØZx$šš&¨‚Ï$¶BWOÚ’ß_qþâZGe'K\
+ñŸ/Ë£kxU@R¸ÿ\0ŒðèÄàé6ªOW4tù(U¡yêQZdýB™ž÷ü=—˜Tc¥¸ŠšŸÏóéK†Ö#¯o§ú³ÒëØ\
+\
+6¨hçƒÈÏNªc¸"µŒbÖõ{±·b`…[¹¸ôÁ”´“)\\9ÔH!¡§j™¤¨ˆH†ÿ\0¶‹úÁÓÇ?ŸÏº¤:. ŠUì<OTÔ4ºÓ¼ü?/õ|úPä+[I+ÖK•õйŽ‚£ŠO쮣rO´òDd†êîÿ\0Wòüº¼mú‹+à/«‹·ãËåëèvŽ>!Tò×4•-8w3ê(„éÔ·ö=å¹`ßq3­cøA¦?Ïùפ;€$\\H‰A/Ggã÷Lc*iéª7Ž&:̬ѤbÛRÒÁé\,H!J¥½•o—‰p®¶ÇF¦Ô~ßZù}œ:Gi …‘\0í^ê<>¬£k`ñ8**z\
+Hé)á]\,¡!l¶${ ]N÷$­ëÿ\0Ç£%>AÓŽsnÑ×+K*¶² µø·²ôVŽP\
+?ÕçÒŠžÑéäž+jà±yäÈuL¦çÊ }-rOûϳS2¥Ãjîÿ\0WåÓ2鞆ªÜ„4I«%ØŽ—S›  âÇéíÃ4\\NÛ(’M<D}|ˆëjìŠm¬ÕD‹ÉÖ u5L:)œ4šZ@üƒ¤}I>Å;w\,Ýn“@¤&¼»[7Ȫ/\
+t÷Ä¿Ž]­…’½¨«/>mKŒ-Ë+Eê}1\\»9¹cîÖÛß3r˼»mñ·Â§4üØüúL ¥ô>Ò+ý½k Ý¿r=U¹wb}˜§ŒUÔ%b˜¦?Øv](.¿×“ý}å×(sÚóÓµ j÷:))LÕýiÀ~TG|űEk4–ñ*Ù§Jêû Ïì=\
+ì.â*”ÒT³ÈÑ}Ò;LíCpÚu@d½—ñî]·ÜmÙ˜°¸öŽ€Ocw&tÔ}½ ;Nª®Ž(Úi¼4´5ªjE)ŠA$€X5ƒ‰Hñ{{\,ÜÚe|\,:éxt®Ïë2º gBvC5‹ª Éã!óUS•j¸¢õCQ9ÔËãú\0Hþ–aO£™™Þ…A§ðú³ÇçÑŒ3EâSË®]m_Þijê%Zxi¦Žu†8<žVü¤…2ßò½½½¬Ã žžP<}\\¨9íχËäj2_lÐÎjbXBÄÊ8ÔÚì _üoot²Û®m-Ò1-c:bâö©çe†¨8«]Rà*sô²e]’'°P€ÜHémZ‚qý}¿-âYHð­xÿ\0ÅôÕ²Ix`:ƒq®?â¿.™’“WM]GœòE’–H*|bX¬:Vþ0YÃÚ™&h…­ÆÞkðÿ\0ÅÔÿ\0>ªž\
+âRÿ\0:\
+*›öˤw’\
+é!4òVó \,‚/O¦êWô ¿µ»¾æò*I\0:W‡H!µxåºÐÔþ VŸ·çÒ±+°›Sµq˜È(*ó8y£ŠžHdÕ0òM7†VЦÀÂ}BÞË-a}Û`Ü̳hºÕT4‡Öœ玔ݲØ]Ùâ_ˆg¬[òªƒ¹28اH)vx–Jˆ§:•ú˜×Ó¯û}·±¥ÕÍ…µÇ„ Þ)Ý Q\\x‰óê.øÃUbqé22ÒIAŸ$ˆË#R¡µÅÍØ“ýIö§mºŠ{©ã‰JÍÅLjü¸˦LzöøEÉÇ€þc?Ï öƒ®rT¹\,~M×QIU ÀEªyÈmO±mWü–ä_gï¿A"ý\,½­ëþ¬tWôUnQ{Gáóè[ì\
+<>**¸ã§€µTtòÒ>£û’CÎÄ31 Çü=†v™¦¹¿úb¬G¯GRÀ«¹ ôÿ\0ã\\oK<×ÛrQQü2¨WÑH#©˜R´°FÝãÒÁÑÜ›ýO´÷×…æXƒ#¯?åêû}µ³þ« ÑÐ{S·‹gTe xh²’×Õe©¢gzZhÿ\0Ï£Ÿý?ßÙ×ï*´›ËÛq½‰þΕ)òé<ñ4Ö±w<ëE#ðJpý½ÇjU×fòm¤zÚz*çYM\\Úš0ÉL?pú#'ŸbXwt·²´mÍÄfhªÔ\0é?äü¨:$»°&üÛÙ¦¨O™ÿ\0?CVÈÎÍÜ¸Ú ÍOïROH‹JÒ$0š%I'Jˆ×Ç}üG²‹Ûcin÷Bº¸ž?²µ§åN–DãÃKQÚá4·ú_ö:Ø_­é·‡Z/^öå~ƒ3ŽÞXZ-½.ß²E=L0 NÚ–(Ø‹±¿çëïw+¸eÜ9‡”7; ¡$ñ㞦ª?…óN¤ýº9Ÿn·ºŽNËIH§ñðSþ_>ŽBüÛx]³[ŸÍãè`\\ÝéÈŠÊeX™þÝψž¢våýFÞÀÓrÔÒÜ$^ ¾’µ%{¸Òµ¿*|ºÆÁ¥q PŽz¨îËþgû³xç“€ÇѬ&B¦œdéÝÒ“#Mú –1§[zÛþ}δ––VÖû­ÓH ž*˜ÈýE>¤“¢ ×™-cÛE8ô®ƒä~ùÜÙœo`ɈªÇÓÇŠ–«?‰©gX¤µyÝ ©ž&ª?P.ÐûA+íÛPܶ›{Ð'šM~«Ö¦¤}€ÓåÒS»Kp›|”«§­ßâçÈ-Ù‘ÛSn\\ª´UMEC5S¤ñ×*ˆ”y\
+0ë yn}Æ\\á³Àÿ\0LÑ[€Þióõÿ\0V::Û¯ñ|td©èéê2rÖáR´×G\,µzäX¿¢G€I"~‡°\,"ê‚2NƒÇýG=<øt?â7fg.7dž²ÙVýäþ\
+8ã{xÍ3ÊAiÇô½½¥uŠýîVFÒÿ\0ƒ\0Süÿ\0z²¾˜ª§5èÄãvîN\
+8gªŽìMeŸÌƒL´@I‹𽽑Ü;xÞÌfŸ÷åM?etÿ\0.œY*;OQs42CN´‚a¦I(*Š4m§J3­¬à’?¯¶üS+Ë) ¸_Š ÿ\0íHÒ? :º\0€c¢Þ{~—&!ܨw~*f–‡/ENUª"ÍN–Žñ¿ô gÛÚí—Q¾ÞÇÁ“ûX %[í$’?":¤–«"º>Tü?/ÌtíÚz~÷Ø5øÜô2c7n)Å8Éýº%<’'ù³²°e›üE‡ãØ‹x¶MÍžï³9&OŠNÛ[öÑm¼¥®$µ™j©Ãåþ¯ŸE;µzC{SÇd1m—ÃPÅ$Ó<)¡cIžV+þ²ñìK³óNÞ^â°]\,+UûÙé ͬ‚JjFèVüWþýarõpO8AQ<¸˜fH ¨z‘åÕ•M'Hà܇¹LsõÎË%«ˆŒ«øØyÿ\0›ò§Aiv%¹{•„gúE 7Ö;ÛfeÛ“¦«…èÙÄsE¯ÂÑ»\\=ˆ+sýO¹_hæŸy´Žæ Ô—øœŸÏˆü©Ð+rÙ¯m¤@ÈP/\
+«=ûg GU´¦­Š¥äÍaÞž®(RäWTˆ©ô>“È ßóì7¹_J›ô²\,}OñWËò |º4³´kˆeÒô‘8|¿Õó¯JLîÌÛ?!ú£zuÖæ¦JŒ.àÃÕaò¢QMW‹’¦òL­\0¯¦ÈPSåq5â*ÊZ&Õ$‚ÌŠ@Gsµmºò%wBt †¶Z‚ŒÀꣂTÔåISU$t+±¼[¨£tZN¿ÿ\0c­;û맳½Û[ç«7äÈm Ô´1Öh†Êb¦Ž:Üe ‚³!2æðµTõkžI`xÞÎ BçîZ}ŸrúØ`+¶\\D$OŽ‹ÜñºtRþ¨c-A¬.°º]zY܉â5~q×K:÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯ÿÔùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺p¤S'â矯#Øë”öÿ\0©»‡^ãÒy\\®èÊtöÀÃæ«áÜÕpÁ¶1±ÔEY#1.+ûkÃpòBºýmý=Î7pɵm²–·’bGâûGåѮͷÛHÖ×ÓMXÿ\0ÿ\0ÍÍ?àô§OÛ#¯¨7E^à‚\
+£HÔ•Õ1ÂM3.-÷wPrfôÿ\0¯±d;´Ö6ÛDÏS­$ÀËþÌ}‚'¼¶‚òòòÎ8è„öœÿ\0‡üýXöËM³ºÃlǵ1²bñYßîÖ{pKN‡-©+­Ú†̱É?:‹øÞÃ;¬—»¯1ËÝÉOÊIáŒ\0ÓÁ*\0 ·¦íš(öíÁD@<¯éøžžš~Tés¶÷†àê¿L=]6GûÅ“•1õ•Î%É}½\\¿¹ûj aíÅ° =ÔÁo½XÙX]Ä"h"¬£Ôúç‡åN“$ýà²Vßùt`úS¯ò[Ç=UOœ¨TzšÉ*'Ž4•Ž·õ¹°xÿ\0`?Êož(ìPÙQªÐWÓÓ<zxHe¸{¶b]¸ƒšÿ\0›«ÚxÇÅÇ‹Ž’™&Š:i j_‰N»©‹G“Ïøû\
+›™/æ‰!—âém<'wü-Çý_æèkŸ2ÅC13èó¤cSŠr\,H)ý\\_“챌šeBaôÿ\0góëb@!ÇöŸêòéÏ/ &\
+š«ÂÕ¢¬Â–%&D…×\\Ò̵¿&ö÷¢c†í¤>\
+üF˜=9â+ø”þÔü=ÐnüÎ▬౉ÄÑÈëÆ"¬®¿©Ð_ÓþÄ{:X!·ŠÚ{¢V]Zª3ÙéNŸ‹¤•¾¥U$\0~< ÿ\0\,~TèÊuõVÖÅŠYªóTƪ²>B\
+·Hür?Ñcf–_ð·¶î-g2›eMPþéùŒŸÏ¦’M0¤÷’/\0?Õþ¹vîÙÛ[wm\
+ŒÖB’:Zêו®¦X¿iØ©ðéY íkmlrËs¹ÃJËU5Æzp¶Ûõdø±­G£qý¿·Ó¥ŽúÜÝW[ˆ¦Ü˜EÅärc密JQ e1^…_X{û/{ ý¶îæÞ5e‡ôóÄwqã^ŠX®bH]…V]#ìôèTøçºâÏmÊjºxf-ã–hÇî¬Ãüàþ­ÿ\0O¡öi¿Y 6ÔçL\,ô] ê–}Y+ão-m$T«U«G…I`ZÊOú÷¿°³þ“j9¥ªé-œÝ†¦…Æ5d–¡"Õ¦4\,TÍÅ@mþÃÝš'€8ú±Óˆè>1^’zZ·ÍC•¬š¢­!Œ\,Ôˆ]Q]­dav6öcX’]iª7àzM \,´Kô0e§‚®†oâQRQ<\,Ù ò4›eÒBdM2wIû?ÁÓ‰!´ÏTEüÁ~ƆæÙ•´4YzZ†–:تcŽ`ÒMPw¿7úǹÛo«·ÝÝ¥Ô`n ùÿ\0«åÒ}Ù"[ Í_ÚŸ‡þ+ýŽª»cüÄù Ô’ÏŒÈÃU‚‡ø”ÕOÌ–ñÑ9¸ÿ\0ûÉKžTå¾c·‚H¢‡ÆN'áþBƒ¨çë÷ Öxµÿ\0«åÐÿ\0†Æ`~] ÓU¼·NR}ÈÂÉSŠ£ûwÆÔT·Ö‰Q!UQ?7úûw[kÎ@ÛWpØmQ£ñûÕšþÒiùtkØÞo6»;¶?N<éOæ(Oæz©.ÀÙ9“œÌÓdqÆ–: 'G<†i<!dXÕ‰!¤ŒCϹÃcß-·ëÞe$­ @þ¿êÇË ¾ã·5ÓÛ"ü&§Ïü=<Õ*<´Ó‰e’Uy†°ÑIšY 2ÝœªئîÚr!—HPŸxŸóè5-ì+\,©mŽ[¥-VB¬e`®™%§G¢FŒE¢RŸ¥Ü«¨fÐÞþÒCn‚Úí#ug-]$×?ÍÓѬ:|AUnœ)êVj)䬭–*t˜Tx”Új‚ÖF[)õûfXeVÖ° oJÍÇn´Z?QV¦\,´òx©Ñt©e*Ž‹$rý_÷ ï‹µêzcR[†xô(ÒUVáñôô9H’ž9àIšEuY]i`¥lÌ-ý}‘]D—w3Éï:_lÆ5y ¢†˜ÿ\0ν'èê¨æ‡'.= DqI#©*$<iÐ:mùÚ¹b‘ ·Œ|?³¤Ñ¸¸¬*€³¤n"²£øÜQ©4í;¡ÉxéÉ#êB…AþÛÙÌ‘D\,¨(_Ó¤À>°ú»:k²g¹)*)ñÑTÍ-A#×3•ŽàG;iŸöû$µXîm®"k’‡öt¦qIžº¢©ÀÉõùƒ¦ÍË&;}ã?ˆQć%…jâ„(©rN¤ò…¶›KÏ\0O§ÔÚG.Åu\
+4‡Á? òëÓL—‰¥’­ÒC'ˆÏWÃäâ«©Z@Þ)zeMJ}\,¤Øû5µº´ŽKÎÙÓÄûþ\\:Dð\\øie;Uÿ\0Šèþüaëm»»¶¿e×ç7Ö}»Ž Ÿ*g‚r*çIŒ‘¤rCIƒý†®?â¯p7;Û }’ïl¦Y®¤G\0qQÀc"ž¢‡çУbŠÂý\,¤\0R-L}Oú¿âº¯>à©Ê&ì®ÂÇ_Bš*Öh–c4ŒD‚ÖÓÂŽ±÷-ò˜†M²Á¢Ó1õÿ\0g Ç0JRáíÔ†šHÇ:…ŽÞÙš*Z|B ãž\0¨bcIË2±‡Ê|\\QÈ×ÚÙöË{™îgðÿ\0ÕéÒH/<4S·£´wO)ŒÈÓãèéi*#¦y*æ¨*ÂH¿ã„J±ùäßQü“ì»Z[[Ïe<å¼%à4¯Î‡?z4¶˜iqlð×4ÿ\0z¯MõPªºf°ñOG”§©c9Ç°_¨tgŠ" \\20ä[›ý}µII ’k¶uÒIÎ=<?*uëR.˜ûפT^tÈÕC)ššzjªÅ â’ É>¹Ü1õ1-õSqþö"¶¿[aô…uAëÇùô[$fI^ûFµóõÿ\0c‡W²¾Was;3Õ¸ìjEY†¡¥‡YWPjjé*êÏŠUÅÁ ¤×ããW$~úûùƒ’g“qºæš¦²I=—ò¯R׺ÛZ[}+¶ xù¯\
+ýžœ=z ÿ\0#"ÞX•-e3”ØúãT”زSÊ“LóDÓêŽñM:T­ì¢ú×÷#rMÖ߸Ãq‚²Iú!UüÀï’Þ[¤·I3iˆzÿ\0«åNŠÏYnz|7ec`ÎiŠŠ\,…55@®!`…L±K4¯¦ìâ=_Ù<û•oì öÕ#[nŠáŽʇ ¬)4ž™ŠÄÿ\0ž'óãüú¾mñ Ó›ktíª\,fcWµfX*ªVš5%4u 4ª‘}ËÏ!¼ªëïã7kÎMµnŽc¹MxW¿†xõ(ÚÙGû¼ÝBÃIüú ¾=ü±e2{g*Õt{^ ­ «¡þòiŒÄ”ñ¬D³ zî-sÇÓc®däñ-¾ýœ&äE\
+Š~xþ]Úî1%üðĵŒpêÏóêÄñ'syü†dÔM%4ÐRÇBf‰å¬oq4ï" RÃS7îϸ”òàK5›pUR% `ON4èLoR6jÇú¿ÍÑäëÉŸËRRËœ®|¼?c÷\,­RD¸êÊt½§±VKŸñ·°nñ P}\\‘B5Æ5FăøiÃùW¥4’~‹š‡nªùcY„©›¸"¨—•Æ‹%EPÞFÆS3Š³\\—&Ç“~=³6ËmºAi²Õ¦NÖ§ú'ûìÒ”ûxô¨‘”^|Ïec抈 ¦Ÿ§Y±Õ¨¥áY=CQÚÿ\0ƒÇ°cmî%žÞUѸÁÁxÿ\0?J£uhê½ôy}©¸÷WmîHa’¦¶ #¥˜¢øôIþmе—WúÜŸj†Û%ÖÝ$Ö‡EÊq§µ$Š%JÒ^êóüú\07ŽÐªëÜŽF—kVd&Çdc’¥¥ˆ‡¢ŸUãt]\,¾”üû_¶î“^à µÜ‘ j«MCøM)þ~™š5…Úñ®xŽ™ðòTÒå^T‹†J¶ˆIm3}c­-pÓßð}™\\µ´rLL#ĸþÑ<‡üÓ<Oíé•ié!ÏØ:·OWâ(²”›—D±ÔU2USÑÉ ¥†¢}Z˜Ó!ÐrnA_jì7[«j»“ôÛábøi^“ÝD“#J£¼ñ}ýׂ¡mÉmˆ£Ž­…$• N²I_¤†P¦Þ϶ ÔîÅkw¦å—R­h´þOòô–xã);´@²ð®ÃÕ{c§Æí\\ÿ\0–9iÅ9¬›Ó#j× Ñx–3Os«GøsŠøûžØˆF§ã4ÿ\0øzÊ‘YJác <rÊzaÛ{¶fì–¢’cöÕóMæ¤DJ“T¼…-n–CqÀ±·ÒÖ1¾³mÓh$ˆ<‘€*I'(xƒêkSçÒkkÁiºÏ;\
+C'N«÷ùÇ|p£ÞÝa´~Tm=Y”Ô{'±cŽOSmœÎBS¶²² ò4ôñ¾uä•¡¥¤¨ª«9q$’©X/šyy÷«Óix«v5\\GEmFHÐ E6câB¢Z»¨ŒÚèD×)$yg(‰Ã)¤gçþ~µ¤uÒ@"ÆÜûÅK‹i-¦1L¥OB@Apö›­õï~ëÝ{ߺ÷^÷î½×½û¯uï~ëÝÿÕùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ë$i­•GçÚý¾Í¯o!¶E®®=iØ*Tô÷1K¼û™6]„تKª®8t†WoÅÐë×3Uå¡m·OaQQÎW€ÀÐE¤[xÊ‹¨àþG¹Zêž i•©$_a§ØF[\\òµ«[§kÿ\0ñjáJqÿ\0U:48m“WÖHërÔ2¶Rj*jŠ3¤ôª×!$NcÒ¿[–ÿ\0eöÛœ;¤»Ô…X¤8þ‘ø^¼iò­˜éeÌ2[Çêk_>…ü–ã14Tu4ž|&VªŽzX€ñÿ\0EƒQ~•u#êO#ñokí¶ís„c[ØACÄjâ=(})Ñ-ÕÑKin"4ø­8ÿ\0—ìéî~Á5™ý­F˜¸W…T ¤¨•@W«›Q3T=eK/©‰·»Á´3>çxÙ¸™iJùzS€ýƒ¢‹›Ö¶³M¾ìÅç_ÌÔõc÷Î?nýåUt¥ëª‹Ç­Ø­ a‚ªŸ^’yãØ;v²-eáÂ4'Ë£[YP\\5 =ÜìÏïÚêUÁÒù’©LRÊŒiYÞoò\0½ý_ÓÙ2Ù‹båÈ«qùÿ\0«åуM¬ølݽ\
+;ο)ÖS'–Ïe£¤ž¦‘¤Ž­}•ZÁM €‘fþƒŸeðJo®ÖÖÖÜ– Vù§§ú³ÓªƒGÔ;R>Š&_æ¥&?òJéëê_ÔÓǤIª¢tñ²i)·ø{’S¥½¶¬„ß ÿ\0góè3ö±5«W»¤Ž×ùU’’%§Û™vÆÕ¨©d¦œ^Úoó…Ë”¸oñ½¿Í.yBXB¬Ñ‰b ¤—¦?ÃÑjoÒ=M$n'ýXýDÿ\0N{†\
+ ùzššè«äk45/·+¬˜ˆu*ºÔØnÃËÖïñ[ ÕÌš~Òkùô î.²ÇªUñâ¥ò5Ë¡vü‰ÃævV.š*zzÌŽ#0§|›™¤…’å@ò—Õaþª÷öNÜ­;nwW5¢Î(ôÅG¦)OÊ*ƒsí¿L_·P4ã•à}qüüúÉñËâª(h*7NcÆ2Uµ´R ¨ BÇôà *ÊcŒUÚþhÙ§ ‚*“%©æ8~΋\,/ÚfžæG¢\,ø:´>½î<VÀLj1RPÁM1TGH¥ª ©Ëܵ™“ëù÷ÜÚÍpÑÇ4lÈ%ÒÕGøÁÑìRÄ²ÌªÔ Áº[ïï—;g‡zá’ Ç¿Û\0ôRUÃ#É3~–Ž5$þOe±rÅÓÜáÞßЂ?ŸçÒèï-ÄufîéÒ%ò}••­¦Ã£– Z5zzˆPó!V %Ÿúƒìót呶ÙAs"j·~+SÛùÖ¿´ô”_À÷QÛ(üCÖf(³{—1EQ&„SÀ#i(þæŸû~=D­ÿ\0ÃØ]TÅ´Áz›Rú¢zW‰ûI'¥ó6«»X›ã>¿ä—E‹·þJo¬ìY\\~1 ¥ÊaéÚsK(4«[\
+}V–PN²?à¾Ï¶ý’Í É‹5ƒ$ÐÕOñöqÒg¸Ñqô¥ô¿ñcªß«Êf;37>óÃe¨¦É¼ÐÑä 4M %D?¨†òj»F${“-ìì¶è^m¢ú$i¬ƒÅ—å_òtEsqq?†nâý%ø”óg§½±Iñà ›ÆRöQ„äpSO$W"ÕM \\ê° _ÐX{R»ïvaªŠ¥¥O­FŸI'µH€¶uÇ­OùúNvÏÊž“‡°pÐõN:ƒK\\´ô9Ú¬HŽ•’0|Qª\,\,¨éãâÖ±üûs–y˜e‡t¶ÝgœZª©ÍÚsùÓ·ûŽÙkgh ’r8ЕݶæïëñØoQÌ涸ª_â1—‚ž2ÁÄ*ÃKú ì/e¿ßröûûžy=¾;Ê\0VŸ³§ìÖ×w¶µžGáâfŸÃǧU[×½=×7³¶¦3·û†®É9ÍVº^Ý •¯ª%'òÆþòmþÿ\0y°ÝÎzOU@h ‡åðt ¼ÚŲC\,Ñ i&²\0ί_ö8|º3”ýGÒ=í¿w.ÂؑÆÂá%ø>t„Xêc2- Ïo¹?ãØÚó›v¢ß|½sõ­ý¢`‘öŠP~ÁÑõý¦Ôoͤ. i¨p×ëþ¬uÞüþZ›»kÒgrØ:öÜø|\,&Gãqùé%PGìÇÐþ}·iïT ô°n–¾ ³KMUøGÏˤÕ¢y`†Þⵊ§Ï?êüº"ûƒiÃŒÉÓË>jj|c\,yg~D(eu\,l4«}=Ê›væ&Ë\\xˆßò³ÐbãlxJ"ÄUÇÅÇü½rÜyìI)EeG<pÜ\
+ôºt—† °_Ö>¡oïÖ6Ç-Ή«û:¬Ž‰m>åàßêÿ\0/AÌYDÔ-5=RCPLZCˆ¢?W•­¨1ãb±¹š;f&§æÿ\0'IÌ*<a!ñ=iþN*²Øj6säcž)¤i£O3KIþÓ1 vßQì–9ç‡y‚R+Äù~ÃŽ¯n±Ëê[¼pé«lÈùVûl”ŸÄpÊ)g "V„tw@.‹}=«Ü’%ÔñBxŠÿ\0Ÿ¤°*O"«9 \
+ œ::Ÿ ¾&îNêì*¸qÔRP`CŠêúˆíá19x„ŒÆÞi‡ãô`îu渶­Ž×Ä‘^è|¢£üÿ\0ŸG–ûs=ý Š‘þßðÔõjý“ü«¶–f¯ŒÚ»Ê–§vÈâ)qô²Ä$§†Ö™ØÇ«?àM£ÜÞb³¼¹ b_lð«Z\
+×öt-¸ØíVÊy.æÒÀÏü_Dä'ÁßñÛ°é¶D¹—ªÆﯷ†\
+ÊydH¢«¶Ÿµ«}Wqaõ½ÿ\0Þ}È\\îrsÜ7 å·JeHÀtn.*2O§—H¯vÚ­àÞ-Û¹…G?Â?*˜vòï­Ýûƒ?[žªÉRIˆ’ŒÀ¯ R$\0IP® f‚6ú›û7¼÷VM¿l³{O²J@QNмkÇâùäytRœ®²Kjdœ˜ÄUϯ­xôSþIü{N¦ÊSUã—Í%T‘JðÄìUãY7c1.Ú‚€.}Ž9WY­ï\0\
+ü*iþ\
+‘o\\½ ¨"74èÚ±f2•8úÈ*çÂÓdª^k É'ݨvbF–?ƒÇ±íèŠÜKki+DšÊœÑ~^gùô“Ä`Z\,\\z2Xm«OUš†£øŒ4™T‡-/Ž¦†IÈUYØú”*ÞŸÓþÀrO$6ÒxP—±o„œ7ùÿ\0oGFÞgÐX˜|_ñC;ÙjöÞᬥ¨Ê-VñĤxÖRæáâ°\0-Åì8ö{³»M¾= ¦ŸúŽGåÓwvòZÜhŽPWÒ€õ'>_‘ÆïÍA]Œ©Šjz¿K»Ë FcV:à&AbÀŸj Â^]¶AX$]'#Ó…GäAùô§'Š¹“×?ñ];öîÜ9ÎãÚ[“t;g–iªê ¬’]1²O: Õ¨×MÔþÇÚ^X²Ûm¶mæÒ2#yNŸšŸâ¯çN•ÜßÝ^¾çAOðtÍòklm¸³~ËÚ”ôô8Ìðˆ £ØƵ8¡¬ÄiqQ:¼ …#ü×øŸn{wy}l×\\§¹³4üq_í<Å+À~Ï·§wËi®g´žÖ\0‘¯Å“ÿ\0 ùÿ\0Dul›R¾¿;ðãal¬6? у¯”Ða&’£-.nÖ§ÈWÿ\0aQEW:Æ äÛŸp¿9Ä#÷;sÜnÑ­€T_A@ÒÁÅ@øh~C¡.O\
+òð‡êxü*káúzþ|~}_†½WY¶ûczl>ÆH6¥TXh«è«2Ì*)¥‡.%§\,ʦxý~–âÞÇïÌVûß\,m;îÇ#MJ’¨âê_Â"£#KwUH?:tGaeqk½ªKm¡dò$ÿ\0Ã=I?„~άçi÷O@íß‘ÛCcSA_–Ìá䡨¨òÅ%:îªé–[G¨²Váÿ\0 ûˆ•y¦ó“w{›…aMâF¥xŸ´’~}\
+îÊÂ]°ë /âÏòÊÒï\,þÃÜ™¤û¸f±žš¾6)5THé^ž¨¯ªA{ž>ÃV‘Ûî›T\
+°KF5\\|ý^G.—Íq¦_Œuìfsvnš >þ(qyL kÕS³´uýÌR42*O‡úþoíÉ¢·°±ÝãÃ2<l¿&n$zWö}_ÆÖ` ÷h~c£ó×{³û¶»vJw|$ "ª¥Ý¥¦¨EÒDm!.¿ÆÇØGu†=Âæ)Œ€\\·à•+ùô®Þ°\,u/N;› V•Xü–:¨?Û„z|‚Ôjóå"aú¸þ‡Ú I嵺”KlWÄø€©¯ú¾]<ÃTu=gÁvÝ&O']ÏÈ)%jd§û™‘•ÌÍÈ“ÔÄþoíLû<–F[\05–­(ìô!AÕ Â.{ú¼¸tϸW?²q¹‰±ÐÏ•Á×SK]Ä "g‹üà×bªËøµ¯í˜îmeŠ;=ÍÌsÛp>góãÕ•@—ÇŒTt]ú{äqÝßÝi¨£É´2\
+ÑËBÆþDHX¦3ôö?¾å›{­¶åpn*—SçêiòtV÷~Ʊý^G>Ì]³·êé±¹(©ëð¹êy#¬X™`œG©+ýlßâ}Ç›lS]ý]«êKÛCU`H$þT¯ØqòèÎDV·[‚¿§ø××ü£òê¼7¯PõÞc\,>ÞžZ¦=¦Ê‘LñÔ\
+ÊmA—@2úû•v½ût±·Žá&f¶è`BŽï¶nl.ãM$?N:!=“ÇÖni ¡Ç¶: uG‰MJ¨¨\\ym`\,Þæ-‚ ÝOpgêâ§ø:o1ÚE2A -§ÈèÆì½µ·;?§7Ç^îzA”Áîü&S™Çùj)üøLæ:L}l+UE5=m?’’V@ðÈ’GªèÊÜû¹ Mo¹Ú<4YàpèHDÀ«ÒÀ¡Ê¯k)\\SM \
+öÇ[ˆ@òëIÝ7œèNàßÝM¸¯.Geçªq°Wà€fq3k°Øéékò‘Q®oWOT 3ÊÐyŒR"0÷ŽþâíQC~/ µ)e4BDþÒ‹R«"tM~‹$%ˆé¬-ÙÈÅt¹ïè ÷•ÒÔn—u׺õî½ïÝ{¯{÷^ëÞý׺÷¿uî¿ÿÖùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{÷^êuõêÿ\0mþÃþ)ìgÉpëÝf^:Op{)åÒÏ…Èçj^š‚šH¢óº%ˆŽÑäv¿üûœ6Ë@"ñnç1ÃâÆ8y7ùÿ\0ÅuHíçÜ.D1 £yÒ9-Ÿ·s˜lvF'“= Z…C2È3–:ˆ²~ÓزþÚy¬î®­%ÓŠºh}sSüú1Ú£–½xtf÷¾üËîJ¬|ÿ\0ÂñÉㆫí€þM+j¨U‡×ÀtpIQÏ>ÈöŽ8¦InM/f\0`ŸÔ ¢´_µ@>µéÍËs1«EkÝoiþ=u9ÓS>"‚@P*¹\
+¡Õµ¬u8>ä{}¼x·õ›¨öãrha£Æz[«š&ÆGN—Ë$O¸“ÒßêÌ4Mý˜[í¶Ê¢ñ¦:Ç—û:b{·Q%°l7J×ý_.¬ƒã>Å®ÞØý¹vò3T\,ü…Œêº^it0±#ò9÷ólvö7³Â„ýŨcÏíãüú9ÚWê!£½$õêÏ`Ú9^¯À}þ'%‡ ñTÔ‰•|þ%àfÒãÞ¦[¤¶½·4~Wü”èZmã–@³/_óãªÏù;ò!Úz\, lŸÃ1u2­Cf9XÞëšæÿ\0U}_ãî[äžU[6ëqñ]tŠ×‡ÙÃó¥z nûª•ýßÕ}GEF¿#´¨*gÉKM-DTôï"}Y&©uÒ\0OV‡>ä»KÙ£·³Èc- SËö>Ó]Aú?Ðã“Ò/;žX«©—𘦤ŽªX¢ºMR! -Ï%öe·È#š;™°–ƒìôÇE—sêxäCG~ñ\\:bßY Ñ 4í¢‚\,4pbèèÑ’¦¦ó4­7UÔ°âÃM¿ÈW—áÚüB'2KsñøÈ:-åÛ!c­g½ž[–âÌø)Aû:[2L(!©©UF™OÝÓ$Æ¢DySQE ¦Ê­ý=—²ÂežÚاqК7™­áv§Žzkw….Øx+pÙ‰ ’3\,Tš¤v…Ù´´Ê.À9oö>ÄV›]Íçø½Å¸=´©ôôÇLË<vêÒ— &¥~~½;T|…ßô°$O_Qf1çÖT \,ºÕ\, õ½¿)íS³´ZX³TÔS?êû:«nÒ$ŠÄ¢ðáþ=»3Û¡•ÆPã|åêÌLjò-E–î"{é:|ké°àþ}“îwÎnUŽ£‚ÿ\0Åž†æòî"BýX¿UawïW×C¸¼x1&2ž*\,µ"ÄÔ2Ôiâ6.IüýÇÜ[}»m×ÑL‹a+m÷\\5_çЂÞÎ`¶áŸL±yô3noÕyÙV†Ž¦\\f†52cÞ8iž%ýR1'ÖÏþ<ûÚò̇–8«.’¼qè*j>ÐAèÚMÅQHÕªCçÑ\0ì}óÅg¥ÊÐgë+ê|µ1Ç;Èî\0ÿ\0›„4€/ø}=É¿k[Íź¬r\
+0 Pà>ÑCóè›p˜´¡žMGåðS£ñW·°õØZí½¾uVdòUó×S×΄Ï=ì f\
+±qý\0öYμ¶%6³í¨‘x1èj})Ãó?>“mwGw9¸%µð®záܽK±÷®HWSFùœP¯ˆURÃûô´eÜI’UQ¬Eíì‹—w Ãd4¼sm+ZŠzPÔ.÷ˆ£Ý'&ø²7Õ=k«"ÊS<sUâ*¤Ö¢DoäñHé#"¯çÙÜ~às/ܘ÷RÒí…´™@‹´ótN6{+¤UðUnþÁ¨êÏöKîìÞƒ¬òu9LDôxXéÿ\0½*Lp-<qXÓ»d[[ÿ\0qŸ0ïv×÷×;åVà>·ˆŠ‡oQª´ûƒåÑ®Ðc6ÏU«¤SàÕƾ·òꮾPtþáé<T›]­A–]ç’“ì÷A!ž¦µIçü¤£š}güA÷ òo2ÚsMå´ò3[ÜíÐþªŠåø¿0zoq³mª ›ú‰O©Ïò5ˤ/Eb\,1ò—ÅmÍÇ°þÚ«ŠæâÉK=Ú:”V .´ãÔ±†ÿ\0x\,&]ÎÙ{;“¢d$‡ø†qùPtÛáW“÷MÂø]ÚµñÏ­MeiÖÃ}!ÜUºúBµ2غ83ut³ã3\\ÑÓÅÀw1—%žëÉ÷\0ó×*Éõ1%™&„Ö¤ØÞµ¯òáгa›é®¤yèn‘h‚”ô¯ùú«Îêø7aÖÕgvC³i¢«-“…³&©BS)¿”gØ›b÷ë–â’Í5þÐSö þ}Sr°q\,ðã·ëùp꘻o¡÷MàþEO?ÚRÔTÑ3xnžš ½Ë(Qbþò•ù³ožÔMrÚd’*ƒZçüêáÐ'{Ú. Ií­Z¯þÏŠÆêÚsàä—µs\
+Ùëd2*9YÇÀ*¶\01ü}=ÉûFä÷Q¬¾ˆª>ßZÿ\0¨tAwlöþE…Oótï¶kr4êÌ<õsÉÒ$ò–:}+\,”K«KÙBûkqµK¦†æ4›á?êÿ\0/EVÍàܲÚÜGJ½£ßÑíêFÂWmJ ¥©ð%KE>Dè—Ñà'ÈDzÝÃ’Åë‹Ç˜Æþ›üèÎÞý-åÊùóu°'Ä?•ûnôÆK˲×eW\
+ˆM|†䨜TSFc¬ŽT‰dhرä=ãO¸¼£\,·û|V×ï)e”.~ÌŽW¡¯CŽ^¾†f× éy¾;w;?\\`÷W^M[€­ƒ+\,Ÿ}kž«5Í ÊÊ|ž:P}Vaaøö·ÚÆ×ÌÙÜ’±=µ)U/ëSŸÊ¿—B¸·¼ŠþX‰"µEzÃóùô|cîèwoan¿òbŽ]Ú´l2ûO3™Òy`]-=Ü"Ç9o úbdåíºN\\·æ^-ÚÓ(Fd&?Zû)Ñ5ÍÝÔ—ÆÕøäþc« Ùøº¿‘Rîºs&Ðœp¤¦®ªXÑ$35„Êѱn†Ç›~=Å·–w;5ªßÊŸQ˜jB\0áÃ…ü©_>âç¶´Ò i¥~]¿_ò9=¿¾v–Z7O`Sc`ËFØø~é©ç±Xäô·ªrÜ‹ðöiµs’Y¾×ºÚ«Ãb.‚2ñª·SSÛê }O[{5•£KО:ŒS?•:¥MåÐ]Ó]uWA¾6¤”ØlÝh«¦ÉUGj¬eM<“*G\0fo`>žò3nç]£š÷‹Ûnˆ¿¶AÉ×Эh~Ò+óê=}žòÞÎO¥ϢljmÇ·¨²Ô”iê*#’•%”ŠÄ’5’O"¦‚õ(ÂAÇ+îFy¬ïÚâHÁð¾:`¼Šû:!‚)â“Ä2ÿ\0HŸðž›êñy¬®@n]õª<$4’Ì’ªc$o$I§PR™BˆçëíL3ÚÛ[½–Òµ¹n<sûM?gUcuq<t†š~&¯ò~κÍÞ±µCSUÍ )1ûxa•5}§£Ã­H!|~5úZöæþÅ ¶Îc¤…In>]%{¥ŒÎ8Ó‡KïôƒMv*5D•Y LÕÏ"ÞJ˜bêòêÒ¢/]­kߟe ²K ûóE\0óÇ¡G£‡ùô¬^²Ù›iUYõU)䞘¥~ÓSÒF§9žÝúüq¨3ã௕iÖFcÊd=2êñX~VÞÌÅ¥­œö— &y¯ŸÏ<O^˜ºÝ]g¸µ˜—íóãøŸŸFŸáïÈ<ÏPnšÍ·SXòS䚆†‰ž¡’’–ef‰”úR(?öçÎZ·æ=¦ ³É$mS^5<I<köô§mÝ…¥Ü\,œEÏòáÕ®öWCIÝ;g!ßÛ'w5nåÌbÂÖm|køæ¡ÇÑ ŽBD…Â(Cíýã]¶ûyíåÕ¿)î–1 Ü±ñòE]µ7ËâÈôò§R ñþúžÎê[€“¯)Ž>Cˆùyüºª~—­Ü[äöÑšJêzÊM×O+ÒäXds\,Þ?#ªX)ÿ\0aï$^K ד.泑ZµÒ|<•_B iè~·»ˆ†æ¨D´¯~uë`®ËÎì}Á¿¨(qBh7mø7\
+G+J<¨²¢S)T9ñ+¤}\,8÷‰=µæÝm¸ÝÉ:¾Åõb-u5@Ü?‡Ïùô?’S-¥©¹G\,œ\0ãÑžÆæz¦¯eÓnݧ˜ÆG’ Æ=M:ùbˆ«R©V¦¨„ºJ<?ž}‘n6›Æ׸OounÏ´E€WOMT¨ûA\,³KyuI¢Ejç_Ï Ÿ%ó³bQmJšUŽœeæ’DûzÖ©\,'Ç4³@¨/þ·± žÝÝÍfêå`^§«®á Qœ3ôvgÊŸàø-²Ï»¦ûÉþUO.£É>%õÛ]P ª°[úgÛO'ÞÜî·¶‰h Öüu|-ùž—M¶å´ñăý/IŠžöÞ8|wßî*š¬(×ã³ÔðÈbª£×¯T:´þ=¨iÛ§¼ÐF°ß¯ö‘ÔÑ~Êšž‘=é)©P±êÄþ8ü«ÛDZ3Y$Š¢Le\,´J‹=IQúÜ¥µú¿#è>Á|ùÉ—;[nsGAâÒ W”È?²½-Ú7ÑŸêùôS;ƒ1UóÄ ¸œÅ.a¦5Q'žŠ©™¡Ú™?7¹þ¾Î9:8$¹¬M‚¤×»í5?°Ž·¸=MQ3Ñö›nÇÕ´ç=Q%\\´¿q̳¬‹M'‡Éöõ2·ÓO<û\0îÓ5®ò—V‹K¡ñÆxIþùô®ÂG¸WIšªÜ|¿ÁOåÑ_ê-¾•Û÷'.{?MV.Š®KÒdñ•ðC7ÕOÔÛŸcMÖêgØI´µ¿Œ¤õ¨¡?a4ùt]\,r¾ãà´™Æ?fç^ƒ¿‘»–ŽM僤¡¥Š¦†e Œöð²²ÔŒébȧÚþJæ¦Ù®o»\,VN“Eý¿åé÷¶-ôsø\
+^±ÑfèÝÇ–ÃUUcYVT¦•qõJJ‡Å¢’Ö¸VQþÃÜ‹Î;eíº^DçÂvÔ8ñõã_ˇˠþÅw5¼ó[¹Àáê–þuŸòU4än3<ã}Ø5©zzjº†®Ù™©ià£lu3ïÞºšªªY‘¤¬¬£…<ÓD)ÍÛnÝ}³ß¬2Vè°ºˆ\0ššŠ`húË1K¥QÂÇo9Pº¸¶ÒYÒüË4µI–‹’µ:©¨–Ö\0‘HÒƒ½«®c®–çÞ5^Ba¸Òã ÔuÚ.­×½û¯uï~ëÝ{ߺ÷^÷î½×ÿ×ùÿ\0û÷^ëÞý׺÷¿uî½ïÝ{¯{÷^ëÞý׺÷¿uî½ïÝ{¯{²©l,would,q,aaglenxmatawozomwaewbyaagmmjwaukszounrjftpitrtrnosoamqdavy,0,ÿØÿà\0JFIF\0\0H\0H\0\0ÿíœPhotoshop 3.0\08BIM\0\0\0\0\0*\0\0\0x\0Image converted using ifftoany8BIMí\0\0\0\0\0\0H\0\0\0\0\0H\0\0\0\08BIM \0\0\0\0\0\0\0\0x8BIMó\0\0\0\0\0\0\0\0\0\0\0\0\08BIM\
+\0\0\0\0\0\0\08BIM'\0\0\0\0\0\
+\0\0\0\0\0\0\0\08BIMõ\0\0\0\0\0H\0/ff\0\0lff\0\0\0\0\0\0\0/ff\0\0¡™š\0\0\0\0\0\0\02\0\0\0\0Z\0\0\0\0\0\0\0\0\05\0\0\0\0-\0\0\0\0\0\0\0\08BIMø\0\0\0\0\0p\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\08BIM\0\0\0\0\0\0\0\0\0\0@\0\0@\0\0\0\08BIM\0\0\0\0\0\0\0\08BIM \0\0\0\0Ö\0\0\0\0\0\0p\0\0\0p\0\0P\0\0“\0\0\0º\0\0ÿØÿà\0JFIF\0\0H\0H\0\0ÿþ\0&File written by Adobe Photoshop¨ 5.2ÿî\0Adobe\0d€\0\0\0ÿÛ\0„\0    \
+         ÿÀ\0\0p\0p"\0ÿÝ\0\0ÿÄ?\0\0\0\0\0\0\0\0\0\0 \
+ \0\0\0\0\0\0\0\0\0 \
+ \0 3\0!1AQa"q2‘¡±B#$RÁb34r‚ÑC%’Sðáñcs5¢²ƒ&D“TdE£t6ÒUâeò³„ÃÓuãóF'”¤…´•ÄÔäô¥µÅÕåõVfv†–¦¶ÆÖæö7GWgw‡—§·Ç×ç÷\05\0!1AQaq"2‘¡±B#ÁRÑð3$bár‚’CScs4ñ%¢²ƒ&5ÂÒD“T£dEU6teâò³„ÃÓuãóF”¤…´•ÄÔäô¥µÅÕåõVfv†–¦¶ÆÖæö'7GWgw‡—§·ÇÿÚ\0 \0\0?\0ò¾É$—d”¤“ADéÙ6‰)IA?•kt¯«=O©×ë´3j쬇\
+ÙÉŸ}ŸØjêzoÔ.Œk¿)Ù³ÆÂ+aþ¬ØïóÑ¥[À¨NbtÔ~+Ò¿æïB©¥¸¸ °‚A²Æ½ìl~{½Goµ»½¿¡LþƒÑí¤‘Óë.kZßL¸Ü÷ ¾ïå!¢µ|Õ9ðNJìs~¬ô75ÞŸ«†ö»xkI7zíÛ³ùm³bÄÏú³Ô1l¬ šGçשêû¿è¥J·$RóûÂo÷ |ÒS§õ{¨çâ»2ÆR 6;nèú~ž…f½®cnæ’<Ç+£é?[†Gý™~7®+.8ïkƒcqÞæ½¥®ü÷;ô‹ŸºÓ}ö\\ý …Î;xë )ÿÐò´àtæäMüüS:Øû^Úªa}!¬cA.q>Ö±­oÒ]‡Õß«¸XÙ-~xnUõ™º\\5Ëm³Ü̼¦þu5~Šðõ?F²úu¼‹^Ú­µ„½Þ›[¸{)7ŸèûšïS&ÿ\0ðT~‹éÚº>¹Ô‡MÁ§¡b¸ §„ãÖïM£ÚÏ´2Ëeß¿ìÆgü'«Z“‡‡}êÿ\0ºßÛ~mŒ¾¡˜üñ[€û#Íà€æVÖ²ÇÔÆßmϱôö·}¦²ª¿D´ñ®ÄÀŤS]GàØÃDÀ.3±âïÒoýçÙ½ë¦Ñ“‹V.x{½FÄ»ÜÒáë=€îû3h¯×ýÿ\0ð5©‰Ö®´ÝGPÃeÎÆ"·ïsšD>êÛ³s›î{=[ov6u¯àËí‘Z]¶GXÂÌ̯¸ÖÛ|8‚!hÜç_éŸgToê½>škÍÊýV‹ÃU–As·ìû8Ýu{µïöÿ\0„Q¿ë>.FOkM„°µ®€×½ŒÜë6þ½ryÏ^µåÖ\\÷Kï xgÑŠƒ¡ýÆVœ'¦ž¦χC»»Ô:ÏJ8Ûcëf@-hÈs=ÏÛhô½7·÷—˜ÆÑsmé™}o$±´ï©Ò6·ÝKƒvØéüßbê3\,郦âb¹æ‹A¯íO´Òj×ô¾¬ÛeŸð?Í¡X½wÞr°í«.—VÐëšDºÓícUÑíÛîýÅ\,"I\
+³áôhØün¢ÖŒ–úySµ×µ¼8ÚýF·éVùþÃÖfF=¸¶š­á¨#PGï°þs¯¶«›“ö*‹-unm옦°Ù³Øèüúÿ\015Å™âØí­õlô ¹c·kÒôíüÿ\0øDe:.ÌNF€éŽ|?’“šæ¸µÂ4 ¦"4âuLKÿÑò±ç³ƒ[]w¨ñºº¡Äx“¥mÿ\09V•©€ÊÙ‡½ñ/qtžD~®hoî}5&(ÜÅôÕfCQ¯ÞÑì~¦ô¼»²]–)ÅÊed>ó|¼°¹ÎhØßw¥sï÷ÿ\09Ž»|Õïµ–UŒ6¹®ª÷ä4šÜ¹¸Û_êú[]c˜µb}EfK:^uY¶Êî-}k†ß{\\×coÿ\0¹5½~Ïøv\,~¡õ‡«àÑe=:ÿ\0²5öz–X=ÙWZç½Ûœö·ŠÝS=-»=4d ¦vP D1Ķ‡àáâe[M?cs]_Psì©öc=– |ª-nëêõ®®ì_J¯Òÿ\05êж)f;Ùmxô<Y@Ó'Úk1\\Yc›·ô{F¸J²ònÍmcQnçUŸQÆÂÛý•ûÝú;ënU›ÿ\0‹]./QêC¥c[C¬oP©Ö1…õ—Ín~‡èº·ï±ÿ\0BÝö³üÏz©Ÿ—0#Aê&™¡Ì\
+–§Aü¸Z—gô³ŸafUUXé`pk½ ‡n±£o«ôÿ\0àÒ×h›^ïT[^.A ÜêFç6ŸwÓÿ\0Œô•Ÿ«Ý Ž‘f_Q©ÙÙŒ—Q‚^im­¦ŸL»kÞëëúzxû=<¯æ½5‘•œ3kÁu¿³ñ1\,iÆÅ–¶²K=Khm\,¾ýêdÝúOújÐÁXÂɈý/á´É:Ë®´¬»ì¶÷úp±„¶£ƒuŠÇöÕRÂݺF Çqÿ\0‘]Ö.‰vMÎc}6Xö:ú­k˜I{ÜÛÛËÿ\0OÙþ`ÜÇVv¸<8‚Ðï:ÚðÕj&&"©lob wßóÿ\0 ?D¬¤×ºÊ©‡XçÚèу{Û_úK=¾ÅO)þ¶U–Î÷¹ûÈÔë»s¿–õ<~gË• §à£œu%7KÆø÷7Úããû‡ðAZ×4[E…µ5¡±P{O¹ðÝìvÏì·ÝZÉì«KuáÿÒòµÕUÒ:ƒ~¬ÑÖj¥Åk6Á6@¹ödmŸN¶»ÚÇÿ\0Ó\\±=ø].UÎéÝ?Î’ú2KŽ•‚”7~ïu¤ÙémØ¥Ãvi!_‹¡‹Özÿ\0FƯ ­`ªÇý¦¬¦í·ÚCú꽯ôþÏI®ß_öÖVnUd;!”¾·¼ƒ±çur5†þvßoç-þ·õ´±´RÇn'%Õ°Ö-’^\\ê˜}k7oý% fÿ\0ðˆ§ëv@¯ ¶S ¯í!³@çX粊6ló{?Ð~ŽÏSÔSÔ¾ô+ /íKõ#¬ôΕվÝÔ+aµ²Êm{¶µáµcèêÙs7„{?Tõk]WÖ­T/n6 a¹5[`m·â¹Õ·’ƽûñëÛ•éîõ=%ɧ^üƒƒƒfVßÑVY5Tç=ÍÜìF³ìíôù–[oø:íÿ\0F²³ìËêVäåÅ`‡—9”µµµ­­Ý]Uìo£SÆçÏÒÚ™( ›#¢î#CW_ö·Nh}¦Ð#¬¢¡c@¶úZvá³ïLäcï©ÎûO­é1ŸõÛ\,¬3—‰•ÕÍ 5嶵»}»žïOÑÝ>ßOó?âÕ|_«½w7fFM»'áÂ6ÆïsØæíÜÑûÞ¢µõs7"ŒÙ—a æÚñmxU¸ØêÁ-mSûߥwú+?àÐ<P=¸£¡ô­1'qHòþ±[™Ó212ë\\}³^ã¼Õé“ö‡³pözÕþӯزMùÏ\,ªël s}¾³ˆ7û=bßQ¿öâêêé6êÕq˜LÚYö:%¤¸Séeb¾±fCIuxÿ\0¤Çô?ÂþŽÄVaìªË²*e˜x`Ö2lÛµÖ{¿ISïÿ\0¶¯WÓôÿ\0ô“ež15_ì)רp:gKè¹\,¹Ù9N5ÔAuì;^ÚËwYex›luÞ…®Ù’íÿ\0¢¯ô•Õo©ú<“e nÁ79å¤ûXð~…Ònÿ\0_ëôù¬\,e•SXÅp¬¶³A˜ ÓµÐïѽÕý-ÿ\0˜¹œ¬[k¹÷ÖòIpG;]¯ŸÞüÄ¡JìÑ=\
+ëXÖ½±%”=®ÚN„åÖiô=«1Ãkœ@Óä¬ny€Ðÿ\0ih«“.$w%3 ÕxÿÓòÏõ+O\
+ò1Y·RÒæ8wƒ¬núMßYس5åZéïý#¨ä\\ßë¡ÿ\0Ra5=zè³(ôØýn¶EeÂÞk¸À¹­ôØw ÎiÙ·c]ôFßì"X1ëoÚ+µÔÜOç8´ÀcXÀ=Î×c(ø/ÒzˆäYcª6ºÇmsÜ“úF¾¶cÿ\0œôÑn}8®ý]õ¸–ÃZù°¶}»ÿ\0N¦¹¾çÿ\0=[ÿ\0°¬ÑÐ1wl·+6ÖÐÖ4—àlGm=ûI³uŸñáTYF3‹†Û³Yà÷6¶ØÇÙ 5°¾Üoî¿ÿ\0I¬Ó½ÀÈ% Z%¤ÎÐ)ãÚismh`™ÚHŸÍæÙûžïøĈñP:ìì»ë&u¤`âWû7§¹‚š±)¹ÍªFÖïuîÛeîÿ\0Mîý3ÕÊšz~[òózµŸfkF=¹¸„:ɱŽÙ„Ágë8þÊ®®Û7lŹg;7¤XÍ–Y’÷—¸9µm$oÛý-¶mþsÒÿ\0Á7çáYY£sŒØ×Ùi;œDÿ\0¤vïðv_¿wçúIœ7°®ëïêõ=W<atºXÆÖ2rA>«\07sY_¯c=Gæd¹­õ>Øû=Ko·ÕþiQvsnƧ›+kl`¡í.c£«ý%vÿ\04ͯþ“ýô¿£e^µ#Ðk©€3ìΰX=9õ+}ðno¾«?ëj·OɲÜ{ñýfRÜ€Xÿ\0[RDï­¼;c71ž¥ŸàÁ*r¾-Q;ºû<[Y—»;•ÐÓ@²à\\ 9‡ÑÛíÞÍÞólþ“êzË9®­¿h«$:ÚÏQÁºo#ùª÷£é¿ôŠí½;ƒ‰©±ÏauÕzeŽ qs«mvk¹þ“··wü­µ¡•¸zu>‘€Ö¾Ò?{o§ûŒM&µê¿e)k§‹ÔqjÅ°1ŽÜ6ìHÓ_ë\,Åg7%÷Úç»—\0à4}\0«)Mé{õ^+£ÿÔò¿—)çÃHîðü©$§¨éøëØž¦ êØí.ÊÄçÖ ÿ\0½ zÏÓ~ÏÑçâ×úOûWK-þeV©ÑpǵƷÖ]ê1Ä:Ò¡Ìoé=Íc?œþsôË 3'*¬ÌK Y8>»È!uß´úÖ–‘Ôvt^¬HÙŸSW²yoQ¥‘é{ÿ\0šÌ¯ÿ\0B?›ý-ŒyoIkù±Ê 5+®†<‡X Ž¥ÌofûgkÛù¾ú½5j¬¾•‹W¨ÁwÚ€$\
+°º8sèÈ­•½¯oú:¿ëHÕýU5 :Uƶœû!ø9µ¾·Õ{t«¾×ÕN_·ôþ‡­öïGù¿ôj˜}"ÖŽžãûR‡üv2ºƒvý"úŸ@ÊcvŸSô¾¢y”RQÂY_õƒ¥º˜º¶¾g¨\,tÆ抷Òßë׳þ)fÝÔz]öŸYÞ£H5öØÀýÍW3°0°êm†Ë¨±ÌÞ žÖ{­¥›m«ôŒúì}ô—=‘cÉØlµº5Å¢@çÚømŸô’ˆ‰ÚÓæÜÀêÃûæ¶úßX¤5Îun½¾‹šú÷~‘›6ûÛb躆>;pkëXDVËXÛ[Ã[cšòY¶Ïͱþ¥~žÿ\0ûmr¸}-ÝAÕ³Ç{žÊîi×`±Â¯´5ÃéÔÇ=³ü'õ×IÔs1oôñØóNZÚF†kcÊioçmÝc¿®ªó2­évÑ—'ŠˆwFÛò济uŸàë«é<’!®.úv{=¿æ1eu[môÚúÝ#Üáô±èÛýoø6#7¨à7Õ²^1[ëu²X÷îö:š˜ßôŸ¹ô*¯úE‹76Ì·¶@ªšÁm43F1¾ þS¿ÂYþGkÅ-ú(KÓÂ6@L’$Å$¿ŠzÿÕòÉÑ LGÎRrE%/À#C=ãò~êMsšàæ’Ò5¾ä£]tî£üRSÓý\\úñ—Ò[öL¦Κÿ\0ç1\\A¬‚eß«ÜÛ)ÿ\03Ñ]v'Ö©}M•ÅîÁ¶“¾k‹]S‡ó~…™;Ùú/ðu3#Ùÿ\0¼«ñHƒ:ˆîꊭŸTúÁÒºnF LÉPn;­y«Ó7Yê—Þ=•nnê2\,õ›ôö*Oú½U¸”_Šboc™q;[s«²t´¾Í¿ÍûW³ÿ\0E¯8ø$ªU=ð¿ ô*r쪳²2+µ´–ÒCn¥Æõ_SnÚÏYíþsÓgóU®g©uÚ32µb¶°ÙÛ[Ü_X=éÖ¿gæ{:H_US;.²ç—Úâ÷p P)%Ý©$’IOÿÙ8BIM\0\0\0\0\0\0\0\0\0\0ÿâ0ICC_PROFILE\0\0\0 ADBE\0\0mntrRGB XYZ Ð\0\
+\0\0\0\0acspMSFT\0\0\0\0none\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0öÖ\0\0\0\0\0Ó-ADBE\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
+cprt\0\0\0ü\0\0\0$desc\0\0 \0\0\0lwtpt\0\0Œ\0\0\0bkpt\0\0 \0\0\0rTRC\0\0´\0\0\0gTRC\0\0Ä\0\0\0bTRC\0\0Ô\0\0\0rXYZ\0\0ä\0\0\0gXYZ\0\0ø\0\0\0bXYZ\0\0 \0\0\0text\0\0\0\0(c) 2000 Adobe Systems Inc.\0desc\0\0\0\0\0\0\0Adobe RGB (1998)\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0XYZ \0\0\0\0\0\0óQ\0\0\0\0ÌXYZ \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0curv\0\0\0\0\0\0\03\0\0curv\0\0\0\0\0\0\03\0\0curv\0\0\0\0\0\0\03\0\0XYZ \0\0\0\0\0\0œ\0\0O¥\0\0üXYZ \0\0\0\0\0\04\0\0 \,\0\0•XYZ \0\0\0\0\0\0&1\0\0/\0\0¾œÿþ\0&File written by Adobe Photoshop¨ 5.2ÿî\0Adobe\0d€\0\0\0ÿÛ\0„\0      \
+     ÿÀ\0\0\0"\0ÿÝ\0\0ÿÄ¢\0\0\0\0\0\0\0\0\0\0\0\0 \
+ \0\0\0\0\0\0\0\0\0 \
+ \0s\0!1AQa"q2‘¡±B#ÁRÑá3bð$r‚ñ%C4S’¢²csÂ5D'“£³6TdtÃÒâ&ƒ \
+„”EF¤´VÓU(òãóÄÔäôeu…•¥µÅÕåõfv†–¦¶ÆÖæö7GWgw‡—§·Ç×ç÷8HXhxˆ˜¨¸ÈØèø)9IYiy‰™©¹ÉÙéù*:JZjzŠšªºÊÚêú\0m\0!1AQa"q‘2¡±ðÁÑá#BRbrñ3$4C‚’S%¢c²ÂsÒ5âDƒT“ \
+&6E'dtU7ò£³Ã()Óã󄔤´ÄÔäôeu…•¥µÅÕåõFVfv†–¦¶ÆÖæöGWgw‡—§·Ç×ç÷8HXhxˆ˜¨¸ÈØèø9IYiy‰™©¹ÉÙéù*:JZjzŠšªºÊÚêúÿÚ\0 \0\0?\0óþl³×\,-qU¹³fÅ]›6lUÙ³fÅ]›6lUÙ°LQZœBACLUnlÙ±WbÒ»ây¦*šQ\
+á|ÀÛ0•†0šïŠµ‚méße†#¦*˜MÇŽØ^z㌄Šf\0­ÔåfÍ…]›6lUØõzc3b­“\\¬Ù±WfÍ›vlÙ±WfÍ›vlÙ±WfÇÆ¼Ø =¯¦µÆÓHL¬Ù±C³fÍŠ»6lØ«aKtÌËÇ®+\0ï•3vÅT³fÍŠ»6lØ«³fËQSŠ¶¦†¸!¦ ´Å=+$^&˜9ªÓ•›6vlÙ±WfÍ›vlmkë\
+âGé7UO6lØ«³fÍŠ»6lØ«³fÍŠ¯E®5…9 1¬jqV³fÍŠ¯ŽNNÜq¹±WfÍ›vlÙ±UT·gד¨Ã+„AFÆ_ÈöqT»6lØ«³fÍŠ¯Œñ58¤ÒéˆfÅ]›6lUÙ³fÅ\\1q Eq PJ@¦)ZE<Ò˜™5ÊÅÍ›6*ìÙ³bªé?LIÛ‘®76*ìÙ³b®Í›6*ìÙ²ÕK U¬ØæB›n*ìÙ³b®Í˜\
+æ銻6lØ«³e‘L¬UÃl“\0)³b«ä ±™³b®Í›6*½M1§s•LØ«g+\,åb®Í›6*ìÙ³b®Í›6*ìR'àk‰æÅU¤œ¾ØŽlØ«³e…'¦V*ìÙ³b­ñâ:ŒO$ ÅVLÙd×+vlÙ±WfÅ#NY¤NªžlÙ±WfÍ›mzâìG—SŠµ›6lUÙ³c‚Š­Íš”ÍŠ»6lØ«³fÍŠ»6lØ«j*pa´%y  pj^Ñxâ¨7^&™ƒ—#ó5Æb®ë›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅWF*À`˨BFÀJxšà‰®=D €¤!³fÍ…͘bìUC6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«¦9œ¿\\nlUØåR惋Ú8I7LUNHŒFŒÁšŒ«+Õz`<Uص²pLG¬PÔbª÷ˆ±½cËšœn*ìÙ³b®Í›6*ìÙ³b®Å"Ô4Äñ{fâÕÅZ’\\sZb—34lššåfÇÄž¡¦*³Iš1AšXŒf˜ž*Ù55ÊÍ›vlÙ±VÀ®bÅ 6ø*HD‚«‚ÓH Ø猡ß…Í›6*ìÙ³b®ÇÄÜflUyr'\0`\,Ø!bkƒ’y¡óf9°¡Ù³fÅ]Š O8žlUÙ³fÅ[U-°Å#Nø¾žT?ÇÓºaê=0uU'ëÍ›\
+»6lØ«³ ³f늫›·dàN؆YR3(©¦*Öl5Ÿ§1€±WfÍ›v-o®üF#ƒ4× :“Ó[whmŽøõÒŽ ®b®Í›6*ìÃlÙ±TS]rN6lUÙ³fÅ]›6lUÙ³fÅ]›6lUbT7ÅŒ¼§?‡¦ 3O\\UÕ®VXX«³fÍŠ»6lØ«³c‘yše2ñ4ÅZÍ›òÅVfËaCL¬UÙ³fÅ]›eúcYxšU¬Ù³b®Í›BªFøªt˜#™O>¸Y8\0í•ïÙ4ÅQWöÂ&<z` ÷>ª|]p*ìÙ³b®Í›6*ìÙ³b®Í›6*ì’Ñiób­œtkÌÓ(FǶ+oð8劬–?Lâx:ø©¡\\€+³fÍ…]›6lU’€”8‡S•›D<@'!ˆ/\\q‘ÇŠS ¨@ˆ0Âü%Àx¸`LPª(ø›\
+ÊÜs\\U¬Ù³b®Å¡›Ób9±VÉ©®Vlm'>ت6lØ«²Õ¸åfÅW3–ÆæÍŠ»6lØ«³fÍŠ»6+ ^¡ Åmá^ Š¡rÕ¸šŒ0Ôm#¦bªÍ+M¶Q€®66àk‚^àŠ úfË&§+UŠsã4³´½q\,Ø«³fË¡ÅZÍ›6*ìÙ³b­ÔåfÌqWfË"™X«³fÍŠ»6lØ«`W1ËCÄæsSŠ­Í›6*ìØ´P‘Û"†˜«Y³fÅ]›6lUØâ„nr”Ðà¹6ëŠ@AæÍ‚!U=qB6+2…;bX«³fÍŠ¶:àæˆ<up\
+Šz/€¤!i—Cƒ ·W58¼ð"®ØÚœÙl(r°«³fÌE1WffÍŠª´µijfÅ]›6lUÙ³fÅ]›6lUÙ±ëLÍLUflÙ±WcÐ×›FÉ22P`\,meë§\, *zlWY›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÀW\,©¤å¾/pªت6lØ«°n8ŠMú`\,µ<MqTßT‘\\¸R†‡’^kCñ*™¥Â…¦ÊAbF6¹X)$Û³fÍ…Í›6*ìÙ³b¨˜® b˜”’—8žlUÙ³fÅ]›#'(Šb®ASL%¸Xù` hkŠµÃ0ãTqü6®3/µ0ªžXÊÅb ñU­\\f\0²m狆 M!ófÍ…Í›6*È<½f.ê×\,¾«. òÕòÚHytÍæ+Ôºz®ˆêÇófÍ.Í›6*ŽÓ‘]èض«%8á|R˜F\\Ó´ÝqU\,Ù³b®Í›6*ìÙc®\,Pq®* 6ÁQOǜت`×”Y½LK6*á–Z¹Y±WfÍ›v>#Fß›LÔ­0q¼Žbk‚•¬Ù³aV×ÂŽø_ŠA¥IcÞ£é‚á<ÆøAF8VÞàÄÀà»ËŸY)…™e‰Æ–ÚÍ›6;6lت2Â@¾]û5 X¯LÌźâ­fÍ›vlÙ±WfÍ›ÿÐóþ(­A‰æÅ[&¸¬HÅN8ª×M1¹lyåb®Í›6*ìÙ³bª‹)QLa55ÊÍŠ».„câNmL^xx ”&lÙ°¡Ù³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ[¸ãqø)HÀšB…Û|Oό†À®[FW®)oN{àË°¥>R–æÍ›;6lØ«³fÍŠ¯‰ý6å‚..½U¦Í&Ý›6lPìÙ³b®Í›6*ìÙ³b®ÇÆœÍ1˜¬2p58ª«Y°°1ÃG¼FŽ˜VMMp Ik7LÙ°¡Qen™NS—†q\\wÄ.ØÍ›6;6lVæqU\,ؤ¨âxªae8p-Ëórq0ÄtÆ“\\—f¹±XV§\
+©Lؤ¢‡Å]›6lUÙ³fÅ]›6lUÙ³fÅ]›1ÐWÅ]›6lUÝsLr¹ zb«¦Y$õÊÅÄ^XªˆÌrºfÅ]›6lUÙ²À®Øó R1W$\\òž2˜èäášI9àJ–lÙ°¡r'3L·Œ§\\¸œ!©ÇÏ(“¦*¡›6lUÙ³fÅ]›6lUÙ³bÑÛ´¢«Š¨æËe(hr±WfÍ›v/jB½[¦!š´ÅQ7Ž®ÿ\0L ˜ï›vlÙ±Uè@Ʊ©ÊÍŠ»0Í›lšåfÍŠ»6lØ«³b€ÍC¸P§lUC6lت*Õ®#2…b5\\¯L¢k¹ÅZÍ›6*Ú©n˜õŒó\
+ríØ+Tâ²H  ŒU^æÌE\,.ÃkëñSŠ»6lØ«³fÍŠ»6lتa§ªy`[‡LM\\¯L¢k¹ÅZÍ›6*ìÙ³b®Í›6*ìÙ³b«•Šæg-×›\\«\\Ì´Ê L²ÕÅVæÍ›vlÙ±WfÍ›pÃXcDŽ­…c®/%Áe\
+0qâdöĤ§-±µ#|¬*ìÙ³b®Ç ®4b®~bªY³fÅ]‹ÚÆ$jCŽPÔb©”Öˆ£lAmAâåÏ\\µ¹eÀIÇLn[F¹XUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›0Ç2늭͛6*캜¬Ø«³fÍŠ»6lØ«³bÆdp£¹µ0õÆÓH\\Ù³b‡fÍ–£‘¦*Öl|‘˜Í3pé–ÊW®+l@q^˜¥ë+?ÃÓBæÍ›vXÊ˘«G6c›vlÙt¦*ÖlØä^F˜ªÜØç^&˜ÜUÙ³fÅ]ŽXËn1¸" ŠUE2Á¦[š“Å[&¹Y³b®Å­OÄrÁ¦ãE_0c¶Ç3–ëÅ]›6lUÙ³fÅ]‚íîB\
+ ›D\\J$;`|Ù±WfÍ›vlÙ±WfÍ›v;™¥1¹±WfÍ›vlÙ±WfÍ›vlÙ±VÁ#¦Q5ë›6*ìÙ³b®Ë¡qý¡\\2»†1e능xwå]9u]B;gèƘI‡~S¾~§ íÑX`<+ÔüÓù_—gõ„¦q{˜ý Y<z?Ξsµ½ÒÄq°-ÄgœïÜI30îr¼D‘ºKoxΜ͛-C³fÍŠ»ŒPÔcsbªÒܼ¢ŒqÙ±WfÌ2ÊÓk6lØ«³fÍŠ»6lØ«³e‘L¬UÙ³fÅ]›6lUÙ³c“¨®*Öë˜pU×#Ž#\08ª–lÇ6*ìÙ³b«ã~¹NÜÍq¹±Wb·‰æ銮}Î76.öåP>*¡›6lUR)=3\\©™®36*ÚõÁRÄrjœqT>Xb:e`Ë+QriŠÐ…‰ë•‹\\Ãè9\\GvlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Wb¶à3\0q\,r7\\U•Ea£Ìä~ûŠ¿Ã†1êtƒ†HÜØœUÌåºãsfÅ]›‰A;â’ª¶*‡Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í‹GnÒ/!ˆ±Wa—×WÑôÏ\\-ÍŠ¶w9Y³ UVLîu9.µòÍÄ°”®Ã"ÖMèNŽ|sÐ^TÖmÄG%+Nù^IòHxå‹YÜzm¾:[UU¨ÉŸ£oŒ‘t'"ÍrÌ)’€P¤E2³ód•Ù³fÅQšqP|¨(‚Pë…±¹ƒ uqë.ø:ÚU¯nDè0·.§+\
+b‹ÔÆ:ñ4ËI\
+tƳr5ÅZÍ›6*ìÙ³b¨‹TÔ86{tTÛ ÊŒQ®…0*‘ØåfÍ…]›6lUØô ñ™±UW`zbY³b®ÅDuZâX&)\0ZU qÈœÍ2›®Z7\\U]­h+È¡¦.×5Ä ®*ÖlÙ±TDú@A#\\¬Ø«³fÍŠ»6lØ«³W6lUÙaˆé•›l±=r³fÅ]›6 ¶¶õñT6lqgèà<Uo7Ä&˜Ó FW\\Rî¹³eÓ+[@eaL{faPÙ¬nVÁ7÷É2ñíªIófÍ’bìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b­…-Ó3)^¸cb¨~Ö^¤±ðàT³6lØUov` BY=FåŒÍŠ»6lØ«°ÊÇD¸¿ˆTantßËBÖ5ápÀvVy¤Ëe³ƒ…ùÕüç ´ÕxiOlår¯#ßMªÌÙ³d•Ù³f늸bƬ¸øìÝÇ\,§¡ÅPù²é^™Š•ëŠµ›6lUºåfÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»®*°–Æ.ǤÁV˜ª … 3/\\¹#\\n*ŽFP0\,¤¶3‘ÊÁJìÙ³aUȼ2Ý8渜¹–)SÍ›6(UŠR‡.Yyâ9±WfÍ›vlÙ±UÊåze-×+6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Çs4¦76*ìÙ³b®Í›6*ìÙ³b®ÍŽU-”E1V³fÍŠ»6lØ«³fÍŠ»0ˡ̽qTBV1ˆ;r5Á¬ ÇQ€\0’ìÙ³aC³fÍŠ»6lØ«³fÍŠ»51è+×.ALUO6lØ«³fÍŠ¿ÿÑóþlºeb®Í›6*ìÙ³b®Í›6*ìijnZƒᾋq WÀy$sA]Y5¿\\ ‡zÅÒMöp“uº‘EZÝÂ5N+u8m3cKnÍ›\,\
+šaCY°C[ÑkñWfÍ›vlÙ±UH“™¦:h¸c#~¸éeõ1U\,Ù³b®Ë©ÊÍŠ»6lØ«`Ó \,•8 uÁž° LP×–MNVvlÙ±Uñ'3LVx}1‰Äþ™®>y½L\
+¡›6l*ìÙ³b®¦lZƒŽ"qWfÍ›vlÙ±WfÍ›vlÙ±WcÑ9œf)ð8«™ F¸ÖrýqòÉÏÅ]›6lUØôr1™±UÌÜq¹³b®ÍŠÁ ˜ÐeMˆÐâªx¤mÇÍŠ®väq¹³b®Ç*òÆãÕ¸â«H¦VY5ÊÅ]›6lUÙ†lت³=V˜ŽjæÅ]›6lUÙ³fÅ[pΪ!÷¼SÕjS\
+°õÊÍ›\
+»6lتø͆/*2S 8œÕ8«oJíÍ›vlÙ±WfÍ›v8©¹CwiŠTsfÍŠ›6lUØicr‘!\
+óV˜ª¬íÍÉ!mǧÈà1×ǧÄ`*=r³ØUÙ`Tåfb«Ýxã2É®`*qV³bþ†ÕÄØ«³fÍŠ»6lØ«³fÍŠ»6lkn²©'A‚TÔe³–ë—*ðb3vlÙ`W¦*ÖlÄS6*ìÙ³b®Í›6*Ùbv9Y³b®ÍJcã§-ñIÀ1U Øä^G3¯Š­Í›ª[¦*·6Yv9X«³fÍŠ»6lØ«³fÅ¡„ËŠ¨æÁZ˜…p>*ìÙ³b®Í›6*ìSÓøybxm£À·OÁº`&’7Jsd¯WÑc´‹šõÈ¡Æ2Ü)ÍÙ³f‡fË\
+Nb)Šµ›6lUÙ³fÅ]–Mr³b®Í›6*ìÙ³Sv+ ¨Ä°e­À‰H8ª‡L¬|­É‰ÌUÙ±ën™L¥zâ«rÔTÓ+-M qUÏf)$œñ<UÙ³fÅ]›6lUVÝy8;P· # £~ \\]™À¶ÍPè…Í\,Ön«Ë‰øá“ß+EÇ\
+¥9³Ø«³fÍŠ»6(°»Š¨¨ÆMŽ*‰ÓÜ$À·L2Õ§ŽU0:f.[©ÀFöv¦³fÍ…Ç#q5ÆæÅU&“Ô5ÄófÅ\\ 2ɯ\\¬Ø«³fÍŠ»6lØ«³fÍŠ¶½qi¸ñÄ3Wv+·Ä³LU'lJu¦%Èæ\,O\\RÖlÙ±C²èF\\b¬0uÜ!P0Ái¤¿6lØPìÙ³b®ÍŽ±Þ˜ºD\
+Ôâ¨lÙg®V*ìÙ³b®Í›V‚¸ªÜØä^F˜`º[2sÅRÜÙn¼IX«³fÍŠ»6lØ«³e¨äh1ÏN¸ªÌÙ³b®Í›6*ìÙ³b®Ë¹X¤4å¾*ºèÙS€n™¦4m±2k×k6lØ«³bŽœEq<UØó+0âNØÕ4ÌËÄâ­e«5•›E5ôòŽ‰< Õ®ø¤¾kŠrÛRÍ–»œ4SÅP™³fÅWF902êÐD††¸´—M"ñ=1d­Ô3fÍ‹e–®V_×k6lØ«³fÁ&ѸsÅPê¥?Ó(G\,зà‹ÉVJqÅVOLj¦#]ñ¤“•Š®zWlȼØ(ïÇÄÜ7ÅSwòìé­Û\
+$ŒÆxœ™IæXšÌCÜ ˆ\\È%rÃQÍ›6*Ù$õÊÍ›vlÙ±WfÍ‚­- É ÅP¹°]í›Zb®Í›6*ì4B$‡ŽâÐÌSlJ¬‘xµ1˜ù[‘®3vlÙ±WfÍ›v/mrÖæ£ÍŠªÏ1¹K6lUÙ³fÅ]›6lUÙ³fÅ]Žài\\n\
+IW…*…͘æÅ]›6lUÙ³fÅ]›6lU°iÓ1br³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b¨Û[‘=ðnk•Ž•ß[B2°L…Jí±Wf³b«ËôöÃkO1\\Y¯&˜Nœ®˜(F_j2_·) plØUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›‚1!¡Á3Zª­F*€Í˜í›vYËN¸´±ÐTb¨|Ù³b®Í›6*ìÕÍ›vlÙ±WfÍ›vlÔÍŠ»6lØ«³fÍŠ»0Í›Wôjµ† †@R‡?\\\
+·0ØfÇÄBº“Ò¸U3ÒôK‹óð©¦3RѦ°j8Û= ùaåË=BÈL@åA„?›:leÐPdøvaÅ»Á:bö÷‰HAcLnAš*{³.Í›vlÙ±W`»x9Œ0d7"1€¤!æOM©‰â³ËêâXPìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í—C•Š®Yzfg-Ôãsb®Í›6*ìÙ³b®Í›6*ìazöU4Ày±Túã]iS5Â9›ÆæÀ+³fÍ…]– VlU9·»DŠ‡®ÜÈ$jŒF§+ ª"Ñ9Èê6ÞˆÙ|2ÁúÂÊ€تO›6l\
+¼FN4Š`Û^.xœ×Ð÷ª6lØ«³fÍŠ»6lØ«†-ÄSÇs8«G*¹³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›51WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vl° ËàqU¹³fÅ]›6lUÙ³fÅ]›6lUت¥V¸–-ÐStL„›Œ ç|R9¸ \
+¤Ã‰¦V9Û‘®7\
+»6lØ«³ Ø"Þ çDÅmÊ>X‡¦H"Ž˜E?Û8¯QiÎlØUÙ³fÅ]›6lUÙ³fÅ]‹ÛÃêb2ÁèÔ8ª”èb4ÄI®Ô(MF\0Å]›6lUÙ²øž¹X«ÿÒà´ÄŽjœ¬UÙ³fÅ]›6lUÙ³fÅ]– 2³b­–'®VlØ«³fÍŠ»-M r³b¨‡Ÿ’ÓàNøÌX8¥1UÙŽlUÙ³fÅ]›6lUÙ³fÅ]‚’×’òÀ£l·4N8\
+B… 2²É©®V;.¹Y±WfÍ›vlÙ±WfÍ›vZ©n™Xa¦"3|XÊd+ÔcpçQHÇÙÂs×m]ÈåfÍ…]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lU\\CU®"E1Q51kŠ\\1RŸ$1BûS)æÅV:ŠâdPâ­fÍš˜ª;O‘c$œNöA#íÕŠå\\U¬Øº[3¯!‰úf´ÅVfËe+×+\\¨[¦f—®\
+µeq[®vÀʶ´»6lØX»6lØ«³fÍŠ»6lØ«³fÍŠ·L¬-±˜«³fÍŠ»6lØ«²×®U3b©’"ßN¡NØÑ#‡Ì[®\
+V³fÍ…]›6+ |ñU\,Ø鉦7vjcã;àïA\
+Wª]›-…VvlÙ`Wk6.œÆ/Pà!$Û¦–f®YÛ+\
+›6lUÙ³cÖ&nƒY˜b²Åé\\KUõ)–‘òÄqë!QLUi9Y‰®lUÙ³fÅ]›6lUجs´bƒÅÒܺòÅT™‹ãqXÒ¦˜Ç8ªÜVßÍŠªÏJ퉨©¦Uk˜b¨ù-bæ:à \\ܳ/ CvlÙ±W`‹h=jà|e'§Zà)ySÒjc '®+rüÜœG\
+™‰®VlUص»„;â9±UYØ3TbY±HÔp¾8ªÎ'+$Rh­és¶Ìž›ðÀ)"”ófÍ… €OLZL|«roŠKÅœS_ssê­0 ¹U\0qÀØ«³fÍŠ»6lØ«°M¥ÓZ·%ÀÙ±TÊóW–èqc¶æÍ€\
+I6ìÙ³aB¢8Ƨ+6+nÍ›6*ìØäBý2™xšb­fÍ›vlÙ±VÇ\\$4NX`·¸ U ›6lUÙ³cÄLw¦*«¡6gÓ Ž¹X«³fÍŠ»6lr¡n˜ªÜÙdqë•Š»6lØ«³fÍŠ»6lØ«³e¨äiŠILUK6lØ«)ÐݽZrÈõè»é\\N9Þ1E4Æò«Tà{UslÅ9ˆ+Ôaå¬ñztl wé•øqÒBU›1Í…Í›6*ìØ»CDçˆb®Í›6*ìÙ³b®Ç*éÁ–nˆ§–*ƒé›æ¬iÅ]›6lUÙ²ÕK ·B†‡[›6lUXÁEåˆáˆ`a¦b­©¡® šãÔN86*ìÙ³b®Í›6*š@Ñú{õÀsICEéˆ#+®\
+WfÍ–p«Y±æ2q˜«²ËvÊÍŠ®Fâk†Qê…†æÅW;sb|pK[€œ°&*gb¼{b•\,Ù³b‡fÍ›_q`qk™06lUÙ³fÅ]›6lUÙ³fÅ]–¦†¹Y±VØò9Y³b®Í›6*Ž´‹ë ¯†žpf“:Âç—|SR’9 Wî©bt¦§ÍZáWfÍ›lf-Ë+6*Ø48%æå0.jâ®Í›6*ìWÐn<±\,.(œqT6lÇ6*ìS˜ãLO6*ìÙ³b®ÁÂôz^žÍŠ¸æÍ›vlÙ±WfÍ›vlÙ±WfÍ›v(b!yvÄðI˜¸wÅ-=©HýCÓà×¼ ¥€°; ´{ êBp·-¡ :Œ*Ë|×F4tðÈŽ ¸¾–áB¹¨\0Ù³f®̓­­Ñ—ðÀL8’1Uh!õzãe‹ÊŽSL§¿\\\
+³·Ln ¶uPCaT1Í‚ÄŒf*ìÙ³b®Í›6*ìÙ³b®Í›6*ìR(ýCLOý6®*é¢1bx"æA!¨Àø«³fÍŠ»6lØ«³fÍŠ»6lØ«°T¬7À¸àåzb®Q¨1¸ ˜rÄñWbÖ𙛈Äpn˜á%ÅT. 05#†ºÏÀ®b®Í›6*ìÙ³b®Á>˜ôùwÀØîf”튭͛6*êæÍ›vlÙ±UXœ.dznfà{æ[NQó„2µ»ò^£GjÚwÔH§C…˜6÷Q{ÀvÀX«³fÍŠ»¤!–¸YJŠ Ua4ÍÄæ&»à•PÉŠ¡sf9±WfÍ›vlÙ±WfÍ›\\ŽPÔbpÎ)ˆæÅWúdŠãظ”¦"MqV¦(Ò–Äób®Í›6*ì°§¾ ±…e`êQÅWKšÜªõÀ¥JðE¼Ä0Vé‹_*ñqTÒ˜ÌÙ±Wf͘oŠ¢¸{à\\X’‹LG»6lءٳfÅ]›6lU°HÊÍ›vlÙ±W­þ\\~a~‡Ñ”íJc0¼õ˜#ôÕ«œœ1^†™D×®K‰»qÍ›6E’.ÞÌÎ*1“Û˜M Ó.{KP—›í‘³l¶¤lqBq¹&.Ì3e\\UTÀxòÄpÅ\,tl/n§k6lØ«±e€°ä1 ÀEâpC‘CL¬s·#\\nvlÙ±Wb€NøžX4ÅQ²¹eÉÆà\
+ìÙ³aWfÍ›vlÙ±WfÍ›vlÙ±WfÍXù\
+â«3e‘L¬UÙ³fÅ]›6lU …‹¹c¾76*ìÙ³bª‘Hc`qk›ŸXSæÅ]˜fÇ ©ÅShôÀÐz¾ØPÉ#ã» oÃÛ¥5bp ê“]fÅí õØ.½Ó~­\,m VlÙ°«³fÍŠ»6lØ«³fLjÎ*³6YÊÅ]›6lUÙ³fÅ]›6lUØ6(T¥p*³ÀRÜP‘•˜šæ‡fÍ›vlÙ±WfÇG‘¸®äጚ-ÄQú¬´\\U\,Í–GC•Š«Àë‹?0b:f\,N*ÛuÆæÍŠ»6lØ«³f¹dŠµ›6lUÙ`Ó+6*ìÙ³b®Ì7͆ZM˜¹™Ct®iP&QR6ÆgIÕ<¹6~¢õ¦@"²y˜ªŽ™ÌKvF4…Å­äàÃ*xZâØ–MŠgssTÛ I©©Ë.H¦7vlÙ±Wf˹GvlÙ±WfÍ›v>7àkŒÍŠªÉ/©‰fÍŠ»6lت-2`V4Åã–‚˜‹œ_ÿÓóþlzF_¦fˆ¯\\UflÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›v=$dèq™€®*ªó³õ8–?Ó8Θ«³fë‚ ´iÅPÜHÊÃy­Ö5¹\0l\0ڬ͛‚¬[›ÍUÛb®Í›6*ìÙ³b®Í›6*ìÙ³b«Ä”ÆÙ±UHSÔjb×0zC|mœ‚7©ÅïçôÅP†lتiop‹% +1'\0V™aˆé‚“j×$rÛË&½r°¡°HË.O\\n("$WS͘í›vlÙ`Wk.‡Kvc†"Ä\,\\Ž TŸ6:AF#…]›6lUٱʼ±f‹Š×CæÍ›pð/!€Ð× áÔcâpQª\
+8×–”\0Ûb×óm°15‚ìÙ³b‡fÍ›v/…†j⫤<q¸à¥ºcH¦*àiŠ ˜\
+by±WófÍŠ»Ø"»ŽX ’ÍF%C0»h¢´¢ødb*Äã^öI‰;b\
+ür"4ÈÊÝ&ìq¹Žl“À©¦/%¿åˆ)¡®/%ÁuãPù9Ñ­mWM2ÉNtÈ6[ÙU=0~*ë¹}I :WæÍŠ»6lØ«³fÍŠ»6]V*ìÙ³b®ÁQ\\ðN'æÅUèÄã\\ò5ÆæÅ]›6lUÙ³fÅ]–r±HH ¾*°‚:åb÷IÛÅ]–Ž™Y±W\\Ù³b®Í›6*ìÙ³bª°GêU¶”7†% ð9R¿6®*ËW^…¡áµi‘[¹’³•Ä+›""&FD»6lÙ&.ÇƦCA׊Á'¤Ü±WMFhØ–¹˜Lj0>*]›6_Šµ›6lUØ6ÎØL 8 Šv‹aŠ·q¨1s¹sSÅ]–E2ÐTŠN¼iŠ¨æÍ›vlÙ±UHŸÊ‘¹ã3b®Í›6*ìÙ±t·.¼†*¡›\,Šeb®Í›6*ì8´’/N× òÃÐ⨋¥¾ –I=r±WfÍ›v+„;âY±UIX3Tbyt®V*ìÙ³b®Í›6*ìÙ†\,ÑŽ5ÅVDx°'ÜÈ®¢˜_—SŠ´sfÍŠ»6lØ«aˆèrË“Ôãsb®Í›6*ìÙ³bª†Fuã‰âÖäybnjƘªÜÙ²×®*ÖlZe\0\
+b8«³fÍŠ»6lØ«³e…-Ó\,£/QŠª[8Gâ·²\,„À™°RmÙ³fÂ…ÜÍ)Í›vXé•‹[\
+µ*ˆ#®V»P­¶Å'gfÍ›;6lØ«²ÔÐåfÅU •ÄófÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]–·L¬¦À'jb\,Ò©^¹Xe©ÚˆØc(®*ECæÅg‹Ò4ıC±Ü +ÅÑiŠ©æÍ›v*°’+‰b«51U›¡Û\,æ„ãXÔ×2š⪲ÃéŠâ8¬“z‚‡Å]›6XRzb­fÌE3b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í‰=F ã‡? X'<U#Í‚¤´(Üp;¯LUnlÙ†*ìØ»BòÄ1WfÍ›vlÙtÅZÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*‹·»0©_ ç‘'›vlÙ±WfÇp4®7U·OQÂà½BËêà7Ž·N@Øq©\\¬ð€:ŒU#Í›6*ìVLƃÅ­æôMqUi¬Z!S€ðt÷ÞªñÀ« ¾àbO6YR¦‡+vlÙ±W\\Ù±H;…8ªž=– ½³\0þV㊯xŠŠâX\,°tßb’ìÙ³b‡fÍ›vlÙ±TÂÞ†3€\\N:9Jm‚eˆ加±Èå F76*©\,Í/ÚÄñȼ1Gƒ€®*£—Äœ¬:µ†&Š§®*’ãÙ(+ŽœÓ¦\\ŽqUÙ³b®Í›6*ìÙ³b®Í›\,uÅUÒå‘xöÄ ©®\
+UW„©ÀàU<Ù³aWfÍ›vlÙ±Wb‹'Le3\\U£¾lWÐjW"˜«Y³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅU"fSðâ³O+.vÆÚ°¾½e#lU qG—šÓÍŠ»6lØ«²Á¡ÊÍŠªÈáÀijfÅ]›6lUÙ³fÅ]›Š>x×^˜ªÜÙ³b®Í›6*ìÙ³b®â­q±¯#ŠJÔÛ©+”é–\\¹©ÆfÅ ™€<5XE0\\weŽcS\\%¬r7\\nl(DM `)ófÅ]›6lUÙ³PæÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³ ±Ž5ÅPÙ±î(q˜«³fÍŠ»®?Ó'):à¾JA‘LQ_ˆ¦U6+\,@\
+ŒRìjk•–9DS;6lº²òÅPY±Yc¡Û"˜«±HÔO\,1«n(q¹‰®lUÙ³R™±We«qÊÍŠ«‰ö¦"Ƨ+6*ˆ¶›Ñ`Ø2÷RúÂq¼Ø)]›6l*ìÙ³b®Í›\,)=1UÑý­ðÀ ¨W|²äâ­ÊjÛc3fÅ]›6lUÙ`ÓŽ Ë\\Ð\0‡ªë•‹ÜÒ»bUÙ³fÅ]›6lUÙ³fÅ]›6lU£•IË¥s«êßT}4¥xç‰Ìnv÷Öäx}2Ûb©=ÐV§Ž$9nܘœZÞ‡®* E2±{€+¶!Š»6lØ«³fÍŠ¢í#w˼„&ã†OLâ³Mê BæË9XPìÙ³b®Í›6*ì§ÞýUƒx` ØóVW}æÉ.!ôEiL ¡Ý¢³)¾GñÊìŸdÓ#À*ƒ!#iŽ³"I/$Â̶bÛœ¬ PA6ìÙ³aC€®b)ŠÂ;æ˜\0vÅV+S(åfÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÕÍ›6*ÿ\0ÿÔáv®«×¸t#l.­2ù®=r³f®͛6*à+Šˆª1!¶.’ÓZ`a¾&E0o¬¼pššà FiöŸY4ÁWzO¢+\,o~ªkƒ®ua:Ó\
+g^&˜ÜQ‘‰Â)×k6lØ«±ñ'3Lf>7àkŠªÍ¦+ðCHg!qIlŒkËAæÍ›vlÙ±WfÍ›vlÙ±We]±x¢1æ1©Ái¥ˆŒO¼ŠFcS… fÍ–qV³e‘L¬UÙ³fÅ]–»ZÝò®) ÅUÖEãÔåTåb­©¡ÃK{¥A…Y«LZA¤mÝÙÐ`2k•›\
+– 7Y±UC)aC‚–Ð2rÀ8-.È^8ª׉¦7-#\\¬U|kÌӚ߀®"À×–PSCæÍ›vX4Ì¢¦˜(Dâ8ª¯\\n-3†éˆâ®Í›6*ì°*r³LU{­1™e«•Š»6lØ«±t–‹LC6*ÙÜåfÍŠ»¦‡›LàÇ\\^)ŽƒëL²äí‚•¦5$åfÍ…]›6lU^*\\©%ä)‰r=2±WfÍ›v/ > ®!‹G9ŒPbªn¼M1¹lÜr±WfÍ›vlÙ±WfÍ›V‰Âñ758ÜØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lت´dS|Mé]±¹±WfÍ›v/õfã϶!ƒþ¶¾— U›1ÜæÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]˜fÇ*銶WŽ5^¸ÜRìÙ³b‡fÍ›vlÙ±WfÍ›_s9N¼ 0E+¾6è|X:§¢6lØPìÙ³b®Á<—…;â*œ±§m±V³fÍŠ»\,\
+še`½>!\,”8ª‘·`¼»b8o¨:ƾ˜ÂŒUµ45ÇrõøÌ°iŠ¶â‡lnY5ÊÅ]›6lUÙ³fÅ]›0ßÑ•ÅVa…´Ác á~850jé Xœ +•ŠE×\
+¬"™X¤½q<UÙ³fÅ]›6lUÙ³fÅ]ŽD/Ó‹ÛH#;⨫Pµ¨Ä‘¿ÁÓ¼Ä=Wò4›¶Y›6l*¾(ýFãž ¡ÆE'¦Ü±Iæ3oŠ¨c¹šS›vlÙ±WfÍ›vlÙ±WfÍŽU劭͖ËÄåb®Í›6*ìÙ³b®ËefÅW»rÆfÍŠ»6lØ«³fÍŠ¢¬Š†ø°ÂðDSáÂ`iÓ\,»§¤§6lØP캬]iÃPÍ›6*ìr7\\nlURY=C\\O6lUÙ³fÅ]›6lUÙ³cr4ÅVæÅ净®!Š»6lØ«t®V(£mñ3Š»6lØ«³fÍŠ»6lÀWpË*W®)£Ž]0n ±ñ:â©n ³º6ÍÈ`lؤÝyxnŽø*ÙÖ8ýé…8ñ+L¤ß5÷ú­\\G68!a\\([›6>8ÌÄb«3b’Äb<N'Š®N»æ~»csb®Í›6*ìÙ³b®Á–J à<R)Lf£nuâä K¯¨õ8»[¨Zâ¨<ÙdPåbªˆœ±®¼M2ÕÊå3rÅVæÍ›vlÙ±UH„¼I'ÖÂxd_Ò8ª´·FF® ÍÈ×›vlr©l¦^8ªã!"˜ÌÙ±Uh­žaTÄÊ”4=pÛG¹HA…÷¬V+Ðœ\0ïJ‡ÁpÃÍ+Tr4Á©/¢œNA0¡¦V[šåb®Í—C•Š»-V¹”TŒ3»·Hb ½N H qLf;‘ÆáC³fÍŠ»6lØ«³f½2ʕ늵›6lUÙ³fÅSH}6ƒ~¸XÛ˜1 ¬UØâäŠW›vlÙ±Wf˦˜¸´r+Š¨/\\=Óæ…P‡§L"aÄÐæ GC„D_2’06bI뛺™°fžŠïGÆßƱÉE銡rÕŠŒ¬Øª¼×M0âq‚+˶'†Ö\\d‰ÀM*UȲ°UÕ·¢j0.vlÙ±WfÍ›vlÙ±W`³81ñÀ™±WfÍ›\\Ä×óijb®Å΢€í‰æÅ[&»œ¬Ù±WfÇ*é™”¯\\UnlÙ±WfÍ›vlÙ±UHX†½ÚŠ0(4Ç4……¬Í›6;6lÀWvZõÇ4l¢§¦3Le¶.c\0!âpj]V.'\0ž¸£EÂ…¦sSQÍ…]›6lUÙ³fÅU­ãlÉéµ1¨å Fgr槫Aª6Äå…¢;âösˆŽø6/NöQï… >l<Ö´‘bªËÐávlÙ±WfÍ›lâñ°Ðà|°Jî1Tl±*®ØdcŒÅ]›6lUÙ³fÅ]›6lUe\
+ÊwÁw¶iUp®9 f£÷/ ¡8UG6lØz9CQ”ïÌ×)W‘¦6Nž*†Í˜í›vlÙ±WfÍ›le³rÆæÅ]›6lUÙ³fÅ]›6lUÙ³c•yUnizy¼; -uâra䧌?ï)Š¥zžŽÖ‰ÈŠau/6ˆZÜð¦ræêqV³fÍŠº•Í‹Âœ±)LUnlÙ±WfÍ›vlÙ±WcýCJc3b­“\\¬z'3x¸ŒUG6lØ«²êr³b­ƒC\\Q¦\,)‰fÅUá§|d½qŠÔÌMqKX²NQiˆæŘ?zÔ9W1zgo'¦ÕÅä”M ùâ¨^ JÓlnL/4ÈVÄH´­2E 0jì0±·Yø_‹Årbé‰HU¿„DÛ`<VYšcS‰b».™‡\\ȼ+…LÙg+®*ìØ0æà VQ¾*—æÅ®P#1Uà líÕÖ§\
+±tºdª½ò*ýœyZCSŒÅ]›6lUÙ³fÅUR^"˜ÂÛÔcsb­’O\\¬Ù±WfÍ›vlÙ±WfÍ›vlÙ±Wf®lØ«²ÃÓ+6*ÙbÝr³fÅ]›6lUÙ³fÅ]š¹³b®Í›6*ìÙ³b®Í›6*ìØøב¦+\,<qT>lÙ±WfÍ›vlÙ±VÁ¦bIë•LØ«³fÍŠ»6lØ«³fÍŠ¯EåšEã— ¡Å.(p*6lØUÙ³fÅ]›6lUÿÕóþlÙ±WfÍ›vlÙ±WfÍ›\\ª[a™Ð¦>\
+sLáÎ*¥›6lUkãS§û[b‘ÍÅiˆ1äkZ\
+NV[B¥8\
+p1´Ò–lÙj¥¶PºàÀœsz$ˆÂöB½q¸«³fÍŠ»6lØ«³fë–E1V³fÍŠª$¥3I)|O6*ÝNVlØ«±èiŒÍŠª7ÇÓTŽ¸¬\,ß.v¦¨fÍ›\
+#”陘±©ÆæÅ]›6lUÙ±OE©Zbx«³fÍŠ»6lØ«³f˦*ÖlÙ±WfÍ›vlÙ±VÔÐ×y‹\
+b9±WfÍ›vlÙ±WfÍ›vlÙcU|5Äqs'ÃLCvlÙ±WfÍ›vlÙ±WfÍ›v*Š)¾%– «\\V8yâ8"øb«$„ljbóÌ$éˆb®Í›6*ìÙ³b®Í›6*ì°+•ŠÆE1U*S6[uÊÅ]–NVa¶*¬ê×Ç'ln*ìÙ³b®Í›6*ìÙ³b®ËUäi•ŠBhÀâ«å·1Šâ2êpâƒ-Ó\0V³cŒdcp«³fÍŠ»‚¦˜Ü°i¾*«\,\\q{HXPã1WfÍ›vlÙ±WfÍ›vlÙ±WfÍ–N*Ö>!É€Å^ߊòÄc<XUwn± #®\0Áw7¢0—fÍ›\
+›6lUØ"õÀù±UiØ1ÛÍ›v- ^¦#ŠG)¦*¾h=<C–s ßÅ[» ¶B½F:‚z`»çFQÇ 3fÍ…Q6ÈNã*s¾]¼â!CˆHÜØœUnlÙ±WfÍ›DB@â ¹Ì 2±WfÍš•Å]ŠC1„Õq:S6*©$1©ÄȦ+ \0ïšj¶*¥›6lUÙ³fÅ]›6lUrFd4\
+¦º¤ŸL½M‘¤ªt¨ hqW—’Ó¦l\
+ìÙ³b®Ë™Y±VÉ®VlØ«³fÍŠ® QǦ7vlÙj¼1V³cÞ2q˜«²ÔTÓ+-k]±TOÕ ZŒ †˜a ä-\0HjÄâ­ Xãˆe×hæÍ–qV°Î×K7™Gl\,"˜gk©˜"1øà7Ñ"º¥Î¼¯†7íɉñÆáC³fÍŠ¢-£ZãúliŒW)Ó(šîqUE«S4ÑzGj@pN)|áŽØª-r°]²RNm‰ÅZÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìµ9YjhqUIcà+‰bÒÉÈb8«²ÃS+6*ìÙ³b®Í›6*ìÙ€®jSv\,Š\
+â8ðÜE1U‡6lت¤0´íÅ78é {f£Š_K¸[yƒ·L­]%Ó†L=-i uÆfÍUmÔ3Pà‹x•®B‡‚GLµ‘•¹¾*kV±Úé÷ÂUÅ&¹’¶k‰L\0PÝ\\™Y‰®l*ìÙ³b®Å­“›€q|rÛÅQ7°ú$S'®-qpgëˆ` .Í›6;6lØ«±T“Š‘‰fÅ\\qH$ôœ6'–1U[‰}fåˆâä/± UÙ³fÅ\\rÊ‘„€ÛâÓ#lU ›6lUÙ³fÅ[›ãÌÌE1<^ÞXÓP;æÅŒ~Ùc1šbªy³fÅ]›6lU©‘y @Š`˜n½5+˜Ô×®9œÏ Èü s;ó«3fÍŠ¯øe;r8ÜØ«³fÍŠ¶¯L¢k›6*Ø45ËwåÍŠ»6lتwgOnKu¦H(ĵ™P±„×\0\
+Îò$ì1\,ØUÙ³fÅ]›6lUÙ³fÅU­ˆ]0MøMŠ` ²ÄõÁJÖ9W‘¦7£ *é¡ß‚®¨@#â®Í›6*¯«Ì*£e*hzáÆ‘{\
+VL-¼eyY—¡8ª†lÙ±Uñš0É\
+F†Ø%/D‹d 5v¡d4ÀøòÆVß\,Ep¡HbJby°¡r¹CQ™Ü¹©ÆæÅ]›6lUجS˜ºbY±Uin ¢‡Í›EÚX=Ø%2¥²xi’ÙW—|mî ³¹eÅRÆ^'+íÈ׊»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ«À@ÉZ§™D×»6lءٳfÅ]›6lUÙ³fÅ]ŽASLnZš⫤N8Õ4 â’·\,KM'’'„×\
+òêr±WfÍ›vlÙ±UE–5—ŽZÉLÎ 8ªÌÙ³b®Í›6*ìRL.zŒO6*˜^ê²^¨Gè0¿69V¸ªÜÙdS-P·LUnl²¥zåb®Í›6*ìٲȦ*ÖlÙ±WfÍ›vlÙ±WfÍ›vlÙ±UÈÜMpÈ_OÂäNY8â«\\Ô“•›6*ìÙ©\\wÖ˜ªÜÙ³b®Í›6*ìr!sAÅí\\#ÔâªoŒÐã0uÈY!€ˆ¡¦\0¥¬Ù³aWbš6'– 1UkƒS´¾{3TÀä–Æâ©ÔÚÔ—1qs„Çs•\\Ø«³eÐåbªÐ?d†¦¸ÌØ«³fÍŠ»6lØ«³fÍŠ»6lتø߆9åå‰fÅ]›6lUÙ³fÅ]›ˆ\\ÐbòÙ´kÈâ¨lÙ³b®Í›6*ì°hk•›L_V•âô‰Û Žù³b®Í›6*ìÙ³b®Çs4¦R©cA‹fQSŠ¨bÖê¨q")¶eb¦£MäŽ5L)“ícÚW#~˜–*ìV)Ú.˜–lUs¹sSÍ›vlÙ±WfËQS‹É®*‡Í›6*ìÙ³b®Í›Š>f˜ªžl4k5T®8¡8-ZÍ›6vlÙ†*¬–ÁPY†8’LiŽK΃CΞ›SÇÊþ¡®3vli\0”ï—yn!;b¨LÙ³b®Í›6*ØËd#2RGSQÍ›6*ìÙ±Ê*qU´ÍƒR!L2€vÁj¥‚m`ð6/o9„ÔaU÷vþ—LN;v“ ÇOqëk2ªïŠ JMNigæ)ŠÞJ¯Óâ®Í›6*ìÙ³b®Ç'\\nlUZ@)¶#–Xœ¬UÙ³\\²¤b­fÍ›vlÙ±VÁ¦[?\,nX4ÅZÍ‹›rq)Šµ›6lUÙk×+6*ÿ\0ÿÖóþlÙ±WfÍ›TŠ2çlÖliƒ´ku”üXukQ<1V“A–ñ2uà >\,ƾ8ý^5ˆ€0^ê”æÍ›\
+»6lØ«³fÍŠª¤ì‚ƒ'‘©ÊÍŠ»Yçñ`\\°Åzb¨ûòŸ³…øæbÝq¸É;»6lØPìÙ³b«“®øùHí‰f®*ìÙ²À©¦*ÖlUâ*+‰b®ÍŠBœÚ˜ùâôñU Ù³b®Í›6*ìÙ³b®Í›6*ìruÆæÅSOU=:akš²¹¬\0RIvlÙ°¡Ù³fÅ[ "˜–lU³•›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìØ¢GÈWËÄâ«sfÍŠ»6lت¬c—\\ÒGLlf‡HGâ¨LÙ³b®Í›6*ìÙ³b®Å¡‹™ß^¸¿«ÀmŠBÉ!ÛÇ;—ÜãqRìÙ³b‡fÍ–k6lZ;g—ìŠâª9±Y`x~ئ%Š»6lØ«³W6lUÙ³fÅ]D/Ó‚ !F* ËÄÓ+!«c1WfÁV°z¸”ê¨1´Ò–lÙ±C³fÍŠ»04Í›lšãâ`§|O6*‹y—ÕÍ×vl²)•Š»6lØ«³fÍŠ»[ÁꌋCpbØb²DàÔÆcùšœn(vlؤ@¾*§›˜\0vıWffÍŠª´å—Ž%›6*ìÙ³b®Í›6*ìÙ³b®Í›6*º1ÈÓ›Uã\\ :b¢å©LUI… 2²É©®V*ìØ¢ÄXW8«²É'2ŠœckŠ¡³f9±WfÍ›vlÙ±WfÇ"ò4ÅÞÉÐr8¦‰CfË"›eb‡`›$Wz7L ŽV(j1T}ôHŸg ±ï+?SŒÅ]›.™X«³fÍŠ»6lØ«³fÍŠ¶ 3O\\¬Øª¬b£n¹ƒS(6lØ«³fÍŠ»6jW5)Š»6lØ«³fÅ¢€Ê*1UtmÀ×)—‰¡ÊÅUf—ÔijfÅ]ŠÁNb½1\,ت:ñ”S†Ë$ž¹X«³fÅE»•çÛRÅíבÄ1ñÉéâ­Ì(ÔÄñÎÜq¸«³fÍŠ»6lØ«³fÍŠ¶ :eî縵N*¸3E·Ž$wÅ®$±UØ¢\0zây`ÓmÅ76lUÙ³fÅ]›6lUZ½CLd©éµ3$†3Q”î\\Ô╹³fÅÍ›6*ìR8Œ1<k(ŒïŠ¬–‹sˆá•äŠé¶à\
+ìÙ³aTUŸß »HÂ|8Z 2˱êpRoeöêÀ8"ú)cn -s7ª(CfÍ›\
+»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«€®*ð”8šìF ¸pÑŒUŽ ‡ˆë¦ Ó@3¨=+Šµ%Œ‘Š‘H¦NõhÌéy…|$Rµ™³fÀ—fÍ›vlÙ±Wc£NgˆÆã£~ \\U|±¶9£„ÉÓ<Þ®2)Lx•ZèPÓwækŒÅ]š¹³b®Áš}ºÜÉÁ°)Ír^¸ª'Q´ÄtÀX½ÍË\\š¶!Š»‚s ¨Ä³bªÏ1gç‚í¸\\}¼.Ç$Œ0Q—Фg\0ãÚF~¸ÌB—fÍ›\
+›6lUÙ`Wl¬µ45ÅW<e78Ì^Yƒ­1 Ur/3Lt‘úãc~ \\Ri½\\UG6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ®OLiÁHoˆ¹äj1U¹³fÅ]›6lUÙ³fÅ]›6lU²ÄõÊÍ›vlÙ±WW6lØ«²À®V9[‰Å[1+H¹ŠãÚpV˜È¥à)Š©„ü°D³‡Z`v55ÊÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›œ¢)×k6lØ«³fÍŠ»‹É€Æå©âkŠ¢î\,½€ðL·fTàp6*ìÙ³b®Í›Žb¸ª–l²(i•Š»52×®>JvÅTófÍŠ»äiËSăŠ¢'ƒÓÀØa<Ë$tï…ø«±Hâõ:bx.É€jU\
+ËÄÓ+Ï)(½ó\\Z4‘銡³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ¸`¶u)Nø/k6lØ«³fÍŠ»6lØ«±ÈiÍŠ¶Æ§ ´ÄY68Y‹ÛNa5\
+£õ P‚£\
+p}Åïª)€!%Ù³f…ɹ*xB l¦†¸&[€éÇB6lØPìÙ³b®Í›6*첤uËO´+ƒnBp늠3fÍŠ®W㙟–76*ìÙ³b©®‰h—rñ|’êÚU½µ½W­2!avmÁ7ÚÄ·_ vÊÌI—“0@ kŠ1ùãq̧©Æ匛6lUr¡lÌ\
+V9\0ÄånGm%*1Œjk•›vlÙ±WfÍ›TˆTåH(s#q9NjqU¹³fÅQQÆ\
+W6ÇŠ^+LAN*ÖlÙ±WfÍ›T9œ]í­p:? {ÎXSQÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*© ð`pÂâñdŽæÁJìÙ³aWfÍ›vl°9 VKgy¶*£›6lUÙ³fÅ]›6lUV\
+àœ0¸¹R´U—RpiÌjk˜uÊÍ…‡e+¶Í\\Ø«³fË \\U¬ÙdS+vlÙ±VÔÐà·2S㹘ªÜØå^X¡Š‚¸ªŽlÇ6*ì|rp5ÆfÅQmz̼p)55ÊÍŠ»6lØ«³fÍŠ».‡(`åE)Š se°¡ÊÅU ˜ÄvÇOrfëób®Í›6*ìÙ³b®Í›6*ìÙ³b®Ë™Y±UOXã ë•›vlÙ±Weò#+6*Þç+ ¬íÖT$àÓƒ‘‚ÕO6lØUٱʥºcÌ\
+âªY³fÅ]›6lUm¨qK…)Šé®ªHlKP`_l¨<Ù³aWfÍ›v9 q¹±Tŧ^Âö59ªr±WfÍ›vlØ2ßN–àrQ¶*ÿ\0ÿ×óþlÙ`Wk69–˜ÜUkzÖçl>¬Ó'p¯6*˜i÷"©Äïî=w®­3W*&Ò!!ß5ÔaØ”r˜úeI!Ôâ«3fÍ…]›6lUÙ³fÅW(®S\
+µ8ºÃÌWCfÅ$Nž*ìÙ³b®Í›6*ìÙ³b®ÅmÖ­‰cÑø⨫²\0 ÀX¤’1<%|oÀ×.YLq<ØPìÙ³b®Í›6*ìÙ³bªÖñz­L}Í¿£Œ‚oH×sqë`ÞÕ ›ˆ\\Ðcž®SÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³\\UÙ±íQ\\f*ìÙ³b®Ë¹X¬dŠCi/ ±ÞŸ©¾"Ýqh¦à)T]xšcqÒ7#\\n;6lØ«¦8±;csb®Í›6*ìÙ²Õy U¬Ø÷Œ§\\f*ìÙ³b®Í›6*ìÙ³b®+ˆ \\ õ )Š­ï’=XU¿yO§#xå‘“ìšb©ÿ\0™%‰Ø²=ŽyMØ׊»6lµ4ÅZÅk™â(+Œ F*½Ò1<;Ò\,–ìø]Ã)E銡qÁ¨1¹±Wc•yn)q5ÅQ–ì!S\\3sbs<…Ž3&Ý›6l(vlZ+s ¨Ä™xšb­fÍš˜«³fÍŠ»\,¬Øª÷jŒflØ«³fÍŠ»6lØ«²øšW+æSPÍ›6*ìÀÓ6lU²k•ŽD.h3:ð48ªÐ+‚–Ú©ÈãmÔ¸é.)ðŽ˜ªìr³ób®Íš™±W`ˆíù¯\,EEqqqÁxâ¨r(i•–MMr±WuË ŒtTå¾-qÇöqU^F™™xšc£MNT‡‘ÅVfÍ›UIxŠbG|Ù|IÅZÇs4¦76*ìÔÇ ©¦-<a*‡Í›‹ÈÓ[›µµp9ÅWDü1{õtã…y°RDˆ\\ç‘®76l(vlÙ±WfÍ›WŒq&^&˜èdàk•#r5ÅVfÍ›vlrnwÌâ‡[›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUU^X”´®Ø6\
+z8^ÝN\0’ÖlÙ°¡Ø&ÚãÑÀÙ±Uò76'›…µ*§›OlT`3Š»6lØ«³fÍŠ» âºEƒë…™±VÛs•›ì>xªã(äzc‚µÃkÈ•mp˜=0iY›6l(v?ÓÚ¸ÌôñT6lÙ±Uȼ²˜Pã£n')ÍN*·6lØ«±{X=wãˆ`Ý6A•8•CÜEè¹\\K^¿©)añWfÍ›vlÙ±WfÍ›vlÙ±WfÍ›v`i›6*¸¹"˜ÜÙ±V“Ó+[:…!°;‘ËlRÐRz Ä× ì1ö°5ÿ\0L½-mhLÙ³aBµ¼bCC™=6¦TrÍFS¹sSŠ­Í›6*ìV½fâ1\,e'§ c‰P«6žÑ-N;aµí÷1ÄaQÀ/ªMtk6lØPìÙ³b®Çs'cÍŠ£ÌiéW¾ŽC²¹šSŠ¦o¬HéÀák7#\\¬Ø«³fÍŠªÂ¡Žø›\
+˜:eb®Í˜\
+íŠ<E:âªy`W+­LUnl³¾V*ìÙ³b®Í›\,Û U¬Øog¡Ü]DdT;{ad°<\,UÅÆ•OZÛýa¸ŒB‡®Ò¥˾*¶æÄÁ×aö­:¸ÛN*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*¨±Â)¶éáZ3^¸_8£œUO6lØ«³fÍŠ»6lØ«³S6 ¶Dd%ºâ¨<0ÓtÙo_àZŒ\0ÛèžH¼³‚MNY ÈÄXPÁu Si)¶#aÿ\0›dŽ[æh¾É ”w]›6l*ìÙ³b®Í›6*ìÙ³b«Ö"ý2\
+ZÂuÆM âªY³e¯]ñV³cœSŠ»6lØ«`Wô•ÄÔÐ×ýdR˜…;fËcS•…Í›6*ìÙ³b®Ë]ÎVX45ÅST·ÇÌálĨÁm}Ê/O\0b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìQ%((1<Ø«dÔ×+6lUÙ³fÅ]›6lUÙ³cá\0¸ Ó[¾VßÙE!ãÂl\0Ú»\,»Œ¬ØUQ$!ƒØ>òù'Œ/q…™±¥vlÙ±WfÇF¼š˜´öþCæÍ›vlÙ±WfÍ›v ±EsFÀx¤RÍF*¾î1ÐtÄ1ò¹Ôã1WfÍ–:⨻{'™Kd^ G†Kty!KcÊ•¦F/H31^•ÅPù³f¦*ìÙ³b®Í›6*ìÙ³b®Í›6*ìzF_¦3[È®* E 2±òM\\f*ìÙ³b®Ë\,O\\¬pBÝ1U¹±Åê1¸«³fÍŠ»6Z©m†fR†‡k\,uÊÍŠ«;´Ärë•Š»†/TÓÅídôÚ¸ªÙá0šKÞJ%5vl=Ò¼·>§º ±-gC“I§:à±tÏ×l“æÍ› h­žaUÆIŒÐáæ‹qqô®j+ÊJôÅPy³fÅ[¦V+µ0ÆÃHkÈ̃ ÀM$ Jsb“Åè¹CÛ‡fÍ›vl° Ë(GQŠ­Í›\,\
+šb­fÉ.‡åÓ©`?0i'J›Ó8\,]*M›6l*ìÙ³b®Í›‘\\UnlÇlØ«³fÍŠ¶2Øãsb®Í›6*©£Šáåÿ\0¶u¦GÁ¡® k¦dá„! ›\,©r°%Ù³fÅ]›6lUÙ³fÅ]›b WŠ»6lzÄÌ**³[\0Ƙíøâ«ç^-ˆãä~f¸ÌUÙ³fÅ]›6lUrµ9¤-°ÄðU¤BLU\
+sb× Á©ˆâª‘'3L¹£às@Ü[º`Ø:§¢6lØPìØàŒw¦7vlÙ±WcýF˜ÌØ«‰®lÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙj¥ºb­fÅ \,¢§Å]›6lUÙ³fÅUâ¹h…$î\\Ôãsb®Í›6*­;âò̤Sf®*Ùë•›6*ìÙ³ UQ9&ãÌXŒ:`)W‹‚Õf]2†.\0¦PÍ–r±WfÍ›vlÙ±WfÍ›pÉ¿—®-Òêu¦B1T¸xÅ0ƒH"ßÿÐóþ91¹«Š¯s\\flØ«³fÇ"ò8ªÜØ£§OvlØñ"£Y›1ÍŠ»6le•èqT-3a…ü ÙÂüUغOÇÍŠ¯’Ng›\,b­fÌsb®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*‰³uG«`›ÙÇÃ…¹e‰ÁIk6lØPìÙ³b®Í›6*ØÌTŒ|D¾.üHÛBfËn¹X«²ÔÐ×+6*®òĸšW0I \\R†Í›6(vjæÍŠ»6lØ«³e\\U¢¢×QÍ›6*ìY \,+ˆŒÇLUEÓ†3šNgÅ]ŠBÁZ§ÍŠ¢®d0.lØ«³fÍŠ»6lpBqU¸.Ò×ë¡^¸&Òïêç˜Õî«u§p¿ ®µYi…¸eW³³b‰ 8¨Æ2•48Xµ›6lUØèÍ q¹±TDòrÀùd×+EÚß=°¢÷ÀòÊebǾ36*ìÙ©›vlص¼FV ÅTsb÷1zF˜†*ìÙ³b¨Ë{ÓÈܘœnaŠ«ÅlÒLöA§®]Äh>\,»ëÀEïL«dÀ\0ÀäSõ‰™5ÂŬٳbª+‰åò4¦V*ìÙ³b®Í›6*ìZÞ;qŽé\,A_’G5I´i"N}°¬Šdÿ\0R–1fiÖ™\0cRr0‘<ÙLɬٲ×s“`¾'àr¥~f¹œÓŠ¶Ž™G|Ù±WfÍ›TaA‰ã‹WŠ¯CLkuÊÍŠ»6lwJâ«qñš°®36*‹¹e ã2É'®V*ìٱ輎*³Çr8Dá‹ýb‘ñÀR‡®`+•ŽT-¸Â„BÄrÆO/=±¦SN8–vZž&£+6W7$Šb$×|¬Ø«³fÇ"s4ÅVæÇÈœ 1˜«²é‹Ú v£a…Ťh•-R|Ùg®VvlÙ±WfÍ›lf&¹Y±Wc™\
+Šå Ž-$–˜ª†lÙ±WfÍ›vlØ>ÒÕfBO\\U›"ñb<1¸ªª3‘Åq¯'ÚÁ6rª7ÅŠj2¤”á‚÷T¿6lØUÙ³fÅ]–¬TÔefÅU^vqC‰fÍŠ»6lØ«³fÍŠ»6lr!sLUnX45ÇHœ 1˜ª.[Ö’>fÍŠ»69#L|±ðÅT²ù™Y±WfÍ›vlÙ±WfÍH™ºb«2Á#¦f4ÊÅ[&½r³fÅ]˜\
+戸ªæˆ¨®3¼á’˜vlÙ±W`†Uá^ø/‘¥1V³fÍŠ»¶ŒHÔ8†9¡¨ÅS ›5E¨ÂÓ‹5˸¡ÄqWfÇÇKöFS)CCŠ´Ž™‰'®VlUÙ³fÅ]ŽEæh1¸än \\U]¬ÝEp94Áí|\
+ñÀ yà“MeƒMò³aB&¬~\,«£ìàpi–I8«Y³fÅ]›6lUÙ³fÅ]›YÅëHÇßé2Añ¶*•f¹ˆ¦Øk¢Aòñ“@E9Üc%N L–ëPÚCÊ>¸E"#Ûú‡í`&’Y›6l(lâ/1LK6*ì|JÐã2Á§LU$\
+£¸ã#«™#/Ós€ØÌQÔ®ÇÅ]‚l\
+‰×ŸJàl°i¸Å_Fy*ÃO½± ã^;ç+óý­µ½Ó¬Øœ å?5Í£BljÂ=nýµ §˜š†9d¤ XP ©ßV(j2«›+f¬î'ŽÍ嫈a±Â«6 2Ð0οª\\Û¶Š¬)ËŽU’f$WVÈDHèñÇB†‡ŠÜ?7$bYk[³fÍŠ»6lØ«±ÊµÆ冦*ÑÍ›6*ìÙ³b®Í›6*ìÙ³bª±NÑ\
+ M›‘©ÊÍŠ»6lØ«³cŠ+Å]›6lUÙaŠôÇ$eñ¬8šb­b°Ìñ0âi‰fÅUî¤2µI®!–Mr±Weª–4Xø›ƒWZÊW®V-;‡5Ž*ìÙ³b®Í›6*ìÙ³b®Í›6*ê×6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«aIè+˜©FL<¡§A|§Õ¦ØÌÖ0Ú±S!ÇêáM1•ÌE3)¡Ëmòh[›6lUÙ³fÅ]›6lUÙt9X*Ú0àâ¨\\Øé#Š»6lØ«³e…'1uÅZÍ›-G"Ž*Öl“Cåæ€\\ ¨#níÑø8¡ÂA´>lÙ°%Ù¦lت³\\»¯vÄsfÅ]›6lUÙ³e\\U¬Ø©Ž‚¸–*¹ q(te–'µ›6l*ìÙ±rƒqU Ù³b®Í›6*ìÙ³b®Í›6*ª·¢€í‰’Nç+6*ìg¸«`\,zJS¦%U®UTí±ÌźãqIvlÙ±C³fÍŠ»6lØ«³fÍŠ»6lØ«³fÇƼÍ1U˜y£A£ã‰¢ôÎ: §ƒìšb©®³qƒñYno´k‰b®Í›6*˜i!ZZ6 Õ¬À~IÓ\
+à”Ä܆’ü:ÐõÁ]U\,"†™Xç55ÆáWfÍ›va¶lØ«d×+6[bËËz·åíä Y)Z`̳‚±Ó!f²úÙ'l­S[“Q}ò¾ÅniÔ‡Ãê”fÌrÊÓ\,p›ËÐÓMzæÍŠ»6lØ««‡šf¬\,á1žø]¯¨œ°3Ž$Œ²EÕ.eõ¤/ãˆæÍ…Í›6*Ÿhv1Üý¼®éÑÛETÂ]>ý­NØ7PÔ¾³G{JE–¦„efÉ!èþF¿Ž&£S ÿ\00¥Žk€ÑäVÓP’ÐÕ6òþKÃY r>«J6lÙ4;6jW\,Šb­`ÈhWâ‰'U©–Ƨ+vlÙ±WfÍ›vlÙ±Wa®™h³îØU‚ »h>Ω†¥l‘‡ ñi®^o´qB»6lQ!g\
+©æË"†‡+l\
+æeºšàY׃1Tu¡ÂÓ×´ÄN*ì9±Uhp›[ÜúJF*£8âäbxù›W·LU¬µ1Í]Î/k#\\SJ©gðÔà9W‹SÍqéŽ# ݹ⊥¹³fÅ]‚m$œ ˜bª÷N«ˆf&¹±VÁ¦bÄõÊÍŠ»0Í›N`Ž3O\\(Q1ë;*ñlÞ‘#‘ÅT³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ».™YuÅZÍ›6*ìÙ³b®Åá`§|C5qT|²©Z zæ©ÊÀIvlÙ°¡Ù°LPÄe^˜ªÌÙ³b®Ë¹XèÍ qW2ëÁ8a¶Å]›6lUÙ³fÅQöRPPà{¡ñã"r‡4È×nªxðÛc3aWfÍ›vlÙ±WfÍŠ˜Šâªy³³b®Í›6*ÿ\0ÿÑóþlÙ±WfÍ›v+\0ï‰f˜ª´ì ÛÍZæÅ]†1ï× ±ÜÎ*é XÓ›6*ìgý¥´ÉcHèÝpHÐH•]»1£`l¨ÍUÀ„;6lØUÙ³fÅ]›6lU|iÌåÈœR? §rç[›6lUÙ³eŒU¾'®7p>*ì°+•B*´Šec˜ÔãqWfÍ›vlت'\,UK6(ññÄñWfÍ›vlÙ±WfÅ Ô4˸‹ÓÅT3fÍŠ£­tö¹^CO@Ü°ÔºÓÞMëH[".Ù¤>lÙ²L]›6lUØâõÆæÅ]›6lUÙ³fÅ]›6lUÀÓiIÄób®Í›6*ì°¤åa¤hc«b©fl|À4Æb®Í›\,\
+â­fËâFV*ìÙ³b®Åcp1\,ت´®mˆæÍŠ»6lتek2"PõÀ37'$buÍŠI±NÍŠD òæ\0±B–lÙ±Wf˹X«²Ç\\¬Øª%UiÛ®^ôÌqU¸;NuF«`B) W¦º¢¯åIQ2ɯ\\¬*ìÙ³b®Í›6*Ø4ÌXž¹Y±WfÍ›vX4Å!Ô4Ëuô›TNEFt(hpÚ+å C…·.$rFi (æÍ›\
+›6lUؤR˜F'›L&ÕXý3Ó ófÀ$›vn™³aCd×+6lUÙ³c£^F˜ªÜج±ðıWfÍ›vlÙ±W`ôà#÷À|LUÍ×+6lUÙ³fÅ]–¬FVlUs9n¸ÜÙ±W`ËwUC\\Kš y«NjIÜ^X x†*ìÙ³b®Í›6*ì|oÀ×¢§ ¦*âÞ«c]xå+qÌÍÈâ­«”5£\\»\
+G6*¾$õ(ï‚.lÞ 6Ê°!fRÝ2WuèMÔ­0€‚XVlVá89ðÄ°%Ù³fÅ]›6lUÙtÌE2±WfÍ›v8¥r‡\\]éáñX®!A‰fÅ ±äjr³fÅ]š¹³ ñWfÇ2ߊ»6lØ«±Xb2bXaiÅ#Š¡g‹Ò4ÄpUã‡m°.!]›6lUÙ³fÅ]†¢ªrï…øïQ©JâªïI qŽ41‹×k6lتè͸¤ïÏÍŠ»6lØ«³fÍŠ»6lØ«°Æ S~¸]š¸ªùH\,HÆfÍŠ»6lØ«³eªòÌE1V³fÍŠ»6lØ«³fÍŠ»6`+‹ýRJr¦Øª†l²\
+š¬UÙ³fÅQúlë x…묒^˜6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ²Æ*ÖlscqWfÍ›vlÙ±WfÍ›DØÎ-åz ^ëq\\EÇjä[6*½¾6Û¹Ã(­ÞÉDØV ptÚ–!V»ÔÚá8±®zÍÇl®•Æ`WfÍ›vlÙ±WfÍ›v+ ž™Ä³b©¬‘\,±sp«[†UãÛÅ]›6lUٱȅÍ:XZ.¸ªžXåböÀ1¡ÅTwS^ã ›[áô øpëÅ©‰â@)‡ófÍŠ.Që•›vlÙ±WcâŒÈh1˜¤2zM\\T5$f3CŒÅ&—Õ5ÄñRìÙ³b®Í‚"U#|JU\0튬͛6*ìÙ³b®ÁÚ| 3Q°>9Z=×Mõt>%Ť¹yâ8J»-zåfÀ©ÍšD§ néê=11# Çú%“™ÁJ£›6l*ìÙ³b®ÍJæÇÆ@;â«H¦V-)SÓÅ]›6lUÙ³fÅ]›\,uÅdŽ‹\\UG6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ¦zV¤öð4®¾½’îBÌk3`¡v®Í›6vlÙ±WcÒ&~˜Ìo0N¸ª”©¡ÊÅ&píQ‰â®Å ›ÒÄsb«¤nf¸ÜÙ±WfÍ›L­Œ|~.¸œ ›àÀAˆÁV·>‘©À«ŸOd8œ §ÔƒŠ -fäk…=I~W%þ”«sÆ´ïœÛógNµ²»U¥ í‘M/Í—šT^” A€5MfãVnw S“2±Mb$K±H£2š O·“ÒnYnš#¡Ä±k‰½S\\Gv+è59vĆ “ѧ|R¼Ùg®Vv`i›6*¸¹"˜ÜÙ±WfÍ›vlÙ±WcùíLflUÙ³fÅ]›6YÅZÍ›6*Ý3SŠ*ÔbccŠª¼\\V¸Ž\
+•ÁAq .͘`ËkQ.ç ób·úmÇÅ]›6lUÀWËÇ)M>F®*§›‚§3ŠUnlÙ±WfÍŽy0ªÜVGÁSZ„NC\0ƒLU{Ĩ#\0c™ËuÆâ®Í—C•Š»6lØ«³fÍŠ»6ZŽF˜¤‘ÅqU\,Ù±ÁI銭͛6*ì—<SŽÍŠ¶MNVlت¤+ÉÀà ëAa†£q ŽØ2âøÌ*Í›6*ìص´^³q8o&–‘Ç˾Tª+“ñÄò5ËqF#]›6lUÀW\,©q[` Šâ÷ª¢œpZ ºe–'+6vlÙ±WfÍ›vlÙ±UX“SI`Yj0¾&àÕÃdÔV‡枉\\°˜ºâX*æàJvÀ¸PìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Åí¢C†3QŠ…óÆ#j ;ÒáI#5ðÂs!©Ãk+«%r2äÊ$Z_|žœ¤`lw(™Ë ’*öóê19[›W›*ÄœñŽ¼M3+•ÊcÈ×k‹ÈÓŽVâkŠ«4<W \0ï”Ò–Äë(¹¤R(18g1\
+bÍ…mRI †¸žlءٳfÅ]›6lUÙ³fÅ]›6lUÔ®b)‹Û€Nù®\0lU@`ƒ0ãLzbËi;n±¹ÿ\0bqUØ$i÷'ýÖßvWÔ.?ßm÷b¨|سZN½caôH‚:â­f͘b®ÍƒÚ«\\ËÄÓÓY³fÅÍ›6*ìÙ³b®Í›6*ìÙ±t‡–*¡›’>8Ž*ìÙ³bªÑÏÀSwæk•L¬UÙ³fÅ]›6lUÕÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›\,oŠµ›Å¦#2…;`µRÍ›6vE"út8_—ÈôÄ«oö1¹³b®Í›6*ÿ\0ÿÒóþlÙ±WfÍ›vlÙ±WfÍ›vlk“®2â1 ÆÓJ9³fÅǤ¬‡cŒÍŠ«K'!ˆæÍŠ»6lØ«³fÍŠ»6lØ«³c‘ ôËh™zâ«3fÍŠ»6lØ««›6XÅZÍ›6*ìÙ³b®Í›6*ìr¹\\nlU{IË›6*ìÙ³b®Í›6*¾9 f¹rËêby±WfÍ›vlÙ±WfÍŠÂ;âªY±i€1UÙ³fÅ]›6jb®Ç ©¦7¡®*¯4AV¸šNB˜†*ìÙ³b®ÍLV(ZS¶žÏÒŽ§®6©f=eeÌØ«‰®lÙ±Tu•‰ºÁ—gÕW‘ÀÖ‡ÕN/¨êßZN#í£‡‡ÍÜi[®nG+ S³fÍŠ»6l¦H®*³6lØ«³fÍŠ»-ENVZšU{Âk×-Û–7vlÙ±UE aë•›v)|Í1<R)8â¨ÉíÄq×\0V˜&k£(¦ÀºåfÍ…]–½r³b«Þ˜ÌÕÍŠ»6lØ«³fÍŠ»6lت.É‚“\\Níƒ>؈b½1ʦC·\\Õ+3e²•ØåaC³fÍŠ»6lØ«³fÍŠ»6lÃ|UÙ±QQ‰²•48«Y³fÅ]–§‰®VlU H•8õË@¦7l ÄS04Ê&¸«³fÍŠ»6lØ«³fÍŠ»6lØ«`Tå²ñÇÀmñ÷$Wl CæÍ›\
+ŠOL×›W–SÍ›vlÙ±Weñ8è€-¾¤Q«ß*’©¡ÌíË.Jr4ÆaWfÍ›vlÙ±VÁ+¸Á1^H ÛåÐŒUráÆØ6lUÙ³e\\U¬g« S‰ÈÇÄÍÅQ„\0ÀJ9xâ·sS‰ÆÜXŠ¦Sé "cÐá^ÞkBâØB; $DæiŠ­Ç'lUíÊ\
+⫳fÍŠ»6lÃvZõÁn|»à\,U3)PÍ›vjfÁQF\
+qT.+ê(13×ØB²·ÅÒóBO\\¬x‹…W¦ ½qWL¬VN˜–*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›\,©«Y³fÅ]›6lUÙ³fÅ]›6lUÙ†lتiºqå€.\0¶eÔPc7ûâ’·51òDÑý¬ÑÓ¾(Y›-ºåb®Í›6*Úšpö;ø} §®æÅQL‚âZ'|eͳ[š66Þ_EÃb×—Y ø`T&lz/\,U å…Pù±ò'Lf*ìÙ³b®Í›-›4~¦*…͘í›vlÙ±WfÍ›usfÍŠ»53d–ÊÆÞ[2íNTÅXÖltƒ‹<q¸«³fÍŠ»6lØ«³fÍŠ¢ÆÇnÒî¸pÆÂåcÙ°„¡CÄãpEã‘ð¡Ù³fÅ]›6]+Šµ›1ÍŠ»6lØ«³fÍŠ¯‰ø08µÍÀ˜l ›v9®oLÒ¸ÜUs·3\\nlØ«³fÍŠ»6lzGÏY›ñ”Æb®ÍŽ Q\\n*ìÙ³b®Í›6*Øb2‰®lØ«³fÇ ©Å\\‹Í€ÁçMn<±¢«‡bá TöÈȬ]—‰¦V)?Û4ñÄòJìÙ³b®Í›6*ì[×<8b9±WfÍ›vlÙ±WfÍ›vlÙ±W\\y†ôÁÖšsJ¾ è2®$T{âU/͘æÅ]‹™AJb±WfÍ›vlÙ±VÀ©¦9â(*ráÝÇÏ 50*W›6-aºáUؤªí‰â­Î\
+x”%p&<ÈÄS¬Í›6(vlr­rˆ¦*ÖlÙ±WfÍ›u3b௠CvlÙ±Wc•*+Ç«0ªÃ¶lÇ6*ìÙ³b®Í›6*ìØõZãH¦*ÖlÙ±WfÍ›v]r³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ±ðÓ˜¯Jâ­Ø\
+Ó‡—~„qëL$n¸«—cŽrLflUÙ³fÅQñàk®Xr1¸«d“•›6*ìÉ‹¦ÍŠ¯’C!äq™³b®Í›6*ìÙ©LØ«`Ó(šæÍŠ»6lØ«°M¸NË GLU<õpY5ÊÅ]ŽŒU€8Ü°hkŠ¦«a+…’€Óëµ)‰\\\0*¬QsËš/O*9xf–S'\\*¥›6lUr\,-<ÂAAòÀ®*Ö[ôzàë˜1 U·ûF˜ÜÙ±WfÍ›vlÙ±Tm¥¸oî#ôÞ˜­¬þ™Äî›W\
+¨æÍ›ªC)‰¹ &¤ò/ /Ë]ˆÅU§3‰a”³¡‡ˆë…¸«³fÍŠ¶ 7e‹õÆæª7ê»ç€°_×\0WfÍ›\
+»6lØ«³b±@ÒôÊ–¡ÅTófÍŠ»6lØ«³fÍŠ»0͈U±U¥HÊÁ³Ä×b®Í›6*ìÙ³b®Í›6*Øë†D†£ 1qpBñÀUDõÊÌwÍ…]›6lUÙ³fÅ]›6lUÙ³fÅ]›.™X«³fÍŠ»6lت¢FXWE 1Häâ)‰±©®*ÖlR$¸n)fðeågjƒBdÅXê©sÅA$öeo¡\\Ïö©ÿ\0(ïÿ\0¼›$ÐiqÛ7¦¼Tô ëƒÐD\0¨çüتOoåx¢¤vaEñ»`äÒ-aÜF§þþ%Ë‹àJ°ì2Ö*šì¡èÊÅPä[ð¥<öc]Ñ@=ZbßVPh‚§ÇkRÝ1W+ÆëXÅ|F'«1¼M2ŲG»bþað«7¹4«qY£ŽDž½ñ)´õ ò¢|3·…‘vµ:v‰j†´®ãc³XÀM$U>GüK\0ͤÅÕǧI ¢´¦š Jø˜ÅRv‚h–‹FØ[%y|B‡%B:€XZ÷Ä¥´Y”òPÀW~ø«Ç¢rÁ“éåw]½Ž#˜ÚŒ)Š¨ºq9\\Nº¨Å ˆ:`µKób“'¦'…]›6lUزMÄSÍŠª<œ±<Ù±WeŒ¬ÃG¥¿$®‘xµ0ÊÖp‡\0ÜZ£\0JŽlÙ°¡Ù³fÅ]ŽNøÜ(â¨R)›%9mŒÅ]›6lUÙ³fÅ]˜fÍŠª‰ˆÄÙ¹efÅ]›6lUÙ³fÅ]›6lUÙ³fÅ_ÿÓàÊÅÀq×k6lØ«³fÍŠ»6l©‘y UJ9Œ}1²9sS™×¦6˜«³f¦lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³cÑ9b¨«U?¹1‘¶©Û1rqV\\¬Ù±UHâ2tÊx™:àËQÅšòE~˜Š Û– 0«M×+1ÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»XK\
+ŒO -åP´8ª”¯\\¬rTôÀ輘Unl8“Iã©… 8šcjÖlÃEn$¤ Bæŧ‡Ò8Ž(äì°iÓ+6*Ù5ÊÍ›vlÙ±VÇ\\±)%#l!¹W‰ÛÅ[â8—\\(uk›Ghd”И6ªY³fÅSkEÜãõ+•u Â¤ví”ìO\\nÊöY›6l“fÍ›vlÙ±WfÍ›vlÙ±VÔTÓ ý ±W Ð×½Ï$㊡\\¬Ù±WfÍ›vlÙ±WfÍ›vlÙ±UHÓ–5Åeb¹D×k6lØ«³fÍŠ»6lØ«³c£8¤ªQË \\¬R& ×XE2±ò±˜«³fÍŠ»6lØ«`TàË`"5l 9¤-Šª]8v¨Ä3fÅ]›6lUÙ³fÅ]›6lUØåòŠ‘š¸ª:;… L 3;bY±WfÍ›E¬\
+cäzàCŠzÆœq<UÙ³fÅ]›6lUÙ³fÅ]›6lU°¤åbñ• ¾"zâ­fÍ›ltÅ"‰î[ŠŠœKü·\,PÜs›¦©LÖKüÉsÄõ‹¦bÙ³`ƒ–Cæ¹±ñÐuÅVfÇ?]±KXýYœUK¦<NàR»a†§j¶àS®â®ë‹Û ~¸†9\\¯LUt£‹PeFœÍ327S—ž™®*«%¡Eå°d—~¢Óà (»Wz7L8¼´aä½i‘är†£;ÌR­Ó¤Ç®VlÙ&.Ç!¡ß›F4ŠÔÇ\\…ôöÀ@Ðâ/!L›RÍ›6;ð5ÆfÅQÍ(tÀ'®81˜ÜUÙ³fÅ]›6lUTÎÅxâY³b®Í›\,qV±u–‹Çé›v>9Z?³•sj`Ö±¢òÀJ@A;—58Ði–†˜á8P×Ú4ÇI—â⸵Û\0ª6lØ«³fÍŠ»6lØ«j*qò'bšRV助fÍ›luÇ»‰æÅ]›6lU°  w¦AÜb–¥UêØ2í‘…W«Klœ+€$^-Lw®ÀS&»â¨´·V–8¨‚ñÄÆçk6(ëLO\
+»p`q™±T]ÜâP)3fÅ]›6ZŠšb­fÅ^>8–*ìÙ³b®Í›6*Øb1ë)\\O6*¹˜±©ÆæÍŠ»6lR!SŠ©ä†ÑÚzÓPâ‰pȼGLZ©¿Ú?<nbk›\
+»6lØ«³fÍŠ»6<FǶ0Šb®Å’êD^\0íˆæÅ\\MwÍ›6*ìÙ³b«Äe…F3Å(T às¹ÅZÍ›6*Ú©sA¹Á-c<kÌ©¦k 9ƒ?Lè>µ¥Ý !)pôKÍX“×+¸d`:WÉ¡ØåBÝ1¸´RqÅB‘R½qhi]ñ’°sQŒ˜©FImÏtÀòÛ´[œZ ¯O®-u8•0ª]›6l\
+ìÙ³\\UÙ|O\\¬1X—ÑåßB‰G8†c‚mÐ05ÅTâ‹ÔÆ:ñ4Å¢MÎ%)äÕÅVf¥1[pÀ8­â*LU ŽNÌت%+9¦%*p4Á¬©¹Ä®œ;T`UXB˜ÍzàFë–A®͛6*ìÙ³b®Í›ÇlUn`i›6*»Ôow®ý+‰æÅ[&»œ¬Ø­¼~«ñ8ª–lw…¨06*ìÙ³b®ÍŽEäi–#©ÅT³fÍŠ»6lzF_Y›–%Š»6lتsgª¬Ï\\ Bé‹ŠÅ;EÓd(¥K˜DFƒcä”É׊—fÍ›vlÙ±WfÍ›mO\\^kƒ(¡Àù±Wc•ÊôÆæÅ[få•›6*ìÙ³b®Ì3fÅQ°¢Ò¸Añf)—øªp%LŠfÅ% ±<(vlÙ±WW6lØ«³fÍŠ»\,`¢%ºá>(³:Š¶-Z˜\0ä˜ÌÄ×|ØUÙ³fÅ]›6lUpjcI®lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³`¨cVJœ ÝqUÉïn¹Y±WfÍš˜«³fÍŠ¸\
+㊕ß2uÅî)ÄS¨™Y… ÆfÍŠ\0ž™X6ÑT©-eûF˜ªÌÙ³b®ÅÒ*Šâ+Ôa¬‘„‡ÀU+qCË&¹XUÙ³fÅ]›6lUØèúï˛⪳\0:b8ænXÚWvl²¤uÊÅ]›6lUÙ³fÅ]›6lUÙ³fÅWpÚ¸Ü=©ŒÅ]›jSÅ]›6lUج­‰c‘¸šâ¯vH¦Ŧ“ÔÄqSÍÙ³fÅ •ye0âq[zrß5Àø¶Å*9³fÅéš¹³b­“•›6*ìÙ³b®®lÙ±WfÍ›vlÙ±WfÍ›vlØà…º Unl²)±ÊÅS=%‡*~°‹Ê«…ÐJb5¥ÅÉ›n¨lÙ³aWfÍ›vlÙ±We©âkŽài\\f*‰{ŽKL ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b¨ «Ãœ¾F”ÊÅ]›6lUÙ³b¶ÖÒݸŠ\,ÇRôÃÝ7ËpyÝUùGÚ?óGüKtŸ.¥ß§«Ó§´cþ7ÃØm‚ž vÅRû-“á‰Vÿ\0ÉÝÍ°ò B+¸c¬"õ'*ÇáNØhѧQ^´øªW%„`\0äz0z¦IBµèk× ç˜FJwñëþÇ\
+µ¥IØ×AAh¨+q JŽøäµSHâQþ·‰?ñ¶%’¯'&¬hXŸoÙã–Î\
+ò©ð¥iŠ¥Ó"B( šlHö…dR»V´ m¿ùX-P8& ϵ1±[z´æÛñT#Y2'ˆ¦K9ÉoîÂÔSÇ"Ìx‡]þìm`“@{â©­ÁåUøAØÒ¦Ÿón ï2H¡°$±éüÜðŠi^‚s\
+9»tÛJ$Œ/Û~Þ8¡R(» ;Ž“-EtúFuŽÕöÿ\0qT¥ÐG³­Gjb2D g¯¸Û %Er\0°$‘úa£ãñb©\\‘PQ÷ uï÷`Yl•ÆÛá³FŒ¨:ÿ\0âÚ¤ðÜub¬nêÍ×uÜxbpOéŠK 7=F]Ù$ˆÅRùX;WôW…p#£FhØïXÒ˜ªÆ9Y‰®lUÙ³fÅ]›6lUÙ³fÅ[ FÃ(šæÍŠ»6lØ«³fÍŠ»\,efÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÿÔà\\¶¦36lUÙ³fÅ]›6lUà -îU#¦åòÀEªé[›‹Û n¸®W¦EOQ¶ \\sJ[c”­LU¢)•–Mr±WfÍŽEæh1U¹°Õ´†XýL+aÄÓ\06’)¬Ù³aC±HÚ†˜žX4ÅU¥A×Ç—-¶\,-êµÀ”6ls/Ln8eÔœ¬ÃDÅ!\\BACL¡WHjÕÅVæÍ›vlÙ±WfÍ›T‰9f‘BãUŠæf劭͊G<©#ôÍ1U™«LÙ±VêNZ7ÛMÛW/§í…\,jk•›W`ˆ®\
+`|ؤUšoSÁ!ƸŬٳb®Í›6*ìÙ³b®Í‹C1Œ‘xšb­rÛ(¬Øª>ÞðF(q©„¦£fÁJìÙ³aUhñ²õÛ®W(šâ–³fÅ¡·i¾Î(QÍ’3¡Æb®Í›6*ìÙ€®b)Š»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ®E\,h1òDS®ÓaõdßÕ”#/zMminlÙ°¡Ù³fÅ]›6lUÙ³fÅW)âk–ïË›vlÙ±WfÍ›vl^Ú/U©—u¤iŠi›6lPìÙ³ ñWfË*FV*ìÙ³bªð(c¾>å~Î W¦[9n¸ªÜruÆåƒLU^b)¶Ç3WŠ»6lØ«³fÍŠ»6lØ«³fË\
+OLU¬Ù³b®Í›6*ìÙ³b®Í›6*ìÙ²Ç\\Up…ȨeËÓl•ÚÃZvåL*{±Äì¡($±ß\,®føXå–ÛZ:à©%ø)2ë\\U¬Ù³b®ÇÅ!‰¹ flU^âå®>Ö!LتR›âªX¤+ÍÀÆ7\\tOé°o U:¼±[óöÂ\,8ºÔýx}<'À/ª»6lØUµ45ÁòÝ+EÀuÂüØ)6ìÙ³aC³fÇ'[›\,Šeb®Í›6*ìØø—›‹\\Â#¥;âªQBf4\\©c1' ´õX~&À—ò %$`µBæÅÒÙ9ŒDŠaV³fÅ­”3€zbª9°Uâ*.Å]‹Ä@â±UòNØÌÙ±UÑ¿\\oÙ—Ž!»\\&6hšâÝp%a55Å£”(Ä3aB÷zšŒi$õÊÍŠ»6lØ«³fÍŠ»6_•Š»6YR:åb®ÍŽEæi–/ORÍ›6*ìÙ³b®ÁÕ—|Y()Š­=r³fÅ]–¦‡+6*½Ú¸ÌÙ±Wb‘ÄÒtÄðÃMuÅP¯lñõŽHµB•n§pRÝ3n§¶¥wÇ\,~´œF* \\œn¹·0œŠ»6lØ«³fÍŠ»6lØ«³`»ÖI(Ý3_¢Æô^˜ªÇ›mMr³fÅ]›6lUÙ³e…'k« Æ:\
+ãTñ5ÅYM­¼>#JÓ#wTµ:W%û*q®väIÈI+sfÍ’C³c‘ š t°˜ºâªy³fÅ]›6X4«Y±Å4Ç´ ‚¤mŠ¸Bxò*ÛPx#1×c‚‡¡ïL)n§-[väIñƌٱTKBrï±æBGf*ìÙ³b®ÅIøi‰e×k6lØ«°M RO\, – 1UóÓ™§LÞ³SlLšæÅ]Ž W¦76*Ýr³fÅW#q5ˑ̇|f+n¼ÜŠ©‘L¬2¾·X”…¸´‘MÔåbö±‰Z‡s¦vÃhCfÍ›vlÙ±WfÍ›v;—lnlUÙ±ÅHÆâ®Í›6*ì|rÍF36*©\,¦SS‰æÍŠ»6lت¤$+‚p]ã«(¦\0Ë©8)6Öl|iÌÓ4©ÀÓ\
+b‘IÀây±Ui¦õqÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›v]2°]º©â¨N™±{•\
+vÄ1We]²±ñ-SŠ­e+×+™Ã±\,UÙ³fÅ]ŽAÉ€ÆåƒC\\U2–ÑR>]ðµ…\,÷Nã‰éˆuÀÙ³f®͛6*ìÙ`W1uÅ\\78m‚4<ûáF\
+[×UáÛC0¡#+\,ššåb®ÍŽUäi‚žÅ–?SAæÃ+[4Eü0¹… -4ÖlÙ°¡Ù³fÅ]›6lUÙ³fÅW PcsfÅ]›6lUr\
+°6êØ$a°08>êäI\\#’]›6Y††=œ¶36*ìÙ³b«•Êì1¤×6lUÙ³fÅ[%Ç(øà<ÕÅ]›6lUÙ³fÅ]›6lUÙ³e¨©¦*Ö/hHtÍ$%V¸Š±SQŠ¦:„H‹UÂÜ{ÊÏÔã1\
+ìÙ³b®Í›6*ìÙ³b­\\Ì)˜fc\\U¬Ù³b®Í›6*ì¾'®V X«qTlÇ6*ìÙ³b®Í›6*Ú·\\·n[ãsb®Í›6*ìÙ³b®Í›6*ìºeeâ­fÍ›vlÙ±Wf˦™lœqU¹³fÅ[^¸e\0»áf;™ÀE¤T¸ ¶ØûH=f¦­p^Ÿ/§&øžHuí¯ÕÎâzᮩ"È(Ã& ì¨<Øç4ÆáWfÍ–TŒU¬Ù³bªž¦ÔÄófÅ]›6lUÙ³fÅ]›6lUÙ±È*hpDñZŒU ›6lUÙ³fÅ]›6lURÌŒ`«Ë&C‚4uOPÃ}}áx@JW e½3kcÀdÙ#1õÁ6×5¡Ä'”HrlsfÍŠ»6lØ«³fÁ662ê!'©ìóUÖ6ꈡ3ØÎ¥hñéÑñASÕsóÁV“Š1¿R{“âpÚ8קˆÅT#ˆýñÅíaõq°Ž*©ÈtÁ1@SâèOlU± ŠÐx{ã'“ë D&Š¿mºP*b·a  CZjƒö±7_@”„T±û>ÅVÚD±‚î¼Z›:}8* Ž6o­:asHÄ•cMê}Î2´§âÛ®*ž¼&T*Ô©éL%¹‘øÈÇm‡lË ‚K7QAÓvÏ*ÕMwïÔb¨gC¯µÇú«h=SWÞ”®Pð¸5©=«ƒ'_MG£r½A´ b®{¨äRðÔ1ëQÛ¬¯öI¨¯|BJ†£wü2Ò íF$V´ñTȈ÷é\\PÄÓöˆË¶xÊmè(<i€&V«ÅQ\\ƒZîíÁbª7©<Ÿª• ^Cøâ•F«µ¶Üਢä89X{Ž¼0$êˆ\
+ƒxÔÓù±Tìc  ë·L\
+àîœùÿ\0Á`Ç*ê:•m»í€äç 0ëôø–*¤HN P©4\0ýÿ\0ðØÅÏ°'§q”å cÝIqÿ\0šqB…X©Øƒ]½ñT\,±“AZîwÀsB¬µp{È]ªE´?<M+†ý“¶*Ç®mƒm…RFc49)º·(9Æ\\ÛòŽ*”fÇÉŒÐã1WfÍ›vlÙ±WfÍ›vlÙ±W\\²¤e¡¡Å$`F*£›\,\
+åLUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]–¢¹Xä;â®e¦7“|KvlØä8«b2q¬¼zá‚(UßÌA;bªY³fÅ_ÿÕóþlÙ±WfÍ›vl1³³'#€î#¿‚ÓJY³f‡fÍ›vlÙ±WfÍ›v) únÍŠ§òë\
+ðzc®±©'+6\0\0ä’mÙ³f‡fÍ›llpÆ]v[’mäO‹Hc÷ˆá–°‹´\\-‡fÍ›n§+6lUÙ³fÅ]›6lUÙ³fÅ]±ß½pÞÍRAC€ªØ”;ãn›‘ÛÞ¨ˆü8^Mq齜=2Ê„€wÁmÀŒ(Kóc¤ë¶7vlÙ±WfÍ›_êS›6*ìÙ³b©µ ‘*p$ñzfƒAr#Ž˜Y ŒNvÈÕ)æÍ› D”¦1›‘®VXÅZÍ—B2±WfÍ–¢§j™°âÎÅf\\}n m°Zi›6l(vi÷+ß sbª÷r d\,1 Ù±WfÍ›Tˆo•'\\¥jeSŠ¸r©L\0Zoš±U Ù³b®Í›6*ìØ´1sÆÌœ 1M)æÍ›;6lتa¦Ê"jãu\0Ò?3ÓDÜXa¥Üñ´@¹©½©(Í›6IÇzg®RìpbH¼wÅPDS6)-+¶'Š»6lØ«³fÍŠ»6lØ«³fÍŠ¢ìe6ùwó Z£æ­pVö›Ú›6l(v9M76*¬ìÄNlØ«³fÍŠ»6l]¡kŠ¨f˦˜çŒ§\\UflÙ±WfÍ›vlÙ±WfË\0¶Ã1R»U¬(]ð6lU¶ÜåfÍŠ»\,\
+šeb\
+¸¯Ž*­-£FœÎÉ=ÄI\,\0 ÊœŒŒM²¥™³fÉ1vl²¤eb¨Û+‡V¡;a…Õâðâ0‘[LÅËuÁJÓšåfÍ…]›6lUÙ³fÅ]›6)\0 àUN™«†—–ñ¤|—®â®Í›6*ìÙ³b®Í›V‚¸ªÜØ Š«\\O\\¢§e\0bC5”=CÓC¨©¦\
+‘Dk\\\
+68£sqŠ©±®Vb)›vlÙ±VÕŠšŒ{Êd58žlU[ë”ĉ©®VlUØHø`Bjk•›vZ±SQ•›\\Î_®76lUÙ³fÅ]›6lU2Òn–Ù‰l0žRÃæÅmٱȼÍ2äN˜ªÌÙ±ÅHÅVæÍ›UŠ/SËÄÓ’éŒ&¦¸ª\,FuÀ©ö…qC7ÃÇÅQW%h)•KtÌXœlêµ®* ¤Æk—$†N¹¥<˜‘ŒÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]—L¬p®*‡Í›6*ìR2ÑÃ)¿L3’$H=ñT\,—(ãHëƒôkO®]\,^'|Ó¡¶ÄÓb2&@d"H¶0­Ç‚V‰ù‰"Õ€÷ÉƉ嵼‹™±”„FìXuÍɘï°Ï\\´w1Û 0ŽJìÙ³S\
+»6lØ«³fÍŠ®G1š®gr槛vlÙ±WfÍ›vlÙ±VÔT†ÑÁJž¸P6Å=w•Û®¾"#–MwÊ®͛Œ&¸ª†l³×+Tý7 q[©ýb)³b®Í›A\
+¸©ÅP¸*Â/VP¸OŠƒ¶›êÒrðÅQº„"ÞUðÇ^ÜG$@/Z`KÛÏ­àJ“Š®0®ØÌ5L«…Ê•~>øÚ©à„¶.+‹]Ú0ï‰ÇwÀS¹!ëÀÓ‘ùšã0¡Ù°ÂÖÙdŒ±À.(HÁj·6lØUÙ±A ‘Ê›bxª2ÒØL¤œ "ñb1H®!A‰1äjqV³fÍŠ»6X4Ç<e:â«3fÍŠ»!¾¸ÜZÕ‚È tÅU¥ŽyX`2)±É5Åì*\
+V™Õ‰·†3Q‚¥”:o×b¡•¸áU<Ø"kcÅ]›6lUÙ±kxýF¦]Ìb6 ÅT3 Ù±UfpV˜ŽlØ«³fÅâŒ2Ô⪲Ûc•Š»6lØ«³fÍŠ»6lت¤MÄ×4ÍÈ×(!¥q˜«³fÍŠ»6+bCC•*pj UO6lØ«³fÍŠ»6lØ«³fÍŠ»ÀÒ¸Ü@ôñT.lÙ±WfÍ›v89^˜ÜØ«e‹uÊÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±TuŒj懨À#Ü`H%1µq{«Xb¨<Ù³b­\\Åi‹Ú(w¡Åõ–:qÁ{ÒkkA#q5ñ2ÉlAë„X ™€â:aB:ÒëÒ“ ÜՉʌ¬›vlÙ°¡Ø´0´½1S 4™9sÅR×^‡‚/2’½0>*ìÙ³b®Í›6*ìÙ³b®Í\\Ù±TVŸË:«t8g¯YÅl§„‘Èb`ËÔb·oqöΩ衛6l(vlÙ±WfÍ›vlÙ±Wf¡ÇÄ¡ x'¾*—ã—(õÊÅ[9Y³b­\\²´Ê™‰®*Ö9 nlU1–Uhéß ²êr±Uѯ#LðÀÊxšâ1m°*›\
+¬Ä×6vl^89­qM1V³fÍŠ»6lØ«³fÍŠ»6lØ«°JOÅ8àlØ«gs•›Š#!¦*§Dåš\\M_Ž*«o6¦UÄ~“Shá^§|áÚ£TôBfÍ›\
+›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅWFhج䘀Ǯ*î•Æá èûáq늵›6lUÙjÜMFVlU{JÏ׎n"˜†lUsžF¸ÜÙ±V×® ukqS&ÔÅT³e€Xí–ÈW®*·6lØ«³fÍŠ»6lØ«³fÍLUÀÓ|Qå\,(q<Ø«³fÍŠ»6lØ«³fÍŠªG3GöqÒ\\É.ÌvÄÕyU  W¨fÌE3aWfÍ›v=#2l1˜2ÆEFø±U«c\,Œ¨€–c@|èZ—C!ÝÛÄøª¸C± L7aðûæÿ\0gÿ\0Ãí•]Ï|USÕT =ò™›ˆÎ1\
+;w Óé8>.?Âv«G'¡jŽ<ãlU‘˜€¼š›xW &èÖ¤–n»žLÙ~’1õ¤jC( rÿ\0Sþ%•\,†PÜOG^ÿ\0årÅTÄ‹@ÒB•ÿ\0ë&ó>>Øô†•©$×aãÛKsÁ©rGérn"¾4˜Ðq8-Ázñ>øƒ¢Î¡ÀøW¯ÑŠ¸Bd>Çs‹K1 }² ›à-Jhõù³*Ž´ßQ‚AǨØ#¯`po¯õ²H1¡ø¸û]0¼?È<r´ÉPEèÑ•Ï&kŠ£ÍŠ2DZêPq5¶trÓR‡pz›`øŠsn<8| m_òq¥L¬ŒT·ï\0ß þgQû\\qTÉP¯Ú«/Ëo‡þ 2#DÅTÖ£jS§ûÅî-Ì@¼ßczšx‡ýŽh÷LÇ‹¨F*ª¤J…~u¯_äÀwÌO©Z*Ö P×üÿ\0gÙY= "‚Ž´ýŸøYc g+NËÜÿ\0­Š RØEi(Nŧ\0ÝÛ$êñì\
+Ž‡`OuÁ·nç÷¤î9Sæ~ÏÀåTŽY‡ˆ«{øâ¨K8ã‘\0 £ ‡Ë-‚:½oø×\,¬²ˆª| àF9ÔÓŠ}°~-úŒUkFT£­1ø„J\
+ø’à…gŒq5 Ó¶'\,mb6‡éÅPµ\
+-kÓþml-’/„ƒØÓ ÏÚ\,EØó­q+„çñxâ¬vâŠ.e*hrA4'Ã\
+®`ûÆ*ƒÍ›6*ìÙ²Õyb­fÅ¢¸ž*ìٱȜÍ*·6/%¹ŒTâª?Od$6#{öÄà˜Äj3M)ÔàêªY³f®͛6*¹Eqå@˜4ÌXœU¬Ù³b®Í›P\\UnlÙ±VËW+6lUجDW|K\,b¨¹%h05Ë­r±WfÍ›ÿÖóþlÙ±WfÍ›ECxÑ/är槛·fÍ›vXʸð¤ñVŠÓsŒÅ]›6jb®Í›6*ìÙ³b®Í›6*ìÙ³b®Áv×Ò[ì§fÅUgœÎܛ͛vlÙ±WfÍ›vlÙ±WfÅ‚13Š»6lØ«°E´Æ#óbª÷ú‡Í›uiŽF76*âk›6lUÙ³fÅ]›1ÐWÅ]›\,\
+šcÞ"¢¸ªžlÃz\0¥qT7#•˜í›vlÙ±Wbð\0Nø†X$tÅQ·¡j08¹mŽ7vn™³b©…áˆÐâ7ÓúÍCÓ15Å7µ5›6lPìÙ³b®Í›6*ìÙ³b®Í›6*Ø$f&¹Y±WfÍ›vlÙ±UE§Lk¹sSÍŠÛ³fÍŠ»6lØ«²êr³b®Í›6*ìÕ9³b®Í›6*ìR8ùœOð8ªæ„ƒL§‰“sUªqIæWZ \
+„Í›6vlÙ±WfÍ›vlÙ±WfÍ–:⮡ÊÁ¼WŽn»b«sfÍŠ»e$S›\\§‰®>YyâY±WfÍ›^±3\
+ŒaÛ¬¡_D±ð‰~ÑùàÒBÌÙ³S\
+­ˆVßžç’àEë‡p*ˆ·ÀU$e+×0Å®iËlC\
+ª˜ö®%ŽæiLn*ìµ<MFVlU/Ü/ íÈÔãsb¶ì|)ê8_f+ž›†=±Tmõ§¡8[ƒï¯~²¡|0\0’ìÙ³aC³fÍŠ»5+›”ÅVÐŒ¬VB)¶%Š»\,Œ¬Øª«ÎÎ8œK6lUÙ³fÅ]›53b®Ë-\\¬Øª¨–‹ÇÍ›_«ï“Ø£Nu¦Cñ øa”ú«M£ÛK—®øaÆ rêqVä5cLnlØ«³fÍŠ»6lØ«³fÍŠ»6lتèד‚na¨8#ÅÅî¦õ\0UBæÍ›\
+»6lÃ|UÙ±t€¶T‘pÅTsfÍŠ®Fâk™Û™®76*ØÛïË\,LO\\‰Ë)… 1Èü1¬jkŠµ›6lUÙ³fÅ]›6lUÙ³eÓk6lØ«³bÐBf4§€ÀhqUÙ³b®Ë Œ|\0\0ôà J8Ѹ/tÒWŠzŸ 1<ØPìÙ³b¨‹yuÍ5Á}»`|ØÒ¦Þ]»[+Å•ú ”y»^ƒRE B@È4é–Xž§ ` ¸™‰)z0Ú¹ÐôO0ÅkoÀ‘Zg8LJuîpÊ"B‹Ã]ºwM é€DŠã '® IÀN8@¡HRˆ\0wÅ&Œ0ªàrÕ8¼2…8ªŠfËcRNVvlÙj¼*©sÄØPÓ*zâïœÔ×[›6lUÔË¡Åá\0õÅ‘œUB2°mÒ"¯Ã€°vl¾'+\
+»6lÔ®*캜¬µ8«Y±Î)â®Í‚ÄPÓk²Ìت¼$nN%!ßlmi›vlÙ±Tlz‹¤~ŸlË›Wšå¦\0؆lØ«³cÌtÆbª©; â:bD×|°+Š¶®*¥›6lU:Žh…¯ö°˜õÍSÓ-‘¦\0)VæÃdrÂö4­fÍ›]q`N+q(“¦!›®*ìÙeHë•Š»6lØ«u9Y³b®Å!“ÒnXžlU=É—æÍŠ»6lتøä1šŒÒHd58ÌØ«³fÍŠ»6lØ«±ÁˆØcsb®Í›6*ìÙ³b®Í›6*ìÙ³bªÂZ'G6lUÙ³fÅU2î1®I;à¸dP»ày˜3mŠ©c• cpD¡ÅPäS6†1#šâs/#SÍŽN»åÈ\0銬͛6*ìw#Jcsb®Í›6*ìÙ³b®¦l*båß\0ž¸«Y³fÅ]›6lUÙ³eÎ*Öl0–ÝV îâ®Ì7ÍŽfÅ[h™EN3 /%ŒÂõ¼UÙ€®l±¶*¹“ˆ®3wä)‰â®Í›6*ìÙ³b«‘ÊŒt“4½q<Ø«³fÍŠ»6lØ«²×®VX48ª´É@"¯LRI9\
+bX«‰¯\\Ù³b®Í›6*ìÙtÊÅ]›6lUÙ³fÅ[QSL^[Myb\
+hk‹Ërd^8ª6lØ«³fÍŠ»6<&ÕÆb®Í›6*Ø4éŽ2±Ú¸Ìتå^GñqÆ#q8ç”°¦)SÍ–vËd+×-Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*­å1&<r³b®Í›6*ìÙ³b®Í›6*ìtc‘¦7\,â¨ÿ\0«¨Zà8ó;LHšâ®Å —Ó5Äsb¨‹™ýl›6*àiÓE2ñ<zIÇ:qÆc™ËcqAv)FSA‰àÍ<S|U\,f3C‰àíL\0û`UÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅWs4¥q¹³b®Í›6*á1+p^Å1T*§\,¦8´$¾6zWl RÍ›6;6lZÞÙî ]fT?Å‚ïøðàIídµû[b‹u8<Õ¬Ù³aWfÍ›vlÙ±Uku Ô8µÔJ¢£+ÜcšV~¸³6lØPìÙ³b®Í›6*ìÙ³b«‘¸šàè¤\
+/Ç+•é€…nQFÆe“Ë|¬*ìÙ²×®*êS 4 7ô•Ð ýÒ|OòþOöxH¾\
+äëËÚwÔ-\0"’5¾göØ.*›<¼ÛÛHùq²?SáãˆÆ€õí¹Å#¸ã0j{b©‰ÓÑÔ@à_´|IïþÇ_’ÐiÄQ~CÇ[·`¥‹) QÐïXEäªq(ܤ=iQöGú¸ªMi}0±ÖŠÀÈÞù×Ãt­¹b(Õ ¯Úþm¿k³€BÒ"ÕPÔìHø¿Ù.¸zEÌR«×ÜŸ|UdT‡sþÞ>Ié`VW„}+Ö˜¡OO銵è‚î ëï›Ðøv?¯Ç[…PKž•9ŽßunƒA”7ZÓ*³ºŠ\
+ ûb“EE)P+Ö¸úƒqØ‘Š¥\\Gnë!Üßå\\6µ³Fvž5¡©QàðåaS$*Ëëµ›œ:Ñ/xù:ü ²ÔuVà!…D”E+à$‹"HAôÂÖ‡írñ®\
+uY>9€ÛSÀÿ\0Í8Ùeh8óø(+àgjð´ÑýXÓãZšo×ío‰[ÅDc †ÃÀûMþ®Zžd²QUE)Ül̘Z¿îü51T\,—+êzdñb6#¦¾VôìÏâ;ã­ãfN¡7©ðÀ· $o„ •#¥?æÜUThI§ |0«õ¦eØ…5¡ê0ÇêémnÊ Kzí…vñ˜zI­O?˜é ÿ\0cŠ Ä4“œ”":š/_ž+2+òw9SsÐÓ¶igzÑÀ¯b:â.]‘özSµ<1V®ÕQ2ÔÓßý–f-5I  ¥1©0\0•û'þ"q€C£r+¹?³ÿ\0ŠªH›PˆôÀÒ!?f£Ä|ñêLÇã<Fô8é¾1SPiŠ¥²`ƒ×õûáeÄ{ôØá˨Aî+ò8\
+ê1J}8«™8šŽ‡Á×õ8¦*ìtmÄ×›DË0e¦Í›v)ðjây±T|÷*ëA€3fÆ•Ù³fÅ]›‰yeH¼N*³6lتåBÝ2ˆ*hpm‰]Ãbtçðà½ÕC6lØU±±ÅÁZb±M»6lءٳfÅ]›6lUÙ³fÅ]›6lUÿ×óþlÙ±WfÍ›\\¹M•›vlÙ±U[p o‹ÝáÀ€Ó¦bźâ­V¹³fÅ\\0Dj\\ŽF*ºU\
+vÄòÉ®>8ùâªy±Î¼M1¸«³fÇ ©Å\\PŒn\
+”\0¸vlÙ±UÊ…ºe+×[ºŽ¸ÉÈ-¶¨æÍ›\
+›6lUÙ³fÅ[å•›6*ìٱʼ±U¹±Ì¼q¸«³c‘ycš:bªy³fÅ]›6lUÙcc•›D4€®Í›W´Nr\0pÆþm…qIé7\,ZâìÌ)€Ù²õ)‰fÂÅÙ³fÅ]›6lUÙ²À¯L^+f}銡ócä^˜ÌUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6/A±UµÌE1f¤{b\,jqV³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³f˸«Y²È#+vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Wb‰¸¨˜Åë“ÎÚ[b^œ©‘”¸E²Œx˜;)SC•ƒõtT¸eN˜Ü ììÙaKtÌT¯\\(k6lØ«|ŽVlØ«³fÍŠ»6lØ«³fÍŠ«Ä€ñØæ FV*Žó„|055ÊÍ&ÝŠŠqijW6 pH»!xà\\تænF¸ÜÙ±WfÍ›vlÙ±UȼÍ3:ñ4˸œ¶‚eåŠ@´·6+<^‘¦%Š›6lUÙ³fÅ]›6X4ÅZÍ‹ýUé\\cBéÔbªy³fÅ]—Äå …8ûâ¨<ؤ´®Øž*ìÙ³b¨„\
+W|@õÌ X«³fÍŠ»6lØ«³cÕ9cYiŠµƒàµœŽ\0ÁÉqÂ:`)YT) ÄòÙ‹œªaC³fÍŠ»6lØ«³fÍŠ»6`+‹ÅmñU Ø%ÐLqV³fÍŠ»ÚÆ昪l0¾V2ºb~£tÁvå)ñuÁÉ(\,ØùiÈÓ…Í›6*êæÍ›vlÙ±WfÍ‹[Çê51UجéÁ©‰bª°Bg`£¾]è2ZÃë7L/²œA cØä—W×êÌB¾«à H–A¾à‹y½<UmÊ…r#•ùµq˜ª"ÖA«šîã×jà|ØÒ»~¡ ÆbIé7\,U¹b0kÊϱ8¥ÌÞ±®!ŠW"é–Ñ•ë—œ\\’sÅ\
+Y³fÅ]–r±kuäت™B:ãpÂæ0©¶⪶ê@L6Ô­c† ËJá*±CQ‹Któ\
+1ÁIC6lØPìÙ²ÕK U¬Ø¬°4_kÅ]‰¸08Ìت"æV”Àù³b®Í›6*Ø$f FVlUqrÝq¹³b¨»um‰\\Çéµ3[Ëé5s\\ËêµF*£‚-¸ïËå‚F*ºJr4ÆLÙ±VÉ®PÍ›U)‰“S\\¬Ø«³fË\
+Nø«Y³fÅ]›6lUÙ³eŽ¸«Y±Y\0lKT2Õxây³b­ƒLPÊH¦%›qß6lØ«²Ö í•ŠÛ/)\08ª¡¹'“S\\¨Ä±Ò˜_ˆ6®Í›6*ì|Tä+ŒÍŠ£ïJpY$õÊÅUý1®¥ /á1_™®¬Ë¦™Yjhk…\
+’BPWÅåŸÔZb«³fÍŠ¶N(ÑqĦ(Ò–ÅTóe…'¦b)Šµ›6lUÙ³fÅ]›6lUØ.Î5µ1Êå:b«î+1\,¶bÛœrF_¦*³6Y49X«³fÍŠ»6ZŠšb²Ãé€qUÙ³b®®lÙ±Wc•Šãsb«ÖB†£ÌXÔåfÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6>5æiŠ«%Å#ãŽ\
+’׈®Å]›6lUÙ³fÅ]›6lUQ¦fIÛÍ›vlÙ±Vë\\¬Ù`W¦*î$Šæ\
+OL[iµµ2Û ì£Vä T¸í›x¹–vlØä1U¸§¦i\\õU¹nª˜ª]›\,õÊÅ]›6lUٲ땊»6lØ«³fÍŠ»6lØ«³fÍŠ²K d³259S#ÒŽ.@ñÅ£½’4ôÔíÉ©©À®Mñ­×2šf&¸U¬Ù³b®Í›6*ìV}SLK†_H×NaÐù§\,(º‡Ð®éš°©Fé…£‰&$a莨Nf”Æóc“í \\ÑÄðÊáG¤ÂÜ]›6l*ìÙ³b«âÁÓ uÛ\0+q8¯®iLUE… 2²É©®V*¹)ß3{csb®Í›6*ìØÿ\0M©Zc1WfÍ›vlµ8©ŒŠ¨æË9X«³fÅííýcLUC6)4~“qÄñWfÍ›vlÙ±WfÍ›vlÙ±WfÍLØ«† †ÈÊ+Ø: ßIi€ßEBHž›ÊÌf£.Wõ¶3\
+ªK)”Ôây³bªë%åˆ0ǦAÀ Ôâ­c‘yšcqñ·TšÜÄ*q qr%À¸«³fÍŠ»6lØ«³fÍŠ»6lØ«±þ¡¥1™±VÁ¡®bk•›v]+\
+†;à©c@»b©~hW)o-dé…'\,tÀEŠTû_»†çû¼ Ë59XB•Ù³f®͛6*ìÙ³b®Í›0Å]›)µq<UÙ³fÅ]›6lUÙ³eÐœU¬Ùˆ¦lUÙ³eÒ¸«Y†lØ« òõ°Ô.‘Uâo£ìÿ\0Ãdò:Äöýg|Ÿ§ˆ-}vÙ¦5ÿ\0b6_øÛ$©$‘½*¶àª‚GùÓ è+Zõ8*qÄÔ\
+±è1;[#tUš¤t ø_ù»Lô™$0’¢¬Zˆ{TÍ?µ†Q¶‘†ŒrâŽû³¿ýgÆúUHÙ€­(^›‹ý_‡nàÍë F0®ü5?Ê\\U~¡ñD“DIM*½A'\
+ïDQ¤±±4gãÛßýVøpá­Ö5ä¸íà¸\
+Ýø7§0«°<Iïÿ\0â©]´<\0û@ý¿ÉÁÊeø‡Ø|v±ÝCÊDcÀ„v©ø¾/òqg-ª‘‡\0‚ µü¿ìñU—ŽÊGZ Ζ`¹¥H=q°ÌÒ¹#)Ö§§Ý–åÊ‚¨Ez“µ}ñUÂp8¼¿`¯Â}϶$n*Â(jšW¶ù£°’D¬ŽZ*» 0‚×ê¬R0=>5©êN*ƒ{¥™Ý¶ôÀ!OCNÿ\0óV[Ä‚1E%j wÿ\0…ÿ\0' Ìœ¦$-@Û 4ÈÞØ/¨à‚7_ŸíU|·2ZFX ¢í·]ñ V"¤ Ðwüqú”4᪀}~Þß܈ ;W§ËùqUÑÝGo͘±$Wç‹AsÝ}=€\0njCˆ«a¤—®NçÄá•ŠZ\
+‚K–¯zvÿ\0cŠ£ŽŸêËð²ÿ\0.]9R#îÀ÷?å†1Þ\0à?aÔ`˜e‚T)V¹¡ÅRIÔ4†F;(4§aÙ—n9æ;°úä•ÄnìkíL$Ô-˜\0ñ·*þ¬U¬ ò&¤xåÉ7!ÀtƼ>Õ+Œ$Z×P’6c^›ã–±UëÛ\0wï‰ÉA_ UJ6A $oì1à¨>µéN™¡r“Ûü鎒$ pZÓBÈ)V=kð‘ò®hÁ’ž\0†Ü¸Äˆõ*ÃÀb©$ÑÔW¸ÂÙ׋TwÃË”ª×\
+§J‚;ŒU›6lUÙ±Åß)EM1V³`Ô³äµÀ²'¦*³6lØ«³fÍŠ«Aðµrî'…-p3õ#[›6lU°Åzf$ž¹Y±WfÍ›vlÙ±WfÍ›vlÀW1Å]ŽAS˘ª)aÄ%Z²ýb16bØ«Y³fÅ_ÿÐóþlÙ±Wf¦XÁ&-qT.l³×+vlÙ±VÔr4Á&͂׸µpÞ)–T¦R“ LŠa¤®Š)…Œjqk6lØUØ¢IÇÍŠ¶ÍÈ×+6lUÙjhr±{x½CŠ¬iK\
+bx"æ/Oâ®Í›6*êæ­sfÅ]›6lUÙ³fÅ]›6lUØî$ïÁ*U ŠFüq‡®V*¾Fäq™³b«•¸ãŒ•žlUØ¢ÄÌ*1<4µxÂPà)\,*W®V ¹\
+OÃ0¡Ù³fÅ]›6lUÙ³fÅ]›6lUÙ³eñ=qV³fÍŠ«ÛÏ|ÆaX»V™Ž˜ ¸zR¸«wD4†˜Ž8ƒÔãqWfÍ›vlÙ±WfÍ›v]̽qY¦ØªŽlÙ±WcÖB¸ÌتænF¸ÜÙ±WfÍ›vlÙ±UDˆ¸®1… 1Håâ)‰±©®)k6lØ¡°*qÌœqªhqîü†*§›6lUØøÈ|flUVRLK6lUÙ³fÅ]›H¹\
+ãPÓk6lØ«³\\ؤ É€ÅV#+ 'ˆÀ )Šµ‚¡Ô&€qF `\\Ø­¯’C+rn¸ÌÙ±TM¢r;ãn”+Pcb—ÓÆÈüÍpuU™³f«£^ML^x„b¸OQŽyKŠUflÙ±WfÍ›vlÙ±WfÌsb®Í›«Ë[›\,Šeb®Í›6*ìÙ³b­¨äi‚ZÜ®˜¡œ‘LU§Ø5óñ\\eõ¡³MºâúV \,[–#¨ÝýrS&B`˜îÙ06l —É!Ôã3fÅÍ›6*ìÙ³b®ÇÄÁXŒÍŠ§)y\0f¹–'Mºá6_#‘áI6ã×@¦35rHv]r³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*½_ŽXýã‰ã‘¸qTTöž’rÀuÁSÝ.ÀØ¢:ây°«g®VlØ«³fÍŠ»6lØ«jhp|w\
+«L/Í‚•|ŽY‰ÆfÍ…]›6lUÙ³fÅ]—R2³b®Í›6*ìÙ²øí\\U¬Ù³b®Í›6*Ø4Á¶àA¹ÀJhk’Rø«wê98ÄŒÈh1[x}cL4·´X&ĨIä£4l¢äŠ`ÍEƒ?Àp—fÇ"4ù`h¾Ö)fÍ›vlÙ±WfÍ›vlÙ±UX¢2bl¼M0eœŠ€òÀÓÎHÁÕ=ófÍ…ÇÆü q™±TD·AL›6*ìÙ³b®Í›\,zb­b¶Ì@ÍÐb]3b©–¥r“\0 seS€\
+V³`³mE®TäÔ«3c¤^˜ÜUÙ³fÅ[U\,h32•Øâ¶ìªs\\8v¨Å*9³fÅÍ›6*êW\,ŠbÖˆèq÷Ȩ0ZkkBæÇ(®4áC³fÍŠ¶qÎ)Œe“\\U¬8à|pj U¦ë•›6*ìÙ³b®Í›6*Ýk•›6*ìÙ³b®É—ü¼u…\,;a\0RrUåmtiHÀ÷®*”jÚ_èé\
+ØW†šÎ¦u ™Ïs…x«±ñ· áŒÁq"˜êzâ-eÍÇ­L–zåb‡ 2kEX9÷ÂÜXܹ^±UÙ³b®Í›6*êc¸WÄPbÁ×Ó§|U ›6lUÙ³fÅ]›6lUÙ³fÅUí˜)ß11<ئö§fÍ–1Cˆ¦V9Ž7vlÙ±Wf¥saŽ‘\
+M%$通T¸ŠuÃ1UÚ‡Ö`Ž>˜_ ÆQˆ6¬†ëFBœ×®G¥…£bÃKm]Ù‚?Lt°:r®h«ÍŠL\0cN˜žI[SC‚g“’q۶تÜØâ”Æâ®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìr7\\Y®ÅUšá˜S‘ ï•‰¸¸'¶*«-›Â¼Û¡Àøq¨_Ç<!¨Â|]›6l*ì±×+0ÅS©tõKoS¾á“߇ÓÂå^F˜õV³Shʹƒ\
+©b°V©Äób¬ôÂ%±ˆu# "œÆÄøà«1>ìq×ökªäväš5itÌ×›6IË›åc•ymŠª†"˜Ã+ø«Z²¯#ñWfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±VÀ®b¼qÑõÇÏ튨æÍ›vlÙ±We\\¬ršb­¦V9q¸«²øž¹‡\\]™xâª*å FS1cS˜åb®Ì 3fÅUžà²ñÄsfÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ†lتiÇéPõÂ×ûF™\\ŽV*ìÙ³b­ƒLqœflUÙ³fÅ]‹ÛÏèšâ±UI¤õ[–'›6*ìÙ©›l)n™Š•ë‚mJµšå”ô¨\\Ù³`We®VlUQ©‰æÍŠ»6lØ«³fÍŠ»6lتá!ƒ›6*¹‘¦ ú¢…®Vâk‹›¦"˜\
+B‹Ž&˜Ü²jk•…Í›\,\
+ôÅZÍŽd+׊¢Õ™yvÀäSl1Šì\,|N\0sRN\0“KsfÇ"ò4Â…¹±i-Ìb§Å]›6lU°ÅzcŒŒØÌØ«²ÔTŒ¬±±ÅS¡§ƒ1á…3È®Û^¯Õø¸P¤‰íŠ¡Ý\
+uÆà»°:Œ ˆRìÙ³b®Í›6*ì° é•‚-ˆ®øªã²Ðàc×¹a]°>*ì²ÇENB¸.á.Ø Q\\aÅ”«®Ça+ß\
+qOY©LUuÀ¶ÄrÉ'®V*ì|×…'‚ON âª.8šeÃO"ÄŸiÈQó9¥<š¸så+o¬êqøGW?@Ûþ±Vo v‘\,!T*×ä0|`¤u\0ÓsŠÛIJH¾¥)RwëÓˆÁ[‚JV‡‘8ª\\¶ÿ\0[ !ÞµR‡‰Ã2Ü4@Å€¡ ì6™DH#Œl‚ƒ5…Ë4²¡r¥~íñTv¨dUôâlzôÛùÿ\0«…heƒRŸç¾\
+Õ‹¨æI ½}ð¹’j)¾*šÛ]ðT€Ç®ýN ˜Æ±´ÀvÅü¿o#PÉêÊb‚»‚p FToB¼Ô\
+\0ÏâÅQ°†ÔújcliöMpW¤-•be«© nûâ6 4t›š’EJšü…¿Éà ÈÚ'DCCí¶ÍþËBK \
+¼ÈVrhM:žëÿ\05aF§t“È”Ñvé†I?\0ѵk÷7óa[Ä Ô’OA°§Ž*‰0|>ºŽ'ˆ^#ÃÎXƒà×á`c¤‚‡a¾’гž‚•ùW@CKXƒ©pÊÅ_«ƒû]|\
+E~«Ž%Éä)Ô°ºîTwåO„V•ëŠ«Ý]%â³V…vÛõáMÓ„ ¶Û÷‡ÃÃg.BöÅPðÈË2…¯^Ù"YQ”ɪž•ìo–G™>:³C¨˜*®9 ضõ늲õ ÓoÖ}sÏf¡ü>´Õa7|0TjŒÀ÷¨>øªÉ™ 2)¨;ûWìÿ\0Ãa5Ô“eM¼za„¶¼ ©$Ÿ‡ÜôÆÜF^Ø+)2*Ö¿.£Hf!ê50*§–Ý#F\0¥**=Æ$îiJb«rÌÄ(Üì:æ$á*\\Ó±ü*ßÄ{Ÿ×U4£n¿¯µ?kšR\
+ ÆàÚЦ:WpÃqòÛþCJ§€eÞ‚‡½F#4 }ÞØ&aÂJÒ€8.ãCÐøb¨ ¨ÍMNÕÂÉV˜up+Q… LU+uâH̽qIž#ÅS)€~ËbË5˜ƒnp*1o8­0\,Ì×(!9k*³69¯\\n*ìÙ³b¨ˆ%â(q) MqQlÜy vÅ]›6lUÙ³fÅ]›6lUÙ³S6*ìÙ³b¨‹e wʹP­¶$¬W¦=ÌÔÀ•\,ØnšIdåL-ž#8Ú³fÍ…]›6lUÿÑóþlÙ±UÉ×Ë(áA€²êN*ÖlÙ`b­fÌsb®Åâ›Ó†lUs¹c\\nlØ«³fÍŠ»6lØ«³fÍŠ»Ú8C¾ËŽ˜ª&ò@çl –Mzåb¥Ù³fÅ]›6lUÙ³fÅ]›69‘¦*·/‰Å䇀®1H¦*¥ÓÏje7\\n*ìÙ³b®Í›6*ìÙ³b®ËŽ™Y±UXÚ½q²R»c+LÄ×vlÙ±WfÍ›vlÙ±WfÍ‹A3Š…!‹ÐÆÎœ 1…ê)Š¬Í›6*ìµ49Y±UfaLHåfÅ]›6lUÙ±eŽ£eã¶*·6lØ«³fÍŠ»6lØ«³fË"˜«Y³fÅ]›6lUÙ³fÅ]›6lUÙ³b‚2EqU<ÙŽÙ±WfÍ›vlؼV2òQŠ¨fÇ:Í7vlÙ±UD®1Mr³b®Í›6*ì|oÀ×›EÉsÌS“\\¬Ø«³S\,uÅ\\\
+bª9³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅS-6ØL 8éBH@Áv7B#\0Îþ£–ÅTññ¿flUY#356HŒmÄàÍ2‰8•ÛZ½°^ôªåĵ;à–JÓò¡¨ÅWL\0;byd×s•…]›6lU°+˜‚:ãã ñÓ0=1UÙ³b®Í‚aƒšò8… 1UtŒp®8¿«D¦!€$»6lØPìÙ³b®Í›6*ìØå8¤ˆ\0®*£›6lUØô^XÕ^[ Y pAÅTJ‘•‡qZÆé¿\\FâÉTdx“IVX̆˜èˆ É!¦B½q¸6éÑ—áÀX«³cÄLE@ÛŠ»6lØ«³fÍŠ»6lت¢'!Œ"˜"(ÉJàs×µ›6lPìٱꅱU™³LØ«³b‚G\,È+Š©æË=ré¶*·6lØ«³fÍŠ»-G"V)Á>8ª¼öÞ’Àܶ¦jW $aW\
+p›6l(vlÙ±WfÇÇÐe:p4ÅWÃ#Gºâí~Ì(q¶ì Q±)©]±UŽåÍN76lUbÁeÁº³£Ç\
+ѸšŒt’™:à­í7µ)æ͘aC³b« a\\M—‰¦*ÖlÙ±WfÍ›vlÙ±WfÍ›vlØ䈪ÜØ*âÜD à\\UÙ³fÅ]‹ÛÐ‹Ì 1UòÓ–ØÌÙ±We¯\\¬Øª*Iþ NݨÕ8ŽX4Ä)ÝRsɪ10 l2‰®\
+±*$øúbª&¤by$º’ÃJÓ#¯ö0«se\\ÔÀ®¡ÊÃd·¨|0œâ®Í›6*‹„z?Ä®%õZ¸Ö”²ñÄéW ÆæÍ…]›6lUÙaKe`Ë8ÃõÅPdS6+p¼\\ŒKvlÙ±WfÍ›pÇ+×4fŒ Á2+ÇBæÍ›vlÙ©Š¢íÊð<ºâ µON§†N|UHûåc›s\\m1Wcƒ(2©š˜«Y²éš˜«Y²éš˜«Y³S.˜«Y²é•LUÙ³S51WfÇÇHÜWs‚ßI™]±Tl²48䌿LUfl¶R¦‡+vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Wcã•¢5SCŒÍŠªK3Lj渞lØ«`Óq3¹©Äób®&¹³fÅ]–¦™Y±UìõÆfÍŠ»6lØ«³fÍŠ»6`+–AqV³fÍŠ»6lØ«³fÍŠ»6lت¡z­1<Ù±WfÍ›v_×+šz~øª6lØ«†ø«ÂPr8ÄûCîa_«ƒÞ˜ ¥H«¸5q¬(r°ª´Òú„‰³òÆæÅ]›6lUZ+—‡ìœÒܼ¿hâ9±¥·fÍ›v-\\G\,51Tt×C\0wË&»åb®Í›6*ìÙ³b®Í›6*ìÙ±ë~˜ªÌÙˆ¦lUÙ³fÅW'\\Rj1²Äâ­fÍ›vlÙ±TE´BC¾%2ñb\\rúc]¹╹³`ˆ õA8¡›ëÅ©Å]›6lUÙ³fÅ]›6lUÙ³fÅ]›69qU¹³r¡n˜ªÜ°¥ºcŒl½qhT´L½q˜:æUe À8«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ¦1D†*÷À(rĬ1„×l2«\\Ù±VÀ'¦b¤uÅ *:æ銨fÍ›vlÙ±Wb©!\\K[°\
+F*†"†™XçûGŠ»6lØ«³fÍŠ»69¿L¦^&˜«Y³fÅ]ŠÛ|Lf銢¯Zœp&j×6*ìÙ³b®ÇFÜ q¹±T\\×"E¦Í›\\ˆ\\Ð`†±tŽ!úl %Ôããß´ŠJH¦V9#\\Ü\\([›6lUpr6Ì­Ä×›Ty ây³ UZ;v“.[s\\ZÞäG×sr%Û\
+¡3fÍ]˜fÍŠº¹³fÅ\\ 1ÅËlq¹±Wc㉥4Q\\fys¸¤1Hi.{ca³ ëp@"ªxdAF#\06Êqá[–ò°ÛO¶Æq&˜hKT8„ËÁˆÁL¦ÕÈ=0\,¯Í«ˆBžL|…\0ç4äTŽ(>š³Ä!ÙÑ?/í¿ÑŒ§¡”þ\0aVe`KCñQ˜íÐ*¿ðø\,!çÊ›ÓÜüE±($\
+Àߥ}¿—RhÌz×犡¥BÎwÞ˜;OÓ‚e‰˜žÞØÛ;q4œ‡ÐpÄMèKé¶üƒn{ƒðÓEɧÛÌàJ ›dVûJ6“°…ƒDÝ>X{2I4¼–ª¤q^µèý‡í`™ìÖHøS‹±ëÓìâ¬æÚXƒ\,Ô©ðÃ+jܤ‹´ƒwWãÉ ñ ŒQ?ÄÇcÚ£-죆³F\0 ¸®*ÝËýjn0(\
+;µþN\\7 ´‚ðÕ¶¨=\0ÿ\0'ýl`¹ ‘²~èÒ¢½Çí Æ;¾PËñkàÃ|U"»1˜UãéJ7¶Ø gbqgI-dkw£&›m¶PŠ "а j⨕wX‹ÈŠ16h¾Ñ“\
+ þÏŽØa~Š|f¢p¢ñ&cZwÅVܳ1T_²çøàYÝxÑ…kÔဎª:TV¸Uu¸éŠ¥Ë)\,M=ü1¢2^•­qi¤WZ‘Ju©_•ÅZ”È%vðÀw6ìß.ǦúbU\0wé•sû¨ÄKö©¹÷"Ój@&£©ß¦#$.Ÿ€.ÞDZ„d‘j: VâØMðF8•ëôâªö÷‹:OÄÔïLéU¤p ããã…‹aÃSñxà¸ÐÊ«JzÙÿ\0[@Ý!•šŸ¼€Ú›~Ïù8[5¿ÆbÝ•»ål‘MÈW@¡˜î<gý/eK– ÈŒšb¨ ì€<i±ñ­6ÿ\0Ç5±#o„òø¨z†"<‹õ¦Ç®Çþ6ÂË¡4kêÂIjï·oõqW0Pü âM{âRʵB£«PÐtÇÞÊÕ«QOã€Ð’Iî¤URâ¯RÃpGÓˆ‘ðJ0?«-ÁôËr¦øÒ7;ü#õâ©mÅ@çÞ§ý¬/¹¡éÐcá#é[4|zöªWp6Ãà¹ÇÂp&*ìtb¬1¹jhkŠ²{]'Ô‡0ªn09S’=+Tmx±Þ™Õ$LYzbª¸n˜†lØ«³fÍŠ¦Ì¦.' _íµr¢˜Ú¾\0¬Ù³aWfÍ›vlÙ±Tl(¥*p#Š1ËY\
+Šc ®vlÙ°«°M›}ð6Z·\\UšZN†:Žêè•\\E/™1 ® Ç|ˆª9³fÉ+³fÍŠ¿ÿÒàR/Lf>GækŒÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6XÅZÍ–E2±WfÍ›v=@8ÌÕÅW0¦7\,šåb®Í›6*ìÙ³SvlÙ±WfÍ›v+£bY`ÓFÝ8+¶Ç3–ëÀ]›6l(vlÙ±WfÍ›vlmq¾ià ÓBfÌsb®Í˜e‘LU¬Ù³b®Í›6*ìÙ³b®Á6Î®Ì 1H4«;ójâY³b‡fÍ–£‘¦*Ö8!;ãž"pe» ]ðZ #®V¸ã]°>vlÙ±UâB1¤×+6*ìÙ³b®Áú­Cñky}#\\UuÔB& Àø¤Ò™ q<UµëŠHE6ij\\UÙ³fÅ]›6lUÙ³fÅ]› -´ïZ>X]2zlWÃÚH¥ƒ%8`xL(ZÝr³fÅ]›6lUØo¦Þ$(U°£6- ҽ܂I 1 Ù°¡Ù³fÅ\\qþ™¥qªi‚@E1J6+$Do‰b‡fÍ›vlÙ±VÀï–Z¹UÊÅ]›6lUÙ³fÅWÇ“¦gŒ§\\RÞQß4ó :`J†lÙ°¡Ù³fÅU#ˆÉ°Ë’®:ÚaßžàH6ÅPy³fÅ]›6lUÙ³fÅU#”ÇÓÌXÔãsbªÄe`£¹·ô)§²Tãõ9¾Ø/u@fÍ›\
+»6lØ«³fÍŠ»6lتªLÊ8ŒHšæÍŠ»6lØ«³fÍŠ»6lØ«³eÓ+p4Ë\,NVlUÙ³fÅWÄÜMN ¤ãï…™±TAºpv9Û°¡Àù±¥lšåfÍŠº¹³fÅSH¥ŒBG|\,=sTæQÈÓk6)$|1<U¶àÇÏž¸<N\\pÀÙ³f©´(áSuÁè„á°\0’ìÙ³aC°L\
+k²ÃŠ¹ºåfÍŠ¦iÄA…ÀÓë·8–\0’ìÙ³aC²øž¹X-T늡3f9±WfÍ›l±=r³fÅ]›Š'LM‡LU¬Ù³b¨‹V\
+jq“šµq0Äf&¸«Y³e•#®*ÖlÙ±WfÍ›vlÙ±Ud›ˆ¦&íÈ×›vlÙ±U_Dñå‰bÆo‡Ž-°t加ócxšcqWfÍŽUäiŠ­Ç!¡-®3DO7¨\0Àù³b®Í›6*ìÙ³b®¹t8µ¸®+ð×ÖÈ<Øù:íŒÅÍ›6*ìÀÓ6]6Å[æO|nlت¤tï?k(eb©Ë߃mé´ÂlÙ©Š»6]3Skeq 1FjŠbªY±ÔÍÇ[š˜úf¦U”Åb”ÇÓ+Žn8Ò-§bæ§LSŽn8ÒÚ2øœSŽ XAJᥴ3S)¾nÒÚèà µÄJÐÓRTSƸÒÚ—Üqa9ŠSli£Ç51n¸cKj4ËãŠðÇ*o†–ÔLd\
+œ®8c?€¸†\
+[Q㛎-é¾[CñÍLñÓÃ[P㛎/Ã7 imCŽn8¿ ®ÒÚÜqn¸cKj<sqŸfá-¯°q Á›¦J.õˆ\
+i‘>|N\
+[R“âb|N+nâ:×+†W imdŸŒ¦-Ã7 i6£LÔÅxfá-©S0ZœSŽn8)möj°óï…ÔÁm3²ð=1Ëa#/06ÁUÍ(*f¦*ñ48Þ8i\
+tÍŠqÊã*ûu wÊB¶ØÑQÓ1©ë‚’³6:™TÅZÍŠÇ©’ÜÆ1T>lÔÍŠ»6lØ«³c£˜ ZâN˜ªs`ëGžœ\0ä˜-4§›6l(U·§1˦¿áQÃL²Åºâ­fÍ›vlÙt®*ÖlÝ1Hái:bªy²Øq4ÊÅ]›6lUÙ³b±ÆKËje0¡¦V*ìÙ³b­ƒC\\׎ËǶÍŠ»®lÙj*iŠµ›"pÆb®Í›6*ìÙ±ëaQŠ¬Í–E6ÊÅ]‹}Y¸ò툌1+éqÅRê`¨\,ÌØðLf\,ÕeĦ$ˆ\\Ðb—úƸ¾ÇŸÅ…V5£­0)ÉEËÃéÐKö1U™³fÅ]‹Ã(ALC6*ÛšåfËQÈÓk±–N…zâ°ÊqU)›-Mr±WfÍ›vlÙ±WfÍ›v+Æ!A‰¨äh0L¶2Dž£ ±T37#\\¬Ù±WfË\0œ¬UÙ³fÅ]›6lUÙ³fÅ]– 2³b®ÁV®«ö°.lU<¨E9Y±WfÍ›vlÙ±WfÍ›vlpŒ¶ãE1WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlwJâCêâª5¦j×"pjc1WfÍ›vlÙ±Wc•ŠæT/Óв\
+œULï›6lUÙ³fÅ]›6lUR'àq®Üq¹±WfÍ›vbpëNÒ¾µ ˜Uq†B‡¶\0AÙ$³fÍ…Í›6*ìÙ³b®Í›6*œi_é‰jÚi°za•oÞJ6)æÉÒw ™]ž:èÙC†ú±”¥wÁ–˜.§\,ksuÊÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÝqæ6œU¡n™Šë‚íäP7ÄçpÝ0*6lq€­0ªÜ^Ös††lTlœÝjÍ*q' Øò5ÅmÐ;ošá5R‘–åG ´ÛÁn8[›-\0Ò2öàLÕ6l(vtŸ'J¶úb¹?}3›gHòÒWJ?˜7üI±V_&)· I<„‘WùvFãÂ"ËSÈVžâ\\FÕ§†*±ge¢š0í‚ÜÕ«($mÛ²Ôž_äà=!T3–ÙïׯÚ86ñÚ¤«›üŽ*Œ³Š99-T5\0ô¡—Á4r vªÐ‘¿±ã…ÖWÌDÿ\0d\0 ¼!Ðþ.ä×m¾Ö*¡*¬wÛ\
+M}‡Ùÿ\0›°$rMê=œË̘ËíÒŸçÇÍïÐqãP»Ÿ´L o0¸vx<n˜~Ч&ÅQ\,t\
+\0P1ÛÛœ³Bïq‘€"‡§ƒb—2£Èý¸ Y ¸`¦ÈZÒ¤ŠrÅXü“ÉI%ýá?·Ž\
+‹ÓAê¨\09äOêÊ’\,An5ñÇÃñb(ÌñzOØÒ¸ª©¸½i¾2õ Æ&î)¶5WcT"˜ÑpJ1øzŠõÅTÏÐSâÀ“¸\,±Ž+JŠœ3I"¦œ»ø`qpÁ\\ý’G…|1T¢…Ï*mSˆHÁØŠòé톳iÌ’útâ[p¾ØTð¯"ÕÚ¸ª¤rªÕ†ÀcdˆÊü—¡íŽ6 %i¿Ž °¶{gÁj’?Ž*«mbÑ\0§r O€ÙLL )©ßl1išÙ°û[ããÿ\0…IÂTw]‰4û±T<ŒÍW[zW| \,„JÔaºøƒŠ]1‰yþÈØàY*zb¨ø%[…%˜îG‡ú¹FÜx…¾×Ëýl'êM*;}ª\\M) FÇF\\ƒÄµ~7\07°ÿ\0'ŠIXnz*v?äŸöXš]úd‰&éóÿ\0‰eJèe4aâo½1Tºí•xîAå±ê1“¯\
+ú}A¯Ì¡^à|«”†\0‰Èý?g]Ájj~Šý`°HߊœÁ}:¹>>8‡ÃBêqT$ƒà¾ÐÓ¶\\1;¸g:ñ Ãéú0®qC\\U/Ÿ¡ÀX:q@ß\,Š»6lتñ+( 8ÒIë•›vlÙ±WfÍ›lbëƘ.§‚æë•›6(vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›ÿÓóþlÙ±WfÍ›vlÙ±Wc¸É× `YqT ŠfÁH¶Àø«²Á¦VlU²k•›6*ìÙ³b®Í›6*ìÙ³b®Ç®7ƒh\
+ jÃ|MqË)\\URá± s¹~¸ÜUÙ³fÅ]ŠFœ±<R7㊴éÄã1G~Xž*ì¦i\\f($Ú˜ªžlÇ6*ìÙ³b«ÒVN˜ç˜¿\\K6*½ž=­ÊŠãøâæã¦*…阚æ9±WfÍ›vlÙ±WfÍ›vlÙ±WfÍŽD/Š­Áz|bI@n˜׉¦:)LF£P˜ê±¤t …aˆéŠM;Mö±\,@Ù%²IÊÍ›\
+›6lUÙ³fÅ]›6lUÙ³fÅ]—LÀTÓ<|V¸ª6lØ«³fÌ1Vèr°YãéûâQ lUG0ëŽqC¶U*Éì.-È=i‘Û¦å#ãYEÆS\\ˆYa¬Ù³d˜»6^V*ìÙ³b®Í›6*ìÙ³b­…-˜Š`Û(Dƒ|BéB9¦”2ÔÐåf„KÌiºæË]Ž*â¤e äiŠHA’ž&¸ª*k`‹\\ ‹½Ë:ñ8†\0®Í›6vlÙ±WfÍ›vlÙ±WfÍ›v_Jå¢8&E\
+˜ª6lØ«³fÍŠ»-T± ÊÅíX#Õ±U&Bq¸&î@íðàlUÙ³fÅW+Üe359Y±WfÍ–œU¬ÙdS+vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Uʼ0GÕ ÄWáß[º\
+b«Z0‹±i%çˆâ®Ë¡ÊÁÖê…7ëŠB6:@cqC³fÍŠ»6lºU¬Ù³b®¸æB½s!¡Åf0ÛPËSÄ×+6*©$œñ<Ù±WW6lØ«³fÍŠ»6lµRƃk6(ÑÄñWfÍ›vlÙ±WfÍ›vlÙ±Wb¾¯ÃLK6*ìÙ³b®Í›6*ì°*h2±X+‚Ý1TãK…62u¦Üdjt®/=Ù&‰°À„×|U¬Ù³b®Í›6*ÚõÁR²”Û®Í\\UwJãqe¦"qWeS•–½qU씞-#Tb8«³fÍŠ«[[µÌ‚%êM2KþÔ¸zO+Ó\0yEUµ8CýžB¹ìkM>ÊK!SxÀ¯ÑŠ¾$»µ{9 R}¡×³²Ž#$|DXcû!ŽF±VØò5ÊÍ–qV±ÊhqÏA\\ONÞÙ ·©Þ˜Hpy»>§€0T‚?V@ž' 5M0YÆÇ\0X¸I•@pëÌÉqªöÄólˆžls6lØZÝ›6lUmpHÄX•cƒìU p»¹8:¥i5Ê˦jaCY€®Øà¹`Pâ«š¢¸0CIQLJ˜iVS51ürøãHµ”ÍLSŽ_ 4¶§LÔÅxeðÆ‘j\\røâ¼2øa¥µ9|q~|0ð¢Ô8eðÅøeˆñá[CðËá‚}›ÓËCðËá‚=<±q\,Ä­F&b#®Ú*FÄobP~i6•pÅ”ÑiŠzy~ž<HnÇ\,5Á<UŠñ ŒTÊôðÀÄ%écÂŽ%q¬•8'ÒËô°ð¯ÓÍéà¿K/ÓÇ…xžžoOúX¬Pƒ×q =<¯O eˆ˜—¥\
+ñ!=<±0tpÔ㥷¦âKÙ+•éàÏK7¥\
+ñ ý<Þž ô³z8ð¯ÓÍéàÏK7¥\
+ñ ý<Þž õßéc¼HArŒTÁʔƴu88W‰é别‚ý\,tqѱáO ¡+×éá•ÂV”Ä=\,xW‰ éåzx3ÒÊôðp¯ÓÍéà¿O+ÓÇ…<HN\\0_§›ÓÁ¼H@™!¶¹ŒAÀõ¦zxår&ÈN”ï¨Àœ0t‹Ëôñá^$/ ®(Ç•éã¼H^\\0O§Xüpp­ ¸fã‚Z<o xSjq¹\,ÅÅ2øepÁ›Pã•L\\¦W ¶¡L/ úâe3PŒi6°|/\\VæN` OŽW‚–Ö+é”jzãøåSM¬Í¦eZš`U™°CÛ2ŠâSk6jfÅ]ŠÆ@âY±UÎA8*Òuˆà<تù[“1™³b®Í–ªXÐc䉣늩ãÕÊã3b­“]ò³fÅ]›6XôÅZÍ›6*ìrnX늪ÎkLGmÆ"qWfÍ›v†`‚‡æÅWHÜq¹³b®Ë®VlUÙ³fÅ]–¯L¬Øªó3ž§›6*ìÙ³b®Í‚lí ÛqÛ«slü*¡ŽFâkÍŠªË'©‰fÍŠ»6lØ«³fÌ1WfÁR"„¨ëqWfÍ›_ £­|rYª˜ÚÀqëLˆƒC\\-ûI§ÛAfÍ›L´ô”óÀW\0 :cÙze]Î\
+ÝZËQSL¬°hk…WÉ OÎ[®7vlÙ±Wb¢*ŠâX¢ËALUOE&¹aˆÅW8–Mr±WfÍŽAÉ€ÅVæÁs[ñZŒ Š»6lت2ÞEU¡ÀÒXÓ›vlnªÝq“(lUK6lØ«³fÍŠ»6l|c‘¦*³\,|©Äâxª±R™PÍé±\,تù™®36lUÙ°JÀ\
+×qCLUnlÙ±U{iñ[‰ÕÅÍŠ»6lTÀÁyvÅT³fÍŠ»6lØ«³fÍŠ»6lØ«-òõìq@Q°‡V!§\,¸9Þ/²q®åÍ["#FÙX¥¹³fÉ1vlؼæn˜ª†lVhL&‡Å]›6lU|R´FªiŽ–áæûF¸–lUÙ³fÅ]›6lUÙ³fÅ]›‚¦˜£ÅA\\UG6lØ«³fÇļš˜«I³\
+á„Žñ)\,ÏŒà®Ç4ƒMW+6l(mzŒ5‘£0{áN;™¥+Š¶‹É€Ã«AÆÄ×K|ò'Ó(‘FÐÊÅ F9A˜ï‰â±IÀáb¾Kr‚§à¹gõ˜vlÙ±WgGòy-c±aÿ\0 Ë9Èëʲñµ\
+¿ÎGÞ*Ìm›œD9Ú„WðÁ–ðSÄ©ý°ADm˹\0za¶”T‚§í.äœU »Fþª'/SíàO‹Þr†€n¬x‚=°dÄ´«F¢=qðïŠÊÑ)16ÈÜO/kŠ¡ì­Ó2¹ÜƒJu½ò€hxEÅÁ\\Hztû´7PRí·Zÿ\0Í8­Í fžR¼iá\\UB‰&C¥x\0aտ뜑D”mÃß±óV³q+¬’¯F£Ûüþ8½åÂŽD0ëñ{Ú8«d©-#5T°;oBÃÿ\0ÅígiÏ¥QÒ¡†Çž‚öÞ °¸ûlJµ65þﻂæêÑ£Œƒ3Ð#) Ãþ–*¹³xfa4¡ˆÕ¹û9MÄ¥¾¢”ï\\3ksî\0.„‚Nûÿ\0ÍØûJY¨€—4ä‘üßìqT‰fªq]…û°ÜÓŠ¿zÓl7Ô4•‰dž0C„Oïg‘„’\
+\0¢ƒßü¬U%ÃU"nâµÁ‘ÙÛI ¶=»>ÎC#\\ÜJ6ùä¨Û:D`±=6#í6*¢²M(IIð à)4 „;°ÜO`|pÁ%\
+E»Öˉ§p>\,Iœ„u$þÈþU.6Ε5åéîióħ‘‘±Pÿ\0Ã/]îÈ¡‘ÐÓ³šà9ágäìH¨ÅRæ–Y£UcP¢•Ä툡Jü°K˜ÕhkòÀHC8áµ|U»¹*¼Aß ½6A¿Mëó8*rT•mð9¨O|UJƒ¡ï©AAÐå8N(§Úêzbª"EMœw?O|J2%ŽVzí^ÔÁ_ jí–ýÌ"½úâ¨8-föWv÷Û¦"¤³v? 6ÿ\0&˜gý\\}¢(=éc¶ îÎhCSÛ|Udo„­GÏùN% âhw$ýÎ+FÅj´Ø~8XйcØoÿ\0â¨k—ªºð®è\0 Ž§.(£Û\
+.¨vÅR¹þÉ®Á—á8vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›pÁBR¸²Šb•3×+1ß6(vlÙ±WfÍ›vlÙ±WfÍ›ÿÔóþlÙ±WfÍ›vlÙ±VÁ¡Áð\\ñZa~]HÅUn›WÍ›vlÙ±WfÍŠ(bªy²Û®V*ìJËS€ñE”¨¦*¶EâiËcÈ×+vlÙ±WfÍ›vlÙ±WfÍ›v]2±aN8ªŽlÇ6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Ç"s4ÜZÝÂ5N*¶HŠuÄðUÔ¡ú`aŠµ›˜ÜUÙ³fÅ[Uå¶+õv¥q‘·\\.W1TZ*Šà9­Q˜Jz`Væ5lO15Í…]›6lUÙ³fÅ]›6lUÙ±ÁIߊ»6lØ«³`ƒnBòÀø«jhk‹Ë75¦ÍŠ»6lØ«³fÍŠ·SWâ1<ت;M…g’’·òÄo¨)Ó!¶Ó˜X0É­Ž¸ ¿=²¾‰a—°}^Ržjr gf&ìÙ³b®Í›6*ìÔÍB\\UflsõÛŠ»6lت´3´]1’9sS‚á€2Tà7b1U¹³fÅ]›6lU²k•›6*¨‘òÆ0¡¦-1'55Å+sfÍŠ›6lUÙ°RZ’œñ\0UflÙ±WfÍ›EÛƧ–NF˜Àäl1¸ìÙ³aC³fÍŠ»6l±×k6/"\0µ†*ìÀW\,\
+š`Ø­h*qT )›˜Q©‰â®Å£p#›_!¦36lUÙ³fÅ]›6lUÙ³fÅ]š™°}…¯®$Ò@´l^ê/Iøâ¡-±™³b®Í›6*ì°ÄtÊÍŠ»6lتåBÝfB½Fé†1³àDBV©Š¤XðF36*ÛefÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lت¬Q‡ÊSé¶5\\¯Li5ÅQaýo‡%‘Eåcs¨ÁzÎ8à6¨C¶l³^ùXUÙ³fÅ]›6lUÙ³f¸«³fé›vlÙ±WfÍ›vlÙ±WfÍ›vZ¯#A•ŽFâkŠ¶ñ”ëŒÅe—ž%Š»6lØ«³fÍŠ¶FV]r±WW6lØ«³fÍŠ¢\,nšÊe™z©®t[Í›˜ Ôì)œË6*ŒÕ/›Q¸{†êƸ6lUÀWÁnHæ{c\,™.˜mw$iJ'—žÞ†[nr±WfÍLºb­LqrÝNU2銭˦:™|pÒS.˜þ9aq¥µªÅvTÅc‚a¤Z—¾8¨LpL4¶¶·Ç΢»e„Çp'\
+8”e„ÅÄxáq!Âb±GS¾*#Ç*S\
+8–K\01/OQŒaGG–#Á^–X‹%ÂŽ$0\,G‚„Xáq!Dyb<"ËaáGÒÇðbÀOA\\^=:y>Äl~Jpð£‰éףЯýÔÃç¶_\,^1Ü*üÏôÁéBw=÷¥–"ÉByNcö¤A÷œžR_Û”ý ƒŠªÔ»˜Š©^™eKuɪyZÔ}¢çé'—¬“ö+ó'Á&bÌ!¯A4›HþÌK÷Wõà„¶>Ê(ùƒÅr|3Þód³•þÊ1ù‚H»n‘?Ý€¸àñ|“áù°$Ð/[ý×O™¢ùfñº…3“ž9¸àñOpO†;ØbùRäõdôÅ”¥ï"ýÇ%ôÊ ÇÅ’|0ÅG”y~åþÜPyI;Ê~ì“æ¦KáÅ)ÃÞFû†(¾V·_ÚÃúdƒŽj`ñ%Þž÷$?á‹^åÏÓý™á›Oò¾ü=¦jcâK½x#Ü’/—- o¿|¿hz©?IÃzeñÇŽ]ëÁä›ü;eü‡ï9¿Ãö_Éøœ8㛎9w¯ {’Ð_ï¿ÄæýgþûüNñÊã»Êðǹ)ýeþûüNWè/÷ßâpߎn8ñ˼¯ {’ŸÐVÉøœiÐ\,¿ß‰Ã~9¸ãÇ.ò¼1îI¿Ãö_È~ó”|½gü§ï8sÇ7xåÞ¼1îHÏ—\,Ïfûò¿Ãvƒù¾ü<㛎9w¯{’òÕ³w¿û13å‹~Ìÿ\0‡ôÉÜqñ%Þ¼îcmåh»; c•S´‡îÉ7®8ø’ïGX³yWÂOø_íÄÏ•äí"ýÇ%¼r¸áñ$¾Xsybàtd?~$Þ\\»Ÿ§&¼r¸añJøa‚¶…v¿îºüˆÄ[J¹^±7Ý“þ9\\qñ|‘áù¼é¬äO´Œ>`âf":çHà\\Mí£´ª~cˆ;‘áž÷œ˜²½<Ÿ¾—lýb_»}\
+Ñÿ\0bŸ"pñÅx$Á}<¯N™3o-Û7BÃéÀïåuý™Ò0ñG½2bf<i$ïå‰GÙu?~.Ý/@§äqô÷¯«¹˜ñ¦<:}í:ÆOË|ö'Ú‡Ðq ‹)a(ǃý½E2š!\
+x’ÿ\0O(ǃ xÓñ øb°B®*cÇF8äLR$ƒ’>\,F'úr5ÄÌx8SÄ…)–ƒ‹‹˜òŠ`áMªKp\
+Ð`8oaj²‚[ÜDÈM øåS)á-¨Ó*˜±\\®8ÒmJ™TÅ8ãÒ.x)mC6(éÄÓL ] pN-w0–”ÀÔÍLUªW6 ³Œ=kˆL´r*§›6lUؼ\, oˆbðAꃊ©9íÇ2ñn8hö\
+¶þ¯|U)Ì6Í›\\[›6*ìÙ³b®Í‹Dœ†&â‡ÒÜÙcs‚¸¡ ›6lUÙ³fÅ]›6lUÙ³fÅW¢é"†˜½©\0ï‰Íö0%§Þ}Mùcoî¾·'< › !Ù³fÅ]›6lUØõÌ°iŠ´sfÍŠ®.H¦76lUÙ³fÅ]›6\
+ŽÐÈœñT.l²(i•Š»6lØ«³S\,uǸ ÅTófÍŠ»6lØ«³fÍŠ»6a¾ ¶´2â¨\,Ø"êE©ñWcЃ͊¦2N­0¼õÍ\\¬\0R»6lr¡n˜Unl²\
+ìr±VÃÓ15ë•›vlÙ±WfÌqU€¶*¥Ž¸šæuâiÅUe“ž%›6*ìÙj*ixÊ ñU<Ù³bª¢b1=ØæUäi‹IŠ„â«"‚§Å囚ˆb®Í›6*áƒZàø÷ÀY±¥vlØø£2 Ufl|±˜Í3vlÙ±WfÍ›vlÙ±WfÍ›v µ¸ôÁQÄkŠ­ºŸ×jà|RD\
+q<UÙ³fÅ]› ß2ÓQÍ›6*ìÙ³b®Í›6*Úšâí5FÍŠ¶Mr³fÅUaNYtô^¹P¿—4œñTc^©Z` ™®36\0)]ŽT-Ó‹[š6øUMÓ†7Ýz`lB—fÍ›vlÙ±Tu¬"EÄ'·1VÎK®)ur²\
+ Úkd¿6lØPì˜ù:ã÷s¡ê¥ÿ\0†Èvy^ãѽ ÚE+ÿ\0ÿ\0Ƹ«Ôlæ+Tt5ÁÖèÎ55§zá>›(Yx¶Õ¡<1àÉ1õ \
+Š§—/éKJÑxŠW§^X‚3ÄR¿:' R¿ì‘¸ãYå]ëñ¿ˆÿ\0š°ÞÉÚ¢¸ˆ Šx“·ûUu°‡Žà<XS±_µÿ\0ÁwPÅy$†PFÝk„²'¢íoM[‹(c±¯ÛUÿ\0WŽ25hˆô`¬Å†ôëéü?å7ÚÅWÛÞË­ON¡zÿ\0ÆØ*EäŒôÜø`¨\0/ˆu%«ðÿ\0Á`Ù‰µ‹ãÜúV„ÓáÅZhŒËû…Ý)"àš«õW.ÞàÀ"¶ŒÔ9‡¸#÷_òq¶Œìy.€î6¯üOÍÁ$ŠáW™\0|T¥GN5ÅW¨ŠRÜÞ‘°Þ£¿úßìpÁGxÉ"3C¶ÅiöYÈÿ\0'ÜÜ|MãHè*xÿ\0Äp=ʈîVÝ+ðŠnjiþS.*—ÜË\,™T? :í„W›ªòUݽòMynÓFª6ß\,'¹µ‘_¸Äž´ùâ¨{îxù*„=\0ì+ðŸõ¸ý¬“GÉA4bŠÓö‰?ñ®Ù)±˜r¡\
+>µ‡6÷‚âêy0´ÿ\0Ââª`ÌÈAê:Ö«J?cý–3ÓX¾$¡tÃùr¯/‡©'C†=ê ?츯‹kq5ò‰Ý\
+h“üž8ª”±ðJ£ný«…—‚ڨ¯#7í_‡ /ä1€àª?ÙÀwö‰#sWãOŠ¡„Wrâ b 8ô% äÜ68œ’È+¿Ž*ƒ‘ÞG¶69ìGLRuâ8Ž‡.(ˆë×RiU¾ÈÛ½p%ÕÁV íð0Ïàâj)ˆK\
+ý \0ñ?\,UiB…§üÿ\0›C^&ƒ—ӂך™I(^¡hzvÄ#8¢#oÙÅUaè•JÓ¨ñÀ²\
+5}”üþ<Q9´ˆË²SN€xeË‚þÑ¥~UÅPܨÀ²@¯Î¿ü.$b =[sôtŨb\
+ƒ ŸF¯$â§&¿F*£põªõ8Urzø`ÙÉäk…×€ŒU\,¸?÷8¸j1UÙ³fÅ[½1O@Ò¸ØÛ‰® 3ŠS¡xåc¹ ¥ºaV³cÌDc1WfÍ›vlÙ±WfÍ›vlÙ±UÑŠœ<<V£©¡® ’`ÉLU›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÿÕóþZŠœ¬ÀÓF¤*Ep4¨Ðff劭͛6*ìØ!#ª×aCŠµ›6aŠ·L¬_ˆãˆœU¬ºå\\õCÇ–*…ÍŠÇ&¦\\ÑðÅTsfÍŠ»6lØ«³f¦/AŠ¨fÇÈœ 1˜«³fÍŠ»6lØ«²ë•›vlÙ±WfÍ›vlÙ±WfÍ›v Ž\0ë\\ Š¤Ì» U¹bàqQä-×Å]›6lUÙ³fÅ]\\Ù³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙj+1‘Š£ ¶C#× ÜQˆñ;(ã‰ñUUp1#›6*ì±±ÊÍŠ¢šæ©ÇæÍŠ»6lØ«³fÁ¶ Ú‡AfÉ ÆŽªœ†Êœ®\0mVfÍ›\
+»YÝÄñOLÒ¸ªÆbƧ+6lUØ¢DXWÁ1HiŠ¡È¡¦V9ÍMq¸«³fÍŠ»6lØ«³fÍŠ¢ã¸\
+´À¬jk˜\
+⢊âª9²ØPåb®Í›6*ìÙ³b®Í›6*¨"$WE1d˜LMÚ¸ªÌÃ6lU2j!áß-»8/ˆa”S†ðrMÚ\\E 1Æ6¹Uø«ïƒe• TqB6lØUÙ³fÅ]š˜&c*òĤ~UO6lØ«³tÍ›l±=r³fÅ[SÄ× ÃJ`LتçnF¸ÜÙ±WfÍ›_†48´±Œhͺægn‡Y›6lUØøÀ=q™¦*¹èØÜÝsb®ÃM2ímÁ\
+ó`"Ò "oeÈX`lÙ°¡Ù³fÅ]›6lUÙ³fÅ]›6lU°ÅzsJͱ8ÌØ«²ÔTåe©¡LÍôyáY×¼Sl&8»6lØUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]‹[ w¡ÄqHŸ®*«x¡Zƒb’¿3\\O®Í›6*ìÙ±@£qU<ZÙy6ø4Åö‹qŠ…9…Ç3r5Æâ®Í›6*ì|iÌÓ‚!¶–MÐWY4b3A‰b“+£Qúâx«³fÍŠ»6lØ«³fÍŠ»6l|q4Ÿdb«3c™Jn*ìÙ²À©¦*Ö<ÄÀW¶b¼pcN†.=ñT\0Ç+¹èH+Ó /Z3ã×Jóf˦*ÖlpBzf㊴ 1ÅÙºœÜrÂá¤ZÚf¦)Ç\,&[S¦X\\T&8&E©Ë ‹ÇËQ –ã„xxQÄ¢±×/Ó¦\
+)–R¦¸DQĆã„x Gä¸Xñ!„xá cÄY.q!Dxá\
+cÄ8xXñ!xá KW²¤ü†‹C¼—¤L>{~¼< s['’L"DzI•®Ÿí•O¦¿ñ”Gû²Mý†(©©Œ@Edê/-ÙÇÔùœŸo 8Ôà2'\,G$ørêóè¬&›hãfùƒ¢òíì¿î¾?ë2yƃlºdNnàËÂï\,B/)L¼‘WåSƒbò¥ºÿ\0y#7ʃ$_FjS"rÉ—‡¢//X§û¬·Ìœ›kÙ‰Ð0m=ódLäz²á¢šB©²¨!sTån{മᛀÆñc¹Ê¦_A›lOŽXªí³Teq9b3Šº¹xá;Ž*³51üsqÅT雎)Ç+Ž)YÃ7¦WP·ˆË Ë㛎*Õ2©Žã—ÇYLÔÇñÍǬ¦]1ÔÍLUe3SLÔÅVS*˜úeS[Lªc³S[Lªcé•LUm2©¦n8ªÊeS¦U1BÊf¦:™©ŠVS51ôÊ㊬¦U1N9TÅVS*˜úf¦(S+•Ç¦jbª|q¥qZf¦*¥Ç(®+L®8ª—®8¯ÜqU9Eqn9\\qU¹E1n9\\qT;B­ö€?<BM> >Ôj~ŒÇ*˜l­¢MÑÿ\0bŸ#$òä-ö—ç¾HJåÉq˽\0îbrynAöOÏl &‡uìWärjcƘðø…`2YKÛFF b΄cÄd´ŠO¶Š~Œ—ˆ:„p…€˜ñ¦<šÉ£Z¿ìqù '—co°ä|ÅpñD£†LY Göq6BƧ$2ùzeVVü0é ûùo†äQ¸IÌxÓ=¬‘ý¥#æ1#<+Ä‚)ŠÃn®*cÌ ¯L‰Šx”'€'LAj¸1Án¸‘#Âˉ Ñ®3Ž\
+1ãJ`áM¡ŠåqÁ1¥0Rm¨$ô뉹äÕǔƕÁIµ3¾U1N9\\pRÚž-æ-†2™TÁI·3r5ÅšòFON»bʦ*ìÙ³b®Í›6*ìÙ©–ªXÐb«’B¸ÖnF¸»Z:¯.Ø»e$S›;6lØ«±ÄmŠE1QŒ}1U™³fÅ]›6lUµb½3]ò°ÒÓI{¨L«Û beÉR¼V(½Lc©F*{c£”ÇÓ®šOÅ$”É×Å]›6lUÙ³ XÆ)\\UG6cŽNøªÜÙtÌV˜«Y³fÅ]‚£»(œ0.lU²jk–ª[¦7ZS–øªƒ/C•‹Ý\
+>؆*áŽf®76*ìÙ³b®Åíàõš˜†+ ÆQŠ¢.ì¾®+€°]Íë\\\
+ €+k×$šd@-NFÔÐ× àÔiA†éVë r¨Âœwqë „«³fÍ]›6lUØ´ïˆæÅUf`ƣ͛vlÙ±WfÍ›lm‚ãˆÀÙ±Uò?3\\flØ«³fÍŠ¯ˆÑ† ¼ ÀS Æ.ÑÈÉÈôÅT3S‚§*ñÅV#q5ŧ¸õ@6*ìÙ³b®Í›6*ìÙ³b®Å­åôš§ÍŠ«\\KêµF$TŒË×L†Øª6lØ«³fÍŠ»6lØ«³fÍŠ»$ Pc3b­–'®VlØ«³fÍŠ»\,’r³b®Í›6*¹P·L¦R»a#¾2þ0¶*‚Í›6*ìÙ³b®Í›6*ìÙ³bª‰?Lc)SCƒ-&T!rÁÚ£QË™Y±UÌå±¹³b®Íš™±WfÍ›vlÙ±WfÍ›v/g9µž9‡ì08†lUêЂJ§•r@̤8ÖŸ«"~V¾r±?Ò¿gþIñÉRúÒÓ˜¯Ò1TçN70Û¹\0JÒ•Ã)Ú$~d•B iÓù—þ6›S§&â@¡> -oEœ’Ä[vâë^†ŸÞ¯ü*¥zEëØR5Ù+ßü¯‡šÄOÄÂ̲DÅÚ½ù’Ø”@"º!=F\
+`Å_þâl`¼•¢hTúlçˆj߇üCU‹Qiíã’•$Ëþ©ãðÿ\0«‚n$‘R¨¹q4ïLik 1 PÜ‹W€ð§Úÿ\0eŽ±úä¾ã*OJ‹þ%Š«$æ)K jMÉû?à—+-¸Tj–܃·q\
+%"Ìqö<¿—ü¯‡Á2µ&­be4Ú‡Ùÿ\0[DÊ¢q\
+Êap\0@Cÿ\0¬¬¸èå7œHEë˱¿•±4 qÀ=}8Ãâ 8òfDZ’0$VìÀ¶*«=#1­ 3£ìœ4±Ù’·#‚³Ìo¿ù_ì°L¤Ù̯!æàš…ì¤qv_æÀRB)"·ýâ1fØ(ý¬U2¼wIn\0¯ kЂ_Fuæ¦ÍN¤~Î(ðÅs'!VM©S¶ßórâ“Fvêz|ñU7H9´‚ŒZ£ßð›Nbе˜a$®Èk¸¯½wÅ­¥i XRŸçÈb¨»Æu´3©çŃWéû9R¯Ö&bŒË‰÷ì \0~è ŠÕ¶þlVÖ6·&SéÔƒQŠ¥³:I+pjo·MðSsø›c¸§ñÅõ 9£ýäGà@j£½OÊ%ÅŽÍÐåÅT\0Ô®6‚»V¸¥º¬hÈÄTÇÆPªoãLUd»@?\,FBå`F)$è› ÎS-Fã¦*±oDWÔj‘CÒ£h\\úÆ®ä§ù þªã£A9ìˆøWâøÕ˸›×ýóý“·…@ýœUlÔR8T/0Xûù©±&«2²ü* ä>cáÁ†Pö€\
+\\‰\
+¨¢ø|¶åŠ¨I9V+Ü°s·\
+v*v>8:CΧä\0–Pÿ\0k¨GümŠ¡î æ0®èöÁÓKP=¶Â«§ê|1T ­É‰ÆfÍŠ»6lØ«³fÍŠ»€ëˆf®*Œ’U¦ØõÊ®lRìÙ³b‡fÍ›vl¾'+vlÙ±We×+6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b¯ÿÖóþl¾'+vlÙ±WfÍ›E$ -03œ¬Ø«±QÕıâB1VËÐSÍ›l/>8 64¶ˆ·+,d,1503068160,1,-1762852864,2003-10-03,m,with,come,0000-00-00,ÿØÿà\0JFIF\0\0H\0H\0\0ÿíPhotoshop 3.0\08BIMé\0\0\0\0\0x\0\0\0\0H\0H\0\0\0\0Ø(ÿáÿâùFG(ü\0\0\0\0H\0H\0\0\0\0Ø(\0\0\0\0d\0\0\0\0\0\0\0'\0\0\0\0\0\0\0\0\0\0\0\0\0\0`\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\08BIMí\0\0\0\0\0\0H\0\0\0\0\0H\0\0\0\08BIM \0\0\0\0\0\0\0\0x8BIM\0\0\0\0\0\0\0\08BIMó\0\0\0\0\0 \0\0\0\0\0\0\0\0\08BIM\
+\0\0\0\0\0\0\08BIM'\0\0\0\0\0\
+\0\0\0\0\0\0\0\08BIMõ\0\0\0\0\0H\0/ff\0\0lff\0\0\0\0\0\0\0/ff\0\0¡™š\0\0\0\0\0\0\02\0\0\0\0Z\0\0\0\0\0\0\0\0\05\0\0\0\0-\0\0\0\0\0\0\0\08BIMø\0\0\0\0\0p\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\08BIM\0\0\0\0\0\0\0\0\0\0@\0\0@\0\0\0\08BIM\0\0\0\0\0\0\0\0\08BIM\0\0\0\0\0s\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0w\0e\0s\0t\0_\02\00\04\08\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\08BIM\0\0\0\0\0\08BIM\0\0\0\0\0\0\0\08BIM!\0\0\0\0\0U\0\0\0\0\0\0\0A\0d\0o\0b\0e\0 \0P\0h\0o\0t\0o\0s\0h\0o\0p\0\0\0\0A\0d\0o\0b\0e\0 \0P\0h\0o\0t\0o\0s\0h\0o\0p\0 \06\0.\00\0\0\0\08BIM\0\0\0\0\0\0\0\0\0ÿî\0Adobe\0d\0\0\0\0ÿÛ\0„\0  \
+\
+    ""   ÿÀ\0\0\0\0ÿÝ\0\0ÿÄ\0·\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0!1AQ"aq2BRbr‘¡‚’#ð±ÁÑ¢²ÂáÒâ3$ñòCScsƒ4%“£³ÃÓãD5\0\0 \0!1AQa"q2BRbr‚’‘¡²Â±¢â#CÿÚ\0 \0\0?\0ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÓü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÔü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÕü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÖü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿ×ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÓü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÔü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(Új¨ Z¨m¦vÓm06š`m4ÀÙL ´ÀÛL ´ÀÛL ´ÁæÚ`Zjj¨ ZƒÊ@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+AÿÕü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(Ð-@µ»jà÷e0{åÕÄ{åÓ¾U\\5ï“Lˆj᧓L5—“WS^M0ÓÈ«õùúšyúšyúšy~¦½ò)õ4ò)õ4ò)õ5ç‘SêkÏ"ŸPòj}MyäSžM1^y50מM0xa¦yU0cåS†3S›*b¼ÛLZjj(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÖü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÛP6Õí¦vUÁŽ˜DUpd!«†³ÕÄd «õ5‚¯ÔÖB¿TÖ^M_¨ôCL5ï“W {äÓ¾M\\G¾U0{åUÀòÅ0{åŠ`lÀØ)°S»06\
+`lÀØ)ƒÍ‚˜X¦<±L(SžUL*˜<òiŠóÉ©ƒÏ&˜k O©¬L5>¦±0Tú®±0TúšÄÃS&˜¬L50bb¦ u0bV¦+ËP-Py@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿ×ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(=µ»jàô%\\êâ3ÕÃYˆjâ3UúšÈAZú¦²ÕúŒ„5pÖb*b=UÁŒUÁîÁW»ijB „Lzú(3\\I[¢ŸÑA˜ãæ?)¦ŒÇ9ù]4{þ٠Ѭ>ÚGz–Qã>ñýŽ9{ÛôS\0q ôÝú)ƒ/öžòG¾Ôö´^þÙèô61ÕÏè ðqñœþŠ£ßöµ? ßì¨=<\,–¸7û ³ÄÊ;?Q ÄñS–ƒãæ^ªiƒQÇqÔ¸<ò[¸ÔÁç–{©ƒÍ´Áåª+Í´ÁæÊ`ðÆ*`óÊÁ‰Š¦ L51X˜j}Mb`©õ5ƒAYú®µ˜ja¬ U1u‰Ž³ƒ•1^m¦-Py@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÛPz®BUÁŽ®#1 \\5±a«õMf°V¾¦¶\,5¬Fb*¸ŒÄupzUÁîÑW¶¦ ‚ÐPm\\9[¢šhÜœTÍÔöÔѽ8Só7覘ß\
+¤šš7/öPgùH×@·û(­«‰~ŠA!1mÔþª£#\
+{hŒŽ<}Ô£Gé«¢<±[à@}®Œ<‡ù¼7öUÔeùVê­Ù¦°ÂHߺ¦ªOÕ~^.»Gè¦0G€ïfã|ÅÚhÐÿ\0ªµ¢!âf[\0ÚM_²7ÅÇÌ¢Þ {ÍMVM€ÝX­½ÿ\0𦉈 Xô¦[ { 4E|6&ÊE]F£â5F—Í  j`ÐyOF6÷ÕÄs|Ä°`Írv/îŠ`Èm~ªµ1^Do”\
+`Òø°ÓL<öÓL ;\,i†°lIU50k1‘Ô vÔW›iƒÂ‚¦ U0ba©ŠÁ ©õ5­ ¬ýM`a©õ]k0ÖqXª`Ä¥LW…j-Py@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ڃеpf#«ˆÍa­`Ø°Ö±5šÁWê‹ kb¸ŒÄu¬pzƒlxÒIð©4câdoŠËSFôⵉ>ÁM£à×é?i©¢T|\,kÜ>Ïï Þ8Ô µ@ÿ\0nNÂjèÈaÛEd1´“Pf"AÙTf\0\
+”GšP\,(QKÐ(1(´@ ñÖ¨÷hî¨=¢” Ð/@ P(<4ÿ\0Z¨×.8~Ò=Ôeãë„{thn.p.$׺Õu?&ÃY0ïúUÑdžú©ѬâðtöÕÑÇa¡:TÑ甀õ5Få é¨=ßì0ö­gtµµ–ƨܨ¨5ÉŒ‡_ëTfÃVømö¨Ó&-LV“ S `PŽ¢¦-QX”¦ b¦ 50`ÐÖqu­ ¬ýMjhk8ºÁ¢©‹­f:Î JÔÅyjƒÊ@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ öÔ…«ƒ1\\Fk kÕ†µ9MmXkTlXªâ3Ö°dUÁîÚ ‹7@h7§箕5#ã\0ø®UMT¸0…ü*?Eè\,£ÁP<DÔ†4cåm±T.€ZˆöôW—ªBŠPyj¨ Z@µƒÊ@ P(\
+è\
+è P(2†"âƒ%-k SQ©°cn—êº51{ÕÑ‹qÅEÔÜÓDW þ"°í*ŒFLG´Pl á"ƒÖí¯õSF†Ç׶þʺ{6›kz ƒ0ïª<e¾´kÒƒ‰QWQNΔ´\0õÁ¬â¯eêbëŠ{©ƒÇuÔ©µA¬­ExR˜01ÔÁƒCYÅkh*}Mkh+?UÖ¦†³ƒYŽÕœV+8¯-Py@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ÿÓü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+¶ ô-\\ˆêâ3XkX6¬5©Ê6¬5¿ª6\,Uq`V°d® Òn‚ƒjâÒ>Íjj$ÇÇ_°ýµ5R£ãHè„ý–¨$'1ì öÓøøníö\
+`—$iÙ}QºÔ\
+˜À¦0)W¦@ P( P-Eyj¨h<Û@ÛA娠ZƒÊ@ P(\
+@ª= Ñ63|h ý®¢œF˶;•=×Ò¯ØÆÍdb€%B= éýµsQ$r±^çÙS eùd˜ïý”Õl\\UÅ®}µ4[M¿¢ ŽøÀë¥kGƒÀ½¯WQ­ñÏÄš#ºžÁZ\,dûé¨ôÆOQz T…:\\Pfʯñ¨?eg¦ãâ„•?¦¢´ÉÅÊ¿ ˜{)¢\,²8 ûh0+EbPTÁƒES¦†³‹­MfòºÔÐÖ0k1Ú³ŠÀ­LW–¨< P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÔü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(Tf®#bÅZÁµa­NS[VßÕ5±b«ˆØ#¬«ƒbBÏð‹ÐoL~#ú*h“é¬è—¿¼þª 8ôå×W¥@½\\Úƒ}½4šiAo}A’Ç#|D[ÝTo D-@µmQîÚ²¨l5» Ë4\,Ð<º—@òè]Ë l óeea¢¼Úh5– QJÔZˆómµ– ZƒËP*@ P(\
+Ö‚W“ÃCZ•0ƒXt ¦˜ØË"êþÚƒ”F…m遲Ȳ˜5þbÃM²®#ÇÌr:þª`Ö2/Ö÷«ƒÉ77Â~Ê Gwn†¨ÆÌz‹Ð7öPxd¾Œ*‘“òj”m’\,À0¬àÖؘÒõO³JžU¦Nõ‰¯ï¦ˆ3aKƤú¨ÐE‰AS¶Š¦ M fòºÔÐV>«­M g¬ÇYÁ‰Z˜¯*(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÕü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ öÔ…«ƒ5Žõ¬FÕ†µ"7$5¹ÊkrÃZlŠÖ# µplŽ„^ˆ—ÇW65Rc‰;.jhÛ·°\
+ƒbÂO²® \
+&­sì¢;WUÚ;ª2?Â6ŽóA°&ž#z¨À¸oG_eˆÃvøÜ‘Ü4¢7Ç\0ŒYEÏ.ƒÑ¾]¾]¾]¾]Ë ÷Ë yt.¢ž]PÙP6P6Py²²²ƒÍ•Ce›((<ÙAæÊ6Tl óeÙAæʃ͔m òÔ PxE– ZƒËP-Aå¨@ P(\
+\
+ƒÖƒ\
+žÊºˆ3Á"Ú2Š²ˆ†KôµhxH: ˜v^ˆÖó5ì]Qš6—=šÔVE‡¾ƒ*ÚÐj£'/ߦŠóÏÝÛcßDdo_h ôy±Ÿ ¸ý”È?0¬â°“ õµx …7ãX˜7°ÓD q¤ˆÙÔŠ¨ÔVŠÀÆ*`ÖÐÔÁ©¡¬^WZZÅ‹­M«8­ek8¯-Py@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ÿÖü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÛPd® ‹kµ!­ÈšÜÖäF劵"3 ZÁ±#\,lÍTL‡ŒwÕ´5RãÀŠ=[SYѼi¢ Pz!fëA±1ÁëLV$^½j£zb³kk\
+¸$ÇŠP.{Íáª2T¿#¸ÞF\,;º\
+ ëQ`\,(2÷Ðd# ÈGA莃ß.Šl¢=ÙE6P6UG»((]@òè((]e›(*ʣ͔ytWž]…(<Ù@ÙAáJ6Py² óe›(<ÙExRƒ•…(<)AæÊ JÐxVƒËPyj¨<µ PxIè0i¶|`ßÔU«Spjh™œÞDcÂ;t7û+S\\ë\,D—R>Í+H×!–;Ò¨.AFI4ÁšÊzÛôPmÐõ½Ed" µAàܦרñ¢V‹PjÜñ}媌ÖRFä?e¶\,µ'kè}µ0oÐê* ÕM 0dT8±©‚$üDrj¢ÇÙMÓñRGðê*ê!¼Lš0µQ[ÔÅ`Ñ^¦ / bÅÖ—†±bëKEY±ZÊVqXÚ²< P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+Aÿ×ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ª3 W±b­H7$5¹ÊkrC[‘–*Ö#0•pn‹äøETM‡‹d?`©ªI´kPf¶¬l(ÛéAµEè3\
+[@/TJFéA*\,MN¦¨" ÈEAŠƒß.ƒ!¾]¾]¡(= AîÊÊvPz# ÷Ë ytùU¢1Aï—@òÇmËî Ä¥m›(<)AæÊÊ6Py²²ƒÍ”l ð¥\0¥ž]A‰J6PxRƒÂ”W…(<ÙAáJ JT¢±)DbRŠð¥\0€“Dk0HUY˜ Úí]H{ÿ\0J£Æ·íØmzßZ †( crÝ–59±œVò_W=\0ÔþŠÑ™5Ûcc¨±üUFÔ’Ào¸>ßïøj ]¬ƒË°³^Ã_«J ¶ÉrVÅAéÐõönÝAè’æÖ ûª+*CÒƒTê¥ ôÙz¨¨ä|­ DžñZˆ¯ jбÆ\0vÖj¶ DlºÚÕ?–Üt«ªs·P(<8ö7JhÂLQñ)±«¨ÒÀ®Žª .Þ„a ÚnµšLÉÛqA´äž Ðd™Àèâ¦^¥•0AÈáÖ=)¨®›H¾!§}Q Š+Œ˜545›¥á¬^WZZÅŠÔÑÚ³ƒ*+Ê@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(=¨ÍRõqRÔƒzC]'\,·$5©µc­àØõqbÁwÔè)¢Tx‘Ç×Sí¬è’—ìô7/f¦¨É7eñ„H¹&€˜†ö Û#p«‚tX‰² PnPd# ÈGAŽƒÑ^U¢*|º|ºvP{åÐ6P{²ƒÑè=ÙA莃ß. óeh m´l l óee›h<Û@ÛEy¶ˆl l l¢±ÙDy² óe\0ÇEy²ˆóe&: JPc²ƒÍ´W›*\
+PbRƒÂ”” ð¥|«¨F¤ÕÉØ?Œ@cÐ{(7.C7Š;‚£R4ÒƒØ/RG»º¢µna`EÁ7Ý}GÙU ¢ A=TÞâ QK(ÑÝ(=2¹_-׺ ÐP® ì4F/0ÓCÝ}*n–Út·`í É¥)Ôaýl’²(R}º°WÏ‚„\\]´^µ£TQÉ ðøÁ6ª7ïx—¯uA¹Xmºõî¨6 .=”F\,Mî½(=EkiŽ;*/>–#Z¢3·mT`XÞêj‰ #0ÔkPf€uýíï¡ýuQ‰fSá$Pm‹)Ôëú©‚Rί£€k8­3ñ0ͪhj\
+Ìž&hu¶á쫨†VÚ£—©ŠÖÑVlÅåZ^Å‹­-«¬¨¯*@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+AÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ô\
+£5KÕÄmHkR é tœ¦·¤5¹mXëX6¤E€¹­"\\\\{_ASD´ÇHÇ„kÞk#e‰é@\
+^ßmP¾ïmI'Z"Ï\
+%'AöÕTÖŽƒf> 1ÜÂËýt*£!B:Dtè=òè2Þ Ë˵e\0GAï—AîÊ|º\0J ¶Žê\0ëAîËÐ{²ƒÍ´ìöT\,PzcZ LC²ƒÃ žY”4¨1òïAæÊ\
+PQY*Zˆñ”ž”yTV&;Pc¶€E„Tڃ´l óË ðÇA‰J6PbR Ä¥…(¬JPiÈTsÛMEͪ¢ gr]FâuÑ–¨÷Ï`@òÞÝ 5Å+ÖÆÞÚƒ)lu¢¼Ž0Ô´;h0"Þú Xî ÆÔ PyPz6x{¨4͉7Œ6ýtF—Åm<W°ÐDÊÇü4”aµ¼A½„XÖ†Ôˆö h2*N£²ƒ[ÈF¶ Ó¾Kû*£Á6¶:S‘A  ‹4%5*¢8=Õ¡š–]EíAšNoz˜&«n館[](17Ú¨ÈÚŠ+tR‘PJLŽÆ©ƒ°àÉø†½ã­AU•ÂºkÜ?]]EsÆÈlÂƨÀ­êbµ4U›—†±y]hxk5­-«0"¢¼¨\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÐ(2T½k䊵"7¤ÒrΤ$5¹µc­àÛ%´Qz¨~)tÕ4KH•”XTmk 6¦ˆÅÁ]”δ Çi(ª«¨xåsA>=‡`cÃUשª7ˆ¨2Ðz# ËË ôGAèJ ‹i¨=ÙÝ҃̀P6Ð{²€ƒÝ”ì l m m  ôGP{´Ð{oe\0( l È\0J]Ôh3)ßAæÑAá@h<ò€ ÔÉ­%(<ÙAí»è=Ó² ÄŸe$^¨Ä­;(<ÙE6P<ºƒÏ.ƒ”•·^”Þ{øcon‚˜5J2n%T{Tÿ\0ÍT`‰“#Vcô?ÅPyäO+ùP³9\\¯êª3Ÿ.ò÷!>ëÛõÔR"n’Ä÷¨4¤Æ„Ÿ2û—[ÝAêaÇmÞb:£ý5tÊ<\,}ÀŸîZƒ¶ÕͶ`zTQAì õAc©¢=h‡eE+AŽÊƒÂ¶ ÀŠ£ÊƒÂ/Öƒ" 4ûoDhQ¶›u½Ï&íºö* LL;õ¨óc_C¥]F¥ˆ“e Úš5K ô#ZÐŽUÜU¬Ûü.\,{è5ù\0ékj4±1ô Õ @ñ/è –²ù‹¶;¨<_›¯¶‚T[[KÙ»Eeù[›ÚÆšS&§¥Kì ÌkA˜›¾˜1–æ AY“ž°›û ]²DÑ®\,j£Y[ÔÅjh«6 / bò¨ï s±¦¦KVlYW”\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿÓü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+mA[ÕÁµ"½nDoŽÜå5!!®’2Þ±ÖäFØá\,l¢õDè8Âu“ASD´ ‘¶ 4—öѤlçÙA0@± ž¾Ú£\\²–6^”Vj"V65E¤8é¯ÙE[aÄ¥wÖ¨“åÐzˆËa ÷Ë ÷e¡h¬¶PlH­© É…j\0Žƒ!¾](2Ù@Ù@ÙAï–(2Žê6\0h=((=òÖ yaMcÒƒ]¨2Út ðڃ˚êè1׶ƒÍ·é@ØZ ‚¯e;(<)Pc²åPxc m¶ôùt” ‘2D:‹÷S{O-«\0o{ÛõÕTeœm”²ަߩ¿ÓEdpÃiË_BÍ©û¥A¿†bÛ²@¸ì ¿¬Pk“òÙ±±cÐaû;zÐG (:€[©¹ÐoZ £2dìl€hÔý´˱’êj›N¿¢#FVÛE½ÔE†½h<“^ú ?&;h3ü¸JƒSGc¥%(<1Ð<ºÛPk+EbR Ä¥¨5‘Aå¨\0Ú@ S¡¨5ɃЋ©ÖÇ 6¢!Ê—r\0Ó¡¹¾µtFuP\,ÚV¥æÚ·†´5¬·ÕMè3?Åô†29°¸"®£x㤵կSFè̪¶”^ߦ¢¼L„}¤œ¨Ó_eÁ”N‡ÛS–`‡¥P2Û¦¢ƒÕ!ºP{¸¥«”§FÐÓrEâÎ0Vep¥|QŽãM’DÈlÂÆ´e/S©â½fÁá®w–µ¡â¬X­L–¬b±µAå@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿÔü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(½\\+Ö¤Dˆá­ÎSR#†ºHËzE]$’"M€¹­b'ãñ„ë&ƒº¦¢r\,q ¨<k¶¬jÐPo‹ ‰µµª$ RšŠÕ$!{oQÅŒÍEM‡T]ª£x‘Eè(­°ÍŽ”jI »Æ™'ÊÕF—µ…Q¿eJvP{²Šô%au[/­@"¶¶ƒÝ´µ\0Ðy¶ƒ „ô õb'J Ì Tì ÷eP)z LV ð\
+ ¶›Pbc óe¨Gu¡Gu@(¶î $¨–j Z´ m yt.ƒÍ†ƒÂ‡¶ƒ´ µ¾Q¢žQ ÀÄhŒ‚ZŠÅØ \,Ý0D|¨åakvX‚.}†®#Èvƒ±Uw¡…ÿ\0¿ÅAµ£ŒYä Ë¿¢ÕäPC1caÝ©ý?ÕA%±á…n‘¾Ÿ5ö±û´†@Õæ$è \\þ–»Uå•ŸÁŽ\,A—ä]“k‘©´þš áVëÜtÔ„Ð@òÕd;Ô›öÛOÕ@™£B©d†êh=e5kvÿ\0ëPi‹{hÂÕFm¥A¥šý(5²š)²úD\
+Pc¶ƒÍ”” À­¶Z+•%(1)AàZH”Pf&"Ç´vû(ˆÒâm[€«~„õé×h¦‚OýÄ6€ØêOZ¢ a\0Ç[maWì4ÉŽÃÄ¢¬£ÅÜ5îª3Þ¤ÜÐK†aòšƒ7œi­ÍA¦y¢k­›¾¨Óæð£j¹?¢6•Ú·¾•†â§J£r¸:Ôw×QA¦\\k‹­]ZIaÖª$ãò@ø_CS™qâÉÛZÎ*§3‡xµME5Ì„ht­ l—©ŠÒðÖ\,V‡†¹Ø¨ïbÅk+jÎ+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿÕü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ Pzê‹êÈñÃ]$MHŽ\
+é9D”†·"6¬u¹3ŸVð­_„XCD?†>ÓY³ƒZƒÔŒŸ}ÒŠŸ\0MmF”ã™ÛHÇÛA*\,]þ)Ðn¨øí4'mÍéš‚N.I Ãjv±¢¦eɉŽ¾T*¯¯üZª%ñYîíe‰tUQaTZèvZ¶ƒÑ±ÔD!†•‡÷Pyä‘ÖƒÑ ì yDu yfƒ%ŠƒbãŽÚ ÖAˆ\
+@(5ºPy²Ô\0€Ðeåézƒ[‚EQ¯aZ m ð‹Ðz°– ÏÈ° ñ"»XÐl(¥¦ôZ fçV4ØwPxE;hMK§eÀ¨11Eb ƒ#4y'¯e }”$DÐCäXÓV:Úõb<8BXü·B/Ø 4jü¬¨\
+½¤öôm;ê¦H°IeQ·· ë÷­TIѺ‚¬£úê|+2Ð’”ô¹ëúj '™-»~#DX'écè\07ÓöwPa.lHv©>ͺÓÿ\0ŠÒùæ³eõ ñÒ‚.NDXâò{»jˆ¸ù«=íØU¹MëG¸kPaåPz" ð­¨<)A‰ˆš LdQX”¢5²Pieí Ä! 4V$T͆ƒ\
+(=ÝvÜzÑf…]N—bA¹ìíoÞ«©Œ&ÅY6›Y”XëoÑEi|XË6á{ Þôäãü&×-Ûýµ4Cü‘:¥_±k‹"êºÛº®èßïîª"ÌÎçÅ­´­Dg´’ ×ÛJ'yÁ@¨•{ ùM §]jD–÷Pf²€t Ü$íZu“®†ƒDøhÃá«(Œ¦lsá:UDÈ9aðËáþª– “bC”.-~ñYøUNW$:E]D2µF¶ŽõœV—†±b£¼5ÎÅÖ†ŽÕ‹¬ŠŠò P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿÖü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+Aí¨2T½\\F䆷 “ÖrΤ¤5ÒDoXër"D8­&£AßZ‘aÇDÔj{ê[‚E‰¬ ‰ŽïÐiA¹p ¹ÖƒÆP µµšc‰\0Ú54FÈñUM¾&ýTV÷_/AÖ #8¢3ñÉ¥Ucåí¨2HÞO€ißElyæÛå—%{®mD`Eu\
+ŸË‹­µëß[ˆ²ÛDDä²$ÆŒÉn#¼è(ª =C•k£Ü+:¸›ÅåÏ圌év%ü;¬.? «¶0˜=Mˆ[d{žÝª4©ô«­SósHBÀ¥iaýU©Êj;–a’ã]EëOÒ­"ãrþ°­„  ðmí4´×¥ŽÞ´\,†úÐlÒÔ·[\
+ J –EA¶8-Öƒ# ð± ÁáP-A¨b³téí Íp‡Ìh6®:¨ÐTˆ€ ñ׺ƒßëEjp_ÙUy4y"Ô¶9ëjƒÏ h¯D+Aç–/ÖˆÀ­Í¨2X ä‡h¢½òè #Z \
+”ÖáÒh4eàùÌM™h1Ç¢'q\,¾ÓA²Vƒá'iµVW\
+³xà;‡é¨"4L@WK•ä–¢µË†a>j’Üm&¦ eÊ\
+½£¶¶'CA1Y!K„-œêI?NëÖ‘\
+n;*9/¶á}tÒª&à¼ÄYј÷–õYZ˜©SŸ-K‘Ò §u|’ÎË~í;(¬qñ"Mˆ²ˆ›+¶¶ª7œb:Šƒ÷P Pd1Åï’;(m”ÌVî ÔÖ¢´•ƒ‚ˆÄ¥¨0aA¬©4è¬* JPk+A‰A\0jEè3 ’J–¸°þ§¡«JÈ„\,cB7I?§á¨4 'W”ímp4íû´sA<&S¶äaôÅÖNÞri£VxF¹ñQdabzúÔ£A7ÓæB9ÏÀÂ∕Ü-}*(úƒQ%[o}PÔ?EØß»¯uÍ^†ˆõe¶†¢²d A±ÁÐëZѤÃ$èH¢$CÊá˜}µ\,Ï…HÜžýU^FÂlÃNú¢9ZŠÖñÞ¥‚<×;QÞ*çcM\,–¬b±µAå@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿ×ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÐ*©ëR"DpWIÊjTpWIË))t‘ㄱ²ŠÜˆ—2Ç«x›»²·‰©)knéÝ\\ïBdxŒÚ-a[†(‡â7=½¾^”í\,u4¡Å_‰¼^Ê °ÄN‚ŠÍñöMOe¨=n>DpI$ôéAµgKÑ^*¥îÀ‘ÝAœ“ÜmËÜ(4ì½®3 óSÏÂ5cHŽƒ7˜ÅÀOFWS¥uœÚΩ²}Yæ‘ä]\0=À“¯i>®“ÖŸd‰½S\\1õ¿JŸÆ¿e\\¸Òf9&5ˆÁýթ̉©¸Ü¾nùvýGAKÑ‹|\\EˆÙB¢w\\íTß'ãqí¸¬ùVSÍ…\0Ð-Κ ÿ\0U2Š¬ÎkÈ;qÔ{é ýu¹Êjç’‡*%pEÈÔ_º¹ÙjDlU±÷VFÑí È"ƒP ÚÐ`1»zû(6 Њ †>Ý[J6¨éAåìl(7¥Zƒ?\,+Q‹](U=ôqDkt ÉI:š ]mA版µ¯(ƒ¡È A°céj+ÊÚƒ?"åZƒT‘ÒƒK©n´ù[ºu Ø˜¡zh3ÛÜ?²ƒÝ· ÄÆh#J–ÐÕAÎÉð›SFì\\…ȹ\0ƒAä™"?ˆiAe”YM¯ÝTF8ˆ­yI>úƒ?&([ru=ôÄ»9 žÚ_’yn;þÊ9¸B4ÜMØu¢_Ö[ NÃÜ=”‚Í`†/ë5µkÄþ"øj¢<±$äíÚÄu%œÿ\0Yª6Ói×ÝQTùo.3Ÿ$« ù[³ôV¤DCê)€ª±ô½ûêýMOÌæ'ˆ…¸µÇËöVd±ù ´?Ç}éß`M/‘d“‰>YVDÚƒd É ½m vš .„u ÒËÜ(4•¾(<ü¾”W´ ÔÈh5²Qì Ä¥è0d À­­“º ÄÅAæË{è0kA…¡ˆA°m¶ˆÛ;‰ÅšÀá^€X¾Ÿ5‰c'˜’ÿ\0Ü» ~¯½ï«ò+ñ±<†®¨t7ùOe›âïBÀuî½AK™Ç[ĺ×Z”@—H›Që­ ÐÈNµïJ l\,ת=b{(ŒZ@5=h7E*¸±ëQYN´‚h5Ëqâ]êªÌ%º¸Ði’!ÒÝ;?åª\
+í¼gNÑTL‡9dd{ê`Õ‘Ç«x¢ýt‘ÐÐke½LV—Š±b£I s±uãµbÅk"²¯*@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+h2T½\\£†õÒFR₺NSR£†ºÈËzG[‘áÄ'VÐVäKRãAðÆ=õ«á–b{ MgëoÊ¥B¡z ÍWèjTi#tö\
+Ïy<B$Ň}ëÝ\\•\,qå×AöÕTyx°N„î¨7AÇlOÙ¥´Çp4 ŸÃKô=ý´VµÌ1›‡¿Zƒ14›‹ƒíPzx¡0&6‡geUEn6D€=¦ ŽÑª ÍA¦WÚ 'Nîú×<íĵ´Ç± Ó¿ãjõNdr׸¼6NLžc­Ç誵l‚Ú/Mî%¦$Üü ¢Ö>ÍbÎ. µ„iìëXû.6\,pAá‰wóA„Ù¨¢îE©‚(åÃF·õ~¦³9Ûô[j`Äa™Ô¶•tJÇÅšAµ€Ó¼T´[bpÑD½÷û+ëZÄäÃTøt¬è4{F”#¥A½b¹ÒƒÇ°ÐPj/nh5øŸ¼Ð»h(6¦9”¼zk@U#¾ g×¥¬Ä¦´yºè*£`ˆ(°¨0t=ˆ€ž½½hƒž”Pâô·eÔÇÛï ¢.ÚŽƒÏ.ƒLŠ—¨2lfì6 Å‘–€/{ZƒfÁPkv ©Ò¨Á5i0ã¾Ý„ŽñPiX £> ò°„£¦´T8âXÌNšÔ‚dR$ÞÔ{j£Ù"Ž1¸‹ZƒÚËxìjŠó4±5TvÖuP3Z76[U_”G€yLlÝ5*­"ä#˜xЖËù«Lסã“ÄÛ_²ÔÍ2ÇrÀÂh®*\\Å‘Š›©7Ò»Ìe¥ã26öð°×Ùz¢ëõÙ™[çµÿ\0Hjçx]OÔ¸û‚㢻1 ’-XúàµÇ‰¾Pª·ÔÜ’UEi—Å…-k¼œ\\WêŠ)ùü·rC—¸·ˆÙ$î.®AöÔÅdy ‹uëöÓœlõì˜Ù»¬ØjnÅ6(A¬«Æ("5ïE`Rô콆;PbVƒ[-AJ#.ª¼)P`ËA­’ôÚ: 6¬(2IŠXhTÛOBGKŠ#Cį×]o­atÓ ¨­ãNÝ\0êIì38õ\0²›Û¥jTT˜ízÐÊ7ì4•­7¶†ƒ@j ‹°‚ÃNúå|*`ØÝtöŠºQ^õ­ . ïáƨЊº<W`Û$öAìø»Æõø½””WPEi#Êhú×A¼Ê“ŽãL¦Æ¶«ú*`ŒV ÖñÞ³b£É s±Qž*çcM\,–¬b±¨< P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(TmHïZ‘#‚ºNSRズÎYÔ”ŠºH‰Â[¥nFu.BôÔ×IR$èߢª$G: Ò˜jDpªüf¥¸‰1¼@Üž•Îí<7y«!²)ûj}dù]Ô¼|”ˆí°¾°ÚÁ3"µ×¥AçšÒ Æ¿i Í$S »5ð4·J  EpUì ¢¡Ê;l꧸tûj I?“%Ðn_mk‹“9»‡©7ª6æc™ðêuþ´Di8±*0„=½õ1ðM+ 4úš»óþ¬_+\\^"ñ?¿U/F&þ__°î•k–q‘ÔÁ_$Í'^¦µ‚¿/5aR@7­Hš«Û>g¼)í­ü"ÃQ-roYµ[1¸ôßf&⥪¸Ãˆ©µ¼#ôþŠÅTø™Ø‚®ÖE†<±ðÌ;k^dåÅ»·èÖ˜0‹6ˆ sÚtéW„aHVGŒ‚¢µ–¢#I _uQ’Äm®‚ƒ-û;(6G0=E´XÔ \
+vƒAƒÆJ l\0 ô(=” ÷É ÌB õRôG¥mEc´š\0ŒÐkyEè0b\\xU&ó´Ç\0”–(oAŽÀ(<Ú^Ê+ 1îÒ(qãl{^U¨¡[t ð¨4^~À}ôF—UC ÛöP%Œ2ÙúPD)-öo¯²¨‹#I2Ÿ0 vTcâ£mIýtT|ˆÕ?…\,zt¥Fü|·¸^½§OóTÆ(“ø’@½º~ê¢:W£ÜÚiýµ¾QͪÖº#3Û ¢´É†ÙjhŒÜp]EíWQ¶7eCw^ È©=h"h=äëSFøehŽÖÔTÁžD+'Eè2 m&ÍQY&lñ»®=½*`’“¤Ÿ*Ÿmg´A»Pt=¢¢³H€öѺQZmA†ËÐbR Ä­ ´F¶Z+YZ JÐ`VƒZ 6k@òÉ ô í´Ä®T€lºöÔdF£Â¤ ßúhŠLÌmÄ´¢µ(‡÷:Ö†Z$RÚ©µè0XäµêèõœŒiX°lVQ¢ŸÓXTÌeÖ5FÙàÛâ+HÒ\0µêEa­iÔe5DgÙ2Ùþ!ÛZf€Æ}ýµuº{ Q¾\,‚</Òƒd¬‚ëÖ¦’DSCYÁ©–õ1Z^*Å‚4×;GxíX±ZȬ«Ê@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P{A’­êàÝ7®’2—Òrš—5ÖrËzGjé"$Å~µ¹Ë6§Ã‹}-[DÄÄ·MM¾<-ƒsþººšÅ÷ZËÓÙM‰^GˆOQRû$'6§Ã‚4½€=½k…îÖç8šxâ«t Vj˜ê.È8âăº ’ÄD vvŠ£t\,€×Pl7b4·¶€q•ì^úƒ\\¼CÈÿ\0·uª\\ c;BîþÊ+n 4ÍТvÞˆ¿ÁãF.‘{oA)ÖÎçwë­HM”Òt[(é[Äk3‘¨«ƒRKw¹ Õ8pzÕåÇrl¤Ú¬¨Ž¸€âXžÊÖŒK IÔ~º"»3$´â´[jkR üu :nQ©®m7(.†ÄØö÷ÔÁ#0f6‚÷ ¸ÅÀ£ŠÅV2ãD£Q¯u4hŒÉ}oWÖ#4‹¸ éí®uR•;ë*ÁâcðŠcÇVÔÑL·ÐPb`yvª3SßQ[4 vÐxZõ\0-ÅéQÐQ^mµš.”W…oÖ€4 m Èê+—Ñš ÞƒQhÓKëÜ(2q·Çú¨1.ìmkeBàk­`©éAªe¸ï Æ%Ú¶ƒÐwt ÁÉC ½·; =(ÖƒÓm »´#­Ž¶éAW™ŽÈPÖ?Mê5`ѲÙoM¬ih$À‘ 7~šP–xSÆö_i¨"·.UXŽÍ*à>Nó¸+'yS©û)_—ÄÓj17Æ¿½[\
+IqÛ•œÕ¿”yB´‹\
+`ÚfKSjš eÆ7 }fžžbû:Õ q&¤=ÇJ”Ih¬†ÑkžÊ ‚ƒ <àïNµ`Íæ—r®* øÙY.Ôa§a\0Š–ÍÄÚL»xÔVqu#óqËÿ\0i”þ£YV†küVW»E¼&ˆ ÔÉEkd À¥A¬¥‰J+” À­ƒN´¬áT èÝh0¨R¶ÒˆÔλo¨4ò’×e7ª"O¨ÜEQ¨kÕ© ê(6å$Pzæàî7û+\
+… £­ˆ¥‰*Ëî»F§²¤Vøón\
+È5V†–ø®ºê²£Õ7ª0 h!Ìî­ÒÉ`Vû­":ëïª=+j#(Ù”Ýh7†ì $?MfÅi+PjxïY±Z$†¹Ø¨Ïs±¦–[V1XÔP(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ÿÓü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ô\
+ ‰ëR"LPWIÊj\\PWiË:”‘ZºHéúWIÔü\\}GNúÞb\,¢À\
+)zÄLƒú•¹‰mŒ±­ØÚ³{«ˆ¢4’äƳwò6Á†Í¯eeV1â!µQ-aPšXXiEfq pH#©¨2ÃÃݺIÃï öGHÇðN¤vh5A« ÍÜè6ÆÌî\0CöÚµø$Ç`EÏwme[Œq­Y4ÖÜ\\|©›Â\,¾ê·u‹µ©¬ªC¢ îF\,×è;ëR"3E>#âjèrdn]t·J`¯ËÎ*·Q¯`öÖ¤CŒi¯­ûjÓSd@uQ׺²4dÄz/Z°EÃÍð¢üÕQ¢l“xÆÔì>Ún(ÆÊ„-‰kuûiü‘qsƒ"ë/Còžµ‹Ü\\]AÅØoc×¢Û¥cì¸Øœx‰·±%Ïwe>Æ=š2¢ö¹ì—UªT“ËÞMˆªˆQK"È& Âj‹¬.Z›bøOu«Š²Q~••šP6Þˆ÷ɽ›ZŠð­è< j@ ËeD6ZƒhKQ^m·J#Â(¯N‚ƒ]õ ÌéA纃Ô#¶ŠØVƒ-PDœlÕìª!+än&M·ûj#tY*¦Ä“¥É’rGð¼B ƒ$©#(ÓñwŠº7B)ZÆÁ‡mé£i”uÔ{ª3y{mÛV es·´{*£º›šŽëz ®@¹µAé¹ ¾´W›(#H›{hˆSã\,Äÿ\0AWDfâão&ãÚt÷SDŽ;Çr×=…µ¦‰ãc¨Ý‘Ó¼kSqRc^>KÇœ—Pvª6LR$+[d=¦‚£“*ð¯šFóÙ[åÖG5ѾË×]F2cy ¸ Ðz’!µÅš¢=ÈÉŠvÜ÷Ó V7$’¤Ú·†·cò[È6ý5› \\Fñ̺z´6*©èuî&¨ÂFòú^ÕœX07u²¥T.c ÛþÞ•®jU_e1Êm~†µQlг¡1ÿ\0Ü^îÚ°1Èê)Û¥|…hEîG}fó«­¼\,dÝ•%u»}Ö¬ÙŠ°Ãæbf@<­´ýuq›q%3!Éc#6ÛÜ„³ßSYi ¨ÓƒÛz &ÛAƒGj ej l¶ª0e¨5• Ä­!\0ê(5²‹Ð kº×Ò‚.f0 ¾?´UDØÆÄkTE—¯Š+ge]šGCfª$Ã8u×­dg}( Oi7vZˆ²˜\, \\w×?®«zÊ%ñ1!ªY†¤Gcñh(4ÌY5MEn"$™Ì½kG¶‹*«QbMûj ½uЊ£km(H»;è6¡ {›õ϶2߯Z“¤h‘-£~šÖ \,„u¬«[-êb´IbÅF’*çb£²Z¹Ø¬¬«Ê@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÔü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+Aèª7GëR"\\PWYË:™ÚrΤ¤v®’"L8åÍ€®“–ug€±ÒþŠ^±â¬-§`Êõª²ƒÛ|º/wmI¶ƒhï5¯©¬S $o.{¿²ºIŒ¦¯–»ª;+4Ó”#M"µsW¸Ñ±ms2cÇæL¾êùyjc  'º ­Ý$¯´“·°\
+ †ñŸê{úþŠ"\\8Z„KßÛ[æ*Ë"^Úß­õýU«å"j8ÑP\\vš˜©ñc$šžžÚÍÄj‚Ëjʵ4Á/sPVäç‡>Zõ?¢®Œ÷.Çì­r•_<¨ÍpuÕÖFu¤äFÃË&®& N<@¦«ßjгÁFas¦•Ï«‹"ÊXLjWÓxÂUB|ûªýÓæÀ²î“PzÞ—ºcJ`²té×ZÆ«|@‡tÞà;GeAa\,mfùGJª±@‚OŠÝ("d+FÁ€\,M ½öVTUò3< µØ{5ÖºóåšÛ­{÷Š¨•‰"±V*Tâ"¥UÎ7' ªT6ݵÎÅMIÖ×b* ""îc¥+2É¢^€V m m½EA˜\0 Ñ^ª­DPaA‰ ñ‡}¦mššLêö‚£'ÉóŒ8ûvÔÔÕHǘƶ–KËÛÓJh ­rI¸ª„üŒ1®æ`(9ç%£!€«ƒÜ³\\ôöÐWs ™Cò#Â:ésúêu2¹g}Ê®;͈ëï¬ík'ÇO2ß+¯x«ˆ—þÕR·cÔÓø U\0¶ÝƘ‰*6‹QXù@kkPk›^žÃU.8A´vwÐ{²ÂÃ_}Ez5ÒÖµ7`lzPg¥œ‘á$ ›Qi+°(TöØØëZÁª)dˆ·œ4‹vÓô‘rc\,€‹_B;jX9lü¼€ÇÈ!Eúí®“˜šæ³s2â˜äHÅnꮓ˜–­=9Êòr’Å™ãïcaûÖ©Ô‰ùHù'3Hĉ5Ô»Ve d;x×i뮕¡æžþÚþº¾½ù9¡dK5´½LÓQòyy¥]¦Ö=ÕpÔ3q¥iqò¤Øj+6\,«¼Ù“Âë§es±V#&ÆÅ¿mg쫼‚÷Q[1Q”›|"¥1ÜíGuA\\qâ‘ìÃkû+Z¸˜/)pÀéÐÒÑ=²|¢Bÿ\0ï¬â£rÇ(ܽ{û*ÁÍåA$Bk}jÞeMÆœ|¥r†Ò{oÖ¯× ÕŽGf߉{{Ǻ¤q³òîðz~íbÈ©ðgÇ ñ­YVÇ õ ÒX-­]è¬Y-A©’ ÖËAZ JÐbVƒ[)lfÓ­lÞ=‡Ž1¯R?º¬¨®V±Ö¨W6 ÄÀ‹ì óa­©cjJi­Q„e[C¥SË%€CI4ÌszÖ3¬]·›cTxŠ·¹¹¨¯$(£ÛA¬‘¯¶¨¸Ðtª7Ç2ºí"Ç¿¾ Á”¡îª‰ÊY«å[Z0EŽ¢³. -MVºË¨Žðö¯è©a­k-5<w¬Ø#I s±¤gŽÕÎÅj"²¯*@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÕü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒ%[ÕÁ¾8o[‘!‚»NYÔØ¡µv‘HHûnFSñ°KX·Jé&"Ê5H…kX½£$Õºšä\,qÔB›®ý¦µÌ´Ö?b† öŸî¯LçÔŒ22Üî>þêY"ÅüyKµÐ:“Ö¹´Ù8Yh¹^Ó\\íT9a@|´ÕugëU¶üej×Қݕ’Å.Nã~•Ÿ­#ãÿ\0:ÂIôSSk O„lAÐÛSQ^rÞÚé9g[PE«3×[F§™øÍ»¯L5·1 –µûÍ)¨ÄÂúvWÏÏ–42ª£¾²)ääÝŽò<$ZÇûè=ãóóe[†Xè$Ò¯dE·M+´b«20Eî moxýu¹YÅtø»Fþ³ZÒFøÒD¾;ëß©þêj¦á¼˜È]îoâÒ¼þ˵¸²†dkÔêmÓZä©Ñ4N•U±•\\kÙPi‡­q¯´Ñrx•{³ ÇØ(­X¸b8fŒò?´PX‚— ¼u=ôwØvÛõš Ì °ÒÝ5ª ea\,¤´¶Ý쮓¤Æ+ÿ\0ÚW ÁjÚ&c‡7VÐ{t¬ÑPÎÛÝ{ªØY…ͯ¨ÓZX'F|À›*ØVUc²%arö¬ çÉŠ`/Ò˜6FUÅÔƒQYÍ@\0½me\,(5¹ì ÄÐöÐ\
+ÔeÚ[¾ÕE'!Ì.ó‹¬ÄÛØ)¸cO#!ÇP;oˆŸoÓYªÕƒ O’Î}µ`¹[Ã! ¦Ú¨®—ŽïvÜ}µ*´$‡@è /h))Ž¢YH£C[e±……úÔTYœ€÷ÕFÌL £kt÷PHiÚUEk‘£UÞM…TmY c¡¨¬U»/z¹„?”ÌÝôM/KnµQ€ÉÛñﶔ–[£{EéƒÛn×uýÕ&ùýºÓF­®ÞÝi£dÐ+®ÇDU@ªc‹à·þªZ"äaÆÀ—é×P*}—ö_[ tjí¸Ë@ôËbÆN1n· 1RÙÖ¹õÝ«"+C4EX†u$zÚ¤élJ†^+"O*MñH>¡îþªÕØÊׇˆ¡}Ñ<G·p•Tó<f.Jâ¥×@wö\
+ëÎÆn9Ið̯åÇÐh=µÚVq±}<÷ÚMϲ§Ùqe…éçØ\
+ÍèÅ’q\,¤H5\\XCŒH³}µ•fØûuA®Xtí4v\0{^‚#“ôw;+R\
+‰Z`Âd}È>›V™KNV¥ü¼âþÞß}LÅÔIpZ?RÝOa«¨ŠÙ»ÊžÚw÷UÄÔ¬}Î^!kV„¼O[K­«Ÿ\\êʾ"I”4 XW‘¶#-Ã\,dÃÙúªŒcÊ™.Óº˜‰ø™ 8Óâíº] k¥ t4V¶Nê l”Ù;¨1+AŽÚƒ´A¨ ÆA¥üV\\Ñ<œ*¬\
+ƒc®¢¬¼°zZ¨È+vPz·m5§7] 5XɈÖÓZj+§‘¬E«Z#>K[ÂÕF¨ú\\ÕLmÚA±Ö«/6ž€š4À7ëPzê _©4¬F«T\,AÒƒbÌXm{ªC¡éA&H𞆳f£`˜!×CúbóŠØØË8ÝVt˜….9½ˆ³V¾~qЃcQ¦§KÖlTy!®v*\,‘Z¹ØÓK-«¬j@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ÿÖü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+h2T½jDIŠ×IÊjl0WiË:™6®²2“Í”^ºH‹œN1bå«n#t‹¦šúk•ëQšc³jÈÊI¼¿@nï¯O>¿Û¦è8Ù§Õ¼+ÚÇ­uÜg5*2)›Ë‰ìSßRÖ±Òa@!A\0-\\«Qµ` r梠fò8è|$1Mí[œÖmh‹>!ã]\\]iÿ\0w’Cu”vWêjÃ\
+)&c¡¹\0ÚÝ+5WDˆ@:Ém@Ôצµùl¹ñ.ßñ½k™"VÓÆÎÈ·;X šºÊ&hÉŽÆ@¯K š³<gÌÌp> l/î­\\U–4ò"nÈP½Àõ®=ßÓQ¸ó…ºüU‰Å«¨­[Å=˜_@{+¬áŸ².NbÌÅ£m¬½Ö«=iöJáùy±à’.>ÚYŸºè¢UÛБ\\ÚhŸþ%\0¯ÓWLjlcñ&àÓFi€'±±Ó²õžºÁœü$R‘çŸì®M•°LxÉRI¸·ÛA¾iî¨\\ Ô\
+ŠÞ ;|>%4bˆ§ÅA²ï¦õû(1|ds¸¥Ï}’É¡ïëA§hE'´hIíû( ˆÚêAÉ1E°ºŠ­ÊFˆ‚@ vöÖùëÆø2”¨\0ísÖúÞº|²öwü¼È4dabmÒÕQŽD‰›!ÒàU‚¿#ž‚&вmÞ _©­Ïž¨.IÒ¯ÔÔåÊi\0m¢³‚n’Bü·¸¥WE‡˜2Ãck×1¤’„TP5n”@‹j(¬_ÅDxEDe7êYCÇ%ã]í{kÒºsÆ¥ª.GÔyqmÁ‡VèÖîQÙYêȱ¶¢ÁvÊB®v…©'¿ZåkLáYyóf]©¡7Б제Ž€…QcØ´1¢3øGhª‹Ó !ëÝbh)yññÅâU-Öí­éàV§¨r¤eŽ3`Ì\0°°©:\\LQÂ2Ž<¤XX¿oÍZGÕ#¼Ô±9&m°\,;:×Ló¥x"2rM¯Y·š0ÈŒ3ŽÚStÆøKŸ‡Pj ›4/TkycÐÕEO-ŤƒÌ+¸ŽÒj|ª·~TZ»¼1è=†±ª•‹:Ì\,òl{[eúþŸô×H S…r.ÄbGJÕDò¥>\
+çHò9ìMš£O@U%ÉÐvÕˆˆÙ¥äÙ¸kxæ0Té\\ê¡ç¡h™WⶔçäªLXXÜ8¶µ×¤‰R#Ä<^%÷×&'…rúvhEAMÈqJ¶˜äûWN*U+C“1 {­ô\0×¢^ysóVü0h\\Ù7/mÖö®5¨è¡á±gÚñ\,zô&š1<Hó-½]ù 7Òš3U2t$Pd¤!±ý4 €û{ê %kÛ¥WU˜’zU90‹¸ Þ¬¢ˆ3«Ü[»¥te¶@² èñÒõ\\ùrF6É¡ìÒÖ­â<ÃÇy‰’u¸#KÔ´GÒ66>z­Qâ0_„+ßôÐIÅÌ“ïöª ¬uΒ㤇’3 XÆžêãyÇMy)RÖ¶„knú²%F•|³n—ípIÁÈ&é!ÜBk\
+±†8‡Ä5 ÂUQÒŠÒÑŠ m²”Ù(1+¥3åíA¯*I%>·K~š"«7!Ì?”u–æã[ûoV\
+[KêkhÜ^î½*+bd2ücí©‚@púÞ¢³ mGZƒ .~  ¬ÉâãmcÐþ‘Z•’ÆÑ­¡­‚JTÞˆÞlÚ)·m©á$õ ´_¨ím¨4·J£(mºÄPIxƒ·ã4a€ø•G²>–oÓUÅу¥K4YG\,yBÍ£W;1Z21FéØi¿¶q]4 ק}V¥ie½1Z$Š±b¢Ér±QÙ-X±¦5‘å@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿ×ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(A±#½jDJ†\
+ë9MN†\
+í9cRãŠÕÚDKÇÅiN+r3«œXh.Ý•/H˜¸ì’m\0ì®*ËÉüB/ôƒý:WIÇíOL"KšÜ˜†7°¶ù5ê­^’rÇ;(9ò’~‘ýµ©\
+“‡"ÀXvvÔªèq±%+r·JåkXÊG! Á=[¿Ù[å*°ðQ1ó¬a7Ö·ögñøY$ø8ýU/Fjë‹\\e\,öÓ»@+ëZ‘'2ÆЧ¶¥i¸qîE IëÒ¦˜¸€YnEÅbª7#4\0Yƒ}‚¬ˆ©l–6RÄ‹üÕ¼5âaI!Kmʺfà¦É{È祫;¾/KF«a¡ïÿ\0Ò¯Ý1§#€TBT3žÎºþžÊ³¤ÄS‰=“Ê ÇR úúUÝœNJ|Ôˆ+Xu×–õ]qzˆY—õZ¦\,èºA¢LVü;kÛ©ÿ\0 +6«V|kŒ¦Fìߦ²*8ÎLä5‰\,ǸhAj0„ŒR l;(©±GøWC@wT¿è ðN§§oJ ªº_J Qvß²ƒÉ—p6PEXU:iPxc©ÐÐj—]AP €xðÇac¥ºÒ\\*›:s¾B¹6=IèksؘæùÜ©²í . žûW¯–*¡p²œYCÔ÷~šÞÄt¼F<®r Ðm"Úÿ\0}sªºÉA ‹\\šV ¦ÌçL µ/²ö>Ñ[œš›ÅzÍ1Ù‹‚Ä|6íMfñ¤«ü^E“ü6]’¨=ÕÎúñ¯²ÂNR\,‹ [^ëéYúâé/.ØËa¨þÔúé­ ê¸Ã\\¡ÛØA§ÐÔÜn ÆEŒÍsnÝ+7œ]IäaiRÊHQÖÕ!\\—/ÃBI˜-Àì=oß]w|2¯ÀѶÆP\\\\øˆì®sõn]n‹L—2Í`·ÐÚ­‘ã6Õ_a¶ ‘Ÿ‰7—!`ýH^Ë÷×YÆùgLžbLfQŽ¿Ã·n–ÓZ–ȪÃÍääH\,.GS´W=T×Íñ-{µ‡Kü¢‚†Yl*ÑEïµ%σdôú•ó€\0è Ígå[ø(Û¹p×m†Þó]g–~[âÃß)” Äën‚þë\
+—¯Ò㥂I²1/(]ÃOuªß(c¿–»K\\þŠÄTÌIÔ¶ÛkjÔD†Œu6öU|Š˜®õ(­^IçP¦ì;l4ý4û äËlÃì¬ê¹üçq!eéÖÂúT”h^|á†y˜ÈPAo­z9ÿ\0fo„ïOòã<6N;0nc¿R?¶³ÜÏ]G”<±2àž‡¨©<3rmÕ\0ijÞ!Lj_R ëRªv’ ì®UZYZ>ºÖUQŸ?‘'™´„ïÛ]¸»­1Íæxƒ]OCzÍTä‚5@äx»ïXª7×#©ï¦Š©}:SE:^õ«Ö¤ˆ¿íÆKn*×ê=´û²ÄÍÍÆ]…’EÃqSW å¥þåÕu1î6vû†]_P{«Z˜²ÇÄPo–\0{\0jA±{ª®‡ä—Smi£DˆÏ@*¢$°´¢“?˸Âkr¢¤BF¢ŽÑÖ´‘<¹Nãò·÷ÕD˜8ÕhÃ1¶š€t©ª©|X„ìp èkZ˜³n#d"íÒ³¦*¥Äe£Õ{ïÒµ¨÷ #òÒÙˆ·¸Ô±]<Áµí®v)8ÝcÚ+*ÖÈ#þ"Ÿ²°ÒL\\§ÿ\0px}”âdœ^&½®¥(0ëA‰Z+[-¶è<6í Ê1ªF£w[öÒ#ž»!³ }µ±„™dvS¤ËæêÇoq)†²Dhõc¥EJ!ºh³ƒ%/ÛÙE`Ñn>j™X¦Af¸5eEiÇ(û[¾´¾Ñ¥Q&8¬ íz€¶ÚCvÐ`TßiýUQ­‡eŒ–é©FJÄ ƒf%ö?õÐg}ãkh{(4/]zUÇ!Cu¢\,ÂeÒ¹oâGéa¥K0EŸo‰uZ²é¨Åj´Ó$W¬Ø"Ër±¤wKW;¬ŠÊ¼ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(=¨ÝW­H‰Á]§\,êtPZ»NYÔ¤ŽÕÖFS±pKØ·J܉jÎ(Bø~ŠÅ»ðÊ× #x‡Š¬áV/‚³0 4­Oš1R=OgèѪFf;SO몭‰†Ì:nöÕJ— @Ü¡C{JŸbDì.(@»šýMbõ­bÃ%Š\0±ý¾ê‘UsC$íâ±^ãÖ·<2Ù„9/qí©ö1g!RÚýMgU¦n;ÎÖÿ\0 Óº®˜±Ç…6è\0#KV+•NÂ5©U²H£ q 4y˜`5&ýÕÒVj Ùxøl\,íCÚ˧é­fü"ç áΠ‘{û뿶±(Iµ Ú Q²â“@7˜kVD‘)°SeTe‰ä)ݶçÚ5¬^š‘.9!“Éíì¬+#]o§uØX0ì4Lht5tka·¡Ò¦Ž0ÊŒ¨:š\
+\,a3>Û ö\
+‚åeD]®{4'JË’ †ázŸì¢¶®|F0ý–ÓNú Ð:Ƞߥ”` ÷PxË´nìì Ì"•ñMf z =´3da{uíîÒ õd*‚Bt6¹ Âh2Í6ï '»H.I ‹7*:.ÐÄWN{ıC6>V5à‰.OM{kÑ:•ŒMã0 äÌ À¦¥¢dìfPM•Hí¬«žäÂ3ïC…ÐéÝ]")ò2JdcqnêÖ"O<Îe ~óÞjZ®Ç:BT‘»Ù\\kLåÈ7KmÔÁO—µ·`½û«hé}(a8Ë \
+\\\\ö{ë-E·)9HO–ÀiÙYæÂs<†\\\0\,Y¾#nî•ß™+5CÇeZpàÓúkSÛͳÁÍuxùéŒlu^þá\\g©¿²Cs¸¬‘!væßûªÏYörK$™$l3tn¿Š»ç†Gfðä°b:›vךñúoSr Ø?†4=¢±õ«¬ ã¯+ìML5)°Ð´h47©Šñ8Õ6ÜOeÍ…Q·ò¥–Ä-½ÕlŒk 4ìÀ”àFÑH«|;mýµ¹ðËf+$§[ƒ~Þ•…[ÆžH 5aײ·²_âYƒuÖ¨‰<×i·ª" Hãv_]:Så™ó<L;h=túoÕkŸSˆ©8šK8±:â+2Z®oÖJ°%zê jUz½>únôÿ\0 —ä†paÚ¾П×SÛv¯)ÐqÞ\\»¤˜£ -ÿ\0ÕIÜøLOÿ\0~Ŷn %ìI×ZÖ <IXº½ÅØÜXuï¬ÑpÌíma®5¶¦dâ=µ_ÉD¤]ìTþŠ|+–ÍÀÉÁ¼¸÷x»zþïÍ]¥ß–)êHmµÔ¨®v5«ü|Å™C£]M0l9Ћú`4„k{Ú¨ƒ<ˆWøfæö4Åhƒ Hl'ÙAc€ÑÙΔX¸îºéú*¡;:êEíU•Û¥©ªÜ6° ‰‘‹q¾ÿ\0e]D9 #ĢǺ’Š¬©RÄ0µtˆç9N:y—ßìí𮑊€rËÛÀ6Ÿmk Hm\
+ù›¬>“¯õTÁŽnÜØ÷Æ„½½”ž¬^F|P"”X—ÛK4ÔâË’›ÈUsÒúÖ~UÈᨷˆ mýÕ¹Y¬8Ì©ícá \,5ÊÀë§mr±§º´ô5‹•çåõ¿a¬êµˆš܆²«<|Èåe>/mQ»É¶ ÜUF%}”V§Z \,´è1h¬(‘i{;ªw:-Ò·+} î•dZâõG«ŠBS{ÓS@y[Ü{•cĘŠ°ðžÊb§0R7ƒ¡¬ `‘¨ª=}¯ÔØÔKþ¶#°Ž´&Æumݵ­{ ª2’kuZ JCh݆ƒÙbÅzA¥|ZvöUFèáóG€Ù‡QA¯òìï[UÑ´/˜„ö¯Z‚5»«A×ßDmŽBšŠÍš©qȲ‹a®rýQë!ŒÒÏÌæÆâN½Ô”Ce¶†´­Oë6*\,±W;Etµs±ZȬ+Ê@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+AÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ PdêÑÅz܈ ÛžYµ:(-]§\,jTq_Aֺȋ<>?[½ká›S≥o+kÚÝÕs|Ô]áq«Úƒsöš ±cͺžúš©©šè´Mã²/ÛA”p3t[ÛôPXÎͧKwT´Å„@¡µ« 5Èî¶{\\^¨…‘<²“e­D11ß}‹xû­¥Z.áÓÂMÏê®jÝ*lBÝ-ßÒ‚Éç±\
+l=•E’/nƒ©¬ˆêŒí¸0·mQ22Ž6ƒb­PBšd¶ëÓpþÚÓ*ßRqà̯{Û­kž‹Ó`Ç Mµ½Neûm]𓃇*)E±SkÛZíkšê(Þ'\
+å¶{«š­"„³Z6²Û[ŠÃQgŠÐ¡\
+~.Ïý+å´ô…À²¬|½¿ ÀH#'zÚƒ ]dmÁîsò^T†&böTÏ0Pì:kÛA®NZUm°ÆÏÛz ódå¥ä‰A›¬hŒñL‰ \
+6Xj5?®ƒt9J<‰.„vÔVÄÞ­]G]h'Œ£¢É`mÒôV¬¢ÎŒ$_¸þŠ ¼f$àù¹*„{PmÎw¶øÅíØ(#ËhP-Ù~ú\
+nZÊ·2Œ›mìÿ\0ÛPKôö|;<´_ˆ uþÚ*Âi|¨ËíÒˆ¯Ey›ÌPT“r\,(2–5pwézß´J/1 TþšìÊqócÚÀXSí!ˆØœ_œ»A.[K_AO¹‰X¾Ž[Í“øÖÝ”¾ÃŸˆ°¿ÃNÛuû cî¸÷#D€§º§Úˆ'‡’R b{k¤é1£“àšUÓÇì®}vÔˆ^Ÿð¥w¼µ¿„ vùŒºIsUQIùëî¬b¹¯Psé)lCñ›÷tÿ\0ožR×+(É&Ö¹\0ëcý¦»XÊCåœUvwݺšÏÂ¥ñ1Í#m[é×ÙY«g\,«8]À·}aWqÇB‚ŠûëÍuµŽ$ DQµÖý+\
+Þ¥~¶4Ñ°Â\0ñŽ´•JßMŒe\,£m ·ÙAOžÄöÙ{µ¨$p°ÉæÉÝ—¤‚Å\\Èä-ûô5¤n‡?Œîïë¥tDæÇR›GZÊ£ P¢Ìu …éü|×YfzÆ®þ¥=-0xIR/í®¤ð2Ê…!DIAgnmMhQg—ÅbÅwBÝ ÚÕËZÅtøñ@L—vk­êŽ[Ôù.F:¶„vW£ÓŽ“½-ÌÍ®<©ø{ýÕÓ¸Ì}%#\\˜”°Ô÷W›á´\,ž0\,ÂüTûbãÅÇ[Ç‹Ûzͺ+ßv!)"nŒ÷eKËðñ2™±À\
+u¿eK.&T¸fâÛ{®mAm©XƒuoJÐÙþâríOéš0ÅÆfº°ÚÇPÄøG슲£ãgY@²•V ú+YS]6-ÑÉ©•M‚p¤Þƒwç¡íëA¦\\ˆ {íAi”9 r¿¢ƒ|9ý€P{$AÆøõ>Ú¨¤ä¢ ¤ªj\
+È T'å?¦ºÆ*²lo-…CÂOgº·¨Ú˜ê\,®w/h=•5TˆØD\,AVUS—‡(œ‡ñFÞÊܬãD~D2X¤t׶¨ó/\,C8%zu$[PVhá“긋<9‚=ú«V*Å“ÁÚ£CXh‚gEÀý5›ËZ’Ydn•ÏƒDTÿ\0m9O‚Šžž ª<‹š+ !Úh5²éA¡”Ðit¿Z S$6€=´ELØJ²7”(öVµd…PÛA¨À t=”òc*åºÊ°oÁH¥[ôVj™" aÛ@*Œ5ÖƒC¨NÏÓA’©aaú:ÔŸu¶£²®Œ·m¶í/ÙAƘkvU\0QŽÑtª00o­Á¦£!Y7.†¨˜‘Ct==Æ Âh ÷ƒb;{êÊ"ˆÈŽƒ¯²¨Áƒj£ØüFÔ|&â§ÈŸm}T׊=›¢ñ&«W妈H/ÛIQ Ð m¦§Žõ›X«Š‹$v®V4ÔEe^T\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ÉVõFø¢½t‘5> zíÏ\,jtPÚ»ÈÊ\\æCµEt‘xø¡4]Oi­ÈÍ«\\2ŽÕÑSWÄGC‡Ç¬J#@:žúÅ«‹Œm{ª+8Õ#Øjz\
+#É2FöªLc×Ø)\,Q·»Â¢²‰°Ä¶¿}El}ˆ—n•Y2‹©1{k\\|æ±Y–¿ek.<µŒn¬â¤ãgµ·¾€tÓSRÁ윇æFÙVËî¦`•…Ç©"^Š:^¥£~T.ÃbêZiÇÄ‚SÙ¥[Qç®d3vZµš|%ãÍÉiH$ôSÖ³F¼þó¸±×á¸gXb·ÿ\0¥@b×&âÖï5¯»8°Âôç’Fð¥h½fö³–yœ<±ÉáÕ–?ÙIÑc|ÞP è{ªZ±‘Çf³×¥A½qd¾ûØô¬Û' ó\\íTLǽ™MÁê(*í–àÚÝ戡Ïiæ‘œ%ÖúkÛPg‰FLe¥\
+ÅE”ÓPN‚[írÛÇ`éAîN@Ô{õì ™‹d*äßÛUSJÝ»:ëQZsfرԿm»èŠ‡æ‰ÁÔ@ žÜô‹KeŒ õµÏ²†¤Qa´^X`®NÐ↤¤È;êzX+SioS»­¨)93äfŽXü¤.5íìþªƒ¸¯:˜ä¼Š6“í·¶‚Ï?Åü4µ»M@\0\0 :©‘¯J’ >­N’²2½?Mdb˜¡TU *5·e fKü½”ÕVcbåÈͽÀN ZÕ5n²0°²û/óSU³2]«â±µÇ¶ …ÆS½Aêo·]kѾi8í;HlÌNàg}«íW?ùyÕæ˜(vi-µÅ®è ®×©s98Rœ“7•µC\\¯f~ÊÜöKàúÖØð‘uhWná}ºØ{¾íoq^äbáùÁü]T½¯­¼?½\\ošª.+3;‘Ìh_âÅÙÒºY$G}‰Å8Q­…«Í{âÂ5UÚ­b;µ¬}—´@/‰ƒe>Ë‚G0_Üq¥²£r àn°=:õ¬4ÀßvÆ&Ýj\
+¬¬Ÿ 2jëöÔqøÒfÌr2Sd\0 ªu¹û(-2Zö»xmÓ¥T{‚D—º…-ßTI(å¼'AÙWFäžÀ+þšd1Ê6‚ úZª3Ž0ªjj•EVò ƒ» ­DE*þ+÷Ö+J®G(†Õš^Õ|É\\{\0݆Ýjê9Iøsþn3 ¡Þßez8ïñX±ô¬r"‰AÜ 4°®u¦·Ä•^ÒÈlN¶ ×NwG¼ t6¦Aâcæ)´'¡*X¤¼B"ívð·Ò+#™å¸llFÞÚý–"¬ƒž”cÄIk©iøky?Çó3b²ËÆÓm¯ú·WYÕ·ÿ\0WÅ–ê±?MÖí®w×WSxŽ2G>pŸzí¹^ï×VÑx’ÝJ—¥aU¼êbɱѯÙkš³MKÃÊüÉ·ì"ÕÎÌT³!—=ÔTbÍÀ°+”ÐAŸæÞ¶ÀƒÒ ÑŒ“3V¿Q[—^ÜÄ6~‚µ÷L`ÜxEòÊÛN–«ö1K•‹8•ðªô¸½ëdÅNo qÔnqî­É¨›5T`‘ã¸í¬æ~¢Æ0°™XøJ×5\,E’5xUΛµÆÕ¦UÅoÒ´‹>;¼'¨î>ÚÅX¿ƒ!c§es±½e9 ᨭ0äm· ÝRÃV8Ù±JÁf>XSf'º¹æ5©añ²ð‚cUÖÝom‰¹U¬‰µG¶æ ÜŽw/CExÀž´™(52UY\0 ÔÈ(¨Cp¢ö=hŠîF&ˆø¬­…X+^e7gÐ/J¸+'µ‰ÐÛZ‘ðíŠ÷½J'¯x¬ª;ãíø|4v7ÌoAé\,GJY š¥A«a]X}µF“ÇÝz£\\ÞÛ¶ƒ\\nwÔ£ˆ’onþê#|rX”]/ÙAãå0ðÚÄUÁ­e:²õíZööUQ€kjj‡UÜ:T+•ÔRÍE†&u†Öé\\¯8­™Xöd]QVyùK$«X’£ºZ5:^³b£Ks±Q$ŽÕÎÆšˆ¬+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+AÿÓü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+A’­êà‘7®’3SàÇ®üòÍ©ñCjí#:—9Øtï®’2½Àã ZÊ:×O†ui¬Û\0×»ûêjâê U€ öVU¸HÀ\\ ÐSÐŽ@-¥¤HYì5=ÕLk›åºÄ‚Ê:‘V\\U„XÐc-º°¬ü‰ØQÆ|O×ôšÍU‰’$’H쬊ܞB&Žíÿ\0­nAO“|øŸ|g²õ¸ËÜ<‰²q·¹¯VÁ»Œ¹X›p^§­¿EfÅK‹•ó|:2û:Ôúš¿â`Yy'hï®uW;®ŸeaQÚ1{5õªZ@Öè;êˆÜ„϶èªÌziz°ixÎ bP›¤b&×Ö¯È¡å¹ ömñ¥í†õמcŸU·‰ær (ÈܾËßúõ¬õ$fu®ç*\,˜®‡^ã^mw‰?—«kIWÁ@º\
+jbq†GÞ ~öV¾Éòž¤ŽêæÒ«-2/sð‹ ·÷ÔbÈrÁØmì÷ÑŠÇ5÷h}´VŸÈÄ冀Œ–‹Ã‹u¨6Fîª$@ v¯J ‘òØßh"Šÿ\0ç.ÛvÖˆÙ(cq¡÷PHlk.‡ôÐUr¼k?UI¯ßAÈg`Ë-ã@Tßô{j3[q8©b•VFÜ-¡6'ì½w• Bcvm6\0Ûÿ\0J*¼cä´nŽ m¶¿aÓå×üU»‰ŽL=±N£KéUcf|±‰ˆ‚2­¸jo³ö¨®N¡†¤lh6)+p¶ Þ@e ÑùQkžÎÚ#[K³h\0“oë ‡•›*½ºù{骋$òÈNÖ¶·ÐTp²]ó jjˆYR>DJª7 Ä‚/¢×A¾3"¶Ù®ê\0·²õÙB…:ößZ H²8¹¾Š•¬gp;/aî«ö°Ä86Ò9ßð©éaøªn’=|tœù³0Ú÷+a¡ëûZÖkJ~Cˆlp̓ñ8鮀ÿ\0mwãÙž+”<÷|lgŠ'[€}Úôï=|9ù‹>6fwIÞ~” úmR¬uüdìèR {úד®qÒTøî ÷ֹµÈÐöŽ´ÿ\02û¶ÂG¿²š3%ñØ7ou¹ä.Þ\\Jw­è!ʼnyîÖ6ì˜&Þ8×Â5÷ÿ\0mTjÚ% Úç©öTq¦;ŠŸ\0¿hìª$6J\
+Ÿes »ï‘íìésLñb ‹‹uQºi„V F½µqæ&#àê݇²ƒ\\øÞz'‹ÙIU·\
+¶¸Ó»JTFÌYRÌŠ¬:MgEÎD±+9R£¶Ý*wÔ1âFñKñê šýk|â:þԲ䧔ÊjƒqÙ§F¿m_ ƒnLaÈ·¿²¢´ÏŽ¥nš¯xÖ¬DsŒB‚[Q¥Qï!‹\,±-¿ˆ5ƲªÙU0¹~öÚ²9¾gê5¿Fì>ÊÍU\0ãñÝ‹\\¯Ý©ì±>±W•W*T€z5¯o7\\Ö¼.~N2~^ Væä­îßv³ÜÕ•Ò7%6§„4¯â;»«”‹Q²9!¦KÂõºéqìÝZúï„Ô9¹Õÿ\0¹bô³ ßÚ)Ïj÷Žå¼õV¿‡¹ˆ¸®UÕœÌ<VVÖÖí¬â£¸F£dºŠ…ËrQÄÊ"³óÙPDƒ˜\,ö’ÁO¶¢¦žIGAºÚëMÛ=sc>P³ \0*Ë©Œ…:x[ht½iÙþ—fêö{ZûV¨æñxv†q1Bñƒb;u½øg¹(eÎM¨„‹Ú¤ëyN?%!X„~¨·ë­NâX¦G+áÕ\\ìçb\\(7«Êàëkµ ^.É-ì®kŒå}±‘}\0¨ªñ(#N•¡¸7˜› ûê\,1ó²°AHïcú+]o‹3v®\0¿è½s¼µ¬ÄâMéÝ¥A>MG‚KiúMSS6Þ¢µì ÔÉz£YM*;t ×6ž6ƾ-I?ÓmÏrÞPÝ'Vî­ÄTºXÜêµ±¹cG\0!Ó°ŠÈòxÆÕ;è­’M  @O°5J¤øH ËÈTÔëPdv‘QZ%ƒwN•uçŒmî#¥X" ;XˆV‡°H/Û}h7GÓúAâ`w oÙZÔj•!…Q²%Þ.>#ÙØj 3G°éú Qâ¿ga Ì‹ 4 ™…œc;T5‹ÈÛ™‡oâEҒ‚mÛÓ´U°jxí¯QßYV–KÒÅG–*çb¢É«•4µaXÔ\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ÿÔü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒ%[ÕI†×Iµa=wç–mNŠWyMÆÅiM‡NÓ]$fÕþ©mÚý?Mo៕ìxìFÔ³þªÊâDJ˜ëåÅ«­ÛEN‡jîoˆÔ¨»_ þº¬±È‘™H_ˆôöQ¤\,y\0¿åÆ÷cmǶßMh[ºþZ-€]›­…cäc‰‚Ò12›(ì”´LÇÂus° MW¹Ò.\,l@»ž Õ“RÔ(D91…d׺µð‰Qât[è M\\BË㣑ü± è\0ýueâôáY\
+«míþª¿c6§öƧqè ´®W¥Åî> ÇPˆn¶×²±º©ÑB@±”{ä kÙEE’q­ªŒ¤d\0¢›ÐhŸ Š‘úÍ7Ëò‹.Ï'5€ê\0Oï¬Þõ>¨œc\
+˜KIÚMô÷×=W[‚è9eü"äQ¥·˜Ñ În 6Shmå—h{oA;$ Of´UfN@!œÛo»¥ D±È\0?)ÒôEgç§5ƒ0N }A%y6ïµQº/#!¯ñ/´t¢¥âD›Ê›žêƒ)ñxVb ­Ë˜  nQ¨ ëj"ÏŒKóðÑ[¥$ívÖŠÁ²‘t:¯x¢5Í\
+H¥£¶ê‚ºd¿°Û³ÙDLñ¬Þ5é{XØ}TTñŠ’) b-ײŠ§ËÂü°o.ò¹¹ñk·ÛAR%3J«ƒ2üwèmÕj\0FŠ BÊzŠ£ÒB6Å\,mnáA²u7{:}”"uXÁ¸;ºÐG2 RºA|¸ZK¶¤hI ÓTh×\0õý5Ü!Ž×êÝ粊‹™ž1b2B@e%I"þÞß»Di‹—üÁ؃ak1bzŸeì‰Lë&ðK[¸wÑYKšCs[P;A€ÆÚªÛ#u#Åkôî4TYKË8ò€;lÈo¼…j*fÓ—:n7#§Ò\0µAœ˜ #<xë§i¬F1úz4_ã’äü§²¬¸V8¸1cÜD|]lz~õtþOÛ?T£\
+2øNÖ÷^Æ¥öT¬E+ÿ\0pÝ» ]Ñ#ó n(º c¥1¢RD„ ¶¬ªwûjËâ„Üv†ªŒ3#H…ÛFÞ´9|Œ1(BnçO¶’hŽÙJšJmïè js¬ÚŽùèT\,]uÐÚº^Ôwç_"ñ‹Çm®]Ln]KÀÈHŽë’£°ÖN\\°¤¼€µ†Ý\,kZÎ7árm/ˆX(ïë]/\,ÊÑËò1Åid6n—«ÉZ°ùa‘ n@éo×\\íj-QÕÅÁý•EÉbMŠÓj²Š>G"ißòÅJ)êÄŽžÊís¼ökbßX–µ¾ÊåwåT1fʪ*½.·5\\vÞ”Ž1ç@’?pëV+ª(¨…—†ÕQ2ÑÈJ!:ߥMU›c‰VãC×ÙZÔE.Ý„uµ/$¤ blmßýt¢¢LS`lÊ-qÿ\0XÅVå4;wmî°Ö’Y?6³Ëmý7¯Oc¯`È9(\0®»Ž;í](«ä22'•‘¤¾Õºö÷öÒDnÏÊÝos`»H[õìñ{jÈ7úòÎY7Øö›uy½ÖÊß.ÓŽ—Ž?\,oÖÕËš¶+ýKÉ68óGÀ4¸®Üó¬ÛŽ6nm§7×í®ÿ\0ÇãË?før[+Hν ×—¾~­Ë¬$ŠxO‹QÜk:­øù…{ÅElLã \\ÝLXžªÈòö7\
+¢ËÕ8ÙJ)@nÓ{³CO²c #ŒÙñ¼AÔÜ›aöuª+á\
+&ö¹Ð’tÛíÙ~•F<Æ1Ž\0¡ ^ÌntËõ¢8Äh¥"EÙ~Êõsv1Z–O/®Œ Áé[e}…˜² uÐöƒ\\ìi&W$wPªÇ‹dÛP‹Fµ¦Y‰Ô··¶£I 1ÄÞ¦ ¢u“®•*´f†R-ïÒ±yÕcnûG ÷š”Zàdo\,Êz\\ÖuÖý”V ƒ²ƒÃ¨0)ÝA®eÒ‚·7d]ŠØÁ ­JŠLÎ5à_1u[ô©QQ)*×M;m[£&HÚÀņ—J+[!A¸ÑA'"ýEˆëY°mi¨0Æ祧è¢4:™˜[@5ª4e&ݽjŒ\0Ç¡·º‚Míb½FšöÐa4—è5²‚VÑðž½kQ¢{‡¶ª%ä6ñp/nÚŠƒkzUXkÙAà4j¢nfÏáIðšÏQL¼q{¯^Ïm%ï·ÝÚ*Ù¨Åã°Ü5SXV–[ÓX«Š‰$V®V+C-« 1¨\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ PÿÕü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+j·« • 7®³–j|õßžYµ>(­]¤a; ¦=Ë]$f×GƒÇ…°A{VÙ]aa¬Vgñ5fÖÛ™ÜF” ÅX}¿Y –ú¡7²ßSR Œíný*£iÃ6¦È4°í寧\\8« FÐ:Ö²¯3ànk\0EÀ«¸3%"Äý¢˜'qÓn}Ö¿ÙRYM„KpEìoÝV#%XµFFí\0¯gÙTmÇå1ó!°¹©yÃQ§â^CæFÀÛ²ýjè–ˆ¸ñ+ʶ·AÖ³ò/8 ™rÔîNúÇS/|›uí¬+z¡µEiGZAb2›öºãøbãâéPBË’b7`4éY¢i%7°7ÒÀ\0j) Ä7Ÿˆôþª ãã+-aÙ}j qì?×»ÛA(în£§¶ƒC†rÜÛ¾ŠÕ*¦A³)½ãœÄÂ&ì=”ºG<®Â]\
+ÚÁ¯ÿ\0¥ê#oûq6#´ôÿ\0…¢á „Ÿ ¢µœ ![Å­ô¸¢"Î$Fߥ]Epr9h.ʼô½ê Ø”¦B™\
+¡nïÒõGClw§CßFš²xøÏŽÚ¯fµ3ß;ÐQ¢‘%ð©³vöP&Ç\
+ÁTÜžú ¢™…Ÿ  ”%URºª{hª<¼¯!ØÞÉ{ßÝPaÆÇ s±·ñd;·t:Š"ËdR@7÷öQZ0Û$—éÐwm·\
+X_¥Qº<4Débh"2Äo!¬zT™XãÎ(nÁˆìmE–7_a Õ>jaï «YuR·í¢ª¦ä¿1€]¶’Àöþš#V &++i`AMF•lÁi‡ÊÁŒ.C\0Í¢ÇÕ­{oÒ¦ ¸±#È]“¸é¡Ó[Q[ùa\,±•¹T¸+`\,Æ¥ù>DÀ ‘Æ\
+Åem5¹ÿ\0MENârÑ /·h¾½-z øùc\,\04g·¥]ÜߨN\, \,ae# ¾—íéDs\\O9™™òƒk‘Ø* –Ϻÿ\0Xô$U“WQ?ß¡Ýåï&ÇN·û+¯>»Õÿ\0–ÓÈ\0¸ÒÇßí­X‹| •—b²îEcêºÓÊúŠ<ã¸ì÷žê³5Ìez®<ÆhˆxËhö{4®ŸÆšË\0(]Û^·mc®³à¸³I'˜Ý>ñéöVw£#o±'eí¡:Z¦gäùY~J `$uÜíØ{+¦ë9ˆY’d-Û(\,·9Ÿ–v°ÆÎp LUŠGCKÏéen‡‘‚kùGpíÌ5°ñ ’7KºÀ‹k}=Õ%Ã5êaŒF\
+ƒVÐ÷Ú¥º«|i¶!Cm+ÇFµ˜K£¯Bzõ«õD\\ìve.^ËŠÜ<æñ¥|’îC-ô kî§}dÂFÌ.$Iã7^ßøW™·eŽðˆÖ[\
+:{«h“6ahÄ¥ˆŒënʲ£/40 ºÊŠ³ÃÊYuÅúU‰Z%G((.+ThÎVsæFS¡µ=š¤® ÷Ô?•FbNÕ°ßúè(¹~5Q¼È¥V=ÕÓŽþ©fª6l7Ý`/¦ºƒ^™gL_ Q=ƒõ=;+Hy RÄ)ê îª7p™B>\\eÇp½í\\½œ}š—™<ž<Œ%\0†Õ枪×ÙW‘Èœ’C·°^½|qõŽvê¾XA³Òº"OÁ%%›§JãîÜð×?.‘'ˆîkËW†xuUEª|©¾0~.šW¢ñ¿ }±yP®+[ Ö¼óHKƒâ©D|™PïÛê®ÒJÊn©¤„ª!Aý]Õ/«>V˜O¹ ˆÙÖÁ¯k}íwV:˜EÆ^~üuYóñ!îúÅa\\1‘‡#†Žç±Šôñ\,bªr|²ÄBÑ­ë²&q8í # ½ïY¢Ø}ŠuMeQ2âüº s¥YS"Œ²xÃu´Paù¦Å}²j½†™ª›ñÌnº_ôVh”c 6šŠƒ•‚F«¨ª¸<›ãhÊk0®}pº¹_P¶H6-ØôµsU®; ÀеȠÌÆIéE`ñ÷Pit4dVS§m\0EææçQÒƒšåøµüÄ\0ŽÛ_Jé+*ýæÊjŒå—Ê®•1[Q¯u@ÁZýõnƒªõ Átúƒ[|=”Úñôíª ·ZƒL@nÛÝÖ¨ô>ÃcÛ¥è16Qrˆ?]Q]+îbHµi©+­TJIA[uAcZG±½´¨¯XéÐÐoŠ3mýGm³BF£¡¦ø™ÿ\0ƒ/ØjQæF1^½‡¾¬¨l6=;E:š¤Ð[ĺ­s”heª¨òÅX±PäŽÕÆÅheµa¦5@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ÿÖü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ ÕoVA*/]g\,Ú±ƒ½òÅ©ÑEjí#+ \,9î^úé": -Ä$cAZøgåx±\,)`5¬´ÍI:Þ‚v&(…LҥĞa¹Ñ]QŸžÌh–÷öì¦ \\Sk(·{”c—–¸çË|É¿P¤š"¼²Ÿœí'¥k„ȃp±=mÝSÜ>2-æQ¨m¿Y©h·q`ð5í5…Rfñع'ÌwÚGÓÚ;«¬¶2äO¶2J°ûûÕu16~<à'C’lm¥…MÕDZH&Çÿ\0Æðê5$Ø©¯QSqùÍ-ÓËÐ:ûMfÌ'Ž0q†ë(ä}s¾Ud“¦Á+¢Ýµ†•óóʬZŽûV¾©­ÜI2)•ÖÎÚÔ英˜¬6*h2•þôZR Ȳ/…mí=õ0“ÞñÝ»;j ¯ÈÈÚZþêO3E Z ˜çŸ0’AÔiA¼ù¨@K=ý”^S Ûæk)Ðûô –³Dú‚-ÓZ+6† ì7PWχnd_ =¶¨Œñ¼¹î· n½´ãÁr4_뢰“‰G»:€v·¢<è”6ûG1º ¹úê4 ™Ç9DPº°Ð÷PN•ŠF‡­Q• mt XkPQFÉ óSD[`O@\,§§~´2@Óa³îúŠÓºgŠçâ×ëAO‘‚™+¸–fPlO}¼"ƒgƒ"ã™'mÎ@Ôh}ÚÑÐf!˜\\ßìñ2¦D'bh/Aæg)‚”éc­G3ꥅK³BŽ‹ÿ\05Ÿ&;M&íªï66÷QUXܺÏ3©ÐÂhŒyE†$2É+3Ž‘¦—ûm¥ETÁͤ»ÄQùqAÚI×êfù¨ ùÍòÏÂ>n¤¬E‡xá Ä V¯‘p¤Ý"¦„h/YTü|•€ÝE€wgCòýT×=ÈÁù€Ïâ r¦ÿ\0PùvÔ´DÃå2b‹øŽB9nõ?;{* ÌáÈbˆü–ŽEphQû^»TgêYùa•ð£pÛmVƒ•ã}?™Ë±$ìHƤšƒXár1ܲ±èF—¨˜žœùLS"FUQ~§SôÖùêòc(}3)‘Z3áQÛîï®ÓÛûL_ðªØù"q±‡„ß[û*^å\\L]Èäá‚|LÝ}µ>éŠÌîóæ‘·!ܽ·µ?“ôaùÝŸÃ1h5$Zÿ\0¦¬ëJ±‹2Á+}.÷VºðÄ«Uƒo˜Þ&=½ëÙÓ]ÝäÆ6©èm¥eRñ±5þ+o”u«)[s¡Œ®Õ÷×Ù1HÜP]dŒhn»m¯¾ºÎÜþ©|f@»<jw¿îÒõ @Uv8/pkŸÙ¼FËÑþ ¹Ó­4»@&ýMfM]oLRž&&ý•W$ƒ 4J4Úõ­õá"Š^ÄŒè½=ÕÊ´Ñ/$Ò)ˆ škÙAÒñ<TŠ›%\
+²´7æñêêb\,Û§·ÝPRå`ÏŒ@MV÷µA³˜ŽÔ½¯s~ÊÖ‰¹/+h„xEî{kr²Æ ™öð÷Öjªò2±Ì»Xߢ³ªÍ¸¼|´ÔÝAO‘ék\\Öîµ0Qò>™úÅuõø¬Õ.OƒËe$u½z¥aLf\0#ô+H•‹*ãXôeèEfÍ̪ê[£*·Ët$­kQ’3¨ª‹>6%eñ OJñûºü:ñ±±¶µØø/ò×–ÖÙó8°4[ÅÕÇCß[ã»ÊuðcD~ ­Þ­IMŽáÐÖb¡Ï0*¤îîÓž™± ±?NúïÏr³‰‘rÙ\
+«yYTt½oë(°—Ô¡€PCµ­r¶5Æú×ì‘>6L ÇjL:îš¼Ë 9?we¶ ×…6/CS®¸ˆZÝç²³F8R™eli\0Ø À4£n3´$2„Ø[²¢¡r›Âùl/cÔÕˆƒR§¿Z£ ãòÉŒo¹÷ŠÅŠŸ´:ÝG¾²!O }:ЮÉÆx­"´S4[ñ<¼(ëæ·ˆØo¥s¼.ºh³“y FÞÆ+›M ù€ºÊ;E­ÊÚ_ôÐz±À(ž¦ƒ^d°ÂZÖ™@°\0öŸ«rüU<üpPÇÓxÑ@6=ƒÅv­D®k?\\7%ìÝöÖǺ·*)ròLïhõÕ©¸w\0 Vj¤D„üu‘‹ 2‹„ ÆI€¾— #\
+õ4y¤h5…‰&ÇÙA쌔ê{h1‘tÓâìª4IçÜGZ£4ÃÙ×´SF²ÆH=µb#´›”ÙU\
++Ûî4°'ê‡[Ôªœ¨ tê*³Ào^£­YQœ9>jùr|C¥0j’-ÞþÃýõ¤iV1›vvŠ–hòXÇĽ+8kC-F‘励b¡Ë«ŠÐËjÃLj@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ Pÿ×ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(ªÞ¬‚TÞºóË6¬±ñëÑÏ\,ZV®Ò3« Èm>Ô×Ix¸â "ˆ]Ïè¾·yƒÁÕìêkÊ·¾Ù06J¢^&:̪nl;*Q*V\
+7?½y¨5qòG4O0šúëVÁ·ºÚ\\šQ2ynVmO`ëRA¢xYFÑmî{:Õ?Ûãw¹¹\0M©/pŒI7Ûí­‹k¾<zžƒSöV>ESó'vÅÝ~+t¿ªj~|Iè…­c¦µ©Ö|–TÀ6mºôûjÙ[ŠËœ<‰­àþÓ\\/†š38ÿ\0 \\s´^ÄÞëV¥J‰s¥B ù›Ùú*ìE÷l¡åÊÌHøG»î×;ág”i¸^R¼Õ;ãm6“}µgQr¦àbÉ#´s.Ò57›UvÑùeL}E€•Ìe•(BlIr;;*UFI%¸¹&°¤y*­·]Ý´üà ºýµ„©¢"I‹¼¯i ¢äñ_2mÉcá&Æçå쨉ü\,솓ÂM²ªÅ¢¶õm·&ƒ\\xr3݉··Z+6â"ÈmîîóPKÇÄ\,I¸( ‘'‰(>a¸ëAª7Ä€tìƒ&Éó–ý\0öPmÇ*Ú1µA§+ `c Õ[J£Tª{h7EŒÙEëP&-m:Š\
+œÌ{·šN– ¯¤Ì`=šê#n?¨nž5›"@ÀÊ´V¼œè‘ZÏ ëmzû¨)à˜äÈ\
+0X”÷ØþŠƒÉ²$/™üVÖÃöhóN»DqD_Ì;mªƒ<||¶Ê“j!í·îëv-ï ×c˺8Ë ×s[hüGæ Mé¬|ŒµÎÉEa±iû¢‚W\,1š ™(̺Y/n‡fæª8sÊ \,‡˜Æ¤\\úþõ«(ÕÈòÈdyŒmßnîÿ\0}–$R0òqA멵º÷ÐKÅâJÈDÒë­À=¿êª&Å#ããîøP krÖ§6±÷Ÿ MÌáâIf™dE]AÔžóÿ\0Unzº_¼Fä=o‹:~[°¶›G¿¶·=6—¬SõŠ‰è’Bš3Ä=õ¹ýÚ}Õ¹ž ÈÊv1 —ÒË¢ôí­^9çåeÔ¾/ý×(«E}4 ÝûUûÏád®Ír3£†3šC²†¶ëwýÝk‹M°rðYŒï~ͪª/ï#UûÕ4c‹:;ï‘â\,G„\\›~ÇÝöÐc“’ò;CÁ±^—þóA<Ã\0HKJ×¢÷ûè&p¸fl­ÁŠùhN§­ÿ\0¶¨è±0ª©6ÿ\0¡‹R·`(9oPg®â"BHÚ4ôÒ¢ñŸËˆ˜`7°{/©®¼ßÛt/&>"mžO„Úõκ6cå\,«å>ª~““ÇÁþî~î¤ÔD¼l¥dó\
+¾*¢Ÿ—Í]º/`”l‹™B2îÖße4K3ÊêdR¯v¿¢ŠÂ&ÆàŽÎÛÑPí:Ø` ÙŽÛ‰·AßÛTWrª…Õ•×[ ûë_dǹ¦eÀÃÚ+-5dd.ÝÕmúè=Âæšg¼HÛEµ=(&Ï3¼¸ô „ó<ÂΚý]”åÉH®Œ6µ»´ªˆîï*b{Àcgí¦¢ ¯—‰‘ËŒn=$ÕƒV#&+lb\,M¬*¢ëýÉŽ‡¿[S¼ãép?®ºó1š¥š)\0+`W³^Ÿ¦¶Š~OE}\0b5Qö[•™Ù 6ÒÛFÑm«rb# lÛ\,v‚ƒÆ…‰Øtnê T¦;•w7èµ»y"ñ…Ýsë‰ÒË‹\,y“!uðû+ÉßWIuîI.Öz×(¨þPƒKíomtžS[âÆó—uÆïm‡~lÝ4 ×7 ÑÐØô4Ñ\
+l2½Þúé;±œe$×uUkk¥tžÄÄ<¡"] gyíëq]e•”d™6M½ýµ¬)Åb…MÆÅõþúÎ9 4‚?à\\5ÿ\0@÷ÒPOR¨¢aÛßA+ŒÅƒ(²¾¡‡}JEG2àͱt·Qí­Aî<;×Z”[âC¶Á…fªr›¬Žw’–Bté}k¤DH3Z;…è{ [©¦\,uª'q™vºn+î5Ž¢ÄÏ÷Bº¸èJÞ¹ÞVxÜ°Pâ-Æ„þšç˜Öº2a—XÛ^¶èEEQóÛ?8%F‘|@vHŒxî\\Ã!I”Ha=j+bxòœ˜È‰[¨=ÇJÔG>ÜSa6ç ߺºn£Õ²êÝ ¸µÖU¦xÏZƒ\\ej m:ƒÖŠâç  ò@\
+ûh"@ʼnÓ¾­‘â7í¨1ck$ó¨ªLW ÒÔ¦ÊÝäÖ‘³Ø{(1d]Ö_Ðh4ì?mê…ŠY‡ež<Â@{¾²­–ÝqÛAhÈ;‡QÖ´b—Ì?õÐdÃ~‡Fì5Q­Êt¾Ê¨Ó\,e bÆš™k*\,U‹HëŠÐÂÕ†˜Ô\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+AÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(3U½Y¨a½uæ3V8øõèç–-XE«¼Œ¬øþ8Ïã}#¤û«r#¡‡b -ÑW¼û~è­ Øxª–XêÍR‰É‹ùáF\,ƒ©ÿ\0OüÔø_cŒ>ËT”I€.È-íî¢ r2yàãÇ©s·þjÔ‰WxØ)ƒŒ‰ØbÝ­"c·žO–\,£·¾¨ß¹1î"¹‘­sO‘> "¿Äu¶žÁYµPæBï¹ÛjiaßZˆÒù¹Ø=Öîí?m0j‘dtÑö)'{isV"žU‡ HÛ¯ˆûk§Ë.{:Y¼»–$Üw[²ºÆ] ÇÅóài 5ï5¸‘ÃcÏ â|·\05É¿øTS¯ðŽ¿ #{|ª{«…lä(Îù~Ãàéø©\
+Ål‘|ö ÈPúk=“z‹9L÷2õÛ®½Õ>µ­s¾¦Ï”¸— Ø3u+¯öÍKàù‰r:¨í©×8’­™¶øÏ^ÓXFèÁ“Å\\ë|ƹq6‚X¬4ÕæˆÅ‹x‡é4[!BÚh#dò%ƒ8m#Ïr‘òŒ!ƒÆ7\0£¦£âjˆ-:2Ã`ª«kEè;î2"a3_@t£MòÃ<Ö1Øï:PDšy!º±R×è¿ßQÁ˜ÜÉá'ôþŠ¢o ‘\
+®„PKE¹ im(¬ÇZ€¨ÒàŠ Êã"Ë!ðÐEÍÆq6øÍÒÖ\0}øMÚPh”X½mAO²å/–|\0A[&öa ³.¶¨Œ¡ç EqžÛÆ„__ÑA»9ŒÐ™.O]j*«‘•qž\,vXÁÜk€5 ß‘€²¨LÛFîÄ+‹ìf#ýOA¸˜¸üoË⣹Åά~Ï–Š‘Âð첌œÿ\0û‡áNëPY4JåKm‚úv_ý_³A~RåUÖËcµˆ\
+t ‹ÊzŒª¬É€W³ÙßM1Éæry“[p%µÛÑVõÒ`O&HIŽæa`‡õtŠˆ»ã¸q…"Mì@»ÒŠµã¸IP›Ùc?(í5EÌxX¸LÓÎY@½@ö­UDäF.Q/0·C­Žƒ¥_µbq#‘ÊôÎ&[;«êö²‘c×°Vÿ\0–ŸY™œt“ y#\
+oõ\\‘îì­óÏVl¬Û'ÊšÁŽ/)aî5ëâÛ<¥UE;ÆÀ–Ú}Nø\,ZCê ˆÔ¤oaÜ4®sÑ){ÆMÉÏ’6É#”äÛôW?ns2'>|·c &%bšñº¬×ŽeBÎ\
+Û­Å´ûMŸ•½v¢„gùh&CŽQ¼é\0Ð[­«Ri«Î+Êë ÑOuÓF`¨ÌÝ=´qãر%N¿ñ çy>J§c\,u\0ö}AÍs>¦Ë»\,(QTØ°í®zÆzŠFËÈpY˜ž–ÝÔþš•b˛ˆ1ãÖöÚ-¥F›±ýQ3·‹h Ø]t÷éSDÜk͘~nsaqkÛZ£ÎC•…÷EbÚõÖõ*5q¾kïòÁ*56:[ÛR*ôzŒí+\
+ŠûþËuª1Áä÷K¶öÜmz ¬Ø²ccWKÕ˜è\,è@ª"g„‡EþÚ ¹)hƒ–PJ\
+l­³9YÈÚ:0 ¯a;š ß²h$ÁÑ›Äuí ×õÐo9 ºJ–ʨ×"CvRW¨¢·ˆh ý•‰#U]†ÇõUžQ™4¸¨vEïá tö×Nn¥VÆøsȦDòٵܤèOi^›jÞpÕÔü]£´¡DºëÐý•%aü½mñ^ö­"·34Â2ªt$ÿ\0mjDQÍÌ ‘’tGÂÀØ×LG=\,Ò ¡:\
+Ú5eãFÞÚAî4g!ÊHJ‘ÚkuõY5¾\\#`…ûn+”÷F¾¬c!\,OÙYëÛú_ª\\%UÁap+Ï|´½Iñ&6ú+8ªÞo]w{­Ö·Å²¥Eã ”ÞH.j·C]{ê3‡…ºû qÖ×c‚ÖÚ;Mi䪲ÙìÚtÒ‚»uÊž-A·#s#’ufIG„€Óök¤éœqü‡ ^à™ MŽ•ÛŸdg²2üØ–6Ч³­tˆµáÙgø¶Ü5QpUNˆ±ÉY:v f+˜Ê˜âNÞEÓ^—®™¬¢™¼ç '^ÓE\\àÆ6›kXª²F²kYžb ›ÕÁK&ãáøn3PŠmø…ëHÖÖ&õs¼w¢¶@ï!ëD^pø í¸ü"¹õZŒy(rAh®-¥Åg%ŠòX›-ÍïÖôz\\n½ízbk§1€X]OZÍåuœ²yËkXÛÖ˜!ºnR½Õ´lÃ]Ë´ž•š­’’¢Æ¢¡£+èýAì ô csÒ l°± Á­Ðõ%SÙ§²ƒ$¿Š¨òDê Aî–ƒ[%ìEQá±$U¡{j{Eb[´kMF¾Ý-×Z£Z½Öƃv?ðÛ®‡­õqÛYW¯Ÿ~V9C¹+R£“ÌxUܸÜ>1úê¦=B³-þ”TY¢1›̓K-eQ効ب’GjåcMZ°¬j@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+AÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ Pd«z² PÃzë#5e^ŽyfÕ„QZ»ÈÂÏŒã-¬„u5¸Ž·ŒÇ]4N\\kÞGø¿PÔãã€<]§³¶¨ºÄUDÚ£¥fŒž”’ÿ\0-Ž1áG´éújÏ(éþ<G|œƒrÇKÖº¤K䤓5‚'†0u÷Vg…j£Ó¢ö}Q;$µ›²ÿ\0Ök4Yd»$v7ש˜¨€&móÜ[ØžþúÖ¢$0Œp_ªrNŸ§û¾Z×Ê*ù %\
+Dhµ¬?§ïVç„Q1I¼§Ì”t·K\
+èÉÇàÍ”ë0Rèn ·J[„t/|D\\œ’ Sá_gf•ÏçÃH­.VtÂHÖÑ÷{êøŒ|º¾- "òS­q¾]b\\’¤¤0¸AbGxìÖ³G(­“4†å«(°]t—Ä\,aØœ []*ÕNƒ|…G¹öé­gpY`â¶@B=õ›u¸ñ8ÒA¡®t܉bÉáì"¹´‡™È®*ý@ÐwÔMP“‘.JÎíàŠ¢Þ\0Óµú%úŠ¡æøÍò<«â*:mDWãbpà7ÓAAî“8"1ä øÉ×ß²ƒº&HUT©e­oe{›ÏãáÀ ›Òç³ôSS\\ôœŒ-o)ʇn‡»ðÔDÜFYÆÈä>ú¢÷\\|t\0½êkMò)»Noÿ\0¥4`2¼×w²Ôâ[ø[²ƒÇc~· crI2Ý~¥è7b06ëX( çd¤CbXÈ:{h!ãò¼NMÃôµµÒ ×ÇÅ*€ó®–½ûh)=KÆÇ\,§""ÊÉ¥À°ñuþŸ³óD8™VUÞXÇ YX¦ßN›f‚·›™gf™6¸ƒ¨¸ øºP&+G: ±€]¤ønN–¿ÛL<tΪ 8m²"âß+}TžbÊë⳯¶ª¥p 21k \0zQP$±¸p%®.nv‚£"<†RÀ\\€ªú~õEg‰Ã´ä­˜×Ü ýTò=!è\\F|Ò@u¬;ê¢Àzp&:ãÅo9Eï~ßiFË. --‚Úì;ÏJ\
+žGÕ8^g”‡|„Ø éööTÑQÌe·•½î‰~ðߨn«&ø*¯/–‰bG†V:°\0_öÕ^¯_§öå×¥cz‹\0ƒ¶9$”^ö¹®½ß¤fMFËÎŽhZCÕ´KÜŸ½\\ý~ËÕnǘ¾›‹-º°½Š›Xöï©íöY|5#iô¬–Å€4v3cúõjÄ÷Ü/:ºÂôcy^f@UcÐ[S‚DÆ–Ç ûA¹ÒÞ"½õ•G™ såOwkûl~Ú¢r~KÝå _ÕA33È_á·¿[ÕV ?œÊ¶P·ëÒô8O4¥ ò-è?ËTaÈóXøR˜N·öô¨8.k˜g•š´m**¯’ÈL² ÒÀGmAp\0ÔsMDì\,tŸq-ãìöÑQ^9|Ó°÷uE[ñ¼ÈT°;ˆ½QƒéåŒnw[Ø{¾DeÎä:(ñ ‹Ë…€Ü‹^ý¾ê\
+Y&gpP®¶·a¦‹˜ÖAÐêÄue\\ØSu0±×úýÔñÏûj*ˆÜÌÍuŒëÒõ™¿\,²!%…î-¡ª*fƒaTTqr-Ò ±ÅÃXLJCÛoîª6dF¯á²–uÔP@fÀ9µ»h2\\Ås¸0kwÖ¢2\\¨É }M>£ ¼më¯CÚ+#•äq<¶Ý®Ûõ¿õÞ»ó23[“ŒyT@a{é¡·Ù^i[ÅÎ㈚ÏЩ×Q+!qòPˆ\,[¸iVxGÈñÃ"c‚·×Å¥¿Mw•—3ÈàË ¶#¦•¹YWº0ñý+JÝü9¿™úDcŒª“2*•$¦¸{wå0³|$ÞÕätj”í«rjV¿:?X3tµtœ_Ë:•†VU ÌêÕá5<aFþ2<=€v×+\,i'ƻǂ?maXJ³3ÿ\0éï¦+`üÄ̱í÷Û¥TXIŠ`ÌiéZEÃgó\\G±aèX¶”úÓRðñ±žD9êH5<ܬyb’$caÖÇØÖ«¨á¹î6ly/"Ü{ z½uŠÕ†øùY‚ô=k¥¬²æ2&IM˜„:t4‘>Ú®–v”ÝúÖ•¬ j*Ï…È+'”zÍ’¡[€k*Ó \\Xê(de`JhÉq²+îAáµêÊ–+ãÅy¾{{kZ<›\
+X•d Ùª \\~†U%l§¾¥ªì!ƒÉ@kjâÓ[¡Œ4Ö‚ I4Áº¡­ÄEÈÅ›~Åþ‚ª6Ⱦ`·U\
+ÊCd\0õ¦f©a ¨Ò⊋!‰¬zvÕ°K’V]uŒU|Ž§CÒÕU¶9M:ÖFJ÷N†ƒS¨½•{¶Æ÷Pi+{먠ÜzÜõ¨<UÛ¡í ñÔ žÊr&Öºô­#'az6¤Uˆ¾Oge‰æ‹~±V »ªÉ(ÛcPnIÁÒô!“KöTVãq§J‚³/Äw­j"}þ!ñ\
+¨ÊXÊÿ\0>½¢€Ì²¥û;}†‚+-K¶ZÎ*<±W;Hí\\¬i ŠÂ±¨\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ÉVõD˜a½t‘š±ÇǯG<±jÊ­^‰Yq¼se¸Q¢öšÚ;Ž;ŒXÔŒ~– µxB.æÔö\
+A|’ŽQ‡Å öV°MXA±=‚à <n¶þªÍI2ª’üM0A”6N×}{‡Û[øDÌ\\Iv Ê£ ½ìoâ5›U'É’EE·|ßÝPe·ø¬.×ÐRÓQÀ4EÔŽ§¼öÖU”Ž°ø\\ƒqz™9c1IÔß·þdE6nKJ|¹ÚKÜ×I1rËO—+„„ÜOþµ¹.">g@3⻇xÖ¬ë>Y­ü&;xF¦æÖöÛæ§TÙƒÈmªÛ¤>#¸^úöTžUeÇÎñDde³V\,Xõs<Ý¨× ëqÛíýª˜«¨2ÙG8‚ötÀÖ\,]e@$)Þª.OCöTÜ"ã¿.† ·¡=+[¢n 6Ð ÑNš“Y¨´ÄtÛâ·i¬X©­*U¯ßzÇÕ¦[‚› të\\Õ?ø†Ä h#KŒ2VÑŽ€Z‚N<'eÚÀëUG$Î ©c°Te)q?8¾X]-â$ØZŠÔœŽ> dó‡–Bt÷|Íû4MSäú®l«€¾V=¬sø­ñW_â¿—;Ú›9¥ÏÇ&o(7Rv‹ÿ\0šµ>‘›:¨</&lá¡;hY»í«ìúæÄâ]}€HÔy勨ìöØWŸåßkéøöx€B;z4Â^&4[ô'¶¦»ñð•¥'¦— ÛÇæ ýS éA78¤1…—£ií¢ªr]V+ Ü:éQ`’ðW\
+¶ëAS<2y—ÔÈ/cÙ­¼—q³à³jì·î¢$åç&:ª1RƒBOgüh2h?3ŒTx‹îí¿ÓEB<+K ¢±(C•aÖÇvßeCÌqrÍ.ÂŽ®wº–¿ AcüIJã´'b¨sáºÓóPnÁá™ÖI§R70;sÙp×ÿ\0–¢®Ú HVÐÞÂúU1 ¡‰-¿@-c¯V¨­ƒ¨yYÉ]E‰ÕA/ˆ®ö]z‚zÕZxñ’BÐEÊÈ2ÆDF׸ÑU3œ’ÊæCp\,@ÿ\0mDQrþœ\\†Y\\-:›_ïn¥E9ôj&Bœ<€àkrm­LóqÙQÃæHÕ…´Ôe@Ëôçþ6ì¤5ïsn½+§=ÙðÅæU@Âãã ¥T¢6‚ {Nµ«Þüù©¼W\
+2îñ)Hz±µíìê©}–®/Þ|‹fX`þ»{¼Ò:·Íå×6•8yò<O•‰(¹ÖNëX(Qú•ië}2Æ<¬‡F“;"8Ií/r\0û‰ÿ\05sVþ+†NM¶bM<íõ*mP?iEMOGò19E±U:³ÄÕÁž7ò÷Wó³¤Ü÷¿–ºïª-¿!Æ!G ³[õö\
+\
+yYr¤Í` ­a{öþÍ9|£&Ù÷±ØmaО꾤ä"š]¤m6ê4ëÙj”s¾?5aU»_©6ëAßp<+„dËÅ3PH½Ëd;çÌpñ£Uër­½Œ½õ6áfǛ˟r­·þ«ƒYcŸó Tõ4Õu¥±y+eÅà–1ÐwÕiÍ BÆÞ OˆÚæà|Fª9œ¹]Îço ’÷×éëðÖU&³Æ\0¯ Ü7h>ÏÅAe‰Ët•ü5ƒÐ~†µ¨°çÿ\0$s@AÛ«\0u#ÝA/$ùgòæì|[o®µG‘’»¤¸fë}ÙA1`òàò®À_Kõ" ®I%òžÂÝ}™N½•FªÚ;è)9Ei»INú‚&3¼\0Ñ´PNŠU{³€Oº®‰>z:lS¥]ùðÇ9(¨íךÍ{†Í\0¶kh~ÊáÔÊÔLŒÆZã­H6>)(Ε¡®h¤‘6¶¶7´V§IŠž ‘ \,c›R\
+ô'ð×YÛ69 ¾xnÜô&»ÊʦhLfÎt¡¸Ì¦"AkÑöÖlѤòìE‚\\Ž¤t®WÓì?"ó íµoŸ\\ä½1I¢Œ–±cm®˜qÎA;‰û*â$/-\,v ðŽÎúÍåuo‡êDŽ0ºn:=>εÆúš×AÇÊ$"a†Ú•Ç®q©Vðc„Bëñú¡¼ûËoÕGAÛAÍóW™âˆm’ n{1/*üLy°D­ëmºvW_¼ëå1åg)±\0–êEµ«ô•5fÜä™XåòÑt6 ÔißôÔúçÁ®w 7M¤èEuç­ð͈FFÀÜ¢º3õG¶íì¨$á‚%V­f´è ..:öÖ·¶Ò¥MŠÑµû4O(\,Ý¢²®s\0Œ|Ó h•Òü0¼žµÅaS#ÀEQ}OZÆ´Û1Ø¢ÿ\05vfI í]ÖÒµ ÑŽDª»…ŠÒr†âThGm""§ôÕDEƒ«n;êéŒC±6«ÝÖƒv<Ëm¤ô©bÄl’¯wS¥EF\\€§ÛWñ5¬©=+8¬šålu•[5õíª6<'nãPkŠCr´•Ý­‚íPj™/¥]lF«ZG«2†ÍÝANÐÝEQ¦¨\
+ ±E»E¤}¾ê‚RO·ÝQ[X‰õ]>9ŒïNÊØÛ0qýt¥Émãá=E©VÝ5SÐÕºÖl2Þ³UX«Š‰$v®V4ÐEa^T\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÓü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+Aèª$Ã뤌Վ6=z9å›VPÃjï#Ÿ‡†Ó¶Õé]dGoÁðþR‚F§ þúZ:%ÇÛnÒ+ C1¹éTWyAæßØkh bK/gS)•f6½dBPe‘#è ]¾ß—õÖ‘³!”¢î*lgôQuü5Ž×®V´±*kÖÕãǹ ú‘Ùí ‘:bÆ.-ÜRjɨª‡vÆÊÈ$¶¤zw^·þO!ËFËdp¬Ãq·R+s–uC‡—»v^@Ü¿\
+)¹þZºÙøMoãxC›/æfP£vˆ£üÕ/Yá$u‡‹òQ—u–Ý+ŽµŠü>J• (w-ÛN„—­XE.BM“Ÿ™¯æÖ€ijé<FjûÔ ÁxÉ£¿ÅnÁ\\øóW¤)Y6» 3ibJè!Æg:çu¾Á\\µ¤ù³Ý#1À¾#¡?×YÅÔ¬ycž¸Ûn„wVj¶CVM»Eè$36Û#nÃQZ'ÊXÔ«èö©Ÿ£^âd¶T ÀX“ÙYëŒfu­¹Ù©¶Cyv×;1½iã&o0­öÇanóQU^¤NG.L/hË‹í®“©ùJ…/\,Øê²Í —äý•'7¯ˆÍ¸‹üÄ·—‹âA\0oÚm>*é=ó៺/Îä¼¹»H~}O¶»^§®dcë¿+þ7Ò쓬‘ ѹµÅaþZówì½:sÆ;\,˜1±Dª¨øMrtjC TG³§fžêDlƒŸ˜íÛ]:ôöšº}MIƒÔò+l†“ôÖlÃ[då›%5„¦þ/úþ¸ÜÓ“›$Ÿ˜ àF Ûÿ\0ʇõÖF~‰ç–9¥Šw ´‚5¸×âñSHúÆ ‹{¨°×ì­kOŸúîS\\_•7îQ ±öÖj*eåçÈIÁm6‚M[öSD\,/Rçde†’å­`Ð~*#¡Ç]ò€ÏuÄÝ5:ø~j ÙÜLÙJ;FIÓ¶ßñ·ù¨¨¹ÃE‰år¿2ƒmO»ZÛþý.9#Bü¤ës§oËý>š È Ÿ)!¬À•µ —ˆcP¶„½¤\
+")* ÜÚÀUV9bvÝ`l-ÿ\0­DoL\0ýE‡mÅ-1‘ÑÐPWæÎÖ(6ÞzþíVTóeh6ës}-QYDE„{¦ýÔÖo>ëÑP¯SìÚ¾Úš9Yæn>bQ•Ü‹oïîwn¡œDÒcÇæäÄýgAR"N/­ã´^k §Ãí=jøT/Q²ºÇó('[]N#ÓY|¸3…òÕ­idÒúÚ í±}7Å`*Â#•äPCm'ÅïE§ÿ\0Oa:/h^Æýw Céî;¼ÉaFv7mKûÚUæzw…b£¹»m·R{v A2 UQ<´è¨ÐµEQ$pê>v¼týtàñ«º5ñß´õýTVy^•ÄÊ%¥MXXØ‘§u>_òþF\\$IèXj"·;ÑK†U¡Y%ÖÁNƒ¸ëP|³œ‰)IÁV¥ošò/¸ºZ÷í©héý;Íå$vŠIö]Um…ÇáòŒ™ÜI¡Þä}G­UOõ'¦e—EÇž×ÓOðô¥&†&2´1 Ô÷W5YÎ 5ˆemMì ù~ÊÐÑ…¹\04ühÍʼnÝû?³SFü±ç†HCÊCºZþÆÖ¨Ë'dÝ÷jƒ©ú[m¼\0òBaÕGMÇK{=ô&<SrØ£B"=rmìöÕûâåaæˆ2c[\\<}4ú…ïW>?Q´2(–eq} iþj’Ž¶ çCç(¸&êkBºL}’’ÿ\0eÇöÔâÈ*@-¥ú r‡;:omV\\$xQ¬OPoAœ\\dn-*\0ôÙøçIRî=h(29ÅQÝjO"º\\Ñ8óÖ=uë^ÌÇ=lÁÊpÂÑÛá>ÿ\0myý¼þZæºÁ—Ì(ì×Û\\[nüæô]M]0ÔjþL¤ÚzVç;5kŸóktkƒú)ð!åqpûGB:Š¿È}\\‡)ÁV–0T©:A¿Ëø«ÑdzX³Üøæ%óP€ ¶ÞÚìÊ1F6û[­µµ6R(›ÂÌU½½+«><®#•³ë]%eˆÐÕ|g._´°ÖmÅtxž”ÅŒ$±·®w¥ÄÜùÛ ±ÁÞ4Ûì¬fü®ª[Ö²£4l£»úZ¥õ~šû4ËÍÎ\0›n‚ݺW9Æ®°çæ¼@ÃÙzÏ^» R¢³/š[QÝ\\ÚX¶Rec˜3”4d]\\\0H5©lG?É`œH<œy±écq]ùömòÍŽhâJÆÁI5èÜe¥”„Ue’ ‹ÕÓ ºÑ‰6plA¨±Óc°dÞu \\ÕeÒ²­¹izŠ×½ÄUG5Ìa¼Y&tÂÆþÓ[•—[Æ`ù‘ ¤íézåkq9qÁÕk\
+‡Èc–CmH­DFÇËUǶ®ˆN†6'¶ƒR«N÷&× ’6Ú3öÕ‰C³Ë!J" ƒb’tªªÐÄ{+HÖ×(G›daཫ-4ÅîÚE¨&¥™Â¿QÐÖFøÀ¹Ün:TW¦0 ­î¨1{6‡­6![ÛTHK:ÖGŠ¢ÖE"×ÖƒLÑm7´\\´L$^ÊÐö{Ê7§CV"($iT\0 È]MňÜ8¨\0²hzPMÅk‹•(ötìýW¸16å­‰±8•{ë";§•íŒõöUåŒÆoÔ£M.:ÅÙoRÅE–:åb¢H–®V4ÒEa^P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ PÿÔü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÐ/A¾(¯]$EŽ6=z9å‹VpCjôHÅNÆÆ2¶ÑÓ¾ºÈŽßÓÜZªQק÷ÒŽš\,m†Ë׶°&¬v]Æ¢©òس×HR-1ÖCúª¢Êà ~féYùTyò7Ýäo¸vÖ¤DÜ<6Ee&=MKDŒN6L—(FØ÷ {íì©n:&‰qÐ?I®_-4ÃüVòÇË«{>Ú£vD©Ž<ÆÖÝ'‘ÏæòÉ•¼Øwûv¦ºHš¢ÌçbÈ—\
+ƒsÞk¤ç×?‰ÃI’Í‘vGÖÇ­»u½c-ÙI$qÄ£la®½ööTƒ¤Ã˜±DB˜Ç]õv×+[ahîÅ͉'ôÖHÁØþT[yñ7²·¤ˆøq±Ïy] UÑ{¼?ÙKð«žC\\þãO°Vy©ÔDh6Ôoì­H·‰÷‹®ˆ¶¿¶¹6ÆOàî7Ü[ öUE4y3$–” _Ù]1t™…Ô^ýýk•ÅÞ>¾Ý\\ëJnU|ùŠG«XX{kräòÍcéH^4šK ‹šãß³ìsÎ4ú¦<Æ"\,KíÒåEÏÚkœ^µ;Óó\,Ò9œYÔÔ:Ú¦µ<Ú~c ·HÀÝs§OªµÏÉ_'å]¤E‘_i·¿­}ã‹ŸMà+©ü•˜© “Öç¶ÕÇÙÞ|·#¬ÀôØŽEÉËqì] 5å¾ZÇI‡>&/ƒwH;mSêÖ äqÓr9?˜Ê!Kõ°î_éøj؈ùsq‹ŠŠªh¹$t/÷jÈ4Œ\\™Éüû†\0è¨6ïjÞç Í\,¾oðJìS´ ÔÚý{êuðšéæ–)16·ŠB·T[Þý—5Áµ@ôæI„ Ç2!¹hÈïýmûU0Ç)ÊàEÇ(\\Ržvë µ^¿æ¨WeèÀ&Çsï\\_¡ýbÅ×/ÀÕŽaÛ×£·ª®?ŒüšªíÜÊlm¯ñ}µ”ªÅâ$F\\`I±µ_â¢/°r¥ÌQ M¤Ú®§²'Ë›ùHÉ;¼"ú¸“AÍãp|‡+0.|ˆ‹–\,ãRâ¨Ë³ãø¼<Eb»f“½nIü_vª¬7l\
+VÃw̺ŠÚ¸0©óì|΀“ßôŠ 9`\0ŠÖ'ÅsÐ}”q ‘µ¸¹öPNbÿ\0¸ß¦¨3)¶Ë\\Ôü·sF[ý€mAn’&Ž'³±¿‡J*2ñSÅSbàø¯sþ*\
+\\ŸM®S™æEvÜ. ØÍl*#N|Œ˜eÀÊÅ€½É×UКƒ›‹~O/ÊÅIñ£ðØVQÚâqñj<œ`Ån6$ý•¥Aä¥L¥Œ˜‘ ¸¾£¹jíáçsr_ò‘F_Ë 0ÊÍ»áøh:9Ø<Á#„^ö[ôÚôK…'œ6³0ö- öÕW¹qÈ3¾„jMìb}ª6µº{(\,\
+ rT¢–? ¨8n7Øžó­00Q©½¨*9?Qãa©ß"©.h9&õŸçdÙ@›¡Óåö¨>mëLØù³*2ô±±¾·ûÕ.²í-ŽÃ£h{k__šºôö\\0äíe=GQßá¬ùˆÍ‘É<’ƒ°deXí öæžd¨Ñ¬~>ÃÙöÔû*’\,f»»ÿ\0RºkòÖUh?;0ÅC$–x=ÿ\0eoÿ\0Ðy>Råg[Ùz_Âjâ%EÆÍŠÈM•ÂØ1ÐÜw5¸YOühA}‚ûCk§ÒßOݪ*Ç)ùÏá¹1v0m\,~ª×˜‰8Í> ¤ $¬våe[m¹\\O÷rã‘] •µÀ?W‹ªÖ0Qfñó½äŠA)OuÅ¿º‚ÇõO* b2"Œnâ=õ¹‰åÛM:L Š¢´åÊت²\,F¦ÔÁ„Yr T*nMïj ¢óÌëÜh$\\¦šA"/4köZºb>yÎúyÖb“9Ž2|$ ?j»q$b´ãz?iÜeg^à÷×KÚH»ÿ\0mXDR6Îã¥ÿ\0®¼—ztøLâ9(äs×VMAÖö©×4—]ˆäMÃÅ~úç<´äyN2w‘žì³Øk×ÎHçPñy‰8ÉDR )ê/§ìÖ¯:Žƒ5eþ<Oà “ýÕÆðÖµfI‡˜€ÊLbÚöëŠßUjLøKåóîi!†vXHx}—öëÛ^žXUO`“ÌÇÐ7Qaj—‰×Êˈù¹}›hí§¿©zÖì9£ÇŒ°”öØ~ÝŒµæLÎÚ¶áÞ@«!®ƒ‚’A\
+ª ª¾Ñ\\ºXº’BI{(í®{Ÿ-¹~_””d»'†Ú{ë¯9c5JÖf\,ÚÞ¶lÝ/aYÅÔ­»P:Bj@¨¨¹9Æo„mQ¥…\\Ç4ÒªM€©ƒ[™cbÛNµrTc™Ù@…úÚX-ò¸ïÍ þÅ í¾¹s±ªÑ µúo]5–¼–RF¤ë¨¨Œèï·}TKã3–ò¥>ÓÙRÁÕbT~ÚåZK1îSnµ•C¹RAª'`ñƒ$( jZbÃ%‚ £AXŠÃC Ô¡\,`Omn\\¾UíÐÖ¢!Œ=çq6S­4k@‘‘·RzUò¡N‡ÙÖ`¸¬Và;êê4ÉǬ£i&šb\,¼g—}5Qäcu»mTe‰*÷}•(“hÛ]šÖUñœ][]*£v\,¸\\õ5(Ë)íÙ¥EEš+àØÕr e]ÍÐôªaÈ$[¡ÕLÇZʲë­AŽá $QTG¼—\0Ÿ ªŒs"¶µ`Æ8‹x‡gZ ? A­/סª%¨ÐÒƒtH\\ŠÚúõ¢4dD-¸t«5s\\t­ ÊÂA¸jQYd‡`ÚÚÆzê¢-ŒM±úRÍËßqéX]/RÅDš*çb¢H–®V4Ök\
+ò@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÕü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ PmŠ;ÖäEŽ4èç–-ZA «ÑÌb§A…Zí":žƒüʼnøôýu«q®&(ˆmQcÓNÊä«`@¾ÚŠÎUÚšÕ2ÛySÔÖÑá²á TGä2˜´8ã]ä/üÕ©Õü\\xóŽD¢ÉÙ}ýõÏEŽ\,.ìYEµïÿ\0…fªÒ""5ì¬+Å—Ï"#só| R äÆ<MrNµ©äiË_/Í9¶;¯òÕˆàóq²yVØ÷Uµ€:^ú“^‰dcåaÉðÑñ8‰ŠM‡Y¿ÙY篵վ0å9ù|UþRÌ:žÞ¿ª·f|²™Çð¥åòcmí{±]m÷=Ÿ½Y½ìñ¸˜ñUcT†º p½kr s„|iä5Ôé þÁW™¥ð¢Ãå²3 äµ£ˆê uÛ÷«¥ç VX.¸‘䙉:ûMë4hæ²$Æ‘W=€S’«™å̈Iðî þÜ+§Ãw( „\0›C\\ó[Ö‘ x̲üi¨²Á¢ÒIbÈ\,£­¾ñ¬ÝTìxZi€¾½kâ¶feI\0*t¸®_y-•êDĘîF‘¥½õ‹wÊO|o1“m݇åßRŸé¾šÖìð:ŒOYq¸GËÉk¾ÝæäîÒ¤õõ N£”çÿ\0›I#ø¸{È~/²½<^ßû1{Pdrü;ÂÓ;E‰^ËýîÏÞ®ÿ\0^xg寋ˆf=ær±¡±×©µG[‚¬ît¾›:Ÿmq³öÖ»LÍ´¹d‚½7:× sá¹'‡qøí{‘ýµœµ\\¬^¶“7!ñUBÈ:3vŸÃô×_¦3¨¹|×%‘©6c¥ÿ\0j×5g0a“Ëg¨³J+pv_º¬æ“ÇÊ“"È^ÒŽ£¼Ûêá§SðÆ%ð3Èìß“Ü’ ³o½í}ÄÚ¼žÎr·Í}6)¿ƒ#5@XtÕ#éœlùFGFè.4 ”ü`Ç]ñ §´/EKÅRÉ­Éëz\
+NkT´»nM®Gº”qxØù\
+Ñ)H”ˆëõm©k3åÐáá~Y†Õt·ü*4š$O5•ƒ/eËí;ƒR—ì‹æ€~7:·²ÔE¼|po\
+Æ!ro¼k§²ŠË" BÌÅÚݦôש¹ÉðÒضó¶Û^¿Ú*##ÔÓɵrâÝ í[ýîÐXÉê)eþ(»ºšº3À»2dÞç §² ‘M¥bÊ4ûh­¸|ÊO/“ÎÕÔEÍû»($LÞ0PéÚh¨y2!U´7?eœI¤X˜_³Z"ƒ\,O3:EŒ’¥þ6×wݨW•Ëâ_jÄaÑB¯¸~SEPç†VEù|¿ (kiò«ïUÕYæúŸ5\
+ì‡r¿†5h{vü­EYq>Ÿ–W’F•Éf°¿_…jŽ’6ƒTöÐe.B@¤^ìôëU’å˜äfø@z÷eA–?%£‚hì?mKêI1¶BÊÏ3–\
+ ‡O™©¢Ö\\ŽCUœÇ1±f]@ïU¢¹ßQz+9£3ae9p.U·àµóù9LÀ ò$µŽã­½¾ÊƒŸ‡ÈϛȶüLÆý øµ¦˜ûü¯ÀÆ@ÒÝî¢ú›;[»îÖ…¦W ¸IT+âÆ6ô6Ö¦*³–þYpRã´i…FSb ¦Ÿñ¾“ÅÂåÆ/"„*Jâû²káfù¾oá—1ü½I"òñ@Ûn­¯è©ŠâÏ?+\,á×±mMþ[iùš²­“J3DpÁ¬hÔ’Äþ¶fùª\
+\\u›„›ó-|ZÏhÿ\0šƒèü<sp×)#ö0îÖÆ·¢¿’æ±ð&7é´[·ÝDs)ëeâe8Â=éûz÷Òøsæ%Ï 1d>QcöÚš#z{…Óòylª.YÓ^ï«ý5wô-30¥ÄC™„‘­‡ñ{˜~×ÃPIôüØ™›ŒZJàMÍÇâÒ@äq×Ê+×í#_ÓQS°¹l9¶ŒÊWæ_íª‹¨9Ll¥*Œ@ÒâÄÐ8û*QTf271!jê$Çš0EÈï­L£È_ÎÐÜèËd‘ª’{¯PVæâǽmhŠÔ£ÆÂKÝÂzé§è½4iPãÚm–c­µ©|ø¦t2ánz_©¬Î1u¶@ŠlºêÒ+s8äÎq€+}]ÕŸäÅÍh›^=–8œ€ÚwŠsìûRÌoÄ+ hd­tG!ÏñGV ª“u®ÜÝf©³p q‰ÚŽÊÔ¨« w\
+5¹µªõrjE¬|\,bÎÄÚ×÷׆ûë·Ò5IÄÅ{«=µž§Ò/øü5\\-žÌzoKí§Õ!’ÈŒw·SsÙî®]u­HÔØ1H›œÝmÝIsàÄI¸‘w!P4¸ë]ùöçË7•+ã<BöÓ¥ëÑÏr¹ØÒÆÚ߯ZÚ5¢ Zúö\
+bë8f0«55\,]c ­©c­AÐa"à\0Vh”âýj9†ª!yÖé~µ¡ï„Žÿ\0mA¯$¬c°_¶¨³à9xü¢‡¶±Ô#¡¯\\Õ¾5§¢öšš«I\0¦€VUY4fRô½Q$2GÓJƒ[HûºUØ H[x{h#æ\0±°•b!aÄ[ÄÝ•hŸ\
++µ¶;mY£)c\0ý;ª*®yáA´_¥kƒY–æö Õ&:J›Xh G…´’€éWG¢¸±þÚƒrÀ£P.ÇBj+ÑV'º‚·#y–ÖºwU:\0õTÓnuµúVÑ&hŠÄ Њ ˆT£j45‹.Ó¸t4Ü\,jYÜUˆŠÛˆ\
+{+Bl¬»†„èEf«tp•í½4juu"ÞÚ£ •tÖÔÁw!¨ìj(¯ [¯CDG– 4ì­ 0Èbm½”Då!…º©¨¨ÒûÀz„ÿ\0eX#ÆzÆõ:Ÿ‘®Hʛʴȗ©`‡\,UÊÆ‘]m\\¬V•y@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ÿÖü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+h6F—­H‰øÐW~yfÕ¦<¯O<±j|QB¨¹5ÚFWüÃjvéû¢ºOîø¼!\,KñvšåUy:nêÊ·ÃA«1Eìz\
+ÔE/Ug¶¤›UlGÈÝ+êH­D¨1<„Fbu«†]Î;F8`ê~mM«ÏZžqýítë4Åhž)Hí`zÚ¨—0€x| [ôÖhÚÓDŽe»¿KiaSEê®G̈ÀËeRG„݉îüUÓˆ•Ѽ#À§Ê%ä7·¾Ñ}mí«ß_„‘³ÔxÉŸ($ vv}êqpªl^>\\¢"Ço'_¡6þŸt·Çe†‹ÄP|Oý{~¦®ÏËm‡‘hå8Ê»ÌÇ[m3òkŠçy&Ë.%ó\
+‚6Ÿ„{k¿<øsµ„ž\\™N±:õ>Å­uàŽ‘ãH[éÓûë†ëh¼‚~hy@d:é­¾•÷֥ĩ\\74£Ép#¶F¤w“\\ú÷~–rè!ô®ÆŽà Åû+Ù«‰‰ÁD< K±ì‹ìý.%bð°F¡LaTëßí¬}­\\hÍå18òBze©ð¨åýCÆÀá2ÉÜ;» 覵=V–ÇÍù~j\\¬Ï3ŽVŽµ®zÛµÓ^Ï_¢s<¹^¿J옲'\
+ ³É©&ç¡ÿ\0Mt½sÇ–P[ˆ˜H«&¥ÅôÔÚ¹îfl\\NOKåF¦r‡Ëp¸:€Ã\\ï»íáqÐczƒ.9qbEl‡B ù»êÏOkXzwÒ¥>lXî+}kú~õwë¿Ó3— ÐãÄ\0×qìî¯7ÏËl²9q4lCmŽÖ¿BO`JŸUFå9l\,\,?2Pï·¿V4’Ú®B>swß1v$³õ=4A´‹~ÍvúÖueÊcæÄ‹mÓP¾êÎb¬±g†EêÒ5µÇè¬Ñ™I±m“Œ a{måû½kSÏÊX¤‡ÔyoòÃ/–ÆÞ¹ìñ|U«ÌE¯§}MŸ‡+^ï¼3X­µ®}z¥7Fá}W˲$¤ÞýW—®qÒu®±QqsövVb¨K¨\0 ý( ó¦ |f’spƒ¯èZ”|øòÏ’?‡±[h­Ýµ|*~ªÊ'\\Ž@ˆüÍ€Ÿ\,Zÿ\0i ¹ÅüŸñåíª2‹92¥Þ4µ…è-Þ <½ämMõµÈçsϔό ‹t3{~è©QQ6‡\,ò(¹—ûß1¨.à³P;„F±¸ ¡îñÒ¢`zRo;|£noqû?-Aw1\,ÄcÓN”à–\0n*m­“Ñ!ÔÜ›PC<Ð!ͬ£æÓ¯ºš¬`“ó7”Nƒf›H±'© ñs4eÇþ+-Ë4Ï–ôF82Ì"ó$k£pÚA¦y—!·%€Ô3{}ôEspžq *©·ÂÖŠÙ‰>> ¤9¸QrOÛCR õ6T" ¡êÂÀû¯TYäòi䓽¤>Ö¢¹\,ßæ.Ž¸àä=‚¨ûjhéøLfäÂÍ‘ŽË®|Φã¦ßeT[æ[ŠìH\
+–°Ö‚\,žœÂ‚qŸ˜U\0П÷ûÔ6LS§™+GÒàé¥Èzçù…\0RK+õÔh=´;Lÿ\0þ¤žLáqð‹ØM¿-eMÉãðÌ™`H\\°vØõcÙøvÖ§6ü&°ÿ\0÷·Ë£“ æ8í`¥t\0tì­F³‹Ö§"›ß-Ø¡¹³[CþçeŸ+¯[Õ<ÌsG³:Ãy¸ß?ü´Ÿå[óry ¶&Iwõ\,îz³Z–èí0¿˜™D‹:ùŽEíÐo年k™Ÿ7šoÏLDQ‹X}{4©U åd˜¾Ä2µÊ›sû6mÕ ó6i²¿+œ×Ùq¸ö¾.Ú‡ŽçWtÜBÌB–[x½ŸUëCæ#çÇ$˜ó‚bÒ~ñìSß^¾9’9×Dø°sØÍ$kÏ ;µÝÞ¿Ý^n›Žf|¹ø>rnA`·ÓžoT·™‹#V\
+uÓþ k?Ã6 ´ò¢—iµŒ{´#¸öUÁ’˜×‡2…5 kŸÕP[®f6de%Ì]J°"þÝÕd Êœ|p<´fê<Z}ß»SEf75*ÌÎ/{xo~”קràøí{t«<Ï)€Ûg…kÛ§_뮓‹×Ân4bóP?‚0B¦·=xÏÙi"€.{«X[’É /Þ 1[CãÊž ßPC7ɘDÍ£ic§è«ƒfwXÿ\0†·Vëo½íZ°QbÍ%äÚJ ³ >Õj݈›¶_ûð4&Ö`z¦°©I tó$Ó¯é®qu©QdË‹<xRÅNàûEt㟪[¯QVaâ[£{ëh®ÍˆLLNA Ü_¶´‡/Ǥ؎Hþ_my8¹Ó¥ø|ÿ\0+•VE>!×û+é8-pVY#…{}|ïg¯ë]§ZÜf\\E:è:Û­rÖždʇo–MÇxµ­Z#I™(¿‰»ÇZ‚c/åï}võÞ꣹ Ѥ½Xõ7ÔýŸMQðb”Zv À5­s×Õ\,ÔøX˜^)Ì-]ÿ\0™ª¼^ÕºÍúªÏqyDÌAØv‹ÚºúúûFlǸ8“ U{k]\\"þ\,I1[Ëj+ê·³iU²$Û¨4ÁãÆ'Q"‘»º¸sßÖåk5\
+fdº z%ÖQƒ›¹û+Höc!Ðí·gZƒ¼ô✠¬êvÛRk^Ž›r¯ðÖ¹ªS‡¦ƒ ›v\
+\
+ÙÝ™¯ÜkC|Qï[šƒÂ–SßAq €ïèh".)ŽCsa쫨—爗hÔž¦¢´´{Üè{¨Š¼Î5qÆý·¶µ©D$ç"b#k¨«õ59™$]ÊzVF8¹\
+÷S­LV¼˜P>àtöwÐx¦ú/ì ËËê;êsGfÖ¨‹4Á°¢†Ù"ÜvuiPÉ­»jA @\,ÀëZ¢p\0øÇCXV{.\,zT¨ÚlhBÓ¶ƒGåvžúº6¦(pèjhÍEÅ›B( ƒ[öÐb1÷­…4kSå¤j*ƒjmßTÜ=¢ˆÖOaª"ʇíì­#n$Û®¦¥Vö]ãku AxËÿ\02õ«´a(ÚÝ{ bÌV—B Z %ë6rÇ\\¬i–ÕÊƘT\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ Pÿ×ü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ Ñ/ZMÇ‚õÛžXµkzyå‹VÇjï#.‹Œã\
+%˜xÛ¢öÿ\0F­Äv\\´¥#ú‡wº³ÕWE¡Ü+š·¹òÀ¿Äh%B¶õ¨+³œ†»è·Ö·@U[¸Zú´0XÑ÷# ”[Žý*¥WMŒ²°eýZ鬷ÁƒŸ›"ÄITR/m«6È®ª(F‡Å%®I®?-1€2òx™¾ÝjѾt±H\0QÑGi¬«˜õ/%rÈÍk¿ºŸ‰«·ŠƒÃC\,à>ög•Š\0{´ÜÞÄù~*½Ú¤‚ Ñè"‰GNÓ\\sÙ>^\\H|ÀevréðŠéð‹éñt]Ö]7ÛoËXû®\,_XÞñµ *‹ [¾±:—+<äÄ“·]dzì­ñ»¬±ÒøQ㉘{ê/ÚmÒº}î®"žtqmäac¨pà™ µí6†—×öù¦ãµÇç1²b_\0ÜÃBGS^ã±­VKœ<‚%]±¦¯Ø þÚ¿O «?ž–Yš‰\0‚ €¿Õí©×Sò¹y2Bmש5's22n¦î—5>†¡rœœ»&6‚ÚØý•¾x-rœŽÙ™­\,˵4+s~žÏ–»ËáŠÕ/’ÜíÜAݯyí«ö978L¾\0a ­‡SÙ[çË5SÄd¦;6T­£hû‡eú)¯?º^®r¾³ã0Hš(¹?j@üóW}V¾ÌsýAÉz`ZÍ÷>€²ß»ý^¯G©ÅÚ–Ú•ƒÂAÅDS/”GýÂ.Gáê­Þ·ås8E‘bÚI=å‰\,MîÍÛþZ ¸¹2y‹ ©µÁÖ³V%dÊ@Š(F€GK‘ýõ•Yòü?½aVw^Ž.ìéX•k€æ\
+ú}ì°¨/k›\\)ù½ß»^ŽÙ‹áÚ àîHA¶â8Ø›Øx›s•ÿ\0 _ï¦W?ŽœLªÿ\0—n¡µ½»mS¼«¦vlr²Hv«›…õÿ\0Q®24áùiœNÌ[l›¬nì{m]ã5ÓñØRò0ù‹'’¬6ïÕ‰»\\­ÅÇkèî&~e ±777¾¾ì®Ë:Y1ÜCòØÞƸXÚjnêÄÔ÷ªvÍ .튋zòžÚÍgÇ–UÇÜñ¦À\0>•¬ÄtyP<”‰¬[^—?¢´Ò´yùòíd`Ø–]u½AØúw11—@®ÃZ£W©yeÇÇhø¤n5Û}7P|ë gñ*V" L\00®:}欲´á±²GþCÚV6°aaEtqDÍÚ£¥UXC]6Xé¦OÛTh“XÉiH±è;¾Ú‚.RÇ…o}l(9^F|Æ7‚æ"@éÚk(ÓÀdæ´s1*‹ápÇÍÿ\0¶˜©Óa ×Îјø]^ê¢ç‰B‘œ‰cc#€¿ú~Z£vV•l»/ݯõÐAn1¤wmq~£ï{j"—‘õf4þãÝaq×ÝSMs¹™‰QG¼$é¯rß­M/Éœì¯#$l@ÓR£·mIÑ«Ø°×9<·”ü(…M‡ÿ\0Œÿ\0ÕÝ5Ûú{Ò\\0išÒÈB›‘Ú>šÖ+«YÉQa¡Ò¨ÊÔ¨6ôo­8Ùq`9™/æ„ÒÎl¶5sRø|Û+;\0>y2G `Pt7†Ë{ëŸÁ*~<“@2'ÿ\0¹æZÇ·¦¿z†¤Eë\\.£ÃS.AÔ‹þŸ/Å]¹õÚkŠÊÊÌä$iÜÚú½ŸÓÛ]o\\óá•¿¦}-—ÈËæ3ùQ¥®ì.?Erë¹~"È›7 !¹[¥€·½«»f5ˆñå.$×@H¾¤÷W%Ô¹r[2"b%oÒÄŠ|+>;“ü³íòcwP&ät·¾­¢vN~S¸˜ã½ÂÂ4©ª+Ã"Í„‰r€MÏâúªÍÉÆå4Ÿ˜GÜìw0éÖµ#5aš‘ÀEú´÷Ô8éb†F‹%’ Ñ…´ë§Óº·%‚Ããá¹ÊÀ(qì<&àÛé©Füˆ°y r%7²±¿è £Ëô؆ñˆ‰æ²+ ô«A(š#kw꺻&Ì©‹ˆöB¡e>b1×]¬=ÕÅW+….$›ðìâÞÇK}ßUd# @4 WÝpzx~µ¬q½;ùˆDÓ¦Éê@ žd|4~c“ºÚ^¯3Jâó9ìžYíe*­rÝÕïç‰uf›–59r¶îöÕQçº^íÔiYÁâòæ3¼>æéj¸jv\,Yp[û뤶›zÙωOZÊ´¦sÉE“rý‡ÙWËò¸ÏlˆYô:Šë­<7/Ÿ‹‰F…zm÷S©*Ê·à9‰2IX ì;þšÇSTÊDr„m‹ýõ1R†XŽT•u†M î=•0jÌÂÙ/™ºÃÛVTFä9wŠË(ÒÖÿ\0Ò§ÓMqk'—.Òá½wae›!‹/˜’o{wŠÌŠŽ'Y¬öÜ µÍ|þæ\\v•îc({(°éXVÌ(¤ÚeQá] éÖ´6ÌeÜ¢È =O÷ÕFK †ÆpH׺ƒt*îò°Ú(¨­c\,À°ëAHŠ¡nOe|Ž%§#x ŠëëïêÏS^âÄ1~£Zõß.i'-§ÈÞê’aºòGÓJ¢¿%íÖµæ`ÑG……y}¼Ùu¾jvV\,2 ¿_öõ®|÷Ÿ X¤Éã%„ÞÄŽñ^®}’±f.x/MÊî&ŸÃïí«zLt+ÍÈߗŒ;+]kV˜¹ 2’Æ׬Ø$ˆÕFOmeXŸ’~+PB0‚C£Qïª%Æ€-Ïnµ— žû ]ÆÓÖÖÓJ¢¯-<õØ ¯V"1ɘ¤S¡½PΞxšÑ¦åjÃæw6É»E/#Î_‰ƒ%Dˆ\,àÒ\\ðñÝ;C¡£Ü¨T\,kÛÖÖ ÑàîwµúRÑ°3£×66¨&YT\\¥¹ÛTD•6´PE’2þ•ºãTWNÏ(ÃpªŠÄ“a&Ö´'cäð·CY°MVÝY²ƒï¨¯/ßP{z+bÑPc*÷uQ¯i#Z ”ØXPkš0EûjˆÉ&»MhzZƈÆ@µQR7UòÂû—¡¤cH6öõ¢¼kÛzèGQTF™éðš£Ò¢ß0ýuË0Geª­ÇX°B–:åcH춮u¦5@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(?ÿÐü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(*Þ¬à†õטÍZãcקžXµcV¯DŒ:>ˆ ?78ð„Óÿ\0(­£®áx5ÿ\010ëÐmKGM bú|#²°Ò\\H§JƒZ.ùü]‚ª\,@\0k¥eT<û»&†ÉÓ]9JÏ©U~1jQ+Xò÷ vø‡en_ W8­\
+ òÁcíï÷×:±¸oa`\0[ܧëí¨6ÊÝ’X{ZQü„ór\,ˆºe>Ef_*27dFn€xmÔ÷müU©Î&¸ì?8ïéæ2µ…úb¯Îÿ\0ô×{á—[Âã~^#—7‰þEèÙþ*ãÕß =ÏiÓÅ|Ë߲䎔Ÿ´kã1"•O+\0íÞzÚ–®: ¼Æ‰€Q¯M+œŠÉ ó.ÍrZmƒ®FËûjèËcl[ꃶµÊW=ŸÇ ‰ÒW ‹VåÄ_Gj\
+iu¸·}si]ȧcšÞ"Â<·{–ÓAqúk‹xÌy (ÑG@+ $M¶5XÆ€T‚¯\,ÎçM/nëÖâT#š¹ ¨ê;êæ"V6@JêkRÕFäÆ0m/¡Ó©>ÊM¿ _=›†É–òH›~{/^™dg#â"ÂÚùï·vº¨þöj}´ÇUéìc'™ík¸°ýǪԋiÕ­3…&÷°ý¦°Òƒ*8w¼Òúö«VåE§‘U°hÈëÔþ~šÇK2Õšo1GýµðÜi§÷ŠAsÊf`°Fakõ‰¹Ÿ[ÇT/BÈ6Óꮼxf¾{ÅáD&1Hדa°ï®ö³Iôì3É.Z\,¾ ý‘º¼Ý7^™!ro"Øt?ñV'KŽg#Ò2æç~jr6{všé÷Șï8N-xèŠGkîÜW°·ZáÕÖ¢ãó 2F½Å€=+8#ŽXãʱ½‚Þ§\\þS]8vdº’tê+“j>S^K±lQÙ›¦}õ·\,hâB:(=N‚ŠÇ‘⬞dz7h4£TX‰ðí[X¥g%¸j®¬ÞfºÒÃßR¢\
+LŒ¹$l›\,CÄ\,:Ÿ —_Ãâ¢/ñ¢9ª¢DP‹¯KÑR'Ï\\hï°•é ½‡ɾD…Êl \,úš"År%U:XƒEi›’yTÄ‹t½¨Šœ¾ÍÖio'v¶mA·733"džÈ\
+âÿ\0¿EJÊÃä?à>Å>"H¿õUgx÷æ!(®<²KüÄ}ߪ ±ã¢—\0¨ÆnÖ*5=í­b#V]Û΢õUó/RzÇ+0ËËDMõ$V-g\\ƒ»çÌP1‡\,à/N¶ÿ\05A2HrYBqõ·OÙ ¡Ÿi&6R¬MíØ+*±ây‰°3 X\,XÏíѪë:ûÆ$‘ä{ß¡v×VÖ„¨ì¶”V®;1nÑܱ¹:‚® œ°Y±]†Ü¤n†‰\\g7éÔŸ3\,6‘¦ ‹tø>ŠVqñ\\¨r4BW` ^ÃöGº“­¬«qx¦¾é\0]7þú½÷úk‡é `ó¢\
+-Ô‰~4¶×ú¿ rW@2Æœ_$éº[Å®à:i¦ßÄõ©U|_¥ð&S‘!—$ÞdfécðÆ—½J eúL!¾v-¡¹׶ߊ¥‚ûd°øä—ì©ŠÛ-ƪçû¯O…O]±.é°Ó^½ÁG¾˜3“/5»YÜ‹Û±{©. +ÉFíϘ××RG²®¢85¤”\0‚÷ö°îÝí¦è’œle|Ì£ºVè;E]ªÝ&\,(¢ uÿ\0Ò²ÓE¯u[[^þêÖ£^<¯<nª5ÛŸøÔU6VNf ƒ{ù$ê t«>Dü˜óy$G“Ë6ÓpÀ™Çfæc!‚hÖXAЃr+PlåÎMŸ2¹«öêº/x‰¦Xvdr.?ãAKêH`’E%‰ªu¯Gª~XéÓ¸Jo*¬lnnkÑz¬âÖLXp”C¾šµÕBË‚%_9ôöÖ¢Uøå—Í_ !†ãk~oÃ[Ö]yÄ|l“–Ѓýb¸îÖ՘ܗ› ñ\
+Ö#ÌÌ“)ïµ$ÿ\0’¢U×ÙAÍrM6­™±6’'}tžQ/ˆhð'óƒ\
+uðûÅKåcžÎ套)åße'@=†·'„µÙúk7ó@Äßööצ5XñŒ¸ßMJô'ÙSàFÌâœGsÔƒ¶¬¨â³n%±ÞºÆ[³qÖLRÅÀµ½÷jj«°¹1\0è­í¯?³ÓùžZ\,ódŽY ÅÑ«Å]W˜øòJX‡¨½®kPDÈÉÆhÊ (È>cÔ÷-i²dÉ-& t5^ãÝ›j›POÇ!ØÂäõ×¥´ÃŒ21á­³Gºµ¸Š¼Ü5réÞ+¿¯½ðňFÈ\,+ÐËCÈjâ+ò$.mÙ[e¦2C+ɱ9¹VøÓ‘ªÞÿ\0×_6½1Ñð\\JNÂyGðÁÑ{+R‰ü«ÿ\0f=…uç¦lPbq+ fœ×¶ü2±ÅÊ9WÑGefÁk¾mµÓÙYªÊSæ÷iQZÙ†à½(‰pj»Z¥TyRjKn‹A­p‡_mé£Ö mÚŸ¦‚f)îCemV"—9<†uܤü@kZ‚Dí³_rTMŒ\
+C©Ö²¢øî×úê\
+¬ÉÛP„^6ýFµ ¹Rà÷Š°Wž^L}$³ÛÛWÏ÷œyÔ‹ô±¬àÕ$·ME”dŠJ÷Õdc –cAI\,[¡>êÐÎÕOÙPIƘ±êQ<)…xÀA‚›hh6¨·ÛPz¢°aÙTk*AQo JžÊ¢<‘kqTk/z â´È§°Ñ² WiëQ¤5&Øtî5¤K¹#}½â²­2€žÔj£K¡ŒÛí¯Èõǘ7ˆuÏáQÙh#ËbÅB–;Wh"°¯*@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ ÿÑü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ P(=õD˜"½tæ3V˜¸õéç–-YëÑ# Þ ‡üë—“ÃjÇû+hìð±?3"ømè«Ü*ü˜F N§J橱ƒ¼Òª`‹Kžƒ¥Aæ:€Æ”K˜íö^ ¥ä˜wé]"#ádþoÀ ‰j¶ï?ª­˜‹ òv€ý\0×]*B´Œ¯* im/ÛLVµÍ–FÇ3° oÿ\0\
+¸. Å‹çdóZ䟄{Mctr^«å ÃlŽJ½¶¢Oìö_ü¿Š»ñÎ1Õk\
+&¨¬lVcíþž Çˆ›Îâ*Ù“[/a=K0þ›ªõ?$]IÍÇ€<  ’Ä…F€rúëZ߇‚Ó±ËÍÒ]¦Ãé½KsÄRˆ€èš‹¤ÔTé"y#ÚÚ“úk*ó)–=t¥ñP"†í^³FYQ\,¤_ ¬|ltÑu½ÍoQ²cWØäòÕÄ`ø;ŽëÄ[ì«©sÁºÑ#ýM¿ªŠ¹ãq¶ÙšÖ¹ÚÓ\,çF;E¤ÎvcLå•R/q]da·ˆÆŒ(e¶åëí©ÕWIrÿ\0Ú+ber±¨¯sùŒ­ª¹¸'²þÚÖ˜«ËñnÈìýT·O¶µòŠŽRAY aÕÆ¢Àöiò­j ¼Lsä¨ qÕMºëøk5V·ål’.tR@½gäUò8J…r‡vû­J.9‹ $ ÔÃÙì§CªDRÚ+’œÇÅP¦¥­íåýCÃåæA$JB†6õמ¤fÄNЉŒáäæQÔôáW¯f’:¥Ì\
+ëmª\0ýµËMår’<aEØÈ\,¥$~ŠÌŠ…‰*N詆EÚŠEµïfëZ¨µƒxÉv©+ucXÕZcby£tŠžúÍ£’õ&>Lh!ħ?;®¼ßÛ5ÙúN¼j6Kî“PÇ Ò¼Ý|øk•ÚçÄ·¦ßgeEEž#æ È›x·N‚ÕØáÜ…ØxK<ÁÞÇå½»¨ˆ<ÔÐä*ÚàžÁýõ•iãø…Ìo2µâÇÙ᪋5„ªíŒŠŠÏ'ˆhã׺ƒ™Ïåâã²cƒ.0Cd”w}-ÝDKÊç$ K¾„)Ýk}FÀSEw#ê à–8Òèd6 ÿ\0mAÓñ8’K+±×íUOåy<n>&K" ‹A­èdÐ2›†Ò¨HÉoe'¨½OƒÁCæe6­ UÕÙY·óOù¡c»\
+&òÀêă¦³öMs|¶~nf#eÎVE“F\0Ûn·øjÎtWñ™â]…—þÈÒý/}ÕzÓÍÂ=Å$vÏi6÷ËTNÑ™jÞt¬0ÁL\\WrÜJ`ÏFLe6Ý«ÖÝnE\\GѸži¥‰$‚2ºÛúêÆ”üGª¹K•›ŒÈ ð•îÝ«¬“•Þðù‰ä³)˜|@~Ú–´êßTcqìÓ6ª¤Ø ‰«á_?ç¿š™Y(bã¤d$ê~ÎÊÅè®E¼€—“¯y½gYxJÍ8{ØÛPGu]WWôŠ­{B"'ÄEø·O–´1à|™ãRÑøXX·:u+Z—‡fÀ@º :tnêŠ×‘• lr¢Vi’{ÝÜÔe€Êl¨{F¤ÞŠ Ë ÑÚ ’÷û;ª`Õ‹ÄO:*¶âÿ³ú^¯ü ¿úQìT¢Ú·úk86EÇDT83›Üõµzó¹:‹@4½%cä&ä6ÙÄhãN–ï¨\,?ÛáDÒJ${é­õª<ËÏòí3~†×_µ…hjäƶB&€ÛtG¨?WgíT¢NOœä^lÌÑ…¨"âþßújN<LÞ\,¼{®„ÜXßÿ\0mk«©S‘È…VB¤7y?Ý\\ÚZáz§zìÉM¥FŒ:ÿ\0Šµ¢Ï…ç!Ûy\,CÛTWeò “ĸëÐïu}fGݛˮ ¨¹¾–ëI5x®G;9ÚAdA®ºÖ¬‘#G5•.Ljà¶Þ—mt«Ì+T¼œ8˜‰‡þ+7ñ\,nÌÓLÚ/ÿ\0ÞX[-åªí`:¼+ŸÕ­W>VÙ ¥€6éZÄIIê Fµ­d8®åcÔíî§È‹ŸçñÜ¥înXµgUs6㧆lf êAþãZü£š•3âêu÷×DuþˆÎ€7•17µº×.âÇe¡”I¾º›×&–Ó¯ž›l+\
+àùî1„ŒÉe¶½k¿5‹rƳBŠÄ»Ä ê+h¨ä%V”ù_\
+è=•¨7aæn!S^w«<ÇNz^7-#c®)¶Ñ¯Û^WDidBC[Ä/Z”Â7Q{õì Ê¿(—ÅAž6O–ûÛS~Úš:sæ.åû{«Z2mhˆ™J:wÕ— Så€ #õW§Ž¿nuE`.Ý+·>Én9õ*øº k»–³ÅÇ2 \\ž•ç÷\\Žœyuü/¦/¶\\‚@Û¾¼XôGA/vÅ`£²Š¦ÈÊØFã{!ÞžuŽÑÐVçX˜¬f ÈMµ¿mv³bG•"¿þÙ5º‘~2ø× ¬b²‘×röÔV§ŸÊµÿ\0M1ì$…‰¨¬ãE#¥m†;t¨4L\
+jƒ­Q)70ˆ&Õ:–ª!r¼æP>4×ßVTP`ò )B+v#ªƒ&A°‚§¥«“O' 6ãÔPTò€±$êQZ‚Œùfæ稪Šá„­ü]šÖâ*æ…¢:›ûkBf?$a6“QjÍŠ±XuÆ|]n?¶°¬™ ƒÇÖ¢+³°‹€ãÝZ”Wì ØõFEÍî:Ú‚Ç (:€zÖ\,ä[x‡JŠÁ—u˜T®ºvŠ€5ÐÔVMÒæ‚å\\ŸekŒFÝ{jd}º\
+ $UÃëj¨Î«-ˆÛ…EkÈÌxUƒ YÍö·ZX­’ \0©øOê Ók-õ†¨Ö!ûÃõŠ–hòTo^†°­ ·¥eŽ¹Ø¨r%«5XW”\
+@ P(\
+@ P(\
+@ P(\
+@ P(\
+ƒÿÒü©@ P(\
+@ P(\
+@ P(\
+@ P(\
+@ Pz(7Eër"Ë\
+ôóË­ †Õéæ1VÜW&t¢Ǽ÷\
+éðË»ÀãªÁ´‰»éð:.? ÝØ?Y¬Ú­ ‰\0õSàZA¾§E¬«dàì!t?ÕH0Á"û{ºš´e•“¸´i«[õRDD‹XwH5\0ª#C ò~en… kqʱS¸†ùõ·õ-gqRG ·’×[t§Ù^Ë‹Œ Ca§P54’ÔÕ>.™`©7Uê½—ûæ·&"“0Åš•ú’<Æýˆ½k¤Gœv>T¨rØŽÄ«ZäÐÙK`à )x\,fHnùók´õ[ýUoû_ðŸÓ~\0 쥴¨¿µ«—}þ#R\,2ài™¢ÓËèk0Iˆ$Q{;½µŸ•MÛÙYQïÓ¢Ðaæ†!V¨ŒóE:§ÛWg!‘cåÆuêÍÜ+r2©p²ÍæuUÓÞkh°—–e@\0\0ôë\\ñ§œl #&øSÝìm ¦€u®Jƒ\,Á· xjŽ7˜äÖ ÷íÌDOâ™I’3q¥ýŸŠ§TŽ÷ŒÀð_F=õ給y!¡%ä@ÐR+“ç½=\,±í‘á±µ…uç¦qB¾’2®Ò  {_½‰ÿ\07Å]>鎛Œš0"ˆùq§¯é®Z¬dãå¹2eé¸ëìÓu4_`ú~9‘HPE¬uÓôW;ÓXÈúVgßÞGM4û˜±XbÛ múk#Ò(N¶6 Â^."]µ4Ñ §Ì'C¥€ììª)y-æÈ2(þM=•¹Qmƒˆ.¬TëiXµ[&À“y’ ·¨±Öß„SFî:i•‚Ê '©#QR‰§C{ZÚèoýU‘QÉJò±òUÏQ`?KVâ/}33ccç°\
+I¹=õϹåcÙq–y¿0¤ºÉá*:¬ü rʱÉ\,B× í-R*éíñTW=Êâdm¶3ÖÚý*\
+l˜‘\\þ]Œ…lzÚÞÎʈ÷Œ>JK$w6wZ !ÈÁöQP9N{òèªSðÜèjh©I#ä¢yäA#BÀí"æ戧ìLÏ·™ É ØôÔÔj—’†l•ËÉ}‰ïU#Sÿ\0­Aïÿ\0WrªÊ¨ëK¸©à}ÐZ®šâ9Ì̼†‘ùYgSá¾¾Ûið¥gQ§Õ¼ä0Z©-\0ÔuúE-MGÊõ¯54Brå(¦ýmÓÝYÛSQ¿Ýò%›óŒd$u$ÔNL¹ö7AÑoߦ‚6¨X¤SÔë¥þÃ[û~†!†#äÏà w-¸îZ-áõ6CÚdGØMÝÔn·Ýµ]M]ðùÙJ<ܳü \0A¿íkUS9\,\,NHµptkÛMib¶aò‘Æß,4,if,3,7,1,2002-08-28,\N,-2045509632,2006-09-25,well,-650838016,2009-04-26,ÿØÿà\0JFIF\0\0H\0H\0\0ÿíœPhotoshop 3.0\08BIM\0\0\0\0\0*\0\0\0x\0Image converted using ifftoany8BIMí\0\0\0\0\0\0H\0\0\0\0\0H\0\0\0\08BIM \0\0\0\0\0\0\0\0x8BIMó\0\0\0\0\0\0\0\0\0\0\0\0\08BIM\
+\0\0\0\0\0\0\08BIM'\0\0\0\0\0\
+\0\0\0\0\0\0\0\08BIMõ\0\0\0\0\0H\0/ff\0\0lff\0\0\0\0\0\0\0/ff\0\0¡™š\0\0\0\0\0\0\02\0\0\0\0Z\0\0\0\0\0\0\0\0\05\0\0\0\0-\0\0\0\0\0\0\0\08BIMø\0\0\0\0\0p\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\0\0\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè\0\08BIM\0\0\0\0\0\0\0\0\0\0@\0\0@\0\0\0\08BIM\0\0\0\0\0\0\0\08BIM \0\0\0\0Ö\0\0\0\0\0\0p\0\0\0p\0\0P\0\0“\0\0\0º\0\0ÿØÿà\0JFIF\0\0H\0H\0\0ÿþ\0&File written by Adobe Photoshop¨ 5.2ÿî\0Adobe\0d€\0\0\0ÿÛ\0„\0    \
+         ÿÀ\0\0p\0p"\0ÿÝ\0\0ÿÄ?\0\0\0\0\0\0\0\0\0\0 \
+ \0\0\0\0\0\0\0\0\0 \
+ \0 3\0!1AQa"q2‘¡±B#$RÁb34r‚ÑC%’Sðáñcs5¢²ƒ&D“TdE£t6ÒUâeò³„ÃÓuãóF'”¤…´•ÄÔäô¥µÅÕåõVfv†–¦¶ÆÖæö7GWgw‡—§·Ç×ç÷\05\0!1AQaq"2‘¡±B#ÁRÑð3$bár‚’CScs4ñ%¢²ƒ&5ÂÒD“T£dEU6teâò³„ÃÓuãóF”¤…´•ÄÔäô¥µÅÕåõVfv†–¦¶ÆÖæö'7GWgw‡—§·ÇÿÚ\0 \0\0?\0ò¾É$—d”¤“ADéÙ6‰)IA?•kt¯«=O©×ë´3j쬇\
+ÙÉŸ}ŸØjêzoÔ.Œk¿)Ù³ÆÂ+aþ¬ØïóÑ¥[À¨NbtÔ~+Ò¿æïB©¥¸¸ °‚A²Æ½ìl~{½Goµ»½¿¡LþƒÑí¤‘Óë.kZßL¸Ü÷ ¾ïå!¢µ|Õ9ðNJìs~¬ô75ÞŸ«†ö»xkI7zíÛ³ùm³bÄÏú³Ô1l¬ šGçשêû¿è¥J·$RóûÂo÷ |ÒS§õ{¨çâ»2ÆR 6;nèú~ž…f½®cnæ’<Ç+£é?[†Gý™~7®+.8ïkƒcqÞæ½¥®ü÷;ô‹ŸºÓ}ö\\ý …Î;xë )ÿÐò´àtæäMüüS:Øû^Úªa}!¬cA.q>Ö±­oÒ]‡Õß«¸XÙ-~xnUõ™º\\5Ëm³Ü̼¦þu5~Šðõ?F²úu¼‹^Ú­µ„½Þ›[¸{)7ŸèûšïS&ÿ\0ðT~‹éÚº>¹Ô‡MÁ§¡b¸ §„ãÖïM£ÚÏ´2Ëeß¿ìÆgü'«Z“‡‡}êÿ\0ºßÛ~mŒ¾¡˜üñ[€û#Íà€æVÖ²ÇÔÆßmϱôö·}¦²ª¿D´ñ®ÄÀŤS]GàØÃDÀ.3±âïÒoýçÙ½ë¦Ñ“‹V.x{½FÄ»ÜÒáë=€îû3h¯×ýÿ\0ð5©‰Ö®´ÝGPÃeÎÆ"·ïsšD>êÛ³s›î{=[ov6u¯àËí‘Z]¶GXÂÌ̯¸ÖÛ|8‚!hÜç_éŸgToê½>škÍÊýV‹ÃU–As·ìû8Ýu{µïöÿ\0„Q¿ë>.FOkM„°µ®€×½ŒÜë6þ½ryÏ^µåÖ\\÷Kï xgÑŠƒ¡ýÆVœ'¦ž¦χC»»Ô:ÏJ8Ûcëf@-hÈs=ÏÛhô½7·÷—˜ÆÑsmé™}o$±´ï©Ò6·ÝKƒvØéüßbê3\,郦âb¹æ‹A¯íO´Òj×ô¾¬ÛeŸð?Í¡X½wÞr°í«.—VÐëšDºÓícUÑíÛîýÅ\,"I\
+³áôhØün¢ÖŒ–úySµ×µ¼8ÚýF·éVùþÃÖfF=¸¶š­á¨#PGï°þs¯¶«›“ö*‹-unm옦°Ù³Øèüúÿ\015Å™âØí­õlô ¹c·kÒôíüÿ\0øDe:.ÌNF€éŽ|?’“šæ¸µÂ4 ¦"4âuLKÿÑò±ç³ƒ[]w¨ñºº¡Äx“¥mÿ\09V•©€ÊÙ‡½ñ/qtžD~®hoî}5&(ÜÅôÕfCQ¯ÞÑì~¦ô¼»²]–)ÅÊed>ó|¼°¹ÎhØßw¥sï÷ÿ\09Ž»|Õïµ–UŒ6¹®ª÷ä4šÜ¹¸Û_êú[]c˜µb}EfK:^uY¶Êî-}k†ß{\\×coÿ\0¹5½~Ïøv\,~¡õ‡«àÑe=:ÿ\0²5öz–X=ÙWZç½Ûœö·ŠÝS=-»=4d ¦vP D1Ķ‡àáâe[M?cs]_Psì©öc=– |ª-nëêõ®®ì_J¯Òÿ\05êж)f;Ùmxô<Y@Ó'Úk1\\Yc›·ô{F¸J²ònÍmcQnçUŸQÆÂÛý•ûÝú;ënU›ÿ\0‹]./QêC¥c[C¬oP©Ö1…õ—Ín~‡èº·ï±ÿ\0BÝö³üÏz©Ÿ—0#Aê&™¡Ì\
+–§Aü¸Z—gô³ŸafUUXé`pk½ ‡n±£o«ôÿ\0àÒ×h›^ïT[^.A ÜêFç6ŸwÓÿ\0Œô•Ÿ«Ý Ž‘f_Q©ÙÙŒ—Q‚^im­¦ŸL»kÞëëúzxû=<¯æ½5‘•œ3kÁu¿³ñ1\,iÆÅ–¶²K=Khm\,¾ýêdÝúOújÐÁXÂɈý/á´É:Ë®´¬»ì¶÷úp±„¶£ƒuŠÇöÕRÂݺF Çqÿ\0‘]Ö.‰vMÎc}6Xö:ú­k˜I{ÜÛÛËÿ\0OÙþ`ÜÇVv¸<8‚Ðï:ÚðÕj&&"©lob wßóÿ\0 ?D¬¤×ºÊ©‡XçÚèу{Û_úK=¾ÅO)þ¶U–Î÷¹ûÈÔë»s¿–õ<~gË• §à£œu%7KÆø÷7Úããû‡ðAZ×4[E…µ5¡±P{O¹ðÝìvÏì·ÝZÉì«KuáÿÒòµÕUÒ:ƒ~¬ÑÖj¥Åk6Á6@¹ödmŸN¶»ÚÇÿ\0Ó\\±=ø].UÎéÝ?Î’ú2KŽ•‚”7~ïu¤ÙémØ¥Ãvi!_‹¡‹Özÿ\0FƯ ­`ªÇý¦¬¦í·ÚCú꽯ôþÏI®ß_öÖVnUd;!”¾·¼ƒ±çur5†þvßoç-þ·õ´±´RÇn'%Õ°Ö-’^\\ê˜}k7oý% fÿ\0ðˆ§ëv@¯ ¶S ¯í!³@çX粊6ló{?Ð~ŽÏSÔSÔ¾ô+ /íKõ#¬ôΕվÝÔ+aµ²Êm{¶µáµcèêÙs7„{?Tõk]WÖ­T/n6 a¹5[`m·â¹Õ·’ƽûñëÛ•éîõ=%ɧ^üƒƒƒfVßÑVY5Tç=ÍÜìF³ìíôù–[oø:íÿ\0F²³ìËêVäåÅ`‡—9”µµµ­­Ý]Uìo£SÆçÏÒÚ™( ›#¢î#CW_ö·Nh}¦Ð#¬¢¡c@¶úZvá³ïLäcï©ÎûO­é1ŸõÛ\,¬3—‰•ÕÍ 5嶵»}»žïOÑÝ>ßOó?âÕ|_«½w7fFM»'áÂ6ÆïsØæíÜÑûÞ¢µõs7"ŒÙ—a æÚñmxU¸ØêÁ-mSûߥwú+?àÐ<P=¸£¡ô­1'qHòþ±[™Ó212ë\\}³^ã¼Õé“ö‡³pözÕþӯزMùÏ\,ªël s}¾³ˆ7û=bßQ¿öâêêé6êÕq˜LÚYö:%¤¸Séeb¾±fCIuxÿ\0¤Çô?ÂþŽÄVaìªË²*e˜x`Ö2lÛµÖ{¿ISïÿ\0¶¯WÓôÿ\0ô“ež15_ì)רp:gKè¹\,¹Ù9N5ÔAuì;^ÚËwYex›luÞ…®Ù’íÿ\0¢¯ô•Õo©ú<“e nÁ79å¤ûXð~…Ònÿ\0_ëôù¬\,e•SXÅp¬¶³A˜ ÓµÐïѽÕý-ÿ\0˜¹œ¬[k¹÷ÖòIpG;]¯ŸÞüÄ¡JìÑ=\
+ëXÖ½±%”=®ÚN„åÖiô=«1Ãkœ@Óä¬ny€Ðÿ\0ih«“.$w%3 ÕxÿÓòÏõ+O\
+ò1Y·RÒæ8wƒ¬núMßYس5åZéïý#¨ä\\ßë¡ÿ\0Ra5=zè³(ôØýn¶EeÂÞk¸À¹­ôØw ÎiÙ·c]ôFßì"X1ëoÚ+µÔÜOç8´ÀcXÀ=Î×c(ø/ÒzˆäYcª6ºÇmsÜ“úF¾¶cÿ\0œôÑn}8®ý]õ¸–ÃZù°¶}»ÿ\0N¦¹¾çÿ\0=[ÿ\0°¬ÑÐ1wl·+6ÖÐÖ4—àlGm=ûI³uŸñáTYF3‹†Û³Yà÷6¶ØÇÙ 5°¾Üoî¿ÿ\0I¬Ó½ÀÈ% Z%¤ÎÐ)ãÚismh`™ÚHŸÍæÙûžïøĈñP:ìì»ë&u¤`âWû7§¹‚š±)¹ÍªFÖïuîÛeîÿ\0Mîý3ÕÊšz~[òózµŸfkF=¹¸„:ɱŽÙ„Ágë8þÊ®®Û7lŹg;7¤XÍ–Y’÷—¸9µm$oÛý-¶mþsÒÿ\0Á7çáYY£sŒØ×Ùi;œDÿ\0¤vïðv_¿wçúIœ7°®ëïêõ=W<atºXÆÖ2rA>«\07sY_¯c=Gæd¹­õ>Øû=Ko·ÕþiQvsnƧ›+kl`¡í.c£«ý%vÿ\04ͯþ“ýô¿£e^µ#Ðk©€3ìΰX=9õ+}ðno¾«?ëj·OɲÜ{ñýfRÜ€Xÿ\0[RDï­¼;c71ž¥ŸàÁ*r¾-Q;ºû<[Y—»;•ÐÓ@²à\\ 9‡ÑÛíÞÍÞólþ“êzË9®­¿h«$:ÚÏQÁºo#ùª÷£é¿ôŠí½;ƒ‰©±ÏauÕzeŽ qs«mvk¹þ“··wü­µ¡•¸zu>‘€Ö¾Ò?{o§ûŒM&µê¿e)k§‹ÔqjÅ°1ŽÜ6ìHÓ_ë\,Åg7%÷Úç»—\0à4}\0«)Mé{õ^+£ÿÔò¿—)çÃHîðü©$§¨éøëØž¦ êØí.ÊÄçÖ ÿ\0½ zÏÓ~ÏÑçâ×úOûWK-þeV©ÑpǵƷÖ]ê1Ä:Ò¡Ìoé=Íc?œþsôË 3'*¬ÌK Y8>»È!uß´úÖ–‘Ôvt^¬HÙŸSW²yoQ¥‘é{ÿ\0šÌ¯ÿ\0B?›ý-ŒyoIkù±Ê 5+®†<‡X Ž¥ÌofûgkÛù¾ú½5j¬¾•‹W¨ÁwÚ€$\
+°º8sèÈ­•½¯oú:¿ëHÕýU5 :Uƶœû!ø9µ¾·Õ{t«¾×ÕN_·ôþ‡­öïGù¿ôj˜}"ÖŽžãûR‡üv2ºƒvý"úŸ@ÊcvŸSô¾¢y”RQÂY_õƒ¥º˜º¶¾g¨\,tÆ抷Òßë׳þ)fÝÔz]öŸYÞ£H5öØÀýÍW3°0°êm†Ë¨±ÌÞ žÖ{­¥›m«ôŒúì}ô—=‘cÉØlµº5Å¢@çÚømŸô’ˆ‰ÚÓæÜÀêÃûæ¶úßX¤5Îun½¾‹šú÷~‘›6ûÛb躆>;pkëXDVËXÛ[Ã[cšòY¶Ïͱþ¥~žÿ\0ûmr¸}-ÝAÕ³Ç{žÊîi×`±Â¯´5ÃéÔÇ=³ü'õ×IÔs1oôñØóNZÚF†kcÊioçmÝc¿®ªó2­évÑ—'ŠˆwFÛò济uŸàë«é<’!®.úv{=¿æ1eu[môÚúÝ#Üáô±èÛýoø6#7¨à7Õ²^1[ëu²X÷îö:š˜ßôŸ¹ô*¯úE‹76Ì·¶@ªšÁm43F1¾ þS¿ÂYþGkÅ-ú(KÓÂ6@L’$Å$¿ŠzÿÕòÉÑ LGÎRrE%/À#C=ãò~êMsšàæ’Ò5¾ä£]tî£üRSÓý\\úñ—Ò[öL¦Κÿ\0ç1\\A¬‚eß«ÜÛ)ÿ\03Ñ]v'Ö©}M•ÅîÁ¶“¾k‹]S‡ó~…™;Ùú/ðu3#Ùÿ\0¼«ñHƒ:ˆîꊭŸTúÁÒºnF LÉPn;­y«Ó7Yê—Þ=•nnê2\,õ›ôö*Oú½U¸”_Šboc™q;[s«²t´¾Í¿ÍûW³ÿ\0E¯8ø$ªU=ð¿ ô*r쪳²2+µ´–ÒCn¥Æõ_SnÚÏYíþsÓgóU®g©uÚ32µb¶°ÙÛ[Ü_X=éÖ¿gæ{:H_US;.²ç—Úâ÷p P)%Ý©$’IOÿÙ8BIM\0\0\0\0\0\0\0\0\0\0ÿâ0ICC_PROFILE\0\0\0 ADBE\0\0mntrRGB XYZ Ð\0\
+\0\0\0\0acspMSFT\0\0\0\0none\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0öÖ\0\0\0\0\0Ó-ADBE\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
+cprt\0\0\0ü\0\0\0$desc\0\0 \0\0\0lwtpt\0\0Œ\0\0\0bkpt\0\0 \0\0\0rTRC\0\0´\0\0\0gTRC\0\0Ä\0\0\0bTRC\0\0Ô\0\0\0rXYZ\0\0ä\0\0\0gXYZ\0\0ø\0\0\0bXYZ\0\0 \0\0\0text\0\0\0\0(c) 2000 Adobe Systems Inc.\0desc\0\0\0\0\0\0\0Adobe RGB (1998)\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0XYZ \0\0\0\0\0\0óQ\0\0\0\0ÌXYZ \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0curv\0\0\0\0\0\0\03\0\0curv\0\0\0\0\0\0\03\0\0curv\0\0\0\0\0\0\03\0\0XYZ \0\0\0\0\0\0œ\0\0O¥\0\0üXYZ \0\0\0\0\0\04\0\0 \,\0\0•XYZ \0\0\0\0\0\0&1\0\0/\0\0¾œÿþ\0&File written by Adobe Photoshop¨ 5.2ÿî\0Adobe\0d€\0\0\0ÿÛ\0„\0      \
+     ÿÀ\0\0\0"\0ÿÝ\0\0ÿÄ¢\0\0\0\0\0\0\0\0\0\0\0\0 \
+ \0\0\0\0\0\0\0\0\0 \
+ \0s\0!1AQa"q2‘¡±B#ÁRÑá3bð$r‚ñ%C4S’¢²csÂ5D'“£³6TdtÃÒâ&ƒ \
+„”EF¤´VÓU(òãóÄÔäôeu…•¥µÅÕåõfv†–¦¶ÆÖæö7GWgw‡—§·Ç×ç÷8HXhxˆ˜¨¸ÈØèø)9IYiy‰™©¹ÉÙéù*:JZjzŠšªºÊÚêú\0m\0!1AQa"q‘2¡±ðÁÑá#BRbrñ3$4C‚’S%¢c²ÂsÒ5âDƒT“ \
+&6E'dtU7ò£³Ã()Óã󄔤´ÄÔäôeu…•¥µÅÕåõFVfv†–¦¶ÆÖæöGWgw‡—§·Ç×ç÷8HXhxˆ˜¨¸ÈØèø9IYiy‰™©¹ÉÙéù*:JZjzŠšªºÊÚêúÿÚ\0 \0\0?\0óþl³×\,-qU¹³fÅ]›6lUÙ³fÅ]›6lUÙ°LQZœBACLUnlÙ±WbÒ»ây¦*šQ\
+á|ÀÛ0•†0šïŠµ‚méße†#¦*˜MÇŽØ^z㌄Šf\0­ÔåfÍ…]›6lUØõzc3b­“\\¬Ù±WfÍ›vlÙ±WfÍ›vlÙ±WfÇÆ¼Ø =¯¦µÆÓHL¬Ù±C³fÍŠ»6lØ«aKtÌËÇ®+\0ï•3vÅT³fÍŠ»6lØ«³fËQSŠ¶¦†¸!¦ ´Å=+$^&˜9ªÓ•›6vlÙ±WfÍ›vlmkë\
+âGé7UO6lØ«³fÍŠ»6lØ«³fÍŠ¯E®5…9 1¬jqV³fÍŠ¯ŽNNÜq¹±WfÍ›vlÙ±UT·gד¨Ã+„AFÆ_ÈöqT»6lØ«³fÍŠ¯Œñ58¤ÒéˆfÅ]›6lUÙ³fÅ\\1q Eq PJ@¦)ZE<Ò˜™5ÊÅÍ›6*ìÙ³bªé?LIÛ‘®76*ìÙ³b®Í›6*ìÙ²ÕK U¬ØæB›n*ìÙ³b®Í˜\
+æ銻6lØ«³e‘L¬UÃl“\0)³b«ä ±™³b®Í›6*½M1§s•LØ«g+\,åb®Í›6*ìÙ³b®Í›6*ìR'àk‰æÅU¤œ¾ØŽlØ«³e…'¦V*ìÙ³b­ñâ:ŒO$ ÅVLÙd×+vlÙ±WfÅ#NY¤NªžlÙ±WfÍ›mzâìG—SŠµ›6lUÙ³c‚Š­Íš”ÍŠ»6lØ«³fÍŠ»6lØ«j*pa´%y  pj^Ñxâ¨7^&™ƒ—#ó5Æb®ë›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅWF*À`˨BFÀJxšà‰®=D €¤!³fÍ…͘bìUC6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«¦9œ¿\\nlUØåR惋Ú8I7LUNHŒFŒÁšŒ«+Õz`<Uص²pLG¬PÔbª÷ˆ±½cËšœn*ìÙ³b®Í›6*ìÙ³b®Å"Ô4Äñ{fâÕÅZ’\\sZb—34lššåfÇÄž¡¦*³Iš1AšXŒf˜ž*Ù55ÊÍ›vlÙ±VÀ®bÅ 6ø*HD‚«‚ÓH Ø猡ß…Í›6*ìÙ³b®ÇÄÜflUyr'\0`\,Ø!bkƒ’y¡óf9°¡Ù³fÅ]Š O8žlUÙ³fÅ[U-°Å#Nø¾žT?ÇÓºaê=0uU'ëÍ›\
+»6lØ«³ ³f늫›·dàN؆YR3(©¦*Öl5Ÿ§1€±WfÍ›v-o®üF#ƒ4× :“Ó[whmŽøõÒŽ ®b®Í›6*ìÃlÙ±TS]rN6lUÙ³fÅ]›6lUÙ³fÅ]›6lUbT7ÅŒ¼§?‡¦ 3O\\UÕ®VXX«³fÍŠ»6lØ«³c‘yše2ñ4ÅZÍ›òÅVfËaCL¬UÙ³fÅ]›eúcYxšU¬Ù³b®Í›BªFøªt˜#™O>¸Y8\0í•ïÙ4ÅQWöÂ&<z` ÷>ª|]p*ìÙ³b®Í›6*ìÙ³b®Í›6*ì’Ñiób­œtkÌÓ(FǶ+oð8劬–?Lâx:ø©¡\\€+³fÍ…]›6lU’€”8‡S•›D<@'!ˆ/\\q‘ÇŠS ¨@ˆ0Âü%Àx¸`LPª(ø›\
+ÊÜs\\U¬Ù³b®Å¡›Ób9±VÉ©®Vlm'>ت6lØ«²Õ¸åfÅW3–ÆæÍŠ»6lØ«³fÍŠ»6+ ^¡ Åmá^ Š¡rÕ¸šŒ0Ôm#¦bªÍ+M¶Q€®66àk‚^àŠ úfË&§+UŠsã4³´½q\,Ø«³fË¡ÅZÍ›6*ìÙ³b­ÔåfÌqWfË"™X«³fÍŠ»6lØ«`W1ËCÄæsSŠ­Í›6*ìØ´P‘Û"†˜«Y³fÅ]›6lUØâ„nr”Ðà¹6ëŠ@AæÍ‚!U=qB6+2…;bX«³fÍŠ¶:àæˆ<up\
+Šz/€¤!i—Cƒ ·W58¼ð"®ØÚœÙl(r°«³fÌE1WffÍŠª´µijfÅ]›6lUÙ³fÅ]›6lUÙ±ëLÍLUflÙ±WcÐ×›FÉ22P`\,meë§\, *zlWY›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÀW\,©¤å¾/pªت6lØ«°n8ŠMú`\,µ<MqTßT‘\\¸R†‡’^kCñ*™¥Â…¦ÊAbF6¹X)$Û³fÍ…Í›6*ìÙ³b¨˜® b˜”’—8žlUÙ³fÅ]›#'(Šb®ASL%¸Xù` hkŠµÃ0ãTqü6®3/µ0ªžXÊÅb ñU­\\f\0²m狆 M!ófÍ…Í›6*È<½f.ê×\,¾«. òÕòÚHytÍæ+Ôºz®ˆêÇófÍ.Í›6*ŽÓ‘]èض«%8á|R˜F\\Ó´ÝqU\,Ù³b®Í›6*ìÙc®\,Pq®* 6ÁQOǜت`×”Y½LK6*á–Z¹Y±WfÍ›v>#Fß›LÔ­0q¼Žbk‚•¬Ù³aV×ÂŽø_ŠA¥IcÞ£é‚á<ÆøAF8VÞàÄÀà»ËŸY)…™e‰Æ–ÚÍ›6;6lت2Â@¾]û5 X¯LÌźâ­fÍ›vlÙ±WfÍ›ÿÐóþ(­A‰æÅ[&¸¬HÅN8ª×M1¹lyåb®Í›6*ìÙ³bª‹)QLa55ÊÍŠ».„câNmL^xx ”&lÙ°¡Ù³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ[¸ãqø)HÀšB…Û|Oό†À®[FW®)oN{àË°¥>R–æÍ›;6lØ«³fÍŠ¯‰ý6å‚..½U¦Í&Ý›6lPìÙ³b®Í›6*ìÙ³b®ÇÆœÍ1˜¬2p58ª«Y°°1ÃG¼FŽ˜VMMp Ik7LÙ°¡Qen™NS—†q\\wÄ.ØÍ›6;6lVæqU\,ؤ¨âxªae8p-Ëórq0ÄtÆ“\\—f¹±XV§\
+©Lؤ¢‡Å]›6lUÙ³fÅ]›6lUÙ³fÅ]›1ÐWÅ]›6lUÝsLr¹ zb«¦Y$õÊÅÄ^XªˆÌrºfÅ]›6lUÙ²À®Øó R1W$\\òž2˜èäášI9àJ–lÙ°¡r'3L·Œ§\\¸œ!©ÇÏ(“¦*¡›6lUÙ³fÅ]›6lUÙ³bÑÛ´¢«Š¨æËe(hr±WfÍ›v/jB½[¦!š´ÅQ7Ž®ÿ\0L ˜ï›vlÙ±Uè@Ʊ©ÊÍŠ»0Í›lšåfÍŠ»6lØ«³b€ÍC¸P§lUC6lت*Õ®#2…b5\\¯L¢k¹ÅZÍ›6*Ú©n˜õŒó\
+ríØ+Tâ²H  ŒU^æÌE\,.ÃkëñSŠ»6lØ«³fÍŠ»6lتa§ªy`[‡LM\\¯L¢k¹ÅZÍ›6*ìÙ³b®Í›6*ìÙ³b«•Šæg-×›\\«\\Ì´Ê L²ÕÅVæÍ›vlÙ±WfÍ›pÃXcDŽ­…c®/%Áe\
+0qâdöĤ§-±µ#|¬*ìÙ³b®Ç ®4b®~bªY³fÅ]‹ÚÆ$jCŽPÔb©”Öˆ£lAmAâåÏ\\µ¹eÀIÇLn[F¹XUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›0Ç2늭͛6*캜¬Ø«³fÍŠ»6lØ«³bÆdp£¹µ0õÆÓH\\Ù³b‡fÍ–£‘¦*Öl|‘˜Í3pé–ÊW®+l@q^˜¥ë+?ÃÓBæÍ›vXÊ˘«G6c›vlÙt¦*ÖlØä^F˜ªÜØç^&˜ÜUÙ³fÅ]ŽXËn1¸" ŠUE2Á¦[š“Å[&¹Y³b®Å­OÄrÁ¦ãE_0c¶Ç3–ëÅ]›6lUÙ³fÅ]‚íîB\
+ ›D\\J$;`|Ù±WfÍ›vlÙ±WfÍ›v;™¥1¹±WfÍ›vlÙ±WfÍ›vlÙ±VÁ#¦Q5ë›6*ìÙ³b®Ë¡qý¡\\2»†1e능xwå]9u]B;gèƘI‡~S¾~§ íÑX`<+ÔüÓù_—gõ„¦q{˜ý Y<z?Ξsµ½ÒÄq°-ÄgœïÜI30îr¼D‘ºKoxΜ͛-C³fÍŠ»ŒPÔcsbªÒܼ¢ŒqÙ±WfÌ2ÊÓk6lØ«³fÍŠ»6lØ«³e‘L¬UÙ³fÅ]›6lUÙ³c“¨®*Öë˜pU×#Ž#\08ª–lÇ6*ìÙ³b«ã~¹NÜÍq¹±Wb·‰æ銮}Î76.öåP>*¡›6lUR)=3\\©™®36*ÚõÁRÄrjœqT>Xb:e`Ë+QriŠÐ…‰ë•‹\\Ãè9\\GvlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Wb¶à3\0q\,r7\\U•Ea£Ìä~ûŠ¿Ã†1êtƒ†HÜØœUÌåºãsfÅ]›‰A;â’ª¶*‡Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í‹GnÒ/!ˆ±Wa—×WÑôÏ\\-ÍŠ¶w9Y³ UVLîu9.µòÍÄ°”®Ã"ÖMèNŽ|sÐ^TÖmÄG%+Nù^IòHxå‹YÜzm¾:[UU¨ÉŸ£oŒ‘t'"ÍrÌ)’€P¤E2³ód•Ù³fÅQšqP|¨(‚Pë…±¹ƒ uqë.ø:ÚU¯nDè0·.§+\
+b‹ÔÆ:ñ4ËI\
+tƳr5ÅZÍ›6*ìÙ³b¨‹TÔ86{tTÛ ÊŒQ®…0*‘ØåfÍ…]›6lUØô ñ™±UW`zbY³b®ÅDuZâX&)\0ZU qÈœÍ2›®Z7\\U]­h+È¡¦.×5Ä ®*ÖlÙ±TDú@A#\\¬Ø«³fÍŠ»6lØ«³W6lUÙaˆé•›l±=r³fÅ]›6 ¶¶õñT6lqgèà<Uo7Ä&˜Ó FW\\Rî¹³eÓ+[@eaL{faPÙ¬nVÁ7÷É2ñíªIófÍ’bìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b­…-Ó3)^¸cb¨~Ö^¤±ðàT³6lØUov` BY=FåŒÍŠ»6lØ«°ÊÇD¸¿ˆTantßËBÖ5ápÀvVy¤Ëe³ƒ…ùÕüç ´ÕxiOlår¯#ßMªÌÙ³d•Ù³f늸bƬ¸øìÝÇ\,§¡ÅPù²é^™Š•ëŠµ›6lUºåfÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»®*°–Æ.ǤÁV˜ª … 3/\\¹#\\n*ŽFP0\,¤¶3‘ÊÁJìÙ³aUȼ2Ý8渜¹–)SÍ›6(UŠR‡.Yyâ9±WfÍ›vlÙ±UÊåze-×+6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Çs4¦76*ìÙ³b®Í›6*ìÙ³b®ÍŽU-”E1V³fÍŠ»6lØ«³fÍŠ»0ˡ̽qTBV1ˆ;r5Á¬ ÇQ€\0’ìÙ³aC³fÍŠ»6lØ«³fÍŠ»51è+×.ALUO6lØ«³fÍŠ¿ÿÑóþlºeb®Í›6*ìÙ³b®Í›6*ìijnZƒᾋq WÀy$sA]Y5¿\\ ‡zÅÒMöp“uº‘EZÝÂ5N+u8m3cKnÍ›\,\
+šaCY°C[ÑkñWfÍ›vlÙ±UH“™¦:h¸c#~¸éeõ1U\,Ù³b®Ë©ÊÍŠ»6lØ«`Ó \,•8 uÁž° LP×–MNVvlÙ±Uñ'3LVx}1‰Äþ™®>y½L\
+¡›6l*ìÙ³b®¦lZƒŽ"qWfÍ›vlÙ±WfÍ›vlÙ±WcÑ9œf)ð8«™ F¸ÖrýqòÉÏÅ]›6lUØôr1™±UÌÜq¹³b®ÍŠÁ ˜ÐeMˆÐâªx¤mÇÍŠ®väq¹³b®Ç*òÆãÕ¸â«H¦VY5ÊÅ]›6lUÙ†lت³=V˜ŽjæÅ]›6lUÙ³fÅ[pΪ!÷¼SÕjS\
+°õÊÍ›\
+»6lتø͆/*2S 8œÕ8«oJíÍ›vlÙ±WfÍ›v8©¹CwiŠTsfÍŠ›6lUØicr‘!\
+óV˜ª¬íÍÉ!mǧÈà1×ǧÄ`*=r³ØUÙ`Tåfb«Ýxã2É®`*qV³bþ†ÕÄØ«³fÍŠ»6lØ«³fÍŠ»6lkn²©'A‚TÔe³–ë—*ðb3vlÙ`W¦*ÖlÄS6*ìÙ³b®Í›6*Ùbv9Y³b®ÍJcã§-ñIÀ1U Øä^G3¯Š­Í›ª[¦*·6Yv9X«³fÍŠ»6lØ«³fÅ¡„ËŠ¨æÁZ˜…p>*ìÙ³b®Í›6*ìSÓøybxm£À·OÁº`&’7Jsd¯WÑc´‹šõÈ¡Æ2Ü)ÍÙ³f‡fË\
+Nb)Šµ›6lUÙ³fÅ]–Mr³b®Í›6*ìÙ³Sv+ ¨Ä°e­À‰H8ª‡L¬|­É‰ÌUÙ±ën™L¥zâ«rÔTÓ+-M qUÏf)$œñ<UÙ³fÅ]›6lUVÝy8;P· # £~ \\]™À¶ÍPè…Í\,Ön«Ë‰øá“ß+EÇ\
+¥9³Ø«³fÍŠ»6(°»Š¨¨ÆMŽ*‰ÓÜ$À·L2Õ§ŽU0:f.[©ÀFöv¦³fÍ…Ç#q5ÆæÅU&“Ô5ÄófÅ\\ 2ɯ\\¬Ø«³fÍŠ»6lØ«³fÍŠ¶½qi¸ñÄ3Wv+·Ä³LU'lJu¦%Èæ\,O\\RÖlÙ±C²èF\\b¬0uÜ!P0Ái¤¿6lØPìÙ³b®ÍŽ±Þ˜ºD\
+Ôâ¨lÙg®V*ìÙ³b®Í›V‚¸ªÜØä^F˜`º[2sÅRÜÙn¼IX«³fÍŠ»6lØ«³e¨äh1ÏN¸ªÌÙ³b®Í›6*ìÙ³b®Ë¹X¤4å¾*ºèÙS€n™¦4m±2k×k6lØ«³bŽœEq<UØó+0âNØÕ4ÌËÄâ­e«5•›E5ôòŽ‰< Õ®ø¤¾kŠrÛRÍ–»œ4SÅP™³fÅWF902êÐD††¸´—M"ñ=1d­Ô3fÍ‹e–®V_×k6lØ«³fÁ&ѸsÅPê¥?Ó(G\,зà‹ÉVJqÅVOLj¦#]ñ¤“•Š®zWlȼØ(ïÇÄÜ7ÅSwòìé­Û\
+$ŒÆxœ™IæXšÌCÜ ˆ\\È%rÃQÍ›6*Ù$õÊÍ›vlÙ±WfÍ‚­- É ÅP¹°]í›Zb®Í›6*ì4B$‡ŽâÐÌSlJ¬‘xµ1˜ù[‘®3vlÙ±WfÍ›v/mrÖæ£ÍŠªÏ1¹K6lUÙ³fÅ]›6lUÙ³fÅ]Žài\\n\
+IW…*…͘æÅ]›6lUÙ³fÅ]›6lU°iÓ1br³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b¨Û[‘=ðnk•Ž•ß[B2°L…Jí±Wf³b«ËôöÃkO1\\Y¯&˜Nœ®˜(F_j2_·) plØUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›‚1!¡Á3Zª­F*€Í˜í›vYËN¸´±ÐTb¨|Ù³b®Í›6*ìÕÍ›vlÙ±WfÍ›vlÔÍŠ»6lØ«³fÍŠ»0Í›Wôjµ† †@R‡?\\\
+·0ØfÇÄBº“Ò¸U3ÒôK‹óð©¦3RѦ°j8Û= ùaåË=BÈL@åA„?›:leÐPdøvaÅ»Á:bö÷‰HAcLnAš*{³.Í›vlÙ±W`»x9Œ0d7"1€¤!æOM©‰â³ËêâXPìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í—C•Š®Yzfg-Ôãsb®Í›6*ìÙ³b®Í›6*ìazöU4Ày±Túã]iS5Â9›ÆæÀ+³fÍ…]– VlU9·»DŠ‡®ÜÈ$jŒF§+ ª"Ñ9Èê6ÞˆÙ|2ÁúÂÊ€تO›6l\
+¼FN4Š`Û^.xœ×Ð÷ª6lØ«³fÍŠ»6lØ«†-ÄSÇs8«G*¹³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›51WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vl° ËàqU¹³fÅ]›6lUÙ³fÅ]›6lUت¥V¸–-ÐStL„›Œ ç|R9¸ \
+¤Ã‰¦V9Û‘®7\
+»6lØ«³ Ø"Þ çDÅmÊ>X‡¦H"Ž˜E?Û8¯QiÎlØUÙ³fÅ]›6lUÙ³fÅ]‹ÛÃêb2ÁèÔ8ª”èb4ÄI®Ô(MF\0Å]›6lUÙ²øž¹X«ÿÒà´ÄŽjœ¬UÙ³fÅ]›6lUÙ³fÅ]– 2³b­–'®VlØ«³fÍŠ»-M r³b¨‡Ÿ’ÓàNøÌX8¥1UÙŽlUÙ³fÅ]›6lUÙ³fÅ]‚’×’òÀ£l·4N8\
+B… 2²É©®V;.¹Y±WfÍ›vlÙ±WfÍ›vZ©n™Xa¦"3|XÊd+ÔcpçQHÇÙÂs×m]ÈåfÍ…]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lU\\CU®"E1Q51kŠ\\1RŸ$1BûS)æÅV:ŠâdPâ­fÍš˜ª;O‘c$œNöA#íÕŠå\\U¬Øº[3¯!‰úf´ÅVfËe+×+\\¨[¦f—®\
+µeq[®vÀʶ´»6lØX»6lØ«³fÍŠ»6lØ«³fÍŠ·L¬-±˜«³fÍŠ»6lØ«²×®U3b©’"ßN¡NØÑ#‡Ì[®\
+V³fÍ…]›6+ |ñU\,Ø鉦7vjcã;àïA\
+Wª]›-…VvlÙ`Wk6.œÆ/Pà!$Û¦–f®YÛ+\
+›6lUÙ³cÖ&nƒY˜b²Åé\\KUõ)–‘òÄqë!QLUi9Y‰®lUÙ³fÅ]›6lUجs´bƒÅÒܺòÅT™‹ãqXÒ¦˜Ç8ªÜVßÍŠªÏJ퉨©¦Uk˜b¨ù-bæ:à \\ܳ/ CvlÙ±W`‹h=jà|e'§Zà)ySÒjc '®+rüÜœG\
+™‰®VlUص»„;â9±UYØ3TbY±HÔp¾8ªÎ'+$Rh­és¶Ìž›ðÀ)"”ófÍ… €OLZL|«roŠKÅœS_ssê­0 ¹U\0qÀØ«³fÍŠ»6lØ«°M¥ÓZ·%ÀÙ±TÊóW–èqc¶æÍ€\
+I6ìÙ³aB¢8Ƨ+6+nÍ›6*ìØäBý2™xšb­fÍ›vlÙ±VÇ\\$4NX`·¸ U ›6lUÙ³cÄLw¦*«¡6gÓ Ž¹X«³fÍŠ»6lr¡n˜ªÜÙdqë•Š»6lØ«³fÍŠ»6lØ«³e¨äiŠILUK6lØ«)ÐݽZrÈõè»é\\N9Þ1E4Æò«Tà{UslÅ9ˆ+Ôaå¬ñztl wé•øqÒBU›1Í…Í›6*ìØ»CDçˆb®Í›6*ìÙ³b®Ç*éÁ–nˆ§–*ƒé›æ¬iÅ]›6lUÙ²ÕK ·B†‡[›6lUXÁEåˆáˆ`a¦b­©¡® šãÔN86*ìÙ³b®Í›6*š@Ñú{õÀsICEéˆ#+®\
+WfÍ–p«Y±æ2q˜«²ËvÊÍŠ®Fâk†Qê…†æÅW;sb|pK[€œ°&*gb¼{b•\,Ù³b‡fÍ›_q`qk™06lUÙ³fÅ]›6lUÙ³fÅ]–¦†¹Y±VØò9Y³b®Í›6*Ž´‹ë ¯†žpf“:Âç—|SR’9 Wî©bt¦§ÍZáWfÍ›lf-Ë+6*Ø48%æå0.jâ®Í›6*ìWÐn<±\,.(œqT6lÇ6*ìS˜ãLO6*ìÙ³b®ÁÂôz^žÍŠ¸æÍ›vlÙ±WfÍ›vlÙ±WfÍ›v(b!yvÄðI˜¸wÅ-=©HýCÓà×¼ ¥€°; ´{ êBp·-¡ :Œ*Ë|×F4tðÈŽ ¸¾–áB¹¨\0Ù³f®̓­­Ñ—ðÀL8’1Uh!õzãe‹ÊŽSL§¿\\\
+³·Ln ¶uPCaT1Í‚ÄŒf*ìÙ³b®Í›6*ìÙ³b®Í›6*ìR(ýCLOý6®*é¢1bx"æA!¨Àø«³fÍŠ»6lØ«³fÍŠ»6lØ«°T¬7À¸àåzb®Q¨1¸ ˜rÄñWbÖ𙛈Äpn˜á%ÅT. 05#†ºÏÀ®b®Í›6*ìÙ³b®Á>˜ôùwÀØîf”튭͛6*êæÍ›vlÙ±UXœ.dznfà{æ[NQó„2µ»ò^£GjÚwÔH§C…˜6÷Q{ÀvÀX«³fÍŠ»¤!–¸YJŠ Ua4ÍÄæ&»à•PÉŠ¡sf9±WfÍ›vlÙ±WfÍ›\\ŽPÔbpÎ)ˆæÅWúdŠãظ”¦"MqV¦(Ò–Äób®Í›6*ì°§¾ ±…e`êQÅWKšÜªõÀ¥JðE¼Ä0Vé‹_*ñqTÒ˜ÌÙ±Wf͘oŠ¢¸{à\\X’‹LG»6lءٳfÅ]›6lU°HÊÍ›vlÙ±W­þ\\~a~‡Ñ”íJc0¼õ˜#ôÕ«œœ1^†™D×®K‰»qÍ›6E’.ÞÌÎ*1“Û˜M Ó.{KP—›í‘³l¶¤lqBq¹&.Ì3e\\UTÀxòÄpÅ\,tl/n§k6lØ«±e€°ä1 ÀEâpC‘CL¬s·#\\nvlÙ±Wb€NøžX4ÅQ²¹eÉÆà\
+ìÙ³aWfÍ›vlÙ±WfÍ›vlÙ±WfÍXù\
+â«3e‘L¬UÙ³fÅ]›6lU …‹¹c¾76*ìÙ³bª‘Hc`qk›ŸXSæÅ]˜fÇ ©ÅShôÀÐz¾ØPÉ#ã» oÃÛ¥5bp ê“]fÅí õØ.½Ó~­\,m VlÙ°«³fÍŠ»6lØ«³fLjÎ*³6YÊÅ]›6lUÙ³fÅ]›6lUØ6(T¥p*³ÀRÜP‘•˜šæ‡fÍ›vlÙ±WfÇG‘¸®äጚ-ÄQú¬´\\U\,Í–GC•Š«Àë‹?0b:f\,N*ÛuÆæÍŠ»6lØ«³f¹dŠµ›6lUÙ`Ó+6*ìÙ³b®Ì7͆ZM˜¹™Ct®iP&QR6ÆgIÕ<¹6~¢õ¦@"²y˜ªŽ™ÌKvF4…Å­äàÃ*xZâØ–MŠgssTÛ I©©Ë.H¦7vlÙ±Wf˹GvlÙ±WfÍ›v>7àkŒÍŠªÉ/©‰fÍŠ»6lت-2`V4Åã–‚˜‹œ_ÿÓóþlzF_¦fˆ¯\\UflÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›v=$dèq™€®*ªó³õ8–?Ó8Θ«³fë‚ ´iÅPÜHÊÃy­Ö5¹\0l\0ڬ͛‚¬[›ÍUÛb®Í›6*ìÙ³b®Í›6*ìÙ³b«Ä”ÆÙ±UHSÔjb×0zC|mœ‚7©ÅïçôÅP†lتiop‹% +1'\0V™aˆé‚“j×$rÛË&½r°¡°HË.O\\n("$WS͘í›vlÙ`Wk.‡Kvc†"Ä\,\\Ž TŸ6:AF#…]›6lUٱʼ±f‹Š×CæÍ›pð/!€Ð× áÔcâpQª\
+8×–”\0Ûb×óm°15‚ìÙ³b‡fÍ›v/…†j⫤<q¸à¥ºcH¦*àiŠ ˜\
+by±WófÍŠ»Ø"»ŽX ’ÍF%C0»h¢´¢ødb*Äã^öI‰;b\
+ür"4ÈÊÝ&ìq¹Žl“À©¦/%¿åˆ)¡®/%ÁuãPù9Ñ­mWM2ÉNtÈ6[ÙU=0~*ë¹}I :WæÍŠ»6lØ«³fÍŠ»6]V*ìÙ³b®ÁQ\\ðN'æÅUèÄã\\ò5ÆæÅ]›6lUÙ³fÅ]–r±HH ¾*°‚:åb÷IÛÅ]–Ž™Y±W\\Ù³b®Í›6*ìÙ³bª°GêU¶”7†% ð9R¿6®*ËW^…¡áµi‘[¹’³•Ä+›""&FD»6lÙ&.ÇƦCA׊Á'¤Ü±WMFhØ–¹˜Lj0>*]›6_Šµ›6lUØ6ÎØL 8 Šv‹aŠ·q¨1s¹sSÅ]–E2ÐTŠN¼iŠ¨æÍ›vlÙ±UHŸÊ‘¹ã3b®Í›6*ìÙ±t·.¼†*¡›\,Šeb®Í›6*ì8´’/N× òÃÐ⨋¥¾ –I=r±WfÍ›v+„;âY±UIX3Tbyt®V*ìÙ³b®Í›6*ìÙ†\,ÑŽ5ÅVDx°'ÜÈ®¢˜_—SŠ´sfÍŠ»6lØ«aˆèrË“Ôãsb®Í›6*ìÙ³bª†Fuã‰âÖäybnjƘªÜÙ²×®*ÖlZe\0\
+b8«³fÍŠ»6lØ«³e…-Ó\,£/QŠª[8Gâ·²\,„À™°RmÙ³fÂ…ÜÍ)Í›vXé•‹[\
+µ*ˆ#®V»P­¶Å'gfÍ›;6lØ«²ÔÐåfÅU •ÄófÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]–·L¬¦À'jb\,Ò©^¹Xe©ÚˆØc(®*ECæÅg‹Ò4ıC±Ü +ÅÑiŠ©æÍ›v*°’+‰b«51U›¡Û\,æ„ãXÔ×2š⪲ÃéŠâ8¬“z‚‡Å]›6XRzb­fÌE3b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í‰=F ã‡? X'<U#Í‚¤´(Üp;¯LUnlÙ†*ìØ»BòÄ1WfÍ›vlÙtÅZÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*‹·»0©_ ç‘'›vlÙ±WfÇp4®7U·OQÂà½BËêà7Ž·N@Øq©\\¬ð€:ŒU#Í›6*ìVLƃÅ­æôMqUi¬Z!S€ðt÷ÞªñÀ« ¾àbO6YR¦‡+vlÙ±W\\Ù±H;…8ªž=– ½³\0þV㊯xŠŠâX\,°tßb’ìÙ³b‡fÍ›vlÙ±TÂÞ†3€\\N:9Jm‚eˆ加±Èå F76*©\,Í/ÚÄñȼ1Gƒ€®*£—Äœ¬:µ†&Š§®*’ãÙ(+ŽœÓ¦\\ŽqUÙ³b®Í›6*ìÙ³b®Í›\,uÅUÒå‘xöÄ ©®\
+UW„©ÀàU<Ù³aWfÍ›vlÙ±Wb‹'Le3\\U£¾lWÐjW"˜«Y³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅU"fSðâ³O+.vÆÚ°¾½e#lU qG—šÓÍŠ»6lØ«²Á¡ÊÍŠªÈáÀijfÅ]›6lUÙ³fÅ]›Š>x×^˜ªÜÙ³b®Í›6*ìÙ³b®â­q±¯#ŠJÔÛ©+”é–\\¹©ÆfÅ ™€<5XE0\\weŽcS\\%¬r7\\nl(DM `)ófÅ]›6lUÙ³PæÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³ ±Ž5ÅPÙ±î(q˜«³fÍŠ»®?Ó'):à¾JA‘LQ_ˆ¦U6+\,@\
+ŒRìjk•–9DS;6lº²òÅPY±Yc¡Û"˜«±HÔO\,1«n(q¹‰®lUÙ³R™±We«qÊÍŠ«‰ö¦"Ƨ+6*ˆ¶›Ñ`Ø2÷RúÂq¼Ø)]›6l*ìÙ³b®Í›\,)=1UÑý­ðÀ ¨W|²äâ­ÊjÛc3fÅ]›6lUÙ`ÓŽ Ë\\Ð\0‡ªë•‹ÜÒ»bUÙ³fÅ]›6lUÙ³fÅ]›6lU£•IË¥s«êßT}4¥xç‰Ìnv÷Öäx}2Ûb©=ÐV§Ž$9nܘœZÞ‡®* E2±{€+¶!Š»6lØ«³fÍŠ¢í#w˼„&ã†OLâ³Mê BæË9XPìÙ³b®Í›6*ì§ÞýUƒx` ØóVW}æÉ.!ôEiL ¡Ý¢³)¾GñÊìŸdÓ#À*ƒ!#iŽ³"I/$Â̶bÛœ¬ PA6ìÙ³aC€®b)ŠÂ;æ˜\0vÅV+S(åfÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÕÍ›6*ÿ\0ÿÔáv®«×¸t#l.­2ù®=r³f®͛6*à+Šˆª1!¶.’ÓZ`a¾&E0o¬¼pššà FiöŸY4ÁWzO¢+\,o~ªkƒ®ua:Ó\
+g^&˜ÜQ‘‰Â)×k6lØ«±ñ'3Lf>7àkŠªÍ¦+ðCHg!qIlŒkËAæÍ›vlÙ±WfÍ›vlÙ±We]±x¢1æ1©Ái¥ˆŒO¼ŠFcS… fÍ–qV³e‘L¬UÙ³fÅ]–»ZÝò®) ÅUÖEãÔåTåb­©¡ÃK{¥A…Y«LZA¤mÝÙÐ`2k•›\
+– 7Y±UC)aC‚–Ð2rÀ8-.È^8ª׉¦7-#\\¬U|kÌӚ߀®"À×–PSCæÍ›vX4Ì¢¦˜(Dâ8ª¯\\n-3†éˆâ®Í›6*ì°*r³LU{­1™e«•Š»6lØ«±t–‹LC6*ÙÜåfÍŠ»¦‡›LàÇ\\^)ŽƒëL²äí‚•¦5$åfÍ…]›6lU^*\\©%ä)‰r=2±WfÍ›v/ > ®!‹G9ŒPbªn¼M1¹lÜr±WfÍ›vlÙ±WfÍ›V‰Âñ758ÜØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lت´dS|Mé]±¹±WfÍ›v/õfã϶!ƒþ¶¾— U›1ÜæÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]˜fÇ*銶WŽ5^¸ÜRìÙ³b‡fÍ›vlÙ±WfÍ›_s9N¼ 0E+¾6è|X:§¢6lØPìÙ³b®Á<—…;â*œ±§m±V³fÍŠ»\,\
+še`½>!\,”8ª‘·`¼»b8o¨:ƾ˜ÂŒUµ45ÇrõøÌ°iŠ¶â‡lnY5ÊÅ]›6lUÙ³fÅ]›0ßÑ•ÅVa…´Ác á~850jé Xœ +•ŠE×\
+¬"™X¤½q<UÙ³fÅ]›6lUÙ³fÅ]ŽD/Ó‹ÛH#;⨫Pµ¨Ä‘¿ÁÓ¼Ä=Wò4›¶Y›6l*¾(ýFãž ¡ÆE'¦Ü±Iæ3oŠ¨c¹šS›vlÙ±WfÍ›vlÙ±WfÍŽU劭͖ËÄåb®Í›6*ìÙ³b®ËefÅW»rÆfÍŠ»6lØ«³fÍŠ¢¬Š†ø°ÂðDSáÂ`iÓ\,»§¤§6lØP캬]iÃPÍ›6*ìr7\\nlURY=C\\O6lUÙ³fÅ]›6lUÙ³cr4ÅVæÅ净®!Š»6lØ«t®V(£mñ3Š»6lØ«³fÍŠ»6lÀWpË*W®)£Ž]0n ±ñ:â©n ³º6ÍÈ`lؤÝyxnŽø*ÙÖ8ýé…8ñ+L¤ß5÷ú­\\G68!a\\([›6>8ÌÄb«3b’Äb<N'Š®N»æ~»csb®Í›6*ìÙ³b®Á–J à<R)Lf£nuâä K¯¨õ8»[¨Zâ¨<ÙdPåbªˆœ±®¼M2ÕÊå3rÅVæÍ›vlÙ±UH„¼I'ÖÂxd_Ò8ª´·FF® ÍÈ×›vlr©l¦^8ªã!"˜ÌÙ±Uh­žaTÄÊ”4=pÛG¹HA…÷¬V+Ðœ\0ïJ‡ÁpÃÍ+Tr4Á©/¢œNA0¡¦V[šåb®Í—C•Š»-V¹”TŒ3»·Hb ½N H qLf;‘ÆáC³fÍŠ»6lØ«³f½2ʕ늵›6lUÙ³fÅSH}6ƒ~¸XÛ˜1 ¬UØâäŠW›vlÙ±Wf˦˜¸´r+Š¨/\\=Óæ…P‡§L"aÄÐæ GC„D_2’06bI뛺™°fžŠïGÆßƱÉE銡rÕŠŒ¬Øª¼×M0âq‚+˶'†Ö\\d‰ÀM*UȲ°UÕ·¢j0.vlÙ±WfÍ›vlÙ±W`³81ñÀ™±WfÍ›\\Ä×óijb®Å΢€í‰æÅ[&»œ¬Ù±WfÇ*é™”¯\\UnlÙ±WfÍ›vlÙ±UHX†½ÚŠ0(4Ç4……¬Í›6;6lÀWvZõÇ4l¢§¦3Le¶.c\0!âpj]V.'\0ž¸£EÂ…¦sSQÍ…]›6lUÙ³fÅU­ãlÉéµ1¨å Fgr槫Aª6Äå…¢;âösˆŽø6/NöQï… >l<Ö´‘bªËÐávlÙ±WfÍ›lâñ°Ðà|°Jî1Tl±*®ØdcŒÅ]›6lUÙ³fÅ]›6lUe\
+ÊwÁw¶iUp®9 f£÷/ ¡8UG6lØz9CQ”ïÌ×)W‘¦6Nž*†Í˜í›vlÙ±WfÍ›le³rÆæÅ]›6lUÙ³fÅ]›6lUÙ³c•yUnizy¼; -uâra䧌?ï)Š¥zžŽÖ‰ÈŠau/6ˆZÜð¦ræêqV³fÍŠº•Í‹Âœ±)LUnlÙ±WfÍ›vlÙ±WcýCJc3b­“\\¬z'3x¸ŒUG6lØ«²êr³b­ƒC\\Q¦\,)‰fÅUá§|d½qŠÔÌMqKX²NQiˆæŘ?zÔ9W1zgo'¦ÕÅä”M ùâ¨^ JÓlnL/4ÈVÄH´­2E 0jì0±·Yø_‹Årbé‰HU¿„DÛ`<VYšcS‰b».™‡\\ȼ+…LÙg+®*ìØ0æà VQ¾*—æÅ®P#1Uà líÕÖ§\
+±tºdª½ò*ýœyZCSŒÅ]›6lUÙ³fÅUR^"˜ÂÛÔcsb­’O\\¬Ù±WfÍ›vlÙ±WfÍ›vlÙ±Wf®lØ«²ÃÓ+6*ÙbÝr³fÅ]›6lUÙ³fÅ]š¹³b®Í›6*ìÙ³b®Í›6*ìØøב¦+\,<qT>lÙ±WfÍ›vlÙ±VÁ¦bIë•LØ«³fÍŠ»6lØ«³fÍŠ¯EåšEã— ¡Å.(p*6lØUÙ³fÅ]›6lUÿÕóþlÙ±WfÍ›vlÙ±WfÍ›\\ª[a™Ð¦>\
+sLáÎ*¥›6lUkãS§û[b‘ÍÅiˆ1äkZ\
+NV[B¥8\
+p1´Ò–lÙj¥¶PºàÀœsz$ˆÂöB½q¸«³fÍŠ»6lØ«³fë–E1V³fÍŠª$¥3I)|O6*ÝNVlØ«±èiŒÍŠª7ÇÓTŽ¸¬\,ß.v¦¨fÍ›\
+#”陘±©ÆæÅ]›6lUÙ±OE©Zbx«³fÍŠ»6lØ«³f˦*ÖlÙ±WfÍ›vlÙ±VÔÐ×y‹\
+b9±WfÍ›vlÙ±WfÍ›vlÙcU|5Äqs'ÃLCvlÙ±WfÍ›vlÙ±WfÍ›v*Š)¾%– «\\V8yâ8"øb«$„ljbóÌ$éˆb®Í›6*ìÙ³b®Í›6*ì°+•ŠÆE1U*S6[uÊÅ]–NVa¶*¬ê×Ç'ln*ìÙ³b®Í›6*ìÙ³b®ËUäi•ŠBhÀâ«å·1Šâ2êpâƒ-Ó\0V³cŒdcp«³fÍŠ»‚¦˜Ü°i¾*«\,\\q{HXPã1WfÍ›vlÙ±WfÍ›vlÙ±WfÍ–N*Ö>!É€Å^ߊòÄc<XUwn± #®\0Áw7¢0—fÍ›\
+›6lUØ"õÀù±UiØ1ÛÍ›v- ^¦#ŠG)¦*¾h=<C–s ßÅ[» ¶B½F:‚z`»çFQÇ 3fÍ…Q6ÈNã*s¾]¼â!CˆHÜØœUnlÙ±WfÍ›DB@â ¹Ì 2±WfÍš•Å]ŠC1„Õq:S6*©$1©ÄȦ+ \0ïšj¶*¥›6lUÙ³fÅ]›6lUrFd4\
+¦º¤ŸL½M‘¤ªt¨ hqW—’Ó¦l\
+ìÙ³b®Ë™Y±VÉ®VlØ«³fÍŠ® QǦ7vlÙj¼1V³cÞ2q˜«²ÔTÓ+-k]±TOÕ ZŒ †˜a ä-\0HjÄâ­ Xãˆe×hæÍ–qV°Î×K7™Gl\,"˜gk©˜"1øà7Ñ"º¥Î¼¯†7íɉñÆáC³fÍŠ¢-£ZãúliŒW)Ó(šîqUE«S4ÑzGj@pN)|áŽØª-r°]²RNm‰ÅZÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìµ9YjhqUIcà+‰bÒÉÈb8«²ÃS+6*ìÙ³b®Í›6*ìÙ€®jSv\,Š\
+â8ðÜE1U‡6lت¤0´íÅ78é {f£Š_K¸[yƒ·L­]%Ó†L=-i uÆfÍUmÔ3Pà‹x•®B‡‚GLµ‘•¹¾*kV±Úé÷ÂUÅ&¹’¶k‰L\0PÝ\\™Y‰®l*ìÙ³b®Å­“›€q|rÛÅQ7°ú$S'®-qpgëˆ` .Í›6;6lØ«±T“Š‘‰fÅ\\qH$ôœ6'–1U[‰}fåˆâä/± UÙ³fÅ\\rÊ‘„€ÛâÓ#lU ›6lUÙ³fÅ[›ãÌÌE1<^ÞXÓP;æÅŒ~Ùc1šbªy³fÅ]›6lU©‘y @Š`˜n½5+˜Ô×®9œÏ Èü s;ó«3fÍŠ¯øe;r8ÜØ«³fÍŠ¶¯L¢k›6*Ø45ËwåÍŠ»6lتwgOnKu¦H(ĵ™P±„×\0\
+Îò$ì1\,ØUÙ³fÅ]›6lUÙ³fÅU­ˆ]0MøMŠ` ²ÄõÁJÖ9W‘¦7£ *é¡ß‚®¨@#â®Í›6*¯«Ì*£e*hzáÆ‘{\
+VL-¼eyY—¡8ª†lÙ±Uñš0É\
+F†Ø%/D‹d 5v¡d4ÀøòÆVß\,Ep¡HbJby°¡r¹CQ™Ü¹©ÆæÅ]›6lUجS˜ºbY±Uin ¢‡Í›EÚX=Ø%2¥²xi’ÙW—|mî ³¹eÅRÆ^'+íÈ׊»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ«À@ÉZ§™D×»6lءٳfÅ]›6lUÙ³fÅ]ŽASLnZš⫤N8Õ4 â’·\,KM'’'„×\
+òêr±WfÍ›vlÙ±UE–5—ŽZÉLÎ 8ªÌÙ³b®Í›6*ìRL.zŒO6*˜^ê²^¨Gè0¿69V¸ªÜÙdS-P·LUnl²¥zåb®Í›6*ìٲȦ*ÖlÙ±WfÍ›vlÙ±WfÍ›vlÙ±UÈÜMpÈ_OÂäNY8â«\\Ô“•›6*ìÙ©\\wÖ˜ªÜÙ³b®Í›6*ìr!sAÅí\\#ÔâªoŒÐã0uÈY!€ˆ¡¦\0¥¬Ù³aWbš6'– 1UkƒS´¾{3TÀä–Æâ©ÔÚÔ—1qs„Çs•\\Ø«³eÐåbªÐ?d†¦¸ÌØ«³fÍŠ»6lØ«³fÍŠ»6lتø߆9åå‰fÅ]›6lUÙ³fÅ]›ˆ\\ÐbòÙ´kÈâ¨lÙ³b®Í›6*ì°hk•›L_V•âô‰Û Žù³b®Í›6*ìÙ³b®Çs4¦R©cA‹fQSŠ¨bÖê¨q")¶eb¦£MäŽ5L)“ícÚW#~˜–*ìV)Ú.˜–lUs¹sSÍ›vlÙ±WfËQS‹É®*‡Í›6*ìÙ³b®Í›Š>f˜ªžl4k5T®8¡8-ZÍ›6vlÙ†*¬–ÁPY†8’LiŽK΃CΞ›SÇÊþ¡®3vli\0”ï—yn!;b¨LÙ³b®Í›6*ØËd#2RGSQÍ›6*ìÙ±Ê*qU´ÍƒR!L2€vÁj¥‚m`ð6/o9„ÔaU÷vþ—LN;v“ ÇOqëk2ªïŠ JMNigæ)ŠÞJ¯Óâ®Í›6*ìÙ³b®Ç'\\nlUZ@)¶#–Xœ¬UÙ³\\²¤b­fÍ›vlÙ±VÁ¦[?\,nX4ÅZÍ‹›rq)Šµ›6lUÙk×+6*ÿ\0ÿÖóþlÙ±WfÍ›TŠ2çlÖliƒ´ku”üXukQ<1V“A–ñ2uà >\,ƾ8ý^5ˆ€0^ê”æÍ›\
+»6lØ«³fÍŠª¤ì‚ƒ'‘©ÊÍŠ»Yçñ`\\°Åzb¨ûòŸ³…øæbÝq¸É;»6lØPìÙ³b«“®øùHí‰f®*ìÙ²À©¦*ÖlUâ*+‰b®ÍŠBœÚ˜ùâôñU Ù³b®Í›6*ìÙ³b®Í›6*ìruÆæÅSOU=:akš²¹¬\0RIvlÙ°¡Ù³fÅ[ "˜–lU³•›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìØ¢GÈWËÄâ«sfÍŠ»6lت¬c—\\ÒGLlf‡HGâ¨LÙ³b®Í›6*ìÙ³b®Å¡‹™ß^¸¿«ÀmŠBÉ!ÛÇ;—ÜãqRìÙ³b‡fÍ–k6lZ;g—ìŠâª9±Y`x~ئ%Š»6lØ«³W6lUÙ³fÅ]D/Ó‚ !F* ËÄÓ+!«c1WfÁV°z¸”ê¨1´Ò–lÙ±C³fÍŠ»04Í›lšãâ`§|O6*‹y—ÕÍ×vl²)•Š»6lØ«³fÍŠ»[ÁꌋCpbØb²DàÔÆcùšœn(vlؤ@¾*§›˜\0vıWffÍŠª´å—Ž%›6*ìÙ³b®Í›6*ìÙ³b®Í›6*º1ÈÓ›Uã\\ :b¢å©LUI… 2²É©®V*ìØ¢ÄXW8«²É'2ŠœckŠ¡³f9±WfÍ›vlÙ±WfÇ"ò4ÅÞÉÐr8¦‰CfË"›eb‡`›$Wz7L ŽV(j1T}ôHŸg ±ï+?SŒÅ]›.™X«³fÍŠ»6lØ«³fÍŠ¶ 3O\\¬Øª¬b£n¹ƒS(6lØ«³fÍŠ»6jW5)Š»6lØ«³fÅ¢€Ê*1UtmÀ×)—‰¡ÊÅUf—ÔijfÅ]ŠÁNb½1\,ت:ñ”S†Ë$ž¹X«³fÅE»•çÛRÅíבÄ1ñÉéâ­Ì(ÔÄñÎÜq¸«³fÍŠ»6lØ«³fÍŠ¶ :eî縵N*¸3E·Ž$wÅ®$±UØ¢\0zây`ÓmÅ76lUÙ³fÅ]›6lUZ½CLd©éµ3$†3Q”î\\Ô╹³fÅÍ›6*ìR8Œ1<k(ŒïŠ¬–‹sˆá•äŠé¶à\
+ìÙ³aTUŸß »HÂ|8Z 2˱êpRoeöêÀ8"ú)cn -s7ª(CfÍ›\
+»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«€®*ð”8šìF ¸pÑŒUŽ ‡ˆë¦ Ó@3¨=+Šµ%Œ‘Š‘H¦NõhÌéy…|$Rµ™³fÀ—fÍ›vlÙ±Wc£NgˆÆã£~ \\U|±¶9£„ÉÓ<Þ®2)Lx•ZèPÓwækŒÅ]š¹³b®Áš}ºÜÉÁ°)Ír^¸ª'Q´ÄtÀX½ÍË\\š¶!Š»‚s ¨Ä³bªÏ1gç‚í¸\\}¼.Ç$Œ0Q—Фg\0ãÚF~¸ÌB—fÍ›\
+›6lUÙ`Wl¬µ45ÅW<e78Ì^Yƒ­1 Ur/3Lt‘úãc~ \\Ri½\\UG6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ®OLiÁHoˆ¹äj1U¹³fÅ]›6lUÙ³fÅ]›6lU²ÄõÊÍ›vlÙ±WW6lØ«²À®V9[‰Å[1+H¹ŠãÚpV˜È¥à)Š©„ü°D³‡Z`v55ÊÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›œ¢)×k6lØ«³fÍŠ»‹É€Æå©âkŠ¢î\,½€ðL·fTàp6*ìÙ³b®Í›Žb¸ª–l²(i•Š»52×®>JvÅTófÍŠ»äiËSăŠ¢'ƒÓÀØa<Ë$tï…ø«±Hâõ:bx.É€jU\
+ËÄÓ+Ï)(½ó\\Z4‘銡³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ¸`¶u)Nø/k6lØ«³fÍŠ»6lØ«±ÈiÍŠ¶Æ§ ´ÄY68Y‹ÛNa5\
+£õ P‚£\
+p}Åïª)€!%Ù³f…ɹ*xB l¦†¸&[€éÇB6lØPìÙ³b®Í›6*첤uËO´+ƒnBp늠3fÍŠ®W㙟–76*ìÙ³b©®‰h—rñ|’êÚU½µ½W­2!avmÁ7ÚÄ·_ vÊÌI—“0@ kŠ1ùãq̧©Æ匛6lUr¡lÌ\
+V9\0ÄånGm%*1Œjk•›vlÙ±WfÍ›TˆTåH(s#q9NjqU¹³fÅQQÆ\
+W6ÇŠ^+LAN*ÖlÙ±WfÍ›T9œ]í­p:? {ÎXSQÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*© ð`pÂâñdŽæÁJìÙ³aWfÍ›vl°9 VKgy¶*£›6lUÙ³fÅ]›6lUV\
+àœ0¸¹R´U—RpiÌjk˜uÊÍ…‡e+¶Í\\Ø«³fË \\U¬ÙdS+vlÙ±VÔÐà·2S㹘ªÜØå^X¡Š‚¸ªŽlÇ6*ì|rp5ÆfÅQmz̼p)55ÊÍŠ»6lØ«³fÍŠ».‡(`åE)Š se°¡ÊÅU ˜ÄvÇOrfëób®Í›6*ìÙ³b®Í›6*ìÙ³b®Ë™Y±UOXã ë•›vlÙ±Weò#+6*Þç+ ¬íÖT$àÓƒ‘‚ÕO6lØUٱʥºcÌ\
+âªY³fÅ]›6lUm¨qK…)Šé®ªHlKP`_l¨<Ù³aWfÍ›v9 q¹±Tŧ^Âö59ªr±WfÍ›vlØ2ßN–àrQ¶*ÿ\0ÿ×óþlÙ`Wk69–˜ÜUkzÖçl>¬Ó'p¯6*˜i÷"©Äïî=w®­3W*&Ò!!ß5ÔaØ”r˜úeI!Ôâ«3fÍ…]›6lUÙ³fÅW(®S\
+µ8ºÃÌWCfÅ$Nž*ìÙ³b®Í›6*ìÙ³b®ÅmÖ­‰cÑø⨫²\0 ÀX¤’1<%|oÀ×.YLq<ØPìÙ³b®Í›6*ìÙ³bªÖñz­L}Í¿£Œ‚oH×sqë`ÞÕ ›ˆ\\Ðcž®SÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³\\UÙ±íQ\\f*ìÙ³b®Ë¹X¬dŠCi/ ±ÞŸ©¾"Ýqh¦à)T]xšcqÒ7#\\n;6lØ«¦8±;csb®Í›6*ìÙ²Õy U¬Ø÷Œ§\\f*ìÙ³b®Í›6*ìÙ³b®+ˆ \\ õ )Š­ï’=XU¿yO§#xå‘“ìšb©ÿ\0™%‰Ø²=ŽyMØ׊»6lµ4ÅZÅk™â(+Œ F*½Ò1<;Ò\,–ìø]Ã)E銡qÁ¨1¹±Wc•yn)q5ÅQ–ì!S\\3sbs<…Ž3&Ý›6l(vlZ+s ¨Ä™xšb­fÍš˜«³fÍŠ»\,¬Øª÷jŒflØ«³fÍŠ»6lØ«²øšW+æSPÍ›6*ìÀÓ6lU²k•ŽD.h3:ð48ªÐ+‚–Ú©ÈãmÔ¸é.)ðŽ˜ªìr³ób®Íš™±W`ˆíù¯\,EEqqqÁxâ¨r(i•–MMr±WuË ŒtTå¾-qÇöqU^F™™xšc£MNT‡‘ÅVfÍ›UIxŠbG|Ù|IÅZÇs4¦76*ìÔÇ ©¦-<a*‡Í›‹ÈÓ[›µµp9ÅWDü1{õtã…y°RDˆ\\ç‘®76l(vlÙ±WfÍ›WŒq&^&˜èdàk•#r5ÅVfÍ›vlrnwÌâ‡[›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUU^X”´®Ø6\
+z8^ÝN\0’ÖlÙ°¡Ø&ÚãÑÀÙ±Uò76'›…µ*§›OlT`3Š»6lØ«³fÍŠ» âºEƒë…™±VÛs•›ì>xªã(äzc‚µÃkÈ•mp˜=0iY›6l(v?ÓÚ¸ÌôñT6lÙ±Uȼ²˜Pã£n')ÍN*·6lØ«±{X=wãˆ`Ý6A•8•CÜEè¹\\K^¿©)añWfÍ›vlÙ±WfÍ›vlÙ±WfÍ›v`i›6*¸¹"˜ÜÙ±V“Ó+[:…!°;‘ËlRÐRz Ä× ì1ö°5ÿ\0L½-mhLÙ³aBµ¼bCC™=6¦TrÍFS¹sSŠ­Í›6*ìV½fâ1\,e'§ c‰P«6žÑ-N;aµí÷1ÄaQÀ/ªMtk6lØPìÙ³b®Çs'cÍŠ£ÌiéW¾ŽC²¹šSŠ¦o¬HéÀák7#\\¬Ø«³fÍŠªÂ¡Žø›\
+˜:eb®Í˜\
+íŠ<E:âªy`W+­LUnl³¾V*ìÙ³b®Í›\,Û U¬Øog¡Ü]DdT;{ad°<\,UÅÆ•OZÛýa¸ŒB‡®Ò¥˾*¶æÄÁ×aö­:¸ÛN*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*¨±Â)¶éáZ3^¸_8£œUO6lØ«³fÍŠ»6lØ«³S6 ¶Dd%ºâ¨<0ÓtÙo_àZŒ\0ÛèžH¼³‚MNY ÈÄXPÁu Si)¶#aÿ\0›dŽ[æh¾É ”w]›6l*ìÙ³b®Í›6*ìÙ³b«Ö"ý2\
+ZÂuÆM âªY³e¯]ñV³cœSŠ»6lØ«`Wô•ÄÔÐ×ýdR˜…;fËcS•…Í›6*ìÙ³b®Ë]ÎVX45ÅST·ÇÌálĨÁm}Ê/O\0b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìQ%((1<Ø«dÔ×+6lUÙ³fÅ]›6lUÙ³cá\0¸ Ó[¾VßÙE!ãÂl\0Ú»\,»Œ¬ØUQ$!ƒØ>òù'Œ/q…™±¥vlÙ±WfÇF¼š˜´öþCæÍ›vlÙ±WfÍ›v ±EsFÀx¤RÍF*¾î1ÐtÄ1ò¹Ôã1WfÍ–:⨻{'™Kd^ G†Kty!KcÊ•¦F/H31^•ÅPù³f¦*ìÙ³b®Í›6*ìÙ³b®Í›6*ìzF_¦3[È®* E 2±òM\\f*ìÙ³b®Ë\,O\\¬pBÝ1U¹±Åê1¸«³fÍŠ»6Z©m†fR†‡k\,uÊÍŠ«;´Ärë•Š»†/TÓÅídôÚ¸ªÙá0šKÞJ%5vl=Ò¼·>§º ±-gC“I§:à±tÏ×l“æÍ› h­žaUÆIŒÐáæ‹qqô®j+ÊJôÅPy³fÅ[¦V+µ0ÆÃHkÈ̃ ÀM$ Jsb“Åè¹CÛ‡fÍ›vl° Ë(GQŠ­Í›\,\
+šb­fÉ.‡åÓ©`?0i'J›Ó8\,]*M›6l*ìÙ³b®Í›‘\\UnlÇlØ«³fÍŠ¶2Øãsb®Í›6*©£Šáåÿ\0¶u¦GÁ¡® k¦dá„! ›\,©r°%Ù³fÅ]›6lUÙ³fÅ]›b WŠ»6lzÄÌ**³[\0Ƙíøâ«ç^-ˆãä~f¸ÌUÙ³fÅ]›6lUrµ9¤-°ÄðU¤BLU\
+sb× Á©ˆâª‘'3L¹£às@Ü[º`Ø:§¢6lØPìØàŒw¦7vlÙ±WcýF˜ÌØ«‰®lÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙj¥ºb­fÅ \,¢§Å]›6lUÙ³fÅUâ¹h…$î\\Ôãsb®Í›6*­;âò̤Sf®*Ùë•›6*ìÙ³ UQ9&ãÌXŒ:`)W‹‚Õf]2†.\0¦PÍ–r±WfÍ›vlÙ±WfÍ›pÉ¿—®-Òêu¦B1T¸xÅ0ƒH"ßÿÐóþ91¹«Š¯s\\flØ«³fÇ"ò8ªÜØ£§OvlØñ"£Y›1ÍŠ»6le•èqT-3a…ü ÙÂüUغOÇÍŠ¯’Ng›\,b­fÌsb®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*‰³uG«`›ÙÇÃ…¹e‰ÁIk6lØPìÙ³b®Í›6*ØÌTŒ|D¾.üHÛBfËn¹X«²ÔÐ×+6*®òĸšW0I \\R†Í›6(vjæÍŠ»6lØ«³e\\U¢¢×QÍ›6*ìY \,+ˆŒÇLUEÓ†3šNgÅ]ŠBÁZ§ÍŠ¢®d0.lØ«³fÍŠ»6lpBqU¸.Ò×ë¡^¸&Òïêç˜Õî«u§p¿ ®µYi…¸eW³³b‰ 8¨Æ2•48Xµ›6lUØèÍ q¹±TDòrÀùd×+EÚß=°¢÷ÀòÊebǾ36*ìÙ©›vlص¼FV ÅTsb÷1zF˜†*ìÙ³b¨Ë{ÓÈܘœnaŠ«ÅlÒLöA§®]Äh>\,»ëÀEïL«dÀ\0ÀäSõ‰™5ÂŬٳbª+‰åò4¦V*ìÙ³b®Í›6*ìZÞ;qŽé\,A_’G5I´i"N}°¬Šdÿ\0R–1fiÖ™\0cRr0‘<ÙLɬٲ×s“`¾'àr¥~f¹œÓŠ¶Ž™G|Ù±WfÍ›TaA‰ã‹WŠ¯CLkuÊÍŠ»6lwJâ«qñš°®36*‹¹e ã2É'®V*ìٱ輎*³Çr8Dá‹ýb‘ñÀR‡®`+•ŽT-¸Â„BÄrÆO/=±¦SN8–vZž&£+6W7$Šb$×|¬Ø«³fÇ"s4ÅVæÇÈœ 1˜«²é‹Ú v£a…Ťh•-R|Ùg®VvlÙ±WfÍ›lf&¹Y±Wc™\
+Šå Ž-$–˜ª†lÙ±WfÍ›vlØ>ÒÕfBO\\U›"ñb<1¸ªª3‘Åq¯'ÚÁ6rª7ÅŠj2¤”á‚÷T¿6lØUÙ³fÅ]–¬TÔefÅU^vqC‰fÍŠ»6lØ«³fÍŠ»6lr!sLUnX45ÇHœ 1˜ª.[Ö’>fÍŠ»69#L|±ðÅT²ù™Y±WfÍ›vlÙ±WfÍH™ºb«2Á#¦f4ÊÅ[&½r³fÅ]˜\
+戸ªæˆ¨®3¼á’˜vlÙ±W`†Uá^ø/‘¥1V³fÍŠ»¶ŒHÔ8†9¡¨ÅS ›5E¨ÂÓ‹5˸¡ÄqWfÇÇKöFS)CCŠ´Ž™‰'®VlUÙ³fÅ]ŽEæh1¸än \\U]¬ÝEp94Áí|\
+ñÀ yà“MeƒMò³aB&¬~\,«£ìàpi–I8«Y³fÅ]›6lUÙ³fÅ]›YÅëHÇßé2Añ¶*•f¹ˆ¦Øk¢Aòñ“@E9Üc%N L–ëPÚCÊ>¸E"#Ûú‡í`&’Y›6l(lâ/1LK6*ì|JÐã2Á§LU$\
+£¸ã#«™#/Ós€ØÌQÔ®ÇÅ]‚l\
+‰×ŸJàl°i¸Å_Fy*ÃO½± ã^;ç+óý­µ½Ó¬Øœ å?5Í£BljÂ=nýµ §˜š†9d¤ XP ©ßV(j2«›+f¬î'ŽÍ嫈a±Â«6 2Ð0οª\\Û¶Š¬)ËŽU’f$WVÈDHèñÇB†‡ŠÜ?7$bYk[³fÍŠ»6lØ«±ÊµÆ冦*ÑÍ›6*ìÙ³b®Í›6*ìÙ³bª±NÑ\
+ M›‘©ÊÍŠ»6lØ«³cŠ+Å]›6lUÙaŠôÇ$eñ¬8šb­b°Ìñ0âi‰fÅUî¤2µI®!–Mr±Weª–4Xø›ƒWZÊW®V-;‡5Ž*ìÙ³b®Í›6*ìÙ³b®Í›6*ê×6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«aIè+˜©FL<¡§A|§Õ¦ØÌÖ0Ú±S!ÇêáM1•ÌE3)¡Ëmòh[›6lUÙ³fÅ]›6lUÙt9X*Ú0àâ¨\\Øé#Š»6lØ«³e…'1uÅZÍ›-G"Ž*Öl“Cåæ€\\ ¨#níÑø8¡ÂA´>lÙ°%Ù¦lت³\\»¯vÄsfÅ]›6lUÙ³e\\U¬Ø©Ž‚¸–*¹ q(te–'µ›6l*ìÙ±rƒqU Ù³b®Í›6*ìÙ³b®Í›6*ª·¢€í‰’Nç+6*ìg¸«`\,zJS¦%U®UTí±ÌźãqIvlÙ±C³fÍŠ»6lØ«³fÍŠ»6lØ«³fÇƼÍ1U˜y£A£ã‰¢ôÎ: §ƒìšb©®³qƒñYno´k‰b®Í›6*˜i!ZZ6 Õ¬À~IÓ\
+à”Ä܆’ü:ÐõÁ]U\,"†™Xç55ÆáWfÍ›va¶lØ«d×+6[bËËz·åíä Y)Z`̳‚±Ó!f²úÙ'l­S[“Q}ò¾ÅniÔ‡Ãê”fÌrÊÓ\,p›ËÐÓMzæÍŠ»6lØ««‡šf¬\,á1žø]¯¨œ°3Ž$Œ²EÕ.eõ¤/ãˆæÍ…Í›6*Ÿhv1Üý¼®éÑÛETÂ]>ý­NØ7PÔ¾³G{JE–¦„efÉ!èþF¿Ž&£S ÿ\00¥Žk€ÑäVÓP’ÐÕ6òþKÃY r>«J6lÙ4;6jW\,Šb­`ÈhWâ‰'U©–Ƨ+vlÙ±WfÍ›vlÙ±Wa®™h³îØU‚ »h>Ω†¥l‘‡ ñi®^o´qB»6lQ!g\
+©æË"†‡+l\
+æeºšàY׃1Tu¡ÂÓ×´ÄN*ì9±Uhp›[ÜúJF*£8âäbxù›W·LU¬µ1Í]Î/k#\\SJ©gðÔà9W‹SÍqéŽ# ݹ⊥¹³fÅ]‚m$œ ˜bª÷N«ˆf&¹±VÁ¦bÄõÊÍŠ»0Í›N`Ž3O\\(Q1ë;*ñlÞ‘#‘ÅT³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ».™YuÅZÍ›6*ìÙ³b®Åá`§|C5qT|²©Z zæ©ÊÀIvlÙ°¡Ù°LPÄe^˜ªÌÙ³b®Ë¹XèÍ qW2ëÁ8a¶Å]›6lUÙ³fÅQöRPPà{¡ñã"r‡4È×nªxðÛc3aWfÍ›vlÙ±WfÍŠ˜Šâªy³³b®Í›6*ÿ\0ÿÑóþlÙ±WfÍ›v+\0ï‰f˜ª´ì ÛÍZæÅ]†1ï× ±ÜÎ*é XÓ›6*ìgý¥´ÉcHèÝpHÐH•]»1£`l¨ÍUÀ„;6lØUÙ³fÅ]›6lU|iÌåÈœR? §rç[›6lUÙ³eŒU¾'®7p>*ì°+•B*´Šec˜ÔãqWfÍ›vlت'\,UK6(ññÄñWfÍ›vlÙ±WfÅ Ô4˸‹ÓÅT3fÍŠ£­tö¹^CO@Ü°ÔºÓÞMëH[".Ù¤>lÙ²L]›6lUØâõÆæÅ]›6lUÙ³fÅ]›6lUÀÓiIÄób®Í›6*ì°¤åa¤hc«b©fl|À4Æb®Í›\,\
+â­fËâFV*ìÙ³b®Åcp1\,ت´®mˆæÍŠ»6lتek2"PõÀ37'$buÍŠI±NÍŠD òæ\0±B–lÙ±Wf˹X«²Ç\\¬Øª%UiÛ®^ôÌqU¸;NuF«`B) W¦º¢¯åIQ2ɯ\\¬*ìÙ³b®Í›6*Ø4ÌXž¹Y±WfÍ›vX4Å!Ô4Ëuô›TNEFt(hpÚ+å C…·.$rFi (æÍ›\
+›6lUؤR˜F'›L&ÕXý3Ó ófÀ$›vn™³aCd×+6lUÙ³c£^F˜ªÜج±ðıWfÍ›vlÙ±W`ôà#÷À|LUÍ×+6lUÙ³fÅ]–¬FVlUs9n¸ÜÙ±W`ËwUC\\Kš y«NjIÜ^X x†*ìÙ³b®Í›6*ì|oÀ×¢§ ¦*âÞ«c]xå+qÌÍÈâ­«”5£\\»\
+G6*¾$õ(ï‚.lÞ 6Ê°!fRÝ2WuèMÔ­0€‚XVlVá89ðÄ°%Ù³fÅ]›6lUÙtÌE2±WfÍ›v8¥r‡\\]éáñX®!A‰fÅ ±äjr³fÅ]š¹³ ñWfÇ2ߊ»6lØ«±Xb2bXaiÅ#Š¡g‹Ò4ÄpUã‡m°.!]›6lUÙ³fÅ]†¢ªrï…øïQ©JâªïI qŽ41‹×k6lتè͸¤ïÏÍŠ»6lØ«³fÍŠ»6lØ«°Æ S~¸]š¸ªùH\,HÆfÍŠ»6lØ«³eªòÌE1V³fÍŠ»6lØ«³fÍŠ»6`+‹ýRJr¦Øª†l²\
+š¬UÙ³fÅQúlë x…묒^˜6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ²Æ*ÖlscqWfÍ›vlÙ±WfÍ›DØÎ-åz ^ëq\\EÇjä[6*½¾6Û¹Ã(­ÞÉDØV ptÚ–!V»ÔÚá8±®zÍÇl®•Æ`WfÍ›vlÙ±WfÍ›v+ ž™Ä³b©¬‘\,±sp«[†UãÛÅ]›6lUٱȅÍ:XZ.¸ªžXåböÀ1¡ÅTwS^ã ›[áô øpëÅ©‰â@)‡ófÍŠ.Që•›vlÙ±WcâŒÈh1˜¤2zM\\T5$f3CŒÅ&—Õ5ÄñRìÙ³b®Í‚"U#|JU\0튬͛6*ìÙ³b®ÁÚ| 3Q°>9Z=×Mõt>%Ť¹yâ8J»-zåfÀ©ÍšD§ néê=11# Çú%“™ÁJ£›6l*ìÙ³b®ÍJæÇÆ@;â«H¦V-)SÓÅ]›6lUÙ³fÅ]›\,uÅdŽ‹\\UG6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ¦zV¤öð4®¾½’îBÌk3`¡v®Í›6vlÙ±WcÒ&~˜Ìo0N¸ª”©¡ÊÅ&píQ‰â®Å ›ÒÄsb«¤nf¸ÜÙ±WfÍ›L­Œ|~.¸œ ›àÀAˆÁV·>‘©À«ŸOd8œ §ÔƒŠ -fäk…=I~W%þ”«sÆ´ïœÛógNµ²»U¥ í‘M/Í—šT^” A€5MfãVnw S“2±Mb$K±H£2š O·“ÒnYnš#¡Ä±k‰½S\\Gv+è59vĆ “ѧ|R¼Ùg®Vv`i›6*¸¹"˜ÜÙ±WfÍ›vlÙ±WcùíLflUÙ³fÅ]›6YÅZÍ›6*Ý3SŠ*ÔbccŠª¼\\V¸Ž\
+•ÁAq .͘`ËkQ.ç ób·úmÇÅ]›6lUÀWËÇ)M>F®*§›‚§3ŠUnlÙ±WfÍŽy0ªÜVGÁSZ„NC\0ƒLU{Ĩ#\0c™ËuÆâ®Í—C•Š»6lØ«³fÍŠ»6ZŽF˜¤‘ÅqU\,Ù±ÁI銭͛6*ì—<SŽÍŠ¶MNVlت¤+ÉÀà ëAa†£q ŽØ2âøÌ*Í›6*ìص´^³q8o&–‘Ç˾Tª+“ñÄò5ËqF#]›6lUÀW\,©q[` Šâ÷ª¢œpZ ºe–'+6vlÙ±WfÍ›vlÙ±UX“SI`Yj0¾&àÕÃdÔV‡枉\\°˜ºâX*æàJvÀ¸PìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Åí¢C†3QŠ…óÆ#j ;ÒáI#5ðÂs!©Ãk+«%r2äÊ$Z_|žœ¤`lw(™Ë ’*öóê19[›W›*ÄœñŽ¼M3+•ÊcÈ×k‹ÈÓŽVâkŠ«4<W \0ï”Ò–Äë(¹¤R(18g1\
+bÍ…mRI †¸žlءٳfÅ]›6lUÙ³fÅ]›6lUÔ®b)‹Û€Nù®\0lU@`ƒ0ãLzbËi;n±¹ÿ\0bqUØ$i÷'ýÖßvWÔ.?ßm÷b¨|سZN½caôH‚:â­f͘b®ÍƒÚ«\\ËÄÓÓY³fÅÍ›6*ìÙ³b®Í›6*ìÙ±t‡–*¡›’>8Ž*ìÙ³bªÑÏÀSwæk•L¬UÙ³fÅ]›6lUÕÍ›6*ìÙ³b®Í›6*ìÙ³b®Í›\,oŠµ›Å¦#2…;`µRÍ›6vE"út8_—ÈôÄ«oö1¹³b®Í›6*ÿ\0ÿÒóþlÙ±WfÍ›vlÙ±WfÍ›vlk“®2â1 ÆÓJ9³fÅǤ¬‡cŒÍŠ«K'!ˆæÍŠ»6lØ«³fÍŠ»6lØ«³c‘ ôËh™zâ«3fÍŠ»6lØ««›6XÅZÍ›6*ìÙ³b®Í›6*ìr¹\\nlU{IË›6*ìÙ³b®Í›6*¾9 f¹rËêby±WfÍ›vlÙ±WfÍŠÂ;âªY±i€1UÙ³fÅ]›6jb®Ç ©¦7¡®*¯4AV¸šNB˜†*ìÙ³b®ÍLV(ZS¶žÏÒŽ§®6©f=eeÌØ«‰®lÙ±Tu•‰ºÁ—gÕW‘ÀÖ‡ÕN/¨êßZN#í£‡‡ÍÜi[®nG+ S³fÍŠ»6l¦H®*³6lØ«³fÍŠ»-ENVZšU{Âk×-Û–7vlÙ±UE aë•›v)|Í1<R)8â¨ÉíÄq×\0V˜&k£(¦ÀºåfÍ…]–½r³b«Þ˜ÌÕÍŠ»6lØ«³fÍŠ»6lت.É‚“\\Níƒ>؈b½1ʦC·\\Õ+3e²•ØåaC³fÍŠ»6lØ«³fÍŠ»6lÃ|UÙ±QQ‰²•48«Y³fÅ]–§‰®VlU H•8õË@¦7l ÄS04Ê&¸«³fÍŠ»6lØ«³fÍŠ»6lØ«`Tå²ñÇÀmñ÷$Wl CæÍ›\
+ŠOL×›W–SÍ›vlÙ±Weñ8è€-¾¤Q«ß*’©¡ÌíË.Jr4ÆaWfÍ›vlÙ±VÁ+¸Á1^H ÛåÐŒUráÆØ6lUÙ³e\\U¬g« S‰ÈÇÄÍÅQ„\0ÀJ9xâ·sS‰ÆÜXŠ¦Sé "cÐá^ÞkBâØB; $DæiŠ­Ç'lUíÊ\
+⫳fÍŠ»6lÃvZõÁn|»à\,U3)PÍ›vjfÁQF\
+qT.+ê(13×ØB²·ÅÒóBO\\¬x‹…W¦ ½qWL¬VN˜–*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›\,©«Y³fÅ]›6lUÙ³fÅ]›6lUÙ†lتiºqå€.\0¶eÔPc7ûâ’·51òDÑý¬ÑÓ¾(Y›-ºåb®Í›6*Úšpö;ø} §®æÅQL‚âZ'|eͳ[š66Þ_EÃb×—Y ø`T&lz/\,U å…Pù±ò'Lf*ìÙ³b®Í›-›4~¦*…͘í›vlÙ±WfÍ›usfÍŠ»53d–ÊÆÞ[2íNTÅXÖltƒ‹<q¸«³fÍŠ»6lØ«³fÍŠ¢ÆÇnÒî¸pÆÂåcÙ°„¡CÄãpEã‘ð¡Ù³fÅ]›6]+Šµ›1ÍŠ»6lØ«³fÍŠ¯‰ø08µÍÀ˜l ›v9®oLÒ¸ÜUs·3\\nlØ«³fÍŠ»6lzGÏY›ñ”Æb®ÍŽ Q\\n*ìÙ³b®Í›6*Øb2‰®lØ«³fÇ ©Å\\‹Í€ÁçMn<±¢«‡bá TöÈȬ]—‰¦V)?Û4ñÄòJìÙ³b®Í›6*ì[×<8b9±WfÍ›vlÙ±WfÍ›vlÙ±W\\y†ôÁÖšsJ¾ è2®$T{âU/͘æÅ]‹™AJb±WfÍ›vlÙ±VÀ©¦9â(*ráÝÇÏ 50*W›6-aºáUؤªí‰â­Î\
+x”%p&<ÈÄS¬Í›6(vlr­rˆ¦*ÖlÙ±WfÍ›u3b௠CvlÙ±Wc•*+Ç«0ªÃ¶lÇ6*ìÙ³b®Í›6*ìØõZãH¦*ÖlÙ±WfÍ›v]r³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ±ðÓ˜¯Jâ­Ø\
+Ó‡—~„qëL$n¸«—cŽrLflUÙ³fÅQñàk®Xr1¸«d“•›6*ìÉ‹¦ÍŠ¯’C!äq™³b®Í›6*ìÙ©LØ«`Ó(šæÍŠ»6lØ«°M¸NË GLU<õpY5ÊÅ]ŽŒU€8Ü°hkŠ¦«a+…’€Óëµ)‰\\\0*¬QsËš/O*9xf–S'\\*¥›6lUr\,-<ÂAAòÀ®*Ö[ôzàë˜1 U·ûF˜ÜÙ±WfÍ›vlÙ±Tm¥¸oî#ôÞ˜­¬þ™Äî›W\
+¨æÍ›ªC)‰¹ &¤ò/ /Ë]ˆÅU§3‰a”³¡‡ˆë…¸«³fÍŠ¶ 7e‹õÆæª7ê»ç€°_×\0WfÍ›\
+»6lØ«³b±@ÒôÊ–¡ÅTófÍŠ»6lØ«³fÍŠ»0͈U±U¥HÊÁ³Ä×b®Í›6*ìÙ³b®Í›6*Øë†D†£ 1qpBñÀUDõÊÌwÍ…]›6lUÙ³fÅ]›6lUÙ³fÅ]›.™X«³fÍŠ»6lت¢FXWE 1Häâ)‰±©®*ÖlR$¸n)fðeågjƒBdÅXê©sÅA$öeo¡\\Ïö©ÿ\0(ïÿ\0¼›$ÐiqÛ7¦¼Tô ëƒÐD\0¨çüتOoåx¢¤vaEñ»`äÒ-aÜF§þþ%Ë‹àJ°ì2Ö*šì¡èÊÅPä[ð¥<öc]Ñ@=ZbßVPh‚§ÇkRÝ1W+ÆëXÅ|F'«1¼M2ŲG»bþað«7¹4«qY£ŽDž½ñ)´õ ò¢|3·…‘vµ:v‰j†´®ãc³XÀM$U>GüK\0ͤÅÕǧI ¢´¦š Jø˜ÅRv‚h–‹FØ[%y|B‡%B:€XZ÷Ä¥´Y”òPÀW~ø«Ç¢rÁ“éåw]½Ž#˜ÚŒ)Š¨ºq9\\Nº¨Å ˆ:`µKób“'¦'…]›6lUزMÄSÍŠª<œ±<Ù±WeŒ¬ÃG¥¿$®‘xµ0ÊÖp‡\0ÜZ£\0JŽlÙ°¡Ù³fÅ]ŽNøÜ(â¨R)›%9mŒÅ]›6lUÙ³fÅ]˜fÍŠª‰ˆÄÙ¹efÅ]›6lUÙ³fÅ]›6lUÙ³fÅ_ÿÓàÊÅÀq×k6lØ«³fÍŠ»6l©‘y UJ9Œ}1²9sS™×¦6˜«³f¦lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³cÑ9b¨«U?¹1‘¶©Û1rqV\\¬Ù±UHâ2tÊx™:àËQÅšòE~˜Š Û– 0«M×+1ÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»XK\
+ŒO -åP´8ª”¯\\¬rTôÀ輘Unl8“Iã©… 8šcjÖlÃEn$¤ Bæŧ‡Ò8Ž(äì°iÓ+6*Ù5ÊÍ›vlÙ±VÇ\\±)%#l!¹W‰ÛÅ[â8—\\(uk›Ghd”И6ªY³fÅSkEÜãõ+•u Â¤ví”ìO\\nÊöY›6l“fÍ›vlÙ±WfÍ›vlÙ±VÔTÓ ý ±W Ð×½Ï$㊡\\¬Ù±WfÍ›vlÙ±WfÍ›vlÙ±UHÓ–5Åeb¹D×k6lØ«³fÍŠ»6lØ«³c£8¤ªQË \\¬R& ×XE2±ò±˜«³fÍŠ»6lØ«`TàË`"5l 9¤-Šª]8v¨Ä3fÅ]›6lUÙ³fÅ]›6lUØåòŠ‘š¸ª:;… L 3;bY±WfÍ›E¬\
+cäzàCŠzÆœq<UÙ³fÅ]›6lUÙ³fÅ]›6lU°¤åbñ• ¾"zâ­fÍ›ltÅ"‰î[ŠŠœKü·\,PÜs›¦©LÖKüÉsÄõ‹¦bÙ³`ƒ–Cæ¹±ñÐuÅVfÇ?]±KXýYœUK¦<NàR»a†§j¶àS®â®ë‹Û ~¸†9\\¯LUt£‹PeFœÍ327S—ž™®*«%¡Eå°d—~¢Óà (»Wz7L8¼´aä½i‘är†£;ÌR­Ó¤Ç®VlÙ&.Ç!¡ß›F4ŠÔÇ\\…ôöÀ@Ðâ/!L›RÍ›6;ð5ÆfÅQÍ(tÀ'®81˜ÜUÙ³fÅ]›6lUTÎÅxâY³b®Í›\,qV±u–‹Çé›v>9Z?³•sj`Ö±¢òÀJ@A;—58Ði–†˜á8P×Ú4ÇI—â⸵Û\0ª6lØ«³fÍŠ»6lØ«j*qò'bšRV助fÍ›luÇ»‰æÅ]›6lU°  w¦AÜb–¥UêØ2í‘…W«Klœ+€$^-Lw®ÀS&»â¨´·V–8¨‚ñÄÆçk6(ëLO\
+»p`q™±T]ÜâP)3fÅ]›6ZŠšb­fÅ^>8–*ìÙ³b®Í›6*Øb1ë)\\O6*¹˜±©ÆæÍŠ»6lR!SŠ©ä†ÑÚzÓPâ‰pȼGLZ©¿Ú?<nbk›\
+»6lØ«³fÍŠ»6<FǶ0Šb®Å’êD^\0íˆæÅ\\MwÍ›6*ìÙ³b«Äe…F3Å(T às¹ÅZÍ›6*Ú©sA¹Á-c<kÌ©¦k 9ƒ?Lè>µ¥Ý !)pôKÍX“×+¸d`:WÉ¡ØåBÝ1¸´RqÅB‘R½qhi]ñ’°sQŒ˜©FImÏtÀòÛ´[œZ ¯O®-u8•0ª]›6l\
+ìÙ³\\UÙ|O\\¬1X—ÑåßB‰G8†c‚mÐ05ÅTâ‹ÔÆ:ñ4Å¢MÎ%)äÕÅVf¥1[pÀ8­â*LU ŽNÌت%+9¦%*p4Á¬©¹Ä®œ;T`UXB˜ÍzàFë–A®͛6*ìÙ³b®Í›ÇlUn`i›6*»Ôow®ý+‰æÅ[&»œ¬Ø­¼~«ñ8ª–lw…¨06*ìÙ³b®ÍŽEäi–#©ÅT³fÍŠ»6lzF_Y›–%Š»6lتsgª¬Ï\\ Bé‹ŠÅ;EÓd(¥K˜DFƒcä”É׊—fÍ›vlÙ±WfÍ›mO\\^kƒ(¡Àù±Wc•ÊôÆæÅ[få•›6*ìÙ³b®Ì3fÅQ°¢Ò¸Añf)—øªp%LŠfÅ% ±<(vlÙ±WW6lØ«³fÍŠ»\,`¢%ºá>(³:Š¶-Z˜\0ä˜ÌÄ×|ØUÙ³fÅ]›6lUpjcI®lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³`¨cVJœ ÝqUÉïn¹Y±WfÍš˜«³fÍŠ¸\
+㊕ß2uÅî)ÄS¨™Y… ÆfÍŠ\0ž™X6ÑT©-eûF˜ªÌÙ³b®ÅÒ*Šâ+Ôa¬‘„‡ÀU+qCË&¹XUÙ³fÅ]›6lUØèúï˛⪳\0:b8ænXÚWvl²¤uÊÅ]›6lUÙ³fÅ]›6lUÙ³fÅWpÚ¸Ü=©ŒÅ]›jSÅ]›6lUج­‰c‘¸šâ¯vH¦Ŧ“ÔÄqSÍÙ³fÅ •ye0âq[zrß5Àø¶Å*9³fÅéš¹³b­“•›6*ìÙ³b®®lÙ±WfÍ›vlÙ±WfÍ›vlØà…º Unl²)±ÊÅS=%‡*~°‹Ê«…ÐJb5¥ÅÉ›n¨lÙ³aWfÍ›vlÙ±We©âkŽài\\f*‰{ŽKL ›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b¨ «Ãœ¾F”ÊÅ]›6lUÙ³b¶ÖÒݸŠ\,ÇRôÃÝ7ËpyÝUùGÚ?óGüKtŸ.¥ß§«Ó§´cþ7ÃØm‚ž vÅRû-“á‰Vÿ\0ÉÝÍ°ò B+¸c¬"õ'*ÇáNØhѧQ^´øªW%„`\0äz0z¦IBµèk× ç˜FJwñëþÇ\
+µ¥IØ×AAh¨+q JŽøäµSHâQþ·‰?ñ¶%’¯'&¬hXŸoÙã–Î\
+ò©ð¥iŠ¥Ó"B( šlHö…dR»V´ m¿ùX-P8& ϵ1±[z´æÛñT#Y2'ˆ¦K9ÉoîÂÔSÇ"Ìx‡]þìm`“@{â©­ÁåUøAØÒ¦Ÿón ï2H¡°$±éüÜðŠi^‚s\
+9»tÛJ$Œ/Û~Þ8¡R(» ;Ž“-EtúFuŽÕöÿ\0qT¥ÐG³­Gjb2D g¯¸Û %Er\0°$‘úa£ãñb©\\‘PQ÷ uï÷`Yl•ÆÛá³FŒ¨:ÿ\0âÚ¤ðÜub¬nêÍ×uÜxbpOéŠK 7=F]Ù$ˆÅRùX;WôW…p#£FhØïXÒ˜ªÆ9Y‰®lUÙ³fÅ]›6lUÙ³fÅ[ FÃ(šæÍŠ»6lØ«³fÍŠ»\,efÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÿÔà\\¶¦36lUÙ³fÅ]›6lUà -îU#¦åòÀEªé[›‹Û n¸®W¦EOQ¶ \\sJ[c”­LU¢)•–Mr±WfÍŽEæh1U¹°Õ´†XýL+aÄÓ\06’)¬Ù³aC±HÚ†˜žX4ÅU¥A×Ç—-¶\,-êµÀ”6ls/Ln8eÔœ¬ÃDÅ!\\BACL¡WHjÕÅVæÍ›vlÙ±WfÍ›T‰9f‘BãUŠæf劭͊G<©#ôÍ1U™«LÙ±VêNZ7ÛMÛW/§í…\,jk•›W`ˆ®\
+`|ؤUšoSÁ!ƸŬٳb®Í›6*ìÙ³b®Í‹C1Œ‘xšb­rÛ(¬Øª>ÞðF(q©„¦£fÁJìÙ³aUhñ²õÛ®W(šâ–³fÅ¡·i¾Î(QÍ’3¡Æb®Í›6*ìÙ€®b)Š»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ®E\,h1òDS®ÓaõdßÕ”#/zMminlÙ°¡Ù³fÅ]›6lUÙ³fÅW)âk–ïË›vlÙ±WfÍ›vl^Ú/U©—u¤iŠi›6lPìÙ³ ñWfË*FV*ìÙ³bªð(c¾>å~Î W¦[9n¸ªÜruÆåƒLU^b)¶Ç3WŠ»6lØ«³fÍŠ»6lØ«³fË\
+OLU¬Ù³b®Í›6*ìÙ³b®Í›6*ìÙ²Ç\\Up…ȨeËÓl•ÚÃZvåL*{±Äì¡($±ß\,®føXå–ÛZ:à©%ø)2ë\\U¬Ù³b®ÇÅ!‰¹ flU^âå®>Ö!LتR›âªX¤+ÍÀÆ7\\tOé°o U:¼±[óöÂ\,8ºÔýx}<'À/ª»6lØUµ45ÁòÝ+EÀuÂüØ)6ìÙ³aC³fÇ'[›\,Šeb®Í›6*ìØø—›‹\\Â#¥;âªQBf4\\©c1' ´õX~&À—ò %$`µBæÅÒÙ9ŒDŠaV³fÅ­”3€zbª9°Uâ*.Å]‹Ä@â±UòNØÌÙ±UÑ¿\\oÙ—Ž!»\\&6hšâÝp%a55Å£”(Ä3aB÷zšŒi$õÊÍŠ»6lØ«³fÍŠ»6_•Š»6YR:åb®ÍŽEæi–/ORÍ›6*ìÙ³b®ÁÕ—|Y()Š­=r³fÅ]–¦‡+6*½Ú¸ÌÙ±Wb‘ÄÒtÄðÃMuÅP¯lñõŽHµB•n§pRÝ3n§¶¥wÇ\,~´œF* \\œn¹·0œŠ»6lØ«³fÍŠ»6lØ«³`»ÖI(Ý3_¢Æô^˜ªÇ›mMr³fÅ]›6lUÙ³e…'k« Æ:\
+ãTñ5ÅYM­¼>#JÓ#wTµ:W%û*q®väIÈI+sfÍ’C³c‘ š t°˜ºâªy³fÅ]›6X4«Y±Å4Ç´ ‚¤mŠ¸Bxò*ÛPx#1×c‚‡¡ïL)n§-[väIñƌٱTKBrï±æBGf*ìÙ³b®ÅIøi‰e×k6lØ«°M RO\, – 1UóÓ™§LÞ³SlLšæÅ]Ž W¦76*Ýr³fÅW#q5ˑ̇|f+n¼ÜŠ©‘L¬2¾·X”…¸´‘MÔåbö±‰Z‡s¦vÃhCfÍ›vlÙ±WfÍ›v;—lnlUÙ±ÅHÆâ®Í›6*ì|rÍF36*©\,¦SS‰æÍŠ»6lت¤$+‚p]ã«(¦\0Ë©8)6Öl|iÌÓ4©ÀÓ\
+b‘IÀây±Ui¦õqÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›v]2°]º©â¨N™±{•\
+vÄ1We]²±ñ-SŠ­e+×+™Ã±\,UÙ³fÅ]ŽAÉ€ÆåƒC\\U2–ÑR>]ðµ…\,÷Nã‰éˆuÀÙ³f®͛6*ìÙ`W1uÅ\\78m‚4<ûáF\
+[×UáÛC0¡#+\,ššåb®ÍŽUäi‚žÅ–?SAæÃ+[4Eü0¹… -4ÖlÙ°¡Ù³fÅ]›6lUÙ³fÅW PcsfÅ]›6lUr\
+°6êØ$a°08>êäI\\#’]›6Y††=œ¶36*ìÙ³b«•Êì1¤×6lUÙ³fÅ[%Ç(øà<ÕÅ]›6lUÙ³fÅ]›6lUÙ³e¨©¦*Ö/hHtÍ$%V¸Š±SQŠ¦:„H‹UÂÜ{ÊÏÔã1\
+ìÙ³b®Í›6*ìÙ³b­\\Ì)˜fc\\U¬Ù³b®Í›6*ì¾'®V X«qTlÇ6*ìÙ³b®Í›6*Ú·\\·n[ãsb®Í›6*ìÙ³b®Í›6*ìºeeâ­fÍ›vlÙ±Wf˦™lœqU¹³fÅ[^¸e\0»áf;™ÀE¤T¸ ¶ØûH=f¦­p^Ÿ/§&øžHuí¯ÕÎâzᮩ"È(Ã& ì¨<Øç4ÆáWfÍ–TŒU¬Ù³bªž¦ÔÄófÅ]›6lUÙ³fÅ]›6lUÙ±È*hpDñZŒU ›6lUÙ³fÅ]›6lURÌŒ`«Ë&C‚4uOPÃ}}áx@JW e½3kcÀdÙ#1õÁ6×5¡Ä'”HrlsfÍŠ»6lØ«³fÁ662ê!'©ìóUÖ6ꈡ3ØÎ¥hñéÑñASÕsóÁV“Š1¿R{“âpÚ8קˆÅT#ˆýñÅíaõq°Ž*©ÈtÁ1@SâèOlU± ŠÐx{ã'“ë D&Š¿mºP*b·a  CZjƒö±7_@”„T±û>ÅVÚD±‚î¼Z›:}8* Ž6o­:asHÄ•cMê}Î2´§âÛ®*ž¼&T*Ô©éL%¹‘øÈÇm‡lË ‚K7QAÓvÏ*ÕMwïÔb¨gC¯µÇú«h=SWÞ”®Pð¸5©=«ƒ'_MG£r½A´ b®{¨äRðÔ1ëQÛ¬¯öI¨¯|BJ†£wü2Ò íF$V´ñTȈ÷é\\PÄÓöˆË¶xÊmè(<i€&V«ÅQ\\ƒZîíÁbª7©<Ÿª• ^Cøâ•F«µ¶Üਢä89X{Ž¼0$êˆ\
+ƒxÔÓù±Tìc  ë·L\
+àîœùÿ\0Á`Ç*ê:•m»í€äç 0ëôø–*¤HN P©4\0ýÿ\0ðØÅÏ°'§q”å cÝIqÿ\0šqB…X©Øƒ]½ñT\,±“AZîwÀsB¬µp{È]ªE´?<M+†ý“¶*Ç®mƒm…RFc49)º·(9Æ\\ÛòŽ*”fÇÉŒÐã1WfÍ›vlÙ±WfÍ›vlÙ±W\\²¤e¡¡Å$`F*£›\,\
+åLUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]–¢¹Xä;â®e¦7“|KvlØä8«b2q¬¼zá‚(UßÌA;bªY³fÅ_ÿÕóþlÙ±WfÍ›vl1³³'#€î#¿‚ÓJY³f‡fÍ›vlÙ±WfÍ›v) únÍŠ§òë\
+ðzc®±©'+6\0\0ä’mÙ³f‡fÍ›llpÆ]v[’mäO‹Hc÷ˆá–°‹´\\-‡fÍ›n§+6lUÙ³fÅ]›6lUÙ³fÅ]±ß½pÞÍRAC€ªØ”;ãn›‘ÛÞ¨ˆü8^Mq齜=2Ê„€wÁmÀŒ(Kóc¤ë¶7vlÙ±WfÍ›_êS›6*ìÙ³b©µ ‘*p$ñzfƒAr#Ž˜Y ŒNvÈÕ)æÍ› D”¦1›‘®VXÅZÍ—B2±WfÍ–¢§j™°âÎÅf\\}n m°Zi›6l(vi÷+ß sbª÷r d\,1 Ù±WfÍ›Tˆo•'\\¥jeSŠ¸r©L\0Zoš±U Ù³b®Í›6*ìØ´1sÆÌœ 1M)æÍ›;6lتa¦Ê"jãu\0Ò?3ÓDÜXa¥Üñ´@¹©½©(Í›6IÇzg®RìpbH¼wÅPDS6)-+¶'Š»6lØ«³fÍŠ»6lØ«³fÍŠ¢ìe6ùwó Z£æ­pVö›Ú›6l(v9M76*¬ìÄNlØ«³fÍŠ»6l]¡kŠ¨f˦˜çŒ§\\UflÙ±WfÍ›vlÙ±WfË\0¶Ã1R»U¬(]ð6lU¶ÜåfÍŠ»\,\
+šeb\
+¸¯Ž*­-£FœÎÉ=ÄI\,\0 ÊœŒŒM²¥™³fÉ1vl²¤eb¨Û+‡V¡;a…Õâðâ0‘[LÅËuÁJÓšåfÍ…]›6lUÙ³fÅ]›6)\0 àUN™«†—–ñ¤|—®â®Í›6*ìÙ³b®Í›V‚¸ªÜØ Š«\\O\\¢§e\0bC5”=CÓC¨©¦\
+‘Dk\\\
+68£sqŠ©±®Vb)›vlÙ±VÕŠšŒ{Êd58žlU[ë”ĉ©®VlUØHø`Bjk•›vZ±SQ•›\\Î_®76lUÙ³fÅ]›6lU2Òn–Ù‰l0žRÃæÅmٱȼÍ2äN˜ªÌÙ±ÅHÅVæÍ›UŠ/SËÄÓ’éŒ&¦¸ª\,FuÀ©ö…qC7ÃÇÅQW%h)•KtÌXœlêµ®* ¤Æk—$†N¹¥<˜‘ŒÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]—L¬p®*‡Í›6*ìR2ÑÃ)¿L3’$H=ñT\,—(ãHëƒôkO®]\,^'|Ó¡¶ÄÓb2&@d"H¶0­Ç‚V‰ù‰"Õ€÷ÉƉ嵼‹™±”„FìXuÍɘï°Ï\\´w1Û 0ŽJìÙ³S\
+»6lØ«³fÍŠ®G1š®gr槛vlÙ±WfÍ›vlÙ±VÔT†ÑÁJž¸P6Å=w•Û®¾"#–MwÊ®͛Œ&¸ª†l³×+Tý7 q[©ýb)³b®Í›A\
+¸©ÅP¸*Â/VP¸OŠƒ¶›êÒrðÅQº„"ÞUðÇ^ÜG$@/Z`KÛÏ­àJ“Š®0®ØÌ5L«…Ê•~>øÚ©à„¶.+‹]Ú0ï‰ÇwÀS¹!ëÀÓ‘ùšã0¡Ù°ÂÖÙdŒ±À.(HÁj·6lØUÙ±A ‘Ê›bxª2ÒØL¤œ "ñb1H®!A‰1äjqV³fÍŠ»6X4Ç<e:â«3fÍŠ»!¾¸ÜZÕ‚È tÅU¥ŽyX`2)±É5Åì*\
+V™Õ‰·†3Q‚¥”:o×b¡•¸áU<Ø"kcÅ]›6lUÙ±kxýF¦]Ìb6 ÅT3 Ù±UfpV˜ŽlØ«³fÅâŒ2Ô⪲Ûc•Š»6lØ«³fÍŠ»6lت¤MÄ×4ÍÈ×(!¥q˜«³fÍŠ»6+bCC•*pj UO6lØ«³fÍŠ»6lØ«³fÍŠ»ÀÒ¸Ü@ôñT.lÙ±WfÍ›v89^˜ÜØ«e‹uÊÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±TuŒj懨À#Ü`H%1µq{«Xb¨<Ù³b­\\Åi‹Ú(w¡Åõ–:qÁ{ÒkkA#q5ñ2ÉlAë„X ™€â:aB:ÒëÒ“ ÜՉʌ¬›vlÙ°¡Ø´0´½1S 4™9sÅR×^‡‚/2’½0>*ìÙ³b®Í›6*ìÙ³b®Í\\Ù±TVŸË:«t8g¯YÅl§„‘Èb`ËÔb·oqöΩ衛6l(vlÙ±WfÍ›vlÙ±Wf¡ÇÄ¡ x'¾*—ã—(õÊÅ[9Y³b­\\²´Ê™‰®*Ö9 nlU1–Uhéß ²êr±Uѯ#LðÀÊxšâ1m°*›\
+¬Ä×6vl^89­qM1V³fÍŠ»6lØ«³fÍŠ»6lØ«°JOÅ8àlØ«gs•›Š#!¦*§Dåš\\M_Ž*«o6¦UÄ~“Shá^§|áÚ£TôBfÍ›\
+›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅWFhج䘀Ǯ*î•Æá èûáq늵›6lUÙjÜMFVlU{JÏ׎n"˜†lUsžF¸ÜÙ±V×® ukqS&ÔÅT³e€Xí–ÈW®*·6lØ«³fÍŠ»6lØ«³fÍLUÀÓ|Qå\,(q<Ø«³fÍŠ»6lØ«³fÍŠªG3GöqÒ\\É.ÌvÄÕyU  W¨fÌE3aWfÍ›v=#2l1˜2ÆEFø±U«c\,Œ¨€–c@|èZ—C!ÝÛÄøª¸C± L7aðûæÿ\0gÿ\0Ãí•]Ï|USÕT =ò™›ˆÎ1\
+;w Óé8>.?Âv«G'¡jŽ<ãlU‘˜€¼š›xW &èÖ¤–n»žLÙ~’1õ¤jC( rÿ\0Sþ%•\,†PÜOG^ÿ\0årÅTÄ‹@ÒB•ÿ\0ë&ó>>Øô†•©$×aãÛKsÁ©rGérn"¾4˜Ðq8-Ázñ>øƒ¢Î¡ÀøW¯ÑŠ¸Bd>Çs‹K1 }² ›à-Jhõù³*Ž´ßQ‚AǨØ#¯`po¯õ²H1¡ø¸û]0¼?È<r´ÉPEèÑ•Ï&kŠ£ÍŠ2DZêPq5¶trÓR‡pz›`øŠsn<8| m_òq¥L¬ŒT·ï\0ß þgQû\\qTÉP¯Ú«/Ëo‡þ 2#DÅTÖ£jS§ûÅî-Ì@¼ßczšx‡ýŽh÷LÇ‹¨F*ª¤J…~u¯_äÀwÌO©Z*Ö P×üÿ\0gÙY= "‚Ž´ýŸøYc g+NËÜÿ\0­Š RØEi(Nŧ\0ÝÛ$êñì\
+Ž‡`OuÁ·nç÷¤î9Sæ~ÏÀåTŽY‡ˆ«{øâ¨K8ã‘\0 £ ‡Ë-‚:½oø×\,¬²ˆª| àF9ÔÓŠ}°~-úŒUkFT£­1ø„J\
+ø’à…gŒq5 Ó¶'\,mb6‡éÅPµ\
+-kÓþml-’/„ƒØÓ ÏÚ\,EØó­q+„çñxâ¬vâŠ.e*hrA4'Ã\
+®`ûÆ*ƒÍ›6*ìÙ²Õyb­fÅ¢¸ž*ìٱȜÍ*·6/%¹ŒTâª?Od$6#{öÄà˜Äj3M)ÔàêªY³f®͛6*¹Eqå@˜4ÌXœU¬Ù³b®Í›P\\UnlÙ±VËW+6lUجDW|K\,b¨¹%h05Ë­r±WfÍ›ÿÖóþlÙ±WfÍ›ECxÑ/är槛·fÍ›vXʸð¤ñVŠÓsŒÅ]›6jb®Í›6*ìÙ³b®Í›6*ìÙ³b®Áv×Ò[ì§fÅUgœÎܛ͛vlÙ±WfÍ›vlÙ±WfÅ‚13Š»6lØ«°E´Æ#óbª÷ú‡Í›uiŽF76*âk›6lUÙ³fÅ]›1ÐWÅ]›\,\
+šcÞ"¢¸ªžlÃz\0¥qT7#•˜í›vlÙ±Wbð\0Nø†X$tÅQ·¡j08¹mŽ7vn™³b©…áˆÐâ7ÓúÍCÓ15Å7µ5›6lPìÙ³b®Í›6*ìÙ³b®Í›6*Ø$f&¹Y±WfÍ›vlÙ±UE§Lk¹sSÍŠÛ³fÍŠ»6lØ«²êr³b®Í›6*ìÕ9³b®Í›6*ìR8ùœOð8ªæ„ƒL§‰“sUªqIæWZ \
+„Í›6vlÙ±WfÍ›vlÙ±WfÍ–:⮡ÊÁ¼WŽn»b«sfÍŠ»e$S›\\§‰®>YyâY±WfÍ›^±3\
+ŒaÛ¬¡_D±ð‰~ÑùàÒBÌÙ³S\
+­ˆVßžç’àEë‡p*ˆ·ÀU$e+×0Å®iËlC\
+ª˜ö®%ŽæiLn*ìµ<MFVlU/Ü/ íÈÔãsb¶ì|)ê8_f+ž›†=±Tmõ§¡8[ƒï¯~²¡|0\0’ìÙ³aC³fÍŠ»5+›”ÅVÐŒ¬VB)¶%Š»\,Œ¬Øª«ÎÎ8œK6lUÙ³fÅ]›53b®Ë-\\¬Øª¨–‹ÇÍ›_«ï“Ø£Nu¦Cñ øa”ú«M£ÛK—®øaÆ rêqVä5cLnlØ«³fÍŠ»6lØ«³fÍŠ»6lتèד‚na¨8#ÅÅî¦õ\0UBæÍ›\
+»6lÃ|UÙ±t€¶T‘pÅTsfÍŠ®Fâk™Û™®76*ØÛïË\,LO\\‰Ë)… 1Èü1¬jkŠµ›6lUÙ³fÅ]›6lUÙ³eÓk6lØ«³bÐBf4§€ÀhqUÙ³b®Ë Œ|\0\0ôà J8Ѹ/tÒWŠzŸ 1<ØPìÙ³b¨‹yuÍ5Á}»`|ØÒ¦Þ]»[+Å•ú ”y»^ƒRE B@È4é–Xž§ ` ¸™‰)z0Ú¹ÐôO0ÅkoÀ‘Zg8LJuîpÊ"B‹Ã]ºwM é€DŠã '® IÀN8@¡HRˆ\0wÅ&Œ0ªàrÕ8¼2…8ªŠfËcRNVvlÙj¼*©sÄØPÓ*zâïœÔ×[›6lUÔË¡Åá\0õÅ‘œUB2°mÒ"¯Ã€°vl¾'+\
+»6lÔ®*캜¬µ8«Y±Î)â®Í‚ÄPÓk²Ìت¼$nN%!ßlmi›vlÙ±Tlz‹¤~ŸlË›Wšå¦\0؆lØ«³cÌtÆbª©; â:bD×|°+Š¶®*¥›6lU:Žh…¯ö°˜õÍSÓ-‘¦\0)VæÃdrÂö4­fÍ›]q`N+q(“¦!›®*ìÙeHë•Š»6lØ«u9Y³b®Å!“ÒnXžlU=É—æÍŠ»6lتøä1šŒÒHd58ÌØ«³fÍŠ»6lØ«±ÁˆØcsb®Í›6*ìÙ³b®Í›6*ìÙ³bªÂZ'G6lUÙ³fÅU2î1®I;à¸dP»ày˜3mŠ©c• cpD¡ÅPäS6†1#šâs/#SÍŽN»åÈ\0銬͛6*ìw#Jcsb®Í›6*ìÙ³b®¦l*båß\0ž¸«Y³fÅ]›6lUÙ³eÎ*Öl0–ÝV îâ®Ì7ÍŽfÅ[h™EN3 /%ŒÂõ¼UÙ€®l±¶*¹“ˆ®3wä)‰â®Í›6*ìÙ³b«‘ÊŒt“4½q<Ø«³fÍŠ»6lØ«²×®VX48ª´É@"¯LRI9\
+bX«‰¯\\Ù³b®Í›6*ìÙtÊÅ]›6lUÙ³fÅ[QSL^[Myb\
+hk‹Ërd^8ª6lØ«³fÍŠ»6<&ÕÆb®Í›6*Ø4éŽ2±Ú¸Ìتå^GñqÆ#q8ç”°¦)SÍ–vËd+×-Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*­å1&<r³b®Í›6*ìÙ³b®Í›6*ìtc‘¦7\,â¨ÿ\0«¨Zà8ó;LHšâ®Å —Ó5Äsb¨‹™ýl›6*àiÓE2ñ<zIÇ:qÆc™ËcqAv)FSA‰àÍ<S|U\,f3C‰àíL\0û`UÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅWs4¥q¹³b®Í›6*á1+p^Å1T*§\,¦8´$¾6zWl RÍ›6;6lZÞÙî ]fT?Å‚ïøðàIídµû[b‹u8<Õ¬Ù³aWfÍ›vlÙ±Uku Ô8µÔJ¢£+ÜcšV~¸³6lØPìÙ³b®Í›6*ìÙ³b«‘¸šàè¤\
+/Ç+•é€…nQFÆe“Ë|¬*ìÙ²×®*êS 4 7ô•Ð ýÒ|OòþOöxH¾\
+äëËÚwÔ-\0"’5¾göØ.*›<¼ÛÛHùq²?SáãˆÆ€õí¹Å#¸ã0j{b©‰ÓÑÔ@à_´|IïþÇ_’ÐiÄQ~CÇ[·`¥‹) QÐïXEäªq(ܤ=iQöGú¸ªMi}0±ÖŠÀÈÞù×Ãt­¹b(Õ ¯Úþm¿k³€BÒ"ÕPÔìHø¿Ù.¸zEÌR«×ÜŸ|UdT‡sþÞ>Ié`VW„}+Ö˜¡OO銵è‚î ëï›Ðøv?¯Ç[…PKž•9ŽßunƒA”7ZÓ*³ºŠ\
+ ûb“EE)P+Ö¸úƒqØ‘Š¥\\Gnë!Üßå\\6µ³Fvž5¡©QàðåaS$*Ëëµ›œ:Ñ/xù:ü ²ÔuVà!…D”E+à$‹"HAôÂÖ‡írñ®\
+uY>9€ÛSÀÿ\0Í8Ùeh8óø(+àgjð´ÑýXÓãZšo×ío‰[ÅDc †ÃÀûMþ®Zžd²QUE)Ül̘Z¿îü51T\,—+êzdñb6#¦¾VôìÏâ;ã­ãfN¡7©ðÀ· $o„ •#¥?æÜUThI§ |0«õ¦eØ…5¡ê0ÇêémnÊ Kzí…vñ˜zI­O?˜é ÿ\0cŠ Ä4“œ”":š/_ž+2+òw9SsÐÓ¶igzÑÀ¯b:â.]‘özSµ<1V®ÕQ2ÔÓßý–f-5I  ¥1©0\0•û'þ"q€C£r+¹?³ÿ\0ŠªH›PˆôÀÒ!?f£Ä|ñêLÇã<Fô8é¾1SPiŠ¥²`ƒ×õûáeÄ{ôØá˨Aî+ò8\
+ê1J}8«™8šŽ‡Á×õ8¦*ìtmÄ×›DË0e¦Í›v)ðjây±T|÷*ëA€3fÆ•Ù³fÅ]›‰yeH¼N*³6lتåBÝ2ˆ*hpm‰]Ãbtçðà½ÕC6lØU±±ÅÁZb±M»6lءٳfÅ]›6lUÙ³fÅ]›6lUÿ×óþlÙ±WfÍ›\\¹M•›vlÙ±U[p o‹ÝáÀ€Ó¦bźâ­V¹³fÅ\\0Dj\\ŽF*ºU\
+vÄòÉ®>8ùâªy±Î¼M1¸«³fÇ ©Å\\PŒn\
+”\0¸vlÙ±UÊ…ºe+×[ºŽ¸ÉÈ-¶¨æÍ›\
+›6lUÙ³fÅ[å•›6*ìٱʼ±U¹±Ì¼q¸«³c‘ycš:bªy³fÅ]›6lUÙcc•›D4€®Í›W´Nr\0pÆþm…qIé7\,ZâìÌ)€Ù²õ)‰fÂÅÙ³fÅ]›6lUÙ²À¯L^+f}銡ócä^˜ÌUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6/A±UµÌE1f¤{b\,jqV³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³f˸«Y²È#+vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Wb‰¸¨˜Åë“ÎÚ[b^œ©‘”¸E²Œx˜;)SC•ƒõtT¸eN˜Ü ììÙaKtÌT¯\\(k6lØ«|ŽVlØ«³fÍŠ»6lØ«³fÍŠ«Ä€ñØæ FV*Žó„|055ÊÍ&ÝŠŠqijW6 pH»!xà\\تænF¸ÜÙ±WfÍ›vlÙ±UȼÍ3:ñ4˸œ¶‚eåŠ@´·6+<^‘¦%Š›6lUÙ³fÅ]›6X4ÅZÍ‹ýUé\\cBéÔbªy³fÅ]—Äå …8ûâ¨<ؤ´®Øž*ìÙ³b¨„\
+W|@õÌ X«³fÍŠ»6lØ«³cÕ9cYiŠµƒàµœŽ\0ÁÉqÂ:`)YT) ÄòÙ‹œªaC³fÍŠ»6lØ«³fÍŠ»6`+‹ÅmñU Ø%ÐLqV³fÍŠ»ÚÆ昪l0¾V2ºb~£tÁvå)ñuÁÉ(\,ØùiÈÓ…Í›6*êæÍ›vlÙ±WfÍ‹[Çê51UجéÁ©‰bª°Bg`£¾]è2ZÃë7L/²œA cØä—W×êÌB¾«à H–A¾à‹y½<UmÊ…r#•ùµq˜ª"ÖA«šîã×jà|ØÒ»~¡ ÆbIé7\,U¹b0kÊϱ8¥ÌÞ±®!ŠW"é–Ñ•ë—œ\\’sÅ\
+Y³fÅ]–r±kuäت™B:ãpÂæ0©¶⪶ê@L6Ô­c† ËJá*±CQ‹Któ\
+1ÁIC6lØPìÙ²ÕK U¬Ø¬°4_kÅ]‰¸08Ìت"æV”Àù³b®Í›6*Ø$f FVlUqrÝq¹³b¨»um‰\\Çéµ3[Ëé5s\\ËêµF*£‚-¸ïËå‚F*ºJr4ÆLÙ±VÉ®PÍ›U)‰“S\\¬Ø«³fË\
+Nø«Y³fÅ]›6lUÙ³eŽ¸«Y±Y\0lKT2Õxây³b­ƒLPÊH¦%›qß6lØ«²Ö í•ŠÛ/)\08ª¡¹'“S\\¨Ä±Ò˜_ˆ6®Í›6*ì|Tä+ŒÍŠ£ïJpY$õÊÅUý1®¥ /á1_™®¬Ë¦™Yjhk…\
+’BPWÅåŸÔZb«³fÍŠ¶N(ÑqĦ(Ò–ÅTóe…'¦b)Šµ›6lUÙ³fÅ]›6lUØ.Î5µ1Êå:b«î+1\,¶bÛœrF_¦*³6Y49X«³fÍŠ»6ZŠšb²Ãé€qUÙ³b®®lÙ±Wc•Šãsb«ÖB†£ÌXÔåfÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6>5æiŠ«%Å#ãŽ\
+’׈®Å]›6lUÙ³fÅ]›6lUQ¦fIÛÍ›vlÙ±Vë\\¬Ù`W¦*î$Šæ\
+OL[iµµ2Û ì£Vä T¸í›x¹–vlØä1U¸§¦i\\õU¹nª˜ª]›\,õÊÅ]›6lUٲ땊»6lØ«³fÍŠ»6lØ«³fÍŠ²K d³259S#ÒŽ.@ñÅ£½’4ôÔíÉ©©À®Mñ­×2šf&¸U¬Ù³b®Í›6*ìV}SLK†_H×NaÐù§\,(º‡Ð®éš°©Fé…£‰&$a莨Nf”Æóc“í \\ÑÄðÊáG¤ÂÜ]›6l*ìÙ³b«âÁÓ uÛ\0+q8¯®iLUE… 2²É©®V*¹)ß3{csb®Í›6*ìØÿ\0M©Zc1WfÍ›vlµ8©ŒŠ¨æË9X«³fÅííýcLUC6)4~“qÄñWfÍ›vlÙ±WfÍ›vlÙ±WfÍLØ«† †ÈÊ+Ø: ßIi€ßEBHž›ÊÌf£.Wõ¶3\
+ªK)”Ôây³bªë%åˆ0ǦAÀ Ôâ­c‘yšcqñ·TšÜÄ*q qr%À¸«³fÍŠ»6lØ«³fÍŠ»6lØ«±þ¡¥1™±VÁ¡®bk•›v]+\
+†;à©c@»b©~hW)o-dé…'\,tÀEŠTû_»†çû¼ Ë59XB•Ù³f®͛6*ìÙ³b®Í›0Å]›)µq<UÙ³fÅ]›6lUÙ³eÐœU¬Ùˆ¦lUÙ³eÒ¸«Y†lØ« òõ°Ô.‘Uâo£ìÿ\0Ãdò:Äöýg|Ÿ§ˆ-}vÙ¦5ÿ\0b6_øÛ$©$‘½*¶àª‚GùÓ è+Zõ8*qÄÔ\
+±è1;[#tUš¤t ø_ù»Lô™$0’¢¬Zˆ{TÍ?µ†Q¶‘†ŒrâŽû³¿ýgÆúUHÙ€­(^›‹ý_‡nàÍë F0®ü5?Ê\\U~¡ñD“DIM*½A'\
+ïDQ¤±±4gãÛßýVøpá­Ö5ä¸íà¸\
+Ýø7§0«°<Iïÿ\0â©]´<\0û@ý¿ÉÁÊeø‡Ø|v±ÝCÊDcÀ„v©ø¾/òqg-ª‘‡\0‚ µü¿ìñU—ŽÊGZ Ζ`¹¥H=q°ÌÒ¹#)Ö§§Ý–åÊ‚¨Ez“µ}ñUÂp8¼¿`¯Â}϶$n*Â(jšW¶ù£°’D¬ŽZ*» 0‚×ê¬R0=>5©êN*ƒ{¥™Ý¶ôÀ!OCNÿ\0óV[Ä‚1E%j wÿ\0…ÿ\0' Ìœ¦$-@Û 4ÈÞØ/¨à‚7_ŸíU|·2ZFX ¢í·]ñ V"¤ Ðwüqú”4᪀}~Þß܈ ;W§ËùqUÑÝGo͘±$Wç‹AsÝ}=€\0njCˆ«a¤—®NçÄá•ŠZ\
+‚K–¯zvÿ\0cŠ£ŽŸêËð²ÿ\0.]9R#îÀ÷?å†1Þ\0à?aÔ`˜e‚T)V¹¡ÅRIÔ4†F;(4§aÙ—n9æ;°úä•ÄnìkíL$Ô-˜\0ñ·*þ¬U¬ ò&¤xåÉ7!ÀtƼ>Õ+Œ$Z×P’6c^›ã–±UëÛ\0wï‰ÉA_ UJ6A $oì1à¨>µéN™¡r“Ûü鎒$ pZÓBÈ)V=kð‘ò®hÁ’ž\0†Ü¸Äˆõ*ÃÀb©$ÑÔW¸ÂÙ׋TwÃË”ª×\
+§J‚;ŒU›6lUÙ±Åß)EM1V³`Ô³äµÀ²'¦*³6lØ«³fÍŠ«Aðµrî'…-p3õ#[›6lU°Åzf$ž¹Y±WfÍ›vlÙ±WfÍ›vlÀW1Å]ŽAS˘ª)aÄ%Z²ýb16bØ«Y³fÅ_ÿÐóþlÙ±Wf¦XÁ&-qT.l³×+vlÙ±VÔr4Á&͂׸µpÞ)–T¦R“ LŠa¤®Š)…Œjqk6lØUØ¢IÇÍŠ¶ÍÈ×+6lUÙjhr±{x½CŠ¬iK\
+bx"æ/Oâ®Í›6*êæ­sfÅ]›6lUÙ³fÅ]›6lUØî$ïÁ*U ŠFüq‡®V*¾Fäq™³b«•¸ãŒ•žlUØ¢ÄÌ*1<4µxÂPà)\,*W®V ¹\
+OÃ0¡Ù³fÅ]›6lUÙ³fÅ]›6lUÙ³eñ=qV³fÍŠ«ÛÏ|ÆaX»V™Ž˜ ¸zR¸«wD4†˜Ž8ƒÔãqWfÍ›vlÙ±WfÍ›v]̽qY¦ØªŽlÙ±WcÖB¸ÌتænF¸ÜÙ±WfÍ›vlÙ±UDˆ¸®1… 1Håâ)‰±©®)k6lØ¡°*qÌœqªhqîü†*§›6lUØøÈ|flUVRLK6lUÙ³fÅ]›H¹\
+ãPÓk6lØ«³\\ؤ É€ÅV#+ 'ˆÀ )Šµ‚¡Ô&€qF `\\Ø­¯’C+rn¸ÌÙ±TM¢r;ãn”+Pcb—ÓÆÈüÍpuU™³f«£^ML^x„b¸OQŽyKŠUflÙ±WfÍ›vlÙ±WfÌsb®Í›«Ë[›\,Šeb®Í›6*ìÙ³b­¨äi‚ZÜ®˜¡œ‘LU§Ø5óñ\\eõ¡³MºâúV \,[–#¨ÝýrS&B`˜îÙ06l —É!Ôã3fÅÍ›6*ìÙ³b®ÇÄÁXŒÍŠ§)y\0f¹–'Mºá6_#‘áI6ã×@¦35rHv]r³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*½_ŽXýã‰ã‘¸qTTöž’rÀuÁSÝ.ÀØ¢:ây°«g®VlØ«³fÍŠ»6lØ«jhp|w\
+«L/Í‚•|ŽY‰ÆfÍ…]›6lUÙ³fÅ]—R2³b®Í›6*ìÙ²øí\\U¬Ù³b®Í›6*Ø4Á¶àA¹ÀJhk’Rø«wê98ÄŒÈh1[x}cL4·´X&ĨIä£4l¢äŠ`ÍEƒ?Àp—fÇ"4ù`h¾Ö)fÍ›vlÙ±WfÍ›vlÙ±UX¢2bl¼M0eœŠ€òÀÓÎHÁÕ=ófÍ…ÇÆü q™±TD·AL›6*ìÙ³b®Í›\,zb­b¶Ì@ÍÐb]3b©–¥r“\0 seS€\
+V³`³mE®TäÔ«3c¤^˜ÜUÙ³fÅ[U\,h32•Øâ¶ìªs\\8v¨Å*9³fÅÍ›6*êW\,ŠbÖˆèq÷Ȩ0ZkkBæÇ(®4áC³fÍŠ¶qÎ)Œe“\\U¬8à|pj U¦ë•›6*ìÙ³b®Í›6*Ýk•›6*ìÙ³b®É—ü¼u…\,;a\0RrUåmtiHÀ÷®*”jÚ_èé\
+ØW†šÎ¦u ™Ïs…x«±ñ· áŒÁq"˜êzâ-eÍÇ­L–zåb‡ 2kEX9÷ÂÜXܹ^±UÙ³b®Í›6*êc¸WÄPbÁ×Ó§|U ›6lUÙ³fÅ]›6lUÙ³fÅUí˜)ß11<ئö§fÍ–1Cˆ¦V9Ž7vlÙ±Wf¥saŽ‘\
+M%$通T¸ŠuÃ1UÚ‡Ö`Ž>˜_ ÆQˆ6¬†ëFBœ×®G¥…£bÃKm]Ù‚?Lt°:r®h«ÍŠL\0cN˜žI[SC‚g“’q۶تÜØâ”Æâ®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìr7\\Y®ÅUšá˜S‘ ï•‰¸¸'¶*«-›Â¼Û¡Àøq¨_Ç<!¨Â|]›6l*ì±×+0ÅS©tõKoS¾á“߇ÓÂå^F˜õV³Shʹƒ\
+©b°V©Äób¬ôÂ%±ˆu# "œÆÄøà«1>ìq×ökªäväš5itÌ×›6IË›åc•ymŠª†"˜Ã+ø«Z²¯#ñWfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±VÀ®b¼qÑõÇÏ튨æÍ›vlÙ±We\\¬ršb­¦V9q¸«²øž¹‡\\]™xâª*å FS1cS˜åb®Ì 3fÅUžà²ñÄsfÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ†lتiÇéPõÂ×ûF™\\ŽV*ìÙ³b­ƒLqœflUÙ³fÅ]‹ÛÏèšâ±UI¤õ[–'›6*ìÙ©›l)n™Š•ë‚mJµšå”ô¨\\Ù³`We®VlUQ©‰æÍŠ»6lØ«³fÍŠ»6lتá!ƒ›6*¹‘¦ ú¢…®Vâk‹›¦"˜\
+B‹Ž&˜Ü²jk•…Í›\,\
+ôÅZÍŽd+׊¢Õ™yvÀäSl1Šì\,|N\0sRN\0“KsfÇ"ò4Â…¹±i-Ìb§Å]›6lU°ÅzcŒŒØÌØ«²ÔTŒ¬±±ÅS¡§ƒ1á…3È®Û^¯Õø¸P¤‰íŠ¡Ý\
+uÆà»°:Œ ˆRìÙ³b®Í›6*ì° é•‚-ˆ®øªã²Ðàc×¹a]°>*ì²ÇENB¸.á.Ø Q\\aÅ”«®Ça+ß\
+qOY©LUuÀ¶ÄrÉ'®V*ì|×…'‚ON âª.8šeÃO"ÄŸiÈQó9¥<š¸så+o¬êqøGW?@Ûþ±Vo v‘\,!T*×ä0|`¤u\0ÓsŠÛIJH¾¥)RwëÓˆÁ[‚JV‡‘8ª\\¶ÿ\0[ !ÞµR‡‰Ã2Ü4@Å€¡ ì6™DH#Œl‚ƒ5…Ë4²¡r¥~íñTv¨dUôâlzôÛùÿ\0«…heƒRŸç¾\
+Õ‹¨æI ½}ð¹’j)¾*šÛ]ðT€Ç®ýN ˜Æ±´ÀvÅü¿o#PÉêÊb‚»‚p FToB¼Ô\
+\0ÏâÅQ°†ÔújcliöMpW¤-•be«© nûâ6 4t›š’EJšü…¿Éà ÈÚ'DCCí¶ÍþËBK \
+¼ÈVrhM:žëÿ\05aF§t“È”Ñvé†I?\0ѵk÷7óa[Ä Ô’OA°§Ž*‰0|>ºŽ'ˆ^#ÃÎXƒà×á`c¤‚‡a¾’гž‚•ùW@CKXƒ©pÊÅ_«ƒû]|\
+E~«Ž%Éä)Ô°ºîTwåO„V•ëŠ«Ý]%â³V…vÛõáMÓ„ ¶Û÷‡ÃÃg.BöÅPðÈË2…¯^Ù"YQ”ɪž•ìo–G™>:³C¨˜*®9 ضõ늲õ ÓoÖ}sÏf¡ü>´Õa7|0TjŒÀ÷¨>øªÉ™ 2)¨;ûWìÿ\0Ãa5Ô“eM¼za„¶¼ ©$Ÿ‡ÜôÆÜF^Ø+)2*Ö¿.£Hf!ê50*§–Ý#F\0¥**=Æ$îiJb«rÌÄ(Üì:æ$á*\\Ó±ü*ßÄ{Ÿ×U4£n¿¯µ?kšR\
+ ÆàÚЦ:WpÃqòÛþCJ§€eÞ‚‡½F#4 }ÞØ&aÂJÒ€8.ãCÐøb¨ ¨ÍMNÕÂÉV˜up+Q… LU+uâH̽qIž#ÅS)€~ËbË5˜ƒnp*1o8­0\,Ì×(!9k*³69¯\\n*ìÙ³b¨ˆ%â(q) MqQlÜy vÅ]›6lUÙ³fÅ]›6lUÙ³S6*ìÙ³b¨‹e wʹP­¶$¬W¦=ÌÔÀ•\,ØnšIdåL-ž#8Ú³fÍ…]›6lUÿÑóþlÙ±UÉ×Ë(áA€²êN*ÖlÙ`b­fÌsb®Åâ›Ó†lUs¹c\\nlØ«³fÍŠ»6lØ«³fÍŠ»Ú8C¾ËŽ˜ª&ò@çl –Mzåb¥Ù³fÅ]›6lUÙ³fÅ]›69‘¦*·/‰Å䇀®1H¦*¥ÓÏje7\\n*ìÙ³b®Í›6*ìÙ³b®ËŽ™Y±UXÚ½q²R»c+LÄ×vlÙ±WfÍ›vlÙ±WfÍ‹A3Š…!‹ÐÆÎœ 1…ê)Š¬Í›6*ìµ49Y±UfaLHåfÅ]›6lUÙ±eŽ£eã¶*·6lØ«³fÍŠ»6lØ«³fË"˜«Y³fÅ]›6lUÙ³fÅ]›6lUÙ³b‚2EqU<ÙŽÙ±WfÍ›vlؼV2òQŠ¨fÇ:Í7vlÙ±UD®1Mr³b®Í›6*ì|oÀ×›EÉsÌS“\\¬Ø«³S\,uÅ\\\
+bª9³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅS-6ØL 8éBH@Áv7B#\0Îþ£–ÅTññ¿flUY#356HŒmÄàÍ2‰8•ÛZ½°^ôªåĵ;à–JÓò¡¨ÅWL\0;byd×s•…]›6lU°+˜‚:ãã ñÓ0=1UÙ³b®Í‚aƒšò8… 1UtŒp®8¿«D¦!€$»6lØPìÙ³b®Í›6*ìØå8¤ˆ\0®*£›6lUØô^XÕ^[ Y pAÅTJ‘•‡qZÆé¿\\FâÉTdx“IVX̆˜èˆ É!¦B½q¸6éÑ—áÀX«³cÄLE@ÛŠ»6lØ«³fÍŠ»6lت¢'!Œ"˜"(ÉJàs×µ›6lPìٱꅱU™³LØ«³b‚G\,È+Š©æË=ré¶*·6lØ«³fÍŠ»-G"V)Á>8ª¼öÞ’Àܶ¦jW $aW\
+p›6l(vlÙ±WfÇÇÐe:p4ÅWÃ#Gºâí~Ì(q¶ì Q±)©]±UŽåÍN76lUbÁeÁº³£Ç\
+ѸšŒt’™:à­í7µ)æ͘aC³b« a\\M—‰¦*ÖlÙ±WfÍ›vlÙ±WfÍ›vlØ䈪ÜØ*âÜD à\\UÙ³fÅ]‹ÛÐ‹Ì 1UòÓ–ØÌÙ±We¯\\¬Øª*Iþ NݨÕ8ŽX4Ä)ÝRsɪ10 l2‰®\
+±*$øúbª&¤by$º’ÃJÓ#¯ö0«se\\ÔÀ®¡ÊÃd·¨|0œâ®Í›6*‹„z?Ä®%õZ¸Ö”²ñÄéW ÆæÍ…]›6lUÙaKe`Ë8ÃõÅPdS6+p¼\\ŒKvlÙ±WfÍ›pÇ+×4fŒ Á2+ÇBæÍ›vlÙ©Š¢íÊð<ºâ µON§†N|UHûåc›s\\m1Wcƒ(2©š˜«Y²éš˜«Y²éš˜«Y³S.˜«Y²é•LUÙ³S51WfÇÇHÜWs‚ßI™]±Tl²48䌿LUfl¶R¦‡+vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Wcã•¢5SCŒÍŠªK3Lj渞lØ«`Óq3¹©Äób®&¹³fÅ]–¦™Y±UìõÆfÍŠ»6lØ«³fÍŠ»6`+–AqV³fÍŠ»6lØ«³fÍŠ»6lت¡z­1<Ù±WfÍ›v_×+šz~øª6lØ«†ø«ÂPr8ÄûCîa_«ƒÞ˜ ¥H«¸5q¬(r°ª´Òú„‰³òÆæÅ]›6lUZ+—‡ìœÒܼ¿hâ9±¥·fÍ›v-\\G\,51Tt×C\0wË&»åb®Í›6*ìÙ³b®Í›6*ìÙ±ë~˜ªÌÙˆ¦lUÙ³fÅW'\\Rj1²Äâ­fÍ›vlÙ±TE´BC¾%2ñb\\rúc]¹╹³`ˆ õA8¡›ëÅ©Å]›6lUÙ³fÅ]›6lUÙ³fÅ]›69qU¹³r¡n˜ªÜ°¥ºcŒl½qhT´L½q˜:æUe À8«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ¦1D†*÷À(rĬ1„×l2«\\Ù±VÀ'¦b¤uÅ *:æ銨fÍ›vlÙ±Wb©!\\K[°\
+F*†"†™XçûGŠ»6lØ«³fÍŠ»69¿L¦^&˜«Y³fÅ]ŠÛ|Lf銢¯Zœp&j×6*ìÙ³b®ÇFÜ q¹±T\\×"E¦Í›\\ˆ\\Ð`†±tŽ!úl %Ôããß´ŠJH¦V9#\\Ü\\([›6lUpr6Ì­Ä×›Ty ây³ UZ;v“.[s\\ZÞäG×sr%Û\
+¡3fÍ]˜fÍŠº¹³fÅ\\ 1ÅËlq¹±Wc㉥4Q\\fys¸¤1Hi.{ca³ ëp@"ªxdAF#\06Êqá[–ò°ÛO¶Æq&˜hKT8„ËÁˆÁL¦ÕÈ=0\,¯Í«ˆBžL|…\0ç4äTŽ(>š³Ä!ÙÑ?/í¿ÑŒ§¡”þ\0aVe`KCñQ˜íÐ*¿ðø\,!çÊ›ÓÜüE±($\
+Àߥ}¿—RhÌz×犡¥BÎwÞ˜;OÓ‚e‰˜žÞØÛ;q4œ‡ÐpÄMèKé¶üƒn{ƒðÓEɧÛÌàJ ›dVûJ6“°…ƒDÝ>X{2I4¼–ª¤q^µèý‡í`™ìÖHøS‹±ëÓìâ¬æÚXƒ\,Ô©ðÃ+jܤ‹´ƒwWãÉ ñ ŒQ?ÄÇcÚ£-죆³F\0 ¸®*ÝËýjn0(\
+;µþN\\7 ´‚ðÕ¶¨=\0ÿ\0'ýl`¹ ‘²~èÒ¢½Çí Æ;¾PËñkàÃ|U"»1˜UãéJ7¶Ø gbqgI-dkw£&›m¶PŠ "а j⨕wX‹ÈŠ16h¾Ñ“\
+ þÏŽØa~Š|f¢p¢ñ&cZwÅVܳ1T_²çøàYÝxÑ…kÔဎª:TV¸Uu¸éŠ¥Ë)\,M=ü1¢2^•­qi¤WZ‘Ju©_•ÅZ”È%vðÀw6ìß.ǦúbU\0wé•sû¨ÄKö©¹÷"Ój@&£©ß¦#$.Ÿ€.ÞDZ„d‘j: VâØMðF8•ëôâªö÷‹:OÄÔïLéU¤p ããã…‹aÃSñxà¸ÐÊ«JzÙÿ\0[@Ý!•šŸ¼€Ú›~Ïù8[5¿ÆbÝ•»ål‘MÈW@¡˜î<gý/eK– ÈŒšb¨ ì€<i±ñ­6ÿ\0Ç5±#o„òø¨z†"<‹õ¦Ç®Çþ6ÂË¡4kêÂIjï·oõqW0Pü âM{âRʵB£«PÐtÇÞÊÕ«QOã€Ð’Iî¤URâ¯RÃpGÓˆ‘ðJ0?«-ÁôËr¦øÒ7;ü#õâ©mÅ@çÞ§ý¬/¹¡éÐcá#é[4|zöªWp6Ãà¹ÇÂp&*ìtb¬1¹jhkŠ²{]'Ô‡0ªn09S’=+Tmx±Þ™Õ$LYzbª¸n˜†lØ«³fÍŠ¦Ì¦.' _íµr¢˜Ú¾\0¬Ù³aWfÍ›vlÙ±Tl(¥*p#Š1ËY\
+Šc ®vlÙ°«°M›}ð6Z·\\UšZN†:Žêè•\\E/™1 ® Ç|ˆª9³fÉ+³fÍŠ¿ÿÒàR/Lf>GækŒÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]›6XÅZÍ–E2±WfÍ›v=@8ÌÕÅW0¦7\,šåb®Í›6*ìÙ³SvlÙ±WfÍ›v+£bY`ÓFÝ8+¶Ç3–ëÀ]›6l(vlÙ±WfÍ›vlmq¾ià ÓBfÌsb®Í˜e‘LU¬Ù³b®Í›6*ìÙ³b®Á6Î®Ì 1H4«;ójâY³b‡fÍ–£‘¦*Ö8!;ãž"pe» ]ðZ #®V¸ã]°>vlÙ±UâB1¤×+6*ìÙ³b®Áú­Cñky}#\\UuÔB& Àø¤Ò™ q<UµëŠHE6ij\\UÙ³fÅ]›6lUÙ³fÅ]› -´ïZ>X]2zlWÃÚH¥ƒ%8`xL(ZÝr³fÅ]›6lUØo¦Þ$(U°£6- ҽ܂I 1 Ù°¡Ù³fÅ\\qþ™¥qªi‚@E1J6+$Do‰b‡fÍ›vlÙ±VÀï–Z¹UÊÅ]›6lUÙ³fÅWÇ“¦gŒ§\\RÞQß4ó :`J†lÙ°¡Ù³fÅU#ˆÉ°Ë’®:ÚaßžàH6ÅPy³fÅ]›6lUÙ³fÅU#”ÇÓÌXÔãsbªÄe`£¹·ô)§²Tãõ9¾Ø/u@fÍ›\
+»6lØ«³fÍŠ»6lتªLÊ8ŒHšæÍŠ»6lØ«³fÍŠ»6lØ«³eÓ+p4Ë\,NVlUÙ³fÅWÄÜMN ¤ãï…™±TAºpv9Û°¡Àù±¥lšåfÍŠº¹³fÅSH¥ŒBG|\,=sTæQÈÓk6)$|1<U¶àÇÏž¸<N\\pÀÙ³f©´(áSuÁè„á°\0’ìÙ³aC°L\
+k²ÃŠ¹ºåfÍŠ¦iÄA…ÀÓë·8–\0’ìÙ³aC²øž¹X-T늡3f9±WfÍ›l±=r³fÅ]›Š'LM‡LU¬Ù³b¨‹V\
+jq“šµq0Äf&¸«Y³e•#®*ÖlÙ±WfÍ›vlÙ±Ud›ˆ¦&íÈ×›vlÙ±U_Dñå‰bÆo‡Ž-°t加ócxšcqWfÍŽUäiŠ­Ç!¡-®3DO7¨\0Àù³b®Í›6*ìÙ³b®¹t8µ¸®+ð×ÖÈ<Øù:íŒÅÍ›6*ìÀÓ6]6Å[æO|nlت¤tï?k(eb©Ë߃mé´ÂlÙ©Š»6]3Skeq 1FjŠbªY±ÔÍÇ[š˜úf¦U”Åb”ÇÓ+Žn8Ò-§bæ§LSŽn8ÒÚ2øœSŽ XAJᥴ3S)¾nÒÚèà µÄJÐÓRTSƸÒÚ—Üqa9ŠSli£Ç51n¸cKj4ËãŠðÇ*o†–ÔLd\
+œ®8c?€¸†\
+[Q㛎-é¾[CñÍLñÓÃ[P㛎/Ã7 imCŽn8¿ ®ÒÚÜqn¸cKj<sqŸfá-¯°q Á›¦J.õˆ\
+i‘>|N\
+[R“âb|N+nâ:×+†W imdŸŒ¦-Ã7 i6£LÔÅxfá-©S0ZœSŽn8)möj°óï…ÔÁm3²ð=1Ëa#/06ÁUÍ(*f¦*ñ48Þ8i\
+tÍŠqÊã*ûu wÊB¶ØÑQÓ1©ë‚’³6:™TÅZÍŠÇ©’ÜÆ1T>lÔÍŠ»6lØ«³c£˜ ZâN˜ªs`ëGžœ\0ä˜-4§›6l(U·§1˦¿áQÃL²Åºâ­fÍ›vlÙt®*ÖlÝ1Hái:bªy²Øq4ÊÅ]›6lUÙ³b±ÆKËje0¡¦V*ìÙ³b­ƒC\\׎ËǶÍŠ»®lÙj*iŠµ›"pÆb®Í›6*ìÙ±ëaQŠ¬Í–E6ÊÅ]‹}Y¸ò툌1+éqÅRê`¨\,ÌØðLf\,ÕeĦ$ˆ\\Ðb—úƸ¾ÇŸÅ…V5£­0)ÉEËÃéÐKö1U™³fÅ]‹Ã(ALC6*ÛšåfËQÈÓk±–N…zâ°ÊqU)›-Mr±WfÍ›vlÙ±WfÍ›v+Æ!A‰¨äh0L¶2Dž£ ±T37#\\¬Ù±WfË\0œ¬UÙ³fÅ]›6lUÙ³fÅ]– 2³b®ÁV®«ö°.lU<¨E9Y±WfÍ›vlÙ±WfÍ›vlpŒ¶ãE1WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlwJâCêâª5¦j×"pjc1WfÍ›vlÙ±Wc•ŠæT/Óв\
+œULï›6lUÙ³fÅ]›6lUR'àq®Üq¹±WfÍ›vbpëNÒ¾µ ˜Uq†B‡¶\0AÙ$³fÍ…Í›6*ìÙ³b®Í›6*œi_é‰jÚi°za•oÞJ6)æÉÒw ™]ž:èÙC†ú±”¥wÁ–˜.§\,ksuÊÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÝqæ6œU¡n™Šë‚íäP7ÄçpÝ0*6lq€­0ªÜ^Ös††lTlœÝjÍ*q' Øò5ÅmÐ;ošá5R‘–åG ´ÛÁn8[›-\0Ò2öàLÕ6l(vtŸ'J¶úb¹?}3›gHòÒWJ?˜7üI±V_&)· I<„‘WùvFãÂ"ËSÈVžâ\\FÕ§†*±ge¢š0í‚ÜÕ«($mÛ²Ôž_äà=!T3–ÙïׯÚ86ñÚ¤«›üŽ*Œ³Š99-T5\0ô¡—Á4r vªÐ‘¿±ã…ÖWÌDÿ\0d\0 ¼!Ðþ.ä×m¾Ö*¡*¬wÛ\
+M}‡Ùÿ\0›°$rMê=œË̘ËíÒŸçÇÍïÐqãP»Ÿ´L o0¸vx<n˜~Ч&ÅQ\,t\
+\0P1ÛÛœ³Bïq‘€"‡§ƒb—2£Èý¸ Y ¸`¦ÈZÒ¤ŠrÅXü“ÉI%ýá?·Ž\
+‹ÓAê¨\09äOêÊ’\,An5ñÇÃñb(ÌñzOØÒ¸ª©¸½i¾2õ Æ&î)¶5WcT"˜ÑpJ1øzŠõÅTÏÐSâÀ“¸\,±Ž+JŠœ3I"¦œ»ø`qpÁ\\ý’G…|1T¢…Ï*mSˆHÁØŠòé톳iÌ’útâ[p¾ØTð¯"ÕÚ¸ª¤rªÕ†ÀcdˆÊü—¡íŽ6 %i¿Ž °¶{gÁj’?Ž*«mbÑ\0§r O€ÙLL )©ßl1išÙ°û[ããÿ\0…IÂTw]‰4û±T<ŒÍW[zW| \,„JÔaºøƒŠ]1‰yþÈØàY*zb¨ø%[…%˜îG‡ú¹FÜx…¾×Ëýl'êM*;}ª\\M) FÇF\\ƒÄµ~7\07°ÿ\0'ŠIXnz*v?äŸöXš]úd‰&éóÿ\0‰eJèe4aâo½1Tºí•xîAå±ê1“¯\
+ú}A¯Ì¡^à|«”†\0‰Èý?g]Ájj~Šý`°HߊœÁ}:¹>>8‡ÃBêqT$ƒà¾ÐÓ¶\\1;¸g:ñ Ãéú0®qC\\U/Ÿ¡ÀX:q@ß\,Š»6lتñ+( 8ÒIë•›vlÙ±WfÍ›lbëƘ.§‚æë•›6(vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›ÿÓóþlÙ±WfÍ›vlÙ±Wc¸É× `YqT ŠfÁH¶Àø«²Á¦VlU²k•›6*ìÙ³b®Í›6*ìÙ³b®Ç®7ƒh\
+ jÃ|MqË)\\URá± s¹~¸ÜUÙ³fÅ]ŠFœ±<R7㊴éÄã1G~Xž*ì¦i\\f($Ú˜ªžlÇ6*ìÙ³b«ÒVN˜ç˜¿\\K6*½ž=­ÊŠãøâæã¦*…阚æ9±WfÍ›vlÙ±WfÍ›vlÙ±WfÍŽD/Š­Áz|bI@n˜׉¦:)LF£P˜ê±¤t …aˆéŠM;Mö±\,@Ù%²IÊÍ›\
+›6lUÙ³fÅ]›6lUÙ³fÅ]—LÀTÓ<|V¸ª6lØ«³fÌ1Vèr°YãéûâQ lUG0ëŽqC¶U*Éì.-È=i‘Û¦å#ãYEÆS\\ˆYa¬Ù³d˜»6^V*ìÙ³b®Í›6*ìÙ³b­…-˜Š`Û(Dƒ|BéB9¦”2ÔÐåf„KÌiºæË]Ž*â¤e äiŠHA’ž&¸ª*k`‹\\ ‹½Ë:ñ8†\0®Í›6vlÙ±WfÍ›vlÙ±WfÍ›v_Jå¢8&E\
+˜ª6lØ«³fÍŠ»-T± ÊÅíX#Õ±U&Bq¸&î@íðàlUÙ³fÅW+Üe359Y±WfÍ–œU¬ÙdS+vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±Uʼ0GÕ ÄWáß[º\
+b«Z0‹±i%çˆâ®Ë¡ÊÁÖê…7ëŠB6:@cqC³fÍŠ»6lºU¬Ù³b®¸æB½s!¡Åf0ÛPËSÄ×+6*©$œñ<Ù±WW6lØ«³fÍŠ»6lµRƃk6(ÑÄñWfÍ›vlÙ±WfÍ›vlÙ±Wb¾¯ÃLK6*ìÙ³b®Í›6*ì°*h2±X+‚Ý1TãK…62u¦Üdjt®/=Ù&‰°À„×|U¬Ù³b®Í›6*ÚõÁR²”Û®Í\\UwJãqe¦"qWeS•–½qU씞-#Tb8«³fÍŠ«[[µÌ‚%êM2KþÔ¸zO+Ó\0yEUµ8CýžB¹ìkM>ÊK!SxÀ¯ÑŠ¾$»µ{9 R}¡×³²Ž#$|DXcû!ŽF±VØò5ÊÍ–qV±ÊhqÏA\\ONÞÙ ·©Þ˜Hpy»>§€0T‚?V@ž' 5M0YÆÇ\0X¸I•@pëÌÉqªöÄólˆžls6lØZÝ›6lUmpHÄX•cƒìU p»¹8:¥i5Ê˦jaCY€®Øà¹`Pâ«š¢¸0CIQLJ˜iVS51ürøãHµ”ÍLSŽ_ 4¶§LÔÅxeðÆ‘j\\røâ¼2øa¥µ9|q~|0ð¢Ô8eðÅøeˆñá[CðËá‚}›ÓËCðËá‚=<±q\,Ä­F&b#®Ú*FÄobP~i6•pÅ”ÑiŠzy~ž<HnÇ\,5Á<UŠñ ŒTÊôðÀÄ%écÂŽ%q¬•8'ÒËô°ð¯ÓÍéà¿K/ÓÇ…xžžoOúX¬Pƒ×q =<¯O eˆ˜—¥\
+ñ!=<±0tpÔ㥷¦âKÙ+•éàÏK7¥\
+ñ ý<Þž ô³z8ð¯ÓÍéàÏK7¥\
+ñ ý<Þž õßéc¼HArŒTÁʔƴu88W‰é别‚ý\,tqѱáO ¡+×éá•ÂV”Ä=\,xW‰ éåzx3ÒÊôðp¯ÓÍéà¿O+ÓÇ…<HN\\0_§›ÓÁ¼H@™!¶¹ŒAÀõ¦zxår&ÈN”ï¨Àœ0t‹Ëôñá^$/ ®(Ç•éã¼H^\\0O§Xüpp­ ¸fã‚Z<o xSjq¹\,ÅÅ2øepÁ›Pã•L\\¦W ¶¡L/ úâe3PŒi6°|/\\VæN` OŽW‚–Ö+é”jzãøåSM¬Í¦eZš`U™°CÛ2ŠâSk6jfÅ]ŠÆ@âY±UÎA8*Òuˆà<تù[“1™³b®Í–ªXÐc䉣늩ãÕÊã3b­“]ò³fÅ]›6XôÅZÍ›6*ìrnX늪ÎkLGmÆ"qWfÍ›v†`‚‡æÅWHÜq¹³b®Ë®VlUÙ³fÅ]–¯L¬Øªó3ž§›6*ìÙ³b®Í‚lí ÛqÛ«slü*¡ŽFâkÍŠªË'©‰fÍŠ»6lØ«³fÌ1WfÁR"„¨ëqWfÍ›_ £­|rYª˜ÚÀqëLˆƒC\\-ûI§ÛAfÍ›L´ô”óÀW\0 :cÙze]Î\
+ÝZËQSL¬°hk…WÉ OÎ[®7vlÙ±Wb¢*ŠâX¢ËALUOE&¹aˆÅW8–Mr±WfÍŽAÉ€ÅVæÁs[ñZŒ Š»6lت2ÞEU¡ÀÒXÓ›vlnªÝq“(lUK6lØ«³fÍŠ»6l|c‘¦*³\,|©Äâxª±R™PÍé±\,تù™®36lUÙ°JÀ\
+×qCLUnlÙ±U{iñ[‰ÕÅÍŠ»6lTÀÁyvÅT³fÍŠ»6lØ«³fÍŠ»6lØ«-òõìq@Q°‡V!§\,¸9Þ/²q®åÍ["#FÙX¥¹³fÉ1vlؼæn˜ª†lVhL&‡Å]›6lU|R´FªiŽ–áæûF¸–lUÙ³fÅ]›6lUÙ³fÅ]›‚¦˜£ÅA\\UG6lØ«³fÇļš˜«I³\
+á„Žñ)\,ÏŒà®Ç4ƒMW+6l(mzŒ5‘£0{áN;™¥+Š¶‹É€Ã«AÆÄ×K|ò'Ó(‘FÐÊÅ F9A˜ï‰â±IÀáb¾Kr‚§à¹gõ˜vlÙ±WgGòy-c±aÿ\0 Ë9Èëʲñµ\
+¿ÎGÞ*Ìm›œD9Ú„WðÁ–ðSÄ©ý°ADm˹\0za¶”T‚§í.äœU »Fþª'/SíàO‹Þr†€n¬x‚=°dÄ´«F¢=qðïŠÊÑ)16ÈÜO/kŠ¡ì­Ó2¹ÜƒJu½ò€hxEÅÁ\\Hztû´7PRí·Zÿ\0Í8­Í fžR¼iá\\UB‰&C¥x\0aտ뜑D”mÃß±óV³q+¬’¯F£Ûüþ8½åÂŽD0ëñ{Ú8«d©-#5T°;oBÃÿ\0ÅígiÏ¥QÒ¡†Çž‚öÞ °¸ûlJµ65þﻂæêÑ£Œƒ3Ð#) Ãþ–*¹³xfa4¡ˆÕ¹û9MÄ¥¾¢”ï\\3ksî\0.„‚Nûÿ\0ÍØûJY¨€—4ä‘üßìqT‰fªq]…û°ÜÓŠ¿zÓl7Ô4•‰dž0C„Oïg‘„’\
+\0¢ƒßü¬U%ÃU"nâµÁ‘ÙÛI ¶=»>ÎC#\\ÜJ6ùä¨Û:D`±=6#í6*¢²M(IIð à)4 „;°ÜO`|pÁ%\
+E»Öˉ§p>\,Iœ„u$þÈþU.6Ε5åéîióħ‘‘±Pÿ\0Ã/]îÈ¡‘ÐÓ³šà9ágäìH¨ÅRæ–Y£UcP¢•Ä툡Jü°K˜ÕhkòÀHC8áµ|U»¹*¼Aß ½6A¿Mëó8*rT•mð9¨O|UJƒ¡ï©AAÐå8N(§Úêzbª"EMœw?O|J2%ŽVzí^ÔÁ_ jí–ýÌ"½úâ¨8-föWv÷Û¦"¤³v? 6ÿ\0&˜gý\\}¢(=éc¶ îÎhCSÛ|Udo„­GÏùN% âhw$ýÎ+FÅj´Ø~8XйcØoÿ\0â¨k—ªºð®è\0 Ž§.(£Û\
+.¨vÅR¹þÉ®Á—á8vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›vlÙ±WfÍ›pÁBR¸²Šb•3×+1ß6(vlÙ±WfÍ›vlÙ±WfÍ›ÿÔóþlÙ±WfÍ›vlÙ±VÁ¡Áð\\ñZa~]HÅUn›WÍ›vlÙ±WfÍŠ(bªy²Û®V*ìJËS€ñE”¨¦*¶EâiËcÈ×+vlÙ±WfÍ›vlÙ±WfÍ›v]2±aN8ªŽlÇ6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Ç"s4ÜZÝÂ5N*¶HŠuÄðUÔ¡ú`aŠµ›˜ÜUÙ³fÅ[Uå¶+õv¥q‘·\\.W1TZ*Šà9­Q˜Jz`Væ5lO15Í…]›6lUÙ³fÅ]›6lUÙ±ÁIߊ»6lØ«³`ƒnBòÀø«jhk‹Ë75¦ÍŠ»6lØ«³fÍŠ·SWâ1<ت;M…g’’·òÄo¨)Ó!¶Ó˜X0É­Ž¸ ¿=²¾‰a—°}^Ržjr gf&ìÙ³b®Í›6*ìÔÍB\\UflsõÛŠ»6lت´3´]1’9sS‚á€2Tà7b1U¹³fÅ]›6lU²k•›6*¨‘òÆ0¡¦-1'55Å+sfÍŠ›6lUÙ°RZ’œñ\0UflÙ±WfÍ›EÛƧ–NF˜Àäl1¸ìÙ³aC³fÍŠ»6l±×k6/"\0µ†*ìÀW\,\
+š`Ø­h*qT )›˜Q©‰â®Å£p#›_!¦36lUÙ³fÅ]›6lUÙ³fÅ]š™°}…¯®$Ò@´l^ê/Iøâ¡-±™³b®Í›6*ì°ÄtÊÍŠ»6lتåBÝfB½Fé†1³àDBV©Š¤XðF36*ÛefÍŠ»6lØ«³fÍŠ»6lØ«³fÍŠ»6lت¬Q‡ÊSé¶5\\¯Li5ÅQaýo‡%‘Eåcs¨ÁzÎ8à6¨C¶l³^ùXUÙ³fÅ]›6lUÙ³f¸«³fé›vlÙ±WfÍ›vlÙ±WfÍ›vZ¯#A•ŽFâkŠ¶ñ”ëŒÅe—ž%Š»6lØ«³fÍŠ¶FV]r±WW6lØ«³fÍŠ¢\,nšÊe™z©®t[Í›˜ Ôì)œË6*ŒÕ/›Q¸{†êƸ6lUÀWÁnHæ{c\,™.˜mw$iJ'—žÞ†[nr±WfÍLºb­LqrÝNU2銭˦:™|pÒS.˜þ9aq¥µªÅvTÅc‚a¤Z—¾8¨LpL4¶¶·Ç΢»e„Çp'\
+8”e„ÅÄxáq!Âb±GS¾*#Ç*S\
+8–K\01/OQŒaGG–#Á^–X‹%ÂŽ$0\,G‚„Xáq!Dyb<"ËaáGÒÇðbÀOA\\^=:y>Äl~Jpð£‰éףЯýÔÃç¶_\,^1Ü*üÏôÁéBw=÷¥–"ÉByNcö¤A÷œžR_Û”ý ƒŠªÔ»˜Š©^™eKuɪyZÔ}¢çé'—¬“ö+ó'Á&bÌ!¯A4›HþÌK÷Wõà„¶>Ê(ùƒÅr|3Þód³•þÊ1ù‚H»n‘?Ý€¸àñ|“áù°$Ð/[ý×O™¢ùfñº…3“ž9¸àñOpO†;ØbùRäõdôÅ”¥ï"ýÇ%ôÊ ÇÅ’|0ÅG”y~åþÜPyI;Ê~ì“æ¦KáÅ)ÃÞFû†(¾V·_ÚÃúdƒŽj`ñ%Þž÷$?á‹^åÏÓý™á›Oò¾ü=¦jcâK½x#Ü’/—- o¿|¿hz©?IÃzeñÇŽ]ëÁä›ü;eü‡ï9¿Ãö_Éøœ8㛎9w¯ {’Ð_ï¿ÄæýgþûüNñÊã»Êðǹ)ýeþûüNWè/÷ßâpߎn8ñ˼¯ {’ŸÐVÉøœiÐ\,¿ß‰Ã~9¸ãÇ.ò¼1îI¿Ãö_È~ó”|½gü§ï8sÇ7xåÞ¼1îHÏ—\,Ïfûò¿Ãvƒù¾ü<㛎9w¯{’òÕ³w¿û13å‹~Ìÿ\0‡ôÉÜqñ%Þ¼îcmåh»; c•S´‡îÉ7®8ø’ïGX³yWÂOø_íÄÏ•äí"ýÇ%¼r¸áñ$¾Xsybàtd?~$Þ\\»Ÿ§&¼r¸añJøa‚¶…v¿îºüˆÄ[J¹^±7Ý“þ9\\qñ|‘áù¼é¬äO´Œ>`âf":çHà\\Mí£´ª~cˆ;‘áž÷œ˜²½<Ÿ¾—lýb_»}\
+Ñÿ\0bŸ"pñÅx$Á}<¯N™3o-Û7BÃéÀïåuý™Ò0ñG½2bf<i$ïå‰GÙu?~.Ý/@§äqô÷¯«¹˜ñ¦<:}í:ÆOË|ö'Ú‡Ðq ‹)a(ǃý½E2š!\
+x’ÿ\0O(ǃ xÓñ øb°B®*cÇF8äLR$ƒ’>\,F'úr5ÄÌx8SÄ…)–ƒ‹‹˜òŠ`áMªKp\
+Ð`8oaj²‚[ÜDÈM øåS)á-¨Ó*˜±\\®8ÒmJ™TÅ8ãÒ.x)mC6(éÄÓL ] pN-w0–”ÀÔÍLUªW6 ³Œ=kˆL´r*§›6lUؼ\, oˆbðAꃊ©9íÇ2ñn8hö\
+¶þ¯|U)Ì6Í›\\[›6*ìÙ³b®Í‹Dœ†&â‡ÒÜÙcs‚¸¡ ›6lUÙ³fÅ]›6lUÙ³fÅW¢é"†˜½©\0ï‰Íö0%§Þ}Mùcoî¾·'< › !Ù³fÅ]›6lUØõÌ°iŠ´sfÍŠ®.H¦76lUÙ³fÅ]›6\
+ŽÐÈœñT.l²(i•Š»6lØ«³S\,uǸ ÅTófÍŠ»6lØ«³fÍŠ»6a¾ ¶´2â¨\,Ø"êE©ñWcЃ͊¦2N­0¼õÍ\\¬\0R»6lr¡n˜Unl²\
+ìr±VÃÓ15ë•›vlÙ±WfÌqU€¶*¥Ž¸šæuâiÅUe“ž%›6*ìÙj*ixÊ ñU<Ù³bª¢b1=ØæUäi‹IŠ„â«"‚§Å囚ˆb®Í›6*áƒZàø÷ÀY±¥vlØø£2 Ufl|±˜Í3vlÙ±WfÍ›vlÙ±WfÍ›v µ¸ôÁQÄkŠ­ºŸ×jà|RD\
+q<UÙ³fÅ]› ß2ÓQÍ›6*ìÙ³b®Í›6*Úšâí5FÍŠ¶Mr³fÅUaNYtô^¹P¿—4œñTc^©Z` ™®36\0)]ŽT-Ó‹[š6øUMÓ†7Ýz`lB—fÍ›vlÙ±Tu¬"EÄ'·1VÎK®)ur²\
+ Úkd¿6lØPì˜ù:ã÷s¡ê¥ÿ\0†Èvy^ãѽ ÚE+ÿ\0ÿ\0Ƹ«Ôlæ+Tt5ÁÖèÎ55§zá>›(Yx¶Õ¡<1àÉ1õ \
+Š§—/éKJÑxŠW§^X‚3ÄR¿:' R¿ì‘¸ãYå]ëñ¿ˆÿ\0š°ÞÉÚ¢¸ˆ Šx“·ûUu°‡Žà<XS±_µÿ\0ÁwPÅy$†PFÝk„²'¢íoM[‹(c±¯ÛUÿ\0WŽ25hˆô`¬Å†ôëéü?å7ÚÅWÛÞË­ON¡zÿ\0ÆØ*EäŒôÜø`¨\0/ˆu%«ðÿ\0Á`Ù‰µ‹ãÜúV„ÓáÅZhŒËû…Ý)"àš«õW.ÞàÀ"¶ŒÔ9‡¸#÷_òq¶Œìy.€î6¯üOÍÁ$ŠáW™\0|T¥GN5ÅW¨ŠRÜÞ‘°Þ£¿úßìpÁGxÉ"3C¶ÅiöYÈÿ\0'ÜÜ|MãHè*xÿ\0Äp=ʈîVÝ+ðŠnjiþS.*—ÜË\,™T? :í„W›ªòUݽòMynÓFª6ß\,'¹µ‘_¸Äž´ùâ¨{îxù*„=\0ì+ðŸõ¸ý¬“GÉA4bŠÓö‰?ñ®Ù)±˜r¡\
+>µ‡6÷‚âêy0´ÿ\0Ââª`ÌÈAê:Ö«J?cý–3ÓX¾$¡tÃùr¯/‡©'C†=ê ?츯‹kq5ò‰Ý\
+h“üž8ª”±ðJ£ný«…—‚ڨ¯#7í_‡ /ä1€àª?ÙÀwö‰#sWãOŠ¡„Wrâ b 8ô% äÜ68œ’È+¿Ž*ƒ‘ÞG¶69ìGLRuâ8Ž‡.(ˆë×RiU¾ÈÛ½p%ÕÁV íð0Ïàâj)ˆK\
+ý \0ñ?\,UiB…§üÿ\0›C^&ƒ—ӂך™I(^¡hzvÄ#8¢#oÙÅUaè•JÓ¨ñÀ²\
+5}”üþ<Q9´ˆË²SN€xeË‚þÑ¥~UÅPܨÀ²@¯Î¿ü.$b =[sôtŨb\
+ƒ ŸF¯$â§&¿F*£põªõ8Urzø`ÙÉäk…×€ŒU\,¸?÷8¸j1UÙ³fÅ[½1O@Ò¸ØÛ‰® 3ŠS¡xåc¹ ¥ºaV³cÌDc1WfÍ›vlÙ±WfÍ›vlÙ±UÑŠœ<<V£©¡® ’`ÉLU›6lUÙ³fÅ]›6lUÙ³fÅ]›6lUÿÕóþZŠœ¬ÀÓF¤*Ep4¨Ðff劭͛6*ìØ!#ª×aCŠµ›6aŠ·L¬_ˆãˆœU¬ºå\\õCÇ–*…ÍŠÇ&¦\\ÑðÅTsfÍŠ»6lØ«³f¦/AŠ¨fÇÈœ 1˜«³fÍŠ»6lØ«²ë•›vlÙ±WfÍ›vlÙ±WfÍ›v Ž\0ë\\ Š¤Ì» U¹bàqQä-×Å]›6lUÙ³fÅ]\\Ù³b®Í›6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙj+1‘Š£ ¶C#× ÜQˆñ;(ã‰ñUUp1#›6*ì±±ÊÍŠ¢šæ©ÇæÍŠ»6lØ«³fÁ¶ Ú‡AfÉ ÆŽªœ†Êœ®\0mVfÍ›\
+»YÝÄñOLÒ¸ªÆbƧ+6lUØ¢DXWÁ1HiŠ¡È¡¦V9ÍMq¸«³fÍŠ»6lØ«³fÍŠ¢ã¸\
+´À¬jk˜\
+⢊âª9²ØPåb®Í›6*ìÙ³b®Í›6*¨"$WE1d˜LMÚ¸ªÌÃ6lU2j!áß-»8/ˆa”S†ðrMÚ\\E 1Æ6¹Uø«ïƒe• TqB6lØUÙ³fÅ]š˜&c*òĤ~UO6lØ«³tÍ›l±=r³fÅ[SÄ× ÃJ`LتçnF¸ÜÙ±WfÍ›_†48´±Œhͺægn‡Y›6lUØøÀ=q™¦*¹èØÜÝsb®ÃM2ímÁ\
+ó`"Ò "oeÈX`lÙ°¡Ù³fÅ]›6lUÙ³fÅ]›6lU°ÅzsJͱ8ÌØ«²ÔTåe©¡LÍôyáY×¼Sl&8»6lØUÙ³fÅ]›6lUÙ³fÅ]›6lUÙ³fÅ]‹[ w¡ÄqHŸ®*«x¡Zƒb’¿3\\O®Í›6*ìÙ±@£qU<ZÙy6ø4Åö‹qŠ…9…Ç3r5Æâ®Í›6*ì|iÌÓ‚!¶–MÐWY4b3A‰b“+£Qúâx«³fÍŠ»6lØ«³fÍŠ»6l|q4Ÿdb«3c™Jn*ìÙ²À©¦*Ö<ÄÀW¶b¼pcN†.=ñT\0Ç+¹èH+Ó /Z3ã×Jóf˦*ÖlpBzf㊴ 1ÅÙºœÜrÂá¤ZÚf¦)Ç\,&[S¦X\\T&8&E©Ë ‹ÇËQ –ã„xxQÄ¢±×/Ó¦\
+)–R¦¸DQĆã„x Gä¸Xñ!„xá cÄY.q!Dxá\
+cÄ8xXñ!xá KW²¤ü†‹C¼—¤L>{~¼< s['’L"DzI•®Ÿí•O¦¿ñ”Gû²Mý†(©©Œ@Edê/-ÙÇÔùœŸo 8Ôà2'\,G$ørêóè¬&›hãfùƒ¢òíì¿î¾?ë2yƃlºdNnàËÂï\,B/)L¼‘WåSƒbò¥ºÿ\0y#7ʃ$_FjS"rÉ—‡¢//X§û¬·Ìœ›kÙ‰Ð0m=ódLäz²á¢šB©²¨!sTån{മᛀÆñc¹Ê¦_A›lOŽXªí³Teq9b3Šº¹xá;Ž*³51üsqÅT雎)Ç+Ž)YÃ7¦WP·ˆË Ë㛎*Õ2©Žã—ÇYLÔÇñÍǬ¦]1ÔÍLUe3SLÔÅVS*˜úeS[Lªc³S[Lªcé•LUm2©¦n8ªÊeS¦U1BÊf¦:™©ŠVS51ôÊ㊬¦U1N9TÅVS*˜úf¦(S+•Ç¦jbª|q¥qZf¦*¥Ç(®+L®8ª—®8¯ÜqU9Eqn9\\qU¹E1n9\\qT;B­ö€?<BM> >Ôj~ŒÇ*˜l­¢MÑÿ\0bŸ#$òä-ö—ç¾HJåÉq˽\0îbrynAöOÏl &‡uìWärjcƘðø…`2YKÛFF b΄cÄd´ŠO¶Š~Œ—ˆ:„p…€˜ñ¦<šÉ£Z¿ìqù '—co°ä|ÅpñD£†LY Göq6BƧ$2ùzeVVü0é ûùo†äQ¸IÌxÓ=¬‘ý¥#æ1#<+Ä‚)ŠÃn®*cÌ ¯L‰Šx”'€'LAj¸1Án¸‘#Âˉ Ñ®3Ž\
+1ãJ`áM¡ŠåqÁ1¥0Rm¨$ô뉹äÕǔƕÁIµ3¾U1N9\\pRÚž-æ-†2™TÁI·3r5ÅšòFON»bʦ*ìÙ³b®Í›6*ìÙ©–ªXÐb«’B¸ÖnF¸»Z:¯.Ø»e$S›;6lØ«±ÄmŠE1QŒ}1U™³fÅ]›6lUµb½3]ò°ÒÓI{¨L«Û beÉR¼V(½Lc©F*{c£”ÇÓ®šOÅ$”É×Å]›6lUÙ³ XÆ)\\UG6cŽNøªÜÙtÌV˜«Y³fÅ]‚£»(œ0.lU²jk–ª[¦7ZS–øªƒ/C•‹Ý\
+>؆*áŽf®76*ìÙ³b®Åíàõš˜†+ ÆQŠ¢.ì¾®+€°]Íë\\\
+ €+k×$šd@-NFÔÐ× àÔiA†éVë r¨Âœwqë „«³fÍ]›6lUØ´ïˆæÅUf`ƣ͛vlÙ±WfÍ›lm‚ãˆÀÙ±Uò?3\\flØ«³fÍŠ¯ˆÑ† ¼ ÀS Æ.ÑÈÉÈôÅT3S‚§*ñÅV#q5ŧ¸õ@6*ìÙ³b®Í›6*ìÙ³b®Å­åôš§ÍŠ«\\KêµF$TŒË×L†Øª6lØ«³fÍŠ»6lØ«³fÍŠ»$ Pc3b­–'®VlØ«³fÍŠ»\,’r³b®Í›6*¹P·L¦R»a#¾2þ0¶*‚Í›6*ìÙ³b®Í›6*ìÙ³bª‰?Lc)SCƒ-&T!rÁÚ£QË™Y±UÌå±¹³b®Íš™±WfÍ›vlÙ±WfÍ›v/g9µž9‡ì08†lUêЂJ§•r@̤8ÖŸ«"~V¾r±?Ò¿gþIñÉRúÒÓ˜¯Ò1TçN70Û¹\0JÒ•Ã)Ú$~d•B iÓù—þ6›S§&â@¡> -oEœ’Ä[vâë^†ŸÞ¯ü*¥zEëØR5Ù+ßü¯‡šÄOÄÂ̲DÅÚ½ù’Ø”@"º!=F\
+`Å_þâl`¼•¢hTúlçˆj߇üCU‹Qiíã’•$Ëþ©ãðÿ\0«‚n$‘R¨¹q4ïLik 1 PÜ‹W€ð§Úÿ\0eŽ±úä¾ã*OJ‹þ%Š«$æ)K jMÉû?à—+-¸Tj–܃·q\
+%"Ìqö<¿—ü¯‡Á2µ&­be4Ú‡Ùÿ\0[DÊ¢q\
+Êap\0@Cÿ\0¬¬¸èå7œHEë˱¿•±4 qÀ=}8Ãâ 8òfDZ’0$VìÀ¶*«=#1­ 3£ìœ4±Ù’·#‚³Ìo¿ù_ì°L¤Ù̯!æàš…ì¤qv_æÀRB)"·ýâ1fØ(ý¬U2¼wIn\0¯ kЂ_Fuæ¦ÍN¤~Î(ðÅs'!VM©S¶ßórâ“Fvêz|ñU7H9´‚ŒZ£ßð›Nbе˜a$®Èk¸¯½wÅ­¥i XRŸçÈb¨»Æu´3©çŃWéû9R¯Ö&bŒË‰÷ì \0~è ŠÕ¶þlVÖ6·&SéÔƒQŠ¥³:I+pjo·MðSsø›c¸§ñÅõ 9£ýäGà@j£½OÊ%ÅŽÍÐåÅT\0Ô®6‚»V¸¥º¬hÈÄTÇÆPªoãLUd»@?\,FBå`F)$è› ÎS-Fã¦*±oDWÔj‘CÒ£h\\úÆ®ä§ù þªã£A9ìˆøWâøÕ˸›×ýóý“·…@ýœUlÔR8T/0Xûù©±&«2²ü* ä>cáÁ†Pö€\
+\\‰\
+¨¢ø|¶åŠ¨I9V+Ü°s·\
+v*v>8:CΧä\0–Pÿ\0k¨GümŠ¡î æ0®èöÁÓKP=¶Â«§ê|1T ­É‰ÆfÍŠ»6lØ«³fÍŠ»€ëˆf®*Œ’U¦ØõÊ®lRìÙ³b‡fÍ›vl¾'+vlÙ±We×+6*ìÙ³b®Í›6*ìÙ³b®Í›6*ìÙ³b¯ÿÖóþl¾'+vlÙ±WfÍ›E$ -03œ¬Ø«±QÕıâB1VËÐSÍ›l/>8 64¶ˆ·+
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/1913.test b/storage/tokudb/mysql-test/tokudb_bugs/t/1913.test
index 42f232dbbb8..faf8349829c 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/1913.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/1913.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/1938.test b/storage/tokudb/mysql-test/tokudb_bugs/t/1938.test
index 55e3de496ee..786a494c5ed 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/1938.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/1938.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/1949.test b/storage/tokudb/mysql-test/tokudb_bugs/t/1949.test
index f0f42ef3f5c..9b5b591e595 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/1949.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/1949.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2043.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2043.test
index b25e2524a56..dbb36873861 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2043.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2043.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2219.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2219.test
index 9b86e3aebc6..0a7bf56147e 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2219.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2219.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2262.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2262.test
index b9816da6921..c4ce8727577 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2262.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2262.test
@@ -1,15 +1,15 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS test_bug;
--enable_warnings
-create table test_bug (
- id INT NOT NULL PRIMARY KEY,
- foo CHAR(10)
+create table test_bug (
+ id INT NOT NULL PRIMARY KEY,
+ foo CHAR(10)
) ENGINE=TokuDB;
set session transaction isolation level read uncommitted;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2383.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2383.test
index eda20fd03d9..01935c41dee 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2383.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2383.test
@@ -1,5 +1,5 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2458.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2458.test
index 691620b892f..524217a2040 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2458.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2458.test
@@ -1,5 +1,5 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2548.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2548.test
index d968de3cf9e..bdbcce1ad8f 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2548.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2548.test
@@ -1,5 +1,5 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2641.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2641.test
index 82e410f4053..b7ab611cef3 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2641.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2641.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2952.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2952.test
index 29dec12a872..90b522a6dac 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2952.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2952.test
@@ -1,7 +1,7 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
-#--source include/not_5_5.inc
+--source include/have_tokudb.inc
+--source include/not_5_5.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/2970.test b/storage/tokudb/mysql-test/tokudb_bugs/t/2970.test
index 6335bb74119..e2d686322f9 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/2970.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/2970.test
@@ -1,3 +1,6 @@
+source include/have_tokudb.inc;
+set default_storage_engine='tokudb';
+
# test that the query planner chooses a covering index over a non-covering index with the same
# record cost
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/3014.test b/storage/tokudb/mysql-test/tokudb_bugs/t/3014.test
index ff50b582ea8..e6f12eca825 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/3014.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/3014.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
#
# Record inconsistency.
#
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/3015.test b/storage/tokudb/mysql-test/tokudb_bugs/t/3015.test
index 2539150e578..a6071f3d10b 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/3015.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/3015.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
#
#test update multiple
#
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/3083.test b/storage/tokudb/mysql-test/tokudb_bugs/t/3083.test
index badb2111f0d..8fa1e6cf9ef 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/3083.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/3083.test
@@ -1,4 +1,4 @@
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
#
#test update multiple
#
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/4472.test b/storage/tokudb/mysql-test/tokudb_bugs/t/4472.test
index 598cd9763a8..dbc8b365cc6 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/4472.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/4472.test
@@ -1,6 +1,6 @@
# test simple MVCC, that a transaction does not read something committed after it
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/4656.test b/storage/tokudb/mysql-test/tokudb_bugs/t/4656.test
index ea50fe2973e..98b3a8fb204 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/4656.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/4656.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
DROP TABLE IF EXISTS t2;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/4656_2.test b/storage/tokudb/mysql-test/tokudb_bugs/t/4656_2.test
index 618f7f433b8..a65be6aec15 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/4656_2.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/4656_2.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
DROP TABLE IF EXISTS t2;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/5089.test b/storage/tokudb/mysql-test/tokudb_bugs/t/5089.test
index b7740fc5bd9..dc017ddeafe 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/5089.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/5089.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
let $engine='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test b/storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test
index d629c2cfe1c..d68dd3cd72a 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test
@@ -1,6 +1,6 @@
# test that query planner selects range scan rather than full scan of the primary key
# see ticket #5733
-
+source include/have_tokudb.inc;
source include/have_innodb.inc;
disable_warnings;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/6053.test b/storage/tokudb/mysql-test/tokudb_bugs/t/6053.test
index 5229c46db07..c628525acdd 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/6053.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/6053.test
@@ -1,3 +1,4 @@
+source include/have_tokudb.inc;
# verify that the tokudb version string is appended to the mysql version
replace_regex /[0-9]+\.[0-9]+\.[0-9]+[a-z0-9\-\.]*-tokudb-.*/NA.NA.NA-TOKUDB-NA/;
select version();
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/6684.test b/storage/tokudb/mysql-test/tokudb_bugs/t/6684.test
index ce9e462d353..63ddf752512 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/6684.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/6684.test
@@ -1,3 +1,4 @@
+--source include/have_tokudb.inc
use test;
drop table if exists site;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/alter_external_lock_assert.test b/storage/tokudb/mysql-test/tokudb_bugs/t/alter_external_lock_assert.test
new file mode 100644
index 00000000000..db04eb4255c
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/alter_external_lock_assert.test
@@ -0,0 +1,26 @@
+# test case for Tokutek/mysql56#54, assert in tokudb::external_lock
+
+source include/have_tokudb.inc;
+set default_storage_engine=tokudb;
+disable_warnings;
+DROP TABLE IF EXISTS p,i,t1_tokudb_tokudb_smallvc_250;
+enable_warnings;
+BEGIN;
+CREATE TABLE t1_tokudb_tokudb_smallvc_250(
+c1 BLOB,
+c2 DATE,
+unique(c2)) ENGINE=tokudb COMPRESSION=tokudb_small;
+CREATE TEMPORARY TABLE p LIKE t1_tokudb_tokudb_smallvc_250;
+ALTER TABLE p RENAME t1_tokudb_tokudb_smallvc_250;
+CREATE TEMPORARY TABLE i SELECT 1 t1_tokudb_tokudb_smallvc_250;
+show tables;
+LOCK TABLE i READ;
+ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
+ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
+ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
+UNLOCK TABLES;
+COMMIT;
+disable_warnings;
+DROP TABLE IF EXISTS i,p,t1_tokudb_tokudb_smallvc_250;
+enable_warnings;
+DROP TABLE t1_tokudb_tokudb_smallvc_250;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/alter_part_tokudb_bug_155.test b/storage/tokudb/mysql-test/tokudb_bugs/t/alter_part_tokudb_bug_155.test
new file mode 100644
index 00000000000..a02cec0fb96
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/alter_part_tokudb_bug_155.test
@@ -0,0 +1,51 @@
+# test case https://github.com/Tokutek/ft-engine/issues/155
+
+source include/have_tokudb.inc;
+source include/have_partition.inc;
+
+disable_warnings;
+DROP TABLE IF EXISTS `test`;
+enable_warnings;
+
+CREATE TABLE `test` (
+ `id` bigint(20) unsigned NOT NULL,
+ `timestamp` timestamp NOT NULL DEFAULT '1985-01-19 09:00:00',
+ `col1` smallint(5) unsigned NOT NULL,
+ `col2` smallint(5) unsigned DEFAULT NULL,
+ `col3` smallint(6) DEFAULT NULL,
+ `col4` tinyint(4) DEFAULT NULL,
+ `col5` smallint(6) DEFAULT NULL,
+ `col6` tinyint(4) DEFAULT NULL,
+ `col7` smallint(6) DEFAULT NULL,
+ `col8` smallint(6) DEFAULT NULL,
+ `col9` smallint(6) DEFAULT NULL,
+ `col10` smallint(6) DEFAULT NULL,
+ `col11` smallint(6) DEFAULT NULL,
+ `col12` smallint(6) DEFAULT NULL,
+ `col13` tinyint(4) DEFAULT NULL,
+ `col14` int(11) DEFAULT NULL,
+ `col15` int(11) DEFAULT NULL,
+ `col16` tinyint(4) DEFAULT NULL,
+ `col17` smallint(6) DEFAULT NULL,
+ PRIMARY KEY (`id`,`timestamp`)
+) ENGINE=TokuDB DEFAULT CHARSET=utf8 COMPRESSION=TOKUDB_LZMA
+PARTITION BY RANGE (UNIX_TIMESTAMP(timestamp))
+(PARTITION p201312 VALUES LESS THAN (1388563200) ENGINE = TokuDB,
+ PARTITION p201401 VALUES LESS THAN (1391241600) ENGINE = TokuDB,
+ PARTITION pMax VALUES LESS THAN MAXVALUE ENGINE = TokuDB);
+
+INSERT INTO `test` VALUES (138,'2013-11-04 10:47:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(138,'2013-11-04 10:47:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(138,'2013-11-04 10:47:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(138,'2013-11-04 10:47:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(138,'2013-11-04 10:47:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(139,'2013-11-04 10:48:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(139,'2013-11-04 10:48:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(139,'2013-11-04 10:48:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(139,'2013-11-04 10:48:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(139,'2013-11-04 10:48:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(140,'2013-11-04 10:49:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(140,'2013-11-04 10:49:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(140,'2013-11-04 10:49:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(140,'2013-11-04 10:49:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(140,'2013-11-04 10:49:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(141,'2013-11-04 10:50:01',2560,29952,-1025,-120,-12545,5,2560,3840,5120,6400,7680,0,3,-1761607678,419430400,-12,NULL),(141,'2013-11-04 10:50:02',62464,54017,-5633,-85,-3585,6,2816,4096,5376,6656,7936,1280,-110,50331673,419430402,-12,NULL),(141,'2013-11-04 10:50:03',24064,42497,-3585,-108,255,7,3072,4352,5632,6912,8192,2560,88,268435477,419430422,-12,NULL),(141,'2013-11-04 10:50:04',62464,54017,-5633,-90,4095,8,3328,4608,5888,7168,8448,3328,122,872415253,419430402,-12,NULL),(141,'2013-11-04 10:50:05',24064,42497,-3585,-46,8447,9,3584,4864,6144,7424,8704,3840,-38,-788529122,419430417,-12,NULL),(142,'2013-11-01 07:00:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(142,'2013-11-01 07:00:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(142,'2013-11-01 07:00:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(143,'2013-11-04 08:00:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(143,'2013-11-04 08:00:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(143,'2013-11-04 08:00:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(144,'2013-11-04 18:47:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(144,'2013-11-04 18:47:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(144,'2013-11-04 18:47:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(144,'2013-11-04 18:47:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(144,'2013-11-04 18:47:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(144,'2013-11-04 18:47:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(145,'2013-11-04 18:50:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(145,'2013-11-04 18:50:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(145,'2013-11-04 18:50:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(145,'2013-11-04 18:50:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(145,'2013-11-04 18:50:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(146,'2013-11-05 07:59:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(146,'2013-11-05 07:59:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(146,'2013-11-05 07:59:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(147,'2013-12-01 07:59:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(147,'2013-12-01 07:59:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(147,'2013-12-01 07:59:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(148,'2013-11-04 18:47:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(148,'2013-11-04 18:47:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(148,'2013-11-04 18:47:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(148,'2013-11-04 18:47:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(148,'2013-11-04 18:47:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(148,'2013-11-04 18:47:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:01',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:02',62464,54017,-5633,-80,-7425,8,3328,4608,5888,7168,8448,768,14,-939524074,771751937,-12,NULL),(149,'2013-11-04 18:50:03',24064,42497,-3585,-70,2815,9,3584,4864,6144,7424,8704,1792,82,1694498837,419430401,-12,NULL),(149,'2013-11-04 18:50:04',62464,54017,-5633,-60,5375,10,3840,5120,6400,7680,8960,2048,-60,-1627389935,1207959552,-12,NULL),(149,'2013-11-04 18:50:05',24064,42497,-3585,-50,7935,11,4096,5376,6656,7936,9216,2304,-96,-738197487,570425345,-12,NULL),(149,'2013-11-04 18:50:06',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:07',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:08',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(149,'2013-11-04 18:50:09',2560,29952,-1025,-120,-9985,7,3072,4352,5632,6912,8192,256,34,2063597570,167772160,-12,NULL),(210,'2013-12-16 02:13:44',2560,29952,-1025,-44,-12545,1,512,1024,23040,3328,6144,0,-56,1610612736,16777217,-12,NULL),(210,'2013-12-16 02:13:45',62464,54017,-5633,-50,-2305,5,768,1792,23808,15616,4096,2048,-86,704643091,167772169,-12,NULL),(210,'2013-12-16 02:13:46',24064,42497,-3585,-110,255,60,1792,3328,-30720,6656,16128,2816,-76,570425441,402653202,-12,NULL),(210,'2013-12-16 02:13:47',62464,54017,-5633,-60,2815,-106,2816,6400,8704,18433,4096,3328,31,2046820434,587203975,-12,NULL),(210,'2013-12-16 02:13:48',24064,42497,-3585,116,8703,94,3329,6912,-30208,24065,3584,3840,29,654311504,1207959566,-12,NULL),(211,'2013-12-16 15:13:44',2560,29952,-1025,-44,-12545,1,512,1024,23040,3328,6144,0,-56,1610612736,16777217,-12,NULL);
+
+# the reorganize causes a mismatch between the new frm and the stored tokudb data
+ALTER TABLE test REORGANIZE PARTITION p201312 INTO (PARTITION pOld VALUES LESS THAN (1378018800),PARTITION p201309 VALUES LESS THAN (1380610800),PARTITION p201310 VALUES LESS THAN (1383289200),PARTITION p201311 VALUES LESS THAN (1385884800),PARTITION p201312 VALUES LESS THAN (1388563200));
+
+create table test_copy like test;
+# this will crash if the bug is not fixed
+insert into test_copy select * from test;
+
+# lets compare the tables for completeness
+let $diff_tables = test, test_copy;
+source include/diff_tables.inc;
+
+# cleanup
+drop table test,test_copy;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/alter_table_copy_table.test b/storage/tokudb/mysql-test/tokudb_bugs/t/alter_table_copy_table.test
new file mode 100644
index 00000000000..6e4433183b0
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/alter_table_copy_table.test
@@ -0,0 +1,12 @@
+# test that a uniqueness violation during an alter table operation returns a duplicate key error
+source include/have_tokudb.inc;
+disable_warnings;
+drop table if exists t;
+enable_warnings;
+set tokudb_disable_hot_alter=ON;
+set default_storage_engine=tokudb;
+create table t (id int, x char(2), primary key (id), unique key (x));
+insert into t values (1,'aa'),(2,'ab');
+--error 1062
+alter table t modify x char(1);
+drop table t; \ No newline at end of file
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test b/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test
index ac39ac569fd..1e60a838b93 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test
@@ -8,9 +8,9 @@ connect (conn1,localhost,root,,);
connection default;
--sleep 2
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
flush logs;
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
connection conn1;
set tokudb_checkpoint_lock=1;
@@ -20,7 +20,7 @@ connection default;
connection conn1;
--sleep 2
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
set tokudb_checkpoint_lock=0;
connection default;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test b/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test
index b21aef1f6bc..304ff58f328 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test
@@ -7,9 +7,9 @@ connect (conn1,localhost,root,,);
connection default;
--sleep 2
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
flush logs;
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
connection conn1;
set tokudb_checkpoint_lock=1;
@@ -19,7 +19,7 @@ connection default;
connection conn1;
--sleep 2
-select DB, command, state, info from information_schema.processlist where id!= connection_id();
+select DB, command, state, info from information_schema.processlist where id != connection_id();
set tokudb_checkpoint_lock=0;
connection default;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_1.test b/storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_1.test
new file mode 100644
index 00000000000..5d6f1364c4c
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_1.test
@@ -0,0 +1,23 @@
+# this test crashes because tokudb does not handle index_end after txn commit (MDEV-5396)
+
+source include/have_tokudb.inc;
+
+disable_warnings;
+drop table if exists t1,t2,t3;
+enable_warnings;
+
+SET NAMES latin1;
+
+CREATE TABLE t1 (a INT) ENGINE=TokuDB;
+INSERT INTO t1 VALUES (1),(2);
+
+CREATE TABLE t2 (b INT) ENGINE=TokuDB;
+INSERT INTO t2 VALUES (3),(4);
+
+CREATE TABLE t3 (c VARCHAR(3), INDEX(c)) ENGINE=TokuDB;
+INSERT INTO t3 VALUES ('foo'),('bar');
+
+EXPLAIN SELECT * FROM t1
+WHERE a IN ( SELECT b FROM t2 ) OR ( 'qux' ) IN ( SELECT c FROM t3 );
+
+drop table if exists t1,t2,t3; \ No newline at end of file
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_2.test b/storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_2.test
new file mode 100644
index 00000000000..68988e29486
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_2.test
@@ -0,0 +1,14 @@
+# this test crashes because tokudb does not handle index_end after txn commit (MDEV-5396)
+
+source include/have_tokudb.inc;
+
+disable_warnings;
+drop table if exists t1,t2;
+enable_warnings;
+
+CREATE TABLE t1 (a VARCHAR(8), INDEX(a)) ENGINE=TokuDB;
+INSERT INTO t1 VALUES ('foo'),('bar');
+
+CREATE TABLE t2 AS SELECT ( 'qux' ) IN ( SELECT a FROM t1 ) AS f1;
+
+drop table t1,t2;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/expand_tinytext_text.test b/storage/tokudb/mysql-test/tokudb_bugs/t/expand_tinytext_text.test
index c4a2901b17b..32c894cb865 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/expand_tinytext_text.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/expand_tinytext_text.test
@@ -1,5 +1,6 @@
# this test verifies that column expansion of a tinytext to text column retains the correct data
--source include/have_tokudb.inc
+set default_storage_engine='tokudb';
--disable_warnings
drop table if exists t;
--enable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/fileops-4.test b/storage/tokudb/mysql-test/tokudb_bugs/t/fileops-4.test
index fa0a3549c09..ab4570fd07e 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/fileops-4.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/fileops-4.test
@@ -1,7 +1,7 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
-#--source include/not_5_5.inc
+--source include/have_tokudb.inc
+--source include/not_5_5.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test b/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test
index f247164b6eb..56f7f787d6d 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test
@@ -1,3 +1,4 @@
+--source include/have_tokudb.inc
let $engine='tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/index_read.test b/storage/tokudb/mysql-test/tokudb_bugs/t/index_read.test
index 2674e1c9f78..03664415349 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/index_read.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/index_read.test
@@ -1,6 +1,6 @@
# ticket 895 is a query optimization problem with the primary key
-#--source include/have_tokudb.inc
+--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/leak172.test b/storage/tokudb/mysql-test/tokudb_bugs/t/leak172.test
new file mode 100644
index 00000000000..9d82604e4b1
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/leak172.test
@@ -0,0 +1,152 @@
+# test case simplified from RQG run that forces a lock not granted error on an update with a
+# concurrent load into the same table.
+
+source include/have_tokudb.inc;
+source include/have_debug.inc;
+set default_storage_engine=tokudb;
+
+disable_warnings;
+drop table if exists t1,t2;
+enable_warnings;
+
+let $MYSQLD_DATADIR=`select @@datadir`;
+copy_file $MTR_SUITE_DIR/std_data/leak172_t1.data $MYSQLD_DATADIR/test/leak172_t1.data;
+copy_file $MTR_SUITE_DIR/std_data/leak172_t2.data $MYSQLD_DATADIR/test/leak172_t2.data;
+
+CREATE TABLE `t1` (
+ `c4` int(11) DEFAULT NULL,
+ `c5` int(11) DEFAULT NULL,
+ `c26` text,
+ `c18` blob,
+ `c29` text NOT NULL,
+ `c3` int(10) unsigned DEFAULT NULL,
+ `c25` text,
+ `c17` varchar(240) NOT NULL,
+ `c11` int(10) unsigned NOT NULL,
+ `c0` int(11) DEFAULT NULL,
+ `c22` blob NOT NULL,
+ `c13` varchar(240),
+ `c19` blob,
+ `c20` blob,
+ `c23` blob NOT NULL,
+ `c27` text,
+ `c28` text NOT NULL,
+ `c2` int(10) unsigned DEFAULT NULL,
+ `c12` varchar(240) DEFAULT NULL,
+ `c34` date NOT NULL,
+ `c30` date DEFAULT NULL,
+ `c31` date DEFAULT NULL,
+ `c24` date NOT NULL DEFAULT '0000-00-00',
+ `c33` date DEFAULT NULL,
+ `c21` blob,
+ `c1` int(11),
+ `c15` varchar(240) DEFAULT NULL,
+ `c16` varchar(240) NOT NULL,
+ `c9` int(11) NOT NULL,
+ `c32` date DEFAULT NULL,
+ `c7` int(10) unsigned DEFAULT NULL,
+ `c8` int(11) NOT NULL,
+ `c14` varchar(240) DEFAULT NULL,
+ `c35` date NOT NULL,
+ `pk` int(11) NOT NULL AUTO_INCREMENT,
+ `c10` int(10) unsigned NOT NULL,
+ `c6` int(10) unsigned DEFAULT NULL,
+ PRIMARY KEY (`pk`),
+ KEY `c5` (`c5`),
+ KEY `c29` (`c29`(255)),
+ KEY `c3` (`c3`),
+ KEY `c25` (`c25`(255)),
+ KEY `c17` (`c17`),
+ KEY `c11` (`c11`),
+ KEY `c13` (`c13`),
+ KEY `c19` (`c19`(255)),
+ KEY `c23` (`c23`(255)),
+ KEY `c27` (`c27`(255)),
+ KEY `c31` (`c31`),
+ KEY `c33` (`c33`),
+ KEY `c21` (`c21`(255)),
+ KEY `c1` (`c1`),
+ KEY `c15` (`c15`),
+ KEY `c9` (`c9`),
+ KEY `c7` (`c7`),
+ KEY `c35` (`c35`)
+);
+
+CREATE TABLE `t2` (
+ `c12` varchar(240) DEFAULT NULL,
+ `c15` varchar(240) DEFAULT NULL,
+ `c19` blob,
+ `c14` varchar(240) DEFAULT NULL,
+ `c6` int(10) unsigned DEFAULT NULL,
+ `c11` int(10) unsigned NOT NULL,
+ `c30` date DEFAULT NULL,
+ `c29` text NOT NULL,
+ `c20` blob,
+ `c18` blob,
+ `c23` blob NOT NULL,
+ `c16` varchar(240) NOT NULL,
+ `c10` int(10) unsigned NOT NULL,
+ `c25` text,
+ `c21` blob,
+ `c7` int(10) unsigned DEFAULT NULL,
+ `c9` int(11) NOT NULL,
+ `c5` int(11) DEFAULT NULL,
+ `c35` date NOT NULL,
+ `c24` text,
+ `c17` varchar(240) NOT NULL,
+ `c28` text NOT NULL,
+ `c33` date DEFAULT NULL,
+ `c26` text,
+ `c0` int(11) DEFAULT NULL,
+ `c13` varchar(240) DEFAULT NULL,
+ `c3` int(10) unsigned DEFAULT NULL,
+ `c1` int(11) DEFAULT NULL,
+ `pk` int(11) NOT NULL AUTO_INCREMENT,
+ `c34` date NOT NULL,
+ `c2` int(10) unsigned DEFAULT NULL,
+ `c4` int(11) DEFAULT NULL,
+ `c32` date,
+ `c27` text,
+ `c8` int(11) NOT NULL,
+ `c31` date DEFAULT NULL,
+ `c22` blob NOT NULL,
+ PRIMARY KEY (`pk`),
+ KEY `c15` (`c15`),
+ KEY `c19` (`c19`(255)),
+ KEY `c11` (`c11`),
+ KEY `c29` (`c29`(255)),
+ KEY `c23` (`c23`(255)),
+ KEY `c25` (`c25`(255)),
+ KEY `c21` (`c21`(255)),
+ KEY `c7` (`c7`),
+ KEY `c9` (`c9`),
+ KEY `c5` (`c5`),
+ KEY `c35` (`c35`),
+ KEY `c17` (`c17`),
+ KEY `c33` (`c33`),
+ KEY `c13` (`c13`),
+ KEY `c3` (`c3`),
+ KEY `c1` (`c1`),
+ KEY `c27` (`c27`(255)),
+ KEY `c31` (`c31`)
+);
+
+LOAD DATA INFILE 'leak172_t1.data' INTO TABLE `t1` fields terminated by ',';
+
+connect(conn1,localhost,root,,);
+set session debug_dbug="+d,tokudb_end_bulk_insert_sleep";
+send LOAD DATA INFILE 'leak172_t2.data' INTO TABLE `t2` fields terminated by ',';
+
+connection default;
+let $wait_condition= select count(*)=1 from information_schema.processlist where info like 'LOAD DATA INFILE%' and state like 'DBUG sleep';
+source include/wait_condition.inc;
+--error 1205
+UPDATE t1, t2 SET t1.`c5` = 4 WHERE t1.`c6` <= 'o';
+
+connection conn1;
+reap;
+
+connection default;
+disconnect conn1;
+
+drop table t1,t2;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/optimize_temp_table_tokudb.test b/storage/tokudb/mysql-test/tokudb_bugs/t/optimize_temp_table_tokudb.test
new file mode 100644
index 00000000000..f652e3748e5
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/optimize_temp_table_tokudb.test
@@ -0,0 +1,15 @@
+# test that optimize temporary tokudb table works
+
+source include/have_tokudb.inc;
+
+disable_warnings;
+drop table if exists t;
+enable_warnings;
+
+create temporary table t (x int) engine=tokudb;
+
+# this crashes mysql_admin since temporary tables apparently are not locked
+optimize table t;
+
+# cleanup
+drop table t; \ No newline at end of file
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/subselect_index_next_same_bug_157.test b/storage/tokudb/mysql-test/tokudb_bugs/t/subselect_index_next_same_bug_157.test
new file mode 100644
index 00000000000..7c7c98344a5
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/subselect_index_next_same_bug_157.test
@@ -0,0 +1,91 @@
+# test case for Tokutek/ft-engine/issue/157
+# a bug in tokudb::index_next_same did not set table->status, so the
+# indexsubselect::exec function would assert.
+
+source include/have_tokudb.inc;
+source include/have_innodb.inc;
+
+disable_warnings;
+drop table if exists C, CC, D;
+enable_warnings;
+
+CREATE TABLE `C` (
+ `pk` int(11) NOT NULL AUTO_INCREMENT,
+ `col_varchar_key` varchar(1) DEFAULT NULL,
+ `col_varchar_nokey` varchar(1) DEFAULT NULL,
+ PRIMARY KEY (`pk`),
+ KEY `col_varchar_key` (`col_varchar_key`)
+) ENGINE=InnoDB;
+
+INSERT INTO `C` VALUES (1,'v','v'),(2,'v','v'),(3,'c','c'),(4,NULL,NULL),(5,'x','x');
+
+CREATE TABLE `CC` (
+ `pk` int(11) NOT NULL AUTO_INCREMENT,
+ `col_varchar_key` varchar(1) DEFAULT NULL,
+ `col_varchar_nokey` varchar(1) DEFAULT NULL,
+ PRIMARY KEY (`pk`),
+ KEY `col_varchar_key` (`col_varchar_key`)
+) ENGINE=InnoDB;
+
+INSERT INTO `CC` VALUES (10,'x','x');
+
+CREATE TABLE `D` (
+ `pk` int(11) NOT NULL AUTO_INCREMENT,
+ `col_varchar_key` varchar(1) DEFAULT NULL,
+ PRIMARY KEY (`pk`),
+ KEY `col_varchar_key` (`col_varchar_key`)
+) ENGINE=InnoDB;
+
+INSERT INTO `D` VALUES (10,'u');
+
+SELECT
+ alias1.col_varchar_key, alias2.col_varchar_key
+ FROM
+ (CC AS alias1
+ INNER JOIN D AS alias2
+ ON (alias2.pk = alias1.pk))
+ WHERE
+ alias2.col_varchar_key NOT IN
+ (SELECT col_varchar_key
+ FROM C
+ WHERE col_varchar_nokey = alias1.col_varchar_key);
+
+SELECT
+ alias1.col_varchar_key, alias2.col_varchar_key
+ FROM
+ (CC AS alias1
+ INNER JOIN D AS alias2
+ ON (alias2.pk = alias1.pk))
+ WHERE
+ alias2.col_varchar_key NOT IN
+ (SELECT col_varchar_key
+ FROM C FORCE INDEX(col_varchar_key)
+ WHERE col_varchar_nokey = alias1.col_varchar_key);
+
+alter table C engine=TokuDB;
+
+SELECT
+ alias1.col_varchar_key, alias2.col_varchar_key
+ FROM
+ (CC AS alias1
+ INNER JOIN D AS alias2
+ ON (alias2.pk = alias1.pk))
+ WHERE
+ alias2.col_varchar_key NOT IN
+ (SELECT col_varchar_key
+ FROM C
+ WHERE col_varchar_nokey = alias1.col_varchar_key);
+
+SELECT
+ alias1.col_varchar_key, alias2.col_varchar_key
+ FROM
+ (CC AS alias1
+ INNER JOIN D AS alias2
+ ON (alias2.pk = alias1.pk))
+ WHERE
+ alias2.col_varchar_key NOT IN
+ (SELECT col_varchar_key
+ FROM C FORCE INDEX(col_varchar_key)
+ WHERE col_varchar_nokey = alias1.col_varchar_key);
+
+drop table if exists C, CC, D;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_part_table_668.test b/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_part_table_668.test
index d931c897695..42dbb30058a 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_part_table_668.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_part_table_668.test
@@ -2,6 +2,7 @@
source include/have_tokudb.inc;
source include/have_partition.inc;
+set default_storage_engine='tokudb';
# capture the datadir
let $MYSQLD_DATADIR= `SELECT @@datadir`;
@@ -32,7 +33,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
-create table tc (a int, b int, c int, primary key(a), key(b)) partition by hash(a) partitions 2;
+create table tc (a int, b int, c int, primary key(a), key(b)) engine=tokudb partition by hash(a) partitions 2;
# check that the tokudb meta data gets dropped when the table is dropped
select dictionary_name from information_schema.tokudb_file_map;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_simple_table_668.test b/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_simple_table_668.test
index 7971eb5e28d..3903c2cef9f 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_simple_table_668.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/tokudb_drop_simple_table_668.test
@@ -1,6 +1,7 @@
# verify that we can drop simple tokudb tables created in tokudb 6.6.8
source include/have_tokudb.inc;
+set default_storage_engine='tokudb';
# capture the datadir
let $MYSQLD_DATADIR= `SELECT @@datadir`;
@@ -34,7 +35,7 @@ EOF
create table tc (id int, x int, primary key(id), key(x));
# check that the tokudb meta data gets dropped when the table is dropped
-select * from information_schema.tokudb_file_map;
+select dictionary_name from information_schema.tokudb_file_map;
drop table ta;
select dictionary_name from information_schema.tokudb_file_map;
drop table tb;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/xa-1.test b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-1.test
index 4fd0dcd48d4..8914a20786c 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/xa-1.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-1.test
@@ -1,5 +1,5 @@
--- source include/have_innodb.inc
--- source include/have_tokudb.inc
+--source include/have_innodb.inc
+--source include/have_tokudb.inc
--disable_warnings
drop table if exists t1, t2;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/xa-2.test b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-2.test
index bdcdda94130..ba3a86909b3 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/xa-2.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-2.test
@@ -1,5 +1,5 @@
--- source include/have_tokudb.inc
-#--source include/not_5_5.inc
+--source include/have_tokudb.inc
+--source include/not_5_5.inc
--disable_warnings
drop table if exists t1;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test
index cb16357ff11..3d9e1be711b 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test
@@ -1,4 +1,4 @@
--- source include/have_tokudb.inc
+--source include/have_tokudb.inc
--source include/have_debug.inc
--disable_warnings
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/r/alter.result b/storage/tokudb/mysql-test/tokudb_mariadb/r/alter.result
index 600e34dfffd..cc779a36ca7 100644
--- a/storage/tokudb/mysql-test/tokudb_mariadb/r/alter.result
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/r/alter.result
@@ -9,7 +9,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`i` int(11) DEFAULT NULL,
`j` int(11) DEFAULT '0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table t1 modify i int default '1';
select * from t1;
i j
@@ -19,7 +19,7 @@ Table Create Table
t1 CREATE TABLE `t1` (
`i` int(11) DEFAULT '1',
`j` int(11) DEFAULT '0'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
alter table t1 modify j int default '2', rename t2;
select * from t1;
ERROR 42S02: Table 'test.t1' doesn't exist
@@ -31,5 +31,5 @@ Table Create Table
t2 CREATE TABLE `t2` (
`i` int(11) DEFAULT '1',
`j` int(11) DEFAULT '2'
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
drop table t2;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/r/clustering.result b/storage/tokudb/mysql-test/tokudb_mariadb/r/clustering.result
index 86f6fd4cdc2..f8ac248e5cf 100644
--- a/storage/tokudb/mysql-test/tokudb_mariadb/r/clustering.result
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/r/clustering.result
@@ -7,7 +7,7 @@ t1 CREATE TABLE `t1` (
`c` text,
KEY `a` (`a`) `clustering`=yes,
KEY `b` (`b`)
-) ENGINE=TokuDB DEFAULT CHARSET=latin1
+) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib'
insert t1 values (1, 1, 1);
insert t1 select a+1, a+1, a+1 from t1;
insert t1 select a+2, a+2, a+2 from t1;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/r/compression.result b/storage/tokudb/mysql-test/tokudb_mariadb/r/compression.result
index f465fe5df65..ea8a0b521b9 100644
--- a/storage/tokudb/mysql-test/tokudb_mariadb/r/compression.result
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/r/compression.result
@@ -1,3 +1,4 @@
+drop table if exists t1,t2,t3,t4,t5,t6;
create table t1 (a text) engine=tokudb compression=tokudb_uncompressed;
create table t2 (a text) engine=tokudb compression=tokudb_zlib;
create table t3 (a text) engine=tokudb compression=tokudb_quicklz;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/r/create_or_replace.result b/storage/tokudb/mysql-test/tokudb_mariadb/r/create_or_replace.result
new file mode 100644
index 00000000000..7d7c6026154
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/r/create_or_replace.result
@@ -0,0 +1,9 @@
+drop table if exists t1,t2,t3;
+CREATE TABLE t1 (a INT) engine=myisam;
+CREATE TABLE t2 (a INT) ENGINE=TokuDB;
+CREATE OR REPLACE TABLE t3 AS SELECT * FROM t2;
+CREATE OR REPLACE TABLE t1 AS SELECT * FROM t2;
+lock table t1 write,t2 read;
+CREATE OR REPLACE TABLE t1 AS SELECT * FROM t2;
+unlock tables;
+drop table t1,t2,t3;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/r/discover_names.result b/storage/tokudb/mysql-test/tokudb_mariadb/r/discover_names.result
new file mode 100644
index 00000000000..466964621af
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/r/discover_names.result
@@ -0,0 +1,13 @@
+create table t1 (id int primary key) engine=tokudb;
+show tables;
+Tables_in_test
+t1
+drop table t1;
+create database mysqltest1;
+use mysqltest1;
+create table t1 (a int) engine=tokudb;
+drop database mysqltest1;
+create database mysqltest1;
+use mysqltest1;
+create table t1 (a int) engine=tokudb;
+drop database mysqltest1;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/t/compression.test b/storage/tokudb/mysql-test/tokudb_mariadb/t/compression.test
index 1bac772437d..00478aed1c7 100644
--- a/storage/tokudb/mysql-test/tokudb_mariadb/t/compression.test
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/t/compression.test
@@ -1,3 +1,10 @@
+#
+# Initial cleanup from previous tests
+#
+--disable_warnings
+drop table if exists t1,t2,t3,t4,t5,t6;
+--enable_warnings
+
create table t1 (a text) engine=tokudb compression=tokudb_uncompressed;
create table t2 (a text) engine=tokudb compression=tokudb_zlib;
create table t3 (a text) engine=tokudb compression=tokudb_quicklz;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/t/create_or_replace.test b/storage/tokudb/mysql-test/tokudb_mariadb/t/create_or_replace.test
new file mode 100644
index 00000000000..30553e7d38e
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/t/create_or_replace.test
@@ -0,0 +1,20 @@
+#
+# Test's for CREATE OR REPLACE with tokudb
+#
+
+--disable_warnings
+drop table if exists t1,t2,t3;
+--enable_warnings
+
+#
+# MDEV-5930 Server crashes in thd_get_ha_data on CREATE OR REPLACE TABLE
+#
+
+CREATE TABLE t1 (a INT) engine=myisam;
+CREATE TABLE t2 (a INT) ENGINE=TokuDB;
+CREATE OR REPLACE TABLE t3 AS SELECT * FROM t2;
+CREATE OR REPLACE TABLE t1 AS SELECT * FROM t2;
+lock table t1 write,t2 read;
+CREATE OR REPLACE TABLE t1 AS SELECT * FROM t2;
+unlock tables;
+drop table t1,t2,t3;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/t/discover_names.test b/storage/tokudb/mysql-test/tokudb_mariadb/t/discover_names.test
new file mode 100644
index 00000000000..25dba77a519
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/t/discover_names.test
@@ -0,0 +1,20 @@
+#
+# MDEV-5943 'show table status' does not immediately show tokudb tables
+#
+create table t1 (id int primary key) engine=tokudb;
+show tables;
+drop table t1;
+
+#
+# MDEV-5839 TokuDB tables not properly cleaned on DROP DATABASE
+#
+create database mysqltest1;
+use mysqltest1;
+create table t1 (a int) engine=tokudb;
+drop database mysqltest1;
+
+create database mysqltest1;
+use mysqltest1;
+create table t1 (a int) engine=tokudb;
+drop database mysqltest1;
+
diff --git a/storage/tokudb/scripts/common.sh b/storage/tokudb/scripts/common.sh
index 7de5d1e1f92..34886b3dcf8 100644
--- a/storage/tokudb/scripts/common.sh
+++ b/storage/tokudb/scripts/common.sh
@@ -157,11 +157,12 @@ function parse_mysqlbuild() {
else
git_tag=HEAD
# setup _tree defaults
- if [ -z $mysql_tree ] ; then mysql_tree=$mysql_version; fi
+ if [ -z $mysql_tree ] ; then mysql_tree=$mysql_distro-$mysql_version; fi
if [ -z $jemalloc_tree ] ; then jemalloc_tree=$jemalloc_version; fi
fi
- # 5.6 is temp in another repo
- if [[ $mysql_distro = mysql && $mysql_version =~ ^5.6 ]] ; then mysql_distro=mysql56; fi
+ mysql_repo=$mysql_distro
+ # 5.6 is in another repo
+ if [[ $mysql_distro = mysql && $mysql_version =~ ^5.6 ]] ; then mysql_repo=mysql56; fi
else
exitcode=1
fi
@@ -174,7 +175,8 @@ function parse_mysql() {
if [[ $mysql =~ ^(mysql|mariadb)-(.*)$ ]] ; then
mysql_distro=${BASH_REMATCH[1]}
mysql_version=${BASH_REMATCH[2]}
- if [[ $mysql_distro = mysql && $mysql_version =~ ^5.6 ]] ; then mysql_distro=mysql56; fi
+ mysql_repo=$mysql_distro
+ if [[ $mysql_distro = mysql && $mysql_version =~ ^5.6 ]] ; then mysql_repo=mysql56; fi
exitcode=0
else
exitcode=1
diff --git a/storage/tokudb/scripts/make.mysql.bash b/storage/tokudb/scripts/make.mysql.bash
index 073370ce82d..9d7179e46bc 100755
--- a/storage/tokudb/scripts/make.mysql.bash
+++ b/storage/tokudb/scripts/make.mysql.bash
@@ -40,8 +40,8 @@ makejobs=$(get_ncpus)
git_tag=HEAD
mysqlbuild=
mysql=
-cc=gcc47
-cxx=g++47
+cc=gcc
+cxx=g++
build_debug=0
build_type=community
build_tgz=1
@@ -97,10 +97,11 @@ fi
# download all the mysql source
if [ ! -d $mysql_distro ] ; then
- github_download Tokutek/$mysql_distro $(git_tree $git_tag $mysql_tree) $mysql_distro
+ github_download Tokutek/$mysql_repo $(git_tree $git_tag $mysql_tree) $mysql_distro-$mysql_version
fi
-cd $mysql_distro
+cd $mysql_distro-$mysql_version
+if [ $? != 0 ] ; then exit 1; fi
# install the backup source
if [ ! -d toku_backup ] ; then
@@ -128,7 +129,9 @@ if [ ! -d storage/tokudb/ft-index ] ; then
github_download Tokutek/ft-index $(git_tree $git_tag $ftindex_tree) storage/tokudb/ft-index
fi
-if [ ! -d storage/tokudb/ft-index/third_party/jemalloc ] ; then
+if [[ $mysql_repo =~ mariadb ]] || [[ $mysql_distro =~ ^mariadb ]] ; then
+ github_download Tokutek/jemalloc $(git_tree $git_tag $jemalloc_tree) extra/jemalloc
+elif [ ! -d storage/tokudb/ft-index/third_party/jemalloc ] ; then
github_download Tokutek/jemalloc $(git_tree $git_tag $jemalloc_tree) storage/tokudb/ft-index/third_party/jemalloc
fi
diff --git a/storage/tokudb/scripts/make.mysql.debug.env.bash b/storage/tokudb/scripts/make.mysql.debug.env.bash
index 2e5b73bb529..5037f3f0c4c 100755
--- a/storage/tokudb/scripts/make.mysql.debug.env.bash
+++ b/storage/tokudb/scripts/make.mysql.debug.env.bash
@@ -17,10 +17,15 @@ function usage() {
}
function github_clone() {
- local repo=$1; local tree=$2
+ local repo=
+ if [ $# -gt 0 ] ; then repo=$1; shift; else test 0 = 1; return; fi
+ local tree=
+ if [ $# -gt 0 ] ; then tree=$1; shift; else test 0 = 1; return; fi
+ local destdir=
+ if [ $# -gt 0 ] ; then destdir=$1; shift; fi
if [[ -z "$local_cache_dir" ]] ; then
- git clone git@github.com:Tokutek/$repo
- if [ $? != 0 ] ; then exit 1; fi
+ git clone git@github.com:Tokutek/$repo $destdir
+ if [ $? != 0 ] ; then test 0 = 1; return; fi
else
if (( "$local_cache_update" )) ; then
pushd $local_cache_dir/$repo.git
@@ -28,13 +33,12 @@ function github_clone() {
git fetch --all -f -p -v -t
popd
fi
- git clone --reference $local_cache_dir/$repo.git git@github.com:Tokutek/$repo
- if [ $? != 0 ] ; then exit 1; fi
+ git clone --reference $local_cache_dir/$repo.git git@github.com:Tokutek/$repo $destdir
+ if [ $? != 0 ] ; then test 0 = 1; return; fi
fi
- pushd $repo
- if [ $? != 0 ] ; then exit 1; fi
- if [ -z $git_tag ] ; then
+ if [ -z "$destdir" ] ; then pushd $repo; else pushd $destdir; fi
+ if [ -z "$git_tag" ] ; then
if ! git branch | grep "\<$tree\>" > /dev/null && git branch -a | grep "remotes/origin/$tree\>" > /dev/null; then
git checkout --track origin/$tree
else
@@ -43,7 +47,7 @@ function github_clone() {
else
git checkout $git_tag
fi
- if [ $? != 0 ] ; then exit 1; fi
+ if [ $? != 0 ] ; then test 0 = 1; return; fi
popd
}
@@ -51,7 +55,7 @@ function github_clone() {
git_tag=
mysql=mysql
-mysql_tree=5.5.30
+mysql_tree=mysql-5.5.35
jemalloc=jemalloc
jemalloc_tree=3.3.1
ftengine=ft-engine
@@ -60,8 +64,8 @@ ftindex=ft-index
ftindex_tree=master
backup=backup-community
backup_tree=master
-cc=gcc47
-cxx=g++47
+cc=gcc
+cxx=g++
local_cache_dir=
local_cache_update=1
cmake_valgrind=
@@ -77,21 +81,21 @@ while [ $# -ne 0 ] ; do
done
# setup environment variables
-install_dir=$PWD/$mysql-install
+build_dir=$PWD/build
+mkdir $build_dir
+if [ $? != 0 ] ; then exit 1; fi
+install_dir=$PWD/install
mkdir $install_dir
if [ $? != 0 ] ; then exit 1; fi
# checkout the fractal tree
github_clone $ftindex $ftindex_tree
+
+# checkout jemalloc
github_clone $jemalloc $jemalloc_tree
-pushd $ftindex/third_party
-if [ $? != 0 ] ; then exit 1; fi
-ln -s ../../$jemalloc $jemalloc
-if [ $? != 0 ] ; then exit 1; fi
-popd
-# checkout mysql'
-github_clone $mysql $mysql_tree
+# checkout mysql
+github_clone $mysql $mysql_tree $mysql_tree
# checkout the community backup
github_clone $backup $backup_tree
@@ -105,28 +109,38 @@ if [ $? != 0 ] ; then exit 1; fi
ln -s ../../../$ftindex ft-index
if [ $? != 0 ] ; then exit 1; fi
popd
-pushd $mysql/storage
+pushd $mysql_tree/storage
if [ $? != 0 ] ; then exit 1; fi
ln -s ../../$ftengine/storage/tokudb tokudb
if [ $? != 0 ] ; then exit 1; fi
popd
-pushd $mysql
+pushd $mysql_tree
if [ $? != 0 ] ; then exit 1; fi
ln -s ../$backup/backup toku_backup
if [ $? != 0 ] ; then exit 1; fi
popd
-pushd $mysql/scripts
+pushd $mysql_tree/scripts
if [ $? != 0 ] ; then exit 1; fi
ln ../../$ftengine/scripts/tokustat.py
if [ $? != 0 ] ; then exit 1; fi
ln ../../$ftengine/scripts/tokufilecheck.py
if [ $? != 0 ] ; then exit 1; fi
popd
+if [[ $mysql =~ mariadb ]] || [[ $mysql_tree =~ mariadb ]] ; then
+ pushd $mysql_tree/extra
+ if [ $? != 0 ] ; then exit 1; fi
+ ln -s ../../$jemalloc $jemalloc
+ if [ $? != 0 ] ; then exit 1; fi
+ popd
+else
+ pushd $ftindex/third_party
+ if [ $? != 0 ] ; then exit 1; fi
+ ln -s ../../$jemalloc $jemalloc
+ if [ $? != 0 ] ; then exit 1; fi
+ popd
+fi
-# build in the mysql directory
-mkdir $mysql/build.debug
-if [ $? != 0 ] ; then exit 1; fi
-pushd $mysql/build.debug
+pushd $build_dir
if [ $? != 0 ] ; then exit 1; fi
extra_cmake_options="-DCMAKE_LINK_DEPENDS_NO_SHARED=ON"
if (( $cmake_valgrind )) ; then
@@ -135,7 +149,7 @@ fi
if (( $cmake_debug_paranoid )) ; then
extra_cmake_options+=" -DTOKU_DEBUG_PARANOID=ON"
fi
-CC=$cc CXX=$cxx cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$install_dir -DBUILD_TESTING=OFF $extra_cmake_options
+CC=$cc CXX=$cxx cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$install_dir -DBUILD_TESTING=OFF $extra_cmake_options ../$mysql_tree
if [ $? != 0 ] ; then exit 1; fi
make -j4 install
if [ $? != 0 ] ; then exit 1; fi
diff --git a/storage/tokudb/scripts/nightly.mysql.build.and.test.bash b/storage/tokudb/scripts/nightly.mysql.build.and.test.bash
index ace3c082475..35b10d2e3b6 100755
--- a/storage/tokudb/scripts/nightly.mysql.build.and.test.bash
+++ b/storage/tokudb/scripts/nightly.mysql.build.and.test.bash
@@ -25,16 +25,14 @@ function make_mysql() {
PATH=$HOME/bin:$HOME/usr/local/bin:/usr/local/bin:$PATH
source /etc/profile
-github_token=PUT_TOKEN_HERE
+github_token=
gearmandhost=localhost
gearmandir=/usr/local/gearmand-1.1.6
system=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m | tr '[:upper:]' '[:lower:]')
now_ts=$(date +%s)
-cc=gcc47
-cxx=g++47
-ftcc=$cc
-ftcxx=$cxx
+cc=gcc
+cxx=g++
while [ $# -gt 0 ] ; do
arg=$1; shift
@@ -48,19 +46,13 @@ done
nightlytrace=/tmp/$(whoami).nightly.trace
mysqltrace=/tmp/$(whoami).mysql.build.trace.$now_ts
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mysql-5.5.30-tokudb-${now_ts}-e-${system}-${arch}
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mysql-5.5.30-tokudb-${now_ts}-debug-e-${system}-${arch}
+make_and_test_mysql --mysqlbuild=mysql-5.6.16-tokudb-${now_ts}-debug-e-${system}-${arch} --cc=$cc --cxx=$cxx --github_token=$github_token
+make_and_test_mysql --mysqlbuild=mysql-5.6.16-tokudb-${now_ts}-e-${system}-${arch} --cc=$cc --cxx=$cxx --github_token=$github_token --tests=run.mysql.tests.bash:run.sql.bench.bash
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mariadb-5.5.30-tokudb-${now_ts}-${system}-${arch}
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mariadb-5.5.30-tokudb-${now_ts}-debug-${system}-${arch}
+make_and_test_mysql --mysqlbuild=mysql-5.5.36-tokudb-${now_ts}-debug-e-${system}-${arch} --cc=$cc --cxx=$cxx --github_token=$github_token
+make_and_test_mysql --mysqlbuild=mysql-5.5.36-tokudb-${now_ts}-e-${system}-${arch} --cc=$cc --cxx=$cxx --github_token=$github_token --tests=run.mysql.tests.bash:run.sql.bench.bash
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mysql-5.6.10-tokudb-${now_ts}-${system}-${arch}
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mysql-5.6.10-tokudb-${now_ts}-debug-${system}-${arch}
-
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mariadb-5.5.30-tokudb-${now_ts}-e-${system}-${arch}
-make_and_test_mysql --github_token=$github_token --mysqlbuild=mariadb-5.5.30-tokudb-${now_ts}-debug-e-${system}-${arch}
-
-# build a test the head of the releases/tokudb-7.0 branch
-# make_and_test_mysql --github_use_ssh=1 --mysqlbuild=mysql-5.5.30-tokudb-${now_ts}-70-${system}-${arch} --mysql_tree=releases/tokudb-7.0 --ftengine_tree=releases/tokudb-7.0 --ftindex_tree=releases/tokudb-7.0 --tests=run.mysql.tests.bash:run.sql.bench.bash
+make_and_test_mysql --mysqlbuild=mariadb-5.5.35-tokudb-${now_ts}-debug-e-${system}-${arch} --cc=$cc --cxx=$cxx --github_token=$github_token
+make_and_test_mysql --mysqlbuild=mariadb-5.5.35-tokudb-${now_ts}-e-${system}-${arch} --cc=$cc --cxx=$cxx --github_token=$github_token --tests=run.mysql.tests.bash:run.sql.bench.bash
exit 0
diff --git a/storage/tokudb/scripts/run.atc.ontime.bash b/storage/tokudb/scripts/run.atc.ontime.bash
index 9727f35ba28..dddab8bb1fe 100755
--- a/storage/tokudb/scripts/run.atc.ontime.bash
+++ b/storage/tokudb/scripts/run.atc.ontime.bash
@@ -7,7 +7,7 @@ function usage() {
echo "[--dbname=$dbname]"
echo "[--load=$load] [--check=$check] [--run=$run]"
echo "[--engine=$engine]"
- echo "[--tokudb_load_save_space=$tokudb_load_save_space]"
+ echo "[--tokudb_load_save_space=$tokudb_load_save_space] [--tokudb_row_format=$tokudb_row_format] [--tokudb_loader_memory_size=$tokudb_loader_memory_size]"
}
function retry() {
@@ -43,6 +43,8 @@ check=1
run=1
engine=tokudb
tokudb_load_save_space=0
+tokudb_row_format=
+tokudb_loader_memory_size=
verbose=0
svn_server=https://svn.tokutek.com/tokudb
svn_branch=.
@@ -97,6 +99,8 @@ if [ $dbname = "atc" -a $engine != "tokudb" ] ; then dbname="atc_$engine"; fi
runfile=$testresultsdir/$dbname-$tblname-$mysqlbuild-$mysqlserver
if [ $tokudb_load_save_space != 0 ] ; then runfile=$runfile-compress; fi
+if [ "$tokudb_row_format" != "" ] ; then runfile=$runfile-$tokudb_row_format; fi
+if [ "$tokudb_loader_memory_size" != "" ] ; then runfile=$runfile-$tokudb_loader_memory_size; fi
rm -rf $runfile
testresult="PASS"
@@ -162,6 +166,14 @@ if [ $load -ne 0 -a $testresult = "PASS" ] ; then
if [ $exitcode -ne 0 ] ; then testresult="FAIL"; fi
fi
+if [ $load -ne 0 -a $testresult = "PASS" -a "$tokudb_row_format" != "" ] ; then
+ echo `date` create table $dbname.$tblname >>$runfile
+ mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "alter table $tblname row_format=$tokudb_row_format" >>$runfile 2>&1
+ exitcode=$?
+ echo `date` create table $exitcode >>$runfile
+ if [ $exitcode -ne 0 ] ; then testresult="FAIL"; fi
+fi
+
if [ $load -ne 0 -a $testresult = "PASS" -a $engine != "tokudb" ] ; then
echo `date` alter table $engine >>$runfile
mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "alter table $tblname engine=$engine" >>$runfile 2>&1
@@ -170,11 +182,24 @@ if [ $load -ne 0 -a $testresult = "PASS" -a $engine != "tokudb" ] ; then
if [ $exitcode -ne 0 ] ; then testresult="FAIL"; fi
fi
+if [ $testresult = "PASS" ] ; then
+ mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "show create table $tblname" >>$runfile 2>&1
+fi
+
+if [ $testresult = "PASS" ] ; then
+ let default_loader_memory_size="$(mysql -S $mysqlsocket -u $mysqluser -e'select @@tokudb_loader_memory_size' --silent --skip-column-names)"
+ exitcode=$?
+ echo `date` get tokudb_loader_memory_size $exitcode >>$runfile
+ if [ $exitcode -ne 0 ] ; then testresult="FAIL"; fi
+ if [ "$tokudb_loader_memory_size" = "" ] ; then tokudb_loader_memory_size=$default_loader_memory_size; fi
+fi
+
# load the data
if [ $load -ne 0 -a $testresult = "PASS" ] ; then
echo `date` load data >>$runfile
start=$(date +%s)
- mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "set tokudb_load_save_space=$tokudb_load_save_space; load data infile '$basedir/atc_On_Time_Performance.mysql.csv' into table $tblname" >>$runfile 2>&1
+ mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "set tokudb_loader_memory_size=$tokudb_loader_memory_size;\
+ set tokudb_load_save_space=$tokudb_load_save_space; load data infile '$basedir/atc_On_Time_Performance.mysql.csv' into table $tblname" >>$runfile 2>&1
exitcode=$?
let loadtime=$(date +%s)-$start
echo `date` load data loadtime=$loadtime $exitcode >>$runfile
diff --git a/storage/tokudb/scripts/run.mysql.tests.bash b/storage/tokudb/scripts/run.mysql.tests.bash
index a1d2e5081e3..ce0fe88d99d 100755
--- a/storage/tokudb/scripts/run.mysql.tests.bash
+++ b/storage/tokudb/scripts/run.mysql.tests.bash
@@ -52,7 +52,7 @@ if [[ $mysqlbuild =~ (.*)-(tokudb\-.*)-(linux)-(x86_64) ]] ; then
system=${BASH_REMATCH[3]}
arch=${BASH_REMATCH[4]}
else
- exit 1
+ echo $mysqlbuild is not a tokudb build
fi
if [ -d $mysql_basedir/lib/mysql ] ; then
@@ -114,41 +114,46 @@ if [ -z $engine ] ; then
# run the tests
pushd $mysql_basedir/mysql-test
if [ $? = 0 ] ; then
-
- if [[ $mysqlbuild =~ mysql-5.6 ]] || [[ $mysqlbuild =~ mariadb-10 ]] || [[ $mysqlbuild =~ Percona ]] ; then
- ./mysql-test-run.pl --suite=$teststorun_original --big-test --mysqld=--loose-tokudb-debug=3072 --max-test-fail=0 --force --retry=1 --testcase-timeout=60 \
- --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
+ if [[ $mysqlbuild =~ tokudb ]] ; then
+ # run standard tests
+ if [[ $mysqlbuild =~ 5\\.5 ]] ; then
+ ./mysql-test-run.pl --suite=$teststorun_original --big-test --max-test-fail=0 --force --retry=1 --testcase-timeout=60 \
+ --mysqld=--default-storage-engine=myisam --mysqld=--sql-mode="" \
+ --mysqld=--loose-tokudb_debug=3072 \
+ --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
+ else
+ ./mysql-test-run.pl --suite=$teststorun_original --big-test --max-test-fail=0 --force --retry=1 --testcase-timeout=60 \
+ --mysqld=--loose-tokudb_debug=3072 \
+ --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
+ fi
+
+ # run tokudb tests
+ ./mysql-test-run.pl --suite=$teststorun_tokudb --big-test --max-test-fail=0 --force --retry=1 --testcase-timeout=60 \
+ --mysqld=--loose-tokudb_debug=3072 \
+ --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
+ # setup for engines tests
+ engine="tokudb"
else
./mysql-test-run.pl --suite=$teststorun_original --big-test --max-test-fail=0 --force --retry=1 --testcase-timeout=60 \
- --mysqld=--default-storage-engine=myisam --mysqld=--sql-mode="" \
- --mysqld=--loose-tokudb_debug=3072 --mysqld=--loose-tokudb_hide_default_row_format=1 \
--parallel=$parallel >>$testresultsdir/$tracefile 2>&1
fi
-
- if [[ $mysqlbuild =~ Percona ]] ; then
- ./mysql-test-run.pl --suite=$teststorun_tokudb --big-test --mysqld=--plugin-load=tokudb=ha_tokudb.so --mysqld=--loose-tokudb_debug=3072 --max-test-fail=0 --force --retry=1 --testcase-timeout=60 \
- --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
- else
- ./mysql-test-run.pl --suite=$teststorun_tokudb --big-test --max-test-fail=0 --force --retry=1 --testcase-timeout=60 \
- --mysqld=--default-storage-engine=tokudb \
- --mysqld=--loose-tokudb_debug=3072 --mysqld=--loose-tokudb_hide_default_row_format=1 \
- --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
- fi
- exitcode=$?
popd
fi
-
- engine="tokudb"
fi
if [ ! -z $engine ] ; then
teststorun="engines/funcs,engines/iuds"
pushd $mysql_basedir/mysql-test
if [ $? = 0 ] ; then
- ./mysql-test-run.pl --suite=$teststorun --force --retry-failure=0 --max-test-fail=0 --nowarnings --testcase-timeout=60 \
- --mysqld=--default-storage-engine=$engine --mysqld=--loose-tokudb_hide_default_row_format=1 \
- --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
- exitcode=$?
+ if [[ $mysqlbuild =~ 5\\.6 ]] ; then
+ ./mysql-test-run.pl --suite=$teststorun --force --retry-failure=0 --max-test-fail=0 --nowarnings --testcase-timeout=60 \
+ --mysqld=--default-storage-engine=$engine --mysqld=--default-tmp-storage-engine=$engine \
+ --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
+ else
+ ./mysql-test-run.pl --suite=$teststorun --force --retry-failure=0 --max-test-fail=0 --nowarnings --testcase-timeout=60 \
+ --mysqld=--default-storage-engine=$engine \
+ --parallel=$parallel >>$testresultsdir/$tracefile 2>&1
+ fi
popd
fi
fi
@@ -168,7 +173,7 @@ while read line ; do
done <$testresultsdir/$tracefile
# commit the results
-if [ $exitcode = 0 -a $tests_failed = 0 ] ; then
+if [ $tests_failed = 0 ] ; then
testresult="PASS=$tests_passed"
else
testresult="FAIL=$tests_failed PASS=$tests_passed"
diff --git a/storage/tokudb/scripts/run.sql.bench.bash b/storage/tokudb/scripts/run.sql.bench.bash
index 0fef343c02e..b3dbb4857bc 100755
--- a/storage/tokudb/scripts/run.sql.bench.bash
+++ b/storage/tokudb/scripts/run.sql.bench.bash
@@ -51,7 +51,7 @@ if [[ $mysqlbuild =~ (.*)-(tokudb-.*)-(linux)-(x86_64) ]] ; then
system=${BASH_REMATCH[3]}
arch=${BASH_REMATCH[4]}
else
- exit 1
+ echo $mysqlbuild is not a tokudb build
fi
# goto the base directory
diff --git a/storage/tokudb/scripts/run.tests.7.0.3.bash b/storage/tokudb/scripts/run.tests.7.0.3.bash
deleted file mode 100644
index 9248fe65bb3..00000000000
--- a/storage/tokudb/scripts/run.tests.7.0.3.bash
+++ /dev/null
@@ -1,50 +0,0 @@
-mysqlbuild=mysql-5.5.30-tokudb-7.0.3-e-linux-x86_64
-setup.mysql.bash --mysqlbuild=$mysqlbuild --install=0
-if [ $? = 0 ] ; then
- run.sql.bench.bash --mysqlbuild=$mysqlbuild --commit=1
-fi
-
-mysqlbuild=mariadb-5.5.30-tokudb-7.0.3-e-linux-x86_64
-setup.mysql.bash --mysqlbuild=$mysqlbuild --install=0
-if [ $? = 0 ] ; then
- run.atc.ontime.bash --mysqlbuild=$mysqlbuild --commit=1 --engine=tokudb
-fi
-
-mysqlbuild=mariadb-5.5.30-tokudb-7.0.3-linux-x86_64
-setup.mysql.bash --mysqlbuild=$mysqlbuild --install=0
-if [ $? = 0 ] ; then
- run.sql.bench.bash --mysqlbuild=$mysqlbuild --commit=1
-fi
-
-mysqlbuild=mariadb-5.5.30-tokudb-7.0.3-e-linux-x86_64
-setup.mysql.bash --mysqlbuild=$mysqlbuild --install=0
-if [ $? = 0 ] ; then
- run.sql.bench.bash --mysqlbuild=$mysqlbuild --commit=1
-fi
-
-mysqlbuild=mariadb-5.5.30-tokudb-7.0.3-e-linux-x86_64
-setup.mysql.bash --mysqlbuild=$mysqlbuild --install=0
-if [ $? = 0 ] ; then
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=1
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=1 --tokudb_load_save_space=1
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=10
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=10 --tokudb_load_save_space=1
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=30
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=30 --tokudb_load_save_space=1
-fi
-
-mysqlbuild=mariadb-5.5.30-tokudb-7.0.3-e-linux-x86_64
-setup.mysql.bash --mysqlbuild=$mysqlbuild --install=0
-if [ $? = 0 ] ; then
- run.iibench.bash --mysqlbuild=$mysqlbuild --commit=1 --max_rows=1000000000 --insert_only=0
- run.iibench.bash --mysqlbuild=$mysqlbuild --commit=1 --max_rows=1000000000 --replace_into
- run.iibench.bash --mysqlbuild=$mysqlbuild --commit=1 --max_rows=1000000000 --insert_ignore
- run.iibench.bash --mysqlbuild=$mysqlbuild --commit=1 --max_rows=1000000000 --insert_only=1
-fi
-
-mysqlbuild=mariadb-5.5.30-tokudb-7.0.3-e-linux-x86_64
-setup.mysql.bash --mysqlbuild=$mysqlbuild --install=0
-if [ $? = 0 ] ; then
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=100 --compare=0
- run.tpch.bash --mysqlbuild=$mysqlbuild --commit=1 --SCALE=100 --compare=0 --tokudb_load_save_space=1
-fi
diff --git a/storage/tokudb/scripts/run.tpch.bash b/storage/tokudb/scripts/run.tpch.bash
index 5a711c011a3..efc37d25d2e 100755
--- a/storage/tokudb/scripts/run.tpch.bash
+++ b/storage/tokudb/scripts/run.tpch.bash
@@ -5,7 +5,8 @@ function usage() {
echo "[--SCALE=$SCALE] [--ENGINE=$ENGINE]"
echo "[--dbgen=$dbgen] [--load=$load] [--check=$check] [--compare=$compare] [--query=$query]"
echo "[--mysqlbuild=$mysqlbuild] [--commit=$commit]"
- echo "[--testinstance=$testinstance] [--tokudb_load_save_space=$tokudb_load_save_space]"
+ echo "[--testinstance=$testinstance]"
+ echo "[--tokudb_load_save_space=$tokudb_load_save_space] [--tokudb_row_format=$tokudb_row_format] [--tokudb_loader_memory_size=$tokudb_loader_memory_size]"
}
function retry() {
@@ -46,6 +47,8 @@ system=`uname -s | tr [:upper:] [:lower:]`
arch=`uname -m | tr [:upper:] [:lower:]`
testinstance=
tokudb_load_save_space=0
+tokudb_row_format=
+tokudb_loader_memory_size=
svn_server=https://svn.tokutek.com/tokudb
svn_branch=.
svn_revision=HEAD
@@ -105,6 +108,8 @@ fi
runfile=$testresultsdir/$dbname
if [ $tokudb_load_save_space != 0 ] ; then runfile=$runfile-compress; fi
+if [ "$tokudb_row_format" != "" ] ; then runfile=$runfile-$tokudb_row_format; fi
+if [ "$tokudb_loader_memory_size" != "" ] ; then runfile=$runfile-$tokudb_loader_memory_size; fi
runfile=$runfile-$mysqlbuild-$mysqlserver
rm -rf $runfile
@@ -210,13 +215,24 @@ if [ $load != 0 -a $testresult = "PASS" ] ; then
if [ $exitcode -ne 0 ] ; then testresult="FAIL"; fi
fi
+# get the current loader memory size
+if [ $load != 0 -a $testresult = "PASS" ] ; then
+ let default_loader_memory_size="$(mysql -S $mysqlsocket -u $mysqluser -e'select @@tokudb_loader_memory_size' --silent --skip-column-names)"
+ exitcode=$?
+ echo `date` get tokudb_loader_memory_size $exitcode >>$runfile
+ if [ $exitcode -ne 0 ] ; then testresult="FAIL"; fi
+ if [ "$tokudb_loader_memory_size" = "" ] ; then tokudb_loader_memory_size=$default_loader_memory_size; fi
+fi
+
# load the data
if [ $load != 0 -a $testresult = "PASS" ] ; then
for tblname in $TABLES ; do
echo `date` load table $tblname >>$runfile
ls -l $tpchdir/data/tpch${SCALE}G/$tblname.tbl >>$runfile
start=$(date +%s)
- mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "set session tokudb_load_save_space=$tokudb_load_save_space; load data infile '$tpchdir/data/tpch${SCALE}G/$tblname.tbl' into table $tblname fields terminated by '|'" >>$runfile 2>&1
+ mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "set tokudb_loader_memory_size=$tokudb_loader_memory_size;\
+ set tokudb_load_save_space=$tokudb_load_save_space;\
+ load data infile '$tpchdir/data/tpch${SCALE}G/$tblname.tbl' into table $tblname fields terminated by '|';" >>$runfile 2>&1
exitcode=$?
let loadtime=$(date +%s)-$start
echo `date` load table $tblname $exitcode loadtime=$loadtime>>$runfile
@@ -228,7 +244,10 @@ if [ $check != 0 -a $testresult = "PASS" ] ; then
for tblname in lineitem ; do
echo `date` add clustering index $tblname >>$runfile
start=$(date +%s)
- mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "set session tokudb_create_index_online=0;create clustering index i_shipdate on lineitem (l_shipdate)" >>$runfile 2>&1
+ mysql -S $mysqlsocket -u $mysqluser -D $dbname -e "set tokudb_loader_memory_size=$tokudb_loader_memory_size;\
+ set tokudb_load_save_space=$tokudb_load_save_space;\
+ set tokudb_create_index_online=0;\
+ create clustering index i_shipdate on lineitem (l_shipdate);" >>$runfile 2>&1
exitcode=$?
let loadtime=$(date +%s)-$start
echo `date` add clustering index $tblname $exitcode loadtime=$loadtime >>$runfile
@@ -304,7 +323,7 @@ if [ $compare != 0 -a $testresult = "PASS" ] ; then
echo `date` $d $result >>$runfile
done
if [ $testresult = "PASS" ] ; then
- # remove the dump files
+ # remove the dump files
rm -f $datadir/$dbname/dump*
fi
fi
diff --git a/storage/tokudb/scripts/setup.mysql.bash b/storage/tokudb/scripts/setup.mysql.bash
index 01a264fde5a..6ae604e34c1 100755
--- a/storage/tokudb/scripts/setup.mysql.bash
+++ b/storage/tokudb/scripts/setup.mysql.bash
@@ -10,8 +10,10 @@ shutdown=1
install=1
startup=1
s3bucket=tokutek-mysql-build
-builtins="mysqlbuild shutdown install startup s3bucket"
+sleeptime=60
+builtins="mysqlbuild shutdown install startup s3bucket sleeptime"
mysqld_args="--user=mysql --core-file --core-file-size=unlimited"
+sudo=/usr/bin/sudo
defaultsfile=""
if [ -f /etc/$(whoami).my.cnf ] ; then
defaultsfile=/etc/$(whoami).my.cnf
@@ -50,9 +52,8 @@ if [[ $mysqlbuild =~ (.*)-(tokudb\-.*)-(linux)-(x86_64) ]] ; then
system=${BASH_REMATCH[3]}
arch=${BASH_REMATCH[4]}
else
- exit 1
+ echo $mysqlbuild is not a tokudb build
fi
-mysqltarball=$mysqlbuild.tar.gz
if [ ! -d downloads ] ; then mkdir downloads; fi
@@ -61,6 +62,16 @@ if [ $? != 0 ] ; then exit 1; fi
basedir=$PWD
+mysqltarball=$mysqlbuild.tar.gz
+
+if [ -f $mysqlbuild.tar.gz ] ; then
+ compression=-z
+ mysqltarball=$mysqlbuild.tar.gz
+elif [ -f $mysqlbuild.tar.bz2 ] ; then
+ compression=-j
+ mysqltarball=$mysqlbuild.tar.bz2
+fi
+
# get the release
if [ ! -f $mysqltarball ] ; then
s3get $s3bucket $mysqltarball $mysqltarball
@@ -79,14 +90,20 @@ if [ $? -ne 0 ] ; then
if [ $? -ne 0 ] ; then exit 1; fi
fi
+# set ldpath
+ldpath=""
+if [ -d /usr/local/gcc-4.7/lib64 ] ; then
+ echo skip ldpath="export LD_LIBRARY_PATH=/usr/local/gcc-4.7/lib64:\$LD_LIBRARY_PATH;"
+fi
+
# shutdown mysql
if [ $shutdown -ne 0 ] ; then
if [ -x /etc/init.d/mysql ] ; then
- sudo setsid /etc/init.d/mysql stop
+ $sudo setsid /etc/init.d/mysql stop
else
/usr/local/mysql/bin/mysqladmin shutdown
fi
- sleep 60
+ sleep $sleeptime
fi
pushd /usr/local
@@ -107,36 +124,43 @@ fi
if [ ! -d $mysqlbuild ] || [ $install -ne 0 ] ; then
rm mysql
- if [ -d $mysqlbuild ] ; then sudo rm -rf $mysqlbuild; fi
+ if [ -d $mysqlbuild ] ; then $sudo rm -rf $mysqlbuild; fi
- tar xzf $basedir/$mysqltarball
+ tar -x $compression -f $basedir/$mysqltarball
if [ $? -ne 0 ] ; then exit 1; fi
ln -s $mysqldir /usr/local/mysql
+ if [ $? -ne 0 ] ; then exit 1; fi
+ ln -s $mysqldir /usr/local/$mysqlbuild
+ if [ $? -ne 0 ] ; then exit 1; fi
installdb=$mysqlbuild/bin/mysql_install_db
if [ ! -f $installdb ] ; then
installdb=$mysqlbuild/scripts/mysql_install_db
fi
- sudo chown -R mysql $mysqlbuild/data
- sudo chgrp -R mysql $mysqlbuild/data
+ $sudo chown -R mysql $mysqlbuild/data
+ $sudo chgrp -R mysql $mysqlbuild/data
# 5.6 debug build needs this
if [ ! -f $mysqlbuild/bin/mysqld ] && [ -f $mysqlbuild/bin/mysqld-debug ] ; then
ln $mysqlbuild/bin/mysqld-debug $mysqlbuild/bin/mysqld
fi
- if [ -z "$defaultsfile" ] ; then
- sudo $installdb --user=mysql --basedir=$PWD/$mysqlbuild --datadir=$PWD/$mysqlbuild/data
+ if [ -z "$defaultsfile" ] ; then
+ default_arg=""
else
- sudo $installdb --defaults-file=$defaultsfile --user=mysql --basedir=$PWD/$mysqlbuild --datadir=$PWD/$mysqlbuild/data
+ default_arg="--defaults-file=$defaultsfile"
fi
+ $sudo bash -c "$ldpath $installdb $default_arg --user=mysql --basedir=$PWD/$mysqlbuild --datadir=$PWD/$mysqlbuild/data"
if [ $? -ne 0 ] ; then exit 1; fi
-
else
# create link
+ rm /usr/local/mysql
ln -s $mysqldir /usr/local/mysql
if [ $? -ne 0 ] ; then exit 1; fi
+ rm /usr/local/$mysqlbuild
+ ln -s $mysqldir /usr/local/$mysqlbuild
+ if [ $? -ne 0 ] ; then exit 1; fi
fi
popd
@@ -149,11 +173,16 @@ if [ $startup -ne 0 ] ; then
echo ulimit -n 10240 exitcode $exitcode
if [ -x /etc/init.d/mysql ] ; then
- sudo setsid /etc/init.d/mysql start
+ $sudo setsid /etc/init.d/mysql start
else
- sudo -b /usr/local/mysql/bin/mysqld_safe $mysqld_args >/dev/null 2>&1 &
+ if [ -z "$defaultsfile" ] ; then
+ default_arg=""
+ else
+ default_arg="--defaults-file=$defaultsfile"
+ fi
+ $sudo -b bash -c "$ldpath /usr/local/mysql/bin/mysqld_safe $default_arg $mysqld_args" >/dev/null 2>&1 &
fi
- sleep 60
+ sleep $sleeptime
# add mysql grants
/usr/local/mysql/bin/mysql -u root -e "grant all on *.* to tokubuild@localhost"
diff --git a/storage/tokudb/scripts/tokutek.make.mysql.bash b/storage/tokudb/scripts/tokutek.make.mysql.bash
index 1b0526d432d..f1578bad292 100755
--- a/storage/tokudb/scripts/tokutek.make.mysql.bash
+++ b/storage/tokudb/scripts/tokutek.make.mysql.bash
@@ -7,12 +7,12 @@ function usage() {
# copy build files to amazon s3
function copy_to_s3() {
- local s3_build_bucket=$1; local s3_release_bucket=$2
+ local s3_build_bucket=$1; shift
+ local mysql_distro=$1; shift
local ts=$(date +%s)
local ymd=$(date +%Y%m%d -d @$ts)
- local ym=$(date +%Y%m -d @$ts)
local exitcode=0; local r=0
- for f in $(find . -maxdepth 1 \( -name '*.tar.gz*' -o -name '*.rpm*' \) ) ; do
+ for f in $(find . -maxdepth 1 \( -name $mysql_distro-$mysql_version'*.tar.gz*' -o -name $mysql_distro-$mysql_version'*.rpm*' \) ) ; do
f=$(basename $f)
echo `date` s3put $s3_build_bucket $f
s3put $s3_build_bucket $f $f
@@ -24,21 +24,18 @@ function copy_to_s3() {
r=$?
echo `date` s3put $s3_build_bucket-date $ymd/$f $r
if [ $r != 0 ] ; then exitcode=1; fi
- # copy to partition by date
- s3mkbucket $s3_build_bucket-$ym
- s3copykey $s3_build_bucket-$ym $f $s3_build_bucket $f
done
if [[ $git_tag =~ tokudb-.* ]] ; then
- s3mkbucket $s3_release_bucket-$git_tag
+ s3mkbucket $git_tag
if [ $r != 0 ] ; then
exitcode=1
else
- for f in $(find . -maxdepth 1 \( -name '*.tar.gz*' -o -name '*.rpm*' \) ) ; do
+ for f in $(find . -maxdepth 1 \( -name $mysql_distro-$mysql_version'*.tar.gz*' -o -name $mysql_distro-$mysql_version'*.rpm*' \) ) ; do
f=$(basename $f)
- echo `date` s3copykey $s3_release_bucket-$git_tag $f
- s3copykey $s3_release_bucket-$git_tag $f $s3_build_bucket $f
+ echo `date` s3copykey $git_tag $f
+ s3copykey $git_tag $f $s3_build_bucket $f
r=$?
- echo `date` s3copykey $s3_release_bucket-$git_tag $f $r
+ echo `date` s3copykey $git_tag $f $r
if [ $r != 0 ] ; then exitcode=1; fi
done
fi
@@ -49,7 +46,6 @@ function copy_to_s3() {
mysqlbuild=
s3=1
s3_build_bucket=tokutek-mysql-build
-s3_release_bucket=tokutek-mysql
system=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m | tr '[:upper:]' '[:lower:]')
@@ -89,7 +85,7 @@ bash -x $HOME/github/ft-engine/scripts/make.mysql.bash $make_args
if [ $? != 0 ] ; then exitcode=1; fi
# generate md5 sums
-for f in $(find $mysql_distro/build.* -maxdepth 1 \( -name '*.tar.gz' -o -name '*.rpm' \) ) ; do
+for f in $(find $mysql_distro-$mysql_version/build.* -maxdepth 1 \( -name '*.tar.gz' -o -name '*.rpm' \) ) ; do
newf=$(basename $f)
ln $f $newf
if [ $? != 0 ] ; then exitcode=1; fi
@@ -99,7 +95,7 @@ done
# copy to s3
if [ $s3 != 0 ] ; then
- copy_to_s3 $s3_build_bucket $s3_release_bucket
+ copy_to_s3 $s3_build_bucket $mysql_distro
if [ $? != 0 ] ; then exitcode=1; fi
fi
diff --git a/storage/tokudb/tokudb_card.h b/storage/tokudb/tokudb_card.h
index d609ad71ee2..c22ae9b9c17 100644
--- a/storage/tokudb/tokudb_card.h
+++ b/storage/tokudb/tokudb_card.h
@@ -89,6 +89,13 @@ PATENT RIGHTS GRANT:
#ident "Copyright (c) 2007-2013 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
namespace tokudb {
+ uint compute_total_key_parts(TABLE_SHARE *table_share) {
+ uint total_key_parts = 0;
+ for (uint i = 0; i < table_share->keys; i++) {
+ total_key_parts += get_key_parts(&table_share->key_info[i]);
+ }
+ return total_key_parts;
+ }
// Set the key_info cardinality counters for the table.
void set_card_in_key_info(TABLE *table, uint rec_per_keys, uint64_t rec_per_key[]) {
@@ -171,11 +178,13 @@ namespace tokudb {
void set_card_from_status(DB *status_db, DB_TXN *txn, TABLE_SHARE *table_share, TABLE_SHARE *altered_table_share) {
int error;
// read existing cardinality data from status
- uint64_t rec_per_key[table_share->key_parts];
- error = get_card_from_status(status_db, txn, table_share->key_parts, rec_per_key);
+ uint table_total_key_parts = tokudb::compute_total_key_parts(table_share);
+ uint64_t rec_per_key[table_total_key_parts];
+ error = get_card_from_status(status_db, txn, table_total_key_parts, rec_per_key);
// set altered records per key to unknown
- uint64_t altered_rec_per_key[altered_table_share->key_parts];
- for (uint i = 0; i < altered_table_share->key_parts; i++)
+ uint altered_table_total_key_parts = tokudb::compute_total_key_parts(altered_table_share);
+ uint64_t altered_rec_per_key[altered_table_total_key_parts];
+ for (uint i = 0; i < altered_table_total_key_parts; i++)
altered_rec_per_key[i] = 0;
// compute the beginning of the key offsets in the original table
uint orig_key_offset[table_share->keys];
@@ -197,7 +206,7 @@ namespace tokudb {
}
}
if (error == 0)
- set_card_in_status(status_db, txn, altered_table_share->key_parts, altered_rec_per_key);
+ set_card_in_status(status_db, txn, altered_table_total_key_parts, altered_rec_per_key);
else
delete_card_from_status(status_db, txn);
}
diff --git a/storage/tokudb/tokudb_update_fun.cc b/storage/tokudb/tokudb_update_fun.cc
index ddf509fd9b8..3ab7510121a 100644
--- a/storage/tokudb/tokudb_update_fun.cc
+++ b/storage/tokudb/tokudb_update_fun.cc
@@ -485,7 +485,7 @@ static int tokudb_hcad_update_fun(
extra_pos += sizeof(uint32_t);
max_num_bytes = old_val->size + extra->size + new_len_of_offsets + new_fixed_field_size;
- new_val_data = (uchar *)my_malloc(
+ new_val_data = (uchar *)tokudb_my_malloc(
max_num_bytes,
MYF(MY_FAE)
);
@@ -511,7 +511,6 @@ static int tokudb_hcad_update_fun(
old_null_bytes = (uchar *)old_val->data;
new_null_bytes = new_val_data;
-
memcpy(&curr_old_null_pos, extra_pos, sizeof(uint32_t));
extra_pos += sizeof(uint32_t);
@@ -520,6 +519,8 @@ static int tokudb_hcad_update_fun(
memcpy(&num_columns, extra_pos, sizeof(num_columns));
extra_pos += sizeof(num_columns);
+
+ memset(new_null_bytes, 0, new_num_null_bytes); // shut valgrind up
//
// now go through and apply the change into new_val_data
@@ -815,7 +816,7 @@ static int tokudb_hcad_update_fun(
error = 0;
cleanup:
- my_free(new_val_data);
+ tokudb_my_free(new_val_data);
return error;
}
@@ -856,7 +857,7 @@ static int tokudb_expand_variable_offsets(
uchar *old_val_ptr = (uchar *)old_val->data;
// allocate space for the new val's data
- uchar *new_val_ptr = (uchar *)my_malloc(number_of_offsets + old_val->size, MYF(MY_FAE));
+ uchar *new_val_ptr = (uchar *)tokudb_my_malloc(number_of_offsets + old_val->size, MYF(MY_FAE));
if (!new_val_ptr) {
error = ENOMEM;
goto cleanup;
@@ -893,7 +894,7 @@ static int tokudb_expand_variable_offsets(
error = 0;
cleanup:
- my_free(new_val.data);
+ tokudb_my_free(new_val.data);
return error;
}
@@ -932,7 +933,7 @@ static int tokudb_expand_int_field(
uchar *old_val_ptr = (uchar *)old_val->data;
// allocate space for the new val's data
- uchar *new_val_ptr = (uchar *)my_malloc(old_val->size + (new_length - old_length), MYF(MY_FAE));
+ uchar *new_val_ptr = (uchar *)tokudb_my_malloc(old_val->size + (new_length - old_length), MYF(MY_FAE));
if (!new_val_ptr) {
error = ENOMEM;
goto cleanup;
@@ -980,7 +981,7 @@ static int tokudb_expand_int_field(
error = 0;
cleanup:
- my_free(new_val.data);
+ tokudb_my_free(new_val.data);
return error;
}
@@ -1021,7 +1022,7 @@ static int tokudb_expand_char_field(
uchar *old_val_ptr = (uchar *)old_val->data;
// allocate space for the new val's data
- uchar *new_val_ptr = (uchar *)my_malloc(old_val->size + (new_length - old_length), MYF(MY_FAE));
+ uchar *new_val_ptr = (uchar *)tokudb_my_malloc(old_val->size + (new_length - old_length), MYF(MY_FAE));
if (!new_val_ptr) {
error = ENOMEM;
goto cleanup;
@@ -1062,7 +1063,7 @@ static int tokudb_expand_char_field(
error = 0;
cleanup:
- my_free(new_val.data);
+ tokudb_my_free(new_val.data);
return error;
}
diff --git a/storage/xtradb/CMakeLists.txt b/storage/xtradb/CMakeLists.txt
index 0c63afd744e..a8b2c405eab 100644
--- a/storage/xtradb/CMakeLists.txt
+++ b/storage/xtradb/CMakeLists.txt
@@ -65,6 +65,12 @@ CHECK_FUNCTION_EXISTS(sched_getcpu HAVE_SCHED_GETCPU)
IF(NOT MSVC)
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not
IF(NOT CMAKE_CROSSCOMPILING)
+ # workaround for gcc 4.1.2 RHEL5/x86, gcc atomic ops only work under -march=i686
+ IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "i686" AND CMAKE_COMPILER_IS_GNUCC AND
+ CMAKE_C_COMPILER_VERSION VERSION_LESS "4.1.3")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i686")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i686")
+ ENDIF()
CHECK_C_SOURCE_RUNS(
"
int main()
@@ -237,7 +243,7 @@ ENDIF()
IF(MSVC)
ADD_DEFINITIONS(-DHAVE_WINDOWS_ATOMICS)
- #SET(XTRADB_OK 1)
+ SET(XTRADB_OK 1)
# Avoid "unreferenced label" warning in generated file
GET_FILENAME_COMPONENT(_SRC_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
@@ -406,9 +412,10 @@ ENDIF()
IF(XTRADB_OK)
MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE
- MODULE_ONLY RECOMPILE_FOR_EMBEDDED
+ DEFAULT
+ RECOMPILE_FOR_EMBEDDED
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
ELSE()
- MESSAGE("Percona XtraDB is not supported on this platform")
+ MESSAGE(FATAL_ERROR "Percona XtraDB is not supported on this platform")
ENDIF()
diff --git a/storage/xtradb/api/api0api.cc b/storage/xtradb/api/api0api.cc
index 647ebcde6f0..d2f1a468f25 100644
--- a/storage/xtradb/api/api0api.cc
+++ b/storage/xtradb/api/api0api.cc
@@ -355,7 +355,9 @@ ib_read_tuple(
/*==========*/
const rec_t* rec, /*!< in: Record to read */
ib_bool_t page_format, /*!< in: IB_TRUE if compressed format */
- ib_tuple_t* tuple) /*!< in: tuple to read into */
+ ib_tuple_t* tuple, /*!< in: tuple to read into */
+ void** rec_buf, /*!< in/out: row buffer */
+ ulint* len) /*!< in/out: buffer len */
{
ulint i;
void* ptr;
@@ -366,6 +368,7 @@ ib_read_tuple(
ulint* offsets = offsets_;
dtuple_t* dtuple = tuple->ptr;
const dict_index_t* index = tuple->index;
+ ulint offset_size;
rec_offs_init(offsets_);
@@ -375,8 +378,20 @@ ib_read_tuple(
rec_meta_data = rec_get_info_bits(rec, page_format);
dtuple_set_info_bits(dtuple, rec_meta_data);
- /* Make a copy of the rec. */
- ptr = mem_heap_alloc(tuple->heap, rec_offs_size(offsets));
+ offset_size = rec_offs_size(offsets);
+
+ if (rec_buf && *rec_buf) {
+ if (*len < offset_size) {
+ free(*rec_buf);
+ *rec_buf = malloc(offset_size);
+ *len = offset_size;
+ }
+ ptr = *rec_buf;
+ } else {
+ /* Make a copy of the rec. */
+ ptr = mem_heap_alloc(tuple->heap, offset_size);
+ }
+
copy = rec_copy(ptr, rec, offsets);
n_index_fields = ut_min(
@@ -557,6 +572,10 @@ ib_trx_start(
/*=========*/
ib_trx_t ib_trx, /*!< in: transaction to restart */
ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit, /*!< in: auto commit after each
+ single DML */
void* thd) /*!< in: THD */
{
ib_err_t err = DB_SUCCESS;
@@ -564,6 +583,10 @@ ib_trx_start(
ut_a(ib_trx_level <= IB_TRX_SERIALIZABLE);
+ trx->api_trx = true;
+ trx->api_auto_commit = auto_commit;
+ trx->read_write = read_write;
+
trx_start_if_not_started(trx);
trx->isolation_level = ib_trx_level;
@@ -583,16 +606,22 @@ UNIV_INTERN
ib_trx_t
ib_trx_begin(
/*=========*/
- ib_trx_level_t ib_trx_level) /*!< in: trx isolation level */
+ ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit) /*!< in: auto commit after each
+ single DML */
{
trx_t* trx;
ib_bool_t started;
trx = trx_allocate_for_mysql();
- started = ib_trx_start((ib_trx_t) trx, ib_trx_level, NULL);
+
+ started = ib_trx_start(static_cast<ib_trx_t>(trx), ib_trx_level,
+ read_write, auto_commit, NULL);
ut_a(started);
- return((ib_trx_t) trx);
+ return(static_cast<ib_trx_t>(trx));
}
/*****************************************************************//**
@@ -652,15 +681,11 @@ ib_trx_commit(
trx_t* trx = (trx_t*) ib_trx;
if (trx->state == TRX_STATE_NOT_STARTED) {
- err = ib_trx_release(ib_trx);
return(err);
}
trx_commit(trx);
- err = ib_trx_release(ib_trx);
- ut_a(err == DB_SUCCESS);
-
return(DB_SUCCESS);
}
@@ -682,9 +707,6 @@ ib_trx_rollback(
/* It should always succeed */
ut_a(err == DB_SUCCESS);
- err = ib_trx_release(ib_trx);
- ut_a(err == DB_SUCCESS);
-
ib_wake_master_thread();
return(err);
@@ -1371,11 +1393,12 @@ ib_cursor_commit_trx(
{
ib_err_t err = DB_SUCCESS;
ib_cursor_t* cursor = (ib_cursor_t*) ib_crsr;
+#ifdef UNIV_DEBUG
row_prebuilt_t* prebuilt = cursor->prebuilt;
ut_ad(prebuilt->trx == (trx_t*) ib_trx);
- err = ib_trx_commit(ib_trx);
- prebuilt->trx = NULL;
+#endif /* UNIV_DEBUG */
+ ib_trx_commit(ib_trx);
cursor->valid_trx = FALSE;
return(err);
}
@@ -1955,7 +1978,7 @@ ib_delete_row(
upd = ib_update_vector_create(cursor);
page_format = dict_table_is_comp(index->table);
- ib_read_tuple(rec, page_format, tuple);
+ ib_read_tuple(rec, page_format, tuple, NULL, NULL);
upd->n_fields = ib_tuple_get_n_cols(ib_tpl);
@@ -2056,7 +2079,9 @@ ib_err_t
ib_cursor_read_row(
/*===============*/
ib_crsr_t ib_crsr, /*!< in: InnoDB cursor instance */
- ib_tpl_t ib_tpl) /*!< out: read cols into this tuple */
+ ib_tpl_t ib_tpl, /*!< out: read cols into this tuple */
+ void** row_buf, /*!< in/out: row buffer */
+ ib_ulint_t* row_len) /*!< in/out: row buffer len */
{
ib_err_t err;
ib_tuple_t* tuple = (ib_tuple_t*) ib_tpl;
@@ -2100,7 +2125,8 @@ ib_cursor_read_row(
}
if (!rec_get_deleted_flag(rec, page_format)) {
- ib_read_tuple(rec, page_format, tuple);
+ ib_read_tuple(rec, page_format, tuple,
+ row_buf, (ulint*) row_len);
err = DB_SUCCESS;
} else{
err = DB_RECORD_NOT_FOUND;
@@ -3845,7 +3871,7 @@ ib_table_truncate(
ib_trx_t ib_trx = NULL;
ib_crsr_t ib_crsr = NULL;
- ib_trx = ib_trx_begin(IB_TRX_SERIALIZABLE);
+ ib_trx = ib_trx_begin(IB_TRX_SERIALIZABLE, true, false);
dict_mutex_enter_for_mysql();
diff --git a/storage/xtradb/btr/btr0btr.cc b/storage/xtradb/btr/btr0btr.cc
index 569dcea072a..cce91bdab6e 100644
--- a/storage/xtradb/btr/btr0btr.cc
+++ b/storage/xtradb/btr/btr0btr.cc
@@ -805,7 +805,7 @@ btr_height_get(
/* S latches the page */
root_block = btr_root_block_get(index, RW_S_LATCH, mtr);
- height = btr_page_get_level(buf_block_get_frame(root_block), mtr);
+ height = btr_page_get_level(buf_block_get_frame_fast(root_block), mtr);
/* Release the S latch on the root page. */
mtr_memo_release(mtr, root_block, MTR_MEMO_PAGE_S_FIX);
@@ -1844,6 +1844,8 @@ btr_page_reorganize_low(
#endif /* !UNIV_HOTBACKUP */
temp_page = temp_block->frame;
+ MONITOR_INC(MONITOR_INDEX_REORG_ATTEMPTS);
+
/* Copy the old page to temporary space */
buf_frame_copy(temp_page, page);
@@ -1992,6 +1994,8 @@ func_exit:
mach_write_to_1(log_ptr, z_level);
mlog_close(mtr, log_ptr + 1);
}
+
+ MONITOR_INC(MONITOR_INDEX_REORG_SUCCESSFUL);
}
#endif /* !UNIV_HOTBACKUP */
@@ -2746,7 +2750,7 @@ btr_attach_half_pages(
}
/* Get the level of the split pages */
- level = btr_page_get_level(buf_block_get_frame(block), mtr);
+ level = btr_page_get_level(buf_block_get_frame_fast(block), mtr);
ut_ad(level
== btr_page_get_level(buf_block_get_frame(new_block), mtr));
@@ -3615,6 +3619,8 @@ btr_compress(
space = dict_index_get_space(index);
zip_size = dict_table_zip_size(index->table);
+ MONITOR_INC(MONITOR_INDEX_MERGE_ATTEMPTS);
+
left_page_no = btr_page_get_prev(page, mtr);
right_page_no = btr_page_get_next(page, mtr);
@@ -3848,6 +3854,9 @@ func_exit:
page_rec_get_nth(merge_block->frame, nth_rec),
merge_block, cursor);
}
+
+ MONITOR_INC(MONITOR_INDEX_MERGE_SUCCESSFUL);
+
DBUG_RETURN(TRUE);
err_exit:
@@ -3968,10 +3977,12 @@ btr_discard_page(
space = dict_index_get_space(index);
zip_size = dict_table_zip_size(index->table);
+ MONITOR_INC(MONITOR_INDEX_DISCARD);
+
/* Decide the page which will inherit the locks */
- left_page_no = btr_page_get_prev(buf_block_get_frame(block), mtr);
- right_page_no = btr_page_get_next(buf_block_get_frame(block), mtr);
+ left_page_no = btr_page_get_prev(buf_block_get_frame_fast(block), mtr);
+ right_page_no = btr_page_get_next(buf_block_get_frame_fast(block), mtr);
if (left_page_no != FIL_NULL) {
merge_block = btr_block_get(space, zip_size, left_page_no,
diff --git a/storage/xtradb/btr/btr0cur.cc b/storage/xtradb/btr/btr0cur.cc
index bd2dd1e6095..a180649fa1e 100644
--- a/storage/xtradb/btr/btr0cur.cc
+++ b/storage/xtradb/btr/btr0cur.cc
@@ -1828,7 +1828,7 @@ btr_cur_upd_lock_and_undo(
/***********************************************************//**
Writes a redo log record of updating a record in-place. */
-UNIV_INLINE __attribute__((nonnull))
+UNIV_INTERN
void
btr_cur_update_in_place_log(
/*========================*/
@@ -1856,18 +1856,29 @@ btr_cur_update_in_place_log(
return;
}
- /* The code below assumes index is a clustered index: change index to
- the clustered index if we are updating a secondary index record (or we
- could as well skip writing the sys col values to the log in this case
- because they are not needed for a secondary index record update) */
-
- index = dict_table_get_first_index(index->table);
-
+ /* For secondary indexes, we could skip writing the dummy system fields
+ to the redo log but we have to change redo log parsing of
+ MLOG_REC_UPDATE_IN_PLACE/MLOG_COMP_REC_UPDATE_IN_PLACE or we have to add
+ new redo log record. For now, just write dummy sys fields to the redo
+ log if we are updating a secondary index record.
+ */
mach_write_to_1(log_ptr, flags);
log_ptr++;
- log_ptr = row_upd_write_sys_vals_to_log(
- index, trx_id, roll_ptr, log_ptr, mtr);
+ if (dict_index_is_clust(index)) {
+ log_ptr = row_upd_write_sys_vals_to_log(
+ index, trx_id, roll_ptr, log_ptr, mtr);
+ } else {
+ /* Dummy system fields for a secondary index */
+ /* TRX_ID Position */
+ log_ptr += mach_write_compressed(log_ptr, 0);
+ /* ROLL_PTR */
+ trx_write_roll_ptr(log_ptr, 0);
+ log_ptr += DATA_ROLL_PTR_LEN;
+ /* TRX_ID */
+ log_ptr += mach_ull_write_compressed(log_ptr, 0);
+ }
+
mach_write_to_2(log_ptr, page_offset(rec));
log_ptr += 2;
diff --git a/storage/xtradb/btr/btr0pcur.cc b/storage/xtradb/btr/btr0pcur.cc
index 49002ca9ab6..28a60de6ba2 100644
--- a/storage/xtradb/btr/btr0pcur.cc
+++ b/storage/xtradb/btr/btr0pcur.cc
@@ -111,7 +111,7 @@ btr_pcur_store_position(
page_t* page;
ulint offs;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
block = btr_pcur_get_block(cursor);
@@ -128,7 +128,6 @@ btr_pcur_store_position(
ut_ad(mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_S_FIX)
|| mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_X_FIX));
- ut_a(cursor->latch_mode != BTR_NO_LATCHES);
if (page_is_empty(page)) {
/* It must be an empty index tree; NOTE that in this case
@@ -240,21 +239,12 @@ btr_pcur_restore_position_func(
ut_ad(mtr);
ut_ad(mtr->state == MTR_ACTIVE);
+ ut_ad(cursor->old_stored == BTR_PCUR_OLD_STORED);
+ ut_ad(cursor->pos_state == BTR_PCUR_WAS_POSITIONED
+ || cursor->pos_state == BTR_PCUR_IS_POSITIONED);
index = btr_cur_get_index(btr_pcur_get_btr_cur(cursor));
- if (UNIV_UNLIKELY(cursor->old_stored != BTR_PCUR_OLD_STORED)
- || UNIV_UNLIKELY(cursor->pos_state != BTR_PCUR_WAS_POSITIONED
- && cursor->pos_state != BTR_PCUR_IS_POSITIONED)) {
- ut_print_buf(stderr, cursor, sizeof(btr_pcur_t));
- putc('\n', stderr);
- if (cursor->trx_if_known) {
- trx_print(stderr, cursor->trx_if_known, 0);
- }
-
- ut_error;
- }
-
if (UNIV_UNLIKELY
(cursor->rel_pos == BTR_PCUR_AFTER_LAST_IN_TREE
|| cursor->rel_pos == BTR_PCUR_BEFORE_FIRST_IN_TREE)) {
@@ -279,14 +269,14 @@ btr_pcur_restore_position_func(
if (UNIV_LIKELY(latch_mode == BTR_SEARCH_LEAF)
|| UNIV_LIKELY(latch_mode == BTR_MODIFY_LEAF)) {
- /* Try optimistic restoration */
+ /* Try optimistic restoration. */
- if (UNIV_LIKELY(buf_page_optimistic_get(
- latch_mode,
- cursor->block_when_stored,
- cursor->modify_clock,
- file, line, mtr))) {
+ if (buf_page_optimistic_get(latch_mode,
+ cursor->block_when_stored,
+ cursor->modify_clock,
+ file, line, mtr)) {
cursor->pos_state = BTR_PCUR_IS_POSITIONED;
+ cursor->latch_mode = latch_mode;
buf_block_dbg_add_level(
btr_pcur_get_block(cursor),
@@ -298,9 +288,6 @@ btr_pcur_restore_position_func(
const rec_t* rec;
const ulint* offsets1;
const ulint* offsets2;
-#endif /* UNIV_DEBUG */
- cursor->latch_mode = latch_mode;
-#ifdef UNIV_DEBUG
rec = btr_pcur_get_rec(cursor);
heap = mem_heap_create(256);
@@ -318,7 +305,13 @@ btr_pcur_restore_position_func(
#endif /* UNIV_DEBUG */
return(TRUE);
}
-
+ /* This is the same record as stored,
+ may need to be adjusted for BTR_PCUR_BEFORE/AFTER,
+ depending on search mode and direction. */
+ if (btr_pcur_is_on_user_rec(cursor)) {
+ cursor->pos_state
+ = BTR_PCUR_IS_POSITIONED_OPTIMISTIC;
+ }
return(FALSE);
}
}
@@ -420,7 +413,7 @@ btr_pcur_move_to_next_page(
buf_block_t* next_block;
page_t* next_page;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_after_last_on_page(cursor));
@@ -486,7 +479,6 @@ btr_pcur_move_backward_from_page(
ulint latch_mode;
ulint latch_mode2;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_before_first_on_page(cursor));
ut_ad(!btr_pcur_is_before_first_in_tree(cursor, mtr));
diff --git a/storage/xtradb/buf/buf0buf.cc b/storage/xtradb/buf/buf0buf.cc
index d4b170028d9..2ec25491f4c 100644
--- a/storage/xtradb/buf/buf0buf.cc
+++ b/storage/xtradb/buf/buf0buf.cc
@@ -2752,7 +2752,6 @@ wait_until_unfixed:
buf_LRU_block_free_non_file_page(block);
mutex_exit(&buf_pool->LRU_list_mutex);
- mutex_exit(&buf_pool->zip_mutex);
rw_lock_x_unlock(hash_lock);
mutex_exit(&block->mutex);
diff --git a/storage/xtradb/buf/buf0flu.cc b/storage/xtradb/buf/buf0flu.cc
index abcee504d2e..a7f55eb9c79 100644
--- a/storage/xtradb/buf/buf0flu.cc
+++ b/storage/xtradb/buf/buf0flu.cc
@@ -1656,7 +1656,7 @@ buf_do_LRU_batch(
n->flushed = 0;
}
- n->evicted += count;
+ n->flushed += count;
}
/*******************************************************************//**
diff --git a/storage/xtradb/dict/dict0crea.cc b/storage/xtradb/dict/dict0crea.cc
index c7cb3aa21bb..eba5417dc76 100644
--- a/storage/xtradb/dict/dict0crea.cc
+++ b/storage/xtradb/dict/dict0crea.cc
@@ -803,6 +803,7 @@ dict_truncate_index_tree(
const byte* ptr;
ulint len;
dict_index_t* index;
+ bool has_been_dropped = false;
ut_ad(mutex_own(&(dict_sys->mutex)));
ut_a(!dict_table_is_comp(dict_sys->sys_indexes));
@@ -815,11 +816,7 @@ dict_truncate_index_tree(
root_page_no = mtr_read_ulint(ptr, MLOG_4BYTES, mtr);
if (drop && root_page_no == FIL_NULL) {
- /* The tree has been freed. */
-
- ut_print_timestamp(stderr);
- fprintf(stderr, " InnoDB: Trying to TRUNCATE"
- " a missing index of table %s!\n", table->name);
+ has_been_dropped = true;
drop = FALSE;
}
@@ -896,6 +893,13 @@ create:
if (index->type & DICT_FTS) {
return(FIL_NULL);
} else {
+ if (has_been_dropped) {
+ fprintf(stderr, " InnoDB: Trying to"
+ " TRUNCATE a missing index of"
+ " table %s!\n",
+ index->table->name);
+ }
+
root_page_no = btr_create(type, space, zip_size,
index_id, index, mtr);
index->page = (unsigned int) root_page_no;
diff --git a/storage/xtradb/dict/dict0dict.cc b/storage/xtradb/dict/dict0dict.cc
index a20456fe3cf..0aaec42cd2f 100644
--- a/storage/xtradb/dict/dict0dict.cc
+++ b/storage/xtradb/dict/dict0dict.cc
@@ -4242,18 +4242,45 @@ loop:
goto loop;
}
+ if (my_isspace(cs, *ptr)) {
+ ptr1 = dict_accept(cs, ptr, "IF", &success);
+
+ if (success) {
+ if (!my_isspace(cs, *ptr1)) {
+ goto loop;
+ }
+ ptr1 = dict_accept(cs, ptr1, "NOT", &success);
+ if (!success) {
+ goto loop;
+ }
+ ptr1 = dict_accept(cs, ptr1, "EXISTS", &success);
+ if (!success) {
+ goto loop;
+ }
+ ptr = ptr1;
+ }
+ }
+
ptr = dict_accept(cs, ptr, "(", &success);
if (!success) {
- /* MySQL allows also an index id before the '('; we
- skip it */
- ptr = dict_skip_word(cs, ptr, &success);
-
- if (!success) {
- dict_foreign_report_syntax_err(
- name, start_of_latest_foreign, ptr);
+ if (constraint_name) {
+ /* MySQL allows also an index id before the '('; we
+ skip it */
+ ptr = dict_skip_word(cs, ptr, &success);
+ if (!success) {
+ dict_foreign_report_syntax_err(
+ name, start_of_latest_foreign, ptr);
+ return(DB_CANNOT_ADD_CONSTRAINT);
+ }
+ }
+ else {
+ while (my_isspace(cs, *ptr)) {
+ ptr++;
+ }
- return(DB_CANNOT_ADD_CONSTRAINT);
+ ptr = dict_scan_id(cs, ptr, heap,
+ &constraint_name, FALSE, FALSE);
}
ptr = dict_accept(cs, ptr, "(", &success);
@@ -4727,6 +4754,7 @@ dict_foreign_parse_drop_constraints(
char* str;
size_t len;
const char* ptr;
+ const char* ptr1;
const char* id;
struct charset_info_st* cs;
@@ -4777,6 +4805,16 @@ loop:
goto syntax_error;
}
+ ptr1 = dict_accept(cs, ptr, "IF", &success);
+
+ if (success && my_isspace(cs, *ptr1)) {
+ ptr1 = dict_accept(cs, ptr1, "EXISTS", &success);
+ if (success) {
+
+ ptr = ptr1;
+ }
+ }
+
ptr = dict_scan_id(cs, ptr, heap, &id, FALSE, TRUE);
if (id == NULL) {
diff --git a/storage/xtradb/dict/dict0load.cc b/storage/xtradb/dict/dict0load.cc
index d731aeca55f..5c97b5aba7c 100644
--- a/storage/xtradb/dict/dict0load.cc
+++ b/storage/xtradb/dict/dict0load.cc
@@ -1358,7 +1358,7 @@ dict_load_columns(
BTR_SEARCH_LEAF, &pcur, &mtr);
for (i = 0; i + DATA_N_SYS_COLS < (ulint) table->n_cols; i++) {
const char* err_msg;
- const char* name;
+ const char* name = NULL;
rec = btr_pcur_get_rec(&pcur);
diff --git a/storage/xtradb/dict/dict0mem.cc b/storage/xtradb/dict/dict0mem.cc
index 9214a6e6e5a..f69e6cc47ae 100644
--- a/storage/xtradb/dict/dict0mem.cc
+++ b/storage/xtradb/dict/dict0mem.cc
@@ -142,10 +142,12 @@ dict_mem_table_free(
|| DICT_TF2_FLAG_IS_SET(table, DICT_TF2_FTS_HAS_DOC_ID)
|| DICT_TF2_FLAG_IS_SET(table, DICT_TF2_FTS_ADD_DOC_ID)) {
if (table->fts) {
+ if (table->cached) {
+ fts_optimize_remove_table(table);
+ }
+
fts_free(table);
}
-
- fts_optimize_remove_table(table);
}
#ifndef UNIV_HOTBACKUP
mutex_free(&(table->autoinc_mutex));
diff --git a/storage/xtradb/dict/dict0stats.cc b/storage/xtradb/dict/dict0stats.cc
index bfd0542b8e2..8bf02f9785c 100644
--- a/storage/xtradb/dict/dict0stats.cc
+++ b/storage/xtradb/dict/dict0stats.cc
@@ -780,10 +780,21 @@ dict_stats_update_transient_for_index(
/*==================================*/
dict_index_t* index) /*!< in/out: index */
{
- if (UNIV_LIKELY
- (srv_force_recovery < SRV_FORCE_NO_IBUF_MERGE
- || (srv_force_recovery < SRV_FORCE_NO_LOG_REDO
- && dict_index_is_clust(index)))) {
+ if (srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO
+ && (srv_force_recovery >= SRV_FORCE_NO_LOG_REDO
+ || !dict_index_is_clust(index))) {
+ /* If we have set a high innodb_force_recovery
+ level, do not calculate statistics, as a badly
+ corrupted index can cause a crash in it.
+ Initialize some bogus index cardinality
+ statistics, so that the data can be queried in
+ various means, also via secondary indexes. */
+ dict_stats_empty_index(index);
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ } else if (ibuf_debug && !dict_index_is_clust(index)) {
+ dict_stats_empty_index(index);
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+ } else {
mtr_t mtr;
ulint size;
mtr_start(&mtr);
@@ -812,14 +823,6 @@ dict_stats_update_transient_for_index(
index->stat_n_leaf_pages = size;
btr_estimate_number_of_different_key_vals(index);
- } else {
- /* If we have set a high innodb_force_recovery
- level, do not calculate statistics, as a badly
- corrupted index can cause a crash in it.
- Initialize some bogus index cardinality
- statistics, so that the data can be queried in
- various means, also via secondary indexes. */
- dict_stats_empty_index(index);
}
}
diff --git a/storage/xtradb/fil/fil0fil.cc b/storage/xtradb/fil/fil0fil.cc
index 9861f85b814..5e797f2583c 100644
--- a/storage/xtradb/fil/fil0fil.cc
+++ b/storage/xtradb/fil/fil0fil.cc
@@ -4937,19 +4937,35 @@ retry:
#ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) {
+ os_offset_t start_offset = start_page_no * page_size;
+ os_offset_t n_pages = (size_after_extend - start_page_no);
+ os_offset_t len = n_pages * page_size;
+
+ if (posix_fallocate(node->handle, start_offset, len) == -1) {
+ ib_logf(IB_LOG_LEVEL_ERROR, "preallocating file "
+ "space for file \'%s\' failed. Current size "
+ INT64PF ", desired size " INT64PF "\n",
+ node->name, start_offset, len+start_offset);
+ os_file_handle_error_no_exit(node->name, "posix_fallocate", FALSE);
+ success = FALSE;
+ } else {
+ success = TRUE;
+ }
- mutex_exit(&fil_system->mutex);
- success = os_file_set_size(node->name, node->handle,
- (size_after_extend
- - file_start_page_no) * page_size);
mutex_enter(&fil_system->mutex);
if (success) {
- node->size += (size_after_extend - start_page_no);
- space->size += (size_after_extend - start_page_no);
+ node->size += n_pages;
+ space->size += n_pages;
os_has_said_disk_full = FALSE;
}
- node->being_extended = FALSE;
- goto complete_io;
+
+ /* If posix_fallocate was used to extent the file space
+ we need to complete the io. Because no actual writes were
+ dispatched read operation is enough here. Without this
+ there will be assertion at shutdown indicating that
+ all IO is not completed. */
+ fil_node_complete_io(node, fil_system, OS_FILE_READ);
+ goto file_extended;
}
#endif
@@ -5006,24 +5022,13 @@ retry:
space->size += pages_added;
node->size += pages_added;
- node->being_extended = FALSE;
-#ifdef HAVE_POSIX_FALLOCATE
-complete_io:
- /* If posix_fallocate was used to extent the file space
- we need to complete the io. Because no actual writes were
- dispatched read operation is enough here. Without this
- there will be assertion at shutdown indicating that
- all IO is not completed. */
- if (srv_use_posix_fallocate) {
- fil_node_complete_io(node, fil_system, OS_FILE_READ);
- } else {
- fil_node_complete_io(node, fil_system, OS_FILE_WRITE);
- }
-#else
fil_node_complete_io(node, fil_system, OS_FILE_WRITE);
-#endif
+ /* At this point file has been extended */
+file_extended:
+
+ node->being_extended = FALSE;
*actual_size = space->size;
#ifndef UNIV_HOTBACKUP
diff --git a/storage/xtradb/fts/fts0config.cc b/storage/xtradb/fts/fts0config.cc
index 29d6771f9e7..c5cf38ca7f9 100644
--- a/storage/xtradb/fts/fts0config.cc
+++ b/storage/xtradb/fts/fts0config.cc
@@ -105,7 +105,7 @@ fts_config_get_value(
fts_table,
info,
"DECLARE FUNCTION my_func;\n"
- "DECLARE CURSOR c IS SELECT value FROM %s"
+ "DECLARE CURSOR c IS SELECT value FROM \"%s\""
" WHERE key = :name;\n"
"BEGIN\n"
""
@@ -481,7 +481,7 @@ fts_config_increment_value(
graph = fts_parse_sql(
fts_table, info,
"DECLARE FUNCTION my_func;\n"
- "DECLARE CURSOR c IS SELECT value FROM %s"
+ "DECLARE CURSOR c IS SELECT value FROM \"%s\""
" WHERE key = :name FOR UPDATE;\n"
"BEGIN\n"
""
diff --git a/storage/xtradb/fts/fts0fts.cc b/storage/xtradb/fts/fts0fts.cc
index 83c6d1f5e80..1b114adea1f 100644
--- a/storage/xtradb/fts/fts0fts.cc
+++ b/storage/xtradb/fts/fts0fts.cc
@@ -92,6 +92,7 @@ UNIV_INTERN mysql_pfs_key_t fts_delete_mutex_key;
UNIV_INTERN mysql_pfs_key_t fts_optimize_mutex_key;
UNIV_INTERN mysql_pfs_key_t fts_bg_threads_mutex_key;
UNIV_INTERN mysql_pfs_key_t fts_doc_id_mutex_key;
+UNIV_INTERN mysql_pfs_key_t fts_pll_tokenize_mutex_key;
#endif /* UNIV_PFS_MUTEX */
/** variable to record innodb_fts_internal_tbl_name for information
@@ -876,7 +877,7 @@ fts_drop_index(
current_doc_id = table->fts->cache->next_doc_id;
first_doc_id = table->fts->cache->first_doc_id;
- fts_cache_clear(table->fts->cache, TRUE);
+ fts_cache_clear(table->fts->cache);
fts_cache_destroy(table->fts->cache);
table->fts->cache = fts_cache_create(table);
table->fts->cache->next_doc_id = current_doc_id;
@@ -1079,16 +1080,12 @@ fts_words_free(
}
/*********************************************************************//**
-Clear cache. If the shutdown flag is TRUE then the cache can contain
-data that needs to be freed. For regular clear as part of normal
-working we assume the caller has freed all resources. */
+Clear cache. */
UNIV_INTERN
void
fts_cache_clear(
/*============*/
- fts_cache_t* cache, /*!< in: cache */
- ibool free_words) /*!< in: TRUE if free in memory
- word cache. */
+ fts_cache_t* cache) /*!< in: cache */
{
ulint i;
@@ -1099,11 +1096,7 @@ fts_cache_clear(
index_cache = static_cast<fts_index_cache_t*>(
ib_vector_get(cache->indexes, i));
- if (free_words) {
- fts_words_free(index_cache->words);
- }
-
- ut_a(rbt_empty(index_cache->words));
+ fts_words_free(index_cache->words);
rbt_free(index_cache->words);
@@ -2322,7 +2315,7 @@ fts_trx_table_clone(
ftt->rows = rbt_create(sizeof(fts_trx_row_t), fts_trx_row_doc_id_cmp);
/* Copy the rb tree values to the new savepoint. */
- rbt_merge_uniq(ftt_src->rows, ftt->rows);
+ rbt_merge_uniq(ftt->rows, ftt_src->rows);
/* These are only added on commit. At this stage we only have
the updated row state. */
@@ -2814,7 +2807,7 @@ fts_update_sync_doc_id(
graph = fts_parse_sql(
&fts_table, info,
"BEGIN "
- "UPDATE %s SET value = :doc_id"
+ "UPDATE \"%s\" SET value = :doc_id"
" WHERE key = 'synced_doc_id';");
error = fts_eval_sql(trx, graph);
@@ -4221,7 +4214,7 @@ fts_is_word_in_index(
"DECLARE FUNCTION my_func;\n"
"DECLARE CURSOR c IS"
" SELECT doc_count\n"
- " FROM %s\n"
+ " FROM \"%s\"\n"
" WHERE word = :word "
" ORDER BY first_doc_id;\n"
"BEGIN\n"
@@ -4363,10 +4356,8 @@ fts_sync_commit(
}
/* We need to do this within the deleted lock since fts_delete() can
- attempt to add a deleted doc id to the cache deleted id array. Set
- the shutdown flag to FALSE, signifying that we don't want to release
- all resources. */
- fts_cache_clear(cache, FALSE);
+ attempt to add a deleted doc id to the cache deleted id array. */
+ fts_cache_clear(cache);
fts_cache_init(cache);
rw_lock_x_unlock(&cache->lock);
@@ -4438,6 +4429,10 @@ fts_sync(
index_cache = static_cast<fts_index_cache_t*>(
ib_vector_get(cache->indexes, i));
+ if (index_cache->index->to_be_dropped) {
+ continue;
+ }
+
error = fts_sync_index(sync, index_cache);
if (error != DB_SUCCESS && !sync->interrupted) {
@@ -4447,7 +4442,8 @@ fts_sync(
}
DBUG_EXECUTE_IF("fts_instrument_sync_interrupted",
- sync->interrupted = true;
+ sync->interrupted = true;
+ error = DB_INTERRUPTED;
);
if (error == DB_SUCCESS && !sync->interrupted) {
@@ -4474,16 +4470,20 @@ fts_sync(
Run SYNC on the table, i.e., write out data from the cache to the
FTS auxiliary INDEX table and clear the cache at the end. */
UNIV_INTERN
-void
+dberr_t
fts_sync_table(
/*===========*/
dict_table_t* table) /*!< in: table */
{
+ dberr_t err = DB_SUCCESS;
+
ut_ad(table->fts);
if (table->fts->cache) {
- fts_sync(table->fts->cache->sync);
+ err = fts_sync(table->fts->cache->sync);
}
+
+ return(err);
}
/********************************************************************
@@ -5367,7 +5367,7 @@ fts_free(
ut_ad(!fts->add_wq);
if (fts->cache) {
- fts_cache_clear(fts->cache, TRUE);
+ fts_cache_clear(fts->cache);
fts_cache_destroy(fts->cache);
fts->cache = NULL;
}
@@ -5546,9 +5546,21 @@ fts_savepoint_release(
/* Only if we found and element to release. */
if (i < ib_vector_size(savepoints)) {
+ fts_savepoint_t* last_savepoint;
+ fts_savepoint_t* top_savepoint;
+ ib_rbt_t* tables;
ut_a(top_of_stack < ib_vector_size(savepoints));
+ /* Exchange tables between last savepoint and top savepoint */
+ last_savepoint = static_cast<fts_savepoint_t*>(
+ ib_vector_last(trx->fts_trx->savepoints));
+ top_savepoint = static_cast<fts_savepoint_t*>(
+ ib_vector_get(savepoints, top_of_stack));
+ tables = top_savepoint->tables;
+ top_savepoint->tables = last_savepoint->tables;
+ last_savepoint->tables = tables;
+
/* Skip the implied savepoint. */
for (i = ib_vector_size(savepoints) - 1;
i > top_of_stack;
@@ -5759,6 +5771,9 @@ fts_savepoint_rollback(
/* Make sure we don't delete the implied savepoint. */
ut_a(ib_vector_size(savepoints) > 0);
+
+ /* Restore the savepoint. */
+ fts_savepoint_take(trx, name);
}
}
diff --git a/storage/xtradb/fts/fts0opt.cc b/storage/xtradb/fts/fts0opt.cc
index 0fd577c5767..7cdad522564 100644
--- a/storage/xtradb/fts/fts0opt.cc
+++ b/storage/xtradb/fts/fts0opt.cc
@@ -54,6 +54,9 @@ static const ulint FTS_OPTIMIZE_INTERVAL_IN_SECS = 300;
/** Server is shutting down, so does we exiting the optimize thread */
static bool fts_opt_start_shutdown = false;
+/** Initial size of nodes in fts_word_t. */
+static const ulint FTS_WORD_NODES_INIT_SIZE = 64;
+
/** Last time we did check whether system need a sync */
static ib_time_t last_check_sync_time;
@@ -244,10 +247,10 @@ static ib_time_t fts_optimize_time_limit = 0;
static const char* fts_init_delete_sql =
"BEGIN\n"
"\n"
- "INSERT INTO %s_BEING_DELETED\n"
+ "INSERT INTO \"%s_BEING_DELETED\"\n"
"SELECT doc_id FROM \"%s_DELETED\";\n"
"\n"
- "INSERT INTO %s_BEING_DELETED_CACHE\n"
+ "INSERT INTO \"%s_BEING_DELETED_CACHE\"\n"
"SELECT doc_id FROM \"%s_DELETED_CACHE\";\n";
static const char* fts_delete_doc_ids_sql =
@@ -357,7 +360,7 @@ fts_word_init(
word->heap_alloc = ib_heap_allocator_create(heap);
word->nodes = ib_vector_create(
- word->heap_alloc, sizeof(fts_node_t), 64);
+ word->heap_alloc, sizeof(fts_node_t), FTS_WORD_NODES_INIT_SIZE);
return(word);
}
@@ -435,6 +438,8 @@ fts_optimize_index_fetch_node(
dfield_t* dfield = que_node_get_val(exp);
void* data = dfield_get_data(dfield);
ulint dfield_len = dfield_get_len(dfield);
+ fts_node_t* node;
+ bool is_word_init = false;
ut_a(dfield_len <= FTS_MAX_WORD_LEN);
@@ -442,6 +447,7 @@ fts_optimize_index_fetch_node(
word = static_cast<fts_word_t*>(ib_vector_push(words, NULL));
fts_word_init(word, (byte*) data, dfield_len);
+ is_word_init = true;
}
word = static_cast<fts_word_t*>(ib_vector_last(words));
@@ -451,9 +457,23 @@ fts_optimize_index_fetch_node(
word = static_cast<fts_word_t*>(ib_vector_push(words, NULL));
fts_word_init(word, (byte*) data, dfield_len);
+ is_word_init = true;
}
- fts_optimize_read_node(word, que_node_get_next(exp));
+ node = fts_optimize_read_node(word, que_node_get_next(exp));
+
+ fetch->total_memory += node->ilist_size;
+ if (is_word_init) {
+ fetch->total_memory += sizeof(fts_word_t)
+ + sizeof(ib_alloc_t) + sizeof(ib_vector_t) + dfield_len
+ + sizeof(fts_node_t) * FTS_WORD_NODES_INIT_SIZE;
+ } else if (ib_vector_size(words) > FTS_WORD_NODES_INIT_SIZE) {
+ fetch->total_memory += sizeof(fts_node_t);
+ }
+
+ if (fetch->total_memory >= fts_result_cache_limit) {
+ return(FALSE);
+ }
return(TRUE);
}
@@ -1791,9 +1811,11 @@ fts_optimize_words(
selected = fts_select_index(charset, word->f_str, word->f_len);
/* Read the index records to optimize. */
+ fetch.total_memory = 0;
error = fts_index_fetch_nodes(
trx, &graph, &optim->fts_index_table, word,
&fetch);
+ ut_ad(fetch.total_memory < fts_result_cache_limit);
if (error == DB_SUCCESS) {
/* There must be some nodes to read. */
diff --git a/storage/xtradb/fts/fts0que.cc b/storage/xtradb/fts/fts0que.cc
index c2922d993bf..7da60c0d166 100644
--- a/storage/xtradb/fts/fts0que.cc
+++ b/storage/xtradb/fts/fts0que.cc
@@ -784,7 +784,7 @@ fts_query_remove_doc_id(
&& rbt_search(query->doc_ids, &parent, &doc_id) == 0) {
ut_free(rbt_remove_node(query->doc_ids, parent.last));
- ut_ad(query->total_size >
+ ut_ad(query->total_size >=
SIZEOF_RBT_NODE_ADD + sizeof(fts_ranking_t));
query->total_size -= SIZEOF_RBT_NODE_ADD
+ sizeof(fts_ranking_t);
@@ -935,7 +935,7 @@ fts_query_free_doc_ids(
ut_free(rbt_remove_node(doc_ids, node));
- ut_ad(query->total_size >
+ ut_ad(query->total_size >=
SIZEOF_RBT_NODE_ADD + sizeof(fts_ranking_t));
query->total_size -= SIZEOF_RBT_NODE_ADD
+ sizeof(fts_ranking_t);
@@ -943,7 +943,7 @@ fts_query_free_doc_ids(
rbt_free(doc_ids);
- ut_ad(query->total_size > SIZEOF_RBT_CREATE);
+ ut_ad(query->total_size >= SIZEOF_RBT_CREATE);
query->total_size -= SIZEOF_RBT_CREATE;
}
@@ -2056,7 +2056,7 @@ fts_query_find_term(
"DECLARE FUNCTION my_func;\n"
"DECLARE CURSOR c IS"
" SELECT doc_count, ilist\n"
- " FROM %s\n"
+ " FROM \"%s\"\n"
" WHERE word LIKE :word AND "
" first_doc_id <= :min_doc_id AND "
" last_doc_id >= :max_doc_id\n"
@@ -2255,7 +2255,7 @@ fts_query_terms_in_document(
"DECLARE FUNCTION my_func;\n"
"DECLARE CURSOR c IS"
" SELECT count\n"
- " FROM %s\n"
+ " FROM \"%s\"\n"
" WHERE doc_id = :doc_id "
"BEGIN\n"
"\n"
@@ -3747,9 +3747,10 @@ fts_query_str_preprocess(
charset, str_ptr + cur_pos, str_ptr + *result_len,
&str, &offset);
- if (cur_len == 0) {
- break;
- }
+ if (cur_len == 0 || str.f_str == NULL) {
+ /* No valid word found */
+ break;
+ }
/* Check if we are in a phrase, if so, no need to do
replacement of '-/+'. */
diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc
index c18cab7510e..1b3a4805e78 100644
--- a/storage/xtradb/handler/ha_innodb.cc
+++ b/storage/xtradb/handler/ha_innodb.cc
@@ -43,6 +43,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <mysys_err.h>
#include <innodb_priv.h>
#include <table_cache.h>
+#include <my_check_opt.h>
#ifdef _WIN32
#include <io.h>
@@ -206,8 +207,6 @@ static char* internal_innobase_data_file_path = NULL;
static char* innodb_version_str = (char*) INNODB_VERSION_STR;
-static char* fts_server_stopword_table = NULL;
-
/** Possible values for system variable "innodb_stats_method". The values
are defined the same as its corresponding MyISAM system variable
"myisam_stats_method"(see "myisam_stats_method_names"), for better usability */
@@ -370,6 +369,7 @@ static PSI_mutex_info all_innodb_mutexes[] = {
{&fts_delete_mutex_key, "fts_delete_mutex", 0},
{&fts_optimize_mutex_key, "fts_optimize_mutex", 0},
{&fts_doc_id_mutex_key, "fts_doc_id_mutex", 0},
+ {&fts_pll_tokenize_mutex_key, "fts_pll_tokenize_mutex", 0},
{&log_flush_order_mutex_key, "log_flush_order_mutex", 0},
{&hash_table_mutex_key, "hash_table_mutex", 0},
{&ibuf_bitmap_mutex_key, "ibuf_bitmap_mutex", 0},
@@ -555,7 +555,8 @@ ib_cb_t innodb_api_cb[] = {
(ib_cb_t) ib_cursor_clear_trx,
(ib_cb_t) ib_get_idx_field_name,
(ib_cb_t) ib_trx_get_start_time,
- (ib_cb_t) ib_cfg_bk_commit_interval
+ (ib_cb_t) ib_cfg_bk_commit_interval,
+ (ib_cb_t) ib_cursor_stmt_begin
};
/*************************************************************//**
@@ -1230,6 +1231,7 @@ normalize_table_name_low(
ibool set_lower_case); /* in: TRUE if we want to set
name to lower case */
+#ifdef NOT_USED
/*************************************************************//**
Removes old archived transaction log files.
@return true on error */
@@ -1255,6 +1257,7 @@ static bool innobase_purge_archive_logs(
}
return (err != DB_SUCCESS);
}
+#endif
/*************************************************************//**
Check for a valid value of innobase_commit_concurrency.
@@ -1725,6 +1728,13 @@ convert_error_code_to_mysql(
case DB_OUT_OF_FILE_SPACE:
return(HA_ERR_RECORD_FILE_FULL);
+ case DB_TEMP_FILE_WRITE_FAILURE:
+ my_error(ER_GET_ERRMSG, MYF(0),
+ DB_TEMP_FILE_WRITE_FAILURE,
+ ut_strerr(DB_TEMP_FILE_WRITE_FAILURE),
+ "InnoDB");
+ return(HA_ERR_INTERNAL_ERROR);
+
case DB_TABLE_IN_FK_CHECK:
return(HA_ERR_TABLE_IN_FK_CHECK);
@@ -2455,6 +2465,62 @@ trx_is_started(
return(trx->state != TRX_STATE_NOT_STARTED);
}
+/****************************************************************//**
+Update log_checksum_algorithm_ptr with a pointer to the function corresponding
+to a given checksum algorithm. */
+static
+void
+innodb_log_checksum_func_update(
+/*============================*/
+ ulint algorithm) /*!< in: algorithm */
+{
+ switch (algorithm) {
+ case SRV_CHECKSUM_ALGORITHM_STRICT_INNODB:
+ case SRV_CHECKSUM_ALGORITHM_INNODB:
+ log_checksum_algorithm_ptr=log_block_calc_checksum_innodb;
+ break;
+ case SRV_CHECKSUM_ALGORITHM_STRICT_CRC32:
+ case SRV_CHECKSUM_ALGORITHM_CRC32:
+ log_checksum_algorithm_ptr=log_block_calc_checksum_crc32;
+ break;
+ case SRV_CHECKSUM_ALGORITHM_STRICT_NONE:
+ case SRV_CHECKSUM_ALGORITHM_NONE:
+ log_checksum_algorithm_ptr=log_block_calc_checksum_none;
+ break;
+ default:
+ ut_a(0);
+ }
+}
+
+/****************************************************************//**
+On update hook for the innodb_log_checksum_algorithm variable. */
+static
+void
+innodb_log_checksum_algorithm_update(
+/*=================================*/
+ THD* thd, /*!< in: thread handle */
+ struct st_mysql_sys_var* var, /*!< in: pointer to
+ system variable */
+ void* var_ptr,/*!< out: where the
+ formal string goes */
+ const void* save) /*!< in: immediate result
+ from check function */
+{
+ srv_checksum_algorithm_t algorithm;
+
+ algorithm = (srv_checksum_algorithm_t)
+ (*static_cast<const ulong*>(save));
+
+ /* Make sure we are the only log user */
+ mutex_enter(&log_sys->mutex);
+
+ innodb_log_checksum_func_update(algorithm);
+
+ srv_log_checksum_algorithm = algorithm;
+
+ mutex_exit(&log_sys->mutex);
+}
+
/*********************************************************************//**
Copy table flags from MySQL's HA_CREATE_INFO into an InnoDB table object.
Those flags are stored in .frm file and end up in the MySQL table object,
@@ -3380,12 +3446,6 @@ mem_free_and_error:
goto mem_free_and_error;
}
- /* Remember stopword table name supplied at startup */
- if (innobase_server_stopword_table) {
- fts_server_stopword_table =
- my_strdup(innobase_server_stopword_table, MYF(0));
- }
-
if (innobase_change_buffering) {
ulint use;
@@ -3539,6 +3599,8 @@ innobase_change_buffering_inited_ok:
srv_checksum_algorithm = SRV_CHECKSUM_ALGORITHM_NONE;
}
+ innodb_log_checksum_func_update(srv_log_checksum_algorithm);
+
#ifdef HAVE_LARGE_PAGES
if ((os_use_large_pages = (ibool) my_use_large_pages)) {
os_large_page_size = (ulint) opt_large_page_size;
@@ -3763,9 +3825,6 @@ innobase_end(
mysql_mutex_destroy(&pending_checkpoint_mutex);
}
- my_free(fts_server_stopword_table);
- fts_server_stopword_table= NULL;
-
DBUG_RETURN(err);
}
@@ -4621,11 +4680,14 @@ handler::Table_flags
ha_innobase::table_flags() const
/*============================*/
{
+ THD *thd = ha_thd();
/* Need to use tx_isolation here since table flags is (also)
called before prebuilt is inited. */
- ulong const tx_isolation = thd_tx_isolation(ha_thd());
+ ulong const tx_isolation = thd_tx_isolation(thd);
- if (tx_isolation <= ISO_READ_COMMITTED) {
+ if (tx_isolation <= ISO_READ_COMMITTED &&
+ !(tx_isolation == ISO_READ_COMMITTED &&
+ thd_rpl_is_parallel(thd))) {
return(int_table_flags);
}
@@ -6152,6 +6214,7 @@ innobase_mysql_fts_get_token(
ut_a(cs);
token->f_n_char = token->f_len = 0;
+ token->f_str = NULL;
for (;;) {
@@ -6304,7 +6367,10 @@ get_innobase_type_from_mysql_type(
case MYSQL_TYPE_LONG_BLOB:
return(DATA_BLOB);
case MYSQL_TYPE_NULL:
- return(DATA_FIXBINARY);
+ /* MySQL currently accepts "NULL" datatype, but will
+ reject such datatype in the next release. We will cope
+ with it and not trigger assertion failure in 5.1 */
+ break;
default:
ut_error;
}
@@ -8830,7 +8896,7 @@ ha_innobase::ft_init_ext(
String* key) /* in: */
{
trx_t* trx;
- dict_table_t* table;
+ dict_table_t* ft_table;
dberr_t error;
byte* query = (byte*) key->ptr();
ulint query_len = key->length();
@@ -8880,17 +8946,24 @@ ha_innobase::ft_init_ext(
++trx->will_lock;
}
- table = prebuilt->table;
+ ft_table = prebuilt->table;
/* Table does not have an FTS index */
- if (!table->fts || ib_vector_is_empty(table->fts->indexes)) {
+ if (!ft_table->fts || ib_vector_is_empty(ft_table->fts->indexes)) {
my_error(ER_TABLE_HAS_NO_FT, MYF(0));
return(NULL);
}
+ /* If tablespace is discarded, we should return here */
+ if (dict_table_is_discarded(ft_table)) {
+ my_error(ER_NO_SUCH_TABLE, MYF(0), table->s->db.str,
+ table->s->table_name.str);
+ return(NULL);
+ }
+
if (keynr == NO_SUCH_KEY) {
/* FIXME: Investigate the NO_SUCH_KEY usage */
- index = (dict_index_t*) ib_vector_getp(table->fts->indexes, 0);
+ index = (dict_index_t*) ib_vector_getp(ft_table->fts->indexes, 0);
} else {
index = innobase_get_index(keynr);
}
@@ -8900,10 +8973,10 @@ ha_innobase::ft_init_ext(
return(NULL);
}
- if (!(table->fts->fts_status & ADDED_TABLE_SYNCED)) {
- fts_init_index(table, FALSE);
+ if (!(ft_table->fts->fts_status & ADDED_TABLE_SYNCED)) {
+ fts_init_index(ft_table, FALSE);
- table->fts->fts_status |= ADDED_TABLE_SYNCED;
+ ft_table->fts->fts_status |= ADDED_TABLE_SYNCED;
}
error = fts_query(trx, index, flags, query, query_len, &result);
@@ -9886,7 +9959,7 @@ innobase_fts_load_stopword(
THD* thd) /*!< in: current thread */
{
return(fts_load_stopword(table, trx,
- fts_server_stopword_table,
+ innobase_server_stopword_table,
THDVAR(thd, ft_user_stopword_table),
THDVAR(thd, ft_enable_stopword), FALSE));
}
@@ -11192,6 +11265,10 @@ ha_innobase::records_in_range(
/* There exists possibility of not being able to find requested
index due to inconsistency between MySQL and InoDB dictionary info.
Necessary message should have been printed in innobase_get_index() */
+ if (dict_table_is_discarded(prebuilt->table)) {
+ n_rows = HA_POS_ERROR;
+ goto func_exit;
+ }
if (UNIV_UNLIKELY(!index)) {
n_rows = HA_POS_ERROR;
goto func_exit;
@@ -12045,13 +12122,12 @@ int
ha_innobase::check(
/*===============*/
THD* thd, /*!< in: user thread handle */
- HA_CHECK_OPT* check_opt) /*!< in: check options, currently
- ignored */
+ HA_CHECK_OPT* check_opt) /*!< in: check options */
{
dict_index_t* index;
ulint n_rows;
ulint n_rows_in_table = ULINT_UNDEFINED;
- ibool is_ok = TRUE;
+ bool is_ok = true;
ulint old_isolation_level;
ibool table_corrupted;
@@ -12107,35 +12183,49 @@ ha_innobase::check(
do additional check */
prebuilt->table->corrupted = FALSE;
- /* Enlarge the fatal lock wait timeout during CHECK TABLE. */
- os_increment_counter_by_amount(
- server_mutex,
- srv_fatal_semaphore_wait_threshold,
- SRV_SEMAPHORE_WAIT_EXTENSION);
-
for (index = dict_table_get_first_index(prebuilt->table);
index != NULL;
index = dict_table_get_next_index(index)) {
char index_name[MAX_FULL_NAME_LEN + 1];
- /* If this is an index being created or dropped, break */
+ /* If this is an index being created or dropped, skip */
if (*index->name == TEMP_INDEX_PREFIX) {
- break;
- } else if (!btr_validate_index(index, prebuilt->trx)) {
- is_ok = FALSE;
-
- innobase_format_name(
- index_name, sizeof index_name,
- index->name, TRUE);
-
- push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
- ER_NOT_KEYFILE,
- "InnoDB: The B-tree of"
- " index %s is corrupted.",
- index_name);
continue;
}
+ if (!(check_opt->flags & T_QUICK)) {
+ /* Enlarge the fatal lock wait timeout during
+ CHECK TABLE. */
+ os_increment_counter_by_amount(
+ server_mutex,
+ srv_fatal_semaphore_wait_threshold,
+ SRV_SEMAPHORE_WAIT_EXTENSION);
+ bool valid = btr_validate_index(index, prebuilt->trx);
+
+ /* Restore the fatal lock wait timeout after
+ CHECK TABLE. */
+ os_decrement_counter_by_amount(
+ server_mutex,
+ srv_fatal_semaphore_wait_threshold,
+ SRV_SEMAPHORE_WAIT_EXTENSION);
+
+ if (!valid) {
+ is_ok = false;
+
+ innobase_format_name(
+ index_name, sizeof index_name,
+ index->name, TRUE);
+ push_warning_printf(
+ thd,
+ Sql_condition::WARN_LEVEL_WARN,
+ ER_NOT_KEYFILE,
+ "InnoDB: The B-tree of"
+ " index %s is corrupted.",
+ index_name);
+ continue;
+ }
+ }
+
/* Instead of invoking change_active_index(), set up
a dummy template for non-locking reads, disabling
access to the clustered index. */
@@ -12157,7 +12247,7 @@ ha_innobase::check(
"InnoDB: Index %s is marked as"
" corrupted",
index_name);
- is_ok = FALSE;
+ is_ok = false;
} else {
push_warning_printf(
thd,
@@ -12190,7 +12280,7 @@ ha_innobase::check(
"InnoDB: The B-tree of"
" index %s is corrupted.",
index_name);
- is_ok = FALSE;
+ is_ok = false;
dict_set_corrupted(
index, prebuilt->trx, "CHECK TABLE-check index");
}
@@ -12216,7 +12306,7 @@ ha_innobase::check(
index->name,
(ulong) n_rows,
(ulong) n_rows_in_table);
- is_ok = FALSE;
+ is_ok = false;
dict_set_corrupted(
index, prebuilt->trx,
"CHECK TABLE; Wrong count");
@@ -12239,21 +12329,17 @@ ha_innobase::check(
/* Restore the original isolation level */
prebuilt->trx->isolation_level = old_isolation_level;
- /* We validate also the whole adaptive hash index for all tables
- at every CHECK TABLE */
+ /* We validate the whole adaptive hash index for all tables
+ at every CHECK TABLE only when QUICK flag is not present. */
- if (!btr_search_validate()) {
+#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
+ if (!(check_opt->flags & T_QUICK) && !btr_search_validate()) {
push_warning(thd, Sql_condition::WARN_LEVEL_WARN,
ER_NOT_KEYFILE,
"InnoDB: The adaptive hash index is corrupted.");
- is_ok = FALSE;
+ is_ok = false;
}
-
- /* Restore the fatal lock wait timeout after CHECK TABLE. */
- os_decrement_counter_by_amount(
- server_mutex,
- srv_fatal_semaphore_wait_threshold,
- SRV_SEMAPHORE_WAIT_EXTENSION);
+#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
prebuilt->trx->op_info = "";
if (thd_kill_level(user_thd)) {
@@ -13246,7 +13332,7 @@ innodb_show_status(
const long MAX_STATUS_SIZE = 1048576;
ulint trx_list_start = ULINT_UNDEFINED;
ulint trx_list_end = ULINT_UNDEFINED;
- bool res;
+ bool ret_val;
DBUG_ENTER("innodb_show_status");
DBUG_ASSERT(hton == innodb_hton_ptr);
@@ -13323,13 +13409,13 @@ innodb_show_status(
mutex_exit(&srv_monitor_file_mutex);
- res= stat_print(thd, innobase_hton_name,
- (uint) strlen(innobase_hton_name),
- STRING_WITH_LEN(""), str, flen);
+ ret_val= stat_print(thd, innobase_hton_name,
+ (uint) strlen(innobase_hton_name),
+ STRING_WITH_LEN(""), str, flen);
my_free(str);
- DBUG_RETURN(res);
+ DBUG_RETURN(ret_val);
}
/************************************************************************//**
@@ -15074,44 +15160,6 @@ innodb_stopword_table_validate(
return(ret);
}
-/****************************************************************//**
-Update global variable fts_server_stopword_table with the "saved"
-stopword table name value. This function is registered as a callback
-with MySQL. */
-static
-void
-innodb_stopword_table_update(
-/*=========================*/
- THD* thd, /*!< in: thread handle */
- struct st_mysql_sys_var* var, /*!< in: pointer to
- system variable */
- void* var_ptr,/*!< out: where the
- formal string goes */
- const void* save) /*!< in: immediate result
- from check function */
-{
- const char* stopword_table_name;
- char* old;
-
- ut_a(save != NULL);
- ut_a(var_ptr != NULL);
-
- stopword_table_name = *static_cast<const char*const*>(save);
- old = *(char**) var_ptr;
-
- if (stopword_table_name) {
- *(char**) var_ptr = my_strdup(stopword_table_name, MYF(0));
- } else {
- *(char**) var_ptr = NULL;
- }
-
- if (old) {
- my_free(old);
- }
-
- fts_server_stopword_table = *(char**) var_ptr;
-}
-
/*************************************************************//**
Check whether valid argument given to "innodb_fts_internal_tbl_name"
This function is registered as a callback with MySQL.
@@ -16014,51 +16062,6 @@ innodb_reset_all_monitor_update(
}
/****************************************************************//**
-Update log_checksum_algorithm_ptr with a pointer to the function corresponding
-to a given checksum algorithm. */
-static
-void
-innodb_log_checksum_algorithm_update(
-/*=================================*/
- THD* thd, /*!< in: thread handle */
- struct st_mysql_sys_var* var, /*!< in: pointer to
- system variable */
- void* var_ptr,/*!< out: where the
- formal string goes */
- const void* save) /*!< in: immediate result
- from check function */
-{
- srv_checksum_algorithm_t algorithm;
-
- algorithm = (srv_checksum_algorithm_t)
- (*static_cast<const ulong*>(save));
-
- /* Make sure we are the only log user */
- mutex_enter(&log_sys->mutex);
-
- switch (algorithm) {
- case SRV_CHECKSUM_ALGORITHM_STRICT_INNODB:
- case SRV_CHECKSUM_ALGORITHM_INNODB:
- log_checksum_algorithm_ptr=log_block_calc_checksum_innodb;
- break;
- case SRV_CHECKSUM_ALGORITHM_STRICT_CRC32:
- case SRV_CHECKSUM_ALGORITHM_CRC32:
- log_checksum_algorithm_ptr=log_block_calc_checksum_crc32;
- break;
- case SRV_CHECKSUM_ALGORITHM_STRICT_NONE:
- case SRV_CHECKSUM_ALGORITHM_NONE:
- log_checksum_algorithm_ptr=log_block_calc_checksum_none;
- break;
- default:
- ut_a(0);
- }
-
- srv_log_checksum_algorithm = algorithm;
-
- mutex_exit(&log_sys->mutex);
-}
-
-/****************************************************************//**
Parse and enable InnoDB monitor counters during server startup.
User can list the monitor counters/groups to be enable by specifying
"loose-innodb_monitor_enable=monitor_name1;monitor_name2..."
@@ -16897,10 +16900,10 @@ static MYSQL_SYSVAR_STR(file_format_max, innobase_file_format_max,
innodb_file_format_max_update, "Antelope");
static MYSQL_SYSVAR_STR(ft_server_stopword_table, innobase_server_stopword_table,
- PLUGIN_VAR_OPCMDARG,
+ PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_MEMALLOC,
"The user supplied stopword table name.",
innodb_stopword_table_validate,
- innodb_stopword_table_update,
+ NULL,
NULL);
static MYSQL_SYSVAR_UINT(flush_log_at_timeout, srv_flush_log_at_timeout,
diff --git a/storage/xtradb/handler/handler0alter.cc b/storage/xtradb/handler/handler0alter.cc
index 9c535285d1e..21859cb5447 100644
--- a/storage/xtradb/handler/handler0alter.cc
+++ b/storage/xtradb/handler/handler0alter.cc
@@ -126,6 +126,12 @@ my_error_innodb(
case DB_OUT_OF_FILE_SPACE:
my_error(ER_RECORD_FILE_FULL, MYF(0), table);
break;
+ case DB_TEMP_FILE_WRITE_FAILURE:
+ my_error(ER_GET_ERRMSG, MYF(0),
+ DB_TEMP_FILE_WRITE_FAILURE,
+ ut_strerr(DB_TEMP_FILE_WRITE_FAILURE),
+ "InnoDB");
+ break;
case DB_TOO_BIG_INDEX_COL:
my_error(ER_INDEX_COLUMN_TOO_LONG, MYF(0),
DICT_MAX_FIELD_LEN_BY_FORMAT_FLAG(flags));
@@ -3975,7 +3981,8 @@ oom:
DEBUG_SYNC_C("inplace_after_index_build");
DBUG_EXECUTE_IF("create_index_fail",
- error = DB_DUPLICATE_KEY;);
+ error = DB_DUPLICATE_KEY;
+ prebuilt->trx->error_key_num = ULINT_UNDEFINED;);
/* After an error, remove all those index definitions
from the dictionary which were defined. */
@@ -5737,6 +5744,9 @@ foreign_fail:
if (index->type & DICT_FTS) {
DBUG_ASSERT(index->type == DICT_FTS);
+ /* We reset DICT_TF2_FTS here because the bit
+ is left unset when a drop proceeds the add. */
+ DICT_TF2_FLAG_SET(ctx->new_table, DICT_TF2_FTS);
fts_add_index(index, ctx->new_table);
add_fts = true;
}
diff --git a/storage/xtradb/handler/i_s.cc b/storage/xtradb/handler/i_s.cc
index 98a7887bc07..5603f8cfbe4 100644
--- a/storage/xtradb/handler/i_s.cc
+++ b/storage/xtradb/handler/i_s.cc
@@ -3223,12 +3223,22 @@ i_s_fts_index_cache_fill_one_index(
{
TABLE* table = (TABLE*) tables->table;
Field** fields;
+ CHARSET_INFO* index_charset;
const ib_rbt_node_t* rbt_node;
+ fts_string_t conv_str;
+ uint dummy_errors;
+ char* word_str;
DBUG_ENTER("i_s_fts_index_cache_fill_one_index");
fields = table->field;
+ index_charset = index_cache->charset;
+ conv_str.f_len = system_charset_info->mbmaxlen
+ * FTS_MAX_WORD_LEN_IN_CHAR;
+ conv_str.f_str = static_cast<byte*>(ut_malloc(conv_str.f_len));
+ conv_str.f_n_char = 0;
+
/* Go through each word in the index cache */
for (rbt_node = rbt_first(index_cache->words);
rbt_node;
@@ -3239,6 +3249,20 @@ i_s_fts_index_cache_fill_one_index(
word = rbt_value(fts_tokenizer_word_t, rbt_node);
+ /* Convert word from index charset to system_charset_info */
+ if (index_charset->cset != system_charset_info->cset) {
+ conv_str.f_n_char = my_convert(
+ reinterpret_cast<char*>(conv_str.f_str),
+ conv_str.f_len, system_charset_info,
+ reinterpret_cast<char*>(word->text.f_str),
+ word->text.f_len, index_charset, &dummy_errors);
+ ut_ad(conv_str.f_n_char <= conv_str.f_len);
+ conv_str.f_str[conv_str.f_n_char] = 0;
+ word_str = reinterpret_cast<char*>(conv_str.f_str);
+ } else {
+ word_str = reinterpret_cast<char*>(word->text.f_str);
+ }
+
/* Decrypt the ilist, and display Dod ID and word position */
for (ulint i = 0; i < ib_vector_size(word->nodes); i++) {
fts_node_t* node;
@@ -3261,8 +3285,7 @@ i_s_fts_index_cache_fill_one_index(
OK(field_store_string(
fields[I_S_FTS_WORD],
- reinterpret_cast<const char*>
- (word->text.f_str)));
+ word_str));
OK(fields[I_S_FTS_FIRST_DOC_ID]->store(
(longlong) node->first_doc_id,
@@ -3292,6 +3315,8 @@ i_s_fts_index_cache_fill_one_index(
}
}
+ ut_free(conv_str.f_str);
+
DBUG_RETURN(0);
}
/*******************************************************************//**
@@ -3415,31 +3440,38 @@ Go through a FTS index auxiliary table, fetch its rows and fill
FTS word cache structure.
@return DB_SUCCESS on success, otherwise error code */
static
-ulint
+dberr_t
i_s_fts_index_table_fill_selected(
/*==============================*/
dict_index_t* index, /*!< in: FTS index */
ib_vector_t* words, /*!< in/out: vector to hold
fetched words */
- ulint selected) /*!< in: selected FTS index */
+ ulint selected, /*!< in: selected FTS index */
+ fts_string_t* word) /*!< in: word to select */
{
pars_info_t* info;
fts_table_t fts_table;
trx_t* trx;
que_t* graph;
- ulint error;
+ dberr_t error;
fts_fetch_t fetch;
info = pars_info_create();
fetch.read_arg = words;
fetch.read_record = fts_optimize_index_fetch_node;
+ fetch.total_memory = 0;
+
+ DBUG_EXECUTE_IF("fts_instrument_result_cache_limit",
+ fts_result_cache_limit = 8192;
+ );
trx = trx_allocate_for_background();
trx->op_info = "fetching FTS index nodes";
pars_info_bind_function(info, "my_func", fetch.read_record, &fetch);
+ pars_info_bind_varchar_literal(info, "word", word->f_str, word->f_len);
FTS_INIT_INDEX_TABLE(&fts_table, fts_get_suffix(selected),
FTS_INDEX_TABLE, index);
@@ -3450,7 +3482,7 @@ i_s_fts_index_table_fill_selected(
"DECLARE CURSOR c IS"
" SELECT word, doc_count, first_doc_id, last_doc_id, "
"ilist\n"
- " FROM %s;\n"
+ " FROM %s WHERE word >= :word;\n"
"BEGIN\n"
"\n"
"OPEN c;\n"
@@ -3481,7 +3513,7 @@ i_s_fts_index_table_fill_selected(
trx->error_state = DB_SUCCESS;
} else {
- fprintf(stderr, " InnoDB: Error: %lu "
+ fprintf(stderr, " InnoDB: Error: %d "
"while reading FTS index.\n", error);
break;
}
@@ -3494,54 +3526,94 @@ i_s_fts_index_table_fill_selected(
trx_free_for_background(trx);
+ if (fetch.total_memory >= fts_result_cache_limit) {
+ error = DB_FTS_EXCEED_RESULT_CACHE_LIMIT;
+ }
+
return(error);
}
/*******************************************************************//**
-Go through a FTS index and its auxiliary tables, fetch rows in each table
-and fill INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE.
+Free words. */
+static
+void
+i_s_fts_index_table_free_one_fetch(
+/*===============================*/
+ ib_vector_t* words) /*!< in: words fetched */
+{
+ for (ulint i = 0; i < ib_vector_size(words); i++) {
+ fts_word_t* word;
+
+ word = static_cast<fts_word_t*>(ib_vector_get(words, i));
+
+ for (ulint j = 0; j < ib_vector_size(word->nodes); j++) {
+ fts_node_t* node;
+
+ node = static_cast<fts_node_t*> (ib_vector_get(
+ word->nodes, j));
+ ut_free(node->ilist);
+ }
+
+ fts_word_free(word);
+ }
+
+ ib_vector_reset(words);
+}
+
+/*******************************************************************//**
+Go through words, fill INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE.
@return 0 on success, 1 on failure */
static
int
-i_s_fts_index_table_fill_one_index(
+i_s_fts_index_table_fill_one_fetch(
/*===============================*/
- dict_index_t* index, /*!< in: FTS index */
+ CHARSET_INFO* index_charset, /*!< in: FTS index charset */
THD* thd, /*!< in: thread */
- TABLE_LIST* tables) /*!< in/out: tables to fill */
+ TABLE_LIST* tables, /*!< in/out: tables to fill */
+ ib_vector_t* words, /*!< in: words fetched */
+ fts_string_t* conv_str, /*!< in: string for conversion*/
+ bool has_more) /*!< in: has more to fetch */
{
TABLE* table = (TABLE*) tables->table;
Field** fields;
- ib_vector_t* words;
- mem_heap_t* heap;
- ulint num_row_fill;
-
- DBUG_ENTER("i_s_fts_index_cache_fill_one_index");
- DBUG_ASSERT(!dict_index_is_online_ddl(index));
-
- heap = mem_heap_create(1024);
+ uint dummy_errors;
+ char* word_str;
+ ulint words_size;
+ int ret = 0;
- words = ib_vector_create(ib_heap_allocator_create(heap),
- sizeof(fts_word_t), 256);
+ DBUG_ENTER("i_s_fts_index_table_fill_one_fetch");
fields = table->field;
- /* Iterate through each auxiliary table as described in
- fts_index_selector */
- for (ulint selected = 0; fts_index_selector[selected].value;
- selected++) {
- i_s_fts_index_table_fill_selected(index, words, selected);
+ words_size = ib_vector_size(words);
+ if (has_more) {
+ /* the last word is not fetched completely. */
+ ut_ad(words_size > 1);
+ words_size -= 1;
}
- num_row_fill = ut_min(ib_vector_size(words), 500000);
-
/* Go through each word in the index cache */
- for (ulint i = 0; i < num_row_fill; i++) {
+ for (ulint i = 0; i < words_size; i++) {
fts_word_t* word;
- word = (fts_word_t*) ib_vector_get(words, i);
+ word = static_cast<fts_word_t*>(ib_vector_get(words, i));
word->text.f_str[word->text.f_len] = 0;
+ /* Convert word from index charset to system_charset_info */
+ if (index_charset->cset != system_charset_info->cset) {
+ conv_str->f_n_char = my_convert(
+ reinterpret_cast<char*>(conv_str->f_str),
+ conv_str->f_len, system_charset_info,
+ reinterpret_cast<char*>(word->text.f_str),
+ word->text.f_len, index_charset, &dummy_errors);
+ ut_ad(conv_str->f_n_char <= conv_str->f_len);
+ conv_str->f_str[conv_str->f_n_char] = 0;
+ word_str = reinterpret_cast<char*>(conv_str->f_str);
+ } else {
+ word_str = reinterpret_cast<char*>(word->text.f_str);
+ }
+
/* Decrypt the ilist, and display Dod ID and word position */
for (ulint i = 0; i < ib_vector_size(word->nodes); i++) {
fts_node_t* node;
@@ -3565,8 +3637,7 @@ i_s_fts_index_table_fill_one_index(
OK(field_store_string(
fields[I_S_FTS_WORD],
- reinterpret_cast<const char*>
- (word->text.f_str)));
+ word_str));
OK(fields[I_S_FTS_FIRST_DOC_ID]->store(
(longlong) node->first_doc_id,
@@ -3596,9 +3667,95 @@ i_s_fts_index_table_fill_one_index(
}
}
+ i_s_fts_index_table_free_one_fetch(words);
+
+ DBUG_RETURN(ret);
+}
+
+/*******************************************************************//**
+Go through a FTS index and its auxiliary tables, fetch rows in each table
+and fill INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE.
+@return 0 on success, 1 on failure */
+static
+int
+i_s_fts_index_table_fill_one_index(
+/*===============================*/
+ dict_index_t* index, /*!< in: FTS index */
+ THD* thd, /*!< in: thread */
+ TABLE_LIST* tables) /*!< in/out: tables to fill */
+{
+ ib_vector_t* words;
+ mem_heap_t* heap;
+ fts_string_t word;
+ CHARSET_INFO* index_charset;
+ fts_string_t conv_str;
+ dberr_t error;
+ int ret = 0;
+
+ DBUG_ENTER("i_s_fts_index_table_fill_one_index");
+ DBUG_ASSERT(!dict_index_is_online_ddl(index));
+
+ heap = mem_heap_create(1024);
+
+ words = ib_vector_create(ib_heap_allocator_create(heap),
+ sizeof(fts_word_t), 256);
+
+ word.f_str = NULL;
+ word.f_len = 0;
+ word.f_n_char = 0;
+
+ index_charset = fts_index_get_charset(index);
+ conv_str.f_len = system_charset_info->mbmaxlen
+ * FTS_MAX_WORD_LEN_IN_CHAR;
+ conv_str.f_str = static_cast<byte*>(ut_malloc(conv_str.f_len));
+ conv_str.f_n_char = 0;
+
+ /* Iterate through each auxiliary table as described in
+ fts_index_selector */
+ for (ulint selected = 0; fts_index_selector[selected].value;
+ selected++) {
+ bool has_more = false;
+
+ do {
+ /* Fetch from index */
+ error = i_s_fts_index_table_fill_selected(
+ index, words, selected, &word);
+
+ if (error == DB_SUCCESS) {
+ has_more = false;
+ } else if (error == DB_FTS_EXCEED_RESULT_CACHE_LIMIT) {
+ has_more = true;
+ } else {
+ i_s_fts_index_table_free_one_fetch(words);
+ ret = 1;
+ goto func_exit;
+ }
+
+ if (has_more) {
+ fts_word_t* last_word;
+
+ /* Prepare start point for next fetch */
+ last_word = static_cast<fts_word_t*>(ib_vector_last(words));
+ ut_ad(last_word != NULL);
+ fts_utf8_string_dup(&word, &last_word->text, heap);
+ }
+
+ /* Fill into tables */
+ ret = i_s_fts_index_table_fill_one_fetch(
+ index_charset, thd, tables, words, &conv_str, has_more);
+
+ if (ret != 0) {
+ i_s_fts_index_table_free_one_fetch(words);
+ goto func_exit;
+ }
+ } while (has_more);
+ }
+
+func_exit:
+ ut_free(conv_str.f_str);
mem_heap_free(heap);
- DBUG_RETURN(0);
+ DBUG_RETURN(ret);
}
/*******************************************************************//**
Fill the dynamic table INFORMATION_SCHEMA.INNODB_FT_INDEX_TABLE
diff --git a/storage/xtradb/handler/xtradb_i_s.cc b/storage/xtradb/handler/xtradb_i_s.cc
index 77050c0b7f8..7078ab752c2 100644
--- a/storage/xtradb/handler/xtradb_i_s.cc
+++ b/storage/xtradb/handler/xtradb_i_s.cc
@@ -552,6 +552,8 @@ i_s_xtradb_rseg_fill(
for(int i=0; i < TRX_SYS_N_RSEGS; i++)
{
rseg = trx_sys->rseg_array[i];
+ if (!rseg)
+ continue;
table->field[0]->store(rseg->id);
table->field[1]->store(rseg->space);
diff --git a/storage/xtradb/ibuf/ibuf0ibuf.cc b/storage/xtradb/ibuf/ibuf0ibuf.cc
index 876906fc9ce..2964fa99c8a 100644
--- a/storage/xtradb/ibuf/ibuf0ibuf.cc
+++ b/storage/xtradb/ibuf/ibuf0ibuf.cc
@@ -2792,6 +2792,10 @@ ibuf_merge(
if (ibuf->empty && !srv_shutdown_state) {
return(0);
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ } else if (ibuf_debug) {
+ return(0);
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
} else if (table_id == 0) {
return(ibuf_merge_pages(n_pages, sync));
} else if ((table = ibuf_get_table(table_id)) == 0) {
@@ -4181,6 +4185,22 @@ dump:
rec = page_cur_get_rec(&page_cur);
row_upd_rec_in_place(rec, index, offsets,
update, page_zip);
+
+ /* Log the update in place operation. During recovery
+ MLOG_COMP_REC_UPDATE_IN_PLACE/MLOG_REC_UPDATE_IN_PLACE
+ expects trx_id, roll_ptr for secondary indexes. So we
+ just write dummy trx_id(0), roll_ptr(0) */
+ btr_cur_update_in_place_log(BTR_KEEP_SYS_FLAG, rec,
+ index, update, 0, 0, mtr);
+ DBUG_EXECUTE_IF(
+ "crash_after_log_ibuf_upd_inplace",
+ log_buffer_flush_to_disk();
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "Wrote log record for ibuf update in "
+ "place operation");
+ DBUG_SUICIDE();
+ );
+
goto updated_in_place;
}
@@ -4434,14 +4454,6 @@ ibuf_restore_pos(
fflush(stderr);
ibuf_btr_pcur_commit_specify_mtr(pcur, mtr);
-
- fputs("InnoDB: Validating insert buffer tree:\n", stderr);
- if (!btr_validate_index(ibuf->index, 0)) {
- ut_error;
- }
-
- fprintf(stderr, "InnoDB: ibuf tree ok\n");
- fflush(stderr);
ut_ad(0);
}
diff --git a/storage/xtradb/include/api0api.h b/storage/xtradb/include/api0api.h
index 1d6aaab60bc..c294e3f34d5 100644
--- a/storage/xtradb/include/api0api.h
+++ b/storage/xtradb/include/api0api.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2011, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -460,6 +460,10 @@ ib_trx_start(
/*=========*/
ib_trx_t ib_trx, /*!< in: transaction to restart */
ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit, /*!< in: auto commit after each
+ single DML */
void* thd); /*!< in: THD */
/*****************************************************************//**
@@ -470,7 +474,11 @@ put the transaction in the active state.
ib_trx_t
ib_trx_begin(
/*=========*/
- ib_trx_level_t ib_trx_level); /*!< in: trx isolation level */
+ ib_trx_level_t ib_trx_level, /*!< in: trx isolation level */
+ ib_bool_t read_write, /*!< in: true if read write
+ transaction */
+ ib_bool_t auto_commit); /*!< in: auto commit after each
+ single DML */
/*****************************************************************//**
Query the transaction's state. This function can be used to check for
@@ -669,7 +677,9 @@ ib_err_t
ib_cursor_read_row(
/*===============*/
ib_crsr_t ib_crsr, /*!< in: InnoDB cursor instance */
- ib_tpl_t ib_tpl); /*!< out: read cols into this tuple */
+ ib_tpl_t ib_tpl, /*!< out: read cols into this tuple */
+ void** row_buf, /*!< in/out: row buffer */
+ ib_ulint_t* row_len); /*!< in/out: row buffer len */
/*****************************************************************//**
Move cursor to the first record in the table.
diff --git a/storage/xtradb/include/btr0cur.h b/storage/xtradb/include/btr0cur.h
index cf7c1a24139..8a35cb1a3da 100644
--- a/storage/xtradb/include/btr0cur.h
+++ b/storage/xtradb/include/btr0cur.h
@@ -332,6 +332,20 @@ btr_cur_update_in_place(
mtr_commit(mtr) before latching any
further pages */
__attribute__((warn_unused_result, nonnull));
+/***********************************************************//**
+Writes a redo log record of updating a record in-place. */
+UNIV_INTERN
+void
+btr_cur_update_in_place_log(
+/*========================*/
+ ulint flags, /*!< in: flags */
+ const rec_t* rec, /*!< in: record */
+ dict_index_t* index, /*!< in: index of the record */
+ const upd_t* update, /*!< in: update vector */
+ trx_id_t trx_id, /*!< in: transaction id */
+ roll_ptr_t roll_ptr, /*!< in: roll ptr */
+ mtr_t* mtr) /*!< in: mtr */
+ __attribute__((nonnull));
/*************************************************************//**
Tries to update a record on a page in an index tree. It is assumed that mtr
holds an x-latch on the page. The operation does not succeed if there is too
diff --git a/storage/xtradb/include/btr0pcur.h b/storage/xtradb/include/btr0pcur.h
index 973fae382ab..fc008cdd185 100644
--- a/storage/xtradb/include/btr0pcur.h
+++ b/storage/xtradb/include/btr0pcur.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -460,6 +460,27 @@ btr_pcur_move_to_prev_on_page(
/*==========================*/
btr_pcur_t* cursor);/*!< in/out: persistent cursor */
+/** Position state of persistent B-tree cursor. */
+enum pcur_pos_t {
+ /** The persistent cursor is not positioned. */
+ BTR_PCUR_NOT_POSITIONED = 0,
+ /** The persistent cursor was previously positioned.
+ TODO: currently, the state can be BTR_PCUR_IS_POSITIONED,
+ though it really should be BTR_PCUR_WAS_POSITIONED,
+ because we have no obligation to commit the cursor with
+ mtr; similarly latch_mode may be out of date. This can
+ lead to problems if btr_pcur is not used the right way;
+ all current code should be ok. */
+ BTR_PCUR_WAS_POSITIONED,
+ /** The persistent cursor is positioned by optimistic get to the same
+ record as it was positioned at. Not used for rel_pos == BTR_PCUR_ON.
+ It may need adjustment depending on previous/current search direction
+ and rel_pos. */
+ BTR_PCUR_IS_POSITIONED_OPTIMISTIC,
+ /** The persistent cursor is positioned by index search.
+ Or optimistic get for rel_pos == BTR_PCUR_ON. */
+ BTR_PCUR_IS_POSITIONED
+};
/* The persistent B-tree cursor structure. This is used mainly for SQL
selects, updates, and deletes. */
@@ -493,10 +514,8 @@ struct btr_pcur_t{
ib_uint64_t modify_clock; /*!< the modify clock value of the
buffer block when the cursor position
was stored */
- ulint pos_state; /*!< see TODO note below!
- BTR_PCUR_IS_POSITIONED,
- BTR_PCUR_WAS_POSITIONED,
- BTR_PCUR_NOT_POSITIONED */
+ enum pcur_pos_t pos_state; /*!< btr_pcur_store_position() and
+ btr_pcur_restore_position() state. */
ulint search_mode; /*!< PAGE_CUR_G, ... */
trx_t* trx_if_known; /*!< the transaction, if we know it;
otherwise this field is not defined;
@@ -512,21 +531,6 @@ struct btr_pcur_t{
is not NULL */
};
-#define BTR_PCUR_IS_POSITIONED 1997660512 /* TODO: currently, the state
- can be BTR_PCUR_IS_POSITIONED,
- though it really should be
- BTR_PCUR_WAS_POSITIONED,
- because we have no obligation
- to commit the cursor with
- mtr; similarly latch_mode may
- be out of date. This can
- lead to problems if btr_pcur
- is not used the right way;
- all current code should be
- ok. */
-#define BTR_PCUR_WAS_POSITIONED 1187549791
-#define BTR_PCUR_NOT_POSITIONED 1328997689
-
#define BTR_PCUR_OLD_STORED 908467085
#define BTR_PCUR_OLD_NOT_STORED 122766467
diff --git a/storage/xtradb/include/btr0pcur.ic b/storage/xtradb/include/btr0pcur.ic
index 79afd7c322e..29f2fc722a2 100644
--- a/storage/xtradb/include/btr0pcur.ic
+++ b/storage/xtradb/include/btr0pcur.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -379,7 +379,7 @@ btr_pcur_commit_specify_mtr(
btr_pcur_t* pcur, /*!< in: persistent cursor */
mtr_t* mtr) /*!< in: mtr to commit */
{
- ut_a(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
pcur->latch_mode = BTR_NO_LATCHES;
diff --git a/storage/xtradb/include/btr0sea.h b/storage/xtradb/include/btr0sea.h
index 9f9c2b04191..d40094461ff 100644
--- a/storage/xtradb/include/btr0sea.h
+++ b/storage/xtradb/include/btr0sea.h
@@ -190,8 +190,6 @@ UNIV_INTERN
ibool
btr_search_validate(void);
/*======================*/
-#else
-# define btr_search_validate() TRUE
#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
/********************************************************************//**
diff --git a/storage/xtradb/include/buf0flu.h b/storage/xtradb/include/buf0flu.h
index f4542e7c206..73525a5bb58 100644
--- a/storage/xtradb/include/buf0flu.h
+++ b/storage/xtradb/include/buf0flu.h
@@ -279,9 +279,9 @@ buf_flush_get_dirty_pages_count(
#endif /* !UNIV_HOTBACKUP */
/******************************************************************//**
-Check if a flush list flush is in progress for any buffer pool instance for
-heuristic purposes.
-@return true if flush list flush is in progress */
+Check if a flush list flush is in progress for any buffer pool instance, or if
+all the instances are clean, for heuristic purposes.
+@return true if flush list flush is in progress or buffer pool is clean */
UNIV_INLINE
bool
buf_flush_flush_list_in_progress(void)
diff --git a/storage/xtradb/include/buf0flu.ic b/storage/xtradb/include/buf0flu.ic
index b1e64def462..06fa49754cd 100644
--- a/storage/xtradb/include/buf0flu.ic
+++ b/storage/xtradb/include/buf0flu.ic
@@ -137,14 +137,16 @@ buf_flush_recv_note_modification(
#endif /* !UNIV_HOTBACKUP */
/******************************************************************//**
-Check if a flush list flush is in progress for any buffer pool instance for
-heuristic purposes.
-@return true if flush list flush is in progress */
+Check if a flush list flush is in progress for any buffer pool instance, or if
+all the instances are clean, for heuristic purposes.
+@return true if flush list flush is in progress or buffer pool is clean */
UNIV_INLINE
bool
buf_flush_flush_list_in_progress(void)
/*==================================*/
{
+ bool all_clean = true;
+
for (ulint i = 0; i < srv_buf_pool_instances; i++) {
const buf_pool_t* buf_pool = buf_pool_from_array(i);
@@ -153,6 +155,13 @@ buf_flush_flush_list_in_progress(void)
return(true);
}
+
+ if (all_clean) {
+
+ all_clean = (UT_LIST_GET_LEN(buf_pool->flush_list)
+ == 0);
+ }
+
}
- return(false);
+ return(all_clean);
}
diff --git a/storage/xtradb/include/db0err.h b/storage/xtradb/include/db0err.h
index af651c61b66..17fef0dc1f4 100644
--- a/storage/xtradb/include/db0err.h
+++ b/storage/xtradb/include/db0err.h
@@ -127,6 +127,7 @@ enum dberr_t {
DB_IDENTIFIER_TOO_LONG, /*!< Identifier name too long */
DB_FTS_EXCEED_RESULT_CACHE_LIMIT, /*!< FTS query memory
exceeds result cache limit */
+ DB_TEMP_FILE_WRITE_FAILURE, /*!< Temp file write failure */
/* The following are partial failure codes */
DB_FAIL = 1000,
diff --git a/storage/xtradb/include/dict0stats.ic b/storage/xtradb/include/dict0stats.ic
index 8fb31678af9..ec9a9065470 100644
--- a/storage/xtradb/include/dict0stats.ic
+++ b/storage/xtradb/include/dict0stats.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2012, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/xtradb/include/dict0types.h b/storage/xtradb/include/dict0types.h
index 6acb6a2dcbe..1299445a8ee 100644
--- a/storage/xtradb/include/dict0types.h
+++ b/storage/xtradb/include/dict0types.h
@@ -82,4 +82,9 @@ enum ib_quiesce_t {
#define TEMP_TABLE_PREFIX "#sql"
#define TEMP_TABLE_PATH_PREFIX "/" TEMP_TABLE_PREFIX
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+extern uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#endif
diff --git a/storage/xtradb/include/fts0fts.h b/storage/xtradb/include/fts0fts.h
index f94112ef4d4..5bea5bc0e97 100644
--- a/storage/xtradb/include/fts0fts.h
+++ b/storage/xtradb/include/fts0fts.h
@@ -773,16 +773,12 @@ fts_cache_destroy(
fts_cache_t* cache); /*!< in: cache*/
/*********************************************************************//**
-Clear cache. If the shutdown flag is TRUE then the cache can contain
-data that needs to be freed. For regular clear as part of normal
-working we assume the caller has freed all resources. */
+Clear cache. */
UNIV_INTERN
void
fts_cache_clear(
/*============*/
- fts_cache_t* cache, /*!< in: cache */
- ibool free_words); /*!< in: TRUE if free
- in memory word cache. */
+ fts_cache_t* cache); /*!< in: cache */
/*********************************************************************//**
Initialize things in cache. */
@@ -833,7 +829,7 @@ fts_drop_index_split_tables(
Run SYNC on the table, i.e., write out data from the cache to the
FTS auxiliary INDEX table and clear the cache at the end. */
UNIV_INTERN
-void
+dberr_t
fts_sync_table(
/*===========*/
dict_table_t* table) /*!< in: table */
diff --git a/storage/xtradb/include/fts0types.h b/storage/xtradb/include/fts0types.h
index b714d326487..64677428331 100644
--- a/storage/xtradb/include/fts0types.h
+++ b/storage/xtradb/include/fts0types.h
@@ -237,6 +237,7 @@ struct fts_fetch_t {
fts_sql_callback
read_record; /*!< Callback for reading index
record */
+ ulint total_memory; /*!< Total memory used */
};
/** For horizontally splitting an FTS auxiliary index */
diff --git a/storage/xtradb/include/ibuf0ibuf.h b/storage/xtradb/include/ibuf0ibuf.h
index f2e1c80878e..ac16b10e097 100644
--- a/storage/xtradb/include/ibuf0ibuf.h
+++ b/storage/xtradb/include/ibuf0ibuf.h
@@ -67,11 +67,6 @@ typedef enum {
/** Operations that can currently be buffered. */
extern ibuf_use_t ibuf_use;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-extern uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
extern ibuf_t* ibuf;
diff --git a/storage/xtradb/include/log0log.h b/storage/xtradb/include/log0log.h
index bab256e5a65..b9e0c2ef516 100644
--- a/storage/xtradb/include/log0log.h
+++ b/storage/xtradb/include/log0log.h
@@ -874,6 +874,8 @@ struct log_t{
later; this is advanced when a flush
operation is completed to all the log
groups */
+ volatile bool is_extending; /*!< this is set to true during extend
+ the log buffer size */
lsn_t written_to_some_lsn;
/*!< first log sequence number not yet
written to any log group; for this to
diff --git a/storage/xtradb/include/mtr0mtr.h b/storage/xtradb/include/mtr0mtr.h
index fd0fb66c464..0730e870b3f 100644
--- a/storage/xtradb/include/mtr0mtr.h
+++ b/storage/xtradb/include/mtr0mtr.h
@@ -315,7 +315,7 @@ mtr_memo_release(
Checks if memo contains the given item.
@return TRUE if contains */
UNIV_INLINE
-ibool
+bool
mtr_memo_contains(
/*==============*/
mtr_t* mtr, /*!< in: mtr */
diff --git a/storage/xtradb/include/mtr0mtr.ic b/storage/xtradb/include/mtr0mtr.ic
index 4fe23c460ab..cc021038001 100644
--- a/storage/xtradb/include/mtr0mtr.ic
+++ b/storage/xtradb/include/mtr0mtr.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -158,37 +158,38 @@ mtr_release_s_latch_at_savepoint(
Checks if memo contains the given item.
@return TRUE if contains */
UNIV_INLINE
-ibool
+bool
mtr_memo_contains(
/*==============*/
mtr_t* mtr, /*!< in: mtr */
const void* object, /*!< in: object to search */
ulint type) /*!< in: type of object */
{
- mtr_memo_slot_t* slot;
- dyn_array_t* memo;
- ulint offset;
-
ut_ad(mtr);
ut_ad(mtr->magic_n == MTR_MAGIC_N);
ut_ad(mtr->state == MTR_ACTIVE || mtr->state == MTR_COMMITTING);
- memo = &(mtr->memo);
-
- offset = dyn_array_get_data_size(memo);
-
- while (offset > 0) {
- offset -= sizeof(mtr_memo_slot_t);
-
- slot = (mtr_memo_slot_t*) dyn_array_get_element(memo, offset);
-
- if ((object == slot->object) && (type == slot->type)) {
-
- return(TRUE);
+ for (const dyn_block_t* block = dyn_array_get_last_block(&mtr->memo);
+ block;
+ block = dyn_array_get_prev_block(&mtr->memo, block)) {
+ const mtr_memo_slot_t* start
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block));
+ mtr_memo_slot_t* slot
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block)
+ + dyn_block_get_used(block));
+
+ ut_ad(!(dyn_block_get_used(block) % sizeof(mtr_memo_slot_t)));
+
+ while (slot-- != start) {
+ if (object == slot->object && type == slot->type) {
+ return(true);
+ }
}
}
- return(FALSE);
+ return(false);
}
# endif /* UNIV_DEBUG */
#endif /* !UNIV_HOTBACKUP */
diff --git a/storage/xtradb/include/os0file.h b/storage/xtradb/include/os0file.h
index 564b579edc8..136c7b35a0a 100644
--- a/storage/xtradb/include/os0file.h
+++ b/storage/xtradb/include/os0file.h
@@ -1312,6 +1312,18 @@ os_aio_linux_handle(
ulint* space_id);
#endif /* LINUX_NATIVE_AIO */
+/****************************************************************//**
+Does error handling when a file operation fails.
+@return TRUE if we should retry the operation */
+ibool
+os_file_handle_error_no_exit(
+/*=========================*/
+ const char* name, /*!< in: name of a file or NULL */
+ const char* operation, /*!< in: operation */
+ ibool on_error_silent);/*!< in: if TRUE then don't print
+ any message to the log. */
+
+
#ifndef UNIV_NONINL
#include "os0file.ic"
#endif
diff --git a/storage/xtradb/include/row0ftsort.h b/storage/xtradb/include/row0ftsort.h
index 4a486450efc..4e04a099140 100644
--- a/storage/xtradb/include/row0ftsort.h
+++ b/storage/xtradb/include/row0ftsort.h
@@ -84,10 +84,13 @@ struct fts_psort_t {
row_merge_block_t* block_alloc[FTS_NUM_AUX_INDEX];
/*!< buffer to allocated */
ulint child_status; /*!< child thread status */
- ulint state; /*!< child thread state */
+ ulint state; /*!< parent thread state */
fts_doc_list_t fts_doc_list; /*!< doc list to process */
fts_psort_common_t* psort_common; /*!< ptr to all psort info */
os_thread_t thread_hdl; /*!< thread handler */
+ dberr_t error; /*!< db error during psort */
+ ulint memory_used; /*!< memory used by fts_doc_list */
+ ib_mutex_t mutex; /*!< mutex for fts_doc_list */
};
/** Structure stores information from string tokenization operation */
@@ -124,6 +127,7 @@ typedef struct fts_psort_insert fts_psort_insert_t;
/** status bit used for communication between parent and child thread */
#define FTS_PARENT_COMPLETE 1
+#define FTS_PARENT_EXITING 2
#define FTS_CHILD_COMPLETE 1
#define FTS_CHILD_EXITING 2
diff --git a/storage/xtradb/include/srv0conc.h b/storage/xtradb/include/srv0conc.h
index 9aee1b17bf0..cf61ef5528d 100644
--- a/storage/xtradb/include/srv0conc.h
+++ b/storage/xtradb/include/srv0conc.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2011, 2012, Oracle and/or its affiliates. All Rights Reserved.
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. Those modifications are gratefully acknowledged and are described
diff --git a/storage/xtradb/include/srv0mon.h b/storage/xtradb/include/srv0mon.h
index 209894833a0..e2ab81bf53a 100644
--- a/storage/xtradb/include/srv0mon.h
+++ b/storage/xtradb/include/srv0mon.h
@@ -308,7 +308,11 @@ enum monitor_id_t {
/* Index related counters */
MONITOR_MODULE_INDEX,
MONITOR_INDEX_SPLIT,
- MONITOR_INDEX_MERGE,
+ MONITOR_INDEX_MERGE_ATTEMPTS,
+ MONITOR_INDEX_MERGE_SUCCESSFUL,
+ MONITOR_INDEX_REORG_ATTEMPTS,
+ MONITOR_INDEX_REORG_SUCCESSFUL,
+ MONITOR_INDEX_DISCARD,
/* Adaptive Hash Index related counters */
MONITOR_MODULE_ADAPTIVE_HASH,
diff --git a/storage/xtradb/include/srv0mon.ic b/storage/xtradb/include/srv0mon.ic
index 17411d77a8b..225390c6b6f 100644
--- a/storage/xtradb/include/srv0mon.ic
+++ b/storage/xtradb/include/srv0mon.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2010, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2010, 2012, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/xtradb/include/sync0arr.h b/storage/xtradb/include/sync0arr.h
index bb4d1037a62..15dbdcb540d 100644
--- a/storage/xtradb/include/sync0arr.h
+++ b/storage/xtradb/include/sync0arr.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2009, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -37,10 +37,27 @@ struct sync_cell_t;
struct sync_array_t;
/******************************************************************//**
+Get an instance of the sync wait array and reserve a wait array cell
+in the instance for waiting for an object. The event of the cell is
+reset to nonsignalled state.
+If reserving cell of the instance fails, try to get another new
+instance until we can reserve an empty cell of it.
+@return the instance found, never NULL. */
+UNIV_INLINE
+sync_array_t*
+sync_array_get_and_reserve_cell(
+/*============================*/
+ void* object, /*!< in: pointer to the object to wait for */
+ ulint type, /*!< in: lock request type */
+ const char* file, /*!< in: file where requested */
+ ulint line, /*!< in: line where requested */
+ ulint* index); /*!< out: index of the reserved cell */
+/******************************************************************//**
Reserves a wait array cell for waiting for an object.
-The event of the cell is reset to nonsignalled state. */
+The event of the cell is reset to nonsignalled state.
+@return true if free cell is found, otherwise false */
UNIV_INTERN
-void
+bool
sync_array_reserve_cell(
/*====================*/
sync_array_t* arr, /*!< in: wait array */
diff --git a/storage/xtradb/include/sync0arr.ic b/storage/xtradb/include/sync0arr.ic
index 0114a1ff5a2..18a46dd0a41 100644
--- a/storage/xtradb/include/sync0arr.ic
+++ b/storage/xtradb/include/sync0arr.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2009, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -24,3 +24,41 @@ Inline code
Created 9/5/1995 Heikki Tuuri
*******************************************************/
+
+/** User configured sync array size */
+extern ulong srv_sync_array_size;
+
+/******************************************************************//**
+Get an instance of the sync wait array and reserve a wait array cell
+in the instance for waiting for an object. The event of the cell is
+reset to nonsignalled state.
+If reserving cell of the instance fails, try to get another new
+instance until we can reserve an empty cell of it.
+@return the instance found, never NULL. */
+UNIV_INLINE
+sync_array_t*
+sync_array_get_and_reserve_cell(
+/*============================*/
+ void* object, /*!< in: pointer to the object to wait for */
+ ulint type, /*!< in: lock request type */
+ const char* file, /*!< in: file where requested */
+ ulint line, /*!< in: line where requested */
+ ulint* index) /*!< out: index of the reserved cell */
+{
+ sync_array_t* sync_arr;
+ bool reserved = false;
+
+ for (ulint i = 0; i < srv_sync_array_size && !reserved; ++i) {
+ sync_arr = sync_array_get();
+ reserved = sync_array_reserve_cell(sync_arr, object, type,
+ file, line, index);
+ }
+
+ /* This won't be true every time, for the loop above may execute
+ more than srv_sync_array_size times to reserve a cell.
+ But an assertion here makes the code more solid. */
+ ut_a(reserved);
+
+ return sync_arr;
+}
+
diff --git a/storage/xtradb/include/sync0rw.h b/storage/xtradb/include/sync0rw.h
index ace3a0993c8..a215d4d3f60 100644
--- a/storage/xtradb/include/sync0rw.h
+++ b/storage/xtradb/include/sync0rw.h
@@ -780,13 +780,13 @@ struct prio_rw_lock_t {
provides the lock word etc. for
the priority rw lock */
volatile ulint high_priority_s_waiters;
- /* If 1, high priority S
- waiters exist */
+ /* Number of high priority S
+ waiters */
os_event_t high_priority_s_event; /* High priority wait
array event for S waiters */
volatile ulint high_priority_x_waiters;
- /* If 1, high priority X
- waiters exist */
+ /* Number of high priority X
+ waiters */
os_event_t high_priority_x_event;
/* High priority wait arraay
event for X waiters */
diff --git a/storage/xtradb/include/sync0rw.ic b/storage/xtradb/include/sync0rw.ic
index c625ee39035..097adfded37 100644
--- a/storage/xtradb/include/sync0rw.ic
+++ b/storage/xtradb/include/sync0rw.ic
@@ -94,8 +94,8 @@ rw_lock_get_waiters(
const prio_rw_lock_t* lock) /*!< in: rw-lock */
{
return rw_lock_get_waiters(&lock->base_lock)
- | lock->high_priority_s_waiters
- | lock->high_priority_x_waiters;
+ || lock->high_priority_s_waiters
+ || lock->high_priority_x_waiters;
}
/********************************************************************//**
@@ -619,32 +619,14 @@ rw_lock_s_unlock_func(
if (lock_word == 0) {
/* A waiting next-writer exists, either high priority or
- regular. Wake up the first waiter in this order: 1) high
- priority next-writer; 2) high priority X waiters; 3) high
- priority S waiters; 4) regular priority next-waiter. This
- allows high priority requests to overtake an already-waiting
- regular priority next-waiter. */
+ regular, sharing the same wait event. */
if (lock->high_priority_wait_ex_waiter) {
lock->high_priority_wait_ex_waiter = 0;
- /* Note that we do not have a separate high priority
- next-waiter event. There can be only one such waiter,
- here we already know it's high priority, no
- regular-priority wakeup may happen. */
- os_event_set(lock->base_lock.wait_ex_event);
- } else if (lock->high_priority_x_waiters) {
-
- lock->high_priority_x_waiters = 0;
- os_event_set(lock->high_priority_x_event);
- } else if (lock->high_priority_s_waiters) {
-
- lock->high_priority_s_waiters = 0;
- os_event_set(lock->high_priority_s_event);
- } else {
-
- os_event_set(lock->base_lock.wait_ex_event);
}
+ os_event_set(lock->base_lock.wait_ex_event);
sync_array_object_signalled();
+
} else if (lock_word == X_LOCK_DECR) {
/* S-waiters may exist during an S unlock if a high-priority
@@ -765,6 +747,8 @@ rw_lock_x_unlock_func(
#endif
&lock->base_lock);
+ ut_ad(lock->high_priority_wait_ex_waiter == 0);
+
if (rw_lock_lock_word_incr(&lock->base_lock, x_lock_incr)
== X_LOCK_DECR) {
@@ -776,12 +760,10 @@ rw_lock_x_unlock_func(
if (lock->high_priority_x_waiters) {
- lock->high_priority_x_waiters = 0;
os_event_set(lock->high_priority_x_event);
sync_array_object_signalled();
} else if (lock->high_priority_s_waiters) {
- lock->high_priority_s_waiters = 0;
os_event_set(lock->high_priority_s_event);
sync_array_object_signalled();
} else if (lock->base_lock.waiters) {
diff --git a/storage/xtradb/include/sync0sync.h b/storage/xtradb/include/sync0sync.h
index f54c6d59af9..19cfcddd1f5 100644
--- a/storage/xtradb/include/sync0sync.h
+++ b/storage/xtradb/include/sync0sync.h
@@ -86,6 +86,7 @@ extern mysql_pfs_key_t fts_bg_threads_mutex_key;
extern mysql_pfs_key_t fts_delete_mutex_key;
extern mysql_pfs_key_t fts_optimize_mutex_key;
extern mysql_pfs_key_t fts_doc_id_mutex_key;
+extern mysql_pfs_key_t fts_pll_tokenize_mutex_key;
extern mysql_pfs_key_t hash_table_mutex_key;
extern mysql_pfs_key_t ibuf_bitmap_mutex_key;
extern mysql_pfs_key_t ibuf_mutex_key;
@@ -198,10 +199,10 @@ necessary only if the memory block containing it is freed. */
pfs_mutex_enter_nowait_func((M), __FILE__, __LINE__)
# define mutex_enter_first(M) \
- pfs_mutex_enter_func((M), __FILE__, __LINE__, HIGH_PRIO)
+ pfs_mutex_enter_func((M), __FILE__, __LINE__, IB_HIGH_PRIO)
# define mutex_enter_last(M) \
- pfs_mutex_enter_func((M), __FILE__, __LINE__, LOW_PRIO)
+ pfs_mutex_enter_func((M), __FILE__, __LINE__, IB_LOW_PRIO)
# define mutex_exit(M) pfs_mutex_exit_func(M)
@@ -230,10 +231,10 @@ original non-instrumented functions */
mutex_enter_nowait_func((M), __FILE__, __LINE__)
# define mutex_enter_first(M) \
- mutex_enter_func((M), __FILE__, __LINE__, HIGH_PRIO)
+ mutex_enter_func((M), __FILE__, __LINE__, IB_HIGH_PRIO)
# define mutex_enter_last(M) \
- mutex_enter_func((M), __FILE__, __LINE__, LOW_PRIO)
+ mutex_enter_func((M), __FILE__, __LINE__, IB_LOW_PRIO)
# define mutex_exit(M) mutex_exit_func(M)
@@ -325,8 +326,8 @@ directly. Locks a priority mutex for the current thread. If the mutex is
reserved the function spins a preset time (controlled by SYNC_SPIN_ROUNDS)
waiting for the mutex before suspending the thread. If the thread is suspended,
the priority argument value determines the relative order for its wake up. Any
-HIGH_PRIO waiters will be woken up before any LOW_PRIO waiters. In case of
-DEFAULT_PRIO, the relative priority will be set according to
+IB_HIGH_PRIO waiters will be woken up before any IB_LOW_PRIO waiters. In case of
+IB_DEFAULT_PRIO, the relative priority will be set according to
srv_current_thread_priority. */
UNIV_INLINE
void
@@ -336,7 +337,7 @@ mutex_enter_func(
const char* file_name, /*!< in: file name where
locked */
ulint line, /*!< in: line where locked */
- enum ib_sync_priority priority = DEFAULT_PRIO);
+ enum ib_sync_priority priority = IB_DEFAULT_PRIO);
/*!<in: mutex acquisition
priority */
/********************************************************************//**
@@ -357,7 +358,7 @@ NOTE! Use the corresponding macro in the header file, not this function
directly. Tries to lock the mutex for the current thread. If the lock is not
acquired immediately, returns with return value 1.
@return 0 if succeed, 1 if not */
-UNIV_INTERN
+UNIV_INLINE
ulint
mutex_enter_nowait_func(
/*====================*/
@@ -453,7 +454,7 @@ pfs_mutex_enter_func(
const char* file_name, /*!< in: file name where
locked */
ulint line, /*!< in: line where locked */
- enum ib_sync_priority priority = DEFAULT_PRIO);
+ enum ib_sync_priority priority = IB_DEFAULT_PRIO);
/*!<in: mutex acquisition
priority */
/********************************************************************//**
@@ -888,6 +889,7 @@ or row lock! */
#define SYNC_LOG 170
#define SYNC_LOG_FLUSH_ORDER 147
#define SYNC_RECV 168
+#define SYNC_FTS_TOKENIZE 167
#define SYNC_FTS_CACHE_INIT 166 /* Used for FTS cache initialization */
#define SYNC_FTS_BG_THREADS 165
#define SYNC_FTS_OPTIMIZE 164 // FIXME: is this correct number, test
@@ -977,12 +979,11 @@ struct ib_prio_mutex_t {
word etc. for the priority mutex */
os_event_t high_priority_event; /* High priority wait array
event */
- volatile ulint high_priority_waiters; /* Set to 1 if there are (or
- may be) threads that asked for this
- mutex to be acquired with high priority
- in the global wait array for this mutex
- to be released. Otherwise, this is
- 0. */
+ volatile ulint high_priority_waiters; /* Number of threads that asked
+ for this mutex to be acquired with high
+ priority in the global wait array
+ waiting for this mutex to be
+ released. */
};
/** Constant determining how long spin wait is continued before suspending
diff --git a/storage/xtradb/include/sync0sync.ic b/storage/xtradb/include/sync0sync.ic
index 396005ec83a..d6a95156ff4 100644
--- a/storage/xtradb/include/sync0sync.ic
+++ b/storage/xtradb/include/sync0sync.ic
@@ -227,7 +227,6 @@ mutex_exit_func(
/* Wake up any high priority waiters first. */
if (mutex->high_priority_waiters != 0) {
- mutex->high_priority_waiters = 0;
os_event_set(mutex->high_priority_event);
sync_array_object_signalled();
@@ -278,8 +277,8 @@ directly. Locks a priority mutex for the current thread. If the mutex is
reserved the function spins a preset time (controlled by SYNC_SPIN_ROUNDS)
waiting for the mutex before suspending the thread. If the thread is suspended,
the priority argument value determines the relative order for its wake up. Any
-HIGH_PRIO waiters will be woken up before any LOW_PRIO waiters. In case of
-DEFAULT_PRIO, the relative priority will be set according to
+IB_HIGH_PRIO waiters will be woken up before any IB_LOW_PRIO waiters. In case
+of IB_DEFAULT_PRIO, the relative priority will be set according to
srv_current_thread_priority. */
UNIV_INLINE
void
@@ -309,14 +308,31 @@ mutex_enter_func(
return; /* Succeeded! */
}
- if (UNIV_LIKELY(priority == DEFAULT_PRIO)) {
+ if (UNIV_LIKELY(priority == IB_DEFAULT_PRIO)) {
high_priority = srv_current_thread_priority;
} else {
- high_priority = (priority == HIGH_PRIO);
+ high_priority = (priority == IB_HIGH_PRIO);
}
mutex_spin_wait(mutex, high_priority, file_name, line);
}
+/********************************************************************//**
+NOTE! Use the corresponding macro in the header file, not this function
+directly. Tries to lock the mutex for the current thread. If the lock is not
+acquired immediately, returns with return value 1.
+@return 0 if succeed, 1 if not */
+UNIV_INLINE
+ulint
+mutex_enter_nowait_func(
+/*====================*/
+ ib_prio_mutex_t* mutex, /*!< in: pointer to mutex */
+ const char* file_name, /*!< in: file name where mutex
+ requested */
+ ulint line) /*!< in: line where
+ requested */
+{
+ return mutex_enter_nowait_func(&mutex->base_mutex, file_name, line);
+}
#ifdef UNIV_PFS_MUTEX
/******************************************************************//**
diff --git a/storage/xtradb/include/sync0types.h b/storage/xtradb/include/sync0types.h
index 67f613ab8ae..04baaa0339d 100644
--- a/storage/xtradb/include/sync0types.h
+++ b/storage/xtradb/include/sync0types.h
@@ -36,9 +36,9 @@ struct ib_prio_mutex_t;
/** Priority mutex and rwlatch acquisition priorities */
enum ib_sync_priority {
- DEFAULT_PRIO,
- LOW_PRIO,
- HIGH_PRIO
+ IB_DEFAULT_PRIO,
+ IB_LOW_PRIO,
+ IB_HIGH_PRIO
};
#endif
diff --git a/storage/xtradb/include/trx0trx.h b/storage/xtradb/include/trx0trx.h
index 82e9a90fcfb..259fcd0cf6e 100644
--- a/storage/xtradb/include/trx0trx.h
+++ b/storage/xtradb/include/trx0trx.h
@@ -1024,6 +1024,10 @@ struct trx_t{
ulint start_line; /*!< Track where it was started from */
const char* start_file; /*!< Filename where it was started */
#endif /* UNIV_DEBUG */
+ /*------------------------------*/
+ bool api_trx; /*!< trx started by InnoDB API */
+ bool api_auto_commit;/*!< automatic commit */
+ bool read_write; /*!< if read and write operation */
/*------------------------------*/
char detailed_error[256]; /*!< detailed error message for last
diff --git a/storage/xtradb/include/univ.i b/storage/xtradb/include/univ.i
index c9447245124..eaf2262481c 100644
--- a/storage/xtradb/include/univ.i
+++ b/storage/xtradb/include/univ.i
@@ -44,10 +44,10 @@ Created 1/20/1994 Heikki Tuuri
#define INNODB_VERSION_MAJOR 5
#define INNODB_VERSION_MINOR 6
-#define INNODB_VERSION_BUGFIX 14
+#define INNODB_VERSION_BUGFIX 15
#ifndef PERCONA_INNODB_VERSION
-#define PERCONA_INNODB_VERSION 62.0
+#define PERCONA_INNODB_VERSION 63.0
#endif
/* Enable UNIV_LOG_ARCHIVE in XtraDB */
diff --git a/storage/xtradb/include/ut0bh.h b/storage/xtradb/include/ut0bh.h
index 84ea6dd915a..1085736c7ab 100644
--- a/storage/xtradb/include/ut0bh.h
+++ b/storage/xtradb/include/ut0bh.h
@@ -1,6 +1,6 @@
/***************************************************************************//**
-Copyright (c) 2011, Oracle Corpn. All Rights Reserved.
+Copyright (c) 2011, 2013, Oracle Corpn. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/xtradb/include/ut0bh.ic b/storage/xtradb/include/ut0bh.ic
index a604237665d..b11de5b8b3e 100644
--- a/storage/xtradb/include/ut0bh.ic
+++ b/storage/xtradb/include/ut0bh.ic
@@ -1,6 +1,6 @@
/***************************************************************************//**
-Copyright (c) 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2011, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/xtradb/log/log0log.cc b/storage/xtradb/log/log0log.cc
index 403ceda7a10..7783fc1ac13 100644
--- a/storage/xtradb/log/log0log.cc
+++ b/storage/xtradb/log/log0log.cc
@@ -30,6 +30,13 @@ Database log
Created 12/9/1995 Heikki Tuuri
*******************************************************/
+#include "config.h"
+#ifdef HAVE_ALLOCA_H
+#include "alloca.h"
+#elif defined(HAVE_MALLOC_H)
+#include "malloc.h"
+#endif
+
#include "log0log.h"
#ifdef UNIV_NONINL
@@ -237,6 +244,86 @@ log_check_tracking_margin(
return tracked_lsn_age + lsn_advance > log_sys->max_checkpoint_age;
}
+/** Extends the log buffer.
+@param[in] len requested minimum size in bytes */
+static
+void
+log_buffer_extend(
+ ulint len)
+{
+ ulint move_start;
+ ulint move_end;
+ byte *tmp_buf = (byte*)alloca(OS_FILE_LOG_BLOCK_SIZE);
+
+ mutex_enter(&(log_sys->mutex));
+
+ while (log_sys->is_extending) {
+ /* Another thread is trying to extend already.
+ Needs to wait for. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+
+ if (srv_log_buffer_size > len / UNIV_PAGE_SIZE) {
+ /* Already extended enough by the others */
+ mutex_exit(&(log_sys->mutex));
+ return;
+ }
+ }
+
+ log_sys->is_extending = true;
+
+ while (log_sys->n_pending_writes != 0
+ || ut_calc_align_down(log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE)
+ != ut_calc_align_down(log_sys->buf_next_to_write,
+ OS_FILE_LOG_BLOCK_SIZE)) {
+ /* Buffer might have >1 blocks to write still. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+ }
+
+ move_start = ut_calc_align_down(
+ log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE);
+ move_end = log_sys->buf_free;
+
+ /* store the last log block in buffer */
+ ut_memcpy(tmp_buf, log_sys->buf + move_start,
+ move_end - move_start);
+
+ log_sys->buf_free -= move_start;
+ log_sys->buf_next_to_write -= move_start;
+
+ /* reallocate log buffer */
+ srv_log_buffer_size = len / UNIV_PAGE_SIZE + 1;
+ mem_free(log_sys->buf_ptr);
+ log_sys->buf_ptr = static_cast<byte*>(
+ mem_zalloc(LOG_BUFFER_SIZE + OS_FILE_LOG_BLOCK_SIZE));
+ log_sys->buf = static_cast<byte*>(
+ ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE));
+ log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->max_buf_free = log_sys->buf_size / LOG_BUF_FLUSH_RATIO
+ - LOG_BUF_FLUSH_MARGIN;
+
+ /* restore the last log block */
+ ut_memcpy(log_sys->buf, tmp_buf, move_end - move_start);
+
+ ut_ad(log_sys->is_extending);
+ log_sys->is_extending = false;
+
+ mutex_exit(&(log_sys->mutex));
+
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "innodb_log_buffer_size was extended to %lu.",
+ LOG_BUFFER_SIZE);
+}
+
/************************************************************//**
Opens the log for log_write_low. The log must be closed with log_close.
@return start lsn of the log record */
@@ -253,11 +340,38 @@ log_open(
ulint dummy;
#endif /* UNIV_LOG_ARCHIVE */
ulint count = 0;
+ ulint tcount = 0;
+
+ if (len >= log->buf_size / 2) {
+ DBUG_EXECUTE_IF("ib_log_buffer_is_short_crash",
+ DBUG_SUICIDE(););
- ut_a(len < log->buf_size / 2);
+ /* log_buffer is too small. try to extend instead of crash. */
+ ib_logf(IB_LOG_LEVEL_WARN,
+ "The transaction log size is too large"
+ " for innodb_log_buffer_size (%lu >= %lu / 2). "
+ "Trying to extend it.",
+ len, LOG_BUFFER_SIZE);
+
+ log_buffer_extend((len + 1) * 2);
+ }
loop:
ut_ad(!recv_no_log_write);
+ if (log->is_extending) {
+
+ mutex_exit(&(log->mutex));
+
+ /* Log buffer size is extending. Writing up to the next block
+ should wait for the extending finished. */
+
+ os_thread_sleep(100000);
+
+ ut_ad(++count < 50);
+
+ goto loop;
+ }
+
/* Calculate an upper limit for the space the string may take in the
log buffer */
@@ -281,21 +395,6 @@ loop:
goto loop;
}
- if (log_check_tracking_margin(len_upper_limit) && (++count < 50)) {
-
- /* This log write would violate the untracked LSN free space
- margin. Limit this to 50 retries as there might be situations
- where we have no choice but to proceed anyway, i.e. if the log
- is about to be overflown, log tracking or not. */
- mutex_exit(&(log->mutex));
-
- os_thread_sleep(10000);
-
- mutex_enter(&(log->mutex));
-
- goto loop;
- }
-
#ifdef UNIV_LOG_ARCHIVE
if (log->archiving_state != LOG_ARCH_OFF) {
@@ -320,6 +419,22 @@ loop:
}
#endif /* UNIV_LOG_ARCHIVE */
+ if (log_check_tracking_margin(len_upper_limit) &&
+ (++tcount + count < 50)) {
+
+ /* This log write would violate the untracked LSN free space
+ margin. Limit this to 50 retries as there might be situations
+ where we have no choice but to proceed anyway, i.e. if the log
+ is about to be overflown, log tracking or not. */
+ mutex_exit(&(log->mutex));
+
+ os_thread_sleep(10000);
+
+ mutex_enter(&(log->mutex));
+
+ goto loop;
+ }
+
#ifdef UNIV_LOG_DEBUG
log->old_buf_free = log->buf_free;
log->old_lsn = log->lsn;
@@ -845,6 +960,7 @@ log_init(void)
ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE));
log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->is_extending = false;
log_sys->max_buf_free = log_sys->buf_size / LOG_BUF_FLUSH_RATIO
- LOG_BUF_FLUSH_MARGIN;
diff --git a/storage/xtradb/log/log0online.cc b/storage/xtradb/log/log0online.cc
index 8c2bc5602a9..127e09e0448 100644
--- a/storage/xtradb/log/log0online.cc
+++ b/storage/xtradb/log/log0online.cc
@@ -34,14 +34,6 @@ Online database log parsing for changed page tracking
#include "trx0sys.h"
#include "ut0rbt.h"
-#ifdef __WIN__
-/* error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr */
-# define DEBUG_SYNC_C(dummy) ((void) 0)
-#else
-# include "m_string.h" /* for my_sys.h */
-# include "my_sys.h" /* DEBUG_SYNC_C */
-#endif
-
enum { FOLLOW_SCAN_SIZE = 4 * (UNIV_PAGE_SIZE_MAX) };
#ifdef UNIV_PFS_MUTEX
@@ -1782,7 +1774,7 @@ log_online_purge_changed_page_bitmaps(
mutex_enter(&log_bmp_sys->mutex);
}
- if (!log_online_setup_bitmap_file_range(&bitmap_files, 0, lsn)) {
+ if (!log_online_setup_bitmap_file_range(&bitmap_files, 0, LSN_MAX)) {
if (srv_track_changed_pages) {
mutex_exit(&log_bmp_sys->mutex);
}
@@ -1797,8 +1789,19 @@ log_online_purge_changed_page_bitmaps(
}
for (i = 0; i < bitmap_files.count; i++) {
- if (bitmap_files.files[i].seq_num == 0
- || bitmap_files.files[i].start_lsn >= lsn) {
+
+ /* We consider the end LSN of the current bitmap, derived from
+ the start LSN of the subsequent bitmap file, to determine
+ whether to remove the current bitmap. Note that bitmap_files
+ does not contain an entry for the bitmap past the given LSN so
+ we must check the boundary conditions as well. For example,
+ consider 1_0.xdb and 2_10.xdb and querying LSN 5. bitmap_files
+ will only contain 1_0.xdb and we must not delete it since it
+ represents LSNs 0-9. */
+ if ((i + 1 == bitmap_files.count
+ || bitmap_files.files[i + 1].seq_num == 0
+ || bitmap_files.files[i + 1].start_lsn > lsn)
+ && (lsn != LSN_MAX)) {
break;
}
diff --git a/storage/xtradb/log/log0recv.cc b/storage/xtradb/log/log0recv.cc
index d0b833f2bba..cb4b988e46c 100644
--- a/storage/xtradb/log/log0recv.cc
+++ b/storage/xtradb/log/log0recv.cc
@@ -920,9 +920,9 @@ log_block_checksum_is_ok_or_old_format(
return(TRUE);
}
- if (srv_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_STRICT_CRC32 ||
- srv_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_STRICT_INNODB ||
- srv_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_STRICT_NONE) {
+ if (srv_log_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_STRICT_CRC32 ||
+ srv_log_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_STRICT_INNODB ||
+ srv_log_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_STRICT_NONE) {
const char* algo = NULL;
@@ -965,8 +965,8 @@ log_block_checksum_is_ok_or_old_format(
"so we intentionally assert here.");
}
- ut_ad(srv_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_CRC32 ||
- srv_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_INNODB);
+ ut_ad(srv_log_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_CRC32 ||
+ srv_log_checksum_algorithm == SRV_CHECKSUM_ALGORITHM_INNODB);
if (block_checksum == LOG_NO_CHECKSUM_MAGIC ||
block_checksum == log_block_calc_checksum_crc32(block) ||
diff --git a/storage/xtradb/mtr/mtr0mtr.cc b/storage/xtradb/mtr/mtr0mtr.cc
index 02e8cbdbfcc..a4877f175a1 100644
--- a/storage/xtradb/mtr/mtr0mtr.cc
+++ b/storage/xtradb/mtr/mtr0mtr.cc
@@ -171,26 +171,29 @@ mtr_memo_note_modifications(
/*========================*/
mtr_t* mtr) /*!< in: mtr */
{
- dyn_array_t* memo;
- ulint offset;
-
ut_ad(!srv_read_only_mode);
ut_ad(mtr->magic_n == MTR_MAGIC_N);
ut_ad(mtr->state == MTR_COMMITTING); /* Currently only used in
commit */
- memo = &mtr->memo;
-
- offset = dyn_array_get_data_size(memo);
-
- while (offset > 0) {
- mtr_memo_slot_t* slot;
- offset -= sizeof(mtr_memo_slot_t);
+ for (const dyn_block_t* block = dyn_array_get_last_block(&mtr->memo);
+ block;
+ block = dyn_array_get_prev_block(&mtr->memo, block)) {
+ const mtr_memo_slot_t* start
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block));
+ mtr_memo_slot_t* slot
+ = reinterpret_cast<mtr_memo_slot_t*>(
+ dyn_block_get_data(block)
+ + dyn_block_get_used(block));
- slot = static_cast<mtr_memo_slot_t*>(
- dyn_array_get_element(memo, offset));
+ ut_ad(!(dyn_block_get_used(block) % sizeof(mtr_memo_slot_t)));
- mtr_memo_slot_note_modification(mtr, slot);
+ while (slot-- != start) {
+ if (slot->object != NULL) {
+ mtr_memo_slot_note_modification(mtr, slot);
+ }
+ }
}
}
diff --git a/storage/xtradb/os/os0file.cc b/storage/xtradb/os/os0file.cc
index 38eb5241da1..8c09beb3e9c 100644
--- a/storage/xtradb/os/os0file.cc
+++ b/storage/xtradb/os/os0file.cc
@@ -769,7 +769,6 @@ os_file_handle_error(
/****************************************************************//**
Does error handling when a file operation fails.
@return TRUE if we should retry the operation */
-static
ibool
os_file_handle_error_no_exit(
/*=========================*/
@@ -1565,18 +1564,32 @@ os_file_set_nocache(
}
#elif defined(O_DIRECT)
if (fcntl(fd, F_SETFL, O_DIRECT) == -1) {
- int errno_save = errno;
-
- ib_logf(IB_LOG_LEVEL_ERROR,
- "Failed to set O_DIRECT on file %s: %s: %s, "
- "continuing anyway",
- file_name, operation_name, strerror(errno_save));
-
+ int errno_save = errno;
+ static bool warning_message_printed = false;
if (errno_save == EINVAL) {
- ib_logf(IB_LOG_LEVEL_ERROR,
- "O_DIRECT is known to result in 'Invalid "
- "argument' on Linux on tmpfs, see MySQL "
- "Bug#26662");
+ if (!warning_message_printed) {
+ warning_message_printed = true;
+# ifdef UNIV_LINUX
+ ib_logf(IB_LOG_LEVEL_WARN,
+ "Failed to set O_DIRECT on file "
+ "%s: %s: %s, continuing anyway. "
+ "O_DIRECT is known to result "
+ "in 'Invalid argument' on Linux on "
+ "tmpfs, see MySQL Bug#26662.",
+ file_name, operation_name,
+ strerror(errno_save));
+# else /* UNIV_LINUX */
+ goto short_warning;
+# endif /* UNIV_LINUX */
+ }
+ } else {
+# ifndef UNIV_LINUX
+short_warning:
+# endif
+ ib_logf(IB_LOG_LEVEL_WARN,
+ "Failed to set O_DIRECT on file %s: %s: %s, "
+ "continuing anyway.",
+ file_name, operation_name, strerror(errno_save));
}
}
#endif /* defined(UNIV_SOLARIS) && defined(DIRECTIO_ON) */
@@ -1791,6 +1804,9 @@ os_file_create_func(
} else {
*success = TRUE;
retry = FALSE;
+ if (srv_use_native_aio && ((attributes & FILE_FLAG_OVERLAPPED) != 0)) {
+ ut_a(CreateIoCompletionPort(file, completion_port, 0, 0));
+ }
}
} while (retry);
@@ -1933,7 +1949,7 @@ os_file_create_func(
#endif /* USE_FILE_LOCK */
if (srv_use_atomic_writes && type == OS_DATA_FILE
- && !os_file_set_atomic_writes(name, file)) {
+ && file != -1 && !os_file_set_atomic_writes(name, file)) {
*success = FALSE;
close(file);
diff --git a/storage/xtradb/os/os0thread.cc b/storage/xtradb/os/os0thread.cc
index 685e89d48be..13099e243cd 100644
--- a/storage/xtradb/os/os0thread.cc
+++ b/storage/xtradb/os/os0thread.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -203,6 +203,9 @@ os_thread_create_func(
#ifndef UNIV_HPUX10
pthread_attr_destroy(&attr);
#endif
+
+ ut_a(os_thread_count <= OS_THREAD_MAX_N);
+
if (thread_id) {
*thread_id = pthread;
}
diff --git a/storage/xtradb/row/row0ftsort.cc b/storage/xtradb/row/row0ftsort.cc
index c0d996e24ea..7a673feae9b 100644
--- a/storage/xtradb/row/row0ftsort.cc
+++ b/storage/xtradb/row/row0ftsort.cc
@@ -268,6 +268,9 @@ row_fts_psort_info_init(
psort_info[j].child_status = 0;
psort_info[j].state = 0;
psort_info[j].psort_common = common_info;
+ psort_info[j].error = DB_SUCCESS;
+ psort_info[j].memory_used = 0;
+ mutex_create(fts_pll_tokenize_mutex_key, &psort_info[j].mutex, SYNC_FTS_TOKENIZE);
}
/* Initialize merge_info structures parallel merge and insert
@@ -315,6 +318,8 @@ row_fts_psort_info_destroy(
}
mem_free(psort_info[j].merge_file[i]);
}
+
+ mutex_free(&psort_info[j].mutex);
}
os_event_free(merge_info[0].psort_common->sort_event);
@@ -548,6 +553,35 @@ row_merge_fts_doc_tokenize(
}
/*********************************************************************//**
+Get next doc item from fts_doc_list */
+UNIV_INLINE
+void
+row_merge_fts_get_next_doc_item(
+/*============================*/
+ fts_psort_t* psort_info, /*!< in: psort_info */
+ fts_doc_item_t** doc_item) /*!< in/out: doc item */
+{
+ if (*doc_item != NULL) {
+ ut_free(*doc_item);
+ }
+
+ mutex_enter(&psort_info->mutex);
+
+ *doc_item = UT_LIST_GET_FIRST(psort_info->fts_doc_list);
+ if (*doc_item != NULL) {
+ UT_LIST_REMOVE(doc_list, psort_info->fts_doc_list,
+ *doc_item);
+
+ ut_ad(psort_info->memory_used >= sizeof(fts_doc_item_t)
+ + (*doc_item)->field->len);
+ psort_info->memory_used -= sizeof(fts_doc_item_t)
+ + (*doc_item)->field->len;
+ }
+
+ mutex_exit(&psort_info->mutex);
+}
+
+/*********************************************************************//**
Function performs parallel tokenization of the incoming doc strings.
It also performs the initial in memory sort of the parsed records.
@return OS_THREAD_DUMMY_RETURN */
@@ -560,7 +594,6 @@ fts_parallel_tokenization(
fts_psort_t* psort_info = (fts_psort_t*) arg;
ulint i;
fts_doc_item_t* doc_item = NULL;
- fts_doc_item_t* prev_doc_item = NULL;
row_merge_buf_t** buf;
ibool processed = FALSE;
merge_file_t** merge_file;
@@ -578,7 +611,7 @@ fts_parallel_tokenization(
dict_field_t* idx_field;
fts_tokenize_ctx_t t_ctx;
ulint retried = 0;
- ut_ad(psort_info);
+ dberr_t error = DB_SUCCESS;
ut_ad(psort_info);
@@ -602,11 +635,7 @@ fts_parallel_tokenization(
block = psort_info->merge_block;
zip_size = dict_table_zip_size(table);
- doc_item = UT_LIST_GET_FIRST(psort_info->fts_doc_list);
-
- if (doc_item) {
- prev_doc_item = doc_item;
- }
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
t_ctx.cached_stopword = table->fts->cache->stopword_info.cached_stopword;
processed = TRUE;
@@ -616,17 +645,8 @@ loop:
last_doc_id = doc_item->doc_id;
- if (!(dfield->data)
- || dfield_get_len(dfield) == UNIV_SQL_NULL) {
- num_doc_processed++;
- doc_item = UT_LIST_GET_NEXT(doc_list, doc_item);
-
- /* Always remember the last doc_item we processed */
- if (doc_item) {
- prev_doc_item = doc_item;
- }
- continue;
- }
+ ut_ad (dfield->data != NULL
+ && dfield_get_len(dfield) != UNIV_SQL_NULL);
/* If finish processing the last item, update "doc" with
strings in the doc_item, otherwise continue processing last
@@ -674,11 +694,13 @@ loop:
num_doc_processed++;
if (fts_enable_diag_print && num_doc_processed % 10000 == 1) {
- fprintf(stderr, "number of doc processed %d\n",
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "number of doc processed %d\n",
(int) num_doc_processed);
#ifdef FTS_INTERNAL_DIAG_PRINT
for (i = 0; i < FTS_NUM_AUX_INDEX; i++) {
- fprintf(stderr, "ID %d, partition %d, word "
+ ib_logf(IB_LOG_LEVEL_INFO,
+ "ID %d, partition %d, word "
"%d\n",(int) psort_info->psort_id,
(int) i, (int) mycount[i]);
}
@@ -687,19 +709,10 @@ loop:
mem_heap_empty(blob_heap);
- if (doc_item->field->data) {
- ut_free(doc_item->field->data);
- doc_item->field->data = NULL;
- }
-
- doc_item = UT_LIST_GET_NEXT(doc_list, doc_item);
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
- /* Always remember the last doc_item we processed */
- if (doc_item) {
- prev_doc_item = doc_item;
- if (last_doc_id != doc_item->doc_id) {
- t_ctx.init_pos = 0;
- }
+ if (doc_item && last_doc_id != doc_item->doc_id) {
+ t_ctx.init_pos = 0;
}
}
@@ -710,9 +723,14 @@ loop:
row_merge_buf_write(buf[t_ctx.buf_used],
merge_file[t_ctx.buf_used],
block[t_ctx.buf_used]);
- row_merge_write(merge_file[t_ctx.buf_used]->fd,
- merge_file[t_ctx.buf_used]->offset++,
- block[t_ctx.buf_used]);
+
+ if (!row_merge_write(merge_file[t_ctx.buf_used]->fd,
+ merge_file[t_ctx.buf_used]->offset++,
+ block[t_ctx.buf_used])) {
+ error = DB_TEMP_FILE_WRITE_FAILURE;
+ goto func_exit;
+ }
+
UNIV_MEM_INVALID(block[t_ctx.buf_used][0], srv_sort_buf_size);
buf[t_ctx.buf_used] = row_merge_buf_empty(buf[t_ctx.buf_used]);
mycount[t_ctx.buf_used] += t_ctx.rows_added[t_ctx.buf_used];
@@ -724,13 +742,13 @@ loop:
/* Parent done scanning, and if finish processing all the docs, exit */
if (psort_info->state == FTS_PARENT_COMPLETE) {
- if (num_doc_processed >= UT_LIST_GET_LEN(
- psort_info->fts_doc_list)) {
+ if (UT_LIST_GET_LEN(psort_info->fts_doc_list) == 0) {
goto exit;
} else if (retried > 10000) {
ut_ad(!doc_item);
/* retied too many times and cannot get new record */
- fprintf(stderr, "InnoDB: FTS parallel sort processed "
+ ib_logf(IB_LOG_LEVEL_ERROR,
+ "InnoDB: FTS parallel sort processed "
"%lu records, the sort queue has "
"%lu records. But sort cannot get "
"the next records", num_doc_processed,
@@ -738,21 +756,18 @@ loop:
psort_info->fts_doc_list));
goto exit;
}
+ } else if (psort_info->state == FTS_PARENT_EXITING) {
+ /* Parent abort */
+ goto func_exit;
}
- if (doc_item) {
- doc_item = UT_LIST_GET_NEXT(doc_list, doc_item);
- } else if (prev_doc_item) {
- os_thread_yield();
- doc_item = UT_LIST_GET_NEXT(doc_list, prev_doc_item);
- } else {
+ if (doc_item == NULL) {
os_thread_yield();
- doc_item = UT_LIST_GET_FIRST(psort_info->fts_doc_list);
}
- if (doc_item) {
- prev_doc_item = doc_item;
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
+ if (doc_item != NULL) {
if (last_doc_id != doc_item->doc_id) {
t_ctx.init_pos = 0;
}
@@ -802,9 +817,12 @@ exit:
never flush to temp file, it can be held all in
memory */
if (merge_file[i]->offset != 0) {
- row_merge_write(merge_file[i]->fd,
+ if (!row_merge_write(merge_file[i]->fd,
merge_file[i]->offset++,
- block[i]);
+ block[i])) {
+ error = DB_TEMP_FILE_WRITE_FAILURE;
+ goto func_exit;
+ }
UNIV_MEM_INVALID(block[i][0],
srv_sort_buf_size);
@@ -820,19 +838,24 @@ exit:
}
for (i = 0; i < FTS_NUM_AUX_INDEX; i++) {
-
if (!merge_file[i]->offset) {
continue;
}
tmpfd[i] = row_merge_file_create_low();
if (tmpfd[i] < 0) {
+ error = DB_OUT_OF_MEMORY;
+ goto func_exit;
+ }
+
+ error = row_merge_sort(psort_info->psort_common->trx,
+ psort_info->psort_common->dup,
+ merge_file[i], block[i], &tmpfd[i]);
+ if (error != DB_SUCCESS) {
+ close(tmpfd[i]);
goto func_exit;
}
- row_merge_sort(psort_info->psort_common->trx,
- psort_info->psort_common->dup,
- merge_file[i], block[i], &tmpfd[i]);
total_rec += merge_file[i]->n_rec;
close(tmpfd[i]);
}
@@ -844,6 +867,19 @@ func_exit:
mem_heap_free(blob_heap);
+ mutex_enter(&psort_info->mutex);
+ psort_info->error = error;
+ mutex_exit(&psort_info->mutex);
+
+ if (UT_LIST_GET_LEN(psort_info->fts_doc_list) > 0) {
+ ut_ad(error != DB_SUCCESS);
+ }
+
+ /* Free fts doc list in case of error. */
+ do {
+ row_merge_fts_get_next_doc_item(psort_info, &doc_item);
+ } while (doc_item != NULL);
+
psort_info->child_status = FTS_CHILD_COMPLETE;
os_event_set(psort_info->psort_common->sort_event);
psort_info->child_status = FTS_CHILD_EXITING;
diff --git a/storage/xtradb/row/row0log.cc b/storage/xtradb/row/row0log.cc
index 49f9eb842b1..0c5ae2d3125 100644
--- a/storage/xtradb/row/row0log.cc
+++ b/storage/xtradb/row/row0log.cc
@@ -1199,8 +1199,7 @@ row_log_table_blob_alloc(
/******************************************************//**
Converts a log record to a table row.
-@return converted row, or NULL if the conversion fails
-or the transaction has been rolled back */
+@return converted row, or NULL if the conversion fails */
static __attribute__((nonnull, warn_unused_result))
const dtuple_t*
row_log_table_apply_convert_mrec(
@@ -1653,9 +1652,6 @@ dberr_t
row_log_table_apply_update(
/*=======================*/
que_thr_t* thr, /*!< in: query graph */
- ulint trx_id_col, /*!< in: position of
- DB_TRX_ID in the
- old clustered index */
ulint new_trx_id_col, /*!< in: position of
DB_TRX_ID in the new
clustered index */
@@ -1716,14 +1712,14 @@ row_log_table_apply_update(
if (page_rec_is_infimum(btr_pcur_get_rec(&pcur))
|| btr_pcur_get_low_match(&pcur) < index->n_uniq) {
+ ut_ad(0);
+ error = DB_CORRUPTION;
+func_exit:
mtr_commit(&mtr);
-insert:
+func_exit_committed:
ut_ad(mtr.state == MTR_COMMITTED);
- /* The row was not found. Insert it. */
- error = row_log_table_apply_insert_low(
- thr, row, trx_id, offsets_heap, heap, dup);
+
if (error != DB_SUCCESS) {
-err_exit:
/* Report the erroneous row using the new
version of the table. */
innobase_row_to_mysql(dup->table, log->table, row);
@@ -1750,26 +1746,17 @@ err_exit:
goto func_exit;
}
- if (rec_offs_any_extern(cur_offsets)) {
+ const bool pk_updated
+ = upd_get_nth_field(update, 0)->field_no < new_trx_id_col;
+
+ if (pk_updated || rec_offs_any_extern(cur_offsets)) {
/* If the record contains any externally stored
columns, perform the update by delete and insert,
because we will not write any undo log that would
allow purge to free any orphaned externally stored
columns. */
-delete_insert:
- error = row_log_table_apply_delete_low(
- &pcur, cur_offsets, NULL, heap, &mtr);
- ut_ad(mtr.state == MTR_COMMITTED);
-
- if (error != DB_SUCCESS) {
- goto err_exit;
- }
- goto insert;
- }
-
- if (upd_get_nth_field(update, 0)->field_no < new_trx_id_col) {
- if (dup->index->online_log->same_pk) {
+ if (pk_updated && dup->index->online_log->same_pk) {
/* The ROW_T_UPDATE log record should only be
written when the PRIMARY KEY fields of the
record did not change in the old table. We
@@ -1781,40 +1768,16 @@ delete_insert:
goto func_exit;
}
- /* The PRIMARY KEY columns have changed.
- Delete the record with the old PRIMARY KEY value,
- provided that it carries the same
- DB_TRX_ID,DB_ROLL_PTR. Then, insert the new row. */
- ulint len;
- const byte* cur_trx_roll = rec_get_nth_field(
- mrec, offsets, trx_id_col, &len);
- ut_ad(len == DATA_TRX_ID_LEN);
- const dfield_t* new_trx_roll = dtuple_get_nth_field(
- old_pk, new_trx_id_col);
- /* We assume that DB_TRX_ID,DB_ROLL_PTR are stored
- in one contiguous block. */
- ut_ad(rec_get_nth_field(mrec, offsets, trx_id_col + 1, &len)
- == cur_trx_roll + DATA_TRX_ID_LEN);
- ut_ad(len == DATA_ROLL_PTR_LEN);
- ut_ad(new_trx_roll->len == DATA_TRX_ID_LEN);
- ut_ad(dtuple_get_nth_field(old_pk, new_trx_id_col + 1)
- -> len == DATA_ROLL_PTR_LEN);
- ut_ad(static_cast<const byte*>(
- dtuple_get_nth_field(old_pk, new_trx_id_col + 1)
- ->data)
- == static_cast<const byte*>(new_trx_roll->data)
- + DATA_TRX_ID_LEN);
-
- if (!memcmp(cur_trx_roll, new_trx_roll->data,
- DATA_TRX_ID_LEN + DATA_ROLL_PTR_LEN)) {
- /* The old row exists. Remove it. */
- goto delete_insert;
- }
-
- /* Unless we called row_log_table_apply_delete_low(),
- this will likely cause a duplicate key error. */
- mtr_commit(&mtr);
- goto insert;
+ error = row_log_table_apply_delete_low(
+ &pcur, cur_offsets, NULL, heap, &mtr);
+ ut_ad(mtr.state == MTR_COMMITTED);
+
+ if (error == DB_SUCCESS) {
+ error = row_log_table_apply_insert_low(
+ thr, row, trx_id, offsets_heap, heap, dup);
+ }
+
+ goto func_exit_committed;
}
dtuple_t* old_row;
@@ -1913,13 +1876,7 @@ delete_insert:
mtr_start(&mtr);
}
-func_exit:
- mtr_commit(&mtr);
- if (error != DB_SUCCESS) {
- goto err_exit;
- }
-
- return(error);
+ goto func_exit;
}
/******************************************************//**
@@ -2200,7 +2157,7 @@ row_log_table_apply_op(
mrec, offsets, trx_id_col, &len);
ut_ad(len == DATA_TRX_ID_LEN);
*error = row_log_table_apply_update(
- thr, trx_id_col, new_trx_id_col,
+ thr, new_trx_id_col,
mrec, offsets, offsets_heap,
heap, dup, trx_read_trx_id(db_trx_id), old_pk);
}
@@ -2772,7 +2729,16 @@ row_log_apply_op_low(
switch (op) {
case ROW_OP_DELETE:
if (!exists) {
- /* The record was already deleted. */
+ /* The existing record matches the
+ unique secondary index key, but the
+ PRIMARY KEY columns differ. So, this
+ exact record does not exist. For
+ example, we could detect a duplicate
+ key error in some old index before
+ logging an ROW_OP_INSERT for our
+ index. This ROW_OP_DELETE could have
+ been logged for rolling back
+ TRX_UNDO_INSERT_REC. */
goto func_exit;
}
@@ -2812,7 +2778,24 @@ row_log_apply_op_low(
case ROW_OP_INSERT:
if (exists) {
/* The record already exists. There
- is nothing to be inserted. */
+ is nothing to be inserted.
+ This could happen when processing
+ TRX_UNDO_DEL_MARK_REC in statement
+ rollback:
+
+ UPDATE of PRIMARY KEY can lead to
+ statement rollback if the updated
+ value of the PRIMARY KEY already
+ exists. In this case, the UPDATE would
+ be mapped to DELETE;INSERT, and we
+ only wrote undo log for the DELETE
+ part. The duplicate key error would be
+ triggered before logging the INSERT
+ part.
+
+ Theoretically, we could also get a
+ similar situation when a DELETE operation
+ is blocked by a FOREIGN KEY constraint. */
goto func_exit;
}
@@ -2823,17 +2806,18 @@ row_log_apply_op_low(
goto insert_the_rec;
}
- /* Duplicate key error */
- ut_ad(dict_index_is_unique(index));
- row_merge_dup_report(dup, entry->fields);
- goto func_exit;
+ goto duplicate;
}
} else {
switch (op) {
rec_t* rec;
big_rec_t* big_rec;
case ROW_OP_DELETE:
- /* The record does not exist. */
+ /* The record does not exist. For example, we
+ could detect a duplicate key error in some old
+ index before logging an ROW_OP_INSERT for our
+ index. This ROW_OP_DELETE could be logged for
+ rolling back TRX_UNDO_INSERT_REC. */
goto func_exit;
case ROW_OP_INSERT:
if (dict_index_is_unique(index)
@@ -2843,8 +2827,11 @@ row_log_apply_op_low(
>= dict_index_get_n_unique(index))
&& (!index->n_nullable
|| !dtuple_contains_null(entry))) {
+duplicate:
/* Duplicate key */
+ ut_ad(dict_index_is_unique(index));
row_merge_dup_report(dup, entry->fields);
+ *error = DB_DUPLICATE_KEY;
goto func_exit;
}
insert_the_rec:
@@ -3368,7 +3355,7 @@ row_log_apply(
error = DB_SUCCESS;
}
- if (error != DB_SUCCESS || dup.n_dup) {
+ if (error != DB_SUCCESS) {
ut_a(!dict_table_is_discarded(index->table));
/* We set the flag directly instead of invoking
dict_set_corrupted_index_cache_only(index) here,
@@ -3376,12 +3363,9 @@ row_log_apply(
index->type |= DICT_CORRUPT;
index->table->drop_aborted = TRUE;
- if (error == DB_SUCCESS) {
- error = DB_DUPLICATE_KEY;
- }
-
dict_index_set_online_status(index, ONLINE_INDEX_ABORTED);
} else {
+ ut_ad(dup.n_dup == 0);
dict_index_set_online_status(index, ONLINE_INDEX_COMPLETE);
}
diff --git a/storage/xtradb/row/row0merge.cc b/storage/xtradb/row/row0merge.cc
index 08a3ecb5732..80cda9078ff 100644
--- a/storage/xtradb/row/row0merge.cc
+++ b/storage/xtradb/row/row0merge.cc
@@ -64,6 +64,9 @@ static ibool row_merge_print_block_write;
/* Whether to disable file system cache */
UNIV_INTERN char srv_disable_sort_file_cache;
+/* Maximum pending doc memory limit in bytes for a fts tokenization thread */
+#define FTS_PENDING_DOC_MEMORY_LIMIT 1000000
+
#ifdef UNIV_DEBUG
/******************************************************//**
Display a merge tuple. */
@@ -325,6 +328,9 @@ row_merge_buf_add(
if (index->type & DICT_FTS) {
fts_doc_item_t* doc_item;
byte* value;
+ void* ptr;
+ const ulint max_trial_count = 10000;
+ ulint trial_count = 0;
/* fetch Doc ID if it already exists
in the row, and not supplied by the
@@ -354,13 +360,12 @@ row_merge_buf_add(
continue;
}
- doc_item = static_cast<fts_doc_item_t*>(
- mem_heap_alloc(
- buf->heap,
- sizeof(*doc_item)));
+ ptr = ut_malloc(sizeof(*doc_item)
+ + field->len);
- value = static_cast<byte*>(
- ut_malloc(field->len));
+ doc_item = static_cast<fts_doc_item_t*>(ptr);
+ value = static_cast<byte*>(ptr)
+ + sizeof(*doc_item);
memcpy(value, field->data, field->len);
field->data = value;
@@ -369,10 +374,29 @@ row_merge_buf_add(
bucket = *doc_id % fts_sort_pll_degree;
- UT_LIST_ADD_LAST(
- doc_list,
- psort_info[bucket].fts_doc_list,
- doc_item);
+ /* Add doc item to fts_doc_list */
+ mutex_enter(&psort_info[bucket].mutex);
+
+ if (psort_info[bucket].error == DB_SUCCESS) {
+ UT_LIST_ADD_LAST(
+ doc_list,
+ psort_info[bucket].fts_doc_list,
+ doc_item);
+ psort_info[bucket].memory_used +=
+ sizeof(*doc_item) + field->len;
+ } else {
+ ut_free(doc_item);
+ }
+
+ mutex_exit(&psort_info[bucket].mutex);
+
+ /* Sleep when memory used exceeds limit*/
+ while (psort_info[bucket].memory_used
+ > FTS_PENDING_DOC_MEMORY_LIMIT
+ && trial_count++ < max_trial_count) {
+ os_thread_sleep(1000);
+ }
+
n_row_added = 1;
continue;
}
@@ -1577,12 +1601,28 @@ write_buffers:
max_doc_id = doc_id;
}
+ if (buf->index->type & DICT_FTS) {
+ /* Check if error occurs in child thread */
+ for (ulint j = 0; j < fts_sort_pll_degree; j++) {
+ if (psort_info[j].error != DB_SUCCESS) {
+ err = psort_info[j].error;
+ trx->error_key_num = i;
+ break;
+ }
+ }
+
+ if (err != DB_SUCCESS) {
+ break;
+ }
+ }
+
continue;
}
- if ((buf->index->type & DICT_FTS)
- && (!row || !doc_id)) {
- continue;
+ if (buf->index->type & DICT_FTS) {
+ if (!row || !doc_id) {
+ continue;
+ }
}
/* The buffer must be sufficiently large
@@ -1640,7 +1680,7 @@ write_buffers:
if (!row_merge_write(file->fd, file->offset++,
block)) {
- err = DB_OUT_OF_FILE_SPACE;
+ err = DB_TEMP_FILE_WRITE_FAILURE;
trx->error_key_num = i;
break;
}
@@ -1695,11 +1735,25 @@ all_done:
ulint trial_count = 0;
const ulint max_trial_count = 10000;
+wait_again:
+ /* Check if error occurs in child thread */
+ for (ulint j = 0; j < fts_sort_pll_degree; j++) {
+ if (psort_info[j].error != DB_SUCCESS) {
+ err = psort_info[j].error;
+ trx->error_key_num = j;
+ break;
+ }
+ }
+
/* Tell all children that parent has done scanning */
for (ulint i = 0; i < fts_sort_pll_degree; i++) {
- psort_info[i].state = FTS_PARENT_COMPLETE;
+ if (err == DB_SUCCESS) {
+ psort_info[i].state = FTS_PARENT_COMPLETE;
+ } else {
+ psort_info[i].state = FTS_PARENT_EXITING;
+ }
}
-wait_again:
+
/* Now wait all children to report back to be completed */
os_event_wait_time_low(fts_parallel_sort_event,
1000000, sig_count);
@@ -1754,9 +1808,15 @@ wait_again:
/* Update the next Doc ID we used. Table should be locked, so
no concurrent DML */
- if (max_doc_id) {
- fts_update_next_doc_id(
- 0, new_table, old_table->name, max_doc_id);
+ if (max_doc_id && err == DB_SUCCESS) {
+ /* Sync fts cache for other fts indexes to keep all
+ fts indexes consistent in sync_doc_id. */
+ err = fts_sync_table(const_cast<dict_table_t*>(new_table));
+
+ if (err == DB_SUCCESS) {
+ fts_update_next_doc_id(
+ 0, new_table, old_table->name, max_doc_id);
+ }
}
trx->op_info = "";
@@ -3395,6 +3455,7 @@ row_merge_build_indexes(
fts_psort_t* psort_info = NULL;
fts_psort_t* merge_info = NULL;
ib_int64_t sig_count = 0;
+ bool fts_psort_initiated = false;
DBUG_ENTER("row_merge_build_indexes");
ut_ad(!srv_read_only_mode);
@@ -3451,6 +3512,10 @@ row_merge_build_indexes(
row_fts_psort_info_init(
trx, dup, new_table, opt_doc_id_size,
&psort_info, &merge_info);
+
+ /* "We need to ensure that we free the resources
+ allocated */
+ fts_psort_initiated = true;
}
}
@@ -3573,6 +3638,7 @@ wait_again:
if (indexes[i]->type & DICT_FTS) {
row_fts_psort_info_destroy(psort_info, merge_info);
+ fts_psort_initiated = false;
} else if (error != DB_SUCCESS || !online) {
/* Do not apply any online log. */
} else if (old_table != new_table) {
@@ -3609,6 +3675,12 @@ func_exit:
error = DB_TOO_MANY_CONCURRENT_TRXS;
trx->error_state = error;);
+ if (fts_psort_initiated) {
+ /* Clean up FTS psort related resource */
+ row_fts_psort_info_destroy(psort_info, merge_info);
+ fts_psort_initiated = false;
+ }
+
row_merge_file_destroy_low(tmpfd);
for (i = 0; i < n_indexes; i++) {
diff --git a/storage/xtradb/row/row0mysql.cc b/storage/xtradb/row/row0mysql.cc
index 7748bd747d9..b590a04b3e8 100644
--- a/storage/xtradb/row/row0mysql.cc
+++ b/storage/xtradb/row/row0mysql.cc
@@ -3630,7 +3630,7 @@ next_rec:
if (has_internal_doc_id && table->fts->cache) {
table->fts->fts_status |= TABLE_DICT_LOCKED;
fts_update_next_doc_id(trx, table, NULL, 0);
- fts_cache_clear(table->fts->cache, TRUE);
+ fts_cache_clear(table->fts->cache);
fts_cache_init(table->fts->cache);
table->fts->fts_status &= ~TABLE_DICT_LOCKED;
}
diff --git a/storage/xtradb/row/row0quiesce.cc b/storage/xtradb/row/row0quiesce.cc
index 79cced1c533..a59a6088ad6 100644
--- a/storage/xtradb/row/row0quiesce.cc
+++ b/storage/xtradb/row/row0quiesce.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2012, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
diff --git a/storage/xtradb/row/row0sel.cc b/storage/xtradb/row/row0sel.cc
index 95ebc143e61..c68b4de1125 100644
--- a/storage/xtradb/row/row0sel.cc
+++ b/storage/xtradb/row/row0sel.cc
@@ -3225,48 +3225,78 @@ sel_restore_position_for_mysql(
mtr_t* mtr) /*!< in: mtr; CAUTION: may commit
mtr temporarily! */
{
- ibool success;
- ulint relative_position;
-
- relative_position = pcur->rel_pos;
+ ibool success;
success = btr_pcur_restore_position(latch_mode, pcur, mtr);
*same_user_rec = success;
- if (relative_position == BTR_PCUR_ON) {
- if (success) {
- return(FALSE);
- }
-
- if (moves_up) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
- return(TRUE);
+ ut_ad(!success || pcur->rel_pos == BTR_PCUR_ON);
+#ifdef UNIV_DEBUG
+ if (pcur->pos_state == BTR_PCUR_IS_POSITIONED_OPTIMISTIC) {
+ ut_ad(pcur->rel_pos == BTR_PCUR_BEFORE
+ || pcur->rel_pos == BTR_PCUR_AFTER);
+ } else {
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad((pcur->rel_pos == BTR_PCUR_ON)
+ == btr_pcur_is_on_user_rec(pcur));
}
+#endif
- if (relative_position == BTR_PCUR_AFTER
- || relative_position == BTR_PCUR_AFTER_LAST_IN_TREE) {
+ /* The position may need be adjusted for rel_pos and moves_up. */
- if (moves_up) {
+ switch (pcur->rel_pos) {
+ case BTR_PCUR_ON:
+ if (!success && moves_up) {
+next:
+ btr_pcur_move_to_next(pcur, mtr);
return(TRUE);
}
-
- if (btr_pcur_is_on_user_rec(pcur)) {
+ return(!success);
+ case BTR_PCUR_AFTER_LAST_IN_TREE:
+ case BTR_PCUR_BEFORE_FIRST_IN_TREE:
+ return(TRUE);
+ case BTR_PCUR_AFTER:
+ /* positioned to record after pcur->old_rec. */
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+prev:
+ if (btr_pcur_is_on_user_rec(pcur) && !moves_up) {
btr_pcur_move_to_prev(pcur, mtr);
}
-
return(TRUE);
+ case BTR_PCUR_BEFORE:
+ /* For non optimistic restoration:
+ The position is now set to the record before pcur->old_rec.
+
+ For optimistic restoration:
+ The position also needs to take the previous search_mode into
+ consideration. */
+
+ switch (pcur->pos_state) {
+ case BTR_PCUR_IS_POSITIONED_OPTIMISTIC:
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+ if (pcur->search_mode == PAGE_CUR_GE) {
+ /* Positioned during Greater or Equal search
+ with BTR_PCUR_BEFORE. Optimistic restore to
+ the same record. If scanning for lower then
+ we must move to previous record.
+ This can happen with:
+ HANDLER READ idx a = (const);
+ HANDLER READ idx PREV; */
+ goto prev;
+ }
+ return(TRUE);
+ case BTR_PCUR_IS_POSITIONED:
+ if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
+ goto next;
+ }
+ return(TRUE);
+ case BTR_PCUR_WAS_POSITIONED:
+ case BTR_PCUR_NOT_POSITIONED:
+ break;
+ }
}
-
- ut_ad(relative_position == BTR_PCUR_BEFORE
- || relative_position == BTR_PCUR_BEFORE_FIRST_IN_TREE);
-
- if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
+ ut_ad(0);
return(TRUE);
}
@@ -4368,6 +4398,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
#if 0
ut_print_name(stderr, trx, FALSE, index->name);
@@ -4409,6 +4447,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
#if 0
ut_print_name(stderr, trx, FALSE, index->name);
@@ -5119,6 +5165,7 @@ normal_return:
pre-fetch queue, but we definitely wrote to the record
buffer passed to use by MySQL. */
+ DEBUG_SYNC_C("row_search_cached_row");
err = DB_SUCCESS;
}
diff --git a/storage/xtradb/srv/srv0mon.cc b/storage/xtradb/srv/srv0mon.cc
index d98315ae9a2..ea346566e57 100644
--- a/storage/xtradb/srv/srv0mon.cc
+++ b/storage/xtradb/srv/srv0mon.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2010, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2010, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2012, Facebook Inc.
This program is free software; you can redistribute it and/or modify it under
@@ -884,13 +884,33 @@ static monitor_info_t innodb_counter_info[] =
MONITOR_MODULE,
MONITOR_DEFAULT_START, MONITOR_MODULE_INDEX},
- {"index_splits", "index", "Number of index splits",
+ {"index_page_splits", "index", "Number of index page splits",
MONITOR_NONE,
MONITOR_DEFAULT_START, MONITOR_INDEX_SPLIT},
- {"index_merges", "index", "Number of index merges",
+ {"index_page_merge_attempts", "index",
+ "Number of index page merge attempts",
MONITOR_NONE,
- MONITOR_DEFAULT_START, MONITOR_INDEX_MERGE},
+ MONITOR_DEFAULT_START, MONITOR_INDEX_MERGE_ATTEMPTS},
+
+ {"index_page_merge_successful", "index",
+ "Number of successful index page merges",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_MERGE_SUCCESSFUL},
+
+ {"index_page_reorg_attempts", "index",
+ "Number of index page reorganization attempts",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_REORG_ATTEMPTS},
+
+ {"index_page_reorg_successful", "index",
+ "Number of successful index page reorganizations",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_REORG_SUCCESSFUL},
+
+ {"index_page_discards", "index", "Number of index pages discarded",
+ MONITOR_NONE,
+ MONITOR_DEFAULT_START, MONITOR_INDEX_DISCARD},
/* ========== Counters for Adaptive Hash Index ========== */
{"module_adaptive_hash", "adaptive_hash_index", "Adpative Hash Index",
diff --git a/storage/xtradb/srv/srv0start.cc b/storage/xtradb/srv/srv0start.cc
index 3ddfd9ab3a4..64d2d4cc896 100644
--- a/storage/xtradb/srv/srv0start.cc
+++ b/storage/xtradb/srv/srv0start.cc
@@ -38,6 +38,9 @@ Starts the InnoDB database server
Created 2/16/1996 Heikki Tuuri
*************************************************************************/
+#include "mysqld.h"
+#include "pars0pars.h"
+#include "row0ftsort.h"
#include "ut0mem.h"
#include "mem0mem.h"
#include "data0data.h"
@@ -1533,6 +1536,10 @@ innobase_start_or_create_for_mysql(void)
char* logfile0 = NULL;
size_t dirnamelen;
+ if (srv_force_recovery > SRV_FORCE_NO_TRX_UNDO) {
+ srv_read_only_mode = true;
+ }
+
if (srv_read_only_mode) {
ib_logf(IB_LOG_LEVEL_INFO, "Started in read only mode");
}
@@ -1798,23 +1805,34 @@ innobase_start_or_create_for_mysql(void)
maximum number of threads that can wait in the 'srv_conc array' for
their time to enter InnoDB. */
- if (srv_buf_pool_size >= 1000 * 1024 * 1024) {
- /* If buffer pool is less than 1000 MB,
- assume fewer threads. Also use only one
- buffer pool instance */
- srv_max_n_threads = 50000;
-
- } else if (srv_buf_pool_size >= 8 * 1024 * 1024) {
-
+#define BUF_POOL_SIZE_THRESHOLD (1024 * 1024 * 1024)
+ srv_max_n_threads = 1 /* io_ibuf_thread */
+ + 1 /* io_log_thread */
+ + 1 /* lock_wait_timeout_thread */
+ + 1 /* srv_error_monitor_thread */
+ + 1 /* srv_monitor_thread */
+ + 1 /* srv_master_thread */
+ + 1 /* srv_purge_coordinator_thread */
+ + 1 /* buf_dump_thread */
+ + 1 /* dict_stats_thread */
+ + 1 /* fts_optimize_thread */
+ + 1 /* recv_writer_thread */
+ + 1 /* buf_flush_page_cleaner_thread */
+ + 1 /* trx_rollback_or_clean_all_recovered */
+ + 128 /* added as margin, for use of
+ InnoDB Memcached etc. */
+ + max_connections
+ + srv_n_read_io_threads
+ + srv_n_write_io_threads
+ + srv_n_purge_threads
+ /* FTS Parallel Sort */
+ + fts_sort_pll_degree * FTS_NUM_AUX_INDEX
+ * max_connections;
+
+ if (srv_buf_pool_size < BUF_POOL_SIZE_THRESHOLD) {
+ /* If buffer pool is less than 1 GB,
+ use only one buffer pool instance */
srv_buf_pool_instances = 1;
- srv_max_n_threads = 10000;
- } else {
- srv_buf_pool_instances = 1;
-
- /* Saves several MB of memory, especially in
- 64-bit computers */
-
- srv_max_n_threads = 1000;
}
srv_boot();
@@ -2629,9 +2647,8 @@ files_checked:
srv_undo_tablespaces, srv_undo_logs);
if (srv_available_undo_logs == ULINT_UNDEFINED) {
- /* Can only happen if force recovery is set. */
- ut_a(srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO
- || srv_read_only_mode);
+ /* Can only happen if server is read only. */
+ ut_a(srv_read_only_mode);
srv_undo_logs = ULONG_UNDEFINED;
}
diff --git a/storage/xtradb/sync/sync0arr.cc b/storage/xtradb/sync/sync0arr.cc
index 3eed5ae47f7..9dd0259b3f9 100644
--- a/storage/xtradb/sync/sync0arr.cc
+++ b/storage/xtradb/sync/sync0arr.cc
@@ -315,9 +315,10 @@ sync_cell_get_event(
/******************************************************************//**
Reserves a wait array cell for waiting for an object.
-The event of the cell is reset to nonsignalled state. */
+The event of the cell is reset to nonsignalled state.
+@return true if free cell is found, otherwise false */
UNIV_INTERN
-void
+bool
sync_array_reserve_cell(
/*====================*/
sync_array_t* arr, /*!< in: wait array */
@@ -374,13 +375,12 @@ sync_array_reserve_cell(
cell->thread = os_thread_get_curr_id();
- return;
+ return(true);
}
}
- ut_error; /* No free cell found */
-
- return;
+ /* No free cell found */
+ return false;
}
/******************************************************************//**
@@ -499,7 +499,7 @@ sync_array_cell_print(
if (type == SYNC_PRIO_MUTEX) {
fprintf(file,
- "high-priority waiters flag %lu\n",
+ "high-priority waiters count %lu\n",
(ulong) prio_mutex->high_priority_waiters);
}
@@ -566,8 +566,8 @@ sync_array_cell_print(
}
if (prio_rwlock) {
- fprintf(file, "high priority S waiters flag %lu, "
- "high priority X waiters flag %lu, "
+ fprintf(file, "high priority S waiters count %lu, "
+ "high priority X waiters count %lu, "
"wait-exclusive waiter is "
"high priority if exists: %lu\n",
prio_rwlock->high_priority_s_waiters,
@@ -1165,7 +1165,7 @@ sync_array_init(
ut_a(sync_wait_array == NULL);
ut_a(srv_sync_array_size > 0);
- ut_a(n_threads > srv_sync_array_size);
+ ut_a(n_threads > 0);
sync_array_size = srv_sync_array_size;
diff --git a/storage/xtradb/sync/sync0rw.cc b/storage/xtradb/sync/sync0rw.cc
index 785e877d14c..2ff75b55cf6 100644
--- a/storage/xtradb/sync/sync0rw.cc
+++ b/storage/xtradb/sync/sync0rw.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Portions of this file contain modifications contributed and copyrighted by
@@ -33,6 +33,7 @@ Created 9/11/1995 Heikki Tuuri
#include "sync0rw.h"
#ifdef UNIV_NONINL
#include "sync0rw.ic"
+#include "sync0arr.ic"
#endif
#include "os0thread.h"
@@ -408,8 +409,6 @@ rw_lock_validate(
/*=============*/
prio_rw_lock_t* lock) /*!< in: rw-lock */
{
- ut_ad(lock->high_priority_s_waiters < 2);
- ut_ad(lock->high_priority_x_waiters < 2);
return(rw_lock_validate(&lock->base_lock));
}
@@ -491,26 +490,32 @@ lock_loop:
return; /* Success */
} else {
+ prio_rw_lock_t* prio_rw_lock = NULL;
+
if (i > 0 && i < SYNC_SPIN_ROUNDS) {
goto lock_loop;
}
rw_lock_stats.rw_s_spin_round_count.add(counter_index, i);
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, lock,
- high_priority ? PRIO_RW_LOCK_SHARED : RW_LOCK_SHARED,
- file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(lock,
+ high_priority
+ ? PRIO_RW_LOCK_SHARED
+ : RW_LOCK_SHARED,
+ file_name,
+ line, &index);
/* Set waiters before checking lock_word to ensure wake-up
signal is sent. This may lead to some unnecessary signals. */
if (high_priority) {
- prio_rw_lock_t* prio_rw_lock
- = (prio_rw_lock_t *) _lock;
- prio_rw_lock->high_priority_s_waiters = 1;
+
+ prio_rw_lock = reinterpret_cast<prio_rw_lock_t *>
+ (_lock);
+ os_atomic_increment_ulint(
+ &prio_rw_lock->high_priority_s_waiters,
+ 1);
} else {
+
rw_lock_set_waiter_flag(lock);
}
@@ -519,6 +524,12 @@ lock_loop:
&& (TRUE == rw_lock_s_lock_low(lock, pass,
file_name, line))) {
sync_array_free_cell(sync_arr, index);
+ if (prio_rw_lock) {
+
+ os_atomic_decrement_ulint(
+ &prio_rw_lock->high_priority_s_waiters,
+ 1);
+ }
return; /* Success */
}
@@ -536,6 +547,13 @@ lock_loop:
sync_array_wait_event(sync_arr, index);
+ if (prio_rw_lock) {
+
+ os_atomic_decrement_ulint(
+ &prio_rw_lock->high_priority_s_waiters,
+ 1);
+ }
+
i = 0;
goto lock_loop;
}
@@ -584,6 +602,7 @@ rw_lock_x_lock_wait(
ulint i = 0;
sync_array_t* sync_arr;
size_t counter_index;
+ prio_rw_lock_t* prio_rw_lock = NULL;
/* We reuse the thread id to index into the counter, cache
it here for efficiency. */
@@ -604,15 +623,14 @@ rw_lock_x_lock_wait(
/* If there is still a reader, then go to sleep.*/
rw_lock_stats.rw_x_spin_round_count.add(counter_index, i);
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, lock, RW_LOCK_WAIT_EX,
- file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(lock,
+ RW_LOCK_WAIT_EX,
+ file_name,
+ line, &index);
if (high_priority) {
- prio_rw_lock_t* prio_rw_lock
+ prio_rw_lock
= reinterpret_cast<prio_rw_lock_t *>(lock);
prio_rw_lock->high_priority_wait_ex_waiter = 1;
}
@@ -643,6 +661,10 @@ rw_lock_x_lock_wait(
We must pass the while-loop check to proceed.*/
} else {
sync_array_free_cell(sync_arr, index);
+ if (prio_rw_lock) {
+
+ prio_rw_lock->high_priority_wait_ex_waiter = 0;
+ }
}
}
rw_lock_stats.rw_x_spin_round_count.add(counter_index, i);
@@ -739,6 +761,7 @@ rw_lock_x_lock_func(
sync_array_t* sync_arr;
ibool spinning = FALSE;
size_t counter_index;
+ prio_rw_lock_t* prio_lock = NULL;
/* We reuse the thread id to index into the counter, cache
it here for efficiency. */
@@ -810,24 +833,31 @@ lock_loop:
}
}
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, lock,
- high_priority ? PRIO_RW_LOCK_EX : RW_LOCK_EX,
- file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(lock,
+ high_priority
+ ? PRIO_RW_LOCK_EX
+ : RW_LOCK_EX,
+ file_name, line, &index);
/* Waiters must be set before checking lock_word, to ensure signal
is sent. This could lead to a few unnecessary wake-up signals. */
if (high_priority) {
- prio_rw_lock_t* prio_lock = (prio_rw_lock_t *)lock;
- prio_lock->high_priority_x_waiters = 1;
+
+ prio_lock = reinterpret_cast<prio_rw_lock_t *>(lock);
+ os_atomic_increment_ulint(&prio_lock->high_priority_x_waiters,
+ 1);
} else {
rw_lock_set_waiter_flag(lock);
}
if (rw_lock_x_lock_low(lock, high_priority, pass, file_name, line)) {
sync_array_free_cell(sync_arr, index);
+ if (prio_lock) {
+
+ os_atomic_decrement_ulint(
+ &prio_lock->high_priority_x_waiters,
+ 1);
+ }
return; /* Locking succeeded */
}
@@ -845,6 +875,12 @@ lock_loop:
sync_array_wait_event(sync_arr, index);
+ if (prio_lock) {
+
+ os_atomic_decrement_ulint(&prio_lock->high_priority_x_waiters,
+ 1);
+ }
+
i = 0;
goto lock_loop;
}
diff --git a/storage/xtradb/sync/sync0sync.cc b/storage/xtradb/sync/sync0sync.cc
index e4c34faf13d..d6033d9d2ab 100644
--- a/storage/xtradb/sync/sync0sync.cc
+++ b/storage/xtradb/sync/sync0sync.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Portions of this file contain modifications contributed and copyrighted by
@@ -33,6 +33,7 @@ Created 9/5/1995 Heikki Tuuri
#include "sync0sync.h"
#ifdef UNIV_NONINL
#include "sync0sync.ic"
+#include "sync0arr.ic"
#endif
#include "sync0rw.h"
@@ -126,7 +127,7 @@ it and did not see the waiters byte set to 1, a case which would lead the
other thread to an infinite wait.
LEMMA 1: After a thread resets the event of a mutex (or rw_lock), some
-=======
+======
thread will eventually call os_event_set() on that particular event.
Thus no infinite wait is possible in this case.
@@ -139,7 +140,7 @@ os_event_set() with the mutex as an argument.
Q.E.D.
LEMMA 2: If an os_event_set() call is made after some thread has called
-=======
+======
the os_event_reset() and before it starts wait on that event, the call
will not be lost to the second thread. This is true even if there is an
intervening call to os_event_reset() by another thread.
@@ -550,7 +551,8 @@ mutex_spin_wait(
/* The typecast below is performed for some of the priority mutexes
too, when !high_priority. This exploits the fact that regular mutex is
a prefix of the priority mutex in memory. */
- ib_mutex_t* mutex = (ib_mutex_t *) _mutex;
+ ib_mutex_t* mutex = (ib_mutex_t *) _mutex;
+ ib_prio_mutex_t* prio_mutex = NULL;
counter_index = (size_t) os_thread_get_curr_id();
@@ -611,11 +613,11 @@ spin_loop:
goto spin_loop;
}
- sync_arr = sync_array_get();
-
- sync_array_reserve_cell(
- sync_arr, mutex, high_priority ? SYNC_PRIO_MUTEX : SYNC_MUTEX,
- file_name, line, &index);
+ sync_arr = sync_array_get_and_reserve_cell(mutex,
+ high_priority
+ ? SYNC_PRIO_MUTEX
+ : SYNC_MUTEX,
+ file_name, line, &index);
/* The memory order of the array reservation and the change in the
waiters field is important: when we suspend a thread, we first
@@ -624,8 +626,12 @@ spin_loop:
then the event is set to the signaled state. */
if (high_priority) {
- ((ib_prio_mutex_t *)_mutex)->high_priority_waiters = 1;
+
+ prio_mutex = reinterpret_cast<ib_prio_mutex_t *>(_mutex);
+ os_atomic_increment_ulint(&prio_mutex->high_priority_waiters,
+ 1);
} else {
+
mutex_set_waiters(mutex, 1);
}
@@ -641,6 +647,11 @@ spin_loop:
mutex_set_debug_info(mutex, file_name, line);
#endif
+ if (prio_mutex) {
+ os_atomic_decrement_ulint(
+ &prio_mutex->high_priority_waiters,
+ 1);
+ }
return;
/* Note that in this case we leave the waiters field
@@ -658,6 +669,13 @@ spin_loop:
mutex->count_os_wait++;
sync_array_wait_event(sync_arr, index);
+
+ if (prio_mutex) {
+
+ os_atomic_decrement_ulint(&prio_mutex->high_priority_waiters,
+ 1);
+ }
+
goto mutex_loop;
}
@@ -1216,6 +1234,7 @@ sync_thread_add_level(
case SYNC_RECV:
case SYNC_FTS_BG_THREADS:
case SYNC_WORK_QUEUE:
+ case SYNC_FTS_TOKENIZE:
case SYNC_FTS_OPTIMIZE:
case SYNC_FTS_CACHE:
case SYNC_FTS_CACHE_INIT:
diff --git a/storage/xtradb/trx/trx0purge.cc b/storage/xtradb/trx/trx0purge.cc
index 3dfcf23c3f5..9d9fe73de6e 100644
--- a/storage/xtradb/trx/trx0purge.cc
+++ b/storage/xtradb/trx/trx0purge.cc
@@ -1261,11 +1261,13 @@ run_synchronously:
ut_a(purge_sys->n_submitted == purge_sys->n_completed);
#ifdef UNIV_DEBUG
+ rw_lock_x_lock(&purge_sys->latch);
if (purge_sys->limit.trx_no == 0) {
purge_sys->done = purge_sys->iter;
} else {
purge_sys->done = purge_sys->limit;
}
+ rw_lock_x_unlock(&purge_sys->latch);
#endif /* UNIV_DEBUG */
if (truncate) {
diff --git a/storage/xtradb/trx/trx0sys.cc b/storage/xtradb/trx/trx0sys.cc
index b86ee90b1e9..aab99a793f6 100644
--- a/storage/xtradb/trx/trx0sys.cc
+++ b/storage/xtradb/trx/trx0sys.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -891,7 +891,7 @@ trx_sys_create_rsegs(
ut_a(n_spaces < TRX_SYS_N_RSEGS);
ut_a(n_rsegs <= TRX_SYS_N_RSEGS);
- if (srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO || srv_read_only_mode) {
+ if (srv_read_only_mode) {
return(ULINT_UNDEFINED);
}
diff --git a/storage/xtradb/trx/trx0trx.cc b/storage/xtradb/trx/trx0trx.cc
index 432cb8f6330..8c4bc087038 100644
--- a/storage/xtradb/trx/trx0trx.cc
+++ b/storage/xtradb/trx/trx0trx.cc
@@ -276,6 +276,12 @@ trx_create(void)
trx->op_info = "";
+ trx->api_trx = false;
+
+ trx->api_auto_commit = false;
+
+ trx->read_write = true;
+
heap = mem_heap_create(sizeof(ib_vector_t) + sizeof(void*) * 8);
heap_alloc = ib_heap_allocator_create(heap);
@@ -557,7 +563,6 @@ trx_list_rw_insert_ordered(
if (trx2 == NULL) {
UT_LIST_ADD_FIRST(trx_list, trx_sys->rw_trx_list, trx);
- ut_d(trx_sys->rw_max_trx_id = trx->id);
} else {
UT_LIST_INSERT_AFTER(
trx_list, trx_sys->rw_trx_list, trx2, trx);
@@ -566,6 +571,12 @@ trx_list_rw_insert_ordered(
UT_LIST_ADD_LAST(trx_list, trx_sys->rw_trx_list, trx);
}
+#ifdef UNIV_DEBUG
+ if (trx->id > trx_sys->rw_max_trx_id) {
+ trx_sys->rw_max_trx_id = trx->id;
+ }
+#endif /* UNIV_DEBUG */
+
ut_ad(!trx->in_rw_trx_list);
ut_d(trx->in_rw_trx_list = TRUE);
}
@@ -924,7 +935,7 @@ trx_assign_rseg_low(
trx_rseg_t* rseg;
static ulint latest_rseg = 0;
- if (srv_force_recovery >= SRV_FORCE_NO_TRX_UNDO || srv_read_only_mode) {
+ if (srv_read_only_mode) {
ut_a(max_undo_logs == ULONG_UNDEFINED);
return(NULL);
}
@@ -940,7 +951,9 @@ trx_assign_rseg_low(
the array. Once we implement more flexible rollback segment
management this may not hold. The assertion checks for that case. */
- ut_a(trx_sys->rseg_array[0] != NULL);
+ if (trx_sys->rseg_array[0] == NULL) {
+ return(NULL);
+ }
/* Skip the system tablespace if we have more than one tablespace
defined for rollback segments. We want all UNDO records to be in
@@ -995,10 +1008,12 @@ trx_start_low(
ut_ad(UT_LIST_GET_LEN(trx->lock.trx_locks) == 0);
/* Check whether it is an AUTOCOMMIT SELECT */
- trx->auto_commit = thd_trx_is_auto_commit(trx->mysql_thd);
+ trx->auto_commit = (trx->api_trx && trx->api_auto_commit)
+ || thd_trx_is_auto_commit(trx->mysql_thd);
trx->read_only =
- (!trx->ddl && thd_trx_is_read_only(trx->mysql_thd))
+ (trx->api_trx && !trx->read_write)
+ || (!trx->ddl && thd_trx_is_read_only(trx->mysql_thd))
|| srv_read_only_mode;
if (!trx->auto_commit) {
@@ -1052,7 +1067,12 @@ trx_start_low(
ut_ad(!trx_is_autocommit_non_locking(trx));
UT_LIST_ADD_FIRST(trx_list, trx_sys->rw_trx_list, trx);
ut_d(trx->in_rw_trx_list = TRUE);
- ut_d(trx_sys->rw_max_trx_id = trx->id);
+
+#ifdef UNIV_DEBUG
+ if (trx->id > trx_sys->rw_max_trx_id) {
+ trx_sys->rw_max_trx_id = trx->id;
+ }
+#endif /* UNIV_DEBUG */
trx_reserve_descriptor(trx);
}
@@ -1495,8 +1515,6 @@ trx_commit_in_memory(
trx->dict_operation = TRX_DICT_OP_NONE;
- ut_ad(trx_sys->descr_n_used <= UT_LIST_GET_LEN(trx_sys->rw_trx_list));
-
trx->error_state = DB_SUCCESS;
/* trx->in_mysql_trx_list would hold between
diff --git a/storage/xtradb/ut/ut0ut.cc b/storage/xtradb/ut/ut0ut.cc
index f8a1593937a..f600ba1a895 100644
--- a/storage/xtradb/ut/ut0ut.cc
+++ b/storage/xtradb/ut/ut0ut.cc
@@ -821,6 +821,8 @@ ut_strerr(
return("Identifier name is too long");
case DB_FTS_EXCEED_RESULT_CACHE_LIMIT:
return("FTS query exceeds result cache limit");
+ case DB_TEMP_FILE_WRITE_FAILURE:
+ return("Temp file write failure");
/* do not add default: in order to produce a warning if new code
is added to the enum but not added here */
diff --git a/strings/CMakeLists.txt b/strings/CMakeLists.txt
index 7905c46e11a..e1cee8d9824 100644
--- a/strings/CMakeLists.txt
+++ b/strings/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2010, Oracle and/or its affiliates
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/strings/ctype-bin.c b/strings/ctype-bin.c
index 52dae7912af..6e861f38ae4 100644
--- a/strings/ctype-bin.c
+++ b/strings/ctype-bin.c
@@ -276,36 +276,43 @@ void my_hash_sort_8bit_bin(CHARSET_INFO *cs __attribute__((unused)),
const uchar *key, size_t len,
ulong *nr1, ulong *nr2)
{
- const uchar *pos = key;
-
+ ulong tmp1= *nr1;
+ ulong tmp2= *nr2;
+
/*
Remove trailing spaces. We have to do this to be able to compare
'A ' and 'A' as identical
*/
- key= skip_trailing_space(key, len);
+ const uchar *end = skip_trailing_space(key, len);
- for (; pos < (uchar*) key ; pos++)
+ for (; key < end ; key++)
{
- nr1[0]^=(ulong) ((((uint) nr1[0] & 63)+nr2[0]) *
- ((uint)*pos)) + (nr1[0] << 8);
- nr2[0]+=3;
+ tmp1^= (ulong) ((((uint) tmp1 & 63) + tmp2) *
+ ((uint) *key)) + (tmp1 << 8);
+ tmp2+= 3;
}
+
+ *nr1= tmp1;
+ *nr2= tmp2;
}
void my_hash_sort_bin(CHARSET_INFO *cs __attribute__((unused)),
const uchar *key, size_t len,ulong *nr1, ulong *nr2)
{
- const uchar *pos = key;
-
- key+= len;
-
- for (; pos < (uchar*) key ; pos++)
+ const uchar *end = key + len;
+ ulong tmp1= *nr1;
+ ulong tmp2= *nr2;
+
+ for (; key < end ; key++)
{
- nr1[0]^=(ulong) ((((uint) nr1[0] & 63)+nr2[0]) *
- ((uint)*pos)) + (nr1[0] << 8);
- nr2[0]+=3;
+ tmp1^= (ulong) ((((uint) tmp1 & 63) + tmp2) *
+ ((uint) *key)) + (tmp1 << 8);
+ tmp2+= 3;
}
+
+ *nr1= tmp1;
+ *nr2= tmp2;
}
diff --git a/strings/ctype-mb.c b/strings/ctype-mb.c
index 4c3256e2db8..f4e70fd1dd5 100644
--- a/strings/ctype-mb.c
+++ b/strings/ctype-mb.c
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2009-2011, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -680,18 +680,16 @@ void
my_hash_sort_mb_bin(CHARSET_INFO *cs __attribute__((unused)),
const uchar *key, size_t len,ulong *nr1, ulong *nr2)
{
- const uchar *pos = key;
-
/*
Remove trailing spaces. We have to do this to be able to compare
'A ' and 'A' as identical
*/
- key= skip_trailing_space(key, len);
+ const uchar *end = skip_trailing_space(key, len);
- for (; pos < (uchar*) key ; pos++)
+ for (; key < end ; key++)
{
nr1[0]^=(ulong) ((((uint) nr1[0] & 63)+nr2[0]) *
- ((uint)*pos)) + (nr1[0] << 8);
+ ((uint)*key)) + (nr1[0] << 8);
nr2[0]+=3;
}
}
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c
index 7a06570d5b5..f5484965314 100644
--- a/strings/ctype-simple.c
+++ b/strings/ctype-simple.c
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 MySQL AB, 2009 Sun Microsystems, Inc.
- Copyright (c) 2009-2011, Monty Program Ab
- Use is subject to license terms.
+/* Copyright (c) 2002, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/strings/ctype-uca.c b/strings/ctype-uca.c
index 87c441bf40b..5165a43e852 100644
--- a/strings/ctype-uca.c
+++ b/strings/ctype-uca.c
@@ -1,5 +1,5 @@
-/* Copyright (c) 2004, 2011, Oracle and/or its affiliates.
- Copyright (c) 2009, 2011, Monty Program Ab
+/* Copyright (c) 2004, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
@@ -22467,7 +22467,7 @@ wstr_to_str(char *str, size_t length, my_wc_t *wc, size_t wlength)
static void
my_charset_loader_error_for_rule(MY_CHARSET_LOADER *loader,
- const MY_COLL_RULE *r,
+ const MY_COLL_RULE *r __attribute__((unused)),
const char *name,
my_wc_t *wc, size_t wlength)
{
diff --git a/strings/ctype-ucs2.c b/strings/ctype-ucs2.c
index 8a5e92fd6ce..a7f948ebe3a 100644
--- a/strings/ctype-ucs2.c
+++ b/strings/ctype-ucs2.c
@@ -1,5 +1,5 @@
-/* Copyright (c) 2003, 2012, Oracle and/or its affiliates
- Copyright (c) 2009, 2013, Monty Program Ab.
+/* Copyright (c) 2003, 2013, Oracle and/or its affiliates
+ Copyright (c) 2009, 2014, SkySQL Ab.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
@@ -3311,17 +3311,15 @@ static
void my_hash_sort_ucs2_bin(CHARSET_INFO *cs __attribute__((unused)),
const uchar *key, size_t len,ulong *nr1, ulong *nr2)
{
- const uchar *pos = key;
-
- key+= len;
+ const uchar *end = key + len;
- while (key > pos+1 && key[-1] == ' ' && key[-2] == '\0')
- key-= 2;
+ while (end > key+1 && end[-1] == ' ' && end[-2] == '\0')
+ end-= 2;
- for (; pos < (uchar*) key ; pos++)
+ for (; key < (uchar*) end ; key++)
{
nr1[0]^=(ulong) ((((uint) nr1[0] & 63)+nr2[0]) *
- ((uint)*pos)) + (nr1[0] << 8);
+ ((uint)*key)) + (nr1[0] << 8);
nr2[0]+=3;
}
}
diff --git a/strings/ctype-utf8.c b/strings/ctype-utf8.c
index e564a85c828..aba179b154c 100644
--- a/strings/ctype-utf8.c
+++ b/strings/ctype-utf8.c
@@ -26,6 +26,7 @@
#define EILSEQ ENOENT
#endif
+#define IS_CONTINUATION_BYTE(c) (((c) ^ 0x80) < 0x40)
#define MY_UTF8MB3_GENERAL_CI MY_UTF8MB3 "_general_ci"
#define MY_UTF8MB3_GENERAL_CS MY_UTF8MB3 "_general_cs"
@@ -56,6 +57,46 @@
#define HAVE_UNIDATA
#endif
+
+#if defined(HAVE_CHARSET_utf8) || defined(HAVE_CHARSET_utf8mb4)
+
+static inline
+int my_valid_mbcharlen_utf8mb3(const uchar *s, const uchar *e)
+{
+ uchar c;
+
+ DBUG_ASSERT(s < e);
+ c= s[0];
+ if (c < 0x80)
+ return 1;
+
+ if (c < 0xc2)
+ return MY_CS_ILSEQ;
+
+ if (c < 0xe0)
+ {
+ if (s+2 > e) /* We need 2 characters */
+ return MY_CS_TOOSMALL2;
+
+ if (!(IS_CONTINUATION_BYTE(s[1])))
+ return MY_CS_ILSEQ;
+
+ return 2;
+ }
+
+ DBUG_ASSERT(c < 0xf0);
+ if (s+3 > e) /* We need 3 characters */
+ return MY_CS_TOOSMALL3;
+
+ if (!(IS_CONTINUATION_BYTE(s[1]) && IS_CONTINUATION_BYTE(s[2]) &&
+ (c >= 0xe1 || s[1] >= 0xa0)))
+ return MY_CS_ILSEQ;
+
+ return 3;
+}
+
+#endif /*HAVE_CHARSET_utf8 || HAVE_CHARSET_utf8mb4*/
+
#ifdef HAVE_UNIDATA
#include "my_uctype.h"
@@ -4806,7 +4847,7 @@ static int my_utf8_uni(CHARSET_INFO *cs __attribute__((unused)),
if (s+2 > e) /* We need 2 characters */
return MY_CS_TOOSMALL2;
- if (!((s[1] ^ 0x80) < 0x40))
+ if (!(IS_CONTINUATION_BYTE(s[1])))
return MY_CS_ILSEQ;
*pwc = ((my_wc_t) (c & 0x1f) << 6) | (my_wc_t) (s[1] ^ 0x80);
@@ -4817,7 +4858,7 @@ static int my_utf8_uni(CHARSET_INFO *cs __attribute__((unused)),
if (s+3 > e) /* We need 3 characters */
return MY_CS_TOOSMALL3;
- if (!((s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) && IS_CONTINUATION_BYTE(s[2]) &&
(c >= 0xe1 || s[1] >= 0xa0)))
return MY_CS_ILSEQ;
@@ -4833,9 +4874,9 @@ static int my_utf8_uni(CHARSET_INFO *cs __attribute__((unused)),
if (s+4 > e) /* We need 4 characters */
return MY_CS_TOOSMALL4;
- if (!((s[1] ^ 0x80) < 0x40 &&
- (s[2] ^ 0x80) < 0x40 &&
- (s[3] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
(c >= 0xf1 || s[1] >= 0x90)))
return MY_CS_ILSEQ;
@@ -4851,10 +4892,10 @@ static int my_utf8_uni(CHARSET_INFO *cs __attribute__((unused)),
if (s+5 >e) /* We need 5 characters */
return MY_CS_TOOSMALL5;
- if (!((s[1] ^ 0x80) < 0x40 &&
- (s[2] ^ 0x80) < 0x40 &&
- (s[3] ^ 0x80) < 0x40 &&
- (s[4] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
+ IS_CONTINUATION_BYTE(s[4]) &&
(c >= 0xf9 || s[1] >= 0x88)))
return MY_CS_ILSEQ;
@@ -4870,11 +4911,11 @@ static int my_utf8_uni(CHARSET_INFO *cs __attribute__((unused)),
if ( s+6 >e ) /* We need 6 characters */
return MY_CS_TOOSMALL6;
- if (!((s[1] ^ 0x80) < 0x40 &&
- (s[2] ^ 0x80) < 0x40 &&
- (s[3] ^ 0x80) < 0x40 &&
- (s[4] ^ 0x80) < 0x40 &&
- (s[5] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
+ IS_CONTINUATION_BYTE(s[4]) &&
+ IS_CONTINUATION_BYTE(s[5]) &&
(c >= 0xfd || s[1] >= 0x84)))
return MY_CS_ILSEQ;
@@ -4918,11 +4959,11 @@ static int my_utf8_uni_no_range(CHARSET_INFO *cs __attribute__((unused)),
*pwc = ((my_wc_t) (c & 0x1f) << 6) | (my_wc_t) (s[1] ^ 0x80);
return 2;
}
-
+
if (c < 0xf0)
{
- if (!((s[1] ^ 0x80) < 0x40 &&
- (s[2] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
(c >= 0xe1 || s[1] >= 0xa0)))
return MY_CS_ILSEQ;
@@ -5404,10 +5445,90 @@ int my_wildcmp_utf8(CHARSET_INFO *cs,
}
+static
+int my_valid_mbcharlen_utf8(CHARSET_INFO *cs __attribute__((unused)),
+ const uchar *s, const uchar *e)
+{
+ uchar c;
+
+ if (s >= e)
+ return MY_CS_TOOSMALL;
+
+ c= s[0];
+ if (c < 0xf0)
+ return my_valid_mbcharlen_utf8mb3(s, e);
+
+#ifdef UNICODE_32BIT
+ if (c < 0xf8 && sizeof(my_wc_t)*8 >= 32)
+ {
+ if (s+4 > e) /* We need 4 characters */
+ return MY_CS_TOOSMALL4;
+
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
+ (c >= 0xf1 || s[1] >= 0x90)))
+ return MY_CS_ILSEQ;
+
+ return 4;
+ }
+ if (c < 0xfc && sizeof(my_wc_t)*8 >= 32)
+ {
+ if (s+5 >e) /* We need 5 characters */
+ return MY_CS_TOOSMALL5;
+
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
+ IS_CONTINUATION_BYTE(s[4]) &&
+ (c >= 0xf9 || s[1] >= 0x88)))
+ return MY_CS_ILSEQ;
+
+ return 5;
+ }
+ if (c < 0xfe && sizeof(my_wc_t)*8 >= 32)
+ {
+ if ( s+6 >e ) /* We need 6 characters */
+ return MY_CS_TOOSMALL6;
+
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
+ IS_CONTINUATION_BYTE(s[4]) &&
+ IS_CONTINUATION_BYTE(s[5]) &&
+ (c >= 0xfd || s[1] >= 0x84)))
+ return MY_CS_ILSEQ;
+
+ return 6;
+ }
+#endif
+ return MY_CS_ILSEQ;
+}
+
+static size_t
+my_well_formed_len_utf8(CHARSET_INFO *cs, const char *b, const char *e,
+ size_t pos, int *error)
+{
+ const char *b_start= b;
+ *error= 0;
+ while (pos)
+ {
+ int mb_len;
+
+ if ((mb_len= my_valid_mbcharlen_utf8(cs, (uchar*) b, (uchar*) e)) <= 0)
+ {
+ *error= b < e ? 1 : 0;
+ break;
+ }
+ b+= mb_len;
+ pos--;
+ }
+ return (size_t) (b - b_start);
+}
+
static uint my_ismbchar_utf8(CHARSET_INFO *cs,const char *b, const char *e)
{
- my_wc_t wc;
- int res= my_utf8_uni(cs,&wc, (const uchar*)b, (const uchar*)e);
+ int res= my_valid_mbcharlen_utf8(cs, (const uchar*)b, (const uchar*)e);
return (res>1) ? res : 0;
}
@@ -5472,7 +5593,7 @@ MY_CHARSET_HANDLER my_charset_utf8_handler=
my_mbcharlen_utf8,
my_numchars_mb,
my_charpos_mb,
- my_well_formed_len_mb,
+ my_well_formed_len_utf8,
my_lengthsp_8bit,
my_numcells_mb,
my_utf8_uni,
@@ -7244,7 +7365,7 @@ my_mb_wc_utf8mb4(CHARSET_INFO *cs __attribute__((unused)),
if (s + 2 > e) /* We need 2 characters */
return MY_CS_TOOSMALL2;
- if (!((s[1] ^ 0x80) < 0x40))
+ if (!(IS_CONTINUATION_BYTE(s[1])))
return MY_CS_ILSEQ;
*pwc= ((my_wc_t) (c & 0x1f) << 6) | (my_wc_t) (s[1] ^ 0x80);
@@ -7255,7 +7376,7 @@ my_mb_wc_utf8mb4(CHARSET_INFO *cs __attribute__((unused)),
if (s + 3 > e) /* We need 3 characters */
return MY_CS_TOOSMALL3;
- if (!((s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) && IS_CONTINUATION_BYTE(s[2]) &&
(c >= 0xe1 || s[1] >= 0xa0)))
return MY_CS_ILSEQ;
@@ -7288,9 +7409,9 @@ my_mb_wc_utf8mb4(CHARSET_INFO *cs __attribute__((unused)),
[F4][80..8F][80..BF][80..BF]
*/
- if (!((s[1] ^ 0x80) < 0x40 &&
- (s[2] ^ 0x80) < 0x40 &&
- (s[3] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
(c >= 0xf1 || s[1] >= 0x90) &&
(c <= 0xf3 || s[1] <= 0x8F)))
return MY_CS_ILSEQ;
@@ -7326,17 +7447,17 @@ my_mb_wc_utf8mb4_no_range(CHARSET_INFO *cs __attribute__((unused)),
if (c < 0xe0)
{
- if (!((s[1] ^ 0x80) < 0x40))
+ if (!IS_CONTINUATION_BYTE(s[1]))
return MY_CS_ILSEQ;
*pwc = ((my_wc_t) (c & 0x1f) << 6) | (my_wc_t) (s[1] ^ 0x80);
return 2;
}
-
+
if (c < 0xf0)
{
- if (!((s[1] ^ 0x80) < 0x40 &&
- (s[2] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
(c >= 0xe1 || s[1] >= 0xa0)))
return MY_CS_ILSEQ;
*pwc= ((my_wc_t) (c & 0x0f) << 12) |
@@ -7347,9 +7468,9 @@ my_mb_wc_utf8mb4_no_range(CHARSET_INFO *cs __attribute__((unused)),
}
else if (c < 0xf5)
{
- if (!((s[1] ^ 0x80) < 0x40 &&
- (s[2] ^ 0x80) < 0x40 &&
- (s[3] ^ 0x80) < 0x40 &&
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
(c >= 0xf1 || s[1] >= 0x90) &&
(c <= 0xf3 || s[1] <= 0x8F)))
return MY_CS_ILSEQ;
@@ -7836,11 +7957,84 @@ my_wildcmp_utf8mb4(CHARSET_INFO *cs,
}
+static int
+my_valid_mbcharlen_utf8mb4(CHARSET_INFO *cs __attribute__((unused)),
+ const uchar *s, const uchar *e)
+{
+ uchar c;
+
+ if (s >= e)
+ return MY_CS_TOOSMALL;
+
+ c= s[0];
+ if (c < 0xf0)
+ return my_valid_mbcharlen_utf8mb3(s, e);
+
+ if (c < 0xf5)
+ {
+ if (s + 4 > e) /* We need 4 characters */
+ return MY_CS_TOOSMALL4;
+
+ /*
+ UTF-8 quick four-byte mask:
+ 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
+ Encoding allows to encode U+00010000..U+001FFFFF
+
+ The maximum character defined in the Unicode standard is U+0010FFFF.
+ Higher characters U+00110000..U+001FFFFF are not used.
+
+ 11110000.10010000.10xxxxxx.10xxxxxx == F0.90.80.80 == U+00010000 (min)
+ 11110100.10001111.10111111.10111111 == F4.8F.BF.BF == U+0010FFFF (max)
+
+ Valid codes:
+ [F0][90..BF][80..BF][80..BF]
+ [F1][80..BF][80..BF][80..BF]
+ [F2][80..BF][80..BF][80..BF]
+ [F3][80..BF][80..BF][80..BF]
+ [F4][80..8F][80..BF][80..BF]
+ */
+
+ if (!(IS_CONTINUATION_BYTE(s[1]) &&
+ IS_CONTINUATION_BYTE(s[2]) &&
+ IS_CONTINUATION_BYTE(s[3]) &&
+ (c >= 0xf1 || s[1] >= 0x90) &&
+ (c <= 0xf3 || s[1] <= 0x8F)))
+ return MY_CS_ILSEQ;
+
+ return 4;
+ }
+
+ return MY_CS_ILSEQ;
+}
+
+
+static
+size_t my_well_formed_len_utf8mb4(CHARSET_INFO *cs,
+ const char *b, const char *e,
+ size_t pos, int *error)
+{
+ const char *b_start= b;
+ *error= 0;
+ while (pos)
+ {
+ int mb_len;
+
+ if ((mb_len= my_valid_mbcharlen_utf8mb4(cs, (uchar*) b, (uchar*) e)) <= 0)
+ {
+ *error= b < e ? 1 : 0;
+ break;
+ }
+ b+= mb_len;
+ pos--;
+ }
+ return (size_t) (b - b_start);
+}
+
+
static uint
my_ismbchar_utf8mb4(CHARSET_INFO *cs, const char *b, const char *e)
{
- my_wc_t wc;
- int res= my_mb_wc_utf8mb4(cs,&wc, (const uchar*)b, (const uchar*)e);
+ int res= my_valid_mbcharlen_utf8mb4(cs, (const uchar*)b, (const uchar*)e);
return (res > 1) ? res : 0;
}
@@ -7901,7 +8095,7 @@ MY_CHARSET_HANDLER my_charset_utf8mb4_handler=
my_mbcharlen_utf8mb4,
my_numchars_mb,
my_charpos_mb,
- my_well_formed_len_mb,
+ my_well_formed_len_utf8mb4,
my_lengthsp_8bit,
my_numcells_mb,
my_mb_wc_utf8mb4,
@@ -7963,7 +8157,8 @@ struct charset_info_st my_charset_utf8mb4_general_ci=
struct charset_info_st my_charset_utf8mb4_bin=
{
46,0,0, /* number */
- MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_UNICODE|MY_CS_UNICODE_SUPPLEMENT, /* state */
+ MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_STRNXFRM|MY_CS_UNICODE|
+ MY_CS_UNICODE_SUPPLEMENT, /* state */
MY_UTF8MB4, /* cs name */
MY_UTF8MB4_BIN, /* name */
"UTF-8 Unicode", /* comment */
diff --git a/strings/ctype-win1250ch.c b/strings/ctype-win1250ch.c
index 20449788584..27e6a94f67b 100644
--- a/strings/ctype-win1250ch.c
+++ b/strings/ctype-win1250ch.c
@@ -1,6 +1,5 @@
-/* Copyright (c) 2001 Jan Pazdziora.
- Copyright (c) 2002-2007 MySQL AB
- Copyright (c) 2009-2011, Monty Program Ab
+/* Copyright (c) 2002, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -504,12 +503,12 @@ my_strnxfrm_win1250ch(CHARSET_INFO *cs __attribute__((unused)),
if (!(flags & 0x0F)) /* All levels by default */
flags|= 0x0F;
- for (;;)
+ while (totlen < len)
{
NEXT_CMP_VALUE(src, p, pass, value, (int)srclen);
if (!value)
break;
- if (totlen <= len && ((1 << pass) & flags))
+ if ((1 << pass) & flags)
dest[totlen++] = value;
}
if ((flags & MY_STRXFRM_PAD_TO_MAXLEN) && len > totlen)
diff --git a/strings/ctype.c b/strings/ctype.c
index c78736f10c8..566dc0331c4 100644
--- a/strings/ctype.c
+++ b/strings/ctype.c
@@ -1,7 +1,5 @@
-/* Copyright (c) 2000-2007 MySQL AB, 2008, 2009 Sun Microsystems, Inc.
- Copyright (c) 2009-2011, Monty Program Ab
- Use is subject to license terms.
- Copyright (c) 2009-2011, Monty Program Ab
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2009, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/strings/decimal.c b/strings/decimal.c
index 6d39d9aec78..1b6ffbb110b 100644
--- a/strings/decimal.c
+++ b/strings/decimal.c
@@ -353,7 +353,7 @@ int decimal2string(const decimal_t *from, char *to, int *to_len,
if (!(intg_len= fixed_precision ? fixed_intg : intg))
intg_len= 1;
frac_len= fixed_precision ? fixed_decimals : frac;
- len= from->sign + intg_len + test(frac) + frac_len;
+ len= from->sign + intg_len + MY_TEST(frac) + frac_len;
if (fixed_precision)
{
if (frac > fixed_decimals)
@@ -379,7 +379,7 @@ int decimal2string(const decimal_t *from, char *to, int *to_len,
}
else
frac-=j;
- len= from->sign + intg_len + test(frac) + frac_len;
+ len= from->sign + intg_len + MY_TEST(frac) + frac_len;
}
*to_len=len;
s[len]=0;
@@ -1594,24 +1594,6 @@ decimal_round(const decimal_t *from, decimal_t *to, int scale,
x+=10;
*buf1=powers10[pos]*(x-y);
}
- /*
- In case we're rounding e.g. 1.5e9 to 2.0e9, the decimal_digit_t's inside
- the buffer are as follows.
-
- Before <1, 5e8>
- After <2, 5e8>
-
- Hence we need to set the 2nd field to 0.
- The same holds if we round 1.5e-9 to 2e-9.
- */
- if (frac0 < frac1)
- {
- dec1 *buf= to->buf + ((scale == 0 && intg0 == 0) ? 1 : intg0 + frac0);
- dec1 *end= to->buf + len;
-
- while (buf < end)
- *buf++=0;
- }
if (*buf1 >= DIG_BASE)
{
carry=1;
@@ -1633,6 +1615,7 @@ decimal_round(const decimal_t *from, decimal_t *to, int scale,
}
*buf1=1;
to->intg++;
+ intg0++;
}
}
else
@@ -1654,6 +1637,24 @@ decimal_round(const decimal_t *from, decimal_t *to, int scale,
}
}
}
+ /*
+ In case we're rounding e.g. 1.5e9 to 2.0e9, the decimal_digit_t's inside
+ the buffer are as follows.
+
+ Before <1, 5e8>
+ After <2, 5e8>
+
+ Hence we need to set the 2nd field to 0.
+ The same holds if we round 1.5e-9 to 2e-9.
+ */
+ if (frac0 < frac1)
+ {
+ dec1 *buf= to->buf + ((scale == 0 && intg0 == 0) ? 1 : intg0 + frac0);
+ dec1 *end= to->buf + len;
+
+ while (buf < end)
+ *buf++=0;
+ }
/* Here we check 999.9 -> 1000 case when we need to increase intg */
first_dig= to->intg % DIG_PER_DEC1;
diff --git a/strings/dtoa.c b/strings/dtoa.c
index f3498a7bb1e..c3ab347f94c 100644
--- a/strings/dtoa.c
+++ b/strings/dtoa.c
@@ -1410,7 +1410,7 @@ static double my_strtod_int(const char *s00, char **se, int *error, char *buf, s
else if (nd < 16)
z= 10*z + c - '0';
nd0= nd;
- if (s < end - 1 && c == '.')
+ if (s < end && c == '.')
{
++s;
if (!nd)
diff --git a/strings/t_ctype.h b/strings/t_ctype.h
index 8198d3eada8..a4fdd267c3f 100644
--- a/strings/t_ctype.h
+++ b/strings/t_ctype.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2001, 2003 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/support-files/MySQL-shared-compat.spec.sh b/support-files/MySQL-shared-compat.spec.sh
index a8d5dd7c8c9..46935d83d17 100644
--- a/support-files/MySQL-shared-compat.spec.sh
+++ b/support-files/MySQL-shared-compat.spec.sh
@@ -1,4 +1,4 @@
-# Copyright 2003-2008 MySQL AB, 2009 Sun Microsystems, Inc.
+# Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
#
# MySQL-shared-compat.spec
#
diff --git a/support-files/compiler_warnings.supp b/support-files/compiler_warnings.supp
index ef8d68a09d2..00434d89e2a 100644
--- a/support-files/compiler_warnings.supp
+++ b/support-files/compiler_warnings.supp
@@ -50,6 +50,13 @@ ibuf/ibuf0ibuf.c: null argument where non-null required: 700-1000
fsp0fsp\.c: result of 32-bit shift implicitly converted to 64 bits
log/log0log\.c : passing arg 1 of `atomic_add_64_nv' from incompatible pointer type
log/log0online\.c : passing arg 1 of `atomic_add_64_nv' from incompatible pointer type
+buf/buf0buf\.c : label.*loop2.* defined but not used
+
+#
+# Xtradb engine
+#
+storage/xtradb/handler/ha_innodb\.cc: ignoring return value of
+storage/xtradb/row/row0log\.cc: ignoring return value of
#
# bdb is not critical to keep up to date
@@ -172,6 +179,15 @@ vio/viosslfactories\.c: discards ~const~ qualifier from pointer target type
# jemalloc
#
jemalloc/src/jemalloc\.c: always_inline function might not be inlinable
+jemalloc/src/jemalloc\.c: set but not used
+
+#
+# Connect engine
+#
+storage/connect/connect\.cc: might be clobbered by ~longjmp~
+storage/connect/filamvct\.cpp: ignoring return value of
+storage/connect/filamvct\.cpp: might be clobbered by ~longjmp~
+storage/connect/xindex\.cpp: ignoring return value of
#
# Unexplanable (?) stuff
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index e8d00fee542..cb55b21ca7b 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -152,63 +152,6 @@ parse_server_arguments() {
done
}
-wait_for_pid () {
- verb="$1" # created | removed
- pid="$2" # process ID of the program operating on the pid-file
- pid_file_path="$3" # path to the PID file.
-
- i=0
- avoid_race_condition="by checking again"
-
- while test $i -ne $service_startup_timeout ; do
-
- case "$verb" in
- 'created')
- # wait for a PID-file to pop into existence.
- test -s "$pid_file_path" && i='' && break
- ;;
- 'removed')
- # wait for this PID-file to disappear
- test ! -s "$pid_file_path" && i='' && break
- ;;
- *)
- echo "wait_for_pid () usage: wait_for_pid created|removed pid pid_file_path"
- exit 1
- ;;
- esac
-
- # if server isn't running, then pid-file will never be updated
- if test -n "$pid"; then
- if kill -0 "$pid" 2>/dev/null; then
- : # the server still runs
- else
- # The server may have exited between the last pid-file check and now.
- if test -n "$avoid_race_condition"; then
- avoid_race_condition=""
- continue # Check again.
- fi
-
- # there's nothing that will affect the file.
- log_failure_msg "The server quit without updating PID file ($pid_file_path)."
- return 1 # not waiting any more.
- fi
- fi
-
- echo $echo_n ".$echo_c"
- i=`expr $i + 1`
- sleep 1
-
- done
-
- if test -z "$i" ; then
- log_success_msg
- return 0
- else
- log_failure_msg
- return 1
- fi
-}
-
# Get arguments from the my.cnf file,
# the only group, which is read from now on is [mysqld]
if test -x ./bin/my_print_defaults
@@ -266,6 +209,67 @@ fi
parse_server_arguments `$print_defaults $extra_args mysqld server mysql_server mysql.server`
+# wait for the pid file to disappear
+wait_for_gone () {
+ pid="$1" # process ID of the program operating on the pid-file
+ pid_file_path="$2" # path to the PID file.
+
+ i=0
+ crash_protection="by checking again"
+
+ while test $i -ne $service_startup_timeout ; do
+
+ if kill -0 "$pid" 2>/dev/null; then
+ : # the server still runs
+ else
+ if test ! -s "$pid_file_path"; then
+ # no server process and no pid-file? great, we're done!
+ log_success_msg
+ return 0
+ fi
+
+ # pid-file exists, the server process doesn't.
+ # it must've crashed, and mysqld_safe will restart it
+ if test -n "$crash_protection"; then
+ crash_protection=""
+ sleep 5
+ continue # Check again.
+ fi
+
+ # Cannot help it
+ log_failure_msg "The server quit without updating PID file ($pid_file_path)."
+ return 1 # not waiting any more.
+ fi
+
+ echo $echo_n ".$echo_c"
+ i=`expr $i + 1`
+ sleep 1
+
+ done
+
+ log_failure_msg
+ return 1
+}
+
+wait_for_ready () {
+
+ i=0
+ while test $i -ne $service_startup_timeout ; do
+
+ if $bindir/mysqladmin ping >/dev/null 2>&1; then
+ log_success_msg
+ return 0
+ fi
+
+ echo $echo_n ".$echo_c"
+ i=`expr $i + 1`
+ sleep 1
+
+ done
+
+ log_failure_msg
+ return 1
+}
#
# Set pid file if not given
#
@@ -292,7 +296,7 @@ case "$mode" in
# Give extra arguments to mysqld with the my.cnf file. This script
# may be overwritten at next upgrade.
$bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 &
- wait_for_pid created "$!" "$mysqld_pid_file_path"; return_value=$?
+ wait_for_ready; return_value=$?
# Make lock for RedHat / SuSE
if test -w "$lockdir"
@@ -319,7 +323,7 @@ case "$mode" in
echo $echo_n "Shutting down MySQL"
kill $mysqld_pid
# mysqld should remove the pid file when it exits, so wait for it.
- wait_for_pid removed "$mysqld_pid" "$mysqld_pid_file_path"; return_value=$?
+ wait_for_gone $mysqld_pid "$mysqld_pid_file_path"; return_value=$?
else
log_failure_msg "MySQL server process #$mysqld_pid is not running!"
rm "$mysqld_pid_file_path"
diff --git a/support-files/rpm/server-postun.sh b/support-files/rpm/server-postun.sh
index 652d59154ae..dcf67173a02 100644
--- a/support-files/rpm/server-postun.sh
+++ b/support-files/rpm/server-postun.sh
@@ -1,7 +1,8 @@
if [ $1 -ge 1 ]; then
if [ -x %{_sysconfdir}/init.d/mysql ] ; then
# only restart the server if it was alredy running
- %{_sysconfdir}/init.d/mysql status > /dev/null 2>&1 && \
- %{_sysconfdir}/init.d/mysql restart
+ if %{_sysconfdir}/init.d/mysql status > /dev/null 2>&1; then
+ %{_sysconfdir}/init.d/mysql restart
+ fi
fi
fi
diff --git a/support-files/rpm/server-prein.sh b/support-files/rpm/server-prein.sh
index 9194f2b0656..cf72aefb50f 100644
--- a/support-files/rpm/server-prein.sh
+++ b/support-files/rpm/server-prein.sh
@@ -3,6 +3,7 @@
installed=`rpm -q --whatprovides mysql-server 2> /dev/null`
if [ $? -eq 0 -a -n "$installed" ]; then
+ installed=`echo "$installed"|sed -n -1p`
vendor=`rpm -q --queryformat='%{VENDOR}' "$installed" 2>&1`
version=`rpm -q --queryformat='%{VERSION}' "$installed" 2>&1`
myvendor='%{mysql_vendor}'
diff --git a/tests/connect_test.c b/tests/connect_test.c
index 3e23922031b..f30d0f2edba 100644
--- a/tests/connect_test.c
+++ b/tests/connect_test.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2002-2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/fork_big.pl b/tests/fork_big.pl
index 506a2fb0d8e..b866b899f8d 100755
--- a/tests/fork_big.pl
+++ b/tests/fork_big.pl
@@ -1,7 +1,8 @@
#!/usr/bin/perl -w
-# Copyright (C) 2001 MySQL AB
-#
+# Copyright (c) 2001, 2006 MySQL AB
+# Use is subject to license terms
+
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
diff --git a/tests/fork_big2.pl b/tests/fork_big2.pl
index 516e8ff9478..e92cf869e52 100644
--- a/tests/fork_big2.pl
+++ b/tests/fork_big2.pl
@@ -1,7 +1,8 @@
#!/usr/bin/perl -w
-# Copyright (C) 2002, 2005 MySQL AB
-#
+# Copyright (c) 2002, 2003, 2005, 2006 MySQL AB
+# Use is subject to license terms
+
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
diff --git a/tests/insert_test.c b/tests/insert_test.c
index e67d03dd435..f09766088aa 100644
--- a/tests/insert_test.c
+++ b/tests/insert_test.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000-2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/list_test.c b/tests/list_test.c
index 5b984b9eca9..2e8cd3654a3 100644
--- a/tests/list_test.c
+++ b/tests/list_test.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2003, 2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 509e0e73777..7fd68fec308 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -5976,6 +5976,10 @@ static void test_bind_date_conv(uint row_count)
MYSQL_TIME tm[4];
ulong second_part;
uint year, month, day, hour, minute, sec;
+ uint now_year= 1990, now_month= 3, now_day= 13;
+
+ rc= mysql_query(mysql, "SET timestamp=UNIX_TIMESTAMP('1990-03-13')");
+ myquery(rc);
stmt= mysql_simple_prepare(mysql, "INSERT INTO test_date VALUES(?, ?, ?, ?)");
check_stmt(stmt);
@@ -6076,9 +6080,15 @@ static void test_bind_date_conv(uint row_count)
i, tm[i].year, tm[i].month, tm[i].day,
tm[i].hour, tm[i].minute, tm[i].second,
tm[i].second_part);
- DIE_UNLESS(tm[i].year == 0 || tm[i].year == year+count);
- DIE_UNLESS(tm[i].month == 0 || tm[i].month == month+count);
- DIE_UNLESS(tm[i].day == 0 || tm[i].day == day+count);
+ DIE_UNLESS(tm[i].year == 0 || tm[i].year == year + count ||
+ (tm[i].year == now_year &&
+ my_bind[i].buffer_type == MYSQL_TYPE_TIME));
+ DIE_UNLESS(tm[i].month == 0 || tm[i].month == month + count ||
+ (tm[i].month == now_month &&
+ my_bind[i].buffer_type == MYSQL_TYPE_TIME));
+ DIE_UNLESS(tm[i].day == 0 || tm[i].day == day + count ||
+ (tm[i].day == now_day &&
+ my_bind[i].buffer_type == MYSQL_TYPE_TIME));
DIE_UNLESS(tm[i].hour == 0 || tm[i].hour == hour+count);
DIE_UNLESS(tm[i].minute == 0 || tm[i].minute == minute+count);
@@ -18749,6 +18759,109 @@ static void test_bug12337762()
DBUG_VOID_RETURN;
}
+/*
+ MDEV-4603: mysql_stmt_reset doesn't clear
+ all result sets (from stored procedures).
+ This test requires also fix for MDEV-4604
+*/
+static void test_mdev4603()
+{
+ MYSQL *my;
+ MYSQL_STMT *stmt;
+ int i, rc;
+ int a[] = {10,20,30};
+ MYSQL_BIND bind[3];
+
+ myheader("test_mdev4603");
+ my= mysql_client_init(NULL);
+
+ if (!mysql_real_connect(my, opt_host, opt_user,
+ opt_password, current_db, opt_port,
+ opt_unix_socket, CLIENT_MULTI_RESULTS))
+ DIE("mysql_real_connect failed");
+
+ /* 1st test:
+ use a procedure with out param
+ */
+ rc= mysql_query(my, "DROP PROCEDURE IF EXISTS p1");
+ myquery(rc);
+
+ rc= mysql_query(mysql, "CREATE PROCEDURE p1(OUT p_out VARCHAR(19), IN p_in INT, INOUT p_inout INT)"
+ "BEGIN "
+ " SET p_in = 300, p_out := 'This is OUT param', p_inout = 200; "
+ " SELECT p_inout, p_in, substring(p_out, 9);"
+ "END");
+ myquery(rc);
+
+ stmt= mysql_stmt_init(mysql);
+ DIE_UNLESS(stmt != NULL);
+
+ rc= mysql_stmt_prepare(stmt, "CALL P1(?,?,?)", 14);
+ DIE_UNLESS(rc == 0);
+
+ DIE_UNLESS(mysql_stmt_param_count(stmt) == 3);
+
+ memset(bind, 0, sizeof(MYSQL_BIND) * 3);
+ for (i=0; i < 3; i++)
+ {
+ bind[i].buffer= &a[i];
+ bind[i].buffer_type= MYSQL_TYPE_LONG;
+ }
+ bind[0].buffer_type= MYSQL_TYPE_NULL;
+ rc= mysql_stmt_bind_param(stmt, bind);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_stmt_execute(stmt);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_stmt_fetch(stmt);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_stmt_reset(stmt);
+ DIE_UNLESS(rc == 0);
+
+ /*connection shouldn't be blocked now */
+
+ rc= mysql_query(mysql, "DROP PROCEDURE p1");
+ myquery(rc);
+
+ /* 2nd test:
+ reset all result sets */
+ rc= mysql_query(my, "CREATE PROCEDURE p1() "
+ "BEGIN"
+ " SELECT 1,2,3 FROM DUAL;"
+ " SELECT 'foo' FROM DUAL;"
+ "END");
+ myquery(rc);
+
+ rc= mysql_stmt_prepare(stmt, "CALL P1()", 9);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_stmt_execute(stmt);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_stmt_reset(stmt);
+ DIE_UNLESS(rc == 0);
+
+ /* 3rd test:
+ mysql_stmt_close should also flush all pending
+ result sets
+ */
+
+ rc= mysql_stmt_prepare(stmt, "CALL P1()", 9);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_stmt_execute(stmt);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_stmt_close(stmt);
+ DIE_UNLESS(rc == 0);
+
+ rc= mysql_query(my, "DROP PROCEDURE p1");
+ myquery(rc);
+
+ mysql_close(my);
+}
/*
BUG 11754979 - 46675: ON DUPLICATE KEY UPDATE AND UPDATECOUNT() POSSIBLY WRONG
@@ -19289,6 +19402,7 @@ static struct my_tests_st my_tests[]= {
{ "test_bug57058", test_bug57058 },
{ "test_bug56976", test_bug56976 },
{ "test_mdev3885", test_mdev3885 },
+ { "test_mdev4603", test_mdev4603 },
{ "test_bug11766854", test_bug11766854 },
{ "test_bug12337762", test_bug12337762 },
{ "test_progress_reporting", test_progress_reporting },
diff --git a/tests/select_test.c b/tests/select_test.c
index f85a7bee2bf..9a144c59292 100644
--- a/tests/select_test.c
+++ b/tests/select_test.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2002-2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/showdb_test.c b/tests/showdb_test.c
index 05c42b531cd..555a8511e61 100644
--- a/tests/showdb_test.c
+++ b/tests/showdb_test.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2003, 2004 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/ssl_test.c b/tests/ssl_test.c
index 3793538b4d2..2cd4b4b868b 100644
--- a/tests/ssl_test.c
+++ b/tests/ssl_test.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000 MySQL AB
+/* Copyright (c) 2000, 2003, 2004, 2007 MySQL AB
+ Use is subject to license terms
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/unittest/mysys/CMakeLists.txt b/unittest/mysys/CMakeLists.txt
index 6ea764070f1..a6003b7c51d 100644
--- a/unittest/mysys/CMakeLists.txt
+++ b/unittest/mysys/CMakeLists.txt
@@ -14,8 +14,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/extra/yassl/include)
MY_ADD_TESTS(bitmap base64 my_vsnprintf my_atomic my_rdtsc lf my_malloc
diff --git a/unittest/mysys/bitmap-t.c b/unittest/mysys/bitmap-t.c
index 0666f4eaa15..c4588779c9b 100644
--- a/unittest/mysys/bitmap-t.c
+++ b/unittest/mysys/bitmap-t.c
@@ -129,8 +129,8 @@ my_bool test_compare_operators(MY_BITMAP *map, uint bitsize)
MY_BITMAP *map2= &map2_obj, *map3= &map3_obj;
my_bitmap_map map2buf[MAX_TESTED_BITMAP_SIZE];
my_bitmap_map map3buf[MAX_TESTED_BITMAP_SIZE];
- bitmap_init(&map2_obj, map2buf, bitsize, FALSE);
- bitmap_init(&map3_obj, map3buf, bitsize, FALSE);
+ my_bitmap_init(&map2_obj, map2buf, bitsize, FALSE);
+ my_bitmap_init(&map3_obj, map3buf, bitsize, FALSE);
bitmap_clear_all(map2);
bitmap_clear_all(map3);
for (i=0; i < no_loops; i++)
@@ -374,7 +374,7 @@ my_bool test_compare(MY_BITMAP *map, uint bitsize)
uint32 map2buf[MAX_TESTED_BITMAP_SIZE];
uint i, test_bit;
uint no_loops= bitsize > 128 ? 128 : bitsize;
- if (bitmap_init(&map2, map2buf, bitsize, FALSE))
+ if (my_bitmap_init(&map2, map2buf, bitsize, FALSE))
{
diag("init error for bitsize %d", bitsize);
return TRUE;
@@ -433,7 +433,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize)
MY_BITMAP map2;
uint32 map2buf[MAX_TESTED_BITMAP_SIZE];
uint i, test_bit1, test_bit2, test_bit3;
- if (bitmap_init(&map2, map2buf, bitsize2, FALSE))
+ if (my_bitmap_init(&map2, map2buf, bitsize2, FALSE))
{
diag("init error for bitsize %d", bitsize2);
return TRUE;
@@ -481,7 +481,7 @@ my_bool do_test(uint bitsize)
{
MY_BITMAP map;
my_bitmap_map buf[MAX_TESTED_BITMAP_SIZE];
- if (bitmap_init(&map, buf, bitsize, FALSE))
+ if (my_bitmap_init(&map, buf, bitsize, FALSE))
{
diag("init error for bitsize %d", bitsize);
goto error;
diff --git a/unittest/mysys/ma_dyncol-t.c b/unittest/mysys/ma_dyncol-t.c
index 37e41d87def..51e84bc4e40 100644
--- a/unittest/mysys/ma_dyncol-t.c
+++ b/unittest/mysys/ma_dyncol-t.c
@@ -28,6 +28,7 @@
#include <my_global.h>
#include <my_sys.h>
+#include <m_string.h>
#include <ma_dyncol.h>
#include <tap.h>
diff --git a/vio/CMakeLists.txt b/vio/CMakeLists.txt
index f4429fb65b6..72059f1ec08 100644
--- a/vio/CMakeLists.txt
+++ b/vio/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/vio/vio.c b/vio/vio.c
index ea95758f212..97e3d49be21 100644
--- a/vio/vio.c
+++ b/vio/vio.c
@@ -234,7 +234,7 @@ my_bool vio_reset(Vio* vio, enum enum_vio_type type,
if (old_vio.write_timeout >= 0)
ret|= vio_timeout(vio, 1, old_vio.write_timeout);
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
diff --git a/vio/viosocket.c b/vio/viosocket.c
index 892783d2ac4..5576dfc48d8 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -362,7 +362,7 @@ int vio_blocking(Vio *vio, my_bool set_blocking_mode, my_bool *old_mode)
#endif
DBUG_ENTER("vio_blocking");
- *old_mode= test(!(vio->fcntl_mode & O_NONBLOCK));
+ *old_mode= MY_TEST(!(vio->fcntl_mode & O_NONBLOCK));
DBUG_PRINT("enter", ("set_blocking_mode: %d old_mode: %d",
(int) set_blocking_mode, (int) *old_mode));
@@ -407,7 +407,7 @@ int vio_blocking(Vio *vio, my_bool set_blocking_mode, my_bool *old_mode)
r = ioctlsocket(sd,FIONBIO,(void*) &arg);
}
else
- r= test(!(vio->fcntl_mode & O_NONBLOCK)) != set_blocking_mode;
+ r= MY_TEST(!(vio->fcntl_mode & O_NONBLOCK)) != set_blocking_mode;
#endif /* !defined(__WIN__) */
DBUG_PRINT("exit", ("%d", r));
DBUG_RETURN(r);
@@ -1060,16 +1060,16 @@ int vio_io_wait(Vio *vio, enum enum_vio_io_event event, int timeout)
switch (event)
{
case VIO_IO_EVENT_READ:
- ret= test(FD_ISSET(fd, &readfds));
+ ret= MY_TEST(FD_ISSET(fd, &readfds));
break;
case VIO_IO_EVENT_WRITE:
case VIO_IO_EVENT_CONNECT:
- ret= test(FD_ISSET(fd, &writefds));
+ ret= MY_TEST(FD_ISSET(fd, &writefds));
break;
}
/* Error conditions pending? */
- ret|= test(FD_ISSET(fd, &exceptfds));
+ ret|= MY_TEST(FD_ISSET(fd, &exceptfds));
/* Not a timeout, ensure that a condition was met. */
DBUG_ASSERT(ret);
@@ -1154,7 +1154,7 @@ vio_socket_connect(Vio *vio, struct sockaddr *addr, socklen_t len, int timeout)
#else
errno= error;
#endif
- ret= test(error);
+ ret= MY_TEST(error);
}
}
@@ -1166,7 +1166,7 @@ vio_socket_connect(Vio *vio, struct sockaddr *addr, socklen_t len, int timeout)
DBUG_RETURN(TRUE);
}
- DBUG_RETURN(test(ret));
+ DBUG_RETURN(MY_TEST(ret));
}
diff --git a/vio/viossl.c b/vio/viossl.c
index c6f6dbd49c9..a4f0a1bd213 100644
--- a/vio/viossl.c
+++ b/vio/viossl.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c
index c492770cc97..ef3dfb1f5b0 100644
--- a/vio/viosslfactories.c
+++ b/vio/viosslfactories.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt
index bcfacea4b0b..0be1f976b39 100644
--- a/zlib/CMakeLists.txt
+++ b/zlib/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by